import{jsx as r}from"react/jsx-runtime";import{makeStyles as e}from"@material-ui/core";import i from"./Chip.js";import a from"classnames";var o=e((function(){return{container:{display:"flex",flexWrap:"wrap",padding:"8px"}}})),t=function(e){var t=e.wells,l=e.maxWidth,n=e.onRemoveOffsetWell,m=e.isShowMark,s=void 0===m||m,c=e.onChipClick,f=void 0===c?null:c,p=e.chipsContainerClassName,d=o();return r("div",{className:a(d.container,p),children:t.map((function(e){var a=e.wellId,o=e.title,t=e.isSubject,m=e.markColor,c=e.rigName;return r(i,{maxWidth:l,title:o,isSubject:t,markColor:m,rigName:c,wellId:a,onRemoveOffsetWell:n,isShowMark:s,onClick:f},a)}))})};export{t as default};
