mp-design-system 2.0.65 → 2.0.67

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.
Files changed (49) hide show
  1. package/dist/assets/js/app.js +1186 -16
  2. package/dist/assets/js/app.js.map +4 -4
  3. package/dist/assets/js/mp-academy.js +1186 -16
  4. package/dist/assets/js/mp-academy.js.map +4 -4
  5. package/dist/assets/js/mp-brand.js +1186 -16
  6. package/dist/assets/js/mp-brand.js.map +4 -4
  7. package/dist/assets/js/mp-events.js +1186 -16
  8. package/dist/assets/js/mp-events.js.map +4 -4
  9. package/dist/assets/js/mp-mystore.js +1186 -16
  10. package/dist/assets/js/mp-mystore.js.map +4 -4
  11. package/dist/assets/js/mp-support.js +1186 -16
  12. package/dist/assets/js/mp-support.js.map +4 -4
  13. package/dist/assets/js/mp-www.js +1249 -16
  14. package/dist/assets/js/mp-www.js.map +4 -4
  15. package/dist/assets/js/mp-www2.js +1186 -16
  16. package/dist/assets/js/mp-www2.js.map +4 -4
  17. package/dist/build/js/app.js +22 -12
  18. package/dist/build/js/app.js.map +4 -4
  19. package/dist/build/js/mp-academy.js +22 -12
  20. package/dist/build/js/mp-academy.js.map +4 -4
  21. package/dist/build/js/mp-brand.js +22 -12
  22. package/dist/build/js/mp-brand.js.map +4 -4
  23. package/dist/build/js/mp-events.js +22 -12
  24. package/dist/build/js/mp-events.js.map +4 -4
  25. package/dist/build/js/mp-mystore.js +22 -12
  26. package/dist/build/js/mp-mystore.js.map +4 -4
  27. package/dist/build/js/mp-support.js +22 -12
  28. package/dist/build/js/mp-support.js.map +4 -4
  29. package/dist/build/js/mp-www.js +22 -12
  30. package/dist/build/js/mp-www.js.map +4 -4
  31. package/dist/build/js/mp-www2.js +22 -12
  32. package/dist/build/js/mp-www2.js.map +4 -4
  33. package/dist/build/scss/main.css +1 -1
  34. package/dist/build/scss/main.css.map +1 -1
  35. package/dist/build/scss/mp-academy-legacy.css +1 -1
  36. package/dist/build/scss/mp-academy-legacy.css.map +1 -1
  37. package/dist/build/scss/mp-events-legacy.css +1 -1
  38. package/dist/build/scss/mp-events-legacy.css.map +1 -1
  39. package/dist/build/scss/mp-mystore-legacy.css +1 -1
  40. package/dist/build/scss/mp-mystore-legacy.css.map +1 -1
  41. package/dist/build/scss/mp-support-legacy.css +1 -1
  42. package/dist/build/scss/mp-support-legacy.css.map +1 -1
  43. package/dist/build/scss/mp-www-legacy.css +1 -1
  44. package/dist/build/scss/mp-www-legacy.css.map +1 -1
  45. package/dist/build/scss/mp-www.css +1 -1
  46. package/dist/build/scss/mp-www.css.map +1 -1
  47. package/dist/build/scss/mp-www2-legacy.css +1 -1
  48. package/dist/build/scss/mp-www2-legacy.css.map +1 -1
  49. package/package.json +2 -1
