import{s as W,f as _,l as L,a as C,g as $,h as b,m as U,d as g,c as S,j as v,i as B,r as d,n as G,D as Z,u as fe,w as he,p as ge,F as pe,z as de,I as ve}from"../chunks/scheduler.2f9f1739.js";import{S as J,i as X,b as P,d as H,m as M,a as D,t as A,e as T,g as _e,c as $e}from"../chunks/index.f9f1dac6.js";import{d as be,p as ke}from"../chunks/projectStore.d940159c.js";import{F as me}from"../chunks/fa.139e50c6.js";import{f as ue}from"../chunks/index.e4323a1b.js";import{e as ae}from"../chunks/each.7a84d497.js";import{r as we}from"../chunks/index.4c158df6.js";import{S as xe}from"../chunks/seo.f792d6dc.js";function je(l){let e,n,t,o,i,u,m,s,h,r,f,a,k,E,I,x;return s=new me({props:{icon:ue}}),{c(){e=_("div"),n=_("div"),t=_("div"),o=_("h4"),i=L(l[0]),u=C(),m=_("a"),P(s.$$.fragment),r=C(),f=_("div"),a=L(l[2]),k=C(),E=_("div"),I=L(l[1]),this.h()},l(p){e=$(p,"DIV",{class:!0});var c=b(e);n=$(c,"DIV",{});var j=b(n);t=$(j,"DIV",{class:!0});var w=b(t);o=$(w,"H4",{class:!0});var N=b(o);i=U(N,l[0]),N.forEach(g),u=S(w),m=$(w,"A",{href:!0});var F=b(m);H(s.$$.fragment,F),F.forEach(g),w.forEach(g),r=S(j),f=$(j,"DIV",{class:!0});var O=b(f);a=U(O,l[2]),O.forEach(g),j.forEach(g),k=S(c),E=$(c,"DIV",{});var q=b(E);I=U(q,l[1]),q.forEach(g),c.forEach(g),this.h()},h(){v(o,"class","text-xl md:text-2xl font-bold font-visby_mid"),v(m,"href",h="https://github.com/"+l[2]),v(t,"class","flex justify-between items-center"),v(f,"class","text-stone-800 dark:text-stone-500 text-sm"),v(e,"class","bg-orange-100 border border-b-2 dark:bg-stone-900 dark:border-dark border-orang rounded-3xl p-6 w-full con svelte-tnfkup")},m(p,c){B(p,e,c),d(e,n),d(n,t),d(t,o),d(o,i),d(t,u),d(t,m),M(s,m,null),d(n,r),d(n,f),d(f,a),d(e,k),d(e,E),d(E,I),x=!0},p(p,[c]){(!x||c&1)&&G(i,p[0]),(!x||c&4&&h!==(h="https://github.com/"+p[2]))&&v(m,"href",h),(!x||c&4)&&G(a,p[2]),(!x||c&2)&&G(I,p[1])},i(p){x||(D(s.$$.fragment,p),x=!0)},o(p){A(s.$$.fragment,p),x=!1},d(p){p&&g(e),T(s)}}}function ye(l,e,n){let{title:t}=e,{description:o}=e,{link:i}=e;return l.$$set=u=>{"title"in u&&n(0,t=u.title),"description"in u&&n(1,o=u.description),"link"in u&&n(2,i=u.link)},[t,o,i]}class z extends J{constructor(e){super(),X(this,e,ye,je,W,{title:0,description:1,link:2})}}function Ee(l){let e,n,t="MINI Projects",o,i,u,m,s,h,r,f,a,k,E,I,x,p;return u=new z({props:{title:"kbar-svelte-mini",description:"npm package for svelte to integrate cmd+k/ctrl+k in your website",link:"Abdulmumin1/kbar-svelte-mini"}}),s=new z({props:{title:"Liseen",description:"Listen to youtube videos as audio",link:"Abdulmumin1/liseen"}}),r=new z({props:{title:"CSS-Faster",description:"a vscode extenstion that allows you to write vanilla css faster, using tailwind classes as snippets",link:"Abdulmumin1/css-faster"}}),a=new z({props:{title:"TailwindPie",description:"A python package that makes it easier to setup and use tailwind in any python project",link:"Abdulmumin1/tailwindpie"}}),k=new z({props:{title:"SleekScroll",description:"A chromium browser extenstion that makes ugly scrollbar customizable",link:"Abdulmumin1/sleekscroll"}}),E=new z({props:{title:"Filesafe",description:"a secure file storage commandline tool to hide/encrypt files. (In a weird way 😀) ",link:"Abdulmumin1/filesafe"}}),I=new z({props:{title:"Xologic",description:"A python package for tictactoe board logic, which can be used to evaluate board and activities",link:"Abdulmumin1/xologic"}}),x=new z({props:{title:"TCP-chat",description:"A command line tool to chat with others on the same network ",link:"Abdulmumin1/tcp-chat"}}),{c(){e=_("div"),n=_("h1"),n.textContent=t,o=C(),i=_("div"),P(u.$$.fragment),m=C(),P(s.$$.fragment),h=C(),P(r.$$.fragment),f=C(),P(a.$$.fragment),P(k.$$.fragment),P(E.$$.fragment),P(I.$$.fragment),P(x.$$.fragment),this.h()},l(c){e=$(c,"DIV",{class:!0});var j=b(e);n=$(j,"H1",{class:!0,"data-svelte-h":!0}),Z(n)!=="svelte-1r9g422"&&(n.textContent=t),o=S(j),i=$(j,"DIV",{class:!0});var w=b(i);H(u.$$.fragment,w),m=S(w),H(s.$$.fragment,w),h=S(w),H(r.$$.fragment,w),f=S(w),H(a.$$.fragment,w),H(k.$$.fragment,w),H(E.$$.fragment,w),H(I.$$.fragment,w),H(x.$$.fragment,w),w.forEach(g),j.forEach(g),this.h()},h(){v(n,"class","text-4xl font-bold text-orang dark:text-dark"),v(i,"class","flex flex-col items-center justify-center gap-6 w-full iss p-1 py-6"),v(e,"class","flex flex-col w-full items-center gap-6 mt-2 p-4 py-6 lg:p-8 rounded-3xl")},m(c,j){B(c,e,j),d(e,n),d(e,o),d(e,i),M(u,i,null),d(i,m),M(s,i,null),d(i,h),M(r,i,null),d(i,f),M(a,i,null),M(k,i,null),M(E,i,null),M(I,i,null),M(x,i,null),p=!0},p:fe,i(c){p||(D(u.$$.fragment,c),D(s.$$.fragment,c),D(r.$$.fragment,c),D(a.$$.fragment,c),D(k.$$.fragment,c),D(E.$$.fragment,c),D(I.$$.fragment,c),D(x.$$.fragment,c),p=!0)},o(c){A(u.$$.fragment,c),A(s.$$.fragment,c),A(r.$$.fragment,c),A(a.$$.fragment,c),A(k.$$.fragment,c),A(E.$$.fragment,c),A(I.$$.fragment,c),A(x.$$.fragment,c),p=!1},d(c){c&&g(e),T(u),T(s),T(r),T(a),T(k),T(E),T(I),T(x)}}}class Ie extends J{constructor(e){super(),X(this,e,null,Ee,W,{})}}we({html:"https://developer.mozilla.org/en-US/docs/Web/HTML",tailwindcss:"https://tailwindcss.com/",python:"https://www.python.org/",pyqt5:"https://www.riverbankcomputing.com/software/pyqt/",flask:"https://flask.palletsprojects.com/",sqlite:"https://www.sqlite.org/index.html",bootstrap:"https://getbootstrap.com/",javascript:"https://developer.mozilla.org/en-US/docs/Web/JavaScript",sveltekit:"https://kit.svelte.dev/"});function De(l){let e,n,t,o,i,u,m,s,h,r,f,a,k,E,I,x,p,c,j,w,N,F,O="Close",q,Y,ee;return s=new me({props:{icon:ue}}),{c(){e=_("div"),n=_("div"),t=_("div"),o=_("h4"),i=L(l[0]),u=C(),m=_("a"),P(s.$$.fragment),r=C(),f=_("a"),a=L(l[2]),k=C(),E=_("div"),I=L(l[1]),x=C(),p=_("dialog"),c=_("div"),j=_("h1"),w=L(l[0]),N=C(),F=_("button"),F.textContent=O,this.h()},l(y){e=$(y,"DIV",{class:!0});var V=b(e);n=$(V,"DIV",{});var K=b(n);t=$(K,"DIV",{class:!0});var Q=b(t);o=$(Q,"H4",{class:!0});var te=b(o);i=U(te,l[0]),te.forEach(g),u=S(Q),m=$(Q,"A",{href:!0});var ne=b(m);H(s.$$.fragment,ne),ne.forEach(g),Q.forEach(g),r=S(K),f=$(K,"A",{href:!0,class:!0});var re=b(f);a=U(re,l[2]),re.forEach(g),K.forEach(g),k=S(V),E=$(V,"DIV",{});var se=b(E);I=U(se,l[1]),se.forEach(g),V.forEach(g),x=S(y),p=$(y,"DIALOG",{id:!0,class:!0});var ie=b(p);c=$(ie,"DIV",{class:!0});var le=b(c);j=$(le,"H1",{class:!0});var R=b(j);w=U(R,l[0]),N=S(R),F=$(R,"BUTTON",{"data-svelte-h":!0}),Z(F)!=="svelte-2m9p61"&&(F.textContent=O),R.forEach(g),le.forEach(g),ie.forEach(g),this.h()},h(){v(o,"class","title text-xl md:text-2xl font-bold font-visby_mid flex gap-2 items-center svelte-17jigf8"),v(m,"href",h="https://github.com/"+l[2]),v(t,"class","flex justify-between items-center"),v(f,"href",l[2]),v(f,"class","text-stone-800 dark:text-stone-500 text-sm"),v(e,"class","bg-orange-100 flex flex-col gap-2 border border-b-2 dark:bg-stone-900 dark:border-dark border-orang rounded-3xl p-6 w-full"),v(j,"class","title text-xl font-visby_bold font-semibold flex justify-between svelte-17jigf8"),v(c,"class","flex flex-col gap-2"),v(p,"id","vidModal"),v(p,"class","bg-orange-200 svelte-17jigf8")},m(y,V){B(y,e,V),d(e,n),d(n,t),d(t,o),d(o,i),d(t,u),d(t,m),M(s,m,null),d(n,r),d(n,f),d(f,a),d(e,k),d(e,E),d(E,I),B(y,x,V),B(y,p,V),d(p,c),d(c,j),d(j,w),d(j,N),d(j,F),l[6](p),q=!0,Y||(ee=he(F,"click",l[4]),Y=!0)},p(y,[V]){(!q||V&1)&&G(i,y[0]),(!q||V&4&&h!==(h="https://github.com/"+y[2]))&&v(m,"href",h),(!q||V&4)&&G(a,y[2]),(!q||V&4)&&v(f,"href",y[2]),(!q||V&2)&&G(I,y[1]),(!q||V&1)&&G(w,y[0])},i(y){q||(D(s.$$.fragment,y),q=!0)},o(y){A(s.$$.fragment,y),q=!1},d(y){y&&(g(e),g(x),g(p)),T(s),l[6](null),Y=!1,ee()}}}function Ae(l,e,n){let t;function o(){document.startViewTransition(()=>{t.close()})}let{title:i}=e,{description:u}=e,{link:m}=e,{stack:s}=e;function h(r){ge[r?"unshift":"push"](()=>{t=r,n(3,t)})}return l.$$set=r=>{"title"in r&&n(0,i=r.title),"description"in r&&n(1,u=r.description),"link"in r&&n(2,m=r.link),"stack"in r&&n(5,s=r.stack)},[i,u,m,t,o,s,h]}class Ve extends J{constructor(e){super(),X(this,e,Ae,De,W,{title:0,description:1,link:2,stack:5})}}function oe(l,e,n){const t=l.slice();return t[1]=e[n],t}function ce(l){let e,n;return e=new Ve({props:{title:l[1].name,link:l[1].links.page,description:l[1].description,stack:l[1].stack}}),{c(){P(e.$$.fragment)},l(t){H(e.$$.fragment,t)},m(t,o){M(e,t,o),n=!0},p(t,o){const i={};o&1&&(i.title=t[1].name),o&1&&(i.link=t[1].links.page),o&1&&(i.description=t[1].description),o&1&&(i.stack=t[1].stack),e.$set(i)},i(t){n||(D(e.$$.fragment,t),n=!0)},o(t){A(e.$$.fragment,t),n=!1},d(t){T(e,t)}}}function Ce(l){let e,n,t="Projects",o,i,u,m=ae(l[0]),s=[];for(let r=0;r<m.length;r+=1)s[r]=ce(oe(l,m,r));const h=r=>A(s[r],1,1,()=>{s[r]=null});return{c(){e=_("div"),n=_("h3"),n.textContent=t,o=C(),i=_("div");for(let r=0;r<s.length;r+=1)s[r].c();this.h()},l(r){e=$(r,"DIV",{class:!0});var f=b(e);n=$(f,"H3",{class:!0,"data-svelte-h":!0}),Z(n)!=="svelte-mva7fp"&&(n.textContent=t),o=S(f),i=$(f,"DIV",{class:!0});var a=b(i);for(let k=0;k<s.length;k+=1)s[k].l(a);a.forEach(g),f.forEach(g),this.h()},h(){v(n,"class","text-4xl font-bold text-orang dark:text-dark"),v(i,"class","grid grid-cols-1 md:grid-cols-2 gap-6 w-full"),v(e,"class","flex flex-col w-full items-center gap-6 mt-2 p-4 py-6 lg:p-8 rounded-3xl")},m(r,f){B(r,e,f),d(e,n),d(e,o),d(e,i);for(let a=0;a<s.length;a+=1)s[a]&&s[a].m(i,null);u=!0},p(r,[f]){if(f&1){m=ae(r[0]);let a;for(a=0;a<m.length;a+=1){const k=oe(r,m,a);s[a]?(s[a].p(k,f),D(s[a],1)):(s[a]=ce(k),s[a].c(),D(s[a],1),s[a].m(i,null))}for(_e(),a=m.length;a<s.length;a+=1)h(a);$e()}},i(r){if(!u){for(let f=0;f<m.length;f+=1)D(s[f]);u=!0}},o(r){s=s.filter(Boolean);for(let f=0;f<s.length;f+=1)A(s[f]);u=!1},d(r){r&&g(e),pe(s,r)}}}function Se(l,e,n){let t;return de(l,be,o=>n(0,t=o)),[t]}class Pe extends J{constructor(e){super(),X(this,e,Se,Ce,W,{})}}function He(l){let e,n,t,o,i,u,m,s;return e=new xe({props:{title:"Projects",description:"A collection of the projects i've completed over the years"}}),i=new Pe({}),m=new Ie({}),{c(){P(e.$$.fragment),n=C(),t=_("div"),o=_("div"),P(i.$$.fragment),u=C(),P(m.$$.fragment),this.h()},l(h){const r=ve("svelte-rdxuox",document.head);H(e.$$.fragment,r),r.forEach(g),n=S(h),t=$(h,"DIV",{class:!0});var f=b(t);o=$(f,"DIV",{class:!0});var a=b(o);H(i.$$.fragment,a),u=S(a),H(m.$$.fragment,a),a.forEach(g),f.forEach(g),this.h()},h(){v(o,"class","flex gap-4 flex-col max-w-[800px] w-full relative svelte-btee51"),v(t,"class","grid place-items-center w-full p-4 svelte-btee51")},m(h,r){M(e,document.head,null),B(h,n,r),B(h,t,r),d(t,o),M(i,o,null),d(o,u),M(m,o,null),s=!0},p:fe,i(h){s||(D(e.$$.fragment,h),D(i.$$.fragment,h),D(m.$$.fragment,h),s=!0)},o(h){A(e.$$.fragment,h),A(i.$$.fragment,h),A(m.$$.fragment,h),s=!1},d(h){h&&(g(n),g(t)),T(e),T(i),T(m)}}}function Me(l,e,n){return de(l,ke,t=>n(1,t)),[]}class Ne extends J{constructor(e){super(),X(this,e,Me,He,W,{})}}export{Ne as component};