(()=>{var Qe=Object.create;var _=Object.defineProperty;var _e=Object.getOwnPropertyDescriptor;var Ye=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 Ye(t))!Ue.call(e,r)&&(n||r!=="default")&&_(e,r,{get:()=>t[r],enumerable:!(o=_e(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,k){return c&&(c=clearTimeout(c)),d=0,s?void 0:n.call(h,k)}function y(h){o=h.clientX,r=h.clientY}function x(h,k){if(c&&(c=clearTimeout(c)),Math.abs(i-o)+Math.abs(l-r)<p.sensitivity)return d=1,s?void 0:t.call(h,k);i=o,l=r,c=setTimeout(function(){x(h,k)},p.interval)}u.options=function(h){var k=h.handleFocus!==p.handleFocus;return p=Object.assign({},p,h),k&&(p.handleFocus?R():M()),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(){x(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 R(){e.addEventListener("focus",C,!1),e.addEventListener("blur",I,!1)}function M(){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),M())},e&&(e.addEventListener("mouseover",w,!1),e.addEventListener("mouseout",b,!1)),u}var{util:et}=window.csGlobal.rivet,{addClass:Y,transitionEnd:re,removeClass:J,getOuterHeight:oe,makeAlternatingSynchronizer:tt}=et,nt=e=>tt(t=>{if(!e.classList.contains("x-collapsed")){t();return}e.setAttribute("aria-hidden","false");let n=oe(e);J(e,"x-collapsed"),Y(e,"x-collapsing"),e.offsetHeight,e.style.height=`${n}px`,re(e,()=>{J(e,"x-collapsing"),e.style.height="",t()})},t=>{e.setAttribute("aria-hidden","true"),e.style.height=`${oe(e)}px`,Y(e,"x-collapsing"),e.offsetHeight,e.style.height="",re(e,()=>{J(e,"x-collapsing"),Y(e,"x-collapsed"),t()})},void 0,!e.classList.contains("x-collapsed")),U=new WeakMap,rt=e=>(U.has(e)||U.set(e,nt(e)),U.get(e));function ie(e,t){rt(e)(t)}var{util:ot}=window.csGlobal.rivet,{addClass:F,removeClass:D,hasClass:se}=ot;function ae(e,t){if(t){if(!e||se(e,"x-anchor-layered-back"))return;F(e,"x-active")}else D(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")}"])`);D(t,"x-current-layer"),F(t,"x-prev-layer"),F(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)),D(e,"x-current-layer"),F(t,"x-current-layer"),D(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,W=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 q(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=q(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=q(t,n,o)-e;t-=l/i}return t}function ht(e){return e}function K(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]=q(i*W,e,n);function l(a){for(var s=0,u=1,d=z-1;u!==d&&r[u]<=a;++u)s+=W;--u;var c=(a-r[u])/(r[u+1]-r[u]),p=s+c*W,m=me(p,e,n);return m>=lt?gt(a,p,e,n):m===0?p:pt(a,s,s+W,e,n)}return function(s){return s===0||s===1?s:q(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 K(...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 Z={passive:!0};function L(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 L(e,t,n,Z)}function V(e){let t=()=>void e();return document.readyState==="complete"?(t(),()=>{}):A(document,"readystatechange",function(){document.readyState==="complete"&&setTimeout(t,0)})}var xe=e=>(Array.isArray(e)?e.map(xe):[e]).flat().filter(t=>typeof t=="function"),H=e=>{let t=xe(e);return()=>t.forEach(n=>n())};var ve=(e,t)=>(t&&e(document.visibilityState==="visible"),H([L(window,"pagehide",()=>{e(!1)}),L(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=>L(window,"rvt-scan",()=>e()),St=(e,t=!1)=>{t&&e();let n=E(e,100);return H([A(window,"resize",n,Z),L(screen.orientation,"change",n)])},be=(e,t=!1)=>{t&&e();let n=E(e,40);return A(window,"scroll",n)};var At=(e,t)=>H([Tt(e),V(e),ve(e,!1),St(e,t)]);var Et,Te;At(()=>{Et=new WeakMap,Te=new WeakMap},!0);be(()=>{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,x=!p&&!m;(y||x)&&(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,x=m==null,w,b,C,I,R;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,R=!b&&!C,!x&&I?(c.queueTrigger(u.backward),l[c.group.id]=c.group):(!x&&R||x&&u.oldScroll>=c.triggerPoint)&&(c.queueTrigger(u.forward),l[c.group.id]=c.group)}}return requestAnimationFrame(function(){for(var M in l)l[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],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 x=0,w=m.length-1;x<w;x++){var b=m[x];(!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,ke="--x-body-scroll-bar-size",sr=`var(${ke}, 0)`,Le="--x-body-scroll-active-bar-size",ar=`var(${Le}, 0)`;V(function(){Ce=window.innerWidth-document.body.offsetWidth,Oe(ke,Ce+"px"),Oe(Le,"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 Ot=(e,t)=>(n,{after:o}={})=>{e(n);let r=Lt(n);return()=>{t(n),r(),typeof o=="function"&&o()}},gr=Ot(e=>e.style.setProperty("opacity",1,"important"),e=>e.style.removeProperty("opacity"));var{util:Ie}=window.csGlobal.rivet,{listener:It,debounce:Vr,addClass:zt,removeClass:Ht,hasClass:T,toggleClass:v,oncePassive:ze,scrollingDisable:Pt,scrollingEnable:He}=Ie,B=null,Pe=e=>document.querySelector(`[data-x-toggleable="${e}"][data-x-toggle]`),Nt=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,Rt=e=>["tab","classic-tab"].includes(Ne(e)),X=e=>e&&e.getAttribute("data-x-toggle-group"),Mt=e=>!!document.querySelector(`[data-x-toggle-group="${e||""}"].x-active`);var P=e=>e&&e.getAttribute("data-x-toggleable"),Re=e=>e&&e.getAttribute("data-x-toggle-hash"),Ft=e=>e&&e.matches(".mce-content-body"),Dt=E(function(){window.dispatchEvent(new Event("resize"))},250),Wt=E(function(){window.dispatchEvent(new Event("rvt-scan"))},250);var Me=e=>document.querySelectorAll(`[data-x-toggle-group="${X(e)}"]:not([data-x-toggleable="${P(e)}"])`),qt=e=>document.querySelectorAll(`[data-x-toggle-group="${X(e)}"].x-active`);Ie.toggle={getOthersInGroup:Me,getActiveInGroup:qt};var Vt=e=>Array.from(document.querySelectorAll("[data-x-toggle-hash]")).filter(t=>Re(t)===e).map(P);window.TCOToggleStates||(window.TCOToggleStates=new Map,window.TCOToggleScrollBlocking=new Map);var Bt=!1,S=window.TCOToggleStates,j=window.TCOToggleScrollBlocking,$=!1;function $t(){let e=[];for(let[t,n]of S){let o=Nt(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 Gt=function(){clearTimeout(window.integrityCheckTimeout),window.integrityCheckTimeout=setTimeout($t,500)};window.xToggleIntegrityCheck||(window.xToggleIntegrityCheck=Gt);function Qt(e){let t=Pe(e);switch(Ne(t)){case"collapse":case 1:case"layered":return t.matches(".x-active");case"tab":return Mt(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,Qt(e)),S.get(e)}function G({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&&(Ft(l)||!t&&Rt(l))||(S.set(e,t),(i!==t||o)&&(_t(e,t),r&&Kt(l,t)),n||Me(l).forEach(a=>{G({force:o,id:P(a),state:!1,_triggeringGroup:!0,hashUpdate:r})}))}window.xLastToggleable="";window.xToggleStack=[];window.xToggleGetState=e=>ee(e);window.xToggleGetStateFromNode=e=>ee(P(e));window.xToggleUpdate=(e,t)=>G({id:e,state:t});window.xToggleDelete=e=>S.delete(e);window.xToggleGetId=P;window.xGetLastToggleable=function(){return window.xLastToggleable};var Fe=!1;window.xToggleTempUnlock=()=>{Fe=!!$,$=!1};window.xToggleTempRelock=()=>{$=Fe};window.xToggleSetLocking=e=>{$=!!e};window.xToggleHashUpdate=Jt;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 De(e){return It(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(Pt),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"?v(e,"collapsed",!n):T(e.parentElement,"x-nav-tabs-item")?v(e.parentElement,"active",n):T(e,"x-tab-pane")?v(e,"active",n):T(e,"x-dropdown")?Ut(e,n):v(e,"x-active",n),T(e,"x-modal")&&Dt(),Wt(),e.matches("[data-x-toggle]")){if(v(e.querySelector(".x-toggle"),"x-active",n),Bt)return;Array.from(e.querySelectorAll("[data-x-toggle-anim]")).forEach(i=>{T(i,"x-running")||ze(i,"animationiteration",()=>{Ht(i,"x-running"),T(e,"x-active")||i.removeAttribute("style")}),zt(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(Zt(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];G({id:o.getAttribute("data-x-toggleable"),state:!1})}}function Jt(e){Vt(e).forEach(n=>{G({id:n,state:!0})})}function Ut(e,t){let o=window.getComputedStyle(e)["transition-duration"];if(o=o?parseFloat(o.replace("s","")):0,B&&(B(),B=null),!o){v(e,"x-active",t),v(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(){v(e,i,t),window.dispatchEvent(new CustomEvent("resize"))});let s=setTimeout(function(){requestAnimationFrame(function(){v(e,l,t)})},a);return B=function(){!s||(clearTimeout(s),v(e,"x-active",t),v(e,"x-active-animate",t))}}function Kt(e,t){let n=Re(e);if(!n)return;let o=t?n:"";!t&&`#${n}`!==window.location.hash||`#${o}`!==window.location.hash&&(history.pushState(null,null,"#"+o),window.dispatchEvent(new CustomEvent("hashchange")))}function Zt(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:Q,util:Xt}=window.csGlobal.rivet,{scrollOffset:jt}=Xt;window.xJsData=window.xJsData||{};var Ve,Be,$e,en={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:N,fixedTopOffset:Qr,adminBarOffset:tn,scrollTo:nn,rivet:{util:{getOuterHeight:rn,hasClass:We,toggleClass:te,addClass:on,onPercentScrolled:sn,onScroll:an,onResize:_r,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 cn(e){let t=()=>{fn(),dn(),ln(),window.csGlobal&&e()};document.readyState!="loading"?t():document.addEventListener("DOMContentLoaded",t)}cn(()=>{Q("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");an(()=>{let i=window.scrollY+tn()>jt(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);N.action("scrollspy_activate",o(!0)),N.action("scrollspy_deactivate",o(!1)),N.filter("fixed_top_offset",i=>window.innerWidth<=978.98&&N.apply("x_mobile_header_not_fix",!0)&&r.getPropertyValue("position")!=="fixed"?i:Math.max(i,rn(e)))}),N.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`)}),Q(".x-slider-container .x-slider-scroll-bottom",e=>qe(e,"click",t=>{t.preventDefault();let n=e.closest(".x-slider-container");nn(n,{bottom:!0,offsetTop:We(n,"below")})})),Q("body.x-stack-icon .x-sidebar",e=>{let t=e.querySelector(".max.width");on(t,"x-container")}),Q(".x-scroll-top",e=>{var t;return sn(parseFloat((t=xJsData.scrollTop)!=null?t:".75"),n=>{te(e,"in",n)})})});function ln(){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 un(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 fn(){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=un(()=>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 dn(){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">${en.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)})}})();
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&&"a"!==E.activeElement.tagName.toLowerCase())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);
document.documentElement.className+=" js_active ",document.documentElement.className+="ontouchstart"in document.documentElement?" vc_mobile ":" vc_desktop ",(()=>{for(var e=["-webkit-","-moz-","-ms-","-o-",""],t=0;t<e.length;t++)e[t]+"transform"in document.documentElement.style&&(document.documentElement.className+=" vc_transform ")})(),(c=>{"function"!=typeof window.vc_js&&(window.vc_js=function(){vc_toggleBehaviour(),vc_tabsBehaviour(),vc_accordionBehaviour(),vc_teaserGrid(),vc_carouselBehaviour(),vc_slidersBehaviour(),vc_prettyPhoto(),vc_pinterest(),vc_progress_bar(),vc_plugin_flexslider(),vc_gridBehaviour(),vc_rowBehaviour(),vc_prepareHoverBox(),vc_googleMapsPointer(),vc_ttaActivation(),vc_ttaToggleBehaviour(),jQuery(document).trigger("vc_js"),window.setTimeout(vc_waypoints,500)}),"function"!=typeof window.vc_plugin_flexslider&&(window.vc_plugin_flexslider=function(e){(e?e.find(".wpb_flexslider"):jQuery(".wpb_flexslider")).each(function(){var e=jQuery(this),t=1e3*parseInt(e.attr("data-interval"),10),i=e.attr("data-flex_fx"),o=0==t?!1:!0;e.is(":visible")&&setTimeout(function(){e.flexslider({animation:i,slideshow:o,slideshowSpeed:t,sliderSpeed:800,smoothHeight:!0})},1)})}),"function"!=typeof window.vc_googleplus&&(window.vc_googleplus=function(){var e,t;0<jQuery(".wpb_googleplus").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://apis.google.com/js/plusone.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_pinterest&&(window.vc_pinterest=function(){var e,t;0<jQuery(".wpb_pinterest").length&&((e=document.createElement("script")).type="text/javascript",e.async=!0,e.src="https://assets.pinterest.com/js/pinit.js",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}),"function"!=typeof window.vc_progress_bar&&(window.vc_progress_bar=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".vc_progress_bar").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.find(".vc_single_bar").each(function(e){var t=jQuery(this).find(".vc_bar"),i=t.data("percentage-value");setTimeout(function(){t.css({width:i+"%"})},200*e)})},{offset:"85%"})})}),"function"!=typeof window.vc_waypoints&&(window.vc_waypoints=function(){void 0!==jQuery.fn.vcwaypoint&&jQuery(".wpb_animate_when_almost_visible:not(.wpb_start_animation)").each(function(){var e=jQuery(this);e.vcwaypoint(function(){e.addClass("wpb_start_animation animated")},{offset:"85%"})})}),"function"!=typeof window.vc_toggleBehaviour&&(window.vc_toggleBehaviour=function(e){function t(e){e&&e.preventDefault&&e.preventDefault();var t=jQuery(this).closest(".vc_toggle"),e=t.find(".vc_toggle_content");t.hasClass("vc_toggle_active")?e.slideUp({duration:300,complete:function(){t.removeClass("vc_toggle_active")}}):e.slideDown({duration:300,complete:function(){t.addClass("vc_toggle_active")}})}(e?e.hasClass("vc_toggle_title")?e.unbind("click"):e.find(".vc_toggle_title").off("click"):jQuery(".vc_toggle_title").off("click")).on("click",t)}),"function"!=typeof window.vc_ttaToggleBehaviour&&(window.vc_ttaToggleBehaviour=function(e){function t(){var e=jQuery(this);e.toggleClass("wpb-tta-toggle-active"),e.parent().parent().parent().find(".vc_pagination-item").each(function(){if(!c(this).hasClass("vc_active"))return c(this).find("a").click(),!1})}(e?e.find(".wpb-tta-toggle"):jQuery(".wpb-tta-toggle")).off("click").on("click",t),setTimeout(function(){jQuery(".wpb-tta-toggle").each(function(){var e=jQuery(this);e.parent().parent().parent().find(".vc_tta-panels-container .vc_pagination li:first").hasClass("vc_active")||e.addClass("wpb-tta-toggle-active")})},1e3)}),"function"!=typeof window.vc_tabsBehaviour&&(window.vc_tabsBehaviour=function(e){var t,o;jQuery.ui&&(e=e||jQuery(".wpb_tabs, .wpb_tour"),t=jQuery.ui&&jQuery.ui.version?jQuery.ui.version.split("."):"1.10",o=1===parseInt(t[0],10)&&parseInt(t[1],10)<9,e.each(function(){var e=jQuery(this).attr("data-interval"),t=[],i=jQuery(this).find(".wpb_tour_tabs_wrapper").tabs({show:function(e,t){wpb_prepare_tab_content(e,t)},activate:function(e,t){wpb_prepare_tab_content(e,t)}});if(e&&0<e)try{i.tabs("rotate",1e3*e)}catch(e){window.console&&window.console.warn&&console.warn("tabs behaviours error",e)}jQuery(this).find(".wpb_tab").each(function(){t.push(this.id)}),jQuery(this).find(".wpb_tabs_nav li").on("click",function(e){return e&&e.preventDefault&&e.preventDefault(),o?i.tabs("select",jQuery("a",this).attr("href")):i.tabs("option","active",jQuery(this).index()),!1}),jQuery(this).find(".wpb_prev_slide a, .wpb_next_slide a").on("click",function(e){var t;e&&e.preventDefault&&e.preventDefault(),o?(t=i.tabs("option","selected"),jQuery(this).parent().hasClass("wpb_next_slide")?t++:t--,t<0?t=i.tabs("length")-1:t>=i.tabs("length")&&(t=0),i.tabs("select",t)):(t=i.tabs("option","active"),e=i.find(".wpb_tab").length,t=jQuery(this).parent().hasClass("wpb_next_slide")?e<=t+1?0:t+1:t-1<0?e-1:t-1,i.tabs("option","active",t))})}))}),"function"!=typeof window.vc_accordionBehaviour&&(window.vc_accordionBehaviour=function(){jQuery(".wpb_accordion").each(function(){var e=jQuery(this),t=(e.attr("data-interval"),!isNaN(jQuery(this).data("active-tab"))&&0<parseInt(e.data("active-tab"),10)&&parseInt(e.data("active-tab"),10)-1),i=!1===t||"yes"===e.data("collapsible"),t=e.find(".wpb_accordion_wrapper").accordion({header:"> div > h3",autoHeight:!1,heightStyle:"content",active:t,collapsible:i,navigation:!0,activate:vc_accordionActivate,change:function(e,t){void 0!==jQuery.fn.isotope&&t.newContent.find(".isotope").isotope("layout"),vc_carouselBehaviour(t.newPanel)}});!0===e.data("vcDisableKeydown")&&(t.data("uiAccordion")._keydown=function(){})})}),"function"!=typeof window.vc_teaserGrid&&(window.vc_teaserGrid=function(){var o={fitrows:"fitRows",masonry:"masonry"};jQuery(".wpb_grid .teaser_grid_container:not(.wpb_carousel), .wpb_filtered_grid .teaser_grid_container:not(.wpb_carousel)").each(function(){var e=jQuery(this),t=e.find(".wpb_thumbnails"),i=t.attr("data-layout-mode");t.isotope({itemSelector:".isotope-item",layoutMode:void 0===o[i]?"fitRows":o[i]}),e.find(".categories_filter a").data("isotope",t).on("click",function(e){e&&e.preventDefault&&e.preventDefault();e=jQuery(this).data("isotope");jQuery(this).parent().parent().find(".active").removeClass("active"),jQuery(this).parent().addClass("active"),e.isotope({filter:jQuery(this).attr("data-filter")})}),jQuery(window).on("load resize",function(){t.isotope("layout")})})}),"function"!=typeof window.vc_carouselBehaviour&&(window.vc_carouselBehaviour=function(e){(e?e.find(".wpb_carousel"):jQuery(".wpb_carousel")).each(function(){var e=jQuery(this);!0!==e.data("carousel_enabled")&&e.is(":visible")&&(e.data("carousel_enabled",!0),getColumnsCount(jQuery(this)),jQuery(this).hasClass("columns_count_1"),(e=jQuery(this).find(".wpb_thumbnails-fluid li")).css({"margin-right":e.css("margin-left"),"margin-left":0}),(e=jQuery(this).find("ul.wpb_thumbnails-fluid")).width(e.width()+300))})}),"function"!=typeof window.vc_slidersBehaviour&&(window.vc_slidersBehaviour=function(){jQuery(".wpb_gallery_slides").each(function(){var e,t,i=jQuery(this);i.hasClass("wpb_slider_nivo")?(0===(t=1e3*i.attr("data-interval"))&&(t=9999999999),jQuery.fn.nivoSlider&&!i.data("nivo-initialized")&&(i.data("nivo-initialized",!0),i.find(".nivoSlider").nivoSlider({effect:"boxRainGrow,boxRain,boxRainReverse,boxRainGrowReverse",slices:15,boxCols:8,boxRows:4,animSpeed:800,pauseTime:t,startSlide:0,directionNav:!0,directionNavHide:!0,controlNav:!0,keyboardNav:!1,pauseOnHover:!0,manualAdvance:!1,prevText:"Prev",nextText:"Next"}))):i.hasClass("wpb_image_grid")&&i.find(".wpb_image_grid_ul")&&i.find(".wpb_image_grid_ul").isotope&&(jQuery.fn.imagesLoaded?e=i.find(".wpb_image_grid_ul").imagesLoaded(function(){e.isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0})}):i.find(".wpb_image_grid_ul").isotope({itemSelector:".isotope-item",layoutMode:"fitRows",percentPosition:!0}))})}),"function"!=typeof window.vc_prettyPhoto&&(window.vc_prettyPhoto=function(){try{jQuery&&jQuery.fn&&jQuery.fn.prettyPhoto&&jQuery('a.prettyphoto, .gallery-icon a[href*=".jpg"]').prettyPhoto({animationSpeed:"normal",hook:"data-rel",padding:15,opacity:.7,showTitle:!0,allowresize:!0,counter_separator_label:"/",hideflash:!1,deeplinking:!1,modal:!1,callback:function(){-1<location.href.indexOf("#!prettyPhoto")&&(location.hash="")},social_tools:""})}catch(e){window.console&&window.console.warn&&window.console.warn("vc_prettyPhoto initialize error",e)}}),"function"!=typeof window.vc_google_fonts&&(window.vc_google_fonts=function(){return window.console&&window.console.warn&&window.console.warn("function vc_google_fonts is deprecated, no need to use it"),!1}),window.vcParallaxSkroll=!1,"function"!=typeof window.vc_rowBehaviour&&(window.vc_rowBehaviour=function(){var s=window.jQuery;function e(){var e;void 0!==window.wpb_disable_full_width_row_js&&window.wpb_disable_full_width_row_js||(e=s('[data-vc-full-width="true"]'),s.each(e,function(){var e,t,i,o,n,a,r,c=s(this),d=(c.addClass("vc_hidden"),c.next(".vc_row-full-width"));(d=d.length?d:c.parent().next(".vc_row-full-width")).length&&(c.removeAttr("data-vc-full-width-temp"),e=parseInt(c.css("margin-left"),10),t=parseInt(c.css("margin-right"),10),i=0-d.offset().left-e,o=s(window).width(),n={position:"relative",left:i="rtl"===c.css("direction")?(i=i-d.width()+o)+e+t:i,"box-sizing":"border-box",width:o,"max-width":o},c.css(n),c.data("vcStretchContent")||("rtl"===c.css("direction")?((a=i)<0&&(a=0),(r=i)<0&&(r=0)):(r=o-(a=(a=-1*i)<0?0:a)-d.width()+e+t)<0&&(r=0),c.css({"padding-left":a+"px","padding-right":r+"px"})),c.attr("data-vc-full-width-init","true"),c.removeClass("vc_hidden"),s(document).trigger("vc-full-width-row-single",{el:c,offset:i,marginLeft:e,marginRight:t,elFull:d,width:o,maxWidth:o}))}),s(document).trigger("vc-full-width-row",e))}function t(){var e,t,i=s(".vc_row-o-full-height:first");i.length&&(e=s(window).height(),(t=i.offset().top)<e)&&i.css("min-height",100-t/(e/100)+"vh"),s(document).trigger("vc-full-height-row",i)}s(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",e).on("resize.vcRowBehaviour",t),e(),t(),(0<window.navigator.userAgent.indexOf("MSIE ")||navigator.userAgent.match(/Trident.*rv\:11\./))&&s(".vc_row-o-full-height").each(function(){"flex"===s(this).css("display")&&s(this).wrap('<div class="vc_ie-flexbox-fixer"></div>')}),vc_initVideoBackgrounds();var n=!1;if(window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),s(".vc_parallax-inner").remove(),s("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),s("[data-vc-parallax]").each(function(){var e,t,i,o;n=!0,"on"===s(this).data("vcParallaxOFade")&&s(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),e=100*s(this).data("vcParallax"),(t=s("<div />").addClass("vc_parallax-inner").appendTo(s(this))).height(e+"%"),i=s(this).data("vcParallaxImage"),(o=vcExtractYoutubeId(i))?insertYoutubeVideoAsBackground(t,o):void 0!==i&&t.css("background-image","url("+i+")"),t.attr("data-bottom-top","top: "+-(e-100)+"%;").attr("data-top-bottom","top: 0%;")}),n&&window.skrollr)window.vcParallaxSkroll=skrollr.init({forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}}),window.vcParallaxSkroll}),"function"!=typeof window.vc_gridBehaviour&&(window.vc_gridBehaviour=function(){jQuery.fn.vcGrid&&jQuery("[data-vc-grid]").vcGrid()}),"function"!=typeof window.getColumnsCount&&(window.getColumnsCount=function(e){for(var t=!1,i=1;!1===t;){if(e.hasClass("columns_count_"+i))return t=!0,i;i++}}),"function"!=typeof window.wpb_prepare_tab_content&&(window.wpb_prepare_tab_content=function(e,t){var i=t.panel||t.newPanel,o=i.find(".vc_pie_chart:not(.vc_ready)"),n=i.find(".vc_round-chart"),a=i.find(".vc_line-chart"),r=i.find('[data-ride="vc_carousel"]');vc_carouselBehaviour(),vc_plugin_flexslider(i),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),i.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&i.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),o.length&&jQuery.fn.vcChat&&o.vcChat(),n.length&&jQuery.fn.vcRoundChart&&n.vcRoundChart({reload:!1}),a.length&&jQuery.fn.vcLineChart&&a.vcLineChart({reload:!1}),r.length&&jQuery.fn.carousel&&r.carousel("resizeAction"),t=i.find(".isotope, .wpb_image_grid_ul"),o=i.find(".wpb_gmaps_widget"),0<t.length&&t.isotope("layout"),o.length&&!o.is(".map_ready")&&((n=o.find("iframe")).attr("src",n.attr("src")),o.addClass("map_ready")),i.parents(".isotope").length&&i.parents(".isotope").each(function(){jQuery(this).isotope("layout")}),c(document).trigger("wpb_prepare_tab_content",i)}),"function"!=typeof window.vc_ttaActivation&&(window.vc_ttaActivation=function(){jQuery("[data-vc-accordion]").on("show.vc.accordion",function(e){var t=window.jQuery,i={};i.newPanel=t(this).data("vc.accordion").getTarget(),window.wpb_prepare_tab_content(e,i)})}),"function"!=typeof window.vc_accordionActivate&&(window.vc_accordionActivate=function(e,t){var i,o,n,a;t.newPanel.length&&t.newHeader.length&&(i=t.newPanel.find(".vc_pie_chart:not(.vc_ready)"),o=t.newPanel.find(".vc_round-chart"),n=t.newPanel.find(".vc_line-chart"),a=t.newPanel.find('[data-ride="vc_carousel"]'),void 0!==jQuery.fn.isotope&&t.newPanel.find(".isotope, .wpb_image_grid_ul").isotope("layout"),t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").length&&t.newPanel.find(".vc_masonry_media_grid, .vc_masonry_grid").each(function(){var e=jQuery(this).data("vcGrid");e&&e.gridBuilder&&e.gridBuilder.setMasonry&&e.gridBuilder.setMasonry()}),vc_carouselBehaviour(t.newPanel),vc_plugin_flexslider(t.newPanel),i.length&&jQuery.fn.vcChat&&i.vcChat(),o.length&&jQuery.fn.vcRoundChart&&o.vcRoundChart({reload:!1}),n.length&&jQuery.fn.vcLineChart&&n.vcLineChart({reload:!1}),a.length&&jQuery.fn.carousel&&a.carousel("resizeAction"),t.newPanel.parents(".isotope").length)&&t.newPanel.parents(".isotope").each(function(){jQuery(this).isotope("layout")})}),"function"!=typeof window.initVideoBackgrounds&&(window.initVideoBackgrounds=function(){return window.console&&window.console.warn&&window.console.warn("this function is deprecated use vc_initVideoBackgrounds"),vc_initVideoBackgrounds()}),"function"!=typeof window.vc_initVideoBackgrounds&&(window.vc_initVideoBackgrounds=function(){c(".vc_video-bg").remove(),c("[data-vc-video-bg]").each(function(){var e,i=jQuery(this);i.data("vcVideoBg")?(e=i.data("vcVideoBg"),(e=vcExtractYoutubeId(e))&&(i.find(".vc_video-bg").remove(),insertYoutubeVideoAsBackground(i,e)),jQuery(window).on("grid:items:added",function(e,t){i.has(t).length&&vcResizeVideoBackground(i)})):i.find(".vc_video-bg").remove()})}),"function"!=typeof window.insertYoutubeVideoAsBackground&&(window.insertYoutubeVideoAsBackground=function(e,t,i){if("undefined"==typeof YT||void 0===YT.Player)return 100<(i=void 0===i?0:i)?void console.warn("Too many attempts to load YouTube api"):void setTimeout(function(){insertYoutubeVideoAsBackground(e,t,i++)},100);var o=e.prepend('<div class="vc_video-bg"><div class="inner"></div></div>').find(".inner");new YT.Player(o[0],{width:"100%",height:"100%",videoId:t,playerVars:{playlist:t,iv_load_policy:3,enablejsapi:1,disablekb:1,autoplay:1,controls:0,showinfo:0,rel:0,loop:1,mute:1,wmode:"transparent"},events:{onReady:function(e){e.target.mute().setLoop(!0)}}}),vcResizeVideoBackground(e),jQuery(window).on("resize",function(){vcResizeVideoBackground(e)})}),"function"!=typeof window.vcResizeVideoBackground&&(window.vcResizeVideoBackground=function(e){var t,i,o,n,a=e.innerWidth(),r=e.innerHeight();a/r<16/9?(t=r*(16/9),i=r,o=-Math.round((t-a)/2)+"px",n=-Math.round((i-r)/2)+"px"):(i=(t=a)*(9/16),n=-Math.round((i-r)/2)+"px",o=-Math.round((t-a)/2)+"px"),t+="px",i+="px",e.find(".vc_video-bg iframe").css({maxWidth:"1000%",marginLeft:o,marginTop:n,width:t,height:i})}),"function"!=typeof window.vcExtractYoutubeId&&(window.vcExtractYoutubeId=function(e){return void 0!==e&&null!==(e=e.match(/(?:https?:\/{2})?(?:w{3}\.)?youtu(?:be)?\.(?:com|be)(?:\/watch\?v=|\/)([^\s&]+)/))&&e[1]}),"function"!=typeof window.vc_googleMapsPointer&&(window.vc_googleMapsPointer=function(){var e=window.jQuery,t=e(".wpb_gmaps_widget");t.on("click",function(){e("iframe",this).css("pointer-events","auto")}),t.on("mouseleave",function(){e("iframe",this).css("pointer-events","none")}),e(".wpb_gmaps_widget iframe").css("pointer-events","none")}),"function"!=typeof window.vc_setHoverBoxPerspective&&(window.vc_setHoverBoxPerspective=function(e){e.each(function(){var e=jQuery(this),t=e.width();e.css("perspective",4*t+"px")})}),"function"!=typeof window.vc_setHoverBoxHeight&&(window.vc_setHoverBoxHeight=function(e){e.each(function(){var e=jQuery(this),t=e.find(".vc-hoverbox-inner"),i=(t.css("min-height",0),e.find(".vc-hoverbox-front-inner").outerHeight()),e=e.find(".vc-hoverbox-back-inner").outerHeight(),i=e<i?i:e;t.css("min-height",(i=i<250?250:i)+"px")})}),"function"!=typeof window.vc_prepareHoverBox&&(window.vc_prepareHoverBox=function(){var e=jQuery(".vc-hoverbox");vc_setHoverBoxHeight(e),vc_setHoverBoxPerspective(e)}),jQuery(document).ready(window.vc_prepareHoverBox),jQuery(window).on("resize",window.vc_prepareHoverBox),jQuery(document).ready(function(){window.vc_js()})})(window.jQuery);