import{n as e}from"./index-7yDgay5u.js";import{P as t}from"./test.id-DxQrYxPk.js";import{r as n}from"./experienceMode-DQ1Vmw-T.js";import{n as r,t as i}from"./membershipService-iYu9OIlX.js";import{t as a}from"./useTopTips-B9oW_JMO.js";import{t as o}from"./index-9BPhDxrb.js";var s={configured:!1,active:!1},c={configured:!1,active:!0};function l(){let l=t(i),u=a(),d=n(),f=o(d?null:r,()=>l.getStatus(),{dedupingInterval:0,onError:()=>u({message:e(`settings.membership.error.loadFailed`,`Membership information is temporarily unavailable. Try again later.`)})}),p=d?c:f.data??s;return{...f,data:d?c:f.data,isLoading:d?!1:f.isLoading,isValidating:d?!1:f.isValidating,status:p}}export{l as n,c as t};
//# sourceMappingURL=useMembershipStatus-CuwuZX56.js.map