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