mp-design-system 2.0.74 → 2.0.75

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.
@@ -1,10 +1,10 @@
1
- (()=>{var _o=Object.create;var qn=Object.defineProperty;var xo=Object.getOwnPropertyDescriptor;var ko=Object.getOwnPropertyNames;var Co=Object.getPrototypeOf,qo=Object.prototype.hasOwnProperty;var To=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports);var Mo=(o,i,c,u)=>{if(i&&typeof i=="object"||typeof i=="function")for(let f of ko(i))!qo.call(o,f)&&f!==c&&qn(o,f,{get:()=>i[f],enumerable:!(u=xo(i,f))||u.enumerable});return o};var Po=(o,i,c)=>(c=o!=null?_o(Co(o)):{},Mo(i||!o||!o.__esModule?qn(c,"default",{value:o,enumerable:!0}):c,o));var Pn=To((We,$e)=>{function Mn(o,i){for(var c=0;c<i.length;c++){var u=i[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function Ho(o,i,c){i&&Mn(o.prototype,i),c&&Mn(o,c),Object.defineProperty(o,"prototype",{writable:!1})}var Be,we;Be=We,we=function(){"use strict";var o="(prefers-reduced-motion: reduce)",i=4,c=5,u={CREATED:1,MOUNTED:2,IDLE:3,MOVING:i,SCROLLING:c,DRAGGING:6,DESTROYED:7};function f(t){t.length=0}function m(t,r,e){return Array.prototype.slice.call(t,r,e)}function y(t){return t.bind.apply(t,[null].concat(m(arguments,1)))}function O(){}var D=setTimeout;function R(t){return requestAnimationFrame(t)}function Q(t,r){return typeof r===t}function et(t){return!Dt(t)&&Q("object",t)}var J=Array.isArray,mt=y(Q,"function"),ft=y(Q,"string"),Lt=y(Q,"undefined");function Dt(t){return t===null}function ae(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function j(t){return J(t)?t:[t]}function Y(t,r){j(t).forEach(r)}function pt(t,r){return-1<t.indexOf(r)}function se(t,r){return t.push.apply(t,j(r)),t}function bt(t,r,e){t&&Y(r,function(n){n&&t.classList[e?"add":"remove"](n)})}function gt(t,r){bt(t,ft(r)?r.split(" "):r,!0)}function jt(t,r){Y(r,t.appendChild.bind(t))}function Ee(t,r){Y(t,function(e){var n=(r||e).parentNode;n&&n.insertBefore(e,r)})}function Vt(t,r){return ae(t)&&(t.msMatchesSelector||t.matches).call(t,r)}function Ye(t,r){return t=t?m(t.children):[],r?t.filter(function(e){return Vt(e,r)}):t}function Gt(t,r){return r?Ye(t,r)[0]:t.firstElementChild}var Xt=Object.keys;function qt(t,r,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&r(t[n],n)})}function Yt(t){return m(arguments,1).forEach(function(r){qt(r,function(e,n){t[n]=r[n]})}),t}function St(t){return m(arguments,1).forEach(function(r){qt(r,function(e,n){J(e)?t[n]=e.slice():et(e)?t[n]=St({},et(t[n])?t[n]:{},e):t[n]=e})}),t}function Ke(t,r){Y(r||Xt(t),function(e){delete t[e]})}function yt(t,r){Y(t,function(e){Y(r,function(n){e&&e.removeAttribute(n)})})}function F(t,r,e){et(r)?qt(r,function(n,a){F(t,a,n)}):Y(t,function(n){Dt(e)||e===""?yt(n,r):n.setAttribute(r,String(e))})}function Ht(t,r,e){return t=document.createElement(t),r&&(ft(r)?gt:F)(t,r),e&&jt(e,t),t}function ht(t,r,e){if(Lt(e))return getComputedStyle(t)[r];Dt(e)||(t.style[r]=""+e)}function Kt(t,r){ht(t,"display",r)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,r){return t.getAttribute(r)}function Qe(t,r){return t&&t.classList.contains(r)}function ut(t){return t.getBoundingClientRect()}function Tt(t){Y(t,function(r){r&&r.parentNode&&r.parentNode.removeChild(r)})}function Je(t){return Gt(new DOMParser().parseFromString(t,"text/html").body)}function wt(t,r){t.preventDefault(),r&&(t.stopPropagation(),t.stopImmediatePropagation())}function Ze(t,r){return t&&t.querySelector(r)}function Ae(t,r){return r?m(t.querySelectorAll(r)):[]}function Et(t,r){bt(t,r,!1)}function Le(t){return t.timeStamp}function Mt(t){return ft(t)?t:t?t+"px":""}var Ut="splide",Se="data-"+Ut;function Qt(t,r){if(!t)throw new Error("["+Ut+"] "+(r||""))}var _t=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,it=Math.abs;function tn(t,r,e){return it(t-r)<e}function de(t,s,e,n){var a=_t(s,e),s=le(s,e);return n?a<t&&t<s:a<=t&&t<=s}function Nt(t,a,e){var n=_t(a,e),a=le(a,e);return _t(le(n,t),a)}function _e(t){return(0<t)-(t<0)}function xe(t,r){return Y(r,function(e){t=t.replace("%s",""+e)}),t}function ke(t){return t<10?"0"+t:""+t}var en={};function nn(){var t=[];function r(e,n,a){Y(e,function(s){s&&Y(n,function(h){h.split(" ").forEach(function(d){d=d.split("."),a(s,d[0],d[1])})})})}return{bind:function(e,n,a,s){r(e,n,function(h,d,w){var v="addEventListener"in h,g=v?h.removeEventListener.bind(h,d,a,s):h.removeListener.bind(h,a);v?h.addEventListener(d,a,s):h.addListener(a),t.push([h,d,w,a,g])})},unbind:function(e,n,a){r(e,n,function(s,h,d){t=t.filter(function(w){return!!(w[0]!==s||w[1]!==h||w[2]!==d||a&&w[3]!==a)||(w[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]()}),f(t)}}}var Pt="mounted",xt="move",Zt="moved",on="click",ro="active",io="inactive",co="visible",ao="hidden",Z="refresh",ct="updated",te="resize",Ce="resized",qe="scroll",zt="scrolled",rn="destroy",cn="navigation:mounted",an="autoplay:play",sn="autoplay:pause",ln="lazyload:loaded",un="sk",dn="sh";function X(t){var r=t?t.event.bus:document.createDocumentFragment(),e=nn();return t&&t.event.on(rn,e.destroy),Yt(e,{bus:r,on:function(n,a){e.bind(r,j(n).join(" "),function(s){a.apply(a,J(s.detail)?s.detail:[])})},off:y(e.unbind,r),emit:function(n){e.dispatch(r,n,m(arguments,1))}})}function fe(t,r,e,n){var a,s,h=Date.now,d=0,w=!0,v=0;function g(){if(!w){if(d=t?_t((h()-a)/t,1):1,e&&e(d),1<=d&&(r(),a=h(),n&&++v>=n))return k();s=R(g)}}function k(){w=!0}function S(){s&&cancelAnimationFrame(s),w=!(s=d=0)}return{start:function(E){E||S(),a=h()-(E?d*t:0),w=!1,s=R(g)},rewind:function(){a=h(),d=0,e&&e(d)},pause:k,cancel:S,set:function(E){t=E},isPaused:function(){return w}}}function so(t){var r=t;return{set:function(e){r=e},is:function(e){return pt(j(e),r)}}}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]},At="role",Ft="tabindex",K="aria-",ee=K+"controls",fn=K+"current",pn=K+"selected",dt=K+"label",Me=K+"labelledby",hn=K+"hidden",Pe=K+"orientation",ne=K+"roledescription",vn=K+"live",mn=K+"busy",gn=K+"atomic",Ie=[At,Ft,"disabled",ee,fn,dt,Me,hn,Pe,ne],K=Ut+"__",Oe=Ut,yn=K+"track",lo=K+"list",me=K+"slide",bn=me+"--clone",uo=me+"__container",De=K+"arrows",ge=K+"arrow",wn=ge+"--prev",En=ge+"--next",ye=K+"pagination",An=ye+"__page",fo=K+"progress__bar",po=K+"toggle",ho=K+"sr",Ot="is-active",Ln="is-prev",Sn="is-next",He="is-visible",Ne="is-loading",_n="is-focus-in",xn="is-overflow",vo=[Ot,He,Ln,Sn,Ne,_n,xn],kn="touchstart mousedown",ze="touchmove mousemove",Re="touchend touchcancel mouseup click",Bt="slide",Wt="loop",oe="fade";function mo(t,r,e,n){var a,s=X(t),h=s.on,d=s.emit,w=s.bind,v=t.Components,g=t.root,k=t.options,S=k.isNavigation,E=k.updateOnMove,C=k.i18n,_=k.pagination,l=k.slideFocus,p=v.Direction.resolve,P=vt(n,"style"),T=vt(n,dt),q=-1<e,A=Gt(n,"."+uo);function H(){var b=t.splides.map(function(L){return L=L.splide.Components.Slides.getAt(r),L?L.slide.id:""}).join(" ");F(n,dt,xe(C.slideX,(q?e:r)+1)),F(n,ee,b),F(n,At,l?"button":""),l&&yt(n,ne)}function $(){a||B()}function B(){var b,L,M;a||(b=t.index,(M=N())!==Qe(n,Ot)&&(bt(n,Ot,M),F(n,fn,S&&M||""),d(M?ro:io,x)),M=(function(){if(t.is(oe))return N();var W=ut(v.Elements.track),tt=ut(n),G=p("left",!0),lt=p("right",!0);return ue(W[G])<=Jt(tt[G])&&ue(tt[lt])<=Jt(W[lt])})(),L=!M&&(!N()||q),t.state.is([i,c])||F(n,hn,L||""),F(Ae(n,k.focusableNodes||""),Ft,L?-1:""),l&&F(n,Ft,L?-1:0),M!==Qe(n,He)&&(bt(n,He,M),d(M?co:ao,x)),M||document.activeElement!==n||(L=v.Slides.getAt(t.index))&&Ue(L.slide),bt(n,Ln,r===b-1),bt(n,Sn,r===b+1))}function N(){var b=t.index;return b===r||k.cloneStatus&&b===e}var x={index:r,slideIndex:e,slide:n,container:A,isClone:q,mount:function(){q||(n.id=g.id+"-slide"+ke(r+1),F(n,At,_?"tabpanel":"group"),F(n,ne,C.slide),F(n,dt,T||xe(C.slideLabel,[r+1,t.length]))),w(n,"click",y(d,on,x)),w(n,"keydown",y(d,un,x)),h([Zt,dn,zt],B),h(cn,H),E&&h(xt,$)},destroy:function(){a=!0,s.destroy(),Et(n,vo),yt(n,Ie),F(n,"style",P),F(n,dt,T||"")},update:B,style:function(b,L,M){ht(M&&A||n,b,L)},isWithin:function(b,L){return b=it(b-r),(b=q||!k.rewind&&!t.is(Wt)?b:_t(b,t.length-b))<=L}};return x}var go=Se+"-interval",$t={passive:!1,capture:!0},yo={Spacebar:" ",Right:he,Left:pe,Up:Rt,Down:It};function Fe(t){return t=ft(t)?t:t.key,yo[t]||t}var Cn="keydown",re=Se+"-lazy",be=re+"-srcset",bo="["+re+"], ["+be+"]",wo=[" ","Enter"],Eo=Object.freeze({__proto__:null,Media:function(t,r,e){var n=t.state,a=e.breakpoints||{},s=e.reducedMotion||{},h=nn(),d=[];function w(S){S&&h.destroy()}function v(S,E){E=matchMedia(E),h.bind(E,"change",g),d.push([S,E])}function g(){var S=n.is(7),E=e.direction,C=d.reduce(function(_,l){return St(_,l[1].matches?l[0]:{})},{});Ke(e),k(C),e.destroy?t.destroy(e.destroy==="completely"):S?(w(!0),t.mount()):E!==e.direction&&t.refresh()}function k(S,E,C){St(e,S),E&&St(Object.getPrototypeOf(e),S),!C&&n.is(1)||t.emit(ct,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(a).sort(function(E,C){return S?+E-+C:+C-+E}).forEach(function(E){v(a[E],"("+(S?"min":"max")+"-width:"+E+"px)")}),v(s,o),g()},destroy:w,reduce:function(S){matchMedia(o).matches&&(S?St(e,s):Ke(e,Xt(s)))},set:k}},Direction:function(t,r,e){return{resolve:function(n,a,s){var h=(s=s||e.direction)!=="rtl"||a?s===ve?0:-1:1;return Te[n]&&Te[n][h]||n.replace(/width|left|right/i,function(d,w){return d=Te[d.toLowerCase()][h]||d,0<w?d.charAt(0).toUpperCase()+d.slice(1):d})},orient:function(n){return n*(e.direction==="rtl"?1:-1)}}},Elements:function(t,r,e){var n,a,s,h=X(t),d=h.on,w=h.bind,v=t.root,g=e.i18n,k={},S=[],E=[],C=[];function _(){n=P("."+yn),a=Gt(n,"."+lo),Qt(n&&a,"A track/list element is missing."),se(S,Ye(a,"."+me+":not(."+bn+")")),qt({arrows:De,pagination:ye,prev:wn,next:En,bar:fo,toggle:po},function(H,$){k[$]=P("."+H)}),Yt(k,{root:v,track:n,list:a,slides:S});var q=v.id||(function(H){return""+H+ke(en[H]=(en[H]||0)+1)})(Ut),A=e.role;v.id=q,n.id=n.id||q+"-track",a.id=a.id||q+"-list",!vt(v,At)&&v.tagName!=="SECTION"&&A&&F(v,At,A),F(v,ne,g.carousel),F(a,At,"presentation"),p()}function l(q){var A=Ie.concat("style");f(S),Et(v,E),Et(n,C),yt([n,a],A),yt(v,q?A:["style",ne])}function p(){Et(v,E),Et(n,C),E=T(Oe),C=T(yn),gt(v,E),gt(n,C),F(v,dt,e.label),F(v,Me,e.labelledby)}function P(q){return q=Ze(v,q),q&&(function(A,H){if(mt(A.closest))return A.closest(H);for(var $=A;$&&$.nodeType===1&&!Vt($,H);)$=$.parentElement;return $})(q,"."+Oe)===v?q:void 0}function T(q){return[q+"--"+e.type,q+"--"+e.direction,e.drag&&q+"--draggable",e.isNavigation&&q+"--nav",q===Oe&&Ot]}return Yt(k,{setup:_,mount:function(){d(Z,l),d(Z,_),d(ct,p),w(document,kn+" keydown",function(q){s=q.type==="keydown"},{capture:!0}),w(v,"focusin",function(){bt(v,_n,!!s)})},destroy:l})},Slides:function(t,r,e){var n=X(t),a=n.on,s=n.emit,h=n.bind,d=(n=r.Elements).slides,w=n.list,v=[];function g(){d.forEach(function(l,p){S(l,p,-1)})}function k(){C(function(l){l.destroy()}),f(v)}function S(l,p,P){p=mo(t,p,P,l),p.mount(),v.push(p),v.sort(function(T,q){return T.index-q.index})}function E(l){return l?_(function(p){return!p.isClone}):v}function C(l,p){E(p).forEach(l)}function _(l){return v.filter(mt(l)?l:function(p){return ft(l)?Vt(p.slide,l):pt(j(l),p.index)})}return{mount:function(){g(),a(Z,k),a(Z,g)},destroy:k,update:function(){C(function(l){l.update()})},register:S,get:E,getIn:function(l){var p=r.Controller,P=p.toIndex(l),T=p.hasFocus()?1:e.perPage;return _(function(q){return de(q.index,P,P+T-1)})},getAt:function(l){return _(l)[0]},add:function(l,p){Y(l,function(P){var T,q,A;ae(P=ft(P)?Je(P):P)&&((T=d[p])?Ee(P,T):jt(w,P),gt(P,e.classes.slide),T=P,q=y(s,te),T=Ae(T,"img"),(A=T.length)?T.forEach(function(H){h(H,"load error",function(){--A||q()})}):q())}),s(Z)},remove:function(l){Tt(_(l).map(function(p){return p.slide})),s(Z)},forEach:C,filter:_,style:function(l,p,P){C(function(T){T.style(l,p,P)})},getLength:function(l){return(l?d:v).length},isEnough:function(){return v.length>e.perPage}}},Layout:function(t,r,e){var n,a,s,h=(v=X(t)).on,d=v.bind,w=v.emit,v=r.Slides,g=r.Direction.resolve,k=(r=r.Elements).root,S=r.track,E=r.list,C=v.getAt,_=v.style;function l(){n=e.direction===ve,ht(k,"maxWidth",Mt(e.width)),ht(S,g("paddingLeft"),P(!1)),ht(S,g("paddingRight"),P(!0)),p(!0)}function p(b){var L=ut(k);!b&&a.width===L.width&&a.height===L.height||(ht(S,"height",(function(){var M="";return n&&(Qt(M=T(),"height or heightRatio is missing."),M="calc("+M+" - "+P(!1)+" - "+P(!0)+")"),M})()),_(g("marginRight"),Mt(e.gap)),_("width",e.autoWidth?null:Mt(e.fixedWidth)||(n?"":q())),_("height",Mt(e.fixedHeight)||(n?e.autoHeight?null:q():T()),!0),a=L,w(Ce),s!==(s=x())&&(bt(k,xn,s),w("overflow",s)))}function P(M){var L=e.padding,M=g(M?"right":"left");return L&&Mt(L[M]||(et(L)?0:L))||"0px"}function T(){return Mt(e.height||ut(E).width*e.heightRatio)}function q(){var b=Mt(e.gap);return"calc((100%"+(b&&" + "+b)+")/"+(e.perPage||1)+(b&&" - "+b)+")"}function A(){return ut(E)[g("width")]}function H(b,L){return b=C(b||0),b?ut(b.slide)[g("width")]+(L?0:N()):0}function $(W,L){var M,W=C(W);return W?(W=ut(W.slide)[g("right")],M=ut(E)[g("left")],it(W-M)+(L?0:N())):0}function B(b){return $(t.length-1)-$(0)+H(0,b)}function N(){var b=C(0);return b&&parseFloat(ht(b.slide,g("marginRight")))||0}function x(){return t.is(oe)||B(!0)>A()}return{mount:function(){var b,L,M;l(),d(window,"resize load",(b=y(w,te),M=fe(L||0,b,null,1),function(){M.isPaused()&&M.start()})),h([ct,Z],l),h(te,p)},resize:p,listSize:A,slideSize:H,sliderSize:B,totalSize:$,getPadding:function(b){return parseFloat(ht(S,g("padding"+(b?"Right":"Left"))))||0},isOverflow:x}},Clones:function(t,r,e){var n,a=X(t),s=a.on,h=r.Elements,d=r.Slides,w=r.Direction.resolve,v=[];function g(){if(s(Z,k),s([ct,te],E),n=C()){var _=n,l=d.get().slice(),p=l.length;if(p){for(;l.length<_;)se(l,l);se(l.slice(-_),l.slice(0,_)).forEach(function(P,T){var q=T<_,A=(function(H,$){return H=H.cloneNode(!0),gt(H,e.classes.clone),H.id=t.root.id+"-clone"+ke($+1),H})(P.slide,T);q?Ee(A,l[0].slide):jt(h.list,A),se(v,A),d.register(A,T-_+(q?0:p),P.index)})}r.Layout.resize(!0)}}function k(){S(),g()}function S(){Tt(v),f(v),a.destroy()}function E(){var _=C();n!==_&&(n<_||!_)&&a.emit(Z)}function C(){var _,l=e.clones;return t.is(Wt)?Lt(l)&&(l=(_=e[w("fixedWidth")]&&r.Layout.slideSize(0))&&Jt(ut(h.track)[w("width")]/_)||e[w("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:g,destroy:S}},Move:function(t,r,e){var n,a=X(t),s=a.on,h=a.emit,d=t.state.set,w=(a=r.Layout).slideSize,v=a.getPadding,g=a.totalSize,k=a.listSize,S=a.sliderSize,E=(a=r.Direction).resolve,C=a.orient,_=(a=r.Elements).list,l=a.track;function p(){r.Controller.isBusy()||(r.Scroll.cancel(),P(t.index),r.Slides.update())}function P(x){T($(x,!0))}function T(x,b){t.is(oe)||(b=b?x:(function(L){{var M,W;t.is(Wt)&&(M=H(L),W=M>r.Controller.getEnd(),(M<0||W)&&(L=q(L,W)))}return L})(x),ht(_,"transform","translate"+E("X")+"("+b+"px)"),x!==b&&h(dn))}function q(x,b){var L=x-N(b),M=S();return x-=C(M*(Jt(it(L)/M)||1))*(b?1:-1)}function A(){T(B(),!0),n.cancel()}function H(x){for(var b=r.Slides.get(),L=0,M=1/0,W=0;W<b.length;W++){var tt=b[W].index,G=it($(tt,!0)-x);if(!(G<=M))break;M=G,L=tt}return L}function $(x,b){var L=C(g(x-1)-(x=x,(L=e.focus)==="center"?(k()-w(x,!0))/2:+L*w(x)||0));return b?(x=L,x=e.trimSpace&&t.is(Bt)?Nt(x,0,C(S(!0)-k())):x):L}function B(){var x=E("left");return ut(_)[x]-ut(l)[x]+C(v(!1))}function N(x){return $(x?r.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=r.Transition,s([Pt,Ce,ct,Z],p)},move:function(x,b,L,M){var W,tt;x!==b&&(W=L<x,tt=C(q(B(),W)),W?0<=tt:tt<=_[E("scrollWidth")]-ut(l)[E("width")])&&(A(),T(q(B(),L<x),!0)),d(i),h(xt,b,L,x),n.start(b,function(){d(3),h(Zt,b,L,x),M&&M()})},jump:P,translate:T,shift:q,cancel:A,toIndex:H,toPosition:$,getPosition:B,getLimit:N,exceededLimit:function(M,b){b=Lt(b)?B():b;var L=M!==!0&&C(b)<C(N(!1)),M=M!==!1&&C(b)>C(N(!0));return L||M},reposition:p}},Controller:function(t,r,e){var n,a,s,h,d=X(t),w=d.on,v=d.emit,g=r.Move,k=g.getPosition,S=g.getLimit,E=g.toPosition,C=(d=r.Slides).isEnough,_=d.getLength,l=e.omitEnd,p=t.is(Wt),P=t.is(Bt),T=y(N,!1),q=y(N,!0),A=e.start||0,H=A;function $(){a=_(!0),s=e.perMove,h=e.perPage,n=L();var I=Nt(A,0,l?n:a-1);I!==A&&(A=I,g.reposition())}function B(){n!==L()&&v("ei")}function N(I,rt){var nt=s||(G()?1:h),nt=x(A+nt*(I?-1:1),A,!(s||G()));return nt===-1&&P&&!tn(k(),S(!I),1)?I?0:n:rt?nt:b(nt)}function x(I,rt,nt){var at;return C()||G()?((at=(function(ot){if(P&&e.trimSpace==="move"&&ot!==A)for(var z=k();z===E(ot,!0)&&de(ot,0,t.length-1,!e.rewind);)ot<A?--ot:++ot;return ot})(I))!==I&&(rt=I,I=at,nt=!1),I<0||n<I?I=s||!de(0,I,rt,!0)&&!de(n,rt,I,!0)?p?nt?I<0?-(a%h||h):a:I:e.rewind?I<0?n:0:-1:M(W(I)):nt&&I!==rt&&(I=M(W(rt)+(I<rt?-1:1)))):I=-1,I}function b(I){return p?(I+a)%a||0:I}function L(){for(var I=a-(G()||p&&s?1:h);l&&0<I--;)if(E(a-1,!0)!==E(I,!0)){I++;break}return Nt(I,0,a-1)}function M(I){return Nt(G()?I:h*I,0,n)}function W(I){return G()?_t(I,n):ue((n<=I?a-1:I)/h)}function tt(I){I!==A&&(H=A,A=I)}function G(){return!Lt(e.focus)||e.isNavigation}function lt(){return t.state.is([i,c])&&!!e.waitForTransition}return{mount:function(){$(),w([ct,Z,"ei"],$),w(Ce,B)},go:function(I,rt,nt){var at;lt()||-1<(at=b(I=(function(ot){var z=A;{var V,U;ft(ot)?(U=ot.match(/([+\-<>])(\d+)?/)||[],V=U[1],U=U[2],V==="+"||V==="-"?z=x(A+ +(""+V+(+U||1)),A):V===">"?z=U?M(+U):T(!0):V==="<"&&(z=q(!0))):z=p?ot:Nt(ot,0,n)}return z})(I)))&&(rt||at!==A)&&(tt(at),g.move(I,at,H,nt))},scroll:function(I,rt,nt,at){r.Scroll.scroll(I,rt,nt,function(){var ot=b(g.toIndex(k()));tt(l?_t(ot,n):ot),at&&at()})},getNext:T,getPrev:q,getAdjacent:N,getEnd:L,setIndex:tt,getIndex:function(I){return I?H:A},toIndex:M,toPage:W,toDest:function(I){return I=g.toIndex(I),P?Nt(I,0,n):I},hasFocus:G,isBusy:lt}},Arrows:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,v=e.classes,g=e.i18n,k=r.Elements,S=r.Controller,E=k.arrows,C=k.track,_=E,l=k.prev,p=k.next,P={};function T(){var N=e.arrows;!N||l&&p||(_=E||Ht("div",v.arrows),l=$(!0),p=$(!1),n=!0,jt(_,[l,p]),E||Ee(_,C)),l&&p&&(Yt(P,{prev:l,next:p}),Kt(_,N?"":"none"),gt(_,a=De+"--"+e.direction),N&&(h([Pt,Zt,Z,zt,"ei"],B),d(p,"click",y(H,">")),d(l,"click",y(H,"<")),B(),F([l,p],ee,C.id),w("arrows:mounted",l,p))),h(ct,q)}function q(){A(),T()}function A(){s.destroy(),Et(_,a),n?(Tt(E?[l,p]:_),l=p=null):yt([l,p],Ie)}function H(N){S.go(N,!0)}function $(N){return Je('<button class="'+v.arrow+" "+(N?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 B(){var N,x,b,L;l&&p&&(L=t.index,N=S.getPrev(),x=S.getNext(),b=-1<N&&L<N?g.last:g.prev,L=-1<x&&x<L?g.first:g.next,l.disabled=N<0,p.disabled=x<0,F(l,dt,b),F(p,dt,L),w("arrows:updated",l,p,N,x))}return{arrows:P,mount:T,destroy:A,update:B}},Autoplay:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,v=fe(e.interval,t.go.bind(t,">"),function(A){var H=k.bar;H&&ht(H,"width",100*A+"%"),w("autoplay:playing",A)}),g=v.isPaused,k=r.Elements,S=(s=r.Elements).root,E=s.toggle,C=e.autoplay,_=C==="pause";function l(){g()&&r.Slides.isEnough()&&(v.start(!e.resetProgress),a=n=_=!1,T(),w(an))}function p(A){_=!!(A=A===void 0?!0:A),T(),g()||(v.pause(),w(sn))}function P(){_||(n||a?p(!1):l())}function T(){E&&(bt(E,Ot,!_),F(E,dt,e.i18n[_?"play":"pause"]))}function q(A){A=r.Slides.getAt(A),v.set(A&&+vt(A.slide,go)||e.interval)}return{mount:function(){C&&(e.pauseOnHover&&d(S,"mouseenter mouseleave",function(A){n=A.type==="mouseenter",P()}),e.pauseOnFocus&&d(S,"focusin focusout",function(A){a=A.type==="focusin",P()}),E&&d(E,"click",function(){_?l():p(!0)}),h([xt,qe,Z],v.rewind),h(xt,q),E&&F(E,ee,k.track.id),_||l(),T())},destroy:v.cancel,play:l,pause:p,isPaused:g}},Cover:function(t,r,e){var n=X(t).on;function a(h){r.Slides.forEach(function(d){var w=Gt(d.container||d.slide,"img");w&&w.src&&s(h,w,d)})}function s(h,d,w){w.style("background",h?'center/cover no-repeat url("'+d.src+'")':"",!0),Kt(d,h?"none":"")}return{mount:function(){e.cover&&(n(ln,y(s,!0)),n([Pt,ct,Z],y(a,!0)))},destroy:y(a,!1)}},Scroll:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=t.state.set,v=r.Move,g=v.getPosition,k=v.getLimit,S=v.exceededLimit,E=v.translate,C=t.is(Bt),_=1;function l(A,H,L,B,N){var x,b=g(),L=(T(),!L||C&&S()||(L=r.Layout.sliderSize(),x=_e(A)*L*ue(it(A)/L)||0,A=v.toPosition(r.Controller.toDest(A%L))+x),tn(b,A,1));_=1,H=L?0:H||le(it(A-b)/1.5,800),a=B,n=fe(H,p,y(P,b,A,N),1),w(c),d(qe),n.start()}function p(){w(3),a&&a(),d(zt)}function P(A,H,$,x){var N=g(),x=(A+(H-A)*(H=x,(A=e.easingFunc)?A(H):1-Math.pow(1-H,4))-N)*_;E(N+x),C&&!$&&S()&&(_*=.6,it(x)<10&&l(k(S(!0)),600,!1,a,!0))}function T(){n&&n.cancel()}function q(){n&&!n.isPaused()&&(T(),p())}return{mount:function(){h(xt,T),h([ct,Z],q)},destroy:T,scroll:l,cancel:q}},Drag:function(t,r,e){var n,a,s,h,d,w,v,g,k=X(t),S=k.on,E=k.emit,C=k.bind,_=k.unbind,l=t.state,p=r.Move,P=r.Scroll,T=r.Controller,q=r.Elements.track,A=r.Media.reduce,H=(k=r.Direction).resolve,$=k.orient,B=p.getPosition,N=p.exceededLimit,x=!1;function b(){var z=e.drag;ot(!z),h=z==="free"}function L(z){var V,U,st;w=!1,v||(V=at(z),U=z.target,st=e.noDrag,Vt(U,"."+An+", ."+ge)||st&&Vt(U,st)||!V&&z.button||(T.isBusy()?wt(z,!0):(g=V?q:window,d=l.is([i,c]),s=null,C(g,ze,M,$t),C(g,Re,W,$t),p.cancel(),P.cancel(),G(z))))}function M(z){var V,U,st,kt,Ct;l.is(6)||(l.set(6),E("drag")),z.cancelable&&(d?(p.translate(n+lt(z)/(x&&t.is(Bt)?5:1)),Ct=200<I(z),V=x!==(x=N()),(Ct||V)&&G(z),w=!0,E("dragging"),wt(z)):it(lt(Ct=z))>it(lt(Ct,!0))&&(V=z,U=e.dragMinThreshold,st=et(U),kt=st&&U.mouse||0,st=(st?U.touch:+U)||10,d=it(lt(V))>(at(V)?st:kt),wt(z)))}function W(z){var V,U,st;l.is(6)&&(l.set(3),E("dragged")),d&&(U=(function(kt){return B()+_e(kt)*_t(it(kt)*(e.flickPower||600),h?1/0:r.Layout.listSize()*(e.flickMaxPages||1))})(V=(function(kt){if(t.is(Wt)||!x){var Ct=I(kt);if(Ct&&Ct<200)return lt(kt)/Ct}return 0})(V=z)),st=e.rewind&&e.rewindByDrag,A(!1),h?T.scroll(U,0,e.snap):t.is(oe)?T.go($(_e(V))<0?st?"<":"-":st?">":"+"):t.is(Bt)&&x&&st?T.go(N(!0)?">":"<"):T.go(T.toDest(U),!0),A(!0),wt(z)),_(g,ze,M),_(g,Re,W),d=!1}function tt(z){!v&&w&&wt(z,!0)}function G(z){s=a,a=z,n=B()}function lt(z,V){return nt(z,V)-nt(rt(z),V)}function I(z){return Le(z)-Le(rt(z))}function rt(z){return a===z&&s||a}function nt(z,V){return(at(z)?z.changedTouches[0]:z)["page"+H(V?"Y":"X")]}function at(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function ot(z){v=z}return{mount:function(){C(q,ze,O,$t),C(q,Re,O,$t),C(q,kn,L,$t),C(q,"click",tt,{capture:!0}),C(q,"dragstart",wt),S([Pt,ct],b)},disable:ot,isDragging:function(){return d}}},Keyboard:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.unbind,v=t.root,g=r.Direction.resolve;function k(){var _=e.keyboard;_&&(n=_==="global"?window:v,d(n,Cn,C))}function S(){w(n,Cn)}function E(){var _=a;a=!0,D(function(){a=_})}function C(_){a||((_=Fe(_))===g(pe)?t.go("<"):_===g(he)&&t.go(">"))}return{mount:function(){k(),h(ct,S),h(ct,k),h(xt,E)},destroy:S,disable:function(_){a=_}}},LazyLoad:function(t,r,e){var n=X(t),a=n.on,s=n.off,h=n.bind,d=n.emit,w=e.lazyLoad==="sequential",v=[Zt,zt],g=[];function k(){f(g),r.Slides.forEach(function(l){Ae(l.slide,bo).forEach(function(p){var P=vt(p,re),T=vt(p,be);P===p.src&&T===p.srcset||(P=e.classes.spinner,P=Gt(T=p.parentElement,"."+P)||Ht("span",P,T),g.push([p,l,P]),p.src||Kt(p,"none"))})}),(w?_:(s(v),a(v,S),S))()}function S(){(g=g.filter(function(l){var p=e.perPage*((e.preloadPages||1)+1)-1;return!l[1].isWithin(t.index,p)||E(l)})).length||s(v)}function E(l){var p=l[0];gt(l[1].slide,Ne),h(p,"load error",y(C,l)),F(p,"src",vt(p,re)),F(p,"srcset",vt(p,be)),yt(p,re),yt(p,be)}function C(l,p){var P=l[0],T=l[1];Et(T.slide,Ne),p.type!=="error"&&(Tt(l[2]),Kt(P,""),d(ln,P,T),d(te)),w&&_()}function _(){g.length&&E(g.shift())}return{mount:function(){e.lazyLoad&&(k(),a(Z,k))},destroy:y(f,g),check:S}},Pagination:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=s.bind,v=r.Slides,g=r.Elements,k=r.Controller,S=k.hasFocus,E=k.getIndex,C=k.go,_=r.Direction.resolve,l=g.pagination,p=[];function P(){n&&(Tt(l?m(n.children):n),Et(n,a),f(p),n=null),s.destroy()}function T(B){C(">"+B,!0)}function q(B,N){var x=p.length,b=Fe(N),M=A(),L=-1,M=(b===_(he,!1,M)?L=++B%x:b===_(pe,!1,M)?L=(--B+x)%x:b==="Home"?L=0:b==="End"&&(L=x-1),p[L]);M&&(Ue(M.button),C(">"+L),wt(N,!0))}function A(){return e.paginationDirection||e.direction}function H(B){return p[k.toPage(B)]}function $(){var B,N=H(E(!0)),x=H(E());N&&(Et(B=N.button,Ot),yt(B,pn),F(B,Ft,-1)),x&&(gt(B=x.button,Ot),F(B,pn,!0),F(B,Ft,"")),d("pagination:updated",{list:n,items:p},N,x)}return{items:p,mount:function B(){P(),h([ct,Z,"ei"],B);var N=e.pagination;if(l&&Kt(l,N?"":"none"),N){h([xt,qe,zt],$);var N=t.length,x=e.classes,b=e.i18n,L=e.perPage,M=S()?k.getEnd()+1:Jt(N/L);gt(n=l||Ht("ul",x.pagination,g.track.parentElement),a=ye+"--"+A()),F(n,At,"tablist"),F(n,dt,b.select),F(n,Pe,A()===ve?"vertical":"");for(var W=0;W<M;W++){var tt=Ht("li",null,n),G=Ht("button",{class:x.page,type:"button"},tt),lt=v.getIn(W).map(function(nt){return nt.slide.id}),I=!S()&&1<L?b.pageX:b.slideX;w(G,"click",y(T,W)),e.paginationKeyboard&&w(G,"keydown",y(q,W)),F(tt,At,"presentation"),F(G,At,"tab"),F(G,ee,lt.join(" ")),F(G,dt,xe(I,W+1)),F(G,Ft,-1),p.push({li:tt,button:G,page:W})}$(),d("pagination:mounted",{list:n,items:p},H(t.index))}},destroy:P,getAt:H,update:$}},Sync:function(t,r,e){var n=e.isNavigation,a=e.slideFocus,s=[];function h(){var S,E;t.splides.forEach(function(C){C.isParent||(w(t,C.splide),w(C.splide,t))}),n&&(S=X(t),(E=S.on)(on,g),E(un,k),E([Pt,ct],v),s.push(S),S.emit(cn,t.splides))}function d(){s.forEach(function(S){S.destroy()}),f(s)}function w(S,E){S=X(S),S.on(xt,function(C,_,l){E.go(E.is(Wt)?l:C)}),s.push(S)}function v(){F(r.Elements.list,Pe,e.direction===ve?"vertical":"")}function g(S){t.go(S.index)}function k(S,E){pt(wo,Fe(E))&&(g(S),wt(E))}return{setup:y(r.Media.set,{slideFocus:Lt(a)?n:a},!0),mount:h,destroy:d,remount:function(){d(),h()}}},Wheel:function(t,r,e){var n=X(t).bind,a=0;function s(h){var d,w,v,g,k;h.cancelable&&(d=(k=h.deltaY)<0,w=Le(h),v=e.wheelMinThreshold||0,g=e.wheelSleep||0,it(k)>v&&g<w-a&&(t.go(d?"<":">"),a=w),k=d,e.releaseWheel&&!t.state.is(i)&&r.Controller.getAdjacent(k)===-1||wt(h))}return{mount:function(){e.wheel&&n(r.Elements.track,"wheel",s,$t)}}},Live:function(t,r,e){var n=X(t).on,a=r.Elements.track,s=e.live&&!e.isNavigation,h=Ht("span",ho),d=fe(90,y(w,!1));function w(g){F(a,mn,g),g?(jt(a,h),d.start()):(Tt(h),d.cancel())}function v(g){s&&F(a,vn,g?"off":"polite")}return{mount:function(){s&&(v(!r.Autoplay.isPaused()),F(a,gn,!0),h.textContent="\u2026",n(an,y(v,!0)),n(sn,y(v,!1)),n([Zt,zt],y(w,!0)))},disable:v,destroy:function(){yt(a,[vn,gn,mn]),Tt(h)}}}}),Ao={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:bn,arrows:De,arrow:ge,prev:wn,next:En,pagination:ye,page:An,spinner:K+"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 Lo(t,r,e){var n=r.Slides;function a(){n.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}return{mount:function(){X(t).on([Pt,Z],a)},start:function(s,h){n.style("transition","opacity "+e.speed+"ms "+e.easing),D(h)},cancel:O}}function So(t,r,e){var n,a=r.Move,s=r.Controller,h=r.Scroll,d=r.Elements.list,w=y(ht,d,"transition");function v(){w(""),h.cancel()}return{mount:function(){X(t).bind(d,"transitionend",function(g){g.target===d&&n&&(v(),n())})},start:function(g,k){var S=a.toPosition(g,!0),E=a.getPosition(),C=(function(_){var l=e.rewindSpeed;if(t.is(Bt)&&l){var p=s.getIndex(!0),P=s.getEnd();if(p===0&&P<=_||P<=p&&_===0)return l}return e.speed})(g);1<=it(S-E)&&1<=C?e.useScroll?h.scroll(S,C,!1,k):(w("transform "+C+"ms "+e.easing),a.translate(S,!0),n=k):(a.jump(g),k())},cancel:v}}return Rt=(function(){function t(e,n){this.event=X(),this.Components={},this.state=so(1),this.splides=[],this.n={},this.t={},e=ft(e)?Ze(document,e):e,Qt(e,e+" is invalid."),n=St({label:vt(this.root=e,dt)||"",labelledby:vt(e,Me)||""},Ao,t.defaults,n||{});try{St(n,JSON.parse(vt(e,Se)))}catch{Qt(!1,"Invalid JSON")}this.n=Object.create(St({},n))}var r=t.prototype;return r.mount=function(e,n){var a=this,s=this.state,h=this.Components;return Qt(s.is([1,7]),"Already mounted!"),s.set(1),this.i=h,this.r=n||this.r||(this.is(oe)?Lo:So),this.t=e||this.t,qt(Yt({},Eo,this.t,{Transition:this.r}),function(d,w){d=d(a,h,a.n),(h[w]=d).setup&&d.setup()}),qt(h,function(d){d.mount&&d.mount()}),this.emit(Pt),gt(this.root,"is-initialized"),s.set(3),this.emit("ready"),this},r.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},r.go=function(e){return this.i.Controller.go(e),this},r.on=function(e,n){return this.event.on(e,n),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(m(arguments,1))),this},r.add=function(e,n){return this.i.Slides.add(e,n),this},r.remove=function(e){return this.i.Slides.remove(e),this},r.is=function(e){return this.n.type===e},r.refresh=function(){return this.emit(Z),this},r.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)):(qt(this.i,function(s){s.destroy&&s.destroy(e)},!0),n.emit(rn),n.destroy(),e&&f(this.splides),a.set(7)),this},Ho(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=u,Rt},typeof We=="object"&&typeof $e<"u"?$e.exports=we():typeof define=="function"&&define.amd?define(we):(Be=typeof globalThis<"u"?globalThis:Be||self).Splide=we()});function Io(){Array.from(document.querySelectorAll(".c-accordion__title")).forEach(Oo)}function Oo(o){o.addEventListener("click",Do())}function Do(){return o=>{var i=o.currentTarget.parentElement;i.classList.toggle("c-accordion__item--open")}}var Tn=Io;var ie=Po(Pn());function je(){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",u=i.dataset.carouselRewind==="true",f=parseInt(i.dataset.carouselPerPage)||4,m=parseInt(i.dataset.carouselPerMove)||1,y=getComputedStyle(document.documentElement).getPropertyValue("--wrapper").trim(),O=parseInt(y),D=parseInt(getComputedStyle(i).getPropertyValue("--row-gap")),R=(O+"px"-(f-1)*D)/f;i.querySelectorAll(".splide__slide").forEach(J=>{J.style.width=`${R}`});let Q=new ie.default(i,{type:c,perPage:f,perMove:m,gap:D,focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:u,clones:0,breakpoints:{768:{perPage:3},608:{perPage:2},320:{perPage:1}}});i.querySelector(".c-carousel__arrow--prev")?.addEventListener("click",()=>Q.go("<")),i.querySelector(".c-carousel__arrow--next")?.addEventListener("click",()=>Q.go(">"));let et=i.querySelector(".splide__list");if(et){let J="calc((100vw - var(--wrapper)) * 0.5)";et.style.paddingInlineStart=J,et.style.paddingInlineEnd=J}i.querySelectorAll("a").forEach(J=>{J.addEventListener("click",mt=>mt.stopPropagation())}),Q.mount()}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(i=>{let c=i.dataset.galleryId,u=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!u)return;let f=new ie.default(u,{type:"slide",perPage:parseInt(u.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(f).mount(),i.querySelectorAll("a").forEach(y=>{y.addEventListener("click",O=>O.stopPropagation())})})}function No(){let o=document.getElementById("clearForm");o&&o.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 In=No;function zo(){document.querySelectorAll(".c-comparison-table").forEach(Ro)}function Ro(o){let i=o.parentNode.parentNode,c=i.querySelector(".c-comparison-table tbody"),u=i.querySelector(".c-comparison-table thead"),f=i.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!u||!f)return;let m=Array.from(u.children[0].children).filter((D,R)=>R).map(D=>({info:D.innerHTML})),y=Array.from(u.children[1].children).filter((D,R)=>R).map(D=>({buttons:D.innerHTML})),O=m.map((D,R)=>({...D,...y[R],table:[]}));Array.from(c.children).forEach(D=>{if(D.classList.contains("c-comparison-table__title"))O.forEach(R=>{R.table.push({type:"title",title:D.children[0].textContent})});else{let R=Array.from(D.children),Q=R.shift();R.forEach((et,J)=>{O[J].table.push({type:"row",key:Q.textContent,value:et.innerHTML})})}}),O.forEach(D=>{let R=Fo(D);f.appendChild(R)})}function Fo(o){let i=document.createElement("article");return i.innerHTML=`${o.info}${o.buttons}
1
+ (()=>{var _o=Object.create;var qn=Object.defineProperty;var xo=Object.getOwnPropertyDescriptor;var ko=Object.getOwnPropertyNames;var Co=Object.getPrototypeOf,qo=Object.prototype.hasOwnProperty;var To=(o,i)=>()=>(i||o((i={exports:{}}).exports,i),i.exports);var Mo=(o,i,c,u)=>{if(i&&typeof i=="object"||typeof i=="function")for(let f of ko(i))!qo.call(o,f)&&f!==c&&qn(o,f,{get:()=>i[f],enumerable:!(u=xo(i,f))||u.enumerable});return o};var Po=(o,i,c)=>(c=o!=null?_o(Co(o)):{},Mo(i||!o||!o.__esModule?qn(c,"default",{value:o,enumerable:!0}):c,o));var Pn=To((Be,$e)=>{function Mn(o,i){for(var c=0;c<i.length;c++){var u=i[c];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(o,u.key,u)}}function Ho(o,i,c){i&&Mn(o.prototype,i),c&&Mn(o,c),Object.defineProperty(o,"prototype",{writable:!1})}var We,we;We=Be,we=function(){"use strict";var o="(prefers-reduced-motion: reduce)",i=4,c=5,u={CREATED:1,MOUNTED:2,IDLE:3,MOVING:i,SCROLLING:c,DRAGGING:6,DESTROYED:7};function f(t){t.length=0}function m(t,r,e){return Array.prototype.slice.call(t,r,e)}function y(t){return t.bind.apply(t,[null].concat(m(arguments,1)))}function O(){}var D=setTimeout;function R(t){return requestAnimationFrame(t)}function Q(t,r){return typeof r===t}function tt(t){return!Dt(t)&&Q("object",t)}var rt=Array.isArray,At=y(Q,"function"),ft=y(Q,"string"),Lt=y(Q,"undefined");function Dt(t){return t===null}function ae(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch{return!1}}function j(t){return rt(t)?t:[t]}function Y(t,r){j(t).forEach(r)}function pt(t,r){return-1<t.indexOf(r)}function se(t,r){return t.push.apply(t,j(r)),t}function yt(t,r,e){t&&Y(r,function(n){n&&t.classList[e?"add":"remove"](n)})}function mt(t,r){yt(t,ft(r)?r.split(" "):r,!0)}function jt(t,r){Y(r,t.appendChild.bind(t))}function Ee(t,r){Y(t,function(e){var n=(r||e).parentNode;n&&n.insertBefore(e,r)})}function Vt(t,r){return ae(t)&&(t.msMatchesSelector||t.matches).call(t,r)}function Ye(t,r){return t=t?m(t.children):[],r?t.filter(function(e){return Vt(e,r)}):t}function Gt(t,r){return r?Ye(t,r)[0]:t.firstElementChild}var Xt=Object.keys;function qt(t,r,e){t&&(e?Xt(t).reverse():Xt(t)).forEach(function(n){n!=="__proto__"&&r(t[n],n)})}function Yt(t){return m(arguments,1).forEach(function(r){qt(r,function(e,n){t[n]=r[n]})}),t}function St(t){return m(arguments,1).forEach(function(r){qt(r,function(e,n){rt(e)?t[n]=e.slice():tt(e)?t[n]=St({},tt(t[n])?t[n]:{},e):t[n]=e})}),t}function Ke(t,r){Y(r||Xt(t),function(e){delete t[e]})}function gt(t,r){Y(t,function(e){Y(r,function(n){e&&e.removeAttribute(n)})})}function F(t,r,e){tt(r)?qt(r,function(n,a){F(t,a,n)}):Y(t,function(n){Dt(e)||e===""?gt(n,r):n.setAttribute(r,String(e))})}function Ht(t,r,e){return t=document.createElement(t),r&&(ft(r)?mt:F)(t,r),e&&jt(e,t),t}function ht(t,r,e){if(Lt(e))return getComputedStyle(t)[r];Dt(e)||(t.style[r]=""+e)}function Kt(t,r){ht(t,"display",r)}function Ue(t){t.setActive&&t.setActive()||t.focus({preventScroll:!0})}function vt(t,r){return t.getAttribute(r)}function Qe(t,r){return t&&t.classList.contains(r)}function ut(t){return t.getBoundingClientRect()}function Tt(t){Y(t,function(r){r&&r.parentNode&&r.parentNode.removeChild(r)})}function Je(t){return Gt(new DOMParser().parseFromString(t,"text/html").body)}function bt(t,r){t.preventDefault(),r&&(t.stopPropagation(),t.stopImmediatePropagation())}function Ze(t,r){return t&&t.querySelector(r)}function Ae(t,r){return r?m(t.querySelectorAll(r)):[]}function wt(t,r){yt(t,r,!1)}function Le(t){return t.timeStamp}function Mt(t){return ft(t)?t:t?t+"px":""}var Ut="splide",Se="data-"+Ut;function Qt(t,r){if(!t)throw new Error("["+Ut+"] "+(r||""))}var _t=Math.min,le=Math.max,ue=Math.floor,Jt=Math.ceil,it=Math.abs;function tn(t,r,e){return it(t-r)<e}function de(t,s,e,n){var a=_t(s,e),s=le(s,e);return n?a<t&&t<s:a<=t&&t<=s}function Nt(t,a,e){var n=_t(a,e),a=le(a,e);return _t(le(n,t),a)}function _e(t){return(0<t)-(t<0)}function xe(t,r){return Y(r,function(e){t=t.replace("%s",""+e)}),t}function ke(t){return t<10?"0"+t:""+t}var en={};function nn(){var t=[];function r(e,n,a){Y(e,function(s){s&&Y(n,function(h){h.split(" ").forEach(function(d){d=d.split("."),a(s,d[0],d[1])})})})}return{bind:function(e,n,a,s){r(e,n,function(h,d,w){var v="addEventListener"in h,g=v?h.removeEventListener.bind(h,d,a,s):h.removeListener.bind(h,a);v?h.addEventListener(d,a,s):h.addListener(a),t.push([h,d,w,a,g])})},unbind:function(e,n,a){r(e,n,function(s,h,d){t=t.filter(function(w){return!!(w[0]!==s||w[1]!==h||w[2]!==d||a&&w[3]!==a)||(w[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]()}),f(t)}}}var Pt="mounted",xt="move",Zt="moved",on="click",ro="active",io="inactive",co="visible",ao="hidden",J="refresh",ct="updated",te="resize",Ce="resized",qe="scroll",zt="scrolled",rn="destroy",cn="navigation:mounted",an="autoplay:play",sn="autoplay:pause",ln="lazyload:loaded",un="sk",dn="sh";function X(t){var r=t?t.event.bus:document.createDocumentFragment(),e=nn();return t&&t.event.on(rn,e.destroy),Yt(e,{bus:r,on:function(n,a){e.bind(r,j(n).join(" "),function(s){a.apply(a,rt(s.detail)?s.detail:[])})},off:y(e.unbind,r),emit:function(n){e.dispatch(r,n,m(arguments,1))}})}function fe(t,r,e,n){var a,s,h=Date.now,d=0,w=!0,v=0;function g(){if(!w){if(d=t?_t((h()-a)/t,1):1,e&&e(d),1<=d&&(r(),a=h(),n&&++v>=n))return k();s=R(g)}}function k(){w=!0}function S(){s&&cancelAnimationFrame(s),w=!(s=d=0)}return{start:function(E){E||S(),a=h()-(E?d*t:0),w=!1,s=R(g)},rewind:function(){a=h(),d=0,e&&e(d)},pause:k,cancel:S,set:function(E){t=E},isPaused:function(){return w}}}function so(t){var r=t;return{set:function(e){r=e},is:function(e){return pt(j(e),r)}}}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]},Et="role",Ft="tabindex",K="aria-",ee=K+"controls",fn=K+"current",pn=K+"selected",dt=K+"label",Me=K+"labelledby",hn=K+"hidden",Pe=K+"orientation",ne=K+"roledescription",vn=K+"live",mn=K+"busy",gn=K+"atomic",Ie=[Et,Ft,"disabled",ee,fn,dt,Me,hn,Pe,ne],K=Ut+"__",Oe=Ut,yn=K+"track",lo=K+"list",me=K+"slide",bn=me+"--clone",uo=me+"__container",De=K+"arrows",ge=K+"arrow",wn=ge+"--prev",En=ge+"--next",ye=K+"pagination",An=ye+"__page",fo=K+"progress__bar",po=K+"toggle",ho=K+"sr",Ot="is-active",Ln="is-prev",Sn="is-next",He="is-visible",Ne="is-loading",_n="is-focus-in",xn="is-overflow",vo=[Ot,He,Ln,Sn,Ne,_n,xn],kn="touchstart mousedown",ze="touchmove mousemove",Re="touchend touchcancel mouseup click",Wt="slide",Bt="loop",oe="fade";function mo(t,r,e,n){var a,s=X(t),h=s.on,d=s.emit,w=s.bind,v=t.Components,g=t.root,k=t.options,S=k.isNavigation,E=k.updateOnMove,C=k.i18n,_=k.pagination,l=k.slideFocus,p=v.Direction.resolve,P=vt(n,"style"),T=vt(n,dt),q=-1<e,A=Gt(n,"."+uo);function H(){var b=t.splides.map(function(L){return L=L.splide.Components.Slides.getAt(r),L?L.slide.id:""}).join(" ");F(n,dt,xe(C.slideX,(q?e:r)+1)),F(n,ee,b),F(n,Et,l?"button":""),l&&gt(n,ne)}function $(){a||W()}function W(){var b,L,M;a||(b=t.index,(M=N())!==Qe(n,Ot)&&(yt(n,Ot,M),F(n,fn,S&&M||""),d(M?ro:io,x)),M=(function(){if(t.is(oe))return N();var B=ut(v.Elements.track),Z=ut(n),G=p("left",!0),lt=p("right",!0);return ue(B[G])<=Jt(Z[G])&&ue(Z[lt])<=Jt(B[lt])})(),L=!M&&(!N()||q),t.state.is([i,c])||F(n,hn,L||""),F(Ae(n,k.focusableNodes||""),Ft,L?-1:""),l&&F(n,Ft,L?-1:0),M!==Qe(n,He)&&(yt(n,He,M),d(M?co:ao,x)),M||document.activeElement!==n||(L=v.Slides.getAt(t.index))&&Ue(L.slide),yt(n,Ln,r===b-1),yt(n,Sn,r===b+1))}function N(){var b=t.index;return b===r||k.cloneStatus&&b===e}var x={index:r,slideIndex:e,slide:n,container:A,isClone:q,mount:function(){q||(n.id=g.id+"-slide"+ke(r+1),F(n,Et,_?"tabpanel":"group"),F(n,ne,C.slide),F(n,dt,T||xe(C.slideLabel,[r+1,t.length]))),w(n,"click",y(d,on,x)),w(n,"keydown",y(d,un,x)),h([Zt,dn,zt],W),h(cn,H),E&&h(xt,$)},destroy:function(){a=!0,s.destroy(),wt(n,vo),gt(n,Ie),F(n,"style",P),F(n,dt,T||"")},update:W,style:function(b,L,M){ht(M&&A||n,b,L)},isWithin:function(b,L){return b=it(b-r),(b=q||!k.rewind&&!t.is(Bt)?b:_t(b,t.length-b))<=L}};return x}var go=Se+"-interval",$t={passive:!1,capture:!0},yo={Spacebar:" ",Right:he,Left:pe,Up:Rt,Down:It};function Fe(t){return t=ft(t)?t:t.key,yo[t]||t}var Cn="keydown",re=Se+"-lazy",be=re+"-srcset",bo="["+re+"], ["+be+"]",wo=[" ","Enter"],Eo=Object.freeze({__proto__:null,Media:function(t,r,e){var n=t.state,a=e.breakpoints||{},s=e.reducedMotion||{},h=nn(),d=[];function w(S){S&&h.destroy()}function v(S,E){E=matchMedia(E),h.bind(E,"change",g),d.push([S,E])}function g(){var S=n.is(7),E=e.direction,C=d.reduce(function(_,l){return St(_,l[1].matches?l[0]:{})},{});Ke(e),k(C),e.destroy?t.destroy(e.destroy==="completely"):S?(w(!0),t.mount()):E!==e.direction&&t.refresh()}function k(S,E,C){St(e,S),E&&St(Object.getPrototypeOf(e),S),!C&&n.is(1)||t.emit(ct,e)}return{setup:function(){var S=e.mediaQuery==="min";Xt(a).sort(function(E,C){return S?+E-+C:+C-+E}).forEach(function(E){v(a[E],"("+(S?"min":"max")+"-width:"+E+"px)")}),v(s,o),g()},destroy:w,reduce:function(S){matchMedia(o).matches&&(S?St(e,s):Ke(e,Xt(s)))},set:k}},Direction:function(t,r,e){return{resolve:function(n,a,s){var h=(s=s||e.direction)!=="rtl"||a?s===ve?0:-1:1;return Te[n]&&Te[n][h]||n.replace(/width|left|right/i,function(d,w){return d=Te[d.toLowerCase()][h]||d,0<w?d.charAt(0).toUpperCase()+d.slice(1):d})},orient:function(n){return n*(e.direction==="rtl"?1:-1)}}},Elements:function(t,r,e){var n,a,s,h=X(t),d=h.on,w=h.bind,v=t.root,g=e.i18n,k={},S=[],E=[],C=[];function _(){n=P("."+yn),a=Gt(n,"."+lo),Qt(n&&a,"A track/list element is missing."),se(S,Ye(a,"."+me+":not(."+bn+")")),qt({arrows:De,pagination:ye,prev:wn,next:En,bar:fo,toggle:po},function(H,$){k[$]=P("."+H)}),Yt(k,{root:v,track:n,list:a,slides:S});var q=v.id||(function(H){return""+H+ke(en[H]=(en[H]||0)+1)})(Ut),A=e.role;v.id=q,n.id=n.id||q+"-track",a.id=a.id||q+"-list",!vt(v,Et)&&v.tagName!=="SECTION"&&A&&F(v,Et,A),F(v,ne,g.carousel),F(a,Et,"presentation"),p()}function l(q){var A=Ie.concat("style");f(S),wt(v,E),wt(n,C),gt([n,a],A),gt(v,q?A:["style",ne])}function p(){wt(v,E),wt(n,C),E=T(Oe),C=T(yn),mt(v,E),mt(n,C),F(v,dt,e.label),F(v,Me,e.labelledby)}function P(q){return q=Ze(v,q),q&&(function(A,H){if(At(A.closest))return A.closest(H);for(var $=A;$&&$.nodeType===1&&!Vt($,H);)$=$.parentElement;return $})(q,"."+Oe)===v?q:void 0}function T(q){return[q+"--"+e.type,q+"--"+e.direction,e.drag&&q+"--draggable",e.isNavigation&&q+"--nav",q===Oe&&Ot]}return Yt(k,{setup:_,mount:function(){d(J,l),d(J,_),d(ct,p),w(document,kn+" keydown",function(q){s=q.type==="keydown"},{capture:!0}),w(v,"focusin",function(){yt(v,_n,!!s)})},destroy:l})},Slides:function(t,r,e){var n=X(t),a=n.on,s=n.emit,h=n.bind,d=(n=r.Elements).slides,w=n.list,v=[];function g(){d.forEach(function(l,p){S(l,p,-1)})}function k(){C(function(l){l.destroy()}),f(v)}function S(l,p,P){p=mo(t,p,P,l),p.mount(),v.push(p),v.sort(function(T,q){return T.index-q.index})}function E(l){return l?_(function(p){return!p.isClone}):v}function C(l,p){E(p).forEach(l)}function _(l){return v.filter(At(l)?l:function(p){return ft(l)?Vt(p.slide,l):pt(j(l),p.index)})}return{mount:function(){g(),a(J,k),a(J,g)},destroy:k,update:function(){C(function(l){l.update()})},register:S,get:E,getIn:function(l){var p=r.Controller,P=p.toIndex(l),T=p.hasFocus()?1:e.perPage;return _(function(q){return de(q.index,P,P+T-1)})},getAt:function(l){return _(l)[0]},add:function(l,p){Y(l,function(P){var T,q,A;ae(P=ft(P)?Je(P):P)&&((T=d[p])?Ee(P,T):jt(w,P),mt(P,e.classes.slide),T=P,q=y(s,te),T=Ae(T,"img"),(A=T.length)?T.forEach(function(H){h(H,"load error",function(){--A||q()})}):q())}),s(J)},remove:function(l){Tt(_(l).map(function(p){return p.slide})),s(J)},forEach:C,filter:_,style:function(l,p,P){C(function(T){T.style(l,p,P)})},getLength:function(l){return(l?d:v).length},isEnough:function(){return v.length>e.perPage}}},Layout:function(t,r,e){var n,a,s,h=(v=X(t)).on,d=v.bind,w=v.emit,v=r.Slides,g=r.Direction.resolve,k=(r=r.Elements).root,S=r.track,E=r.list,C=v.getAt,_=v.style;function l(){n=e.direction===ve,ht(k,"maxWidth",Mt(e.width)),ht(S,g("paddingLeft"),P(!1)),ht(S,g("paddingRight"),P(!0)),p(!0)}function p(b){var L=ut(k);!b&&a.width===L.width&&a.height===L.height||(ht(S,"height",(function(){var M="";return n&&(Qt(M=T(),"height or heightRatio is missing."),M="calc("+M+" - "+P(!1)+" - "+P(!0)+")"),M})()),_(g("marginRight"),Mt(e.gap)),_("width",e.autoWidth?null:Mt(e.fixedWidth)||(n?"":q())),_("height",Mt(e.fixedHeight)||(n?e.autoHeight?null:q():T()),!0),a=L,w(Ce),s!==(s=x())&&(yt(k,xn,s),w("overflow",s)))}function P(M){var L=e.padding,M=g(M?"right":"left");return L&&Mt(L[M]||(tt(L)?0:L))||"0px"}function T(){return Mt(e.height||ut(E).width*e.heightRatio)}function q(){var b=Mt(e.gap);return"calc((100%"+(b&&" + "+b)+")/"+(e.perPage||1)+(b&&" - "+b)+")"}function A(){return ut(E)[g("width")]}function H(b,L){return b=C(b||0),b?ut(b.slide)[g("width")]+(L?0:N()):0}function $(B,L){var M,B=C(B);return B?(B=ut(B.slide)[g("right")],M=ut(E)[g("left")],it(B-M)+(L?0:N())):0}function W(b){return $(t.length-1)-$(0)+H(0,b)}function N(){var b=C(0);return b&&parseFloat(ht(b.slide,g("marginRight")))||0}function x(){return t.is(oe)||W(!0)>A()}return{mount:function(){var b,L,M;l(),d(window,"resize load",(b=y(w,te),M=fe(L||0,b,null,1),function(){M.isPaused()&&M.start()})),h([ct,J],l),h(te,p)},resize:p,listSize:A,slideSize:H,sliderSize:W,totalSize:$,getPadding:function(b){return parseFloat(ht(S,g("padding"+(b?"Right":"Left"))))||0},isOverflow:x}},Clones:function(t,r,e){var n,a=X(t),s=a.on,h=r.Elements,d=r.Slides,w=r.Direction.resolve,v=[];function g(){if(s(J,k),s([ct,te],E),n=C()){var _=n,l=d.get().slice(),p=l.length;if(p){for(;l.length<_;)se(l,l);se(l.slice(-_),l.slice(0,_)).forEach(function(P,T){var q=T<_,A=(function(H,$){return H=H.cloneNode(!0),mt(H,e.classes.clone),H.id=t.root.id+"-clone"+ke($+1),H})(P.slide,T);q?Ee(A,l[0].slide):jt(h.list,A),se(v,A),d.register(A,T-_+(q?0:p),P.index)})}r.Layout.resize(!0)}}function k(){S(),g()}function S(){Tt(v),f(v),a.destroy()}function E(){var _=C();n!==_&&(n<_||!_)&&a.emit(J)}function C(){var _,l=e.clones;return t.is(Bt)?Lt(l)&&(l=(_=e[w("fixedWidth")]&&r.Layout.slideSize(0))&&Jt(ut(h.track)[w("width")]/_)||e[w("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:g,destroy:S}},Move:function(t,r,e){var n,a=X(t),s=a.on,h=a.emit,d=t.state.set,w=(a=r.Layout).slideSize,v=a.getPadding,g=a.totalSize,k=a.listSize,S=a.sliderSize,E=(a=r.Direction).resolve,C=a.orient,_=(a=r.Elements).list,l=a.track;function p(){r.Controller.isBusy()||(r.Scroll.cancel(),P(t.index),r.Slides.update())}function P(x){T($(x,!0))}function T(x,b){t.is(oe)||(b=b?x:(function(L){{var M,B;t.is(Bt)&&(M=H(L),B=M>r.Controller.getEnd(),(M<0||B)&&(L=q(L,B)))}return L})(x),ht(_,"transform","translate"+E("X")+"("+b+"px)"),x!==b&&h(dn))}function q(x,b){var L=x-N(b),M=S();return x-=C(M*(Jt(it(L)/M)||1))*(b?1:-1)}function A(){T(W(),!0),n.cancel()}function H(x){for(var b=r.Slides.get(),L=0,M=1/0,B=0;B<b.length;B++){var Z=b[B].index,G=it($(Z,!0)-x);if(!(G<=M))break;M=G,L=Z}return L}function $(x,b){var L=C(g(x-1)-(x=x,(L=e.focus)==="center"?(k()-w(x,!0))/2:+L*w(x)||0));return b?(x=L,x=e.trimSpace&&t.is(Wt)?Nt(x,0,C(S(!0)-k())):x):L}function W(){var x=E("left");return ut(_)[x]-ut(l)[x]+C(v(!1))}function N(x){return $(x?r.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=r.Transition,s([Pt,Ce,ct,J],p)},move:function(x,b,L,M){var B,Z;x!==b&&(B=L<x,Z=C(q(W(),B)),B?0<=Z:Z<=_[E("scrollWidth")]-ut(l)[E("width")])&&(A(),T(q(W(),L<x),!0)),d(i),h(xt,b,L,x),n.start(b,function(){d(3),h(Zt,b,L,x),M&&M()})},jump:P,translate:T,shift:q,cancel:A,toIndex:H,toPosition:$,getPosition:W,getLimit:N,exceededLimit:function(M,b){b=Lt(b)?W():b;var L=M!==!0&&C(b)<C(N(!1)),M=M!==!1&&C(b)>C(N(!0));return L||M},reposition:p}},Controller:function(t,r,e){var n,a,s,h,d=X(t),w=d.on,v=d.emit,g=r.Move,k=g.getPosition,S=g.getLimit,E=g.toPosition,C=(d=r.Slides).isEnough,_=d.getLength,l=e.omitEnd,p=t.is(Bt),P=t.is(Wt),T=y(N,!1),q=y(N,!0),A=e.start||0,H=A;function $(){a=_(!0),s=e.perMove,h=e.perPage,n=L();var I=Nt(A,0,l?n:a-1);I!==A&&(A=I,g.reposition())}function W(){n!==L()&&v("ei")}function N(I,ot){var et=s||(G()?1:h),et=x(A+et*(I?-1:1),A,!(s||G()));return et===-1&&P&&!tn(k(),S(!I),1)?I?0:n:ot?et:b(et)}function x(I,ot,et){var at;return C()||G()?((at=(function(nt){if(P&&e.trimSpace==="move"&&nt!==A)for(var z=k();z===E(nt,!0)&&de(nt,0,t.length-1,!e.rewind);)nt<A?--nt:++nt;return nt})(I))!==I&&(ot=I,I=at,et=!1),I<0||n<I?I=s||!de(0,I,ot,!0)&&!de(n,ot,I,!0)?p?et?I<0?-(a%h||h):a:I:e.rewind?I<0?n:0:-1:M(B(I)):et&&I!==ot&&(I=M(B(ot)+(I<ot?-1:1)))):I=-1,I}function b(I){return p?(I+a)%a||0:I}function L(){for(var I=a-(G()||p&&s?1:h);l&&0<I--;)if(E(a-1,!0)!==E(I,!0)){I++;break}return Nt(I,0,a-1)}function M(I){return Nt(G()?I:h*I,0,n)}function B(I){return G()?_t(I,n):ue((n<=I?a-1:I)/h)}function Z(I){I!==A&&(H=A,A=I)}function G(){return!Lt(e.focus)||e.isNavigation}function lt(){return t.state.is([i,c])&&!!e.waitForTransition}return{mount:function(){$(),w([ct,J,"ei"],$),w(Ce,W)},go:function(I,ot,et){var at;lt()||-1<(at=b(I=(function(nt){var z=A;{var V,U;ft(nt)?(U=nt.match(/([+\-<>])(\d+)?/)||[],V=U[1],U=U[2],V==="+"||V==="-"?z=x(A+ +(""+V+(+U||1)),A):V===">"?z=U?M(+U):T(!0):V==="<"&&(z=q(!0))):z=p?nt:Nt(nt,0,n)}return z})(I)))&&(ot||at!==A)&&(Z(at),g.move(I,at,H,et))},scroll:function(I,ot,et,at){r.Scroll.scroll(I,ot,et,function(){var nt=b(g.toIndex(k()));Z(l?_t(nt,n):nt),at&&at()})},getNext:T,getPrev:q,getAdjacent:N,getEnd:L,setIndex:Z,getIndex:function(I){return I?H:A},toIndex:M,toPage:B,toDest:function(I){return I=g.toIndex(I),P?Nt(I,0,n):I},hasFocus:G,isBusy:lt}},Arrows:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,v=e.classes,g=e.i18n,k=r.Elements,S=r.Controller,E=k.arrows,C=k.track,_=E,l=k.prev,p=k.next,P={};function T(){var N=e.arrows;!N||l&&p||(_=E||Ht("div",v.arrows),l=$(!0),p=$(!1),n=!0,jt(_,[l,p]),E||Ee(_,C)),l&&p&&(Yt(P,{prev:l,next:p}),Kt(_,N?"":"none"),mt(_,a=De+"--"+e.direction),N&&(h([Pt,Zt,J,zt,"ei"],W),d(p,"click",y(H,">")),d(l,"click",y(H,"<")),W(),F([l,p],ee,C.id),w("arrows:mounted",l,p))),h(ct,q)}function q(){A(),T()}function A(){s.destroy(),wt(_,a),n?(Tt(E?[l,p]:_),l=p=null):gt([l,p],Ie)}function H(N){S.go(N,!0)}function $(N){return Je('<button class="'+v.arrow+" "+(N?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 W(){var N,x,b,L;l&&p&&(L=t.index,N=S.getPrev(),x=S.getNext(),b=-1<N&&L<N?g.last:g.prev,L=-1<x&&x<L?g.first:g.next,l.disabled=N<0,p.disabled=x<0,F(l,dt,b),F(p,dt,L),w("arrows:updated",l,p,N,x))}return{arrows:P,mount:T,destroy:A,update:W}},Autoplay:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.emit,v=fe(e.interval,t.go.bind(t,">"),function(A){var H=k.bar;H&&ht(H,"width",100*A+"%"),w("autoplay:playing",A)}),g=v.isPaused,k=r.Elements,S=(s=r.Elements).root,E=s.toggle,C=e.autoplay,_=C==="pause";function l(){g()&&r.Slides.isEnough()&&(v.start(!e.resetProgress),a=n=_=!1,T(),w(an))}function p(A){_=!!(A=A===void 0?!0:A),T(),g()||(v.pause(),w(sn))}function P(){_||(n||a?p(!1):l())}function T(){E&&(yt(E,Ot,!_),F(E,dt,e.i18n[_?"play":"pause"]))}function q(A){A=r.Slides.getAt(A),v.set(A&&+vt(A.slide,go)||e.interval)}return{mount:function(){C&&(e.pauseOnHover&&d(S,"mouseenter mouseleave",function(A){n=A.type==="mouseenter",P()}),e.pauseOnFocus&&d(S,"focusin focusout",function(A){a=A.type==="focusin",P()}),E&&d(E,"click",function(){_?l():p(!0)}),h([xt,qe,J],v.rewind),h(xt,q),E&&F(E,ee,k.track.id),_||l(),T())},destroy:v.cancel,play:l,pause:p,isPaused:g}},Cover:function(t,r,e){var n=X(t).on;function a(h){r.Slides.forEach(function(d){var w=Gt(d.container||d.slide,"img");w&&w.src&&s(h,w,d)})}function s(h,d,w){w.style("background",h?'center/cover no-repeat url("'+d.src+'")':"",!0),Kt(d,h?"none":"")}return{mount:function(){e.cover&&(n(ln,y(s,!0)),n([Pt,ct,J],y(a,!0)))},destroy:y(a,!1)}},Scroll:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=t.state.set,v=r.Move,g=v.getPosition,k=v.getLimit,S=v.exceededLimit,E=v.translate,C=t.is(Wt),_=1;function l(A,H,L,W,N){var x,b=g(),L=(T(),!L||C&&S()||(L=r.Layout.sliderSize(),x=_e(A)*L*ue(it(A)/L)||0,A=v.toPosition(r.Controller.toDest(A%L))+x),tn(b,A,1));_=1,H=L?0:H||le(it(A-b)/1.5,800),a=W,n=fe(H,p,y(P,b,A,N),1),w(c),d(qe),n.start()}function p(){w(3),a&&a(),d(zt)}function P(A,H,$,x){var N=g(),x=(A+(H-A)*(H=x,(A=e.easingFunc)?A(H):1-Math.pow(1-H,4))-N)*_;E(N+x),C&&!$&&S()&&(_*=.6,it(x)<10&&l(k(S(!0)),600,!1,a,!0))}function T(){n&&n.cancel()}function q(){n&&!n.isPaused()&&(T(),p())}return{mount:function(){h(xt,T),h([ct,J],q)},destroy:T,scroll:l,cancel:q}},Drag:function(t,r,e){var n,a,s,h,d,w,v,g,k=X(t),S=k.on,E=k.emit,C=k.bind,_=k.unbind,l=t.state,p=r.Move,P=r.Scroll,T=r.Controller,q=r.Elements.track,A=r.Media.reduce,H=(k=r.Direction).resolve,$=k.orient,W=p.getPosition,N=p.exceededLimit,x=!1;function b(){var z=e.drag;nt(!z),h=z==="free"}function L(z){var V,U,st;w=!1,v||(V=at(z),U=z.target,st=e.noDrag,Vt(U,"."+An+", ."+ge)||st&&Vt(U,st)||!V&&z.button||(T.isBusy()?bt(z,!0):(g=V?q:window,d=l.is([i,c]),s=null,C(g,ze,M,$t),C(g,Re,B,$t),p.cancel(),P.cancel(),G(z))))}function M(z){var V,U,st,kt,Ct;l.is(6)||(l.set(6),E("drag")),z.cancelable&&(d?(p.translate(n+lt(z)/(x&&t.is(Wt)?5:1)),Ct=200<I(z),V=x!==(x=N()),(Ct||V)&&G(z),w=!0,E("dragging"),bt(z)):it(lt(Ct=z))>it(lt(Ct,!0))&&(V=z,U=e.dragMinThreshold,st=tt(U),kt=st&&U.mouse||0,st=(st?U.touch:+U)||10,d=it(lt(V))>(at(V)?st:kt),bt(z)))}function B(z){var V,U,st;l.is(6)&&(l.set(3),E("dragged")),d&&(U=(function(kt){return W()+_e(kt)*_t(it(kt)*(e.flickPower||600),h?1/0:r.Layout.listSize()*(e.flickMaxPages||1))})(V=(function(kt){if(t.is(Bt)||!x){var Ct=I(kt);if(Ct&&Ct<200)return lt(kt)/Ct}return 0})(V=z)),st=e.rewind&&e.rewindByDrag,A(!1),h?T.scroll(U,0,e.snap):t.is(oe)?T.go($(_e(V))<0?st?"<":"-":st?">":"+"):t.is(Wt)&&x&&st?T.go(N(!0)?">":"<"):T.go(T.toDest(U),!0),A(!0),bt(z)),_(g,ze,M),_(g,Re,B),d=!1}function Z(z){!v&&w&&bt(z,!0)}function G(z){s=a,a=z,n=W()}function lt(z,V){return et(z,V)-et(ot(z),V)}function I(z){return Le(z)-Le(ot(z))}function ot(z){return a===z&&s||a}function et(z,V){return(at(z)?z.changedTouches[0]:z)["page"+H(V?"Y":"X")]}function at(z){return typeof TouchEvent<"u"&&z instanceof TouchEvent}function nt(z){v=z}return{mount:function(){C(q,ze,O,$t),C(q,Re,O,$t),C(q,kn,L,$t),C(q,"click",Z,{capture:!0}),C(q,"dragstart",bt),S([Pt,ct],b)},disable:nt,isDragging:function(){return d}}},Keyboard:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,w=s.unbind,v=t.root,g=r.Direction.resolve;function k(){var _=e.keyboard;_&&(n=_==="global"?window:v,d(n,Cn,C))}function S(){w(n,Cn)}function E(){var _=a;a=!0,D(function(){a=_})}function C(_){a||((_=Fe(_))===g(pe)?t.go("<"):_===g(he)&&t.go(">"))}return{mount:function(){k(),h(ct,S),h(ct,k),h(xt,E)},destroy:S,disable:function(_){a=_}}},LazyLoad:function(t,r,e){var n=X(t),a=n.on,s=n.off,h=n.bind,d=n.emit,w=e.lazyLoad==="sequential",v=[Zt,zt],g=[];function k(){f(g),r.Slides.forEach(function(l){Ae(l.slide,bo).forEach(function(p){var P=vt(p,re),T=vt(p,be);P===p.src&&T===p.srcset||(P=e.classes.spinner,P=Gt(T=p.parentElement,"."+P)||Ht("span",P,T),g.push([p,l,P]),p.src||Kt(p,"none"))})}),(w?_:(s(v),a(v,S),S))()}function S(){(g=g.filter(function(l){var p=e.perPage*((e.preloadPages||1)+1)-1;return!l[1].isWithin(t.index,p)||E(l)})).length||s(v)}function E(l){var p=l[0];mt(l[1].slide,Ne),h(p,"load error",y(C,l)),F(p,"src",vt(p,re)),F(p,"srcset",vt(p,be)),gt(p,re),gt(p,be)}function C(l,p){var P=l[0],T=l[1];wt(T.slide,Ne),p.type!=="error"&&(Tt(l[2]),Kt(P,""),d(ln,P,T),d(te)),w&&_()}function _(){g.length&&E(g.shift())}return{mount:function(){e.lazyLoad&&(k(),a(J,k))},destroy:y(f,g),check:S}},Pagination:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,w=s.bind,v=r.Slides,g=r.Elements,k=r.Controller,S=k.hasFocus,E=k.getIndex,C=k.go,_=r.Direction.resolve,l=g.pagination,p=[];function P(){n&&(Tt(l?m(n.children):n),wt(n,a),f(p),n=null),s.destroy()}function T(W){C(">"+W,!0)}function q(W,N){var x=p.length,b=Fe(N),M=A(),L=-1,M=(b===_(he,!1,M)?L=++W%x:b===_(pe,!1,M)?L=(--W+x)%x:b==="Home"?L=0:b==="End"&&(L=x-1),p[L]);M&&(Ue(M.button),C(">"+L),bt(N,!0))}function A(){return e.paginationDirection||e.direction}function H(W){return p[k.toPage(W)]}function $(){var W,N=H(E(!0)),x=H(E());N&&(wt(W=N.button,Ot),gt(W,pn),F(W,Ft,-1)),x&&(mt(W=x.button,Ot),F(W,pn,!0),F(W,Ft,"")),d("pagination:updated",{list:n,items:p},N,x)}return{items:p,mount:function W(){P(),h([ct,J,"ei"],W);var N=e.pagination;if(l&&Kt(l,N?"":"none"),N){h([xt,qe,zt],$);var N=t.length,x=e.classes,b=e.i18n,L=e.perPage,M=S()?k.getEnd()+1:Jt(N/L);mt(n=l||Ht("ul",x.pagination,g.track.parentElement),a=ye+"--"+A()),F(n,Et,"tablist"),F(n,dt,b.select),F(n,Pe,A()===ve?"vertical":"");for(var B=0;B<M;B++){var Z=Ht("li",null,n),G=Ht("button",{class:x.page,type:"button"},Z),lt=v.getIn(B).map(function(et){return et.slide.id}),I=!S()&&1<L?b.pageX:b.slideX;w(G,"click",y(T,B)),e.paginationKeyboard&&w(G,"keydown",y(q,B)),F(Z,Et,"presentation"),F(G,Et,"tab"),F(G,ee,lt.join(" ")),F(G,dt,xe(I,B+1)),F(G,Ft,-1),p.push({li:Z,button:G,page:B})}$(),d("pagination:mounted",{list:n,items:p},H(t.index))}},destroy:P,getAt:H,update:$}},Sync:function(t,r,e){var n=e.isNavigation,a=e.slideFocus,s=[];function h(){var S,E;t.splides.forEach(function(C){C.isParent||(w(t,C.splide),w(C.splide,t))}),n&&(S=X(t),(E=S.on)(on,g),E(un,k),E([Pt,ct],v),s.push(S),S.emit(cn,t.splides))}function d(){s.forEach(function(S){S.destroy()}),f(s)}function w(S,E){S=X(S),S.on(xt,function(C,_,l){E.go(E.is(Bt)?l:C)}),s.push(S)}function v(){F(r.Elements.list,Pe,e.direction===ve?"vertical":"")}function g(S){t.go(S.index)}function k(S,E){pt(wo,Fe(E))&&(g(S),bt(E))}return{setup:y(r.Media.set,{slideFocus:Lt(a)?n:a},!0),mount:h,destroy:d,remount:function(){d(),h()}}},Wheel:function(t,r,e){var n=X(t).bind,a=0;function s(h){var d,w,v,g,k;h.cancelable&&(d=(k=h.deltaY)<0,w=Le(h),v=e.wheelMinThreshold||0,g=e.wheelSleep||0,it(k)>v&&g<w-a&&(t.go(d?"<":">"),a=w),k=d,e.releaseWheel&&!t.state.is(i)&&r.Controller.getAdjacent(k)===-1||bt(h))}return{mount:function(){e.wheel&&n(r.Elements.track,"wheel",s,$t)}}},Live:function(t,r,e){var n=X(t).on,a=r.Elements.track,s=e.live&&!e.isNavigation,h=Ht("span",ho),d=fe(90,y(w,!1));function w(g){F(a,mn,g),g?(jt(a,h),d.start()):(Tt(h),d.cancel())}function v(g){s&&F(a,vn,g?"off":"polite")}return{mount:function(){s&&(v(!r.Autoplay.isPaused()),F(a,gn,!0),h.textContent="\u2026",n(an,y(v,!0)),n(sn,y(v,!1)),n([Zt,zt],y(w,!0)))},disable:v,destroy:function(){gt(a,[vn,gn,mn]),Tt(h)}}}}),Ao={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:bn,arrows:De,arrow:ge,prev:wn,next:En,pagination:ye,page:An,spinner:K+"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 Lo(t,r,e){var n=r.Slides;function a(){n.forEach(function(s){s.style("transform","translateX(-"+100*s.index+"%)")})}return{mount:function(){X(t).on([Pt,J],a)},start:function(s,h){n.style("transition","opacity "+e.speed+"ms "+e.easing),D(h)},cancel:O}}function So(t,r,e){var n,a=r.Move,s=r.Controller,h=r.Scroll,d=r.Elements.list,w=y(ht,d,"transition");function v(){w(""),h.cancel()}return{mount:function(){X(t).bind(d,"transitionend",function(g){g.target===d&&n&&(v(),n())})},start:function(g,k){var S=a.toPosition(g,!0),E=a.getPosition(),C=(function(_){var l=e.rewindSpeed;if(t.is(Wt)&&l){var p=s.getIndex(!0),P=s.getEnd();if(p===0&&P<=_||P<=p&&_===0)return l}return e.speed})(g);1<=it(S-E)&&1<=C?e.useScroll?h.scroll(S,C,!1,k):(w("transform "+C+"ms "+e.easing),a.translate(S,!0),n=k):(a.jump(g),k())},cancel:v}}return Rt=(function(){function t(e,n){this.event=X(),this.Components={},this.state=so(1),this.splides=[],this.n={},this.t={},e=ft(e)?Ze(document,e):e,Qt(e,e+" is invalid."),n=St({label:vt(this.root=e,dt)||"",labelledby:vt(e,Me)||""},Ao,t.defaults,n||{});try{St(n,JSON.parse(vt(e,Se)))}catch{Qt(!1,"Invalid JSON")}this.n=Object.create(St({},n))}var r=t.prototype;return r.mount=function(e,n){var a=this,s=this.state,h=this.Components;return Qt(s.is([1,7]),"Already mounted!"),s.set(1),this.i=h,this.r=n||this.r||(this.is(oe)?Lo:So),this.t=e||this.t,qt(Yt({},Eo,this.t,{Transition:this.r}),function(d,w){d=d(a,h,a.n),(h[w]=d).setup&&d.setup()}),qt(h,function(d){d.mount&&d.mount()}),this.emit(Pt),mt(this.root,"is-initialized"),s.set(3),this.emit("ready"),this},r.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},r.go=function(e){return this.i.Controller.go(e),this},r.on=function(e,n){return this.event.on(e,n),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var n;return(n=this.event).emit.apply(n,[e].concat(m(arguments,1))),this},r.add=function(e,n){return this.i.Slides.add(e,n),this},r.remove=function(e){return this.i.Slides.remove(e),this},r.is=function(e){return this.n.type===e},r.refresh=function(){return this.emit(J),this},r.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)):(qt(this.i,function(s){s.destroy&&s.destroy(e)},!0),n.emit(rn),n.destroy(),e&&f(this.splides),a.set(7)),this},Ho(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=u,Rt},typeof Be=="object"&&typeof $e<"u"?$e.exports=we():typeof define=="function"&&define.amd?define(we):(We=typeof globalThis<"u"?globalThis:We||self).Splide=we()});function Io(){Array.from(document.querySelectorAll(".c-accordion__title")).forEach(Oo)}function Oo(o){o.addEventListener("click",Do())}function Do(){return o=>{var i=o.currentTarget.parentElement;i.classList.toggle("c-accordion__item--open")}}var Tn=Io;var ie=Po(Pn());function je(){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",u=i.dataset.carouselRewind==="true",f=parseInt(i.dataset.carouselPerPage)||4,m=parseInt(i.dataset.carouselPerMove)||1,y=getComputedStyle(document.documentElement).getPropertyValue("--wrapper").trim(),O=parseInt(y),D=parseInt(getComputedStyle(i).getPropertyValue("--row-gap")),R;window.innerWidth>=1024?R=(O-(f-1)*D)/f:window.innerWidth>=768?R=(O-2*D)/3:window.innerWidth>=680?R=(O-D)/2:R=O,i.querySelectorAll(".splide__slide").forEach(tt=>{tt.style.width=`${R}`});let Q=new ie.default(i,{type:c,perPage:f,perMove:m,gap:D,focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:u,clones:0,autoWidth:!0,breakpoints:{768:{perPage:3},608:{perPage:2},320:{perPage:1}}});i.querySelector(".c-carousel__arrow--prev")?.addEventListener("click",()=>Q.go("<")),i.querySelector(".c-carousel__arrow--next")?.addEventListener("click",()=>Q.go(">")),i.querySelectorAll("a").forEach(tt=>{tt.addEventListener("click",rt=>rt.stopPropagation())}),Q.mount()}),document.querySelectorAll('[data-carousel="gallery-main"]').forEach(i=>{let c=i.dataset.galleryId,u=document.querySelector(`[data-carousel="gallery-thumbs"][data-gallery-id="${c}"]`);if(!u)return;let f=new ie.default(u,{type:"slide",perPage:parseInt(u.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(f).mount(),i.querySelectorAll("a").forEach(y=>{y.addEventListener("click",O=>O.stopPropagation())})})}function No(){let o=document.getElementById("clearForm");o&&o.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 In=No;function zo(){document.querySelectorAll(".c-comparison-table").forEach(Ro)}function Ro(o){let i=o.parentNode.parentNode,c=i.querySelector(".c-comparison-table tbody"),u=i.querySelector(".c-comparison-table thead"),f=i.parentElement.querySelector(".c-comparison-table__mobile");if(!c||!u||!f)return;let m=Array.from(u.children[0].children).filter((D,R)=>R).map(D=>({info:D.innerHTML})),y=Array.from(u.children[1].children).filter((D,R)=>R).map(D=>({buttons:D.innerHTML})),O=m.map((D,R)=>({...D,...y[R],table:[]}));Array.from(c.children).forEach(D=>{if(D.classList.contains("c-comparison-table__title"))O.forEach(R=>{R.table.push({type:"title",title:D.children[0].textContent})});else{let R=Array.from(D.children),Q=R.shift();R.forEach((tt,rt)=>{O[rt].table.push({type:"row",key:Q.textContent,value:tt.innerHTML})})}}),O.forEach(D=>{let R=Fo(D);f.appendChild(R)})}function Fo(o){let i=document.createElement("article");return i.innerHTML=`${o.info}${o.buttons}
2
2
  <table class="c-comparison-table">
3
3
  ${o.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>
5
5
  <td>${c.value}</td>
6
6
  </tr>`).join("")}
7
- </table>`,i}var On=zo;function Bo(){Array.from(document.querySelectorAll(".c-facet__toggle")).forEach(Wo)}function Wo(o){o.addEventListener("click",$o())}function $o(){return o=>{o.preventDefault();var i=o.currentTarget,c=i.parentElement;c.classList.toggle("c-facet--open");let u=c.classList.contains("c-facet--open")?"true":"false";i.setAttribute("aria-expanded",u)}}var Dn=Bo;function jo(){let o=document.querySelectorAll(".c-gallery__main .c-gallery__slide"),i=document.querySelectorAll(".c-gallery__thumbnails .c-gallery__slide");i.forEach(u=>u.addEventListener("click",function(f){i.forEach(function(m){m!=f.target.parentNode&&m.classList.remove("active")}),f.target.parentNode.classList.add("active"),o.forEach(function(m){m.dataset.slide==u.dataset.slide?m.classList.add("active"):m.classList.remove("active")})})),o.forEach(function(u){u.classList.contains("c-gallery__video")||u.addEventListener("click",c)});function c(){let u=document.querySelector(".c-gallery__main").cloneNode(!0);u.classList.remove("c-gallery__main"),u.classList.add("c-lightbox"),u.querySelectorAll(".c-gallery__slide").forEach(function(f){if(f.classList.contains("c-gallery__video")&&f.remove(),!f.classList.contains("c-gallery__video")){var m=f.querySelector("img");m.srcset!=""&&m.removeAttribute("srcset");var y=m.getAttribute("src");y?y.indexOf("?")!==-1?m.setAttribute("src",y.split("?")[0]+"?quality=90&width=2176"):m.setAttribute("src",y+"?quality=90&width=2176"):(console.log(m),console.log("has no src defined..."))}f.classList.add("c-lightbox__slide"),f.classList.remove("c-gallery__slide")}),document.body.appendChild(u),u.insertAdjacentHTML("beforeend",'<a class="c-lightbox__prev"></a><a class="c-lightbox__next"></a>'),u.querySelector(".c-lightbox__prev").addEventListener("click",function(){let f=u.querySelector(".active"),m=u.querySelector('[data-slide="'+(parseInt(f.dataset.slide)-1)+'"]');m!=null&&(f.classList.remove("active"),m.classList.add("active"))}),u.querySelector(".c-lightbox__next").addEventListener("click",function(){let f=u.querySelector(".active"),m=u.querySelector('[data-slide="'+(parseInt(f.dataset.slide)+1)+'"]');m!=null&&(f.classList.remove("active"),m.classList.add("active"))}),u.addEventListener("click",function(f){f.target===f.currentTarget&&u.remove()})}}var Hn=jo;function Nn(o){let i=[...o];for(let c=i.length-1;c>0;c--){let u=Math.floor(Math.random()*(c+1));[i[c],i[u]]=[i[u],i[c]]}return i}function zn(){return!window.matchMedia("(prefers-reduced-motion: no-preference)").matches}var Rn=(o,i)=>{let c=!1;return()=>{c||(o(),c=!0,setTimeout(()=>c=!1,i))}},Vo=(o,i,c)=>o*(1-c)+i*c,Go=(o,i=0,c=1)=>Math.min(c,Math.max(i,o)),Xo=(o,i,c)=>Go((c-o)/(i-o)),Fn=(o,i,c,u,f)=>Vo(c,u,Xo(o,i,f));function Yo(){let o=0,i=document.querySelector(".c-hero__canvas");if(!i)return;let c=i.getContext("2d"),u="rgb(19,170,19)",f=zn(),m=147,y=0,O=.5,D=.25,R,Q,et,J,mt=[],ft;function Lt(){o=o+.005,c.clearRect(0,0,i.width,i.height),c.beginPath();for(let j=i.width;j>0;j--)c.lineTo(j,i.height*.5-Math.cos(o+j/5*.03)*(Q*.3));c.lineWidth=.5,c.strokeStyle=u,c.stroke(),mt.forEach(j=>{ae(j.x,j.y,Fn(0,mt.length,y,O,j.counter)),j.counter+=j.direction,j.counter>=mt.length&&(j.direction=-1*D),j.counter<0&&(j.direction=D)}),f||window.requestAnimationFrame(Lt)}function Dt(){R=i.scrollWidth,Q=i.scrollHeight,c.canvas.width=R,c.canvas.height=Q,et=Math.ceil(R/m),J=Math.ceil(Q/m),ft=(et+1)*(J+1);let j=Nn(Array.from({length:ft},(Y,pt)=>pt));mt=[];for(let Y=0;Y<=et;Y++)for(let pt=0;pt<=J;pt++)mt.push({counter:j.shift(),direction:Math.random()>.5?D:-1*D,x:m*(Y+1)-m/1,y:m*(pt+1)-m/2})}function ae(j,Y,pt){c.beginPath(),c.moveTo(j-14,Y),c.lineTo(j+14,Y),c.strokeStyle=`rgba(255, 255, 255, ${pt}`,c.moveTo(j,Y-14),c.lineTo(j,Y+14),c.stroke()}window.addEventListener("resize",Dt),Dt(),Lt()}var Bn=Yo;function Ko(){document.addEventListener("DOMContentLoaded",()=>{let o=document.getElementById("videoBackground");if(typeof o<"u"&&o!=null){let m=function(){u.classList.contains("u-hidden")?(o.paused&&o.play(),f.paused||f.pause()):o.paused||o.pause()},i=window.matchMedia("(prefers-reduced-motion: reduce)");(!i||i.matches)&&o.pause();let c=document.getElementById("playVideo"),u=document.getElementById("lightboxVideo"),f=u.querySelector(".c-lightbox__video");c.addEventListener("click",y=>{o.pause(),u.classList.remove("u-hidden"),m()}),u.addEventListener("click",y=>{y.target.classList.contains("c-lightbox__video")||(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),m())}),window.addEventListener("keydown",function(y){y.key=="Escape"&&(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),m())})}})}var Wn=Ko;function Uo(){setTimeout(function(){document.querySelectorAll(".c-hotspot-image__button").forEach(i=>{i.addEventListener("click",Qo)}),document.addEventListener("keydown",Zo),document.addEventListener("click",Ge)},2e3)}function Qo(o){o.preventDefault();let i=o.currentTarget,c=i.getAttribute("aria-controls"),u=document.getElementById(c);u.classList.contains("c-hotspot-image__tooltip--open")?Ve(i,u):Jo(i,u)}function Jo(o,i){i.classList.add("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","false"),o.setAttribute("aria-expanded","true"),document.addEventListener("click",Ge)}function Ve(o,i){i.classList.remove("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","true"),o.setAttribute("aria-expanded","false"),document.removeEventListener("click",Ge)}function Zo(o){if(o.key==="Escape"){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ve(c,i)}}}function Ge(o){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i&&!i.contains(o.target)&&!o.target.closest(".c-hotspot-image__button")){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ve(c,i)}}var $n=Uo;function tr(){let o=document.querySelector(".c-internal-nav--sticky");if(!o)return;let i={root:null,rootMargin:"0px",threshold:1},c=(y,O)=>{let D=y[0].isIntersecting;o.classList.toggle("c-internal-nav--stuck",!D)};new IntersectionObserver(c,i).observe(o);let f=o.offsetHeight,m=()=>{f=o.offsetHeight,Array.from(o.querySelectorAll("a")).forEach(O=>{let D=O.getAttribute("href").replace("#",""),R=document.getElementById(D);R&&(R.style.scrollMarginTop=`${f}px`)})};window.addEventListener("resize",m),m()}var jn=tr;function er(){let o=document.querySelector(".c-navicon--open"),i=document.querySelector(".c-navicon--close"),c=document.querySelector(".c-header__overlay");!o||!i||!c||(c.id||(c.id="overlay-menu"),o.setAttribute("aria-controls",c.id),o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),nr(o,i,c))}function nr(o,i,c){let u='a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',f=()=>c.querySelectorAll(u),m=R=>{let Q=f();if(!Q.length)return;let et=Q[0],J=Q[Q.length-1];R.key==="Tab"&&(R.shiftKey&&document.activeElement===et?(R.preventDefault(),J.focus()):!R.shiftKey&&document.activeElement===J&&(R.preventDefault(),et.focus()))},y=()=>{o.setAttribute("aria-expanded","true"),c.setAttribute("aria-hidden","false"),c.setAttribute("aria-modal","true"),c.classList.add("active"),document.body.classList.add("u-no-scroll"),document.addEventListener("keydown",D),document.addEventListener("keydown",m);let R=f()[0];R&&R.focus()},O=()=>{o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),c.removeAttribute("aria-modal"),c.classList.remove("active"),document.body.classList.remove("u-no-scroll"),document.removeEventListener("keydown",D),document.removeEventListener("keydown",m),o.focus()},D=R=>{R.key==="Escape"&&c.classList.contains("active")&&O()};window.addEventListener("resize",()=>c.classList.contains("active")&&window.innerWidth>=880&&O()),o.addEventListener("click",()=>y()),i.addEventListener("click",()=>O())}var Vn=er;function or(){let o=document.querySelectorAll(".c-off-canvas__toggle");o.length&&(o.forEach(i=>{Xn(i,Gn(i)),i.addEventListener("click",()=>cr(i))}),window.addEventListener("resize",()=>{o.forEach(i=>{Xn(i,Gn(i))})}))}function Gn(o){let i=window.getComputedStyle(o);return i.display!=="none"&&i.visibility!=="hidden"}function Xn(o,i){let c=document.getElementById(o.getAttribute("data-target"));i===!0?rr(c):ir(c)}function rr(o){o.classList.add("c-off-canvas"),o.setAttribute("tabindex","-1"),o.setAttribute("aria-hidden","true");let i=o.querySelector('[data-off-canvas="header"]'),c=o.querySelector('[data-off-canvas="main"]'),u=o.querySelector('[data-off-canvas="footer"]'),f=i!==null?i.outerHTML:"",m=c!==null?c.outerHTML:"",y=u!==null?u.outerHTML:"";o.innerHTML=`
7
+ </table>`,i}var On=zo;function Wo(){Array.from(document.querySelectorAll(".c-facet__toggle")).forEach(Bo)}function Bo(o){o.addEventListener("click",$o())}function $o(){return o=>{o.preventDefault();var i=o.currentTarget,c=i.parentElement;c.classList.toggle("c-facet--open");let u=c.classList.contains("c-facet--open")?"true":"false";i.setAttribute("aria-expanded",u)}}var Dn=Wo;function jo(){let o=document.querySelectorAll(".c-gallery__main .c-gallery__slide"),i=document.querySelectorAll(".c-gallery__thumbnails .c-gallery__slide");i.forEach(u=>u.addEventListener("click",function(f){i.forEach(function(m){m!=f.target.parentNode&&m.classList.remove("active")}),f.target.parentNode.classList.add("active"),o.forEach(function(m){m.dataset.slide==u.dataset.slide?m.classList.add("active"):m.classList.remove("active")})})),o.forEach(function(u){u.classList.contains("c-gallery__video")||u.addEventListener("click",c)});function c(){let u=document.querySelector(".c-gallery__main").cloneNode(!0);u.classList.remove("c-gallery__main"),u.classList.add("c-lightbox"),u.querySelectorAll(".c-gallery__slide").forEach(function(f){if(f.classList.contains("c-gallery__video")&&f.remove(),!f.classList.contains("c-gallery__video")){var m=f.querySelector("img");m.srcset!=""&&m.removeAttribute("srcset");var y=m.getAttribute("src");y?y.indexOf("?")!==-1?m.setAttribute("src",y.split("?")[0]+"?quality=90&width=2176"):m.setAttribute("src",y+"?quality=90&width=2176"):(console.log(m),console.log("has no src defined..."))}f.classList.add("c-lightbox__slide"),f.classList.remove("c-gallery__slide")}),document.body.appendChild(u),u.insertAdjacentHTML("beforeend",'<a class="c-lightbox__prev"></a><a class="c-lightbox__next"></a>'),u.querySelector(".c-lightbox__prev").addEventListener("click",function(){let f=u.querySelector(".active"),m=u.querySelector('[data-slide="'+(parseInt(f.dataset.slide)-1)+'"]');m!=null&&(f.classList.remove("active"),m.classList.add("active"))}),u.querySelector(".c-lightbox__next").addEventListener("click",function(){let f=u.querySelector(".active"),m=u.querySelector('[data-slide="'+(parseInt(f.dataset.slide)+1)+'"]');m!=null&&(f.classList.remove("active"),m.classList.add("active"))}),u.addEventListener("click",function(f){f.target===f.currentTarget&&u.remove()})}}var Hn=jo;function Nn(o){let i=[...o];for(let c=i.length-1;c>0;c--){let u=Math.floor(Math.random()*(c+1));[i[c],i[u]]=[i[u],i[c]]}return i}function zn(){return!window.matchMedia("(prefers-reduced-motion: no-preference)").matches}var Rn=(o,i)=>{let c=!1;return()=>{c||(o(),c=!0,setTimeout(()=>c=!1,i))}},Vo=(o,i,c)=>o*(1-c)+i*c,Go=(o,i=0,c=1)=>Math.min(c,Math.max(i,o)),Xo=(o,i,c)=>Go((c-o)/(i-o)),Fn=(o,i,c,u,f)=>Vo(c,u,Xo(o,i,f));function Yo(){let o=0,i=document.querySelector(".c-hero__canvas");if(!i)return;let c=i.getContext("2d"),u="rgb(19,170,19)",f=zn(),m=147,y=0,O=.5,D=.25,R,Q,tt,rt,At=[],ft;function Lt(){o=o+.005,c.clearRect(0,0,i.width,i.height),c.beginPath();for(let j=i.width;j>0;j--)c.lineTo(j,i.height*.5-Math.cos(o+j/5*.03)*(Q*.3));c.lineWidth=.5,c.strokeStyle=u,c.stroke(),At.forEach(j=>{ae(j.x,j.y,Fn(0,At.length,y,O,j.counter)),j.counter+=j.direction,j.counter>=At.length&&(j.direction=-1*D),j.counter<0&&(j.direction=D)}),f||window.requestAnimationFrame(Lt)}function Dt(){R=i.scrollWidth,Q=i.scrollHeight,c.canvas.width=R,c.canvas.height=Q,tt=Math.ceil(R/m),rt=Math.ceil(Q/m),ft=(tt+1)*(rt+1);let j=Nn(Array.from({length:ft},(Y,pt)=>pt));At=[];for(let Y=0;Y<=tt;Y++)for(let pt=0;pt<=rt;pt++)At.push({counter:j.shift(),direction:Math.random()>.5?D:-1*D,x:m*(Y+1)-m/1,y:m*(pt+1)-m/2})}function ae(j,Y,pt){c.beginPath(),c.moveTo(j-14,Y),c.lineTo(j+14,Y),c.strokeStyle=`rgba(255, 255, 255, ${pt}`,c.moveTo(j,Y-14),c.lineTo(j,Y+14),c.stroke()}window.addEventListener("resize",Dt),Dt(),Lt()}var Wn=Yo;function Ko(){document.addEventListener("DOMContentLoaded",()=>{let o=document.getElementById("videoBackground");if(typeof o<"u"&&o!=null){let m=function(){u.classList.contains("u-hidden")?(o.paused&&o.play(),f.paused||f.pause()):o.paused||o.pause()},i=window.matchMedia("(prefers-reduced-motion: reduce)");(!i||i.matches)&&o.pause();let c=document.getElementById("playVideo"),u=document.getElementById("lightboxVideo"),f=u.querySelector(".c-lightbox__video");c.addEventListener("click",y=>{o.pause(),u.classList.remove("u-hidden"),m()}),u.addEventListener("click",y=>{y.target.classList.contains("c-lightbox__video")||(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),m())}),window.addEventListener("keydown",function(y){y.key=="Escape"&&(o.setAttribute("autoplay",""),u.classList.add("u-hidden"),m())})}})}var Bn=Ko;function Uo(){setTimeout(function(){document.querySelectorAll(".c-hotspot-image__button").forEach(i=>{i.addEventListener("click",Qo)}),document.addEventListener("keydown",Zo),document.addEventListener("click",Ge)},2e3)}function Qo(o){o.preventDefault();let i=o.currentTarget,c=i.getAttribute("aria-controls"),u=document.getElementById(c);u.classList.contains("c-hotspot-image__tooltip--open")?Ve(i,u):Jo(i,u)}function Jo(o,i){i.classList.add("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","false"),o.setAttribute("aria-expanded","true"),document.addEventListener("click",Ge)}function Ve(o,i){i.classList.remove("c-hotspot-image__tooltip--open"),i.setAttribute("aria-hidden","true"),o.setAttribute("aria-expanded","false"),document.removeEventListener("click",Ge)}function Zo(o){if(o.key==="Escape"){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ve(c,i)}}}function Ge(o){let i=document.querySelector(".c-hotspot-image__tooltip--open");if(i&&!i.contains(o.target)&&!o.target.closest(".c-hotspot-image__button")){let c=document.querySelector(`[aria-controls="${i.id}"]`);Ve(c,i)}}var $n=Uo;function tr(){let o=document.querySelector(".c-internal-nav--sticky");if(!o)return;let i={root:null,rootMargin:"0px",threshold:1},c=(y,O)=>{let D=y[0].isIntersecting;o.classList.toggle("c-internal-nav--stuck",!D)};new IntersectionObserver(c,i).observe(o);let f=o.offsetHeight,m=()=>{f=o.offsetHeight,Array.from(o.querySelectorAll("a")).forEach(O=>{let D=O.getAttribute("href").replace("#",""),R=document.getElementById(D);R&&(R.style.scrollMarginTop=`${f}px`)})};window.addEventListener("resize",m),m()}var jn=tr;function er(){let o=document.querySelector(".c-navicon--open"),i=document.querySelector(".c-navicon--close"),c=document.querySelector(".c-header__overlay");!o||!i||!c||(c.id||(c.id="overlay-menu"),o.setAttribute("aria-controls",c.id),o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),nr(o,i,c))}function nr(o,i,c){let u='a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',f=()=>c.querySelectorAll(u),m=R=>{let Q=f();if(!Q.length)return;let tt=Q[0],rt=Q[Q.length-1];R.key==="Tab"&&(R.shiftKey&&document.activeElement===tt?(R.preventDefault(),rt.focus()):!R.shiftKey&&document.activeElement===rt&&(R.preventDefault(),tt.focus()))},y=()=>{o.setAttribute("aria-expanded","true"),c.setAttribute("aria-hidden","false"),c.setAttribute("aria-modal","true"),c.classList.add("active"),document.body.classList.add("u-no-scroll"),document.addEventListener("keydown",D),document.addEventListener("keydown",m);let R=f()[0];R&&R.focus()},O=()=>{o.setAttribute("aria-expanded","false"),c.setAttribute("aria-hidden","true"),c.removeAttribute("aria-modal"),c.classList.remove("active"),document.body.classList.remove("u-no-scroll"),document.removeEventListener("keydown",D),document.removeEventListener("keydown",m),o.focus()},D=R=>{R.key==="Escape"&&c.classList.contains("active")&&O()};window.addEventListener("resize",()=>c.classList.contains("active")&&window.innerWidth>=880&&O()),o.addEventListener("click",()=>y()),i.addEventListener("click",()=>O())}var Vn=er;function or(){let o=document.querySelectorAll(".c-off-canvas__toggle");o.length&&(o.forEach(i=>{Xn(i,Gn(i)),i.addEventListener("click",()=>cr(i))}),window.addEventListener("resize",()=>{o.forEach(i=>{Xn(i,Gn(i))})}))}function Gn(o){let i=window.getComputedStyle(o);return i.display!=="none"&&i.visibility!=="hidden"}function Xn(o,i){let c=document.getElementById(o.getAttribute("data-target"));i===!0?rr(c):ir(c)}function rr(o){o.classList.add("c-off-canvas"),o.setAttribute("tabindex","-1"),o.setAttribute("aria-hidden","true");let i=o.querySelector('[data-off-canvas="header"]'),c=o.querySelector('[data-off-canvas="main"]'),u=o.querySelector('[data-off-canvas="footer"]'),f=i!==null?i.outerHTML:"",m=c!==null?c.outerHTML:"",y=u!==null?u.outerHTML:"";o.innerHTML=`
8
8
  <div class="c-off-canvas__backdrop" role="presentation"></div>
9
9
  <div class="c-off-canvas__content" role="dialog" aria-modal="true" aria-labelledby="offCanvasHeader">
10
10
  <header id="offCanvasHeader" class="c-off-canvas__header">${f}</header>
@@ -30,7 +30,7 @@
30
30
  <div class="c-tabs__content">
31
31
  ${c.map(u=>u.outerHTML).join("")}
32
32
  </div>
33
- `,setTimeout(()=>to(o),0))}function wr(o){if(!o)return;let i=o.getBoundingClientRect(),c=window.pageYOffset+i.top,u=o.dataset.stickyOffset?parseInt(o.dataset.stickyOffset,10):0;window.scrollTo({top:c-u,behavior:"smooth"})}function Er(o,i,c){return u=>{let f=u.currentTarget,m=f.getAttribute("href")?.replace("#",""),y=i.find(D=>D.id===m);if(!y)return!0;u.preventDefault(),c&&history.pushState(null,null,f.getAttribute("href"));let O=window.innerWidth<=880;o.forEach(D=>{let R=D===f;D.classList.toggle("c-tabs__control--active",R),D.setAttribute("aria-selected",R?"true":"false")}),i.forEach(D=>{let R=D===y;D.classList.toggle("c-tab--active",R),D.hidden=!R}),wr(f.closest(".c-tabs--anchor, .c-tabs--mobile-accordion")),f.scrollIntoView&&f.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}var no=mr;function Xe(){document.querySelectorAll("[data-component='tabs']").forEach((o,i)=>{let c=o.querySelectorAll("[role='tab']"),u=o.querySelectorAll("[role='tabpanel']");c.forEach((m,y)=>{let O=m.getAttribute("id")?.replace("tab","panel")||`panel-${i}-${y}`;m.setAttribute("role","tab"),m.setAttribute("aria-selected",y===0?"true":"false"),m.setAttribute("tabindex",y===0?"0":"-1"),m.setAttribute("aria-controls",O),m.id||=`tab-${i}-${y}`;let D=document.getElementById(O)||u[y];D&&(D.setAttribute("role","tabpanel"),D.setAttribute("aria-labelledby",m.id),D.hidden=y!==0)});function f(){c.forEach(m=>{let y=m.getAttribute("aria-controls"),O=o.querySelector(`#${y}`);O&&(O.hidden=m.getAttribute("aria-selected")!=="true")})}c.forEach((m,y)=>{m.addEventListener("click",()=>{c.forEach(O=>{O.setAttribute("aria-selected","false"),O.setAttribute("tabindex","-1")}),m.setAttribute("aria-selected","true"),m.setAttribute("tabindex","0"),m.focus(),f()}),m.addEventListener("keydown",O=>{let D;O.key==="ArrowRight"?(D=(y+1)%c.length,c[D].click(),O.preventDefault()):O.key==="ArrowLeft"?(D=(y-1+c.length)%c.length,c[D].click(),O.preventDefault()):O.key==="Home"?(c[0].click(),O.preventDefault()):O.key==="End"&&(c[c.length-1].click(),O.preventDefault())})}),f()})}function oo(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.HTMLCollection&&!HTMLCollection.prototype.forEach&&(HTMLCollection.prototype.forEach=Array.prototype.forEach),Tn(),je(),In(),On(),Dn(),Hn(),Bn(),Wn(),$n(),jn(),Vn(),Yn(),Kn(),Qn(),Jn(),no(),Xe()}typeof window<"u"&&oo();})();
33
+ `,setTimeout(()=>to(o),0))}function wr(o){if(!o)return;let i=o.getBoundingClientRect(),c=window.pageYOffset+i.top,u=o.dataset.stickyOffset?parseInt(o.dataset.stickyOffset,10):0;window.scrollTo({top:c-u,behavior:"smooth"})}function Er(o,i,c){return u=>{let f=u.currentTarget,m=f.getAttribute("href")?.replace("#",""),y=i.find(D=>D.id===m);if(!y)return!0;u.preventDefault(),c&&history.pushState(null,null,f.getAttribute("href"));let O=window.innerWidth<=880;o.forEach(D=>{let R=D===f;D.classList.toggle("c-tabs__control--active",R),D.setAttribute("aria-selected",R?"true":"false")}),i.forEach(D=>{let R=D===y;D.classList.toggle("c-tab--active",R),D.hidden=!R}),wr(f.closest(".c-tabs--anchor, .c-tabs--mobile-accordion")),f.scrollIntoView&&f.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}var no=mr;function Xe(){document.querySelectorAll("[data-component='tabs']").forEach((o,i)=>{let c=o.querySelectorAll("[role='tab']"),u=o.querySelectorAll("[role='tabpanel']");c.forEach((m,y)=>{let O=m.getAttribute("id")?.replace("tab","panel")||`panel-${i}-${y}`;m.setAttribute("role","tab"),m.setAttribute("aria-selected",y===0?"true":"false"),m.setAttribute("tabindex",y===0?"0":"-1"),m.setAttribute("aria-controls",O),m.id||=`tab-${i}-${y}`;let D=document.getElementById(O)||u[y];D&&(D.setAttribute("role","tabpanel"),D.setAttribute("aria-labelledby",m.id),D.hidden=y!==0)});function f(){c.forEach(m=>{let y=m.getAttribute("aria-controls"),O=o.querySelector(`#${y}`);O&&(O.hidden=m.getAttribute("aria-selected")!=="true")})}c.forEach((m,y)=>{m.addEventListener("click",()=>{c.forEach(O=>{O.setAttribute("aria-selected","false"),O.setAttribute("tabindex","-1")}),m.setAttribute("aria-selected","true"),m.setAttribute("tabindex","0"),m.focus(),f()}),m.addEventListener("keydown",O=>{let D;O.key==="ArrowRight"?(D=(y+1)%c.length,c[D].click(),O.preventDefault()):O.key==="ArrowLeft"?(D=(y-1+c.length)%c.length,c[D].click(),O.preventDefault()):O.key==="Home"?(c[0].click(),O.preventDefault()):O.key==="End"&&(c[c.length-1].click(),O.preventDefault())})}),f()})}function oo(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.HTMLCollection&&!HTMLCollection.prototype.forEach&&(HTMLCollection.prototype.forEach=Array.prototype.forEach),Tn(),je(),In(),On(),Dn(),Hn(),Wn(),Bn(),$n(),jn(),Vn(),Yn(),Kn(),Qn(),Jn(),no(),Xe()}typeof window<"u"&&oo();})();
34
34
  /*! Bundled license information:
35
35
 
36
36
  @splidejs/splide/dist/js/splide.min.js: