import{H as l,x as p}from"./CChoqk00.js";import{u as i}from"./BBOawLyY.js";const k=(r=null,e=null)=>{const n=i().getCpanelProperty("track")||null,{TRACKER_PREFIX:t}=l().public;return{trackerGenerator:(o,a,u)=>{if(!t||!n)return;const c={[a]:u,...r!==null&&{loggedInUser:r},...e!==null&&{userPlan:e}};return n(`${t}_${o}`,c)}}},m=()=>{const r=p(),{trackerGenerator:e}=k(r.userIsLoggedIn,r.userDetails.planSlug);return{tracker:(t,s,o)=>e(t,s,o)}};export{m as u};
