"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = void 0;

function _abstractVinyl() {
  const data = _interopRequireDefault(require("./abstract-vinyl"));

  _abstractVinyl = function () {
    return data;
  };

  return data;
}

class Dist extends _abstractVinyl().default {
  static loadFromParsedString(parsedString) {
    if (!parsedString) return;
    const opts = super.loadFromParsedString(parsedString);
    return new Dist(opts);
  }

  static loadFromParsedStringArray(arr) {
    if (!arr) return;
    return arr.map(this.loadFromParsedString);
  }

  clone() {
    return new Dist(this);
  }

}

exports.default = Dist;