import{__assign as i}from'./../../ext-esm/tslib/tslib.es6.js';import{jsxs as e,jsx as t}from"react/jsx-runtime";import{makeStyles as a,Typography as r}from"@material-ui/core";import o from"classnames";var p=a({wrapper:{position:"relative",width:"100%",height:"100%",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"flex-start",padding:"16px",zIndex:function(i){return i.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(a){var d=a.title,m=void 0===d?"No Data Available":d,n=a.description,s=void 0===n?"":n,x=a.showArrow,l=void 0!==x&&x,h=a.customStyles,c=void 0===h?{}:h,w=p({showArrow:l});return e("div",i({"data-testid":"".concat("EmptyView","_wrapper"),className:o(w.wrapper,c.wrapper)},{children:[t(r,i({className:o(w.title,c.title)},{children:m})),t(r,i({className:o(w.description,c.description)},{children:s})),t("img",{src:"/static/media/5010eaf4520add4dcd713ce1fdbda5ea.png",className:w.errorImage,alt:"error state"}),l&&t("img",{src:"/static/media/1be6a0ee1d46b5f5c15203014864e086.svg",alt:"arrow",className:o(w.arrow,c.arrow)})]}))}export{d as default};
