PageSourceSearch

https://cdn.vodafone.co.uk/web-marketing/consumer-marketing/assets/1.4.8/modern/1450.613ba6fac8df3d9cab73.js

js vodafone.co.uk collected 2026-10-01 07:41:42 UTC 24,608 bytes, 14 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[1450],{23254:(n,t,e)=>{function r(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}e.d(t,{A:()=>r})},8889:(n,t,e)=>{function r(n){if(Array.isArray(n))return n}e.d(t,{A:()=>r})},94575:(n,t,e)=>{function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.d(t,{A:()=>r})},34176:(n,t,e)=>{e.d(t,{A:()=>o});var r=e(58900);function o(n,t){if(null==n)return{};var e,o,i=(0,r.A)(n,t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(n);for(o=0;o<c.length;o++)e=c[o],-1===t.indexOf(e)&&{}.propertyIsEnumerable.call(n,e)&&(i[e]=n[e])}return i}},34355:(n,t,e)=>{e.d(t,{A:()=>c});var r=e(8889),o=e(56199),i=e(94575);function c(n,t){return(0,r.A)(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i,c,s=[],u=!0,a=!1;try{if(i=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;u=!1}else for(;!(u=(r=i.call(e)).done)&&(s.push(r.value),s.length!==t);u=!0);}catch(n){a=!0,o=n}finally{try{if(!u&&null!=e.return&&(c=e.return(),Object(c)!==c))return}finally{if(a)throw o}}return s}}(n,t)||(0,o.A)(n,t)||(0,i.A)()}},56199:(n,t,e)=>{e.d(t,{A:()=>o});var r=e(23254);function o(n,t){if(n){if("string"==typeof n)return(0,r.A)(n,t);var e={}.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?(0,r.A)(n,t):void 0}}},51603:(n,t,e)=>{e.d(t,{Ay:()=>en}),Object.defineProperty;var r=e(48431);function o(n){return function(n){return"[object Object]"===Object.prototype.toString.call(n)}(n)||Array.isArray(n)}function i(n,t){const e=Object.keys(n),r=Object.keys(t);return e.length===r.length&&(JSON.stringify(Object.keys(n.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&e.every(e=>{const r=n[e],c=t[e];return"function"==typeof r?`${r}`==`${c}`:o(r)&&o(c)?i(r,c):r===c}))}function c(n){return n.concat().sort((n,t)=>n.name>t.name?1:-1).map(n=>n.options)}function s(n){return"number"==typeof n}function u(n){return"string"==typeof n}function a(n){return"boolean"==typeof n}function l(n){return"[object Object]"===Object.prototype.toString.call(n)}function d(n){return Math.abs(n)}function f(n){return Math.sign(n)}function p(n,t){return d(n-t)}function m(n){return x(n).map(Number)}function g(n){return n[h(n)]}function h(n){return Math.max(0,n.length-1)}function v(n,t){return t===h(n)}function y(n,t=0){return Array.from(Array(n),(n,e)=>t+e)}function x(n){return Object.keys(n)}function b(n,t){return[n,t].reduce((n,t)=>(x(t).forEach(e=>{const r=n[e],o=t[e],i=l(r)&&l(o);n[e]=i?b(r,o):o}),n),{})}function S(n,t){return void 0!==t.MouseEvent&&n instanceof t.MouseEvent}function w(){let n=[];const t={add:function(e,r,o,i={passive:!0}){let c;if("addEventListener"in e)e.addEventListener(r,o,i),c=()=>e.removeEventListener(r,o,i);else{const n=e;n.addListener(o),c=()=>n.removeListener(o)}return n.push(c),t},clear:function(){n=n.filter(n=>n())}};return t}function A(n=0,t=0){const e=d(n-t);function r(t){return t<n}function o(n){return n>t}function i(n){return r(n)||o(n)}return{length:e,max:t,min:n,constrain:function(e){return i(e)?r(e)?n:t:e},reachedAny:i,reachedMax:o,reachedMin:r,removeOffset:function(n){return e?n-e*Math.ceil((n-t)/e):n}}}function C(n,t,e){const{constrain:r}=A(0,n),o=n+1;let i=c(t);function c(n){return e?d((o+n)%o):r(n)}function s(){return i}function u(){return C(n,s(),e)}const a={get:s,set:function(n){return i=c(n),a},add:function(n){return u().set(s()+n)},clone:u};return a}function I(n,t,e,r,o,i,c,s,u,l,m,g,h,v,y,x,b,C,I){const{cross:O,direction:E}=n,k=["INPUT","SELECT","TEXTAREA"],D={passive:!1},L=w(),j=w(),T=A(50,225).constrain(v.measure(20)),P={mouse:300,touch:400},M={mouse:500,touch:600},B=y?43:25;let F=!1,z=0,N=0,V=!1,H=!1,$=!1,_=!1;function R(n){if(!S(n,r)&&n.touches.length>=2)return G(n);const t=i.readPoint(n),e=i.readPoint(n,O),c=p(t,z),u=p(e,N);if(!H&&!_){if(!n.cancelable)return G(n);if(H=c>u,!H)return G(n)}const a=i.pointerMove(n);c>x&&($=!0),l.useFriction(.3).useDuration(.75),s.start(),o.add(E(a)),n.preventDefault()}function G(n){const t=m.byDistance(0,!1).index!==g.get(),e=i.pointerUp(n)*(y?M:P)[_?"mouse":"touch"],r=function(n,t){const e=g.add(-1*f(n)),r=m.byDistance(n,!y).distance;return y||d(n)<T?r:b&&t?.5*r:m.byIndex(e.get(),0).distance}(E(e),t),o=function(n,t){if(0===n||0===t)return 0;if(d(n)<=d(t))return 0;const e=p(d(n),d(t));return d(e/n)}(e,r),c=B-10*o,s=C+o/50;H=!1,V=!1,j.clear(),l.useDuration(c).useFriction(s),u.distance(r,!y),_=!1,h.emit("pointerUp")}function U(n){$&&(n.stopPropagation(),n.preventDefault(),$=!1)}return{init:function(n){if(!I)return;function s(s){(a(I)||I(n,s))&&function(n){const s=S(n,r);
vendor: 13,109 bytes, line 1
1_=s,$=y&&s&&!n.buttons&&F,F=p(o.get(),c.get())>=2,s&&0!==n.button||function(n){const t=n.nodeName||"";return k.includes(t)}(n.target)||(V=!0,i.pointerDown(n),l.useFriction(0).useDuration(0),o.set(c),function(){const n=_?e:t;j.add(n,"touchmove",R,D).add(n,"touchend",G).add(n,"mousemove",R,D).add(n,"mouseup",G)}(),z=i.readPoint(n),N=i.readPoint(n,O),h.emit("pointerDown"))}(s)}const u=t;L.add(u,"dragstart",n=>n.preventDefault(),D).add(u,"touchmove",()=>{},D).add(u,"touchend",()=>{}).add(u,"touchstart",s).add(u,"mousedown",s).add(u,"touchcancel",G).add(u,"contextmenu",G).add(u,"click",U,!0)},destroy:function(){L.clear(),j.clear()},pointerDown:function(){return V}}}function O(n,t){let e,r;function o(n){return n.timeStamp}function i(e,r){const o="client"+("x"===(r||n.scroll)?"X":"Y");return(S(e,t)?e:e.touches[0])[o]}return{pointerDown:function(n){return e=n,r=n,i(n)},pointerMove:function(n){const t=i(n)-i(r),c=o(n)-o(e)>170;return r=n,c&&(e=n),t},pointerUp:function(n){if(!e||!r)return 0;const t=i(r)-i(e),c=o(n)-o(e),s=o(n)-o(r)>170,u=t/c;return c&&!s&&d(u)>.1?u:0},readPoint:i}}function E(n,t,e,r,o,i,c){const s=[n].concat(r);let u,l,f=[],p=!1;function m(n){return o.measureSize(c.measure(n))}return{init:function(o){i&&(l=m(n),f=r.map(m),u=new ResizeObserver(e=>{(a(i)||i(o,e))&&function(e){for(const i of e){if(p)return;const e=i.target===n,c=r.indexOf(i.target),s=e?l:f[c];if(d(m(e?n:r[c])-s)>=.5){o.reInit(),t.emit("resize");break}}}(e)}),e.requestAnimationFrame(()=>{s.forEach(n=>u.observe(n))}))},destroy:function(){p=!0,u&&u.disconnect()}}}function k(n,t,e,r,o){const i=o.measure(10),c=o.measure(50),s=A(.1,.99);let u=!1;function a(){return!u&&!!n.reachedAny(e.get())&&!!n.reachedAny(t.get())}return{shouldConstrain:a,constrain:function(o){if(!a())return;const u=n.reachedMin(t.get())?"min":"max",l=d(n[u]-t.get()),f=e.get()-t.get(),p=s.constrain(l/c);e.subtract(f*p),!o&&d(f)<i&&(e.set(n.constrain(e.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(n){u=!n}}}function D(n,t,e,r){const o=t.min+.1,i=t.max+.1,{reachedMin:c,reachedMax:s}=A(o,i);return{loop:function(t){if(!function(n){return 1===n?s(e.get()):-1===n&&c(e.get())}(t))return;const o=n*(-1*t);r.forEach(n=>n.add(o))}}}function L(n){let t=n;function e(n){return s(n)?n:n.get()}return{get:function(){return t},set:function(n){t=e(n)},add:function(n){t+=e(n)},subtract:function(n){t-=e(n)}}}function j(n,t){const e="x"===n.scroll?function(n){return`translate3d(${n}px,0px,0px)`}:function(n){return`translate3d(0px,${n}px,0px)`},r=t.style;let o=null,i=!1;return{clear:function(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(i)return;const c=(s=n.direction(t),Math.round(100*s)/100);var s;c!==o&&(r.transform=e(c),o=c)},toggleActive:function(n){i=!n}}}function T(n,t,e,r,o,i,c,s,u){const a=m(o),l=m(o).reverse(),d=function(){const n=c[0];return g(p(l,n),e,!1)}().concat(function(){const n=t-c[0]-1;return g(p(a,n),-e,!0)}());function f(n,t){return n.reduce((n,t)=>n-o[t],t)}function p(n,t){return n.reduce((n,e)=>f(n,t)>0?n.concat([e]):n,[])}function g(o,c,a){const l=function(n){return i.map((e,o)=>({start:e-r[o]+.5+n,end:e+t-.5+n}))}(c);return o.map(t=>{const r=a?0:-e,o=a?e:0,i=a?"end":"start",c=l[t][i];return{index:t,loopPoint:c,slideLocation:L(-1),translate:j(n,u[t]),target:()=>s.get()>c?r:o}})}return{canLoop:function(){return d.every(({index:n})=>f(a.filter(t=>t!==n),t)<=.1)},clear:function(){d.forEach(n=>n.translate.clear())},loop:function(){d.forEach(n=>{const{target:t,translate:e,slideLocation:r}=n,o=t();o!==r.get()&&(e.to(o),r.set(o))})},loopPoints:d}}function P(n,t,e){let r,o=!1;return{init:function(i){e&&(r=new MutationObserver(n=>{o||(a(e)||e(i,n))&&function(n){for(const e of n)if("childList"===e.type){i.reInit(),t.emit("slidesChanged");break}}(n)}),r.observe(n,{childList:!0}))},destroy:function(){r&&r.disconnect(),o=!0}}}function M(n,t,e,r,o,i,c){const{align:l,axis:b,direction:S,startIndex:M,loop:B,duration:F,dragFree:z,dragThreshold:N,inViewThreshold:V,slidesToScroll:H,skipSnaps:$,containScroll:_,watchResize:R,watchSlides:G,watchDrag:U,watchFocus:q}=i,K={measure:function(n){const{offsetTop:t,offsetLeft:e,offsetWidth:r,offsetHeight:o}=n;return{top:t,right:e+r,bottom:t+o,left:e,width:r,height:o}}},W=K.measure(t),J=e.map(K.measure),Q=function(n,t){const e="rtl"===t,r="y"===n,o=!r&&e?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":e?"right":"left",endEdge:r?"bottom":e?"left":"right",measureSize:function(n){const{height:t,width:e}=n;return r?t:e},direction:function(n){return n*o}}}(b,S),X=Q.measureSize(W),Y=function(n){return{measure:function(t){return n*(t/100)}}}(X),Z=function(n,t){const e={start:function(){return 0},center:function(n){return r(n)/2},end:r};function r(n){return t-n}return{measure:function(r,o){return u(n)?e[n](r):n(t,r,o)}}}(l,X),nn=!B&&!!_,tn=B||!!_,{slideSizes:en,slideSizesWithGaps:rn,startGap:on,endGap:cn}=function(n,t,e,r,o,i){const{measureSize:c,startEdge:s,endEdge:u}=n,a=e[0]&&o,l=function(){if(!a)return 0;const n=e[0];return d(t[s]-n[s])}(),f=function(){if(!a)return 0;const n=i.getComputedStyle(g(r));return parseFloat(n.getPropertyValue(`margin-${u}`))}(),p=e.map(c),m=e.map((n,t,e)=>{const r=!t,o=v(e,t);return r?p[t]+l:o?p[t]+f:e[t+1][s]-n[s]}).map(d);return{slideSizes:p,slideSizesWithGaps:m,startGap:l,endGap:f}}(Q,W,J,e,tn,o),sn=function(n,t,e,r,o,i,c,u,a){const{startEdge:l,endEdge:f,direction:p}=n,v=s(e);return{groupSlides:function(n){return v?function(n,t){return m(n).filter(n=>n%t===0).map(e=>n.slice(e,e+t))}(n,e):function(n){return n.length?m(n).reduce((e,s,m)=>{const v=g(e)||0,y=0===v,x=s===h(n),b=o[l]-i[v][l],S=o[l]-i[s][f],w=!r&&y?p(c):0,A=d(S-(!r&&x?p(u):0)-(b+w));return m&&A>t+a&&e.push(s),x&&e.push(n.length),e},[]).map((t,e,r)=>{const o=Math.max(r[e-1]||0);return n.slice(o,t)}):[]}(n)}}}(Q,X,H,B,W,J,on,cn,2),{snaps:un,snapsAligned:an}=function(n,t,e,r,o){const{startEdge:i,endEdge:c}=n,{groupSlides:s}=o,u=s(r).map(n=>g(n)[c]-n[0][i]).map(d).map(t.measure),a=r.map(n=>e[i]-n[i]).map(n=>-d(n)),l=s(a).map(n=>n[0]).map((n,t)=>n+u[t]);return{snaps:a,snapsAligned:l}}(Q,Z,W,J,sn),ln=-g(un)+g(rn),{snapsContained:dn,scrollContainLimit:fn}=function(n,t,e,r){const o=A(-t+n,0),i=e.map((n,t)=>{const{min:r,max:i}=o,c=o.constrain(n),u=!t,a=v(e,t);return u?i:a||s(r,c)?r:s(i,c)?i:c}).map(n=>parseFloat(n.toFixed(3))),c=function(){const n=i[0],t=g(i);return A(i.lastIndexOf(n),i.indexOf(t)+1)}();function s(n,t){return p(n,t)<=1}return{snapsContained:function(){if(t<=n+2)return[o.max];if("keepSnaps"===r)return i;const{min:e,max:s}=c;return i.slice(e,s)}(),scrollContainLimit:c}}(X,ln,an,_),pn=nn?dn:an,{limit:mn}=function(n,t,e){const r=t[0];return{limit:A(e?r-n:g(t),r)}}(ln,pn,B),gn=C(h(pn),M,B),hn=gn.clone(),vn=m(e),yn=function(n,t,e,r){const o=w(),i=1e3/60;let c=null,s=0,u=0;function a(n){if(!u)return;c||(c=n,e(),e());const o=n-c;for(c=n,s+=o;s>=i;)e(),s-=i;r(s/i),u&&(u=t.requestAnimationFrame(a))}function l(){t.cancelAnimationFrame(u),c=null,s=0,u=0}return{init:function(){o.add(n,"visibilitychange",()=>{n.hidden&&(c=null,s=0)})},destroy:function(){l(),o.clear()},start:function(){u||(u=t.requestAnimationFrame(a))},stop:l,update:e,render:r}}(r,o,()=>(({dragHandler:n,scrollBody:t,scrollBounds:e,options:{loop:r}})=>{r||e.constrain(n.pointerDown()),t.seek()})(Tn),n=>(({scrollBody:n,translate:t,location:e,offsetLocation:r,previousLocation:o,scrollLooper:i,slideLooper:c,dragHandler:s,animation:u,eventHandler:a,scrollBounds:l,options:{loop:d}},f)=>{const p=n.settled(),m=!l.shouldConstrain(),g=d?p:p&&m,h=g&&!s.pointerDown();h&&u.stop();const v=e.get()*f+o.get()*(1-f);r.set(v),d&&(i.loop(n.direction()),c.loop()),t.to(r.get()),h&&a.emit("settle"),g||a.emit("scroll")})(Tn,n)),xn=pn[gn.get()],bn=L(xn),Sn=L(xn),wn=L(xn),An=L(xn),Cn=function(n,t,e,r,o){let i=0,c=0,s=o,u=.68,a=n.get(),l=0;function p(n){return s=n,g}function m(n){return u=n,g}const g={direction:function(){return c},duration:function(){return s},velocity:function(){return i},seek:function(){const t=r.get()-n.get();let o=0;return s?(e.set(n),i+=t/s,i*=u,a+=i,n.add(i),o=a-l):(i=0,e.set(r),n.set(r),o=t),c=f(o),l=a,g},settled:function(){return d(r.get()-t.get())<.001},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return p(o)},useFriction:m,useDuration:p};return g}(bn,wn,Sn,An,F),In=function(n,t,e,r,o){const{reachedAny:i,removeOffset:c,constrain:s}=r;function u(n){return n.concat().sort((n,t)=>d(n)-d(t))[0]}function a(t,r){const o=[t,t+e,t-e];if(!n)return t;if(!r)return u(o);const i=o.filter(n=>f(n)===r);return i.length?u(i):g(o)-e}return{byDistance:function(e,r){const u=o.get()+e,{index:l,distance:f}=function(e){const r=n?c(e):s(e),o=t.map((n,t)=>({diff:a(n-r,0),index:t})).sort((n,t)=>d(n.diff)-d(t.diff)),{index:i}=o[0];return{index:i,distance:r}}(u),p=!n&&i(u);return!r||p?{index:l,distance:e}:{index:l,distance:e+a(t[l]-f,0)}},byIndex:function(n,e){return{index:n,distance:a(t[n]-o.get(),e)}},shortcut:a}}(B,pn,ln,mn,An),On=function(n,t,e,r,o,i,c){function s(o){const s=o.distance,u=o.index!==t.get();i.add(s),s&&(r.duration()?n.start():(n.update(),n.render(1),n.update())),u&&(e.set(t.get()),t.set(o.index),c.emit("select"))}return{distance:function(n,t){s(o.byDistance(n,t))},index:function(n,e){const r=t.clone().set(n);s(o.byIndex(r.get(),e))}}}(yn,gn,hn,Cn,In,An,c),En=function(n){const{max:t,length:e}=n;return{get:function(n){return e?(n-t)/-e:0}}}(mn),kn=w(),Dn=function(n,t,e,r){const o={};let i,c=null,s=null,u=!1;return{init:function(){i=new IntersectionObserver(n=>{u||(n.forEach(n=>{const e=t.indexOf(n.target);o[e]=n}),c=null,s=null,e.emit("slidesInView"))},{root:n.parentElement,threshold:r}),t.forEach(n=>i.observe(n))},destroy:function(){i&&i.disconnect(),u=!0},get:function(n=!0){if(n&&c)return c;if(!n&&s)return s;const t=function(n){return x(o).reduce((t,e)=>{const r=parseInt(e),{isIntersecting:i}=o[r];return(n&&i||!n&&!i)&&t.push(r),t},[])}(n);return n&&(c=t),n||(s=t),t}}}(t,e,c,V),{slideRegistry:Ln}=function(n,t,e,r,o,i){const{groupSlides:c}=o,{min:s,max:u}=r;return{slideRegistry:function(){const r=c(i),o=!n||"keepSnaps"===t;return 1===e.length?[i]:o?r:r.slice(s,u).map((n,t,e)=>{const r=!t,o=v(e,t);return r?y(g(e[0])+1):o?y(h(i)-g(e)[0]+1,g(e)[0]):n})}()}}(nn,_,pn,fn,sn,vn),jn=function(n,t,e,r,o,i,c,u){const l={passive:!0,capture:!0};let d=0;function f(n){"Tab"===n.code&&(d=(new Date).getTime())}return{init:function(p){u&&(i.add(document,"keydown",f,!1),t.forEach((t,f)=>{i.add(t,"focus",t=>{(a(u)||u(p,t))&&function(t){if((new Date).getTime()-d>10)return;c.emit("slideFocusStart"),n.scrollLeft=0;const i=e.findIndex(n=>n.includes(t));s(i)&&(o.useDuration(0),r.index(i,0),c.emit("slideFocus"))}(f)},l)}))}}}(n,e,Ln,On,Cn,kn,c,q),Tn={ownerDocument:r,ownerWindow:o,eventHandler:c,containerRect:W,slideRects:J,animation:yn,axis:Q,dragHandler:I(Q,n,r,o,An,O(Q,o),bn,yn,On,Cn,In,gn,c,Y,z,N,$,.68,U),eventStore:kn,percentOfView:Y,index:gn,indexPrevious:hn,limit:mn,location:bn,offsetLocation:wn,previousLocation:Sn,options:i,resizeHandler:E(t,c,o,e,Q,R,K),scrollBody:Cn,scrollBounds:k(mn,wn,An,Cn,Y),scrollLooper:D(ln,mn,wn,[bn,wn,Sn,An]),scrollProgress:En,scrollSnapList:pn.map(En.get),scrollSnaps:pn,scrollTarget:In,scrollTo:On,slideLooper:T(Q,X,ln,en,rn,un,pn,wn,e),slideFocus:jn,slidesHandler:P(t,c,G),slidesInView:Dn,slideIndexes:vn,slideRegistry:Ln,slidesToScroll:sn,target:An,translate:j(Q,t)};return Tn}const B={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function F(n){function t(n,t){return b(n,t||{})}return{mergeOptions:t,optionsAtMedia:function(e){const r=e.breakpoints||{},o=x(r).filter(t=>n.matchMedia(t).matches).map(n=>r[n]).reduce((n,e)=>t(n,e),{});return t(e,o)},optionsMediaQueries:function(t){return t.map(n=>x(n.breakpoints||{})).reduce((n,t)=>n.concat(t),[]).map(n.matchMedia)}}}function z(n,t,e){const r=n.ownerDocument,o=r.defaultView,i=F(o),c=function(n){let t=[];return{init:function(e,r){return t=r.filter(({options:t})=>!1!==n.optionsAtMedia(t).active),t.forEach(t=>t.init(e,n)),r.reduce((n,t)=>Object.assign(n,{[t.name]:t}),{})},destroy:function(){t=t.filter(n=>n.destroy())}}}(i),s=w(),a=function(){let n,t={};function e(n){return t[n]||[]}const r={init:function(t){n=t},emit:function(t){return e(t).forEach(e=>e(n,t)),r},off:function(n,o){return t[n]=e(n).filter(n=>n!==o),r},on:function(n,o){return t[n]=e(n).concat([o]),r},clear:function(){t={}}};return r}(),{mergeOptions:l,optionsAtMedia:d,optionsMediaQueries:f}=i,{on:p,off:m,emit:g}=a,h=k;let v,y,x,b,S=!1,A=l(B,z.globalOptions),C=l(A),I=[];function O(t){const e=M(n,x,b,r,o,t,a);return t.loop&&!e.slideLooper.canLoop()?O(Object.assign({},t,{loop:!1})):e}function E(t,e){S||(A=l(A,t),C=d(A),I=e||I,function(){const{container:t,slides:e}=C,r=u(t)?n.querySelector(t):t;x=r||n.children[0];const o=u(e)?x.querySelectorAll(e):e;b=[].slice.call(o||x.children)}(),v=O(C),f([A,...I.map(({options:n})=>
vendor: 2,560 bytes, line 1
1n)]).forEach(n=>s.add(n,"change",k)),C.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(T),v.eventHandler.init(T),v.resizeHandler.init(T),v.slidesHandler.init(T),v.options.loop&&v.slideLooper.loop(),x.offsetParent&&b.length&&v.dragHandler.init(T),y=c.init(T,I)))}function k(n,t){const e=j();D(),E(l({startIndex:e},n),t),a.emit("reInit")}function D(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),c.destroy(),s.clear()}function L(n,t,e){C.active&&!S&&(v.scrollBody.useBaseFriction().useDuration(!0===t?0:C.duration),v.scrollTo.index(n,e||0))}function j(){return v.index.get()}const T={canScrollNext:function(){return v.index.add(1).get()!==j()},canScrollPrev:function(){return v.index.add(-1).get()!==j()},containerNode:function(){return x},internalEngine:function(){return v},destroy:function(){S||(S=!0,s.clear(),D(),a.emit("destroy"),a.clear())},off:m,on:p,emit:g,plugins:function(){return y},previousScrollSnap:function(){return v.indexPrevious.get()},reInit:h,rootNode:function(){return n},scrollNext:function(n){L(v.index.add(1).get(),n,-1)},scrollPrev:function(n){L(v.index.add(-1).get(),n,1)},scrollProgress:function(){return v.scrollProgress.get(v.offsetLocation.get())},scrollSnapList:function(){return v.scrollSnapList},scrollTo:L,selectedScrollSnap:j,slideNodes:function(){return b},slidesInView:function(){return v.slidesInView.get()},slidesNotInView:function(){return v.slidesInView.get(!1)}};return E(t,e),setTimeout(()=>a.emit("init"),0),T}function N(n={},t=[]){const e=(0,r.useRef)(n),o=(0,r.useRef)(t),[s,u]=(0,r.useState)(),[a,l]=(0,r.useState)(),d=(0,r.useCallback)(()=>{s&&s.reInit(e.current,o.current)},[s]);return(0,r.useEffect)(()=>{i(e.current,n)||(e.current=n,d())},[n,d]),(0,r.useEffect)(()=>{(function(n,t){if(n.length!==t.length)return!1;const e=c(n),r=c(t);return e.every((n,t)=>i(n,r[t]))})(o.current,t)||(o.current=t,d())},[t,d]),(0,r.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&a){z.globalOptions=N.globalOptions;const n=z(a,e.current,o.current);return u(n),()=>n.destroy()}u(void 0)},[a,u]),[l,s]}z.globalOptions=void 0,N.globalOptions=void 0;var V=e(48444),H=e(19862),$=e(29296),_=e(54720),R=e(97375),G=e(20137),U=e(42295);const q=G.I4.div(n=>`\n  width: 100%;\n  margin: auto;\n\n  --slide-spacing: 1rem;\n  --slide-size: calc(99% / ${n.slidesToShow});\n\n  ${$.lE.SimpleGridColumn}
1 {\n    &:first-child {\n      z-index: 9;\n    }\n  }\n`),K=G.I4.div(n=>`\n  overflow: ${n.allowOverflow?"visible":"hidden"};\n  flex: 1;`),W=G.I4.div`
2  display: flex;
3  touch-action: pan-y pinch-zoom;
4  margin-left: calc(var(--slide-spacing) * -0.5);
5`,J=G.I4.div(n=>`\n  transform: translate3d(0, 0, 0);\n  flex: 0 0 var(--slide-size);\n  min-width: 0;\n  padding: var(--slide-spacing) 0 var(--slide-spacing) var(--slide-spacing);\n  opacity: ${n.isVisible?1:.5};\n  transition: opacity 0.3s ease;\n`),Q=G.I4.div`
6  width: 100%;
7  display: flex;
8  align-items: center;
9  justify-content: center;
10`,X=G.I4.div`
11  display: flex;
12  justify-content: center;
13  gap: 1rem;
14`,Y=G.I4.button(n=>`\n  touch-action: manipulation;\n  text-decoration: none;\n  cursor: pointer;\n  border: 0;\n  padding: 0;\n  margin: 0;\n  width: 0.5rem;\n  height: 0.5rem;\n  border-radius: 50%;\n  background-color: ${n.isSelected?n.theme.activeColor:n.theme.color};\n  transition: background-color 0.2s ease;\n\n  &:hover {\n    background-color: ${n.isSelected?n.theme.activeColor:n.theme.hoverColor};\n  }`),Z=({disabled:n,...t})=>n?(0,U.jsx)("span",{}):(0,U.jsx)(Q,{children:(0,U.jsx)(R.K0,{srText:"Previous",appearance:"alt1",size:3,icon:{name:"chevron-left"},...t})}),nn=({disabled:n,...t})=>n?(0,U.jsx)("span",{}):(0,U.jsx)(Q,{children:(0,U.jsx)(R.K0,{srText:"Next",appearance:"alt1",size:3,icon:{name:"chevron-right"},...t})}),tn=n=>({appearance:{primary:{dots:{color:n.color.monochrome3.default,hoverColor:n.color.monochrome4.default,activeColor:n.color.primary1.default},inverse:{dots:{color:n.inverseColor.monochrome3.default,hoverColor:n.inverseColor.monochrome4.default,activeColor:n.inverseColor.primary1.default}}}}}),en=({children:n,infinite:t=!0,inverse:e=!1,slidesToShow:o,onInteraction:i,appearance:c="primary",localTheme:s,allowOverflow:u=!1,id:a,dataSelectorPrefix:l,dataAttributes:d})=>{const[f,p]=N({inViewThreshold:.1,slidesToScroll:"auto",loop:t}),{prevBtnDisabled:m,nextBtnDisabled:g,onPrevButtonClick:h,onNextButtonClick:v}=(n=>{const[t,e]=(0,r.useState)(!0),[o,i]=(0,r.useState)(!0),c=(0,r.useCallback)(()=>{n&&n.scrollPrev()},[n]),s=(0,r.useCallback)(()=>{n&&n.scrollNext()},[n]),u=(0,r.useCallback)(n=>{e(!n.canScrollPrev()),i(!n.canScrollNext())},[]);return(0,r.useEffect)(()=>{n&&(u(n),n.on("reInit",u).on("select",u))},[n,u]),{prevBtnDisabled:t,nextBtnDisabled:o,onPrevButtonClick:c,onNextButtonClick:s}})(p),{selectedIndex:y,scrollSnaps:x,onDotButtonClick:b}=(n=>{const[t,e]=(0,r.useState)(0),[o,i]=(0,r.useState)([]),c=(0,r.useCallback)(t=>{n&&n.scrollTo(t)},[n]),s=(0,r.useCallback)(n=>{i(n.scrollSnapList())},[]),u=(0,r.useCallback)(n=>{e(n.selectedScrollSnap())},[]);return(0,r.useEffect)(()=>{n&&(s(n),u(n),n.on("reInit",s).on("reInit",u).on("select",u))},[n,s,u]),{selectedIndex:t,scrollSnaps:o,onDotButtonClick:c}})(p),{mdAndAbove:S,current:w}=(0,H.Gu)(),A=o?.sm??1,C=o?.md??A,I=o?.lg??C,O={sm:A,md:C,lg:I,xl:o?.xl??I}[w],E=O>n.length?n.length:O,[k,D]=(0,r.useState)(Array.from(Array(E).keys())),L=(0,r.useCallback)(n=>{D(n.slidesInView())},[]);(0,r.useEffect)(()=>{p&&(L(p),p.on("reInit",L).on("slidesInView",L))},[p]);const j=(0,_.Y1)("CardCarousel",tn,s),T=e?j.appearance[c].inverse.dots:j.appearance[c].dots,P=(0,r.useCallback)((n,t)=>{i&&i(n,t)},[i]);return(0,U.jsx)(q,{slidesToShow:E,id:a,"data-selector":(0,V.A)(l),"data-component-name":"CardCarousel",...d,children:(0,U.jsxs)($.rS,{layout:{sm:[12],md:[1,10,1,12]},verticalAlign:"center",spacing:4,children:[S&&(0,U.jsx)(Z,{onClick:n=>{h(),P(n,"prev")},disabled:m,inverse:e}),(0,U.jsx)(K,{ref:f,allowOverflow:u,children:(0,U.jsx)(W,{children:r.Children.map(n,(n,t)=>(0,U.jsx)(J,{isVisible:!u||k.includes(t),children:n},t))})}),S&&(0,U.jsx)(nn,{onClick:n=>{v(),P(n,"next")},disabled:g,inverse:e}),x.length>1&&(0,U.jsx)(X,{children:x.map((n,t)=>{const e=t===y;return(0,U.jsx)(Y,{onClick:n=>{b(t),P(n,`dot-${t}`)},theme:T,isSelected:e,"aria-label":e?"Current group of slides":`Go to group of slides ${t+1}`},t)})})]})})}}}]);

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.