"use strict";(()=>{(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[747],{99802:(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{D:()=>Composer,W:()=>CoreComponents});var _loadable_component__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(75326),Composer=(0,_loadable_component__WEBPACK_IMPORTED_MODULE_0__.Ay)({resolved:{},chunkName:function(){return"features-composer-ComposerWrapper"},isReady:function(F){var v=this.resolve(F);return this.resolved[v]!==!0?!1:!!__webpack_require__.m[v]},importAsync:function(){return Promise.all([__webpack_require__.e(1456),__webpack_require__.e(8353)]).then(__webpack_require__.bind(__webpack_require__,75056))},requireAsync:function(F){var v=this,f=this.resolve(F);return this.resolved[f]=!1,this.importAsync(F).then(function(te){return v.resolved[f]=!0,te})},requireSync:function requireSync(props){var id=this.resolve(props);return __webpack_require__(id)},resolve:function resolve(){return 75056}}),CoreComponents={ZenInfo:(0,_loadable_component__WEBPACK_IMPORTED_MODULE_0__.Ay)({resolved:{},chunkName:function ee(){return"zeninfo.component"},isReady:function ee(F){var v=this.resolve(F);return this.resolved[v]!==!0?!1:!!__webpack_require__.m[v]},importAsync:function ee(){return Promise.resolve().then(__webpack_require__.bind(__webpack_require__,38470))},requireAsync:function ee(F){var v=this,f=this.resolve(F);return this.resolved[f]=!1,this.importAsync(F).then(function(te){return v.resolved[f]=!0,te})},requireSync:function requireSync(props){var id=this.resolve(props);return __webpack_require__(id)},resolve:function resolve(){return 38470}},{resolveComponent:function ee(F){return F.VersionInfo}})}},55146:(ee,F,v)=>{v.r(F),v.d(F,{NewsArticlePage:()=>M,default:()=>Z});var f=v(13952),te=v(4173),H=v(73226),ue=v(99802),Y=v(32832),U=v(97175),de=v(75073),le=v(95945),me=v(99206),ge=v(52063),O=v(76771),we=function(w,L){var m=new O.XK(O.Op.equalTo("sys.contentTypeId",le.Py.news),O.Op.equalTo("sys.isPublished",!0),O.Op.equalTo("sys.dataFormat","entry"),O.Op.equalTo("sys.versionStatus","published"),O.Op.equalTo("articleType","Video article"),O.Op.exists("sys.uri",!0));return m.where.add(O.Op.not(O.Op.equalTo("sys.id",w))),L.length>0&&m.where.add(O.Op.in.apply(O.Op,["newsArticleCategory[].sys.id"].concat(L))),m.orderBy=O.mF.desc(le.C8.originalPublishDate),m.pageSize=4,m.pageIndex=0,m},N=function(w){var L=new O.XK(O.Op.equalTo("sys.contentTypeId",le.Py.news),O.Op.equalTo("sys.isPublished",!0),O.Op.equalTo("sys.dataFormat","entry"),O.Op.equalTo("sys.versionStatus","published"),O.Op.equalTo("articleType","Video article"),O.Op.exists("sys.uri",!0));return w.length>0&&L.where.add(O.Op.not(O.Op.in.apply(O.Op,["newsArticleCategory[].sys.id"].concat(w)))),L.orderBy=O.mF.desc("sys.version.published"),L.pageSize=8,L.pageIndex=0,L},g=v(59230),V=v(93042);function P(){return P=Object.assign?Object.assign.bind():function(y){for(var w=1;w=0;--h){var s=this.tryEntries[h],A=s.completion;if(s.tryLoc==="root")return l("end");if(s.tryLoc<=this.prev){var B=m.call(s,"catchLoc"),q=m.call(s,"finallyLoc");if(B&&q){if(this.prev=0;--l){var h=this.tryEntries[l];if(h.tryLoc<=this.prev&&m.call(h,"finallyLoc")&&this.prev=0;--r){var l=this.tryEntries[r];if(l.finallyLoc===e)return this.complete(l.completion,l.afterLoc),E(l),R}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var l=this.tryEntries[r];if(l.tryLoc===e){var h=l.completion;if(h.type==="throw"){var s=h.arg;E(l)}return s}}throw Error("illegal catch attempt")},delegateYield:function(e,r,l){return this.delegate={iterator:j(e),resultName:r,nextLoc:l},this.method==="next"&&(this.arg=y),R}},w}function I(y,w,L,m,$,b,p){try{var k=y[b](p),D=k.value}catch(G){return void L(G)}k.done?w(D):Promise.resolve(D).then(m,$)}function Q(y){return function(){var w=this,L=arguments;return new Promise(function(m,$){var b=y.apply(w,L);function p(D){I(b,m,$,p,k,"next",D)}function k(D){I(b,m,$,p,k,"throw",D)}p(void 0)})}}var M=function(w){var L,m,$=w.mappedEntry,b=$||{},p=b.theme,k=b.inverse,D=b.entryId,G=b.meta,J=b.breadcrumbs,x=b.pageTitle,T=b.primaryImage,se=b.articleType,re=b.anchorLink,z=b.categoriesGuids,R=b.contentItems,fe=b.readTime,_=b.primaryVideo,ne=b.featuredNewsTitle,W=b.relatedCourses,K=b.profileGroup,oe=b.noteToEditors,o=(0,ge.zy)(),t=(0,Y.d4)(U.z6),n="http://"+t+o?.pathname,i=(0,f.useState)(!1),c=i[0],u=i[1],E=(0,Y.d4)(U.ph),S=(0,f.useState)([]),j=S[0],a=S[1],e={year:"numeric",month:"long",day:"numeric"},r=!!(se&&se=="Video article");(0,f.useEffect)(function(){var d=function(){var ce=Q(C().mark(function Le(){var Ee,ye,pe;return C().wrap(function(he){for(;;)switch(he.prev=he.next){case 0:return he.next=2,(0,g.Fd)(u,we(D,z),E);case 2:if(Ee=he.sent,!(Ee.items.length<4)){he.next=7;break}return he.next=6,(0,g.Fd)(u,N(z),E);case 6:ye=he.sent;case 7:pe=Ee.items,ye&&ye.items.length>0&&(pe=pe.concat(ye.items)),pe.length>4&&(pe=pe.slice(0,4)),a((0,g.G8)(pe));case 11:case"end":return he.stop()}},Le)}));return function(){return ce.apply(this,arguments)}}();r&&d()},[r,z]);var l=[];r&&(l=j.map(function(d){var ce;return{copy:d.paragraph,href:d.url,image:{altText:"",loadingAttr:"lazy",src:{default:d.image,medium:d.image,small:d.image}},publishDate:d==null||(ce=d.publishedDate)===null||ce===void 0?void 0:ce.toLocaleDateString("en-GB",e),theme:p,title:d.title,titleTag:"h3"}}));var h=(0,f.useState)(),s=h[0],A=h[1];(0,f.useEffect)(function(){if(D){var d;A({id:le.bG.featuredNewsResults,mapper:me.Ay,params:(d={},d[le.i4.newsCategories]=z?.join(",")||"",d),excludeIds:[D]})}},[le.bG.featuredNewsResults,z,D]);var B=(0,de.zK)(s),q=B.results,X=[];q&&q.length>0&&Object.prototype.hasOwnProperty.call(q[0],"id")&&(X=q.map(function(d){var ce;return{copy:d.paragraph,href:d.url,image:{altText:"",loadingAttr:"lazy",src:{default:d.image,medium:d.image,small:d.image}},publishDate:d==null||(ce=d.publishedDate)===null||ce===void 0?void 0:ce.toLocaleDateString("en-GB",e),theme:p,title:d.title,titleTag:"h3"}}),X.length>4&&(X=X.slice(0,4)));var ae=null;!r&&T!==null&&T!==void 0&&T.image&&(ae={image:{altText:T?.altText,loadingAttr:"lazy",src:{default:(0,V.C)(T?.image),small:(0,V.C)(T?.image,{w:576}),medium:(0,V.C)(T?.image,{w:992})}},imageCaption:T?.caption,imageCredit:"",theme:p});var ie=null;if(r&&_!==null&&_!==void 0&&_.src&&_?.placeholderImage!==void 0){var be;ie=f.createElement(H.n5,{audioDescribedVideoId:_?.audioDescribedSrc,heading:null,imageSrc:{default:_?.placeholderImage},inverse:k,theme:p,transcript:_==null||(be=_.accordion)===null||be===void 0?void 0:be.content,videoCaption:_.caption,videoCredit:_.credit,videoId:_?.src})}var _e=null;W&&W.list&&((L=W.list)===null||L===void 0?void 0:L.length)>0&&(_e=W.list.map(function(d){return{href:d.url,inverse:k,subtitle:d.meta,theme:p,title:d.label}}));var ve=null;K&&K.profiles&&K.profiles.length>0&&(ve=K.profiles.map(function(d){return{copy:d.description,department:d.school,email:d.email,href:d.url,image:{src:{default:d.image,medium:d.image,small:d.image}},inverse:k,jobTitle:d.text,name:d.name,phone:d.telephone,theme:p}}));var xe="http://www.facebook.com/sharer/sharer.php?s=100&p[url]="+n,Oe="https://twitter.com/intent/tweet?text="+x?.heading+"&url="+n,Te="https://www.linkedin.com/shareArticle?mini=true&url="+n,ke="mailto:?subject="+x?.heading+"&body="+n,Ae="http://service.weibo.com/share/share.php?title="+x?.heading+"&url="+n;return f.createElement(te.A,{meta:G,anchorLink:re,breadcrumbs:J},f.createElement(H.tE,{titleTag:"h1",cardImage:ae,description:x?.excerpt,inverse:!0,publishDate:x==null||(m=x.publishedDate)===null||m===void 0?void 0:m.toLocaleDateString("en-GB",e),readTime:fe,shareButtons:{icons:[{externalLink:!0,icon:"facebook",theme:p,title:"Share on Facebook",url:xe},{externalLink:!0,icon:"twitter",theme:p,title:"Share on Twitter",url:Oe},{externalLink:!0,icon:"linkedin",theme:p,title:"Share on LinkedIn",url:Te},{externalLink:!0,icon:"email",theme:p,title:"Email link to this page",url:ke},{externalLink:!0,icon:"weibo",theme:p,title:"Share on weibo",url:Ae}],label:"Share:",theme:p},theme:p,title:x?.heading}),r&&ie,!r&&ie,f.createElement(ue.D,P({key:R},R,{isNewsPage:!0})),oe&&f.createElement(H.nD,{theme:p,inverse:k,accordionItems:[{theme:p,title:"Notes for editors",inverse:k,titleTag:"h4",text:oe}]}),!r&&f.createElement(f.Fragment,null,ve&&f.createElement(H.$j,{cards:ve,heading:K.title,headingStyle:"news",theme:p}),f.createElement(H.dC,{cardType:"featured-news",cards:X,heading:ne||void 0,theme:p})),r&&f.createElement(f.Fragment,null,ve&&f.createElement(H.$j,{cards:ve,heading:K.title,headingStyle:"news",theme:p}),f.createElement(H.dC,{cardType:"promo-video",cards:l,heading:"Related videos",theme:p})),_e&&f.createElement(H.qL,{cards:_e,heading:W?.title,headingStyle:"news",theme:"uobmain"}))};const Z=M},59230:(ee,F,v)=>{v.d(F,{Fd:()=>O,Y5:()=>ge,G8:()=>we});var f=v(76771),te=v(95945),H=v(38470),ue=v(20557),Y=v(99206);const U=Object.assign({},Y.eu);function de(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */de=function(){return g};var N,g={},V=Object.prototype,P=V.hasOwnProperty,C=Object.defineProperty||function(o,t,n){o[t]=n.value},I=typeof Symbol=="function"?Symbol:{},Q=I.iterator||"@@iterator",M=I.asyncIterator||"@@asyncIterator",Z=I.toStringTag||"@@toStringTag";function y(o,t,n){return Object.defineProperty(o,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),o[t]}try{y({},"")}catch{y=function(n,i,c){return n[i]=c}}function w(o,t,n,i){var c=t&&t.prototype instanceof D?t:D,u=Object.create(c.prototype),E=new K(i||[]);return C(u,"_invoke",{value:fe(o,n,E)}),u}function L(o,t,n){try{return{type:"normal",arg:o.call(t,n)}}catch(i){return{type:"throw",arg:i}}}g.wrap=w;var m="suspendedStart",$="suspendedYield",b="executing",p="completed",k={};function D(){}function G(){}function J(){}var x={};y(x,Q,function(){return this});var T=Object.getPrototypeOf,se=T&&T(T(oe([])));se&&se!==V&&P.call(se,Q)&&(x=se);var re=J.prototype=D.prototype=Object.create(x);function z(o){["next","throw","return"].forEach(function(t){y(o,t,function(n){return this._invoke(t,n)})})}function R(o,t){function n(c,u,E,S){var j=L(o[c],o,u);if(j.type!=="throw"){var a=j.arg,e=a.value;return e&&typeof e=="object"&&P.call(e,"__await")?t.resolve(e.__await).then(function(r){n("next",r,E,S)},function(r){n("throw",r,E,S)}):t.resolve(e).then(function(r){a.value=r,E(a)},function(r){return n("throw",r,E,S)})}S(j.arg)}var i;C(this,"_invoke",{value:function(u,E){function S(){return new t(function(j,a){n(u,E,j,a)})}return i=i?i.then(S,S):S()}})}function fe(o,t,n){var i=m;return function(c,u){if(i===b)throw Error("Generator is already running");if(i===p){if(c==="throw")throw u;return{value:N,done:!0}}for(n.method=c,n.arg=u;;){var E=n.delegate;if(E){var S=_(E,n);if(S){if(S===k)continue;return S}}if(n.method==="next")n.sent=n._sent=n.arg;else if(n.method==="throw"){if(i===m)throw i=p,n.arg;n.dispatchException(n.arg)}else n.method==="return"&&n.abrupt("return",n.arg);i=b;var j=L(o,t,n);if(j.type==="normal"){if(i=n.done?p:$,j.arg===k)continue;return{value:j.arg,done:n.done}}j.type==="throw"&&(i=p,n.method="throw",n.arg=j.arg)}}}function _(o,t){var n=t.method,i=o.iterator[n];if(i===N)return t.delegate=null,n==="throw"&&o.iterator.return&&(t.method="return",t.arg=N,_(o,t),t.method==="throw")||n!=="return"&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),k;var c=L(i,o.iterator,t.arg);if(c.type==="throw")return t.method="throw",t.arg=c.arg,t.delegate=null,k;var u=c.arg;return u?u.done?(t[o.resultName]=u.value,t.next=o.nextLoc,t.method!=="return"&&(t.method="next",t.arg=N),t.delegate=null,k):u:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,k)}function ne(o){var t={tryLoc:o[0]};1 in o&&(t.catchLoc=o[1]),2 in o&&(t.finallyLoc=o[2],t.afterLoc=o[3]),this.tryEntries.push(t)}function W(o){var t=o.completion||{};t.type="normal",delete t.arg,o.completion=t}function K(o){this.tryEntries=[{tryLoc:"root"}],o.forEach(ne,this),this.reset(!0)}function oe(o){if(o||o===""){var t=o[Q];if(t)return t.call(o);if(typeof o.next=="function")return o;if(!isNaN(o.length)){var n=-1,i=function c(){for(;++n=0;--c){var u=this.tryEntries[c],E=u.completion;if(u.tryLoc==="root")return i("end");if(u.tryLoc<=this.prev){var S=P.call(u,"catchLoc"),j=P.call(u,"finallyLoc");if(S&&j){if(this.prev=0;--i){var c=this.tryEntries[i];if(c.tryLoc<=this.prev&&P.call(c,"finallyLoc")&&this.prev=0;--n){var i=this.tryEntries[n];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),W(i),k}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc===t){var c=i.completion;if(c.type==="throw"){var u=c.arg;W(i)}return u}}throw Error("illegal catch attempt")},delegateYield:function(t,n,i){return this.delegate={iterator:oe(t),resultName:n,nextLoc:i},this.method==="next"&&(this.arg=N),k}},g}function le(N,g,V,P,C,I,Q){try{var M=N[I](Q),Z=M.value}catch(y){return void V(y)}M.done?g(Z):Promise.resolve(Z).then(P,C)}function me(N){return function(){var g=this,V=arguments;return new Promise(function(P,C){var I=N.apply(g,V);function Q(Z){le(I,P,C,Q,M,"next",Z)}function M(Z){le(I,P,C,Q,M,"throw",Z)}Q(void 0)})}}var ge=function(){var g=new f.XK(f.Op.equalTo("sys.contentTypeId",te.Py.news),f.Op.equalTo("sys.isPublished",!0),f.Op.equalTo("sys.dataFormat","entry"),f.Op.equalTo("sys.versionStatus","published"),f.Op.equalTo("articleType","Video article"),f.Op.equalTo("featured",!0),f.Op.exists("sys.uri",!0));return g.orderBy=f.mF.desc(te.C8.publishDate),g.pageSize=4,g.pageIndex=0,g},O=function(){var N=me(de().mark(function g(V,P,C){var I;return de().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return V(!0),M.next=3,H.cachedÂé¶¹¾«Ñ¡.search(P,1,C);case 3:return I=M.sent,V(!1),M.abrupt("return",I);case 6:case"end":return M.stop()}},g)}));return function(V,P,C){return N.apply(this,arguments)}}(),we=function(g){var V,P=(V={},V[te.Py.news]=U,V),C=(0,ue.Nn)(g,P);return C.length>0?C.map(function(I){return{title:I.title,url:I.url,publishedDate:I.publishedDate,paragraph:I.paragraph,image:I.image,primaryVideoId:I.primaryVideoId}}):[]}},93042:(ee,F,v)=>{v.d(F,{C:()=>te});function f(ue,Y){var U=ue;if(U.endsWith("&")&&(U=U.substring(0,U.length-1)),Object.keys(Y).length===0)return U;var de=U.includes("?")?"&":"?";return U+de+H(Y)}function te(ue,Y){Y===void 0&&(Y={});var U=Object.assign({w:1440,p:80,f:"webp"},Y);return f(ue,U)}function H(ue){return Object.entries(ue).map(function(Y){return Y.join("=")}).join("&")}}}]);})();