1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3],{10003:function(e,s,t){t.d(s,{SharedNavigation:function(){return Y}});var a=t(57437),r=t(27648),n=t(99376),l=t(62869),i=t(35974),o=t(2265),d=t(27954),c=t(94508);let m=o.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(d.fC,{ref:s,className:(0,c.cn)("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",t),...r})});m.displayName=d.fC.displayName;let u=o.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(d.Ee,{ref:s,className:(0,c.cn)("aspect-square h-full w-full",t),...r})});u.displayName=d.Ee.displayName;let f=o.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(d.NY,{ref:s,className:(0,c.cn)("flex h-full w-full items-center justify-center rounded-full bg-muted",t),...r})});f.displayName=d.NY.displayName;var x=t(28119),p=t(10407),h=t(30401),N=t(40519);let g=x.fC,j=x.xz;x.ZA,x.Uv,x.Tr,x.Ee,o.forwardRef((e,s)=>{let{className:t,inset:r,children:n,...l}=e;return(0,a.jsxs)(x.fF,{ref:s,className:(0,c.cn)("flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",t),...l,children:[n,(0,a.jsx)(p.Z,{className:"ml-auto"})]})}).displayName=x.fF.displayName,o.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(x.tu,{ref:s,className:(0,c.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg 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",t),...r})}).displayName=x.tu.displayName;let v=o.forwardRef((e,s)=>{let{className:t,sideOffset:r=4,...n}=e;return(0,a.jsx)(x.Uv,{children:(0,a.jsx)(x.VY,{ref:s,sideOffset:r,className:(0,c.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md 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",t),...n})})});v.displayName=x.VY.displayName;let w=o.forwardRef((e,s)=>{let{className:t,inset:r,...n}=e;return(0,a.jsx)(x.ck,{ref:s,className:(0,c.cn)("relative flex cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",r&&"pl-8",t),...n})});w.displayName=x.ck.displayName,o.forwardRef((e,s)=>{let{className:t,children:r,checked:n,...l}=e;return(0,a.jsxs)(x.oC,{ref:s,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),checked:n,...l,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(x.wU,{children:(0,a.jsx)(h.Z,{className:"h-4 w-4"})})}),r]})}).displayName=x.oC.displayName,o.forwardRef((e,s)=>{let{className:t,children:r,...n}=e;return(0,a.jsxs)(x.Rk,{ref:s,className:(0,c.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t),...n,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(x.wU,{children:(0,a.jsx)(N.Z,{className:"h-2 w-2 fill-current"})})}),r]})}).displayName=x.Rk.displayName,o.forwardRef((e,s)=>{let{className:t,inset:r,...n}=e;
1return(0,a.jsx)(x.__,{ref:s,className:(0,c.cn)("px-2 py-1.5 text-sm font-semibold",r&&"pl-8",t),...n})}).displayName=x.__.displayName;let y=o.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(x.Z0,{ref:s,className:(0,c.cn)("-mx-1 my-1 h-px bg-muted",t),...r})});y.displayName=x.Z0.displayName;var b=t(21391),k=t(32660),C=t(48736),Z=t(71769),R=t(98617),_=t(92369),z=t(91723),U=t(98728),P=t(82718),E=t(47692),V=t(88055),F=t(89282),S=t(63024),D=t(88685);function Y(e){var s,t;let{title:o="Dashboard",subtitle:d,showUserMenu:c=!0,showProBadge:x=!0,showBackButton:p=!1,showPracticeButton:h=!1,subscription:N,onSignOut:Y,onViewHistory:q,onNavigateToFeedback:A}=e,T=(0,n.useRouter)(),{user:I}=(0,V.r)(),M=(0,S.i$)(N);return(0,a.jsx)("div",{className:"sticky top-0 z-50 bg-white/80 backdrop-blur-md border-b border-white/20",children:(0,a.jsx)("div",{className:"container mx-auto px-6 py-4",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[p&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{onClick:()=>T.back(),className:"flex items-center gap-2 text-gray-600 hover:text-gray-900 transition-colors font-medium",children:[(0,a.jsx)(k.Z,{className:"w-4 h-4"}),"Back"]}),(0,a.jsx)("div",{className:"w-px h-6 bg-gray-300"})]}),(0,a.jsx)("div",{className:"flex items-center gap-3",children:(0,a.jsxs)(r.default,{href:"/dashboard",className:"flex items-center gap-3",children:[(0,a.jsx)(b.T,{priority:!0}),(0,a.jsx)("span",{className:"text-xl font-bold bg-gradient-to-r from-blue-600 to-indigo-600 bg-clip-text text-transparent",children:"mockingly.ai"})]})}),o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"w-px h-6 bg-gray-300"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xl font-semibold text-gray-900",children:o}),d&&(0,a.jsx)("p",{className:"text-sm text-gray-600",children:d})]})]})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)(r.default,{href:"/blog",className:"text-gray-700 hover:text-blue-600 font-medium transition-colors flex items-center gap-1",children:[(0,a.jsx)(C.Z,{className:"h-4 w-4"}),"Blog"]}),h&&(0,a.jsxs)(l.z,{id:"explore-questions-btn",onClick:()=>{(0,F.lr)(I,T,"/practice")},className:"inline-flex items-center px-4 py-2 bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 text-white font-semibold rounded-lg transition-all duration-200 shadow-md hover:shadow-lg hover:-translate-y-0.5",children:[(0,a.jsx)(Z.Z,{className:"h-4 w-4 mr-2"}),"Explore Real Interview Questions"]}),x&&M&&(0,a.jsxs)(i.C,{className:"bg-gradient-to-r from-yellow-400 to-orange-500 text-white",children:[(0,a.jsx)(R.Z,{className:"h-3 w-3 mr-1"}),D.VZ]}),c&&I&&(0,a.jsxs)(g,{children:[(0,a.jsx)(j,{asChild:!0,children:(0,a.jsx)(l.z,{variant:"ghost",className:"relative h-8 w-8 rounded-full",children:(0,a.jsxs)(m,{className:"h-8 w-8",children:[(0,a.jsx)(u,{src:(null===(s=I.user_metadata)||void 0===s?void 0:s.avatar_url)||"/placeholder.svg",alt:I.email||"User"}),(0,a.jsx)(f,{children:(null===(t=I.email)||void 0===t?void 0:t.charAt(0).toUpperCase())||"U"})]})})}),(0,a.jsxs)(v,{className:"w-56",align:"end",forceMount:!0,children:[(0,a.jsxs)(w,{className:"flex flex-col items-start",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(_.Z,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"font-medium",children:I.email})]}),M&&(0,a.jsxs)("div",{className:"flex items-center gap-1 mt-1",children:[(0,a.jsx)(R.Z,{className:"h-3 w-3 text-yellow-500"}),(0,a.jsx)("span",{className:"text-xs text-gray-600",children:"Pro Member"})]})]}),(0,a.jsx)(y,{}),(0,a.jsxs)(w,{onClick:()=>{q?q():T.push("/history")},children:[(0,a.jsx)(z.Z,{className:"h-4 w-4 mr-2"}),D.eh]}),!M&&(0,a.jsx)(w,{asChild:!0,children:(0,a.jsxs)(r.default,{href:"/pricing",className:"flex items-center",children:[(0,a.jsx)(R.Z,{className:"h-4 w-4 mr-2 text-blue-600"}),(0,a.jsx)("span",{className:"text-blue-600",children:"Unlock Pro Access"})]})}),(0,a.jsxs)(w,{onClick:()=>T.push("/subscription"),children:[(0,a.jsx)(U.Z,{className:"h-4 w-4 mr-2"}),D.L6]}),(0,a.jsxs)(w,{onClick:()=>{A?A():T.push("/feedback")},children:[(0,a.jsx)(P.Z,{className:"h-4 w-4 mr-2"}),"Feedback"]}),(0,a.jsx)(y,{}),(0,a.jsxs)(w,{onClick:()=>{Y?Y():(0,F.N)()},className:"text-red-600 focus:text-red-600",children:[(0,a.jsx)(E.Z,{className:"h-4 w-4 mr-2"}),D.dp]})]})]})]})]})})})}},88685:function(e,s,t){t.d(s,{Bj:function(){return h},CG:function(){return w},GP:function(){return c},HV:function(){return i},L6:function(){return u},Qc:function(){return p},Rv:function(){return x},Si:function(){return v},TE:function(){return d},Uj:function(){return n},V:function(){return k},VI:function(){return o},VZ:function(){return a},Xu:function(){return y},bD:function(){return g},dp:function(){return f},eh:function(){return m},fo:function(){return j},g8:function(){return l},gs:function(){return N},j_:function(){return b},xS:function(){return r}});let a="Pro Member",r="Welcome to Pro! \uD83C\uDF89",n="Your subscription is now active. Enjoy detailed analysis, readiness score, and company-specific questions!",l="Failed to load subscription data. Please try again.",i="Upgrade to Pro Required",o="Upgrade to Pro to unlock detailed interview anal
1ysis, readiness score, and company-specific questions.",d="Maybe Later",c="Upgrade to Pro",m="Interview History",u="Settings",f="Sign out",x="View Details",p="Completed",h="In Progress",N="Recent Sessions",g="Your latest interview sessions",j="Total Sessions",v="All time",w="Completed",y="Avg Duration",b="Per completed session",k="Track your system design interview progress and start new sessions"}}]);
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.