Liferay.Loader.define("commerce-dashboard-web$d3-transition@1.2.0/src/transition/remove", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    function removeFunction(id) {
      return function () {
        var parent = this.parentNode;
        for (var i in this.__transition) if (+i !== id) return;
        if (parent) parent.removeChild(this);
      };
    }

    export default function () {
      return this.on("end.remove", removeFunction(this._id));
    }
  }
});
//# sourceMappingURL=remove.js.map