import{r as a,x as r,j as t,c as i,af as c,ag as d,v as l}from"./index-D3uELfdo.js";const m=i("iframe",{target:"e1u6k47s0"})(({theme:e,disableScrolling:n})=>({width:"100%",height:"100%",colorScheme:"normal",border:"none",padding:e.spacing.none,margin:e.spacing.none,overflow:n?"hidden":void 0}),"");function o(e){return l(e)||e===""?void 0:e}function g({element:e}){const n=o(e.src),s=r(n)?void 0:o(e.srcdoc);return t.jsx(m,{className:"stIFrame","data-testid":"stIFrame",allow:d,disableScrolling:!e.scrolling,src:n,srcDoc:s,scrolling:e.scrolling?"auto":"no",sandbox:c,title:"st.iframe",tabIndex:e.tabIndex??void 0})}const f=a.memo(g);export{f as default};
