"use strict";var e=require("prop-types"),t=require("@material-ui/core"),i=require("classnames"),a=require("react/jsx-runtime");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(e),p=r(i),s=t.makeStyles({wrapper:{position:"relative",width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",padding:"16px",zIndex:function(e){return e.showArrow?1:"auto"},"@media (max-height:350px)":{paddingTop:"56px"},"@media (max-width:500px)":{paddingTop:"128px"}},errorImage:{width:"390px",height:"300px",marginTop:"24px","@media (max-height:400px)":{width:"260px",height:"200px"},"@media (max-height:350px), (max-width: 580px) and (max-height:550px)":{display:"none"},"@media (max-width:500px)":{width:"260px",height:"200px"}},title:{fontSize:"32px",fontStyle:"italic",color:"#9E9E9E",lineHeight:"37px",fontWeight:"normal","@media (max-height:400px)":{fontSize:"24px"},"@media (max-width:500px)":{fontSize:"24px"}},description:{fontSize:"16px",color:"#9E9E9E"},arrow:{position:"absolute",top:0,right:0,zIndex:-1,"@media (max-width: 960px)":{display:"none"}}});function d(e){var i=e.title,r=e.description,o=e.showArrow,d=e.customStyles,l=s({showArrow:o});return a.jsxs("div",{"data-testid":"".concat("EmptyView","_wrapper"),className:p.default(l.wrapper,d.wrapper),children:[a.jsx(t.Typography,{className:p.default(l.title,d.title),children:i}),a.jsx(t.Typography,{className:p.default(l.description,d.description),children:r}),a.jsx("img",{src:"/static/media/5010eaf4520add4dcd713ce1fdbda5ea.png",className:l.errorImage,alt:"error state"}),o&&a.jsx("img",{src:"/static/media/1be6a0ee1d46b5f5c15203014864e086.svg",alt:"arrow",className:p.default(l.arrow,d.arrow)})]})}d.propTypes={title:o.default.string,description:o.default.string,showArrow:o.default.bool,customStyles:o.default.shape({wrapper:o.default.string,title:o.default.string,description:o.default.string,arrow:o.default.string})},d.defaultProps={title:"No Data Available",description:"",showArrow:!1,customStyles:{}},module.exports=d;
