(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77071,e=>{"use strict";let r=(0,e.i(56420).default)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);e.s(["Plus",0,r],77071)},95187,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={callServer:function(){return l.callServer},createServerReference:function(){return c.createServerReference},findSourceMapURL:function(){return a.findSourceMapURL}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let l=e.r(32120),a=e.r(92245),c=e.r(35326)},79185,e=>{"use strict";var r=e.i(43476),t=e.i(71645),n=e.i(77071),i=e.i(38286),l=e.i(19367),a=e.i(95187);let c=(0,a.createServerReference)("40ecefceb05ae62a1af20db8fba31d67dba581b8c8",a.callServer,void 0,a.findSourceMapURL,"createTeam");e.s(["NewTeamButton",0,function(){let[e,a]=(0,t.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(i.Button,{onClick:()=>a(!0),children:[(0,r.jsx)(n.Plus,{className:"h-4 w-4"})," Nouvelle équipe"]}),(0,r.jsx)(l.Modal,{open:e,onClose:()=>a(!1),title:"Nouvelle équipe",children:(0,r.jsxs)("form",{action:c,className:"space-y-4",children:[(0,r.jsx)(i.Field,{label:"Nom de l'équipe",required:!0,children:(0,r.jsx)(i.Input,{name:"name",placeholder:"Équipe Gaming",required:!0})}),(0,r.jsxs)("div",{className:"flex justify-end gap-2 border-t border-ink-700 pt-4",children:[(0,r.jsx)(i.Button,{type:"button",variant:"ghost",onClick:()=>a(!1),children:"Annuler"}),(0,r.jsx)(i.Button,{type:"submit",children:"Créer"})]})]})})]})}],79185)}]);