(()=>{var m=(t,r=300,o=i=>{})=>{t.style.transitionProperty="height, margin, padding",t.style.transitionDuration=r+"ms",t.style.height=t.offsetHeight+"px",t.offsetHeight,t.style.overflow="hidden",t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0",t.style.marginTop="0",t.style.marginBottom="0",window.setTimeout(()=>{t.style.display="none",t.style.removeProperty("height"),t.style.removeProperty("padding-top"),t.style.removeProperty("padding-bottom"),t.style.removeProperty("margin-top"),t.style.removeProperty("margin-bottom"),t.style.removeProperty("overflow"),t.style.removeProperty("transition-duration"),t.style.removeProperty("transition-property"),o(t)},r)},a=(t,r=300,o=i=>{})=>{t.style.removeProperty("display");let i=window.getComputedStyle(t).display;i==="none"&&(i="block"),t.style.display=i;let s=t.offsetHeight;t.style.overflow="hidden",t.style.height="0",t.style.paddingTop="0",t.style.paddingBottom="0",t.style.marginTop="0",t.style.marginBottom="0",t.offsetHeight,t.style.transitionProperty="height, margin, padding",t.style.transitionDuration=r+"ms",t.style.height=s+"px",t.style.removeProperty("padding-top"),t.style.removeProperty("padding-bottom"),t.style.removeProperty("margin-top"),t.style.removeProperty("margin-bottom"),window.setTimeout(()=>{t.style.removeProperty("height"),t.style.removeProperty("overflow"),t.style.removeProperty("transition-duration"),t.style.removeProperty("transition-property"),o(t)},r)},d=(t,r={})=>{let o={},i=new Proxy(t,{set(s,e,y){let n=s[e];return s[e]=y,r[e]&&r[e](y,n),o[e]&&o[e].forEach(p=>p()),!0}});return i.onChange=(s,e)=>{s.forEach(y=>{o[y]||(o[y]=[]),o[y].push(e)}),e()},i};})();
