!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="07125018-32b6-4fef-b01d-9e5202297a61",e._sentryDebugIdIdentifier="sentry-dbid-07125018-32b6-4fef-b01d-9e5202297a61")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3045],{27103:function(e,t,n){n.d(t,{zx:function(){return d},$Y:function(){return i},Hp:function(){return o}});var s=n(13868),a=n(46694);let r=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e,"data-sentry-element":"svg","data-sentry-component":"LoadingIcon","data-sentry-source-file":"LoadingIcon.tsx",children:(0,s.jsx)("path",{fill:"currentColor",d:"M12.782 7.11a2.055 2.055 0 1 0 0-4.11 2.055 2.055 0 0 0 0 4.11ZM12.784 20.567a1.233 1.233 0 1 0 0-2.466 1.233 1.233 0 0 0 0 2.466ZM7.732 8.994a1.849 1.849 0 1 0 0-3.698 1.849 1.849 0 0 0 0 3.698ZM17.832 18.269a1.027 1.027 0 1 0 0-2.054 1.027 1.027 0 0 0 0 2.054ZM5.643 13.837a1.643 1.643 0 1 0 0-3.286 1.643 1.643 0 0 0 0 3.286ZM19.923 13.015a.821.821 0 1 0 0-1.642.821.821 0 0 0 0 1.642ZM17.83 7.761a.616.616 0 1 0 0-1.232.616.616 0 0 0 0 1.232ZM7.733 18.717a1.467 1.467 0 1 0 0-2.934 1.467 1.467 0 0 0 0 2.934Z","data-sentry-element":"path","data-sentry-source-file":"LoadingIcon.tsx"})});var l=n(71839);let o=e=>e.isDisabled?"disabled":e.isPressed?"pressed":e.isFocusVisible?"focusVisible":e.isHovered?"hovered":"default",i=(0,l.j)("no-break relative inline-flex touch-none select-none items-center justify-center rounded-full border border-transparent px-6 py-1 font-medium outline-none transition-colors motion-reduce:transition-none",{variants:{size:{small:"typography-body-10 lg:typography-body-12 min-h-7 px-3 py-1 font-normal",medium:"typography-body-14 lg:typography-body-16 min-h-10",large:"min-h-[52px] text-[24px] font-medium leading-[36px]"},variant:{filled:"bg-brand-60 text-white",outlined:"border-brand-60 text-brand-60",text:"text-neutral-20"},isFocusVisible:{true:"outline-default outline outline-2 outline-offset-2"},state:{default:"",hovered:"",focusVisible:"",pressed:"",disabled:""},compact:{true:"px-2 max-md:py-2 md:px-4"}},compoundVariants:[{variant:"filled",state:["hovered","focusVisible"],class:"bg-brand-50"},{variant:"filled",state:"pressed",class:"bg-brand-40"},{variant:"filled",state:"disabled",class:"bg-neutral-95 text-neutral-50"},{variant:"text",state:["hovered","focusVisible"],class:"bg-brand-99"},{variant:"text",state:"pressed",class:"bg-brand-95"},{variant:"text",state:"disabled",class:"text-neutral-80"},{variant:"outlined",state:["hovered","focusVisible"],class:"border-brand-50 text-brand-50"},{variant:"outlined",state:"pressed",class:"border-brand-40 text-brand-40"},{variant:"outlined",state:"disabled",class:"border-neutral-90 text-neutral-50"}],defaultVariants:{size:"medium",state:"default",variant:"filled"}}),d=e=>{let{startIcon:t,endIcon:n,className:d,variant:c,size:u,isDisabled:f,isPending:x,children:p,...m}=e;return(0,s.jsxs)(a.z,{...m,isDisabled:x||f,style:{WebkitTouchCallout:"none"},className:e=>i({size:u,variant:c,compact:!!(t||n),state:o(e),isFocusVisible:e.isFocusVisible,className:d}),"data-sentry-element":"AriaButton","data-sentry-component":"Button","data-sentry-source-file":"Button.tsx",children:[(0,s.jsxs)("span",{className:(0,l.cn)("inline-flex items-center gap-2",x&&"opacity-0"),children:[t,p&&(0,s.jsx)("span",{className:(0,l.cn)(!!(t||n)&&"max-md:hidden"),children:p}),n]}),x&&(0,s.jsx)("span",{className:"absolute inset-0 flex items-center justify-center",children:(0,s.jsx)(r,{className:"h-6 w-6 animate-spin"})})]})}},22801:function(e,t,n){n.d(t,{Py:function(){return o},$D:function(){return d}});let s=[{href:"/joy-score",label:"Joy Score"},{href:"/duosync",label:"DuoSync"},{href:"/relasync",label:"RelaSync"},{href:"/about",label:"About"},{href:"/pricing",label:"Pricing"},{href:"/resources",label:"Resources"}],a=[{href:"/",label:"Home"},...s],r=[{href:"/app/joy-score",label:"Joy Score"},{href:"/app/duosync",label:"DuoSync"},{href:"/app/relasync",label:"RelaSync"},{href:"/app/assessments",label:"My Assessments"},{href:"/app/resources",label:"Resources"}],l=[...r,{href:"/home",label:"Home",newTab:!0}],o=e=>"app"===e?r:s,i=e=>"app"===e?l:a,d=e=>{let t=i(e);return{assessments:t.filter(e=>"Joy Score"===e.label||"DuoSync"===e.label||"RelaSync"===e.label),other:t.filter(e=>"Joy Score"!==e.label&&"DuoSync"!==e.label&&"RelaSync"!==e.label)}}},83655:function(e,t,n){n.d(t,{r:function(){return s.Link}});var s=n(23409)},50762:function(e,t,n){n.d(t,{Q:function(){return s.LinkButton}});var s=n(12212)},87907:function(e,t,n){n.d(t,{Q:function(){return l}});var s=n(82251),a=n(80074),r=n(21295);let l=()=>{let{signOut:e}=(0,s.ll)(),t=(0,a.U0)();return(0,r.useCallback)(async()=>{await e({redirectUrl:"/"}),t.capture("user logged out"),t.reset()},[e,t])}},71839:function(e,t,n){n.d(t,{cn:function(){return r},j:function(){return l}});var s=n(7784),a=n(18529);let r=function(){for(var e=arguments.length,t=Array(e),n=0;n(0,a.m6)(r(e))}},76475:function(e,t,n){n.d(t,{BH:function(){return s},IQ:function(){return a},Qm:function(){return r}});let s=e=>e.endsWith("s")||e.endsWith("S")?"".concat(e,"'"):"".concat(e,"'s"),a=(e,t)=>{let n=e.split(" "),s=n[0]||"",a=n.slice(1).join(" ");return 1===t.filter(e=>e.split(" ")[0]===s).length?s:a?"".concat(s," ").concat(a[0],"."):s},r=e=>e.split(" ").map(e=>e.charAt(0)).join("").toUpperCase().slice(0,2)},71089:function(e,t,n){n.d(t,{NavigationDesktop:function(){return i}});var s=n(13868),a=n(9607),r=n(21295),l=n(83655),o=n(22801);let i=e=>{let{mode:t}=e,n=(0,a.useRouter)(),i=(0,o.Py)(t);return(0,r.useEffect)(()=>{n.prefetch("/app/joy-score/[id]/steps/1");let e=setTimeout(()=>{i.forEach((e,t)=>{setTimeout(()=>{n.prefetch(e.href)},100*t)})},1e3);return()=>clearTimeout(e)},[n,i]),(0,s.jsx)("nav",{className:"typography-body-14 lg:typography-body-16 hidden items-center gap-5 md:flex xl:gap-8","data-sentry-component":"NavigationDesktop","data-sentry-source-file":"NavigationDesktop.tsx",children:i.map(e=>(0,s.jsx)(l.r,{href:e.href,className:"p-2",activeClassName:"text-brand-60",children:e.label},e.label))})}},18965:function(e,t,n){n.d(t,{NavigationMobile:function(){return N}});var s=n(13868),a=n(59245),r=n(9607),l=n(20501),o=n(46694),i=n(29293),d=n(96405),c=n(27103),u=n(83655),f=n(50762);let x=e=>(0,s.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 191 40",fill:"none",...e,"data-sentry-element":"svg","data-sentry-component":"Logo","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsx)("path",{fill:"url(#logo-a)",fillRule:"evenodd",d:"M2.497 26.497c3.542 8.054 12.943 11.712 20.997 8.17 8.054-3.543 11.712-12.943 8.17-20.998a15.837 15.837 0 0 0-5.472-6.658C21.785 3.947 15.937 3.182 10.666 5.5 2.612 9.042-1.046 18.443 2.496 26.497Zm-.755.332c3.726 8.47 13.613 12.318 22.084 8.592 8.47-3.726 12.317-13.613 8.592-22.083a16.665 16.665 0 0 0-5.755-7.002c-4.634-3.223-10.785-4.029-16.329-1.59C1.864 8.47-1.983 18.358 1.742 26.829Z",clipRule:"evenodd","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"url(#logo-b)",d:"M24.42 30.67c-5.847 4.046-13.867 2.587-17.914-3.26-4.047-5.847-2.588-13.867 3.259-17.914a12.868 12.868 0 0 1 12.55-1.184 12.805 12.805 0 0 1 5.364 4.443c4.047 5.847 2.588 13.867-3.259 17.914Z","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"url(#logo-c)",d:"M4.687 28.61a1.648 1.648 0 1 1-3.296 0 1.648 1.648 0 0 1 3.296 0Z","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"url(#logo-d)",d:"M10.226 6.075a1.648 1.648 0 1 1-3.296 0 1.648 1.648 0 0 1 3.296 0Z","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"url(#logo-e)",d:"M27.25 34.091a1.648 1.648 0 1 1-3.297 0 1.648 1.648 0 0 1 3.296 0Z","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"url(#logo-f)",d:"M33.015 11.568a1.648 1.648 0 1 1-3.296 0 1.648 1.648 0 0 1 3.296 0Z","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"#fff",d:"M21.484 11.843a1.648 1.648 0 1 1-3.297 0 1.648 1.648 0 0 1 3.297 0ZM10.5 17.611a1.648 1.648 0 1 1-3.297 0 1.648 1.648 0 0 1 3.296 0ZM27.25 22.83a1.648 1.648 0 1 1-3.297 0 1.648 1.648 0 0 1 3.296 0ZM16.257 28.597a1.648 1.648 0 1 1-3.296 0 1.648 1.648 0 0 1 3.296 0ZM21.143 20.26a3.88 3.88 0 1 1-7.76-.001 3.88 3.88 0 0 1 7.76 0Z","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"#fff",fillRule:"evenodd",d:"M17.265 28.607a8.347 8.347 0 1 0 0-16.695 8.347 8.347 0 0 0 0 16.695Zm0 .824a9.171 9.171 0 1 0 0-18.343 9.171 9.171 0 0 0 0 18.343Z",clipRule:"evenodd","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("path",{fill:"#1F2633",d:"M46.364 29c-1.944 0-3.426-.632-4.495-1.427a1.776 1.776 0 0 1-.705-1.38c0-.96.778-1.731 1.774-1.731.461 0 .753.117 1.117.374.754.538 1.41.819 2.26.819 1.458 0 2.333-.82 2.333-2.714v-8.89c0-1.006.826-1.801 1.87-1.801 1.045 0 1.871.795 1.871 1.801v9.054c0 1.941-.583 3.392-1.603 4.374C49.74 28.485 48.21 29 46.364 29ZM65.94 29c-5.305 0-9.112-3.78-9.112-8.453V20.5c0-4.673 3.856-8.5 9.162-8.5 5.305 0 9.112 3.78 9.112 8.453v.047c0 4.673-3.856 8.5-9.162 8.5Zm.05-3.334c3.045 0 5.157-2.301 5.157-5.119V20.5c0-2.818-2.161-5.166-5.207-5.166-3.045 0-5.157 2.301-5.157 5.119v.047c0 2.818 2.16 5.166 5.207 5.166ZM83.137 26.968v-4.605l-5.488-7.105c-.267-.347-.462-.763-.462-1.272 0-.95.826-1.713 1.87-1.713.85 0 1.385.44 1.846 1.088l4.128 5.67 4.201-5.716c.462-.649 1.02-1.065 1.797-1.065 1.142 0 1.822.764 1.822 1.736 0 .486-.243.925-.486 1.25l-5.488 7.058v4.674c0 .995-.826 1.782-1.87 1.782s-1.87-.787-1.87-1.782ZM104.185 29c-5.23 0-8.982-3.78-8.982-8.453V20.5c0-4.673 3.801-8.5 9.031-8.5 5.229 0 8.982 3.78 8.982 8.453v.047c0 4.673-3.801 8.5-9.031 8.5Zm.049-3.334c3.002 0 5.084-2.301 5.084-5.119V20.5c0-2.818-2.131-5.166-5.133-5.166-3.002 0-5.084 2.301-5.084 5.119v.047c0 2.818 2.131 5.166 5.133 5.166ZM117.914 26.95v-12.9c0-1.005.82-1.8 1.856-1.8 1.037 0 1.856.795 1.856 1.8v11.428h6.87c.94 0 1.688.724 1.688 1.636 0 .912-.748 1.636-1.688 1.636h-8.726c-1.036 0-1.856-.795-1.856-1.8ZM141.513 29c-5.229 0-8.982-3.78-8.982-8.453V20.5c0-4.673 3.801-8.5 9.031-8.5 5.229 0 8.982 3.78 8.982 8.453v.047c0 4.673-3.801 8.5-9.031 8.5Zm.049-3.334c3.002 0 5.084-2.301 5.084-5.119V20.5c0-2.818-2.131-5.166-5.133-5.166-3.002 0-5.084 2.301-5.084 5.119v.047c0 2.818 2.131 5.166 5.133 5.166ZM163.391 29c-5.29 0-8.93-3.593-8.93-8.453V20.5c0-4.673 3.761-8.5 8.905-8.5 2.573 0 4.271.563 5.8 1.597.364.258.776.751.776 1.456 0 .986-.825 1.784-1.844 1.784-.534 0-.873-.188-1.14-.376-1.019-.704-2.111-1.127-3.713-1.127-2.718 0-4.877 2.325-4.877 5.119v.047c0 3.006 2.135 5.213 5.144 5.213 1.359 0 2.572-.329 3.519-.986v-2.349h-2.524c-.898 0-1.626-.68-1.626-1.55 0-.868.728-1.572 1.626-1.572h4.271c1.043 0 1.868.798 1.868 1.808v3.991c0 1.057-.412 1.785-1.31 2.301A11.575 11.575 0 0 1 163.391 29ZM179.727 26.968v-4.605l-5.488-7.105c-.267-.347-.462-.763-.462-1.272 0-.95.826-1.713 1.87-1.713.85 0 1.384.44 1.846 1.088l4.128 5.67 4.201-5.716c.462-.649 1.02-1.065 1.797-1.065 1.142 0 1.821.764 1.821 1.736 0 .486-.242.925-.485 1.25l-5.488 7.058v4.674c0 .995-.826 1.782-1.87 1.782s-1.87-.787-1.87-1.782Z","data-sentry-element":"path","data-sentry-source-file":"Logo.tsx"}),(0,s.jsxs)("defs",{"data-sentry-element":"defs","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsxs)("linearGradient",{id:"logo-a",x1:7.05,x2:38.416,y1:5.603,y2:26.044,gradientUnits:"userSpaceOnUse","data-sentry-element":"linearGradient","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsx)("stop",{stopColor:"#AE0758","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:.498,stopColor:"#E83620","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:1,stopColor:"#EF8064","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"})]}),(0,s.jsxs)("linearGradient",{id:"logo-b",x1:7.412,x2:34.059,y1:10.622,y2:21.465,gradientUnits:"userSpaceOnUse","data-sentry-element":"linearGradient","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsx)("stop",{stopColor:"#AE0758","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:.498,stopColor:"#E83620","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:1,stopColor:"#EF8064","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"})]}),(0,s.jsxs)("linearGradient",{id:"logo-c",x1:2.393,x2:4.041,y1:27.088,y2:29.972,gradientUnits:"userSpaceOnUse","data-sentry-element":"linearGradient","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsx)("stop",{stopColor:"#C61A41","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:1,stopColor:"#CF2238","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"})]}),(0,s.jsxs)("linearGradient",{id:"logo-d",x1:9.951,x2:7.204,y1:5.251,y2:7.036,gradientUnits:"userSpaceOnUse","data-sentry-element":"linearGradient","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsx)("stop",{stopColor:"#B50C51","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:1,stopColor:"#B00856","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"})]}),(0,s.jsxs)("linearGradient",{id:"logo-e",x1:24.09,x2:26.975,y1:34.916,y2:33.13,gradientUnits:"userSpaceOnUse","data-sentry-element":"linearGradient","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsx)("stop",{stopColor:"#EC6249","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:1,stopColor:"#ED6A50","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"})]}),(0,s.jsxs)("linearGradient",{id:"logo-f",x1:30.268,x2:31.916,y1:10.332,y2:13.216,gradientUnits:"userSpaceOnUse","data-sentry-element":"linearGradient","data-sentry-source-file":"Logo.tsx",children:[(0,s.jsx)("stop",{stopColor:"#E9432C","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"}),(0,s.jsx)("stop",{offset:1,stopColor:"#EA4E36","data-sentry-element":"stop","data-sentry-source-file":"Logo.tsx"})]})]})]});var p=n(87907),m=n(68974);let y=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e,"data-sentry-element":"svg","data-sentry-component":"HamburgerMenuIcon","data-sentry-source-file":"HamburgerMenuIcon.tsx",children:(0,s.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M3.992 5.749a.65.65 0 0 1 .65-.65h14.713a.65.65 0 1 1 0 1.3H4.642a.65.65 0 0 1-.65-.65Zm0 12.616a.65.65 0 0 1 .65-.65h14.713a.65.65 0 0 1 0 1.3H4.642a.65.65 0 0 1-.65-.65Zm.65-7.015a.65.65 0 1 0 0 1.3h14.713a.65.65 0 1 0 0-1.3H4.642Z",clipRule:"evenodd","data-sentry-element":"path","data-sentry-source-file":"HamburgerMenuIcon.tsx"})});var h=n(71839),b=n(76475),g=n(21295);let v=e=>{let{onClose:t}=e,n=(0,r.usePathname)(),s=(0,g.useRef)(n);return(0,g.useEffect)(()=>{s.current!==n&&t()},[t,n]),null};var j=n(22801);let N=e=>{let{user:t,mode:n}=e,g=(0,r.usePathname)(),N=(0,p.Q)(),{assessments:w,other:M}=(0,j.$D)(n);return(0,s.jsxs)(l.hg,{"data-sentry-element":"DialogTrigger","data-sentry-component":"NavigationMobile","data-sentry-source-file":"NavigationMobile.tsx",children:[(0,s.jsx)(o.z,{"aria-label":"Open navigation",className:e=>{let{isFocusVisible:t}=e;return(0,h.cn)("text-neutral-30 hover:text-brand-60 focus-visible:text-brand-60 pressed:text-brand-60 translate-x-2 p-2 outline-none transition-colors motion-reduce:transition-none md:hidden",t&&"outline-default outline outline-2 outline-offset-2")},"data-sentry-element":"AriaButton","data-sentry-source-file":"NavigationMobile.tsx",children:(0,s.jsx)(y,{className:"h-6 w-6","data-sentry-element":"HamburgerMenuIcon","data-sentry-source-file":"NavigationMobile.tsx"})}),(0,s.jsx)(i.u_,{className:"fixed inset-0 z-30 overflow-scroll bg-gradient-to-b from-neutral-100 to-[#e7e8f0]","data-sentry-element":"Modal","data-sentry-source-file":"NavigationMobile.tsx",children:(0,s.jsx)(l.Vq,{className:"h-full outline-none","data-sentry-element":"Dialog","data-sentry-source-file":"NavigationMobile.tsx",children:e=>{let{close:r}=e;return(0,s.jsxs)("div",{className:"container flex min-h-full flex-col gap-4",children:[(0,s.jsx)(v,{onClose:r}),(0,s.jsxs)("div",{className:"flex h-[68px] flex-none items-center justify-between gap-4 md:h-[88px]",children:[(0,s.jsx)(x,{className:"h-6 xl:h-10"}),(0,s.jsx)(o.z,{"aria-label":"Close navigation",className:e=>{let{isFocusVisible:t}=e;return(0,h.cn)("text-neutral-30 hover:text-brand-60 focus-visible:text-brand-60 pressed:text-brand-60 translate-x-2 p-2 outline-none transition-colors motion-reduce:transition-none",t&&"outline-default outline outline-2 outline-offset-2")},onPress:r,children:(0,s.jsx)(m.a,{className:"h-6 w-6"})})]}),(0,s.jsx)(d.F.Provider,{value:{onPress:e=>{e.target.getAttribute("href")!==g||e.metaKey||r()}},children:(0,s.jsxs)("nav",{className:"grow",children:["app"===n&&t&&(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3 py-2",children:[(0,s.jsx)("div",{className:"bg-brand-60 flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full",children:(0,s.jsx)("span",{className:"typography-body-16 font-semibold text-white",children:(0,b.Qm)(t.name||"U")})}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[(0,s.jsx)("div",{className:"font-body text-brand-60 mb-1 truncate text-[24px] leading-[36px]",title:t.name,children:t.name}),(0,s.jsx)("div",{className:"typography-body-16 truncate text-neutral-50",title:t.email,children:t.email})]})]}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("ul",{className:"border-neutral-80 flex flex-col gap-4 border-b pb-6",children:w.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(u.r,{href:e.href,target:e.newTab?"_blank":void 0,className:"font-body pressed:text-brand-60 inline-flex py-2 text-[24px] font-bold leading-[36px]",activeClassName:"text-brand-60",children:e.label},e.label)},e.label))}),(0,s.jsx)("ul",{className:"flex flex-col gap-4 pt-6",children:M.map(e=>(0,s.jsx)("li",{children:(0,s.jsx)(u.r,{href:e.href,target:e.newTab?"_blank":void 0,className:"font-body pressed:text-brand-60 inline-flex py-2 text-[24px] leading-[36px]",activeClassName:"text-brand-60",children:e.label},e.label)},e.label))})]})]})}),(0,s.jsxs)("div",{className:"mx-auto flex w-full max-w-96 flex-none gap-6 pb-11",children:[(0,s.jsxs)(a.tj,{children:[(0,s.jsx)(f.Q,{variant:"outlined",size:"large",href:"/sign-in",className:"grow",children:"Log in"}),(0,s.jsx)(f.Q,{href:"/sign-up",size:"large",className:"grow",children:"Sign up"})]}),(0,s.jsx)(a.CH,{children:(0,s.jsx)(c.zx,{variant:"outlined",size:"large",className:"grow",onPress:()=>{N(),r()},children:"Log out"})})]})]})}})})]})}},9373:function(e,t,n){n.d(t,{ProfileMenu:function(){return c}});var s=n(13868),a=n(39814),r=n(46694),l=n(95298),o=n(87907),i=n(71839),d=n(76475);let c=e=>{let{user:t}=e,n=(0,o.Q)();return(0,s.jsxs)(a.bF,{"data-sentry-element":"MenuTrigger","data-sentry-component":"ProfileMenu","data-sentry-source-file":"ProfileMenu.tsx",children:[(0,s.jsx)(r.z,{className:e=>(0,i.cn)("outline-none transition-all motion-reduce:transition-none",e.isFocusVisible&&"outline-default outline outline-2 outline-offset-2",(e.isHovered||e.isFocusVisible||e.isPressed)&&"scale-105"),"data-sentry-element":"Button","data-sentry-source-file":"ProfileMenu.tsx",children:(0,s.jsx)("div",{className:"bg-brand-60 flex h-10 w-10 items-center justify-center rounded-full",children:(0,s.jsx)("span",{className:"typography-body-14 font-semibold text-white",children:(0,d.Qm)(t.name||"U")})})}),(0,s.jsxs)(l.J,{placement:"bottom right",className:"typography-body-14 lg:typography-body-16 flex w-64 flex-col overflow-hidden rounded-lg bg-white shadow-[0px_8px_24px_0px_rgba(149,157,165,0.2)]","data-sentry-element":"Popover","data-sentry-source-file":"ProfileMenu.tsx",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 px-4 py-3",children:[(0,s.jsx)("div",{className:"bg-brand-60 flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full",children:(0,s.jsx)("span",{className:"typography-body-16 font-semibold text-white",children:(0,d.Qm)(t.name||"U")})}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col",children:[(0,s.jsx)("div",{className:"truncate font-semibold",title:t.name,children:t.name}),(0,s.jsx)("div",{className:"mt-0.5 truncate text-neutral-50",title:t.email,children:t.email})]})]}),(0,s.jsxs)(a.v2,{className:"flex flex-col outline-none focus-visible:outline-none","data-sentry-element":"Menu","data-sentry-source-file":"ProfileMenu.tsx",children:[(0,s.jsx)(a.sN,{href:"/app/assessments",target:"_blank",className:"focus:text-brand-60 cursor-pointer px-4 py-3 outline-none transition-colors motion-reduce:transition-none","data-sentry-element":"MenuItem","data-sentry-source-file":"ProfileMenu.tsx",children:"Home"}),(0,s.jsx)(a.sN,{className:"focus:text-brand-60 cursor-pointer px-4 py-3 outline-none transition-colors motion-reduce:transition-none",onAction:()=>n(),"data-sentry-element":"MenuItem","data-sentry-source-file":"ProfileMenu.tsx",children:"Log out"})]})]})]})}},23409:function(e,t,n){n.d(t,{Link:function(){return o}});var s=n(13868),a=n(9607),r=n(96405),l=n(71839);let o=e=>{let{className:t,activeClassName:n,...o}=e,i=(0,a.usePathname)();return(0,s.jsx)(r.r,{...o,className:e=>(0,l.cn)("outline-none transition-colors motion-reduce:transition-none",t,e.isFocusVisible&&"outline-default outline outline-2 outline-offset-2",(e.isHovered||e.isFocusVisible||e.isPressed)&&"text-brand-60",i===o.href&&n),"data-sentry-element":"AriaLink","data-sentry-component":"Link","data-sentry-source-file":"Link.tsx"})}},12212:function(e,t,n){n.d(t,{LinkButton:function(){return l}});var s=n(13868),a=n(96405),r=n(27103);let l=e=>{let{className:t,variant:n,size:l,...o}=e;return(0,s.jsx)(a.r,{...o,style:{WebkitTouchCallout:"none"},className:e=>(0,r.$Y)({size:l,variant:n,state:(0,r.Hp)(e),isFocusVisible:e.isFocusVisible,className:t}),"data-sentry-element":"Link","data-sentry-component":"LinkButton","data-sentry-source-file":"LinkButton.tsx"})}},68974:function(e,t,n){n.d(t,{a:function(){return a}});var s=n(13868);let a=e=>(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e,"data-sentry-element":"svg","data-sentry-component":"CrossIcon","data-sentry-source-file":"CrossIcon.tsx",children:(0,s.jsx)("path",{fill:"currentColor",d:"M6.41 5.49a.65.65 0 1 0-.919.92l5.59 5.59-5.49 5.49a.65.65 0 1 0 .92.92L12 12.92l5.49 5.49a.65.65 0 1 0 .92-.92L12.92 12l5.59-5.59a.65.65 0 0 0-.92-.92l-5.59 5.59-5.59-5.59Z","data-sentry-element":"path","data-sentry-source-file":"CrossIcon.tsx"})})}}]);