import{j as e}from"./0d719ebe-9bc8-4321-95e4-3b7ae7188d0c.r_NqTohD.js";import{u as r,Q as l}from"./1ceaed43-a081-4611-842e-ea805b3572ef.S9cV1odN.js";import"./39ee25f2-649f-4e0f-8e4f-88b1d0c97171.C0Zqfgkc.js";function o({base64:a}){const{language:i}=r(),t=a.split(";")[0].split(":")[1].split("/")[0];let s;switch(t){case"video":s=e.jsx("video",{src:a,className:"rounded",controls:!0,style:{maxWidth:"341px",maxHeight:"424px"}});break;case"image":s=e.jsx("img",{src:a,className:"rounded",alt:"note_image",style:{maxWidth:"341px",maxHeight:"424px"}});break;case"audio":s=e.jsx("audio",{src:a,controls:!0,className:"animate__animated animate__bounceIn w-80"});break;default:s=e.jsx("div",{className:"animate__animated animate__zoomIn",children:e.jsx("div",{className:"tvf2evcx m0h2a7mj lb5m6g5c j7l1k36l ktfrpxia nu7pwgvd p357zi0d dnb887gk gjuq5ydh i2cterl7 ac2vgrno f8m0rgwh gndfcl4n cm280p3y jmly3brn qqs366u4 ikqdvm1y m3qqxsiz r1ncx0sg mmj7r7ye py-2",children:e.jsxs("div",{className:"du8bjn1j px-2 !m-0",children:[e.jsx("span",{"data-icon":"preview-generic",className:"flex justify-center",children:e.jsxs("svg",{viewBox:"0 0 88 110",height:"110",width:"88",preserveAspectRatio:"xMidYMid meet",children:[e.jsx("g",{transform:"translate(4 3)",children:e.jsx("path",{"stroke-opacity":"0.08",stroke:"#000",d:"M3-.5h56.929a5.5 5.5 0 0 1 3.889 1.61l15.071 15.072a5.5 5.5 0 0 1 1.611 3.89V101a3.5 3.5 0 0 1-3.5 3.5H3A3.5 3.5 0 0 1-.5 101V3A3.5 3.5 0 0 1 3-.5z",fill:"#FFF","fill-rule":"evenodd"})}),e.jsx("path",{d:"M65.5 3.5v15a3 3 0 0 0 3 3h15","stroke-opacity":"0.12",stroke:"#000",fill:"#FFF"})]})}),e.jsx("span",{className:"pt-1 text-center font-semibold w-full block uppercase",children:"documento"})]})})});break}return e.jsxs("div",{className:"px-4 grid gap-2",children:[e.jsx("div",{children:s}),e.jsx("div",{className:"ml-auto",children:e.jsx("div",{role:"button",className:"badge badge-outline border-solid pulse badge-primary hover:!bg-[oklch(var(--p))] hover:!text-[var(--letra)]",onClick:()=>l(a,Date.now().toString()),children:i.baixar})})]})}export{o as default};
