disconnect(element) {
    const _ = privates.get(this);
    if (element) {
      if (_.o.has(element)) {
        if (_.a.has(element)) {
          dropMutationObserver(_.a.get(element));
          _.a.delete(element);
        }
        _.o.delete(element);
        if (_.o.size)
          return;
      }
    }
    else {
      _.a.forEach(dropMutationObserver);
      _.a.clear();
      _.o.clear();
    }
    _.m.disconnect();
  }
/**
   * Like a MutationObserver, disconnect either all observed elements or,
   *  differently from the native API, a single element.
   * @param {Element?} element the specific element to disconnect, or nothing
   *  to clear all observed elements and their mutations.
   */
Like a MutationObserver, disconnect either all observed elements or,
differently from the native API, a single element.
@param {Element?} element the specific element to disconnect, or nothing
to clear all observed elements and their mutations.
Like a MutationObserver disconnect either all observed elements or differently from the native API a single element . @param { Element? } element the specific element to disconnect or nothing to clear all observed elements and their mutations .
disconnect(element) {
    const _ = privates.get(this);
    if (element) {
      if (_.o.has(element)) {
        if (_.a.has(element)) {
          dropMutationObserver(_.a.get(element));
          _.a.delete(element);
        }
        _.o.delete(element);
        if (_.o.size)
          return;
      }
    }
    else {
      _.a.forEach(dropMutationObserver);
      _.a.clear();
      _.o.clear();
    }
    _.m.disconnect();
  }
disconnect ( element ) { const _ = privates . get ( this ) ; if ( element ) { if ( _ . o . has ( element ) ) { if ( _ . a . has ( element ) ) { dropMutationObserver ( _ . a . get ( element ) ) ; _ . a . delete ( element ) ; } _ . o . delete ( element ) ; if ( _ . o . size ) return ; } } else { _ . a . forEach ( dropMutationObserver ) ; _ . a . clear ( ) ; _ . o . clear ( ) ; } _ . m . disconnect ( ) ; }
Like a MutationObserver, disconnect either all observed elements or,
  differently from the native API, a single element.
Like a MutationObserver disconnect either all observed elements or differently from the native API a single element .