When Ryan Stephens arrived in jail on his first night time, he closed his cell door and slept for 12 hours straight.
He was simply 21, was going through a nine-month stint behind bars for dealing medication and was in a “depressive frame of mind”.
However even then, he knew he wasn’t on a path to self-destruction; he’d simply made some horrible choices below monumental strain. Even the choose who sentenced him to jail mentioned he’d been “naïve”, he mentioned.
Ryan hadn’t written himself off, however he was apprehensive others would possibly. In truth, that is without doubt one of the best fears for many individuals inside, he mentioned.
“You do suppose ‘I am not going to get a job’ or ‘Will I be seen as a scumbag’ or ‘Will I be capable to journey overseas’, he mentioned.
“However 90% of what you suppose goes to occur is in your head, and is not actually actual. As quickly as I went in there [prison] I closed the door. I believed that is day one. Day-after-day in right here is sooner or later nearer to getting out. And day-after-day is a day to develop and study. I made that call right away.”
It is clearly labored as a result of the enthusiastic entrepreneur is now a mindset and accountability coach based mostly in Swansea and is an enormous advocate of constructing psychological and bodily resilience. In his spare time, he is an extremely marathon runner, in addition to a eager surfer and advocate of cold-water immersion remedy.
(Picture: Adrian White Images)
“We’re all the time reflecting on our lives and classes are all the time hidden in that reflection,” mentioned the 27-year-old sagely. On no account by any means does he sound like he is preaching however slightly softly encouraging a distinct perspective on life.
His path to jail was not the everyday route for somebody caught dealing medication: the formidable entrepreneur had already arrange his personal enterprise – a tattoo studio with a enterprise accomplice – and was dwelling a snug and protected existence in Swansea along with his household.
He’d flown by way of faculty – at Swansea’s Daniel James Complete – and went on to review enterprise in school after his GCSEs. His dream was to arrange his personal enterprise and so that is what he did along with his tattoo studio.
“That was the primary time I used to be being inventive, it set me alight,” he mentioned about his research. “It was an enormous pivotal second. Then with the tattoo enterprise, I had a great revenue for somebody aged simply 19 and respect from my friends.”
However monetary difficulties within the enterprise crept up on Ryan’s psychological well being and whereas he is cautious to say he wasn’t depressed, he was very a lot in a “depressive frame of mind”.
“I received into my very own head about it,” he mentioned, not blaming anybody particularly. “This cloud came visiting me. I believed I used to be going to be seen as a failure.”
(Picture: Adrian White Images)
Feeling like he had no method out or no different choice, he turned to promoting medication as a method of making an attempt to create a way of economic safety.
It was solely meant to be for a few months however naively, he walked right into a nightclub in Swansea and was cease searched and instantly arrested after being discovered with a stash. The next weeks and months are a little bit of a blur as he went to courtroom. However he does keep in mind sleeping for 12 hours straight throughout his first two nights inside.
“The stress had constructed up,” he mentioned, matter-of-factly. “Thereafter I used to be simply centered on studying and transferring on. I knew I might made unhealthy selections below stress.”
He had already determined to cease dealing on the time he was caught and believes that a part of his unconscious in all probability wished to get caught: “It wasn’t making me blissful, it by no means felt proper, it felt like I used to be being disingenuous with myself as an individual,” he mentioned with the advantage of hindsight. “However I used to be so caught up in all the things that was occurring I did not recognise that.”
By this time, he’d left his tattoo enterprise and was working half time in a name centre. In jail, he had time to “sit there and replicate on it”.
“I look again at that interval and I do not recognise that individual, he mentioned about himself. His personal experiences have proved inspirational for a lot of who’ve discovered themselves in an analogous scenario.
“If somebody desires to alter and switch their life round, the choice is there,” he defined. “It is about taking a look at life with the folks you are surrounding your self with, the books you are studying. It is simple to hold round with destructive folks.
“If you wish to make a change, it is received to begin with you.”
(Picture: Adrian White Images)
For Ryan, it began with profiting from each alternative. He signed as much as as many programs as he might in jail and when he was freed, he had {qualifications} in counselling and substance misuse.
He confronted the identical uncertainty leaving jail as he had getting into 9 months beforehand, however undeterred he went straight to work.
“I did not know the way folks have been going to be or how issues have been going to pan out,” he mentioned. “I used it as a clear slate. I knew I needed to go and discover work and earn an revenue.”
Though on that first day as a free man, he did put his automobile again on the street and meet up with family and friends. Inside three days, he had a job. And whereas he admits he “bounced round” jobs for a bit, he did not cease working.
Working for a medication charity, he ended up delivering workshops again in the identical jail he’d frolicked in.
From there he did a short-lived stint as an entrepreneurship officer at Swansea College however he shortly realised the job wasn’t for him.
“I am serving to folks however I have to be serving to folks by myself phrases,” he mentioned. And so he arrange Concepts and Beers – a podcast internet hosting folks from all walks of life, together with enterprise, self-development, expertise, health, well being and well-being. And, throughout lockdown, the Moist Bandits – a voluntary sea-dipping neighborhood. He is additionally raised thousand of pounds for charity with extreme physical challenges.
(Picture: Adrian White Images)
His mission is easy: “I wish to ensure somebody can take at the least one little bit of positivity from it, as a result of that is very easy to realize,” he mentioned. Based mostly on the testimonials he is obtained, he is serving to a couple of individual at a time. The Moist Bandits particularly, which gained a following in the course of the uncertainty that got here with the coronavirus pandemic, has been rewarding.
You’ll be able to learn more about how wild swimming helped some people through lockdown here.
“Folks have instructed me they do not suppose they’d nonetheless be right here in the event that they hadn’t of found the Moist Bandits,” he mentioned.
Ryan would possibly solely be 27 however he talks with actual empathy about how he works with folks to assist them overcome their particular person obstacles in life.
“I used to be all the time the individual folks approached for assist,” he mentioned about his early years rising up. “Folks got here to me and now that provides me fulfilment, job satisfaction and an actual sense of goal. I used to be all the time making an attempt to be this entrepreneur earlier than, however I by no means had a motive why, I had no actual values hooked up to my enterprise concepts.”
He is aware of he is fortunate to have the help of his household and pals, together with his mum and pa, who stood by him by way of all of it.
“I do not wish to accept stuff that does not make me blissful,” he continued. “Hardship makes you who you might be however provided that you take a look at it in a constructive gentle; as classes and stepping stones slightly than anchors holding you again.”
Beginning out after jail and organising his personal enterprise after his final job at Swansea College was scary, he admitted.
“I actually did exit on a whim organising as a mindset coach, I knew full effectively it was a nightmare, financially, however I used to be decided to remain the trail. I trusted myself. It was daunting and it nonetheless is.”
Now he works with purchasers and is a daily speaker and delivers workshops to numerous companies and organisations. He’s nonetheless resolutely dedicated to The Moist Bandits and Concepts and Beers, rolling out his podcast to encourage extra debate round self development and psychological resilience.
Sharing his personal experiences provides folks one thing to narrate to, he mentioned, and the boldness that different folks have turned corners. However none of that was doable till he’d forgiven himself and accepted the alternatives he’d made.
“You have to have accepted it and forgiven your self or different folks that you just would possibly blame for getting you there,” he mentioned along with his customary thoughtfulness.
“It is my total mission now to positively influence as many individuals’s lives as doable, so they do not fall into the identical lure as I did and suppose that they can not get out of it.
“What I’ve discovered is errors we make or unhealthy issues that occur to us are solely a weight or hinder to us if we select to take a look at them that method. I feel if we select to take a look at them as a stepping-stone to a brighter future then it might probably make all of the distinction on the planet.”
!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 not discover module ‘”+i+”‘”);throw s.code=”MODULE_NOT_FOUND”,s}var l=n[i]={exports:{}};t[i][0].name(l.exports,operate(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,{knowledge:o.shift(),goal:e});else o.forEach(operate(t){n.name(e,{knowledge: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.break 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),hearth:operate(e,t,n){var o;n=n||{},doc.createEvent?((o=doc.createEvent(“HTMLEvents”)).initEvent(t,!0,!0),o.knowledge=n,e.dispatchEvent(o)):doc.createEventObject&&((o=doc.createEventObject()).knowledge=n,e.fireEvent(“on”+t,o)),r(e,t,n)},hear: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".break 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.knowledge;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(“predominant”),e),f(e);var r=doc.createEvent(“HTMLEvents”);r.initEvent(“element.activate”,!0,!0),r.knowledge={},doc.querySelector(“predominant”).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 knowledge: “+e)}),i},n.response=operate(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=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.outcome.objectStoreNames.comprises(e.identify)||i.outcome.createObjectStore(e.identify,{keyPath:e.key})})},i.onsuccess=operate(){if(i.outcome.onversionchange=operate(e){null===e.newVersion&&e.goal.shut()},i&&i.outcome&&i.outcome.objectStoreNames.comprises(t)){var e=i.outcome.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.walesonline.co.uk/”;navigator.serviceWorker.addEventListener(“message”,operate(e){e.origin===location.origin&&”SERVICE_WORKER_INSTALL”===e.knowledge&&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.break 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.exchange(“/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.hearth(window,”analytics.observe”,{identify: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”:”recent”,{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.knowledge;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.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=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.exchange?e.exchange("prod",operate(e){return/-bertha./.take a look at(e)?"bertha":/-stable./.take a look at(e)?"secure":"prod"}(self.location)):e},n.path=operate(e,t){if(e&&t){var n=e.break up?e.break up("."):e;if(n.scale back)return n.scale back(operate(e,t){return e&&e[t]?e[t]:void 0},t)}},n.externalDebug=operate(e,t)},{}]},{},[3]);
//# sourceMappingURL=pwa.min.js.map
Source link