import"./CWj6FrbW.js";import{p as k,a as y,r as u,c as R,j as c,b as U,l as j,g as t}from"./C8SLBV5c.js";import{s as S}from"./DoZZLr3H.js";import{f as _,a as n}from"./CkybfRqV.js";import{e as q,i as w}from"./C0O8QyND.js";import{r as z,s as p}from"./DVWfzEL5.js";import{d as A}from"./DhOWJd6e.js";import{b as B}from"./DywZ3GX-.js";import{p as m}from"./hCS139x6.js";function C(v,a,i){a()(i())}var D=_('<div class="form-check form-check-inline"><input class="form-check-input" type="radio"/> <label class="form-check-label"> </label></div>'),E=_('<div role="radiogroup"></div>');function O(v,a){k(a,!0);const i=[];let l=m(a,"value",31,()=>y(a.options[0])),b=m(a,"disabled",3,!1),g=m(a,"onUpdate",3,()=>{});var o=E();q(o,21,()=>a.options,w,(h,r)=>{var s=D(),e=c(s);z(e);var f;e.__change=[C,g,l];var d=U(e,2),x=c(d,!0);u(d),u(s),j(()=>{p(e,"id","radio-"+t(r).value),f!==(f=t(r).value)&&(e.value=(e.__value=t(r).value)??""),e.disabled=b(),p(d,"for","radio-"+t(r).value),S(x,t(r).label)}),B(i,[],e,()=>(t(r).value,l()),l),n(h,s)}),u(o),n(v,o),R()}A(["change"]);export{O as R};
