text: "use strict";
  Object.defineProperty(exports, "__esModule", { value: true });
  exports.Summary = void 0;
  const WinsAnalysis_1 = require("./analyzers/WinsAnalysis");
  const HtrmlReport_1 = require("./reportTargets/HtrmlReport");
  class Summary {
      constructor(analyzer, outputTarget) {
          this.analyzer = analyzer;
          this.outputTarget = outputTarget;
      }
      static winsAnalsyisWithHtmlReport(team) {
          return new Summary(new WinsAnalysis_1.WinsAnalysis(team), new HtrmlReport_1.HtmlReport());
      }
      ;
      buildAndPrintReport(matches) {
          const output = this.analyzer.run(matches);
          this.outputTarget.print(output);
      }
  }
  exports.Summary = Summary;
  