import{j as a,$ as p,am as o,ak as d,I as l}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec510.js";import{p as x}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec523.js";import{u}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec519.js";import{u as g}from"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec5105.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-750829962ec54.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";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec5125.js";import"./v_7_4_2_12_5cc5c70e-17b9-46d5-a61c-750829962ec528.js";function O({acaoModel:i}){const{close:r}=x(),{getVariaveis:n}=g(),{language:e}=u(),m=["#nome","#primeiroNome","#numero","#periodo-dia","#saudação","#mencionar-todos"],c=["#sexo","#data_nascimento","#idioma","#email","#cidade","#estado","#origem","#data_entrada","#data_saida","#valor_negocio","#empresa","#cargo","#produtos_de_interesse","#observações"],t=s=>{d(s),l({type:"Success",message:`${e.tag} ${s} ${e.Copiada}`,position:"top-right"}),r()};return a.jsxs("div",{className:"px-3",children:[a.jsx(p,{weight:"700",children:e.tagsDisponiveis}),a.jsx("hr",{className:"mt-1"}),a.jsxs("div",{className:"flex gap-4 mt-2",children:[a.jsx("div",{children:a.jsx("ul",{className:"mt-3 p-[1px]",children:m.map(s=>a.jsx(o,{className:"text-base truncate !w-[200px]",content:s,icon:a.jsx(a.Fragment,{}),setFunction:()=>t(s)}))})}),i==="useAcaoEnvioEmMassa"&&a.jsxs("div",{children:[a.jsx("div",{className:"badge badge-warning text-[var(--letra)]",children:e.envioMassa}),a.jsx("ul",{className:"mt-3 overflow-y-auto overflow-x-hidden p-[1px]",style:{maxHeight:"calc(100vh - 282px)"},children:n().map(s=>a.jsx(o,{className:"text-base truncate !w-[200px]",content:"#"+s,icon:a.jsx(a.Fragment,{}),setFunction:()=>t("#"+s)}))})]}),a.jsxs("div",{children:[a.jsx("div",{className:"badge badge-accent text-[var(--letra)]",children:e.profileContact}),a.jsx("ul",{className:"mt-3 p-[1px]",children:c.map(s=>a.jsx(o,{className:"text-base truncate !w-[200px]",content:s,icon:a.jsx(a.Fragment,{}),setFunction:()=>t(s)}))})]})]})]})}export{O as default};
