Files
livecodingfr/_app/immutable/nodes/2.ebbd5024.js
Bubobubobubobubo d9c1a4c28e deploy: 768f3ee3c5
2023-11-05 00:36:30 +00:00

67 lines
78 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var gn=Object.defineProperty;var kn=(a,e,n)=>e in a?gn(a,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):a[e]=n;var N=(a,e,n)=>(kn(a,typeof e!="symbol"?e+"":e,n),n),xn=(a,e,n)=>{if(!e.has(a))throw TypeError("Cannot "+n)};var _t=(a,e,n)=>{if(e.has(a))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(a):e.set(a,n)};var it=(a,e,n)=>(xn(a,e,"access private method"),n);import{s as ie,n as Q,o as bn,f as Ie,r as vn}from"../chunks/scheduler.63274e7e.js";import{S as le,i as re,g as k,y as Nt,s as T,H as _n,h as x,j as q,z as Zt,f,c as A,A as wn,k as m,a as z,x as d,r as ce,B as j,u as fe,v as ue,d as B,t as Z,w as he,m as ee,n as te,o as xe,e as rt,p as Re,b as Se,C as Ge,q as Ft,D as X}from"../chunks/index.cd69a05d.js";function pe(a){return(a==null?void 0:a.length)!==void 0?a:Array.from(a)}function Ct(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let je=Ct();function un(a){je=a}const hn=/[&<>"']/,Cn=new RegExp(hn.source,"g"),pn=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,yn=new RegExp(pn.source,"g"),$n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Qt=a=>$n[a];function oe(a,e){if(e){if(hn.test(a))return a.replace(Cn,Qt)}else if(pn.test(a))return a.replace(yn,Qt);return a}const Tn=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;function An(a){return a.replace(Tn,(e,n)=>(n=n.toLowerCase(),n==="colon"?":":n.charAt(0)==="#"?n.charAt(1)==="x"?String.fromCharCode(parseInt(n.substring(2),16)):String.fromCharCode(+n.substring(1)):""))}const zn=/(^|[^\[])\^/g;function O(a,e){a=typeof a=="string"?a:a.source,e=e||"";const n={replace:(t,s)=>(s=typeof s=="object"&&"source"in s?s.source:s,s=s.replace(zn,"$1"),a=a.replace(t,s),n),getRegex:()=>new RegExp(a,e)};return n}function Gt(a){try{a=encodeURI(a).replace(/%25/g,"%")}catch{return null}return a}const at={exec:()=>null};function Ut(a,e){const n=a.replace(/\|/g,(l,i,r)=>{let o=!1,c=i;for(;--c>=0&&r[c]==="\\";)o=!o;return o?"|":" |"}),t=n.split(/ \|/);let s=0;if(t[0].trim()||t.shift(),t.length>0&&!t[t.length-1].trim()&&t.pop(),e)if(t.length>e)t.splice(e);else for(;t.length<e;)t.push("");for(;s<t.length;s++)t[s]=t[s].trim().replace(/\\\|/g,"|");return t}function lt(a,e,n){const t=a.length;if(t===0)return"";let s=0;for(;s<t;){const l=a.charAt(t-s-1);if(l===e&&!n)s++;else if(l!==e&&n)s++;else break}return a.slice(0,t-s)}function En(a,e){if(a.indexOf(e[1])===-1)return-1;let n=0;for(let t=0;t<a.length;t++)if(a[t]==="\\")t++;else if(a[t]===e[0])n++;else if(a[t]===e[1]&&(n--,n<0))return t;return-1}function Yt(a,e,n,t){const s=e.href,l=e.title?oe(e.title):null,i=a[1].replace(/\\([\[\]])/g,"$1");if(a[0].charAt(0)!=="!"){t.state.inLink=!0;const r={type:"link",raw:n,href:s,title:l,text:i,tokens:t.inlineTokens(i)};return t.state.inLink=!1,r}return{type:"image",raw:n,href:s,title:l,text:oe(i)}}function qn(a,e){const n=a.match(/^(\s+)(?:```)/);if(n===null)return e;const t=n[1];return e.split(`
`).map(s=>{const l=s.match(/^\s+/);if(l===null)return s;const[i]=l;return i.length>=t.length?s.slice(t.length):s}).join(`
`)}class ot{constructor(e){N(this,"options");N(this,"rules");N(this,"lexer");this.options=e||je}space(e){const n=this.rules.block.newline.exec(e);if(n&&n[0].length>0)return{type:"space",raw:n[0]}}code(e){const n=this.rules.block.code.exec(e);if(n){const t=n[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?t:lt(t,`
`)}}}fences(e){const n=this.rules.block.fences.exec(e);if(n){const t=n[0],s=qn(t,n[3]||"");return{type:"code",raw:t,lang:n[2]?n[2].trim().replace(this.rules.inline._escapes,"$1"):n[2],text:s}}}heading(e){const n=this.rules.block.heading.exec(e);if(n){let t=n[2].trim();if(/#$/.test(t)){const s=lt(t,"#");(this.options.pedantic||!s||/ $/.test(s))&&(t=s.trim())}return{type:"heading",raw:n[0],depth:n[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(e){const n=this.rules.block.hr.exec(e);if(n)return{type:"hr",raw:n[0]}}blockquote(e){const n=this.rules.block.blockquote.exec(e);if(n){const t=lt(n[0].replace(/^ *>[ \t]?/gm,""),`
`),s=this.lexer.state.top;this.lexer.state.top=!0;const l=this.lexer.blockTokens(t);return this.lexer.state.top=s,{type:"blockquote",raw:n[0],tokens:l,text:t}}}list(e){let n=this.rules.block.list.exec(e);if(n){let t=n[1].trim();const s=t.length>1,l={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 i=new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`);let r="",o="",c=!1;for(;e;){let p=!1;if(!(n=i.exec(e))||this.rules.block.hr.test(e))break;r=n[0],e=e.substring(r.length);let u=n[2].split(`
`,1)[0].replace(/^\t+/,E=>" ".repeat(3*E.length)),h=e.split(`
`,1)[0],w=0;this.options.pedantic?(w=2,o=u.trimStart()):(w=n[2].search(/[^ ]/),w=w>4?1:w,o=u.slice(w),w+=n[1].length);let b=!1;if(!u&&/^ *$/.test(h)&&(r+=h+`
`,e=e.substring(h.length+1),p=!0),!p){const E=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),v=new RegExp(`^ {0,${Math.min(3,w-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),S=new RegExp(`^ {0,${Math.min(3,w-1)}}(?:\`\`\`|~~~)`),M=new RegExp(`^ {0,${Math.min(3,w-1)}}#`);for(;e;){const y=e.split(`
`,1)[0];if(h=y,this.options.pedantic&&(h=h.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),S.test(h)||M.test(h)||E.test(h)||v.test(e))break;if(h.search(/[^ ]/)>=w||!h.trim())o+=`
`+h.slice(w);else{if(b||u.search(/[^ ]/)>=4||S.test(u)||M.test(u)||v.test(u))break;o+=`
`+h}!b&&!h.trim()&&(b=!0),r+=y+`
`,e=e.substring(y.length+1),u=h.slice(w)}}l.loose||(c?l.loose=!0:/\n *\n *$/.test(r)&&(c=!0));let g=null,$;this.options.gfm&&(g=/^\[[ xX]\] /.exec(o),g&&($=g[0]!=="[ ] ",o=o.replace(/^\[[ xX]\] +/,""))),l.items.push({type:"list_item",raw:r,task:!!g,checked:$,loose:!1,text:o,tokens:[]}),l.raw+=r}l.items[l.items.length-1].raw=r.trimEnd(),l.items[l.items.length-1].text=o.trimEnd(),l.raw=l.raw.trimEnd();for(let p=0;p<l.items.length;p++)if(this.lexer.state.top=!1,l.items[p].tokens=this.lexer.blockTokens(l.items[p].text,[]),!l.loose){const u=l.items[p].tokens.filter(w=>w.type==="space"),h=u.length>0&&u.some(w=>/\n.*\n/.test(w.raw));l.loose=h}if(l.loose)for(let p=0;p<l.items.length;p++)l.items[p].loose=!0;return l}}html(e){const n=this.rules.block.html.exec(e);if(n)return{type:"html",block:!0,raw:n[0],pre:n[1]==="pre"||n[1]==="script"||n[1]==="style",text:n[0]}}def(e){const n=this.rules.block.def.exec(e);if(n){const t=n[1].toLowerCase().replace(/\s+/g," "),s=n[2]?n[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",l=n[3]?n[3].substring(1,n[3].length-1).replace(this.rules.inline._escapes,"$1"):n[3];return{type:"def",tag:t,raw:n[0],href:s,title:l}}}table(e){const n=this.rules.block.table.exec(e);if(n){if(!/[:|]/.test(n[2]))return;const t={type:"table",raw:n[0],header:Ut(n[1]).map(s=>({text:s,tokens:[]})),align:n[2].replace(/^\||\| *$/g,"").split("|"),rows:n[3]&&n[3].trim()?n[3].replace(/\n[ \t]*$/,"").split(`
`):[]};if(t.header.length===t.align.length){let s=t.align.length,l,i,r,o;for(l=0;l<s;l++){const c=t.align[l];c&&(/^ *-+: *$/.test(c)?t.align[l]="right":/^ *:-+: *$/.test(c)?t.align[l]="center":/^ *:-+ *$/.test(c)?t.align[l]="left":t.align[l]=null)}for(s=t.rows.length,l=0;l<s;l++)t.rows[l]=Ut(t.rows[l],t.header.length).map(c=>({text:c,tokens:[]}));for(s=t.header.length,i=0;i<s;i++)t.header[i].tokens=this.lexer.inline(t.header[i].text);for(s=t.rows.length,i=0;i<s;i++)for(o=t.rows[i],r=0;r<o.length;r++)o[r].tokens=this.lexer.inline(o[r].text);return t}}}lheading(e){const n=this.rules.block.lheading.exec(e);if(n)return{type:"heading",raw:n[0],depth:n[2].charAt(0)==="="?1:2,text:n[1],tokens:this.lexer.inline(n[1])}}paragraph(e){const n=this.rules.block.paragraph.exec(e);if(n){const t=n[1].charAt(n[1].length-1)===`
`?n[1].slice(0,-1):n[1];return{type:"paragraph",raw:n[0],text:t,tokens:this.lexer.inline(t)}}}text(e){const n=this.rules.block.text.exec(e);if(n)return{type:"text",raw:n[0],text:n[0],tokens:this.lexer.inline(n[0])}}escape(e){const n=this.rules.inline.escape.exec(e);if(n)return{type:"escape",raw:n[0],text:oe(n[1])}}tag(e){const n=this.rules.inline.tag.exec(e);if(n)return!this.lexer.state.inLink&&/^<a /i.test(n[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(n[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(n[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(n[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:n[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:n[0]}}link(e){const n=this.rules.inline.link.exec(e);if(n){const t=n[2].trim();if(!this.options.pedantic&&/^</.test(t)){if(!/>$/.test(t))return;const i=lt(t.slice(0,-1),"\\");if((t.length-i.length)%2===0)return}else{const i=En(n[2],"()");if(i>-1){const o=(n[0].indexOf("!")===0?5:4)+n[1].length+i;n[2]=n[2].substring(0,i),n[0]=n[0].substring(0,o).trim(),n[3]=""}}let s=n[2],l="";if(this.options.pedantic){const i=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(s);i&&(s=i[1],l=i[3])}else l=n[3]?n[3].slice(1,-1):"";return s=s.trim(),/^</.test(s)&&(this.options.pedantic&&!/>$/.test(t)?s=s.slice(1):s=s.slice(1,-1)),Yt(n,{href:s&&s.replace(this.rules.inline._escapes,"$1"),title:l&&l.replace(this.rules.inline._escapes,"$1")},n[0],this.lexer)}}reflink(e,n){let t;if((t=this.rules.inline.reflink.exec(e))||(t=this.rules.inline.nolink.exec(e))){let s=(t[2]||t[1]).replace(/\s+/g," ");if(s=n[s.toLowerCase()],!s){const l=t[0].charAt(0);return{type:"text",raw:l,text:l}}return Yt(t,s,t[0],this.lexer)}}emStrong(e,n,t=""){let s=this.rules.inline.emStrong.lDelim.exec(e);if(!s||s[3]&&t.match(/[\p{L}\p{N}]/u))return;if(!(s[1]||s[2]||"")||!t||this.rules.inline.punctuation.exec(t)){const i=[...s[0]].length-1;let r,o,c=i,p=0;const u=s[0][0]==="*"?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(u.lastIndex=0,n=n.slice(-1*e.length+i);(s=u.exec(n))!=null;){if(r=s[1]||s[2]||s[3]||s[4]||s[5]||s[6],!r)continue;if(o=[...r].length,s[3]||s[4]){c+=o;continue}else if((s[5]||s[6])&&i%3&&!((i+o)%3)){p+=o;continue}if(c-=o,c>0)continue;o=Math.min(o,o+c+p);const h=[...s[0]][0].length,w=e.slice(0,i+s.index+h+o);if(Math.min(i,o)%2){const g=w.slice(1,-1);return{type:"em",raw:w,text:g,tokens:this.lexer.inlineTokens(g)}}const b=w.slice(2,-2);return{type:"strong",raw:w,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(e){const n=this.rules.inline.code.exec(e);if(n){let t=n[2].replace(/\n/g," ");const s=/[^ ]/.test(t),l=/^ /.test(t)&&/ $/.test(t);return s&&l&&(t=t.substring(1,t.length-1)),t=oe(t,!0),{type:"codespan",raw:n[0],text:t}}}br(e){const n=this.rules.inline.br.exec(e);if(n)return{type:"br",raw:n[0]}}del(e){const n=this.rules.inline.del.exec(e);if(n)return{type:"del",raw:n[0],text:n[2],tokens:this.lexer.inlineTokens(n[2])}}autolink(e){const n=this.rules.inline.autolink.exec(e);if(n){let t,s;return n[2]==="@"?(t=oe(n[1]),s="mailto:"+t):(t=oe(n[1]),s=t),{type:"link",raw:n[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}url(e){let n;if(n=this.rules.inline.url.exec(e)){let t,s;if(n[2]==="@")t=oe(n[0]),s="mailto:"+t;else{let l;do l=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0];while(l!==n[0]);t=oe(n[0]),n[1]==="www."?s="http://"+n[0]:s=n[0]}return{type:"link",raw:n[0],text:t,href:s,tokens:[{type:"text",raw:t,text:t}]}}}inlineText(e){const n=this.rules.inline.text.exec(e);if(n){let t;return this.lexer.state.inRawBlock?t=n[0]:t=oe(n[0]),{type:"text",raw:n[0],text:t}}}}const I={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:at,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/};I._label=/(?!\s*\])(?:\\.|[^\[\]\\])+/;I._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/;I.def=O(I.def).replace("label",I._label).replace("title",I._title).getRegex();I.bullet=/(?:[*+-]|\d{1,9}[.)])/;I.listItemStart=O(/^( *)(bull) */).replace("bull",I.bullet).getRegex();I.list=O(I.list).replace(/bull/g,I.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+I.def.source+")").getRegex();I._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";I._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/;I.html=O(I.html,"i").replace("comment",I._comment).replace("tag",I._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex();I.lheading=O(I.lheading).replace(/bull/g,I.bullet).getRegex();I.paragraph=O(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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",I._tag).getRegex();I.blockquote=O(I.blockquote).replace("paragraph",I.paragraph).getRegex();I.normal={...I};I.gfm={...I.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"};I.gfm.table=O(I.gfm.table).replace("hr",I.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").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",I._tag).getRegex();I.gfm.paragraph=O(I._paragraph).replace("hr",I.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",I.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",I._tag).getRegex();I.pedantic={...I.normal,html:O(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",I._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:at,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:O(I.normal._paragraph).replace("hr",I.hr).replace("heading",` *#{1,6} *[^
]`).replace("lheading",I.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const C={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:at,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:at,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/};C._punctuation="\\p{P}$+<=>`^|~";C.punctuation=O(C.punctuation,"u").replace(/punctuation/g,C._punctuation).getRegex();C.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g;C.anyPunctuation=/\\[punct]/g;C._escapes=/\\([punct])/g;C._comment=O(I._comment).replace("(?:-->|$)","-->").getRegex();C.emStrong.lDelim=O(C.emStrong.lDelim,"u").replace(/punct/g,C._punctuation).getRegex();C.emStrong.rDelimAst=O(C.emStrong.rDelimAst,"gu").replace(/punct/g,C._punctuation).getRegex();C.emStrong.rDelimUnd=O(C.emStrong.rDelimUnd,"gu").replace(/punct/g,C._punctuation).getRegex();C.anyPunctuation=O(C.anyPunctuation,"gu").replace(/punct/g,C._punctuation).getRegex();C._escapes=O(C._escapes,"gu").replace(/punct/g,C._punctuation).getRegex();C._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/;C._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])?)+(?![-_])/;C.autolink=O(C.autolink).replace("scheme",C._scheme).replace("email",C._email).getRegex();C._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/;C.tag=O(C.tag).replace("comment",C._comment).replace("attribute",C._attribute).getRegex();C._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/;C._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/;C._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/;C.link=O(C.link).replace("label",C._label).replace("href",C._href).replace("title",C._title).getRegex();C.reflink=O(C.reflink).replace("label",C._label).replace("ref",I._label).getRegex();C.nolink=O(C.nolink).replace("ref",I._label).getRegex();C.reflinkSearch=O(C.reflinkSearch,"g").replace("reflink",C.reflink).replace("nolink",C.nolink).getRegex();C.normal={...C};C.pedantic={...C.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:O(/^!?\[(label)\]\((.*?)\)/).replace("label",C._label).getRegex(),reflink:O(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",C._label).getRegex()};C.gfm={...C.normal,escape:O(C.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.!#$%&'*+\/=?_`{\|}~-]+@)))/};C.gfm.url=O(C.gfm.url,"i").replace("email",C.gfm._extended_email).getRegex();C.breaks={...C.gfm,br:O(C.br).replace("{2,}","*").getRegex(),text:O(C.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class me{constructor(e){N(this,"tokens");N(this,"options");N(this,"state");N(this,"tokenizer");N(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=e||je,this.options.tokenizer=this.options.tokenizer||new ot,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 n={block:I.normal,inline:C.normal};this.options.pedantic?(n.block=I.pedantic,n.inline=C.pedantic):this.options.gfm&&(n.block=I.gfm,this.options.breaks?n.inline=C.breaks:n.inline=C.gfm),this.tokenizer.rules=n}static get rules(){return{block:I,inline:C}}static lex(e,n){return new me(n).lex(e)}static lexInline(e,n){return new me(n).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,`
`),this.blockTokens(e,this.tokens);let n;for(;n=this.inlineQueue.shift();)this.inlineTokens(n.src,n.tokens);return this.tokens}blockTokens(e,n=[]){this.options.pedantic?e=e.replace(/\t/g," ").replace(/^ +$/gm,""):e=e.replace(/^( *)(\t+)/gm,(r,o,c)=>o+" ".repeat(c.length));let t,s,l,i;for(;e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(r=>(t=r.call({lexer:this},e,n))?(e=e.substring(t.raw.length),n.push(t),!0):!1))){if(t=this.tokenizer.space(e)){e=e.substring(t.raw.length),t.raw.length===1&&n.length>0?n[n.length-1].raw+=`
`:n.push(t);continue}if(t=this.tokenizer.code(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
`+t.raw,s.text+=`
`+t.text,this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(t);continue}if(t=this.tokenizer.fences(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.heading(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.hr(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.blockquote(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.list(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.html(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.def(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&(s.type==="paragraph"||s.type==="text")?(s.raw+=`
`+t.raw,s.text+=`
`+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=s.text):this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});continue}if(t=this.tokenizer.table(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.lheading(e)){e=e.substring(t.raw.length),n.push(t);continue}if(l=e,this.options.extensions&&this.options.extensions.startBlock){let r=1/0;const o=e.slice(1);let c;this.options.extensions.startBlock.forEach(p=>{c=p.call({lexer:this},o),typeof c=="number"&&c>=0&&(r=Math.min(r,c))}),r<1/0&&r>=0&&(l=e.substring(0,r+1))}if(this.state.top&&(t=this.tokenizer.paragraph(l))){s=n[n.length-1],i&&s.type==="paragraph"?(s.raw+=`
`+t.raw,s.text+=`
`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(t),i=l.length!==e.length,e=e.substring(t.raw.length);continue}if(t=this.tokenizer.text(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&s.type==="text"?(s.raw+=`
`+t.raw,s.text+=`
`+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=s.text):n.push(t);continue}if(e){const r="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(r);break}else throw new Error(r)}}return this.state.top=!0,n}inline(e,n=[]){return this.inlineQueue.push({src:e,tokens:n}),n}inlineTokens(e,n=[]){let t,s,l,i=e,r,o,c;if(this.tokens.links){const p=Object.keys(this.tokens.links);if(p.length>0)for(;(r=this.tokenizer.rules.inline.reflinkSearch.exec(i))!=null;)p.includes(r[0].slice(r[0].lastIndexOf("[")+1,-1))&&(i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(r=this.tokenizer.rules.inline.blockSkip.exec(i))!=null;)i=i.slice(0,r.index)+"["+"a".repeat(r[0].length-2)+"]"+i.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(r=this.tokenizer.rules.inline.anyPunctuation.exec(i))!=null;)i=i.slice(0,r.index)+"++"+i.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(o||(c=""),o=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(p=>(t=p.call({lexer:this},e,n))?(e=e.substring(t.raw.length),n.push(t),!0):!1))){if(t=this.tokenizer.escape(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.tag(e)){e=e.substring(t.raw.length),s=n[n.length-1],s&&t.type==="text"&&s.type==="text"?(s.raw+=t.raw,s.text+=t.text):n.push(t);continue}if(t=this.tokenizer.link(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(t.raw.length),s=n[n.length-1],s&&t.type==="text"&&s.type==="text"?(s.raw+=t.raw,s.text+=t.text):n.push(t);continue}if(t=this.tokenizer.emStrong(e,i,c)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.codespan(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.br(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.del(e)){e=e.substring(t.raw.length),n.push(t);continue}if(t=this.tokenizer.autolink(e)){e=e.substring(t.raw.length),n.push(t);continue}if(!this.state.inLink&&(t=this.tokenizer.url(e))){e=e.substring(t.raw.length),n.push(t);continue}if(l=e,this.options.extensions&&this.options.extensions.startInline){let p=1/0;const u=e.slice(1);let h;this.options.extensions.startInline.forEach(w=>{h=w.call({lexer:this},u),typeof h=="number"&&h>=0&&(p=Math.min(p,h))}),p<1/0&&p>=0&&(l=e.substring(0,p+1))}if(t=this.tokenizer.inlineText(l)){e=e.substring(t.raw.length),t.raw.slice(-1)!=="_"&&(c=t.raw.slice(-1)),o=!0,s=n[n.length-1],s&&s.type==="text"?(s.raw+=t.raw,s.text+=t.text):n.push(t);continue}if(e){const p="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(p);break}else throw new Error(p)}}return n}}class ct{constructor(e){N(this,"options");this.options=e||je}code(e,n,t){var l;const s=(l=(n||"").match(/^\S*/))==null?void 0:l[0];return e=e.replace(/\n$/,"")+`
`,s?'<pre><code class="language-'+oe(s)+'">'+(t?e:oe(e,!0))+`</code></pre>
`:"<pre><code>"+(t?e:oe(e,!0))+`</code></pre>
`}blockquote(e){return`<blockquote>
${e}</blockquote>
`}html(e,n){return e}heading(e,n,t){return`<h${n}>${e}</h${n}>
`}hr(){return`<hr>
`}list(e,n,t){const s=n?"ol":"ul",l=n&&t!==1?' start="'+t+'"':"";return"<"+s+l+`>
`+e+"</"+s+`>
`}listitem(e,n,t){return`<li>${e}</li>
`}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return`<p>${e}</p>
`}table(e,n){return n&&(n=`<tbody>${n}</tbody>`),`<table>
<thead>
`+e+`</thead>
`+n+`</table>
`}tablerow(e){return`<tr>
${e}</tr>
`}tablecell(e,n){const t=n.header?"th":"td";return(n.align?`<${t} align="${n.align}">`:`<${t}>`)+e+`</${t}>
`}strong(e){return`<strong>${e}</strong>`}em(e){return`<em>${e}</em>`}codespan(e){return`<code>${e}</code>`}br(){return"<br>"}del(e){return`<del>${e}</del>`}link(e,n,t){const s=Gt(e);if(s===null)return t;e=s;let l='<a href="'+e+'"';return n&&(l+=' title="'+n+'"'),l+=">"+t+"</a>",l}image(e,n,t){const s=Gt(e);if(s===null)return t;e=s;let l=`<img src="${e}" alt="${t}"`;return n&&(l+=` title="${n}"`),l+=">",l}text(e){return e}}class yt{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,n,t){return""+t}image(e,n,t){return""+t}br(){return""}}class ge{constructor(e){N(this,"options");N(this,"renderer");N(this,"textRenderer");this.options=e||je,this.options.renderer=this.options.renderer||new ct,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new yt}static parse(e,n){return new ge(n).parse(e)}static parseInline(e,n){return new ge(n).parseInline(e)}parse(e,n=!0){let t="";for(let s=0;s<e.length;s++){const l=e[s];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[l.type]){const i=l,r=this.options.extensions.renderers[i.type].call({parser:this},i);if(r!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(i.type)){t+=r||"";continue}}switch(l.type){case"space":continue;case"hr":{t+=this.renderer.hr();continue}case"heading":{const i=l;t+=this.renderer.heading(this.parseInline(i.tokens),i.depth,An(this.parseInline(i.tokens,this.textRenderer)));continue}case"code":{const i=l;t+=this.renderer.code(i.text,i.lang,!!i.escaped);continue}case"table":{const i=l;let r="",o="";for(let p=0;p<i.header.length;p++)o+=this.renderer.tablecell(this.parseInline(i.header[p].tokens),{header:!0,align:i.align[p]});r+=this.renderer.tablerow(o);let c="";for(let p=0;p<i.rows.length;p++){const u=i.rows[p];o="";for(let h=0;h<u.length;h++)o+=this.renderer.tablecell(this.parseInline(u[h].tokens),{header:!1,align:i.align[h]});c+=this.renderer.tablerow(o)}t+=this.renderer.table(r,c);continue}case"blockquote":{const i=l,r=this.parse(i.tokens);t+=this.renderer.blockquote(r);continue}case"list":{const i=l,r=i.ordered,o=i.start,c=i.loose;let p="";for(let u=0;u<i.items.length;u++){const h=i.items[u],w=h.checked,b=h.task;let g="";if(h.task){const $=this.renderer.checkbox(!!w);c?h.tokens.length>0&&h.tokens[0].type==="paragraph"?(h.tokens[0].text=$+" "+h.tokens[0].text,h.tokens[0].tokens&&h.tokens[0].tokens.length>0&&h.tokens[0].tokens[0].type==="text"&&(h.tokens[0].tokens[0].text=$+" "+h.tokens[0].tokens[0].text)):h.tokens.unshift({type:"text",text:$+" "}):g+=$+" "}g+=this.parse(h.tokens,c),p+=this.renderer.listitem(g,b,!!w)}t+=this.renderer.list(p,r,o);continue}case"html":{const i=l;t+=this.renderer.html(i.text,i.block);continue}case"paragraph":{const i=l;t+=this.renderer.paragraph(this.parseInline(i.tokens));continue}case"text":{let i=l,r=i.tokens?this.parseInline(i.tokens):i.text;for(;s+1<e.length&&e[s+1].type==="text";)i=e[++s],r+=`
`+(i.tokens?this.parseInline(i.tokens):i.text);t+=n?this.renderer.paragraph(r):r;continue}default:{const i='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return t}parseInline(e,n){n=n||this.renderer;let t="";for(let s=0;s<e.length;s++){const l=e[s];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[l.type]){const i=this.options.extensions.renderers[l.type].call({parser:this},l);if(i!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(l.type)){t+=i||"";continue}}switch(l.type){case"escape":{const i=l;t+=n.text(i.text);break}case"html":{const i=l;t+=n.html(i.text);break}case"link":{const i=l;t+=n.link(i.href,i.title,this.parseInline(i.tokens,n));break}case"image":{const i=l;t+=n.image(i.href,i.title,i.text);break}case"strong":{const i=l;t+=n.strong(this.parseInline(i.tokens,n));break}case"em":{const i=l;t+=n.em(this.parseInline(i.tokens,n));break}case"codespan":{const i=l;t+=n.codespan(i.text);break}case"br":{t+=n.br();break}case"del":{const i=l;t+=n.del(this.parseInline(i.tokens,n));break}case"text":{const i=l;t+=n.text(i.text);break}default:{const i='Token with "'+l.type+'" type was not found.';if(this.options.silent)return console.error(i),"";throw new Error(i)}}}return t}}class We{constructor(e){N(this,"options");this.options=e||je}preprocess(e){return e}postprocess(e){return e}}N(We,"passThroughHooks",new Set(["preprocess","postprocess"]));var Xe,wt,ut,fn;class Ln{constructor(...e){_t(this,Xe);_t(this,ut);N(this,"defaults",Ct());N(this,"options",this.setOptions);N(this,"parse",it(this,Xe,wt).call(this,me.lex,ge.parse));N(this,"parseInline",it(this,Xe,wt).call(this,me.lexInline,ge.parseInline));N(this,"Parser",ge);N(this,"parser",ge.parse);N(this,"Renderer",ct);N(this,"TextRenderer",yt);N(this,"Lexer",me);N(this,"lexer",me.lex);N(this,"Tokenizer",ot);N(this,"Hooks",We);this.use(...e)}walkTokens(e,n){var s,l;let t=[];for(const i of e)switch(t=t.concat(n.call(this,i)),i.type){case"table":{const r=i;for(const o of r.header)t=t.concat(this.walkTokens(o.tokens,n));for(const o of r.rows)for(const c of o)t=t.concat(this.walkTokens(c.tokens,n));break}case"list":{const r=i;t=t.concat(this.walkTokens(r.items,n));break}default:{const r=i;(l=(s=this.defaults.extensions)==null?void 0:s.childTokens)!=null&&l[r.type]?this.defaults.extensions.childTokens[r.type].forEach(o=>{t=t.concat(this.walkTokens(r[o],n))}):r.tokens&&(t=t.concat(this.walkTokens(r.tokens,n)))}}return t}use(...e){const n=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(t=>{const s={...t};if(s.async=this.defaults.async||s.async||!1,t.extensions&&(t.extensions.forEach(l=>{if(!l.name)throw new Error("extension name required");if("renderer"in l){const i=n.renderers[l.name];i?n.renderers[l.name]=function(...r){let o=l.renderer.apply(this,r);return o===!1&&(o=i.apply(this,r)),o}:n.renderers[l.name]=l.renderer}if("tokenizer"in l){if(!l.level||l.level!=="block"&&l.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const i=n[l.level];i?i.unshift(l.tokenizer):n[l.level]=[l.tokenizer],l.start&&(l.level==="block"?n.startBlock?n.startBlock.push(l.start):n.startBlock=[l.start]:l.level==="inline"&&(n.startInline?n.startInline.push(l.start):n.startInline=[l.start]))}"childTokens"in l&&l.childTokens&&(n.childTokens[l.name]=l.childTokens)}),s.extensions=n),t.renderer){const l=this.defaults.renderer||new ct(this.defaults);for(const i in t.renderer){const r=t.renderer[i],o=i,c=l[o];l[o]=(...p)=>{let u=r.apply(l,p);return u===!1&&(u=c.apply(l,p)),u||""}}s.renderer=l}if(t.tokenizer){const l=this.defaults.tokenizer||new ot(this.defaults);for(const i in t.tokenizer){const r=t.tokenizer[i],o=i,c=l[o];l[o]=(...p)=>{let u=r.apply(l,p);return u===!1&&(u=c.apply(l,p)),u}}s.tokenizer=l}if(t.hooks){const l=this.defaults.hooks||new We;for(const i in t.hooks){const r=t.hooks[i],o=i,c=l[o];We.passThroughHooks.has(i)?l[o]=p=>{if(this.defaults.async)return Promise.resolve(r.call(l,p)).then(h=>c.call(l,h));const u=r.call(l,p);return c.call(l,u)}:l[o]=(...p)=>{let u=r.apply(l,p);return u===!1&&(u=c.apply(l,p)),u}}s.hooks=l}if(t.walkTokens){const l=this.defaults.walkTokens,i=t.walkTokens;s.walkTokens=function(r){let o=[];return o.push(i.call(this,r)),l&&(o=o.concat(l.call(this,r))),o}}this.defaults={...this.defaults,...s}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}}Xe=new WeakSet,wt=function(e,n){return(t,s)=>{const l={...s},i={...this.defaults,...l};this.defaults.async===!0&&l.async===!1&&(i.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),i.async=!0);const r=it(this,ut,fn).call(this,!!i.silent,!!i.async);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(i.hooks&&(i.hooks.options=i),i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then(o=>e(o,i)).then(o=>i.walkTokens?Promise.all(this.walkTokens(o,i.walkTokens)).then(()=>o):o).then(o=>n(o,i)).then(o=>i.hooks?i.hooks.postprocess(o):o).catch(r);try{i.hooks&&(t=i.hooks.preprocess(t));const o=e(t,i);i.walkTokens&&this.walkTokens(o,i.walkTokens);let c=n(o,i);return i.hooks&&(c=i.hooks.postprocess(c)),c}catch(o){return r(o)}}},ut=new WeakSet,fn=function(e,n){return t=>{if(t.message+=`
Please report this to https://github.com/markedjs/marked.`,e){const s="<p>An error occurred:</p><pre>"+oe(t.message+"",!0)+"</pre>";return n?Promise.resolve(s):s}if(n)return Promise.reject(t);throw t}};const Pe=new Ln;function V(a,e){return Pe.parse(a,e)}V.options=V.setOptions=function(a){return Pe.setOptions(a),V.defaults=Pe.defaults,un(V.defaults),V};V.getDefaults=Ct;V.defaults=je;V.use=function(...a){return Pe.use(...a),V.defaults=Pe.defaults,un(V.defaults),V};V.walkTokens=function(a,e){return Pe.walkTokens(a,e)};V.parseInline=Pe.parseInline;V.Parser=ge;V.parser=ge.parse;V.Renderer=ct;V.TextRenderer=yt;V.Lexer=me;V.lexer=me.lex;V.Tokenizer=ot;V.Hooks=We;V.parse=V;V.options;V.setOptions;V.use;V.walkTokens;V.parseInline;ge.parse;me.lex;function In(a){let e,n,t,s,l,i;return{c(){e=k("div"),n=Nt("svg"),t=Nt("path"),s=T(),l=k("span"),i=new _n(!1),this.h()},l(r){e=x(r,"DIV",{class:!0});var o=q(e);n=Zt(o,"svg",{xmlns:!0,fill:!0,viewBox:!0,class:!0});var c=q(n);t=Zt(c,"path",{"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-width":!0,d:!0}),q(t).forEach(f),c.forEach(f),s=A(o),l=x(o,"SPAN",{class:!0});var p=q(l);i=wn(p,!1),p.forEach(f),o.forEach(f),this.h()},h(){m(t,"stroke-linecap","round"),m(t,"stroke-linejoin","round"),m(t,"stroke-width","2"),m(t,"d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"),m(n,"xmlns","http://www.w3.org/2000/svg"),m(n,"fill","none"),m(n,"viewBox","0 0 24 24"),m(n,"class","stroke-current shrink-0 w-6 h-6"),i.a=null,m(l,"class","text-2xl"),m(e,"class","alert bg-base-300 dark:bg-base-300")},m(r,o){z(r,e,o),d(e,n),d(n,t),d(e,s),d(e,l),i.m(a[0],l)},p(r,[o]){o&1&&i.p(r[0])},i:Q,o:Q,d(r){r&&f(e)}}}function Rn(a,e,n){let{info:t}=e,{markdown:s}=e;return bn(()=>{s&&V(t)}),a.$$set=l=>{"info"in l&&n(0,t=l.info),"markdown"in l&&n(1,s=l.markdown)},[t,s]}class Je extends le{constructor(e){super(),re(this,e,Rn,In,ie,{info:0,markdown:1})}}function Sn(a){let e,n="Quest-ce que le live-coding ?",t,s,l,i,r='Historiquement, le <em>live coding</em> est un type de création porté par le collectif <a href="https://toplap.org" rel="nofollow">TOPLAP</a>. Il existe de nombreux groupes en Europe et dans le monde qui promeuvent ce type de pratiques : <a href="https://toplap.cat/en/home" rel="nofollow">TOPLAP Barcelona</a>, <a href="https://livecode.nyc/" rel="nofollow">Livecode NYC</a>, parmi dautres. La pratique du <em>live coding</em> sest popularisée au travers du <a href="">Manifeste TOPLAP</a> et des <a href="https://algorave.com" rel="nofollow">Algoraves</a> (<em>algorithmic rave parties</em>). Il est pourtant délicat de limiter la pratique à ces seuls exemples.',o,c,p="À propos de ce site",u,h,w='Ce site est une collection de ressources. Il est conçu pour combler le vide qui existe aujourdhui dans la communauté francophone du <em>live coding</em>. Il peut être édité et modifié par tout le monde à <a href="https://github.com/Bubobubobubobubo/livecodingfr" rel="nofollow">cette adresse</a>. Rajoutez vos logiciels, vos coordonnées ou toute information qui vous semble importante.',b,g,$="Comment contribuer ?",E,v,S='Le site est hébergé sur <a href="https://github.com/Bubobubobubobubo/livecodingfr" rel="nofollow">GitHub</a>. Pour ajouter une information au site, veuillez créer une <a href="https://docs.github.com/fr/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request" rel="nofollow">Pull Request</a>. Vous pouvez aussi contacter lun des membres qui se chargera de transmettre linformation.',M;return s=new Je({props:{info:"Le <i>live coding</i> est une pratique artistique qui fait de l'acte de programmation un geste expressif et performatif. Les <i>live coders</i> considèrent l'interface de programmation comme un instrument de musique. Le <i>live coding</i> est un art au croisement entre synthèse sonore, improvisation musicale et musique algorithmique générative.<br><br> Le <i>live coding</i> est au croisement de plusieurs arts et encourage des approches transdisciplinaires de la création : musique, arts visuels, informatique, jeux vidéos, danse, etc. Plus largement, le <i>live coding</i> est un domaine critique qui encourage les artistes à repenser leur rapport à l'informatique. Le <i>live coding</i> est traversé par la culture <i>hacker</i>, par la philosophie du logiciel libre et <i>open source</i>. Il souhaite également développer une nouvelle forme d'expressivité au sein des arts, en considérant l'ordinateur comme une interface pour la <i>programmation exploratoire</i> ou <i>programmation conversationnelle</i>.",markdown:"false"}}),{c(){e=k("h1"),e.textContent=n,t=T(),ce(s.$$.fragment),l=T(),i=k("p"),i.innerHTML=r,o=T(),c=k("h1"),c.textContent=p,u=T(),h=k("p"),h.innerHTML=w,b=T(),g=k("h1"),g.textContent=$,E=T(),v=k("p"),v.innerHTML=S},l(y){e=x(y,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-z12tl4"&&(e.textContent=n),t=A(y),fe(s.$$.fragment,y),l=A(y),i=x(y,"P",{"data-svelte-h":!0}),j(i)!=="svelte-1scfhnp"&&(i.innerHTML=r),o=A(y),c=x(y,"H1",{"data-svelte-h":!0}),j(c)!=="svelte-9nyscp"&&(c.textContent=p),u=A(y),h=x(y,"P",{"data-svelte-h":!0}),j(h)!=="svelte-c8sr0y"&&(h.innerHTML=w),b=A(y),g=x(y,"H1",{"data-svelte-h":!0}),j(g)!=="svelte-15qmnqt"&&(g.textContent=$),E=A(y),v=x(y,"P",{"data-svelte-h":!0}),j(v)!=="svelte-1ht7736"&&(v.innerHTML=S)},m(y,R){z(y,e,R),z(y,t,R),ue(s,y,R),z(y,l,R),z(y,i,R),z(y,o,R),z(y,c,R),z(y,u,R),z(y,h,R),z(y,b,R),z(y,g,R),z(y,E,R),z(y,v,R),M=!0},p:Q,i(y){M||(B(s.$$.fragment,y),M=!0)},o(y){Z(s.$$.fragment,y),M=!1},d(y){y&&(f(e),f(t),f(l),f(i),f(o),f(c),f(u),f(h),f(b),f(g),f(E),f(v)),he(s,y)}}}class Pn extends le{constructor(e){super(),re(this,e,null,Sn,ie,{})}}function jn(a){let e,n,t,s=a[3][1]+"",l,i,r,o,c=a[3][0]+"",p,u,h,w,b=a[3][2]+"",g,$,E,v,S,M,y,R,U,D,H;return{c(){e=k("div"),n=k("div"),t=k("div"),l=ee(s),i=T(),r=k("div"),o=k("span"),p=ee(c),u=T(),h=k("div"),w=k("span"),g=ee(b),$=T(),E=k("div"),v=k("h3"),S=ee(a[0]),M=T(),y=k("p"),R=ee(a[1]),U=T(),D=k("a"),H=ee("Lien"),this.h()},l(J){e=x(J,"DIV",{class:!0});var _=q(e);n=x(_,"DIV",{class:!0});var L=q(n);t=x(L,"DIV",{class:!0});var P=q(t);l=te(P,s),P.forEach(f),i=A(L),r=x(L,"DIV",{class:!0});var Y=q(r);o=x(Y,"SPAN",{class:!0});var Ue=q(o);p=te(Ue,c),Ue.forEach(f),Y.forEach(f),u=A(L),h=x(L,"DIV",{class:!0});var Ae=q(h);w=x(Ae,"SPAN",{class:!0});var ze=q(w);g=te(ze,b),ze.forEach(f),Ae.forEach(f),L.forEach(f),$=A(_),E=x(_,"DIV",{class:!0});var W=q(E);v=x(W,"H3",{class:!0});var ae=q(v);S=te(ae,a[0]),ae.forEach(f),M=A(W),y=x(W,"P",{class:!0});var ke=q(y);R=te(ke,a[1]),ke.forEach(f),U=A(W),D=x(W,"A",{class:!0,href:!0});var Me=q(D);H=te(Me,"Lien"),Me.forEach(f),W.forEach(f),_.forEach(f),this.h()},h(){m(t,"class","bg-red-800 text-white py-1"),m(o,"class","text-4xl font-bold"),m(r,"class","pt-1 border-l border-r"),m(w,"class","text-xs font-bold"),m(h,"class","pb-2 px-2 border-l border-r border-b rounded-b flex justify-between"),m(n,"class","w-42 block rounded-t overflow-hidden bg-white text-center min-w-max"),m(v,"class","pl-4 flex"),m(y,"class","pl-4"),m(D,"class","mt-4 ml-4 btn btn-primary btn btn-xs text-right"),m(D,"href",a[2]),m(E,"class","flex-col"),m(e,"class","flex flex-row")},m(J,_){z(J,e,_),d(e,n),d(n,t),d(t,l),d(n,i),d(n,r),d(r,o),d(o,p),d(n,u),d(n,h),d(h,w),d(w,g),d(e,$),d(e,E),d(E,v),d(v,S),d(E,M),d(E,y),d(y,R),d(E,U),d(E,D),d(D,H)},p(J,[_]){_&1&&xe(S,J[0]),_&2&&xe(R,J[1]),_&4&&m(D,"href",J[2])},i:Q,o:Q,d(J){J&&f(e)}}}function Mn(a,e,n){let{date:t}=e,{title:s}=e,{description:l}=e,{link:i=""}=e,r=t.split(" ");return a.$$set=o=>{"date"in o&&n(4,t=o.date),"title"in o&&n(0,s=o.title),"description"in o&&n(1,l=o.description),"link"in o&&n(2,i=o.link)},[s,l,i,r,t]}class dn extends le{constructor(e){super(),re(this,e,Mn,jn,ie,{date:4,title:0,description:1,link:2})}}const Dn=[{date:"1 jan 2023",description:"Description de l'évènement",title:"Template pour un évènement",link:"https://google.fr"}],Hn=[{date:"4 oct 2023",description:"Grrrnd Zero - Vaulx en Velin",title:"Écoutes périphériques",link:"https://www.grrrndzero.org/index.php/2487-sam-dim-4-et-5-11-ecoutes-peripheriques-petit-multidifest-de-musiques"},{date:"28 oct 2023",description:"L'Aiguillage - Polisot",title:"Algorave (Cookie Collective)",link:"https://www.facebook.com/photo/?fbid=829027699024902&set=a.538927648034910"}],Kt={avenir:Dn,passe:Hn};function Wt(a,e,n){const t=a.slice();return t[2]=e[n].title,t[3]=e[n].description,t[4]=e[n].date,t[5]=e[n].link,t[7]=n,t}function Xt(a,e,n){const t=a.slice();return t[2]=e[n].title,t[3]=e[n].description,t[4]=e[n].date,t[5]=e[n].link,t[7]=n,t}function Jt(a){let e,n;return e=new dn({props:{date:a[4],description:a[3],title:a[2],link:a[5]}}),{c(){ce(e.$$.fragment)},l(t){fe(e.$$.fragment,t)},m(t,s){ue(e,t,s),n=!0},p:Q,i(t){n||(B(e.$$.fragment,t),n=!0)},o(t){Z(e.$$.fragment,t),n=!1},d(t){he(e,t)}}}function en(a){let e,n;return e=new dn({props:{date:a[4],description:a[3],title:a[2],link:a[5]}}),{c(){ce(e.$$.fragment)},l(t){fe(e.$$.fragment,t)},m(t,s){ue(e,t,s),n=!0},p:Q,i(t){n||(B(e.$$.fragment,t),n=!0)},o(t){Z(e.$$.fragment,t),n=!1},d(t){he(e,t)}}}function Bn(a){let e,n="Évènements",t,s,l,i,r="Agenda (Cookie Collective)",o,c,p,u,h,w="À venir",b,g,$,E="Passés",v,S,M;s=new Je({props:{info:"Cette page recense tout les évènements dédiés au <i>live coding</i> organisés par la scène francophone. Ajoutez vos évènements. N'oubliez pas de fournir un lien si possible. Renseignez les évènements pour archivage !",markdown:"false"}});let y=pe(a[1]),R=[];for(let _=0;_<y.length;_+=1)R[_]=Jt(Xt(a,y,_));const U=_=>Z(R[_],1,1,()=>{R[_]=null});let D=pe(a[0]),H=[];for(let _=0;_<D.length;_+=1)H[_]=en(Wt(a,D,_));const J=_=>Z(H[_],1,1,()=>{H[_]=null});return{c(){e=k("h1"),e.textContent=n,t=T(),ce(s.$$.fragment),l=T(),i=k("h2"),i.textContent=r,o=T(),c=k("iframe"),u=T(),h=k("h2"),h.textContent=w,b=T();for(let _=0;_<R.length;_+=1)R[_].c();g=T(),$=k("h2"),$.textContent=E,v=T();for(let _=0;_<H.length;_+=1)H[_].c();S=rt(),this.h()},l(_){e=x(_,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-vpqc01"&&(e.textContent=n),t=A(_),fe(s.$$.fragment,_),l=A(_),i=x(_,"H2",{"data-svelte-h":!0}),j(i)!=="svelte-x3bxdj"&&(i.textContent=r),o=A(_),c=x(_,"IFRAME",{width:!0,height:!0,src:!0}),q(c).forEach(f),u=A(_),h=x(_,"H2",{"data-svelte-h":!0}),j(h)!=="svelte-15ogma4"&&(h.textContent=w),b=A(_);for(let L=0;L<R.length;L+=1)R[L].l(_);g=A(_),$=x(_,"H2",{"data-svelte-h":!0}),j($)!=="svelte-a252xn"&&($.textContent=E),v=A(_);for(let L=0;L<H.length;L+=1)H[L].l(_);S=rt(),this.h()},h(){m(c,"width","100%"),m(c,"height","700"),Ie(c.src,p="https://framagenda.org/apps/calendar/embed/zpDjE9gGFeFZAmdz")||m(c,"src",p)},m(_,L){z(_,e,L),z(_,t,L),ue(s,_,L),z(_,l,L),z(_,i,L),z(_,o,L),z(_,c,L),z(_,u,L),z(_,h,L),z(_,b,L);for(let P=0;P<R.length;P+=1)R[P]&&R[P].m(_,L);z(_,g,L),z(_,$,L),z(_,v,L);for(let P=0;P<H.length;P+=1)H[P]&&H[P].m(_,L);z(_,S,L),M=!0},p(_,[L]){if(L&2){y=pe(_[1]);let P;for(P=0;P<y.length;P+=1){const Y=Xt(_,y,P);R[P]?(R[P].p(Y,L),B(R[P],1)):(R[P]=Jt(Y),R[P].c(),B(R[P],1),R[P].m(g.parentNode,g))}for(Re(),P=y.length;P<R.length;P+=1)U(P);Se()}if(L&1){D=pe(_[0]);let P;for(P=0;P<D.length;P+=1){const Y=Wt(_,D,P);H[P]?(H[P].p(Y,L),B(H[P],1)):(H[P]=en(Y),H[P].c(),B(H[P],1),H[P].m(S.parentNode,S))}for(Re(),P=D.length;P<H.length;P+=1)J(P);Se()}},i(_){if(!M){B(s.$$.fragment,_);for(let L=0;L<y.length;L+=1)B(R[L]);for(let L=0;L<D.length;L+=1)B(H[L]);M=!0}},o(_){Z(s.$$.fragment,_),R=R.filter(Boolean);for(let L=0;L<R.length;L+=1)Z(R[L]);H=H.filter(Boolean);for(let L=0;L<H.length;L+=1)Z(H[L]);M=!1},d(_){_&&(f(e),f(t),f(l),f(i),f(o),f(c),f(u),f(h),f(b),f(g),f($),f(v),f(S)),he(s,_),Ge(R,_),Ge(H,_)}}}function On(a){const e=Kt.passe,n=Kt.avenir;return[e,n]}class Vn extends le{constructor(e){super(),re(this,e,On,Bn,ie,{})}}function Nn(a){let e,n="Contact",t,s,l;return s=new Je({props:{info:"<b>Livecoding.fr</b> n'est pas ni un collectif ni une organisation. L'objectif de ce site est uniquement de centraliser l'information et de donner plus de visibilité à la scène <i>live coding</i> francophone.",markdown:"false"}}),{c(){e=k("h1"),e.textContent=n,t=T(),ce(s.$$.fragment)},l(i){e=x(i,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-tbczl2"&&(e.textContent=n),t=A(i),fe(s.$$.fragment,i)},m(i,r){z(i,e,r),z(i,t,r),ue(s,i,r),l=!0},p:Q,i(i){l||(B(s.$$.fragment,i),l=!0)},o(i){Z(s.$$.fragment,i),l=!1},d(i){i&&(f(e),f(t)),he(s,i)}}}class Zn extends le{constructor(e){super(),re(this,e,null,Nn,ie,{})}}function Fn(a){let e,n,t,s,l,i,r,o,c=a[4](a[0],50)+"",p,u,h,w,b,g,$;return{c(){e=k("div"),n=k("a"),t=k("img"),l=T(),i=k("div"),r=k("a"),o=k("h5"),p=ee(c),u=T(),h=k("p"),w=ee(a[1]),b=T(),g=k("a"),$=ee("En savoir plus"),this.h()},l(E){e=x(E,"DIV",{class:!0});var v=q(e);n=x(v,"A",{href:!0});var S=q(n);t=x(S,"IMG",{class:!0,src:!0,alt:!0}),S.forEach(f),l=A(v),i=x(v,"DIV",{class:!0});var M=q(i);r=x(M,"A",{href:!0});var y=q(r);o=x(y,"H5",{class:!0});var R=q(o);p=te(R,c),R.forEach(f),y.forEach(f),u=A(M),h=x(M,"P",{class:!0});var U=q(h);w=te(U,a[1]),U.forEach(f),b=A(M),g=x(M,"A",{href:!0,class:!0});var D=q(g);$=te(D,"En savoir plus"),D.forEach(f),M.forEach(f),v.forEach(f),this.h()},h(){m(t,"class","rounded-t-lg h-48 w-80 object-cover"),Ie(t.src,s=a[2])||m(t,"src",s),m(t,"alt",""),m(n,"href","#"),m(o,"class","mb-2 text-lg font-bold tracking-tight text-gray-900 dark:text-white"),m(r,"href","#"),m(h,"class","mb-3 font-normal text-gray-700 dark:text-gray-400"),m(g,"href",a[3]),m(g,"class","inline-flex items-center btn btn-primary text-sm font-medium text-center"),m(i,"class","p-5"),m(e,"class","max-w-sm w-80 h-fit bg-base-300 dark:bg-base-300 border border-gray-300 rounded-lg shadow-md dark:border-gray-700")},m(E,v){z(E,e,v),d(e,n),d(n,t),d(e,l),d(e,i),d(i,r),d(r,o),d(o,p),d(i,u),d(i,h),d(h,w),d(i,b),d(i,g),d(g,$)},p(E,[v]){v&4&&!Ie(t.src,s=E[2])&&m(t,"src",s),v&1&&c!==(c=E[4](E[0],50)+"")&&xe(p,c),v&2&&xe(w,E[1]),v&8&&m(g,"href",E[3])},i:Q,o:Q,d(E){E&&f(e)}}}function Qn(a,e,n){let{title:t}=e,{description:s}=e,{image:l}=e,{link:i}=e;const r=(o,c)=>o.length>c?o.slice(0,c-3)+"...":o;return a.$$set=o=>{"title"in o&&n(0,t=o.title),"description"in o&&n(1,s=o.description),"image"in o&&n(2,l=o.image),"link"in o&&n(3,i=o.link)},[t,s,l,i,r]}class Gn extends le{constructor(e){super(),re(this,e,Qn,Fn,ie,{title:0,description:1,image:2,link:3})}}const Un=[{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:"Quest-ce que lalgorave, 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)"}];function tn(a,e,n){const t=a.slice();return t[1]=e[n].title,t[2]=e[n].picture,t[3]=e[n].link,t[4]=e[n].author,t[6]=n,t}function nn(a){let e,n;return e=new Gn({props:{title:a[1],description:a[4],image:a[2],link:a[3]}}),{c(){ce(e.$$.fragment)},l(t){fe(e.$$.fragment,t)},m(t,s){ue(e,t,s),n=!0},p:Q,i(t){n||(B(e.$$.fragment,t),n=!0)},o(t){Z(e.$$.fragment,t),n=!1},d(t){he(e,t)}}}function Yn(a){let e,n="Presse",t,s,l,i=pe(a[0]),r=[];for(let c=0;c<i.length;c+=1)r[c]=nn(tn(a,i,c));const o=c=>Z(r[c],1,1,()=>{r[c]=null});return{c(){e=k("h1"),e.textContent=n,t=T(),s=k("div");for(let c=0;c<r.length;c+=1)r[c].c();this.h()},l(c){e=x(c,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-5h4cy"&&(e.textContent=n),t=A(c),s=x(c,"DIV",{class:!0});var p=q(s);for(let u=0;u<r.length;u+=1)r[u].l(p);p.forEach(f),this.h()},h(){m(s,"class","lg:grid sm:grid grid-cols-2 md:grid-cols-3 grid-rows-2 md:grid-rows-3 mx-auto gap-4")},m(c,p){z(c,e,p),z(c,t,p),z(c,s,p);for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(s,null);l=!0},p(c,[p]){if(p&1){i=pe(c[0]);let u;for(u=0;u<i.length;u+=1){const h=tn(c,i,u);r[u]?(r[u].p(h,p),B(r[u],1)):(r[u]=nn(h),r[u].c(),B(r[u],1),r[u].m(s,null))}for(Re(),u=i.length;u<r.length;u+=1)o(u);Se()}},i(c){if(!l){for(let p=0;p<i.length;p+=1)B(r[p]);l=!0}},o(c){r=r.filter(Boolean);for(let p=0;p<r.length;p+=1)Z(r[p]);l=!1},d(c){c&&(f(e),f(t),f(s)),Ge(r,c)}}}function Kn(a){return[Un]}class Wn extends le{constructor(e){super(),re(this,e,Kn,Yn,ie,{})}}function Xn(a){let e,n,t,s,l,i,r,o,c,p,u,h,w,b,g,$;return{c(){e=k("div"),n=k("div"),t=T(),s=k("div"),l=k("img"),r=T(),o=k("h5"),c=ee(a[1]),p=T(),u=k("span"),h=ee(a[3]),w=T(),b=k("div"),g=k("a"),$=ee("Site"),this.h()},l(E){e=x(E,"DIV",{class:!0});var v=q(e);n=x(v,"DIV",{class:!0}),q(n).forEach(f),t=A(v),s=x(v,"DIV",{class:!0});var S=q(s);l=x(S,"IMG",{class:!0,src:!0,alt:!0}),r=A(S),o=x(S,"H5",{class:!0});var M=q(o);c=te(M,a[1]),M.forEach(f),p=A(S),u=x(S,"SPAN",{class:!0});var y=q(u);h=te(y,a[3]),y.forEach(f),w=A(S),b=x(S,"DIV",{class:!0});var R=q(b);g=x(R,"A",{href:!0,class:!0});var U=q(g);$=te(U,"Site"),U.forEach(f),R.forEach(f),S.forEach(f),v.forEach(f),this.h()},h(){m(n,"class","flex justify-end px-4 pt-4"),m(l,"class","w-24 h-24 mb-3 rounded-full shadow-lg"),Ie(l.src,i=a[0])||m(l,"src",i),m(l,"alt","Portrait"),m(o,"class","mb-1 text-xl font-medium text-gray-900 dark:text-white"),m(u,"class","text-sm text-gray-500 dark:text-gray-400"),m(g,"href",a[2]),m(g,"class","btn btn-tertiary"),m(b,"class","flex mt-4 space-x-3 md:mt-6"),m(s,"class","flex flex-col items-center pb-10"),m(e,"class","mx-2 w-72 bg-base-300 dark:bg-base-300 border border-gray-200 rounded-lg shadow dark:border-gray-700")},m(E,v){z(E,e,v),d(e,n),d(e,t),d(e,s),d(s,l),d(s,r),d(s,o),d(o,c),d(s,p),d(s,u),d(u,h),d(s,w),d(s,b),d(b,g),d(g,$)},p(E,[v]){v&1&&!Ie(l.src,i=E[0])&&m(l,"src",i),v&2&&xe(c,E[1]),v&8&&xe(h,E[3]),v&4&&m(g,"href",E[2])},i:Q,o:Q,d(E){E&&f(e)}}}function Jn(a,e,n){let{image:t}=e,{name:s}=e,{mail:l}=e,{site:i}=e,{description:r}=e;return a.$$set=o=>{"image"in o&&n(0,t=o.image),"name"in o&&n(1,s=o.name),"mail"in o&&n(4,l=o.mail),"site"in o&&n(2,i=o.site),"description"in o&&n(3,r=o.description)},[t,s,i,r,l]}class es extends le{constructor(e){super(),re(this,e,Jn,Xn,ie,{image:0,name:1,mail:4,site:2,description:3})}}const ts=[{name:"Raphaël Forment",description:"BuboBubo",image:"https://avatars.githubusercontent.com/u/45191785?s=400&u=3ee9062082ce04b6f08f811e657797fe9528d106&v=4",site:"https://raphaelforment.fr",mail:""},{name:"Rémi Georges",description:"Ralt144Mi",image:"https://avatars.githubusercontent.com/u/75539795?v=4",site:"https://remigeorges.fr/",mail:""},{name:"Yassin Siouda",description:"Rocoda",image:"/images/yassin.png",site:"https://yassin.siouda.com/",mail:""},{name:"Agathe Herrou",description:"th4",image:"https://club.tidalcycles.org/user_avatar/club.tidalcycles.org/th4/144/505_2.png",site:"https://th4music.net",mail:""},{name:"Raphaël Bastide",description:"_",image:"https://radicalnetworks.org/archives/2018/participants/raphael-bastide/raphaelbastide.jpg",site:"https://raphaelbastide.com",mail:""},{name:"Sébastien Maire",description:"z0rg",image:"/images/z0rg.jpeg",site:"https://linktr.ee/z0rg",mail:""},{name:"Jacopo Greco d'Alceo",description:"_",image:"https://avatars.githubusercontent.com/u/92983918?v=4",site:"https://jacopogrecodalceo.github.io/",mail:""}];function sn(a,e,n){const t=a.slice();return t[1]=e[n].name,t[2]=e[n].description,t[3]=e[n].image,t[4]=e[n].site,t[5]=e[n].mail,t[7]=n,t}function ln(a){let e,n,t,s;return n=new es({props:{name:a[1],description:a[2],image:a[3],site:a[4],mail:a[5]}}),{c(){e=k("div"),ce(n.$$.fragment),t=T()},l(l){e=x(l,"DIV",{});var i=q(e);fe(n.$$.fragment,i),t=A(i),i.forEach(f)},m(l,i){z(l,e,i),ue(n,e,null),d(e,t),s=!0},p:Q,i(l){s||(B(n.$$.fragment,l),s=!0)},o(l){Z(n.$$.fragment,l),s=!1},d(l){l&&f(e),he(n)}}}function ns(a){let e,n="Membres",t,s,l,i=pe(a[0]),r=[];for(let c=0;c<i.length;c+=1)r[c]=ln(sn(a,i,c));const o=c=>Z(r[c],1,1,()=>{r[c]=null});return{c(){e=k("h1"),e.textContent=n,t=T(),s=k("div");for(let c=0;c<r.length;c+=1)r[c].c();this.h()},l(c){e=x(c,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-mdaw1"&&(e.textContent=n),t=A(c),s=x(c,"DIV",{class:!0});var p=q(s);for(let u=0;u<r.length;u+=1)r[u].l(p);p.forEach(f),this.h()},h(){m(s,"class","lg:grid sm:grid grid-cols-2 md:grid-cols-3 grid-rows-2 md:grid-rows-3 mx-auto gap-4")},m(c,p){z(c,e,p),z(c,t,p),z(c,s,p);for(let u=0;u<r.length;u+=1)r[u]&&r[u].m(s,null);l=!0},p(c,[p]){if(p&1){i=pe(c[0]);let u;for(u=0;u<i.length;u+=1){const h=sn(c,i,u);r[u]?(r[u].p(h,p),B(r[u],1)):(r[u]=ln(h),r[u].c(),B(r[u],1),r[u].m(s,null))}for(Re(),u=i.length;u<r.length;u+=1)o(u);Se()}},i(c){if(!l){for(let p=0;p<i.length;p+=1)B(r[p]);l=!0}},o(c){r=r.filter(Boolean);for(let p=0;p<r.length;p+=1)Z(r[p]);l=!1},d(c){c&&(f(e),f(t),f(s)),Ge(r,c)}}}function ss(a){return[ts]}class is extends le{constructor(e){super(),re(this,e,ss,ns,ie,{})}}function ls(a){let e,n,t,s,l,i,r,o,c,p,u,h,w;return{c(){e=k("a"),n=k("img"),s=T(),l=k("div"),i=k("h5"),r=ee(a[0]),o=T(),c=k("p"),p=ee(a[1]),u=T(),h=k("p"),w=ee(a[4]),this.h()},l(b){e=x(b,"A",{href:!0,class:!0});var g=q(e);n=x(g,"IMG",{class:!0,src:!0,alt:!0}),s=A(g),l=x(g,"DIV",{class:!0});var $=q(l);i=x($,"H5",{class:!0});var E=q(i);r=te(E,a[0]),E.forEach(f),o=A($),c=x($,"P",{class:!0});var v=q(c);p=te(v,a[1]),v.forEach(f),u=A($),h=x($,"P",{class:!0});var S=q(h);w=te(S,a[4]),S.forEach(f),$.forEach(f),g.forEach(f),this.h()},h(){m(n,"class","object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-l-lg"),Ie(n.src,t=a[3])||m(n,"src",t),m(n,"alt",""),m(i,"class","mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white"),m(c,"class","text-right"),m(h,"class","mb-3 font-normal text-gray-700 dark:text-gray-400"),m(l,"class","flex flex-col justify-between p-4 leading-normal"),m(e,"href",a[2]),m(e,"class","flex flex-col items-center rounded-lg shadow md:flex-row dark:hover:bg-base-100 hover:bg-base-100 bg-base-300 dark:bg-base-300")},m(b,g){z(b,e,g),d(e,n),d(e,s),d(e,l),d(l,i),d(i,r),d(l,o),d(l,c),d(c,p),d(l,u),d(l,h),d(h,w)},p(b,[g]){g&8&&!Ie(n.src,t=b[3])&&m(n,"src",t),g&1&&xe(r,b[0]),g&2&&xe(p,b[1]),g&16&&xe(w,b[4]),g&4&&m(e,"href",b[2])},i:Q,o:Q,d(b){b&&f(e)}}}function rs(a,e,n){let{name:t}=e,{creator:s}=e,{link:l}=e,{image:i}=e,{description:r}=e;return a.$$set=o=>{"name"in o&&n(0,t=o.name),"creator"in o&&n(1,s=o.creator),"link"in o&&n(2,l=o.link),"image"in o&&n(3,i=o.image),"description"in o&&n(4,r=o.description)},[t,s,l,i,r]}class mn extends le{constructor(e){super(),re(this,e,rs,ls,ie,{name:0,creator:1,link:2,image:3,description:4})}}const as=[{name:"Sardine",creator:"Raphaël Forment",description:"Sardine est un logiciel libre et open source pour Python 3.10+. Sardine transforme Python en un instrument de musique. C'est un framework pour live coder et contrôler du matérial audio depuis Python. Sardine peut se synchroniser à d'autres logiciels ou instances du même logiciel.",image:"https://sardine.raphaelforment.fr/sardine_logo.svg#center",link:"https://sardine.raphaelforment.fr"},{name:"Été",creator:"Raphaël Bastide",description:"Été mélange live coding (écriture musicale temps réel au travers du code) et percussions. Le programme considère le clavier comme un instrument percussif. Le musicien peut écrire des instructions algorithmiques et des instructions percussives très précises au sein du même environnement de programmation. Été est une expérimentation qui essaie de lier dans un même programme le temps dédié à la composition algorithmique et celui dédié à l'improvisation spontanée.",image:"https://gitlab.com/uploads/-/system/project/avatar/35391245/Screenshot_2023-09-19_16-09-44.jpg",link:"https://raphaelbastide.com/ete/"},{name:"Cordelia",creator:"Jacopo Greco d'Alceo",description:"Une méthode, une tendre affection, hiver 2023. Cordelia est un environnement de live coding qui combine Python au moteur audio CSound.",image:"https://avatars.githubusercontent.com/u/92983918?v=4",link:"https://github.com/jacopogrecodalceo/CORDELIA"},{name:"Topos",creator:"Raphaël Forment",description:"Topos est un séquenceur algorithmique expérimental dans le web sequencer programmé par BuboBubo (Raphaël Forment) et Amiika (Miika Alonen). Il est écrit en TypeScript, avec Vite. Ce projet est basé sur le Monome Teletype de Brian Crabtree et Kelli Cain. Nous espérons respecter le même esprit de partage et d'expérimentation que les concepteurs originels ! Comment rendre le Teletype plus accessible tout en étendant ses capacités sur le web ?",image:"https://raphaelforment.fr/img/inline_annotation.png",link:"https://topos.raphaelforment.fr"},{name:"OSCII",creator:"Adel Faure",description:"OSCII est un logiciel pour dessiner et live coder des visuels en text-mode. OSCII produit également du son grâce à WebAudio.",image:"https://i1.sndcdn.com/avatars-1Kjtq0wbLSNSpNQH-AqRXfQ-t500x500.jpg",link:"https://gitlab.com/adelfaure/oscii"},{name:"Claude",creator:"Loïc Vital",description:"Claude est un outil pour synchroniser des visuels avec de l'audio dans un contexte de live coding. Claude, pour le moment, est seulement disponible pour un environnement : Sardine. Il peut être utilisé comme un sender, ce qui permet ensuite d'utiliser le Sardine Pattern Language pour écrire des valeurs uniform à envoyer.",image:"https://avatars.githubusercontent.com/u/70104194?v=4",link:"https://github.com/mugulmd/Claude"},{name:"Cascade",creator:"Raphaël Bastide",description:"Cascade est un environnement de live-coding pour le navigateur web. Il transforme les règles du langage CSS en sons !",image:"https://raphaelbastide.com/cascade/website/img/poster.svg",link:"https://raphaelbastide.com/cascade/"}];function rn(a,e,n){const t=a.slice();return t[1]=e[n].name,t[2]=e[n].creator,t[3]=e[n].description,t[4]=e[n].image,t[5]=e[n].link,t}function an(a){let e,n;return e=new mn({props:{name:a[1],creator:a[2],description:a[3],image:a[4],link:a[5]}}),{c(){ce(e.$$.fragment)},l(t){fe(e.$$.fragment,t)},m(t,s){ue(e,t,s),n=!0},p:Q,i(t){n||(B(e.$$.fragment,t),n=!0)},o(t){Z(e.$$.fragment,t),n=!1},d(t){he(e,t)}}}function os(a){let e,n="Outils",t,s,l='Si vous souhaitez consulter une liste fréquemment mise à jour de logiciels et dinterfaces pour le <em>live coding</em>, consulter <a href="https://github.com/toplap/awesome-livecoding" rel="nofollow">Awesome LiveCoding</a>. Pour élargir un petit peu, consultez également <a href="https://github.com/noteflakes/awesome-music" rel="nofollow">Awesome Music</a>.',i,r,o,c="Éditez le site pour rajouter votre outil ! <strong>Toutes les contributions sont acceptées !</strong>",p,u=pe(a[0]),h=[];for(let b=0;b<u.length;b+=1)h[b]=an(rn(a,u,b));const w=b=>Z(h[b],1,1,()=>{h[b]=null});return{c(){e=k("h1"),e.textContent=n,t=T(),s=k("p"),s.innerHTML=l,i=T();for(let b=0;b<h.length;b+=1)h[b].c();r=T(),o=k("p"),o.innerHTML=c},l(b){e=x(b,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-16n948e"&&(e.textContent=n),t=A(b),s=x(b,"P",{"data-svelte-h":!0}),j(s)!=="svelte-spp4tf"&&(s.innerHTML=l),i=A(b);for(let g=0;g<h.length;g+=1)h[g].l(b);r=A(b),o=x(b,"P",{"data-svelte-h":!0}),j(o)!=="svelte-1bomrdb"&&(o.innerHTML=c)},m(b,g){z(b,e,g),z(b,t,g),z(b,s,g),z(b,i,g);for(let $=0;$<h.length;$+=1)h[$]&&h[$].m(b,g);z(b,r,g),z(b,o,g),p=!0},p(b,[g]){if(g&1){u=pe(b[0]);let $;for($=0;$<u.length;$+=1){const E=rn(b,u,$);h[$]?(h[$].p(E,g),B(h[$],1)):(h[$]=an(E),h[$].c(),B(h[$],1),h[$].m(r.parentNode,r))}for(Re(),$=u.length;$<h.length;$+=1)w($);Se()}},i(b){if(!p){for(let g=0;g<u.length;g+=1)B(h[g]);p=!0}},o(b){h=h.filter(Boolean);for(let g=0;g<h.length;g+=1)Z(h[g]);p=!1},d(b){b&&(f(e),f(t),f(s),f(i),f(r),f(o)),Ge(h,b)}}}function cs(a){return[as]}class us extends le{constructor(e){super(),re(this,e,cs,os,ie,{})}}const hs=[{name:"Cookie Collective",place:"Paris",description:"Le Cookie Collective rassemble des artistes impliqués dans la création numérique temps réel. Cela couvre le domaine du jeu vidéo, des installations artistiques, du mapping vidéo, la demoscene, les algoraves, etc. Nous organisons des jams au cours desquelles les artistes réalisent des créations sonores ou visuelles devant un public. Nous publions des fanzines qui mettent l'accent sur nos manières de créer. Nous accueillons tout ceux qui partagent un intérêt commun pour la création temps réel. Contactez nous ou rejoignez le serveur Discord.",image:"https://www.cookie.paris/image.jpg",link:"https://cookie.paris"},{name:"Digital Audio Community",place:"Lyon",description:"Creative Code Lyon est une communauté lyonnaise dédiée à la programmation créative. En son sein existe un petit groupe, nommé le DAC (Digital Audio Community). Il se réunit toutes les deux semaines au Laboratoire Ouvert Lyonnais (LOL) pour discuter de synthèse sonore, de live coding, de création sonore. Pour nous contacter, rejoignez le serveur Discord !",image:"https://scontent-cdg4-3.xx.fbcdn.net/v/t39.30808-6/325617656_5771358802943616_8147684973704857965_n.jpg?_nc_cat=106&ccb=1-7&_nc_sid=5f2048&_nc_ohc=Cujn9ocml5QAX8S0sxA&_nc_ht=scontent-cdg4-3.xx&oh=00_AfC1nrCZnzRiCGGCfhJnH9QciEYvNRbhfsS5T0mKqzyRdQ&oe=65496DE6",link:"https://discord.gg/B2e5a3Y3uk"}];function on(a,e,n){const t=a.slice();return t[1]=e[n].name,t[2]=e[n].place,t[3]=e[n].description,t[4]=e[n].image,t[5]=e[n].link,t[7]=n,t}function cn(a){let e,n;return e=new mn({props:{name:a[1],creator:a[2],description:a[3],image:a[4],link:a[5]}}),{c(){ce(e.$$.fragment)},l(t){fe(e.$$.fragment,t)},m(t,s){ue(e,t,s),n=!0},p:Q,i(t){n||(B(e.$$.fragment,t),n=!0)},o(t){Z(e.$$.fragment,t),n=!1},d(t){he(e,t)}}}function ps(a){let e,n="Réseaux",t,s,l,i,r;s=new Je({props:{info:"Il existe plusieurs collectifs et groupes qui promeuvent la pratique du <i>live coding</i>. Cette page est un recensement des groupes connus. Si vous êtes actifs, ajoutez quelque chose ici.",markdown:"false"}});let o=pe(a[0]),c=[];for(let u=0;u<o.length;u+=1)c[u]=cn(on(a,o,u));const p=u=>Z(c[u],1,1,()=>{c[u]=null});return{c(){e=k("h1"),e.textContent=n,t=T(),ce(s.$$.fragment),l=T();for(let u=0;u<c.length;u+=1)c[u].c();i=rt()},l(u){e=x(u,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-21klql"&&(e.textContent=n),t=A(u),fe(s.$$.fragment,u),l=A(u);for(let h=0;h<c.length;h+=1)c[h].l(u);i=rt()},m(u,h){z(u,e,h),z(u,t,h),ue(s,u,h),z(u,l,h);for(let w=0;w<c.length;w+=1)c[w]&&c[w].m(u,h);z(u,i,h),r=!0},p(u,[h]){if(h&1){o=pe(u[0]);let w;for(w=0;w<o.length;w+=1){const b=on(u,o,w);c[w]?(c[w].p(b,h),B(c[w],1)):(c[w]=cn(b),c[w].c(),B(c[w],1),c[w].m(i.parentNode,i))}for(Re(),w=o.length;w<c.length;w+=1)p(w);Se()}},i(u){if(!r){B(s.$$.fragment,u);for(let h=0;h<o.length;h+=1)B(c[h]);r=!0}},o(u){Z(s.$$.fragment,u),c=c.filter(Boolean);for(let h=0;h<c.length;h+=1)Z(c[h]);r=!1},d(u){u&&(f(e),f(t),f(l),f(i)),he(s,u),Ge(c,u)}}}function fs(a){return[hs]}class ds extends le{constructor(e){super(),re(this,e,fs,ps,ie,{})}}function ms(a){let e,n="Ressources",t,s,l,i,r="Sites internet",o,c,p=`<li><p><a href="https://toplap.org" rel="nofollow">TOPLAP</a> : <strong>TOPLAP</strong> est le collectif historique qui a
promu la pratique du <em>live coding</em> à partir de sa fondation en 2004. Le
collectif est toujours actif et a aujourdhui évolué pour constituer un grand
réseau international de chercheurs et dartistes travaillant autour de la
question du <em>live coding</em> dans lensemble les arts (son, visuels, chorégraphie,
etc).</p></li> <li><p><a href="https://algorave.com" rel="nofollow">Algorave</a> : un site de recensement des <em>Algoraves</em>,
pour <em>Algorithmic Rave Parties</em>. Mouvement dévènements lancé en 2012 par Nick
Collins et Alex McLean, pour une pratique du <em>live coding</em> dans un contexte
festif, en imitation des <em>rave parties</em> britanniques.</p></li> <li><p><a href="https://github.com/toplap/awesome-livecoding" rel="nofollow">Awesome Live Coding</a> : Une
longue liste de ressources liées au <em>live coding</em> : logiciels, liens, sites,
archives, etc. La liste est maintenue de longue date et elle reste active. Vous trouverez
beaucoup de choses intéressantes là-bas.</p></li> <li><p><a href="https://llllllll.co/" rel="nofollow">Lines Forum</a> : initialement, le forum de la communauté
<strong>Monome</strong>. Ce forum accueille toutefois beaucoup de musiciens et dartistes
intéressés par la programmation et le <strong>DIY</strong>. Beaucoup de choses intéressantes
pour le <em>live coding</em>.</p></li> <li><p><a href="https://scsynth.org/" rel="nofollow">SuperCollider Forum</a> : le forum officiel dédié à
<strong>SuperCollider</strong>. <strong>SuperCollider</strong> est en grande partie responsable de
lémergence de la scène musicale du <em>live coding</em>, et pour de bonnes raisons.
Foisonnant, infini, logiciel tentaculaire et puissant.</p></li>`,u,h,w="Ressources généralistes",b,g,$=`<li><a href="https://ressources.labomedia.org/live_coding" rel="nofollow">Labomedia</a> : collection de
ressources pour le <em>creative coding</em>.</li>`,E;return s=new Je({props:{info:`Cette page est une liste de ressources généralistes sur le <i>live
coding</i>. Au vu de l'objectif poursuivi par ce site, il est préférable de
mentionner les sources francophones en premier puis d'inclure des liens
généralistes.`,markdown:"false"}}),{c(){e=k("h1"),e.textContent=n,t=T(),ce(s.$$.fragment),l=T(),i=k("h2"),i.textContent=r,o=T(),c=k("ul"),c.innerHTML=p,u=T(),h=k("h2"),h.textContent=w,b=T(),g=k("ul"),g.innerHTML=$},l(v){e=x(v,"H1",{"data-svelte-h":!0}),j(e)!=="svelte-1cbhex0"&&(e.textContent=n),t=A(v),fe(s.$$.fragment,v),l=A(v),i=x(v,"H2",{"data-svelte-h":!0}),j(i)!=="svelte-bg310f"&&(i.textContent=r),o=A(v),c=x(v,"UL",{"data-svelte-h":!0}),j(c)!=="svelte-azadaj"&&(c.innerHTML=p),u=A(v),h=x(v,"H2",{"data-svelte-h":!0}),j(h)!=="svelte-eg7erq"&&(h.textContent=w),b=A(v),g=x(v,"UL",{"data-svelte-h":!0}),j(g)!=="svelte-1se4f8f"&&(g.innerHTML=$)},m(v,S){z(v,e,S),z(v,t,S),ue(s,v,S),z(v,l,S),z(v,i,S),z(v,o,S),z(v,c,S),z(v,u,S),z(v,h,S),z(v,b,S),z(v,g,S),E=!0},p:Q,i(v){E||(B(s.$$.fragment,v),E=!0)},o(v){Z(s.$$.fragment,v),E=!1},d(v){v&&(f(e),f(t),f(l),f(i),f(o),f(c),f(u),f(h),f(b),f(g)),he(s,v)}}}class gs extends le{constructor(e){super(),re(this,e,null,ms,ie,{})}}function ks(a){let e,n,t,s,l,i="livecoding.fr",r,o,c='<button type="button" class="text-gray-100 hover:text-gray-400 focus:outline-none focus:text-gray-400"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"></path></svg></button>',p,u,h,w="Évènements",b,g,$="Membres",E,v,S="Outils",M,y,R="Réseaux",U,D,H="Ressources",J,_,L="Presse",P,Y,Ue="Contact",Ae,ze,W,ae,ke,Me,Ee,F,ht,be,qe,pt,G,De,ve,$t="Évènements",ft,He,_e,Tt="Membres",dt,Be,we,At="Outils",mt,Oe,Ce,zt="Réseaux",gt,Ve,ye,Et="Ressources",kt,Ne,$e,qt="Presse",xt,Ze,Te,Lt="Contact",bt,Le,It='<p class="indent-4 text-bold text-white">Raphaël Forment</p> <p><a class="pl-4" href="https://github.com/Bubobubobubobubo/livecodingfr">GitHub</a></p>',Ye,vt,Rt;var Fe=a[0];function St(K,de){return{}}return Fe&&(F=Ft(Fe,St())),{c(){e=k("div"),n=k("div"),t=k("nav"),s=k("div"),l=k("a"),l.textContent=i,r=T(),o=k("div"),o.innerHTML=c,p=T(),u=k("div"),h=k("a"),h.textContent=w,b=T(),g=k("a"),g.textContent=$,E=T(),v=k("a"),v.textContent=S,M=T(),y=k("a"),y.textContent=R,U=T(),D=k("a"),D.textContent=H,J=T(),_=k("a"),_.textContent=L,P=T(),Y=k("a"),Y.textContent=Ue,ze=T(),W=k("main"),ae=k("div"),ke=k("input"),Me=T(),Ee=k("div"),F&&ce(F.$$.fragment),ht=T(),be=k("div"),qe=k("label"),pt=T(),G=k("ul"),De=k("li"),ve=k("a"),ve.textContent=$t,ft=T(),He=k("li"),_e=k("a"),_e.textContent=Tt,dt=T(),Be=k("li"),we=k("a"),we.textContent=At,mt=T(),Oe=k("li"),Ce=k("a"),Ce.textContent=zt,gt=T(),Ve=k("li"),ye=k("a"),ye.textContent=Et,kt=T(),Ne=k("li"),$e=k("a"),$e.textContent=qt,xt=T(),Ze=k("li"),Te=k("a"),Te.textContent=Lt,bt=T(),Le=k("footer"),Le.innerHTML=It,this.h()},l(K){e=x(K,"DIV",{});var de=q(e);n=x(de,"DIV",{class:!0});var Ke=q(n);t=x(Ke,"NAV",{class:!0});var et=q(t);s=x(et,"DIV",{class:!0});var tt=q(s);l=x(tt,"A",{class:!0,"data-svelte-h":!0}),j(l)!=="svelte-99ytaw"&&(l.textContent=i),r=A(tt),o=x(tt,"DIV",{class:!0,"data-svelte-h":!0}),j(o)!=="svelte-glwq61"&&(o.innerHTML=c),tt.forEach(f),p=A(et),u=x(et,"DIV",{class:!0});var ne=q(u);h=x(ne,"A",{class:!0,"data-svelte-h":!0}),j(h)!=="svelte-9oawtf"&&(h.textContent=w),b=A(ne),g=x(ne,"A",{class:!0,"data-svelte-h":!0}),j(g)!=="svelte-1ashbak"&&(g.textContent=$),E=A(ne),v=x(ne,"A",{class:!0,"data-svelte-h":!0}),j(v)!=="svelte-cuugrw"&&(v.textContent=S),M=A(ne),y=x(ne,"A",{class:!0,"data-svelte-h":!0}),j(y)!=="svelte-1vq424k"&&(y.textContent=R),U=A(ne),D=x(ne,"A",{class:!0,"data-svelte-h":!0}),j(D)!=="svelte-fckt8g"&&(D.textContent=H),J=A(ne),_=x(ne,"A",{class:!0,"data-svelte-h":!0}),j(_)!=="svelte-dcpiuw"&&(_.textContent=L),P=A(ne),Y=x(ne,"A",{class:!0,"data-svelte-h":!0}),j(Y)!=="svelte-15n2veg"&&(Y.textContent=Ue),ne.forEach(f),et.forEach(f),Ke.forEach(f),de.forEach(f),ze=A(K),W=x(K,"MAIN",{class:!0});var nt=q(W);ae=x(nt,"DIV",{class:!0});var Qe=q(ae);ke=x(Qe,"INPUT",{id:!0,type:!0,class:!0}),Me=A(Qe),Ee=x(Qe,"DIV",{class:!0});var Pt=q(Ee);F&&fe(F.$$.fragment,Pt),Pt.forEach(f),ht=A(Qe),be=x(Qe,"DIV",{class:!0});var st=q(be);qe=x(st,"LABEL",{for:!0,"aria-label":!0,class:!0}),q(qe).forEach(f),pt=A(st),G=x(st,"UL",{class:!0});var se=q(G);De=x(se,"LI",{class:!0});var jt=q(De);ve=x(jt,"A",{class:!0,"data-svelte-h":!0}),j(ve)!=="svelte-1g32o0x"&&(ve.textContent=$t),jt.forEach(f),ft=A(se),He=x(se,"LI",{class:!0});var Mt=q(He);_e=x(Mt,"A",{class:!0,"data-svelte-h":!0}),j(_e)!=="svelte-qe766e"&&(_e.textContent=Tt),Mt.forEach(f),dt=A(se),Be=x(se,"LI",{class:!0});var Dt=q(Be);we=x(Dt,"A",{class:!0,"data-svelte-h":!0}),j(we)!=="svelte-thybk0"&&(we.textContent=At),Dt.forEach(f),mt=A(se),Oe=x(se,"LI",{class:!0});var Ht=q(Oe);Ce=x(Ht,"A",{class:!0,"data-svelte-h":!0}),j(Ce)!=="svelte-6i6cjy"&&(Ce.textContent=zt),Ht.forEach(f),gt=A(se),Ve=x(se,"LI",{class:!0});var Bt=q(Ve);ye=x(Bt,"A",{class:!0,"data-svelte-h":!0}),j(ye)!=="svelte-tga1wo"&&(ye.textContent=Et),Bt.forEach(f),kt=A(se),Ne=x(se,"LI",{class:!0});var Ot=q(Ne);$e=x(Ot,"A",{class:!0,"data-svelte-h":!0}),j($e)!=="svelte-nrqka0"&&($e.textContent=qt),Ot.forEach(f),xt=A(se),Ze=x(se,"LI",{class:!0});var Vt=q(Ze);Te=x(Vt,"A",{class:!0,"data-svelte-h":!0}),j(Te)!=="svelte-v3eok0"&&(Te.textContent=Lt),Vt.forEach(f),se.forEach(f),st.forEach(f),Qe.forEach(f),bt=A(nt),Le=x(nt,"FOOTER",{class:!0,"data-svelte-h":!0}),j(Le)!=="svelte-12gpjdo"&&(Le.innerHTML=It),nt.forEach(f),this.h()},h(){m(l,"class","text-3xl font-extrabold text-transparent bg-clip-text bg-gradient-to-r from-orange-300 to-orange-200 uppercase"),m(o,"class","flex md:hidden"),m(s,"class","flex items-center justify-between"),m(h,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),m(g,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),m(v,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),m(y,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),m(D,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),m(_,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),m(Y,"class","text-gray-100 hover:text-orange-300 flex md:hidden"),m(u,"class",Ae="flex-col mt-8 space-y-4 md:flex md:space-y-0 md:flex-row md:items-center md:space-x-10 md:mt-0 "+(a[1]?"flex":"hidden")),m(t,"class","pl-8 py-2 md:flex md:justify-between md:items-center pr-8"),m(n,"class","bg-neutral-800 dark:bg-base-300"),m(ke,"id","my-drawer-2"),m(ke,"type","checkbox"),m(ke,"class","drawer-toggle"),m(Ee,"class","drawer-content space-y-4 flex flex-col lg:px-16 px-4 py-8"),m(qe,"for","my-drawer-2"),m(qe,"aria-label","close sidebar"),m(qe,"class","drawer-overlay"),m(ve,"class","text-white hover:text-orange-300"),m(De,"class","text-xl"),m(_e,"class","text-white hover:text-orange-300"),m(He,"class","text-xl"),m(we,"class","text-white hover:text-orange-300"),m(Be,"class","text-xl"),m(Ce,"class","text-white hover:text-orange-300"),m(Oe,"class","text-xl"),m(ye,"class","text-white hover:text-orange-300"),m(Ve,"class","text-xl"),m($e,"class","text-white hover:text-orange-300"),m(Ne,"class","text-xl"),m(Te,"class","text-white hover:text-orange-300"),m(Ze,"class","text-xl"),m(G,"class","menu p-4 w-40 min-h-full bg-neutral-800 dark:bg-base-300 text-base-content"),m(be,"class","drawer-side"),m(ae,"class","drawer lg:drawer-open"),m(Le,"class","footer ml-0 pl-0 pb-4 pt-4 bg-neutral-800 dark:bg-base-300 justify-between pr-16"),m(W,"class","bg-gray-100 dark:bg-base-100")},m(K,de){z(K,e,de),d(e,n),d(n,t),d(t,s),d(s,l),d(s,r),d(s,o),d(t,p),d(t,u),d(u,h),d(u,b),d(u,g),d(u,E),d(u,v),d(u,M),d(u,y),d(u,U),d(u,D),d(u,J),d(u,_),d(u,P),d(u,Y),z(K,ze,de),z(K,W,de),d(W,ae),d(ae,ke),d(ae,Me),d(ae,Ee),F&&ue(F,Ee,null),d(ae,ht),d(ae,be),d(be,qe),d(be,pt),d(be,G),d(G,De),d(De,ve),d(G,ft),d(G,He),d(He,_e),d(G,dt),d(G,Be),d(Be,we),d(G,mt),d(G,Oe),d(Oe,Ce),d(G,gt),d(G,Ve),d(Ve,ye),d(G,kt),d(G,Ne),d(Ne,$e),d(G,xt),d(G,Ze),d(Ze,Te),d(W,bt),d(W,Le),Ye=!0,vt||(Rt=[X(l,"click",a[4]),X(o,"click",a[2]),X(h,"click",a[5]),X(g,"click",a[6]),X(v,"click",a[7]),X(y,"click",a[8]),X(D,"click",a[9]),X(_,"click",a[10]),X(Y,"click",a[11]),X(ve,"click",a[12]),X(_e,"click",a[13]),X(we,"click",a[14]),X(Ce,"click",a[15]),X(ye,"click",a[16]),X($e,"click",a[17]),X(Te,"click",a[18])],vt=!0)},p(K,[de]){if((!Ye||de&2&&Ae!==(Ae="flex-col mt-8 space-y-4 md:flex md:space-y-0 md:flex-row md:items-center md:space-x-10 md:mt-0 "+(K[1]?"flex":"hidden")))&&m(u,"class",Ae),de&1&&Fe!==(Fe=K[0])){if(F){Re();const Ke=F;Z(Ke.$$.fragment,1,0,()=>{he(Ke,1)}),Se()}Fe?(F=Ft(Fe,St()),ce(F.$$.fragment),B(F.$$.fragment,1),ue(F,Ee,null)):F=null}},i(K){Ye||(F&&B(F.$$.fragment,K),Ye=!0)},o(K){F&&Z(F.$$.fragment,K),Ye=!1},d(K){K&&(f(e),f(ze),f(W)),F&&he(F),vt=!1,vn(Rt)}}}function xs(a,e,n){const t={accueil:Pn,evenements:Vn,membres:is,outils:us,réseaux:ds,presse:Wn,ressources:gs,contact:Zn};let s=t.accueil,l=!1;function i(){n(1,l=!l)}function r(U){const D=U.toLowerCase();t[D]&&n(0,s=t[D])}return[s,l,i,r,()=>r("Accueil"),()=>r("Evenements"),()=>r("Membres"),()=>r("Outils"),()=>r("Réseaux"),()=>r("Ressources"),()=>r("Presse"),()=>r("Contact"),()=>r("Evenements"),()=>r("Membres"),()=>r("Outils"),()=>r("Réseaux"),()=>r("Ressources"),()=>r("Presse"),()=>r("Contact")]}class ws extends le{constructor(e){super(),re(this,e,xs,ks,ie,{})}}export{ws as component};