(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[702],{7735:function(e,t,n){Promise.resolve().then(n.bind(n,3639))},9657:function(e,t,n){"use strict";n.d(t,{R:function(){return r},s:function(){return s}});var i,o,a=n(257);let s=(null===(i=window.__BLACKFISH_CONFIG__)||void 0===i?void 0:i.basePath)||a.env.NEXT_PUBLIC_BASE_PATH||"",r=(null===(o=window.__BLACKFISH_CONFIG__)||void 0===o?void 0:o.apiUrl)||a.env.NEXT_PUBLIC_BLACKFISH_URL||"http://localhost:8000"},3639:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return x}});var i=n(7437),o=n(9415),a=n(5424),s=n(2265),r=n(9657),c=n(718),l=n.n(c);function d(e){let{task:t,icon:n}=e,[a,c]=(0,s.useState)(!1);return(0,i.jsxs)(o.E.div,{className:"relative",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.3},children:[(0,i.jsx)(o.E.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},className:"absolute top-14 -translate-x-1/2 w-full p-2 text-sm text-gray-800 font-light",children:t.description}),(0,i.jsxs)(o.E.a,{href:"".concat(r.s,"/").concat(t.path),className:"group relative flex items-center h-10 px-6 py-3 rounded-md border transition-all duration-100 text-gray-800 font-light space-x-2 hover:shadow-md hover:shadow-blue-100",onMouseEnter:()=>c(!0),onMouseLeave:()=>c(!1),onClick:()=>c(!1),whileHover:{scale:1.05},whileTap:{scale:.95},children:[(0,i.jsx)(o.E.div,{animate:{rotate:a?360:0},transition:{duration:.5},children:(0,i.jsx)(n,{className:"h-5 w-5"})}),(0,i.jsx)("span",{className:"font-normal",children:t.name})]})]})}d.propTypes={task:l().string,icon:l().node};var p=n(7828),h=n(6072),u=n(9967);let m=[{id:"text-generation",name:"Text Generation",description:"Generate text based on a prompt.",icon:p.Z,path:"text-generation"},{id:"speech-recognition",name:"Speech Recognition",description:"Convert spoken words to text.",icon:h.Z,path:"speech-recognition"},{id:"object-detection",name:"Object Detection",description:"Locate and classify objects in images.",icon:u.Z,path:"object-detection"}];function x(){return(0,i.jsx)("div",{className:"flex items-center justify-center min-h-screen",children:(0,i.jsxs)("div",{className:"text-center",children:[(0,i.jsx)(o.E.h1,{className:"text-2xl font-mono font-normal text-gray-800 mb-12",initial:{opacity:0,y:-20},animate:{opacity:1,y:0},transition:{duration:.5},children:(0,i.jsx)(a.rf,{words:["What should we work on today?"],loop:1,cursor:!0,cursorStyle:"|",typeSpeed:60,deleteSpeed:50})}),(0,i.jsx)(o.E.div,{className:"flex flex-col sm:flex-row justify-center gap-6",variants:{hidden:{opacity:0},show:{opacity:1,transition:{staggerChildren:.1}}},initial:"hidden",animate:"show",children:m.map(e=>(0,i.jsx)(d,{task:e,icon:e.icon},e.id))})]})})}}},function(e){e.O(0,[200,971,117,744],function(){return e(e.s=7735)}),_N_E=e.O()}]);