import{o}from"./app-BgLa5dit.js";import{S as u,a as h}from"./B11DWb8Z.chunk.js";import{C as p}from"./q-IBKcuF.chunk.js";function M(s,e){var n,c,i;const t=o(p.customer(s)),a=o(((c=(n=t.data)==null?void 0:n.country)==null?void 0:c.code)&&u.getSchoolSaml(t.data.country.code,(i=t.data)==null?void 0:i.customerGuid)),m=o(p.yearGroups(s)),r=o(u.getSsoYearGroupsMappings(s)),d=!t.hasCompleted||!a.hasCompleted||!r.hasCompleted||!m.hasCompleted,g=a.isFetching||r.isFetching,S=h.convertSsoYearGroupMappings(r.data);return{customer:t.data,customerSaml:a.data,yearGroupsMapping:S,isLoading:d,isFetching:g}}function F(s){const e=o(p.getCustomerIdpMappings(s));return{customerIdpMappings:e.data,isLoading:!e.hasCompleted}}export{F as a,M as u};
//# sourceMappingURL=BoupYpv9.chunk.js.map
