"use strict";var e=require("react/jsx-runtime"),t=require("lodash"),r=require("@material-ui/core"),i=require("./effects/useWellStreamActivityTypeSubscription.js"),o=r.makeStyles((function(e){return{chipRoot:{"&.MuiChip-root":{height:12,padding:"2px 8px",fontSize:10,backgroundColor:"".concat(e.palette.success.bright," !important"),marginLeft:4,"&:hover":{"& .MuiChip-label":{color:e.palette.background.b1}},"& .MuiChip-label":{color:e.palette.background.b1,padding:0,fontWeight:500,"&:hover":{color:e.palette.background.b1}}}}}}));module.exports=function(l){var u,a=l.isStatusShown,n=l.currentWellId,s=l.subData,c=o(),p=i.useWellStreamActivityTypeSubscription({currentWellId:n,isStatusShown:a}),d=s||p;return a&&n?t.isEmpty(d)?null:e.jsx(r.Chip,{label:null===(u=null==d?void 0:d.streamType)||void 0===u?void 0:u.toUpperCase(),classes:{root:c.chipRoot}}):null};
