import{Wb as K,Xb as Y}from"./cli-0.5.3-8c4qqwaa.mjs";import{Zn as H,_n as U,eo as V,fo as W,hJ as J,pJ as X,qn as G,rn as B}from"./cli-0.5.3-jbzr8k4s.mjs";import{Uma as q,Xma as v}from"./cli-0.5.3-0df3r78b.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};
