var m=Object.defineProperty,u=Object.defineProperties;var x=Object.getOwnPropertyDescriptors;var i=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var o=(r,e,t)=>e in r?m(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,a=(r,e)=>{for(var t in e||(e={}))c.call(e,t)&&o(r,t,e[t]);if(i)for(var t of i(e))h.call(e,t)&&o(r,t,e[t]);return r},l=(r,e)=>u(r,x(e));import{j as s}from"./react-vendor-xYZnmIII.js";import{I as j}from"./input-error-_LAmvivg.js";import{L as p,T as g}from"./ui-components-CQM92IK3.js";import"./inertia-vendor-cBbDTmhJ.js";import"./ui-vendor-Ds9iwIxa.js";import"./interactive-vendor-B1OgcAgP.js";const T=({data:r,setData:e,errors:t})=>{var n;return s.jsxs("div",{className:"space-y-4",children:[s.jsxs("div",{children:[s.jsx(p,{children:"Instructions"}),s.jsxs("div",{className:"rounded-md bg-blue-50 p-3 text-sm text-blue-900",children:[s.jsx("p",{className:"mb-1 font-medium",children:"About short answer questions:"}),s.jsx("p",{children:"• Students will type their answer in a text box"}),s.jsx("p",{children:"• These questions require manual grading by the instructor"}),s.jsx("p",{children:"• You can optionally provide a sample answer or grading rubric below"})]})]}),s.jsxs("div",{children:[s.jsx(p,{children:"Guidelines (Optional)"}),s.jsx(g,{placeholder:"Enter a sample answer or guidelines for grading this question...",rows:5,value:((n=r.options)==null?void 0:n.sample_answer)||"",onChange:d=>e("options",l(a({},r.options),{sample_answer:d.target.value}))}),s.jsx("p",{className:"mt-1 text-xs text-gray-500",children:"This will help you or other graders evaluate student responses consistently"}),s.jsx(j,{message:t.options})]})]})};export{T as default};
