General

Chef working with Lorraine and WW shares healthy £1 meal recipes and tips

Chef working with Lorraine and WW shares healthy £1 meal recipes and tips

As the nation faces rising food prices, WW is collaborating with Miguel Barclay, the chef who is known for his money-saving £1 meals as part of the brand’s #savepointsavepounds campaign.

Miguel is one of the best-known budget chefs in the UK and is passionate about creating recipes so simple and delicious that even those who have never owned a spatula want to have a go at making them. “I want to get people cooking,” he says. “And I want them to know that when you start cooking from scratch using fresh ingredients, your shopping bills go down. There is no cheaper way of eating good food.“

He has teamed up with TV host Lorraine Kelly who confesses that she has reached the age of 62 without knowing how to scramble an egg and shows her how to cook three delicious meals from the new WW Everyday Healthy Cooking Made Easy book. All the meals they cook clearly state the cost – in price and PersonalPoints* – enabling members and non-members alike to make healthy and purse friendly choices.

He explains: “Lorraine can’t cook and it was nice to encourage her to have a go. I want to show people that you can make really healthy, nutritious meals for very little money that taste amazing – as good as anything you might find in a posh restaurant. My recipes are perfect for the WW programme, which actively encourages people to eat foods they love including chicken, eggs, oats, and of course plenty of fruits and vegetables. The dishes don’t take long at all and anyone can fit them into their lifestyle.”

All the ingredients that Miguel uses can be found in any local supermarket and all his cooking techniques are simple and quick – which fits perfectly with the ease of the WW programme, ”I’m quite lazy, so I always look for the easiest way of doing things with the maximum amount of taste. It is important people know that even if they have a really busy life, they can eat well on a budget.” he says.

Join Miguel and start cooking healthy, meals from scratch. Visit https://www.weightwatchers.com/uk/miguel-barclay to get 50% off today. #savepointssavepounds

Miguel Barclay’s 10 ways to save cash and make delicious easy-to-cook healthy meals at home:

  1. Cook everything from scratch If you cook everything from scratch, your shopping bills will be less. Processed food will always be the most expensive thing in your basket. Meat can be costly, but you only have to use a little bit of it.
  2. Cooking from scratch doesn’t have to be difficult. All my recipes are easy and you can cook most of my dishes from foods you already have in. I am very good at designing meals that have the maximum impact for the minimum amount of time and effort. For example, when I cook salmon, I pair it with lazy roast potatoes – I chop the potatoes up into small pieces, so that I can put them in the oven with the salmon at the same time. It only takes 25 minutes.
  3. Think about textures as they make food much more interesting, for example, I like to roast chickpeas in the oven with a bit of cumin and paprika on them as they go a little bit crispy and crunchy. They are full of protein and make a lovely, healthy snack. You can put them in tacos instead of meat.
  4. Get a little bit of caramelisation on food as it can really enhance the flavour – I love chicken and it’s delicious when you pan fry it with a little low calorie cooking spray so that it turns brown. Plain, white boiled chicken is just not appetizing. I like charring and a little bit of colour – so I have oven roasted asparagus with a bit of salt sprinkled over it, instead of boiled or steamed asparagus. You can take healthy foods and make taste great by the way you cook them.
  5. Don’t boil everything – frying in a non-stick pan with a spritz of low calorie oil really adds to flavour. I also love to roast veg which are commonly boiled, such as broccoli, cauliflower and asparagus for an alternative texture and taste.
  6. Avoid beige food – think about how your food looks and add some colour. If you’re going to make a sausage casserole for example, pan fry the sausage first so that the skin is nice and brown and crispy. Then, cut it up and add it to the casserole. You can also add colour with vegetables. The great thing about WW is that they are zero points, so you can really bulk up your meals and make them look incredible.
  7. Steer clear of processed foods whenever you can. They cost more than foods in their natural state and quite often, manufacturers add a lot of fat, salt, sugar and e-numbers, which aren’t doo for you.
  8. Use less meat by choosing dishes such as special fried rice. You only need a tiny amount of chicken or ham for flavour and the rest can be carrots, onions and any other veg that you fancy. When it comes to the eggs, you can choose the cheapest variety as they will taste just as good as the expensive ones in this dish.
  9. Shop around – it pays to visit all the supermarkets. Sometimes, I go to several in one day, because I know who does the best chicken, which supermarket has quality vegetables etc. The most expensive doesn’t always taste the best and it pays to do your homework.
  10. When cooking for family and friends, don’t serve food directly on the plates. “It looks fabulous just before it is plated up,” says Miguel. “I like to bring a bowl to the table or a skillet. Say for example you are having salmon with some new potatoes and asparagus, it looks much more beautiful if you’ve got a big bowl of potatoes with the asparagus all jumbled in and then you have four fillets next to each other on a tray on some greaseproof paper. That looks quite cool, but when you put it on a plate, it looks like home cooking.”

