mp-design-system 2.0.70 → 2.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/js/app.js +4 -8
- package/dist/assets/js/app.js.map +2 -2
- package/dist/assets/js/mp-academy.js +4 -8
- package/dist/assets/js/mp-academy.js.map +2 -2
- package/dist/assets/js/mp-brand.js +4 -8
- package/dist/assets/js/mp-brand.js.map +2 -2
- package/dist/assets/js/mp-events.js +4 -8
- package/dist/assets/js/mp-events.js.map +2 -2
- package/dist/assets/js/mp-mystore.js +4 -8
- package/dist/assets/js/mp-mystore.js.map +2 -2
- package/dist/assets/js/mp-support.js +4 -8
- package/dist/assets/js/mp-support.js.map +2 -2
- package/dist/assets/js/mp-www.js +8 -8
- package/dist/assets/js/mp-www.js.map +2 -2
- package/dist/assets/js/mp-www2.js +4 -8
- package/dist/assets/js/mp-www2.js.map +2 -2
- package/dist/build/js/app.js +1 -1
- package/dist/build/js/app.js.map +2 -2
- package/dist/build/js/mp-academy.js +1 -1
- package/dist/build/js/mp-academy.js.map +2 -2
- package/dist/build/js/mp-brand.js +1 -1
- package/dist/build/js/mp-brand.js.map +2 -2
- package/dist/build/js/mp-events.js +1 -1
- package/dist/build/js/mp-events.js.map +2 -2
- package/dist/build/js/mp-mystore.js +1 -1
- package/dist/build/js/mp-mystore.js.map +2 -2
- package/dist/build/js/mp-support.js +1 -1
- package/dist/build/js/mp-support.js.map +2 -2
- package/dist/build/js/mp-www.js +4 -4
- package/dist/build/js/mp-www.js.map +2 -2
- package/dist/build/js/mp-www2.js +1 -1
- package/dist/build/js/mp-www2.js.map +2 -2
- package/dist/build/scss/main.css +1 -1
- package/dist/build/scss/main.css.map +1 -1
- package/dist/build/scss/mp-academy-legacy.css +1 -1
- package/dist/build/scss/mp-academy-legacy.css.map +1 -1
- package/dist/build/scss/mp-events-legacy.css +1 -1
- package/dist/build/scss/mp-events-legacy.css.map +1 -1
- package/dist/build/scss/mp-mystore-legacy.css +1 -1
- package/dist/build/scss/mp-mystore-legacy.css.map +1 -1
- package/dist/build/scss/mp-support-legacy.css +1 -1
- package/dist/build/scss/mp-support-legacy.css.map +1 -1
- package/dist/build/scss/mp-www-legacy.css +1 -1
- package/dist/build/scss/mp-www-legacy.css.map +1 -1
- package/dist/build/scss/mp-www.css +1 -1
- package/dist/build/scss/mp-www.css.map +1 -1
- package/dist/build/scss/mp-www2-legacy.css +1 -1
- package/dist/build/scss/mp-www2-legacy.css.map +1 -1
- package/package.json +1 -1
package/dist/build/js/app.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(()=>{var Lo=Object.create;var kn=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var Ao=Object.getOwnPropertyNames;var xo=Object.getPrototypeOf,Co=Object.prototype.hasOwnProperty;var ko=(r,i)=>()=>(i||r((i={exports:{}}).exports,i),i.exports);var Mo=(r,i,c,d)=>{if(i&&typeof i=="object"||typeof i=="function")for(let h of Ao(i))!Co.call(r,h)&&h!==c&&kn(r,h,{get:()=>i[h],enumerable:!(d=_o(i,h))||d.enumerable});return r};var To=(r,i,c)=>(c=r!=null?Lo(xo(r)):{},Mo(i||!r||!r.__esModule?kn(c,"default",{value:r,enumerable:!0}):c,r));var qn=ko((We,je)=>{function Tn(r,i){for(var c=0;c<i.length;c++){var d=i[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(r,d.key,d)}}function Oo(r,i,c){i&&Tn(r.prototype,i),c&&Tn(r,c),Object.defineProperty(r,"prototype",{writable:!1})}var Be,we;Be=We,we=function(){"use strict";var r="(prefers-reduced-motion: reduce)",i=4,c=5,d={CREATED:1,MOUNTED:2,IDLE:3,MOVING:i,SCROLLING:c,DRAGGING:6,DESTROYED:7};function h(t){t.length=0}function x(t,o,e){return Array.prototype.slice.call(t,o,e)}function k(t){return t.bind.apply(t,[null].concat(x(arguments,1)))}function W(){}var R=setTimeout;function j(t){return requestAnimationFrame(t)}function et(t,o){return typeof o===t}function ot(t){return!Ht(t)&&et("object",t)}var st=Array.isArray,mt=k(et,"function"),ft=k(et,"string"),Lt=k(et,"undefined");function Ht(t){return t===null}function ae(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function $(t){return st(t)?t:[t]}function Y(t,o){$(t).forEach(o)}function pt(t,o){return-1<t.indexOf(o)}function se(t,o){return t.push.apply(t,$(o)),t}function bt(t,o,e){t&&Y(o,function(n){n&&t.classList[e?"add":"remove"](n)})}function gt(t,o){bt(t,ft(o)?o.split(" "):o,!0)}function $t(t,o){Y(o,t.appendChild.bind(t))}function Ee(t,o){Y(t,function(e){var n=(o||e).parentNode;n&&n.insertBefore(e,o)})}function Gt(t,o){return ae(t)&&(t.msMatchesSelector||t.matches).call(t,o)}function Xe(t,o){return t=t?x(t.children):[],o?t.filter(function(e){return Gt(e,o)}):t}function Vt(t,o){return o?Xe(t,o)[0]:t.firstElementChild}var Xt=Object.keys;function Mt(t,o,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&o(t[n],n)})}function Yt(t){return x(arguments,1).forEach(function(o){Mt(o,function(e,n){t[n]=o[n]})}),t}function _t(t){return x(arguments,1).forEach(function(o){Mt(o,function(e,n){st(e)?t[n]=e.slice():ot(e)?t[n]=_t({},ot(t[n])?t[n]:{},e):t[n]=e})}),t}function Ye(t,o){Y(o||Xt(t),function(e){delete t[e]})}function yt(t,o){Y(t,function(e){Y(o,function(n){e&&e.removeAttribute(n)})})}function D(t,o,e){ot(o)?Mt(o,function(n,a){D(t,a,n)}):Y(t,function(n){Ht(e)||e===""?yt(n,o):n.setAttribute(o,String(e))})}function Nt(t,o,e){return t=document.createElement(t),o&&(ft(o)?gt:D)(t,o),e&&$t(e,t),t}function ht(t,o,e){if(Lt(e))return getComputedStyle(t)[o];Ht(e)||(t.style[o]=""+e)}function Ut(t,o){ht(t,"display",o)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,o){return t.getAttribute(o)}function Ke(t,o){return t&&t.classList.contains(o)}function ut(t){return t.getBoundingClientRect()}function Tt(t){Y(t,function(o){o&&o.parentNode&&o.parentNode.removeChild(o)})}function Qe(t){return Vt(new DOMParser().parseFromString(t,"text/html").body)}function wt(t,o){t.preventDefault(),o&&(t.stopPropagation(),t.stopImmediatePropagation())}function Je(t,o){return t&&t.querySelector(o)}function Se(t,o){return o?x(t.querySelectorAll(o)):[]}function Et(t,o){bt(t,o,!1)}function Le(t){return t.timeStamp}function qt(t){return ft(t)?t:t?t+"px":""}var Kt="splide",_e="data-"+Kt;function Qt(t,o){if(!t)throw new Error("["+Kt+"] "+(o||""))}var At=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,rt=Math.abs;function Ze(t,o,e){return rt(t-o)<e}function de(t,s,e,n){var a=At(s,e),s=le(s,e);return n?a<t&&t<s:a<=t&&t<=s}function Dt(t,a,e){var n=At(a,e),a=le(a,e);return At(le(n,t),a)}function Ae(t){return(0<t)-(t<0)}function xe(t,o){return Y(o,function(e){t=t.replace("%s",""+e)}),t}function Ce(t){return t<10?"0"+t:""+t}var tn={};function en(){var t=[];function o(e,n,a){Y(e,function(s){s&&Y(n,function(p){p.split(" ").forEach(function(u){u=u.split("."),a(s,u[0],u[1])})})})}return{bind:function(e,n,a,s){o(e,n,function(p,u,y){var v="addEventListener"in p,m=v?p.removeEventListener.bind(p,u,a,s):p.removeListener.bind(p,a);v?p.addEventListener(u,a,s):p.addListener(a),t.push([p,u,y,a,m])})},unbind:function(e,n,a){o(e,n,function(s,p,u){t=t.filter(function(y){return!!(y[0]!==s||y[1]!==p||y[2]!==u||a&&y[3]!==a)||(y[4](),!1)})})},dispatch:function(e,n,a){var s;return typeof CustomEvent=="function"?s=new CustomEvent(n,{bubbles:!0,detail:a}):(s=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!1,a),e.dispatchEvent(s),s},destroy:function(){t.forEach(function(e){e[4]()}),h(t)}}}var Pt="mounted",xt="move",Zt="moved",nn="click",no="active",oo="inactive",ro="visible",io="hidden",Q="refresh",it="updated",te="resize",ke="resized",Me="scroll",zt="scrolled",on="destroy",rn="navigation:mounted",cn="autoplay:play",an="autoplay:pause",sn="lazyload:loaded",ln="sk",un="sh";function X(t){var o=t?t.event.bus:document.createDocumentFragment(),e=en();return t&&t.event.on(on,e.destroy),Yt(e,{bus:o,on:function(n,a){e.bind(o,$(n).join(" "),function(s){a.apply(a,st(s.detail)?s.detail:[])})},off:k(e.unbind,o),emit:function(n){e.dispatch(o,n,x(arguments,1))}})}function fe(t,o,e,n){var a,s,p=Date.now,u=0,y=!0,v=0;function m(){if(!y){if(u=t?At((p()-a)/t,1):1,e&&e(u),1<=u&&(o(),a=p(),n&&++v>=n))return A();s=j(m)}}function A(){y=!0}function S(){s&&cancelAnimationFrame(s),y=!(s=u=0)}return{start:function(b){b||S(),a=p()-(b?u*t:0),y=!1,s=j(m)},rewind:function(){a=p(),u=0,e&&e(u)},pause:A,cancel:S,set:function(b){t=b},isPaused:function(){return y}}}function co(t){var o=t;return{set:function(e){o=e},is:function(e){return pt($(e),o)}}}var It="Arrow",pe=It+"Left",he=It+"Right",Rt=It+"Up",It=It+"Down",ve="ttb",Te={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Rt,he],ArrowRight:[It,pe]},St="role",Ft="tabindex",U="aria-",ee=U+"controls",dn=U+"current",fn=U+"selected",dt=U+"label",qe=U+"labelledby",pn=U+"hidden",Pe=U+"orientation",ne=U+"roledescription",hn=U+"live",vn=U+"busy",mn=U+"atomic",Ie=[St,Ft,"disabled",ee,dn,dt,qe,pn,Pe,ne],U=Kt+"__",Oe=Kt,gn=U+"track",ao=U+"list",me=U+"slide",yn=me+"--clone",so=me+"__container",He=U+"arrows",ge=U+"arrow",bn=ge+"--prev",wn=ge+"--next",ye=U+"pagination",En=ye+"__page",lo=U+"progress__bar",uo=U+"toggle",fo=U+"sr",Ot="is-active",Sn="is-prev",Ln="is-next",Ne="is-visible",De="is-loading",_n="is-focus-in",An="is-overflow",po=[Ot,Ne,Sn,Ln,De,_n,An],xn="touchstart mousedown",ze="touchmove mousemove",Re="touchend touchcancel mouseup click",Bt="slide",Wt="loop",oe="fade";function ho(t,o,e,n){var a,s=X(t),p=s.on,u=s.emit,y=s.bind,v=t.Components,m=t.root,A=t.options,S=A.isNavigation,b=A.updateOnMove,C=A.i18n,L=A.pagination,l=A.slideFocus,f=v.Direction.resolve,P=vt(n,"style"),T=vt(n,dt),M=-1<e,w=Vt(n,"."+so);function O(){var g=t.splides.map(function(E){return E=E.splide.Components.Slides.getAt(o),E?E.slide.id:""}).join(" ");D(n,dt,xe(C.slideX,(M?e:o)+1)),D(n,ee,g),D(n,St,l?"button":""),l&&yt(n,ne)}function B(){a||z()}function z(){var g,E,q;a||(g=t.index,(q=H())!==Ke(n,Ot)&&(bt(n,Ot,q),D(n,dn,S&&q||""),u(q?no:oo,_)),q=(function(){if(t.is(oe))return H();var F=ut(v.Elements.track),J=ut(n),V=f("left",!0),lt=f("right",!0);return ue(F[V])<=Jt(J[V])&&ue(J[lt])<=Jt(F[lt])})(),E=!q&&(!H()||M),t.state.is([i,c])||D(n,pn,E||""),D(Se(n,A.focusableNodes||""),Ft,E?-1:""),l&&D(n,Ft,E?-1:0),q!==Ke(n,Ne)&&(bt(n,Ne,q),u(q?ro:io,_)),q||document.activeElement!==n||(E=v.Slides.getAt(t.index))&&Ue(E.slide),bt(n,Sn,o===g-1),bt(n,Ln,o===g+1))}function H(){var g=t.index;return g===o||A.cloneStatus&&g===e}var _={index:o,slideIndex:e,slide:n,container:w,isClone:M,mount:function(){M||(n.id=m.id+"-slide"+Ce(o+1),D(n,St,L?"tabpanel":"group"),D(n,ne,C.slide),D(n,dt,T||xe(C.slideLabel,[o+1,t.length]))),y(n,"click",k(u,nn,_)),y(n,"keydown",k(u,ln,_)),p([Zt,un,zt],z),p(rn,O),b&&p(xt,B)},destroy:function(){a=!0,s.destroy(),Et(n,po),yt(n,Ie),D(n,"style",P),D(n,dt,T||"")},update:z,style:function(g,E,q){ht(q&&w||n,g,E)},isWithin:function(g,E){return g=rt(g-o),(g=M||!A.rewind&&!t.is(Wt)?g:At(g,t.length-g))<=E}};return _}var vo=_e+"-interval",jt={passive:!1,capture:!0},mo={Spacebar:" ",Right:he,Left:pe,Up:Rt,Down:It};function Fe(t){return t=ft(t)?t:t.key,mo[t]||t}var Cn="keydown",re=_e+"-lazy",be=re+"-srcset",go="["+re+"], ["+be+"]",yo=[" ","Enter"],bo=Object.freeze({__proto__:null,Media:function(t,o,e){var n=t.state,a=e.breakpoints||{},s=e.reducedMotion||{},p=en(),u=[];function y(S){S&&p.destroy()}function v(S,b){b=matchMedia(b),p.bind(b,"change",m),u.push([S,b])}function m(){var S=n.is(7),b=e.direction,C=u.reduce(function(L,l){return _t(L,l[1].matches?l[0]:{})},{});Ye(e),A(C),e.destroy?t.destroy(e.destroy==="completely"):S?(y(!0),t.mount()):b!==e.direction&&t.refresh()}function A(S,b,C){_t(e,S),b&&_t(Object.getPrototypeOf(e),S),!C&&n.is(1)||t.emit(it,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(a).sort(function(b,C){return S?+b-+C:+C-+b}).forEach(function(b){v(a[b],"("+(S?"min":"max")+"-width:"+b+"px)")}),v(s,r),m()},destroy:y,reduce:function(S){matchMedia(r).matches&&(S?_t(e,s):Ye(e,Xt(s)))},set:A}},Direction:function(t,o,e){return{resolve:function(n,a,s){var p=(s=s||e.direction)!=="rtl"||a?s===ve?0:-1:1;return Te[n]&&Te[n][p]||n.replace(/width|left|right/i,function(u,y){return u=Te[u.toLowerCase()][p]||u,0<y?u.charAt(0).toUpperCase()+u.slice(1):u})},orient:function(n){return n*(e.direction==="rtl"?1:-1)}}},Elements:function(t,o,e){var n,a,s,p=X(t),u=p.on,y=p.bind,v=t.root,m=e.i18n,A={},S=[],b=[],C=[];function L(){n=P("."+gn),a=Vt(n,"."+ao),Qt(n&&a,"A track/list element is missing."),se(S,Xe(a,"."+me+":not(."+yn+")")),Mt({arrows:He,pagination:ye,prev:bn,next:wn,bar:lo,toggle:uo},function(O,B){A[B]=P("."+O)}),Yt(A,{root:v,track:n,list:a,slides:S});var M=v.id||(function(O){return""+O+Ce(tn[O]=(tn[O]||0)+1)})(Kt),w=e.role;v.id=M,n.id=n.id||M+"-track",a.id=a.id||M+"-list",!vt(v,St)&&v.tagName!=="SECTION"&&w&&D(v,St,w),D(v,ne,m.carousel),D(a,St,"presentation"),f()}function l(M){var w=Ie.concat("style");h(S),Et(v,b),Et(n,C),yt([n,a],w),yt(v,M?w:["style",ne])}function f(){Et(v,b),Et(n,C),b=T(Oe),C=T(gn),gt(v,b),gt(n,C),D(v,dt,e.label),D(v,qe,e.labelledby)}function P(M){return M=Je(v,M),M&&(function(w,O){if(mt(w.closest))return w.closest(O);for(var B=w;B&&B.nodeType===1&&!Gt(B,O);)B=B.parentElement;return B})(M,"."+Oe)===v?M:void 0}function T(M){return[M+"--"+e.type,M+"--"+e.direction,e.drag&&M+"--draggable",e.isNavigation&&M+"--nav",M===Oe&&Ot]}return Yt(A,{setup:L,mount:function(){u(Q,l),u(Q,L),u(it,f),y(document,xn+" keydown",function(M){s=M.type==="keydown"},{capture:!0}),y(v,"focusin",function(){bt(v,_n,!!s)})},destroy:l})},Slides:function(t,o,e){var n=X(t),a=n.on,s=n.emit,p=n.bind,u=(n=o.Elements).slides,y=n.list,v=[];function m(){u.forEach(function(l,f){S(l,f,-1)})}function A(){C(function(l){l.destroy()}),h(v)}function S(l,f,P){f=ho(t,f,P,l),f.mount(),v.push(f),v.sort(function(T,M){return T.index-M.index})}function b(l){return l?L(function(f){return!f.isClone}):v}function C(l,f){b(f).forEach(l)}function L(l){return v.filter(mt(l)?l:function(f){return ft(l)?Gt(f.slide,l):pt($(l),f.index)})}return{mount:function(){m(),a(Q,A),a(Q,m)},destroy:A,update:function(){C(function(l){l.update()})},register:S,get:b,getIn:function(l){var f=o.Controller,P=f.toIndex(l),T=f.hasFocus()?1:e.perPage;return L(function(M){return de(M.index,P,P+T-1)})},getAt:function(l){return L(l)[0]},add:function(l,f){Y(l,function(P){var T,M,w;ae(P=ft(P)?Qe(P):P)&&((T=u[f])?Ee(P,T):$t(y,P),gt(P,e.classes.slide),T=P,M=k(s,te),T=Se(T,"img"),(w=T.length)?T.forEach(function(O){p(O,"load error",function(){--w||M()})}):M())}),s(Q)},remove:function(l){Tt(L(l).map(function(f){return f.slide})),s(Q)},forEach:C,filter:L,style:function(l,f,P){C(function(T){T.style(l,f,P)})},getLength:function(l){return(l?u:v).length},isEnough:function(){return v.length>e.perPage}}},Layout:function(t,o,e){var n,a,s,p=(v=X(t)).on,u=v.bind,y=v.emit,v=o.Slides,m=o.Direction.resolve,A=(o=o.Elements).root,S=o.track,b=o.list,C=v.getAt,L=v.style;function l(){n=e.direction===ve,ht(A,"maxWidth",qt(e.width)),ht(S,m("paddingLeft"),P(!1)),ht(S,m("paddingRight"),P(!0)),f(!0)}function f(g){var E=ut(A);!g&&a.width===E.width&&a.height===E.height||(ht(S,"height",(function(){var q="";return n&&(Qt(q=T(),"height or heightRatio is missing."),q="calc("+q+" - "+P(!1)+" - "+P(!0)+")"),q})()),L(m("marginRight"),qt(e.gap)),L("width",e.autoWidth?null:qt(e.fixedWidth)||(n?"":M())),L("height",qt(e.fixedHeight)||(n?e.autoHeight?null:M():T()),!0),a=E,y(ke),s!==(s=_())&&(bt(A,An,s),y("overflow",s)))}function P(q){var E=e.padding,q=m(q?"right":"left");return E&&qt(E[q]||(ot(E)?0:E))||"0px"}function T(){return qt(e.height||ut(b).width*e.heightRatio)}function M(){var g=qt(e.gap);return"calc((100%"+(g&&" + "+g)+")/"+(e.perPage||1)+(g&&" - "+g)+")"}function w(){return ut(b)[m("width")]}function O(g,E){return g=C(g||0),g?ut(g.slide)[m("width")]+(E?0:H()):0}function B(F,E){var q,F=C(F);return F?(F=ut(F.slide)[m("right")],q=ut(b)[m("left")],rt(F-q)+(E?0:H())):0}function z(g){return B(t.length-1)-B(0)+O(0,g)}function H(){var g=C(0);return g&&parseFloat(ht(g.slide,m("marginRight")))||0}function _(){return t.is(oe)||z(!0)>w()}return{mount:function(){var g,E,q;l(),u(window,"resize load",(g=k(y,te),q=fe(E||0,g,null,1),function(){q.isPaused()&&q.start()})),p([it,Q],l),p(te,f)},resize:f,listSize:w,slideSize:O,sliderSize:z,totalSize:B,getPadding:function(g){return parseFloat(ht(S,m("padding"+(g?"Right":"Left"))))||0},isOverflow:_}},Clones:function(t,o,e){var n,a=X(t),s=a.on,p=o.Elements,u=o.Slides,y=o.Direction.resolve,v=[];function m(){if(s(Q,A),s([it,te],b),n=C()){var L=n,l=u.get().slice(),f=l.length;if(f){for(;l.length<L;)se(l,l);se(l.slice(-L),l.slice(0,L)).forEach(function(P,T){var M=T<L,w=(function(O,B){return O=O.cloneNode(!0),gt(O,e.classes.clone),O.id=t.root.id+"-clone"+Ce(B+1),O})(P.slide,T);M?Ee(w,l[0].slide):$t(p.list,w),se(v,w),u.register(w,T-L+(M?0:f),P.index)})}o.Layout.resize(!0)}}function A(){S(),m()}function S(){Tt(v),h(v),a.destroy()}function b(){var L=C();n!==L&&(n<L||!L)&&a.emit(Q)}function C(){var L,l=e.clones;return t.is(Wt)?Lt(l)&&(l=(L=e[y("fixedWidth")]&&o.Layout.slideSize(0))&&Jt(ut(p.track)[y("width")]/L)||e[y("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:m,destroy:S}},Move:function(t,o,e){var n,a=X(t),s=a.on,p=a.emit,u=t.state.set,y=(a=o.Layout).slideSize,v=a.getPadding,m=a.totalSize,A=a.listSize,S=a.sliderSize,b=(a=o.Direction).resolve,C=a.orient,L=(a=o.Elements).list,l=a.track;function f(){o.Controller.isBusy()||(o.Scroll.cancel(),P(t.index),o.Slides.update())}function P(_){T(B(_,!0))}function T(_,g){t.is(oe)||(g=g?_:(function(E){{var q,F;t.is(Wt)&&(q=O(E),F=q>o.Controller.getEnd(),(q<0||F)&&(E=M(E,F)))}return E})(_),ht(L,"transform","translate"+b("X")+"("+g+"px)"),_!==g&&p(un))}function M(_,g){var E=_-H(g),q=S();return _-=C(q*(Jt(rt(E)/q)||1))*(g?1:-1)}function w(){T(z(),!0),n.cancel()}function O(_){for(var g=o.Slides.get(),E=0,q=1/0,F=0;F<g.length;F++){var J=g[F].index,V=rt(B(J,!0)-_);if(!(V<=q))break;q=V,E=J}return E}function B(_,g){var E=C(m(_-1)-(_=_,(E=e.focus)==="center"?(A()-y(_,!0))/2:+E*y(_)||0));return g?(_=E,_=e.trimSpace&&t.is(Bt)?Dt(_,0,C(S(!0)-A())):_):E}function z(){var _=b("left");return ut(L)[_]-ut(l)[_]+C(v(!1))}function H(_){return B(_?o.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=o.Transition,s([Pt,ke,it,Q],f)},move:function(_,g,E,q){var F,J;_!==g&&(F=E<_,J=C(M(z(),F)),F?0<=J:J<=L[b("scrollWidth")]-ut(l)[b("width")])&&(w(),T(M(z(),E<_),!0)),u(i),p(xt,g,E,_),n.start(g,function(){u(3),p(Zt,g,E,_),q&&q()})},jump:P,translate:T,shift:M,cancel:w,toIndex:O,toPosition:B,getPosition:z,getLimit:H,exceededLimit:function(q,g){g=Lt(g)?z():g;var E=q!==!0&&C(g)<C(H(!1)),q=q!==!1&&C(g)>C(H(!0));return E||q},reposition:f}},Controller:function(t,o,e){var n,a,s,p,u=X(t),y=u.on,v=u.emit,m=o.Move,A=m.getPosition,S=m.getLimit,b=m.toPosition,C=(u=o.Slides).isEnough,L=u.getLength,l=e.omitEnd,f=t.is(Wt),P=t.is(Bt),T=k(H,!1),M=k(H,!0),w=e.start||0,O=w;function B(){a=L(!0),s=e.perMove,p=e.perPage,n=E();var I=Dt(w,0,l?n:a-1);I!==w&&(w=I,m.reposition())}function z(){n!==E()&&v("ei")}function H(I,nt){var Z=s||(V()?1:p),Z=_(w+Z*(I?-1:1),w,!(s||V()));return Z===-1&&P&&!Ze(A(),S(!I),1)?I?0:n:nt?Z:g(Z)}function _(I,nt,Z){var ct;return C()||V()?((ct=(function(tt){if(P&&e.trimSpace==="move"&&tt!==w)for(var N=A();N===b(tt,!0)&&de(tt,0,t.length-1,!e.rewind);)tt<w?--tt:++tt;return tt})(I))!==I&&(nt=I,I=ct,Z=!1),I<0||n<I?I=s||!de(0,I,nt,!0)&&!de(n,nt,I,!0)?f?Z?I<0?-(a%p||p):a:I:e.rewind?I<0?n:0:-1:q(F(I)):Z&&I!==nt&&(I=q(F(nt)+(I<nt?-1:1)))):I=-1,I}function g(I){return f?(I+a)%a||0:I}function E(){for(var I=a-(V()||f&&s?1:p);l&&0<I--;)if(b(a-1,!0)!==b(I,!0)){I++;break}return Dt(I,0,a-1)}function q(I){return Dt(V()?I:p*I,0,n)}function F(I){return V()?At(I,n):ue((n<=I?a-1:I)/p)}function J(I){I!==w&&(O=w,w=I)}function V(){return!Lt(e.focus)||e.isNavigation}function lt(){return t.state.is([i,c])&&!!e.waitForTransition}return{mount:function(){B(),y([it,Q,"ei"],B),y(ke,z)},go:function(I,nt,Z){var ct;lt()||-1<(ct=g(I=(function(tt){var N=w;{var G,K;ft(tt)?(K=tt.match(/([+\-<>])(\d+)?/)||[],G=K[1],K=K[2],G==="+"||G==="-"?N=_(w+ +(""+G+(+K||1)),w):G===">"?N=K?q(+K):T(!0):G==="<"&&(N=M(!0))):N=f?tt:Dt(tt,0,n)}return N})(I)))&&(nt||ct!==w)&&(J(ct),m.move(I,ct,O,Z))},scroll:function(I,nt,Z,ct){o.Scroll.scroll(I,nt,Z,function(){var tt=g(m.toIndex(A()));J(l?At(tt,n):tt),ct&&ct()})},getNext:T,getPrev:M,getAdjacent:H,getEnd:E,setIndex:J,getIndex:function(I){return I?O:w},toIndex:q,toPage:F,toDest:function(I){return I=m.toIndex(I),P?Dt(I,0,n):I},hasFocus:V,isBusy:lt}},Arrows:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.bind,y=s.emit,v=e.classes,m=e.i18n,A=o.Elements,S=o.Controller,b=A.arrows,C=A.track,L=b,l=A.prev,f=A.next,P={};function T(){var H=e.arrows;!H||l&&f||(L=b||Nt("div",v.arrows),l=B(!0),f=B(!1),n=!0,$t(L,[l,f]),b||Ee(L,C)),l&&f&&(Yt(P,{prev:l,next:f}),Ut(L,H?"":"none"),gt(L,a=He+"--"+e.direction),H&&(p([Pt,Zt,Q,zt,"ei"],z),u(f,"click",k(O,">")),u(l,"click",k(O,"<")),z(),D([l,f],ee,C.id),y("arrows:mounted",l,f))),p(it,M)}function M(){w(),T()}function w(){s.destroy(),Et(L,a),n?(Tt(b?[l,f]:L),l=f=null):yt([l,f],Ie)}function O(H){S.go(H,!0)}function B(H){return Qe('<button class="'+v.arrow+" "+(H?v.prev:v.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(e.arrowPath||"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")+'" />')}function z(){var H,_,g,E;l&&f&&(E=t.index,H=S.getPrev(),_=S.getNext(),g=-1<H&&E<H?m.last:m.prev,E=-1<_&&_<E?m.first:m.next,l.disabled=H<0,f.disabled=_<0,D(l,dt,g),D(f,dt,E),y("arrows:updated",l,f,H,_))}return{arrows:P,mount:T,destroy:w,update:z}},Autoplay:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.bind,y=s.emit,v=fe(e.interval,t.go.bind(t,">"),function(w){var O=A.bar;O&&ht(O,"width",100*w+"%"),y("autoplay:playing",w)}),m=v.isPaused,A=o.Elements,S=(s=o.Elements).root,b=s.toggle,C=e.autoplay,L=C==="pause";function l(){m()&&o.Slides.isEnough()&&(v.start(!e.resetProgress),a=n=L=!1,T(),y(cn))}function f(w){L=!!(w=w===void 0?!0:w),T(),m()||(v.pause(),y(an))}function P(){L||(n||a?f(!1):l())}function T(){b&&(bt(b,Ot,!L),D(b,dt,e.i18n[L?"play":"pause"]))}function M(w){w=o.Slides.getAt(w),v.set(w&&+vt(w.slide,vo)||e.interval)}return{mount:function(){C&&(e.pauseOnHover&&u(S,"mouseenter mouseleave",function(w){n=w.type==="mouseenter",P()}),e.pauseOnFocus&&u(S,"focusin focusout",function(w){a=w.type==="focusin",P()}),b&&u(b,"click",function(){L?l():f(!0)}),p([xt,Me,Q],v.rewind),p(xt,M),b&&D(b,ee,A.track.id),L||l(),T())},destroy:v.cancel,play:l,pause:f,isPaused:m}},Cover:function(t,o,e){var n=X(t).on;function a(p){o.Slides.forEach(function(u){var y=Vt(u.container||u.slide,"img");y&&y.src&&s(p,y,u)})}function s(p,u,y){y.style("background",p?'center/cover no-repeat url("'+u.src+'")':"",!0),Ut(u,p?"none":"")}return{mount:function(){e.cover&&(n(sn,k(s,!0)),n([Pt,it,Q],k(a,!0)))},destroy:k(a,!1)}},Scroll:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.emit,y=t.state.set,v=o.Move,m=v.getPosition,A=v.getLimit,S=v.exceededLimit,b=v.translate,C=t.is(Bt),L=1;function l(w,O,E,z,H){var _,g=m(),E=(T(),!E||C&&S()||(E=o.Layout.sliderSize(),_=Ae(w)*E*ue(rt(w)/E)||0,w=v.toPosition(o.Controller.toDest(w%E))+_),Ze(g,w,1));L=1,O=E?0:O||le(rt(w-g)/1.5,800),a=z,n=fe(O,f,k(P,g,w,H),1),y(c),u(Me),n.start()}function f(){y(3),a&&a(),u(zt)}function P(w,O,B,_){var H=m(),_=(w+(O-w)*(O=_,(w=e.easingFunc)?w(O):1-Math.pow(1-O,4))-H)*L;b(H+_),C&&!B&&S()&&(L*=.6,rt(_)<10&&l(A(S(!0)),600,!1,a,!0))}function T(){n&&n.cancel()}function M(){n&&!n.isPaused()&&(T(),f())}return{mount:function(){p(xt,T),p([it,Q],M)},destroy:T,scroll:l,cancel:M}},Drag:function(t,o,e){var n,a,s,p,u,y,v,m,A=X(t),S=A.on,b=A.emit,C=A.bind,L=A.unbind,l=t.state,f=o.Move,P=o.Scroll,T=o.Controller,M=o.Elements.track,w=o.Media.reduce,O=(A=o.Direction).resolve,B=A.orient,z=f.getPosition,H=f.exceededLimit,_=!1;function g(){var N=e.drag;tt(!N),p=N==="free"}function E(N){var G,K,at;y=!1,v||(G=ct(N),K=N.target,at=e.noDrag,Gt(K,"."+En+", ."+ge)||at&&Gt(K,at)||!G&&N.button||(T.isBusy()?wt(N,!0):(m=G?M:window,u=l.is([i,c]),s=null,C(m,ze,q,jt),C(m,Re,F,jt),f.cancel(),P.cancel(),V(N))))}function q(N){var G,K,at,Ct,kt;l.is(6)||(l.set(6),b("drag")),N.cancelable&&(u?(f.translate(n+lt(N)/(_&&t.is(Bt)?5:1)),kt=200<I(N),G=_!==(_=H()),(kt||G)&&V(N),y=!0,b("dragging"),wt(N)):rt(lt(kt=N))>rt(lt(kt,!0))&&(G=N,K=e.dragMinThreshold,at=ot(K),Ct=at&&K.mouse||0,at=(at?K.touch:+K)||10,u=rt(lt(G))>(ct(G)?at:Ct),wt(N)))}function F(N){var G,K,at;l.is(6)&&(l.set(3),b("dragged")),u&&(K=(function(Ct){return z()+Ae(Ct)*At(rt(Ct)*(e.flickPower||600),p?1/0:o.Layout.listSize()*(e.flickMaxPages||1))})(G=(function(Ct){if(t.is(Wt)||!_){var kt=I(Ct);if(kt&&kt<200)return lt(Ct)/kt}return 0})(G=N)),at=e.rewind&&e.rewindByDrag,w(!1),p?T.scroll(K,0,e.snap):t.is(oe)?T.go(B(Ae(G))<0?at?"<":"-":at?">":"+"):t.is(Bt)&&_&&at?T.go(H(!0)?">":"<"):T.go(T.toDest(K),!0),w(!0),wt(N)),L(m,ze,q),L(m,Re,F),u=!1}function J(N){!v&&y&&wt(N,!0)}function V(N){s=a,a=N,n=z()}function lt(N,G){return Z(N,G)-Z(nt(N),G)}function I(N){return Le(N)-Le(nt(N))}function nt(N){return a===N&&s||a}function Z(N,G){return(ct(N)?N.changedTouches[0]:N)["page"+O(G?"Y":"X")]}function ct(N){return typeof TouchEvent<"u"&&N instanceof TouchEvent}function tt(N){v=N}return{mount:function(){C(M,ze,W,jt),C(M,Re,W,jt),C(M,xn,E,jt),C(M,"click",J,{capture:!0}),C(M,"dragstart",wt),S([Pt,it],g)},disable:tt,isDragging:function(){return u}}},Keyboard:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.bind,y=s.unbind,v=t.root,m=o.Direction.resolve;function A(){var L=e.keyboard;L&&(n=L==="global"?window:v,u(n,Cn,C))}function S(){y(n,Cn)}function b(){var L=a;a=!0,R(function(){a=L})}function C(L){a||((L=Fe(L))===m(pe)?t.go("<"):L===m(he)&&t.go(">"))}return{mount:function(){A(),p(it,S),p(it,A),p(xt,b)},destroy:S,disable:function(L){a=L}}},LazyLoad:function(t,o,e){var n=X(t),a=n.on,s=n.off,p=n.bind,u=n.emit,y=e.lazyLoad==="sequential",v=[Zt,zt],m=[];function A(){h(m),o.Slides.forEach(function(l){Se(l.slide,go).forEach(function(f){var P=vt(f,re),T=vt(f,be);P===f.src&&T===f.srcset||(P=e.classes.spinner,P=Vt(T=f.parentElement,"."+P)||Nt("span",P,T),m.push([f,l,P]),f.src||Ut(f,"none"))})}),(y?L:(s(v),a(v,S),S))()}function S(){(m=m.filter(function(l){var f=e.perPage*((e.preloadPages||1)+1)-1;return!l[1].isWithin(t.index,f)||b(l)})).length||s(v)}function b(l){var f=l[0];gt(l[1].slide,De),p(f,"load error",k(C,l)),D(f,"src",vt(f,re)),D(f,"srcset",vt(f,be)),yt(f,re),yt(f,be)}function C(l,f){var P=l[0],T=l[1];Et(T.slide,De),f.type!=="error"&&(Tt(l[2]),Ut(P,""),u(sn,P,T),u(te)),y&&L()}function L(){m.length&&b(m.shift())}return{mount:function(){e.lazyLoad&&(A(),a(Q,A))},destroy:k(h,m),check:S}},Pagination:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.emit,y=s.bind,v=o.Slides,m=o.Elements,A=o.Controller,S=A.hasFocus,b=A.getIndex,C=A.go,L=o.Direction.resolve,l=m.pagination,f=[];function P(){n&&(Tt(l?x(n.children):n),Et(n,a),h(f),n=null),s.destroy()}function T(z){C(">"+z,!0)}function M(z,H){var _=f.length,g=Fe(H),q=w(),E=-1,q=(g===L(he,!1,q)?E=++z%_:g===L(pe,!1,q)?E=(--z+_)%_:g==="Home"?E=0:g==="End"&&(E=_-1),f[E]);q&&(Ue(q.button),C(">"+E),wt(H,!0))}function w(){return e.paginationDirection||e.direction}function O(z){return f[A.toPage(z)]}function B(){var z,H=O(b(!0)),_=O(b());H&&(Et(z=H.button,Ot),yt(z,fn),D(z,Ft,-1)),_&&(gt(z=_.button,Ot),D(z,fn,!0),D(z,Ft,"")),u("pagination:updated",{list:n,items:f},H,_)}return{items:f,mount:function z(){P(),p([it,Q,"ei"],z);var H=e.pagination;if(l&&Ut(l,H?"":"none"),H){p([xt,Me,zt],B);var H=t.length,_=e.classes,g=e.i18n,E=e.perPage,q=S()?A.getEnd()+1:Jt(H/E);gt(n=l||Nt("ul",_.pagination,m.track.parentElement),a=ye+"--"+w()),D(n,St,"tablist"),D(n,dt,g.select),D(n,Pe,w()===ve?"vertical":"");for(var F=0;F<q;F++){var J=Nt("li",null,n),V=Nt("button",{class:_.page,type:"button"},J),lt=v.getIn(F).map(function(Z){return Z.slide.id}),I=!S()&&1<E?g.pageX:g.slideX;y(V,"click",k(T,F)),e.paginationKeyboard&&y(V,"keydown",k(M,F)),D(J,St,"presentation"),D(V,St,"tab"),D(V,ee,lt.join(" ")),D(V,dt,xe(I,F+1)),D(V,Ft,-1),f.push({li:J,button:V,page:F})}B(),u("pagination:mounted",{list:n,items:f},O(t.index))}},destroy:P,getAt:O,update:B}},Sync:function(t,o,e){var n=e.isNavigation,a=e.slideFocus,s=[];function p(){var S,b;t.splides.forEach(function(C){C.isParent||(y(t,C.splide),y(C.splide,t))}),n&&(S=X(t),(b=S.on)(nn,m),b(ln,A),b([Pt,it],v),s.push(S),S.emit(rn,t.splides))}function u(){s.forEach(function(S){S.destroy()}),h(s)}function y(S,b){S=X(S),S.on(xt,function(C,L,l){b.go(b.is(Wt)?l:C)}),s.push(S)}function v(){D(o.Elements.list,Pe,e.direction===ve?"vertical":"")}function m(S){t.go(S.index)}function A(S,b){pt(yo,Fe(b))&&(m(S),wt(b))}return{setup:k(o.Media.set,{slideFocus:Lt(a)?n:a},!0),mount:p,destroy:u,remount:function(){u(),p()}}},Wheel:function(t,o,e){var n=X(t).bind,a=0;function s(p){var u,y,v,m,A;p.cancelable&&(u=(A=p.deltaY)<0,y=Le(p),v=e.wheelMinThreshold||0,m=e.wheelSleep||0,rt(A)>v&&m<y-a&&(t.go(u?"<":">"),a=y),A=u,e.releaseWheel&&!t.state.is(i)&&o.Controller.getAdjacent(A)===-1||wt(p))}return{mount:function(){e.wheel&&n(o.Elements.track,"wheel",s,jt)}}},Live:function(t,o,e){var n=X(t).on,a=o.Elements.track,s=e.live&&!e.isNavigation,p=Nt("span",fo),u=fe(90,k(y,!1));function y(m){D(a,vn,m),m?($t(a,p),u.start()):(Tt(p),u.cancel())}function v(m){s&&D(a,hn,m?"off":"polite")}return{mount:function(){s&&(v(!o.Autoplay.isPaused()),D(a,mn,!0),p.textContent="\u2026",n(cn,k(v,!0)),n(an,k(v,!1)),n([Zt,zt],k(y,!0)))},disable:v,destroy:function(){yt(a,[hn,mn,vn]),Tt(p)}}}}),wo={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:me,clone:yn,arrows:He,arrow:ge,prev:bn,next:wn,pagination:ye,page:En,spinner:U+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Eo(t,o,e){var n=o.Slides;function a(){n.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}return{mount:function(){X(t).on([Pt,Q],a)},start:function(s,p){n.style("transition","opacity "+e.speed+"ms "+e.easing),R(p)},cancel:W}}function So(t,o,e){var n,a=o.Move,s=o.Controller,p=o.Scroll,u=o.Elements.list,y=k(ht,u,"transition");function v(){y(""),p.cancel()}return{mount:function(){X(t).bind(u,"transitionend",function(m){m.target===u&&n&&(v(),n())})},start:function(m,A){var S=a.toPosition(m,!0),b=a.getPosition(),C=(function(L){var l=e.rewindSpeed;if(t.is(Bt)&&l){var f=s.getIndex(!0),P=s.getEnd();if(f===0&&P<=L||P<=f&&L===0)return l}return e.speed})(m);1<=rt(S-b)&&1<=C?e.useScroll?p.scroll(S,C,!1,A):(y("transform "+C+"ms "+e.easing),a.translate(S,!0),n=A):(a.jump(m),A())},cancel:v}}return Rt=(function(){function t(e,n){this.event=X(),this.Components={},this.state=co(1),this.splides=[],this.n={},this.t={},e=ft(e)?Je(document,e):e,Qt(e,e+" is invalid."),n=_t({label:vt(this.root=e,dt)||"",labelledby:vt(e,qe)||""},wo,t.defaults,n||{});try{_t(n,JSON.parse(vt(e,_e)))}catch{Qt(!1,"Invalid JSON")}this.n=Object.create(_t({},n))}var o=t.prototype;return o.mount=function(e,n){var a=this,s=this.state,p=this.Components;return Qt(s.is([1,7]),"Already mounted!"),s.set(1),this.i=p,this.r=n||this.r||(this.is(oe)?Eo:So),this.t=e||this.t,Mt(Yt({},bo,this.t,{Transition:this.r}),function(u,y){u=u(a,p,a.n),(p[y]=u).setup&&u.setup()}),Mt(p,function(u){u.mount&&u.mount()}),this.emit(Pt),gt(this.root,"is-initialized"),s.set(3),this.emit("ready"),this},o.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),e.Components.Sync.remount()),this},o.go=function(e){return this.i.Controller.go(e),this},o.on=function(e,n){return this.event.on(e,n),this},o.off=function(e){return this.event.off(e),this},o.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(x(arguments,1))),this},o.add=function(e,n){return this.i.Slides.add(e,n),this},o.remove=function(e){return this.i.Slides.remove(e),this},o.is=function(e){return this.n.type===e},o.refresh=function(){return this.emit(Q),this},o.destroy=function(e){e===void 0&&(e=!0);var n=this.event,a=this.state;return a.is(1)?X(this).on("ready",this.destroy.bind(this,e)):(Mt(this.i,function(s){s.destroy&&s.destroy(e)},!0),n.emit(on),n.destroy(),e&&h(this.splides),a.set(7)),this},Oo(t,[{key:"options",get:function(){return this.n},set:function(e){this.i.Media.set(e,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),t})(),Rt.defaults={},Rt.STATES=d,Rt},typeof We=="object"&&typeof je<"u"?je.exports=we():typeof define=="function"&&define.amd?define(we):(Be=typeof globalThis<"u"?globalThis:Be||self).Splide=we()});function qo(){Array.from(document.querySelectorAll(".c-accordion__title")).forEach(Po)}function Po(r){r.addEventListener("click",Io())}function Io(){return r=>{var i=r.currentTarget.parentElement;i.classList.toggle("c-accordion__item--open")}}var Mn=qo;var ie=To(qn());function $e(){document.querySelectorAll('[data-carousel="hero"]').forEach(i=>{new ie.default(i,{type:"fade",autoplay:!0,interval:5e3,pauseOnHover:!1,arrows:!1,pagination:!1}).mount()}),document.querySelectorAll('[data-carousel="cards"]').forEach(i=>{let c=i.dataset.carouselType||"slide",d=i.dataset.carouselRewind==="true",h=parseInt(i.dataset.carouselPerPage)||4,x=parseInt(i.dataset.carouselPerMove)||1,k=getComputedStyle(document.documentElement).getPropertyValue("--wrapper").trim(),W=parseInt(k),R=parseInt(getComputedStyle(i).getPropertyValue("--grid-gap")),j=(W-(h-1)*R)/h;i.querySelectorAll(".splide__slide").forEach(st=>{st.style.width=`${j}px`});let et=new ie.default(i,{type:c,perPage:h,perMove:x,gap:"var(--grid-gap)",focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:d,breakpoints:{768:{perPage:3},608:{perPage:2},320:{perPage:1}}});i.querySelector(".c-carousel__arrow--prev").addEventListener("click",()=>{et.go("<")}),i.querySelector(".c-carousel__arrow--next").addEventListener("click",()=>{et.go(">")});let ot="calc((100vw - var(--wrapper)) * 0.5)";i.querySelector(".splide__list").style.paddingInlineStart=ot,i.querySelector(".splide__list").style.paddingInlineEnd=ot,i.querySelectorAll("a").forEach(st=>{st.addEventListener("click",mt=>mt.stopPropagation())}),et.mount()}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(i=>{let c=i.dataset.galleryId,d=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!d)return;let h=new ie.default(d,{type:"slide",perPage:parseInt(d.dataset.perPage)||4,gap:"0.5rem",focus:"center",isNavigation:!0,pagination:!1,arrows:!1}).mount();new ie.default(i,{type:"fade",pagination:!1,arrows:!0}).sync(h).mount(),i.querySelectorAll("a").forEach(k=>{k.addEventListener("click",W=>W.stopPropagation())})})}function Ho(){let r=document.getElementById("clearForm");r&&r.addEventListener("click",function(){this.closest("form").elements.forEach(c=>{if(c.value!=""){if(c.type.toLowerCase()=="text"||c.type.toLowerCase()=="email"||c.type.toLowerCase()=="tel"||c.type.toLowerCase()=="select-one"||c.type.toLowerCase()=="textarea"){c.value="";return}else if(c.type.toLowerCase()=="checkbox"){c.checked=!1;return}}})})}var Pn=Ho;function No(){document.querySelectorAll(".c-comparison-table").forEach(Do)}function Do(r){let i=r.parentNode.parentNode,c=i.querySelector(".c-comparison-table tbody"),d=i.querySelector(".c-comparison-table thead"),h=i.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!d||!h)return;let x=Array.from(d.children[0].children).filter((R,j)=>j).map(R=>({info:R.innerHTML})),k=Array.from(d.children[1].children).filter((R,j)=>j).map(R=>({buttons:R.innerHTML})),W=x.map((R,j)=>({...R,...k[j],table:[]}));Array.from(c.children).forEach(R=>{if(R.classList.contains("c-comparison-table__title"))W.forEach(j=>{j.table.push({type:"title",title:R.children[0].textContent})});else{let j=Array.from(R.children),et=j.shift();j.forEach((ot,st)=>{W[st].table.push({type:"row",key:et.textContent,value:ot.innerHTML})})}}),W.forEach(R=>{let j=zo(R);h.appendChild(j)})}function zo(r){let i=document.createElement("article");return i.innerHTML=`${r.info}${r.buttons}
|
|
1
|
+
(()=>{var Lo=Object.create;var kn=Object.defineProperty;var _o=Object.getOwnPropertyDescriptor;var Ao=Object.getOwnPropertyNames;var xo=Object.getPrototypeOf,Co=Object.prototype.hasOwnProperty;var ko=(r,i)=>()=>(i||r((i={exports:{}}).exports,i),i.exports);var Mo=(r,i,c,d)=>{if(i&&typeof i=="object"||typeof i=="function")for(let h of Ao(i))!Co.call(r,h)&&h!==c&&kn(r,h,{get:()=>i[h],enumerable:!(d=_o(i,h))||d.enumerable});return r};var To=(r,i,c)=>(c=r!=null?Lo(xo(r)):{},Mo(i||!r||!r.__esModule?kn(c,"default",{value:r,enumerable:!0}):c,r));var qn=ko((We,je)=>{function Tn(r,i){for(var c=0;c<i.length;c++){var d=i[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(r,d.key,d)}}function Oo(r,i,c){i&&Tn(r.prototype,i),c&&Tn(r,c),Object.defineProperty(r,"prototype",{writable:!1})}var Be,we;Be=We,we=function(){"use strict";var r="(prefers-reduced-motion: reduce)",i=4,c=5,d={CREATED:1,MOUNTED:2,IDLE:3,MOVING:i,SCROLLING:c,DRAGGING:6,DESTROYED:7};function h(t){t.length=0}function x(t,o,e){return Array.prototype.slice.call(t,o,e)}function k(t){return t.bind.apply(t,[null].concat(x(arguments,1)))}function W(){}var R=setTimeout;function j(t){return requestAnimationFrame(t)}function et(t,o){return typeof o===t}function ot(t){return!Ht(t)&&et("object",t)}var st=Array.isArray,mt=k(et,"function"),ft=k(et,"string"),Lt=k(et,"undefined");function Ht(t){return t===null}function ae(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function $(t){return st(t)?t:[t]}function Y(t,o){$(t).forEach(o)}function pt(t,o){return-1<t.indexOf(o)}function se(t,o){return t.push.apply(t,$(o)),t}function bt(t,o,e){t&&Y(o,function(n){n&&t.classList[e?"add":"remove"](n)})}function gt(t,o){bt(t,ft(o)?o.split(" "):o,!0)}function $t(t,o){Y(o,t.appendChild.bind(t))}function Ee(t,o){Y(t,function(e){var n=(o||e).parentNode;n&&n.insertBefore(e,o)})}function Gt(t,o){return ae(t)&&(t.msMatchesSelector||t.matches).call(t,o)}function Xe(t,o){return t=t?x(t.children):[],o?t.filter(function(e){return Gt(e,o)}):t}function Vt(t,o){return o?Xe(t,o)[0]:t.firstElementChild}var Xt=Object.keys;function Mt(t,o,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&o(t[n],n)})}function Yt(t){return x(arguments,1).forEach(function(o){Mt(o,function(e,n){t[n]=o[n]})}),t}function _t(t){return x(arguments,1).forEach(function(o){Mt(o,function(e,n){st(e)?t[n]=e.slice():ot(e)?t[n]=_t({},ot(t[n])?t[n]:{},e):t[n]=e})}),t}function Ye(t,o){Y(o||Xt(t),function(e){delete t[e]})}function yt(t,o){Y(t,function(e){Y(o,function(n){e&&e.removeAttribute(n)})})}function D(t,o,e){ot(o)?Mt(o,function(n,a){D(t,a,n)}):Y(t,function(n){Ht(e)||e===""?yt(n,o):n.setAttribute(o,String(e))})}function Nt(t,o,e){return t=document.createElement(t),o&&(ft(o)?gt:D)(t,o),e&&$t(e,t),t}function ht(t,o,e){if(Lt(e))return getComputedStyle(t)[o];Ht(e)||(t.style[o]=""+e)}function Ut(t,o){ht(t,"display",o)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,o){return t.getAttribute(o)}function Ke(t,o){return t&&t.classList.contains(o)}function ut(t){return t.getBoundingClientRect()}function Tt(t){Y(t,function(o){o&&o.parentNode&&o.parentNode.removeChild(o)})}function Qe(t){return Vt(new DOMParser().parseFromString(t,"text/html").body)}function wt(t,o){t.preventDefault(),o&&(t.stopPropagation(),t.stopImmediatePropagation())}function Je(t,o){return t&&t.querySelector(o)}function Se(t,o){return o?x(t.querySelectorAll(o)):[]}function Et(t,o){bt(t,o,!1)}function Le(t){return t.timeStamp}function qt(t){return ft(t)?t:t?t+"px":""}var Kt="splide",_e="data-"+Kt;function Qt(t,o){if(!t)throw new Error("["+Kt+"] "+(o||""))}var At=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,rt=Math.abs;function Ze(t,o,e){return rt(t-o)<e}function de(t,s,e,n){var a=At(s,e),s=le(s,e);return n?a<t&&t<s:a<=t&&t<=s}function Dt(t,a,e){var n=At(a,e),a=le(a,e);return At(le(n,t),a)}function Ae(t){return(0<t)-(t<0)}function xe(t,o){return Y(o,function(e){t=t.replace("%s",""+e)}),t}function Ce(t){return t<10?"0"+t:""+t}var tn={};function en(){var t=[];function o(e,n,a){Y(e,function(s){s&&Y(n,function(p){p.split(" ").forEach(function(u){u=u.split("."),a(s,u[0],u[1])})})})}return{bind:function(e,n,a,s){o(e,n,function(p,u,y){var v="addEventListener"in p,m=v?p.removeEventListener.bind(p,u,a,s):p.removeListener.bind(p,a);v?p.addEventListener(u,a,s):p.addListener(a),t.push([p,u,y,a,m])})},unbind:function(e,n,a){o(e,n,function(s,p,u){t=t.filter(function(y){return!!(y[0]!==s||y[1]!==p||y[2]!==u||a&&y[3]!==a)||(y[4](),!1)})})},dispatch:function(e,n,a){var s;return typeof CustomEvent=="function"?s=new CustomEvent(n,{bubbles:!0,detail:a}):(s=document.createEvent("CustomEvent")).initCustomEvent(n,!0,!1,a),e.dispatchEvent(s),s},destroy:function(){t.forEach(function(e){e[4]()}),h(t)}}}var Pt="mounted",xt="move",Zt="moved",nn="click",no="active",oo="inactive",ro="visible",io="hidden",Q="refresh",it="updated",te="resize",ke="resized",Me="scroll",zt="scrolled",on="destroy",rn="navigation:mounted",cn="autoplay:play",an="autoplay:pause",sn="lazyload:loaded",ln="sk",un="sh";function X(t){var o=t?t.event.bus:document.createDocumentFragment(),e=en();return t&&t.event.on(on,e.destroy),Yt(e,{bus:o,on:function(n,a){e.bind(o,$(n).join(" "),function(s){a.apply(a,st(s.detail)?s.detail:[])})},off:k(e.unbind,o),emit:function(n){e.dispatch(o,n,x(arguments,1))}})}function fe(t,o,e,n){var a,s,p=Date.now,u=0,y=!0,v=0;function m(){if(!y){if(u=t?At((p()-a)/t,1):1,e&&e(u),1<=u&&(o(),a=p(),n&&++v>=n))return A();s=j(m)}}function A(){y=!0}function S(){s&&cancelAnimationFrame(s),y=!(s=u=0)}return{start:function(b){b||S(),a=p()-(b?u*t:0),y=!1,s=j(m)},rewind:function(){a=p(),u=0,e&&e(u)},pause:A,cancel:S,set:function(b){t=b},isPaused:function(){return y}}}function co(t){var o=t;return{set:function(e){o=e},is:function(e){return pt($(e),o)}}}var It="Arrow",pe=It+"Left",he=It+"Right",Rt=It+"Up",It=It+"Down",ve="ttb",Te={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[Rt,he],ArrowRight:[It,pe]},St="role",Ft="tabindex",U="aria-",ee=U+"controls",dn=U+"current",fn=U+"selected",dt=U+"label",qe=U+"labelledby",pn=U+"hidden",Pe=U+"orientation",ne=U+"roledescription",hn=U+"live",vn=U+"busy",mn=U+"atomic",Ie=[St,Ft,"disabled",ee,dn,dt,qe,pn,Pe,ne],U=Kt+"__",Oe=Kt,gn=U+"track",ao=U+"list",me=U+"slide",yn=me+"--clone",so=me+"__container",He=U+"arrows",ge=U+"arrow",bn=ge+"--prev",wn=ge+"--next",ye=U+"pagination",En=ye+"__page",lo=U+"progress__bar",uo=U+"toggle",fo=U+"sr",Ot="is-active",Sn="is-prev",Ln="is-next",Ne="is-visible",De="is-loading",_n="is-focus-in",An="is-overflow",po=[Ot,Ne,Sn,Ln,De,_n,An],xn="touchstart mousedown",ze="touchmove mousemove",Re="touchend touchcancel mouseup click",Bt="slide",Wt="loop",oe="fade";function ho(t,o,e,n){var a,s=X(t),p=s.on,u=s.emit,y=s.bind,v=t.Components,m=t.root,A=t.options,S=A.isNavigation,b=A.updateOnMove,C=A.i18n,L=A.pagination,l=A.slideFocus,f=v.Direction.resolve,P=vt(n,"style"),T=vt(n,dt),M=-1<e,w=Vt(n,"."+so);function O(){var g=t.splides.map(function(E){return E=E.splide.Components.Slides.getAt(o),E?E.slide.id:""}).join(" ");D(n,dt,xe(C.slideX,(M?e:o)+1)),D(n,ee,g),D(n,St,l?"button":""),l&&yt(n,ne)}function B(){a||z()}function z(){var g,E,q;a||(g=t.index,(q=H())!==Ke(n,Ot)&&(bt(n,Ot,q),D(n,dn,S&&q||""),u(q?no:oo,_)),q=(function(){if(t.is(oe))return H();var F=ut(v.Elements.track),J=ut(n),V=f("left",!0),lt=f("right",!0);return ue(F[V])<=Jt(J[V])&&ue(J[lt])<=Jt(F[lt])})(),E=!q&&(!H()||M),t.state.is([i,c])||D(n,pn,E||""),D(Se(n,A.focusableNodes||""),Ft,E?-1:""),l&&D(n,Ft,E?-1:0),q!==Ke(n,Ne)&&(bt(n,Ne,q),u(q?ro:io,_)),q||document.activeElement!==n||(E=v.Slides.getAt(t.index))&&Ue(E.slide),bt(n,Sn,o===g-1),bt(n,Ln,o===g+1))}function H(){var g=t.index;return g===o||A.cloneStatus&&g===e}var _={index:o,slideIndex:e,slide:n,container:w,isClone:M,mount:function(){M||(n.id=m.id+"-slide"+Ce(o+1),D(n,St,L?"tabpanel":"group"),D(n,ne,C.slide),D(n,dt,T||xe(C.slideLabel,[o+1,t.length]))),y(n,"click",k(u,nn,_)),y(n,"keydown",k(u,ln,_)),p([Zt,un,zt],z),p(rn,O),b&&p(xt,B)},destroy:function(){a=!0,s.destroy(),Et(n,po),yt(n,Ie),D(n,"style",P),D(n,dt,T||"")},update:z,style:function(g,E,q){ht(q&&w||n,g,E)},isWithin:function(g,E){return g=rt(g-o),(g=M||!A.rewind&&!t.is(Wt)?g:At(g,t.length-g))<=E}};return _}var vo=_e+"-interval",jt={passive:!1,capture:!0},mo={Spacebar:" ",Right:he,Left:pe,Up:Rt,Down:It};function Fe(t){return t=ft(t)?t:t.key,mo[t]||t}var Cn="keydown",re=_e+"-lazy",be=re+"-srcset",go="["+re+"], ["+be+"]",yo=[" ","Enter"],bo=Object.freeze({__proto__:null,Media:function(t,o,e){var n=t.state,a=e.breakpoints||{},s=e.reducedMotion||{},p=en(),u=[];function y(S){S&&p.destroy()}function v(S,b){b=matchMedia(b),p.bind(b,"change",m),u.push([S,b])}function m(){var S=n.is(7),b=e.direction,C=u.reduce(function(L,l){return _t(L,l[1].matches?l[0]:{})},{});Ye(e),A(C),e.destroy?t.destroy(e.destroy==="completely"):S?(y(!0),t.mount()):b!==e.direction&&t.refresh()}function A(S,b,C){_t(e,S),b&&_t(Object.getPrototypeOf(e),S),!C&&n.is(1)||t.emit(it,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(a).sort(function(b,C){return S?+b-+C:+C-+b}).forEach(function(b){v(a[b],"("+(S?"min":"max")+"-width:"+b+"px)")}),v(s,r),m()},destroy:y,reduce:function(S){matchMedia(r).matches&&(S?_t(e,s):Ye(e,Xt(s)))},set:A}},Direction:function(t,o,e){return{resolve:function(n,a,s){var p=(s=s||e.direction)!=="rtl"||a?s===ve?0:-1:1;return Te[n]&&Te[n][p]||n.replace(/width|left|right/i,function(u,y){return u=Te[u.toLowerCase()][p]||u,0<y?u.charAt(0).toUpperCase()+u.slice(1):u})},orient:function(n){return n*(e.direction==="rtl"?1:-1)}}},Elements:function(t,o,e){var n,a,s,p=X(t),u=p.on,y=p.bind,v=t.root,m=e.i18n,A={},S=[],b=[],C=[];function L(){n=P("."+gn),a=Vt(n,"."+ao),Qt(n&&a,"A track/list element is missing."),se(S,Xe(a,"."+me+":not(."+yn+")")),Mt({arrows:He,pagination:ye,prev:bn,next:wn,bar:lo,toggle:uo},function(O,B){A[B]=P("."+O)}),Yt(A,{root:v,track:n,list:a,slides:S});var M=v.id||(function(O){return""+O+Ce(tn[O]=(tn[O]||0)+1)})(Kt),w=e.role;v.id=M,n.id=n.id||M+"-track",a.id=a.id||M+"-list",!vt(v,St)&&v.tagName!=="SECTION"&&w&&D(v,St,w),D(v,ne,m.carousel),D(a,St,"presentation"),f()}function l(M){var w=Ie.concat("style");h(S),Et(v,b),Et(n,C),yt([n,a],w),yt(v,M?w:["style",ne])}function f(){Et(v,b),Et(n,C),b=T(Oe),C=T(gn),gt(v,b),gt(n,C),D(v,dt,e.label),D(v,qe,e.labelledby)}function P(M){return M=Je(v,M),M&&(function(w,O){if(mt(w.closest))return w.closest(O);for(var B=w;B&&B.nodeType===1&&!Gt(B,O);)B=B.parentElement;return B})(M,"."+Oe)===v?M:void 0}function T(M){return[M+"--"+e.type,M+"--"+e.direction,e.drag&&M+"--draggable",e.isNavigation&&M+"--nav",M===Oe&&Ot]}return Yt(A,{setup:L,mount:function(){u(Q,l),u(Q,L),u(it,f),y(document,xn+" keydown",function(M){s=M.type==="keydown"},{capture:!0}),y(v,"focusin",function(){bt(v,_n,!!s)})},destroy:l})},Slides:function(t,o,e){var n=X(t),a=n.on,s=n.emit,p=n.bind,u=(n=o.Elements).slides,y=n.list,v=[];function m(){u.forEach(function(l,f){S(l,f,-1)})}function A(){C(function(l){l.destroy()}),h(v)}function S(l,f,P){f=ho(t,f,P,l),f.mount(),v.push(f),v.sort(function(T,M){return T.index-M.index})}function b(l){return l?L(function(f){return!f.isClone}):v}function C(l,f){b(f).forEach(l)}function L(l){return v.filter(mt(l)?l:function(f){return ft(l)?Gt(f.slide,l):pt($(l),f.index)})}return{mount:function(){m(),a(Q,A),a(Q,m)},destroy:A,update:function(){C(function(l){l.update()})},register:S,get:b,getIn:function(l){var f=o.Controller,P=f.toIndex(l),T=f.hasFocus()?1:e.perPage;return L(function(M){return de(M.index,P,P+T-1)})},getAt:function(l){return L(l)[0]},add:function(l,f){Y(l,function(P){var T,M,w;ae(P=ft(P)?Qe(P):P)&&((T=u[f])?Ee(P,T):$t(y,P),gt(P,e.classes.slide),T=P,M=k(s,te),T=Se(T,"img"),(w=T.length)?T.forEach(function(O){p(O,"load error",function(){--w||M()})}):M())}),s(Q)},remove:function(l){Tt(L(l).map(function(f){return f.slide})),s(Q)},forEach:C,filter:L,style:function(l,f,P){C(function(T){T.style(l,f,P)})},getLength:function(l){return(l?u:v).length},isEnough:function(){return v.length>e.perPage}}},Layout:function(t,o,e){var n,a,s,p=(v=X(t)).on,u=v.bind,y=v.emit,v=o.Slides,m=o.Direction.resolve,A=(o=o.Elements).root,S=o.track,b=o.list,C=v.getAt,L=v.style;function l(){n=e.direction===ve,ht(A,"maxWidth",qt(e.width)),ht(S,m("paddingLeft"),P(!1)),ht(S,m("paddingRight"),P(!0)),f(!0)}function f(g){var E=ut(A);!g&&a.width===E.width&&a.height===E.height||(ht(S,"height",(function(){var q="";return n&&(Qt(q=T(),"height or heightRatio is missing."),q="calc("+q+" - "+P(!1)+" - "+P(!0)+")"),q})()),L(m("marginRight"),qt(e.gap)),L("width",e.autoWidth?null:qt(e.fixedWidth)||(n?"":M())),L("height",qt(e.fixedHeight)||(n?e.autoHeight?null:M():T()),!0),a=E,y(ke),s!==(s=_())&&(bt(A,An,s),y("overflow",s)))}function P(q){var E=e.padding,q=m(q?"right":"left");return E&&qt(E[q]||(ot(E)?0:E))||"0px"}function T(){return qt(e.height||ut(b).width*e.heightRatio)}function M(){var g=qt(e.gap);return"calc((100%"+(g&&" + "+g)+")/"+(e.perPage||1)+(g&&" - "+g)+")"}function w(){return ut(b)[m("width")]}function O(g,E){return g=C(g||0),g?ut(g.slide)[m("width")]+(E?0:H()):0}function B(F,E){var q,F=C(F);return F?(F=ut(F.slide)[m("right")],q=ut(b)[m("left")],rt(F-q)+(E?0:H())):0}function z(g){return B(t.length-1)-B(0)+O(0,g)}function H(){var g=C(0);return g&&parseFloat(ht(g.slide,m("marginRight")))||0}function _(){return t.is(oe)||z(!0)>w()}return{mount:function(){var g,E,q;l(),u(window,"resize load",(g=k(y,te),q=fe(E||0,g,null,1),function(){q.isPaused()&&q.start()})),p([it,Q],l),p(te,f)},resize:f,listSize:w,slideSize:O,sliderSize:z,totalSize:B,getPadding:function(g){return parseFloat(ht(S,m("padding"+(g?"Right":"Left"))))||0},isOverflow:_}},Clones:function(t,o,e){var n,a=X(t),s=a.on,p=o.Elements,u=o.Slides,y=o.Direction.resolve,v=[];function m(){if(s(Q,A),s([it,te],b),n=C()){var L=n,l=u.get().slice(),f=l.length;if(f){for(;l.length<L;)se(l,l);se(l.slice(-L),l.slice(0,L)).forEach(function(P,T){var M=T<L,w=(function(O,B){return O=O.cloneNode(!0),gt(O,e.classes.clone),O.id=t.root.id+"-clone"+Ce(B+1),O})(P.slide,T);M?Ee(w,l[0].slide):$t(p.list,w),se(v,w),u.register(w,T-L+(M?0:f),P.index)})}o.Layout.resize(!0)}}function A(){S(),m()}function S(){Tt(v),h(v),a.destroy()}function b(){var L=C();n!==L&&(n<L||!L)&&a.emit(Q)}function C(){var L,l=e.clones;return t.is(Wt)?Lt(l)&&(l=(L=e[y("fixedWidth")]&&o.Layout.slideSize(0))&&Jt(ut(p.track)[y("width")]/L)||e[y("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:m,destroy:S}},Move:function(t,o,e){var n,a=X(t),s=a.on,p=a.emit,u=t.state.set,y=(a=o.Layout).slideSize,v=a.getPadding,m=a.totalSize,A=a.listSize,S=a.sliderSize,b=(a=o.Direction).resolve,C=a.orient,L=(a=o.Elements).list,l=a.track;function f(){o.Controller.isBusy()||(o.Scroll.cancel(),P(t.index),o.Slides.update())}function P(_){T(B(_,!0))}function T(_,g){t.is(oe)||(g=g?_:(function(E){{var q,F;t.is(Wt)&&(q=O(E),F=q>o.Controller.getEnd(),(q<0||F)&&(E=M(E,F)))}return E})(_),ht(L,"transform","translate"+b("X")+"("+g+"px)"),_!==g&&p(un))}function M(_,g){var E=_-H(g),q=S();return _-=C(q*(Jt(rt(E)/q)||1))*(g?1:-1)}function w(){T(z(),!0),n.cancel()}function O(_){for(var g=o.Slides.get(),E=0,q=1/0,F=0;F<g.length;F++){var J=g[F].index,V=rt(B(J,!0)-_);if(!(V<=q))break;q=V,E=J}return E}function B(_,g){var E=C(m(_-1)-(_=_,(E=e.focus)==="center"?(A()-y(_,!0))/2:+E*y(_)||0));return g?(_=E,_=e.trimSpace&&t.is(Bt)?Dt(_,0,C(S(!0)-A())):_):E}function z(){var _=b("left");return ut(L)[_]-ut(l)[_]+C(v(!1))}function H(_){return B(_?o.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=o.Transition,s([Pt,ke,it,Q],f)},move:function(_,g,E,q){var F,J;_!==g&&(F=E<_,J=C(M(z(),F)),F?0<=J:J<=L[b("scrollWidth")]-ut(l)[b("width")])&&(w(),T(M(z(),E<_),!0)),u(i),p(xt,g,E,_),n.start(g,function(){u(3),p(Zt,g,E,_),q&&q()})},jump:P,translate:T,shift:M,cancel:w,toIndex:O,toPosition:B,getPosition:z,getLimit:H,exceededLimit:function(q,g){g=Lt(g)?z():g;var E=q!==!0&&C(g)<C(H(!1)),q=q!==!1&&C(g)>C(H(!0));return E||q},reposition:f}},Controller:function(t,o,e){var n,a,s,p,u=X(t),y=u.on,v=u.emit,m=o.Move,A=m.getPosition,S=m.getLimit,b=m.toPosition,C=(u=o.Slides).isEnough,L=u.getLength,l=e.omitEnd,f=t.is(Wt),P=t.is(Bt),T=k(H,!1),M=k(H,!0),w=e.start||0,O=w;function B(){a=L(!0),s=e.perMove,p=e.perPage,n=E();var I=Dt(w,0,l?n:a-1);I!==w&&(w=I,m.reposition())}function z(){n!==E()&&v("ei")}function H(I,nt){var Z=s||(V()?1:p),Z=_(w+Z*(I?-1:1),w,!(s||V()));return Z===-1&&P&&!Ze(A(),S(!I),1)?I?0:n:nt?Z:g(Z)}function _(I,nt,Z){var ct;return C()||V()?((ct=(function(tt){if(P&&e.trimSpace==="move"&&tt!==w)for(var N=A();N===b(tt,!0)&&de(tt,0,t.length-1,!e.rewind);)tt<w?--tt:++tt;return tt})(I))!==I&&(nt=I,I=ct,Z=!1),I<0||n<I?I=s||!de(0,I,nt,!0)&&!de(n,nt,I,!0)?f?Z?I<0?-(a%p||p):a:I:e.rewind?I<0?n:0:-1:q(F(I)):Z&&I!==nt&&(I=q(F(nt)+(I<nt?-1:1)))):I=-1,I}function g(I){return f?(I+a)%a||0:I}function E(){for(var I=a-(V()||f&&s?1:p);l&&0<I--;)if(b(a-1,!0)!==b(I,!0)){I++;break}return Dt(I,0,a-1)}function q(I){return Dt(V()?I:p*I,0,n)}function F(I){return V()?At(I,n):ue((n<=I?a-1:I)/p)}function J(I){I!==w&&(O=w,w=I)}function V(){return!Lt(e.focus)||e.isNavigation}function lt(){return t.state.is([i,c])&&!!e.waitForTransition}return{mount:function(){B(),y([it,Q,"ei"],B),y(ke,z)},go:function(I,nt,Z){var ct;lt()||-1<(ct=g(I=(function(tt){var N=w;{var G,K;ft(tt)?(K=tt.match(/([+\-<>])(\d+)?/)||[],G=K[1],K=K[2],G==="+"||G==="-"?N=_(w+ +(""+G+(+K||1)),w):G===">"?N=K?q(+K):T(!0):G==="<"&&(N=M(!0))):N=f?tt:Dt(tt,0,n)}return N})(I)))&&(nt||ct!==w)&&(J(ct),m.move(I,ct,O,Z))},scroll:function(I,nt,Z,ct){o.Scroll.scroll(I,nt,Z,function(){var tt=g(m.toIndex(A()));J(l?At(tt,n):tt),ct&&ct()})},getNext:T,getPrev:M,getAdjacent:H,getEnd:E,setIndex:J,getIndex:function(I){return I?O:w},toIndex:q,toPage:F,toDest:function(I){return I=m.toIndex(I),P?Dt(I,0,n):I},hasFocus:V,isBusy:lt}},Arrows:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.bind,y=s.emit,v=e.classes,m=e.i18n,A=o.Elements,S=o.Controller,b=A.arrows,C=A.track,L=b,l=A.prev,f=A.next,P={};function T(){var H=e.arrows;!H||l&&f||(L=b||Nt("div",v.arrows),l=B(!0),f=B(!1),n=!0,$t(L,[l,f]),b||Ee(L,C)),l&&f&&(Yt(P,{prev:l,next:f}),Ut(L,H?"":"none"),gt(L,a=He+"--"+e.direction),H&&(p([Pt,Zt,Q,zt,"ei"],z),u(f,"click",k(O,">")),u(l,"click",k(O,"<")),z(),D([l,f],ee,C.id),y("arrows:mounted",l,f))),p(it,M)}function M(){w(),T()}function w(){s.destroy(),Et(L,a),n?(Tt(b?[l,f]:L),l=f=null):yt([l,f],Ie)}function O(H){S.go(H,!0)}function B(H){return Qe('<button class="'+v.arrow+" "+(H?v.prev:v.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(e.arrowPath||"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")+'" />')}function z(){var H,_,g,E;l&&f&&(E=t.index,H=S.getPrev(),_=S.getNext(),g=-1<H&&E<H?m.last:m.prev,E=-1<_&&_<E?m.first:m.next,l.disabled=H<0,f.disabled=_<0,D(l,dt,g),D(f,dt,E),y("arrows:updated",l,f,H,_))}return{arrows:P,mount:T,destroy:w,update:z}},Autoplay:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.bind,y=s.emit,v=fe(e.interval,t.go.bind(t,">"),function(w){var O=A.bar;O&&ht(O,"width",100*w+"%"),y("autoplay:playing",w)}),m=v.isPaused,A=o.Elements,S=(s=o.Elements).root,b=s.toggle,C=e.autoplay,L=C==="pause";function l(){m()&&o.Slides.isEnough()&&(v.start(!e.resetProgress),a=n=L=!1,T(),y(cn))}function f(w){L=!!(w=w===void 0?!0:w),T(),m()||(v.pause(),y(an))}function P(){L||(n||a?f(!1):l())}function T(){b&&(bt(b,Ot,!L),D(b,dt,e.i18n[L?"play":"pause"]))}function M(w){w=o.Slides.getAt(w),v.set(w&&+vt(w.slide,vo)||e.interval)}return{mount:function(){C&&(e.pauseOnHover&&u(S,"mouseenter mouseleave",function(w){n=w.type==="mouseenter",P()}),e.pauseOnFocus&&u(S,"focusin focusout",function(w){a=w.type==="focusin",P()}),b&&u(b,"click",function(){L?l():f(!0)}),p([xt,Me,Q],v.rewind),p(xt,M),b&&D(b,ee,A.track.id),L||l(),T())},destroy:v.cancel,play:l,pause:f,isPaused:m}},Cover:function(t,o,e){var n=X(t).on;function a(p){o.Slides.forEach(function(u){var y=Vt(u.container||u.slide,"img");y&&y.src&&s(p,y,u)})}function s(p,u,y){y.style("background",p?'center/cover no-repeat url("'+u.src+'")':"",!0),Ut(u,p?"none":"")}return{mount:function(){e.cover&&(n(sn,k(s,!0)),n([Pt,it,Q],k(a,!0)))},destroy:k(a,!1)}},Scroll:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.emit,y=t.state.set,v=o.Move,m=v.getPosition,A=v.getLimit,S=v.exceededLimit,b=v.translate,C=t.is(Bt),L=1;function l(w,O,E,z,H){var _,g=m(),E=(T(),!E||C&&S()||(E=o.Layout.sliderSize(),_=Ae(w)*E*ue(rt(w)/E)||0,w=v.toPosition(o.Controller.toDest(w%E))+_),Ze(g,w,1));L=1,O=E?0:O||le(rt(w-g)/1.5,800),a=z,n=fe(O,f,k(P,g,w,H),1),y(c),u(Me),n.start()}function f(){y(3),a&&a(),u(zt)}function P(w,O,B,_){var H=m(),_=(w+(O-w)*(O=_,(w=e.easingFunc)?w(O):1-Math.pow(1-O,4))-H)*L;b(H+_),C&&!B&&S()&&(L*=.6,rt(_)<10&&l(A(S(!0)),600,!1,a,!0))}function T(){n&&n.cancel()}function M(){n&&!n.isPaused()&&(T(),f())}return{mount:function(){p(xt,T),p([it,Q],M)},destroy:T,scroll:l,cancel:M}},Drag:function(t,o,e){var n,a,s,p,u,y,v,m,A=X(t),S=A.on,b=A.emit,C=A.bind,L=A.unbind,l=t.state,f=o.Move,P=o.Scroll,T=o.Controller,M=o.Elements.track,w=o.Media.reduce,O=(A=o.Direction).resolve,B=A.orient,z=f.getPosition,H=f.exceededLimit,_=!1;function g(){var N=e.drag;tt(!N),p=N==="free"}function E(N){var G,K,at;y=!1,v||(G=ct(N),K=N.target,at=e.noDrag,Gt(K,"."+En+", ."+ge)||at&&Gt(K,at)||!G&&N.button||(T.isBusy()?wt(N,!0):(m=G?M:window,u=l.is([i,c]),s=null,C(m,ze,q,jt),C(m,Re,F,jt),f.cancel(),P.cancel(),V(N))))}function q(N){var G,K,at,Ct,kt;l.is(6)||(l.set(6),b("drag")),N.cancelable&&(u?(f.translate(n+lt(N)/(_&&t.is(Bt)?5:1)),kt=200<I(N),G=_!==(_=H()),(kt||G)&&V(N),y=!0,b("dragging"),wt(N)):rt(lt(kt=N))>rt(lt(kt,!0))&&(G=N,K=e.dragMinThreshold,at=ot(K),Ct=at&&K.mouse||0,at=(at?K.touch:+K)||10,u=rt(lt(G))>(ct(G)?at:Ct),wt(N)))}function F(N){var G,K,at;l.is(6)&&(l.set(3),b("dragged")),u&&(K=(function(Ct){return z()+Ae(Ct)*At(rt(Ct)*(e.flickPower||600),p?1/0:o.Layout.listSize()*(e.flickMaxPages||1))})(G=(function(Ct){if(t.is(Wt)||!_){var kt=I(Ct);if(kt&&kt<200)return lt(Ct)/kt}return 0})(G=N)),at=e.rewind&&e.rewindByDrag,w(!1),p?T.scroll(K,0,e.snap):t.is(oe)?T.go(B(Ae(G))<0?at?"<":"-":at?">":"+"):t.is(Bt)&&_&&at?T.go(H(!0)?">":"<"):T.go(T.toDest(K),!0),w(!0),wt(N)),L(m,ze,q),L(m,Re,F),u=!1}function J(N){!v&&y&&wt(N,!0)}function V(N){s=a,a=N,n=z()}function lt(N,G){return Z(N,G)-Z(nt(N),G)}function I(N){return Le(N)-Le(nt(N))}function nt(N){return a===N&&s||a}function Z(N,G){return(ct(N)?N.changedTouches[0]:N)["page"+O(G?"Y":"X")]}function ct(N){return typeof TouchEvent<"u"&&N instanceof TouchEvent}function tt(N){v=N}return{mount:function(){C(M,ze,W,jt),C(M,Re,W,jt),C(M,xn,E,jt),C(M,"click",J,{capture:!0}),C(M,"dragstart",wt),S([Pt,it],g)},disable:tt,isDragging:function(){return u}}},Keyboard:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.bind,y=s.unbind,v=t.root,m=o.Direction.resolve;function A(){var L=e.keyboard;L&&(n=L==="global"?window:v,u(n,Cn,C))}function S(){y(n,Cn)}function b(){var L=a;a=!0,R(function(){a=L})}function C(L){a||((L=Fe(L))===m(pe)?t.go("<"):L===m(he)&&t.go(">"))}return{mount:function(){A(),p(it,S),p(it,A),p(xt,b)},destroy:S,disable:function(L){a=L}}},LazyLoad:function(t,o,e){var n=X(t),a=n.on,s=n.off,p=n.bind,u=n.emit,y=e.lazyLoad==="sequential",v=[Zt,zt],m=[];function A(){h(m),o.Slides.forEach(function(l){Se(l.slide,go).forEach(function(f){var P=vt(f,re),T=vt(f,be);P===f.src&&T===f.srcset||(P=e.classes.spinner,P=Vt(T=f.parentElement,"."+P)||Nt("span",P,T),m.push([f,l,P]),f.src||Ut(f,"none"))})}),(y?L:(s(v),a(v,S),S))()}function S(){(m=m.filter(function(l){var f=e.perPage*((e.preloadPages||1)+1)-1;return!l[1].isWithin(t.index,f)||b(l)})).length||s(v)}function b(l){var f=l[0];gt(l[1].slide,De),p(f,"load error",k(C,l)),D(f,"src",vt(f,re)),D(f,"srcset",vt(f,be)),yt(f,re),yt(f,be)}function C(l,f){var P=l[0],T=l[1];Et(T.slide,De),f.type!=="error"&&(Tt(l[2]),Ut(P,""),u(sn,P,T),u(te)),y&&L()}function L(){m.length&&b(m.shift())}return{mount:function(){e.lazyLoad&&(A(),a(Q,A))},destroy:k(h,m),check:S}},Pagination:function(t,o,e){var n,a,s=X(t),p=s.on,u=s.emit,y=s.bind,v=o.Slides,m=o.Elements,A=o.Controller,S=A.hasFocus,b=A.getIndex,C=A.go,L=o.Direction.resolve,l=m.pagination,f=[];function P(){n&&(Tt(l?x(n.children):n),Et(n,a),h(f),n=null),s.destroy()}function T(z){C(">"+z,!0)}function M(z,H){var _=f.length,g=Fe(H),q=w(),E=-1,q=(g===L(he,!1,q)?E=++z%_:g===L(pe,!1,q)?E=(--z+_)%_:g==="Home"?E=0:g==="End"&&(E=_-1),f[E]);q&&(Ue(q.button),C(">"+E),wt(H,!0))}function w(){return e.paginationDirection||e.direction}function O(z){return f[A.toPage(z)]}function B(){var z,H=O(b(!0)),_=O(b());H&&(Et(z=H.button,Ot),yt(z,fn),D(z,Ft,-1)),_&&(gt(z=_.button,Ot),D(z,fn,!0),D(z,Ft,"")),u("pagination:updated",{list:n,items:f},H,_)}return{items:f,mount:function z(){P(),p([it,Q,"ei"],z);var H=e.pagination;if(l&&Ut(l,H?"":"none"),H){p([xt,Me,zt],B);var H=t.length,_=e.classes,g=e.i18n,E=e.perPage,q=S()?A.getEnd()+1:Jt(H/E);gt(n=l||Nt("ul",_.pagination,m.track.parentElement),a=ye+"--"+w()),D(n,St,"tablist"),D(n,dt,g.select),D(n,Pe,w()===ve?"vertical":"");for(var F=0;F<q;F++){var J=Nt("li",null,n),V=Nt("button",{class:_.page,type:"button"},J),lt=v.getIn(F).map(function(Z){return Z.slide.id}),I=!S()&&1<E?g.pageX:g.slideX;y(V,"click",k(T,F)),e.paginationKeyboard&&y(V,"keydown",k(M,F)),D(J,St,"presentation"),D(V,St,"tab"),D(V,ee,lt.join(" ")),D(V,dt,xe(I,F+1)),D(V,Ft,-1),f.push({li:J,button:V,page:F})}B(),u("pagination:mounted",{list:n,items:f},O(t.index))}},destroy:P,getAt:O,update:B}},Sync:function(t,o,e){var n=e.isNavigation,a=e.slideFocus,s=[];function p(){var S,b;t.splides.forEach(function(C){C.isParent||(y(t,C.splide),y(C.splide,t))}),n&&(S=X(t),(b=S.on)(nn,m),b(ln,A),b([Pt,it],v),s.push(S),S.emit(rn,t.splides))}function u(){s.forEach(function(S){S.destroy()}),h(s)}function y(S,b){S=X(S),S.on(xt,function(C,L,l){b.go(b.is(Wt)?l:C)}),s.push(S)}function v(){D(o.Elements.list,Pe,e.direction===ve?"vertical":"")}function m(S){t.go(S.index)}function A(S,b){pt(yo,Fe(b))&&(m(S),wt(b))}return{setup:k(o.Media.set,{slideFocus:Lt(a)?n:a},!0),mount:p,destroy:u,remount:function(){u(),p()}}},Wheel:function(t,o,e){var n=X(t).bind,a=0;function s(p){var u,y,v,m,A;p.cancelable&&(u=(A=p.deltaY)<0,y=Le(p),v=e.wheelMinThreshold||0,m=e.wheelSleep||0,rt(A)>v&&m<y-a&&(t.go(u?"<":">"),a=y),A=u,e.releaseWheel&&!t.state.is(i)&&o.Controller.getAdjacent(A)===-1||wt(p))}return{mount:function(){e.wheel&&n(o.Elements.track,"wheel",s,jt)}}},Live:function(t,o,e){var n=X(t).on,a=o.Elements.track,s=e.live&&!e.isNavigation,p=Nt("span",fo),u=fe(90,k(y,!1));function y(m){D(a,vn,m),m?($t(a,p),u.start()):(Tt(p),u.cancel())}function v(m){s&&D(a,hn,m?"off":"polite")}return{mount:function(){s&&(v(!o.Autoplay.isPaused()),D(a,mn,!0),p.textContent="\u2026",n(cn,k(v,!0)),n(an,k(v,!1)),n([Zt,zt],k(y,!0)))},disable:v,destroy:function(){yt(a,[hn,mn,vn]),Tt(p)}}}}),wo={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:me,clone:yn,arrows:He,arrow:ge,prev:bn,next:wn,pagination:ye,page:En,spinner:U+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Eo(t,o,e){var n=o.Slides;function a(){n.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}return{mount:function(){X(t).on([Pt,Q],a)},start:function(s,p){n.style("transition","opacity "+e.speed+"ms "+e.easing),R(p)},cancel:W}}function So(t,o,e){var n,a=o.Move,s=o.Controller,p=o.Scroll,u=o.Elements.list,y=k(ht,u,"transition");function v(){y(""),p.cancel()}return{mount:function(){X(t).bind(u,"transitionend",function(m){m.target===u&&n&&(v(),n())})},start:function(m,A){var S=a.toPosition(m,!0),b=a.getPosition(),C=(function(L){var l=e.rewindSpeed;if(t.is(Bt)&&l){var f=s.getIndex(!0),P=s.getEnd();if(f===0&&P<=L||P<=f&&L===0)return l}return e.speed})(m);1<=rt(S-b)&&1<=C?e.useScroll?p.scroll(S,C,!1,A):(y("transform "+C+"ms "+e.easing),a.translate(S,!0),n=A):(a.jump(m),A())},cancel:v}}return Rt=(function(){function t(e,n){this.event=X(),this.Components={},this.state=co(1),this.splides=[],this.n={},this.t={},e=ft(e)?Je(document,e):e,Qt(e,e+" is invalid."),n=_t({label:vt(this.root=e,dt)||"",labelledby:vt(e,qe)||""},wo,t.defaults,n||{});try{_t(n,JSON.parse(vt(e,_e)))}catch{Qt(!1,"Invalid JSON")}this.n=Object.create(_t({},n))}var o=t.prototype;return o.mount=function(e,n){var a=this,s=this.state,p=this.Components;return Qt(s.is([1,7]),"Already mounted!"),s.set(1),this.i=p,this.r=n||this.r||(this.is(oe)?Eo:So),this.t=e||this.t,Mt(Yt({},bo,this.t,{Transition:this.r}),function(u,y){u=u(a,p,a.n),(p[y]=u).setup&&u.setup()}),Mt(p,function(u){u.mount&&u.mount()}),this.emit(Pt),gt(this.root,"is-initialized"),s.set(3),this.emit("ready"),this},o.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),e.Components.Sync.remount()),this},o.go=function(e){return this.i.Controller.go(e),this},o.on=function(e,n){return this.event.on(e,n),this},o.off=function(e){return this.event.off(e),this},o.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(x(arguments,1))),this},o.add=function(e,n){return this.i.Slides.add(e,n),this},o.remove=function(e){return this.i.Slides.remove(e),this},o.is=function(e){return this.n.type===e},o.refresh=function(){return this.emit(Q),this},o.destroy=function(e){e===void 0&&(e=!0);var n=this.event,a=this.state;return a.is(1)?X(this).on("ready",this.destroy.bind(this,e)):(Mt(this.i,function(s){s.destroy&&s.destroy(e)},!0),n.emit(on),n.destroy(),e&&h(this.splides),a.set(7)),this},Oo(t,[{key:"options",get:function(){return this.n},set:function(e){this.i.Media.set(e,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),t})(),Rt.defaults={},Rt.STATES=d,Rt},typeof We=="object"&&typeof je<"u"?je.exports=we():typeof define=="function"&&define.amd?define(we):(Be=typeof globalThis<"u"?globalThis:Be||self).Splide=we()});function qo(){Array.from(document.querySelectorAll(".c-accordion__title")).forEach(Po)}function Po(r){r.addEventListener("click",Io())}function Io(){return r=>{var i=r.currentTarget.parentElement;i.classList.toggle("c-accordion__item--open")}}var Mn=qo;var ie=To(qn());function $e(){document.querySelectorAll('[data-carousel="hero"]').forEach(i=>{new ie.default(i,{type:"fade",autoplay:!0,interval:5e3,pauseOnHover:!1,arrows:!1,pagination:!1}).mount()}),document.querySelectorAll('[data-carousel="cards"]').forEach(i=>{let c=i.dataset.carouselType||"slide",d=i.dataset.carouselRewind==="true",h=parseInt(i.dataset.carouselPerPage)||4,x=parseInt(i.dataset.carouselPerMove)||1,k=getComputedStyle(document.documentElement).getPropertyValue("--wrapper").trim(),W=parseInt(k),R=parseInt(getComputedStyle(i).getPropertyValue("--grid-gap")),j=(W-(h-1)*R)/h;i.querySelectorAll(".splide__slide").forEach(st=>{st.style.width=`${j}px`});let et=new ie.default(i,{type:c,perPage:h,perMove:x,gap:"var(--grid-gap)",focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:d,breakpoints:{768:{perPage:3},608:{perPage:2},320:{perPage:1}}});i.querySelector(".c-carousel__arrow--prev")?.addEventListener("click",()=>et.go("<")),i.querySelector(".c-carousel__arrow--next")?.addEventListener("click",()=>et.go(">"));let ot="calc((100vw - var(--wrapper)) * 0.5)";i.querySelector(".splide__list").style.paddingInlineStart=ot,i.querySelector(".splide__list").style.paddingInlineEnd=ot,i.querySelectorAll("a").forEach(st=>{st.addEventListener("click",mt=>mt.stopPropagation())}),et.mount()}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(i=>{let c=i.dataset.galleryId,d=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!d)return;let h=new ie.default(d,{type:"slide",perPage:parseInt(d.dataset.perPage)||4,gap:"0.5rem",focus:"center",isNavigation:!0,pagination:!1,arrows:!1}).mount();new ie.default(i,{type:"fade",pagination:!1,arrows:!0}).sync(h).mount(),i.querySelectorAll("a").forEach(k=>{k.addEventListener("click",W=>W.stopPropagation())})})}function Ho(){let r=document.getElementById("clearForm");r&&r.addEventListener("click",function(){this.closest("form").elements.forEach(c=>{if(c.value!=""){if(c.type.toLowerCase()=="text"||c.type.toLowerCase()=="email"||c.type.toLowerCase()=="tel"||c.type.toLowerCase()=="select-one"||c.type.toLowerCase()=="textarea"){c.value="";return}else if(c.type.toLowerCase()=="checkbox"){c.checked=!1;return}}})})}var Pn=Ho;function No(){document.querySelectorAll(".c-comparison-table").forEach(Do)}function Do(r){let i=r.parentNode.parentNode,c=i.querySelector(".c-comparison-table tbody"),d=i.querySelector(".c-comparison-table thead"),h=i.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!d||!h)return;let x=Array.from(d.children[0].children).filter((R,j)=>j).map(R=>({info:R.innerHTML})),k=Array.from(d.children[1].children).filter((R,j)=>j).map(R=>({buttons:R.innerHTML})),W=x.map((R,j)=>({...R,...k[j],table:[]}));Array.from(c.children).forEach(R=>{if(R.classList.contains("c-comparison-table__title"))W.forEach(j=>{j.table.push({type:"title",title:R.children[0].textContent})});else{let j=Array.from(R.children),et=j.shift();j.forEach((ot,st)=>{W[st].table.push({type:"row",key:et.textContent,value:ot.innerHTML})})}}),W.forEach(R=>{let j=zo(R);h.appendChild(j)})}function zo(r){let i=document.createElement("article");return i.innerHTML=`${r.info}${r.buttons}
|
|
2
2
|
<table class="c-comparison-table">
|
|
3
3
|
${r.table.map(c=>c.type==="title"?`<tr class="c-comparison-table__title"><th><span>${c.title}</span></th><th></th></tr>`:`<tr>
|
|
4
4
|
<td>${c.key}</td>
|