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