From bebea95a1132bfae354e385a4d0752f4881c95a6 Mon Sep 17 00:00:00 2001 From: LorisSigrist <43482866+LorisSigrist@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:03:01 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20LorisSig?= =?UTF-8?q?rist/t18s@eec70a6e730d68c9727e21d653aa0a2de49cc43a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _app/immutable/assets/Prism.3ee0c064.css | 1 + _app/immutable/chunks/CodeGroup.56f46765.js | 3 +++ _app/immutable/chunks/CodeGroup.e6b1d0d4.js | 3 --- ...Page.977f74ba.js => NotFoundPage.9f3bd46c.js} | 2 +- _app/immutable/chunks/Prism.42f81a6a.js | 9 +++++++++ .../chunks/_commonjsHelpers.725317a4.js | 1 + .../{github.b4fe0f57.js => github.9c21d12c.js} | 2 +- .../{index.d327a342.js => index.0229d0e6.js} | 2 +- _app/immutable/chunks/index.90d50ca5.js | 4 ++++ .../{index.c89ace66.js => index.f644e0f8.js} | 2 +- _app/immutable/chunks/index.fb560467.js | 4 ---- _app/immutable/chunks/singletons.4c3847c7.js | 1 + _app/immutable/chunks/singletons.b7b83932.js | 1 - .../{stores.8c1708cf.js => stores.b0221e88.js} | 2 +- .../entry/{app.c922879f.js => app.981045e4.js} | 2 +- .../{start.fb1e4ff7.js => start.5bf083fd.js} | 2 +- .../nodes/{0.80c3a66b.js => 0.e1540c07.js} | 2 +- .../nodes/{1.3845b764.js => 1.c1536d82.js} | 2 +- _app/immutable/nodes/2.6fd07a08.js | 5 ----- _app/immutable/nodes/2.eba3dc72.js | 5 +++++ .../nodes/{3.63adfd28.js => 3.1ff83407.js} | 2 +- _app/immutable/nodes/4.6329451e.js | 1 + _app/immutable/nodes/4.7aa3a2fb.js | 1 - .../nodes/{5.93b2298f.js => 5.9c5fa693.js} | 2 +- _app/immutable/nodes/6.232eb4a4.js | 16 ++++++++++++++++ _app/immutable/nodes/6.b90e0c4f.js | 1 - .../nodes/{7.9a6e7ceb.js => 7.e2796615.js} | 2 +- .../nodes/{8.89524754.js => 8.f5dd2087.js} | 2 +- .../nodes/{9.a4567d7a.js => 9.bb6122df.js} | 2 +- _app/version.json | 2 +- comparisons.html | 2 +- de.html | 2 +- de/comparisons.html | 2 +- de/getting-started.html | 15 ++++++++++++++- de/roadmap.html | 2 +- de/seo.html | 2 +- de/syntax.html | 2 +- getting-started.html | 15 ++++++++++++++- index.html | 2 +- roadmap.html | 2 +- seo.html | 2 +- syntax.html | 2 +- 42 files changed, 94 insertions(+), 42 deletions(-) create mode 100644 _app/immutable/assets/Prism.3ee0c064.css create mode 100644 _app/immutable/chunks/CodeGroup.56f46765.js delete mode 100644 _app/immutable/chunks/CodeGroup.e6b1d0d4.js rename _app/immutable/chunks/{NotFoundPage.977f74ba.js => NotFoundPage.9f3bd46c.js} (95%) create mode 100644 _app/immutable/chunks/Prism.42f81a6a.js create mode 100644 _app/immutable/chunks/_commonjsHelpers.725317a4.js rename _app/immutable/chunks/{github.b4fe0f57.js => github.9c21d12c.js} (95%) rename _app/immutable/chunks/{index.d327a342.js => index.0229d0e6.js} (85%) create mode 100644 _app/immutable/chunks/index.90d50ca5.js rename _app/immutable/chunks/{index.c89ace66.js => index.f644e0f8.js} (95%) delete mode 100644 _app/immutable/chunks/index.fb560467.js create mode 100644 _app/immutable/chunks/singletons.4c3847c7.js delete mode 100644 _app/immutable/chunks/singletons.b7b83932.js rename _app/immutable/chunks/{stores.8c1708cf.js => stores.b0221e88.js} (73%) rename _app/immutable/entry/{app.c922879f.js => app.981045e4.js} (68%) rename _app/immutable/entry/{start.fb1e4ff7.js => start.5bf083fd.js} (99%) rename _app/immutable/nodes/{0.80c3a66b.js => 0.e1540c07.js} (94%) rename _app/immutable/nodes/{1.3845b764.js => 1.c1536d82.js} (85%) delete mode 100644 _app/immutable/nodes/2.6fd07a08.js create mode 100644 _app/immutable/nodes/2.eba3dc72.js rename _app/immutable/nodes/{3.63adfd28.js => 3.1ff83407.js} (78%) create mode 100644 _app/immutable/nodes/4.6329451e.js delete mode 100644 _app/immutable/nodes/4.7aa3a2fb.js rename _app/immutable/nodes/{5.93b2298f.js => 5.9c5fa693.js} (83%) create mode 100644 _app/immutable/nodes/6.232eb4a4.js delete mode 100644 _app/immutable/nodes/6.b90e0c4f.js rename _app/immutable/nodes/{7.9a6e7ceb.js => 7.e2796615.js} (85%) rename _app/immutable/nodes/{8.89524754.js => 8.f5dd2087.js} (83%) rename _app/immutable/nodes/{9.a4567d7a.js => 9.bb6122df.js} (99%) diff --git a/_app/immutable/assets/Prism.3ee0c064.css b/_app/immutable/assets/Prism.3ee0c064.css new file mode 100644 index 0000000..69ebea5 --- /dev/null +++ b/_app/immutable/assets/Prism.3ee0c064.css @@ -0,0 +1 @@ +code[class*=language-],pre[class*=language-]{color:#ebdbb2;direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;hyphens:none}.token.comment,.token.prolog,.token.cdata{color:#a89984}.token.delimiter,.token.boolean,.token.keyword,.token.selector,.token.important,.token.atrule{color:#fb4934}.token.operator,.token.punctuation,.token.attr-name{color:#a89984}.token.tag,.token.tag .punctuation,.token.doctype,.token.builtin{color:#fabd2f}.token.entity,.token.number,.token.symbol{color:#d3869b}.token.property,.token.constant,.token.variable{color:#fb4934}.token.string,.token.char{color:#b8bb26}.token.attr-value,.token.attr-value .punctuation{color:#a89984}.token.url{color:#b8bb26;text-decoration:underline}.token.function{color:#fabd2f}.token.regex{background:#b8bb26}.token.bold{font-weight:700}.token.italic{font-style:italic}.token.inserted{background:#a89984}.token.deleted{background:#fb4934} diff --git a/_app/immutable/chunks/CodeGroup.56f46765.js b/_app/immutable/chunks/CodeGroup.56f46765.js new file mode 100644 index 0000000..d7bf036 --- /dev/null +++ b/_app/immutable/chunks/CodeGroup.56f46765.js @@ -0,0 +1,3 @@ +import{S as E,i as T,s as I,k as _,a as N,l as b,m as g,c as V,h as d,n as c,b as m,D as k,E as j,a1 as D,F as M,q as P,r as A,u as O,G as he,U as de,M as R,N as pe,O as ge,P as Z,Q as _e,R as x,y as H,z as S,A as G,g as p,d as $,B as U,a2 as be,I as q,J as L,K as F,L as J,w as me,e as ee,v as W,f as X,a3 as Q}from"./index.90d50ca5.js";import{m as C}from"./class-merge.a51d4999.js";import{w as te}from"./index.0229d0e6.js";function ne(a,e,i){const n=a.slice();n[7]=e[i],n[10]=i;const t=n[10]===n[2];return n[8]=t,n}function le(a){let e,i;return{c(){e=_("h3"),i=P(a[0]),this.h()},l(n){e=b(n,"H3",{class:!0});var t=g(e);i=A(t,a[0]),t.forEach(d),this.h()},h(){c(e,"class","mr-auto py-3 text-xs font-semibold text-white")},m(n,t){m(n,e,t),k(e,i)},p(n,t){t&1&&O(i,n[0])},d(n){n&&d(e)}}}function ie(a){let e,i=a[1],n=[];for(let t=0;t1&&ie(a);return{c(){e=_("div"),n&&n.c(),i=N(),t&&t.c(),this.h()},l(l){e=b(l,"DIV",{class:!0});var s=g(e);n&&n.l(s),i=V(s),t&&t.l(s),s.forEach(d),this.h()},h(){c(e,"class","flex flex-wrap items-start gap-x-4 border-b border-zinc-700 bg-zinc-800 px-4 dark:border-zinc-800 dark:bg-transparent")},m(l,s){m(l,e,s),n&&n.m(e,null),k(e,i),t&&t.m(e,null)},p(l,[s]){l[0]?n?n.p(l,s):(n=le(l),n.c(),n.m(e,i)):n&&(n.d(1),n=null),l[1].length>1?t?t.p(l,s):(t=ie(l),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},i:j,o:j,d(l){l&&d(e),n&&n.d(),t&&t.d()}}}function $e(a,e,i){let n,t,{title:l=null}=e;const s=D("code-group-tabs");M(a,s,f=>i(1,n=f));const u=D("code-group-active-tab");M(a,u,f=>i(2,t=f));const o=D("code-group-id"),r=f=>u.set(f);return a.$$set=f=>{"title"in f&&i(0,l=f.title)},[l,n,t,s,u,o,r]}class ke extends E{constructor(e){super(),T(this,e,$e,ve,I,{title:0})}}function we(a){let e,i='',n=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],t={};for(let l=0;l{i(0,e=R(R({},e),x(n)))},e=x(e),[e]}class ze extends E{constructor(e){super(),T(this,e,ye,we,I,{})}}function Ce(a){let e,i,n,t,l,s,u,o,r,f,z,w,B,h;return n=new ze({props:{className:"h-5 w-5 fill-zinc-500/20 stroke-zinc-500 transition-colors group-hover/button:stroke-zinc-400"}}),{c(){e=_("button"),i=_("span"),H(n.$$.fragment),t=P(` + Copy`),s=N(),u=_("span"),o=P("Copied!"),this.h()},l(v){e=b(v,"BUTTON",{class:!0});var y=g(e);i=b(y,"SPAN",{"aria-hidden":!0,class:!0});var K=g(i);S(n.$$.fragment,K),t=A(K,` + Copy`),K.forEach(d),s=V(y),u=b(y,"SPAN",{"aria-hidden":!0,class:!0});var Y=g(u);o=A(Y,"Copied!"),Y.forEach(d),y.forEach(d),this.h()},h(){c(i,"aria-hidden",a[0]),c(i,"class",l=C("pointer-events-none flex items-center gap-0.5 text-zinc-400 transition duration-300",a[0]&&"translate-y-1.5 opacity-0")),c(u,"aria-hidden",r=!a[0]),c(u,"class",f=C("pointer-events-none absolute inset-0 flex items-center justify-center text-emerald-400 transition duration-300",!a[0]&&"-translate-y-1.5 opacity-0")),c(e,"class",z=C("group/button text-sm absolute right-4 top-2.5 overflow-hidden rounded-full py-1 pl-2 pr-3 text-2xs font-medium opacity-0 backdrop-blur transition group-hover:opacity-100",a[0]?"bg-emerald-400/10 ring-1 ring-inset ring-emerald-400/20":"bg-white/5 hover:bg-white/7.5 dark:bg-white/2.5 dark:hover:bg-white/5","focus:opacity-100 outline-none focus-visible:bg-orange-400/20 focus-visible:ring-1 ring-inset focus-visible:ring-orange-400"))},m(v,y){m(v,e,y),k(e,i),G(n,i,null),k(i,t),k(e,s),k(e,u),k(u,o),w=!0,B||(h=de(e,"click",a[1]),B=!0)},p(v,[y]){(!w||y&1)&&c(i,"aria-hidden",v[0]),(!w||y&1&&l!==(l=C("pointer-events-none flex items-center gap-0.5 text-zinc-400 transition duration-300",v[0]&&"translate-y-1.5 opacity-0")))&&c(i,"class",l),(!w||y&1&&r!==(r=!v[0]))&&c(u,"aria-hidden",r),(!w||y&1&&f!==(f=C("pointer-events-none absolute inset-0 flex items-center justify-center text-emerald-400 transition duration-300",!v[0]&&"-translate-y-1.5 opacity-0")))&&c(u,"class",f),(!w||y&1&&z!==(z=C("group/button text-sm absolute right-4 top-2.5 overflow-hidden rounded-full py-1 pl-2 pr-3 text-2xs font-medium opacity-0 backdrop-blur transition group-hover:opacity-100",v[0]?"bg-emerald-400/10 ring-1 ring-inset ring-emerald-400/20":"bg-white/5 hover:bg-white/7.5 dark:bg-white/2.5 dark:hover:bg-white/5","focus:opacity-100 outline-none focus-visible:bg-orange-400/20 focus-visible:ring-1 ring-inset focus-visible:ring-orange-400")))&&c(e,"class",z)},i(v){w||(p(n.$$.fragment,v),w=!0)},o(v){$(n.$$.fragment,v),w=!1},d(v){v&&d(e),U(n),B=!1,h()}}}function Ee(a,e,i){let{copied:n=!1}=e;function t(l){be.call(this,a,l)}return a.$$set=l=>{"copied"in l&&i(0,n=l.copied)},[n,t]}class Te extends E{constructor(e){super(),T(this,e,Ee,Ce,I,{copied:0})}}function Ie(a){let e,i,n,t,l;const s=a[4].default,u=q(s,a,a[3],null);return t=new Te({props:{copied:a[1]}}),t.$on("click",a[2]),{c(){e=_("div"),i=_("div"),u&&u.c(),n=N(),H(t.$$.fragment),this.h()},l(o){e=b(o,"DIV",{class:!0});var r=g(e);i=b(r,"DIV",{class:!0});var f=g(i);u&&u.l(f),f.forEach(d),n=V(r),S(t.$$.fragment,r),r.forEach(d),this.h()},h(){c(i,"class","overflow-x-auto px-4 py-3 text-xs text-white font-mono leading-6"),c(e,"class","relative")},m(o,r){m(o,e,r),k(e,i),u&&u.m(i,null),a[5](i),k(e,n),G(t,e,null),l=!0},p(o,[r]){u&&u.p&&(!l||r&8)&&L(u,s,o,o[3],l?J(s,o[3],r,null):F(o[3]),null);const f={};r&2&&(f.copied=o[1]),t.$set(f)},i(o){l||(p(u,o),p(t.$$.fragment,o),l=!0)},o(o){$(u,o),$(t.$$.fragment,o),l=!1},d(o){o&&d(e),u&&u.d(o),a[5](null),U(t)}}}function De(a,e,i){let{$$slots:n={},$$scope:t}=e,l,s=!1;function u(){i(1,s=!0),navigator.clipboard.writeText(l.innerText),setTimeout(()=>{i(1,s=!1)},1e3)}function o(r){me[r?"unshift":"push"](()=>{l=r,i(0,l)})}return a.$$set=r=>{"$$scope"in r&&i(3,t=r.$$scope)},[l,s,u,t,n,o]}class Ne extends E{constructor(e){super(),T(this,e,De,Ie,I,{})}}function Ve(a){let e,i;const n=a[1].default,t=q(n,a,a[0],null);return{c(){e=_("span"),t&&t.c(),this.h()},l(l){e=b(l,"SPAN",{class:!0});var s=g(e);t&&t.l(s),s.forEach(d),this.h()},h(){c(e,"class","font-mono text-[0.625rem] font-semibold leading-6 text-emerald-500 dark:text-emerald-400")},m(l,s){m(l,e,s),t&&t.m(e,null),i=!0},p(l,[s]){t&&t.p&&(!i||s&1)&&L(t,n,l,l[0],i?J(n,l[0],s,null):F(l[0]),null)},i(l){i||(p(t,l),i=!0)},o(l){$(t,l),i=!1},d(l){l&&d(e),t&&t.d(l)}}}function Pe(a,e,i){let{$$slots:n={},$$scope:t}=e;return a.$$set=l=>{"$$scope"in l&&i(0,t=l.$$scope)},[t,n]}class Ae extends E{constructor(e){super(),T(this,e,Pe,Ve,I,{})}}function se(a){let e,i,n,t,l=a[0]&&oe(a),s=a[0]&&a[1]&&re(),u=a[1]&&ue(a);return{c(){e=_("div"),l&&l.c(),i=N(),s&&s.c(),n=N(),u&&u.c(),this.h()},l(o){e=b(o,"DIV",{class:!0});var r=g(e);l&&l.l(r),i=V(r),s&&s.l(r),n=V(r),u&&u.l(r),r.forEach(d),this.h()},h(){c(e,"class","flex h-9 items-center gap-2 border-y border-t-transparent bg-zinc-900 px-4 border-b-white/5 bg-white/1")},m(o,r){m(o,e,r),l&&l.m(e,null),k(e,i),s&&s.m(e,null),k(e,n),u&&u.m(e,null),t=!0},p(o,r){o[0]?l?(l.p(o,r),r&1&&p(l,1)):(l=oe(o),l.c(),p(l,1),l.m(e,i)):l&&(W(),$(l,1,1,()=>{l=null}),X()),o[0]&&o[1]?s||(s=re(),s.c(),s.m(e,n)):s&&(s.d(1),s=null),o[1]?u?u.p(o,r):(u=ue(o),u.c(),u.m(e,null)):u&&(u.d(1),u=null)},i(o){t||(p(l),t=!0)},o(o){$(l),t=!1},d(o){o&&d(e),l&&l.d(),s&&s.d(),u&&u.d()}}}function oe(a){let e,i,n;return i=new Ae({props:{$$slots:{default:[Be]},$$scope:{ctx:a}}}),{c(){e=_("div"),H(i.$$.fragment),this.h()},l(t){e=b(t,"DIV",{class:!0});var l=g(e);S(i.$$.fragment,l),l.forEach(d),this.h()},h(){c(e,"class","dark flex")},m(t,l){m(t,e,l),G(i,e,null),n=!0},p(t,l){const s={};l&5&&(s.$$scope={dirty:l,ctx:t}),i.$set(s)},i(t){n||(p(i.$$.fragment,t),n=!0)},o(t){$(i.$$.fragment,t),n=!1},d(t){t&&d(e),U(i)}}}function Be(a){let e;return{c(){e=P(a[0])},l(i){e=A(i,a[0])},m(i,n){m(i,e,n)},p(i,n){n&1&&O(e,i[0])},d(i){i&&d(e)}}}function re(a){let e;return{c(){e=_("span"),this.h()},l(i){e=b(i,"SPAN",{class:!0}),g(e).forEach(d),this.h()},h(){c(e,"class","h-0.5 w-0.5 rounded-full bg-zinc-500")},m(i,n){m(i,e,n)},d(i){i&&d(e)}}}function ue(a){let e,i;return{c(){e=_("span"),i=P(a[1]),this.h()},l(n){e=b(n,"SPAN",{class:!0});var t=g(e);i=A(t,a[1]),t.forEach(d),this.h()},h(){c(e,"class","font-mono text-xs text-zinc-400")},m(n,t){m(n,e,t),k(e,i)},p(n,t){t&2&&O(i,n[1])},d(n){n&&d(e)}}}function He(a){let e,i,n=(a[0]||a[1])&&se(a);return{c(){n&&n.c(),e=ee()},l(t){n&&n.l(t),e=ee()},m(t,l){n&&n.m(t,l),m(t,e,l),i=!0},p(t,[l]){t[0]||t[1]?n?(n.p(t,l),l&3&&p(n,1)):(n=se(t),n.c(),p(n,1),n.m(e.parentNode,e)):n&&(W(),$(n,1,1,()=>{n=null}),X())},i(t){i||(p(n),i=!0)},o(t){$(n),i=!1},d(t){n&&n.d(t),t&&d(e)}}}function Se(a,e,i){let{tag:n=null}=e,{label:t=null}=e;return a.$$set=l=>{"tag"in l&&i(0,n=l.tag),"label"in l&&i(1,t=l.label)},[n,t]}class Ge extends E{constructor(e){super(),T(this,e,Se,He,I,{tag:0,label:1})}}function fe(a){let e,i;return e=new Ge({props:{tag:a[1],label:a[0]}}),{c(){H(e.$$.fragment)},l(n){S(e.$$.fragment,n)},m(n,t){G(e,n,t),i=!0},p(n,t){const l={};t&2&&(l.tag=n[1]),t&1&&(l.label=n[0]),e.$set(l)},i(n){i||(p(e.$$.fragment,n),i=!0)},o(n){$(e.$$.fragment,n),i=!1},d(n){U(e,n)}}}function Ue(a){let e;const i=a[9].default,n=q(i,a,a[10],null);return{c(){n&&n.c()},l(t){n&&n.l(t)},m(t,l){n&&n.m(t,l),e=!0},p(t,l){n&&n.p&&(!e||l&1024)&&L(n,i,t,t[10],e?J(i,t[10],l,null):F(t[10]),null)},i(t){e||(p(n,t),e=!0)},o(t){$(n,t),e=!1},d(t){n&&n.d(t)}}}function je(a){let e,i,n,t,l,s,u,o=(a[0]||a[1])&&fe(a);return n=new Ne({props:{$$slots:{default:[Ue]},$$scope:{ctx:a}}}),{c(){e=_("div"),o&&o.c(),i=N(),H(n.$$.fragment),this.h()},l(r){e=b(r,"DIV",{class:!0,role:!0,"aria-labelledby":!0});var f=g(e);o&&o.l(f),i=V(f),S(n.$$.fragment,f),f.forEach(d),this.h()},h(){c(e,"class","group dark:bg-white/2.5"),e.hidden=t=!a[4],c(e,"role",l=a[3].length>1?"tabpanel":null),c(e,"aria-labelledby",s=a[3].length>1?`code-group-${a[7]}-tab-${a[2]}`:null)},m(r,f){m(r,e,f),o&&o.m(e,null),k(e,i),G(n,e,null),u=!0},p(r,[f]){r[0]||r[1]?o?(o.p(r,f),f&3&&p(o,1)):(o=fe(r),o.c(),p(o,1),o.m(e,i)):o&&(W(),$(o,1,1,()=>{o=null}),X());const z={};f&1024&&(z.$$scope={dirty:f,ctx:r}),n.$set(z),(!u||f&16&&t!==(t=!r[4]))&&(e.hidden=t),(!u||f&8&&l!==(l=r[3].length>1?"tabpanel":null))&&c(e,"role",l),(!u||f&12&&s!==(s=r[3].length>1?`code-group-${r[7]}-tab-${r[2]}`:null))&&c(e,"aria-labelledby",s)},i(r){u||(p(o),p(n.$$.fragment,r),u=!0)},o(r){$(o),$(n.$$.fragment,r),u=!1},d(r){r&&d(e),o&&o.d(),U(n)}}}function Me(a,e,i){let n,t,l,{$$slots:s={},$$scope:u}=e,{label:o=null}=e,{tag:r=null}=e,{name:f="default"}=e;const z=D("code-group-tabs");M(a,z,h=>i(3,l=h));const w=D("code-group-active-tab");M(a,w,h=>i(8,t=h));const B=D("code-group-id");return z.update(h=>[...h,f]),a.$$set=h=>{"label"in h&&i(0,o=h.label),"tag"in h&&i(1,r=h.tag),"name"in h&&i(2,f=h.name),"$$scope"in h&&i(10,u=h.$$scope)},a.$$.update=()=>{a.$$.dirty&268&&i(4,n=l.findIndex(h=>h===f)===t)},[o,r,f,l,n,z,w,B,t,s,u]}class Oe extends E{constructor(e){super(),T(this,e,Me,je,I,{label:0,tag:1,name:2})}}const qe=a=>({}),ce=a=>({Header:ke,Tab:Oe});function Le(a){let e,i;const n=a[1].default,t=q(n,a,a[0],ce);return{c(){e=_("div"),t&&t.c(),this.h()},l(l){e=b(l,"DIV",{class:!0});var s=g(e);t&&t.l(s),s.forEach(d),this.h()},h(){c(e,"class","shadow-md my-6 overflow-hidden rounded-md bg-zinc-900 dark:ring-1 dark:ring-white/10 not-prose")},m(l,s){m(l,e,s),t&&t.m(e,null),i=!0},p(l,[s]){t&&t.p&&(!i||s&1)&&L(t,n,l,l[0],i?J(n,l[0],s,qe):F(l[0]),ce)},i(l){i||(p(t,l),i=!0)},o(l){$(t,l),i=!1},d(l){l&&d(e),t&&t.d(l)}}}function Fe(a,e,i){let{$$slots:n={},$$scope:t}=e,l=te([]),s=te(0);return Q("code-group-id",crypto.randomUUID()),Q("code-group-tabs",l),Q("code-group-active-tab",s),a.$$set=u=>{"$$scope"in u&&i(0,t=u.$$scope)},[t,n]}class Re extends E{constructor(e){super(),T(this,e,Fe,Le,I,{})}}export{Re as C}; diff --git a/_app/immutable/chunks/CodeGroup.e6b1d0d4.js b/_app/immutable/chunks/CodeGroup.e6b1d0d4.js deleted file mode 100644 index b4263a3..0000000 --- a/_app/immutable/chunks/CodeGroup.e6b1d0d4.js +++ /dev/null @@ -1,3 +0,0 @@ -import{S as C,i as T,s as I,k as _,a as P,l as b,m as g,c as D,h as d,n as c,b as m,D as k,E as j,a0 as N,F as M,q as V,r as A,u as O,G as he,U as de,M as Q,N as pe,O as ge,P as Z,Q as _e,R as x,y as H,z as S,A as G,g as p,d as $,B as U,a1 as be,I as q,J as L,K as R,L as F,w as me,e as ee,v as W,f as X,a2 as K}from"./index.fb560467.js";import{m as z}from"./class-merge.a51d4999.js";import{w as te}from"./index.d327a342.js";function ne(a,e,i){const n=a.slice();n[7]=e[i],n[10]=i;const t=n[10]===n[2];return n[8]=t,n}function le(a){let e,i;return{c(){e=_("h3"),i=V(a[0]),this.h()},l(n){e=b(n,"H3",{class:!0});var t=g(e);i=A(t,a[0]),t.forEach(d),this.h()},h(){c(e,"class","mr-auto py-3 text-xs font-semibold text-white")},m(n,t){m(n,e,t),k(e,i)},p(n,t){t&1&&O(i,n[0])},d(n){n&&d(e)}}}function ie(a){let e,i=a[1],n=[];for(let t=0;t1&&ie(a);return{c(){e=_("div"),n&&n.c(),i=P(),t&&t.c(),this.h()},l(l){e=b(l,"DIV",{class:!0});var s=g(e);n&&n.l(s),i=D(s),t&&t.l(s),s.forEach(d),this.h()},h(){c(e,"class","flex flex-wrap items-start gap-x-4 border-b border-zinc-700 bg-zinc-800 px-4 dark:border-zinc-800 dark:bg-transparent")},m(l,s){m(l,e,s),n&&n.m(e,null),k(e,i),t&&t.m(e,null)},p(l,[s]){l[0]?n?n.p(l,s):(n=le(l),n.c(),n.m(e,i)):n&&(n.d(1),n=null),l[1].length>1?t?t.p(l,s):(t=ie(l),t.c(),t.m(e,null)):t&&(t.d(1),t=null)},i:j,o:j,d(l){l&&d(e),n&&n.d(),t&&t.d()}}}function $e(a,e,i){let n,t,{title:l=null}=e;const s=N("code-group-tabs");M(a,s,f=>i(1,n=f));const u=N("code-group-active-tab");M(a,u,f=>i(2,t=f));const r=N("code-group-id"),o=f=>u.set(f);return a.$$set=f=>{"title"in f&&i(0,l=f.title)},[l,n,t,s,u,r,o]}class ke extends C{constructor(e){super(),T(this,e,$e,ve,I,{title:0})}}function we(a){let e,i='',n=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],t={};for(let l=0;l{i(0,e=Q(Q({},e),x(n)))},e=x(e),[e]}class Ee extends C{constructor(e){super(),T(this,e,ye,we,I,{})}}function ze(a){let e,i,n,t,l,s,u,r,o,f,E,w,B,h;return n=new Ee({props:{className:"h-5 w-5 fill-zinc-500/20 stroke-zinc-500 transition-colors group-hover/button:stroke-zinc-400"}}),{c(){e=_("button"),i=_("span"),H(n.$$.fragment),t=V(` - Copy`),s=P(),u=_("span"),r=V("Copied!"),this.h()},l(v){e=b(v,"BUTTON",{class:!0});var y=g(e);i=b(y,"SPAN",{"aria-hidden":!0,class:!0});var J=g(i);S(n.$$.fragment,J),t=A(J,` - Copy`),J.forEach(d),s=D(y),u=b(y,"SPAN",{"aria-hidden":!0,class:!0});var Y=g(u);r=A(Y,"Copied!"),Y.forEach(d),y.forEach(d),this.h()},h(){c(i,"aria-hidden",a[0]),c(i,"class",l=z("pointer-events-none flex items-center gap-0.5 text-zinc-400 transition duration-300",a[0]&&"translate-y-1.5 opacity-0")),c(u,"aria-hidden",o=!a[0]),c(u,"class",f=z("pointer-events-none absolute inset-0 flex items-center justify-center text-emerald-400 transition duration-300",!a[0]&&"-translate-y-1.5 opacity-0")),c(e,"class",E=z("group/button text-sm absolute right-4 top-2.5 overflow-hidden rounded-full py-1 pl-2 pr-3 text-2xs font-medium opacity-0 backdrop-blur transition group-hover:opacity-100",a[0]?"bg-emerald-400/10 ring-1 ring-inset ring-emerald-400/20":"bg-white/5 hover:bg-white/7.5 dark:bg-white/2.5 dark:hover:bg-white/5","focus:opacity-100 outline-none focus-visible:bg-orange-400/20 focus-visible:ring-1 ring-inset focus-visible:ring-orange-400"))},m(v,y){m(v,e,y),k(e,i),G(n,i,null),k(i,t),k(e,s),k(e,u),k(u,r),w=!0,B||(h=de(e,"click",a[1]),B=!0)},p(v,[y]){(!w||y&1)&&c(i,"aria-hidden",v[0]),(!w||y&1&&l!==(l=z("pointer-events-none flex items-center gap-0.5 text-zinc-400 transition duration-300",v[0]&&"translate-y-1.5 opacity-0")))&&c(i,"class",l),(!w||y&1&&o!==(o=!v[0]))&&c(u,"aria-hidden",o),(!w||y&1&&f!==(f=z("pointer-events-none absolute inset-0 flex items-center justify-center text-emerald-400 transition duration-300",!v[0]&&"-translate-y-1.5 opacity-0")))&&c(u,"class",f),(!w||y&1&&E!==(E=z("group/button text-sm absolute right-4 top-2.5 overflow-hidden rounded-full py-1 pl-2 pr-3 text-2xs font-medium opacity-0 backdrop-blur transition group-hover:opacity-100",v[0]?"bg-emerald-400/10 ring-1 ring-inset ring-emerald-400/20":"bg-white/5 hover:bg-white/7.5 dark:bg-white/2.5 dark:hover:bg-white/5","focus:opacity-100 outline-none focus-visible:bg-orange-400/20 focus-visible:ring-1 ring-inset focus-visible:ring-orange-400")))&&c(e,"class",E)},i(v){w||(p(n.$$.fragment,v),w=!0)},o(v){$(n.$$.fragment,v),w=!1},d(v){v&&d(e),U(n),B=!1,h()}}}function Ce(a,e,i){let{copied:n=!1}=e;function t(l){be.call(this,a,l)}return a.$$set=l=>{"copied"in l&&i(0,n=l.copied)},[n,t]}class Te extends C{constructor(e){super(),T(this,e,Ce,ze,I,{copied:0})}}function Ie(a){let e,i,n,t,l;const s=a[4].default,u=q(s,a,a[3],null);return t=new Te({props:{copied:a[1]}}),t.$on("click",a[2]),{c(){e=_("div"),i=_("pre"),u&&u.c(),n=P(),H(t.$$.fragment),this.h()},l(r){e=b(r,"DIV",{class:!0});var o=g(e);i=b(o,"PRE",{class:!0});var f=g(i);u&&u.l(f),f.forEach(d),n=D(o),S(t.$$.fragment,o),o.forEach(d),this.h()},h(){c(i,"class","overflow-x-auto p-4 text-xs text-white"),c(e,"class","relative")},m(r,o){m(r,e,o),k(e,i),u&&u.m(i,null),a[5](i),k(e,n),G(t,e,null),l=!0},p(r,[o]){u&&u.p&&(!l||o&8)&&L(u,s,r,r[3],l?F(s,r[3],o,null):R(r[3]),null);const f={};o&2&&(f.copied=r[1]),t.$set(f)},i(r){l||(p(u,r),p(t.$$.fragment,r),l=!0)},o(r){$(u,r),$(t.$$.fragment,r),l=!1},d(r){r&&d(e),u&&u.d(r),a[5](null),U(t)}}}function Ne(a,e,i){let{$$slots:n={},$$scope:t}=e,l,s=!1;function u(){i(1,s=!0),navigator.clipboard.writeText(l.innerText),setTimeout(()=>{i(1,s=!1)},1e3)}function r(o){me[o?"unshift":"push"](()=>{l=o,i(0,l)})}return a.$$set=o=>{"$$scope"in o&&i(3,t=o.$$scope)},[l,s,u,t,n,r]}class Pe extends C{constructor(e){super(),T(this,e,Ne,Ie,I,{})}}function De(a){let e,i;const n=a[1].default,t=q(n,a,a[0],null);return{c(){e=_("span"),t&&t.c(),this.h()},l(l){e=b(l,"SPAN",{class:!0});var s=g(e);t&&t.l(s),s.forEach(d),this.h()},h(){c(e,"class","font-mono text-[0.625rem] font-semibold leading-6 text-emerald-500 dark:text-emerald-400")},m(l,s){m(l,e,s),t&&t.m(e,null),i=!0},p(l,[s]){t&&t.p&&(!i||s&1)&&L(t,n,l,l[0],i?F(n,l[0],s,null):R(l[0]),null)},i(l){i||(p(t,l),i=!0)},o(l){$(t,l),i=!1},d(l){l&&d(e),t&&t.d(l)}}}function Ve(a,e,i){let{$$slots:n={},$$scope:t}=e;return a.$$set=l=>{"$$scope"in l&&i(0,t=l.$$scope)},[t,n]}class Ae extends C{constructor(e){super(),T(this,e,Ve,De,I,{})}}function se(a){let e,i,n,t,l=a[0]&&re(a),s=a[0]&&a[1]&&oe(),u=a[1]&&ue(a);return{c(){e=_("div"),l&&l.c(),i=P(),s&&s.c(),n=P(),u&&u.c(),this.h()},l(r){e=b(r,"DIV",{class:!0});var o=g(e);l&&l.l(o),i=D(o),s&&s.l(o),n=D(o),u&&u.l(o),o.forEach(d),this.h()},h(){c(e,"class","flex h-9 items-center gap-2 border-y border-t-transparent bg-zinc-900 px-4 border-b-white/5 bg-white/1")},m(r,o){m(r,e,o),l&&l.m(e,null),k(e,i),s&&s.m(e,null),k(e,n),u&&u.m(e,null),t=!0},p(r,o){r[0]?l?(l.p(r,o),o&1&&p(l,1)):(l=re(r),l.c(),p(l,1),l.m(e,i)):l&&(W(),$(l,1,1,()=>{l=null}),X()),r[0]&&r[1]?s||(s=oe(),s.c(),s.m(e,n)):s&&(s.d(1),s=null),r[1]?u?u.p(r,o):(u=ue(r),u.c(),u.m(e,null)):u&&(u.d(1),u=null)},i(r){t||(p(l),t=!0)},o(r){$(l),t=!1},d(r){r&&d(e),l&&l.d(),s&&s.d(),u&&u.d()}}}function re(a){let e,i,n;return i=new Ae({props:{$$slots:{default:[Be]},$$scope:{ctx:a}}}),{c(){e=_("div"),H(i.$$.fragment),this.h()},l(t){e=b(t,"DIV",{class:!0});var l=g(e);S(i.$$.fragment,l),l.forEach(d),this.h()},h(){c(e,"class","dark flex")},m(t,l){m(t,e,l),G(i,e,null),n=!0},p(t,l){const s={};l&5&&(s.$$scope={dirty:l,ctx:t}),i.$set(s)},i(t){n||(p(i.$$.fragment,t),n=!0)},o(t){$(i.$$.fragment,t),n=!1},d(t){t&&d(e),U(i)}}}function Be(a){let e;return{c(){e=V(a[0])},l(i){e=A(i,a[0])},m(i,n){m(i,e,n)},p(i,n){n&1&&O(e,i[0])},d(i){i&&d(e)}}}function oe(a){let e;return{c(){e=_("span"),this.h()},l(i){e=b(i,"SPAN",{class:!0}),g(e).forEach(d),this.h()},h(){c(e,"class","h-0.5 w-0.5 rounded-full bg-zinc-500")},m(i,n){m(i,e,n)},d(i){i&&d(e)}}}function ue(a){let e,i;return{c(){e=_("span"),i=V(a[1]),this.h()},l(n){e=b(n,"SPAN",{class:!0});var t=g(e);i=A(t,a[1]),t.forEach(d),this.h()},h(){c(e,"class","font-mono text-xs text-zinc-400")},m(n,t){m(n,e,t),k(e,i)},p(n,t){t&2&&O(i,n[1])},d(n){n&&d(e)}}}function He(a){let e,i,n=(a[0]||a[1])&&se(a);return{c(){n&&n.c(),e=ee()},l(t){n&&n.l(t),e=ee()},m(t,l){n&&n.m(t,l),m(t,e,l),i=!0},p(t,[l]){t[0]||t[1]?n?(n.p(t,l),l&3&&p(n,1)):(n=se(t),n.c(),p(n,1),n.m(e.parentNode,e)):n&&(W(),$(n,1,1,()=>{n=null}),X())},i(t){i||(p(n),i=!0)},o(t){$(n),i=!1},d(t){n&&n.d(t),t&&d(e)}}}function Se(a,e,i){let{tag:n=null}=e,{label:t=null}=e;return a.$$set=l=>{"tag"in l&&i(0,n=l.tag),"label"in l&&i(1,t=l.label)},[n,t]}class Ge extends C{constructor(e){super(),T(this,e,Se,He,I,{tag:0,label:1})}}function fe(a){let e,i;return e=new Ge({props:{tag:a[1],label:a[0]}}),{c(){H(e.$$.fragment)},l(n){S(e.$$.fragment,n)},m(n,t){G(e,n,t),i=!0},p(n,t){const l={};t&2&&(l.tag=n[1]),t&1&&(l.label=n[0]),e.$set(l)},i(n){i||(p(e.$$.fragment,n),i=!0)},o(n){$(e.$$.fragment,n),i=!1},d(n){U(e,n)}}}function Ue(a){let e;const i=a[9].default,n=q(i,a,a[10],null);return{c(){n&&n.c()},l(t){n&&n.l(t)},m(t,l){n&&n.m(t,l),e=!0},p(t,l){n&&n.p&&(!e||l&1024)&&L(n,i,t,t[10],e?F(i,t[10],l,null):R(t[10]),null)},i(t){e||(p(n,t),e=!0)},o(t){$(n,t),e=!1},d(t){n&&n.d(t)}}}function je(a){let e,i,n,t,l,s,u,r=(a[0]||a[1])&&fe(a);return n=new Pe({props:{$$slots:{default:[Ue]},$$scope:{ctx:a}}}),{c(){e=_("div"),r&&r.c(),i=P(),H(n.$$.fragment),this.h()},l(o){e=b(o,"DIV",{class:!0,role:!0,"aria-labelledby":!0});var f=g(e);r&&r.l(f),i=D(f),S(n.$$.fragment,f),f.forEach(d),this.h()},h(){c(e,"class","group dark:bg-white/2.5"),e.hidden=t=!a[4],c(e,"role",l=a[3].length>1?"tabpanel":null),c(e,"aria-labelledby",s=a[3].length>1?`code-group-${a[7]}-tab-${a[2]}"`:null)},m(o,f){m(o,e,f),r&&r.m(e,null),k(e,i),G(n,e,null),u=!0},p(o,[f]){o[0]||o[1]?r?(r.p(o,f),f&3&&p(r,1)):(r=fe(o),r.c(),p(r,1),r.m(e,i)):r&&(W(),$(r,1,1,()=>{r=null}),X());const E={};f&1024&&(E.$$scope={dirty:f,ctx:o}),n.$set(E),(!u||f&16&&t!==(t=!o[4]))&&(e.hidden=t),(!u||f&8&&l!==(l=o[3].length>1?"tabpanel":null))&&c(e,"role",l),(!u||f&12&&s!==(s=o[3].length>1?`code-group-${o[7]}-tab-${o[2]}"`:null))&&c(e,"aria-labelledby",s)},i(o){u||(p(r),p(n.$$.fragment,o),u=!0)},o(o){$(r),$(n.$$.fragment,o),u=!1},d(o){o&&d(e),r&&r.d(),U(n)}}}function Me(a,e,i){let n,t,l,{$$slots:s={},$$scope:u}=e,{label:r=null}=e,{tag:o=null}=e,{name:f="default"}=e;const E=N("code-group-tabs");M(a,E,h=>i(3,l=h));const w=N("code-group-active-tab");M(a,w,h=>i(8,t=h));const B=N("code-group-id");return E.update(h=>[...h,f]),a.$$set=h=>{"label"in h&&i(0,r=h.label),"tag"in h&&i(1,o=h.tag),"name"in h&&i(2,f=h.name),"$$scope"in h&&i(10,u=h.$$scope)},a.$$.update=()=>{a.$$.dirty&268&&i(4,n=l.findIndex(h=>h===f)===t)},[r,o,f,l,n,E,w,B,t,s,u]}class Oe extends C{constructor(e){super(),T(this,e,Me,je,I,{label:0,tag:1,name:2})}}const qe=a=>({}),ce=a=>({Header:ke,Tab:Oe});function Le(a){let e,i;const n=a[1].default,t=q(n,a,a[0],ce);return{c(){e=_("div"),t&&t.c(),this.h()},l(l){e=b(l,"DIV",{class:!0});var s=g(e);t&&t.l(s),s.forEach(d),this.h()},h(){c(e,"class","shadow-md my-6 overflow-hidden rounded-md bg-zinc-900 dark:ring-1 dark:ring-white/10 not-prose")},m(l,s){m(l,e,s),t&&t.m(e,null),i=!0},p(l,[s]){t&&t.p&&(!i||s&1)&&L(t,n,l,l[0],i?F(n,l[0],s,qe):R(l[0]),ce)},i(l){i||(p(t,l),i=!0)},o(l){$(t,l),i=!1},d(l){l&&d(e),t&&t.d(l)}}}function Re(a,e,i){let{$$slots:n={},$$scope:t}=e,l=te([]),s=te(0);return K("code-group-id",crypto.randomUUID()),K("code-group-tabs",l),K("code-group-active-tab",s),a.$$set=u=>{"$$scope"in u&&i(0,t=u.$$scope)},[t,n]}class Qe extends C{constructor(e){super(),T(this,e,Re,Le,I,{})}}export{Qe as C}; diff --git a/_app/immutable/chunks/NotFoundPage.977f74ba.js b/_app/immutable/chunks/NotFoundPage.9f3bd46c.js similarity index 95% rename from _app/immutable/chunks/NotFoundPage.977f74ba.js rename to _app/immutable/chunks/NotFoundPage.9f3bd46c.js index ff84c69..674b157 100644 --- a/_app/immutable/chunks/NotFoundPage.977f74ba.js +++ b/_app/immutable/chunks/NotFoundPage.9f3bd46c.js @@ -1,3 +1,3 @@ -import{S as L,i as T,s as J,k as r,a as v,q as x,y as K,C as O,l,h as o,c as y,m,r as E,z as Q,n as t,D as e,b as B,A as U,E as W,g as X,d as Y,B as Z}from"./index.fb560467.js";import{G as ee}from"./github.b4fe0f57.js";function te(H){let i,k,f,s,p,P,A,g,I,N,_,S,G,c,d,D,F,n,h,q,w;return h=new ee({props:{class:"w-4 h-4 min-w-max"}}),{c(){i=r("meta"),k=v(),f=r("main"),s=r("div"),p=r("p"),P=x("404"),A=v(),g=r("h1"),I=x("Page not found"),N=v(),_=r("p"),S=x("Sorry, we couldn’t find the page you’re looking for."),G=v(),c=r("div"),d=r("a"),D=x("Go back home"),F=v(),n=r("a"),K(h.$$.fragment),q=x(` +import{S as L,i as T,s as J,k as r,a as v,q as x,y as K,C as O,l,h as o,c as y,m,r as E,z as Q,n as t,D as e,b as B,A as U,E as W,g as X,d as Y,B as Z}from"./index.90d50ca5.js";import{G as ee}from"./github.9c21d12c.js";function te(H){let i,k,f,s,p,P,A,g,I,N,_,S,G,c,d,D,F,n,h,q,w;return h=new ee({props:{class:"w-4 h-4 min-w-max"}}),{c(){i=r("meta"),k=v(),f=r("main"),s=r("div"),p=r("p"),P=x("404"),A=v(),g=r("h1"),I=x("Page not found"),N=v(),_=r("p"),S=x("Sorry, we couldn’t find the page you’re looking for."),G=v(),c=r("div"),d=r("a"),D=x("Go back home"),F=v(),n=r("a"),K(h.$$.fragment),q=x(` Report Issue`),this.h()},l(a){const b=O("svelte-tm16k2",document.head);i=l(b,"META",{name:!0,content:!0}),b.forEach(o),k=y(a),f=l(a,"MAIN",{class:!0});var C=m(f);s=l(C,"DIV",{class:!0});var u=m(s);p=l(u,"P",{class:!0});var M=m(p);P=E(M,"404"),M.forEach(o),A=y(u),g=l(u,"H1",{class:!0});var R=m(g);I=E(R,"Page not found"),R.forEach(o),N=y(u),_=l(u,"P",{class:!0});var V=m(_);S=E(V,"Sorry, we couldn’t find the page you’re looking for."),V.forEach(o),G=y(u),c=l(u,"DIV",{class:!0});var $=m(c);d=l($,"A",{href:!0,class:!0});var j=m(d);D=E(j,"Go back home"),j.forEach(o),F=y($),n=l($,"A",{href:!0,target:!0,rel:!0,class:!0});var z=m(n);Q(h.$$.fragment,z),q=E(z,` Report Issue`),z.forEach(o),$.forEach(o),u.forEach(o),C.forEach(o),this.h()},h(){t(i,"name","robots"),t(i,"content","noindex"),document.title="Page Not Found",t(p,"class","text-base font-semibold text-orange-600"),t(g,"class","mt-4 text-3xl font-bold tracking-tight text-gray-900 sm:text-5xl"),t(_,"class","mt-6 text-base leading-7 text-gray-600"),t(d,"href","/"),t(d,"class","rounded-md bg-orange-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-orange-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-orange-600"),t(n,"href","https://github.com/LorisSigrist/t18s/issues/new"),t(n,"target","_blank"),t(n,"rel","noopener noreferrer"),t(n,"class","text-sm font-semibold text-white bg-black hover:bg-zinc-950 px-3.5 py-2.5 rounded-md flex gap-2 items-center focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-black"),t(c,"class","mt-10 flex items-center justify-center gap-x-6"),t(s,"class","text-center"),t(f,"class","grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8")},m(a,b){e(document.head,i),B(a,k,b),B(a,f,b),e(f,s),e(s,p),e(p,P),e(s,A),e(s,g),e(g,I),e(s,N),e(s,_),e(_,S),e(s,G),e(s,c),e(c,d),e(d,D),e(c,F),e(c,n),U(h,n,null),e(n,q),w=!0},p:W,i(a){w||(X(h.$$.fragment,a),w=!0)},o(a){Y(h.$$.fragment,a),w=!1},d(a){o(i),a&&o(k),a&&o(f),Z(h)}}}class oe extends L{constructor(i){super(),T(this,i,null,te,J,{})}}export{oe as N}; diff --git a/_app/immutable/chunks/Prism.42f81a6a.js b/_app/immutable/chunks/Prism.42f81a6a.js new file mode 100644 index 0000000..2ac027c --- /dev/null +++ b/_app/immutable/chunks/Prism.42f81a6a.js @@ -0,0 +1,9 @@ +import{S as se,i as ie,a0 as ue,k as W,l as K,m as V,h as U,n as H,b as oe,D as le,E as J}from"./index.90d50ca5.js";import{c as Q,g as ce}from"./_commonjsHelpers.725317a4.js";var ee={exports:{}};(function(g){var m=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{};/** + * Prism: Lightweight, robust, elegant syntax highlighting + * + * @license MIT + * @author Lea Verou + * @namespace + * @public + */var a=function(l){var p=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,d=0,f={},i={manual:l.Prism&&l.Prism.manual,disableWorkerMessageHandler:l.Prism&&l.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof S?new S(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document&&1<2)return document.currentScript;try{throw new Error}catch(r){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var n in e)if(e[n].src==t)return e[n]}return null}},isActive:function(t,e,n){for(var r="no-"+e;t;){var s=t.classList;if(s.contains(e))return!0;if(s.contains(r))return!1;t=t.parentElement}return!!n}},languages:{plain:f,plaintext:f,text:f,txt:f,extend:function(t,e){var n=i.util.clone(i.languages[t]);for(var r in e)n[r]=e[r];return n},insertBefore:function(t,e,n,r){r=r||i.languages;var s=r[t],o={};for(var c in s)if(s.hasOwnProperty(c)){if(c==e)for(var u in n)n.hasOwnProperty(u)&&(o[u]=n[u]);n.hasOwnProperty(c)||(o[c]=s[c])}var F=r[t];return r[t]=o,i.languages.DFS(i.languages,function(A,E){E===F&&A!=t&&(this[A]=o)}),o},DFS:function t(e,n,r,s){s=s||{};var o=i.util.objId;for(var c in e)if(e.hasOwnProperty(c)){n.call(e,c,e[c],r||c);var u=e[c],F=i.util.type(u);F==="Object"&&!s[o(u)]?(s[o(u)]=!0,t(u,n,null,s)):F==="Array"&&!s[o(u)]&&(s[o(u)]=!0,t(u,n,c,s))}}},plugins:{},highlightAll:function(t,e){i.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,n){var r={callback:n,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};i.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),i.hooks.run("before-all-elements-highlight",r);for(var s=0,o;o=r.elements[s++];)i.highlightElement(o,e===!0,r.callback)},highlightElement:function(t,e,n){var r=i.util.getLanguage(t),s=i.languages[r];i.util.setLanguage(t,r);var o=t.parentElement;o&&o.nodeName.toLowerCase()==="pre"&&i.util.setLanguage(o,r);var c=t.textContent,u={element:t,language:r,grammar:s,code:c};function F(E){u.highlightedCode=E,i.hooks.run("before-insert",u),u.element.innerHTML=u.highlightedCode,i.hooks.run("after-highlight",u),i.hooks.run("complete",u),n&&n.call(u.element)}if(i.hooks.run("before-sanity-check",u),o=u.element.parentElement,o&&o.nodeName.toLowerCase()==="pre"&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!u.code){i.hooks.run("complete",u),n&&n.call(u.element);return}if(i.hooks.run("before-highlight",u),!u.grammar){F(i.util.encode(u.code));return}if(e&&l.Worker){var A=new Worker(i.filename);A.onmessage=function(E){F(E.data)},A.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else F(i.highlight(u.code,u.grammar,u.language))},highlight:function(t,e,n){var r={code:t,grammar:e,language:n};if(i.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=i.tokenize(r.code,r.grammar),i.hooks.run("after-tokenize",r),S.stringify(i.util.encode(r.tokens),r.language)},tokenize:function(t,e){var n=e.rest;if(n){for(var r in n)e[r]=n[r];delete e.rest}var s=new O;return _(s,s.head,t),P(t,s,e,s.head,0),D(s)},hooks:{all:{},add:function(t,e){var n=i.hooks.all;n[t]=n[t]||[],n[t].push(e)},run:function(t,e){var n=i.hooks.all[t];if(!(!n||!n.length))for(var r=0,s;s=n[r++];)s(e)}},Token:S};l.Prism=i;function S(t,e,n,r){this.type=t,this.content=e,this.alias=n,this.length=(r||"").length|0}S.stringify=function t(e,n){if(typeof e=="string")return e;if(Array.isArray(e)){var r="";return e.forEach(function(F){r+=t(F,n)}),r}var s={type:e.type,content:t(e.content,n),tag:"span",classes:["token",e.type],attributes:{},language:n},o=e.alias;o&&(Array.isArray(o)?Array.prototype.push.apply(s.classes,o):s.classes.push(o)),i.hooks.run("wrap",s);var c="";for(var u in s.attributes)c+=" "+u+'="'+(s.attributes[u]||"").replace(/"/g,""")+'"';return"<"+s.tag+' class="'+s.classes.join(" ")+'"'+c+">"+s.content+""};function I(t,e,n,r){t.lastIndex=e;var s=t.exec(n);if(s&&r&&s[1]){var o=s[1].length;s.index+=o,s[0]=s[0].slice(o)}return s}function P(t,e,n,r,s,o){for(var c in n)if(!(!n.hasOwnProperty(c)||!n[c])){var u=n[c];u=Array.isArray(u)?u:[u];for(var F=0;F=o.reach);w+=y.value.length,y=y.next){var $=y.value;if(e.length>t.length)return;if(!($ instanceof S)){var L=1,x;if(X){if(x=I(q,w,t,Z),!x||x.index>=t.length)break;var C=x.index,ne=x.index+x[0].length,k=w;for(k+=y.value.length;C>=k;)y=y.next,k+=y.value.length;if(k-=y.value.length,w=k,y.value instanceof S)continue;for(var R=y;R!==e.tail&&(ko.reach&&(o.reach=j);var M=y.prev;z&&(M=_(e,M,z),w+=z.length),G(e,M,L);var re=new S(c,E?i.tokenize(N,E):N,te,N);if(y=_(e,M,re),Y&&_(e,y,Y),L>1){var B={cause:c+","+F,reach:j};P(t,e,n,y.prev,w,B),o&&B.reach>o.reach&&(o.reach=B.reach)}}}}}}function O(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function _(t,e,n){var r=e.next,s={value:n,prev:e,next:r};return e.next=s,r.prev=s,t.length++,s}function G(t,e,n){for(var r=e.next,s=0;s/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},a.languages.markup.tag.inside["attr-value"].inside.entity=a.languages.markup.entity,a.languages.markup.doctype.inside["internal-subset"].inside=a.languages.markup,a.hooks.add("wrap",function(l){l.type==="entity"&&(l.attributes.title=l.content.replace(/&/,"&"))}),Object.defineProperty(a.languages.markup.tag,"addInlined",{value:function(p,d){var f={};f["language-"+d]={pattern:/(^$)/i,lookbehind:!0,inside:a.languages[d]},f.cdata=/^$/i;var i={"included-cdata":{pattern://i,inside:f}};i["language-"+d]={pattern:/[\s\S]+/,inside:a.languages[d]};var S={};S[p]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return p}),"i"),lookbehind:!0,greedy:!0,inside:i},a.languages.insertBefore("markup","cdata",S)}}),Object.defineProperty(a.languages.markup.tag,"addAttribute",{value:function(l,p){a.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+l+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[p,"language-"+p],inside:a.languages[p]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),a.languages.html=a.languages.markup,a.languages.mathml=a.languages.markup,a.languages.svg=a.languages.markup,a.languages.xml=a.languages.extend("markup",{}),a.languages.ssml=a.languages.xml,a.languages.atom=a.languages.xml,a.languages.rss=a.languages.xml,function(l){var p=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;l.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+p.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+p.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+p.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+p.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:p,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},l.languages.css.atrule.inside.rest=l.languages.css;var d=l.languages.markup;d&&(d.tag.addInlined("style","css"),d.tag.addAttribute("style","css"))}(a),a.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},a.languages.javascript=a.languages.extend("clike",{"class-name":[a.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),a.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,a.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:a.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:a.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:a.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:a.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:a.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),a.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:a.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),a.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),a.languages.markup&&(a.languages.markup.tag.addInlined("script","javascript"),a.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),a.languages.js=a.languages.javascript,function(){if(typeof a>"u"||typeof document>"u")return;Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var l="Loading…",p=function(b,h){return"✖ Error "+b+" while fetching file: "+h},d="✖ Error: File does not exist or is empty",f={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},i="data-src-status",S="loading",I="loaded",P="failed",O="pre[data-src]:not(["+i+'="'+I+'"]):not(['+i+'="'+S+'"])';function _(b,h,v){var t=new XMLHttpRequest;t.open("GET",b,!0),t.onreadystatechange=function(){t.readyState==4&&(t.status<400&&t.responseText?h(t.responseText):t.status>=400?v(p(t.status,t.statusText)):v(d))},t.send(null)}function G(b){var h=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(b||"");if(h){var v=Number(h[1]),t=h[2],e=h[3];return t?e?[v,Number(e)]:[v,void 0]:[v,v]}}a.hooks.add("before-highlightall",function(b){b.selector+=", "+O}),a.hooks.add("before-sanity-check",function(b){var h=b.element;if(h.matches(O)){b.code="",h.setAttribute(i,S);var v=h.appendChild(document.createElement("CODE"));v.textContent=l;var t=h.getAttribute("data-src"),e=b.language;if(e==="none"){var n=(/\.(\w+)$/.exec(t)||[,"none"])[1];e=f[n]||n}a.util.setLanguage(v,e),a.util.setLanguage(h,e);var r=a.plugins.autoloader;r&&r.loadLanguages(e),_(t,function(s){h.setAttribute(i,I);var o=G(h.getAttribute("data-range"));if(o){var c=s.split(/\r\n?|\n/g),u=o[0],F=o[1]==null?c.length:o[1];u<0&&(u+=c.length),u=Math.max(0,Math.min(u-1,c.length)),F<0&&(F+=c.length),F=Math.max(0,Math.min(F,c.length)),s=c.slice(u,F).join(` +`),h.hasAttribute("data-start")||h.setAttribute("data-start",String(u+1))}v.textContent=s,a.highlightElement(v)},function(s){h.setAttribute(i,P),v.textContent=s})}}),a.plugins.fileHighlight={highlight:function(h){for(var v=(h||document).querySelectorAll(O),t=0,e;e=v[t++];)a.highlightElement(e)}};var D=!1;a.fileHighlight=function(){D||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),D=!0),a.plugins.fileHighlight.highlight.apply(this,arguments)}}()})(ee);var ge=ee.exports;const T=ce(ge);Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/});Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/;Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/});Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}});Prism.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}});Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript"));Prism.languages.js=Prism.languages.javascript;(function(g){g.languages.typescript=g.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),g.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete g.languages.typescript.parameter,delete g.languages.typescript["literal-property"];var m=g.languages.extend("typescript",{});delete m["class-name"],g.languages.typescript["class-name"].inside=m,g.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:m}}}}),g.languages.ts=g.languages.typescript})(Prism);(function(g){var m="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",a={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},l={bash:a,environment:{pattern:RegExp("\\$"+m),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+m),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};g.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+m),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:l},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:a}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:l},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:l.entity}}],environment:{pattern:RegExp("\\$?"+m),alias:"constant"},variable:l.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},a.inside=g.languages.bash;for(var p=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=l.variable[1].inside,f=0;f{"language"in i&&a(0,d=i.language),"code"in i&&a(2,f=i.code)},g.$$.update=()=>{g.$$.dirty&13&&a(1,l=T.highlight(f,p[d],d))},[d,l,f,T]}class me extends se{constructor(m){super(),ie(this,m,pe,de,ue,{language:0,code:2})}}export{me as P}; diff --git a/_app/immutable/chunks/_commonjsHelpers.725317a4.js b/_app/immutable/chunks/_commonjsHelpers.725317a4.js new file mode 100644 index 0000000..b285ce5 --- /dev/null +++ b/_app/immutable/chunks/_commonjsHelpers.725317a4.js @@ -0,0 +1 @@ +var o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}export{o as c,l as g}; diff --git a/_app/immutable/chunks/github.b4fe0f57.js b/_app/immutable/chunks/github.9c21d12c.js similarity index 95% rename from _app/immutable/chunks/github.b4fe0f57.js rename to _app/immutable/chunks/github.9c21d12c.js index 49b4c09..142bd1e 100644 --- a/_app/immutable/chunks/github.b4fe0f57.js +++ b/_app/immutable/chunks/github.9c21d12c.js @@ -1 +1 @@ -import{S as g,i as u,s as v,M as r,N as d,O as m,m as f,h,P as l,b as w,Q as x,E as o,R as _}from"./index.fb560467.js";function C(a){let e,n='',s=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],i={};for(let t=0;t{n(0,e=r(r({},e),_(s)))},e=_(e),[e]}class B extends g{constructor(e){super(),u(this,e,b,C,v,{})}}export{B as G}; +import{S as g,i as u,s as v,M as r,N as d,O as m,m as f,h,P as l,b as w,Q as x,E as o,R as _}from"./index.90d50ca5.js";function C(a){let e,n='',s=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],i={};for(let t=0;t{n(0,e=r(r({},e),_(s)))},e=_(e),[e]}class B extends g{constructor(e){super(),u(this,e,b,C,v,{})}}export{B as G}; diff --git a/_app/immutable/chunks/index.d327a342.js b/_app/immutable/chunks/index.0229d0e6.js similarity index 85% rename from _app/immutable/chunks/index.d327a342.js rename to _app/immutable/chunks/index.0229d0e6.js index 9648ae4..2784932 100644 --- a/_app/immutable/chunks/index.d327a342.js +++ b/_app/immutable/chunks/index.0229d0e6.js @@ -1 +1 @@ -import{E as f,s as l}from"./index.fb560467.js";const e=[];function h(n,u=f){let i;const o=new Set;function r(t){if(l(n,t)&&(n=t,i)){const c=!e.length;for(const s of o)s[1](),e.push(s,n);if(c){for(let s=0;s{o.delete(s),o.size===0&&i&&(i(),i=null)}}return{set:r,update:b,subscribe:p}}export{h as w}; +import{E as f,s as l}from"./index.90d50ca5.js";const e=[];function h(n,u=f){let i;const o=new Set;function r(t){if(l(n,t)&&(n=t,i)){const c=!e.length;for(const s of o)s[1](),e.push(s,n);if(c){for(let s=0;s{o.delete(s),o.size===0&&i&&(i(),i=null)}}return{set:r,update:b,subscribe:p}}export{h as w}; diff --git a/_app/immutable/chunks/index.90d50ca5.js b/_app/immutable/chunks/index.90d50ca5.js new file mode 100644 index 0000000..9c1d660 --- /dev/null +++ b/_app/immutable/chunks/index.90d50ca5.js @@ -0,0 +1,4 @@ +function $(){}const K=t=>t;function dt(t,e){for(const n in e)t[n]=e[n];return t}function Q(t){return t()}function G(){return Object.create(null)}function E(t){t.forEach(Q)}function S(t){return typeof t=="function"}function zt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let j;function Bt(t,e){return j||(j=document.createElement("a")),j.href=e,t===j.href}function Ht(t,e){return t!=t?e==e:t!==e}function ht(t){return Object.keys(t).length===0}function U(t,...e){if(t==null)return $;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Lt(t){let e;return U(t,n=>e=n)(),e}function Ft(t,e,n){t.$$.on_destroy.push(U(e,n))}function Wt(t,e,n,i){if(t){const r=V(t,e,n,i);return t[0](r)}}function V(t,e,n,i){return t[1]&&i?dt(n.ctx.slice(),t[1](i(e))):n.ctx}function Gt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const c=[],s=Math.max(e.dirty.length,r.length);for(let u=0;u32){const e=[],n=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),L=X?t=>requestAnimationFrame(t):$;const w=new Set;function Z(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),w.size!==0&&L(Z)}function tt(t){let e;return w.size===0&&L(Z),{promise:new Promise(n=>{w.add(e={c:t,f:n})}),abort(){w.delete(e)}}}let q=!1;function mt(){q=!0}function pt(){q=!1}function yt(t,e,n,i){for(;t>1);n(r)<=i?t=r+1:e=r}return t}function gt(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const o=[];for(let l=0;l0&&e[n[r]].claim_order<=l?r+1:yt(1,r,_=>e[n[_]].claim_order,l))-1;i[o]=n[f]+1;const a=f+1;n[a]=o,r=Math.max(a,r)}const c=[],s=[];let u=e.length-1;for(let o=n[r]+1;o!=0;o=i[o-1]){for(c.push(e[o-1]);u>=o;u--)s.push(e[u]);u--}for(;u>=0;u--)s.push(e[u]);c.reverse(),s.sort((o,l)=>o.claim_order-l.claim_order);for(let o=0,l=0;o=c[l].claim_order;)l++;const f=lt.removeEventListener(e,n,i)}function Et(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function te(t,e){for(const n in e)Et(t,n,e[n])}function kt(t){return Array.from(t.childNodes)}function Nt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function rt(t,e,n,i,r=!1){Nt(t);const c=(()=>{for(let s=t.claim_info.last_index;s=0;s--){const u=t[s];if(e(u)){const o=n(u);return o===void 0?t.splice(s,1):t[s]=o,r?o===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,u}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function st(t,e,n,i){return rt(t,r=>r.nodeName===e,r=>{const c=[];for(let s=0;sr.removeAttribute(s))},()=>i(e))}function ee(t,e,n){return st(t,e,n,it)}function ne(t,e,n){return st(t,e,n,vt)}function At(t,e){return rt(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>F(e),!0)}function ie(t){return At(t," ")}function re(t,e){e=""+e,t.data!==e&&(t.data=e)}function se(t,e){t.value=e??""}function oe(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function Ct(t,e,{bubbles:n=!1,cancelable:i=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,i,e),r}function ce(t,e){const n=[];let i=0;for(const r of e.childNodes)if(r.nodeType===8){const c=r.textContent.trim();c===`HEAD_${t}_END`?(i-=1,n.push(r)):c===`HEAD_${t}_START`&&(i+=1,n.push(r))}else i>0&&n.push(r);return n}function ue(t,e){return new t(e)}const M=new Map;let O=0;function St(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function jt(t,e){const n={stylesheet:xt(e),rules:{}};return M.set(t,n),n}function ot(t,e,n,i,r,c,s,u=0){const o=16.666/i;let l=`{ +`;for(let m=0;m<=1;m+=o){const p=e+(n-e)*c(m);l+=m*100+`%{${s(p,1-p)}} +`}const f=l+`100% {${s(n,1-n)}} +}`,a=`__svelte_${St(f)}_${u}`,_=et(t),{stylesheet:d,rules:h}=M.get(_)||jt(_,t);h[a]||(h[a]=!0,d.insertRule(`@keyframes ${a} ${f}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${a} ${i}ms linear ${r}ms 1 both`,O+=1,a}function B(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?c=>c.indexOf(e)<0:c=>c.indexOf("__svelte")===-1),r=n.length-i.length;r&&(t.style.animation=i.join(", "),O-=r,O||Dt())}function Dt(){L(()=>{O||(M.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&nt(e)}),M.clear())})}let A;function N(t){A=t}function P(){if(!A)throw new Error("Function called outside component initialization");return A}function le(t){P().$$.on_mount.push(t)}function ae(t){P().$$.after_update.push(t)}function fe(t,e){return P().$$.context.set(t,e),e}function _e(t){return P().$$.context.get(t)}function de(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const b=[],I=[];let v=[];const J=[],ct=Promise.resolve();let H=!1;function ut(){H||(H=!0,ct.then(lt))}function he(){return ut(),ct}function C(t){v.push(t)}const z=new Set;let x=0;function lt(){if(x!==0)return;const t=A;do{try{for(;xt.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),v=e}let k;function at(){return k||(k=Promise.resolve(),k.then(()=>{k=null})),k}function T(t,e,n){t.dispatchEvent(Ct(`${e?"intro":"outro"}${n}`))}const D=new Set;let g;function me(){g={r:0,c:[],p:g}}function pe(){g.r||E(g.c),g=g.p}function Tt(t,e){t&&t.i&&(D.delete(t),t.i(e))}function ye(t,e,n,i){if(t&&t.o){if(D.has(t))return;D.add(t),g.c.push(()=>{D.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const ft={duration:0};function ge(t,e,n){const i={direction:"in"};let r=e(t,n,i),c=!1,s,u,o=0;function l(){s&&B(t,s)}function f(){const{delay:_=0,duration:d=300,easing:h=K,tick:y=$,css:m}=r||ft;m&&(s=ot(t,0,1,d,_,h,m,o++)),y(0,1);const p=Y()+_,_t=p+d;u&&u.abort(),c=!0,C(()=>T(t,!0,"start")),u=tt(R=>{if(c){if(R>=_t)return y(1,0),T(t,!0,"end"),l(),c=!1;if(R>=p){const W=h((R-p)/d);y(W,1-W)}}return c})}let a=!1;return{start(){a||(a=!0,B(t),S(r)?(r=r(i),at().then(f)):f())},invalidate(){a=!1},end(){c&&(l(),c=!1)}}}function $e(t,e,n){const i={direction:"out"};let r=e(t,n,i),c=!0,s;const u=g;u.r+=1;function o(){const{delay:l=0,duration:f=300,easing:a=K,tick:_=$,css:d}=r||ft;d&&(s=ot(t,1,0,f,l,a,d));const h=Y()+l,y=h+f;C(()=>T(t,!1,"start")),tt(m=>{if(c){if(m>=y)return _(0,1),T(t,!1,"end"),--u.r||E(u.c),!1;if(m>=h){const p=a((m-h)/f);_(1-p,p)}}return c})}return S(r)?at().then(()=>{r=r(i),o()}):o(),{end(l){l&&r.tick&&r.tick(1,0),c&&(s&&B(t,s),c=!1)}}}function xe(t,e){const n={},i={},r={$$scope:1};let c=t.length;for(;c--;){const s=t[c],u=e[c];if(u){for(const o in s)o in u||(i[o]=1);for(const o in u)r[o]||(n[o]=u[o],r[o]=1);t[c]=u}else for(const o in s)r[o]=1}for(const s in i)s in n||(n[s]=void 0);return n}function be(t){t&&t.c()}function we(t,e){t&&t.l(e)}function qt(t,e,n,i){const{fragment:r,after_update:c}=t.$$;r&&r.m(e,n),i||C(()=>{const s=t.$$.on_mount.map(Q).filter(S);t.$$.on_destroy?t.$$.on_destroy.push(...s):E(s),t.$$.on_mount=[]}),c.forEach(C)}function Pt(t,e){const n=t.$$;n.fragment!==null&&(Ot(n.after_update),E(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function Rt(t,e){t.$$.dirty[0]===-1&&(b.push(t),ut(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const h=d.length?d[0]:_;return l.ctx&&r(l.ctx[a],l.ctx[a]=h)&&(!l.skip_bound&&l.bound[a]&&l.bound[a](h),f&&Rt(t,a)),_}):[],l.update(),f=!0,E(l.before_update),l.fragment=i?i(l.ctx):!1,e.target){if(e.hydrate){mt();const a=kt(e.target);l.fragment&&l.fragment.l(a),a.forEach(nt)}else l.fragment&&l.fragment.c();e.intro&&Tt(t.$$.fragment),qt(t,e.target,e.anchor,e.customElement),pt(),lt()}N(o)}class Ee{$destroy(){Pt(this,1),this.$destroy=$}$on(e,n){if(!S(n))return $;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!ht(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{$e as $,qt as A,Pt as B,ce as C,wt as D,$ as E,Ft as F,Vt as G,Lt as H,Wt as I,It as J,Jt as K,Gt as L,dt as M,vt as N,ne as O,te as P,xe as Q,Kt as R,Ee as S,Bt as T,Zt as U,Qt as V,S as W,E as X,se as Y,C as Z,ge as _,Xt as a,Ht as a0,_e as a1,de as a2,fe as a3,Ut as b,ie as c,ye as d,Yt as e,pe as f,Tt as g,nt as h,ve as i,ae as j,it as k,ee as l,kt as m,Et as n,le as o,oe as p,F as q,At as r,zt as s,he as t,re as u,me as v,I as w,ue as x,be as y,we as z}; diff --git a/_app/immutable/chunks/index.c89ace66.js b/_app/immutable/chunks/index.f644e0f8.js similarity index 95% rename from _app/immutable/chunks/index.c89ace66.js rename to _app/immutable/chunks/index.f644e0f8.js index 76b4188..586998f 100644 --- a/_app/immutable/chunks/index.c89ace66.js +++ b/_app/immutable/chunks/index.f644e0f8.js @@ -1 +1 @@ -import{w as h}from"./index.d327a342.js";import{H as b}from"./index.fb560467.js";const k="modulepreload",R=function(e,t){return new URL(e,t).href},w={},p=function(t,n,o){if(!n||n.length===0)return t();const a=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=R(s,o),s in w)return;w[s]=!0;const r=s.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let u=a.length-1;u>=0;u--){const f=a[u];if(f.href===s&&(!r||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${i}`))return;const c=document.createElement("link");if(c.rel=r?"stylesheet":k,r||(c.as="script",c.crossOrigin=""),c.href=s,document.head.appendChild(c),r)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=s,window.dispatchEvent(r),!r.defaultPrevented)throw s})},S=["en","de"],E="en",v="messages",C=200,T={en:{messages:async()=>(await p(()=>import("./_t18s-dictionary_en_messages.fa3ec860.js"),[],import.meta.url)).default},de:{messages:async()=>(await p(()=>import("./_t18s-dictionary_de_messages.7277f217.js"),[],import.meta.url)).default}};function L(e){return(t,n)=>{const o=e[t];if(o)return o[n]}}function B(e){return(t,n,o)=>{const a=e[t];a?a[n]=o:e[t]={[n]:o}}}function I(e){return new Promise(t=>setTimeout(t,e))}const y=h(null),F=y.set,G=e=>S.includes(e),_=h(!1);let K=T;const P=L(K),g={},O=L(g),D=B(g),$=async(e,t)=>{const n=P(e,t);if(!n)return;const o=await n();D(e,t,o),m.set(d)},j=new Set([v]);async function A(e){const t=[...j],n=[e];n.push(E);const o=[];for(const s of n)for(const r of t){const i=P(s,r);i&&o.push(new Promise((l,c)=>{i().then(u=>l({locale:s,domain:r,dictionary:u})).catch(c)}))}const a=await Promise.allSettled(o);for(const s of a){if(s.status==="rejected")continue;const{locale:r,domain:i,dictionary:l}=s.value;D(r,i,l)}}async function N(e){let t=!1;try{I(C).then(()=>{t||_.set(!0)}),await A(e)}catch{}finally{_.set(!1),t=!0}}function U(e){const[t,n]=e.split(":");if(!t)throw new Error("[t18s] Invalid key: "+e);return n?{domain:t,key:n}:{domain:v,key:t}}const d=(e,t=void 0)=>{const n=b(y);if(n===null)throw new Error("[t18s] No locale set. Did you forget to set one in `+layout.js`?");const{domain:o,key:a}=U(e),s=[n];s.push(E);let r;for(const i of s){const l=O(i,o);if(l){if(r=V(l,a,t),r)break}else $(i,o)}return r||e},m=h(d);y.subscribe(e=>{e!==null&&(e in g?m.set(d):N(e).then(()=>m.set(d)))});function V(e,t,n){const o=e[t];if(o)return typeof o=="string"?o:o(n)}export{p as _,G as i,S as l,A as p,F as s}; +import{w as h}from"./index.0229d0e6.js";import{H as b}from"./index.90d50ca5.js";const k="modulepreload",R=function(e,t){return new URL(e,t).href},w={},p=function(t,n,o){if(!n||n.length===0)return t();const a=document.getElementsByTagName("link");return Promise.all(n.map(s=>{if(s=R(s,o),s in w)return;w[s]=!0;const r=s.endsWith(".css"),i=r?'[rel="stylesheet"]':"";if(!!o)for(let u=a.length-1;u>=0;u--){const f=a[u];if(f.href===s&&(!r||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${i}`))return;const c=document.createElement("link");if(c.rel=r?"stylesheet":k,r||(c.as="script",c.crossOrigin=""),c.href=s,document.head.appendChild(c),r)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=s,window.dispatchEvent(r),!r.defaultPrevented)throw s})},S=["en","de"],E="en",v="messages",C=200,T={en:{messages:async()=>(await p(()=>import("./_t18s-dictionary_en_messages.fa3ec860.js"),[],import.meta.url)).default},de:{messages:async()=>(await p(()=>import("./_t18s-dictionary_de_messages.7277f217.js"),[],import.meta.url)).default}};function L(e){return(t,n)=>{const o=e[t];if(o)return o[n]}}function B(e){return(t,n,o)=>{const a=e[t];a?a[n]=o:e[t]={[n]:o}}}function I(e){return new Promise(t=>setTimeout(t,e))}const y=h(null),F=y.set,G=e=>S.includes(e),_=h(!1);let K=T;const P=L(K),g={},O=L(g),D=B(g),$=async(e,t)=>{const n=P(e,t);if(!n)return;const o=await n();D(e,t,o),m.set(d)},j=new Set([v]);async function A(e){const t=[...j],n=[e];n.push(E);const o=[];for(const s of n)for(const r of t){const i=P(s,r);i&&o.push(new Promise((l,c)=>{i().then(u=>l({locale:s,domain:r,dictionary:u})).catch(c)}))}const a=await Promise.allSettled(o);for(const s of a){if(s.status==="rejected")continue;const{locale:r,domain:i,dictionary:l}=s.value;D(r,i,l)}}async function N(e){let t=!1;try{I(C).then(()=>{t||_.set(!0)}),await A(e)}catch{}finally{_.set(!1),t=!0}}function U(e){const[t,n]=e.split(":");if(!t)throw new Error("[t18s] Invalid key: "+e);return n?{domain:t,key:n}:{domain:v,key:t}}const d=(e,t=void 0)=>{const n=b(y);if(n===null)throw new Error("[t18s] No locale set. Did you forget to set one in `+layout.js`?");const{domain:o,key:a}=U(e),s=[n];s.push(E);let r;for(const i of s){const l=O(i,o);if(l){if(r=V(l,a,t),r)break}else $(i,o)}return r||e},m=h(d);y.subscribe(e=>{e!==null&&(e in g?m.set(d):N(e).then(()=>m.set(d)))});function V(e,t,n){const o=e[t];if(o)return typeof o=="string"?o:o(n)}export{p as _,G as i,S as l,A as p,F as s}; diff --git a/_app/immutable/chunks/index.fb560467.js b/_app/immutable/chunks/index.fb560467.js deleted file mode 100644 index 28c0985..0000000 --- a/_app/immutable/chunks/index.fb560467.js +++ /dev/null @@ -1,4 +0,0 @@ -function $(){}const K=t=>t;function dt(t,e){for(const n in e)t[n]=e[n];return t}function Q(t){return t()}function G(){return Object.create(null)}function E(t){t.forEach(Q)}function S(t){return typeof t=="function"}function zt(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let j;function Bt(t,e){return j||(j=document.createElement("a")),j.href=e,t===j.href}function ht(t){return Object.keys(t).length===0}function U(t,...e){if(t==null)return $;const n=t.subscribe(...e);return n.unsubscribe?()=>n.unsubscribe():n}function Ht(t){let e;return U(t,n=>e=n)(),e}function Lt(t,e,n){t.$$.on_destroy.push(U(e,n))}function Ft(t,e,n,i){if(t){const r=V(t,e,n,i);return t[0](r)}}function V(t,e,n,i){return t[1]&&i?dt(n.ctx.slice(),t[1](i(e))):n.ctx}function Wt(t,e,n,i){if(t[2]&&i){const r=t[2](i(n));if(e.dirty===void 0)return r;if(typeof r=="object"){const c=[],s=Math.max(e.dirty.length,r.length);for(let u=0;u32){const e=[],n=t.ctx.length/32;for(let i=0;iwindow.performance.now():()=>Date.now(),L=X?t=>requestAnimationFrame(t):$;const w=new Set;function Z(t){w.forEach(e=>{e.c(t)||(w.delete(e),e.f())}),w.size!==0&&L(Z)}function tt(t){let e;return w.size===0&&L(Z),{promise:new Promise(n=>{w.add(e={c:t,f:n})}),abort(){w.delete(e)}}}let P=!1;function mt(){P=!0}function pt(){P=!1}function yt(t,e,n,i){for(;t>1);n(r)<=i?t=r+1:e=r}return t}function gt(t){if(t.hydrate_init)return;t.hydrate_init=!0;let e=t.childNodes;if(t.nodeName==="HEAD"){const o=[];for(let l=0;l0&&e[n[r]].claim_order<=l?r+1:yt(1,r,_=>e[n[_]].claim_order,l))-1;i[o]=n[f]+1;const a=f+1;n[a]=o,r=Math.max(a,r)}const c=[],s=[];let u=e.length-1;for(let o=n[r]+1;o!=0;o=i[o-1]){for(c.push(e[o-1]);u>=o;u--)s.push(e[u]);u--}for(;u>=0;u--)s.push(e[u]);c.reverse(),s.sort((o,l)=>o.claim_order-l.claim_order);for(let o=0,l=0;o=c[l].claim_order;)l++;const f=lt.removeEventListener(e,n,i)}function Et(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Zt(t,e){for(const n in e)Et(t,n,e[n])}function kt(t){return Array.from(t.childNodes)}function Nt(t){t.claim_info===void 0&&(t.claim_info={last_index:0,total_claimed:0})}function rt(t,e,n,i,r=!1){Nt(t);const c=(()=>{for(let s=t.claim_info.last_index;s=0;s--){const u=t[s];if(e(u)){const o=n(u);return o===void 0?t.splice(s,1):t[s]=o,r?o===void 0&&t.claim_info.last_index--:t.claim_info.last_index=s,u}}return i()})();return c.claim_order=t.claim_info.total_claimed,t.claim_info.total_claimed+=1,c}function st(t,e,n,i){return rt(t,r=>r.nodeName===e,r=>{const c=[];for(let s=0;sr.removeAttribute(s))},()=>i(e))}function te(t,e,n){return st(t,e,n,it)}function ee(t,e,n){return st(t,e,n,vt)}function At(t,e){return rt(t,n=>n.nodeType===3,n=>{const i=""+e;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>F(e),!0)}function ne(t){return At(t," ")}function ie(t,e){e=""+e,t.data!==e&&(t.data=e)}function re(t,e){t.value=e??""}function se(t,e,n,i){n==null?t.style.removeProperty(e):t.style.setProperty(e,n,i?"important":"")}function Ct(t,e,{bubbles:n=!1,cancelable:i=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,n,i,e),r}function oe(t,e){const n=[];let i=0;for(const r of e.childNodes)if(r.nodeType===8){const c=r.textContent.trim();c===`HEAD_${t}_END`?(i-=1,n.push(r)):c===`HEAD_${t}_START`&&(i+=1,n.push(r))}else i>0&&n.push(r);return n}function ce(t,e){return new t(e)}const M=new Map;let O=0;function St(t){let e=5381,n=t.length;for(;n--;)e=(e<<5)-e^t.charCodeAt(n);return e>>>0}function jt(t,e){const n={stylesheet:xt(e),rules:{}};return M.set(t,n),n}function ot(t,e,n,i,r,c,s,u=0){const o=16.666/i;let l=`{ -`;for(let m=0;m<=1;m+=o){const p=e+(n-e)*c(m);l+=m*100+`%{${s(p,1-p)}} -`}const f=l+`100% {${s(n,1-n)}} -}`,a=`__svelte_${St(f)}_${u}`,_=et(t),{stylesheet:d,rules:h}=M.get(_)||jt(_,t);h[a]||(h[a]=!0,d.insertRule(`@keyframes ${a} ${f}`,d.cssRules.length));const y=t.style.animation||"";return t.style.animation=`${y?`${y}, `:""}${a} ${i}ms linear ${r}ms 1 both`,O+=1,a}function B(t,e){const n=(t.style.animation||"").split(", "),i=n.filter(e?c=>c.indexOf(e)<0:c=>c.indexOf("__svelte")===-1),r=n.length-i.length;r&&(t.style.animation=i.join(", "),O-=r,O||Dt())}function Dt(){L(()=>{O||(M.forEach(t=>{const{ownerNode:e}=t.stylesheet;e&&nt(e)}),M.clear())})}let A;function N(t){A=t}function R(){if(!A)throw new Error("Function called outside component initialization");return A}function ue(t){R().$$.on_mount.push(t)}function le(t){R().$$.after_update.push(t)}function ae(t,e){return R().$$.context.set(t,e),e}function fe(t){return R().$$.context.get(t)}function _e(t,e){const n=t.$$.callbacks[e.type];n&&n.slice().forEach(i=>i.call(this,e))}const b=[],I=[];let v=[];const J=[],ct=Promise.resolve();let H=!1;function ut(){H||(H=!0,ct.then(lt))}function de(){return ut(),ct}function C(t){v.push(t)}const z=new Set;let x=0;function lt(){if(x!==0)return;const t=A;do{try{for(;xt.indexOf(i)===-1?e.push(i):n.push(i)),n.forEach(i=>i()),v=e}let k;function at(){return k||(k=Promise.resolve(),k.then(()=>{k=null})),k}function T(t,e,n){t.dispatchEvent(Ct(`${e?"intro":"outro"}${n}`))}const D=new Set;let g;function he(){g={r:0,c:[],p:g}}function me(){g.r||E(g.c),g=g.p}function Tt(t,e){t&&t.i&&(D.delete(t),t.i(e))}function pe(t,e,n,i){if(t&&t.o){if(D.has(t))return;D.add(t),g.c.push(()=>{D.delete(t),i&&(n&&t.d(1),i())}),t.o(e)}else i&&i()}const ft={duration:0};function ye(t,e,n){const i={direction:"in"};let r=e(t,n,i),c=!1,s,u,o=0;function l(){s&&B(t,s)}function f(){const{delay:_=0,duration:d=300,easing:h=K,tick:y=$,css:m}=r||ft;m&&(s=ot(t,0,1,d,_,h,m,o++)),y(0,1);const p=Y()+_,_t=p+d;u&&u.abort(),c=!0,C(()=>T(t,!0,"start")),u=tt(q=>{if(c){if(q>=_t)return y(1,0),T(t,!0,"end"),l(),c=!1;if(q>=p){const W=h((q-p)/d);y(W,1-W)}}return c})}let a=!1;return{start(){a||(a=!0,B(t),S(r)?(r=r(i),at().then(f)):f())},invalidate(){a=!1},end(){c&&(l(),c=!1)}}}function ge(t,e,n){const i={direction:"out"};let r=e(t,n,i),c=!0,s;const u=g;u.r+=1;function o(){const{delay:l=0,duration:f=300,easing:a=K,tick:_=$,css:d}=r||ft;d&&(s=ot(t,1,0,f,l,a,d));const h=Y()+l,y=h+f;C(()=>T(t,!1,"start")),tt(m=>{if(c){if(m>=y)return _(0,1),T(t,!1,"end"),--u.r||E(u.c),!1;if(m>=h){const p=a((m-h)/f);_(1-p,p)}}return c})}return S(r)?at().then(()=>{r=r(i),o()}):o(),{end(l){l&&r.tick&&r.tick(1,0),c&&(s&&B(t,s),c=!1)}}}function $e(t,e){const n={},i={},r={$$scope:1};let c=t.length;for(;c--;){const s=t[c],u=e[c];if(u){for(const o in s)o in u||(i[o]=1);for(const o in u)r[o]||(n[o]=u[o],r[o]=1);t[c]=u}else for(const o in s)r[o]=1}for(const s in i)s in n||(n[s]=void 0);return n}function xe(t){t&&t.c()}function be(t,e){t&&t.l(e)}function Pt(t,e,n,i){const{fragment:r,after_update:c}=t.$$;r&&r.m(e,n),i||C(()=>{const s=t.$$.on_mount.map(Q).filter(S);t.$$.on_destroy?t.$$.on_destroy.push(...s):E(s),t.$$.on_mount=[]}),c.forEach(C)}function Rt(t,e){const n=t.$$;n.fragment!==null&&(Ot(n.after_update),E(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function qt(t,e){t.$$.dirty[0]===-1&&(b.push(t),ut(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<{const h=d.length?d[0]:_;return l.ctx&&r(l.ctx[a],l.ctx[a]=h)&&(!l.skip_bound&&l.bound[a]&&l.bound[a](h),f&&qt(t,a)),_}):[],l.update(),f=!0,E(l.before_update),l.fragment=i?i(l.ctx):!1,e.target){if(e.hydrate){mt();const a=kt(e.target);l.fragment&&l.fragment.l(a),a.forEach(nt)}else l.fragment&&l.fragment.c();e.intro&&Tt(t.$$.fragment),Pt(t,e.target,e.anchor,e.customElement),pt(),lt()}N(o)}class ve{$destroy(){Rt(this,1),this.$destroy=$}$on(e,n){if(!S(n))return $;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(n),()=>{const r=i.indexOf(n);r!==-1&&i.splice(r,1)}}$set(e){this.$$set&&!ht(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}export{ge as $,Pt as A,Rt as B,oe as C,wt as D,$ as E,Lt as F,Ut as G,Ht as H,Ft as I,Gt as J,It as K,Wt as L,dt as M,vt as N,ee as O,Zt as P,$e as Q,Jt as R,ve as S,Bt as T,Yt as U,Kt as V,S as W,E as X,re as Y,C as Z,ye as _,Vt as a,fe as a0,_e as a1,ae as a2,Qt as b,ne as c,pe as d,Xt as e,me as f,Tt as g,nt as h,we as i,le as j,it as k,te as l,kt as m,Et as n,ue as o,se as p,F as q,At as r,zt as s,de as t,ie as u,he as v,I as w,ce as x,xe as y,be as z}; diff --git a/_app/immutable/chunks/singletons.4c3847c7.js b/_app/immutable/chunks/singletons.4c3847c7.js new file mode 100644 index 0000000..4b0d146 --- /dev/null +++ b/_app/immutable/chunks/singletons.4c3847c7.js @@ -0,0 +1 @@ +import{w as u}from"./index.0229d0e6.js";var _;const v=((_=globalThis.__sveltekit_ok1yqe)==null?void 0:_.base)??"";var g;const k=((g=globalThis.__sveltekit_ok1yqe)==null?void 0:g.assets)??v,m="1698141771426",A="sveltekit:snapshot",R="sveltekit:scroll",T="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function h(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function x(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=h(e)}}function O(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||y(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function U(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=h(s);function i(b){switch(b){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function p(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function w(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${k}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==m;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function y(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function L(e){e.client}const N={url:p({}),page:p({}),navigating:u(null),updated:w()};export{T as I,f as P,R as S,A as a,O as b,U as c,N as d,v as e,x as f,I as g,L as h,y as i,S as s}; diff --git a/_app/immutable/chunks/singletons.b7b83932.js b/_app/immutable/chunks/singletons.b7b83932.js deleted file mode 100644 index 95efa12..0000000 --- a/_app/immutable/chunks/singletons.b7b83932.js +++ /dev/null @@ -1 +0,0 @@ -import{w as u}from"./index.d327a342.js";var _;const v=((_=globalThis.__sveltekit_1m58mwh)==null?void 0:_.base)??"";var h;const m=((h=globalThis.__sveltekit_1m58mwh)==null?void 0:h.assets)??v,k="1698139911101",R="sveltekit:snapshot",T="sveltekit:scroll",y="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function g(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function x(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=g(e)}}function O(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||E(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function U(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=g(s);function i(b){switch(b){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function p(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function w(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${m}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==k;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function E(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function L(e){e.client}const N={url:p({}),page:p({}),navigating:u(null),updated:w()};export{y as I,f as P,T as S,R as a,O as b,U as c,N as d,v as e,x as f,I as g,L as h,E as i,S as s}; diff --git a/_app/immutable/chunks/stores.8c1708cf.js b/_app/immutable/chunks/stores.b0221e88.js similarity index 73% rename from _app/immutable/chunks/stores.8c1708cf.js rename to _app/immutable/chunks/stores.b0221e88.js index e8eadba..412dadb 100644 --- a/_app/immutable/chunks/stores.8c1708cf.js +++ b/_app/immutable/chunks/stores.b0221e88.js @@ -1 +1 @@ -import{d as e}from"./singletons.b7b83932.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; +import{d as e}from"./singletons.4c3847c7.js";const r=()=>{const s=e;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},b={subscribe(s){return r().page.subscribe(s)}};export{b as p}; diff --git a/_app/immutable/entry/app.c922879f.js b/_app/immutable/entry/app.981045e4.js similarity index 68% rename from _app/immutable/entry/app.c922879f.js rename to _app/immutable/entry/app.981045e4.js index 9f8bc8d..0199eba 100644 --- a/_app/immutable/entry/app.c922879f.js +++ b/_app/immutable/entry/app.981045e4.js @@ -1 +1 @@ -import{i as z,_ as w}from"../chunks/index.c89ace66.js";import{S as B,i as C,s as M,a as U,e as u,c as F,b as g,d as m,f as D,g as p,h as d,j as G,o as H,k as J,l as K,m as Q,n as V,p as A,q as W,r as X,u as Y,v as I,t as Z,w as P,x as b,y as k,z as R,A as E,B as v}from"../chunks/index.fb560467.js";const x=z,_e={locale:x};function ee(r){let e,n,s;var i=r[1][0];function c(t){return{props:{data:t[3],form:t[2]}}}return i&&(e=b(i,c(r)),r[15](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&8&&(a.data=t[3]),o&4&&(a.form=t[2]),o&2&&i!==(i=t[1][0])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[15](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[15](null),t&&d(n),e&&v(e,t)}}}function te(r){let e,n,s;var i=r[1][0];function c(t){return{props:{data:t[3],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return i&&(e=b(i,c(r)),r[14](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&8&&(a.data=t[3]),o&65591&&(a.$$scope={dirty:o,ctx:t}),o&2&&i!==(i=t[1][0])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[14](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[14](null),t&&d(n),e&&v(e,t)}}}function ne(r){let e,n,s;var i=r[1][1];function c(t){return{props:{data:t[4],form:t[2]}}}return i&&(e=b(i,c(r)),r[13](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&16&&(a.data=t[4]),o&4&&(a.form=t[2]),o&2&&i!==(i=t[1][1])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[13](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[13](null),t&&d(n),e&&v(e,t)}}}function ie(r){let e,n,s;var i=r[1][1];function c(t){return{props:{data:t[4],$$slots:{default:[se]},$$scope:{ctx:t}}}}return i&&(e=b(i,c(r)),r[12](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&16&&(a.data=t[4]),o&65575&&(a.$$scope={dirty:o,ctx:t}),o&2&&i!==(i=t[1][1])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[12](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[12](null),t&&d(n),e&&v(e,t)}}}function se(r){let e,n,s;var i=r[1][2];function c(t){return{props:{data:t[5],form:t[2]}}}return i&&(e=b(i,c(r)),r[11](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&32&&(a.data=t[5]),o&4&&(a.form=t[2]),o&2&&i!==(i=t[1][2])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[11](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[11](null),t&&d(n),e&&v(e,t)}}}function oe(r){let e,n,s,i;const c=[ie,ne],t=[];function o(a,l){return a[1][2]?0:1}return e=o(r),n=t[e]=c[e](r),{c(){n.c(),s=u()},l(a){n.l(a),s=u()},m(a,l){t[e].m(a,l),g(a,s,l),i=!0},p(a,l){let _=e;e=o(a),e===_?t[e].p(a,l):(I(),m(t[_],1,1,()=>{t[_]=null}),D(),n=t[e],n?n.p(a,l):(n=t[e]=c[e](a),n.c()),p(n,1),n.m(s.parentNode,s))},i(a){i||(p(n),i=!0)},o(a){m(n),i=!1},d(a){t[e].d(a),a&&d(s)}}}function T(r){let e,n=r[7]&&N(r);return{c(){e=J("div"),n&&n.c(),this.h()},l(s){e=K(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=Q(e);n&&n.l(i),i.forEach(d),this.h()},h(){V(e,"id","svelte-announcer"),V(e,"aria-live","assertive"),V(e,"aria-atomic","true"),A(e,"position","absolute"),A(e,"left","0"),A(e,"top","0"),A(e,"clip","rect(0 0 0 0)"),A(e,"clip-path","inset(50%)"),A(e,"overflow","hidden"),A(e,"white-space","nowrap"),A(e,"width","1px"),A(e,"height","1px")},m(s,i){g(s,e,i),n&&n.m(e,null)},p(s,i){s[7]?n?n.p(s,i):(n=N(s),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(s){s&&d(e),n&&n.d()}}}function N(r){let e;return{c(){e=W(r[8])},l(n){e=X(n,r[8])},m(n,s){g(n,e,s)},p(n,s){s&256&&Y(e,n[8])},d(n){n&&d(e)}}}function re(r){let e,n,s,i,c;const t=[te,ee],o=[];function a(_,h){return _[1][1]?0:1}e=a(r),n=o[e]=t[e](r);let l=r[6]&&T(r);return{c(){n.c(),s=U(),l&&l.c(),i=u()},l(_){n.l(_),s=F(_),l&&l.l(_),i=u()},m(_,h){o[e].m(_,h),g(_,s,h),l&&l.m(_,h),g(_,i,h),c=!0},p(_,[h]){let L=e;e=a(_),e===L?o[e].p(_,h):(I(),m(o[L],1,1,()=>{o[L]=null}),D(),n=o[e],n?n.p(_,h):(n=o[e]=t[e](_),n.c()),p(n,1),n.m(s.parentNode,s)),_[6]?l?l.p(_,h):(l=T(_),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(_){c||(p(n),c=!0)},o(_){m(n),c=!1},d(_){o[e].d(_),_&&d(s),l&&l.d(_),_&&d(i)}}}function ae(r,e,n){let{stores:s}=e,{page:i}=e,{constructors:c}=e,{components:t=[]}=e,{form:o}=e,{data_0:a=null}=e,{data_1:l=null}=e,{data_2:_=null}=e;G(s.page.notify);let h=!1,L=!1,O=null;H(()=>{const f=s.page.subscribe(()=>{h&&(n(7,L=!0),Z().then(()=>{n(8,O=document.title||"untitled page")}))});return n(6,h=!0),f});function $(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function q(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function S(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function j(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function y(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return r.$$set=f=>{"stores"in f&&n(9,s=f.stores),"page"in f&&n(10,i=f.page),"constructors"in f&&n(1,c=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,a=f.data_0),"data_1"in f&&n(4,l=f.data_1),"data_2"in f&&n(5,_=f.data_2)},r.$$.update=()=>{r.$$.dirty&1536&&s.page.set(i)},[t,c,o,a,l,_,h,L,O,s,i,$,q,S,j,y]}class ce extends B{constructor(e){super(),C(this,e,ae,re,M,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const ue=[()=>w(()=>import("../nodes/0.80c3a66b.js"),["../nodes/0.80c3a66b.js","../chunks/routing.f0b9763f.js","../chunks/index.c89ace66.js","../chunks/index.d327a342.js","../chunks/index.fb560467.js","../chunks/stores.8c1708cf.js","../chunks/singletons.b7b83932.js","../assets/0.c41173b7.css"],import.meta.url),()=>w(()=>import("../nodes/1.3845b764.js"),["../nodes/1.3845b764.js","../chunks/index.fb560467.js","../chunks/stores.8c1708cf.js","../chunks/singletons.b7b83932.js","../chunks/index.d327a342.js","../chunks/NotFoundPage.977f74ba.js","../chunks/github.b4fe0f57.js","../assets/NotFoundPage.6a5b3c5e.css"],import.meta.url),()=>w(()=>import("../nodes/2.6fd07a08.js"),["../nodes/2.6fd07a08.js","../chunks/index.fb560467.js","../chunks/class-merge.a51d4999.js","../chunks/stores.8c1708cf.js","../chunks/singletons.b7b83932.js","../chunks/index.d327a342.js","../chunks/github.b4fe0f57.js"],import.meta.url),()=>w(()=>import("../nodes/3.63adfd28.js"),["../nodes/3.63adfd28.js","../chunks/index.fb560467.js","../chunks/NotFoundPage.977f74ba.js","../chunks/github.b4fe0f57.js","../assets/NotFoundPage.6a5b3c5e.css"],import.meta.url),()=>w(()=>import("../nodes/4.7aa3a2fb.js"),["../nodes/4.7aa3a2fb.js","../chunks/index.fb560467.js","../chunks/CodeGroup.e6b1d0d4.js","../chunks/class-merge.a51d4999.js","../chunks/index.d327a342.js"],import.meta.url),()=>w(()=>import("../nodes/5.93b2298f.js"),["../nodes/5.93b2298f.js","../chunks/index.fb560467.js"],import.meta.url),()=>w(()=>import("../nodes/6.b90e0c4f.js"),["../nodes/6.b90e0c4f.js","../chunks/index.fb560467.js","../chunks/CodeGroup.e6b1d0d4.js","../chunks/class-merge.a51d4999.js","../chunks/index.d327a342.js"],import.meta.url),()=>w(()=>import("../nodes/7.9a6e7ceb.js"),["../nodes/7.9a6e7ceb.js","../chunks/index.fb560467.js"],import.meta.url),()=>w(()=>import("../nodes/8.89524754.js"),["../nodes/8.89524754.js","../chunks/index.fb560467.js"],import.meta.url),()=>w(()=>import("../nodes/9.a4567d7a.js"),["../nodes/9.a4567d7a.js","../chunks/index.fb560467.js","../chunks/CodeGroup.e6b1d0d4.js","../chunks/class-merge.a51d4999.js","../chunks/index.d327a342.js"],import.meta.url)],me=[],pe={"/404":[3],"/[[locale=locale]]/comparisons":[5,[2]],"/[[locale=locale]]/getting-started":[6,[2]],"/[[locale=locale]]/roadmap":[7,[2]],"/[[locale=locale]]/seo":[8,[2]],"/[[locale=locale]]/syntax":[9,[2]],"/[[locale=locale]]":[4,[2]]},he={handleError:({error:r})=>{console.error(r)}};export{pe as dictionary,he as hooks,_e as matchers,ue as nodes,ce as root,me as server_loads}; +import{i as z,_ as w}from"../chunks/index.f644e0f8.js";import{S as B,i as C,s as M,a as U,e as u,c as F,b as g,d as m,f as D,g as p,h as d,j as G,o as H,k as J,l as K,m as Q,n as V,p as A,q as W,r as X,u as Y,v as I,t as Z,w as P,x as b,y as k,z as R,A as E,B as v}from"../chunks/index.90d50ca5.js";const x=z,_e={locale:x};function ee(r){let e,n,s;var i=r[1][0];function c(t){return{props:{data:t[3],form:t[2]}}}return i&&(e=b(i,c(r)),r[15](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&8&&(a.data=t[3]),o&4&&(a.form=t[2]),o&2&&i!==(i=t[1][0])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[15](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[15](null),t&&d(n),e&&v(e,t)}}}function te(r){let e,n,s;var i=r[1][0];function c(t){return{props:{data:t[3],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return i&&(e=b(i,c(r)),r[14](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&8&&(a.data=t[3]),o&65591&&(a.$$scope={dirty:o,ctx:t}),o&2&&i!==(i=t[1][0])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[14](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[14](null),t&&d(n),e&&v(e,t)}}}function ne(r){let e,n,s;var i=r[1][1];function c(t){return{props:{data:t[4],form:t[2]}}}return i&&(e=b(i,c(r)),r[13](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&16&&(a.data=t[4]),o&4&&(a.form=t[2]),o&2&&i!==(i=t[1][1])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[13](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[13](null),t&&d(n),e&&v(e,t)}}}function ie(r){let e,n,s;var i=r[1][1];function c(t){return{props:{data:t[4],$$slots:{default:[se]},$$scope:{ctx:t}}}}return i&&(e=b(i,c(r)),r[12](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&16&&(a.data=t[4]),o&65575&&(a.$$scope={dirty:o,ctx:t}),o&2&&i!==(i=t[1][1])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[12](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[12](null),t&&d(n),e&&v(e,t)}}}function se(r){let e,n,s;var i=r[1][2];function c(t){return{props:{data:t[5],form:t[2]}}}return i&&(e=b(i,c(r)),r[11](e)),{c(){e&&k(e.$$.fragment),n=u()},l(t){e&&R(e.$$.fragment,t),n=u()},m(t,o){e&&E(e,t,o),g(t,n,o),s=!0},p(t,o){const a={};if(o&32&&(a.data=t[5]),o&4&&(a.form=t[2]),o&2&&i!==(i=t[1][2])){if(e){I();const l=e;m(l.$$.fragment,1,0,()=>{v(l,1)}),D()}i?(e=b(i,c(t)),t[11](e),k(e.$$.fragment),p(e.$$.fragment,1),E(e,n.parentNode,n)):e=null}else i&&e.$set(a)},i(t){s||(e&&p(e.$$.fragment,t),s=!0)},o(t){e&&m(e.$$.fragment,t),s=!1},d(t){r[11](null),t&&d(n),e&&v(e,t)}}}function oe(r){let e,n,s,i;const c=[ie,ne],t=[];function o(a,l){return a[1][2]?0:1}return e=o(r),n=t[e]=c[e](r),{c(){n.c(),s=u()},l(a){n.l(a),s=u()},m(a,l){t[e].m(a,l),g(a,s,l),i=!0},p(a,l){let _=e;e=o(a),e===_?t[e].p(a,l):(I(),m(t[_],1,1,()=>{t[_]=null}),D(),n=t[e],n?n.p(a,l):(n=t[e]=c[e](a),n.c()),p(n,1),n.m(s.parentNode,s))},i(a){i||(p(n),i=!0)},o(a){m(n),i=!1},d(a){t[e].d(a),a&&d(s)}}}function T(r){let e,n=r[7]&&N(r);return{c(){e=J("div"),n&&n.c(),this.h()},l(s){e=K(s,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=Q(e);n&&n.l(i),i.forEach(d),this.h()},h(){V(e,"id","svelte-announcer"),V(e,"aria-live","assertive"),V(e,"aria-atomic","true"),A(e,"position","absolute"),A(e,"left","0"),A(e,"top","0"),A(e,"clip","rect(0 0 0 0)"),A(e,"clip-path","inset(50%)"),A(e,"overflow","hidden"),A(e,"white-space","nowrap"),A(e,"width","1px"),A(e,"height","1px")},m(s,i){g(s,e,i),n&&n.m(e,null)},p(s,i){s[7]?n?n.p(s,i):(n=N(s),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(s){s&&d(e),n&&n.d()}}}function N(r){let e;return{c(){e=W(r[8])},l(n){e=X(n,r[8])},m(n,s){g(n,e,s)},p(n,s){s&256&&Y(e,n[8])},d(n){n&&d(e)}}}function re(r){let e,n,s,i,c;const t=[te,ee],o=[];function a(_,h){return _[1][1]?0:1}e=a(r),n=o[e]=t[e](r);let l=r[6]&&T(r);return{c(){n.c(),s=U(),l&&l.c(),i=u()},l(_){n.l(_),s=F(_),l&&l.l(_),i=u()},m(_,h){o[e].m(_,h),g(_,s,h),l&&l.m(_,h),g(_,i,h),c=!0},p(_,[h]){let L=e;e=a(_),e===L?o[e].p(_,h):(I(),m(o[L],1,1,()=>{o[L]=null}),D(),n=o[e],n?n.p(_,h):(n=o[e]=t[e](_),n.c()),p(n,1),n.m(s.parentNode,s)),_[6]?l?l.p(_,h):(l=T(_),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(_){c||(p(n),c=!0)},o(_){m(n),c=!1},d(_){o[e].d(_),_&&d(s),l&&l.d(_),_&&d(i)}}}function ae(r,e,n){let{stores:s}=e,{page:i}=e,{constructors:c}=e,{components:t=[]}=e,{form:o}=e,{data_0:a=null}=e,{data_1:l=null}=e,{data_2:_=null}=e;G(s.page.notify);let h=!1,L=!1,O=null;H(()=>{const f=s.page.subscribe(()=>{h&&(n(7,L=!0),Z().then(()=>{n(8,O=document.title||"untitled page")}))});return n(6,h=!0),f});function $(f){P[f?"unshift":"push"](()=>{t[2]=f,n(0,t)})}function q(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function S(f){P[f?"unshift":"push"](()=>{t[1]=f,n(0,t)})}function j(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}function y(f){P[f?"unshift":"push"](()=>{t[0]=f,n(0,t)})}return r.$$set=f=>{"stores"in f&&n(9,s=f.stores),"page"in f&&n(10,i=f.page),"constructors"in f&&n(1,c=f.constructors),"components"in f&&n(0,t=f.components),"form"in f&&n(2,o=f.form),"data_0"in f&&n(3,a=f.data_0),"data_1"in f&&n(4,l=f.data_1),"data_2"in f&&n(5,_=f.data_2)},r.$$.update=()=>{r.$$.dirty&1536&&s.page.set(i)},[t,c,o,a,l,_,h,L,O,s,i,$,q,S,j,y]}class ce extends B{constructor(e){super(),C(this,e,ae,re,M,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const ue=[()=>w(()=>import("../nodes/0.e1540c07.js"),["../nodes/0.e1540c07.js","../chunks/routing.f0b9763f.js","../chunks/index.f644e0f8.js","../chunks/index.0229d0e6.js","../chunks/index.90d50ca5.js","../chunks/stores.b0221e88.js","../chunks/singletons.4c3847c7.js","../assets/0.c41173b7.css"],import.meta.url),()=>w(()=>import("../nodes/1.c1536d82.js"),["../nodes/1.c1536d82.js","../chunks/index.90d50ca5.js","../chunks/stores.b0221e88.js","../chunks/singletons.4c3847c7.js","../chunks/index.0229d0e6.js","../chunks/NotFoundPage.9f3bd46c.js","../chunks/github.9c21d12c.js","../assets/NotFoundPage.6a5b3c5e.css"],import.meta.url),()=>w(()=>import("../nodes/2.eba3dc72.js"),["../nodes/2.eba3dc72.js","../chunks/index.90d50ca5.js","../chunks/class-merge.a51d4999.js","../chunks/stores.b0221e88.js","../chunks/singletons.4c3847c7.js","../chunks/index.0229d0e6.js","../chunks/_commonjsHelpers.725317a4.js","../chunks/github.9c21d12c.js"],import.meta.url),()=>w(()=>import("../nodes/3.1ff83407.js"),["../nodes/3.1ff83407.js","../chunks/index.90d50ca5.js","../chunks/NotFoundPage.9f3bd46c.js","../chunks/github.9c21d12c.js","../assets/NotFoundPage.6a5b3c5e.css"],import.meta.url),()=>w(()=>import("../nodes/4.6329451e.js"),["../nodes/4.6329451e.js","../chunks/index.90d50ca5.js","../chunks/CodeGroup.56f46765.js","../chunks/class-merge.a51d4999.js","../chunks/index.0229d0e6.js","../chunks/Prism.42f81a6a.js","../chunks/_commonjsHelpers.725317a4.js","../assets/Prism.3ee0c064.css"],import.meta.url),()=>w(()=>import("../nodes/5.9c5fa693.js"),["../nodes/5.9c5fa693.js","../chunks/index.90d50ca5.js"],import.meta.url),()=>w(()=>import("../nodes/6.232eb4a4.js"),["../nodes/6.232eb4a4.js","../chunks/index.90d50ca5.js","../chunks/CodeGroup.56f46765.js","../chunks/class-merge.a51d4999.js","../chunks/index.0229d0e6.js","../chunks/Prism.42f81a6a.js","../chunks/_commonjsHelpers.725317a4.js","../assets/Prism.3ee0c064.css"],import.meta.url),()=>w(()=>import("../nodes/7.e2796615.js"),["../nodes/7.e2796615.js","../chunks/index.90d50ca5.js"],import.meta.url),()=>w(()=>import("../nodes/8.f5dd2087.js"),["../nodes/8.f5dd2087.js","../chunks/index.90d50ca5.js"],import.meta.url),()=>w(()=>import("../nodes/9.bb6122df.js"),["../nodes/9.bb6122df.js","../chunks/index.90d50ca5.js","../chunks/CodeGroup.56f46765.js","../chunks/class-merge.a51d4999.js","../chunks/index.0229d0e6.js"],import.meta.url)],me=[],pe={"/404":[3],"/[[locale=locale]]/comparisons":[5,[2]],"/[[locale=locale]]/getting-started":[6,[2]],"/[[locale=locale]]/roadmap":[7,[2]],"/[[locale=locale]]/seo":[8,[2]],"/[[locale=locale]]/syntax":[9,[2]],"/[[locale=locale]]":[4,[2]]},he={handleError:({error:r})=>{console.error(r)}};export{pe as dictionary,he as hooks,_e as matchers,ue as nodes,ce as root,me as server_loads}; diff --git a/_app/immutable/entry/start.fb1e4ff7.js b/_app/immutable/entry/start.5bf083fd.js similarity index 99% rename from _app/immutable/entry/start.fb1e4ff7.js rename to _app/immutable/entry/start.5bf083fd.js index 49f8a81..ecd79e3 100644 --- a/_app/immutable/entry/start.fb1e4ff7.js +++ b/_app/immutable/entry/start.5bf083fd.js @@ -1,3 +1,3 @@ -import{o as me,t as ye}from"../chunks/index.fb560467.js";import{p as We,e as Xe}from"../chunks/routing.f0b9763f.js";import{S as He,a as Be,I as M,g as De,f as Ce,b as we,c as le,s as te,i as _e,d as F,e as J,P as $e,h as Ze}from"../chunks/singletons.b7b83932.js";function Qe(n,o){return n==="/"||o==="ignore"?n:o==="never"?n.endsWith("/")?n.slice(0,-1):n:o==="always"&&!n.endsWith("/")?n+"/":n}function et(n){return n.split("%25").map(decodeURI).join("%25")}function tt(n){for(const o in n)n[o]=decodeURIComponent(n[o]);return n}const nt=["href","pathname","search","searchParams","toString","toJSON"];function at(n,o){const l=new URL(n);for(const c of nt)Object.defineProperty(l,c,{get(){return o(),n[c]},enumerable:!0,configurable:!0});return rt(l),l}function rt(n){Object.defineProperty(n,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const ot="/__data.json";function it(n){return n.replace(/\/$/,"")+ot}function st(...n){let o=5381;for(const l of n)if(typeof l=="string"){let c=l.length;for(;c;)o=o*33^l.charCodeAt(--c)}else if(ArrayBuffer.isView(l)){const c=new Uint8Array(l.buffer,l.byteOffset,l.byteLength);let h=c.length;for(;h;)o=o*33^c[--h]}else throw new TypeError("value must be a string or TypedArray");return(o>>>0).toString(36)}const Ge=window.fetch;window.fetch=(n,o)=>((n instanceof Request?n.method:(o==null?void 0:o.method)||"GET")!=="GET"&&ae.delete(Ee(n)),Ge(n,o));const ae=new Map;function ct(n,o){const l=Ee(n,o),c=document.querySelector(l);if(c!=null&&c.textContent){const{body:h,...d}=JSON.parse(c.textContent),O=c.getAttribute("data-ttl");return O&&ae.set(l,{body:h,init:d,ttl:1e3*Number(O)}),Promise.resolve(new Response(h,d))}return window.fetch(n,o)}function lt(n,o,l){if(ae.size>0){const c=Ee(n,l),h=ae.get(c);if(h){if(performance.now(){const{pattern:C,params:D}=We(f),k={id:f,exec:x=>{const U=C.exec(x);if(U)return Xe(U,D,c)},errors:[1,...y||[]].map(x=>n[x]),layouts:[0,...m||[]].map(O),leaf:d(E)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function d(f){const E=f<0;return E&&(f=~f),[E,n[f]]}function O(f){return f===void 0?f:[h.has(f),n[f]]}}function Je(n){try{return JSON.parse(sessionStorage[n])}catch{}}function Me(n,o){const l=JSON.stringify(o);try{sessionStorage[n]=l}catch{}}const ut=-1,dt=-2,pt=-3,ht=-4,gt=-5,mt=-6;function yt(n,o){if(typeof n=="number")return h(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const l=n,c=Array(l.length);function h(d,O=!1){if(d===ut)return;if(d===pt)return NaN;if(d===ht)return 1/0;if(d===gt)return-1/0;if(d===mt)return-0;if(O)throw new Error("Invalid input");if(d in c)return c[d];const f=l[d];if(!f||typeof f!="object")c[d]=f;else if(Array.isArray(f))if(typeof f[0]=="string"){const E=f[0],m=o==null?void 0:o[E];if(m)return c[d]=m(h(f[1]));switch(E){case"Date":c[d]=new Date(f[1]);break;case"Set":const y=new Set;c[d]=y;for(let k=1;ko!=null)}const Ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Ke];const _t=new Set([...Ke]);[..._t];async function vt(n){var o;for(const l in n)if(typeof((o=n[l])==null?void 0:o.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(n).map(async([c,h])=>[c,await h])));return n}class ne{constructor(o,l){this.status=o,typeof l=="string"?this.body={message:l}:l?this.body=l:this.body={message:`Error: ${o}`}}toString(){return JSON.stringify(this.body)}}class Ve{constructor(o,l){this.status=o,this.location=l}}const bt="x-sveltekit-invalidated",Et="x-sveltekit-trailing-slash",K=Je(He)??{},ee=Je(Be)??{};function ve(n){K[n]=te()}function St(n,o){var je;const l=ft(n),c=n.nodes[0],h=n.nodes[1];c(),h();const d=document.documentElement,O=[],f=[];let E=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let y={branch:[],error:null,url:null},C=!1,D=!1,k=!0,x=!1,U=!1,H=!1,B=!1,V,T=(je=history.state)==null?void 0:je[M];T||(T=Date.now(),history.replaceState({...history.state,[M]:T},"",location.href));const fe=K[T];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,W;async function Se(){if(W=W||Promise.resolve(),await W,!W)return;W=null;const e=new URL(location.href),i=Z(e,!0);E=null;const t=z={},r=i&&await pe(i);if(t===z&&r){if(r.type==="redirect")return re(new URL(r.location,e).href,{},1,t);r.props.page!==void 0&&(q=r.props.page),V.$set(r.props)}}function ke(e){f.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=f.map(i=>{var t;return(t=i==null?void 0:i.snapshot)==null?void 0:t.capture()}))}function Re(e){var i;(i=ee[e])==null||i.forEach((t,r)=>{var a,s;(s=(a=f[r])==null?void 0:a.snapshot)==null||s.restore(t)})}function Ae(){ve(T),Me(He,K),ke(T),Me(Be,ee)}async function re(e,{noScroll:i=!1,replaceState:t=!1,keepFocus:r=!1,state:a={},invalidateAll:s=!1},u,_){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:r,redirect_count:u,details:{state:a,replaceState:t},nav_token:_,accepted:()=>{s&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return E={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(E=null),i))},E.promise}async function oe(...e){const t=l.filter(r=>e.some(a=>r.exec(a))).map(r=>Promise.all([...r.layouts,r.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(t)}function Ie(e){var r;y=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new n.root({target:o,props:{...e.props,stores:F,components:f},hydrate:!0}),Re(T);const t={from:null,to:{params:y.params,route:{id:((r=y.route)==null?void 0:r.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(t)),D=!0}async function X({url:e,params:i,branch:t,status:r,error:a,route:s,form:u}){let _="never";for(const g of t)(g==null?void 0:g.slash)!==void 0&&(_=g.slash);e.pathname=Qe(e.pathname,_),e.search=e.search;const v={type:"loaded",state:{url:e,params:i,branch:t,error:a,route:s},props:{constructors:wt(t).map(g=>g.node.component)}};u!==void 0&&(v.props.form=u);let w={},L=!q,R=0;for(let g=0;g(_.route=!0,p[P])}),params:new Proxy(r,{get:(p,P)=>(_.params.add(P),p[P])}),data:(s==null?void 0:s.data)??null,url:at(t,()=>{_.url=!0}),async fetch(p,P){let N;p instanceof Request?(N=p.url,P={body:p.method==="GET"||p.method==="HEAD"?void 0:await p.blob(),cache:p.cache,credentials:p.credentials,headers:p.headers,integrity:p.integrity,keepalive:p.keepalive,method:p.method,mode:p.mode,redirect:p.redirect,referrer:p.referrer,referrerPolicy:p.referrerPolicy,signal:p.signal,...P}):N=p;const $=new URL(N,t);return I($.href),$.origin===t.origin&&(N=$.href.slice(t.origin.length)),D?lt(N,$.href,P):ct(N,P)},setHeaders:()=>{},depends:I,parent(){return _.parent=!0,i()}};u=await v.universal.load.call(null,g)??null,u=u?await vt(u):null}return{node:v,loader:e,server:s,universal:(L=v.universal)!=null&&L.load?{type:"data",data:u,uses:_}:null,data:u??(s==null?void 0:s.data)??null,slash:((R=v.universal)==null?void 0:R.trailingSlash)??(s==null?void 0:s.slash)}}function Pe(e,i,t,r,a){if(B)return!0;if(!r)return!1;if(r.parent&&e||r.route&&i||r.url&&t)return!0;for(const s of r.params)if(a[s]!==y.params[s])return!0;for(const s of r.dependencies)if(O.some(u=>u(new URL(s))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:t,params:r,route:a}){if((E==null?void 0:E.id)===e)return E.promise;const{errors:s,layouts:u,leaf:_}=a,v=[...u,_];s.forEach(b=>b==null?void 0:b().catch(()=>{})),v.forEach(b=>b==null?void 0:b[1]().catch(()=>{}));let w=null;const L=y.url?e!==y.url.pathname+y.url.search:!1,R=y.route?a.id!==y.route.id:!1;let I=!1;const g=v.map((b,A)=>{var G;const S=y.branch[A],j=!!(b!=null&&b[0])&&((S==null?void 0:S.loader)!==b[1]||Pe(I,R,L,(G=S.server)==null?void 0:G.uses,r));return j&&(I=!0),j});if(g.some(Boolean)){try{w=await qe(t,g)}catch(b){return ie({status:b instanceof ne?b.status:500,error:await Q(b,{url:t,params:r,route:{id:a.id}}),url:t,route:a})}if(w.type==="redirect")return w}const p=w==null?void 0:w.nodes;let P=!1;const N=v.map(async(b,A)=>{var he;if(!b)return;const S=y.branch[A],j=p==null?void 0:p[A];if((!j||j.type==="skip")&&b[1]===(S==null?void 0:S.loader)&&!Pe(P,R,L,(he=S.universal)==null?void 0:he.uses,r))return S;if(P=!0,(j==null?void 0:j.type)==="error")throw j;return ue({loader:b[1],url:t,params:r,route:a,parent:async()=>{var xe;const Te={};for(let ge=0;ge{});const $=[];for(let b=0;bPromise.resolve({}),server_data_node:de(s)}),v={node:await h(),loader:h,universal:null,server:null,data:null};return await X({url:t,params:a,branch:[_,v],status:e,error:i,route:null})}function Z(e,i){if(_e(e,J))return;const t=se(e);for(const r of l){const a=r.exec(t);if(a)return{id:e.pathname+e.search,invalidating:i,route:r,params:tt(a),url:e}}}function se(e){return et(e.pathname.slice(J.length)||"/")}function Ue({url:e,type:i,intent:t,delta:r}){let a=!1;const s=Fe(y,t,e,i);r!==void 0&&(s.navigation.delta=r);const u={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(_=>_(u)),a?null:s}async function ce({url:e,scroll:i,keepfocus:t,redirect_count:r,details:a,type:s,delta:u,nav_token:_={},accepted:v,blocked:w}){var N,$,b;const L=Z(e,!1),R=Ue({url:e,type:s,delta:u,intent:L});if(!R){w();return}const I=T;v(),U=!0,D&&F.navigating.set(R.navigation),z=_;let g=L&&await pe(L);if(!g){if(_e(e,J))return await Y(e);g=await Ne(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==_)return R.reject(new Error("navigation was aborted")),!1;if(g.type==="redirect")if(r>=20)g=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(g.location,e).href,{},r+1,_),!1;else((N=g.props.page)==null?void 0:N.status)>=400&&await F.updated.check()&&await Y(e);if(O.length=0,B=!1,x=!0,ve(I),ke(I),($=g.props.page)!=null&&$.url&&g.props.page.url.pathname!==e.pathname&&(e.pathname=(b=g.props.page)==null?void 0:b.url.pathname),a){const A=a.replaceState?0:1;if(a.state[M]=T+=A,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let S=T+1;for(;ee[S]||K[S];)delete ee[S],delete K[S],S+=1}}if(E=null,D){y=g.state,g.props.page&&(g.props.page.url=e);const A=(await Promise.all(m.on_navigate.map(S=>S(R.navigation)))).filter(S=>typeof S=="function");if(A.length>0){let S=function(){m.after_navigate=m.after_navigate.filter(j=>!A.includes(j))};A.push(S),m.after_navigate.push(...A)}V.$set(g.props)}else Ie(g);const{activeElement:p}=document;if(await ye(),k){const A=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):A?A.scrollIntoView():scrollTo(0,0)}const P=document.activeElement!==p&&document.activeElement!==document.body;!t&&!P&&be(),k=!0,g.props.page&&(q=g.props.page),U=!1,s==="popstate"&&Re(T),R.fulfil(void 0),m.after_navigate.forEach(A=>A(R.navigation)),F.navigating.set(null),x=!1}async function Ne(e,i,t,r){return e.origin===location.origin&&e.pathname===location.pathname&&!C?await ie({status:r,error:t,url:e,route:i}):await Y(e)}function Y(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;d.addEventListener("mousemove",s=>{const u=s.target;clearTimeout(e),e=setTimeout(()=>{r(u,2)},20)});function i(s){r(s.composedPath()[0],1)}d.addEventListener("mousedown",i),d.addEventListener("touchstart",i,{passive:!0});const t=new IntersectionObserver(s=>{for(const u of s)u.isIntersecting&&(oe(se(new URL(u.target.href))),t.unobserve(u.target))},{threshold:0});function r(s,u){const _=Ce(s,d);if(!_)return;const{url:v,external:w,download:L}=we(_,J);if(w||L)return;const R=le(_);if(!R.reload)if(u<=R.preload_data){const I=Z(v,!1);I&&Le(I)}else u<=R.preload_code&&oe(se(v))}function a(){t.disconnect();for(const s of d.querySelectorAll("a")){const{url:u,external:_,download:v}=we(s,J);if(_||v)continue;const w=le(s);w.reload||(w.preload_code===$e.viewport&&t.observe(s),w.preload_code===$e.eager&&oe(se(u)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:n.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(x||!D)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")O.push(e);else{const{href:i}=new URL(e,location.href);O.push(t=>t.href===i)}return Se()},invalidate_all:()=>(B=!0,Se()),preload_data:async e=>{const i=new URL(e,De(document)),t=Z(i,!1);if(!t)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(t)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:t,route:r}=y;if(!r)return;const a=await Oe(y.branch.length,t,r.errors);if(a){const s=await X({url:i,params:y.params,branch:t.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:r});y=s.state,V.$set(s.props),ye().then(be)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await ye(),V.$set({form:e.data}),e.type==="success"&&be())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ae(),!U){const a=Fe(y,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(u=>u(s))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ae()}),(i=navigator.connection)!=null&&i.saveData||Ye(),d.addEventListener("click",t=>{var I;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=Ce(t.composedPath()[0],d);if(!r)return;const{url:a,external:s,target:u,download:_}=we(r,J);if(!a)return;if(u==="_parent"||u==="_top"){if(window.parent!==window)return}else if(u&&u!=="_self")return;const v=le(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||_)return;if(s||v.reload){Ue({url:a,type:"link"})?U=!0:t.preventDefault();return}const[L,R]=a.href.split("#");if(R!==void 0&&L===location.href.split("#")[0]){if(y.url.hash===a.hash){t.preventDefault(),(I=r.ownerDocument.getElementById(R))==null||I.scrollIntoView();return}if(H=!0,ve(T),e(a),!v.replace_state)return;H=!1,t.preventDefault()}ce({url:a,scroll:v.noscroll?te():null,keepfocus:v.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:v.replace_state??a.href===location.href},accepted:()=>t.preventDefault(),blocked:()=>t.preventDefault(),type:"link"})}),d.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const u=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(_e(u,J))return;const _=t.target,{keep_focus:v,noscroll:w,reload:L,replace_state:R}=le(_);if(L)return;t.preventDefault(),t.stopPropagation();const I=new FormData(_),g=a==null?void 0:a.getAttribute("name");g&&I.append(g,(a==null?void 0:a.getAttribute("value"))??""),u.search=new URLSearchParams(I).toString(),ce({url:u,scroll:w?te():null,keepfocus:v??!1,redirect_count:0,details:{state:{},replaceState:R??u.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async t=>{var r;if(z={},(r=t.state)!=null&&r[M]){if(t.state[M]===T)return;const a=K[t.state[M]],s=new URL(location.href);if(y.url.href.split("#")[0]===location.href.split("#")[0]){e(s),K[T]=te(),T=t.state[M],scrollTo(a.x,a.y);return}const u=t.state[M]-T;await ce({url:s,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{T=t.state[M]},blocked:()=>{history.go(-u)},type:"popstate",delta:u,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++T},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&F.navigating.set(null)});function e(t){y.url=t,F.page.set({...q,url:t}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:t,params:r,route:a,data:s,form:u})=>{C=!0;const _=new URL(location.href);({params:r={},route:a={id:null}}=Z(_,!1)||{});let v;try{const w=t.map(async(I,g)=>{const p=s[g];return p!=null&&p.uses&&(p.uses=ze(p.uses)),ue({loader:n.nodes[I],url:_,params:r,route:a,parent:async()=>{const P={};for(let N=0;NI===a.id);if(R){const I=R.layouts;for(let g=0;gh?"1":"0").join(""));const c=await Ge(l.href);if(!c.ok)throw new ne(c.status,await c.json());return new Promise(async h=>{var y;const d=new Map,O=c.body.getReader(),f=new TextDecoder;function E(C){return yt(C,{Promise:D=>new Promise((k,x)=>{d.set(D,{fulfil:k,reject:x})})})}let m="";for(;;){const{done:C,value:D}=await O.read();if(C&&!m)break;for(m+=!D&&m?` +import{o as me,t as ye}from"../chunks/index.90d50ca5.js";import{p as We,e as Xe}from"../chunks/routing.f0b9763f.js";import{S as He,a as Be,I as M,g as De,f as Ce,b as we,c as le,s as te,i as _e,d as F,e as J,P as $e,h as Ze}from"../chunks/singletons.4c3847c7.js";function Qe(n,o){return n==="/"||o==="ignore"?n:o==="never"?n.endsWith("/")?n.slice(0,-1):n:o==="always"&&!n.endsWith("/")?n+"/":n}function et(n){return n.split("%25").map(decodeURI).join("%25")}function tt(n){for(const o in n)n[o]=decodeURIComponent(n[o]);return n}const nt=["href","pathname","search","searchParams","toString","toJSON"];function at(n,o){const l=new URL(n);for(const c of nt)Object.defineProperty(l,c,{get(){return o(),n[c]},enumerable:!0,configurable:!0});return rt(l),l}function rt(n){Object.defineProperty(n,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const ot="/__data.json";function it(n){return n.replace(/\/$/,"")+ot}function st(...n){let o=5381;for(const l of n)if(typeof l=="string"){let c=l.length;for(;c;)o=o*33^l.charCodeAt(--c)}else if(ArrayBuffer.isView(l)){const c=new Uint8Array(l.buffer,l.byteOffset,l.byteLength);let h=c.length;for(;h;)o=o*33^c[--h]}else throw new TypeError("value must be a string or TypedArray");return(o>>>0).toString(36)}const Ge=window.fetch;window.fetch=(n,o)=>((n instanceof Request?n.method:(o==null?void 0:o.method)||"GET")!=="GET"&&ae.delete(Ee(n)),Ge(n,o));const ae=new Map;function ct(n,o){const l=Ee(n,o),c=document.querySelector(l);if(c!=null&&c.textContent){const{body:h,...d}=JSON.parse(c.textContent),O=c.getAttribute("data-ttl");return O&&ae.set(l,{body:h,init:d,ttl:1e3*Number(O)}),Promise.resolve(new Response(h,d))}return window.fetch(n,o)}function lt(n,o,l){if(ae.size>0){const c=Ee(n,l),h=ae.get(c);if(h){if(performance.now(){const{pattern:C,params:D}=We(f),k={id:f,exec:x=>{const U=C.exec(x);if(U)return Xe(U,D,c)},errors:[1,...y||[]].map(x=>n[x]),layouts:[0,...m||[]].map(O),leaf:d(E)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function d(f){const E=f<0;return E&&(f=~f),[E,n[f]]}function O(f){return f===void 0?f:[h.has(f),n[f]]}}function Je(n){try{return JSON.parse(sessionStorage[n])}catch{}}function Me(n,o){const l=JSON.stringify(o);try{sessionStorage[n]=l}catch{}}const ut=-1,dt=-2,pt=-3,ht=-4,gt=-5,mt=-6;function yt(n,o){if(typeof n=="number")return h(n,!0);if(!Array.isArray(n)||n.length===0)throw new Error("Invalid input");const l=n,c=Array(l.length);function h(d,O=!1){if(d===ut)return;if(d===pt)return NaN;if(d===ht)return 1/0;if(d===gt)return-1/0;if(d===mt)return-0;if(O)throw new Error("Invalid input");if(d in c)return c[d];const f=l[d];if(!f||typeof f!="object")c[d]=f;else if(Array.isArray(f))if(typeof f[0]=="string"){const E=f[0],m=o==null?void 0:o[E];if(m)return c[d]=m(h(f[1]));switch(E){case"Date":c[d]=new Date(f[1]);break;case"Set":const y=new Set;c[d]=y;for(let k=1;ko!=null)}const Ke=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Ke];const _t=new Set([...Ke]);[..._t];async function vt(n){var o;for(const l in n)if(typeof((o=n[l])==null?void 0:o.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(n).map(async([c,h])=>[c,await h])));return n}class ne{constructor(o,l){this.status=o,typeof l=="string"?this.body={message:l}:l?this.body=l:this.body={message:`Error: ${o}`}}toString(){return JSON.stringify(this.body)}}class Ve{constructor(o,l){this.status=o,this.location=l}}const bt="x-sveltekit-invalidated",Et="x-sveltekit-trailing-slash",K=Je(He)??{},ee=Je(Be)??{};function ve(n){K[n]=te()}function St(n,o){var je;const l=ft(n),c=n.nodes[0],h=n.nodes[1];c(),h();const d=document.documentElement,O=[],f=[];let E=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let y={branch:[],error:null,url:null},C=!1,D=!1,k=!0,x=!1,U=!1,H=!1,B=!1,V,T=(je=history.state)==null?void 0:je[M];T||(T=Date.now(),history.replaceState({...history.state,[M]:T},"",location.href));const fe=K[T];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,W;async function Se(){if(W=W||Promise.resolve(),await W,!W)return;W=null;const e=new URL(location.href),i=Z(e,!0);E=null;const t=z={},r=i&&await pe(i);if(t===z&&r){if(r.type==="redirect")return re(new URL(r.location,e).href,{},1,t);r.props.page!==void 0&&(q=r.props.page),V.$set(r.props)}}function ke(e){f.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=f.map(i=>{var t;return(t=i==null?void 0:i.snapshot)==null?void 0:t.capture()}))}function Re(e){var i;(i=ee[e])==null||i.forEach((t,r)=>{var a,s;(s=(a=f[r])==null?void 0:a.snapshot)==null||s.restore(t)})}function Ae(){ve(T),Me(He,K),ke(T),Me(Be,ee)}async function re(e,{noScroll:i=!1,replaceState:t=!1,keepFocus:r=!1,state:a={},invalidateAll:s=!1},u,_){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:r,redirect_count:u,details:{state:a,replaceState:t},nav_token:_,accepted:()=>{s&&(B=!0)},blocked:()=>{},type:"goto"})}async function Le(e){return E={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(E=null),i))},E.promise}async function oe(...e){const t=l.filter(r=>e.some(a=>r.exec(a))).map(r=>Promise.all([...r.layouts,r.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(t)}function Ie(e){var r;y=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new n.root({target:o,props:{...e.props,stores:F,components:f},hydrate:!0}),Re(T);const t={from:null,to:{params:y.params,route:{id:((r=y.route)==null?void 0:r.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(t)),D=!0}async function X({url:e,params:i,branch:t,status:r,error:a,route:s,form:u}){let _="never";for(const g of t)(g==null?void 0:g.slash)!==void 0&&(_=g.slash);e.pathname=Qe(e.pathname,_),e.search=e.search;const v={type:"loaded",state:{url:e,params:i,branch:t,error:a,route:s},props:{constructors:wt(t).map(g=>g.node.component)}};u!==void 0&&(v.props.form=u);let w={},L=!q,R=0;for(let g=0;g(_.route=!0,p[P])}),params:new Proxy(r,{get:(p,P)=>(_.params.add(P),p[P])}),data:(s==null?void 0:s.data)??null,url:at(t,()=>{_.url=!0}),async fetch(p,P){let N;p instanceof Request?(N=p.url,P={body:p.method==="GET"||p.method==="HEAD"?void 0:await p.blob(),cache:p.cache,credentials:p.credentials,headers:p.headers,integrity:p.integrity,keepalive:p.keepalive,method:p.method,mode:p.mode,redirect:p.redirect,referrer:p.referrer,referrerPolicy:p.referrerPolicy,signal:p.signal,...P}):N=p;const $=new URL(N,t);return I($.href),$.origin===t.origin&&(N=$.href.slice(t.origin.length)),D?lt(N,$.href,P):ct(N,P)},setHeaders:()=>{},depends:I,parent(){return _.parent=!0,i()}};u=await v.universal.load.call(null,g)??null,u=u?await vt(u):null}return{node:v,loader:e,server:s,universal:(L=v.universal)!=null&&L.load?{type:"data",data:u,uses:_}:null,data:u??(s==null?void 0:s.data)??null,slash:((R=v.universal)==null?void 0:R.trailingSlash)??(s==null?void 0:s.slash)}}function Pe(e,i,t,r,a){if(B)return!0;if(!r)return!1;if(r.parent&&e||r.route&&i||r.url&&t)return!0;for(const s of r.params)if(a[s]!==y.params[s])return!0;for(const s of r.dependencies)if(O.some(u=>u(new URL(s))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:t,params:r,route:a}){if((E==null?void 0:E.id)===e)return E.promise;const{errors:s,layouts:u,leaf:_}=a,v=[...u,_];s.forEach(b=>b==null?void 0:b().catch(()=>{})),v.forEach(b=>b==null?void 0:b[1]().catch(()=>{}));let w=null;const L=y.url?e!==y.url.pathname+y.url.search:!1,R=y.route?a.id!==y.route.id:!1;let I=!1;const g=v.map((b,A)=>{var G;const S=y.branch[A],j=!!(b!=null&&b[0])&&((S==null?void 0:S.loader)!==b[1]||Pe(I,R,L,(G=S.server)==null?void 0:G.uses,r));return j&&(I=!0),j});if(g.some(Boolean)){try{w=await qe(t,g)}catch(b){return ie({status:b instanceof ne?b.status:500,error:await Q(b,{url:t,params:r,route:{id:a.id}}),url:t,route:a})}if(w.type==="redirect")return w}const p=w==null?void 0:w.nodes;let P=!1;const N=v.map(async(b,A)=>{var he;if(!b)return;const S=y.branch[A],j=p==null?void 0:p[A];if((!j||j.type==="skip")&&b[1]===(S==null?void 0:S.loader)&&!Pe(P,R,L,(he=S.universal)==null?void 0:he.uses,r))return S;if(P=!0,(j==null?void 0:j.type)==="error")throw j;return ue({loader:b[1],url:t,params:r,route:a,parent:async()=>{var xe;const Te={};for(let ge=0;ge{});const $=[];for(let b=0;bPromise.resolve({}),server_data_node:de(s)}),v={node:await h(),loader:h,universal:null,server:null,data:null};return await X({url:t,params:a,branch:[_,v],status:e,error:i,route:null})}function Z(e,i){if(_e(e,J))return;const t=se(e);for(const r of l){const a=r.exec(t);if(a)return{id:e.pathname+e.search,invalidating:i,route:r,params:tt(a),url:e}}}function se(e){return et(e.pathname.slice(J.length)||"/")}function Ue({url:e,type:i,intent:t,delta:r}){let a=!1;const s=Fe(y,t,e,i);r!==void 0&&(s.navigation.delta=r);const u={...s.navigation,cancel:()=>{a=!0,s.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(_=>_(u)),a?null:s}async function ce({url:e,scroll:i,keepfocus:t,redirect_count:r,details:a,type:s,delta:u,nav_token:_={},accepted:v,blocked:w}){var N,$,b;const L=Z(e,!1),R=Ue({url:e,type:s,delta:u,intent:L});if(!R){w();return}const I=T;v(),U=!0,D&&F.navigating.set(R.navigation),z=_;let g=L&&await pe(L);if(!g){if(_e(e,J))return await Y(e);g=await Ne(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(L==null?void 0:L.url)||e,z!==_)return R.reject(new Error("navigation was aborted")),!1;if(g.type==="redirect")if(r>=20)g=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(g.location,e).href,{},r+1,_),!1;else((N=g.props.page)==null?void 0:N.status)>=400&&await F.updated.check()&&await Y(e);if(O.length=0,B=!1,x=!0,ve(I),ke(I),($=g.props.page)!=null&&$.url&&g.props.page.url.pathname!==e.pathname&&(e.pathname=(b=g.props.page)==null?void 0:b.url.pathname),a){const A=a.replaceState?0:1;if(a.state[M]=T+=A,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let S=T+1;for(;ee[S]||K[S];)delete ee[S],delete K[S],S+=1}}if(E=null,D){y=g.state,g.props.page&&(g.props.page.url=e);const A=(await Promise.all(m.on_navigate.map(S=>S(R.navigation)))).filter(S=>typeof S=="function");if(A.length>0){let S=function(){m.after_navigate=m.after_navigate.filter(j=>!A.includes(j))};A.push(S),m.after_navigate.push(...A)}V.$set(g.props)}else Ie(g);const{activeElement:p}=document;if(await ye(),k){const A=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):A?A.scrollIntoView():scrollTo(0,0)}const P=document.activeElement!==p&&document.activeElement!==document.body;!t&&!P&&be(),k=!0,g.props.page&&(q=g.props.page),U=!1,s==="popstate"&&Re(T),R.fulfil(void 0),m.after_navigate.forEach(A=>A(R.navigation)),F.navigating.set(null),x=!1}async function Ne(e,i,t,r){return e.origin===location.origin&&e.pathname===location.pathname&&!C?await ie({status:r,error:t,url:e,route:i}):await Y(e)}function Y(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;d.addEventListener("mousemove",s=>{const u=s.target;clearTimeout(e),e=setTimeout(()=>{r(u,2)},20)});function i(s){r(s.composedPath()[0],1)}d.addEventListener("mousedown",i),d.addEventListener("touchstart",i,{passive:!0});const t=new IntersectionObserver(s=>{for(const u of s)u.isIntersecting&&(oe(se(new URL(u.target.href))),t.unobserve(u.target))},{threshold:0});function r(s,u){const _=Ce(s,d);if(!_)return;const{url:v,external:w,download:L}=we(_,J);if(w||L)return;const R=le(_);if(!R.reload)if(u<=R.preload_data){const I=Z(v,!1);I&&Le(I)}else u<=R.preload_code&&oe(se(v))}function a(){t.disconnect();for(const s of d.querySelectorAll("a")){const{url:u,external:_,download:v}=we(s,J);if(_||v)continue;const w=le(s);w.reload||(w.preload_code===$e.viewport&&t.observe(s),w.preload_code===$e.eager&&oe(se(u)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:n.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(x||!D)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")O.push(e);else{const{href:i}=new URL(e,location.href);O.push(t=>t.href===i)}return Se()},invalidate_all:()=>(B=!0,Se()),preload_data:async e=>{const i=new URL(e,De(document)),t=Z(i,!1);if(!t)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Le(t)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:t,route:r}=y;if(!r)return;const a=await Oe(y.branch.length,t,r.errors);if(a){const s=await X({url:i,params:y.params,branch:t.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:r});y=s.state,V.$set(s.props),ye().then(be)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await ye(),V.$set({form:e.data}),e.type==="success"&&be())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ae(),!U){const a=Fe(y,void 0,null,"leave"),s={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(u=>u(s))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Ae()}),(i=navigator.connection)!=null&&i.saveData||Ye(),d.addEventListener("click",t=>{var I;if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=Ce(t.composedPath()[0],d);if(!r)return;const{url:a,external:s,target:u,download:_}=we(r,J);if(!a)return;if(u==="_parent"||u==="_top"){if(window.parent!==window)return}else if(u&&u!=="_self")return;const v=le(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||_)return;if(s||v.reload){Ue({url:a,type:"link"})?U=!0:t.preventDefault();return}const[L,R]=a.href.split("#");if(R!==void 0&&L===location.href.split("#")[0]){if(y.url.hash===a.hash){t.preventDefault(),(I=r.ownerDocument.getElementById(R))==null||I.scrollIntoView();return}if(H=!0,ve(T),e(a),!v.replace_state)return;H=!1,t.preventDefault()}ce({url:a,scroll:v.noscroll?te():null,keepfocus:v.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:v.replace_state??a.href===location.href},accepted:()=>t.preventDefault(),blocked:()=>t.preventDefault(),type:"link"})}),d.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const u=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(_e(u,J))return;const _=t.target,{keep_focus:v,noscroll:w,reload:L,replace_state:R}=le(_);if(L)return;t.preventDefault(),t.stopPropagation();const I=new FormData(_),g=a==null?void 0:a.getAttribute("name");g&&I.append(g,(a==null?void 0:a.getAttribute("value"))??""),u.search=new URLSearchParams(I).toString(),ce({url:u,scroll:w?te():null,keepfocus:v??!1,redirect_count:0,details:{state:{},replaceState:R??u.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async t=>{var r;if(z={},(r=t.state)!=null&&r[M]){if(t.state[M]===T)return;const a=K[t.state[M]],s=new URL(location.href);if(y.url.href.split("#")[0]===location.href.split("#")[0]){e(s),K[T]=te(),T=t.state[M],scrollTo(a.x,a.y);return}const u=t.state[M]-T;await ce({url:s,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{T=t.state[M]},blocked:()=>{history.go(-u)},type:"popstate",delta:u,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++T},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&F.navigating.set(null)});function e(t){y.url=t,F.page.set({...q,url:t}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:t,params:r,route:a,data:s,form:u})=>{C=!0;const _=new URL(location.href);({params:r={},route:a={id:null}}=Z(_,!1)||{});let v;try{const w=t.map(async(I,g)=>{const p=s[g];return p!=null&&p.uses&&(p.uses=ze(p.uses)),ue({loader:n.nodes[I],url:_,params:r,route:a,parent:async()=>{const P={};for(let N=0;NI===a.id);if(R){const I=R.layouts;for(let g=0;gh?"1":"0").join(""));const c=await Ge(l.href);if(!c.ok)throw new ne(c.status,await c.json());return new Promise(async h=>{var y;const d=new Map,O=c.body.getReader(),f=new TextDecoder;function E(C){return yt(C,{Promise:D=>new Promise((k,x)=>{d.set(D,{fulfil:k,reject:x})})})}let m="";for(;;){const{done:C,value:D}=await O.read();if(C&&!m)break;for(m+=!D&&m?` `:f.decode(D);;){const k=m.indexOf(` `);if(k===-1)break;const x=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),x.type==="redirect")return h(x);if(x.type==="data")(y=x.nodes)==null||y.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=ze(U.uses),U.data=E(U.data))}),h(x);else if(x.type==="chunk"){const{id:U,data:H,error:B}=x,V=d.get(U);d.delete(U),B?V.reject(E(B)):V.fulfil(E(H))}}}})}function ze(n){return{dependencies:new Set((n==null?void 0:n.dependencies)??[]),params:new Set((n==null?void 0:n.params)??[]),parent:!!(n!=null&&n.parent),route:!!(n!=null&&n.route),url:!!(n!=null&&n.url)}}function be(){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const o=document.body,l=o.getAttribute("tabindex");o.tabIndex=-1,o.focus({preventScroll:!0,focusVisible:!1}),l!==null?o.setAttribute("tabindex",l):o.removeAttribute("tabindex");const c=getSelection();if(c&&c.type!=="None"){const h=[];for(let d=0;d{if(c.rangeCount===h.length){for(let d=0;d{h=y,d=C});return O.catch(()=>{}),{navigation:{from:{params:n.params,route:{id:((E=n.route)==null?void 0:E.id)??null},url:n.url},to:l&&{params:(o==null?void 0:o.params)??null,route:{id:((m=o==null?void 0:o.route)==null?void 0:m.id)??null},url:l},willUnload:!o,type:c,complete:O},fulfil:h,reject:d}}async function Lt(n,o,l){const c=St(n,o);Ze({client:c}),l?await c._hydrate(l):c.goto(location.href,{replaceState:!0}),c._start_router()}export{Lt as start}; diff --git a/_app/immutable/nodes/0.80c3a66b.js b/_app/immutable/nodes/0.e1540c07.js similarity index 94% rename from _app/immutable/nodes/0.80c3a66b.js rename to _app/immutable/nodes/0.e1540c07.js index f0159ea..fdc77a9 100644 --- a/_app/immutable/nodes/0.80c3a66b.js +++ b/_app/immutable/nodes/0.e1540c07.js @@ -1 +1 @@ -import{g as O}from"../chunks/routing.f0b9763f.js";import{p as T,l as g,s as $}from"../chunks/index.c89ace66.js";import{S as v,i as N,s as I,e as m,C as z,h as c,D as B,E as h,F as D,a as S,c as j,b as _,G as F,k as A,l as C,n as f,H as b,I as H,y as M,z as W,A as q,J as G,K as J,L as U,g as k,d as L,B as Q}from"../chunks/index.fb560467.js";import{p as d}from"../chunks/stores.8c1708cf.js";new TextEncoder;const R=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function V(o,t){return"/"+O(o).map(l=>l.replace(R,(n,r,e,s)=>{const i=t[s];if(!i){if(r||e&&i!==void 0)return"";throw new Error(`Missing parameter '${s}' in route ${o}`)}if(i.startsWith("/")||i.endsWith("/"))throw new Error(`Parameter '${s}' in route ${o} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return i})).filter(Boolean).join("/")}const p="en",X=!0;async function Y({params:o}){const t=o.locale??p;return await T(t),{locale:t}}const se=Object.freeze(Object.defineProperty({__proto__:null,load:Y,prerender:X},Symbol.toStringTag,{value:"Module"}));function w(o,t,a){const l=o.slice();return l[4]=t[a],l}function y(o){let t,a,l=g,n=[];for(let e=0;ea(1,l=s));let{localeParam:n="locale"}=t,{defaultLocale:r=null}=t;function e(s){let u=b(d).params;s===p?delete u[n]:u[n]=s;const K=b(d).route.id??"";return V(K,u)}return o.$$set=s=>{"localeParam"in s&&a(3,n=s.localeParam),"defaultLocale"in s&&a(0,r=s.defaultLocale)},[r,l,e,n]}class ee extends v{constructor(t){super(),N(this,t,x,Z,I,{localeParam:3,defaultLocale:0})}}function te(o){let t,a,l;t=new ee({props:{defaultLocale:p}});const n=o[2].default,r=H(n,o,o[1],null);return{c(){M(t.$$.fragment),a=S(),r&&r.c()},l(e){W(t.$$.fragment,e),a=j(e),r&&r.l(e)},m(e,s){q(t,e,s),_(e,a,s),r&&r.m(e,s),l=!0},p(e,[s]){r&&r.p&&(!l||s&2)&&G(r,n,e,e[1],l?U(n,e[1],s,null):J(e[1]),null)},i(e){l||(k(t.$$.fragment,e),k(r,e),l=!0)},o(e){L(t.$$.fragment,e),L(r,e),l=!1},d(e){Q(t,e),e&&c(a),r&&r.d(e)}}}function ae(o,t,a){let{$$slots:l={},$$scope:n}=t,{data:r}=t;return o.$$set=e=>{"data"in e&&a(0,r=e.data),"$$scope"in e&&a(1,n=e.$$scope)},o.$$.update=()=>{o.$$.dirty&1&&$(r.locale),o.$$.dirty&1&&(document.documentElement.lang=r.locale)},[r,n,l]}class ie extends v{constructor(t){super(),N(this,t,ae,te,I,{data:0})}}export{ie as component,se as universal}; +import{g as O}from"../chunks/routing.f0b9763f.js";import{p as T,l as g,s as $}from"../chunks/index.f644e0f8.js";import{S as v,i as N,s as I,e as m,C as z,h as c,D as B,E as h,F as D,a as S,c as j,b as _,G as F,k as A,l as C,n as f,H as b,I as H,y as M,z as W,A as q,J as G,K as J,L as U,g as k,d as L,B as Q}from"../chunks/index.90d50ca5.js";import{p as d}from"../chunks/stores.b0221e88.js";new TextEncoder;const R=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function V(o,t){return"/"+O(o).map(l=>l.replace(R,(n,r,e,s)=>{const i=t[s];if(!i){if(r||e&&i!==void 0)return"";throw new Error(`Missing parameter '${s}' in route ${o}`)}if(i.startsWith("/")||i.endsWith("/"))throw new Error(`Parameter '${s}' in route ${o} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return i})).filter(Boolean).join("/")}const p="en",X=!0;async function Y({params:o}){const t=o.locale??p;return await T(t),{locale:t}}const se=Object.freeze(Object.defineProperty({__proto__:null,load:Y,prerender:X},Symbol.toStringTag,{value:"Module"}));function w(o,t,a){const l=o.slice();return l[4]=t[a],l}function y(o){let t,a,l=g,n=[];for(let e=0;ea(1,l=s));let{localeParam:n="locale"}=t,{defaultLocale:r=null}=t;function e(s){let u=b(d).params;s===p?delete u[n]:u[n]=s;const K=b(d).route.id??"";return V(K,u)}return o.$$set=s=>{"localeParam"in s&&a(3,n=s.localeParam),"defaultLocale"in s&&a(0,r=s.defaultLocale)},[r,l,e,n]}class ee extends v{constructor(t){super(),N(this,t,x,Z,I,{localeParam:3,defaultLocale:0})}}function te(o){let t,a,l;t=new ee({props:{defaultLocale:p}});const n=o[2].default,r=H(n,o,o[1],null);return{c(){M(t.$$.fragment),a=S(),r&&r.c()},l(e){W(t.$$.fragment,e),a=j(e),r&&r.l(e)},m(e,s){q(t,e,s),_(e,a,s),r&&r.m(e,s),l=!0},p(e,[s]){r&&r.p&&(!l||s&2)&&G(r,n,e,e[1],l?U(n,e[1],s,null):J(e[1]),null)},i(e){l||(k(t.$$.fragment,e),k(r,e),l=!0)},o(e){L(t.$$.fragment,e),L(r,e),l=!1},d(e){Q(t,e),e&&c(a),r&&r.d(e)}}}function ae(o,t,a){let{$$slots:l={},$$scope:n}=t,{data:r}=t;return o.$$set=e=>{"data"in e&&a(0,r=e.data),"$$scope"in e&&a(1,n=e.$$scope)},o.$$.update=()=>{o.$$.dirty&1&&$(r.locale),o.$$.dirty&1&&(document.documentElement.lang=r.locale)},[r,n,l]}class ie extends v{constructor(t){super(),N(this,t,ae,te,I,{data:0})}}export{ie as component,se as universal}; diff --git a/_app/immutable/nodes/1.3845b764.js b/_app/immutable/nodes/1.c1536d82.js similarity index 85% rename from _app/immutable/nodes/1.3845b764.js rename to _app/immutable/nodes/1.c1536d82.js index bfc003c..51be97b 100644 --- a/_app/immutable/nodes/1.3845b764.js +++ b/_app/immutable/nodes/1.c1536d82.js @@ -1 +1 @@ -import{S as $,i as y,s as v,e as d,b as k,d as u,f as w,g as _,h as m,F as S,v as x,k as E,q as g,l as N,m as q,r as b,D as h,u as F,E as f,y as z,z as A,A as B,B as C}from"../chunks/index.fb560467.js";import{p as D}from"../chunks/stores.8c1708cf.js";import{N as H}from"../chunks/NotFoundPage.977f74ba.js";function P(l){let e,n,t=l[0].status+"",a;return{c(){e=E("h1"),n=g("Something went wrong "),a=g(t)},l(s){e=N(s,"H1",{});var o=q(e);n=b(o,"Something went wrong "),a=b(o,t),o.forEach(m)},m(s,o){k(s,e,o),h(e,n),h(e,a)},p(s,o){o&1&&t!==(t=s[0].status+"")&&F(a,t)},i:f,o:f,d(s){s&&m(e)}}}function j(l){let e,n;return e=new H({}),{c(){z(e.$$.fragment)},l(t){A(e.$$.fragment,t)},m(t,a){B(e,t,a),n=!0},p:f,i(t){n||(_(e.$$.fragment,t),n=!0)},o(t){u(e.$$.fragment,t),n=!1},d(t){C(e,t)}}}function G(l){let e,n,t,a;const s=[j,P],o=[];function p(r,c){return r[0].status===404?0:1}return e=p(l),n=o[e]=s[e](l),{c(){n.c(),t=d()},l(r){n.l(r),t=d()},m(r,c){o[e].m(r,c),k(r,t,c),a=!0},p(r,[c]){let i=e;e=p(r),e===i?o[e].p(r,c):(x(),u(o[i],1,1,()=>{o[i]=null}),w(),n=o[e],n?n.p(r,c):(n=o[e]=s[e](r),n.c()),_(n,1),n.m(t.parentNode,t))},i(r){a||(_(n),a=!0)},o(r){u(n),a=!1},d(r){o[e].d(r),r&&m(t)}}}function I(l,e,n){let t;return S(l,D,a=>n(0,t=a)),[t]}class M extends ${constructor(e){super(),y(this,e,I,G,v,{})}}export{M as component}; +import{S as $,i as y,s as v,e as d,b as k,d as u,f as w,g as _,h as m,F as S,v as x,k as E,q as g,l as N,m as q,r as b,D as h,u as F,E as f,y as z,z as A,A as B,B as C}from"../chunks/index.90d50ca5.js";import{p as D}from"../chunks/stores.b0221e88.js";import{N as H}from"../chunks/NotFoundPage.9f3bd46c.js";function P(l){let e,n,t=l[0].status+"",a;return{c(){e=E("h1"),n=g("Something went wrong "),a=g(t)},l(s){e=N(s,"H1",{});var o=q(e);n=b(o,"Something went wrong "),a=b(o,t),o.forEach(m)},m(s,o){k(s,e,o),h(e,n),h(e,a)},p(s,o){o&1&&t!==(t=s[0].status+"")&&F(a,t)},i:f,o:f,d(s){s&&m(e)}}}function j(l){let e,n;return e=new H({}),{c(){z(e.$$.fragment)},l(t){A(e.$$.fragment,t)},m(t,a){B(e,t,a),n=!0},p:f,i(t){n||(_(e.$$.fragment,t),n=!0)},o(t){u(e.$$.fragment,t),n=!1},d(t){C(e,t)}}}function G(l){let e,n,t,a;const s=[j,P],o=[];function p(r,c){return r[0].status===404?0:1}return e=p(l),n=o[e]=s[e](l),{c(){n.c(),t=d()},l(r){n.l(r),t=d()},m(r,c){o[e].m(r,c),k(r,t,c),a=!0},p(r,[c]){let i=e;e=p(r),e===i?o[e].p(r,c):(x(),u(o[i],1,1,()=>{o[i]=null}),w(),n=o[e],n?n.p(r,c):(n=o[e]=s[e](r),n.c()),_(n,1),n.m(t.parentNode,t))},i(r){a||(_(n),a=!0)},o(r){u(n),a=!1},d(r){o[e].d(r),r&&m(t)}}}function I(l,e,n){let t;return S(l,D,a=>n(0,t=a)),[t]}class M extends ${constructor(e){super(),y(this,e,I,G,v,{})}}export{M as component}; diff --git a/_app/immutable/nodes/2.6fd07a08.js b/_app/immutable/nodes/2.6fd07a08.js deleted file mode 100644 index 7f940f4..0000000 --- a/_app/immutable/nodes/2.6fd07a08.js +++ /dev/null @@ -1,5 +0,0 @@ -import{S as ee,i as te,s as ne,M as re,N as Ae,O as Me,m as T,h,P as me,b as v,Q as Pe,E as ue,R as ge,I as ce,k as C,l as O,n as m,D as w,J as pe,K as $e,L as de,g as k,d as S,a as K,q as J,c as D,r as Q,T as De,U as we,V as Ge,v as Se,f as Ee,W as Ve,X as Ue,F as Ne,y as I,z as R,A as j,B as H,Y as Ce,Z as ze,_ as Xe,$ as Ye}from"../chunks/index.fb560467.js";import{m as ke}from"../chunks/class-merge.a51d4999.js";import{p as Ie}from"../chunks/stores.8c1708cf.js";import{G as Ze}from"../chunks/github.b4fe0f57.js";function Je(a){let e,t='',r=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],s={};for(let n=0;n{t(0,e=re(re({},e),ge(r)))},e=ge(e),[e]}class We extends ee{constructor(e){super(),te(this,e,Qe,Je,ne,{})}}function xe(a){let e,t='',r=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],s={};for(let n=0;n{t(0,e=re(re({},e),ge(r)))},e=ge(e),[e]}class et extends ee{constructor(e){super(),te(this,e,Fe,xe,ne,{})}}function tt(a){let e,t,r,s;const n=a[3].default,l=ce(n,a,a[2],null);return{c(){e=C("a"),t=C("span"),l&&l.c(),this.h()},l(i){e=O(i,"A",{href:!0,class:!0});var p=T(e);t=O(p,"SPAN",{class:!0});var u=T(t);l&&l.l(u),u.forEach(h),p.forEach(h),this.h()},h(){m(t,"class","truncate"),m(e,"href",a[1]),m(e,"class",r=ke("flex justify-between gap-2 py-2 px-2 rounded-md text-sm transition text-zinc-600 hover:text-zinc-900",a[0]&&"bg-orange-50"))},m(i,p){v(i,e,p),w(e,t),l&&l.m(t,null),s=!0},p(i,[p]){l&&l.p&&(!s||p&4)&&pe(l,n,i,i[2],s?de(n,i[2],p,null):$e(i[2]),null),(!s||p&2)&&m(e,"href",i[1]),(!s||p&1&&r!==(r=ke("flex justify-between gap-2 py-2 px-2 rounded-md text-sm transition text-zinc-600 hover:text-zinc-900",i[0]&&"bg-orange-50")))&&m(e,"class",r)},i(i){s||(k(l,i),s=!0)},o(i){S(l,i),s=!1},d(i){i&&h(e),l&&l.d(i)}}}function nt(a,e,t){let{$$slots:r={},$$scope:s}=e,{active:n=!1}=e,{href:l="#"}=e;return a.$$set=i=>{"active"in i&&t(0,n=i.active),"href"in i&&t(1,l=i.href),"$$scope"in i&&t(2,s=i.$$scope)},[n,l,s,r]}class rt extends ee{constructor(e){super(),te(this,e,nt,tt,ne,{active:0,href:1})}}function st(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],null);return{c(){e=C("h3"),s&&s.c(),this.h()},l(n){e=O(n,"H3",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","uppercase font-bold text-gray-500 text-sm py-2")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,null):$e(n[0]),null)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function at(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class lt extends ee{constructor(e){super(),te(this,e,at,st,ne,{})}}const it=a=>({}),Oe=a=>({Link:rt,Heading:lt});function ft(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],Oe);return{c(){e=C("div"),s&&s.c(),this.h()},l(n){e=O(n,"DIV",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","grid")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,it):$e(n[0]),Oe)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function ot(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class ut extends ee{constructor(e){super(),te(this,e,ot,ft,ne,{})}}function ct(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var Re={exports:{}};(function(a){(function(e,t,r){if(!e)return;for(var s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},n={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},i={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p,u=1;u<20;++u)s[111+u]="f"+u;for(u=0;u<=9;++u)s[u+96]=u.toString();function c(o,$,_){if(o.addEventListener){o.addEventListener($,_,!1);return}o.attachEvent("on"+$,_)}function f(o){if(o.type=="keypress"){var $=String.fromCharCode(o.which);return o.shiftKey||($=$.toLowerCase()),$}return s[o.which]?s[o.which]:n[o.which]?n[o.which]:String.fromCharCode(o.which).toLowerCase()}function d(o,$){return o.sort().join(",")===$.sort().join(",")}function E(o){var $=[];return o.shiftKey&&$.push("shift"),o.altKey&&$.push("alt"),o.ctrlKey&&$.push("ctrl"),o.metaKey&&$.push("meta"),$}function M(o){if(o.preventDefault){o.preventDefault();return}o.returnValue=!1}function G(o){if(o.stopPropagation){o.stopPropagation();return}o.cancelBubble=!0}function z(o){return o=="shift"||o=="ctrl"||o=="alt"||o=="meta"}function X(){if(!p){p={};for(var o in s)o>95&&o<112||s.hasOwnProperty(o)&&(p[s[o]]=o)}return p}function se(o,$,_){return _||(_=X()[o]?"keydown":"keypress"),_=="keypress"&&$.length&&(_="keydown"),_}function B(o){return o==="+"?["+"]:(o=o.replace(/\+{2}/g,"+plus"),o.split("+"))}function x(o,$){var _,y,Z,g=[];for(_=B(o),Z=0;Z<_.length;++Z)y=_[Z],i[y]&&(y=i[y]),$&&$!="keypress"&&l[y]&&(y=l[y],g.push("shift")),z(y)&&g.push(y);return $=se(y,g,$),{key:y,modifiers:g,action:$}}function Y(o,$){return o===null||o===t?!1:o===$?!0:Y(o.parentNode,$)}function P(o){var $=this;if(o=o||t,!($ instanceof P))return new P(o);$.target=o,$._callbacks={},$._directMap={};var _={},y,Z=!1,g=!1,A=!1;function F(b){b=b||{};var q=!1,N;for(N in _){if(b[N]){q=!0;continue}_[N]=0}q||(A=!1)}function ae(b,q,N,L,U,fe){var V,W,_e=[],oe=N.type;if(!$._callbacks[b])return[];for(oe=="keyup"&&z(b)&&(q=[b]),V=0;V<$._callbacks[b].length;++V)if(W=$._callbacks[b][V],!(!L&&W.seq&&_[W.seq]!=W.level)&&oe==W.action&&(oe=="keypress"&&!N.metaKey&&!N.ctrlKey||d(q,W.modifiers))){var je=!L&&W.combo==U,He=L&&W.seq==L&&W.level==fe;(je||He)&&$._callbacks[b].splice(V,1),_e.push(W)}return _e}function ie(b,q,N,L){$.stopCallback(q,q.target||q.srcElement,N,L)||b(q,N)===!1&&(M(q),G(q))}$._handleKey=function(b,q,N){var L=ae(b,q,N),U,fe={},V=0,W=!1;for(U=0;U1){he(b,fe,q,N);return}V=x(b,N),$._callbacks[V.key]=$._callbacks[V.key]||[],ae(V.key,V.modifiers,{type:V.action},L,b,U),$._callbacks[V.key][L?"unshift":"push"]({callback:q,modifiers:V.modifiers,action:V.action,seq:L,level:U,combo:b})}$._bindMultiple=function(b,q,N){for(var L=0;L-1||Y($,_.target))return!1;if("composedPath"in o&&typeof o.composedPath=="function"){var y=o.composedPath()[0];y!==o.target&&($=y)}return $.tagName=="INPUT"||$.tagName=="SELECT"||$.tagName=="TEXTAREA"||$.isContentEditable},P.prototype.handleKey=function(){var o=this;return o._handleKey.apply(o,arguments)},P.addKeycodes=function(o){for(var $ in o)o.hasOwnProperty($)&&(s[$]=o[$]);p=null},P.init=function(){var o=P(t);for(var $ in o)$.charAt(0)!=="_"&&(P[$]=function(_){return function(){return o[_].apply(o,arguments)}}($))},P.init(),e.Mousetrap=P,a.exports&&(a.exports=P),typeof r=="function"&&r.amd&&r(function(){return P})})(typeof window<"u"?window:null,typeof window<"u"?document:null)})(Re);var pt=Re.exports;const Te=ct(pt);function $t(a){return(...e)=>a.reduce((t,r)=>t=[r(...t)],e||[])}function dt(a){let e=document.defaultView.getComputedStyle(a,null);return e.getPropertyValue("display")!=="none"&&e.getPropertyValue("visibility")!=="hidden"}const ht=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'];function _t(a){const e={"alt+tab":i,end:u,home:p,"shift+tab":i,down:l,tab:l,up:i};Object.entries(e).forEach(([c,f])=>{Te.bind(c,$t([d=>({event:d}),t,r,s,n,f]))});function t(c){return c.event.preventDefault(),c}function r(c){return c.event.stopPropagation(),c}function s(c){let f=[...a.querySelectorAll(ht)];return{...c,allFocusableItems:f.filter(dt)}}function n(c){let f=document.activeElement;return f&&!a.contains(f)?c:{...c,currentlyFocusedItem:f}}function l({allFocusableItems:c,currentlyFocusedItem:f}){if(!f){c[0]&&c[0].focus();return}let d=c.indexOf(f);if(c.length-1===d){c[0]&&c[0].focus();return}c[d+1]&&c[d+1].focus()}function i({allFocusableItems:c,currentlyFocusedItem:f}){if(!f){c[c.length-1].focus();return}let d=c.indexOf(f);if(d===0){c[c.length-1]&&c[c.length-1].focus();return}c[d-1]&&c[d-1].focus()}function p({allFocusableItems:c}){c[0]&&c[0].focus()}function u({allFocusableItems:c}){c[c.length-1].focus()}return{destroy(){Object.keys(e).forEach(c=>Te.unbind(c))}}}function mt(a,e){let t=null;function r(s){if(s){const{destroy:n}=_t(a);t=n}else t&&t(),t=null}return r(e),{update:r,destroy(){t&&t(),t=null}}}function Le(a){let e,t,r;return{c(){e=C("div"),this.h()},l(s){e=O(s,"DIV",{class:!0}),T(e).forEach(h),this.h()},h(){m(e,"class","fixed inset-0 bg-black bg-opacity-30 z-40 md:hidden")},m(s,n){v(s,e,n),t||(r=we(e,"click",a[2]),t=!0)},p:ue,d(s){s&&h(e),t=!1,r()}}}function gt(a){let e,t;return e=new We({props:{class:"w-6 h-6"}}),{c(){I(e.$$.fragment)},l(r){R(e.$$.fragment,r)},m(r,s){j(e,r,s),t=!0},i(r){t||(k(e.$$.fragment,r),t=!0)},o(r){S(e.$$.fragment,r),t=!1},d(r){H(e,r)}}}function vt(a){let e,t;return e=new et({props:{class:"w-6 h-6"}}),{c(){I(e.$$.fragment)},l(r){R(e.$$.fragment,r)},m(r,s){j(e,r,s),t=!0},i(r){t||(k(e.$$.fragment,r),t=!0)},o(r){S(e.$$.fragment,r),t=!1},d(r){H(e,r)}}}function Be(a){let e,t,r,s,n;return t=new ut({props:{$$slots:{default:[Et,({Link:l,Heading:i})=>({5:l,6:i}),({Link:l,Heading:i})=>(l?32:0)|(i?64:0)]},$$scope:{ctx:a}}}),{c(){e=C("nav"),I(t.$$.fragment),this.h()},l(l){e=O(l,"NAV",{class:!0});var i=T(e);R(t.$$.fragment,i),i.forEach(h),this.h()},h(){m(e,"class","absolute grid gap-2 top-0 left-0 -translate-y-full bg-white rounded-t-lg border-t w-full p-4 max-h-96 overflow-y-auto")},m(l,i){v(l,e,i),j(t,e,null),r=!0,s||(n=we(e,"click",a[4]),s=!0)},p(l,i){const p={};i&130&&(p.$$scope={dirty:i,ctx:l}),t.$set(p)},i(l){r||(k(t.$$.fragment,l),r=!0)},o(l){S(t.$$.fragment,l),r=!1},d(l){l&&h(e),H(t),s=!1,n()}}}function bt(a){let e;return{c(){e=J("Getting Started")},l(t){e=Q(t,"Getting Started")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function kt(a){let e;return{c(){e=J("Installation")},l(t){e=Q(t,"Installation")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function wt(a){let e;return{c(){e=J("Setting Up")},l(t){e=Q(t,"Setting Up")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function yt(a){let e;return{c(){e=J("Roadmap")},l(t){e=Q(t,"Roadmap")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function St(a){let e;return{c(){e=J("Syntax")},l(t){e=Q(t,"Syntax")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Et(a){let e,t,r,s,n,l,i,p,u,c;return e=new a[6]({props:{$$slots:{default:[bt]},$$scope:{ctx:a}}}),r=new a[5]({props:{href:"/",active:a[1].url.pathname==="/",$$slots:{default:[kt]},$$scope:{ctx:a}}}),n=new a[5]({props:{href:"/getting-started",active:a[1].url.pathname==="/getting-started",$$slots:{default:[wt]},$$scope:{ctx:a}}}),i=new a[5]({props:{href:"/roadmap",active:a[1].url.pathname==="/roadmap",$$slots:{default:[yt]},$$scope:{ctx:a}}}),u=new a[5]({props:{href:"/syntax",active:a[1].url.pathname==="/syntax",$$slots:{default:[St]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment),s=K(),I(n.$$.fragment),l=K(),I(i.$$.fragment),p=K(),I(u.$$.fragment)},l(f){R(e.$$.fragment,f),t=D(f),R(r.$$.fragment,f),s=D(f),R(n.$$.fragment,f),l=D(f),R(i.$$.fragment,f),p=D(f),R(u.$$.fragment,f)},m(f,d){j(e,f,d),v(f,t,d),j(r,f,d),v(f,s,d),j(n,f,d),v(f,l,d),j(i,f,d),v(f,p,d),j(u,f,d),c=!0},p(f,d){const E={};d&128&&(E.$$scope={dirty:d,ctx:f}),e.$set(E);const M={};d&2&&(M.active=f[1].url.pathname==="/"),d&128&&(M.$$scope={dirty:d,ctx:f}),r.$set(M);const G={};d&2&&(G.active=f[1].url.pathname==="/getting-started"),d&128&&(G.$$scope={dirty:d,ctx:f}),n.$set(G);const z={};d&2&&(z.active=f[1].url.pathname==="/roadmap"),d&128&&(z.$$scope={dirty:d,ctx:f}),i.$set(z);const X={};d&2&&(X.active=f[1].url.pathname==="/syntax"),d&128&&(X.$$scope={dirty:d,ctx:f}),u.$set(X)},i(f){c||(k(e.$$.fragment,f),k(r.$$.fragment,f),k(n.$$.fragment,f),k(i.$$.fragment,f),k(u.$$.fragment,f),c=!0)},o(f){S(e.$$.fragment,f),S(r.$$.fragment,f),S(n.$$.fragment,f),S(i.$$.fragment,f),S(u.$$.fragment,f),c=!1},d(f){H(e,f),f&&h(t),H(r,f),f&&h(s),H(n,f),f&&h(l),H(i,f),f&&h(p),H(u,f)}}}function At(a){let e,t,r,s,n,l,i,p,u,c,f,d,E,M,G,z,X,se,B=a[0]&&Le(a);const x=[vt,gt],Y=[];function P($,_){return $[0]?0:1}d=P(a),E=Y[d]=x[d](a);let o=a[0]&&Be(a);return{c(){B&&B.c(),e=K(),t=C("header"),r=C("div"),s=C("a"),n=C("img"),i=K(),p=C("span"),u=J("T18S"),c=K(),f=C("button"),E.c(),M=K(),o&&o.c(),this.h()},l($){B&&B.l($),e=D($),t=O($,"HEADER",{class:!0});var _=T(t);r=O(_,"DIV",{class:!0});var y=T(r);s=O(y,"A",{class:!0,href:!0});var Z=T(s);n=O(Z,"IMG",{src:!0,alt:!0,class:!0}),i=D(Z),p=O(Z,"SPAN",{class:!0});var g=T(p);u=Q(g,"T18S"),g.forEach(h),Z.forEach(h),c=D(y),f=O(y,"BUTTON",{});var A=T(f);E.l(A),A.forEach(h),y.forEach(h),M=D(_),o&&o.l(_),_.forEach(h),this.h()},h(){De(n.src,l="/icon.svg")||m(n,"src",l),m(n,"alt","t18s"),m(n,"class","w-6 h-6"),m(p,"class","font-semibold"),m(s,"class","flex gap-2"),m(s,"href","/"),m(r,"class","flex p-4 border-t items-center justify-between z-50 bg-white"),m(t,"class","block md:hidden relative z-50")},m($,_){B&&B.m($,_),v($,e,_),v($,t,_),w(t,r),w(r,s),w(s,n),w(s,i),w(s,p),w(p,u),w(r,c),w(r,f),Y[d].m(f,null),w(t,M),o&&o.m(t,null),z=!0,X||(se=[we(f,"click",a[3]),Ge(G=mt.call(null,t,a[0]))],X=!0)},p($,[_]){$[0]?B?B.p($,_):(B=Le($),B.c(),B.m(e.parentNode,e)):B&&(B.d(1),B=null);let y=d;d=P($),d!==y&&(Se(),S(Y[y],1,1,()=>{Y[y]=null}),Ee(),E=Y[d],E||(E=Y[d]=x[d]($),E.c()),k(E,1),E.m(f,null)),$[0]?o?(o.p($,_),_&1&&k(o,1)):(o=Be($),o.c(),k(o,1),o.m(t,null)):o&&(Se(),S(o,1,1,()=>{o=null}),Ee()),G&&Ve(G.update)&&_&1&&G.update.call(null,$[0])},i($){z||(k(E),k(o),z=!0)},o($){S(E),S(o),z=!1},d($){B&&B.d($),$&&h(e),$&&h(t),Y[d].d(),o&&o.d(),X=!1,Ue(se)}}}function Mt(a,e,t){let r;Ne(a,Ie,p=>t(1,r=p));let s=!1;return[s,r,()=>t(0,s=!1),()=>t(0,s=!s),()=>t(0,s=!1)]}class Pt extends ee{constructor(e){super(),te(this,e,Mt,At,ne,{})}}function Ct(a){let e,t='',r=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],s={};for(let n=0;n{t(0,e=re(re({},e),ge(r)))},e=ge(e),[e]}class Tt extends ee{constructor(e){super(),te(this,e,Ot,Ct,ne,{})}}function Lt(a){let e,t,r,s,n,l,i,p,u,c;return t=new Tt({props:{class:"text-gray-400 w-4 h-4 min-w-max"}}),{c(){e=C("label"),I(t.$$.fragment),r=K(),s=C("span"),n=J("Search"),l=K(),i=C("input"),this.h()},l(f){e=O(f,"LABEL",{class:!0});var d=T(e);R(t.$$.fragment,d),r=D(d),s=O(d,"SPAN",{class:!0});var E=T(s);n=Q(E,"Search"),E.forEach(h),l=D(d),i=O(d,"INPUT",{type:!0,class:!0,placeholder:!0}),d.forEach(h),this.h()},h(){m(s,"class","sr-only"),m(i,"type","text"),m(i,"class","bg-transparent py-2 pe-2 focus-within:outline-none placeholder:text-gray-400"),m(i,"placeholder","Search"),m(e,"class","flex gap-2 bg-gray-100 text-gray-800 pl-4 rounded-md items-center focus-within:ring-2 ring-orange-600")},m(f,d){v(f,e,d),j(t,e,null),w(e,r),w(e,s),w(s,n),w(e,l),w(e,i),Ce(i,a[0]),p=!0,u||(c=we(i,"input",a[1]),u=!0)},p(f,[d]){d&1&&i.value!==f[0]&&Ce(i,f[0])},i(f){p||(k(t.$$.fragment,f),p=!0)},o(f){S(t.$$.fragment,f),p=!1},d(f){f&&h(e),H(t),u=!1,c()}}}function Bt(a,e,t){let{query:r=""}=e;function s(){r=this.value,t(0,r)}return a.$$set=n=>{"query"in n&&t(0,r=n.query)},[r,s]}class qt extends ee{constructor(e){super(),te(this,e,Bt,Lt,ne,{query:0})}}function Kt(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],null);return{c(){e=C("h3"),s&&s.c(),this.h()},l(n){e=O(n,"H3",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","uppercase font-bold text-gray-500 text-sm")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,null):$e(n[0]),null)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function Dt(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class Vt extends ee{constructor(e){super(),te(this,e,Dt,Kt,ne,{})}}function Nt(a){return a<.5?4*a*a*a:.5*Math.pow(2*a-2,3)+1}function It(a){const e=a-1;return e*e*e+1}function Rt(a,e){var t={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&e.indexOf(r)<0&&(t[r]=a[r]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(a);sMath.sqrt(o)*30,easing:d=It}=re(re({},t),u),E=i.getBoundingClientRect(),M=p.getBoundingClientRect(),G=E.left-M.left,z=E.top-M.top,X=E.width/M.width,se=E.height/M.height,B=Math.sqrt(G*G+z*z),x=getComputedStyle(p),Y=x.transform==="none"?"":x.transform,P=+x.opacity;return{delay:c,duration:Ve(f)?f(B):f,easing:d,css:(o,$)=>` - opacity: ${o*P}; - transform-origin: top left; - transform: ${Y} translate(${$*G}px,${$*z}px) scale(${o+(1-o)*X}, ${o+(1-o)*se}); - `}}function l(i,p,u){return(c,f)=>(i.set(f.key,c),()=>{if(p.has(f.key)){const d=p.get(f.key);return p.delete(f.key),n(d,c,f)}return i.delete(f.key),e&&e(c,f,u)})}return[l(s,r,!1),l(r,s,!0)]}function qe(a){let e,t,r,s;return{c(){e=C("span"),this.h()},l(n){e=O(n,"SPAN",{class:!0}),T(e).forEach(h),this.h()},h(){m(e,"class","absolute top-1/2 left-0 w-1.5 h-1.5 -translate-y-1/2 -translate-x-4 rounded-full bg-orange-500")},m(n,l){v(n,e,l),s=!0},i(n){s||(ze(()=>{s&&(r&&r.end(1),t=Xe(e,a[2],{key:"sidebar-link-active-indicator"}),t.start())}),s=!0)},o(n){t&&t.invalidate(),r=Ye(e,a[3],{key:"sidebar-link-active-indicator"}),s=!1},d(n){n&&h(e),n&&r&&r.end()}}}function Ht(a){let e,t,r,s;const n=a[5].default,l=ce(n,a,a[4],null);let i=a[0]&&qe(a);return{c(){e=C("a"),l&&l.c(),t=K(),i&&i.c(),this.h()},l(p){e=O(p,"A",{class:!0,"data-sveltekit-keepfocus":!0,href:!0});var u=T(e);l&&l.l(u),t=D(u),i&&i.l(u),u.forEach(h),this.h()},h(){m(e,"class",r=ke("text-gray-700 relative outline-orange-400 hover:bg-orange-50 py-2 rounded-md",a[0]&&"font-semibold")),m(e,"data-sveltekit-keepfocus",""),m(e,"href",a[1])},m(p,u){v(p,e,u),l&&l.m(e,null),w(e,t),i&&i.m(e,null),s=!0},p(p,[u]){l&&l.p&&(!s||u&16)&&pe(l,n,p,p[4],s?de(n,p[4],u,null):$e(p[4]),null),p[0]?i?u&1&&k(i,1):(i=qe(p),i.c(),k(i,1),i.m(e,null)):i&&(Se(),S(i,1,1,()=>{i=null}),Ee()),(!s||u&1&&r!==(r=ke("text-gray-700 relative outline-orange-400 hover:bg-orange-50 py-2 rounded-md",p[0]&&"font-semibold")))&&m(e,"class",r),(!s||u&2)&&m(e,"href",p[1])},i(p){s||(k(l,p),k(i),s=!0)},o(p){S(l,p),S(i),s=!1},d(p){p&&h(e),l&&l.d(p),i&&i.d()}}}function Gt(a,e,t){let{$$slots:r={},$$scope:s}=e,{active:n=!1}=e,{href:l}=e;const[i,p]=jt({duration:250,easing:Nt});return a.$$set=u=>{"active"in u&&t(0,n=u.active),"href"in u&&t(1,l=u.href),"$$scope"in u&&t(4,s=u.$$scope)},[n,l,i,p,s,r]}class Ut extends ee{constructor(e){super(),te(this,e,Gt,Ht,ne,{active:0,href:1})}}const zt=a=>({}),Ke=a=>({Heading:Vt,Link:Ut});function Xt(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],Ke);return{c(){e=C("div"),s&&s.c(),this.h()},l(n){e=O(n,"DIV",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","grid")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,zt):$e(n[0]),Ke)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function Yt(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class ye extends ee{constructor(e){super(),te(this,e,Yt,Xt,ne,{})}}function Zt(a){let e;return{c(){e=J("Getting Started")},l(t){e=Q(t,"Getting Started")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Jt(a){let e;return{c(){e=J("Installation")},l(t){e=Q(t,"Installation")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Qt(a){let e;return{c(){e=J("Setting Up")},l(t){e=Q(t,"Setting Up")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Wt(a){let e;return{c(){e=J("Syntax")},l(t){e=Q(t,"Syntax")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function xt(a){let e,t,r,s,n,l,i,p;return e=new a[1]({props:{$$slots:{default:[Zt]},$$scope:{ctx:a}}}),r=new a[2]({props:{href:"/",active:a[0].url.pathname==="/",$$slots:{default:[Jt]},$$scope:{ctx:a}}}),n=new a[2]({props:{href:"/getting-started",active:a[0].url.pathname==="/getting-started",$$slots:{default:[Qt]},$$scope:{ctx:a}}}),i=new a[2]({props:{href:"/syntax",active:a[0].url.pathname==="/syntax",$$slots:{default:[Wt]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment),s=K(),I(n.$$.fragment),l=K(),I(i.$$.fragment)},l(u){R(e.$$.fragment,u),t=D(u),R(r.$$.fragment,u),s=D(u),R(n.$$.fragment,u),l=D(u),R(i.$$.fragment,u)},m(u,c){j(e,u,c),v(u,t,c),j(r,u,c),v(u,s,c),j(n,u,c),v(u,l,c),j(i,u,c),p=!0},p(u,c){const f={};c&8&&(f.$$scope={dirty:c,ctx:u}),e.$set(f);const d={};c&1&&(d.active=u[0].url.pathname==="/"),c&8&&(d.$$scope={dirty:c,ctx:u}),r.$set(d);const E={};c&1&&(E.active=u[0].url.pathname==="/getting-started"),c&8&&(E.$$scope={dirty:c,ctx:u}),n.$set(E);const M={};c&1&&(M.active=u[0].url.pathname==="/syntax"),c&8&&(M.$$scope={dirty:c,ctx:u}),i.$set(M)},i(u){p||(k(e.$$.fragment,u),k(r.$$.fragment,u),k(n.$$.fragment,u),k(i.$$.fragment,u),p=!0)},o(u){S(e.$$.fragment,u),S(r.$$.fragment,u),S(n.$$.fragment,u),S(i.$$.fragment,u),p=!1},d(u){H(e,u),u&&h(t),H(r,u),u&&h(s),H(n,u),u&&h(l),H(i,u)}}}function Ft(a){let e;return{c(){e=J("Best Practices")},l(t){e=Q(t,"Best Practices")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function en(a){let e;return{c(){e=J("SEO")},l(t){e=Q(t,"SEO")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function tn(a){let e,t,r,s;return e=new a[1]({props:{$$slots:{default:[Ft]},$$scope:{ctx:a}}}),r=new a[2]({props:{href:"/seo",active:a[0].url.pathname==="/seo",$$slots:{default:[en]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment)},l(n){R(e.$$.fragment,n),t=D(n),R(r.$$.fragment,n)},m(n,l){j(e,n,l),v(n,t,l),j(r,n,l),s=!0},p(n,l){const i={};l&8&&(i.$$scope={dirty:l,ctx:n}),e.$set(i);const p={};l&1&&(p.active=n[0].url.pathname==="/seo"),l&8&&(p.$$scope={dirty:l,ctx:n}),r.$set(p)},i(n){s||(k(e.$$.fragment,n),k(r.$$.fragment,n),s=!0)},o(n){S(e.$$.fragment,n),S(r.$$.fragment,n),s=!1},d(n){H(e,n),n&&h(t),H(r,n)}}}function nn(a){let e;return{c(){e=J("Appendix")},l(t){e=Q(t,"Appendix")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function rn(a){let e;return{c(){e=J("Comparisons")},l(t){e=Q(t,"Comparisons")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function sn(a){let e;return{c(){e=J("Roadmap")},l(t){e=Q(t,"Roadmap")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function an(a){let e,t,r,s,n,l;return e=new a[1]({props:{$$slots:{default:[nn]},$$scope:{ctx:a}}}),r=new a[2]({props:{href:"/comparisons",active:a[0].url.pathname==="/comparisons",$$slots:{default:[rn]},$$scope:{ctx:a}}}),n=new a[2]({props:{href:"/roadmap",active:a[0].url.pathname==="/roadmap",$$slots:{default:[sn]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment),s=K(),I(n.$$.fragment)},l(i){R(e.$$.fragment,i),t=D(i),R(r.$$.fragment,i),s=D(i),R(n.$$.fragment,i)},m(i,p){j(e,i,p),v(i,t,p),j(r,i,p),v(i,s,p),j(n,i,p),l=!0},p(i,p){const u={};p&8&&(u.$$scope={dirty:p,ctx:i}),e.$set(u);const c={};p&1&&(c.active=i[0].url.pathname==="/comparisons"),p&8&&(c.$$scope={dirty:p,ctx:i}),r.$set(c);const f={};p&1&&(f.active=i[0].url.pathname==="/roadmap"),p&8&&(f.$$scope={dirty:p,ctx:i}),n.$set(f)},i(i){l||(k(e.$$.fragment,i),k(r.$$.fragment,i),k(n.$$.fragment,i),l=!0)},o(i){S(e.$$.fragment,i),S(r.$$.fragment,i),S(n.$$.fragment,i),l=!1},d(i){H(e,i),i&&h(t),H(r,i),i&&h(s),H(n,i)}}}function ln(a){let e,t,r,s,n,l,i,p,u,c,f,d,E,M,G,z,X,se,B,x,Y,P,o,$,_,y,Z;return d=new qt({}),G=new ye({props:{$$slots:{default:[xt,({Heading:g,Link:A})=>({1:g,2:A}),({Heading:g,Link:A})=>(g?2:0)|(A?4:0)]},$$scope:{ctx:a}}}),X=new ye({props:{$$slots:{default:[tn,({Heading:g,Link:A})=>({1:g,2:A}),({Heading:g,Link:A})=>(g?2:0)|(A?4:0)]},$$scope:{ctx:a}}}),B=new ye({props:{$$slots:{default:[an,({Heading:g,Link:A})=>({1:g,2:A}),({Heading:g,Link:A})=>(g?2:0)|(A?4:0)]},$$scope:{ctx:a}}}),y=new Ze({props:{class:"w-6 h-6"}}),{c(){e=C("aside"),t=C("header"),r=C("span"),s=C("img"),l=K(),i=C("span"),p=J("T18S"),u=K(),c=C("div"),f=K(),I(d.$$.fragment),E=K(),M=C("nav"),I(G.$$.fragment),z=K(),I(X.$$.fragment),se=K(),I(B.$$.fragment),x=K(),Y=C("footer"),P=C("a"),o=C("span"),$=J("View on Github"),_=K(),I(y.$$.fragment),this.h()},l(g){e=O(g,"ASIDE",{role:!0,class:!0});var A=T(e);t=O(A,"HEADER",{});var F=T(t);r=O(F,"SPAN",{class:!0});var ae=T(r);s=O(ae,"IMG",{src:!0,alt:!0,class:!0}),l=D(ae),i=O(ae,"SPAN",{class:!0});var ie=T(i);p=Q(ie,"T18S"),ie.forEach(h),ae.forEach(h),u=D(F),c=O(F,"DIV",{class:!0}),T(c).forEach(h),f=D(F),R(d.$$.fragment,F),F.forEach(h),E=D(A),M=O(A,"NAV",{class:!0});var le=T(M);R(G.$$.fragment,le),z=D(le),R(X.$$.fragment,le),se=D(le),R(B.$$.fragment,le),le.forEach(h),x=D(A),Y=O(A,"FOOTER",{});var be=T(Y);P=O(be,"A",{class:!0,href:!0,target:!0});var he=T(P);o=O(he,"SPAN",{class:!0});var ve=T(o);$=Q(ve,"View on Github"),ve.forEach(h),_=D(he),R(y.$$.fragment,he),he.forEach(h),be.forEach(h),A.forEach(h),this.h()},h(){De(s.src,n="/icon.svg")||m(s,"src",n),m(s,"alt","t18s"),m(s,"class","w-8 h-8"),m(i,"class","text-lg font-bold text-gray-950"),m(r,"class","flex gap-2 items-center"),m(c,"class","my-12"),m(M,"class","grid gap-8"),m(o,"class","sr-only"),m(P,"class","text-gray-300 hover:text-gray-500"),m(P,"href","https://github.com/LorisSigrist/t18s"),m(P,"target","_blank"),m(e,"role","navigation"),m(e,"class","hidden md:flex flex-col max-w-lg gap-8 overflow-y-auto pt-16 px-8")},m(g,A){v(g,e,A),w(e,t),w(t,r),w(r,s),w(r,l),w(r,i),w(i,p),w(t,u),w(t,c),w(t,f),j(d,t,null),w(e,E),w(e,M),j(G,M,null),w(M,z),j(X,M,null),w(M,se),j(B,M,null),w(e,x),w(e,Y),w(Y,P),w(P,o),w(o,$),w(P,_),j(y,P,null),Z=!0},p(g,[A]){const F={};A&9&&(F.$$scope={dirty:A,ctx:g}),G.$set(F);const ae={};A&9&&(ae.$$scope={dirty:A,ctx:g}),X.$set(ae);const ie={};A&9&&(ie.$$scope={dirty:A,ctx:g}),B.$set(ie)},i(g){Z||(k(d.$$.fragment,g),k(G.$$.fragment,g),k(X.$$.fragment,g),k(B.$$.fragment,g),k(y.$$.fragment,g),Z=!0)},o(g){S(d.$$.fragment,g),S(G.$$.fragment,g),S(X.$$.fragment,g),S(B.$$.fragment,g),S(y.$$.fragment,g),Z=!1},d(g){g&&h(e),H(d),H(G),H(X),H(B),H(y)}}}function fn(a,e,t){let r;return Ne(a,Ie,s=>t(0,r=s)),[r]}class on extends ee{constructor(e){super(),te(this,e,fn,ln,ne,{})}}function un(a){let e,t,r,s,n,l,i,p;t=new on({}),s=new Pt({});const u=a[1].default,c=ce(u,a,a[0],null);return{c(){e=C("div"),I(t.$$.fragment),r=K(),I(s.$$.fragment),n=K(),l=C("main"),i=C("div"),c&&c.c(),this.h()},l(f){e=O(f,"DIV",{class:!0});var d=T(e);R(t.$$.fragment,d),r=D(d),R(s.$$.fragment,d),n=D(d),l=O(d,"MAIN",{class:!0});var E=T(l);i=O(E,"DIV",{class:!0});var M=T(i);c&&c.l(M),M.forEach(h),E.forEach(h),d.forEach(h),this.h()},h(){m(i,"class","prose"),m(l,"class","w-full h-full overflow-y-auto p-4 pt-12 sm:pt-16"),m(e,"class","fixed inset-0 flex flex-col-reverse md:flex-row gap-x-8 lg:gap-x-24")},m(f,d){v(f,e,d),j(t,e,null),w(e,r),j(s,e,null),w(e,n),w(e,l),w(l,i),c&&c.m(i,null),p=!0},p(f,[d]){c&&c.p&&(!p||d&1)&&pe(c,u,f,f[0],p?de(u,f[0],d,null):$e(f[0]),null)},i(f){p||(k(t.$$.fragment,f),k(s.$$.fragment,f),k(c,f),p=!0)},o(f){S(t.$$.fragment,f),S(s.$$.fragment,f),S(c,f),p=!1},d(f){f&&h(e),H(t),H(s),c&&c.d(f)}}}function cn(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class _n extends ee{constructor(e){super(),te(this,e,cn,un,ne,{})}}export{_n as component}; diff --git a/_app/immutable/nodes/2.eba3dc72.js b/_app/immutable/nodes/2.eba3dc72.js new file mode 100644 index 0000000..d5e7987 --- /dev/null +++ b/_app/immutable/nodes/2.eba3dc72.js @@ -0,0 +1,5 @@ +import{S as ee,i as te,s as ne,M as re,N as Ae,O as Me,m as T,h,P as me,b as v,Q as Pe,E as ue,R as ge,I as ce,k as C,l as O,n as m,D as w,J as pe,K as $e,L as de,g as k,d as S,a as K,q as Z,c as D,r as J,T as De,U as we,V as Ge,v as Se,f as Ee,W as Ve,X as Ue,F as Ne,y as I,z as R,A as j,B as H,Y as Ce,Z as ze,_ as Xe,$ as xe}from"../chunks/index.90d50ca5.js";import{m as ke}from"../chunks/class-merge.a51d4999.js";import{p as Ie}from"../chunks/stores.b0221e88.js";import{g as Ye}from"../chunks/_commonjsHelpers.725317a4.js";import{G as Ze}from"../chunks/github.9c21d12c.js";function Je(a){let e,t='',r=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],s={};for(let n=0;n{t(0,e=re(re({},e),ge(r)))},e=ge(e),[e]}class We extends ee{constructor(e){super(),te(this,e,Qe,Je,ne,{})}}function Fe(a){let e,t='',r=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],s={};for(let n=0;n{t(0,e=re(re({},e),ge(r)))},e=ge(e),[e]}class tt extends ee{constructor(e){super(),te(this,e,et,Fe,ne,{})}}function nt(a){let e,t,r,s;const n=a[3].default,l=ce(n,a,a[2],null);return{c(){e=C("a"),t=C("span"),l&&l.c(),this.h()},l(i){e=O(i,"A",{href:!0,class:!0});var p=T(e);t=O(p,"SPAN",{class:!0});var u=T(t);l&&l.l(u),u.forEach(h),p.forEach(h),this.h()},h(){m(t,"class","truncate"),m(e,"href",a[1]),m(e,"class",r=ke("flex justify-between gap-2 py-2 px-2 rounded-md text-sm transition text-zinc-600 hover:text-zinc-900",a[0]&&"bg-orange-50"))},m(i,p){v(i,e,p),w(e,t),l&&l.m(t,null),s=!0},p(i,[p]){l&&l.p&&(!s||p&4)&&pe(l,n,i,i[2],s?de(n,i[2],p,null):$e(i[2]),null),(!s||p&2)&&m(e,"href",i[1]),(!s||p&1&&r!==(r=ke("flex justify-between gap-2 py-2 px-2 rounded-md text-sm transition text-zinc-600 hover:text-zinc-900",i[0]&&"bg-orange-50")))&&m(e,"class",r)},i(i){s||(k(l,i),s=!0)},o(i){S(l,i),s=!1},d(i){i&&h(e),l&&l.d(i)}}}function rt(a,e,t){let{$$slots:r={},$$scope:s}=e,{active:n=!1}=e,{href:l="#"}=e;return a.$$set=i=>{"active"in i&&t(0,n=i.active),"href"in i&&t(1,l=i.href),"$$scope"in i&&t(2,s=i.$$scope)},[n,l,s,r]}class st extends ee{constructor(e){super(),te(this,e,rt,nt,ne,{active:0,href:1})}}function at(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],null);return{c(){e=C("h3"),s&&s.c(),this.h()},l(n){e=O(n,"H3",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","uppercase font-bold text-gray-500 text-sm py-2")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,null):$e(n[0]),null)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function lt(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class it extends ee{constructor(e){super(),te(this,e,lt,at,ne,{})}}const ft=a=>({}),Oe=a=>({Link:st,Heading:it});function ot(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],Oe);return{c(){e=C("div"),s&&s.c(),this.h()},l(n){e=O(n,"DIV",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","grid")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,ft):$e(n[0]),Oe)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function ut(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class ct extends ee{constructor(e){super(),te(this,e,ut,ot,ne,{})}}var Re={exports:{}};(function(a){(function(e,t,r){if(!e)return;for(var s={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},n={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},l={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},i={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},p,u=1;u<20;++u)s[111+u]="f"+u;for(u=0;u<=9;++u)s[u+96]=u.toString();function c(o,$,_){if(o.addEventListener){o.addEventListener($,_,!1);return}o.attachEvent("on"+$,_)}function f(o){if(o.type=="keypress"){var $=String.fromCharCode(o.which);return o.shiftKey||($=$.toLowerCase()),$}return s[o.which]?s[o.which]:n[o.which]?n[o.which]:String.fromCharCode(o.which).toLowerCase()}function d(o,$){return o.sort().join(",")===$.sort().join(",")}function E(o){var $=[];return o.shiftKey&&$.push("shift"),o.altKey&&$.push("alt"),o.ctrlKey&&$.push("ctrl"),o.metaKey&&$.push("meta"),$}function M(o){if(o.preventDefault){o.preventDefault();return}o.returnValue=!1}function G(o){if(o.stopPropagation){o.stopPropagation();return}o.cancelBubble=!0}function z(o){return o=="shift"||o=="ctrl"||o=="alt"||o=="meta"}function X(){if(!p){p={};for(var o in s)o>95&&o<112||s.hasOwnProperty(o)&&(p[s[o]]=o)}return p}function se(o,$,_){return _||(_=X()[o]?"keydown":"keypress"),_=="keypress"&&$.length&&(_="keydown"),_}function B(o){return o==="+"?["+"]:(o=o.replace(/\+{2}/g,"+plus"),o.split("+"))}function W(o,$){var _,y,Y,g=[];for(_=B(o),Y=0;Y<_.length;++Y)y=_[Y],i[y]&&(y=i[y]),$&&$!="keypress"&&l[y]&&(y=l[y],g.push("shift")),z(y)&&g.push(y);return $=se(y,g,$),{key:y,modifiers:g,action:$}}function x(o,$){return o===null||o===t?!1:o===$?!0:x(o.parentNode,$)}function P(o){var $=this;if(o=o||t,!($ instanceof P))return new P(o);$.target=o,$._callbacks={},$._directMap={};var _={},y,Y=!1,g=!1,A=!1;function F(b){b=b||{};var q=!1,N;for(N in _){if(b[N]){q=!0;continue}_[N]=0}q||(A=!1)}function ae(b,q,N,L,U,fe){var V,Q,_e=[],oe=N.type;if(!$._callbacks[b])return[];for(oe=="keyup"&&z(b)&&(q=[b]),V=0;V<$._callbacks[b].length;++V)if(Q=$._callbacks[b][V],!(!L&&Q.seq&&_[Q.seq]!=Q.level)&&oe==Q.action&&(oe=="keypress"&&!N.metaKey&&!N.ctrlKey||d(q,Q.modifiers))){var je=!L&&Q.combo==U,He=L&&Q.seq==L&&Q.level==fe;(je||He)&&$._callbacks[b].splice(V,1),_e.push(Q)}return _e}function ie(b,q,N,L){$.stopCallback(q,q.target||q.srcElement,N,L)||b(q,N)===!1&&(M(q),G(q))}$._handleKey=function(b,q,N){var L=ae(b,q,N),U,fe={},V=0,Q=!1;for(U=0;U1){he(b,fe,q,N);return}V=W(b,N),$._callbacks[V.key]=$._callbacks[V.key]||[],ae(V.key,V.modifiers,{type:V.action},L,b,U),$._callbacks[V.key][L?"unshift":"push"]({callback:q,modifiers:V.modifiers,action:V.action,seq:L,level:U,combo:b})}$._bindMultiple=function(b,q,N){for(var L=0;L-1||x($,_.target))return!1;if("composedPath"in o&&typeof o.composedPath=="function"){var y=o.composedPath()[0];y!==o.target&&($=y)}return $.tagName=="INPUT"||$.tagName=="SELECT"||$.tagName=="TEXTAREA"||$.isContentEditable},P.prototype.handleKey=function(){var o=this;return o._handleKey.apply(o,arguments)},P.addKeycodes=function(o){for(var $ in o)o.hasOwnProperty($)&&(s[$]=o[$]);p=null},P.init=function(){var o=P(t);for(var $ in o)$.charAt(0)!=="_"&&(P[$]=function(_){return function(){return o[_].apply(o,arguments)}}($))},P.init(),e.Mousetrap=P,a.exports&&(a.exports=P),typeof r=="function"&&r.amd&&r(function(){return P})})(typeof window<"u"?window:null,typeof window<"u"?document:null)})(Re);var pt=Re.exports;const Te=Ye(pt);function $t(a){return(...e)=>a.reduce((t,r)=>t=[r(...t)],e||[])}function dt(a){let e=document.defaultView.getComputedStyle(a,null);return e.getPropertyValue("display")!=="none"&&e.getPropertyValue("visibility")!=="hidden"}const ht=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'];function _t(a){const e={"alt+tab":i,end:u,home:p,"shift+tab":i,down:l,tab:l,up:i};Object.entries(e).forEach(([c,f])=>{Te.bind(c,$t([d=>({event:d}),t,r,s,n,f]))});function t(c){return c.event.preventDefault(),c}function r(c){return c.event.stopPropagation(),c}function s(c){let f=[...a.querySelectorAll(ht)];return{...c,allFocusableItems:f.filter(dt)}}function n(c){let f=document.activeElement;return f&&!a.contains(f)?c:{...c,currentlyFocusedItem:f}}function l({allFocusableItems:c,currentlyFocusedItem:f}){if(!f){c[0]&&c[0].focus();return}let d=c.indexOf(f);if(c.length-1===d){c[0]&&c[0].focus();return}c[d+1]&&c[d+1].focus()}function i({allFocusableItems:c,currentlyFocusedItem:f}){if(!f){c[c.length-1].focus();return}let d=c.indexOf(f);if(d===0){c[c.length-1]&&c[c.length-1].focus();return}c[d-1]&&c[d-1].focus()}function p({allFocusableItems:c}){c[0]&&c[0].focus()}function u({allFocusableItems:c}){c[c.length-1].focus()}return{destroy(){Object.keys(e).forEach(c=>Te.unbind(c))}}}function mt(a,e){let t=null;function r(s){if(s){const{destroy:n}=_t(a);t=n}else t&&t(),t=null}return r(e),{update:r,destroy(){t&&t(),t=null}}}function Le(a){let e,t,r;return{c(){e=C("div"),this.h()},l(s){e=O(s,"DIV",{class:!0}),T(e).forEach(h),this.h()},h(){m(e,"class","fixed inset-0 bg-black bg-opacity-30 z-40 md:hidden")},m(s,n){v(s,e,n),t||(r=we(e,"click",a[2]),t=!0)},p:ue,d(s){s&&h(e),t=!1,r()}}}function gt(a){let e,t;return e=new We({props:{class:"w-6 h-6"}}),{c(){I(e.$$.fragment)},l(r){R(e.$$.fragment,r)},m(r,s){j(e,r,s),t=!0},i(r){t||(k(e.$$.fragment,r),t=!0)},o(r){S(e.$$.fragment,r),t=!1},d(r){H(e,r)}}}function vt(a){let e,t;return e=new tt({props:{class:"w-6 h-6"}}),{c(){I(e.$$.fragment)},l(r){R(e.$$.fragment,r)},m(r,s){j(e,r,s),t=!0},i(r){t||(k(e.$$.fragment,r),t=!0)},o(r){S(e.$$.fragment,r),t=!1},d(r){H(e,r)}}}function Be(a){let e,t,r,s,n;return t=new ct({props:{$$slots:{default:[Et,({Link:l,Heading:i})=>({5:l,6:i}),({Link:l,Heading:i})=>(l?32:0)|(i?64:0)]},$$scope:{ctx:a}}}),{c(){e=C("nav"),I(t.$$.fragment),this.h()},l(l){e=O(l,"NAV",{class:!0});var i=T(e);R(t.$$.fragment,i),i.forEach(h),this.h()},h(){m(e,"class","absolute grid gap-2 top-0 left-0 -translate-y-full bg-white rounded-t-lg border-t w-full p-4 max-h-96 overflow-y-auto")},m(l,i){v(l,e,i),j(t,e,null),r=!0,s||(n=we(e,"click",a[4]),s=!0)},p(l,i){const p={};i&130&&(p.$$scope={dirty:i,ctx:l}),t.$set(p)},i(l){r||(k(t.$$.fragment,l),r=!0)},o(l){S(t.$$.fragment,l),r=!1},d(l){l&&h(e),H(t),s=!1,n()}}}function bt(a){let e;return{c(){e=Z("Getting Started")},l(t){e=J(t,"Getting Started")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function kt(a){let e;return{c(){e=Z("Installation")},l(t){e=J(t,"Installation")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function wt(a){let e;return{c(){e=Z("Setting Up")},l(t){e=J(t,"Setting Up")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function yt(a){let e;return{c(){e=Z("Roadmap")},l(t){e=J(t,"Roadmap")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function St(a){let e;return{c(){e=Z("Syntax")},l(t){e=J(t,"Syntax")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Et(a){let e,t,r,s,n,l,i,p,u,c;return e=new a[6]({props:{$$slots:{default:[bt]},$$scope:{ctx:a}}}),r=new a[5]({props:{href:"/",active:a[1].url.pathname==="/",$$slots:{default:[kt]},$$scope:{ctx:a}}}),n=new a[5]({props:{href:"/getting-started",active:a[1].url.pathname==="/getting-started",$$slots:{default:[wt]},$$scope:{ctx:a}}}),i=new a[5]({props:{href:"/roadmap",active:a[1].url.pathname==="/roadmap",$$slots:{default:[yt]},$$scope:{ctx:a}}}),u=new a[5]({props:{href:"/syntax",active:a[1].url.pathname==="/syntax",$$slots:{default:[St]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment),s=K(),I(n.$$.fragment),l=K(),I(i.$$.fragment),p=K(),I(u.$$.fragment)},l(f){R(e.$$.fragment,f),t=D(f),R(r.$$.fragment,f),s=D(f),R(n.$$.fragment,f),l=D(f),R(i.$$.fragment,f),p=D(f),R(u.$$.fragment,f)},m(f,d){j(e,f,d),v(f,t,d),j(r,f,d),v(f,s,d),j(n,f,d),v(f,l,d),j(i,f,d),v(f,p,d),j(u,f,d),c=!0},p(f,d){const E={};d&128&&(E.$$scope={dirty:d,ctx:f}),e.$set(E);const M={};d&2&&(M.active=f[1].url.pathname==="/"),d&128&&(M.$$scope={dirty:d,ctx:f}),r.$set(M);const G={};d&2&&(G.active=f[1].url.pathname==="/getting-started"),d&128&&(G.$$scope={dirty:d,ctx:f}),n.$set(G);const z={};d&2&&(z.active=f[1].url.pathname==="/roadmap"),d&128&&(z.$$scope={dirty:d,ctx:f}),i.$set(z);const X={};d&2&&(X.active=f[1].url.pathname==="/syntax"),d&128&&(X.$$scope={dirty:d,ctx:f}),u.$set(X)},i(f){c||(k(e.$$.fragment,f),k(r.$$.fragment,f),k(n.$$.fragment,f),k(i.$$.fragment,f),k(u.$$.fragment,f),c=!0)},o(f){S(e.$$.fragment,f),S(r.$$.fragment,f),S(n.$$.fragment,f),S(i.$$.fragment,f),S(u.$$.fragment,f),c=!1},d(f){H(e,f),f&&h(t),H(r,f),f&&h(s),H(n,f),f&&h(l),H(i,f),f&&h(p),H(u,f)}}}function At(a){let e,t,r,s,n,l,i,p,u,c,f,d,E,M,G,z,X,se,B=a[0]&&Le(a);const W=[vt,gt],x=[];function P($,_){return $[0]?0:1}d=P(a),E=x[d]=W[d](a);let o=a[0]&&Be(a);return{c(){B&&B.c(),e=K(),t=C("header"),r=C("div"),s=C("a"),n=C("img"),i=K(),p=C("span"),u=Z("T18S"),c=K(),f=C("button"),E.c(),M=K(),o&&o.c(),this.h()},l($){B&&B.l($),e=D($),t=O($,"HEADER",{class:!0});var _=T(t);r=O(_,"DIV",{class:!0});var y=T(r);s=O(y,"A",{class:!0,href:!0});var Y=T(s);n=O(Y,"IMG",{src:!0,alt:!0,class:!0}),i=D(Y),p=O(Y,"SPAN",{class:!0});var g=T(p);u=J(g,"T18S"),g.forEach(h),Y.forEach(h),c=D(y),f=O(y,"BUTTON",{});var A=T(f);E.l(A),A.forEach(h),y.forEach(h),M=D(_),o&&o.l(_),_.forEach(h),this.h()},h(){De(n.src,l="/icon.svg")||m(n,"src",l),m(n,"alt","t18s"),m(n,"class","w-6 h-6"),m(p,"class","font-semibold"),m(s,"class","flex gap-2"),m(s,"href","/"),m(r,"class","flex p-4 border-t items-center justify-between z-50 bg-white"),m(t,"class","block md:hidden relative z-50")},m($,_){B&&B.m($,_),v($,e,_),v($,t,_),w(t,r),w(r,s),w(s,n),w(s,i),w(s,p),w(p,u),w(r,c),w(r,f),x[d].m(f,null),w(t,M),o&&o.m(t,null),z=!0,X||(se=[we(f,"click",a[3]),Ge(G=mt.call(null,t,a[0]))],X=!0)},p($,[_]){$[0]?B?B.p($,_):(B=Le($),B.c(),B.m(e.parentNode,e)):B&&(B.d(1),B=null);let y=d;d=P($),d!==y&&(Se(),S(x[y],1,1,()=>{x[y]=null}),Ee(),E=x[d],E||(E=x[d]=W[d]($),E.c()),k(E,1),E.m(f,null)),$[0]?o?(o.p($,_),_&1&&k(o,1)):(o=Be($),o.c(),k(o,1),o.m(t,null)):o&&(Se(),S(o,1,1,()=>{o=null}),Ee()),G&&Ve(G.update)&&_&1&&G.update.call(null,$[0])},i($){z||(k(E),k(o),z=!0)},o($){S(E),S(o),z=!1},d($){B&&B.d($),$&&h(e),$&&h(t),x[d].d(),o&&o.d(),X=!1,Ue(se)}}}function Mt(a,e,t){let r;Ne(a,Ie,p=>t(1,r=p));let s=!1;return[s,r,()=>t(0,s=!1),()=>t(0,s=!s),()=>t(0,s=!1)]}class Pt extends ee{constructor(e){super(),te(this,e,Mt,At,ne,{})}}function Ct(a){let e,t='',r=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},a[0]],s={};for(let n=0;n{t(0,e=re(re({},e),ge(r)))},e=ge(e),[e]}class Tt extends ee{constructor(e){super(),te(this,e,Ot,Ct,ne,{})}}function Lt(a){let e,t,r,s,n,l,i,p,u,c;return t=new Tt({props:{class:"text-gray-400 w-4 h-4 min-w-max"}}),{c(){e=C("label"),I(t.$$.fragment),r=K(),s=C("span"),n=Z("Search"),l=K(),i=C("input"),this.h()},l(f){e=O(f,"LABEL",{class:!0});var d=T(e);R(t.$$.fragment,d),r=D(d),s=O(d,"SPAN",{class:!0});var E=T(s);n=J(E,"Search"),E.forEach(h),l=D(d),i=O(d,"INPUT",{type:!0,class:!0,placeholder:!0}),d.forEach(h),this.h()},h(){m(s,"class","sr-only"),m(i,"type","text"),m(i,"class","bg-transparent py-2 pe-2 focus-within:outline-none placeholder:text-gray-400"),m(i,"placeholder","Search"),m(e,"class","flex gap-2 bg-gray-100 text-gray-800 pl-4 rounded-md items-center focus-within:ring-2 ring-orange-600")},m(f,d){v(f,e,d),j(t,e,null),w(e,r),w(e,s),w(s,n),w(e,l),w(e,i),Ce(i,a[0]),p=!0,u||(c=we(i,"input",a[1]),u=!0)},p(f,[d]){d&1&&i.value!==f[0]&&Ce(i,f[0])},i(f){p||(k(t.$$.fragment,f),p=!0)},o(f){S(t.$$.fragment,f),p=!1},d(f){f&&h(e),H(t),u=!1,c()}}}function Bt(a,e,t){let{query:r=""}=e;function s(){r=this.value,t(0,r)}return a.$$set=n=>{"query"in n&&t(0,r=n.query)},[r,s]}class qt extends ee{constructor(e){super(),te(this,e,Bt,Lt,ne,{query:0})}}function Kt(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],null);return{c(){e=C("h3"),s&&s.c(),this.h()},l(n){e=O(n,"H3",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","uppercase font-bold text-gray-500 text-sm")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,null):$e(n[0]),null)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function Dt(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class Vt extends ee{constructor(e){super(),te(this,e,Dt,Kt,ne,{})}}function Nt(a){return a<.5?4*a*a*a:.5*Math.pow(2*a-2,3)+1}function It(a){const e=a-1;return e*e*e+1}function Rt(a,e){var t={};for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&e.indexOf(r)<0&&(t[r]=a[r]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,r=Object.getOwnPropertySymbols(a);sMath.sqrt(o)*30,easing:d=It}=re(re({},t),u),E=i.getBoundingClientRect(),M=p.getBoundingClientRect(),G=E.left-M.left,z=E.top-M.top,X=E.width/M.width,se=E.height/M.height,B=Math.sqrt(G*G+z*z),W=getComputedStyle(p),x=W.transform==="none"?"":W.transform,P=+W.opacity;return{delay:c,duration:Ve(f)?f(B):f,easing:d,css:(o,$)=>` + opacity: ${o*P}; + transform-origin: top left; + transform: ${x} translate(${$*G}px,${$*z}px) scale(${o+(1-o)*X}, ${o+(1-o)*se}); + `}}function l(i,p,u){return(c,f)=>(i.set(f.key,c),()=>{if(p.has(f.key)){const d=p.get(f.key);return p.delete(f.key),n(d,c,f)}return i.delete(f.key),e&&e(c,f,u)})}return[l(s,r,!1),l(r,s,!0)]}function qe(a){let e,t,r,s;return{c(){e=C("span"),this.h()},l(n){e=O(n,"SPAN",{class:!0}),T(e).forEach(h),this.h()},h(){m(e,"class","absolute top-1/2 left-0 w-1.5 h-1.5 -translate-y-1/2 -translate-x-4 rounded-full bg-orange-500")},m(n,l){v(n,e,l),s=!0},i(n){s||(ze(()=>{s&&(r&&r.end(1),t=Xe(e,a[2],{key:"sidebar-link-active-indicator"}),t.start())}),s=!0)},o(n){t&&t.invalidate(),r=xe(e,a[3],{key:"sidebar-link-active-indicator"}),s=!1},d(n){n&&h(e),n&&r&&r.end()}}}function Ht(a){let e,t,r,s;const n=a[5].default,l=ce(n,a,a[4],null);let i=a[0]&&qe(a);return{c(){e=C("a"),l&&l.c(),t=K(),i&&i.c(),this.h()},l(p){e=O(p,"A",{class:!0,"data-sveltekit-keepfocus":!0,href:!0});var u=T(e);l&&l.l(u),t=D(u),i&&i.l(u),u.forEach(h),this.h()},h(){m(e,"class",r=ke("text-gray-700 relative outline-orange-400 hover:bg-orange-50 py-2 rounded-md",a[0]&&"font-semibold")),m(e,"data-sveltekit-keepfocus",""),m(e,"href",a[1])},m(p,u){v(p,e,u),l&&l.m(e,null),w(e,t),i&&i.m(e,null),s=!0},p(p,[u]){l&&l.p&&(!s||u&16)&&pe(l,n,p,p[4],s?de(n,p[4],u,null):$e(p[4]),null),p[0]?i?u&1&&k(i,1):(i=qe(p),i.c(),k(i,1),i.m(e,null)):i&&(Se(),S(i,1,1,()=>{i=null}),Ee()),(!s||u&1&&r!==(r=ke("text-gray-700 relative outline-orange-400 hover:bg-orange-50 py-2 rounded-md",p[0]&&"font-semibold")))&&m(e,"class",r),(!s||u&2)&&m(e,"href",p[1])},i(p){s||(k(l,p),k(i),s=!0)},o(p){S(l,p),S(i),s=!1},d(p){p&&h(e),l&&l.d(p),i&&i.d()}}}function Gt(a,e,t){let{$$slots:r={},$$scope:s}=e,{active:n=!1}=e,{href:l}=e;const[i,p]=jt({duration:250,easing:Nt});return a.$$set=u=>{"active"in u&&t(0,n=u.active),"href"in u&&t(1,l=u.href),"$$scope"in u&&t(4,s=u.$$scope)},[n,l,i,p,s,r]}class Ut extends ee{constructor(e){super(),te(this,e,Gt,Ht,ne,{active:0,href:1})}}const zt=a=>({}),Ke=a=>({Heading:Vt,Link:Ut});function Xt(a){let e,t;const r=a[1].default,s=ce(r,a,a[0],Ke);return{c(){e=C("div"),s&&s.c(),this.h()},l(n){e=O(n,"DIV",{class:!0});var l=T(e);s&&s.l(l),l.forEach(h),this.h()},h(){m(e,"class","grid")},m(n,l){v(n,e,l),s&&s.m(e,null),t=!0},p(n,[l]){s&&s.p&&(!t||l&1)&&pe(s,r,n,n[0],t?de(r,n[0],l,zt):$e(n[0]),Ke)},i(n){t||(k(s,n),t=!0)},o(n){S(s,n),t=!1},d(n){n&&h(e),s&&s.d(n)}}}function xt(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class ye extends ee{constructor(e){super(),te(this,e,xt,Xt,ne,{})}}function Yt(a){let e;return{c(){e=Z("Getting Started")},l(t){e=J(t,"Getting Started")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Zt(a){let e;return{c(){e=Z("Installation")},l(t){e=J(t,"Installation")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Jt(a){let e;return{c(){e=Z("Setting Up")},l(t){e=J(t,"Setting Up")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Qt(a){let e;return{c(){e=Z("Syntax")},l(t){e=J(t,"Syntax")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function Wt(a){let e,t,r,s,n,l,i,p;return e=new a[1]({props:{$$slots:{default:[Yt]},$$scope:{ctx:a}}}),r=new a[2]({props:{href:"/",active:a[0].url.pathname==="/",$$slots:{default:[Zt]},$$scope:{ctx:a}}}),n=new a[2]({props:{href:"/getting-started",active:a[0].url.pathname==="/getting-started",$$slots:{default:[Jt]},$$scope:{ctx:a}}}),i=new a[2]({props:{href:"/syntax",active:a[0].url.pathname==="/syntax",$$slots:{default:[Qt]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment),s=K(),I(n.$$.fragment),l=K(),I(i.$$.fragment)},l(u){R(e.$$.fragment,u),t=D(u),R(r.$$.fragment,u),s=D(u),R(n.$$.fragment,u),l=D(u),R(i.$$.fragment,u)},m(u,c){j(e,u,c),v(u,t,c),j(r,u,c),v(u,s,c),j(n,u,c),v(u,l,c),j(i,u,c),p=!0},p(u,c){const f={};c&8&&(f.$$scope={dirty:c,ctx:u}),e.$set(f);const d={};c&1&&(d.active=u[0].url.pathname==="/"),c&8&&(d.$$scope={dirty:c,ctx:u}),r.$set(d);const E={};c&1&&(E.active=u[0].url.pathname==="/getting-started"),c&8&&(E.$$scope={dirty:c,ctx:u}),n.$set(E);const M={};c&1&&(M.active=u[0].url.pathname==="/syntax"),c&8&&(M.$$scope={dirty:c,ctx:u}),i.$set(M)},i(u){p||(k(e.$$.fragment,u),k(r.$$.fragment,u),k(n.$$.fragment,u),k(i.$$.fragment,u),p=!0)},o(u){S(e.$$.fragment,u),S(r.$$.fragment,u),S(n.$$.fragment,u),S(i.$$.fragment,u),p=!1},d(u){H(e,u),u&&h(t),H(r,u),u&&h(s),H(n,u),u&&h(l),H(i,u)}}}function Ft(a){let e;return{c(){e=Z("Best Practices")},l(t){e=J(t,"Best Practices")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function en(a){let e;return{c(){e=Z("SEO")},l(t){e=J(t,"SEO")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function tn(a){let e,t,r,s;return e=new a[1]({props:{$$slots:{default:[Ft]},$$scope:{ctx:a}}}),r=new a[2]({props:{href:"/seo",active:a[0].url.pathname==="/seo",$$slots:{default:[en]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment)},l(n){R(e.$$.fragment,n),t=D(n),R(r.$$.fragment,n)},m(n,l){j(e,n,l),v(n,t,l),j(r,n,l),s=!0},p(n,l){const i={};l&8&&(i.$$scope={dirty:l,ctx:n}),e.$set(i);const p={};l&1&&(p.active=n[0].url.pathname==="/seo"),l&8&&(p.$$scope={dirty:l,ctx:n}),r.$set(p)},i(n){s||(k(e.$$.fragment,n),k(r.$$.fragment,n),s=!0)},o(n){S(e.$$.fragment,n),S(r.$$.fragment,n),s=!1},d(n){H(e,n),n&&h(t),H(r,n)}}}function nn(a){let e;return{c(){e=Z("Appendix")},l(t){e=J(t,"Appendix")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function rn(a){let e;return{c(){e=Z("Comparisons")},l(t){e=J(t,"Comparisons")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function sn(a){let e;return{c(){e=Z("Roadmap")},l(t){e=J(t,"Roadmap")},m(t,r){v(t,e,r)},d(t){t&&h(e)}}}function an(a){let e,t,r,s,n,l;return e=new a[1]({props:{$$slots:{default:[nn]},$$scope:{ctx:a}}}),r=new a[2]({props:{href:"/comparisons",active:a[0].url.pathname==="/comparisons",$$slots:{default:[rn]},$$scope:{ctx:a}}}),n=new a[2]({props:{href:"/roadmap",active:a[0].url.pathname==="/roadmap",$$slots:{default:[sn]},$$scope:{ctx:a}}}),{c(){I(e.$$.fragment),t=K(),I(r.$$.fragment),s=K(),I(n.$$.fragment)},l(i){R(e.$$.fragment,i),t=D(i),R(r.$$.fragment,i),s=D(i),R(n.$$.fragment,i)},m(i,p){j(e,i,p),v(i,t,p),j(r,i,p),v(i,s,p),j(n,i,p),l=!0},p(i,p){const u={};p&8&&(u.$$scope={dirty:p,ctx:i}),e.$set(u);const c={};p&1&&(c.active=i[0].url.pathname==="/comparisons"),p&8&&(c.$$scope={dirty:p,ctx:i}),r.$set(c);const f={};p&1&&(f.active=i[0].url.pathname==="/roadmap"),p&8&&(f.$$scope={dirty:p,ctx:i}),n.$set(f)},i(i){l||(k(e.$$.fragment,i),k(r.$$.fragment,i),k(n.$$.fragment,i),l=!0)},o(i){S(e.$$.fragment,i),S(r.$$.fragment,i),S(n.$$.fragment,i),l=!1},d(i){H(e,i),i&&h(t),H(r,i),i&&h(s),H(n,i)}}}function ln(a){let e,t,r,s,n,l,i,p,u,c,f,d,E,M,G,z,X,se,B,W,x,P,o,$,_,y,Y;return d=new qt({}),G=new ye({props:{$$slots:{default:[Wt,({Heading:g,Link:A})=>({1:g,2:A}),({Heading:g,Link:A})=>(g?2:0)|(A?4:0)]},$$scope:{ctx:a}}}),X=new ye({props:{$$slots:{default:[tn,({Heading:g,Link:A})=>({1:g,2:A}),({Heading:g,Link:A})=>(g?2:0)|(A?4:0)]},$$scope:{ctx:a}}}),B=new ye({props:{$$slots:{default:[an,({Heading:g,Link:A})=>({1:g,2:A}),({Heading:g,Link:A})=>(g?2:0)|(A?4:0)]},$$scope:{ctx:a}}}),y=new Ze({props:{class:"w-6 h-6"}}),{c(){e=C("aside"),t=C("header"),r=C("span"),s=C("img"),l=K(),i=C("span"),p=Z("T18S"),u=K(),c=C("div"),f=K(),I(d.$$.fragment),E=K(),M=C("nav"),I(G.$$.fragment),z=K(),I(X.$$.fragment),se=K(),I(B.$$.fragment),W=K(),x=C("footer"),P=C("a"),o=C("span"),$=Z("View on Github"),_=K(),I(y.$$.fragment),this.h()},l(g){e=O(g,"ASIDE",{role:!0,class:!0});var A=T(e);t=O(A,"HEADER",{});var F=T(t);r=O(F,"SPAN",{class:!0});var ae=T(r);s=O(ae,"IMG",{src:!0,alt:!0,class:!0}),l=D(ae),i=O(ae,"SPAN",{class:!0});var ie=T(i);p=J(ie,"T18S"),ie.forEach(h),ae.forEach(h),u=D(F),c=O(F,"DIV",{class:!0}),T(c).forEach(h),f=D(F),R(d.$$.fragment,F),F.forEach(h),E=D(A),M=O(A,"NAV",{class:!0});var le=T(M);R(G.$$.fragment,le),z=D(le),R(X.$$.fragment,le),se=D(le),R(B.$$.fragment,le),le.forEach(h),W=D(A),x=O(A,"FOOTER",{});var be=T(x);P=O(be,"A",{class:!0,href:!0,target:!0});var he=T(P);o=O(he,"SPAN",{class:!0});var ve=T(o);$=J(ve,"View on Github"),ve.forEach(h),_=D(he),R(y.$$.fragment,he),he.forEach(h),be.forEach(h),A.forEach(h),this.h()},h(){De(s.src,n="/icon.svg")||m(s,"src",n),m(s,"alt","t18s"),m(s,"class","w-8 h-8"),m(i,"class","text-lg font-bold text-gray-950"),m(r,"class","flex gap-2 items-center"),m(c,"class","my-12"),m(M,"class","grid gap-8"),m(o,"class","sr-only"),m(P,"class","text-gray-300 hover:text-gray-500"),m(P,"href","https://github.com/LorisSigrist/t18s"),m(P,"target","_blank"),m(e,"role","navigation"),m(e,"class","hidden md:flex flex-col max-w-lg gap-8 overflow-y-auto pt-16 px-8")},m(g,A){v(g,e,A),w(e,t),w(t,r),w(r,s),w(r,l),w(r,i),w(i,p),w(t,u),w(t,c),w(t,f),j(d,t,null),w(e,E),w(e,M),j(G,M,null),w(M,z),j(X,M,null),w(M,se),j(B,M,null),w(e,W),w(e,x),w(x,P),w(P,o),w(o,$),w(P,_),j(y,P,null),Y=!0},p(g,[A]){const F={};A&9&&(F.$$scope={dirty:A,ctx:g}),G.$set(F);const ae={};A&9&&(ae.$$scope={dirty:A,ctx:g}),X.$set(ae);const ie={};A&9&&(ie.$$scope={dirty:A,ctx:g}),B.$set(ie)},i(g){Y||(k(d.$$.fragment,g),k(G.$$.fragment,g),k(X.$$.fragment,g),k(B.$$.fragment,g),k(y.$$.fragment,g),Y=!0)},o(g){S(d.$$.fragment,g),S(G.$$.fragment,g),S(X.$$.fragment,g),S(B.$$.fragment,g),S(y.$$.fragment,g),Y=!1},d(g){g&&h(e),H(d),H(G),H(X),H(B),H(y)}}}function fn(a,e,t){let r;return Ne(a,Ie,s=>t(0,r=s)),[r]}class on extends ee{constructor(e){super(),te(this,e,fn,ln,ne,{})}}function un(a){let e,t,r,s,n,l,i,p;t=new on({}),s=new Pt({});const u=a[1].default,c=ce(u,a,a[0],null);return{c(){e=C("div"),I(t.$$.fragment),r=K(),I(s.$$.fragment),n=K(),l=C("main"),i=C("div"),c&&c.c(),this.h()},l(f){e=O(f,"DIV",{class:!0});var d=T(e);R(t.$$.fragment,d),r=D(d),R(s.$$.fragment,d),n=D(d),l=O(d,"MAIN",{class:!0});var E=T(l);i=O(E,"DIV",{class:!0});var M=T(i);c&&c.l(M),M.forEach(h),E.forEach(h),d.forEach(h),this.h()},h(){m(i,"class","prose"),m(l,"class","w-full h-full overflow-y-auto p-4 pt-12 sm:pt-16"),m(e,"class","fixed inset-0 flex flex-col-reverse md:flex-row gap-x-8 lg:gap-x-24")},m(f,d){v(f,e,d),j(t,e,null),w(e,r),j(s,e,null),w(e,n),w(e,l),w(l,i),c&&c.m(i,null),p=!0},p(f,[d]){c&&c.p&&(!p||d&1)&&pe(c,u,f,f[0],p?de(u,f[0],d,null):$e(f[0]),null)},i(f){p||(k(t.$$.fragment,f),k(s.$$.fragment,f),k(c,f),p=!0)},o(f){S(t.$$.fragment,f),S(s.$$.fragment,f),S(c,f),p=!1},d(f){f&&h(e),H(t),H(s),c&&c.d(f)}}}function cn(a,e,t){let{$$slots:r={},$$scope:s}=e;return a.$$set=n=>{"$$scope"in n&&t(0,s=n.$$scope)},[s,r]}class mn extends ee{constructor(e){super(),te(this,e,cn,un,ne,{})}}export{mn as component}; diff --git a/_app/immutable/nodes/3.63adfd28.js b/_app/immutable/nodes/3.1ff83407.js similarity index 78% rename from _app/immutable/nodes/3.63adfd28.js rename to _app/immutable/nodes/3.1ff83407.js index fa6f33a..ae9dd23 100644 --- a/_app/immutable/nodes/3.63adfd28.js +++ b/_app/immutable/nodes/3.1ff83407.js @@ -1 +1 @@ -import{S as a,i as s,s as c,y as m,z as u,A as i,E as l,g as p,d as f,B as _}from"../chunks/index.fb560467.js";import{N as g}from"../chunks/NotFoundPage.977f74ba.js";const d=!0,$=!1,v=Object.freeze(Object.defineProperty({__proto__:null,csr:$,prerender:d},Symbol.toStringTag,{value:"Module"}));function y(o){let e,n;return e=new g({}),{c(){m(e.$$.fragment)},l(t){u(e.$$.fragment,t)},m(t,r){i(e,t,r),n=!0},p:l,i(t){n||(p(e.$$.fragment,t),n=!0)},o(t){f(e.$$.fragment,t),n=!1},d(t){_(e,t)}}}class x extends a{constructor(e){super(),s(this,e,null,y,c,{})}}export{x as component,v as universal}; +import{S as a,i as s,s as c,y as m,z as u,A as i,E as l,g as p,d as f,B as _}from"../chunks/index.90d50ca5.js";import{N as g}from"../chunks/NotFoundPage.9f3bd46c.js";const d=!0,$=!1,v=Object.freeze(Object.defineProperty({__proto__:null,csr:$,prerender:d},Symbol.toStringTag,{value:"Module"}));function y(o){let e,n;return e=new g({}),{c(){m(e.$$.fragment)},l(t){u(e.$$.fragment,t)},m(t,r){i(e,t,r),n=!0},p:l,i(t){n||(p(e.$$.fragment,t),n=!0)},o(t){f(e.$$.fragment,t),n=!1},d(t){_(e,t)}}}class x extends a{constructor(e){super(),s(this,e,null,y,c,{})}}export{x as component,v as universal}; diff --git a/_app/immutable/nodes/4.6329451e.js b/_app/immutable/nodes/4.6329451e.js new file mode 100644 index 0000000..8d78025 --- /dev/null +++ b/_app/immutable/nodes/4.6329451e.js @@ -0,0 +1 @@ +import{S as z,i as A,s as B,y as p,a as d,z as u,c as b,A as l,b as w,g,d as i,B as c,h as v,E as C}from"../chunks/index.90d50ca5.js";import{C as q}from"../chunks/CodeGroup.56f46765.js";import{P}from"../chunks/Prism.42f81a6a.js";function E(f){let t,n;return t=new P({props:{code:"npm install --save-dev t18s",language:"bash"}}),{c(){p(t.$$.fragment)},l(e){u(t.$$.fragment,e)},m(e,s){l(t,e,s),n=!0},p:C,i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){i(t.$$.fragment,e),n=!1},d(e){c(t,e)}}}function G(f){let t,n;return t=new P({props:{code:"yarn add --dev t18s",language:"bash"}}),{c(){p(t.$$.fragment)},l(e){u(t.$$.fragment,e)},m(e,s){l(t,e,s),n=!0},p:C,i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){i(t.$$.fragment,e),n=!1},d(e){c(t,e)}}}function I(f){let t,n;return t=new P({props:{code:"pnpm add --save-dev t18s",language:"bash"}}),{c(){p(t.$$.fragment)},l(e){u(t.$$.fragment,e)},m(e,s){l(t,e,s),n=!0},p:C,i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){i(t.$$.fragment,e),n=!1},d(e){c(t,e)}}}function W(f){let t,n,e,s,$,a,m,_;return t=new f[0]({props:{title:"Installation"}}),e=new f[1]({props:{name:"npm",$$slots:{default:[E]},$$scope:{ctx:f}}}),$=new f[1]({props:{name:"yarn",$$slots:{default:[G]},$$scope:{ctx:f}}}),m=new f[1]({props:{name:"pnpm",$$slots:{default:[I]},$$scope:{ctx:f}}}),{c(){p(t.$$.fragment),n=d(),p(e.$$.fragment),s=d(),p($.$$.fragment),a=d(),p(m.$$.fragment)},l(r){u(t.$$.fragment,r),n=b(r),u(e.$$.fragment,r),s=b(r),u($.$$.fragment,r),a=b(r),u(m.$$.fragment,r)},m(r,o){l(t,r,o),w(r,n,o),l(e,r,o),w(r,s,o),l($,r,o),w(r,a,o),l(m,r,o),_=!0},p(r,o){const H={};o&4&&(H.$$scope={dirty:o,ctx:r}),e.$set(H);const S={};o&4&&(S.$$scope={dirty:o,ctx:r}),$.$set(S);const j={};o&4&&(j.$$scope={dirty:o,ctx:r}),m.$set(j)},i(r){_||(g(t.$$.fragment,r),g(e.$$.fragment,r),g($.$$.fragment,r),g(m.$$.fragment,r),_=!0)},o(r){i(t.$$.fragment,r),i(e.$$.fragment,r),i($.$$.fragment,r),i(m.$$.fragment,r),_=!1},d(r){c(t,r),r&&v(n),c(e,r),r&&v(s),c($,r),r&&v(a),c(m,r)}}}function k(f){let t,n;return t=new P({props:{code:"console.log('Hello World')",language:"javascript"}}),{c(){p(t.$$.fragment)},l(e){u(t.$$.fragment,e)},m(e,s){l(t,e,s),n=!0},p:C,i(e){n||(g(t.$$.fragment,e),n=!0)},o(e){i(t.$$.fragment,e),n=!1},d(e){c(t,e)}}}function D(f){let t,n,e,s;return t=new f[0]({props:{title:"Highlighting"}}),e=new f[1]({props:{$$slots:{default:[k]},$$scope:{ctx:f}}}),{c(){p(t.$$.fragment),n=d(),p(e.$$.fragment)},l($){u(t.$$.fragment,$),n=b($),u(e.$$.fragment,$)},m($,a){l(t,$,a),w($,n,a),l(e,$,a),s=!0},p($,a){const m={};a&4&&(m.$$scope={dirty:a,ctx:$}),e.$set(m)},i($){s||(g(t.$$.fragment,$),g(e.$$.fragment,$),s=!0)},o($){i(t.$$.fragment,$),i(e.$$.fragment,$),s=!1},d($){c(t,$),$&&v(n),c(e,$)}}}function F(f){let t,n,e,s;return t=new q({props:{$$slots:{default:[W,({Header:$,Tab:a})=>({0:$,1:a}),({Header:$,Tab:a})=>($?1:0)|(a?2:0)]},$$scope:{ctx:f}}}),e=new q({props:{$$slots:{default:[D,({Header:$,Tab:a})=>({0:$,1:a}),({Header:$,Tab:a})=>($?1:0)|(a?2:0)]},$$scope:{ctx:f}}}),{c(){p(t.$$.fragment),n=d(),p(e.$$.fragment)},l($){u(t.$$.fragment,$),n=b($),u(e.$$.fragment,$)},m($,a){l(t,$,a),w($,n,a),l(e,$,a),s=!0},p($,[a]){const m={};a&4&&(m.$$scope={dirty:a,ctx:$}),t.$set(m);const _={};a&4&&(_.$$scope={dirty:a,ctx:$}),e.$set(_)},i($){s||(g(t.$$.fragment,$),g(e.$$.fragment,$),s=!0)},o($){i(t.$$.fragment,$),i(e.$$.fragment,$),s=!1},d($){c(t,$),$&&v(n),c(e,$)}}}class M extends z{constructor(t){super(),A(this,t,null,F,B,{})}}export{M as component}; diff --git a/_app/immutable/nodes/4.7aa3a2fb.js b/_app/immutable/nodes/4.7aa3a2fb.js deleted file mode 100644 index 612054a..0000000 --- a/_app/immutable/nodes/4.7aa3a2fb.js +++ /dev/null @@ -1 +0,0 @@ -import{S as B,i as G,s as I,y as l,z as u,A as c,g as i,d as _,B as d,a as b,c as w,b as o,h as p,q as C,r as q}from"../chunks/index.fb560467.js";import{C as P}from"../chunks/CodeGroup.e6b1d0d4.js";function j($){let t;return{c(){t=C("npm install --save-dev t18s")},l(n){t=q(n,"npm install --save-dev t18s")},m(n,s){o(n,t,s)},d(n){n&&p(t)}}}function k($){let t;return{c(){t=C("yarn add --dev t18s")},l(n){t=q(n,"yarn add --dev t18s")},m(n,s){o(n,t,s)},d(n){n&&p(t)}}}function y($){let t;return{c(){t=C("pnpm add --save-dev t18s")},l(n){t=q(n,"pnpm add --save-dev t18s")},m(n,s){o(n,t,s)},d(n){n&&p(t)}}}function D($){let t,n,s,r,f,g,m,v;return t=new $[0]({props:{title:"Installation"}}),s=new $[1]({props:{name:"npm",$$slots:{default:[j]},$$scope:{ctx:$}}}),f=new $[1]({props:{name:"yarn",$$slots:{default:[k]},$$scope:{ctx:$}}}),m=new $[1]({props:{name:"pnpm",$$slots:{default:[y]},$$scope:{ctx:$}}}),{c(){l(t.$$.fragment),n=b(),l(s.$$.fragment),r=b(),l(f.$$.fragment),g=b(),l(m.$$.fragment)},l(e){u(t.$$.fragment,e),n=w(e),u(s.$$.fragment,e),r=w(e),u(f.$$.fragment,e),g=w(e),u(m.$$.fragment,e)},m(e,a){c(t,e,a),o(e,n,a),c(s,e,a),o(e,r,a),c(f,e,a),o(e,g,a),c(m,e,a),v=!0},p(e,a){const S={};a&4&&(S.$$scope={dirty:a,ctx:e}),s.$set(S);const z={};a&4&&(z.$$scope={dirty:a,ctx:e}),f.$set(z);const A={};a&4&&(A.$$scope={dirty:a,ctx:e}),m.$set(A)},i(e){v||(i(t.$$.fragment,e),i(s.$$.fragment,e),i(f.$$.fragment,e),i(m.$$.fragment,e),v=!0)},o(e){_(t.$$.fragment,e),_(s.$$.fragment,e),_(f.$$.fragment,e),_(m.$$.fragment,e),v=!1},d(e){d(t,e),e&&p(n),d(s,e),e&&p(r),d(f,e),e&&p(g),d(m,e)}}}function E($){let t,n;return t=new P({props:{$$slots:{default:[D,({Header:s,Tab:r})=>({0:s,1:r}),({Header:s,Tab:r})=>(s?1:0)|(r?2:0)]},$$scope:{ctx:$}}}),{c(){l(t.$$.fragment)},l(s){u(t.$$.fragment,s)},m(s,r){c(t,s,r),n=!0},p(s,[r]){const f={};r&4&&(f.$$scope={dirty:r,ctx:s}),t.$set(f)},i(s){n||(i(t.$$.fragment,s),n=!0)},o(s){_(t.$$.fragment,s),n=!1},d(s){d(t,s)}}}class J extends B{constructor(t){super(),G(this,t,null,E,I,{})}}export{J as component}; diff --git a/_app/immutable/nodes/5.93b2298f.js b/_app/immutable/nodes/5.9c5fa693.js similarity index 83% rename from _app/immutable/nodes/5.93b2298f.js rename to _app/immutable/nodes/5.9c5fa693.js index 0c07105..392d4d5 100644 --- a/_app/immutable/nodes/5.93b2298f.js +++ b/_app/immutable/nodes/5.9c5fa693.js @@ -1,3 +1,3 @@ -import{S as d,i as x,s as q,k as c,q as h,a as w,l as f,m as u,r as _,h as r,c as S,b as n,D as b,E as p}from"../chunks/index.fb560467.js";function C(v){let a,i,o,s,l;return{c(){a=c("h1"),i=h("Comparisons to other Libraries"),o=w(),s=c("p"),l=h(`There are quite a few i18n libraries available for Svelte. Here is how +import{S as d,i as x,s as q,k as c,q as h,a as w,l as f,m as u,r as _,h as r,c as S,b as n,D as b,E as p}from"../chunks/index.90d50ca5.js";function C(v){let a,i,o,s,l;return{c(){a=c("h1"),i=h("Comparisons to other Libraries"),o=w(),s=c("p"),l=h(`There are quite a few i18n libraries available for Svelte. Here is how t18s compares to the most popular ones.`)},l(e){a=f(e,"H1",{});var t=u(a);i=_(t,"Comparisons to other Libraries"),t.forEach(r),o=S(e),s=f(e,"P",{});var m=u(s);l=_(m,`There are quite a few i18n libraries available for Svelte. Here is how t18s compares to the most popular ones.`),m.forEach(r)},m(e,t){n(e,a,t),b(a,i),n(e,o,t),n(e,s,t),b(s,l)},p,i:p,o:p,d(e){e&&r(a),e&&r(o),e&&r(s)}}}class H extends d{constructor(a){super(),x(this,a,null,C,q,{})}}export{H as component}; diff --git a/_app/immutable/nodes/6.232eb4a4.js b/_app/immutable/nodes/6.232eb4a4.js new file mode 100644 index 0000000..463f2e8 --- /dev/null +++ b/_app/immutable/nodes/6.232eb4a4.js @@ -0,0 +1,16 @@ +import{S as V,i as I,s as J,k as x,q as j,a as _,y as d,l as F,m as T,r as k,h as f,c as g,z as v,b as p,D as z,A as w,g as y,d as b,B as S,E as K}from"../chunks/index.90d50ca5.js";import{C as L}from"../chunks/CodeGroup.56f46765.js";import{P as M}from"../chunks/Prism.42f81a6a.js";const N=`import { sveltekit } from "@sveltejs/kit/vite"; +import { t18s } from "t18s"; +import { defineConfig } from "vite"; + +export default defineConfig({ + plugins: [ + sveltekit(), + t18s({ + locales: ["en", "de"], + fallbackLocale: "en", + }), + ], +}); +`;function O(i){let t;return{c(){t=j("npm install --save-dev t18s")},l(r){t=k(r,"npm install --save-dev t18s")},m(r,n){p(r,t,n)},d(r){r&&f(t)}}}function Q(i){let t,r;return t=new i[1]({props:{$$slots:{default:[O]},$$scope:{ctx:i}}}),{c(){d(t.$$.fragment)},l(n){v(t.$$.fragment,n)},m(n,o){w(t,n,o),r=!0},p(n,o){const s={};o&4&&(s.$$scope={dirty:o,ctx:n}),t.$set(s)},i(n){r||(y(t.$$.fragment,n),r=!0)},o(n){b(t.$$.fragment,n),r=!1},d(n){S(t,n)}}}function R(i){let t,r;return t=new M({props:{code:N,language:"javascript"}}),{c(){d(t.$$.fragment)},l(n){v(t.$$.fragment,n)},m(n,o){w(t,n,o),r=!0},p:K,i(n){r||(y(t.$$.fragment,n),r=!0)},o(n){b(t.$$.fragment,n),r=!1},d(n){S(t,n)}}}function U(i){let t,r,n,o;return t=new i[0]({props:{title:"vite.config.js"}}),n=new i[1]({props:{$$slots:{default:[R]},$$scope:{ctx:i}}}),{c(){d(t.$$.fragment),r=_(),d(n.$$.fragment)},l(s){v(t.$$.fragment,s),r=g(s),v(n.$$.fragment,s)},m(s,l){w(t,s,l),p(s,r,l),w(n,s,l),o=!0},p(s,l){const $={};l&4&&($.$$scope={dirty:l,ctx:s}),n.$set($)},i(s){o||(y(t.$$.fragment,s),y(n.$$.fragment,s),o=!0)},o(s){b(t.$$.fragment,s),b(n.$$.fragment,s),o=!1},d(s){S(t,s),s&&f(r),S(n,s)}}}function W(i){let t,r,n,o,s,l,$,E,u,B,A,m,G,c,D,q;return $=new L({props:{$$slots:{default:[Q,({Tab:e})=>({1:e}),({Tab:e})=>e?2:0]},$$scope:{ctx:i}}}),m=new L({props:{$$slots:{default:[U,({Header:e,Tab:a})=>({0:e,1:a}),({Header:e,Tab:a})=>(e?1:0)|(a?2:0)]},$$scope:{ctx:i}}}),{c(){t=x("h1"),r=j("Getting Started"),n=_(),o=x("p"),s=j("First you need to install t18s as a dev dependency."),l=_(),d($.$$.fragment),E=_(),u=x("p"),B=j(`T18S isn't just a library, it's a vite-plugin, so you will need to register it + in your vite config.`),A=_(),d(m.$$.fragment),G=_(),c=x("p"),D=j("Aaaand we're off.")},l(e){t=F(e,"H1",{});var a=T(t);r=k(a,"Getting Started"),a.forEach(f),n=g(e),o=F(e,"P",{});var C=T(o);s=k(C,"First you need to install t18s as a dev dependency."),C.forEach(f),l=g(e),v($.$$.fragment,e),E=g(e),u=F(e,"P",{});var P=T(u);B=k(P,`T18S isn't just a library, it's a vite-plugin, so you will need to register it + in your vite config.`),P.forEach(f),A=g(e),v(m.$$.fragment,e),G=g(e),c=F(e,"P",{});var H=T(c);D=k(H,"Aaaand we're off."),H.forEach(f)},m(e,a){p(e,t,a),z(t,r),p(e,n,a),p(e,o,a),z(o,s),p(e,l,a),w($,e,a),p(e,E,a),p(e,u,a),z(u,B),p(e,A,a),w(m,e,a),p(e,G,a),p(e,c,a),z(c,D),q=!0},p(e,[a]){const C={};a&4&&(C.$$scope={dirty:a,ctx:e}),$.$set(C);const P={};a&4&&(P.$$scope={dirty:a,ctx:e}),m.$set(P)},i(e){q||(y($.$$.fragment,e),y(m.$$.fragment,e),q=!0)},o(e){b($.$$.fragment,e),b(m.$$.fragment,e),q=!1},d(e){e&&f(t),e&&f(n),e&&f(o),e&&f(l),S($,e),e&&f(E),e&&f(u),e&&f(A),S(m,e),e&&f(G),e&&f(c)}}}class h extends V{constructor(t){super(),I(this,t,null,W,J,{})}}export{h as component}; diff --git a/_app/immutable/nodes/6.b90e0c4f.js b/_app/immutable/nodes/6.b90e0c4f.js deleted file mode 100644 index 373c248..0000000 --- a/_app/immutable/nodes/6.b90e0c4f.js +++ /dev/null @@ -1 +0,0 @@ -import{S as J,i as K,s as L,k as T,q as y,a as c,y as b,l as k,m as x,r as w,h as l,c as d,z as S,b as o,D as z,A as E,g as P,d as j,B as A,E as M}from"../chunks/index.fb560467.js";import{C as I}from"../chunks/CodeGroup.e6b1d0d4.js";function N($){let t;return{c(){t=y("npm install --save-dev t18s")},l(a){t=w(a,"npm install --save-dev t18s")},m(a,s){o(a,t,s)},d(a){a&&l(t)}}}function O($){let t,a;return t=new $[1]({props:{$$slots:{default:[N]},$$scope:{ctx:$}}}),{c(){b(t.$$.fragment)},l(s){S(t.$$.fragment,s)},m(s,f){E(t,s,f),a=!0},p(s,f){const n={};f&4&&(n.$$scope={dirty:f,ctx:s}),t.$set(n)},i(s){a||(P(t.$$.fragment,s),a=!0)},o(s){j(t.$$.fragment,s),a=!1},d(s){A(t,s)}}}function Q($){let t,a,s,f;return t=new $[0]({props:{title:"vite.config.js"}}),s=new $[1]({}),{c(){b(t.$$.fragment),a=c(),b(s.$$.fragment)},l(n){S(t.$$.fragment,n),a=d(n),S(s.$$.fragment,n)},m(n,i){E(t,n,i),o(n,a,i),E(s,n,i),f=!0},p:M,i(n){f||(P(t.$$.fragment,n),P(s.$$.fragment,n),f=!0)},o(n){j(t.$$.fragment,n),j(s.$$.fragment,n),f=!1},d(n){A(t,n),n&&l(a),A(s,n)}}}function R($){let t,a,s,f,n,i,p,C,m,B,G,u,q,_,D,F;return p=new I({props:{$$slots:{default:[O,({Tab:e})=>({1:e}),({Tab:e})=>e?2:0]},$$scope:{ctx:$}}}),u=new I({props:{$$slots:{default:[Q,({Header:e,Tab:r})=>({0:e,1:r}),({Header:e,Tab:r})=>(e?1:0)|(r?2:0)]},$$scope:{ctx:$}}}),{c(){t=T("h1"),a=y("Getting Started"),s=c(),f=T("p"),n=y("First you need to install t18s as a dev dependency."),i=c(),b(p.$$.fragment),C=c(),m=T("p"),B=y("T18S isn't just a library, it's a vite-plugin, so you will need to register it in your vite config."),G=c(),b(u.$$.fragment),q=c(),_=T("p"),D=y("Aaaand we're off.")},l(e){t=k(e,"H1",{});var r=x(t);a=w(r,"Getting Started"),r.forEach(l),s=d(e),f=k(e,"P",{});var v=x(f);n=w(v,"First you need to install t18s as a dev dependency."),v.forEach(l),i=d(e),S(p.$$.fragment,e),C=d(e),m=k(e,"P",{});var g=x(m);B=w(g,"T18S isn't just a library, it's a vite-plugin, so you will need to register it in your vite config."),g.forEach(l),G=d(e),S(u.$$.fragment,e),q=d(e),_=k(e,"P",{});var H=x(_);D=w(H,"Aaaand we're off."),H.forEach(l)},m(e,r){o(e,t,r),z(t,a),o(e,s,r),o(e,f,r),z(f,n),o(e,i,r),E(p,e,r),o(e,C,r),o(e,m,r),z(m,B),o(e,G,r),E(u,e,r),o(e,q,r),o(e,_,r),z(_,D),F=!0},p(e,[r]){const v={};r&4&&(v.$$scope={dirty:r,ctx:e}),p.$set(v);const g={};r&4&&(g.$$scope={dirty:r,ctx:e}),u.$set(g)},i(e){F||(P(p.$$.fragment,e),P(u.$$.fragment,e),F=!0)},o(e){j(p.$$.fragment,e),j(u.$$.fragment,e),F=!1},d(e){e&&l(t),e&&l(s),e&&l(f),e&&l(i),A(p,e),e&&l(C),e&&l(m),e&&l(G),A(u,e),e&&l(q),e&&l(_)}}}class W extends J{constructor(t){super(),K(this,t,null,R,L,{})}}export{W as component}; diff --git a/_app/immutable/nodes/7.9a6e7ceb.js b/_app/immutable/nodes/7.e2796615.js similarity index 85% rename from _app/immutable/nodes/7.9a6e7ceb.js rename to _app/immutable/nodes/7.e2796615.js index f046160..4eef6b4 100644 --- a/_app/immutable/nodes/7.9a6e7ceb.js +++ b/_app/immutable/nodes/7.e2796615.js @@ -1,3 +1,3 @@ -import{S as D,i as H,s as P,k as d,q as u,a as E,l as c,m as _,r as h,h as o,c as O,b as l,D as T,E as x}from"../chunks/index.fb560467.js";function q(S){let a,p,i,s,f,n,r,m;return{c(){a=d("h1"),p=u("Roadmap"),i=E(),s=d("p"),f=u(`T18S is not done. There is still a lot we want to add. Here are some of our ideas for the future +import{S as D,i as H,s as P,k as d,q as u,a as E,l as c,m as _,r as h,h as o,c as O,b as l,D as T,E as x}from"../chunks/index.90d50ca5.js";function q(S){let a,p,i,s,f,n,r,m;return{c(){a=d("h1"),p=u("Roadmap"),i=E(),s=d("p"),f=u(`T18S is not done. There is still a lot we want to add. Here are some of our ideas for the future in no particular order.`),n=E(),r=d("p"),m=u("TODO")},l(e){a=c(e,"H1",{});var t=_(a);p=h(t,"Roadmap"),t.forEach(o),i=O(e),s=c(e,"P",{});var v=_(s);f=h(v,`T18S is not done. There is still a lot we want to add. Here are some of our ideas for the future in no particular order.`),v.forEach(o),n=O(e),r=c(e,"P",{});var w=_(r);m=h(w,"TODO"),w.forEach(o)},m(e,t){l(e,a,t),T(a,p),l(e,i,t),l(e,s,t),T(s,f),l(e,n,t),l(e,r,t),T(r,m)},p:x,i:x,o:x,d(e){e&&o(a),e&&o(i),e&&o(s),e&&o(n),e&&o(r)}}}class R extends D{constructor(a){super(),H(this,a,null,q,P,{})}}export{R as component}; diff --git a/_app/immutable/nodes/8.89524754.js b/_app/immutable/nodes/8.f5dd2087.js similarity index 83% rename from _app/immutable/nodes/8.89524754.js rename to _app/immutable/nodes/8.f5dd2087.js index fe37b6e..90c570f 100644 --- a/_app/immutable/nodes/8.89524754.js +++ b/_app/immutable/nodes/8.f5dd2087.js @@ -1 +1 @@ -import{S as i,i as l,s as c,k as m,q as h,l as p,m as d,r as _,h as o,b as f,D as u,E as n}from"../chunks/index.fb560467.js";function x(r){let e,s;return{c(){e=m("h1"),s=h("SEO")},l(t){e=p(t,"H1",{});var a=d(e);s=_(a,"SEO"),a.forEach(o)},m(t,a){f(t,e,a),u(e,s)},p:n,i:n,o:n,d(t){t&&o(e)}}}class S extends i{constructor(e){super(),l(this,e,null,x,c,{})}}export{S as component}; +import{S as i,i as l,s as c,k as m,q as h,l as p,m as d,r as _,h as o,b as f,D as u,E as n}from"../chunks/index.90d50ca5.js";function x(r){let e,s;return{c(){e=m("h1"),s=h("SEO")},l(t){e=p(t,"H1",{});var a=d(e);s=_(a,"SEO"),a.forEach(o)},m(t,a){f(t,e,a),u(e,s)},p:n,i:n,o:n,d(t){t&&o(e)}}}class S extends i{constructor(e){super(),l(this,e,null,x,c,{})}}export{S as component}; diff --git a/_app/immutable/nodes/9.a4567d7a.js b/_app/immutable/nodes/9.bb6122df.js similarity index 99% rename from _app/immutable/nodes/9.a4567d7a.js rename to _app/immutable/nodes/9.bb6122df.js index 7b958de..79bf215 100644 --- a/_app/immutable/nodes/9.a4567d7a.js +++ b/_app/immutable/nodes/9.bb6122df.js @@ -1,4 +1,4 @@ -import{S as _e,i as pe,s as he,M as O,N as ze,O as Qe,m as g,h as n,P as te,b as u,Q as je,E as Y,R as le,I as rt,k as w,a as C,l as y,c as L,n as ee,D as h,v as nt,d as T,f as ot,g as M,J as ft,K as it,L as ut,y as I,z as x,A as H,B as S,q as c,r as m}from"../chunks/index.fb560467.js";import{C as X}from"../chunks/CodeGroup.e6b1d0d4.js";function $t(o){let e,s='',t=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},o[0]],a={};for(let r=0;r{s(0,e=O(O({},e),le(t)))},e=le(e),[e]}class mt extends _e{constructor(e){super(),pe(this,e,ct,$t,he,{})}}function _t(o){let e,s='',t=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},o[0]],a={};for(let r=0;r{s(0,e=O(O({},e),le(t)))},e=le(e),[e]}class ht extends _e{constructor(e){super(),pe(this,e,pt,_t,he,{})}}function dt(o){let e,s='',t=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},o[0]],a={};for(let r=0;r{s(0,e=O(O({},e),le(t)))},e=le(e),[e]}class gt extends _e{constructor(e){super(),pe(this,e,vt,dt,he,{})}}function bt(o){let e,s;return e=new mt({props:{class:"mt-1 h-4 w-4 flex-none text-blue-500"}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function wt(o){let e,s;return e=new ht({props:{class:"mt-1 h-4 w-4 flex-none text-orange-500"}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function yt(o){let e,s;return e=new gt({props:{class:"mt-1 h-4 w-4 flex-none text-emerald-500"}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function kt(o){let e,s,t,a,r,f,d,p;const _=[yt,wt,bt],i=[];function b(v,E){return v[0]==="success"?0:v[0]==="warning"?1:v[0]==="info"?2:-1}~(s=b(o))&&(t=i[s]=_[s](o));const V=o[3].default,k=rt(V,o,o[2],null);return{c(){e=w("div"),t&&t.c(),a=C(),r=w("div"),f=w("p"),k&&k.c(),this.h()},l(v){e=y(v,"DIV",{class:!0});var E=g(e);t&&t.l(E),a=L(E),r=y(E,"DIV",{class:!0});var P=g(r);f=y(P,"P",{});var B=g(f);k&&k.l(B),B.forEach(n),P.forEach(n),E.forEach(n),this.h()},h(){ee(r,"class","[&>:first-child]:mt-0 [&>:last-child]:mb-0"),ee(e,"class",d="not-prose my-6 flex gap-2.5 p-4 rounded-2xl leading-6 border "+o[1][o[0]])},m(v,E){u(v,e,E),~s&&i[s].m(e,null),h(e,a),h(e,r),h(r,f),k&&k.m(f,null),p=!0},p(v,[E]){let P=s;s=b(v),s!==P&&(t&&(nt(),T(i[P],1,1,()=>{i[P]=null}),ot()),~s?(t=i[s],t||(t=i[s]=_[s](v),t.c()),M(t,1),t.m(e,a)):t=null),k&&k.p&&(!p||E&4)&&ft(k,V,v,v[2],p?ut(V,v[2],E,null):it(v[2]),null),(!p||E&1&&d!==(d="not-prose my-6 flex gap-2.5 p-4 rounded-2xl leading-6 border "+v[1][v[0]]))&&ee(e,"class",d)},i(v){p||(M(t),M(k,v),p=!0)},o(v){T(t),T(k,v),p=!1},d(v){v&&n(e),~s&&i[s].d(),k&&k.d(v)}}}function Et(o,e,s){let{$$slots:t={},$$scope:a}=e,{type:r="info"}=e;const f={success:"border-emerald-500/20 bg-emerald-50/50 text-emerald-900",warning:"border-orange-500/20 bg-orange-50 text-orange-900",info:"border-blue-500/20 bg-blue-50 text-gray-900"};return o.$$set=d=>{"type"in d&&s(0,r=d.type),"$$scope"in d&&s(2,a=d.$$scope)},[r,f,a,t]}class at extends _e{constructor(e){super(),pe(this,e,Et,kt,he,{type:0})}}function Tt(o){let e,s,t="{fullName}",a,r;return{c(){e=c("Hello "),s=w("mark"),a=c(t),r=c(", how are you?")},l(f){e=m(f,"Hello "),s=y(f,"MARK",{});var d=g(s);a=m(d,t),d.forEach(n),r=m(f,", how are you?")},m(f,d){u(f,e,d),u(f,s,d),h(s,a),u(f,r,d)},p:Y,d(f){f&&n(e),f&&n(s),f&&n(r)}}}function Mt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Tt]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function It(o){let e,s="{",t,a,r,f,d="}",p,_;return{c(){e=c("There are "),t=c(s),a=c("count"),r=w("mark"),f=c(", number"),p=c(d),_=c(" people here")},l(i){e=m(i,"There are "),t=m(i,s),a=m(i,"count"),r=y(i,"MARK",{});var b=g(r);f=m(b,", number"),b.forEach(n),p=m(i,d),_=m(i," people here")},m(i,b){u(i,e,b),u(i,t,b),u(i,a,b),u(i,r,b),h(r,f),u(i,p,b),u(i,_,b)},p:Y,d(i){i&&n(e),i&&n(t),i&&n(a),i&&n(r),i&&n(p),i&&n(_)}}}function xt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[It]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Ht(o){let e,s="{",t,a,r,f,d="}",p;return{c(){e=c("Today is "),t=c(s),a=c("date"),r=w("mark"),f=c(", date"),p=c(d)},l(_){e=m(_,"Today is "),t=m(_,s),a=m(_,"date"),r=y(_,"MARK",{});var i=g(r);f=m(i,", date"),i.forEach(n),p=m(_,d)},m(_,i){u(_,e,i),u(_,t,i),u(_,a,i),u(_,r,i),h(r,f),u(_,p,i)},p:Y,d(_){_&&n(e),_&&n(t),_&&n(a),_&&n(r),_&&n(p)}}}function St(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Ht]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Ct(o){let e,s="{data, date",t,a,r,f="}",d;return{c(){e=c("Today is "),t=c(s),a=w("mark"),r=c(", short"),d=c(f)},l(p){e=m(p,"Today is "),t=m(p,s),a=y(p,"MARK",{});var _=g(a);r=m(_,", short"),_.forEach(n),d=m(p,f)},m(p,_){u(p,e,_),u(p,t,_),u(p,a,_),h(a,r),u(p,d,_)},p:Y,d(p){p&&n(e),p&&n(t),p&&n(a),p&&n(d)}}}function Lt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Ct]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Yt(o){let e,s="{gender, select, male {Mr.} female {Mrs.}} {name}",t;return{c(){e=c("Hello "),t=c(s)},l(a){e=m(a,"Hello "),t=m(a,s)},m(a,r){u(a,e,r),u(a,t,r)},p:Y,d(a){a&&n(e),a&&n(t)}}}function Pt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Yt]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Bt(o){let e,s="{gender, select, male {Mr.} female {Mrs.} ",t,a,r,f=" {Mx.}",d,p="} {name}",_;return{c(){e=c("Hello "),t=c(s),a=w("mark"),r=c("other"),d=c(f),_=c(p)},l(i){e=m(i,"Hello "),t=m(i,s),a=y(i,"MARK",{});var b=g(a);r=m(b,"other"),d=m(b,f),b.forEach(n),_=m(i,p)},m(i,b){u(i,e,b),u(i,t,b),u(i,a,b),h(a,r),h(a,d),u(i,_,b)},p:Y,d(i){i&&n(e),i&&n(t),i&&n(a),i&&n(_)}}}function At(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Bt]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Zt(o){let e;return{c(){e=c(`Some i18n libraries require you to define a fallback case for all selects. +import{S as _e,i as pe,s as he,M as O,N as ze,O as Qe,m as g,h as n,P as te,b as u,Q as je,E as Y,R as le,I as rt,k as w,a as C,l as y,c as L,n as ee,D as h,v as nt,d as T,f as ot,g as M,J as ft,K as it,L as ut,y as I,z as x,A as H,B as S,q as c,r as m}from"../chunks/index.90d50ca5.js";import{C as X}from"../chunks/CodeGroup.56f46765.js";function $t(o){let e,s='',t=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},o[0]],a={};for(let r=0;r{s(0,e=O(O({},e),le(t)))},e=le(e),[e]}class mt extends _e{constructor(e){super(),pe(this,e,ct,$t,he,{})}}function _t(o){let e,s='',t=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},o[0]],a={};for(let r=0;r{s(0,e=O(O({},e),le(t)))},e=le(e),[e]}class ht extends _e{constructor(e){super(),pe(this,e,pt,_t,he,{})}}function dt(o){let e,s='',t=[{viewBox:"0 0 24 24"},{width:"1.2em"},{height:"1.2em"},o[0]],a={};for(let r=0;r{s(0,e=O(O({},e),le(t)))},e=le(e),[e]}class gt extends _e{constructor(e){super(),pe(this,e,vt,dt,he,{})}}function bt(o){let e,s;return e=new mt({props:{class:"mt-1 h-4 w-4 flex-none text-blue-500"}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function wt(o){let e,s;return e=new ht({props:{class:"mt-1 h-4 w-4 flex-none text-orange-500"}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function yt(o){let e,s;return e=new gt({props:{class:"mt-1 h-4 w-4 flex-none text-emerald-500"}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function kt(o){let e,s,t,a,r,f,d,p;const _=[yt,wt,bt],i=[];function b(v,E){return v[0]==="success"?0:v[0]==="warning"?1:v[0]==="info"?2:-1}~(s=b(o))&&(t=i[s]=_[s](o));const V=o[3].default,k=rt(V,o,o[2],null);return{c(){e=w("div"),t&&t.c(),a=C(),r=w("div"),f=w("p"),k&&k.c(),this.h()},l(v){e=y(v,"DIV",{class:!0});var E=g(e);t&&t.l(E),a=L(E),r=y(E,"DIV",{class:!0});var P=g(r);f=y(P,"P",{});var B=g(f);k&&k.l(B),B.forEach(n),P.forEach(n),E.forEach(n),this.h()},h(){ee(r,"class","[&>:first-child]:mt-0 [&>:last-child]:mb-0"),ee(e,"class",d="not-prose my-6 flex gap-2.5 p-4 rounded-2xl leading-6 border "+o[1][o[0]])},m(v,E){u(v,e,E),~s&&i[s].m(e,null),h(e,a),h(e,r),h(r,f),k&&k.m(f,null),p=!0},p(v,[E]){let P=s;s=b(v),s!==P&&(t&&(nt(),T(i[P],1,1,()=>{i[P]=null}),ot()),~s?(t=i[s],t||(t=i[s]=_[s](v),t.c()),M(t,1),t.m(e,a)):t=null),k&&k.p&&(!p||E&4)&&ft(k,V,v,v[2],p?ut(V,v[2],E,null):it(v[2]),null),(!p||E&1&&d!==(d="not-prose my-6 flex gap-2.5 p-4 rounded-2xl leading-6 border "+v[1][v[0]]))&&ee(e,"class",d)},i(v){p||(M(t),M(k,v),p=!0)},o(v){T(t),T(k,v),p=!1},d(v){v&&n(e),~s&&i[s].d(),k&&k.d(v)}}}function Et(o,e,s){let{$$slots:t={},$$scope:a}=e,{type:r="info"}=e;const f={success:"border-emerald-500/20 bg-emerald-50/50 text-emerald-900",warning:"border-orange-500/20 bg-orange-50 text-orange-900",info:"border-blue-500/20 bg-blue-50 text-gray-900"};return o.$$set=d=>{"type"in d&&s(0,r=d.type),"$$scope"in d&&s(2,a=d.$$scope)},[r,f,a,t]}class at extends _e{constructor(e){super(),pe(this,e,Et,kt,he,{type:0})}}function Tt(o){let e,s,t="{fullName}",a,r;return{c(){e=c("Hello "),s=w("mark"),a=c(t),r=c(", how are you?")},l(f){e=m(f,"Hello "),s=y(f,"MARK",{});var d=g(s);a=m(d,t),d.forEach(n),r=m(f,", how are you?")},m(f,d){u(f,e,d),u(f,s,d),h(s,a),u(f,r,d)},p:Y,d(f){f&&n(e),f&&n(s),f&&n(r)}}}function Mt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Tt]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function It(o){let e,s="{",t,a,r,f,d="}",p,_;return{c(){e=c("There are "),t=c(s),a=c("count"),r=w("mark"),f=c(", number"),p=c(d),_=c(" people here")},l(i){e=m(i,"There are "),t=m(i,s),a=m(i,"count"),r=y(i,"MARK",{});var b=g(r);f=m(b,", number"),b.forEach(n),p=m(i,d),_=m(i," people here")},m(i,b){u(i,e,b),u(i,t,b),u(i,a,b),u(i,r,b),h(r,f),u(i,p,b),u(i,_,b)},p:Y,d(i){i&&n(e),i&&n(t),i&&n(a),i&&n(r),i&&n(p),i&&n(_)}}}function xt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[It]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Ht(o){let e,s="{",t,a,r,f,d="}",p;return{c(){e=c("Today is "),t=c(s),a=c("date"),r=w("mark"),f=c(", date"),p=c(d)},l(_){e=m(_,"Today is "),t=m(_,s),a=m(_,"date"),r=y(_,"MARK",{});var i=g(r);f=m(i,", date"),i.forEach(n),p=m(_,d)},m(_,i){u(_,e,i),u(_,t,i),u(_,a,i),u(_,r,i),h(r,f),u(_,p,i)},p:Y,d(_){_&&n(e),_&&n(t),_&&n(a),_&&n(r),_&&n(p)}}}function St(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Ht]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Ct(o){let e,s="{data, date",t,a,r,f="}",d;return{c(){e=c("Today is "),t=c(s),a=w("mark"),r=c(", short"),d=c(f)},l(p){e=m(p,"Today is "),t=m(p,s),a=y(p,"MARK",{});var _=g(a);r=m(_,", short"),_.forEach(n),d=m(p,f)},m(p,_){u(p,e,_),u(p,t,_),u(p,a,_),h(a,r),u(p,d,_)},p:Y,d(p){p&&n(e),p&&n(t),p&&n(a),p&&n(d)}}}function Lt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Ct]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Yt(o){let e,s="{gender, select, male {Mr.} female {Mrs.}} {name}",t;return{c(){e=c("Hello "),t=c(s)},l(a){e=m(a,"Hello "),t=m(a,s)},m(a,r){u(a,e,r),u(a,t,r)},p:Y,d(a){a&&n(e),a&&n(t)}}}function Pt(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Yt]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Bt(o){let e,s="{gender, select, male {Mr.} female {Mrs.} ",t,a,r,f=" {Mx.}",d,p="} {name}",_;return{c(){e=c("Hello "),t=c(s),a=w("mark"),r=c("other"),d=c(f),_=c(p)},l(i){e=m(i,"Hello "),t=m(i,s),a=y(i,"MARK",{});var b=g(a);r=m(b,"other"),d=m(b,f),b.forEach(n),_=m(i,p)},m(i,b){u(i,e,b),u(i,t,b),u(i,a,b),h(a,r),h(a,d),u(i,_,b)},p:Y,d(i){i&&n(e),i&&n(t),i&&n(a),i&&n(_)}}}function At(o){let e,s;return e=new o[0]({props:{$$slots:{default:[Bt]},$$scope:{ctx:o}}}),{c(){I(e.$$.fragment)},l(t){x(e.$$.fragment,t)},m(t,a){H(e,t,a),s=!0},p(t,a){const r={};a&2&&(r.$$scope={dirty:a,ctx:t}),e.$set(r)},i(t){s||(M(e.$$.fragment,t),s=!0)},o(t){T(e.$$.fragment,t),s=!1},d(t){S(e,t)}}}function Zt(o){let e;return{c(){e=c(`Some i18n libraries require you to define a fallback case for all selects. T18s does not, instead relying on typesafety to ensure all values match a key.`)},l(s){e=m(s,`Some i18n libraries require you to define a fallback case for all selects. T18s does not, instead relying on typesafety to ensure all values match a key.`)},m(s,t){u(s,e,t)},d(s){s&&n(e)}}}function Ot(o){let e;return{c(){e=c("You cannot use any additional values inside tags.")},l(s){e=m(s,"You cannot use any additional values inside tags.")},m(s,t){u(s,e,t)},d(s){s&&n(e)}}}function Vt(o){let e,s,t,a,r,f,d,p,_,i,b,V,k,v,E,P,B,de,D,ve,U,Ye,ge,A,se,Pe,Be,ae,Ae,Ze,re,Oe,be,z,Ve,we,Q,De,ye,j,Ke,ke,K,Re,ne,qe,Ge,Ee,R,Te,q,Je,oe,Fe,Ne,Me,G,Ie,J,xe,W,Ue,He,F,Se;return k=new X({props:{$$slots:{default:[Mt,({Tab:l})=>({0:l}),({Tab:l})=>l?1:0]},$$scope:{ctx:o}}}),E=new X({props:{$$slots:{default:[xt,({Tab:l})=>({0:l}),({Tab:l})=>l?1:0]},$$scope:{ctx:o}}}),B=new X({props:{$$slots:{default:[St,({Tab:l})=>({0:l}),({Tab:l})=>l?1:0]},$$scope:{ctx:o}}}),D=new X({props:{$$slots:{default:[Lt,({Tab:l})=>({0:l}),({Tab:l})=>l?1:0]},$$scope:{ctx:o}}}),R=new X({props:{$$slots:{default:[Pt,({Tab:l})=>({0:l}),({Tab:l})=>l?1:0]},$$scope:{ctx:o}}}),G=new X({props:{$$slots:{default:[At,({Tab:l})=>({0:l}),({Tab:l})=>l?1:0]},$$scope:{ctx:o}}}),J=new at({props:{type:"info",$$slots:{default:[Zt]},$$scope:{ctx:o}}}),F=new at({props:{type:"warning",$$slots:{default:[Ot]},$$scope:{ctx:o}}}),{c(){e=w("h1"),s=c("Syntax"),t=C(),a=w("p"),r=c("T18s uses the "),f=w("a"),d=c("ICU MessageFormat"),p=c(` Syntax for messages, the de-facto standard in the JavaScript ecosystem. Let's learn how to use it.`),_=C(),i=w("h2"),b=c("Interpolating Values"),V=c(` diff --git a/_app/version.json b/_app/version.json index 2c35b74..030721b 100644 --- a/_app/version.json +++ b/_app/version.json @@ -1 +1 @@ -{"version":"1698139911101"} \ No newline at end of file +{"version":"1698141771426"} \ No newline at end of file diff --git a/comparisons.html b/comparisons.html index f21ecb5..f2c884e 100644 --- a/comparisons.html +++ b/comparisons.html @@ -1 +1 @@ -

Comparisons to other Libraries

There are quite a few i18n libraries available for Svelte. Here is how t18s compares to the most popular ones.

\ No newline at end of file +

Comparisons to other Libraries

There are quite a few i18n libraries available for Svelte. Here is how t18s compares to the most popular ones.

\ No newline at end of file diff --git a/de.html b/de.html index 60854a6..18c1d7f 100644 --- a/de.html +++ b/de.html @@ -1 +1 @@ -

Installation

npm install --save-dev t18s
\ No newline at end of file +

Installation

npm install --save-dev t18s

Highlighting

console.log('Hello World')
\ No newline at end of file diff --git a/de/comparisons.html b/de/comparisons.html index 5cb6be5..8206107 100644 --- a/de/comparisons.html +++ b/de/comparisons.html @@ -1 +1 @@ -

Comparisons to other Libraries

There are quite a few i18n libraries available for Svelte. Here is how t18s compares to the most popular ones.

\ No newline at end of file +

Comparisons to other Libraries

There are quite a few i18n libraries available for Svelte. Here is how t18s compares to the most popular ones.

\ No newline at end of file diff --git a/de/getting-started.html b/de/getting-started.html index 492bbd1..28bd51f 100644 --- a/de/getting-started.html +++ b/de/getting-started.html @@ -1 +1,14 @@ -

Getting Started

First you need to install t18s as a dev dependency.

npm install --save-dev t18s

T18S isn't just a library, it's a vite-plugin, so you will need to register it in your vite config.

vite.config.js

 

Aaaand we're off.

\ No newline at end of file +

Getting Started

First you need to install t18s as a dev dependency.

npm install --save-dev t18s

T18S isn't just a library, it's a vite-plugin, so you will need to register it in your vite config.

vite.config.js

import { sveltekit } from "@sveltejs/kit/vite";
+import { t18s } from "t18s";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+  plugins: [
+    sveltekit(),
+    t18s({
+      locales: ["en", "de"],
+      fallbackLocale: "en",
+    }),
+  ],
+});
+

