import{j as e,ap as l,a1 as p}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f10.js";import{z as u,P as s}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f23.js";import{u as b}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f19.js";import{u as m}from"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f61.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f18.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f6.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f4.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f8.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f5.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f7.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f9.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f2.js";import"./v_7_4_2_18_ea7d0884-20ea-4e04-b6f3-cef449ac182f3.js";function M(){var i;const a=b(r=>r.language),o=u(r=>r.activeChat),t=(i=o==null?void 0:o.id)==null?void 0:i._serialized,n=s(m(r=>t?r.monitors.filter(d=>d.userID===t):[])),c=s(r=>r.stopSendAction);return!t||!n?null:e.jsx("div",{className:"animate__animated animate__fadeInDown bg-[var(--drawer-section-background)] p-2 px-3 z-10 relative mb-1 min-h-10 m-auto",style:{boxShadow:"0 1px 6px rgba(var(--shadow-rgb), .1)"},children:e.jsx("div",{className:"flex flex-col gap-4 max-h-[130px] overflow-y-auto",children:n.map(r=>e.jsxs("div",{className:"flex gap-2 items-center",children:[r.actionsTam>1&&(r.sendAction==="Actived"?e.jsx("div",{role:"button",onClick:()=>c(r.id),className:`box-border scrollbar-thin scrollbar-track-transparent scrollbar-thumb-[rgba(var(--black-rgb),0.2)]
                                            font-variation-settings-inherit tracking-inherit uppercase-none appearance-none
                                            m-0 cursor-pointer bg-none outline-none text-sm outline-offset-2 
                                            relative inline-block font-medium whitespace-nowrap leading-[1.1429]
                                            transition-all duration-[180ms] ease-out
                                            px-3 py-[4px] rounded-[24px] border border-solid
                                            border-l-[var(--button-secondary-border)] border-r-[var(--button-secondary-border)]
                                            border-t-[var(--button-secondary-border)] border-b-[var(--button-secondary-border)]
                                            bg-[var(--button-secondary-background)] text-[var(--button-secondary-destructive-color)]
                                            font-['Segoe_UI','Helvetica_Neue','Helvetica','Lucida_Grande',Arial,'Ubuntu','Cantarell','Fira_Sans',sans-serif]
                                            hover:shadow-[0_2px_7px_rgba(var(--shadow-rgb),0.09),0_1px_2px_rgba(var(--shadow-rgb),0.05)]
                                            hover:text-[var(--button-secondary-destructive-hover-color)]`,children:a.cancelar_envio}):e.jsx("div",{className:"flex gap-1",children:e.jsx("span",{className:"loading loading-spinner loading-sm text-[var(--primaria)]"})})),e.jsx(l,{type:r.activeAction.type,style:"w-5 h-5 text-[var(--primaria)]"}),e.jsxs(p,{weight:"600",children:[r.remetente==="useAcaoEnvioEmMassa"?a.envioMassa:a[r.remetente],e.jsxs("i",{children:[" (",r.actionIndice,"/",r.actionsTam,")"]})]})]},r.id))})})}export{M as default};
