import{gN as f,e as o,bg as l,ab as c,dW as b,c as g,z as a}from"./CmKmn20f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e0c098eb-23f6-4bad-8f2c-ee3dd272a8f9",e._sentryDebugIdIdentifier="sentry-dbid-e0c098eb-23f6-4bad-8f2c-ee3dd272a8f9")}catch{}})();const w=f(e=>{var s,t;if(e.name!=="d")return;const{isOwner:n}=o(l());if(n.value){const{WAITING:d,TO_DO:r}=c.BOOKINGS.LISTING_STATE,{all:i}=o(b()),{all:u}=o(g());if((s=i.value[d])!=null&&s.count||!((t=u.value[r])!=null&&t.count))return a({name:"d-bookings"})}return a({name:"d-trips"})});export{w as default};
//# sourceMappingURL=CGtV-SgO.js.map