import{aD as e,aE as t,aF as s,aG as c,aH as a,aY as n}from"./p-BTBbFFOR.js";var r=function(e,t,s,c){var a,n=arguments.length,r=n<3?t:null===c?c=Object.getOwnPropertyDescriptor(t,s):c;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,s,c);else for(var l=e.length-1;l>=0;l--)(a=e[l])&&(r=(n<3?a(r):n>3?a(t,s,r):a(t,s))||r);return n>3&&r&&Object.defineProperty(t,s,r),r};class l extends s{constructor(){super()}connectedCallback(){this.observer=new c(this.isAcceptObserver.bind(this),(e=>{this.isInDarkMode=e})),a.register(n,this.observer)}disconnectResizeObserver(){a.unregister(n,this.observer)}isAcceptObserver(){return!0}}r([e({writable:!0})],l.prototype,"isInDarkMode",void 0),r([t("connectedCallback")],l.prototype,"connectedCallback",null),r([t("disconnectedCallback")],l.prototype,"disconnectResizeObserver",null);export{l as D}