/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={},r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s});
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}
gtag('js',new Date());gtag('config','G-JYSWGWB9HD');
!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/cd92d03c5979237c6e0c63b7a/5d48c8da2bc2734bd525b09e5.js");
document.createElement("picture");if(!window.HTMLPictureElement&&document.addEventListener){window.addEventListener("DOMContentLoaded",function(){var s=document.createElement("script");s.src="https://browndesign.nl/wp-content/plugins/webp-express/js/picturefill.min.js";document.body.appendChild(s);});};
document.documentElement.className+=" js";
var csJsData={"linkSelector":"#x-root a[href*=\"#\"]","bp":{"base":3,"ranges":[0,480,767,979,1200],"count":4}};
(()=>{var Hi=Object.create;var fe=Object.defineProperty;var zi=Object.getOwnPropertyDescriptor;var $i=Object.getOwnPropertyNames;var Ri=Object.getPrototypeOf,qi=Object.prototype.hasOwnProperty;var Di=t=>fe(t,"__esModule",{value:!0});var Fi=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Je=(t,e)=>{for(var n in e)fe(t,n,{get:e[n],enumerable:!0})},_i=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of $i(e))!qi.call(t,r)&&(n||r!=="default")&&fe(t,r,{get:()=>e[r],enumerable:!(o=zi(e,r))||o.enumerable});return t},Bi=(t,e)=>_i(Di(fe(t!=null?Hi(Ri(t)):{},"default",!e&&t&&t.__esModule?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var To=Fi(()=>{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,o){return Array.isArray(o)?n.push.apply(n,t.call(o,e-1)):n.push(o),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 kn={};Je(kn,{attach:()=>T,debug:()=>Jt,defineRivetArchetype:()=>st,drive:()=>Kt,registerAction:()=>wt,registerBehavior:()=>xt,registerEvent:()=>U,registerInnate:()=>Zt,registerMacro:()=>Ln,registerObserver:()=>et,store:()=>Z,util:()=>S});var S={};Je(S,{NON_PASSIVE_ARGS:()=>Vt,PASSIVE_ARGS:()=>$,SCROLLBAR_ACTIVE_VAR_NAME:()=>jt,SCROLLBAR_ACTIVE_VAR_STRING:()=>yn,SCROLLBAR_VAR_NAME:()=>gn,SCROLLBAR_VAR_STRING:()=>Qs,absVector:()=>Ki,addClass:()=>ys,addVectors:()=>Ji,animateToElement:()=>Zs,animateTopOffset:()=>Js,appendHtmlString:()=>bs,balanceFromDifference:()=>rs,ceil:()=>Vi,clamp:()=>_t,clampVector:()=>Qi,debounce:()=>At,defer:()=>is,dispatch:()=>zs,distanceInRange:()=>Ke,divideVectors:()=>ns,doOnce:()=>Nt,elementAttributes:()=>Ct,elementIndex:()=>xs,elementIsVisibleInViewport:()=>Po,elementMeta:()=>cn,ensureNumber:()=>X,ensureString:()=>Ft,evaluateCondition:()=>ca,expandElementValue:()=>yt,farthest:()=>Ts,floor:()=>Gi,fontCompress:()=>Ws,forceOpaque:()=>ea,getCachedAttribute:()=>Lt,getCachedJsonAttribute:()=>Rs,getDurations:()=>sn,getEasing:()=>ht,getJsonAttrContent:()=>nn,getOuterHeight:()=>Es,getPrecisionLength:()=>Ui,getPrecisionLengthWithCommas:()=>Yi,getStateValue:()=>$o,getTransitionDuration:()=>ks,getTransitionTimingMS:()=>Cs,hasClass:()=>Wt,intersect:()=>js,isMobile:()=>pn,isScalar:()=>Wi,lerp:()=>os,listener:()=>tt,listenerPassive:()=>q,lockMotion:()=>Ho,makeAlternatingSynchronizer:()=>Ls,makeDirectionalEasing:()=>gs,makeElementWeakMap:()=>Ut,makeFindClosest:()=>rn,makeGetComputedFloatValues:()=>Bs,makeGetComputedStyle:()=>_s,makeGetComputedStyles:()=>dn,makeMotionLockedUpdate:()=>zo,makeRafLoop:()=>ge,makeSortByKey:()=>Ni,makeStateSynchronizer:()=>xo,makeTreeWalker:()=>he,memoize:()=>tn,multiplyVectors:()=>es,normalizeCondition:()=>xn,normalizeTeardown:()=>Gt,offsetFromTop:()=>me,onLoad:()=>W,onPageVisibilityChange:()=>an,onPercentScrolled:()=>Ds,onResize:()=>gt,onResizeOrScan:()=>ve,onScan:()=>ye,onScanLazy:()=>Fs,onScroll:()=>ln,onScrollOrResize:()=>Co,onScrollRaw:()=>un,onViewportChange:()=>Lo,once:()=>Eo,oncePassive:()=>Et,parseHTML:()=>on,parseTime:()=>mt,removeClass:()=>vs,rivetDispatch:()=>Hs,rivetListener:()=>Ms,round:()=>ho,roundVector:()=>Xi,runAnimation:()=>na,scrollOffset:()=>As,scrollingDisable:()=>Ks,scrollingEnable:()=>Xs,siblings:()=>wo,subtractVectors:()=>ts,teardown:()=>J,throttle:()=>Xe,toggleClass:()=>ws,transitionEnd:()=>$s,triggerScan:()=>qs,tween:()=>Ps,unwrapHtmlTemplate:()=>Ss,updateStateKey:()=>sa,vectorsEq:()=>Zi,watchElementIsVisible:()=>ta,waypoint:()=>Vs,wrapNumber:()=>Ze,wrapVector:()=>ji});function X(t){if(typeof t=="function")return X(t());if(typeof t=="number")return t;let e=Number.parseFloat(t);return Number.isNaN(e)?0:e}var Ft=t=>typeof t=="function"?Ft(t()):typeof t=="string"?t:"";function Wi(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 Ni=t=>(e,n)=>e[t]-n[t];var Vi=(t,e=100)=>Math.ceil(t*e)/e,Gi=(t,e=100)=>Math.floor(t*e)/e,ho=(t,e=100)=>Math.round((t+Number.EPSILON)*e)/e,Ui=t=>{var e,n;return(n=(e=t.toString().split(/\./)[1])==null?void 0:e.length)!=null?n:0},Yi=t=>{var e,n;return(n=(e=t.toString().split(/,/)[1])==null?void 0:e.length)!=null?n:0},Ze=(t,e)=>(e+t)%e,ji=([t,e],[n,o])=>[Ze(t,n),Ze([e,o])],_t=(t,e,n)=>Math.min(Math.max(t,e),n),Qi=([t,e],n,o)=>[_t(t,n,o),_t(e,n,o)],Ji=([t,e],[n,o])=>[t+n,e+o],Zi=([t,e],[n,o])=>t===n&&e===o,Ki=t=>t.map(Math.abs),Xi=(t,e)=>t.map(n=>ho(n,e)),ts=([t,e],[n,o])=>[t-n,e-o],es=([t,e],[n,o])=>[t*n,e*o],ns=([t,e],[n,o])=>[t/n,e/o],Ke=(t,e,n)=>(t-e+n)%n,os=(t,e,n)=>t+n*(e-t),rs=(t,e,n)=>{let o=Ke(t,e,n),r=Ke(e,t,n);return o===r?0:o>r?-1:1};function is(t){return setTimeout(t,0)}function Xe(t,e,n={}){var o=!0,r=!0;return o="leading"in n?!!n.leading:o,r="trailing"in n?!!n.trailing:r,At(t,e,{leading:o,maxWait:e,trailing:r})}function At(t,e=0,n={}){var o,r,i,s,a,c,u=0,d=!1,f=!1,p=!0;d=!!n.leading,f="maxWait"in n,i=f?Math.max(n.maxWait||0,e):i,p="trailing"in n?!!n.trailing:p;function l(x){var A=o,P=r;return o=r=void 0,u=x,s=t.apply(P,A),s}function h(x){return u=x,a=setTimeout(y,e),d?l(x):s}function m(x){var A=x-c,P=x-u,I=e-A;return f?Math.min(I,i-P):I}function g(x){var A=x-c,P=x-u;return c===void 0||A>=e||A<0||f&&P>=i}function y(){var x=window.Date.now();if(g(x))return v(x);a=setTimeout(y,m(x))}function v(x){return a=void 0,p&&o?l(x):(o=r=void 0,s)}function w(){a!==void 0&&clearTimeout(a),u=0,o=c=r=a=void 0}function b(){return a===void 0?s:v(window.Date.now())}function C(){var x=window.Date.now(),A=g(x);if(o=arguments,r=this,c=x,A){if(a===void 0)return h(c),()=>void w();if(f)return clearTimeout(a),a=setTimeout(y,e),l(c),()=>void w()}return a===void 0&&(a=setTimeout(y,e)),()=>void w()}return C.cancel=w,C.flush=b,C}function tn(t,e){let n=new Map;return function(...o){let r=e?e.apply(this,o):o[0];if(n.has(r))return n.get(r);let i=t.apply(this,o);return n.set(r,i),i}}var ss=4,as=.001,cs=1e-7,ls=10,Bt=11,de=1/(Bt-1),us=typeof Float32Array=="function";function mo(t,e){return 1-3*e+3*t}function go(t,e){return 3*e-6*t}function yo(t){return 3*t}function pe(t,e,n){return((mo(e,n)*t+go(e,n))*t+yo(e))*t}function vo(t,e,n){return 3*mo(e,n)*t*t+2*go(e,n)*t+yo(e)}function fs(t,e,n,o,r){var i,s,a=0;do s=e+(n-e)/2,i=pe(s,o,r)-t,i>0?n=s:e=s;while(Math.abs(i)>cs&&++a<ls);return s}function ds(t,e,n,o){for(var r=0;r<ss;++r){var i=vo(e,n,o);if(i===0)return e;var s=pe(e,n,o)-t;e-=s/i}return e}function ps(t){return t}function en(t,e,n,o){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===o)return ps;for(var r=us?new Float32Array(Bt):new Array(Bt),i=0;i<Bt;++i)r[i]=pe(i*de,t,n);function s(a){for(var c=0,u=1,d=Bt-1;u!==d&&r[u]<=a;++u)c+=de;--u;var f=(a-r[u])/(r[u+1]-r[u]),p=c+f*de,l=vo(p,t,n);return l>=as?ds(a,p,t,n):l===0?p:fs(a,c,c+de,t,n)}return function(c){return c===0||c===1?c:pe(s(c),e,o)}}var hs=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=tn(t=>{let e=hs(t);try{let[,n]=e.match(/cubic-bezier\((.*)\)/);return en(...n.split(",").map(o=>Number(o.trim())))}catch{console.warn("unable to parse easing function",e)}return k("ease")}),ms={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 ht(t){return ms[t]||k(t)}var gs=t=>{let e=ht(t);return n=>{let o=(-1*n+1)/2,r=Math.min(1,Math.max(0,o));return(e(r)-.5)*2}};var Wt=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.contains(e)},ys=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.add(e)},vs=(t,e)=>{var n;return(n=t==null?void 0:t.classList)==null?void 0:n.remove(e)},ws=(t,e,n)=>{var o;return(o=t==null?void 0:t.classList)==null?void 0:o.toggle(e,n)};function xs(t){if(!t)return-1;for(var e=0;t=t.previousElementSibling;)e++;return e}function nn(t,e){let n=t.getAttribute(e);if(n===null)return{};if(typeof n=="string")try{return JSON.parse(n)}catch{try{return JSON.parse(n.replace(/&quot;/g,'"'))}catch{}}return n}var on=t=>{let e=document.implementation.createHTMLDocument("");return e.body.innerHTML=t,e.body.children},bs=(t,e)=>{Array.from(on(e)).forEach(n=>{t.append(n)})},Ss=t=>{Array.from(on(t.innerHTML)).forEach(e=>{t.insertAdjacentElement("afterend",e)}),t.remove()};function Ts(t,e){let n=t,o;for(;n&&n.parentElement;)n=n.parentElement.closest(e),n&&(o=n);return o}var wo=t=>t&&t.parentElement?Array.from(t.parentElement.children).filter(e=>e!==t):[],he=(t,e)=>n=>{let o=new Set,r=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:()=>NodeFilter.FILTER_ACCEPT});for(;r.nextNode();)if(t(r.currentNode)){if(e)return r.currentNode;o.add(r.currentNode)}return e?null:Array.from(o)},me=t=>t?t.offsetParent?t.offsetTop+me(t.offsetParent):t.offsetTop:0,As=t=>{let e=t.getBoundingClientRect(),{top:n,left:o,height:r}=e;return{top:n+window.scrollY,bottom:n+r+window.scrollY,left:o+window.scrollX}},Es=t=>{var r;if(!t)return 0;let e=Math.max(t.scrollHeight,t.offsetHeight),n=(r=t.getAttribute("style"))!=null?r:"";t.style.display="block",t.style.position="absolute",t.style.visibility="hidden";let o=Math.max(0,e,t.scrollHeight,t.offsetHeight);return t.setAttribute("style",n),o},rn=t=>{let e=he(t,!0),n=r=>{let i=r;for(;i;){if(t(i))return i;i=i.parentElement}},o=r=>{let i=r;for(;i;){let s;if(wo(i).find(a=>(s=t(a)?a:e(a),s)),s)return s;i=i.parentElement}};return r=>n(r)||o(r)||null};function Cs(t){if(!t)return 0;let n=window.getComputedStyle(t)["transition-duration"]||"";return parseFloat(n.replace("s",""))*1e3}var xo=(t,{pending:e=()=>{},delay:n=10,initialState:o=null}={})=>{let r=o,i=o,s=[],a=!1,c=()=>{r!==i&&(a=!0,e(!0),r=i,t(r,(...d)=>{a=!1,e(!1),s=d,c()},...s))},u=At(d=>{i=d,a||c()},n);return u.reset=()=>{r=!1,i=!1,s=[]},u},Ls=(t,e,n,o=!1)=>xo((r,i,s)=>{r?t(()=>void i(e)):e(i),s&&s(i)},{delay:n,initialState:o}),Nt=t=>{let e=!1;return(...n)=>{if(!e)return e=!0,t(...n)}},mt=(t,e=0)=>{if(typeof t=="number")return t;let n=typeof t=="string"?t:"",[,o,r=""]=n.match(/(\d*.?\d+)(\w*)/)||[],i=parseFloat(o);return Number.isNaN(i)?e:r.toLowerCase()==="s"?i*1e3:i};function ks(t,e){return mt(t&&window.getComputedStyle(t).getPropertyValue("transition-duration"),e)}function sn(t){let e=window.getComputedStyle(t);e.getPropertyValue("transition-duration");let n=mt(e.getPropertyValue("transition-duration"),0),o=mt(e.getPropertyValue("transition-delay"),0),r=mt(e.getPropertyValue("animation-duration"),0),i=mt(e.getPropertyValue("animation-delay"),0);return{transitionDuration:n,transitionDelay:o,animationDuration:r,animationDelay:i,transitionTime:n+o,animationTime:r+i}}var ge=t=>{let e,n,o=r=>{typeof e=="undefined"&&(e=r);let i=r-e;t(i,r)!==!1&&(n=requestAnimationFrame(o))};return n=requestAnimationFrame(o),()=>void cancelAnimationFrame(n)},Os=({setup:t=()=>{},update:e=()=>{},complete:n=()=>{},cancel:o=()=>{},duration:r,easing:i})=>{let s=mt(r,500),a=ht(i);t();let c=ge(u=>{if(u<s)e(a(u/s));else return e(1),n(),!1});return()=>{o(),c()}},Is=(t,e,n)=>e===n?n:n>e?e+(n-e)*t:e+(e-n)*(t*-1),bo=t=>Object.keys(t).reduce((e,n)=>(e[n]=parseFloat(t[n]),e),{}),So=(t,{update:e,interpolate:n=Is,...o})=>{let r=bo(t);return(i={})=>{let s=bo(i);return Os({update:a=>{e(Object.keys(s).reduce((c,u)=>(c[u]=n(a,r[u],s[u]),c),{}))},...o})}},Ps=(t,e)=>{let n=typeof t=="object"?So(t,e):So({from:t},{...e,update:({from:o})=>e.update(o)});return o=>n(typeof o=="object"?o:{from:o})};Promise.resolve().then(()=>Bi(To()));var Ao="rvt",$={passive:!0},Vt={passive:!1};function Ms(t,e,n){return tt(t,`${Ao}-${e}`,n)}function Hs(t,e){t.dispatchEvent(new CustomEvent(`${Ao}-${e}`))}function zs(t,e,n={},o=!0){t.dispatchEvent(new CustomEvent(e),{bubbles:o,detail:n})}function tt(t,e,n,o={}){return t?(typeof o.passive=="undefined"&&(o.passive=!1),t.addEventListener(e,n,o),()=>void t.removeEventListener(e,n,o)):()=>{}}function q(t,e,n){return tt(t,e,n,$)}function W(t){let e=()=>void t();return document.readyState==="complete"?(e(),()=>{}):q(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(e,0)})}function Eo(t,e,n,o=Vt){let r=function(i){t.removeEventListener(e,r),n(i)};return t.addEventListener(e,r,o),()=>void t.removeEventListener(e,r)}function Et(t,e,n){return Eo(t,e,n,$)}var Gt=t=>(Array.isArray(t)?t.map(Gt):[t]).flat().filter(e=>typeof e=="function"),J=t=>{let e=Gt(t);return()=>e.forEach(n=>n())};function $s(t,e){let o=window.getComputedStyle(t)["transition-duration"];if(o=o?parseFloat(o.replace("s","")):0,o===0){e();return}let r=Nt(e),i=setTimeout(function(){r()},o*1e3+500),s=Et(t,"transitionend",r);return function(){clearTimeout(i),s()}}var an=(t,e)=>(e&&t(document.visibilityState==="visible"),J([tt(window,"pagehide",()=>{t(!1)}),tt(window.document,"visibilitychange",()=>{t(document.visibilityState==="visible")})]));function _(t,e){let n,o=null;return function(r){if(n){o=r;return}n=setTimeout(function(){t(o),n=null},e)}}var Ut=(t={})=>{let e,n=()=>{e=new WeakMap},o=c=>e.has(c),r=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:r,set:s,has:o,update:a,reset:n,cache:()=>e}},cn=Ut(),Ct=Ut();function Lt(t,e){return Ct.has(t)||Ct.set(t,new Map),Ct.get(t).has(e)||Ct.get(t).set(e,nn(t,e)),Ct.get(t).get(e)}function Rs(t,e){if(!t)return{};let n=Lt(t,e);return typeof n=="object"?n:{}}var qs=()=>window.dispatchEvent(new CustomEvent("rvt-scan")),ye=t=>tt(window,"rvt-scan",()=>t()),gt=(t,e=!1)=>{e&&t();let n=_(t,100);return J([q(window,"resize",n,$),tt(screen.orientation,"change",n)])},ln=(t,e=!1)=>{e&&t();let n=_(t,40);return q(window,"scroll",n)},un=(t,e=!1)=>(e&&t(),q(window,"scroll",t)),Co=(t,e=!1)=>J([ln(t,e),ve(t,e)]),ve=(t,e)=>J([ye(t),gt(t,e)]),Lo=(t,e)=>J([ye(t),W(t),an(t,!1),gt(t,e)]),Ds=(t,e,n=!1)=>{let o,r,i=Co(()=>{let s=document.body.offsetHeight,c=1-(s-(window.scrollY+window.innerHeight))/s>=t;c!==r&&(e(c),c&&n&&(o=!0,i()),r=c)},!0);return()=>{o||i()}},Fs=(t,{throttle:e=50}={})=>{let n,r=Xe(()=>{n=requestAnimationFrame(()=>void t())},e,{trailing:!0}),i=At(r,450);return[W(i),gt(i),ye(r),()=>cancelAnimationFrame(n)]},fn,ko;Lo(()=>{fn=new WeakMap,ko=new WeakMap},!0);ln(()=>{ko=new WeakMap},!0);var Oo=t=>{let e=fn.get(t);return e||(e=new WeakMap,fn.set(t,e)),e};function dn(t,e){let n=function(o){let r=Oo(n).get(o);if(!r){let i=getComputedStyle(o);r=t.reduce((s,a)=>(s[a]=typeof e=="function"?e(i[a],a):i[a],s),{}),Oo(n).set(o,r)}return r};return n}function _s(t){let e=dn([t]);return n=>e(n)[t]}function Bs(t){return dn(t,e=>parseFloat(e))}function Ws(t,{c:e=1,min:n=Number.NEGATIVE_INFINITY,max:o=Number.POSITIVE_INFINITY}){let r=X(n),i=X(o);return gt(()=>{let s=_t(parseFloat(getComputedStyle(t,null).width)/(e*10),r,i);t.style.setProperty("font-size",`${s}px`)},!0)}var Ns="ontouchstart"in document.documentElement;function pn(){return window.innerWidth<=978.98&&Ns}var Io=0,kt={};function E(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-"+Io,this.options=E.Adapter.extend({},E.defaults,t),this.element=this.options.element,this.adapter=new E.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=E.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=E.Context.findOrCreateByElement(this.options.context),E.offsetAliases[this.options.offset]&&(this.options.offset=E.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),kt[this.key]=this,Io+=1}E.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)};E.prototype.trigger=function(t){!this.enabled||this.callback&&this.callback.apply(this,t)};E.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete kt[this.key]};E.prototype.disable=function(){return this.enabled=!1,this};E.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this};E.prototype.next=function(){return this.group.next(this)};E.prototype.previous=function(){return this.group.previous(this)};E.invokeAll=function(t){var e=[];for(var n in kt)e.push(kt[n]);for(var o=0,r=e.length;o<r;o++)e[o][t]()};E.destroyAll=function(){E.invokeAll("destroy")};E.disableAll=function(){E.invokeAll("disable")};E.enableAll=function(){E.Context.refreshAll();for(var t in kt)kt[t].enabled=!0;return this};E.refreshAll=function(){E.Context.refreshAll()};E.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight};E.viewportWidth=function(){return document.documentElement.clientWidth};E.adapters=[];E.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0};E.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}};(function(){"use strict";var t=0,e={},n=window.onload;function o(r){this.element=r,this.Adapter=E.Adapter,this.adapter=new this.Adapter(r),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:{}},r.waypointContextKey=this.key,e[r.waypointContextKey]=this,t+=1,E.windowContext||(E.windowContext=!0,E.windowContext=new o(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(r){var i=r.options.horizontal?"horizontal":"vertical";this.waypoints[i][r.key]=r,this.refresh()},o.prototype.checkEmpty=function(){var r=this.Adapter.isEmptyObject(this.waypoints.horizontal),i=this.Adapter.isEmptyObject(this.waypoints.vertical),s=this.element==this.element.window;r&&i&&!s&&(this.adapter.off(".waypoints"),delete e[this.key])},o.prototype.createThrottledResizeHandler=function(){var r=this;function i(){r.handleResize(),r.didResize=!1}this.adapter.on("resize.waypoints",function(){r.didResize||(r.didResize=!0,requestAnimationFrame(i))})},o.prototype.createThrottledScrollHandler=function(){var r=this;function i(){r.handleScroll(),r.didScroll=!1}this.adapter.on("scroll.waypoints",function(){(!r.didScroll||E.isTouch)&&(r.didScroll=!0,requestAnimationFrame(i))})},o.prototype.handleResize=function(){E.Context.refreshAll()},o.prototype.handleScroll=function(){var r={},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 d in this.waypoints[s]){var f=this.waypoints[s][d];if(f.triggerPoint!==null){var p=a.oldScroll<f.triggerPoint,l=a.newScroll>=f.triggerPoint,h=p&&l,m=!p&&!l;(h||m)&&(f.queueTrigger(u),r[f.group.id]=f.group)}}}for(var g in r)r[g].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?E.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(r){delete this.waypoints[r.axis][r.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?E.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var r=[];for(var i in this.waypoints)for(var s in this.waypoints[i])r.push(this.waypoints[i][s]);for(var a=0,c=r.length;a<c;a++)r[a].destroy()},o.prototype.refresh=function(){var r=this.element==this.element.window,i=r?void 0:this.adapter.offset(),s={},a;this.handleScroll(),a={horizontal:{contextOffset:r?0:i.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:i.top,contextScroll:r?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 d in this.waypoints[c]){var f=this.waypoints[c][d],p=f.options.offset,l=f.triggerPoint,h=0,m=l==null,g,y,v,w,b;f.element!==f.element.window&&(h=f.adapter.offset()[u.offsetProp]),typeof p=="function"?p=p.apply(f):typeof p=="string"&&(p=parseFloat(p),f.options.offset.indexOf("%")>-1&&(p=Math.ceil(u.contextDimension*p/100))),g=u.contextScroll-u.contextOffset,f.triggerPoint=Math.floor(h+g-p),y=l<u.oldScroll,v=f.triggerPoint>=u.oldScroll,w=y&&v,b=!y&&!v,!m&&w?(f.queueTrigger(u.backward),s[f.group.id]=f.group):(!m&&b||m&&u.oldScroll>=f.triggerPoint)&&(f.queueTrigger(u.forward),s[f.group.id]=f.group)}}return requestAnimationFrame(function(){for(var C in s)s[C].flushTriggers()}),this},o.findOrCreateByElement=function(r){return o.findByElement(r)||new o(r)},o.refreshAll=function(){for(var r in e)e[r].refresh()},o.findByElement=function(r){return e[r.waypointContextKey]},window.onload=function(){n&&n(),o.refreshAll()},E.Context=o})();(function(){"use strict";function t(r,i){return r.triggerPoint-i.triggerPoint}function e(r,i){return i.triggerPoint-r.triggerPoint}var n={vertical:{},horizontal:{}};function o(r){this.name=r.name,this.axis=r.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}o.prototype.add=function(r){this.waypoints.push(r)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var r in this.triggerQueues){var i=this.triggerQueues[r],s=r==="up"||r==="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([r])}}this.clearTriggerQueues()},o.prototype.next=function(r){this.waypoints.sort(t);var i=E.Adapter.inArray(r,this.waypoints),s=i===this.waypoints.length-1;return s?null:this.waypoints[i+1]},o.prototype.previous=function(r){this.waypoints.sort(t);var i=E.Adapter.inArray(r,this.waypoints);return i?this.waypoints[i-1]:null},o.prototype.queueTrigger=function(r,i){this.triggerQueues[i].push(r)},o.prototype.remove=function(r){var i=E.Adapter.inArray(r,this.waypoints);i>-1&&this.waypoints.splice(i,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(r){return n[r.axis][r.name]||new o(r)},E.Group=o})();(function(){"use strict";function t(o){return o===o.window}function e(o){return t(o)?o:o.defaultView}function n(o){this.element=o,this.handlers={}}n.prototype.innerHeight=function(){var o=t(this.element);return o?this.element.innerHeight:this.element.clientHeight},n.prototype.innerWidth=function(){var o=t(this.element);return o?this.element.innerWidth:this.element.clientWidth},n.prototype.off=function(o,r){function i(p,l,h){for(var m=0,g=l.length-1;m<g;m++){var y=l[m];(!h||h===y)&&p.removeEventListener(y)}}var s=o.split("."),a=s[0],c=s[1],u=this.element;if(c&&this.handlers[c]&&a)i(u,this.handlers[c][a],r),this.handlers[c][a]=[];else if(a)for(var d in this.handlers)i(u,this.handlers[d][a]||[],r),this.handlers[d][a]=[];else if(c&&this.handlers[c]){for(var f in this.handlers[c])i(u,this.handlers[c][f],r);this.handlers[c]={}}},n.prototype.offset=function(){if(!this.element.ownerDocument)return null;var o=this.element.ownerDocument.documentElement,r=e(this.element.ownerDocument),i={top:0,left:0};return this.element.getBoundingClientRect&&(i=this.element.getBoundingClientRect()),{top:i.top+r.pageYOffset-o.clientTop,left:i.left+r.pageXOffset-o.clientLeft}},n.prototype.on=function(o,r){var i=o.split("."),s=i[0],a=i[1]||"__default",c=this.handlers[a]=this.handlers[a]||{},u=c[s]=c[s]||[];u.push(r),this.element.addEventListener(s,r)},n.prototype.outerHeight=function(o){var r=this.innerHeight(),i;return o&&!t(this.element)&&(i=window.getComputedStyle(this.element),r+=parseInt(i.marginTop,10),r+=parseInt(i.marginBottom,10)),r},n.prototype.outerWidth=function(o){var r=this.innerWidth(),i;return o&&!t(this.element)&&(i=window.getComputedStyle(this.element),r+=parseInt(i.marginLeft,10),r+=parseInt(i.marginRight,10)),r},n.prototype.scrollLeft=function(){var o=e(this.element);return o?o.pageXOffset:this.element.scrollLeft},n.prototype.scrollTop=function(){var o=e(this.element);return o?o.pageYOffset:this.element.scrollTop},n.extend=function(){var o=Array.prototype.slice.call(arguments);function r(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=o.length;i<s;i++)r(o[0],o[i]);return o[0]},n.inArray=function(o,r,i){return r==null?-1:r.indexOf(o,i)},n.isEmptyObject=function(o){for(var r in o)return!1;return!0},E.adapters.push({name:"noframework",Adapter:n}),E.Adapter=n})();var hn=E;q(window,"rvt-scan",hn.Context.refreshAll);function Vs(t,e,n,o=!0){let r=new hn({element:t,handler:(...s)=>{e(...s),o&&i()},offset:n}),i=()=>r&&void r.destroy();return i}var Yt=new Map,Gs=({threshold:t=.5,top:e="0px",bottom:n="0px"}={})=>{let o=Number.parseFloat(t);return{key:`${e}:${n}:${o}`,options:{root:null,rootMargin:`${e} 0px ${n} 0px`,_threshold:o}}},Us=(t,e)=>new IntersectionObserver((n,o)=>{let{subscribers:r}=Yt.get(t);n.forEach(i=>{let s=r.get(i.target);if(s)for(let a of s.values())a(i)})},e),Ys=t=>{let{key:e,options:n}=Gs(t);return Yt.has(e)||Yt.set(e,{observer:Us(e,n),subscribers:new Map,key:e}),Yt.get(e)},js=(t,e,n)=>{if(typeof window.IntersectionObserver=="undefined")return function(){};let{observer:o,subscribers:r,key:i}=Ys(n);return r.has(t)||(r.set(t,new Set),o.observe(t)),r.get(t).add(e),()=>{r.get(t).delete(e),r.get(t).size<=0&&(r.delete(t),o.unobserve(t)),r.size<=0&&(o.disconnect(),Yt.delete(i))}};var mn=0,gn="--x-body-scroll-bar-size",Qs=`var(${gn}, 0)`,jt="--x-body-scroll-active-bar-size",yn=`var(${jt}, 0)`,Js=(t=0,e=850,n=null,o=()=>{},r=window)=>{let i=X(typeof t=="function"?t(0):t),s=ht(n),a=X(e),c=r.scrollY||document.documentElement.scrollTop;return Mo(r,c,s,a,o,i)},Zs=(t,e=0,n=850,o=null,r=()=>{},i=window)=>{let s=ht(o),a=X(n),c=i.scrollY||document.documentElement.scrollTop;return Mo(i,c,s,a,r,function(){return me(t)+X(typeof e=="function"?e(0):e)})},we="auto",xe=!1,be=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())},Ks=()=>{if(xe)return;xe=!0;let{adminBarOffset:t}=window.csGlobal;we=document.body.style.touchAction==="none"?we: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",be,Vt),window.addEventListener("scroll",be,Vt),Se(jt,mn+"px")},Xs=()=>{if(!xe)return;xe=!1;let{adminBarOffset:t}=window.csGlobal;document.body.style.touchAction=we==="none"?"auto":we,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",be),window.removeEventListener("scroll",be),Se(jt,"0px")},ta=(t,e=0,n=0,o)=>{let r=_(function(){o(Po(t,e,n))},25);return window.addEventListener("scroll",r,$),window.addEventListener("resize",r,$),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r)}},Po=(t,e=0,n=0)=>{e===0&&(e=.01),n===0&&(n=.01);let{top:o,left:r,bottom:i,right:s}=t.getBoundingClientRect(),{innerHeight:a,innerWidth:c}=window,u=e?a*(1-parseFloat(e)/100):0,d=n?a*(parseFloat(n)/100):a;return o<=u&&r>=0&&i>=d&&s<=c};W(function(){mn=window.innerWidth-document.body.offsetWidth,Se(gn,mn+"px"),Se(jt,"0px")});function Se(t,e){document.querySelector(":root").style.setProperty(t,e)}function Mo(t,e,n,o,r,i=null){let s=t===window;return ge(a=>{let c=typeof i=="function"?i():i;if(a<o){let u=e+(c-e)*n(a/o);t.scrollTo(0,u),s&&document.body.scrollTo(0,u)}else return t.scrollTo(0,c),s&&document.body.scrollTo(0,c),r(),!1})}function Ho(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 zo=(t,e)=>(n,{after:o}={})=>{t(n);let r=Ho(n);return()=>{e(n),r(),typeof o=="function"&&o()}},ea=zo(t=>t.style.setProperty("opacity",1,"important"),t=>t.style.removeProperty("opacity")),na=(t,{animation:e,className:n,timeout:o,remove:r},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=o?sn(t).animationTime:0;t.csAnimationEndingTimeout&&clearTimeout(t.csAnimationEndingTimeout);let a=Nt(()=>{r&&(t.csAnimationEndingTimeout=setTimeout(function(){t.style.animationName===e&&t.style.setProperty("animation-name","")},250)),i()});Et(t,"animationend",a),o&&setTimeout(a,s)};function oa(t,e,n){e=typeof e=="number"?Ot(e.toString()):typeof e=="string"?Ot(e):e;let o=(r,i,s,a)=>{let c,u=i[a];if(i.length>a){if(Array.isArray(r))try{u=vn(u,r),c=r.slice()}catch(d){if(r.length===0)c={};else throw new Error(d)}else c=Object.assign({},r);return c[u]=o(r[u]!==void 0?r[u]:{},i,s,a+1),c}return typeof s=="function"?s(r):s};return o(t,e,n,0)}function ra(t,e,n){e=typeof e=="number"?Ot(e.toString()):typeof e=="string"?Ot(e):e;for(var o=0;o<e.length;o++){if(t===null||typeof t!="object")return n;let r=e[o];Array.isArray(t)&&r==="$end"&&(r=t.length-1),t=t[r]}return typeof t=="undefined"?n:t}function ia(t,e){e=typeof e=="number"?Ot(e.toString()):typeof e=="string"?Ot(e):e;let n=(o,r,i)=>{let s,a=r[i];return o===null||typeof o!="object"||!Array.isArray(o)&&o[a]===void 0?o:r.length-1>i?(Array.isArray(o)?(a=vn(a,o),s=o.slice()):s=Object.assign({},o),s[a]=n(o[a],r,i+1),s):(Array.isArray(o)?(a=vn(a,o),s=[].concat(o.slice(0,a),o.slice(a+1))):(s=Object.assign({},o),delete s[a]),s)};return n(t,e,0)}function vn(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 Ot(t){return t.split(".").reduce((e,n,o,r)=>{let i=o>0&&r[o-1];if(i&&/(?:^|[^\\])\\$/.test(i)){let s=e.pop();e.push(s.slice(0,-1)+"."+n)}else e.push(n);return e},[])}var wn={get:ra,set:oa,deleteProperty:ia};var $o=(t,e)=>e&&typeof t=="object"?wn.get(t,Ft(e)):t,sa=(t,e,n)=>e&&typeof t=="object"?{...t,[Ft(e)]:n}:n;function yt(t,e){if(Array.isArray(e))return e.map(i=>yt(t,i));if(typeof e=="function")return yt(t,e(t));if(typeof e=="object")return Object.keys(e).reduce((i,s)=>(i[s]=yt(t,e[s]),i),{});if(typeof e!="string")return e;let n,o=()=>(n||(n=window.getComputedStyle(t)),n),r=cn.get(t);return e.replace(/var\(([\w-]+)(?:\s*,\s*(.+?))?\)/g,(i,s,a="")=>o().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=wn.get(r,s);return typeof c=="undefined"?a:c})}var aa=(t,e,n)=>{let o=t,r=e;return n==="IN"?o.includes(r):n==="NOT IN"?!o.includes(r):((typeof o=="boolean"||typeof r=="boolean")&&(o=!!o,r=!!r),n===">"||n==="<"?o>r:n===">="||n==="<="?o>=r:n==="="||n==="=="?o==r:n==="!="?o!=r:n=="==="?o===r:n=="!=="?o!==r:!0)},xn=(t,e)=>{if(typeof t=="undefined")return null;if(!Array.isArray(t))return xn([t,"==",e]);let[n,o,r]=t;return t.length<=0?null:[n,o,r||e]},ca=(t,e,n,o)=>{try{let r=xn(e,o);if(!r)return!0;let[i,s,a]=r;return aa($o(n,yt(t,a)),yt(t,i),yt(t,s))}catch(r){console.warn("Failed to check condition. Make sure your state contains the key you are checking",r,{el:t,condition:e,state:n})}return!1};var Qt=new Map,bn=new Map,Te=(...t)=>void console.warn(...t),st=(t,e)=>{if(Qt.has(t))return Te("Rivet archetypes can not be redefined");bn.set(t,typeof e=="function"?e:(n,...o)=>n(...o))},vt=(t,e,n,o={})=>{if(Qt.has(e))return Te(`Rivet ${e} already registered`);if(!bn.has(t))return Te("Rivet archetype unknown",t);Qt.set(e,{archetype:t,handler:n,config:o})};function Ae({el:t,handle:e,handles:n,defaultOption:o,options:r}){var l;let i=n||[e],s=i.find(({type:h})=>h&&Qt.has(h));if(!s)return Te(`Unknown rivet type: ${(l=i[0])==null?void 0:l.type}`,t);let{handler:a,config:{defaultOption:c,priority:u=0,...d}={},archetype:f}=Qt.get(s.type),p=c&&o?{[c]:o}:{};return[u,()=>bn.get(f)(a,t,{...p,...r||{}},s.name,d)]}function Ee(t){return t.sort(([e],[n])=>e-n)}var Sn="data-rvt";function Ro(t=window.document.body){return he(Tn)(t)}function Tn(t){if(t.hasAttributes()){let e=t.attributes;for(let n=e.length-1;n>=0;n--)if(e[n].name.indexOf(Sn)===0)return!0}return!1}function la(t,e){let n=Lt(t,e);return typeof n!="object"&&typeof n!="undefined"&&n!==""?{defaultOption:n,options:{}}:{options:n}}function ua(t){let e=new Set;for(let n=t.attributes.length-1;n>=0;n--){let o=t.attributes[n].name;if(o.indexOf(Sn)!==0)continue;let r=o.substr(Sn.length+1),i=r.split("-");e.add({el:t,handles:[{type:r,name:"default"},{name:i.pop(),type:i.join("-")}],...la(t,o)})}return e}function An(t){return J(Ee(Array.from(ua(t)).map(e=>Ae(e)).filter(e=>!!e)).map(([,e])=>e()))}function qo(t,e){try{return t&&t.matches&&t.matches(e)}catch{}return!1}function Ce(t){try{return window.document.querySelectorAll(t)}catch(e){console.warn(e)}return[]}var Do=!1,Fo=null,_o,En=new Set,Cn=new Set,Le=new WeakMap,It=new WeakMap;function T(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 o={handler:e,selector:t,priority:n};En.add(o),Do&&fa(o)}function fa(t){clearTimeout(_o),Cn.add(t),_o=setTimeout(()=>{let e=Array.from(Cn.values());Cn.clear(),Bo(e)},0)}function Bo(t){t.sort(({priority:e},{priority:n})=>e-n),t.forEach(({selector:e,handler:n})=>{Array.from(Ce(e)).forEach(o=>{ke(o,n,Wo(e,o))})})}function Wo(t,e){let n=t.match(/(data-[\w-]+)/g)||[];return n&&n.length?n=n.pop():n=null,n?Lt(e,n):null}function ke(t,e,n){try{if(da(t,e)||!document.body.contains(t))return;pa(t,e);let o=Gt(e.call(window,t,n));Array.isArray(o)&&o.map(r=>{No(t,r)}),typeof o=="function"&&No(t,o)}catch(o){console.warn("Failed to attach handler to element",t,e,n,o)}}function No(t,e){typeof e=="function"&&(Le.get(t)||Le.set(t,new Set),Le.get(t).add(e))}function da(t,e){return It.get(t)&&It.get(t).get(e)}function pa(t,e){It.get(t)||It.set(t,new WeakMap),It.get(t).set(e,!0)}window.document.addEventListener("DOMContentLoaded",()=>{Ro().forEach(t=>{ke(t,e=>An(e))}),Bo(Array.from(En.values())),Fo=new MutationObserver(function(t){t.reduce((e,n)=>{for(let o=0;o<n.addedNodes.length;o++)n.addedNodes[o].nodeType===1&&e.push(n.addedNodes[o]);return e},[]).forEach(function e(n){if(!!n){if(n.children&&n.children.length>0)for(let o=0;o<n.children.length;o++){if(!n)return;e(n.children[o])}Tn(n)&&ke(n,o=>An(o)),En.forEach(({selector:o,handler:r})=>{n&&qo(n,o)&&ke(n,r,Wo(o,n))})}}),t.reduce((e,n)=>{for(let o=0;o<n.removedNodes.length;o++){let r=n.removedNodes[o];r.nodeType===1&&!document.contains(r)&&e.push(r)}return e},[]).forEach(function e(n){if(n.children&&n.children.length>0)for(let r=0;r<n.children.length;r++)e(n.children[r]);let o=Le.get(n);if(o)for(let r of o.values())r.call(window,n),o.delete(r),It.delete(n)})}),Fo.observe(window.document.body,{childList:!0,subtree:!0}),Do=!0});var Z={};Je(Z,{container:()=>L,initState:()=>Ta,makeDetectStateChange:()=>Go,makeDispatch:()=>va,makeInspect:()=>ya,subscribe:()=>wa});var L={providers:new Map,subscribers:new Map,relationships:new Map,providerIndex:new WeakMap,subscriberIndex:new WeakMap},Vo=(()=>{let t=0;return()=>t++})();function Go(t){let e={};return n=>{let o=t.filter(r=>e[r]!==n[r]);return t.forEach(r=>{e[r]=n[r]}),o}}var Uo=(t,e)=>{var n,o;return(o=(n=L.subscriberIndex.get(t))==null?void 0:n.get(e))==null?void 0:o.id},Yo=t=>L.providers.get(L.relationships.get(t)),jo=(t,e)=>Yo(Uo(t,e)),ha=(t,e)=>L.providerIndex.has(t)&&L.providerIndex.get(t).has(e),Qo=(t,e)=>{let n=rn(o=>ha(o,e))(t);return n?L.providerIndex.get(n).get(e):null},Pt=new WeakMap;window.addEventListener("rvt-store-provider",()=>{Pt=new WeakMap});var Jo=(t,e)=>(Pt.get(t)||Pt.set(t,{}),Pt.get(t).name||(Pt.get(t).name=L.providers.get(Qo(t,e))),Pt.get(t).name),Zo=(t,e=!1)=>{let n=Yo(t);if(!n)return;let o=L.subscribers.get(t);if(!!o)for(let r of o.values()){let[i,s]=r;i(n.state,s(n.state),e)}},ma=(t,e,n)=>{let o,r=()=>{let s=L.relationships.get(t),a=Qo(e,n);s!==a&&(L.relationships.set(t,a),clearTimeout(o),o=setTimeout(()=>Zo(t,!0),10))},i=tt(window,"rvt-store-provider",r);return r(),()=>{clearTimeout(o),i()}},ga=(t,e)=>[typeof t=="function"?t:()=>{},Go(Array.isArray(e)?e:[])],ya=(t,e)=>()=>{var n;return(n=Jo(t,e))==null?void 0:n.state},va=(t,e)=>n=>{var o;return(o=Jo(t,e))==null?void 0:o.dispatch(n)},wa=(t,e,n=()=>{},o=[])=>{let r=ga(n,o);if(L.subscriberIndex.has(t)||L.subscriberIndex.set(t,new Map),!L.subscriberIndex.get(t).has(e)){let s=Vo();L.subscribers.set(s,new Set),L.subscriberIndex.get(t).set(e,{id:s,teardown:ma(s,t,e)})}return L.subscribers.get(Uo(t,e)).add(r),{unsubscribe:()=>{let{id:s,teardown:a}=L.subscriberIndex.get(t).get(e),c=L.subscribers.get(s);c.delete(r),c.size===0&&(L.subscribers.delete(s),L.relationships.delete(s),L.subscriberIndex.get(t).delete(e),a())},getState:()=>{var s,a;return(a=(s=jo(t,e))==null?void 0:s.state)!=null?a:{}},dispatch:s=>{var a;return(a=jo(t,e))==null?void 0:a.dispatch(s)}}},xa=t=>typeof t!="function"?e=>e:(...e)=>t(...e),ba=t=>{let e;return n=>{let{state:o,...r}=L.providers.get(t);L.providers.set(t,{...r,state:r.reducer(n(o))}),cancelAnimationFrame(e),e=requestAnimationFrame(()=>{for(let[i,s]of L.relationships)s===t&&Zo(i)})}},Sa=(t,e,{_reducer:n,...o})=>{if(L.providerIndex.get(t)||L.providerIndex.set(t,new Map),L.providerIndex.get(t).has(e))return;let r=xa(n),i=Vo();return L.providers.set(i,{reducer:r,state:r(o),dispatch:ba(i)}),L.providerIndex.get(t).set(e,i),window.dispatchEvent(new CustomEvent("rvt-store-provider")),()=>{L.providers.delete(i),L.providerIndex.get(t).delete(e)}},Ta=(t,e={},n=window.document.documentElement)=>{if(!t){console.warn("States must set an ID",t,e,n);return}return Sa(n,t,e)};var Ko=Ut(!1);function Jt(t){return Ko.has(t)}Jt.enable=function(t){Ko.set(t,!0)};var wt=(...t)=>vt("action",...t),et=(...t)=>vt("observer",...t),xt=(...t)=>vt("behavior",...t),Zt=(...t)=>vt("innate",...t),Ln=(...t)=>vt("macro",...t),U=(...t)=>vt("event",...t);function Aa(t,e,n={},o="default"){let r={el:t,handle:{type:e,name:o}};return typeof n=="string"?(r.defaultOption=n,r.options={}):r.options=n,Ae(r)}function Kt(t){return J(Ee(t.filter(e=>!!e).map(e=>Aa(...e)).filter(e=>!!e)).map(([,e])=>e()))}var{rivetListener:Ea,rivetDispatch:Ca,expandElementValue:Xo,onScanLazy:La}=S;st("behavior");st("innate");st("macro",(t,e,n,o)=>t(e,Kt,n,o));st("action",(t,e,n,o)=>{let r=()=>void t(e,Xo(e,n));return Ea(e,o,i=>{n.defer?setTimeout(r,0):r()})});st("event",(t,e,n,o)=>t(()=>Ca(e,o),Xo(e,n),e));st("observer",(t,e,n,o="",{scan:r})=>{let[i,s=[]]=(typeof t=="function"?[t]:t)||[],a=i(e,n),[c,u]=Array.isArray(a)?a:[a,()=>{}],{unsubscribe:d,getState:f}=Z.subscribe(e,o,c,s),p=r?La(()=>c(f(),[],!1,!0)):()=>{};return[d,u,p]});var{expandElementValue:ka,getStateValue:Oa}=S;et("outlet",(t,{key:e})=>{let n=t.innerHTML;return o=>{try{let r=Oa(o,ka(t,e));t.innerHTML=typeof r=="undefined"?n:r}catch(r){console.warn("Unable to update Rivet outlet",r,{key:e,state:o,el:t})}}},{defaultOption:"key"});var{listener:tr}=S,Ia=["click","focus","focusin","focusout","blur"];Ia.forEach(t=>{U(`on${t}`,(e,{preventDefault:n=!0,stopPropagation:o=!1,once:r=!1},i)=>{let s;return tr(i,t,a=>{r&&s||(s=!0,n&&a.preventDefault(),o&&a.stopPropagation(),e())})})});var Pa=["keydown","keyup"];Pa.forEach(t=>{U(`on${t}`,(e,{key:n,preventDefault:o=!0,stopPropagation:r=!1,once:i=!1},s)=>{let a;return tr(document,t,c=>{i&&a||(a=!0,c.key===n&&(o&&c.preventDefault(),r&&c.stopPropagation(),e()))})},{defaultOption:"key"})});var{throttle:Ma,debounce:Ha,onLoad:za,onScanLazy:$a,triggerScan:Ra,listener:Oe}=S;U("onready",t=>{setTimeout(()=>void t(),0)});U("onload",t=>za(t));U("onexit",(t,{delay:e=1e3,repeat:n=!1})=>{let o,r=!1;return Oe(document,"mouseout",i=>{clearTimeout(o),!i.toElement&&!i.relatedTarget&&!r&&(o=setTimeout(()=>void t(),e),n||(r=!0))})},{defaultOption:"delay"});U("onresize",(t,{throttle:e=50})=>Oe(window,"resize",Ma(t,e,{trailing:!0}),$),{defaultOption:"throttle"});U("onresized",(t,{debounce:e=500})=>Oe(window,"resize",Ha(t,e,{trailing:!0}),$),{defaultOption:"debounce"});U("onscan",(t,e)=>$a(t,e),{defaultOption:"throttle"});T("img",t=>Oe(t,"load",()=>void Ra()));var{animateTopOffset:qa,makeDirectionalEasing:Da,intersect:Fa}=S,er,nr,Ie=!1,Pe=new Map;function or(){er=window.innerHeight}window.addEventListener("resize",or);or();function _a(t,{prop:e,easingFn:n}){let{top:o,height:r}=t.getBoundingClientRect(),i=o+r/2,s=er/2;t.style.setProperty(e,n((i-s)/s))}function rr(){if(!!Ie){for(let[t,e]of Pe)_a(t,e);nr=requestAnimationFrame(rr)}}var Ba=(t,e)=>{Pe.set(t,e),!Ie&&(Ie=!0,nr=requestAnimationFrame(rr))},ir=t=>{Pe.delete(t),Pe.size<=0&&(Ie=!1)};xt("intersect",(t,{easing:e="linear",prop:n="--rvt-intersect"})=>[Fa(t,({isIntersecting:r})=>{r?Ba(t,{easingFn:Da(e),prop:n}):ir(t)},{threshold:0,top:"0px",bottom:"0px"}),()=>void ir(t)],{defaultOption:"prop"});wt("scroll-to-top",(t,{offset:e,speed:n,easing:o="easeInOutExpo"})=>{qa(e,n,o)},{defaultOption:"offset"});Ln("scroll-top",(t,e)=>e([[t,"onclick"],[t,"scroll-to-top"]]));var{ensureNumber:sr,updateStateKey:ar,getStateValue:Wa,expandElementValue:Me}=S;Zt("define",(t,e={},n)=>{if(!n.match(/^\w+$/)){console.warn("Rivet state keys must be alphanumeric");return}let{_reducer:o,...r}=e.__value||e||{};Z.initState(n,{_reducer:o,...Me(t,r)},t)},{defaultOption:"__value",priority:-1});wt("set",(t,{state:e,key:n,value:o})=>{Z.makeDispatch(t,e)(r=>ar(r,Me(t,n),o))});var Na=(t,e,n)=>{let o=t.includes(e);return n&&o?t.filter(r=>r!==e):o?t:[...t,e]};wt("list",(t,{state:e,key:n,value:o,toggle:r=!0})=>{Z.makeDispatch(t,e)(s=>{let a=Me(t,n),c=Wa(s,a);return Array.isArray(c)?ar(s,a,Na(c,o,r)):s})});wt("inc",(t,{state:e,key:n,amount:o=1,min:r=null,max:i=null,wrap:s=!1})=>{let a=Z.makeDispatch(t,e),c=u=>sr(u)+sr(o);a(u=>{let d=Me(t,n);return d?{...u||{},[d]:c(u[d])}:c(u)})},{defaultOption:"state"});Zt("debug",t=>{Jt.enable(t),t.removeAttribute("data-rvt-debug")},{defaultOption:"message"});var{isScalar:cr,getTransitionDuration:Va,getStateValue:On,expandElementValue:He,evaluateCondition:ze,listener:Ga,fontCompress:Ua,addClass:lr,removeClass:Ya}=S,ja=(t,e)=>{let n=t||"$v";return cr(n)?cr(e)?`${n}`.replace("$v",e):n==="$v"?"":n:""};et("classname",(t,{key:e,classname:n,condition:o})=>{let r="";return i=>{let s=On(i,He(t,e)),c=ze(t,o,i,e)?ja(n,s):"";c!==r&&(r&&t.classList.contains(r)&&t.classList.remove(r),c&&!t.classList.contains(c)&&t.classList.add(c)),r=c}},{defaultOption:"classname"});et("prop",(t,{key:e,prop:n,value:o,condition:r})=>{let i=null;return s=>{let a=On(s,He(t,e));ze(t,r,s,e)?a!==i&&t.style.setProperty(n,typeof o=="undefined"?a:o):a!==i&&t.style.removeProperty(n),i=a}},{defaultOption:"key"});et("attr",(t,{key:e,attr:n,value:o,condition:r})=>{let i=null;return s=>{let a=On(s,He(t,e));ze(t,r,s,e)?a!==i&&t.setAttribute(n,typeof o=="undefined"?a:o):a!==i&&t.removeAttribute(n),i=a}},{defaultOption:"key"});et("height",(t,{key:e,condition:n,selector:o})=>{let r,i;return(s,a,c,u)=>{if(e&&!u){let f=He(t,e);if(s[f]===r)return;r=s[f]}let d=ze(t,n,s,e);setTimeout(()=>{if(d){let[f,...p]=Array.from(t.querySelectorAll(o)).map(l=>l.offsetHeight).sort((l,h)=>h-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);xt("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 o,r=()=>{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=()=>{o=setTimeout(()=>{i(),e==="close"&&r()},Va(n,300)+100)},a=c=>{clearTimeout(o),c?(e==="open"&&i(),r()):e!=="open"&&s()};return e==="close"&&r(),Ga(n,"tco-toggle",({detail:{state:c}={}})=>void a(c))},{defaultOption:"mode"});xt("font-compress",(t,e)=>Ua(t,e));var Qa=(t,e)=>{try{if(e)return Array.from(t.querySelectorAll(e))}catch{}return t};xt("inner-wrap",(t,{selector:e="",tag:n="span",class:o=""})=>Qa(t,e).map(r=>{let i=document.createElement(n);lr(i,"has-been-tagged"),o&&lr(i,o),Array.from(r.childNodes).forEach(s=>{i.appendChild(s)}),r.append(i),i.offsetHeight,Ya(i,"has-been-tagged")}),{defaultOption:"selector"});var In={...kn};var{toggleClass:ur,listener:Kf,PASSIVE_ARGS:Ja}=S;T("[data-x-bar]",(t,{scrollButtons:e})=>{if(!e)return;let n=t.querySelector(".x-bar-scroll-inner"),o=t.querySelector(".x-bar-content"),r=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,d=()=>{let m=parseInt(window.getComputedStyle(n).width),g=parseInt(window.getComputedStyle(n,":before").width),y=parseInt(window.getComputedStyle(o).width);s=m,a=m-g*2,c=y,u=n.scrollLeft;let v=u<=0,w=c-u-a<=0;ur(r,"is-active",!v),ur(i,"is-active",!w)},f=m=>n.scrollTo({top:0,left:m,behavior:"smooth"}),p=()=>{f(Math.max(u-s,0))},l=()=>{f(Math.min(u+s,c-a))};d();let h=_(d,50);window.addEventListener("resize",h),n.addEventListener("scroll",h,Ja),r.addEventListener("mouseup",function(){p()}),i.addEventListener("mouseup",function(){l()})});var at={},Mt={};function Za(t,e){at[t]||(at[t]=[]),at[t].push(typeof e=="function"?e:()=>e)}function Ka(t,e){if(!at[t])return;let n=at[t].indexOf(e);at[t].splice(n,1)}function Xa(t,e){Mt[t]||(Mt[t]=[]),Mt[t].push(e)}function tc(){let t=[...arguments],e=t.shift(),n=t.shift(),o=at[e]?at[e]:[];return(Mt[e]?Mt[e]:[]).forEach(i=>i.call(this,n,...t)),o.reduce((i,s)=>s.call(this,i,...t),n)}var D={filter:Za,action:Xa,apply:tc,filters:at,actions:Mt,remove_filter:Ka};var{animateTopOffset:ec,scrollOffset:nc}=S,Ht,fr=!1,Pn;function dr(){if(!fr){Ht=0;let t=_(dr,50);window.addEventListener("resize",t,$),Pn=document.querySelector("#wpadminbar"),fr=!0}if(Pn){let{position:t,height:e}=window.getComputedStyle(Pn);Ht=t==="fixed"?parseInt(e):0}return Ht}var Y=()=>Ht!=null?Ht:dr(),zt=()=>D.apply("fixed_top_offset",0),oc=(t,e,n)=>{if(t instanceof Element){let{bottom:o,top:r}=nc(t);return e?o-n:r+n}return(typeof t=="number"?t:parseFloat(t))+n},pr=(t,{offsetTop:e=!0,duration:n,easing:o,bottom:r=!1}={})=>{ec(()=>oc(t,r,e?zt():0),n,o)};window.csGlobal=window.csGlobal||{};window.csJsData=window.csJsData||{};window.csGlobal.rivet=In;window.csGlobal._=window.csGlobal.rivet.util;window.csGlobal.everinit=In.attach;window.csGlobal.adminBarOffset=Y;window.csGlobal.fixedTopOffset=zt;window.csGlobal.scrollTo=pr;window.csGlobal.csHooks=D;window.document.documentElement.classList.remove("no-js");window.document.documentElement.classList.add("js");var{onScrollRaw:rc,onResize:ic,oncePassive:hr,elementIndex:mr,addClass:Mn,removeClass:Hn,toggleClass:yd,hasClass:bt}=S,gr=t=>getComputedStyle(t).display!=="none",yr=0,vr=!1,zn=!1;function wr(t){var p,l,h;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 o=[];xr(n["margin-left"])||o.push(n["margin-left"]),xr(n["margin-right"])||o.push(n["margin-right"]);var r="";o.length>0&&(r=o.length===1?o[0]:"("+o.join(" + ")+")");let i=(h=(l=(p=document.querySelector("body.x-stack-icon .x-sidebar .max.width:not(.x-container)"))==null?void 0:p.parentElement)==null?void 0:l.offsetWidth)!=null?h:0,s=Array.from(document.querySelectorAll(".x-bar-space-v")).reduce((m,g)=>m+g.offsetWidth,i),a=Array.from(document.querySelectorAll(".x-bar-left")).reduce((m,g)=>m+g.offsetWidth,i),c="";a&&(c="calc(0px + "+a+"px)");var u="";s>0&&(u+=" - "+s+"px"),r&&(u+=" - "+r),u+=" - "+yn,t.style.width="calc(100%"+u+")",t.style.left=c;var d=window.getComputedStyle(e),f=d["max-width"];f&&f!=="none"&&(t.style.maxWidth=r?"calc("+f+" - "+r+")":f)}function xr(t){return t.trim().split(" ").filter(e=>!e.match(/^0[a-zA-Z%]+|0$|none$/)).length===0}T("[data-x-bar]",function(t,e){if(e.region==="top"||e.region==="bottom")return S.onViewportChange(()=>{wr(t)},!0)});var $e=/__cs_debug/.test(location.href),br=!1,$t=[],nt=[],Xt=[],$n,te=!1;function Re(t){let e=$t.map(r=>r.id),n=!1,o=$t.filter(({el:r,id:i})=>{let s=e.indexOf(i);return s!==e.lastIndexOf(i)?(n=!0,e.splice(s,1),!1):window.document.body.contains(r)?!0:(n=!0,!1)});return(n||t)&&(o=o.sort((r,i)=>mr(r.el)-mr(i.el))),n?($t=o,nt=$t,setTimeout(Rn,0),!0):!1}function Rn(){if(Re()||!Y)return;nt=$t.filter(({el:r})=>gr(r));let t=Y(),e=0,n=0,o=0;lc(),nt.forEach(r=>{var{height:i}=r.el.getBoundingClientRect();r.height=i=Math.round(i),r.goal&&r.space&&(r.space.style.height=i+"px"),r.goal||(r.shrinkHeight=Tr(i,r.props.shrink)),r.triggerOffset=parseInt(r.props.triggerOffset),isNaN(r.triggerOffset)&&(r.triggerOffset=0)}),Xt=nt.map((r,i)=>{let{el:s,props:a,height:c,shrinkHeight:u,triggerOffset:d,goal:f}=r,p=o++===0,l=a.zStack&&!p,{marginTop:h}=getComputedStyle(s);var m=parseFloat(h),g=a.keepMargin?m:0,{top:y,bottom:v}=s.getBoundingClientRect();let w=0,C=s.parentNode.getBoundingClientRect().top-Y();C+=window.scrollY;let x=s.parentNode.childNodes;for(let G=0;G<x.length;++G){let rt=x[G];if(!!rt.getBoundingClientRect){if(rt===s)break;bt(rt,"x-bar-space")||bt(rt,"x-bar-is-sticky")||(w+=rt.getBoundingClientRect().height)}}y=C+d+(w-e)+Y();let A=d+w+C+Y(),P=document.body.scrollTop,I=P+y;if(a.triggerSelector)try{let G=document.querySelector(a.triggerSelector);if(G){let{top:rt}=G.getBoundingClientRect();A=rt+P+d-u}}catch(G){$e&&console.warn(G)}else a.hideInitially?(A+=c,A+=d):d>0&&(A+=d+c);l?A+=u:A-=g;let M=Y()+e;qn(A,"red");let F=t+n;a.keepMargin||(F+=m,M-=m),A=Math.floor(A),qn(A,"green"),t=A,l?(M-=u+g,M=Math.max(M,Y())):e+=u+g;let V=a.hideInitially||I<A||I+c<M;n+=c-u;let B=u+e;qn(B,"orange"),a.keepMargin&&(B+=m),B=Math.ceil(B);let ue=g?`calc( -100% - ${g}px)`:"-100%";return f&&M!==Xt[i].top&&(s.style.top=`${M}px`),{offset:A,bottom:v,top:M,slide:V,elOffset:I,topOffset:B,translateY:ue,startsFixed:r.startsFixed,firstBar:p,only_show_on_scroll_up:a.only_show_on_scroll_up}}),$e&&nt.forEach(function(r,i){console.log(`Bar: ${i}`,r)}),qe()}function qe(){if(te||Re()||zn||document.body.classList.contains("x-body-scroll-disabled"))return;zn=!0;let t=window.scrollY+Y(),e=t-yr,n=e===0?vr:e<0&&window.scrollY!==0;yr=t,vr=n;let o=Xt.reduce((i,{offset:s,only_show_on_scroll_up:a,startsFixed:c},u)=>(c?t>=s:t>s)&&(!a||n)?u:i,-1),r=!1;nt.forEach((i,s)=>{let a=i.goal;i.goal=o>=s,a!==i.goal&&(r=!0)}),r&&requestAnimationFrame(Sr),zn=!1}function Sr(){if(te)return;let t=sc();t?(te=!0,t(()=>{te=!1,Sr()})):(te=!1,window.dispatchEvent(new CustomEvent("cs-sticky-bar-post-transition")),setTimeout(qe,0))}function sc(){let t=-1,e=nt.map(n=>{let{goal:o,el:r}=n,i=n.fixedOnce;return{goal:o,fixed:bt(r,"x-bar-fixed")&&i}});if(e.forEach(({goal:n,fixed:o},r)=>{let i=n===o;!i&&t===-1&&(t=r),!i&&r>0&&e[r-1].fixed&&Xt[r].slide&&(t=r)}),t!==-1){let n=nt[t],o=n.goal;if(!o&&!bt(n.el,"x-bar-fixed"))return!1;let r=o?ac:cc;return i=>r(nt[t],Xt[t],{st:window.scrollY,done:i})}return!1}function ac(t,{top:e,slide:n,elOffset:o,translateY:r,firstBar:i,only_show_on_scroll_up:s},{st:a,done:c}){let{el:u,space:d,content:f,shrinkHeight:p,height:l}=t;t.fixedOnce=!0;let h={top:`${e}px`},m=n||!i&&o+p<a+e||s;if(t.slideEnabled||(m=!1),p&&l!==p){h.height=p;let{paddingTop:w,paddingBottom:b}=getComputedStyle(u);f.style.height=`calc(${p}px - (${w} + ${b}))`,u.style.height=`calc(${p}px - (${w} + ${b}))`}m&&(h.transform=`translate3d( 0, ${r}, 0)`);let g=()=>c();if(Object.entries(h).forEach(([w,b])=>{u.style.setProperty(w,b)}),d){d.style.display="";let w=l+"px";w!==d.style.height&&(d.style.height=w)}$n.forEach(w=>void Mn(u,w)),Hn(u,"x-bar-is-initially-hidden"),wr(u);let v=window.getComputedStyle(u)["transition-duration"];v=v?parseFloat(v.replace("s","")):0,m?(Mn(u,"x-bar-is-visible"),u.style.transform="",v!==0?hr(u,"transitionend",g):c()):c()}function cc({el:t,space:e,props:n,content:o,shrinkHeight:r,slideEnabled:i},{top:s,slide:a,elOffset:c,translateY:u,firstBar:d,only_show_on_scroll_up:f},{st:p,done:l}){let h=parseFloat(n.shrink),m=!1,g=a||!d&&c+r<p+s||f&&c+r<p+s;i||(g=!1);function y(){let b=window.getComputedStyle(t)["transition-duration"];if(b=b?parseFloat(b.replace("s","")):0,b===0){v();return}hr(t,"transitionend",v),setTimeout(v,b*1e3+100)}n.hideInitially&&Mn(t,"x-bar-is-initially-hidden");function v(){m||(m=!0,o.style.height="",t.style.top="",t.style.transform="",t.style.height="",t.style.left="",t.style.width="",$n.forEach(w=>Hn(t,w)),Hn(t,"x-bar-is-visible"),e&&(e.style.display="none"),l())}g?(t.style.transform=`translate3d( 0, ${u}, 0)`,y()):!isNaN(h)&&h<1?(o.style.height="",t.style.height="",y()):v()}function lc(){!$e||Ce(".cs-sticky-bar-waypoint-debug").forEach(function(t){t.remove()})}function qn(t,e="red",n="white"){if(!$e)return;let o=`<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; transform: translate3d(0,-50%,0);";>${t}</span></div>`,r=document.createElement("div");r.innerHTML=o,document.body.appendChild(r.childNodes[0])}function uc(){let t=0;return nt.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,uc()+Y()));var Dn=()=>{Re(!0)||Rn()},Fn=()=>{Re(!0),Rn()};function fc(){if(typeof window.ResizeObserver=="undefined")return;let t=window.document.body.clientHeight;new ResizeObserver(_(function(n){!n||document.body.classList.contains("x-body-scroll-disabled")||t!==window.document.body.clientHeight&&(t=window.document.body.clientHeight,Dn())},100)).observe(document.body)}T("[data-x-bar]",(t,e)=>{br||($n=(bt(document.body,"x-boxed-layout-active")?"x-bar-fixed x-container max width":"x-bar-fixed").split(" "),W(Dn),ic(Dn),rc(qe),fc(),br=!0);let{id:n,region:o}=e;if(!bt(t,"x-bar-is-sticky")||o!=="top")return;var{top:r,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:bt(t,"x-bar-fixed"),slideEnabled:!!e.slideEnabled,fixedOnced:!1,shrinkHeight:Tr(i,e.shrink),space:s,scrollOffset:e.scrollOffset,content:t.querySelector(".x-bar-content"),visible:gr(t),startingRectTop:r};return $t.push(a),Fn(),setTimeout(function(){Fn()},1e3),function(){Fn(),qe()}});function Tr(t,e){return!isNaN(e)&&e>0?e*t:t}var{listener:dc,oncePassive:pc}=S;T('.x-alert [data-dismiss="alert"]',t=>dc(t,"click",e=>{e.preventDefault();let n=t.parentElement;n.classList.remove("in"),n.classList.remove("x-effect-enter"),pc(n,"transitionend",()=>{if(window.csGlobal&&window.csGlobal.isPreview){n.style.display="none";return}n.remove()})}));var{util:hc}=window.csGlobal.rivet,{addClass:ee,removeClass:ne,hasClass:De}=hc;function Rt(t,e){if(e){if(!t||De(t,"x-anchor-layered-back"))return;ee(t,"x-active")}else ne(t,"x-active")}function _n(t,e){if(e){if(!t||De(t,"x-active")||De(t,"x-currently-active"))return;ee(t,"x-currently-active")}else ne(t,"x-currently-active")}function Ar(t){setTimeout(()=>{let e=t.closest(".x-menu");e.addEventListener("transitionend",function(n){let o=e.getBoundingClientRect().top;if(o<0&&n.propertyName==="height"){let r=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);r=Math.max(0,o+s-a-c)}i.scrollTo({top:r,left:0,behavior:"smooth"})}})},0)}function mc(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop)+parseInt(n.marginBottom),e}var Er=t=>Math.max(t.offsetHeight,Array.from(t.children).reduce((e,n)=>e+mc(n)||0,0)),Cr=(t,e)=>{let n=t.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${e}px`)};function gc(t){Cr(t,Er(t));let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);ne(e,"x-current-layer"),ee(e,"x-prev-layer"),ee(t,"x-current-layer"),Ar(t)}function yc(t){let e=t.closest(`ul:not([data-x-toggleable="${t.getAttribute("data-x-toggleable")}"])`);!De(e,"x-prev-layer")||(Cr(t,Er(e)),ne(t,"x-current-layer"),ee(e,"x-current-layer"),ne(e,"x-prev-layer"),Ar(t))}function Lr(t,e){return e?gc(t):yc(t)}function kr(t,e,n){var o,r,i,s,a=!1,c=!1,u={},d=0,f=0,p={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function l(x,A){return f&&(f=clearTimeout(f)),d=0,c?void 0:n.call(x,A)}function h(x){o=x.clientX,r=x.clientY}function m(x,A){if(f&&(f=clearTimeout(f)),Math.abs(i-o)+Math.abs(s-r)<p.sensitivity)return d=1,c?void 0:e.call(x,A);i=o,s=r,f=setTimeout(function(){m(x,A)},p.interval)}u.options=function(x){var A=x.handleFocus!==p.handleFocus;return p=Object.assign({},p,x),A&&(p.handleFocus?b():C()),u};function g(x){return a=!0,f&&(f=clearTimeout(f)),t.removeEventListener("mousemove",h,!1),d!==1&&(i=x.clientX,s=x.clientY,t.addEventListener("mousemove",h,!1),f=setTimeout(function(){m(t,x)},p.interval)),this}function y(x){return a=!1,f&&(f=clearTimeout(f)),t.removeEventListener("mousemove",h,!1),d===1&&(f=setTimeout(function(){l(t,x)},p.timeout)),this}function v(x){a||(c=!0,e.call(t,x))}function w(x){!a&&c&&(c=!1,n.call(t,x))}function b(){t.addEventListener("focus",v,!1),t.addEventListener("blur",w,!1)}function C(){t.removeEventListener("focus",v,!1),t.removeEventListener("blur",w,!1)}return u.remove=function(){!t||(t.removeEventListener("mouseover",g,!1),t.removeEventListener("mouseout",y,!1),C())},t&&(t.addEventListener("mouseover",g,!1),t.addEventListener("mouseout",y,!1)),u}var{util:vc}=window.csGlobal.rivet,{addClass:Bn,removeClass:Wn,hasClass:Sd,getOuterHeight:Or,oncePassive:Ir,makeAlternatingSynchronizer:wc}=vc,xc=t=>wc(e=>{if(!t.classList.contains("x-collapsed")){e();return}t.setAttribute("aria-hidden","false");let n=Or(t);Wn(t,"x-collapsed"),Bn(t,"x-collapsing"),t.offsetHeight,t.style.height=`${n}px`,Ir(t,"transitionend",()=>{Wn(t,"x-collapsing"),t.style.height="",e()})},e=>{t.setAttribute("aria-hidden","true"),t.style.height=`${Or(t)}px`,Bn(t,"x-collapsing"),t.offsetHeight,t.style.height="",Ir(t,"transitionend",()=>{Wn(t,"x-collapsing"),Bn(t,"x-collapsed"),e()})},void 0,!t.classList.contains("x-collapsed")),Nn=new WeakMap,bc=t=>(Nn.has(t)||Nn.set(t,xc(t)),Nn.get(t));function Pr(t,e){bc(t)(e)}var{util:Mr}=window.csGlobal.rivet,{listener:Sc,debounce:Hr,addClass:Tc,removeClass:Ac,hasClass:lt,toggleClass:K,oncePassive:zr,scrollingDisable:Ec,scrollingEnable:$r}=Mr,Fe=null,_e=t=>document.querySelector(`[data-x-toggleable="${t}"][data-x-toggle]`),Cc=t=>document.querySelector(`[data-x-toggleable="${t}"]:not([data-x-toggle])`),Rr=t=>t?t.parentElement.matches(".x-nav-tabs-item")?"classic-tab":t.getAttribute("data-x-toggle"):null,Lc=t=>["tab","classic-tab"].includes(Rr(t)),Vn=t=>t&&t.getAttribute("data-x-toggle-group"),kc=t=>!!document.querySelector(`[data-x-toggle-group="${t||""}"].x-active`),ut=(t,e)=>t&&(t.matches(e)?t:t.closest(e)),Oc=(t,e)=>t&&(t.matches(e)?t:t.querySelector(e)),Ic=t=>ut(t,"[data-x-toggle]"),qr=t=>ut(t,"[data-x-toggleable]"),j=t=>t&&t.getAttribute("data-x-toggleable"),Be=t=>t&&t.getAttribute("data-x-toggle-hash"),Pc=t=>t&&t.matches(".mce-content-body"),Mc=_(function(){window.dispatchEvent(new Event("resize"))},250),Hc=_(function(){window.dispatchEvent(new Event("rvt-scan"))},250);function zc(t,e=""){return document.querySelector(`[data-x-toggleable=${t}]${e}`)}var $c=t=>{let{marginTop:e,marginBottom:n}=getComputedStyle(t);return t.offsetHeight+parseInt(e)+parseInt(n)},oe=()=>window.location.hash.replace("#",""),Dr=t=>document.querySelectorAll(`[data-x-toggle-group="${Vn(t)}"]:not([data-x-toggleable="${j(t)}"])`),Rc=t=>document.querySelectorAll(`[data-x-toggle-group="${Vn(t)}"].x-active`);Mr.toggle={getOthersInGroup:Dr,getActiveInGroup:Rc};var qc=t=>{let e=Ic(t);return[e,j(e)]},Fr=t=>Array.from(document.querySelectorAll("[data-x-toggle-hash]")).filter(e=>Be(e)===t).map(j),re=t=>ut(t,"[data-x-toggleable]:not([data-x-toggle])"),We=(t,e)=>{let n=[],o,r=t;for(;o=r&&re(r);){let i=j(o);r=_e(i),n.push(i)}return e&&n.shift(),n};window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var Dc=!1,ft=window.TCOToggleStates,Gn=window.TCOToggleScrollBlocking,dt=!1;function Fc(){let t=[];for(let[e,n]of ft){let o=Cc(e);n&&Gn.has(e)&&t.push(e),o||ft.delete(e)}t.find(e=>!ft.has(e))&&requestAnimationFrame($r)}window.integrityCheckTimeout||(window.integrityCheckTimeout=null);var _c=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(Fc,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=_c);function Bc(t){let e=_e(t);switch(Rr(e)){case"collapse":case 1:case"layered":return e.matches(".x-active");case"tab":return kc(Vn(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 qt(t){return ft.has(t)||ft.set(t,Bc(t)),ft.get(t)}function N({id:t,state:e,_triggeringGroup:n,force:o,hashUpdate:r=!window.csGlobal.isPreview}){let i=qt(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=_e(t);!o&&!n&&(Pc(s)||!e&&Lc(s))||(ft.set(t,e),(i!==e||o)&&(Wc(t,e),r&&Qc(s,e)),n||Dr(s).forEach(a=>{N({force:o,id:j(a),state:!1,_triggeringGroup:!0,hashUpdate:r})}))}window.xLastToggleable="";window.xToggleStack=[];window.xToggleGetState=t=>qt(t);window.xToggleGetStateFromNode=t=>qt(j(t));window.xToggleUpdate=(t,e)=>N({id:t,state:e});window.xToggleDelete=t=>ft.delete(t);window.xToggleGetId=j;window.xGetLastToggleable=function(){return window.xLastToggleable};var _r=!1;window.xToggleTempUnlock=()=>{_r=!!dt,dt=!1};window.xToggleTempRelock=()=>{dt=_r};window.xToggleSetLocking=t=>{dt=!!t};window.xToggleHashUpdate=Wr;function Wc(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 Br(t){return Sc(t,"tco-toggle",({currentTarget:e,detail:{state:n,id:o}})=>{var r;if(n||Nc(t),t.hasAttribute("data-x-toggle-overlay")&&(n?((r=document.querySelector(`[data-x-toggleable=${o}][role="dialog"]`))==null?void 0:r.hasAttribute("data-x-disable-body-scroll"))&&(requestAnimationFrame(Ec),Gn.set(o,!0)):n||(Gn.delete(o),requestAnimationFrame($r))),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")?Pr(t,n):t.hasAttribute("data-x-toggle-layered")?Lr(t,n):lt(t,"x-anchor")?Rt(t,n):t.getAttribute("data-x-toggle")==="collapse-b"?K(t,"collapsed",!n):lt(t.parentElement,"x-nav-tabs-item")?K(t.parentElement,"active",n):lt(t,"x-tab-pane")?K(t,"active",n):lt(t,"x-dropdown")?Ne(t,n):K(t,"x-active",n),lt(t,"x-modal")&&Mc(),Hc(),t.matches("[data-x-toggle]")){if(K(t.querySelector(".x-toggle"),"x-active",n),Dc)return;Array.from(t.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{lt(i,"x-running")||zr(i,"animationiteration",()=>{Ac(i,"x-running"),lt(t,"x-active")||i.removeAttribute("style")}),Tc(i,"x-running"),lt(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(Jc(i,350),!pn())return;zr(e,"transitionend",function(){i.scrollIntoView(!0)})}else{let i=t.querySelector('[tabindex="-1"]');i&&i.focus&&(i.focus(),setTimeout(function(){i.focus()},250))}})}function Nc(t){let e=t.querySelectorAll("[data-x-toggleable]")||[];for(let n=0;n<e.length;++n){let o=e[n];N({id:o.getAttribute("data-x-toggleable"),state:!1})}}var Vc=t=>{let e=re(t);return!!(e&&(e.matches(".x-modal")&&!t.closest(".x-modal-content")||e.matches(".x-off-canvas")&&!t.closest(".x-off-canvas-content")))},Gc=(t,{exclude:e=[]}={})=>{if(dt)return;let n=[...We(t,Vc(t)),...e].filter(o=>!!o);Array.from(document.querySelectorAll("[data-x-toggleable].x-dropdown, [data-x-toggleable].x-off-canvas, [data-x-toggleable].x-modal")).map(o=>o.getAttribute("data-x-toggleable")).filter(o=>!n.includes(o)).forEach(o=>N({id:o,state:!1}))};function Un(){Wr(oe())}function Wr(t){Fr(t).forEach(n=>{N({id:n,state:!0})})}var Uc=(t,e,n)=>{if(!t||e.isContentEditable)return!1;if(t.matches("[data-x-toggle-hover]")){if(dt)return!0;if(n)return!1}let o=t.querySelector("[data-x-toggle-nested-trigger]");return o?ut(e,"[data-x-toggle-nested-trigger]")===o:ut(e,"[data-x-toggle]")===t};var Yn=({ignoreHoverToggle:t=!0}={})=>e=>{let n=e.target,[o,r]=qc(n);Uc(o,n,t)&&(ut(n,"a[href]")&&e.preventDefault(),N({id:r}));let i=!r&&ut(e.target,"[data-x-toggle-close]"),s=i&&j(qr(i));if(s&&N({id:s}),!s&&n.hasAttribute("data-x-toggle-direct-close")){let p=j(qr(n));N({id:p})}let a=ut(e.target,"a[href]"),c=a?a.getAttribute("href").replace("#","").trim():"",d=c&&c===oe()?Fr(oe()):[];if(d.length>0&&d.forEach(f=>{N({id:f,state:!0})}),window.xLastToggleable){if(!zc(window.xLastToggleable,".x-dropdown[data-x-dropdown-direct-close]"))return;Gc(e.target,{exclude:[r,s,...d]})}},z={},Yc=t=>e=>{N({id:t,state:!0})},jc=t=>e=>(z[t].canHoverLeave=!1,N({id:t,state:!1}),()=>{});function Nr(t){let e=j(t),n=_e(e);if(!n)return;let o=t.getAttribute("data-x-hoverintent");o=JSON.parse(o||"{}");let{interval:r=100,timeout:i=100}=o;return z[e]={canHoverLeave:!1,cancelEnter:()=>{},cancelLeave:()=>{},hasHoverToggle:()=>!!document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle-hover]`),onEnter:Hr(Yc(e),r),onLeave:Hr(jc(e),i)},[q(n,"mouseenter",()=>{z[e].hasHoverToggle()&&(z[e].canHoverLeave=!0,z[e].cancelLeave(),qt(e)||(z[e].cancelEnter=z[e].onEnter()))}),q(n,"mouseleave",()=>{z[e].canHoverLeave&&(dt||(z[e].cancelLeave=z[e].onLeave()),z[e].onEnter.cancel())}),q(t,"mouseenter",()=>{let s=[e,...We(re(t))];setTimeout(()=>{s.forEach(a=>{z[a]&&z[a].cancelLeave()})})}),q(t,"mouseleave",({toElement:s})=>{[e,...We(re(t))].forEach(u=>{z[u]&&z[u].canHoverLeave&&(dt||(z[u].cancelLeave=z[u].onLeave()))}),We(re(s)).forEach(u=>{z[u]&&z[u].cancelLeave()})})]}function Ne(t,e){let o=window.getComputedStyle(t)["transition-duration"];if(o=o?parseFloat(o.replace("s","")):0,Fe&&(Fe(),Fe=null),!o){K(t,"x-active",e),K(t,"x-active-animate",e);return}let r=o*1e3,i=e?"x-active":"x-active-animate",s=e?"x-active-animate":"x-active",a=e?15:r;requestAnimationFrame(function(){K(t,i,e),window.dispatchEvent(new CustomEvent("resize"))});let c=setTimeout(function(){requestAnimationFrame(function(){K(t,s,e)})},a);return Fe=function(){!c||(clearTimeout(c),K(t,"x-active",e),K(t,"x-active-animate",e))}}function Vr(t){if(t.tagName==="BUTTON")return;let e=Yn({ignoreHoverToggle:!1});t.addEventListener("keydown",n=>{n.key==="Enter"&&e(n)})}function Gr(t){let e=function(){let n=Oc(t,".x-current-layer"),o=Array.from(n.children).filter(r=>r.matches("li")).reduce((r,i)=>r+$c(i),0);t.style.height=`${o}px`};return e(),gt(e)}function Qc(t,e){let n=Be(t);if(!n)return;let o=e?n:"";!e&&`#${n}`!==window.location.hash||(history.pushState(null,null,"#"+o),window.dispatchEvent(new CustomEvent("hashchange")))}function Jc(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:jn,siblings:Zc,once:Kc,removeClass:Ve,hasClass:ie,listener:se,makeGetComputedStyle:Ur,makeGetComputedFloatValues:Xc}=S,tl={interval:25,timeout:25,sensitivity:9};function Yr(t){rl(t),il()}var Qn=t=>t?t.getBoundingClientRect():null,el=Ur("position"),nl=Ur("direction"),ol=Xc(["paddingLeft","paddingTop","paddingRight","paddingBottom","borderTopWidth","borderBottomWidth"]);function rl(t){t=Object.assign({selectors:[],indicatingSelector:"a",rootElementEvents:!1,transitionTimeout:null,requireClick(){return!1},toggleOnFocus:!0,activate(r){t.indicatingSelector?jn(r.querySelector(t.indicatingSelector),t.activeClass):jn(r,t.activeClass);let i=r.querySelector(t.nestedSelector);if(ie(i,"x-dropdown")){t.transitionTimeout&&t.transitionTimeout(),t.transitionTimeout=Ne(i,!0);return}jn(i,t.activeClass)},deactivate(r){t.indicatingSelector?Ve(r.querySelector(t.indicatingSelector),t.activeClass):Ve(r,t.activeClass);let i=r.querySelector(t.nestedSelector);if(ie(i,"x-dropdown")){t.transitionTimeout&&t.transitionTimeout(),t.transitionTimeout=Ne(i,!1);return}Ve(i,t.activeClass)},isActive(r){return t.indicatingSelector?ie(r.querySelector(t.indicatingSelector),t.activeClass):ie(r,t.activeClass)},deactivateChildren(r,i){Array.from(r.querySelectorAll(t.nestedSelector)).forEach(s=>{!ie(s,t.activeClass)||(Ve(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(r){var i=!1;r._stemAllowFocusIn=!0;let s=r.closest("[data-x-hoverintent]"),a=s&&s.getAttribute("data-x-hoverintent"),c=a?JSON.parse(a):tl,u=t.rootElementEvents?r:r.querySelector(t.indicatingSelector)||r,d=se(u,"mousedown",m),f=se(u,"touch",m),p=[d,f];if(p.push(se(u,"touchstart",()=>{r._stemAllowFocusIn=!1})),t.toggleOnFocus&&(p.push(se(u,"focusin",l)),p.push(se(r,"focusout",h))),!t.requireClick(r)){p.push(Et(u,"touchstart",()=>{i=!0}));let g=kr(r,function(){i||(d(),f(),n(r,!0))},function(){i||n(r,!1)});try{g.options(c)}catch{}p.push(()=>g.remove())}function l(){r._stemAllowFocusIn&&o(r,n(r,!0))}function h(){setTimeout(()=>{r.contains(document.activeElement)||o(r,n(r,!1))},0)}function m(g){g.type==="mousedown"&&Kc(g.currentTarget,"click",v=>void v.preventDefault()),g.preventDefault(),g.stopPropagation();let y=n(r);o(r,y),y&&t.closeSiblings&&(typeof t.findSiblings=="function"?t.findSiblings(r):Zc(r)).forEach(w=>{n(w,!1),o(w,!1)})}return p}t.selectors.forEach(r=>{T(r,e)});function n(r,i){return r._stemAllowFocusIn=!0,typeof i=="undefined"&&(i=!t.isActive(r)),i?(typeof t.beforeActivate=="function"&&t.beforeActivate(r),t.activate(r),typeof t.afterActivate=="function"&&t.afterActivate(r)):(typeof t.beforeDeactivate=="function"&&t.beforeDeactivate(r),t.deactivate(r),typeof t.afterDeactivate=="function"&&t.afterDeactivate(r)),t.isActive(r)}function o(r,i){typeof t.deactivateChildren=="function"&&(clearTimeout(r._stemCloseChildrenTimer),i||(r._stemCloseChildrenTimer=setTimeout(function(){t.deactivateChildren(r,t.deactivateChild)},1e3)))}}function il(){function t(l){var h=[];function m(y,v){if(!v&&y.hasAttribute("data-x-stem")){h.push(y),t(y);return}if(y.children)for(var w=0;w<y.children.length;w++)m(y.children[w])}m(l,!0);let g=function(){r(l),setTimeout(()=>{h.forEach(n)},0)};l.addEventListener("x-stem:update",g,!1)}let e=[];function n(l){l&&l.dispatchEvent(new CustomEvent("x-stem:update"))}T("[data-x-stem-menu-top], [data-x-stem-root]",l=>{requestAnimationFrame(()=>{t(l),n(l),e.push(l)})});let o=_(function(){e.forEach(n)},50);window.addEventListener("tco-toggle",({detail:{state:l}={}})=>{l&&o()},$),window.addEventListener("resize",o,$),window.addEventListener("scroll",o,$),window.addEventListener("cs-sticky-bar-post-transition",o,$),W(o);function r(l){if(!l)return;let h=p(l);if(!h)return;let m=Qn(h),g=a(l),y=g==="data-x-stem-root"?Qn(document.querySelector(`[data-x-toggleable="${l.getAttribute("data-x-toggleable")}"][data-x-toggle]`)):m;if(!y)return;let v=l.getAttribute("data-x-stem-force");if(v){let V=v.indexOf("d")!==-1,B=v.indexOf("r")!==-1;l.setAttribute("data-x-stem",v),g==="data-x-stem-root"&&i(l,m,y,B,V),g||d(l,B,V);return}let w=Qn(l),{top:b,left:C,bottom:x,right:A}=s(w,y,g),{x:P,y:I}=c(l,g),M=u(P,window.innerWidth-A,C),F=u(I,window.innerHeight-x,b);l.setAttribute("data-x-stem",(F?"d":"u")+(M?"r":"l")),g==="data-x-stem-root"&&i(l,m,y,M,F),g||d(l,M,F)}function i(l,h,{top:m,left:g,bottom:y,right:v,height:w,width:b},C,x){let A=l.getAttribute("data-x-stem-root").indexOf("h")!==-1;if(C){let I=g-h.left;l.style.left=`${A?I+b:I}px`,l.style.right="auto"}else{let I=h.right-v;l.style.right=`${A?I+b:I}px`,l.style.left="auto"}let P=window.getComputedStyle(l);if(x){let I=m-h.top,M=A?I:I+w;P.position==="fixed"&&(M+=h.top),l.style.top=`${M}px`,l.style.bottom="auto"}else{let I=h.bottom-y,M=A?I:I+w;P.position==="fixed"&&(M+=h.bottom),l.style.bottom=`${M}px`,l.style.top="auto"}}function s({height:l,width:h},m,g){let y={top:m.top-l,right:m.left+m.width+h,bottom:m.top+l,left:m.left-h};return g&&(y.right+=m.width,y.bottom+=m.height),y}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,h){if(h){var m=nl(l)==="ltr",g=l.getAttribute(h).indexOf("r")!==-1;return{y:!0,x:!!(m^g)}}let y=f(l);return{y:y.indexOf("d")!==-1,x:y.indexOf("r")!==-1}}function u(l,h,m){if(l&&h<0){if(h<m)return!1}else if(m<0&&m<h)return!0;return l}function d(l,h,m){let{paddingLeft:g,paddingTop:y,paddingRight:v,paddingBottom:w,borderTopWidth:b,borderBottomWidth:C}=ol(l);if(h?(l.style.marginLeft=g!==0?`${g}px`:null,l.style.marginRight=null):(l.style.marginRight=v!==0?`${v}px`:null,l.style.marginLeft=null),m){let x=y+b;l.style.marginTop=x!==0?`${x*-1}px`:null,l.style.marginBottom=null}else{let x=w+C;l.style.marginBottom=x!==0?`${(w+C)*-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 p(l){if(l.parentElement===null)return document.body;let h=el(l.parentElement);return h==="relative"||h==="absolute"?l.parentElement:p(l.parentElement)}}var{onLoad:jr,addClass:Wd,hasClass:Qr,removeClass:Nd,debounce:Jr,animateToElement:sl,listener:Zr,listenerPassive:Kr,onScroll:al,onResize:cl,PASSIVE_ARGS:ll}=S,Xr=t=>t.match(/#[a-zA-Z]/);Yr({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)});jr(()=>{let{selector:t,duration:e,easing:n,initialMove:o,before:r,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 Kr(document.body,"touchstart",()=>{f=!1}),Kr(document.body,"touchmove",()=>{f=!0}),()=>f}let u=(f,p=!0,l)=>{sl(f,()=>zt()*-1,p?e:0,n,l)},d=c();o&&window.location.hash&&(u(a(window.location.hash),!1),setTimeout(()=>u(a(window.location.hash),!1),300)),Zr(document.body,"click",f=>{let p=f.target.matches(t)?f.target:f.target.closest(t);if(!p||f.tcoAbortScroll)return;let l=p.getAttribute("href"),h=l.split("#");if(!h[1])return;let m=h[0].replace(location.origin,""),g=`#${h[1]}`;if(d()||m&&m!==location.pathname||!Xr(l)||!s(p,f,g))return;let y=a(g);!y||(window.history.pushState&&(window.history.pushState(null,null,g),window.dispatchEvent(new CustomEvent("tcoHistoryPush"))),f.preventDefault(),r({anchor:p,target:y,hash:g}),u(y,!0,()=>void i({anchor:p,target:y,hash:g})))})});jr(()=>{let t=!1,e,n=new Map,o=new Map,r=[],i=Jr(()=>{var f,p;let d=[];for(let[l,h]of o){let m=((p=(f=h.getBoundingClientRect())==null?void 0:f.top)!=null?p:0)+window.scrollY;d.push({y:m,href:l})}r=d.sort((l,h)=>h.y-l.y)},100),s=d=>{if(e!==d){for(let[f,p]of n)if(f===d)for(let l of p)Qr(l,"x-anchor")&&_n(l,!0),D.apply("scrollspy_activate",l);else for(let l of p)Qr(l,"x-anchor")&&_n(l,!1),D.apply("scrollspy_deactivate",l);e=d}};T(window.csJsData.linkSelector,d=>{let f=D.apply("scrollspy_ignore_patterns",["#/","#wp-toolbar"]),p=`#${d.getAttribute("href").trim().split("#").pop()}`;if(!(!Xr(p)||f.find(l=>l.match(p))))return n.has(p)||n.set(p,new Set),n.get(p).add(d),[T(p,l=>(o.has(p)||o.set(p,l),i(),()=>{o.has(p)&&o.delete(p)})),()=>{var l;(l=n.get(p))==null||l.delete(d)},Zr(d,"click",()=>{t=!0,s(p)},{capture:!0})]}),cl(i);let a=()=>{var f,p;let d=window.scrollY+zt()+Y()+1;return Math.ceil(window.innerHeight+window.scrollY)>=Math.floor(document.body.offsetHeight)?(p=(f=r.map((l,h)=>({...l,i:h})).sort((l,h)=>h.y-d-(l.y-d))[0])==null?void 0:f.i)!=null?p:-1:r.findIndex(({y:l})=>d>=l)},c=()=>{t=!1;let d=a();s(d===-1?"":r[d].href)},u=Jr(c,250);u(),window.addEventListener("hashchange",function(d){s(window.location.hash)},ll),al(()=>{r.length<=0||(t?u():c())})});var{transitionEnd:ul,addClass:Jn,removeClass:Zn,farthest:ti,getCachedJsonAttribute:ei,oncePassive:Gd,listenerPassive:fl,evaluateCondition:dl,expandElementValue:ni,makeAlternatingSynchronizer:Kn,makeElementWeakMap:Xn,getDurations:pl,lockMotion:oi,forceOpaque:hl,runAnimation:ri,elementMeta:ml,waypoint:ii,parseTime:gl}=S,St="x-effect-enter",to="x-effect-entering",ot="x-effect-exit",eo="x-effect-exiting",Ge="x-effect-animated",Ue="x-effect-holding",yl="x-effect-opacity";T("[data-x-single-anim]",(t,e)=>{if(!t.classList.contains("x-always-active"))return fl(t.closest(".x-anchor, .x-text"),"mouseenter",()=>void ri(t,{animation:e,remove:!0}))});var si=Xn({scrollEffects:!1}),vl=()=>{let{get:t,set:e,has:n}=Xn();return o=>(n(o)||e(o,{effects:[],particles:[]}),t(o))},Ye=vl(),ai=Xn(0),ci=t=>{ai.set(t,pl(t))},li=(t,e="transitionTime")=>{var n,o;return(o=(n=ai.get(t))==null?void 0:n[e])!=null?o:0},ui=(t,{from:e,to:n,trans:o,record:r=!1},i=()=>{})=>(t.classList.remove(e),t.classList.add(o),t.classList.add(n),r&&ci(t),t.csAnimationEndingTimeout&&clearTimeout(t.csAnimationEndingTimeout),()=>{t.csAnimationEndingTimeout=setTimeout(function(){t.classList.remove(o)},250),i()}),fi=(t,e,n=()=>{})=>ri(t,{className:Ge,animation:e,remove:!0,timeout:!0},n),wl=(t,e)=>{t.classList.contains(ot)||(t.classList.contains(Ge)||t.classList.add(Ge),t.style.setProperty("animation-duration","0ms","important"),t.style.setProperty("animation-name",e))},di=(t,e,n)=>ul(t,ui(t,e,n)),pi=(t,e,n,o)=>fi(t,e,ui(t,n,o)),xl=(t,e,n)=>pi(t,e,{from:ot,to:St,trans:to,record:!0},n),hi=(t,e,n)=>pi(t,e,{from:St,to:ot,trans:eo},n),bl=(t,e)=>di(t,{from:ot,to:St,trans:to,record:!0},e),mi=(t,e)=>di(t,{from:St,to:ot,trans:eo},e),Sl=(t,e,n)=>{Jn(t,Ue),setTimeout(hl(t,{after:()=>{Zn(t,Ue),n()}}),e)},gi=(t,e,n)=>{let o=oi(t,e==="fade"?"opacity":null);t.style.setProperty("opacity",e==="fade"?0:1,"important");let r=li(t);Jn(t,Ue),setTimeout(()=>{Zn(t,St),Zn(t,Ue),Jn(t,ot),t.style.removeProperty("opacity"),o(),n()},r)};function Tl(t,e,n){let o,r=0,i,s,{durationBase:a,animationAlt:c}=ei(t,"data-x-effect"),u=gl(a),d=()=>{window.removeEventListener("mousemove",g),c?n(()=>{f()}):(n(),u?setTimeout(()=>{f()},u):f())},f=()=>{t.addEventListener("mouseenter",h)},p=()=>{let{top:v,left:w,width:b,height:C}=t.getBoundingClientRect();o.push({top:v+window.scrollY,left:w+window.scrollX,width:b,height:C})},l=v=>{r=0,o=[],p(),e(),u?(clearTimeout(i),i=setTimeout(()=>{p()},u)):p()},h=v=>{clearTimeout(s),window.addEventListener("mousemove",g),l(v)},m=v=>{r++,r>10&&o.length===o.filter(b=>y(b,v.clientX,v.clientY,window.scrollX,window.scrollY)).length&&d()},g=v=>{m(v),clearTimeout(s),s=setTimeout(()=>{m(v)},300)},y=({top:v,left:w,height:b,width:C},x,A,P,I)=>{let M=v-I,F=w-P,V=x>F&&x<F+C,B=A>M&&A<M+b;return!V||!B};f()}T("[data-x-effect-provider]",(t,e="")=>{e.split(" ").filter(o=>!ti(t,`[data-x-effect-provider*="${o}"]`)).length>0&&no(t)});function no(t){let e=Ye(t);e.registered||Tl(t,()=>{let{registered:n,...o}=Ye(t);Object.keys(o).forEach(r=>{o[r].forEach(({setup:i})=>{i&&i()})})},()=>{let{registered:n,...o}=Ye(t);Object.keys(o).forEach(r=>{o[r].forEach(({teardown:i})=>{i&&i()})})}),e.registered=!0}function yi(t,e,n=()=>{},o=()=>{},r=!0){let i=ti(e,`[data-x-effect-provider*="${t}"]`),s=r?i||e:i;return s?(Ye(s)[t].push({el:e,setup:n,teardown:o}),e===s):!1}T(".x-anchor",t=>{yi("particles",t)&&no(t)});T("[data-x-effect]",(t,e)=>{try{return yi("effects",t,()=>{e.animationAlt&&fi(t,e.animationAlt)},()=>{},!t.matches("x-anchor"))&&no(t),Pl(t,e)}catch(n){console.warn(n)}},1e3);var Al=(t,e)=>Kn(n=>bl(t,n),n=>e==="transform"?mi(t,n):gi(t,e,n)),El=(t,e,{animationEnter:n,animationExit:o})=>Kn(r=>xl(t,n,r),r=>e==="animation"?hi(t,o,r):gi(t,e,r)),Cl=(t,e,n)=>Kn(o=>{if(ci(t),["transform","animation"].includes(e)){e==="animation"&&(t.classList.remove(Ge),t.style.setProperty("opacity",0,"important"),t.style.removeProperty("animation-name"),t.offsetHeight,t.style.removeProperty("opacity"));let r=oi(t,"opacity");t.classList.remove(ot),r()}o()},o=>{switch(e){case"none":return Sl(t,li(t),o);case"transform":return mi(t,o);case"animation":return hi(t,n.animationExit,o);default:o()}}),vi=(t,e,n)=>{let o=ei(t,"data-x-effect");if(o.scroll){let r=a=>a==="effect"?o.animationEnter&&o.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=r(e),s=r(n);switch(s==="animation"&&wl(t,o.animationExit),e==="effect"&&["fade","none"].includes(n)&&t.classList.add(yl),i){case"animation":return El(t,r(n),o);case"transform":return Al(t,s,o);case"fade":return Cl(t,s,o)}}return!1};et("effects",(t,{key:e,condition:n,enter:o,exit:r})=>{si.set(t,{scrollEffects:"managed"});let i=vi(t,ni(t,o),ni(t,r));return i?s=>void i(dl(t,n,s,e)):()=>{}});var Ll=(t,{behaviorScroll:e})=>{let n=vi(t,"effect","effect"),o=!1;return r=>{let[i,s]=r.split(":");e==="reset"&&i==="exit"&&s==="down"||e==="fire-once"&&o||(i==="enter"&&(o=!0),n(i==="enter"))}},kl=t=>{let e=parseInt(t);return t.includes("px")?()=>e:()=>window.innerHeight*e/100},Ol=t=>{let e=parseInt(t);return t.includes("px")?()=>window.innerHeight-e:()=>window.innerHeight-window.innerHeight*(parseInt(e)/100)};function Il(t,e){let n,o=()=>{},r=()=>{let{effectRivet:i}=ml.get(e);i?o=Kt([[t,...i]]):setTimeout(r,10)};return r(),()=>{clearTimeout(n),o()}}function Pl(t,e){let n=t.closest("[data-x-slide], [data-x-slide-goto]");if(n&&t!==n)return Il(t,n);if(!e.scroll||si.get(t).scrollEffects==="managed")return;if(window.csGlobal.isPreview&&t.classList.add(ot),e.forceScrollEffect){t.classList.remove(St),t.classList.remove(to),t.classList.remove(ot),t.classList.remove(eo),e.forceScrollEffect==="in"&&t.classList.add(St),e.forceScrollEffect==="out"&&t.classList.add(ot);return}let o=Ll(t,e),{offsetTop:r="10%",offsetBottom:i="10%"}=e;ii(t,s=>void o(`${s==="up"?"enter":"exit"}:${s}`),kl(r),!1),ii(t,s=>void o(`${s!=="up"?"enter":"exit"}:${s}`),Ol(i),!1)}var{defer:Ml,addClass:wi,toggleClass:Hl,removeClass:zl,listenerPassive:Dt}=S;T("[data-x-search]",function(t){let e=t.querySelector("input"),n=()=>Ml(()=>e.focus()),o=()=>Hl(t,"x-search-has-content",!!e.value);return[Dt(e,"input",o),Dt(t,"mousedown",()=>{wi(t,"x-search-focused"),n()}),Dt(t,"focusin",()=>void wi(t,"x-search-focused")),Dt(t,"focusout",()=>void zl(t,"x-search-focused")),Dt(t.querySelector("[data-x-search-clear]"),"click",()=>{e.value="",e.focus(),o()}),Dt(t.querySelector("[data-x-search-submit]"),"click",()=>{window.csGlobal.isPreview||t.submit()})]});T("[data-x-element-bg-layer]",(t,{parallaxDir:e="v",parallaxRev:n=!1,parallaxSize:o=""})=>{let r=t.closest(".x-bg"),i=e==="h";t.style.opacity="1",i?(n||(t.style.left="auto",t.style.right="0"),t.style.width=o):(n||(t.style.top="auto",t.style.bottom="0"),t.style.height=o);let s=!1;function a(){if(s)return;s=!0;let{width:u,height:d,top:f,bottom:p}=r.getBoundingClientRect();if(f<=window.innerHeight&&p>=0){let{width:l,height:h}=t.getBoundingClientRect(),m=n?-1:1,g=i?l-u:h-d,y=1-p/(window.innerHeight+d),v=`${parseInt(y*g*m,10)}px`,w=i?`translate3d(${v}, 0, 0)`:`translate3d(0, ${v}, 0)`;t.style.transform=w}s=!1}function c(){requestAnimationFrame(a)}return[un(c),ve(c),W(c)]});W(function(){T("[data-x-scroll-link]",function(t,e){let n=document.querySelector(e);return q(t,"wheel",function(o){n.scrollTop+=o.deltaY})})});var{addClass:$l,removeClass:xi,hasClass:Rl,listenerPassive:ae}=S;function oo(t,e){(e!=null?e:!Rl(t,"is-active"))?(xi(t,"has-not-flipped"),$l(t,"is-active")):xi(t,"is-active")}var je=!1;T("[data-x-element-card]",t=>[ae(t,"touchstart",()=>{je=!0}),ae(t,"click",({target:e})=>{t.contains(e.closest("a"))||oo(t)}),ae(t,"pointerenter",()=>{setTimeout(function(){je||oo(t,!0)},15)}),ae(t,"pointerleave",()=>{je||oo(t,!1)}),ae(t,"touchend",()=>{setTimeout(function(){je=!1},100)})]);var{makeRafLoop:ql}=S;function Dl(t,e){let n=`${t}`;for(;n.length<e;)n=`0${n}`;return n}function Fl(){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 bi({el:t,end:e,serverTime:n,leadingZeros:o=!0,hideEmpty:r=!0,loadingClass:i="is-loading",completeClass:s="is-complete",digitClass:a="x-countdown-digit",completeMessageTag:c="div",completeMessageContent:u="",completeMessageClass:d="x-countdown-complete",hideOnComplete:f=!1,selectors:p={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:h={d:"Days",h:"Hours",m:"Minutes",s:"Seconds"},ariaLabel:m="Countdown ends in {{d}} days, {{h}} hours, and {{m}} minutes."}={}){if(!t)return;let g={days:t.querySelector(p.days),hours:t.querySelector(p.hours),minutes:t.querySelector(p.minutes),seconds:t.querySelector(p.seconds)},{days:y,hours:v,minutes:w,seconds:b}=g,C={d:t.querySelector(p.daysLabel),h:t.querySelector(p.hoursLabel),m:t.querySelector(p.minutesLabel),s:t.querySelector(p.secondsLabel)},x=new Date(e).getTime(),A=new Date(n).getTime()-new Date().getTime(),P=Fl(),I=O=>{let H=Math.abs(O),R=parseInt(H/86400);H%=86400;let it=parseInt(H/3600);H%=3600;let Tt=parseInt(H/60);H%=60;let po=parseInt(H);return y||(it+=R*24),v||(Tt+=it*60),w||(po+=Tt*60),{diffDays:R,diffHours:it,diffMinutes:Tt,diffSeconds:po}},M=()=>{if(Object.keys(g).forEach(G),f){t.style.display="none",P(t,"");return}if(!u)return;let O=document.createElement(c);O.innerHTML=u,d&&O.classList.add(d),t.append(O),t.classList.add(s)},F=O=>(o?Dl(O,2):O.toString()).split("").map(R=>`<span class="${a}">${R}</span>`).join(""),V=(O,H)=>{if(!O||!C[O])return;let R=C[O];P(R,(H?l:h)[O])},B=({diffDays:O,diffHours:H,diffMinutes:R,diffSeconds:it})=>{y&&(P(y,F(O)),V("d",O===1)),v&&(P(v,F(H)),V("h",H===1)),w&&(P(w,F(R)),V("m",R===1)),b&&(P(b,F(it)),V("s",it===1))},ue=({diffDays:O,diffHours:H,diffMinutes:R,diffSeconds:it})=>{let Tt=t.querySelector(p.aria);Tt&&P(Tt,m.replace(/{{d}}/g,O).replace(/{{h}}/g,H).replace(/{{m}}/g,R).replace(/{{s}}/g,it))},G=O=>{if(!g[O])return;let H=g[O].closest(p.parent);H&&(H.remove(),g[O]=null)},rt=({diffDays:O,diffHours:H,diffMinutes:R})=>{O===0&&G("days"),O===0&&H===0&&G("hours"),O===0&&H===0&&R===0&&G("minutes")},Mi=A+new Date().getTime();return ql(O=>{let H=Mi+O;if(H>x)return M(),!1;let R=I((H-x)/1e3);r&&rt(R),B(R),ue(R),O===0&&t.classList.remove(i)})}T("[data-x-element-countdown]",(t,e={})=>bi({el:t,...e}));var{waypoint:_l,tween:Bl,getPrecisionLength:Wl,getPrecisionLengthWithCommas:Nl,round:Vl}=S,Gl=",",Si=".",Ul=/(-)?(\d+)(\.\d+)?/;function Yl({el:t,from:e,to:n,commaSeparatedDecimal:o=!1,...r}){let i=typeof e=="undefined"?t.textContent:e,s=typeof n=="undefined"?t.textContent:n,a=o?Si:Gl,c=s.toString().includes(a)||i.toString().includes(a),u=o?Nl:Wl,d=Math.max(u(s),u(i)),f=h=>{if(!h)return console.warn("Input invalid",h),"";let[,m="",g="",y=""]=h.match(Ul),v=g.split("").reverse(),w=[];for(;v.length;)w.push(v.splice(0,3).reverse().join(""));return`${m}${w.reverse().join(a)}${y}`},p=Ti(i,a),l=Ti(s,a);Bl(p,{...r,update:h=>{let m=Vl(h,Math.pow(10,d)).toFixed(d),g=c?f(m):m;t.textContent=o?g.replace(/\.(\d+)$/,",$1"):g}})(l)}function Ti(t,e){let n=0;return e===Si&&(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}T("[data-x-element-counter]",(t,{to:e,speed:n,selector:o=".x-counter-number",commaSeparatedDecimal:r})=>_l(t,()=>void Yl({el:t.querySelector(o),to:e,commaSeparatedDecimal:r,duration:n}),"85%"));function Ai(t,e={}){try{return JSON.parse(t)}catch{}return e}var{intersect:jl,hasClass:ct,addClass:Ql,removeClass:ro,unwrapHtmlTemplate:Jl,dispatch:Ei,listener:Qe,onResize:Zl,elementIsVisibleInViewport:Kl}=S,Xl=["playpause","progress"],tu=["playpause","current","progress","duration","tracks","volume","fullscreen"];T("[data-x-element-mejs]",(t,{poster:e,options:n={}})=>{let o=ct(t,"bg")||ct(t,"x-video-bg"),r=ct(t,"vimeo")||ct(t,"youtube"),i=t.getAttribute("data-x-video-options")||n;i=typeof i=="string"?Ai(i):i||{};let s=[];if(o&&(e&&(Ql(t,"poster"),t.style.backgroundImage=`url(${e})`,setTimeout(()=>void ro(t,"transparent"),500)),Jl(t.querySelector('script[type="text/template"]')),s.push(Qe(t,"xmejs-start",()=>{ro(t.querySelector(".transparent"),"transparent"),ro(t,"transparent")}))),!window.mejs)return;let a=t.querySelector(".x-mejs");if(!a||ct(a.parentElement,"mejs-mediaelement"))return;let c=l=>{console.warn("MEJS media error.",l),l.stopPropagation()},u=ct(a,"advanced-controls")?tu:Xl;u=window.csGlobal.csHooks.apply("cs_mejs_video_features",u,t);let d=window.csGlobal.csHooks.apply("cs_mejs_video_player_args",{pluginPath:window._wpmejsSettings.pluginPath,startVolume:1,features:o?[]: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(d)}catch(l){c(l)}function f(l,h,m){let g=!0,y=!0;ct(t,"autoplay")&&(!i.pause_out_of_view||Kl(t))&&(h.setAttribute("autoplay",!0),setTimeout(()=>{h.play()},100));let v=()=>{h.attributes.hasOwnProperty("autoplay")&&g&&(l.play(),g=!1),h.attributes.hasOwnProperty("muted")&&y&&(l.setMuted(!0),y=!1),l.removeEventListener("canplay",v)};l.addEventListener("canplay",v);let w=m.controls[0].querySelector(".mejs-volume-button");l.addEventListener("volumechange",()=>l.setVolume(ct(w,"mejs-mute")?1:0)),l.addEventListener("ended",()=>{h.attributes.hasOwnProperty("loop")&&l.play()}),o||l.addEventListener("playing",()=>{Object.keys(window.mejs.players).filter(b=>b!==m.id&&!window.mejs.players[b].xIsVideoBG).map(b=>window.mejs.players[b]).forEach(b=>b.pause())}),m.isVideo===!0&&(m.xIsVideoBG=o,p(l,h,m))}function p(l,h,{container:m,controls:g}){if(l.addEventListener("timeupdate",function v(){Ei(t,"xmejs-start"),l.removeEventListener("timeupdate",v)}),Qe(m[0],"fullscreenchange",()=>{document.fullscreenElement||l.removeAttribute("style")}),r&&s.push(Qe(t,"xmejs-start",()=>{var v;(v=t.querySelector("video.x-mejs"))==null||v.removeAttribute("poster")})),o)l.addEventListener("playing",()=>{l.setMuted(!0),Ei(t,"xmejs-bgvideoready")}),s.push(Qe(t,"xmejs-bgvideoready",y)),s.push(Zl(y));else{let v=()=>g.stop().animate({opacity:1},150),w=()=>g.stop().animate({opacity:0},150);l.addEventListener("playing",()=>m.on("mouseenter",v).on("mouseleave",w)),l.addEventListener("pause",()=>{m.off("mouseenter mouseleave"),v()})}i.pause_out_of_view&&s.push(eu(t,l));function y(){let v=t.querySelector(r?".me-plugin":"video"),w=h.videoWidth,b=h.videoHeight,C=r||w===0?1280:w,x=r||b===0?720:b,A=t.offsetWidth||0,P=t.offsetHeight||0,I=A/C,M=P/x,F=I>M?I:M,V=Math.ceil(F*C+20),B=Math.ceil(F*x+20),ue=Math.ceil((V-A)/2),G=Math.ceil((B-P)/2);v.style.width=`${V}px`,v.style.height=`${B}px`}}return s});function eu(t,e){let n=ct(t,"autoplay");return jl(t,function(o){if(o.isIntersecting){n&&e.play();return}e.pause()})}var{waypoint:nu}=S;T("[data-x-element-statbar]",(t,{triggerOffset:e}={})=>{nu(t,()=>{Array.from(t.querySelectorAll(".x-statbar-bar, .x-statbar-label")).forEach(n=>{n.classList.add("x-active")})},e)});var{listener:sp,onLoad:ou,onResize:ru,getOuterHeight:iu}=S;T("[data-x-element-tabs]",(t,{equalPanelHeight:e})=>{if(!e)return;let n=Array.from(t.querySelectorAll(".x-tabs-panels")),o=()=>{let r=n.reduce((i,s)=>Math.max(i,iu(s)),0);n.forEach(i=>{i.style.height=`${r}px`})};return o(),[ou(o),ru(o)]});T("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:Ci,PASSIVE_ARGS:su}=S;T("[data-x-toggleable]",t=>Br(t));var io=!1,Li=!1;document.addEventListener("readystatechange",()=>{document.readyState==="complete"&&!Li&&(Li=!0,window.document.body.addEventListener("click",Yn()),T("[data-x-toggleable]",t=>{let e=j(t),n=Be(t);(qt(e)||n&&n===oe())&&(window.csGlobal.isPreview&&(io=!0,t.setAttribute("data-x-disable-animation",!0)),N({id:e,state:!0,force:!0,hashUpdate:!1}),io&&(io=!1,setTimeout(()=>{t.removeAttribute("data-x-disable-animation")},60)))}))},su);T("[data-x-toggleable]:not([data-x-toggle])",Nr);T("[data-x-toggle]",Vr);W(function(){let t=[];T("[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 o=t.indexOf(n);o!==-1&&t.splice(o,1)}}),q(window,"keyup",function(e){if(e.key!=="Escape")return;let n=window.xGetLastToggleable();!n||!window.xToggleGetState(n)||!t.includes(n)||N({id:n,state:!1})})});T("[data-x-toggle-layered-root]",Gr);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]"))&&N({id:e.getAttribute("data-x-toggleable"),state:!1})});U("ontoggleclose",(t,e,n)=>Ci(n.closest("[data-x-toggleable]"),"tco-toggle",o=>{o.detail.state&&t()}),{defaultOption:"throttle"});U("ontoggleopen",(t,e,n)=>Ci(n.closest("[data-x-toggleable]"),"tco-toggle",o=>{o.detail.state||t()}),{defaultOption:"throttle"});window.addEventListener("tcoHistoryPush",Un,!1);window.addEventListener("hashchange",Un,!1);var{onScroll:au,onResize:ki,addClass:so,removeClass:ao,toggleClass:cu,onLoad:co,tween:Oi,getOuterHeight:lo,scrollOffset:uo,listener:pt,oncePassive:Ii,getCachedJsonAttribute:fo,waypoint:ce,fontCompress:lu}=S;function Q(t,e){T(`[data-x-element="${t}"]`,n=>void e.call(n,n,fo(n,"data-x-params")))}T("[data-x-element-responsive-text]",(t,{selector:e,compression:n,minFontSize:o,maxFontSize:r})=>{e&&Array.from(document.querySelectorAll(e)).forEach(i=>lu(i,{c:n,min:o,max:r}))});var uu=()=>!!(/Android|webOS|Opera Mini|windows phone/i.test(navigator.userAgent)||/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);function Pi(t){if(!Wt(t,"parallax"))return;if(uu()){t.style.backgroundAttachment="scroll",t.style.backgroundSize="cover",t.style.backgroundPosition="center";return}let e=0;Wt(t,"bg-image")&&(e=.1),Wt(t,"bg-pattern")&&(e=.3);let n=uo(t).top,o=document.readyState==="complete",r=()=>{let{top:i}=uo(t);i+t.offsetHeight<window.scrollY||i>window.scrollY+window.innerHeight||(t.style.backgroundPosition=`50% ${Math.floor((n-window.scrollY)*e)}px`)};return o&&r(),[au(r),ki(()=>{n=uo(t).top}),co(()=>{o=!0,r()})]}Q("section",Pi);Q("content_band",Pi);Q("column",(t,e)=>{!e.fade||ce(t.parentElement,()=>{t.style.opacity="1",t.style.transform="translate(0, 0)"},"65%")});Q("classic_card",function(t){function e(m){m.target.tagName!=="A"&&cu(t,"flipped")}function n(){so(t,"flipped")}function o(){ao(t,"flipped")}let r=pt(t,"click",e),i=pt(t,"mouseenter",n),s=pt(t,"mouseleave",o),a;pt(t,"touchstart",()=>{a&&a(),a=pt(t,"touchend",e)}),pt(t,"touchmove",()=>{a&&a()}),Ii(t,"touchstart",()=>{r(),i(),s()});let c=t.querySelector(".x-card-inner"),u=t.querySelector(".x-face-outer.front"),d=u.querySelector(".x-face-content"),f=t.querySelector(".x-face-outer.back"),p=u.querySelector(".x-face-content"),l=m=>{let{borderTopWidth:g,borderBottomWidth:y}=getComputedStyle(f);return parseFloat(g)+parseFloat(y)};function h(){let m=Math.max(lo(d)+l(f),lo(p)+l(u));c.style.height=`${m}px`}return[co(h),ki(h,!0)]});Q("skill_bar",(t,e)=>{let n=t.querySelector(".bar");ce(t,()=>{Oi(0,{duration:750,update:o=>{n.style.width=`${o}%`}})(parseFloat(e.percent))},"95%")});Q("recent_posts",function(t,{fade:e}){if(!e)return;let n=Array.from(t.querySelectorAll("a"));ce(t,()=>{n.forEach((o,r)=>{setTimeout(()=>{Oi(0,{duration:750,update:i=>{o.style.opacity=`${i}`}})(1)},r*90)}),setTimeout(()=>{so(t,"complete")},n*90+400)},"75%")});Q("creative_cta",function(t,e){let n=t.querySelector(".graphic");n.style.transform="translate(-50%, -50%) scale(0)";let o=()=>{n.style.transform="translate(-50%, -50%) scale(0)",t.style.backgroundColor=e.bg_color};return o(),[pt(t,"mouseenter",()=>{t.style.backgroundColor=e.bg_color_hover,n.style.transform="translate(-50%, -50%) scale(1)"}),pt(t,"mouseleave",o)]});Q("feature_box",function(t,e){e.child!==!0&&e.graphicAnimation!=="none"&&ce(t,()=>{setTimeout(()=>{le(t.querySelector(".x-feature-box-graphic-outer"),"animated "+e.graphicAnimation)},e.graphicAnimationDelay)},e.graphicAnimationOffset+"%")});Q("feature_list",function(t,e){var n=fo(t.querySelector(".x-feature-box"),"data-x-params"),o=0;if(n.graphicAnimation!=="none"||n.connectorAnimation!=="none"){let r=Array.from(t.children);ce(t,function(){setTimeout(function(){r.forEach((i,s)=>{var c;if(n.graphicAnimation!=="none"&&le(i.querySelector(".x-feature-box-graphic-outer"),"animated "+n.graphicAnimation,o++,e.animationDelayBetween),n.connectorAnimation!=="none"){var a="animated "+n.connectorAnimation;let u=i.querySelector(".lower");u&&le(u,a,o,e.animationDelayBetween);let d=(c=r[s+1])==null?void 0:c.querySelector(".upper");d&&le(d,a,o,e.animationDelayBetween);let f=i.querySelector(".full");f&&le(f,a,o++,e.animationDelayBetween)}})},e.animationDelayInitial)},e.animationOffset+"%")}});Q("tab_nav",function(t,{orientation:e}){e==="vertical"&&(t.style.minHeight=`${lo(t.nextElementSibling)}px`)});function le(t,e,n=0,o=0){let r=e.split(" ").map(i=>i.trim()).filter(i=>!!i);setTimeout(()=>{ao(t,"animated-hide"),r.forEach(i=>void so(t,i)),Ii(t,"animationend",()=>{r.forEach(i=>void ao(t,i))})},n*o)}window.csGoogleMapsClassic=function(){Q("google_map",function(t,e){if(!window.google||!window.google.maps)return;function n(m){var g=[],y=[];Array.from(t.querySelectorAll(".x-google-map-marker")).forEach(function(v,w){var b=fo(v,"data-x-params"),C=new window.google.maps.Marker({map:m,position:new window.google.maps.LatLng(b.lat,b.lng),infoWindowIndex:w,icon:b.image});if(g[w]=C,b.markerInfo!==""){var x=new window.google.maps.InfoWindow({content:b.markerInfo,maxWidth:200});y[w]=x,b.startOpen&&x.open(m,C),window.google.maps.event.addListener(g[w],"click",function(){x.open(m,this)})}})}var o=t.querySelector(".x-google-map-inner"),r=e.lat,i=e.lng,s=new window.google.maps.LatLng(r,i),a=e.drag,c=parseInt(e.zoom),u=e.zoomControl,d=e.hue,f=[{featureType:"all",elementType:"all",stylers:[{hue:d||null}]},{featureType:"water",elementType:"all",stylers:[{hue:d||null},{saturation:0},{lightness:50}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]}],p={scrollwheel:!1,draggable:a===!0,zoomControl:u===!0,disableDoubleClickZoom:!1,disableDefaultUI:!0,zoom:c,center:s,mapTypeId:window.google.maps.MapTypeId.ROADMAP},l=new window.google.maps.StyledMapType(f,{name:"Styled Map"}),h=new window.google.maps.Map(o,p);h.mapTypes.set("map_style",l),h.setMapTypeId("map_style"),n.call(this,h)})};co(()=>{let t=window.jQuery;if(!t)return;let e={animation:!0,placement:"top",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",container:!1},n={placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'};class o{constructor(i,{type:s="tooltip",...a}){this.type=s,this.options={...s==="popover"?n:e,...a},this.hoverState=null,this.$element=null,this.enter=()=>{this.hoverState="in",this.show()},this.leave=()=>{this.hoverState="out",this.hide()},this.toggle=()=>{this.tip().hasClass("in")?this.leave():this.enter()},this.el=i,this.$element=t(i),this.$body=t("body");for(var c=this.options.trigger.split(" "),u=c.length;u--;){var d=c[u];if(d=="click")this.$element.on("click."+this.type,!1,this.toggle);else{var f=d=="hover"?"mouseenter":"focusin",p=d=="hover"?"mouseleave":"focusout";this.$element.on(f+"."+this.type,!1,this.enter),this.$element.on(p+"."+this.type,!1,this.leave)}}(this.$element.attr("title")||typeof this.$element.attr("data-original-title")!="string")&&this.$element.attr("data-original-title",this.$element.attr("title")||"").attr("title","")}show(){var i=t.Event("show.bs."+this.type);if(this.getTitle()||this.getContent()){this.$element.trigger(i);var s=t.contains(document.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!s)return;var a=this,c=this.tip(),u=this.getUID(this.type);this.setContent(),c.attr("id",u),this.$element.attr("aria-describedby",u),this.options.animation&&c.addClass("fade");var d=typeof this.options.placement=="function"?this.options.placement.call(this,c[0],this.$element[0]):this.options.placement,f=/\s?auto?\s?/i,p=f.test(d);p&&(d=d.replace(f,"")||"top"),c.detach().css({top:0,left:0,display:"block"}).addClass(d).data("bs."+this.type,this),this.options.container?c.appendTo(this.options.container):c.insertAfter(this.$element);var l=this.getElementPosition(this.el),h=c[0].offsetWidth,m=c[0].offsetHeight;if(p){var g=d,y=this.getElementPosition(this.el.parentElement);d=d=="bottom"&&l.top+l.height+m-y.scroll>y.height?"top":d=="top"&&l.top-y.scroll-m<0?"bottom":d=="right"&&l.right+h>y.width?"left":d=="left"&&l.left-h<y.left?"right":d,c.removeClass(g).addClass(d)}var v=this.getCalculatedOffset(d,l,h,m);this.applyPlacement(v,d);var w=function(){a.$element.trigger("shown.bs."+a.type),a.hoverState=null};this.$tip.hasClass("fade")?c.one("transitionend",w):w()}}applyPlacement(i,s){var a=this.tip(),c=a[0].offsetWidth,u=a[0].offsetHeight,d=parseInt(a.css("margin-top"),10),f=parseInt(a.css("margin-left"),10);isNaN(d)&&(d=0),isNaN(f)&&(f=0),i.top=i.top+d,i.left=i.left+f,t.offset.setOffset(a[0],t.extend({using:function(v){a.css({top:Math.round(v.top),left:Math.round(v.left)})}},i),0),a.addClass("in");var p=a[0].offsetWidth,l=a[0].offsetHeight;s=="top"&&l!=u&&(i.top=i.top+u-l);var h=this.getViewportAdjustedDelta(s,i,p,l);h.left?i.left+=h.left:i.top+=h.top;var m=h.left?h.left*2-c+p:h.top*2-u+l,g=h.left?"left":"top",y=h.left?"offsetWidth":"offsetHeight";a.offset(i),this.replaceArrow(m,a[0][y],g)}replaceArrow(i,s,a){this.arrow().css(a,i?50*(1-i/s)+"%":"")}setContent(){let i=this.tip(),s=this.getTitle();if(this.type==="popover"){let a=i.find(".popover-title");s?a.text(s):i.find(".popover-title").hide(),i.find(".popover-content").empty().text(this.getContent())}else i.find(".tooltip-inner").text(s);i.removeClass("fade in top bottom left right")}hide(){var i=this,s=this.tip(),a=t.Event("hide.bs."+this.type);this.$element.removeAttr("aria-describedby");function c(){i.hoverState!="in"&&s.detach(),i.$element.trigger("hidden.bs."+i.type)}if(this.$element.trigger(a),!a.isDefaultPrevented())return s.removeClass("in"),this.$tip.hasClass("fade")?s.one("transitionend",c):c(),this.hoverState=null,this}getContent(){return this.type!=="popover"?"":this.$element.attr("data-content")||this.getContentOption()}getViewportDimensions(){return{...window.document.body.getBoundingClientRect(),scroll:document.documentElement.scrollTop||document.body.scrollTop,width:window.innerWidth,height:window.innerHeight,top:0,left:0}}getElementPosition(i){let s=i.getBoundingClientRect();return{...s,scroll:i.scrollTop,width:i.offsetWidth,height:i.offsetHeight,top:s.top+(document.documentElement.scrollTop||document.body.scrollTop),left:s.left+(document.documentElement.scrollLeft||document.body.scrollLeft)}}getCalculatedOffset(i,s,a,c){return i=="bottom"?{top:s.top+s.height,left:s.left+s.width/2-a/2}:i=="top"?{top:s.top-c,left:s.left+s.width/2-a/2}:i=="left"?{top:s.top+s.height/2-c/2,left:s.left-a}:{top:s.top+s.height/2-c/2,left:s.left+s.width}}getViewportAdjustedDelta(i,s,a,c){var u={top:0,left:0},d=this.getViewportDimensions();if(/right|left/.test(i)){var f=s.top-d.scroll,p=s.top-d.scroll+c;f<d.top?u.top=d.top-f:p>d.top+d.height&&(u.top=d.top+d.height-p)}else{var l=s.left,h=s.left+a;l<d.left?u.left=d.left-l:h>d.width&&(u.left=d.left+d.width-h)}return u}getTitle(){return this.$element.attr("data-original-title")||this.getTitleOption()||this.type!=="popover"&&this.getContentOption()}getTitleOption(){return typeof this.options.title=="function"?this.options.title.call(this.$element[0]):this.options.title||""}getContentOption(){return typeof this.options.content=="function"?this.options.content.call(this.$element[0]):this.options.content||""}getUID(i){do i+=~~(Math.random()*1e6);while(document.getElementById(i));return i}tip(){return this.$tip=this.$tip||t(this.options.template)}arrow(){return this.$arrow||(this.$arrow=this.tip().find(this.type==="popover"?".arrow":".tooltip-arrow")),this.$arrow}validate(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)}}Q("extra",(r,i)=>void new o(r,i))});var Mp=window.csGlobal;})();
var xJsData={"scrollTop":"0.75","icons":{"down":"<i class='x-framework-icon x-icon-angle-double-down' data-x-icon-s='&#xf103;' aria-hidden=true><\/i>","subindicator":"<i class=\"x-icon x-framework-icon x-icon-angle-double-down\" aria-hidden=\"true\" data-x-icon-s=\"&#xf103;\"><\/i>","previous":"<i class='x-framework-icon x-icon-previous' data-x-icon-s='&#xf053;' aria-hidden=true><\/i>","next":"<i class='x-framework-icon x-icon-next' data-x-icon-s='&#xf054;' aria-hidden=true><\/i>","star":"<i class='x-framework-icon x-icon-star' data-x-icon-s='&#xf005;' aria-hidden=true><\/i>"}};
(()=>{var Qe=Object.create;var _=Object.defineProperty;var Ye=Object.getOwnPropertyDescriptor;var _e=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ue=Object.prototype.hasOwnProperty;var Ke=e=>_(e,"__esModule",{value:!0});var Ze=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Xe=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of _e(t))!Ue.call(e,r)&&(n||r!=="default")&&_(e,r,{get:()=>t[r],enumerable:!(o=Ye(t,r))||o.enumerable});return e},je=(e,t)=>Xe(Ke(_(e!=null?Qe(Je(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var ye=Ze(()=>{Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,function(n,o){return Array.isArray(o)?n.push.apply(n,e.call(o,t-1)):n.push(o),n},[]):Array.prototype.slice.call(this)},writable:!0}),Array.prototype.flatMap||Object.defineProperty(Array.prototype,"flatMap",{configurable:!0,value:function(e){return Array.prototype.map.apply(this,arguments).flat()},writable:!0})});function ne(e,t,n){var o,r,i,l,a=!1,s=!1,u={},d=0,c=0,p={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function m(h,L){return c&&(c=clearTimeout(c)),d=0,s?void 0:n.call(h,L)}function y(h){o=h.clientX,r=h.clientY}function v(h,L){if(c&&(c=clearTimeout(c)),Math.abs(i-o)+Math.abs(l-r)<p.sensitivity)return d=1,s?void 0:t.call(h,L);i=o,l=r,c=setTimeout(function(){v(h,L)},p.interval)}u.options=function(h){var L=h.handleFocus!==p.handleFocus;return p=Object.assign({},p,h),L&&(p.handleFocus?N():R()),u};function w(h){return a=!0,c&&(c=clearTimeout(c)),e.removeEventListener("mousemove",y,!1),d!==1&&(i=h.clientX,l=h.clientY,e.addEventListener("mousemove",y,!1),c=setTimeout(function(){v(e,h)},p.interval)),this}function b(h){return a=!1,c&&(c=clearTimeout(c)),e.removeEventListener("mousemove",y,!1),d===1&&(c=setTimeout(function(){m(e,h)},p.timeout)),this}function C(h){a||(s=!0,t.call(e,h))}function I(h){!a&&s&&(s=!1,n.call(e,h))}function N(){e.addEventListener("focus",C,!1),e.addEventListener("blur",I,!1)}function R(){e.removeEventListener("focus",C,!1),e.removeEventListener("blur",I,!1)}return u.remove=function(){!e||(e.removeEventListener("mouseover",w,!1),e.removeEventListener("mouseout",b,!1),R())},e&&(e.addEventListener("mouseover",w,!1),e.addEventListener("mouseout",b,!1)),u}var{util:et}=window.csGlobal.rivet,{addClass:J,removeClass:U,hasClass:gn,getOuterHeight:re,oncePassive:oe,makeAlternatingSynchronizer:tt}=et,nt=e=>tt(t=>{if(!e.classList.contains("x-collapsed")){t();return}e.setAttribute("aria-hidden","false");let n=re(e);U(e,"x-collapsed"),J(e,"x-collapsing"),e.offsetHeight,e.style.height=`${n}px`,oe(e,"transitionend",()=>{U(e,"x-collapsing"),e.style.height="",t()})},t=>{e.setAttribute("aria-hidden","true"),e.style.height=`${re(e)}px`,J(e,"x-collapsing"),e.offsetHeight,e.style.height="",oe(e,"transitionend",()=>{U(e,"x-collapsing"),J(e,"x-collapsed"),t()})},void 0,!e.classList.contains("x-collapsed")),K=new WeakMap,rt=e=>(K.has(e)||K.set(e,nt(e)),K.get(e));function ie(e,t){rt(e)(t)}var{util:ot}=window.csGlobal.rivet,{addClass:M,removeClass:F,hasClass:se}=ot;function ae(e,t){if(t){if(!e||se(e,"x-anchor-layered-back"))return;M(e,"x-active")}else F(e,"x-active")}function ce(e){setTimeout(()=>{let t=e.closest(".x-menu");t.addEventListener("transitionend",function(n){let o=t.getBoundingClientRect().top;if(o<0&&n.propertyName==="height"){let r=0,i=e.closest(".x-bar-v .x-bar-scroll-inner, .x-off-canvas-content, .x-modal")||window;if(i===window){let l=window.pageYOffset,a=parseInt(window.getComputedStyle(document.documentElement).marginTop),s=parseInt(window.getComputedStyle(t).fontSize);r=Math.max(0,o+l-a-s)}i.scrollTo({top:r,left:0,behavior:"smooth"})}})},0)}function it(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseInt(n.marginTop)+parseInt(n.marginBottom),t}var le=e=>Math.max(e.offsetHeight,Array.from(e.children).reduce((t,n)=>t+it(n)||0,0)),ue=(e,t)=>{let n=e.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${t}px`)};function st(e){ue(e,le(e));let t=e.closest(`ul:not([data-x-toggleable="${e.getAttribute("data-x-toggleable")}"])`);F(t,"x-current-layer"),M(t,"x-prev-layer"),M(e,"x-current-layer"),ce(e)}function at(e){let t=e.closest(`ul:not([data-x-toggleable="${e.getAttribute("data-x-toggleable")}"])`);!se(t,"x-prev-layer")||(ue(e,le(t)),F(e,"x-current-layer"),M(t,"x-current-layer"),F(t,"x-prev-layer"),ce(e))}function fe(e,t){return t?st(e):at(e)}function de(e,t){let n=new Map;return function(...o){let r=t?t.apply(this,o):o[0];if(n.has(r))return n.get(r);let i=e.apply(this,o);return n.set(r,i),i}}var ct=4,lt=.001,ut=1e-7,ft=10,z=11,D=1/(z-1),dt=typeof Float32Array=="function";function pe(e,t){return 1-3*t+3*e}function ge(e,t){return 3*t-6*e}function he(e){return 3*e}function W(e,t,n){return((pe(t,n)*e+ge(t,n))*e+he(t))*e}function me(e,t,n){return 3*pe(t,n)*e*e+2*ge(t,n)*e+he(t)}function pt(e,t,n,o,r){var i,l,a=0;do l=t+(n-t)/2,i=W(l,o,r)-e,i>0?n=l:t=l;while(Math.abs(i)>ut&&++a<ft);return l}function gt(e,t,n,o){for(var r=0;r<ct;++r){var i=me(t,n,o);if(i===0)return t;var l=W(t,n,o)-e;t-=l/i}return t}function ht(e){return e}function Z(e,t,n,o){if(!(0<=e&&e<=1&&0<=n&&n<=1))throw new Error("bezier x values must be in [0, 1] range");if(e===t&&n===o)return ht;for(var r=dt?new Float32Array(z):new Array(z),i=0;i<z;++i)r[i]=W(i*D,e,n);function l(a){for(var s=0,u=1,d=z-1;u!==d&&r[u]<=a;++u)s+=D;--u;var c=(a-r[u])/(r[u+1]-r[u]),p=s+c*D,m=me(p,e,n);return m>=lt?gt(a,p,e,n):m===0?p:pt(a,s,s+D,e,n)}return function(s){return s===0||s===1?s:W(l(s),t,o)}}var mt=e=>{switch(e){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)"}},g=de(e=>{let t=mt(e);try{let[,n]=t.match(/cubic-bezier\((.*)\)/);return Z(...n.split(",").map(o=>Number(o.trim())))}catch{console.warn("unable to parse easing function",t)}return g("ease")}),bn={easeInQuad:g("cubic-bezier(0.550, 0.085, 0.680, 0.530)"),easeInCubic:g("cubic-bezier(0.550, 0.055, 0.675, 0.190)"),easeInQuart:g("cubic-bezier(0.895, 0.030, 0.685, 0.220)"),easeInQuint:g("cubic-bezier(0.755, 0.050, 0.855, 0.060)"),easeInSine:g("cubic-bezier(0.470, 0.000, 0.745, 0.715)"),easeInExpo:g("cubic-bezier(0.950, 0.050, 0.795, 0.035)"),easeInCirc:g("cubic-bezier(0.600, 0.040, 0.980, 0.335)"),easeInBack:g("cubic-bezier(0.600, -0.280, 0.735, 0.045)"),easeOutQuad:g("cubic-bezier(0.250, 0.460, 0.450, 0.940)"),easeOutCubic:g("cubic-bezier(0.215, 0.610, 0.355, 1.000)"),easeOutQuart:g("cubic-bezier(0.165, 0.840, 0.440, 1.000)"),easeOutQuint:g("cubic-bezier(0.230, 1.000, 0.320, 1.000)"),easeOutSine:g("cubic-bezier(0.390, 0.575, 0.565, 1.000)"),easeOutExpo:g("cubic-bezier(0.190, 1.000, 0.220, 1.000)"),easeOutCirc:g("cubic-bezier(0.075, 0.820, 0.165, 1.000)"),easeOutBack:g("cubic-bezier(0.175, 0.885, 0.320, 1.275)"),easeInOutQuad:g("cubic-bezier(0.455, 0.030, 0.515, 0.955)"),easeInOutCubic:g("cubic-bezier(0.645, 0.045, 0.355, 1.000)"),easeInOutQuart:g("cubic-bezier(0.770, 0.000, 0.175, 1.000)"),easeInOutQuint:g("cubic-bezier(0.860, 0.000, 0.070, 1.000)"),easeInOutSine:g("cubic-bezier(0.445, 0.050, 0.550, 0.950)"),easeInOutExpo:g("cubic-bezier(1.000, 0.000, 0.000, 1.000)"),easeInOutCirc:g("cubic-bezier(0.785, 0.135, 0.150, 0.860)"),easeInOutBack:g("cubic-bezier(0.680, -0.550, 0.265, 1.550)"),materialStand:g("cubic-bezier(0.400, 0.000, 0.200, 1.000)"),materialDecel:g("cubic-bezier(0.000, 0.000, 0.200, 1.000)"),materialAccel:g("cubic-bezier(0.400, 0.000, 1.000, 1.000)"),materialSharp:g("cubic-bezier(0.400, 0.000, 0.600, 1.000)")};Promise.resolve().then(()=>je(ye()));var q={passive:!0};function k(e,t,n,o={}){return e?(typeof o.passive=="undefined"&&(o.passive=!1),e.addEventListener(t,n,o),()=>void e.removeEventListener(t,n,o)):()=>{}}function A(e,t,n){return k(e,t,n,q)}function V(e){let t=()=>void e();return document.readyState==="complete"?(t(),()=>{}):A(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(t,0)})}var ve=e=>(Array.isArray(e)?e.map(ve):[e]).flat().filter(t=>typeof t=="function"),B=e=>{let t=ve(e);return()=>t.forEach(n=>n())};var xe=(e,t)=>(t&&e(document.visibilityState==="visible"),B([k(window,"pagehide",()=>{e(!1)}),k(window.document,"visibilitychange",()=>{e(document.visibilityState==="visible")})]));function E(e,t){let n,o=null;return function(r){if(n){o=r;return}n=setTimeout(function(){e(o),n=null},t)}}var we=(e={})=>{let t,n=()=>{t=new WeakMap},o=s=>t.has(s),r=s=>t.delete(s),i=s=>t.has(s)?t.get(s):e,l=(s,u)=>void t.set(s,u),a=(s,u)=>void l(s,u(i(s)));return n(),{get:i,del:r,set:l,has:o,update:a,reset:n,cache:()=>t}},bt=we(),$n=we();var Tt=e=>k(window,"rvt-scan",()=>e()),be=(e,t=!1)=>{t&&e();let n=E(e,100);return B([A(window,"resize",n,q),k(screen.orientation,"change",n)])},St=(e,t=!1)=>{t&&e();let n=E(e,40);return A(window,"scroll",n)};var At=(e,t)=>B([Tt(e),V(e),xe(e,!1),be(e,t)]);var Et,Te;At(()=>{Et=new WeakMap,Te=new WeakMap},!0);St(()=>{Te=new WeakMap},!0);var Ct="ontouchstart"in document.documentElement;function Se(){return window.innerWidth<=978.98&&Ct}var Ae=0,O={};function f(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+Ae,this.options=f.Adapter.extend({},f.defaults,e),this.element=this.options.element,this.adapter=new f.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=f.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=f.Context.findOrCreateByElement(this.options.context),f.offsetAliases[this.options.offset]&&(this.options.offset=f.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),O[this.key]=this,Ae+=1}f.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)};f.prototype.trigger=function(e){!this.enabled||this.callback&&this.callback.apply(this,e)};f.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete O[this.key]};f.prototype.disable=function(){return this.enabled=!1,this};f.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this};f.prototype.next=function(){return this.group.next(this)};f.prototype.previous=function(){return this.group.previous(this)};f.invokeAll=function(e){var t=[];for(var n in O)t.push(O[n]);for(var o=0,r=t.length;o<r;o++)t[o][e]()};f.destroyAll=function(){f.invokeAll("destroy")};f.disableAll=function(){f.invokeAll("disable")};f.enableAll=function(){f.Context.refreshAll();for(var e in O)O[e].enabled=!0;return this};f.refreshAll=function(){f.Context.refreshAll()};f.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight};f.viewportWidth=function(){return document.documentElement.clientWidth};f.adapters=[];f.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0};f.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}};(function(){"use strict";var e=0,t={},n=window.onload;function o(r){this.element=r,this.Adapter=f.Adapter,this.adapter=new this.Adapter(r),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},r.waypointContextKey=this.key,t[r.waypointContextKey]=this,e+=1,f.windowContext||(f.windowContext=!0,f.windowContext=new o(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(r){var i=r.options.horizontal?"horizontal":"vertical";this.waypoints[i][r.key]=r,this.refresh()},o.prototype.checkEmpty=function(){var r=this.Adapter.isEmptyObject(this.waypoints.horizontal),i=this.Adapter.isEmptyObject(this.waypoints.vertical),l=this.element==this.element.window;r&&i&&!l&&(this.adapter.off(".waypoints"),delete t[this.key])},o.prototype.createThrottledResizeHandler=function(){var r=this;function i(){r.handleResize(),r.didResize=!1}this.adapter.on("resize.waypoints",function(){r.didResize||(r.didResize=!0,requestAnimationFrame(i))})},o.prototype.createThrottledScrollHandler=function(){var r=this;function i(){r.handleScroll(),r.didScroll=!1}this.adapter.on("scroll.waypoints",function(){(!r.didScroll||f.isTouch)&&(r.didScroll=!0,requestAnimationFrame(i))})},o.prototype.handleResize=function(){f.Context.refreshAll()},o.prototype.handleScroll=function(){var r={},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 l in i){var a=i[l],s=a.newScroll>a.oldScroll,u=s?a.forward:a.backward;for(var d in this.waypoints[l]){var c=this.waypoints[l][d];if(c.triggerPoint!==null){var p=a.oldScroll<c.triggerPoint,m=a.newScroll>=c.triggerPoint,y=p&&m,v=!p&&!m;(y||v)&&(c.queueTrigger(u),r[c.group.id]=c.group)}}}for(var w in r)r[w].flushTriggers();this.oldScroll={x:i.horizontal.newScroll,y:i.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?f.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(r){delete this.waypoints[r.axis][r.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?f.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var r=[];for(var i in this.waypoints)for(var l in this.waypoints[i])r.push(this.waypoints[i][l]);for(var a=0,s=r.length;a<s;a++)r[a].destroy()},o.prototype.refresh=function(){var r=this.element==this.element.window,i=r?void 0:this.adapter.offset(),l={},a;this.handleScroll(),a={horizontal:{contextOffset:r?0:i.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:i.top,contextScroll:r?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var s in a){var u=a[s];for(var d in this.waypoints[s]){var c=this.waypoints[s][d],p=c.options.offset,m=c.triggerPoint,y=0,v=m==null,w,b,C,I,N;c.element!==c.element.window&&(y=c.adapter.offset()[u.offsetProp]),typeof p=="function"?p=p.apply(c):typeof p=="string"&&(p=parseFloat(p),c.options.offset.indexOf("%")>-1&&(p=Math.ceil(u.contextDimension*p/100))),w=u.contextScroll-u.contextOffset,c.triggerPoint=Math.floor(y+w-p),b=m<u.oldScroll,C=c.triggerPoint>=u.oldScroll,I=b&&C,N=!b&&!C,!v&&I?(c.queueTrigger(u.backward),l[c.group.id]=c.group):(!v&&N||v&&u.oldScroll>=c.triggerPoint)&&(c.queueTrigger(u.forward),l[c.group.id]=c.group)}}return requestAnimationFrame(function(){for(var R in l)l[R].flushTriggers()}),this},o.findOrCreateByElement=function(r){return o.findByElement(r)||new o(r)},o.refreshAll=function(){for(var r in t)t[r].refresh()},o.findByElement=function(r){return t[r.waypointContextKey]},window.onload=function(){n&&n(),o.refreshAll()},f.Context=o})();(function(){"use strict";function e(r,i){return r.triggerPoint-i.triggerPoint}function t(r,i){return i.triggerPoint-r.triggerPoint}var n={vertical:{},horizontal:{}};function o(r){this.name=r.name,this.axis=r.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}o.prototype.add=function(r){this.waypoints.push(r)},o.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},o.prototype.flushTriggers=function(){for(var r in this.triggerQueues){var i=this.triggerQueues[r],l=r==="up"||r==="left";i.sort(l?t:e);for(var a=0,s=i.length;a<s;a+=1){var u=i[a];(u.options.continuous||a===i.length-1)&&u.trigger([r])}}this.clearTriggerQueues()},o.prototype.next=function(r){this.waypoints.sort(e);var i=f.Adapter.inArray(r,this.waypoints),l=i===this.waypoints.length-1;return l?null:this.waypoints[i+1]},o.prototype.previous=function(r){this.waypoints.sort(e);var i=f.Adapter.inArray(r,this.waypoints);return i?this.waypoints[i-1]:null},o.prototype.queueTrigger=function(r,i){this.triggerQueues[i].push(r)},o.prototype.remove=function(r){var i=f.Adapter.inArray(r,this.waypoints);i>-1&&this.waypoints.splice(i,1)},o.prototype.first=function(){return this.waypoints[0]},o.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},o.findOrCreate=function(r){return n[r.axis][r.name]||new o(r)},f.Group=o})();(function(){"use strict";function e(o){return o===o.window}function t(o){return e(o)?o:o.defaultView}function n(o){this.element=o,this.handlers={}}n.prototype.innerHeight=function(){var o=e(this.element);return o?this.element.innerHeight:this.element.clientHeight},n.prototype.innerWidth=function(){var o=e(this.element);return o?this.element.innerWidth:this.element.clientWidth},n.prototype.off=function(o,r){function i(p,m,y){for(var v=0,w=m.length-1;v<w;v++){var b=m[v];(!y||y===b)&&p.removeEventListener(b)}}var l=o.split("."),a=l[0],s=l[1],u=this.element;if(s&&this.handlers[s]&&a)i(u,this.handlers[s][a],r),this.handlers[s][a]=[];else if(a)for(var d in this.handlers)i(u,this.handlers[d][a]||[],r),this.handlers[d][a]=[];else if(s&&this.handlers[s]){for(var c in this.handlers[s])i(u,this.handlers[s][c],r);this.handlers[s]={}}},n.prototype.offset=function(){if(!this.element.ownerDocument)return null;var o=this.element.ownerDocument.documentElement,r=t(this.element.ownerDocument),i={top:0,left:0};return this.element.getBoundingClientRect&&(i=this.element.getBoundingClientRect()),{top:i.top+r.pageYOffset-o.clientTop,left:i.left+r.pageXOffset-o.clientLeft}},n.prototype.on=function(o,r){var i=o.split("."),l=i[0],a=i[1]||"__default",s=this.handlers[a]=this.handlers[a]||{},u=s[l]=s[l]||[];u.push(r),this.element.addEventListener(l,r)},n.prototype.outerHeight=function(o){var r=this.innerHeight(),i;return o&&!e(this.element)&&(i=window.getComputedStyle(this.element),r+=parseInt(i.marginTop,10),r+=parseInt(i.marginBottom,10)),r},n.prototype.outerWidth=function(o){var r=this.innerWidth(),i;return o&&!e(this.element)&&(i=window.getComputedStyle(this.element),r+=parseInt(i.marginLeft,10),r+=parseInt(i.marginRight,10)),r},n.prototype.scrollLeft=function(){var o=t(this.element);return o?o.pageXOffset:this.element.scrollLeft},n.prototype.scrollTop=function(){var o=t(this.element);return o?o.pageYOffset:this.element.scrollTop},n.extend=function(){var o=Array.prototype.slice.call(arguments);function r(a,s){if(typeof a=="object"&&typeof s=="object")for(var u in s)s.hasOwnProperty(u)&&(a[u]=s[u]);return a}for(var i=1,l=o.length;i<l;i++)r(o[0],o[i]);return o[0]},n.inArray=function(o,r,i){return r==null?-1:r.indexOf(o,i)},n.isEmptyObject=function(o){for(var r in o)return!1;return!0},f.adapters.push({name:"noframework",Adapter:n}),f.Adapter=n})();var Ee=f;A(window,"rvt-scan",Ee.Context.refreshAll);var Ce=0,Le="--x-body-scroll-bar-size",or=`var(${Le}, 0)`,ke="--x-body-scroll-active-bar-size",ir=`var(${ke}, 0)`;V(function(){Ce=window.innerWidth-document.body.offsetWidth,Oe(Le,Ce+"px"),Oe(ke,"0px")});function Oe(e,t){document.querySelector(":root").style.setProperty(e,t)}function Lt(e,t=null){return t?e.style.setProperty("transition-property",t,"important"):e.style.setProperty("transition","none","important"),e.style.setProperty("animation","none","important"),()=>{e.offsetHeight,e.style.removeProperty(t?"transition-property":"transition"),e.style.removeProperty("animation")}}var kt=(e,t)=>(n,{after:o}={})=>{e(n);let r=Lt(n);return()=>{t(n),r(),typeof o=="function"&&o()}},dr=kt(e=>e.style.setProperty("opacity",1,"important"),e=>e.style.removeProperty("opacity"));var{util:Ie}=window.csGlobal.rivet,{listener:Ot,debounce:Wr,addClass:It,removeClass:zt,hasClass:T,toggleClass:x,oncePassive:ze,scrollingDisable:Ht,scrollingEnable:He}=Ie,$=null,Pe=e=>document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle]`),Pt=e=>document.querySelector(`[data-x-toggleable="${e}"]:not([data-x-toggle])`),Ne=e=>e?e.parentElement.matches(".x-nav-tabs-item")?"classic-tab":e.getAttribute("data-x-toggle"):null,Nt=e=>["tab","classic-tab"].includes(Ne(e)),X=e=>e&&e.getAttribute("data-x-toggle-group"),Rt=e=>!!document.querySelector(`[data-x-toggle-group="${e||""}"].x-active`);var H=e=>e&&e.getAttribute("data-x-toggleable"),Re=e=>e&&e.getAttribute("data-x-toggle-hash"),Mt=e=>e&&e.matches(".mce-content-body"),Ft=E(function(){window.dispatchEvent(new Event("resize"))},250),Dt=E(function(){window.dispatchEvent(new Event("rvt-scan"))},250);var Me=e=>document.querySelectorAll(`[data-x-toggle-group="${X(e)}"]:not([data-x-toggleable="${H(e)}"])`),Wt=e=>document.querySelectorAll(`[data-x-toggle-group="${X(e)}"].x-active`);Ie.toggle={getOthersInGroup:Me,getActiveInGroup:Wt};var qt=e=>Array.from(document.querySelectorAll("[data-x-toggle-hash]")).filter(t=>Re(t)===e).map(H);window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var Vt=!1,S=window.TCOToggleStates,j=window.TCOToggleScrollBlocking,G=!1;function Bt(){let e=[];for(let[t,n]of S){let o=Pt(t);n&&j.has(t)&&e.push(t),o||S.delete(t)}e.find(t=>!S.has(t))&&requestAnimationFrame(He)}window.integrityCheckTimeout||(window.integrityCheckTimeout=null);var $t=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(Bt,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=$t);function Gt(e){let t=Pe(e);switch(Ne(t)){case"collapse":case 1:case"layered":return t.matches(".x-active");case"tab":return Rt(X(t));case"classic-tab":return t.parentElement.matches(".active");case"collapse-b":return!t.matches(".collapsed")}return t?t.classList&&t.classList.contains("x-active"):null}function ee(e){return S.has(e)||S.set(e,Gt(e)),S.get(e)}function Q({id:e,state:t,_triggeringGroup:n,force:o,hashUpdate:r=!window.csGlobal.isPreview}){let i=ee(e);if(typeof t=="undefined"&&(t=!i),t&&window.xLastToggleable!==e)window.xLastToggleable=e,window.xToggleStack.push(e);else if(!t){let a=window.xToggleStack.indexOf(e);a!==-1&&window.xToggleStack.splice(a,1),window.xLastToggleable===e&&(window.xLastToggleable=window.xToggleStack[window.xToggleStack.length-1])}let l=Pe(e);!o&&!n&&(Mt(l)||!t&&Nt(l))||(S.set(e,t),(i!==t||o)&&(Qt(e,t),r&&Ut(l,t)),n||Me(l).forEach(a=>{Q({force:o,id:H(a),state:!1,_triggeringGroup:!0,hashUpdate:r})}))}window.xLastToggleable="";window.xToggleStack=[];window.xToggleGetState=e=>ee(e);window.xToggleGetStateFromNode=e=>ee(H(e));window.xToggleUpdate=(e,t)=>Q({id:e,state:t});window.xToggleDelete=e=>S.delete(e);window.xToggleGetId=H;window.xGetLastToggleable=function(){return window.xLastToggleable};var Fe=!1;window.xToggleTempUnlock=()=>{Fe=!!G,G=!1};window.xToggleTempRelock=()=>{G=Fe};window.xToggleSetLocking=e=>{G=!!e};window.xToggleHashUpdate=_t;function Qt(e,t){Array.from(document.querySelectorAll(`[data-x-toggleable="${e}"]`)).forEach(n=>{n.dispatchEvent(new CustomEvent("tco-toggle",{bubbles:!1,detail:{state:t,id:e}}))})}function De(e){return Ot(e,"tco-toggle",({currentTarget:t,detail:{state:n,id:o}})=>{var r;if(n||Yt(e),e.hasAttribute("data-x-toggle-overlay")&&(n?((r=document.querySelector(`[data-x-toggleable=${o}][role="dialog"]`))==null?void 0:r.hasAttribute("data-x-disable-body-scroll"))&&(requestAnimationFrame(Ht),j.set(o,!0)):n||(j.delete(o),requestAnimationFrame(He))),e.hasAttribute("aria-hidden")&&e.setAttribute("aria-hidden",!n),e.hasAttribute("aria-expanded")&&e.setAttribute("aria-expanded",n),e.hasAttribute("aria-selected")&&e.setAttribute("aria-selected",n),e.hasAttribute("data-x-toggle-collapse")?ie(e,n):e.hasAttribute("data-x-toggle-layered")?fe(e,n):T(e,"x-anchor")?ae(e,n):e.getAttribute("data-x-toggle")==="collapse-b"?x(e,"collapsed",!n):T(e.parentElement,"x-nav-tabs-item")?x(e.parentElement,"active",n):T(e,"x-tab-pane")?x(e,"active",n):T(e,"x-dropdown")?Jt(e,n):x(e,"x-active",n),T(e,"x-modal")&&Ft(),Dt(),e.matches("[data-x-toggle]")){if(x(e.querySelector(".x-toggle"),"x-active",n),Vt)return;Array.from(e.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{T(i,"x-running")||ze(i,"animationiteration",()=>{zt(i,"x-running"),T(e,"x-active")||i.removeAttribute("style")}),It(i,"x-running"),T(e,"x-active")&&(i.style.animationName=i.getAttribute("data-x-toggle-anim"))})}if(n&&!window.csGlobal.isPreview)if(t.querySelector("[data-x-search][data-x-search-autofocus]")){let i=t.querySelector("[data-x-search][data-x-search-autofocus] input");if(Kt(i,350),!Se())return;ze(t,"transitionend",function(){i.scrollIntoView(!0)})}else{let i=e.querySelector('[tabindex="-1"]');i&&i.focus&&(i.focus(),setTimeout(function(){i.focus()},250))}})}function Yt(e){let t=e.querySelectorAll("[data-x-toggleable]")||[];for(let n=0;n<t.length;++n){let o=t[n];Q({id:o.getAttribute("data-x-toggleable"),state:!1})}}function _t(e){qt(e).forEach(n=>{Q({id:n,state:!0})})}function Jt(e,t){let o=window.getComputedStyle(e)["transition-duration"];if(o=o?parseFloat(o.replace("s","")):0,$&&($(),$=null),!o){x(e,"x-active",t),x(e,"x-active-animate",t);return}let r=o*1e3,i=t?"x-active":"x-active-animate",l=t?"x-active-animate":"x-active",a=t?15:r;requestAnimationFrame(function(){x(e,i,t),window.dispatchEvent(new CustomEvent("resize"))});let s=setTimeout(function(){requestAnimationFrame(function(){x(e,l,t)})},a);return $=function(){!s||(clearTimeout(s),x(e,"x-active",t),x(e,"x-active-animate",t))}}function Ut(e,t){let n=Re(e);if(!n)return;let o=t?n:"";!t&&`#${n}`!==window.location.hash||(history.pushState(null,null,"#"+o),window.dispatchEvent(new CustomEvent("hashchange")))}function Kt(e,t){if(t||(t=100),e){var n=document.createElement("input");n.style.position="fixed",n.style.top=e.offsetTop+7+"px",n.style.left=e.offsetLeft+"px",n.style.height=0,n.style.opacity=0,document.body.appendChild(n),n.focus(),setTimeout(function(){e.focus(),e.click(),document.body.removeChild(n)},t)}}var{attach:Y,util:Zt}=window.csGlobal.rivet,{scrollOffset:Xt}=Zt;window.xJsData=window.xJsData||{};var Ve,Be,$e,jt={up:(Ve=window.xJsData.icons)==null?void 0:Ve.up,down:(Be=window.xJsData.icons)==null?void 0:Be.down,subindicator:($e=window.xJsData.icons)==null?void 0:$e.subindicator};window.csGlobal||console.warn("X is running without Cornerstone.");var Ge,{csHooks:P,fixedTopOffset:$r,adminBarOffset:en,scrollTo:tn,rivet:{util:{getOuterHeight:nn,hasClass:We,toggleClass:te,addClass:rn,onPercentScrolled:on,onScroll:sn,onResize:Gr,listener:qe}={}}={}}=(Ge=window.csGlobal)!=null?Ge:{};window.jQuery&&window.jQuery.extend(window.jQuery.easing,{xEaseOutQuad:e=>csGlobal.rivet.util.getEasing("easeOutQuad")(e),xEaseInOutExpo:e=>csGlobal.rivet.util.getEasing("easeInOutExpo")(e)});function an(e){let t=()=>{un(),fn(),cn(),window.csGlobal&&e()};document.readyState!="loading"?t():document.addEventListener("DOMContentLoaded",t)}an(()=>{Y("body.x-navbar-fixed-top-active .x-navbar",e=>{let t=["x-navbar-fixed-top",...We(document.body,"x-boxed-layout-active")?["x-container","max","width"]:[]],n=document.querySelector(".x-navbar-wrap");sn(()=>{let i=window.scrollY+en()>Xt(n).top;t.forEach(l=>{te(e,l,i)})});let o=i=>l=>{l.matches(".x-nav-wrap.desktop .x-nav li > a")&&te(l.closest("li"),"current-menu-item",i)},r=window.getComputedStyle(e);P.action("scrollspy_activate",o(!0)),P.action("scrollspy_deactivate",o(!1)),P.filter("fixed_top_offset",i=>window.innerWidth<=978.98&&P.apply("x_mobile_header_not_fix",!0)&&r.getPropertyValue("position")!=="fixed"?i:Math.max(i,nn(e)))}),P.filter("hash_scrolling_allow",(e,t,n,o)=>o==="#comments"||t.hasAttribute("data-vc-accordion")||t.hasAttribute("data-vc-tabs")?!1:e),qe(window.document.body,"click",e=>{e.target.matches(".x-btn-navbar-search, .x-btn-widgetbar")&&e.preventDefault()}),Array.from(document.querySelectorAll('iframe[src*="youtube.com"]')).forEach(e=>{let t=e.getAttribute("src");e.setAttribute("wmode","Opaque"),t&&t.includes("?")?e.setAttribute("src",`${t}&wmode=transparent`):e.setAttribute("src",`${t}?wmode=transparent`)}),Y(".x-slider-container .x-slider-scroll-bottom",e=>qe(e,"click",t=>{t.preventDefault();let n=e.closest(".x-slider-container");tn(n,{bottom:!0,offsetTop:We(n,"below")})})),Y("body.x-stack-icon .x-sidebar",e=>{let t=e.querySelector(".max.width");rn(t,"x-container")}),Y(".x-scroll-top",e=>{var t;return on(parseFloat((t=xJsData.scrollTop)!=null?t:".75"),n=>{te(e,"in",n)})})});function cn(){let e=document.querySelector(".x-searchform-overlay");if(!e)return;let t=e.querySelector(".search-query");function n(){e.classList.toggle("in"),setTimeout(function(){t.value=""},350)}let o=function(r){(r.target.matches(".x-btn-navbar-search")||r.target.closest(".x-btn-navbar-search"))&&(r.preventDefault(),e.classList.toggle("in"),t.focus()),(r.target.matches(".x-searchform-overlay")||r.target.closest(".x-searchform-overlay"))&&(r.target.matches(".search-query")||n())};document.body.addEventListener("click",o),document.body.addEventListener("touchstart",o),document.addEventListener("keydown",function(r){r.key==="Escape"&&e.matches(".in")&&n()})}function ln(e){let t=!1;function n(){t=!0,typeof e=="function"&&e(),document.body.removeEventListener(n,{passive:!0,capture:!0})}return document.body.addEventListener("touchstart",n,{passive:!0,capture:!0}),()=>t}function un(){let e=document.querySelector(".desktop .x-nav");if(!e)return;let t=d=>d.matches(".desktop .x-nav li")?d:d.closest(".desktop .x-nav li"),n=d=>d&&d.matches("li.menu-item-has-children");function o(d){let c=d&&d.closest(".sub-menu, .x-nav");c&&[...c.querySelectorAll(".x-active")].forEach(p=>p.classList.remove("x-active"))}function r(d){d&&(o(d),n(d)&&d.classList.add("x-active"))}let i=!0;function l({target:d}){let c=t(d);c?(i=c,r(c)):i&&(i=!1,o(e))}document.body.addEventListener("focusin",l);let a=d=>{let c=t(d.target);n(c)&&(d.preventDefault(),d.stopPropagation(),r(c)),c||o(e)};document.body.addEventListener("touchstart",a,{passive:!1}),document.body.addEventListener("click",a,{passive:!1});let s=ln(()=>document.body.removeEventListener("focusin",l)),u;[...e.querySelectorAll("li")].forEach(d=>{ne(d,({target:c})=>{if(s())return;let p=t(c);clearTimeout(u),n(p)?r(p):u=setTimeout(()=>o(p),350),document.body.removeEventListener("touchstart",a,{passive:!1}),document.body.removeEventListener("click",a,{passive:!1})},({relatedTarget:c,toElement:p})=>{if(s())return;let m=c||p;if(!e.contains(m)){clearTimeout(u),u=setTimeout(()=>o(e),750);return}let y=t(m);y&&(clearTimeout(u),u=setTimeout(()=>o(y),350))})})}function fn(){function e(t){let n=document.createElement("div");return n.innerHTML=t.trim(),n.firstChild}[...document.querySelectorAll(".mobile .x-nav li.menu-item-has-children > a")].forEach((t,n)=>{t.appendChild(e(`<div class="x-sub-toggle collapsed" data-x-toggle="collapse-b" data-x-toggleable="x-nav-wrap-mobile-sm-${n}" aria-expanded="false" aria-haspopup="true" aria-controls="x-nav-wrap-mobile-sm-${n}" data-x-skip-scroll="true"><span data-x-skip-scroll="true">${jt.subindicator}</span></div>`))}),[...document.querySelectorAll(".mobile .x-nav .sub-menu")].forEach((t,n)=>{t.setAttribute("id",`x-nav-wrap-mobile-sm-${n}`),t.setAttribute("class","x-collapsed"),t.setAttribute("data-x-toggleable",`x-nav-wrap-mobile-sm-${n}`),t.setAttribute("data-x-toggle-collapse","1"),t.setAttribute("aria-hidden","true"),De(t)})}})();
/*! This file is auto-generated */
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);
(()=>{var c={strings:[],typeSpeed:0,startDelay:0,backSpeed:0,shuffle:!1,backDelay:500,loop:!1,loopCount:!1,showCursor:!0,cursorChar:"|",attr:null,contentType:"html",callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}},h=function(e,s){this.el=e,this.options={...c,...s},this.isInput=this.el.matches("input"),this.attr=this.options.attr,this.showCursor=this.isInput?!1:this.options.showCursor,this.elContent=this.attr?this.el.getAttribute(this.attr):this.el.textContent,this.contentType=this.options.contentType,this.typeSpeed=this.options.typeSpeed,this.startDelay=this.options.startDelay,this.backSpeed=this.options.backSpeed,this.backDelay=this.options.backDelay,this.strings=this.options.strings,this.strPos=0,this.arrayPos=0,this.stopNum=0,this.loop=this.options.loop,this.loopCount=this.options.loopCount,this.curLoop=0,this.stop=!1,this.cursorChar=this.options.cursorChar,this.shuffle=this.options.shuffle,this.sequence=[],this.timeouts=[],this.build()};h.prototype={constructor:h,init:function(){var e=this;e.addTimeout(function(){for(var s=0;s<e.strings.length;++s)e.sequence[s]=s;e.shuffle&&(e.sequence=e.shuffleArray(e.sequence)),e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},e.startDelay)},build:function(){var e=this;e.addTimeout(()=>{let s=e.el.parentNode.querySelectorAll(".x-typed-cursor");for(var i=0;i<s.length;++i)s[i].remove();this.showCursor===!0&&(this.cursor=document.createElement("span"),this.cursor.classList.add("x-typed-cursor"),this.cursor.innerText=this.cursorChar,this.el.insertAdjacentElement("afterend",this.cursor)),e.stop=!1,e.init()},500)},typewrite:function(e,s){if(this.stop!==!0){var i=Math.round(Math.random()*(100-30))+this.typeSpeed,t=this;t.addTimeout(function(){var n=0,o=e.substr(s);if(o.charAt(0)==="^"){var u=1;/^\^\d+/.test(o)&&(o=/\d+/.exec(o)[0],u+=o.length,n=parseInt(o)),e=e.substring(0,s)+e.substring(s+u)}if(t.contentType==="html"){var l=e.substr(s).charAt(0);if(l==="<"||l==="&"){var f="",a="";for(l==="<"?a=">":a=";";e.substr(s).charAt(0)!==a;)f+=e.substr(s).charAt(0),s++;s++,f+=a}}t.addTimeout(function(){if(s===e.length){if(t.options.onStringTyped(t.arrayPos),t.arrayPos===t.strings.length-1&&(t.options.callback(),t.curLoop++,t.loop===!1||t.curLoop===t.loopCount)){t.stop=!0,t.clearTimeouts();return}t.addTimeout(function(){t.backspace(e,s)},t.backDelay)}else{s===0&&t.options.preStringTyped(t.arrayPos);var r=e.substr(0,s+1);t.attr?t.el.getAttribute(t.attr,r):t.isInput?t.el.setAttribute("value",r):t.contentType==="html"?t.el.innerHTML=r:t.el.textContent=r,s++,t.typewrite(e,s)}},n)},i)}},backspace:function(e,s){if(this.stop!==!0){var i=Math.round(Math.random()*(100-30))+this.backSpeed,t=this;t.addTimeout(function(){if(t.contentType==="html"&&e.substr(s).charAt(0)===">"){for(var n="";e.substr(s).charAt(0)!=="<";)n-=e.substr(s).charAt(0),s--;s--,n+="<"}var o=e.substr(0,s);t.attr?t.el.attr(t.attr,o):t.isInput?t.el.val(o):t.contentType==="html"?t.el.innerHTML=o:t.el.textContent=o,s>t.stopNum?(s--,t.addTimeout(()=>{t.backspace(e,s)},i)):s<=t.stopNum&&(t.arrayPos++,t.arrayPos===t.strings.length?(t.arrayPos=0,t.shuffle&&(t.sequence=t.shuffleArray(t.sequence)),t.init()):t.typewrite(t.strings[t.sequence[t.arrayPos]],s))},i)}},shuffleArray:function(e){var s,i,t=e.length;if(t)for(;--t;)i=Math.floor(Math.random()*(t+1)),s=e[i],e[i]=e[t],e[t]=s;return e},addTimeout:function(e,s){if(this.clearTimeouts(),this.stop)return;let i,t=setTimeout(()=>{e(),this.timeouts.splice(i,1)},s);i=this.timeouts.push(t)},clearTimeouts:function(){this.timeouts.map((e,s)=>{clearTimeout(e),this.timeouts.splice(s,1)})},reset:function(){var e=this;e.stop=!0,this.clearTimeouts();var s=this.el.getAttribute("id");let i=document.createElement("span");i.setAttribute("id",s),this.el.insertAdjacentElement("afterend",i),this.el.remove(),typeof this.cursor!="undefined"&&this.cursor.remove(),e.options.resetCallback()}};function p(e,s={}){let i=new h(e,s);return()=>{i.reset()}}var{attach:d}=window.csGlobal.rivet;d("[data-x-element-text-type]",(e,s)=>p(e.querySelector(".text, .x-text-typing"),{strings:s.strings,typeSpeed:s.type_speed,startDelay:s.start_delay,backSpeed:s.back_speed,backDelay:s.back_delay,loop:s.loop,showCursor:s.show_cursor,cursorChar:s.cursor}));})();
(()=>{var{store:et,util:tt}=window.csGlobal.rivet,{subtractVectors:$,debounce:nt,teardown:st,listener:Y,listenerPassive:De,divideVectors:Te,clampVector:rt,vectorsEq:it,addVectors:ge,absVector:ot,roundVector:Fe,multiplyVectors:ve}=tt,ne=.065,at=75e-6,Ie=3,Me=7,ct=3,se=e=>!1,lt=at*-1;function dt(e,{canBeginMove:n=()=>!0,onBeginMove:r=()=>{},onEndMove:c=()=>{},onMove:o=()=>{},onClick:u=()=>{},className:t="is-drag",drag:a,click:g,scroll:s,checkY:l=!1}){let i=!0,d,v=null,p=!1,y=!1,P=!1,x,A=0,h=[],F=!0,T=(f,m)=>{x||(x=f.timeStamp);let b=x-f.timeStamp;x=f.timeStamp;let S=$(d,m);d=m;let D=rt(Te(S,[b,b]),Me*-1,Me);return h.push(D),h.length>ct&&h.shift(),A=Te(h.reduce((E,I)=>ge(E,I)),[h.length,h.length]),[m,A]},M=({clientX:f,clientY:m})=>[f,m],V=f=>{var m;return f.type.includes("touch")?M((m=f.touches[0])!=null?m:f.changedTouches[0]):M(f)},C=([f,m])=>Math.abs(f)>Ie||l&&Math.abs(m)>Ie,k=f=>{v=V(f),d=v,h=[]},q=f=>$(v,V(f)),O=f=>{se("POINTER START"),a&&!P&&n(f)&&(k(f),e.addEventListener("pointermove",_))},R=f=>{se("TOUCH START"),a&&!P&&n(f)&&(y=!0,k(f),e.removeEventListener("pointermove",_),e.addEventListener("touchmove",J))},U=f=>{if(se("DRAG",f.type),!!i)if(p)f.cancelable&&f.preventDefault(),o(...T(f,q(f)));else{f.type==="pointermove"&&e.setPointerCapture(f.pointerId);let m=q(f);C(m)&&(k(f),p=!0,r(...T(f,m),!1,f),t&&e.classList.add(t))}},_=f=>{U(f)},J=f=>{U(f)},H=(f,m)=>{x=null,!(f.type.includes("pointer")&&(e.removeEventListener("pointermove",_),e.releasePointerCapture(f.pointerId),y))&&(f.type.includes("touch")&&(e.removeEventListener("touchmove",J),y=!1),!!p&&(se("END",f.type,m),c(q(f),A,!1,m),t&&e.classList.remove(t),p=!1))},j=f=>{H(f),g&&f.target!==e&&!y&&u(f.target)},Z=f=>void H(f,!0),ee=f=>{if(!i){i=!0;return}H(f)},K=f=>void H(f),de=f=>{P?o(f,[0,0],!0):(P=!0,r([0,0],[0,0],!0)),ue()},ue=nt(()=>{P=!1,c([0,0],[0,0],!0)},200),fe=f=>{if(!p){let m=[f.deltaX,f.deltaY],b=ot(m);b[0]>b[1]&&(f.preventDefault(),de(m))}},z,w=function(){i=!1,z&&clearTimeout(z),z=setTimeout(function(){i=!0},100)};return st([Y(e,"touchstart",R),Y(e,"touchend",ee),Y(e,"touchcancel",K),Y(e,"pointerdown",O),Y(e,"pointerup",j),Y(e,"pointercancel",Z),s?Y(e,"wheel",fe):null,De(window,"scroll",w),De(document.body,"scroll",w),()=>void e.removeEventListener("pointermove",_)])}function re({el:e,drag:n,click:r,scroll:c,cursor:o=!1},u){if(window.csGlobal&&window.csGlobal.disableSlideInteractions)return()=>{};if(!n&&!r)return()=>{};o&&e.classList.add("can-drag");let{unsubscribe:t,getState:a,dispatch:g}=et.subscribe(e,"slider"),s=dt(e,{...u({getState:a,dispatch:g}),className:o?"is-drag":"",click:r,drag:n,scroll:c});return()=>{o&&e.classList.remove("can-drag"),s(),t()}}var Ve=e=>{let n=!1,r=!1,c=!1,o=null,u=[0,0],t=[0,0],a=$([1,1],[ne,ne]),g,s,l=d=>{let v=d-s;s=d,!c&&o&&(t=ge(t,ve($(u,o),[lt*v,0]))),t=ve(t,a);let p=ve(t,[v,v]),y=ge(u,p),P=!1,x=!1;if(a[0]<1||a[1]<1){let h=.001*v,F=Math.abs(t[0])<=h&&t[0]!==0,T=Math.abs(t[1])<=h&&t[1]!==0;F&&(t[0]=0),T&&(t[1]=0),(F&&T||F&&t[1]===0||T&&t[0]===0)&&(x=!0)}if(o){let h=$(o,y),F=$(o,u);h[0]>0^F[0]>0&&(y[0]=o[0],t[0]=0),h[1]>0^F[1]>0&&(y[1]=o[1],t[1]=0),it(Fe(o,1),Fe(y,1))&&(y=o,o=null,P=!0,x=!0,t=[0,0])}r&&(r=!1,x=!0,t=[0,0]),u=y;let A=e(y,{snapped:P,stalled:x});x&&!o?n=!1:g=requestAnimationFrame(l),typeof A=="function"&&A()},i=()=>{r=!1,!n&&(n=!0,s=performance.now(),cancelAnimationFrame(g),requestAnimationFrame(l))};return{start:()=>{i()},snapTo:d=>{i(),o=d?[d[0],0]:null},stall:()=>{r=!0,o=null},suspend:d=>{c=!!d},isSuspended:()=>c,setPosition:([d])=>{i(),u=[d,0]},setVelocity:([d],v=!0)=>{v&&i(),t=[d,0]},setFriction:d=>{a=$([1,1],[d,d])},resetFriction:()=>{a=[ne,ne]}}},ut=.2,ie=e=>Math.abs(e)<ut?0:e>0?1:-1;var{store:ft,util:pt}=window.csGlobal.rivet,{teardown:mt,listener:Ce,intersect:gt,getEasing:vt,round:yt,onPageVisibilityChange:ht,triggerScan:pn,oncePassive:bt,listenerPassive:St}=pt,Le=({onPlay:e,onPause:n,onReset:r,duration:c})=>{let o=new Set,u=!1,t=()=>{!u&&o.size<=0&&(u=!0,e(i))},a=d=>{o.has(d)&&o.delete(d),t()},g=d=>{let v=u;u=!1,o.has(d)||o.add(d),v&&n(i)};g("main");let i={getDuration:()=>(typeof c=="function"?c():c)||1e3,release:a,hold:g,reset:()=>{r(i,u),t()},setup:()=>{}};return i},wt=({duration:e,interval:n,animate:r,easing:c="linear"})=>{let o,u,t,a,g=0,s=0,l=vt(c);r(0);let i=p=>{let y=yt(l((p-u)/t),1e3);y!==g&&r(y),g=y,a=requestAnimationFrame(i)},d=p=>{u=window.performance.now(),s?u=window.performance.now()-p*s:r(0),g=s,t=p,s=0,cancelAnimationFrame(a),a=requestAnimationFrame(i)},v=p=>{let y=p;s&&(y=p-p*s),d(p),o=setInterval(()=>{d(p),y!==p&&(clearInterval(o),cancelAnimationFrame(a),v(p)),n()},y)};return Le({duration:e,onPlay({getDuration:p}){v(p())},onPause(){s=g,clearInterval(o),cancelAnimationFrame(a)},onReset({getDuration:p},y){clearInterval(o),cancelAnimationFrame(a),y&&v(p())}})},xt=({duration:e})=>{let n={play:()=>{},pause:()=>{},reset:()=>{}};return{...Le({duration:e,onPlay:(...o)=>n.play(...o),onPause:(...o)=>n.pause(...o),onReset:(...o)=>n.reset(...o)}),setup:o=>{n={...n,...o}}}},At=({mode:e,...n})=>e==="interval"?wt(n):e==="marquee"?xt(n):{reset:()=>{},setup:()=>{},hold:()=>{},release:()=>{}},Pt=({autoplay:e,stacked:n})=>n&&e==="marquee"?"off":e,oe=(e,n,r)=>{let c=Pt(r),{unsubscribe:o,getState:u,dispatch:t}=ft.subscribe(e,"slider",(v,p,y)=>{y&&requestAnimationFrame(()=>{a.release("main")}),!y&&p.includes("lastUserInteraction")&&a.reset()},["lastUserInteraction"]),a=At({mode:c,duration:()=>u().autoplayDuration||1e3,interval:()=>t(v=>({...v,autoplayAdvance:1})),animate:v=>{n.style.setProperty("--x-slide-autoplay-progress",v)}}),g=Ce(window,"tco-drag-start",()=>{a.hold("dragging")}),s=Ce(window,"tco-drag-end",()=>{a.release("dragging")}),l=null,i=null;r.autoplayStartInView&&(a.hold("viewport"),l=gt(e,({isIntersecting:v})=>{v?(a.release("viewport"),Array.from(e.querySelectorAll('[loading="lazy"]')).forEach(p=>{p.removeAttribute("loading")})):a.hold("viewport")},{threshold:.15,top:"0px",bottom:"0px"}),i=ht(v=>{v?a.release("vis"):a.hold("vis")})),u().autoplayer=a;let d=[o,g,s,l,i];if(r.pauseOnHover){let v=kt(e,a);d.push(v)}return{unsubscribe:mt(d),autoplayer:a}};function kt(e,n){let r=e.parentNode;return St(r,"mouseover",function(){n.hold(),bt(r,"mouseout",function(){n.release()})})}var qe=(e,n,r,c)=>e(()=>{let{unsubscribe:o,autoplayer:u}=oe(n,r,c),t=(c.swipe||"").includes("x"),a=(c.swipe||"").includes("y"),g=([i,d])=>t&&a?Math.abs(i)>=Math.abs(d)?0:1:a?1:0,s=i=>ie(i[g(i)]),l=re({el:n,drag:!!c.swipe,checkY:a},({dispatch:i,getState:d})=>({onBeginMove:()=>void u.hold("stacked-drag"),onEndMove:(v,p,y,P)=>{if(!P){let x=s(p);x!==0&&i(A=>({...A,advance:x}))}u.release("stacked-drag")}}));return()=>{o(),l()}});var{store:Et,util:Dt}=window.csGlobal.rivet,{multiplyVectors:Be,once:Sn,oncePassive:Tt,vectorsEq:ye,listener:Ft,wrapNumber:It,clamp:Mt,addVectors:N,subtractVectors:X,balanceFromDifference:Vt,makeSortByKey:Ct,elementMeta:G,onViewportChange:Lt,onLoad:qt}=Dt,Bt=e=>n=>Math.floor(n/e),Nt=({subprime:e=0,totalSlides:n=0,slidesPerScrollPage:r=1})=>Mt(Bt(r)(e)*r,0,n),he=e=>n=>{if(!n)return null;let r=n;do r=r[e];while(r&&!r.matches("[data-x-slide]"));return r};function Ot(e,n,{wrapAround:r}){if(!r)return()=>{};let c=()=>{let{clones:t=[]}=G.get(e);t.forEach(a=>a.remove())},o=t=>a=>({before:t,clone:G.get(a).createClone()}),u=Ft(e,"tco-slide-refresh",()=>{let{slides:t=[]}=G.get(e);c();let a=[...t.map(o(!0)).reverse(),...t.map(o(!1))],g=0;t.forEach(function(l){g+=l.getBoundingClientRect().width});let s=window.innerWidth/g;for(s=Math.ceil(s),s=Math.min(6,s),g===0&&(s=2),s-=2;s>0;)a=[...t.map(o(!0)).reverse(),...a,...t.map(o(!1))],s-=2;a.forEach(({clone:l,before:i})=>{n[i?"prepend":"append"](l)}),G.update(e,l=>({...l,clones:a.map(({clone:i})=>i)})),e.dispatchEvent(new CustomEvent("tco-slides-cloned"))});return()=>{u(),c()}}var Rt=(e,n,r)=>{let c=()=>G.get(e).slides;c.first=()=>c()[0],c.last=()=>{let s=c();return s[s.length-1]};let o=Ot(e,n,r),u=(s,l)=>{let i=he(l<0?"previousElementSibling":"nextElementSibling");return(d,v)=>{if(l===0)return s[d];let p=i(s[v]);for(;p;){if(G.get(p).index===d)return p;p=i(p)}return s[d]}},t=(s,{prevSubprime:l=0,totalSlides:i,advanceDirection:d})=>{let v=c();if(!r.wrapAround)return v[s];let p=d===0?Vt(s,l,i):d;return u(v,p)(s,l)};return{anticipateSnapTarget:s=>t(Nt(s),s),teardownSlides:()=>{o()},getSlides:c}},Ut=(e,{justify:n})=>{let r,c=()=>{r=new WeakMap};c();let o=({offsetLeft:l,offsetTop:i,offsetWidth:d,offsetHeight:v})=>[l,i,d,v],u=l=>{if(!r.has()){let i=o(l);return r.set(l,i),i}return r.get(l)};return{getElementOffsets:u,getElementDimensions:l=>{let[,,i,d]=u(l);return[i,d]},getElementCoordinates:l=>{let[i,d]=u(l);return[i,d]},getVectorFromTarget:l=>{if(!l)return[0,0];let[i,d,v,p]=u(l),y=[i,d];return n==="center"?N(y,[v/2,p/2]):n==="end"?N(y,[v,p]):y},normalizeJustifiedVector:l=>{let[,,i,d]=u(e);return n==="center"?X(l,[i/2,d/2]):n==="end"?X(l,[i,d]):l},teardown:Lt(c)}},Ht=(e,n,{getElementDimensions:r,getElementOffsets:c,getElementCoordinates:o,normalizeJustifiedVector:u,getVectorFromTarget:t},{contain:a,wrapAround:g})=>{let s=0;return l=>{let i=e.first(),d=e.last();if(g){let v=X(l,t(he("previousElementSibling")(i))),p=X(l,t(he("nextElementSibling")(d)));if(v[s]<=0)return[l,N(t(d),v)];if(p[s]>=0)return[l,N(t(i),p)]}else{if(a){let y=u(l);if(y[s]<0){let h=Be(u([0,0]),[-1,-1]);return[h,h]}let P=r(n.parentElement),x=N(o(d),r(d)),A=X(x,P);if(u(A),y[s]>A[s]){let h=N(A,X(A,u(A)));return[h,h]}}let v=t(i),p=t(d);if(l[s]<v[s])return[v,v];if(l[s]>p[s])return[p,p]}return[l,null]}},Ne=(e,n,r,c,o)=>e(()=>{let{wrapAround:u=!1,snap:t=!1,int:a=""}=o,{unsubscribe:g,autoplayer:s}=oe(n,r,o),l=o.autoplay==="marquee";l&&s.hold("marquee-positioned");let i=Number.parseFloat(o.speed)||.1,{getSlides:d,anticipateSnapTarget:v,teardownSlides:p}=Rt(n,c,o),y=Ut(c,o),{normalizeJustifiedVector:P,getElementDimensions:x,getVectorFromTarget:A,teardown:h}=y,F=Ht(d,c,y,o),T=!1,M=[0,0],V=[0,0],C=[0,0],k=m=>{if(ye(m,M)&&T)return!1;M=m,V=M;let[b]=P(m);return c.style.setProperty("transform",`translate3d(${b*-1}px,0,0)`),!0},q,O=([m])=>{let[b,S]=F([m,0]);w.suspend(!0),s.hold("transition"),c.style.removeProperty("transition"),k(b),clearTimeout(q),q=setTimeout(()=>{c.style.setProperty("transition","none"),c.offsetHeight,S&&k(S),s.release("transition"),w.suspend(!1),w.stall()},J().transitionDuration)},R=m=>A(v(m)),U=m=>l&&i<0?A(d.last()):R(m),{unsubscribe:_,getState:J,dispatch:H}=Et.subscribe(n,"slider",(m,b)=>{if(!m.positioned||!m.pageLoaded)return;if(!T){c.style.setProperty("transition","none"),c.offsetHeight,k(U(m)),c.offsetHeight,c.style.removeProperty("transition"),T=!0,requestAnimationFrame(()=>{s.release("marquee-positioned")});return}if(l)return;if(b.includes("lastAutoBasisAdvance")){let E=Be(x(c.parentElement),[m.autoBasisAdvanceAmount,m.autoBasisAdvanceAmount]),I=N(V,E),[,B]=F(I);O(I),z(B||I);return}let S=m.allowSnapTransition&&b.includes("subprime")||b.includes("snapBack"),D=b.includes("styleUpdate");(S||D)&&O(R(m))},["isTouchInteraction","allowSnapTransition","styleUpdate","subprime","slidesPerPage","snapBack","lastAutoBasisAdvance"]),j=(m,b,S=0)=>{let{slideData:D}=J(),E=[];S!==0&&(E=D.filter(({isPageStart:L,balance:Q})=>L&&Q===S).map(({index:L})=>L),E.length===0&&u&&(E=D.filter(({isPageStart:L})=>L).map(({index:L})=>L)));let I=P(N(m,b)),B=Array.from(c.children),pe=Math.floor(B.length/2),te=[];for(let L=0;L<B.length;L++){let Q=B[It(L+pe,B.length)],{index:me,isClone:Ke}=G.get(Q),{isPageStart:Qe}=D[me];if(!Qe||E.length>0&&!E.includes(me))continue;let Pe=A(Q),Ze=x(Q)[0],je=X(P(Pe),I),ke=Math.abs(je[0]),Ee={slide:Q,vector:Pe,isClone:Ke,index:me,distance:ke};if(E.length===0&&ke<Ze/2)return Ee;te.push(Ee)}return te.sort(Ct("distance")).shift()},Z=a.includes("drag"),ee=!1,K=!1,de=re({el:n,drag:Z,click:a.includes("click")&&!l,cursor:Z,scroll:Z&&!l},({dispatch:m})=>({canBeginMove:({target:b})=>{if(d().length<=0||K)return!1;let S=b.closest(".tco-element-preview");return!S||S.matches(".x-slide, .x-slide-container-viewport")},onBeginMove:(b,S,D,E)=>{D&&(ee=!0),s.hold("user-drag"),C=M,w.suspend(!0),w.snapTo(null),w.setVelocity([0,0]),w.setPosition(C),m(I=>({...I,isTouchInteraction:!0,allowSnapTransition:!1}))},onEndMove:(b,S,D,E)=>{w.suspend(!1),w.setVelocity(S),s.hold("physics"),D&&(w.stall(),ee=!1);let I={isTouchInteraction:!1};if(t&&!l){let B=E?0:ie(S[0]),{index:pe,vector:te}=j(D||E?M:C,E?[0,0]:b,B);I.softNavigateTo=pe,w.snapTo(te)}m(B=>({...B,...I})),s.release("user-drag")},onMove:(b,S,D)=>{if(!K)if(D){let E=N(M,b);if(u)w.setPosition(E);else{let[I]=F(E);w.setPosition(ye(E,I)?E:I)}}else w.snapTo(null),w.setPosition(N(C,b))},onClick:b=>{let S=G.get(b.closest("[data-x-slide]")).index;typeof S!="undefined"&&m(D=>({...D,navigateToIndex:S}))}})),ue=m=>{let[b,S]=F(m);return u?(S&&l&&w.setPosition(S),S||m):(w.isSuspended()||b&&S&&ye(b,S)&&(K=!0,w.snapTo(S),z(S)),m)},fe=m=>{J().prime!==m&&H(b=>({...b,softNavigateTo:m}))},z=m=>{fe(j(m,[0,0]).index)},w=Ve((m,{snapped:b,stalled:S})=>{let D=ue(m);if(k(D),(S||b)&&(K=!1),l&&(z(D),b&&(i*=-1,w.resetFriction(),w.setVelocity([i,i]))),S)return()=>{s.release("physics")}});c.style.setProperty("transition","none"),s.setup({play:()=>{w.setFriction(0),w.setPosition(M),w.setVelocity([i,i])},pause:()=>{w.setVelocity([0,0],!1),w.resetFriction(),w.stall()}});let f=Tt(n,"tco-slides-cloned",()=>{H(m=>({...m,positioned:!0}))});return()=>{p(),f(),g(),_(),qt(()=>{H(m=>m),w.start()}),de(),h()}});var{drive:Gt,attach:Oe,util:Wt,debug:zt}=window.csGlobal.rivet,{elementMeta:W,getCachedJsonAttribute:$t,listener:Yt}=Wt,Re=e=>!!W.get(e).isClone,Ue=e=>e?Array.from(e.children).filter(n=>!Re(n)&&n.matches(".x-slide")):[],He=e=>Ue(e).filter(n=>W.get(n).ready),ae=(e,n)=>{if(!n){let{index:r}=W.get(e);if(typeof r!="undefined")return r}return Ue(e.parentElement).indexOf(e)},Ge=e=>{if(!e.hasAttribute("data-cs-observeable-id"))return;let n=e.getAttribute("data-cs-observeable-id");e.classList.remove("tco-element-preview"),e.removeAttribute("data-cs-observeable-container"),e.removeAttribute("data-cs-observe"),e.removeAttribute("data-cs-observeable"),e.removeAttribute("data-cs-observeable-id"),e.classList.add(`tco-observe-${n}`)},Xt=(e,n)=>{let r=e.cloneNode(!0);return r.classList.add("is-virtual"),r.setAttribute("aria-hidden",!0),Ge(r),Array.from(r.querySelectorAll("[data-cs-observeable-id]")).map(Ge),Array.from(r.querySelectorAll("[id]")).map(c=>c.removeAttribute("id")),()=>{let c=r.cloneNode(!0);return W.set(c,{...n,index:ae(e),isClone:!0}),c}};Oe("[data-x-slide]",e=>{if(Re(e))return;let n=e.closest("[data-x-slide-container]"),{wrapAround:r,enter:c="effect",exit:o="effect"}=$t(n,"data-x-slide-container"),u={enter:c,exit:o};W.update(e,a=>({...a,index:ae(e),ready:!0,effects:u,createClone:r?Xt(e,{effects:u}):null})),n.dispatchEvent(new CustomEvent("tco-slide-added-or-removed"));let t=Yt(n,"tco-slide-reindex",()=>{W.update(e,a=>({...a,index:ae(e,!0)}))});return()=>{W.del(e),t(),n.dispatchEvent(new CustomEvent("tco-slide-added-or-removed"))}},50);Oe("[data-x-slide]",e=>(W.update(e,n=>({...n,effectRivet:["effects",{key:()=>`slideData.${ae(e)}.active`,condition:!0,enter:"effect",exit:"effect"},"slider"]})),Gt([[e,"classname",{key:"slideData.meta(index).active",classname:"is-current-slide",condition:!0},"slider"],zt(e)&&[e,"attr",{key:"subprime",attr:"data-prime-slide",value:!0,condition:["meta(index)","==="]},"slider"],[e,"effects",{key:"slideData.meta(index).active",condition:!0,enter:"meta(effects.enter)",exit:"meta(effects.exit)"},"slider"],[e,"prop",{key:"slideData.meta(index).distance",prop:"--x-slide-distance"},"slider"],[e,"prop",{key:"slideData.meta(index).balance",prop:"--x-slide-balance"},"slider"]])),200);var{attach:_t,store:We,drive:Jt,util:ze}=window.csGlobal.rivet,{onLoad:Kt,wrapNumber:Qt,clamp:Zt,makeStateSynchronizer:jt,distanceInRange:$e,balanceFromDifference:en,listenerPassive:ce,elementMeta:be,parseTime:Ye}=ze,tn=e=>n=>Math.floor(n/e),nn=({slidesPerScrollPage:e,totalSlides:n})=>e?Math.ceil(n/e):n,sn=()=>{let e=null,n=!0,r=(u,t)=>{n=t?!!t.keyboardNavigation:!0,e=u.closest("[data-x-slide-context], [data-x-slide-container], [data-x-slide-pagination], [data-x-slide-next], [data-x-slide-prev], [data-x-slide-goto]")};ce(window,"focusin",({target:u})=>{r(u)});let c=["ArrowRight","ArrowDown"],o=["ArrowLeft","ArrowUp"];return ce(window.document,"keyup",({key:u})=>{if(e&&n){let t=c.includes(u),a=o.includes(u);if(t||a){let g=We.makeDispatch(e,"slider");g&&g(s=>({...s,advance:t?1:-1}))}}}),r},rn=sn(),on=()=>({advance:e,autoplayAdvance:n,navigateToIndex:r,softNavigateTo:c,navigateTo:o,...u})=>{let t={...u},{scrollBySlide:a,wrapAround:g,autoBasis:s}=t.options,l=!a&&s;typeof t.autoplayDuration!="number"&&(t={...t,autoplayDuration:Ye(t.autoplayDuration)}),typeof t.transitionDuration!="number"&&(t={...t,transitionDuration:Ye(t.transitionDuration)}),typeof t.slidesPerPage!="number"&&(t={...t,slidesPerPage:Number(t.slidesPerPage)}),t.slidesPerScrollPage=a?1:t.slidesPerPage;let i=tn(t.slidesPerScrollPage),d=nn(t),v=i(t.prime),p,y;if(typeof c!="undefined"&&(y=c),typeof r!="undefined"&&(y=i(r)),t.options.autoplay!=="marquee"&&((typeof e!="undefined"||typeof o!="undefined"||typeof r!="undefined")&&(t={...t,lastUserInteraction:Date.now(),allowSnapTransition:!0}),typeof e!="undefined"&&t.ready&&(p=e),typeof o!="undefined"&&t.ready&&(y=o,t={...t,advanceDirection:0})),typeof n!="undefined"&&(p=n),typeof p!="undefined"&&(l?t={...t,lastAutoBasisAdvance:Date.now(),autoBasisAdvanceAmount:p,allowSnapTransition:!1}:(t={...t,advanceDirection:p>0?1:-1},y=Qt(v+p,d))),typeof y!="undefined"){let A=y*t.slidesPerScrollPage;t={...t,prime:Zt(A,0,t.totalSlides-1)}}let P=i(t.prime),x=i(t.subprime);return t={...t,current:P+1,total:d,atStart:P===0,atEnd:P===d-1,slideData:Array.from({length:t.totalSlides}).map((A,h)=>{let T=h%t.slidesPerScrollPage===0;if(i(h)===x)return{active:!0,distance:0,balance:0,index:h,isPageStart:T};let V=t.subprime,C=t.subprime+t.slidesPerScrollPage-1;if(g){let O=en(h,t.subprime,t.totalSlides),R=O===1?C:V,U=Math.min($e(h,R,t.totalSlides),$e(R,h,t.totalSlides));return{active:!1,distance:U,balance:O,index:h,isPageStart:T}}let k=h>V?1:-1,q=h>V?h-C:V-h;return{active:!1,balance:k,distance:q,index:h,isPageStart:T}})},t};_t("[data-x-slide-container]",(e,n)=>{let r=e.closest("[data-x-slide-context]")||e,c=e.querySelector(".x-slide-container"),{stacked:o=!1,autoplay:u="off",adaptiveHeight:t=!1,wrapAround:a,startingSlide:g=1}=n,s=l=>{let i=e.querySelector(".x-slide-container-content"),d=()=>be.update(e,k=>({...k,slides:He(c)}));d();let v=be.get(e).slides.length;g=v>0?Math.min(v,g):g,g=Math.max(1,g);let p=g-1,y=document.readyState==="complete",P=Jt([[r,"define",{options:n,loading:!0,ready:!1,advanceDirection:0,autoplayDuration:"var(--x-slide-container-autoplay-transition-duration, 5s)",transitionDuration:"var(--x-slide-container-transition-duration, 1s)",isTouchInteraction:!1,allowSnapTransition:!0,current:g,prime:p,subprime:p,prevSubprime:p,slideData:[],styleUpdate:g,slidesPerPage:"var(--x-slides-per-page,1)",lastUserInteraction:Date.now(),autoBasisAdvanceAmount:1,lastAutoBasisAdvance:Date.now(),positioned:!!(o||!a),pageLoaded:y,total:v,totalSlides:v,_reducer:on()},"slider"],[r,"prop",{key:"current",prop:"--x-slide-current"},"slider"],[r,"prop",{key:"total",prop:"--x-slide-total"},"slider"],[e,"onready"],[e,"onload"],[e,"onscan"],[e,"inc",{state:"slider",key:"styleUpdate"}],[e,"onload",{},"loaded"],[e,"onready",{},"ready"],[e,"set",{state:"slider",key:"ready",value:!0,defer:!0},"ready"],[e,"classname",{key:"ready",classname:"is-ready",condition:!0},"slider"],[e,"set",{state:"slider",key:"transitionDuration",value:"var(--x-slide-container-transition-duration, 1s)"}],u!=="off"&&[e,"set",{state:"slider",key:"autoplayDuration",value:"var(--x-slide-container-autoplay-transition-duration, 5s)"}],!o&&[e,"set",{state:"slider",key:"slidesPerPage",value:"var(--x-slides-per-page)"}],t&&[i,"height",{key:"subprime",selector:".is-current-slide"},"slider"]]),x=ze.rivetListener(e,"loaded",()=>{e.classList.remove("is-loading")}),A=jt((k,q)=>{let O=k,R=F().transitionDuration;T(U=>({...U,prevSubprime:U.subprime,subprime:O})),setTimeout(q,R)}),{unsubscribe:h,getState:F,dispatch:T}=We.subscribe(e,"slider",({prime:k})=>void A(k)),M=ce(e,"tco-slide-added-or-removed",()=>{d(),T(k=>({...k,totalSlides:be.get(e).slides.length})),e.dispatchEvent(new CustomEvent("tco-slide-reindex")),e.dispatchEvent(new CustomEvent("tco-slide-refresh"))}),V=l();e.dispatchEvent(new CustomEvent("tco-slide-refresh"));let C=ce(e,"pointerup",()=>rn(e,n));return[h,P,M,x,V,C,y?null:Kt(()=>{T(k=>({...k,pageLoaded:document.readyState==="complete"}))})]};return o?qe(s,e,r,n):Ne(s,e,r,c,n)},100);var{attach:le,store:Se,drive:Xe,util:an,debug:En}=window.csGlobal.rivet,{makeStateSynchronizer:cn,getTransitionDuration:ln,listener:we,elementMeta:dn}=an;le("[data-x-slide-pagination]",e=>{let n=cn((a,g)=>{Array.from(e.querySelectorAll("li")).forEach((s,l)=>{let i=l===a-1;s.classList.toggle("is-active",i),!i&&s.hasAttribute("aria-current")&&s.removeAttribute("aria-current"),i&&!s.hasAttribute("aria-current")&&s.setAttribute("aria-current","step")}),setTimeout(g,ln(e.querySelector("li")))}),r=a=>{let g=(s,l,i)=>s+`<li data-x-slide-index="${i+1}" aria-label="Slider Page ${i+1}"><span class="visually-hidden">${i}</span></li>`;e.innerHTML=Array.from({length:Math.max(1,a)}).reduce(g,""),n.reset()};r(1);let c=xe(e),{unsubscribe:o,dispatch:u}=Se.subscribe(c,"slider",({total:a,current:g},s,l)=>{(l||s.includes("total"))&&r(a),n(g)},["current","total","slidesPerPage","styleUpdate"]),t=Ae(e);return[we(e,t,a=>{a.preventDefault();let g=a.target.closest("li");if(g){let s=Number.parseInt(g.getAttribute("data-x-slide-index"),10)-1;isNaN(s)||u(l=>({...l,navigateTo:s}))}}),o]},1e3);var un=(e,n,r)=>e?Xe([[n,"effects",{key:r===-1?"atStart":"atEnd",condition:[!1,"==="],enter:"effect",exit:"effect"},"slider"],[n,"attr",{key:r===-1?"atStart":"atEnd",attr:"disabled",value:"",condition:[!0,"==="]},"slider"]]):()=>{},_e=e=>{let n=Number.parseInt(e);return isNaN(n)||n<=0?1:n},Je=e=>(n,r)=>{var s,l;let c=_e(r)*e,o=xe(n),{unsubscribe:u,getState:t,dispatch:a}=Se.subscribe(o,"slider"),g=Ae(n);return[un(!((l=(s=t())==null?void 0:s.options)==null?void 0:l.wrapAround)&&r!=="noDisable",n,e),we(n,g,i=>{a(d=>({...d,advance:c}))},{passive:!0}),u]};le("[data-x-slide-next]",Je(1),1e3);le("[data-x-slide-prev]",Je(-1),1e3);le("[data-x-slide-goto]",(e,n)=>{let r=_e(n)-1,c=xe(e),{unsubscribe:o,getState:u,dispatch:t}=Se.subscribe(c,"slider"),a=["effects",{key:"current",condition:[r+1,"=="],enter:"effect",exit:"effect"},"slider"];dn.update(e,s=>({...s,effectRivet:a}));let g=Ae(e);return[we(e,g,s=>{t(l=>({...l,navigateTo:r}))},{passive:!0}),o,Xe([[e,...a]])]});function xe(e){let n=e;if(e.hasAttribute("data-x-slider-id")){let r=e.getAttribute("data-x-slider-id"),c=document.getElementById(r);c&&(n=c)}return n}function Ae(e){return e.getAttribute("data-x-slide-goto-trigger")||"click"}})();