Miguel has shared some simple, healthy and cheap recipes to make at home – Green One Pound Meals by Miguel Barclay is published by Headline Home. Out now.

CAULIFLOWER LARB LETTUCE CUPS (2pp)

A lovely summer dish, and easy to scale up to enjoy with friends: just place a big bowlful in the middle of the table and everyone can dig in and make their own lettuce wraps. Larb is usually made with meat, but here I’ve swapped it for tiny cauliflower florets for a veg-based version that’s just as tasty.

To make 1 portion

1⁄2 red onion, finely diced

1⁄4 head of cauliflower, chopped into small florets 1 garlic clove, grated or crushed

Pinch of dried chilli flakes

Pinch of curry powder

A few lettuce leaves

Handful of chopped coriander 1⁄2 lime

Olive oil

Salt and pepper

To cook

Season the onion and cauliflower, then pan-fry in a splash of olive oil over a medium heat for about 6 minutes. Add the garlic, chilli flakes and curry powder, and continue to fry for a few more minutes until everything is golden brown.

Spoon the mixture into lettuce leaves, then garnish with chopped coriander and squeeze over some lime before serving.

CABBAGE RIBBON STIR-FRY (5pp)

Sneak some extra greens into your meal with this simple and healthy swap from noodles to cabbage. Just cut it into strips and it’ll do a similar job – and you don’t need to boil the ribbons first, so that’s some washing-up saved, too. Here I’ve used one of my favourite dipping sauces as a sauce for the ribbon

To make 1 portion

1/8 white cabbage, cut into strips 1⁄2 red onion, cut into wedges

1 carrot, cut into matchsticks

1 spring onion, roughly chopped

1 garlic clove, sliced

1 tbsp Chinese crispy chilli sauce in oil, plus 1 tsp to garnish

Sesame oil

Salt and peppe

To cook

Season the cabbage strips with salt and pepper, then pan-fry in a splash of sesame oil and a splash of water over a medium heat for a few minutes until softened. Add the red onion, carrot, spring onion and garlic, and continue to pan-fry for a few more minutes. Stir in the crispy chilli sauce, then serve with extra sauce to garnish.

GNOCCHI SOUP (9pp)

Dumplings are a great addition to soups, so why not gnocchi? I know it sounds strange, but it really does work brilliantly. If you don’t want to blend the soup, just chop the onion extra small and make a chunkier, more rustic version.

To make 1 portion

1⁄2 onion, diced

1 garlic clove, diced

200g chopped tomatoes (from a 400g tin) 200ml water

1⁄2 vegetable stock cube

Handful of shop-bought gnocchi Splash of single cream

Olive oil

Salt and pepper

To cook

Pan-fry the onions in a splash of olive oil over a medium–low heat for about 7 minutes, seasoning with salt and pepper. Add the garlic and continue to fry for a few more minutes. Next, add the chopped tomatoes, and water, and crumble in the stock cube. Simmer for about 10 minutes, adding an extra splash of water if it looks too thick. If it looks too watery, just simmer for a little longer.

Sesame salmon courgetti bowl

Video Loading

Video Unavailable

2-9 Prep 10 mins Serves 2 369 kcal – 2 – 9 PP

Batch-cooked salmon and asparagus are combined with a gingery dressing and fresh courgetti for a fuss-free, mouthwatering meal.

11⁄2 tablespoons rice vinegar 2 teaspoons sesame oil

5g fresh ginger, grated

1⁄8 teaspoon chilli flakes

1 large courgette

3 spring onions, trimmed and thinly sliced

2 servings Oven-roasted salmon & asparagus

1. In a medium bowl, whisk together the vinegar, oil, ginger and chilli flakes. Season to taste and set aside.

2. Trim the courgette, then spiralise or use a vegetable peeler to create ribbons. Add the courgette and spring onions to the dressing and toss together to coat.

3. Slice the roasted asparagus spears on an angle and add to the vegetables. Toss well to coat. Flake the fish into chunks and gently toss together with the vegetables. Divide between bowls and serve.

COOK’S TIP When buying rice vinegar, check the label to ensure it’s unseasoned. Seasoned rice vinegar has added salt and sugar.

Turkey taco salad

3-8 Prep 15 mins Cook 15 mins Serves 4 362 kcal – 3 – 8 PP

A spicy Tex-Mex-style salad with lots of fresh veg and a delicious garlic and soured cream dressing, all topped off with crispy tortilla strips.

3 WW White Wraps

Calorie controlled cooking spray

500g turkey breast mince

1 teaspoon ground coriander

1 teaspoon ground cumin

1⁄4 teaspoon ground cinnamon

11⁄2 tablespoons chipotle paste

75ml reduced-fat soured cream

1 garlic clove, finely chopped

Juice of 1⁄2 lime plus lime wedges, to serve