Aaaand we're off.

\ No newline at end of file diff --git a/de/roadmap.html b/de/roadmap.html index 68a78ff..5f4a6e6 100644 --- a/de/roadmap.html +++ b/de/roadmap.html @@ -1 +1 @@ -

Roadmap

T18S is not done. There is still a lot we want to add. Here are some of our ideas for the future in no particular order.

TODO

\ No newline at end of file +

Roadmap

T18S is not done. There is still a lot we want to add. Here are some of our ideas for the future in no particular order.

TODO

\ No newline at end of file diff --git a/de/seo.html b/de/seo.html index 5aee78f..3fc13d5 100644 --- a/de/seo.html +++ b/de/seo.html @@ -1 +1 @@ -

SEO

\ No newline at end of file +

SEO

\ No newline at end of file diff --git a/de/syntax.html b/de/syntax.html index a47e55e..e00d596 100644 --- a/de/syntax.html +++ b/de/syntax.html @@ -1 +1 @@ -

Syntax

T18s uses the ICU MessageFormat Syntax for messages, the de-facto standard in the JavaScript ecosystem. Let's learn how to use it.

Interpolating Values

You can interpolate strings into your messages using curly braces. The value inside the braces will be replaced with the value of the variable with the same name.
Hello {fullName}, how are you?
You can specify that a value is a number by adding a type-annotation in the curly braces.
There are {count, number} people here
The same thing works for dates.
Today is {date, date}
You can format the value by adding a third, format options in the curly braces. You can for example specify how long the date should be.
Today is {data, date, short}
These formatting options are locale aware and will do the right thing for the locale you are using. It uses the Intl API under the hood. Generally the format for interpolating values is always this.
  1. Variable name
  2. Type
  3. Options

