var t={ACTIVE:"active"},e=function(e){return!!e&&("rig"===e.type?(null===(i=e.active_well)||void 0===i?void 0:i.status)===t.ACTIVE:"intervention_unit"===e.type?(null===(l=e.active_well)||void 0===l?void 0:l.status)===t.ACTIVE:"drillout_unit"===e.type?!!e.well:"frac_fleet"===e.type?!!e.current_pad_id:"pad"===e.type?!!e.active:"well"===e.type&&e.status===t.ACTIVE);var i,l};export{t as ASSET_STATUS,e as checkIsAssetActive};
//# sourceMappingURL=utils.js.map
