<?php

namespace Drupal\dc_core\Attributes;

trait LotrCharacterList {

  public $characterList;

  public function __construct() {
    $characters = $this->getCharacterJson();
    foreach ($characters as $index => $character) {
      $rand = rand(0,2);
      if ($rand == 1) {
        $characters[$index]['last_modified'] = time();
      }
      else {
        $characters[$index]['last_modified'] = 0;
      }
    }
    $this->characterList = $characters;
  }

  protected function getCharacterJson(): array {
    $characters = [
      [
        'name' => 'Frodo Baggins',
        'species' => 'Hobbit',
        'height' => '3\'6" (1.07m)',
        'hair' => 'Brown',
        'eyes' => 'Blue',
        'birth' => '2968 of the Third Age',
        'death' => 'Unknown, last seen leaving Middle-earth',
        'title' => 'Ring-bearer',
        'occupation' => 'Adventurer',
        'affiliation' => 'The Fellowship of the Ring',
        'bio' => 'Frodo Baggins was a Hobbit of the Shire who was entrusted with the One Ring by his uncle, Bilbo. A reluctant hero, he embarked on a perilous journey to destroy the Ring in the fires of Mount Doom. His quest was fraught with challenges, from the deceptive Gollum to the looming threat of Sauron’s forces. Despite his bravery, the burden of the Ring ultimately took its toll on him, leading to his eventual departure from Middle-earth.',
        'image_url' => 'https://platform.polygon.com/wp-content/uploads/sites/2/chorus/uploads/chorus_asset/file/22263166/lotr3_movie_screencaps.com_10384.jpg',
        'youtube_url' => 'https://www.youtube.com/embed/1Hd-ULcdNN0'
      ],
      [
        'name' => 'Aragorn',
        'species' => 'Human',
        'height' => '6\'6" (1.98m)',
        'hair' => 'Dark brown',
        'eyes' => 'Grey',
        'birth' => '2931 of the Third Age',
        'death' => '120 of the Fourth Age',
        'title' => 'King Elessar',
        'occupation' => 'Ranger, King',
        'affiliation' => 'The Fellowship of the Ring, Kingdom of Gondor',
        'bio' => 'Aragorn, son of Arathorn, was the heir to the throne of Gondor. He lived much of his life as a ranger, known as Strider, before stepping into his destiny as the leader of the forces against Sauron. A skilled warrior and tracker, he was instrumental in the success of the Fellowship and played a key role in uniting the Free Peoples of Middle-earth against the Dark Lord. After the defeat of Sauron, Aragorn ascended to the throne of Gondor and ruled with wisdom and strength.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/5/53/Aragorn_1.png/revision/latest/scale-to-width-down/350?cb=20190520050210',
        'youtube_url' => 'https://www.youtube.com/watch?v=Qx62l9Pa2uI'
      ],
      [
        'name' => 'Gandalf',
        'species' => 'Maia (Spirit)',
        'height' => '5\'6" (1.68m)',
        'hair' => 'Grey, White later',
        'eyes' => 'Grey',
        'birth' => 'Uncertain, an ancient Maia spirit',
        'death' => 'Deceased, but returned as Gandalf the White',
        'title' => 'Gandalf the Grey',
        'occupation' => 'Wizard',
        'affiliation' => 'The Fellowship of the Ring',
        'bio' => 'Gandalf is one of the five Istari sent by the Valar to aid the Free Peoples of Middle-earth. He is a wise and powerful wizard, often serving as a counselor and guiding force in key moments of the War of the Ring. Gandalf helped organize the Fellowship and played a central role in defeating Sauron’s forces. After falling in battle with the Balrog, Gandalf was resurrected as Gandalf the White, more powerful than before. His wisdom, courage, and leadership were vital in the defeat of Sauron.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/a/a6/Gandalf_the_Grey.png/revision/latest/scale-to-width-down/350?cb=20200814044030',
        'youtube_url' => 'https://www.youtube.com/watch?v=eYhwdf41gMI'
      ],
      [
        'name' => 'Legolas',
        'species' => 'Elf',
        'height' => '6\'1" (1.85m)',
        'hair' => 'Blonde',
        'eyes' => 'Blue',
        'birth' => 'Unknown, during the First Age',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'Prince of Mirkwood',
        'occupation' => 'Archer, Prince',
        'affiliation' => 'The Fellowship of the Ring, Mirkwood Elves',
        'bio' => 'Legolas is an Elven prince from Mirkwood and one of the members of the Fellowship of the Ring. His remarkable skills with a bow and arrow were invaluable in battle, and his keen senses allowed him to spot danger before it struck. Along with Gimli, Legolas formed a deep friendship despite the ancient animosity between Elves and Dwarves. He was also instrumental in the battle against Sauron’s forces, and after the War of the Ring, he sailed west to the Undying Lands.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/4/4a/Legolas_The_Lord_of_the_Rings_Animated.png/revision/latest/scale-to-width-down/350?cb=20190917132524',
        'youtube_url' => 'https://www.youtube.com/watch?v=xwFZ0osEjfY'
      ],
      [
        'name' => 'Gimli',
        'species' => 'Dwarf',
        'height' => '4\'4" (1.32m)',
        'hair' => 'Red',
        'eyes' => 'Brown',
        'birth' => '2879 of the Third Age',
        'death' => 'Unknown, possibly still alive in the Fourth Age',
        'title' => 'Son of Glóin',
        'occupation' => 'Warrior',
        'affiliation' => 'The Fellowship of the Ring',
        'bio' => 'Gimli, son of Glóin, was a Dwarf warrior from Erebor who joined the Fellowship to aid in the destruction of the One Ring. Known for his strength and bravery, Gimli’s friendship with Legolas grew throughout their journey, symbolizing the union between Elves and Dwarves. He played a key role in several battles, including the Battle of Helm’s Deep and the Battle of the Pelennor Fields. After the War of the Ring, Gimli became a leader of Dwarves and visited the Glittering Caves of Helm’s Deep.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/a/a2/Gimli.png/revision/latest/scale-to-width-down/350?cb=20190617045757',
        'youtube_url' => 'https://www.youtube.com/watch?v=H7ti80IzTME'
      ],
      [
        'name' => 'Samwise Gamgee',
        'species' => 'Hobbit',
        'height' => '3\'6" (1.07m)',
        'hair' => 'Brown',
        'eyes' => 'Brown',
        'birth' => '2980 of the Third Age',
        'death' => 'Unknown, last seen leaving Middle-earth',
        'title' => 'Gardener, Ring-bearer',
        'occupation' => 'Gardener, Adventurer',
        'affiliation' => 'The Fellowship of the Ring',
        'bio' => 'Samwise Gamgee was Frodo Baggins’ loyal gardener and friend. Though initially seen as a simple Hobbit, Sam proved to be one of the most steadfast and courageous members of the Fellowship. He played a crucial role in helping Frodo destroy the One Ring, even carrying him at times when Frodo could go no further. Sam’s loyalty and friendship were essential in the success of the quest, and he eventually returned to the Shire to live a full life before sailing to the Undying Lands.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/d/d6/Samwise_Gamgee_animated.png/revision/latest/scale-to-width-down/350?cb=20181217044906',
        'youtube_url' => 'https://www.youtube.com/watch?v=1Nx3zRx7pHk'
      ],
      [
        'name' => 'Boromir',
        'species' => 'Human',
        'height' => '6\'1" (1.85m)',
        'hair' => 'Brown',
        'eyes' => 'Grey',
        'birth' => '2978 of the Third Age',
        'death' => '3019 of the Third Age (Killed by Orcs)',
        'title' => 'Captain of Gondor',
        'occupation' => 'Soldier',
        'affiliation' => 'The Fellowship of the Ring',
        'bio' => 'Boromir was the eldest son of Denethor, the Steward of Gondor. A brave and noble warrior, Boromir was chosen to be part of the Fellowship of the Ring. However, his desire to use the Ring to save Gondor led to his tragic fall. In the end, he redeemed himself by defending Merry and Pippin from the attacking Uruk-hai, dying heroically. His death marked one of the most poignant moments of the War of the Ring.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/6/69/Boromir.png/revision/latest/scale-to-width-down/350?cb=20190602141523',
        'youtube_url' => 'https://www.youtube.com/watch?v=0fvUzz56N0E'
      ],
      [
        'name' => 'Galadriel',
        'species' => 'Elf',
        'height' => '5\'11" (1.80m)',
        'hair' => 'Blonde',
        'eyes' => 'Grey',
        'birth' => 'Uncertain, during the Years of the Trees',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'Lady of Lothlórien',
        'occupation' => 'Queen, Ruler of Lothlórien',
        'affiliation' => 'The Free Peoples of Middle-earth',
        'bio' => 'Galadriel is one of the oldest and most powerful Elves in Middle-earth. A member of the royal house of the Noldor, she ruled over the realm of Lothlórien with her husband Celeborn. Galadriel’s wisdom, beauty, and grace were unmatched, and she played a vital role in aiding the Fellowship, providing them with gifts and counsel. Her Elven ring, Nenya, helped preserve the beauty of Lothlórien. After the defeat of Sauron, Galadriel sailed to the Undying Lands.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/d/d1/Galadriel.png/revision/latest/scale-to-width-down/350?cb=20200118073639',
        'youtube_url' => 'https://www.youtube.com/watch?v=nHzEFdqT27Q'
      ],
      [
        'name' => 'Saruman',
        'species' => 'Maia (Spirit)',
        'height' => '5\'8" (1.73m)',
        'hair' => 'White, later Grey',
        'eyes' => 'Grey',
        'birth' => 'Uncertain, ancient Maia spirit',
        'death' => 'Fell in 3019 of the Third Age',
        'title' => 'Saruman the White',
        'occupation' => 'Wizard, Leader of Isengard',
        'affiliation' => 'Previously the White Council, later Sauron',
        'bio' => 'Saruman was one of the five Istari sent to Middle-earth to help oppose Sauron. Initially the head of the White Council and the most powerful of the wizards, he became corrupted by his desire for power. Saruman sought to gain control over the One Ring and betrayed the Free Peoples of Middle-earth, forging an alliance with Sauron. His quest for domination led to his downfall when his forces were defeated at Helm’s Deep and his fortress of Isengard was destroyed. Saruman’s ambition ultimately led to his tragic end.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/9/97/Saruman.png/revision/latest/scale-to-width-down/350?cb=20190707163339',
        'youtube_url' => 'https://www.youtube.com/watch?v=5Hjq8azf0As'
      ],
      [
        'name' => 'Gollum',
        'species' => 'Stoor Hobbit (Deformed by the Ring)',
        'height' => '4\'0" (1.22m)',
        'hair' => 'Brown',
        'eyes' => 'Yellow',
        'birth' => '2430 of the Third Age',
        'death' => '3019 of the Third Age (fell into Mount Doom)',
        'title' => 'Gollum (Sméagol)',
        'occupation' => 'Former Hobbit, Ring-bearer (for a time)',
        'affiliation' => 'None, though he briefly aided Frodo',
        'bio' => 'Gollum, originally named Sméagol, was a Stoor Hobbit who found the One Ring and was consumed by it. The Ring corrupted him, turning him into the creature known as Gollum. His obsession with the Ring led to the murder of his friend Deagol, and he was forever marked by his betrayal. Over centuries, Gollum lived a tortured existence, seeking the Ring but also despising it. His split personality, Sméagol and Gollum, created a constant inner battle. Gollum played a pivotal role in the destruction of the Ring, though tragically, he took it back just before falling into the fires of Mount Doom.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/7/77/Gollum.png/revision/latest/scale-to-width-down/350?cb=20190602141623',
        'youtube_url' => 'https://www.youtube.com/watch?v=1O0Xbqp7cnE'
      ],
      [
        'name' => 'Elrond',
        'species' => 'Half-Elf',
        'height' => '6\'0" (1.83m)',
        'hair' => 'Brown',
        'eyes' => 'Grey',
        'birth' => 'First Age',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'Lord of Rivendell',
        'occupation' => 'Ruler of Rivendell',
        'affiliation' => 'The Free Peoples of Middle-earth',
        'bio' => 'Elrond is a Half-Elf and the Lord of Rivendell. A key figure in the struggle against Sauron, he was known for his wisdom and leadership. Elrond played an essential role in both the formation of the Fellowship of the Ring and in the Battle of the Last Alliance. He also helped raise Aragorn, and his counsel was crucial to the success of the War of the Ring. Elrond’s heritage as both a descendant of Elves and Men made him uniquely equipped to guide the future of Middle-earth. After the Ring’s destruction, he sailed west to the Undying Lands.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/a/a9/Elrond.png/revision/latest/scale-to-width-down/350?cb=20190507161536',
        'youtube_url' => 'https://www.youtube.com/watch?v=kXAlrl0lOdw'
      ],
      [
        'name' => 'Bilbo Baggins',
        'species' => 'Hobbit',
        'height' => '3\'6" (1.07m)',
        'hair' => 'Brown',
        'eyes' => 'Blue',
        'birth' => '2890 of the Third Age',
        'death' => 'Unknown, last seen sailing to the Undying Lands',
        'title' => 'The Mad Baggins, Ring-bearer',
        'occupation' => 'Adventurer, Burglar',
        'affiliation' => 'The Fellowship of the Ring, Thorin\'s Company',
        'bio' => 'Bilbo Baggins was a Hobbit from the Shire who found the One Ring during an unexpected adventure with Thorin Oakenshield and his company of dwarves. This encounter, which began as a simple adventure, would change his life and the fate of Middle-earth. Bilbo kept the Ring for many years, unaware of its true power, but the discovery of the Ring set in motion the events of the War of the Ring. Bilbo later passed the Ring to his nephew, Frodo, and retired to Rivendell, where he lived out his remaining years before sailing west.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/d/d2/Bilbo_Baggins.png/revision/latest/scale-to-width-down/350?cb=20190617101623',
        'youtube_url' => 'https://www.youtube.com/watch?v=zG1PzRJLUZ4'
      ],
      [
        'name' => 'Arwen',
        'species' => 'Elf',
        'height' => '5\'6" (1.68m)',
        'hair' => 'Brown',
        'eyes' => 'Grey',
        'birth' => '2941 of the Third Age',
        'death' => 'Unknown, sails to the Undying Lands after Aragorn’s death',
        'title' => 'Evenstar of Rivendell',
        'occupation' => 'Princess of Rivendell',
        'affiliation' => 'The Free Peoples of Middle-earth',
        'bio' => 'Arwen Undómiel was an Elven princess and the daughter of Elrond. She was famed for her beauty and wisdom, but also for her deep love for Aragorn. Arwen’s choice to forsake her immortality and marry Aragorn was one of the most significant acts in the fight against Sauron. Her love for Aragorn played a pivotal role in inspiring him to take up his destiny as King of Gondor. After the Ring was destroyed, Arwen chose to live out her remaining years with Aragorn before eventually sailing to the Undying Lands after his death.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/0/01/Arwen.png/revision/latest/scale-to-width-down/350?cb=20190619134045',
        'youtube_url' => 'https://www.youtube.com/watch?v=PEt93XqcnWI'
      ],
      [
        'name' => 'Théoden',
        'species' => 'Human',
        'height' => '5\'11" (1.80m)',
        'hair' => 'Blonde',
        'eyes' => 'Blue',
        'birth' => '2948 of the Third Age',
        'death' => '3019 of the Third Age (Killed in battle)',
        'title' => 'King of Rohan',
        'occupation' => 'King',
        'affiliation' => 'The Kingdom of Rohan',
        'bio' => 'Théoden was the King of Rohan during the War of the Ring. Initially under the influence of Saruman’s magic, Théoden was restored to his full strength and vigor by Gandalf. As king, he led the Riders of Rohan into battle at Helm’s Deep and the Battle of the Pelennor Fields, playing a key role in the defeat of Sauron’s forces. Despite his valor, Théoden died in the battle at the gates of Minas Tirith, but his legacy lived on through his son Éomer.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/e/e1/Theoden.png/revision/latest/scale-to-width-down/350?cb=20190707163430',
        'youtube_url' => 'https://www.youtube.com/watch?v=ykZlfPXTf7g'
      ],
      [
        'name' => 'Éomer',
        'species' => 'Human',
        'height' => '6\'0" (1.83m)',
        'hair' => 'Blonde',
        'eyes' => 'Blue',
        'birth' => '2991 of the Third Age',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'King of Rohan',
        'occupation' => 'King, Rider of Rohan',
        'affiliation' => 'The Kingdom of Rohan',
        'bio' => 'Éomer was the nephew of Théoden and the son of Éomund. A brave and skilled warrior, he was instrumental in the defense of Rohan during the War of the Ring. He led the Riders of Rohan in the Battle of Helm’s Deep and the Battle of the Pelennor Fields, where his forces helped turn the tide in favor of the Free Peoples. After the death of his uncle, Théoden, Éomer became King of Rohan and helped guide the kingdom into a new era of prosperity.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/3/3f/Éomer.png/revision/latest/scale-to-width-down/350?cb=20190707163551',
        'youtube_url' => 'https://www.youtube.com/watch?v=s5qGzysfjoE'
      ],
      [
        'name' => 'Faramir',
        'species' => 'Human',
        'height' => '5\'10" (1.78m)',
        'hair' => 'Brown',
        'eyes' => 'Grey',
        'birth' => '2983 of the Third Age',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'Captain of Gondor',
        'occupation' => 'Soldier, Ranger',
        'affiliation' => 'The Kingdom of Gondor',
        'bio' => 'Faramir was the younger brother of Boromir and the son of Denethor II, Steward of Gondor. As Captain of Gondor’s Rangers, he led the defense of Ithilien against the forces of Sauron. Faramir was a wise and honorable man, contrasting with his brother Boromir’s more impulsive nature. He helped Frodo and Sam on their journey to destroy the One Ring and refused to take the Ring for himself, showing the strength of his character. After the War of the Ring, Faramir became the Steward of Gondor and married Éowyn of Rohan.',
        'image_url' => 'https://static.wikia.nocookie.net/lotr/images/4/43/Faramir.jpg/revision/latest?cb=20071211235438',
        'youtube_url' => 'https://www.youtube.com/embed/ZSlRqLu1gcs'
      ],
      [
        'name' => 'Éowyn',
        'species' => 'Human',
        'height' => '5\'7" (1.70m)',
        'hair' => 'Blonde',
        'eyes' => 'Blue',
        'birth' => '2995 of the Third Age',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'Lady of Rohan',
        'occupation' => 'Shieldmaiden, Queen',
        'affiliation' => 'The Kingdom of Rohan',
        'bio' => 'Éowyn was the niece of King Théoden and the sister of Éomer. She was a courageous and skilled fighter, defying the traditional role of women in her society. Her most notable moment came when she disguised herself as a man to fight in the Battle of the Pelennor Fields, where she slew the Witch-king of Angmar, the Lord of the Nazgûl. After the War of the Ring, she married Faramir, and they ruled Gondor together. Her journey was one of self-discovery, from being trapped by societal expectations to finding her true calling.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/c/c0/Eowyn_2.png/revision/latest/scale-to-width-down/350?cb=20190602142116',
        'youtube_url' => 'https://www.youtube.com/watch?v=5-fMhQ_zTr8'
      ],
      [
        'name' => 'Gollum (Sméagol)',
        'species' => 'Hobbit (Deformed by the Ring)',
        'height' => '4\'0" (1.22m)',
        'hair' => 'Brown',
        'eyes' => 'Yellow',
        'birth' => '2430 of the Third Age',
        'death' => '3019 of the Third Age (Fell into Mount Doom)',
        'title' => 'Gollum',
        'occupation' => 'Former Hobbit, Ring-bearer',
        'affiliation' => 'None, briefly helped Frodo',
        'bio' => 'Sméagol, later known as Gollum, was once a Stoor Hobbit who found the One Ring. The Ring corrupted him, leading to the murder of his friend and the exile of Sméagol. For centuries, Gollum lived a twisted existence, driven by his obsession with the Ring. Throughout the story, Gollum struggled between his two personalities—Sméagol, the more innocent self, and Gollum, the corrupted, selfish creature. He played a key role in the destruction of the Ring when he bit it off Frodo’s finger but ultimately fell into the fires of Mount Doom with it, ending the Ring’s reign of terror.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/4/4f/Gollum_darker.png/revision/latest/scale-to-width-down/350?cb=20190602142125',
        'youtube_url' => 'https://www.youtube.com/watch?v=pV9kLg5HEV4'
      ],
      [
        'name' => 'Treebeard',
        'species' => 'Ent',
        'height' => 'Unknown, towering',
        'hair' => 'Leaves, moss',
        'eyes' => 'Brown, deep',
        'birth' => 'Unknown, ancient',
        'death' => 'Unknown, possibly still alive',
        'title' => 'Guardian of the Forest',
        'occupation' => 'Shepherd of the Trees',
        'affiliation' => 'The Free Peoples of Middle-earth',
        'bio' => 'Treebeard is one of the ancient Ents, guardians of the forests in Middle-earth. He is the oldest of his kind, and he represents the last of the Ents who have remained true to their mission. He initially hesitated to take action against Saruman, but after witnessing the devastation of his forest, he led the Ents in an assault on Isengard. Treebeard’s wise and ancient nature was crucial in turning the tide of the war, as his Ents laid waste to Saruman’s fortress. He later returned to his forests, where he continues to watch over the world’s trees.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/4/4a/Treebeard.png/revision/latest/scale-to-width-down/350?cb=20190602142134',
        'youtube_url' => 'https://www.youtube.com/watch?v=Asxq6zT8QnA'
      ],
      [
        'name' => 'Radagast the Brown',
        'species' => 'Maia (Spirit)',
        'height' => 'Unknown',
        'hair' => 'Brown',
        'eyes' => 'Brown',
        'birth' => 'Uncertain, an ancient Maia spirit',
        'death' => 'Unknown',
        'title' => 'Radagast the Brown',
        'occupation' => 'Wizard, Guardian of Nature',
        'affiliation' => 'The Free Peoples of Middle-earth',
        'bio' => 'Radagast the Brown is one of the five Istari sent by the Valar to Middle-earth. Unlike Gandalf and Saruman, Radagast focused on the study and protection of nature, particularly animals and plants. He was a recluse, living in the forests and mountains of Rohan. Though not as prominent in the War of the Ring, Radagast played a supporting role, especially in his connection with the animals and creatures of Middle-earth. His gentle nature and love for wildlife made him a quieter, more peaceful figure compared to other wizards.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/1/1d/Radagast_the_Brown.png/revision/latest/scale-to-width-down/350?cb=20190602142205',
        'youtube_url' => 'https://www.youtube.com/watch?v=Fb6DTlWGG7A'
      ],
      [
        'name' => 'Glorfindel',
        'species' => 'Elf',
        'height' => '6\'0" (1.83m)',
        'hair' => 'Blonde',
        'eyes' => 'Grey',
        'birth' => 'First Age',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'Lord of Rivendell',
        'occupation' => 'Warrior, Lord of Rivendell',
        'affiliation' => 'The Free Peoples of Middle-earth',
        'bio' => 'Glorfindel is an ancient and noble Elf who played an instrumental role in both the First and Third Ages of Middle-earth. He fought in the Battle of Gondolin during the First Age and was resurrected after dying in battle, embodying the Elven resilience. In the Third Age, Glorfindel returned to Middle-earth and played a significant role in aiding the Fellowship, particularly by escorting Frodo from the Shire to Rivendell. His courage and nobility were evident in all his actions, and he was one of the few Elves who did not sail to the Undying Lands after the Ring’s destruction.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/7/7d/Glorfindel.png/revision/latest/scale-to-width-down/350?cb=20190602142217',
        'youtube_url' => 'https://www.youtube.com/watch?v=4r7ntxaHE9o'
      ],
      [
        'name' => 'Denethor II',
        'species' => 'Human',
        'height' => '5\'11" (1.80m)',
        'hair' => 'Black',
        'eyes' => 'Grey',
        'birth' => '2930 of the Third Age',
        'death' => '3019 of the Third Age (Suicide by Fire)',
        'title' => 'Steward of Gondor',
        'occupation' => 'Steward of Gondor',
        'affiliation' => 'The Kingdom of Gondor',
        'bio' => 'Denethor II was the 26th Steward of Gondor, serving in a time of great crisis. Although he was a skilled and capable ruler at times, Denethor’s obsession with protecting Gondor from Sauron’s threat, combined with his growing paranoia and despair, led to his tragic downfall. He was manipulated by the Palantír and lost all hope when he believed his son Boromir was dead. Ultimately, Denethor’s mental state deteriorated, and he perished by his own hand, setting fire to himself in an act of despair.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/1/1d/Denethor.png/revision/latest/scale-to-width-down/350?cb=20190602142111',
        'youtube_url' => 'https://www.youtube.com/watch?v=CU6TByLVR6k'
      ],
      [
        'name' => 'Éomer',
        'species' => 'Human',
        'height' => '6\'0" (1.83m)',
        'hair' => 'Blonde',
        'eyes' => 'Blue',
        'birth' => '2991 of the Third Age',
        'death' => 'Unknown, likely still alive in the Fourth Age',
        'title' => 'King of Rohan',
        'occupation' => 'King, Rider of Rohan',
        'affiliation' => 'The Kingdom of Rohan',
        'bio' => 'Éomer was the nephew of Théoden and the son of Éomund. A brave and skilled warrior, he was instrumental in the defense of Rohan during the War of the Ring. He led the Riders of Rohan in the Battle of Helm’s Deep and the Battle of the Pelennor Fields, where his forces helped turn the tide in favor of the Free Peoples. After the death of his uncle, Théoden, Éomer became King of Rohan and helped guide the kingdom into a new era of prosperity.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/3/3f/Éomer.png/revision/latest/scale-to-width-down/350?cb=20190707163551',
        'youtube_url' => 'https://www.youtube.com/watch?v=s5qGzysfjoE'
      ],
      [
        'name' => 'Haldir',
        'species' => 'Elf',
        'height' => '6\'2" (1.88m)',
        'hair' => 'Blonde',
        'eyes' => 'Grey',
        'birth' => 'Unknown, ancient',
        'death' => '3019 of the Third Age (Killed in the Battle of Helm\'s Deep)',
        'title' => 'Marchwarden of Lothlórien',
        'occupation' => 'Elf Warrior, Guard of Lothlórien',
        'affiliation' => 'Lothlórien, The Free Peoples of Middle-earth',
        'bio' => 'Haldir was a high-ranking Elven warrior from Lothlórien and the Marchwarden of the realm, responsible for guarding the borders of the woodland kingdom. He appeared in *The Two Towers* to lead an Elven force to the defense of Helm’s Deep, forming an unlikely alliance between the Elves and the Men of Rohan. Though his death in battle was brief, his valiant sacrifice and support of the Free Peoples in their time of need left a lasting impression.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/5/50/Haldir.png/revision/latest/scale-to-width-down/350?cb=20190602142155',
        'youtube_url' => 'https://www.youtube.com/watch?v=2rpjH9ZWLg4'
      ],
      [
        'name' => 'The Witch-king of Angmar',
        'species' => 'Ringwraith (Human)',
        'height' => '7\'0" (2.13m)',
        'hair' => 'None (Faceless)',
        'eyes' => 'Red (Glowing)',
        'birth' => 'Unknown, 1000s of years ago',
        'death' => '3019 of the Third Age (Killed by Éowyn)',
        'title' => 'Lord of the Nazgûl',
        'occupation' => 'Servant of Sauron',
        'affiliation' => 'Sauron, The Nazgûl',
        'bio' => 'The Witch-king of Angmar was the most powerful of the Nazgûl, Sauron’s terrifying ringwraiths. Once a King of Men, he was corrupted by the power of the One Ring, becoming a servant of Sauron. He led the forces of Mordor in numerous campaigns, including the conquest of Gondor and the destruction of Arnor. The Witch-king was a fearsome presence on the battlefield, but he met his end in the Battle of the Pelennor Fields, where he was defeated by Éowyn and Merry, fulfilling the prophecy that no man could kill him.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/9/9e/Witch-king.png/revision/latest/scale-to-width-down/350?cb=20190602142112',
        'youtube_url' => 'https://www.youtube.com/watch?v=rKL8FgZzm7o'
      ],
      [
        'name' => 'Gothmog (Lieutenant of Morgul)',
        'species' => 'Orc',
        'height' => '7\'0" (2.13m)',
        'hair' => 'None (Pale, Corpse-like)',
        'eyes' => 'Red',
        'birth' => 'Unknown',
        'death' => '3019 of the Third Age (Killed in the Battle of the Black Gate)',
        'title' => 'Lieutenant of Mordor',
        'occupation' => 'Commander of the Orcs',
        'affiliation' => 'Sauron, Mordor',
        'bio' => 'Gothmog was the Lieutenant of Morgul and a high-ranking commander of Sauron’s forces in the War of the Ring. As one of the more prominent Orc leaders, he was present during the Battle of the Pelennor Fields, leading the forces of Mordor. Gothmog’s grotesque appearance and ruthlessness made him a terrifying figure. He met his end in the Battle of the Black Gate, where his forces were destroyed and he himself was slain by the armies of Gondor and Rohan.',
        'image_url' => 'https://vignette.wikia.nocookie.net/lotr/images/9/94/Gothmog_Lieutenant_of_Morgul.png/revision/latest/scale-to-width-down/350?cb=20190602142219',
        'youtube_url' => 'https://www.youtube.com/watch?v=hegeHfK5Dh4'
      ],
      [
        'name' => 'Dan Chadwick',
        'species' => 'Human',
        'height' => 'Huge',
        'hair' => 'Brown',
        'eyes' => 'Blue',
        'birth' => 'Unknown',
        'death' => 'Unknown, last seen leaving Middle-earth',
        'title' => 'Drupalist',
        'occupation' => 'Strugglbus',
        'affiliation' => 'Twilight new moon',
        'bio' => 'I am not sure what to put here.',
        'image_url' => 'https://platform.polygon.com/wp-content/uploads/sites/2/chorus/uploads/chorus_asset/file/22263166/lotr3_movie_screencaps.com_10384.jpg',
        'youtube_url' => ''
      ],

    ];

    return $characters;
  }

}
