import{isEmpty as r}from"lodash";var o=function(o,n,u){var l=null==o?void 0:o.sort((function(r,o){var n,u;return(null!==(n=o.group)&&void 0!==n?n:"").localeCompare(null!==(u=r.group)&&void 0!==u?u:"")}));return n&&r(u)?l:r(u)?o:null==o?void 0:o.filter((function(r){return r.group===u.name}))};export{o as getFormattedOptions};
//# sourceMappingURL=getFormattedOptions.js.map
