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