(()=>{var _e=Object.create;var Q=Object.defineProperty;var $e=Object.getOwnPropertyDescriptor;var Ge=Object.getOwnPropertyNames;var Qe=Object.getPrototypeOf,Je=Object.prototype.hasOwnProperty;var Ye=e=>Q(e,"__esModule",{value:!0});var Ue=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ke=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Ge(t))!Je.call(e,r)&&(n||r!=="default")&&Q(e,r,{get:()=>t[r],enumerable:!(o=$e(t,r))||o.enumerable});return e},Ze=(e,t)=>Ke(Ye(Q(e!=null?_e(Qe(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var de=Ue(()=>{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 te(e,t,n){var o,r,i,l,c=!1,s=!1,u={},d=0,a=0,p={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function m(h,E){return a&&(a=clearTimeout(a)),d=0,s?void 0:n.call(h,E)}function v(h){o=h.clientX,r=h.clientY}function y(h,E){if(a&&(a=clearTimeout(a)),Math.abs(i-o)+Math.abs(l-r)
je(t=>{e.setAttribute("aria-hidden","false");let n=ne(e);Y(e,"x-collapsed"),J(e,"x-collapsing"),e.offsetHeight,e.style.height=`${n}px`,re(e,"transitionend",()=>{Y(e,"x-collapsing"),e.style.height="",t()})},t=>{e.setAttribute("aria-hidden","true"),e.style.height=`${ne(e)}px`,J(e,"x-collapsing"),e.offsetHeight,e.style.height="",re(e,"transitionend",()=>{Y(e,"x-collapsing"),J(e,"x-collapsed"),t()})}),U=new WeakMap,tt=e=>(U.has(e)||U.set(e,et(e)),U.get(e));function oe(e,t){tt(e)(t)}var{util:nt}=window.csGlobal.rivet,{addClass:M,removeClass:R,hasClass:ie}=nt;function se(e,t){if(t){if(!e||ie(e,"x-anchor-layered-back"))return;M(e,"x-active")}else R(e,"x-active")}function ae(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,c=parseInt(window.getComputedStyle(document.documentElement).marginTop),s=parseInt(window.getComputedStyle(t).fontSize);r=Math.max(0,o+l-c-s)}i.scrollTo({top:r,left:0,behavior:"smooth"})}})},0)}function rt(e){var t=e.offsetHeight,n=getComputedStyle(e);return t+=parseInt(n.marginTop)+parseInt(n.marginBottom),t}var ce=e=>Math.max(e.offsetHeight,Array.from(e.children).reduce((t,n)=>t+rt(n)||0,0)),le=(e,t)=>{let n=e.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${t}px`)};function ot(e){le(e,ce(e));let t=e.closest(`ul:not([data-x-toggleable="${e.getAttribute("data-x-toggleable")}"])`);R(t,"x-current-layer"),M(t,"x-prev-layer"),M(e,"x-current-layer"),ae(e)}function it(e){let t=e.closest(`ul:not([data-x-toggleable="${e.getAttribute("data-x-toggleable")}"])`);!ie(t,"x-prev-layer")||(le(e,ce(t)),R(e,"x-current-layer"),M(t,"x-current-layer"),R(t,"x-prev-layer"),ae(e))}function ue(e,t){return t?ot(e):it(e)}function O(e,t){let n,o=null;return function(r){if(n){o=r;return}n=setTimeout(function(){e(o),n=null},t)}}function fe(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}}Promise.resolve().then(()=>Ze(de()));var F={passive:!0};function C(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 I(e,t,n){return C(e,t,n,F)}function D(e){let t=()=>void e();return document.readyState==="complete"?(t(),()=>{}):I(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(t,0)})}var pe=e=>(Array.isArray(e)?e.map(pe):[e]).flat().filter(t=>typeof t=="function"),W=e=>{let t=pe(e);return()=>t.forEach(n=>n())},ge=(e,t)=>(t&&e(document.visibilityState==="visible"),W([C(window,"pagehide",()=>{e(!1)}),C(window.document,"visibilitychange",()=>{e(document.visibilityState==="visible")})]));var he=(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),c=(s,u)=>void l(s,u(i(s)));return n(),{get:i,del:r,set:l,has:o,update:c,reset:n,cache:()=>t}},ct=he(),kn=he();var lt=e=>C(window,"rvt-scan",()=>e()),ut=(e,t=!1)=>{t&&e();let n=O(e,100);return W([I(window,"resize",n,F),C(screen.orientation,"change",n)])},ft=(e,t=!1)=>{t&&e();let n=O(e,40);return I(window,"scroll",n)};var dt=(e,t)=>W([lt(e),D(e),ge(e,!1),ut(e,t)]);var pt,me;dt(()=>{pt=new WeakMap,me=new WeakMap},!0);ft(()=>{me=new WeakMap},!0);var gt="ontouchstart"in document.documentElement;function ve(){return window.innerWidth<=978.98&>}var ht=4,mt=.001,vt=1e-7,yt=10,z=11,q=1/(z-1),xt=typeof Float32Array=="function";function ye(e,t){return 1-3*t+3*e}function xe(e,t){return 3*t-6*e}function we(e){return 3*e}function V(e,t,n){return((ye(t,n)*e+xe(t,n))*e+we(t))*e}function be(e,t,n){return 3*ye(t,n)*e*e+2*xe(t,n)*e+we(t)}function wt(e,t,n,o,r){var i,l,c=0;do l=t+(n-t)/2,i=V(l,o,r)-e,i>0?n=l:t=l;while(Math.abs(i)>vt&&++c=mt?bt(c,p,e,n):m===0?p:wt(c,s,s+q,e,n)}return function(s){return s===0||s===1?s:V(l(s),t,o)}}var St=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=fe(e=>{let t=St(e);try{let[,n]=t.match(/cubic-bezier\((.*)\)/);return K(...n.split(",").map(o=>Number(o.trim())))}catch{console.warn("unable to parse easing function",t)}return g("ease")}),Pn={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)")};var Te=0,L={};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-"+Te,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),L[this.key]=this,Te+=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 L[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 L)t.push(L[n]);for(var o=0,r=t.length;oc.oldScroll,u=s?c.forward:c.backward;for(var d in this.waypoints[l]){var a=this.waypoints[l][d];if(a.triggerPoint!==null){var p=c.oldScroll=a.triggerPoint,v=p&&m,y=!p&&!m;(v||y)&&(a.queueTrigger(u),r[a.group.id]=a.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 c=0,s=r.length;c-1&&(p=Math.ceil(u.contextDimension*p/100))),w=u.contextScroll-u.contextOffset,a.triggerPoint=Math.floor(v+w-p),b=m=u.oldScroll,k=b&&A,P=!b&&!A,!y&&k?(a.queueTrigger(u.backward),l[a.group.id]=a.group):(!y&&P||y&&u.oldScroll>=a.triggerPoint)&&(a.queueTrigger(u.forward),l[a.group.id]=a.group)}}return requestAnimationFrame(function(){for(var N in l)l[N].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 c=0,s=i.length;c-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,v){for(var y=0,w=m.length-1;y{e.offsetHeight,e.style.removeProperty(t?"transition-property":"transition"),e.style.removeProperty("animation")}}var Ct=(e,t)=>(n,{after:o}={})=>{e(n);let r=Et(n);return()=>{t(n),r(),typeof o=="function"&&o()}},sr=Ct(e=>e.style.setProperty("opacity",1,"important"),e=>e.style.removeProperty("opacity"));var{util:Le}=window.csGlobal.rivet,{listener:Lt,debounce:Pr,addClass:kt,removeClass:Ot,hasClass:T,toggleClass:x,oncePassive:ke,scrollingDisable:It,scrollingEnable:Oe}=Le,B=null,Ie=e=>document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle]`),zt=e=>document.querySelector(`[data-x-toggleable="${e}"]:not([data-x-toggle])`),ze=e=>e?e.parentElement.matches(".x-nav-tabs-item")?"classic-tab":e.getAttribute("data-x-toggle"):null,Ht=e=>["tab","classic-tab"].includes(ze(e)),Z=e=>e&&e.getAttribute("data-x-toggle-group"),Pt=e=>!!document.querySelector(`[data-x-toggle-group="${e||""}"].x-active`);var _=e=>e&&e.getAttribute("data-x-toggleable"),Nt=e=>e&&e.getAttribute("data-x-toggle-hash"),Mt=e=>e&&e.matches(".mce-content-body");var He=e=>document.querySelectorAll(`[data-x-toggle-group="${Z(e)}"]:not([data-x-toggleable="${_(e)}"])`),Rt=e=>document.querySelectorAll(`[data-x-toggle-group="${Z(e)}"].x-active`);Le.toggle={getOthersInGroup:He,getActiveInGroup:Rt};window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var Ft=!1,S=window.TCOToggleStates,X=window.TCOToggleScrollBlocking,$=!1;function Dt(){let e=[];for(let[t,n]of S){let o=zt(t);n&&X.has(t)&&e.push(t),o||S.delete(t)}e.find(t=>!S.has(t))&&requestAnimationFrame(Oe)}window.integrityCheckTimeout||(window.integrityCheckTimeout=null);var Wt=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(Dt,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=Wt);function qt(e){let t=Ie(e);switch(ze(t)){case"collapse":case 1:case"layered":return t.matches(".x-active");case"tab":return Pt(Z(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 j(e){return S.has(e)||S.set(e,qt(e)),S.get(e)}function Pe({id:e,state:t,_triggeringGroup:n,force:o}){let r=j(e);typeof t=="undefined"&&(t=!r);let i=Ie(e);!o&&!n&&(Mt(i)||!t&&Ht(i))||(S.set(e,t),(r!==t||o)&&(Vt(e,t),_t(i,t)),n||He(i).forEach(l=>{Pe({force:o,id:_(l),state:!1,_triggeringGroup:!0})}))}window.xToggleGetState=e=>j(e);window.xToggleGetStateFromNode=e=>j(_(e));window.xToggleUpdate=(e,t)=>Pe({id:e,state:t});window.xToggleDelete=e=>S.delete(e);window.xToggleGetId=_;var Ne=!1;window.xToggleTempUnlock=()=>{Ne=!!$,$=!1};window.xToggleTempRelock=()=>{$=Ne};window.xToggleSetLocking=e=>{$=!!e};function Vt(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 Me(e){return Lt(e,"tco-toggle",({currentTarget:t,detail:{state:n,id:o}})=>{var r;if(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(It),X.set(o,!0)):n||(X.delete(o),requestAnimationFrame(Oe))),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")?oe(e,n):e.hasAttribute("data-x-toggle-layered")?ue(e,n):T(e,"x-anchor")?se(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")?Bt(e,n):x(e,"x-active",n),n&&T(e,"x-modal")&&setTimeout(function(){window.dispatchEvent(new Event("resize"))},150),e.matches("[data-x-toggle]")){if(x(e.querySelector(".x-toggle"),"x-active",n),Ft)return;Array.from(e.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{T(i,"x-running")||ke(i,"animationiteration",()=>{Ot(i,"x-running"),T(e,"x-active")||i.removeAttribute("style")}),kt(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]")){let i=t.querySelector("[data-x-search] input");if($t(i,350),!ve())return;ke(t,"transitionend",function(){i.scrollIntoView(!0)})}else{let i=e.querySelector('[tabindex="-1"]');i&&i.focus&&(i.focus(),setTimeout(function(){i.focus()},250))}})}function Bt(e,t){let o=window.getComputedStyle(e)["transition-duration"];if(o=o?parseFloat(o.replace("s","")):0,B&&(B(),B=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",c=t?15:r;requestAnimationFrame(function(){x(e,i,t),window.dispatchEvent(new CustomEvent("resize"))});let s=setTimeout(function(){requestAnimationFrame(function(){x(e,l,t)})},c);return B=function(){!s||(clearTimeout(s),x(e,"x-active",t),x(e,"x-active-animate",t))}}function _t(e,t){let n=Nt(e);if(!n)return;let o=t?n:"";!t&&`#${n}`!==window.location.hash||(history.pushState(null,null,"#"+o),window.dispatchEvent(new CustomEvent("hashchange")))}function $t(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:G,util:Gt}=window.csGlobal.rivet,{scrollOffset:Qt}=Gt;window.xJsData=window.xJsData||{};var We,qe,Ve,Re={up:(We=window.xJsData.icons)==null?void 0:We.up,down:(qe=window.xJsData.icons)==null?void 0:qe.down,star:(Ve=window.xJsData.icons)==null?void 0:Ve.star};window.csGlobal||console.warn("X is running without Cornerstone.");var Be,{csHooks:H,fixedTopOffset:Jt,adminBarOffset:Yt,scrollTo:Ut,rivet:{util:{getOuterHeight:Kt,hasClass:Fe,toggleClass:ee,addClass:Zt,onPercentScrolled:Xt,onScroll:jt,onResize:Fr,listener:De}={}}={}}=(Be=window.csGlobal)!=null?Be:{};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 en(e){let t=()=>{rn(),on(),tn(),window.csGlobal&&e()};document.readyState!="loading"?t():document.addEventListener("DOMContentLoaded",t)}en(()=>{G("body.x-navbar-fixed-top-active .x-navbar",e=>{let t=["x-navbar-fixed-top",...Fe(document.body,"x-boxed-layout-active")?["x-container","max","width"]:[]],n=document.querySelector(".x-navbar-wrap");jt(()=>{let i=window.scrollY+Yt()>Qt(n).top;t.forEach(l=>{ee(e,l,i)})});let o=i=>l=>{l.matches(".x-nav-wrap.desktop .x-nav li > a")&&ee(l.closest("li"),"current-menu-item",i)},r=window.getComputedStyle(e);H.action("scrollspy_activate",o(!0)),H.action("scrollspy_deactivate",o(!1)),H.filter("fixed_top_offset",i=>window.innerWidth<=978.98&&H.apply("x_mobile_header_not_fix",!0)&&r.getPropertyValue("position")!=="fixed"?i:Math.max(i,Kt(e)))}),H.filter("hash_scrolling_allow",(e,t,n,o)=>o==="#comments"||t.hasAttribute("data-vc-accordion")||t.hasAttribute("data-vc-tabs")?!1:e),De(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`)}),G(".x-slider-container .x-slider-scroll-bottom",e=>De(e,"click",t=>{t.preventDefault();let n=e.closest(".x-slider-container");Ut(n,{bottom:!0,offsetTop:Fe(n,"below")})})),G("body.x-stack-icon .x-sidebar",e=>{let t=e.querySelector(".max.width");Zt(t,"x-container")}),G(".x-scroll-top",e=>{var t;return Xt(parseFloat((t=xJsData.scrollTop)!=null?t:".75"),n=>{ee(e,"in",n)})})});function tn(){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 nn(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 rn(){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 a=d&&d.closest(".sub-menu, .x-nav");a&&[...a.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 a=t(d);a?(i=a,r(a)):i&&(i=!1,o(e))}document.body.addEventListener("focusin",l);let c=d=>{let a=t(d.target);n(a)&&(d.preventDefault(),d.stopPropagation(),r(a)),a||o(e)};document.body.addEventListener("touchstart",c,{passive:!1}),document.body.addEventListener("click",c,{passive:!1});let s=nn(()=>document.body.removeEventListener("focusin",l)),u;[...e.querySelectorAll("li")].forEach(d=>{te(d,({target:a})=>{if(s())return;let p=t(a);clearTimeout(u),n(p)?r(p):u=setTimeout(()=>o(p),350),document.body.removeEventListener("touchstart",c,{passive:!1}),document.body.removeEventListener("click",c,{passive:!1})},({relatedTarget:a,toElement:p})=>{if(s())return;let m=a||p;if(!e.contains(m)){clearTimeout(u),u=setTimeout(()=>o(e),750);return}let v=t(m);v&&(clearTimeout(u),u=setTimeout(()=>o(v),350))})})}function on(){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(`${Re.down}
`))}),[...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"),Me(t)})}(e=>e&&e(()=>{let t=e(".x-cart-notification");t.length>0&&(e(".add_to_cart_button").each(function(s,u){var a,p;if(u.classList.contains("x-anchor"))return;let d=u.classList.contains("product_type_variable")?(a=window.xJsData.icons)==null?void 0:a.product_variable:(p=window.xJsData.icons)==null?void 0:p.product;u.innerHTML=d+" "+u.innerHTML}),e(".add_to_cart_button.product_type_simple, .add_to_cart_button.ajax_add_to_cart").on("click",()=>{t.addClass("bring-forward appear loading")}),e("body").on("added_to_cart",()=>{setTimeout(()=>{t.removeClass("loading").addClass("added"),setTimeout(()=>{t.removeClass("appear"),setTimeout(()=>{t.removeClass("added bring-forward")},650)},1e3)},650)}),e(window).on("beforeunload",function(){setTimeout(function(){t.removeClass("added bring-forward")},200)}));let n=e("p.stars"),o=n.find("a");for(let s=0;s