2 lines
6.5 KiB
JavaScript
2 lines
6.5 KiB
JavaScript
import{s as O,e as H,n as P}from"../chunks/scheduler.aZRR5A_O.js";import{S as T,i as K,g as w,s as C,m as z,h as b,j as k,f as m,c as q,n as B,k as f,a as E,y as h,o as Y,B as R,x as X,d as A,b as J,t as F,A as N,r as U,u as Z,v as $,w as ee,p as te}from"../chunks/index.kYoizZ4A.js";import{e as G}from"../chunks/each.-oqiv04n.js";import{s as re}from"../chunks/utils.Tkfr06Vk.js";function se(i){let t,a,s,d,u,l,c,e,v=i[4](i[0],50)+"",r,o,n,g,L,x,y;return{c(){t=w("div"),a=w("a"),s=w("img"),u=C(),l=w("div"),c=w("a"),e=w("h5"),r=z(v),o=C(),n=w("p"),g=z(i[1]),L=C(),x=w("a"),y=z("En savoir plus"),this.h()},l(p){t=b(p,"DIV",{class:!0});var _=k(t);a=b(_,"A",{href:!0});var S=k(a);s=b(S,"IMG",{class:!0,src:!0,alt:!0}),S.forEach(m),u=q(_),l=b(_,"DIV",{class:!0});var j=k(l);c=b(j,"A",{href:!0});var D=k(c);e=b(D,"H5",{class:!0});var I=k(e);r=B(I,v),I.forEach(m),D.forEach(m),o=q(j),n=b(j,"P",{class:!0});var M=k(n);g=B(M,i[1]),M.forEach(m),L=q(j),x=b(j,"A",{href:!0,class:!0});var W=k(x);y=B(W,"En savoir plus"),W.forEach(m),j.forEach(m),_.forEach(m),this.h()},h(){f(s,"class","rounded-t-lg h-48 w-80 object-cover"),H(s.src,d=i[2])||f(s,"src",d),f(s,"alt",""),f(a,"href","/presse"),f(e,"class","mb-2 text-lg font-bold tracking-tight text-white"),f(c,"href","/presse"),f(n,"class","mb-3 font-normal text-gray-400"),f(x,"href",i[3]),f(x,"class","inline-flex items-center btn btn-primary text-sm font-medium text-center text-white"),f(l,"class","p-5"),f(t,"class","max-w-sm my-4 w-80 h-fit rounded-lg shadow-md bg-neutral-800 hover:bg-neutral-700")},m(p,_){E(p,t,_),h(t,a),h(a,s),h(t,u),h(t,l),h(l,c),h(c,e),h(e,r),h(l,o),h(l,n),h(n,g),h(l,L),h(l,x),h(x,y)},p(p,[_]){_&4&&!H(s.src,d=p[2])&&f(s,"src",d),_&1&&v!==(v=p[4](p[0],50)+"")&&Y(r,v),_&2&&Y(g,p[1]),_&8&&f(x,"href",p[3])},i:P,o:P,d(p){p&&m(t)}}}function ae(i,t,a){let{title:s}=t,{description:d}=t,{image:u}=t,{link:l}=t;const c=(e,v)=>e.length>v?e.slice(0,v-3)+"...":e;return i.$$set=e=>{"title"in e&&a(0,s=e.title),"description"in e&&a(1,d=e.description),"image"in e&&a(2,u=e.image),"link"in e&&a(3,l=e.link)},[s,d,u,l,c]}class ne extends T{constructor(t){super(),K(this,t,ae,se,O,{title:0,description:1,image:2,link:3})}}const ie=[{title:"On a rencontré Renick Bell, pape de l’algorave et du live coding",picture:"https://www.lesinrocks.com/wp-content/thumbnails/uploads/2025/05/0002233223_10-t-850x540-crop.jpg",link:"https://www.lesinrocks.com/musique/on-a-rencontre-renick-bell-pape-de-lalgorave-et-du-live-coding-664541-12-05-2025/",author:" François Moreau (Les Inrockuptibles)"},{title:"Aux « algoraves », on danse sur une musique codée en direct",picture:"https://img.lemde.fr/2019/04/12/0/0/5122/3467/800/0/75/0/f22d969_x_FC8S1alEp4TYxEfX9-vnhW.jpg",link:"https://www.lemonde.fr/pixels/article/2019/04/13/aux-algoraves-on-danse-sur-une-musique-codee-en-direct_5449894_4408996.html",author:"Bruno Lus (Le Monde)"},{title:"OK Computer: Live coding creates music for dancing or dreaming in France's biggest algorave",picture:"https://static.euronews.com/articles/stories/07/52/54/80/1200x675_cmsv2_eb8921b9-1953-5db0-853f-6479b45a22c6-7525480.jpg",link:"https://www.euronews.com/culture/2023/05/03/ok-computer-live-coding-creates-music-for-dancing-or-dreaming-in-frances-biggest-algorave",author:"Gaël Camba (Euronews)"},{title:"Live coding : de la musique codée en direct pour danser ou rêver",picture:"https://static.euronews.com/articles/stories/07/52/54/80/1200x675_cmsv2_2c54c051-fb9c-5807-8429-da05ee6ef77d-7525480.jpg",link:"https://fr.euronews.com/culture/2023/04/26/live-coding-de-la-musique-codee-en-direct-pour-danser-ou-rever#:~:text=Live%20coding%20:%20de%20la%20musique%20cod%C3%A9e%20en%20direct%20pour%20danser%20ou%20r%C3%AAver,-Francesco%20Corvi%20se&text=Entre%20technique%20exp%C3%A9rimentale%20et%20composition,en%20programmant%20du%20code%20informatique.",author:"Gaël Camba (Euronews)"},{title:"Culture numérique : la Micro-folie sillonnera le territoire Barséquanais",picture:"https://scontent-cdg4-3.xx.fbcdn.net/v/t39.30808-6/395383692_828993012361704_4923466258603181196_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=5f2048&_nc_ohc=P4og5e7HJFcAX9sV97R&_nc_oc=AQnpycSxjK2s7sw24lYWjFB35aW1YxcaomLjlLD5bOmqnLxWcDYy3Pc19jBW1-eBsfY&_nc_ht=scontent-cdg4-3.xx&oh=00_AfA7QP0HSWCzDT1coLx7o9bCnMIdFSQpZafGNffwms03Cw&oe=654B351E",link:"https://www.lest-eclair.fr/id531959/article/2023-10-20/la-micro-folie-sillonnera-le-territoire-barsequanais",author:"L'Est Éclair"},{title:"Qu’est-ce que l’algorave, ce nouveau clubbing où ...",picture:"https://trxprds3.s3.amazonaws.com/uploads/2020/03/by-dan-hett.jpg",link:"https://www.traxmag.com/algorave-live-coding-dancefloor/",author:"Loïc Hecht (Trax Magazine)"},{title:"Le festival de jazz d'Uzeste, toujours aussi déjanté",picture:"https://www.radiofrance.fr/s3/cruiser-production/2023/08/a064c42c-f1fc-4ef8-90b8-2615d352e1e6/560x315_sc_capture-d-ecran-2023-08-09-a-15-11-31.webp",link:"https://www.radiofrance.fr/franceculture/podcasts/l-invite-e-des-matins-d-ete/le-festival-de-jazz-d-uzeste-toujours-aussi-dejante-2076865",author:"France Culture"}];function Q(i,t,a){const s=i.slice();return s[1]=t[a].title,s[2]=t[a].picture,s[3]=t[a].link,s[4]=t[a].author,s[6]=a,s}function V(i){let t,a;return t=new ne({props:{title:i[1],description:i[4],image:i[2],link:i[3]}}),{c(){U(t.$$.fragment)},l(s){Z(t.$$.fragment,s)},m(s,d){$(t,s,d),a=!0},p:P,i(s){a||(A(t.$$.fragment,s),a=!0)},o(s){F(t.$$.fragment,s),a=!1},d(s){ee(t,s)}}}function oe(i){let t,a,s="Presse",d,u,l,c=G(i[0]),e=[];for(let r=0;r<c.length;r+=1)e[r]=V(Q(i,c,r));const v=r=>F(e[r],1,1,()=>{e[r]=null});return{c(){t=C(),a=w("h1"),a.textContent=s,d=C(),u=w("div");for(let r=0;r<e.length;r+=1)e[r].c();this.h()},l(r){R("svelte-kjsin9",document.head).forEach(m),t=q(r),a=b(r,"H1",{"data-svelte-h":!0}),X(a)!=="svelte-5h4cy"&&(a.textContent=s),d=q(r),u=b(r,"DIV",{class:!0});var n=k(u);for(let g=0;g<e.length;g+=1)e[g].l(n);n.forEach(m),this.h()},h(){document.title="Presse",f(u,"class","lg:grid sm:grid grid-cols-2 md:grid-cols-3 grid-rows-2 md:grid-rows-3 mx-auto gap-4")},m(r,o){E(r,t,o),E(r,a,o),E(r,d,o),E(r,u,o);for(let n=0;n<e.length;n+=1)e[n]&&e[n].m(u,null);l=!0},p(r,[o]){if(o&1){c=G(r[0]);let n;for(n=0;n<c.length;n+=1){const g=Q(r,c,n);e[n]?(e[n].p(g,o),A(e[n],1)):(e[n]=V(g),e[n].c(),A(e[n],1),e[n].m(u,null))}for(te(),n=c.length;n<e.length;n+=1)v(n);J()}},i(r){if(!l){for(let o=0;o<c.length;o+=1)A(e[o]);l=!0}},o(r){e=e.filter(Boolean);for(let o=0;o<e.length;o+=1)F(e[o]);l=!1},d(r){r&&(m(t),m(a),m(d),m(u)),N(e,r)}}}function le(i){let t=ie;return re(t),[t]}class me extends T{constructor(t){super(),K(this,t,le,oe,O,{})}}export{me as component};
|