import{j as t,V as x,a0 as h,a2 as g}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec510.js";import{a as o}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec54.js";import{ag as j,o as A,ah as T,y as E}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec523.js";import{u as w}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec519.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec547.js";import{E as C}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec5116.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec518.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec56.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec58.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec5.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec55.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec57.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec59.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec52.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec53.js";function q({atendente:r}){var s;const{trasferir_atendimento:n}=j(),{close:m}=A(),{trasferirAtendimento:c}=T(),{user:l}=(s=E.getState().activeChat)==null?void 0:s.id,{language:e}=w(),[i,d]=o.useState(""),[a,p]=o.useState(!1),u=()=>{m(),n(r,i,a),c(l,r.assinatura)};return t.jsxs("div",{className:"flex flex-col gap-4 w-[500px]",children:[t.jsx(x,{children:e.transferirAtendimentoTittle}),t.jsx(C,{id:"TransferirAtendimento_TextArea",titulo:t.jsxs(t.Fragment,{children:[e.transferirEmojiTittle," ",t.jsx("strong",{children:r.assinatura})]}),type:"textarea",className:"w-full",position:"right",placeholder:e.atendimentoEmojiAreaPlaceHolder,text:i,setText:f=>d(f),heightCamp:160}),t.jsx("label",{htmlFor:e.atendimentoUrgencia,children:t.jsxs("div",{className:"flex justify-between cursor-pointer items-center h-9 px-1 py-2",children:[t.jsx("span",{children:e.atendimentoComUrgencia}),t.jsx(h,{estado:a,switchUpdate:()=>p(!a),id:"urgencia"})]})}),t.jsx(g,{name:e.botaoTransferir,funcao:u})]})}export{q as default};
