"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("classnames"),n=require("@material-ui/core"),r=require("../../../../constants.js"),s=require("../types.js"),l=require("../../components/OffsetWellsTableRow/OffsetWellsTableRow.module.css.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(t);exports.InterventionAssetCell=function(t){var i,a,u,d=t.data,c=t.borderStyle,v=t.columnsMap;return e.jsx(n.TableCell,{"data-testid":"".concat(s.PAGE_NAME,"_interventionAsset"),className:o.default(l.bodyCell,c),style:{minWidth:(null===(i=v.get(r.ColumnType.interventionAsset))||void 0===i?void 0:i.minWidth)||0,flex:(null===(a=v.get(r.ColumnType.interventionAsset))||void 0===a?void 0:a.flex)||0},children:e.jsx(n.Typography,{variant:"body2",className:l.cellData,children:(u=d[r.ColumnType.interventionAsset],Array.isArray(u)&&u.length>0?u.join(", "):u?String(u):"—")})})};
//# sourceMappingURL=InterventionAssetCell.js.map
