import{u as o}from"./framework.e8f655c8.js";function f(r,s){return{getActiveMenuTypeWithHasAmount:()=>{const t=o(s),u=o(r),n=u.find(e=>e.value===t);if(n!=null&&n.amount)return t;const i=u.find(e=>e.amount);return i?i.value:t}}}export{f as u};
