designix-uis 1.0.27 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/public/_app/immutable/assets/0.Z6QhVM7R.css +1 -0
- package/dist/public/_app/immutable/assets/3.PKAk05Ur.css +1 -0
- package/dist/public/_app/immutable/chunks/B04yfOmj.js +1 -0
- package/dist/public/_app/immutable/chunks/BGFub8HW.js +216 -0
- package/dist/public/_app/immutable/chunks/Bc4MrHmR.js +1 -0
- package/dist/public/_app/immutable/chunks/Cqu6Anc-.js +125 -0
- package/dist/public/_app/immutable/chunks/CtuE7-7B.js +3 -0
- package/dist/public/_app/immutable/chunks/DEDqjojZ.js +1 -0
- package/dist/public/_app/immutable/entry/app.B6-MtQXu.js +2 -0
- package/dist/public/_app/immutable/entry/start.BYRgEfei.js +1 -0
- package/dist/public/_app/immutable/nodes/0.DY8Z2FWu.js +2 -0
- package/dist/public/_app/immutable/nodes/1.C0eqdL1v.js +1 -0
- package/dist/public/_app/immutable/nodes/2.DzDjUhFb.js +1 -0
- package/dist/public/_app/immutable/nodes/3.BvrNFoaU.js +5 -0
- package/dist/public/_app/version.json +1 -1
- package/dist/public/gear/gear_bar.html +18 -23
- package/dist/public/gear/gear_epicycloid.html +18 -23
- package/dist/public/gear/gear_ring.html +18 -23
- package/dist/public/gear/gear_wheel.html +18 -23
- package/dist/public/heliostat/base.html +18 -23
- package/dist/public/heliostat/haxis_guidance.html +18 -23
- package/dist/public/heliostat/heliostat.html +19 -24
- package/dist/public/heliostat/heliostat_2.html +19 -24
- package/dist/public/heliostat/pole_static.html +19 -24
- package/dist/public/heliostat/rake.html +18 -23
- package/dist/public/heliostat/rake_stopper.html +18 -23
- package/dist/public/heliostat/ring.html +18 -23
- package/dist/public/heliostat/ring_guidance.html +18 -23
- package/dist/public/heliostat/rod.html +18 -23
- package/dist/public/heliostat/spider.html +18 -23
- package/dist/public/heliostat/surface.html +18 -23
- package/dist/public/heliostat/swing.html +18 -23
- package/dist/public/heliostat/trapeze.html +18 -23
- package/dist/public/heliostat/vaxis.html +18 -23
- package/dist/public/heliostat/vaxis_guidance.html +18 -23
- package/dist/public/heliostat/vaxis_holder.html +18 -23
- package/dist/public/index.html +15 -20
- package/package.json +14 -12
- package/dist/public/_app/immutable/assets/0.CW0MaQv7.css +0 -1
- package/dist/public/_app/immutable/assets/3.XhKpYbOE.css +0 -1
- package/dist/public/_app/immutable/chunks/BHBmAp0t.js +0 -1
- package/dist/public/_app/immutable/chunks/BsC0KJnE.js +0 -1
- package/dist/public/_app/immutable/chunks/BvMyOpMW.js +0 -2
- package/dist/public/_app/immutable/chunks/CDPXKizA.js +0 -216
- package/dist/public/_app/immutable/chunks/CLLMBv3G.js +0 -1
- package/dist/public/_app/immutable/chunks/CdIMtTB_.js +0 -125
- package/dist/public/_app/immutable/chunks/Crb22ScH.js +0 -1
- package/dist/public/_app/immutable/chunks/DWiHY1yh.js +0 -1
- package/dist/public/_app/immutable/chunks/DsnmJJEf.js +0 -1
- package/dist/public/_app/immutable/chunks/hUAl4A9s.js +0 -1
- package/dist/public/_app/immutable/chunks/r5-SrLJV.js +0 -1
- package/dist/public/_app/immutable/entry/app.e5mkuYQF.js +0 -2
- package/dist/public/_app/immutable/entry/start.D_czURb2.js +0 -1
- package/dist/public/_app/immutable/nodes/0.CH76o7dk.js +0 -2
- package/dist/public/_app/immutable/nodes/1.BiA6rY6y.js +0 -1
- package/dist/public/_app/immutable/nodes/2.Bi0HaUO8.js +0 -1
- package/dist/public/_app/immutable/nodes/3.CTvJ8tYy.js +0 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body{background-color:#008b8b;margin:0;font-family:Courier New,Helvetica,Arial,Verdana}h1.svelte-12qhfyh{color:#7fffd4;margin:1rem 1rem .2rem}h6.svelte-12qhfyh{margin:.2rem 1rem 1rem}nav.svelte-12qhfyh{margin:1rem}nav.svelte-12qhfyh>a:where(.svelte-12qhfyh){color:#000;background-color:#f8f8ff;border:.2rem solid brown;border-radius:.6rem;margin-top:.1rem;margin-left:.1rem;padding-left:.3rem;padding-right:.3rem;text-decoration:none;display:inline-block}nav.svelte-12qhfyh>a:where(.svelte-12qhfyh):hover{background-color:#ff0}main.svelte-12qhfyh{background-color:#f8f8ff;min-height:70vh;padding-top:2rem;padding-bottom:3rem}footer.svelte-12qhfyh{margin:5rem 1rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
aside.backdrop.svelte-qoipkr{z-index:10;background-color:#0006;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}aside.svelte-qoipkr>div.dialog:where(.svelte-qoipkr){background-color:#e0ffff;max-width:80vw;max-height:80vh}aside.svelte-qoipkr>div:where(.svelte-qoipkr)>button:where(.svelte-qoipkr){background-color:#fff;border:none;width:100%;height:100%;margin:0;padding:0}section.svelte-12sscyt{margin:1rem}section.svelte-12sscyt>button:where(.svelte-12sscyt){background-color:#fff;border:none;margin:.2rem;padding:0;font-size:.6rem}section.svelte-12sscyt>button:where(.svelte-12sscyt)>img:where(.svelte-12sscyt){max-width:200px;max-height:200px}aside.backdrop.svelte-c5gucl{z-index:10;background-color:#0006;justify-content:center;align-items:center;width:100%;height:100%;display:flex;position:fixed;top:0;left:0}aside.svelte-c5gucl>div.dialog:where(.svelte-c5gucl){background-color:#e0ffff;flex-direction:column;justify-content:space-between;align-items:stretch;width:40rem;max-width:80vw;height:20rem;max-height:80vh;display:flex}aside.svelte-c5gucl>div.dialog.sizeLarge:where(.svelte-c5gucl){width:60rem;height:30rem}aside.svelte-c5gucl>div:where(.svelte-c5gucl)>article.question:where(.svelte-c5gucl){flex-direction:column;justify-content:center;align-items:center;height:80%;font-size:1.2rem;display:flex;overflow:auto}aside.svelte-c5gucl>div:where(.svelte-c5gucl)>footer:where(.svelte-c5gucl){justify-content:space-between;align-items:flex-end;display:flex}aside.svelte-c5gucl>div:where(.svelte-c5gucl)>footer:where(.svelte-c5gucl)>button:where(.svelte-c5gucl){color:#00008b;background-color:#add8e6;border:.1rem solid #00008b;border-radius:.2rem;margin:.5rem 3rem;padding:.6rem 2.2rem;font-size:1.2rem;font-weight:400}div.deleteKeys.svelte-bifaxb{justify-content:space-between;align-items:center;display:flex}div.svelte-bifaxb>button:where(.svelte-bifaxb){color:#00008b;background-color:#add8e6;border:.1rem solid #00008b;border-radius:.2rem;height:1.6rem;margin:.5rem;padding:.2rem .4rem;font-size:.8rem;font-weight:400}div.svelte-bifaxb>table:where(.svelte-bifaxb){margin:.5rem 2rem;font-size:.8rem;font-weight:400}div.svelte-bifaxb>table:where(.svelte-bifaxb)>thead:where(.svelte-bifaxb){background-color:#ddd}div.svelte-bifaxb>table:where(.svelte-bifaxb)>tbody:where(.svelte-bifaxb){background-color:#eee}div.svelte-bifaxb>table:where(.svelte-bifaxb)>tbody:where(.svelte-bifaxb)>tr:where(.svelte-bifaxb)>td:where(.svelte-bifaxb)>button:where(.svelte-bifaxb){color:#00008b;background-color:#0000;border:0}p.diagTitle.svelte-bifaxb{margin:.2rem;font-size:1rem;font-weight:400}p.diagItem.svelte-bifaxb{margin:0;font-size:.8rem;font-weight:400}div.svelte-8w4g7s{flex-direction:column;justify-content:flex-start;align-items:center;min-height:6rem;display:flex}div.svelte-8w4g7s>label:where(.svelte-8w4g7s),div.svelte-8w4g7s>input:where(.svelte-8w4g7s),div.svelte-8w4g7s>p.warnMsg:where(.svelte-8w4g7s){color:orange;margin:.2rem;font-size:1rem;font-weight:400}div.svelte-74yr5r{flex-direction:column;justify-content:flex-start;align-items:center;min-height:6rem;display:flex}div.svelte-74yr5r>label:where(.svelte-74yr5r),div.svelte-74yr5r>input:where(.svelte-74yr5r){margin:.2rem;font-size:1rem;font-weight:400}canvas.svelte-1a2f2q3{background-color:pink}section.svelte-e6cp59>h2:where(.svelte-e6cp59){color:gray;margin:1rem .5rem 0}section.svelte-e6cp59>main:where(.svelte-e6cp59){display:inline-block}section.svelte-e6cp59>main:where(.svelte-e6cp59)>label.fileUpload:where(.svelte-e6cp59){color:#00008b;background-color:#add8e6;border:.1rem solid #00008b;border-radius:.2rem;height:1.2rem;margin:.5rem;padding:.1rem .4rem;font-size:.8rem;font-weight:400;display:inline-block}section.svelte-e6cp59>main:where(.svelte-e6cp59)>input[type=file]:where(.svelte-e6cp59){display:none}section.svelte-e6cp59>main:where(.svelte-e6cp59)>textarea:where(.svelte-e6cp59){margin:.2rem .2rem .2rem .5rem;font-size:.8rem;font-weight:400;display:block}section.svelte-e6cp59>main:where(.svelte-e6cp59)>textarea.colorWarn:where(.svelte-e6cp59){background-color:orange}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59){margin:.2rem .5rem;font-size:.8rem;font-weight:400}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>thead:where(.svelte-e6cp59){background-color:#ddd}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>thead:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td:where(.svelte-e6cp59)>span:where(.svelte-e6cp59){margin-left:5rem}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>thead:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td:where(.svelte-e6cp59)>span:where(.svelte-e6cp59)>button:where(.svelte-e6cp59){color:#00f;background-color:#add8e6;border:0;border-radius:30%;padding-left:1rem;padding-right:1rem;font-weight:700}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59){background-color:#eee}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody.collaps:where(.svelte-e6cp59){visibility:collapse}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59)>tr.changed:where(.svelte-e6cp59){background-color:#ded}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59)>tr.separator:where(.svelte-e6cp59){background-color:tan;font-weight:700}tr.separator.svelte-e6cp59>td:where(.svelte-e6cp59){text-align:center}tr.separator.svelte-e6cp59>td:where(.svelte-e6cp59)>label:where(.svelte-e6cp59)>input[type=checkbox]:where(.svelte-e6cp59){display:none}tr.separator.svelte-e6cp59>td:where(.svelte-e6cp59)>label:where(.svelte-e6cp59)>span:where(.svelte-e6cp59){background-color:#add8e6;border:1px solid gray;border-radius:6px;width:50px;height:8px;display:inline-block;position:relative}tr.separator.svelte-e6cp59>td:where(.svelte-e6cp59)>label:where(.svelte-e6cp59)>span:where(.svelte-e6cp59):after{content:"";background-color:gray;border-radius:50%;width:8px;height:8px;display:inline-block;position:absolute;top:0;left:1px}tr.separator.svelte-e6cp59>td:where(.svelte-e6cp59)>label:where(.svelte-e6cp59)>input[type=checkbox]:where(.svelte-e6cp59):checked+span:where(.svelte-e6cp59){background:#00008b}tr.separator.svelte-e6cp59>td:where(.svelte-e6cp59)>label:where(.svelte-e6cp59)>input[type=checkbox]:where(.svelte-e6cp59):checked+span:where(.svelte-e6cp59):after{left:37px}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>thead:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td:where(.svelte-e6cp59),section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td:where(.svelte-e6cp59){padding-left:.4rem;padding-right:.4rem}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td:where(.svelte-e6cp59)>button:where(.svelte-e6cp59){color:#00008b;background-color:#0000;border:0}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td:where(.svelte-e6cp59)>input:where(.svelte-e6cp59){height:.8rem}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td:where(.svelte-e6cp59)>input.input-number:where(.svelte-e6cp59){width:5rem}section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>thead:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td.hideColumn:where(.svelte-e6cp59),section.svelte-e6cp59>main:where(.svelte-e6cp59)>table:where(.svelte-e6cp59)>tbody:where(.svelte-e6cp59)>tr:where(.svelte-e6cp59)>td.hideColumn:where(.svelte-e6cp59){display:none}section.svelte-e6cp59>main:where(.svelte-e6cp59)>div.comment:where(.svelte-e6cp59){margin-left:.5rem;font-size:.8rem}section.svelte-e6cp59>main:where(.svelte-e6cp59)>button:where(.svelte-e6cp59){color:#00008b;background-color:#add8e6;border:.1rem solid #00008b;border-radius:.2rem;height:1.6rem;margin:.5rem;padding:.2rem .4rem;font-size:.8rem;font-weight:400}p.cUrl.svelte-e6cp59{margin:0 1rem}section.svelte-e6cp59>button.side-img:where(.svelte-e6cp59){vertical-align:top;z-index:1;background-color:#fff;border:none;margin:.2rem;padding:0;font-size:.6rem;position:sticky;top:.5rem}section.svelte-e6cp59>button.side-img:where(.svelte-e6cp59)>img:where(.svelte-e6cp59){max-width:200px;max-height:200px}section.svelte-e6cp59>div.mini-canvas:where(.svelte-e6cp59){vertical-align:top;z-index:1;margin:.2rem;display:inline-block;position:sticky;top:.5rem}nav.svelte-p0ndb1>button:where(.svelte-p0ndb1){color:#00008b;background-color:#add8e6;border:.1rem solid #00008b;border-radius:.2rem;width:1.6rem;height:1.6rem;margin:0;padding:0;font-size:1rem;font-weight:900}nav.svelte-p0ndb1>input[type=range]:where(.svelte-p0ndb1){width:8rem}nav.svelte-p0ndb1>input[type=number]:where(.svelte-p0ndb1){background-color:#add8e6;border-color:#00008b;width:3rem}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n){background-color:#90ee90;border:.1rem solid #006400;border-radius:.2rem;width:2rem;height:2rem;margin:.1rem;padding:0}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n)>div.zero:where(.svelte-1iutb4n){background-color:#0000;border:.3rem solid #006400;border-radius:1rem;width:.8rem;height:.8rem;margin:auto}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n)>div.zoomin:where(.svelte-1iutb4n){background-color:#006400;border:.3rem solid gray;border-radius:0;width:.8rem;height:.8rem;margin:auto}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n)>div.zoomout:where(.svelte-1iutb4n){background-color:gray;border:.3rem solid #006400;border-radius:0;width:.8rem;height:.8rem;margin:auto}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n)>div.arrowleft:where(.svelte-1iutb4n){border-top:.7rem solid #0000;border-bottom:.7rem solid #0000;border-right:1.26rem solid #006400;width:0;height:0;margin:auto}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n)>div.arrowright:where(.svelte-1iutb4n){border-top:.7rem solid #0000;border-bottom:.7rem solid #0000;border-left:1.26rem solid #006400;width:0;height:0;margin:auto}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n)>div.arrowup:where(.svelte-1iutb4n){border-bottom:1.26rem solid #006400;border-left:.7rem solid #0000;border-right:.7rem solid #0000;width:0;height:0;margin:auto}nav.svelte-1iutb4n>button:where(.svelte-1iutb4n)>div.arrowdown:where(.svelte-1iutb4n){border-top:1.26rem solid #006400;border-left:.7rem solid #0000;border-right:.7rem solid #0000;width:0;height:0;margin:auto}div.svelte-1u36vsa>label:where(.svelte-1u36vsa)>input:where(.svelte-1u36vsa){margin-left:1rem}section.svelte-n9qac9>div.rack:where(.svelte-n9qac9){text-align:center;margin:0 1rem;display:inline-block}section.svelte-n9qac9>div.rack:where(.svelte-n9qac9)>canvas:where(.svelte-n9qac9){background-color:pink;margin:.2rem}section.svelte-xyzrxn{background-color:#d3d3d3;border-radius:.5rem;margin-left:.25rem;margin-right:1rem}section.svelte-xyzrxn>h2:where(.svelte-xyzrxn){color:gray;margin:1rem .5rem 0 .25rem}section.svelte-xyzrxn>h2:where(.svelte-xyzrxn)>span:where(.svelte-xyzrxn){color:#fff;margin-left:1rem;font-size:1rem;font-weight:400}section.svelte-xyzrxn>ol:where(.svelte-xyzrxn)>li:where(.svelte-xyzrxn){color:#000;font-size:1rem;font-weight:400}section.svelte-xyzrxn>ol:where(.svelte-xyzrxn)>li:where(.svelte-xyzrxn)>button:where(.svelte-xyzrxn){color:#00008b;background-color:#add8e6;border:.1rem solid #00008b;border-radius:.2rem;height:1.6rem;margin:.5rem;padding:.2rem .4rem;font-size:.8rem;font-weight:400}input.toggle.svelte-xyzrxn{display:none}div.nested.svelte-xyzrxn{padding-left:1rem;display:none}input.toggle.svelte-xyzrxn:checked~div.nested:where(.svelte-xyzrxn){display:block}div.arrow.svelte-xyzrxn{border-top:.4rem solid #0000;border-bottom:.4rem solid #0000;border-left:.72rem solid #ff8c00;width:0;height:0;margin-left:.5rem;display:inline-block}input.toggle.svelte-xyzrxn:checked~label:where(.svelte-xyzrxn)>div.arrow:where(.svelte-xyzrxn){border:.4rem solid #0000;border-top:.72rem solid #ff8c00;border-bottom:0}div.svelte-xyzrxn>article:where(.svelte-xyzrxn){margin:.5rem}div.svelte-xyzrxn>table:where(.svelte-xyzrxn){margin-left:1rem;padding-bottom:1rem;font-size:.8rem;font-weight:400}div.svelte-xyzrxn>table:where(.svelte-xyzrxn)>thead:where(.svelte-xyzrxn){background-color:#ddd}div.svelte-xyzrxn>table:where(.svelte-xyzrxn)>tbody:where(.svelte-xyzrxn){background-color:#eee}div.svelte-xyzrxn>table:where(.svelte-xyzrxn)>tbody:where(.svelte-xyzrxn)>tr.changed:where(.svelte-xyzrxn){background-color:#ded}section.svelte-zsilp8>h2:where(.svelte-zsilp8){color:gray;margin:1rem .5rem 0}section.svelte-zsilp8>h2:where(.svelte-zsilp8)>button:where(.svelte-zsilp8){color:#00008b;background-color:#add8e6;border:.1rem solid #00008b;border-radius:.2rem;height:1.6rem;margin:.5rem;padding:.2rem .4rem;font-size:.8rem;font-weight:400}section.svelte-zsilp8>h2:where(.svelte-zsilp8)>button.theFace:where(.svelte-zsilp8){border-width:.2rem;border-color:#00f}section.svelte-zsilp8>textarea:where(.svelte-zsilp8){margin-left:.5rem}section.svelte-zsilp8>textarea.colorWarn:where(.svelte-zsilp8){background-color:orange}section.svelte-zsilp8>textarea.colorErr:where(.svelte-zsilp8){background-color:violet}table.svelte-zsilp8{border-collapse:collapse;margin:.2rem 1rem 2rem}table.svelte-zsilp8>caption:where(.svelte-zsilp8){color:#00008b;background-color:#add8e6;font-weight:700}table.svelte-zsilp8>thead:where(.svelte-zsilp8)>tr:where(.svelte-zsilp8)>th:where(.svelte-zsilp8),table.svelte-zsilp8>tbody:where(.svelte-zsilp8)>tr:where(.svelte-zsilp8)>td:where(.svelte-zsilp8){border:1px solid #00008b;padding:.2rem 1rem}table.svelte-zsilp8>tbody:where(.svelte-zsilp8)>tr:where(.svelte-zsilp8):nth-child(odd){background-color:#ffffe0}table.svelte-zsilp8>tbody:where(.svelte-zsilp8)>tr:where(.svelte-zsilp8):nth-child(2n){background-color:#add8e6}section.svelte-zsilp8>table:where(.svelte-zsilp8)>tbody:where(.svelte-zsilp8)>tr:where(.svelte-zsilp8)>td:where(.svelte-zsilp8)>button:where(.svelte-zsilp8){color:#00008b;background-color:inherit;border-style:none;margin:0;padding:.1rem .4rem;font-size:1rem;font-weight:700}section.svelte-zsilp8>table:where(.svelte-zsilp8)>tbody:where(.svelte-zsilp8)>tr:where(.svelte-zsilp8)>td:where(.svelte-zsilp8)>button:where(.svelte-zsilp8):hover{background-color:#fff}dialog#dBview.svelte-zsilp8{display:none}dialog#dBview[open].svelte-zsilp8{display:block}dialog#dBview.svelte-zsilp8::backdrop{background-color:#0006}dialog#dBview.svelte-zsilp8>textarea:where(.svelte-zsilp8){resize:none;background-color:#ffffe0;width:80vw;height:70vh;margin:0;display:block}dialog#dBview.svelte-zsilp8>button.bback:where(.svelte-zsilp8){color:#fff;background-color:#000;border:none;outline:none;width:100%;height:2rem;margin:1rem 0 0;display:block}h1.svelte-1nzn10d{margin:1rem 1rem 0}article.svelte-1nzn10d{margin:0 1rem 2rem;font-size:1rem;font-style:italic;font-weight:400}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{K as e,M as t,N as n,P as r,Y as i,i as a,n as o,q as s}from"./CtuE7-7B.js";var c=class{constructor(e,t){this.status=e,typeof t==`string`?this.body={message:t}:t?this.body=t:this.body={message:`Error: ${e}`}}toString(){return JSON.stringify(this.body)}},l=class{constructor(e,t){try{new Headers({location:t})}catch{throw Error(`Invalid redirect location ${JSON.stringify(t)}: this string contains characters that cannot be used in HTTP headers`)}this.status=e,this.location=t}},u=class extends Error{constructor(e,t,n){super(n),this.status=e,this.text=t}};new URL(`sveltekit-internal://`);function d(e,t){return e===`/`||t===`ignore`?e:t===`never`?e.endsWith(`/`)?e.slice(0,-1):e:t===`always`&&!e.endsWith(`/`)?e+`/`:e}function f(e){return e.split(`%25`).map(decodeURI).join(`%25`)}function p(e){for(let t in e)e[t]=decodeURIComponent(e[t]);return e}function m({href:e}){return e.split(`#`)[0]}function h(e,t,n,r=!1){let i=new URL(e);Object.defineProperty(i,`searchParams`,{value:new Proxy(i.searchParams,{get(e,r){if(r===`get`||r===`getAll`||r===`has`)return(t,...i)=>(n(t),e[r](t,...i));t();let i=Reflect.get(e,r);return typeof i==`function`?i.bind(e):i}}),enumerable:!0,configurable:!0});let a=[`href`,`pathname`,`search`,`toString`,`toJSON`];r&&a.push(`hash`);for(let n of a)Object.defineProperty(i,n,{get(){return t(),e[n]},enumerable:!0,configurable:!0});return i}function g(){}function _(...e){let t=5381;for(let n of e)if(typeof n==`string`){let e=n.length;for(;e;)t=t*33^n.charCodeAt(--e)}else if(ArrayBuffer.isView(n)){let e=new Uint8Array(n.buffer,n.byteOffset,n.byteLength),r=e.length;for(;r;)t=t*33^e[--r]}else throw TypeError(`value must be a string or TypedArray`);return(t>>>0).toString(36)}new TextEncoder;function v(e){let t=atob(e),n=new Uint8Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);return n}var ee=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||`GET`)!==`GET`&&y.delete(S(e)),ee(e,t));var y=new Map;function b(e,t){let n=S(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:e,...t}=JSON.parse(r.textContent),i=r.getAttribute(`data-ttl`);return i&&y.set(n,{body:e,init:t,ttl:1e3*Number(i)}),r.getAttribute(`data-b64`)!==null&&(e=v(e)),Promise.resolve(new Response(e,t))}return window.fetch(e,t)}function x(e,t,n){if(y.size>0){let t=S(e,n),r=y.get(t);if(r){if(performance.now()<r.ttl&&[`default`,`force-cache`,`only-if-cached`,void 0].includes(n?.cache))return new Response(r.body,r.init);y.delete(t)}}return window.fetch(t,n)}function S(e,t){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){let e=[];t.headers&&e.push([...new Headers(t.headers)].join(`,`)),t.body&&(typeof t.body==`string`||ArrayBuffer.isView(t.body))&&e.push(t.body),n+=`[data-hash="${_(...e)}"]`}return n}var te=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function C(e){let t=[];return{pattern:e===`/`?/^\/$/:RegExp(`^${re(e).map(e=>{let n=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`))return ae(String.fromCharCode(parseInt(e.slice(2),16)));if(e.startsWith(`u+`))return ae(String.fromCharCode(...e.slice(2).split(`-`).map(e=>parseInt(e,16))));let[,r,a,o,s]=te.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return ae(e)}).join(``)}).join(``)}/?$`),params:t}}function ne(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function re(e){return e.slice(1).split(`/`).filter(ne)}function ie(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0)if(s.rest)c=``;else continue;if(!s.matcher||n[s.matcher](c)){r[s.name]=c;let n=t[e+1],l=i[e+1];n&&!n.rest&&n.optional&&l&&s.chained&&(o=0),!n&&!l&&Object.keys(r).length===a.length&&(o=0);continue}if(s.optional&&s.chained){o++;continue}return}if(!o)return r}function ae(e){return e.normalize().replace(/[[\]]/g,`\\$&`).replace(/%/g,`%25`).replace(/\//g,`%2[Ff]`).replace(/\?/g,`%3[Ff]`).replace(/#/g,`%23`).replace(/[.*+?^${}()|\\]/g,`\\$&`)}var oe=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function se(e,t){let n=re(e),r=e!=`/`&&e.endsWith(`/`);return`/`+n.map(n=>n.replace(oe,(n,r,i,a)=>{let o=t[a];if(!o){if(r||i&&o!==void 0)return``;throw Error(`Missing parameter '${a}' in route ${e}`)}if(o.startsWith(`/`)||o.endsWith(`/`))throw Error(`Parameter '${a}' in route ${e} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return o})).filter(Boolean).join(`/`)+(r?`/`:``)}function ce({nodes:e,server_loads:t,dictionary:n,matchers:r}){let i=new Set(t);return Object.entries(n).map(([t,[n,i,s]])=>{let{pattern:c,params:l}=C(t),u={id:t,exec:e=>{let t=c.exec(e);if(t)return ie(t,l,r)},errors:[1,...s||[]].map(t=>e[t]),layouts:[0,...i||[]].map(o),leaf:a(n)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(t){let n=t<0;return n&&(t=~t),[n,e[t]]}function o(t){return t===void 0?t:[i.has(t),e[t]]}}function le(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ue(e,t,n=JSON.stringify){let r=n(t);try{sessionStorage[e]=r}catch{}}var w=globalThis.__sveltekit_1k90at0?.base??``,de=globalThis.__sveltekit_1k90at0?.assets??w??``;function fe(e){return(de||w)+e}var pe=``;function me(...e){if(!e[0].startsWith(`/`))throw Error(`Cannot use \`resolve(...)\` with a non-absolute pathname or route ID (got "${e[0]}"). \`resolve\` is only for internal pathnames and route IDs; external URLs should be used directly.`);return w+pe+se(e[0],e[1])}var he=`1779226999754`,ge=`sveltekit:snapshot`,_e=`sveltekit:scroll`,ve=`sveltekit:states`,T=`sveltekit:history`,E=`sveltekit:navigation`,D={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},O=location.origin;function ye(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){let e=document.getElementsByTagName(`base`);t=e.length?e[0].href:document.URL}return new URL(e,t)}function k(){return{x:pageXOffset,y:pageYOffset}}function A(e,t){return e.getAttribute(`data-sveltekit-${t}`)}var be={...D,"":D.hover};function xe(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Se(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()===`A`&&e.hasAttribute(`href`))return e;e=xe(e)}}function Ce(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){let e=location.hash.split(`#`)[1]||`/`;r.hash=`#${e}${r.hash}`}}catch{}let i=e instanceof SVGAElement?e.target.baseVal:e.target,a=!r||!!i||De(r,t,n)||(e.getAttribute(`rel`)||``).split(/\s+/).includes(`external`),o=r?.origin===O&&e.hasAttribute(`download`);return{url:r,external:a,target:i,download:o}}function j(e){let t=null,n=null,r=null,i=null,a=null,o=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=A(s,`preload-code`)),i===null&&(i=A(s,`preload-data`)),t===null&&(t=A(s,`keepfocus`)),n===null&&(n=A(s,`noscroll`)),a===null&&(a=A(s,`reload`)),o===null&&(o=A(s,`replacestate`)),s=xe(s);function c(e){switch(e){case``:case`true`:return!0;case`off`:case`false`:return!1;default:return}}return{preload_code:be[r??`off`],preload_data:be[i??`off`],keepfocus:c(t),noscroll:c(n),reload:c(a),replace_state:c(o)}}function we(e){let t=i(e),n=!0;function r(){n=!0,t.update(e=>e)}function a(e){n=!1,t.set(e)}function o(e){let r;return t.subscribe(t=>{(r===void 0||n&&t!==r)&&e(r=t)})}return{notify:r,set:a,subscribe:o}}var Te={v:g};function Ee(){let{set:e,subscribe:t}=i(!1);async function n(){clearTimeout(void 0);try{let t=await fetch(`${de}/_app/version.json`,{headers:{pragma:`no-cache`,"cache-control":`no-cache`}});if(!t.ok)return!1;let n=(await t.json()).version!==he;return n&&(e(!0),Te.v(),clearTimeout(void 0)),n}catch{return!1}}return{subscribe:t,check:n}}function De(e,t,n){return e.origin!==O||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function Oe(e){}var ke=new Set([`load`,`prerender`,`csr`,`ssr`,`trailingSlash`,`config`]);new Set([...ke,`entries`]);var Ae=new Set([...ke]);new Set([...Ae,`actions`,`entries`]);function je(e){return e.filter(e=>e!=null)}function Me(e,t){return e+`/`+t}function Ne(e){return e instanceof c||e instanceof u?e.status:500}function Pe(e){return e instanceof u?e.text:`Internal Error`}var M,N,Fe,Ie=a.toString().includes(`$$`)||/function \w+\(\) \{\}/.test(a.toString()),Le=`a:`;Ie?(M={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Le)},N={current:null},Fe={current:!1}):(M=new class{#e=s({});get data(){return t(this.#e)}set data(t){e(this.#e,t)}#t=s(null);get form(){return t(this.#t)}set form(t){e(this.#t,t)}#n=s(null);get error(){return t(this.#n)}set error(t){e(this.#n,t)}#r=s({});get params(){return t(this.#r)}set params(t){e(this.#r,t)}#i=s({id:null});get route(){return t(this.#i)}set route(t){e(this.#i,t)}#a=s({});get state(){return t(this.#a)}set state(t){e(this.#a,t)}#o=s(-1);get status(){return t(this.#o)}set status(t){e(this.#o,t)}#s=s(new URL(Le));get url(){return t(this.#s)}set url(t){e(this.#s,t)}},N=new class{#e=s(null);get current(){return t(this.#e)}set current(t){e(this.#e,t)}},Fe=new class{#e=s(!1);get current(){return t(this.#e)}set current(t){e(this.#e,t)}},Te.v=()=>Fe.current=!0);function Re(e){Object.assign(M,e)}var ze={spanContext(){return Be},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Be={traceId:``,spanId:``,traceFlags:0},{onMount:Ve,tick:He}=o,Ue=new Set([`icon`,`shortcut icon`,`apple-touch-icon`]),P=null,F=le(`sveltekit:scroll`)??{},I=le(`sveltekit:snapshot`)??{},L={url:we({}),page:we({}),navigating:i(null),updated:Ee()};function We(e){F[e]=k()}function Ge(e,t){let n=e+1;for(;F[n];)delete F[n],n+=1;for(n=t+1;I[n];)delete I[n],n+=1}function R(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(g)}async function Ke(){if(`serviceWorker`in navigator){let e=await navigator.serviceWorker.getRegistration(w||`/`);e&&await e.update()}}var qe,Je,z,B,Ye,V,H=[],U=[],W=null;function Xe(){W?.fork?.then(e=>e?.discard()),W=null}var Ze=new Map,Qe=new Set,$e=new Set,G=new Set,K={branch:[],error:null,url:null,nav:null},et=!1,tt=!1,nt=!0,q=!1,J=!1,rt=!1,it=!1,at,Y,X,Z,ot=new Set,st=new Map,ct=new Map;async function lt(e,t,n){globalThis.__sveltekit_1k90at0&&(globalThis.__sveltekit_1k90at0.query,globalThis.__sveltekit_1k90at0.prerender),document.URL!==location.href&&(location.href=location.href),V=e,await e.hooks.init?.(),qe=ce(e),B=document.documentElement,Ye=t,Je=e.nodes[0],z=e.nodes[1],Je(),z(),Y=history.state?.[T],X=history.state?.[E],Y||(Y=X=Date.now(),history.replaceState({...history.state,[T]:Y,[E]:X},``));let r=F[Y];function i(){r&&(history.scrollRestoration=`manual`,scrollTo(r.x,r.y))}n?(i(),await Bt(Ye,n)):(await Q({type:`enter`,url:ye(V.hash?Kt(new URL(location.href)):location.href),replace_state:!0}),i()),zt()}function ut(){H.length=0,it=!1}function dt(e){U.some(e=>e?.snapshot)&&(I[e]=U.map(e=>e?.snapshot?.capture()))}function ft(e){I[e]?.forEach((e,t)=>{U[t]?.snapshot?.restore(e)})}function pt(){We(Y),ue(_e,F),dt(X),ue(ge,I)}async function mt(e,t,n,i){let a,o;t.invalidateAll&&Xe(),await Q({type:`goto`,url:ye(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:i,accept:()=>{if(t.invalidateAll){it=!0,a=new Set;for(let[e,t]of st)for(let n of t.keys())a.add(Me(e,n));o=new Set;for(let[e,t]of ct)for(let n of t.keys())o.add(Me(e,n))}t.invalidate&&t.invalidate.forEach(Rt)}}),t.invalidateAll&&r().then(r).then(()=>{for(let[e,t]of st)for(let[n,{resource:r}]of t)a?.has(Me(e,n))&&r.refresh();for(let[e,t]of ct)for(let[n,{resource:r}]of t)o?.has(Me(e,n))&&r.reconnect()})}async function ht(e){if(e.id!==W?.id){Xe();let t={};ot.add(t),W={id:e.id,token:t,promise:Tt({...e,preload:t}).then(e=>(ot.delete(t),e.type===`loaded`&&e.state.error&&Xe(),e)),fork:null}}return W.promise}async function gt(e){let t=(await kt(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(e=>e[1]()))}async function _t(e,t,n){let r={params:K.params,route:{id:K.route?.id??null},url:new URL(location.href)};K={...e.state,nav:r};let i=document.querySelector(`style[data-sveltekit]`);if(i&&i.remove(),Re(e.props.page),at=new V.root({target:t,props:{...e.props,stores:L,components:U},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),ft(X),n){let e={from:null,to:{...r,scroll:F[Y]??k()},willUnload:!1,type:`enter`,complete:Promise.resolve()};G.forEach(t=>t(e))}tt=!0}async function vt({url:e,params:t,branch:n,errors:r,status:i,error:a,route:o,form:s}){let c=`never`;if(w&&(e.pathname===w||e.pathname===w+`/`))c=`always`;else for(let e of n)e?.slash!==void 0&&(c=e.slash);e.pathname=d(e.pathname,c),e.search=e.search;let l={type:`loaded`,state:{url:e,params:t,branch:n,error:a,route:o},props:{constructors:je(n).map(e=>e.node.component),page:Gt(M)}};s!==void 0&&(l.props.form=s);let u={},f=!M,p=0;for(let e=0;e<Math.max(n.length,K.branch.length);e+=1){let t=n[e],r=K.branch[e];t?.data!==r?.data&&(f=!0),t&&(u={...u,...t.data},f&&(l.props[`data_${p}`]=u),p+=1)}return(!K.url||e.href!==K.url.href||K.error!==a||s!==void 0&&s!==M.form||f)&&(l.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:f?u:M.data}),l}async function yt({loader:e,parent:t,url:n,params:r,route:i,server_data_node:a}){let o=null,s=!0,c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){function e(...e){for(let t of e){let{href:e}=new URL(t,n);c.dependencies.add(e)}}let u={tracing:{enabled:!1,root:ze,current:ze},route:new Proxy(i,{get:(e,t)=>(s&&(c.route=!0),e[t])}),params:new Proxy(r,{get:(e,t)=>(s&&c.params.add(t),e[t])}),data:a?.data??null,url:h(n,()=>{s&&(c.url=!0)},e=>{s&&c.search_params.add(e)},V.hash),async fetch(t,r){t instanceof Request&&(r={body:t.method===`GET`||t.method===`HEAD`?void 0:await t.blob(),cache:t.cache,credentials:t.credentials,headers:[...t.headers].length>0?t?.headers:void 0,integrity:t.integrity,keepalive:t.keepalive,method:t.method,mode:t.mode,redirect:t.redirect,referrer:t.referrer,referrerPolicy:t.referrerPolicy,signal:t.signal,...r});let{resolved:i,promise:a}=bt(t,r,n);return s&&e(i.href),a},setHeaders:g,depends:e,parent(){return s&&(c.parent=!0),t()},untrack(e){s=!1;try{return e()}finally{s=!0}}};o=await l.universal.load.call(null,u)??null}return{node:l,loader:e,server:a,universal:l.universal?.load?{type:`data`,data:o,uses:c}:null,data:o??a?.data??null,slash:l.universal?.trailingSlash??a?.slash}}function bt(e,t,n){let r=e instanceof Request?e.url:e,i=new URL(r,n);return i.origin===n.origin&&(r=i.href.slice(n.origin.length)),{resolved:i,promise:tt?x(r,i.href,t):b(r,t)}}function xt(e,t,n,r,i,a){if(it)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&n)return!0;for(let e of i.search_params)if(r.has(e))return!0;for(let e of i.params)if(a[e]!==K.params[e])return!0;for(let e of i.dependencies)if(H.some(t=>t(new URL(e))))return!0;return!1}function St(e,t){return e?.type===`data`?e:e?.type===`skip`?t??null:null}function Ct(e,t){if(!e)return new Set(t.searchParams.keys());let n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(let r of n){let i=e.searchParams.getAll(r),a=t.searchParams.getAll(r);i.every(e=>a.includes(e))&&a.every(e=>i.includes(e))&&n.delete(r)}return n}function wt({error:e,url:t,route:n,params:r}){return{type:`loaded`,state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Gt(M),constructors:[]}}}async function Tt({id:e,invalidating:t,url:n,params:r,route:i,preload:a}){if(W?.id===e)return ot.delete(W.token),W.promise;let{errors:o,layouts:s,leaf:u}=i,d=[...s,u];o.forEach(e=>e?.().catch(g)),d.forEach(e=>e?.[1]().catch(g));let f=K.url?e!==jt(K.url):!1,p=K.route?i.id!==K.route.id:!1,m=Ct(K.url,n),h=!1,_=d.map(async(e,t)=>{if(!e)return;let a=K.branch[t];return e[1]===a?.loader&&!xt(h,p,f,m,a.universal?.uses,r)?a:(h=!0,yt({loader:e[1],url:n,params:r,route:i,parent:async()=>{let e={};for(let n=0;n<t;n+=1)Object.assign(e,(await _[n])?.data);return e},server_data_node:St(e[0]?{type:`skip`}:null,e[0]?a?.server:void 0)}))});for(let e of _)e.catch(g);let v=[];for(let e=0;e<d.length;e+=1)if(d[e])try{v.push(await _[e])}catch(t){if(t instanceof l)return{type:`redirect`,location:t.location};if(ot.has(a))return wt({error:await $(t,{params:r,url:n,route:{id:i.id}}),url:n,params:r,route:i});let s=Ne(t),u;if((void 0)?.includes(t))s=t.status??s,u=t.error;else if(t instanceof c)u=t.body;else{if(await L.updated.check())return await Ke(),await R(n);u=await $(t,{params:r,url:n,route:{id:i.id}})}let d=await Et(e,v,o);return d?vt({url:n,params:r,branch:v.slice(0,d.idx).concat(d.node),errors:o,status:s,error:u,route:i}):await Nt(n,{id:i.id},u,s)}else v.push(void 0);return vt({url:n,params:r,branch:v,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function Et(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)--r;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Dt({status:e,error:t,url:n,route:r}){let i={};try{return vt({url:n,params:i,branch:[await yt({loader:Je,url:n,params:i,route:r,parent:()=>Promise.resolve({}),server_data_node:St(null)}),{node:await z(),loader:z,universal:null,server:null,data:null}],status:e,error:t,errors:[],route:null})}catch(e){if(e instanceof l)return mt(new URL(e.location,location.href),{},0);throw e}}async function Ot(e){let t=e.href;if(Ze.has(t))return Ze.get(t);let n;try{let r=(async()=>{let t=await V.hooks.reroute({url:new URL(e),fetch:async(t,n)=>bt(t,n,e).promise})??e;if(typeof t==`string`){let n=new URL(e);V.hash?n.hash=t:n.pathname=t,t=n}return t})();Ze.set(t,r),n=await r}catch{Ze.delete(t);return}return n}async function kt(e,t){if(e&&!De(e,w,V.hash)){let n=await Ot(e);if(!n)return;let r=At(n);for(let n of qe){let i=n.exec(r);if(i)return{id:jt(e),invalidating:t,route:n,params:p(i),url:e}}}}function At(e){return f(V.hash?e.hash.replace(/^#/,``).replace(/[?#].+/,``):e.pathname.slice(w.length))||`/`}function jt(e){return(V.hash?e.hash.replace(/^#/,``):e.pathname)+e.search}function Mt({url:e,type:t,intent:n,delta:r,event:i,scroll:a}){let o=!1,s=Wt(K,n,e,t,a??null);r!==void 0&&(s.navigation.delta=r),i!==void 0&&(s.navigation.event=i);let c={...s.navigation,cancel:()=>{o=!0,s.reject(Error(`navigation cancelled`))}};return q||Qe.forEach(e=>e(c)),o?null:s}async function Q({type:e,url:t,popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c={},redirect_count:l=0,nav_token:d={},accept:f=g,block:p=g,event:m}){let h=Z;Z=d;let _=await kt(t,!1),v=e===`enter`?Wt(K,_,t,e):Mt({url:t,type:e,delta:i?.delta,intent:_,scroll:i?.scroll,event:m});if(!v){p(),Z===d&&(Z=h);return}let ee=Y,y=X;f(),q=!0,tt&&v.navigation.type!==`enter`&&L.navigating.set(N.current=v.navigation);let b=_&&await Tt(_);if(!b){if(De(t,w,V.hash))return await R(t,s);b=await Nt(t,{id:null},await $(new u(404,`Not Found`,`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,s)}if(t=_?.url||t,Z!==d)return v.reject(Error(`navigation aborted`)),!1;if(b.type===`redirect`){if(l<20){await Q({type:e,url:new URL(b.location,t),popped:i,keepfocus:a,noscroll:o,replace_state:s,state:c,redirect_count:l+1,nav_token:d}),v.fulfil(void 0);return}b=await Dt({status:500,error:await $(Error(`Redirect loop`),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else b.props.page.status>=400&&await L.updated.check()&&(await Ke(),await R(t,s));if(ut(),We(ee),dt(y),b.props.page.url.pathname!==t.pathname&&(t.pathname=b.props.page.url.pathname),c=i?i.state:c,!i){let e=+!s,n={[T]:Y+=e,[E]:X+=e,[ve]:c};(s?history.replaceState:history.pushState).call(history,n,``,t),s||Ge(Y,X)}let x=_&&W?.id===_.id?W.fork:null;W?.fork&&!x&&Xe(),W=null,b.props.page.state=c;let S;if(tt){let e=(await Promise.all(Array.from($e,e=>e(v.navigation)))).filter(e=>typeof e==`function`);if(e.length>0){function t(){e.forEach(e=>{G.delete(e)})}e.push(t),e.forEach(e=>{G.add(e)})}let r=v.navigation.to;K={...b.state,nav:{params:r.params,route:r.route,url:r.url}},b.props.page&&(b.props.page.url=t);let i=x&&await x;i?S=i.commit():(P=null,at.$set(b.props),P&&Object.assign(b.props.page,P),Re(b.props.page),S=n?.()),rt=!0}else await _t(b,Ye,!1);let{activeElement:te}=document;if(await S,await r(),await r(),Z!==d)return v.reject(Error(`navigation aborted`)),!1;b.props.page&&P&&Object.assign(b.props.page,P);let C=null;if(nt){let e=i?i.scroll:o?k():null;e?scrollTo(e.x,e.y):(C=t.hash&&document.getElementById(qt(t)))?C.scrollIntoView():scrollTo(0,0)}let ne=document.activeElement!==te&&document.activeElement!==document.body;!a&&!ne&&Ut(t,!C),nt=!0,q=!1,e===`popstate`&&ft(X),v.fulfil(void 0),v.navigation.to&&(v.navigation.to.scroll=k()),G.forEach(e=>e(v.navigation)),L.navigating.set(N.current=null)}async function Nt(e,t,n,r,i){return e.origin===O&&e.pathname===location.pathname&&!et?await Dt({status:r,error:n,url:e,route:t}):await R(e,i)}function Pt(){let e,t={element:void 0,href:void 0},n;B.addEventListener(`mousemove`,t=>{let n=t.target;clearTimeout(e),e=setTimeout(()=>{a(n,D.hover)},20)});function r(e){e.defaultPrevented||a(e.composedPath()[0],D.tap)}B.addEventListener(`mousedown`,r),B.addEventListener(`touchstart`,r,{passive:!0});let i=new IntersectionObserver(e=>{for(let t of e)t.isIntersecting&&(gt(new URL(t.target.href)),i.unobserve(t.target))},{threshold:0});async function a(e,r){let i=Se(e,B),a=i===t.element&&i?.href===t.href&&r>=n;if(!i||a)return;let{url:o,external:s,download:c}=Ce(i,w,V.hash);if(s||c)return;let l=j(i),u=o&&jt(K.url)===jt(o);if(!(l.reload||u))if(r<=l.preload_data){t={element:i,href:i.href},n=D.tap;let e=await kt(o,!1);if(!e)return;ht(e)}else r<=l.preload_code&&(t={element:i,href:i.href},n=r,gt(o))}function o(){i.disconnect();for(let e of B.querySelectorAll(`a`)){let{url:t,external:n,download:r}=Ce(e,w,V.hash);if(n||r)continue;let a=j(e);a.reload||(a.preload_code===D.viewport&&i.observe(e),a.preload_code===D.eager&>(t))}}G.add(o),o()}function $(e,t){if(e instanceof c)return e.body;let n=Ne(e),r=Pe(e);return V.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function Ft(e,t){Ve(()=>(e.add(t),()=>{e.delete(t)}))}function It(e){Ft(G,e)}function Lt(e,t={}){return e=new URL(ye(e)),e.origin===O?mt(e,t,0):Promise.reject(Error(`goto: invalid URL`))}function Rt(e){if(typeof e==`function`)H.push(e);else{let{href:t}=new URL(e,location.href);H.push(e=>e.href===t)}}function zt(){history.scrollRestoration=`manual`,addEventListener(`beforeunload`,e=>{let t=!1;if(pt(),!q){let e=Wt(K,void 0,null,`leave`),n={...e.navigation,cancel:()=>{t=!0,e.reject(Error(`navigation cancelled`))}};Qe.forEach(e=>e(n))}t?(e.preventDefault(),e.returnValue=``):history.scrollRestoration=`auto`}),addEventListener(`visibilitychange`,()=>{document.visibilityState===`hidden`&&pt()}),navigator.connection?.saveData||Pt(),B.addEventListener(`click`,async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;let n=Se(t.composedPath()[0],B);if(!n)return;let{url:r,external:i,target:a,download:o}=Ce(n,w,V.hash);if(!r)return;if(a===`_parent`||a===`_top`){if(window.parent!==window)return}else if(a&&a!==`_self`)return;let s=j(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol===`https:`||r.protocol===`http:`)||o)return;let[c,l]=(V.hash?r.hash.replace(/^#/,``):r.href).split(`#`),u=c===m(location);if(i||s.reload&&(!u||!l)){Mt({url:r,type:`link`,event:t})?q=!0:t.preventDefault();return}if(l!==void 0&&u){let[,i]=K.url.href.split(`#`);if(i===l){if(t.preventDefault(),l===``||l===`top`&&n.ownerDocument.getElementById(`top`)===null)scrollTo({top:0});else{let e=n.ownerDocument.getElementById(decodeURIComponent(l));e&&(e.scrollIntoView(),e.focus())}return}if(J=!0,We(Y),e(r),!s.replace_state)return;J=!1}t.preventDefault(),await new Promise(e=>{requestAnimationFrame(()=>{setTimeout(e,0)}),setTimeout(e,100)}),await Q({type:`link`,url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??r.href===location.href,event:t})}),B.addEventListener(`submit`,e=>{if(e.defaultPrevented)return;let t=HTMLFormElement.prototype.cloneNode.call(e.target),n=e.submitter;if((n?.formTarget||t.target)===`_blank`||(n?.formMethod||t.method)!==`get`)return;let r=new URL(n?.hasAttribute(`formaction`)&&n?.formAction||t.action);if(De(r,w,!1))return;let i=e.target,a=j(i);if(a.reload)return;e.preventDefault(),e.stopPropagation();let o=new FormData(i,n);r.search=new URLSearchParams(o).toString(),Q({type:`form`,url:r,keepfocus:a.keepfocus,noscroll:a.noscroll,replace_state:a.replace_state??r.href===location.href,event:e})}),addEventListener(`popstate`,async t=>{if(!Ht)if(t.state?.[`sveltekit:history`]){let n=t.state[T];if(Z={},n===Y)return;let r=F[n],i=t.state[`sveltekit:states`]??{},a=new URL(t.state[`sveltekit:pageurl`]??location.href),o=t.state[E],s=K.url?m(location)===m(K.url):!1;if(o===X&&(rt||s)){i!==M.state&&(M.state=i),e(a),F[Y]=k(),r&&scrollTo(r.x,r.y),Y=n;return}let c=n-Y;await Q({type:`popstate`,url:a,popped:{state:i,scroll:r,delta:c},accept:()=>{Y=n,X=o},block:()=>{history.go(-c)},nav_token:Z,event:t})}else J||(e(new URL(location.href)),V.hash&&location.reload())}),addEventListener(`hashchange`,()=>{J&&(J=!1,history.replaceState({...history.state,[T]:++Y,[E]:X},``,location.href))});for(let e of document.querySelectorAll(`link`))Ue.has(e.rel)&&(e.href=e.href);addEventListener(`pageshow`,e=>{e.persisted&&L.navigating.set(N.current=null)});function e(e){K.url=M.url=e,L.page.set(Gt(M)),L.page.notify()}}async function Bt(e,{status:t=200,error:n,node_ids:r,params:i,route:a,server_route:o,data:s,form:c}){et=!0;let u=new URL(location.href),d;({params:i={},route:a={id:null}}=await kt(u,!1)||{}),d=qe.find(({id:e})=>e===a.id);let f,p=!0;try{let e=r.map(async(t,n)=>{let r=s[n];return r?.uses&&(r.uses=Vt(r.uses)),yt({loader:V.nodes[t],url:u,params:i,route:a,parent:async()=>{let t={};for(let r=0;r<n;r+=1)Object.assign(t,(await e[r]).data);return t},server_data_node:St(r)})}),o=await Promise.all(e);if(d){let e=d.layouts;for(let t=0;t<e.length;t++)e[t]||o.splice(t,0,void 0)}f=await vt({url:u,params:i,branch:o,status:t,error:n,errors:d?.errors,form:c,route:d??null})}catch(t){if(t instanceof l){await R(new URL(t.location,location.href));return}f=await Dt({status:Ne(t),error:await $(t,{url:u,params:i,route:a}),url:u,route:a}),e.textContent=``,p=!1}f.props.page&&(f.props.page.state={}),await _t(f,e,p)}function Vt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}var Ht=!1;function Ut(e,t=!0){let n=document.querySelector(`[autofocus]`);if(n)n.focus();else{let n=qt(e);if(n&&document.getElementById(n)){let{x:r,y:i}=k();setTimeout(()=>{let a=history.state;Ht=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(a,``,e),t&&scrollTo(r,i),Ht=!1})}else{let e=document.body,t=e.getAttribute(`tabindex`);e.tabIndex=-1,e.focus({preventScroll:!0,focusVisible:!1}),t===null?e.removeAttribute(`tabindex`):e.setAttribute(`tabindex`,t)}let r=getSelection();if(r&&r.type!==`None`){let e=[];for(let t=0;t<r.rangeCount;t+=1)e.push(r.getRangeAt(t));setTimeout(()=>{if(r.rangeCount===e.length){for(let t=0;t<r.rangeCount;t+=1){let n=e[t],i=r.getRangeAt(t);if(n.commonAncestorContainer!==i.commonAncestorContainer||n.startContainer!==i.startContainer||n.endContainer!==i.endContainer||n.startOffset!==i.startOffset||n.endOffset!==i.endOffset)return}r.removeAllRanges()}})}}}function Wt(e,t,n,r,i=null){let a,o,s=new Promise((e,t)=>{a=e,o=t});return s.catch(g),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:k()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:i},willUnload:!t,type:r,complete:s},fulfil:a,reject:o}}function Gt(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Kt(e){let t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function qt(e){let t;if(V.hash){let[,,n]=e.hash.split(`#`,3);t=n??``}else t=e.hash.slice(1);return decodeURIComponent(t)}export{N as a,Oe as c,c as d,L as i,fe as l,Lt as n,M as o,lt as r,Fe as s,It as t,me as u};
|