1import{d as i,a,j as t}from"./index-4ce00ee7.js";import{g as u}from"./index-7de85521.js";import{t as e}from"./index-51f3a61d.js";import{T as c}from"./TournamentFormatForm-860662fc.js";import"./index-e629a575.js";const d=u` 2 mutation CreateTournamentFormatMutation( 3 $input: CreateTournamentFormatInput! 4 ) { 5 createTournamentFormat(input: $input) { 6 id 7 } 8 } 9`,T=()=>{const[o,{loading:n,error:s}]=i.useMutation(d,{onCompleted:()=>{e.toast.success("TournamentFormat created"),a.navigate(a.routes.tournamentFormats())},onError:r=>{e.toast.error(r.message)}}),m=r=>{o({variables:{input:r}})};return t.jsxs("div",{className:"rw-segment",children:[t.jsx("header",{className:"rw-segment-header",children:t.jsx("h2",{className:"rw-heading rw-heading-secondary",children:"New TournamentFormat"})}),t.jsx("div",{className:"rw-segment-main",children:t.jsx(c,{onSave:m,loading:n,error:s})})]})},N=()=>t.jsx(T,{});export{N 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.