import{C as o}from"./p-816f6fc6.js";import{O as s}from"./p-331a62d5.js";import{d as e}from"./p-243c99c3.js";const r=()=>!0;class t{static addUniqueObserverToNode(a,c,i,f){if(a){const m=new s("function"==typeof f?f.bind(null):r,i);t.removeUniqueObserverFromNode(a,c),o.register(e.getSubject(a,c),m)}}static removeUniqueObserverFromNode(s,r){e.isExist(s,r)&&o.clearObserversBySubject(e.getSubject(s,r))}}export{t as D}