import"./CWj6FrbW.js";import{p,r as f,l as d,c as b,j as h,g as i}from"./C8SLBV5c.js";import{s as g}from"./DoZZLr3H.js";import{f as u,a as n}from"./CkybfRqV.js";import{e as x,i as D}from"./C0O8QyND.js";import{s as j}from"./DVWfzEL5.js";import{d as w}from"./DhOWJd6e.js";import{i as I}from"./DQxlGI9A.js";import{p as c}from"./hCS139x6.js";function U(s,e,o){var l;(l=e.onUpdate)==null||l.call(e,o())}var k=u("<option> </option>"),q=u('<select class="form-select"></select>');function J(s,e){p(e,!0);let o=c(e,"value",15),l=c(e,"disabled",3,!1);var a=q();a.__change=[U,e,o],x(a,21,()=>e.options,D,(v,r)=>{var t=k(),m={},_=h(t,!0);f(t),d(()=>{m!==(m=i(r).value)&&(t.value=(t.__value=i(r).value)??""),g(_,i(r).label)}),n(v,t)}),f(a),d(()=>{j(a,"id",e.formId),a.disabled=l()}),I(a,o),n(s,a),b()}w(["change"]);export{J as D};
