import o from"lodash/first";import{COMPLETION_APP_TYPES as t}from"../../../constants/completion.js";import{resolveActiveWirelineAsset as e,resolveActiveFracAsset as i}from"../../../utils/completion.js";import{PadMode as p}from"../../../types/shared/Completions.js";var l=function(l){var r=l.assets,n=l.padModeSetting,s=l.completionAppType;return(null==n?void 0:n.mode)===p.padLine?null:(s===t.wirelineMultiWellApp?e:i)(r)||o(r)||null};export{l as getActiveAsset};
//# sourceMappingURL=getActiveAsset.js.map
