(()=>{const e=()=>{const n=new IntersectionObserver(t=>{t.forEach(r=>{if(r.isIntersecting){const o=r.target,d=parseInt(o.dataset.rowIndex||0,10),l=o.querySelectorAll(".col"),s=100;d%2!==0?l.forEach((i,c)=>{const a=l.length-c-1;setTimeout(()=>{i.classList.add("fade-in")},s*a)}):l.forEach((i,c)=>{setTimeout(()=>{i.classList.add("fade-in")},s*c)}),n.unobserve(o)}})},{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 Fn(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 mn(e)&&(e.msMatchesSelector||e.matches).call(e,n)}function pn(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?pn(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 Ge(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){xt(t)?e[r]=t.slice():Be(t)?e[r]=ye({},Be(e[r])?e[r]:{},t):e[r]=t})}),e}function Qt(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,o){V(e,o,r)}):oe(e,function(r){Ot(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];Ot(t)||(e.style[n]=""+t)}function Ue(e,n){ae(e,"display",n)}function vn(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function ie(e,n){return e.getAttribute(n)}function Jt(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 gn(e){return et(new DOMParser().parseFromString(e,"text/html").body)}function fe(e,n){e.preventDefault(),n&&(e.stopPropagation(),e.stopImmediatePropagation())}function yn(e,n){return e&&e.querySelector(n)}function Dt(e,n){return n?Se(e.querySelectorAll(n)):[]}function pe(e,n){me(e,n,!1)}function _t(e){return e.timeStamp}function qe(e){return he(e)?e:e?e+"px":""}var tt="splide",Ht="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 hn(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 Vt(e){return e<10?"0"+e:""+e}var Zt={};function Wn(e){return""+e+Vt(Zt[e]=(Zt[e]||0)+1)}function bn(){var e=[];function n(l,s,i,c){o(l,s,function(a,g,p){var m="addEventListener"in a,v=m?a.removeEventListener.bind(a,g,i,c):a.removeListener.bind(a,i);m?a.addEventListener(g,i,c):a.addListener(i),e.push([a,g,p,i,v])})}function t(l,s,i){o(l,s,function(c,a,g){e=e.filter(function(p){return p[0]===c&&p[1]===a&&p[2]===g&&(!i||p[3]===i)?(p[4](),!1):!0})})}function r(l,s,i){var c,a=!0;return typeof CustomEvent=="function"?c=new CustomEvent(s,{bubbles:a,detail:i}):(c=document.createEvent("CustomEvent"),c.initCustomEvent(s,a,!1,i)),l.dispatchEvent(c),c}function o(l,s,i){oe(l,function(c){c&&oe(s,function(a){a.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",en="ready",Ee="move",nt="moved",En="click",zn="active",Xn="inactive",Kn="visible",Qn="hidden",J="refresh",te="updated",ze="resize",jt="resized",Jn="drag",Zn="dragging",er="dragged",Bt="scroll",Re="scrolled",tr="overflow",Sn="destroy",nr="arrows:mounted",rr="arrows:updated",or="pagination:mounted",ar="pagination:updated",An="navigation:mounted",Ln="autoplay:play",ir="autoplay:playing",qn="autoplay:pause",wn="lazyload:loaded",Tn="sk",Cn="sh",mt="ei";function Q(e){var n=e?e.event.bus:document.createDocumentFragment(),t=bn();function r(d,l){t.bind(n,Je(d).join(" "),function(s){l.apply(l,xt(s.detail)?s.detail:[])})}function o(d){t.dispatch(n,d,Se(arguments,1))}return e&&e.event.on(Sn,t.destroy),Ge(t,{bus:n,on:r,off:W(t.unbind,n),emit:o})}function vt(e,n,t,r){var o=Date.now,d,l=0,s,i=!0,c=0;function a(){if(!i){if(l=e?be((o()-d)/e,1):1,t&&t(l),l>=1&&(n(),d=o(),r&&++c>=r))return p();s=Kt(a)}}function g(y){y||v(),d=o()-(y?l*e:0),i=!1,s=Kt(a)}function p(){i=!0}function m(){d=o(),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 cr(e){var n=e;function t(o){n=o}function r(o){return $t(Je(o),n)}return{set:t,is:r}}function sr(e,n){var t=vt(0,e,null,1);return function(){t.isPaused()&&t.start()}}function lr(e,n,t){var r=e.state,o=t.breakpoints||{},d=t.reducedMotion||{},l=bn(),s=[];function i(){var v=t.mediaQuery==="min";Ye(o).sort(function(u,f){return v?+u-+f:+f-+u}).forEach(function(u){a(o[u],"("+(v?"min":"max")+"-width:"+u+"px)")}),a(d,Xt),g()}function c(v){v&&l.destroy()}function a(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]:{})},{});Qt(t),m(f),t.destroy?e.destroy(t.destroy==="completely"):v?(c(!0),e.mount()):u!==t.direction&&e.refresh()}function p(v){matchMedia(Xt).matches&&(v?ye(t,d):Qt(t,Ye(d)))}function m(v,u,f){ye(t,v),u&&ye(Object.getPrototypeOf(t),v),(f||!r.is(Ie))&&e.emit(te,t)}return{setup:i,destroy:c,reduce:p,set:m}}var gt="Arrow",yt=gt+"Left",ht=gt+"Right",kn=gt+"Up",_n=gt+"Down",tn="rtl",bt="ttb",Lt={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[kn,ht],ArrowRight:[_n,yt]};function ur(e,n,t){function r(d,l,s){s=s||t.direction;var i=s===tn&&!l?1:s===bt?0:-1;return Lt[d]&&Lt[d][i]||d.replace(/width|left|right/i,function(c,a){var g=Lt[c.toLowerCase()][i]||c;return a>0?g.charAt(0).toUpperCase()+g.slice(1):g})}function o(d){return d*(t.direction===tn?1:-1)}return{resolve:r,orient:o}}var ve="role",Pe="tabindex",dr="disabled",se="aria-",rt=se+"controls",Mn=se+"current",nn=se+"selected",re=se+"label",Ft=se+"labelledby",In=se+"hidden",Yt=se+"orientation",Xe=se+"roledescription",rn=se+"live",on=se+"busy",an=se+"atomic",Gt=[ve,Pe,dr,rt,Mn,re,Ft,In,Yt,Xe],de=tt+"__",Ae="is-",qt=tt,cn=de+"track",fr=de+"list",Et=de+"slide",Nn=Et+"--clone",mr=Et+"__container",Ut=de+"arrows",St=de+"arrow",Pn=St+"--prev",xn=St+"--next",At=de+"pagination",On=At+"__page",pr=de+"progress",vr=pr+"__bar",gr=de+"toggle",yr=de+"spinner",hr=de+"sr",br=Ae+"initialized",Ce=Ae+"active",$n=Ae+"prev",Rn=Ae+"next",Nt=Ae+"visible",Pt=Ae+"loading",Dn=Ae+"focus-in",Hn=Ae+"overflow",Er=[Ce,Nt,$n,Rn,Pt,Dn,Hn],Sr={slide:Et,clone:Nn,arrows:Ut,arrow:St,prev:Pn,next:xn,pagination:At,page:On,spinner:yr};function Ar(e,n){if(fn(e.closest))return e.closest(n);for(var t=e;t&&t.nodeType===1&&!Fe(t,n);)t=t.parentElement;return t}var Lr=5,sn=200,Vn="touchstart mousedown",wt="touchmove mousemove",Tt="touchend touchcancel mouseup click";function qr(e,n,t){var r=Q(e),o=r.on,d=r.bind,l=e.root,s=t.i18n,i={},c=[],a=[],g=[],p,m,v;function u(){E(),I(),h()}function f(){o(J,y),o(J,u),o(te,h),d(document,Vn+" keydown",function(A){v=A.type==="keydown"},{capture:!0}),d(l,"focusin",function(){me(l,Dn,!!v)})}function y(A){var O=Gt.concat("style");ge(c),pe(l,a),pe(p,g),ue([p,m],O),ue(l,A?O:["style",Xe])}function h(){pe(l,a),pe(p,g),a=k(qt),g=k(cn),le(l,a),le(p,g),V(l,re,t.label),V(l,Ft,t.labelledby)}function E(){p=T("."+cn),m=et(p,"."+fr),Ve(p&&m,"A track/list element is missing."),ct(c,pn(m,"."+Et+":not(."+Nn+")")),we({arrows:Ut,pagination:At,prev:Pn,next:xn,bar:vr,toggle:gr},function(A,O){i[O]=T("."+A)}),Ge(i,{root:l,track:p,list:m,slides:c})}function I(){var A=l.id||Wn(tt),O=t.role;l.id=A,p.id=p.id||A+"-track",m.id=m.id||A+"-list",!ie(l,ve)&&l.tagName!=="SECTION"&&O&&V(l,ve,O),V(l,Xe,s.carousel),V(m,ve,"presentation")}function T(A){var O=yn(l,A);return O&&Ar(O,"."+qt)===l?O:void 0}function k(A){return[A+"--"+t.type,A+"--"+t.direction,t.drag&&A+"--draggable",t.isNavigation&&A+"--nav",A===qt&&Ce]}return Ge(i,{setup:u,mount:f,destroy:y})}var Oe="slide",De="loop",ot="fade";function wr(e,n,t,r){var o=Q(e),d=o.on,l=o.emit,s=o.bind,i=e.Components,c=e.root,a=e.options,g=a.isNavigation,p=a.updateOnMove,m=a.i18n,v=a.pagination,u=a.slideFocus,f=i.Direction.resolve,y=ie(r,"style"),h=ie(r,re),E=t>-1,I=et(r,"."+mr),T;function k(){E||(r.id=c.id+"-slide"+Vt(n+1),V(r,ve,v?"tabpanel":"group"),V(r,Xe,m.slide),V(r,re,h||It(m.slideLabel,[n+1,e.length]))),A()}function A(){s(r,"click",W(l,En,D)),s(r,"keydown",W(l,Tn,D)),d([nt,Cn,Re],w),d(An,H),p&&d(Ee,P)}function O(){T=!0,o.destroy(),pe(r,Er),ue(r,Gt),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(),L(),me(r,$n,n===x-1),me(r,Rn,n===x+1)}}function b(){var x=_();x!==Jt(r,Ce)&&(me(r,Ce,x),V(r,Mn,g&&x||""),l(x?zn:Xn,D))}function L(){var x=j(),S=!x&&(!_()||E);if(e.state.is([$e,Ke])||V(r,In,S||""),V(Dt(r,a.focusableNodes||""),Pe,S?-1:""),u&&V(r,Pe,S?-1:0),x!==Jt(r,Nt)&&(me(r,Nt,x),l(x?Kn:Qn,D)),!x&&document.activeElement===r){var N=i.Slides.getAt(e.index);N&&vn(N.slide)}}function q(x,S,N){ae(N&&I||r,x,S)}function _(){var x=e.index;return x===n||a.cloneStatus&&x===t}function j(){if(e.is(ot))return _();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 M(x,S){var N=ee(x-n);return!E&&(a.rewind||e.is(De))&&(N=be(N,e.length-N)),N<=S}var D={index:n,slideIndex:t,slide:r,container:I,isClone:E,mount:k,destroy:O,update:w,style:q,isWithin:M};return D}function Tr(e,n,t){var r=Q(e),o=r.on,d=r.emit,l=r.bind,s=n.Elements,i=s.slides,c=s.list,a=[];function g(){p(),o(J,m),o(J,p)}function p(){i.forEach(function(w,b){u(w,b,-1)})}function m(){T(function(w){w.destroy()}),ge(a)}function v(){T(function(w){w.update()})}function u(w,b,L){var q=wr(e,b,L,w);q.mount(),a.push(q),a.sort(function(_,j){return _.index-j.index})}function f(w){return w?k(function(b){return!b.isClone}):a}function y(w){var b=n.Controller,L=b.toIndex(w),q=b.hasFocus()?1:t.perPage;return k(function(_){return st(_.index,L,L+q-1)})}function h(w){return k(w)[0]}function E(w,b){oe(w,function(L){if(he(L)&&(L=gn(L)),mn(L)){var q=i[b];q?Rt(L,q):Ze(c,L),le(L,t.classes.slide),O(L,W(d,ze))}}),d(J)}function I(w){Te(k(w).map(function(b){return b.slide})),d(J)}function T(w,b){f(b).forEach(w)}function k(w){return a.filter(fn(w)?w:function(b){return he(w)?Fe(b.slide,w):$t(Je(w),b.index)})}function A(w,b,L){T(function(q){q.style(w,b,L)})}function O(w,b){var L=Dt(w,"img"),q=L.length;q?L.forEach(function(_){l(_,"load error",function(){--q||b()})}):b()}function H(w){return w?i.length:a.length}function P(){return a.length>t.perPage}return{mount:g,destroy:m,update:v,register:u,get:f,getIn:y,getAt:h,add:E,remove:I,forEach:T,filter:k,style:A,getLength:H,isEnough:P}}function Cr(e,n,t){var r=Q(e),o=r.on,d=r.bind,l=r.emit,s=n.Slides,i=n.Direction.resolve,c=n.Elements,a=c.root,g=c.track,p=c.list,m=s.getAt,v=s.style,u,f,y;function h(){E(),d(window,"resize load",sr(W(l,ze))),o([te,J],E),o(ze,I)}function E(){u=t.direction===bt,ae(a,"maxWidth",qe(t.width)),ae(g,i("paddingLeft"),T(!1)),ae(g,i("paddingRight"),T(!0)),I(!0)}function I(D){var x=ne(a);(D||f.width!==x.width||f.height!==x.height)&&(ae(g,"height",k()),v(i("marginRight"),qe(t.gap)),v("width",O()),v("height",H(),!0),f=x,l(jt),y!==(y=M())&&(me(a,Hn,y),l(tr,y)))}function T(D){var x=t.padding,S=i(D?"right":"left");return x&&qe(x[S]||(Be(x)?0:x))||"0px"}function k(){var D="";return u&&(D=A(),Ve(D,"height or heightRatio is missing."),D="calc("+D+" - "+T(!1)+" - "+T(!0)+")"),D}function A(){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():A())}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:_()):0}function L(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:_())}return 0}function q(D){return L(e.length-1)-L(0)+b(0,D)}function _(){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 M(){return e.is(ot)||q(!0)>w()}return{mount:h,resize:I,listSize:w,slideSize:b,sliderSize:q,totalSize:L,getPadding:j,isOverflow:M}}var kr=2;function _r(e,n,t){var r=Q(e),o=r.on,d=n.Elements,l=n.Slides,s=n.Direction.resolve,i=[],c;function a(){o(J,g),o([te,ze],m),(c=f())&&(v(c),n.Layout.resize(!0))}function g(){p(),a()}function p(){Te(i),ge(i),r.destroy()}function m(){var y=f();c!==y&&(cB)&&(w(),O(P(q(),S>B),!0)),l($e),d(Ee,N,B,S),E.start(N,function(){l(xe),d(nt,N,B,S),F&&F()})}function A(S){O(L(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(Cn)}}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-M(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,G=0;G=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(M(!0));return B||F}return{mount:I,move:k,jump:A,translate:O,shift:P,cancel:w,toIndex:b,toPosition:L,getPosition:q,getLimit:M,exceededLimit:x,reposition:T}}function Ir(e,n,t){var r=Q(e),o=r.on,d=r.emit,l=n.Move,s=l.getPosition,i=l.getLimit,c=l.toPosition,a=n.Slides,g=a.isEnough,p=a.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,I=h,T,k,A;function O(){H(),o([te,J,mt],H),o(jt,P)}function H(){T=p(!0),k=t.perMove,A=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 U=L(C),Z=M(U);Z>-1&&(Y||Z!==h)&&(B(Z),l.move(U,Z,I,K))}}function b(C,Y,K,U){n.Scroll.scroll(C,Y,K,function(){var Z=M(l.toIndex(s()));B(m?be(Z,E):Z),U&&U()})}function L(C){var Y=h;if(he(C)){var K=C.match(/([+\-<>])(\d+)?/)||[],U=K[1],Z=K[2];U==="+"||U==="-"?Y=_(h+ +(""+U+(+Z||1)),h):U===">"?Y=Z?x(+Z):f(!0):U==="<"&&(Y=y(!0))}else Y=v?C:_e(C,0,E);return Y}function q(C,Y){var K=k||(G()?1:A),U=_(h+K*(C?-1:1),h,!(k||G()));return U===-1&&u&&!hn(s(),i(!C),1)?C?0:E:Y?U:M(U)}function _(C,Y,K){if(g()||G()){var U=j(C);U!==C&&(Y=C,C=U,K=!1),C<0||C>E?!k&&(st(0,C,Y,!0)||st(E,Y,C,!0))?C=x(S(C)):v?C=K?C<0?-(T%A||A):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(G()?C:A*C,0,E)}function S(C){return G()?be(C,E):ft((C>=E?T-1:C)/A)}function N(C){var Y=l.toIndex(C);return u?_e(Y,0,E):Y}function B(C){C!==h&&(I=h,h=C)}function F(C){return C?I:h}function G(){return!Qe(t.focus)||t.isNavigation}function z(){return e.state.is([$e,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:G,isBusy:z}}var Nr="http://www.w3.org/2000/svg",Pr="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 xr(e,n,t){var r=Q(e),o=r.on,d=r.bind,l=r.emit,s=t.classes,i=t.i18n,c=n.Elements,a=n.Controller,g=c.arrows,p=c.track,m=g,v=c.prev,u=c.next,f,y,h={};function E(){T(),o(te,I)}function I(){k(),E()}function T(){var b=t.arrows;b&&!(v&&u)&&H(),v&&u&&(Ge(h,{prev:v,next:u}),Ue(m,b?"":"none"),le(m,y=Ut+"--"+t.direction),b&&(A(),w(),V([v,u],rt,p.id),l(nr,v,u)))}function k(){r.destroy(),pe(m,y),f?(Te(g?[v,u]:m),v=u=null):ue([v,u],Gt)}function A(){o([ke,nt,J,Re,mt],w),d(u,"click",W(O,">")),d(v,"click",W(O,"<"))}function O(b){a.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 L=' `,r=document.createElement("div");r.innerHTML=t.trim();const o=r.firstChild;return document.body.appendChild(o),o}function un(){let e=null;for(let o=0;o{uo(n,"true",so),o.remove()}),setTimeout(()=>{o.modal("show")},100)}else r.remove()}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",un):un();document.querySelectorAll(".accordion-title").forEach(e=>{e.addEventListener("click",n=>{n.target.parentElement.classList.toggle("accordion-open")})});(()=>{const e=document.querySelector(".timeline-carousel");if(!e)return;const n=document.querySelectorAll(".timeline-slide");n.forEach(r=>{e.querySelector(".splide__list").appendChild(r)});const t=new ce(e.querySelector(".splide"),{type:"slide",perPage:4,focus:0,gap:"40px",pagination:!0,arrows:!0,breakpoints:{1300:{perPage:4},1024:{perPage:3},768:{perPage:2},550:{perPage:1}}});t.on("pagination:mounted",r=>{r.list.classList.add("splide__pagination--custom"),r.items.forEach(o=>{const l=n[o.page].getAttribute("data-date");o.button.textContent=l||String(o.page+1)})}),t.mount()})();document.querySelectorAll(".team-card-readmore-wrapper").forEach(e=>{var n;(n=e.querySelector("button"))==null||n.addEventListener("click",()=>{var t;(t=e.querySelector(".team-card-readmore"))==null||t.classList.toggle("isOpen"),e.querySelector("button").innerText=e.querySelector(".team-card-readmore").classList.contains("isOpen")?"Read Less":"Read More"})});(()=>{var n;const e=document.querySelector(".meet-the-team-grid");e&&(document.querySelectorAll(".meet-the-team-grid .col").forEach(t=>{e.querySelector(".row").appendChild(t)}),(n=document.querySelectorAll(".meet-the-team-grid"))==null||n.forEach((t,r)=>{r>0&&t.remove()}))})();(()=>{if(!document.querySelector(".home-hero-slide"))return;const n=document.querySelectorAll(".home-hero-slide");if(!n)return;const t=document.createElement("div");t.classList.add("home-hero-wrapper","splide"),t.setAttribute("aria-label","Hero Slider");const r=document.createElement("div");r.classList.add("splide__track");const o=document.createElement("div");o.classList.add("splide__list"),n.forEach(s=>{const i=s.innerHTML;s.remove();const c=document.createElement("div");c.classList.add("splide__slide");let a="";a+=`
`,a+=`${s.getAttribute(`,s.getAttribute("data-background-type")==="Video"&&(a+=``),a+="
",a+='
',a+=`
`,a+=i,a+=`
${s.getAttribute("data-name")}
`,a+="
",a+="
",c.innerHTML=a,o.appendChild(c)}),r.appendChild(o),t.appendChild(r),t.insertAdjacentHTML("beforeend",`
    `),document.querySelector(".zonetop").prepend(t);const d=document.querySelector(".home-hero-wrapper");if(!d)return;const l=new ce(d,{type:"loop",heightRatio:.5,pagination:!0,arrows:!1,autoplay:!0,interval:8e3,pauseOnHover:!1,pauseOnFocus:!1});l.on("pagination:mounted",s=>{s.list.classList.add("splide__pagination--custom"),s.items.forEach(i=>{const c=n[i.page],a=c.getAttribute("data-slide-icon"),g=c.getAttribute("data-name");if(a){const p=document.createElement("img");p.src=a,p.alt=c.getAttribute("data-name"),p.classList.add("home-hero-slide-icon"),p.width=40,i.button.appendChild(p)}if(g){const p=document.createElement("span");p.textContent=g,p.classList.add("home-hero-slide-title"),i.button.appendChild(p)}})}),l.mount()})();document.querySelectorAll(".custom-logo-slider").forEach(e=>{e.querySelectorAll("[data-logo]").forEach(t=>{const r=t.getAttribute("data-logo");r?t.insertAdjacentHTML("afterbegin",`Logo`):t.remove()});const n=e.querySelector(".splide");n&&new ce(n,{type:"loop",perPage:7,perMove:1,pagination:!1,arrows:!1,autoplay:!0,interval:2e3,pauseOnHover:!1,pauseOnFocus:!1,breakpoints:{1440:{perPage:6},1200:{perPage:5},992:{perPage:4},768:{perPage:3},576:{perPage:2},480:{perPage:1}}}).mount()}),document.querySelectorAll(".custom-logo-slider").forEach(e=>{const n=new IntersectionObserver(t=>{t.forEach(r=>{if(r.isIntersecting){console.log("Logo slider in view");const o=Array.from(r.target.querySelectorAll("img"));for(let d=o.length-1;d>0;d--){const l=Math.floor(Math.random()*(d+1));[o[d],o[l]]=[o[l],o[d]]}o.forEach((d,l)=>{setTimeout(()=>{d.classList.add("loaded")},l*10)}),n.unobserve(r.target)}})},{threshold:.1});n.observe(e)});document.querySelectorAll(".logo-grid").forEach(e=>{const n=new IntersectionObserver(t=>{t.forEach(r=>{if(r.isIntersecting){const o=Array.from(r.target.querySelectorAll(".logo-grid__image"));for(let d=o.length-1;d>0;d-=1){const l=Math.floor(Math.random()*(d+1));[o[d],o[l]]=[o[l],o[d]]}o.forEach((d,l)=>{setTimeout(()=>{d.classList.add("loaded")},l*100)}),n.unobserve(r.target)}})},{threshold:.1,rootMargin:"0px 0px -50px 0px"});n.observe(e)});$(document).ready(()=>{const e=$("#aboutUsVideoModal iframe").attr("src");$("#aboutUsVideoModal").on("show.bs.modal",()=>{$("#aboutUsVideoModal iframe").attr("src",e)}),$("#aboutUsVideoModal").on("hide.bs.modal",()=>{$("#aboutUsVideoModal iframe").attr("src","")})});document.querySelectorAll(".team-slider").forEach(e=>{const n=e.querySelector(".splide");if(!n)return;const t={type:"loop",pagination:!1,arrows:!0,autoplay:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!1,perPage:5,perMove:1,breakpoints:{1200:{perPage:4},992:{perPage:3},768:{perPage:2},576:{perPage:1}}};new ce(n,t).mount()});(()=>{const e=document.querySelector(".testimonials-sticky");if(!e)return;document.body.insertAdjacentHTML("beforeend",` `);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"),o=r.querySelector(".modal-body"),d=e.querySelector(".testimonial-carousel");o.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}},o={1470:{perPage:1},1080:{perPage:2},720:{perPage:1}};new ce(e,{...t,perPage:n?3:2,breakpoints:n?r:o}).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 o=r.target;o.classList.add("section-loaded"),n.unobserve(o)}})},{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((o,d)=>{d===r&&o.classList.toggle("image-swap")})},4e3);const t=new IntersectionObserver(r=>{r.forEach(o=>{o.isIntersecting&&(o.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 o=r.target,d=o.querySelectorAll(".landing-intro__feature"),l=300;d.forEach((i,c)=>{setTimeout(()=>{i.classList.add("fade-in")},l*(c+1))});const s=o.querySelector(".landing-intro__main");s&&setTimeout(()=>{s.classList.add("fade-in")},50),n.unobserve(o)}})},{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))})},o=()=>{e(),n(),t(),r()};document.addEventListener("DOMContentLoaded",()=>{o()}),document.addEventListener("product-loadmore-success",d=>{console.log("More products loaded",d.detail),o()},!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 a=document.createElement("div");a.classList.add("product-summary-inner"),c.appendChild(a);const g=i.querySelector(".product-configurable-wrapper"),p=i.querySelector(".product-points-wrapper"),m=i.querySelector(".product-links-wrapper");g&&a.appendChild(g),p&&a.appendChild(p),m&&a.appendChild(m);const v=document.querySelector(".desktop .productaddtocart_container");v&&c.appendChild(v)},n=()=>{document.querySelectorAll(".pdp-minibanner").forEach(i=>{var c,a;(a=(c=i.closest(".catalog-single"))==null?void 0:c.querySelector(".product-summary-inner"))==null||a.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 a=i.querySelector(".product-shopping-actions-addtoquicklist");a&&c.appendChild(a);const g=i.querySelector(".product-compare-action");g&&c.appendChild(g)})},r=()=>{document.querySelectorAll(".custom-product-text").forEach(i=>{var c,a;(a=(c=i.closest(".catalog-single"))==null?void 0:c.querySelector(".product-shopping-actions > .product-shopping-actions-row:first-child"))==null||a.insertAdjacentElement("afterend",i)}),document.querySelectorAll(".prod-desc-link").forEach(i=>{i.addEventListener("click",c=>{var g;c.preventDefault();const a=(g=i.closest(".catalog-single"))==null?void 0:g.querySelector(".productdescription_container");a&&a.scrollIntoView({behavior:"smooth"})})}),document.querySelectorAll(".prod-spec-link").forEach(i=>{i.addEventListener("click",c=>{var g;c.preventDefault();const a=(g=i.closest(".catalog-single"))==null?void 0:g.querySelector(".productspecs_container");a&&a.scrollIntoView({behavior:"smooth"})})})},o=()=>{document.querySelectorAll(".catalog-single .product-shopping-actions").forEach(i=>{const c=i.querySelector(".save.with-value"),a=i.querySelector(".live-inventory-v2-wrapper"),g=i.querySelector(".product-shopping-actions-row:first-child");if((c||a)&&g){const p=document.createElement("div");p.classList.add("stock-sale-wrapper"),a&&p.appendChild(a),c&&p.appendChild(c),g.insertAdjacentElement("afterbegin",p)}})},d=()=>{document.querySelectorAll(".page-content .panel-collapse").forEach(i=>{const c=i.querySelector(".panel-body"),a=i.getBoundingClientRect().height;((c==null?void 0:c.getBoundingClientRect().height)||0)>a?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 a;i.querySelector(".product-indicators .non-returnable")||(a=i.querySelector(".custom-product-text .is-returnable"))==null||a.classList.remove("hide")})},s=()=>{const i=document.querySelector(".pdp-lead-time");if(!i)return;const c=document.querySelector(".product-shopping-actions"),a=(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}a!==0&&(!v&&a&&Object.keys(p).forEach(f=>{f===a&&(m=p[f])}),i.innerHTML=m)};document.addEventListener("DOMContentLoaded",()=>{e(),n(),t(),r(),d(),l(),setTimeout(()=>{d()},1e3)}),document.addEventListener("live-pricing-done",()=>{o(),setTimeout(()=>{s()},200)}),window.addEventListener("resize",()=>{d()})})();(()=>{const e=()=>{const o=document.querySelector(".mobile-configurator-ghost"),d=document.querySelector(".custom-configurator:not(.mobile-configurator-ghost)");if(!o||!d)return;const l=()=>{let c='
    ';const a=d.querySelector('[data-type="col"]');a&&(c+=`

    Choose Your Colour

    `,a.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+="
    ",o.querySelector(".mobile-configurator-message").insertAdjacentHTML("afterend",c)},s=()=>{o.querySelectorAll(".mobile-sync-colour").forEach(a=>{a.addEventListener("click",()=>{const g=a.getAttribute("data-sync-value"),p=d.querySelector(`input[type="radio"][value="${g}"]`);p&&(p.checked=!0,p.dispatchEvent(new Event("change",{bubbles:!0}))),o.querySelectorAll(".mobile-sync-colour").forEach(m=>{m.classList.remove("mobile-selected")}),a.classList.add("mobile-selected")})}),o.querySelectorAll(".mobile-sync-placement").forEach(a=>{a.addEventListener("click",()=>{const g=a.getAttribute("data-sync-value"),p=d.querySelector(`input[type="checkbox"][value="${g}"]`);p&&(p.checked=!p.checked,p.dispatchEvent(new Event("change",{bubbles:!0}))),a.classList.toggle("mobile-selected")})});const c=o.querySelector(".mobile-sync-file");c&&c.addEventListener("click",()=>{const a=d.querySelector("#logo-upload-input");a&&a.click()}),o.querySelectorAll(".mobile-sync-dropdown").forEach(a=>{a.addEventListener("change",()=>{const g=a.value,p=a.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(o.querySelectorAll(".mobile-sync-colour").forEach(a=>{a.classList.remove("mobile-selected")}),c){const a=o.querySelector(`.mobile-sync-colour[data-sync-value="${c.value}"]`);a&&a.classList.add("mobile-selected")}o.querySelectorAll(".mobile-sync-placement").forEach(a=>a.classList.remove("mobile-selected")),d.querySelectorAll('input[type="checkbox"]:checked').forEach(a=>{const g=o.querySelector(`.mobile-sync-placement[data-sync-value="${a.value}"]`);g&&g.classList.add("mobile-selected")}),d.querySelectorAll("select").forEach(a=>{if(a.value){const g=a.name,p=o.querySelector(`[data-sync-select="${g}"]`);p&&(p.value=a.value)}})},10)})};l(),s(),i()},n=()=>{let o=document.querySelectorAll(".custom-configurator-summary");if(!o.length){const s=document.createElement("div");s.classList.add("custom-configurator-summary"),document.querySelectorAll(".product-shopping-actions-addtocart").forEach(i=>{var c,a,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"),(a=i.querySelector(".live-inventory-v2-add-to-cart-wrapper"))==null||a.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()})}),o=document.querySelectorAll(".custom-configurator-summary")}o.forEach(s=>{s.innerHTML=""});const d=[];document.querySelectorAll(".custom-configurator-section:not(.mobile-sync-section)").forEach(s=>{var a,g,p;const i=s.getAttribute("data-type");let c="";switch(i){case"col":c=((a=s.querySelector("input:checked"))==null?void 0:a.value)||"",o.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("|"),o.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)||"",o.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)||"",o.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=o=>{const d=[];return o.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=(o,d)=>{const l=new FormData;l.append("file",o),$.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(o),c.onloadend=function(){return function(){d.innerHTML=`

    Uploaded: ${o.name}

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

    ${m.children[0].text}

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

    Choose Your Colour

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

    Choose Your Logo Placement

    ",a+="

    Select all that apply.

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

    Upload Your Logo

    ",a+=`

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

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

    `,a+="
    ",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,"");a+=`
    `,a+=`

    Choose Your ${m.text}

    `,a+=`",a+="
    ";break}}}),a+="
    ",document.querySelector(".product-main-row").insertAdjacentHTML("afterend",a);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},o=(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,I=E<2?E.toFixed(2):E.toFixed(0);let T="p";f==="EUR"&&(T="c"),f==="USD"&&(T="¢");const k=h?"avg. ":"",A=document.createElement("div");return A.className="ink-toner-price-per-page",A.innerHTML=`${k}${I}${T} per page`,A},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(I=>{const T=document.createElement("div");T.className="yield-color-item",T.setAttribute("data-color",I);const k=n(u.pageYield,I),A=k?k.toLocaleString():"N/A";T.innerHTML=`${f}${A} pages`,E.appendChild(T)}),y.appendChild(E),y},l=(u,f,y,h)=>{const E=L=>L?L.outerHTML:"",I=d(f),T={...y,colours:f.colours,category:f.category},k=d(T),A=o(f,h),O=o(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 L=f.addToCartElement.querySelector(".btn-add-to-cart");if(L){const q=document.createElement("div");q.className="modal-add-to-cart-wrapper buttons group";const _=document.createElement("div");_.className="quantity-input-wrapper",_.innerHTML=` `;const j=L.cloneNode(!0);q.appendChild(_),q.appendChild(j),w.appendChild(q);const M=_.querySelector(".inputquantity"),D=_.querySelector(".quantity-input-decrement"),x=_.querySelector(".quantity-input-increment");M.addEventListener("input",()=>{const S=Math.max(1,parseInt(M.value,10)||1);M.value=S}),D.addEventListener("click",()=>{const S=parseInt(M.value,10)||1,N=Math.max(1,S-1);M.value=N}),x.addEventListener("click",()=>{const N=(parseInt(M.value,10)||1)+1;M.value=N})}}if(b&&(b.innerHTML=P,y.addToCartElement)){const L=y.addToCartElement.querySelector(".btn-add-to-cart");if(L){const q=document.createElement("div");q.className="modal-add-to-cart-wrapper buttons group";const _=document.createElement("div");_.className="quantity-input-wrapper",_.innerHTML=` `;const j=L.cloneNode(!0);q.appendChild(_),q.appendChild(j),b.appendChild(q);const M=_.querySelector(".inputquantity"),D=_.querySelector(".quantity-input-decrement"),x=_.querySelector(".quantity-input-increment");M.addEventListener("input",()=>{const S=Math.max(1,parseInt(M.value,10)||1);M.value=S}),D.addEventListener("click",()=>{const S=parseInt(M.value,10)||1,N=Math.max(1,S-1);M.value=N}),x.addEventListener("click",()=>{const N=(parseInt(M.value,10)||1)+1;M.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 L=Array.from(e.classList).find(q=>q.startsWith("category_"));if(L){const q=L.replace("category_","");u.forEach(_=>{Object.entries(_).forEach(([j,M])=>{M===q&&(b=j)})})}}return b||!1},y=()=>{const b=document.querySelector(".attr_100249");if(!b)return!1;const L=b.querySelector("p");if(!L)return!1;const q=L.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 L=b.querySelector("p");if(!L)return!1;const q=L.textContent.trim(),_=/(\d[\d,]*)\s*(Black|Colour|CMY|Tri-Colour|Cyan|Magenta|Yellow)/gi,j=[...q.matchAll(_)];if(j.length>1){const S={};let N=!1;if(j.forEach(B=>{const F=parseInt(B[1].replace(/,/g,""),10),G=B[2].toLowerCase();Number.isNaN(F)||(N=!0,G==="black"?S.black=F:G==="colour"||G==="cmy"||G==="tri-colour"?(S.cyan=F,S.magenta=F,S.yellow=F):G==="cyan"?S.cyan=F:G==="magenta"?S.magenta=F:G==="yellow"&&(S.yellow=F))}),N)return S}const M=q.match(/(\d[\d,]*)\s*x\s*(\d+)/i);if(M){const S=parseInt(M[1].replace(/,/g,""),10),N=parseInt(M[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 L=b.querySelector("p");if(!L)return!1;const q=L.textContent.trim().toLowerCase(),_=[];return q.includes("multipack")||q.includes("black/colour cartridge")?["black","cyan","magenta","yellow"]:q.includes("colour cartridge")?["cyan","magenta","yellow"]:(q.includes("black")&&_.push("black"),q.includes("cyan")&&_.push("cyan"),q.includes("magenta")&&_.push("magenta"),q.includes("yellow")&&_.push("yellow"),_.length>0?_:!1)},I=()=>{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 _=parseFloat(q[0].replace(/,/g,""));return Number.isNaN(_)?!1:_},T=()=>{const b=document.querySelector(".product-summary");return b&&b.getAttribute("data-item-image")||!1},k=()=>{const b=document.querySelector(".product-summary");return b&&b.getAttribute("data-item-name")||!1},A=()=>{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 L=b.querySelector(".product-points");return L?L.innerHTML:!1},P=()=>e.querySelector(".product-shopping-actions-addtocart")||!1,w=f();return w?{category:w,type:y(),pageYield:h(),colours:E(),price:I(),image:T(),name:k(),inventoryHtml:A(),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 M=f.querySelector(".imgthumbnail img");return M?M.getAttribute("src"):!1},h=()=>{const M=f.querySelector(".price-label.has-price");if(!M)return!1;const D=M.getAttribute("data-value");if(!D)return!1;const x=parseFloat(D);return Number.isNaN(x)?!1:x},E=()=>{const M=f.querySelector(".product-points");if(!M)return!1;const D=M.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),U=Y[2].toLowerCase();Number.isNaN(K)||(C=!0,U==="black"?z.black=K:U==="colour"||U==="cmy"||U==="tri-colour"?(z.cyan=K,z.magenta=K,z.yellow=K):U==="cyan"?z.cyan=K:U==="magenta"?z.magenta=K:U==="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 G=S.match(/[\d,]+/);if(G){const z=parseInt(G[0].replace(/,/g,""),10);return Number.isNaN(z)?!1:z}}return!1},I=()=>{const M=f.querySelector(".product-tile-image");return M?M.getAttribute("href"):!1},T=()=>{const M=f.querySelector(".product-name a");return M?M.textContent.trim():!1},k=()=>{const M=f.querySelector(".footer-wrapper-price");return M?M.innerHTML:!1},A=()=>{const M=f.querySelector(".product-points");return M?M.innerHTML:!1},O=()=>f.querySelector(".buttons.group")||!1,H=y(),P=h(),w=E(),b=I(),L=T(),q=k(),_=A(),j=O();return P?{image:H,price:P,pageYield:w||!1,url:b||!1,name:L,pricingHtml:q,productPointsHtml:_,addToCartElement:j}:!1},a=(u,f,y="GBP",h=!1)=>{if(!u.price||!f.price)return null;const E=(u.price-f.price).toFixed(2);let I="£";y==="EUR"?I="€":y==="USD"&&(I="$");let T="p";y==="EUR"&&(T="c"),y==="USD"&&(T="¢");let k;h?(k=document.createElement("div"),k.className="ink-toner-compatible-comparison",k.style.cursor="pointer",k.addEventListener("click",()=>{s(u,f,y)})):f.url?(k=document.createElement("a"),k.href=f.url,k.className="ink-toner-compatible-comparison"):(k=document.createElement("div"),k.className="ink-toner-compatible-comparison"),k.style.setProperty("--b","6px"),k.style.setProperty("--m","2"),k.innerHTML=` `;const A=document.createElement("div");A.className="comparison-inner",k.appendChild(A);const O=document.createElement("div");O.className="comparison-image",f.image&&(O.innerHTML=`Compatible Product`),A.appendChild(O);const H=document.createElement("div");H.className="comparison-content",H.innerHTML='

    Switch Here To Save

    ';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,_=q.toFixed(0),j=q>0;j&&w?P.innerHTML=`Print ${_}% more and save ${I}${E} when you switch to our brand`:j?P.innerHTML=`Print ${_}% more when you switch to our brand`:w?P.innerHTML=`Save ${I}${E} when you switch to our brand`:P.innerHTML="Save when you switch to our brand"}else w?P.innerHTML=`Save ${I}${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),L=typeof f.pageYield=="object",q=f.price/b*100,_=q<2?q.toFixed(2):q.toFixed(0),j=L?"avg. ":"",M=document.createElement("p");M.className="comparison-price",M.innerHTML=`Alternatives from ${j}${_}${T} per page `,H.appendChild(M)}else{const b=document.createElement("p");b.className="comparison-price",b.innerHTML='View alternatives ',H.appendChild(b)}return A.appendChild(H),k},g=(u,f,y,h="append",E={})=>{if(!f)return 0;let I;if(typeof y=="string")I=document.querySelectorAll(y);else if(y instanceof NodeList||y instanceof HTMLCollection)I=y;else if(y instanceof HTMLElement)I=[y];else return 0;if(!I||I.length===0)return 0;let T=0;return I.forEach(k=>{const A=u(f,...Object.values(E));if(A){switch(h){case"prepend":k.insertBefore(A,k.firstChild);break;case"before":k.parentNode.insertBefore(A,k);break;case"after":k.parentNode.insertBefore(A,k.nextSibling);break;case"append":default:k.appendChild(A);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(o,u,".product-shopping-actions .has-price","after",{currency:m}),g(d,u,".product-points-wrapper","before"),u.type==="original")){const f=c();f&&g(a,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,o;(r=document.querySelector(".desktop .cart-topbuttons"))==null||r.prepend(document.querySelector(".desktop .clear-cart")),(o=document.querySelector(".mobile .cart-topbuttons"))==null||o.prepend(document.querySelector(".mobile .clear-cart"))},200)},!1),document.addEventListener("cart-total-update",()=>{setTimeout(()=>{var r,o;(r=document.querySelector(".desktop .cart-topbuttons"))==null||r.prepend(document.querySelector(".desktop .clear-cart")),(o=document.querySelector(".mobile .cart-topbuttons"))==null||o.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(o=>{if(o.isIntersecting){const d=o.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((a,g)=>{setTimeout(()=>{a.classList.add("fade-in")},100*(l.length+g))}),s.querySelectorAll(".list-check li").forEach((a,g)=>{setTimeout(()=>{a.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 o=document.querySelector(".listtools-top .sortby");document.querySelector(".quicklists-header-right").insertAdjacentElement("afterbegin",o),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(o=>{if(n){const m=o.querySelector(".btn-update-default-qty");m&&o.querySelector(".buttons.group").insertAdjacentElement("beforeend",m);const v=o.querySelector(".actioncontent");v&&o.querySelector(".shopping-actions").insertAdjacentElement("beforeend",v);const u=o.querySelector(".delete");u&&u.insertAdjacentHTML("beforeend","Remove From Quicklist")}const d=document.createElement("div"),l=o.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"),o.querySelector(".shopping-actions").appendChild(c);const a=o.querySelector(".quicklist-groups-btn-wrapper");a&&c.insertAdjacentElement("beforeend",a);const g=o.querySelector(".live-inventory-v2-wrapper");g&&n?c.insertAdjacentElement("beforeend",g):g&&o.querySelector(".buttons.group").insertAdjacentElement("beforeend",g);const p=o.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(o=>{const d=o.querySelector(".inputquantity");if(!d){o.querySelector(".quantity-wrapper")&&(o.querySelector(".quantity-wrapper").style.display="none");return}const l=o.querySelector(".has-price");if(!l)return;let s=o.querySelector(".total-price");s||(s=document.createElement("span"),s.classList.add("total-price"),l.insertAdjacentElement("afterend",s));const i=()=>{const c=l.textContent.trim(),a=parseFloat(c.replace(/[^0-9.-]+/g,""))||0,g=parseInt(d.value,10)||0,p=a*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()})();