Plurals

Select

Select allows you to use one of multiple values based on a key. This is useful for things like grammatical gender.

You use it by using the select type, and then listing out each option with a key and a value in curly braces.

Hello {gender, select, male {Mr.} female {Mrs.}} {name}

The special key other is used as a fallback if no other key matches.

Hello {gender, select, male {Mr.} female {Mrs.} other {Mx.}} {name}

Some i18n libraries require you to define a fallback case for all selects. T18s does not, instead relying on typesafety to ensure all values match a key.

Inline HTML

You cannot use any additional values inside tags.

\ No newline at end of file +

Syntax

T18s uses the ICU MessageFormat Syntax for messages, the de-facto standard in the JavaScript ecosystem. Let's learn how to use it.

Interpolating Values

You can interpolate strings into your messages using curly braces. The value inside the braces will be replaced with the value of the variable with the same name.
Hello {fullName}, how are you?
You can specify that a value is a number by adding a type-annotation in the curly braces.
There are {count, number} people here
The same thing works for dates.
Today is {date, date}
You can format the value by adding a third, format options in the curly braces. You can for example specify how long the date should be.
Today is {data, date, short}
These formatting options are locale aware and will do the right thing for the locale you are using. It uses the Intl API under the hood. Generally the format for interpolating values is always this.
  1. Variable name
  2. Type
  3. Options

