System.register(["./index-legacy.sLMPZLm9.js"],(function(e,t){"use strict";var u,n,a,o,l;return{setters:[e=>{u=e.e,n=e.u,a=e.f,o=e.w,l=e.t}],execute:function(){e("u",(function(e,t){const{defaultValue:v,value:c=u()}=t||{};let i="function"==typeof e?e():e;void 0!==c.value&&(i=n(c)),void 0!==v&&(i="function"==typeof v?v():v);const s=u(i),f=u(i);return a((()=>{let e=void 0!==c.value?c.value:s.value;t.postState&&(e=t.postState(e)),f.value=e})),o(c,(()=>{s.value=c.value})),[f,function(e){const u=f.value;s.value=e,l(f.value)!==e&&t.onChange&&t.onChange(e,u)}]}))}}}));
