PageSourceSearch

https://cdn.vodafone.co.uk/web-marketing/consumer-marketing/assets…/app-af37c153.19c2882c58ea6e4d7166.js

js vodafone.co.uk collected 2026-10-01 07:39:18 UTC 30,525 bytes, 14 lines download raw bytes

vendor: 4,666 bytes, line 1
1(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4162],{4310:function(e){e.exports=function(){"use strict";var e=6e4,t=36e5,n="millisecond",r="second",i="minute",a="hour",s="day",o="week",c="month",l="quarter",d="year",u="date",f="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},g={s:y,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?"+":"-")+y(r,2,"0")+":"+y(i,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,c),a=n-i<0,s=t.clone().add(r+(a?-1:1),c);return+(-(r+(n-i)/(a?i-s:s-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:o,d:s,D:u,h:a,m:i,s:r,ms:n,Q:l}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},x="en",b={};b[x]=h;var v=function(e){return e instanceof k},w=function(e,t,n){var r;if(!e)return x;if("string"==typeof e)b[e]&&(r=e),t&&(b[e]=t,r=e);else{var i=e.name;b[i]=e,r=i}return!n&&r&&(x=r),r||!n&&x},$=function(e,t){if(v(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},T=g;T.l=w,T.i=v,T.w=function(e,t){return $(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function h(e){this.$L=w(e.locale,null,!0),this.parse(e)}var y=h.prototype;return y.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},y.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},y.$utils=function(){return T},y.isValid=function(){return!(this.$d.toString()===f)},y.isSame=function(e,t){var n=$(e);return this.startOf(t)<=n&&n<=this.endOf(t)},y.isAfter=function(e,t){return $(e)<this.startOf(t)},y.isBefore=function(e,t){return this.endOf(t)<$(e)},y.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},y.unix=function(){return Math.floor(this.valueOf()/1e3)},y.valueOf=function(){return this.$d.getTime()},y.startOf=function(e,t){var n=this,l=!!T.u(t)||t,f=T.p(e),m=function(e,t){var r=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return l?r:r.endOf(s)},p=function(e,t){return T.w(n.toDate()[e].apply(n.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,y=this.$M,g=this.$D,x="set"+(this.$u?"UTC":"");switch(f){case d:return l?m(1,0):m(31,11);case c:return l?m(1,y):m(0,y+1);case o:var b=this.$locale().weekStart||0,v=(h<b?h+7:h)-b;return m(l?g-v:g+(6-v),y);case s:case u:return p(x+"Hours",0);case a:return p(x+"Minutes",1);case i:return p(x+"Seconds",2);case r:return p(x+"Milliseconds",3);default:return this.clone()}},y.endOf=function(e){return this.startOf(e,!1)},y.$set=function(e,t){var o,l=T.p(e),f="set"+(this.$u?"UTC":""),m=(o={},o[s]=f+"Date",o[u]=f+"Date",o[c]=f+"Month",o[d]=f+"FullYear",o[a]=f+"Hours",o[i]=f+"Minutes",o[r]=f+"Seconds",o[n]=f+"Milliseconds",o)[l],p=l===s?this.$D+(t-this.$W):t;if(l===c||l===d){var h=this.clone().set(u,1);h.$d[m](p),h.init(),this.$d=h.set(u,Math.min(this.$D,h.daysInMonth())).$d}else m&&this.$d[m](p);return this.init(),this},y.set=function(e,t){return this.clone().$set(e,t)},y.get=function(e){return this[T.p(e)]()},y.add=function(n,l){var u,f=this;n=Number(n);var m=T.p(l),p=function(e){var t=$(f);return T.w(t.date(t.date()+Math.round(e*n)),f)};if(m===c)return this.set(c,this.$M+n);if(m===d)return this.set(d,this.$y+n);if(m===s)return p(1);if(m===o)return p(7);var h=(u={},u[i]=e,u[a]=t,u[r]=1e3,u)[m]||1,y=this.$d.getTime()+n*h;return T.w(y,this)},y.subtract=function(e,t){return this.add(-1*e,t)},y.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=T.z(this),a=this.$H,s=this.$m,o=this.$M,c=n.weekdays,l=n.months,d=function(e,n,i,a){return e&&(e[
1n]||e(t,r))||i[n].substr(0,a)},u=function(e){return T.s(a%12||12,e,"0")},m=n.meridiem||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:o+1,MM:T.s(o+1,2,"0"),MMM:d(n.monthsShort,o,l,3),MMMM:d(l,o),D:this.$D,DD:T.s(this.$D,2,"0"),d:String(this.$W),dd:d(n.weekdaysMin,this.$W,c,2),ddd:d(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(a),HH:T.s(a,2,"0"),h:u(1),hh:u(2),a:m(a,s,!0),A:m(a,s,!1),m:String(s),mm:T.s(s,2,"0"),s:String(this.$s),ss:T.s(this.$s,2,"0"),SSS:T.s(this.$ms,3,"0"),Z:i};return r.replace(p,function(e,t){return t||h[e]||i.replace(":","")})},y.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},y.diff=function(n,u,f){var m,p=T.p(u),h=$(n),y=(h.utcOffset()-this.utcOffset())*e,g=this-h,x=T.m(this,h);return x=(m={},m[d]=x/12,m[c]=x,m[l]=x/3,m[o]=(g-y)/6048e5,m[s]=(g-y)/864e5,m[a]=g/t,m[i]=g/e,m[r]=g/1e3,m)[p]||g,f?x:T.a(x)},y.daysInMonth=function(){return this.endOf(c).$D},y.$locale=function(){return b[this.$L]},y.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=w(e,t,!0);return r&&(n.$L=r),n},y.clone=function(){return T.w(this.$d,this)},y.toDate=function(){return new Date(this.valueOf())},y.toJSON=function(){return this.isValid()?this.toISOString():null},y.toISOString=function(){return this.$d.toISOString()},y.toString=function(){return this.$d.toUTCString()},h}(),A=k.prototype;return $.prototype=A,[["$ms",n],["$s",r],["$m",i],["$H",a],["$W",s],["$M",c],["$y",d],["$D",u]].forEach(function(e){A[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),$.extend=function(e,t){return e.$i||(e(t,k,$),e.$i=!0),$},$.locale=w,$.isDayjs=v,$.unix=function(e){return $(1e3*e)},$.en=b[x],$.Ls=b,$.p={},$}()},37344:(e,t,n)=>{"use strict";n.d(t,{$Z:()=>gt,$g:()=>he,Ag:()=>ft,Ay:()=>ie,CY:()=>ht,EX:()=>fe,F0:()=>Ue,FB:()=>xt,FX:()=>de,Fh:()=>ut,Fk:()=>me,GL:()=>ye,Iq:()=>Ie,JI:()=>ke,Je:()=>it,Le:()=>je,M2:()=>nt,Mr:()=>Ke,Mz:()=>O,NQ:()=>lt,NV:()=>K,Nv:()=>bt,O7:()=>le,Ok:()=>ee,Q7:()=>Tt,Qt:()=>vt,U$:()=>be,U5:()=>He,Um:()=>Xe,VX:()=>dt,Vd:()=>yt,X1:()=>tt,Zq:()=>Te,_y:()=>B,a0:()=>qe,aF:()=>ce,aI:()=>Je,a_:()=>kt,c7:()=>Ve,hi:()=>ne,iq:()=>Be,jU:()=>st,j_:()=>at,kE:()=>rt,kx:()=>G,lX:()=>Qe,l_:()=>V,mB:()=>$t,mk:()=>_e,ms:()=>ot,nn:()=>X,nx:()=>mt,oc:()=>ct,oo:()=>Ne,p:()=>pt,p3:()=>I,pO:()=>pe,qU:()=>ue,rJ:()=>z,sL:()=>Ze,sY:()=>Se,w0:()=>We,xg:()=>re,yh:()=>At,yi:()=>ze,zZ:()=>Re,zr:()=>xe});var r=n(48431),i=n(20137),a=n(12428),s=n(11014),o=n(12653),c=n(74645),l=n(38860),d=n(32802),u=n(5110),f=n(45215),m=n(54507),p=n(54253),h=n(27217),y=n(4779),g=n(97934),x=n(21487),b=n(35759),v=n(51063),w=n(20766),$=n(84089),T=n(53348),k=n(23837),A=n(53283),S=n(56238),L=n(56618),C=n(85349),D=n(4310),P=n(49002),N=n(73907);const O=({anchorId:e})=>e?r.createElement("div",{id:e}):null,E=i.I4.div(({theme:e})=>{const t=`${e.border.width[1]} ${e.border.style[1]} ${e.color.monochrome3.default}`,n=e.gridConfig.springWidth+"px";return i.AH`
2    background-color: ${e.color.primary2.default};
3    border-bottom: ${t};
4
5    nav {
6      margin: 0 auto;
7      border-bottom: none;
8      max-width: ${n}px;
9    }
10  `}),M=i.I4.div(({theme:e})=>i.AH`
11    max-width: ${e.gridConfig.springWidth+"px"};
12    margin: 0 auto;
13    background-color: ${e.color.monochrome2.default};
14  `),B=({children:e})=>r.createElement(E,null,r.createElement(M,null,e)),_={Primary:"primary",Secondary:"secondary","Alternative 1":"alt1","Alternative 2":"alt2","Alternative 3":"alt3","Alternative 4":"alt4","Alternative 5":"alt5"},I=e=>e&&_[e],{md:H,lg:R,xl:j}=c.A.breakpoints,F={sm:H-1,md:R-1,lg:j-1,xl:j},U=["webp"],Y={BANNERS:{primary:{backgroundColor:"#000000",primaryButtonAppearance:"primary",secondaryButtonAppearance:"alt1",inverseText:!0,inverseButton:!0}},CONTENT_BLOCK_WRAPPER:{inverseContent:!0,contentColor:"#FFFFFF",backgroundColor:"#000000"},DISCOVERY_CARD:{containerAppearance:"alt1",linkAppearance:"alt1",inverseText:!0}},W={"Copy text to clipboard":"copyToClipboard"},z=(e,t)=>{const n=(0,i.DP)(),r={"Black Friday":{animatedStandardBanner:{appearance:Y.BANNERS},blockWrapper:{appearance:{primary:{backgroundColor:"#000000"},secondary:{backgroundColor:"#000000"},alt1:{backgroundColor:"#000000"},alt2:{backgroundColor:"#000000"}}},contentBlockWrapper:{appearance:{primary:{blockAppearance:"primary",...Y.CONTENT_BLOCK_WRAPPER},secondary:{blockAppearance:"secondary",...Y.CONTENT_BLOCK_WRAPPER},alt1:{blockAppearance:"alt1",...Y.CONTENT_BLOCK_WRAPPER},alt2:{blockAppearance:"alt2",...Y.CONTENT_BLOCK_WRAPPER}}},discoveryCard:{appearance:{primary:Y.DISCOVERY_CARD,secondary:Y.DISCOVERY_CARD},typography:(0,s.Sw)().typography},standardBanner:{appearance:Y.BANNERS,heading:(0,o.ZV)(n).heading},dynamicStandardBanner:{appearance:Y.BANNERS},table:{appearance:{primary:{rowBottomBorder:"1px solid #FFFFFF",headingFontWeight:"700"}}}}};if(t)return r[t][e]},V=({children:e,fieldData:t})=>{const{addBlockWrapper:n=!0,blockAppearance:i,blockPaddingLevel:s,removeBotPadding:o,localTheme:c}=t,l=I(i);return n?r.createElement(a.Ay,{paddingLevel:{None:0,Small:1,Large:2}[s],localTheme:c&&z("blockWrapper",c),appearance:l,removeBottomPadding:o},e):r.createElement(r.Fragment,null,e)},G=e=>{if(e&&e in f.YV3)return f.YV3[e]},X=(e,t=[])=>{const n=(0,p.A)(e);
14if((e=>e.nodeType===w.INLINES.EMBEDDED_ENTRY||e.nodeType===w.BLOCKS.EMBEDDED_ENTRY)(n)){const e=[...t,"data","target"];n.data=r.createElement(m.VA,{path:e})}return(e=>!!(e.content&&e.content.length>0))(n)&&(n.content=n.content.map((e,n)=>X(e,[...t,"content",n]))),n},Z=(e,t)=>e&&"object"==typeof e?(e.content&&Array.isArray(e.content)&&e.content.forEach(e=>Z(e,t)),"text"===e.nodeType&&e.value&&Object.keys(t).forEach(n=>{e.value=e.value.replace(`{${n}}`,t[n])}),e):e,K=({path:e,content:t,isDynamicCMSData:n=!0,fieldName:i="bodyText",inverse:a=!1,variables:s})=>{const{staticPageType:o}=(0,u.p)(),c=G(o);if(t){const o=n?X(t,[...e,i]):t;return s&&Z(o,s),r.createElement(d.default,{inverse:a,document:o,...c?{additionalOptions:{headings:c}}:{}})}return null},J="system",q=["system","hifiDark","hifiLight","mid","social","state","chatbot","brandHifi","brandLofi","ukBrand","midLight","midDark"],Q={"ukLegacy: bill-or-report":"system: bill","ukLegacy: broadband-or-wifi":"system: wifi-good","ukLegacy: careers":"system: briefcase","ukLegacy: community-or-foundation":"system: community","ukLegacy: contact-us":"system: consultant","ukLegacy: fitness-tracker":"system: watch","ukLegacy: grid-view":"system: grid","ukLegacy: healthy-living":"system: heart","ukLegacy: members":"system: users","ukLegacy: mobile-broadband":"system: wifi-good","ukLegacy: network-signal":"system: network-tower","ukLegacy: privacy-or-confidential":"system: privacy","ukLegacy: reports":"system: case-study","ukLegacy: saving":"system: savings","ukLegacy: solution-finder":"system: tick-circle","ukLegacy: support":"system: help-circle","ukLegacy: text":"system: sms","ukLegacy: unified-communication":"system: unified-communications"},ee=({iconName:e,inverse:t})=>{let n,r=J;const i=`^.*(${f.oYo}).*$`;if(new RegExp(i).test(e)){let t=e;e.includes("ukLegacy")&&(t=Q[e]||e),[r,n]=t.split(f.oYo),r=q.includes(r)?r:J}else n=e;return{name:n,group:r,inverse:t}},te=e=>{if(e)return{...ee({iconName:e,inverse:!1}),appearance:"primary"}},ne=e=>{if(!e)return;const{iconName:t,text:n}=e.fields;return{text:n,icon:te(t)}},re=()=>({props:{},toObject(){return this.props},add(e,t,n){return void 0!==t&&(this.props[e]=n?n(t):t),this}}),ie=({children:e,fieldData:t,isDynamicCMSData:n=!0})=>{const{sectionHeading:i,sectionBodyText:a,footnote:s}=t;return(({sectionHeading:e,sectionBodyText:t,footnote:n})=>!e&&!t&&!n)({sectionHeading:i,sectionBodyText:a,footnote:s})?r.createElement(V,{fieldData:t},e):r.createElement(l.uX,(({sectionHeading:e,sectionHeadingLevel:t,isSectionHeadingBold:n,sectionBodyText:i,sectionBodyTextPosition:a,footnote:s,blockAppearance:o,localTheme:c},l)=>re().add("heading",e&&{text:e,level:t,...n&&{weight:3}}).add("content",i&&{bodyText:r.createElement(K,{fieldName:"sectionBodyText",path:["fields"],content:i,isDynamicCMSData:l,inverse:"Secondary"===o||"Alternative 1"===o}),contentPosition:a||"center"}).add("footnote",s,ne).add("localTheme",c&&z("contentBlockWrapper",c)).add("appearance",o,I).toObject())(t,n),e)},ae=({mainHeading:e,subHeading:t})=>r.createElement(r.Fragment,null,t&&r.createElement(T.Ay,{spacingLevel:{bottom:2}},r.createElement($.Ay,{appearance:"primary",size:1,weight:3,justify:"center",text:t,noMargin:!0})),r.createElement($.Ay,{appearance:"primary",size:3,weight:3,justify:"center",text:e})),se=({content:e,primaryButtonProps:t})=>r.createElement(r.Fragment,null,e,t&&r.createElement(T.Ay,{spacingLevel:{top:5}},r.createElement("div",{style:{textAlign:"center"}},r.createElement(A.Ay,{...t,appearance:"primary"})))),oe=({content:e,primaryButtonProps:t,secondaryButtonProps:n})=>t&&n?r.createElement(k.Ay,{headerContent:e,primaryButton:{...t,appearance:"primary"},secondaryButton:{...n,appearance:"alt1"}}):r.createElement(se,{content:e,primaryButtonProps:t}),ce=({mainHeading:e,subHeading:t,content:n,primaryButtonProps:i,secondaryButtonProps:a})=>r.createElement(r.Fragment,null,r.createElement(ae,{mainHeading:e,subHeading:t}),r.createElement(oe,{content:n,primaryButtonProps:i,secondaryButtonProps:a})),le=({heading:e,tabs:t,footerContent:n})=>r.createElement(r.Fragment,null,r.createElement(S.Ay,{heading:e,tabs:t,footerContent:n})),de=({path:e,content:t,fieldName:n,position:i="left",isDynamicCMSData:a})=>t?r.createElement("div",{style:{textAlign:i}},r.createElement(K,{path:e,fieldName:n,content:t,isDynamicCMSData:a})):null,ue=(e,t)=>
14{const n=L((t,n,r)=>{e(r).then(t).catch(n)},t);return e=>new Promise((t,r)=>{n(t,r,e)})},fe=(e,t,n)=>"Black Friday"===n||!!e&&("Alternative 1"===t||"Secondary"===t),me=({showDays:e=!0,showHours:t=!0,showMinutes:n=!0,showSeconds:r=!0}={})=>({days:e,hours:t,minutes:n,seconds:r}),pe=({externalUrl:e,internalLink:t})=>{if(e)return e;if(t?.fields){if("urlPath"in t.fields)return t.fields.urlPath;if("file"in t.fields)return`https:${t.fields.file.fields.file.url}`}return""},he=e=>{if(null==e)return e;const t="string"==typeof e?Number(e):e;return Number.isNaN(t)?e:t%1==0?t.toString():t.toFixed(2)},ye=(e,t,n)=>{const r=Number(e.monthlyPrice)||0,i=Number(t)||0,a=n?r:r+i,s=Number.isInteger(a)?a.toString():a.toFixed(2),o=he(s);return void 0!==o?String(o):s},ge=e=>e?.length?e.map(e=>{const{iconName:t,heading:n,subText:r,iconSeparatorText:i,linkText:a,externalUrl:s,internalLink:o,subIconNames:c}=e.fields,l=t?ee({iconName:t}).name:"tick",d=pe({internalLink:o,externalUrl:s}),u=a?{text:a,href:d}:void 0,f=c?.reduce((e,t)=>{const{name:n,group:r}=ee({iconName:t.fields.benefitSubIcon});return{icons:[...e.icons,n],group:r}},{icons:[]});return{heading:n,subText:r,icon:{name:l},iconSeparatorText:i,link:u,subIcons:f}}):[],xe=({benefitsSlotsHeading:e,benefitsHeadingLevel:t,benefitItems:n,showAllBenefitsByDefault:r})=>({heading:{text:e,level:t?t+1:void 0},items:ge(n),collapsibleContainer:{headerText:{activeText:"Close",inactiveText:"View more"}},size:2,showToggle:!r}),be=({localTheme:e,promoAppearance:t,promoText:n,footerText:i,footerInverseAppearance:a,showOuterTopPadding:s,lineBreakSpacer:o})=>re().add("container",{appearance:t,label:n,elevation:!0,showOuterTopPadding:s}).add("lineBreakSpacer",o).add("footerText",r.createElement(C.fz,{size:1,inverse:"Black Friday"===e||a},i)).toObject(),ve={"6_months_from_now":()=>D().add(6,"month").format("D MMMM YYYY")},we=e=>{let t=e;for(const[e,n]of Object.entries(ve)){const r=`{${e}}`;t.includes(r)&&(t=t.replace(r,n()))}return t},$e=(e={})=>{const{isBusiness:t,firstPriceIncreasePrice:n,firstPriceIncreaseText:r,secondPriceIncreasePrice:i,secondPriceIncreaseText:a,thirdPriceIncreasePrice:s,thirdPriceIncreaseText:o}=e,c=[{price:n,text:r},{price:i,text:a},{price:s,text:o}].reduce((e,{price:t,text:n})=>t&&n?(e.push({price:t,text:we(n)}),e):e,[]);if(c.length)return re().add("isBusiness",t).add("heading","Price increases to:").add("priceRises",c).toObject()},Te=({brand:e,deviceName:t,deviceNameHeadingLevel:n})=>re().add("prefix",e).add("heading",{text:t,level:n}).toObject(),ke=({headlineIconName:e,headlineHeading:t,headlineText:n,headingLevel:r})=>re().add("size",1).add("appearance","alt1").add("icon",{iconName:e},ee).add("heading",{text:t,level:r}).add("text",n).add("orientation","vertical").toObject(),Ae=["default","small","small2X","medium","medium2X","large","large2X","extraLarge","extraLarge2X"],Se=(e,t)=>(t?.length?Ae.filter(e=>t?.includes(e)):Ae).reduce((t,n)=>{const r=e?.fields?.[n];if(!r?.fields)return t;const i=r.fields.file,a=t;return a[n]={url:i.url,width:i.details.image.width,height:i.details.image.height,imageType:i.contentType},a},{}),Le=(e,t)=>{const n=new URL(`https:${e}`);return(e=>!U.includes(e.split(".").pop()))(e)&&n.searchParams.set("fm","webp"),t&&(n.searchParams.set("w",t.toString()),n.searchParams.set("fit","fill")),n.toString()},Ce=e=>"xl"===e?void 0:F[e],De={sm:"small",md:"medium",lg:"large",xl:"extraLarge"},Pe=(e,t,n,r)=>t?((e,t)=>{const n=Le(e.url),r={src:n,width:`${e.width}px`};return t&&(r.srcSet={x1:n,x2:Le(t.url)}),r})(t,n):((e,t)=>({src:Le(e?.url,e.width>F[t]?Ce(t):void 0),width:e.width<F[t]?`${e.width}px`:void 0}))(((e,t)=>{if(e.default?.width>F[t])return e.default;const{size:n}=Object.entries(e).reduce((e,[t,{width:n}])=>n>e.width?{size:t,width:n}:e,{width:-1/0});return e[n]})(r,e),e),Ne=e=>{const t=Se(e),n={alt:e?.fields?.alt||""};if(0===Object.keys(t).length)return n;(e=>{Object.entries(e).forEach(e=>{const{url:t,width:n,height:r,imageType:i}=e[1];r&&n||console.error(`Image width or height is not present - image url - ${t} - width: ${n} - height: ${r} - imageType: ${i}`)})})(t);for(const[e,r]of Object.entries(De)){const i=e,a=t[r],s=t[`${r}2X`];n[i]=Pe(i,a,s,t)}return n};(0,h.A)((0,y.A)(Ne));const Oe="200px",Ee="contain",Me=e=>e?.src??"",Be=e=>{if((e=>!!e.fields?.default)(e)){const t=e.fields.alt||"",{sm:n,md:r,lg:i,xl:a}=(e=>{const{sm:t,md:n,lg:r,xl:i}=Ne(e),a=Oe;return{sm:{src:Me(t),height:a},md:{src:Me(n),height:a},lg:{src:Me(r),height:a}
14,xl:{src:Me(i),height:a}}})(e);return re().add("alt",t).add("sm",n).add("md",r).add("lg",i).add("xl",a).add("objectFit",Ee).toObject()}const t=Oe,n={src:`https:${e.fields?.file.url}`,height:t};return re().add("sm",n).add("md",n).add("lg",n).add("xl",n).add("objectFit",Ee).toObject()},_e=({pillText:e,pillIconName:t,pillIconNameSecondary:n,pillAppearance:r})=>{const i=[],a=t?ee({iconName:t}):void 0;a&&i.push({name:a.name,group:a.group});const s=n?ee({iconName:n}):void 0;return s&&i.push({name:s.name,group:s.group}),re().add("pill",{text:e,appearance:r}).add("icons",i).toObject()},Ie=({headingText:e,headingIcon:t,headingSuffix:n="",headingPrefix:r=""})=>({promotion:{title:{text:e},icon:t&&{name:ee({iconName:t}).name},prefix:r,description:n}}),He=({fields:{primaryPrefix:e,includePrimaryCurrencySymbol:t,primaryText:n,primarySuffix:r,primarySuffix2:i,secondaryPrefix:a,includeSecondaryCurrencySymbol:s,secondaryText:o,secondarySuffix:c,secondarySuffix2:l,subtext:d},priceRiseData:u})=>{const f=$e(u),m=f?{priceRiseText:f}:{};return re().add("primaryTextStack",{...t&&{currency:{symbol:"£"}},text:{prefix:e,main:n,suffix:r,suffix2:i},...m}).add("secondaryTextStack",{...s&&{currency:{symbol:"£"}},text:{prefix:a,main:o,suffix:c,suffix2:l}}).add("verticalAlign","top").add("subText",d).add("size",1).toObject()},Re=(e,t)=>{t&&(e=>(0,g.A)(e=>Boolean(e))(Object.values(e)))(t)&&(0,P.Ld)(e,P.gN.Button,t)},je=e=>e?{to:e}:void 0,Fe=({eventLabel:e,eventCategory:t,eventAction:n,eventName:r})=>({eventLabel:e,eventCategory:t,eventAction:n,eventName:r}),Ue=e=>{if(!e)throw new Error("Genesys is not available. This is usually environment related - if you are running locally or on a test environment, try a different environment where Genesys is available.");window.Genesys("subscribe","Messenger.ready",function(){window.Genesys("command","Database.set",{messaging:{customAttributes:{genesys_url:window.location.href}}}),window.Genesys("command","Messenger.open",{},function(){console.log("Messenger opened")},function(e){console.log("Couldn't open messenger.",e)})})},Ye=()=>{console.log("Cookie consent Changed"),console.log("[OneTrust] Active groups",window.OnetrustActiveGroups)},We=(e={thirdParty:"OneTrust"})=>{const{thirdParty:t,timer:n=1e3,defaultValue:i=!1,onOneTrustConsentChanged:a=Ye}=e,[s,o]=(0,r.useState)(i);return(0,r.useEffect)(()=>{let e;const r=()=>{window[t]&&(o(!0),"OneTrust"===t&&window.OneTrust.OnConsentChanged(()=>{a()}),clearInterval(e))};return r(),e=setInterval(r,n),()=>clearInterval(e)},[]),{thirdPartyLoaded:s}},ze=e=>({fields:t})=>{const n=Fe(t),r=t.webChatId?{"data-webchat-id":t.webChatId}:void 0;return{text:t.text,customRouterProps:je(t.internalLink?.fields.urlPath),href:t.isWebchat&&"No"!==t.isWebchat?void 0:t.externalUrl,srText:t.srText,htmlAttributes:{target:t.newWindow?"_blank":"_self"},dataAttributes:r,onClick:()=>{const{thirdPartyLoaded:r}=We({thirdParty:"Genesys"});"Yes, it's a Genesys webchat button"===t.isWebchat&&Ue(r),Re(e,n)}}},Ve=(e,t,n,i)=>{let a=null;if(e){const s=e?.sys.contentType.sys.id,o=!!n;a="modalWithTabs"===s?((e,t=!0,n,i)=>()=>{const{heading:a,headingLevel:s,tabs:o,screenReaderName:c,size:l=5}=e,d={text:a,level:s};i&&"fields"!==i[0]&&i.unshift("fields");const u=t&&i&&n?[...i,"fields",n,"fields","modal","fields"]:[];N.rA.setConfig("content-modal",{srName:c,animate:!0,renderOptions:{size:l},isClosable:!0,content:r.createElement(le,{heading:d,footerContent:r.createElement(m.VA,{path:u.length?[...u,"footerContent"]:void 0}),tabs:o.map((e,t)=>({key:e.fields.title,isLazy:!1,text:e.fields.title,id:`tab${t}`,children:r.createElement(m.VA,{path:u.length?[...u,"tabs",t,"fields","content"]:void 0})}))})}),N.rA.show("content-modal")})(e.fields,o,t,n):((e,t,n=!0,i,a)=>()=>{const{screenReaderName:s,mainHeading:o,subHeading:c,contentPosition:l,content:d,primaryButton:u,secondaryButton:f,size:m=1,appearance:p,side:h,type:y}=e,g=p&&I(p),x=u&&ze(t)(u),b=f&&ze(t)(f);N.rA.setConfig("content-modal",{srName:s,animate:!0,type:y,renderOptions:{appearance:g,size:m,side:h},isClosable:!0,content:r.createElement(ce,{mainHeading:o,subHeading:c,primaryButtonProps:x,secondaryButtonProps:b,content:r.createElement(de,{position:l,path:n&&a&&i?[...a,"fields",i,"fields","modal","fields"]:void 0,fieldName:"
14content",content:d,isDynamicCMSData:n})})}),N.rA.show("content-modal")})(e.fields,i,o,t,n)}return{openModal:a}},Ge=({text:e,interactionButton:t,buttonState:n,successText:r})=>"copyToClipboard"===t&&"selected"===n?r??"Copied to clipboard":e,Xe=e=>e?.map(e=>e.replace(/\s/g,"").toLowerCase()).join(", "),Ze=(e,t)=>{const n=(0,P.st)(),[i,a]=(0,r.useState)(),{thirdPartyLoaded:s}=We({thirdParty:"Genesys"});return({fields:r,width:o="auto"},c)=>{const{openModal:l}=Ve(r.modal,e,c??t,n),{text:d,externalUrl:u,internalLink:f,interaction:m,newWindow:p,isWebchat:h,webChatId:y,srText:g,externalLinkOptions:x}=r,b={...y&&{"data-webchat-id":y},...m?.sys.id&&{"data-interaction-id":m?.sys.id}},v=(w=m?.fields.interactionType,w&&W[w]);var w;const $=Fe(r),T=h&&"No"!==h||v,k=Xe(x);return{text:Ge({text:d,interactionButton:v,buttonState:i,successText:m?.fields.successText}),href:T?void 0:pe({externalUrl:u,internalLink:f}),customRouterProps:v?void 0:je(f?.fields.urlPath??""),htmlAttributes:{target:p?"_blank":"_self",...k&&{rel:k}},icon:"copyToClipboard"===v?{name:"case-study",justify:"left"}:void 0,dataAttributes:b,srText:g,onClick:()=>{"copyToClipboard"===v&&(async(e,t)=>{if(t)try{await navigator.clipboard.writeText(t),e("selected"),setTimeout(()=>{e(void 0)},3e3)}catch(e){console.error("Failed to copy text to clipboard:",e)}})(a,m?.fields.textToCopy),"Yes, it's a Genesys webchat button"===h&&Ue(s),l&&!v&&l(),(e=>{if(!e?.eventName)return;const t=new CustomEvent(e.eventName);window.dispatchEvent(t)})($),Re(n,$)},width:o,state:i}}},Ke=({fields:{text:e,internalLink:t,externalUrl:n,iconName:r,justifyIcon:i,srText:a,inverse:s,appearance:o},onClick:c})=>({text:e,href:pe({internalLink:t,externalUrl:n}),icon:{...ee({iconName:r}),justify:i||"right"},onClick:c,srText:a,inverse:s,appearance:I(o)}),Je=({secondaryButton:e,primaryButton:t,primaryButtonAppearance:n,linkWithIcon:r,cmsPathToButtonParent:i})=>re().add("primaryButton",t?{...t,width:"full"}:void 0,Ze("primaryButton",i)).add("secondaryButton",e?{...e,width:"full"}:void 0,Ze("secondaryButton",i)).add("linkWithIcon",r,Ke).add("appearance","Primary"===n?"primary":"secondary").toObject(),qe=e=>({justify:e.fields.textAlignment,inverse:e.fields.inverse,text:{prefix:e.fields.prefixMessage,suffix:e.fields.suffixMessage,expiry:e.fields.expiryMessage},endDate:e.fields.endDate,startDate:e.fields.startDate,showUnits:e.fields.showUnits,size:1,format:me({showDays:e.fields.showDays,showHours:e.fields.showHours,showMinutes:e.fields.showMinutes,showSeconds:e.fields.showSeconds})}),Qe=(e,t,n,r)=>n||(r?"":`https://${t}/${(e=>{const t=(0,x.A)("urlPath");if(Array.isArray(e.data)&&e.data.length>0){const[n]=e.data;return(0,b.A)(t,Reflect.get(n,"fields"))}return(0,b.A)(t,Reflect.get(e.data,"fields"))})(e).replace(/(\\|\/)$|^(\\|\/)/,"")}`),et=({text:e,internalLink:t,externalUrl:n,inverse:r})=>({text:e,srText:e,href:pe({internalLink:t,externalUrl:n}),inverse:r}),tt=e=>{if(e)return{text:e.fields.text,link:e.fields.link?.fields&&et(e.fields.link.fields)}},nt=e=>({text:e}),rt=({primaryPricePrefix:e,primaryPrice:t,primaryContent:n,primaryPriceMainSuffix:r,primaryPriceSuffix:i,secondaryPricePrefix:a,secondaryPrice:s,secondaryContent:o,secondaryPriceMainSuffix:c,secondaryPriceSuffix:l,priceSubText:d,priceRiseData:u,automatedPriceRiseData:f,isAutomated:m=!1,primaryPriceSuffix2:p,secondaryPriceSuffix2:h})=>{const y=n?null:"£",g=s&&!o,x=m?(e=>{if(!e?.mcpr?.length)return;const{isBusiness:t,isBundleInclusiveMCPR:n,mcpr:r,deviceMonthlyPrice:i}=e,a=n??t,s=r.filter(e=>e.annualPriceRiseApplied||e.dropOffPromotions?.length&&!e.annualPriceRiseApplied).map(e=>{return{price:Number(ye(e,i,a)),text:e.labelText??(e.date?`on ${t=e.date,D(t).format("D MMMM YYYY")}`:"")};var t}).reduce((e,{price:t,text:n})=>t&&n?(e.push({price:t,text:n}),e):e,[]);return s.length?{isBusiness:t,heading:"Price increases to:",priceRises:s}:void 0})(f):$e(u),b=x?{priceRiseText:x}:{};return re().add("primaryTextStack",{currency:{symbol:y},text:{prefix:e,main:n??he(t),mainSuffix:r,suffix:i,suffix2:p},...b}).add("secondaryTextStack",{currency:{symbol:g?"£":null},text:{prefix:a,main:o??he(s),mainSuffix:c,suffix:l,suffix2:h}}).add("verticalAlign","top").add("subText",d).toObject()},it=e=>(e??[]).filter(e=>Boolean(e?.fields)&&"number"==typeof e?.fields.max&&!Number.isNaN(e.fields.max)).map(e=>{const{sliderId:t,title:n,subText:r,colour:i,name:a,max:s,min:o,multiplier:c,increment:l}=e.fields;return{id:t,label:n,srLabel:{mainLabel:n},increment:l||10,subText:r,name:a,colour:i,multiplier:c??1,min:o||0,max:s}}),at=e=>({...Ne(e)}),st=()=>{const e=(0,m.Hl)().path;return e.shift(),e},ot=()=>{(0,r.useEffect)(()=>
14{document.querySelectorAll("[data-webchat-id]").forEach(e=>{const t=e.getAttribute("data-webchat-id");if(t&&e.parentNode){const n=document.createElement("div");n.setAttribute("id",t),e.parentNode.replaceChild(n,e)}})},[])},ct=()=>"undefined"!=typeof window,lt=(e={})=>{const{timer:t,defaultValue:n}=e,[i,a]=(0,r.useState)(n??ct());return(0,r.useEffect)(()=>{if(t){const e=setTimeout(()=>a(!0),t);return()=>clearTimeout(e)}return a(!0)},[t]),i},dt=(e,t)=>{const n=e.fields[{sm:"small",md:"medium",lg:"large",xl:"extraLarge"}[t]],r=e.fields.default.fields.file.url,i=e.fields.default.fields.file.contentType.split("/")[1],a=n?n.fields.file.contentType.split("/")[1]:i,s=n?n.fields.file.url:r,o=e?.fields.track,c=o?e?.fields.track?.fields.file.url:void 0,l=o?{track:`https:${c}`}:{};return f.G4C[a]?{[f.G4C[a]]:`https:${s}`,...l}:{}},ut=(e,t)=>e&&t?`${e} ${t}`:e||t,ft=e=>{const t=e?.map(e=>e.fields.links)[0];return t?t.map((e,t)=>{const{externalUrl:n,internalLink:r,text:i,newWindow:a}=e.fields;return{id:`${i}-${t}`,text:i,href:pe({externalUrl:n,internalLink:r}),...a?{newWindow:a}:{}}}):[]},mt=e=>e?{openOnMD:!1,groups:e.map(e=>e.fields).map(e=>{const t=e.links.map(e=>e.fields).map(({text:e,internalLink:t,externalUrl:n,externalLinkOptions:r},i)=>{const a=Xe(r);return{id:`${e}-${i}`,text:e,href:pe({externalUrl:n,internalLink:t}),htmlAttributes:{...a&&{rel:a}}}});return{headingText:e.title,links:t}})}:void 0,pt=e=>{const{text:t,externalUrl:n,internalLink:r}=e?.fields??{};return{href:pe({externalUrl:n,internalLink:r}),srText:t??""}},ht=e=>e?.map(({fields:e},t)=>{const{text:n,image:r,externalUrl:i,internalLink:a,externalLinkOptions:s}=e,o=Xe(s);return{id:`${n}-${t}`,text:n,srText:r?.fields?.description||n,...r?.fields&&{image:Le(r.fields.file.url)},href:pe({externalUrl:i,internalLink:a}),htmlAttributes:{...o&&{rel:o}}}}),yt=e=>{if(!e?.fields)return;const{file:t,description:n}=e.fields;return{image:Le(t.url),srText:n??"Partner Logo"}},gt=e=>{const t=e?.map(e=>e.fields.links)[0];return t?t.map(({fields:{externalUrl:e,internalLink:t,text:n,iconName:r}},i)=>({id:`${n}-${i}`,srText:n,href:pe({externalUrl:e,internalLink:t}),icon:ee({iconName:r}).name})):[]},xt=e=>e&&f.MH8.domain[e]||f.lVT,bt=(e="consumer")=>{if("undefined"==typeof window)return;const t=f.TS7[e];if(!t)return;const{prefix:n,useEnv:r}=t;if(!r)return n;const i=window.ENVIRONMENT,a="local"===i?"local":i?.split("-")[0];return a?`${n}-${a}`:void 0},vt=(e,t)=>e?{text:e,level:t}:void 0,wt=e=>"string"==typeof e?e.toLowerCase():e,$t=e=>{const t=(0,v.A)(f._Ue,e);if(0===Object.keys(t).length)return;const n={};for(const[e,r]of Object.entries(t))n[e]=wt(r);return n},Tt=e=>[e=>/^[0-9\s+]+$/.test(e)].some(t=>t(e)),kt=e=>{const t=e.trim();return/^[A-Za-zÀ-ÖØ-öø-ÿ' -]+$/.test(t)},At=e=>[e=>e.replace(/\s+/g,""),e=>e.replace(/\D/g,""),e=>e.replace(/^44/,"0"),e=>e.replace(/^(?!0)(\d{10})$/,"0$1")].reduce((e,t)=>t(e),e)}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.