import sparse_default from "./sparse.js";
import { Selection } from "./index.js";
function enter_default() {
	return new Selection(this._enter || this._groups.map(sparse_default), this._parents);
}
function EnterNode(e, r) {
	this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = r;
}
EnterNode.prototype = {
	constructor: EnterNode,
	appendChild: function(e) {
		return this._parent.insertBefore(e, this._next);
	},
	insertBefore: function(e, r) {
		return this._parent.insertBefore(e, r);
	},
	querySelector: function(e) {
		return this._parent.querySelector(e);
	},
	querySelectorAll: function(e) {
		return this._parent.querySelectorAll(e);
	}
};
export { EnterNode, enter_default as default };
