This commit is contained in:
Bubobubobubobubo
2023-12-23 16:45:13 +00:00
parent 2e953970c1
commit 954c6a9653
135 changed files with 648 additions and 143 deletions

View File

@ -0,0 +1 @@
import{s as w,n as v,o as x}from"./scheduler.aZRR5A_O.js";import{S as E,i as b,g as _,C as g,s as y,H as j,h as k,j as h,D as p,f as c,c as H,E as I,k as n,a as M,y as f}from"./index.ciNBPAxl.js";import{m as S}from"./marked.esm.hS8hU7E4.js";function B(m){let e,t,a,o,s,l;return{c(){e=_("div"),t=g("svg"),a=g("path"),o=y(),s=_("span"),l=new j(!1),this.h()},l(i){e=k(i,"DIV",{class:!0});var r=h(e);t=p(r,"svg",{xmlns:!0,fill:!0,viewBox:!0,class:!0});var d=h(t);a=p(d,"path",{"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-width":!0,d:!0}),h(a).forEach(c),d.forEach(c),o=H(r),s=k(r,"SPAN",{class:!0});var u=h(s);l=I(u,!1),u.forEach(c),r.forEach(c),this.h()},h(){n(a,"stroke-linecap","round"),n(a,"stroke-linejoin","round"),n(a,"stroke-width","2"),n(a,"d","M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"),n(t,"xmlns","http://www.w3.org/2000/svg"),n(t,"fill","none"),n(t,"viewBox","0 0 24 24"),n(t,"class","stroke-current shrink-0 w-6 h-6"),l.a=null,n(s,"class","text-2xl"),n(e,"class","alert bg-base-300 dark:bg-base-300")},m(i,r){M(i,e,r),f(e,t),f(t,a),f(e,o),f(e,s),l.m(m[0],s)},p(i,[r]){r&1&&l.p(i[0])},i:v,o:v,d(i){i&&c(e)}}}function C(m,e,t){let{info:a}=e,{markdown:o}=e;return x(()=>{o&&S(a)}),m.$$set=s=>{"info"in s&&t(0,a=s.info),"markdown"in s&&t(1,o=s.markdown)},[a,o]}class A extends E{constructor(e){super(),b(this,e,C,B,w,{info:0,markdown:1})}}export{A as I};

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{s as H,e as D,n as G}from"./scheduler.aZRR5A_O.js";import{S as M,i as V,g as _,s as S,m as j,h as b,j as v,c as y,n as q,f as k,k as i,a as z,y as c,o as C}from"./index.ciNBPAxl.js";function B(l){let e,a,f,d,s,o,m,t,h,w,E,u,x;return{c(){e=_("a"),a=_("img"),d=S(),s=_("div"),o=_("h5"),m=j(l[0]),t=S(),h=_("p"),w=j(l[1]),E=S(),u=_("p"),x=j(l[4]),this.h()},l(n){e=b(n,"A",{href:!0,class:!0});var r=v(e);a=b(r,"IMG",{class:!0,src:!0,alt:!0}),d=y(r),s=b(r,"DIV",{class:!0});var g=v(s);o=b(g,"H5",{class:!0});var I=v(o);m=q(I,l[0]),I.forEach(k),t=y(g),h=b(g,"P",{class:!0});var P=v(h);w=q(P,l[1]),P.forEach(k),E=y(g),u=b(g,"P",{class:!0});var A=v(u);x=q(A,l[4]),A.forEach(k),g.forEach(k),r.forEach(k),this.h()},h(){i(a,"class","object-cover w-full rounded-t-lg h-96 md:h-auto md:w-48 md:rounded-none md:rounded-l-lg"),D(a.src,f=l[3])||i(a,"src",f),i(a,"alt",""),i(o,"class","mb-2 text-2xl font-bold tracking-tight text-gray-900 dark:text-white"),i(h,"class","text-right"),i(u,"class","mb-3 font-normal text-gray-700 dark:text-gray-400"),i(s,"class","flex flex-col justify-between p-4 leading-normal"),i(e,"href",l[2]),i(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(n,r){z(n,e,r),c(e,a),c(e,d),c(e,s),c(s,o),c(o,m),c(s,t),c(s,h),c(h,w),c(s,E),c(s,u),c(u,x)},p(n,[r]){r&8&&!D(a.src,f=n[3])&&i(a,"src",f),r&1&&C(m,n[0]),r&2&&C(w,n[1]),r&16&&C(x,n[4]),r&4&&i(e,"href",n[2])},i:G,o:G,d(n){n&&k(e)}}}function F(l,e,a){let{name:f}=e,{creator:d}=e,{link:s}=e,{image:o}=e,{description:m}=e;return l.$$set=t=>{"name"in t&&a(0,f=t.name),"creator"in t&&a(1,d=t.creator),"link"in t&&a(2,s=t.link),"image"in t&&a(3,o=t.image),"description"in t&&a(4,m=t.description)},[f,d,s,o,m]}class L extends M{constructor(e){super(),V(this,e,F,B,H,{name:0,creator:1,link:2,image:3,description:4})}}export{L as S};

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
function e(n){return n?.length!==void 0?n:Array.from(n)}export{e};

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
const d="modulepreload",m=function(a,l){return new URL(a,l).href},f={},E=function(l,i,c){let u=Promise.resolve();if(i&&i.length>0){const n=document.getElementsByTagName("link");u=Promise.all(i.map(e=>{if(e=m(e,c),e in f)return;f[e]=!0;const r=e.endsWith(".css"),h=r?'[rel="stylesheet"]':"";if(!!c)for(let s=n.length-1;s>=0;s--){const o=n[s];if(o.href===e&&(!r||o.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${e}"]${h}`))return;const t=document.createElement("link");if(t.rel=r?"stylesheet":d,r||(t.as="script",t.crossOrigin=""),t.href=e,document.head.appendChild(t),r)return new Promise((s,o)=>{t.addEventListener("load",s),t.addEventListener("error",()=>o(new Error(`Unable to preload CSS for ${e}`)))})}))}return u.then(()=>l()).catch(n=>{const e=new Event("vite:preloadError",{cancelable:!0});if(e.payload=n,window.dispatchEvent(e),!e.defaultPrevented)throw n})};export{E as _};

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,5 @@
import{s as F,c as K,u as O,g as Q,d as W,x as j,y as D,n as X}from"./scheduler.aZRR5A_O.js";import{S as J,i as N,g as m,h as d,j as V,f as r,a as p,d as G,t as I,r as Y,u as Z,v as ee,w as te,s as _,H as ne,x as g,c as v,E as se,k as le}from"./index.ciNBPAxl.js";function ae(o,t){const a={},c={},s={$$scope:1};let e=o.length;for(;e--;){const l=o[e],u=t[e];if(u){for(const f in l)f in u||(c[f]=1);for(const f in u)s[f]||(a[f]=u[f],s[f]=1);o[e]=u}else for(const f in l)s[f]=1}for(const l in c)l in a||(a[l]=void 0);return a}function U(o){return typeof o=="object"&&o!==null?o:{}}function oe(o){let t,a;const c=o[3].default,s=K(c,o,o[2],null);return{c(){t=m("article"),s&&s.c()},l(e){t=d(e,"ARTICLE",{});var l=V(t);s&&s.l(l),l.forEach(r)},m(e,l){p(e,t,l),s&&s.m(t,null),a=!0},p(e,[l]){s&&s.p&&(!a||l&4)&&O(s,c,e,e[2],a?W(c,e[2],l,null):Q(e[2]),null)},i(e){a||(G(s,e),a=!0)},o(e){I(s,e),a=!1},d(e){e&&r(t),s&&s.d(e)}}}function ue(o,t,a){let{$$slots:c={},$$scope:s}=t,{title:e}=t,{date:l}=t;return o.$$set=u=>{"title"in u&&a(0,e=u.title),"date"in u&&a(1,l=u.date),"$$scope"in u&&a(2,s=u.$$scope)},[e,l,s,c]}class ie extends J{constructor(t){super(),N(this,t,ue,oe,F,{title:0,date:1})}}function re(o){let t,a='Les guides sont rédigés en <a href="https://en.wikipedia.org/wiki/Markdown" rel="nofollow">MarkDown</a>, un format de balisage léger qui facilite lécriture et la publication. Une fois ajoutés au site, ces derniers sont automatiquement recensés et publiés. Chaque article reçoit un entête simple. Voici lentête de larticle actuel :',c,s,e,l=`<code class="language-yaml"><span class="token punctuation">---</span>
<span class="token key atrule">title</span><span class="token punctuation">:</span> Comment proposer un guide <span class="token punctuation">?</span>
<span class="token key atrule">date</span><span class="token punctuation">:</span> <span class="token string">'2023-12-22'</span>
<span class="token key atrule">author</span><span class="token punctuation">:</span> <span class="token string">"Raphaël Maurice Forment"</span>
<span class="token punctuation">---</span></code>`,u,f,z="Chaque balise se comprend assez facilement :",w,h,P="<li><strong>title</strong> : le titre complet de larticle</li> <li><strong>date</strong> : au format <code>AAAA-MM-JJ</code></li> <li><strong>author</strong> : nom complet ou votre pseudonyme</li>",y,k,S="Le site utilise ensuite ces données pour générer un entête. Les données peuvent ensuite être utilisées sous plusieurs formes pour faire référence au guide sur dautres pages.",M,b,A="Contenu de larticle",H,C,E="Écrivez ce que vous voulez ! Notez que vous pouvez librement mélanger <strong>MarkDown</strong>, <strong>HTML/CSS</strong> et composants <strong>Svelte</strong> pour les plus confirmés. Vous ne devriez pas avoir de problème particulier à publier quoi que ce soit sous la forme que vous imaginez ! Si vous écrivez du <strong>MarkDown</strong> pur et simple, votre article recevra le style par défaut utilisé par le site.",L,x,R="Publication",T,q,$='Une fois votre article prêt, il vous faudra faire une <a href="https://docs.github.com/fr/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests" rel="nofollow">Pull Request</a> pour que ce dernier soit ajouté au <a href="https://github.com/Bubobubobubobubo/livecodingfr" rel="nofollow">dépôt</a> du site et validé par un contributeur. Bonne chance ! Nous avons besoin de guides pour couvrir lessentiel des plateformes existantes !';return{c(){t=m("p"),t.innerHTML=a,c=_(),s=m("pre"),e=new ne(!1),u=_(),f=m("p"),f.textContent=z,w=_(),h=m("ul"),h.innerHTML=P,y=_(),k=m("p"),k.textContent=S,M=_(),b=m("h2"),b.textContent=A,H=_(),C=m("p"),C.innerHTML=E,L=_(),x=m("h2"),x.textContent=R,T=_(),q=m("p"),q.innerHTML=$,this.h()},l(n){t=d(n,"P",{"data-svelte-h":!0}),g(t)!=="svelte-xfb6jk"&&(t.innerHTML=a),c=v(n),s=d(n,"PRE",{class:!0});var i=V(s);e=se(i,!1),i.forEach(r),u=v(n),f=d(n,"P",{"data-svelte-h":!0}),g(f)!=="svelte-rwvclt"&&(f.textContent=z),w=v(n),h=d(n,"UL",{"data-svelte-h":!0}),g(h)!=="svelte-1objkrr"&&(h.innerHTML=P),y=v(n),k=d(n,"P",{"data-svelte-h":!0}),g(k)!=="svelte-uedqlf"&&(k.textContent=S),M=v(n),b=d(n,"H2",{"data-svelte-h":!0}),g(b)!=="svelte-1g5ta6o"&&(b.textContent=A),H=v(n),C=d(n,"P",{"data-svelte-h":!0}),g(C)!=="svelte-rulmzu"&&(C.innerHTML=E),L=v(n),x=d(n,"H2",{"data-svelte-h":!0}),g(x)!=="svelte-qjxet8"&&(x.textContent=R),T=v(n),q=d(n,"P",{"data-svelte-h":!0}),g(q)!=="svelte-1m0ijoc"&&(q.innerHTML=$),this.h()},h(){e.a=null,le(s,"class","language-yaml")},m(n,i){p(n,t,i),p(n,c,i),p(n,s,i),e.m(l,s),p(n,u,i),p(n,f,i),p(n,w,i),p(n,h,i),p(n,y,i),p(n,k,i),p(n,M,i),p(n,b,i),p(n,H,i),p(n,C,i),p(n,L,i),p(n,x,i),p(n,T,i),p(n,q,i)},p:X,d(n){n&&(r(t),r(c),r(s),r(u),r(f),r(w),r(h),r(y),r(k),r(M),r(b),r(H),r(C),r(L),r(x),r(T),r(q))}}}function ce(o){let t,a;const c=[o[0],B];let s={$$slots:{default:[re]},$$scope:{ctx:o}};for(let e=0;e<c.length;e+=1)s=j(s,c[e]);return t=new ie({props:s}),{c(){Y(t.$$.fragment)},l(e){Z(t.$$.fragment,e)},m(e,l){ee(t,e,l),a=!0},p(e,[l]){const u=l&1?ae(c,[l&1&&U(e[0]),l&0&&U(B)]):{};l&2&&(u.$$scope={dirty:l,ctx:e}),t.$set(u)},i(e){a||(G(t.$$.fragment,e),a=!0)},o(e){I(t.$$.fragment,e),a=!1},d(e){te(t,e)}}}const B={title:"Comment proposer un guide ?",date:"2023-12-22",author:"Raphaël Maurice Forment"};function pe(o,t,a){return o.$$set=c=>{a(0,t=j(j({},t),D(c)))},t=D(t),[t]}class de extends J{constructor(t){super(),N(this,t,pe,ce,F,{})}}export{de as default,B as metadata};

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
function k(){}function w(t,n){for(const e in n)t[e]=n[e];return t}function j(t){return t()}function F(){return Object.create(null)}function E(t){t.forEach(j)}function P(t){return typeof t=="function"}function S(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let i;function U(t,n){return t===n?!0:(i||(i=document.createElement("a")),i.href=n,t===i.href)}function A(t){return Object.keys(t).length===0}function q(t,...n){if(t==null){for(const r of n)r(void 0);return k}const e=t.subscribe(...n);return e.unsubscribe?()=>e.unsubscribe():e}function B(t,n,e){t.$$.on_destroy.push(q(n,e))}function C(t,n,e,r){if(t){const o=m(t,n,e,r);return t[0](o)}}function m(t,n,e,r){return t[1]&&r?w(e.ctx.slice(),t[1](r(n))):e.ctx}function D(t,n,e,r){if(t[2]&&r){const o=t[2](r(e));if(n.dirty===void 0)return o;if(typeof o=="object"){const a=[],_=Math.max(n.dirty.length,o.length);for(let s=0;s<_;s+=1)a[s]=n.dirty[s]|o[s];return a}return n.dirty|o}return n.dirty}function G(t,n,e,r,o,a){if(o){const _=m(n,e,r,a);t.p(_,o)}}function H(t){if(t.ctx.length>32){const n=[],e=t.ctx.length/32;for(let r=0;r<e;r++)n[r]=-1;return n}return-1}let f;function h(t){f=t}function y(){if(!f)throw new Error("Function called outside component initialization");return f}function I(t){y().$$.on_mount.push(t)}function J(t){y().$$.after_update.push(t)}const l=[],b=[];let u=[];const g=[],x=Promise.resolve();let p=!1;function v(){p||(p=!0,x.then(M))}function K(){return v(),x}function O(t){u.push(t)}const d=new Set;let c=0;function M(){if(c!==0)return;const t=f;do{try{for(;c<l.length;){const n=l[c];c++,h(n),z(n.$$)}}catch(n){throw l.length=0,c=0,n}for(h(null),l.length=0,c=0;b.length;)b.pop()();for(let n=0;n<u.length;n+=1){const e=u[n];d.has(e)||(d.add(e),e())}u.length=0}while(l.length);for(;g.length;)g.pop()();p=!1,d.clear(),h(t)}function z(t){if(t.fragment!==null){t.update(),E(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(O)}}function L(t){const n=[],e=[];u.forEach(r=>t.indexOf(r)===-1?n.push(r):e.push(r)),e.forEach(r=>r()),u=n}export{J as a,b,C as c,D as d,B as e,U as f,H as g,F as h,M as i,P as j,A as k,O as l,L as m,k as n,I as o,f as p,h as q,E as r,S as s,K as t,G as u,j as v,l as w,v as x};

View File

@ -0,0 +1 @@
function M(){}function k(t,n){for(const e in n)t[e]=n[e];return t}function w(t){return t()}function z(){return Object.create(null)}function j(t){t.forEach(w)}function F(t){return typeof t=="function"}function P(t,n){return t!=t?n==n:t!==n||t&&typeof t=="object"||typeof t=="function"}let i;function S(t,n){return t===n?!0:(i||(i=document.createElement("a")),i.href=n,t===i.href)}function U(t){return Object.keys(t).length===0}function A(t,n,e,r){if(t){const o=y(t,n,e,r);return t[0](o)}}function y(t,n,e,r){return t[1]&&r?k(e.ctx.slice(),t[1](r(n))):e.ctx}function B(t,n,e,r){if(t[2]&&r){const o=t[2](r(e));if(n.dirty===void 0)return o;if(typeof o=="object"){const l=[],_=Math.max(n.dirty.length,o.length);for(let s=0;s<_;s+=1)l[s]=n.dirty[s]|o[s];return l}return n.dirty|o}return n.dirty}function C(t,n,e,r,o,l){if(o){const _=y(n,e,r,l);t.p(_,o)}}function D(t){if(t.ctx.length>32){const n=[],e=t.ctx.length/32;for(let r=0;r<e;r++)n[r]=-1;return n}return-1}function G(t){const n={};for(const e in t)e[0]!=="$"&&(n[e]=t[e]);return n}let f;function h(t){f=t}function b(){if(!f)throw new Error("Function called outside component initialization");return f}function H(t){b().$$.on_mount.push(t)}function I(t){b().$$.after_update.push(t)}const a=[],g=[];let u=[];const m=[],x=Promise.resolve();let p=!1;function E(){p||(p=!0,x.then(v))}function J(){return E(),x}function q(t){u.push(t)}const d=new Set;let c=0;function v(){if(c!==0)return;const t=f;do{try{for(;c<a.length;){const n=a[c];c++,h(n),O(n.$$)}}catch(n){throw a.length=0,c=0,n}for(h(null),a.length=0,c=0;g.length;)g.pop()();for(let n=0;n<u.length;n+=1){const e=u[n];d.has(e)||(d.add(e),e())}u.length=0}while(a.length);for(;m.length;)m.pop()();p=!1,d.clear(),h(t)}function O(t){if(t.fragment!==null){t.update(),j(t.before_update);const n=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,n),t.after_update.forEach(q)}}function K(t){const n=[],e=[];u.forEach(r=>t.indexOf(r)===-1?n.push(r):e.push(r)),e.forEach(r=>r()),u=n}export{I as a,g as b,A as c,B as d,S as e,z as f,D as g,v as h,F as i,U as j,q as k,K as l,f as m,M as n,H as o,h as p,w as q,j as r,P as s,J as t,C as u,a as v,E as w,k as x,G as y};

Binary file not shown.

Binary file not shown.

View File

@ -1 +0,0 @@
import{n as d,s as y}from"./scheduler.63274e7e.js";const u=[];function p(e,t=d){let n;const o=new Set;function r(s){if(y(e,s)&&(e=s,n)){const c=!u.length;for(const l of o)l[1](),u.push(l,e);if(c){for(let l=0;l<u.length;l+=2)u[l][0](u[l+1]);u.length=0}}}function i(s){r(s(e))}function a(s,c=d){const l=[s,c];return o.add(l),o.size===1&&(n=t(r,i)||d),s(e),()=>{o.delete(l),o.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}var h;const m=((h=globalThis.__sveltekit_vky8yg)==null?void 0:h.base)??"";var k;const E=((k=globalThis.__sveltekit_vky8yg)==null?void 0:k.assets)??m,w="1701786959363",T="sveltekit:snapshot",I="sveltekit:scroll",x="sveltekit:index",_={tap:1,hover:2,viewport:3,eager:4,off:-1};function O(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function U(){return{x:pageXOffset,y:pageYOffset}}function f(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const b={..._,"":_.hover};function v(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function L(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=v(e)}}function N(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||R(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),i=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:i}}function P(e){let t=null,n=null,o=null,r=null,i=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=f(s,"preload-code")),r===null&&(r=f(s,"preload-data")),t===null&&(t=f(s,"keepfocus")),n===null&&(n=f(s,"noscroll")),i===null&&(i=f(s,"reload")),a===null&&(a=f(s,"replacestate")),s=v(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:b[o??"off"],preload_data:b[r??"off"],keep_focus:c(t),noscroll:c(n),reload:c(i),replace_state:c(a)}}function g(e){const t=p(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function i(a){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&a(s=c)})}return{notify:o,set:r,subscribe:i}}function A(){const{set:e,subscribe:t}=p(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${E}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==w;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function R(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}function V(e){e.client}const Y={url:g({}),page:g({}),navigating:p(null),updated:A()};export{x as I,_ as P,I as S,T as a,N as b,P as c,Y as d,m as e,L as f,O as g,V as h,R as i,U as s};

View File

@ -0,0 +1 @@
const e=o=>{for(let t=o.length-1;t>0;t--){const s=Math.floor(Math.random()*(t+1));[o[t],o[s]]=[o[s],o[t]]}};export{e as s};

Binary file not shown.

Binary file not shown.