"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("lodash/first"),t=require("../../../constants/completion.js"),r=require("../../../utils/completion.js"),s=require("../../../types/shared/Completions.js");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=i(e);exports.getActiveAsset=function(e){var i=e.assets,o=e.padModeSetting,n=e.completionAppType;return(null==o?void 0:o.mode)===s.PadMode.padLine?null:(n===t.COMPLETION_APP_TYPES.wirelineMultiWellApp?r.resolveActiveWirelineAsset:r.resolveActiveFracAsset)(i)||l.default(i)||null};
//# sourceMappingURL=getActiveAsset.js.map
