File size: 17,493 Bytes
4a9e8e5 |
1 2 3 4 5 6 |
import{S as Z,i as x,s as ee,e as b,k as I,c as w,a as E,d as g,m as C,K as se,b as d,g as P,J as f,L as U,t as N,h as H,j as Ee,E as re,M as Re,N as R,O as fe,P as Ge,w as Y,x as J,y as K,Q as Ve,q as L,o as V,B as Q,R as ue,T as Fe,f as X,U as _e,V as ie,W as qe,n as $e,p as Te,X as We,v as Xe,u as Ye,Y as Je,l as Me}from"../chunks/index-7c452e28.js";import{w as le}from"../chunks/index-d282aaf8.js";const he=le("synth"),be=le("medium"),we=le("medium"),ve=le(!1),pe=le(""),ye=le(""),ke=le(""),ne={piano:"Piano",chamber:"Chamber Music",rock_and_metal:"Rock and Metal",synth:"Synthesizer",church:"Church",timpani_strings_harp:"Timpani, Contrabass, Harp",country:"Country",reggae:"Reggae-esque"},Ke={low:"Low",medium:"Medium",high:"High"},Qe={low:"Low",medium:"Medium",high:"High",very_high:"Very High"};function Ne(l,e,s){const t=l.slice();return t[4]=e[s],t[6]=s,t}function He(l){let e,s,t,o,n,a,i,c,u,p,r,_;return{c(){e=b("label"),s=b("div"),t=b("img"),a=I(),i=b("input"),u=I(),this.h()},l(m){e=w(m,"LABEL",{"data-selected":!0,class:!0});var T=E(e);s=w(T,"DIV",{class:!0});var v=E(s);t=w(v,"IMG",{src:!0,alt:!0,class:!0}),v.forEach(g),a=C(T),i=w(T,"INPUT",{type:!0,class:!0}),u=C(T),T.forEach(g),this.h()},h(){se(t.src,o=`static/${l[4]}.svg`)||d(t,"src",o),d(t,"alt",n=ne[l[4]]),d(t,"class","svelte-1r9pswz"),d(s,"class","svelte-1r9pswz"),d(i,"type","radio"),i.__value=c=l[4],i.value=i.__value,d(i,"class","svelte-1r9pswz"),l[3][0].push(i),d(e,"data-selected",p=l[0]===l[4]),d(e,"class","svelte-1r9pswz")},m(m,T){P(m,e,T),f(e,s),f(s,t),f(e,a),f(e,i),i.checked=i.__value===l[0],f(e,u),r||(_=U(i,"change",l[2]),r=!0)},p(m,T){T&1&&(i.checked=i.__value===m[0]),T&1&&p!==(p=m[0]===m[4])&&d(e,"data-selected",p)},d(m){m&&g(e),l[3][0].splice(l[3][0].indexOf(i),1),r=!1,_()}}}function Ze(l){let e,s,t=(ne[l[0]]||"Synthesizer")+"",o,n,a,i=l[1],c=[];for(let u=0;u<i.length;u+=1)c[u]=He(Ne(l,i,u));return{c(){e=b("fieldset"),s=b("legend"),o=N(t),n=I(),a=b("div");for(let u=0;u<c.length;u+=1)c[u].c();this.h()},l(u){e=w(u,"FIELDSET",{class:!0});var p=E(e);s=w(p,"LEGEND",{class:!0});var r=E(s);o=H(r,t),r.forEach(g),n=C(p),a=w(p,"DIV",{class:!0});var _=E(a);for(let m=0;m<c.length;m+=1)c[m].l(_);_.forEach(g),p.forEach(g),this.h()},h(){d(s,"class","svelte-1r9pswz"),d(a,"class","grid svelte-1r9pswz"),d(e,"class","svelte-1r9pswz")},m(u,p){P(u,e,p),f(e,s),f(s,o),f(e,n),f(e,a);for(let r=0;r<c.length;r+=1)c[r].m(a,null)},p(u,[p]){if(p&1&&t!==(t=(ne[u[0]]||"Synthesizer")+"")&&Ee(o,t),p&3){i=u[1];let r;for(r=0;r<i.length;r+=1){const _=Ne(u,i,r);c[r]?c[r].p(_,p):(c[r]=He(_),c[r].c(),c[r].m(a,null))}for(;r<c.length;r+=1)c[r].d(1);c.length=i.length}},i:re,o:re,d(u){u&&g(e),Re(c,u)}}}function xe(l,e,s){let t;R(l,he,i=>s(0,t=i));const o=Object.keys(ne),n=[[]];function a(){t=this.__value,he.set(t)}return[t,o,a,n]}class et extends Z{constructor(e){super(),x(this,e,xe,Ze,ee,{})}}function je(l,e,s){const t=l.slice();return t[5]=e[s],t}function Be(l){let e,s=l[1][l[5]]+"",t,o,n,a,i,c,u,p;return{c(){e=b("label"),t=N(s),o=I(),n=b("input"),i=I(),this.h()},l(r){e=w(r,"LABEL",{"data-selected":!0,class:!0});var _=E(e);t=H(_,s),o=C(_),n=w(_,"INPUT",{type:!0,class:!0}),i=C(_),_.forEach(g),this.h()},h(){d(n,"type","radio"),n.__value=a=l[5],n.value=n.__value,d(n,"class","svelte-1m848u0"),l[4][0].push(n),d(e,"data-selected",c=l[5]===l[0]),d(e,"class","svelte-1m848u0")},m(r,_){P(r,e,_),f(e,t),f(e,o),f(e,n),n.checked=n.__value===l[0],f(e,i),u||(p=U(n,"change",l[3]),u=!0)},p(r,_){_&2&&s!==(s=r[1][r[5]]+"")&&Ee(t,s),_&1&&(n.checked=n.__value===r[0]),_&1&&c!==(c=r[5]===r[0])&&d(e,"data-selected",c)},d(r){r&&g(e),l[4][0].splice(l[4][0].indexOf(n),1),u=!1,p()}}}function tt(l){let e,s=l[2],t=[];for(let o=0;o<s.length;o+=1)t[o]=Be(je(l,s,o));return{c(){e=b("div");for(let o=0;o<t.length;o+=1)t[o].c();this.h()},l(o){e=w(o,"DIV",{class:!0});var n=E(e);for(let a=0;a<t.length;a+=1)t[a].l(n);n.forEach(g),this.h()},h(){d(e,"class","options svelte-1m848u0")},m(o,n){P(o,e,n);for(let a=0;a<t.length;a+=1)t[a].m(e,null)},p(o,[n]){if(n&7){s=o[2];let a;for(a=0;a<s.length;a+=1){const i=je(o,s,a);t[a]?t[a].p(i,n):(t[a]=Be(i),t[a].c(),t[a].m(e,null))}for(;a<t.length;a+=1)t[a].d(1);t.length=s.length}},i:re,o:re,d(o){o&&g(e),Re(t,o)}}}function st(l,e,s){let{options:t}=e;const o=Object.keys(t);let{selection:n=o[1]}=e;const a=[[]];function i(){n=this.__value,s(0,n)}return l.$$set=c=>{"options"in c&&s(1,t=c.options),"selection"in c&&s(0,n=c.selection)},[n,t,o,i,a]}class Ue extends Z{constructor(e){super(),x(this,e,st,tt,ee,{options:1,selection:0})}}function nt(l){let e,s,t,o,n,a,i,c;function u(r){l[1](r)}let p={options:Ke};return l[0]!==void 0&&(p.selection=l[0]),a=new Ue({props:p}),fe.push(()=>Ge(a,"selection",u)),{c(){e=b("div"),s=b("fieldset"),t=b("legend"),o=N("Note density"),n=I(),Y(a.$$.fragment),this.h()},l(r){e=w(r,"DIV",{});var _=E(e);s=w(_,"FIELDSET",{class:!0});var m=E(s);t=w(m,"LEGEND",{class:!0});var T=E(t);o=H(T,"Note density"),T.forEach(g),n=C(m),J(a.$$.fragment,m),m.forEach(g),_.forEach(g),this.h()},h(){d(t,"class","svelte-1ikh8be"),d(s,"class","svelte-1ikh8be")},m(r,_){P(r,e,_),f(e,s),f(s,t),f(t,o),f(s,n),K(a,s,null),c=!0},p(r,[_]){const m={};!i&&_&1&&(i=!0,m.selection=r[0],Ve(()=>i=!1)),a.$set(m)},i(r){c||(L(a.$$.fragment,r),c=!0)},o(r){V(a.$$.fragment,r),c=!1},d(r){r&&g(e),Q(a)}}}function lt(l,e,s){let t;R(l,be,n=>s(0,t=n));function o(n){t=n,be.set(t)}return[t,o]}class at extends Z{constructor(e){super(),x(this,e,lt,nt,ee,{})}}function ot(l){let e,s,t,o,n,a,i,c;function u(r){l[1](r)}let p={options:Qe};return l[0]!==void 0&&(p.selection=l[0]),a=new Ue({props:p}),fe.push(()=>Ge(a,"selection",u)),{c(){e=b("div"),s=b("fieldset"),t=b("legend"),o=N("Temperature"),n=I(),Y(a.$$.fragment),this.h()},l(r){e=w(r,"DIV",{});var _=E(e);s=w(_,"FIELDSET",{class:!0});var m=E(s);t=w(m,"LEGEND",{class:!0});var T=E(t);o=H(T,"Temperature"),T.forEach(g),n=C(m),J(a.$$.fragment,m),m.forEach(g),_.forEach(g),this.h()},h(){d(t,"class","svelte-1ikh8be"),d(s,"class","svelte-1ikh8be")},m(r,_){P(r,e,_),f(e,s),f(s,t),f(t,o),f(s,n),K(a,s,null),c=!0},p(r,[_]){const m={};!i&&_&1&&(i=!0,m.selection=r[0],Ve(()=>i=!1)),a.$set(m)},i(r){c||(L(a.$$.fragment,r),c=!0)},o(r){V(a.$$.fragment,r),c=!1},d(r){r&&g(e),Q(a)}}}function rt(l,e,s){let t;R(l,we,n=>s(0,t=n));function o(n){t=n,we.set(t)}return[t,o]}class it extends Z{constructor(e){super(),x(this,e,rt,ot,ee,{})}}function ct(l){let e,s,t;return{c(){e=N("Compose "),s=b("img"),this.h()},l(o){e=H(o,"Compose "),s=w(o,"IMG",{src:!0,alt:!0,class:!0}),this.h()},h(){se(s.src,t="static/wand.svg")||d(s,"src",t),d(s,"alt","Magic wand"),d(s,"class","svelte-18w38ow")},m(o,n){P(o,e,n),P(o,s,n)},d(o){o&&g(e),o&&g(s)}}}function ut(l){let e;return{c(){e=N("Composing...")},l(s){e=H(s,"Composing...")},m(s,t){P(s,e,t)},d(s){s&&g(e)}}}function ft(l){let e,s,t;function o(i,c){return i[0]?ut:ct}let n=o(l),a=n(l);return{c(){e=b("button"),a.c(),this.h()},l(i){e=w(i,"BUTTON",{class:!0});var c=E(e);a.l(c),c.forEach(g),this.h()},h(){e.disabled=l[0],d(e,"class","svelte-18w38ow")},m(i,c){P(i,e,c),a.m(e,null),s||(t=U(e,"click",l[1]),s=!0)},p(i,[c]){n!==(n=o(i))&&(a.d(1),a=n(i),a&&(a.c(),a.m(e,null))),c&1&&(e.disabled=i[0])},i:re,o:re,d(i){i&&g(e),a.d(),s=!1,t()}}}function dt(l,e,s){let t,o,n,a,i,c,u;R(l,ve,v=>s(0,t=v)),R(l,ke,v=>s(2,o=v)),R(l,ye,v=>s(3,n=v)),R(l,pe,v=>s(4,a=v)),R(l,we,v=>s(5,i=v)),R(l,be,v=>s(6,c=v)),R(l,he,v=>s(7,u=v));const p=()=>{"mediaSession"in navigator&&(navigator.mediaSession.metadata=new MediaMetadata({title:`${ne[u]} Composition`,artist:"AI Guru Composer",album:"Hugging Face",artwork:[{src:"static/hugging-face-headphones.png",sizes:"512x512",type:"image/png"}]}))},r=async({music_style:v,density:y,temperature:D})=>{var A;const S=await fetch("task/create",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({music_style:v,density:y,temperature:D})});if(!S.ok||!((A=S.headers.get("content-type"))!=null&&A.includes("application/json")))throw new Error(`Unable to create composition: [${S.status}] ${await S.text()}`);return await S.json()},_=async v=>{var D;const y=await fetch(`task/poll?task_id=${v.task_id}`);if(!y.ok||!((D=y.headers.get("content-type"))!=null&&D.includes("application/json")))throw new Error(`Unable to create composition: [${y.status}] ${await y.text()}`);return await y.json()},m=async(v,y=1e3,D=100)=>(v=await _(v),v.status==="completed"||v.status==="failed"||D&&v.poll_count>D?v:(await new Promise(S=>setTimeout(S,y)),await m(v,y,D)));return[t,async()=>{ue(ve,t=!0,t);try{const v=await r({music_style:u,density:c,temperature:i}),y=await m(v),{audio:D,image:S,tokens:j}=y.output;ue(pe,a=D,a),ue(ye,n=S,n),ue(ke,o=j,o),p()}catch(v){console.error(v)}finally{ue(ve,t=!1,t)}}]}class _t extends Z{constructor(e){super(),x(this,e,dt,ft,ee,{})}}function ce(l,{delay:e=0,duration:s=400,easing:t=Fe}={}){const o=+getComputedStyle(l).opacity;return{delay:e,duration:s,easing:t,css:n=>`opacity: ${n*o}`}}function Le(l){let e,s,t,o;return{c(){e=b("img"),this.h()},l(n){e=w(n,"IMG",{class:!0,src:!0,alt:!0,draggable:!0}),this.h()},h(){d(e,"class","play-button svelte-1536b0c"),se(e.src,s="static/play.svg")||d(e,"src",s),d(e,"alt","Play button"),d(e,"draggable","false"),X(e,"width",l[7]>100?"20%":"7.5%",!1)},m(n,a){P(n,e,a),o=!0},p(n,a){a&128&&X(e,"width",n[7]>100?"20%":"7.5%",!1)},i(n){o||(_e(()=>{t||(t=ie(e,ce,{},!0)),t.run(1)}),o=!0)},o(n){t||(t=ie(e,ce,{},!1)),t.run(0),o=!1},d(n){n&&g(e),n&&t&&t.end()}}}function ht(l){let e,s,t,o,n,a,i,c=!1,u,p=!0,r,_,m=`translate(${Math.min(l[6]*(l[1]/(l[2]-.9)),l[6])}px, -2%)`,T,v,y,D,S,j,A,q,W;function z(){cancelAnimationFrame(u),a.paused||(u=Je(z),c=!0),l[15].call(a)}let $=l[3]&&Le(l);return{c(){e=b("section"),s=b("img"),o=I(),n=b("div"),a=b("audio"),r=I(),_=b("div"),T=I(),$&&$.c(),v=I(),y=b("a"),D=N("Download"),this.h()},l(h){e=w(h,"SECTION",{class:!0});var k=E(e);s=w(k,"IMG",{class:!0,src:!0,alt:!0}),o=C(k),n=w(k,"DIV",{class:!0,tabindex:!0});var G=E(n);a=w(G,"AUDIO",{src:!0,class:!0}),E(a).forEach(g),r=C(G),_=w(G,"DIV",{class:!0}),E(_).forEach(g),T=C(G),$&&$.l(G),G.forEach(g),v=C(k),y=w(k,"A",{href:!0,download:!0,class:!0});var F=E(y);D=H(F,"Download"),F.forEach(g),k.forEach(g),this.h()},h(){d(s,"class","notes svelte-1536b0c"),se(s.src,t=l[8])||d(s,"src",t),d(s,"alt",""),se(a.src,i=l[9])||d(a,"src",i),d(a,"class","svelte-1536b0c"),l[2]===void 0&&_e(()=>l[16].call(a)),d(_,"class","handle svelte-1536b0c"),X(_,"transform",m,!1),d(n,"class","player svelte-1536b0c"),d(n,"tabindex","0"),X(n,"width",l[6]+"px",!1),X(n,"height",l[7]+"px",!1),d(y,"href",l[9]),d(y,"download",S=`${ne[l[10]]} Composition - AI Guru ft. Hugging Face.wav`),d(y,"class","download svelte-1536b0c"),d(e,"class","svelte-1536b0c")},m(h,k){P(h,e,k),f(e,s),l[14](s),f(e,o),f(e,n),f(n,a),f(n,r),f(n,_),f(n,T),$&&$.m(n,null),l[18](n),f(e,v),f(e,y),f(y,D),l[20](e),A=!0,q||(W=[U(a,"timeupdate",z),U(a,"durationchange",l[16]),U(a,"play",l[17]),U(a,"pause",l[17]),U(n,"mousemove",l[11]),U(n,"touchmove",qe(l[12])),U(n,"keydown",l[13]),U(n,"click",l[19])],q=!0)},p(h,[k]){(!A||k&256&&!se(s.src,t=h[8]))&&d(s,"src",t),(!A||k&512&&!se(a.src,i=h[9]))&&d(a,"src",i),!c&&k&2&&!isNaN(h[1])&&(a.currentTime=h[1]),c=!1,k&8&&p!==(p=h[3])&&a[p?"pause":"play"](),k&70&&m!==(m=`translate(${Math.min(h[6]*(h[1]/(h[2]-.9)),h[6])}px, -2%)`)&&X(_,"transform",m,!1),h[3]?$?($.p(h,k),k&8&&L($,1)):($=Le(h),$.c(),L($,1),$.m(n,null)):$&&($e(),V($,1,1,()=>{$=null}),Te()),k&64&&X(n,"width",h[6]+"px",!1),k&128&&X(n,"height",h[7]+"px",!1),(!A||k&512)&&d(y,"href",h[9]),(!A||k&1024&&S!==(S=`${ne[h[10]]} Composition - AI Guru ft. Hugging Face.wav`))&&d(y,"download",S)},i(h){A||(L($),_e(()=>{j||(j=ie(e,ce,{},!0)),j.run(1)}),A=!0)},o(h){V($),j||(j=ie(e,ce,{},!1)),j.run(0),A=!1},d(h){h&&g(e),l[14](null),$&&$.d(),l[18](null),l[20](null),h&&j&&j.end(),q=!1,We(W)}}}function pt(l,e,s){let t,o,n;R(l,ye,h=>s(8,t=h)),R(l,pe,h=>s(9,o=h)),R(l,he,h=>s(10,n=h));let a,i,c,u=!0,p,r,_,m;const T=()=>{s(6,_=r&&r.clientWidth),s(7,m=r&&r.clientHeight)};Xe(()=>{T(),"mediaSession"in navigator&&(navigator.mediaSession.setActionHandler("play",()=>s(3,u=!1)),navigator.mediaSession.setActionHandler("pause",()=>s(3,u=!0)),navigator.mediaSession.setActionHandler("stop",()=>{s(3,u=!0),s(1,i=0)})),window.scrollTo({top:a.offsetTop,behavior:"smooth"})}),Ye(()=>{T()});const v=h=>{if(!c||!h.buttons)return;const{left:k,right:G}=p.getBoundingClientRect();s(1,i=c*(h.clientX-k)/(G-k))},y=h=>{if(!c)return;const{left:k,right:G}=p.getBoundingClientRect();s(1,i=c*(h.touches[0].clientX-k)/(G-k))},D=h=>{h.preventDefault(),h.code==="Space"&&s(3,u=!u),h.code==="ArrowLeft"&&s(1,i=i>=1?i-1:0),h.code==="ArrowRight"&&s(1,i=i<=c-1?i+1:c)};function S(h){fe[h?"unshift":"push"](()=>{r=h,s(5,r)})}function j(){i=this.currentTime,s(1,i)}function A(){c=this.duration,s(2,c)}function q(){u=this.paused,s(3,u)}function W(h){fe[h?"unshift":"push"](()=>{p=h,s(4,p)})}const z=()=>s(3,u=!u);function $(h){fe[h?"unshift":"push"](()=>{a=h,s(0,a)})}return[a,i,c,u,p,r,_,m,t,o,n,v,y,D,S,j,A,q,W,z,$]}class mt extends Z{constructor(e){super(),x(this,e,pt,ht,ee,{})}}function ze(l){let e,s,t,o,n,a,i,c;return{c(){e=b("section"),s=b("h2"),t=N("Tokenized notes"),o=I(),n=b("p"),a=N(l[0]),this.h()},l(u){e=w(u,"SECTION",{class:!0});var p=E(e);s=w(p,"H2",{});var r=E(s);t=H(r,"Tokenized notes"),r.forEach(g),o=C(p),n=w(p,"P",{class:!0});var _=E(n);a=H(_,l[0]),_.forEach(g),p.forEach(g),this.h()},h(){d(n,"class","svelte-4un5mw"),d(e,"class","svelte-4un5mw")},m(u,p){P(u,e,p),f(e,s),f(s,t),f(e,o),f(e,n),f(n,a),c=!0},p(u,p){(!c||p&1)&&Ee(a,u[0])},i(u){c||(_e(()=>{i||(i=ie(e,ce,{},!0)),i.run(1)}),c=!0)},o(u){i||(i=ie(e,ce,{},!1)),i.run(0),c=!1},d(u){u&&g(e),u&&i&&i.end()}}}function gt(l){let e,s,t=l[0]&&ze(l);return{c(){t&&t.c(),e=Me()},l(o){t&&t.l(o),e=Me()},m(o,n){t&&t.m(o,n),P(o,e,n),s=!0},p(o,[n]){o[0]?t?(t.p(o,n),n&1&&L(t,1)):(t=ze(o),t.c(),L(t,1),t.m(e.parentNode,e)):t&&($e(),V(t,1,1,()=>{t=null}),Te())},i(o){s||(L(t),s=!0)},o(o){V(t),s=!1},d(o){t&&t.d(o),o&&g(e)}}}function vt(l,e,s){let t;return R(l,ke,o=>s(0,t=o)),[t]}class bt extends Z{constructor(e){super(),x(this,e,vt,gt,ee,{})}}function Pe(l){let e,s,t,o;return e=new mt({}),t=new bt({}),{c(){Y(e.$$.fragment),s=I(),Y(t.$$.fragment)},l(n){J(e.$$.fragment,n),s=C(n),J(t.$$.fragment,n)},m(n,a){K(e,n,a),P(n,s,a),K(t,n,a),o=!0},i(n){o||(L(e.$$.fragment,n),L(t.$$.fragment,n),o=!0)},o(n){V(e.$$.fragment,n),V(t.$$.fragment,n),o=!1},d(n){Q(e,n),n&&g(s),Q(t,n)}}}function wt(l){let e,s,t,o,n,a,i,c,u,p,r,_,m,T,v,y,D,S,j,A,q,W,z,$,h,k,G,F,me,te,ge,de;$=new et({}),k=new at({}),F=new it({}),te=new _t({});let M=l[0]&&Pe();return{c(){e=b("main"),s=b("h1"),t=N("Composer"),o=I(),n=b("p"),a=N("Trained on fifteen thousand songs. One AI model. Infinite compositions."),i=I(),c=b("p"),u=N(`This space contains a deep neural network model that can compose music. You can use it to generate audio in
different styles, 4 bars at a time.`),p=I(),r=b("p"),_=N("Developed by "),m=b("a"),T=N("Ron Au"),v=N(` and
`),y=b("a"),D=N("Tristan Behrens"),S=N("."),j=I(),A=b("p"),q=N("Have fun! And always feel free to send us some feedback and share your compositions!"),W=I(),z=b("section"),Y($.$$.fragment),h=I(),Y(k.$$.fragment),G=I(),Y(F.$$.fragment),me=I(),Y(te.$$.fragment),ge=I(),M&&M.c(),this.h()},l(B){e=w(B,"MAIN",{class:!0});var O=E(e);s=w(O,"H1",{class:!0});var Ie=E(s);t=H(Ie,"Composer"),Ie.forEach(g),o=C(O),n=w(O,"P",{class:!0});var Ce=E(n);a=H(Ce,"Trained on fifteen thousand songs. One AI model. Infinite compositions."),Ce.forEach(g),i=C(O),c=w(O,"P",{class:!0});var De=E(c);u=H(De,`This space contains a deep neural network model that can compose music. You can use it to generate audio in
different styles, 4 bars at a time.`),De.forEach(g),p=C(O),r=w(O,"P",{class:!0});var ae=E(r);_=H(ae,"Developed by "),m=w(ae,"A",{href:!0,rel:!0,target:!0});var Se=E(m);T=H(Se,"Ron Au"),Se.forEach(g),v=H(ae,` and
`),y=w(ae,"A",{href:!0,rel:!0,target:!0});var Ae=E(y);D=H(Ae,"Tristan Behrens"),Ae.forEach(g),S=H(ae,"."),ae.forEach(g),j=C(O),A=w(O,"P",{class:!0});var Oe=E(A);q=H(Oe,"Have fun! And always feel free to send us some feedback and share your compositions!"),Oe.forEach(g),W=C(O),z=w(O,"SECTION",{id:!0,class:!0});var oe=E(z);J($.$$.fragment,oe),h=C(oe),J(k.$$.fragment,oe),G=C(oe),J(F.$$.fragment,oe),oe.forEach(g),me=C(O),J(te.$$.fragment,O),ge=C(O),M&&M.l(O),O.forEach(g),this.h()},h(){d(s,"class","svelte-1rfjlkw"),d(n,"class","heading svelte-1rfjlkw"),d(c,"class","svelte-1rfjlkw"),d(m,"href","https://twitter.com/ronvoluted"),d(m,"rel","noopener"),d(m,"target","_blank"),d(y,"href","https://twitter.com/DrTBehrens"),d(y,"rel","noopener"),d(y,"target","_blank"),d(r,"class","svelte-1rfjlkw"),d(A,"class","svelte-1rfjlkw"),d(z,"id","options"),d(z,"class","svelte-1rfjlkw"),d(e,"class","svelte-1rfjlkw")},m(B,O){P(B,e,O),f(e,s),f(s,t),f(e,o),f(e,n),f(n,a),f(e,i),f(e,c),f(c,u),f(e,p),f(e,r),f(r,_),f(r,m),f(m,T),f(r,v),f(r,y),f(y,D),f(r,S),f(e,j),f(e,A),f(A,q),f(e,W),f(e,z),K($,z,null),f(z,h),K(k,z,null),f(z,G),K(F,z,null),f(e,me),K(te,e,null),f(e,ge),M&&M.m(e,null),de=!0},p(B,[O]){B[0]?M?O&1&&L(M,1):(M=Pe(),M.c(),L(M,1),M.m(e,null)):M&&($e(),V(M,1,1,()=>{M=null}),Te())},i(B){de||(L($.$$.fragment,B),L(k.$$.fragment,B),L(F.$$.fragment,B),L(te.$$.fragment,B),L(M),de=!0)},o(B){V($.$$.fragment,B),V(k.$$.fragment,B),V(F.$$.fragment,B),V(te.$$.fragment,B),V(M),de=!1},d(B){B&&g(e),Q($),Q(k),Q(F),Q(te),M&&M.d()}}}function yt(l,e,s){let t;return R(l,pe,o=>s(0,t=o)),[t]}class $t extends Z{constructor(e){super(),x(this,e,yt,wt,ee,{})}}export{$t as default};
|