import{GY as y,KY as V}from"./cli-0.5.3-ptjdgcsy.mjs";import{P6 as p,R6 as K,u9 as q,w9 as Q}from"./cli-0.5.3-t65dek0m.mjs";import{Xma as J}from"./cli-0.5.3-0df3r78b.mjs";function j(){return!!z}async function D(){if(b!==null)return b;return b=!!z,b}function P(){return W||null}async function w(){return(await p(y,["-V"])).code===0}function E(){if(f!==null)return f;let k=process.env.TERM_PROGRAM,B=!!process.env.ITERM_SESSION_ID,H=q.terminal==="iTerm.app";return f=k==="iTerm.app"||B||H,f}async function F(){return(await p(Y,["session","list"])).code===0}function G(){b=null,f=null}var z,W,b=null,f=null,Y="it2";var Z=J(()=>{Q();K();V();z=process.env.TMUX,W=process.env.TMUX_PANE});
export{j as uY,D as vY,P as wY,w as xY,E as yY,Y as zY,F as AY,G as BY,Z as CY};