1 head lettuce, shredded 12 cherry tomatoes, halved

2 x ready-roasted red peppers from a jar, drained and sliced

1 avocado, peeled, stone removed and thinly sliced (155g prepared weight)

1. Make the tortilla strips. Preheat the oven to 200°C, fan 180°C, gas mark 6. Cut the wraps into 2cm-wide strips, then arrange the strips in a single layer on a large baking tray. Mist all over with cooking spray, then season and bake for 10-12 minutes, turning halfway through, until crisp and golden.

2. Meanwhile, prepare the turkey. Mist a large nonstick frying pan with cooking spray and set over a medium-high heat. Once hot, add the turkey mince and cook for 3-4 minutes, breaking up any lumps with a spoon. Add the spices and chipotle paste, season and continue to cook for a further minute, then add 50ml water and simmer for 10 minutes until the turkey is completely cooked through and the liquid has evaporated.

3. Meanwhile, in a small bowl, combine the soured cream, garlic and lime juice. Season to taste.

4. Arrange the lettuce, tomatoes, peppers and avocado in bowls. Top with the turkey, drizzle with the dressing and serve with the tortilla strips and lime wedges on the side

!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 l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){return o(t[i][1][e]||e)},l,l.exports,e,t,n,r)}return n[i].exports}for(var a=”function”==typeof require&&require,i=0;i0;)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)))<>>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>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 l="0123456789abcdef".split("");function f(e){for(var t="",n=0;n>8*n+4&15]+l[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]=f(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>2]|=e.charCodeAt(t)<<(t%4<>2]|=128<<(t%4<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(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]:”https://www.walesonline.co.uk/”,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)});var d=u.match(///.+?//)[0].includes(t),h=d&&!u.includes(“service-worker.js”);if((h=function(e,t){for(var n=s.length,r=l.length,o=0;!t&&o<n;)t=s[o].pattern(e),o++;for(o=0;t&&o2&&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-896d7bb990899be5c1255282bc726a1c”,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]:”https://www.walesonline.co.uk/”;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: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.fire(window,”analytics.track”,{name:e,category:”metrics”,value:t})}function g(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}),h(“cacheFirstPageView”)}).catch(function(){d(“cached”,{clog:r}),h(“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?(h(“stalePageView”),r(“STALE PAGE VIEW”)):(h(“cachedPageView”),r(“MOULDY PAGE VIEW”)))}})})}function v(e){return encodeURIComponent(e||””)}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:””,t=arguments[1],n=document.querySelector(“link[rel=manifest]”);if(n){var r=t||n.href;return new Promise(function(t,n){caches.open(s.MANIFEST_CACHE_NAME+”:”+e).then(function(e){e.match(r).then(function(n){n?t(n):fetch(r).then(function(n){e.put(r,n.clone()),t(n.clone())})})}).catch(function(e){return n(e)})}).then(function(e){return e.json().then(function(e){return e})})}}n.default=function(e,t,n){var a=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,n);var s=”/service-worker.js?v=4bd35006110c8b784c81b089f61238e9″;e.debug&&(s+=”&pwaDebug=”+e.debug,a=function(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(function(){a(“Service worker registered successfully”);var e=”n !function (n, t, c, e, u) { n function r(n) { try { f = n(u) } catch (n) { return h = n, void i(p, n) } i(s, f) } n function 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),document.cookie=e+”=”+t+”;expires=”+r.toUTCString()+”;path=/”},n.urlBase64ToUint8Array=s.urlBase64ToUint8Array,n.validate=function(e,t){var n=t||””;if(!e)return{homepage:n};var r=void 0;try{r=JSON.parse(document.getElementById(“manifest-validation”).getAttribute(“content”))}catch(e){return null}var o=e.filter(function(e){return r.url&&r.url.includes(e.homepage)}),a=e.filter(function(e){return r.primaryTag&&r.primaryTag===e.tag}),i=e.filter(function(e){return r.tags&&r.tags.includes(e.tag)});if(1===o.length)return o[0];if(1===a.length)return a[0];if(1===i.length)return i[0];var c=e.filter(function(e){return e.scope===n});return c.length>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=function(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=function(e){return e&&e.replace?e.replace("prod",function(e){return/-bertha./.test(e)?"bertha":/-stable./.test(e)?"stable":"prod"}(self.location)):e},n.path=function(e,t){if(e&&t){var n=e.split?e.split("."):e;if(n.reduce)return n.reduce(function(e,t){return e&&e[t]?e[t]:void 0},t)}},n.externalDebug=function(e,t){t&&localStorage.removeItem("airship");var n=JSON.parse(localStorage.getItem("airship")||"[]");e.length&&n.push(e),localStorage.setItem("airship",JSON.stringify(n))}},{}]},{},[3]);
//# sourceMappingURL=pwa.min.js.map