PageSourceSearch

https://syllabuzz.com/_next/static/chunks/16frlqxhq_4xc.js

js syllabuzz.com collected 2026-09-24 11:58:35 UTC 15,382 bytes, 3 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,565358,e=>{"use strict";e.i(386217),e.i(637962),e.i(275113),e.i(591325),e.i(526631),e.i(874021),e.i(33776),e.i(335985),e.i(561131),e.i(956174),e.i(692468),e.i(301453),e.s([])},825398,e=>{"use strict";let t=(0,e.i(456420).default)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);e.s(["RotateCw",0,t],825398)},479148,e=>{"use strict";var t=e.i(843476),a=e.i(352627),a=a,s=e.i(456420);let l=(0,s.default)("monitor-down",[["path",{d:"M12 13V7",key:"h0r20n"}],["path",{d:"m15 10-3 3-3-3",key:"lzhmyn"}],["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}]]),r=(0,s.default)("share",[["path",{d:"M12 2v13",key:"1km8f5"}],["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}]]),i=(0,s.default)("square-plus",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);var n=e.i(271645);e.i(357123);var o=e.i(458691),c=e.i(339092),d=e.i(541066);e.s(["InstallNavigation",0,function({className:e}
1){let[s,m]=(0,n.useState)(null),[u,p]=(0,n.useState)(!0),[h,x]=(0,n.useState)("Unknown"),[f,g]=(0,n.useState)(!1),[b,j]=(0,n.useState)(!1),[v,y]=(0,n.useState)(!1);(0,n.useEffect)(()=>{y(!0),x((0,d.getBrowser)()),g((0,d.isIos)()),j((0,d.isInStandaloneMode)())},[]),(0,n.useEffect)(()=>{let e=e=>{e instanceof Event&&(e.preventDefault?.(),m(e),p(!0))};return window.addEventListener("beforeinstallprompt",e),()=>{window.removeEventListener("beforeinstallprompt",e)}},[]);let S=async()=>{if(!s)return;await s.prompt();let{outcome:e}=await s.userChoice;"accepted"===e&&(m(null),p(!1))};return v&&u&&!b?f?"Safari"===h?(0,t.jsxs)("div",{className:"fixed bottom-3 left-0 z-50 w-full bg-gray-600 px-8 py-2 text-white shadow-md",children:[(0,t.jsx)("button",{type:"button",onClick:()=>p(!1),className:"absolute top-1 left-1 font-bold text-lg text-white",children:(0,t.jsx)(a.default,{})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)(o.Thumbnail,{src:"/symbol.svg",className:"mx-1 inline-block size-16 rounded-lg bg-white",disablePopup:!0})}),(0,t.jsxs)("div",{className:"flex flex-col text-left",children:[(0,t.jsx)("span",{className:"font-semibold text-lg",children:"Install app on your iPhone"}),(0,t.jsxs)("span",{className:"flex gap-2 text-sm",children:["1: Tap ",(0,t.jsx)(r,{className:"size-5"})]}),(0,t.jsxs)("span",{className:"flex gap-2 text-sm",children:["2: Add to Home Screen",(0,t.jsx)(i,{className:"size-5"})]})]})]}),(0,t.jsx)("div",{className:"absolute -bottom-2 left-1/2 size-4 -translate-x-1/2 rotate-45 bg-gray-600"})]}):(0,t.jsxs)("div",{className:"fixed top-3 z-50 w-full bg-gray-600 px-8 py-2 text-white shadow-md",children:[(0,t.jsx)("button",{type:"button",onClick:()=>p(!1),className:"absolute top-1 left-1 font-bold text-lg text-white",children:(0,t.jsx)(a.default,{})}),(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)("div",{children:(0,t.jsx)(o.Thumbnail,{src:"/symbol.svg",className:"mx-1 inline-block size-16 rounded-lg bg-white",disablePopup:!0})}),(0,t.jsxs)("div",{className:"flex flex-col text-left",children:[(0,t.jsx)("span",{className:"font-semibold text-lg",children:"Install app on your iPhone"}),(0,t.jsxs)("span",{className:"flex gap-2 text-sm",children:["1: Tap ",(0,t.jsx)(r,{className:"size-5"})]}),(0,t.jsxs)("span",{className:"flex gap-2 text-sm",children:["2: Add to Home Screen",(0,t.jsx)(i,{className:"size-5"})]})]})]}),(0,t.jsx)("div",{className:"absolute -top-2 right-4 size-4 -translate-x-1/2 rotate-45 bg-gray-600"})]}):(0,t.jsx)(c.AppButton,{onClick:S,variant:"primary",className:`h-8 border-2 border-black lg:h-10 ${e}
2      `,leftIcon:(0,t.jsx)(l,{className:"size-5"}),children:"Install"}):null}],479148)},718295,e=>{"use strict";var t=e.i(843476),a=e.i(695228),s=e.i(35530),l=e.i(522016);e.i(565358);var r=e.i(386217);e.i(357123);var i=e.i(458691),n=e.i(167881);e.s(["default",0,function({colleges:e=[]}){return(0,t.jsx)("nav",{className:"sticky top-0 z-50 flex w-full flex-wrap justify-center bg-black py-2",children:(0,t.jsxs)("div",{className:"flex max-w-300 grow items-center px-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)(l.default,{href:"/landing",children:(0,t.jsx)(i.Thumbnail,{src:"/symbol.svg",className:"size-8 rounded-md bg-white",disablePopup:!0})}),(0,t.jsx)(l.default,{href:"/landing",children:(0,t.jsx)(i.Thumbnail,{src:"/logoType_white.svg",className:"hidden h-8 w-32 lg:block",disablePopup:!0})})]}),(0,t.jsx)("div",{className:"w-full grow gap-8 pl-4 lg:flex lg:justify-start",children:(0,t.jsx)(r.ContactForm,{children:(0,t.jsx)(n.Button,{color:"foreground",className:"rounded-full font-semibold",variant:"ghost",children:"Contact"})})}),(0,t.jsxs)("div",{className:"ml-auto flex gap-4",children:[(0,t.jsx)(a.default,{}),(0,t.jsx)(s.default,{className:"w-20 rounded-full bg-main-yellow! hover:brightness-90",colleges:e})]})]})})}])},353663,e=>{"use strict";var t=e.i(95187);let a=(0,t.createServerReference)("6038c58e991081aa240ecd50b1aa9238eab20e77ff",t.callServer,void 0,t.findSourceMapURL,"createSyllabuzzGuestAccount");
2e.s(["createSyllabuzzGuestAccount",0,a])},173530,e=>{"use strict";var t=e.i(681307);let a=t.z.object({email:t.z.email(),college:t.z.string().optional()}),s=t.z.object({email:t.z.email()}),l=t.z.object({email:t.z.email(),password:t.z.string({error:"Password is required"}).min(6,{message:"Password must be at least 6 characters long"}).max(50,{message:"Password must be at most 50 characters long"}),callbackURL:t.z.string().optional()}),r=t.z.object({company:t.z.string({error:"Company name is required"}).min(1,{message:"Company name cannot be empty"}).max(60,{message:"Company name must be at most 60 characters long"}),email:t.z.email()});e.s(["signInFormSchema",0,l,"signUpApplicantFormSchema",0,s,"signUpCompanyFormSchema",0,r,"signUpStudentFormSchema",0,a])},695228,e=>{"use strict";var t=e.i(843476),a=e.i(994814),s=e.i(522016),l=e.i(653145);e.i(565358);var r=e.i(526631),i=e.i(637962),n=e.i(339092),o=e.i(167881),c=e.i(630374),d=e.i(874946),m=e.i(23750),u=e.i(768673),p=e.i(613300),h=e.i(353663),x=e.i(95187);let f=(0,x.createServerReference)("7f84b690294cff012f8ce3329e9838d374a714669c",x.callServer,void 0,x.findSourceMapURL,"signIn");var g=e.i(173530);e.s(["default",0,function({callbackURL:e,className:x=""}){let{action:b,isPending:j,loadingMessage:v}=(0,u.useFormSubmit)({serverAction:f,initialState:{success:!1,error:void 0},loadingMessage:"Signing in..."}),{isPending:y}=(0,u.useFormSubmit)({serverAction:h.createSyllabuzzGuestAccount,initialState:{success:!1,error:void 0},loadingMessage:"Setting up demo..."}),S=(0,i.useEnhancedForm)({resolver:(0,a.zodResolver)(g.signInFormSchema),defaultValues:{email:"",password:"",callbackURL:e},mode:"onChange"}),{isValid:w}=(0,l.useFormState)({control:S.control});return(0,t.jsxs)(c.Dialog,{children:[(0,t.jsx)(c.DialogTrigger,{asChild:!0,children:(0,t.jsx)(o.Button,{className:(0,p.cn)("w-20 rounded-full bg-black text-white hover:brightness-90",x),children:"Sign In"})}),(0,t.jsx)(c.DialogContent,{className:"bg-white py-6",children:(0,t.jsx)(d.Form,{...S,children:(0,t.jsxs)("form",{action:b,children:[(0,t.jsxs)(c.DialogHeader,{children:[(0,t.jsx)(c.DialogTitle,{children:"Sign In"}),(0,t.jsx)(c.DialogDescription,{})]}),(0,t.jsx)("div",{children:(0,t.jsx)(d.FormField,{control:S.control,name:"email",render:({field:e})=>(0,t.jsxs)(d.FormItem,{className:"space-y-0",children:[(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)(d.FormLabel,{className:"font-medium text-gray-800 text-sm lg:text-base",htmlFor:"email",children:"Email"}),(0,t.jsx)(s.default,{href:"/public/forget_password",className:"pb-1 text-gray-600 text-xs hover:cursor-pointer hover:underline",children:"Forgot Password?"})]}),(0,t.jsx)(d.FormControl,{children:(0,t.jsx)(m.Input,{id:"email",placeholder:"@xxx.edu",...e})}),(0,t.jsx)(d.FormDescription,{}),(0,t.jsx)(d.FormMessage,{})]})})}),(0,t.jsxs)("div",{className:"mt-2",children:[(0,t.jsx)(r.FormInput,{name:"password",placeholder:"Password",control:S.control,label:"Password",type:"password"}),(0,t.jsx)("input",{name:"callbackURL",defaultValue:e??"",hidden:!0})]}),(0,t.jsx)(c.DialogFooter,{className:"flex flex-col space-y-2 sm:justify-center",children:(0,t.jsx)(n.AppButton,{className:"mt-4 w-full rounded-full bg-main-yellow! text-black hover:brightness-90",pending:j,loadingMessage:v,disabled:!w||y,children:"Sign In"})})]})})})]})}],695228)},35530,e=>{"use strict";var t=e.i(843476),a=e.i(994814),s=e.i(825398),l=e.i(271645),r=e.i(653145);e.i(565358);var i=e.i(526631),n=e.i(561131),o=e.i(637962);e.i(477020);var c=e.i(381691),d=e.i(167881),m=e.i(630374),u=e.i(874946),p=e.i(613300),h=e.i(389987),x=e.i(95187);let f=(0,x.createServerReference)("7fc362210b084710cfa1a906665adf8d2c75d04221",x.callServer,void 0,x.findSourceMapURL,"signUpApplicant"),g=(0,x.createServerReference)("7f6c53b6f02ac9cfaeb2a217537df74326d06eb0da",x.callServer,void 0,x.findSourceMapURL,"signUpCompany"),b=(0,x.createServerReference)("7ff841e2dc90c808f3f6165b5eadc6a6e197a04a5b",x.callServer,void 0,x.findSourceMapURL,"signUpStudent");var j=e.i(173530);let v=["recruiter","student","applicant"],y={student:"signUpFormStudent",recruiter:"signUpFormRecruiter",applicant:"signUpFormApplicant"},S={student:{title:"Join your college community!",description:"Use your college e-mail to request an invitation.",tabLabel:"Student"},recruiter:{title:"Start hiring with Syllabuzz",description:"Share your work email and company name. We will email you an invite to finish setup.",tabLabel:"Recruiter"}
2,applicant:{title:"Apply with confidence",description:"Drop your email and we will send instructions for your first sign in.",tabLabel:"Applicant"}};function w(e){return v.includes(e)}e.s(["default",0,function({title:e="Sign Up",className:x="",defaultRole:N="student",colleges:z=[]}){let F=l.default.useMemo(()=>w(N)?N:"student",[N]),[k,C]=l.default.useState(!1),[A,U]=l.default.useState(F),[E,M]=l.default.useState(0),R=(0,o.useEnhancedForm)({resolver:(0,a.zodResolver)(j.signUpStudentFormSchema),mode:"onChange",defaultValues:{email:"",college:""}}),{isValid:D}=(0,r.useFormState)({control:R.control}),I=(0,o.useEnhancedForm)({resolver:(0,a.zodResolver)(j.signUpCompanyFormSchema),mode:"onChange",defaultValues:{company:"",email:""}}),{isValid:L}=(0,r.useFormState)({control:I.control}),P=(0,o.useEnhancedForm)({resolver:(0,a.zodResolver)(j.signUpApplicantFormSchema),mode:"onChange",defaultValues:{email:""}}),{isValid:T}=(0,r.useFormState)({control:P.control}),[B,V,q]=l.default.useActionState(b,{success:!1}),[H,G,K]=l.default.useActionState(g,{success:!1}),[O,_,J]=l.default.useActionState(f,{success:!1}),[$,W]=l.default.useState(),[Q,X]=l.default.useState(),[Y,Z]=l.default.useState();l.default.useEffect(()=>{W(B.error)},[B.error]),l.default.useEffect(()=>{X(H.error)},[H.error]),l.default.useEffect(()=>{Z(O.error)},[O.error]);let ee=l.default.useCallback(e=>{C(e),e||(U(F),W(void 0),X(void 0),Z(void 0),R.clearServerError(),I.clearServerError(),P.clearServerError(),R.reset(),I.reset(),P.reset(),M(e=>e+1))},[F,R,I,P]),et=l.default.useCallback(e=>{w(e)&&U(e)},[]),ea="student"===A?q:"recruiter"===A?K:J,es=y[A],el=S[A],er="student"===A?D:"recruiter"===A?L:T,ei=ea||!er,en=v.map(e=>"student"===e?{key:e,label:S.student.tabLabel,content:(0,t.jsxs)(u.Form,{...R,children:[(0,t.jsxs)("form",{action:V,id:y.student,className:"space-y-3",children:[(0,t.jsx)(i.FormInput,{name:"email",placeholder:"your college e-mail",control:R.control,label:"Email"}),(0,h.IsLocalHost)()&&z.length>0&&(0,t.jsx)(n.FormSelect,{name:"college",label:"College (Local only)",placeholder:"Select your college",control:R.control,items:z})]}),(0,t.jsx)(R.ServerError,{message:$})]})}:"recruiter"===e?{key:e,label:S.recruiter.tabLabel,content:(0,t.jsxs)(u.Form,{...I,children:[(0,t.jsxs)("form",{action:G,id:y.recruiter,className:"space-y-3",children:[(0,t.jsx)(i.FormInput,{name:"company",placeholder:"Enter company name",control:I.control,label:"Company Name"}),(0,t.jsx)(i.FormInput,{name:"email",placeholder:"email",control:I.control,label:"Email"})]}),(0,t.jsx)(I.ServerError,{message:Q})]})}:{key:e,label:S.applicant.tabLabel,content:(0,t.jsxs)(u.Form,{...P,children:[(0,t.jsx)("form",{action:_,id:y.applicant,className:"space-y-3",children:(0,t.jsx)(i.FormInput,{name:"email",placeholder:"email",control:P.control,label:"Email"})}),(0,t.jsx)(P.ServerError,{message:Y})]})});return(0,t.jsxs)(m.Dialog,{open:k,onOpenChange:ee,children:[(0,t.jsx)(m.DialogTrigger,{asChild:!0,children:(0,t.jsx)(d.Button,{className:(0,p.cn)("w-20",x),children:e})}),(0,t.jsxs)(m.DialogContent,{className:"bg-white py-4",children:[(0,t.jsxs)(m.DialogHeader,{children:[(0,t.jsx)(m.DialogTitle,{children:el.title}),(0,t.jsx)(m.DialogDescription,{children:el.description})]}),(0,t.jsx)(c.AppTabs,{tabs:en,initialKey:A,onChange:et},E),(0,t.jsx)(m.DialogFooter,{className:"sm:justify-center",children:(0,t.jsxs)(d.Button,{type:"submit",form:es,className:"w-full rounded-full bg-main-yellow! text-black hover:brightness-90",disabled:ei,children:[ea&&(0,t.jsx)(s.RotateCw,{className:"mr-2 size-4 animate-spin"}),"Join"]})})]})]})}],35530)},304883,e=>{"use strict";var t=e.i(843476),a=e.i(339092),s=e.i(768673),l=e.i(613300),r=e.i(353663);e.s(["DemoButton",0,function({className:e}){let{action:i,isPending:n,loadingMessage:o}=(0,s.useFormSubmit)({serverAction:r.createSyllabuzzGuestAccount,initialState:{success:!1,error:void 0},loadingMessage:"Setting up demo..."});return(0,t.jsx)("form",{action:i,className:"contents",children:(0,t.jsx)(a.AppButton,{type:"submit",variant:"outline",className:(0,l.cn)("h-10 rounded-full border-2 border-yellow-400/50 bg-transparent px-5 font-bold text-sm text-yellow-400 transition-all hover:border-yellow-400 hover:bg-yellow-400/10 active:scale-95",e),pending:n,loadingMessage:o,children:"Try Syllabuzz Demo ✨"})})}])},560201,e=>{"use strict";var t=e.i(843476),a=e.i(657688);e.s(["default",0,function({eyebrow:e,title:s,body:l,imgSrc:r,imgAlt:i,reverse:n}){let o="string"==typeof e&&e.trim().length>0;return(0,t.jsx)("section",{className:"bg-white",children:(0,t.jsx)("div",{className:"container mx-auto max-w-275 px-4 py-16",children:(0,t.jsxs)("div",{className:`grid items-center gap-8 md:grid-cols-2 ${!0===n?"md:[&>div:first-child]:order-2":""}
3          `,children:[(0,t.jsxs)("div",{children:[o?(0,t.jsx)("span",{className:"mb-2 inline-block font-semibold text-main-yellow text-xs",children:e}):null,(0,t.jsx)("h2",{className:"font-bold text-3xl text-[#111] md:text-5xl",children:s}),(0,t.jsx)("p",{className:"mt-3 text-gray-600",children:l})]}),(0,t.jsx)("div",{className:"rounded-2xl border bg-gray-50 p-4 pb-0",children:(0,t.jsx)(a.default,{src:r,alt:i,width:800,height:600,className:"h-auto w-full rounded-xl",priority:!0})})]})})})}])},657892,e=>{e.v(t=>Promise.all(["static/chunks/1wqiwke9ww2l5.js","static/chunks/3ohluuppmawit.js"].map(t=>e.l(t))).then(()=>t(295767)))},165871,e=>{e.v(t=>Promise.all(["static/chunks/28zzj01opo2o_.js"].map(t=>e.l(t))).then(()=>t(878264)))}]);

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.