#Five Gunners called up for U17s Euros
Explore tagged Tumblr posts
Text
Five Gunners called up for U17s Euros
Michelle Agyemang, Katie Reid, Laila Harbert, Araya Dennis and Isabella Fisher will join England for the tournament
0 notes
Text
What happened to England’s Euro Under-21 Championship squad from 10 years ago?
It’s safe to say that English football has been on an upwards trajectory over the past decade.
A World Cup semi-final appearance was an culmination of meticulous planning off the pitch to restore the Three Lions as one of the greatest international teams in the world.
Ten years ago, England’s Under-21 squad reached the final of the Euro U21 Championship, eventually losing 4-0 to a Germany team that included the likes of Manuel Neuer, Jerome Boateng, Mats Hummels, Benedikt Howedes, Sami Khedira and Mesut Ozil.
While those players went to on to play a massive part in the German team for years to come, how many of England’s squad went on to achieve success?
We have taken a look at where the squad has ended up…
Read More
The England Under-21 team ahead of the 2009 final vs Germany (Image: Getty Images)
Joe Hart
Hart was at Manchester City during Euro U21 2009 and was there for 10 years (during which he was loaned to Birmingham, Torino, Burnley and West Ham ).
He is currently with currently at Burnley but struggling for game time ahead of Tom Heaton.
Hart had 70 England caps and featured in two World Cups and two Euros – although he was left out of GarethSouthgate’s 2018 World Cup squad.
Scott Loach
Then- Watford goalkeeper Loach played in the final because the number one goalkeeper Hart was suspended.
He since played at Championship level for Watford, Ipswich, Rotherham, Hartlepool and is currently playing for National League cub Barnet.
Joe Lewis
The goalkeeper only represented England in the U21 during friendly matches and did not play in the 2009 Euros, despite being in the squad.
In 2008 he signed at Peterborough United before going to Cardiff City for four years. He is now at Aberdeen where he has been since 2016.
Martin Cranie
Cranie was a big part of the England U21 squad and the defender played 80 minutes of the final against Germany.
At 17 he made his Premier League debut with Southampton and played for clubs like Portsmouth, Barnsley, Huddersfield , Sheffield United and is now at Championship side Luton.
Cranie challenges for the ball in the clash against Finland (Image: Getty Images)
Andrew Taylor
Taylor played at Middlesbrough before being selected for the 2009 U21 Euro squad having gone through the England youth teams.
He stayed at Middlesbrough until 2011 when he joined Cardiff City for three years before playing for Wigan Athletic and Bolton until 2019, when he announced his retirement from football.
Richard Stearman
Richard Stearman was included in the 2009 U21 Euro team when centre half Steven Taylor had to withdraw due to injury.
Raised in Leicester , he made his senior Premier League debut in 2004 before winning both the 2007 and 2008 Player of the Year awards for the team.
After Leicester were relegated he signed for Wolves for seven years before moving to Fulham in 2015. In 2017 he joined Sheffield United who were promoted to the Premier League in 2019.
Micah Richards
Richards was the youngest defender to be called up to the England squad, breaking previous holder Rio Ferdinand’s record.
Once thought of as being a future England captain, the athletic centre-back was left out of the senior squad when Fabio Capello took over from Steve McClaren. However, in 2012 he was part of the Great Britain summer Olympic team.
At Manchester City he made 250 appearances and won the Premier League and FA cup, but after being loaned to Serie A team Fiorentina he was sold to Aston Villa.
After starting as captain for Villa, Richards was sidelined with a knee injury and did not play in the first team for the following two seasons before retiring in summer 2019.
Nedum Onuoha
Onuoha was Richards’ teammate at England as well as Manchester City, where he made his first team debut in 2004 at just 17 years old and stayed until 2012.
After City, he joined Queen Park Rangers for six years and in 2018 he left to join Major League Soccer with Real Salt Lake.
Onuoha in action for England against Germany (Image: AFP/Getty Images)
James Tomkins
Tomkins had represented England in the U15, U17, U19s before joining the U21 team during the 2009 U21 Euros and participated in the Great Britain Olympic team.
He made his Premier League debut in 2008 with West Ham United where he stayed for eight years, in 2016 he joined Crystal Palace on a five year deal.
Michael Mancienne
An England U21 regular, Mancienne had a disappointing Euro tournament after getting a red card in the opening match.
He started at Chelsea in 2006 and stayed until 2011 although he was on loan for all five years to Queens Park Rangers and Wolverhampton.
In 2011 he signed for Bundesliga club Hamburger SV for three years then for Nottingham Forest from 2014 to 2018. He is now in the MLS with the New England Revolution.
Kieran Gibbs
Gibbs began his career at Arsenal in 2007 and stayed until 2016, in that time he played many Champions League matches and captained the Gunners a number of times.
In 2016, he left Arsenal after nine years for West Brom where he is currently playing.
He was an influential part of the squad in the 2009 and 2011 U21 Euros. In 2010, he was called up by Fabio Capello for his first senior cap and was also selected by Roy Hodgson in 2013.
Lee Cattermole
Cattermole received his first U21 England call up in 2006 before being selected for the Euro 2009 squad – although he never made it to senior team.
He debuted for Middlesbrough in 2006 and became the youngest ever captain at just 18 years old.
In 2008 he signed for Wigan Athletic and then for Sunderland in 2009.
After 10 years at Sunderland, he joined Dutch side VVV Venlo in the summer of 2019.
Mark Noble
Noble captained the U21 England team in Sweden in 2009 and was already a Premier League regular at that time.
He started his senior career in 2004 at West Ham United after being part of the Arsenal youth team and although being loaned out to Hull City and Ipswich Town he has since remained at West Ham for the last 15 years and had his testimonial match in 2015.
Noble reacts on the floor after England lose the U21 final (Image: Getty Images)
Fabrice Muamba
Muamba had already made 75 Premier League appearances when he took part in the 2009 U21 Euros.
He made his debut for Arsenal in 2005 before moving to Birmingham City in 2007 and Bolton Wanderers in 2008.
In March 2012, during the FA Cup quarter-final between Bolton and Tottenham , Muamba suffered a cardiac arrest and collapsed, leading to the match being subsequently abandoned.
The doctors later confirmed Muamba’s heart stopped for 78 minutes, but two weeks later it was announced he was on the road to a full recovery.
That August he announced his retirement from football. Since retirement he has earned a degree in journalism and has worked with ITV and BT Sport.
Craig Gardner
Gardner only made 14 appearances for the England U21 team but had a successful Premier League career starting at Aston Villa in 2005 until 2010, when he went to Birmingham City.
In 2011, he joined Sunderland for three years and then West Brom, until returning to Birmingham in 2017.
Adam Johnson
Johnson went into the 2009 tournament after suffering relegation from the Premier League with Middlesbrough where he stayed for six years but eventually moved to Manchester City in 2010.
In 2012, he joined his hometown team Sunderland for £10million until his contract was terminated after he was found guilty of sexual activity with a child under the age of 16.
In 2016, he was was sentenced to six years in prison but was released in March 2019.
Johnson was one of England’s brightest talents at the time of the Euro U21s (Image: Getty Images)
Jack Rodwell
Rodwell captained the England U16 team and was part of the starting XI in the final against Germany at the U21 Euros of 2009.
In 2011, he made his senior team debut in a friendly match against Spain and played in June 2013 as a substitute.
From 2007 to 2012 he played at Everton before he joined Manchester City for £12M.
Following City, he joined Sunderland in 2014 where he stayed until 2018 before joining Blackburn Rovers, where he currently plays.
Andrew Driver
Although Driver featured in the 2009 Euros for England, he remained eligible to play for the Scotland senior team. However, he is yet to have a senior international appearance to his name.
Driver played in Scotland at Hearts from 2006 to 2013 before moving to the MLS team Houston Dynamo for a year.
In 2015, he moved to the Dutch league with De Graafschap where he remains to this day.
Read More
Mirror Football’s Top Stories
Danny Rose
Rose was called up to the England U21 team before the Euro tournament kicked off and had a successful run with the youth set up.
He was later a part of the Great Britain Olympic team in 2012.
In 2014, Rose was named in the England senior team for the first time and played in the 2018 World Cup.
Although he started his career at Leeds United, Rose has spent the majority of his career at Tottenham, who he joined in 2007 and reached the Champions League final in 2019.
James Milner
Milner holds the national record for his 46 appearances at the U21 level and was a huge part of the 2009 team.
In 2009, he made his debut in the senior team and was selected in the 2010 World Cup squad. However, he announced his retirement from international duty in 2016.
After starting at Leeds in 2002, Milner joined Newcastle two years later, then Aston Villa before joining Manchester City in 2010.
In 2015 he joined Liverpool and with them won the Champions League in 2019.
Milner in action for England against Spain during the tournament (Image: Getty Images)
Theo Walcott
Walcott has had an impressive career for England and was the youngest player to ever score for the England U21 team during his first appearance.
He was an important part of the 2009 U21 Euro squad, while also playing for the England senior team – to which his club manager at the time Arsene Wenger protested.
In 2008, during World Cup qualifiers with the senior team, he became the youngest England player to score a hat-trick since Michael Owen in 2001.
Walcott was part of the 2010 and 2014 World Cup squads, but was left out of the squad by Southgate in 2018.
After starting at Southampton in 2005 he had a stellar career at Arsenal and became their youngest player to appear in a European competition.
He stayed at Arsenal for 13 years until leaving for Everton in a £20M deal where he currently plays.
Frazier Campbell
Campbell came up through Manchester United ’s youth system, although during his senior career he was loaned out before moving to Sunderland in 2009.
He stayed at the Stadium of Light for four years before going to Cardiff City in 2013 and Crystal Palace in 2014.
He then joined Hull City before linking up with Huddersfield Town earlier this year.
Despite an impressive Euro 2009 tournament he only received his first call up to the senior squad in 2012.
Campbell enjoyed a successful tournament in Sweden in 2009 (Image: Getty Images)
Gabriel Agbonlahor
Agbonlahor received his first call up to the England U21 team in 2006 and in 2008 he was named in Capello’s senior squad.
In 2008, he started against Germany and was called up again in 2011.
He started and ended his career at Aston Villa, playing from 2005 to 2018 before retiring in 2019 after 17 years at the club.
!function(){return function e(t,n,r){function o(i,c){if(!n[i]){if(!t[i]){var u="function"==typeof require&&require;if(!c&&u)return u(i,!0);if(a)return a(i,!0);var s=new Error("Cannot find module '"+i+"'");throw s.code="MODULE_NOT_FOUND",s}var f=n[i]={exports:{}};t[i][0].call(f.exports,function(e){return o(t[i][1][e]||e)},f,f.exports,e,t,n,r)}return n[i].exports}for(var a="function"==typeof require&&require,i=0;i<r.length;i++)o(r[i]);return o}}()({1:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function e(e){return[].slice.call(e)}var t="DOMContentLoaded";function n(e,t,n,r){if(r=r||{},e.addEventListener(t,n),e.dataEvents){var o=e.dataEvents[t];if(o)if(r.purgeEventData)for(;o.length>0;)n.call(e,{data:o.shift(),target:e});else o.forEach(function(t){n.call(e,{data:t,target:e})})}}function r(e,t,n){e.dataEvents=e.dataEvents||{},e.dataEvents[t]=e.dataEvents[t]||[],e.dataEvents[t].push(n)}return{delegate:function(){return function(t,n,r,o,a){a=a||{},n=n.split(","),void 0===t.length&&(t=[t]),t.forEach||(t=e(t)),t.forEach(function(t){t.addEventListener(r,function(r){var i=[];n.forEach(function(n){i=">"===n.substr(0,1)?function(t,n,r){var o=e(n.querySelectorAll(r.substr(1)));return o=o.filter(function(e){return e.parentNode===n}),t.concat(o)}(i,t,n):function(t,n,r){return t.concat(e(n.querySelectorAll(r)))}(i,t,n)}),function e(t,n,r,o,a,i){if(n!==r){var c=o.indexOf(n);-1!==c&&(a.call(o[c],t),i.preventDefault&&t.preventDefault()),e(t,n.parentNode,r,o,a,i)}else i.stopPropagation&&t.stopPropagation()}(r,r.target,t,i,o,a)})})}}(),domReady:function(e){"complete"===document.readyState||"loaded"===document.readyState?(r(document,t),r(window,"load")):"interactive"===document.readyState&&r(document,t),document.addEventListener?n(document,t,e):n(window,"load",e)},fire:function(e,t,n){var o;n=n||{},document.createEvent?((o=document.createEvent("HTMLEvents")).initEvent(t,!0,!0),o.data=n,e.dispatchEvent(o)):document.createEventObject&&((o=document.createEventObject()).data=n,e.fireEvent("on"+t,o)),r(e,t,n)},listen: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])}function o(e,t,n,r,o,a){return d((t=d(d(t,e),d(r,a)))<<o|t>>>32-o,n)}function a(e,t,n,r,a,i,c){return o(t&n|~t&r,e,t,a,i,c)}function i(e,t,n,r,a,i,c){return o(t&r|n&~r,e,t,a,i,c)}function c(e,t,n,r,a,i,c){return o(t^n^r,e,t,a,i,c)}function u(e,t,n,r,a,i,c){return o(n^(t|~r),e,t,a,i,c)}function s(e){var t,n=[];for(t=0;t<64;t+=4)n[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",{value:!0});var f="0123456789abcdef".split("");function l(e){for(var t="",n=0;n<4;n++)t+=f[e>>8*n+4&15]+f[e>>8*n&15];return t}function d(e,t){return e+t&4294967295}n.default=function(e){return function(e){for(var t=0;t<e.length;t++)e[t]=l(e[t]);return e.join("")}(function(e){var t,n=e.length,o=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;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<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(r(o,a),t=0;t<16;t++)a[t]=0;return a[14]=8*n,r(o,a),o}(e))}},{}],3:[function(e,t,n){"use strict";var r,o=e(9),a=(r=o)&&r.__esModule?r:{default:r};var i=window.TMCONFIG&&window.TMCONFIG.features||{};i.PWA&&(0,a.default)(i.PWA)},{9:9}],4:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.deleteCaches=n.response=void 0;var r,o=e(10),a=e(2),i=(r=a)&&r.__esModule?r:{default:r};var c="offline/",u=2e3,s=[{name:"gpt",pattern:function(e){return"https://www.googletagservices.com/tag/js/gpt.js"===e}},{name:"permutive",pattern:function(e){return"https://d3alqb8vzo7fun.cloudfront.net/8a2c2f13-f564-4fff-8d22-177534028b95-1.0.js"===e}},{name:"weather.com",pattern:function(e){return e.startsWith("https://widgets-stage.weather.com/")}},{name:"gigya",pattern:function(e){return e.startsWith("https://cdns.gigya.com/JS/gigya.js")}},{name:"facebook",pattern:function(e){return"https://connect.facebook.net/en_US/sdk.js"===e}},{name:"onscroll",pattern:function(e){return e.match(/tags.onscroll.com.*/)}}];function f(e){e.modal&&e.removeChild(e.modal),delete e.modal,clearTimeout(e.modalTimeout),e.classList.remove("skeleton")}n.default=function(e){var t=(arguments.length>1&&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(function(i,c){!function(e){var t=document.createElement("DIV");t.className="modal",e.appendChild(t),e.classList.add("skeleton"),e.modal=t}(e),e.modalTimeout=setTimeout(function(){f(e),n("Timed out getting new version"),c("TIMEOUT"),n("TIMEOUT")},t||u),caches.open(o.CACHE_KEY).then(function(e){e.match(location.href).then(function(e){if(e){var t=e.headers.get(o.HASH_PREFIX),n=e.headers.get("date");e.text().then(function(e){r!==t&&Date(n)>Date(a)&&i({content:e,contentHash:t,status:"networkCacheUpdate",date:n})})}})}),navigator.serviceWorker.addEventListener("message",function(e){if(e.origin===location.origin){var t=e.data;if(t&&"NEW_VERSION"===t.message&&t.url===location.href){n("Updating from sw message"),n("NETWORK UPDATE");var r={content:t.content,contentHash:t.contentHash,status:"networkUpdate",date:t.date};i(r)}}})});return i.then(function(t){n("GETDATA RESOLVED"),function(e,t){if(window.localStorage.getItem(o.HASH_KEY)!==t.contentHash){var n=document.implementation.createHTMLDocument("temp");n.documentElement.innerHTML=t.content,e.parentNode.replaceChild(n.querySelector("main"),e),f(e);var r=document.createEvent("HTMLEvents");r.initEvent("component.activate",!0,!0),r.data={},document.querySelector("main").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.status)}).catch(function(e){n("GETDATA REJECTED"),n("Error getting data: "+e)}),i},n.response=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/",r=arguments[3],a=(arguments.length>4&&void 0!==arguments[4]?arguments[4]:{}).debug,u=e.request.url,f=function(){};a&&(f=function(e){console.log("[TM PWA] "+e)});for(var l=u.match(///.+?//)[0].includes(t),d=l&&!u.includes("service-worker.js"),g=0,h=s.length;!d&&g<h;)d=s[g].pattern(u),g++;if(d&&"GET"===e.request.method){var v="navigate"===e.request.mode;e.respondWith(caches.open(o.CACHE_KEY).then(function(t){return t.match(e.request).then(function(e){v&&e&&f("CACHE RESPONSE");var t={};l||(t.mode="no-cors");var a=fetch(u,t).then(function(e){var t=void 0;if(v){var n=e.clone(),r={status:n.status,statusText:n.statusText,headers:{}};n.headers.forEach(function(e,t){r.headers[t]=e}),t=n.text().then(function(e){return r.headers[o.HASH_PREFIX]=(0,i.default)(e),new Response(e,r)}),f("NETWORK RESPONSE")}return caches.open(o.CACHE_KEY).then(function(n){v?t.then(function(e){n.delete(u),n.put(u,e.clone()).then(function(){e.clone().text().then(function(t){!function(e,t){var n=t.clog;e.message="NEW_VERSION",clients.matchAll().then(function(t){t.forEach(function(t){n("Posting message"),t.postMessage(e)})})}({url:u,content:t,contentHash:e.headers.get(o.HASH_PREFIX),date:e.headers.get("date")},{clog:f})})}).catch(function(e){n.delete(u),f("Error updating cache - deleting entry: "+e)})}):(n.delete(u),n.put(u,e.clone()).catch(function(e){n.delete(u),f("Error updating cache - deleting entry: "+e)}))}),t?Promise.resolve(t.then(function(e){return e.clone()})):e.clone()}).catch(function(e){if(f(e),r.offlineSupport&&v)return console.log("OFFLINE"),caches.match(n+c)});return e||a})}))}},n.deleteCaches=function(){caches.keys().then(function(e){return Promise.all(e.filter(function(e){return e.startsWith(o.CACHE_NAME)}).map(function(e){if(e!==o.CACHE_KEY)return caches.delete(e)}))})}},{10:10,2:2}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getConfig=void 0,n.stub=function(e){var t={getConfig:s};return n.getConfig=s=e.stub(),{getConfig:s,restore:function(){n.getConfig=s=t.getConfig}}};var r,o=e(6),a=(r=o)&&r.__esModule?r:{default:r};var i="config",c=1,u=3e3;function s(e){return new Promise(function(t,n){setTimeout(n,u),(0,a.default)(e,i).then(function(e){var n=e.get(c);n.onsuccess=function(){t(n.result.config)}})})}n.default=function(e,t){return(0,a.default)(e,i,"readwrite").then(function(e){e.put({version:c,config:t})})},n.getConfig=s},{6:6}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=[{name:"config",key:"version"},{name:"pageviews",key:"url"}];n.default=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"readonly";return new Promise(function(o,a){var i=e.open("marwood-pwa",1);i.onupgradeneeded=function(){r.forEach(function(e){i.result.objectStoreNames.contains(e.name)||i.result.createObjectStore(e.name,{keyPath:e.key})})},i.onsuccess=function(){if(i.result.onversionchange=function(e){null===e.newVersion&&e.target.close()},i&&i.result&&i.result.objectStoreNames.contains(t)){var e=i.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-af05a279f9537a620349bcf36d4180b4",o="offline/";function a(e){caches.open(r).then(function(t){document.querySelectorAll('meta[name="cache-preload"]').forEach(function(e){var n=e.getAttribute("content");t.match(n).then(function(e){e||t.add(n)})});var n=e+o;t.match(n).then(function(e){e||fetch(n).then(function(e){if(e.redirected){var r=e.clone(),o={status:r.status,statusText:r.statusText,headers:{}};e.headers.forEach(function(e,t){o.headers[t]=e}),r.text().then(function(e){t.put(n,new Response(e,o))})}else t.put(n,e)})})})}n.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.selector,n=e.maxUrls,i=e.endpoint,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/";navigator.serviceWorker.addEventListener("message",function(e){e.origin===location.origin&&"SERVICE_WORKER_INSTALL"===e.data&&a(c)}),navigator.onLine&&location.pathname!==c+o&&(a(c),"number"!=typeof n&&(n=10),i||t||(t=".teaser"),window.addEventListener("load",function(){var e=JSON.parse(localStorage.getItem("offlineUrls"))||[];(function(e,t){var n=e.endpoint,r=e.selector;if(n)return new Promise(function(e){fetch(n+"?url="+location.href.split("?")[0]).then(function(n){n.json().then(function(n){e(n.filter(function(e){return e.url&&e.url.length>0}).slice(0,t).map(function(e){return{url:e.url,text:e.title,image:e.image.href.replace("/BINARY/","/alternates/s615b/"),tag:e.tags&&e.tags[0]}}))})})});if(r){var o=Array.from(document.querySelectorAll(r)).slice(0,t);return Promise.resolve(o.map(function(e){var t=e.querySelector("a.headline"),n=e.querySelector("img"),r=e.querySelector("a.label");return{url:t&&t.getAttribute("href"),text:t&&t.innerHTML,image:n&&n.getAttribute("data-src")||n.getAttribute("src"),tag:r&&r.innerHTML}}))}})({endpoint:i,selector:t},n).then(function(t){var o=t;e.length&&(o=t.filter(function(t){return e.find(function(e){return t.url!==e.url})})),o.length&&caches.open(r).then(function(t){o.forEach(function(r){r.text&&r.url&&r.image&&t.addAll([r.url,r.image]).then(function(){e.find(function(e){return e.url===r.url})||e.unshift(r),e.length>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(){localStorage.setItem(c,Number(localStorage.getItem(c)||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:g,getManifest:v};return n.analytics=g=e.stub(),n.getManifest=v=e.stub(),{analytics:g,getManifest:v,restore:function(){n.analytics=g=t.analytics,n.getManifest=v=t.getManifest}}};var r=e(8),o=f(r),a=f(e(4)),i=f(e(1)),c=f(e(7)),u=f(e(5)),s=e(10);function f(e){return e&&e.__esModule?e:{default:e}}var l=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 g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;i.default.fire(window,"analytics.track",{name:e,category:"metrics",value:t})}function h(e,t,n){var r=n.clog,o=window.localStorage.getItem(s.HASH_KEY);(0,a.default)(e,t.cacheFirst,{clog:r}).then(function(e){d(o===e.contentHash?"unchanged":"fresh",{clog:r}),g("cacheFirstPageView")}).catch(function(){d("cached",{clog:r}),g("cacheFirstPageView"),r("CACHED PAGE VIEW"),navigator.serviceWorker.addEventListener("message",function(e){if(e.origin===location.origin){var t=e.data;t&&"NEW_VERSION"===t.message&&t.url===location.href&&(o!==t.contentHash?(g("stalePageView"),r("STALE PAGE VIEW")):(g("cachedPageView"),r("MOULDY PAGE VIEW")))}})})}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=document.querySelector("link[rel=manifest]");if(t){var n=t.href;return new Promise(function(t,r){caches.open(s.MANIFEST_CACHE_NAME+":"+e).then(function(e){e.match(n).then(function(r){r?t(r):fetch(n).then(function(r){e.put(n,r.clone()),t(r.clone())})})}).catch(function(e){return r(e)})}).then(function(e){return e.json().then(function(e){return e})})}}n.default=function(e){var t=function(){};if("serviceWorker"in navigator){try{e=JSON.parse(e)}catch(t){e=e||{}}if(!e.debug)try{e.debug=new URLSearchParams(window.location.search).get("pwaDebug")}catch(e){}(0,u.default)(window.indexedDB,e);var n="/service-worker.js?v=d773bdc39524159f6c740dffa8c5f88a";e.debug&&(n+="&pwaDebug="+e.debug,t=function(e){window.console.log("[TM PWA] "+e)}),e.cacheFirst&&(n+="&cacheFirst=true"),e.offlineSupport&&(n+="&offlineSupport=true");var a=void 0;if(e.scope&&(a={scope:e.scope}),navigator.serviceWorker.register(n,a).then(function(){t("Service worker registered successfully")},function(n){e.debug&&(t("Service worker registration failed"),t(n))}),e.offlineSupport&&navigator.onLine){(0,o.default)(window.indexedDB,function(e){g("attemptedPageViews",e)});var s=(0,r.offlineLandingTracking)();s&&g("offlineLandingPageViews",s)}if(e.cacheFirst&&(navigator.serviceWorker.controller||e.cacheFirst.force)){var f=document.querySelector("main");if(f)h(f,e.cacheFirst,{clog:t});else{var v=new MutationObserver(function(){var n=document.body;n&&(v.disconnect(),(v=new MutationObserver(function(){var n=document.querySelector("main");n&&(h(n,e.cacheFirst,{clog:t}),v.disconnect())})).observe(n,{childList:!0}))});v.observe(document.documentElement,{childList:!0})}}else d("none",{clog:t});e.offlineSupport&&(0,c.default)(e.offlineSupport,e.scope),window.matchMedia("(display-mode: standalone)").matches&&(g("pwaPageView"),document.documentElement.setAttribute("tm-pwa",e.scope||"/")),!0===window.navigator.standalone&&l&&(g("iOSPwaPageView"),document.documentElement.setAttribute("tm-pwa",e.scope||"/"),i.default.delegate(document.body,"a","click",function(e){var t=e.target.getAttribute("href");window.history.pushState({},"",t),location.replace(t)},{preventDefault:!0})),window.indexedDB.deleteDatabase("1"),window.indexedDB.deleteDatabase("cacheStatus")}else d("none",{clog:t})},n.analytics=g,n.getManifest=v,n.cookie=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3),document.cookie=e+"="+t+";expires="+r.toUTCString()+";path=/"},n.urlBase64ToUint8Array=s.urlBase64ToUint8Array,n.validate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if(!e)return{homepage:t};var n=void 0;try{n=JSON.parse(document.getElementById("manifest-validation").getAttribute("content"))}catch(e){return null}var r=e.filter(function(e){return n.url&&n.url.includes(e.homepage)}),o=e.filter(function(e){return n.primaryTag&&n.primaryTag===e.tag}),a=e.filter(function(e){return n.tags&&n.tags.includes(e.tag)});if(1===r.length)return r[0];if(1===o.length)return o[0];if(1===a.length)return a[0];var i=e.filter(function(e){return e.scope===t});return i?i[0]: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-af05a279f9537a620349bcf36d4180b4",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,"/"),n=atob(t),r=new Uint8Array(n.length),o=0;o<n.length;++o)r[o]=n.charCodeAt(o);return r},n.isAmpArticle=function(e){return e.match(r)},n.HASH_PREFIX="TM-Hash",n.HASH_KEY=o,n.DATE_KEY=a},{}]},{},[3]); //# sourceMappingURL=pwa.min.js.map Source link . More news
via wordpress https://ift.tt/2pd6Jgu
0 notes