1import{c as o,r as s,j as t,F as i,H as n,e as l}from"./app-Bda8uKs2.js";import{I as c}from"./input-error-BA2hzhS0.js";import{B as p}from"./button-BuIdVqHk.js";import{I as u}from"./input-BBm_UpVq.js";import{L as f}from"./label-vcTeWSwh.js";import{S as d}from"./spinner-CvOcmIhb.js";import{A as x}from"./auth-layout-DmfNTcRJ.js";import{s as h}from"./index-DyYE4xxu.js";/* empty css */import"./utils-Bk3hkyGf.js";import"./index-CLnS0zot.js";import"./index-HTteRQBt.js";import"./loader-circle-qMI-OBPc.js";import"./createLucideIcon-q0nE9J3F.js";import"./flash-toaster-DoFWjaT9.js";import"./index-BusHtOjd.js";import"./app-logo-icon-8QGdaQo7.js";import"./index-eIYmd7L3.js";import"./index-Dag5ztfA.js";function Y(){const e=o.c(3);let r;e[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],e[0]=r):r=e[0],s.useEffect(_,r);let a;e[1]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(n,{title:"Create team"}),e[1]=a):a=e[1];let m;return e[2]===Symbol.for("react.memo_cache_sentinel")?(m=t.jsxs(x,{title:"Create your team",description:"Give your team a name to get started. You can invite members later.",children:[a,t.jsx(i,{...h.form(),className:"flex flex-col gap-6",children:j})]}),e[2]=m):m=e[2],m}function j(e){const{processing:r,errors:a}=e;return t.jsxs("div",{className:"grid gap-6",children:[t.jsxs("div",{className:"grid gap-2",children:[t.jsx(f,{htmlFor:"name",children:"Team name"}),t.jsx(u,{id:"name",type:"text",name:"name",required:!0,autoFocus:!0,placeholder:"Acme Inc."}),t.jsx(c,{message:a.name})]}),t.jsxs(p,{type:"submit",className:"w-full",disabled:r,"data-test":"create-team-button",children:[r&&t.jsx(d,{}),"Create team"]})]})}function _(){return l()}export{Y as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.