Plurals

Select

Select allows you to use one of multiple values based on a key. This is useful for things like grammatical gender.

You use it by using the select type, and then listing out each option with a key and a value in curly braces.

Hello {gender, select, male {Mr.} female {Mrs.}} {name}

The special key other is used as a fallback if no other key matches.

Hello {gender, select, male {Mr.} female {Mrs.} other {Mx.}} {name}

Some i18n libraries require you to define a fallback case for all selects. T18s does not, instead relying on typesafety to ensure all values match a key.

Inline HTML

You cannot use any additional values inside tags.

\ No newline at end of file diff --git a/getting-started.html b/getting-started.html index a65b9db..f37895f 100644 --- a/getting-started.html +++ b/getting-started.html @@ -1 +1,14 @@ -

Getting Started

First you need to install t18s as a dev dependency.

npm install --save-dev t18s

T18S isn't just a library, it's a vite-plugin, so you will need to register it in your vite config.

vite.config.js

 

Aaaand we're off.

\ No newline at end of file +

Getting Started

First you need to install t18s as a dev dependency.

npm install --save-dev t18s

T18S isn't just a library, it's a vite-plugin, so you will need to register it in your vite config.

vite.config.js

import { sveltekit } from "@sveltejs/kit/vite";
+import { t18s } from "t18s";
+import { defineConfig } from "vite";
+
+export default defineConfig({
+  plugins: [
+    sveltekit(),
+    t18s({
+      locales: ["en", "de"],
+      fallbackLocale: "en",
+    }),
+  ],
+});
+

