1import{d,a as t,j as e}from"./index-4ce00ee7.js";import{g as i}from"./index-7de85521.js";import{t as a}from"./index-51f3a61d.js";import{S as m}from"./ScorecardEventForm-75ce8bc2.js";import"./index-e629a575.js";const E=i` 2 mutation CreateScorecardEventMutation($input: CreateScorecardEventInput!) { 3 createScorecardEvent(input: $input) { 4 id 5 } 6 } 7`,v=()=>{const[s,{loading:o,error:n}]=d.useMutation(E,{onCompleted:()=>{a.toast.success("ScorecardEvent created"),t.navigate(t.routes.scorecardEvents())},onError:r=>{a.toast.error(r.message)}}),c=r=>{s({variables:{input:r}})};return e.jsxs("div",{className:"rw-segment",children:[e.jsx("header",{className:"rw-segment-header",children:e.jsx("h2",{className:"rw-heading rw-heading-secondary",children:"New ScorecardEvent"})}),e.jsx("div",{className:"rw-segment-main",children:e.jsx(m,{onSave:c,loading:o,error:n})})]})},x=()=>e.jsx(v,{});export{x 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.