PageSourceSearch

https://lazee.dev/_next/static/chunks/207b__cvvuvow.js

js lazee.dev collected 2026-09-24 14:59:58 UTC 6,199 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,31278,e=>{"use strict";let a=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,a],31278)},78745,e=>{"use strict";let a=(0,e.i(75254).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["default",0,a])},71689,e=>{"use strict";let a=(0,e.i(75254).default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",0,a],71689)},31134,e=>{"use strict";var a=e.i(43476),s=e.i(71645),t=e.i(26732),l=e.i(67881),r=e.i(23750),c=e.i(84762),i=e.i(10708),n=e.i(62870),p=e.i(6799);let o=(0,e.i(75254).default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);var x=e.i(14764),d=e.i(31278),m=e.i(71689),h=e.i(22016),u=e.i(46932);let b=[{value:"feature",label:"Feature Request"},{value:"bug",label:"Bug Report"},{value:"add_ats",label:"Add ATS Support"},{value:"appreciation",label:"Appreciation"},{value:"other",label:"Other"}];e.s(["default",0,function(){let{data:e}=(0,t.useSession)(),[g,_]=(0,s.useState)(!1),[f,k]=(0,s.useState)({name:"",email:"",type:"feature",message:""});(0,s.useEffect)(()=>{e?.user&&k(a=>({...a,name:e.user?.name||"",email:e.user?.email||""}))},[e]);let w=async e=>{e.preventDefault(),_(!0);try{let e=await fetch("/api/feedback",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(f)}),a=await e.json();e.ok?(p.toast.success("Feedback submitted successfully! Thank you."),k({...f,message:""})):p.toast.error(a.error||"Failed to submit feedback.")}catch(e){console.error("Submit Error:",e),p.toast.error("An error occurred. Please try again.")}finally{_(!1)}};return(0,a.jsxs)("div",{className:"max-w-4xl mx-auto px-4 sm:px-6 py-12",children:[(0,a.jsx)("div",{className:"mb-8",children:(0,a.jsxs)(h.default,{href:"/",className:"inline-flex items-center gap-2 text-sm font-black uppercase tracking-tight hover:translate-x-[-4px] transition-transform",children:[(0,a.jsx)(m.ArrowLeft,{className:"w-4 h-4"}),"Back to Home"]})}),(0,a.jsxs)(u.motion.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},className:"border-[3px] border-black bg-white p-5 sm:p-8 md:p-12 shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] sm:shadow-[12px_12px_0px_0px_rgba(0,0,0,1)]",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4 mb-8",children:[(0,a.jsx)("div",{className:"flex h-12 w-12 sm:h-14 sm:w-14 items-center justify-center rounded-none border-[3px] border-black bg-yellow-400 shadow-[3px_3px_0px_0px_rgba(0,0,0,1)] sm:shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] shrink-0",children:(0,a.jsx)(o,{className:"w-6 h-6 sm:w-8 sm:h-8 text-black"})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-3xl sm:text-4xl font-black uppercase tracking-tighter text-black font-heading leading-none",children:"Feedback"}),(0,a.jsx)("p",{className:"text-zinc-600 font-bold uppercase tracking-widest text-[9px] sm:text-xs mt-2",children:"Help us make Lazee.dev even better"})]})]}),(0,a.jsxs)("form",{onSubmit:w,className:"space-y-8",children:[(0,a.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(i.Label,{htmlFor:"name",className:"text-[11px] font-black uppercase tracking-widest pl-1",children:"Name"}),(0,a.jsx)(r.Input,{id:"name",placeholder:"John Doe",value:f.name,onChange:e=>k({...f,name:e.target.value}),className:"bg-white"})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(i.Label,{htmlFor:"email",className:"text-[11px] font-black uppercase tracking-widest pl-1",children:"Email"}),(0,a.jsx)(r.Input,{id:"email",type:"email",placeholder:"[email protected]",value:f.email,onChange:e=>k({...f,email:e.target.value}),className:"bg-white"})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(i.Label,{htmlFor:"type",className:"text-[11px] font-black uppercase tracking-widest pl-1",children:"Feedback Type"}),(0,a.jsxs)(n.Select,{value:f.type,onValueChange:e=>k({...f,type:e}),children:[(0,a.jsx)(n.SelectTrigger,{className:"h-[50px] w-full rounded-none border-[3px] border-black bg-white px-4 py-2 text-sm font-bold text-black focus:outline-none focus:ring-0 focus:bg-orange-50 transition-colors shadow-[3px_3px_0px_0px_rgba(0,0,0,1)] sm:shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] data-[state=open]:bg-orange-50",children:(0,a.jsx)(n.SelectValue,{placeholder:"Select Feedback Type"})}),(0,a.jsx)(n.SelectContent,{className:"rounded-none border-[3px] border-black shadow-[3px_3px_0px_0px_rgba(0,0,0,1)] sm:shadow-[4px_4px_0px_0px_rgba(0,0,0,1)]",children:b.map(e=>(0,a.jsx)(n.SelectItem,{value:e.value,className:"cursor-pointer font-bold focus:bg-orange-50 rounded-none",children:e.label},e.value))})]})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(i.Label,{htmlFor:"message",className:"text-[11px] font-black uppercase tracking-widest pl-1",children:"Message"}),(0,a.jsx)(c.Textarea,{id:"message",required:!0,placeholder:"Tell us what you think...",value:f.message,onChange:e=>k({...f,message:e.target.value}),className:"min-h-[200px] w-full bg-white placeholder:text-zinc-400 focus:bg-orange-50 transition-colors shadow-[3px_3px_0px_0px_rgba(0,0,0,1)] sm:shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] border-[3px] border-black rounded-none p-4"})]}),(0,a.jsx)("div",{className:"pt-4",children:(0,a.jsx)(l.Button,{type:"submit",disabled:g,className:"w-full h-14 sm:h-16 bg-black text-white hover:bg-zinc-800 border-[3px] border-black font-black uppercase text-lg sm:text-xl shadow-[4px_4px_0px_0px_rgba(0,0,0,1)] sm:shadow-[8px_8px_0px_0px_rgba(0,0,0,1)] hover:shadow-[6px_6px_0px_0px_rgba(0,0,0,1)] sm:hover:shadow-[12px_12px_0px_0px_rgba(0,0,0,1)] hover:-translate-y-0.5 active:translate-y-0.5 transition-all flex items-center justify-center gap-3 cursor-pointer",children:g?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.Loader2,{className:"h-5 w-5 animate-spin"}),"Sending..."]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.Send,{className:"h-5 w-5"}),"Submit Feedback"]})})})]})]})]})}],31134)}]);

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.