import{Wb as K,Xb as Y}from"./cli-0.5.4-rfkjv3qd.mjs";import{$n as H,ao as U,go as V,ho as W,jJ as J,rJ as X,sn as G,tn as B}from"./cli-0.5.4-k5fz4zd3.mjs";import{Wma as q,Zma as v}from"./cli-0.5.4-aacw1src.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>H.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(G([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();B();U();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(W(),q(V))});
export{P as Sb,C as Tb,A as Ub,D as Vb};
