(()=>{var $e=Object.create;var Q=Object.defineProperty;var Ge=Object.getOwnPropertyDescriptor;var Qe=Object.getOwnPropertyNames;var Je=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var Ue=e=>Q(e,"__esModule",{value:!0});var Ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Ze=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Qe(t))!Ye.call(e,r)&&(n||r!=="default")&&Q(e,r,{get:()=>t[r],enumerable:!(o=Ge(t,r))||o.enumerable});return e},Xe=(e,t)=>Ze(Ue(Q(e!=null?$e(Je(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var me=Ke(()=>{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,s,l=!1,a=!1,u={},p=0,c=0,d={sensitivity:7,interval:100,timeout:0,handleFocus:!1};function m(h,E){return c&&(c=clearTimeout(c)),p=0,a?void 0:n.call(h,E)}function v(h){o=h.clientX,r=h.clientY}function y(h,E){if(c&&(c=clearTimeout(c)),Math.abs(i-o)+Math.abs(s-r)et(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,nt=e=>(U.has(e)||U.set(e,tt(e)),U.get(e));function oe(e,t){nt(e)(t)}var{util:rt}=window.csGlobal.rivet,{addClass:F,removeClass:R,hasClass:ie}=rt;function se(e,t){if(t){if(!e||ie(e,"x-anchor-layered-back"))return;F(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 s=window.pageYOffset,l=parseInt(window.getComputedStyle(document.documentElement).marginTop),a=parseInt(window.getComputedStyle(t).fontSize);r=Math.max(0,o+s-l-a)}i.scrollTo({top:r,left:0,behavior:"smooth"})}})},0)}function ot(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+ot(n)||0,0)),le=(e,t)=>{let n=e.closest("[data-x-toggle-layered-root]");n&&(n.style.height=`${t}px`)};function it(e){le(e,ce(e));let t=e.closest(`ul:not([data-x-toggleable="${e.getAttribute("data-x-toggleable")}"])`);R(t,"x-current-layer"),F(t,"x-prev-layer"),F(e,"x-current-layer"),ae(e)}function st(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"),F(t,"x-current-layer"),R(t,"x-prev-layer"),ae(e))}function ue(e,t){return t?it(e):st(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}}var at=4,ct=.001,lt=1e-7,ut=10,I=11,D=1/(I-1),ft=typeof Float32Array=="function";function de(e,t){return 1-3*t+3*e}function pe(e,t){return 3*t-6*e}function ge(e){return 3*e}function W(e,t,n){return((de(t,n)*e+pe(t,n))*e+ge(t))*e}function he(e,t,n){return 3*de(t,n)*e*e+2*pe(t,n)*e+ge(t)}function dt(e,t,n,o,r){var i,s,l=0;do s=t+(n-t)/2,i=W(s,o,r)-e,i>0?n=s:t=s;while(Math.abs(i)>lt&&++l=ct?pt(l,d,e,n):m===0?d:dt(l,a,a+D,e,n)}return function(a){return a===0||a===1?a:W(s(a),t,o)}}var ht=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=ht(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")}),yn={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(()=>Xe(me()));var q={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 z(e,t,n){return C(e,t,n,q)}function V(e){let t=()=>void e();return document.readyState==="complete"?(t(),()=>{}):z(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 ye=(e,t)=>(t&&e(document.visibilityState==="visible"),B([C(window,"pagehide",()=>{e(!1)}),C(window.document,"visibilitychange",()=>{e(document.visibilityState==="visible")})]));var xe=(e={})=>{let t,n=()=>{t=new WeakMap},o=a=>t.has(a),r=a=>t.delete(a),i=a=>t.has(a)?t.get(a):e,s=(a,u)=>void t.set(a,u),l=(a,u)=>void s(a,u(i(a)));return n(),{get:i,del:r,set:s,has:o,update:l,reset:n,cache:()=>t}},wt=xe(),Wn=xe();var bt=e=>C(window,"rvt-scan",()=>e()),Tt=(e,t=!1)=>{t&&e();let n=O(e,100);return B([z(window,"resize",n,q),C(screen.orientation,"change",n)])},St=(e,t=!1)=>{t&&e();let n=O(e,40);return z(window,"scroll",n)};var At=(e,t)=>B([bt(e),V(e),ye(e,!1),Tt(e,t)]);var Et,we;At(()=>{Et=new WeakMap,we=new WeakMap},!0);St(()=>{we=new WeakMap},!0);var Ct="ontouchstart"in document.documentElement;function be(){return window.innerWidth<=978.98&&Ct}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;ol.oldScroll,u=a?l.forward:l.backward;for(var p in this.waypoints[s]){var c=this.waypoints[s][p];if(c.triggerPoint!==null){var d=l.oldScroll=c.triggerPoint,v=d&&m,y=!d&&!m;(v||y)&&(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 s in this.waypoints[i])r.push(this.waypoints[i][s]);for(var l=0,a=r.length;l-1&&(d=Math.ceil(u.contextDimension*d/100))),w=u.contextScroll-u.contextOffset,c.triggerPoint=Math.floor(v+w-d),b=m=u.oldScroll,k=b&&A,N=!b&&!A,!y&&k?(c.queueTrigger(u.backward),s[c.group.id]=c.group):(!y&&N||y&&u.oldScroll>=c.triggerPoint)&&(c.queueTrigger(u.forward),s[c.group.id]=c.group)}}return requestAnimationFrame(function(){for(var M in s)s[M].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],s=r==="up"||r==="left";i.sort(s?t:e);for(var l=0,a=i.length;l-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(d,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 kt=(e,t)=>(n,{after:o}={})=>{e(n);let r=Lt(n);return()=>{t(n),r(),typeof o=="function"&&o()}},cr=kt(e=>e.style.setProperty("opacity",1,"important"),e=>e.style.removeProperty("opacity"));var{util:Le}=window.csGlobal.rivet,{listener:Ot,debounce:Mr,addClass:It,removeClass:zt,hasClass:T,toggleClass:x,oncePassive:ke,scrollingDisable:Ht,scrollingEnable:Oe}=Le,_=null,Ie=e=>document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle]`),Pt=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,Nt=e=>["tab","classic-tab"].includes(ze(e)),Z=e=>e&&e.getAttribute("data-x-toggle-group"),Mt=e=>!!document.querySelector(`[data-x-toggle-group="${e||""}"].x-active`);var $=e=>e&&e.getAttribute("data-x-toggleable"),Ft=e=>e&&e.getAttribute("data-x-toggle-hash"),Rt=e=>e&&e.matches(".mce-content-body");var He=e=>document.querySelectorAll(`[data-x-toggle-group="${Z(e)}"]:not([data-x-toggleable="${$(e)}"])`),Dt=e=>document.querySelectorAll(`[data-x-toggle-group="${Z(e)}"].x-active`);Le.toggle={getOthersInGroup:He,getActiveInGroup:Dt};window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var Wt=!1,S=window.TCOToggleStates,X=window.TCOToggleScrollBlocking,G=!1;function qt(){let e=[];for(let[t,n]of S){let o=Pt(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 Vt=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout(qt,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=Vt);function Bt(e){let t=Ie(e);switch(ze(t)){case"collapse":case 1:case"layered":return t.matches(".x-active");case"tab":return Mt(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,Bt(e)),S.get(e)}function Pe({id:e,state:t,_triggeringGroup:n,force:o,hashUpdate:r=!window.csGlobal.isPreview}){let i=j(e);typeof t=="undefined"&&(t=!i);let s=Ie(e);!o&&!n&&(Rt(s)||!t&&Nt(s))||(S.set(e,t),(i!==t||o)&&(_t(e,t),r&&Gt(s,t)),n||He(s).forEach(l=>{Pe({force:o,id:$(l),state:!1,_triggeringGroup:!0,hashUpdate:r})}))}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=!!G,G=!1};window.xToggleTempRelock=()=>{G=Ne};window.xToggleSetLocking=e=>{G=!!e};function _t(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 Ot(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(Ht),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")?$t(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),Wt)return;Array.from(e.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{T(i,"x-running")||ke(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(Qt(i,350),!be())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 $t(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",s=t?"x-active-animate":"x-active",l=t?15:r;requestAnimationFrame(function(){x(e,i,t),window.dispatchEvent(new CustomEvent("resize"))});let a=setTimeout(function(){requestAnimationFrame(function(){x(e,s,t)})},l);return _=function(){!a||(clearTimeout(a),x(e,"x-active",t),x(e,"x-active-animate",t))}}function Gt(e,t){let n=Ft(e);if(!n)return;let o=t?n:"";!t&&`#${n}`!==window.location.hash||(history.pushState(null,null,"#"+o),window.dispatchEvent(new CustomEvent("hashchange")))}function Qt(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:H,util:Jt}=window.csGlobal.rivet,{scrollOffset:Yt}=Jt;window.xJsData=window.xJsData||{};var We,qe,Ve,Be,Fe={up:(We=window.xJsData.icons)==null?void 0:We.up,down:(qe=window.xJsData.icons)==null?void 0:qe.down,subindicator:(Ve=window.xJsData.icons)==null?void 0:Ve.subindicator,star:(Be=window.xJsData.icons)==null?void 0:Be.star};window.csGlobal||console.warn("X is running without Cornerstone.");var _e,{csHooks:P,fixedTopOffset:Ut,adminBarOffset:Kt,scrollTo:Zt,rivet:{util:{getOuterHeight:Xt,hasClass:Re,toggleClass:ee,addClass:jt,onPercentScrolled:en,onScroll:tn,onResize:Wr,listener:De}={}}={}}=(_e=window.csGlobal)!=null?_e:{};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 nn(e){let t=()=>{sn(),an(),rn(),window.csGlobal&&e()};document.readyState!="loading"?t():document.addEventListener("DOMContentLoaded",t)}nn(()=>{H("body.x-navbar-fixed-top-active .x-navbar",e=>{let t=["x-navbar-fixed-top",...Re(document.body,"x-boxed-layout-active")?["x-container","max","width"]:[]],n=document.querySelector(".x-navbar-wrap");tn(()=>{let i=window.scrollY+Kt()>Yt(n).top;t.forEach(s=>{ee(e,s,i)})});let o=i=>s=>{s.matches(".x-nav-wrap.desktop .x-nav li > a")&&ee(s.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,Xt(e)))}),P.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`)}),H(".x-slider-container .x-slider-scroll-bottom",e=>De(e,"click",t=>{t.preventDefault();let n=e.closest(".x-slider-container");Zt(n,{bottom:!0,offsetTop:Re(n,"below")})})),H("body.x-stack-icon .x-sidebar",e=>{let t=e.querySelector(".max.width");jt(t,"x-container")}),H(".x-scroll-top",e=>{var t;return en(parseFloat((t=xJsData.scrollTop)!=null?t:".75"),n=>{ee(e,"in",n)})})});function rn(){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 on(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 sn(){let e=document.querySelector(".desktop .x-nav");if(!e)return;let t=p=>p.matches(".desktop .x-nav li")?p:p.closest(".desktop .x-nav li"),n=p=>p&&p.matches("li.menu-item-has-children");function o(p){let c=p&&p.closest(".sub-menu, .x-nav");c&&[...c.querySelectorAll(".x-active")].forEach(d=>d.classList.remove("x-active"))}function r(p){p&&(o(p),n(p)&&p.classList.add("x-active"))}let i=!0;function s({target:p}){let c=t(p);c?(i=c,r(c)):i&&(i=!1,o(e))}document.body.addEventListener("focusin",s);let l=p=>{let c=t(p.target);n(c)&&(p.preventDefault(),p.stopPropagation(),r(c)),c||o(e)};document.body.addEventListener("touchstart",l,{passive:!1}),document.body.addEventListener("click",l,{passive:!1});let a=on(()=>document.body.removeEventListener("focusin",s)),u;[...e.querySelectorAll("li")].forEach(p=>{te(p,({target:c})=>{if(a())return;let d=t(c);clearTimeout(u),n(d)?r(d):u=setTimeout(()=>o(d),350),document.body.removeEventListener("touchstart",l,{passive:!1}),document.body.removeEventListener("click",l,{passive:!1})},({relatedTarget:c,toElement:d})=>{if(a())return;let m=c||d;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 an(){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(``))}),[...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(o,r){var s,l;if(r.classList.contains("x-anchor"))return;let i=r.classList.contains("product_type_variable")?(s=window.xJsData.icons)==null?void 0:s.product_variable:(l=window.xJsData.icons)==null?void 0:l.product;r.innerHTML=i+" "+r.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)})),H("p.stars",function(o){let r=e(o),i=o,s=r.find("a"),l=i.parentNode.querySelector("[name='rating']");for(let c=0;c