text: import moment from 'moment';
  import _ from 'lodash';
  
  import { Dates, Utils } from '../lib';
  import { Titles, Types, LiturgicalColors } from '../constants';
  
  let dates = year => {
  
    let _dates = [
      {
        "key": "blessedGeorgeMatulewiczBishop",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 0, day: 27 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      },
      {
        "key": "blessedBoleslawaMariaLamentVirginAndSaintAngelaMericiVirgin",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 0, day: 29 }),
        "data": {}
      },
      {
        "key": "saintsCyrilMonkAndMethodiusBishop",
        "type": Types.FEAST,
        "moment": moment.utc({ year: year, month: 1, day: 14 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE,
            "titles": [ Titles.PATRON_OF_EUROPE ]
          }
        }
      },
      {
        "key": "saintCatherineOfSienaVirginAndDoctorOfTheChurch",
        "type": Types.FEAST,
        "moment": moment.utc({ year: year, month: 3, day: 29 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE,
            "titles": [
              Titles.PATRON_OF_EUROPE,
              Titles.DOCTOR_OF_THE_CHURCH
            ]
          }
        }
      },
      {
        "key": "saintGeorgeMartyr",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 4, day: 6 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.RED,
            "titles": [
              Titles.MARTYR
            ]
          }
        }
      },
      {
        "key": "saintTheodosiusOfTheCavesAbbot",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 4, day: 16 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      },
      {
        "key": "ourLadyOfPerpetualHelpOrBlessedLeonidFeodorovPriestAndMartyr",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 5, day: 27 }),
        "data": {}
      },
      {
        "key": "saintBenedictOfNursiaAbbot",
        "type": Types.FEAST,
        "moment": moment.utc({ year: year, month: 6, day: 11 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE,
            "titles": [ Titles.PATRON_OF_EUROPE ]
          }
        }
      },
      {
        "key": "saintBridgetOfSwedenReligious",
        "type": Types.FEAST,
        "moment": moment.utc({ year: year, month: 6, day: 23 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE,
            "titles": [ Titles.PATRON_OF_EUROPE ]
          }
        }
      },
      {
        "key": "saintAnthonyOfTheCavesMonk",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 6, day: 24 }),
        "data": {}
      },
      {
        "key": "saintOlga",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 6, day: 24 }),
        "data": {}
      },
      {
        "key": "saintVladimirTheGreat",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 6, day: 28 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      },
      {
        "key": "saintsBorisAndGlebMartyrs",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 7, day: 5 }),
        "data": {
          "meta": {
            "titles": [
              Titles.MARTYR
            ]
          }
        }
      },
      {
        "key": "saintTeresaBenedictaOfTheCrossEdithSteinVirginAndMartyr",
        "type": Types.FEAST,
        "moment": moment.utc({ year: year, month: 7, day: 9 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.RED,
            "titles": [
              Titles.MARTYR,
              Titles.PATRON_OF_EUROPE
            ]
          }
        }
      },
      {
        "key": "ourLadyOfCzestochowa",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 7, day: 26 }),
        "data": {}
      },
      {
        "key": "ourLadyOfVladimir",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 8, day: 7 }),
        "data": {}
      },
      {
        "key": "saintFaustinaKowalskaVirginAndReligious",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 9, day: 5 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      },
      {
        "key": "blessedOleksiyZarytskyiPriestAndMartyr",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 9, day: 30 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      },
      {
        "key": "ourLadyOfTheGateOfDawn",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 10, day: 16 }),
        "data": {}
      },
      {
        "key": "saintRafalKalinowskiPriest",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 10, day: 20 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      },
      {
        "key": "saintAndrewTheApostlePatronOfRussia",
        "type": Types.SOLEMNITY,
        "moment": moment.utc({ year: year, month: 10, day: 30 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      },
      {
        "key": "saintBarbaraVirginAndMartyr",
        "type": Types.OPT_MEMORIAL,
        "moment": moment.utc({ year: year, month: 11, day: 4 }),
        "data": {
          "meta": {
            "titles": [
              Titles.MARTYR
            ]
          }
        }
      },
      {
        "key": "saintNicholasBishop",
        "type": Types.MEMORIAL,
        "moment": moment.utc({ year: year, month: 11, day: 6 }),
        "data": {
          "meta": {
            "liturgicalColor": LiturgicalColors.WHITE
          }
        }
      }
    ];
  
    // Get localized celebration names
    return Utils.localizeDates(_dates);
  };
  
  export {
    dates
  };
  