PageSourceSearch

https://roasted.cv/_next/static/chunks/28555d8b80a3374d.js?dpl=dpl_J8dwxdxdy835bwZGwAyt317mBdBz

js roasted.cv collected 2026-10-02 00:20:47 UTC 35,299 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,842620,e=>{"use strict";var t=e.i(511075),n=e.i(380630),r=e.i(30673),a=e.i(635585),s=e.i(760243),i=e.i(63362);let o=(0,e.i(469650).default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);var l=e.i(307207),d=e.i(771319),c=e.i(487417);e.i(486637);var u=e.i(822192),m=e.i(542891),h=e.i(38198),p=e.i(66883),x=e.i(387285),f=e.i(291587),g=e.i(567935);let v=new Map;function j(){let{user:e}=(0,f.useUser)(),[t,r]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{var t;let n;if(!e)return void r(!1);let a=!0;return(t=e.id,!(n=v.get(t))&&(n=Promise.resolve(g.supabase.from("profiles").select("role").eq("id",t).maybeSingle().then(e=>{let{data:t}=e;return t?.role==="marketing"||t?.role==="admin"})),v.set(t,n)),n).then(e=>{a&&r(e)}),()=>{a=!1}},[e]),t}var w=e.i(329699),b=e.i(764376),y=e.i(258455),N=e.i(515759);function C(){let{signInFallback:e}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{user:n,accessToken:r,isLoading:a}=(0,f.useUser)();return a?(0,t.jsx)(p.Skeleton,{className:"h-8 w-8 rounded-full"}):n?(0,t.jsx)(k,{user:n,accessToken:r}):(0,t.jsx)(t.Fragment,{children:e??null})}function k(e){let{user:n,accessToken:r}=e,p=(0,a.useTranslations)("common.userMenu"),f=(0,a.useTranslations)("common"),v=j(),{plan:C}=(0,u.useCredits)(g.callEdge,r),{displayName:k,avatarUrl:T,email:R}=(0,w.getUserDisplay)(n);return(0,t.jsxs)(h.DropdownMenu,{modal:!1,onOpenChange:e=>{e&&b.landingAnalytics.navUserMenuOpen()},children:[(0,t.jsx)(h.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsx)("button",{"aria-label":k,className:"flex items-center rounded-full focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:(0,t.jsx)(m.UserAvatar,{avatarUrl:T,name:k,size:"sm"})})}),(0,t.jsxs)(h.DropdownMenuContent,{align:"end",className:"w-64",children:[(0,t.jsxs)(h.DropdownMenuLabel,{className:"flex flex-col gap-0.5 px-3 py-2.5",children:[(0,t.jsx)("span",{className:"text-sm font-medium text-foreground truncate",children:k||"User"}),R&&(0,t.jsx)("span",{className:"text-xs text-muted-foreground truncate font-normal",children:R})]}),(0,t.jsx)(h.DropdownMenuSeparator,{}),(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(x.default,{href:"/dashboard",onClick:()=>b.landingAnalytics.navDashboardButtonClick(),className:"cursor-pointer",children:[(0,t.jsx)(o,{className:"text-muted-foreground"}),(0,t.jsx)("span",{children:p("openDashboard")})]})}),v&&(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(x.default,{href:"/marketing/my-roasts",className:"cursor-pointer",children:[(0,t.jsx)(l.Megaphone,{className:"text-muted-foreground"}),(0,t.jsx)("span",{children:p("marketing")})]})}),(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,children:(0,t.jsxs)(x.default,{href:"/dashboard/settings",className:"cursor-pointer",children:[(0,t.jsx)(d.Settings,{className:"text-muted-foreground"}),(0,t.jsx)("span",{children:p("accountSettings")})]})}),(0,t.jsx)(h.DropdownMenuSeparator,{}),(0,t.jsxs)("div",{className:"px-2 py-1.5",children:[(0,t.jsx)("div",{className:"px-1 pb-1.5 text-xs text-muted-foreground",children:p("theme")}),(0,t.jsx)(y.ThemeToggle,{})]}),(0,t.jsxs)("div",{className:"px-2 pb-1.5 pt-0.5",children:[(0,t.jsx)("div",{className:"px-1 pb-1.5 text-xs text-muted-foreground",children:f("language")}),(0,t.jsx)(N.LanguageSwitcher,{})]}),(0,t.jsx)(h.DropdownMenuSeparator,{}),(0,t.jsxs)(h.DropdownMenuItem,{onSelect:e=>{e.preventDefault(),(0,w.signOutAndReload)()},className:"cursor-pointer",children:[(0,t.jsx)(c.LogOut,{className:"text-muted-foreground"}),(0,t.jsx)("span",{children:p("signOut")})]}),(!C||"free"===C)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h.DropdownMenuSeparator,{}),(0,t.jsx)("div",{className:"px-2 py-2",children:(0,t.jsx)(i.Button,{asChild:!0,size:"sm",className:"w-full",children:(0,t.jsx)(s.Link,{href:"/pricing",onClick:()=>b.landingAnalytics.navUpgradeClick(),children:p("upgrade")})})})]})]})]})}var T=e.i(112453),R=e.i(528956),E=e.i(911842),S=e.i(379864),L=e.i(879478),M=e.i(487762),P=e.i(914493),D=e.i(113648);let I="~/job-hunt";function A(e){let{label:n,description:r,beta:a,size:s}=e;return(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5 border-b border-zinc-800 px-3 py-2",children:[(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-zinc-700","aria-hidden":!0}),(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-zinc-700","aria-hidden":!0}),(0,t.jsx)("span",{className:"h-2 w-2 rounded-full bg-zinc-700","aria-hidden":!0}),(0,t.jsx)("span",{className:"ml-1 truncate font-mono text-[10px] text-zinc-500",children:I}),(0,t.jsx)("span",{className:"ml-auto shrink-0 rounded-full border border-zinc-700/80 px-1.5 py-px font-mono text-[9px] uppercase tracking-wider text-zinc-500",children:a})]}),(0,t.jsxs)("span",{className:"desktop"===s?"flex items-center gap-3 px-3.5 py-3":"flex items-center gap-3 px-3 py-2.5",children:[(0,t.jsx)(D.AutopilotMark,{className:"h-6 w-6 shrink-0 text-emerald-400"}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col gap-0.5",children:[(0,t.jsx)("span",{className:"truncate text-sm font-semibold text-zinc-100",children:n}),(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5 font-mono text-[11px] text-zinc-400",children:[(0,t.jsx)("span",{"aria-hidden":!0,
1className:"select-none text-zinc-600",children:"❯"}),(0,t.jsx)("span",{className:"truncate",children:r}),(0,t.jsx)(P.BlockCursor,{blinking:!0})]})]})]})]})}e.i(672710);var O=e.i(371712);let z=["build","apply","hired"],_={build:"header.productsCategory.build",apply:"header.productsCategory.apply",hired:"header.productsCategory.hired"},K="flex items-center px-3 py-2.5 text-sm rounded-md transition-colors text-foreground hover:bg-muted/60";function F(){let[e,r]=(0,n.useState)(!1),o=(0,a.useTranslations)("landing"),d=(0,a.useTranslations)("common.userMenu"),u=(0,a.useTranslations)("common"),{user:h,isLoading:g}=(0,f.useUser)(),v=j(),C=(0,s.usePathname)(),k=()=>r(!1),{displayName:M,avatarUrl:P,email:D}=(0,w.getUserDisplay)(h),I=C?.startsWith("/dashboard/settings")??!1;return(0,t.jsxs)(R.Sheet,{open:e,onOpenChange:r,children:[(0,t.jsx)(R.SheetTrigger,{asChild:!0,children:(0,t.jsx)(i.Button,{variant:"ghost",size:"icon","aria-label":"Menu",className:"md:hidden",children:(0,t.jsx)(T.Menu,{className:"h-5 w-5"})})}),(0,t.jsxs)(R.SheetContent,{side:"right",className:"w-full sm:max-w-md flex flex-col gap-0 p-0",children:[(0,t.jsx)(R.SheetHeader,{className:"border-b border-border/60 px-4 py-3 space-y-0",children:(0,t.jsxs)(R.SheetTitle,{className:"text-base font-semibold text-left",children:["roasted",(0,t.jsx)("span",{className:"text-emerald-500",children:".cv"})]})}),(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-4 py-5 space-y-5",children:[g?(0,t.jsx)(p.Skeleton,{className:"h-10 w-full"}):h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Button,{asChild:!0,className:"w-full",size:"lg",onClick:k,children:(0,t.jsx)(x.default,{href:"/dashboard",onClick:()=>b.landingAnalytics.navDashboardButtonClick(),children:d("openDashboard")})}),(0,t.jsx)(i.Button,{asChild:!0,variant:"outline",className:"w-full",size:"lg",onClick:k,children:(0,t.jsx)("a",{href:"mailto:[email protected]",children:d("contact")})})]}),(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border border-border/60 px-3 py-2.5",children:[(0,t.jsx)(m.UserAvatar,{avatarUrl:P,name:M,size:"sm"}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsx)("div",{className:"text-sm font-medium text-foreground truncate",children:M||"User"}),D&&(0,t.jsx)("div",{className:"text-xs text-muted-foreground truncate",children:D})]})]})]}):(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(i.Button,{asChild:!0,className:"w-full",size:"lg",onClick:k,children:(0,t.jsx)(s.Link,{href:"/login?intent=signup",rel:"nofollow",onClick:()=>b.landingAnalytics.navSignUpClick(),children:o("header.signUp")})}),(0,t.jsx)(i.Button,{asChild:!0,variant:"outline",className:"w-full",size:"lg",onClick:k,children:(0,t.jsx)(s.Link,{href:"/login",onClick:()=>b.landingAnalytics.navSignInClick(),children:o("header.signIn")})})]}),(0,t.jsxs)(E.Accordion,{type:"multiple",className:"space-y-0",children:[(0,t.jsxs)(E.AccordionItem,{value:"products",className:"border-b-0",children:[(0,t.jsx)(E.AccordionTrigger,{className:"px-3 py-2 text-sm font-medium hover:no-underline rounded-md hover:bg-muted/60",children:o("header.products")}),(0,t.jsxs)(E.AccordionContent,{className:"pb-2 pt-1 pl-3 pr-1 space-y-3",children:[L.SPOTLIGHT_TOOL&&(0,t.jsx)(U,{tool:L.SPOTLIGHT_TOOL,onNavigate:k,t:o}),z.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"px-3 pb-1.5 text-[11px] font-medium uppercase tracking-wider text-muted-foreground/80",children:o(_[e])}),(0,t.jsx)("div",{className:"space-y-0.5",children:(0,L.getToolsByCategoryWithoutSpotlight)(e).map(n=>(0,t.jsx)(H,{toolId:n,category:e,onNavigate:k,t:o},n))})]},e))]})]}),(0,t.jsx)(s.Link,{href:"/pricing",onClick:k,className:K,children:o("nav.pricing")}),(0,t.jsx)(s.Link,{href:"/docs",onClick:k,className:K,children:o("nav.docs")}),(0,t.jsx)(s.Link,{href:"/changelog",onClick:k,className:K,children:o("nav.changelog")}),h&&v&&(0,t.jsxs)(x.default,{href:"/marketing/my-roasts",onClick:k,className:(0,O.cn)(K,"gap-2"),children:[(0,t.jsx)(l.Megaphone,{className:"h-4 w-4"}),d("marketing")]}),h&&(0,t.jsx)(x.default,{href:"/dashboard/settings",onClick:k,className:(0,O.cn)(K,I&&"bg-muted text-foreground font-medium"),children:d("accountSettings")})]})]}),(0,t.jsxs)("div",{className:"border-t border-border/60 px-4 py-3 space-y-3",children:[h&&(0,t.jsxs)(i.Button,{variant:"ghost",className:"w-full justify-between px-3 text-muted-foreground hover:text-foreground",onClick:()=>{k(),(0,w.signOutAndReload)()},children:[d("signOut"),(0,t.jsx)(c.LogOut,{className:"h-4 w-4"})]}),(0,t.jsxs)("div",{className:"px-1",children:[(0,t.jsx)(S.Separator,{className:"mb-3"}),(0,t.jsx)("div",{className:"pb-1.5 text-xs text-muted-foreground",children:d("theme")}),(0,t.jsx)(y.ThemeToggle,{})]}),(0,t.jsxs)("div",{className:"px-1",children:[(0,t.jsx)("div",{className:"pb-1.5 text-xs text-muted-foreground",children:u("language")}),(0,t.jsx)(N.LanguageSwitcher,{})]})]})]})]})}function U(e){let{tool:n,onNavigate:r,t:a}=e;return(0,t.jsx)(s.Link,{href:n.href,onClick:()=>{r(),b.landingAnalytics.navProductsToolClick({toolId:n.id,category:n.category})},className:"flex items-center overflow-hidden rounded-lg border border-zinc-800 bg-[#1a1a1a] transition-colors hover:border-zinc-600",children:(0,t.jsx)(A,{label:a(`${n.translationKey}.name`),description:a(`${n.translationKey}
1.shortDescription`),beta:a("home.autopilot.beta"),size:"mobile"})})}function H(e){let{toolId:n,category:r,onNavigate:a,t:i}=e,o=L.TOOLS[n];return(0,t.jsxs)(s.Link,{href:o.href,onClick:()=>{a(),b.landingAnalytics.navProductsToolClick({toolId:n,category:r})},className:"flex items-center gap-3 rounded-md px-3 py-2 hover:bg-muted/60",children:[(0,t.jsx)(M.ToolIcon,{iconType:o.iconType,iconColor:o.iconColor,size:"sm"}),(0,t.jsx)("span",{className:"min-w-0 truncate text-sm text-foreground",children:i(`${o.translationKey}.name`)}),o.isNew?(0,t.jsx)("span",{className:"shrink-0 rounded-full bg-emerald-500/10 px-1.5 py-px text-[10px] font-medium leading-4 text-emerald-500",children:i("header.newBadge")}):null]})}var B=e.i(395026),$=e.i(853666),W=e.i(546066),V=e.i(156207),G=e.i(291967),q=e.i(556872),Y=e.i(534643),X=e.i(144977),J=e.i(770460),Q=e.i(653747),Z=e.i(461194),ee=e.i(357784),et=e.i(60212),en=e.i(337755),er=e.i(127864),ea=e.i(252960),es=e.i(297267),ei="NavigationMenu",[eo,el,ed]=(0,ee.createCollection)(ei),[ec,eu,em]=(0,ee.createCollection)(ei),[eh,ep]=(0,V.createContextScope)(ei,[ed,em]),[ex,ef]=eh(ei),[eg,ev]=eh(ei),ej=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:s,onValueChange:i,defaultValue:o,delayDuration:l=200,skipDelayDuration:d=300,orientation:c="horizontal",dir:u,...m}=e,[h,p]=n.useState(null),x=(0,X.useComposedRefs)(r,e=>p(e)),f=(0,J.useDirection)(u),g=n.useRef(0),v=n.useRef(0),j=n.useRef(0),[w,b]=n.useState(!0),[y,N]=(0,Y.useControllableState)({prop:s,onChange:e=>{let t=d>0;""!==e?(window.clearTimeout(j.current),t&&b(!1)):(window.clearTimeout(j.current),j.current=window.setTimeout(()=>b(!0),d)),i?.(e)},defaultProp:o??"",caller:ei}),C=n.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>N(""),150)},[N]),k=n.useCallback(e=>{window.clearTimeout(v.current),N(e)},[N]),T=n.useCallback(e=>{y===e?window.clearTimeout(v.current):g.current=window.setTimeout(()=>{window.clearTimeout(v.current),N(e)},l)},[y,N,l]);return n.useEffect(()=>()=>{window.clearTimeout(g.current),window.clearTimeout(v.current),window.clearTimeout(j.current)},[]),(0,t.jsx)(eb,{scope:a,isRootMenu:!0,value:y,dir:f,orientation:c,rootNavigationMenu:h,onTriggerEnter:e=>{window.clearTimeout(g.current),w?T(e):k(e)},onTriggerLeave:()=>{window.clearTimeout(g.current),C()},onContentEnter:()=>window.clearTimeout(v.current),onContentLeave:C,onItemSelect:e=>{N(t=>t===e?"":e)},onItemDismiss:()=>N(""),children:(0,t.jsx)(q.Primitive.nav,{"aria-label":"Main","data-orientation":c,dir:f,...m,ref:x})})});ej.displayName=ei;var ew="NavigationMenuSub";n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,value:a,onValueChange:s,defaultValue:i,orientation:o="horizontal",...l}=e,d=ef(ew,r),[c,u]=(0,Y.useControllableState)({prop:a,onChange:s,defaultProp:i??"",caller:ew});return(0,t.jsx)(eb,{scope:r,isRootMenu:!1,value:c,dir:d.dir,orientation:o,rootNavigationMenu:d.rootNavigationMenu,onTriggerEnter:e=>u(e),onItemSelect:e=>u(e),onItemDismiss:()=>u(""),children:(0,t.jsx)(q.Primitive.div,{"data-orientation":o,...l,ref:n})})}).displayName=ew;var eb=e=>{let{scope:r,isRootMenu:a,rootNavigationMenu:s,dir:i,orientation:o,children:l,value:d,onItemSelect:c,onItemDismiss:u,onTriggerEnter:m,onTriggerLeave:h,onContentEnter:p,onContentLeave:x}=e,[f,g]=n.useState(null),[v,j]=n.useState(new Map),[w,b]=n.useState(null);return(0,t.jsx)(ex,{scope:r,isRootMenu:a,rootNavigationMenu:s,value:d,previousValue:(0,en.usePrevious)(d),baseId:(0,Z.useId)(),dir:i,orientation:o,viewport:f,onViewportChange:g,indicatorTrack:w,onIndicatorTrackChange:b,onTriggerEnter:(0,ea.useCallbackRef)(m),onTriggerLeave:(0,ea.useCallbackRef)(h),onContentEnter:(0,ea.useCallbackRef)(p),onContentLeave:(0,ea.useCallbackRef)(x),onItemSelect:(0,ea.useCallbackRef)(c),onItemDismiss:(0,ea.useCallbackRef)(u),onViewportContentChange:n.useCallback((e,t)=>{j(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:n.useCallback(e=>{j(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,t.jsx)(eo.Provider,{scope:r,children:(0,t.jsx)(eg,{scope:r,items:v,children:l})})})}
1,ey="NavigationMenuList",eN=n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,s=ef(ey,r),i=(0,t.jsx)(q.Primitive.ul,{"data-orientation":s.orientation,...a,ref:n});return(0,t.jsx)(q.Primitive.div,{style:{position:"relative"},ref:s.onIndicatorTrackChange,children:(0,t.jsx)(eo.Slot,{scope:r,children:s.isRootMenu?(0,t.jsx)(eU,{asChild:!0,children:i}):i})})});eN.displayName=ey;var eC="NavigationMenuItem",[ek,eT]=eh(eC);n.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:s,...i}=e,o=(0,Z.useId)(),l=n.useRef(null),d=n.useRef(null),c=n.useRef(null),u=n.useRef(()=>{}),m=n.useRef(!1),h=n.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(l.current){u.current();let t=e$(l.current);t.length&&eW("start"===e?t:t.reverse())}},[]),p=n.useCallback(()=>{if(l.current){var e;let t=e$(l.current);t.length&&((e=t).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),u.current=()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})})}},[]);return(0,t.jsx)(ek,{scope:a,value:s||o||"LEGACY_REACT_AUTO_VALUE",triggerRef:d,contentRef:l,focusProxyRef:c,wasEscapeCloseRef:m,onEntryKeyDown:h,onFocusProxyEnter:h,onRootContentClose:p,onContentFocusOutside:p,children:(0,t.jsx)(q.Primitive.li,{...i,ref:r})})}).displayName=eC;var eR="NavigationMenuTrigger",eE=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,disabled:s,...i}=e,o=ef(eR,e.__scopeNavigationMenu),l=eT(eR,e.__scopeNavigationMenu),d=n.useRef(null),c=(0,X.useComposedRefs)(d,l.triggerRef,r),u=eq(o.baseId,l.value),m=eY(o.baseId,l.value),h=n.useRef(!1),p=n.useRef(!1),x=l.value===o.value;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(eo.ItemSlot,{scope:a,value:l.value,children:(0,t.jsx)(eB,{asChild:!0,children:(0,t.jsx)(q.Primitive.button,{id:u,disabled:s,"data-disabled":s?"":void 0,"data-state":eG(x),"aria-expanded":x,"aria-controls":m,...i,ref:c,onPointerEnter:(0,G.composeEventHandlers)(e.onPointerEnter,()=>{p.current=!1,l.wasEscapeCloseRef.current=!1}),onPointerMove:(0,G.composeEventHandlers)(e.onPointerMove,eX(()=>{s||p.current||l.wasEscapeCloseRef.current||h.current||(o.onTriggerEnter(l.value),h.current=!0)})),onPointerLeave:(0,G.composeEventHandlers)(e.onPointerLeave,eX(()=>{s||(o.onTriggerLeave(),h.current=!1)})),onClick:(0,G.composeEventHandlers)(e.onClick,()=>{o.onItemSelect(l.value),p.current=x}),onKeyDown:(0,G.composeEventHandlers)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===o.dir?"ArrowLeft":"ArrowRight"}[o.orientation];x&&e.key===t&&(l.onEntryKeyDown(),e.preventDefault())})})})}),x&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(es.Root,{"aria-hidden":!0,tabIndex:0,ref:l.focusProxyRef,onFocus:e=>{let t=l.contentRef.current,n=e.relatedTarget,r=n===d.current,a=t?.contains(n);(r||!a)&&l.onFocusProxyEnter(r?"start":"end")}}),o.viewport&&(0,t.jsx)("span",{"aria-owns":m})]})]})});eE.displayName=eR;var eS="navigationMenu.linkSelect";n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,active:a,onSelect:s,...i}=e;return(0,t.jsx)(eB,{asChild:!0,children:(0,t.jsx)(q.Primitive.a,{"data-active":a?"":void 0,"aria-current":a?"page":void 0,...i,ref:n,onClick:(0,G.composeEventHandlers)(e.onClick,e=>{let t=e.target,n=new CustomEvent(eS,{bubbles:!0,cancelable:!0});if(t.addEventListener(eS,e=>s?.(e),{once:!0}),(0,q.dispatchDiscreteCustomEvent)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(eO,{bubbles:!0,cancelable:!0});(0,q.dispatchDiscreteCustomEvent)(t,e)}},{checkForDefaultPrevented:!1})})})}).displayName="NavigationMenuLink";var eL="NavigationMenuIndicator",eM=n.forwardRef((e,n)=>{let{forceMount:r,...a}=e,s=ef(eL,e.__scopeNavigationMenu),i=!!s.value;return s.indicatorTrack?W.default.createPortal((0,t.jsx)(Q.Presence,{present:r||i,children:(0,t.jsx)(eP,{...a,ref:n})}),s.indicatorTrack):null});eM.displayName=eL;var eP=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,...s}=e,i=ef(eL,a),o=el(a),[l,d]=n.useState(null),[c,u]=n.useState(null),m="horizontal"===i.orientation,h=!!i.value;n.useEffect(()=>{let e=o(),t=e.find(e=>e.value===i.value)?.ref.current;t&&d(t)},[o,i.value]);let p=()=>{l&&u({size:m?l.offsetWidth:l.offsetHeight,offset:m?l.offsetLeft:l.offsetTop})};return eV(l,p),eV(i.indicatorTrack,p),c?(0,t.jsx)(q.Primitive.div,{"aria-hidden":!0,"data-state":h?"visible":"hidden","data-orientation":i.orientation,...s,ref:r,
1style:{position:"absolute",...m?{left:0,width:c.size+"px",transform:`translateX(${c.offset}px)`}:{top:0,height:c.size+"px",transform:`translateY(${c.offset}px)`},...s.style}}):null}),eD="NavigationMenuContent",eI=n.forwardRef((e,n)=>{let{forceMount:r,...a}=e,s=ef(eD,e.__scopeNavigationMenu),i=eT(eD,e.__scopeNavigationMenu),o=(0,X.useComposedRefs)(i.contentRef,n),l=i.value===s.value,d={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...a};return s.viewport?(0,t.jsx)(eA,{forceMount:r,...d,ref:o}):(0,t.jsx)(Q.Presence,{present:r||l,children:(0,t.jsx)(ez,{"data-state":eG(l),...d,ref:o,onPointerEnter:(0,G.composeEventHandlers)(e.onPointerEnter,s.onContentEnter),onPointerLeave:(0,G.composeEventHandlers)(e.onPointerLeave,eX(s.onContentLeave)),style:{pointerEvents:!l&&s.isRootMenu?"none":void 0,...d.style}})})});eI.displayName=eD;var eA=n.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=ef(eD,e.__scopeNavigationMenu);return(0,er.useLayoutEffect)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,er.useLayoutEffect)(()=>()=>r(e.value),[e.value,r]),null}),eO="navigationMenu.rootContentDismiss",ez=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,value:s,triggerRef:i,focusProxyRef:o,wasEscapeCloseRef:l,onRootContentClose:d,onContentFocusOutside:c,...u}=e,m=ef(eD,a),h=n.useRef(null),p=(0,X.useComposedRefs)(h,r),x=eq(m.baseId,s),f=eY(m.baseId,s),g=el(a),v=n.useRef(null),{onItemDismiss:j}=m;n.useEffect(()=>{let e=h.current;if(m.isRootMenu&&e){let t=()=>{j(),d(),e.contains(document.activeElement)&&i.current?.focus()};return e.addEventListener(eO,t),()=>e.removeEventListener(eO,t)}},[m.isRootMenu,e.value,i,j,d]);let w=n.useMemo(()=>{let e=g().map(e=>e.value);"rtl"===m.dir&&e.reverse();let t=e.indexOf(m.value),n=e.indexOf(m.previousValue),r=s===m.value,a=n===e.indexOf(s);if(!r&&!a)return v.current;let i=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(a&&-1!==t)return t>n?"to-start":"to-end"}return null})();return v.current=i,i},[m.previousValue,m.value,m.dir,g,s]);return(0,t.jsx)(eU,{asChild:!0,children:(0,t.jsx)(et.DismissableLayer,{id:f,"aria-labelledby":x,"data-motion":w,"data-orientation":m.orientation,...u,ref:p,disableOutsidePointerEvents:!1,onDismiss:()=>{let e=new Event(eO,{bubbles:!0,cancelable:!0});h.current?.dispatchEvent(e)},onFocusOutside:(0,G.composeEventHandlers)(e.onFocusOutside,e=>{c();let t=e.target;m.rootNavigationMenu?.contains(t)&&e.preventDefault()}),onPointerDownOutside:(0,G.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.target,n=g().some(e=>e.ref.current?.contains(t)),r=m.isRootMenu&&m.viewport?.contains(t);(n||r||!m.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,G.composeEventHandlers)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=e$(e.currentTarget),n=document.activeElement,r=t.findIndex(e=>e===n);eW(e.shiftKey?t.slice(0,r).reverse():t.slice(r+1,t.length))?e.preventDefault():o.current?.focus()}}),onEscapeKeyDown:(0,G.composeEventHandlers)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),e_="NavigationMenuViewport",eK=n.forwardRef((e,n)=>{let{forceMount:r,...a}=e,s=!!ef(e_,e.__scopeNavigationMenu).value;return(0,t.jsx)(Q.Presence,{present:r||s,children:(0,t.jsx)(eF,{...a,ref:n})})});eK.displayName=e_;var eF=n.forwardRef((e,r)=>{let{__scopeNavigationMenu:a,children:s,...i}=e,o=ef(e_,a),l=(0,X.useComposedRefs)(r,o.onViewportChange),d=ev(eD,e.__scopeNavigationMenu),[c,u]=n.useState(null),[m,h]=n.useState(null),p=c?c?.width+"px":void 0,x=c?c?.height+"px":void 0,f=!!o.value,g=f?o.value:o.previousValue;return eV(m,()=>{m&&u({width:m.offsetWidth,height:m.offsetHeight})}),(0,t.jsx)(q.Primitive.div,{"data-state":eG(f),"data-orientation":o.orientation,...i,ref:l,style:{pointerEvents:!f&&o.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":p,"--radix-navigation-menu-viewport-height":x,...i.style},onPointerEnter:(0,G.composeEventHandlers)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,G.composeEventHandlers)(e.onPointerLeave,eX(o.onContentLeave)),children:Array.from(d.items).map(e=>{let[n,{ref:r,forceMount:a,...s}]=e,i=g===n;return(0,t.jsx)(Q.Presence,{present:a||i,children:(0,t.jsx)(ez,{...s,ref:(0,X.composeRefs)(r,e=>{i&&e&&h(e)})})},n)})})}
1),eU=n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,s=ef("FocusGroup",r);return(0,t.jsx)(ec.Provider,{scope:r,children:(0,t.jsx)(ec.Slot,{scope:r,children:(0,t.jsx)(q.Primitive.div,{dir:s.dir,...a,ref:n})})})}),eH=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],eB=n.forwardRef((e,n)=>{let{__scopeNavigationMenu:r,...a}=e,s=eu(r),i=ef("FocusGroupItem",r);return(0,t.jsx)(ec.ItemSlot,{scope:r,children:(0,t.jsx)(q.Primitive.button,{...a,ref:n,onKeyDown:(0,G.composeEventHandlers)(e.onKeyDown,e=>{if(["Home","End",...eH].includes(e.key)){let t=s().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),eH.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eW(t)),e.preventDefault()}})})})});function e$(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eW(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function eV(e,t){let n=(0,ea.useCallbackRef)(t);(0,er.useLayoutEffect)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function eG(e){return e?"open":"closed"}function eq(e,t){return`${e}-trigger-${t}`}function eY(e,t){return`${e}-content-${t}`}function eX(e){return t=>"mouse"===t.pointerType?e(t):void 0}var eJ=e.i(294237);n.forwardRef((e,n)=>{let{className:r,children:a,...s}=e;return(0,t.jsxs)(ej,{ref:n,className:(0,O.cn)("relative z-10 flex max-w-max flex-1 items-center justify-center",r),...s,children:[a,(0,t.jsx)(eZ,{})]})}).displayName=ej.displayName,n.forwardRef((e,n)=>{let{className:r,...a}=e;return(0,t.jsx)(eN,{ref:n,className:(0,O.cn)("group flex flex-1 list-none items-center justify-center space-x-1",r),...a})}).displayName=eN.displayName;let eQ=(0,eJ.cva)("group inline-flex h-9 w-max items-center justify-center rounded-md bg-transparent px-3 py-2 text-sm font-medium text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus:bg-muted focus:text-foreground focus:outline-none disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-muted data-[state=open]:text-foreground");n.forwardRef((e,n)=>{let{className:r,children:a,...s}=e;return(0,t.jsxs)(eE,{ref:n,className:(0,O.cn)(eQ(),"group",r),...s,children:[a," ",(0,t.jsx)($.ChevronDown,{className:"relative top-[1px] ml-1 h-3 w-3 transition duration-300 group-data-[state=open]:rotate-180","aria-hidden":"true"})]})}).displayName=eE.displayName,n.forwardRef((e,n)=>{let{className:r,...a}=e;return(0,t.jsx)(eI,{ref:n,className:(0,O.cn)("left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",r),...a})}).displayName=eI.displayName;let eZ=n.forwardRef((e,n)=>{let{className:r,...a}=e;return(0,t.jsx)("div",{className:(0,O.cn)("absolute left-0 top-full flex justify-center"),children:(0,t.jsx)(eK,{className:(0,O.cn)("origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",r),ref:n,...a})})});eZ.displayName=eK.displayName,n.forwardRef((e,n)=>{let{className:r,...a}=e;return(0,t.jsx)(eM,{ref:n,className:(0,O.cn)("top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in",r),...a,children:(0,t.jsx)("div",{className:"relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"})})}).displayName=eM.displayName;let e0=[{key:"build",labelKey:"header.productsCategory.build",ids:(0,L.getToolsByCategoryWithoutSpotlight)("build")},{key:"apply",labelKey:"header.productsCategory.apply",ids:(0,L.getToolsByCategoryWithoutSpotlight)("apply")}
1,{key:"hired",labelKey:"header.productsCategory.hired",ids:(0,L.getToolsByCategoryWithoutSpotlight)("hired")}];function e1(){let e=(0,a.useTranslations)("landing"),[r,i]=(0,n.useState)(!1),o=(0,n.useRef)(null),l=(0,n.useRef)(!1),d=L.SPOTLIGHT_TOOL,c=(0,n.useCallback)(()=>{o.current&&(clearTimeout(o.current),o.current=null)},[]),u=(0,n.useCallback)(e=>{"mouse"===e&&(c(),o.current=setTimeout(()=>i(!1),120))},[c]),m=(0,n.useCallback)(e=>{"mouse"===e&&(c(),i(!0))},[c]);return(0,n.useEffect)(()=>()=>c(),[c]),(0,n.useEffect)(()=>{r&&!l.current?(l.current=!0,b.landingAnalytics.navProductsDropdownOpen()):r||(l.current=!1)},[r]),(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsxs)(h.DropdownMenu,{open:r,onOpenChange:i,modal:!1,children:[(0,t.jsxs)(h.DropdownMenuTrigger,{onPointerEnter:e=>m(e.pointerType),onPointerLeave:e=>u(e.pointerType),className:(0,O.cn)(eQ(),"group gap-1"),children:[e("header.products"),(0,t.jsx)($.ChevronDown,{className:"h-3.5 w-3.5 transition-transform duration-200 group-data-[state=open]:rotate-180","aria-hidden":!0})]}),(0,t.jsxs)(h.DropdownMenuContent,{align:"start",sideOffset:8,className:"w-[840px] rounded-xl p-3 shadow-lg",onPointerEnter:c,onPointerLeave:e=>u(e.pointerType),children:[d?(0,t.jsx)(e5,{tool:d,label:e(`${d.translationKey}.name`),description:e(`${d.translationKey}.shortDescription`),beta:e("home.autopilot.beta"),onClick:()=>b.landingAnalytics.navProductsToolClick({toolId:d.id,category:d.category})}):null,(0,t.jsx)("div",{className:"grid grid-cols-3 gap-x-4",children:e0.map(n=>{let{key:r,labelKey:a,ids:s}=n;return(0,t.jsxs)("section",{className:"space-y-0.5",children:[(0,t.jsx)("div",{className:"px-3 pb-1.5 pt-1 text-xs font-medium text-muted-foreground",children:e(a)}),s.map(n=>(0,t.jsx)(e2,{tool:L.TOOLS[n],label:e(`${L.TOOLS[n].translationKey}.name`),description:e(`${L.TOOLS[n].translationKey}.shortDescription`),newBadge:L.TOOLS[n].isNew?e("header.newBadge"):null,onClick:()=>b.landingAnalytics.navProductsToolClick({toolId:n,category:r})},n))]},r)})})]})]}),(0,t.jsx)(s.Link,{href:"/pricing",className:eQ(),children:e("nav.pricing")}),(0,t.jsx)(s.Link,{href:"/docs",className:eQ(),children:e("nav.docs")}),(0,t.jsx)(s.Link,{href:"/changelog",className:eQ(),children:e("nav.changelog")})]})}function e5(e){let{tool:n,label:r,description:a,beta:i,onClick:o}=e;return(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,className:"p-0 focus:bg-transparent data-[highlighted]:bg-transparent",children:(0,t.jsxs)(s.Link,{href:n.href,onClick:o,className:"group/spot relative mb-2.5 flex items-center overflow-hidden rounded-lg border border-zinc-800 bg-[#1a1a1a] outline-none transition-all duration-200 will-change-transform data-[highlighted]:-translate-y-px data-[highlighted]:border-zinc-600 data-[highlighted]:shadow-[0_8px_24px_-10px_rgba(0,0,0,0.55)]",children:[(0,t.jsx)(A,{label:r,description:a,beta:i,size:"desktop"}),(0,t.jsx)(B.ArrowRight,{size:16,"aria-hidden":!0,className:"mr-3.5 shrink-0 self-center text-zinc-500 opacity-0 transition-all duration-200 group-data-[highlighted]/spot:translate-x-0.5 group-data-[highlighted]/spot:opacity-100"})]})})}function e2(e){let{tool:n,label:r,description:a,newBadge:i,onClick:o}=e,l=n.iconType.icon;return(0,t.jsx)(h.DropdownMenuItem,{asChild:!0,className:"p-0 focus:bg-transparent data-[highlighted]:bg-transparent",children:(0,t.jsxs)(s.Link,{href:n.href,onClick:o,className:"group/row flex items-center gap-3 rounded-md px-3 py-2 outline-none transition-colors duration-150 data-[highlighted]:bg-foreground
1/[0.06]",children:[(0,t.jsx)("span",{"aria-hidden":!0,className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg border border-border/40 bg-muted/30 transition-colors duration-150 group-data-[highlighted]/row:border-foreground group-data-[highlighted]/row:bg-foreground",children:(0,t.jsx)(l,{size:18,strokeWidth:1.75,className:"text-muted-foreground transition-colors duration-150 group-data-[highlighted]/row:text-background"})}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-center gap-1.5",children:[(0,t.jsx)("span",{className:"truncate text-sm font-medium text-foreground/80 transition-colors duration-150 group-data-[highlighted]/row:text-foreground",children:r}),i?(0,t.jsx)("span",{className:"shrink-0 rounded-full bg-emerald-500/10 px-1.5 py-px text-[10px] font-medium leading-4 text-emerald-500",children:i}):null]}),(0,t.jsx)("span",{className:"truncate text-xs text-muted-foreground/70 transition-colors duration-150 group-data-[highlighted]/row:text-foreground/70",children:a})]})]})})}let e3={top:"var(--ph-banner-h, 0px)"};function e6(){return(0,t.jsx)("header",{"data-site-header":"",className:"fixed left-0 right-0 h-[--site-header-h] bg-background/95 backdrop-blur-sm border-b border-border/50 z-50 transition-[top] duration-200",style:e3,children:(0,t.jsxs)("nav",{"aria-label":"Main",className:"h-full px-4 sm:px-6 md:px-12 lg:px-24 flex items-center",children:[(0,t.jsxs)("div",{className:"flex items-center gap-8",children:[(0,t.jsx)(e7,{}),(0,t.jsx)("div",{className:"hidden md:flex items-center",children:(0,t.jsx)(e1,{})})]}),(0,t.jsxs)("div",{className:"ml-auto flex items-center gap-2",children:[(0,t.jsx)(e4,{}),(0,t.jsx)(F,{})]})]})})}function e7(){return(0,t.jsxs)(s.Link,{href:"/",className:"flex items-center gap-2.5 hover:opacity-80 transition-opacity",children:[(0,t.jsx)(r.default,{src:"/logo.png",alt:"Roasted.cv",width:28,height:28,priority:!0}),(0,t.jsxs)("span",{className:"font-semibold text-[15px] tracking-tight text-foreground",children:["roasted",(0,t.jsx)("span",{className:"text-emerald-500",children:".cv"})]})]})}function e4(){let e=(0,a.useTranslations)("landing"),r=(0,a.useTranslations)("common.userMenu"),o=(0,s.usePathname)(),{user:l,isLoading:d}=(0,f.useUser)(),c=o?.startsWith("/dashboard")??!1,[u,m]=(0,n.useState)(!1);return((0,n.useEffect)(()=>m(!0),[]),!u||d)?(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-2",children:[(0,t.jsx)(p.Skeleton,{className:"h-8 w-20"}),(0,t.jsx)(p.Skeleton,{className:"h-8 w-8 rounded-full"})]}):l?(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-2",children:[!c&&(0,t.jsx)(i.Button,{asChild:!0,variant:"outline",size:"sm",children:(0,t.jsx)(s.Link,{href:"/dashboard",onClick:()=>b.landingAnalytics.navDashboardButtonClick(),children:r("openDashboard")})}),(0,t.jsx)(C,{})]}):(0,t.jsxs)("div",{className:"hidden md:flex items-center gap-1",children:[(0,t.jsx)(y.ThemeToggle,{variant:"compact"}),(0,t.jsx)(N.LanguageSwitcher,{variant:"compact"}),(0,t.jsx)(i.Button,{asChild:!0,variant:"ghost",size:"sm",children:(0,t.jsx)(s.Link,{href:"/login",onClick:()=>b.landingAnalytics.navSignInClick(),children:e("header.signIn")})}),(0,t.jsx)(i.Button,{asChild:!0,size:"sm",children:(0,t.jsx)(s.Link,{href:"/login?intent=signup",rel:"nofollow",onClick:()=>b.landingAnalytics.navSignUpClick(),children:e("header.signUp")})})]})}e.s(["SiteHeader",()=>e6],842620)}]);

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.