import{qo as e}from"./app-server-manager-signals-Yn0WSnoY.js";import{lt as t}from"./vscode-api-DjORcpSo.js";var n=t();function r(t){let r=(0,n.c)(9),[a,o]=e(`diff_comments`),s;r[0]!==a||r[1]!==t?(s=i(a,t),r[0]=a,r[1]=t,r[2]=s):s=r[2];let c=s,l;r[3]!==t||r[4]!==o?(l=e=>{t&&o(n=>{let r={...n},i=r[t]??[],a=typeof e==`function`?e(i):e;return a.length===0?(delete r[t],r):(r[t]=a,r)})},r[3]=t,r[4]=o,r[5]=l):l=r[5];let u=l,d;return r[6]!==c||r[7]!==u?(d=[c,u],r[6]=c,r[7]=u,r[8]=d):d=r[8],d}function i(e,t){return t?e?.[t]??[]:[]}export{r as t};
//# sourceMappingURL=use-diff-comments-BYHCiBtr.js.map