import{s as oe,e as $,a as B,t as y,b,d as v,g as r,c as x,f as I,h as w,i as h,j as m,k as me,r as D,J as pe,H as ge,K as ve,w as _e,V as O,n as Q,x as G,q as Ee,W as De,l as Te}from"../chunks/scheduler.cn5kXY6R.js";import{S as ie,i as re,c as A,a as M,m as U,t as S,b as W,d as L}from"../chunks/index.msLY0OCU.js";import{C as He}from"../chunks/circled-icon.xYYkKPAV.js";import{g as we}from"../chunks/spread.rEx3vLA9.js";import"../chunks/entry.fFjo_NsI.js";import{L as de}from"../chunks/Link.OSUPrIyZ.js";import{f as Ve}from"../chunks/kit-docs.JP0XWICL.js";function Ze(i){let e,t,l,c,s,o,n,k,p,d,R,T,q,C,H;return s=new He({props:{IconComponent:i[4],iconUrl:i[3],color:i[5]}}),{c(){e=$("div"),t=$("div"),l=B(),c=$("div"),A(s.$$.fragment),o=B(),n=$("h2"),k=$("a"),p=$("span"),d=B(),R=y(i[0]),T=B(),q=$("p"),C=y(i[1]),this.h()},l(f){e=b(f,"DIV",{class:!0});var _=v(e);t=b(_,"DIV",{class:!0}),v(t).forEach(r),l=x(_),c=b(_,"DIV",{class:!0});var g=v(c);M(s.$$.fragment,g),o=x(g),n=b(g,"H2",{class:!0});var V=v(n);k=b(V,"A",{href:!0});var N=v(k);p=b(N,"SPAN",{class:!0}),v(p).forEach(r),d=x(N),R=I(N,i[0]),N.forEach(r),V.forEach(r),T=x(g),q=b(g,"P",{class:!0});var X=v(q);C=I(X,i[1]),X.forEach(r),g.forEach(r),_.forEach(r),this.h()},h(){w(t,"class","quick-link-bg absolute inset-0 rounded-xl border-0 border-transparent opacity-0 group-hover:opacity-100 dark:[--quick-links-hover-bg:theme(colors.slate.800)]"),w(p,"class","absolute -inset-px rounded-xl"),w(k,"href",i[2]),w(n,"class","mt-4 font-display text-base text-slate-900 dark:text-white"),w(q,"class","mt-1 text-sm text-slate-700 dark:text-slate-400"),w(c,"class","relative overflow-hidden rounded-xl p-6"),w(e,"class","quick-link group relative rounded-xl")},m(f,_){h(f,e,_),m(e,t),m(e,l),m(e,c),U(s,c,null),m(c,o),m(c,n),m(n,k),m(k,p),m(k,d),m(k,R),m(c,T),m(c,q),m(q,C),H=!0},p(f,[_]){const g={};_&16&&(g.IconComponent=f[4]),_&8&&(g.iconUrl=f[3]),_&32&&(g.color=f[5]),s.$set(g),(!H||_&1)&&me(R,f[0]),(!H||_&4)&&w(k,"href",f[2]),(!H||_&2)&&me(C,f[1])},i(f){H||(S(s.$$.fragment,f),H=!0)},o(f){W(s.$$.fragment,f),H=!1},d(f){f&&r(e),L(s)}}}function qe(i,e,t){let{title:c}=e,{description:s}=e,{href:o}=e,{iconUrl:n=void 0}=e,{IconComponent:k=void 0}=e,{color:p="red"}=e;return i.$$set=d=>{"title"in d&&t(0,c=d.title),"description"in d&&t(1,s=d.description),"href"in d&&t(2,o=d.href),"iconUrl"in d&&t(3,n=d.iconUrl),"IconComponent"in d&&t(4,k=d.IconComponent),"color"in d&&t(5,p=d.color)},[c,s,o,n,k,p,!0]}class fe extends ie{constructor(e){super(),re(this,e,qe,Ze,oe,{prerender:6,title:0,description:1,href:2,iconUrl:3,IconComponent:4,color:5})}get prerender(){return this.$$.ctx[6]}}function Pe(i){let e,t,l='<path fill="currentColor" d="M101.6 187.1c-5.4 16.4-18.4 28.4-37.5 34.8a91.8 91.8 0 0 1-26.6 4.6a8 8 0 0 1-8-8a91.8 91.8 0 0 1 4.6-26.6c6.4-19.1 18.4-32.1 34.8-37.5a8 8 0 1 1 5.1 15.1c-19.7 6.6-25.8 27.9-27.7 40.2c12.3-1.9 33.6-8 40.2-27.7a8 8 0 0 1 15.1 5.1Zm99.9-76.1l-8.9 9v61.3a16.2 16.2 0 0 1-4.7 11.3l-32.4 32.3a15.6 15.6 0 0 1-11.3 4.7a14.7 14.7 0 0 1-4.6-.7a16 16 0 0 1-11.1-12.2l-7.9-39.5l-41.8-41.8l-39.5-7.9a16 16 0 0 1-12.2-11.1a15.9 15.9 0 0 1 4-15.9l32.3-32.4a16.2 16.2 0 0 1 11.3-4.7H136l9-8.9c28.6-28.6 57.9-27.8 69.2-26.1a15.7 15.7 0 0 1 13.4 13.4c1.7 11.3 2.5 40.6-26.1 69.2Zm-159.1.8l37.7 7.5L120 79.4H74.7ZM94.1 128l33.9 33.9l62.2-62.2c7.8-7.8 25.6-28.8 21.6-55.5c-26.7-4-47.7 13.8-55.5 21.6Zm82.5 8l-39.9 39.9l7.5 37.7l32.4-32.3Z"/>',c=[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},i[0]],s={};for(let o=0;o<c.length;o+=1)s=D(s,c[o]);return{c(){e=pe("svg"),t=new ge(!0),this.h()},l(o){e=ve(o,"svg",{viewBox:!0,width:!0,height:!0});var n=v(e);t=_e(n,!0),n.forEach(r),this.h()},h(){t.a=null,O(e,s)},m(o,n){h(o,e,n),t.m(l,e)},p(o,[n]){O(e,s=we(c,[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},n&1&&o[0]]))},i:Q,o:Q,d(o){o&&r(e)}}}function Ae(i,e,t){return i.$$set=l=>{t(0,e=D(D({},e),G(l)))},e=G(e),[e]}class Me extends ie{constructor(e){super(),re(this,e,Ae,Pe,oe,{})}}function Ue(i){let e,t,l='<path fill="currentColor" d="M224 48h-64a40 40 0 0 0-32 16a40 40 0 0 0-32-16H32a16 16 0 0 0-16 16v128a16 16 0 0 0 16 16h64a24.1 24.1 0 0 1 24 24a8 8 0 0 0 16 0a24.1 24.1 0 0 1 24-24h64a16 16 0 0 0 16-16V64a16 16 0 0 0-16-16ZM96 192H32V64h64a24.1 24.1 0 0 1 24 24v112a40 40 0 0 0-24-8Zm128 0h-64a40 40 0 0 0-24 8V88a24.1 24.1 0 0 1 24-24h64Z"/>',c=[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},i[0]],s={};for(let o=0;o<c.length;o+=1)s=D(s,c[o]);return{c(){e=pe("svg"),t=new ge(!0),this.h()},l(o){e=ve(o,"svg",{viewBox:!0,width:!0,height:!0});var n=v(e);t=_e(n,!0),n.forEach(r),this.h()},h(){t.a=null,O(e,s)},m(o,n){h(o,e,n),t.m(l,e)},p(o,[n]){O(e,s=we(c,[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},n&1&&o[0]]))},i:Q,o:Q,d(o){o&&r(e)}}}function Se(i,e,t){return i.$$set=l=>{t(0,e=D(D({},e),G(l)))},e=G(e),[e]}class We extends ie{constructor(e){super(),re(this,e,Se,Ue,oe,{})}}function Le(i){let e,t,l='<path fill="currentColor" d="M69.1 94.1L28.5 128l40.6 33.9a7.9 7.9 0 0 1 1.1 11.2A8.1 8.1 0 0 1 64 176a7.7 7.7 0 0 1-5.1-1.9l-48-40a7.9 7.9 0 0 1 0-12.2l48-40a8 8 0 1 1 10.2 12.2Zm176 27.8l-48-40a8 8 0 0 0-10.2 12.2l40.6 33.9l-40.6 33.9A8 8 0 0 0 192 176a7.7 7.7 0 0 0 5.1-1.9l48-40a7.9 7.9 0 0 0 0-12.2Zm-82.4-89.4a7.9 7.9 0 0 0-10.2 4.8l-64 176a7.9 7.9 0 0 0 4.8 10.2a8.6 8.6 0 0 0 2.7.5a7.9 7.9 0 0 0 7.5-5.3l64-176a7.9 7.9 0 0 0-4.8-10.2Z"/>',c=[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},i[0]],s={};for(let o=0;o<c.length;o+=1)s=D(s,c[o]);return{c(){e=pe("svg"),t=new ge(!0),this.h()},l(o){e=ve(o,"svg",{viewBox:!0,width:!0,height:!0});var n=v(e);t=_e(n,!0),n.forEach(r),this.h()},h(){t.a=null,O(e,s)},m(o,n){h(o,e,n),t.m(l,e)},p(o,[n]){O(e,s=we(c,[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},n&1&&o[0]]))},i:Q,o:Q,d(o){o&&r(e)}}}function Re(i,e,t){return i.$$set=l=>{t(0,e=D(D({},e),G(l)))},e=G(e),[e]}class Ne extends ie{constructor(e){super(),re(this,e,Re,Le,oe,{})}}function je(i){let e,t,l='<path fill="currentColor" d="M220.3 158.5a8.1 8.1 0 0 0-7.7-.4a20.2 20.2 0 0 1-23.2-4.4a20 20 0 0 1 13.1-33.6a19.6 19.6 0 0 1 10.1 1.8a8.1 8.1 0 0 0 7.7-.4a8.2 8.2 0 0 0 3.7-6.8V72a16 16 0 0 0-16-16h-36.2c.1-1.3.2-2.7.2-4a35.6 35.6 0 0 0-11.4-26.2a35.3 35.3 0 0 0-26.9-9.7a36 36 0 0 0-33.6 33.3a36.4 36.4 0 0 0 .1 6.6H64a16 16 0 0 0-16 16v32.2l-4-.2a35.6 35.6 0 0 0-26.2 11.4a35.3 35.3 0 0 0-9.7 26.9a36 36 0 0 0 33.3 33.6a36.4 36.4 0 0 0 6.6-.1V208a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16v-42.7a8.2 8.2 0 0 0-3.7-6.8ZM208 208H64v-42.7a8.2 8.2 0 0 0-3.7-6.8a8.1 8.1 0 0 0-7.7-.4a19.6 19.6 0 0 1-10.1 1.8a20 20 0 0 1-13.1-33.6a20.2 20.2 0 0 1 23.2-4.4a8.1 8.1 0 0 0 7.7-.4a8.2 8.2 0 0 0 3.7-6.8V72h46.7a8.2 8.2 0 0 0 6.8-3.7a8.1 8.1 0 0 0 .4-7.7a19.6 19.6 0 0 1-1.8-10.1a20 20 0 0 1 33.6-13.1a20.2 20.2 0 0 1 4.4 23.2a8.1 8.1 0 0 0 .4 7.7a8.2 8.2 0 0 0 6.8 3.7H208v32.2a36.4 36.4 0 0 0-6.6-.1a36 36 0 0 0-33.3 33.6A36.1 36.1 0 0 0 204 176l4-.2Z"/>',c=[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},i[0]],s={};for(let o=0;o<c.length;o+=1)s=D(s,c[o]);return{c(){e=pe("svg"),t=new ge(!0),this.h()},l(o){e=ve(o,"svg",{viewBox:!0,width:!0,height:!0});var n=v(e);t=_e(n,!0),n.forEach(r),this.h()},h(){t.a=null,O(e,s)},m(o,n){h(o,e,n),t.m(l,e)},p(o,[n]){O(e,s=we(c,[{viewBox:"0 0 256 256"},{width:"1.2em"},{height:"1.2em"},n&1&&o[0]]))},i:Q,o:Q,d(o){o&&r(e)}}}function ze(i,e,t){return i.$$set=l=>{t(0,e=D(D({},e),G(l)))},e=G(e),[e]}class Fe extends ie{constructor(e){super(),re(this,e,ze,je,oe,{})}}function Je(i){let e;return{c(){e=y("#")},l(t){e=I(t,"#")},m(t,l){h(t,e,l)},d(t){t&&r(e)}}}function Ke(i){let e;return{c(){e=y("Basics")},l(t){e=I(t,"Basics")},m(t,l){h(t,e,l)},d(t){t&&r(e)}}}function Oe(i){let e;return{c(){e=y("Tutorials")},l(t){e=I(t,"Tutorials")},m(t,l){h(t,e,l)},d(t){t&&r(e)}}}function Qe(i){let e;return{c(){e=y("#")},l(t){e=I(t,"#")},m(t,l){h(t,e,l)},d(t){t&&r(e)}}}function Ge(i){let e,t=i[0].title+"",l,c,s,o=i[0].description+"",n,k,p,d,R,T,q,C,H,f,_,g,V,N,X,j,ke,z,$e,se,F,be,J,Be,le,P,K,xe,ce,Y,Ie="Our video below shows you how to create a ToDesktop Builder app from scratch. It's a 3 minute video that shows you how to create a ToDo list desktop app.",ue,E,Ce,te;return d=new fe({props:{title:"Basics",href:"/docs/introduction/basics",description:"Step-by-step instructions to bootstrap your web app into a desktop app with ToDesktop Builder in just a few minutes.",IconComponent:Me,color:"red"}}),T=new fe({props:{title:"Tutorials",href:"/docs/tutorials/desktop-app-todomvc",description:"Demonstrative guides that show how to create advanced applications with ToDesktop Builder. We show you how to integrate plugins or custom code with your ToDesktop Builder app.",IconComponent:We,color:"yellow"}}),C=new fe({props:{title:"Recipes",href:"/docs/application/working-with-todesktop-api",description:"Enhance your desktop app by following short guides and recipes. Recipes are designed to get you familiar with what's possible with ToDesktop Builder.",IconComponent:Fe,color:"green"}}),f=new fe({props:{title:"API Reference",href:"/docs/API/client-core.app",description:"Learn to easily customise your desktop app. Add code from our desktop APIs to your codebase and get access to system level functionality.",IconComponent:Ne,color:"purple"}}),V=new de({props:{class:"header-anchor",href:"#new-to-todesktop-builder","aria-hidden":"true",$$slots:{default:[Je]},$$scope:{ctx:i}}}),z=new de({props:{href:"/docs/introduction/basics",$$slots:{default:[Ke]},$$scope:{ctx:i}}}),J=new de({props:{href:"#",$$slots:{default:[Oe]},$$scope:{ctx:i}}}),K=new de({props:{class:"header-anchor",href:"#video","aria-hidden":"true",$$slots:{default:[Qe]},$$scope:{ctx:i}}}),{c(){e=$("h1"),l=y(t),c=B(),s=$("p"),n=y(o),k=B(),p=$("div"),A(d.$$.fragment),R=B(),A(T.$$.fragment),q=B(),A(C.$$.fragment),H=B(),A(f.$$.fragment),_=B(),g=$("h2"),A(V.$$.fragment),N=y(" New to ToDesktop Builder?"),X=B(),j=$("p"),ke=y("Start at our "),A(z.$$.fragment),$e=y(" section which will walk you through the process of creating your first ToDesktop Builder app. We'll guide you through the Builder UI and show you how to publish a cross-platform desktop app in 15 minutes."),se=B(),F=$("p"),be=y("If you want to skip the basics and dive right in, you can check out our "),A(J.$$.fragment),Be=y(" section. We have a collection of guides that show you how to create advanced applications with ToDesktop Builder."),le=B(),P=$("h2"),A(K.$$.fragment),xe=y(" Video"),ce=B(),Y=$("p"),Y.textContent=Ie,ue=B(),E=$("iframe"),this.h()},l(a){e=b(a,"H1",{});var u=v(e);l=I(u,t),u.forEach(r),c=x(a),s=b(a,"P",{});var ne=v(s);n=I(ne,o),ne.forEach(r),k=x(a),p=b(a,"DIV",{class:!0});var Z=v(p);M(d.$$.fragment,Z),R=x(Z),M(T.$$.fragment,Z),q=x(Z),M(C.$$.fragment,Z),H=x(Z),M(f.$$.fragment,Z),Z.forEach(r),_=x(a),g=b(a,"H2",{id:!0,tabindex:!0});var ae=v(g);M(V.$$.fragment,ae),N=I(ae," New to ToDesktop Builder?"),ae.forEach(r),X=x(a),j=b(a,"P",{});var ee=v(j);ke=I(ee,"Start at our "),M(z.$$.fragment,ee),$e=I(ee," section which will walk you through the process of creating your first ToDesktop Builder app. We'll guide you through the Builder UI and show you how to publish a cross-platform desktop app in 15 minutes."),ee.forEach(r),se=x(a),F=b(a,"P",{});var he=v(F);be=I(he,"If you want to skip the basics and dive right in, you can check out our "),M(J.$$.fragment,he),Be=I(he," section. We have a collection of guides that show you how to create advanced applications with ToDesktop Builder."),he.forEach(r),le=x(a),P=b(a,"H2",{id:!0,tabindex:!0});var ye=v(P);M(K.$$.fragment,ye),xe=I(ye," Video"),ye.forEach(r),ce=x(a),Y=b(a,"P",{"data-svelte-h":!0}),Ee(Y)!=="svelte-tpfgqh"&&(Y.textContent=Ie),ue=x(a),E=b(a,"IFRAME",{src:!0,width:!0,height:!0,frameborder:!0,allow:!0}),v(E).forEach(r),this.h()},h(){w(p,"class","grid grid-cols-2 gap-6 not-prose getting-started"),w(g,"id","new-to-todesktop-builder"),w(g,"tabindex","-1"),w(P,"id","video"),w(P,"tabindex","-1"),De(E.src,Ce="https://player.vimeo.com/video/674437607?h=dcc303215a")||w(E,"src",Ce),w(E,"width","640"),w(E,"height","360"),w(E,"frameborder","0"),w(E,"allow","autoplay; fullscreen; picture-in-picture"),E.allowFullscreen=!0},m(a,u){h(a,e,u),m(e,l),h(a,c,u),h(a,s,u),m(s,n),h(a,k,u),h(a,p,u),U(d,p,null),m(p,R),U(T,p,null),m(p,q),U(C,p,null),m(p,H),U(f,p,null),h(a,_,u),h(a,g,u),U(V,g,null),m(g,N),h(a,X,u),h(a,j,u),m(j,ke),U(z,j,null),m(j,$e),h(a,se,u),h(a,F,u),m(F,be),U(J,F,null),m(F,Be),h(a,le,u),h(a,P,u),U(K,P,null),m(P,xe),h(a,ce,u),h(a,Y,u),h(a,ue,u),h(a,E,u),te=!0},p(a,[u]){(!te||u&1)&&t!==(t=a[0].title+"")&&me(l,t),(!te||u&1)&&o!==(o=a[0].description+"")&&me(n,o);const ne={};u&2&&(ne.$$scope={dirty:u,ctx:a}),V.$set(ne);const Z={};u&2&&(Z.$$scope={dirty:u,ctx:a}),z.$set(Z);const ae={};u&2&&(ae.$$scope={dirty:u,ctx:a}),J.$set(ae);const ee={};u&2&&(ee.$$scope={dirty:u,ctx:a}),K.$set(ee)},i(a){te||(S(d.$$.fragment,a),S(T.$$.fragment,a),S(C.$$.fragment,a),S(f.$$.fragment,a),S(V.$$.fragment,a),S(z.$$.fragment,a),S(J.$$.fragment,a),S(K.$$.fragment,a),te=!0)},o(a){W(d.$$.fragment,a),W(T.$$.fragment,a),W(C.$$.fragment,a),W(f.$$.fragment,a),W(V.$$.fragment,a),W(z.$$.fragment,a),W(J.$$.fragment,a),W(K.$$.fragment,a),te=!1},d(a){a&&(r(e),r(c),r(s),r(k),r(p),r(_),r(g),r(X),r(j),r(se),r(F),r(le),r(P),r(ce),r(Y),r(ue),r(E)),L(d),L(T),L(C),L(f),L(V),L(z),L(J),L(K)}}}function Xe(i,e,t){let l;return Te(i,Ve,c=>t(0,l=c)),[l]}class nt extends ie{constructor(e){super(),re(this,e,Xe,Ge,oe,{})}}export{nt as component};
