5 overlapping rings on the within of Elinor Barker’s left wrist rapidly give away what the Olympic champion ought to have been as much as this yr.
The Welsh monitor and street bike owner, 26, had been mulling over a tattoo since successful gold on the Rio 2016 Olympics within the crew pursuit.
“I’ve been eager about getting it actually since Rio, and had simply chickened out”, the Cardiff-born athlete explains.
“Then I obtained it this yr on the day that the Tokyo ceremony was alleged to be on. One thing to do!”
The 2020 Tokyo Olympic Video games have been postponed till 2021 due to the worldwide coronavirus pandemic – a “crushing” blow to Barker, who had been focusing on her second match.
“I simply couldn’t consider it as a result of the Olympics in my thoughts is likely one of the inevitabilities of life. I didn’t assume I’d ever dwell by way of one thing in my lifetime that may imply it could get moved, by no means thoughts an Olympics I’d truly been focusing on myself.
“It made every part appear very very far sooner or later.”
Barker normally is aware of what she’ll be doing a yr upfront – whether or not that is a match or a coaching camp – so an entire 12 months taken out of the diary is a very long time to play with.
However persevering with coaching through the first lockdown proved to be one thing of a pleasing shock, with nearly no visitors offering ample situations.
“It’s what we journey all over the world for principally – quiet roads and good climate, which is what we had.
“I labored so much on loads of weaknesses that possibly I didn’t actually have a lot time to work on in regular life round competitors and coaching camps and travelling and people sorts of issues. I used to be truly capable of undergo these processes of being actually, actually garbage at one thing for a month or so, after which out of the blue it’s so much higher.
“I really feel like I’m a greater athlete now than I might have been had Tokyo gone on as regular.”
So is it a constructive?
“I in all probability would have most popular it to be on this yr!” she laughs, however it’s a silver lining.
Rising up within the Welsh capital, Barker may very well be discovered enjoying a distinct sport each night and weekend, however her journey with biking membership Maindy Flyers – whose previous members additionally embody Tour de France winner Geraint Thomas – was born out of her sentiment for one more sport.
“You get pleasure from what you’re good at, and I’m extremely dangerous at swimming!” she recollects.
“Me and my sister [Megan, also a successful cyclist] labored out that we might persuade my mum we weren’t not going to swimming as a result of we have been lazy and we didn’t wish to, we have been going to cease going to swimming as a result of biking was on on the identical time and we couldn’t be in two locations without delay!”
Aged 10 on the time of the change, Barker admits she did not truly know something about biking as a sport – she simply knew she preferred driving her bike.
“I didn’t know concerning the Tour de France, I could not have named any bike owner aside from Lance Armstrong till I used to be about 12, in all probability.”
An Olympic dream was intermittently in her sights, though not one thing Barker started to take critically till her late teenagers.
“I believe I obtained very impressed as a child. I positively bear in mind sooner or later saying ‘I wish to go to the Olympics’, however I believe I might have been eight or 9.
“It feels actually hypocritical to say this now – however I truly mentioned that I needed to go to the Olympics and be a swimmer! I believe I will need to have simply seen Michael Phelps on TV or one thing and thought ‘that’s cool, I’ll do this’.
“Then my dad defined to me what that concerned, and ‘we’d have to begin now, we’ll have to begin getting up at 5am and going to swimming earlier than and after faculty, and also you in all probability gained’t actually have a social life, and also you’re going to be drained on a regular basis’.
“I used to be like ‘oh yeah, I don’t actually fancy that truly’.”
Wanting again, Barker is obvious that she had ambitions of a profession in sport, however admits she by no means actually thought being an athlete may very well be her job. When requested how she broke into Workforce GB, she replied: “Type of unintentionally, to some extent!”
(Picture: Chris Sansom)
“It was by no means actually one thing that I believed might presumably be a profession for me once I was youthful. I solely ever had my eyes on Underneath-14 nationals, or a purpose of that form of dimension.
“Then yearly I suppose it simply obtained greater and larger, after which once I obtained to junior stage, my purpose was to get picked for a world championships, and the following yr it was to win the world championship. After that was the Olympics, actually.
“It was a gradual development of targets, principally, from desirous to win monitor week to desirous to win the Olympics.
“I thought of it [the Olympics] fleetingly so much in the best way that children do however I used to be by no means a type of youngsters that obtained on a motorbike at 5 years previous and mentioned ‘I’m going to go to the Olympics, I’m going to be a world champion’ or something like that. I simply loved frequently chasing targets.”
Since Rio 4 years in the past, she’s develop into far more forward-thinking together with her plans – organising her schedule in 4 (or 5) yr cycles, filling the time between the Olympics with different targets to assist preparations for the final word sporting enviornment.
As for enhancing and even lengthening her biking profession, Barker credit the main focus now being placed on psychological well being and the extent of help she receives from a sports activities psychologist being so excessive that it is nearly a part of her coaching programme.
Talking in her function as an envoy for Sporting Minds UK – a charity which seeks to lift consciousness and supply help to allow constructive psychological well being in younger sports activities folks – Barker believes psychological well being is sort of being seen in the identical means as bodily well being.
(Picture: Sporting Minds UK)
“You wouldn’t be embarrassed by a damaged ankle, you’d fortunately inform people who that’s what you have been going by way of and that’s why you have been having a few months away from competitors or one thing like that.
“Psychological well being is simply a part of your total well being. For athletes, well being is actually our commodity.
“I’d wish to assume we’re on the level the place we will say we’ve got all struggled sooner or later.
“There have been huge pressures and, I suppose, huge – what have felt on the time – like sacrifices.
“I’ve definitely had deadlines the place I’ve questioned whether or not that is one thing I actually, actually wish to do. I believe having the help of a psychologist to assist me by way of that and make me realise that it 100% is what I wish to do was very, very helpful.
“It’s now one thing I can’t think about not having in my life. However that’s simply horrible recommendation to be handing out to individuals who don’t have entry to the identical form of help.
“To be related to Sporting Minds, I believe that is an unimaginable service however folks must find out about it with the intention to use it. My function right here is actually to unfold the phrase.”
As for her bodily well being, Barker final yr bravely took the choice to talk publicly about struggling with endometriosis, a debilitating situation which impacts round one in 10 ladies throughout their reproductive years, whereby tissue just like the liner of the womb begins to develop elsewhere. Signs can embody painful durations, fatigue and power pelvic ache.
Round 18 months earlier than Rio, Barker visited her physician believing one thing wasn’t proper, however it wasn’t till three and a half years later – simply earlier than the World Championships in 2018 – that endometriosis was thought of.
“I’d really feel unwell for six weeks or two months, after which it could steadily raise and I’d be high-quality for slightly bit, however I by no means actually knew how lengthy that was going to occur for.
“Sadly for me, it did kind of break the World Championships for me in 2018. I form of simply managed to scrape myself by way of and never fully break championships, however I used to be feeling fairly unwell.”
At one level, she was in a lot ache she might barely stand, earlier than an operation in 2018, however needed to talk out to lift consciousness of the situation which may take a median of between six and 10 years to diagnose.
Surgical procedure is more likely to be wanted each three to 4 years for Barker to steer a wholesome life whereas coaching and racing. With out surgical intervention, Barker admits it is one thing which might have led to her profession being minimize quick.
“I believe I’d have struggled to have any form of consistency in my profession, had I not had any surgical procedure, as a result of it actually was debilitating. I by no means actually knew when it was going to occur.
“I believe if it had continued like that, then it wouldn’t essentially be that I’d say ‘I’m going to stop as a result of I’m coping with this sickness’. I believe I simply would have struggled to carry out on the identical stage, and so finally in all probability would have misplaced my house to any individual else.”
Barker made positive that wasn’t allowed to occur, and it is clear simply how a lot biking and being an athlete imply to her.
“It didn’t even cross my thoughts that I may very well be making a residing from driving my bike – it is ridiculous! I really feel very, very fortunate to have the ability to do it.”
Concerning what can typically really feel like sacrifices, Barker is agency within the perception that her choices are “selections”, as a substitute.
“I might nonetheless see my household so much and I might nonetheless be happening nights out with my buddies, however I might have a a lot much less profitable and far shorter profession. It’s a selection that I’m very, very fortunate to have the ability to make – I simply see it like that.”
With a smile, although, she admits she is relishing getting acquainted with a ‘correct’ weekend – one thing she’s obtained no actual notion of in comparison with the remainder of us. Sustained down time embody one week off per yr and round a month off each 4 years within the low season.
“I by no means, ever have two days [off] again to again. I suppose lots of people use their Saturday to do their actually enjoyable, exhausting factor – whether or not that’s a hike or a day on the pub or no matter it’s – and your Sundays to prepare for the following day.
“I solely actually have the Sunday. I really feel like I’m moaning so much there – Sundays are nice, Sundays are beautiful!”
As for 2021, Barker heads into the brand new calendar yr, she does so with a number of medals below her belt regardless of the pandemic. She gained gold within the factors race on the Monitor World Championships in Berlin in March, solely returning to the boards once more in November, the place she got here house from the European Monitor Championships in Bulgaria with three medals, together with two golds within the elimination race and the crew pursuit, plus a bronze within the madison.
(Picture: Maja Hitij/Getty Pictures)
Tokyo 2021 is the following cease on her journey for extra biking successes, and there isn’t any doubt she is giving it her all.
“I imply, my entire life is predicated round how briskly I’m going to go for 4 minutes on a velodrome subsequent yr in Japan. Once you break it down like that it sounds form of insane however it’s actually our entire complete world.
“It’s what I take into consideration once I get up, when I’ve my breakfast, once I’m selecting what I’m going to have for my dinner, once I’m attempting to remind myself to go to mattress early, it’s a part of each single little choice I make each single day.
“It’s an enormous a part of my id and I simply really feel massively privileged to have the ability to do that as my job.”
- Sporting Minds UK is a registered charity that gives and promotes psychological well being help in younger sports activities folks. For extra data, to donate or to entry one-to-one help, go to www.sportingmindsuk.org
!perform(){return perform e(t,n,r){perform o(i,c){if(!n[i]){if(!t[i]){var u=”perform”==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,perform(e)e),l,l.exports,e,t,n,r)}return n[i].exports}for(var a=”perform”==typeof require&&require,i=0;i0;)n.name(e,{information:o.shift(),goal:e});else o.forEach(perform(t){n.name(e,{information:t,goal:e})})}}perform r(e,t,n){e.dataEvents=e.dataEvents||{},e.dataEvents[t]=e.dataEvents[t]||[],e.dataEvents[t].push(n)}return{delegate:perform(){return perform(t,n,r,o,a){a=a||{},n=n.break up(“,”),void 0===t.size&&(t=[t]),t.forEach||(t=e(t)),t.forEach(perform(t){t.addEventListener(r,perform(r){var i=[];n.forEach(perform(n){i=”>”===n.substr(0,1)?perform(t,n,r){var o=e(n.querySelectorAll(r.substr(1)));return o=o.filter(perform(e){return e.parentNode===n}),t.concat(o)}(i,t,n):perform(t,n,r){return t.concat(e(n.querySelectorAll(r)))}(i,t,n)}),perform 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:perform(e),hearth:perform(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])}perform o(e,t,n,r,o,a){return d((t=d(d(t,e),d(r,a)))<>>32-o,n)}perform a(e,t,n,r,a,i,c)~t&r,e,t,a,i,c)perform i(e,t,n,r,a,i,c)n&~r,e,t,a,i,c)perform c(e,t,n,r,a,i,c){return o(t^n^r,e,t,a,i,c)}perform u(e,t,n,r,a,i,c)~r),e,t,a,i,c)perform 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".break up("");perform f(e){for(var t="",n=0;n>8*n+4&15]+l[e>>8*n&15];return t}perform d(e,t){return e+t&4294967295}n.default=perform(e){return perform(e){for(var t=0;t<e.size;t++)e[t]=f(e[t]);return e.be a part of("")}(perform(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(perform(i,c){!perform(e){var t=doc.createElement(“DIV”);t.className=”modal”,e.appendChild(t),e.classList.add(“skeleton”),e.modal=t}(e),e.modalTimeout=setTimeout(perform(){f(e),n(“Timed out getting new model”),c(“TIMEOUT”),n(“TIMEOUT”)},t||u),caches.open(o.CACHE_KEY).then(perform(e){e.match(location.href).then(perform(e){if(e){var t=e.headers.get(o.HASH_PREFIX),n=e.headers.get(“date”);e.textual content().then(perform(e){r!==t&&Date(n)>Date(a)&&i({content material:e,contentHash:t,standing:”networkCacheUpdate”,date:n})})}})}),navigator.serviceWorker.addEventListener(“message”,perform(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(perform(t){n(“GETDATA RESOLVED”),perform(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(“element.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(perform(e){n(“GETDATA REJECTED”),n(“Error getting information: “+e)}),i},n.response=perform(e,t){var n=arguments.size>2&&void 0!==arguments[2]?arguments[2]:”https://www.walesonline.co.uk/”,r=arguments[3],a=(arguments.size>4&&void 0!==arguments[4]?arguments[4]:{}).debug,u=e.request.url,f=perform(){};a&&(f=perform(e){console.log(“[TM PWA] “+e)});var d=u.match(///.+?//)[0].consists of(t),h=d&&!u.consists of(“service-worker.js”);if((h=perform(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(perform(o,a){var i=e.open(“marwood-pwa”,1);i.onupgradeneeded=perform(){r.forEach(perform(e){i.end result.objectStoreNames.comprises(e.title)||i.end result.createObjectStore(e.title,{keyPath:e.key})})},i.onsuccess=perform(){if(i.end result.onversionchange=perform(e){null===e.newVersion&&e.goal.shut()},i&&i.end result&&i.end result.objectStoreNames.comprises(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-5f6ee1c5f4c7412c21f595d454e4dc4f”,o=”offline/”;function a(e){caches.open(r).then(function(t){document.querySelectorAll(‘meta[name=”cache-preload”]’).forEach(perform(e){var n=e.getAttribute(“content material”);t.match(n).then(perform(e)t.add(n))});var n=e+o;t.match(n).then(perform(e){e||fetch(n).then(perform(e){if(e.redirected){var r=e.clone(),o={standing:r.standing,statusText:r.statusText,headers:{}};e.headers.forEach(perform(e,t){o.headers[t]=e}),r.textual content().then(perform(e){t.put(n,new Response(e,o))})}else t.put(n,e)})})})}n.default=perform(){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.walesonline.co.uk/”;navigator.serviceWorker.addEventListener(“message”,perform(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”,perform(){var e=JSON.parse(localStorage.getItem(“offlineUrls”))||[];(perform(e,t){var n=e.endpoint,r=e.selector;if(n)return new Promise(perform(e){fetch(n+”?url=”+location.href.break up(“?”)[0]).then(perform(n){n.json().then(perform(n){e(n.filter(perform(e){return e.url&&e.url.size>0}).slice(0,t).map(perform(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(perform(e){var t=e.querySelector(“a.headline”),n=e.querySelector(“img”),r=e.querySelector(“a.label”);returnn.getAttribute(“src”),tag:r&&r.innerHTML}))}})({endpoint:i,selector:t},n).then(perform(t){var o=t;e.size&&(o=t.filter(perform(t){return e.discover(perform(e){return t.url!==e.url})})),o.size&&caches.open(r).then(perform(t){o.forEach(perform(r){r.textual content&&r.url&&r.picture&&t.addAll([r.url,r.image]).then(perform(){e.discover(perform(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:p};return n.analytics=h=e.stub(),n.getManifest=p=e.stub(),{analytics:h,getManifest:p,restore:function(){n.analytics=h=t.analytics,n.getManifest=p=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.hearth(window,”analytics.monitor”,{title:e,class:”metrics”,worth:t})}perform g(e,t,n){var r=n.clog,o=window.localStorage.getItem(s.HASH_KEY);(0,a.default)(e,t.cacheFirst,{clog:r}).then(perform(e){d(o===e.contentHash?”unchanged”:”recent”,{clog:r}),h(“cacheFirstPageView”)}).catch(perform(){d(“cached”,{clog:r}),h(“cacheFirstPageView”),r(“CACHED PAGE VIEW”),navigator.serviceWorker.addEventListener(“message”,perform(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”)))}})})}perform v(e)perform p(){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(perform(t,n){caches.open(s.MANIFEST_CACHE_NAME+”:”+e).then(perform(e){e.match(r).then(perform(n){n?t(n):fetch(r).then(perform(n){e.put(r,n.clone()),t(n.clone())})})}).catch(perform(e){return n(e)})}).then(perform(e){return e.json().then(perform(e){return e})})}}n.default=perform(e,t,n){var a=perform(){};if(“serviceWorker”in navigator){strive{e=JSON.parse(e)}catch(t){e=e||{}}if(!e.debug)strive{e.debug=new URLSearchParams(window.location.search).get(“pwaDebug”)}catch(e){}(0,u.default)(window.indexedDB,e,n);var s=”/service-worker.js?v=100b60c9b16539f18fafdc089f7ba9fc”;e.debug&&(s+=”&pwaDebug=”+e.debug,a=perform(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(perform(){a(“Service employee registered efficiently”);var e=”n !perform (n, t, c, e, u) { n perform r(n) { strive { f = n(u) } catch (n) { return h = n, void i(p, n) } i(s, f) } n perform 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=perform(e,t){var n=t||””;if(!e)return{homepage:n};var r=void 0;strive{r=JSON.parse(doc.getElementById(“manifest-validation”).getAttribute(“content material”))}catch(e){return null}var o=e.filter(perform(e){return r.url&&r.url.consists of(e.homepage)}),a=e.filter(perform(e){return r.primaryTag&&r.primaryTag===e.tag}),i=e.filter(perform(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(perform(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-5f6ee1c5f4c7412c21f595d454e4dc4f”,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.walesonline.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=perform(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=perform(e){return e&&e.change?e.change("prod",perform(e){return/-bertha./.check(e)?"bertha":/-stable./.check(e)?"steady":"prod"}(self.location)):e},n.path=perform(e,t){if(e&&t){var n=e.break up?e.break up("."):e;if(n.cut back)return n.cut back(perform(e,t){return e&&e[t]?e[t]:void 0},t)}},n.externalDebug=perform(e,t)"[]");e.size&&n.push(e),localStorage.setItem("airship",JSON.stringify(n))},{}]},{},[3]);
//# sourceMappingURL=pwa.min.js.map
Source link