(()=>{const e=()=>{const n=new IntersectionObserver(t=>{t.forEach(r=>{if(r.isIntersecting){const a=r.target,d=parseInt(a.dataset.rowIndex||0,10),l=a.querySelectorAll(".col"),s=100;d%2!==0?l.forEach((i,c)=>{const o=l.length-c-1;setTimeout(()=>{i.classList.add("fade-in")},s*o)}):l.forEach((i,c)=>{setTimeout(()=>{i.classList.add("fade-in")},s*c)}),n.unobserve(a)}})},{threshold:.2,rootMargin:"0px 0px -100px 0px"});document.querySelectorAll(".standard-col-fadein").forEach((t,r)=>{t.dataset.rowIndex=r,n.observe(t)})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();document.querySelectorAll(".footer-menu").forEach(n=>{n.querySelector("h4").addEventListener("click",()=>{n.classList.toggle("active")})});(()=>{if(!document.querySelector(".ex-loggedin"))return;document.querySelector(".header-full .widgetlogo .logo img").src!=="https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/igate-logo-white.png"&&document.querySelector(".header-full .widgetlogo").classList.add("white-bg")})();function jn(e,n){for(var t=0;t-1}function ct(e,n){return e.push.apply(e,Je(n)),e}function me(e,n,t){e&&oe(n,function(r){r&&e.classList[t?"add":"remove"](r)})}function le(e,n){me(e,he(n)?n.split(" "):n,!0)}function Ze(e,n){oe(n,e.appendChild.bind(e))}function Rt(e,n){oe(e,function(t){var r=(n||t).parentNode;r&&r.insertBefore(t,n)})}function Fe(e,n){return dn(e)&&(e.msMatchesSelector||e.matches).call(e,n)}function fn(e,n){var t=e?Se(e.children):[];return n?t.filter(function(r){return Fe(r,n)}):t}function et(e,n){return n?fn(e,n)[0]:e.firstElementChild}var Ye=Object.keys;function we(e,n,t){return e&&(t?Ye(e).reverse():Ye(e)).forEach(function(r){r!=="__proto__"&&n(e[r],r)}),e}function Ue(e){return Se(arguments,1).forEach(function(n){we(n,function(t,r){e[r]=n[r]})}),e}function ye(e){return Se(arguments,1).forEach(function(n){we(n,function(t,r){Pt(t)?e[r]=t.slice():Be(t)?e[r]=ye({},Be(e[r])?e[r]:{},t):e[r]=t})}),e}function Kt(e,n){oe(n||Ye(e),function(t){delete e[t]})}function ue(e,n){oe(e,function(t){oe(n,function(r){t&&t.removeAttribute(r)})})}function V(e,n,t){Be(n)?we(n,function(r,a){V(e,a,r)}):oe(e,function(r){xt(t)||t===""?ue(r,n):r.setAttribute(n,String(t))})}function Ne(e,n,t){var r=document.createElement(e);return n&&(he(n)?le(r,n):V(r,n)),t&&Ze(t,r),r}function ae(e,n,t){if(Qe(t))return getComputedStyle(e)[n];xt(t)||(e.style[n]=""+t)}function Ge(e,n){ae(e,"display",n)}function mn(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function ie(e,n){return e.getAttribute(n)}function Qt(e,n){return e&&e.classList.contains(n)}function ne(e){return e.getBoundingClientRect()}function Te(e){oe(e,function(n){n&&n.parentNode&&n.parentNode.removeChild(n)})}function pn(e){return et(new DOMParser().parseFromString(e,"text/html").body)}function fe(e,n){e.preventDefault(),n&&(e.stopPropagation(),e.stopImmediatePropagation())}function vn(e,n){return e&&e.querySelector(n)}function $t(e,n){return n?Se(e.querySelectorAll(n)):[]}function pe(e,n){me(e,n,!1)}function kt(e){return e.timeStamp}function qe(e){return he(e)?e:e?e+"px":""}var tt="splide",Dt="data-"+tt;function Ve(e,n){if(!e)throw new Error("["+tt+"] "+(n||""))}var be=Math.min,dt=Math.max,ft=Math.floor,We=Math.ceil,ee=Math.abs;function gn(e,n,t){return ee(e-n)0)-+(e<0)}function It(e,n){return oe(n,function(t){e=e.replace("%s",""+t)}),e}function Ht(e){return e<10?"0"+e:""+e}var Jt={};function Un(e){return""+e+Ht(Jt[e]=(Jt[e]||0)+1)}function yn(){var e=[];function n(l,s,i,c){a(l,s,function(o,g,p){var m="addEventListener"in o,v=m?o.removeEventListener.bind(o,g,i,c):o.removeListener.bind(o,i);m?o.addEventListener(g,i,c):o.addListener(i),e.push([o,g,p,i,v])})}function t(l,s,i){a(l,s,function(c,o,g){e=e.filter(function(p){return p[0]===c&&p[1]===o&&p[2]===g&&(!i||p[3]===i)?(p[4](),!1):!0})})}function r(l,s,i){var c,o=!0;return typeof CustomEvent=="function"?c=new CustomEvent(s,{bubbles:o,detail:i}):(c=document.createEvent("CustomEvent"),c.initCustomEvent(s,o,!1,i)),l.dispatchEvent(c),c}function a(l,s,i){oe(l,function(c){c&&oe(s,function(o){o.split(" ").forEach(function(g){var p=g.split(".");i(c,p[0],p[1])})})})}function d(){e.forEach(function(l){l[4]()}),ge(e)}return{bind:n,unbind:t,dispatch:r,destroy:d}}var ke="mounted",Zt="ready",Ee="move",nt="moved",hn="click",Gn="active",Wn="inactive",zn="visible",Xn="hidden",J="refresh",te="updated",ze="resize",Vt="resized",Kn="drag",Qn="dragging",Jn="dragged",jt="scroll",$e="scrolled",Zn="overflow",bn="destroy",er="arrows:mounted",tr="arrows:updated",nr="pagination:mounted",rr="pagination:updated",En="navigation:mounted",Sn="autoplay:play",or="autoplay:playing",Ln="autoplay:pause",An="lazyload:loaded",qn="sk",wn="sh",mt="ei";function Q(e){var n=e?e.event.bus:document.createDocumentFragment(),t=yn();function r(d,l){t.bind(n,Je(d).join(" "),function(s){l.apply(l,Pt(s.detail)?s.detail:[])})}function a(d){t.dispatch(n,d,Se(arguments,1))}return e&&e.event.on(bn,t.destroy),Ue(t,{bus:n,on:r,off:W(t.unbind,n),emit:a})}function vt(e,n,t,r){var a=Date.now,d,l=0,s,i=!0,c=0;function o(){if(!i){if(l=e?be((a()-d)/e,1):1,t&&t(l),l>=1&&(n(),d=a(),r&&++c>=r))return p();s=Xt(o)}}function g(y){y||v(),d=a()-(y?l*e:0),i=!1,s=Xt(o)}function p(){i=!0}function m(){d=a(),l=0,t&&t(l)}function v(){s&&cancelAnimationFrame(s),l=0,s=0,i=!0}function u(y){e=y}function f(){return i}return{start:g,rewind:m,pause:p,cancel:v,set:u,isPaused:f}}function ar(e){var n=e;function t(a){n=a}function r(a){return Ot(Je(a),n)}return{set:t,is:r}}function ir(e,n){var t=vt(0,e,null,1);return function(){t.isPaused()&&t.start()}}function cr(e,n,t){var r=e.state,a=t.breakpoints||{},d=t.reducedMotion||{},l=yn(),s=[];function i(){var v=t.mediaQuery==="min";Ye(a).sort(function(u,f){return v?+u-+f:+f-+u}).forEach(function(u){o(a[u],"("+(v?"min":"max")+"-width:"+u+"px)")}),o(d,zt),g()}function c(v){v&&l.destroy()}function o(v,u){var f=matchMedia(u);l.bind(f,"change",g),s.push([v,f])}function g(){var v=r.is(ut),u=t.direction,f=s.reduce(function(y,h){return ye(y,h[1].matches?h[0]:{})},{});Kt(t),m(f),t.destroy?e.destroy(t.destroy==="completely"):v?(c(!0),e.mount()):u!==t.direction&&e.refresh()}function p(v){matchMedia(zt).matches&&(v?ye(t,d):Kt(t,Ye(d)))}function m(v,u,f){ye(t,v),u&&ye(Object.getPrototypeOf(t),v),(f||!r.is(Me))&&e.emit(te,t)}return{setup:i,destroy:c,reduce:p,set:m}}var gt="Arrow",yt=gt+"Left",ht=gt+"Right",Tn=gt+"Up",Cn=gt+"Down",en="rtl",bt="ttb",At={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Tn,ht],ArrowRight:[Cn,yt]};function sr(e,n,t){function r(d,l,s){s=s||t.direction;var i=s===en&&!l?1:s===bt?0:-1;return At[d]&&At[d][i]||d.replace(/width|left|right/i,function(c,o){var g=At[c.toLowerCase()][i]||c;return o>0?g.charAt(0).toUpperCase()+g.slice(1):g})}function a(d){return d*(t.direction===en?1:-1)}return{resolve:r,orient:a}}var ve="role",Pe="tabindex",lr="disabled",se="aria-",rt=se+"controls",kn=se+"current",tn=se+"selected",re=se+"label",Bt=se+"labelledby",_n=se+"hidden",Ft=se+"orientation",Xe=se+"roledescription",nn=se+"live",rn=se+"busy",on=se+"atomic",Yt=[ve,Pe,lr,rt,kn,re,Bt,_n,Ft,Xe],de=tt+"__",Le="is-",qt=tt,an=de+"track",ur=de+"list",Et=de+"slide",In=Et+"--clone",dr=Et+"__container",Ut=de+"arrows",St=de+"arrow",Mn=St+"--prev",Nn=St+"--next",Lt=de+"pagination",Pn=Lt+"__page",fr=de+"progress",mr=fr+"__bar",pr=de+"toggle",vr=de+"spinner",gr=de+"sr",yr=Le+"initialized",Ce=Le+"active",xn=Le+"prev",On=Le+"next",Mt=Le+"visible",Nt=Le+"loading",Rn=Le+"focus-in",$n=Le+"overflow",hr=[Ce,Mt,xn,On,Nt,Rn,$n],br={slide:Et,clone:In,arrows:Ut,arrow:St,prev:Mn,next:Nn,pagination:Lt,page:Pn,spinner:vr};function Er(e,n){if(un(e.closest))return e.closest(n);for(var t=e;t&&t.nodeType===1&&!Fe(t,n);)t=t.parentElement;return t}var Sr=5,cn=200,Dn="touchstart mousedown",wt="touchmove mousemove",Tt="touchend touchcancel mouseup click";function Lr(e,n,t){var r=Q(e),a=r.on,d=r.bind,l=e.root,s=t.i18n,i={},c=[],o=[],g=[],p,m,v;function u(){E(),M(),h()}function f(){a(J,y),a(J,u),a(te,h),d(document,Dn+" keydown",function(L){v=L.type==="keydown"},{capture:!0}),d(l,"focusin",function(){me(l,Rn,!!v)})}function y(L){var O=Yt.concat("style");ge(c),pe(l,o),pe(p,g),ue([p,m],O),ue(l,L?O:["style",Xe])}function h(){pe(l,o),pe(p,g),o=_(qt),g=_(an),le(l,o),le(p,g),V(l,re,t.label),V(l,Bt,t.labelledby)}function E(){p=T("."+an),m=et(p,"."+ur),Ve(p&&m,"A track/list element is missing."),ct(c,fn(m,"."+Et+":not(."+In+")")),we({arrows:Ut,pagination:Lt,prev:Mn,next:Nn,bar:mr,toggle:pr},function(L,O){i[O]=T("."+L)}),Ue(i,{root:l,track:p,list:m,slides:c})}function M(){var L=l.id||Un(tt),O=t.role;l.id=L,p.id=p.id||L+"-track",m.id=m.id||L+"-list",!ie(l,ve)&&l.tagName!=="SECTION"&&O&&V(l,ve,O),V(l,Xe,s.carousel),V(m,ve,"presentation")}function T(L){var O=vn(l,L);return O&&Er(O,"."+qt)===l?O:void 0}function _(L){return[L+"--"+t.type,L+"--"+t.direction,t.drag&&L+"--draggable",t.isNavigation&&L+"--nav",L===qt&&Ce]}return Ue(i,{setup:u,mount:f,destroy:y})}var Oe="slide",De="loop",ot="fade";function Ar(e,n,t,r){var a=Q(e),d=a.on,l=a.emit,s=a.bind,i=e.Components,c=e.root,o=e.options,g=o.isNavigation,p=o.updateOnMove,m=o.i18n,v=o.pagination,u=o.slideFocus,f=i.Direction.resolve,y=ie(r,"style"),h=ie(r,re),E=t>-1,M=et(r,"."+dr),T;function _(){E||(r.id=c.id+"-slide"+Ht(n+1),V(r,ve,v?"tabpanel":"group"),V(r,Xe,m.slide),V(r,re,h||It(m.slideLabel,[n+1,e.length]))),L()}function L(){s(r,"click",W(l,hn,D)),s(r,"keydown",W(l,qn,D)),d([nt,wn,$e],w),d(En,H),p&&d(Ee,P)}function O(){T=!0,a.destroy(),pe(r,hr),ue(r,Yt),V(r,"style",y),V(r,re,h||"")}function H(){var x=e.splides.map(function(S){var N=S.splide.Components.Slides.getAt(n);return N?N.slide.id:""}).join(" ");V(r,re,It(m.slideX,(E?t:n)+1)),V(r,rt,x),V(r,ve,u?"button":""),u&&ue(r,Xe)}function P(){T||w()}function w(){if(!T){var x=e.index;b(),A(),me(r,xn,n===x-1),me(r,On,n===x+1)}}function b(){var x=k();x!==Qt(r,Ce)&&(me(r,Ce,x),V(r,kn,g&&x||""),l(x?Gn:Wn,D))}function A(){var x=j(),S=!x&&(!k()||E);if(e.state.is([Re,Ke])||V(r,_n,S||""),V($t(r,o.focusableNodes||""),Pe,S?-1:""),u&&V(r,Pe,S?-1:0),x!==Qt(r,Mt)&&(me(r,Mt,x),l(x?zn:Xn,D)),!x&&document.activeElement===r){var N=i.Slides.getAt(e.index);N&&mn(N.slide)}}function q(x,S,N){ae(N&&M||r,x,S)}function k(){var x=e.index;return x===n||o.cloneStatus&&x===t}function j(){if(e.is(ot))return k();var x=ne(i.Elements.track),S=ne(r),N=f("left",!0),B=f("right",!0);return ft(x[N])<=We(S[N])&&ft(S[B])<=We(x[B])}function I(x,S){var N=ee(x-n);return!E&&(o.rewind||e.is(De))&&(N=be(N,e.length-N)),N<=S}var D={index:n,slideIndex:t,slide:r,container:M,isClone:E,mount:_,destroy:O,update:w,style:q,isWithin:I};return D}function qr(e,n,t){var r=Q(e),a=r.on,d=r.emit,l=r.bind,s=n.Elements,i=s.slides,c=s.list,o=[];function g(){p(),a(J,m),a(J,p)}function p(){i.forEach(function(w,b){u(w,b,-1)})}function m(){T(function(w){w.destroy()}),ge(o)}function v(){T(function(w){w.update()})}function u(w,b,A){var q=Ar(e,b,A,w);q.mount(),o.push(q),o.sort(function(k,j){return k.index-j.index})}function f(w){return w?_(function(b){return!b.isClone}):o}function y(w){var b=n.Controller,A=b.toIndex(w),q=b.hasFocus()?1:t.perPage;return _(function(k){return st(k.index,A,A+q-1)})}function h(w){return _(w)[0]}function E(w,b){oe(w,function(A){if(he(A)&&(A=pn(A)),dn(A)){var q=i[b];q?Rt(A,q):Ze(c,A),le(A,t.classes.slide),O(A,W(d,ze))}}),d(J)}function M(w){Te(_(w).map(function(b){return b.slide})),d(J)}function T(w,b){f(b).forEach(w)}function _(w){return o.filter(un(w)?w:function(b){return he(w)?Fe(b.slide,w):Ot(Je(w),b.index)})}function L(w,b,A){T(function(q){q.style(w,b,A)})}function O(w,b){var A=$t(w,"img"),q=A.length;q?A.forEach(function(k){l(k,"load error",function(){--q||b()})}):b()}function H(w){return w?i.length:o.length}function P(){return o.length>t.perPage}return{mount:g,destroy:m,update:v,register:u,get:f,getIn:y,getAt:h,add:E,remove:M,forEach:T,filter:_,style:L,getLength:H,isEnough:P}}function wr(e,n,t){var r=Q(e),a=r.on,d=r.bind,l=r.emit,s=n.Slides,i=n.Direction.resolve,c=n.Elements,o=c.root,g=c.track,p=c.list,m=s.getAt,v=s.style,u,f,y;function h(){E(),d(window,"resize load",ir(W(l,ze))),a([te,J],E),a(ze,M)}function E(){u=t.direction===bt,ae(o,"maxWidth",qe(t.width)),ae(g,i("paddingLeft"),T(!1)),ae(g,i("paddingRight"),T(!0)),M(!0)}function M(D){var x=ne(o);(D||f.width!==x.width||f.height!==x.height)&&(ae(g,"height",_()),v(i("marginRight"),qe(t.gap)),v("width",O()),v("height",H(),!0),f=x,l(Vt),y!==(y=I())&&(me(o,$n,y),l(Zn,y)))}function T(D){var x=t.padding,S=i(D?"right":"left");return x&&qe(x[S]||(Be(x)?0:x))||"0px"}function _(){var D="";return u&&(D=L(),Ve(D,"height or heightRatio is missing."),D="calc("+D+" - "+T(!1)+" - "+T(!0)+")"),D}function L(){return qe(t.height||ne(p).width*t.heightRatio)}function O(){return t.autoWidth?null:qe(t.fixedWidth)||(u?"":P())}function H(){return qe(t.fixedHeight)||(u?t.autoHeight?null:P():L())}function P(){var D=qe(t.gap);return"calc((100%"+(D&&" + "+D)+")/"+(t.perPage||1)+(D&&" - "+D)+")"}function w(){return ne(p)[i("width")]}function b(D,x){var S=m(D||0);return S?ne(S.slide)[i("width")]+(x?0:k()):0}function A(D,x){var S=m(D);if(S){var N=ne(S.slide)[i("right")],B=ne(p)[i("left")];return ee(N-B)+(x?0:k())}return 0}function q(D){return A(e.length-1)-A(0)+b(0,D)}function k(){var D=m(0);return D&&parseFloat(ae(D.slide,i("marginRight")))||0}function j(D){return parseFloat(ae(g,i("padding"+(D?"Right":"Left"))))||0}function I(){return e.is(ot)||q(!0)>w()}return{mount:h,resize:M,listSize:w,slideSize:b,sliderSize:q,totalSize:A,getPadding:j,isOverflow:I}}var Tr=2;function Cr(e,n,t){var r=Q(e),a=r.on,d=n.Elements,l=n.Slides,s=n.Direction.resolve,i=[],c;function o(){a(J,g),a([te,ze],m),(c=f())&&(v(c),n.Layout.resize(!0))}function g(){p(),o()}function p(){Te(i),ge(i),r.destroy()}function m(){var y=f();c!==y&&(cB)&&(w(),O(P(q(),S>B),!0)),l(Re),d(Ee,N,B,S),E.start(N,function(){l(xe),d(nt,N,B,S),F&&F()})}function L(S){O(A(S,!0))}function O(S,N){if(!e.is(ot)){var B=N?S:H(S);ae(y,"transform","translate"+v("X")+"("+B+"px)"),S!==B&&d(wn)}}function H(S){if(e.is(De)){var N=b(S),B=N>n.Controller.getEnd(),F=N<0;(F||B)&&(S=P(S,B))}return S}function P(S,N){var B=S-I(N),F=p();return S-=u(F*(We(ee(B)/F)||1))*(N?1:-1),S}function w(){O(q(),!0),E.cancel()}function b(S){for(var N=n.Slides.get(),B=0,F=1/0,U=0;U=0:N<=y[v("scrollWidth")]-ne(h)[v("width")]}function x(S,N){N=Qe(N)?q():N;var B=S!==!0&&u(N)u(I(!0));return B||F}return{mount:M,move:_,jump:L,translate:O,shift:P,cancel:w,toIndex:b,toPosition:A,getPosition:q,getLimit:I,exceededLimit:x,reposition:T}}function _r(e,n,t){var r=Q(e),a=r.on,d=r.emit,l=n.Move,s=l.getPosition,i=l.getLimit,c=l.toPosition,o=n.Slides,g=o.isEnough,p=o.getLength,m=t.omitEnd,v=e.is(De),u=e.is(Oe),f=W(q,!1),y=W(q,!0),h=t.start||0,E,M=h,T,_,L;function O(){H(),a([te,J,mt],H),a(Vt,P)}function H(){T=p(!0),_=t.perMove,L=t.perPage,E=D();var C=_e(h,0,m?E:T-1);C!==h&&(h=C,l.reposition())}function P(){E!==D()&&d(mt)}function w(C,Y,K){if(!z()){var G=A(C),Z=I(G);Z>-1&&(Y||Z!==h)&&(B(Z),l.move(G,Z,M,K))}}function b(C,Y,K,G){n.Scroll.scroll(C,Y,K,function(){var Z=I(l.toIndex(s()));B(m?be(Z,E):Z),G&&G()})}function A(C){var Y=h;if(he(C)){var K=C.match(/([+\-<>])(\d+)?/)||[],G=K[1],Z=K[2];G==="+"||G==="-"?Y=k(h+ +(""+G+(+Z||1)),h):G===">"?Y=Z?x(+Z):f(!0):G==="<"&&(Y=y(!0))}else Y=v?C:_e(C,0,E);return Y}function q(C,Y){var K=_||(U()?1:L),G=k(h+K*(C?-1:1),h,!(_||U()));return G===-1&&u&&!gn(s(),i(!C),1)?C?0:E:Y?G:I(G)}function k(C,Y,K){if(g()||U()){var G=j(C);G!==C&&(Y=C,C=G,K=!1),C<0||C>E?!_&&(st(0,C,Y,!0)||st(E,Y,C,!0))?C=x(S(C)):v?C=K?C<0?-(T%L||L):T:C:t.rewind?C=C<0?E:0:C=-1:K&&C!==Y&&(C=x(S(Y)+(C0;)if(c(T-1,!0)!==c(C,!0)){C++;break}return _e(C,0,T-1)}function x(C){return _e(U()?C:L*C,0,E)}function S(C){return U()?be(C,E):ft((C>=E?T-1:C)/L)}function N(C){var Y=l.toIndex(C);return u?_e(Y,0,E):Y}function B(C){C!==h&&(M=h,h=C)}function F(C){return C?M:h}function U(){return!Qe(t.focus)||t.isNavigation}function z(){return e.state.is([Re,Ke])&&!!t.waitForTransition}return{mount:O,go:w,scroll:b,getNext:f,getPrev:y,getAdjacent:q,getEnd:D,setIndex:B,getIndex:F,toIndex:x,toPage:S,toDest:N,hasFocus:U,isBusy:z}}var Ir="http://www.w3.org/2000/svg",Mr="m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z",at=40;function Nr(e,n,t){var r=Q(e),a=r.on,d=r.bind,l=r.emit,s=t.classes,i=t.i18n,c=n.Elements,o=n.Controller,g=c.arrows,p=c.track,m=g,v=c.prev,u=c.next,f,y,h={};function E(){T(),a(te,M)}function M(){_(),E()}function T(){var b=t.arrows;b&&!(v&&u)&&H(),v&&u&&(Ue(h,{prev:v,next:u}),Ge(m,b?"":"none"),le(m,y=Ut+"--"+t.direction),b&&(L(),w(),V([v,u],rt,p.id),l(er,v,u)))}function _(){r.destroy(),pe(m,y),f?(Te(g?[v,u]:m),v=u=null):ue([v,u],Yt)}function L(){a([ke,nt,J,$e,mt],w),d(u,"click",W(O,">")),d(v,"click",W(O,"<"))}function O(b){o.go(b,!0)}function H(){m=g||Ne("div",s.arrows),v=P(!0),u=P(!1),f=!0,Ze(m,[v,u]),!g&&Rt(m,p)}function P(b){var A=' `);const t=document.createElement("button");t.classList.add("testimonials-sticky-button"),t.setAttribute("data-toggle","modal"),t.setAttribute("data-target","#testimonialsModal"),t.innerHTML='Testimonials',document.body.appendChild(t);const r=document.getElementById("testimonialsModal"),a=r.querySelector(".modal-body"),d=e.querySelector(".testimonial-carousel");a.appendChild(d),$(r).on("shown.bs.modal",()=>{const l=r.querySelector(".splide");l&&l.splide&&l.splide.refresh()})})();document.querySelectorAll(".testimonial-carousel .splide").forEach(e=>{const n=e.closest("#testimonialsModal")!==null,t={type:"loop",focus:0,perMove:1,pagination:!0,arrows:!0,autoplay:!0,interval:6e3,pauseOnHover:!0,pauseOnFocus:!0,gap:"38px"},r={1800:{perPage:3},1200:{perPage:2},768:{perPage:1}},a={1470:{perPage:1},1080:{perPage:2},720:{perPage:1}};new ce(e,{...t,perPage:n?3:2,breakpoints:n?r:a}).mount()});document.querySelectorAll(".delivery-map").forEach(e=>{const n=new IntersectionObserver(t=>{t.forEach(r=>{r.isIntersecting&&(console.log("Map is in view!"),e.classList.add("map-active"),n.unobserve(r.target))})},{threshold:.4});n.observe(e)});document.querySelectorAll(".eco-grid").forEach(e=>{const n=new IntersectionObserver(t=>{t.forEach(r=>{if(r.isIntersecting){const a=r.target;a.classList.add("section-loaded"),n.unobserve(a)}})},{threshold:.1});n.observe(e)});document.querySelectorAll(".contact-cta-imagegrid").forEach(e=>{const n=e.querySelectorAll(".image-group");setInterval(()=>{const r=Math.floor(Math.random()*n.length);n.forEach((a,d)=>{d===r&&a.classList.toggle("image-swap")})},4e3);const t=new IntersectionObserver(r=>{r.forEach(a=>{a.isIntersecting&&(a.target.classList.add("loaded"),t.unobserve(e))})},{threshold:.3});t.observe(e)});(()=>{const e=()=>{const n=new IntersectionObserver(t=>{t.forEach(r=>{if(r.isIntersecting){const a=r.target,d=a.querySelectorAll(".landing-intro__feature"),l=300;d.forEach((i,c)=>{setTimeout(()=>{i.classList.add("fade-in")},l*(c+1))});const s=a.querySelector(".landing-intro__main");s&&setTimeout(()=>{s.classList.add("fade-in")},50),n.unobserve(a)}})},{threshold:.1,rootMargin:"0px 0px -50px 0px"});document.querySelectorAll(".landing-intro__content").forEach(t=>{n.observe(t)})};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();(()=>{const e=document.querySelector(".custom-grid-tools");if(!e)return;const n=document.querySelector(".tools-actions");n&&e.appendChild(n)})();(()=>{const e=()=>{document.querySelectorAll(".catalog-grid .product, .relationship-carousel .product").forEach(d=>{if(d.querySelector(".quantity-input-wrapper"))return;const l=d.querySelector(".inputquantity");if(!l||l.getAttribute("type")==="number")return;const s=document.createElement("div");s.classList.add("quantity-input-wrapper"),s.innerHTML=` `,d.querySelector(".buttons.group").insertAdjacentElement("afterbegin",s),s.appendChild(l);const i=d.querySelector(".quantity-input-increment"),c=d.querySelector(".quantity-input-decrement");i.addEventListener("click",()=>{Number.isNaN(l.value)?l.value=1:l.value=parseInt(l.value,10)+1}),c.addEventListener("click",()=>{Number.isNaN(l.value)||parseInt(l.value,10)<=1?l.value=1:l.value=parseInt(l.value,10)-1}),d.classList.add("quantity-spinner")})},n=()=>{document.querySelectorAll(".catalog-grid .product, .relationship-carousel .product").forEach(d=>{if(d.querySelector(".product-actions-wrapper"))return;const l=document.createElement("div");l.classList.add("product-actions-wrapper");const s=d.querySelector(".footer");if(s)s.appendChild(l);else return;const i=d.querySelector(".addtoquicklist-wrapper");i&&l.appendChild(i);const c=d.querySelector(".product-compare-action");c&&l.appendChild(c)})},t=()=>{if(!document.querySelector(".ex-loggedout"))return;const d=document.createElement("div");d.classList.add("product-login-buttons"),d.innerHTML=` Sign In Create Account `,document.querySelectorAll(".catalog-grid .product").forEach(l=>{if(l.querySelector(".product-login-buttons"))return;const s=l.querySelector(".footer-wrapper-price");s&&!s.children.length&&s.appendChild(d.cloneNode(!0))})},r=()=>{document.querySelectorAll(".catalog-grid .product, .relationship-carousel .product").forEach(d=>{var s;const l=d.querySelector(".live-inventory-v2-wrapper");l&&((s=d.querySelector(".footer-wrapper-price"))==null||s.appendChild(l))})},a=()=>{e(),n(),t(),r()};document.addEventListener("DOMContentLoaded",()=>{a()}),document.addEventListener("product-loadmore-success",d=>{console.log("More products loaded",d.detail),a()},!1)})();(()=>{if(!document.querySelector(".ex-product"))return;const e=()=>{const i=document.querySelector(".desktop .product-summary");if(!i)return;const c=document.createElement("div");c.classList.add("product-summary-actions"),i.appendChild(c);const o=document.createElement("div");o.classList.add("product-summary-inner"),c.appendChild(o);const g=i.querySelector(".product-configurable-wrapper"),p=i.querySelector(".product-points-wrapper"),m=i.querySelector(".product-links-wrapper");g&&o.appendChild(g),p&&o.appendChild(p),m&&o.appendChild(m);const v=document.querySelector(".desktop .productaddtocart_container");v&&c.appendChild(v)},n=()=>{document.querySelectorAll(".pdp-minibanner").forEach(i=>{var c,o;(o=(c=i.closest(".catalog-single"))==null?void 0:c.querySelector(".product-summary-inner"))==null||o.insertAdjacentElement("afterbegin",i)})},t=()=>{document.querySelectorAll(".catalog-single .product-shopping-actions").forEach(i=>{if(i.querySelector(".product-actions-wrapper"))return;const c=document.createElement("div");c.classList.add("product-actions-wrapper"),i.appendChild(c);const o=i.querySelector(".product-shopping-actions-addtoquicklist");o&&c.appendChild(o);const g=i.querySelector(".product-compare-action");g&&c.appendChild(g)})},r=()=>{document.querySelectorAll(".custom-product-text").forEach(i=>{var c,o;(o=(c=i.closest(".catalog-single"))==null?void 0:c.querySelector(".product-shopping-actions > .product-shopping-actions-row:first-child"))==null||o.insertAdjacentElement("afterend",i)}),document.querySelectorAll(".prod-desc-link").forEach(i=>{i.addEventListener("click",c=>{var g;c.preventDefault();const o=(g=i.closest(".catalog-single"))==null?void 0:g.querySelector(".productdescription_container");o&&o.scrollIntoView({behavior:"smooth"})})}),document.querySelectorAll(".prod-spec-link").forEach(i=>{i.addEventListener("click",c=>{var g;c.preventDefault();const o=(g=i.closest(".catalog-single"))==null?void 0:g.querySelector(".productspecs_container");o&&o.scrollIntoView({behavior:"smooth"})})})},a=()=>{document.querySelectorAll(".catalog-single .product-shopping-actions").forEach(i=>{const c=i.querySelector(".save.with-value"),o=i.querySelector(".live-inventory-v2-wrapper"),g=i.querySelector(".product-shopping-actions-row:first-child");if((c||o)&&g){const p=document.createElement("div");p.classList.add("stock-sale-wrapper"),o&&p.appendChild(o),c&&p.appendChild(c),g.insertAdjacentElement("afterbegin",p)}})},d=()=>{document.querySelectorAll(".page-content .panel-collapse").forEach(i=>{const c=i.querySelector(".panel-body"),o=i.getBoundingClientRect().height;((c==null?void 0:c.getBoundingClientRect().height)||0)>o?i.classList.add("accordion-read-more"):i.classList.remove("accordion-read-more"),i.querySelector(".show-more-btn-wrapper")||(i.insertAdjacentHTML("beforeend",`
See
`),i.querySelector(".show-more-btn-wrapper").addEventListener("click",()=>{i.classList.toggle("show-more")}))})},l=()=>{document.querySelectorAll(".catalog-single .product-summary").forEach(i=>{var o;i.querySelector(".product-indicators .non-returnable")||(o=i.querySelector(".custom-product-text .is-returnable"))==null||o.classList.remove("hide")})},s=()=>{const i=document.querySelector(".pdp-lead-time");if(!i)return;const c=document.querySelector(".product-shopping-actions"),o=(c==null?void 0:c.getAttribute("data-leadtime"))||0,g={"out-of-stock":"Low Stock - Contact us for ETA",0:"Contact us for ETA",1:"1 - 2 working days delivery",2:"2 - 3 working days delivery",5:"5 working days delivery",7:"7 working days delivery",10:"10 working days delivery"},p=typeof window.leadTimeData=="object"?window.leadTimeData:g;let m=p[0],v=!1;const u=document.querySelector(".product-shopping-actions .live-inventory-v2-shipping.out-stock");if(u&&u.textContent.includes("Low Stock")){v=!0,m=p["out-of-stock"]||"Low Stock - Contact us for ETA",i.innerHTML=m;return}o!==0&&(!v&&o&&Object.keys(p).forEach(f=>{f===o&&(m=p[f])}),i.innerHTML=m)};document.addEventListener("DOMContentLoaded",()=>{e(),n(),t(),r(),d(),l(),setTimeout(()=>{d()},1e3)}),document.addEventListener("live-pricing-done",()=>{a(),setTimeout(()=>{s()},200)}),window.addEventListener("resize",()=>{d()})})();(()=>{const e=()=>{const a=document.querySelector(".mobile-configurator-ghost"),d=document.querySelector(".custom-configurator:not(.mobile-configurator-ghost)");if(!a||!d)return;const l=()=>{let c='
';const o=d.querySelector('[data-type="col"]');o&&(c+=`

Choose Your Colour

`,o.querySelectorAll('input[type="radio"]').forEach(m=>{const v=m.parentElement.querySelector(".label-colour"),u=m.parentElement.getAttribute("data-colour");let f="";if(v){const y=v.getAttribute("style");y?f=y:v.style.background&&(f=`background: ${v.style.background};`)}c+=`
`}),c+="
");const g=d.querySelector('[data-type="place"]');g&&(c+=`

Choose Your Logo Placement

Tap to select/deselect placement options.

`,g.querySelectorAll('input[type="checkbox"]').forEach(m=>{const v=g.querySelector(`label[for="${m.id}"]`),u=v?v.querySelector("img"):null;c+=`
`}),c+="
"),d.querySelector('[data-type="file"]')&&(c+=`

Upload Your Logo

📁 Tap to upload your logo

JPG, PNG, WEBP, PSD, AI, PDF

`),d.querySelectorAll("select").forEach(m=>{var y;const v=m.closest(".custom-configurator-section"),u=v.getAttribute("data-type"),f=((y=v.querySelector("h4"))==null?void 0:y.textContent)||"Select Option";c+=`

${f}

"}),c+="
",a.querySelector(".mobile-configurator-message").insertAdjacentHTML("afterend",c)},s=()=>{a.querySelectorAll(".mobile-sync-colour").forEach(o=>{o.addEventListener("click",()=>{const g=o.getAttribute("data-sync-value"),p=d.querySelector(`input[type="radio"][value="${g}"]`);p&&(p.checked=!0,p.dispatchEvent(new Event("change",{bubbles:!0}))),a.querySelectorAll(".mobile-sync-colour").forEach(m=>{m.classList.remove("mobile-selected")}),o.classList.add("mobile-selected")})}),a.querySelectorAll(".mobile-sync-placement").forEach(o=>{o.addEventListener("click",()=>{const g=o.getAttribute("data-sync-value"),p=d.querySelector(`input[type="checkbox"][value="${g}"]`);p&&(p.checked=!p.checked,p.dispatchEvent(new Event("change",{bubbles:!0}))),o.classList.toggle("mobile-selected")})});const c=a.querySelector(".mobile-sync-file");c&&c.addEventListener("click",()=>{const o=d.querySelector("#logo-upload-input");o&&o.click()}),a.querySelectorAll(".mobile-sync-dropdown").forEach(o=>{o.addEventListener("change",()=>{const g=o.value,p=o.getAttribute("data-sync-select"),m=d.querySelector(`select[name="${p}"]`);m&&(m.value=g,m.dispatchEvent(new Event("change",{bubbles:!0})))})})},i=()=>{d.addEventListener("change",()=>{setTimeout(()=>{const c=d.querySelector('input[type="radio"]:checked');if(a.querySelectorAll(".mobile-sync-colour").forEach(o=>{o.classList.remove("mobile-selected")}),c){const o=a.querySelector(`.mobile-sync-colour[data-sync-value="${c.value}"]`);o&&o.classList.add("mobile-selected")}a.querySelectorAll(".mobile-sync-placement").forEach(o=>o.classList.remove("mobile-selected")),d.querySelectorAll('input[type="checkbox"]:checked').forEach(o=>{const g=a.querySelector(`.mobile-sync-placement[data-sync-value="${o.value}"]`);g&&g.classList.add("mobile-selected")}),d.querySelectorAll("select").forEach(o=>{if(o.value){const g=o.name,p=a.querySelector(`[data-sync-select="${g}"]`);p&&(p.value=o.value)}})},10)})};l(),s(),i()},n=()=>{let a=document.querySelectorAll(".custom-configurator-summary");if(!a.length){const s=document.createElement("div");s.classList.add("custom-configurator-summary"),document.querySelectorAll(".product-shopping-actions-addtocart").forEach(i=>{var c,o,g;i.insertAdjacentElement("beforebegin",s.cloneNode(!0)),(c=i.querySelector(".live-inventory-v2-add-to-cart-wrapper"))==null||c.classList.add("custom-configurator-add-to-cart-wrapper"),(o=i.querySelector(".live-inventory-v2-add-to-cart-wrapper"))==null||o.insertAdjacentHTML("afterbegin",` `),(g=i.querySelector(".custom-configurator-add-to-cart"))==null||g.addEventListener("click",()=>{var p;i.closest(".product-shopping-actions-row").querySelector(".unselected")?(i.closest(".product-shopping-actions-row").querySelector(".custom-configurator-summary").classList.add("show-incomplete"),i.closest(".product-shopping-actions-row").querySelector(".custom-configurator-summary").classList.add("shake-horizontal"),setTimeout(()=>{i.closest(".product-shopping-actions-row").querySelector(".custom-configurator-summary").classList.remove("shake-horizontal")},500)):(p=i.querySelector(".btn-add-to-cart"))==null||p.click()})}),a=document.querySelectorAll(".custom-configurator-summary")}a.forEach(s=>{s.innerHTML=""});const d=[];document.querySelectorAll(".custom-configurator-section:not(.mobile-sync-section)").forEach(s=>{var o,g,p;const i=s.getAttribute("data-type");let c="";switch(i){case"col":c=((o=s.querySelector("input:checked"))==null?void 0:o.value)||"",a.forEach(m=>{var v;m.insertAdjacentHTML("beforeend",`
${c||"Select colour"}
`)});break;case"place":c=Array.from(s.querySelectorAll("input:checked")).map(m=>m.value).join("|"),a.forEach(m=>{let v=0;s.querySelectorAll("input:checked").forEach(u=>{const f=u.value;m.insertAdjacentHTML("beforeend",`
${f}
${f}
`),v+=1}),v===0&&m.insertAdjacentHTML("beforeend",`
No placement selected
Select placement
`)});break;case"file":c=((g=s.querySelector("a"))==null?void 0:g.href)||"",a.forEach(m=>{const v=s.querySelector(".uploaded a");if(v){const u=v.href.split(".").pop().toLowerCase(),y={pdf:"https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/icons/file-pdf.svg",psd:"https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/icons/file-psd.svg",ai:"https://eu.evocdn.io/dealer/1102/content/media/My_Theme/2025/icons/file-ai.svg"}[u]||v.href;m.insertAdjacentHTML("beforeend",`
${v.innerText}
Logo Added
`)}else m.insertAdjacentHTML("beforeend",`
No logo uploaded
Upload logo
`)});break;default:c=((p=s.querySelector("select"))==null?void 0:p.value)||"",a.forEach(m=>{m.insertAdjacentHTML("beforeend",`
${c}
${c||"No selection"}
`)});break}d.push({[i]:c})}),document.querySelectorAll(".lineref").forEach(s=>{s.setAttribute("value",JSON.stringify(d))}),document.querySelectorAll(".product-shopping-actions-addtocart").forEach(s=>{var i;(i=s.closest(".product-shopping-actions-row"))!=null&&i.querySelector(".unselected")?s.classList.remove("show-add-to-cart"):s.classList.add("show-add-to-cart")})},t=a=>{const d=[];return a.querySelectorAll(":scope > li").forEach(l=>{const s={text:l.childNodes[0].nodeValue.trim()},i=l.querySelector("ul");i&&(s.children=t(i)),d.push(s)}),d},r=(a,d)=>{const l=new FormData;l.append("file",a),$.ajax({method:"post",url:"/ajax/upload-file",data:l,processData:!1,contentType:!1}).then(s=>{if(s.status==="success"){const{filepath:i}=s.data,c=new FileReader;c.readAsDataURL(a),c.onloadend=function(){return function(){d.innerHTML=`

Uploaded: ${a.name}

`,(i.endsWith(".png")||i.endsWith(".jpg")||i.endsWith(".jpeg")||i.endsWith(".webp"))&&d.insertAdjacentHTML("beforeend",` ${a.name} `),n()}}()}})};(()=>{if(!document.querySelector(".ex-product"))return;const a=document.querySelector(".product-description custom-html");if(!a)return;const d="Custom Configurator",l=a.innerHTML,s=l.indexOf(d);if(s!==-1){const m=l.substring(0,s),v=l.substring(s);a.innerHTML=`${m}
${v}
`}const i=document.querySelector(".custom-configurator-data ul");if(!i)return;const c=i?t(i):[];let o='
',g="";c.forEach(m=>{var v;switch(m.text){case"Type":g=m.children[0].text;break;case"Title":o+=`

${m.children[0].text}

`;break;case"Colour":o+='
',o+="

Choose Your Colour

",o+='
',m.children.forEach(u=>{let f="";u.children?f=u.children[0].text:f=(window.customConfiguratorColour||{})[u.text.toLowerCase()]||"",o+=`
`,o+=``,o+=``,o+=`
`,o+="
"}),o+="
",o+="
";break;case"Logo Placement":{const u=window.customConfiguratorPlacement||{};o+='
',o+="

Choose Your Logo Placement

",o+="

Select all that apply.

",o+='
',m.children.forEach(f=>{var T;const y=f.text.toLowerCase(),h=u[g.toLowerCase()]||{},E=u.globalFallback||"",M=((T=h.positions)==null?void 0:T[y])||h.fallback||E;o+=`
`,o+=``,o+=``,o+="
"}),o+="
",o+="
";break}case"Logo Upload":{o+='
',o+="

Upload Your Logo

",o+=`

Drag 'n' drop your file here, or click to select file.

JPG, JPEG, PNG, WEBP, PSD, AI, PDF

`,o+="
",setTimeout(()=>{const u=document.getElementById("logo-upload-box"),f=document.getElementById("logo-upload-input");u.addEventListener("dragover",y=>{y.preventDefault(),u.classList.add("dragging")}),u.addEventListener("dragleave",()=>{u.classList.remove("dragging")}),u.addEventListener("drop",y=>{if(y.preventDefault(),u.classList.remove("dragging"),y.dataTransfer&&y.dataTransfer.files.length>0){const h=y.dataTransfer.files[0];r(h,u)}else console.error("No files were dropped or e.dataTransfer is undefined.")}),u.addEventListener("click",()=>{f.click()}),f.addEventListener("change",y=>{const h=y.target.files[0];h&&r(h,u)})},0);break}default:{const u=m.text.toLowerCase().substring(0,6).replace(/\s+/g,"");o+=`
`,o+=`

Choose Your ${m.text}

`,o+=`",o+="
";break}}}),o+="
",document.querySelector(".product-main-row").insertAdjacentHTML("afterend",o);const p=document.querySelectorAll(".product-main-row");p.length>1&&(p[1].insertAdjacentHTML("afterend",`

Configure your workwear options below. Your selections will be synchronized.

`),e()),document.querySelectorAll(".custom-configurator-section:not(.mobile-sync-section)").forEach(m=>{m.addEventListener("change",()=>{n()})}),document.querySelectorAll(".product-shopping-actions-addtocart").forEach(m=>{m.insertAdjacentHTML("beforeend",'')}),n()})()})();(()=>{if(!document.querySelector(".ex-product"))return;const e=document.querySelector(".product-shopping-actions"),n=(u,f)=>u?typeof u=="number"?u:typeof u=="object"&&u[f]?u[f]:!1:!1,t=u=>{if(!u)return!1;if(typeof u=="number")return u;if(typeof u=="object"){const f=Object.values(u).filter(h=>typeof h=="number");if(f.length===0)return!1;const y=f.reduce((h,E)=>h+E,0);return Math.round(y/f.length)}return!1},r=()=>{const u=document.createElement("div");return u.className="modal fade ink-toner-comparison-modal",u.id="inkTonerComparisonModal",u.setAttribute("tabindex","-1"),u.setAttribute("role","dialog"),u.setAttribute("aria-labelledby","inkTonerComparisonModalLabel"),u.innerHTML=` `,u},a=(u,f="GBP")=>{if(!u.price||!u.pageYield)return null;const y=t(u.pageYield);if(!y)return null;const h=typeof u.pageYield=="object",E=u.price/y*100,M=E<2?E.toFixed(2):E.toFixed(0);let T="p";f==="EUR"&&(T="c"),f==="USD"&&(T="¢");const _=h?"avg. ":"",L=document.createElement("div");return L.className="ink-toner-price-per-page",L.innerHTML=`${_}${M}${T} per page`,L},d=u=>{if(!u.colours||!u.pageYield||!u.category)return null;const f='',y=document.createElement("div");y.className="ink-toner-yield-card";const h=document.createElement("h4");h.className="yield-card-title",h.textContent=`This ${u.category} cartridge yields:`,y.appendChild(h);const E=document.createElement("div");return E.className="yield-colors-container",u.colours.forEach(M=>{const T=document.createElement("div");T.className="yield-color-item",T.setAttribute("data-color",M);const _=n(u.pageYield,M),L=_?_.toLocaleString():"N/A";T.innerHTML=`${f}${L} pages`,E.appendChild(T)}),y.appendChild(E),y},l=(u,f,y,h)=>{const E=A=>A?A.outerHTML:"",M=d(f),T={...y,colours:f.colours,category:f.category},_=d(T),L=a(f,h),O=a(y,h),H=` `,P=` `,w=u.querySelector(".comparison-original .comparison-product-content"),b=u.querySelector(".comparison-compatible .comparison-product-content");if(w&&(w.innerHTML=H,f.addToCartElement)){const A=f.addToCartElement.querySelector(".btn-add-to-cart");if(A){const q=document.createElement("div");q.className="modal-add-to-cart-wrapper buttons group";const k=document.createElement("div");k.className="quantity-input-wrapper",k.innerHTML=` `;const j=A.cloneNode(!0);q.appendChild(k),q.appendChild(j),w.appendChild(q);const I=k.querySelector(".inputquantity"),D=k.querySelector(".quantity-input-decrement"),x=k.querySelector(".quantity-input-increment");I.addEventListener("input",()=>{const S=Math.max(1,parseInt(I.value,10)||1);I.value=S}),D.addEventListener("click",()=>{const S=parseInt(I.value,10)||1,N=Math.max(1,S-1);I.value=N}),x.addEventListener("click",()=>{const N=(parseInt(I.value,10)||1)+1;I.value=N})}}if(b&&(b.innerHTML=P,y.addToCartElement)){const A=y.addToCartElement.querySelector(".btn-add-to-cart");if(A){const q=document.createElement("div");q.className="modal-add-to-cart-wrapper buttons group";const k=document.createElement("div");k.className="quantity-input-wrapper",k.innerHTML=` `;const j=A.cloneNode(!0);q.appendChild(k),q.appendChild(j),b.appendChild(q);const I=k.querySelector(".inputquantity"),D=k.querySelector(".quantity-input-decrement"),x=k.querySelector(".quantity-input-increment");I.addEventListener("input",()=>{const S=Math.max(1,parseInt(I.value,10)||1);I.value=S}),D.addEventListener("click",()=>{const S=parseInt(I.value,10)||1,N=Math.max(1,S-1);I.value=N}),x.addEventListener("click",()=>{const N=(parseInt(I.value,10)||1)+1;I.value=N})}}},s=(u,f,y="GBP")=>{let h=document.getElementById("inkTonerComparisonModal");h||(h=r(),document.body.appendChild(h)),l(h,u,f,y),window.$&&window.$.fn.modal&&window.$(h).modal("show")},i=u=>{const f=()=>{let b="";if(e&&e.classList.length>0){const A=Array.from(e.classList).find(q=>q.startsWith("category_"));if(A){const q=A.replace("category_","");u.forEach(k=>{Object.entries(k).forEach(([j,I])=>{I===q&&(b=j)})})}}return b||!1},y=()=>{const b=document.querySelector(".attr_100249");if(!b)return!1;const A=b.querySelector("p");if(!A)return!1;const q=A.textContent.trim().toLowerCase();return q==="compatible"?"compatible":q==="original"?"original":!1},h=()=>{const b=document.querySelector(".attr_100920")||document.querySelector(".attr_101467");if(!b)return!1;const A=b.querySelector("p");if(!A)return!1;const q=A.textContent.trim(),k=/(\d[\d,]*)\s*(Black|Colour|CMY|Tri-Colour|Cyan|Magenta|Yellow)/gi,j=[...q.matchAll(k)];if(j.length>1){const S={};let N=!1;if(j.forEach(B=>{const F=parseInt(B[1].replace(/,/g,""),10),U=B[2].toLowerCase();Number.isNaN(F)||(N=!0,U==="black"?S.black=F:U==="colour"||U==="cmy"||U==="tri-colour"?(S.cyan=F,S.magenta=F,S.yellow=F):U==="cyan"?S.cyan=F:U==="magenta"?S.magenta=F:U==="yellow"&&(S.yellow=F))}),N)return S}const I=q.match(/(\d[\d,]*)\s*x\s*(\d+)/i);if(I){const S=parseInt(I[1].replace(/,/g,""),10),N=parseInt(I[2],10);if(!Number.isNaN(S)&&N===3)return{cyan:S,magenta:S,yellow:S}}const D=q.match(/[\d,]+/);if(!D)return!1;const x=parseInt(D[0].replace(/,/g,""),10);return Number.isNaN(x)?!1:x},E=()=>{const b=document.querySelector(".attr_100242");if(!b)return!1;const A=b.querySelector("p");if(!A)return!1;const q=A.textContent.trim().toLowerCase(),k=[];return q.includes("multipack")||q.includes("black/colour cartridge")?["black","cyan","magenta","yellow"]:q.includes("colour cartridge")?["cyan","magenta","yellow"]:(q.includes("black")&&k.push("black"),q.includes("cyan")&&k.push("cyan"),q.includes("magenta")&&k.push("magenta"),q.includes("yellow")&&k.push("yellow"),k.length>0?k:!1)},M=()=>{if(!e)return!1;const b=e.querySelector(".has-price");if(!b)return!1;const q=b.textContent.trim().match(/[\d.,]+/);if(!q)return!1;const k=parseFloat(q[0].replace(/,/g,""));return Number.isNaN(k)?!1:k},T=()=>{const b=document.querySelector(".product-summary");return b&&b.getAttribute("data-item-image")||!1},_=()=>{const b=document.querySelector(".product-summary");return b&&b.getAttribute("data-item-name")||!1},L=()=>{const b=e.querySelector(".live-inventory-v2-wrapper");return b?b.outerHTML:!1},O=()=>{const b=e.querySelector(".product-shopping-actions-prices");return b?b.innerHTML:!1},H=()=>{const b=document.querySelector(".product-summary");if(!b)return!1;const A=b.querySelector(".product-points");return A?A.innerHTML:!1},P=()=>e.querySelector(".product-shopping-actions-addtocart")||!1,w=f();return w?{category:w,type:y(),pageYield:h(),colours:E(),price:M(),image:T(),name:_(),inventoryHtml:L(),pricingHtml:O(),productPointsHtml:H(),addToCartElement:P()}:!1},c=()=>{const u=document.querySelector(".relationship-carousel-recommendations");if(!u)return!1;const f=u.querySelector(".tileparent");if(!f)return!1;const y=()=>{const I=f.querySelector(".imgthumbnail img");return I?I.getAttribute("src"):!1},h=()=>{const I=f.querySelector(".price-label.has-price");if(!I)return!1;const D=I.getAttribute("data-value");if(!D)return!1;const x=parseFloat(D);return Number.isNaN(x)?!1:x},E=()=>{const I=f.querySelector(".product-points");if(!I)return!1;const D=I.querySelectorAll("li");if(!D||D.length===0)return!1;const x=Array.from(D).find(S=>{const N=S.textContent.trim();return N.toLowerCase().includes("page yield:")||N.toLowerCase().includes("print yield:")});if(x){const S=x.textContent.trim(),N=/(\d[\d,]*)\s*(Black|Colour|CMY|Tri-Colour|Cyan|Magenta|Yellow)/gi,B=[...S.matchAll(N)];if(B.length>1){const z={};let C=!1;if(B.forEach(Y=>{const K=parseInt(Y[1].replace(/,/g,""),10),G=Y[2].toLowerCase();Number.isNaN(K)||(C=!0,G==="black"?z.black=K:G==="colour"||G==="cmy"||G==="tri-colour"?(z.cyan=K,z.magenta=K,z.yellow=K):G==="cyan"?z.cyan=K:G==="magenta"?z.magenta=K:G==="yellow"&&(z.yellow=K))}),C)return z}const F=S.match(/(\d[\d,]*)\s*x\s*(\d+)/i);if(F){const z=parseInt(F[1].replace(/,/g,""),10),C=parseInt(F[2],10);if(!Number.isNaN(z)&&C===3)return{cyan:z,magenta:z,yellow:z}}const U=S.match(/[\d,]+/);if(U){const z=parseInt(U[0].replace(/,/g,""),10);return Number.isNaN(z)?!1:z}}return!1},M=()=>{const I=f.querySelector(".product-tile-image");return I?I.getAttribute("href"):!1},T=()=>{const I=f.querySelector(".product-name a");return I?I.textContent.trim():!1},_=()=>{const I=f.querySelector(".footer-wrapper-price");return I?I.innerHTML:!1},L=()=>{const I=f.querySelector(".product-points");return I?I.innerHTML:!1},O=()=>f.querySelector(".buttons.group")||!1,H=y(),P=h(),w=E(),b=M(),A=T(),q=_(),k=L(),j=O();return P?{image:H,price:P,pageYield:w||!1,url:b||!1,name:A,pricingHtml:q,productPointsHtml:k,addToCartElement:j}:!1},o=(u,f,y="GBP",h=!1)=>{if(!u.price||!f.price)return null;const E=(u.price-f.price).toFixed(2);let M="£";y==="EUR"?M="€":y==="USD"&&(M="$");let T="p";y==="EUR"&&(T="c"),y==="USD"&&(T="¢");let _;h?(_=document.createElement("div"),_.className="ink-toner-compatible-comparison",_.style.cursor="pointer",_.addEventListener("click",()=>{s(u,f,y)})):f.url?(_=document.createElement("a"),_.href=f.url,_.className="ink-toner-compatible-comparison"):(_=document.createElement("div"),_.className="ink-toner-compatible-comparison"),_.innerHTML=`

Switch Here To Save

`;const L=document.createElement("div");L.className="comparison-inner",_.appendChild(L);const O=document.createElement("div");O.className="comparison-image",f.image&&(O.innerHTML=`Compatible Product`),L.appendChild(O);const H=document.createElement("div");H.className="comparison-content";const P=document.createElement("p");P.className="comparison-message";const w=parseFloat(E)>0;if(u.pageYield&&f.pageYield){const b=t(u.pageYield),q=(t(f.pageYield)-b)/b*100,k=q.toFixed(0),j=q>0;j&&w?P.innerHTML=`Print ${k}% more and save ${M}${E} when you switch to our brand`:j?P.innerHTML=`Print ${k}% more when you switch to our brand`:w?P.innerHTML=`Save ${M}${E} when you switch to our brand`:P.innerHTML="Save when you switch to our brand"}else w?P.innerHTML=`Save ${M}${E} when you switch to our brand`:P.innerHTML="Save when you switch to our brand";if(H.appendChild(P),f.pageYield){const b=t(f.pageYield),A=typeof f.pageYield=="object",q=f.price/b*100,k=q<2?q.toFixed(2):q.toFixed(0),j=A?"avg. ":"",I=document.createElement("p");I.className="comparison-price",I.innerHTML=`Alternatives from ${j}${k}${T} per page `,H.appendChild(I)}else{const b=document.createElement("p");b.className="comparison-price",b.innerHTML='View alternatives ',H.appendChild(b)}return L.appendChild(H),_},g=(u,f,y,h="append",E={})=>{if(!f)return 0;let M;if(typeof y=="string")M=document.querySelectorAll(y);else if(y instanceof NodeList||y instanceof HTMLCollection)M=y;else if(y instanceof HTMLElement)M=[y];else return 0;if(!M||M.length===0)return 0;let T=0;return M.forEach(_=>{const L=u(f,...Object.values(E));if(L){switch(h){case"prepend":_.insertBefore(L,_.firstChild);break;case"before":_.parentNode.insertBefore(L,_);break;case"after":_.parentNode.insertBefore(L,_.nextSibling);break;case"append":default:_.appendChild(L);break}T+=1}}),T},p=[{ink:"1000402",toner:"1000424"}],m="EUR",v=!0;document.addEventListener("live-pricing-done",()=>{setTimeout(()=>{if(document.querySelector(".ink-toner-price-per-page")||document.querySelector(".ink-toner-yield-card"))return;const u=i(p);if(u&&(g(a,u,".product-shopping-actions .has-price","after",{currency:m}),g(d,u,".product-points-wrapper","before"),u.type==="original")){const f=c();f&&g(o,u,".ink-toner-yield-card","before",{compatibleProduct:f,currency:m,useModal:v})}},200)})})();document.querySelectorAll('.customertools[data-static="true"]').forEach(e=>{e.querySelector(".nav-pills").insertAdjacentHTML("afterbegin",` `)}),document.querySelectorAll(".sidebar-mobiletools a").forEach(e=>{e.addEventListener("click",()=>{document.querySelector('.customertools[data-static="false"]').classList.toggle("open")})});(()=>{if(!document.querySelector(".ex-emptysearchresults"))return;const n=new URLSearchParams(window.location.search).get("query");n&&document.querySelectorAll(".no-search-searchterm").forEach(t=>{t.textContent=`'${n}'`}),document.querySelectorAll(".no-search-searchbar").forEach(t=>{t.appendChild(document.querySelector(".header-full .search-form").cloneNode(!0))})})();(()=>{var t;if(!document.querySelector(".ex-cart"))return;document.addEventListener("cart-load-success",()=>{setTimeout(()=>{var r,a;(r=document.querySelector(".desktop .cart-topbuttons"))==null||r.prepend(document.querySelector(".desktop .clear-cart")),(a=document.querySelector(".mobile .cart-topbuttons"))==null||a.prepend(document.querySelector(".mobile .clear-cart"))},200)},!1),document.addEventListener("cart-total-update",()=>{setTimeout(()=>{var r,a;(r=document.querySelector(".desktop .cart-topbuttons"))==null||r.prepend(document.querySelector(".desktop .clear-cart")),(a=document.querySelector(".mobile .cart-topbuttons"))==null||a.prepend(document.querySelector(".mobile .clear-cart"))},200)},!1);const n=document.querySelector(".desktop .cart-banner");n&&((t=document.querySelector(".desktop .carttotals_container"))==null||t.append(n))})();(()=>{if(!document.querySelector(".ex-blog"))return;const n=document.querySelector(".custom-grid-tools .tools-actions");if(!n)return;const t=document.querySelector(".listgrid");t&&(n.appendChild(t),n.querySelector(".listview")&&(n.querySelector(".listview").className="listview",n.querySelector(".listview").innerHTML="List"),n.querySelector(".gridview")&&(n.querySelector(".gridview").className="gridview",n.querySelector(".gridview").innerHTML="Grid"))})();window.categoryIcons&&document.querySelectorAll(".blogarchive-category").forEach(e=>{const n=e.querySelector(".blogarchive-category-name");if(!n)return;const t=n.innerText;if(window.categoryIcons[t]){const r=e.querySelector(".blogarchive-category-icon img");r&&(r.src=window.categoryIcons[t])}});(()=>{var t;if(!document.querySelector(".ex-rewards"))return;const e=document.querySelector(".reward-title"),n=document.querySelector(".rewards-hero-points");e&&n&&(e.classList.remove("col-md-12"),n.appendChild(e)),(t=document.querySelector(".custom-grid-tools .tools-actions"))==null||t.insertAdjacentElement("beforeend",document.querySelector(".sortby"))})();(()=>{const e=()=>{const n=new IntersectionObserver(r=>{r.forEach(a=>{if(a.isIntersecting){const d=a.target,l=d.querySelectorAll(".eco-grid-sustainability-goal");l.forEach((i,c)=>{setTimeout(()=>{i.classList.add("fade-in")},100*c)});const s=d.querySelector(".goals-achievements-achievements-outer");if(s){const i=s.querySelectorAll("p");i.forEach((o,g)=>{setTimeout(()=>{o.classList.add("fade-in")},100*(l.length+g))}),s.querySelectorAll(".list-check li").forEach((o,g)=>{setTimeout(()=>{o.classList.add("fade-in")},100*(l.length+i.length+g))})}n.unobserve(d)}})},{threshold:.2,rootMargin:"0px 0px -100px 0px"}),t=document.querySelector(".goals-achievements");t&&n.observe(t)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})();window.hdLoaded?console.log("layout.js already loaded"):(window.hdLoaded=!0,(()=>{if(!document.querySelector(".orderpads-wrapper"))return;const n=document.querySelector(".myaccount.quicklistsedit");if(n){n.insertAdjacentHTML("afterbegin",`
`);const a=document.querySelector(".listtools-top .sortby");document.querySelector(".quicklists-header-right").insertAdjacentElement("afterbegin",a),document.querySelector(".quicklists-header-right").insertAdjacentElement("afterbegin",document.querySelector(".gridtopleft .itemsfound")),document.querySelector(".quicklists-header-left").insertAdjacentElement("afterbegin",document.querySelector(".breadcrumb")),document.querySelector(".listtools-top").insertAdjacentElement("afterbegin",document.querySelector(".quicklist-title"))}document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent").forEach(a=>{if(n){const m=a.querySelector(".btn-update-default-qty");m&&a.querySelector(".buttons.group").insertAdjacentElement("beforeend",m);const v=a.querySelector(".actioncontent");v&&a.querySelector(".shopping-actions").insertAdjacentElement("beforeend",v);const u=a.querySelector(".delete");u&&u.insertAdjacentHTML("beforeend","Remove From Quicklist")}const d=document.createElement("div"),l=a.querySelector(".inputquantity");function s(){const m=parseInt(l.value,10)||0;l.value=m+1,l.dispatchEvent(new Event("change",{bubbles:!0}))}function i(){const m=parseInt(l.value,10)||0;m>0&&(l.value=m-1,l.dispatchEvent(new Event("change",{bubbles:!0})))}if(l){d.classList.add("quantity-wrapper"),l.insertAdjacentElement("beforebegin",d),d.appendChild(l);const m=document.createElement("button");m.classList.add("plus-btn"),m.innerHTML='',d.insertAdjacentElement("beforeend",m);const v=document.createElement("button");v.classList.add("minus-btn"),v.innerHTML='',d.insertAdjacentElement("afterbegin",v),m.addEventListener("click",s),v.addEventListener("click",i)}const c=document.createElement("div");c.classList.add("product-stock-and-actions"),a.querySelector(".shopping-actions").appendChild(c);const o=a.querySelector(".quicklist-groups-btn-wrapper");o&&c.insertAdjacentElement("beforeend",o);const g=a.querySelector(".live-inventory-v2-wrapper");g&&n?c.insertAdjacentElement("beforeend",g):g&&a.querySelector(".buttons.group").insertAdjacentElement("beforeend",g);const p=a.querySelector(".product-compare-action");p&&c.insertAdjacentElement("beforeend",p)}),document.addEventListener("live-inventory-done",()=>{console.log("live inventory has just finished running"),document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent").forEach(a=>{const d=a.querySelector(".inputquantity");if(!d){a.querySelector(".quantity-wrapper")&&(a.querySelector(".quantity-wrapper").style.display="none");return}const l=a.querySelector(".has-price");if(!l)return;let s=a.querySelector(".total-price");s||(s=document.createElement("span"),s.classList.add("total-price"),l.insertAdjacentElement("afterend",s));const i=()=>{const c=l.textContent.trim(),o=parseFloat(c.replace(/[^0-9.-]+/g,""))||0,g=parseInt(d.value,10)||0,p=o*g;p>0?s.textContent=`€${p.toFixed(2)}`:s.textContent="€0.00"};d.addEventListener("change",i),d.addEventListener("input",i),i()})},!1);const t=document.querySelectorAll(".orderpads-wrapper .productgridwidget .tileparent"),r=document.createElement("div");r.classList.add("quicklists-banner"),r.innerHTML='
Winter Banner
',t.length>=4?t[3].insertAdjacentElement("afterend",r):t.length>0&&t[t.length-1].insertAdjacentElement("afterend",r)})());(()=>{const e=document.querySelector(".inktoner-brands-slider");e&&new ce(e,{type:"loop",perPage:5,perMove:1,gap:15,pagination:!1,arrows:!0,autoplay:!0,interval:6e3,breakpoints:{1469:{perPage:4},1080:{perPage:3},600:{perPage:2},410:{perPage:1}}}).mount()})();