gardenjs 1.2.0 → 1.3.1
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/.husky/pre-commit +0 -3
- package/README.md +2 -2
- package/dist/assets/index-BdHEnSov.js +48 -0
- package/dist/assets/index-DP8Zsu6y.css +19 -0
- package/dist/index.html +2 -2
- package/package.json +13 -13
- package/src/client/GardenApp.svelte +30 -11
- package/src/client/assets/scss/base/general.css +1 -0
- package/src/client/components/highlight/highlight.css +114 -112
- package/src/client/components/panes/HorizontalSplitPane.svelte +0 -1
- package/src/client/components/panes/ResizePane.svelte +2 -2
- package/src/client/components/sidebar/Bookmarks.svelte +120 -0
- package/src/client/components/sidebar/Sidebar.svelte +9 -6
- package/src/client/components/sidebar/SidebarNav.svelte +7 -7
- package/src/client/components/sidebar/SidebarNavLinks.svelte +18 -13
- package/src/client/components/stage/Stage.svelte +0 -2
- package/src/client/components/stage/panel/PanelComponent.svelte +39 -12
- package/src/client/components/topbar/Topbar.svelte +47 -27
- package/src/client/logic/navTree.js +79 -4
- package/src/client/logic/stage.js +51 -7
- package/dist/assets/index-8pLaMTQ4.js +0 -48
- package/dist/assets/index-CXppSc-j.css +0 -19
package/.husky/pre-commit
CHANGED
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
|
|
20
20
|
## The quick and easy alternative
|
|
21
21
|
|
|
22
|
-
Gardenjs is an open source UI component library explorer
|
|
22
|
+
Gardenjs is an open source UI component library explorer and provides a centralized platform for developers to create, test and present UI components and pages in isolation. Gardenjs promotes modular and reusable code, streamlines collaboration between team members and increases overall productivity. Gardenjs is designed for projects of any size.
|
|
23
23
|
|
|
24
24
|
Watch the <a href="https://demo.gardenjs.org/">demo</a>.
|
|
25
25
|
|
|
@@ -39,7 +39,7 @@ Please follow the documentation at <a href="https://gardenjs.org/" target="_blan
|
|
|
39
39
|
|
|
40
40
|
## Supported Frameworks
|
|
41
41
|
|
|
42
|
-
HTML snippets are rendered by default. The support of
|
|
42
|
+
HTML snippets are rendered by default. The support of frameworks and template languages is realized by renderer plugins. There are currently plugins for <a href="https://github.com/gardenjs/render-plugin-svelte" target="_blank">Svelte</a>, <a href="https://github.com/gardenjs/render-plugin-vue" target="_blank">Vue</a> and <a href="https://github.com/gardenjs/render-plugin-react" target="_blank">React</a>. You can also easily create plugins for other frameworks, see the documentation. Contact us, we will be happy to create a repository for your renderer plugin.
|
|
43
43
|
|
|
44
44
|
## Contributing
|
|
45
45
|
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var Ml=Object.defineProperty;var Hl=(s,e,t)=>e in s?Ml(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var wn=(s,e,t)=>Hl(s,typeof e!="symbol"?e+"":e,t);import{S as Te,i as ze,s as be,c as At,e as x,a as B,b as E,d as b,f as p,g as A,h as o,j as dt,t as P,k as j,l as m,m as K,u as jt,n as Dt,o as Wt,p as O,q as F,r as Fe,v as il,w as rl,x as Et,y as ke,z as Ft,A as xn,B as xe,C as mt,D as Se,E as Ee,F as We,G as ye,H as Oe,I as En,J as yn,K as Tn,L as vt,M as yt,N as pe,O as me,P as an,Q as Ze,R as ae,T as ol,U as al,V as wt,W as Ll,X as U,Y as q,Z as Il,_ as Z,$ as se}from"./index-OMTxPB5B.js";import{navTree as Rl,routes as Nl}from"../base.js";import{dasMap as Bl}from"../das_import_map.js";import Al from"../../garden.config.js";function je(s){return(s==null?void 0:s.length)!==void 0?s:Array.from(s)}const jl=s=>({}),zn=s=>({}),Dl=s=>({}),Sn=s=>({});function Wl(s){let e,t,n,l,i,r,a,u;const c=s[8].top,f=At(c,s,s[7],Sn),h=s[8].bottom,g=At(h,s,s[7],zn);return{c(){e=x("div"),t=x("div"),f&&f.c(),n=B(),l=x("div"),i=B(),g&&g.c(),this.h()},l(d){e=E(d,"DIV",{class:!0});var _=b(e);t=E(_,"DIV",{class:!0,style:!0});var T=b(t);f&&f.l(T),T.forEach(p),n=A(_),l=E(_,"DIV",{class:!0}),b(l).forEach(p),i=A(_),g&&g.l(_),_.forEach(p),this.h()},h(){o(t,"class","top svelte-1pql0kc"),dt(t,"height",s[2]),o(l,"class","dragbar svelte-1pql0kc"),P(l,"dragging",s[1]),o(e,"class","container svelte-1pql0kc")},m(d,_){j(d,e,_),m(e,t),f&&f.m(t,null),m(e,n),m(e,l),m(e,i),g&&g.m(e,null),s[9](e),r=!0,a||(u=K(l,"mousedown",s[3]),a=!0)},p(d,[_]){f&&f.p&&(!r||_&128)&&jt(f,c,d,d[7],r?Wt(c,d[7],_,Dl):Dt(d[7]),Sn),(!r||_&4)&&dt(t,"height",d[2]),(!r||_&2)&&P(l,"dragging",d[1]),g&&g.p&&(!r||_&128)&&jt(g,h,d,d[7],r?Wt(h,d[7],_,jl):Dt(d[7]),zn)},i(d){r||(O(f,d),O(g,d),r=!0)},o(d){F(f,d),F(g,d),r=!1},d(d){d&&p(e),f&&f.d(d),g&&g.d(d),s[9](null),a=!1,u()}}}function Ol(s,e,t){let{$$slots:n={},$$scope:l}=e;const i=Fe();let{topHeight:r}=e,{maxHeight:a}=e,u,c=!1,f=!1,h;const g=new ResizeObserver(w=>{w.forEach(()=>{i("out",{maxHeight:u.offsetHeight,maxWidth:u.offsetWidth})})});il(()=>{g.observe(u)}),rl(()=>{g.disconnect()});function d(){document.addEventListener("mousemove",_),document.addEventListener("mouseup",T),t(1,c=!0)}const _=w=>{window.getSelection().removeAllRanges();const C=Math.min(a,w.pageY-u.offsetTop-7);t(4,r=C),i("out",{topHeight:r})};function T(){document.removeEventListener("mousemove",_),document.removeEventListener("mouseup",T),i("out",{topHeight:r}),t(1,c=!1)}function S(w){Et[w?"unshift":"push"](()=>{u=w,t(0,u)})}return s.$$set=w=>{"topHeight"in w&&t(4,r=w.topHeight),"maxHeight"in w&&t(5,a=w.maxHeight),"$$scope"in w&&t(7,l=w.$$scope)},s.$$.update=()=>{if(s.$$.dirty&65&&u&&!f){t(6,f=!0);const w=u.offsetHeight;i("out",{maxHeight:w,topHeight:Math.round(w*.7)})}s.$$.dirty&48&&Number.isInteger(r)&&Number.isInteger(a)&&t(2,h=a<r?a+"px":r+"px")},[u,c,h,d,r,a,f,l,n,S]}class Pl extends Te{constructor(e){super(),ze(this,e,Ol,Wl,be,{topHeight:4,maxHeight:5})}}function Ul(s){let e,t,n,l,i='<div class="dragbar-icon svelte-mmou7f"></div>',r,a,u='<div class="dragbar-icon svelte-mmou7f"></div>',c,f,h='<div class="dragbar-icon svelte-mmou7f"></div>',g,d,_;const T=s[10].default,S=At(T,s,s[9],null);return{c(){e=x("div"),t=x("div"),S&&S.c(),n=B(),l=x("div"),l.innerHTML=i,r=B(),a=x("div"),a.innerHTML=u,c=B(),f=x("div"),f.innerHTML=h,this.h()},l(w){e=E(w,"DIV",{class:!0});var C=b(e);t=E(C,"DIV",{class:!0});var y=b(t);S&&S.l(y),y.forEach(p),n=A(C),l=E(C,"DIV",{class:!0,"data-svelte-h":!0}),ke(l)!=="svelte-t0brzg"&&(l.innerHTML=i),r=A(C),a=E(C,"DIV",{class:!0,"data-svelte-h":!0}),ke(a)!=="svelte-tvugpc"&&(a.innerHTML=u),c=A(C),f=E(C,"DIV",{class:!0,"data-svelte-h":!0}),ke(f)!=="svelte-1j8ul53"&&(f.innerHTML=h),C.forEach(p),this.h()},h(){o(t,"class","resizepane"),P(t,"disabled",s[0]),dt(t,"width",s[0]?void 0:s[3]),dt(t,"height",s[0]?void 0:s[2]),o(l,"class","dragbar vertical svelte-mmou7f"),P(l,"disabled",s[0]),o(a,"class","dragbar horizontal svelte-mmou7f"),P(a,"disabled",s[0]),o(f,"class","dragbar corner svelte-mmou7f"),P(f,"disabled",s[0]),o(e,"class","resizepane-container svelte-mmou7f"),P(e,"disabled",s[0])},m(w,C){j(w,e,C),m(e,t),S&&S.m(t,null),s[11](t),m(e,n),m(e,l),m(e,r),m(e,a),m(e,c),m(e,f),g=!0,d||(_=[K(l,"mousedown",s[4]("vertical")),K(a,"mousedown",s[4]("horizontal")),K(f,"mousedown",s[4]("verticalhorizontal"))],d=!0)},p(w,[C]){S&&S.p&&(!g||C&512)&&jt(S,T,w,w[9],g?Wt(T,w[9],C,null):Dt(w[9]),null),(!g||C&1)&&P(t,"disabled",w[0]),C&9&&dt(t,"width",w[0]?void 0:w[3]),C&5&&dt(t,"height",w[0]?void 0:w[2]),(!g||C&1)&&P(l,"disabled",w[0]),(!g||C&1)&&P(a,"disabled",w[0]),(!g||C&1)&&P(f,"disabled",w[0]),(!g||C&1)&&P(e,"disabled",w[0])},i(w){g||(O(S,w),g=!0)},o(w){F(S,w),g=!1},d(w){w&&p(e),S&&S.d(w),s[11](null),d=!1,Ft(_)}}}function ql(s,e,t){let{$$slots:n={},$$scope:l}=e,{disabled:i=!1}=e,{maxHeight:r}=e,{maxWidth:a}=e,{paneHeight:u}=e,{paneWidth:c}=e;const f=Fe();let h,g="",d,_;const T=y=>()=>{g=y,document.addEventListener("mousemove",S),document.addEventListener("mouseup",w)},S=y=>{if(window.getSelection().removeAllRanges(),g.includes("horizontal")){let k=y.pageY-h.offsetTop-11;k>r?k="full":(k=Math.min(r,k),k=Math.max(50,k)),f("out",{stageHeight:k})}if(g.includes("vertical")){let k=y.pageX-h.offsetLeft-10;k>a?k="full":(k=Math.min(a,k),k=Math.max(50,k)),f("out",{stageWidth:k})}};function w(){document.removeEventListener("mousemove",S),document.removeEventListener("mouseup",w)}function C(y){Et[y?"unshift":"push"](()=>{h=y,t(1,h)})}return s.$$set=y=>{"disabled"in y&&t(0,i=y.disabled),"maxHeight"in y&&t(5,r=y.maxHeight),"maxWidth"in y&&t(6,a=y.maxWidth),"paneHeight"in y&&t(7,u=y.paneHeight),"paneWidth"in y&&t(8,c=y.paneWidth),"$$scope"in y&&t(9,l=y.$$scope)},s.$$.update=()=>{s.$$.dirty&161&&(Number.isInteger(u)&&!i?t(2,d=Math.min(u,r)+"px"):t(2,d=r+"px")),s.$$.dirty&320&&(Number.isInteger(c)?t(3,_=Math.min(c,a)+"px"):t(3,_=a+"px"))},[i,h,d,_,T,r,a,u,c,l,n,C]}class Vl extends Te{constructor(e){super(),ze(this,e,ql,Ul,be,{disabled:0,maxHeight:5,maxWidth:6,paneHeight:7,paneWidth:8})}}function Zl(s){let e,t,n;const l=[s[0].props];var i=s[0].page;function r(a,u){let c={};for(let f=0;f<l.length;f+=1)c=Tn(c,l[f]);return u!==void 0&&u&1&&(c=Tn(c,En(l,[yn(a[0].props)]))),{props:c}}return i&&(e=xn(i,r(s)),e.$on("out",s[1])),{c(){e&&xe(e.$$.fragment),t=mt()},l(a){e&&Se(e.$$.fragment,a),t=mt()},m(a,u){e&&Ee(e,a,u),j(a,t,u),n=!0},p(a,[u]){if(u&1&&i!==(i=a[0].page)){if(e){We();const c=e;F(c.$$.fragment,1,0,()=>{ye(c,1)}),Oe()}i?(e=xn(i,r(a,u)),e.$on("out",a[1]),xe(e.$$.fragment),O(e.$$.fragment,1),Ee(e,t.parentNode,t)):e=null}else if(i){const c=u&1?En(l,[yn(a[0].props)]):{};e.$set(c)}},i(a){n||(e&&O(e.$$.fragment,a),n=!0)},o(a){e&&F(e.$$.fragment,a),n=!1},d(a){a&&p(t),e&&ye(e,a)}}}function Fl(s,e,t){let{item:n={}}=e;function l(i){vt.call(this,s,i)}return s.$$set=i=>{"item"in i&&t(0,n=i.item)},[n,l]}class Ql extends Te{constructor(e){super(),ze(this,e,Fl,Zl,be,{item:0})}}function Cn(s,e,t){const n=s.slice();return n[9]=e[t],n}function Mn(s){let e,t,n,l,i,r='<svg class="controls_btn-icon svelte-1rdly8d" xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><rect width="18" height="18" x="3" y="3" rx="2" ry="2"></rect><line x1="3" x2="21" y1="15" y2="15"></line><path d="m15 8-3 3-3-3"></path></svg>',a,u,c,f,h,g,d,_=je(s[0]),T=[];for(let y=0;y<_.length;y+=1)T[y]=Hn(Cn(s,_,y));const S=[Xl,Gl],w=[];function C(y,k){return y[1]&&y[1].page?0:1}return c=C(s),f=w[c]=S[c](s),{c(){e=x("div"),t=x("nav"),n=x("ul");for(let y=0;y<T.length;y+=1)T[y].c();l=B(),i=x("button"),i.innerHTML=r,a=B(),u=x("div"),f.c(),this.h()},l(y){e=E(y,"DIV",{class:!0});var k=b(e);t=E(k,"NAV",{class:!0});var L=b(t);n=E(L,"UL",{class:!0});var M=b(n);for(let $=0;$<T.length;$+=1)T[$].l(M);M.forEach(p),L.forEach(p),l=A(k),i=E(k,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),ke(i)!=="svelte-675oun"&&(i.innerHTML=r),k.forEach(p),a=A(y),u=E(y,"DIV",{class:!0});var W=b(u);f.l(W),W.forEach(p),this.h()},h(){o(n,"class","svelte-1rdly8d"),o(t,"class","svelte-1rdly8d"),o(i,"class","panel_toggle svelte-1rdly8d"),o(i,"title","Collapse panel"),o(e,"class","panel_nav svelte-1rdly8d"),o(u,"class","panel_pane svelte-1rdly8d")},m(y,k){j(y,e,k),m(e,t),m(t,n);for(let L=0;L<T.length;L+=1)T[L]&&T[L].m(n,null);m(e,l),m(e,i),j(y,a,k),j(y,u,k),w[c].m(u,null),h=!0,g||(d=K(i,"click",s[3]),g=!0)},p(y,k){if(k&7){_=je(y[0]);let M;for(M=0;M<_.length;M+=1){const W=Cn(y,_,M);T[M]?T[M].p(W,k):(T[M]=Hn(W),T[M].c(),T[M].m(n,null))}for(;M<T.length;M+=1)T[M].d(1);T.length=_.length}let L=c;c=C(y),c===L?w[c].p(y,k):(We(),F(w[L],1,1,()=>{w[L]=null}),Oe(),f=w[c],f?f.p(y,k):(f=w[c]=S[c](y),f.c()),O(f,1),f.m(u,null))},i(y){h||(O(f),h=!0)},o(y){F(f),h=!1},d(y){y&&(p(e),p(a),p(u)),yt(T,y),w[c].d(),g=!1,d()}}}function Hn(s){let e,t,n=s[9].name+"",l,i,r,a,u;return{c(){e=x("li"),t=x("button"),l=pe(n),i=x("span"),r=B(),this.h()},l(c){e=E(c,"LI",{});var f=b(e);t=E(f,"BUTTON",{class:!0});var h=b(t);l=me(h,n),i=E(h,"SPAN",{class:!0}),b(i).forEach(p),h.forEach(p),r=A(f),f.forEach(p),this.h()},h(){o(i,"class","dot svelte-1rdly8d"),o(t,"class","svelte-1rdly8d"),P(t,"active",s[9]==s[1])},m(c,f){j(c,e,f),m(e,t),m(t,l),m(t,i),m(e,r),a||(u=K(t,"click",function(){an(s[2](s[9]))&&s[2](s[9]).apply(this,arguments)}),a=!0)},p(c,f){s=c,f&1&&n!==(n=s[9].name+"")&&Ze(l,n),f&3&&P(t,"active",s[9]==s[1])},d(c){c&&p(e),a=!1,u()}}}function Gl(s){let e;const t=s[7].default,n=At(t,s,s[6],null),l=n||Yl();return{c(){l&&l.c()},l(i){l&&l.l(i)},m(i,r){l&&l.m(i,r),e=!0},p(i,r){n&&n.p&&(!e||r&64)&&jt(n,t,i,i[6],e?Wt(t,i[6],r,null):Dt(i[6]),null)},i(i){e||(O(l,i),e=!0)},o(i){F(l,i),e=!1},d(i){l&&l.d(i)}}}function Xl(s){let e,t;return e=new Ql({props:{item:s[1]}}),e.$on("out",s[4]),{c(){xe(e.$$.fragment)},l(n){Se(e.$$.fragment,n)},m(n,l){Ee(e,n,l),t=!0},p(n,l){const i={};l&2&&(i.item=n[1]),e.$set(i)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){ye(e,n)}}}function Yl(s){let e;return{c(){e=pe("No tab content provided")},l(t){e=me(t,"No tab content provided")},m(t,n){j(t,e,n)},d(t){t&&p(e)}}}function Jl(s){let e,t,n=s[0].length&&Mn(s);return{c(){e=x("div"),n&&n.c(),this.h()},l(l){e=E(l,"DIV",{class:!0});var i=b(e);n&&n.l(i),i.forEach(p),this.h()},h(){o(e,"class","panel_container svelte-1rdly8d")},m(l,i){j(l,e,i),n&&n.m(e,null),t=!0},p(l,[i]){l[0].length?n?(n.p(l,i),i&1&&O(n,1)):(n=Mn(l),n.c(),O(n,1),n.m(e,null)):n&&(We(),F(n,1,1,()=>{n=null}),Oe())},i(l){t||(O(n),t=!0)},o(l){F(n),t=!1},d(l){l&&p(e),n&&n.d()}}}function Kl(s,e,t){let{$$slots:n={},$$scope:l}=e;const i=Fe();let{tabs:r=[]}=e,a={},u;const c=g=>()=>{t(5,a=g.name),i("out",{selecteditem:g})};function f(){i("out",{toggleExpandPanel:!0})}function h(g){u.out&&u.out(g)}return s.$$set=g=>{"tabs"in g&&t(0,r=g.tabs),"$$scope"in g&&t(6,l=g.$$scope)},s.$$.update=()=>{s.$$.dirty&33&&(r?t(1,u=r.find(g=>g.name===a)||r[0]):t(1,u={}))},[r,u,c,f,h,a,l,n]}class $l extends Te{constructor(e){super(),ze(this,e,Kl,Jl,be,{tabs:0})}}function Ln(s,e,t){const n=s.slice();return n[4]=e[t],n}function In(s){let e,t,n,l,i=s[4]+"",r,a,u,c;return{c(){e=x("li"),t=x("button"),n=x("span"),l=B(),r=pe(i),a=B(),this.h()},l(f){e=E(f,"LI",{});var h=b(e);t=E(h,"BUTTON",{class:!0});var g=b(t);n=E(g,"SPAN",{class:!0}),b(n).forEach(p),l=A(g),r=me(g,i),g.forEach(p),a=A(h),h.forEach(p),this.h()},h(){o(n,"class","dot svelte-9ikz8y"),o(t,"class","svelte-9ikz8y"),P(e,"active",s[1]==s[4])},m(f,h){j(f,e,h),m(e,t),m(t,n),m(t,l),m(t,r),m(e,a),u||(c=K(t,"click",function(){an(s[2](s[4]))&&s[2](s[4]).apply(this,arguments)}),u=!0)},p(f,h){s=f,h&1&&i!==(i=s[4]+"")&&Ze(r,i),h&3&&P(e,"active",s[1]==s[4])},d(f){f&&p(e),u=!1,c()}}}function es(s){let e,t=je(s[0]),n=[];for(let l=0;l<t.length;l+=1)n[l]=In(Ln(s,t,l));return{c(){e=x("ul");for(let l=0;l<n.length;l+=1)n[l].c();this.h()},l(l){e=E(l,"UL",{class:!0});var i=b(e);for(let r=0;r<n.length;r+=1)n[r].l(i);i.forEach(p),this.h()},h(){o(e,"class","stories svelte-9ikz8y")},m(l,i){j(l,e,i);for(let r=0;r<n.length;r+=1)n[r]&&n[r].m(e,null)},p(l,[i]){if(i&7){t=je(l[0]);let r;for(r=0;r<t.length;r+=1){const a=Ln(l,t,r);n[r]?n[r].p(a,i):(n[r]=In(a),n[r].c(),n[r].m(e,null))}for(;r<n.length;r+=1)n[r].d(1);n.length=t.length}},i:ae,o:ae,d(l){l&&p(e),yt(n,l)}}}function ts(s,e,t){let{items:n=[]}=e,{selected:l}=e;const i=Fe(),r=a=>()=>{i("out",{selecteditem:a})};return s.$$set=a=>{"items"in a&&t(0,n=a.items),"selected"in a&&t(1,l=a.selected)},[n,l,r]}class ns extends Te{constructor(e){super(),ze(this,e,ts,es,be,{items:0,selected:1})}}function ul(){return{async:!1,baseUrl:null,breaks:!1,extensions:null,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,hooks:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartypants:!1,tokenizer:null,walkTokens:null,xhtml:!1}}let st=ul();function ls(s){st=s}const cl=/[&<>"']/,ss=new RegExp(cl.source,"g"),hl=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,is=new RegExp(hl.source,"g"),rs={"&":"&","<":"<",">":">",'"':""","'":"'"},Rn=s=>rs[s];function ge(s,e){if(e){if(cl.test(s))return s.replace(ss,Rn)}else if(hl.test(s))return s.replace(is,Rn);return s}const os=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function fl(s){return s.replace(os,(e,t)=>(t=t.toLowerCase(),t==="colon"?":":t.charAt(0)==="#"?t.charAt(1)==="x"?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""))}const as=/(^|[^\[])\^/g;function X(s,e){s=typeof s=="string"?s:s.source,e=e||"";const t={replace:(n,l)=>(l=l.source||l,l=l.replace(as,"$1"),s=s.replace(n,l),t),getRegex:()=>new RegExp(s,e)};return t}const us=/[^\w:]/g,cs=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function Nn(s,e,t){if(s){let n;try{n=decodeURIComponent(fl(t)).replace(us,"").toLowerCase()}catch{return null}if(n.indexOf("javascript:")===0||n.indexOf("vbscript:")===0||n.indexOf("data:")===0)return null}e&&!cs.test(t)&&(t=gs(e,t));try{t=encodeURI(t).replace(/%25/g,"%")}catch{return null}return t}const Nt={},hs=/^[^:]+:\/*[^/]*$/,fs=/^([^:]+:)[\s\S]*$/,ds=/^([^:]+:\/*[^/]*)[\s\S]*$/;function gs(s,e){Nt[" "+s]||(hs.test(s)?Nt[" "+s]=s+"/":Nt[" "+s]=Bt(s,"/",!0)),s=Nt[" "+s];const t=s.indexOf(":")===-1;return e.substring(0,2)==="//"?t?e:s.replace(fs,"$1")+e:e.charAt(0)==="/"?t?e:s.replace(ds,"$1")+e:s+e}const Ot={exec:function(){}};function Bn(s,e){const t=s.replace(/\|/g,(i,r,a)=>{let u=!1,c=r;for(;--c>=0&&a[c]==="\\";)u=!u;return u?"|":" |"}),n=t.split(/ \|/);let l=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),n.length>e)n.splice(e);else for(;n.length<e;)n.push("");for(;l<n.length;l++)n[l]=n[l].trim().replace(/\\\|/g,"|");return n}function Bt(s,e,t){const n=s.length;if(n===0)return"";let l=0;for(;l<n;){const i=s.charAt(n-l-1);if(i===e&&!t)l++;else if(i!==e&&t)l++;else break}return s.slice(0,n-l)}function ps(s,e){if(s.indexOf(e[1])===-1)return-1;const t=s.length;let n=0,l=0;for(;l<t;l++)if(s[l]==="\\")l++;else if(s[l]===e[0])n++;else if(s[l]===e[1]&&(n--,n<0))return l;return-1}function ms(s){s&&s.sanitize&&!s.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}function An(s,e){if(e<1)return"";let t="";for(;e>1;)e&1&&(t+=s),e>>=1,s+=s;return t+s}function jn(s,e,t,n){const l=e.href,i=e.title?ge(e.title):null,r=s[1].replace(/\\([\[\]])/g,"$1");if(s[0].charAt(0)!=="!"){n.state.inLink=!0;const a={type:"link",raw:t,href:l,title:i,text:r,tokens:n.inlineTokens(r)};return n.state.inLink=!1,a}return{type:"image",raw:t,href:l,title:i,text:ge(r)}}function ks(s,e){const t=s.match(/^(\s+)(?:```)/);if(t===null)return e;const n=t[1];return e.split(`
|
|
2
|
+
`).map(l=>{const i=l.match(/^\s+/);if(i===null)return l;const[r]=i;return r.length>=n.length?l.slice(n.length):l}).join(`
|
|
3
|
+
`)}class un{constructor(e){this.options=e||st}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const n=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Bt(n,`
|
|
4
|
+
`)}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const n=t[0],l=ks(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:l}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(/#$/.test(n)){const l=Bt(n,"#");(this.options.pedantic||!l||/ $/.test(l))&&(n=l.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const n=t[0].replace(/^ *>[ \t]?/gm,""),l=this.lexer.state.top;this.lexer.state.top=!0;const i=this.lexer.blockTokens(n);return this.lexer.state.top=l,{type:"blockquote",raw:t[0],tokens:i,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n,l,i,r,a,u,c,f,h,g,d,_,T=t[1].trim();const S=T.length>1,w={type:"list",raw:"",ordered:S,start:S?+T.slice(0,-1):"",loose:!1,items:[]};T=S?`\\d{1,9}\\${T.slice(-1)}`:`\\${T}`,this.options.pedantic&&(T=S?T:"[*+-]");const C=new RegExp(`^( {0,3}${T})((?:[ ][^\\n]*)?(?:\\n|$))`);for(;e&&(_=!1,!(!(t=C.exec(e))||this.rules.block.hr.test(e)));){if(n=t[0],e=e.substring(n.length),f=t[2].split(`
|
|
5
|
+
`,1)[0].replace(/^\t+/,k=>" ".repeat(3*k.length)),h=e.split(`
|
|
6
|
+
`,1)[0],this.options.pedantic?(r=2,d=f.trimLeft()):(r=t[2].search(/[^ ]/),r=r>4?1:r,d=f.slice(r),r+=t[1].length),u=!1,!f&&/^ *$/.test(h)&&(n+=h+`
|
|
7
|
+
`,e=e.substring(h.length+1),_=!0),!_){const k=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),L=new RegExp(`^ {0,${Math.min(3,r-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),M=new RegExp(`^ {0,${Math.min(3,r-1)}}(?:\`\`\`|~~~)`),W=new RegExp(`^ {0,${Math.min(3,r-1)}}#`);for(;e&&(g=e.split(`
|
|
8
|
+
`,1)[0],h=g,this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),!(M.test(h)||W.test(h)||k.test(h)||L.test(e)));){if(h.search(/[^ ]/)>=r||!h.trim())d+=`
|
|
9
|
+
`+h.slice(r);else{if(u||f.search(/[^ ]/)>=4||M.test(f)||W.test(f)||L.test(f))break;d+=`
|
|
10
|
+
`+h}!u&&!h.trim()&&(u=!0),n+=g+`
|
|
11
|
+
`,e=e.substring(g.length+1),f=h.slice(r)}}w.loose||(c?w.loose=!0:/\n *\n *$/.test(n)&&(c=!0)),this.options.gfm&&(l=/^\[[ xX]\] /.exec(d),l&&(i=l[0]!=="[ ] ",d=d.replace(/^\[[ xX]\] +/,""))),w.items.push({type:"list_item",raw:n,task:!!l,checked:i,loose:!1,text:d}),w.raw+=n}w.items[w.items.length-1].raw=n.trimRight(),w.items[w.items.length-1].text=d.trimRight(),w.raw=w.raw.trimRight();const y=w.items.length;for(a=0;a<y;a++)if(this.lexer.state.top=!1,w.items[a].tokens=this.lexer.blockTokens(w.items[a].text,[]),!w.loose){const k=w.items[a].tokens.filter(M=>M.type==="space"),L=k.length>0&&k.some(M=>/\n.*\n/.test(M.raw));w.loose=L}if(w.loose)for(a=0;a<y;a++)w.items[a].loose=!0;return w}}html(e){const t=this.rules.block.html.exec(e);if(t){const n={type:"html",raw:t[0],pre:!this.options.sanitizer&&(t[1]==="pre"||t[1]==="script"||t[1]==="style"),text:t[0]};if(this.options.sanitize){const l=this.options.sanitizer?this.options.sanitizer(t[0]):ge(t[0]);n.type="paragraph",n.text=l,n.tokens=this.lexer.inline(l)}return n}}def(e){const t=this.rules.block.def.exec(e);if(t){const n=t[1].toLowerCase().replace(/\s+/g," "),l=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",i=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:l,title:i}}}table(e){const t=this.rules.block.table.exec(e);if(t){const n={type:"table",header:Bn(t[1]).map(l=>({text:l})),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split(`
|
|
12
|
+
`):[]};if(n.header.length===n.align.length){n.raw=t[0];let l=n.align.length,i,r,a,u;for(i=0;i<l;i++)/^ *-+: *$/.test(n.align[i])?n.align[i]="right":/^ *:-+: *$/.test(n.align[i])?n.align[i]="center":/^ *:-+ *$/.test(n.align[i])?n.align[i]="left":n.align[i]=null;for(l=n.rows.length,i=0;i<l;i++)n.rows[i]=Bn(n.rows[i],n.header.length).map(c=>({text:c}));for(l=n.header.length,r=0;r<l;r++)n.header[r].tokens=this.lexer.inline(n.header[r].text);for(l=n.rows.length,r=0;r<l;r++)for(u=n.rows[r],a=0;a<u.length;a++)u[a].tokens=this.lexer.inline(u[a].text);return n}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const n=t[1].charAt(t[1].length-1)===`
|
|
13
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:ge(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:this.options.sanitize?"text":"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):ge(t[0]):t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const n=t[2].trim();if(!this.options.pedantic&&/^</.test(n)){if(!/>$/.test(n))return;const r=Bt(n.slice(0,-1),"\\");if((n.length-r.length)%2===0)return}else{const r=ps(t[2],"()");if(r>-1){const u=(t[0].indexOf("!")===0?5:4)+t[1].length+r;t[2]=t[2].substring(0,r),t[0]=t[0].substring(0,u).trim(),t[3]=""}}let l=t[2],i="";if(this.options.pedantic){const r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(l);r&&(l=r[1],i=r[3])}else i=t[3]?t[3].slice(1,-1):"";return l=l.trim(),/^</.test(l)&&(this.options.pedantic&&!/>$/.test(n)?l=l.slice(1):l=l.slice(1,-1)),jn(t,{href:l&&l.replace(this.rules.inline._escapes,"$1"),title:i&&i.replace(this.rules.inline._escapes,"$1")},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let l=(n[2]||n[1]).replace(/\s+/g," ");if(l=t[l.toLowerCase()],!l){const i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return jn(n,l,n[0],this.lexer)}}emStrong(e,t,n=""){let l=this.rules.inline.emStrong.lDelim.exec(e);if(!l||l[3]&&n.match(/[\p{L}\p{N}]/u))return;const i=l[1]||l[2]||"";if(!i||i&&(n===""||this.rules.inline.punctuation.exec(n))){const r=l[0].length-1;let a,u,c=r,f=0;const h=l[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+r);(l=h.exec(t))!=null;){if(a=l[1]||l[2]||l[3]||l[4]||l[5]||l[6],!a)continue;if(u=a.length,l[3]||l[4]){c+=u;continue}else if((l[5]||l[6])&&r%3&&!((r+u)%3)){f+=u;continue}if(c-=u,c>0)continue;u=Math.min(u,u+c+f);const g=e.slice(0,r+l.index+(l[0].length-a.length)+u);if(Math.min(r,u)%2){const _=g.slice(1,-1);return{type:"em",raw:g,text:_,tokens:this.lexer.inlineTokens(_)}}const d=g.slice(2,-2);return{type:"strong",raw:g,text:d,tokens:this.lexer.inlineTokens(d)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(/\n/g," ");const l=/[^ ]/.test(n),i=/^ /.test(n)&&/ $/.test(n);return l&&i&&(n=n.substring(1,n.length-1)),n=ge(n,!0),{type:"codespan",raw:t[0],text:n}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e,t){const n=this.rules.inline.autolink.exec(e);if(n){let l,i;return n[2]==="@"?(l=ge(this.options.mangle?t(n[1]):n[1]),i="mailto:"+l):(l=ge(n[1]),i=l),{type:"link",raw:n[0],text:l,href:i,tokens:[{type:"text",raw:l,text:l}]}}}url(e,t){let n;if(n=this.rules.inline.url.exec(e)){let l,i;if(n[2]==="@")l=ge(this.options.mangle?t(n[0]):n[0]),i="mailto:"+l;else{let r;do r=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(r!==n[0]);l=ge(n[0]),n[1]==="www."?i="http://"+n[0]:i=n[0]}return{type:"link",raw:n[0],text:l,href:i,tokens:[{type:"text",raw:l,text:l}]}}}inlineText(e,t){const n=this.rules.inline.text.exec(e);if(n){let l;return this.lexer.state.inRawBlock?l=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(n[0]):ge(n[0]):n[0]:l=ge(this.options.smartypants?t(n[0]):n[0]),{type:"text",raw:n[0],text:l}}}}const N={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:Ot,lheading:/^((?:.|\n(?!\n))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};N._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;N._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;N.def=X(N.def).replace("label",N._label).replace("title",N._title).getRegex();N.bullet=/(?:[*+-]|\d{1,9}[.)])/;N.listItemStart=X(/^( *)(bull) */).replace("bull",N.bullet).getRegex();N.list=X(N.list).replace(/bull/g,N.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+N.def.source+")").getRegex();N._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul";N._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;N.html=X(N.html,"i").replace("comment",N._comment).replace("tag",N._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();N.paragraph=X(N._paragraph).replace("hr",N.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N._tag).getRegex();N.blockquote=X(N.blockquote).replace("paragraph",N.paragraph).getRegex();N.normal={...N};N.gfm={...N.normal,table:"^ *([^\\n ].*\\|.*)\\n {0,3}(?:\\| *)?(:?-+:? *(?:\\| *:?-+:? *)*)(?:\\| *)?(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};N.gfm.table=X(N.gfm.table).replace("hr",N.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N._tag).getRegex();N.gfm.paragraph=X(N._paragraph).replace("hr",N.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("table",N.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",N._tag).getRegex();N.pedantic={...N.normal,html:X(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",N._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Ot,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:X(N.normal._paragraph).replace("hr",N.hr).replace("heading",` *#{1,6} *[^
|
|
14
|
+
]`).replace("lheading",N.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const H={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:Ot,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:([punct_])|[^\s*]))|^_+(?:([punct*])|([^\s_]))/,rDelimAst:/^(?:[^_*\\]|\\.)*?\_\_(?:[^_*\\]|\\.)*?\*(?:[^_*\\]|\\.)*?(?=\_\_)|(?:[^*\\]|\\.)+(?=[^*])|[punct_](\*+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\*+)(?=[punct_\s]|$)|[punct_\s](\*+)(?=[^punct*_\s])|[\s](\*+)(?=[punct_])|[punct_](\*+)(?=[punct_])|(?:[^punct*_\s\\]|\\.)(\*+)(?=[^punct*_\s])/,rDelimUnd:/^(?:[^_*\\]|\\.)*?\*\*(?:[^_*\\]|\\.)*?\_(?:[^_*\\]|\\.)*?(?=\*\*)|(?:[^_\\]|\\.)+(?=[^_])|[punct*](\_+)(?=[\s]|$)|(?:[^punct*_\s\\]|\\.)(\_+)(?=[punct*\s]|$)|[punct*\s](\_+)(?=[^punct*_\s])|[\s](\_+)(?=[punct*])|[punct*](\_+)(?=[punct*])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:Ot,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\spunctuation])/};H._punctuation="!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~";H.punctuation=X(H.punctuation).replace(/punctuation/g,H._punctuation).getRegex();H.blockSkip=/\[[^\]]*?\]\([^\)]*?\)|`[^`]*?`|<[^>]*?>/g;H.escapedEmSt=/(?:^|[^\\])(?:\\\\)*\\[*_]/g;H._comment=X(N._comment).replace("(?:-->|$)","-->").getRegex();H.emStrong.lDelim=X(H.emStrong.lDelim).replace(/punct/g,H._punctuation).getRegex();H.emStrong.rDelimAst=X(H.emStrong.rDelimAst,"g").replace(/punct/g,H._punctuation).getRegex();H.emStrong.rDelimUnd=X(H.emStrong.rDelimUnd,"g").replace(/punct/g,H._punctuation).getRegex();H._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g;H._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;H._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/;H.autolink=X(H.autolink).replace("scheme",H._scheme).replace("email",H._email).getRegex();H._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;H.tag=X(H.tag).replace("comment",H._comment).replace("attribute",H._attribute).getRegex();H._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;H._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;H._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;H.link=X(H.link).replace("label",H._label).replace("href",H._href).replace("title",H._title).getRegex();H.reflink=X(H.reflink).replace("label",H._label).replace("ref",N._label).getRegex();H.nolink=X(H.nolink).replace("ref",N._label).getRegex();H.reflinkSearch=X(H.reflinkSearch,"g").replace("reflink",H.reflink).replace("nolink",H.nolink).getRegex();H.normal={...H};H.pedantic={...H.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:X(/^!?\[(label)\]\((.*?)\)/).replace("label",H._label).getRegex(),reflink:X(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",H._label).getRegex()};H.gfm={...H.normal,escape:X(H.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/};H.gfm.url=X(H.gfm.url,"i").replace("email",H.gfm._extended_email).getRegex();H.breaks={...H.gfm,br:X(H.br).replace("{2,}","*").getRegex(),text:X(H.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};function _s(s){return s.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function Dn(s){let e="",t,n;const l=s.length;for(t=0;t<l;t++)n=s.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),e+="&#"+n+";";return e}class Ke{constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||st,this.options.tokenizer=this.options.tokenizer||new un,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:N.normal,inline:H.normal};this.options.pedantic?(t.block=N.pedantic,t.inline=H.pedantic):this.options.gfm&&(t.block=N.gfm,this.options.breaks?t.inline=H.breaks:t.inline=H.gfm),this.tokenizer.rules=t}static get rules(){return{block:N,inline:H}}static lex(e,t){return new Ke(t).lex(e)}static lexInline(e,t){return new Ke(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
|
|
15
|
+
`),this.blockTokens(e,this.tokens);let t;for(;t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(a,u,c)=>u+" ".repeat(c.length));let n,l,i,r;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(a=>(n=a.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length),n.raw.length===1&&t.length>0?t[t.length-1].raw+=`
|
|
16
|
+
`:t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
|
|
17
|
+
`+n.raw,l.text+=`
|
|
18
|
+
`+n.text,this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&(l.type==="paragraph"||l.type==="text")?(l.raw+=`
|
|
19
|
+
`+n.raw,l.text+=`
|
|
20
|
+
`+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=l.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title});continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let a=1/0;const u=e.slice(1);let c;this.options.extensions.startBlock.forEach(function(f){c=f.call({lexer:this},u),typeof c=="number"&&c>=0&&(a=Math.min(a,c))}),a<1/0&&a>=0&&(i=e.substring(0,a+1))}if(this.state.top&&(n=this.tokenizer.paragraph(i))){l=t[t.length-1],r&&l.type==="paragraph"?(l.raw+=`
|
|
21
|
+
`+n.raw,l.text+=`
|
|
22
|
+
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n),r=i.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&l.type==="text"?(l.raw+=`
|
|
23
|
+
`+n.raw,l.text+=`
|
|
24
|
+
`+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=l.text):t.push(n);continue}if(e){const a="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(a);break}else throw new Error(a)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,l,i,r=e,a,u,c;if(this.tokens.links){const f=Object.keys(this.tokens.links);if(f.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)f.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+An("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,a.index)+"["+An("a",a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(a=this.tokenizer.rules.inline.escapedEmSt.exec(r))!=null;)r=r.slice(0,a.index+a[0].length-2)+"++"+r.slice(this.tokenizer.rules.inline.escapedEmSt.lastIndex),this.tokenizer.rules.inline.escapedEmSt.lastIndex--;for(;e;)if(u||(c=""),u=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(f=>(n=f.call({lexer:this},e,t))?(e=e.substring(n.raw.length),t.push(n),!0):!1))){if(n=this.tokenizer.escape(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.tag(e)){e=e.substring(n.raw.length),l=t[t.length-1],l&&n.type==="text"&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(n=this.tokenizer.link(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length),l=t[t.length-1],l&&n.type==="text"&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(n=this.tokenizer.emStrong(e,r,c)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.codespan(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.br(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.del(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.autolink(e,Dn)){e=e.substring(n.raw.length),t.push(n);continue}if(!this.state.inLink&&(n=this.tokenizer.url(e,Dn))){e=e.substring(n.raw.length),t.push(n);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let f=1/0;const h=e.slice(1);let g;this.options.extensions.startInline.forEach(function(d){g=d.call({lexer:this},h),typeof g=="number"&&g>=0&&(f=Math.min(f,g))}),f<1/0&&f>=0&&(i=e.substring(0,f+1))}if(n=this.tokenizer.inlineText(i,_s)){e=e.substring(n.raw.length),n.raw.slice(-1)!=="_"&&(c=n.raw.slice(-1)),u=!0,l=t[t.length-1],l&&l.type==="text"?(l.raw+=n.raw,l.text+=n.text):t.push(n);continue}if(e){const f="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return t}}class cn{constructor(e){this.options=e||st}code(e,t,n){const l=(t||"").match(/\S*/)[0];if(this.options.highlight){const i=this.options.highlight(e,l);i!=null&&i!==e&&(n=!0,e=i)}return e=e.replace(/\n$/,"")+`
|
|
25
|
+
`,l?'<pre><code class="'+this.options.langPrefix+ge(l)+'">'+(n?e:ge(e,!0))+`</code></pre>
|
|
26
|
+
`:"<pre><code>"+(n?e:ge(e,!0))+`</code></pre>
|
|
27
|
+
`}blockquote(e){return`<blockquote>
|
|
28
|
+
${e}</blockquote>
|
|
29
|
+
`}html(e){return e}heading(e,t,n,l){if(this.options.headerIds){const i=this.options.headerPrefix+l.slug(n);return`<h${t} id="${i}">${e}</h${t}>
|
|
30
|
+
`}return`<h${t}>${e}</h${t}>
|
|
31
|
+
`}hr(){return this.options.xhtml?`<hr/>
|
|
32
|
+
`:`<hr>
|
|
33
|
+
`}list(e,t,n){const l=t?"ol":"ul",i=t&&n!==1?' start="'+n+'"':"";return"<"+l+i+`>
|
|
34
|
+
`+e+"</"+l+`>
|
|
35
|
+
`}listitem(e){return`<li>${e}</li>
|
|
36
|
+
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return`<p>${e}</p>
|
|
37
|
+
`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),`<table>
|
|
38
|
+
<thead>
|
|
39
|
+
`+e+`</thead>
|
|
40
|
+
`+t+`</table>
|
|
41
|
+
`}tablerow(e){return`<tr>
|
|
42
|
+
${e}</tr>
|
|
43
|
+
`}tablecell(e,t){const n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>
|
|
44
|
+
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return`<del>${e}</del>`}link(e,t,n){if(e=Nn(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let l='<a href="'+e+'"';return t&&(l+=' title="'+t+'"'),l+=">"+n+"</a>",l}image(e,t,n){if(e=Nn(this.options.sanitize,this.options.baseUrl,e),e===null)return n;let l=`<img src="${e}" alt="${n}"`;return t&&(l+=` title="${t}"`),l+=this.options.xhtml?"/>":">",l}text(e){return e}}class dl{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return""+n}image(e,t,n){return""+n}br(){return""}}class gl{constructor(){this.seen={}}serialize(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/ig,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(e,t){let n=e,l=0;if(this.seen.hasOwnProperty(n)){l=this.seen[e];do l++,n=e+"-"+l;while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=l,this.seen[n]=0),n}slug(e,t={}){const n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}class $e{constructor(e){this.options=e||st,this.options.renderer=this.options.renderer||new cn,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new dl,this.slugger=new gl}static parse(e,t){return new $e(t).parse(e)}static parseInline(e,t){return new $e(t).parseInline(e)}parse(e,t=!0){let n="",l,i,r,a,u,c,f,h,g,d,_,T,S,w,C,y,k,L,M;const W=e.length;for(l=0;l<W;l++){if(d=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[d.type]&&(M=this.options.extensions.renderers[d.type].call({parser:this},d),M!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(d.type))){n+=M||"";continue}switch(d.type){case"space":continue;case"hr":{n+=this.renderer.hr();continue}case"heading":{n+=this.renderer.heading(this.parseInline(d.tokens),d.depth,fl(this.parseInline(d.tokens,this.textRenderer)),this.slugger);continue}case"code":{n+=this.renderer.code(d.text,d.lang,d.escaped);continue}case"table":{for(h="",f="",a=d.header.length,i=0;i<a;i++)f+=this.renderer.tablecell(this.parseInline(d.header[i].tokens),{header:!0,align:d.align[i]});for(h+=this.renderer.tablerow(f),g="",a=d.rows.length,i=0;i<a;i++){for(c=d.rows[i],f="",u=c.length,r=0;r<u;r++)f+=this.renderer.tablecell(this.parseInline(c[r].tokens),{header:!1,align:d.align[r]});g+=this.renderer.tablerow(f)}n+=this.renderer.table(h,g);continue}case"blockquote":{g=this.parse(d.tokens),n+=this.renderer.blockquote(g);continue}case"list":{for(_=d.ordered,T=d.start,S=d.loose,a=d.items.length,g="",i=0;i<a;i++)C=d.items[i],y=C.checked,k=C.task,w="",C.task&&(L=this.renderer.checkbox(y),S?C.tokens.length>0&&C.tokens[0].type==="paragraph"?(C.tokens[0].text=L+" "+C.tokens[0].text,C.tokens[0].tokens&&C.tokens[0].tokens.length>0&&C.tokens[0].tokens[0].type==="text"&&(C.tokens[0].tokens[0].text=L+" "+C.tokens[0].tokens[0].text)):C.tokens.unshift({type:"text",text:L}):w+=L),w+=this.parse(C.tokens,S),g+=this.renderer.listitem(w,k,y);n+=this.renderer.list(g,_,T);continue}case"html":{n+=this.renderer.html(d.text);continue}case"paragraph":{n+=this.renderer.paragraph(this.parseInline(d.tokens));continue}case"text":{for(g=d.tokens?this.parseInline(d.tokens):d.text;l+1<W&&e[l+1].type==="text";)d=e[++l],g+=`
|
|
45
|
+
`+(d.tokens?this.parseInline(d.tokens):d.text);n+=t?this.renderer.paragraph(g):g;continue}default:{const $='Token with "'+d.type+'" type was not found.';if(this.options.silent){console.error($);return}else throw new Error($)}}}return n}parseInline(e,t){t=t||this.renderer;let n="",l,i,r;const a=e.length;for(l=0;l<a;l++){if(i=e[l],this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]&&(r=this.options.extensions.renderers[i.type].call({parser:this},i),r!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type))){n+=r||"";continue}switch(i.type){case"escape":{n+=t.text(i.text);break}case"html":{n+=t.html(i.text);break}case"link":{n+=t.link(i.href,i.title,this.parseInline(i.tokens,t));break}case"image":{n+=t.image(i.href,i.title,i.text);break}case"strong":{n+=t.strong(this.parseInline(i.tokens,t));break}case"em":{n+=t.em(this.parseInline(i.tokens,t));break}case"codespan":{n+=t.codespan(i.text);break}case"br":{n+=t.br();break}case"del":{n+=t.del(this.parseInline(i.tokens,t));break}case"text":{n+=t.text(i.text);break}default:{const u='Token with "'+i.type+'" type was not found.';if(this.options.silent){console.error(u);return}else throw new Error(u)}}}return n}}class Pt{constructor(e){this.options=e||st}preprocess(e){return e}postprocess(e){return e}}wn(Pt,"passThroughHooks",new Set(["preprocess","postprocess"]));function bs(s,e,t){return n=>{if(n.message+=`
|
|
46
|
+
Please report this to https://github.com/markedjs/marked.`,s){const l="<p>An error occurred:</p><pre>"+ge(n.message+"",!0)+"</pre>";if(e)return Promise.resolve(l);if(t){t(null,l);return}return l}if(e)return Promise.reject(n);if(t){t(n);return}throw n}}function pl(s,e){return(t,n,l)=>{typeof n=="function"&&(l=n,n=null);const i={...n};n={...R.defaults,...i};const r=bs(n.silent,n.async,l);if(typeof t>"u"||t===null)return r(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return r(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(ms(n),n.hooks&&(n.hooks.options=n),l){const a=n.highlight;let u;try{n.hooks&&(t=n.hooks.preprocess(t)),u=s(t,n)}catch(h){return r(h)}const c=function(h){let g;if(!h)try{n.walkTokens&&R.walkTokens(u,n.walkTokens),g=e(u,n),n.hooks&&(g=n.hooks.postprocess(g))}catch(d){h=d}return n.highlight=a,h?r(h):l(null,g)};if(!a||a.length<3||(delete n.highlight,!u.length))return c();let f=0;R.walkTokens(u,function(h){h.type==="code"&&(f++,setTimeout(()=>{a(h.text,h.lang,function(g,d){if(g)return c(g);d!=null&&d!==h.text&&(h.text=d,h.escaped=!0),f--,f===0&&c()})},0))}),f===0&&c();return}if(n.async)return Promise.resolve(n.hooks?n.hooks.preprocess(t):t).then(a=>s(a,n)).then(a=>n.walkTokens?Promise.all(R.walkTokens(a,n.walkTokens)).then(()=>a):a).then(a=>e(a,n)).then(a=>n.hooks?n.hooks.postprocess(a):a).catch(r);try{n.hooks&&(t=n.hooks.preprocess(t));const a=s(t,n);n.walkTokens&&R.walkTokens(a,n.walkTokens);let u=e(a,n);return n.hooks&&(u=n.hooks.postprocess(u)),u}catch(a){return r(a)}}}function R(s,e,t){return pl(Ke.lex,$e.parse)(s,e,t)}R.options=R.setOptions=function(s){return R.defaults={...R.defaults,...s},ls(R.defaults),R};R.getDefaults=ul;R.defaults=st;R.use=function(...s){const e=R.defaults.extensions||{renderers:{},childTokens:{}};s.forEach(t=>{const n={...t};if(n.async=R.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if(l.renderer){const i=e.renderers[l.name];i?e.renderers[l.name]=function(...r){let a=l.renderer.apply(this,r);return a===!1&&(a=i.apply(this,r)),a}:e.renderers[l.name]=l.renderer}if(l.tokenizer){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");e[l.level]?e[l.level].unshift(l.tokenizer):e[l.level]=[l.tokenizer],l.start&&(l.level==="block"?e.startBlock?e.startBlock.push(l.start):e.startBlock=[l.start]:l.level==="inline"&&(e.startInline?e.startInline.push(l.start):e.startInline=[l.start]))}l.childTokens&&(e.childTokens[l.name]=l.childTokens)}),n.extensions=e),t.renderer){const l=R.defaults.renderer||new cn;for(const i in t.renderer){const r=l[i];l[i]=(...a)=>{let u=t.renderer[i].apply(l,a);return u===!1&&(u=r.apply(l,a)),u}}n.renderer=l}if(t.tokenizer){const l=R.defaults.tokenizer||new un;for(const i in t.tokenizer){const r=l[i];l[i]=(...a)=>{let u=t.tokenizer[i].apply(l,a);return u===!1&&(u=r.apply(l,a)),u}}n.tokenizer=l}if(t.hooks){const l=R.defaults.hooks||new Pt;for(const i in t.hooks){const r=l[i];Pt.passThroughHooks.has(i)?l[i]=a=>{if(R.defaults.async)return Promise.resolve(t.hooks[i].call(l,a)).then(c=>r.call(l,c));const u=t.hooks[i].call(l,a);return r.call(l,u)}:l[i]=(...a)=>{let u=t.hooks[i].apply(l,a);return u===!1&&(u=r.apply(l,a)),u}}n.hooks=l}if(t.walkTokens){const l=R.defaults.walkTokens;n.walkTokens=function(i){let r=[];return r.push(t.walkTokens.call(this,i)),l&&(r=r.concat(l.call(this,i))),r}}R.setOptions(n)})};R.walkTokens=function(s,e){let t=[];for(const n of s)switch(t=t.concat(e.call(R,n)),n.type){case"table":{for(const l of n.header)t=t.concat(R.walkTokens(l.tokens,e));for(const l of n.rows)for(const i of l)t=t.concat(R.walkTokens(i.tokens,e));break}case"list":{t=t.concat(R.walkTokens(n.items,e));break}default:R.defaults.extensions&&R.defaults.extensions.childTokens&&R.defaults.extensions.childTokens[n.type]?R.defaults.extensions.childTokens[n.type].forEach(function(l){t=t.concat(R.walkTokens(n[l],e))}):n.tokens&&(t=t.concat(R.walkTokens(n.tokens,e)))}return t};R.parseInline=pl(Ke.lexInline,$e.parseInline);R.Parser=$e;R.parser=$e.parse;R.Renderer=cn;R.TextRenderer=dl;R.Lexer=Ke;R.lexer=Ke.lex;R.Tokenizer=un;R.Slugger=gl;R.Hooks=Pt;R.parse=R;R.options;R.setOptions;R.use;R.walkTokens;R.parseInline;$e.parse;Ke.lex;const vs="modulepreload",ws=function(s){return"/"+s},Wn={},ml=function(e,t,n){let l=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),a=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));l=Promise.allSettled(t.map(u=>{if(u=ws(u),u in Wn)return;Wn[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":vs,c||(h.as="script"),h.crossOrigin="",h.href=u,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((g,d)=>{h.addEventListener("load",g),h.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(r){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=r,window.dispatchEvent(a),!a.defaultPrevented)throw r}return l.then(r=>{for(const a of r||[])a.status==="rejected"&&i(a.reason);return e().catch(i)})},kl=async s=>{try{(await ml(async()=>{const{default:t}=await import("./index-DLbPO8Sw.js");return{default:t}},[])).default.highlightElement(s)}catch(e){console.error("Could not load highlight.js",e)}};function xs(s){let e,t,n=R(s[0].descriptionfile||s[0].description)+"";return{c(){e=x("div"),t=new ol(!1),this.h()},l(l){e=E(l,"DIV",{class:!0});var i=b(e);t=al(i,!1),i.forEach(p),this.h()},h(){t.a=null,o(e,"class","markdown-body")},m(l,i){j(l,e,i),t.m(n,e),s[2](e)},p(l,[i]){i&1&&n!==(n=R(l[0].descriptionfile||l[0].description)+"")&&t.p(n)},i:ae,o:ae,d(l){l&&p(e),s[2](null)}}}function Es(s,e,t){let{das:n}=e,l;function i(r){Et[r?"unshift":"push"](()=>{l=r,t(1,l)})}return s.$$set=r=>{"das"in r&&t(0,n=r.das)},s.$$.update=()=>{s.$$.dirty&3&&n&&l&&setTimeout(()=>{l&&Array.from(l.querySelectorAll("pre code")).forEach(r=>{kl(r)})},200)},[n,l,i]}class ys extends Te{constructor(e){super(),ze(this,e,Es,xs,be,{das:0})}}function On(s){let e;return{c(){e=pe("Running Gardenjs in devmodus. No Code view supported.")},l(t){e=me(t,"Running Gardenjs in devmodus. No Code view supported.")},m(t,n){j(t,e,n)},d(t){t&&p(e)}}}function Pn(s){let e,t,n;return{c(){e=x("pre"),t=x("code"),n=pe(s[1]),this.h()},l(l){e=E(l,"PRE",{});var i=b(e);t=E(i,"CODE",{class:!0});var r=b(t);n=me(r,s[1]),r.forEach(p),i.forEach(p),this.h()},h(){o(t,"class","language-xml")},m(l,i){j(l,e,i),m(e,t),m(t,n),s[5](t)},p(l,i){i&2&&Ze(n,l[1])},d(l){l&&p(e),s[5](null)}}}function Ts(s){let e,t,n=s[0]&&On(),l=s[1]&&Pn(s);return{c(){e=x("div"),n&&n.c(),t=B(),l&&l.c()},l(i){e=E(i,"DIV",{});var r=b(e);n&&n.l(r),t=A(r),l&&l.l(r),r.forEach(p)},m(i,r){j(i,e,r),n&&n.m(e,null),m(e,t),l&&l.m(e,null)},p(i,[r]){i[0]?n||(n=On(),n.c(),n.m(e,t)):n&&(n.d(1),n=null),i[1]?l?l.p(i,r):(l=Pn(i),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},i:ae,o:ae,d(i){i&&p(e),n&&n.d(),l&&l.d()}}}function zs(s,e,t){let{componentName:n}=e,{devmodus:l}=e,i,r,a=[];l||u();async function u(){const h=await ml(()=>import("../raw_component_import_map.js"),[]);t(4,a=h.rawComponentMap)}function c(h,g){t(1,i=null),setTimeout(()=>{t(1,i=g[h])})}function f(h){Et[h?"unshift":"push"](()=>{r=h,t(2,r)})}return s.$$set=h=>{"componentName"in h&&t(3,n=h.componentName),"devmodus"in h&&t(0,l=h.devmodus)},s.$$.update=()=>{s.$$.dirty&24&&c(n,a),s.$$.dirty&6&&i&&r&&kl(r)},[l,i,r,n,a,f]}class Ss extends Te{constructor(e){super(),ze(this,e,zs,Ts,be,{componentName:3,devmodus:0})}}function Cs(s){let e,t;return{c(){e=x("iframe"),this.h()},l(n){e=E(n,"IFRAME",{class:!0,title:!0,src:!0,style:!0}),b(e).forEach(p),this.h()},h(){o(e,"class","stage_iframe svelte-17n05ij"),o(e,"title","preview"),wt(e.src,t="/frame.html")||o(e,"src",t),o(e,"style",s[0])},m(n,l){j(n,e,l),s[20](e)},p(n,l){l&1&&o(e,"style",n[0])},d(n){n&&p(e),s[20](null)}}}function Ms(s){let e,t;return e=new Vl({props:{slot:"top",disabled:s[1]!=="full",maxHeight:s[6],maxWidth:s[7],paneHeight:s[4],paneWidth:s[5],$$slots:{default:[Cs]},$$scope:{ctx:s}}}),e.$on("out",s[12]),{c(){xe(e.$$.fragment)},l(n){Se(e.$$.fragment,n)},m(n,l){Ee(e,n,l),t=!0},p(n,l){const i={};l&2&&(i.disabled=n[1]!=="full"),l&64&&(i.maxHeight=n[6]),l&128&&(i.maxWidth=n[7]),l&16&&(i.paneHeight=n[4]),l&32&&(i.paneWidth=n[5]),l&33554945&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){ye(e,n)}}}function Un(s){let e,t;return e=new $l({props:{tabs:s[10]}}),e.$on("out",s[19]),{c(){xe(e.$$.fragment)},l(n){Se(e.$$.fragment,n)},m(n,l){Ee(e,n,l),t=!0},p(n,l){const i={};l&1024&&(i.tabs=n[10]),e.$set(i)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){ye(e,n)}}}function Hs(s){let e,t,n=s[8]&&Un(s);return{c(){e=x("div"),n&&n.c(),this.h()},l(l){e=E(l,"DIV",{slot:!0,class:!0});var i=b(e);n&&n.l(i),i.forEach(p),this.h()},h(){o(e,"slot","bottom"),o(e,"class","panel svelte-17n05ij")},m(l,i){j(l,e,i),n&&n.m(e,null),t=!0},p(l,i){l[8]?n?(n.p(l,i),i&256&&O(n,1)):(n=Un(l),n.c(),O(n,1),n.m(e,null)):n&&(We(),F(n,1,1,()=>{n=null}),Oe())},i(l){t||(O(n),t=!0)},o(l){F(n),t=!1},d(l){l&&p(e),n&&n.d()}}}function Ls(s){let e,t;return e=new Pl({props:{topHeight:s[2],maxHeight:s[3],$$slots:{bottom:[Hs],top:[Ms]},$$scope:{ctx:s}}}),e.$on("out",s[11]),{c(){xe(e.$$.fragment)},l(n){Se(e.$$.fragment,n)},m(n,l){Ee(e,n,l),t=!0},p(n,[l]){const i={};l&4&&(i.topHeight=n[2]),l&8&&(i.maxHeight=n[3]),l&33556467&&(i.$$scope={dirty:l,ctx:n}),e.$set(i)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){ye(e,n)}}}function Is(s){globalThis.history.pushState({selectedExample:s.detail.selecteditem},"",window.location.pathname.substring(7))}function Rs(s,e,t){let n;const l=Fe();let{componentName:i}=e,{das:r={}}=e,{stageStyle:a}=e,{stageSize:u}=e,{selectedExample:c}=e,{stageContainerHeight:f}=e,{stageContainerMaxHeight:h}=e,{stageHeight:g}=e,{stageWidth:d}=e,{stageMaxHeight:_}=e,{stageMaxWidth:T}=e,{panelExpanded:S}=e,{theme:w}=e,{devmodus:C}=e,y,k;const L=new ResizeObserver(z=>{z.forEach(Q=>{W(Q.contentRect)})});il(()=>{k&&(L.observe(k),t(9,k.contentWindow.onload=()=>{t(18,y=!0)},k),k.contentWindow.addEventListener("mousemove",function(z){var Q=k.getBoundingClientRect(),I=new CustomEvent("mousemove",{bubbles:!0,cancelable:!1});I.pageX=z.clientX+Q.left,I.pageY=z.clientY+Q.top,k.dispatchEvent(I)}),k.contentWindow.addEventListener("mouseup",function(){var z=new CustomEvent("mouseup",{bubbles:!0,cancelable:!1});k.dispatchEvent(z)}))}),rl(()=>{L.disconnect()});function M(z){var I;const Q=[];return z.description&&Q.push({name:"Notes",props:{das:z},page:ys}),(I=z.examples)!=null&&I.length&&Q.push({name:"Examples",props:{selected:c,items:z.examples.map(ie=>ie.title)},page:ns,out:Is}),!C&&z.componentfile&&Q.push({name:"Code",props:{componentName:i,devmodus:C},page:Ss}),Q}function W(z){l("out",{stageRect:z})}function $(z){z.detail.topHeight&&l("out",{stageContainerHeight:z.detail.topHeight}),z.detail.maxHeight&&l("out",{stageContainerMaxHeight:z.detail.maxHeight}),z.detail.maxWidth&&l("out",{stageContainerWidth:z.detail.maxWidth})}function oe(z){z.detail.stageHeight&&l("out",{stageHeight:z.detail.stageHeight}),z.detail.stageWidth&&l("out",{stageWidth:z.detail.stageWidth})}function he(z){vt.call(this,s,z)}function Y(z){Et[z?"unshift":"push"](()=>{k=z,t(9,k)})}return s.$$set=z=>{"componentName"in z&&t(13,i=z.componentName),"das"in z&&t(14,r=z.das),"stageStyle"in z&&t(0,a=z.stageStyle),"stageSize"in z&&t(1,u=z.stageSize),"selectedExample"in z&&t(15,c=z.selectedExample),"stageContainerHeight"in z&&t(2,f=z.stageContainerHeight),"stageContainerMaxHeight"in z&&t(3,h=z.stageContainerMaxHeight),"stageHeight"in z&&t(4,g=z.stageHeight),"stageWidth"in z&&t(5,d=z.stageWidth),"stageMaxHeight"in z&&t(6,_=z.stageMaxHeight),"stageMaxWidth"in z&&t(7,T=z.stageMaxWidth),"panelExpanded"in z&&t(8,S=z.panelExpanded),"theme"in z&&t(16,w=z.theme),"devmodus"in z&&t(17,C=z.devmodus)},s.$$.update=()=>{s.$$.dirty&369154&&y&&(!k.contentDocument||/frame.html$/.test(k.contentWindow.location),k.contentWindow.postMessage({selectedExample:c,componentName:i,stageSize:u,theme:w},window.location)),s.$$.dirty&16384&&t(10,n=M(r))},[a,u,f,h,g,d,_,T,S,k,n,$,oe,i,r,c,w,C,y,he,Y]}class Ns extends Te{constructor(e){super(),ze(this,e,Rs,Ls,be,{componentName:13,das:14,stageStyle:0,stageSize:1,selectedExample:15,stageContainerHeight:2,stageContainerMaxHeight:3,stageHeight:4,stageWidth:5,stageMaxHeight:6,stageMaxWidth:7,panelExpanded:8,theme:16,devmodus:17})}}function Bs(s){let e,t,n,l,i,r='<svg xmlns="http://www.w3.org/2000/svg" width="15" viewBox="0 0 24 24" height="15" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M21 8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"></path><path d="M3.3 7l8.7 5 8.7-5M12 22V12"></path></svg>',a,u,c,f,h;return{c(){e=x("a"),t=x("div"),n=x("div"),l=B(),i=x("div"),i.innerHTML=r,a=B(),u=x("div"),c=pe(s[2]),this.h()},l(g){e=E(g,"A",{href:!0,class:!0});var d=b(e);t=E(d,"DIV",{class:!0});var _=b(t);n=E(_,"DIV",{class:!0}),b(n).forEach(p),l=A(_),i=E(_,"DIV",{class:!0,"data-svelte-h":!0}),ke(i)!=="svelte-rhhnaq"&&(i.innerHTML=r),a=A(_),u=E(_,"DIV",{class:!0});var T=b(u);c=me(T,s[2]),T.forEach(p),_.forEach(p),d.forEach(p),this.h()},h(){o(n,"class","component_dot svelte-1cnyrt6"),o(i,"class","component_icon svelte-1cnyrt6"),o(u,"class","component_label svelte-1cnyrt6"),o(t,"class","component_link-container svelte-1cnyrt6"),o(e,"href",s[0]),o(e,"class","component_link svelte-1cnyrt6"),P(e,"selected",s[1])},m(g,d){j(g,e,d),m(e,t),m(t,n),m(t,l),m(t,i),m(t,a),m(t,u),m(u,c),f||(h=K(e,"click",Ll(s[3])),f=!0)},p(g,[d]){d&4&&Ze(c,g[2]),d&1&&o(e,"href",g[0]),d&2&&P(e,"selected",g[1])},i:ae,o:ae,d(g){g&&p(e),f=!1,h()}}}function As(s,e,t){let{href:n}=e,{selected:l}=e,{text:i}=e;function r(){globalThis.history.pushState({},"",n)}return s.$$set=a=>{"href"in a&&t(0,n=a.href),"selected"in a&&t(1,l=a.selected),"text"in a&&t(2,i=a.text)},[n,l,i,r]}class _l extends Te{constructor(e){super(),ze(this,e,As,Bs,be,{href:0,selected:1,text:2})}}function qn(s,e,t){const n=s.slice();return n[4]=e[t],n}function Vn(s){let e,t,n,l,i='<svg xmlns="http://www.w3.org/2000/svg" class="close-icon svelte-134qnz1" height="12" viewBox="0 0 24 24" width="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6L6 18M6 6l12 12"></path></svg>',r,a,u,c;t=new _l({props:{href:s[4].href,selected:s[4].selected,text:s[4].name}});function f(){return s[2](s[4])}return{c(){e=x("li"),xe(t.$$.fragment),n=B(),l=x("button"),l.innerHTML=i,r=B(),this.h()},l(h){e=E(h,"LI",{class:!0});var g=b(e);Se(t.$$.fragment,g),n=A(g),l=E(g,"BUTTON",{class:!0,"data-svelte-h":!0}),ke(l)!=="svelte-1axzzzj"&&(l.innerHTML=i),r=A(g),g.forEach(p),this.h()},h(){o(l,"class","close svelte-134qnz1"),o(e,"class","component svelte-134qnz1")},m(h,g){j(h,e,g),Ee(t,e,null),m(e,n),m(e,l),m(e,r),a=!0,u||(c=K(l,"click",f),u=!0)},p(h,g){s=h;const d={};g&1&&(d.href=s[4].href),g&1&&(d.selected=s[4].selected),g&1&&(d.text=s[4].name),t.$set(d)},i(h){a||(O(t.$$.fragment,h),a=!0)},o(h){F(t.$$.fragment,h),a=!1},d(h){h&&p(e),ye(t),u=!1,c()}}}function js(s){let e,t,n='<span class="bookmarks_title-icon svelte-134qnz1"><svg xmlns="http://www.w3.org/2000/svg" class="bookmark_icon" height="15" viewBox="0 0 24 24" width="15" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"></path></svg></span> <span class="bookmarks_title-label svelte-134qnz1">Bookmarks</span>',l,i,r,a,u,c,f=je(s[0]),h=[];for(let d=0;d<f.length;d+=1)h[d]=Vn(qn(s,f,d));const g=d=>F(h[d],1,1,()=>{h[d]=null});return{c(){e=x("div"),t=x("div"),t.innerHTML=n,l=B(),i=x("nav"),r=x("ul");for(let d=0;d<h.length;d+=1)h[d].c();a=B(),u=x("div"),this.h()},l(d){e=E(d,"DIV",{class:!0});var _=b(e);t=E(_,"DIV",{class:!0,"data-svelte-h":!0}),ke(t)!=="svelte-yph7f9"&&(t.innerHTML=n),l=A(_),i=E(_,"NAV",{class:!0});var T=b(i);r=E(T,"UL",{class:!0});var S=b(r);for(let w=0;w<h.length;w+=1)h[w].l(S);S.forEach(p),T.forEach(p),a=A(_),u=E(_,"DIV",{class:!0}),b(u).forEach(p),_.forEach(p),this.h()},h(){o(t,"class","bookmarks_title svelte-134qnz1"),o(r,"class","components svelte-134qnz1"),o(i,"class","bookmarks_nav"),o(u,"class","border-btm svelte-134qnz1"),o(e,"class","bookmarks svelte-134qnz1")},m(d,_){j(d,e,_),m(e,t),m(e,l),m(e,i),m(i,r);for(let T=0;T<h.length;T+=1)h[T]&&h[T].m(r,null);m(e,a),m(e,u),c=!0},p(d,[_]){if(_&3){f=je(d[0]);let T;for(T=0;T<f.length;T+=1){const S=qn(d,f,T);h[T]?(h[T].p(S,_),O(h[T],1)):(h[T]=Vn(S),h[T].c(),O(h[T],1),h[T].m(r,null))}for(We(),T=f.length;T<h.length;T+=1)g(T);Oe()}},i(d){if(!c){for(let _=0;_<f.length;_+=1)O(h[_]);c=!0}},o(d){h=h.filter(Boolean);for(let _=0;_<h.length;_+=1)F(h[_]);c=!1},d(d){d&&p(e),yt(h,d)}}}function Ds(s,e,t){const n=Fe();let{bookmarks:l=[]}=e;function i(a){n("out",{toggleBookmark:a})}const r=a=>i(a);return s.$$set=a=>{"bookmarks"in a&&t(0,l=a.bookmarks)},[l,i,r]}class Ws extends Te{constructor(e){super(),ze(this,e,Ds,js,be,{bookmarks:0})}}function Zn(s,e,t){const n=s.slice();return n[6]=e[t],n}function Os(s){let e,t,n,l='<svg xmlns="http://www.w3.org/2000/svg" width="12" viewBox="0 0 24 24" height="12" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M18 15l-6-6-6 6"></path></svg>',i,r,a='<svg xmlns="http://www.w3.org/2000/svg" width="15" viewBox="0 0 24 24" height="15" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M4 20h16a2 2 0 002-2V8a2 2 0 00-2-2h-7.93a2 2 0 01-1.66-.9l-.82-1.2A2 2 0 007.93 3H4a2 2 0 00-2 2v13c0 1.1.9 2 2 2z"></path></svg>',u,c,f,h=s[6].name+"",g,d,_,T,S,w,C;function y(){return s[3](s[6])}let k=s[6].unfolded&&Fn(s);return{c(){e=x("li"),t=x("button"),n=x("span"),n.innerHTML=l,i=B(),r=x("span"),r.innerHTML=a,u=B(),c=x("span"),f=new ol(!1),_=B(),k&&k.c(),T=B(),this.h()},l(L){e=E(L,"LI",{class:!0});var M=b(e);t=E(M,"BUTTON",{class:!0,title:!0});var W=b(t);n=E(W,"SPAN",{class:!0,"data-svelte-h":!0}),ke(n)!=="svelte-1uqfrmg"&&(n.innerHTML=l),i=A(W),r=E(W,"SPAN",{class:!0,"data-svelte-h":!0}),ke(r)!=="svelte-1aixm8"&&(r.innerHTML=a),u=A(W),c=E(W,"SPAN",{class:!0});var $=b(c);f=al($,!1),$.forEach(p),W.forEach(p),_=A(M),k&&k.l(M),T=A(M),M.forEach(p),this.h()},h(){o(n,"class","folder_arrow svelte-1nn9bvq"),P(n,"unfolded_icon",s[6].unfolded),o(r,"class","folder_icon svelte-1nn9bvq"),f.a=null,o(c,"class","folder_label svelte-1nn9bvq"),o(t,"class",g="folder_btn btn_level-"+s[1]+" svelte-1nn9bvq"),o(t,"title",d=s[6].unfolded?"fold":"unfold"),o(e,"class","folder svelte-1nn9bvq"),P(e,"unfolded",s[6].unfolded)},m(L,M){j(L,e,M),m(e,t),m(t,n),m(t,i),m(t,r),m(t,u),m(t,c),f.m(h,c),m(e,_),k&&k.m(e,null),m(e,T),S=!0,w||(C=K(t,"click",y),w=!0)},p(L,M){s=L,(!S||M&1)&&P(n,"unfolded_icon",s[6].unfolded),(!S||M&1)&&h!==(h=s[6].name+"")&&f.p(h),(!S||M&2&&g!==(g="folder_btn btn_level-"+s[1]+" svelte-1nn9bvq"))&&o(t,"class",g),(!S||M&1&&d!==(d=s[6].unfolded?"fold":"unfold"))&&o(t,"title",d),s[6].unfolded?k?(k.p(s,M),M&1&&O(k,1)):(k=Fn(s),k.c(),O(k,1),k.m(e,T)):k&&(We(),F(k,1,1,()=>{k=null}),Oe()),(!S||M&1)&&P(e,"unfolded",s[6].unfolded)},i(L){S||(O(k),S=!0)},o(L){F(k),S=!1},d(L){L&&p(e),k&&k.d(),w=!1,C()}}}function Ps(s){let e,t,n,l;return t=new _l({props:{href:s[6].href,selected:s[6].selected,text:s[6].name}}),{c(){e=x("li"),xe(t.$$.fragment),n=B(),this.h()},l(i){e=E(i,"LI",{class:!0});var r=b(e);Se(t.$$.fragment,r),n=A(r),r.forEach(p),this.h()},h(){o(e,"class","component svelte-1nn9bvq")},m(i,r){j(i,e,r),Ee(t,e,null),m(e,n),l=!0},p(i,r){const a={};r&1&&(a.href=i[6].href),r&1&&(a.selected=i[6].selected),r&1&&(a.text=i[6].name),t.$set(a)},i(i){l||(O(t.$$.fragment,i),l=!0)},o(i){F(t.$$.fragment,i),l=!1},d(i){i&&p(e),ye(t)}}}function Fn(s){let e,t;return e=new bl({props:{nodes:s[6].children,level:s[1]+1}}),e.$on("out",s[4]),{c(){xe(e.$$.fragment)},l(n){Se(e.$$.fragment,n)},m(n,l){Ee(e,n,l),t=!0},p(n,l){const i={};l&1&&(i.nodes=n[6].children),l&2&&(i.level=n[1]+1),e.$set(i)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){ye(e,n)}}}function Qn(s){let e,t,n,l;const i=[Ps,Os],r=[];function a(u,c){return u[6].isLeaf?0:1}return e=a(s),t=r[e]=i[e](s),{c(){t.c(),n=mt()},l(u){t.l(u),n=mt()},m(u,c){r[e].m(u,c),j(u,n,c),l=!0},p(u,c){let f=e;e=a(u),e===f?r[e].p(u,c):(We(),F(r[f],1,1,()=>{r[f]=null}),Oe(),t=r[e],t?t.p(u,c):(t=r[e]=i[e](u),t.c()),O(t,1),t.m(n.parentNode,n))},i(u){l||(O(t),l=!0)},o(u){F(t),l=!1},d(u){u&&p(n),r[e].d(u)}}}function Us(s){let e,t,n,l=je(s[0]),i=[];for(let a=0;a<l.length;a+=1)i[a]=Qn(Zn(s,l,a));const r=a=>F(i[a],1,1,()=>{i[a]=null});return{c(){e=x("ul");for(let a=0;a<i.length;a+=1)i[a].c();this.h()},l(a){e=E(a,"UL",{class:!0});var u=b(e);for(let c=0;c<i.length;c+=1)i[c].l(u);u.forEach(p),this.h()},h(){o(e,"class",t="filter_list components level-"+s[1]+" svelte-1nn9bvq")},m(a,u){j(a,e,u);for(let c=0;c<i.length;c+=1)i[c]&&i[c].m(e,null);n=!0},p(a,[u]){if(u&7){l=je(a[0]);let c;for(c=0;c<l.length;c+=1){const f=Zn(a,l,c);i[c]?(i[c].p(f,u),O(i[c],1)):(i[c]=Qn(f),i[c].c(),O(i[c],1),i[c].m(e,null))}for(We(),c=l.length;c<i.length;c+=1)r(c);Oe()}(!n||u&2&&t!==(t="filter_list components level-"+a[1]+" svelte-1nn9bvq"))&&o(e,"class",t)},i(a){if(!n){for(let u=0;u<l.length;u+=1)O(i[u]);n=!0}},o(a){i=i.filter(Boolean);for(let u=0;u<i.length;u+=1)F(i[u]);n=!1},d(a){a&&p(e),yt(i,a)}}}function qs(s,e,t){const n=Fe();let{nodes:l=[]}=e,{level:i=1}=e;function r(c){n("out",{toggleFoldStatusOfNode:{...c}})}const a=c=>r(c);function u(c){vt.call(this,s,c)}return s.$$set=c=>{"nodes"in c&&t(0,l=c.nodes),"level"in c&&t(1,i=c.level)},[l,i,r,a,u]}class bl extends Te{constructor(e){super(),ze(this,e,qs,Us,be,{nodes:0,level:1})}}function Vs(s){let e,t;return{c(){e=x("span"),t=pe(s[3]),this.h()},l(n){e=E(n,"SPAN",{class:!0});var l=b(e);t=me(l,s[3]),l.forEach(p),this.h()},h(){o(e,"class","svelte-ky94or")},m(n,l){j(n,e,l),m(e,t)},p(n,l){l&8&&Ze(t,n[3])},d(n){n&&p(e)}}}function Zs(s){let e,t,n;return{c(){e=x("img"),this.h()},l(l){e=E(l,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){wt(e.src,t="/assets/"+s[4])||o(e,"src",t),o(e,"title","start"),o(e,"alt",n=s[3]+" logo")},m(l,i){j(l,e,i)},p(l,i){i&16&&!wt(e.src,t="/assets/"+l[4])&&o(e,"src",t),i&8&&n!==(n=l[3]+" logo")&&o(e,"alt",n)},d(l){l&&p(e)}}}function Fs(s){let e,t,n;return{c(){e=x("img"),this.h()},l(l){e=E(l,"IMG",{src:!0,title:!0,alt:!0}),this.h()},h(){wt(e.src,t="/assets/"+s[5])||o(e,"src",t),o(e,"title","start"),o(e,"alt",n=s[3]+" logo")},m(l,i){j(l,e,i)},p(l,i){i&32&&!wt(e.src,t="/assets/"+l[5])&&o(e,"src",t),i&8&&n!==(n=l[3]+" logo")&&o(e,"alt",n)},d(l){l&&p(e)}}}function Qs(s){let e,t,n,l,i=s[10].length>0&&Gn(s);return n=new bl({props:{nodes:s[0]}}),n.$on("out",s[15]),{c(){i&&i.c(),e=B(),t=x("nav"),xe(n.$$.fragment),this.h()},l(r){i&&i.l(r),e=A(r),t=E(r,"NAV",{class:!0});var a=b(t);Se(n.$$.fragment,a),a.forEach(p),this.h()},h(){o(t,"class","components-nav svelte-ky94or")},m(r,a){i&&i.m(r,a),j(r,e,a),j(r,t,a),Ee(n,t,null),l=!0},p(r,a){r[10].length>0?i?(i.p(r,a),a&1024&&O(i,1)):(i=Gn(r),i.c(),O(i,1),i.m(e.parentNode,e)):i&&(We(),F(i,1,1,()=>{i=null}),Oe());const u={};a&1&&(u.nodes=r[0]),n.$set(u)},i(r){l||(O(i),O(n.$$.fragment,r),l=!0)},o(r){F(i),F(n.$$.fragment,r),l=!1},d(r){r&&(p(e),p(t)),i&&i.d(r),ye(n)}}}function Gs(s){let e,t,n,l,i;return{c(){e=x("div"),t=x("div"),n=pe("No results for '"),l=pe(s[6]),i=pe("'"),this.h()},l(r){e=E(r,"DIV",{});var a=b(e);t=E(a,"DIV",{class:!0});var u=b(t);n=me(u,"No results for '"),l=me(u,s[6]),i=me(u,"'"),u.forEach(p),a.forEach(p),this.h()},h(){o(t,"class","filter_zero-results svelte-ky94or")},m(r,a){j(r,e,a),m(e,t),m(t,n),m(t,l),m(t,i)},p(r,a){a&64&&Ze(l,r[6])},i:ae,o:ae,d(r){r&&p(e)}}}function Gn(s){let e,t;return e=new Ws({props:{bookmarks:s[10]}}),e.$on("out",s[14]),{c(){xe(e.$$.fragment)},l(n){Se(e.$$.fragment,n)},m(n,l){Ee(e,n,l),t=!0},p(n,l){const i={};l&1024&&(i.bookmarks=n[10]),e.$set(i)},i(n){t||(O(e.$$.fragment,n),t=!0)},o(n){F(e.$$.fragment,n),t=!1},d(n){ye(e,n)}}}function Xs(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=q(n,"svg",{class:!0,xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var l=b(e);t=q(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M7 15l5 5 5-5M7 9l5-5 5 5"),o(e,"class","controls_btn-icon svelte-ky94or"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"width","20"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(n,l){j(n,e,l),m(e,t)},d(n){n&&p(e)}}}function Ys(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=q(n,"svg",{class:!0,xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var l=b(e);t=q(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M7 20l5-5 5 5M7 4l5 5 5-5"),o(e,"class","controls_btn-icon svelte-ky94or"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"width","20"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(n,l){j(n,e,l),m(e,t)},d(n){n&&p(e)}}}function Js(s){let e,t,n,l;return{c(){e=U("svg"),t=U("rect"),n=U("line"),l=U("path"),this.h()},l(i){e=q(i,"svg",{class:!0,xmlns:!0,width:!0,height:!0,viewBox:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var r=b(e);t=q(r,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0,ry:!0}),b(t).forEach(p),n=q(r,"line",{x1:!0,x2:!0,y1:!0,y2:!0}),b(n).forEach(p),l=q(r,"path",{d:!0}),b(l).forEach(p),r.forEach(p),this.h()},h(){o(t,"width","18"),o(t,"height","18"),o(t,"x","3"),o(t,"y","3"),o(t,"rx","2"),o(t,"ry","2"),o(n,"x1","3"),o(n,"x2","21"),o(n,"y1","15"),o(n,"y2","15"),o(l,"d","m9 10 3-3 3 3"),o(e,"class","controls_btn-icon svelte-ky94or"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","20"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(i,r){j(i,e,r),m(e,t),m(e,n),m(e,l)},d(i){i&&p(e)}}}function Ks(s){let e,t,n,l;return{c(){e=U("svg"),t=U("rect"),n=U("line"),l=U("path"),this.h()},l(i){e=q(i,"svg",{class:!0,xmlns:!0,width:!0,height:!0,viewBox:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var r=b(e);t=q(r,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0,ry:!0}),b(t).forEach(p),n=q(r,"line",{x1:!0,x2:!0,y1:!0,y2:!0}),b(n).forEach(p),l=q(r,"path",{d:!0}),b(l).forEach(p),r.forEach(p),this.h()},h(){o(t,"width","18"),o(t,"height","18"),o(t,"x","3"),o(t,"y","3"),o(t,"rx","2"),o(t,"ry","2"),o(n,"x1","3"),o(n,"x2","21"),o(n,"y1","15"),o(n,"y2","15"),o(l,"d","m15 8-3 3-3-3"),o(e,"class","controls_btn-icon svelte-ky94or"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"width","20"),o(e,"height","20"),o(e,"viewBox","0 0 24 24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(i,r){j(i,e,r),m(e,t),m(e,n),m(e,l)},d(i){i&&p(e)}}}function Xn(s){let e,t='<a class="controls_btn svelte-ky94or" href="https://gardenjs.org/docs" target="_blank" rel="noreferrer"><svg class="controls_btn-icon svelte-ky94or" xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><path d="M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3m.08 4h.01"></path></svg> <span class="controls_btn-label svelte-ky94or">Gardenjs Docs</span></a>';return{c(){e=x("li"),e.innerHTML=t},l(n){e=E(n,"LI",{"data-svelte-h":!0}),ke(e)!=="svelte-13os4tf"&&(e.innerHTML=t)},m(n,l){j(n,e,l)},d(n){n&&p(e)}}}function $s(s){let e,t,n,l,i,r,a,u,c,f,h,g,d,_,T,S,w=s[2]?"Collapse":"Expand",C,y,k,L,M,W,$,oe,he=s[7]?"Collapse":"Expand",Y,z,Q,I,ie,He,Qe;function ue(D,G){return D[5]&&D[9]==="dark"?Fs:D[4]?Zs:Vs}let ee=ue(s),le=ee(s);const Ie=[Gs,Qs],ve=[];function Le(D,G){return D[0].length==0&&D[6]?0:1}u=Le(s),c=ve[u]=Ie[u](s);function Pe(D,G){return D[2]?Ys:Xs}let v=Pe(s),ce=v(s);function rt(D,G){return D[7]?Ks:Js}let we=rt(s),J=we(s),te=s[8]===1&&Xn();return{c(){e=x("header"),t=x("a"),le.c(),n=B(),l=x("div"),i=x("input"),a=B(),c.c(),f=B(),h=x("nav"),g=x("ul"),d=x("li"),_=x("button"),ce.c(),T=B(),S=x("span"),C=pe(w),y=pe(" Navigation"),L=B(),M=x("li"),W=x("button"),J.c(),$=B(),oe=x("span"),Y=pe(he),z=pe(" Panel"),I=B(),te&&te.c(),this.h()},l(D){e=E(D,"HEADER",{class:!0});var G=b(e);t=E(G,"A",{class:!0,href:!0});var Re=b(t);le.l(Re),Re.forEach(p),n=A(G),l=E(G,"DIV",{class:!0});var et=b(l);i=E(et,"INPUT",{"aria-autocomplete":!0,id:!0,class:!0,autocomplete:!0,type:!0,placeholder:!0}),et.forEach(p),a=A(G),c.l(G),f=A(G),h=E(G,"NAV",{class:!0});var Ce=b(h);g=E(Ce,"UL",{});var Ue=b(g);d=E(Ue,"LI",{});var ot=b(d);_=E(ot,"BUTTON",{class:!0,title:!0});var _e=b(_);ce.l(_e),T=A(_e),S=E(_e,"SPAN",{class:!0});var Ge=b(S);C=me(Ge,w),y=me(Ge," Navigation"),Ge.forEach(p),_e.forEach(p),ot.forEach(p),L=A(Ue),M=E(Ue,"LI",{});var at=b(M);W=E(at,"BUTTON",{class:!0,title:!0});var tt=b(W);J.l(tt),$=A(tt),oe=E(tt,"SPAN",{class:!0});var ut=b(oe);Y=me(ut,he),z=me(ut," Panel"),ut.forEach(p),tt.forEach(p),at.forEach(p),I=A(Ue),te&&te.l(Ue),Ue.forEach(p),Ce.forEach(p),G.forEach(p),this.h()},h(){o(t,"class","project-identifier svelte-ky94or"),o(t,"href","/"),P(t,"has-logo",s[4]),o(i,"aria-autocomplete","list"),o(i,"id","filter"),o(i,"class","filter_input svelte-ky94or"),o(i,"autocomplete","off"),o(i,"type","search"),i.value=r=s[6]||"",o(i,"placeholder","Filter..."),o(l,"class","filter svelte-ky94or"),o(S,"class","controls_btn-label svelte-ky94or"),o(_,"class","controls_btn svelte-ky94or"),o(_,"title",k=s[2]?"Collapse":"Restore"),o(oe,"class","controls_btn-label svelte-ky94or"),o(W,"class","controls_btn svelte-ky94or"),o(W,"title",Q=s[7]?"Collapse":"Restore"),o(h,"class","controls svelte-ky94or"),o(e,"class","sidebar_container svelte-ky94or"),P(e,"show-sidebar",s[1])},m(D,G){j(D,e,G),m(e,t),le.m(t,null),m(e,n),m(e,l),m(l,i),m(e,a),ve[u].m(e,null),m(e,f),m(e,h),m(h,g),m(g,d),m(d,_),ce.m(_,null),m(_,T),m(_,S),m(S,C),m(S,y),m(g,L),m(g,M),m(M,W),J.m(W,null),m(W,$),m(W,oe),m(oe,Y),m(oe,z),m(g,I),te&&te.m(g,null),ie=!0,He||(Qe=[K(i,"input",s[12]),K(_,"click",s[11]),K(W,"click",s[13])],He=!0)},p(D,[G]){ee===(ee=ue(D))&&le?le.p(D,G):(le.d(1),le=ee(D),le&&(le.c(),le.m(t,null))),(!ie||G&16)&&P(t,"has-logo",D[4]),(!ie||G&64&&r!==(r=D[6]||"")&&i.value!==r)&&(i.value=r);let Re=u;u=Le(D),u===Re?ve[u].p(D,G):(We(),F(ve[Re],1,1,()=>{ve[Re]=null}),Oe(),c=ve[u],c?c.p(D,G):(c=ve[u]=Ie[u](D),c.c()),O(c,1),c.m(e,f)),v!==(v=Pe(D))&&(ce.d(1),ce=v(D),ce&&(ce.c(),ce.m(_,T))),(!ie||G&4)&&w!==(w=D[2]?"Collapse":"Expand")&&Ze(C,w),(!ie||G&4&&k!==(k=D[2]?"Collapse":"Restore"))&&o(_,"title",k),we!==(we=rt(D))&&(J.d(1),J=we(D),J&&(J.c(),J.m(W,$))),(!ie||G&128)&&he!==(he=D[7]?"Collapse":"Expand")&&Ze(Y,he),(!ie||G&128&&Q!==(Q=D[7]?"Collapse":"Restore"))&&o(W,"title",Q),D[8]===1?te||(te=Xn(),te.c(),te.m(g,null)):te&&(te.d(1),te=null),(!ie||G&2)&&P(e,"show-sidebar",D[1])},i(D){ie||(O(c),ie=!0)},o(D){F(c),ie=!1},d(D){D&&p(e),le.d(),ve[u].d(),ce.d(),J.d(),te&&te.d(),He=!1,Ft(Qe)}}}function ei(s,e,t){const n=Fe();let{nodes:l=[]}=e,{sidebarExpanded:i=!0}=e,{rootNodesExpanded:r=!0}=e,{projectTitle:a}=e,{projectLogo:u}=e,{projectLogoDarkmode:c}=e,{filter:f}=e,{panelExpanded:h=!0}=e,{docsLink:g}=e,{appTheme:d}=e,{bookmarks:_=[]}=e;function T(){n("out",{toggleRootFolders:!0})}function S(k){n("out",{filter:{value:k.target.value}})}function w(){n("out",{toggleExpandPanel:!0})}function C(k){vt.call(this,s,k)}function y(k){vt.call(this,s,k)}return s.$$set=k=>{"nodes"in k&&t(0,l=k.nodes),"sidebarExpanded"in k&&t(1,i=k.sidebarExpanded),"rootNodesExpanded"in k&&t(2,r=k.rootNodesExpanded),"projectTitle"in k&&t(3,a=k.projectTitle),"projectLogo"in k&&t(4,u=k.projectLogo),"projectLogoDarkmode"in k&&t(5,c=k.projectLogoDarkmode),"filter"in k&&t(6,f=k.filter),"panelExpanded"in k&&t(7,h=k.panelExpanded),"docsLink"in k&&t(8,g=k.docsLink),"appTheme"in k&&t(9,d=k.appTheme),"bookmarks"in k&&t(10,_=k.bookmarks)},[l,i,r,a,u,c,f,h,g,d,_,T,S,w,C,y]}class ti extends Te{constructor(e){super(),ze(this,e,ei,$s,be,{nodes:0,sidebarExpanded:1,rootNodesExpanded:2,projectTitle:3,projectLogo:4,projectLogoDarkmode:5,filter:6,panelExpanded:7,docsLink:8,appTheme:9,bookmarks:10})}}function Yn(s,e,t){const n=s.slice();return n[27]=e[t],n}function ni(s){let e,t,n;return{c(){e=U("svg"),t=U("rect"),n=U("path"),this.h()},l(l){e=q(l,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var i=b(e);t=q(i,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(t).forEach(p),n=q(i,"path",{d:!0}),b(n).forEach(p),i.forEach(p),this.h()},h(){o(t,"x","3"),o(t,"y","3"),o(t,"width","18"),o(t,"height","18"),o(t,"rx","2"),o(t,"ry","2"),o(n,"d","M9 3v18m5-12l3 3-3 3"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"class","svelte-70vfk1")},m(l,i){j(l,e,i),m(e,t),m(e,n)},d(l){l&&p(e)}}}function li(s){let e,t,n;return{c(){e=U("svg"),t=U("rect"),n=U("path"),this.h()},l(l){e=q(l,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var i=b(e);t=q(i,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(t).forEach(p),n=q(i,"path",{d:!0}),b(n).forEach(p),i.forEach(p),this.h()},h(){o(t,"x","3"),o(t,"y","3"),o(t,"width","18"),o(t,"height","18"),o(t,"rx","2"),o(t,"ry","2"),o(n,"d","M9 3v18m7-6l-3-3 3-3"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"class","svelte-70vfk1")},m(l,i){j(l,e,i),m(e,t),m(e,n)},d(l){l&&p(e)}}}function Jn(s){let e,t,n;function l(a,u){return a[6].bookmark?ii:si}let i=l(s),r=i(s);return{c(){e=x("button"),r.c(),this.h()},l(a){e=E(a,"BUTTON",{class:!0});var u=b(e);r.l(u),u.forEach(p),this.h()},h(){o(e,"class","topbar_btn bookmark_btn svelte-70vfk1")},m(a,u){j(a,e,u),r.m(e,null),t||(n=K(e,"click",s[11]),t=!0)},p(a,u){i!==(i=l(a))&&(r.d(1),r=i(a),r&&(r.c(),r.m(e,null)))},d(a){a&&p(e),r.d(),t=!1,n()}}}function si(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=q(n,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var l=b(e);t=q(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"class","svelte-70vfk1")},m(n,l){j(n,e,l),m(e,t)},d(n){n&&p(e)}}}function ii(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=q(n,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var l=b(e);t=q(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","currentColor"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round"),o(e,"class","svelte-70vfk1")},m(n,l){j(n,e,l),m(e,t)},d(n){n&&p(e)}}}function Kn(s){let e,t,n='<svg xmlns="http://www.w3.org/2000/svg" width="24" viewBox="0 0 24 24" height="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-70vfk1"><circle cx="13.5" cy="6.5" r=".5"></circle><circle cx="17.5" cy="10.5" r=".5"></circle><circle cx="8.5" cy="7.5" r=".5"></circle><circle cx="6.5" cy="12.5" r=".5"></circle><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 011.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z"></path></svg>',l,i,r,a=je(s[3]),u=[];for(let c=0;c<a.length;c+=1)u[c]=$n(Yn(s,a,c));return{c(){e=x("div"),t=x("button"),t.innerHTML=n,l=B(),i=x("div"),r=x("ul");for(let c=0;c<u.length;c+=1)u[c].c();this.h()},l(c){e=E(c,"DIV",{class:!0});var f=b(e);t=E(f,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),ke(t)!=="svelte-9j3kdx"&&(t.innerHTML=n),l=A(f),i=E(f,"DIV",{class:!0});var h=b(i);r=E(h,"UL",{class:!0});var g=b(r);for(let d=0;d<u.length;d+=1)u[d].l(g);g.forEach(p),h.forEach(p),f.forEach(p),this.h()},h(){o(t,"class","dropdown_btn topbar_btn svelte-70vfk1"),o(t,"title","Switch component theme"),o(r,"class","svelte-70vfk1"),o(i,"class","dropdown_items svelte-70vfk1"),o(e,"class","dropdown svelte-70vfk1")},m(c,f){j(c,e,f),m(e,t),m(e,l),m(e,i),m(i,r);for(let h=0;h<u.length;h+=1)u[h]&&u[h].m(r,null)},p(c,f){if(f&65544){a=je(c[3]);let h;for(h=0;h<a.length;h+=1){const g=Yn(c,a,h);u[h]?u[h].p(g,f):(u[h]=$n(g),u[h].c(),u[h].m(r,null))}for(;h<u.length;h+=1)u[h].d(1);u.length=a.length}},d(c){c&&p(e),yt(u,c)}}}function $n(s){let e,t,n,l,i=s[27].name+"",r,a,u,c;function f(){return s[25](s[27])}return{c(){e=x("li"),t=x("button"),n=x("span"),l=B(),r=pe(i),a=B(),this.h()},l(h){e=E(h,"LI",{class:!0});var g=b(e);t=E(g,"BUTTON",{class:!0});var d=b(t);n=E(d,"SPAN",{class:!0}),b(n).forEach(p),l=A(d),r=me(d,i),d.forEach(p),a=A(g),g.forEach(p),this.h()},h(){o(n,"class","dropdown_item-dot svelte-70vfk1"),o(t,"class","svelte-70vfk1"),P(t,"active",s[27].active),o(e,"class","svelte-70vfk1")},m(h,g){j(h,e,g),m(e,t),m(t,n),m(t,l),m(t,r),m(e,a),u||(c=K(t,"click",f),u=!0)},p(h,g){s=h,g&8&&i!==(i=s[27].name+"")&&Ze(r,i),g&8&&P(t,"active",s[27].active)},d(h){h&&p(e),u=!1,c()}}}function ri(s){let e,t;return{c(){e=U("svg"),t=U("path"),this.h()},l(n){e=q(n,"svg",{xmlns:!0,class:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var l=b(e);t=q(l,"path",{d:!0}),b(t).forEach(p),l.forEach(p),this.h()},h(){o(t,"d","M12 3a6.364 6.364 0 009 9 9 9 0 11-9-9z"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"class","mode-icon svelte-70vfk1"),o(e,"height","24"),o(e,"viewBox","0 0 24 24"),o(e,"width","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(n,l){j(n,e,l),m(e,t)},d(n){n&&p(e)}}}function oi(s){let e,t,n;return{c(){e=U("svg"),t=U("circle"),n=U("path"),this.h()},l(l){e=q(l,"svg",{xmlns:!0,class:!0,width:!0,viewBox:!0,height:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0});var i=b(e);t=q(i,"circle",{cx:!0,cy:!0,r:!0}),b(t).forEach(p),n=q(i,"path",{d:!0}),b(n).forEach(p),i.forEach(p),this.h()},h(){o(t,"cx","12"),o(t,"cy","12"),o(t,"r","4"),o(n,"d","M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41"),o(e,"xmlns","http://www.w3.org/2000/svg"),o(e,"class","mode-icon svelte-70vfk1"),o(e,"width","24"),o(e,"viewBox","0 0 24 24"),o(e,"height","24"),o(e,"fill","none"),o(e,"stroke","currentColor"),o(e,"stroke-width","1.5"),o(e,"stroke-linecap","round"),o(e,"stroke-linejoin","round")},m(l,i){j(l,e,i),m(e,t),m(e,n)},d(l){l&&p(e)}}}function ai(s){let e,t,n,l,i,r,a,u,c,f,h,g,d,_="/",T,S,w,C,y,k,L,M,W,$,oe,he,Y,z,Q,I,ie,He,Qe,ue,ee,le,Ie,ve,Le,Pe,v,ce='<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" class="svelte-70vfk1"><rect x="2" y="3" width="20" height="14" rx="2" ry="2"></rect><path d="M8 21h8m-4-4v4"></path></svg> <span class="dot svelte-70vfk1"></span>',rt,we,J,te,D,G,Re,et,Ce,Ue='<svg xmlns="http://www.w3.org/2000/svg" class="open-new-tab-icon svelte-70vfk1" height="24" viewBox="0 0 24 24" width="24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M18 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V8a2 2 0 012-2h6m4-3h6v6m-11 5L21 3"></path></svg>',ot,_e,Ge,at,tt;function ut(V,ne){return V[0]?li:ni}let St=ut(s),qe=St(s),fe=s[6]&&Jn(s),de=s[3].length>1&&Kn(s);function kn(V,ne){return V[7]?oi:ri}let Ct=kn(s),Ve=Ct(s);return{c(){e=x("div"),t=x("div"),n=x("div"),l=x("button"),qe.c(),r=B(),fe&&fe.c(),a=B(),u=x("div"),c=x("div"),f=x("input"),g=B(),d=x("div"),d.textContent=_,T=B(),S=x("input"),C=B(),y=x("div"),k=x("button"),L=U("svg"),M=U("rect"),W=U("path"),$=B(),oe=x("span"),he=B(),Y=x("button"),z=U("svg"),Q=U("rect"),I=U("path"),ie=B(),He=x("span"),Qe=B(),ue=x("button"),ee=U("svg"),le=U("rect"),Ie=U("path"),ve=B(),Le=x("span"),Pe=B(),v=x("button"),v.innerHTML=ce,rt=B(),we=x("button"),J=U("svg"),te=U("rect"),D=U("rect"),Re=B(),de&&de.c(),et=B(),Ce=x("button"),Ce.innerHTML=Ue,ot=B(),_e=x("button"),Ve.c(),this.h()},l(V){e=E(V,"DIV",{class:!0});var ne=b(e);t=E(ne,"DIV",{class:!0});var Mt=b(t);n=E(Mt,"DIV",{class:!0});var Ht=b(n);l=E(Ht,"BUTTON",{class:!0,title:!0});var _n=b(l);qe.l(_n),_n.forEach(p),r=A(Ht),fe&&fe.l(Ht),Ht.forEach(p),a=A(Mt),u=E(Mt,"DIV",{class:!0});var Ne=b(u);c=E(Ne,"DIV",{class:!0});var ct=b(c);f=E(ct,"INPUT",{class:!0,type:!0,min:!0,max:!0}),g=A(ct),d=E(ct,"DIV",{class:!0,"data-svelte-h":!0}),ke(d)!=="svelte-mwx9s1"&&(d.textContent=_),T=A(ct),S=E(ct,"INPUT",{class:!0,type:!0,min:!0,max:!0}),ct.forEach(p),C=A(Ne),y=E(Ne,"DIV",{class:!0});var Be=b(y);k=E(Be,"BUTTON",{title:!0,class:!0});var Lt=b(k);L=q(Lt,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var Yt=b(L);M=q(Yt,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(M).forEach(p),W=q(Yt,"path",{d:!0}),b(W).forEach(p),Yt.forEach(p),$=A(Lt),oe=E(Lt,"SPAN",{class:!0}),b(oe).forEach(p),Lt.forEach(p),he=A(Be),Y=E(Be,"BUTTON",{title:!0,class:!0});var It=b(Y);z=q(It,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var Jt=b(z);Q=q(Jt,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(Q).forEach(p),I=q(Jt,"path",{d:!0}),b(I).forEach(p),Jt.forEach(p),ie=A(It),He=E(It,"SPAN",{class:!0}),b(He).forEach(p),It.forEach(p),Qe=A(Be),ue=E(Be,"BUTTON",{title:!0,class:!0});var Rt=b(ue);ee=q(Rt,"svg",{xmlns:!0,height:!0,viewBox:!0,width:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var Kt=b(ee);le=q(Kt,"rect",{x:!0,y:!0,width:!0,height:!0,rx:!0,ry:!0}),b(le).forEach(p),Ie=q(Kt,"path",{d:!0}),b(Ie).forEach(p),Kt.forEach(p),ve=A(Rt),Le=E(Rt,"SPAN",{class:!0}),b(Le).forEach(p),Rt.forEach(p),Pe=A(Be),v=E(Be,"BUTTON",{title:!0,class:!0,"data-svelte-h":!0}),ke(v)!=="svelte-m2txcz"&&(v.innerHTML=ce),rt=A(Be),we=E(Be,"BUTTON",{title:!0,class:!0});var bn=b(we);J=q(bn,"svg",{xmlns:!0,width:!0,viewBox:!0,height:!0,fill:!0,stroke:!0,"stroke-width":!0,"stroke-linecap":!0,"stroke-linejoin":!0,class:!0});var $t=b(J);te=q($t,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0}),b(te).forEach(p),D=q($t,"rect",{width:!0,height:!0,x:!0,y:!0,rx:!0}),b(D).forEach(p),$t.forEach(p),bn.forEach(p),Be.forEach(p),Re=A(Ne),de&&de.l(Ne),et=A(Ne),Ce=E(Ne,"BUTTON",{class:!0,title:!0,"data-svelte-h":!0}),ke(Ce)!=="svelte-1yyxh1i"&&(Ce.innerHTML=Ue),ot=A(Ne),_e=E(Ne,"BUTTON",{class:!0,title:!0});var vn=b(_e);Ve.l(vn),vn.forEach(p),Ne.forEach(p),Mt.forEach(p),ne.forEach(p),this.h()},h(){o(l,"class","topbar_btn is-first-btn svelte-70vfk1"),o(l,"title",i=s[0]?"Collapse sidebar":"Expand sidebar"),o(n,"class","topbar_nav svelte-70vfk1"),o(f,"class","stagesize-input svelte-70vfk1"),o(f,"type","number"),f.disabled=h=s[2]!=="full",f.value=s[8],o(f,"min","50"),o(f,"max",s[5]),o(d,"class","stagesize-value-multi_sign svelte-70vfk1"),o(S,"class","stagesize-input svelte-70vfk1"),o(S,"type","number"),S.disabled=w=s[2]!=="full",S.value=s[9],o(S,"min","50"),o(S,"max",s[4]),o(c,"class","stagesize-value svelte-70vfk1"),o(M,"x","5"),o(M,"y","2"),o(M,"width","14"),o(M,"height","20"),o(M,"rx","2"),o(M,"ry","2"),o(W,"d","M12 18h.01"),o(L,"xmlns","http://www.w3.org/2000/svg"),o(L,"height","24"),o(L,"viewBox","0 0 24 24"),o(L,"width","24"),o(L,"fill","none"),o(L,"stroke","currentColor"),o(L,"stroke-width","1.5"),o(L,"stroke-linecap","round"),o(L,"stroke-linejoin","round"),o(L,"class","svelte-70vfk1"),P(L,"landscape",s[1]),o(oe,"class","dot svelte-70vfk1"),o(k,"title","Small"),o(k,"class","svelte-70vfk1"),P(k,"active",s[2]==="small"),o(Q,"x","4"),o(Q,"y","2"),o(Q,"width","16"),o(Q,"height","20"),o(Q,"rx","2"),o(Q,"ry","2"),o(I,"d","M12 18h.01"),o(z,"xmlns","http://www.w3.org/2000/svg"),o(z,"height","24"),o(z,"viewBox","0 0 24 24"),o(z,"width","24"),o(z,"fill","none"),o(z,"stroke","currentColor"),o(z,"stroke-width","1.5"),o(z,"stroke-linecap","round"),o(z,"stroke-linejoin","round"),o(z,"class","svelte-70vfk1"),P(z,"landscape",s[1]),o(He,"class","dot svelte-70vfk1"),o(Y,"title","Medium"),o(Y,"class","svelte-70vfk1"),P(Y,"active",s[2]==="medium"),o(le,"x","3"),o(le,"y","4"),o(le,"width","18"),o(le,"height","12"),o(le,"rx","2"),o(le,"ry","2"),o(Ie,"d","M2 20h20"),o(ee,"xmlns","http://www.w3.org/2000/svg"),o(ee,"height","24"),o(ee,"viewBox","0 0 24 24"),o(ee,"width","24"),o(ee,"fill","none"),o(ee,"stroke","currentColor"),o(ee,"stroke-width","1.5"),o(ee,"stroke-linecap","round"),o(ee,"stroke-linejoin","round"),o(ee,"class","svelte-70vfk1"),P(ee,"landscape",s[1]),o(Le,"class","dot svelte-70vfk1"),o(ue,"title","Large"),o(ue,"class","svelte-70vfk1"),P(ue,"active",s[2]==="large"),o(v,"title","Full"),o(v,"class","svelte-70vfk1"),P(v,"active",s[2]==="full"),o(te,"width","12"),o(te,"height","20"),o(te,"x","6"),o(te,"y","2"),o(te,"rx","2"),o(D,"width","20"),o(D,"height","12"),o(D,"x","2"),o(D,"y","6"),o(D,"rx","2"),o(J,"xmlns","http://www.w3.org/2000/svg"),o(J,"width","24"),o(J,"viewBox","0 0 24 24"),o(J,"height","24"),o(J,"fill","none"),o(J,"stroke","currentColor"),o(J,"stroke-width","1.5"),o(J,"stroke-linecap","round"),o(J,"stroke-linejoin","round"),o(J,"class","svelte-70vfk1"),o(we,"title",G=s[1]?"Portrait mode":"Landscape mode"),o(we,"class","svelte-70vfk1"),o(y,"class","stagesize-nav svelte-70vfk1"),o(Ce,"class","topbar_btn openexternal_btn svelte-70vfk1"),o(Ce,"title","Open component in new tab"),o(_e,"class","topbar_btn is-last-btn svelte-70vfk1"),o(_e,"title",Ge=s[7]?"Light mode":"Dark mode"),o(u,"class","topbar_nav svelte-70vfk1"),o(t,"class","topbar_container svelte-70vfk1"),o(e,"class","topbar svelte-70vfk1")},m(V,ne){j(V,e,ne),m(e,t),m(t,n),m(n,l),qe.m(l,null),m(n,r),fe&&fe.m(n,null),m(t,a),m(t,u),m(u,c),m(c,f),m(c,g),m(c,d),m(c,T),m(c,S),m(u,C),m(u,y),m(y,k),m(k,L),m(L,M),m(L,W),m(k,$),m(k,oe),m(y,he),m(y,Y),m(Y,z),m(z,Q),m(z,I),m(Y,ie),m(Y,He),m(y,Qe),m(y,ue),m(ue,ee),m(ee,le),m(ee,Ie),m(ue,ve),m(ue,Le),m(y,Pe),m(y,v),m(y,rt),m(y,we),m(we,J),m(J,te),m(J,D),m(u,Re),de&&de.m(u,null),m(u,et),m(u,Ce),m(u,ot),m(u,_e),Ve.m(_e,null),at||(tt=[K(l,"click",s[10]),K(f,"change",s[17]),K(S,"change",s[18]),K(k,"click",s[21]),K(Y,"click",s[22]),K(ue,"click",s[23]),K(v,"click",s[24]),K(we,"click",s[14]),K(Ce,"click",s[15]),K(_e,"click",s[12])],at=!0)},p(V,[ne]){St!==(St=ut(V))&&(qe.d(1),qe=St(V),qe&&(qe.c(),qe.m(l,null))),ne&1&&i!==(i=V[0]?"Collapse sidebar":"Expand sidebar")&&o(l,"title",i),V[6]?fe?fe.p(V,ne):(fe=Jn(V),fe.c(),fe.m(n,null)):fe&&(fe.d(1),fe=null),ne&4&&h!==(h=V[2]!=="full")&&(f.disabled=h),ne&256&&f.value!==V[8]&&(f.value=V[8]),ne&32&&o(f,"max",V[5]),ne&4&&w!==(w=V[2]!=="full")&&(S.disabled=w),ne&512&&S.value!==V[9]&&(S.value=V[9]),ne&16&&o(S,"max",V[4]),ne&2&&P(L,"landscape",V[1]),ne&4&&P(k,"active",V[2]==="small"),ne&2&&P(z,"landscape",V[1]),ne&4&&P(Y,"active",V[2]==="medium"),ne&2&&P(ee,"landscape",V[1]),ne&4&&P(ue,"active",V[2]==="large"),ne&4&&P(v,"active",V[2]==="full"),ne&2&&G!==(G=V[1]?"Portrait mode":"Landscape mode")&&o(we,"title",G),V[3].length>1?de?de.p(V,ne):(de=Kn(V),de.c(),de.m(u,et)):de&&(de.d(1),de=null),Ct!==(Ct=kn(V))&&(Ve.d(1),Ve=Ct(V),Ve&&(Ve.c(),Ve.m(_e,null))),ne&128&&Ge!==(Ge=V[7]?"Light mode":"Dark mode")&&o(_e,"title",Ge)},i:ae,o:ae,d(V){V&&p(e),qe.d(),fe&&fe.d(),de&&de.d(),Ve.d(),at=!1,Ft(tt)}}}function ui(s,e,t){const n=Fe();let{sidebarExpanded:l=!0}=e,{appTheme:i="default"}=e,{landscape:r=!1}=e,{stageSize:a="full"}=e,{themes:u=[]}=e,{stageRect:c}=e,{stageMaxHeight:f}=e,{stageMaxWidth:h}=e,{node:g}=e,d=!1,_,T;function S(){n("out",{toggleExpandSidebar:!0})}function w(){n("out",{toggleBookmark:g})}function C(){n("out",{updateAppTheme:i==="dark"?"default":"dark"})}function y(I){n("out",{stageSize:I})}function k(){n("out",{landscape:!r})}function L(){n("out",{openInTab:!0})}function M(I){n("out",{selectTheme:I})}function W(I){n("out",{stageWidth:Number.parseInt(I.target.value)})}function $(I){n("out",{stageHeight:Number.parseInt(I.target.value)})}const oe=()=>y("small"),he=()=>y("medium"),Y=()=>y("large"),z=()=>y("full"),Q=I=>M(I.name);return s.$$set=I=>{"sidebarExpanded"in I&&t(0,l=I.sidebarExpanded),"appTheme"in I&&t(19,i=I.appTheme),"landscape"in I&&t(1,r=I.landscape),"stageSize"in I&&t(2,a=I.stageSize),"themes"in I&&t(3,u=I.themes),"stageRect"in I&&t(20,c=I.stageRect),"stageMaxHeight"in I&&t(4,f=I.stageMaxHeight),"stageMaxWidth"in I&&t(5,h=I.stageMaxWidth),"node"in I&&t(6,g=I.node)},s.$$.update=()=>{if(s.$$.dirty&1048576){let{width:I,height:ie}=c;t(8,_=Math.round(I)),t(9,T=Math.round(ie))}s.$$.dirty&524288&&(t(7,d=i==="dark"),i==="dark"?document.documentElement.setAttribute("data-theme","dark"):document.documentElement.setAttribute("data-theme","light"))},[l,r,a,u,f,h,g,d,_,T,S,w,C,y,k,L,M,W,$,i,c,oe,he,Y,z,Q]}class ci extends Te{constructor(e){super(),ze(this,e,ui,ai,be,{sidebarExpanded:0,appTheme:19,landscape:1,stageSize:2,themes:3,stageRect:20,stageMaxHeight:4,stageMaxWidth:5,node:6})}}const ht=[];function vl(s,e){return{subscribe:re(s,e).subscribe}}function re(s,e=ae){let t;const n=new Set;function l(a){if(be(s,a)&&(s=a,t)){const u=!ht.length;for(const c of n)c[1](),ht.push(c,s);if(u){for(let c=0;c<ht.length;c+=2)ht[c][0](ht[c+1]);ht.length=0}}}function i(a){l(a(s))}function r(a,u=ae){const c=[a,u];return n.add(c),n.size===1&&(t=e(l,i)||ae),a(s),()=>{n.delete(c),n.size===0&&t&&(t(),t=null)}}return{set:l,update:i,subscribe:r}}function hn(s,e,t){const n=!Array.isArray(s),l=n?[s]:s;if(!l.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=e.length<2;return vl(t,(r,a)=>{let u=!1;const c=[];let f=0,h=ae;const g=()=>{if(f)return;h();const _=e(n?c[0]:c,r,a);i?r(_):h=an(_)?_:ae},d=l.map((_,T)=>Il(_,S=>{c[T]=S,f&=~(1<<T),u&&g()},()=>{f|=1<<T}));return u=!0,g(),function(){Ft(d),h(),u=!1}})}function Qt(s,e,t=l=>l,n=l=>l){const l=re(t(localStorage.getItem(s))??e);return l.subscribe(i=>{localStorage.setItem(s,n(i))}),l}const Xe=re([]),wl=re(""),fn=Qt("stageSize","full"),dn=Qt("landscape",!1,s=>s==="true"),Ye=re(""),xl=re(""),Je=re(""),en=re("full"),tn=re("full"),hi=hn([Ye,Je],([s,e])=>Math.min(s,e)-20),fi=hn(xl,s=>s-20),_t=re(!0),El=Qt("appTheme","default"),gt=Qt("frameTheme"),nn=re(!0),xt=re(!1);let ft="";const di={small:{frameheight:"1170px",framewidth:"550px"},medium:{frameheight:"1080px",framewidth:"810px"},large:{frameheight:"960px",framewidth:"1536px"},full:{frameheight:"100%",framewidth:"100%"}};function gi(s){var e;Z(gt)||gt.set(((e=s==null?void 0:s.find(t=>t.active))==null?void 0:e.name)??s[0].name),Xe.set(s==null?void 0:s.map(t=>({...t,active:t.name===Z(gt)}))),Tt()}function pi(s){Xe.set(Z(Xe).map(e=>({...e,active:e.name===s}))),gt.set(s),Tt()}function mi(s){El.set(s)}function ki(){return Z(Xe)&&Z(Xe).length>0?Z(Xe).find(s=>s.name===Z(gt))??Z(Xe)[0]:{stageBg:"white"}}function Tt(){const s=ki().stageBg,{frameheight:e,framewidth:t}=di[Z(fn)],n=Z(dn)?`width: ${e}; height: ${t}`:`width: ${t}; height: ${e}`,l=`background-color: ${s}`;wl.set(`${n}; ${l}; transition: 0s;`)}function _i(s){Ye.set(s),yl()}function bi(s){const e=s-9;Je.set(e),yl()}function vi(s){xl.set(s)}function el(s){Number.isInteger(s)?en.set(Math.max(50,s)):en.set(s)}function tl(s){Number.isInteger(s)?tn.set(Math.max(50,s)):tn.set(s)}function yl(){Number.isInteger(Z(Ye))&&Number.isInteger(Z(Je))&&_t.set(Z(Ye)<Z(Je))}function nl(){Z(_t)?(ft=Z(Ye),Ye.set(Z(Je))):((!Number.isInteger(ft)||Number.isInteger(ft)&&Z(Je)-ft<50)&&(ft=Math.round(Z(Je)*.7)),Ye.set(ft)),_t.set(!Z(_t))}Tt();function wi(){Z(gn)?xt.set(!Z(xt)):nn.set(!Z(nn))}const gn=vl(window.innerWidth<840,s=>{const e=()=>{s(window.innerWidth<840),xt.set(!1)};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),xi=hn([nn,xt,gn],([s,e,t])=>t?e:s);function Ei(){Z(gn)&&xt.set(!1)}function yi(s){fn.set(s),Tt()}function Ti(s){dn.set(s),Tt()}function zi(s,e,t=l=>l,n=l=>l){const l=re(t(localStorage.getItem(s))??e);return l.subscribe(i=>{localStorage.setItem(s,n(i))}),l}const lt=re([]),pt=re(!0),Gt=re(),Tl=re(),De=zi("bookmarks",[],JSON.parse,JSON.stringify);let ll=!1,Xt="",bt=[],Ae=[],zt;function Si(s){Ae=s.flatMap(pn).reduce((t,n)=>(t[n.key]=!0,t),{})}function pn(s){return[s,...Ci(s)]}function Ci(s){return s.children?s.children.flatMap(pn):[]}function Mi(s,e){Xt=s,zt=e,it(),Wi()}function Hi(s){Gt.set(s),it()}function Li(s){bt=s,ll||(Si(bt),Oi(),ll=!0),lt.set(mn(bt))}function it(){lt.set(mn(bt))}function mn(s,e){const t=Z(Gt);return s.map(n=>{var r;const l=t?(r=n.name)==null?void 0:r.toLowerCase().includes(t):!0,i=t&&l?Ii(n.name):n.name;if(n.isLeaf){const u=e||l?{...n,name:i,selected:zt===n.key,isLeaf:!0,bookmark:Z(De).find(c=>c.key===n.key)!==void 0}:void 0;return u.selected&&Tl.set(u),u}else{const a=mn(n.children,e||l).filter(c=>c),u=l||a.length>0;return u?{...n,name:i,children:a,unfolded:Ri(n,Xt,t,u),filterMatches:l}:void 0}}).filter(n=>n)}function Ii(s){const e=Z(Gt),t=s.toLowerCase().indexOf(e),n=t+e.length,l=s.substring(0,t),i=s.substring(t,n),r=s.substring(n);return`${l}<span class="highlight">${i}</span>${r}`}function Ri(s,e,t,n){return t&&n||Ae[s.key]||(e==null?void 0:e.indexOf(s.key))===0}function Ni(){pt.set(!Z(pt));const s=Z(lt).map(e=>({...e,unfolded:Z(pt)&&Ae[e.key]}));lt.set(s)}function Bi(s){if(!Z(pt)){Ai(s);return}Ae[s.key]&&Xt.indexOf(s.key)!==0?Ae[s.key]=!1:Ae[s.key]=!0,it()}function Ai(s){pt.set(!0),Object.keys(Ae).forEach(t=>Ae[t]=!1);const e=Z(lt).map(t=>t.key===s.key||Xt.indexOf(t.key)===0?(Ae[t.key]=!0,{...t,unfolded:!0}):(Ae[t.key]=!1,{...t,unfolded:!1}));lt.set(e),it()}function sl(s){s.bookmark?ji({...s,bookmark:!1}):Di({...s,bookmark:!0}),it()}function ji(s){De.set(Z(De).filter(e=>s.key!==e.key).map(e=>({...e,selected:e.key===zt}))),it()}function Di(s){De.set([...Z(De),s].map(e=>({...e,selected:e.key===zt})).sort((e,t)=>e.name.localeCompare(t.name))),it()}function Wi(){De.set([...Z(De)].map(s=>({...s,selected:s.key===zt})).sort((s,e)=>s.name.localeCompare(e.name)))}function Oi(){const s=bt.flatMap(pn),e=Z(De).filter(t=>(console.log("DEBUG","bookmark",t,"allno",s),s.some(n=>n.key===t.key)));De.set(e)}const zl=[],Pi=globalThis.location?globalThis.location.pathname+globalThis.location.search:"";let Me=Pi,nt="",ln,sn={url:Me};(function(){globalThis.history&&(globalThis.history.state&&globalThis.history.state.url==Me&&(sn=globalThis.history.state),globalThis.history.replaceState(sn,null,Me))})();function Ui(s,e,t){ln=s,nt=e,t&&qi(t),Ut(sn,Me)}function qi(s){zl.push(s)}function Ut(s,e){zl.forEach(t=>{t(Vi(e),s)})}function Vi(s){const e=s.substring(nt.length),t=Object.keys(ln).find(n=>e.match(new RegExp("^"+n+"$","i")));return t?ln[t]:null}(function(s){if(s){var e=s.pushState;s.pushState=function(t,n,l){if(!(l.startsWith(nt)&&nt.length>0)){if(Me=nt+l,t.url=Me,t.url!==s.state.url||t.selectedExample!==s.state.selectedExample)return Ut(t,Me),e.apply(s,[t,"",Me]);Ut(t,Me),window.location.reload()}}}})(globalThis.history);globalThis.onpopstate=function(s){s.state?Me=s.state.url:Me=nt.length>0?nt:"/",Ut(s.state,Me)};const rn=re(""),qt=re(),Vt=re({}),Sl=re("");let Zt,kt,on;function Zi(s){Zt=s,on&&Cl()}function Fi(s,e,t){Zt=s,on||(on=!0,Ui(e,t,Qi))}function Qi(s,e){if(qt.set({}),rn.set(""),Vt.set({}),s&&Zt){rn.set(s.fullname),Sl.set(s.route);const t=Zt[s.fullname];t.componentfile=s.file,qt.set(t),kt=e,Cl()}}function Cl(){var e,t;const s=Z(qt).examples||[];kt!=null&&kt.selectedExample?Vt.set((e=s.find(n=>n.title==kt.selectedExample))==null?void 0:e.title):Vt.set((t=s[0])==null?void 0:t.title)}function Gi(s){let e,t,n,l,i,r,a,u,c;return n=new ti({props:{projectTitle:s[25],projectLogo:s[26],projectLogoDarkmode:s[27],appTheme:s[6],sidebarExpanded:s[7],rootNodesExpanded:s[8],nodes:s[9],filter:s[10],panelExpanded:s[11],bookmarks:s[12],docsLink:s[3]}}),n.$on("out",s[30]),r=new ci({props:{sidebarExpanded:s[7],node:s[13],themes:s[14],appTheme:s[6],stageRect:s[2],stageSize:s[15],landscape:s[16],stageWidth:s[17],stageHeight:s[18],stageMaxHeight:s[19],stageMaxWidth:s[20]}}),r.$on("out",s[28]),u=new Ns({props:{componentName:s[1],das:s[21],selectedExample:s[5],stageStyle:s[22],stageSize:s[15],stageContainerHeight:s[23],stageContainerMaxHeight:s[24],stageHeight:s[18],stageWidth:s[17],stageMaxHeight:s[19],stageMaxWidth:s[20],theme:s[4],panelExpanded:s[11],devmodus:s[0].devmodus}}),u.$on("out",s[29]),{c(){e=x("div"),t=x("div"),xe(n.$$.fragment),l=B(),i=x("div"),xe(r.$$.fragment),a=B(),xe(u.$$.fragment),this.h()},l(f){e=E(f,"DIV",{class:!0});var h=b(e);t=E(h,"DIV",{class:!0});var g=b(t);Se(n.$$.fragment,g),g.forEach(p),l=A(h),i=E(h,"DIV",{class:!0});var d=b(i);Se(r.$$.fragment,d),a=A(d),Se(u.$$.fragment,d),d.forEach(p),h.forEach(p),this.h()},h(){o(t,"class","sidebar svelte-yh1ir7"),o(i,"class","main svelte-yh1ir7"),o(e,"class","garden svelte-yh1ir7")},m(f,h){j(f,e,h),m(e,t),Ee(n,t,null),m(e,l),m(e,i),Ee(r,i,null),m(i,a),Ee(u,i,null),c=!0},p(f,h){const g={};h[0]&64&&(g.appTheme=f[6]),h[0]&128&&(g.sidebarExpanded=f[7]),h[0]&256&&(g.rootNodesExpanded=f[8]),h[0]&512&&(g.nodes=f[9]),h[0]&1024&&(g.filter=f[10]),h[0]&2048&&(g.panelExpanded=f[11]),h[0]&4096&&(g.bookmarks=f[12]),h[0]&8&&(g.docsLink=f[3]),n.$set(g);const d={};h[0]&128&&(d.sidebarExpanded=f[7]),h[0]&8192&&(d.node=f[13]),h[0]&16384&&(d.themes=f[14]),h[0]&64&&(d.appTheme=f[6]),h[0]&4&&(d.stageRect=f[2]),h[0]&32768&&(d.stageSize=f[15]),h[0]&65536&&(d.landscape=f[16]),h[0]&131072&&(d.stageWidth=f[17]),h[0]&262144&&(d.stageHeight=f[18]),h[0]&524288&&(d.stageMaxHeight=f[19]),h[0]&1048576&&(d.stageMaxWidth=f[20]),r.$set(d);const _={};h[0]&2&&(_.componentName=f[1]),h[0]&2097152&&(_.das=f[21]),h[0]&32&&(_.selectedExample=f[5]),h[0]&4194304&&(_.stageStyle=f[22]),h[0]&32768&&(_.stageSize=f[15]),h[0]&8388608&&(_.stageContainerHeight=f[23]),h[0]&16777216&&(_.stageContainerMaxHeight=f[24]),h[0]&262144&&(_.stageHeight=f[18]),h[0]&131072&&(_.stageWidth=f[17]),h[0]&524288&&(_.stageMaxHeight=f[19]),h[0]&1048576&&(_.stageMaxWidth=f[20]),h[0]&16&&(_.theme=f[4]),h[0]&2048&&(_.panelExpanded=f[11]),h[0]&1&&(_.devmodus=f[0].devmodus),u.$set(_)},i(f){c||(O(n.$$.fragment,f),O(r.$$.fragment,f),O(u.$$.fragment,f),c=!0)},o(f){F(n.$$.fragment,f),F(r.$$.fragment,f),F(u.$$.fragment,f),c=!1},d(f){f&&p(e),ye(n),ye(r),ye(u)}}}function Xi(s){let e,t,n="Relative link was clicked!",l,i,r,a,u="back",c,f;return{c(){e=x("div"),t=x("div"),t.textContent=n,l=B(),i=x("div"),r=pe(`Click the button to return:
|
|
47
|
+
`),a=x("button"),a.textContent=u,this.h()},l(h){e=E(h,"DIV",{class:!0});var g=b(e);t=E(g,"DIV",{class:!0,"data-svelte-h":!0}),ke(t)!=="svelte-jskzqc"&&(t.textContent=n),l=A(g),i=E(g,"DIV",{class:!0});var d=b(i);r=me(d,`Click the button to return:
|
|
48
|
+
`),a=E(d,"BUTTON",{class:!0,"data-svelte-h":!0}),ke(a)!=="svelte-u4jm95"&&(a.textContent=u),d.forEach(p),g.forEach(p),this.h()},h(){o(t,"class","click-completed svelte-yh1ir7"),o(a,"class","svelte-yh1ir7"),o(i,"class","instruction svelte-yh1ir7"),o(e,"class","message svelte-yh1ir7")},m(h,g){j(h,e,g),m(e,t),m(e,l),m(e,i),m(i,r),m(i,a),c||(f=K(a,"click",s[35]),c=!0)},p:ae,i:ae,o:ae,d(h){h&&p(e),c=!1,f()}}}function Yi(s){let e,t,n,l;const i=[Xi,Gi],r=[];function a(u,c){return window.top!==window.self?0:1}return e=a(),t=r[e]=i[e](s),{c(){t.c(),n=mt()},l(u){t.l(u),n=mt()},m(u,c){r[e].m(u,c),j(u,n,c),l=!0},p(u,c){t.p(u,c)},i(u){l||(O(t),l=!0)},o(u){F(t),l=!1},d(u){u&&p(n),r[e].d(u)}}}let Ji="/garden";function Ki(s,e,t){var Le,Pe;let n,l,i,r,a,u,c,f,h,g,d,_,T,S,w,C,y,k,L,M,W,$,oe,he;se(s,gt,v=>t(4,l=v)),se(s,rn,v=>t(1,i=v)),se(s,Vt,v=>t(5,r=v)),se(s,Sl,v=>t(34,a=v)),se(s,El,v=>t(6,u=v)),se(s,xi,v=>t(7,c=v)),se(s,pt,v=>t(8,f=v)),se(s,lt,v=>t(9,h=v)),se(s,Gt,v=>t(10,g=v)),se(s,_t,v=>t(11,d=v)),se(s,De,v=>t(12,_=v)),se(s,Tl,v=>t(13,T=v)),se(s,Xe,v=>t(14,S=v)),se(s,fn,v=>t(15,w=v)),se(s,dn,v=>t(16,C=v)),se(s,tn,v=>t(17,y=v)),se(s,en,v=>t(18,k=v)),se(s,hi,v=>t(19,L=v)),se(s,fi,v=>t(20,M=v)),se(s,qt,v=>t(21,W=v)),se(s,wl,v=>t(22,$=v)),se(s,Ye,v=>t(23,oe=v)),se(s,Je,v=>t(24,he=v));let{routes:Y}=e,{navTree:z}=e,{dasMap:Q}=e,{config:I}=e,ie=I.project_title||"",He=((Le=I.project_logo)==null?void 0:Le.split("/").pop())||null,Qe=((Pe=I.project_logo_darkmode)==null?void 0:Pe.split("/").pop())||null,ue={};function ee(v){if(v.detail.openInTab){const ce=window.open("/frame.html","_blank");ce.onload=()=>{ce.postMessage({selectedExample:r,componentName:i,theme:l},window.location.origin)}}v.detail.selectTheme&&pi(v.detail.selectTheme),v.detail.updateAppTheme&&mi(v.detail.updateAppTheme),v.detail.toggleExpandSidebar&&wi(),v.detail.stageWidth&&tl(v.detail.stageWidth),v.detail.stageHeight&&el(v.detail.stageHeight),v.detail.toggleBookmark&&sl(v.detail.toggleBookmark),v.detail.stageSize&&yi(v.detail.stageSize),v.detail.landscape!==void 0&&Ti(v.detail.landscape)}function le(v){v.detail.stageRect&&t(2,ue=v.detail.stageRect),v.detail.stageContainerHeight&&_i(v.detail.stageContainerHeight),v.detail.toggleExpandPanel&&nl(),v.detail.stageContainerWidth&&vi(v.detail.stageContainerWidth),v.detail.stageContainerMaxHeight&&bi(v.detail.stageContainerMaxHeight),v.detail.stageWidth&&tl(v.detail.stageWidth),v.detail.stageHeight&&el(v.detail.stageHeight)}function Ie(v){var ce;v.detail.toggleFoldStatusOfNode&&Bi(v.detail.toggleFoldStatusOfNode),v.detail.toggleRootFolders&&Ni(),v.detail.filter&&Hi((ce=v.detail.filter.value)==null?void 0:ce.toLowerCase()),v.detail.toggleExpandPanel&&nl(),v.detail.toggleBookmark&&sl(v.detail.toggleBookmark)}const ve=()=>{window.top.location.reload()};return s.$$set=v=>{"routes"in v&&t(31,Y=v.routes),"navTree"in v&&t(32,z=v.navTree),"dasMap"in v&&t(33,Q=v.dasMap),"config"in v&&t(0,I=v.config)},s.$$.update=()=>{s.$$.dirty[1]&2&&Li(z),s.$$.dirty[1]&5&&Y&&Q&&Fi(Q,Y,Ji),s.$$.dirty[1]&4&&Zi(Q),s.$$.dirty[0]&1&&gi(I.themes),s.$$.dirty[0]&2|s.$$.dirty[1]&8&&(Mi(a,i),Ei()),s.$$.dirty[0]&1&&t(3,n=I.docs_link?1:0)},[I,i,ue,n,l,r,u,c,f,h,g,d,_,T,S,w,C,y,k,L,M,W,$,oe,he,ie,He,Qe,ee,le,Ie,Y,z,Q,a,ve]}class $i extends Te{constructor(e){super(),ze(this,e,Ki,Yi,be,{routes:31,navTree:32,dasMap:33,config:0},null,[-1,-1])}}new $i({target:document.getElementById("app"),props:{navTree:Rl,routes:Nl,dasMap:Bl,config:Al}});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.container.svelte-1pql0kc{display:flex;flex-direction:column;flex-wrap:nowrap;width:100%;height:100%;overflow-y:auto}.top.svelte-1pql0kc{flex-grow:0;flex-shrink:0;border-bottom:0;border-radius:.625rem .625rem 0 0;overflow:hidden}.dragbar.svelte-1pql0kc{flex-grow:0;flex-shrink:0;height:.188rem;background-color:var(--c-primary);cursor:row-resize;z-index:10}.dragging.svelte-1pql0kc,.dragbar.svelte-1pql0kc:hover{background-color:var(--c-primary);transform:scaleY(2)}.resizepane-container.svelte-mmou7f.svelte-mmou7f{display:grid;grid-template:min-content 1.25rem / min-content 1.25rem;width:100%;height:100%;overflow:auto}.dragbar.svelte-mmou7f.svelte-mmou7f{display:flex;flex-grow:0;flex-shrink:0;justify-content:center;align-items:center;height:100%;width:100%;background-color:var(--c-dragbar-bg);z-index:10}.dragbar.svelte-mmou7f.svelte-mmou7f:hover{background-color:var(--c-dragbar-bg-hover)}.vertical.svelte-mmou7f.svelte-mmou7f{width:1.25rem;border-top:1px solid var(--c-dragbar-bg);border-right:1px solid var(--c-dragbar-bg);border-radius:0 .625rem 0 0;cursor:ew-resize}.vertical.svelte-mmou7f .dragbar-icon.svelte-mmou7f{width:.25rem;height:60%;max-height:3.75rem;background-color:var(--c-dragbar-icon);border-radius:1rem}.horizontal.svelte-mmou7f.svelte-mmou7f{height:1.25rem;border-bottom:1px solid var(--c-dragbar-bg);border-left:1px solid var(--c-dragbar-bg);cursor:ns-resize}.horizontal.svelte-mmou7f .dragbar-icon.svelte-mmou7f{width:60%;max-width:3.75rem;height:.25rem;background-color:var(--c-dragbar-icon);border-radius:1rem}.corner.svelte-mmou7f.svelte-mmou7f{width:1.25rem;height:1.25rem;border-right:1px solid var(--c-dragbar-bg);border-bottom:1px solid var(--c-dragbar-bg);cursor:nwse-resize}.corner.svelte-mmou7f .dragbar-icon.svelte-mmou7f{width:1rem;height:.25rem;transform:rotate(-45deg);background-color:var(--c-dragbar-icon);border-radius:1rem}.dragbar.disabled.svelte-mmou7f.svelte-mmou7f{display:none}.resizepane-container.disabled.svelte-mmou7f.svelte-mmou7f{display:flex;justify-content:center}:root{--h-panelnav:2.375rem}.panel_container.svelte-1rdly8d.svelte-1rdly8d{position:relative;overflow:hidden;flex:1;height:100%}.panel_nav.svelte-1rdly8d.svelte-1rdly8d{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;width:100%;height:var(--h-panelnav);background-color:var(--c-basic-75);border-bottom:1px solid var(--c-bg-body);overflow-x:auto}.panel_nav.svelte-1rdly8d nav.svelte-1rdly8d{margin:0 1.25rem 0 0}.panel_nav.svelte-1rdly8d nav ul.svelte-1rdly8d{display:flex;overflow-x:auto}.panel_nav.svelte-1rdly8d nav li button.svelte-1rdly8d{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 1.25rem;height:calc(var(--h-panelnav) - 1px);font-size:.875rem;color:var(--c-basic-700);white-space:nowrap;text-transform:capitalize;overflow:hidden}.panel_nav.svelte-1rdly8d nav li button .dot.svelte-1rdly8d{display:block;width:.313rem;height:.313rem;background-color:transparent;border-radius:50%}.panel_nav.svelte-1rdly8d nav li button.active .dot.svelte-1rdly8d{background-color:var(--c-primary)}.panel_nav.svelte-1rdly8d nav li button.svelte-1rdly8d:hover,.panel_nav.svelte-1rdly8d nav li button.svelte-1rdly8d:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.panel_nav.svelte-1rdly8d nav li button.svelte-1rdly8d:focus-visible{background-color:var(--c-basic-150)}.panel_nav.svelte-1rdly8d nav li button.active.svelte-1rdly8d{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg)}.panel_toggle.svelte-1rdly8d.svelte-1rdly8d{padding:0 .75rem;height:100%;background:none}.panel_toggle.svelte-1rdly8d svg.svelte-1rdly8d{margin-top:.188rem;height:1.375rem;color:var(--c-basic-700)}.panel_toggle.svelte-1rdly8d:hover svg.svelte-1rdly8d,.panel_toggle.svelte-1rdly8d:focus-visible svg.svelte-1rdly8d{color:var(--c-primary)}.panel_toggle.svelte-1rdly8d.svelte-1rdly8d:focus-visible{background-color:var(--c-basic-150)}.panel_pane.svelte-1rdly8d.svelte-1rdly8d{position:absolute;top:var(--h-panelnav);right:0;bottom:0;left:0;padding:1.25rem;width:100%;overflow-y:auto}.stories.svelte-9ikz8y.svelte-9ikz8y{list-style:none;margin:0;padding:0}.stories.svelte-9ikz8y li button.svelte-9ikz8y{display:flex;align-items:center;justify-items:flex-start;margin:0;padding:.5rem .5rem .5rem 1.25rem;width:100%;font-size:.9rem;color:var(--c-basic-600);text-align:left}.stories.svelte-9ikz8y li button .dot.svelte-9ikz8y{display:block;margin:0 .5rem 0 0;height:.375rem;width:.375rem;background-color:transparent;border-radius:50%}.stories.svelte-9ikz8y li.active button .dot.svelte-9ikz8y{background-color:var(--c-primary)}.stories.svelte-9ikz8y li:nth-child(odd) button.svelte-9ikz8y{background-color:var(--c-basic-50)}.stories.svelte-9ikz8y li button.svelte-9ikz8y:hover,.stories.svelte-9ikz8y li button.svelte-9ikz8y:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-150)}.stories.svelte-9ikz8y li.active button.svelte-9ikz8y{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg)}.stories.svelte-9ikz8y li.active button.svelte-9ikz8y:focus-visible{background-color:var(--c-basic-150)}.markdown-body{--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: hsl(168, 8%, 94%);--color-border-default: #d0d7de;--color-border-muted: hsla(210, 18%, 87%, 1);--color-neutral-muted: var(--c-basic-150);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.dark .markdown-body{--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: var(--c-basic-150);--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: var(--c-basic-150);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;width:100%;max-width:900px;color:var(--color-fg-default);word-wrap:break-word}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.75em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.375em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1.125em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:.875rem}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:.875rem;word-wrap:normal}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:.875rem;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}/*!
|
|
2
|
+
Theme: GitHub
|
|
3
|
+
Description: Light theme as seen on github.com
|
|
4
|
+
Author: github.com
|
|
5
|
+
Maintainer: @Hirse
|
|
6
|
+
Updated: 2021-05-15
|
|
7
|
+
|
|
8
|
+
Outdated base version: https://github.com/primer/github-syntax-light
|
|
9
|
+
Current colors taken from GitHub's CSS
|
|
10
|
+
*/.hljs{color:#24292e}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#d73a49}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#6f42c1}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#005cc5}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#032f62}.hljs-built_in,.hljs-symbol{color:#e36209}.hljs-comment,.hljs-code,.hljs-formula{color:#6a737d}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#22863a}.hljs-subst{color:#24292e}.hljs-section{color:#005cc5;font-weight:700}.hljs-bullet{color:#735c0f}.hljs-emphasis{color:#24292e;font-style:italic}.hljs-strong{color:#24292e;font-weight:700}.hljs-addition{color:#22863a;background-color:#f0fff4}.hljs-deletion{color:#b31d28;background-color:#ffeef0}/*!
|
|
11
|
+
Theme: GitHub Dark
|
|
12
|
+
Description: Dark theme as seen on github.com
|
|
13
|
+
Author: github.com
|
|
14
|
+
Maintainer: @Hirse
|
|
15
|
+
Updated: 2021-05-15
|
|
16
|
+
|
|
17
|
+
Outdated base version: https://github.com/primer/github-syntax-dark
|
|
18
|
+
Current colors taken from GitHub's CSS
|
|
19
|
+
*/[data-theme=dark] .hljs{color:#c9d1d9}[data-theme=dark] .hljs-doctag,[data-theme=dark] .hljs-keyword,[data-theme=dark] .hljs-meta .hljs-keyword,[data-theme=dark] .hljs-template-tag,[data-theme=dark] .hljs-template-variable,[data-theme=dark] .hljs-type,[data-theme=dark] .hljs-variable.language_{color:#ff7b72}[data-theme=dark] .hljs-title,[data-theme=dark] .hljs-title.class_,[data-theme=dark] .hljs-title.class_.inherited__,[data-theme=dark] .hljs-title.function_{color:#d2a8ff}[data-theme=dark] .hljs-attr,[data-theme=dark] .hljs-attribute,[data-theme=dark] .hljs-literal,[data-theme=dark] .hljs-meta,[data-theme=dark] .hljs-number,[data-theme=dark] .hljs-operator,[data-theme=dark] .hljs-variable,[data-theme=dark] .hljs-selector-attr,[data-theme=dark] .hljs-selector-class,[data-theme=dark] .hljs-selector-id{color:#79c0ff}[data-theme=dark] .hljs-regexp,[data-theme=dark] .hljs-string,[data-theme=dark] .hljs-meta .hljs-string{color:#a5d6ff}[data-theme=dark] .hljs-built_in,[data-theme=dark] .hljs-symbol{color:#ffa657}[data-theme=dark] .hljs-comment,[data-theme=dark] .hljs-code,[data-theme=dark] .hljs-formula{color:#8b949e}[data-theme=dark] .hljs-name,[data-theme=dark] .hljs-quote,[data-theme=dark] .hljs-selector-tag,[data-theme=dark] .hljs-selector-pseudo{color:#7ee787}[data-theme=dark] .hljs-subst{color:#c9d1d9}[data-theme=dark] .hljs-section{color:#1f6feb;font-weight:700}[data-theme=dark] .hljs-bullet{color:#f2cc60}[data-theme=dark] .hljs-emphasis{color:#c9d1d9;font-style:italic}[data-theme=dark] .hljs-strong{color:#c9d1d9;font-weight:700}[data-theme=dark] .hljs-addition{color:#aff5b4;background-color:#033a16}[data-theme=dark] .hljs-deletion{color:#ffdcd7;background-color:#67060c}.stage_iframe.svelte-17n05ij{display:block;align-self:center;margin:auto;height:100%;width:100%;background-color:var(--c-basic-0)}.panel.svelte-17n05ij{display:flex;flex-direction:column;flex-wrap:nowrap;position:relative;margin-bottom:.375rem;height:100%;width:100%;background-color:var(--c-basic-0);border-top:0;border-radius:0 0 .625rem .625rem;overflow-y:auto}.component_link.svelte-1cnyrt6.svelte-1cnyrt6{display:flex;margin:0;padding:.188rem 0;width:100%;height:1.375rem;text-transform:initial;font-size:.813rem;color:var(--c-basic-600);line-height:1.2;font-weight:400}.component_link.svelte-1cnyrt6.svelte-1cnyrt6:hover,.component_link.svelte-1cnyrt6.svelte-1cnyrt6:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.component_link-container.svelte-1cnyrt6.svelte-1cnyrt6{display:flex;align-items:center}.component_link.svelte-1cnyrt6 .component_dot.svelte-1cnyrt6{margin:0 .5rem 0 -.219rem;height:.375rem;width:.375rem!important;background-color:transparent;border-radius:50%}.component_link.selected.svelte-1cnyrt6 .component_dot.svelte-1cnyrt6{background-color:var(--c-primary)}.component_link.selected.svelte-1cnyrt6.svelte-1cnyrt6{margin-left:-1px;color:var(--c-primary);font-weight:600;background-color:var(--c-primary-bg);border-left:1px solid var(--c-primary)}.component_icon.svelte-1cnyrt6.svelte-1cnyrt6{display:flex;align-items:center;margin:0 .5rem 0 0;color:var(--c-basic-400)}.component_label.svelte-1cnyrt6.svelte-1cnyrt6{margin-right:.5rem;overflow:hidden;white-space:nowrap}.bookmarks.svelte-134qnz1.svelte-134qnz1{display:none}@media (min-height: 500px){.bookmarks.svelte-134qnz1.svelte-134qnz1{display:block}}.bookmarks_title.svelte-134qnz1.svelte-134qnz1{display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0;padding:.5rem .688rem .375rem}.bookmarks_title-icon.svelte-134qnz1.svelte-134qnz1{display:flex;align-items:center;margin-right:.375rem;color:var(--c-primary)}.bookmarks_title-label.svelte-134qnz1.svelte-134qnz1{display:flex;width:100%;font-size:.813rem;color:var(--c-basic-900);font-weight:600;text-transform:uppercase;overflow:hidden;white-space:nowrap}.border-btm.svelte-134qnz1.svelte-134qnz1{margin:1rem 0 .5rem;height:1px;border-bottom:1px solid var(--c-bg-body)}.components.svelte-134qnz1.svelte-134qnz1{margin-left:1.063rem;width:100%;border-left:1px solid var(--c-basic-250)}.component.svelte-134qnz1.svelte-134qnz1{display:flex;height:1.375rem;width:100%;z-index:1}.close.svelte-134qnz1.svelte-134qnz1{position:absolute;display:flex;justify-content:flex-end;align-items:center;right:0;width:1.75rem;height:1.375rem;z-index:9;background-color:var(--c-sidebar-bg)}.component:has(.component_link:hover) .close,.component:has(.component_link:focus-visible) .close{background-color:var(--c-basic-100)}.component:has(.close:hover) .component_link.selected,.component:has(.component_link.selected) .close{background-color:var(--c-primary-bg)!important}.component:has(.close:hover) .component_link,.close.svelte-134qnz1.svelte-134qnz1:hover{background-color:var(--c-basic-100)}.close-icon.svelte-134qnz1.svelte-134qnz1{display:block;color:var(--c-basic-600)}.close.svelte-134qnz1:hover .close-icon.svelte-134qnz1,.close.svelte-134qnz1:focus-visible .close-icon.svelte-134qnz1{color:var(--c-primary);stroke-width:4}.components.svelte-1nn9bvq.svelte-1nn9bvq{margin-left:1.063rem;border-left:1px solid var(--c-basic-250)}.component.svelte-1nn9bvq.svelte-1nn9bvq{height:1.375rem}.level-1.svelte-1nn9bvq.svelte-1nn9bvq{width:100%;margin:0;padding:0;border:none}.folder.svelte-1nn9bvq.svelte-1nn9bvq{display:block;margin:0}.folder_btn.svelte-1nn9bvq.svelte-1nn9bvq{display:flex;justify-content:flex-start;align-items:center;width:100%;margin:0;padding:.5rem .688rem .375rem}.folder_label.svelte-1nn9bvq.svelte-1nn9bvq{display:flex;width:100%;font-size:.813rem;color:var(--c-basic-900);font-weight:600;text-transform:uppercase;overflow:hidden;white-space:nowrap}.folder_btn.svelte-1nn9bvq.svelte-1nn9bvq:hover{background-color:var(--c-basic-100)}.folder_btn.svelte-1nn9bvq:hover .folder_label.svelte-1nn9bvq{color:var(--c-primary)}.folder_btn.svelte-1nn9bvq.svelte-1nn9bvq:focus-visible{color:var(--c-primary);outline:none;background-color:var(--c-basic-100)}.folder_arrow.svelte-1nn9bvq.svelte-1nn9bvq{display:flex;align-items:center;width:.938rem;height:1.25rem;transition:.2s;margin-right:.375rem;color:var(--c-basic-900)}.folder_arrow.unfolded_icon.svelte-1nn9bvq.svelte-1nn9bvq{transform:rotate(180deg);transition:.2s}.folder_icon.svelte-1nn9bvq.svelte-1nn9bvq{display:flex;align-items:center;margin-right:.375rem;color:var(--c-primary)}.btn_level-3.svelte-1nn9bvq .folder_label.svelte-1nn9bvq{font-size:.813rem}.filter_list.svelte-1nn9bvq .highlight{padding:0 .125rem;color:var(--c-primary);font-weight:700}.sidebar_container.svelte-ky94or.svelte-ky94or{--w-sidebar:260px;display:flex;flex-direction:column;position:relative;margin:.375rem 0;width:0;max-width:var(--w-sidebar);height:calc(100vh - .75rem);background-color:var(--c-sidebar-bg);border-radius:.625rem;transition:width .1s;overflow:hidden}.show-sidebar.svelte-ky94or.svelte-ky94or{margin:.375rem .375rem .375rem 0;width:var(--w-sidebar);box-sizing:border-box}.project-identifier.svelte-ky94or.svelte-ky94or{position:relative;display:flex;flex-shrink:0;flex-direction:row;justify-content:center;align-items:center;padding:.25rem .688rem;margin:0 0 .125rem;width:var(--w-sidebar);height:2.25rem;background-color:var(--c-sidebar);inline-size:var(--w-sidebar);overflow:hidden;white-space:nowrap;font-size:1.25rem;color:var(--c-primary);text-decoration:none;font-weight:900;line-height:1}.project-identifier.has-logo.svelte-ky94or.svelte-ky94or{height:auto}.project-identifier.svelte-ky94or.svelte-ky94or:focus-visible{color:var(--c-basic-500)}.project-identifier.svelte-ky94or span.svelte-ky94or{overflow:hidden}.filter.svelte-ky94or.svelte-ky94or{display:flex;flex-shrink:0;margin:0 0 .25rem;padding:.25rem .688rem;height:2.25rem}.filter_input.svelte-ky94or.svelte-ky94or{padding:.125rem .125rem .125rem .688rem;width:100%;height:100%;color:var(--c-basic-900);background-color:var(--c-basic-0);border:1px solid var(--c-primary);border-radius:1.75rem}input.filter_input[type=search].svelte-ky94or.svelte-ky94or{font-size:.813rem}.filter_input.svelte-ky94or.svelte-ky94or::placeholder{font-size:.813rem;color:var(--c-basic-500)}.filter_input.svelte-ky94or.svelte-ky94or:focus-visible{background-color:var(--c-basic-100);border:1px solid var(--c-basic-500)}.filter_zero-results.svelte-ky94or.svelte-ky94or{width:var(--w-sidebar);padding:.5rem .688rem .375rem;text-transform:initial;font-size:.813rem;color:var(--c-basic-600);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.components-nav.svelte-ky94or.svelte-ky94or{display:flex;flex-shrink:1;overflow:hidden;visibility:visible;width:var(--w-sidebar);overflow-y:auto;margin:0 0 1rem}.controls.svelte-ky94or.svelte-ky94or{display:none}@media (min-height: 35rem){.controls.svelte-ky94or.svelte-ky94or{display:block;flex-shrink:0;width:var(--w-sidebar);height:103px;bottom:.375rem;padding:0;background-color:var(--c-sidebar);border-top:1px solid var(--c-bg-body);border-bottom-right-radius:.5rem;border-bottom-left-radius:.5rem;overflow:hidden}}.controls_btn.svelte-ky94or.svelte-ky94or{display:flex;justify-content:flex-start;align-items:center;width:100%;height:2.125rem;margin:0;padding:0 .688rem;text-align:left}.controls_btn.svelte-ky94or.svelte-ky94or:hover,.controls_btn.svelte-ky94or.svelte-ky94or:focus-visible{background-color:var(--c-basic-100)}.controls_btn-icon.svelte-ky94or.svelte-ky94or{margin:0;color:var(--c-basic-700)}.controls_btn-label.svelte-ky94or.svelte-ky94or{position:relative;align-self:center;margin-left:.75rem;width:100%;color:var(--c-basic-900);font-size:.875rem;font-weight:400}.controls_btn.svelte-ky94or:hover .controls_btn-label.svelte-ky94or,.controls_btn.svelte-ky94or:hover .controls_btn-icon.svelte-ky94or,.controls_btn.svelte-ky94or:focus-visible .controls_btn-label.svelte-ky94or,.controls_btn.svelte-ky94or:focus-visible .controls_btn-icon.svelte-ky94or{color:var(--c-primary)}.topbar.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{--h-topbar:2.25rem;margin:.375rem 0;width:100%;height:var(--h-topbar);background-color:var(--c-topbar-bg);border-radius:.625rem}.topbar_container.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{display:flex;justify-content:space-between;width:100%;height:100%;padding:0;z-index:999999}.topbar_nav.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{display:flex;align-items:center}.topbar_btn.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{display:flex;align-items:center;padding:0 .375rem;height:var(--h-topbar);background:none}.topbar_btn.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1:hover,.topbar_btn.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1:focus-visible{background-color:var(--c-basic-100)}.topbar_btn.svelte-70vfk1 svg.svelte-70vfk1.svelte-70vfk1{height:1.125rem;color:var(--c-basic-700)}.topbar_btn.svelte-70vfk1:hover svg.svelte-70vfk1.svelte-70vfk1,.topbar_btn.svelte-70vfk1:focus-visible svg.svelte-70vfk1.svelte-70vfk1{color:var(--c-primary)}.is-first-btn.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{border-radius:.5rem 0 0 .5rem}.is-last-btn.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{border-radius:0 .5rem .5rem 0}@media (max-width: 499px){.bookmark_btn.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1,.openexternal_btn.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{display:none}}.stagesize-value.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{display:none}@media (min-width: 640px){.stagesize-value.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{display:inline-flex;align-items:center;padding:0 1rem;font-size:.75rem}.stagesize-input.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{padding:.25rem .375rem;width:42px;font-size:.75rem;font-family:ui-monospace,Menlo,Monaco,Cascadia Mono,Segoe UI Mono,Roboto Mono,Oxygen Mono,"Ubuntu Monospace",Source Code Pro,Fira Mono,Droid Sans Mono,Courier New,"monospace";color:var(--c-basic-600);text-align:right;background-color:transparent;border:1px solid var(--c-primary);border-radius:.125rem}.stagesize-input.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1:disabled{border-color:transparent}.stagesize-value-multi_sign.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{margin:0 .25rem;color:var(--c-basic-700)}}.stagesize-nav.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{display:none}@media (min-width: 1280px){.stagesize-nav.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{position:relative;display:inline-flex;margin:0 .75rem;background-color:var(--c-basic-100)}.stagesize-nav.svelte-70vfk1 button.svelte-70vfk1.svelte-70vfk1{position:relative;display:flex;justify-content:center;flex-direction:column;align-self:center;height:var(--h-topbar);margin:0;padding:0 .25rem;background:none;overflow:hidden}.stagesize-nav.svelte-70vfk1 button.svelte-70vfk1.svelte-70vfk1:hover,.stagesize-nav.svelte-70vfk1 button.svelte-70vfk1.svelte-70vfk1:focus-visible{background-color:var(--c-basic-150)}.stagesize-nav.svelte-70vfk1 button.svelte-70vfk1 svg.svelte-70vfk1{height:1.125rem;color:var(--c-basic-700);transition:.2s}.stagesize-nav.svelte-70vfk1 button.svelte-70vfk1:hover svg.svelte-70vfk1,.stagesize-nav.svelte-70vfk1 button.svelte-70vfk1:focus-visible svg.svelte-70vfk1,.stagesize-nav.svelte-70vfk1 button.active svg.svelte-70vfk1.svelte-70vfk1{color:var(--c-primary)}.stagesize-nav.svelte-70vfk1 button svg.landscape.svelte-70vfk1.svelte-70vfk1{transform:rotate(90deg);transition:.2s}.stagesize-nav.svelte-70vfk1 button .dot.svelte-70vfk1.svelte-70vfk1{display:block;position:absolute;left:50%;bottom:.125rem;transform:translate(-50%);height:.313rem;width:.313rem;background-color:transparent;border-radius:50%}.stagesize-nav.svelte-70vfk1 button.active.svelte-70vfk1.svelte-70vfk1{background-color:var(--c-primary-bg)}.stagesize-nav.svelte-70vfk1 button.active .dot.svelte-70vfk1.svelte-70vfk1{background-color:var(--c-primary)}}.dropdown.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{position:relative;display:inline-block;z-index:99}.dropdown_items.svelte-70vfk1.svelte-70vfk1.svelte-70vfk1{visibility:hidden;position:absolute;left:-.75rem;padding:.375rem 0 0;z-index:9}.dropdown_items.svelte-70vfk1 ul.svelte-70vfk1.svelte-70vfk1{margin:0;padding:0;background-color:var(--c-basic-50);filter:drop-shadow(0px 5px 5px rgba(0,0,0,.05)) drop-shadow(0 1px 3px rgba(0,0,0,.1));border-radius:.5rem;overflow:hidden}.dropdown_items.svelte-70vfk1 ul li.svelte-70vfk1.svelte-70vfk1{display:block;list-style:none;margin:0;padding:0}.dropdown_items.svelte-70vfk1 ul li button.svelte-70vfk1.svelte-70vfk1{display:flex;align-items:center;justify-items:flex-start;width:100%;min-width:113px;padding:.5rem;font-size:.75rem;color:var(--c-basic-900);text-transform:capitalize;white-space:nowrap}.dropdown_items.svelte-70vfk1 ul li button .dropdown_item-dot.svelte-70vfk1.svelte-70vfk1{display:block;margin:0 .5rem 0 0;height:.313rem;width:.313rem;background-color:transparent;border-radius:50%}.dropdown_items.svelte-70vfk1 ul li button.active .dropdown_item-dot.svelte-70vfk1.svelte-70vfk1,.dropdown_items.svelte-70vfk1 ul li button.active:hover .dropdown_item-dot.svelte-70vfk1.svelte-70vfk1{background-color:var(--c-primary)}.dropdown_items.svelte-70vfk1 ul li button.svelte-70vfk1.svelte-70vfk1:hover,.dropdown_items.svelte-70vfk1 ul li button.svelte-70vfk1.svelte-70vfk1:focus-visible{color:var(--c-primary);font-weight:500;background-color:var(--c-basic-100)}.dropdown_items.svelte-70vfk1 ul li button.active.svelte-70vfk1.svelte-70vfk1{color:var(--c-primary);font-weight:500;background-color:var(--c-primary-bg);border-color:var(--c-primary)}.dropdown.svelte-70vfk1:hover>.dropdown_items.svelte-70vfk1.svelte-70vfk1,.dropdown.svelte-70vfk1:focus-visible>.dropdown_items.svelte-70vfk1.svelte-70vfk1{display:block;visibility:visible}.sidebar.svelte-yh1ir7.svelte-yh1ir7{flex-grow:0;flex-shrink:0}.garden.svelte-yh1ir7.svelte-yh1ir7{display:flex;flex-direction:row;flex-wrap:nowrap;flex-grow:1;margin:0;padding:0 .375rem;width:100vw;height:100vh;overflow:hidden;background-color:var(--c-bg-body)}.main.svelte-yh1ir7.svelte-yh1ir7{display:flex;flex-direction:column;width:100%;height:100vh;overflow-y:auto}.message.svelte-yh1ir7.svelte-yh1ir7{display:inline-block;margin:1rem;padding:1rem;background-color:#fff;border-radius:.625rem}.click-completed.svelte-yh1ir7.svelte-yh1ir7{margin:0 0 .75rem;font-size:120%;font-weight:500}.instruction.svelte-yh1ir7 button.svelte-yh1ir7{padding:.125rem .75rem;background:var(--c-basic-150);border-radius:.375rem;font-size:90%;color:var(--c-basic-900);font-weight:600;text-transform:uppercase}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield;margin:0}*,:before,:after{box-sizing:border-box;border:0 solid #fff}*:focus,*:focus:not(:focus-visible){outline:none}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;background-color:var(--c-bg-body)}body{margin:0;min-height:100vh;text-rendering:optimizeSpeed;line-height:1}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}a{text-decoration-skip-ink:auto}img,picture,embed,object,video{max-width:100%;width:auto;height:auto}img,video,canvas,audio,iframe,embed,object{display:block;border:none}input,button,textarea,select{font:inherit}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:root{--c-primary: hsl(185, 80%, 40%);--c-primary-bg: hsl(185, 100%, 95%);--c-basic-0: hsl(216, 20%, 100%);--c-basic-50: hsl(216, 20%, 98%);--c-basic-75: hsl(216, 20%, 96%);--c-basic-100: hsl(216, 20%, 94%);--c-basic-150: hsl(216, 20%, 90%);--c-basic-200: hsl(216, 20%, 87%);--c-basic-250: hsl(216, 20%, 84%);--c-basic-300: hsl(216, 20%, 81%);--c-basic-400: hsl(216, 20%, 64%);--c-basic-500: hsl(216, 20%, 46%);--c-basic-600: hsl(216, 20%, 32%);--c-basic-700: hsl(216, 20%, 25%);--c-basic-800: hsl(216, 20%, 15%);--c-basic-900: hsl(216, 20%, 10%);--c-bg-body: var(--c-basic-200);--c-topbar-bg: var(--c-basic-0);--c-sidebar-bg: var(--c-basic-0);--c-dragbar-bg: var(--c-basic-100);--c-dragbar-bg-hover: var(--c-basic-200);--c-dragbar-icon: var(--c-basic-400)}[data-theme=dark]{--c-primary: hsl(185, 80%, 70%);--c-primary-bg: hsl(185, 80%, 17%);--c-basic-0: hsl(216, 30%, 5%);--c-basic-50: hsl(216, 30%, 10%);--c-basic-75: hsl(216, 30%, 14%);--c-basic-100: hsl(216, 30%, 18%);--c-basic-150: hsl(216, 30%, 22%);--c-basic-200: hsl(216, 30%, 25%);--c-basic-250: hsl(216, 30%, 30%);--c-basic-300: hsl(216, 30%, 33%);--c-basic-400: hsl(216, 30%, 46%);--c-basic-500: hsl(216, 30%, 64%);--c-basic-600: hsl(216, 30%, 83%);--c-basic-700: hsl(216, 30%, 90%);--c-basic-800: hsl(216, 30%, 96%);--c-basic-900: hsl(216, 30%, 98%);--c-bg-body: var(--c-basic-150);--c-topbar-bg: var(--c-basic-0);--c-sidebar-bg: var(--c-basic-0);--c-dragbar-bg: var(--c-basic-250);--c-dragbar-bg-hover: var(--c-basic-150);--c-dragbar-icon: var(--c-basic-500)}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";text-shadow:1px 1px 1px rgba(0,0,0,.004);-webkit-font-smoothing:antialiased;-moz-font-smoothing:antialiased}h1,h2,h3,h4,h5,h6{margin:0;color:var(--c-basic-600);line-height:1.2}p{margin:.5rem 0;font-size:.875rem;color:var(--c-basic-600);line-height:1.5}li{font-size:.875rem;line-height:1.5}a,a:visited{font-size:.875rem;line-height:1.5;text-decoration:underline;text-decoration-skip-ink:auto}nav ol,nav ul{margin:0;padding:0;list-style:none}nav li{display:block;margin:0;padding:0}nav a{display:block;margin:0;padding:0;text-decoration:none}button{cursor:pointer;background-color:transparent;border:none}
|
package/dist/index.html
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
<link rel="icon" href="/assets/favicon.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>Gardenjs UI Component Explorer</title>
|
|
8
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-BdHEnSov.js"></script>
|
|
9
9
|
<link rel="modulepreload" crossorigin href="/assets/index-OMTxPB5B.js">
|
|
10
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
10
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DP8Zsu6y.css">
|
|
11
11
|
</head>
|
|
12
12
|
|
|
13
13
|
<body>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gardenjs",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "A lightweight UI component explorer for JavaScript front-end libraries",
|
|
5
5
|
"repository": "https://github.com/gardenjs/gardenjs",
|
|
6
6
|
"homepage": "https://gardenjs.org/",
|
|
@@ -51,18 +51,18 @@
|
|
|
51
51
|
"lint": "eslint src/."
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@sveltejs/vite-plugin-svelte": "3.1.
|
|
55
|
-
"eslint": "9.
|
|
54
|
+
"@sveltejs/vite-plugin-svelte": "3.1.2",
|
|
55
|
+
"eslint": "9.12.0",
|
|
56
56
|
"eslint-config-prettier": "9.1.0",
|
|
57
|
-
"eslint-plugin-svelte": "2.
|
|
58
|
-
"husky": "9.1.
|
|
59
|
-
"lint-staged": "15.2.
|
|
57
|
+
"eslint-plugin-svelte": "2.44.1",
|
|
58
|
+
"husky": "9.1.6",
|
|
59
|
+
"lint-staged": "15.2.10",
|
|
60
60
|
"prettier": "3.3.3",
|
|
61
|
-
"prettier-plugin-svelte": "3.2.
|
|
62
|
-
"sass": "1.
|
|
63
|
-
"svelte": "4.2.
|
|
64
|
-
"typescript": "^5.
|
|
65
|
-
"vite": "5.4.
|
|
61
|
+
"prettier-plugin-svelte": "3.2.7",
|
|
62
|
+
"sass": "1.79.5",
|
|
63
|
+
"svelte": "4.2.19",
|
|
64
|
+
"typescript": "^5.6.3",
|
|
65
|
+
"vite": "5.4.9"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@inquirer/checkbox": "1.5.0",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"@inquirer/select": "^2.0.0",
|
|
71
71
|
"highlight.js": "11.10.0",
|
|
72
72
|
"marked": "4.3.0",
|
|
73
|
-
"node-watch": "0.7.
|
|
73
|
+
"node-watch": "0.7.4",
|
|
74
74
|
"open": "8.4.0",
|
|
75
|
-
"vite-node": "2.
|
|
75
|
+
"vite-node": "2.1.3"
|
|
76
76
|
},
|
|
77
77
|
"lint-staged": {
|
|
78
78
|
"**/*.{js,ts,svelte}": "eslint --fix",
|