Aaaand we're off.

\ No newline at end of file diff --git a/index.html b/index.html index 68f2fea..3468d5a 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -

Installation

npm install --save-dev t18s
\ No newline at end of file +

Installation

npm install --save-dev t18s

Highlighting

console.log('Hello World')
\ No newline at end of file diff --git a/roadmap.html b/roadmap.html index 50be5ab..eb98860 100644 --- a/roadmap.html +++ b/roadmap.html @@ -1 +1 @@ -

Roadmap

T18S is not done. There is still a lot we want to add. Here are some of our ideas for the future in no particular order.

TODO

\ No newline at end of file +

Roadmap

T18S is not done. There is still a lot we want to add. Here are some of our ideas for the future in no particular order.

TODO

\ No newline at end of file diff --git a/seo.html b/seo.html index 81232a0..b4dbe36 100644 --- a/seo.html +++ b/seo.html @@ -1 +1 @@ -

SEO

\ No newline at end of file +

SEO

\ No newline at end of file diff --git a/syntax.html b/syntax.html index eab98ac..9032ef5 100644 --- a/syntax.html +++ b/syntax.html @@ -1 +1 @@ -

Syntax

T18s uses the ICU MessageFormat Syntax for messages, the de-facto standard in the JavaScript ecosystem. Let's learn how to use it.

