import{conductCheck as e}from"../../vc-tree/utils/conductUtil.mjs";import{shallowRef as t,watchEffect as n}from"vue";var r=(r,i,a,o,s,c)=>{let l=t([]),u=t([]);return n(()=>{let t=r.value.map(({value:e})=>e),n=i.value.map(({value:e})=>e),d=t.filter(e=>!o.value[e]);a.value&&({checkedKeys:t,halfCheckedKeys:n}=e(t,!0,o.value,s.value,c.value)),l.value=Array.from(new Set([...d,...t])),u.value=n}),[l,u]};export{r as default};