import{ac as K,bc as Y}from"./cli-0.5.12-kkfzbxw6.mjs";import{FJ as X,Mj as G,Nj as B,Qn as H,Rj as U,Rn as W,Sj as V,xJ as J}from"./cli-0.5.12-zc0qwdy2.mjs";import{Zna as q,aoa as v}from"./cli-0.5.12-xzeb7mtb.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>G.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(H([...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();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(V(),q(U))});
export{P as Yb,C as Zb,A as _b,D as $b};
