import{az as m,bc as u,c4 as n,ao as r,aF as l,L as g,m as d,o as C}from"./app-k0jcl5PQ.js";import{E as h}from"./CkuFLKlL.chunk.js";import{C as c}from"./_XP6hjk3.chunk.js";import"./C3DvQ1wU.chunk.js";import"./DV1GpLCe.chunk.js";import"./Di9d6zcy.chunk.js";import"./CKctgafI.chunk.js";import"./Bdp-qhf0.chunk.js";import"./BUELddOb.chunk.js";import"./DLmnDxSd.chunk.js";import"./CW7x8M-z.chunk.js";const x="classrooms.editClassroomGroup",a=g.encloseNamespace(x);function D(s){const o=m(c.getClassroomGroup(s.groupId)),t=u(),i=n(),p=e=>{d(i,c.editGroup(e,s.classroomId,()=>{t.success(a("success",{groupName:e.name,escapeText:!0})),C.logUserAction(e,s.analyticsOptions),s.closePopup()},()=>{t.error(a("error",{groupName:o.data.name,escapeText:!0}))}))};return r.jsx(l,{title:a("title"),closePopup:s.closePopup,showLoadingSpinner:!o.data,children:r.jsx(h,{saveGroup:p,group:o.data,onClickCancel:s.closePopup})})}export{D as EditClassroomGroupView};
//# sourceMappingURL=AwAKgdIx.chunk.js.map
