"use strict";var e=require('./../../ext-esm/tslib/tslib.es6.js'),i=require("react/jsx-runtime"),t=require("@material-ui/core");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(require("classnames")),o=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"}}});module.exports=function(a){var d=a.title,s=void 0===d?"No Data Available":d,p=a.description,n=void 0===p?"":p,x=a.showArrow,l=void 0!==x&&x,m=a.customStyles,h=void 0===m?{}:m,c=o({showArrow:l});return i.jsxs("div",e.__assign({"data-testid":"".concat("EmptyView","_wrapper"),className:r.default(c.wrapper,h.wrapper)},{children:[i.jsx(t.Typography,e.__assign({className:r.default(c.title,h.title)},{children:s})),i.jsx(t.Typography,e.__assign({className:r.default(c.description,h.description)},{children:n})),i.jsx("img",{src:"/static/media/5010eaf4520add4dcd713ce1fdbda5ea.png",className:c.errorImage,alt:"error state"}),l&&i.jsx("img",{src:"/static/media/1be6a0ee1d46b5f5c15203014864e086.svg",alt:"arrow",className:r.default(c.arrow,h.arrow)})]}))};
