"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const s=require("react/jsx-runtime");require("react");const l=require("react-redux"),h=e=>{const{editing:a=!1,unique:r,intl:b,"data-csv":x="","data-selected-dashboard-id":d="","data-height":n,"data-width":o=100,"data-margin":i=0,settings:t}=e,c=t?t.apache_superset_url:"",u=`${decodeURIComponent(c)}/superset/dashboard/${d}/?standalone=3`;return s.jsx("div",{id:`superset-dashboard-${r}`,children:s.jsx("iframe",{src:u,seamless:"seamless",title:"superset-dashboard",style:{border:"none",width:o+"%",height:n+"px",margin:i+"px"}})})},p=(e,a)=>({}),m={},g=l.connect(p,m)(h);exports.default=g;
