import{j as e,D as n,h as l,k as i,l as c,T as t,v as d,r as a,bI as u}from"./index-B2TpLIOm.js";import{T as x}from"./textarea-TeCmazBR.js";function h({content:s}){return e.jsx(n,{defaultOpen:!0,children:e.jsxs(l,{className:"w-[90%] rounded-lg md:pt-4",style:{maxWidth:530},children:[e.jsxs(i,{children:[e.jsx(c,{children:e.jsx(t,{id:"VsHxv+"})}),e.jsx(d,{className:"hidden xs:block",children:e.jsx(t,{id:"/++c22"})})]}),e.jsx(f,{content:s})]})})}function f({content:s}){const r=a.useRef(null),o=a.useMemo(()=>s.split(`
`).length,[s]);return a.useEffect(()=>{r.current&&r.current.select()},[r]),a.useEffect(()=>()=>u.set(""),[]),e.jsx(x,{className:"font-mono overflow-hidden whitespace-pre",rows:o,value:s,readOnly:!0,ref:r})}export{h as default};
