[ad_1]
The Glee forged has been so marred by tragedy and scandal over time, some followers are satisfied the present was ‘cursed’.
A cheerful, humorous programme surrounding a bunch of highschool college students and their musical theatre membership, Glee handled some hard-hitting points however remained a comedy all through.
So it is particularly surprising to be taught that one forged member was later convicted of owning child abuse imagery earlier than taking his personal life, one was accused of racism and bullying, and a number of other others tragically died far too younger.
Followers have additionally seen that for 2 of the celebs, their storylines on Glee spookily appeared to reflect their actual lives.
However as Heather Morris, who performed cheerleader Britanny Pierce, turns 35 at present, let’s meet up with the remainder of the forged and discover out what they’re to this point.
Cory Monteith (Finn Hudson)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
(
Picture:
Getty Photos)
Get the information you need straight to your inbox. Sign up for a Mirror newsletter here .
Corey is unfortunately now not with us, and Glee followers consider the present eerily foreshadowed this.
In March 2013, Corey’s publicist introduced that he had admitted himself right into a remedy facility for substance abuse.
He had acquired remedy earlier than, on the age of 19, and had a historical past of drug abuse that started when he was across the age of 13.
Glee co-creator Ryan Murphy stated that Corey’s rehab admission in 2013 was the results of an emergency intervention on the set of the present.
Murphy and different members of the Glee forged and crew urged Corey to get assist and accompany medical doctors to the rehab facility that had been organized for him by the present.
He agreed and his character Finn was written out of the final two episodes of season 4. He was reassured he’d have a job when he returned.
(
Picture:
Getty Photos North America)
It was reported in April 2013 that he had accomplished his remedy.
However tragically, just some months later in July 2013, he was discovered useless in his lodge room in Vancouver.
He died from an unintended overdose of heroin, and in addition had alcohol, codeine and morphine in his system. He was aged 31.
Oddly sufficient, in season three, episode 10 of Glee, entitled ‘Sure/No’, Finn discovers that his dad died of a drug overdose, after years of believing his soldier father had died a warfare hero.
As Finn debates signing up for the military, his heartbroken mom reveals the reality about his father’s premature demise and tells Finn she fears the identical factor might occur to him.
Corey’s tragic demise was handled on the present in season 5, episode three, ‘The Quarterback’.
After his demise, Ryan held a celebration of life for the star.
And after consulting together with his real-life girlfriend Lea Michele, who additionally performed his love curiosity Rachel Berry within the present, manufacturing of the fifth season was postponed.
When it returned, Finn was killed off within the third episode, which served as a tribute to each his character and the actor, and in addition gave followers an opportunity to say goodbye.
Finn’s reason for demise was by no means disclosed, and characters continued to speak about him all through the remainder of the sequence.
Flashback clips of him had been used recurrently on the present and a particular in memoriam plaque was put in for him within the choir room.
It included an image of Finn, the fictional years of his delivery and demise, and a quote: “The present should go… in all places… or one thing.”
Mark Salling (Jake ‘Puck’ Puckerman)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
(
Picture:
Getty Photos)
In 2015, Puck actor Mark was arrested on suspicion of possessing a number of thousand photographs of kid intercourse abuse, following a tip-off to police by one in all his ex-girlfriends.
A search warrant discovered greater than 50,000 photographs downloaded onto his pc and USB flash drives.
He pleaded responsible in courtroom in September 2017 and was anticipated to serve between 4 and 7 years in jail.
He was additionally instructed he needed to register as a intercourse offender and enter a remedy programme, amongst different situations.
Nevertheless, whereas he was awaiting sentencing, Mark was discovered useless by suicide close to his house in Los Angeles, aged 35 years previous.
This additionally appeared to be unusually foreshadowed on Glee in season two, episode 15, entitled ‘Horny’.
The episode, initially aired in March 2011, sees substitute trainer Holly Holliday (Gwyneth Paltrow) return to McKinley Excessive to cowl intercourse training lessons.
(
Picture:
FOX Picture Assortment by way of Getty Photos)
She discovers that pupils Puck and Lauren (Ashley Fink) are planning to make a intercourse tape to make Lauren well-known.
Holly tells them: “You do realise that making a intercourse tape will make you each responsible of making and proudly owning baby pornography?”
In season three, episode 12, entitled ‘The Spanish Trainer’, glee membership chief and trainer Will Schuester (Matthew Morrison) kicks off the weekly lesson by writing “2030” on his chalk board.
Mr Schue, as he was affectionately known as by his college students, asks the glee youngsters the place they suppose they will be within the yr 2030.
Puck says he thinks he’ll be “in jail, or useless, or each”.
In episode 11 of season 4, entitled ‘Sadie Hawkins’, Puck, who has now graduated highschool and is aged 19, is requested out by pupil Kitty (Becca Tobin).
He asks her: “Aren’t you underage?”
The cheerleader tells Puck she has a faux ID, and he responds: “Adequate for me.”
* Samaritans (116 123) operates a 24-hour service obtainable day-after-day of the yr. In the event you choose to put in writing down the way you’re feeling, or in case you’re frightened about being overheard on the cellphone, you may electronic mail Samaritans at [email protected]
Lea Michele (Rachel Berry)
(
Picture:
Getty Photos)
Lea was one other of the Glee stars to face controversy after the present.
She efficiently launched into a solo music profession, releasing two studio albums, and acted within the movie New Yr’s Eve and in TV sequence Scream Queens and The Mayor.
On the time of Corey’s demise, he was in a relationship with Lea, and her spokesperson launched a press release that stated: “Lea is deeply grateful for all of the love and help she’s acquired from household, associates and followers.
“Since Cory’s passing, Lea has been grieving alongside his household and making applicable preparations with them.
“They’re supporting one another as they endure this profound loss collectively. We proceed to ask the media to respect the privateness of Lea and Cory’s household.”
Lea has since discovered love with businessman Zandy Reich, who she married in 2019, and the couple welcomed their first baby, a boy named Ever Leo, in August 2020.
When the Black Lives Matter protests made headlines that very same yr, Lea launched a press release in help of the motion.
(
Picture:
Getty Photos for InStyle)
(
Picture:
Instagram)
This prompted her former Glee co-star Samantha Ware to talk out concerning the alleged bullying she suffered at Lea’s fingers on set.
“Keep in mind if you made my first tv gig a residing hell? I consider you instructed everybody that in case you had the chance you’d ‘s*** in my wig!’ amongst [sic] traumatic microaggressions that made me query a profession in Hollywood,” Samantha tweeted.
Their fellow co-star Amber Riley appeared to hitch within the spat as she took to Twitter to share a GIF of her elevating her hand as if to talk and one other of her sipping a cup of tea.
As followers urged her to spill what was on her thoughts, Amber shared one other GIF of her that stated that learn ‘Let’s Transfer On’ as she revealed she needed to deal with the protests sweeping America as an alternative.
Dabier Snell, who appeared in 2014 situation of Glee, wrote: “GIRL YOU WOULDNT LET ME SIT AT THE TABLE WITH THE OTHER CAST MEMBERS CAUSE ‘I DIDNT BELONG THERE’ F*** YOU LEA.”
Imia Edwards, who additionally starred on the present, instructed The Sun : “I’ve by no means actually seen anybody deal with extras like that, to that stage of, ‘Ugh, do not take a look at me, do not make eye contact, ugh cockroaches, there they’re.’
“She walked by me and burped in my face, this loud burp, straight virtually face-to-face, it wasn’t even like, ‘oh she would not have identified…’ she knew she burped in my face!”
(
Picture:
WireImage)
(
Picture:
Getty Photos for (RED))
And Heather Morris known as Lea “disagreeable to work with” and stated she was glad the actress was being held to account for her “disrespectful” behaviour.
After the allegations, Lea was dropped from a number of model partnerships and shared an apology on her Instagram account.
She wrote: “Whereas I do not keep in mind ever making this particular assertion and I’ve by no means judged others by their background or color of their pores and skin, that is probably not the purpose.
“What issues is that I clearly acted in methods which damage different folks.
“Whether or not it was my privileged place and perspective that precipitated me to be perceived as insensitive or inappropriate at instances.
“Or whether or not it was simply my immaturity and me simply being unnecessarily troublesome, I apologise for my behaviour and for any ache which I’ve precipitated.
“We will all develop and alter and I’ve positively used these previous a number of months to mirror by myself shortcomings.”
Naya Rivera (Santana Lopez)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
(
Picture:
WireImage)
After Glee, Naya launched her personal single known as Sorry, which received her two ALMA Awards.
She continued performing, starring in horror movie On the Satan’s Door and in comedy Mad Households and drama Step Up.
The star additionally championed charitable causes together with rights of LGBT+ folks, girls and immigrants.
However heartbreakingly, Naya’s life was cut short in July 2020 when she died aged 33.
She took her four-year-old son Josey on a boating journey in Lake Piru, one thing which ought to have been enjoyable and comparatively simple for Naya as she was a powerful swimmer with crusing expertise – the actress had even visited the lake earlier than on a number of events.
However whereas Josey would return from the 1,200-acre lake alive, he was alone.
Naya was reported to have declined a life jacket whereas arranging to hire the boat, choosing one for Josey solely – however a member of workers ensured she had one in all her personal on board anyway.
(
Picture:
AFP by way of Getty Photos)
Mom and son set off for his or her thrilling journey on July 8, 2020 at round 1pm, and so they jumped into the water for a swim at an space often called ‘Diablo Cove’.
They had been anticipated again at 4pm, and when they didn’t return, a search started.
At 5pm, horrified rescuers discovered Josey alone within the boat, quick asleep.
Particulars of the post-mortem shared with PA in Los Angeles said that shortly after their swim, Naya pushed Josey again on to the boat and shouted for assist.
Officers instructed they might have been caught in a strong rip present making it troublesome to remain afloat, whereas additionally battling robust winds and freezing chilly water.
However the actual circumstances that led to Naya’s demise won’t ever be totally identified.
In Naya’s remaining moments, she is believed to have mustered her final dregs of vitality to push her son again on to the boat, saving his life, earlier than succumbing to the water herself.
Amber Riley (Mercedes Jones)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
(
Picture:
Getty Photos)
Persevering with to behave and carry out after Glee, Amber originated the position of Effie White within the West Finish debut of Dreamgirls in 2016, profitable her an Olivier Award.
She received sequence 17 of Dancing with the Stars in 2013 with Derek Hough, later showing as a decide on BBC One musical expertise present Let It Shine.
The star additionally fashioned a musical theatre supergroup with Beverley Knight and Cassidy Janson, identified collectively as Main Girls.
Their debut album, Songs from the Stage, was launched in 2017.
In 2019, she took on the position of Audrey II, the carnivorous singing plant, in Little Store of Horrors.
Amber has additionally launched her personal solo album below the title RILEY.
She lately spoke out towards folks calling her by her Glee character’s title, tweeting: “I despise when ppl name me Mercedes. Put some respect on my title. Name me AMBER or RILEY.
“It is wild that I even need to say that. No shade to the present/character that gave me a profession, however please cease this s**t. I do not reply to it, and in case you do it facetiously I am going to block you.”
Heather Morris (Britanny S. Pierce)
(
Picture:
Getty Photos)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
Glee followers went wild for Britanny’s personal episode which featured songs by Britney Spears and noticed Heather recreate a number of the pop star’s most well-known music movies.
She was initially a background character with only a few traces, however caught the attention of the producers who determined to make the position extra outstanding.
Heather sparked controversy when she competed on Dancing with the Stars in 2017, as a result of she was knowledgeable dancer who had even carried out with Beyonce on tour.
Nevertheless, regardless of her getting the primary good rating of the sequence, she was eradicated within the sixth week.
Heather is married to Taylor Hubbell, and the pair really went to the identical highschool although they did not know one another there.
(
Picture:
FOX Picture Assortment by way of Getty Photos)
In a 2011 interview with Health, Heater stated: “I wish to marry [Taylor] so dangerous. That is what I actually care about. I wish to marry Taylor and have youngsters with him.
“I really like performing, but when it impacts my relationship, then I will not proceed doing it.”
In 2013, she gave delivery to their first baby, a son named Elijah Beckwith, and in 2016 they welcomed one other child boy named Owen Bartlett.
Heather was nonetheless finest associates with Naya proper up till her demise, and honoured her with a tattoo that reads: “Tomorrow just isn’t promised,” based mostly on the late actress’ remaining tweet.
“You’re the brightest star in my eyes Naya Rivera,” wrote Heather.
“I’m so grateful GOD LAYED A HAND and introduced us collectively as finest associates, mother associates, scene companions, and every part in between. Your legacy lives on in kindness and being ‘that sassy queen’ in my eyes. I really like you endlessly bebe woman.”
Jenna Ushkowitz (Tina Cohen-Chang)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
(
Picture:
Getty Photos)
Jenna has continued acting on the stage, which is the place Glee creator Ryan Murphy initially found her.
She performed Jeannie Ryan within the Hollywood Bowl manufacturing of Hair, Julia Sullivan in The Wedding ceremony Singer, and Daybreak Williams in Waitress.
In 2018, she received a Tony Award for her position as a producer on that yr’s Finest Revival of a Musical, As soon as on This Island.
The next yr, Jenna and her former Glee co-star Kevin McHale launched their podcast Showmance to debate their on-screen and offline relationship.
Within the second sequence of the podcast, they began an in-depth recap of Glee, re-watching the episodes and sharing behind-the-scenes secrets and techniques.
Jenna can be well-known for her charity work, supporting LGBT+ rights and ocean conservation, and based her personal basis for adopted kids and their households, having been adopted herself when she was child.
The star has been married to David Stanley since July 2021, and they’re anticipating their first baby collectively, a daughter, this June.
Chris Colfer (Kurt Hummel)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
Chris received a number of awards for his position as Kurt, together with Finest Supporting Actor on the 2011 Golden Globe Awards, and three consecutive Folks’s Selection Awards.
He wrote, starred in, produced, and novelised his first movie, Struck by Lightning, which debuted on the 2012 Tribeca Movie Pageant.
He additionally wrote The New York Instances bestselling The Land of Tales sequence of YA books, beginning with The Land of Tales: The Wishing Spell.
The truth is, he is written a whopping 18 books already.
Chris has additionally acted since Glee, starring in Scorching in Cleveland and Completely Fabulous: The Film – in addition to writing his personal episode of Glee, known as Previous Canine, New Tips.
He has been in a relationship with actor and producer Will Sherrod since 2013.
Kevin McHale (Artie Abrams)
(
Picture:
ITV)
Former boyband member Kevin was lately on our screens in X Factor : Superstar, the place he completed in seventh place.
He has additionally written and recorded his personal music, together with his album entitled Boy.
Kevin starred American Horror Tales, a derivative of the unique AHS present, and co-hosts the Showmance podcast together with his former Glee co-star Jenna.
He got here out as homosexual with a tweet in 2018, and has been in a relationship with actor Austin McKenzie since 2016.
Dianna Agron (Quinn Fabray)
(
Picture:
Getty Photos)
(
Picture:
Channel 4)
Dianna, who performed cheerleader Quinn, has since starred in movies together with The Crash, Ralph Breaks the Web, and Berlin, I Love You.
The type-hearted star has additionally supported the United Nations Excessive Commissioner for Refugees (UNHCR) for a number of years, and went to go to refugees in Austria and in Jordan.
Dianna has additionally continued to sing, however revealed she can be performing songs in her pure decrease register that she could not use with the higher-pitched songs she was given in Glee – with critics claiming she sounded significantly better than on the present.
She married Mumford & Sons guitarist Winston Marshall in 2016, however they cut up up in 2019 and formally separated in August 2020.
Matthew Morrison (Will Schuester)
(
Picture:
Getty Photos)
(
Picture:
FOX Picture Assortment by way of Getty Photos)
When Glee ended, Matthew went again to Broadway, the place his profession had initially sky-rocketed.
In addition to releasing his personal music, he has starred in a number of productions from Discovering Neverland to South Pacific, in addition to TV roles on reveals akin to Gray’s Anatomy, Youthful and The Good Spouse.
In 2019, he was a dance captain on competitors sequence The Best Dancer.
That very same yr, he performed Trevor within the ninth sequence of American Horror Story, which was additionally created by Ryan Murphy.
Matthew was beforehand engaged to Promoting Sundown star Chrishell Stause in 2006, however he is now married to Renee Puente after they tied the knot in 2014.
They welcomed son Revel James Makai Morrison in 2017.
After a sequence of heartbreaking miscarriages, they welcomed their second baby, a daughter named Phoenix Monroe, in 2021.
Matthew has since created his personal firm which makes attire for brand spanking new dads, known as Sherpapa.
Do you will have a narrative to share? We wish to hear all about it. E mail us at [email protected]
Learn Extra
Learn Extra
!operate(){return operate e(t,n,r){operate o(i,c){if(!n[i]){if(!t[i]){var u=”operate”==typeof require&&require;if(!c&&u)return u(i,!0);if(a)return a(i,!0);var s=new Error(“Can’t discover module ‘”+i+”‘”);throw s.code=”MODULE_NOT_FOUND”,s}var l=n[i]={exports:{}};t[i][0].name(l.exports,operate(e)e),l,l.exports,e,t,n,r)}return n[i].exports}for(var a=”operate”==typeof require&&require,i=0;i0;)n.name(e,{information:o.shift(),goal:e});else o.forEach(operate(t){n.name(e,{information:t,goal:e})})}}operate r(e,t,n){e.dataEvents=e.dataEvents||{},e.dataEvents[t]=e.dataEvents[t]||[],e.dataEvents[t].push(n)}return{delegate:operate(){return operate(t,n,r,o,a){a=a||{},n=n.cut up(“,”),void 0===t.size&&(t=[t]),t.forEach||(t=e(t)),t.forEach(operate(t){t.addEventListener(r,operate(r){var i=[];n.forEach(operate(n){i=”>”===n.substr(0,1)?operate(t,n,r){var o=e(n.querySelectorAll(r.substr(1)));return o=o.filter(operate(e){return e.parentNode===n}),t.concat(o)}(i,t,n):operate(t,n,r){return t.concat(e(n.querySelectorAll(r)))}(i,t,n)}),operate e(t,n,r,o,a,i){if(n!==r){var c=o.indexOf(n);-1!==c&&(a.name(o[c],t),i.preventDefault&&t.preventDefault()),e(t,n.parentNode,r,o,a,i)}else i.stopPropagation&&t.stopPropagation()}(r,r.goal,t,i,o,a)})})}}(),domReady:operate(e)”loaded”===doc.readyState?(r(doc,t),r(window,”load”)):”interactive”===doc.readyState&&r(doc,t),doc.addEventListener?n(doc,t,e):n(window,”load”,e),fireplace:operate(e,t,n){var o;n=n||{},doc.createEvent?((o=doc.createEvent(“HTMLEvents”)).initEvent(t,!0,!0),o.information=n,e.dispatchEvent(o)):doc.createEventObject&&((o=doc.createEventObject()).information=n,e.fireEvent(“on”+t,o)),r(e,t,n)},pay attention:n}}();n.default=r},{}],2:[function(e,t,n){“use strict”;function r(e,t){var n=e[0],r=e[1],o=e[2],s=e[3];r=u(r=u(r=u(r=u(r=c(r=c(r=c(r=c(r=i(r=i(r=i(r=i(r=a(r=a(r=a(r=a(r,o=a(o,s=a(s,n=a(n,r,o,s,t[0],7,-680876936),r,o,t[1],12,-389564586),n,r,t[2],17,606105819),s,n,t[3],22,-1044525330),o=a(o,s=a(s,n=a(n,r,o,s,t[4],7,-176418897),r,o,t[5],12,1200080426),n,r,t[6],17,-1473231341),s,n,t[7],22,-45705983),o=a(o,s=a(s,n=a(n,r,o,s,t[8],7,1770035416),r,o,t[9],12,-1958414417),n,r,t[10],17,-42063),s,n,t[11],22,-1990404162),o=a(o,s=a(s,n=a(n,r,o,s,t[12],7,1804603682),r,o,t[13],12,-40341101),n,r,t[14],17,-1502002290),s,n,t[15],22,1236535329),o=i(o,s=i(s,n=i(n,r,o,s,t[1],5,-165796510),r,o,t[6],9,-1069501632),n,r,t[11],14,643717713),s,n,t[0],20,-373897302),o=i(o,s=i(s,n=i(n,r,o,s,t[5],5,-701558691),r,o,t[10],9,38016083),n,r,t[15],14,-660478335),s,n,t[4],20,-405537848),o=i(o,s=i(s,n=i(n,r,o,s,t[9],5,568446438),r,o,t[14],9,-1019803690),n,r,t[3],14,-187363961),s,n,t[8],20,1163531501),o=i(o,s=i(s,n=i(n,r,o,s,t[13],5,-1444681467),r,o,t[2],9,-51403784),n,r,t[7],14,1735328473),s,n,t[12],20,-1926607734),o=c(o,s=c(s,n=c(n,r,o,s,t[5],4,-378558),r,o,t[8],11,-2022574463),n,r,t[11],16,1839030562),s,n,t[14],23,-35309556),o=c(o,s=c(s,n=c(n,r,o,s,t[1],4,-1530992060),r,o,t[4],11,1272893353),n,r,t[7],16,-155497632),s,n,t[10],23,-1094730640),o=c(o,s=c(s,n=c(n,r,o,s,t[13],4,681279174),r,o,t[0],11,-358537222),n,r,t[3],16,-722521979),s,n,t[6],23,76029189),o=c(o,s=c(s,n=c(n,r,o,s,t[9],4,-640364487),r,o,t[12],11,-421815835),n,r,t[15],16,530742520),s,n,t[2],23,-995338651),o=u(o,s=u(s,n=u(n,r,o,s,t[0],6,-198630844),r,o,t[7],10,1126891415),n,r,t[14],15,-1416354905),s,n,t[5],21,-57434055),o=u(o,s=u(s,n=u(n,r,o,s,t[12],6,1700485571),r,o,t[3],10,-1894986606),n,r,t[10],15,-1051523),s,n,t[1],21,-2054922799),o=u(o,s=u(s,n=u(n,r,o,s,t[8],6,1873313359),r,o,t[15],10,-30611744),n,r,t[6],15,-1560198380),s,n,t[13],21,1309151649),o=u(o,s=u(s,n=u(n,r,o,s,t[4],6,-145523070),r,o,t[11],10,-1120210379),n,r,t[2],15,718787259),s,n,t[9],21,-343485551),e[0]=d(n,e[0]),e[1]=d(r,e[1]),e[2]=d(o,e[2]),e[3]=d(s,e[3])}operate o(e,t,n,r,o,a){return d((t=d(d(t,e),d(r,a)))<>>32-o,n)}operate a(e,t,n,r,a,i,c)~t&r,e,t,a,i,c)operate i(e,t,n,r,a,i,c)n&~r,e,t,a,i,c)operate c(e,t,n,r,a,i,c){return o(t^n^r,e,t,a,i,c)}operate u(e,t,n,r,a,i,c)~r),e,t,a,i,c)operate s(e){var t,n=[];for(t=0;t>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}Object.defineProperty(n,"__esModule",{worth:!0});var l="0123456789abcdef".cut up("");operate f(e){for(var t="",n=0;n>8*n+4&15]+l[e>>8*n&15];return t}operate d(e,t){return e+t&4294967295}n.default=operate(e){return operate(e){for(var t=0;t<e.size;t++)e[t]=f(e[t]);return e.be a part of("")}(operate(e){var t,n=e.size,o=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.size;t+=64)r(o,s(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t>2]|=e.charCodeAt(t)<<(tpercent4<>2]|=128<<(tpercent4<55)for(r(o,a),t=0;t1&&void 0!==arguments[1]?arguments[1]:{}).modalTimeout,n=arguments[2].clog,r=window.localStorage.getItem(o.HASH_KEY),a=window.localStorage.getItem(o.DATE_KEY),i=new Promise(operate(i,c){!operate(e){var t=doc.createElement(“DIV”);t.className=”modal”,e.appendChild(t),e.classList.add(“skeleton”),e.modal=t}(e),e.modalTimeout=setTimeout(operate(){f(e),n(“Timed out getting new model”),c(“TIMEOUT”),n(“TIMEOUT”)},t||u),caches.open(o.CACHE_KEY).then(operate(e){e.match(location.href).then(operate(e){if(e){var t=e.headers.get(o.HASH_PREFIX),n=e.headers.get(“date”);e.textual content().then(operate(e){r!==t&&Date(n)>Date(a)&&i({content material:e,contentHash:t,standing:”networkCacheUpdate”,date:n})})}})}),navigator.serviceWorker.addEventListener(“message”,operate(e){if(e.origin===location.origin){var t=e.information;if(t&&”NEW_VERSION”===t.message&&t.url===location.href){n(“Updating from sw message”),n(“NETWORK UPDATE”);var r={content material:t.content material,contentHash:t.contentHash,standing:”networkUpdate”,date:t.date};i(r)}}})});return i.then(operate(t){n(“GETDATA RESOLVED”),operate(e,t){if(window.localStorage.getItem(o.HASH_KEY)!==t.contentHash){var n=doc.implementation.createHTMLDocument(“temp”);n.documentElement.innerHTML=t.content material,e.parentNode.replaceChild(n.querySelector(“foremost”),e),f(e);var r=doc.createEvent(“HTMLEvents”);r.initEvent(“part.activate”,!0,!0),r.information={},doc.querySelector(“foremost”).dispatchEvent(r),window.localStorage.setItem(o.HASH_KEY,t.contentHash),window.localStorage.setItem(o.DATE_KEY,t.date)}else f(e)}(e,t),n(t.standing)}).catch(operate(e){n(“GETDATA REJECTED”),n(“Error getting information: “+e)}),i},n.response=operate(e,t){var n=arguments.size>2&&void 0!==arguments[2]?arguments[2]:”https://www.mirror.co.uk/”,r=arguments[3],a=(arguments.size>4&&void 0!==arguments[4]?arguments[4]:{}).debug,u=e.request.url,f=operate(){};a&&(f=operate(e){console.log(“[TM PWA] “+e)});var d=u.match(///.+?//)[0].consists of(t),h=d&&!u.consists of(“service-worker.js”);if((h=operate(e,t){for(var n=s.size,r=l.size,o=0;!t&&o<n;)t=s[o].sample(e),o++;for(o=0;t&&o2&&void 0!==arguments[2]?arguments[2]:”readonly”;return new Promise(operate(o,a){var i=e.open(“marwood-pwa”,1);i.onupgradeneeded=operate(){r.forEach(operate(e){i.end result.objectStoreNames.accommodates(e.title)||i.end result.createObjectStore(e.title,{keyPath:e.key})})},i.onsuccess=operate(){if(i.end result.onversionchange=operate(e){null===e.newVersion&&e.goal.shut()},i&&i.end result&&i.end result.objectStoreNames.accommodates(t)){var e=i.end result.transaction(t,n).objectStore(t);if(e)return void o(e)}a()}})}},{}],7:[function(e,t,n){“use strict”;Object.defineProperty(n,”__esModule”,{value:!0});var r=”marwood-896d7bb990899be5c1255282bc726a1c”,o=”offline/”;function a(e){caches.open(r).then(function(t){document.querySelectorAll(‘meta[name=”cache-preload”]’).forEach(operate(e){var n=e.getAttribute(“content material”);t.match(n).then(operate(e))});var n=e+o;t.match(n).then(operate(e){e||fetch(n).then(operate(e){if(e.redirected){var r=e.clone(),o={standing:r.standing,statusText:r.statusText,headers:{}};e.headers.forEach(operate(e,t){o.headers[t]=e}),r.textual content().then(operate(e){t.put(n,new Response(e,o))})}else t.put(n,e)})})})}n.default=operate(){var e=arguments.size>0&&void 0!==arguments[0]?arguments[0]:{},t=e.selector,n=e.maxUrls,i=e.endpoint,c=arguments.size>1&&void 0!==arguments[1]?arguments[1]:”https://www.mirror.co.uk/”;navigator.serviceWorker.addEventListener(“message”,operate(e){e.origin===location.origin&&”SERVICE_WORKER_INSTALL”===e.information&&a(c)}),navigator.onLine&&location.pathname!==c+o&&(a(c),”quantity”!=typeof n&&(n=10),i||t||(t=”.teaser”),window.addEventListener(“load”,operate(){var e=JSON.parse(localStorage.getItem(“offlineUrls”))||[];(operate(e,t){var n=e.endpoint,r=e.selector;if(n)return new Promise(operate(e){fetch(n+”?url=”+location.href.cut up(“?”)[0]).then(operate(n){n.json().then(operate(n){e(n.filter(operate(e){return e.url&&e.url.size>0}).slice(0,t).map(operate(e){return{url:e.url,textual content:e.title,picture:e.picture.href.change(“/BINARY/”,”/alternates/s615b/”),tag:e.tags&&e.tags[0]}}))})})});if(r){var o=Array.from(doc.querySelectorAll(r)).slice(0,t);return Promise.resolve(o.map(operate(e){var t=e.querySelector(“a.headline”),n=e.querySelector(“img”),r=e.querySelector(“a.label”);return}))}})({endpoint:i,selector:t},n).then(operate(t){var o=t;e.size&&(o=t.filter(operate(t){return e.discover(operate(e){return t.url!==e.url})})),o.size&&caches.open(r).then(operate(t){o.forEach(operate(r){r.textual content&&r.url&&r.picture&&t.addAll([r.url,r.image]).then(operate(){e.discover(operate(e){return e.url===r.url})||e.unshift(r),e.size>n&&e.pop(),localStorage.setItem(“offlineUrls”,JSON.stringify(e))})})})})}))}},{}],8:[function(e,t,n){“use strict”;Object.defineProperty(n,”__esModule”,{value:!0}),n.track=function(e,t){(0,a.default)(e,i,”readwrite”).then(function(e){e.put({url:t,timestamp:(new Date).getTime()})})},n.offlineLandingTracking=function(){var e=localStorage.getItem(c);return localStorage.removeItem(c),e},n.trackOfflineLanding=function()0)+1);var r,o=e(6),a=(r=o)&&r.__esModule?r:{default:r};var i=”pageviews”,c=”offlineLandingPageViews”;n.default=function(e,t){(0,a.default)(e,i,”readwrite”).then(function(e){var n=e.count();n.onsuccess=function(){var r=n.result-1;r>0&&t(r),e.clear()}})}},{6:6}],9:[function(e,t,n){“use strict”;Object.defineProperty(n,”__esModule”,{value:!0}),n.MANIFEST_CACHE_NAME=n.validate=n.urlBase64ToUint8Array=n.cookie=n.getManifest=n.analytics=void 0,n.stub=function(e){var t={analytics:h,getManifest:m};return n.analytics=h=e.stub(),n.getManifest=m=e.stub(),{analytics:h,getManifest:m,restore:function(){n.analytics=h=t.analytics,n.getManifest=m=t.getManifest}}};var r=e(8),o=l(r),a=l(e(4)),i=l(e(1)),c=l(e(7)),u=l(e(5)),s=e(10);function l(e){return e&&e.__esModule?e:{default:e}}var f=navigator.userAgent.match(/iPhone|iPad|iPod/i);function d(e,t){var n=t.clog;i.default.fire(window,”contentupdate”,e),n(“CONTENTUPDATE: “+e)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;i.default.fireplace(window,”analytics.observe”,{title:e,class:”metrics”,worth:t})}operate g(e,t,n){var r=n.clog,o=window.localStorage.getItem(s.HASH_KEY);(0,a.default)(e,t.cacheFirst,{clog:r}).then(operate(e){d(o===e.contentHash?”unchanged”:”contemporary”,{clog:r}),h(“cacheFirstPageView”)}).catch(operate(){d(“cached”,{clog:r}),h(“cacheFirstPageView”),r(“CACHED PAGE VIEW”),navigator.serviceWorker.addEventListener(“message”,operate(e){if(e.origin===location.origin){var t=e.information;t&&”NEW_VERSION”===t.message&&t.url===location.href&&(o!==t.contentHash?(h(“stalePageView”),r(“STALE PAGE VIEW”)):(h(“cachedPageView”),r(“MOULDY PAGE VIEW”)))}})})}operate v(e)operate m(){var e=arguments.size>0&&void 0!==arguments[0]?arguments[0]:””,t=arguments[1],n=doc.querySelector(“hyperlink[rel=manifest]”);if(n){var r=t||n.href;return new Promise(operate(t,n){caches.open(s.MANIFEST_CACHE_NAME+”:”+e).then(operate(e){e.match(r).then(operate(n){n?t(n):fetch(r).then(operate(n){e.put(r,n.clone()),t(n.clone())})})}).catch(operate(e){return n(e)})}).then(operate(e){return e.json().then(operate(e){return e})})}}n.default=operate(e,t,n){var a=operate(){};if(“serviceWorker”in navigator){attempt{e=JSON.parse(e)}catch(t){e=e||{}}if(!e.debug)attempt{e.debug=new URLSearchParams(window.location.search).get(“pwaDebug”)}catch(e){}(0,u.default)(window.indexedDB,e,n);var s=”/service-worker.js?v=4bd35006110c8b784c81b089f61238e9″;e.debug&&(s+=”&pwaDebug=”+e.debug,a=operate(e){window.console.log(“[TM PWA] “+e)}),e.cacheFirst&&(s+=”&cacheFirst=true”),e.offlineSupport&&(s+=”&offlineSupport=true”),t&&(s=s+”&pushDisplayService=”+t+”&vap=”+v(n.vapidKey)+”&a=”+v(n.appKey)+”&t=”+v(n.token)+”&i=”+v());var l=void 0;if(e.scope&&(l={scope:e.scope}),window.sessionStorage.setItem(“swUrl”,s),navigator.serviceWorker.register(s,l).then(operate(){a(“Service employee registered efficiently”);var e=”n !operate (n, t, c, e, u) { n operate r(n) { attempt { f = n(u) } catch (n) { return h = n, void i(p, n) } i(s, f) } n operate i(n, t) { for (var c = 0; c 2&&void 0!==arguments[2]?arguments[2]:2,r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3),doc.cookie=e+”=”+t+”;expires=”+r.toUTCString()+”;path=/”},n.urlBase64ToUint8Array=s.urlBase64ToUint8Array,n.validate=operate(e,t){var n=t||””;if(!e)return{homepage:n};var r=void 0;attempt{r=JSON.parse(doc.getElementById(“manifest-validation”).getAttribute(“content material”))}catch(e){return null}var o=e.filter(operate(e){return r.url&&r.url.consists of(e.homepage)}),a=e.filter(operate(e){return r.primaryTag&&r.primaryTag===e.tag}),i=e.filter(operate(e){return r.tags&&r.tags.consists of(e.tag)});if(1===o.size)return o[0];if(1===a.size)return a[0];if(1===i.size)return i[0];var c=e.filter(operate(e){return e.scope===n});return c.size>0?c[0]:”string”==typeof t?{homepage:t}:void 0},n.MANIFEST_CACHE_NAME=s.MANIFEST_CACHE_NAME},{1:1,10:10,4:4,5:5,7:7,8:8}],10:[function(e,t,n){“use strict”;Object.defineProperty(n,”__esModule”,{value:!0});var r=/(.*/amp/.*|.*.amp)/g,o=”TM-Hash-“+location.href,a=”TM-Date-“+location.href;n.CACHE_KEY=”marwood-896d7bb990899be5c1255282bc726a1c”,n.CACHE_NAME=”marwood”,n.MANIFEST_CACHE_NAME=”manifestCache”,n.urlBase64ToUint8Array=function(e){for(var t=(e+”=”.repeat((4-e.length%4)%4)).replace(/-/g,”+”).replace(/_/g,”https://www.mirror.co.uk/”),n=atob(t),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);return r},n.isAmpArticle=operate(e){return e.match(r)},n.HASH_PREFIX="TM-Hash",n.HASH_KEY=o,n.DATE_KEY=a,n.PUSH_SERVICE_KEY="airship",n.PUSH_SERVICE_SCRIPT="https://aswpsdkus.com/notify/v1/ua-sdk.min.js",n.getAssetUrl=operate(e){return e&&e.change?e.change("prod",operate(e){return/-bertha./.check(e)?"bertha":/-stable./.check(e)?"steady":"prod"}(self.location)):e},n.path=operate(e,t){if(e&&t){var n=e.cut up?e.cut up("."):e;if(n.cut back)return n.cut back(operate(e,t){return e&&e[t]?e[t]:void 0},t)}},n.externalDebug=operate(e,t)"[]");e.size&&n.push(e),localStorage.setItem("airship",JSON.stringify(n))},{}]},{},[3]);
//# sourceMappingURL=pwa.min.js.map
[ad_2]
Source link