import{isCheckDisabled as e}from"./valueUtil.mjs";var t=`SHOW_ALL`,n=`SHOW_PARENT`,r=`SHOW_CHILD`;function i(t,n,r,i){let a=new Set(t);return n===`SHOW_CHILD`?t.filter(t=>{let n=r[t];return!(n&&n.children&&n.children.some(({node:e})=>a.has(e[i.value]))&&n.children.every(({node:t})=>e(t)||a.has(t[i.value])))}):n===`SHOW_PARENT`?t.filter(t=>{let n=r[t],i=n?n.parent:null;return!(i&&!e(i.node)&&a.has(i.key))}):t}export{t as SHOW_ALL,r as SHOW_CHILD,n as SHOW_PARENT,i as formatStrategyValues};