const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Detail-CgB7UUOw.js","./vendor-s2rfM_Vj.js","./t-r-vendor-gn7FMrPE.js","./t-r-vendor-BqYdeEzc.css","./Detail-DQQzWWtC.css"])))=>i.map(i=>d[i]);
import{_ as s}from"./constant-Dkm_Y9q1.js";import{E as r,r as a,z as e}from"./vendor-s2rfM_Vj.js";const n=r("div")({name:"WrapUI",class:"wtv3oxb",propsAsIs:!1}),o=r("div")({name:"ContentUI",class:"c1a5h0r4",propsAsIs:!1,vars:{"c1a5h0r4-0":[s=>s.background]}}),i=r("i")({name:"IconUI",class:"i1ddziuf",propsAsIs:!1}),c=a.lazy((()=>s((()=>import("./Detail-CgB7UUOw.js")),__vite__mapDeps([0,1,2,3,4]),import.meta.url))),t=({iframe:s,icon:r,background:t})=>{const[l,d]=a.useState(!1),m=a.useRef(!1),p=s=>{m.current=!0,d(s)};return e.jsxs(n,{children:[e.jsx(o,{background:t??"",onClick:()=>p(!0),children:e.jsx(i,{className:"ovo "+r})}),e.jsx(a.Suspense,{children:m.current&&e.jsx(c,{visible:l,handleVisible:p,iframe:s??""})})]})};export{t as default};
