import{s as T}from"../chunks/scheduler.aZRR5A_O.js";import{S as U,i as D,g as v,s as k,r as F,h as b,x as L,c as w,u as J,j as P,f as p,a as $,v as K,d as Q,t as R,w as V,A as W,m as I,n as S,k as z,y as m,o as H}from"../chunks/index.kYoizZ4A.js";import{e as G}from"../chunks/each.-oqiv04n.js";import{I as X}from"../chunks/Info.ITY44f4q.js";const Y=async({fetch:i})=>({guides:await(await i("/api/guides")).json()}),ne=Object.freeze(Object.defineProperty({__proto__:null,load:Y},Symbol.toStringTag,{value:"Module"}));function M(i,a,c){const s=i.slice();return s[1]=a[c],s}function N(i){let a,c,s,o=i[1].meta.title+"",g,f,y,r,u,C="Publié le :",h,l=i[1].meta.date+"",e,n,t,x=i[1].meta.author+"",j,A;return{c(){a=v("li"),c=v("h2"),s=v("a"),g=I(o),y=k(),r=v("p"),u=v("b"),u.textContent=C,h=k(),e=I(l),n=I(" par "),t=v("i"),j=I(x),A=k(),this.h()},l(_){a=b(_,"LI",{class:!0});var d=P(a);c=b(d,"H2",{});var O=P(c);s=b(O,"A",{href:!0});var q=P(s);g=S(q,o),q.forEach(p),O.forEach(p),y=w(d),r=b(d,"P",{class:!0});var E=P(r);u=b(E,"B",{"data-svelte-h":!0}),L(u)!=="svelte-1y3xx1s"&&(u.textContent=C),h=w(E),e=S(E,l),n=S(E," par "),t=b(E,"I",{});var B=P(t);j=S(B,x),B.forEach(p),E.forEach(p),A=w(d),d.forEach(p),this.h()},h(){z(s,"href",f=i[1].path),z(r,"class","pt-2"),z(a,"class","ml-0 list-none px-4 pb-4 my-4 rounded-lg border-1 border-color-base-100 bg-neutral-800 hover:bg-neutral-700")},m(_,d){$(_,a,d),m(a,c),m(c,s),m(s,g),m(a,y),m(a,r),m(r,u),m(r,h),m(r,e),m(r,n),m(r,t),m(t,j),m(a,A)},p(_,d){d&1&&o!==(o=_[1].meta.title+"")&&H(g,o),d&1&&f!==(f=_[1].path)&&z(s,"href",f),d&1&&l!==(l=_[1].meta.date+"")&&H(e,l),d&1&&x!==(x=_[1].meta.author+"")&&H(j,x)},d(_){_&&p(a)}}}function Z(i){let a,c="Guides",s,o,g,f,y="Articles publiés",r,u,C;o=new X({props:{info:"Cette page est un recensement de guides proposés par les membres de la communauté pour apprendre à <i>live coder</i> ou se perfectionner. L'idée est de proposer des articles plus ou moins courts consacrés à un outil ou à une approche particulière du <i>live coding</i> Pour proposer un guide, référez-vous à l'article <a href='/guides/proposer_guide'>Proposer un guide</a>. Nous acceptons toutes les collaborations.",markdown:"false"}});let h=G(i[0].guides),l=[];for(let e=0;e<h.length;e+=1)l[e]=N(M(i,h,e));return{c(){a=v("h1"),a.textContent=c,s=k(),F(o.$$.fragment),g=k(),f=v("h2"),f.textContent=y,r=k(),u=v("ul");for(let e=0;e<l.length;e+=1)l[e].c()},l(e){a=b(e,"H1",{"data-svelte-h":!0}),L(a)!=="svelte-ilihnd"&&(a.textContent=c),s=w(e),J(o.$$.fragment,e),g=w(e),f=b(e,"H2",{"data-svelte-h":!0}),L(f)!=="svelte-6efz5p"&&(f.textContent=y),r=w(e),u=b(e,"UL",{});var n=P(u);for(let t=0;t<l.length;t+=1)l[t].l(n);n.forEach(p)},m(e,n){$(e,a,n),$(e,s,n),K(o,e,n),$(e,g,n),$(e,f,n),$(e,r,n),$(e,u,n);for(let t=0;t<l.length;t+=1)l[t]&&l[t].m(u,null);C=!0},p(e,[n]){if(n&1){h=G(e[0].guides);let t;for(t=0;t<h.length;t+=1){const x=M(e,h,t);l[t]?l[t].p(x,n):(l[t]=N(x),l[t].c(),l[t].m(u,null))}for(;t<l.length;t+=1)l[t].d(1);l.length=h.length}},i(e){C||(Q(o.$$.fragment,e),C=!0)},o(e){R(o.$$.fragment,e),C=!1},d(e){e&&(p(a),p(s),p(g),p(f),p(r),p(u)),V(o,e),W(l,e)}}}function ee(i,a,c){let{data:s}=a;return i.$$set=o=>{"data"in o&&c(0,s=o.data)},[s]}class oe extends U{constructor(a){super(),D(this,a,ee,Z,T,{data:0})}}export{oe as component,ne as universal};
