1import{j as e}from"./vendor-three-BGGFfWe7.js";import{L as o}from"./LawyerMockShell-B0REp-KP.js";import{P as u,d as b,S as n,b as g,N as v}from"./MinhaClaroPrimitives-_KO0sZ14.js";import{n as p,R as l,c2 as h,o as f,bf as c,kz as j,V as d}from"./index-zO3nSPIa.js";import"./GlobalPortalHeader-C6LAWzQN.js";/** 2 * @license lucide-react v0.475.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const N=[["path",{d:"M13 3H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-3",key:"i8wdob"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"m17 8 5-5",key:"fqif7o"}],["path",{d:"M17 3h5v5",key:"1o3tu8"}]],m=p("ScreenShare",N),x=[{id:1,client:"João Silva",initials:"JS",motivo:"Consulta superendividamento",status:"em_atendimento",duration:"12:34",participants:2},{id:2,client:"Maria Santos",initials:"MS",motivo:"Reunião de contrato",status:"aguardando",duration:"â",participants:1},{id:3,client:"Pedro Costa",initials:"PC",motivo:"Audiência de conciliação",status:"aguardando",duration:"â",participants:1}],i={em_atendimento:{label:"Em atendimento",color:"bg-govbr-success-container text-govbr-success",dot:"bg-govbr-success"},aguardando:{label:"Aguardando",color:"bg-govbr-warning-container text-govbr-warning-foreground",dot:"bg-govbr-warning"},livre:{label:"Livre",color:"bg-govbr-surface-muted text-govbr-on-surface/50",dot:"bg-govbr-outline"}};function y(){const s=x.map(a=>({label:a.client,description:a.motivo,badge:i[a.status].label,badgeColor:i[a.status].color}));return e.jsxs("div",{className:"pb-6",children:[e.jsx(u,{eyebrow:"Sala Virtual",title:"Salas ativas",description:"Crie e gerencie salas de vÃdeo para atendimento aos clientes.",cta:"Nova sala",ctaIcon:l}),e.jsx(b,{items:[{value:"1",label:"Em atendimento"},{value:"2",label:"Aguardando"},{value:"5",label:"ConcluÃdas hoje"}]}),e.jsx(n,{title:"Salas ativas"}),e.jsx(g,{items:s}),e.jsx(n,{title:"Ações"}),e.jsx(v,{items:[{icon:d,title:"Criar sala transient",trailing:"Whereby"},{icon:c,title:"Ver fila de espera",trailing:"3"},{icon:m,title:"Compartilhar tela"}]})]})}function L({branding:s,variant:a}){return a==="mobile"?e.jsx(o,{activeId:"salavirtual",branding:s,variant:a,children:e.jsx(y,{})}):e.jsx(o,{activeId:"salavirtual",branding:s,variant:a,children:e.jsxs("div",{className:"p-6",children:[e.jsxs("div",{className:"mb-5 flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("h1",{className:"text-xl font-bold text-govbr-on-surface",children:"Sala Virtual"}),e.jsx("p",{className:"text-xs text-govbr-on-surface/50",children:"Gestão de salas Whereby · 1 em atendimento · 2 aguardando"})]}),e.jsxs("button",{className:"flex items-center gap-1.5 rounded-govbr-md bg-govbr-primary px-3 py-2 text-xs font-medium text-govbr-on-primary hover:bg-govbr-primary/90",children:[e.jsx(l,{className:"h-3.5 w-3.5"})," Nova sala"]})]}),e.jsx("div",{className:"grid grid-cols-3 gap-4",children:x.map(t=>{const r=i[t.status];return e.jsxs("div",{className:"rounded-govbr-lg border border-govbr-outline/20 bg-govbr-surface p-4",children:[e.jsxs("div",{className:"flex items-start justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx("div",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-govbr-primary text-sm font-bold text-govbr-on-primary",children:t.initials}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-semibold text-govbr-on-surface",children:t.client}),e.jsx("p",{className:"text-[10px] text-govbr-on-surface/50",children:t.motivo})]})]}),e.jsxs("span",{className:`flex items-center gap-1.5 rounded-full px-2 py-0.5 text-[9px] font-semibold ${r.color}`,children:[e.jsx(h,{className:`h-1.5 w-1.5 ${r.dot}`})," ",r.label]})]}),e.jsxs("div",{className:"mt-3 flex items-center gap-4 text-[11px] text-govbr-on-surface/60",children:[e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(f,{className:"h-3 w-3"})," ",t.duration]}),e.jsxs("span",{className:"flex items-center gap-1",children:[e.jsx(c,{className:"h-3 w-3"})," ",t.participants]})]}),e.jsx("div",{className:"mt-3 flex gap-1.5",children:t.status==="em_atendimento"?e.jsxs(e.Fragment,{children:[e.jsxs("button",{className:"flex h-8 flex-1 items-center justify-center gap-1.5 rounded-govbr-md bg-govbr-surface-muted text-[10px] font-medium text-govbr-on-surface/70 hover:bg-govbr
6-outline/20",children:[e.jsx(m,{className:"h-3.5 w-3.5"})," Compartilhar"]}),e.jsxs("button",{className:"flex h-8 flex-1 items-center justify-center gap-1.5 rounded-govbr-md bg-govbr-error-container text-[10px] font-medium text-govbr-error hover:bg-govbr-error/10",children:[e.jsx(j,{className:"h-3.5 w-3.5"})," Encerrar"]})]}):e.jsxs("button",{className:"flex h-8 flex-1 items-center justify-center gap-1.5 rounded-govbr-md bg-govbr-primary text-[10px] font-medium text-govbr-on-primary hover:bg-govbr-primary/90",children:[e.jsx(d,{className:"h-3.5 w-3.5"})," Iniciar"]})})]},t.id)})})]})})}export{L as default};
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.