var m=(a,{rules:e,matcher:o})=>{var r,s,n;let l=(r=e.exact[a])!=null?r:[],c=(n=e.exactFields[(s=a.split(".").pop())!=null?s:""])!=null?n:[],p=Object.entries(e.patterns).filter(([t])=>o.isMatch(a,[t])).flatMap(([,t])=>t),i=[...l.flatMap(t=>t.strategies),...c.flatMap(t=>t.strategies),...p.flatMap(t=>t.strategies),...e.default],g=i.filter(t=>t.important),f=i.filter(t=>!t.important);return[...g,...f].map(t=>t.name)};export{m as a};
