"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("lodash");exports.getFormattedOptions=function(o,t,e){var i=null==o?void 0:o.sort((function(r,o){var t,e;return null===(t=o.group)||void 0===t?void 0:t.toString().localeCompare(null===(e=r.group)||void 0===e?void 0:e.toString())}));return t&&r.isEmpty(e)?i:r.isEmpty(e)?o:null==o?void 0:o.filter((function(r){return r.group===e.name}))};
