1import{o as d,f,a as e,u as s,w as v,F as b,_ as r,Z as h,b as y,t as g,s as a,N as q}from"./app-763827e1.js";import{_ as N,a as l}from"./monitor-089a28f4.js";import{_ as C}from"./capture-choice-a7546aa9.js";import V from"./nav-cc558bb3.js";import $ from"./error-36a8f6e1.js";import"./padme-03c53901.js";import"./screen-size-indicator-1f5b6b6a.js";/* empty css */const x={class:"my-5"},k="survey/capture/q5",G={__name:"q5_adult",props:{user_id:Number,survey_id:Number,choices:Array,responses:Object},setup(t){const c=t,o=a(null),u=a(null),i=a(null),m=()=>{if(o.value===null)return u.value=r("survey.error.noChoiceMade"),!1;q.post(route("survey.parse_q5"),{choice:o.value},{onError:_=>{}})};return(_,n)=>(d(),f(b,null,[e(s(h),{title:s(r)("survey.q5.title")},null,8,["title"]),e(N,null,{default:v(()=>[y("div",x,g(s(r)("survey.q5_adult.query")),1),e(C,{choices:t.choices,prior_selection:i.value,response_key:"q5",modelValue:o.value,"onUpdate:modelValue":n[0]||(n[0]=p=>o.value=p)},null,8,["choices","prior_selection","modelValue"]),e($,{msg:u.value},null,8,["msg"]),e(V,{onGoNext:m}),e(l,{data:k}),e(l,{label:"choice",data:o.value},null,8,["data"]),e(l,{label:"props",data:c},null,8,["data"])]),_:1})],64))}};export{G 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.