From c634bcca9d8742f7a54bc456b9bea64d308974b8 Mon Sep 17 00:00:00 2001 From: Auroratide Date: Sun, 11 Feb 2024 14:25:34 +0000 Subject: [PATCH] deploy: 42d55c971b478ecfab8e52efecd0a28828c7daa2 --- .../assets/{0.Bg1ELfuf.css => 0.D8I8Hl9H.css} | 2 +- _app/immutable/assets/7.CYDfT9Y1.css | 1 + ...yout.8cP6KoEf.css => _layout.BNJbrVdY.css} | 2 +- _app/immutable/assets/_page.CYDfT9Y1.css | 1 + _app/immutable/assets/demo.BbQyX9Y4.gif | Bin 0 -> 12625 bytes _app/immutable/assets/style.DM1gH6IL.css | 1 + _app/immutable/chunks/Readme.BbztUA8r.js | 1 + ...{define.D9ZjvaKp.js => define.CJYix4MN.js} | 16 +- _app/immutable/chunks/define.DglGPCT0.js | 8 + .../{entry.Dk4uGs0c.js => entry.10fmg0a5.js} | 2 +- _app/immutable/chunks/globals.D0QH3NT1.js | 1 + .../{index.CGY-0lOs.js => index.QmGHi4hh.js} | 2 +- _app/immutable/chunks/paths.BtEKXNvL.js | 1 + _app/immutable/chunks/paths.BtXhTYCr.js | 1 - _app/immutable/entry/app.BgF24xBC.js | 7 + _app/immutable/entry/app.CgZsg7o0.js | 7 - _app/immutable/entry/start.BfDuLkmo.js | 1 + _app/immutable/entry/start.DvsWMV41.js | 1 - _app/immutable/nodes/0.DF-D1GDn.js | 7 + _app/immutable/nodes/0.DQXi9sUn.js | 7 - _app/immutable/nodes/1.U_vkKEcE.js | 1 + _app/immutable/nodes/1.jh_Qi1Ew.js | 1 - .../nodes/{2.oGNMZUjL.js => 2.DW9hz2nR.js} | 10 +- .../nodes/{3.Bi0n2n17.js => 3.Doms-mkI.js} | 6 +- .../nodes/{4.JtM9JyR-.js => 4.BHqP-rBH.js} | 14 +- .../nodes/{5.Bl0aq3A9.js => 5.DdhVVrFi.js} | 24 +- .../nodes/{6.C-BQ3IDl.js => 6.CeRyQlOW.js} | 20 +- _app/immutable/nodes/7.BznqhJ0E.js | 277 +++++++++++++++ _app/version.json | 2 +- example-component.html | 27 +- index.html | 30 +- reorder-list.html | 35 +- tab-list.html | 45 +-- toggle-switch.html | 46 +-- typewritten-text.html | 325 ++++++++++++++++++ 35 files changed, 776 insertions(+), 156 deletions(-) rename _app/immutable/assets/{0.Bg1ELfuf.css => 0.D8I8Hl9H.css} (95%) create mode 100644 _app/immutable/assets/7.CYDfT9Y1.css rename _app/immutable/assets/{_layout.8cP6KoEf.css => _layout.BNJbrVdY.css} (93%) create mode 100644 _app/immutable/assets/_page.CYDfT9Y1.css create mode 100644 _app/immutable/assets/demo.BbQyX9Y4.gif create mode 100644 _app/immutable/assets/style.DM1gH6IL.css create mode 100644 _app/immutable/chunks/Readme.BbztUA8r.js rename _app/immutable/chunks/{define.D9ZjvaKp.js => define.CJYix4MN.js} (81%) create mode 100644 _app/immutable/chunks/define.DglGPCT0.js rename _app/immutable/chunks/{entry.Dk4uGs0c.js => entry.10fmg0a5.js} (99%) create mode 100644 _app/immutable/chunks/globals.D0QH3NT1.js rename _app/immutable/chunks/{index.CGY-0lOs.js => index.QmGHi4hh.js} (96%) create mode 100644 _app/immutable/chunks/paths.BtEKXNvL.js delete mode 100644 _app/immutable/chunks/paths.BtXhTYCr.js create mode 100644 _app/immutable/entry/app.BgF24xBC.js delete mode 100644 _app/immutable/entry/app.CgZsg7o0.js create mode 100644 _app/immutable/entry/start.BfDuLkmo.js delete mode 100644 _app/immutable/entry/start.DvsWMV41.js create mode 100644 _app/immutable/nodes/0.DF-D1GDn.js delete mode 100644 _app/immutable/nodes/0.DQXi9sUn.js create mode 100644 _app/immutable/nodes/1.U_vkKEcE.js delete mode 100644 _app/immutable/nodes/1.jh_Qi1Ew.js rename _app/immutable/nodes/{2.oGNMZUjL.js => 2.DW9hz2nR.js} (96%) rename _app/immutable/nodes/{3.Bi0n2n17.js => 3.Doms-mkI.js} (52%) rename _app/immutable/nodes/{4.JtM9JyR-.js => 4.BHqP-rBH.js} (89%) rename _app/immutable/nodes/{5.Bl0aq3A9.js => 5.DdhVVrFi.js} (94%) rename _app/immutable/nodes/{6.C-BQ3IDl.js => 6.CeRyQlOW.js} (85%) create mode 100644 _app/immutable/nodes/7.BznqhJ0E.js create mode 100644 typewritten-text.html diff --git a/_app/immutable/assets/0.Bg1ELfuf.css b/_app/immutable/assets/0.D8I8Hl9H.css similarity index 95% rename from _app/immutable/assets/0.Bg1ELfuf.css rename to _app/immutable/assets/0.D8I8Hl9H.css index ed50d84..fc7a7f2 100644 --- a/_app/immutable/assets/0.Bg1ELfuf.css +++ b/_app/immutable/assets/0.D8I8Hl9H.css @@ -1 +1 @@ -header.svelte-115rb9m.svelte-115rb9m{background-color:var(--c-banner);color:var(--c-banner-text)}header.svelte-115rb9m a{color:var(--c-banner-text)}.site-title.svelte-115rb9m.svelte-115rb9m{font-size:var(--f-p1);text-decoration:none}.site-title.svelte-115rb9m.svelte-115rb9m:hover,.site-title.svelte-115rb9m.svelte-115rb9m:focus{text-decoration:underline}address.svelte-115rb9m.svelte-115rb9m{font-style:normal;font-size:var(--f-m1)}.site-nav.svelte-115rb9m.svelte-115rb9m{display:flex;align-items:center;margin-bottom:1rem}.site-links.svelte-115rb9m.svelte-115rb9m{flex:1}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:calc(var(--f-p1) + var(--f-m1))}hr.svelte-115rb9m.svelte-115rb9m{border:none;border-bottom:1.5px solid var(--c-banner-text);margin:0 1rem 1rem}.skip-link.svelte-115rb9m.svelte-115rb9m{text-align:center;position:absolute;top:1em;left:-9999px}.skip-link.svelte-115rb9m.svelte-115rb9m:focus{left:clamp(16px,2.667vw,32px);z-index:999}.skip-link.svelte-115rb9m.svelte-115rb9m:focus:after{content:"";display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000000bf;z-index:-2}@media screen and (min-width: 1200px){.site-nav.svelte-115rb9m.svelte-115rb9m{flex-direction:column-reverse;text-align:center}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:var(--f-p3)}}ul.svelte-p7odg2{list-style:none;padding:0;margin:0}li.svelte-p7odg2{line-height:1.5}:root{--c-bg:hsl(0, 0%, 87%);--c-bg-border:hsl(0, 0%, 75%);--c-banner:hsl(215, 100%, 10%);--c-banner-text:hsl(0, 0%, 100%);--c-content:hsl(0, 0%, 100%);--c-content-text:hsl(0, 0%, 16%);--c-content-off:hsl(0, 0%, 97%);--c-primary:hsl(210, 68%, 45%);--c-secondary:hsl(262, 58%, 58%);--c-code-bg:hsl(0, 0%, 93%);--c-primary-overlay:hsl(207, 52%, 97%);--c-success:hsl(102, 46%, 36%);--c-success-overlay:hsl(100, 43%, 96%);--c-danger:hsl(357, 68%, 45%);--c-danger-overlay:hsl(359, 52%, 96%);--c-warning:hsl(48, 86%, 29%);--c-warning-overlay:hsl(50, 63%, 96%);--c-code-default:var(--content-text);--c-code-comment:#008800;--c-code-keyword:#0060FF;--c-code-literal:#a85f30;--c-code-name:#0080AA;--c-code-string:#a31515;--c-code-annotation:#808000;--f-m1:clamp(.85rem, 1.333vw, 1rem);--f-0:clamp(1rem, 1.667vw, 1.25rem);--f-p1:clamp(1.25rem, 2vw, 1.5rem);--f-p2:clamp(1.5rem, 2.667vw, 2rem);--f-p3:clamp(1.825rem, 3.667vw, 2.75rem)}*,*:before,*:after{box-sizing:border-box;margin-top:0}body{background-color:var(--c-bg);padding:0;margin:0;font-family:Source Sans Pro,sans-serif;font-size:var(--f-0)}.container{position:relative;padding:clamp(16px,2.667vw,32px)}main{background-color:var(--c-content);color:var(--c-content-text)}a{color:var(--c-primary);text-decoration:underline}a:hover,a:focus{text-decoration:none}a:visited{color:var(--c-secondary)}.full-screen.svelte-1km5v2u.svelte-1km5v2u{min-height:100vh}.horizontal-on-large.svelte-1km5v2u.svelte-1km5v2u{display:flex;flex-direction:column}.horizontal-on-large.svelte-1km5v2u main.svelte-1km5v2u{flex:1;overflow:hidden}@media screen and (min-width: 1200px){.horizontal-on-large.svelte-1km5v2u.svelte-1km5v2u{flex-direction:row;max-width:1200px;margin:auto}}wc-demo{display:block;border:.0625em solid var(--c-primary);border-radius:.25em;padding:.75em;box-shadow:.125em .125em .25em #00000026 inset;background:var(--c-content-off);margin-bottom:1.5rem}wc-demo>*:last-child{margin-bottom:0}code{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-content-text);background:var(--c-code-bg);border-radius:.25em;padding:.0625em .25em}pre{margin-bottom:1.5em}pre code{font-size:80%;display:block;line-height:1.5em;border:1px solid var(--c-primary);border-left-width:6px;padding:0 16px;overflow:auto;background:none;background-image:linear-gradient(transparent 50%,var(--c-primary-overlay) 50%);background-size:3em 3em;border-radius:0}.success>pre code{border-color:var(--c-success);background-image:linear-gradient(transparent 50%,var(--c-success-overlay) 50%)}.warning>pre code{border-color:var(--c-warning);background-image:linear-gradient(transparent 50%,var(--c-warning-overlay) 50%)}.danger>pre code{border-color:var(--c-danger-banner);background-image:linear-gradient(transparent 50%,var(--c-danger-overlay) 50%)}code .hljs-comment{color:var(--c-code-comment)}code .hljs-keyword,code .hljs-attr,code .hljs-attribute{color:var(--c-code-keyword)}code .hljs-number,code .hljs-literal{color:var(--c-code-literal)}code .hljs-string,code .hljs-regexp{color:var(--c-code-string)}code .hljs-name,code .hljs-title.class_,code .hljs-selector-class{color:var(--c-code-name)}code .hljs-built_in,code .hljs-title.function_,code .hljs-selector-pseudo{font-weight:700}code .hljs-meta{color:var(--c-code-annotation)}kbd{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-code-default);border:.0625em solid var(--c-bg);border-bottom-width:.125em;border-radius:.25em;padding:.0625em .25em}article{padding:0;margin:0}article p{line-height:1.5em;margin-bottom:1.5rem}article li{line-height:1.5em}ul,ol{margin-bottom:1.5rem}article h1,article h2,article h3,article h4,article h5,article h6{font-weight:700;line-height:1;padding-top:1.5rem;margin-bottom:1rem}article h1{padding:0}article h2{border-bottom:1px solid var(--c-bg)}article h1{font-size:var(--f-p3)}article h2{font-size:var(--f-p2)}article h3{font-size:var(--f-p1)}article h4{font-size:var(--f-0)}article h5{font-size:var(--f-0)}article h6{font-size:var(--f-0)}table{border-collapse:collapse;margin-bottom:1.5rem}table td,table th{border:1px solid var(--c-bg-border);padding:.25rem 1rem} +header.svelte-115rb9m.svelte-115rb9m{background-color:var(--c-banner);color:var(--c-banner-text)}header.svelte-115rb9m a{color:var(--c-banner-text)}.site-title.svelte-115rb9m.svelte-115rb9m{font-size:var(--f-p1);text-decoration:none}.site-title.svelte-115rb9m.svelte-115rb9m:hover,.site-title.svelte-115rb9m.svelte-115rb9m:focus{text-decoration:underline}address.svelte-115rb9m.svelte-115rb9m{font-style:normal;font-size:var(--f-m1)}.site-nav.svelte-115rb9m.svelte-115rb9m{display:flex;align-items:center;margin-bottom:1rem}.site-links.svelte-115rb9m.svelte-115rb9m{flex:1}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:calc(var(--f-p1) + var(--f-m1))}hr.svelte-115rb9m.svelte-115rb9m{border:none;border-bottom:1.5px solid var(--c-banner-text);margin:0 1rem 1rem}.skip-link.svelte-115rb9m.svelte-115rb9m{text-align:center;position:absolute;top:1em;left:-9999px}.skip-link.svelte-115rb9m.svelte-115rb9m:focus{left:clamp(16px,2.667vw,32px);z-index:999}.skip-link.svelte-115rb9m.svelte-115rb9m:focus:after{content:"";display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000000bf;z-index:-2}@media screen and (min-width: 1200px){.site-nav.svelte-115rb9m.svelte-115rb9m{flex-direction:column-reverse;text-align:center}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:var(--f-p3)}}ul.svelte-p7odg2{list-style:none;padding:0;margin:0}li.svelte-p7odg2{line-height:1.5}:root{--c-bg:hsl(0, 0%, 87%);--c-bg-border:hsl(0, 0%, 75%);--c-banner:hsl(215, 100%, 10%);--c-banner-text:hsl(0, 0%, 100%);--c-content:hsl(0, 0%, 100%);--c-content-text:hsl(0, 0%, 16%);--c-content-off:hsl(0, 0%, 97%);--c-primary:hsl(210, 68%, 45%);--c-secondary:hsl(262, 58%, 58%);--c-code-bg:hsl(0, 0%, 93%);--c-primary-overlay:hsl(207, 52%, 97%);--c-success:hsl(102, 46%, 36%);--c-success-overlay:hsl(100, 43%, 96%);--c-danger:hsl(357, 68%, 45%);--c-danger-overlay:hsl(359, 52%, 96%);--c-warning:hsl(48, 86%, 29%);--c-warning-overlay:hsl(50, 63%, 96%);--c-code-default:var(--content-text);--c-code-comment:#008800;--c-code-keyword:#0060FF;--c-code-literal:#a85f30;--c-code-name:#0080AA;--c-code-string:#a31515;--c-code-annotation:#808000;--f-m1:clamp(.85rem, 1.333vw, 1rem);--f-0:clamp(1rem, 1.667vw, 1.25rem);--f-p1:clamp(1.25rem, 2vw, 1.5rem);--f-p2:clamp(1.5rem, 2.667vw, 2rem);--f-p3:clamp(1.825rem, 3.667vw, 2.75rem)}*,*:before,*:after{box-sizing:border-box;margin-top:0}body{background-color:var(--c-bg);padding:0;margin:0;font-family:Source Sans Pro,sans-serif;font-size:var(--f-0)}.container{position:relative;padding:clamp(16px,2.667vw,32px)}main{background-color:var(--c-content);color:var(--c-content-text)}a{color:var(--c-primary);text-decoration:underline}a:hover,a:focus{text-decoration:none}a:visited{color:var(--c-secondary)}.full-screen.svelte-1w48v4x.svelte-1w48v4x{min-height:100vh}.horizontal-on-large.svelte-1w48v4x.svelte-1w48v4x{display:flex;flex-direction:column}.horizontal-on-large.svelte-1w48v4x main.svelte-1w48v4x{flex:1;overflow:hidden}@media screen and (min-width: 1200px){.horizontal-on-large.svelte-1w48v4x.svelte-1w48v4x{flex-direction:row;max-width:1200px;margin:auto}}wc-demo{display:block;border:.0625em solid var(--c-primary);border-radius:.25em;padding:.75em;box-shadow:.125em .125em .25em #00000026 inset;background:var(--c-content-off);margin-bottom:1.5rem}wc-demo>*:last-child{margin-bottom:0}code{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-content-text);background:var(--c-code-bg);border-radius:.25em;padding:.0625em .25em}pre{margin-bottom:1.5em}pre code{font-size:80%;display:block;line-height:1.5em;border:1px solid var(--c-primary);border-left-width:6px;padding:0 16px;overflow:auto;background:none;background-image:linear-gradient(transparent 50%,var(--c-primary-overlay) 50%);background-size:3em 3em;border-radius:0}.success>pre code{border-color:var(--c-success);background-image:linear-gradient(transparent 50%,var(--c-success-overlay) 50%)}.warning>pre code{border-color:var(--c-warning);background-image:linear-gradient(transparent 50%,var(--c-warning-overlay) 50%)}.danger>pre code{border-color:var(--c-danger-banner);background-image:linear-gradient(transparent 50%,var(--c-danger-overlay) 50%)}code .hljs-comment{color:var(--c-code-comment)}code .hljs-keyword,code .hljs-attr,code .hljs-attribute{color:var(--c-code-keyword)}code .hljs-number,code .hljs-literal{color:var(--c-code-literal)}code .hljs-string,code .hljs-regexp{color:var(--c-code-string)}code .hljs-name,code .hljs-title.class_,code .hljs-selector-class{color:var(--c-code-name)}code .hljs-built_in,code .hljs-title.function_,code .hljs-selector-pseudo{font-weight:700}code .hljs-meta{color:var(--c-code-annotation)}kbd{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-code-default);border:.0625em solid var(--c-bg);border-bottom-width:.125em;border-radius:.25em;padding:.0625em .25em}article{padding:0;margin:0}article p{line-height:1.5em;margin-bottom:1.5rem}article li{line-height:1.5em}ul,ol{margin-bottom:1.5rem}article h1,article h2,article h3,article h4,article h5,article h6{font-weight:700;line-height:1;padding-top:1.5rem;margin-bottom:1rem}article h1{padding:0}article h2{border-bottom:1px solid var(--c-bg)}article h1{font-size:var(--f-p3)}article h2{font-size:var(--f-p2)}article h3{font-size:var(--f-p1)}article h4{font-size:var(--f-0)}article h5{font-size:var(--f-0)}article h6{font-size:var(--f-0)}table{border-collapse:collapse;margin-bottom:1.5rem}table td,table th{border:1px solid var(--c-bg-border);padding:.25rem 1rem} diff --git a/_app/immutable/assets/7.CYDfT9Y1.css b/_app/immutable/assets/7.CYDfT9Y1.css new file mode 100644 index 0000000..2e509e6 --- /dev/null +++ b/_app/immutable/assets/7.CYDfT9Y1.css @@ -0,0 +1 @@ +typewritten-text[paused] .typewritten-text_character:after{visibility:hidden} diff --git a/_app/immutable/assets/_layout.8cP6KoEf.css b/_app/immutable/assets/_layout.BNJbrVdY.css similarity index 93% rename from _app/immutable/assets/_layout.8cP6KoEf.css rename to _app/immutable/assets/_layout.BNJbrVdY.css index 36792b3..232ed7b 100644 --- a/_app/immutable/assets/_layout.8cP6KoEf.css +++ b/_app/immutable/assets/_layout.BNJbrVdY.css @@ -1 +1 @@ -header.svelte-115rb9m.svelte-115rb9m{background-color:var(--c-banner);color:var(--c-banner-text)}header.svelte-115rb9m a{color:var(--c-banner-text)}.site-title.svelte-115rb9m.svelte-115rb9m{font-size:var(--f-p1);text-decoration:none}.site-title.svelte-115rb9m.svelte-115rb9m:hover,.site-title.svelte-115rb9m.svelte-115rb9m:focus{text-decoration:underline}address.svelte-115rb9m.svelte-115rb9m{font-style:normal;font-size:var(--f-m1)}.site-nav.svelte-115rb9m.svelte-115rb9m{display:flex;align-items:center;margin-bottom:1rem}.site-links.svelte-115rb9m.svelte-115rb9m{flex:1}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:calc(var(--f-p1) + var(--f-m1))}hr.svelte-115rb9m.svelte-115rb9m{border:none;border-bottom:1.5px solid var(--c-banner-text);margin:0 1rem 1rem}.skip-link.svelte-115rb9m.svelte-115rb9m{text-align:center;position:absolute;top:1em;left:-9999px}.skip-link.svelte-115rb9m.svelte-115rb9m:focus{left:clamp(16px,2.667vw,32px);z-index:999}.skip-link.svelte-115rb9m.svelte-115rb9m:focus:after{content:"";display:block;position:fixed;inset:0;background-color:#000000bf;z-index:-2}@media screen and (min-width: 1200px){.site-nav.svelte-115rb9m.svelte-115rb9m{flex-direction:column-reverse;text-align:center}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:var(--f-p3)}}ul.svelte-p7odg2{list-style:none;padding:0;margin:0}li.svelte-p7odg2{line-height:1.5}:root{--c-bg:hsl(0, 0%, 87%);--c-bg-border:hsl(0, 0%, 75%);--c-banner:hsl(215, 100%, 10%);--c-banner-text:hsl(0, 0%, 100%);--c-content:hsl(0, 0%, 100%);--c-content-text:hsl(0, 0%, 16%);--c-content-off:hsl(0, 0%, 97%);--c-primary:hsl(210, 68%, 45%);--c-secondary:hsl(262, 58%, 58%);--c-code-bg:hsl(0, 0%, 93%);--c-primary-overlay:hsl(207, 52%, 97%);--c-success:hsl(102, 46%, 36%);--c-success-overlay:hsl(100, 43%, 96%);--c-danger:hsl(357, 68%, 45%);--c-danger-overlay:hsl(359, 52%, 96%);--c-warning:hsl(48, 86%, 29%);--c-warning-overlay:hsl(50, 63%, 96%);--c-code-default:var(--content-text);--c-code-comment:#008800;--c-code-keyword:#0060FF;--c-code-literal:#a85f30;--c-code-name:#0080AA;--c-code-string:#a31515;--c-code-annotation:#808000;--f-m1:clamp(.85rem, 1.333vw, 1rem);--f-0:clamp(1rem, 1.667vw, 1.25rem);--f-p1:clamp(1.25rem, 2vw, 1.5rem);--f-p2:clamp(1.5rem, 2.667vw, 2rem);--f-p3:clamp(1.825rem, 3.667vw, 2.75rem)}*,*:before,*:after{box-sizing:border-box;margin-top:0}body{background-color:var(--c-bg);padding:0;margin:0;font-family:Source Sans Pro,sans-serif;font-size:var(--f-0)}.container{position:relative;padding:clamp(16px,2.667vw,32px)}main{background-color:var(--c-content);color:var(--c-content-text)}a{color:var(--c-primary);text-decoration:underline}a:hover,a:focus{text-decoration:none}a:visited{color:var(--c-secondary)}.full-screen.svelte-1km5v2u.svelte-1km5v2u{min-height:100vh}.horizontal-on-large.svelte-1km5v2u.svelte-1km5v2u{display:flex;flex-direction:column}.horizontal-on-large.svelte-1km5v2u main.svelte-1km5v2u{flex:1;overflow:hidden}@media screen and (min-width: 1200px){.horizontal-on-large.svelte-1km5v2u.svelte-1km5v2u{flex-direction:row;max-width:1200px;margin:auto}}wc-demo{display:block;border:.0625em solid var(--c-primary);border-radius:.25em;padding:.75em;box-shadow:.125em .125em .25em #00000026 inset;background:var(--c-content-off);margin-bottom:1.5rem}wc-demo>*:last-child{margin-bottom:0}code{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-content-text);background:var(--c-code-bg);border-radius:.25em;padding:.0625em .25em}pre{margin-bottom:1.5em}pre code{font-size:80%;display:block;line-height:1.5em;border:1px solid var(--c-primary);border-left-width:6px;padding:0 16px;overflow:auto;background:none;background-image:linear-gradient(transparent 50%,var(--c-primary-overlay) 50%);background-size:3em 3em;border-radius:0}.success>pre code{border-color:var(--c-success);background-image:linear-gradient(transparent 50%,var(--c-success-overlay) 50%)}.warning>pre code{border-color:var(--c-warning);background-image:linear-gradient(transparent 50%,var(--c-warning-overlay) 50%)}.danger>pre code{border-color:var(--c-danger-banner);background-image:linear-gradient(transparent 50%,var(--c-danger-overlay) 50%)}code .hljs-comment{color:var(--c-code-comment)}code .hljs-keyword,code .hljs-attr,code .hljs-attribute{color:var(--c-code-keyword)}code .hljs-number,code .hljs-literal{color:var(--c-code-literal)}code .hljs-string,code .hljs-regexp{color:var(--c-code-string)}code .hljs-name,code .hljs-title.class_,code .hljs-selector-class{color:var(--c-code-name)}code .hljs-built_in,code .hljs-title.function_,code .hljs-selector-pseudo{font-weight:700}code .hljs-meta{color:var(--c-code-annotation)}kbd{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-code-default);border:.0625em solid var(--c-bg);border-bottom-width:.125em;border-radius:.25em;padding:.0625em .25em}article{padding:0;margin:0}article p{line-height:1.5em;margin-bottom:1.5rem}article li{line-height:1.5em}ul,ol{margin-bottom:1.5rem}article h1,article h2,article h3,article h4,article h5,article h6{font-weight:700;line-height:1;padding-top:1.5rem;margin-bottom:1rem}article h1{padding:0}article h2{border-bottom:1px solid var(--c-bg)}article h1{font-size:var(--f-p3)}article h2{font-size:var(--f-p2)}article h3{font-size:var(--f-p1)}article h4{font-size:var(--f-0)}article h5{font-size:var(--f-0)}article h6{font-size:var(--f-0)}table{border-collapse:collapse;margin-bottom:1.5rem}table td,table th{border:1px solid var(--c-bg-border);padding:.25rem 1rem} +header.svelte-115rb9m.svelte-115rb9m{background-color:var(--c-banner);color:var(--c-banner-text)}header.svelte-115rb9m a{color:var(--c-banner-text)}.site-title.svelte-115rb9m.svelte-115rb9m{font-size:var(--f-p1);text-decoration:none}.site-title.svelte-115rb9m.svelte-115rb9m:hover,.site-title.svelte-115rb9m.svelte-115rb9m:focus{text-decoration:underline}address.svelte-115rb9m.svelte-115rb9m{font-style:normal;font-size:var(--f-m1)}.site-nav.svelte-115rb9m.svelte-115rb9m{display:flex;align-items:center;margin-bottom:1rem}.site-links.svelte-115rb9m.svelte-115rb9m{flex:1}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:calc(var(--f-p1) + var(--f-m1))}hr.svelte-115rb9m.svelte-115rb9m{border:none;border-bottom:1.5px solid var(--c-banner-text);margin:0 1rem 1rem}.skip-link.svelte-115rb9m.svelte-115rb9m{text-align:center;position:absolute;top:1em;left:-9999px}.skip-link.svelte-115rb9m.svelte-115rb9m:focus{left:clamp(16px,2.667vw,32px);z-index:999}.skip-link.svelte-115rb9m.svelte-115rb9m:focus:after{content:"";display:block;position:fixed;inset:0;background-color:#000000bf;z-index:-2}@media screen and (min-width: 1200px){.site-nav.svelte-115rb9m.svelte-115rb9m{flex-direction:column-reverse;text-align:center}.site-logo.svelte-115rb9m img.svelte-115rb9m{height:var(--f-p3)}}ul.svelte-p7odg2{list-style:none;padding:0;margin:0}li.svelte-p7odg2{line-height:1.5}:root{--c-bg:hsl(0, 0%, 87%);--c-bg-border:hsl(0, 0%, 75%);--c-banner:hsl(215, 100%, 10%);--c-banner-text:hsl(0, 0%, 100%);--c-content:hsl(0, 0%, 100%);--c-content-text:hsl(0, 0%, 16%);--c-content-off:hsl(0, 0%, 97%);--c-primary:hsl(210, 68%, 45%);--c-secondary:hsl(262, 58%, 58%);--c-code-bg:hsl(0, 0%, 93%);--c-primary-overlay:hsl(207, 52%, 97%);--c-success:hsl(102, 46%, 36%);--c-success-overlay:hsl(100, 43%, 96%);--c-danger:hsl(357, 68%, 45%);--c-danger-overlay:hsl(359, 52%, 96%);--c-warning:hsl(48, 86%, 29%);--c-warning-overlay:hsl(50, 63%, 96%);--c-code-default:var(--content-text);--c-code-comment:#008800;--c-code-keyword:#0060FF;--c-code-literal:#a85f30;--c-code-name:#0080AA;--c-code-string:#a31515;--c-code-annotation:#808000;--f-m1:clamp(.85rem, 1.333vw, 1rem);--f-0:clamp(1rem, 1.667vw, 1.25rem);--f-p1:clamp(1.25rem, 2vw, 1.5rem);--f-p2:clamp(1.5rem, 2.667vw, 2rem);--f-p3:clamp(1.825rem, 3.667vw, 2.75rem)}*,*:before,*:after{box-sizing:border-box;margin-top:0}body{background-color:var(--c-bg);padding:0;margin:0;font-family:Source Sans Pro,sans-serif;font-size:var(--f-0)}.container{position:relative;padding:clamp(16px,2.667vw,32px)}main{background-color:var(--c-content);color:var(--c-content-text)}a{color:var(--c-primary);text-decoration:underline}a:hover,a:focus{text-decoration:none}a:visited{color:var(--c-secondary)}.full-screen.svelte-1w48v4x.svelte-1w48v4x{min-height:100vh}.horizontal-on-large.svelte-1w48v4x.svelte-1w48v4x{display:flex;flex-direction:column}.horizontal-on-large.svelte-1w48v4x main.svelte-1w48v4x{flex:1;overflow:hidden}@media screen and (min-width: 1200px){.horizontal-on-large.svelte-1w48v4x.svelte-1w48v4x{flex-direction:row;max-width:1200px;margin:auto}}wc-demo{display:block;border:.0625em solid var(--c-primary);border-radius:.25em;padding:.75em;box-shadow:.125em .125em .25em #00000026 inset;background:var(--c-content-off);margin-bottom:1.5rem}wc-demo>*:last-child{margin-bottom:0}code{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-content-text);background:var(--c-code-bg);border-radius:.25em;padding:.0625em .25em}pre{margin-bottom:1.5em}pre code{font-size:80%;display:block;line-height:1.5em;border:1px solid var(--c-primary);border-left-width:6px;padding:0 16px;overflow:auto;background:none;background-image:linear-gradient(transparent 50%,var(--c-primary-overlay) 50%);background-size:3em 3em;border-radius:0}.success>pre code{border-color:var(--c-success);background-image:linear-gradient(transparent 50%,var(--c-success-overlay) 50%)}.warning>pre code{border-color:var(--c-warning);background-image:linear-gradient(transparent 50%,var(--c-warning-overlay) 50%)}.danger>pre code{border-color:var(--c-danger-banner);background-image:linear-gradient(transparent 50%,var(--c-danger-overlay) 50%)}code .hljs-comment{color:var(--c-code-comment)}code .hljs-keyword,code .hljs-attr,code .hljs-attribute{color:var(--c-code-keyword)}code .hljs-number,code .hljs-literal{color:var(--c-code-literal)}code .hljs-string,code .hljs-regexp{color:var(--c-code-string)}code .hljs-name,code .hljs-title.class_,code .hljs-selector-class{color:var(--c-code-name)}code .hljs-built_in,code .hljs-title.function_,code .hljs-selector-pseudo{font-weight:700}code .hljs-meta{color:var(--c-code-annotation)}kbd{font-family:Source Code Pro,monospace;font-size:var(--f-m1);color:var(--c-code-default);border:.0625em solid var(--c-bg);border-bottom-width:.125em;border-radius:.25em;padding:.0625em .25em}article{padding:0;margin:0}article p{line-height:1.5em;margin-bottom:1.5rem}article li{line-height:1.5em}ul,ol{margin-bottom:1.5rem}article h1,article h2,article h3,article h4,article h5,article h6{font-weight:700;line-height:1;padding-top:1.5rem;margin-bottom:1rem}article h1{padding:0}article h2{border-bottom:1px solid var(--c-bg)}article h1{font-size:var(--f-p3)}article h2{font-size:var(--f-p2)}article h3{font-size:var(--f-p1)}article h4{font-size:var(--f-0)}article h5{font-size:var(--f-0)}article h6{font-size:var(--f-0)}table{border-collapse:collapse;margin-bottom:1.5rem}table td,table th{border:1px solid var(--c-bg-border);padding:.25rem 1rem} diff --git a/_app/immutable/assets/_page.CYDfT9Y1.css b/_app/immutable/assets/_page.CYDfT9Y1.css new file mode 100644 index 0000000..2e509e6 --- /dev/null +++ b/_app/immutable/assets/_page.CYDfT9Y1.css @@ -0,0 +1 @@ +typewritten-text[paused] .typewritten-text_character:after{visibility:hidden} diff --git a/_app/immutable/assets/demo.BbQyX9Y4.gif b/_app/immutable/assets/demo.BbQyX9Y4.gif new file mode 100644 index 0000000000000000000000000000000000000000..5e8612a22724bd84280b47d68c155ef79982368e GIT binary patch literal 12625 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 J>AQmi{{>dscxV6s literal 0 HcmV?d00001 diff --git a/_app/immutable/assets/style.DM1gH6IL.css b/_app/immutable/assets/style.DM1gH6IL.css new file mode 100644 index 0000000..9d76f69 --- /dev/null +++ b/_app/immutable/assets/style.DM1gH6IL.css @@ -0,0 +1 @@ +typewritten-text{-ms-user-select:none;-webkit-user-select:none;user-select:none}typewritten-text-mirror{-ms-user-select:text;-webkit-user-select:text;user-select:text}.typewritten-text_character{color:transparent}.typewritten-text_word{white-space:nowrap}.typewritten-text_character,.typewritten-text_start{position:relative}.typewritten-text_character.typewritten-text_revealed{color:inherit}.typewritten-text_character:after,.typewritten-text_start:after{box-sizing:border-box;content:"";position:absolute;top:0;bottom:0;right:-.5ch;border-right:var(--typewritten-text_cursor-width, .125em) var(--typewritten-text_cursor-style, solid) var(--typewritten-text_cursor-color, currentColor);animation:typewritten-text_blink var(--typewriten-text_cursor-interval, .7s) infinite steps(1);visibility:hidden}.typewritten-text_start:after{right:0}.typewritten-text_current.typewritten-text_character:after,.typewritten-text_current.typewritten-text_start:after{visibility:visible}@keyframes typewritten-text_blink{0%{opacity:0}50%{opacity:1}}@media (prefers-reduced-motion){.typewritten-text_character:after,.typewritten-text_start:after{animation:none}} diff --git a/_app/immutable/chunks/Readme.BbztUA8r.js b/_app/immutable/chunks/Readme.BbztUA8r.js new file mode 100644 index 0000000..4624ea0 --- /dev/null +++ b/_app/immutable/chunks/Readme.BbztUA8r.js @@ -0,0 +1 @@ +import{s as h,n as c}from"./scheduler.Ce_0Mfso.js";import{S as o,i as f,e as d,H as u,c as _,a as g,b as R,d as m,f as p}from"./index.QmGHi4hh.js";function w(n){let e,s;return{c(){e=d("article"),s=new u(!1),this.h()},l(t){e=_(t,"ARTICLE",{});var a=g(e);s=R(a,!1),a.forEach(m),this.h()},h(){s.a=null},m(t,a){p(t,e,a),s.m(n[0],e)},p(t,[a]){a&1&&s.p(t[0])},i:c,o:c,d(t){t&&m(e)}}}function x(n,e,s){let t,{html:a}=e,{assets:l=[]}=e;return n.$$set=i=>{"html"in i&&s(1,a=i.html),"assets"in i&&s(2,l=i.assets)},n.$$.update=()=>{n.$$.dirty&6&&s(0,t=l.reduce((i,r)=>i.replace(new RegExp(r.replace,"g"),r.with),a))},[t,a,l]}class H extends o{constructor(e){super(),f(this,e,x,w,h,{html:1,assets:2})}}export{H as R}; diff --git a/_app/immutable/chunks/define.D9ZjvaKp.js b/_app/immutable/chunks/define.CJYix4MN.js similarity index 81% rename from _app/immutable/chunks/define.D9ZjvaKp.js rename to _app/immutable/chunks/define.CJYix4MN.js index 6d78ce3..e1907ba 100644 --- a/_app/immutable/chunks/define.D9ZjvaKp.js +++ b/_app/immutable/chunks/define.CJYix4MN.js @@ -1,9 +1,9 @@ var h=Object.defineProperty;var v=(s,e,t)=>e in s?h(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var i=(s,e,t)=>(v(s,typeof e!="symbol"?e+"":e,t),t),b=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)};var r=(s,e,t)=>(b(s,e,"read from private field"),t?t.call(s):e.get(s)),u=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)};var c,o;const a=class a extends HTMLElement{constructor(){super();i(this,"decrease",()=>{this.value-=1});i(this,"increase",()=>{this.value+=1});u(this,c,()=>{this.shadowRoot.querySelector("#value").textContent=this.value.toString()});u(this,o,()=>{const t=this.shadowRoot??this.attachShadow({mode:"open"}),d=document.createElement("style");d.innerHTML=a.css;const l=document.createElement("template");return l.innerHTML=a.html,t.appendChild(d),t.appendChild(l.content),t});r(this,o).call(this)}static get observedAttributes(){return["value"]}get value(){return parseInt(this.getAttribute("value")??"0")}set value(t){this.setAttribute("value",t.toString())}connectedCallback(){this.shadowRoot.querySelector("#decrease").addEventListener("click",this.decrease),this.shadowRoot.querySelector("#increase").addEventListener("click",this.increase),r(this,c).call(this)}attributeChangedCallback(){r(this,c).call(this)}};c=new WeakMap,o=new WeakMap,i(a,"defaultElementName","example-component"),i(a,"html",` - - 0 - - `),i(a,"css",` - #value { - font-weight: bold; - } - `);let n=a;window.customElements.get(n.defaultElementName)||window.customElements.define(n.defaultElementName,n); + + 0 + + `),i(a,"css",` + #value { + font-weight: bold; + } + `);let n=a;window.customElements.get(n.defaultElementName)||window.customElements.define(n.defaultElementName,n); diff --git a/_app/immutable/chunks/define.DglGPCT0.js b/_app/immutable/chunks/define.DglGPCT0.js new file mode 100644 index 0000000..194d819 --- /dev/null +++ b/_app/immutable/chunks/define.DglGPCT0.js @@ -0,0 +1,8 @@ +var b=Object.defineProperty;var x=(r,s,t)=>s in r?b(r,s,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[s]=t;var e=(r,s,t)=>(x(r,typeof s!="symbol"?s+"":s,t),t),A=(r,s,t)=>{if(!s.has(r))throw TypeError("Cannot "+t)};var E=(r,s,t)=>(A(r,s,"read from private field"),t?t.call(r):s.get(r)),w=(r,s,t)=>{if(s.has(r))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(r):s.set(r,t)};const m="typewritten-text:nextchar",g=r=>new CustomEvent(m,{detail:{position:r}}),v="typewritten-text:prevchar",C=r=>new CustomEvent(v,{detail:{position:r}}),P="typewritten-text:phrasetyped",L=()=>new CustomEvent(P),S="typewritten-text:phraseremoved",I=()=>new CustomEvent(S),M="typewritten-text:started",N=()=>new CustomEvent(M),k="typewritten-text:paused",R=()=>new CustomEvent(k);class c extends HTMLElement{constructor(t){super();e(this,"mirrorOf");e(this,"characters");e(this,"type",(t,n,i)=>{const o=i.detail.position;o<=0?this.querySelector(".typewritten-text_start").classList[t]("typewritten-text_current"):this.characters[o-1].classList[t]("typewritten-text_current"),this.characters[o].classList[n]("typewritten-text_current","typewritten-text_revealed")});e(this,"next",this.type.bind(this,"remove","add"));e(this,"prev",this.type.bind(this,"add","remove"));this.mirrorOf=t,this.characters=[]}connectedCallback(){this.setAttribute("aria-label",this.textContent),this.characters=Array.from(this.querySelectorAll(".typewritten-text_character")),this.mirrorOf.addEventListener(m,this.next),this.mirrorOf.addEventListener(v,this.prev)}disconnectedCallback(){this.mirrorOf.removeEventListener(m,this.next),this.mirrorOf.removeEventListener(v,this.prev)}}e(c,"elementName","typewritten-text-mirror");var d;const a=class a extends HTMLElement{constructor(){super();e(this,"currentPosition");e(this,"mirror");e(this,"direction");e(this,"typeNext",()=>{this.currentPosition{this.currentPosition>0&&(this.currentPosition-=1,this.dispatchEvent(C(this.currentPosition)),this.currentPosition===0&&this.dispatchEvent(I()))});e(this,"start",()=>this.paused=!1);e(this,"pause",()=>this.paused=!0);e(this,"tick",()=>{if(this.paused)return;const t=this.forceTick();!t||this.repeat?setTimeout(this.tick,t?this.phraseInterval:this.letterInterval):this.pause()});e(this,"reverse",()=>{this.direction=this.direction==="forward"?"backward":"forward"});e(this,"reset",()=>{this.currentPosition=0,this.direction="forward",this.mirror.remove(),this.createMirror(),this.insertMirror()});e(this,"forceTick",()=>{this.direction==="forward"?this.typeNext():this.backspace();const t=this.currentPosition<=0||this.currentPosition>=this.length;return t&&this.reverse(),t});e(this,"divideIntoCharacters",(t=this)=>{const n=i=>/[a-zA-Z0-9_]/.test(i);return[...t.childNodes].map(i=>{if(i.nodeType===Node.TEXT_NODE){const o=[...i.textContent];let h=!1;const f=o.reduce((y,u)=>{let p="";return!h&&n(u)?(h=!0,p=''):h&&!n(u)&&(h=!1,p=""),`${y}${p}`},"");return h?`${f}`:f}else{const o=i.cloneNode(!1);return o.innerHTML=this.divideIntoCharacters(i),o.outerHTML}}).join("")});e(this,"createMirror",()=>{this.mirror=new c(this),this.mirror.slot="mirror",this.mirror.innerHTML=''+this.divideIntoCharacters()});e(this,"insertMirror",()=>{this.appendChild(this.mirror)});w(this,d,()=>{const t=this.shadowRoot??this.attachShadow({mode:"open"}),n=document.createElement("style");n.innerHTML=a.css;const i=document.createElement("template");return i.innerHTML=a.html,t.appendChild(n),t.appendChild(i.content),t});E(this,d).call(this),this.currentPosition=0,this.mirror=null,this.direction="forward"}static get observedAttributes(){return["paused"]}connectedCallback(){this.mirror||this.createMirror(),this.insertMirror(),this.tick();const t=this.shadowRoot.querySelector("slot"),n=this.shadowRoot.querySelector('slot[name="mirror"]');t.addEventListener("slotchange",this.reset),n.addEventListener("slotchange",()=>{n.assignedNodes().length===0&&this.reset()})}attributeChangedCallback(t,n,i){t==="paused"&&(i==null?(this.dispatchEvent(N()),this.tick()):this.dispatchEvent(R()))}get letterInterval(){return parseInt(this.getAttribute("letter-interval"))||a.defaultLetterInterval}set letterInterval(t){t==null?this.removeAttribute("letter-interval"):this.setAttribute("letter-interval",t.toString())}get phraseInterval(){return parseInt(this.getAttribute("phrase-interval"))||a.defaultPhraseInterval}set phraseInterval(t){t==null?this.removeAttribute("phrase-interval"):this.setAttribute("phrase-interval",t.toString())}get paused(){return this.hasAttribute("paused")}set paused(t){t?this.setAttribute("paused",""):this.removeAttribute("paused")}get repeat(){return this.hasAttribute("repeat")}set repeat(t){t?this.setAttribute("repeat",""):this.removeAttribute("repeat")}get length(){return this.mirror.querySelectorAll(".typewritten-text_character").length}};d=new WeakMap,e(a,"defaultElementName","typewritten-text"),e(a,"defaultLetterInterval",100),e(a,"defaultPhraseInterval",1e3),e(a,"html",` + + + `),e(a,"css",` + #value { + font-weight: bold; + } + `);let l=a;window.customElements.get(c.elementName)||window.customElements.define(c.elementName,c);window.customElements.get(l.defaultElementName)||window.customElements.define(l.defaultElementName,l); diff --git a/_app/immutable/chunks/entry.Dk4uGs0c.js b/_app/immutable/chunks/entry.10fmg0a5.js similarity index 99% rename from _app/immutable/chunks/entry.Dk4uGs0c.js rename to _app/immutable/chunks/entry.10fmg0a5.js index 8ce147d..4d20221 100644 --- a/_app/immutable/chunks/entry.Dk4uGs0c.js +++ b/_app/immutable/chunks/entry.10fmg0a5.js @@ -1,3 +1,3 @@ -import{n as it,s as re,t as oe}from"./scheduler.Ce_0Mfso.js";import{a as se,b as I}from"./paths.BtXhTYCr.js";new URL("sveltekit-internal://");function ie(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function ce(t){return t.split("%25").map(decodeURI).join("%25")}function le(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ct({href:t}){return t.split("#")[0]}const fe=["href","pathname","search","toString","toJSON"];function ue(t,n,e){const r=new URL(t);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),a[o](s));n();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of fe)Object.defineProperty(r,a,{get(){return n(),t[a]},enumerable:!0,configurable:!0});return r}const de="/__data.json",he=".html__data.json";function pe(t){return t.endsWith(".html")?t.replace(/\.html$/,he):t.replace(/\/$/,"")+de}function ge(...t){let n=5381;for(const e of t)if(typeof e=="string"){let r=e.length;for(;r;)n=n*33^e.charCodeAt(--r)}else if(ArrayBuffer.isView(e)){const r=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let a=r.length;for(;a;)n=n*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function me(t){const n=atob(t),e=new Uint8Array(n.length);for(let r=0;r((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&F.delete(pt(t)),Ot(t,n));const F=new Map;function _e(t,n){const e=pt(t,n),r=document.querySelector(e);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&F.set(e,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=me(a)),Promise.resolve(new Response(a,o))}return window.fetch(t,n)}function ye(t,n,e){if(F.size>0){const r=pt(t,e),a=F.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return n.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return lt(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return lt(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=we.exec(c),[,h,g,d,m]=u;return n.push({name:d,matcher:m,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return lt(c)}).join("")}).join("")}/?$`),params:n}}function be(t){return!/^\([^)]+\)$/.test(t)}function Ee(t){return t.slice(1).split("/").filter(be)}function ke(t,n,e){const r={},a=t.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){r[c.name]=l;const u=n[s+1],h=a[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function lt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Se({nodes:t,server_loads:n,dictionary:e,matchers:r}){const a=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=ve(s),d={id:s,exec:m=>{const f=h.exec(m);if(f)return ke(f,g,r)},errors:[1,...u||[]].map(m=>t[m]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[a.has(s),t[s]]}}function jt(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function It(t,n,e=JSON.stringify){const r=e(n);try{sessionStorage[t]=r}catch{}}const N=[];function gt(t,n=it){let e;const r=new Set;function a(s){if(re(t,s)&&(t=s,e)){const c=!N.length;for(const l of r)l[1](),N.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&e&&(e(),e=null)}}return{set:a,update:o,subscribe:i}}const Ae="1707582621349",$t="sveltekit:snapshot",Dt="sveltekit:scroll",Ct="sveltekit:states",Re="sveltekit:pageurl",$="sveltekit:history",q="sveltekit:navigation",z={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},B=location.origin;function Vt(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function mt(){return{x:pageXOffset,y:pageYOffset}}function O(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Lt={...z,"":z.hover};function Ft(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function qt(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Ft(t)}}function ut(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,a=!e||!!r||et(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===B&&t.hasAttribute("download");return{url:e,external:a,target:r,download:o}}function Y(t){let n=null,e=null,r=null,a=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)r===null&&(r=O(s,"preload-code")),a===null&&(a=O(s,"preload-data")),n===null&&(n=O(s,"keepfocus")),e===null&&(e=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Ft(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Lt[r??"off"],preload_data:Lt[a??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Pt(t){const n=gt(t);let e=!0;function r(){e=!0,n.update(i=>i)}function a(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}function Ie(){const{set:t,subscribe:n}=gt(!1);let e;async function r(){clearTimeout(e);try{const a=await fetch(`${se}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Ae;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:r}}function et(t,n){return t.origin!==B||!t.pathname.startsWith(n)}const Le=-1,Pe=-2,Ue=-3,xe=-4,Te=-5,Ne=-6;function Oe(t,n){if(typeof t=="number")return a(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,r=Array(e.length);function a(o,i=!1){if(o===Le)return;if(o===Ue)return NaN;if(o===xe)return 1/0;if(o===Te)return-1/0;if(o===Ne)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=e[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return r[o]=l(a(s[1]));switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;dn!=null)}class nt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Mt{constructor(n,e){this.status=n,this.location=e}}class _t extends Error{constructor(n,e,r){super(r),this.status=n,this.text=e}}const De="x-sveltekit-invalidated",Ce="x-sveltekit-trailing-slash";function J(t){return t instanceof nt||t instanceof _t?t.status:500}function Ve(t){return t instanceof _t?t.text:"Internal Error"}const T=jt(Dt)??{},G=jt($t)??{},U={url:Pt({}),page:Pt({}),navigating:gt(null),updated:Ie()};function yt(t){T[t]=mt()}function Fe(t,n){let e=t+1;for(;T[e];)delete T[e],e+=1;for(e=n+1;G[e];)delete G[e],e+=1}function D(t){return location.href=t.href,new Promise(()=>{})}function Ut(){}let at,dt,W,L,ht,C;const Ht=[],X=[];let P=null;const Bt=[],qe=[];let j=[],w={branch:[],error:null,url:null},wt=!1,Z=!1,xt=!0,M=!1,V=!1,Kt=!1,vt=!1,bt,k,A,R,Q;async function Ze(t,n,e){var a,o;document.URL!==location.href&&(location.href=location.href),C=t,at=Se(t),L=document.documentElement,ht=n,dt=t.nodes[0],W=t.nodes[1],dt(),W(),k=(a=history.state)==null?void 0:a[$],A=(o=history.state)==null?void 0:o[q],k||(k=A=Date.now(),history.replaceState({...history.state,[$]:k,[q]:A},""));const r=T[k];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),e?await Ye(ht,e):Ke(location.href,{replaceState:!0}),ze()}function zt(t){X.some(n=>n==null?void 0:n.snapshot)&&(G[t]=X.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Yt(t){var n;(n=G[t])==null||n.forEach((e,r)=>{var a,o;(o=(a=X[r])==null?void 0:a.snapshot)==null||o.restore(e)})}function Tt(){yt(k),It(Dt,T),zt(A),It($t,G)}async function Jt(t,n,e,r){return K({type:"goto",url:Vt(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:r,accept:()=>{n.invalidateAll&&(vt=!0)}})}async function Ge(t){return P={id:t.id,promise:Xt(t).then(n=>(n.type==="loaded"&&n.state.error&&(P=null),n))},P.promise}async function ft(t){const n=at.find(e=>e.exec(Zt(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function Wt(t,n){var a;w=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),R=t.props.page,bt=new C.root({target:n,props:{...t.props,stores:U,components:X},hydrate:!0}),Yt(A);const r={from:null,to:{params:w.params,route:{id:((a=w.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(o=>o(r)),Z=!0}async function tt({url:t,params:n,branch:e,status:r,error:a,route:o,form:i}){let s="never";if(I&&(t.pathname===I||t.pathname===I+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=ie(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:a,route:o},props:{constructors:$e(e).map(d=>d.node.component),page:R}};i!==void 0&&(c.props.form=i);let l={},u=!R,h=0;for(let d=0;d(s&&(c.route=!0),f[_])}),params:new Proxy(r,{get:(f,_)=>(s&&c.params.add(_),f[_])}),data:(o==null?void 0:o.data)??null,url:ue(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,_){let v;f instanceof Request?(v=f.url,_={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,..._}):v=f;const S=new URL(v,e);return s&&d(S.href),S.origin===e.origin&&(v=S.href.slice(e.origin.length)),Z?ye(v,S.href,_):_e(v,_)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,m)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Nt(t,n,e,r,a,o){if(vt)return!0;if(!a)return!1;if(a.parent&&t||a.route&&n||a.url&&e)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(o[i]!==w.params[i])return!0;for(const i of a.dependencies)if(Ht.some(s=>s(new URL(i))))return!0;return!1}function kt(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function Me(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const r of e){const a=t.searchParams.getAll(r),o=n.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&e.delete(r)}return e}async function Xt({id:t,invalidating:n,url:e,params:r,route:a}){if((P==null?void 0:P.id)===t)return P.promise;const{errors:o,layouts:i,leaf:s}=a,c=[...i,s];o.forEach(p=>p==null?void 0:p().catch(()=>{})),c.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let l=null;const u=w.url?t!==w.url.pathname+w.url.search:!1,h=w.route?a.id!==w.route.id:!1,g=Me(w.url,e);let d=!1;const m=c.map((p,y)=>{var x;const b=w.branch[y],E=!!(p!=null&&p[0])&&((b==null?void 0:b.loader)!==p[1]||Nt(d,h,u,g,(x=b.server)==null?void 0:x.uses,r));return E&&(d=!0),E});if(m.some(Boolean)){try{l=await ee(e,m)}catch(p){return rt({status:J(p),error:await H(p,{url:e,params:r,route:{id:a.id}}),url:e,route:a})}if(l.type==="redirect")return l}const f=l==null?void 0:l.nodes;let _=!1;const v=c.map(async(p,y)=>{var ot;if(!p)return;const b=w.branch[y],E=f==null?void 0:f[y];if((!E||E.type==="skip")&&p[1]===(b==null?void 0:b.loader)&&!Nt(_,h,u,g,(ot=b.universal)==null?void 0:ot.uses,r))return b;if(_=!0,(E==null?void 0:E.type)==="error")throw E;return Et({loader:p[1],url:e,params:r,route:a,parent:async()=>{var Rt;const At={};for(let st=0;st{});const S=[];for(let p=0;pPromise.resolve({}),server_data_node:kt(o)}),c={node:await W(),loader:W,universal:null,server:null,data:null};return await tt({url:e,params:a,branch:[s,c],status:t,error:n,route:null})}function St(t,n){if(!t||et(t,I))return;let e;try{e=C.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const r=Zt(e);for(const a of at){const o=a.exec(r);if(o)return{id:t.pathname+t.search,invalidating:n,route:a,params:le(o),url:t}}}function Zt(t){return ce(t.slice(I.length)||"/")}function Qt({url:t,type:n,intent:e,delta:r}){let a=!1;const o=ae(w,e,t,n);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return M||Bt.forEach(s=>s(i)),a?null:o}async function K({type:t,url:n,popped:e,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Ut,block:u=Ut}){const h=St(n,!1),g=Qt({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=k,m=A;l(),M=!0,Z&&U.navigating.set(g.navigation),Q=c;let f=h&&await Xt(h);if(!f){if(et(n,I))return await D(n);f=await te(n,{id:null},await H(new _t(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,Q!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await rt({status:500,error:await H(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Jt(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await D(n);if(Ht.length=0,vt=!1,yt(d),zt(m),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const p=o?0:1,y={[$]:k+=p,[q]:A+=p,[Ct]:i};(o?history.replaceState:history.pushState).call(history,y,"",n),o||Fe(k,A)}if(P=null,f.props.page.state=i,Z){w=f.state,f.props.page&&(f.props.page.url=n);const p=(await Promise.all(qe.map(y=>y(g.navigation)))).filter(y=>typeof y=="function");if(p.length>0){let y=function(){j=j.filter(b=>!p.includes(b))};p.push(y),j.push(...p)}bt.$set(f.props),Kt=!0}else Wt(f,ht);const{activeElement:_}=document;await oe();const v=e?e.scroll:a?mt():null;if(xt){const p=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));v?scrollTo(v.x,v.y):p?p.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==_&&document.activeElement!==document.body;!r&&!S&&Je(),xt=!0,f.props.page&&(R=f.props.page),M=!1,t==="popstate"&&Yt(A),g.fulfil(void 0),j.forEach(p=>p(g.navigation)),U.navigating.set(null)}async function te(t,n,e,r){return t.origin===B&&t.pathname===location.pathname&&!wt?await rt({status:r,error:e,url:t,route:n}):await D(t)}function Be(){let t;L.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{r(i,2)},20)});function n(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",n),L.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(ft(i.target.href),e.unobserve(i.target))},{threshold:0});function r(o,i){const s=qt(o,L);if(!s)return;const{url:c,external:l,download:u}=ut(s,I);if(l||u)return;const h=Y(s);if(!h.reload)if(i<=h.preload_data){const g=St(c,!1);g&&Ge(g)}else i<=h.preload_code&&ft(c.pathname)}function a(){e.disconnect();for(const o of L.querySelectorAll("a")){const{url:i,external:s,download:c}=ut(o,I);if(s||c)continue;const l=Y(o);l.reload||(l.preload_code===z.viewport&&e.observe(o),l.preload_code===z.eager&&ft(i.pathname))}}j.push(a),a()}function H(t,n){if(t instanceof nt)return t.body;const e=J(t),r=Ve(t);return C.hooks.handleError({error:t,event:n,status:e,message:r})??{message:r}}function Ke(t,n={}){return t=Vt(t),t.origin!==B?Promise.reject(new Error("goto: invalid URL")):Jt(t,n,0)}function ze(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let r=!1;if(Tt(),!M){const a=ae(w,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Bt.forEach(i=>i(o))}r?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Tt()}),(n=navigator.connection)!=null&&n.saveData||Be(),L.addEventListener("click",e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const r=qt(e.composedPath()[0],L);if(!r)return;const{url:a,external:o,target:i,download:s}=ut(r,I);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=Y(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;if(o||c.reload){Qt({url:a,type:"link"})?M=!0:e.preventDefault();return}const[u,h]=a.href.split("#");if(h!==void 0&&u===ct(location)){const[,d]=w.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=r.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(V=!0,yt(k),t(a),!c.replace_state)return;V=!1}e.preventDefault(),K({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),L.addEventListener("submit",e=>{if(e.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(e.target),a=e.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(et(i,I))return;const s=e.target,c=Y(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=a==null?void 0:a.getAttribute("name");u&&l.append(u,(a==null?void 0:a.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),K({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var r;if((r=e.state)!=null&&r[$]){const a=e.state[$];if(Q={},a===k)return;const o=T[a],i=e.state[Ct]??{},s=new URL(e.state[Re]??location.href),c=e.state[q],l=ct(location)===ct(w.url);if(c===A&&(Kt||l)){t(s),T[k]=mt(),o&&scrollTo(o.x,o.y),i!==R.state&&(R={...R,state:i},bt.$set({page:R})),k=a;return}const h=a-k;await K({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{k=a,A=c},block:()=>{history.go(-h)},nav_token:Q})}else if(!V){const a=new URL(location.href);t(a)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[$]:++k,[q]:A},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){w.url=e,U.page.set({...R,url:e}),U.page.notify()}}async function Ye(t,{status:n=200,error:e,node_ids:r,params:a,route:o,data:i,form:s}){wt=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=St(c,!1)||{});let l;try{const u=r.map(async(d,m)=>{const f=i[m];return f!=null&&f.uses&&(f.uses=ne(f.uses)),Et({loader:C.nodes[d],url:c,params:a,route:o,parent:async()=>{const _={};for(let v=0;vd===o.id);if(g){const d=g.layouts;for(let m=0;mo?"1":"0").join(""));const r=await Ot(e.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new nt(r.status,o)}return new Promise(async o=>{var h;const i=new Map,s=r.body.getReader(),c=new TextDecoder;function l(g){return Oe(g,{Promise:d=>new Promise((m,f)=>{i.set(d,{fulfil:m,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` +import{n as it,s as re,t as oe}from"./scheduler.Ce_0Mfso.js";import{a as se,b as I}from"./paths.BtEKXNvL.js";new URL("sveltekit-internal://");function ie(t,n){return t==="/"||n==="ignore"?t:n==="never"?t.endsWith("/")?t.slice(0,-1):t:n==="always"&&!t.endsWith("/")?t+"/":t}function ce(t){return t.split("%25").map(decodeURI).join("%25")}function le(t){for(const n in t)t[n]=decodeURIComponent(t[n]);return t}function ct({href:t}){return t.split("#")[0]}const fe=["href","pathname","search","toString","toJSON"];function ue(t,n,e){const r=new URL(t);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return s=>(e(s),a[o](s));n();const i=Reflect.get(a,o);return typeof i=="function"?i.bind(a):i}}),enumerable:!0,configurable:!0});for(const a of fe)Object.defineProperty(r,a,{get(){return n(),t[a]},enumerable:!0,configurable:!0});return r}const de="/__data.json",he=".html__data.json";function pe(t){return t.endsWith(".html")?t.replace(/\.html$/,he):t.replace(/\/$/,"")+de}function ge(...t){let n=5381;for(const e of t)if(typeof e=="string"){let r=e.length;for(;r;)n=n*33^e.charCodeAt(--r)}else if(ArrayBuffer.isView(e)){const r=new Uint8Array(e.buffer,e.byteOffset,e.byteLength);let a=r.length;for(;a;)n=n*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(n>>>0).toString(36)}function me(t){const n=atob(t),e=new Uint8Array(n.length);for(let r=0;r((t instanceof Request?t.method:(n==null?void 0:n.method)||"GET")!=="GET"&&F.delete(pt(t)),Ot(t,n));const F=new Map;function _e(t,n){const e=pt(t,n),r=document.querySelector(e);if(r!=null&&r.textContent){let{body:a,...o}=JSON.parse(r.textContent);const i=r.getAttribute("data-ttl");return i&&F.set(e,{body:a,init:o,ttl:1e3*Number(i)}),r.getAttribute("data-b64")!==null&&(a=me(a)),Promise.resolve(new Response(a,o))}return window.fetch(t,n)}function ye(t,n,e){if(F.size>0){const r=pt(t,e),a=F.get(r);if(a){if(performance.now(){const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return n.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const o=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(o)return n.push({name:o[1],matcher:o[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const i=r.split(/\[(.+?)\](?!\])/);return"/"+i.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return lt(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return lt(String.fromCharCode(...c.slice(2).split("-").map(f=>parseInt(f,16))));const u=we.exec(c),[,h,g,d,m]=u;return n.push({name:d,matcher:m,optional:!!h,rest:!!g,chained:g?l===1&&i[0]==="":!1}),g?"(.*?)":h?"([^/]*)?":"([^/]+?)"}return lt(c)}).join("")}).join("")}/?$`),params:n}}function be(t){return!/^\([^)]+\)$/.test(t)}function Ee(t){return t.slice(1).split("/").filter(be)}function ke(t,n,e){const r={},a=t.slice(1),o=a.filter(s=>s!==void 0);let i=0;for(let s=0;su).join("/"),i=0),l===void 0){c.rest&&(r[c.name]="");continue}if(!c.matcher||e[c.matcher](l)){r[c.name]=l;const u=n[s+1],h=a[s+1];u&&!u.rest&&u.optional&&h&&c.chained&&(i=0),!u&&!h&&Object.keys(r).length===o.length&&(i=0);continue}if(c.optional&&c.chained){i++;continue}return}if(!i)return r}function lt(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Se({nodes:t,server_loads:n,dictionary:e,matchers:r}){const a=new Set(n);return Object.entries(e).map(([s,[c,l,u]])=>{const{pattern:h,params:g}=ve(s),d={id:s,exec:m=>{const f=h.exec(m);if(f)return ke(f,g,r)},errors:[1,...u||[]].map(m=>t[m]),layouts:[0,...l||[]].map(i),leaf:o(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function o(s){const c=s<0;return c&&(s=~s),[c,t[s]]}function i(s){return s===void 0?s:[a.has(s),t[s]]}}function jt(t,n=JSON.parse){try{return n(sessionStorage[t])}catch{}}function It(t,n,e=JSON.stringify){const r=e(n);try{sessionStorage[t]=r}catch{}}const N=[];function gt(t,n=it){let e;const r=new Set;function a(s){if(re(t,s)&&(t=s,e)){const c=!N.length;for(const l of r)l[1](),N.push(l,t);if(c){for(let l=0;l{r.delete(l),r.size===0&&e&&(e(),e=null)}}return{set:a,update:o,subscribe:i}}const Ae="1707661530849",$t="sveltekit:snapshot",Dt="sveltekit:scroll",Ct="sveltekit:states",Re="sveltekit:pageurl",$="sveltekit:history",q="sveltekit:navigation",z={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},B=location.origin;function Vt(t){if(t instanceof URL)return t;let n=document.baseURI;if(!n){const e=document.getElementsByTagName("base");n=e.length?e[0].href:document.URL}return new URL(t,n)}function mt(){return{x:pageXOffset,y:pageYOffset}}function O(t,n){return t.getAttribute(`data-sveltekit-${n}`)}const Lt={...z,"":z.hover};function Ft(t){let n=t.assignedSlot??t.parentNode;return(n==null?void 0:n.nodeType)===11&&(n=n.host),n}function qt(t,n){for(;t&&t!==n;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=Ft(t)}}function ut(t,n){let e;try{e=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,a=!e||!!r||et(e,n)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),o=(e==null?void 0:e.origin)===B&&t.hasAttribute("download");return{url:e,external:a,target:r,download:o}}function Y(t){let n=null,e=null,r=null,a=null,o=null,i=null,s=t;for(;s&&s!==document.documentElement;)r===null&&(r=O(s,"preload-code")),a===null&&(a=O(s,"preload-data")),n===null&&(n=O(s,"keepfocus")),e===null&&(e=O(s,"noscroll")),o===null&&(o=O(s,"reload")),i===null&&(i=O(s,"replacestate")),s=Ft(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Lt[r??"off"],preload_data:Lt[a??"off"],keepfocus:c(n),noscroll:c(e),reload:c(o),replace_state:c(i)}}function Pt(t){const n=gt(t);let e=!0;function r(){e=!0,n.update(i=>i)}function a(i){e=!1,n.set(i)}function o(i){let s;return n.subscribe(c=>{(s===void 0||e&&c!==s)&&i(s=c)})}return{notify:r,set:a,subscribe:o}}function Ie(){const{set:t,subscribe:n}=gt(!1);let e;async function r(){clearTimeout(e);try{const a=await fetch(`${se}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const i=(await a.json()).version!==Ae;return i&&(t(!0),clearTimeout(e)),i}catch{return!1}}return{subscribe:n,check:r}}function et(t,n){return t.origin!==B||!t.pathname.startsWith(n)}const Le=-1,Pe=-2,Ue=-3,xe=-4,Te=-5,Ne=-6;function Oe(t,n){if(typeof t=="number")return a(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const e=t,r=Array(e.length);function a(o,i=!1){if(o===Le)return;if(o===Ue)return NaN;if(o===xe)return 1/0;if(o===Te)return-1/0;if(o===Ne)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const s=e[o];if(!s||typeof s!="object")r[o]=s;else if(Array.isArray(s))if(typeof s[0]=="string"){const c=s[0],l=n==null?void 0:n[c];if(l)return r[o]=l(a(s[1]));switch(c){case"Date":r[o]=new Date(s[1]);break;case"Set":const u=new Set;r[o]=u;for(let d=1;dn!=null)}class nt{constructor(n,e){this.status=n,typeof e=="string"?this.body={message:e}:e?this.body=e:this.body={message:`Error: ${n}`}}toString(){return JSON.stringify(this.body)}}class Mt{constructor(n,e){this.status=n,this.location=e}}class _t extends Error{constructor(n,e,r){super(r),this.status=n,this.text=e}}const De="x-sveltekit-invalidated",Ce="x-sveltekit-trailing-slash";function J(t){return t instanceof nt||t instanceof _t?t.status:500}function Ve(t){return t instanceof _t?t.text:"Internal Error"}const T=jt(Dt)??{},G=jt($t)??{},U={url:Pt({}),page:Pt({}),navigating:gt(null),updated:Ie()};function yt(t){T[t]=mt()}function Fe(t,n){let e=t+1;for(;T[e];)delete T[e],e+=1;for(e=n+1;G[e];)delete G[e],e+=1}function D(t){return location.href=t.href,new Promise(()=>{})}function Ut(){}let at,dt,W,L,ht,C;const Ht=[],X=[];let P=null;const Bt=[],qe=[];let j=[],w={branch:[],error:null,url:null},wt=!1,Z=!1,xt=!0,M=!1,V=!1,Kt=!1,vt=!1,bt,k,A,R,Q;async function Ze(t,n,e){var a,o;document.URL!==location.href&&(location.href=location.href),C=t,at=Se(t),L=document.documentElement,ht=n,dt=t.nodes[0],W=t.nodes[1],dt(),W(),k=(a=history.state)==null?void 0:a[$],A=(o=history.state)==null?void 0:o[q],k||(k=A=Date.now(),history.replaceState({...history.state,[$]:k,[q]:A},""));const r=T[k];r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y)),e?await Ye(ht,e):Ke(location.href,{replaceState:!0}),ze()}function zt(t){X.some(n=>n==null?void 0:n.snapshot)&&(G[t]=X.map(n=>{var e;return(e=n==null?void 0:n.snapshot)==null?void 0:e.capture()}))}function Yt(t){var n;(n=G[t])==null||n.forEach((e,r)=>{var a,o;(o=(a=X[r])==null?void 0:a.snapshot)==null||o.restore(e)})}function Tt(){yt(k),It(Dt,T),zt(A),It($t,G)}async function Jt(t,n,e,r){return K({type:"goto",url:Vt(t),keepfocus:n.keepFocus,noscroll:n.noScroll,replace_state:n.replaceState,state:n.state,redirect_count:e,nav_token:r,accept:()=>{n.invalidateAll&&(vt=!0)}})}async function Ge(t){return P={id:t.id,promise:Xt(t).then(n=>(n.type==="loaded"&&n.state.error&&(P=null),n))},P.promise}async function ft(t){const n=at.find(e=>e.exec(Zt(t)));n&&await Promise.all([...n.layouts,n.leaf].map(e=>e==null?void 0:e[1]()))}function Wt(t,n){var a;w=t.state;const e=document.querySelector("style[data-sveltekit]");e&&e.remove(),R=t.props.page,bt=new C.root({target:n,props:{...t.props,stores:U,components:X},hydrate:!0}),Yt(A);const r={from:null,to:{params:w.params,route:{id:((a=w.route)==null?void 0:a.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};j.forEach(o=>o(r)),Z=!0}async function tt({url:t,params:n,branch:e,status:r,error:a,route:o,form:i}){let s="never";if(I&&(t.pathname===I||t.pathname===I+"/"))s="always";else for(const d of e)(d==null?void 0:d.slash)!==void 0&&(s=d.slash);t.pathname=ie(t.pathname,s),t.search=t.search;const c={type:"loaded",state:{url:t,params:n,branch:e,error:a,route:o},props:{constructors:$e(e).map(d=>d.node.component),page:R}};i!==void 0&&(c.props.form=i);let l={},u=!R,h=0;for(let d=0;d(s&&(c.route=!0),f[_])}),params:new Proxy(r,{get:(f,_)=>(s&&c.params.add(_),f[_])}),data:(o==null?void 0:o.data)??null,url:ue(e,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)}),async fetch(f,_){let v;f instanceof Request?(v=f.url,_={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:f.headers,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,..._}):v=f;const S=new URL(v,e);return s&&d(S.href),S.origin===e.origin&&(v=S.href.slice(e.origin.length)),Z?ye(v,S.href,_):_e(v,_)},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),n()},untrack(f){s=!1;try{return f()}finally{s=!0}}};i=await l.universal.load.call(null,m)??null}return{node:l,loader:t,server:o,universal:(h=l.universal)!=null&&h.load?{type:"data",data:i,uses:c}:null,data:i??(o==null?void 0:o.data)??null,slash:((g=l.universal)==null?void 0:g.trailingSlash)??(o==null?void 0:o.slash)}}function Nt(t,n,e,r,a,o){if(vt)return!0;if(!a)return!1;if(a.parent&&t||a.route&&n||a.url&&e)return!0;for(const i of a.search_params)if(r.has(i))return!0;for(const i of a.params)if(o[i]!==w.params[i])return!0;for(const i of a.dependencies)if(Ht.some(s=>s(new URL(i))))return!0;return!1}function kt(t,n){return(t==null?void 0:t.type)==="data"?t:(t==null?void 0:t.type)==="skip"?n??null:null}function Me(t,n){if(!t)return new Set(n.searchParams.keys());const e=new Set([...t.searchParams.keys(),...n.searchParams.keys()]);for(const r of e){const a=t.searchParams.getAll(r),o=n.searchParams.getAll(r);a.every(i=>o.includes(i))&&o.every(i=>a.includes(i))&&e.delete(r)}return e}async function Xt({id:t,invalidating:n,url:e,params:r,route:a}){if((P==null?void 0:P.id)===t)return P.promise;const{errors:o,layouts:i,leaf:s}=a,c=[...i,s];o.forEach(p=>p==null?void 0:p().catch(()=>{})),c.forEach(p=>p==null?void 0:p[1]().catch(()=>{}));let l=null;const u=w.url?t!==w.url.pathname+w.url.search:!1,h=w.route?a.id!==w.route.id:!1,g=Me(w.url,e);let d=!1;const m=c.map((p,y)=>{var x;const b=w.branch[y],E=!!(p!=null&&p[0])&&((b==null?void 0:b.loader)!==p[1]||Nt(d,h,u,g,(x=b.server)==null?void 0:x.uses,r));return E&&(d=!0),E});if(m.some(Boolean)){try{l=await ee(e,m)}catch(p){return rt({status:J(p),error:await H(p,{url:e,params:r,route:{id:a.id}}),url:e,route:a})}if(l.type==="redirect")return l}const f=l==null?void 0:l.nodes;let _=!1;const v=c.map(async(p,y)=>{var ot;if(!p)return;const b=w.branch[y],E=f==null?void 0:f[y];if((!E||E.type==="skip")&&p[1]===(b==null?void 0:b.loader)&&!Nt(_,h,u,g,(ot=b.universal)==null?void 0:ot.uses,r))return b;if(_=!0,(E==null?void 0:E.type)==="error")throw E;return Et({loader:p[1],url:e,params:r,route:a,parent:async()=>{var Rt;const At={};for(let st=0;st{});const S=[];for(let p=0;pPromise.resolve({}),server_data_node:kt(o)}),c={node:await W(),loader:W,universal:null,server:null,data:null};return await tt({url:e,params:a,branch:[s,c],status:t,error:n,route:null})}function St(t,n){if(!t||et(t,I))return;let e;try{e=C.hooks.reroute({url:new URL(t)})??t.pathname}catch{return}const r=Zt(e);for(const a of at){const o=a.exec(r);if(o)return{id:t.pathname+t.search,invalidating:n,route:a,params:le(o),url:t}}}function Zt(t){return ce(t.slice(I.length)||"/")}function Qt({url:t,type:n,intent:e,delta:r}){let a=!1;const o=ae(w,e,t,n);r!==void 0&&(o.navigation.delta=r);const i={...o.navigation,cancel:()=>{a=!0,o.reject(new Error("navigation cancelled"))}};return M||Bt.forEach(s=>s(i)),a?null:o}async function K({type:t,url:n,popped:e,keepfocus:r,noscroll:a,replace_state:o,state:i={},redirect_count:s=0,nav_token:c={},accept:l=Ut,block:u=Ut}){const h=St(n,!1),g=Qt({url:n,type:t,delta:e==null?void 0:e.delta,intent:h});if(!g){u();return}const d=k,m=A;l(),M=!0,Z&&U.navigating.set(g.navigation),Q=c;let f=h&&await Xt(h);if(!f){if(et(n,I))return await D(n);f=await te(n,{id:null},await H(new _t(404,"Not Found",`Not found: ${n.pathname}`),{url:n,params:{},route:{id:null}}),404)}if(n=(h==null?void 0:h.url)||n,Q!==c)return g.reject(new Error("navigation aborted")),!1;if(f.type==="redirect")if(s>=20)f=await rt({status:500,error:await H(new Error("Redirect loop"),{url:n,params:{},route:{id:null}}),url:n,route:{id:null}});else return Jt(new URL(f.location,n).href,{},s+1,c),!1;else f.props.page.status>=400&&await U.updated.check()&&await D(n);if(Ht.length=0,vt=!1,yt(d),zt(m),f.props.page.url.pathname!==n.pathname&&(n.pathname=f.props.page.url.pathname),i=e?e.state:i,!e){const p=o?0:1,y={[$]:k+=p,[q]:A+=p,[Ct]:i};(o?history.replaceState:history.pushState).call(history,y,"",n),o||Fe(k,A)}if(P=null,f.props.page.state=i,Z){w=f.state,f.props.page&&(f.props.page.url=n);const p=(await Promise.all(qe.map(y=>y(g.navigation)))).filter(y=>typeof y=="function");if(p.length>0){let y=function(){j=j.filter(b=>!p.includes(b))};p.push(y),j.push(...p)}bt.$set(f.props),Kt=!0}else Wt(f,ht);const{activeElement:_}=document;await oe();const v=e?e.scroll:a?mt():null;if(xt){const p=n.hash&&document.getElementById(decodeURIComponent(n.hash.slice(1)));v?scrollTo(v.x,v.y):p?p.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==_&&document.activeElement!==document.body;!r&&!S&&Je(),xt=!0,f.props.page&&(R=f.props.page),M=!1,t==="popstate"&&Yt(A),g.fulfil(void 0),j.forEach(p=>p(g.navigation)),U.navigating.set(null)}async function te(t,n,e,r){return t.origin===B&&t.pathname===location.pathname&&!wt?await rt({status:r,error:e,url:t,route:n}):await D(t)}function Be(){let t;L.addEventListener("mousemove",o=>{const i=o.target;clearTimeout(t),t=setTimeout(()=>{r(i,2)},20)});function n(o){r(o.composedPath()[0],1)}L.addEventListener("mousedown",n),L.addEventListener("touchstart",n,{passive:!0});const e=new IntersectionObserver(o=>{for(const i of o)i.isIntersecting&&(ft(i.target.href),e.unobserve(i.target))},{threshold:0});function r(o,i){const s=qt(o,L);if(!s)return;const{url:c,external:l,download:u}=ut(s,I);if(l||u)return;const h=Y(s);if(!h.reload)if(i<=h.preload_data){const g=St(c,!1);g&&Ge(g)}else i<=h.preload_code&&ft(c.pathname)}function a(){e.disconnect();for(const o of L.querySelectorAll("a")){const{url:i,external:s,download:c}=ut(o,I);if(s||c)continue;const l=Y(o);l.reload||(l.preload_code===z.viewport&&e.observe(o),l.preload_code===z.eager&&ft(i.pathname))}}j.push(a),a()}function H(t,n){if(t instanceof nt)return t.body;const e=J(t),r=Ve(t);return C.hooks.handleError({error:t,event:n,status:e,message:r})??{message:r}}function Ke(t,n={}){return t=Vt(t),t.origin!==B?Promise.reject(new Error("goto: invalid URL")):Jt(t,n,0)}function ze(){var n;history.scrollRestoration="manual",addEventListener("beforeunload",e=>{let r=!1;if(Tt(),!M){const a=ae(w,void 0,null,"leave"),o={...a.navigation,cancel:()=>{r=!0,a.reject(new Error("navigation cancelled"))}};Bt.forEach(i=>i(o))}r?(e.preventDefault(),e.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Tt()}),(n=navigator.connection)!=null&&n.saveData||Be(),L.addEventListener("click",e=>{var g;if(e.button||e.which!==1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.defaultPrevented)return;const r=qt(e.composedPath()[0],L);if(!r)return;const{url:a,external:o,target:i,download:s}=ut(r,I);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const c=Y(r);if(!(r instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||s)return;if(o||c.reload){Qt({url:a,type:"link"})?M=!0:e.preventDefault();return}const[u,h]=a.href.split("#");if(h!==void 0&&u===ct(location)){const[,d]=w.url.href.split("#");if(d===h){e.preventDefault(),h===""||h==="top"&&r.ownerDocument.getElementById("top")===null?window.scrollTo({top:0}):(g=r.ownerDocument.getElementById(h))==null||g.scrollIntoView();return}if(V=!0,yt(k),t(a),!c.replace_state)return;V=!1}e.preventDefault(),K({type:"link",url:a,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??a.href===location.href})}),L.addEventListener("submit",e=>{if(e.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(e.target),a=e.submitter;if(((a==null?void 0:a.formMethod)||r.method)!=="get")return;const i=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||r.action);if(et(i,I))return;const s=e.target,c=Y(s);if(c.reload)return;e.preventDefault(),e.stopPropagation();const l=new FormData(s),u=a==null?void 0:a.getAttribute("name");u&&l.append(u,(a==null?void 0:a.getAttribute("value"))??""),i.search=new URLSearchParams(l).toString(),K({type:"form",url:i,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??i.href===location.href})}),addEventListener("popstate",async e=>{var r;if((r=e.state)!=null&&r[$]){const a=e.state[$];if(Q={},a===k)return;const o=T[a],i=e.state[Ct]??{},s=new URL(e.state[Re]??location.href),c=e.state[q],l=ct(location)===ct(w.url);if(c===A&&(Kt||l)){t(s),T[k]=mt(),o&&scrollTo(o.x,o.y),i!==R.state&&(R={...R,state:i},bt.$set({page:R})),k=a;return}const h=a-k;await K({type:"popstate",url:s,popped:{state:i,scroll:o,delta:h},accept:()=>{k=a,A=c},block:()=>{history.go(-h)},nav_token:Q})}else if(!V){const a=new URL(location.href);t(a)}}),addEventListener("hashchange",()=>{V&&(V=!1,history.replaceState({...history.state,[$]:++k,[q]:A},"",location.href))});for(const e of document.querySelectorAll("link"))e.rel==="icon"&&(e.href=e.href);addEventListener("pageshow",e=>{e.persisted&&U.navigating.set(null)});function t(e){w.url=e,U.page.set({...R,url:e}),U.page.notify()}}async function Ye(t,{status:n=200,error:e,node_ids:r,params:a,route:o,data:i,form:s}){wt=!0;const c=new URL(location.href);({params:a={},route:o={id:null}}=St(c,!1)||{});let l;try{const u=r.map(async(d,m)=>{const f=i[m];return f!=null&&f.uses&&(f.uses=ne(f.uses)),Et({loader:C.nodes[d],url:c,params:a,route:o,parent:async()=>{const _={};for(let v=0;vd===o.id);if(g){const d=g.layouts;for(let m=0;mo?"1":"0").join(""));const r=await Ot(e.href);if(!r.ok){let o;throw(a=r.headers.get("content-type"))!=null&&a.includes("application/json")?o=await r.json():r.status===404?o="Not Found":r.status===500&&(o="Internal Error"),new nt(r.status,o)}return new Promise(async o=>{var h;const i=new Map,s=r.body.getReader(),c=new TextDecoder;function l(g){return Oe(g,{Promise:d=>new Promise((m,f)=>{i.set(d,{fulfil:m,reject:f})})})}let u="";for(;;){const{done:g,value:d}=await s.read();if(g&&!u)break;for(u+=!d&&u?` `:c.decode(d,{stream:!0});;){const m=u.indexOf(` `);if(m===-1)break;const f=JSON.parse(u.slice(0,m));if(u=u.slice(m+1),f.type==="redirect")return o(f);if(f.type==="data")(h=f.nodes)==null||h.forEach(_=>{(_==null?void 0:_.type)==="data"&&(_.uses=ne(_.uses),_.data=l(_.data))}),o(f);else if(f.type==="chunk"){const{id:_,data:v,error:S}=f,p=i.get(_);i.delete(_),S?p.reject(l(S)):p.fulfil(l(v))}}}})}function ne(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url),search_params:new Set((t==null?void 0:t.search_params)??[])}}function Je(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const n=document.body,e=n.getAttribute("tabindex");n.tabIndex=-1,n.focus({preventScroll:!0,focusVisible:!1}),e!==null?n.setAttribute("tabindex",e):n.removeAttribute("tabindex");const r=getSelection();if(r&&r.type!=="None"){const a=[];for(let o=0;o{if(r.rangeCount===a.length){for(let o=0;o{a=u,o=h});return i.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((c=t.route)==null?void 0:c.id)??null},url:t.url},to:e&&{params:(n==null?void 0:n.params)??null,route:{id:((l=n==null?void 0:n.route)==null?void 0:l.id)??null},url:e},willUnload:!n,type:r,complete:i},fulfil:a,reject:o}}export{Ze as a,U as s}; diff --git a/_app/immutable/chunks/globals.D0QH3NT1.js b/_app/immutable/chunks/globals.D0QH3NT1.js new file mode 100644 index 0000000..c4865b4 --- /dev/null +++ b/_app/immutable/chunks/globals.D0QH3NT1.js @@ -0,0 +1 @@ +const o=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global;export{o as g}; diff --git a/_app/immutable/chunks/index.CGY-0lOs.js b/_app/immutable/chunks/index.QmGHi4hh.js similarity index 96% rename from _app/immutable/chunks/index.CGY-0lOs.js rename to _app/immutable/chunks/index.QmGHi4hh.js index bf90cdb..b42bcd7 100644 --- a/_app/immutable/chunks/index.CGY-0lOs.js +++ b/_app/immutable/chunks/index.QmGHi4hh.js @@ -1 +1 @@ -var L=Object.defineProperty;var P=(e,t,n)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var d=(e,t,n)=>(P(e,typeof t!="symbol"?t+"":t,n),n);import{r as $,n as g,d as A,f as j,i as S,e as B,g as E,h as D,j as I,k as v,l as R,m as G,p as O}from"./scheduler.Ce_0Mfso.js";let y=!1;function q(){y=!0}function z(){y=!1}function U(e,t,n,i){for(;e>1);n(s)<=i?e=s+1:t=s}return e}function V(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if(e.nodeName==="HEAD"){const r=[];for(let a=0;a0&&t[n[s]].claim_order<=a?s+1:U(1,s,h=>t[n[h]].claim_order,a))-1;i[r]=n[u]+1;const o=u+1;n[o]=r,s=Math.max(o,s)}const c=[],l=[];let f=t.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(c.push(t[r-1]);f>=r;f--)l.push(t[f]);f--}for(;f>=0;f--)l.push(t[f]);c.reverse(),l.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=c[a].claim_order;)a++;const u=a{for(let l=e.claim_info.last_index;l=0;l--){const f=e[l];if(t(f)){const r=n(f);return r===void 0?e.splice(l,1):e[l]=r,s?r===void 0&&e.claim_info.last_index--:e.claim_info.last_index=l,f}}return i()})();return c.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,c}function X(e,t,n,i){return C(e,s=>s.nodeName===t,s=>{const c=[];for(let l=0;ls.removeAttribute(l))},()=>i(t))}function oe(e,t,n){return X(e,t,n,H)}function Y(e,t){return C(e,n=>n.nodeType===3,n=>{const i=""+t;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>T(t),!0)}function ue(e){return Y(e," ")}function b(e,t,n){for(let i=n;i0&&n.push(s);return n}class Z{constructor(t=!1){d(this,"is_svg",!1);d(this,"e");d(this,"n");d(this,"t");d(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,i=null){this.e||(this.is_svg?this.e=K(n.nodeName):this.e=H(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(i)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n{m.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function ge(e){e&&e.c()}function Te(e,t){e&&e.l(t)}function ee(e,t,n){const{fragment:i,after_update:s}=e.$$;i&&i.m(t,n),E(()=>{const c=e.$$.on_mount.map(R).filter(S);e.$$.on_destroy?e.$$.on_destroy.push(...c):$(c),e.$$.on_mount=[]}),s.forEach(E)}function te(e,t){const n=e.$$;n.fragment!==null&&(D(n.after_update),$(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){e.$$.dirty[0]===-1&&(G.push(e),O(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const w=N.length?N[0]:h;return a.ctx&&s(a.ctx[o],a.ctx[o]=w)&&(!a.skip_bound&&a.bound[o]&&a.bound[o](w),u&&ne(e,o)),h}):[],a.update(),u=!0,$(a.before_update),a.fragment=i?i(a.ctx):!1,t.target){if(t.hydrate){q();const o=Q(t.target);a.fragment&&a.fragment.l(o),o.forEach(p)}else a.fragment&&a.fragment.c();t.intro&&k(e.$$.fragment),ee(e,t.target,t.anchor),z(),j()}v(r)}class we{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){te(this,1),this.$destroy=g}$on(t,n){if(!S(n))return g;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const s=i.indexOf(n);s!==-1&&i.splice(s,1)}}$set(t){this.$$set&&!B(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ie="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ie);export{fe as A,x as H,we as S,Q as a,Y as b,oe as c,p as d,H as e,ue as f,J as g,W as h,Ne as i,_e as j,me as k,de as l,ae as m,xe as n,ye as o,k as p,ce as q,he as r,le as s,T as t,$e as u,pe as v,ge as w,Te as x,ee as y,te as z}; +var L=Object.defineProperty;var P=(e,t,n)=>t in e?L(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var d=(e,t,n)=>(P(e,typeof t!="symbol"?t+"":t,n),n);import{r as $,n as g,d as A,f as j,i as S,e as B,g as E,h as D,j as I,k as v,l as R,m as G,p as O}from"./scheduler.Ce_0Mfso.js";let y=!1;function q(){y=!0}function z(){y=!1}function U(e,t,n,i){for(;e>1);n(s)<=i?e=s+1:t=s}return e}function V(e){if(e.hydrate_init)return;e.hydrate_init=!0;let t=e.childNodes;if(e.nodeName==="HEAD"){const r=[];for(let a=0;a0&&t[n[s]].claim_order<=a?s+1:U(1,s,h=>t[n[h]].claim_order,a))-1;i[r]=n[u]+1;const o=u+1;n[o]=r,s=Math.max(o,s)}const c=[],l=[];let f=t.length-1;for(let r=n[s]+1;r!=0;r=i[r-1]){for(c.push(t[r-1]);f>=r;f--)l.push(t[f]);f--}for(;f>=0;f--)l.push(t[f]);c.reverse(),l.sort((r,a)=>r.claim_order-a.claim_order);for(let r=0,a=0;r=c[a].claim_order;)a++;const u=a{for(let l=e.claim_info.last_index;l=0;l--){const f=e[l];if(t(f)){const r=n(f);return r===void 0?e.splice(l,1):e[l]=r,s?r===void 0&&e.claim_info.last_index--:e.claim_info.last_index=l,f}}return i()})();return c.claim_order=e.claim_info.total_claimed,e.claim_info.total_claimed+=1,c}function X(e,t,n,i){return C(e,s=>s.nodeName===t,s=>{const c=[];for(let l=0;ls.removeAttribute(l))},()=>i(t))}function oe(e,t,n){return X(e,t,n,H)}function Y(e,t){return C(e,n=>n.nodeType===3,n=>{const i=""+t;if(n.data.startsWith(i)){if(n.data.length!==i.length)return n.splitText(i.length)}else n.data=i},()=>T(t),!0)}function ue(e){return Y(e," ")}function b(e,t,n){for(let i=n;i0&&n.push(s);return n}class Z{constructor(t=!1){d(this,"is_svg",!1);d(this,"e");d(this,"n");d(this,"t");d(this,"a");this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,n,i=null){this.e||(this.is_svg?this.e=K(n.nodeName):this.e=H(n.nodeType===11?"TEMPLATE":n.nodeName),this.t=n.tagName!=="TEMPLATE"?n:n.content,this.c(t)),this.i(i)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let n=0;n{m.delete(e),i&&(n&&e.d(1),i())}),e.o(t)}else i&&i()}function ge(e){e&&e.c()}function Te(e,t){e&&e.l(t)}function ee(e,t,n){const{fragment:i,after_update:s}=e.$$;i&&i.m(t,n),E(()=>{const c=e.$$.on_mount.map(R).filter(S);e.$$.on_destroy?e.$$.on_destroy.push(...c):$(c),e.$$.on_mount=[]}),s.forEach(E)}function te(e,t){const n=e.$$;n.fragment!==null&&(D(n.after_update),$(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function ne(e,t){e.$$.dirty[0]===-1&&(G.push(e),O(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<{const w=N.length?N[0]:h;return a.ctx&&s(a.ctx[o],a.ctx[o]=w)&&(!a.skip_bound&&a.bound[o]&&a.bound[o](w),u&&ne(e,o)),h}):[],a.update(),u=!0,$(a.before_update),a.fragment=i?i(a.ctx):!1,t.target){if(t.hydrate){q();const o=Q(t.target);a.fragment&&a.fragment.l(o),o.forEach(p)}else a.fragment&&a.fragment.c();t.intro&&k(e.$$.fragment),ee(e,t.target,t.anchor),z(),j()}v(r)}class we{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){te(this,1),this.$destroy=g}$on(t,n){if(!S(n))return g;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const s=i.indexOf(n);s!==-1&&i.splice(s,1)}}$set(t){this.$$set&&!B(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const ie="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(ie);export{fe as A,x as H,we as S,Q as a,de as b,oe as c,p as d,H as e,J as f,Y as g,ue as h,Ne as i,W as j,_e as k,me as l,ge as m,Te as n,ee as o,k as p,xe as q,te as r,le as s,T as t,ae as u,ye as v,ce as w,he as x,$e as y,pe as z}; diff --git a/_app/immutable/chunks/paths.BtEKXNvL.js b/_app/immutable/chunks/paths.BtEKXNvL.js new file mode 100644 index 0000000..550e5de --- /dev/null +++ b/_app/immutable/chunks/paths.BtEKXNvL.js @@ -0,0 +1 @@ +var s;const e=((s=globalThis.__sveltekit_5bmt86)==null?void 0:s.base)??"/web-components";var t;const a=((t=globalThis.__sveltekit_5bmt86)==null?void 0:t.assets)??e;export{a,e as b}; diff --git a/_app/immutable/chunks/paths.BtXhTYCr.js b/_app/immutable/chunks/paths.BtXhTYCr.js deleted file mode 100644 index e019745..0000000 --- a/_app/immutable/chunks/paths.BtXhTYCr.js +++ /dev/null @@ -1 +0,0 @@ -var s;const e=((s=globalThis.__sveltekit_1r3tnxs)==null?void 0:s.base)??"/web-components";var t;const a=((t=globalThis.__sveltekit_1r3tnxs)==null?void 0:t.assets)??e;export{a,e as b}; diff --git a/_app/immutable/entry/app.BgF24xBC.js b/_app/immutable/entry/app.BgF24xBC.js new file mode 100644 index 0000000..7e8b84f --- /dev/null +++ b/_app/immutable/entry/app.BgF24xBC.js @@ -0,0 +1,7 @@ +import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as S,a as z,o as C,b as V,t as M}from"../chunks/scheduler.Ce_0Mfso.js";import{S as U,i as j,s as B,u as d,h as F,f as b,q as h,v as P,p as g,d as w,e as G,c as H,a as J,w as A,x as m,t as K,g as Q,k as W,y as R,z as E,m as v,n as L,o as D,r as I}from"../chunks/index.QmGHi4hh.js";const nt={};function X(o){let t,i,n;var r=o[1][0];function c(e,s){return{props:{data:e[3],form:e[2]}}}return r&&(t=E(r,c(o)),o[12](t)),{c(){t&&v(t.$$.fragment),i=d()},l(e){t&&L(t.$$.fragment,e),i=d()},m(e,s){t&&D(t,e,s),b(e,i,s),n=!0},p(e,s){if(s&2&&r!==(r=e[1][0])){if(t){R();const a=t;h(a.$$.fragment,1,0,()=>{I(a,1)}),P()}r?(t=E(r,c(e)),e[12](t),v(t.$$.fragment),g(t.$$.fragment,1),D(t,i.parentNode,i)):t=null}else if(r){const a={};s&8&&(a.data=e[3]),s&4&&(a.form=e[2]),t.$set(a)}},i(e){n||(t&&g(t.$$.fragment,e),n=!0)},o(e){t&&h(t.$$.fragment,e),n=!1},d(e){e&&w(i),o[12](null),t&&I(t,e)}}}function Y(o){let t,i,n;var r=o[1][0];function c(e,s){return{props:{data:e[3],$$slots:{default:[Z]},$$scope:{ctx:e}}}}return r&&(t=E(r,c(o)),o[11](t)),{c(){t&&v(t.$$.fragment),i=d()},l(e){t&&L(t.$$.fragment,e),i=d()},m(e,s){t&&D(t,e,s),b(e,i,s),n=!0},p(e,s){if(s&2&&r!==(r=e[1][0])){if(t){R();const a=t;h(a.$$.fragment,1,0,()=>{I(a,1)}),P()}r?(t=E(r,c(e)),e[11](t),v(t.$$.fragment),g(t.$$.fragment,1),D(t,i.parentNode,i)):t=null}else if(r){const a={};s&8&&(a.data=e[3]),s&8215&&(a.$$scope={dirty:s,ctx:e}),t.$set(a)}},i(e){n||(t&&g(t.$$.fragment,e),n=!0)},o(e){t&&h(t.$$.fragment,e),n=!1},d(e){e&&w(i),o[11](null),t&&I(t,e)}}}function Z(o){let t,i,n;var r=o[1][1];function c(e,s){return{props:{data:e[4],form:e[2]}}}return r&&(t=E(r,c(o)),o[10](t)),{c(){t&&v(t.$$.fragment),i=d()},l(e){t&&L(t.$$.fragment,e),i=d()},m(e,s){t&&D(t,e,s),b(e,i,s),n=!0},p(e,s){if(s&2&&r!==(r=e[1][1])){if(t){R();const a=t;h(a.$$.fragment,1,0,()=>{I(a,1)}),P()}r?(t=E(r,c(e)),e[10](t),v(t.$$.fragment),g(t.$$.fragment,1),D(t,i.parentNode,i)):t=null}else if(r){const a={};s&16&&(a.data=e[4]),s&4&&(a.form=e[2]),t.$set(a)}},i(e){n||(t&&g(t.$$.fragment,e),n=!0)},o(e){t&&h(t.$$.fragment,e),n=!1},d(e){e&&w(i),o[10](null),t&&I(t,e)}}}function O(o){let t,i=o[6]&&T(o);return{c(){t=G("div"),i&&i.c(),this.h()},l(n){t=H(n,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var r=J(t);i&&i.l(r),r.forEach(w),this.h()},h(){A(t,"id","svelte-announcer"),A(t,"aria-live","assertive"),A(t,"aria-atomic","true"),m(t,"position","absolute"),m(t,"left","0"),m(t,"top","0"),m(t,"clip","rect(0 0 0 0)"),m(t,"clip-path","inset(50%)"),m(t,"overflow","hidden"),m(t,"white-space","nowrap"),m(t,"width","1px"),m(t,"height","1px")},m(n,r){b(n,t,r),i&&i.m(t,null)},p(n,r){n[6]?i?i.p(n,r):(i=T(n),i.c(),i.m(t,null)):i&&(i.d(1),i=null)},d(n){n&&w(t),i&&i.d()}}}function T(o){let t;return{c(){t=K(o[7])},l(i){t=Q(i,o[7])},m(i,n){b(i,t,n)},p(i,n){n&128&&W(t,i[7])},d(i){i&&w(t)}}}function $(o){let t,i,n,r,c;const e=[Y,X],s=[];function a(f,u){return f[1][1]?0:1}t=a(o),i=s[t]=e[t](o);let l=o[5]&&O(o);return{c(){i.c(),n=B(),l&&l.c(),r=d()},l(f){i.l(f),n=F(f),l&&l.l(f),r=d()},m(f,u){s[t].m(f,u),b(f,n,u),l&&l.m(f,u),b(f,r,u),c=!0},p(f,[u]){let k=t;t=a(f),t===k?s[t].p(f,u):(R(),h(s[k],1,1,()=>{s[k]=null}),P(),i=s[t],i?i.p(f,u):(i=s[t]=e[t](f),i.c()),g(i,1),i.m(n.parentNode,n)),f[5]?l?l.p(f,u):(l=O(f),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},i(f){c||(g(i),c=!0)},o(f){h(i),c=!1},d(f){f&&(w(n),w(r)),s[t].d(f),l&&l.d(f)}}}function x(o,t,i){let{stores:n}=t,{page:r}=t,{constructors:c}=t,{components:e=[]}=t,{form:s}=t,{data_0:a=null}=t,{data_1:l=null}=t;z(n.page.notify);let f=!1,u=!1,k=null;C(()=>{const _=n.page.subscribe(()=>{f&&(i(6,u=!0),M().then(()=>{i(7,k=document.title||"untitled page")}))});return i(5,f=!0),_});function y(_){V[_?"unshift":"push"](()=>{e[1]=_,i(0,e)})}function N(_){V[_?"unshift":"push"](()=>{e[0]=_,i(0,e)})}function q(_){V[_?"unshift":"push"](()=>{e[0]=_,i(0,e)})}return o.$$set=_=>{"stores"in _&&i(8,n=_.stores),"page"in _&&i(9,r=_.page),"constructors"in _&&i(1,c=_.constructors),"components"in _&&i(0,e=_.components),"form"in _&&i(2,s=_.form),"data_0"in _&&i(3,a=_.data_0),"data_1"in _&&i(4,l=_.data_1)},o.$$.update=()=>{o.$$.dirty&768&&n.page.set(r)},[e,c,s,a,l,f,u,k,n,r,y,N,q]}class rt extends U{constructor(t){super(),j(this,t,x,$,S,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const st=[()=>p(()=>import("../nodes/0.DF-D1GDn.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),()=>p(()=>import("../nodes/1.U_vkKEcE.js"),__vite__mapDeps([6,2,3,7,4]),import.meta.url),()=>p(()=>import("../nodes/2.DW9hz2nR.js"),__vite__mapDeps([8,1,2,3]),import.meta.url),()=>p(()=>import("../nodes/3.Doms-mkI.js"),__vite__mapDeps([9,1,2,3,10]),import.meta.url),()=>p(()=>import("../nodes/4.BHqP-rBH.js"),__vite__mapDeps([11,1,2,3,10]),import.meta.url),()=>p(()=>import("../nodes/5.DdhVVrFi.js"),__vite__mapDeps([12,1,2,3,10]),import.meta.url),()=>p(()=>import("../nodes/6.CeRyQlOW.js"),__vite__mapDeps([13,1,2,3,14,15,10,16]),import.meta.url),()=>p(()=>import("../nodes/7.BznqhJ0E.js"),__vite__mapDeps([17,1,2,3,14,10,18]),import.meta.url)],ot=[],at={"/":[2],"/example-component":[3],"/reorder-list":[4],"/tab-list":[5],"/toggle-switch":[6],"/typewritten-text":[7]},ft={handleError:({error:o})=>{console.error(o)},reroute:()=>{}};export{at as dictionary,ft as hooks,nt as matchers,st as nodes,rt as root,ot as server_loads}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["../nodes/0.DF-D1GDn.js","../chunks/preload-helper.BQ24v_F8.js","../chunks/scheduler.Ce_0Mfso.js","../chunks/index.QmGHi4hh.js","../chunks/paths.BtEKXNvL.js","../assets/0.D8I8Hl9H.css","../nodes/1.U_vkKEcE.js","../chunks/entry.10fmg0a5.js","../nodes/2.DW9hz2nR.js","../nodes/3.Doms-mkI.js","../chunks/Readme.BbztUA8r.js","../nodes/4.BHqP-rBH.js","../nodes/5.DdhVVrFi.js","../nodes/6.CeRyQlOW.js","../chunks/globals.D0QH3NT1.js","../chunks/events.C44j2o98.js","../assets/6.CagW1JSa.css","../nodes/7.BznqhJ0E.js","../assets/7.CYDfT9Y1.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/_app/immutable/entry/app.CgZsg7o0.js b/_app/immutable/entry/app.CgZsg7o0.js deleted file mode 100644 index 1ede94f..0000000 --- a/_app/immutable/entry/app.CgZsg7o0.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as w}from"../chunks/preload-helper.BQ24v_F8.js";import{s as S,a as j,o as z,b as V,t as C}from"../chunks/scheduler.Ce_0Mfso.js";import{S as M,i as U,s as B,m as p,f as F,g as b,n as d,o as P,p as h,d as g,e as G,c as H,a as J,q as A,r as m,t as K,b as Q,j as W,u as R,v as E,w as v,x as L,y as D,z as I}from"../chunks/index.CGY-0lOs.js";const ie={};function X(o){let e,n,i;var s=o[1][0];function c(t,r){return{props:{data:t[3],form:t[2]}}}return s&&(e=E(s,c(o)),o[12](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&L(e.$$.fragment,t),n=p()},m(t,r){e&&D(e,t,r),b(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){R();const a=e;d(a.$$.fragment,1,0,()=>{I(a,1)}),P()}s?(e=E(s,c(t)),t[12](e),v(e.$$.fragment),h(e.$$.fragment,1),D(e,n.parentNode,n)):e=null}else if(s){const a={};r&8&&(a.data=t[3]),r&4&&(a.form=t[2]),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[12](null),e&&I(e,t)}}}function Y(o){let e,n,i;var s=o[1][0];function c(t,r){return{props:{data:t[3],$$slots:{default:[Z]},$$scope:{ctx:t}}}}return s&&(e=E(s,c(o)),o[11](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&L(e.$$.fragment,t),n=p()},m(t,r){e&&D(e,t,r),b(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][0])){if(e){R();const a=e;d(a.$$.fragment,1,0,()=>{I(a,1)}),P()}s?(e=E(s,c(t)),t[11](e),v(e.$$.fragment),h(e.$$.fragment,1),D(e,n.parentNode,n)):e=null}else if(s){const a={};r&8&&(a.data=t[3]),r&8215&&(a.$$scope={dirty:r,ctx:t}),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[11](null),e&&I(e,t)}}}function Z(o){let e,n,i;var s=o[1][1];function c(t,r){return{props:{data:t[4],form:t[2]}}}return s&&(e=E(s,c(o)),o[10](e)),{c(){e&&v(e.$$.fragment),n=p()},l(t){e&&L(e.$$.fragment,t),n=p()},m(t,r){e&&D(e,t,r),b(t,n,r),i=!0},p(t,r){if(r&2&&s!==(s=t[1][1])){if(e){R();const a=e;d(a.$$.fragment,1,0,()=>{I(a,1)}),P()}s?(e=E(s,c(t)),t[10](e),v(e.$$.fragment),h(e.$$.fragment,1),D(e,n.parentNode,n)):e=null}else if(s){const a={};r&16&&(a.data=t[4]),r&4&&(a.form=t[2]),e.$set(a)}},i(t){i||(e&&h(e.$$.fragment,t),i=!0)},o(t){e&&d(e.$$.fragment,t),i=!1},d(t){t&&g(n),o[10](null),e&&I(e,t)}}}function O(o){let e,n=o[6]&&T(o);return{c(){e=G("div"),n&&n.c(),this.h()},l(i){e=H(i,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var s=J(e);n&&n.l(s),s.forEach(g),this.h()},h(){A(e,"id","svelte-announcer"),A(e,"aria-live","assertive"),A(e,"aria-atomic","true"),m(e,"position","absolute"),m(e,"left","0"),m(e,"top","0"),m(e,"clip","rect(0 0 0 0)"),m(e,"clip-path","inset(50%)"),m(e,"overflow","hidden"),m(e,"white-space","nowrap"),m(e,"width","1px"),m(e,"height","1px")},m(i,s){b(i,e,s),n&&n.m(e,null)},p(i,s){i[6]?n?n.p(i,s):(n=T(i),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(i){i&&g(e),n&&n.d()}}}function T(o){let e;return{c(){e=K(o[7])},l(n){e=Q(n,o[7])},m(n,i){b(n,e,i)},p(n,i){i&128&&W(e,n[7])},d(n){n&&g(e)}}}function $(o){let e,n,i,s,c;const t=[Y,X],r=[];function a(f,u){return f[1][1]?0:1}e=a(o),n=r[e]=t[e](o);let _=o[5]&&O(o);return{c(){n.c(),i=B(),_&&_.c(),s=p()},l(f){n.l(f),i=F(f),_&&_.l(f),s=p()},m(f,u){r[e].m(f,u),b(f,i,u),_&&_.m(f,u),b(f,s,u),c=!0},p(f,[u]){let k=e;e=a(f),e===k?r[e].p(f,u):(R(),d(r[k],1,1,()=>{r[k]=null}),P(),n=r[e],n?n.p(f,u):(n=r[e]=t[e](f),n.c()),h(n,1),n.m(i.parentNode,i)),f[5]?_?_.p(f,u):(_=O(f),_.c(),_.m(s.parentNode,s)):_&&(_.d(1),_=null)},i(f){c||(h(n),c=!0)},o(f){d(n),c=!1},d(f){f&&(g(i),g(s)),r[e].d(f),_&&_.d(f)}}}function x(o,e,n){let{stores:i}=e,{page:s}=e,{constructors:c}=e,{components:t=[]}=e,{form:r}=e,{data_0:a=null}=e,{data_1:_=null}=e;j(i.page.notify);let f=!1,u=!1,k=null;z(()=>{const l=i.page.subscribe(()=>{f&&(n(6,u=!0),C().then(()=>{n(7,k=document.title||"untitled page")}))});return n(5,f=!0),l});function y(l){V[l?"unshift":"push"](()=>{t[1]=l,n(0,t)})}function N(l){V[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}function q(l){V[l?"unshift":"push"](()=>{t[0]=l,n(0,t)})}return o.$$set=l=>{"stores"in l&&n(8,i=l.stores),"page"in l&&n(9,s=l.page),"constructors"in l&&n(1,c=l.constructors),"components"in l&&n(0,t=l.components),"form"in l&&n(2,r=l.form),"data_0"in l&&n(3,a=l.data_0),"data_1"in l&&n(4,_=l.data_1)},o.$$.update=()=>{o.$$.dirty&768&&i.page.set(s)},[t,c,r,a,_,f,u,k,i,s,y,N,q]}class se extends M{constructor(e){super(),U(this,e,x,$,S,{stores:8,page:9,constructors:1,components:0,form:2,data_0:3,data_1:4})}}const re=[()=>w(()=>import("../nodes/0.DQXi9sUn.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),()=>w(()=>import("../nodes/1.jh_Qi1Ew.js"),__vite__mapDeps([6,2,3,7,4]),import.meta.url),()=>w(()=>import("../nodes/2.oGNMZUjL.js"),__vite__mapDeps([8,1,2,3]),import.meta.url),()=>w(()=>import("../nodes/3.Bi0n2n17.js"),__vite__mapDeps([9,1,2,3]),import.meta.url),()=>w(()=>import("../nodes/4.JtM9JyR-.js"),__vite__mapDeps([10,1,2,3]),import.meta.url),()=>w(()=>import("../nodes/5.Bl0aq3A9.js"),__vite__mapDeps([11,1,2,3]),import.meta.url),()=>w(()=>import("../nodes/6.C-BQ3IDl.js"),__vite__mapDeps([12,1,2,3,13,14]),import.meta.url)],oe=[],ae={"/":[2],"/example-component":[3],"/reorder-list":[4],"/tab-list":[5],"/toggle-switch":[6]},fe={handleError:({error:o})=>{console.error(o)},reroute:()=>{}};export{ae as dictionary,fe as hooks,ie as matchers,re as nodes,se as root,oe as server_loads}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["../nodes/0.DQXi9sUn.js","../chunks/preload-helper.BQ24v_F8.js","../chunks/scheduler.Ce_0Mfso.js","../chunks/index.CGY-0lOs.js","../chunks/paths.BtXhTYCr.js","../assets/0.Bg1ELfuf.css","../nodes/1.jh_Qi1Ew.js","../chunks/entry.Dk4uGs0c.js","../nodes/2.oGNMZUjL.js","../nodes/3.Bi0n2n17.js","../nodes/4.JtM9JyR-.js","../nodes/5.Bl0aq3A9.js","../nodes/6.C-BQ3IDl.js","../chunks/events.C44j2o98.js","../assets/6.CagW1JSa.css"] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/_app/immutable/entry/start.BfDuLkmo.js b/_app/immutable/entry/start.BfDuLkmo.js new file mode 100644 index 0000000..445af57 --- /dev/null +++ b/_app/immutable/entry/start.BfDuLkmo.js @@ -0,0 +1 @@ +import{a as t}from"../chunks/entry.10fmg0a5.js";export{t as start}; diff --git a/_app/immutable/entry/start.DvsWMV41.js b/_app/immutable/entry/start.DvsWMV41.js deleted file mode 100644 index dd9aa1b..0000000 --- a/_app/immutable/entry/start.DvsWMV41.js +++ /dev/null @@ -1 +0,0 @@ -import{a as t}from"../chunks/entry.Dk4uGs0c.js";export{t as start}; diff --git a/_app/immutable/nodes/0.DF-D1GDn.js b/_app/immutable/nodes/0.DF-D1GDn.js new file mode 100644 index 0000000..09f09ce --- /dev/null +++ b/_app/immutable/nodes/0.DF-D1GDn.js @@ -0,0 +1,7 @@ +import{_ as P}from"../chunks/preload-helper.BQ24v_F8.js";import{s as L,q as D,u as I,v as S,w as V,n as H}from"../chunks/scheduler.Ce_0Mfso.js";import{S as M,i as T,e as _,s as y,c as p,a as b,A as j,h as A,d as $,w as v,f as C,j as m,p as w,q as E,m as k,n as q,o as N,r as O}from"../chunks/index.QmGHi4hh.js";import{b as g,a as R}from"../chunks/paths.BtEKXNvL.js";const z=!0,ee=Object.freeze(Object.defineProperty({__proto__:null,prerender:z},Symbol.toStringTag,{value:"Module"}));function W(n){let e,t,s,l=` `,i,f,o,a;const c=n[1].default,r=D(c,n,n[0],null);return{c(){e=_("header"),t=_("div"),s=_("div"),s.innerHTML=l,i=y(),f=_("hr"),o=y(),r&&r.c(),this.h()},l(u){e=p(u,"HEADER",{class:!0});var d=b(e);t=p(d,"DIV",{class:!0});var h=b(t);s=p(h,"DIV",{class:!0,"data-svelte-h":!0}),j(s)!=="svelte-1ljyi8a"&&(s.innerHTML=l),i=A(h),f=p(h,"HR",{class:!0}),o=A(h),r&&r.l(h),h.forEach($),d.forEach($),this.h()},h(){v(s,"class","site-nav svelte-115rb9m"),v(f,"class","svelte-115rb9m"),v(t,"class","container"),v(e,"class","svelte-115rb9m")},m(u,d){C(u,e,d),m(e,t),m(t,s),m(t,i),m(t,f),m(t,o),r&&r.m(t,null),a=!0},p(u,[d]){r&&r.p&&(!a||d&1)&&I(r,c,u,u[0],a?V(c,u[0],d,null):S(u[0]),null)},i(u){a||(w(r,u),a=!0)},o(u){E(r,u),a=!1},d(u){u&&$(e),r&&r.d(u)}}}function B(n,e,t){let{$$slots:s={},$$scope:l}=e;return n.$$set=i=>{"$$scope"in i&&t(0,l=i.$$scope)},[l,s]}class F extends M{constructor(e){super(),T(this,e,B,W,L,{})}}function G(n){let e,t=``;return{c(){e=_("nav"),e.innerHTML=t},l(s){e=p(s,"NAV",{"data-svelte-h":!0}),j(e)!=="svelte-14uh1vl"&&(e.innerHTML=t)},m(s,l){C(s,e,l)},p:H,i:H,o:H,d(s){s&&$(e)}}}class J extends M{constructor(e){super(),T(this,e,null,G,L,{})}}function K(n){let e,t;return e=new J({}),{c(){k(e.$$.fragment)},l(s){q(e.$$.fragment,s)},m(s,l){N(e,s,l),t=!0},i(s){t||(w(e.$$.fragment,s),t=!0)},o(s){E(e.$$.fragment,s),t=!1},d(s){O(e,s)}}}function Q(n){let e,t,s,l,i;t=new F({props:{$$slots:{default:[K]},$$scope:{ctx:n}}});const f=n[0].default,o=D(f,n,n[1],null);return{c(){e=_("div"),k(t.$$.fragment),s=y(),l=_("main"),o&&o.c(),this.h()},l(a){e=p(a,"DIV",{class:!0});var c=b(e);q(t.$$.fragment,c),s=A(c),l=p(c,"MAIN",{id:!0,class:!0});var r=b(l);o&&o.l(r),r.forEach($),c.forEach($),this.h()},h(){v(l,"id","main"),v(l,"class","container svelte-1w48v4x"),v(e,"class","full-screen horizontal-on-large svelte-1w48v4x")},m(a,c){C(a,e,c),N(t,e,null),m(e,s),m(e,l),o&&o.m(l,null),i=!0},p(a,[c]){const r={};c&2&&(r.$$scope={dirty:c,ctx:a}),t.$set(r),o&&o.p&&(!i||c&2)&&I(o,f,a,a[1],i?V(f,a[1],c,null):S(a[1]),null)},i(a){i||(w(t.$$.fragment,a),w(o,a),i=!0)},o(a){E(t.$$.fragment,a),E(o,a),i=!1},d(a){a&&$(e),O(t),o&&o.d(a)}}}function U(n,e,t){let{$$slots:s={},$$scope:l}=e;return P(()=>import("../chunks/wc-demo.CR0K6Gk3.js"),__vite__mapDeps([]),import.meta.url),n.$$set=i=>{"$$scope"in i&&t(1,l=i.$$scope)},[s,l]}class te extends M{constructor(e){super(),T(this,e,U,Q,L,{})}}export{te as component,ee as universal}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/_app/immutable/nodes/0.DQXi9sUn.js b/_app/immutable/nodes/0.DQXi9sUn.js deleted file mode 100644 index 31047be..0000000 --- a/_app/immutable/nodes/0.DQXi9sUn.js +++ /dev/null @@ -1,7 +0,0 @@ -import{_ as O}from"../chunks/preload-helper.BQ24v_F8.js";import{s as A,q as C,u as D,v as I,w as S,n as H}from"../chunks/scheduler.Ce_0Mfso.js";import{S as L,i as M,e as _,s as k,c as p,a as b,A as V,f as w,d as $,q as v,g as T,h as m,p as E,n as y,w as j,x as q,y as z,z as N}from"../chunks/index.CGY-0lOs.js";import{b as g,a as P}from"../chunks/paths.BtXhTYCr.js";const R=!0,ee=Object.freeze(Object.defineProperty({__proto__:null,prerender:R},Symbol.toStringTag,{value:"Module"}));function W(n){let e,t,s,l=` `,i,f,o,a;const c=n[1].default,r=C(c,n,n[0],null);return{c(){e=_("header"),t=_("div"),s=_("div"),s.innerHTML=l,i=k(),f=_("hr"),o=k(),r&&r.c(),this.h()},l(u){e=p(u,"HEADER",{class:!0});var d=b(e);t=p(d,"DIV",{class:!0});var h=b(t);s=p(h,"DIV",{class:!0,"data-svelte-h":!0}),V(s)!=="svelte-1ljyi8a"&&(s.innerHTML=l),i=w(h),f=p(h,"HR",{class:!0}),o=w(h),r&&r.l(h),h.forEach($),d.forEach($),this.h()},h(){v(s,"class","site-nav svelte-115rb9m"),v(f,"class","svelte-115rb9m"),v(t,"class","container"),v(e,"class","svelte-115rb9m")},m(u,d){T(u,e,d),m(e,t),m(t,s),m(t,i),m(t,f),m(t,o),r&&r.m(t,null),a=!0},p(u,[d]){r&&r.p&&(!a||d&1)&&D(r,c,u,u[0],a?S(c,u[0],d,null):I(u[0]),null)},i(u){a||(E(r,u),a=!0)},o(u){y(r,u),a=!1},d(u){u&&$(e),r&&r.d(u)}}}function B(n,e,t){let{$$slots:s={},$$scope:l}=e;return n.$$set=i=>{"$$scope"in i&&t(0,l=i.$$scope)},[l,s]}class F extends L{constructor(e){super(),M(this,e,B,W,A,{})}}function G(n){let e,t=``;return{c(){e=_("nav"),e.innerHTML=t},l(s){e=p(s,"NAV",{"data-svelte-h":!0}),V(e)!=="svelte-14uh1vl"&&(e.innerHTML=t)},m(s,l){T(s,e,l)},p:H,i:H,o:H,d(s){s&&$(e)}}}class J extends L{constructor(e){super(),M(this,e,null,G,A,{})}}function K(n){let e,t;return e=new J({}),{c(){j(e.$$.fragment)},l(s){q(e.$$.fragment,s)},m(s,l){z(e,s,l),t=!0},i(s){t||(E(e.$$.fragment,s),t=!0)},o(s){y(e.$$.fragment,s),t=!1},d(s){N(e,s)}}}function Q(n){let e,t,s,l,i;t=new F({props:{$$slots:{default:[K]},$$scope:{ctx:n}}});const f=n[0].default,o=C(f,n,n[1],null);return{c(){e=_("div"),j(t.$$.fragment),s=k(),l=_("main"),o&&o.c(),this.h()},l(a){e=p(a,"DIV",{class:!0});var c=b(e);q(t.$$.fragment,c),s=w(c),l=p(c,"MAIN",{id:!0,class:!0});var r=b(l);o&&o.l(r),r.forEach($),c.forEach($),this.h()},h(){v(l,"id","main"),v(l,"class","container svelte-1km5v2u"),v(e,"class","full-screen horizontal-on-large svelte-1km5v2u")},m(a,c){T(a,e,c),z(t,e,null),m(e,s),m(e,l),o&&o.m(l,null),i=!0},p(a,[c]){const r={};c&2&&(r.$$scope={dirty:c,ctx:a}),t.$set(r),o&&o.p&&(!i||c&2)&&D(o,f,a,a[1],i?S(f,a[1],c,null):I(a[1]),null)},i(a){i||(E(t.$$.fragment,a),E(o,a),i=!0)},o(a){y(t.$$.fragment,a),y(o,a),i=!1},d(a){a&&$(e),N(t),o&&o.d(a)}}}function U(n,e,t){let{$$slots:s={},$$scope:l}=e;return O(()=>import("../chunks/wc-demo.CR0K6Gk3.js"),__vite__mapDeps([]),import.meta.url),n.$$set=i=>{"$$scope"in i&&t(1,l=i.$$scope)},[s,l]}class te extends L{constructor(e){super(),M(this,e,U,Q,A,{})}}export{te as component,ee as universal}; -function __vite__mapDeps(indexes) { - if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = [] - } - return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) -} diff --git a/_app/immutable/nodes/1.U_vkKEcE.js b/_app/immutable/nodes/1.U_vkKEcE.js new file mode 100644 index 0000000..d7446e7 --- /dev/null +++ b/_app/immutable/nodes/1.U_vkKEcE.js @@ -0,0 +1 @@ +import{s as S,n as _,c as x}from"../chunks/scheduler.Ce_0Mfso.js";import{S as j,i as k,e as f,t as d,s as q,c as g,a as h,g as v,d as u,h as y,f as m,j as $,k as E}from"../chunks/index.QmGHi4hh.js";import{s as C}from"../chunks/entry.10fmg0a5.js";const H=()=>{const s=C;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},P={subscribe(s){return H().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",l;return{c(){t=f("h1"),o=d(r),n=q(),i=f("p"),l=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(u),n=y(e),i=g(e,"P",{});var p=h(i);l=v(p,c),p.forEach(u)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,l)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(l,c)},i:_,o:_,d(e){e&&(u(t),u(n),u(i))}}}function z(s,t,r){let o;return x(s,P,n=>r(0,o=n)),[o]}let F=class extends j{constructor(t){super(),k(this,t,z,w,S,{})}};export{F as component}; diff --git a/_app/immutable/nodes/1.jh_Qi1Ew.js b/_app/immutable/nodes/1.jh_Qi1Ew.js deleted file mode 100644 index 52bd296..0000000 --- a/_app/immutable/nodes/1.jh_Qi1Ew.js +++ /dev/null @@ -1 +0,0 @@ -import{s as S,n as _,c as x}from"../chunks/scheduler.Ce_0Mfso.js";import{S as j,i as q,e as f,t as d,s as y,c as g,a as h,b as v,d as u,f as C,g as m,h as $,j as E}from"../chunks/index.CGY-0lOs.js";import{s as H}from"../chunks/entry.Dk4uGs0c.js";const P=()=>{const s=H;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},k={subscribe(s){return P().page.subscribe(s)}};function w(s){var b;let t,r=s[0].status+"",o,n,i,c=((b=s[0].error)==null?void 0:b.message)+"",l;return{c(){t=f("h1"),o=d(r),n=y(),i=f("p"),l=d(c)},l(e){t=g(e,"H1",{});var a=h(t);o=v(a,r),a.forEach(u),n=C(e),i=g(e,"P",{});var p=h(i);l=v(p,c),p.forEach(u)},m(e,a){m(e,t,a),$(t,o),m(e,n,a),m(e,i,a),$(i,l)},p(e,[a]){var p;a&1&&r!==(r=e[0].status+"")&&E(o,r),a&1&&c!==(c=((p=e[0].error)==null?void 0:p.message)+"")&&E(l,c)},i:_,o:_,d(e){e&&(u(t),u(n),u(i))}}}function z(s,t,r){let o;return x(s,k,n=>r(0,o=n)),[o]}let F=class extends j{constructor(t){super(),q(this,t,z,w,S,{})}};export{F as component}; diff --git a/_app/immutable/nodes/2.oGNMZUjL.js b/_app/immutable/nodes/2.DW9hz2nR.js similarity index 96% rename from _app/immutable/nodes/2.oGNMZUjL.js rename to _app/immutable/nodes/2.DW9hz2nR.js index e8ca19c..af744aa 100644 --- a/_app/immutable/nodes/2.oGNMZUjL.js +++ b/_app/immutable/nodes/2.DW9hz2nR.js @@ -1,4 +1,4 @@ -import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as r}from"../chunks/scheduler.Ce_0Mfso.js";import{S as g,i as m,s as d,e as b,H as u,k as j,d as e,f as w,c as f,a as y,l as k,g as c}from"../chunks/index.CGY-0lOs.js";const v=`

Web Components by Auroratide

+import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as r}from"../chunks/scheduler.Ce_0Mfso.js";import{S as g,i as m,s as d,e as b,H as u,l as j,d as e,h as w,c as f,a as y,b as k,f as c}from"../chunks/index.QmGHi4hh.js";const v=`

Web Components by Auroratide

This is just a bunch of highly reusable, fully accessible web components you can use on your websites! Why web components?

    @@ -8,7 +8,7 @@ import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as r}fr

...And many more reasons! Wanna learn more? Join the Web Component Community!

Made by Auroratide, a developer with a passion for the web, inclusive design, and storytelling ❤️

-

The reorder-list Element

+

The reorder-list Element

View: The reorder-list Element

A set of elements (reorder-list and reorder-item) that work together to make a rearrangeable list:

@@ -99,7 +99,7 @@ import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as r}fr </reorder-item> </reorder-list> -

The tab-list Element

+

The tab-list Element

View: The tab-list Element

A set of elements (tab-list, tab-item, and tab-panel) that work together to make a tabbing interface:

@@ -208,7 +208,7 @@ import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as r}fr </tab-panel> </div> -

The toggle-switch Element

+

The toggle-switch Element

View: The toggle-switch Element

A form control representing something is on or off.

@@ -241,7 +241,7 @@ import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as r}fr
<label for="toggle-switch">Fancy Switch</label>
 <toggle-switch id="toggle-switch"></toggle-switch>
 
-`;function _(i){let a,n,t;return{c(){a=d(),n=b("article"),t=new u(!1),this.h()},l(s){j("svelte-ueg07q",document.head).forEach(e),a=w(s),n=f(s,"ARTICLE",{});var o=y(n);t=k(o,!1),o.forEach(e),this.h()},h(){document.title="Web Components by Auroratide",t.a=null},m(s,l){c(s,a,l),c(s,n,l),t.m(v,n)},p:r,i:r,o:r,d(s){s&&(e(a),e(n))}}}function x(i){return p(()=>import("../chunks/define.Cxgo7aog.js"),__vite__mapDeps([]),import.meta.url),p(()=>import("../chunks/define.CJ6ZdpBe.js"),__vite__mapDeps([]),import.meta.url),p(()=>import("../chunks/define.BEaBwacd.js"),__vite__mapDeps([0,1]),import.meta.url),[]}class A extends g{constructor(a){super(),m(this,a,x,_,h,{})}}export{A as component}; +`;function _(i){let a,n,t;return{c(){a=d(),n=b("article"),t=new u(!1),this.h()},l(s){j("svelte-9qjnth",document.head).forEach(e),a=w(s),n=f(s,"ARTICLE",{});var o=y(n);t=k(o,!1),o.forEach(e),this.h()},h(){document.title="Web Components by Auroratide",t.a=null},m(s,l){c(s,a,l),c(s,n,l),t.m(v,n)},p:r,i:r,o:r,d(s){s&&(e(a),e(n))}}}function x(i){return p(()=>import("../chunks/define.Cxgo7aog.js"),__vite__mapDeps([]),import.meta.url),p(()=>import("../chunks/define.CJ6ZdpBe.js"),__vite__mapDeps([]),import.meta.url),p(()=>import("../chunks/define.BEaBwacd.js"),__vite__mapDeps([0,1]),import.meta.url),[]}class A extends g{constructor(a){super(),m(this,a,x,_,h,{})}}export{A as component}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["../chunks/define.BEaBwacd.js","../chunks/events.C44j2o98.js"] diff --git a/_app/immutable/nodes/3.Bi0n2n17.js b/_app/immutable/nodes/3.Doms-mkI.js similarity index 52% rename from _app/immutable/nodes/3.Bi0n2n17.js rename to _app/immutable/nodes/3.Doms-mkI.js index 41d5210..9590db1 100644 --- a/_app/immutable/nodes/3.Bi0n2n17.js +++ b/_app/immutable/nodes/3.Doms-mkI.js @@ -1,15 +1,15 @@ -import{_ as i}from"../chunks/preload-helper.BQ24v_F8.js";import{s as r,n as p}from"../chunks/scheduler.Ce_0Mfso.js";import{S as h,i as d,s as u,e as g,H as _,k as x,d as t,f,c as j,a as v,l as E,g as c}from"../chunks/index.CGY-0lOs.js";const T=`

