old_contents: from datetime import datetime
  
  from .enums import CardClass, CardSet, Rarity, ZodiacYear
  
  
  try:
  	from lxml import etree as ElementTree  # noqa
  except ImportError:
  	from xml.etree import ElementTree  # noqa
  
  
  CARDCLASS_HERO_MAP = {
  	CardClass.DRUID: "HERO_06",
  	CardClass.HUNTER: "HERO_05",
  	CardClass.MAGE: "HERO_08",
  	CardClass.PALADIN: "HERO_04",
  	CardClass.PRIEST: "HERO_09",
  	CardClass.ROGUE: "HERO_03",
  	CardClass.SHAMAN: "HERO_02",
  	CardClass.WARLOCK: "HERO_07",
  	CardClass.WARRIOR: "HERO_01",
  }
  
  
  CRAFTING_COSTS = {
  	Rarity.COMMON: (40, 400),
  	Rarity.RARE: (100, 800),
  	Rarity.EPIC: (400, 1600),
  	Rarity.LEGENDARY: (1600, 3200),
  }
  
  DISENCHANT_COSTS = {
  	Rarity.COMMON: (5, 50),
  	Rarity.RARE: (20, 100),
  	Rarity.EPIC: (100, 400),
  	Rarity.LEGENDARY: (400, 1600),
  }
  
  
  STANDARD_SETS = {
  	ZodiacYear.PRE_STANDARD: [
  		CardSet.CORE, CardSet.EXPERT1, CardSet.REWARD, CardSet.PROMO,
  		CardSet.NAXX, CardSet.GVG, CardSet.BRM, CardSet.TGT, CardSet.LOE,
  	],
  	ZodiacYear.KRAKEN: [
  		CardSet.CORE, CardSet.EXPERT1,
  		CardSet.BRM, CardSet.TGT, CardSet.LOE, CardSet.OG, CardSet.OG_RESERVE,
  		CardSet.KARA, CardSet.KARA_RESERVE, CardSet.GANGS, CardSet.GANGS_RESERVE,
  	],
  	ZodiacYear.MAMMOTH: [
  		CardSet.CORE, CardSet.EXPERT1,
  		CardSet.OG, CardSet.OG_RESERVE, CardSet.KARA, CardSet.KARA_RESERVE,
  		CardSet.GANGS, CardSet.GANGS_RESERVE, CardSet.UNGORO, CardSet.ICECROWN,
  	],
  }
  
  
  ZODIAC_ROTATION_DATES = {
  	ZodiacYear.PRE_STANDARD: datetime.fromtimestamp(0),
  	ZodiacYear.KRAKEN: datetime(2016, 4, 26),
  	ZodiacYear.MAMMOTH: datetime(2017, 4, 7),
  }
  
  
  # QuestController.cs
  QUEST_REWARDS = {
  	"UNG_940": "UNG_940t8",
  	"UNG_954": "UNG_954t1",
  	"UNG_934": "UNG_934t1",
  	"UNG_829": "UNG_829t1",
  	"UNG_028": "UNG_028t",
  	"UNG_067": "UNG_067t1",
  	"UNG_116": "UNG_116t",
  	"UNG_920": "UNG_920t1",
  	"UNG_942": "UNG_942t",
  }
  
new_contents: from datetime import datetime
  
  from .enums import CardClass, CardSet, Rarity, ZodiacYear
  
  
  try:
  	from lxml import etree as ElementTree  # noqa
  except ImportError:
  	from xml.etree import ElementTree  # noqa
  
  
  CARDCLASS_HERO_MAP = {
  	CardClass.DRUID: "HERO_06",
  	CardClass.HUNTER: "HERO_05",
  	CardClass.MAGE: "HERO_08",
  	CardClass.PALADIN: "HERO_04",
  	CardClass.PRIEST: "HERO_09",
  	CardClass.ROGUE: "HERO_03",
  	CardClass.SHAMAN: "HERO_02",
  	CardClass.WARLOCK: "HERO_07",
  	CardClass.WARRIOR: "HERO_01",
  }
  
  
  CRAFTING_COSTS = {
  	Rarity.COMMON: (40, 400),
  	Rarity.RARE: (100, 800),
  	Rarity.EPIC: (400, 1600),
  	Rarity.LEGENDARY: (1600, 3200),
  }
  
  DISENCHANT_COSTS = {
  	Rarity.COMMON: (5, 50),
  	Rarity.RARE: (20, 100),
  	Rarity.EPIC: (100, 400),
  	Rarity.LEGENDARY: (400, 1600),
  }
  
  
  STANDARD_SETS = {
  	ZodiacYear.PRE_STANDARD: [
  		CardSet.CORE, CardSet.EXPERT1, CardSet.REWARD, CardSet.PROMO,
  		CardSet.NAXX, CardSet.GVG, CardSet.BRM, CardSet.TGT, CardSet.LOE,
  	],
  	ZodiacYear.KRAKEN: [
  		CardSet.CORE, CardSet.EXPERT1,
  		CardSet.BRM, CardSet.TGT, CardSet.LOE, CardSet.OG, CardSet.OG_RESERVE,
  		CardSet.KARA, CardSet.KARA_RESERVE, CardSet.GANGS, CardSet.GANGS_RESERVE,
  	],
  	ZodiacYear.MAMMOTH: [
  		CardSet.CORE, CardSet.EXPERT1,
  		CardSet.OG, CardSet.OG_RESERVE, CardSet.KARA, CardSet.KARA_RESERVE,
  		CardSet.GANGS, CardSet.GANGS_RESERVE, CardSet.UNGORO, CardSet.ICECROWN,
  	],
  }
  
  
  ZODIAC_ROTATION_DATES = {
  	ZodiacYear.PRE_STANDARD: datetime.fromtimestamp(0),
  	ZodiacYear.KRAKEN: datetime(2016, 4, 26),
  	ZodiacYear.MAMMOTH: datetime(2017, 4, 7),
  }
  
  
  # QuestController.cs
  QUEST_REWARDS = {
  	"UNG_940": "UNG_940t8",
  	"UNG_954": "UNG_954t1",
  	"UNG_934": "UNG_934t1",
  	"UNG_829": "UNG_829t1",
  	"UNG_028": "UNG_028t",
  	"UNG_067": "UNG_067t1",
  	"UNG_116": "UNG_116t",
  	"UNG_920": "UNG_920t1",
  	"UNG_942": "UNG_942t",
  }
  
  
  # GameplayStringTextBuilder.cs
  
  SPELLSTONE_STRINGS = {
  	"LOOT_043": "GAMEPLAY_AMETHYST_SPELLSTONE_%d",
  	"LOOT_051": "GAMEPLAY_JASPER_SPELLSTONE_%d",
  	"LOOT_064": "GAMEPLAY_SAPPHIRE_SPELLSTONE_%d",
  	"LOOT_091": "GAMEPLAY_PEARL_SPELLSTONE_%d",
  	"LOOT_103": "GAMEPLAY_RUBY_SPELLSTONE_%d",
  	"LOOT_503": "GAMEPLAY_ONYX_SPELLSTONE_%d",
  	"LOOT_507": "GAMEPLAY_DIAMOND_SPELLSTONE_%d",
  	"LOOT_526d": "GAMEPLAY_LOOT_526d_DARKNESS_%d",
  }
  
subject: Add Spellstone strings