desi77-uis 0.1.26 → 0.1.27
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.115ohllt.css +1 -0
- package/dist/public/_app/immutable/assets/2.d8DYKp_k.css +1 -0
- package/dist/public/_app/immutable/assets/3.D9-A5d-C.css +1 -0
- package/dist/public/_app/immutable/chunks/B_q4GCYp.js +2 -0
- package/dist/public/_app/immutable/chunks/{diHePTgS.js → C1xRkyXQ.js} +1 -1
- package/dist/public/_app/immutable/chunks/CjAHYehE.js +1 -0
- package/dist/public/_app/immutable/chunks/CjNVVA_K.js +1 -0
- package/dist/public/_app/immutable/chunks/CnZFIe9h.js +1 -0
- package/dist/public/_app/immutable/chunks/CokyYHyi.js +1 -0
- package/dist/public/_app/immutable/chunks/CyescMlY.js +1 -0
- package/dist/public/_app/immutable/chunks/DnGSopBb.js +1 -0
- package/dist/public/_app/immutable/chunks/IsdS-L-O.js +1 -0
- package/dist/public/_app/immutable/chunks/oDMkUy9B.js +212 -0
- package/dist/public/_app/immutable/entry/app.gTn1M3ya.js +2 -0
- package/dist/public/_app/immutable/entry/start.cls1hhg-.js +1 -0
- package/dist/public/_app/immutable/nodes/0.EbosAK94.js +1 -0
- package/dist/public/_app/immutable/nodes/1.UAsZbJWv.js +1 -0
- package/dist/public/_app/immutable/nodes/2.KFKhmjz1.js +1 -0
- package/dist/public/_app/immutable/nodes/3.CFDPusZ2.js +10 -0
- package/dist/public/_app/version.json +1 -1
- package/dist/public/desi77/bridge.html +21 -22
- package/dist/public/desi77/capsule.html +21 -22
- package/dist/public/desi77/cylinder.html +21 -22
- package/dist/public/desi77/door1arc.html +21 -22
- package/dist/public/desi77/doubleBone.html +21 -22
- package/dist/public/desi77/factory.html +21 -22
- package/dist/public/desi77/heliostat.html +21 -22
- package/dist/public/desi77/house.html +21 -22
- package/dist/public/desi77/minifoot.html +21 -22
- package/dist/public/desi77/minihelio.html +21 -22
- package/dist/public/desi77/minimir.html +21 -22
- package/dist/public/desi77/pcar.html +21 -22
- package/dist/public/desi77/plugTorque.html +21 -22
- package/dist/public/desi77/rccar.html +21 -22
- package/dist/public/desi77/singleBone.html +21 -22
- package/dist/public/desi77/springInt.html +21 -22
- package/dist/public/desi77/springOne.html +21 -22
- package/dist/public/desi77/springSide.html +21 -22
- package/dist/public/desi77/springTorqueA.html +21 -22
- package/dist/public/desi77/springTorqueB.html +21 -22
- package/dist/public/desi77/springTorqueC.html +21 -22
- package/dist/public/desi77/springWorm.html +21 -22
- package/dist/public/desi77/square.html +21 -22
- package/dist/public/desi77/stoneTower.html +21 -22
- package/dist/public/desi77/trackXY.html +21 -22
- package/dist/public/desi77/trackXZ.html +21 -22
- package/dist/public/desi77/triangle.html +21 -22
- package/dist/public/desi77/tunnel.html +21 -22
- package/dist/public/index.html +19 -20
- package/package.json +10 -10
- package/dist/public/_app/immutable/assets/0.BEc07bhm.css +0 -1
- package/dist/public/_app/immutable/assets/2.BTCojHq8.css +0 -1
- package/dist/public/_app/immutable/assets/3.DKegludn.css +0 -1
- package/dist/public/_app/immutable/chunks/40Yigg0q.js +0 -1
- package/dist/public/_app/immutable/chunks/Bayocl9B.js +0 -3
- package/dist/public/_app/immutable/chunks/D3vp3rOR.js +0 -1
- package/dist/public/_app/immutable/chunks/DQ8ZF6T5.js +0 -1
- package/dist/public/_app/immutable/chunks/DVzvP84B.js +0 -1
- package/dist/public/_app/immutable/chunks/Dk15lVkK.js +0 -2
- package/dist/public/_app/immutable/chunks/GQL90Leu.js +0 -212
- package/dist/public/_app/immutable/chunks/cFeG3yM5.js +0 -1
- package/dist/public/_app/immutable/chunks/pYkmqC-y.js +0 -1
- package/dist/public/_app/immutable/entry/app.Qjy9IPBe.js +0 -2
- package/dist/public/_app/immutable/entry/start.CJ3kKLN8.js +0 -1
- package/dist/public/_app/immutable/nodes/0.B_Di9VnV.js +0 -2
- package/dist/public/_app/immutable/nodes/1.B9YkVnmY.js +0 -1
- package/dist/public/_app/immutable/nodes/2.CdgRuLap.js +0 -1
- package/dist/public/_app/immutable/nodes/3.BWMdY6tF.js +0 -10
|
@@ -0,0 +1 @@
|
|
|
1
|
+
body{font-family:Courier New,Helvetica,Arial,Verdana;margin:0;padding:0;background-color:#008b8b}h1.svelte-12qhfyh{color:#7fffd4;margin:1rem 1rem .2rem}h3.svelte-12qhfyh{margin:1rem 1rem .2rem}h6.svelte-12qhfyh{margin:.2rem 1rem 1rem}nav.svelte-12qhfyh{margin:1rem}nav.svelte-12qhfyh>a:where(.svelte-12qhfyh){display:inline-block;color:#000;background-color:#f8f8ff;text-decoration:none;padding-left:.3rem;padding-right:.3rem;border-style:solid;border-width:.2rem;border-radius:.6rem;border-color:brown;margin-top:.1rem;margin-left:.1rem}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
|
+
h2.svelte-1uha8ag{color:pink;margin:1rem}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
aside.backdrop.svelte-13853xb{position:fixed;z-index:10;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#0006}aside.svelte-13853xb>div.dialog:where(.svelte-13853xb){max-width:80vw;max-height:80vh;background-color:#e0ffff}aside.svelte-13853xb>div:where(.svelte-13853xb)>button:where(.svelte-13853xb){width:100%;height:100%;margin:0;border:none;padding:0;background-color:#fff}section.svelte-158gvgp{margin:1rem}section.svelte-158gvgp>button:where(.svelte-158gvgp){margin:.2rem;border:none;padding:0;font-size:.6rem;background-color:#fff}section.svelte-158gvgp>button:where(.svelte-158gvgp)>img:where(.svelte-158gvgp){max-width:200px;max-height:200px}aside.backdrop.svelte-148j9zd{position:fixed;z-index:10;top:0;left:0;width:100%;height:100%;display:flex;justify-content:center;align-items:center;background-color:#0006}aside.svelte-148j9zd>div.dialog:where(.svelte-148j9zd){width:40rem;height:20rem;max-width:80vw;max-height:80vh;background-color:#e0ffff;display:flex;flex-direction:column;justify-content:space-between;align-items:stretch}aside.svelte-148j9zd>div.dialog.sizeLarge:where(.svelte-148j9zd){width:60rem;height:30rem}aside.svelte-148j9zd>div:where(.svelte-148j9zd)>article.question:where(.svelte-148j9zd){font-size:1.2rem;height:80%;overflow:auto;display:flex;flex-direction:column;justify-content:center;align-items:center}aside.svelte-148j9zd>div:where(.svelte-148j9zd)>footer:where(.svelte-148j9zd){display:flex;justify-content:space-between;align-items:flex-end}aside.svelte-148j9zd>div:where(.svelte-148j9zd)>footer:where(.svelte-148j9zd)>button:where(.svelte-148j9zd){color:#00008b;font-size:1.2rem;font-weight:400;padding:.6rem 2.2rem;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#00008b;margin:.5rem 3rem;background-color:#add8e6}div.deleteKeys.svelte-h4hsuz{display:flex;justify-content:space-between;align-items:center}div.svelte-h4hsuz>button:where(.svelte-h4hsuz){height:1.6rem;color:#00008b;font-size:.8rem;font-weight:400;padding:.2rem .4rem;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#00008b;margin:.5rem;background-color:#add8e6}div.svelte-h4hsuz>table:where(.svelte-h4hsuz){font-size:.8rem;font-weight:400;margin:.5rem 2rem}div.svelte-h4hsuz>table:where(.svelte-h4hsuz)>thead:where(.svelte-h4hsuz){background-color:#ddd}div.svelte-h4hsuz>table:where(.svelte-h4hsuz)>tbody:where(.svelte-h4hsuz){background-color:#eee}div.svelte-h4hsuz>table:where(.svelte-h4hsuz)>tbody:where(.svelte-h4hsuz)>tr:where(.svelte-h4hsuz)>td:where(.svelte-h4hsuz)>button:where(.svelte-h4hsuz){color:#00008b;background-color:transparent;border:0}p.diagTitle.svelte-h4hsuz{font-size:1rem;font-weight:400;margin:.2rem}p.diagItem.svelte-h4hsuz{font-size:.8rem;font-weight:400;margin:0}div.svelte-18enbwu{min-height:6rem;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}div.svelte-18enbwu>label:where(.svelte-18enbwu),div.svelte-18enbwu>input:where(.svelte-18enbwu),div.svelte-18enbwu>p.warnMsg:where(.svelte-18enbwu){font-size:1rem;font-weight:400;margin:.2rem;color:orange}div.svelte-11absx7{min-height:6rem;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}div.svelte-11absx7>label:where(.svelte-11absx7),div.svelte-11absx7>input:where(.svelte-11absx7){font-size:1rem;font-weight:400;margin:.2rem}canvas.svelte-1n8yc0f{background-color:pink}section.svelte-78eyk1>h2:where(.svelte-78eyk1){color:gray;margin:1rem .5rem 0}section.svelte-78eyk1>main:where(.svelte-78eyk1){display:inline-block}section.svelte-78eyk1>main:where(.svelte-78eyk1)>label.fileUpload:where(.svelte-78eyk1){display:inline-block;height:1.2rem;color:#00008b;font-size:.8rem;font-weight:400;padding:.1rem .4rem;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#00008b;margin:.5rem;background-color:#add8e6}section.svelte-78eyk1>main:where(.svelte-78eyk1)>input[type=file]:where(.svelte-78eyk1){display:none}section.svelte-78eyk1>main:where(.svelte-78eyk1)>textarea:where(.svelte-78eyk1){display:block;font-size:.8rem;font-weight:400;margin:.2rem .2rem .2rem .5rem}section.svelte-78eyk1>main:where(.svelte-78eyk1)>textarea.colorWarn:where(.svelte-78eyk1){background-color:orange}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1){font-size:.8rem;font-weight:400;margin:.2rem .5rem}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>thead:where(.svelte-78eyk1){background-color:#ddd}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>thead:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td:where(.svelte-78eyk1)>span:where(.svelte-78eyk1){margin-left:5rem}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>thead:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td:where(.svelte-78eyk1)>span:where(.svelte-78eyk1)>button:where(.svelte-78eyk1){border:0;padding-left:1rem;padding-right:1rem;border-radius:30%;font-weight:700;color:#00f;background-color:#add8e6}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1){background-color:#eee}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody.collaps:where(.svelte-78eyk1){visibility:collapse}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1)>tr.changed:where(.svelte-78eyk1){background-color:#ded}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1)>tr.separator:where(.svelte-78eyk1){font-weight:700;background-color:tan}tr.separator.svelte-78eyk1>td:where(.svelte-78eyk1){text-align:center}tr.separator.svelte-78eyk1>td:where(.svelte-78eyk1)>label:where(.svelte-78eyk1)>input[type=checkbox]:where(.svelte-78eyk1){display:none}tr.separator.svelte-78eyk1>td:where(.svelte-78eyk1)>label:where(.svelte-78eyk1)>span:where(.svelte-78eyk1){height:8px;width:50px;border:1px solid grey;border-radius:6px;background-color:#add8e6;position:relative;display:inline-block}tr.separator.svelte-78eyk1>td:where(.svelte-78eyk1)>label:where(.svelte-78eyk1)>span:where(.svelte-78eyk1):after{content:"";position:absolute;width:8px;height:8px;border-radius:50%;background-color:gray;top:0;left:1px;display:inline-block}tr.separator.svelte-78eyk1>td:where(.svelte-78eyk1)>label:where(.svelte-78eyk1)>input[type=checkbox]:where(.svelte-78eyk1):checked+span:where(.svelte-78eyk1){background:#00008b}tr.separator.svelte-78eyk1>td:where(.svelte-78eyk1)>label:where(.svelte-78eyk1)>input[type=checkbox]:where(.svelte-78eyk1):checked+span:where(.svelte-78eyk1):after{left:37px}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>thead:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td:where(.svelte-78eyk1),section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td:where(.svelte-78eyk1){padding-left:.4rem;padding-right:.4rem}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td:where(.svelte-78eyk1)>button:where(.svelte-78eyk1){color:#00008b;background-color:transparent;border:0}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td:where(.svelte-78eyk1)>input:where(.svelte-78eyk1){height:.8rem}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td:where(.svelte-78eyk1)>input.input-number:where(.svelte-78eyk1){width:5rem}section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>thead:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td.hideColumn:where(.svelte-78eyk1),section.svelte-78eyk1>main:where(.svelte-78eyk1)>table:where(.svelte-78eyk1)>tbody:where(.svelte-78eyk1)>tr:where(.svelte-78eyk1)>td.hideColumn:where(.svelte-78eyk1){display:none}section.svelte-78eyk1>main:where(.svelte-78eyk1)>div.comment:where(.svelte-78eyk1){font-size:.8rem;margin-left:.5rem}section.svelte-78eyk1>main:where(.svelte-78eyk1)>button:where(.svelte-78eyk1){height:1.6rem;color:#00008b;font-size:.8rem;font-weight:400;padding:.2rem .4rem;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#00008b;margin:.5rem;background-color:#add8e6}p.cUrl.svelte-78eyk1{margin:0 1rem}section.svelte-78eyk1>button.side-img:where(.svelte-78eyk1){margin:.2rem;border:none;padding:0;font-size:.6rem;background-color:#fff;vertical-align:top;position:sticky;z-index:1;top:.5rem}section.svelte-78eyk1>button.side-img:where(.svelte-78eyk1)>img:where(.svelte-78eyk1){max-width:200px;max-height:200px}section.svelte-78eyk1>div.mini-canvas:where(.svelte-78eyk1){display:inline-block;margin:.2rem;vertical-align:top;position:sticky;z-index:1;top:.5rem}nav.svelte-1x8kqzl>button:where(.svelte-1x8kqzl){height:1.6rem;width:1.6rem;color:#00008b;font-size:1rem;font-weight:900;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#00008b;padding:0;margin:0;background-color:#add8e6}nav.svelte-1x8kqzl>input[type=range]:where(.svelte-1x8kqzl){width:8rem}nav.svelte-1x8kqzl>input[type=number]:where(.svelte-1x8kqzl){width:3rem;border-color:#00008b;background-color:#add8e6}nav.svelte-1vzk03>button:where(.svelte-1vzk03){height:2rem;width:2rem;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#006400;padding:0;margin:.1rem;background-color:#90ee90}nav.svelte-1vzk03>button:where(.svelte-1vzk03)>div.zero:where(.svelte-1vzk03){height:.8rem;width:.8rem;border-style:solid;border-width:.3rem;border-radius:1rem;border-color:#006400;margin:auto;background-color:transparent}nav.svelte-1vzk03>button:where(.svelte-1vzk03)>div.zoomin:where(.svelte-1vzk03){height:.8rem;width:.8rem;border-style:solid;border-width:.3rem;border-radius:0;border-color:gray;margin:auto;background-color:#006400}nav.svelte-1vzk03>button:where(.svelte-1vzk03)>div.zoomout:where(.svelte-1vzk03){height:.8rem;width:.8rem;border-style:solid;border-width:.3rem;border-radius:0;border-color:#006400;margin:auto;background-color:gray}nav.svelte-1vzk03>button:where(.svelte-1vzk03)>div.arrowleft:where(.svelte-1vzk03){width:0;height:0;border-top:.7rem solid transparent;border-bottom:.7rem solid transparent;border-right:1.26rem solid darkGreen;margin:auto}nav.svelte-1vzk03>button:where(.svelte-1vzk03)>div.arrowright:where(.svelte-1vzk03){width:0;height:0;border-top:.7rem solid transparent;border-bottom:.7rem solid transparent;border-left:1.26rem solid darkGreen;margin:auto}nav.svelte-1vzk03>button:where(.svelte-1vzk03)>div.arrowup:where(.svelte-1vzk03){width:0;height:0;border-left:.7rem solid transparent;border-right:.7rem solid transparent;border-bottom:1.26rem solid darkGreen;margin:auto}nav.svelte-1vzk03>button:where(.svelte-1vzk03)>div.arrowdown:where(.svelte-1vzk03){width:0;height:0;border-left:.7rem solid transparent;border-right:.7rem solid transparent;border-top:1.26rem solid darkGreen;margin:auto}div.svelte-1svti60>label:where(.svelte-1svti60)>input:where(.svelte-1svti60){margin-left:1rem}section.svelte-1c71uh1>div.rack:where(.svelte-1c71uh1){display:inline-block;margin:0 1rem;text-align:center}section.svelte-1c71uh1>div.rack:where(.svelte-1c71uh1)>canvas:where(.svelte-1c71uh1){background-color:pink;margin:.2rem}section.svelte-awojhr{margin-left:.25rem;margin-right:1rem;border-radius:.5rem;background-color:#d3d3d3}section.svelte-awojhr>h2:where(.svelte-awojhr){color:gray;margin:1rem .5rem 0 .25rem}section.svelte-awojhr>h2:where(.svelte-awojhr)>span:where(.svelte-awojhr){color:#fff;font-size:1rem;font-weight:400;margin-left:1rem}section.svelte-awojhr>ol:where(.svelte-awojhr)>li:where(.svelte-awojhr){color:#000;font-size:1rem;font-weight:400}section.svelte-awojhr>ol:where(.svelte-awojhr)>li:where(.svelte-awojhr)>button:where(.svelte-awojhr){height:1.6rem;color:#00008b;font-size:.8rem;font-weight:400;padding:.2rem .4rem;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#00008b;margin:.5rem;background-color:#add8e6}input.toggle.svelte-awojhr{display:none}div.nested.svelte-awojhr{padding-left:1rem;display:none}input.toggle.svelte-awojhr:checked~div.nested:where(.svelte-awojhr){display:block}div.arrow.svelte-awojhr{display:inline-block;width:0;height:0;border-top:.4rem solid transparent;border-bottom:.4rem solid transparent;border-left:.72rem solid DarkOrange;margin-left:.5rem}input.toggle.svelte-awojhr:checked~label:where(.svelte-awojhr)>div.arrow:where(.svelte-awojhr){border-left:.4rem solid transparent;border-right:.4rem solid transparent;border-top:.72rem solid DarkOrange;border-bottom:0}div.svelte-awojhr>article:where(.svelte-awojhr){margin:.5rem}div.svelte-awojhr>table:where(.svelte-awojhr){font-size:.8rem;font-weight:400;padding-bottom:1rem;margin-left:1rem}div.svelte-awojhr>table:where(.svelte-awojhr)>thead:where(.svelte-awojhr){background-color:#ddd}div.svelte-awojhr>table:where(.svelte-awojhr)>tbody:where(.svelte-awojhr){background-color:#eee}div.svelte-awojhr>table:where(.svelte-awojhr)>tbody:where(.svelte-awojhr)>tr.changed:where(.svelte-awojhr){background-color:#ded}section.svelte-w546be>h2:where(.svelte-w546be){color:gray;margin:1rem .5rem 0}section.svelte-w546be>h2:where(.svelte-w546be)>button:where(.svelte-w546be){height:1.6rem;color:#00008b;font-size:.8rem;font-weight:400;padding:.2rem .4rem;border-style:solid;border-width:.1rem;border-radius:.2rem;border-color:#00008b;margin:.5rem;background-color:#add8e6}section.svelte-w546be>h2:where(.svelte-w546be)>button.theFace:where(.svelte-w546be){border-color:#00f;border-width:.2rem}section.svelte-w546be>textarea:where(.svelte-w546be){margin-left:.5rem}section.svelte-w546be>textarea.colorWarn:where(.svelte-w546be){background-color:orange}section.svelte-w546be>textarea.colorErr:where(.svelte-w546be){background-color:violet}table.svelte-w546be{border-collapse:collapse;margin:.2rem 1rem 2rem}table.svelte-w546be>caption:where(.svelte-w546be){color:#00008b;background-color:#add8e6;font-weight:700}table.svelte-w546be>thead:where(.svelte-w546be)>tr:where(.svelte-w546be)>th:where(.svelte-w546be),table.svelte-w546be>tbody:where(.svelte-w546be)>tr:where(.svelte-w546be)>td:where(.svelte-w546be){border:1px solid darkBlue;padding:.2rem 1rem}table.svelte-w546be>tbody:where(.svelte-w546be)>tr:where(.svelte-w546be):nth-child(odd){background-color:#ffffe0}table.svelte-w546be>tbody:where(.svelte-w546be)>tr:where(.svelte-w546be):nth-child(2n){background-color:#add8e6}section.svelte-w546be>table:where(.svelte-w546be)>tbody:where(.svelte-w546be)>tr:where(.svelte-w546be)>td:where(.svelte-w546be)>button:where(.svelte-w546be){color:#00008b;font-size:1rem;font-weight:700;padding:.1rem .4rem;border-style:none;margin:0;background-color:inherit}section.svelte-w546be>table:where(.svelte-w546be)>tbody:where(.svelte-w546be)>tr:where(.svelte-w546be)>td:where(.svelte-w546be)>button:where(.svelte-w546be):hover{background-color:#fff}dialog#dBview.svelte-w546be{display:none}dialog#dBview[open].svelte-w546be{display:block}dialog#dBview.svelte-w546be::backdrop{background-color:#0006}dialog#dBview.svelte-w546be>textarea:where(.svelte-w546be){display:block;resize:none;background-color:#ffffe0;width:80vw;height:70vh;margin:0}dialog#dBview.svelte-w546be>button.bback:where(.svelte-w546be){display:block;color:#fff;background-color:#000;border:none;outline:none;width:100%;height:2rem;margin:1rem 0 0}h1.svelte-1cjbhwh{margin:1rem 1rem 0}article.svelte-1cjbhwh{font-size:1rem;font-weight:400;font-style:italic;margin:0 1rem 2rem}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var an=Array.isArray,ln=Array.prototype.indexOf,on=Array.from,un=Object.defineProperty,Ee=Object.getOwnPropertyDescriptor,cn=Object.getOwnPropertyDescriptors,_n=Object.prototype,dn=Array.prototype,mt=Object.getPrototypeOf,_t=Object.isExtensible;const wr=()=>{};function mr(e){return e()}function hn(e){for(var t=0;t<e.length;t++)e[t]()}function Et(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}function Er(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const E=2,ft=4,qe=8,vn=1<<24,G=16,W=32,ce=64,Ye=128,P=512,x=1024,R=2048,j=4096,F=8192,z=16384,He=32768,xe=65536,Ze=1<<17,bt=1<<18,ye=1<<19,Tt=1<<20,br=1<<25,le=32768,Je=1<<21,at=1<<22,X=1<<23,ie=Symbol("$state"),Tr=Symbol("legacy props"),xr=Symbol(""),de=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Ve=3,Re=8;function pn(e){throw new Error("https://svelte.dev/e/experimental_async_required")}function yn(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function gn(){throw new Error("https://svelte.dev/e/missing_context")}function wn(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function mn(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function En(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function bn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Tn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function xn(){throw new Error("https://svelte.dev/e/fork_discarded")}function An(){throw new Error("https://svelte.dev/e/fork_timing")}function Sr(){throw new Error("https://svelte.dev/e/get_abort_signal_outside_reaction")}function Sn(){throw new Error("https://svelte.dev/e/hydration_failed")}function kr(e){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}function Rr(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function kn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Rn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function On(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Cn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Or=1,Cr=2,Nr=4,Dr=8,Pr=16,Ir=1,Mr=2,Fr=4,Lr=8,jr=16,Nn=1,Dn=2,xt="[",At="[!",St="]",he={},T=Symbol(),qr="http://www.w3.org/1999/xhtml";function Yr(e){console.warn("https://svelte.dev/e/hydratable_missing_but_expected")}function Be(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function Hr(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Pn(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let w=!1;function De(e){w=e}let p;function I(e){if(e===null)throw Be(),he;return p=e}function kt(){return I(K(p))}function Vr(e){if(w){if(K(p)!==null)throw Be(),he;p=e}}function In(e=1){if(w){for(var t=e,n=p;t--;)n=K(n);p=n}}function Mn(e=!0){for(var t=0,n=p;;){if(n.nodeType===Re){var r=n.data;if(r===St){if(t===0)return n;t-=1}else(r===xt||r===At)&&(t+=1)}var i=K(n);e&&n.remove(),n=i}}function Br(e){if(!e||e.nodeType!==Re)throw Be(),he;return e.data}function Rt(e){return e===this.v}function Fn(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Ot(e){return!Fn(e,this.v)}let Ue=!1;function Ur(){Ue=!0}let g=null;function ve(e){g=e}function Gr(){const e={};return[()=>(qn(e)||gn(),Ln(e)),t=>jn(e,t)]}function Ln(e){return Ge().get(e)}function jn(e,t){return Ge().set(e,t),t}function qn(e){return Ge().has(e)}function Wr(){return Ge()}function Yn(e,t=!1,n){g={p:g,i:!1,c:null,e:null,s:e,x:null,l:Ue&&!t?{s:null,u:null,$:[]}:null}}function Hn(e){var t=g,n=t.e;if(n!==null){t.e=null;for(var r of n)Gt(r)}return t.i=!0,g=t.p,{}}function Oe(){return!Ue||g!==null&&g.l===null}function Ge(e){return g===null&&yn(),g.c??=new Map(Vn(g)||void 0)}function Vn(e){let t=e.p;for(;t!==null;){const n=t.c;if(n!==null)return n;t=t.p}return null}let ne=[];function Ct(){var e=ne;ne=[],hn(e)}function We(e){if(ne.length===0&&!be){var t=ne;queueMicrotask(()=>{t===ne&&Ct()})}ne.push(e)}function Bn(){for(;ne.length>0;)Ct()}function Nt(e){var t=v;if(t===null)return h.f|=X,e;if((t.f&He)===0){if((t.f&Ye)===0)throw e;t.b.error(e)}else pe(e,t)}function pe(e,t){for(;t!==null;){if((t.f&Ye)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const re=new Set;let y=null,Xe=null,S=null,N=[],Ke=null,Qe=!1,be=!1;class D{committed=!1;current=new Map;previous=new Map;#n=new Set;#e=new Set;#l=0;#s=0;#o=null;#f=new Set;#r=new Set;skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#s>0}process(t){N=[],Xe=null,this.apply();var n={parent:null,effect:null,effects:[],render_effects:[]};for(const r of t)this.#t(r,n);this.is_fork||this.#u(),this.is_deferred()?(this.#i(n.effects),this.#i(n.render_effects)):(Xe=this,y=null,dt(n.render_effects),dt(n.effects),Xe=null,this.#o?.resolve()),S=null}#t(t,n){t.f^=x;for(var r=t.first;r!==null;){var i=r.f,s=(i&(W|ce))!==0,a=s&&(i&x)!==0,o=a||(i&F)!==0||this.skipped_effects.has(r);if((r.f&Ye)!==0&&r.b?.is_pending()&&(n={parent:n,effect:r,effects:[],render_effects:[]}),!o&&r.fn!==null){s?r.f^=x:(i&ft)!==0?n.effects.push(r):Ne(r)&&((r.f&G)!==0&&this.#f.add(r),ke(r));var f=r.first;if(f!==null){r=f;continue}}var l=r.parent;for(r=r.next;r===null&&l!==null;)l===n.effect&&(this.#i(n.effects),this.#i(n.render_effects),n=n.parent),r=l.next,l=l.parent}}#i(t){for(const n of t)(n.f&R)!==0?this.#f.add(n):(n.f&j)!==0&&this.#r.add(n),this.#a(n.deps),b(n,x)}#a(t){if(t!==null)for(const n of t)(n.f&E)===0||(n.f&le)===0||(n.f^=le,this.#a(n.deps))}capture(t,n){this.previous.has(t)||this.previous.set(t,n),(t.f&X)===0&&(this.current.set(t,t.v),S?.set(t,t.v))}activate(){y=this,this.apply()}deactivate(){y===this&&(y=null,S=null)}flush(){if(this.activate(),N.length>0){if(tt(),y!==null&&y!==this)return}else this.#l===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#e)t(this);this.#e.clear()}#u(){if(this.#s===0){for(const t of this.#n)t();this.#n.clear()}this.#l===0&&this.#c()}#c(){if(re.size>1){this.previous.clear();var t=S,n=!0,r={parent:null,effect:null,effects:[],render_effects:[]};for(const s of re){if(s===this){n=!1;continue}const a=[];for(const[f,l]of this.current){if(s.current.has(f))if(n&&l!==s.current.get(f))s.current.set(f,l);else continue;a.push(f)}if(a.length===0)continue;const o=[...s.current.keys()].filter(f=>!this.current.has(f));if(o.length>0){var i=N;N=[];const f=new Set,l=new Map;for(const _ of a)Dt(_,o,f,l);if(N.length>0){y=s,s.apply();for(const _ of N)s.#t(_,r);s.deactivate()}N=i}}y=null,S=t}this.committed=!0,re.delete(this)}increment(t){this.#l+=1,t&&(this.#s+=1)}decrement(t){this.#l-=1,t&&(this.#s-=1),this.revive()}revive(){for(const t of this.#f)this.#r.delete(t),b(t,R),oe(t);for(const t of this.#r)b(t,j),oe(t);this.flush()}oncommit(t){this.#n.add(t)}ondiscard(t){this.#e.add(t)}settled(){return(this.#o??=Et()).promise}static ensure(){if(y===null){const t=y=new D;re.add(y),be||D.enqueue(()=>{y===t&&t.flush()})}return y}static enqueue(t){We(t)}apply(){}}function et(e){var t=be;be=!0;try{var n;for(e&&(y!==null&&tt(),n=e());;){if(Bn(),N.length===0&&(y?.flush(),N.length===0))return Ke=null,n;tt()}}finally{be=t}}function tt(){var e=fe;Qe=!0;var t=null;try{var n=0;for(Le(!0);N.length>0;){var r=D.ensure();if(n++>1e3){var i,s;Un()}r.process(N),Z.clear()}}finally{Qe=!1,Le(e),Ke=null}}function Un(){try{Tn()}catch(e){pe(e,Ke)}}let V=null;function dt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(z|F))===0&&Ne(r)&&(V=new Set,ke(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?$t(r):r.fn=null),V?.size>0)){Z.clear();for(const i of V){if((i.f&(z|F))!==0)continue;const s=[i];let a=i.parent;for(;a!==null;)V.has(a)&&(V.delete(a),s.push(a)),a=a.parent;for(let o=s.length-1;o>=0;o--){const f=s[o];(f.f&(z|F))===0&&ke(f)}}V.clear()}}V=null}}function Dt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const s=i.f;(s&E)!==0?Dt(i,t,n,r):(s&(at|G))!==0&&(s&R)===0&&It(i,t,r)&&(b(i,R),oe(i))}}function Pt(e,t){if(e.reactions!==null)for(const n of e.reactions){const r=n.f;(r&E)!==0?Pt(n,t):(r&Ze)!==0&&(b(n,R),t.add(n))}}function It(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if((i.f&E)!==0&&It(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function oe(e){for(var t=Ke=e;t.parent!==null;){t=t.parent;var n=t.f;if(Qe&&t===v&&(n&G)!==0&&(n&bt)===0)return;if((n&(ce|W))!==0){if((n&x)===0)return;t.f^=x}}N.push(t)}function Kr(e){pn(),y!==null&&An();var t=D.ensure();t.is_fork=!0,S=new Map;var n=!1,r=t.settled();et(e),S=null;for(var[i,s]of t.previous)i.v=s;return{commit:async()=>{if(n){await r;return}re.has(t)||xn(),n=!0,t.is_fork=!1;for(var[a,o]of t.current)a.v=o;et(()=>{var f=new Set;for(var l of t.current.keys())Pt(l,f);er(f),jt()}),t.revive(),await r},discard:()=>{!n&&re.has(t)&&(re.delete(t),t.discard())}}}function Gn(e){let t=0,n=Ce(0),r;return()=>{Ae()&&(se(n),ir(()=>(t===0&&(r=_r(()=>e(()=>Te(n)))),t+=1,()=>{We(()=>{t-=1,t===0&&(r?.(),r=void 0,Te(n))})})))}}var Wn=xe|ye|Ye;function Kn(e,t,n){new $n(e,t,n)}class $n{parent;#n=!1;#e;#l=w?p:null;#s;#o;#f;#r=null;#t=null;#i=null;#a=null;#u=null;#c=0;#_=0;#h=!1;#d=null;#w=Gn(()=>(this.#d=Ce(this.#c),()=>{this.#d=null}));constructor(t,n,r){this.#e=t,this.#s=n,this.#o=r,this.parent=v.b,this.#n=!!this.#s.pending,this.#f=fr(()=>{if(v.b=this,w){const s=this.#l;kt(),s.nodeType===Re&&s.data===At?this.#E():this.#m()}else{var i=this.#y();try{this.#r=ee(()=>r(i))}catch(s){this.error(s)}this.#_>0?this.#p():this.#n=!1}return()=>{this.#u?.remove()}},Wn),w&&(this.#e=p)}#m(){try{this.#r=ee(()=>this.#o(this.#e))}catch(t){this.error(t)}this.#n=!1}#E(){const t=this.#s.pending;t&&(this.#t=ee(()=>t(this.#e)),D.enqueue(()=>{var n=this.#y();this.#r=this.#v(()=>(D.ensure(),ee(()=>this.#o(n)))),this.#_>0?this.#p():(Pe(this.#t,()=>{this.#t=null}),this.#n=!1)}))}#y(){var t=this.#e;return this.#n&&(this.#u=U(),this.#e.before(this.#u),t=this.#u),t}is_pending(){return this.#n||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!this.#s.pending}#v(t){var n=v,r=h,i=g;q(this.#f),k(this.#f),ve(this.#f.ctx);try{return t()}catch(s){return Nt(s),null}finally{q(n),k(r),ve(i)}}#p(){const t=this.#s.pending;this.#r!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#u),or(this.#r,this.#a)),this.#t===null&&(this.#t=ee(()=>t(this.#e)))}#g(t){if(!this.has_pending_snippet()){this.parent&&this.parent.#g(t);return}this.#_+=t,this.#_===0&&(this.#n=!1,this.#t&&Pe(this.#t,()=>{this.#t=null}),this.#a&&(this.#e.before(this.#a),this.#a=null))}update_pending_count(t){this.#g(t),this.#c+=t,this.#d&&Fe(this.#d,this.#c)}get_effect_pending(){return this.#w(),se(this.#d)}error(t){var n=this.#s.onerror;let r=this.#s.failed;if(this.#h||!n&&!r)throw t;this.#r&&(L(this.#r),this.#r=null),this.#t&&(L(this.#t),this.#t=null),this.#i&&(L(this.#i),this.#i=null),w&&(I(this.#l),In(),I(Mn()));var i=!1,s=!1;const a=()=>{if(i){Pn();return}i=!0,s&&Cn(),D.ensure(),this.#c=0,this.#i!==null&&Pe(this.#i,()=>{this.#i=null}),this.#n=this.has_pending_snippet(),this.#r=this.#v(()=>(this.#h=!1,ee(()=>this.#o(this.#e)))),this.#_>0?this.#p():this.#n=!1};var o=h;try{k(null),s=!0,n?.(t,a),s=!1}catch(f){pe(f,this.#f&&this.#f.parent)}finally{k(o)}r&&We(()=>{this.#i=this.#v(()=>{D.ensure(),this.#h=!0;try{return ee(()=>{r(this.#e,()=>t,()=>a)})}catch(f){return pe(f,this.#f.parent),null}finally{this.#h=!1}})})}}function zn(e,t,n,r){const i=Oe()?lt:Jn;if(n.length===0&&e.length===0){r(t.map(i));return}var s=y,a=v,o=Xn();function f(){Promise.all(n.map(l=>Zn(l))).then(l=>{o();try{r([...t.map(i),...l])}catch(_){(a.f&z)===0&&pe(_,a)}s?.deactivate(),Ie()}).catch(l=>{pe(l,a)})}e.length>0?Promise.all(e).then(()=>{o();try{return f()}finally{s?.deactivate(),Ie()}}):f()}function Xn(){var e=v,t=h,n=g,r=y;return function(s=!0){q(e),k(t),ve(n),s&&r?.activate()}}function Ie(){q(null),k(null),ve(null)}function lt(e){var t=E|R,n=h!==null&&(h.f&E)!==0?h:null;return v!==null&&(v.f|=ye),{ctx:g,deps:null,effects:null,equals:Rt,f:t,fn:e,reactions:null,rv:0,v:T,wv:0,parent:n??v,ac:null}}function Zn(e,t){let n=v;n===null&&wn();var r=n.b,i=void 0,s=Ce(T),a=!h,o=new Map;return sr(()=>{var f=Et();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{l===y&&l.committed&&l.deactivate(),Ie()})}catch(u){f.reject(u),Ie()}var l=y;if(a){var _=!r.is_pending();r.update_pending_count(1),l.increment(_),o.get(l)?.reject(de),o.delete(l),o.set(l,f)}const d=(u,c=void 0)=>{if(l.activate(),c)c!==de&&(s.f|=X,Fe(s,c));else{(s.f&X)!==0&&(s.f^=X),Fe(s,u);for(const[m,H]of o){if(o.delete(m),m===l)break;H.reject(de)}}a&&(r.update_pending_count(-1),l.decrement(_))};f.promise.then(d,u=>d(null,u||"unknown"))}),ut(()=>{for(const f of o.values())f.reject(de)}),new Promise(f=>{function l(_){function d(){_===i?f(s):l(i)}_.then(d,d)}l(i)})}function $r(e){const t=lt(e);return Zt(t),t}function Jn(e){const t=lt(e);return t.equals=Ot,t}function Mt(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)L(t[n])}}function Qn(e){for(var t=e.parent;t!==null;){if((t.f&E)===0)return(t.f&z)===0?t:null;t=t.parent}return null}function ot(e){var t,n=v;q(Qn(e));try{e.f&=~le,Mt(e),t=tn(e)}finally{q(n)}return t}function Ft(e){var t=ot(e);if(e.equals(t)||(y?.is_fork||(e.v=t),e.wv=Qt()),!ge)if(S!==null)(Ae()||y?.is_fork)&&S.set(e,t);else{var n=(e.f&P)===0?j:x;b(e,n)}}let Me=new Set;const Z=new Map;function er(e){Me=e}let Lt=!1;function Ce(e,t){var n={f:0,v:e,reactions:null,equals:Rt,rv:0,wv:0};return n}function $(e,t){const n=Ce(e);return Zt(n),n}function zr(e,t=!1,n=!0){const r=Ce(e);return t||(r.equals=Ot),Ue&&n&&g!==null&&g.l!==null&&(g.l.s??=[]).push(r),r}function te(e,t,n=!1){h!==null&&(!M||(h.f&Ze)!==0)&&Oe()&&(h.f&(E|G|at|Ze))!==0&&!B?.includes(e)&&On();let r=n?we(t):t;return Fe(e,r)}function Fe(e,t){if(!e.equals(t)){var n=e.v;ge?Z.set(e,t):Z.set(e,n),e.v=t;var r=D.ensure();r.capture(e,n),(e.f&E)!==0&&((e.f&R)!==0&&ot(e),b(e,(e.f&P)!==0?x:j)),e.wv=Qt(),qt(e,R),Oe()&&v!==null&&(v.f&x)!==0&&(v.f&(W|ce))===0&&(C===null?ur([e]):C.push(e)),!r.is_fork&&Me.size>0&&!Lt&&jt()}return t}function jt(){Lt=!1;var e=fe;Le(!0);const t=Array.from(Me);try{for(const n of t)(n.f&x)!==0&&b(n,j),Ne(n)&&ke(n)}finally{Le(e)}Me.clear()}function Te(e){te(e,e.v+1)}function qt(e,t){var n=e.reactions;if(n!==null)for(var r=Oe(),i=n.length,s=0;s<i;s++){var a=n[s],o=a.f;if(!(!r&&a===v)){var f=(o&R)===0;if(f&&b(a,t),(o&E)!==0){var l=a;S?.delete(l),(o&le)===0&&(o&P&&(a.f|=le),qt(l,j))}else f&&((o&G)!==0&&V!==null&&V.add(a),oe(a))}}}function we(e){if(typeof e!="object"||e===null||ie in e)return e;const t=mt(e);if(t!==_n&&t!==dn)return e;var n=new Map,r=an(e),i=$(0),s=ae,a=o=>{if(ae===s)return o();var f=h,l=ae;k(null),gt(s);var _=o();return k(f),gt(l),_};return r&&n.set("length",$(e.length)),new Proxy(e,{defineProperty(o,f,l){(!("value"in l)||l.configurable===!1||l.enumerable===!1||l.writable===!1)&&kn();var _=n.get(f);return _===void 0?_=a(()=>{var d=$(l.value);return n.set(f,d),d}):te(_,l.value,!0),!0},deleteProperty(o,f){var l=n.get(f);if(l===void 0){if(f in o){const _=a(()=>$(T));n.set(f,_),Te(i)}}else te(l,T),Te(i);return!0},get(o,f,l){if(f===ie)return e;var _=n.get(f),d=f in o;if(_===void 0&&(!d||Ee(o,f)?.writable)&&(_=a(()=>{var c=we(d?o[f]:T),m=$(c);return m}),n.set(f,_)),_!==void 0){var u=se(_);return u===T?void 0:u}return Reflect.get(o,f,l)},getOwnPropertyDescriptor(o,f){var l=Reflect.getOwnPropertyDescriptor(o,f);if(l&&"value"in l){var _=n.get(f);_&&(l.value=se(_))}else if(l===void 0){var d=n.get(f),u=d?.v;if(d!==void 0&&u!==T)return{enumerable:!0,configurable:!0,value:u,writable:!0}}return l},has(o,f){if(f===ie)return!0;var l=n.get(f),_=l!==void 0&&l.v!==T||Reflect.has(o,f);if(l!==void 0||v!==null&&(!_||Ee(o,f)?.writable)){l===void 0&&(l=a(()=>{var u=_?we(o[f]):T,c=$(u);return c}),n.set(f,l));var d=se(l);if(d===T)return!1}return _},set(o,f,l,_){var d=n.get(f),u=f in o;if(r&&f==="length")for(var c=l;c<d.v;c+=1){var m=n.get(c+"");m!==void 0?te(m,T):c in o&&(m=a(()=>$(T)),n.set(c+"",m))}if(d===void 0)(!u||Ee(o,f)?.writable)&&(d=a(()=>$(void 0)),te(d,we(l)),n.set(f,d));else{u=d.v!==T;var H=a(()=>we(l));te(d,H)}var Q=Reflect.getOwnPropertyDescriptor(o,f);if(Q?.set&&Q.set.call(_,l),!u){if(r&&typeof f=="string"){var ct=n.get("length"),ze=Number(f);Number.isInteger(ze)&&ze>=ct.v&&te(ct,ze+1)}Te(i)}return!0},ownKeys(o){se(i);var f=Reflect.ownKeys(o).filter(d=>{var u=n.get(d);return u===void 0||u.v!==T});for(var[l,_]of n)_.v!==T&&!(l in o)&&f.push(l);return f},setPrototypeOf(){Rn()}})}function ht(e){try{if(e!==null&&typeof e=="object"&&ie in e)return e[ie]}catch{}return e}function Xr(e,t){return Object.is(ht(e),ht(t))}var vt,Yt,Ht,Vt;function nt(){if(vt===void 0){vt=window,Yt=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Ht=Ee(t,"firstChild").get,Vt=Ee(t,"nextSibling").get,_t(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),_t(n)&&(n.__t=void 0)}}function U(e=""){return document.createTextNode(e)}function ue(e){return Ht.call(e)}function K(e){return Vt.call(e)}function Zr(e,t){if(!w)return ue(e);var n=ue(p);if(n===null)n=p.appendChild(U());else if(t&&n.nodeType!==Ve){var r=U();return n?.before(r),I(r),r}return I(n),n}function Jr(e,t=!1){if(!w){var n=ue(e);return n instanceof Comment&&n.data===""?K(n):n}if(t&&p?.nodeType!==Ve){var r=U();return p?.before(r),I(r),r}return p}function Qr(e,t=1,n=!1){let r=w?p:e;for(var i;t--;)i=r,r=K(r);if(!w)return r;if(n&&r?.nodeType!==Ve){var s=U();return r===null?i?.after(s):r.before(s),I(s),s}return I(r),r}function Bt(e){e.textContent=""}function es(){return!1}function ts(e){w&&ue(e)!==null&&Bt(e)}let pt=!1;function tr(){pt||(pt=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function ns(e,t,n,r=!0){r&&n();for(var i of t)e.addEventListener(i,n);ut(()=>{for(var s of t)e.removeEventListener(s,n)})}function $e(e){var t=h,n=v;k(null),q(null);try{return e()}finally{k(t),q(n)}}function rs(e,t,n,r=n){e.addEventListener(t,()=>$e(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),tr()}function Ut(e){v===null&&(h===null&&bn(),En()),ge&&mn()}function nr(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function Y(e,t,n){var r=v;r!==null&&(r.f&F)!==0&&(e|=F);var i={ctx:g,deps:null,nodes:null,f:e|R|P,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{ke(i),i.f|=He}catch(o){throw L(i),o}else t!==null&&oe(i);var s=i;if(n&&s.deps===null&&s.teardown===null&&s.nodes===null&&s.first===s.last&&(s.f&ye)===0&&(s=s.first,(e&G)!==0&&(e&xe)!==0&&s!==null&&(s.f|=xe)),s!==null&&(s.parent=r,r!==null&&nr(s,r),h!==null&&(h.f&E)!==0&&(e&ce)===0)){var a=h;(a.effects??=[]).push(s)}return i}function Ae(){return h!==null&&!M}function ut(e){const t=Y(qe,null,!1);return b(t,x),t.teardown=e,t}function ss(e){Ut();var t=v.f,n=!h&&(t&W)!==0&&(t&He)===0;if(n){var r=g;(r.e??=[]).push(e)}else return Gt(e)}function Gt(e){return Y(ft|Tt,e,!1)}function is(e){return Ut(),Y(qe|Tt,e,!0)}function rr(e){D.ensure();const t=Y(ce|ye,e,!0);return(n={})=>new Promise(r=>{n.outro?Pe(t,()=>{L(t),r(void 0)}):(L(t),r(void 0))})}function fs(e){return Y(ft,e,!1)}function sr(e){return Y(at|ye,e,!0)}function ir(e,t=0){return Y(qe|t,e,!0)}function as(e,t=[],n=[],r=[]){zn(r,t,n,i=>{Y(qe,()=>e(...i.map(se)),!0)})}function fr(e,t=0){var n=Y(G|t,e,!0);return n}function ee(e){return Y(W|ye,e,!0)}function Wt(e){var t=e.teardown;if(t!==null){const n=ge,r=h;yt(!0),k(null);try{t.call(null)}finally{yt(n),k(r)}}}function Kt(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&$e(()=>{i.abort(de)});var r=n.next;(n.f&ce)!==0?n.parent=null:L(n,t),n=r}}function ar(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&W)===0&&L(t),t=n}}function L(e,t=!0){var n=!1;(t||(e.f&bt)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(lr(e.nodes.start,e.nodes.end),n=!0),Kt(e,t&&!n),je(e,0),b(e,z);var r=e.nodes&&e.nodes.t;if(r!==null)for(const s of r)s.stop();Wt(e);var i=e.parent;i!==null&&i.first!==null&&$t(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function lr(e,t){for(;e!==null;){var n=e===t?null:K(e);e.remove(),e=n}}function $t(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function Pe(e,t,n=!0){var r=[];zt(e,r,!0);var i=()=>{n&&L(e),t&&t()},s=r.length;if(s>0){var a=()=>--s||i();for(var o of r)o.out(a)}else i()}function zt(e,t,n){if((e.f&F)===0){e.f^=F;var r=e.nodes&&e.nodes.t;if(r!==null)for(const o of r)(o.is_global||n)&&t.push(o);for(var i=e.first;i!==null;){var s=i.next,a=(i.f&xe)!==0||(i.f&W)!==0&&(e.f&G)!==0;zt(i,t,a?n:!1),i=s}}}function ls(e){Xt(e,!0)}function Xt(e,t){if((e.f&F)!==0){e.f^=F,(e.f&x)===0&&(b(e,R),oe(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&xe)!==0||(n.f&W)!==0;Xt(n,i?t:!1),n=r}var s=e.nodes&&e.nodes.t;if(s!==null)for(const a of s)(a.is_global||t)&&a.in()}}function or(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var i=n===r?null:K(n);t.append(n),n=i}}let fe=!1;function Le(e){fe=e}let ge=!1;function yt(e){ge=e}let h=null,M=!1;function k(e){h=e}let v=null;function q(e){v=e}let B=null;function Zt(e){h!==null&&(B===null?B=[e]:B.push(e))}let A=null,O=0,C=null;function ur(e){C=e}let Jt=1,Se=0,ae=Se;function gt(e){ae=e}function Qt(){return++Jt}function Ne(e){var t=e.f;if((t&R)!==0)return!0;if(t&E&&(e.f&=~le),(t&j)!==0){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var s=n[i];if(Ne(s)&&Ft(s),s.wv>e.wv)return!0}(t&P)!==0&&S===null&&b(e,x)}return!1}function en(e,t,n=!0){var r=e.reactions;if(r!==null&&!B?.includes(e))for(var i=0;i<r.length;i++){var s=r[i];(s.f&E)!==0?en(s,t,!1):t===s&&(n?b(s,R):(s.f&x)!==0&&b(s,j),oe(s))}}function tn(e){var t=A,n=O,r=C,i=h,s=B,a=g,o=M,f=ae,l=e.f;A=null,O=0,C=null,h=(l&(W|ce))===0?e:null,B=null,ve(e.ctx),M=!1,ae=++Se,e.ac!==null&&($e(()=>{e.ac.abort(de)}),e.ac=null);try{e.f|=Je;var _=e.fn,d=_(),u=e.deps;if(A!==null){var c;if(je(e,O),u!==null&&O>0)for(u.length=O+A.length,c=0;c<A.length;c++)u[O+c]=A[c];else e.deps=u=A;if(Ae()&&(e.f&P)!==0)for(c=O;c<u.length;c++)(u[c].reactions??=[]).push(e)}else u!==null&&O<u.length&&(je(e,O),u.length=O);if(Oe()&&C!==null&&!M&&u!==null&&(e.f&(E|j|R))===0)for(c=0;c<C.length;c++)en(C[c],e);return i!==null&&i!==e&&(Se++,C!==null&&(r===null?r=C:r.push(...C))),(e.f&X)!==0&&(e.f^=X),d}catch(m){return Nt(m)}finally{e.f^=Je,A=t,O=n,C=r,h=i,B=s,ve(a),M=o,ae=f}}function cr(e,t){let n=t.reactions;if(n!==null){var r=ln.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&(t.f&E)!==0&&(A===null||!A.includes(t))&&(b(t,j),(t.f&P)!==0&&(t.f^=P,t.f&=~le),Mt(t),je(t,0))}function je(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)cr(e,n[r])}function ke(e){var t=e.f;if((t&z)===0){b(e,x);var n=v,r=fe;v=e,fe=!0;try{(t&(G|vn))!==0?ar(e):Kt(e),Wt(e);var i=tn(e);e.teardown=typeof i=="function"?i:null,e.wv=Jt;var s}finally{fe=r,v=n}}}async function os(){await Promise.resolve(),et()}function us(){return D.ensure().settled()}function se(e){var t=e.f,n=(t&E)!==0;if(h!==null&&!M){var r=v!==null&&(v.f&z)!==0;if(!r&&!B?.includes(e)){var i=h.deps;if((h.f&Je)!==0)e.rv<Se&&(e.rv=Se,A===null&&i!==null&&i[O]===e?O++:A===null?A=[e]:A.includes(e)||A.push(e));else{(h.deps??=[]).push(e);var s=e.reactions;s===null?e.reactions=[h]:s.includes(h)||s.push(h)}}}if(ge){if(Z.has(e))return Z.get(e);if(n){var a=e,o=a.v;return((a.f&x)===0&&a.reactions!==null||rn(a))&&(o=ot(a)),Z.set(a,o),o}}else n&&(!S?.has(e)||y?.is_fork&&!Ae())&&(a=e,Ne(a)&&Ft(a),fe&&Ae()&&(a.f&P)===0&&nn(a));if(S?.has(e))return S.get(e);if((e.f&X)!==0)throw e.v;return e.v}function nn(e){if(e.deps!==null){e.f^=P;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&E)!==0&&(t.f&P)===0&&nn(t)}}function rn(e){if(e.v===T)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Z.has(t)||(t.f&E)!==0&&rn(t))return!0;return!1}function _r(e){var t=M;try{return M=!0,e()}finally{M=t}}const dr=-7169;function b(e,t){e.f=e.f&dr|t}function cs(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(ie in e)rt(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&ie in n&&rt(n)}}}function rt(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{rt(e[r],t)}catch{}const n=mt(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=cn(n);for(let i in r){const s=r[i].get;if(s)try{s.call(e)}catch{}}}}}const hr=["touchstart","touchmove"];function vr(e){return hr.includes(e)}const sn=new Set,st=new Set;function pr(e,t,n,r={}){function i(s){if(r.capture||me.call(t,s),!s.cancelBubble)return $e(()=>n?.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?We(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function _s(e,t,n,r,i){var s={capture:r,passive:i},a=pr(e,t,n,s);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&ut(()=>{t.removeEventListener(e,a,s)})}function ds(e){for(var t=0;t<e.length;t++)sn.add(e[t]);for(var n of st)n(e)}let wt=null;function me(e){var t=this,n=t.ownerDocument,r=e.type,i=e.composedPath?.()||[],s=i[0]||e.target;wt=e;var a=0,o=wt===e&&e.__root;if(o){var f=i.indexOf(o);if(f!==-1&&(t===document||t===window)){e.__root=t;return}var l=i.indexOf(t);if(l===-1)return;f<=l&&(a=f)}if(s=i[a]||e.target,s!==t){un(e,"currentTarget",{configurable:!0,get(){return s||n}});var _=h,d=v;k(null),q(null);try{for(var u,c=[];s!==null;){var m=s.assignedSlot||s.parentNode||s.host||null;try{var H=s["__"+r];H!=null&&(!s.disabled||e.target===s)&&H.call(s,e)}catch(Q){u?c.push(Q):u=Q}if(e.cancelBubble||m===t||m===null)break;s=m}if(u){for(let Q of c)queueMicrotask(()=>{throw Q});throw u}}finally{e.__root=t,delete e.currentTarget,k(_),q(d)}}}function yr(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function J(e,t){var n=v;n.nodes===null&&(n.nodes={start:e,end:t,a:null,t:null})}function hs(e,t){var n=(t&Nn)!==0,r=(t&Dn)!==0,i,s=!e.startsWith("<!>");return()=>{if(w)return J(p,null),p;i===void 0&&(i=yr(s?e:"<!>"+e),n||(i=ue(i)));var a=r||Yt?document.importNode(i,!0):i.cloneNode(!0);if(n){var o=ue(a),f=a.lastChild;J(o,f)}else J(a,a);return a}}function vs(e=""){if(!w){var t=U(e+"");return J(t,t),t}var n=p;return n.nodeType!==Ve&&(n.before(n=U()),I(n)),J(n,n),n}function ps(){if(w)return J(p,null),p;var e=document.createDocumentFragment(),t=document.createComment(""),n=U();return e.append(t,n),J(t,n),e}function ys(e,t){if(w){var n=v;((n.f&He)===0||n.nodes.end===null)&&(n.nodes.end=p),kt();return}e!==null&&e.before(t)}function gs(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function gr(e,t){return fn(e,t)}function ws(e,t){nt(),t.intro=t.intro??!1;const n=t.target,r=w,i=p;try{for(var s=ue(n);s&&(s.nodeType!==Re||s.data!==xt);)s=K(s);if(!s)throw he;De(!0),I(s);const a=fn(e,{...t,anchor:s});return De(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
|
|
2
|
+
`).some(o=>o.startsWith("https://svelte.dev/e/")))throw a;return a!==he&&console.warn("Failed to hydrate: ",a),t.recover===!1&&Sn(),nt(),Bt(n),De(!1),gr(e,t)}finally{De(r),I(i)}}const _e=new Map;function fn(e,{target:t,anchor:n,props:r={},events:i,context:s,intro:a=!0}){nt();var o=new Set,f=d=>{for(var u=0;u<d.length;u++){var c=d[u];if(!o.has(c)){o.add(c);var m=vr(c);t.addEventListener(c,me,{passive:m});var H=_e.get(c);H===void 0?(document.addEventListener(c,me,{passive:m}),_e.set(c,1)):_e.set(c,H+1)}}};f(on(sn)),st.add(f);var l=void 0,_=rr(()=>{var d=n??t.appendChild(U());return Kn(d,{pending:()=>{}},u=>{if(s){Yn({});var c=g;c.c=s}if(i&&(r.$$events=i),w&&J(u,null),l=e(u,r)||{},w&&(v.nodes.end=p,p===null||p.nodeType!==Re||p.data!==St))throw Be(),he;s&&Hn()}),()=>{for(var u of o){t.removeEventListener(u,me);var c=_e.get(u);--c===0?(document.removeEventListener(u,me),_e.delete(u)):_e.set(u,c)}st.delete(f),d!==n&&d.parentNode?.removeChild(d)}});return it.set(l,_),l}let it=new WeakMap;function ms(e,t){const n=it.get(e);return n?(it.delete(e),n(t)):Promise.resolve()}export{mr as $,Wr as A,Ln as B,qn as C,ws as D,gr as E,jn as F,us as G,os as H,ms as I,y as J,ls as K,L,Pe as M,U as N,ee as O,p as P,or as Q,es as R,fr as S,kt as T,yr as U,J as V,ut as W,xe as X,ue as Y,is as Z,hn as _,Jr as a,_s as a$,cs as a0,lt as a1,Ur as a2,Br as a3,At as a4,Mn as a5,I as a6,De as a7,fs as a8,ir as a9,St as aA,Fe as aB,br as aC,Ce as aD,on as aE,Or as aF,Pr as aG,Cr as aH,F as aI,K as aJ,Dr as aK,Bt as aL,xr as aM,qr as aN,mt as aO,cn as aP,tr as aQ,rs as aR,Xe as aS,Hr as aT,Xr as aU,ns as aV,$e as aW,ds as aX,Te as aY,Er as aZ,ts as a_,We as aa,ie as ab,Ee as ac,Rr as ad,Fr as ae,Jn as af,we as ag,te as ah,ge as ai,v as aj,z as ak,Lr as al,Mr as am,Ir as an,jr as ao,Tr as ap,un as aq,zr as ar,$ as as,ps as at,$r as au,vs as av,In as aw,wr as ax,Nr as ay,Re as az,ys as b,vt as b0,Fn as b1,Hn as c,Zr as d,gs as e,hs as f,se as g,pn as h,w as i,Yr as j,g as k,yn as l,h as m,Sr as n,an as o,Yn as p,kr as q,Vr as r,Qr as s,as as t,ss as u,Ue as v,_r as w,Gr as x,et as y,Kr as z};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{f as X,C as Vo,S as Wo,i as Xo,a as Yo,b as n,p as mt,w as vo,t as $o,c as ut,d as R,g as ys,h as Eo,j as ho,E as q,k as ee,l as e,m as Tt,n as Me,o as We,q as ae,
|
|
1
|
+
import{f as X,C as Vo,S as Wo,i as Xo,a as Yo,b as n,p as mt,w as vo,t as $o,c as ut,d as R,g as ys,h as Eo,j as ho,E as q,k as ee,l as e,m as Tt,n as Me,o as We,q as ae,u as Y,v as Ce,x as Qt,y as fo,z as Ds,A as ao}from"./oDMkUy9B.js";function Ee(c){return c.toFixed(2)}function co(c){let t=c;for(;t<-Math.PI;)t+=2*Math.PI;for(;t>Math.PI;)t-=2*Math.PI;return t}function Po(c){let t=!1;const r=10**-4;return Math.abs(c)<r&&(t=!0),t}function Ue(c,t,r){let o="";if(r===0)throw`err${c}: ${t}`;return r===1&&(o+=`warn${c}: ${t}
|
|
2
2
|
`),o}function bo(c,t,r=0){let o="";const s=co(c);if(s<=0||Po(s)){const i=`${t} : a1 ${Ee(c)}, a1b ${Ee(s)} is null or negative`;o+=Ue("145",i,r)}return o}function je(c,t,r=0){let o="";if(c<=0||Po(c)){const s=`${t} : l1 ${Ee(c)} is null or negative`;o+=Ue("159",s,r)}return o}function Es(c,t,r=0){let o="";const s=co(c),i=co(t);if(o+=bo(s,"triAArA.a1",2),o+=bo(i,"triAArA.a2",2),Math.sign(c)*Math.sign(t)<0){const d=`triAArA : the signs of a1 ${Ee(c)} and a2 ${Ee(t)} differ`;o+=Ue("178",d,r)}if(Math.abs(s)+Math.abs(i)>=Math.PI){const d=`triAArA : a1 ${Ee(c)} plus a2 ${Ee(t)} are bigger than Pi`;o+=Ue("182",d,r)}return[co(Math.PI-c-t),o]}function Cs(c,t,r,o=0){let s="";const[i,l]=Es(c,r,o);s+=l,s+=je(t,"triALArLL.l12",o);let d=0,h=0;if(Po(i)){const f=`triALArLL : flat triangle with a1 ${Ee(c)}, a2 ${Ee(r)} and a3 ${Ee(i)}`;s+=Ue("209",f,o),Po(c)?(d=0,h=t):(d=t,h=0)}else d=t*Math.sin(c)/Math.sin(i),h=t*Math.sin(r)/Math.sin(i);return[d,h,s]}function Qe(c,t,r,o=0){let s="";s+=je(c,"triLALrL.l1",o),s+=bo(t,"triLALrL.a12",2),s+=je(r,"triLALrL.l2",o);const i=c**2+r**2-2*c*r*Math.cos(t);if(i<0){const d=`triLALrL : ql3 ${Ee(i)} is negative with l1 ${Ee(c)}, a12 ${Ee(t)}, l2 ${Ee(r)}`;s+=Ue("241",d,o)}return[Math.sqrt(i),s]}function Oo(c,t,r,o=0){let s="";s+=bo(c,"triALLrL.a31",2),s+=je(t,"triALLrL.l1",o),s+=je(r,"triALLrL.l2",o);const i=-2*t*Math.cos(c),l=t**2-r**2,d=i**2-4*l;if(d<0){const a=`triALLrL : qD ${Ee(d)} is negative with a31 ${Ee(c)}, l1 ${Ee(t)}, l2 ${Ee(r)}`;s+=Ue("271",a,o)}const h=(-i-Math.sqrt(d))/2,f=(-i+Math.sqrt(d))/2;return s+=je(h,"triALLrL.rx1",2),s+=je(f,"triALLrL.rx2",2),[h,f,s]}function no(c,t,r,o=0){let s="";const[i,l,d]=Oo(c,t,r,o);s+=d;const h=i>0?c:co(c-Math.PI),f=l>0?c:co(c-Math.PI),[a,W]=Ze(r,Math.abs(i),t,o),[g,u]=Ze(r,Math.abs(l),t,o);s+=W+u;const S=Math.sign(h)*a,_=Math.sign(f)*g;return[i,h,S,l,f,_,s]}function Ze(c,t,r,o=0){let s="";s+=je(c,"triLLLrA.l1",o),s+=je(t,"triLLLrA.l2",o),s+=je(r,"triLLLrA.l3",o);const i=(r**2+c**2-t**2)/(2*r*c);if(Math.abs(i)>1){const d=`triLLLrA : cosA31 ${Ee(i)} is bigger than 1`;s+=Ue("296",d,o)}return[Math.acos(i),s]}var se=(c=>(c[c.eA=0]="eA",c[c.eB=1]="eB",c))(se||{}),ne=(c=>(c[c.eABRight=0]="eABRight",c[c.eABLeft=1]="eABLeft",c))(ne||{});function Os(c){let t=0;return c===t&&(t=1),t}var uo=class Io extends Vo{pJuncs=[];lastPosition=-1;facetIdx=-1;ctrIdx=-1;used=0;startJunction(t,r,o){for(const i of this.pJuncs)if(i.jName===t)throw`err209: jName ${t} already used`;const s=this.segments.length-1;if(s===this.lastPosition)throw`err210: jName ${t} overwrites previous position ${s}`;return this.lastPosition=s,this.pJuncs.push({jName:t,jDir:r,jSide:o,jPosition:s}),this}findIdx(t){let r=-1;for(const[o,s]of this.pJuncs.entries())t===s.jName&&(r=o);return r}cloneJ(t){const r=new Io(t.segments[0].px,t.segments[0].py);for(const o of t.segments){const s=o.clone();s.sType!==Wo.eStart&&(r.addSeg(s),Xo(s.sType)&&r.setLastPoint(s.px,s.py))}for(const o of this.pJuncs)r.pJuncs.push({jName:o.jName,jDir:o.jDir,jSide:o.jSide,jPosition:o.jPosition});return r.lastPosition=this.lastPosition,r}generateRevertOrientation(){const t=super.generateRevertOrientation(),r=new Io(t.segments[0].px,t.segments[0].py);for(const s of t.segments){const i=s.clone();i.sType!==Wo.eStart&&(r.addSeg(i),Xo(i.sType)&&r.setLastPoint(i.px,i.py))}const o=this.pJuncs.length;for(let s=0;s<o;s++){const i=this.pJuncs[o-s-1],l=this.segments.length-2-i.jPosition;if(l<0)throw`err110: revert ctrJ len ${this.segments.length} has lastPos ${l} negative`;r.pJuncs.push({jName:i.jName,jDir:Os(i.jDir),jSide:i.jSide,jPosition:l}),r.lastPosition=l}return r}translate(t,r){const o=super.translate(t,r);return this.cloneJ(o)}translatePolar(t,r){return this.translate(r*Math.cos(t),r*Math.sin(t))}rotate(t,r,o){const s=super.rotate(t,r,o);return this.cloneJ(s)}setIdx(t,r){this.facetIdx=t,this.ctrIdx=r,this.used=0}compareIdx(t,r){let o=!1;return t===this.facetIdx&&r===this.ctrIdx&&(o=!0),o}incrementUsed(){this.used+=1}normOrientation(t){return super.getEnvelop().orientation!==t?this.generateRevertOrientation():this}},Is=class{attached=!1;ax=0;ay=0;aa=0;juncIdx=0;outerInner=[];constructor(c){for(const t of c)this.outerInner.push(t)}place(c){const t=c.getRotation(),[r,o]=c.getTranslation(),s=[];for(const l of this.outerInner)s.push(l.rotate(0,0,t).translate(r,o));const i=He(s);return i.attached=this.attached,i.ax=this.ax,i.ay=this.ay,i.aa=this.aa,i.juncIdx=this.juncIdx,i}getContourPure(){const c=[];for(const t of this.outerInner)t instanceof uo||c.push(t);return c}getContourJ(c){const t=[];for(const[r,o]of this.outerInner.entries())if(o instanceof uo){const s=o.normOrientation(r===0);s.setIdx(c,r),t.push(s)}return t}getContourAll(){const c=[];for(const t of this.outerInner)c.push(Bo(t));return c}};function Ie(c,t,r=""){return new uo(c,t,r)}function He(c){return new Is(c)}function Bo(c){return c.clone()}var Bs=10**-5,Fs=class{pThickness=0;pPartName="";pSFMark="";pFacets=[];pJuncs=[];pProfiles=[];constructor(c,t,r,o,s,i){this.pThickness=o,this.pPartName=s,this.pSFMark=i;const l=Object.keys(t);for(const[d,h]of c.entries()){let f=0;for(const[a,W]of h.outerInner.entries())if(W instanceof uo)for(const g of W.pJuncs){const u=g.jName,S=this.pJuncs.map(_=>_.jName);if(S.includes(u)){const _=S.findIndex(A=>A===u);if(this.pJuncs[_].associated===1){const A=this.pJuncs[_].a1FacetIdx;if(d<=A)throw`err390: junction ${_} connects facets ${A} and ${d}. Must be higher!`;if(this.pJuncs[_].associated=2,this.pJuncs[_].a2FacetIdx=d,this.pJuncs[_].a2ContIdx=a,this.pJuncs[_].a2SegIdx=g.jPosition,this.pJuncs[_].a2Dir=g.jDir,this.pJuncs[_].a2Side=g.jSide,f===0)f=1;else throw`err628: jName ${u} is the second backward junction of facet-idx ${d}`}else throw`err125: jName ${u} used a third time in facet-idx ${d}`}else if(l.includes(u))this.pJuncs.push({jName:u,angle:t[u].angle,radius:t[u].radius,neutral:t[u].neutral,mark:t[u].mark,associated:1,a1FacetIdx:d,a1ContIdx:a,a1SegIdx:g.jPosition,a1Dir:g.jDir,a1Side:g.jSide,a1x:0,a1y:0,a1Teta:0,a2FacetIdx:-1,a2ContIdx:-1,a2SegIdx:-1,a2Dir:0,a2Side:0,a2x:0,a2y:0,a2Teta:0,jLength:0,jx:0,jy:0});else throw`err129: jName ${u} not defined in junction-list`}if(f===0&&d>0)throw`err738: iFacetIdx ${d} has no backward connection`;this.pFacets.push(h)}this.computeLength(),this.checkFacet();for(const d of r){if(d.l1<=0)throw`err292: profile l1 ${d.l1} is negative or null`;for(const[h,f]of d.ante.entries())if(h%2===0){if(typeof f!="string")throw"err234: even element of ante is not a string";if(!l.includes(f))throw`err242: even element string ${f} of ante is not a declared junctions`}else{if(typeof f!="number")throw"err239: odd element of ante is not a number";if(f<=0)throw`err242: odd element number ${f} of ante is negative or null`}for(const[h,f]of d.post.entries())if(h%2===0){if(typeof f!="string")throw"err234: even element of post is not a string";if(!l.includes(f))throw`err242: even element string ${f} of post is not a declared junctions`}else{if(typeof f!="number")throw"err239: odd element of post is not a number";if(f<=0)throw`err242: odd element number ${f} of post is negative or null`}this.pProfiles.push(d)}}printJuncs(){for(const c of this.pJuncs){const t=c.a1FacetIdx,r=c.a1ContIdx,o=c.a1SegIdx,s=c.a2FacetIdx,i=c.a2ContIdx,l=c.a2SegIdx;console.log(`dbg527: ${c.jName} : ${t} ${r} ${o} : ${s} ${i} ${l}`)}}oneTetaLength(c,t,r){const o=this.pFacets[c].outerInner[t];if(!(o instanceof Vo))throw`err234: faIdx ${c}, coIdx ${t} is not a Contour but a ContourCircle`;const s=o.segments.length,i=o.segments[r],l=o.segments[(r+1)%s],d=o.segments[(r+2)%s];if(Yo(i.sType))throw`err101: junction ${c} ${t} ${r} starts with an active corner`;if(Wo.eStroke!==l.sType)throw`err102: junction ${c} ${t} ${r} is not a stroke`;if(Yo(d.sType))throw`err103: junction ${c} ${t} ${r} ends with an active corner`;const h=Math.sqrt((l.px-i.px)**2+(l.py-i.py)**2),f=Math.atan2(l.py-i.py,l.px-i.px),a=`Ax ${n(i.px)} Ay ${n(i.py)} Bx ${n(l.px)} By ${n(l.py)}`;return[i.px,i.py,f,h,a]}computeLength(){for(const[c,t]of this.pJuncs.entries())for(let r=0;r<t.associated;r++){let o=t.a1FacetIdx,s=t.a1ContIdx,i=t.a1SegIdx,l=t.a1Dir;r===1&&(o=t.a2FacetIdx,s=t.a2ContIdx,i=t.a2SegIdx,l=t.a2Dir);const[d,h,f,a,W]=this.oneTetaLength(o,s,i);let g=f,u=d,S=h;if(l===1){const _=mt(d,h).translatePolar(f,a);u=_.cx,S=_.cy,g=vo(f+Math.PI)}if(r===1){const _=Math.abs(a-t.jLength);if(_>Bs){const A=`jName ${t.jName} ${W}`;throw`err908: junction ${c} jLength ${n(t.jLength)} ${n(a)} differs of ${_}
|
|
3
3
|
${A}`}if(t.a1Side===t.a2Side)throw`err905: jSide ${t.a1Side} ${t.a2Side} must be opposite`;if(t.a2x=u,t.a2y=S,t.a2Teta=g,this.pFacets[o].attached===!1)this.pFacets[o].attached=!0,this.pFacets[o].ax=u,this.pFacets[o].ay=S,this.pFacets[o].aa=g,this.pFacets[o].juncIdx=c;else throw`err545: pFacet ${o} is already attached`}else t.jLength=a,t.a1Teta=g,t.a1x=u,t.a1y=S}}checkFacet(){for(const[c,t]of this.pFacets.entries())if(c>0&&t.attached===!1)throw`err464: pFacet ${c} ax is not set`}getJuncIdx(c){let t=-1;for(const[r,o]of this.pJuncs.entries())c===o.jName&&(t=r);if(t<0)throw`err801: jName ${c} not found`;return t}fromJunctionToAttach(c){let t=c.a1Teta,r=c.a1x,o=c.a1y;const s=c.a1FacetIdx;if(s>0){const i=this.pFacets[s];t=t-i.aa;const l=r-i.ax,d=o-i.ay,h=Math.sqrt(l**2+d**2),a=Math.atan2(d,l)-i.aa;r=h*Math.cos(a),o=h*Math.sin(a)}return[t,r,o]}positionF(c,t){let r=c;if(t>0){const o=this.pFacets[t].juncIdx,s=this.pJuncs[o];s.a1Side===1?r=r.addRotation(-s.angle,0,0).addTranslation(0,-s.jx,s.jy):r=r.addRotation(s.angle,0,0).addTranslation(0,s.jx,s.jy),r=this.positionJ(r,o)}return r}positionJ(c,t){const r=this.pJuncs[t],[o,s,i]=this.fromJunctionToAttach(r);let l=c.addRotation(0,0,o).addTranslation(s,i,0);const d=r.a1FacetIdx;return d>0&&(l=this.positionF(l,d)),l}positionJ2d(c){const t=$o();let r=c;if(this.pFacets[c].attached)for(;r>0;){const o=this.pFacets[r].juncIdx,s=this.pJuncs[o],i=Math.abs(s.angle),l=i===0?s.radius:i*s.radius,d=s.a1Side===1?-1:1;t.addTranslation(0,d*l);const[h,f,a]=this.fromJunctionToAttach(s);t.addRotation(h),t.addTranslation(f,a),r=s.a1FacetIdx}else throw`err491: iFacetIdx ${c} is not attached!`;return t}positionF2d(c){const t=this.positionJ2d(c),r=t.getRotation(),[o,s]=t.getTranslation(),i=this.pFacets[c];return $o().addTranslation(-i.ax,-i.ay).addRotation(-i.aa+r).addTranslation(o,s)}findCtrJ(c,t,r){let o=c[0],s=!1;for(const i of c)i.compareIdx(t,r)&&(o=i,s=!0);if(!s)throw`err612: not found ctrJ with iFacetIdx ${t} and iCtrIdx ${r}`;return o}generateJunc3List(c){const t=[];for(const r of c.pJuncs){const o={jName:r.jName,segPosition:r.jPosition,jDir:r.jDir};t.push(o)}return t}calcJuncList(c,t){const r=c.findIdx(t);if(r<0)throw`err324: junction ${t} not found`;const o=this.generateJunc3List(c);return[...o.slice(r),...o.slice(0,r)]}incrSegIdx(c,t,r){let o=c+t;return o>=r?o=0:o<0&&(o=r+o),o}addSeg(c,t){t.sType!==Wo.eStart&&(c.addSeg(t),c.setLastPoint(t.px,t.py))}makePartialCtr(c,t,r,o){let s=t[0].segPosition,i=this.incrSegIdx(s,0,c.segments.length);r||(s=this.incrSegIdx(t[0].segPosition,1,c.segments.length),i=this.incrSegIdx(s,0,c.segments.length));const l=ut(c.segments[s].px,c.segments[s].py);let d=this.incrSegIdx(s,0,c.segments.length);for(let h=1;h<t.length;h++){for(c.incrementUsed();d!==t[h].segPosition;)d=this.incrSegIdx(d,1,c.segments.length),this.addSeg(l,c.segments[d].clone());const f=this.pJuncs[this.getJuncIdx(t[h].jName)];if(f.a2FacetIdx===-1){const a=c.segments[d].px,W=c.segments[d].py;d=this.incrSegIdx(d,1,c.segments.length);const g=c.segments[d].px,u=c.segments[d].py,S=g-a,_=u-W,A=Math.sqrt(S**2+_**2),M=Math.atan2(_,S);let k=0;t[h].jDir===1&&(k=Math.PI);const T=f.angle===0?f.radius:Math.abs(f.angle)*f.radius,N=f.a1Side===1?-Math.PI/2:Math.PI/2;l.addSegStrokeRP(M+N+k,T),l.addSegStrokeRP(M,A),l.addSegStrokeA(g,u)}else{const a=this.findCtrJ(o,f.a2FacetIdx,f.a2ContIdx),W=this.calcJuncList(a,f.jName),g=this.makePartialCtr(a,W,!1,o);l.addSegStrokeA(g.segments[0].px,g.segments[0].py);for(const u of g.segments)this.addSeg(l,u.clone());d=this.incrSegIdx(d,1,c.segments.length),l.addSegStrokeA(c.segments[d].px,c.segments[d].py)}}for(c.incrementUsed(),d=this.incrSegIdx(d,1,c.segments.length);d!==i;)this.addSeg(l,c.segments[d].clone()),d=this.incrSegIdx(d,1,c.segments.length);return l}generateNewContours(c){const t=[];for(const r of c)if(r.used===0){const s=[{jName:"",segPosition:0,jDir:0},...this.generateJunc3List(r)],i=this.makePartialCtr(r,s,!0,c);t.push(i)}return t}generateOneMarker(c){const t=c.angle===0?c.radius:Math.abs(c.angle)*c.radius;return t<2*c.mark?R(-c.mark,0,2*c.mark,t):ut(-c.mark,c.mark).addPointA(0,0).addPointA(c.mark,c.mark).addSegArc2().addSegStrokeA(c.mark,t-c.mark).addPointA(0,t).addPointA(-c.mark,t-c.mark).addSegArc2().closeSegStroke()}generateMarkers(){const c=[];for(const t of this.pJuncs){if(t.associated===0)throw`err509: junction ${t.jName} is not associated`;if(t.mark>0){const r=t.a1FacetIdx,o=Math.abs(t.angle),s=o===0?t.radius:o*t.radius,i=t.a1Side===1?-1:0,l=$o().addTranslation(t.jLength/2,i*s);if(r>0){const[h,f,a]=this.fromJunctionToAttach(t);l.addRotation(h).addTranslation(f,a);const W=this.positionJ2d(r);l.addRotation(W.getRotation()).addTranslation(...W.getTranslation())}else l.addRotation(t.a1Teta).addTranslation(t.a1x,t.a1y);const d=this.generateOneMarker(t).rotate(0,0,l.getRotation()).translate(...l.getTranslation());c.push(d)}}return c}makePatternFigure(c){const t=[];for(const[g,u]of this.pFacets.entries())if(g>0){const S=this.positionF2d(g);t.push(u.place(S))}else{if(u.attached)throw`err490: iFacetIdx ${g} is attached!`;const S=$o();t.push(u.place(S))}const r=[],o=[],s=[];for(const[g,u]of t.entries())r.push(...u.getContourAll()),o.push(...u.getContourPure()),s.push(...u.getContourJ(g));const i=X();for(const g of r)i.addSecond(g);const l=this.generateNewContours(s),d=this.generateMarkers(),h=[...l,...o,...d],f=[];let a=h[0];const W=ys(a.getEnvelop());for(const g of h)W.add(g.getEnvelop())?(f.push(a),a=g):f.push(g);if(c&&!W.check(a.getEnvelop()))throw"err782: the outer-contour does not envelop all contours";return i.addMainOI([a,...f]),i}nameFacePattern(){return`${this.pSFMark}_pattern`}nameFace(c){return`${this.pSFMark}_f${c.toString().padStart(2,"0")}`}nameFaceJ(c){return`${this.pSFMark}_fj${c.toString().padStart(2,"0")}`}nameFaceProfiles(){return`${this.pSFMark}_profiles`}makeFacetFig(c,t){const r=X(),o=[];for(const s of t.outerInner){let i=Bo(s);c>0&&(i=i.translate(-t.ax,-t.ay).rotate(0,0,Math.PI/2-t.aa)),o.push(i)}return r.addMainOI(o),r}drawJuncPositive(c,t,r){const o=mt(0,c),s=o.translatePolar(-Math.PI/2+r/2,c),i=o.translatePolar(-Math.PI/2+r,c),l=o.translatePolar(-Math.PI/2+r,t),d=o.translatePolar(-Math.PI/2+r/2,t);return[ut(0,0).addPointA(s.cx,s.cy).addPointA(i.cx,i.cy).addSegArc2().addSegStrokeA(l.cx,l.cy).addPointA(d.cx,d.cy).addPointA(0,this.pThickness).addSegArc2().closeSegStroke(),i.cx,i.cy]}drawJuncNegative(c,t,r){const o=mt(0,-t),s=o.translatePolar(Math.PI/2+r/2,c),i=o.translatePolar(Math.PI/2+r,c),l=o.translatePolar(Math.PI/2+r,t),d=o.translatePolar(Math.PI/2+r/2,t);return[ut(0,0).addPointA(d.cx,d.cy).addPointA(l.cx,l.cy).addSegArc2().addSegStrokeA(i.cx,i.cy).addPointA(s.cx,s.cy).addPointA(0,this.pThickness).addSegArc2().closeSegStroke(),l.cx,l.cy]}makeJuncCtr(c,t,r,o){let s=R(0,0,r,this.pThickness);if(o<0||o>1)throw`err329: junction ${c} with neutral ${o} not within 0..1`;if(r<0)throw`err328: junction ${c} with negative radius ${r}`;const i=r-this.pThickness*o,l=r+this.pThickness*(1-o);if(i<=0)throw`err901: junction ${c} with negative rI ${i}, radius ${r}, neutral ${o}, thickness ${this.pThickness}`;let d=0,h=0;if(t===0)d=r,h=0;else if(t>0){const[f,a,W]=this.drawJuncPositive(l,i,t);s=f,d=a,h=W}else{const[f,a,W]=this.drawJuncNegative(l,i,t);s=f,d=a,h=W}return[s,d,h]}makeProfileFig(){const c=X();for(const t of this.pProfiles){let r=t.x1,o=t.y1,s=t.a1;c.addMainO(Eo(r,o,t.l1,this.pThickness,s));const i=mt(r,o).translatePolar(s,t.l1);r=i.cx,o=i.cy;for(const d of t.post)if(typeof d=="number"){c.addMainO(Eo(r,o,d,this.pThickness,s));const h=mt(r,o).translatePolar(s,d);r=h.cx,o=h.cy}else{const h=this.pJuncs[this.getJuncIdx(d)],[f,a,W]=this.makeJuncCtr(h.jName,h.angle,h.radius,h.neutral);c.addMainO(f.rotate(0,0,s).translate(r,o));const g=mt(a,W).rotate(mt(0,0),s);r+=g.cx,o+=g.cy,s+=h.angle}r=t.x1,o=t.y1,s=t.a1+Math.PI;const l=mt(r,o).translatePolar(s-Math.PI/2,this.pThickness);r=l.cx,o=l.cy;for(const d of t.ante)if(typeof d=="number"){c.addMainO(Eo(r,o,d,this.pThickness,s));const h=mt(r,o).translatePolar(s,d);r=h.cx,o=h.cy}else{const h=this.pJuncs[this.getJuncIdx(d)],[f,a,W]=this.makeJuncCtr(h.jName,-h.angle,h.radius,h.neutral);c.addMainO(f.rotate(0,0,s).translate(r,o));const g=mt(a,W).rotate(mt(0,0),s);r+=g.cx,o+=g.cy,s-=h.angle}}return c}makeFigures(c=!0){const t={};if(this.pThickness<=0)throw`err822: thickness ${this.pThickness} is negative`;if(t[this.nameFacePattern()]=this.makePatternFigure(c),this.pProfiles.length>0){const r=this.nameFaceProfiles();t[r]=this.makeProfileFig()}for(const[r,o]of this.pFacets.entries()){const s=this.nameFace(r);t[s]=this.makeFacetFig(r,o)}for(const[r,o]of this.pJuncs.entries()){const s=this.nameFaceJ(r),[i,l,d]=this.makeJuncCtr(o.jName,o.angle,o.radius,o.neutral),h=X();h.addMainO(i),t[s]=h,o.jx=l,o.jy=d}return t}makeVolume(){const c=[];for(const s of this.pFacets.keys()){const i=ho();let l=i;if(s>0){const h=i.addRotation(0,0,-Math.PI/2);l=this.positionF(h,s)}const d={outName:`subpax_${this.pPartName}_${this.nameFace(s)}`,face:`${this.pPartName}_${this.nameFace(s)}`,extrudeMethod:q.eLinearOrtho,length:this.pThickness,rotate:l.getRotation(),translate:l.getTranslation()};c.push(d)}for(const[s,i]of this.pJuncs.entries()){let l=ho();i.a1Side===1?l=l.addRotation(Math.PI/2,0,0).addTranslation(0,i.jLength,0).addRotation(0,0,-Math.PI/2):l=l.addRotation(Math.PI/2,0,0).addRotation(0,0,Math.PI/2);const d=this.positionJ(l,s),h={outName:`subpax_${this.pPartName}_${this.nameFaceJ(s)}`,face:`${this.pPartName}_${this.nameFaceJ(s)}`,extrudeMethod:q.eLinearOrtho,length:i.jLength,rotate:d.getRotation(),translate:d.getTranslation()};c.push(h)}const t=c.map(s=>s.outName),r=[],o={outName:`pax_${this.pPartName}`,boolMethod:ee.eUnion,inList:t};return r.push(o),{extrudes:c,volumes:r}}};function ko(c,t,r,o,s,i="SFG"){return new Fs(c,t,r,o,s,i)}function Js(c){const t=X(),r=[];for(const o of c.outerInner)o instanceof uo?r.push(Bo(o)):r.push(o);return t.addMainOI(r),t}var zo={partName:"door1arc",params:[e("W1","mm",1500,100,4e3,1),e("H1","mm",1e3,1,4e3,1),e("H2p","%",50,1,100,1),Tt("vault"),e("Hc","mm",0,-1e3,1e3,1),Me("spread",["widest","odd","even"]),e("vL","mm",400,10,1e3,1),e("vW","mm",200,10,1e3,1),Tt("brick"),e("bL","mm",400,10,1e3,1),e("bH","mm",200,10,1e3,1),e("jW","mm",.2,0,200,.1),e("T1","mm",200,1,1e3,1)],paramSvg:{W1:"door1Arc_nArcs.svg",H1:"door1Arc_nArcs.svg",H2p:"door1Arc_face.svg",Hc:"door1Arc_face.svg",spread:"door1Arc_spread.svg",vL:"door1Arc_vaultStone.svg",vW:"door1Arc_vaultStone.svg",bL:"door1Arc_face.svg",bH:"door1Arc_face.svg",jW:"door1Arc_face.svg",T1:"door1Arc_nArcs.svg"},sim:{tMax:180,tStep:.5,tUpdate:500}};function Co(c,t,r){let o=t;if(r>0){let s=c+Math.PI/2;s>Math.PI&&(s=2*Math.PI-s),[,o]=Oo(s,r,t)}else if(r<0){let s=Math.PI/2-c;s<0&&(s=-s),[,o]=Oo(s,-r,t)}return o}function ms(c,t,r=""){const o=ae(zo.partName+r),s=X();o.logstr+=`${o.partName} simTime: ${c}
|
|
4
4
|
`;try{let d=function(it,J,ct){return R(it+t.jW,J+t.jW,ct-2*t.jW,t.bH-2*t.jW)},h=function(it,J){const ct=(t.bH-U)/Math.tan(N),ot=t.bL*Math.tan(N),Pt=ut(it,t.H1,"green");return ct>t.bL?Pt.addSegStrokeR(-J*t.bL,ot).addSegStrokeR(0,-ot-U):Pt.addSegStrokeR(-J*ct,t.bH-U).addSegStrokeR(J*(-t.bL+ct),0).addSegStrokeR(0,-t.bH),U===0?Pt.closeSegStroke():Pt.addSegStrokeR(J*t.bL,0).closeSegStroke(),Pt};var i=d,l=h;const f=t.H2p/100*t.W1/2,a=t.H1+f,W=f,g=t.W1/2,u=Math.atan2(g,W),A=Math.sqrt(W**2+g**2)/2/Math.cos(u),M=A,k=A-f-t.Hc,T=Math.max(k,0),N=Math.atan2(T,t.W1/2),V=Math.PI-2*N,y=Math.max(Co(N,M,t.Hc),M-t.Hc);let v=Math.ceil(V*(y+t.vL)/t.vW);const F=v%2===0;(t.spread===1&&F||t.spread===2&&!F)&&(v+=1);const p=V/v,x=t.bL/2,m=Math.floor(t.H1/t.bH),D=Math.ceil(t.W1/t.bL)-1,Z=(t.W1+t.bL-D*t.bL)/2,U=t.H1-m*t.bH,$t=t.vL*Math.sin(N)+U,Q=t.vL*Math.cos(N),at=Math.ceil($t/t.bH),Rt=Math.ceil(Q/t.bL),et=a+t.vL-(m+at)*t.bH,kt=Math.ceil(et/t.bH),st=Math.ceil(t.W1/t.bL),rt=(Rt-1)*t.bL,I=Math.ceil((t.W1+2*rt+2*x)/t.bL),Mt=Math.ceil((t.W1+2*rt+2)/t.bL),K=t.W1/st,Wt=(t.W1+2*rt+2*x)/I,gt=(t.W1+2*rt)/Mt;if(t.H2p<1)throw`err167: H2p ${t.H2p} is too small`;if(k<-.1)throw`err170: lEG ${k} is negative`;const nt=t.bH-2*t.jW;if(nt<1)throw`err192: bHs ${n(nt)} is negative or almost zero`;const wt=N>.1;o.logstr+=`Hdoor ${n(a)}, Hvault ${n(f)} mm
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const w=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function v(t){const i=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${_(t).map(s=>{const o=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(o)return i.push({name:o[1],matcher:o[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const l=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(l)return i.push({name:l[1],matcher:l[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const r=s.split(/\[(.+?)\](?!\])/);return"/"+r.map((e,a)=>{if(a%2){if(e.startsWith("x+"))return h(String.fromCharCode(parseInt(e.slice(2),16)));if(e.startsWith("u+"))return h(String.fromCharCode(...e.slice(2).split("-").map(d=>parseInt(d,16))));const c=w.exec(e),[,u,p,m,g]=c;return i.push({name:m,matcher:g,optional:!!u,rest:!!p,chained:p?a===1&&r[0]==="":!1}),p?"([^]*?)":u?"([^/]*)?":"([^/]+?)"}return h(e)}).join("")}).join("")}/?$`),params:i}}function $(t){return t!==""&&!/^\([^)]+\)$/.test(t)}function _(t){return t.slice(1).split("/").filter($)}function j(t,i,f){const s={},o=t.slice(1),l=o.filter(n=>n!==void 0);let r=0;for(let n=0;n<i.length;n+=1){const e=i[n];let a=o[n-r];if(e.chained&&e.rest&&r&&(a=o.slice(n-r,n+1).filter(c=>c).join("/"),r=0),a===void 0){e.rest&&(s[e.name]="");continue}if(!e.matcher||f[e.matcher](a)){s[e.name]=a;const c=i[n+1],u=o[n+1];c&&!c.rest&&c.optional&&u&&e.chained&&(r=0),!c&&!u&&Object.keys(s).length===l.length&&(r=0);continue}if(e.optional&&e.chained){r++;continue}return}if(!r)return s}function h(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}const x=/\[(\[)?(\.\.\.)?(\w+?)(?:=(\w+))?\]\]?/g;function W(t,i){const f=_(t),s=t!="/"&&t.endsWith("/");return"/"+f.map(o=>o.replace(x,(l,r,n,e)=>{const a=i[e];if(!a){if(r||n&&a!==void 0)return"";throw new Error(`Missing parameter '${e}' in route ${t}`)}if(a.startsWith("/")||a.endsWith("/"))throw new Error(`Parameter '${e}' in route ${t} cannot start or end with a slash -- this would cause an invalid route like foo//bar`);return a})).filter(Boolean).join("/")+(s?"/":"")}const b=globalThis.__sveltekit_alxzgw?.base??"",k=globalThis.__sveltekit_alxzgw?.assets??b??"";export{k as a,b,j as e,v as p,W as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as De,s as wt}from"./CyescMlY.js";import{p as vt,e as yt,a as bt,b as L}from"./CjAHYehE.js";import{ax as pe,b1 as kt,as as U,g as P,ah as T,H as ee,z as Ve,G as Et}from"./B_q4GCYp.js";const V=[];function Ee(e,t=pe){let n=null;const a=new Set;function r(s){if(kt(e,s)&&(e=s,n)){const c=!V.length;for(const l of a)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(s){r(s(e))}function o(s,c=pe){const l=[s,c];return a.add(l),a.size===1&&(n=t(r,i)||pe),s(e),()=>{a.delete(l),a.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:o}}class Se{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Re{constructor(t,n){this.status=t,this.location=n}}class xe extends Error{constructor(t,n,a){super(a),this.status=t,this.text=n}}new URL("sveltekit-internal://");function St(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function Rt(e){return e.split("%25").map(decodeURI).join("%25")}function xt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ge({href:e}){return e.split("#")[0]}function Lt(e,t,n,a=!1){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(o,s){if(s==="get"||s==="getAll"||s==="has")return l=>(n(l),o[s](l));t();const c=Reflect.get(o,s);return typeof c=="function"?c.bind(o):c}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];a&&i.push("hash");for(const o of i)Object.defineProperty(r,o,{get(){return t(),e[o]},enumerable:!0,configurable:!0});return r}function At(...e){let t=5381;for(const n of e)if(typeof n=="string"){let a=n.length;for(;a;)t=t*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)t=t*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function Ut(e){const t=atob(e),n=new Uint8Array(t.length);for(let a=0;a<t.length;a++)n[a]=t.charCodeAt(a);return n}const Pt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&M.delete(Le(e)),Pt(e,t));const M=new Map;function Tt(e,t){const n=Le(e,t),a=document.querySelector(n);if(a?.textContent){a.remove();let{body:r,...i}=JSON.parse(a.textContent);const o=a.getAttribute("data-ttl");return o&&M.set(n,{body:r,init:i,ttl:1e3*Number(o)}),a.getAttribute("data-b64")!==null&&(r=Ut(r)),Promise.resolve(new Response(r,i))}return window.fetch(e,t)}function Ot(e,t,n){if(M.size>0){const a=Le(e,n),r=M.get(a);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);M.delete(a)}}return window.fetch(t,n)}function Le(e,t){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),a+=`[data-hash="${At(...r)}"]`}return a}function It({nodes:e,server_loads:t,dictionary:n,matchers:a}){const r=new Set(t);return Object.entries(n).map(([s,[c,l,g]])=>{const{pattern:m,params:f}=vt(s),u={id:s,exec:h=>{const w=m.exec(h);if(w)return yt(w,f,a)},errors:[1,...g||[]].map(h=>e[h]),layouts:[0,...l||[]].map(o),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[r.has(s),e[s]]}}function Je(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ze(e,t,n=JSON.stringify){const a=n(t);try{sessionStorage[e]=a}catch{}}const Ct="1766870576019",We="sveltekit:snapshot",Xe="sveltekit:scroll",Qe="sveltekit:states",Nt="sveltekit:pageurl",B="sveltekit:history",Y="sveltekit:navigation",$={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},le=location.origin;function Ae(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function ue(){return{x:pageXOffset,y:pageYOffset}}function z(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Be={...$,"":$.hover};function Ze(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function et(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Ze(e)}}function we(e,t,n){let a;try{if(a=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";a.hash=`#${s}${a.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!a||!!r||fe(a,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=a?.origin===le&&e.hasAttribute("download");return{url:a,external:i,target:r,download:o}}function te(e){let t=null,n=null,a=null,r=null,i=null,o=null,s=e;for(;s&&s!==document.documentElement;)a===null&&(a=z(s,"preload-code")),r===null&&(r=z(s,"preload-data")),t===null&&(t=z(s,"keepfocus")),n===null&&(n=z(s,"noscroll")),i===null&&(i=z(s,"reload")),o===null&&(o=z(s,"replacestate")),s=Ze(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Be[a??"off"],preload_data:Be[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(o)}}function Ge(e){const t=Ee(e);let n=!0;function a(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&o(s=c)})}return{notify:a,set:r,subscribe:i}}const tt={v:()=>{}};function $t(){const{set:e,subscribe:t}=Ee(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${bt}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==Ct;return o&&(e(!0),tt.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:a}}function fe(e,t,n){return e.origin!==le||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function dn(e){}const nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const jt=new Set([...nt]);[...jt];function qt(e){return e.filter(t=>t!=null)}function Ue(e){return e instanceof Se||e instanceof xe?e.status:500}function Dt(e){return e instanceof xe?e.text:"Internal Error"}let k,F,me;const Vt=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());Vt?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},F={current:null},me={current:!1}):(k=new class{#e=U({});get data(){return P(this.#e)}set data(t){T(this.#e,t)}#t=U(null);get form(){return P(this.#t)}set form(t){T(this.#t,t)}#n=U(null);get error(){return P(this.#n)}set error(t){T(this.#n,t)}#a=U({});get params(){return P(this.#a)}set params(t){T(this.#a,t)}#r=U({id:null});get route(){return P(this.#r)}set route(t){T(this.#r,t)}#o=U({});get state(){return P(this.#o)}set state(t){T(this.#o,t)}#s=U(-1);get status(){return P(this.#s)}set status(t){T(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return P(this.#i)}set url(t){T(this.#i,t)}},F=new class{#e=U(null);get current(){return P(this.#e)}set current(t){T(this.#e,t)}},me=new class{#e=U(!1);get current(){return P(this.#e)}set current(t){T(this.#e,t)}},tt.v=()=>me.current=!0);function at(e){Object.assign(k,e)}const He={spanContext(){return zt},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}},zt={traceId:"",spanId:"",traceFlags:0},{onMount:Bt}=wt,Gt=new Set(["icon","shortcut icon","apple-touch-icon"]),q=Je(Xe)??{},J=Je(We)??{},N={url:Ge({}),page:Ge({}),navigating:Ee(null),updated:$t()};function Pe(e){q[e]=ue()}function Ht(e,t){let n=e+1;for(;q[n];)delete q[n],n+=1;for(n=t+1;J[n];)delete J[n],n+=1}function W(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function rt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}function Ke(){}let Te,ve,ne,O,ye,v;const ae=[],re=[];let R=null;function be(){R?.fork?.then(e=>e?.discard()),R=null}const Z=new Map,ot=new Set,Kt=new Set,G=new Set;let _={branch:[],error:null,url:null},st=!1,oe=!1,Me=!0,X=!1,K=!1,it=!1,Oe=!1,Ie,y,x,j;const se=new Set,Ye=new Map;async function mn(e,t,n){globalThis.__sveltekit_alxzgw?.data&&globalThis.__sveltekit_alxzgw.data,document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Te=It(e),O=document.documentElement,ye=t,ve=e.nodes[0],ne=e.nodes[1],ve(),ne(),y=history.state?.[B],x=history.state?.[Y],y||(y=x=Date.now(),history.replaceState({...history.state,[B]:y,[Y]:x},""));const a=q[y];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await rn(ye,n)):(await H({type:"enter",url:Ae(v.hash?cn(new URL(location.href)):location.href),replace_state:!0}),r()),an()}function Mt(){ae.length=0,Oe=!1}function ct(e){re.some(t=>t?.snapshot)&&(J[e]=re.map(t=>t?.snapshot?.capture()))}function lt(e){J[e]?.forEach((t,n)=>{re[n]?.snapshot?.restore(t)})}function Fe(){Pe(y),ze(Xe,q),ct(x),ze(We,J)}async function ut(e,t,n,a){let r;t.invalidateAll&&be(),await H({type:"goto",url:Ae(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:a,accept:()=>{t.invalidateAll&&(Oe=!0,r=[...Ye.keys()]),t.invalidate&&t.invalidate.forEach(nn)}}),t.invalidateAll&&ee().then(ee).then(()=>{Ye.forEach(({resource:i},o)=>{r?.includes(o)&&i.refresh?.()})})}async function Yt(e){if(e.id!==R?.id){be();const t={};if(se.add(t),R={id:e.id,token:t,promise:ht({...e,preload:t}).then(n=>(se.delete(t),n.type==="loaded"&&n.state.error&&be(),n)),fork:null},Ve){const n=R;n.fork=n.promise.then(a=>{if(n===R&&a.type==="loaded")try{return Ve(()=>{Ie.$set(a.props),at(a.props.page)})}catch{}return null})}}return R.promise}async function _e(e){const t=(await de(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}async function ft(e,t,n){_=e.state;const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(k,e.props.page),Ie=new v.root({target:t,props:{...e.props,stores:N,components:re},hydrate:n,sync:!1}),await Promise.resolve(),lt(x),n){const r={from:null,to:{params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};G.forEach(i=>i(r))}oe=!0}function ie({url:e,params:t,branch:n,status:a,error:r,route:i,form:o}){let s="never";if(L&&(e.pathname===L||e.pathname===L+"/"))s="always";else for(const u of n)u?.slash!==void 0&&(s=u.slash);e.pathname=St(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:r,route:i},props:{constructors:qt(n).map(u=>u.node.component),page:qe(k)}};o!==void 0&&(c.props.form=o);let l={},g=!k,m=0;for(let u=0;u<Math.max(n.length,_.branch.length);u+=1){const h=n[u],w=_.branch[u];h?.data!==w?.data&&(g=!0),h&&(l={...l,...h.data},g&&(c.props[`data_${m}`]=l),m+=1)}return(!_.url||e.href!==_.url.href||_.error!==r||o!==void 0&&o!==k.form||g)&&(c.props.page={error:r,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:g?l:k.data}),c}async function Ce({loader:e,parent:t,url:n,params:a,route:r,server_data_node:i}){let o=null,s=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let g=function(...f){for(const u of f){const{href:h}=new URL(u,n);c.dependencies.add(h)}};const m={tracing:{enabled:!1,root:He,current:He},route:new Proxy(r,{get:(f,u)=>(s&&(c.route=!0),f[u])}),params:new Proxy(a,{get:(f,u)=>(s&&c.params.add(u),f[u])}),data:i?.data??null,url:Lt(n,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)},v.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f?.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:h,promise:w}=dt(f,u,n);return s&&g(h.href),w},setHeaders:()=>{},depends:g,parent(){return s&&(c.parent=!0),t()},untrack(f){s=!1;try{return f()}finally{s=!0}}};o=await l.universal.load.call(null,m)??null}return{node:l,loader:e,server:i,universal:l.universal?.load?{type:"data",data:o,uses:c}:null,data:o??i?.data??null,slash:l.universal?.trailingSlash??i?.slash}}function dt(e,t,n){let a=e instanceof Request?e.url:e;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const i=oe?Ot(a,r.href,t):Tt(a,t);return{resolved:r,promise:i}}function Ft(e,t,n,a,r,i){if(Oe)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&n)return!0;for(const o of r.search_params)if(a.has(o))return!0;for(const o of r.params)if(i[o]!==_.params[o])return!0;for(const o of r.dependencies)if(ae.some(s=>s(new URL(o))))return!0;return!1}function Ne(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Jt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const a of n){const r=e.searchParams.getAll(a),i=t.searchParams.getAll(a);r.every(o=>i.includes(o))&&i.every(o=>r.includes(o))&&n.delete(a)}return n}function Wt({error:e,url:t,route:n,params:a}){return{type:"loaded",state:{error:e,url:t,route:n,params:a,branch:[]},props:{page:qe(k),constructors:[]}}}async function ht({id:e,invalidating:t,url:n,params:a,route:r,preload:i}){if(R?.id===e)return se.delete(R.token),R.promise;const{errors:o,layouts:s,leaf:c}=r,l=[...s,c];o.forEach(p=>p?.().catch(()=>{})),l.forEach(p=>p?.[1]().catch(()=>{}));const g=_.url?e!==ce(_.url):!1,m=_.route?r.id!==_.route.id:!1,f=Jt(_.url,n);let u=!1;const h=l.map(async(p,d)=>{if(!p)return;const E=_.branch[d];return p[1]===E?.loader&&!Ft(u,m,g,f,E.universal?.uses,a)?E:(u=!0,Ce({loader:p[1],url:n,params:a,route:r,parent:async()=>{const I={};for(let A=0;A<d;A+=1)Object.assign(I,(await h[A])?.data);return I},server_data_node:Ne(p[0]?{type:"skip"}:null,p[0]?E?.server:void 0)}))});for(const p of h)p.catch(()=>{});const w=[];for(let p=0;p<l.length;p+=1)if(l[p])try{w.push(await h[p])}catch(d){if(d instanceof Re)return{type:"redirect",location:d.location};if(se.has(i))return Wt({error:await Q(d,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let E=Ue(d),S;if(d instanceof Se)S=d.body;else{if(await N.updated.check())return await rt(),await W(n);S=await Q(d,{params:a,url:n,route:{id:r.id}})}const I=await Xt(p,w,o);return I?ie({url:n,params:a,branch:w.slice(0,I.idx).concat(I.node),status:E,error:S,route:r}):await gt(n,{id:r.id},S,E)}else w.push(void 0);return ie({url:n,params:a,branch:w,status:200,error:null,route:r,form:t?void 0:null})}async function Xt(e,t,n){for(;e--;)if(n[e]){let a=e;for(;!t[a];)a-=1;try{return{idx:a+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function $e({status:e,error:t,url:n,route:a}){const r={};let i=null;try{const o=await Ce({loader:ve,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:Ne(i)}),s={node:await ne(),loader:ne,universal:null,server:null,data:null};return ie({url:n,params:r,branch:[o,s],status:e,error:t,route:null})}catch(o){if(o instanceof Re)return ut(new URL(o.location,location.href),{},0);throw o}}async function Qt(e){const t=e.href;if(Z.has(t))return Z.get(t);let n;try{const a=(async()=>{let r=await v.hooks.reroute({url:new URL(e),fetch:async(i,o)=>dt(i,o,e).promise})??e;if(typeof r=="string"){const i=new URL(e);v.hash?i.hash=r:i.pathname=r,r=i}return r})();Z.set(t,a),n=await a}catch{Z.delete(t);return}return n}async function de(e,t){if(e&&!fe(e,L,v.hash)){const n=await Qt(e);if(!n)return;const a=Zt(n);for(const r of Te){const i=r.exec(a);if(i)return{id:ce(e),invalidating:t,route:r,params:xt(i),url:e}}}}function Zt(e){return Rt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function ce(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function pt({url:e,type:t,intent:n,delta:a,event:r}){let i=!1;const o=je(_,n,e,t);a!==void 0&&(o.navigation.delta=a),r!==void 0&&(o.navigation.event=r);const s={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return X||ot.forEach(c=>c(s)),i?null:o}async function H({type:e,url:t,popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o={},redirect_count:s=0,nav_token:c={},accept:l=Ke,block:g=Ke,event:m}){const f=j;j=c;const u=await de(t,!1),h=e==="enter"?je(_,u,t,e):pt({url:t,type:e,delta:n?.delta,intent:u,event:m});if(!h){g(),j===c&&(j=f);return}const w=y,p=x;l(),X=!0,oe&&h.navigation.type!=="enter"&&N.navigating.set(F.current=h.navigation);let d=u&&await ht(u);if(!d){if(fe(t,L,v.hash))return await W(t,i);d=await gt(t,{id:null},await Q(new xe(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,j!==c)return h.reject(new Error("navigation aborted")),!1;if(d.type==="redirect"){if(s<20){await H({type:e,url:new URL(d.location,t),popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o,redirect_count:s+1,nav_token:c}),h.fulfil(void 0);return}d=await $e({status:500,error:await Q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else d.props.page.status>=400&&await N.updated.check()&&(await rt(),await W(t,i));if(Mt(),Pe(w),ct(p),d.props.page.url.pathname!==t.pathname&&(t.pathname=d.props.page.url.pathname),o=n?n.state:o,!n){const b=i?0:1,D={[B]:y+=b,[Y]:x+=b,[Qe]:o};(i?history.replaceState:history.pushState).call(history,D,"",t),i||Ht(y,x)}const E=u&&R?.id===u.id?R.fork:null;R=null,d.props.page.state=o;let S;if(oe){const b=(await Promise.all(Array.from(Kt,C=>C(h.navigation)))).filter(C=>typeof C=="function");if(b.length>0){let C=function(){b.forEach(he=>{G.delete(he)})};b.push(C),b.forEach(he=>{G.add(he)})}_=d.state,d.props.page&&(d.props.page.url=t);const D=E&&await E;D?S=D.commit():(Ie.$set(d.props),at(d.props.page),S=Et?.()),it=!0}else await ft(d,ye,!1);const{activeElement:I}=document;await S,await ee(),await ee();let A=n?n.scroll:r?ue():null;if(Me){const b=t.hash&&document.getElementById(mt(t));if(A)scrollTo(A.x,A.y);else if(b){b.scrollIntoView();const{top:D,left:C}=b.getBoundingClientRect();A={x:pageXOffset+C,y:pageYOffset+D}}else scrollTo(0,0)}const _t=document.activeElement!==I&&document.activeElement!==document.body;!a&&!_t&&sn(t,A),Me=!0,d.props.page&&Object.assign(k,d.props.page),X=!1,e==="popstate"&<(x),h.fulfil(void 0),G.forEach(b=>b(h.navigation)),N.navigating.set(F.current=null)}async function gt(e,t,n,a,r){return e.origin===le&&e.pathname===location.pathname&&!st?await $e({status:a,error:n,url:e,route:t}):await W(e,r)}function en(){let e,t,n;O.addEventListener("mousemove",s=>{const c=s.target;clearTimeout(e),e=setTimeout(()=>{i(c,$.hover)},20)});function a(s){s.defaultPrevented||i(s.composedPath()[0],$.tap)}O.addEventListener("mousedown",a),O.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&(_e(new URL(c.target.href)),r.unobserve(c.target))},{threshold:0});async function i(s,c){const l=et(s,O),g=l===t&&c>=n;if(!l||g)return;const{url:m,external:f,download:u}=we(l,L,v.hash);if(f||u)return;const h=te(l),w=m&&ce(_.url)===ce(m);if(!(h.reload||w))if(c<=h.preload_data){t=l,n=$.tap;const p=await de(m,!1);if(!p)return;Yt(p)}else c<=h.preload_code&&(t=l,n=c,_e(m))}function o(){r.disconnect();for(const s of O.querySelectorAll("a")){const{url:c,external:l,download:g}=we(s,L,v.hash);if(l||g)continue;const m=te(s);m.reload||(m.preload_code===$.viewport&&r.observe(s),m.preload_code===$.eager&&_e(c))}}G.add(o),o()}function Q(e,t){if(e instanceof Se)return e.body;const n=Ue(e),a=Dt(e);return v.hooks.handleError({error:e,event:t,status:n,message:a})??{message:a}}function tn(e,t){Bt(()=>(e.add(t),()=>{e.delete(t)}))}function _n(e){tn(G,e)}function wn(e,t={}){return e=new URL(Ae(e)),e.origin!==le?Promise.reject(new Error("goto: invalid URL")):ut(e,t,0)}function nn(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function an(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Fe(),!X){const a=je(_,void 0,null,"leave"),r={...a.navigation,cancel:()=>{n=!0,a.reject(new Error("navigation cancelled"))}};ot.forEach(i=>i(r))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Fe()}),navigator.connection?.saveData||en(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=et(t.composedPath()[0],O);if(!n)return;const{url:a,external:r,target:i,download:o}=we(n,L,v.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=te(n);if(!(n instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[l,g]=(v.hash?a.hash.replace(/^#/,""):a.href).split("#"),m=l===ge(location);if(r||s.reload&&(!m||!g)){pt({url:a,type:"link",event:t})?X=!0:t.preventDefault();return}if(g!==void 0&&m){const[,f]=_.url.href.split("#");if(f===g){if(t.preventDefault(),g===""||g==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(g));u&&(u.scrollIntoView(),u.focus())}return}if(K=!0,Pe(y),e(a),!s.replace_state)return;K=!1}t.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await H({type:"link",url:a,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??a.href===location.href,event:t})}),O.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if((a?.formTarget||n.target)==="_blank"||(a?.formMethod||n.method)!=="get")return;const o=new URL(a?.hasAttribute("formaction")&&a?.formAction||n.action);if(fe(o,L,!1))return;const s=t.target,c=te(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,a);o.search=new URLSearchParams(l).toString(),H({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!ke){if(t.state?.[B]){const n=t.state[B];if(j={},n===y)return;const a=q[n],r=t.state[Qe]??{},i=new URL(t.state[Nt]??location.href),o=t.state[Y],s=_.url?ge(location)===ge(_.url):!1;if(o===x&&(it||s)){r!==k.state&&(k.state=r),e(i),q[y]=ue(),a&&scrollTo(a.x,a.y),y=n;return}const l=n-y;await H({type:"popstate",url:i,popped:{state:r,scroll:a,delta:l},accept:()=>{y=n,x=o},block:()=>{history.go(-l)},nav_token:j,event:t})}else if(!K){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{K&&(K=!1,history.replaceState({...history.state,[B]:++y,[Y]:x},"",location.href))});for(const t of document.querySelectorAll("link"))Gt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(F.current=null)});function e(t){_.url=k.url=t,N.page.set(qe(k)),N.page.notify()}}async function rn(e,{status:t=200,error:n,node_ids:a,params:r,route:i,server_route:o,data:s,form:c}){st=!0;const l=new URL(location.href);let g;({params:r={},route:i={id:null}}=await de(l,!1)||{}),g=Te.find(({id:u})=>u===i.id);let m,f=!0;try{const u=a.map(async(w,p)=>{const d=s[p];return d?.uses&&(d.uses=on(d.uses)),Ce({loader:v.nodes[w],url:l,params:r,route:i,parent:async()=>{const E={};for(let S=0;S<p;S+=1)Object.assign(E,(await u[S]).data);return E},server_data_node:Ne(d)})}),h=await Promise.all(u);if(g){const w=g.layouts;for(let p=0;p<w.length;p++)w[p]||h.splice(p,0,void 0)}m=ie({url:l,params:r,branch:h,status:t,error:n,form:c,route:g??null})}catch(u){if(u instanceof Re){await W(new URL(u.location,location.href));return}m=await $e({status:Ue(u),error:await Q(u,{url:l,params:r,route:i}),url:l,route:i}),e.textContent="",f=!1}m.props.page&&(m.props.page.state={}),await ft(m,e,f)}function on(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??[])}}let ke=!1;function sn(e,t=null){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=mt(e);if(a&&document.getElementById(a)){const{x:i,y:o}=t??ue();setTimeout(()=>{const s=history.state;ke=!0,location.replace(`#${a}`),v.hash&&location.replace(e.hash),history.replaceState(s,"",e.hash),scrollTo(i,o),ke=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const i=[];for(let o=0;o<r.rangeCount;o+=1)i.push(r.getRangeAt(o));setTimeout(()=>{if(r.rangeCount===i.length){for(let o=0;o<r.rangeCount;o+=1){const s=i[o],c=r.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}r.removeAllRanges()}})}}}function je(e,t,n,a){let r,i;const o=new Promise((c,l)=>{r=c,i=l});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:a,complete:o},fulfil:r,reject:i}}function qe(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 cn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function mt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{Se as H,_n as a,mn as b,wn as g,dn as l,k as p,N as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{S as D,i as R,T as N,X as Y,a3 as M,a4 as w,a5 as x,a6 as U,a7 as A,a8 as q,a9 as C,w as O,aa as F,ab as y,ac as $,ad as j,ae as z,g as P,a1 as G,af as H,ag as X,ah as Z,ai as k,aj as J,ak as K,al as Q,v as V,am as W,an as m,ao as p,ap as aa}from"./B_q4GCYp.js";import{B as ra}from"./IsdS-L-O.js";function sa(a,r,s=!1){R&&N();var f=new ra(a),n=s?Y:0;function e(u,t){if(R){const S=M(a)===w;if(u===S){var _=x();U(_),f.anchor=_,A(!1),f.ensure(u,t),A(!0);return}}f.ensure(u,t)}D(()=>{var u=!1;r((t,_=!0)=>{u=!0,e(_,t)}),u||e(!1,null)},n)}function I(a,r){return a===r||a?.[y]===r}function ta(a={},r,s,f){return q(()=>{var n,e;return C(()=>{n=e,e=[],O(()=>{a!==s(...e)&&(r(a,...e),n&&I(s(...n),a)&&r(null,...n))})}),()=>{F(()=>{e&&I(s(...e),a)&&r(null,...e)})}}),a}let h=!1;function ea(a){var r=h;try{return h=!1,[a(),h]}finally{h=r}}function fa(a,r,s,f){var n=!V||(s&W)!==0,e=(s&Q)!==0,u=(s&p)!==0,t=f,_=!0,S=()=>(_&&(_=!1,t=u?O(f):f),t),v;if(e){var L=y in a||aa in a;v=$(a,r)?.set??(L&&r in a?i=>a[r]=i:void 0)}var l,E=!1;e?[l,E]=ea(()=>a[r]):l=a[r],l===void 0&&f!==void 0&&(l=S(),v&&(n&&j(),v(l)));var d;if(n?d=()=>{var i=a[r];return i===void 0?S():(_=!0,i)}:d=()=>{var i=a[r];return i!==void 0&&(t=void 0),i===void 0?t:i},n&&(s&z)===0)return d;if(v){var o=a.$$legacy;return(function(i,g){return arguments.length>0?((!n||!g||o||E)&&v(g?d():i),i):d()})}var b=!1,c=((s&m)!==0?G:H)(()=>(b=!1,d()));e&&P(c);var B=J;return(function(i,g){if(arguments.length>0){const T=g?P(c):n&&e?X(i):i;return Z(c,T),b=!0,t!==void 0&&(t=T),i}return k&&b||(B.f&K)!==0?c.v:P(c)})}export{ta as b,sa as i,fa as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{k as g,Z as d,u as c,w as m,_ as i,$ as b,g as p,a0 as k,a1 as v,a2 as h}from"./B_q4GCYp.js";function x(n=!1){const s=g,e=s.l.u;if(!e)return;let f=()=>k(s.s);if(n){let a=0,t={};const _=v(()=>{let l=!1;const r=s.s;for(const o in r)r[o]!==t[o]&&(t[o]=r[o],l=!0);return l&&a++,a});f=()=>p(_)}e.b.length&&d(()=>{u(s,f),i(e.b)}),c(()=>{const a=m(()=>e.m.map(b));return()=>{for(const t of a)typeof t=="function"&&t()}}),e.a.length&&c(()=>{u(s,f),i(e.a)})}function u(n,s){if(n.l.s)for(const e of n.l.s)p(e);s()}h();export{x as i};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as m,i as g,j as y,l as s,u as b,k as n,m as i,n as v,o as h,q as f,v as x,w as r,x as C,y as w,z as k,A as S,B as A,C as j,D,E,F as q,G as z,H as M,I as O}from"./B_q4GCYp.js";import{c as P}from"./IsdS-L-O.js";function U(e,t){if(m(),g){const a=window.__svelte?.h;if(a?.has(e))return a.get(e);y()}return t()}function $(){return i===null&&v(),(i.ac??=new AbortController).signal}function _(e){n===null&&s(),x&&n.l!==null?c(n).m.push(e):b(()=>{const t=r(e);if(typeof t=="function")return t})}function B(e){n===null&&s(),_(()=>()=>r(e))}function F(e,t,{bubbles:a=!1,cancelable:l=!1}={}){return new CustomEvent(e,{detail:t,bubbles:a,cancelable:l})}function G(){const e=n;return e===null&&s(),(t,a,l)=>{const o=e.s.$$events?.[t];if(o){const p=h(o)?o.slice():[o],u=F(t,a,l);for(const d of p)d.call(e.x,u);return!u.defaultPrevented}return!0}}function H(e){n===null&&s(),n.l===null&&f(),c(n).b.push(e)}function I(e){n===null&&s(),n.l===null&&f(),c(n).a.push(e)}function c(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}const J=Object.freeze(Object.defineProperty({__proto__:null,afterUpdate:I,beforeUpdate:H,createContext:C,createEventDispatcher:G,createRawSnippet:P,flushSync:w,fork:k,getAbortSignal:$,getAllContexts:S,getContext:A,hasContext:j,hydratable:U,hydrate:D,mount:E,onDestroy:B,onMount:_,setContext:q,settled:z,tick:M,unmount:O,untrack:r},Symbol.toStringTag,{value:"Module"}));export{B as a,_ as o,J as s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as e,p as r}from"./CjNVVA_K.js";const t={get error(){return r.error},get status(){return r.status},get url(){return r.url}};e.updated.check;const a=t;export{a as p};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{J as d,K as m,L as o,M as v,N as l,O as p,i as u,P as _,Q as b,R as g,S as k,T as w,U as y,V as M,W as A,X as F,Y as R}from"./B_q4GCYp.js";class S{anchor;#t=new Map;#s=new Map;#e=new Map;#a=new Set;#i=!0;constructor(s,a=!0){this.anchor=s,this.#i=a}#r=()=>{var s=d;if(this.#t.has(s)){var a=this.#t.get(s),t=this.#s.get(a);if(t)m(t),this.#a.delete(a);else{var e=this.#e.get(a);e&&(this.#s.set(a,e.effect),this.#e.delete(a),e.fragment.lastChild.remove(),this.anchor.before(e.fragment),t=e.effect)}for(const[i,r]of this.#t){if(this.#t.delete(i),i===s)break;const n=this.#e.get(r);n&&(o(n.effect),this.#e.delete(r))}for(const[i,r]of this.#s){if(i===a||this.#a.has(i))continue;const n=()=>{if(Array.from(this.#t.values()).includes(i)){var h=document.createDocumentFragment();b(r,h),h.append(l()),this.#e.set(i,{effect:r,fragment:h})}else o(r);this.#a.delete(i),this.#s.delete(i)};this.#i||!t?(this.#a.add(i),v(r,n,!1)):n()}}};#n=s=>{this.#t.delete(s);const a=Array.from(this.#t.values());for(const[t,e]of this.#e)a.includes(t)||(o(e.effect),this.#e.delete(t))};ensure(s,a){var t=d,e=g();if(a&&!this.#s.has(s)&&!this.#e.has(s))if(e){var i=document.createDocumentFragment(),r=l();i.append(r),this.#e.set(s,{effect:p(()=>a(r)),fragment:i})}else this.#s.set(s,p(()=>a(this.anchor)));if(this.#t.set(t,s),e){for(const[n,f]of this.#s)n===s?t.skipped_effects.delete(f):t.skipped_effects.add(f);for(const[n,f]of this.#e)n===s?t.skipped_effects.delete(f.effect):t.skipped_effects.add(f.effect);t.oncommit(this.#r),t.ondiscard(this.#n)}else u&&(this.anchor=_),this.#r()}}function x(c,s,...a){var t=new S(c);k(()=>{const e=s()??null;t.ensure(e,e&&(i=>e(i,...a)))},F)}function E(c){return(s,...a)=>{var t=c(...a),e;if(u)e=_,w();else{var i=t.render().trim(),r=y(i);e=R(r),s.before(e)}const n=t.setup?.(e);M(e,e),typeof n=="function"&&A(n)}}export{S as B,E as c,x as s};
|