The example-component Element

+import{_ as l}from"../chunks/preload-helper.BQ24v_F8.js";import{s as m,n as c}from"../chunks/scheduler.Ce_0Mfso.js";import{S as r,i,s as h,m as u,l as d,d as p,h as _,n as g,f,o as x,p as j,q as v,r as $}from"../chunks/index.QmGHi4hh.js";import{R as w}from"../chunks/Readme.BbztUA8r.js";const E=`

The example-component Element

This example component just lets you decrease and increase a number.

<example-component></example-component>
 
-

Initial value

+

Initial value

You can set an initial value.

<example-component value="7"></example-component>
 
-`;function w(o){let a,n,s;return{c(){a=u(),n=g("article"),s=new _(!1),this.h()},l(e){x("svelte-7x6vw2",document.head).forEach(t),a=f(e),n=j(e,"ARTICLE",{});var m=v(n);s=E(m,!1),m.forEach(t),this.h()},h(){document.title="The example-component Element",s.a=null},m(e,l){c(e,a,l),c(e,n,l),s.m(T,n)},p,i:p,o:p,d(e){e&&(t(a),t(n))}}}function b(o){return i(()=>import("../chunks/define.D9ZjvaKp.js"),__vite__mapDeps([]),import.meta.url),[]}class I extends h{constructor(a){super(),d(this,a,b,w,r,{})}}export{I as component}; +`;function q(o){let a,n,t;return n=new w({props:{html:E}}),{c(){a=h(),u(n.$$.fragment),this.h()},l(e){d("svelte-1d0cwt5",document.head).forEach(p),a=_(e),g(n.$$.fragment,e),this.h()},h(){document.title="The example-component Element"},m(e,s){f(e,a,s),x(n,e,s),t=!0},p:c,i(e){t||(j(n.$$.fragment,e),t=!0)},o(e){v(n.$$.fragment,e),t=!1},d(e){e&&p(a),$(n,e)}}}function T(o){return l(()=>import("../chunks/define.CJYix4MN.js"),__vite__mapDeps([]),import.meta.url),[]}class I extends r{constructor(a){super(),i(this,a,T,q,m,{})}}export{I as component}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/_app/immutable/nodes/4.JtM9JyR-.js b/_app/immutable/nodes/4.BHqP-rBH.js similarity index 89% rename from _app/immutable/nodes/4.JtM9JyR-.js rename to _app/immutable/nodes/4.BHqP-rBH.js index b61e0b8..90f8e9a 100644 --- a/_app/immutable/nodes/4.JtM9JyR-.js +++ b/_app/immutable/nodes/4.BHqP-rBH.js @@ -1,4 +1,4 @@ -import{_ as d}from"../chunks/preload-helper.BQ24v_F8.js";import{s as c,n as r}from"../chunks/scheduler.Ce_0Mfso.js";import{S as h,i as m,s as u,e as g,H as b,k as j,d as t,f,c as y,a as w,l as x,g as o}from"../chunks/index.CGY-0lOs.js";const _=`

