1(()=>{var wi=Object.create;var ae=Object.defineProperty;var xi=Object.getOwnPropertyDescriptor;var vi=Object.getOwnPropertyNames;var bi=Object.getPrototypeOf,Si=Object.prototype.hasOwnProperty;var Ti=t=>ae(t,"__esModule",{value:!0});var Ai=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ge=(t,e)=>{for(var n in e)ae(t,n,{get:e[n],enumerable:!0})},Ei=(t,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of vi(e))!Si.call(t,o)&&(n||o!=="default")&&ae(t,o,{get:()=>e[o],enumerable:!(r=xi(e,o))||r.enumerable});return t},Ci=(t,e)=>Ei(Ti(ae(t!=null?wi(bi(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var fr=Ai(()=>{Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function t(){var e=isNaN(arguments[0])?1:Number(arguments[0]);return e?Array.prototype.reduce.call(this,function(n,r){return Array.isArray(r)?n.push.apply(n,t.call(r,e-1)):n.push(r),n},[]):Array.prototype.slice.call(this)},writable:!0}),Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{configurable:!0,value:function(t){return Array.prototype.map.apply(this,arguments).flat()},writable:!0})});var Tn={};Ge(Tn,{attach:()=>S,debug:()=>jt,defineRivetArchetype:()=>it,drive:()=>Jt,registerAction:()=>ht,registerBehavior:()=>yt,registerEvent:()=>U,registerInnate:()=>Qt,registerMacro:()=>Sn,registerObserver:()=>tt,store:()=>J,util:()=>b});var b={};Ge(b,{NON_PASSIVE_ARGS:()=>Dt,PASSIVE_ARGS:()=>q,SCROLLBAR_ACTIVE_VAR_NAME:()=>Ut,SCROLLBAR_ACTIVE_VAR_STRING:()=>dn,SCROLLBAR_VAR_NAME:()=>fn,SCROLLBAR_VAR_STRING:()=>zs,absVector:()=>qi,addClass:()=>rs,addVectors:()=>zi,animateToElement:()=>qs,animateTopOffset:()=>Fs,appendHtmlString:()=>as,balanceFromDifference:()=>Wi,ceil:()=>Oi,clamp:()=>Bt,clampVector:()=>Ri,debounce:()=>bt,defer:()=>Vi,dispatch:()=>vs,distanceInRange:()=>Ye,divideVectors:()=>Di,doOnce:()=>_t,elementAttributes:()=>Tt,elementIndex:()=>ss,elementIsVisibleInViewport:()=>xr,elementMeta:()=>nn,ensureNumber:()=>Z,ensureString:()=>qt,evaluateCondition:()=>js,expandElementValue:()=>mt,farthest:()=>ls,floor:()=>Ii,fontCompress:()=>ks,forceOpaque:()=>Ds,getCachedAttribute:()=>At,getCachedJsonAttribute:()=>Ss,getDurations:()=>tn,getEasing:()=>dt,getJsonAttrContent:()=>Ke,getOuterHeight:()=>fs,getPrecisionLength:()=>Pi,getPrecisionLengthWithCommas:()=>Hi,getStateValue:()=>Tr,getTransitionDuration:()=>ms,getTransitionTimingMS:()=>ds,hasClass:()=>ns,intersect:()=>Rs,isMobile:()=>cn,isScalar:()=>Li,lerp:()=>Ni,listener:()=>X,listenerPassive:()=>B,lockMotion:()=>br,makeAlternatingSynchronizer:()=>ps,makeDirectionalEasing:()=>es,makeElementWeakMap:()=>Wt,makeFindClosest:()=>Xe,makeGetComputedFloatValues:()=>Ls,makeGetComputedStyle:()=>Cs,makeGetComputedStyles:()=>an,makeMotionLockedUpdate:()=>Sr,makeRafLoop:()=>de,makeSortByKey:()=>ki,makeStateSynchronizer:()=>cr,makeTreeWalker:()=>ue,memoize:()=>Qe,multiplyVectors:()=>_i,normalizeCondition:()=>gn,normalizeTeardown:()=>Nt,offsetFromTop:()=>fe,onLoad:()=>V,onPageVisibilityChange:()=>en,onPercentScrolled:()=>As,onResize:()=>Vt,onResizeOrScan:()=>Et,onScan:()=>pe,onScanLazy:()=>Es,onScroll:()=>rn,onScrollOrResize:()=>mr,onScrollRaw:()=>on,onViewportChange:()=>gr,once:()=>pr,oncePassive:()=>St,parseHTML:()=>Ze,parseTime:()=>pt,removeClass:()=>os,rivetDispatch:()=>xs,rivetListener:()=>ws,round:()=>nr,roundVector:()=>Bi,runAnimation:()=>Ns,scrollOffset:()=>us,scrollingDisable:()=>Bs,scrollingEnable:()=>$s,siblings:()=>ar,subtractVectors:()=>$i,teardown:()=>Q,throttle:()=>je,toggleClass:()=>is,transitionEnd:()=>bs,triggerScan:()=>Ts,tween:()=>ys,unwrapHtmlTemplate:()=>cs,updateStateKey:()=>Us,vectorsEq:()=>Fi,watchElementIsVisible:()=>_s,waypoint:()=>Is,wrapNumber:()=>Ue,wrapVector:()=>Mi});function Z(t){if(typeof t=="function")return Z(t());if(typeof t=="number")return t;let e=Number.parseFloat(t);return Number.isNaN(e)?0:e}var qt=t=>typeof t=="function"?qt(t()):typeof t=="string"?t:"";function Li(t){var e=typeof t;return e==="string"||e==="number"||e==="boolean"||e==="symbol"||t==null||t instanceof Symbol||t instanceof String||t instanceof Number||t instanceof Boolean}var ki=t=>(e,n)=>e[t]-n[t];var Oi=(t,e=100)=>Math.ceil(t*e)/e,Ii=(t,e=100)=>Math.floor(t*e)/e,nr=(t,e=100)=>Math.round((t+Number.EPSILON)*e)/e,Pi=t=>{var e,n;return(n=(e=t.toString().split(/\./)[1])==null?void 0:e.length)!=null?n:0},Hi=t=>{var e,n;return(n=(e=t.toString().split(/,/)[1])==null?void 0:e.length)!=null?n:0},Ue=(t,e)=>(e+t)%e,Mi=([t,e],[n,r])=>[Ue(t,n),Ue([e,r])],Bt=(t,e,n)=>Math.min(Math.max(t,e),n),Ri=([t,e],n,r)=>
1[Bt(t,n,r),Bt(e,n,r)],zi=([t,e],[n,r])=>[t+n,e+r],Fi=([t,e],[n,r])=>t===n&&e===r,qi=t=>t.map(Math.abs),Bi=(t,e)=>t.map(n=>nr(n,e)),$i=([t,e],[n,r])=>[t-n,e-r],_i=([t,e],[n,r])=>[t*n,e*r],Di=([t,e],[n,r])=>[t/n,e/r],Ye=(t,e,n)=>(t-e+n)%n,Ni=(t,e,n)=>t+n*(e-t),Wi=(t,e,n)=>{let r=Ye(t,e,n),o=Ye(e,t,n);return r===o?0:r>o?-1:1};function Vi(t){return setTimeout(t,0)}function je(t,e,n={}){var r=!0,o=!0;return r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o,bt(t,e,{leading:r,maxWait:e,trailing:o})}function bt(t,e=0,n={}){var r,o,i,s,a,c,u=0,p=!1,f=!1,d=!0;p=!!n.leading,f="maxWait"in n,i=f?Math.max(n.maxWait||0,e):i,d="trailing"in n?!!n.trailing:d;function l(v){var E=r,P=o;return r=o=void 0,u=v,s=t.apply(P,E),s}function m(v){return u=v,a=setTimeout(w,e),p?l(v):s}function g(v){var E=v-c,P=v-u,F=e-E;return f?Math.min(F,i-P):F}function h(v){var E=v-c,P=v-u;return c===void 0||E>=e||E<0||f&&P>=i}function w(){var v=window.Date.now();if(h(v))return y(v);a=setTimeout(w,g(v))}function y(v){return a=void 0,d&&r?l(v):(r=o=void 0,s)}function x(){a!==void 0&&clearTimeout(a),u=0,r=c=o=a=void 0}function T(){return a===void 0?s:y(window.Date.now())}function O(){var v=window.Date.now(),E=h(v);if(r=arguments,o=this,c=v,E){if(a===void 0)return m(c),()=>void x();if(f)return clearTimeout(a),a=setTimeout(w,e),l(c),()=>void x()}return a===void 0&&(a=setTimeout(w,e)),()=>void x()}return O.cancel=x,O.flush=T,O}function Qe(t,e){let n=new Map;return function(...r){let o=e?e.apply(this,r):r[0];if(n.has(o))return n.get(o);let i=t.apply(this,r);return n.set(o,i),i}}var Gi=4,Ui=.001,Yi=1e-7,ji=10,$t=11,ce=1/($t-1),Qi=typeof Float32Array=="function";function rr(t,e){return 1-3*e+3*t}function or(t,e){return 3*e-6*t}function ir(t){return 3*t}function le(t,e,n){return((rr(e,n)*t+or(e,n))*t+ir(e))*t}function sr(t,e,n){return 3*rr(e,n)*t*t+2*or(e,n)*t+ir(e)}function Ji(t,e,n,r,o){var i,s,a=0;do s=e+(n-e)/2,i=le(s,r,o)-t,i>0?n=s:e=s;while(Math.abs(i)>Yi&&++a<ji);return s}function Ki(t,e,n,r){for(var o=0;o<Gi;++o){var i=sr(e,n,r);if(i===0)return e;var s=le(e,n,r)-t;e-=s/i}return e}function Zi(t){return t}function Je(t,e,n,r){if(!(0<=t&&t<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===e&&n===r)return Zi;for(var o=Qi?new Float32Array($t):new Array($t),i=0;i<$t;++i)o[i]=le(i*ce,t,n);function s(a){for(var c=0,u=1,p=$t-1;u!==p&&o[u]<=a;++u)c+=ce;--u;var f=(a-o[u])/(o[u+1]-o[u]),d=c+f*ce,l=sr(d,t,n);return l>=Ui?Ki(a,d,t,n):l===0?d:Ji(a,c,c+ce,t,n)}return function(c){return c===0||c===1?c:le(s(c),e,r)}}var Xi=t=>{switch(t){case"linear":return"cubic-bezier(0.0, 0.0, 1.0, 1.0)";case"ease-in":return"cubic-bezier(0.42, 0, 1.0, 1.0)";case"ease-out":return"cubic-bezier(0, 0, 0.58, 1.0)";case"ease-in-out":return"cubic-bezier(0.42, 0, 0.58, 1.0)";case"ease":default:return"cubic-bezier(0.25, 0.1, 0.25, 1.0)"}},k=Qe(t=>{let e=Xi(t);try{let[,n]=e.match(/cubic-bezier\((.*)\)/);return Je(...n.split(",").map(r=>Number(r.trim())))}catch{console.warn("unable to parse easing function",e)}return k("ease")}),ts={easeInQuad:k("cubic-bezier(0.550, 0.085, 0.680, 0.530)"),easeInCubic:k("cubic-bezier(0.550, 0.055, 0.675, 0.190)"),easeInQuart:k("cubic-bezier(0.895, 0.030, 0.685, 0.220)"),easeInQuint:k("cubic-bezier(0.755, 0.050, 0.855, 0.060)"),easeInSine:k("cubic-bezier(0.470, 0.000, 0.745, 0.715)"),easeInExpo:k("cubic-bezier(0.950, 0.050, 0.795, 0.035)"),easeInCirc:k("cubic-bezier(0.600, 0.040, 0.980, 0.335)"),easeInBack:k("cubic-bezier(0.600, -0.280, 0.735, 0.045)"),easeOutQuad:k("cubic-bezier(0.250, 0.460, 0.450, 0.940)"),easeOutCubic:k("cubic-bezier(0.215, 0.610, 0.355, 1.000)"),easeOutQuart:k("cubic-bezier(0.165, 0.840, 0.440, 1.000)"),easeOutQuint:k("cubic-bezier(0.230, 1.000, 0.320, 1.000)"),easeOutSine:k("cubic-bezier(0.390, 0.575, 0.565, 1.000)"),easeOutExpo:k("cubic-bezier(0.190, 1.000, 0.220, 1.000)"),easeOutCirc:k("cubic-bezier(0.075, 0.820, 0.165, 1.000)"),easeOutBack:k("cubic-bezier(0.175, 0.885, 0.320, 1.275)"),easeInOutQuad:k("cubic-bezier(0.455, 0.030, 0.515, 0.955)"),easeInOutCubic:k("cubic-bezier(0.645, 0.045, 0.355, 1.000)"),easeInOutQuart:k("cubic-bezier(0.770, 0.000, 0.175, 1.000)"),easeInOutQuint:k("cubic-bezier(0.860, 0.000, 0.070, 1.000)"),easeInOutSine:k("cubic-bezier(0.445, 0.050, 0.550, 0.950)"),easeInOutExpo:k("cubic-bezier(1.000, 0.000, 0.000, 1.000)"),easeInOutCirc:k("cubic-bezier(0.785, 0.135, 0.150, 0.860)"),easeInOutBack:k("cubic-bezier(0.680, -0.550, 0.265, 1.550)"),materialStand:k("cubic-bezier(0.400, 0.000, 0.200, 1.000)"),materialDecel:k("cubic-bezier(0.000, 0.000, 0.200, 1.000)"),materialAccel:k("cubic-bezier(0.400, 0.000, 1.000, 1.000)"),materialSharp:k("cubic-bezier(0.400, 0.000, 0.600, 1.000)")};function dt(t){return ts[t]||k(t)}var es=t=>{let e=dt(t);return n=>{let r=(-1*n+1)/2,o=Math.min(1,Math.max(0,r));return(e(o)-.5)*2}};var ns=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.contains(e)},rs=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.add(e)},os=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.remove(e)},is=(t,e,n)=>{var r;return(r=t==null?void 0:t.classList)==null?void 0:r.toggle(e,n)};function ss(t){if(!t)return-1;for(var e=0;t=t.previousElementSibling;)e++;return e}function Ke(t,e){let n=t.getAttribute(e);
1if(n===null)return{};if(typeof n=="string")try{return JSON.parse(n)}catch{try{return JSON.parse(n.replace(/"/g,'"'))}catch{}}return n}var Ze=t=>{let e=document.implementation.createHTMLDocument("");return e.body.innerHTML=t,e.body.children},as=(t,e)=>{Array.from(Ze(e)).forEach(n=>{t.append(n)})},cs=t=>{Array.from(Ze(t.innerHTML)).forEach(e=>{t.insertAdjacentElement("afterend",e)}),t.remove()};function ls(t,e){let n=t,r;for(;n&&n.parentElement;)n=n.parentElement.closest(e),n&&(r=n);return r}var ar=t=>t&&t.parentElement?Array.from(t.parentElement.children).filter(e=>e!==t):[],ue=(t,e)=>n=>{let r=new Set,o=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:()=>NodeFilter.FILTER_ACCEPT});for(;o.nextNode();)if(t(o.currentNode)){if(e)return o.currentNode;r.add(o.currentNode)}return e?null:Array.from(r)},fe=t=>t?t.offsetParent?t.offsetTop+fe(t.offsetParent):t.offsetTop:0,us=t=>{let e=t.getBoundingClientRect(),{top:n,left:r,height:o}=e;return{top:n+window.scrollY,bottom:n+o+window.scrollY,left:r+window.scrollX}},fs=t=>{var o;if(!t)return 0;let e=Math.max(t.scrollHeight,t.offsetHeight),n=(o=t.getAttribute("style"))!=null?o:"";t.style.display="block",t.style.position="absolute",t.style.visibility="hidden";let r=Math.max(0,e,t.scrollHeight,t.offsetHeight);return t.setAttribute("style",n),r},Xe=t=>{let e=ue(t,!0),n=o=>{let i=o;for(;i;){if(t(i))return i;i=i.parentElement}},r=o=>{let i=o;for(;i;){let s;if(ar(i).find(a=>(s=t(a)?a:e(a),s)),s)return s;i=i.parentElement}};return o=>n(o)||r(o)||null};function ds(t){if(!t)return 0;let n=window.getComputedStyle(t)["transition-duration"]||"";return parseFloat(n.replace("s",""))*1e3}var cr=(t,{pending:e=()=>{},delay:n=10,initialState:r=null}={})=>{let o=r,i=r,s=[],a=!1,c=()=>{o!==i&&(a=!0,e(!0),o=i,t(o,(...p)=>{a=!1,e(!1),s=p,c()},...s))},u=bt(p=>{i=p,a||c()},n);return u.reset=()=>{o=!1,i=!1,s=[]},u},ps=(t,e,n,r=!1)=>cr((o,i,s)=>{o?t(()=>void i(e)):e(i),s&&s(i)},{delay:n,initialState:r}),_t=t=>{let e=!1;return(...n)=>{if(!e)return e=!0,t(...n)}},pt=(t,e=0)=>{if(typeof t=="number")return t;let n=typeof t=="string"?t:"",[,r,o=""]=n.match(/(\d*.?\d+)(\w*)/)||[],i=parseFloat(r);return Number.isNaN(i)?e:o.toLowerCase()==="s"?i*1e3:i};function ms(t,e){return pt(t&&window.getComputedStyle(t).getPropertyValue("transition-duration"),e)}function tn(t){let e=window.getComputedStyle(t);e.getPropertyValue("transition-duration");let n=pt(e.getPropertyValue("transition-duration"),0),r=pt(e.getPropertyValue("transition-delay"),0),o=pt(e.getPropertyValue("animation-duration"),0),i=pt(e.getPropertyValue("animation-delay"),0);return{transitionDuration:n,transitionDelay:r,animationDuration:o,animationDelay:i,transitionTime:n+r,animationTime:o+i}}var de=t=>{let e,n,r=o=>{typeof e=="undefined"&&(e=o);let i=o-e;t(i,o)!==!1&&(n=requestAnimationFrame(r))};return n=requestAnimationFrame(r),()=>void cancelAnimationFrame(n)},gs=({setup:t=()=>{},update:e=()=>{},complete:n=()=>{},cancel:r=()=>{},duration:o,easing:i})=>{let s=pt(o,500),a=dt(i);t();let c=de(u=>{if(u<s)e(a(u/s));else return e(1),n(),!1});return()=>{r(),c()}},hs=(t,e,n)=>e===n?n:n>e?e+(n-e)*t:e+(e-n)*(t*-1),lr=t=>Object.keys(t).reduce((e,n)=>(e[n]=parseFloat(t[n]),e),{}),ur=(t,{update:e,interpolate:n=hs,...r})=>{let o=lr(t);return(i={})=>{let s=lr(i);return gs({update:a=>{e(Object.keys(s).reduce((c,u)=>(c[u]=n(a,o[u],s[u]),c),{}))},...r})}},ys=(t,e)=>{let n=typeof t=="object"?ur(t,e):ur({from:t},{...e,update:({from:r})=>e.update(r)});return r=>n(typeof r=="object"?r:{from:r})};Promise.resolve().then(()=>Ci(fr()));var dr="rvt",q={passive:!0},Dt={passive:!1};function ws(t,e,n){return X(t,`${dr}-${e}`,n)}function xs(t,e){t.dispatchEvent(new CustomEvent(`${dr}-${e}`))}function vs(t,e,n={},r=!0){t.dispatchEvent(new CustomEvent(e),{bubbles:r,detail:n})}function X(t,e,n,r={}){return t?(typeof r.passive=="undefined"&&(r.passive=!1),t.addEventListener(e,n,r),()=>void t.removeEventListener(e,n,r)):()=>{}}function B(t,e,n){return X(t,e,n,q)}function V(t){let e=()=>void t();return document.readyState==="complete"?(e(),()=>{}):B(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(e,0)})}function pr(t,e,n,r=Dt){let o=function(i){t.removeEventListener(e,o),n(i)};return t.addEventListener(e,o,r),()=>void t.removeEventListener(e,o)}function St(t,e,n){return pr(t,e,n,q)}var Nt=t=>(Array.isArray(t)?t.map(Nt):[t]).flat().filter(e=>typeof e=="function"),Q=t=>{let e=Nt(t);return()=>e.forEach(n=>n())};function bs(t,e){let r=window.getComputedStyle(t)["transition-duration"];if(r=r?parseFloat(r.replace("s","")):0,r===0){e();return}let o=_t(e),i=setTimeout(function(){o()},r*1e3+500),s=St(t,"transitionend",o);return function(){clearTimeout(i),s()}}var en=(t,e)=>(e&&t(document.visibilityState==="visible"),Q([X(window,"pagehide",()=>{t(!1)}),X(window.document,"visibilitychange",()=>{t(document.visibilityState==="visible")})]));function N(t,e){let n,r=null;
1return function(o){if(n){r=o;return}n=setTimeout(function(){t(r),n=null},e)}}var Wt=(t={})=>{let e,n=()=>{e=new WeakMap},r=c=>e.has(c),o=c=>e.delete(c),i=c=>e.has(c)?e.get(c):t,s=(c,u)=>void e.set(c,u),a=(c,u)=>void s(c,u(i(c)));return n(),{get:i,del:o,set:s,has:r,update:a,reset:n,cache:()=>e}},nn=Wt(),Tt=Wt();function At(t,e){return Tt.has(t)||Tt.set(t,new Map),Tt.get(t).has(e)||Tt.get(t).set(e,Ke(t,e)),Tt.get(t).get(e)}function Ss(t,e){if(!t)return{};let n=At(t,e);return typeof n=="object"?n:{}}var Ts=()=>window.dispatchEvent(new CustomEvent("rvt-scan")),pe=t=>X(window,"rvt-scan",()=>t()),Vt=(t,e=!1)=>{e&&t();let n=N(t,100);return Q([B(window,"resize",n,q),X(screen.orientation,"change",n)])},rn=(t,e=!1)=>{e&&t();let n=N(t,40);return B(window,"scroll",n)},on=(t,e=!1)=>(e&&t(),B(window,"scroll",t)),mr=(t,e=!1)=>Q([rn(t,e),Et(t,e)]),Et=(t,e)=>Q([pe(t),Vt(t,e)]),gr=(t,e)=>Q([pe(t),V(t),en(t,!1),Vt(t,e)]),As=(t,e,n=!1)=>{let r,o,i=mr(()=>{let s=document.body.offsetHeight,c=1-(s-(window.scrollY+window.innerHeight))/s>=t;c!==o&&(e(c),c&&n&&(r=!0,i()),o=c)},!0);return()=>{r||i()}},Es=(t,{throttle:e=50}={})=>{let n,o=je(()=>{n=requestAnimationFrame(()=>void t())},e,{trailing:!0}),i=bt(o,450);return[V(i),Vt(i),pe(o),()=>cancelAnimationFrame(n)]},sn,hr;gr(()=>{sn=new WeakMap,hr=new WeakMap},!0);rn(()=>{hr=new WeakMap},!0);var yr=t=>{let e=sn.get(t);return e||(e=new WeakMap,sn.set(t,e)),e};function an(t,e){let n=function(r){let o=yr(n).get(r);if(!o){let i=getComputedStyle(r);o=t.reduce((s,a)=>(s[a]=typeof e=="function"?e(i[a],a):i[a],s),{}),yr(n).set(r,o)}return o};return n}function Cs(t){let e=an([t]);return n=>e(n)[t]}function Ls(t){return an(t,e=>parseFloat(e))}function ks(t,{c:e=1,min:n=Number.NEGATIVE_INFINITY,max:r=Number.POSITIVE_INFINITY}){let o=Z(n),i=Z(r);return Vt(()=>{let s=Bt(parseFloat(getComputedStyle(t,null).width)/(e*10),o,i);t.style.setProperty("font-size",`${s}px`)},!0)}var Os="ontouchstart"in document.documentElement;function cn(){return window.innerWidth<=978.98&&Os}var wr=0,Ct={};function A(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+wr,this.options=A.Adapter.extend({},A.defaults,t),this.element=this.options.element,this.adapter=new A.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=A.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=A.Context.findOrCreateByElement(this.options.context),A.offsetAliases[this.options.offset]&&(this.options.offset=A.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),Ct[this.key]=this,wr+=1}A.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)};A.prototype.trigger=function(t){!this.enabled||this.callback&&this.callback.apply(this,t)};A.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete Ct[this.key]};A.prototype.disable=function(){return this.enabled=!1,this};A.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this};A.prototype.next=function(){return this.group.next(this)};A.prototype.previous=function(){return this.group.previous(this)};A.invokeAll=function(t){var e=[];for(var n in Ct)e.push(Ct[n]);for(var r=0,o=e.length;r<o;r++)e[r][t]()};A.destroyAll=function(){A.invokeAll("destroy")};A.disableAll=function(){A.invokeAll("disable")};A.enableAll=function(){A.Context.refreshAll();for(var t in Ct)Ct[t].enabled=!0;return this};A.refreshAll=function(){A.Context.refreshAll()};A.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight};A.viewportWidth=function(){return document.documentElement.clientWidth};A.adapters=[];A.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0};A.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()}
1,"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}};(function(){"use strict";var t=0,e={},n=window.onload;function r(o){this.element=o,this.Adapter=A.Adapter,this.adapter=new this.Adapter(o),this.key="waypoint-context-"+t,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},o.waypointContextKey=this.key,e[o.waypointContextKey]=this,t+=1,A.windowContext||(A.windowContext=!0,A.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(o){var i=o.options.horizontal?"horizontal":"vertical";this.waypoints[i][o.key]=o,this.refresh()},r.prototype.checkEmpty=function(){var o=this.Adapter.isEmptyObject(this.waypoints.horizontal),i=this.Adapter.isEmptyObject(this.waypoints.vertical),s=this.element==this.element.window;o&&i&&!s&&(this.adapter.off(".waypoints"),delete e[this.key])},r.prototype.createThrottledResizeHandler=function(){var o=this;function i(){o.handleResize(),o.didResize=!1}this.adapter.on("resize.waypoints",function(){o.didResize||(o.didResize=!0,requestAnimationFrame(i))})},r.prototype.createThrottledScrollHandler=function(){var o=this;function i(){o.handleScroll(),o.didScroll=!1}this.adapter.on("scroll.waypoints",function(){(!o.didScroll||A.isTouch)&&(o.didScroll=!0,requestAnimationFrame(i))})},r.prototype.handleResize=function(){A.Context.refreshAll()},r.prototype.handleScroll=function(){var o={},i={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var s in i){var a=i[s],c=a.newScroll>a.oldScroll,u=c?a.forward:a.backward;for(var p in this.waypoints[s]){var f=this.waypoints[s][p];if(f.triggerPoint!==null){var d=a.oldScroll<f.triggerPoint,l=a.newScroll>=f.triggerPoint,m=d&&l,g=!d&&!l;(m||g)&&(f.queueTrigger(u),o[f.group.id]=f.group)}}}for(var h in o)o[h].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?A.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(o){delete this.waypoints[o.axis][o.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?A.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var o=[];for(var i in this.waypoints)for(var s in this.waypoints[i])o.push(this.waypoints[i][s]);for(var a=0,c=o.length;a<c;a++)o[a].destroy()},r.prototype.refresh=function(){var o=this.element==this.element.window,i=o?void 0:this.adapter.offset(),s={},a;this.handleScroll(),a={horizontal:{contextOffset:o?0:i.left,contextScroll:o?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:o?0:i.top,contextScroll:o?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var c in a){var u=a[c];for(var p in this.waypoints[c]){var f=this.waypoints[c][p],d=f.options.offset,l=f.triggerPoint,m=0,g=l==null,h,w,y,x,T;f.element!==f.element.window&&(m=f.adapter.offset()[u.offsetProp]),typeof d=="function"?d=d.apply(f):typeof d=="string"&&(d=parseFloat(d),f.options.offset.indexOf("%")>-1&&(d=Math.ceil(u.contextDimension*d/100))),h=u.contextScroll-u.contextOffset,f.triggerPoint=Math.floor(m+h-d),w=l<u.oldScroll,y=f.triggerPoint>=u.oldScroll,x=w&&y,T=!w&&!y,!g&&x?(f.queueTrigger(u.backward),s[f.group.id]=f.group):(!g&&T||g&&u.oldScroll>=f.triggerPoint)&&(f.queueTrigger(u.forward),s[f.group.id]=f.group)}}return requestAnimationFrame(function(){for(var O in s)s[O].flushTriggers()}),this},r.findOrCreateByElement=function(o){return r.findByElement(o)||new r(o)},r.refreshAll=function(){for(var o in e)e[o].refresh()},r.findByElement=function(o){return e[o.waypointContextKey]},window.onload=function(){n&&n(),r.refreshAll()},A.Context=r})();(function(){"use strict";function t(o,i){return o.triggerPoint-i.triggerPoint}function e(o,i){return i.triggerPoint-o.triggerPoint}var n={vertical:{},horizontal:{}};function r(o){this.name=o.name,this.axis=o.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}r.prototype.add=function(o){this.waypoints.push(o)},r.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],r
1ight:[]}},r.prototype.flushTriggers=function(){for(var o in this.triggerQueues){var i=this.triggerQueues[o],s=o==="up"||o==="left";i.sort(s?e:t);for(var a=0,c=i.length;a<c;a+=1){var u=i[a];(u.options.continuous||a===i.length-1)&&u.trigger([o])}}this.clearTriggerQueues()},r.prototype.next=function(o){this.waypoints.sort(t);var i=A.Adapter.inArray(o,this.waypoints),s=i===this.waypoints.length-1;return s?null:this.waypoints[i+1]},r.prototype.previous=function(o){this.waypoints.sort(t);var i=A.Adapter.inArray(o,this.waypoints);return i?this.waypoints[i-1]:null},r.prototype.queueTrigger=function(o,i){this.triggerQueues[i].push(o)},r.prototype.remove=function(o){var i=A.Adapter.inArray(o,this.waypoints);i>-1&&this.waypoints.splice(i,1)},r.prototype.first=function(){return this.waypoints[0]},r.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},r.findOrCreate=function(o){return n[o.axis][o.name]||new r(o)},A.Group=r})();(function(){"use strict";function t(r){return r===r.window}function e(r){return t(r)?r:r.defaultView}function n(r){this.element=r,this.handlers={}}n.prototype.innerHeight=function(){var r=t(this.element);return r?this.element.innerHeight:this.element.clientHeight},n.prototype.innerWidth=function(){var r=t(this.element);return r?this.element.innerWidth:this.element.clientWidth},n.prototype.off=function(r,o){function i(d,l,m){for(var g=0,h=l.length-1;g<h;g++){var w=l[g];(!m||m===w)&&d.removeEventListener(w)}}var s=r.split("."),a=s[0],c=s[1],u=this.element;if(c&&this.handlers[c]&&a)i(u,this.handlers[c][a],o),this.handlers[c][a]=[];else if(a)for(var p in this.handlers)i(u,this.handlers[p][a]||[],o),this.handlers[p][a]=[];else if(c&&this.handlers[c]){for(var f in this.handlers[c])i(u,this.handlers[c][f],o);this.handlers[c]={}}},n.prototype.offset=function(){if(!this.element.ownerDocument)return null;var r=this.element.ownerDocument.documentElement,o=e(this.element.ownerDocument),i={top:0,left:0};return this.element.getBoundingClientRect&&(i=this.element.getBoundingClientRect()),{top:i.top+o.pageYOffset-r.clientTop,left:i.left+o.pageXOffset-r.clientLeft}},n.prototype.on=function(r,o){var i=r.split("."),s=i[0],a=i[1]||"__default",c=this.handlers[a]=this.handlers[a]||{},u=c[s]=c[s]||[];u.push(o),this.element.addEventListener(s,o)},n.prototype.outerHeight=function(r){var o=this.innerHeight(),i;return r&&!t(this.element)&&(i=window.getComputedStyle(this.element),o+=parseInt(i.marginTop,10),o+=parseInt(i.marginBottom,10)),o},n.prototype.outerWidth=function(r){var o=this.innerWidth(),i;return r&&!t(this.element)&&(i=window.getComputedStyle(this.element),o+=parseInt(i.marginLeft,10),o+=parseInt(i.marginRight,10)),o},n.prototype.scrollLeft=function(){var r=e(this.element);return r?r.pageXOffset:this.element.scrollLeft},n.prototype.scrollTop=function(){var r=e(this.element);return r?r.pageYOffset:this.element.scrollTop},n.extend=function(){var r=Array.prototype.slice.call(arguments);function o(a,c){if(typeof a=="object"&&typeof c=="object")for(var u in c)c.hasOwnProperty(u)&&(a[u]=c[u]);return a}for(var i=1,s=r.length;i<s;i++)o(r[0],r[i]);return r[0]},n.inArray=function(r,o,i){return o==null?-1:o.indexOf(r,i)},n.isEmptyObject=function(r){for(var o in r)return!1;return!0},A.adapters.push({name:"noframework",Adapter:n}),A.Adapter=n})();var ln=A;B(window,"rvt-scan",ln.Context.refreshAll);function Is(t,e,n,r=!0){let o=new ln({element:t,handler:(...s)=>{e(...s),r&&i()},offset:n}),i=()=>o&&void o.destroy();return i}var Gt=new Map,Ps=({threshold:t=.5,top:e="0px",bottom:n="0px"}={})=>{let r=Number.parseFloat(t);return{key:`${e}:${n}:${r}`,options:{root:null,rootMargin:`${e} 0px ${n} 0px`,_threshold:r}}},Hs=(t,e)=>new IntersectionObserver((n,r)=>{let{subscribers:o}=Gt.get(t);n.forEach(i=>{let s=o.get(i.target);if(s)for(let a of s.values())a(i)})},e),Ms=t=>{let{key:e,options:n}=Ps(t);return Gt.has(e)||Gt.set(e,{observer:Hs(e,n),subscribers:new Map,key:e}),Gt.get(e)},Rs=(t,e,n)=>{if(typeof window.IntersectionObserver=="undefined")return function(){};let{observer:r,subscribers:o,key:i}=Ms(n);return o.has(t)||(o.set(t,new Set),r.observe(t)),o.get(t).add(e),()=>{o.get(t).delete(e),o.get(t).size<=0&&(o.delete(t),r.unobserve(t)),o.size<=0&&(r.disconnect(),Gt.delete(i))}};var un=0,fn="--x-body-scroll-bar-size",zs=`var(${fn}, 0)`,Ut="--x-body-scroll-active-bar-size",dn=`var(${Ut}, 0)`,Fs=(t=0,e=850,n=null,r=()=>{},o=window)=>{let i=Z(typeof t=="function"?t(0):t),s=dt(n),a=Z(e),c=o.scrollY||document.documentElement.scrollTop;return vr(o,c,s,a,r,i)},qs=(t,e=0,n=850,r=null,o=()=>{},i=window)=>{let s=dt(r),a=Z(n),c=i.scrollY||document.documentElement.scrollTop;return vr(i,c,s,a,o,function(){return fe(t)+Z(typeof e=="function"?e(0):e)})},me="auto",ge=!1,he=t=>{t.target&&t.target.closest&&(t.target.closest("[data-x-scrollbar]")||t.target.closest(".x-off-canvas")||t.target.closest(".x-modal"))||(t.preventDefault(),t.stopPropagation())},Bs=()=>
1{if(ge)return;ge=!0;let{adminBarOffset:t}=window.csGlobal;me=document.body.style.touchAction==="none"?me:document.body.style.touchAction,document.body.style.touchAction="none";let e=window.scrollY-t();document.body.style.top=-e+"px",document.body.classList.add("x-body-scroll-disabled"),window.addEventListener("wheel",he,Dt),window.addEventListener("scroll",he,Dt),ye(Ut,un+"px")},$s=()=>{if(!ge)return;ge=!1;let{adminBarOffset:t}=window.csGlobal;document.body.style.touchAction=me==="none"?"auto":me,document.body.classList.remove("x-body-scroll-disabled");let e=-(parseFloat(document.body.style.top)-t());document.body.style.top="",window.scrollTo({top:e}),setTimeout(function(){window.dispatchEvent(new CustomEvent("resize"))},250),window.removeEventListener("wheel",he),window.removeEventListener("scroll",he),ye(Ut,"0px")},_s=(t,e=0,n=0,r)=>{let o=N(function(){r(xr(t,e,n))},25);return window.addEventListener("scroll",o,q),window.addEventListener("resize",o,q),()=>{window.removeEventListener("scroll",o),window.removeEventListener("resize",o)}},xr=(t,e=0,n=0)=>{e===0&&(e=.01),n===0&&(n=.01);let{top:r,left:o,bottom:i,right:s}=t.getBoundingClientRect(),{innerHeight:a,innerWidth:c}=window,u=e?a*(1-parseFloat(e)/100):0,p=n?a*(parseFloat(n)/100):a;return r<=u&&o>=0&&i>=p&&s<=c};V(function(){un=window.innerWidth-document.body.offsetWidth,ye(fn,un+"px"),ye(Ut,"0px")});function ye(t,e){document.querySelector(":root").style.setProperty(t,e)}function vr(t,e,n,r,o,i=null){let s=t===window;return de(a=>{let c=typeof i=="function"?i():i;if(a<r){let u=e+(c-e)*n(a/r);t.scrollTo(0,u),s&&document.body.scrollTo(0,u)}else return t.scrollTo(0,c),s&&document.body.scrollTo(0,c),o(),!1})}function br(t,e=null){return e?t.style.setProperty("transition-property",e,"important"):t.style.setProperty("transition","none","important"),t.style.setProperty("animation","none","important"),()=>{t.offsetHeight,t.style.removeProperty(e?"transition-property":"transition"),t.style.removeProperty("animation")}}var Sr=(t,e)=>(n,{after:r}={})=>{t(n);let o=br(n);return()=>{e(n),o(),typeof r=="function"&&r()}},Ds=Sr(t=>t.style.setProperty("opacity",1,"important"),t=>t.style.removeProperty("opacity")),Ns=(t,{animation:e,className:n,timeout:r,remove:o},i=()=>{})=>{if(!e)return;n&&!t.classList.contains(n)&&t.classList.add(n),t.style.removeProperty("animation-duration"),t.style.setProperty("animation-name",e);let s=r?tn(t).animationTime:0;t.csAnimationEndingTimeout&&clearTimeout(t.csAnimationEndingTimeout);let a=_t(()=>{o&&(t.csAnimationEndingTimeout=setTimeout(function(){t.style.animationName===e&&t.style.setProperty("animation-name","")},250)),i()});St(t,"animationend",a),r&&setTimeout(a,s)};function Ws(t,e,n){e=typeof e=="number"?Lt(e.toString()):typeof e=="string"?Lt(e):e;let r=(o,i,s,a)=>{let c,u=i[a];if(i.length>a){if(Array.isArray(o))try{u=pn(u,o),c=o.slice()}catch(p){if(o.length===0)c={};else throw new Error(p)}else c=Object.assign({},o);return c[u]=r(o[u]!==void 0?o[u]:{},i,s,a+1),c}return typeof s=="function"?s(o):s};return r(t,e,n,0)}function Vs(t,e,n){e=typeof e=="number"?Lt(e.toString()):typeof e=="string"?Lt(e):e;for(var r=0;r<e.length;r++){if(t===null||typeof t!="object")return n;let o=e[r];Array.isArray(t)&&o==="$end"&&(o=t.length-1),t=t[o]}return typeof t=="undefined"?n:t}function Gs(t,e){e=typeof e=="number"?Lt(e.toString()):typeof e=="string"?Lt(e):e;let n=(r,o,i)=>{let s,a=o[i];return r===null||typeof r!="object"||!Array.isArray(r)&&r[a]===void 0?r:o.length-1>i?(Array.isArray(r)?(a=pn(a,r),s=r.slice()):s=Object.assign({},r),s[a]=n(r[a],o,i+1),s):(Array.isArray(r)?(a=pn(a,r),s=[].concat(r.slice(0,a),r.slice(a+1))):(s=Object.assign({},r),delete s[a]),s)};return n(t,e,0)}function pn(t,e){if(t==="$end"&&(t=Math.max(e.length-1,0)),!/^\+?\d+$/.test(t))throw new Error(`Array index '${t}' has to be an integer`);return parseInt(t)}function Lt(t){return t.split(".").reduce((e,n,r,o)=>{let i=r>0&&o[r-1];if(i&&/(?:^|[^\\])\\$/.test(i)){let s=e.pop();e.push(s.slice(0,-1)+"."+n)}else e.push(n);return e},[])}var mn={get:Vs,set:Ws,deleteProperty:Gs};var Tr=(t,e)=>e&&typeof t=="object"?mn.get(t,qt(e)):t,Us=(t,e,n)=>e&&typeof t=="object"?{...t,[qt(e)]:n}:n;function mt(t,e){if(Array.isArray(e))return e.map(i=>mt(t,i));if(typeof e=="function")return mt(t,e(t));if(typeof e=="object")return Object.keys(e).reduce((i,s)=>(i[s]=mt(t,e[s]),i),{});if(typeof e!="string")return e;let n,r=()=>(n||(n=window.getComputedStyle(t)),n),o=nn.get(t);return e.replace(/var\(([\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>r().getPropertyValue(s)||a).replace(/attr\(([\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>t.getAttribute(s)||a).replace(/meta\(([.\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>{let c=mn.get(o,s);return typeof c=="undefined"?a:c})}var Ys=(t,e,n)=>{let r=t,o=e;return n==="IN"?r.includes(o):n==="NOT IN"?!r.includes(o):((typeof r=="boolean"||typeof o=="boolean")&&(r=!!r,o=!!o),n===">"||n==="<"?r>o:n===">="||n==="<="?r>=o:n==="="||n==="=="?r==o:n==="!="?r!=o:n=="==="?r===o:n=="!=="?r!==o:!0)},gn=(t,e)=>{if(typeof t=="undefined")return null;if(!Array.isArray(t))return gn([t,"==",e]);let[n,r,o]=t;return t.length<=0?null:[n,r,o||e]},js=(t,e,n,r)=>{try{let o=gn(e,r);if(!o)return!0;let[i,s,a]=o;return Ys(Tr(n,mt(t,a)),mt(t,i),mt(t,s))}catch(o){console.warn("Failed to check condition. Make sure your state contains the key you are checking",o,{el:t,condition:e,state:n})}return!1};var Yt=new Map,hn=new Map,we=(...t)=>void console.warn(...t),it=(t,e)=>{if(Yt.has(t))return we("Rivet archetypes can not be redefined");hn.set(t,typeof e=="function"?e:(n,...r)=>n(...r))}
1,gt=(t,e,n,r={})=>{if(Yt.has(e))return we(`Rivet ${e} already registered`);if(!hn.has(t))return we("Rivet archetype unknown",t);Yt.set(e,{archetype:t,handler:n,config:r})};function xe({el:t,handle:e,handles:n,defaultOption:r,options:o}){var l;let i=n||[e],s=i.find(({type:m})=>m&&Yt.has(m));if(!s)return we(`Unknown rivet type: ${(l=i[0])==null?void 0:l.type}`,t);let{handler:a,config:{defaultOption:c,priority:u=0,...p}={},archetype:f}=Yt.get(s.type),d=c&&r?{[c]:r}:{};return[u,()=>hn.get(f)(a,t,{...d,...o||{}},s.name,p)]}function ve(t){return t.sort(([e],[n])=>e-n)}var yn="data-rvt";function Ar(t=window.document.body){return ue(wn)(t)}function wn(t){if(t.hasAttributes()){let e=t.attributes;for(let n=e.length-1;n>=0;n--)if(e[n].name.indexOf(yn)===0)return!0}return!1}function Qs(t,e){let n=At(t,e);return typeof n!="object"&&typeof n!="undefined"&&n!==""?{defaultOption:n,options:{}}:{options:n}}function Js(t){let e=new Set;for(let n=t.attributes.length-1;n>=0;n--){let r=t.attributes[n].name;if(r.indexOf(yn)!==0)continue;let o=r.substr(yn.length+1),i=o.split("-");e.add({el:t,handles:[{type:o,name:"default"},{name:i.pop(),type:i.join("-")}],...Qs(t,r)})}return e}function xn(t){return Q(ve(Array.from(Js(t)).map(e=>xe(e)).filter(e=>!!e)).map(([,e])=>e()))}function Er(t,e){try{return t&&t.matches&&t.matches(e)}catch{}return!1}function be(t){try{return window.document.querySelectorAll(t)}catch(e){console.warn(e)}return[]}var Cr=!1,Lr=null,kr,vn=new Set,bn=new Set,Se=new WeakMap,kt=new WeakMap;function S(t,e,n=0){if(typeof t!="string"){console.warn("Rivet selector must be a string",t),console.trace();return}if(typeof e!="function"){console.warn("Rivet handler must be a function",e),console.trace();return}let r={handler:e,selector:t,priority:n};vn.add(r),Cr&&Ks(r)}function Ks(t){clearTimeout(kr),bn.add(t),kr=setTimeout(()=>{let e=Array.from(bn.values());bn.clear(),Or(e)},0)}function Or(t){t.sort(({priority:e},{priority:n})=>e-n),t.forEach(({selector:e,handler:n})=>
1{Array.from(be(e)).forEach(r=>{Te(r,n,Ir(e,r))})})}function Ir(t,e){let n=t.match(/(data-[\w-]+)/g)||[];return n&&n.length?n=n.pop():n=null,n?At(e,n):null}function Te(t,e,n){try{if(Zs(t,e)||!document.body.contains(t))return;Xs(t,e);let r=Nt(e.call(window,t,n));Array.isArray(r)&&r.map(o=>{Pr(t,o)}),typeof r=="function"&&Pr(t,r)}catch(r){console.warn("Failed to attach handler to element",t,e,n,r)}}function Pr(t,e){typeof e=="function"&&(Se.get(t)||Se.set(t,new Set),Se.get(t).add(e))}function Zs(t,e){return kt.get(t)&&kt.get(t).get(e)}function Xs(t,e){kt.get(t)||kt.set(t,new WeakMap),kt.get(t).set(e,!0)}window.document.addEventListener("DOMContentLoaded",()=>{Ar().forEach(t=>{Te(t,e=>xn(e))}),Or(Array.from(vn.values())),Lr=new MutationObserver(function(t){t.reduce((e,n)=>{for(let r=0;r<n.addedNodes.length;r++)n.addedNodes[r].nodeType===1&&e.push(n.addedNodes[r]);return e},[]).forEach(function e(n){if(!!n){if(n.children&&n.children.length>0)for(let r=0;r<n.children.length;r++){if(!n)return;e(n.children[r])}wn(n)&&Te(n,r=>xn(r)),vn.forEach(({selector:r,handler:o})=>{n&&Er(n,r)&&Te(n,o,Ir(r,n))})}}),t.reduce((e,n)=>{for(let r=0;r<n.removedNodes.length;r++){let o=n.removedNodes[r];o.nodeType===1&&!document.contains(o)&&e.push(o)}return e},[]).forEach(function e(n){if(n.children&&n.children.length>0)for(let o=0;o<n.children.length;o++)e(n.children[o]);let r=Se.get(n);if(r)for(let o of r.values())o.call(window,n),r.delete(o),kt.delete(n)})}),Lr.observe(window.document.body,{childList:!0,subtree:!0}),Cr=!0});var J={};Ge(J,{container:()=>C,initState:()=>la,makeDetectStateChange:()=>Mr,makeDispatch:()=>oa,makeInspect:()=>ra,subscribe:()=>ia});var C={providers:new Map,subscribers:new Map,relationships:new Map,providerIndex:new WeakMap,subscriberIndex:new WeakMap},Hr=(()=>{let t=0;return()=>t++})();function Mr(t){let e={};return n=>{let r=t.filter(o=>e[o]!==n[o]);return t.forEach(o=>{e[o]=n[o]}),r}}var Rr=(t,e)=>{var n,r;return(r=(n=C.subscriberIndex.get(t))==null?void 0:n.get(e))==null?void 0:r.id},zr=t=>C.providers.get(C.relationships.get(t)),Fr=(t,e)=>zr(Rr(t,e)),ta=(t,e)=>C.providerIndex.has(t)&&C.providerIndex.get(t).has(e),qr=(t,e)=>{let n=Xe(r=>ta(r,e))(t);return n?C.providerIndex.get(n).get(e):null},Ot=new WeakMap;window.addEventListener("rvt-store-provider",()=>{Ot=new WeakMap});var Br=(t,e)=>(Ot.get(t)||Ot.set(t,{}),Ot.get(t).name||(Ot.get(t).name=C.providers.get(qr(t,e))),Ot.get(t).name),$r=(t,e=!1)=>{let n=zr(t);if(!n)return;let r=C.subscribers.get(t);if(!!r)for(let o of r.values()){let[i,s]=o;i(n.state,s(n.state),e)}},ea=(t,e,n)=>{let r,o=()=>{let s=C.relationships.get(t),a=qr(e,n);s!==a&&(C.relationships.set(t,a),clearTimeout(r),r=setTimeout(()=>$r(t,!0),10))},i=X(window,"rvt-store-provider",o);return o(),()=>{clearTimeout(r),i()}},na=(t,e)=>[typeof t=="function"?t:()=>{},Mr(Array.isArray(e)?e:[])],ra=(t,e)=>()=>{var n;return(n=Br(t,e))==null?void 0:n.state},oa=(t,e)=>n=>{var r;return(r=Br(t,e))==null?void 0:r.dispatch(n)},ia=(t,e,n=()=>{},r=[])=>{let o=na(n,r);if(C.subscriberIndex.has(t)||C.subscriberIndex.set(t,new Map),!C.subscriberIndex.get(t).has(e)){let s=Hr();C.subscribers.set(s,new Set),C.subscriberIndex.get(t).set(e,{id:s,teardown:ea(s,t,e)})}return C.subscribers.get(Rr(t,e)).add(o),{unsubscribe:()=>{let{id:s,teardown:a}=C.subscriberIndex.get(t).get(e),c=C.subscribers.get(s);c.delete(o),c.size===0&&(C.subscribers.delete(s),C.relationships.delete(s),C.subscriberIndex.get(t).delete(e),a())},getState:()=>{var s,a;return(a=(s=Fr(t,e))==null?void 0:s.state)!=null?a:{}},dispatch:s=>{var a;return(a=Fr(t,e))==null?void 0:a.dispatch(s)}}},sa=t=>typeof t!="function"?e=>e:(...e)=>t(...e),aa=t=>{let e;return n=>{let{state:r,...o}=C.providers.get(t);C.providers.set(t,{...o,state:o.reducer(n(r))}),cancelAnimationFrame(e),e=requestAnimationFrame(()=>{for(let[i,s]of C.relationships)s===t&&$r(i)})}},ca=(t,e,{_reducer:n,...r})=>
1{if(C.providerIndex.get(t)||C.providerIndex.set(t,new Map),C.providerIndex.get(t).has(e))return;let o=sa(n),i=Hr();return C.providers.set(i,{reducer:o,state:o(r),dispatch:aa(i)}),C.providerIndex.get(t).set(e,i),window.dispatchEvent(new CustomEvent("rvt-store-provider")),()=>{C.providers.delete(i),C.providerIndex.get(t).delete(e)}},la=(t,e={},n=window.document.documentElement)=>{if(!t){console.warn("States must set an ID",t,e,n);return}return ca(n,t,e)};var _r=Wt(!1);function jt(t){return _r.has(t)}jt.enable=function(t){_r.set(t,!0)};var ht=(...t)=>gt("action",...t),tt=(...t)=>gt("observer",...t),yt=(...t)=>gt("behavior",...t),Qt=(...t)=>gt("innate",...t),Sn=(...t)=>gt("macro",...t),U=(...t)=>gt("event",...t);function ua(t,e,n={},r="default"){let o={el:t,handle:{type:e,name:r}};return typeof n=="string"?(o.defaultOption=n,o.options={}):o.options=n,xe(o)}function Jt(t){return Q(ve(t.filter(e=>!!e).map(e=>ua(...e)).filter(e=>!!e)).map(([,e])=>e()))}var{rivetListener:fa,rivetDispatch:da,expandElementValue:Dr,onScanLazy:pa}=b;it("behavior");it("innate");it("macro",(t,e,n,r)=>t(e,Jt,n,r));it("action",(t,e,n,r)=>{let o=()=>void t(e,Dr(e,n));return fa(e,r,i=>{n.defer?setTimeout(o,0):o()})});it("event",(t,e,n,r)=>t(()=>da(e,r),Dr(e,n),e));it("observer",(t,e,n,r="",{scan:o})=>{let[i,s=[]]=(typeof t=="function"?[t]:t)||[],a=i(e,n),[c,u]=Array.isArray(a)?a:[a,()=>{}],{unsubscribe:p,getState:f}=J.subscribe(e,r,c,s),d=o?pa(()=>c(f(),[],!1,!0)):()=>{};return[p,u,d]});var{expandElementValue:ma,getStateValue:ga}=b;tt("outlet",(t,{key:e})=>{let n=t.innerHTML;return r=>{try{let o=ga(r,ma(t,e));t.innerHTML=typeof o=="undefined"?n:o}catch(o){console.warn("Unable to update Rivet outlet",o,{key:e,state:r,el:t})}}},{defaultOption:"key"});var{listener:Nr}=b,ha=["click","focus","focusin","focusout","blur"];ha.forEach(t=>{U(`on${t}`,(e,{preventDefault:n=!0,stopPropagation:r=!1,once:o=!1},i)=>{let s;return Nr(i,t,a=>{o&&s||(s=!0,n&&a.preventDefault(),r&&a.stopPropagation(),e())})})});var ya=["keydown","keyup"];ya.forEach(t=>{U(`on${t}`,(e,{key:n,preventDefault:r=!0,stopPropagation:o=!1,once:i=!1},s)=>{let a;return Nr(document,t,c=>{i&&a||(a=!0,c.key===n&&(r&&c.preventDefault(),o&&c.stopPropagation(),e()))})},{defaultOption:"key"})});var{throttle:wa,debounce:xa,onLoad:va,onScanLazy:ba,triggerScan:Sa,listener:Ae}=b;U("onready",t=>{setTimeout(()=>void t(),0)});U("onload",t=>va(t));U("onexit",(t,{delay:e=1e3,repeat:n=!1})=>{let r,o=!1;return Ae(document,"mouseout",i=>{clearTimeout(r),!i.toElement&&!i.relatedTarget&&!o&&(r=setTimeout(()=>void t(),e),n||(o=!0))})},{defaultOption:"delay"});U("onresize",(t,{throttle:e=50})=>Ae(window,"resize",wa(t,e,{trailing:!0}),q),{defaultOption:"throttle"});U("onresized",(t,{debounce:e=500})=>Ae(window,"resize",xa(t,e,{trailing:!0}),q),{defaultOption:"debounce"});U("onscan",(t,e)=>ba(t,e),{defaultOption:"throttle"});S("img",t=>Ae(t,"load",()=>void Sa()));var{animateTopOffset:Ta,makeDirectionalEasing:Aa,intersect:Ea}=b,Wr,Vr,Ee=!1,Ce=new Map;function Gr(){Wr=window.innerHeight}window.addEventListener("resize",Gr);Gr();function Ca(t,{prop:e,easingFn:n}){let{top:r,height:o}=t.getBoundingClientRect(),i=r+o/2,s=Wr/2;t.style.setProperty(e,n((i-s)/s))}function Ur(){if(!!Ee){for(let[t,e]of Ce)Ca(t,e);Vr=requestAnimationFrame(Ur)}}var La=(t,e)=>{Ce.set(t,e),!Ee&&(Ee=!0,Vr=requestAnimationFrame(Ur))},Yr=t=>{Ce.delete(t),Ce.size<=0&&(Ee=!1)};yt("intersect",(t,{easing:e="linear",prop:n="--rvt-intersect"})=>[Ea(t,({isIntersecting:o})=>{o?La(t,{easingFn:Aa(e),prop:n}):Yr(t)},{threshold:0,top:"0px",bottom:"0px"}),()=>void Yr(t)],{defaultOption:"prop"});ht("scroll-to-top",(t,{offset:e,speed:n,easing:r="easeInOutExpo"})=>{Ta(e,n,r)},{defaultOption:"offset"});Sn("scroll-top",(t,e)=>e([[t,"onclick"],[t,"scroll-to-top"]]));var{ensureNumber:jr,updateStateKey:Qr,getStateValue:ka,expandElementValue:Le}=b;Qt("define",(t,e={},n)=>{if(!n.match(/^\w+$/)){console.warn("Rivet state keys must be alphanumeric");return}let{_reducer:r,...o}=e.__value||e||{};J.initState(n,{_reducer:r,...Le(t,o)},t)},{defaultOption:"__value",priority:-1});ht("set",(t,{state:e,key:n,value:r})=>{J.makeDispatch(t,e)(o=>Qr(o,Le(t,n),r))});var Oa=(t,e,n)=>{let r=t.includes(e);return n&&r?t.filter(o=>o!==e):r?t:[...t,e]};ht("list",(t,{state:e,key:n,value:r,toggle:o=!0})=>{J.makeDispatch(t,e)(s=>{let a=Le(t,n),c=ka(s,a);return Array.isArray(c)?Qr(s,a,Oa(c,r,o)):s})});ht("inc",(t,{state:e,key:n,amount:r=1,min:o=null,max:i=null,wrap:s=!1})=>{let a=J.makeDispatch(t,e),c=u=>jr(u)+jr(r);a(u=>{let p=Le(t,n);return p?{...u||{},[p]:c(u[p])}:c(u)})},{defaultOption:"state"});Qt("debug",t=>
1{jt.enable(t),t.removeAttribute("data-rvt-debug")},{defaultOption:"message"});var{isScalar:Jr,getTransitionDuration:Ia,getStateValue:An,expandElementValue:ke,evaluateCondition:Oe,listener:Pa,fontCompress:Ha,addClass:Kr,removeClass:Ma}=b,Ra=(t,e)=>{let n=t||"$v";return Jr(n)?Jr(e)?`${n}`.replace("$v",e):n==="$v"?"":n:""};tt("classname",(t,{key:e,classname:n,condition:r})=>{let o="";return i=>{let s=An(i,ke(t,e)),c=Oe(t,r,i,e)?Ra(n,s):"";c!==o&&(o&&t.classList.contains(o)&&t.classList.remove(o),c&&!t.classList.contains(c)&&t.classList.add(c)),o=c}},{defaultOption:"classname"});tt("prop",(t,{key:e,prop:n,value:r,condition:o})=>{let i=null;return s=>{let a=An(s,ke(t,e));Oe(t,o,s,e)?a!==i&&t.style.setProperty(n,typeof r=="undefined"?a:r):a!==i&&t.style.removeProperty(n),i=a}},{defaultOption:"key"});tt("attr",(t,{key:e,attr:n,value:r,condition:o})=>{let i=null;return s=>{let a=An(s,ke(t,e));Oe(t,o,s,e)?a!==i&&t.setAttribute(n,typeof r=="undefined"?a:r):a!==i&&t.removeAttribute(n),i=a}},{defaultOption:"key"});tt("height",(t,{key:e,condition:n,selector:r})=>{let o,i;return(s,a,c,u)=>{if(e&&!u){let f=ke(t,e);if(s[f]===o)return;o=s[f]}let p=Oe(t,n,s,e);setTimeout(()=>
1{if(p){let[f,...d]=Array.from(t.querySelectorAll(r)).map(l=>l.offsetHeight).sort((l,m)=>m-l);f&&f!==i&&(t.style.setProperty("height",`${f}px`,"important"),i=f)}else t.style.removeProperty("height"),i=null})}},{defaultOption:"selector",scan:!0});window.offscreenTemplates||(window.offscreenTemplates=new WeakMap);yt("offscreen-reset",(t,{mode:e="default"})=>{let n=t.closest("[data-x-toggleable]");if(window.offscreenTemplates.get(t))return;try{let c=document.createElement("textarea");c.innerHTML=t.querySelector('script[type="text/rvt-template"]').textContent;let u=document.createElement("div");u.innerHTML=c.innerText,window.offscreenTemplates.set(t,[c.innerText,u])}catch(c){return console.warn("Unable to locate content template",c),()=>{}}let r,o=()=>{try{let[c,u]=window.offscreenTemplates.get(t);Array.from(u.querySelectorAll("[data-x-toggleable]")).map(f=>f.getAttribute("data-x-toggleable")).forEach(f=>{window.xToggleDelete(f)}),t.innerHTML=c}catch(c){console.warn("Unable to reset offscreen content",c)}},i=()=>{t.innerHTML=""},s=()=>{r=setTimeout(()=>{i(),e==="close"&&o()},Ia(n,300)+100)},a=c=>{clearTimeout(r),c?(e==="open"&&i(),o()):e!=="open"&&s()};return e==="close"&&o(),Pa(n,"tco-toggle",({detail:{state:c}={}})=>void a(c))},{defaultOption:"mode"});yt("font-compress",(t,e)=>Ha(t,e));var za=(t,e)=>{try{if(e)return Array.from(t.querySelectorAll(e))}catch{}return t};yt("inner-wrap",(t,{selector:e="",tag:n="span",class:r=""})=>za(t,e).map(o=>{let i=document.createElement(n);Kr(i,"has-been-tagged"),r&&Kr(i,r),Array.from(o.childNodes).forEach(s=>{i.appendChild(s)}),o.append(i),i.offsetHeight,Ma(i,"has-been-tagged")}),{defaultOption:"selector"});var En={...Tn};var{toggleClass:Zr,listener:zf,PASSIVE_ARGS:Fa}=b;S("[data-x-bar]",(t,{scrollButtons:e})=>{if(!e)return;let n=t.querySelector(".x-bar-scroll-inner"),r=t.querySelector(".x-bar-content"),o=t.querySelector('[data-x-bar-scroll-button="bck"]'),i=t.querySelector('[data-x-bar-scroll-button="fwd"]'),s=0,a=0,c=0,u=0,p=()=>{let g=parseInt(window.getComputedStyle(n).width),h=parseInt(window.getComputedStyle(n,":before").width),w=parseInt(window.getComputedStyle(r).width);s=g,a=g-h*2,c=w,u=n.scrollLeft;let y=u<=0,x=c-u-a<=0;Zr(o,"is-active",!y),Zr(i,"is-active",!x)},f=g=>n.scrollTo({top:0,left:g,behavior:"smooth"}),d=()=>{f(Math.max(u-s,0))},l=()=>{f(Math.min(u+s,c-a))};p();let m=N(p,50);window.addEventListener("resize",m),n.addEventListener("scroll",m,Fa),o.addEventListener("mouseup",function(){d()}),i.addEventListener("mouseup",function(){l()})});var st={},It={};function qa(t,e){st[t]||(st[t]=[]),st[t].push(typeof e=="function"?e:()=>e)}function Ba(t,e){if(!st[t])return;let n=st[t].indexOf(e);st[t].splice(n,1)}function $a(t,e){It[t]||(It[t]=[]),It[t].push(e)}function _a(){let t=[...arguments],e=t.shift(),n=t.shift(),r=st[e]?st[e]:[];return(It[e]?It[e]:[]).forEach(i=>i.call(this,n,...t)),r.reduce((i,s)=>s.call(this,i,...t),n)}var D={filter:qa,action:$a,apply:_a,filters:st,actions:It,remove_filter:Ba};var{animateTopOffset:Da,scrollOffset:Na}=b,Pt,Xr=!1,Cn;function to(){if(!Xr){Pt=0;let t=N(to,50);window.addEventListener("resize",t,q),Cn=document.querySelector("#wpadminbar"),Xr=!0}if(Cn){let{position:t,height:e}=window.getComputedStyle(Cn);Pt=t==="fixed"?parseInt(e):0}return Pt}var Y=()=>Pt!=null?Pt:to(),Ht=()=>D.apply("fixed_top_offset",0),Wa=(t,e,n)=>{if(t instanceof Element){let{bottom:r,top:o}=Na(t);return e?r-n:o+n}return(typeof t=="number"?t:parseFloat(t))+n},eo=(t,{offsetTop:e=!0,duration:n,easing:r,bottom:o=!1}={})=>{Da(()=>Wa(t,o,e?Ht():0),n,r)};window.csGlobal=window.csGlobal||{};window.csJsData=window.csJsData||{};window.csGlobal.rivet=En;window.csGlobal._=window.csGlobal.rivet.util;window.csGlobal.everinit=En.attach;window.csGlobal.adminBarOffset=Y;window.csGlobal.fixedTopOffset=Ht;window.csGlobal.scrollTo=eo;window.csGlobal.csHooks=D;window.document.documentElement.classList.remove("no-js");window.document.documentElement.classList.add("js");var{onScrollRaw:Va,onResize:Ga,oncePassive:no,elementIndex:ro,addClass:Ln,removeClass:kn,toggleClass:td,hasClass:wt}=b,oo=t=>getComputedStyle(t).display!=="none",io=0,so=!1,On=!1;function ao(t){var d,l,m;let e=document.querySelector(".x-site");if(!e){t.style.width="100%";return}var n=window.getComputedStyle(t);if(n.position!=="fixed"){t.style.left="",t.style.width="",t.style.maxWidth="";return}var r=[];co(n["margin-left"])||r.push(n["margin-left"]),co(n["margin-right"])||r.push(n["margin-right"]);var o="";r.length>0&&(o=r.length===1?r[0]:"("+r.join(" + ")+")");let i=(m=(l=(d=document.querySelector("body.x-stack-icon .x-sidebar .max.width:not(.x-container)"))==null?void 0:d.parentElement)==null?void 0:l.offsetWidth)!=null?m:0,s=Array.from(document.querySelectorAll(".x-bar-space-v")).reduce((g,h)=>g+h.offsetWidth,i),a=Array.from(document.querySelectorAll(".x-bar-left")).reduce((g,h)=>g+h.offsetWidth,i),c="";a&&(c="calc(0px + "+a+"px)");var u="";s>0&&(u+=" - "+s+"px"),o&&(u+=" - "+o),u+=" - "+dn,t.style.width="calc(100%"+u+")",t.style.left=c;var p=window.getComputedStyle(e),f=p["max-width"];f&&f!=="none"&&(t.style.maxWidth=o?"calc("+f+" - "+o+")":f)}
1function co(t){return t.trim().split(" ").filter(e=>!e.match(/^0[a-zA-Z%]+|0$|none$/)).length===0}S("[data-x-bar]",function(t,e){if(e.region==="top"||e.region==="bottom")return b.onViewportChange(()=>{ao(t)},!0)});var Ie=/__cs_debug/.test(location.href),lo=!1,Mt=[],et=[],Kt=[],In,Zt=!1;function Pe(t){let e=Mt.map(o=>o.id),n=!1,r=Mt.filter(({el:o,id:i})=>{let s=e.indexOf(i);return s!==e.lastIndexOf(i)?(n=!0,e.splice(s,1),!1):window.document.body.contains(o)?!0:(n=!0,!1)});return(n||t)&&(r=r.sort((o,i)=>ro(o.el)-ro(i.el))),n?(Mt=r,et=Mt,setTimeout(Pn,0),!0):!1}function Pn(){if(Pe()||!Y)return;et=Mt.filter(({el:o})=>oo(o));let t=Y(),e=0,n=0,r=0;Qa(),et.forEach(o=>{var{height:i}=o.el.getBoundingClientRect();o.height=i=Math.round(i),o.goal&&o.space&&(o.space.style.height=i+"px"),o.goal||(o.shrinkHeight=fo(i,o.props.shrink)),o.triggerOffset=parseInt(o.props.triggerOffset),isNaN(o.triggerOffset)&&(o.triggerOffset=0)}),Kt=et.map((o,i)=>{let{el:s,props:a,height:c,shrinkHeight:u,triggerOffset:p,goal:f}=o,d=r++===0,l=a.zStack&&!d,{marginTop:m}=getComputedStyle(s);var g=parseFloat(m),h=a.keepMargin?g:0,{top:w,bottom:y}=s.getBoundingClientRect();let x=0,O=s.parentNode.getBoundingClientRect().top-Y();O+=window.scrollY;let v=s.parentNode.childNodes;for(let G=0;G<v.length;++G){let rt=v[G];if(!!rt.getBoundingClientRect){if(rt===s)break;wt(rt,"x-bar-space")||wt(rt,"x-bar-is-sticky")||(x+=rt.getBoundingClientRect().height)}}w=O+p+(x-e)+Y();let E=p+x+O+Y(),P=document.body.scrollTop,F=P+w;if(a.triggerSelector)try{let G=document.querySelector(a.triggerSelector);if(G){let{top:rt}=G.getBoundingClientRect();E=rt+P+p-u}}catch(G){Ie&&console.warn(G)}else a.hideInitially?(E+=c,E+=p):p>0&&(E+=p+c);l?E+=u:E-=h;let R=Y()+e;Hn(E,"red");let L=t+n;a.keepMargin||(L+=g,R-=g),E=Math.floor(E),Hn(E,"green"),t=E,l?(R-=u+h,R=Math.max(R,Y())):e+=u+h;let H=a.hideInitially||F<E||F+c<R;n+=c-u;let $=u+e;Hn($,"orange"),a.keepMargin&&($+=g),$=Math.ceil($);let se=h?`calc( -100% - ${h}px)`:"-100%";return f&&R!==Kt[i].top&&(s.style.top=`${R}px`),{offset:E,bottom:y,top:R,slide:H,elOffset:F,topOffset:$,translateY:se,startsFixed:o.startsFixed,firstBar:d,only_show_on_scroll_up:a.only_show_on_scroll_up}}),Ie&&et.forEach(function(o,i){console.log(`Bar: ${i}`,o)}),He()}function He(){if(Zt||Pe()||On||document.body.classList.contains("x-body-scroll-disabled"))return;On=!0;let t=window.scrollY+Y(),e=t-io,n=e===0?so:e<0&&window.scrollY!==0;io=t,so=n;let r=Kt.reduce((i,{offset:s,only_show_on_scroll_up:a,startsFixed:c},u)=>(c?t>=s:t>s)&&(!a||n)?u:i,-1),o=!1;et.forEach((i,s)=>{let a=i.goal;i.goal=r>=s,a!==i.goal&&(o=!0)}),o&&requestAnimationFrame(uo),On=!1}function uo(){if(Zt)return;let t=Ua();t?(Zt=!0,t(()=>{Zt=!1,uo()})):(Zt=!1,window.dispatchEvent(new CustomEvent("cs-sticky-bar-post-transition")),setTimeout(He,0))}function Ua(){let t=-1,e=et.map(n=>{let{goal:r,el:o}=n,i=n.fixedOnce;return{goal:r,fixed:wt(o,"x-bar-fixed")&&i}});if(e.forEach(({goal:n,fixed:r},o)=>{let i=n===r;!i&&t===-1&&(t=o),!i&&o>0&&e[o-1].fixed&&Kt[o].slide&&(t=o)}),t!==-1){let n=et[t],r=n.goal;if(!r&&!wt(n.el,"x-bar-fixed"))return!1;let o=r?Ya:ja;return i=>o(et[t],Kt[t],{st:window.scrollY,done:i})}return!1}function Ya(t,{top:e,slide:n,elOffset:r,translateY:o,firstBar:i,only_show_on_scroll_up:s},{st:a,done:c}){let{el:u,space:p,content:f,shrinkHeight:d,height:l}=t;t.fixedOnce=!0;let m={top:`${e}px`},g=n||!i&&r+d<a+e||s;if(t.slideEnabled||(g=!1),d&&l!==d){m.height=d;let{paddingTop:x,paddingBottom:T}=getComputedStyle(u);f.style.height=`calc(${d}px - (${x} + ${T}))`,u.style.height=`calc(${d}px - (${x} + ${T}))`}g&&(m.transform=`translate3d( 0, ${o}, 0)`);let h=()=>c();if(Object.entries(m).forEach(([x,T])=>{u.style.setProperty(x,T)}),p){p.style.display="";let x=l+"px";x!==p.style.height&&(p.style.height=x)}In.forEach(x=>void Ln(u,x)),kn(u,"x-bar-is-initially-hidden"),ao(u);let y=window.getComputedStyle(u)["transition-duration"];y=y?parseFloat(y.replace("s","")):0,g?(Ln(u,"x-bar-is-visible"),u.style.transform="",y!==0?no(u,"transitionend",h):c()):c()}function ja({el:t,space:e,props:n,content:r,shrinkHeight:o,slideEnabled:i},{top:s,slide:a,elOffset:c,translateY:u,firstBar:p,only_show_on_scroll_up:f},{st:d,done:l}){let m=parseFloat(n.shrink),g=!1,h=a||!p&&c+o<d+s||f&&c+o<d+s;i||(h=!1);function w(){let T=window.getComputedStyle(t)["transition-duration"];if(T=T?parseFloat(T.replace("s","")):0,T===0){y();return}no(t,"transitionend",y),setTimeout(y,T*1e3+100)}n.hideInitially&&Ln(t,"x-bar-is-initially-hidden");function y(){g||(g=!0,r.style.height="",t.style.top="",t.style.transform="",t.style.height="",t.style.left="",t.style.width="",In.forEach(x=>kn(t,x)),kn(t,"x-bar-is-visible"),e&&(e.style.display="none"),l())}h?(t.style.transform=`translate3d( 0, ${u}, 0)`,w()):!isNaN(m)&&m<1?(r.style.height="",t.style.height="",w()):y()}function Qa(){!Ie||be(".cs-sticky-bar-waypoint-debug").forEach(function(t){t.remove()})}function Hn(t,e="red",n="white"){if(!Ie)return;let r=`<div class="cs-sticky-bar-waypoint-debug" style="position:absolute;height:1px;width:100%;top:${t}px;border-top:1px solid ${e};z-index:999999"><span style="color: ${n};background-color: ${e};left: 0;position: absolute;top: 0; padding: .5em 1em;
1 transform: translate3d(0,-50%,0);";>${t}</span></div>`,o=document.createElement("div");o.innerHTML=r,document.body.appendChild(o.childNodes[0])}function Ja(){let t=0;return et.forEach(function(e){var n;t+=e.goal&&!((n=e.props)==null?void 0:n.zStack)&&e.props.scrollOffset?e.height:0}),t}D.filter("fixed_top_offset",t=>Math.max(t,Ja()+Y()));var Mn=()=>{Pe(!0)||Pn()},Rn=()=>{Pe(!0),Pn()};function Ka(){if(typeof window.ResizeObserver=="undefined")return;let t=window.document.body.clientHeight;new ResizeObserver(N(function(n){!n||document.body.classList.contains("x-body-scroll-disabled")||t!==window.document.body.clientHeight&&(t=window.document.body.clientHeight,Mn())},100)).observe(document.body)}S("[data-x-bar]",(t,e)=>{lo||(In=(wt(document.body,"x-boxed-layout-active")?"x-bar-fixed x-container max width":"x-bar-fixed").split(" "),V(Mn),Ga(Mn),Va(He),Ka(),lo=!0);let{id:n,region:r}=e;if(!wt(t,"x-bar-is-sticky")||r!=="top")return;var{top:o,height:i}=t.getBoundingClientRect();i=Math.round(i);let s=document.querySelector(`.${n}.x-bar-space`);s&&(s.style.height=i+"px");let a={id:n,el:t,props:e,height:i,topOffset:i,startsFixed:wt(t,"x-bar-fixed"),slideEnabled:!!e.slideEnabled,fixedOnced:!1,shrinkHeight:fo(i,e.shrink),space:s,scrollOffset:e.scrollOffset,content:t.querySelector(".x-bar-content"),visible:oo(t),startingRectTop:o};return Mt.push(a),Rn(),setTimeout(function(){Rn()},1e3),function(){Rn(),He()}});function fo(t,e){return!isNaN(e)&&e>0?e*t:t}var{listener:Za,oncePassive:Xa}=b;S('.x-alert [data-dismiss="alert"]',t=>Za(t,"click",e=>{e.preventDefault();let n=t.parentElement;n.classList.remove("in"),n.classList.remove("x-effect-enter"),Xa(n,"transitionend",()=>{if(window.csGlobal&&window.csGlobal.isPreview){n.style.display="none";return}n.remove()})}));var{util:tc}=window.csGlobal.rivet,{addClass:Xt,removeClass:te,hasClass:Me}=tc;function Rt(t,e){if(e){if(!t||Me(t,"x-anchor-layered-back"))return;Xt(t,"x-active")}else te(t,"x-active")}function zn(t,e){if(e){if(!t||Me(t,"x-active")||Me(t,"x-currently-active"))return;Xt(t,"x-currently-active")}else te(t,"x-currently-active")}function po(t){setTimeout(()=>{let e=t.closest(".x-menu");e.addEventListener("transitionend",function(n){let r=e.getBoundingClientRect().top;if(r<0&&n.propertyName==="height"){let o=0,i=t.closest(".x-bar-v .x-bar-scroll-inner, .x-off-canvas-content, .x-modal")||window;if(i===window){let s=window.pageYOffset,a=parseInt(window.getComputedStyle(document.documentElement).marginTop),c=parseInt(window.getComputedStyle(e).fontSize);o=Math.max(0,r+s-a-c)}i.scrollTo({top:o,left:0,behavior:"smooth"})}})},0)}function ec(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop)+parseInt(n.marginBottom),e}var mo=t=>Math.max(t.offsetHeight,Array.from(t.children).reduce((e,n)=>e+ec(n)||0,0)),go=(t,e)=>{let n=t.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${e}px`)};function nc(t){go(t,mo(t));let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);te(e,"x-current-layer"),Xt(e,"x-prev-layer"),Xt(t,"x-current-layer"),po(t)}function rc(t){let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);!Me(e,"x-prev-layer")||(go(t,mo(e)),te(t,"x-current-layer"),Xt(e,"x-current-layer"),te(e,"x-prev-layer"),po(t))}function ho(t,e){return e?nc(t):rc(t)}function yo(t,e,n){var r,o,i,s,a=!1,c=!1,u={},p=0,f=0,d={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function l(v,E){return f&&(f=clearTimeout(f)),p=0,c?void 0:n.call(v,E)}function m(v){r=v.clientX,o=v.clientY}function g(v,E){if(f&&(f=clearTimeout(f)),Math.abs(i-r)+Math.abs(s-o)<d.sensitivity)return p=1,c?void 0:e.call(v,E);i=r,s=o,f=setTimeout(function(){g(v,E)},d.interval)}u.options=function(v){var E=v.handleFocus!==d.handleFocus;return d=Object.assign({},d,v),E&&(d.handleFocus?T():O()),u};function h(v){return a=!0,f&&(f=clearTimeout(f)),t.removeEventListener("mousemove",m,!1),p!==1&&(i=v.clientX,s=v.clientY,t.addEventListener("mousemove",m,!1),f=setTimeout(function(){g(t,v)},d.interval)),this}function w(v){return a=!1,f&&(f=clearTimeout(f)),t.removeEventListener("mousemove",m,!1),p===1&&(f=setTimeout(function(){l(t,v)},d.timeout)),this}function y(v){a||(c=!0,e.call(t,v))}function x(v){!a&&c&&(c=!1,n.call(t,v))}function T(){t.addEventListener("focus",y,!1),t.addEventListener("blur",x,
1!1)}function O(){t.removeEventListener("focus",y,!1),t.removeEventListener("blur",x,!1)}return u.remove=function(){!t||(t.removeEventListener("mouseover",h,!1),t.removeEventListener("mouseout",w,!1),O())},t&&(t.addEventListener("mouseover",h,!1),t.addEventListener("mouseout",w,!1)),u}var{util:oc}=window.csGlobal.rivet,{addClass:Fn,transitionEnd:wo,removeClass:qn,getOuterHeight:xo,makeAlternatingSynchronizer:ic}=oc,sc=t=>ic(e=>{if(!t.classList.contains("x-collapsed")){e();return}t.setAttribute("aria-hidden","false");let n=xo(t);qn(t,"x-collapsed"),Fn(t,"x-collapsing"),t.offsetHeight,t.style.height=`${n}px`,wo(t,()=>{qn(t,"x-collapsing"),t.style.height="",e()})},e=>{t.setAttribute("aria-hidden","true"),t.style.height=`${xo(t)}px`,Fn(t,"x-collapsing"),t.offsetHeight,t.style.height="",wo(t,()=>{qn(t,"x-collapsing"),Fn(t,"x-collapsed"),e()})},void 0,!t.classList.contains("x-collapsed")),Bn=new WeakMap,ac=t=>(Bn.has(t)||Bn.set(t,sc(t)),Bn.get(t));function vo(t,e){ac(t)(e)}var{util:bo}=window.csGlobal.rivet,{listener:cc,debounce:So,addClass:lc,removeClass:uc,hasClass:ct,toggleClass:K,oncePassive:To,scrollingDisable:fc,scrollingEnable:Ao}=bo,Re=null,ze=t=>document.querySelector(`[data-x-toggleable="${t}"][data-x-toggle]`),dc=t=>document.querySelector(`[data-x-toggleable="${t}"]:not([data-x-toggle])`),Eo=t=>t?t.parentElement.matches(".x-nav-tabs-item")?"classic-tab":t.getAttribute("data-x-toggle"):null,pc=t=>["tab","classic-tab"].includes(Eo(t)),$n=t=>t&&t.getAttribute("data-x-toggle-group"),mc=t=>!!document.querySelector(`[data-x-toggle-group="${t||""}"].x-active`),lt=(t,e)=>t&&(t.matches(e)?t:t.closest(e)),gc=(t,e)=>t&&(t.matches(e)?t:t.querySelector(e)),hc=t=>lt(t,"[data-x-toggle]"),Co=t=>lt(t,"[data-x-toggleable]"),j=t=>t&&t.getAttribute("data-x-toggleable"),Fe=t=>t&&t.getAttribute("data-x-toggle-hash"),yc=t=>t&&t.matches(".mce-content-body"),wc=N(function(){window.dispatchEvent(new Event("resize"))},250),xc=N(function(){window.dispatchEvent(new Event("rvt-scan"))},250);function vc(t,e=""){return document.querySelector(`[data-x-toggleable=${t}]${e}`)}var bc=t=>{let{marginTop:e,marginBottom:n}=getComputedStyle(t);return t.offsetHeight+parseInt(e)+parseInt(n)},ee=()=>window.location.hash.replace("#",""),Lo=t=>document.querySelectorAll(`[data-x-toggle-group="${$n(t)}"]:not([data-x-toggleable="${j(t)}"])`),Sc=t=>document.querySelectorAll(`[data-x-toggle-group="${$n(t)}"].x-active`);bo.toggle={getOthersInGroup:Lo,getActiveInGroup:Sc};var Tc=t=>{let e=hc(t);return[e,j(e)]},ko=t=>Array.from(document.querySelectorAll("[data-x-toggle-hash]")).filter(e=>Fe(e)===t).map(j),ne=t=>lt(t,"[data-x-toggleable]:not([data-x-toggle])"),Ac=30,qe=(t,e)=>{let n=[],r,o=t,i=0;for(;r=o&&ne(o);){if(i>=Ac){console.warn("Broke toggleable ancestry depth limit ",t,n);break}let s=j(r);if(o=ze(s),n.includes(s))break;n.push(s),++i}return e&&n.shift(),n};window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var Ec=!1,ut=window.TCOToggleStates,_n=window.TCOToggleScrollBlocking,ft=!1;function Cc(){let t=[];for(let[e,n]of ut){let r=dc(e);n&&_n.has(e)&&t.push(e),r||ut.delete(e)}t.find(e=>!ut.has(e))&&requestAnimationFrame(Ao)}window.integrityCheckTimeout||(window.integrityCheckTimeout=null);var Lc=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(Cc,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=Lc);function kc(t){let e=ze(t);switch(Eo(e)){case"collapse":case 1:case"layered":return e.matches(".x-active");case"tab":return mc($n(e));case"classic-tab":return e.parentElement.matches(".active");case"collapse-b":return!e.matches(".collapsed")}return e?e.classList&&e.classList.contains("x-active"):null}function zt(t){return ut.has(t)||ut.set(t,kc(t)),ut.get(t)}function W({id:t,state:e,_triggeringGroup:n,force:r,hashUpdate:o=!window.csGlobal.isPreview}){let i=zt(t);if(typeof e=="undefined"&&(e=!i),e&&window.xLastToggleable!==t)window.xLastToggleable=t,window.xToggleStack.push(t);else if(!e){let a=window.xToggleStack.indexOf(t);a!==-1&&window.xToggleStack.splice(a,1),window.xLastToggleable===t&&(window.xLastToggleable=window.xToggleStack[window.xToggleStack.length-1])}let s=ze(t);!r&&!n&&(yc(s)||!e&&pc(s))||(ut.set(t,e),(i!==e||r)&&(Oc(t,e),o&&Fc(s,e)),n||Lo(s).forEac
1h(a=>{W({force:r,id:j(a),state:!1,_triggeringGroup:!0,hashUpdate:o})}))}window.xLastToggleable="";window.xToggleStack=[];window.xToggleGetState=t=>zt(t);window.xToggleGetStateFromNode=t=>zt(j(t));window.xToggleUpdate=(t,e)=>W({id:t,state:e});window.xToggleDelete=t=>ut.delete(t);window.xToggleGetId=j;window.xGetLastToggleable=function(){return window.xLastToggleable};var Oo=!1;window.xToggleTempUnlock=()=>{Oo=!!ft,ft=!1};window.xToggleTempRelock=()=>{ft=Oo};window.xToggleSetLocking=t=>{ft=!!t};window.xToggleHashUpdate=Po;function Oc(t,e){Array.from(document.querySelectorAll(`[data-x-toggleable="${t}"]`)).forEach(n=>{n.dispatchEvent(new CustomEvent("tco-toggle",{bubbles:!1,detail:{state:e,id:t}}))})}function Io(t){return cc(t,"tco-toggle",({currentTarget:e,detail:{state:n,id:r}})=>{var o;if(n||Ic(t),t.hasAttribute("data-x-toggle-overlay")&&(n?((o=document.querySelector(`[data-x-toggleable=${r}][role="dialog"]`))==null?void 0:o.hasAttribute("data-x-disable-body-scroll"))&&(requestAnimationFrame(fc),_n.set(r,!0)):n||(_n.delete(r),requestAnimationFrame(Ao))),t.hasAttribute("aria-hidden")&&t.setAttribute("aria-hidden",!n),t.hasAttribute("aria-expanded")&&t.setAttribute("aria-expanded",n),t.hasAttribute("aria-selected")&&t.setAttribute("aria-selected",n),t.hasAttribute("data-x-toggle-collapse")?vo(t,n):t.hasAttribute("data-x-toggle-layered")?ho(t,n):ct(t,"x-anchor")?Rt(t,n):t.getAttribute("data-x-toggle")==="collapse-b"?K(t,"collapsed",!n):ct(t.parentElement,"x-nav-tabs-item")?K(t.parentElement,"active",n):ct(t,"x-tab-pane")?K(t,"active",n):ct(t,"x-dropdown")?Be(t,n):K(t,"x-active",n),ct(t,"x-modal")&&wc(),xc(),t.matches("[data-x-toggle]")){if(K(t.querySelector(".x-toggle"),"x-active",n),Ec)return;Array.from(t.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{ct(i,"x-running")||To(i,"animationiteration",()=>{uc(i,"x-running"),ct(t,"x-active")||i.removeAttribute("style")}),lc(i,"x-running"),ct(t,"x-active")&&(i.style.animationName=i.getAttribute("data-x-toggle-anim"))})}if(n&&!window.csGlobal.isPreview)if(e.querySelector("[data-x-search][data-x-search-autofocus]")){let i=e.querySelector("[data-x-search][data-x-search-autofocus] input");if(qc(i,350),!cn())return;To(e,"transitionend",function(){i.scrollIntoView(!0)})}else{let i=t.querySelector('[tabindex="-1"]');i&&i.focus&&(i.focus(),setTimeout(function(){i.focus()},250))}})}function Ic(t){let e=t.querySelectorAll("[data-x-toggleable]")||[];for(let n=0;n<e.length;++n){let r=e[n];W({id:r.getAttribute("data-x-toggleable"),state:!1})}}var Pc=t=>{let e=ne(t);return!!(e&&(e.matches(".x-modal")&&!t.closest(".x-modal-content")||e.matches(".x-off-canvas")&&!t.closest(".x-off-canvas-content")))},Hc=(t,{exclude:e=[]}={})=>{if(ft)return;let n=[...qe(t,Pc(t)),...e].filter(r=>!!r);Array.from(document.querySelectorAll("[data-x-toggleable].x-dropdown, [data-x-toggleable].x-off-canvas, [data-x-toggleable].x-modal")).map(r=>r.getAttribute("data-x-toggleable")).filter(r=>!n.includes(r)).forEach(r=>W({id:r,state:!1}))};function Dn(){Po(ee())}function Po(t){ko(t).forEach(n=>{W({id:n,state:!0})})}var Mc=(t,e,n)=>{if(!t||e.isContentEditable)return!1;if(t.matches("[data-x-toggle-hover]")){if(ft)return!0;if(n)return!1}let r=t.querySelector("[data-x-toggle-nested-trigger]");return r?lt(e,"[data-x-toggle-nested-trigger]")===r:lt(e,"[data-x-toggle]")===t};var Nn=({ignoreHoverToggle:t=!0}={})=>e=>{let n=e.target,[r,o]=Tc(n);Mc(r,n,t)&&(lt(n,"a[href]")&&e.preventDefault(),W({id:o}));let i=!o&<(e.target,"[data-x-toggle-close]"),s=i&&j(Co(i));if(s&&W({id:s}),!s&&n.hasAttribute("data-x-toggle-direct-close")){let d=j(Co(n));W({id:d})}let a=lt(e.target,"a[href]"),c=a?a.getAttribute("href").replace("#","").trim():"",p=c&&c===ee()?ko(ee()):[];if(p.length>0&&p.forEach(f=>{W({id:f,state:!0})}),window.xLastToggleable){if(!vc(window.xLastToggleable,".x-dropdown[data-x-dropdown-direct-close]"))return;Hc(e.target,{exclude:[o,s,...p]})}},z={},Rc=t=>e=>{W({id:t,state:!0})},zc=t=>e=>(z[t].canHoverLeave=!1,W({id:t,state:!1}),()=>{});function Ho(t){let e=j(t),n=ze(e);if(!n)return;let r=t.getAttribute("data-x-hoverintent");r=JSON.parse(r||"{}");let{interval:o=100,timeout:i=100}=r;return z[e]={canHoverLeave:!1,cancelEnter:()=>{},cancelLeave:()=>{},hasHoverToggle:()=>!!document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle-hover]`),onEnter:So(Rc(e),o),onLeave:So(zc(e),i)},[B(n,"mouseenter",()=>{z[e].hasHoverToggle()&&(z[e].canHoverLeave=!0,z[e].cancelLeave(),zt(e)||(z[e].cancelEnter=z[e].onEnter()))}),B(n,"mouseleave",()=>
1{z[e].canHoverLeave&&(ft||(z[e].cancelLeave=z[e].onLeave()),z[e].onEnter.cancel())}),B(t,"mouseenter",()=>{let s=[e,...qe(ne(t))];setTimeout(()=>{s.forEach(a=>{z[a]&&z[a].cancelLeave()})})}),B(t,"mouseleave",({toElement:s})=>{[e,...qe(ne(t))].forEach(u=>{z[u]&&z[u].canHoverLeave&&(ft||(z[u].cancelLeave=z[u].onLeave()))}),qe(ne(s)).forEach(u=>{z[u]&&z[u].cancelLeave()})}),B(n,"touchstart",function(){!z[e].hasHoverToggle()||W({id:e})})]}function Be(t,e){let r=window.getComputedStyle(t)["transition-duration"];if(r=r?parseFloat(r.replace("s","")):0,Re&&(Re(),Re=null),!r){K(t,"x-active",e),K(t,"x-active-animate",e);return}let o=r*1e3,i=e?"x-active":"x-active-animate",s=e?"x-active-animate":"x-active",a=e?15:o;requestAnimationFrame(function(){K(t,i,e),window.dispatchEvent(new CustomEvent("resize"))});let c=setTimeout(function(){requestAnimationFrame(function(){K(t,s,e)})},a);return Re=function(){!c||(clearTimeout(c),K(t,"x-active",e),K(t,"x-active-animate",e))}}function Mo(t){if(t.tagName==="BUTTON")return;let e=Nn({ignoreHoverToggle:!1});t.addEventListener("keydown",n=>{n.key==="Enter"&&e(n)})}function Ro(t){let e=function(){let n=gc(t,".x-current-layer"),r=Array.from(n.children).filter(o=>o.matches("li")).reduce((o,i)=>o+bc(i),0);t.style.height=`${r}px`};return e(),Et(e)}function Fc(t,e){let n=Fe(t);if(!n)return;let r=e?n:"";!e&&`#${n}`!==window.location.hash||`#${r}`!==window.location.hash&&(history.pushState(null,null,"#"+r),window.dispatchEvent(new CustomEvent("hashchange")))}function qc(t,e){if(e||(e=100),t){var n=document.createElement("input");n.style.position="fixed",n.style.top=t.offsetTop+7+"px",n.style.left=t.offsetLeft+"px",n.style.height=0,n.style.opacity=0,document.body.appendChild(n),n.focus(),setTimeout(function(){t.focus(),t.click(),document.body.removeChild(n)},e)}}var{addClass:Wn,siblings:Bc,once:$c,removeClass:$e,hasClass:re,listener:oe,makeGetComputedStyle:zo,makeGetComputedFloatValues:_c}=b,Dc={interval:25,timeout:25,sensitivity:9};function Fo(t){Gc(t),Uc()}var Vn=t=>t?t.getBoundingClientRect():null,Nc=zo("position"),Wc=zo("direction"),Vc=_c(["paddingLeft","paddingTop","paddingRight","paddingBottom","borderTopWidth","borderBottomWidth"]);function Gc(t){t=Object.assign({selectors:[],indicatingSelector:"a",rootElementEvents:!1,transitionTimeout:null,requireClick(){return!1},toggleOnFocus:!0,activate(o){t.indicatingSelector?Wn(o.querySelector(t.indicatingSelector),t.activeClass):Wn(o,t.activeClass);let i=o.querySelector(t.nestedSelector);if(re(i,"x-dropdown")){t.transitionTimeout&&t.transitionTimeout(),t.transitionTimeout=Be(i,!0);return}Wn(i,t.activeClass)},deactivate(o){t.indicatingSelector?$e(o.querySelector(t.indicatingSelector),t.activeClass):$e(o,t.activeClass);let i=o.querySelector(t.nestedSelector);if(re(i,"x-dropdown")){t.transitionTimeout&&t.transitionTimeout(),t.transitionTimeout=Be(i,!1);return}$e(i,t.activeClass)},isActive(o){return t.indicatingSelector?re(o.querySelector(t.indicatingSelector),t.activeClass):re(o,t.activeClass)},deactivateChildren(o,i){Array.from(o.querySelectorAll(t.nestedSelector)).forEach(s=>{!re(s,t.activeClass)||($e(s,t.activeClass),typeof i=="function"&&i(s))})},deactivateChild:null,activeClass:"x-active",nestedSelector:".sub-menu",findSiblings:null,closeSiblings:!0},typeof t=="object"?t:{});function e(o){var i=!1;o._stemAllowFocusIn=!0;let s=o.closest("[data-x-hoverintent]"),a=s&&s.getAttribute("data-x-hoverintent"),c=a?JSON.parse(a):Dc,u=t.rootElementEvents?o:o.querySelector(t.indicatingSelector)||o,p=oe(u,"mousedown",g),f=oe(u,"touch",g),d=[p,f];if(d.push(oe(u,"touchstart",()=>{o._stemAllowFocusIn=!1})),t.toggleOnFocus&&(d.push(oe(u,"focusin",l)),d.push(oe(o,"focusout",m))),!t.requireClick(o)){d.push(St(u,"touchstart",()=>{i=!0}));let h=yo(o,function(){i||(p(),f(),n(o,!0))},function(){i||n(o,!1)});try{h.options(c)}catch{}d.push(()=>h.remove())}function l(){o._stemAllowFocusIn&&r(o,n(o,!0))}function m(){setTimeout(()=>{o.contains(document.activeElement)||r(o,n(o,!1))},0)}function g(h){h.type==="mousedown"&&$c(h.currentTarget,"click",y=>void y.preventDefault()),h.preventDefault(),h.stopPropagation();let w=n(o);r(o,w),w&&t.closeSiblings&&(typeof t.findSiblings=="function"?t.findSiblings(o):Bc(o)).forEac
1h(x=>{n(x,!1),r(x,!1)})}return d}t.selectors.forEach(o=>{S(o,e)});function n(o,i){return o._stemAllowFocusIn=!0,typeof i=="undefined"&&(i=!t.isActive(o)),i?(typeof t.beforeActivate=="function"&&t.beforeActivate(o),t.activate(o),typeof t.afterActivate=="function"&&t.afterActivate(o)):(typeof t.beforeDeactivate=="function"&&t.beforeDeactivate(o),t.deactivate(o),typeof t.afterDeactivate=="function"&&t.afterDeactivate(o)),t.isActive(o)}function r(o,i){typeof t.deactivateChildren=="function"&&(clearTimeout(o._stemCloseChildrenTimer),i||(o._stemCloseChildrenTimer=setTimeout(function(){t.deactivateChildren(o,t.deactivateChild)},1e3)))}}function Uc(){function t(l){var m=[];function g(w,y){if(!y&&w.hasAttribute("data-x-stem")){m.push(w),t(w);return}if(w.children)for(var x=0;x<w.children.length;x++)g(w.children[x])}g(l,!0);let h=function(){o(l),setTimeout(()=>{m.forEach(n)},0)};l.addEventListener("x-stem:update",h,!1)}let e=[];function n(l){l&&l.dispatchEvent(new CustomEvent("x-stem:update"))}S("[data-x-stem-menu-top], [data-x-stem-root]",l=>{requestAnimationFrame(()=>{t(l),n(l),e.push(l)})});let r=N(function(){e.forEach(n)},50);window.addEventListener("tco-toggle",({detail:{state:l}={}})=>{l&&r()},q),window.addEventListener("resize",r,q),window.addEventListener("scroll",r,q),window.addEventListener("cs-sticky-bar-post-transition",r,q),V(r);function o(l){if(!l)return;let m=d(l);if(!m)return;let g=Vn(m),h=a(l),w=h==="data-x-stem-root"?Vn(document.querySelector(`[data-x-toggleable="${l.getAttribute("data-x-toggleable")}"][data-x-toggle]`)):g;if(!w)return;let y=l.getAttribute("data-x-stem-force");if(y){let H=y.indexOf("d")!==-1,$=y.indexOf("r")!==-1;l.setAttribute("data-x-stem",y),h==="data-x-stem-root"&&i(l,g,w,$,H),h||p(l,$,H);return}let x=Vn(l),{top:T,left:O,bottom:v,right:E}=s(x,w,h),{x:P,y:F}=c(l,h),R=u(P,window.innerWidth-E,O),L=u(F,window.innerHeight-v,T);l.setAttribute("data-x-stem",(L?"d":"u")+(R?"r":"l")),h==="data-x-stem-root"&&i(l,g,w,R,L),h||p(l,R,L)}function i(l,m,{top:g,left:h,bottom:w,right:y,height:x,width:T},O,v){let E=l.getAttribute("data-x-stem-root")||l.getAttribute("data-x-stem-force")||"",P=E.indexOf("h")!==-1,F=E.indexOf("c")!==-1;if(O&&!F){let L=h-m.left;l.style.left=`${P?L+T:L}px`,l.style.right="auto"}else if(F){let L=l.getBoundingClientRect(),H=h-L.width/2+T/2;H=Math.max(0,H);let $=window.innerWidth-L.width;H=Math.min(H,$),l.style.left=`${H}px`,l.style.right="auto"}else{let L=m.right-y;l.style.right=`${P?L+T:L}px`,l.style.left="auto"}let R=window.getComputedStyle(l);if(v){let L=g-m.top,H=P?L:L+x;R.position==="fixed"&&(H+=m.top),l.style.top=`${H}px`,l.style.bottom="auto"}else{let L=m.bottom-w,H=P?L:L+x;R.position==="fixed"&&(H+=m.bottom),l.style.bottom=`${H}px`,l.style.top="auto"}}function s({height:l,width:m},g,h){let w={top:g.top-l,right:g.left+g.width+m,bottom:g.top+l,left:g.left-m};return h&&(w.right+=g.width,w.bottom+=g.height),w}function a(l){return l.hasAttribute("data-x-stem-menu-top")?"data-x-stem-menu-top":l.hasAttribute("data-x-stem-root")?"data-x-stem-root":null}function c(l,m){if(m){var g=Wc(l)==="ltr",h=l.getAttribute(m).indexOf("r")!==-1;return{y:!0,x:!!(g^h)}}let w=f(l);return{y:w.indexOf("d")!==-1,x:w.indexOf("r")!==-1}}function u(l,m,g){if(l&&m<0){if(m<g)return!1}else if(g<0&&g<m)return!0;return l}function p(l,m,g){let{paddingLeft:h,paddingTop:w,paddingRight:y,paddingBottom:x,borderTopWidth:T,borderBottomWidth:O}=Vc(l);if(m?(l.style.marginLeft=h!==0?`${h}px`:null,l.style.marginRight=null):(l.style.marginRight=y!==0?`${y}px`:null,l.style.marginLeft=null),g){let v=w+T;l.style.marginTop=v!==0?`${v*-1}px`:null,l.style.marginBottom=null}else{let v=x+O;l.style.marginBottom=v!==0?`${(x+O)*-1}px`:null,l.style.marginTop=null}}function f(l){return l.parentElement===null?"tr":l.parentElement.hasAttribute("data-x-stem-force")?l.parentElement.getAttribute("data-x-stem-force"):l.parentElement.hasAttribute("data-x-stem")?l.parentElement.getAttribute("data-x-stem"):f(l.parentElement)}function d(l){if(l.parentElement===null)return document.body;let m=Nc(l.parentElement);return m==="relative"||m==="absolute"?l.parentElement:d(l.parentElement)}}var{onLoad:qo,addClass:Ad,hasClass:Bo,removeClass:Ed,debounce:$o,animateToElement:Yc,listener:_o,listenerPassive:Do,onScroll:jc,onResize:Qc,PASSIVE_ARGS:Jc}=b,No=t=>t.match(/#[a-zA-Z]/);Fo({selectors:[".x-menu-inline .menu-item-has-children",".x-menu-dropdown .menu-item-has-children"],beforeActivate:t=>Rt(t.querySelector("a"),!0),beforeDeactivate:t=>Rt(t.querySelector("a"),!1),deactivateChild:t=>Rt(t.querySelector("a"),!1)});qo(()=>{let{selector:t,duration:e,easing:n,initialMove:r,before:o,after:i,allowScroll:s}=D.apply("hash_scrolling_config",{selector:window.csJsData.linkSelector,easing:"ease-out",duration:500,initialMove:!0,before:f=>D.apply("hash_scrolling_before",f),after:f=>D.apply("hash_scrolling_before",f),allowScroll:(...f)=>D.apply("hash_scrolling_allow",!0,...f)});function a(f){try{return document.querySelector(f)}catch{}return null}function c(){let f=!1;return Do(document.body,"touchstart",()=>{f=!1}),Do(document.body,"touchmove",()=>{f=!0}),()=>f}let u=(f,d=!0,l)=>{Yc(f,()=>Ht()*-1,d?e:0,n,l)},p=c();r&&window.location.hash&&(u(a(window.location.hash),!1),setTimeout(()=>u(a(window.location.hash),!1),300)),_o(document.body,"click",f=>{let d=f.target.matches(t)?f.target:f.target.closest(t);if(!d||f.tcoAbortScroll)return;let l=d.getAttribute("href"),m=l.split("#");if(!m[1])return;let g=m[0].replace(location.origin,""),h=`#${m[1]}`;if(p()||g&&g!==location.pathname||!No(l)||!s(d,f,h))return;let w=a(h);!w||(window.history.pushState&&(window.history.pushState(null,null,h),window.dispatchEvent(new CustomEvent("tcoHistoryPush"))),f.preventDefault(),o({anchor:d,target:w,hash:h}),u(w,!0,()=>void i({anchor:d,target:w,hash:h})))})});qo(()=>{let t=!1,e,n=new Map,r=new Map,o=[],i=$o(()=>{var f,d;let p=[];for(let[l,m]of r){let g=((d=(f=m.getBoundingClientRect())==null?void 0:f.top)!=null?d:0)+window.scrollY;p.push({y:g,href:l})}o=p.sort((l,m)=>m.y-l.y)},100),s=p=>{if(e!==p){for(let[f,d]of n)if(f===p)for(let l of d)Bo(l,"x-anchor")&&zn(l,!0),D.apply("scrollspy_activate",l);else for(let l of d)Bo(l,"x-anchor")&&zn(l,!1),D.apply("scrollspy_deactivate",l);e=p}};S(window.csJsData.linkSelector,p=>{let f=D.apply("scrollspy_ignore_patterns",["#/","#wp-toolbar"]),d=`#${p.getAttribute("href").trim().split("#").pop()}`;if(!(!No(d)||f.find(l=>l.match(d))))return n.has(d)||n.set(d,new Set),n.get(d).add(p),[S(d,l=>(r.has(d)||r.set(d,l),i(),()=>{r.has(d)&&r.delete(d)})),()=>{var l;(l=n.get(d))==null||l.delete(p)},_o(p,"click",()=>{t=!0,s(d)},{capture:!0})]}),Qc(i);let a=()=>{var f,d;let p=window.scrollY+Ht()+Y()+1;return Math.ceil(window.innerHeight+window.scrollY)>=Math.floor(document.body.offsetHeight)?(d=(f=o.map((l,m)=>({...l,i:m})).sort((l,m)=>m.y-p-(l.y-p))[0])==null?void 0:f.i)!=null?d:-1:o.findIndex(({y:l})=>p>=l)},c=()=>{t=!1;let p=a();s(p===-1?"":o[p].href)},u=$o(c,250);u(),window.addEventListener("hashchange",function(p){s(window.location.hash)},Jc),jc(()=>{o.length<=0||(t?u():c())})});var{transitionEnd:Kc,addClass:Gn,removeClass:Un,farthest:Wo,getCachedJsonAttribute:Vo,oncePassive:Ld,listenerPassive:Zc,evaluateCondition:Xc,expandElementValue:Go,makeAlternatingSynchronizer:Yn,makeElementWeakMap:jn,getDurations:tl,lockMotion:Uo,forceOpaque:el,runAnimation:Yo,elementMeta:nl,waypoint:jo,parseTime:rl}=b,xt="x-effect-enter",Qn="x-effect-entering",nt="x-effect-exit",Jn="x-effect-exiting",_e="x-effect-animated",De="x-effect-holding",ol="x-effect-opacity";S("[data-x-single-anim]",(t,e)=>{if(!t.classList.contains("x-always-active"))return Zc(t.closest(".x-anchor, .x-text"),"mouseenter",()=>void Yo(t,{animation:e,remove:!0}))});var Qo=jn({scrollEffects:!1}),il=()=>{let{get:t,set:e,has:n}=jn();return r=>(n(r)||e(r,{effects:[],particles:[]}),t(r))},Ne=il(),Jo=jn(0),Ko=t=>{Jo.set(t,tl(t))},Zo=(t,e="transitionTime")=>{var n,r;return(r=(n=Jo.get(t))==null?void 0:n[e])!=null?r:0},Xo=(t,{from:e,to:n,trans:r,record:o=!1},i=()=>{})=>(t.classList.remove(e),t.classList.add(r),t.classList.add(n),o&&Ko(t),t.csAnimationEndingTimeout&&clearTimeout(t.csAnimationEndingTimeout),()=>{t.csAnimationEndingTimeout=setTimeout(function(){t.classList.remove(r)},250),i()}),ti=(t,e,n=()=>{})=>Yo(t,{className:_e,animation:e,remove:!0,timeout:!0},n),sl=(t,e)=>{t.classList.contains(nt)||(t.classList.contains(_e)||t.classList.add(_e),t.style.setProperty("animation-duration","0ms","important"),t.style.setProperty("animation-name",e))},ei=(t,e,n)=>Kc(t,Xo(t,e,n)),ni=(t,e,n,r)=>ti(t,e,Xo(t,n,r)),al=(t,e,n)=>ni(t,e,{from:nt,to:xt,trans:Qn,record:!0},n),ri=(t,e,n)=>ni(t,e,{from:xt,to:nt,trans:Jn},n),cl=(t,e)=>ei(t,{from:nt,to:xt,trans:Qn,record:!0},e),oi=(t,e)=>ei(t,{from:xt,to:nt,trans:Jn},e),ll=(t,e,n)=>{Gn(t,De),setTimeout(el(t,{after:()=>{Un(t,De),n()}}),e)},ii=(t,e,n)=>{let r=Uo(t,e==="fade"?"opacity":null);t.style.setProperty("opacity",e==="fade"?0:1,"important");let o=Zo(t);Gn(t,De),setTimeout(()=>{Un(t,xt),Un(t,De),Gn(t,nt),t.style.removeProperty("opacity"),r(),n()},o)};function ul(t,e,n){let r,o=0,i,s,{durationBase:a,animationAlt:c}=Vo(t,"data-x-effect"),u=rl(a),p=()=>{window.removeEventListener("mousemove",h),c?n(()=>{f()}):(n(),u?setTimeout(()=>{f()},u):f())},f=()=>{t.addEventListener("mouseenter",m)},d=()=>{let{top:y,left:x,width:T,height:O}=t.getBoundingClientRect();r.push({top:y+window.scrollY,left:x+window.scrollX,width:T,height:O})},l=y=>{o=0,r=[],d(),e(),u?(clearTimeout(i),i=setTimeout(()=>{d()},u)):d()},m=y=>{clearTimeout(s),window.addEventListener("mousemove",h),l(y)},g=y=>{o++,o>10&&r.length===r.filter(T=>w(T,y.clientX,y.clientY,window.scrollX,window.scrollY)).length&&p()},h=y=>{g(y),clearTimeout(s),s=setTimeout(()=>{g(y)},300)},w=({top:y,left:x,height:T,width:O},v,E,P,F)=>{let R=y-F,L=x-P,H=v>L&&v<L+O,$=E>R&&E<R+T;return!H||!$};f()}S("[data-x-effect-provider]",(t,e="")=>{e.split(" ").filter(r=>!Wo(t,`[data-x-effect-provider*="${r}"]`)).length>0&&Kn(t)});function Kn(t){let e=Ne(t);e.registered||ul(t,()=>{let{registered:n,...r}=Ne(t);Object.keys(r).forEach(o=>
1{r[o].forEach(({setup:i})=>{i&&i()})})},()=>{let{registered:n,...r}=Ne(t);Object.keys(r).forEach(o=>{r[o].forEach(({teardown:i})=>{i&&i()})})}),e.registered=!0}function si(t,e,n=()=>{},r=()=>{},o=!0){let i=Wo(e,`[data-x-effect-provider*="${t}"]`),s=o?i||e:i;return s?(Ne(s)[t].push({el:e,setup:n,teardown:r}),e===s):!1}S(".x-anchor",t=>{si("particles",t)&&Kn(t)});S("[data-x-effect]",(t,e)=>{try{return si("effects",t,()=>{e.animationAlt&&ti(t,e.animationAlt)},()=>{},!t.matches("x-anchor"))&&Kn(t),wl(t,e)}catch(n){console.warn(n)}},1e3);var fl=(t,e)=>Yn(n=>cl(t,n),n=>e==="transform"?oi(t,n):ii(t,e,n)),dl=(t,e,{animationEnter:n,animationExit:r})=>Yn(o=>al(t,n,o),o=>e==="animation"?ri(t,r,o):ii(t,e,o)),pl=(t,e,n)=>Yn(r=>{if(Ko(t),["transform","animation"].includes(e)){e==="animation"&&(t.classList.remove(_e),t.style.setProperty("opacity",0,"important"),t.style.removeProperty("animation-name"),t.offsetHeight,t.style.removeProperty("opacity"));let o=Uo(t,"opacity");t.classList.remove(nt),o()}r()},r=>{switch(e){case"none":return ll(t,Zo(t),r);case"transform":return oi(t,r);case"animation":return ri(t,n.animationExit,r);default:r()}}),ai=(t,e,n)=>{let r=Vo(t,"data-x-effect");if(r.scroll){let o=a=>a==="effect"?r.animationEnter&&r.animationExit?"animation":"transform":a;e!=="effect"&&n!=="effect"&&(t.classList.add("x-no-at"),t.classList.remove("x-effect-exit"),setTimeout(()=>{t.classList.remove("x-no-at")}));let i=o(e),s=o(n);switch(s==="animation"&&sl(t,r.animationExit),e==="effect"&&["fade","none"].includes(n)&&t.classList.add(ol),i){case"animation":return dl(t,o(n),r);case"transform":return fl(t,s,r);case"fade":return pl(t,s,r)}}return!1};tt("effects",(t,{key:e,condition:n,enter:r,exit:o})=>{Qo.set(t,{scrollEffects:"managed"});let i=ai(t,Go(t,r),Go(t,o));return i?s=>void i(Xc(t,n,s,e)):()=>{}});var ml=(t,{behaviorScroll:e})=>{let n=ai(t,"effect","effect"),r=!1;return o=>{let[i,s]=o.split(":");e==="reset"&&i==="exit"&&s==="down"||e==="fire-once"&&r||(i==="enter"&&(r=!0),n(i==="enter"))}},gl=t=>{let e=parseInt(t);return t.includes("px")?()=>e:()=>window.innerHeight*e/100},hl=t=>{let e=parseInt(t);return t.includes("px")?()=>window.innerHeight-e:()=>window.innerHeight-window.innerHeight*(parseInt(e)/100)};function yl(t,e){let n,r=()=>{},o=()=>{let{effectRivet:i}=nl.get(e);i?r=Jt([[t,...i]]):setTimeout(o,10)};return o(),()=>{clearTimeout(n),r()}}function wl(t,e){let n=t.closest("[data-x-slide], [data-x-slide-goto]");if(n&&t!==n)return yl(t,n);if(!e.scroll||Qo.get(t).scrollEffects==="managed")return;if(window.csGlobal.isPreview&&t.classList.add(nt),e.forceScrollEffect){t.classList.remove(xt),t.classList.remove(Qn),t.classList.remove(nt),t.classList.remove(Jn),e.forceScrollEffect==="in"&&t.classList.add(xt),e.forceScrollEffect==="out"&&t.classList.add(nt);return}let r=ml(t,e),{offsetTop:o="10%",offsetBottom:i="10%"}=e;jo(t,s=>void r(`${s==="up"?"enter":"exit"}:${s}`),gl(o),!1),jo(t,s=>void r(`${s!=="up"?"enter":"exit"}:${s}`),hl(i),!1)}var{defer:xl,addClass:ci,toggleClass:vl,removeClass:bl,listenerPassive:Ft}=b;S("[data-x-search]",function(t){let e=t.querySelector("input"),n=()=>xl(()=>e.focus()),r=()=>vl(t,"x-search-has-content",!!e.value);return[Ft(e,"input",r),Ft(t,"mousedown",()=>{ci(t,"x-search-focused"),n()}),Ft(t,"focusin",()=>void ci(t,"x-search-focused")),Ft(t,"focusout",()=>void bl(t,"x-search-focused")),Ft(t.querySelector("[data-x-search-clear]"),"click",()=>{e.value="",e.focus(),r()}),Ft(t.querySelector("[data-x-search-submit]"),"click",()=>{window.csGlobal.isPreview||t.submit()})]});S("[data-x-element-bg-layer]",(t,{parallaxDir:e="v",parallaxRev:n=!1,parallaxSize:r=""})=>{let o=t.closest(".x-bg"),i=e==="h";t.style.opacity="1",i?(n||(t.style.left="auto",t.style.right="0"),t.style.width=r):(n||(t.style.top="auto",t.style.bottom="0"),t.style.height=r);let s=!1;function a(){if(s)return;s=!0;let{width:u,height:p,top:f,bottom:d}=o.getBoundingClientRect();if(f<=window.innerHeight&&d>=0){let{width:l,height:m}=t.getBoundingClientRect(),g=n?-1:1,h=i?l-u:m-p,w=1-d/(window.innerHeight+p),y=`${parseInt(w*h*g,10)}px`,x=i?`translate3d(${y}, 0, 0)`:`translate3d(0, ${y}, 0)`;t.style.transform=x}s=!1}function c(){requestAnimationFrame(a)}return[on(c),Et(c),V(c)]});V(function(){S("[data-x-scroll-link]",function(t,e){let n=document.querySelector(e);return B(t,"wheel",function(r){n.scrollTop+=r.deltaY})})});var{addClass:Sl,removeClass:li,hasClass:Tl,listenerPassive:ie}=b;function Zn(t,e){(e!=null?e:!Tl(t,"is-active"))?(li(t,"has-not-flipped"),Sl(t,"is-active")):li(t,"is-active")}var We=!1;S("[data-x-element-card]",t=>[ie(t,"touchstart",()=>{We=!0}),ie(t,"click",({target:e})=>{t.contains(e.closest("a"))||Zn(t)}),ie(t,"pointerenter",()=>{setTimeout(function(){We||Zn(t,!0)},15)}),ie(t,"pointerleave",()=>{We||Zn(t,!1)}),ie(t,"touchend",()=>{setTimeout(function(){We=!1},100)})]);var{makeRafLoop:Al}=b;function El(t,e){let n=`${t}`;for(;n.length<e;)n=`0${n}`;return n}function Cl(){let t=new WeakMap;return function(e,n){t.has(e)||t.set(e,e.innerHTML),n!==t.get(e)&&(e.innerHTML=n,t.set(e,n))}}function ui({el:t,end:e,serverTime:n,leadingZeros:r=!0,hideEmpty:o=!0,loadingClass:i="is-loading",completeClass:s="is-complete",digitClass:a="x-countdown-digit",completeMessageTag:c="div",completeMessageContent:u="",completeMessageClass:p="x-countdown-complete",hideOnComplete:f=!1,selectors:d={days:"[data-x-countdown-d]",hours:"[data-x-countdown-h]",minutes:"[data-x-countdown-m]",seconds:"[data-x-countdown-s]",daysLabel:"[data-x-countdown-label-d]",hoursLabel:"[data-x-countdown-label-h]",minutesLabel:"[data-x-countdown-label-m]",secondsLabel:"[data-x-countdown-label-s]",parent:"[data-x-countdown-unit]",aria:"[data-x-countdown-aria]"},singularLabels:l={d:"Day",h:"Hour",m:"Minute",s:"Second"},pluralLabels:m={d:"Days",h:"Hours",m:"Minutes",s:"Seconds"},ariaLabel:g="Countdown ends in {{d}} days, {{h}} hours, and {{m}} minutes."}={}){if(!t)return;let h={days:t.querySelector(d.days),hours:t.querySelector(d.hours),minutes:t.querySelector(d.minutes),seconds:t.querySelector(d.seconds)},{days:w,hours:y,minutes:x,seconds:T}=h,O={d:t.querySelector(d.daysLabel),h:t.querySelector(d.hoursLabel),m:t.querySelector(d.minutesLabel),s:t.querySelector(d.secondsLabel)},v=new Date(e).getTime(),E=new Date(n).getTime()-new Date().getTime(),P=Cl(),F=I=>{let M=Math.abs(I),_=parseInt(M/86400);M%=86400;let ot=parseInt(M/3600);M%=3600;let vt=parseInt(M/60);M%=60;let er=parseInt(M);return w||(ot+=_*24),y||(vt+=ot*60),x||(er+=vt*60),{diffDays:_,diffHours:ot,diffMinutes:vt,diffSeconds:er}},R=()=>
1{if(Object.keys(h).forEach(G),f){t.style.display="none",P(t,"");return}if(!u)return;let I=document.createElement(c);I.innerHTML=u,p&&I.classList.add(p),t.append(I),t.classList.add(s)},L=I=>(r?El(I,2):I.toString()).split("").map(_=>`<span class="${a}">${_}</span>`).join(""),H=(I,M)=>{if(!I||!O[I])return;let _=O[I];P(_,(M?l:m)[I])},$=({diffDays:I,diffHours:M,diffMinutes:_,diffSeconds:ot})=>{w&&(P(w,L(I)),H("d",I===1)),y&&(P(y,L(M)),H("h",M===1)),x&&(P(x,L(_)),H("m",_===1)),T&&(P(T,L(ot)),H("s",ot===1))},se=({diffDays:I,diffHours:M,diffMinutes:_,diffSeconds:ot})=>{let vt=t.querySelector(d.aria);vt&&P(vt,g.replace(/{{d}}/g,I).replace(/{{h}}/g,M).replace(/{{m}}/g,_).replace(/{{s}}/g,ot))},G=I=>{if(!h[I])return;let M=h[I].closest(d.parent);M&&(M.remove(),h[I]=null)},rt=({diffDays:I,diffHours:M,diffMinutes:_})=>{I===0&&G("days"),I===0&&M===0&&G("hours"),I===0&&M===0&&_===0&&G("minutes")},yi=E+new Date().getTime();return Al(I=>{let M=yi+I;if(M>v)return R(),!1;let _=F((M-v)/1e3);o&&rt(_),$(_),se(_),I===0&&t.classList.remove(i)})}S("[data-x-element-countdown]",(t,e={})=>ui({el:t,...e}));var{waypoint:Ll,tween:kl,getPrecisionLength:Ol,getPrecisionLengthWithCommas:Il,round:Pl}=b,Hl=",",fi=".",Ml=/(-)?(\d+)(\.\d+)?/;function Rl({el:t,from:e,to:n,commaSeparatedDecimal:r=!1,...o}){let i=typeof e=="undefined"?t.textContent:e,s=typeof n=="undefined"?t.textContent:n,a=r?fi:Hl,c=s.toString().includes(a)||i.toString().includes(a),u=r?Il:Ol,p=Math.max(u(s),u(i)),f=m=>{if(!m)return console.warn("Input invalid",m),"";let[,g="",h="",w=""]=m.match(Ml),y=h.split("").reverse(),x=[];for(;y.length;)x.push(y.splice(0,3).reverse().join(""));return`${g}${x.reverse().join(a)}${w}`},d=di(i,a),l=di(s,a);kl(d,{...o,update:m=>{let g=Pl(m,Math.pow(10,p)).toFixed(p),h=c?f(g):g;t.textContent=r?h.replace(/\.(\d+)$/,",$1"):h}})(l)}function di(t,e){let n=0;return e===fi&&(n=t.split(",")||[],n=n[1]||0,n&&n.length&&(n=n/Math.pow(10,n.length))),parseFloat(t.replace(new RegExp("\\"+e,"g"),""))+n}S("[data-x-element-counter]",(t,{to:e,speed:n,selector:r=".x-counter-number",commaSeparatedDecimal:o})=>Ll(t,()=>void Rl({el:t.querySelector(r),to:e,commaSeparatedDecimal:o,duration:n}),"85%"));function pi(t,e={}){try{return JSON.parse(t)}catch{}return e}var{intersect:zl,hasClass:at,addClass:Fl,removeClass:Xn,unwrapHtmlTemplate:ql,dispatch:mi,listener:Ve,onResize:Bl,elementIsVisibleInViewport:$l}=b,_l=["playpause","progress"],Dl=["playpause","current","progress","duration","tracks","volume","fullscreen"];S("[data-x-element-mejs]",(t,{poster:e,options:n={}})=>{let r=at(t,"bg")||at(t,"x-video-bg"),o=at(t,"vimeo")||at(t,"youtube"),i=t.getAttribute("data-x-video-options")||n;i=typeof i=="string"?pi(i):i||{};let s=[];if(r&&(e&&(Fl(t,"poster"),t.style.backgroundImage=`url(${e})`,setTimeout(()=>void Xn(t,"transparent"),500)),ql(t.querySelector('script[type="text/template"]')),s.push(Ve(t,"xmejs-start",()=>{Xn(t.querySelector(".transparent"),"transparent"),Xn(t,"transparent")}))),!window.mejs)return;let a=t.querySelector(".x-mejs");if(!a||at(a.parentElement,"mejs-mediaelement"))return;let c=l=>{console.warn("MEJS media error.",l),l.stopPropagation()},u=at(a,"advanced-controls")?Dl:_l;u=window.csGlobal.csHooks.apply("cs_mejs_video_features",u,t);let p=window.csGlobal.csHooks.apply("cs_mejs_video_player_args",{pluginPath:window._wpmejsSettings.pluginPath,startVolume:1,features:r?[]:u,audioWidth:"100%",audioHeight:32,audioVolume:"vertical",videoWidth:"100%",videoHeight:"100%",videoVolume:"vertical",pauseOtherPlayers:!1,alwaysShowControls:!0,hideVolumeOnTouchDevices:!1,setDimensions:!1,stretching:"responsive",autoRewind:!1,success:f,error(l){c(l)}});try{window.jQuery(a).mediaelementplayer(p)}catch(l){c(l)}function f(l,m,g){let h=!0,w=!0;at(t,"autoplay")&&(!i.pause_out_of_view||$l(t))&&(m.setAttribute("autoplay",!0),setTimeout(()=>{m.play()},100));let y=()=>{m.attributes.hasOwnProperty("autoplay")&&h&&(l.play(),h=!1),m.attributes.hasOwnProperty("muted")&&w&&(l.setMuted(!0),w=!1),l.removeEventListener("canplay",y)};l.addEventListener("canplay",y);let x=g.controls[0].querySelector(".mejs-volume-button");l.addEventListener("volumechange",()=>l.setVolume(at(x,"mejs-mute")?1:0)),l.addEventListener("ended",()=>{m.attributes.hasOwnProperty("loop")&&l.play()}),r||l.addEventListener("playing",()=>{Object.keys(window.mejs.players).filter(T=>T!==g.id&&!window.mejs.players[T].xIsVideoBG).map(T=>
1window.mejs.players[T]).forEach(T=>T.pause())}),g.isVideo===!0&&(g.xIsVideoBG=r,d(l,m,g))}function d(l,m,{container:g,controls:h}){if(l.addEventListener("timeupdate",function y(){mi(t,"xmejs-start"),l.removeEventListener("timeupdate",y)}),Ve(g[0],"fullscreenchange",()=>{document.fullscreenElement||l.removeAttribute("style")}),o&&s.push(Ve(t,"xmejs-start",()=>{var y;(y=t.querySelector("video.x-mejs"))==null||y.removeAttribute("poster")})),r)l.addEventListener("playing",()=>{l.setMuted(!0),mi(t,"xmejs-bgvideoready")}),s.push(Ve(t,"xmejs-bgvideoready",w)),s.push(Bl(w));else{let y=()=>h.stop().animate({opacity:1},150),x=()=>h.stop().animate({opacity:0},150);l.addEventListener("playing",()=>g.on("mouseenter",y).on("mouseleave",x)),l.addEventListener("pause",()=>{g.off("mouseenter mouseleave"),y()})}i.pause_out_of_view&&s.push(Nl(t,l));function w(){let y=t.querySelector(o?".me-plugin":"video"),x=m.videoWidth,T=m.videoHeight,O=o||x===0?1280:x,v=o||T===0?720:T,E=t.offsetWidth||0,P=t.offsetHeight||0,F=E/O,R=P/v,L=F>R?F:R,H=Math.ceil(L*O+20),$=Math.ceil(L*v+20),se=Math.ceil((H-E)/2),G=Math.ceil(($-P)/2);y.style.width=`${H}px`,y.style.height=`${$}px`}}return s});function Nl(t,e){let n=at(t,"autoplay");return zl(t,function(r){if(r.isIntersecting){n&&e.play();return}e.pause()})}var{waypoint:Wl}=b;S("[data-x-element-statbar]",(t,{triggerOffset:e}={})=>{Wl(t,()=>{Array.from(t.querySelectorAll(".x-statbar-bar, .x-statbar-label")).forEach(n=>{n.classList.add("x-active")})},e)});var{listener:Nd,onLoad:Vl,onResize:Gl,getOuterHeight:Ul}=b;S("[data-x-element-tabs]",(t,{equalPanelHeight:e})=>
1{if(!e)return;let n=Array.from(t.querySelectorAll(".x-tabs-panels")),r=()=>{let o=n.reduce((i,s)=>Math.max(i,Ul(s)),0);n.forEach(i=>{i.style.height=`${o}px`})};return r(),[Vl(r),Gl(r)]});S("script[data-cs-late-style]",function(t){let e=document.createElement("style");e.setAttribute("id",`cs-late-css-${t.getAttribute("data-cs-late-style")}`),e.appendChild(window.document.createTextNode(t.textContent)),window.document.head.appendChild(e),t.remove()});var{listener:gi,PASSIVE_ARGS:Yl}=b;S("[data-x-toggleable]",t=>Io(t));var tr=!1,hi=!1;document.addEventListener("readystatechange",()=>{document.readyState==="complete"&&!hi&&(hi=!0,window.document.body.addEventListener("click",Nn()),S("[data-x-toggleable]",t=>{let e=j(t),n=Fe(t);(zt(e)||n&&n===ee())&&(window.csGlobal.isPreview&&(tr=!0,t.setAttribute("data-x-disable-animation",!0)),W({id:e,state:!0,force:!0,hashUpdate:!1}),tr&&(tr=!1,setTimeout(()=>{t.removeAttribute("data-x-disable-animation")},60)))}))},Yl);S("[data-x-toggleable]:not([data-x-toggle])",Ho);S("[data-x-toggle]",Mo);V(function(){let t=[];S("[data-x-esc-close]",function(e){let n=j(e);return n||console.warn("No toggle id setup for element, but using data-x-esc-close",e),t.push(n),function(){let r=t.indexOf(n);r!==-1&&t.splice(r,1)}}),B(window,"keyup",function(e){if(e.key!=="Escape")return;let n=window.xGetLastToggleable();!n||!window.xToggleGetState(n)||!t.includes(n)||W({id:n,state:!1})})});S("[data-x-toggle-layered-root]",Ro);D.filter("hash_scrolling_allow",(t,e,n)=>n.target.hasAttribute("data-x-toggle-nested-trigger")||n.target.hasAttribute("data-x-skip-scroll")?!1:t);D.action("hash_scrolling_before",({anchor:t})=>{let e=t.closest(".x-modal.x-active, .x-off-canvas.x-active");e&&!(t.hasAttribute("data-x-toggleable")&&!t.querySelector("[data-x-toggle-nested-trigger]"))&&W({id:e.getAttribute("data-x-toggleable"),state:!1})});U("ontoggleclose",(t,e,n)=>gi(n.closest("[data-x-toggleable]"),"tco-toggle",r=>{r.detail.state&&t()}),{defaultOption:"throttle"});U("ontoggleopen",(t,e,n)=>gi(n.closest("[data-x-toggleable]"),"tco-toggle",r=>{r.detail.state||t()}),{defaultOption:"throttle"});window.addEventListener("tcoHistoryPush",Dn,!1);window.addEventListener("hashchange",Dn,!1);var fp=window.csGlobal;})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.