PageSourceSearch

https://bridemovement.com/_next/static/chunks/2249.423c6e76d3e7615c.js

js bridemovement.com collected 2026-09-28 10:18:26 UTC 39,789 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2249],{12914:(e,s,t)=>{t.d(s,{$v:()=>f,EO:()=>u,Lt:()=>i,Rx:()=>g,Zr:()=>b,ck:()=>p,r7:()=>h,tv:()=>o,wd:()=>x});var a=t(7131),r=t(555),l=t(64302),n=t(58258),d=t(87925);let i=l.bL,o=l.l9,c=l.ZL,m=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.hJ,{className:(0,n.cn)("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...r,ref:s})});m.displayName=l.hJ.displayName;let u=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(m,{}),(0,a.jsx)(l.UC,{ref:s,className:(0,n.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 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-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",t),...r})]})});u.displayName=l.UC.displayName;let x=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col space-y-2 text-center sm:text-left",s),...t})};x.displayName="AlertDialogHeader";let p=e=>{let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",s),...t})};p.displayName="AlertDialogFooter";let h=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.hE,{ref:s,className:(0,n.cn)("text-lg font-semibold",t),...r})});h.displayName=l.hE.displayName;let f=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.VY,{ref:s,className:(0,n.cn)("text-sm text-muted-foreground",t),...r})});f.displayName=l.VY.displayName;let g=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.rc,{ref:s,className:(0,n.cn)((0,d.r)(),t),...r})});g.displayName=l.rc.displayName;let b=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.ZD,{ref:s,className:(0,n.cn)((0,d.r)({variant:"outline"}),"mt-2 sm:mt-0",t),...r})});b.displayName=l.ZD.displayName},15206:(e,s,t)=>{t.d(s,{S:()=>i});var a=t(7131),r=t(555),l=t(11066),n=t(89276),d=t(58258);let i=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.bL,{ref:s,className:(0,d.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),...r,children:(0,a.jsx)(l.C1,{className:(0,d.cn)("flex items-center justify-center text-current"),children:(0,a.jsx)(n.A,{className:"h-4 w-4"})})})});i.displayName=l.bL.displayName},21061:(e,s,t)=>{t.d(s,{y:()=>r});var a=t(555);function r(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],[t,r]=(0,a.useState)(null),[l,n]=(0,a.useState)(null),[d,i]=(0,a.useState)(!0),o=(0,a.useRef)(!0);(0,a.useEffect)(()=>(o.current=!0,()=>{o.current=!1}),[]);let c=(0,a.useCallback)(async()=>{i(!0),n(null);try{let s=await e();if(!o.current)return;s.ok?(r(s.data),n(null)):n(s.error)}catch(e){if(!o.current)return;n(e instanceof Error?e.message:"Unexpected error")}finally{o.current&&i(!1)}},s);return(0,a.useEffect)(()=>{c()},[c]),{data:t,error:l,loading:d,refetch:c,setData:r}}},22249:(e,s,t)=>{t.r(s),t.d(s,{DashboardStepReports:()=>eN});var a=t(7131),r=t(555),l=t(21061),n=t(71950),d=t.n(n),i=t(75914),o=t(35307),c=t(94017),m=t(5197),u=t(2077),x=t(15483),p=t(22954),h=t(77216),f=t(39754),g=t(63619),b=t(10220),j=t(59245),v=t(64353),N=t(36871),w=t(86106),y=t(28455),k=t(51587),_=t(64917),S=t(8460),A=t(42932),R=t(3733),C=t(98703),E=t(91037),z=t(29817),U=t(6501),D=t(39490),L=t(77722),T=t(84362),I=t(36900),$=t(87925),M=t(39827),O=t(51942),W=t(38227),Z=t(15206),K=t(74272),B=t(73999),F=t(37097),P=t(12914),J=t(3729);let V=(0,J.createServerReference)("40e4391ff2b78fffa4924b3fd34060b3ead99d6191",J.callServer,void 0,J.findSourceMapURL,"getStepReportStatsAction"),H=(0,J.createServerReference)("60c36eec7f43b23d0043ccf148bd52b90d576484b3",J.callServer,void 0,J.findSourceMapURL,"getStepReportsAdminAction"),X=(0,J.createServerReference)("78f438cf325bb16233306523eff0476
151637d69960",J.callServer,void 0,J.findSourceMapURL,"updateStepReportStatusAction"),q=(0,J.createServerReference)("60c7b031ae4a94700143946ef5651e74e34219d183",J.callServer,void 0,J.findSourceMapURL,"bulkDeleteStepReportsAction"),Y=(0,J.createServerReference)("70886dff24820e0cd5445f15a0bcb06f7f34750c54",J.callServer,void 0,J.findSourceMapURL,"notifyStepReportSubmitterAction");var G=t(72902),Q=t(75899),ee=t(6090),es=t(37517),et=t(58258),ea=t(52952),er=t(2781),el=t(56221),en=t(23154),ed=t(54638),ei=t(14476),eo=t(67700),ec=t(81695),em=t(60587),eu=t(16068);let ex={open:{label:"Open",hex:"#ca8a04",dot:"bg-[#ca8a04]",icon:o.A},in_review:{label:"In review",hex:"#0284c7",dot:"bg-[#0284c7]",icon:c.A},resolved:{label:"Resolved",hex:"#16a34a",dot:"bg-[#16a34a]",icon:m.A},dismissed:{label:"Dismissed",hex:"#71717a",dot:"bg-zinc-500",icon:u.A}},ep={video:x.A,article:p.A,blog:p.A,reading:h.A,book:h.A},eh=[{title:"Issue resolved",message:"Thanks for your report — this step issue has been fixed. If anything still looks wrong, you can send another report from the step."},{title:"We’re reviewing your report",message:"Our team is reviewing the issue you reported on this journey step. We’ll notify you again when we have an update."},{title:"We need a bit more detail",message:"Thanks for flagging this. Could you add a few more details about what you’re seeing? It will help us fix it faster."}];function ef(e){var s,t;if(!/^https?:\/\//i.test(e))return!1;let a=null!=(t=null==(s=e.split("?")[0])?void 0:s.toLowerCase())?t:"";return/\.(png|jpe?g|gif|webp|avif|svg)(\b|$)/.test(a)}function eg(e){return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"})}function eb(e){var s,t,a;let r=e.profile;if(!r)return"Unknown user";if(null==(s=r.full_name)?void 0:s.trim())return r.full_name.trim();let l=[r.first_name,r.last_name].filter(Boolean).join(" ").trim();return l||((null==(t=r.username)?void 0:t.trim())?r.username.trim():null!=(a=e.submitter_email)?a:"Unknown user")}function ej(e){return eb(e).split(/\s+/).map(e=>e[0]).join("").toUpperCase().slice(0,2)||"?"}async function ev(e){let s=await V(e);return s.error?{ok:!1,error:s.error}:s.data?{ok:!0,data:s.data}:{ok:!1,error:"Failed to load stats"}}let eN=()=>{let{session:e}=(0,Q.A)(),{data:s,refetch:t}=(0,l.y)(()=>{var s;return ev(null!=(s=null==e?void 0:e.access_token)?s:null)},[null==e?void 0:e.access_token]),[n,x]=(0,r.useState)("active"),[h,J]=(0,r.useState)([]),[V,eN]=(0,r.useState)(0),[ew,ey]=(0,r.useState)(1),[ek,e_]=(0,r.useState)(!0),[eS,eA]=(0,r.useState)([]),[eR,eC]=(0,r.useState)(0),[eE,ez]=(0,r.useState)(1),[eU,eD]=(0,r.useState)(!0),[eL,eT]=(0,r.useState)(""),[eI,e$]=(0,r.useState)(null),[eM,eO]=(0,r.useState)({}),[eW,eZ]=(0,r.useState)(null),[eK,eB]=(0,r.useState)(25),[eF,eP]=(0,r.useState)(new Set),[eJ,eV]=(0,r.useState)(!1),[eH,eX]=(0,r.useState)(!1),[eq,eY]=(0,r.useState)(!1),[eG,eQ]=(0,r.useState)(null),[e0,e1]=(0,r.useState)(""),[e5,e2]=(0,r.useState)(""),[e3,e4]=(0,r.useState)(!1),e7="active"===n?h:eS,e8=e=>{eP(s=>{let t=new Set(s);return t.has(e)?t.delete(e):t.add(e),t})},e6=()=>{let e=e7.map(e=>e.id);e.length>0&&e.every(e=>eF.has(e))?eP(s=>{let t=new Set(s);return e.forEach(e=>t.delete(e)),t}):eP(s=>{let t=new Set(s);return e.forEach(e=>t.add(e)),t})},e9=()=>eP(new Set);(0,r.useEffect)(()=>{e9()},[n,ew,eE,eL]),(0,r.useEffect)(()=>{if(!eI)return;let e=document.body.style.overflow;document.body.style.overflow="hidden";let s=e=>{"Escape"===e.key&&e$(null)};return window.addEventListener("keydown",s),()=>{document.body.style.overflow=e,window.removeEventListener("keydown",s)}},[eI]);let se=(0,r.useCallback)(async()=>{var s;e_(!0);let t=null!=(s=null==e?void 0:e.access_token)?s:null,a=await H({status:"active",search:eL.trim()||void 0,page:ew},t);a.error&&G.oR.error(a.error),J(a.data),eN(a.totalCount),a.pageSize&&eB(a.pageSize),e_(!1)},[null==e?void 0:e.access_token,eL,ew]),ss=(0,r.useCallback)(async()=>{var s;eD(!0);let t=null!=(s=null==e?void 0:e.access_token)?s:null,a=await H({status:"closed",search:eL.trim()||void 0,page:eE},t);a.error&&G.oR.error(a.error),eA(a.data),eC(a.totalCount),a.pageSize&&eB(a.pageSize),eD(!1)},[null==e?void 0:e.access_token,eL,eE]);(0,r.useEffect)(()=>{se()},[se]),(0,r.useEffect)(()=>{"resolved"===n&&ss()},[n,ss]);let st=()=>{t(),se(),"resolved"===n&&ss()},sa=async(s,t)=>{var a,r,l;eZ(s);let n=await X(s,t,eM[s]||null,null!=(a=null==e?void 0:e.access_token)?a:null);n.ok?(G.oR.success("Report marked as ".concat(null!=(l=null==(r=ex[t])?void 0:r.label)?l:t)),st()):G.oR.error(n.error),eZ(null)},sr=async()=>{var s;if(0===eF.size)return;eV(!0);let t=await q(Array.from(eF),null!=(s=null==e?void 0:e.access_token)?s:null);t.error?G.oR.error(t.error):(G.oR.success("Deleted ".concat(t.deletedCount," report").concat(1!==t.deletedCount?"s":"")),e9(),st()),eV(!1),eX(!1)},sl=e=>{let s=eh[0];eQ(e),e1(s.title),e2(s.message),eY(!0)},sn=async()=>{var s;if(!eG)return;let t=e0.trim();if(!t)return void G.oR.error("Add a notification title");e4(!0);let a=await Y(eG.id,{title:t,message:e5.trim()||null},null!=(s=null==e?void 0:e.access_token)?s:null);e4(!1),a.error?G.oR.error(a.error):(G.oR.success("Notification sent to ".concat(eb(eG))),eY(!1),eQ(null))},sd=(e,s)=>{if(null==s||""===s)return null;let t="object"==typeof s?JSON.stringify(s,null,2):String(s),r="string"==typeof s&&(s.startsWith("http://")||s.startsWith("https://")),l="string"==typeof s&&ef(s);return(0,a.jsxs)("div",{className:"flex flex-col gap-0.5",children:[(0,a.jsx)("span",{className:"text-xs font-medium text-muted-foreground",children:e}),l?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"block",children:(0,a.jsx)("img",{src:t,alt:"",className:"max-h-56 w-full max-w-md rounded-lg border border-border bg-muted object-contain",loading:"lazy"})}),(0,a.jsxs)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1 text-xs text-primary underline underline-offset-2 break-all",children:["Open full image",(0,a.jsx)(f.A,{className:"w-3 h-3 shrink-0"})]})]}):r?(0,a.jsxs)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:"text-sm text-primary underline underline-offset-2 break-all inline-flex items-center gap-1",children:[t,(0,a.jsx)(f.A,{className:"w-3 h-3 shrink-0"})]}):t.length>200?(0,a.jsx)("pre",{className:"text-xs bg-muted rounded p-2 overflow-auto max-h-40 whitespace-pre-wrap",children:t}):(0,a.jsx)("span",{className:"text-sm break-all",children:t})]},e)},si=[["title","Title"],["content_type","Content Type"],["step_type","Step Type"],["video_url","Video URL"],["thumbnail_url","Thumbnail URL"],["hero_image_url","Hero image URL"],["cover_image_url","Cover image URL"],["banner_url","Banner URL"],["poster_url","Poster URL"],["content_url","Content URL"],["external_link","External Link"],["content_id","Content ID"],["content_ids","Content IDs"],["image_url","Image URL"],["audio_url","Audio URL"],["stream_uid","Stream UID"],["description","Description"],["content","Content"],["product_id","Product ID"],["checkpoint_id","Checkpoint ID"],["duration","Duration"],["metadata","Metadata"]],so=(e,s,t)=>{let r=Math.max(1,Math.ceil(s/eK));return r<=1?null:(0,a.jsxs)("div",{className:"flex items-center justify-between pt-4",children:[(0,a.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Showing ",Math.min((e-1)*eK+1,s),"–",Math.min(e*eK,s)," of ",s]}),(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsxs)($.$,{variant:"outline",size:"sm",disabled:e<=1,onClick:()=>t(e-1),className:"gap-1",children:[(0,a.jsx)(g.A,{className:"w-4 h-4"}),"Prev"]}),(0,a.jsxs)("span",{className:"text-sm px-2 text-muted-foreground",children:[e," / ",r]}),(0,a.jsxs)($.$,{variant:"outline",size:"sm",disabled:e>=r,onClick:()=>t(e+1),className:"gap-1",children:["Next",(0,a.jsx)(b.A,{className:"w-4 h-4"})]})]})]})},sc=(e,s)=>{var t,r,l,n,o,x,h,g,b,T,I;let M=eI===e.id,K=eF.has(e.id),F=null!=(r=ex[e.status])?r:ex.open,P=F.icon,J=null!=(n=ep[null!=(l=e.step_content_type)?l:""])?n:p.A,V=null!=(o=e.step_snapshot)?o:{},H=function(e){let s=[];for(let t of["image_url","thumbnail_url","hero_image_url","cover_image_url","banner_url","poster_url"]){let a=e[t];"string"==typeof a&&ef(a)&&s.push({key:t,url:a})}return s}(V),X=s?function(e){return e?Math.max(0,Math.ceil((new Date(e).getTime()+1296e6-Date.now())/864e5)):null}(e.resolved_at):null,q=(null==(t=e.roadmap)?void 0:t.name)||"Unknown roadmap",Y="Step ".concat(null!=(x=e.step_number)?x:"?"),Q=function(e){return"/dashboard/roadmap-editor/".concat(encodeURIComponent(e.roadmap_id),"?focusStepId=").concat(encodeURIComponent(e.step_id),"&returnTo=").concat(encodeURIComponent("/dashboard?tab=step-reports"))}(e),es=e.profile,ei=e.reported_roadmap_step_count,eo=(null==es?void 0:es.current_roadmap_id)&&es.current_roadmap_id===e.roadmap_id;return(0,a.jsxs)(B.Zp,{className:(0,et.cn)("overflow-hidden border-border shadow-sm transition-all duration-200",K&&"ring-2 ring-primary/35",eI&&!M&&"opacity-[0.42]",M&&"relative z-50 border-2 border-border shadow-2xl ring-2 ring-ring/50"),children:[(0,a.jsxs)("div",{className:"flex items-stretch",children:[(0,a.jsx)("div",{className:"flex w-11 shrink-0 items-center justify-center border-r border-border/60 bg-muted/20",onClick:e=>e.stopPropagation(),children:(0,a.jsx)(Z.S,{checked:K,onCheckedChange:()=>e8(e.id),"aria-label":"Select report: ".concat(e.step_title)})}),(0,a.jsxs)("button",{type:"button",className:"flex flex-1 items-start gap-3 p-4 text-left hover:bg-muted/40 transition-colors",onClick:()=>e$(M?null:e.id),children:[(0,a.jsxs)(ee.eu,{className:"mt-0.5 h-11 w-11 shrink-0 border border-border shadow-sm",children:[(0,a.jsx)(ee.BK,{src:null!=(h=null==es?void 0:es.avatar_url)?h:void 0,alt:""}),(0,a.jsx)(ee.q5,{className:"bg-primary/15 text-xs font-semibold text-primary",children:ej(e)})]}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)("span",{className:"font-semibold tracking-tight text-foreground line-clamp-1",children:e.step_title}),(0,a.jsxs)(O.E,{variant:"outline",className:"gap-1.5 border-border bg-card text-[11px] font-medium text-foreground",children:[(0,a.jsx)("span",{className:(0,et.cn)("h-2 w-2 shrink-0 rounded-full",F.dot),"aria-hidden":!0}),(0,a.jsx)(P,{className:"h-3 w-3 shrink-0 text-muted-foreground"}),F.label]}),e.step_content_type&&(0,a.jsx)(O.E,{variant:"secondary",className:"text-[10px] uppercase tracking-wide",children:e.step_content_type}),null!=X&&(0,a.jsxs)(O.E,{variant:"outline",className:"gap-1 border-red-500/35 bg-red-500/10 text-[11px] text-red-700 dark:text-red-400",children:[(0,a.jsx)(j.A,{className:"h-3 w-3"}),0===X?"Deleting today":"Deletes in ".concat(X,"d")]})]}),(0,a.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground",children:[(0,a.jsx)("span",{className:"font-medium text-foreground",children:eb(e)}),(null==es?void 0:es.username)?(0,a.jsxs)("span",{className:"text-muted-foreground",children:[" \xb7 @",es.username]}):null]}),(0,a.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-x-2 gap-y-1 text-[11px] text-muted-foreground",children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-md bg-muted/80 px-1.5 py-0.5 font-mono text-[10px] font-medium text-foreground
1/90",children:[(0,a.jsx)(v.A,{className:"h-3 w-3"}),q]}),(0,a.jsx)("span",{children:"\xb7"}),(0,a.jsx)("span",{children:Y}),(0,a.jsx)("span",{children:"\xb7"}),(0,a.jsx)("span",{children:eg(e.created_at)})]}),e.reason&&(0,a.jsx)("p",{className:"mt-2 line-clamp-2 border-l-2 border-foreground/25 pl-2 text-sm text-muted-foreground",children:e.reason})]}),(0,a.jsx)("div",{className:"mt-1 shrink-0 self-center text-muted-foreground",children:M?(0,a.jsx)(N.A,{className:"h-5 w-5"}):(0,a.jsx)(w.A,{className:"h-5 w-5"})})]})]}),M&&(0,a.jsx)("div",{className:"space-y-0 border-t-2 border-border bg-card text-card-foreground",children:(0,a.jsxs)("div",{className:"grid gap-4 p-4 lg:grid-cols-12",children:[(0,a.jsxs)("div",{className:"space-y-4 lg:col-span-4",children:[(0,a.jsxs)("div",{className:"rounded-xl border border-border bg-card shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 border-b border-border bg-muted/50 px-4 py-2.5",children:[(0,a.jsx)(y.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("span",{className:"text-xs font-semibold uppercase tracking-wider text-foreground",children:"Reporter"})]}),(0,a.jsxs)("div",{className:"space-y-4 p-4",children:[(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsxs)(ee.eu,{className:"h-14 w-14 border-2 border-muted shadow",children:[(0,a.jsx)(ee.BK,{src:null!=(g=null==es?void 0:es.avatar_url)?g:void 0,alt:""}),(0,a.jsx)(ee.q5,{className:"bg-primary/15 text-sm font-bold text-primary",children:ej(e)})]}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("p",{className:"font-semibold leading-tight text-foreground",children:eb(e)}),(null==es?void 0:es.username)?(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["@",es.username]}):null,e.submitter_email?(0,a.jsxs)("button",{type:"button",className:"mt-1 inline-flex max-w-full items-center gap-1.5 text-left text-xs text-primary hover:underline",onClick:()=>{navigator.clipboard.writeText(e.submitter_email),G.oR.success("Email copied")},children:[(0,a.jsx)(k.A,{className:"h-3.5 w-3.5 shrink-0"}),(0,a.jsx)("span",{className:"truncate",children:e.submitter_email}),(0,a.jsx)(_.A,{className:"h-3 w-3 shrink-0 opacity-50"})]}):(0,a.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:"No email on file"})]})]}),(0,a.jsxs)("div",{className:"grid gap-2 text-xs",children:[(null==es?void 0:es.phone)?(0,a.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,a.jsx)(S.A,{className:"h-3.5 w-3.5 shrink-0"}),(0,a.jsx)("span",{children:es.phone})]}):null,(null==es?void 0:es.location)?(0,a.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,a.jsx)(A.A,{className:"h-3.5 w-3.5 shrink-0"}),(0,a.jsx)("span",{children:es.location})]}):null,(null==es?void 0:es.last_session_at)?(0,a.jsxs)("div",{className:"flex items-center gap-2 text-muted-foreground",children:[(0,a.jsx)(R.A,{className:"h-3.5 w-3.5 shrink-0"}),(0,a.jsxs)("span",{children:["Last active"," ",(0,i.m)(new Date(es.last_session_at),{addSuffix:!0})]})]}):null]}),(null==es?void 0:es.bio)?(0,a.jsx)("p",{className:"line-clamp-4 border-t border-border/50 pt-3 text-xs leading-relaxed text-muted-foreground",children:es.bio}):null,(0,a.jsx)("div",{className:"flex flex-wrap gap-2 border-t border-border/50 pt-3",children:(0,a.jsx)(d(),{href:"/dashboard?tab=users",children:(0,a.jsxs)($.$,{size:"sm",variant:"outline",className:"h-8 gap-1.5 text-xs",children:[(0,a.jsx)(C.A,{className:"h-3.5 w-3.5"}),"User management"]})})})]})]}),(0,a.jsxs)("div",{className:"rounded-xl border border-border bg-card shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 border-b border-border bg-muted/50 px-4 py-2.5",children:[(0,a.jsx)(v.A,{className:"h-4 w-4 text-muted-foreground"}),(0,a.jsx)("span",{className:"text-xs font-semibold uppercase tracking-wider text-foreground",children:"Journey"})]}),(0,a.jsxs)("div",{className:"space-y-3 p-4 text-xs",children:[(0,a.jsxs)("div",{className:"rounded-lg bg-muted/50 p-3",children:[(0,a.jsx)("p",{className:"font-medium text-[10px] uppercase tracking-wide text-muted-foreground",children:"This report"}),(0,a.jsx)("p",{className:"mt-1 font-medium text-foreground",children:q}),(0,a.jsxs)("p",{className:"text-muted-foreground",children:[Y,null!=ei&&ei>0?" \xb7 ".concat(null!=(b=e.step_number)?b:0," of ").concat(ei," steps"):null]})]}),(0,a.jsxs)("div",{className:"rounded-lg border border-dashed border-border bg-muted/30 p-3",children:[(0,a.jsx)("p",{className:"font-medium text-[10px] uppercase tracking-wide text-muted-foreground",children:"Current progress (profile)"}),e.current_journey_roadmap?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"mt-1 font-medium text-foreground",children:e.current_journey_roadmap.name}),(0,a.jsxs)("p",{className:"text-muted-foreground",children:["Step index ",null!=(T=null==es?void 0:es.roadmap_step)?T:"—",(null==es?void 0:es.roadmap_phase)?" \xb7 Phase: ".concat(es.roadmap_phase):""]}),eo?(0,a.jsx)(O.E,{variant:"secondary",className:"mt-2 text-[10px]",children:"Same roadmap as report"}):(0,a.jsx)("p",{className:"mt-2 text-[11px] leading-snug text-muted-foreground",children:"User may have switched roadmaps since reporting."})]}):(0,a.jsx)("p",{className:"mt-1 text-muted-foreground",children:"No active journey on profile."})]}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2 text-[11px] text-muted-foreground",children:["boolean"==typeof(null==es?void 0:es.portal_unlocked)&&(0,a.jsxs)(O.E,{variant:"outline",className:"text-[10px]",children:["Portal ",es.portal_unlocked?"unlocked":"locked"]}),"boolean"==typeof(null==es?void 0:es.assessment_completed)&&(0,a.jsxs)(O.E,{variant:"outline",className:"text-[10px]",children:["Assessment ",es.assessment_completed?"done":"pending"]}),(null==es?void 0:es.trauma_score)!=null&&(0,a.jsxs)(O.E,{variant:"outline",className:"text-[10px]",children:["Trauma score: ",es.trauma_score]})]})]})]})]}),(0,a.jsxs)("div",{className:"space-y-4 lg:col-span-8",children:[(0,a.jsxs)("div",{className:"rounded-xl border border-border bg-muted/15 p-4 shadow-sm",children:[(0,a.jsxs)("h4",{className:"mb-3 flex items-center gap-2 text-sm font-semibold text-foreground",children:[(0,a.jsx)(J,{className:"h-4 w-4 text-muted-foreground"}
1),"Step snapshot"]}),H.length>0?(0,a.jsxs)("div",{className:"mb-4 rounded-lg border border-border bg-card p-3",children:[(0,a.jsxs)("p",{className:"mb-2 flex items-center gap-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground",children:[(0,a.jsx)(E.A,{className:"h-3.5 w-3.5"}),"Images from snapshot"]}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-2 sm:grid-cols-3",children:H.map(e=>(0,a.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:"group relative block overflow-hidden rounded-lg border border-border bg-muted",children:[(0,a.jsx)("img",{src:e.url,alt:"",className:"h-32 w-full object-cover transition group-hover:opacity-90",loading:"lazy"}),(0,a.jsx)("span",{className:"absolute bottom-0 left-0 right-0 bg-background/95 px-2 py-0.5 text-[10px] capitalize text-muted-foreground backdrop-blur-sm",children:e.key.replace(/_/g," ")})]},e.key))})]}):null,null!=ei&&null!=e.step_number&&ei>0?(0,a.jsxs)("div",{className:"mb-4 rounded-lg border border-border bg-card p-4",children:[(0,a.jsxs)("p",{className:"mb-2 flex items-center gap-2 text-sm font-semibold text-foreground",children:[(0,a.jsx)(z.A,{className:"h-4 w-4 text-muted-foreground"}),"Step position in this roadmap"]}),(0,a.jsx)("div",{className:"h-14 w-full max-w-lg",children:(0,a.jsx)(ea.u,{width:"100%",height:"100%",children:(0,a.jsxs)(er.E,{layout:"vertical",data:[{row:" ",done:e.step_number,rest:Math.max(0,ei-e.step_number)}],margin:{top:0,right:0,left:0,bottom:0},children:[(0,a.jsx)(el.W,{type:"number",domain:[0,ei],hide:!0}),(0,a.jsx)(en.h,{type:"category",dataKey:"row",width:4,hide:!0}),(0,a.jsx)(ed.y,{dataKey:"done",stackId:"prog",fill:"hsl(var(--primary))",radius:[4,0,0,4]}),(0,a.jsx)(ed.y,{dataKey:"rest",stackId:"prog",fill:"hsl(var(--muted-foreground) / 0.2)",radius:[0,4,4,0]})]})})}),(0,a.jsxs)("p",{className:"mt-2 text-xs text-muted-foreground",children:["Step"," ",(0,a.jsx)("span",{className:"font-semibold tabular-nums text-foreground",children:e.step_number})," of"," ",(0,a.jsx)("span",{className:"font-semibold tabular-nums text-foreground",children:ei})]})]}):null,(0,a.jsx)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2",children:si.map(e=>{let[s,t]=e;return sd(t,V[s])})})]}),(0,a.jsxs)("div",{className:"rounded-xl border border-border bg-muted/25 p-4",children:[(0,a.jsx)("h4",{className:"mb-3 text-sm font-semibold text-foreground",children:"Admin actions"}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,a.jsxs)($.$,{type:"button",size:"sm",variant:"default",className:"gap-1.5 shadow-sm",onClick:()=>{window.location.href=Q},children:[(0,a.jsx)(f.A,{className:"h-3.5 w-3.5"}),"Open in roadmap editor"]}),(0,a.jsxs)($.$,{type:"button",size:"sm",variant:"secondary",className:"gap-1.5",onClick:()=>sl(e),children:[(0,a.jsx)(U.A,{className:"h-3.5 w-3.5"}),"Notify submitter"]}),(0,a.jsxs)(O.E,{variant:"outline",className:"h-8 items-center border-border text-xs",children:[Y," \xb7 ",q]})]}),e.admin_notes&&(0,a.jsxs)("div",{className:"text-sm bg-muted rounded p-3",children:[(0,a.jsx)("span",{className:"text-xs font-medium text-muted-foreground block mb-1",children:"Previous Admin Notes"}),e.admin_notes]}),(0,a.jsx)(W.T,{placeholder:"Add admin notes (optional)…",value:null!=(I=eM[e.id])?I:"",onChange:s=>eO(t=>({...t,[e.id]:s.target.value})),rows:2}),(0,a.jsxs)("div",{className:"flex flex-wrap gap-2",children:["in_review"!==e.status&&(0,a.jsxs)($.$,{size:"sm",variant:"outline",className:"gap-1.5",disabled:eW===e.id,onClick:()=>sa(e.id,"in_review"),children:[eW===e.id?(0,a.jsx)(D.A,{className:"w-3.5 h-3.5 animate-spin"}):(0,a.jsx)(c.A,{className:"w-3.5 h-3.5"}),"Mark In Review"]}),"resolved"!==e.status&&(0,a.jsxs)($.$,{size:"sm",variant:"default",className:"gap-1.5",disabled:eW===e.id,onClick:()=>sa(e.id,"resolved"),children:[eW===e.id?(0,a.jsx)(D.A,{className:"w-3.5 h-3.5 animate-spin"}):(0,a.jsx)(m.A,{className:"w-3.5 h-3.5"}),"Resolve"]}),"dismissed"!==e.status&&(0,a.jsxs)($.$,{size:"sm",variant:"ghost",className:"gap-1.5 text-muted-foreground",disabled:eW===e.id,onClick:()=>sa(e.id,"dismissed"),children:[eW===e.id?(0,a.jsx)(D.A,{className:"w-3.5 h-3.5 animate-spin"}):(0,a.jsx)(u.A,{className:"w-3.5 h-3.5"}),"Dismiss"]}),("resolved"===e.status||"dismissed"===e.status)&&(0,a.jsxs)($.$,{size:"sm",variant:"outline",className:"gap-1.5",disabled:eW===e.id,onClick:()=>sa(e.id,"open"),children:[eW===e.id?(0,a.jsx)(D.A,{className:"w-3.5 h-3.5 animate-spin"}):(0,a.jsx)(L.A,{className:"w-3.5 h-3.5"}),"Reopen"]})]}),e.resolved_by&&e.resolved_at&&(0,a.jsxs)("p",{className:"text-xs text-muted-foreground",children:["Resolved on ",eg(e.resolved_at),null!=X&&" \xb7 Auto-deletes in ".concat(X," day").concat(1!==X?"s":"")]})]})]})]})})]},e.id)},sm=e=>(0,a.jsxs)("div",{className:"text-center py-12 text-muted-foreground",children:[(0,a.jsx)(T.A,{className:"w-10 h-10 mx-auto mb-3 opacity-40"}),(0,a.jsx)("p",{className:"font-medium",children:"No reports found"}),(0,a.jsx)("p",{className:"text-sm",children:e})]}),su=e=>{let s=e.map(e=>e.id),t=s.filter(e=>eF.has(e)).length,r=s.length>0&&t===s.length;return 0===e.length?null:(0,a.jsxs)("div",{className:"flex items-center gap-3 py-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(Z.S,{checked:r,onCheckedChange:e6,"aria-label":"Select all on this page"}),(0,a.jsx)("span",{className:"text-sm text-muted-foreground",children:eF.size>0?"".concat(eF.size," selected"):"Select all"})]}),eF.size>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)($.$,{size:"sm",variant:"destructive",className:"gap-1.5",onClick:()=>eX(!0),disabled:eJ,children:[eJ?(0,a.jsx)(D.A,{className:"w-3.5 h-3.5 animate-spin"}):(0,a.jsx)(j.A,{className:"w-3.5 h-3.5"}),"Delete ",eF.size]}),(0,a.jsx)($.$,{size:"sm",variant:"ghost",onClick:e9,className:"text-muted-foreground",children:"Clear"})]})]})},sx=(e,s,t,r,l,n,d)=>(0,a.jsxs)(a.Fragment,{children:[!s&&su(e),s?(0,a.jsx)("div",{className:"space-y-3",children:Array.from({length:5}).map((e,s)=>(0,a.jsx)(K.E,{className:"h-20 rounded-lg"},s))}):0===e.length?sm(t):(0,a.jsx)("div",{className:"space-y-3",children:e.map(e=>sc(e,r))}),!s&&so(l,n,d)]}),sp=["open","in_review","resolved","dismissed"],sh=s&&s.total>0?sp.map(e=>({name:ex[e].label,value:s[e],fill:ex[e].hex})).filter(e=>e.value>0):[],sf=s&&s.total>
10?{name:"All reports",open:s.open,in_review:s.in_review,resolved:s.resolved,dismissed:s.dismissed}:null;return(0,a.jsxs)("div",{className:"relative space-y-8",children:[eI?(0,a.jsx)("button",{type:"button",className:"fixed inset-0 z-40 cursor-default border-0 bg-black/65 backdrop-blur-[2px] dark:bg-black/75","aria-label":"Close report details",onClick:()=>e$(null)}):null,(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-2xl border border-border bg-card px-6 py-7 shadow-sm",children:[(0,a.jsx)("div",{className:"pointer-events-none absolute -right-16 -top-24 h-56 w-56 rounded-full bg-primary/10 blur-3xl"}),(0,a.jsx)("div",{className:"relative flex flex-col gap-3 sm:flex-row sm:items-end sm:justify-between",children:(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full border border-border bg-muted px-3 py-1 text-[11px] font-semibold uppercase tracking-wider text-muted-foreground",children:[(0,a.jsx)(T.A,{className:"h-3.5 w-3.5 text-foreground"}),"Operations"]}),(0,a.jsx)("h2",{className:"font-serif text-3xl font-bold tracking-tight text-foreground md:text-4xl",children:"Step reports"}),(0,a.jsx)("p",{className:"max-w-2xl text-sm leading-relaxed text-muted-foreground",children:"Triage learner-submitted issues on journey steps. Each row includes full reporter context, live journey position, and editor deep links."})]})})]}),s?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-5",children:[["open","Open",o.A],["in_review","In review",c.A],["resolved","Resolved",m.A],["dismissed","Dismissed",u.A],["total","All time",R.A]].map(e=>{let[t,r,l]=e,n="total"===t?"hsl(var(--primary))":ex[t].hex;return(0,a.jsx)(B.Zp,{className:"overflow-hidden border border-border bg-card shadow-sm transition-shadow hover:shadow-md",children:(0,a.jsxs)(B.Wu,{className:"flex items-center gap-3 border-l-[3px] py-4 pl-3 pr-4",style:{borderLeftColor:n},children:[(0,a.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-md bg-muted text-muted-foreground",children:(0,a.jsx)(l,{className:"h-5 w-5"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted-foreground",children:r}),(0,a.jsx)("p",{className:"font-mono text-2xl font-bold tabular-nums leading-none text-foreground",children:s[t]})]})]})},t)})}),s.total>0&&sh.length>0&&sf?(0,a.jsx)(B.Zp,{className:"border border-border bg-card shadow-sm",children:(0,a.jsxs)(B.Wu,{className:"p-4 pt-5",children:[(0,a.jsx)("h3",{className:"mb-1 text-sm font-semibold text-foreground",children:"Report distribution"}),(0,a.jsx)("p",{className:"mb-4 text-xs text-muted-foreground",children:"Status breakdown across all step reports — same colors as the summary tiles and badges."}),(0,a.jsxs)("div",{className:"grid gap-6 md:grid-cols-2",children:[(0,a.jsx)("div",{className:"min-h-[220px] w-full",children:(0,a.jsx)(ea.u,{width:"100%",height:220,children:(0,a.jsxs)(ei.r,{children:[(0,a.jsx)(eo.F,{data:sh,dataKey:"value",nameKey:"name",cx:"50%",cy:"50%",innerRadius:52,outerRadius:80,paddingAngle:2,children:sh.map(e=>(0,a.jsx)(ec.f,{fill:e.fill},e.name))}),(0,a.jsx)(em.m,{}),(0,a.jsx)(eu.s,{verticalAlign:"bottom",height:28})]})})}),(0,a.jsxs)("div",{className:"flex min-h-[220px] flex-col justify-center",children:[(0,a.jsx)("p",{className:"mb-2 text-xs font-medium text-muted-foreground",children:"Pipeline (stacked)"}),(0,a.jsx)("div",{className:"h-20 w-full max-w-lg",children:(0,a.jsx)(ea.u,{width:"100%",height:"100%",children:(0,a.jsxs)(er.E,{data:[sf],layout:"vertical",margin:{top:4,right:8,left:0,bottom:4},children:[(0,a.jsx)(el.W,{type:"number",domain:[0,s.total],hide:!0}),(0,a.jsx)(en.h,{type:"category",dataKey:"name",width:88,tick:{fontSize:11}}),sp.map(e=>(0,a.jsx)(ed.y,{dataKey:e,stackId:"pipe",fill:ex[e].hex,name:ex[e].label,radius:[0,0,0,0]},e)),(0,a.jsx)(em.m,{}),(0,a.jsx)(eu.s,{})]})})})]})]})]})}):null]}):(0,a.jsx)("div",{className:"grid grid-cols-2 gap-3 md:grid-cols-5",children:Array.from({length:5}).map((e,s)=>(0,a.jsx)(K.E,{className:"h-[88px] rounded-xl"},s))}),(0,a.jsx)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-center sm:justify-between",children:(0,a.jsxs)("div",{className:"relative max-w-md flex-1",children:[(0,a.jsx)(I.A,{className:"absolute left-3 top-1/2 h-4 w-4 -translate-y-1/2 text-muted-foreground"}),(0,a.jsx)(M.p,{placeholder:"Search step title or report reason…",value:eL,onChange:e=>{eT(e.target.value),ey(1),ez(1)},className:"h-11 rounded-xl border-border/80 bg-background/80 pl-10 shadow-sm backdrop-blur-sm"})]})}
1),(0,a.jsxs)(F.tU,{value:n,onValueChange:e=>x(e),children:[(0,a.jsxs)(F.j7,{className:"h-11 rounded-xl border border-border/80 bg-muted/50 p-1",children:[(0,a.jsxs)(F.Xi,{value:"active",className:"gap-1.5 rounded-lg data-[state=active]:bg-background data-[state=active]:shadow-sm",children:[(0,a.jsx)(o.A,{className:"h-3.5 w-3.5"}),"Open & in review",s&&s.open+s.in_review>0&&(0,a.jsx)(O.E,{variant:"secondary",className:"ml-1 h-5 min-w-[20px] px-1.5 text-xs font-mono",children:s.open+s.in_review})]}),(0,a.jsxs)(F.Xi,{value:"resolved",className:"gap-1.5 rounded-lg data-[state=active]:bg-background data-[state=active]:shadow-sm",children:[(0,a.jsx)(m.A,{className:"h-3.5 w-3.5"}),"Resolved & dismissed",s&&s.resolved+s.dismissed>0&&(0,a.jsx)(O.E,{variant:"secondary",className:"ml-1 h-5 min-w-[20px] px-1.5 text-xs font-mono",children:s.resolved+s.dismissed})]})]}),(0,a.jsx)(F.av,{value:"active",className:"mt-6 space-y-4",children:sx(h,ek,"No open or in-review reports. All clear!",!1,ew,V,ey)}),(0,a.jsxs)(F.av,{value:"resolved",className:"mt-6 space-y-4",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 rounded-xl border border-border bg-muted/40 px-4 py-3 text-xs text-foreground",children:[(0,a.jsx)(j.A,{className:"h-4 w-4 shrink-0 text-muted-foreground"}),(0,a.jsx)("span",{className:"text-muted-foreground",children:"Resolved and dismissed reports are automatically deleted 15 days after resolution."})]}),sx(eS,eU,"No resolved reports yet.",!0,eE,eR,ez)]})]}),(0,a.jsx)(es.lG,{open:eq,onOpenChange:e=>{eY(e),e||eQ(null)},children:(0,a.jsxs)(es.Cf,{className:"sm:max-w-md",children:[(0,a.jsxs)(es.c7,{children:[(0,a.jsx)(es.L3,{children:"Notify submitter"}),(0,a.jsxs)(es.rr,{children:["Sends an in-app notification to"," ",eG?(0,a.jsx)("span",{className:"font-medium text-foreground",children:eb(eG)}):"the reporter",". They will see it in their notification center."]})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2 py-1",children:eh.map(e=>(0,a.jsx)($.$,{type:"button",size:"sm",variant:"outline",className:"h-8 text-xs",onClick:()=>{e1(e.title),e2(e.message)},children:e.title},e.title))}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-xs font-medium text-muted-foreground",children:"Title"}),(0,a.jsx)(M.p,{className:"mt-1",value:e0,onChange:e=>e1(e.target.value),placeholder:"Short subject line"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-xs font-medium text-muted-foreground",children:"Message"}),(0,a.jsx)(W.T,{className:"mt-1 min-h-[100px]",value:e5,onChange:e=>e2(e.target.value),placeholder:"Optional details for the learner"})]})]}),(0,a.jsxs)(es.Es,{className:"gap-2 sm:gap-0",children:[(0,a.jsx)($.$,{type:"button",variant:"ghost",onClick:()=>{eY(!1),eQ(null)},children:"Cancel"}),(0,a.jsxs)($.$,{type:"button",className:"gap-1.5",disabled:e3,onClick:sn,children:[e3?(0,a.jsx)(D.A,{className:"h-4 w-4 animate-spin"}):(0,a.jsx)(U.A,{className:"h-4 w-4"}),"Send notification"]})]})]})}),(0,a.jsx)(P.Lt,{open:eH,onOpenChange:eX,children:(0,a.jsxs)(P.EO,{children:[(0,a.jsxs)(P.wd,{children:[(0,a.jsxs)(P.r7,{children:["Delete ",eF.size," report",1!==eF.size?"s":"","?"]}),(0,a.jsxs)(P.$v,{children:["This will permanently delete the selected report",1!==eF.size?"s":"",". This action cannot be undone."]})]}),(0,a.jsxs)(P.ck,{children:[(0,a.jsx)(P.Zr,{disabled:eJ,children:"Cancel"}),(0,a.jsxs)(P.Rx,{onClick:sr,disabled:eJ,className:"bg-destructive text-destructive-foreground hover:bg-destructive/90 gap-1.5",children:[eJ?(0,a.jsx)(D.A,{className:"w-4 h-4 animate-spin"}):(0,a.jsx)(j.A,{className:"w-4 h-4"}),eJ?"Deleting…":"Delete"]})]})]})})]})}},37097:(e,s,t)=>{t.d(s,{Xi:()=>o,av:()=>c,j7:()=>i,tU:()=>d});var a=t(7131),r=t(555),l=t(40395),n=t(58258);let d=l.bL,i=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.B8,{ref:s,className:(0,n.cn)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",t),...r})});i.displayName=l.B8.displayName;let o=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.l9,{ref:s,className:(0,n.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",t),...r})});o.displayName=l.l9.displayName;let c=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)(l.UC,{ref:s,className:(0,n.cn)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t),...r})});c.displayName=l.UC.displayName},38227:(e,s,t)=>{t.d(s,{T:()=>n});var a=t(7131),r=t(555),l=t(58258);let n=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("textarea",{className:(0,l.cn)("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:s,...r})});n.displayName="Textarea"},73999:(e,s,t)=>{t.d(s,{BT:()=>o,Wu:()=>c,ZB:()=>i,Zp:()=>n,aR:()=>d});var a=t(7131),r=t(555),l=t(58258);let n=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("rounded-lg border bg-card text-card-foreground shadow-sm",t),...r})});n.displayName="Card";let d=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("flex flex-col space-y-1.5 p-6",t),...r})});d.displayName="CardHeader";let i=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("h3",{ref:s,className:(0,l.cn)("text-2xl font-semibold leading-none tracking-tight",t),...r})});i.displayName="CardTitle";let o=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("p",{ref:s,className:(0,l.cn)("text-sm text-muted-foreground",t),...r})});o.displayName="CardDescription";let c=r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("p-6 pt-0",t),...r})});c.displayName="CardContent",r.forwardRef((e,s)=>{let{className:t,...r}=e;return(0,a.jsx)("div",{ref:s,className:(0,l.cn)("flex items-center p-6 pt-0",t),...r})}).displayName="CardFooter"},74272:(e,s,t)=>{t.d(s,{E:()=>l});var a=t(7131),r=t(58258);function l(e){let{className:s,...t}=e;return(0,a.jsx)("div",{className:(0,r.cn)("animate-pulse rounded-md bg-muted",s),...t})}}}]);

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.