The reorder-list Elements

+import{_ as i}from"../chunks/preload-helper.BQ24v_F8.js";import{s as o,n as p}from"../chunks/scheduler.Ce_0Mfso.js";import{S as d,i as c,s as h,m,l as u,d as l,h as g,n as b,f as j,o as f,p as y,q as w,r as x}from"../chunks/index.QmGHi4hh.js";import{R as _}from"../chunks/Readme.BbztUA8r.js";const k=`

The reorder-list Elements

The reorder-list and reorder-item elements represent an ordered list of items that can be reordered. They are built with accessibility in mind and implement the WAI-ARIA guidelines for rearrangable listboxes.

@@ -20,7 +20,7 @@ import{_ as d}from"../chunks/preload-helper.BQ24v_F8.js";import{s as c,n as r}fr <reorder-item>Plum</reorder-item> </reorder-list> -

Installation

+

Installation

You can import through CDN:

<script type="module" src="https://unpkg.com/@auroratide/reorder-list/lib/define.js"></script>
 
@@ -29,12 +29,12 @@ import{_ as d}from"../chunks/preload-helper.BQ24v_F8.js";import{s as c,n as r}fr
import '@auroratide/reorder-list/lib/define.js'
 
-

Usage

+

Usage

reorder-list and reorder-item are markup elements that you can use in your HTML document. To use them together, it is best to follow these guidelines:

  • reorder-item elements must be direct descendents of a reorder-list element. This is similar to how li must directly descend ol.
-

CSS Customization

+

CSS Customization

Since these are native custom elements, they can be styled the same way as regular HTML elements.

Of note:

    @@ -140,7 +140,7 @@ reorder-item ul { color: #2573C1; } -

    Events

    +

    Events

    The reorder-list element dispatches the following events:

    @@ -163,14 +163,14 @@ reorder-item ul { console.log(e.detail.newIndex) }) -

    Accessibility

    +

    Accessibility

    This custom element is build with accessibility in mind! It follows the WAI-ARIA guidelines for rearrangable listboxes (the listbox and option roles).

    • When focus enters the list, focus goes to the currently active list item.
    • Up and Down can be used to navigate the list, focusing on an element that will be reordered.
    • Alt + Up/Down moves the currently selected list item up or down in the order.
    -`;function k(i){let e,n,a;return{c(){e=u(),n=g("article"),a=new b(!1),this.h()},l(s){j("svelte-1pq5n9w",document.head).forEach(t),e=f(s),n=y(s,"ARTICLE",{});var p=w(n);a=x(p,!1),p.forEach(t),this.h()},h(){document.title="The reorder-list Element",a.a=null},m(s,l){o(s,e,l),o(s,n,l),a.m(_,n)},p:r,i:r,o:r,d(s){s&&(t(e),t(n))}}}function v(i){return d(()=>import("../chunks/define.Cxgo7aog.js"),__vite__mapDeps([]),import.meta.url),[]}class C extends h{constructor(e){super(),m(this,e,v,k,c,{})}}export{C as component}; +`;function v(r){let n,e,a;return e=new _({props:{html:k}}),{c(){n=h(),m(e.$$.fragment),this.h()},l(s){u("svelte-n8c5fz",document.head).forEach(l),n=g(s),b(e.$$.fragment,s),this.h()},h(){document.title="The reorder-list Element"},m(s,t){j(s,n,t),f(e,s,t),a=!0},p,i(s){a||(y(e.$$.fragment,s),a=!0)},o(s){w(e.$$.fragment,s),a=!1},d(s){s&&l(n),x(e,s)}}}function A(r){return i(()=>import("../chunks/define.Cxgo7aog.js"),__vite__mapDeps([]),import.meta.url),[]}class P extends d{constructor(n){super(),c(this,n,A,v,o,{})}}export{P as component}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/_app/immutable/nodes/5.Bl0aq3A9.js b/_app/immutable/nodes/5.DdhVVrFi.js similarity index 94% rename from _app/immutable/nodes/5.Bl0aq3A9.js rename to _app/immutable/nodes/5.DdhVVrFi.js index ba34a76..8e593ce 100644 --- a/_app/immutable/nodes/5.Bl0aq3A9.js +++ b/_app/immutable/nodes/5.DdhVVrFi.js @@ -1,4 +1,4 @@ -import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}from"../chunks/scheduler.Ce_0Mfso.js";import{S as b,i as d,s as u,e as m,H as g,k as j,d as e,f,c as y,a as w,l as q,g as c}from"../chunks/index.CGY-0lOs.js";const x=`

    The tab-list Elements

    +import{_ as i}from"../chunks/preload-helper.BQ24v_F8.js";import{s as o,n as c}from"../chunks/scheduler.Ce_0Mfso.js";import{S as r,i as b,s as h,m as d,l as u,d as p,h as m,n as g,f as j,o as f,p as y,q,r as w}from"../chunks/index.QmGHi4hh.js";import{R as x}from"../chunks/Readme.BbztUA8r.js";const v=`

    The tab-list Elements

    The tab-list, tab-item, and tab-panel elements together represent content that is presented one panel at a time. They are built with accessibility in mind and implement the WAI-ARIA guidelines for tabs.

      @@ -37,7 +37,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}fr <p>Bananas are yellow and usually curved.</p> </tab-panel> -

      Installation

      +

      Installation

      You can import through CDN:

      <script type="module" src="https://unpkg.com/@auroratide/tab-list/lib/define.js"></script>
       
      @@ -46,7 +46,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}fr
      import '@auroratide/tab-list/lib/define.js'
       
      -

      Usage

      +

      Usage

      tab-list, tab-item, and tab-panel are markup elements that you can use in your HTML document. To use them together, it is best to follow these guidelines:

      • tab-item elements must be contained within a tab-list. They need not be direct descendents.
      • @@ -68,7 +68,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}fr
      • tab-list should be labelled with a name representing the collection of tabs, either with aria-label or aria-labelledby.
      • tab-panel elements can theoretically be anywhere on the page, though it's best if they are the next focusable item after the tab-list.
      -

      Automatic Activation

      +

      Automatic Activation

      By default, a tab must be clicked in order for its panel to be revealed. With automatic activation, a tab only needs to acquire focus to show its tab. In general, WAI-ARIA recommends automatic activation for the best accessibility, unless animations induce lag.

      You can enable automatic activation by setting the activation attribute to "automatic" on the tab list element.

      @@ -93,7 +93,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}fr <tab-item for="example-5-tab-3">Squashes</tab-item> </tab-list> -

      Vertical Tab List

      +

      Vertical Tab List

      By default, tabs are listed horizontally, and they can be navigated with the left and right arrow keys.

      By setting the orientation attribute to "vertical", you can make a vertical tab list. This makes it navigable with the up and down arrow keys instead.

      @@ -118,7 +118,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}fr <tab-item for="example-2-tab-3">Squashes</tab-item> </tab-list> -

      Setting a selected tab

      +

      Setting a selected tab

      You can set the selected attribute on one tab-item in a tab-list. This will mark that item as selected and show its panel.

      @@ -139,7 +139,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}fr
      <tab-item selected for="example-3-tab-3">Bananas</tab-item>
       

      Note: Only one tab-item can be selected at a time! If you attempt to set multiple as selected, only the first selected tabl's panel will be shown.

      -

      All Attributes

      +

      All Attributes

      For tab-list:

    @@ -178,7 +178,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as p}fr
    -

    CSS Customization

    +

    CSS Customization

    Since these are native custom elements, they can be styled the same way as regular HTML elements.

    Of note:

      @@ -319,7 +319,7 @@ tab-panel[hidden] { opacity: 0; } -

      Events

      +

      Events

      The tab-list element dispatches the following events:

      @@ -341,7 +341,7 @@ tab-panel[hidden] { console.log(e.detail.to) }) -

      Accessibility

      +

      Accessibility

      This custom element is built with accessibility in mind! It follows the WAI-ARIA guidelines for tabs (the tablist, tab, and tabpanel roles).

      • When focus enters the tab list, the currently active tab item is focused.
      • @@ -349,14 +349,14 @@ tab-panel[hidden] {
      • Enter or Space select the currently focused tab.
      • Home goes to the first tab, and End goes to the last tab.
      -

      Not (yet) Implemented

      +

      Not (yet) Implemented

      The following features are desired of tab lists, but are not yet implemented:

      • Auto-opening a panel when its corresponding tab receives focus.
      • Native support for removable tabs.
      • Tabs that open popup menus.
      -`;function v(o){let s,n,t;return{c(){s=u(),n=m("article"),t=new g(!1),this.h()},l(a){j("svelte-vr2uw0",document.head).forEach(e),s=f(a),n=y(a,"ARTICLE",{});var i=w(n);t=q(i,!1),i.forEach(e),this.h()},h(){document.title="The tab-list Element",t.a=null},m(a,l){c(a,s,l),c(a,n,l),t.m(x,n)},p,i:p,o:p,d(a){a&&(e(s),e(n))}}}function k(o){return r(()=>import("../chunks/define.CJ6ZdpBe.js"),__vite__mapDeps([]),import.meta.url),[]}class I extends b{constructor(s){super(),d(this,s,k,v,h,{})}}export{I as component}; +`;function k(l){let n,s,t;return s=new x({props:{html:v}}),{c(){n=h(),d(s.$$.fragment),this.h()},l(a){u("svelte-qyq54j",document.head).forEach(p),n=m(a),g(s.$$.fragment,a),this.h()},h(){document.title="The tab-list Element"},m(a,e){j(a,n,e),f(s,a,e),t=!0},p:c,i(a){t||(y(s.$$.fragment,a),t=!0)},o(a){q(s.$$.fragment,a),t=!1},d(a){a&&p(n),w(s,a)}}}function _(l){return i(()=>import("../chunks/define.CJ6ZdpBe.js"),__vite__mapDeps([]),import.meta.url),[]}class L extends r{constructor(n){super(),b(this,n,_,k,o,{})}}export{L as component}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/_app/immutable/nodes/6.C-BQ3IDl.js b/_app/immutable/nodes/6.CeRyQlOW.js similarity index 85% rename from _app/immutable/nodes/6.C-BQ3IDl.js rename to _app/immutable/nodes/6.CeRyQlOW.js index 61be901..da6f655 100644 --- a/_app/immutable/nodes/6.C-BQ3IDl.js +++ b/_app/immutable/nodes/6.CeRyQlOW.js @@ -1,4 +1,4 @@ -import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as d,n as c,o as g}from"../chunks/scheduler.Ce_0Mfso.js";import{S as m,i as u,s as b,e as j,H as w,k as f,d as t,f as y,c as k,a as x,l as _,g as h}from"../chunks/index.CGY-0lOs.js";import{C as v}from"../chunks/events.C44j2o98.js";const T=typeof window<"u"?window:typeof globalThis<"u"?globalThis:global,q=`

      The toggle-switch Element

      +import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as h,n as i,o as r}from"../chunks/scheduler.Ce_0Mfso.js";import{S as d,i as g,s as m,m as u,l as b,d as c,h as j,n as w,f,o as y,p as k,q as x,r as _}from"../chunks/index.QmGHi4hh.js";import{g as v}from"../chunks/globals.D0QH3NT1.js";import{C as q}from"../chunks/events.C44j2o98.js";import{R as A}from"../chunks/Readme.BbztUA8r.js";const T=`

      The toggle-switch Element

      The toggle-switch element represents a control that is either on or off. This component is built with accessibility in mind and implements the WAI-ARIA switch role.

      @@ -15,7 +15,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as d,n as c,o <toggle-switch id="example-01"></toggle-switch>

      Note: The on/off semantic is slightly different from the checked/unchecked semantic of input checkboxes. Additionally, checkboxes can have a third indeterminant value that does not make sense for a toggle switch.

      -

      Installation

      +

      Installation

      You can import through CDN:

      <script type="module" src="https://unpkg.com/@auroratide/toggle-switch/lib/define.js"></script>
       
      @@ -24,7 +24,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as d,n as c,o
      import '@auroratide/toggle-switch/lib/define.js'
       
      -

      Usage

      +

      Usage

      toggle-switch is an inline markup element that you can use in your HTML document. It is a form control, meaning it is appropriate to properly label it like so:

      <label for="example-02">Can upload cat images: </label>
       <toggle-switch id="example-02"></toggle-switch>
      @@ -37,7 +37,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as d,n as c,o
           
           
       
      -

      Attributes

      +

      Attributes

      @@ -59,7 +59,7 @@ import{_ as r}from"../chunks/preload-helper.BQ24v_F8.js";import{s as d,n as c,o
      -

      CSS Customization

      +

      CSS Customization

      The toggle-switch is composed of a slider and a track which can be individually customized:

      • slider, the element that slides when toggled
      • @@ -117,7 +117,7 @@ toggle-switch[checked]background-color: hsl(211, 69%, 57%); }
        -

        Javascript API

        +

        Javascript API

        The element exposes a function to programmatically toggle its state:

        @@ -133,13 +133,13 @@ toggle-switch[checked]Properties

        Each attribute can be accessed as a Javascript property.

        • elem.checked
        • elem.disabled
        -

        Events

        +

        Events

        The toggle-switch element dispatches the following events:

        @@ -160,13 +160,13 @@ toggle-switch[checked]console.log(e.detail.checked) }) -

        Accessibility

        +

        Accessibility

        This custom element is built with accessibility in mind! It follows the WAI-ARIA guidelines for the switch role.

        • The element can be focused
        • The element can be toggled with Enter or Space
        -`,{document:i}=T;function A(o){let a,s,e;return{c(){a=b(),s=j("article"),e=new w(!1),this.h()},l(n){f("svelte-836m89",i.head).forEach(t),a=y(n),s=k(n,"ARTICLE",{});var p=x(s);e=_(p,!1),p.forEach(t),this.h()},h(){i.title="The toggle-switch Element",e.a=null},m(n,l){h(n,a,l),h(n,s,l),e.m(q,s)},p:c,i:c,o:c,d(n){n&&(t(a),t(s))}}}function C(o){return r(()=>import("../chunks/define.BEaBwacd.js"),__vite__mapDeps([0,1]),import.meta.url),g(()=>{const a=document.querySelector("#example-01"),s=document.querySelector("#example-01-output");a&&s&&(a==null||a.addEventListener(v,e=>{e.detail.checked?(s.textContent="On",s.classList.add("example-active")):(s.textContent="Off",s.classList.remove("example-active"))}))}),[]}class D extends m{constructor(a){super(),u(this,a,C,A,d,{})}}export{D as component}; +`,{document:o}=v;function C(l){let n,s,t;return s=new A({props:{html:T}}),{c(){n=m(),u(s.$$.fragment),this.h()},l(a){b("svelte-h9oq7s",o.head).forEach(c),n=j(a),w(s.$$.fragment,a),this.h()},h(){o.title="The toggle-switch Element"},m(a,e){f(a,n,e),y(s,a,e),t=!0},p:i,i(a){t||(k(s.$$.fragment,a),t=!0)},o(a){x(s.$$.fragment,a),t=!1},d(a){a&&c(n),_(s,a)}}}function E(l){return p(()=>import("../chunks/define.BEaBwacd.js"),__vite__mapDeps([0,1]),import.meta.url),r(()=>{const n=document.querySelector("#example-01"),s=document.querySelector("#example-01-output");n&&s&&(n==null||n.addEventListener(q,t=>{t.detail.checked?(s.textContent="On",s.classList.add("example-active")):(s.textContent="Off",s.classList.remove("example-active"))}))}),[]}class O extends d{constructor(n){super(),g(this,n,E,C,h,{})}}export{O as component}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = ["../chunks/define.BEaBwacd.js","../chunks/events.C44j2o98.js"] diff --git a/_app/immutable/nodes/7.BznqhJ0E.js b/_app/immutable/nodes/7.BznqhJ0E.js new file mode 100644 index 0000000..822a667 --- /dev/null +++ b/_app/immutable/nodes/7.BznqhJ0E.js @@ -0,0 +1,277 @@ +import{_ as p}from"../chunks/preload-helper.BQ24v_F8.js";import{s as c,n as i,o as d}from"../chunks/scheduler.Ce_0Mfso.js";import{S as h,i as m,s as u,m as g,l as y,d as r,h as j,n as w,f as x,o as f,p as b,q as v,r as T}from"../chunks/index.QmGHi4hh.js";import{g as _}from"../chunks/globals.D0QH3NT1.js";import{R as q}from"../chunks/Readme.BbztUA8r.js";const k=`

        The typewritten-text Element

        + +

        The typewritten-text element represents text that should be typed out one letter at a time when displayed.

        +

        Text is automatically typed out one letter at a time

        + +

        This typewriter effect is achieved using custom elements!

        + +
        +
        This <typewritten-text paused>typewriter effect</typewritten-text> is achieved
        +using <typewritten-text paused>custom elements!</typewritten-text>
        +
        +

        Installation

        +

        You can import through CDN:

        +
        <link rel="stylesheet" href="https://unpkg.com/@auroratide/typewritten-text/lib/style.css" />
        +<script type="module" src="https://unpkg.com/@auroratide/typewritten/lib/define.js"></script>
        +
        +

        Or, you may install through NPM and include it as part of your build process:

        +
        $ npm i @auroratide/typewritten-text
        +
        +
        import '@auroratide/typewritten-text/lib/style.css'
        +import '@auroratide/typewritten-text/lib/define.js'
        +
        +

        Note: How you import into your project depends on its configuration. The style.css file should be imported with your root CSS, and the define.js file should imported with your root Javascript.

        +

        Usage

        +

        typewritten-text is an inline markup element that you can use in your HTML document.

        +
        Some <typewritten-text>text to type out!</typewritten-text>
        +
        +

        Since this is Just HTMLTM, you can use typewritten-text with other markup tags:

        +
        This works with <typewritten-text paused>
        +	<strong>other</strong>
        +	<em>markdown</em>
        +	<span class="special">elements</span>
        +</typewritten-text> as well!
        +
        + +

        This works with other markdown elements as well!

        + +
        + +

        Note: typewritten-text has text-level semantics, meaning it can contain anything that a span can contain. See Phrasing Content.

        +

        Repeat Indefinitely

        +

        This types and backspaces the text on a loop.

        +
        <p>Some <typewritten-text repeat>text to type out!</typewritten-text></p>
        +
        +

        Adjust Timing

        +

        The time provided is number of milliseconds between each letter.

        +
        <p>Some <typewritten-text letter-interval="400">text to type out!</typewritten-text></p>
        +
        +

        The phrase-interval is the time between when the text is typed out and when it starts to be removed during a repetition loop.

        +
        <p>Some <typewritten-text repeat phrase-interval="2000">text to type out!</typewritten-text></p>
        +
        +

        Start Paused

        +

        This will start paused until invoked by javascript.

        +
        <p>Some <typewritten-text paused>text to type out!</typewritten-text></p>
        +
        +

        All Attributes

        +
        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        AttributeDefaultDescription
        repeat-Whether the text should type itself repeatedly on a loop
        letter-interval100Time between each letter in milliseconds
        phrase-interval1000Time between completion and restart during a repeat loop in milliseconds
        paused-Whether the animation should start paused
        +

        Style API

        +

        Since typewritten-text is Just HTMLTM, you can style it the same way you style any HTML tag.

        +
        typewritten-text {
        +    color: red;
        +}
        +
        +

        Note: Depending on what you want to do, you may run into some Implementation Gotchas.

        +

        Cursor

        +

        The blinking cursor can be customized with either CSS variables or directly via selectors.

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        VariableDefaultDescription
        --typewritten-text_cursor-width0.125emHow wide the cursor is
        --typewritten-text_cursor-stylesolidWhether the cursor is solid, dashed, dotted, etc; can be any border-style value
        --typewritten-text_cursor-colorcurrentColorColor of the cursor
        --typewriten-text_cursor-interval700msThe duration of the blink animation
        +

        The cursor can be arbitrarily customized with the following CSS selectors:

        +
        .typewritten-text_character::after,
        +.typewritten-text_start::after { }
        +
        +

        The *_start selector represents the start of the text and can be used to style the initial cursor differently than the cursor-in-motion. For example, to hide the cursor while the animation is paused and yet show it at the start, you can do:

        +
        typewritten-text[paused] .typewritten-text_character::after {
        +    visibility: hidden;
        +}
        +
        +

        Javascript API

        +

        The element exposes some useful methods to enable custom animation. Once you have obtained a reference to a TypewrittenText element:

        +
        const elem = document.querySelector('typewritten-text')
        +
        +

        You can use the following methods:

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        MethodDescription
        start()Start the animation cycle if it is currently paused
        pause()Pause the animation cycle if it is currently running
        typeNext()Manually type the next character
        backspace()Manually remove one character
        tick()Run one frame of the animation; only works if not paused
        forceTick()Run one frame of the animation regardless of paused state
        reverse()Reverse the direction of the animation
        reset()Completely resets the element and animation; may be useful if the content within the element is dynamic
        +

        Properties

        +

        Each attribute can be accessed as a Javascript property.

        +
          +
        • elem.repeat
        • +
        • elem.paused
        • +
        • elem.letterInterval
        • +
        • elem.phraseInterval
        • +
        +

        One additional property is provided:

        +
          +
        • elem.length: The total number of typeable characters
        • +
        +

        Events

        +

        The typewritten-text element dispatches the following events:

        + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
        NameWhen Triggered
        typewritten-text:nextcharAnytime a character is typed into view
        typewritten-text:prevcharAnytime a character is removed from view
        typewritten-text:phrasetypedWhen the full phrase becomes fully typed
        typewritten-text:phraseremovedWhen the full phrase becomes untyped
        typewritten-text:startedWhen the animation is started
        typewritten-text:pausedWhen the animation is paused
        +

        Element Class

        +

        The element interface can be accessed in javascript as well.

        +
        import { TypewrittenText } from '@auroratide/typewritten-text'
        +
        +

        Accessibility

        +

        This custom element is built with accessibility in mind!

        +
          +
        • The typewritten-text element always represents its textual content regardless of visibility state. Screenreaders should read the text in its entirety.
        • +
        • The textual content can be copied and pasted regardless of visibility state.
        • +
        • The blinking cursor animation is disabled for people who prefer reduced motion
        • +
        +

        Implementation Gotchas

        +

        It is possible the non-trivial implementation of typewritten-text can lead to unexpected complications with advanced customization.

        +

        Most notably, typewritten-text works by cloning its inner content into a separate custom element called typewritten-text-mirror, within which each letter is wrapped with a span denoted with the class typewritten-text_character. The following is an example before-and-after of what the resulting markup looks like once the element has finished rendering:

        +
        <typewritten-text>Hey</typewritten-text>
        +
        +<!-- ...becomes... -->
        +
        +<typewritten-text>Hey<typewritten-text-mirror slot="mirror" aria-label="Hey">
        +    <span class="typewritten-text_word">
        +        <span class="typewritten-text_character" aria-hidden="true"></span>
        +        <span class="typewritten-text_character" aria-hidden="true">H</span>
        +        <span class="typewritten-text_character" aria-hidden="true">e</span>
        +        <span class="typewritten-text_character" aria-hidden="true">y</span>
        +    </span>
        +</typewritten-text-mirror></typewritten-text>
        +
        +

        The only part that becomes visible to the viewer is the contents of typewritten-text-mirror. As a result, a selector like typewritten-text > span will have unexpected results.

        +

        This architecture has the following explicit goals:

        +
          +
        • Preserve, as much as possible, the way the web developer has specified the usage of the element. This means not overriding the inner content of typewritten-text.
        • +
        • Allow the use of semantic markup within typewritten-text so it acts as much as possible like a native text-level element
        • +
        • Enable typing each individual character regardless of its formatting, allowing for size- and position-independence.
        • +
        +`,S=""+new URL("../assets/demo.BbQyX9Y4.gif",import.meta.url).href,{document:o}=_;function A(l){let e,s,n;return s=new q({props:{html:k,assets:[{replace:"./demo.gif",with:S}]}}),{c(){e=u(),g(s.$$.fragment),this.h()},l(t){y("svelte-i80zog",o.head).forEach(r),e=j(t),w(s.$$.fragment,t),this.h()},h(){o.title="The typewritten-text Element"},m(t,a){x(t,e,a),f(s,t,a),n=!0},p:i,i(t){n||(b(s.$$.fragment,t),n=!0)},o(t){v(s.$$.fragment,t),n=!1},d(t){t&&r(e),T(s,t)}}}function E(l){p(()=>Promise.resolve({}),__vite__mapDeps([0]),import.meta.url),p(()=>import("../chunks/define.DglGPCT0.js"),__vite__mapDeps([]),import.meta.url);const e=s=>{var n;(n=document.querySelector(`#${s} .run`))==null||n.addEventListener("click",()=>{document.querySelectorAll(`#${s} typewritten-text`).forEach(t=>{t.start()})})};return d(()=>{e("main-demo"),e("markup-demo")}),[]}class I extends h{constructor(e){super(),m(this,e,E,A,c,{})}}export{I as component}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = ["../assets/style.DM1gH6IL.css"] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/_app/version.json b/_app/version.json index 81f129b..c2dfee1 100644 --- a/_app/version.json +++ b/_app/version.json @@ -1 +1 @@ -{"version":"1707582621349"} \ No newline at end of file +{"version":"1707661530849"} \ No newline at end of file diff --git a/example-component.html b/example-component.html index 643768f..0e49e2e 100644 --- a/example-component.html +++ b/example-component.html @@ -9,25 +9,26 @@ - - - + + + - - + + - - - The example-component Element + + + + The example-component Element -

        The example-component Element

        +

        The example-component Element

        This example component just lets you decrease and increase a number.

        <example-component></example-component>
         
        -

        Initial value

        +

        Initial value

        You can set an initial value.

        <example-component value="7"></example-component>
        @@ -36,7 +37,7 @@ 

        Initial value

        +
        + +