@@ -1,16 +1,16 @@
1
- (()=>{function J(){Array.from(document.querySelectorAll(".c-accordion__title")).forEach(X)}function X(e){e.addEventListener("click",Z())}function Z(){return e=>{var t=e.currentTarget.parentElement;t.classList.toggle("c-accordion__item--open")}}var E=J;function ee(){let e=0,t=document.querySelectorAll(".c-hero__image-bg"),o=document.querySelectorAll(".c-hero__image-fg");o.length>0&&setInterval(()=>{for(var n of t)n.style.opacity=0;e=e!=t.length-1?e+1:0,t[e].style.opacity=1;for(var c of o)c.style.opacity=0;o[e].style.opacity=1},5e3)}var w=ee;function te(){let e=document.getElementById("clearForm");e&&e.addEventListener("click",function(){this.closest("form").elements.forEach(o=>{if(o.value!=""){if(o.type.toLowerCase()=="text"||o.type.toLowerCase()=="email"||o.type.toLowerCase()=="tel"||o.type.toLowerCase()=="select-one"||o.type.toLowerCase()=="textarea"){o.value="";return}else if(o.type.toLowerCase()=="checkbox"){o.checked=!1;return}}})})}var C=te;function oe(){document.querySelectorAll(".c-comparison-table").forEach(ne)}function ne(e){let t=e.parentNode.parentNode,o=t.querySelector(".c-comparison-table tbody"),n=t.querySelector(".c-comparison-table thead"),c=t.parentElement.querySelector(".c-comparison-table__mobile");if(!o||!n||!c)return;let r=Array.from(n.children[0].children).filter((a,s)=>s).map(a=>({info:a.innerHTML})),i=Array.from(n.children[1].children).filter((a,s)=>s).map(a=>({buttons:a.innerHTML})),l=r.map((a,s)=>({...a,...i[s],table:[]}));Array.from(o.children).forEach(a=>{if(a.classList.contains("c-comparison-table__title"))l.forEach(s=>{s.table.push({type:"title",title:a.children[0].textContent})});else{let s=Array.from(a.children),f=s.shift();s.forEach((m,h)=>{l[h].table.push({type:"row",key:f.textContent,value:m.innerHTML})})}}),l.forEach(a=>{let s=ce(a);c.appendChild(s)})}function ce(e){let t=document.createElement("article");return t.innerHTML=`${e.info}${e.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(($e,We)=>{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,Ee;Be=$e,Ee=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 nt(t){return!Dt(t)&&Q("object",t)}var ot=Array.isArray,mt=y(Q,"function"),ft=y(Q,"string"),St=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 ot(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 we(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 Lt(t){return m(arguments,1).forEach(function(r){qt(r,function(e,n){ot(e)?t[n]=e.slice():nt(e)?t[n]=Lt({},nt(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){nt(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(St(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 Et(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){bt(t,r,!1)}function Se(t){return t.timeStamp}function Mt(t){return ft(t)?t:t?t+"px":""}var Ut="splide",Le="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,E){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,E,a,g])})},unbind:function(e,n,a){r(e,n,function(s,h,d){t=t.filter(function(E){return!!(E[0]!==s||E[1]!==h||E[2]!==d||a&&E[3]!==a)||(E[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,ot(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,E=!0,v=0;function g(){if(!E){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(){E=!0}function L(){s&&cancelAnimationFrame(s),E=!(s=d=0)}return{start:function(w){w||L(),a=h()-(w?d*t:0),E=!1,s=R(g)},rewind:function(){a=h(),d=0,e&&e(d)},pause:k,cancel:L,set:function(w){t=w},isPaused:function(){return E}}}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",En=ge+"--prev",wn=ge+"--next",ye=K+"pagination",An=ye+"__page",fo=K+"progress__bar",po=K+"toggle",ho=K+"sr",Ot="is-active",Sn="is-prev",Ln="is-next",He="is-visible",Ne="is-loading",_n="is-focus-in",xn="is-overflow",vo=[Ot,He,Sn,Ln,Ne,_n,xn],kn="touchstart mousedown",ze="touchmove mousemove",Re="touchend touchcancel mouseup click",Bt="slide",$t="loop",oe="fade";function mo(t,r,e,n){var a,s=X(t),h=s.on,d=s.emit,E=s.bind,v=t.Components,g=t.root,k=t.options,L=k.isNavigation,w=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(S){return S=S.splide.Components.Slides.getAt(r),S?S.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 W(){a||B()}function B(){var b,S,M;a||(b=t.index,(M=N())!==Qe(n,Ot)&&(bt(n,Ot,M),F(n,fn,L&&M||""),d(M?ro:io,x)),M=(function(){if(t.is(oe))return N();var $=ut(v.Elements.track),Z=ut(n),G=p("left",!0),lt=p("right",!0);return ue($[G])<=Jt(Z[G])&&ue(Z[lt])<=Jt($[lt])})(),S=!M&&(!N()||q),t.state.is([i,c])||F(n,hn,S||""),F(Ae(n,k.focusableNodes||""),Ft,S?-1:""),l&&F(n,Ft,S?-1:0),M!==Qe(n,He)&&(bt(n,He,M),d(M?co:ao,x)),M||document.activeElement!==n||(S=v.Slides.getAt(t.index))&&Ue(S.slide),bt(n,Sn,r===b-1),bt(n,Ln,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]))),E(n,"click",y(d,on,x)),E(n,"keydown",y(d,un,x)),h([Zt,dn,zt],B),h(cn,H),w&&h(xt,W)},destroy:function(){a=!0,s.destroy(),wt(n,vo),yt(n,Ie),F(n,"style",P),F(n,dt,T||"")},update:B,style:function(b,S,M){ht(M&&A||n,b,S)},isWithin:function(b,S){return b=it(b-r),(b=q||!k.rewind&&!t.is($t)?b:_t(b,t.length-b))<=S}};return x}var go=Le+"-interval",Wt={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=Le+"-lazy",be=re+"-srcset",bo="["+re+"], ["+be+"]",Eo=[" ","Enter"],wo=Object.freeze({__proto__:null,Media:function(t,r,e){var n=t.state,a=e.breakpoints||{},s=e.reducedMotion||{},h=nn(),d=[];function E(L){L&&h.destroy()}function v(L,w){w=matchMedia(w),h.bind(w,"change",g),d.push([L,w])}function g(){var L=n.is(7),w=e.direction,C=d.reduce(function(_,l){return Lt(_,l[1].matches?l[0]:{})},{});Ke(e),k(C),e.destroy?t.destroy(e.destroy==="completely"):L?(E(!0),t.mount()):w!==e.direction&&t.refresh()}function k(L,w,C){Lt(e,L),w&&Lt(Object.getPrototypeOf(e),L),!C&&n.is(1)||t.emit(ct,e)}return{setup:function(){var L=e.mediaQuery==="min";Xt(a).sort(function(w,C){return L?+w-+C:+C-+w}).forEach(function(w){v(a[w],"("+(L?"min":"max")+"-width:"+w+"px)")}),v(s,o),g()},destroy:E,reduce:function(L){matchMedia(o).matches&&(L?Lt(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,E){return d=Te[d.toLowerCase()][h]||d,0<E?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,E=h.bind,v=t.root,g=e.i18n,k={},L=[],w=[],C=[];function _(){n=P("."+yn),a=Gt(n,"."+lo),Qt(n&&a,"A track/list element is missing."),se(L,Ye(a,"."+me+":not(."+bn+")")),qt({arrows:De,pagination:ye,prev:En,next:wn,bar:fo,toggle:po},function(H,W){k[W]=P("."+H)}),Yt(k,{root:v,track:n,list:a,slides:L});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(L),wt(v,w),wt(n,C),yt([n,a],A),yt(v,q?A:["style",ne])}function p(){wt(v,w),wt(n,C),w=T(Oe),C=T(yn),gt(v,w),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 W=A;W&&W.nodeType===1&&!Vt(W,H);)W=W.parentElement;return W})(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),E(document,kn+" keydown",function(q){s=q.type==="keydown"},{capture:!0}),E(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,E=n.list,v=[];function g(){d.forEach(function(l,p){L(l,p,-1)})}function k(){C(function(l){l.destroy()}),f(v)}function L(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 w(l){return l?_(function(p){return!p.isClone}):v}function C(l,p){w(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(J,k),a(J,g)},destroy:k,update:function(){C(function(l){l.update()})},register:L,get:w,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])?we(P,T):jt(E,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(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,E=v.emit,v=r.Slides,g=r.Direction.resolve,k=(r=r.Elements).root,L=r.track,w=r.list,C=v.getAt,_=v.style;function l(){n=e.direction===ve,ht(k,"maxWidth",Mt(e.width)),ht(L,g("paddingLeft"),P(!1)),ht(L,g("paddingRight"),P(!0)),p(!0)}function p(b){var S=ut(k);!b&&a.width===S.width&&a.height===S.height||(ht(L,"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=S,E(Ce),s!==(s=x())&&(bt(k,xn,s),E("overflow",s)))}function P(M){var S=e.padding,M=g(M?"right":"left");return S&&Mt(S[M]||(nt(S)?0:S))||"0px"}function T(){return Mt(e.height||ut(w).width*e.heightRatio)}function q(){var b=Mt(e.gap);return"calc((100%"+(b&&" + "+b)+")/"+(e.perPage||1)+(b&&" - "+b)+")"}function A(){return ut(w)[g("width")]}function H(b,S){return b=C(b||0),b?ut(b.slide)[g("width")]+(S?0:N()):0}function W($,S){var M,$=C($);return $?($=ut($.slide)[g("right")],M=ut(w)[g("left")],it($-M)+(S?0:N())):0}function B(b){return W(t.length-1)-W(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,S,M;l(),d(window,"resize load",(b=y(E,te),M=fe(S||0,b,null,1),function(){M.isPaused()&&M.start()})),h([ct,J],l),h(te,p)},resize:p,listSize:A,slideSize:H,sliderSize:B,totalSize:W,getPadding:function(b){return parseFloat(ht(L,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,E=r.Direction.resolve,v=[];function g(){if(s(J,k),s([ct,te],w),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,W){return H=H.cloneNode(!0),gt(H,e.classes.clone),H.id=t.root.id+"-clone"+ke(W+1),H})(P.slide,T);q?we(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(){L(),g()}function L(){Tt(v),f(v),a.destroy()}function w(){var _=C();n!==_&&(n<_||!_)&&a.emit(J)}function C(){var _,l=e.clones;return t.is($t)?St(l)&&(l=(_=e[E("fixedWidth")]&&r.Layout.slideSize(0))&&Jt(ut(h.track)[E("width")]/_)||e[E("autoWidth")]&&t.length||2*e.perPage):l=0,l}return{mount:g,destroy:L}},Move:function(t,r,e){var n,a=X(t),s=a.on,h=a.emit,d=t.state.set,E=(a=r.Layout).slideSize,v=a.getPadding,g=a.totalSize,k=a.listSize,L=a.sliderSize,w=(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(W(x,!0))}function T(x,b){t.is(oe)||(b=b?x:(function(S){{var M,$;t.is($t)&&(M=H(S),$=M>r.Controller.getEnd(),(M<0||$)&&(S=q(S,$)))}return S})(x),ht(_,"transform","translate"+w("X")+"("+b+"px)"),x!==b&&h(dn))}function q(x,b){var S=x-N(b),M=L();return x-=C(M*(Jt(it(S)/M)||1))*(b?1:-1)}function A(){T(B(),!0),n.cancel()}function H(x){for(var b=r.Slides.get(),S=0,M=1/0,$=0;$<b.length;$++){var Z=b[$].index,G=it(W(Z,!0)-x);if(!(G<=M))break;M=G,S=Z}return S}function W(x,b){var S=C(g(x-1)-(x=x,(S=e.focus)==="center"?(k()-E(x,!0))/2:+S*E(x)||0));return b?(x=S,x=e.trimSpace&&t.is(Bt)?Nt(x,0,C(L(!0)-k())):x):S}function B(){var x=w("left");return ut(_)[x]-ut(l)[x]+C(v(!1))}function N(x){return W(x?r.Controller.getEnd():0,!!e.trimSpace)}return{mount:function(){n=r.Transition,s([Pt,Ce,ct,J],p)},move:function(x,b,S,M){var $,Z;x!==b&&($=S<x,Z=C(q(B(),$)),$?0<=Z:Z<=_[w("scrollWidth")]-ut(l)[w("width")])&&(A(),T(q(B(),S<x),!0)),d(i),h(xt,b,S,x),n.start(b,function(){d(3),h(Zt,b,S,x),M&&M()})},jump:P,translate:T,shift:q,cancel:A,toIndex:H,toPosition:W,getPosition:B,getLimit:N,exceededLimit:function(M,b){b=St(b)?B():b;var S=M!==!0&&C(b)<C(N(!1)),M=M!==!1&&C(b)>C(N(!0));return S||M},reposition:p}},Controller:function(t,r,e){var n,a,s,h,d=X(t),E=d.on,v=d.emit,g=r.Move,k=g.getPosition,L=g.getLimit,w=g.toPosition,C=(d=r.Slides).isEnough,_=d.getLength,l=e.omitEnd,p=t.is($t),P=t.is(Bt),T=y(N,!1),q=y(N,!0),A=e.start||0,H=A;function W(){a=_(!0),s=e.perMove,h=e.perPage,n=S();var I=Nt(A,0,l?n:a-1);I!==A&&(A=I,g.reposition())}function B(){n!==S()&&v("ei")}function N(I,rt){var tt=s||(G()?1:h),tt=x(A+tt*(I?-1:1),A,!(s||G()));return tt===-1&&P&&!tn(k(),L(!I),1)?I?0:n:rt?tt:b(tt)}function x(I,rt,tt){var at;return C()||G()?((at=(function(et){if(P&&e.trimSpace==="move"&&et!==A)for(var z=k();z===w(et,!0)&&de(et,0,t.length-1,!e.rewind);)et<A?--et:++et;return et})(I))!==I&&(rt=I,I=at,tt=!1),I<0||n<I?I=s||!de(0,I,rt,!0)&&!de(n,rt,I,!0)?p?tt?I<0?-(a%h||h):a:I:e.rewind?I<0?n:0:-1:M($(I)):tt&&I!==rt&&(I=M($(rt)+(I<rt?-1:1)))):I=-1,I}function b(I){return p?(I+a)%a||0:I}function S(){for(var I=a-(G()||p&&s?1:h);l&&0<I--;)if(w(a-1,!0)!==w(I,!0)){I++;break}return Nt(I,0,a-1)}function M(I){return Nt(G()?I:h*I,0,n)}function $(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!St(e.focus)||e.isNavigation}function lt(){return t.state.is([i,c])&&!!e.waitForTransition}return{mount:function(){W(),E([ct,J,"ei"],W),E(Ce,B)},go:function(I,rt,tt){var at;lt()||-1<(at=b(I=(function(et){var z=A;{var V,U;ft(et)?(U=et.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?et:Nt(et,0,n)}return z})(I)))&&(rt||at!==A)&&(Z(at),g.move(I,at,H,tt))},scroll:function(I,rt,tt,at){r.Scroll.scroll(I,rt,tt,function(){var et=b(g.toIndex(k()));Z(l?_t(et,n):et),at&&at()})},getNext:T,getPrev:q,getAdjacent:N,getEnd:S,setIndex:Z,getIndex:function(I){return I?H:A},toIndex:M,toPage:$,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,E=s.emit,v=e.classes,g=e.i18n,k=r.Elements,L=r.Controller,w=k.arrows,C=k.track,_=w,l=k.prev,p=k.next,P={};function T(){var N=e.arrows;!N||l&&p||(_=w||Ht("div",v.arrows),l=W(!0),p=W(!1),n=!0,jt(_,[l,p]),w||we(_,C)),l&&p&&(Yt(P,{prev:l,next:p}),Kt(_,N?"":"none"),gt(_,a=De+"--"+e.direction),N&&(h([Pt,Zt,J,zt,"ei"],B),d(p,"click",y(H,">")),d(l,"click",y(H,"<")),B(),F([l,p],ee,C.id),E("arrows:mounted",l,p))),h(ct,q)}function q(){A(),T()}function A(){s.destroy(),wt(_,a),n?(Tt(w?[l,p]:_),l=p=null):yt([l,p],Ie)}function H(N){L.go(N,!0)}function W(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,S;l&&p&&(S=t.index,N=L.getPrev(),x=L.getNext(),b=-1<N&&S<N?g.last:g.prev,S=-1<x&&x<S?g.first:g.next,l.disabled=N<0,p.disabled=x<0,F(l,dt,b),F(p,dt,S),E("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,E=s.emit,v=fe(e.interval,t.go.bind(t,">"),function(A){var H=k.bar;H&&ht(H,"width",100*A+"%"),E("autoplay:playing",A)}),g=v.isPaused,k=r.Elements,L=(s=r.Elements).root,w=s.toggle,C=e.autoplay,_=C==="pause";function l(){g()&&r.Slides.isEnough()&&(v.start(!e.resetProgress),a=n=_=!1,T(),E(an))}function p(A){_=!!(A=A===void 0?!0:A),T(),g()||(v.pause(),E(sn))}function P(){_||(n||a?p(!1):l())}function T(){w&&(bt(w,Ot,!_),F(w,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(L,"mouseenter mouseleave",function(A){n=A.type==="mouseenter",P()}),e.pauseOnFocus&&d(L,"focusin focusout",function(A){a=A.type==="focusin",P()}),w&&d(w,"click",function(){_?l():p(!0)}),h([xt,qe,J],v.rewind),h(xt,q),w&&F(w,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 E=Gt(d.container||d.slide,"img");E&&E.src&&s(h,E,d)})}function s(h,d,E){E.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,E=t.state.set,v=r.Move,g=v.getPosition,k=v.getLimit,L=v.exceededLimit,w=v.translate,C=t.is(Bt),_=1;function l(A,H,S,B,N){var x,b=g(),S=(T(),!S||C&&L()||(S=r.Layout.sliderSize(),x=_e(A)*S*ue(it(A)/S)||0,A=v.toPosition(r.Controller.toDest(A%S))+x),tn(b,A,1));_=1,H=S?0:H||le(it(A-b)/1.5,800),a=B,n=fe(H,p,y(P,b,A,N),1),E(c),d(qe),n.start()}function p(){E(3),a&&a(),d(zt)}function P(A,H,W,x){var N=g(),x=(A+(H-A)*(H=x,(A=e.easingFunc)?A(H):1-Math.pow(1-H,4))-N)*_;w(N+x),C&&!W&&L()&&(_*=.6,it(x)<10&&l(k(L(!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,E,v,g,k=X(t),L=k.on,w=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,W=k.orient,B=p.getPosition,N=p.exceededLimit,x=!1;function b(){var z=e.drag;et(!z),h=z==="free"}function S(z){var V,U,st;E=!1,v||(V=at(z),U=z.target,st=e.noDrag,Vt(U,"."+An+", ."+ge)||st&&Vt(U,st)||!V&&z.button||(T.isBusy()?Et(z,!0):(g=V?q:window,d=l.is([i,c]),s=null,C(g,ze,M,Wt),C(g,Re,$,Wt),p.cancel(),P.cancel(),G(z))))}function M(z){var V,U,st,kt,Ct;l.is(6)||(l.set(6),w("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),E=!0,w("dragging"),Et(z)):it(lt(Ct=z))>it(lt(Ct,!0))&&(V=z,U=e.dragMinThreshold,st=nt(U),kt=st&&U.mouse||0,st=(st?U.touch:+U)||10,d=it(lt(V))>(at(V)?st:kt),Et(z)))}function $(z){var V,U,st;l.is(6)&&(l.set(3),w("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($t)||!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(W(_e(V))<0?st?"<":"-":st?">":"+"):t.is(Bt)&&x&&st?T.go(N(!0)?">":"<"):T.go(T.toDest(U),!0),A(!0),Et(z)),_(g,ze,M),_(g,Re,$),d=!1}function Z(z){!v&&E&&Et(z,!0)}function G(z){s=a,a=z,n=B()}function lt(z,V){return tt(z,V)-tt(rt(z),V)}function I(z){return Se(z)-Se(rt(z))}function rt(z){return a===z&&s||a}function tt(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 et(z){v=z}return{mount:function(){C(q,ze,O,Wt),C(q,Re,O,Wt),C(q,kn,S,Wt),C(q,"click",Z,{capture:!0}),C(q,"dragstart",Et),L([Pt,ct],b)},disable:et,isDragging:function(){return d}}},Keyboard:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.bind,E=s.unbind,v=t.root,g=r.Direction.resolve;function k(){var _=e.keyboard;_&&(n=_==="global"?window:v,d(n,Cn,C))}function L(){E(n,Cn)}function w(){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,L),h(ct,k),h(xt,w)},destroy:L,disable:function(_){a=_}}},LazyLoad:function(t,r,e){var n=X(t),a=n.on,s=n.off,h=n.bind,d=n.emit,E=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"))})}),(E?_:(s(v),a(v,L),L))()}function L(){(g=g.filter(function(l){var p=e.perPage*((e.preloadPages||1)+1)-1;return!l[1].isWithin(t.index,p)||w(l)})).length||s(v)}function w(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];wt(T.slide,Ne),p.type!=="error"&&(Tt(l[2]),Kt(P,""),d(ln,P,T),d(te)),E&&_()}function _(){g.length&&w(g.shift())}return{mount:function(){e.lazyLoad&&(k(),a(J,k))},destroy:y(f,g),check:L}},Pagination:function(t,r,e){var n,a,s=X(t),h=s.on,d=s.emit,E=s.bind,v=r.Slides,g=r.Elements,k=r.Controller,L=k.hasFocus,w=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(B){C(">"+B,!0)}function q(B,N){var x=p.length,b=Fe(N),M=A(),S=-1,M=(b===_(he,!1,M)?S=++B%x:b===_(pe,!1,M)?S=(--B+x)%x:b==="Home"?S=0:b==="End"&&(S=x-1),p[S]);M&&(Ue(M.button),C(">"+S),Et(N,!0))}function A(){return e.paginationDirection||e.direction}function H(B){return p[k.toPage(B)]}function W(){var B,N=H(w(!0)),x=H(w());N&&(wt(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,J,"ei"],B);var N=e.pagination;if(l&&Kt(l,N?"":"none"),N){h([xt,qe,zt],W);var N=t.length,x=e.classes,b=e.i18n,S=e.perPage,M=L()?k.getEnd()+1:Jt(N/S);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 $=0;$<M;$++){var Z=Ht("li",null,n),G=Ht("button",{class:x.page,type:"button"},Z),lt=v.getIn($).map(function(tt){return tt.slide.id}),I=!L()&&1<S?b.pageX:b.slideX;E(G,"click",y(T,$)),e.paginationKeyboard&&E(G,"keydown",y(q,$)),F(Z,At,"presentation"),F(G,At,"tab"),F(G,ee,lt.join(" ")),F(G,dt,xe(I,$+1)),F(G,Ft,-1),p.push({li:Z,button:G,page:$})}W(),d("pagination:mounted",{list:n,items:p},H(t.index))}},destroy:P,getAt:H,update:W}},Sync:function(t,r,e){var n=e.isNavigation,a=e.slideFocus,s=[];function h(){var L,w;t.splides.forEach(function(C){C.isParent||(E(t,C.splide),E(C.splide,t))}),n&&(L=X(t),(w=L.on)(on,g),w(un,k),w([Pt,ct],v),s.push(L),L.emit(cn,t.splides))}function d(){s.forEach(function(L){L.destroy()}),f(s)}function E(L,w){L=X(L),L.on(xt,function(C,_,l){w.go(w.is($t)?l:C)}),s.push(L)}function v(){F(r.Elements.list,Pe,e.direction===ve?"vertical":"")}function g(L){t.go(L.index)}function k(L,w){pt(Eo,Fe(w))&&(g(L),Et(w))}return{setup:y(r.Media.set,{slideFocus:St(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,E,v,g,k;h.cancelable&&(d=(k=h.deltaY)<0,E=Se(h),v=e.wheelMinThreshold||0,g=e.wheelSleep||0,it(k)>v&&g<E-a&&(t.go(d?"<":">"),a=E),k=d,e.releaseWheel&&!t.state.is(i)&&r.Controller.getAdjacent(k)===-1||Et(h))}return{mount:function(){e.wheel&&n(r.Elements.track,"wheel",s,Wt)}}},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(E,!1));function E(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(E,!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:En,next:wn,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 So(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 Lo(t,r,e){var n,a=r.Move,s=r.Controller,h=r.Scroll,d=r.Elements.list,E=y(ht,d,"transition");function v(){E(""),h.cancel()}return{mount:function(){X(t).bind(d,"transitionend",function(g){g.target===d&&n&&(v(),n())})},start:function(g,k){var L=a.toPosition(g,!0),w=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(L-w)&&1<=C?e.useScroll?h.scroll(L,C,!1,k):(E("transform "+C+"ms "+e.easing),a.translate(L,!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=Lt({label:vt(this.root=e,dt)||"",labelledby:vt(e,Me)||""},Ao,t.defaults,n||{});try{Lt(n,JSON.parse(vt(e,Le)))}catch{Qt(!1,"Invalid JSON")}this.n=Object.create(Lt({},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)?So:Lo),this.t=e||this.t,qt(Yt({},wo,this.t,{Transition:this.r}),function(d,E){d=d(a,h,a.n),(h[E]=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(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 $e=="object"&&typeof We<"u"?We.exports=Ee():typeof define=="function"&&define.amd?define(Ee):(Be=typeof globalThis<"u"?globalThis:Be||self).Splide=Ee()});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("--grid-gap")),R=(O-(f-1)*D)/f;i.querySelectorAll(".splide__slide").forEach(ot=>{ot.style.width=`${R}px`});let Q=new ie.default(i,{type:c,perPage:f,perMove:m,gap:"var(--grid-gap)",focus:0,arrows:!1,drag:!0,pagination:!1,preventClick:!0,rewind:u,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 nt="calc((100vw - var(--wrapper)) * 0.5)";i.querySelector(".splide__list").style.paddingInlineStart=nt,i.querySelector(".splide__list").style.paddingInlineEnd=nt,i.querySelectorAll("a").forEach(ot=>{ot.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((nt,ot)=>{O[ot].table.push({type:"row",key:Q.textContent,value:nt.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
- ${e.table.map(o=>o.type==="title"?`<tr class="c-comparison-table__title"><th><span>${o.title}</span></th><th></th></tr>`:`<tr>
4
- <td>${o.key}</td>
5
- <td>${o.value}</td>
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
+ <td>${c.key}</td>
5
+ <td>${c.value}</td>
6
6
  </tr>`).join("")}
7
- </table>`,t}var S=oe;function re(){Array.from(document.querySelectorAll(".c-facet__toggle")).forEach(ie)}function ie(e){e.addEventListener("click",se())}function se(){return e=>{e.preventDefault();var t=e.currentTarget,o=t.parentElement;o.classList.toggle("c-facet--open");let n=o.classList.contains("c-facet--open")?"true":"false";t.setAttribute("aria-expanded",n)}}var x=re;function ae(){let e=document.querySelectorAll(".c-gallery__main .c-gallery__slide"),t=document.querySelectorAll(".c-gallery__thumbnails .c-gallery__slide");t.forEach(n=>n.addEventListener("click",function(c){t.forEach(function(r){r!=c.target.parentNode&&r.classList.remove("active")}),c.target.parentNode.classList.add("active"),e.forEach(function(r){r.dataset.slide==n.dataset.slide?r.classList.add("active"):r.classList.remove("active")})})),e.forEach(function(n){n.classList.contains("c-gallery__video")||n.addEventListener("click",o)});function o(){let n=document.querySelector(".c-gallery__main").cloneNode(!0);n.classList.remove("c-gallery__main"),n.classList.add("c-lightbox"),n.querySelectorAll(".c-gallery__slide").forEach(function(c){if(c.classList.contains("c-gallery__video")&&c.remove(),!c.classList.contains("c-gallery__video")){var r=c.querySelector("img");r.srcset!=""&&r.removeAttribute("srcset");var i=r.getAttribute("src");i?i.indexOf("?")!==-1?r.setAttribute("src",i.split("?")[0]+"?quality=90&width=2176"):r.setAttribute("src",i+"?quality=90&width=2176"):(console.log(r),console.log("has no src defined..."))}c.classList.add("c-lightbox__slide"),c.classList.remove("c-gallery__slide")}),document.body.appendChild(n),n.insertAdjacentHTML("beforeend",'<a class="c-lightbox__prev"></a><a class="c-lightbox__next"></a>'),n.querySelector(".c-lightbox__prev").addEventListener("click",function(){let c=n.querySelector(".active"),r=n.querySelector('[data-slide="'+(parseInt(c.dataset.slide)-1)+'"]');r!=null&&(c.classList.remove("active"),r.classList.add("active"))}),n.querySelector(".c-lightbox__next").addEventListener("click",function(){let c=n.querySelector(".active"),r=n.querySelector('[data-slide="'+(parseInt(c.dataset.slide)+1)+'"]');r!=null&&(c.classList.remove("active"),r.classList.add("active"))}),n.addEventListener("click",function(c){c.target===c.currentTarget&&n.remove()})}}var k=ae;function q(e){let t=[...e];for(let o=t.length-1;o>0;o--){let n=Math.floor(Math.random()*(o+1));[t[o],t[n]]=[t[n],t[o]]}return t}function T(){return!window.matchMedia("(prefers-reduced-motion: no-preference)").matches}var M=(e,t)=>{let o=!1;return()=>{o||(e(),o=!0,setTimeout(()=>o=!1,t))}},le=(e,t,o)=>e*(1-o)+t*o,de=(e,t=0,o=1)=>Math.min(o,Math.max(t,e)),fe=(e,t,o)=>de((o-e)/(t-e)),H=(e,t,o,n,c)=>le(o,n,fe(e,t,c));function ue(){let e=0,t=document.querySelector(".c-hero__canvas");if(!t)return;let o=t.getContext("2d"),n="rgb(19,170,19)",c=T(),r=147,i=0,l=.5,a=.25,s,f,m,h,v=[],_;function A(){e=e+.005,o.clearRect(0,0,t.width,t.height),o.beginPath();for(let d=t.width;d>0;d--)o.lineTo(d,t.height*.5-Math.cos(e+d/5*.03)*(f*.3));o.lineWidth=.5,o.strokeStyle=n,o.stroke(),v.forEach(d=>{U(d.x,d.y,H(0,v.length,i,l,d.counter)),d.counter+=d.direction,d.counter>=v.length&&(d.direction=-1*a),d.counter<0&&(d.direction=a)}),c||window.requestAnimationFrame(A)}function L(){s=t.scrollWidth,f=t.scrollHeight,o.canvas.width=s,o.canvas.height=f,m=Math.ceil(s/r),h=Math.ceil(f/r),_=(m+1)*(h+1);let d=q(Array.from({length:_},(u,p)=>p));v=[];for(let u=0;u<=m;u++)for(let p=0;p<=h;p++)v.push({counter:d.shift(),direction:Math.random()>.5?a:-1*a,x:r*(u+1)-r/1,y:r*(p+1)-r/2})}function U(d,u,p){o.beginPath(),o.moveTo(d-14,u),o.lineTo(d+14,u),o.strokeStyle=`rgba(255, 255, 255, ${p}`,o.moveTo(d,u-14),o.lineTo(d,u+14),o.stroke()}window.addEventListener("resize",L),L(),A()}var O=ue;function me(){document.addEventListener("DOMContentLoaded",()=>{let e=document.getElementById("videoBackground");if(typeof e<"u"&&e!=null){let r=function(){n.classList.contains("u-hidden")?(e.paused&&e.play(),c.paused||c.pause()):e.paused||e.pause()},t=window.matchMedia("(prefers-reduced-motion: reduce)");(!t||t.matches)&&e.pause();let o=document.getElementById("playVideo"),n=document.getElementById("lightboxVideo"),c=n.querySelector(".c-lightbox__video");o.addEventListener("click",i=>{e.pause(),n.classList.remove("u-hidden"),r()}),n.addEventListener("click",i=>{i.target.classList.contains("c-lightbox__video")||(e.setAttribute("autoplay",""),n.classList.add("u-hidden"),r())}),window.addEventListener("keydown",function(i){i.key=="Escape"&&(e.setAttribute("autoplay",""),n.classList.add("u-hidden"),r())})}})}var I=me;function he(){setTimeout(function(){document.querySelectorAll(".c-hotspot-image__button").forEach(t=>{t.addEventListener("click",pe)}),document.addEventListener("keydown",be),document.addEventListener("click",g)},2e3)}function pe(e){e.preventDefault();let t=e.currentTarget,o=t.getAttribute("aria-controls"),n=document.getElementById(o);n.classList.contains("c-hotspot-image__tooltip--open")?y(t,n):ve(t,n)}function ve(e,t){t.classList.add("c-hotspot-image__tooltip--open"),t.setAttribute("aria-hidden","false"),e.setAttribute("aria-expanded","true"),document.addEventListener("click",g)}function y(e,t){t.classList.remove("c-hotspot-image__tooltip--open"),t.setAttribute("aria-hidden","true"),e.setAttribute("aria-expanded","false"),document.removeEventListener("click",g)}function be(e){if(e.key==="Escape"){let t=document.querySelector(".c-hotspot-image__tooltip--open");if(t){let o=document.querySelector(`[aria-controls="${t.id}"]`);y(o,t)}}}function g(e){let t=document.querySelector(".c-hotspot-image__tooltip--open");if(t&&!t.contains(e.target)&&!e.target.closest(".c-hotspot-image__button")){let o=document.querySelector(`[aria-controls="${t.id}"]`);y(o,t)}}var B=he;function ye(){let e=document.querySelector(".c-internal-nav--sticky");if(!e)return;let t={root:null,rootMargin:"0px",threshold:1},o=(i,l)=>{let a=i[0].isIntersecting;e.classList.toggle("c-internal-nav--stuck",!a)};new IntersectionObserver(o,t).observe(e);let c=e.offsetHeight,r=()=>{c=e.offsetHeight,Array.from(e.querySelectorAll("a")).forEach(l=>{let a=l.getAttribute("href").replace("#",""),s=document.getElementById(a);s&&(s.style.scrollMarginTop=`${c}px`)})};window.addEventListener("resize",r),r()}var N=ye;function ge(){let e=document.querySelector(".c-navicon--open"),t=document.querySelector(".c-navicon--close"),o=document.querySelector(".c-header__overlay");!e||!t||!o||(o.id||(o.id="overlay-menu"),e.setAttribute("aria-controls",o.id),e.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true"),_e(e,t,o))}function _e(e,t,o){let n='a[href], button:not([disabled]), input:not([disabled]), textarea:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])',c=()=>o.querySelectorAll(n),r=s=>{let f=c();if(!f.length)return;let m=f[0],h=f[f.length-1];s.key==="Tab"&&(s.shiftKey&&document.activeElement===m?(s.preventDefault(),h.focus()):!s.shiftKey&&document.activeElement===h&&(s.preventDefault(),m.focus()))},i=()=>{e.setAttribute("aria-expanded","true"),o.setAttribute("aria-hidden","false"),o.setAttribute("aria-modal","true"),o.classList.add("active"),document.body.classList.add("u-no-scroll"),document.addEventListener("keydown",a),document.addEventListener("keydown",r);let s=c()[0];s&&s.focus()},l=()=>{e.setAttribute("aria-expanded","false"),o.setAttribute("aria-hidden","true"),o.removeAttribute("aria-modal"),o.classList.remove("active"),document.body.classList.remove("u-no-scroll"),document.removeEventListener("keydown",a),document.removeEventListener("keydown",r),e.focus()},a=s=>{s.key==="Escape"&&o.classList.contains("active")&&l()};e.addEventListener("click",()=>i()),t.addEventListener("click",()=>l())}var $=ge;function Ae(){let e=document.querySelectorAll(".c-off-canvas__toggle");e.length&&(e.forEach(t=>{F(t,R(t)),t.addEventListener("click",()=>we(t))}),window.addEventListener("resize",()=>{e.forEach(t=>{F(t,R(t))})}))}function R(e){let t=window.getComputedStyle(e);return t.display!=="none"&&t.visibility!=="hidden"}function F(e,t){let o=document.getElementById(e.getAttribute("data-target"));t===!0?Le(o):Ee(o)}function Le(e){e.classList.add("c-off-canvas"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true");let t=e.querySelector('[data-off-canvas="header"]'),o=e.querySelector('[data-off-canvas="main"]'),n=e.querySelector('[data-off-canvas="footer"]'),c=t!==null?t.outerHTML:"",r=o!==null?o.outerHTML:"",i=n!==null?n.outerHTML:"";e.innerHTML=`
7
+ </table>`,i}var On=zo;function Bo(){Array.from(document.querySelectorAll(".c-facet__toggle")).forEach($o)}function $o(o){o.addEventListener("click",Wo())}function Wo(){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,nt,ot,mt=[],ft;function St(){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(St)}function Dt(){R=i.scrollWidth,Q=i.scrollHeight,c.canvas.width=R,c.canvas.height=Q,nt=Math.ceil(R/m),ot=Math.ceil(Q/m),ft=(nt+1)*(ot+1);let j=Nn(Array.from({length:ft},(Y,pt)=>pt));mt=[];for(let Y=0;Y<=nt;Y++)for(let pt=0;pt<=ot;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(),St()}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 $n=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 Wn=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 nt=Q[0],ot=Q[Q.length-1];R.key==="Tab"&&(R.shiftKey&&document.activeElement===nt?(R.preventDefault(),ot.focus()):!R.shiftKey&&document.activeElement===ot&&(R.preventDefault(),nt.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()};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
- <header id="offCanvasHeader" class="c-off-canvas__header">${c}</header>
11
- <main class="c-off-canvas__main">${r}</main>
10
+ <header id="offCanvasHeader" class="c-off-canvas__header">${f}</header>
11
+ <main class="c-off-canvas__main">${m}</main>
12
12
  <footer class="c-off-canvas__footer">
13
- ${i}
13
+ ${y}
14
14
  <button class="mp c-twi c-twi--left c-off-canvas__close" data-off-canvas-close="true" onclick="return false">
15
15
  <span>Cancel</span>
16
16
  <svg role="img" aria-hidden="true" focusable="false" class="mp c-icon c-icon--cross">
@@ -19,16 +19,26 @@
19
19
  </button>
20
20
  </footer>
21
21
  </div>
22
- `}function Ee(e){e.classList.remove("c-off-canvas","c-off-canvas--active"),e.removeAttribute("tabindex"),e.removeAttribute("aria-hidden");let t=e.querySelector(".c-off-canvas__backdrop");t&&t.remove();let o=e.querySelector(".c-off-canvas__content");if(o){for(;o.firstChild;)e.insertBefore(o.firstChild,o);e.removeChild(o)}let n=e.querySelector(".c-off-canvas__header");if(n){for(;n.firstChild;)e.insertBefore(n.firstChild,n);e.removeChild(n)}let c=e.querySelector(".c-off-canvas__main");if(c){for(;c.firstChild;)e.insertBefore(c.firstChild,c);e.removeChild(c)}let r=e.querySelector(".c-off-canvas__footer");if(r){for(;r.firstChild;)e.insertBefore(r.firstChild,r);e.removeChild(r)}let i=e.querySelector(".c-off-canvas__close");i&&i.remove()}function we(e){let t=document.getElementById(e.getAttribute("data-target"));t.classList.contains("c-off-canvas--active")?t.classList.contains("c-off-canvas--active")&&b(t):Ce(e,t)}function Ce(e,t){e.setAttribute("aria-expanded","true"),t.classList.add("c-off-canvas--active"),t.setAttribute("aria-hidden","false");let o=t.querySelector(".c-off-canvas__backdrop");o&&o.addEventListener("click",Se);let n=t.querySelectorAll('[data-off-canvas-close="true"]');n.length>0&&n.forEach(r=>{r.addEventListener("click",ke)}),document.addEventListener("keydown",xe,{once:!0}),document.body.style.overflowY="hidden";let c=Array.from(document.querySelectorAll(".c-off-canvas")).filter(r=>r!==t);c.length>0&&c.forEach(r=>{b(r)})}function b(e){document.querySelector('[data-target="'+e.id+'"').setAttribute("aria-expanded","false"),e.classList.remove("c-off-canvas--active"),e.setAttribute("aria-hidden","true"),document.body.style.overflowY=""}function Se(){let e=this.closest(".c-off-canvas");b(e)}function xe(e){if(e.key==="Escape"){let t=document.querySelector(".c-off-canvas--active");t&&b(t)}}function ke(){let e=this.closest(".c-off-canvas");b(e)}var P=Ae;var qe=()=>{Array.from(document.querySelectorAll(".c-table--responsive")).forEach(t);function t(o){let n=o.querySelectorAll("thead > :first-child th"),c=Number(o.getAttribute("data-columns"))||2;if(n.length<c){o.classList.remove("c-table--responsive");return}Array.from(o.querySelectorAll("tbody tr")).forEach(r=>{Array.from(n).map(i=>i.textContent).forEach((i,l)=>{r.children[l]&&r.children[l].setAttribute("data-responsive-title",i)})})}},W=qe;function Te(){z(),window.addEventListener("resize",M(z,250))}function z(){document.documentElement.style.setProperty("--scrollbarWidth",window.innerWidth-document.body.clientWidth+"px")}var D=Te;function Me(){let e=document.querySelector(".c-internal-nav--sticky"),t=e?e.offsetHeight:0;Array.from(document.querySelectorAll(".c-scroll-spy")).forEach(n=>{He(n,t)})}function He(e,t){let o=Array.from(e.querySelectorAll("a")),n=new IntersectionObserver(Oe(o));o.forEach(r=>{let i=r.getAttribute("href").replace("#",""),l=document.getElementById(i);l&&n.observe(l)});let c=parseFloat(window.getComputedStyle(e).top);e.style.top=`${c+t}px`}function Oe(e){return t=>{let o=t.find(n=>n.isIntersecting);o&&e.forEach(n=>{n.classList.toggle("c-scroll-spy-active",n.getAttribute("href")==="#"+o.target.id)})}}var V=Me;var j;function Ie(){Array.from(document.querySelectorAll(".c-tabs--anchor, .c-tabs--mobile-accordion")).forEach(t=>{K(t),window.addEventListener("resize",()=>{clearTimeout(j),j=setTimeout(()=>Y(t),100)})})}function K(e){let t=Array.from(e.querySelectorAll(".c-tabs__control")),o=Array.from(e.querySelectorAll(".c-tab")),n=e.dataset.persist==="true";if(!(!t.length||!o.length)&&(t.forEach((c,r)=>{let i=o[r];i&&(c.setAttribute("role","tab"),c.setAttribute("aria-selected",c.classList.contains("c-tabs__control--active")?"true":"false"),c.setAttribute("aria-controls",i.id),c.id||=`tab-${r+1}-tab`,i.setAttribute("role","tabpanel"),i.setAttribute("aria-labelledby",c.id),i.hidden=!i.classList.contains("c-tab--active"),c.addEventListener("keydown",l=>Be(l,t)))}),Y(e),t.forEach(c=>{c.addEventListener("click",Fe(t,o,n))}),n&&window.location.hash)){let c=e.querySelector('[href="'+window.location.hash+'"]');c&&c.dispatchEvent(new Event("click"))}}function Be(e,t){let o=e.key,n=e.currentTarget,c=t.indexOf(n);["ArrowLeft","ArrowRight","Home","End"].includes(o)&&(e.preventDefault(),o==="ArrowLeft"&&(c=(c-1+t.length)%t.length),o==="ArrowRight"&&(c=(c+1)%t.length),o==="Home"&&(c=0),o==="End"&&(c=t.length-1),t[c].focus(),t[c].click())}function Y(e){let t=e.classList.contains("c-tabs--mobile-accordion"),o=window.innerWidth<=880;e.dataset.viewMode!==(o?"accordion":"tabs")&&(e.dataset.viewMode=o?"accordion":"tabs",t&&o?Ne(e):t&&!o&&$e(e))}function Ne(e){let t=Array.from(e.querySelectorAll(".c-tabs__control")),o=Array.from(e.querySelectorAll(".c-tab")),n=e.querySelector(".c-tabs__controls");n&&n.remove(),t.forEach((c,r)=>{let i=o[r];if(i){let l=document.createElement("div");l.classList.add("c-tabs__content"),l.appendChild(c),l.appendChild(i),e.appendChild(l)}})}function $e(e){let t=Array.from(e.querySelectorAll(".c-tabs__control")),o=Array.from(e.querySelectorAll(".c-tab"));!t.length||!o.length||(e.innerHTML=`
22
+ `}function ir(o){o.classList.remove("c-off-canvas","c-off-canvas--active"),o.removeAttribute("tabindex"),o.removeAttribute("aria-hidden");let i=o.querySelector(".c-off-canvas__backdrop");i&&i.remove();let c=o.querySelector(".c-off-canvas__content");if(c){for(;c.firstChild;)o.insertBefore(c.firstChild,c);o.removeChild(c)}let u=o.querySelector(".c-off-canvas__header");if(u){for(;u.firstChild;)o.insertBefore(u.firstChild,u);o.removeChild(u)}let f=o.querySelector(".c-off-canvas__main");if(f){for(;f.firstChild;)o.insertBefore(f.firstChild,f);o.removeChild(f)}let m=o.querySelector(".c-off-canvas__footer");if(m){for(;m.firstChild;)o.insertBefore(m.firstChild,m);o.removeChild(m)}let y=o.querySelector(".c-off-canvas__close");y&&y.remove()}function cr(o){let i=document.getElementById(o.getAttribute("data-target"));i.classList.contains("c-off-canvas--active")?i.classList.contains("c-off-canvas--active")&&ce(i):ar(o,i)}function ar(o,i){o.setAttribute("aria-expanded","true"),i.classList.add("c-off-canvas--active"),i.setAttribute("aria-hidden","false");let c=i.querySelector(".c-off-canvas__backdrop");c&&c.addEventListener("click",sr);let u=i.querySelectorAll('[data-off-canvas-close="true"]');u.length>0&&u.forEach(m=>{m.addEventListener("click",ur)}),document.addEventListener("keydown",lr,{once:!0}),document.body.style.overflowY="hidden";let f=Array.from(document.querySelectorAll(".c-off-canvas")).filter(m=>m!==i);f.length>0&&f.forEach(m=>{ce(m)})}function ce(o){document.querySelector('[data-target="'+o.id+'"').setAttribute("aria-expanded","false"),o.classList.remove("c-off-canvas--active"),o.setAttribute("aria-hidden","true"),document.body.style.overflowY=""}function sr(){let o=this.closest(".c-off-canvas");ce(o)}function lr(o){if(o.key==="Escape"){let i=document.querySelector(".c-off-canvas--active");i&&ce(i)}}function ur(){let o=this.closest(".c-off-canvas");ce(o)}var Yn=or;var dr=()=>{Array.from(document.querySelectorAll(".c-table--responsive")).forEach(i);function i(c){let u=c.querySelectorAll("thead > :first-child th"),f=Number(c.getAttribute("data-columns"))||2;if(u.length<f){c.classList.remove("c-table--responsive");return}Array.from(c.querySelectorAll("tbody tr")).forEach(m=>{Array.from(u).map(y=>y.textContent).forEach((y,O)=>{m.children[O]&&m.children[O].setAttribute("data-responsive-title",y)})})}},Kn=dr;function fr(){Un(),window.addEventListener("resize",Rn(Un,250))}function Un(){document.documentElement.style.setProperty("--scrollbarWidth",window.innerWidth-document.body.clientWidth+"px")}var Qn=fr;function pr(){let o=document.querySelector(".c-internal-nav--sticky"),i=o?o.offsetHeight:0;Array.from(document.querySelectorAll(".c-scroll-spy")).forEach(u=>{hr(u,i)})}function hr(o,i){let c=Array.from(o.querySelectorAll("a")),u=new IntersectionObserver(vr(c));c.forEach(m=>{let y=m.getAttribute("href").replace("#",""),O=document.getElementById(y);O&&u.observe(O)});let f=parseFloat(window.getComputedStyle(o).top);o.style.top=`${f+i}px`}function vr(o){return i=>{let c=i.find(u=>u.isIntersecting);c&&o.forEach(u=>{u.classList.toggle("c-scroll-spy-active",u.getAttribute("href")==="#"+c.target.id)})}}var Jn=pr;var Zn;function mr(){Array.from(document.querySelectorAll(".c-tabs--anchor, .c-tabs--mobile-accordion")).forEach(i=>{to(i),window.addEventListener("resize",()=>{clearTimeout(Zn),Zn=setTimeout(()=>eo(i),100)})})}function to(o){let i=Array.from(o.querySelectorAll(".c-tabs__control")),c=Array.from(o.querySelectorAll(".c-tab")),u=o.dataset.persist==="true";if(!(!i.length||!c.length)&&(i.forEach((f,m)=>{let y=c[m];y&&(f.setAttribute("role","tab"),f.setAttribute("aria-selected",f.classList.contains("c-tabs__control--active")?"true":"false"),f.setAttribute("aria-controls",y.id),f.id||=`tab-${m+1}-tab`,y.setAttribute("role","tabpanel"),y.setAttribute("aria-labelledby",f.id),y.hidden=!y.classList.contains("c-tab--active"),f.addEventListener("keydown",O=>gr(O,i)))}),eo(o),i.forEach(f=>{f.addEventListener("click",wr(i,c,u))}),u&&window.location.hash)){let f=o.querySelector('[href="'+window.location.hash+'"]');f&&f.dispatchEvent(new Event("click"))}}function gr(o,i){let c=o.key,u=o.currentTarget,f=i.indexOf(u);["ArrowLeft","ArrowRight","Home","End"].includes(c)&&(o.preventDefault(),c==="ArrowLeft"&&(f=(f-1+i.length)%i.length),c==="ArrowRight"&&(f=(f+1)%i.length),c==="Home"&&(f=0),c==="End"&&(f=i.length-1),i[f].focus(),i[f].click())}function eo(o){let i=o.classList.contains("c-tabs--mobile-accordion"),c=window.innerWidth<=880;o.dataset.viewMode!==(c?"accordion":"tabs")&&(o.dataset.viewMode=c?"accordion":"tabs",i&&c?yr(o):i&&!c&&br(o))}function yr(o){let i=Array.from(o.querySelectorAll(".c-tabs__control")),c=Array.from(o.querySelectorAll(".c-tab")),u=o.querySelector(".c-tabs__controls");u&&u.remove(),i.forEach((f,m)=>{let y=c[m];if(y){let O=document.createElement("div");O.classList.add("c-tabs__content"),O.appendChild(f),O.appendChild(y),o.appendChild(O)}})}function br(o){let i=Array.from(o.querySelectorAll(".c-tabs__control")),c=Array.from(o.querySelectorAll(".c-tab"));!i.length||!c.length||(o.innerHTML=`
23
23
  <nav class="c-tabs__controls-wrapper">
24
24
  <div class="c-tabs__controls">
25
25
  <ul class="c-tabs__controls-list">
26
- ${t.map(n=>`<li>${n.outerHTML}</li>`).join("")}
26
+ ${i.map(u=>`<li>${u.outerHTML}</li>`).join("")}
27
27
  </ul>
28
28
  </div>
29
29
  </nav>
30
30
  <div class="c-tabs__content">
31
- ${o.map(n=>n.outerHTML).join("")}
31
+ ${c.map(u=>u.outerHTML).join("")}
32
32
  </div>
33
- `,setTimeout(()=>K(e),0))}function Re(e){if(!e)return;let t=e.getBoundingClientRect(),o=window.pageYOffset+t.top,n=e.dataset.stickyOffset?parseInt(e.dataset.stickyOffset,10):0;window.scrollTo({top:o-n,behavior:"smooth"})}function Fe(e,t,o){return n=>{let c=n.currentTarget,r=c.getAttribute("href")?.replace("#",""),i=t.find(a=>a.id===r);if(!i)return!0;n.preventDefault(),o&&history.pushState(null,null,c.getAttribute("href"));let l=window.innerWidth<=880;e.forEach(a=>{let s=a===c;a.classList.toggle("c-tabs__control--active",s),a.setAttribute("aria-selected",s?"true":"false")}),t.forEach(a=>{let s=a===i;a.classList.toggle("c-tab--active",s),a.hidden=!s}),Re(c.closest(".c-tabs--anchor, .c-tabs--mobile-accordion")),c.scrollIntoView&&c.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}var Q=Ie;function G(){window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach),window.HTMLCollection&&!HTMLCollection.prototype.forEach&&(HTMLCollection.prototype.forEach=Array.prototype.forEach),E(),w(),C(),S(),x(),k(),O(),I(),B(),N(),$(),P(),W(),D(),V(),Q()}typeof window<"u"&&G();})();
33
+ `,setTimeout(()=>to(o),0))}function Er(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 wr(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}),Er(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(),$n(),Wn(),jn(),Vn(),Yn(),Kn(),Qn(),Jn(),no(),Xe()}typeof window<"u"&&oo();})();
34
+ /*! Bundled license information:
35
+
36
+ @splidejs/splide/dist/js/splide.min.js:
37
+ (*!
38
+ * Splide.js
39
+ * Version : 4.1.4
40
+ * License : MIT
41
+ * Copyright: 2022 Naotoshi Fujita
42
+ *)
43
+ */
34
44
  //# sourceMappingURL=mp-www.js.map