1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{26333:(e,s,a)=>{"use strict";a.d(s,{AM:()=>n,Wv:()=>o,hl:()=>d});var r=a(95155),l=a(12115),t=a(31138),i=a(76445);let n=t.bL,o=t.l9,d=l.forwardRef((e,s)=>{let{className:a,align:l="center",sideOffset:n=4,...o}=e;return(0,r.jsx)(t.ZL,{children:(0,r.jsx)(t.UC,{ref:s,align:l,sideOffset:n,className:(0,i.cn)("z-50 w-72 rounded-md border border-border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",a),...o})})});d.displayName=t.UC.displayName},28910:(e,s,a)=>{"use strict";a.d(s,{y:()=>d});var r=a(95155);a(12115);var l=a(3998),t=a(51238),i=a(22133),n=a(7677),o=a(67333);function d(e){var s,a,d,c,x,m,u,f,p,h,b,j;let{story:g,onApprove:v,approvingId:N,canApprove:y,compact:w=!1,hideModules:k=!1}=e;return w?(0,r.jsxs)("div",{className:"bg-card rounded-2xl p-6 border border-border h-full flex flex-col",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3 mb-3 shrink-0",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"font-semibold text-sm",children:(null==(f=g.user)?void 0:f.name)||"Anonymous"}),(null==(p=g.user)?void 0:p.college)&&(0,r.jsx)("div",{className:"text-xs opacity-60 truncate max-w-[12rem]",title:g.user.college,children:g.user.college})]}),(0,r.jsx)("div",{className:"flex items-center gap-1 shrink-0","aria-label":"Rating ".concat(g.rating," of 5"),children:Array.from({length:5}).map((e,s)=>(0,r.jsx)("span",{className:s<g.rating?"text-yellow-400 text-sm":"text-yellow-400/30 text-sm",children:"â
"},s))})]}),(0,r.jsx)("div",{className:"flex-1 min-h-32 overflow-y-auto max-h-32",children:(0,r.jsx)("p",{className:"text-sm text-muted",children:g.comment})}),(0,r.jsxs)("div",{className:"flex items-center justify-between mt-3 pt-2 border-t border-border shrink-0",children:[(0,r.jsx)("span",{className:"text-[10px] opacity-50",children:g.createdAt?new Date(g.createdAt).toLocaleDateString():""}),(null==(h=g.user)?void 0:h.linkedinProfileUrl)&&(null==(b=g.reasonTags)?void 0:b.includes("show-linkedin"))&&(0,r.jsx)(l.$,{size:"sm",variant:"ghost","aria-label":"Open LinkedIn profile",onClick:()=>window.open(g.user.linkedinProfileUrl,"_blank","noopener,noreferrer"),className:"h-6 px-2",children:(0,r.jsx)(o.A,{className:"w-3 h-3 opacity-70"})})]})]}):(0,r.jsxs)("article",{className:"card rounded-2xl p-5 flex flex-col shadow-sm border border-token h-full",children:[(0,r.jsxs)("header",{className:"flex items-start justify-between gap-3 mb-3",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"font-semibold text-sm md:text-base leading-tight text-primary",children:(null==(s=g.user)?void 0:s.name)||"Anonymous"}),(0,r.jsx)("div",{className:"opacity-60 text-xs md:text-sm truncate max-w-[12rem]",title:null==(a=g.user)?void 0:a.college,children:null!=(j=null==(d=g.user)?void 0:d.college)?j:""})]}),(0,r.jsx)("div",{className:"flex items-center gap-1","aria-label":"Rating ".concat(g.rating," of 5"),children:Array.from({length:5}).map((e,s)=>(0,r.jsx)("span",{className:s<g.rating?"text-yellow-400":"opacity-30",children:"â
"},s))})]}),(0,r.jsx)("div",{className:"text-xs md:text-sm leading-relaxed mb-3 grow overflow-auto pr-1 h-40",children:(0,r.jsx)(t.oz,{remarkPlugins:[i.A],rehypePlugins:[n.A],components:{p:e=>(0,r.jsx)("p",{className:"mb-3",...e})},children:g.comment})}),!k&&g.modules&&g.modules.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-1 mb-3",children:g.modules.map(e=>(0,r.jsx)("span",{className:"px-2 py-0.5 rounded-full border border-muted text-primary text-[10px] font-medium",children:e},e))}),(0,r.jsxs)("footer",{className:"flex items-center justify-between mt-auto pt-2",children:[(0,r.jsx)("span",{className:"text-[10px] opacity-50",children:g.createdAt?new Date(g.createdAt).toDateString():""}),(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(null==(c=g.user)?void 0:c.linkedinProfileUrl)&&(null==(x=g.reasonTags)?void 0:x.includes("show-linkedin"))&&(0,r.jsx)(l.$,{size:"sm",variant:"ghost","aria-label":"Open LinkedIn profile",onClick:()=>window.open(g.user.linkedinProfileUrl,"_blank","noopener,noreferrer"),children:(0,r.jsx)(o.A,{className:"w-3 h-3 opacity-70"})}),y&&v&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.$,{size:"sm",variant:"outline",className:"text-error border-error/60",onClick:()=>v(g.id,!1),disabled:N===g.id||(null==(m=g.reasonTags)?void 0:m.includes("rejected"))===!0,children:N===g.id?"Processing...":"Reject"}),(0,r.jsx)(l.$,{size:"sm",onClick:()=>v(g.id,!0),disabled:N===g.id||(null==(u=g.reasonTags)?void 0:u.includes("approved"))===!0,children:N===g.id?"Processing...":"Approve"})]})]})]})]})}},53940:(e,s,a)=>{Promise.resolve().then(a.bind(a,98291))},80991:(e,s,a)=>{"use strict";a.d(s,{k:()=>n});var r=a(95155),l=a(12115),t=a(9484),i=a(76445);let n=l.forwardRef((e,s)=>{let{className:a,value:l,indeterminate:n,stopped:o,...d}=e;return(0,r.jsx)(t.bL,{ref:s,className:(0,i.cn)("relative h-4 w-full overflow-hidden rounded-full bg-secondary",a),...d,children:n?(0,r.jsx)(t.C1,{className:"".concat(o?"":"indeterminate-progress bg-primary"," h-full w-full flex-1 transition-all"),style:o?{}:{transform:"translateX(-100%)"}}):(0,r.jsx)(t.C1,{className:"h-full w-full flex-1 bg-primary transition-all",style:{transform:"translateX(-".concat(100-(l||0),"%)")}})})});n.displayName=t.bL.displayName},98291:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>D});var r=a(95155),l=a(88661),t=a.n(l),i=a(20063),n=a(44741),o=a(43078),d=a(65341),c=a(52987),x=a(57337),m=a(28939),u=a(12115),f=a(90854),p=a(78210),h=a(87040),b=a(67120),j=a(80991),g=a(68072),v=a(90368),N=a(27937),y=a(76445),w=a(3998);let k=u.createContext(null);function C(){let e=u.useContext(k);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let A=u.forwardRef((e,s)=>{let{orientation:a="horizontal",opts:l,setApi:t,plugins:i,className:n,children:o,...d}=e,[c,x]=(0,g.A)({...l,axis:"horizontal"===a?"x":"y"},i),[m,f]=u.useState(!1),[p,h]=u.useState(!1),b=u.useCallback(e=>{e&&(f(e.canScrollPrev()),h(e.canScrollNext()))},[]),j=u.useCallback(()=>{null==x||x.scrollPrev()},[x]),v=u.useCallback(()=>{null==x||x.scrollNext()},[x]),N=u.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),j()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[j,v]);return u.useEffect(()=>{x&&t&&t(x)},[x,t]),u.useEffect(()=>{if(x)return b(x),x.on("reInit",b),x.on("select",b),()=>{null==x||x.off("select",b)}},[x,b]),(0,r.jsx)(k.Provider,{value:{carouselRef:c,api:x,opts:l,orientation:a||((null==l?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:j,scrollNext:v,canScrollPrev:m,canScrollNext:p},children:(0,r.jsx)("div",{ref:s,onKeyDownCapture:N,className:(0,y.cn)("relative",n),role:"region","aria-roledescription":"carousel",...d,children:o})})});
1A.displayName="Carousel";let z=u.forwardRef((e,s)=>{let{className:a,...l}=e,{carouselRef:t,orientation:i}=C();return(0,r.jsx)("div",{ref:t,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:s,className:(0,y.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",a),...l})})});z.displayName="CarouselContent";let P=u.forwardRef((e,s)=>{let{className:a,...l}=e,{orientation:t}=C();return(0,r.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,y.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===t?"pl-4":"pt-4",a),...l})});P.displayName="CarouselItem";let E=u.forwardRef((e,s)=>{let{className:a,variant:l="ghost",size:t="icon",...i}=e,{orientation:n,scrollPrev:o,canScrollPrev:d}=C();return(0,r.jsxs)(w.$,{ref:s,variant:l,size:t,className:(0,y.cn)("absolute h-8 w-8 rounded-full","horizontal"===n?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!d,onClick:o,...i,children:[(0,r.jsx)(v.A,{className:"text-primary",style:{width:"32px",height:"32px"}}),(0,r.jsx)("span",{className:"sr-only",children:"Previous slide"})]})});E.displayName="CarouselPrevious";let S=u.forwardRef((e,s)=>{let{className:a,variant:l="ghost",size:t="icon",...i}=e,{orientation:n,scrollNext:o,canScrollNext:d}=C();return(0,r.jsxs)(w.$,{ref:s,variant:l,size:t,className:(0,y.cn)("absolute h-8 w-8 rounded-full","horizontal"===n?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",a),disabled:!d,onClick:o,...i,children:[(0,r.jsx)(N.A,{className:"text-primary",style:{width:"32px",height:"32px"}}),(0,r.jsx)("span",{className:"sr-only",children:"Next slide"})]})});S.displayName="CarouselNext";var R=a(28910),L=a(26333);function D(){let e=(0,i.useRouter)(),{profile:s,user:a,loading:l}=(0,f.A)(),{isSkillEvalUser:d,isOnlySkillEvalUser:c}=(0,p.q)(),g=(0,x.iQ)(x.e$,s,{isSkillEvalUser:d,isOnlySkillEvalUser:c}),v=!a,N=!l;(0,u.useEffect)(()=>{N&&!v&&1===g.length&&e.replace("/".concat(g[0].id))},[N,v,g,e]);let y=g.map(s=>{var a,r,l,t;return{...s,onClick:(0,m.o2)(()=>{let a="/".concat(s.id);e.push(a)},"module_card.".concat(s.id),{category:null!=(l=null==(a=x.Ec.find(e=>e.key===s.group))?void 0:a.title)?l:s.group,extra:{module:s.id}}),category:null!=(t=null==(r=x.Ec.find(e=>e.key===s.group))?void 0:r.title)?t:s.group}}),k=x.Ec.map(e=>e.title),[C,L]=(0,u.useState)([]),[D,_]=(0,u.useState)(null),[I,M]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{if(!D||I)return;let e=setInterval(()=>{D.scrollNext()},3e3);return()=>clearInterval(e)},[D,I]),(0,u.useEffect)(()=>{if(a)return;let e=!0;return(async()=>{try{let s=await (0,b.s)((0,h.pN)("platform","/review?story=true&limit=50"));if(!s.ok)return;let a=await s.json();if(!e)return;L(a.reviews||[])}catch(e){}})(),()=>{e=!1}},[a]),(0,r.jsxs)("div",{style:{background:"var(--background)",color:"var(--foreground)"},className:"jsx-410a8621b8c87d6f overflow-x-hidden",children:[l&&(0,r.jsx)(j.k,{indeterminate:!0,value:1,className:"w-full h-1 fixed top-0 left-0 z-50 rounded-none"}),(0,r.jsx)(n.default,{title:"Snklp",subtitle:"AI-powered tools to boost your career prospects with personalized training, resume enhancements & interview prep"}),!l&&v&&(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("section",{className:"jsx-410a8621b8c87d6f max-w-7xl mx-auto px-4 py-10",children:[(0,r.jsx)("div",{className:"jsx-410a8621b8c87d6f grid grid-cols-1 md:grid-cols-1 gap-8 items-center",children:(0,r.jsxs)("div",{className:"jsx-410a8621b8c87d6f flex flex-col text",children:[(0,r.jsxs)("h3",{className:"jsx-410a8621b8c87d6f text-base font-semibold mb-4 ms-1 uppercase text-primary px-1 py-1 rounded-full flex items-center",children:[(0,r.jsx)(o.A,{side:"left"}),(0,r.jsxs)("span",{className:"jsx-410a8621b8c87d6f px-1",children:["Prepare smarter. ",(0,r.jsx)("br",{className:"jsx-410a8621b8c87d6f sm:hidden"})," Perform better."]}),(0,r.jsx)("div",{className:"jsx-410a8621b8c87d6f flex flex-col flex-grow-1",children:(0,r.jsx)(o.A,{side:"right",full:!0})})]}),(0,r.jsxs)("p",{className:"jsx-410a8621b8c87d6f text-base mb-6",children:["Snklp-AI uses specialized interview models to help you practice interviews, sharpen your resume, and land the role you want. ",(0,r.jsx)("br",{className:"jsx-410a8621b8c87d6f"})," Try curated tools, and read success stories from our community."]}),(0,r.jsxs)("div",{className:"jsx-410a8621b8c87d6f flex gap-3",children:[(0,r.jsx)(w.$,{variant:"outline",onClick:()=>e.push("/sign-in"),className:"px-4 py-2 rounded-2xl text-primary font-semibold border-primary",children:"Get Started"}),(0,r.jsx)("a",{href:"#modules",className:"jsx-410a8621b8c87d6f px-4 py-2 rounded-2xl border border-border block text-center",children:"Explore Modules"})]})]})}),C.length>0&&(0,r.jsxs)("div",{className:"jsx-410a8621b8c87d6f flex flex-col mt-10",children:[(0,r.jsxs)("h3",{className:"jsx-410a8621b8c87d6f text-base font-semibold mb-4 ms-1 uppercase text-primary px-1 py-1 rounded-full flex items-center",children:[(0,r.jsx)(o.A,{side:"left"}),(0,r.jsx)("span",{className:"jsx-410a8621b8c87d6f px-1",children:"Success Stories"}),(0,r.jsx)("div",{className:"jsx-410a8621b8c87d6f flex flex-col flex-grow-1",children:(0,r.jsx)(o.A,{side:"right",full:!0})})]}),0===C.length?(0,r.jsx)("div",{className:"jsx-410a8621b8c87d6f opacity-70",children:"No stories yet â be the first!"}):(0,r.jsxs)(A,{opts:{align:"start",loop:!0},setApi:_,onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1),children:[(0,r.jsx)(z,{children:C.map(e=>(0,r.jsx)(P,{className:"basis-[85%] sm:basis-[70%] md:basis-1/2 lg:basis-[28%] flex",children:(0,r.jsx)(R.y,{story:e,hideModules:!0})},e.id))}),(0,r.jsx)(E,{className:"hidden md:flex"}),(0,r.jsx)(S,{className:"hidden md:flex"})]})]})]})}),(0,r.jsxs)("div",{id:"modules",className:"jsx-410a8621b8c87d6f max-w-7xl mx-auto px-4 pb-24 pt-6",children:[v&&!l&&(0,r.jsx)("h2",{className:"jsx-410a8621b8c87d6f text-2xl font-semibold mx-auto mb-4 -mt-4 ml-2",children:"MODULES"}),k.map(e=>{let s=y.filter(s=>s.category===e);return s.length?(0,r.jsxs)("div",{className:"jsx-410a8621b8c87d6f grid grid-cols-1 mb-8",children:[(0,r.jsxs)("h3",{className:"jsx-410a8621b8c87d6f text-base font-semibold mb-4 ms-1 uppercase text-primary px-1 py-1 rounded-full flex items-center",children:[(0,r.jsx)(o.A,{side:"left"}),(0,r.jsx)("span",{className:"jsx-410a8621b8c87d6f px-1",children:e}),(0,r.jsx)("div",{className:"jsx-410a8621b8c87d6f flex flex-col flex-grow-1",children:(0,r.jsx)(o.A,{side:"right",full:!0})})]}),(0,r.jsx)("div",{className:"jsx-410a8621b8c87d6f grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:s.map((e,s)=>(0,r.jsx)($,{feature:e,index:s},e.title))})]},e):null})]}),(0,r.jsx)(t(),{id:"410a8621b8c87d6f",children:"@keyframes fade-in-down{from{opacity:0;transform:translatey(-30px)}to{opacity:1;transform:translatey(0)}}.animate-fade-in-down.jsx-410a8621b8c87d6f{animation:fade-in-down 1s ease-out}"})]})}function $(e){let{feature:s,index:a=0}=e,l=(0,r.jsxs)(L.AM,{children:[(0,r.jsx)(L.Wv,{asChild:!0,children:(0,r.jsx)(w.$,{variant:"ghost",size:"icon","aria-label":"About ".concat(s.title),className:"1absolute 1right-3 1bottom-4 bg-muted/5 relative -ml-1 bottom-2 z-10 h-4 w-4 roun
1ded-full text-primary hover:bg-card",onClick:e=>e.stopPropagation(),children:(0,r.jsx)("span",{className:"font-semibold",children:"i"})})}),(0,r.jsxs)(L.hl,{align:"start",side:"bottom",sideOffset:8,className:"z-20 w-[min(26rem,calc(100vw-2rem))] rounded-3xl border-border bg-card p-4 text-foreground shadow-2xl",onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("div",{className:"pr-8",children:(0,r.jsx)("p",{className:"text-sm leading-6 text-foreground/80",children:s.details})}),(0,r.jsxs)("div",{className:"mt-3 rounded-2xl border border-border bg-background/70 px-4 py-3",children:[(0,r.jsx)("h3",{className:"mb-2 text-sm font-semibold uppercase tracking-[0.2em] text-primary",children:"Features"}),(0,r.jsx)("ul",{className:"flex flex-col gap-1 text-sm text-foreground/85",children:s.features.map(e=>(0,r.jsxs)("li",{className:"flex gap-2 leading-6",children:[(0,r.jsx)("span",{className:"mt-2 h-1.5 w-1.5 rounded-full bg-primary","aria-hidden":"true"}),(0,r.jsx)("span",{children:e})]},e))})]})]})]});return(0,r.jsxs)("div",{onClick:s.disabled?void 0:s.onClick,className:"feature-card group relative surface-card rounded-3xl p-6 cursor-pointer ".concat(s.disabled?"opacity-60 cursor-not-allowed hover:transform-none hover:shadow-none hover:border-transparent":""),style:{animationDelay:"".concat(.2*a,"s")},children:[(0,r.jsxs)("h2",{className:"text-xl font-bold mb-3 pr-12 transition-colors duration-300 flex items-center gap-2 whitespace-nowrap",children:[(()=>{let e=s.icon;try{return(0,r.jsx)(e,{className:"text-primary group-hover:scale-110 transition-transform duration-300"})}catch(e){return(0,r.jsx)(d.A,{className:"text-primary"})}})(),s.title," ",l]}),!s.disabled&&(0,r.jsx)("div",{className:"absolute top-5 right-6 group-hover:opacity-100 transform translate-x-2 group-hover:translate-x-0 transition-all duration-300",children:(0,r.jsx)(c.A,{className:"text-primary w-6 h-6","aria-hidden":"true"})}),(0,r.jsx)("p",{className:"text-foreground/80 transition-colors duration-300 leading-relaxed",children:s.description})]})}}},e=>{e.O(0,[9135,3965,1029,7460,995,5e3,9255,3171,6093,606,4106,953,4741,8441,1255,7358],()=>e(e.s=53940)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.