Interpolating Values

You can interpolate strings into your messages using curly braces. The value inside the braces will be replaced with the value of the variable with the same name.
Hello {fullName}, how are you?
You can specify that a value is a number by adding a type-annotation in the curly braces.
There are {count, number} people here
The same thing works for dates.
Today is {date, date}
You can format the value by adding a third, format options in the curly braces. You can for example specify how long the date should be.
Today is {data, date, short}
These formatting options are locale aware and will do the right thing for the locale you are using. It uses the Intl API under the hood. Generally the format for interpolating values is always this.
  1. Variable name
  2. Type
  3. Options

Plurals

Select

Select allows you to use one of multiple values based on a key. This is useful for things like grammatical gender.

You use it by using the select type, and then listing out each option with a key and a value in curly braces.

Hello {gender, select, male {Mr.} female {Mrs.}} {name}

The special key other is used as a fallback if no other key matches.

Hello {gender, select, male {Mr.} female {Mrs.} other {Mx.}} {name}

Some i18n libraries require you to define a fallback case for all selects. T18s does not, instead relying on typesafety to ensure all values match a key.

Inline HTML

You cannot use any additional values inside tags.

\ No newline at end of file +

Syntax

T18s uses the ICU MessageFormat Syntax for messages, the de-facto standard in the JavaScript ecosystem. Let's learn how to use it.

Interpolating Values

You can interpolate strings into your messages using curly braces. The value inside the braces will be replaced with the value of the variable with the same name.
Hello {fullName}, how are you?
You can specify that a value is a number by adding a type-annotation in the curly braces.
There are {count, number} people here
The same thing works for dates.
Today is {date, date}
You can format the value by adding a third, format options in the curly braces. You can for example specify how long the date should be.
Today is {data, date, short}
These formatting options are locale aware and will do the right thing for the locale you are using. It uses the Intl API under the hood. Generally the format for interpolating values is always this.
  1. Variable name
  2. Type
  3. Options

Plurals

Select

Select allows you to use one of multiple values based on a key. This is useful for things like grammatical gender.

You use it by using the select type, and then listing out each option with a key and a value in curly braces.

Hello {gender, select, male {Mr.} female {Mrs.}} {name}

The special key other is used as a fallback if no other key matches.

Hello {gender, select, male {Mr.} female {Mrs.} other {Mx.}} {name}

Some i18n libraries require you to define a fallback case for all selects. T18s does not, instead relying on typesafety to ensure all values match a key.

Inline HTML

You cannot use any additional values inside tags.

\ No newline at end of file