// source --> https://ssm-brands-sports.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=6.1.5 
(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return c.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:c,path:o,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),o=r?n+"/"+r:n),"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),c=t+o),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||o||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},c=[];function o(e,t={}){const{target:a,scope:r=e,...c}=t;if(void 0===e.wpcf7?.schema)return;const o={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>(t.closest(".novalidate")||t.querySelectorAll(":where( input, textarea, select ):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(o,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const c=t.dataset.name;if(n.has(c)){const{error:t,validInputs:a}=n.get(c);i(e,c),void 0!==t&&s(e,c,t,{scope:r}),l(e,c,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{c.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...c}=null!=n?n:{},o=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",o),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",o),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const c=new FormData(e);t.submitter&&t.submitter.name&&c.append(t.submitter.name,t.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:c};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((t=>{const r=n(e,t.status);return o.status=t.status,o.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,o):["sent","failed"].includes(r)&&a(e,`mail${r}`,o),a(e,"submit",o),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),c.apiResponse=t,a(e,"reset",c)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),c=t(e.getAttribute("data-minimum-value")),o=e.classList.contains("down")?n-a.value.trim().length:a.value.trim().length;e.setAttribute("data-current-value",o),e.innerText=o,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),c&&a.value.length<c?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),c=e.querySelector(`[name="${r}"]`);c&&(c.value=c.defaultValue,a(n,c),t.init&&c.addEventListener("keyup",(e=>{a(n,c)})))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:o,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7[data-wpcf7-id]").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})();
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/global.min.js?ver=2.11.5 
(function(){"use strict";var UNCODE=window.UNCODE||{};window.UNCODE=UNCODE})();
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/lenis.min.js?ver=2.11.5 
"use strict";function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,_toPropertyKey(descriptor.key),descriptor)}}function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}function _toPropertyKey(arg){var key=_toPrimitive(arg,"string");return _typeof(key)==="symbol"?key:String(key)}function _toPrimitive(input,hint){if(_typeof(input)!=="object"||input===null)return input;var prim=input[Symbol.toPrimitive];if(prim!==undefined){var res=prim.call(input,hint||"default");if(_typeof(res)!=="object")return res;throw new TypeError("@@toPrimitive must return a primitive value.")}return(hint==="string"?String:Number)(input)}function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}(function(global,factory){(typeof exports=="undefined"?"undefined":_typeof(exports))==="object"&&typeof module!="undefined"?module.exports=factory():typeof define=="function"&&define.amd?define(factory):(global=typeof globalThis!="undefined"?globalThis:global||self,global.Lenis=factory())})(void 0,function(){function clamp(min,input,max){return Math.max(min,Math.min(input,max))}function lerp(x,y,t){return(1-t)*x+t*y}function damp(x,y,lambda,dt){return lerp(x,y,1-Math.exp(-lambda*dt))}function modulo(n,d){return(n%d+d)%d}function debounce(callback,delay){var timer;return function(){var args=arguments,context=this;clearTimeout(timer),timer=setTimeout(function(){callback.apply(context,args)},delay)}}var version="1.1.9",Animate=function(){function Animate(){_classCallCheck(this,Animate),this.isRunning=!1,this.value=0,this.from=0,this.to=0,this.duration=0,this.currentTime=0}return _createClass(Animate,[{key:"advance",value:function advance(deltaTime){var _a;if(!this.isRunning)return;var completed=!1;if(this.duration&&this.easing){this.currentTime+=deltaTime;var linearProgress=clamp(0,this.currentTime/this.duration,1);completed=linearProgress>=1;var easedProgress=completed?1:this.easing(linearProgress);this.value=this.from+(this.to-this.from)*easedProgress}else this.lerp?(this.value=damp(this.value,this.to,this.lerp*60,deltaTime),Math.round(this.value)===this.to&&(this.value=this.to,completed=!0)):(this.value=this.to,completed=!0);completed&&this.stop(),(_a=this.onUpdate)===null||_a===void 0?void 0:_a.call(this,this.value,completed)}},{key:"stop",value:function stop(){this.isRunning=!1}},{key:"fromTo",value:function fromTo(from,to,_ref){var lerp=_ref.lerp,duration=_ref.duration,easing=_ref.easing,onStart=_ref.onStart,onUpdate=_ref.onUpdate;this.from=this.value=from,this.to=to,this.lerp=lerp,this.duration=duration,this.easing=easing,this.currentTime=0,this.isRunning=!0,onStart===null||onStart===void 0?void 0:onStart(),this.onUpdate=onUpdate}}]),Animate}(),Dimensions=function(){function Dimensions(){var _this=this,_ref2=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},wrapper=_ref2.wrapper,content=_ref2.content,_ref2$autoResize=_ref2.autoResize,autoResize=_ref2$autoResize===void 0?!0:_ref2$autoResize,_ref2$debounce=_ref2.debounce,debounceValue=_ref2$debounce===void 0?250:_ref2$debounce;_classCallCheck(this,Dimensions),this.width=0,this.height=0,this.scrollWidth=0,this.scrollHeight=0,this.resize=function(){_this.onWrapperResize(),_this.onContentResize()},this.onWrapperResize=function(){_this.wrapper===window?(_this.width=window.innerWidth,_this.height=window.innerHeight):_this.wrapper instanceof HTMLElement&&(_this.width=_this.wrapper.clientWidth,_this.height=_this.wrapper.clientHeight)},this.onContentResize=function(){_this.wrapper===window?(_this.scrollHeight=_this.content.scrollHeight,_this.scrollWidth=_this.content.scrollWidth):_this.wrapper instanceof HTMLElement&&(_this.scrollHeight=_this.wrapper.scrollHeight,_this.scrollWidth=_this.wrapper.scrollWidth)},this.wrapper=wrapper,this.content=content,autoResize&&(this.debouncedResize=debounce(this.resize,debounceValue),this.wrapper===window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}return _createClass(Dimensions,[{key:"destroy",value:function destroy(){var _a,_b;(_a=this.wrapperResizeObserver)===null||_a===void 0?void 0:_a.disconnect(),(_b=this.contentResizeObserver)===null||_b===void 0?void 0:_b.disconnect(),window.removeEventListener("resize",this.debouncedResize,!1)}},{key:"limit",get:function get(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}]),Dimensions}(),Emitter=function(){function Emitter(){_classCallCheck(this,Emitter),this.events={}}return _createClass(Emitter,[{key:"emit",value:function emit(event){var callbacks=this.events[event]||[];for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];for(var i=0,length=callbacks.length;i<length;i++)callbacks[i].apply(callbacks,args)}},{key:"on",value:function on(event,callback){var _this2=this,_a;return((_a=this.events[event])===null||_a===void 0?void 0:_a.push(callback))||(this.events[event]=[callback]),function(){var _a;_this2.events[event]=(_a=_this2.events[event])===null||_a===void 0?void 0:_a.filter(function(i){return callback!==i})}}},{key:"off",value:function off(event,callback){var _a;this.events[event]=(_a=this.events[event])===null||_a===void 0?void 0:_a.filter(function(i){return callback!==i})}},{key:"destroy",value:function destroy(){this.events={}}}]),Emitter}(),LINE_HEIGHT=100/6,VirtualScroll=function(){function VirtualScroll(element,_ref3){var _this3=this,_ref3$wheelMultiplier=_ref3.wheelMultiplier,wheelMultiplier=_ref3$wheelMultiplier===void 0?1:_ref3$wheelMultiplier,_ref3$touchMultiplier=_ref3.touchMultiplier,touchMultiplier=_ref3$touchMultiplier===void 0?1:_ref3$touchMultiplier;_classCallCheck(this,VirtualScroll),this.lastDelta={x:0,y:0},this.windowWidth=0,this.windowHeight=0,this.onTouchStart=function(event){var _ref4=event.targetTouches?event.targetTouches[0]:event,clientX=_ref4.clientX,clientY=_ref4.clientY;_this3.touchStart.x=clientX,_this3.touchStart.y=clientY,_this3.lastDelta={x:0,y:0},_this3.emitter.emit("scroll",{deltaX:0,deltaY:0,event:event})},this.onTouchMove=function(event){var _a,_b,_c,_d,_ref5=event.targetTouches?event.targetTouches[0]:event,clientX=_ref5.clientX,clientY=_ref5.clientY,deltaX=-(clientX-((_b=(_a=_this3.touchStart)===null||_a===void 0?void 0:_a.x)!==null&&_b!==void 0?_b:0))*_this3.touchMultiplier,deltaY=-(clientY-((_d=(_c=_this3.touchStart)===null||_c===void 0?void 0:_c.y)!==null&&_d!==void 0?_d:0))*_this3.touchMultiplier;_this3.touchStart.x=clientX,_this3.touchStart.y=clientY,_this3.lastDelta={x:deltaX,y:deltaY},_this3.emitter.emit("scroll",{deltaX:deltaX,deltaY:deltaY,event:event})},this.onTouchEnd=function(event){_this3.emitter.emit("scroll",{deltaX:_this3.lastDelta.x,deltaY:_this3.lastDelta.y,event:event})},this.onWheel=function(event){var deltaX=event.deltaX,deltaY=event.deltaY,deltaMode=event.deltaMode,multiplierX=deltaMode===1?LINE_HEIGHT:deltaMode===2?_this3.windowWidth:1,multiplierY=deltaMode===1?LINE_HEIGHT:deltaMode===2?_this3.windowHeight:1;deltaX*=multiplierX,deltaY*=multiplierY,deltaX*=_this3.wheelMultiplier,deltaY*=_this3.wheelMultiplier,_this3.emitter.emit("scroll",{deltaX:deltaX,deltaY:deltaY,event:event})},this.onWindowResize=function(){_this3.windowWidth=window.innerWidth,_this3.windowHeight=window.innerHeight},this.element=element,this.wheelMultiplier=wheelMultiplier,this.touchMultiplier=touchMultiplier,this.touchStart={x:null,y:null},this.emitter=new Emitter,window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,{passive:!1}),this.element.addEventListener("touchstart",this.onTouchStart,{passive:!1}),this.element.addEventListener("touchmove",this.onTouchMove,{passive:!1}),this.element.addEventListener("touchend",this.onTouchEnd,{passive:!1})}return _createClass(VirtualScroll,[{key:"on",value:function on(event,callback){return this.emitter.on(event,callback)}},{key:"destroy",value:function destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel),this.element.removeEventListener("touchstart",this.onTouchStart),this.element.removeEventListener("touchmove",this.onTouchMove),this.element.removeEventListener("touchend",this.onTouchEnd)}}]),VirtualScroll}(),Lenis=function(){function Lenis(){var _this4=this,_ref6=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{},_ref6$wrapper=_ref6.wrapper,wrapper=_ref6$wrapper===void 0?window:_ref6$wrapper,_ref6$content=_ref6.content,content=_ref6$content===void 0?document.documentElement:_ref6$content,_ref6$wheelEventsTarg=_ref6.wheelEventsTarget,wheelEventsTarget=_ref6$wheelEventsTarg===void 0?wrapper:_ref6$wheelEventsTarg,_ref6$eventsTarget=_ref6.eventsTarget,eventsTarget=_ref6$eventsTarget===void 0?wheelEventsTarget:_ref6$eventsTarget,_ref6$smoothWheel=_ref6.smoothWheel,smoothWheel=_ref6$smoothWheel===void 0?!0:_ref6$smoothWheel,_ref6$syncTouch=_ref6.syncTouch,syncTouch=_ref6$syncTouch===void 0?!1:_ref6$syncTouch,_ref6$syncTouchLerp=_ref6.syncTouchLerp,syncTouchLerp=_ref6$syncTouchLerp===void 0?.075:_ref6$syncTouchLerp,_ref6$touchInertiaMul=_ref6.touchInertiaMultiplier,touchInertiaMultiplier=_ref6$touchInertiaMul===void 0?35:_ref6$touchInertiaMul,duration=_ref6.duration,_ref6$easing=_ref6.easing,easing=_ref6$easing===void 0?function(t){return Math.min(1,1.001-Math.pow(2,-10*t))}:_ref6$easing,_ref6$lerp=_ref6.lerp,lerp=_ref6$lerp===void 0?.1:_ref6$lerp,_ref6$infinite=_ref6.infinite,infinite=_ref6$infinite===void 0?!1:_ref6$infinite,_ref6$orientation=_ref6.orientation,orientation=_ref6$orientation===void 0?"vertical":_ref6$orientation,_ref6$gestureOrientat=_ref6.gestureOrientation,gestureOrientation=_ref6$gestureOrientat===void 0?"vertical":_ref6$gestureOrientat,_ref6$touchMultiplier=_ref6.touchMultiplier,touchMultiplier=_ref6$touchMultiplier===void 0?1:_ref6$touchMultiplier,_ref6$wheelMultiplier=_ref6.wheelMultiplier,wheelMultiplier=_ref6$wheelMultiplier===void 0?1:_ref6$wheelMultiplier,_ref6$autoResize=_ref6.autoResize,autoResize=_ref6$autoResize===void 0?!0:_ref6$autoResize,prevent=_ref6.prevent,virtualScroll=_ref6.virtualScroll,_ref6$__experimental_=_ref6.__experimental__naiveDimensions,__experimental__naiveDimensions=_ref6$__experimental_===void 0?!1:_ref6$__experimental_;_classCallCheck(this,Lenis),this.__isScrolling=!1,this.__isStopped=!1,this.__isLocked=!1,this.userData={},this.lastVelocity=0,this.velocity=0,this.direction=0,this.onPointerDown=function(event){event.button===1&&_this4.reset()},this.onVirtualScroll=function(data){if(typeof _this4.options.virtualScroll=="function"&&_this4.options.virtualScroll(data)===!1)return;var deltaX=data.deltaX,deltaY=data.deltaY,event=data.event;_this4.emitter.emit("virtual-scroll",{deltaX:deltaX,deltaY:deltaY,event:event});if(event.ctrlKey)return;var isTouch=event.type.includes("touch"),isWheel=event.type.includes("wheel");_this4.isTouching=event.type==="touchstart"||event.type==="touchmove";var isTapToStop=_this4.options.syncTouch&&isTouch&&event.type==="touchstart"&&!_this4.isStopped&&!_this4.isLocked;if(isTapToStop){_this4.reset();return}var isClick=deltaX===0&&deltaY===0,isUnknownGesture=_this4.options.gestureOrientation==="vertical"&&deltaY===0||_this4.options.gestureOrientation==="horizontal"&&deltaX===0;if(isClick||isUnknownGesture)return;var composedPath=event.composedPath();composedPath=composedPath.slice(0,composedPath.indexOf(_this4.rootElement));var prevent=_this4.options.prevent;if(!!composedPath.find(function(node){var _a,_b,_c,_d,_e;return node instanceof Element&&(typeof prevent=="function"&&(prevent===null||prevent===void 0?void 0:prevent(node))||((_a=node.hasAttribute)===null||_a===void 0?void 0:_a.call(node,"data-lenis-prevent"))||isTouch&&((_b=node.hasAttribute)===null||_b===void 0?void 0:_b.call(node,"data-lenis-prevent-touch"))||isWheel&&((_c=node.hasAttribute)===null||_c===void 0?void 0:_c.call(node,"data-lenis-prevent-wheel"))||((_d=node.classList)===null||_d===void 0?void 0:_d.contains("lenis"))&&((_e=node.classList)===null||_e===void 0?!void 0:!_e.contains("lenis-stopped")))}))return;if(_this4.isStopped||_this4.isLocked){event.preventDefault();return}var isSmooth=_this4.options.syncTouch&&isTouch||_this4.options.smoothWheel&&isWheel;if(!isSmooth){_this4.isScrolling="native",_this4.animate.stop();return}event.preventDefault();var delta=deltaY;_this4.options.gestureOrientation==="both"?delta=Math.abs(deltaY)>Math.abs(deltaX)?deltaY:deltaX:_this4.options.gestureOrientation==="horizontal"&&(delta=deltaX);var syncTouch=isTouch&&_this4.options.syncTouch,isTouchEnd=isTouch&&event.type==="touchend",hasTouchInertia=isTouchEnd&&Math.abs(delta)>5;hasTouchInertia&&(delta=_this4.velocity*_this4.options.touchInertiaMultiplier),_this4.scrollTo(_this4.targetScroll+delta,Object.assign({programmatic:!1},syncTouch?{lerp:hasTouchInertia?_this4.options.syncTouchLerp:1}:{lerp:_this4.options.lerp,duration:_this4.options.duration,easing:_this4.options.easing}))},this.onNativeScroll=function(){clearTimeout(_this4.__resetVelocityTimeout),delete _this4.__resetVelocityTimeout;if(_this4.__preventNextNativeScrollEvent){delete _this4.__preventNextNativeScrollEvent;return}if(_this4.isScrolling===!1||_this4.isScrolling==="native"){var lastScroll=_this4.animatedScroll;_this4.animatedScroll=_this4.targetScroll=_this4.actualScroll,_this4.lastVelocity=_this4.velocity,_this4.velocity=_this4.animatedScroll-lastScroll,_this4.direction=Math.sign(_this4.animatedScroll-lastScroll),_this4.isScrolling="native",_this4.emit(),_this4.velocity!==0&&(_this4.__resetVelocityTimeout=setTimeout(function(){_this4.lastVelocity=_this4.velocity,_this4.velocity=0,_this4.isScrolling=!1,_this4.emit()},400))}},window.lenisVersion=version;if(!wrapper||wrapper===document.documentElement||wrapper===document.body)wrapper=window;this.options={wrapper:wrapper,content:content,wheelEventsTarget:wheelEventsTarget,eventsTarget:eventsTarget,smoothWheel:smoothWheel,syncTouch:syncTouch,syncTouchLerp:syncTouchLerp,touchInertiaMultiplier:touchInertiaMultiplier,duration:duration,easing:easing,lerp:lerp,infinite:infinite,gestureOrientation:gestureOrientation,orientation:orientation,touchMultiplier:touchMultiplier,wheelMultiplier:wheelMultiplier,autoResize:autoResize,prevent:prevent,virtualScroll:virtualScroll,__experimental__naiveDimensions:__experimental__naiveDimensions},this.animate=new Animate,this.emitter=new Emitter,this.dimensions=new Dimensions({wrapper:wrapper,content:content,autoResize:autoResize}),this.updateClassName(),this.userData={},this.time=0,this.velocity=this.lastVelocity=0,this.isLocked=!1,this.isStopped=!1,this.isScrolling=!1,this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new VirtualScroll(eventsTarget,{touchMultiplier:touchMultiplier,wheelMultiplier:wheelMultiplier}),this.virtualScroll.on("scroll",this.onVirtualScroll)}return _createClass(Lenis,[{key:"destroy",value:function destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}},{key:"on",value:function on(event,callback){return this.emitter.on(event,callback)}},{key:"off",value:function off(event,callback){return this.emitter.off(event,callback)}},{key:"setScroll",value:function setScroll(scroll){this.isHorizontal?this.rootElement.scrollLeft=scroll:this.rootElement.scrollTop=scroll}},{key:"resize",value:function resize(){this.dimensions.resize()}},{key:"emit",value:function emit(){this.emitter.emit("scroll",this)}},{key:"reset",value:function reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}},{key:"start",value:function start(){if(!this.isStopped)return;this.isStopped=!1,this.reset()}},{key:"stop",value:function stop(){if(this.isStopped)return;this.isStopped=!0,this.animate.stop(),this.reset()}},{key:"raf",value:function raf(time){var deltaTime=time-(this.time||time);this.time=time,this.animate.advance(deltaTime*.001)}},{key:"scrollTo",value:function scrollTo(target){var _this5=this,_ref7=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{},_ref7$offset=_ref7.offset,offset=_ref7$offset===void 0?0:_ref7$offset,_ref7$immediate=_ref7.immediate,immediate=_ref7$immediate===void 0?!1:_ref7$immediate,_ref7$lock=_ref7.lock,lock=_ref7$lock===void 0?!1:_ref7$lock,_ref7$duration=_ref7.duration,duration=_ref7$duration===void 0?this.options.duration:_ref7$duration,_ref7$easing=_ref7.easing,easing=_ref7$easing===void 0?this.options.easing:_ref7$easing,_ref7$lerp=_ref7.lerp,lerp=_ref7$lerp===void 0?this.options.lerp:_ref7$lerp,_onStart=_ref7.onStart,onComplete=_ref7.onComplete,_ref7$force=_ref7.force,force=_ref7$force===void 0?!1:_ref7$force,_ref7$programmatic=_ref7.programmatic,programmatic=_ref7$programmatic===void 0?!0:_ref7$programmatic,_ref7$userData=_ref7.userData,userData=_ref7$userData===void 0?{}:_ref7$userData;if((this.isStopped||this.isLocked)&&!force)return;if(typeof target=="string"&&["top","left","start"].includes(target))target=0;else if(typeof target=="string"&&["bottom","right","end"].includes(target))target=this.limit;else{var node;typeof target=="string"?node=document.querySelector(target):target instanceof HTMLElement&&(target===null||target===void 0?void 0:target.nodeType)&&(node=target);if(node){if(this.options.wrapper!==window){var wrapperRect=this.rootElement.getBoundingClientRect();offset-=this.isHorizontal?wrapperRect.left:wrapperRect.top}var rect=node.getBoundingClientRect();target=(this.isHorizontal?rect.left:rect.top)+this.animatedScroll}}if(typeof target!="number")return;target+=offset,target=Math.round(target),this.options.infinite?programmatic&&(this.targetScroll=this.animatedScroll=this.scroll):target=clamp(0,target,this.limit);if(target===this.targetScroll)return;this.userData=userData;if(immediate){this.animatedScroll=this.targetScroll=target,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),onComplete===null||onComplete===void 0?void 0:onComplete(this),this.userData={};return}programmatic||(this.targetScroll=target),this.animate.fromTo(this.animatedScroll,target,{duration:duration,easing:easing,lerp:lerp,onStart:function onStart(){lock&&(_this5.isLocked=!0),_this5.isScrolling="smooth",_onStart===null||_onStart===void 0?void 0:_onStart(_this5)},onUpdate:function onUpdate(value,completed){_this5.isScrolling="smooth",_this5.lastVelocity=_this5.velocity,_this5.velocity=value-_this5.animatedScroll,_this5.direction=Math.sign(_this5.velocity),_this5.animatedScroll=value,_this5.setScroll(_this5.scroll),programmatic&&(_this5.targetScroll=value),completed||_this5.emit(),completed&&(_this5.reset(),_this5.emit(),onComplete===null||onComplete===void 0?void 0:onComplete(_this5),_this5.userData={},_this5.preventNextNativeScrollEvent())}})}},{key:"preventNextNativeScrollEvent",value:function preventNextNativeScrollEvent(){var _this6=this;this.__preventNextNativeScrollEvent=!0,requestAnimationFrame(function(){delete _this6.__preventNextNativeScrollEvent})}},{key:"rootElement",get:function get(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}},{key:"limit",get:function get(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}},{key:"isHorizontal",get:function get(){return this.options.orientation==="horizontal"}},{key:"actualScroll",get:function get(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}},{key:"scroll",get:function get(){return this.options.infinite?modulo(this.animatedScroll,this.limit):this.animatedScroll}},{key:"progress",get:function get(){return this.limit===0?1:this.scroll/this.limit}},{key:"isScrolling",get:function get(){return this.__isScrolling},set:function set(value){this.__isScrolling!==value&&(this.__isScrolling=value,this.updateClassName())}},{key:"isStopped",get:function get(){return this.__isStopped},set:function set(value){this.__isStopped!==value&&(this.__isStopped=value,this.updateClassName())}},{key:"isLocked",get:function get(){return this.__isLocked},set:function set(value){this.__isLocked!==value&&(this.__isLocked=value,this.updateClassName())}},{key:"isSmooth",get:function get(){return this.isScrolling==="smooth"}},{key:"className",get:function get(){var className="lenis";return this.isStopped&&(className+=" lenis-stopped"),this.isLocked&&(className+=" lenis-locked"),this.isScrolling&&(className+=" lenis-scrolling"),this.isScrolling==="smooth"&&(className+=" lenis-smooth"),className}},{key:"updateClassName",value:function updateClassName(){this.cleanUpClassName(),this.rootElement.className="".concat(this.rootElement.className," ").concat(this.className).trim()}},{key:"cleanUpClassName",value:function cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}}]),Lenis}();return Lenis});
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/utils.min.js?ver=2.11.5 
(function($){"use strict";function uncodeVisibilityChange(){document.hidden?window.dispatchEvent(new CustomEvent("is-blur")):window.dispatchEvent(new CustomEvent("is-focus"))}window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(callback,element){window.setTimeout(callback,1e3/60)}}(),window.requestTimeout=function(fn,delay){function loop(){var current=(new Date).getTime(),delta=current-start;delta>=delay?fn.call():handle.value=requestAnimFrame(loop)}if(!window.requestAnimationFrame&&!window.webkitRequestAnimationFrame&&(!window.mozRequestAnimationFrame||!window.mozCancelRequestAnimationFrame)&&!window.oRequestAnimationFrame&&!window.msRequestAnimationFrame)return window.setTimeout(fn,delay);var start=(new Date).getTime(),handle=new Object;return handle.value=requestAnimFrame(loop),handle},window.clearRequestTimeout=function(handle){typeof handle!="undefined"&&(window.cancelAnimationFrame?window.cancelAnimationFrame(handle.value):window.webkitCancelAnimationFrame?window.webkitCancelAnimationFrame(handle.value):window.webkitCancelRequestAnimationFrame?window.webkitCancelRequestAnimationFrame(handle.value):window.mozCancelRequestAnimationFrame?window.mozCancelRequestAnimationFrame(handle.value):window.oCancelRequestAnimationFrame?window.oCancelRequestAnimationFrame(handle.value):window.msCancelRequestAnimationFrame?window.msCancelRequestAnimationFrame(handle.value):clearTimeout(handle))},document.addEventListener("visibilitychange",uncodeVisibilityChange,!1);if(SiteParameters.smoothScroll==="on"&&!SiteParameters.is_frontend_editor){window.lenis=new Lenis({duration:1}),UNCODE.hDoc=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);function raf(time){window.lenis.raf(time),requestAnimationFrame(raf),window.dispatchEvent(new CustomEvent("lenis-scroll"));if(SiteParameters.uncode_smooth_scroll_safe){var newHdoc=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);UNCODE.hDoc!==newHdoc&&(UNCODE.hDoc=newHdoc,window.lenis.resize())}}requestAnimationFrame(raf),$(window).on("unmodal-open uncode-sidecart-open",function(){window.lenis.stop()}),$(window).on("uncode-sidecart-closed",function(){window.lenis.start()}),$(document).on("unmodal-close",function(){window.lenis.start()})}var checkScrollTriggerRefresh;$(function(){$(document).on("uncode-scrolltrigger-refresh",function(){clearRequestTimeout(checkScrollTriggerRefresh),checkScrollTriggerRefresh=requestTimeout(function(){ScrollTrigger.refresh(),$(".scroll-refresh-hidden").removeClass("opacity_0")},500)})}),UNCODE.checkImgLoad=function(src,cb,err,el){var img=new Image;img.onload=function(){var result=img.width>0&&img.height>0;cb(el)},img.onerror=function(){err()},img.src=src},UNCODE.betterResize=function(){var setResize,doubleResize=!0,oldW=UNCODE.wwidth,oldH=UNCODE.wheight,setCTA;$(window).on("resize orientationchange",function(){if(oldW===UNCODE.wwidth)return;oldW=UNCODE.wwidth,$(window).trigger("wwResize");if(oldH===UNCODE.wheight)return;oldH=UNCODE.wheight,$(window).trigger("whResize")}),$(window).on("resize orientationchange",function(){clearRequestTimeout(setCTA),setCTA=requestTimeout(function(){$(window).trigger("resize-int")},100)})},UNCODE.shuffle=function(array){var currentIndex=array.length,randomIndex;while(currentIndex>0)randomIndex=Math.floor(Math.random()*currentIndex),currentIndex--,[array[currentIndex],array[randomIndex]]=[array[randomIndex],array[currentIndex]];return array},Number.isInteger=Number.isInteger||function(value){return typeof value=="number"&&isFinite(value)&&Math.floor(value)===value},UNCODE.utils=function(){$(document).on("mouseover","a",function(){$(this).hasClass("star")||($(this).attr("data-title",$(this).attr("title")),$(this).removeAttr("title"))}),$(document).on("mouseout","a",function(){$(this).hasClass("star")||($(this).attr("title",$(this).attr("data-title")),$(this).removeAttr("data-title"))}),this.get_scroll_offset=function(e){var scroll_offset=0,target,trigger;Number.isInteger(e)!==!0&&typeof e!="undefined"&&typeof e.target!="undefined"&&typeof e.currentTarget!="undefined"&&(target=e.target,trigger=e.currentTarget),($(".menu-hide").length||$(".menu-hide-vertical").length)&&UNCODE.bodyTop>UNCODE.wheight/2&&UNCODE.hideMenu(100);if(!$("body").hasClass("vmenu")||UNCODE.wwidth<UNCODE.mediaQuery)if(!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery))if($(".menu-sticky").length&&!$(".menu-hide").length&&!UNCODE.isMobile||$(".menu-sticky-mobile").length&&UNCODE.isMobile&&!$(".menu-mobile-transparent").length)$(".menu-hided").length||($("body").hasClass("hmenu-center")?scroll_offset+=~~$(".menu-sticky .menu-container").outerHeight():scroll_offset+=~~$(".logo-container:visible").outerHeight());else if($(".menu-sticky .menu-container:not(.menu-hide)").length&&!$(".menu-shrink").length&&UNCODE.wwidth>UNCODE.mediaQuery){var shrink=typeof $(".navbar-brand").data("padding-shrink")!="undefined"?$(".navbar-brand").data("padding-shrink")*2:36;scroll_offset+=~~$(".menu-sticky .menu-container").outerHeight()-($(".navbar-brand").data("minheight")+shrink)}else $(".menu-sticky").length&&!$(".menu-hide").length||$(".menu-sticky-vertical").length&&!$(".menu-hide-vertical").length?scroll_offset+=UNCODE.menuMobileHeight:typeof target!="undefined"&&target.closest(".main-menu-container")!=null&&UNCODE.wwidth<UNCODE.mediaQuery&&!$("body").hasClass("vmenu")&&!$("body").hasClass("menu-mobile-transparent")&&!$(".menu-sticky").length||$(trigger)[0]!==$(document)[0]&&$(trigger).length&&typeof $(trigger).offset()!="undefined"&&window.scrollY>$(trigger).offset().top+UNCODE.menuMobileHeight&&(scroll_offset+=UNCODE.menuMobileHeight);return scroll_offset+=UNCODE.bodyBorder,scroll_offset},UNCODE.isFullPage||($(document).on("click",'a[href*="#"]:not(.woocommerce-review-link):not(.one-dot-link)',function(e){var hash=e.currentTarget.hash,is_scrolltop=$(e.currentTarget).hasClass("scroll-top")?!0:!1,anchor="";if($(e.currentTarget).data("toggle")=="tab"||$(e.currentTarget).data("toggle")=="collapse")return;if($(e.currentTarget).hasClass("woocommerce-review-link")&&$(".wootabs .tab-content").length){e.preventDefault(),$("#tab-reviews").is(":visible")||$('a[href="#tab-reviews"]').trigger("click");var calc_scroll=$(".wootabs .tab-content").offset().top;calc_scroll-=UNCODE.get_scroll_offset(e);if(!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)){var shrink=typeof $(".navbar-brand").data("padding-shrink")!="undefined"?$(".navbar-brand").data("padding-shrink")*2:36;$(".menu-sticky .menu-container:not(.menu-hide)").length&&$(".menu-shrink").length&&(scrollTo+=UNCODE.menuHeight-($(".navbar-brand").data("minheight")+shrink))}var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,delta=bodyTop-calc_scroll,scrollSpeed=SiteParameters.constant_scroll=="on"?Math.abs(delta)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;scrollSpeed<1e3&&SiteParameters.constant_scroll=="on"&&(scrollSpeed=1e3),requestTimeout(function(){scrollSpeed==0?($("html, body").scrollTop(calc_scroll),UNCODE.scrolling=!1):$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1})},200);return}if(hash!=undefined){var specialFormat=/[ !@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/,anchor=this.hash.slice(1);!specialFormat.test(hash)&&location.pathname.replace(/^\//g,"")==this.pathname.replace(/^\//g,"")&&location.hostname==this.hostname&&(specialFormat.test(hash)||$(hash).length&&(anchor=$(hash)))}if(is_scrolltop||anchor!="")if(is_scrolltop){e.preventDefault();var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,scrollSpeed=SiteParameters.constant_scroll=="on"?Math.abs(bodyTop)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;scrollSpeed<1e3&&SiteParameters.constant_scroll=="on"&&(scrollSpeed=1e3),scrollSpeed==0?($("html, body").scrollTop(0),UNCODE.scrolling=!1):$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:0},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1})}else{var scrollSection=typeof anchor=="string"?$('[data-name="'+anchor+'"]'):anchor;$.each($(".menu-container .menu-item > a, .widget_nav_menu .menu-smart .menu-item > a, #uncode-mobile-menu-block .menu-item > a"),function(index,val){var get_href=$(val).attr("href");get_href!=undefined&&(get_href.substring(get_href.indexOf("#")+1)==anchor?$(val).parent().addClass("active"):$(val).parent().removeClass("active"))});if(scrollSection.length){$("body").hasClass("uncode-scroll-no-history")&&e.preventDefault(),UNCODE.menuOpened&&(UNCODE.wwidth<UNCODE.mediaQuery?window.dispatchEvent(UNCODE.menuMobileTriggerEvent):($(".mmb-container-overlay .overlay-close").trigger("click"),$(".mmb-container .trigger-overlay.close")[0].dispatchEvent(new Event("click"))));var calc_scroll=scrollSection.offset().top,getOffset=UNCODE.get_scroll_offset(e),$logo=$(".logo-container:visible"),logoH,$menu=$("#masthead .menu-container"),menuH;calc_scroll-=isNaN(getOffset)?0:getOffset;var bodyTop=document.documentElement.scrollTop||document.body.scrollTop,delta=bodyTop-calc_scroll,scrollSpeed=SiteParameters.constant_scroll=="on"?Math.abs(delta)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;scrollSpeed<1e3&&SiteParameters.constant_scroll=="on"&&(scrollSpeed=1e3),!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)&&$(".menu-sticky .menu-container:not(.menu-hide)").length&&!$(".menu-shrink").length&&!$("body").hasClass("vmenu")&&UNCODE.wwidth>UNCODE.mediaQuery&&(logoH=$logo.outerHeight(),menuH=$menu.outerHeight(),calc_scroll<logoH+menuH&&(calc_scroll=0)),UNCODE.menuStickyMobileOverlay===!1&&UNCODE.isMobile&&(calc_scroll-=parseFloat($(".overlay.overlay-menu").outerHeight())),scrollSpeed==0?($("html, body").scrollTop(calc_scroll),UNCODE.scrolling=!1):$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:delta>0?calc_scroll-.1:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1;if(getOffset!=UNCODE.get_scroll_offset(e)&&!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)||$(".menu-hided").length)calc_scroll=scrollSection.offset().top,getOffset=UNCODE.get_scroll_offset(e),calc_scroll-=getOffset,$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:delta>0?calc_scroll-.1:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1})})}}}),$(".header-scrolldown").on("click",function(event){event.preventDefault();var pageHeader=$(event.target).closest("#page-header"),pageHeaderTop=pageHeader.offset().top,pageHeaderHeight=pageHeader.outerHeight(),scrollSpeed=SiteParameters.constant_scroll=="on"?Math.abs(pageHeaderTop+pageHeaderHeight)/parseFloat(SiteParameters.scroll_speed):SiteParameters.scroll_speed;scrollSpeed<1e3&&SiteParameters.constant_scroll=="on"&&(scrollSpeed=1e3);var calc_scroll=pageHeaderTop+pageHeaderHeight,getOffset=UNCODE.get_scroll_offset(event);calc_scroll-=getOffset;if(!($(".menu-desktop-transparent").length&&UNCODE.wwidth>UNCODE.mediaQuery)&&!($(".menu-mobile-transparent").length&&UNCODE.wwidth<=UNCODE.mediaQueryMobile)){var shrink=typeof $(".navbar-brand").data("padding-shrink")!="undefined"?$(".navbar-brand").data("padding-shrink")*2:36;$(".menu-sticky .menu-container:not(.menu-hide)").length&&$(".menu-shrink").length&&(scrollTo+=UNCODE.menuHeight-($(".navbar-brand").data("minheight")+shrink))}scrollSpeed==0?($("html, body").scrollTop(calc_scroll),UNCODE.scrolling=!1):$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1;if(getOffset!=UNCODE.get_scroll_offset(event)||$(".menu-hided").length)calc_scroll=pageHeaderTop+pageHeaderHeight,getOffset=UNCODE.get_scroll_offset(event),calc_scroll-=getOffset,$("html, body").on("scroll wheel DOMMouseScroll mousewheel touchmove",function(){$(this).stop()}).animate({scrollTop:calc_scroll},scrollSpeed,"easeInOutCubic",function(){$(this).off("scroll wheel DOMMouseScroll mousewheel touchmove"),UNCODE.scrolling=!1})})})),$(document).on("mouseenter",".col-link",function(e){var uncol=$(e.target).prev(".uncol"),el=uncol.find(".column-background");if(el){$(".btn-container .btn",uncol).addClass("active");var elOverlay=$(el[0]).find(".block-bg-overlay");if(elOverlay.length){var getOpacity=$(elOverlay).css("opacity");if(getOpacity!=1){getOpacity=Math.round(getOpacity*100)/100;var newOpacity=getOpacity+.1;$(elOverlay).data("data-opacity",getOpacity),$(elOverlay).css("opacity",newOpacity)}}}}).on("mouseleave",".col-link",function(e){var uncol=$(e.target).prev(".uncol"),el=uncol.find(".column-background");$(".btn-container .btn",uncol).removeClass("active");if(el){var elOverlay=$(el[0]).find(".block-bg-overlay");if(elOverlay.length){var getOpacity=$(elOverlay).data("data-opacity");$(elOverlay).css("opacity",getOpacity)}}});var fixAdminBar=function(){if($("html").hasClass("admin-mode")&&!SiteParameters.is_frontend_editor){var getAdminBar=$("#wpadminbar");if(getAdminBar.length&&getAdminBar.css("position")!=="hidden"){var getAdminBarHeight=getAdminBar.height();getAdminBar.css("position")==="fixed"?($("html").css({"margin-top":getAdminBarHeight+"px","padding-top":UNCODE.bodyBorder+"px"}),$(".body-borders .top-border").css({"margin-top":getAdminBarHeight+"px"})):($("html").css({"padding-top":UNCODE.bodyBorder+"px","margin-top":"0px"}),$(".body-borders .top-border").css({"margin-top":"0px"}))}}};window.addEventListener("load",fixAdminBar),window.addEventListener("resize",fixAdminBar);var beforePrint=function(){window.dispatchEvent(new CustomEvent("resize")),window.dispatchEvent(UNCODE.boxEvent)};if(window.matchMedia){var mediaQueryList=window.matchMedia("print");mediaQueryList.addListener(function(mql){mql.matches&&beforePrint()})}window.onbeforeprint=beforePrint;var safariSrcSet=function(){SiteParameters.is_frontend_editor||$("html.safari img[sizes]").each(function(){var $img=$(this),sizeImg=parseInt($img.attr("sizes"));typeof sizeImg=="number"&&$img.attr("sizes",sizeImg+"px")})};window.addEventListener("load",safariSrcSet)},UNCODE.lettering=function(){var setCTA,highlightStill=function(){var $heading_texts=$(".heading-text:not(.animate_inner_when_almost_visible)");$.each($heading_texts,function(key,el){var $heading=$(el);if(!$('.heading-text-highlight-inner[data-animated="yes"]',$heading).length)return;if(UNCODE.isUnmodalOpen&&!el.closest("#unmodal-content"))return;var waypoint=new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById("unmodal-content"):window,element:el,handler:function(){var $anims=$('.heading-text-highlight-inner[data-animated="yes"]',this.element),anims_l=$anims.length;$anims.each(function(_key_,_el_){var $anim=$(_el_);$anim.hasClass("heading-text-highlight-animated")||($anim.addClass("heading-text-highlight-animated"),$heading.data("animate")===!0?$anim.css({"-webkit-transition-duration":"0ms","-moz-transition-duration":"0ms","-o-transition-duration":"0ms","transition-duration":"0ms"}):$anim.css({"-webkit-transition-delay":(_key_+2)*200+"ms","-moz-transition-delay":(_key_+2)*200+"ms","-o-transition-delay":(_key_+2)*200+"ms","transition-delay":(_key_+2)*200+"ms"}))}),$anims.last().one("webkitTransitionEnd oTransitionEnd mozTransitionEnd msTransitionEnd transitionEnd",function(e){$heading.data("animate",!0)}),$anims.removeAttr("data-animated")},offset:"100%"})}),Waypoint.refreshAll(),$(document.body).trigger("uncode_waypoints"),typeof ScrollTrigger!="undefined"&&ScrollTrigger!==null&&$(document).trigger("uncode-scrolltrigger-refresh")};requestTimeout(function(){highlightStill(),$(window).on("wwResize",function(){clearRequestTimeout(setCTA),setCTA=requestTimeout(highlightStill,100)})},400)},UNCODE.isUnmodalOpen=!1;var manageVideoSize=function(){var setVideoFit;$(".wp-block-embed").each(function(){var $this=$(this);if($("iframe",$this).length){var $iframe=$("> iframe, > a > iframe",$this),w=parseFloat($iframe.attr("width")),h=parseFloat($iframe.attr("height")),url=$iframe.attr("src"),ratio,frW;if(typeof url!="undefined"&&url.indexOf("soundcloud")==-1&&h!==0){ratio=h/w;var setResizeiFto,resizeiFrame=function(){frW=$iframe.width(),$iframe.css({height:frW*ratio})};resizeiFrame(),$(window).on("wwResize load",function(){clearRequestTimeout(setResizeiFto),setResizeiFto=requestTimeout(function(){resizeiFrame()},10)})}}})};manageVideoSize(),UNCODE.vivus=function(icon,time,delay,file){if(typeof Vivus!="undefined"){var icon_options={type:"delayed",pathTimingFunction:Vivus.EASE_OUT,animTimingFunction:Vivus.LINEAR,duration:time};delay&&(icon_options.delayStart=delay),file&&(icon_options.file=file),new Vivus(icon,icon_options)}},UNCODE.lastURL="",UNCODE.getURLParams=function(current_location,is_string){var params={};if(is_string)var url=current_location.split("?")[1];else{var url=current_location.search;url=url.substring(1)}if(url){var parts=url.split("&");for(var i=0;i<parts.length;i++){var nv=parts[i].split("=");if(!nv[0])continue;params[nv[0]]=nv[1]||!0}}return params},UNCODE.hasEqualURLParams=function(obj1,obj2){for(var i in obj1)if(obj1.hasOwnProperty(i)){if(!obj2.hasOwnProperty(i))return!1;if(obj1[i]!=obj2[i])return!1}for(var i in obj2)if(obj2.hasOwnProperty(i)){if(!obj1.hasOwnProperty(i))return!1;if(obj1[i]!=obj2[i])return!1}return!0},UNCODE.magnetic=function(){$(document).on("mousemove",".un-magnetic-zone",function(e){var $zone=$(this),zoneOff=$zone.offset(),$mgntcEl=$(".un-magnetic-el",this),elBound=this.getBoundingClientRect(),maxSize=Math.max($zone.outerWidth(),$zone.outerHeight()),Xvalue=e.pageX-(zoneOff.left+maxSize/2),Yvalue=e.pageY-(zoneOff.top+maxSize/2);$mgntcEl.each(function(key,val){var magneticValue=$(val).attr("data-mgntc")||.5;val.animate({transform:"translate("+Xvalue*magneticValue+"%, "+Yvalue*magneticValue+"%)"},{duration:500,fill:"forwards"})})}),$(document).on("mouseleave",".un-magnetic-zone",function(e){var $mgntcEl=$(".un-magnetic-el",this);$mgntcEl.each(function(key,val){val.animate({transform:"translate(0)"},{duration:500,fill:"forwards"})})})}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/menuSystem.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.animateSubInside=function(_this,remove){typeof remove!="undefined"&&remove===!0?($(document).trigger("sub-menu-slide-up"),$(".animate_when_almost_visible, .translate_when_almost_visible",_this).each(function(){$(this).removeClass("start_animation").css({"animation-delay":"0s","transition-delay":"0s"})})):($.each($(".translate_when_almost_visible:not(.start_animation), .animate_when_almost_visible:not(.start_animation):not(.t-inside):not(.drop-image-separator), .index-scroll .animate_when_almost_visible, .tmb-media .animate_when_almost_visible:not(.start_animation), .animate_when_almost_visible.has-rotating-text, .custom-grid-container .animate_when_almost_visible:not(.start_animation)",_this),function(index,val){var element=$(val),delayAttr=element.attr("data-delay");delayAttr==undefined&&(delayAttr=0),element.css({"animation-delay":delayAttr+"ms","transition-delay":delayAttr+"ms"}),element.addClass("start_animation")}),document.dispatchEvent(new CustomEvent("sub-menu-slide-down")))},UNCODE.menuSystem=function(){function menuMobile(){var $body=$("body"),scrolltop,$mobileToggleButton=$(".mobile-menu-button, .uncode-close-offcanvas-mobile:not(.vc_element)"),$masthead=$("#masthead"),$menuBlock=$("#uncode-mobile-menu-block"),$box,$el,$el_transp,elHeight,offCanvasAnim,check,animating=!1,stickyMobile=!1,menuClose=new CustomEvent("menuMobileClose"),menuOpen=new CustomEvent("menuMobileOpen");UNCODE.menuOpened=!1,$mobileToggleButton.on("click",function(event){event.stopPropagation();var btn=this;if($(btn).hasClass("overlay-close"))return;event.preventDefault(),$(".overlay-search.open .menu-close-dd",$masthead).trigger("click");if(UNCODE.wwidth<=UNCODE.mediaQuery){$box=$(this).closest(".box-container").find(".main-menu-container:not(.no-mobile):not(.main-wrapper *)"),$el=$(this).closest(".box-container").find(".menu-horizontal-inner:not(.row-brand):not(.main-wrapper *), .menu-sidebar-inner:not(.main-wrapper *)"),$el_transp=$(".menu-absolute.menu-transparent"),UNCODE.isMobile?$(".menu-wrapper.menu-sticky, .menu-wrapper.menu-hide-only, .main-header .menu-sticky-vertical, .main-header .menu-hide-only-vertical, .menu-mobile-centered, .menu-sticky-mobile").length?(stickyMobile=!0,elHeight=window.innerHeight-UNCODE.menuMobileHeight-UNCODE.bodyBorder*2-UNCODE.adminBarHeight+1):(elHeight=0,$.each($box.find("> div"),function(index,val){elHeight+=$(val).outerHeight()})):(elHeight=0,$.each($el,function(index,val){elHeight+=$(val).outerHeight()}));var open=function(){clearTimeout(offCanvasAnim),animating||($body.addClass("open-overlay-menu").addClass("opening-overlay-menu"),scrolltop=$(window).scrollTop(),window.dispatchEvent(menuOpen),animating=!0,UNCODE.menuOpened=!0,$('body[class*="vmenu-"], body.hmenu-center').length&&$(".menu-hide, .menu-sticky, .menu-transparent").length&&(($body.hasClass("menu-sticky-mobile")||$("#masthead.menu-transparent").length&&!UNCODE.isMobile)&&$(".main-header > .vmenu-container").css({position:"fixed",top:$(".menu-container").outerHeight()+UNCODE.bodyBorder+UNCODE.adminBarHeight+"px"}),$("body.menu-offcanvas").length?($(".menu-container:not(.sticky-element):not(.grid-filters)").css({position:"fixed"}),$(".vmenu-container.menu-container:not(.sticky-element):not(.grid-filters)").css({position:"fixed",top:UNCODE.menuMobileHeight+UNCODE.bodyBorder+UNCODE.adminBarHeight+"px"})):$(".menu-hide, .menu-sticky").length&&UNCODE.wwidth>=960&&$(".menu-sticky").length&&$(".menu-container:not(.sticky-element):not(.grid-filters)").css({position:"fixed"})),$("body.hmenu-center").length&&(!UNCODE.isMobile&&$(".menu-hide, .menu-sticky").length||UNCODE.isMobile&&$(".menu-sticky-mobile").length)&&$(".menu-container:not(.sticky-element):not(.grid-filters)").css({position:"fixed",top:UNCODE.menuMobileHeight+UNCODE.bodyBorder+UNCODE.adminBarHeight+"px"}),$box.addClass("open-items"),$el_transp.length&&$("body.menu-mobile-transparent").length&&$el_transp.addClass("is_mobile_open"),$("body").hasClass("menu-mobile-off-canvas")?animating=!1:(btn.classList.add("close"),$box.animate({height:elHeight},600,"easeInOutCirc",function(){animating=!1,stickyMobile||$box.css("height","auto")})),$menuBlock.length&&UNCODE.animateSubInside($menuBlock))},close=function(){clearTimeout(offCanvasAnim),animating||(window.dispatchEvent(menuClose),animating=!0,UNCODE.menuOpened=!1,$("body").hasClass("menu-mobile-off-canvas")||(btn.classList.remove("close"),btn.classList.add("closing")),$box.addClass("close"),requestTimeout(function(){$box.removeClass("close"),$box.removeClass("open-items"),btn.classList.remove("closing"),$el_transp.length&&$el_transp.removeClass("is_mobile_open")},500),$body.removeClass("opening-overlay-menu"),$("body").hasClass("menu-mobile-off-canvas")?(animating=!1,offCanvasAnim=setTimeout(function(){$body.removeClass("open-overlay-menu"),$menuBlock.length&&UNCODE.animateSubInside($menuBlock,!0)},1e3)):$box.animate({height:0},{duration:600,easing:"easeInOutCirc",complete:function(elements){$(elements).css("height",""),animating=!1,$('body[class*="vmenu-"]').length&&UNCODE.wwidth>=960&&$(".main-header > .vmenu-container").add(".menu-container:not(.sticky-element):not(.grid-filters)").css("position","relative"),$body.removeClass("open-overlay-menu"),$menuBlock.length&&UNCODE.animateSubInside($menuBlock,!0)}}))};check=UNCODE.menuOpened?close():open()}}),$("html").on("click",function(event){$("body").hasClass("menu-mobile-off-canvas")&&UNCODE.wwidth<960&&UNCODE.menuOpened&&event.clientX<SiteParameters.menu_mobile_offcanvas_gap&&$(".uncode-close-offcanvas-mobile:visible").trigger("click")}),window.addEventListener("menuMobileTrigged",function(e){$(".mobile-menu-button.close, .opening-overlay-menu .uncode-close-offcanvas-mobile").trigger("click")}),window.addEventListener("orientationchange",function(e){$("#logo-container-mobile .mobile-menu-button.close").trigger("click")}),window.addEventListener("resize",function(){if($(window).width()<UNCODE.mediaQuery){if(UNCODE.isMobile){var $box=$(".box-container .main-menu-container"),$el=$(".box-container .menu-horizontal-inner:not(.no-mobile), .box-container .menu-sidebar-inner:not(.no-mobile)");$($box).length&&$($box).hasClass("open-items")&&$($box).css("height")!="auto"&&!$("body").hasClass("menu-mobile-off-canvas")&&$(".menu-wrapper.menu-sticky, .menu-wrapper.menu-hide-only").length&&(elHeight=0,$.each($el,function(index,val){elHeight+=$(val).outerHeight()}),elHeight=window.innerHeight-$(".menu-wrapper.menu-sticky .menu-container .row-menu-inner, .menu-wrapper.menu-hide-only .menu-container .row-menu-inner").height()-UNCODE.bodyBorder*2+1,$($box).css("height",elHeight+"px"))}}else $(".menu-hide-vertical").removeAttr("style"),$(".menu-container-mobile").removeAttr("style"),$(".vmenu-container.menu-container").removeAttr("style"),UNCODE.menuOpened&&($(".open-items").removeClass("open-items"),$(".is_mobile_open").removeClass("is_mobile_open"),$(".open-overlay-menu").removeClass("open-overlay-menu"),$(".opening-overlay-menu").removeClass("opening-overlay-menu"))}),$(window).on("scroll",function(){if($body.hasClass("opening-overlay-menu")&&$body.hasClass("menu-mobile-off-canvas")&&UNCODE.wwidth<960)return $(window).scrollTop(scrolltop),!1})}function menuOffCanvas(){var menuClose=new CustomEvent("menuCanvasClose"),menuOpen=new CustomEvent("menuCanvasOpen");$(".menu-primary .menu-button-offcanvas:not(.menu-close-search)").on("click",function(event){$(window).width()>UNCODE.mediaQuery&&($("body.vmenu-offcanvas-overlay").length?$(event.currentTarget).hasClass("off-close")?($(event.currentTarget).removeClass("off-close"),requestTimeout(function(){window.dispatchEvent(menuClose)},500)):($(event.currentTarget).addClass("off-close"),window.dispatchEvent(menuOpen)):$(event.currentTarget).hasClass("close")?($(event.currentTarget).removeClass("close"),$(event.currentTarget).addClass("closing"),requestTimeout(function(){$(event.currentTarget).removeClass("closing"),window.dispatchEvent(menuClose)},500)):($(event.currentTarget).addClass("close"),window.dispatchEvent(menuOpen))),$("body").toggleClass("off-opened")}),$("body").on("click.menu-off-canvas-mobile",function(e){if($(window).width()>UNCODE.mediaQuery&&$("body.menu-offcanvas.vmenu-offcanvas-overlay.off-opened").length){var $vMenuCont=$("#masthead .vmenu-container"),$close_menu=$(".uncode-close-offcanvas-overlay",$vMenuCont),vmenu_h=parseFloat($vMenuCont.outerHeight()),vmenu_w=parseFloat($vMenuCont.outerWidth()),vmenu_off=$vMenuCont.offset(),vmenu_l=parseFloat(vmenu_off.left),vmenu_t=parseFloat(vmenu_off.top),vmenu_r=vmenu_l+vmenu_w,vmenu_b=vmenu_t+vmenu_h,close_h=parseFloat($close_menu.outerHeight()),close_w=parseFloat($close_menu.outerWidth()),close_off=$close_menu.offset(),close_l=parseFloat(close_off.left),close_t=parseFloat(close_off.top),close_r=close_l+close_w,close_b=close_t+close_h;(!(e.clientX>vmenu_l&&e.clientX<vmenu_r)||e.clientX>close_l&&e.clientX<close_r)&&$(".menu-primary .menu-button-offcanvas:not(.menu-close-search)").trigger("click")}})}function menuOverlay(){$(".overlay").length&&$(".overlay").removeClass("hidden"),($(".overlay-sequential").length>0&&UNCODE.wwidth>=UNCODE.mediaQuery||$(".menu-mobile-animated").length>0&&UNCODE.wwidth<UNCODE.mediaQuery)&&$(".overlay-sequential .menu-smart > li, .menu-sticky .menu-container .menu-smart > li, .menu-hide.menu-container .menu-smart > li, .vmenu-container .menu-smart > li, .uncode-menu-additional-text").each(function(index,el){var transDelay=index/20+.1;$("body").hasClass("menu-mobile-centered")&&$(window).width()<UNCODE.mediaQuery&&(transDelay+=.3),$(this)[0].setAttribute("style","-webkit-transition-delay:"+transDelay+"s; -moz-transition-delay:"+transDelay+"s; -ms-transition-delay:"+transDelay+"s; -o-transition-delay:"+transDelay+"s; transition-delay:"+transDelay+"s")})}function menuToggleAnimation(){var $block=$("body"),$menuBlocks=$(".menu.unmenu-block",$block),$allSeqs=$("[data-delay-seq]",$block);$allSeqs.each(function(key,seq){$(seq).removeAttr("data-delay")}),$menuBlocks.each(function(key,menu){var $animatesHidden=$(".translate_when_almost_visible",menu).filter(":hidden");$animatesHidden.each(function(key_,seq){$(seq).removeClass("translate_when_almost_visible").addClass("not_translate_when_almost_visible")});var $animatesVisibile=$(".not_translate_when_almost_visible",menu).filter(":visible");$animatesVisibile.each(function(key_,seq){$(seq).removeClass("not_translate_when_almost_visible").addClass("translate_when_almost_visible")});var $delaySequentials=$("[data-delay-seq]",menu).filter(":visible"),delay=parseFloat($delaySequentials.first().attr("data-delay-seq")),interval=parseFloat($delaySequentials.first().attr("data-interval"));$delaySequentials.each(function(_key,seq){$(seq).attr("data-delay",delay+interval*_key)})})}function menuAppend(){var $menuBlock=$("#uncode-mobile-menu-block").length;if($menuBlock)return;var $body=$("body"),$menuCont=$(".menu-container:not(.vmenu-container)"),$vMenuCont=$(".menu-container.vmenu-container"),$cta=$(".navbar-cta"),$socials=$(".navbar-social:not(.appended-navbar)"),$ul=$(".navbar-main ul.menu-primary-inner"),$ulCta,$ulSocials,$navLast,$firstMenu=$(".main-menu-container:first-child",$menuCont),$secondMenu=$(".main-menu-container:last-child",$menuCont),$firstNav=$(".navbar-nav:not(.uncode-close-offcanvas-mobile):first-child",$firstMenu),$secondNav=$(".navbar-nav:not(.uncode-close-offcanvas-mobile):first-child",$secondMenu),$ulFirst=$("> ul",$firstNav),setCTA,appendCTA=function(){return!0},appendSocials=function(){return!0},appendSplit=function(){return!0};($body.hasClass("menu-offcanvas")||$body.hasClass("menu-overlay")||$body.hasClass("hmenu-center-split"))&&$cta.length&&($ulCta=$("> ul",$cta),$ulCta.parent().addClass("mobile-hidden").addClass("tablet-hidden"),appendCTA=function(){UNCODE.wwidth<UNCODE.mediaQuery?$ul.after($ulCta):$cta.append($ulCta)}),$body.hasClass("cta-not-appended")||appendCTA();var $smartSocial=$menuCont.add($vMenuCont).find(".menu-smart-social");$smartSocial.each(function(){var $_smartSocial=$(this);$("> li",$_smartSocial).each(function(){var $li=$(this);if(!$li.hasClass("mobile-hidden"))return $_smartSocial.removeClass("mobile-hidden"),!1;$_smartSocial.addClass("mobile-hidden")}),$("> li",$_smartSocial).each(function(){var $li=$(this);if(!$li.hasClass("tablet-hidden"))return $_smartSocial.removeClass("tablet-hidden"),!1;$_smartSocial.addClass("tablet-hidden")})});if(($body.hasClass("hmenu-center-split")||$body.hasClass("menu-overlay-center")||$body.hasClass("menu-offcanvas")||$body.hasClass("vmenu"))&&$socials.length){$ulSocials=$("> ul",$socials).addClass("menu-smart-social"),$body.hasClass("hmenu-center-split")?$navLast=$(".menu-horizontal-inner .navbar-nav-last",$menuCont):$navLast=$(".navbar-nav-last",$vMenuCont);if(!$navLast.length){var _navLast=$('<div class="nav navbar-nav navbar-social navbar-nav-last appended-navbar" />');$body.hasClass("hmenu-center-split")?($(".menu-horizontal-inner",$menuCont).append(_navLast),$navLast=$(".menu-horizontal-inner .navbar-nav-last",$menuCont)):($(".menu-sidebar-inner",$vMenuCont).last().append(_navLast),$navLast=$(".navbar-nav-last",$vMenuCont))}appendSocials=function(){$body.hasClass("menu-overlay-center")||(UNCODE.wwidth<UNCODE.mediaQuery?($socials.addClass("mobile-hidden").addClass("tablet-hidden"),$("> ul.menu-smart-social li",$socials).length||$("> ul.menu-smart-social li",$socials).remove(),$navLast.append($ulSocials)):($("> ul.menu-smart-social li",$navLast).length||$("> ul.menu-smart-social li",$navLast).remove(),$socials.append($ulSocials)))},appendSocials()}if($vMenuCont.length)var $accordion_secondary=$(".menu-accordion-secondary",$vMenuCont);else var $accordion_secondary=$(".menu-accordion-secondary",$menuCont);if($accordion_secondary.length){var $accordion_secondary_ph=$vMenuCont.add($menuCont).find(".accordion-secondary-ph");UNCODE.wwidth<UNCODE.mediaQuery?($accordion_secondary_ph.length||$accordion_secondary.after('<span class="accordion-secondary-ph" />'),$vMenuCont.length?$(".menu-sidebar-inner",$vMenuCont).first().find(".menu-accordion:not(.menu-accordion-secondary):not(.menu-accordion-extra-icons)").last().after($accordion_secondary):$(".navbar-nav.navbar-cta:not(.mobile-hidden)",$menuCont).length?$(".navbar-nav.navbar-cta",$menuCont).after($accordion_secondary):$(".navbar-nav.navbar-main",$menuCont).after($accordion_secondary)):typeof $accordion_secondary_ph!="undefined"&&$accordion_secondary_ph.length&&$accordion_secondary_ph.before($accordion_secondary)}if($vMenuCont.length)var $extra_icons=$(".menu-accordion-extra-icons",$vMenuCont);else var $extra_icons=$(".navbar-extra-icons",$menuCont);if($extra_icons.length)if($vMenuCont.length){if($("li:not(.social-icon)",$extra_icons).length)if(UNCODE.wwidth<UNCODE.mediaQuery){var $not_social=$("> ul > li:not(.social-icon)",$extra_icons),$primary_after=$(".menu-accordion-primary-after",$vMenuCont);$not_social.each(function(){$primary_after.length||($(".menu-accordion-primary",$vMenuCont).after('<div class="menu-accordion menu-accordion-primary-after" />'),$primary_after=$(".menu-accordion-primary-after",$vMenuCont),$primary_after.append('<ul class="menu-smart sm sm-vertical menu-smart-social" />'));var $extra_li=$(this);$primary_after.find("> ul").append($extra_li)})}else{var $primary_after=$(".menu-accordion-primary-after",$vMenuCont),$not_social=$("> ul > li:not(.social-icon)",$primary_after);$not_social.each(function(){var $extra_li=$(this);$extra_icons.find("> ul").append($extra_li)})}}else if(!$body.hasClass("hmenu-center-double"))if(UNCODE.wwidth<UNCODE.mediaQuery){var $not_social=$("> ul > li:not(.social-icon)",$extra_icons),$primary_after=$(".nav.navbar-main-after",$menuCont);!$primary_after.length&&$not_social.length&&($(".navbar-nav.navbar-cta:not(.mobile-hidden)",$menuCont).length?$(".navbar-nav.navbar-cta",$menuCont).after('<div class="nav navbar-main-after" />'):$(".navbar-nav.navbar-main",$menuCont).after('<div class="nav navbar-main-after" />'),$primary_after=$(".nav.navbar-main-after",$menuCont),$primary_after.append('<ul class="menu-smart sm menu-smart-social" role="menu" />'));var tablet_hidden=!0,mobile_hidden=!0;$not_social.each(function(){var $extra_li=$(this);$primary_after.find("> ul").append($extra_li),$extra_li.hasClass("tablet-hidden")||(tablet_hidden=!1),$extra_li.hasClass("mobile-hidden")||(mobile_hidden=!1)}),tablet_hidden===!0&&$not_social.length&&$primary_after.addClass("tablet-hidden"),mobile_hidden===!0&&$not_social.length&&$primary_after.addClass("mobile-hidden")}else{var $primary_after=$(".nav.navbar-main-after",$menuCont);if($primary_after.length){var $not_social=$("> ul > li:not(.social-icon)",$primary_after);$not_social.each(function(){var $extra_li=$(this);$extra_icons.find("> ul").append($extra_li)}),$primary_after.remove()}}$body.hasClass("hmenu-center-double")&&(appendSplit=function(){if(UNCODE.wwidth<UNCODE.mediaQuery){if($extra_icons.length&&$("li:not(.social-icon):not(.tablet-hidden):not(.mobile-hidden)",$extra_icons).length){var $not_social=$("> ul > li:not(.social-icon)",$extra_icons),$append_ul=$('<ul class="menu-smart sm sm-vertical append-extra-icons" />');$not_social.each(function(){var $extra_li=$(this);$append_ul.append($extra_li)}),$secondNav.length?$secondNav.append($append_ul):$(".menu-horizontal-inner",$menuCont).prepend($append_ul)}$secondNav.length?$secondNav.prepend($ulFirst):$(".menu-horizontal-inner",$menuCont).prepend($ulFirst),$firstMenu.hide()}else{$firstNav.append($ulFirst);var $append_ul=$(".menu-horizontal-inner ul.append-extra-icons",$menuCont).eq(0);if($append_ul.length){var $not_social=$("> li:not(.social-icon)",$append_ul);$not_social.each(function(){var $extra_li=$(this);$extra_icons.find("> ul").append($extra_li)})}$(".menu-horizontal-inner ul.append-extra-icons",$menuCont).remove(),$(".menu-horizontal-inner > .menu-primary-inner",$menuCont).remove(),$firstMenu.css({display:"table-cell"})}}),appendSplit(),$(window).on("wwResize",function(){clearRequestTimeout(setCTA),setCTA=requestTimeout(function(){appendCTA(),appendSocials(),appendSplit()},10)})}$(document).on("unblock-toggles-init",menuToggleAnimation);var $secondary_parent;menuMobile(),menuOffCanvas(),menuAppend(),menuOverlay();var stickyDropdownSearch=function(){var $masthead=$("#masthead"),$ddSearch=$(".overlay.overlay-search",$masthead),$styles=$("#stickyDropdownSearch").remove();if($("body.hmenu-center.menu-sticky-mobile").length&&$ddSearch.length){var $menuWrapper=$(".menu-wrapper"),$navbar=$(".menu-container-mobile",$menuWrapper),navbarH=$navbar.outerHeight(),_css;_css='<style id="stickyDropdownSearch">',_css+="@media (max-width: 959px) {",_css+="body.hmenu-center.menu-sticky-mobile #masthead .overlay.overlay-search {",_css+="margin-top: "+parseFloat(navbarH)+"px !important;",_css+="}",_css+="body.hmenu-center.menu-sticky-mobile .navbar.is_stuck + #masthead .overlay.overlay-search {",_css+="position: fixed;",_css+="top: 0;",_css+="}",_css+="</style>",$(_css).appendTo($("head"))}};stickyDropdownSearch();var setMenuOverlay;$(window).on("wwResize",function(){$(".overlay").length&&$(window).width()>1024&&$(".overlay").addClass("hidden"),clearRequestTimeout(setMenuOverlay),setMenuOverlay=requestTimeout(function(){menuOverlay(),menuAppend(),stickyDropdownSearch()},150)}),UNCODE.menuMegaBlock(),UNCODE.menuSmartInit(),$(window).on("wwResize",function(){UNCODE.menuSmartInit()}),$(window).on("menuOpen",function(){var $overlay=$(".overlay.overlay-unblock");$overlay.length&&UNCODE.animateSubInside($overlay)}),$(window).on("menuClosed",function(){var $overlay=$(".overlay.overlay-unblock");if($overlay.length){UNCODE.animateSubInside($overlay,!0);var $smartMenus=$overlay.find(".menu-smart");$smartMenus.each(function(key,smartMenu){$(smartMenu).smartmenus("menuHideAll")})}})},UNCODE.menuSmartInit=function(){var $menusmart=$('[class*="menu-smart"]'),$masthead=$("#masthead"),$hMenu=$(".menu-horizontal-inner",$masthead),$focus=$(".overlay-menu-focus"),$uls_anim=$('> li> ul[role="menu"]',$menusmart),showTimeout=50,hideTimeout=50,showTimeoutFunc,hideTimeoutFunc,subMenuRT;if(typeof $masthead.attr("data-menu-anim")!="undefined"&&$masthead.attr("data-menu-anim")!==""){var menu_anim=$masthead.attr("data-menu-anim");UNCODE.wwidth>=UNCODE.mediaQuery?$uls_anim.each(function(){var $ul_anim=$(this);if(!$("> li[data-block]",$ul_anim).length)$ul_anim.addClass("animate_when_almost_visible"),$ul_anim.addClass(menu_anim);else{var dataB=$("> li[data-block]",$ul_anim).attr("data-block");dataB!=="no-anim"&&!dataB.includes("slight-anim")&&($ul_anim.addClass("animate_when_almost_visible"),$ul_anim.addClass(dataB))}}):$uls_anim.each(function(){var $ul_anim=$(this);if(!$("> li[data-block]",$ul_anim).length)$ul_anim.removeClass("animate_when_almost_visible"),$ul_anim.removeClass(menu_anim);else{var dataB=$("> li[data-block]",$ul_anim).attr("data-block");$ul_anim.removeClass("animate_when_almost_visible"),$ul_anim.removeClass(dataB)}})}$("> li.menu-item-has-children",$menusmart).hover(function(){$(this).data("hover",!0)},function(){$(this).data("hover",!1)}),$("> li.menu-item-has-children",$menusmart).each(function(){var $a=$("> a",this).attr("aria-haspopup","true").attr("aria-expanded","false")}),$('> li.menu-item a[href="#"]',$menusmart).on("click",function(e){e.preventDefault()});if($(window).width()>=UNCODE.mediaQuery&&$(".overlay-menu-focus").length){var $notLis=$("> .nav > ul > li a",$hMenu),$menuA=$("a",$masthead).not($notLis),$hoverSelector=$("> .nav > ul > li",$hMenu).has("> ul"),showFuncCond=function(){return!0};$("body").hasClass("focus-megamenu")?($hoverSelector=$("> .nav > ul > li",$hMenu).has(".need-focus"),showFuncCond=function($ul){return $ul.hasClass("need-focus")}):$("body").hasClass("focus-links")&&($hoverSelector=$("> .nav > ul > li",$hMenu).add($menuA)),$hoverSelector.hover(function(){clearRequestTimeout(hideTimeoutFunc),showTimeoutFunc=requestTimeout(function(){$("body").addClass("navbar-hover")},showTimeout*2)},function(){hideTimeoutFunc=requestTimeout(function(){$(".overlay-search.open",$masthead).length||$("body").removeClass("navbar-hover")},hideTimeout*2)})}else showFuncCond=function(){return!1};if($menusmart.length>0){var objShowTimeout;$menusmart.smartmenus({subIndicators:!1,subIndicatorsPos:"append",showOnClick:SiteParameters.menuShowOnClick,subIndicatorsText:"",showTimeout:showTimeout,hideTimeout:hideTimeout,scrollStep:8,showFunction:function($ul,complete){$(document).trigger("un-menu-show",$ul),clearRequestTimeout(showTimeoutFunc),$ul.fadeIn(0,"linear",function(){complete(),$ul.hasClass("vc_row")&&$ul.css({display:"table"}),$(".overlay-menu-focus").length&&$ul.hasClass("need-focus")&&$("body").addClass("open-megamenu"),$(".overlay-menu-focus").length&&showFuncCond($ul)&&$(window).width()>=UNCODE.mediaQuery&&$ul.closest(".main-menu-container").length&&$("body").addClass("navbar-hover");var showed=0;$(".animate_when_almost_visible, .translate_when_almost_visible",$ul).each(function(index,val){var $element=$(this),delayAttr=$element.attr("data-delay");if(!$element.closest(".owl-carousel").length&&!$element.closest(".cssgrid-animate-sequential").length)delayAttr==undefined&&(delayAttr=0),requestTimeout(function(){$element.addClass("start_animation")},delayAttr);else if($element.closest(".cssgrid-animate-sequential").length){var grid=$element.closest(".cssgrid-animate-sequential"),delay=index,delayAttr=parseInt($element.attr("data-delay"));isNaN(delayAttr)&&(delayAttr=100),delay-=showed,objShowTimeout=requestTimeout(function(){$element.removeClass("zoom-reverse").addClass("start_animation"),showed=index},delay*delayAttr)}}),$ul.is(".animate_when_almost_visible")&&$ul.addClass("start_animation")}).addClass("open-animated")},hideFunction:function($ul,complete){$(".overlay-menu-focus").length&&$ul.hasClass("need-focus")&&!$(".overlay-search.open",$masthead).length&&$("body").removeClass("open-megamenu");var fixIE=$("html.ie").length;if(fixIE){var $rowParent=$($ul).closest(".main-menu-container");$rowParent.height("auto")}$ul.fadeOut(0,"linear",function(){complete(),$ul.removeClass("open-animated"),$ul.closest("li.menu-item-has-children").data("hover")===!1&&$("body").removeClass("open-submenu"),$(".animate_when_almost_visible, .translate_when_almost_visible",$ul).each(function(){$(this).removeClass("start_animation")}),$ul.is(".animate_when_almost_visible")&&$ul.removeClass("start_animation")}),$ul.find(".start_animation").each(function(index,val){clearRequestTimeout(subMenuRT),$(val).removeClass("start_animation")}),$(document).trigger("un-menu-hide",$ul),clearRequestTimeout(objShowTimeout)},collapsibleShowFunction:function($ul,complete){$ul.slideDown(400,"easeInOutCirc",function(){UNCODE.animateSubInside($ul),complete()})},collapsibleHideFunction:function($ul,complete){$ul.slideUp(200,"easeInOutCirc",function(){complete()}),$(document).trigger("sub-menu-slide-up")},hideOnClick:SiteParameters.menuHideOnClick}),$("body").hasClass("menu-accordion-active")&&$menusmart.each(function(key,menu){$(menu).addClass("menu-smart-init"),$(menu).smartmenus("itemActivate",$(menu).find(".current-menu-item > a").eq(-1))}),$menusmart.each(function(key,menu){$(menu).on("beforecollapse.smapi",function(e,$sub){return $("> .trigger-window-resize",$sub).length?(window.dispatchEvent(new Event("resize")),$(window).trigger("uncode.re-layout")):$("> .trigger-box-resize",$sub).length&&window.dispatchEvent(new CustomEvent("boxResized")),!1})}),$(document).on("uncode.smartmenu-appended",function(){requestTimeout(function(){$menusmart.smartmenus("refresh")},1e3)})}$(".main-menu-container").each(function(){var $main_cont=$(this),$uls=$("ul:not(.nav-tabs)",$main_cont);$uls.each(function(){var $ul=$(this),mobile_hidden=!0,tablet_hidden=!0;$("> li:not(.hidden)",$ul).each(function(){if(!$(this).hasClass("mobile-hidden"))return mobile_hidden=!1,!1}),$("> li:not(.hidden)",$ul).each(function(){if(!$(this).hasClass("tablet-hidden"))return tablet_hidden=!1,!1}),mobile_hidden&&$ul.addClass("mobile-hidden"),tablet_hidden&&$ul.addClass("tablet-hidden")});var $divUlsMB=$("div:has(>ul.mobile-hidden)");$divUlsMB.each(function(){var $divUlMB=$(this),div_mobile_hidden=!0,div_tablet_hidden=!0;$("> ul:not(.hidden)",$divUlMB).each(function(){if(!$(this).hasClass("mobile-hidden"))return div_mobile_hidden=!1,!1}),$("> ul:not(.hidden)",$divUlMB).each(function(){if(!$(this).hasClass("tablet-hidden"))return div_tablet_hidden=!1,!1}),div_mobile_hidden&&$divUlMB.addClass("mobile-hidden"),div_tablet_hidden&&$divUlMB.addClass("tablet-hidden")})});var overlaySearchButton=function(){var $search_wrap=$(".overlay.overlay-search, .widget_search");$search_wrap.each(function(){var $form=$("form",this),$icon=$("i",$form);$icon.on("click",function(){$form.submit()})})};overlaySearchButton()},UNCODE.menuMegaBlock=function(){var $megaBlocks=$(".megamenu-block-wrapper");if(!$megaBlocks.length)return;$megaBlocks.each(function(){var $megaLi=$(this),dataLi=$megaLi.attr("data-block"),$megaUl=$megaLi.closest("ul").addClass("block-wrapper-parent unmenu-inner-ul"),$innerUl=$megaLi.find("ul").addClass("unmenu-inner-ul");$megaUl.addClass(dataLi),$("img",$megaLi).removeAttr("loading")})},UNCODE.unBlockMenu=function(){var $unBlockMenus=$(".menu.unmenu-block");$unBlockMenus.each(function(){var $unBlockMenu=$(this),$lastOnes;if(!$unBlockMenu.hasClass("first-grid"))$lastOnes=$("ul",$unBlockMenu).last(),$lastOnes.each(function(){var _cols=$(this).css("grid-template-columns");if(_cols.split(" ").length>1&&!_cols.startsWith("repeat(1,"))$unBlockMenu.addClass("has-last-ones"),$(this).addClass("last-one");else{var $parentLi=$(this).closest("li"),$siblingLi=$parentLi.next();$siblingLi.length||($unBlockMenu.addClass("has-last-ones"),$(this).addClass("last-one"))}});else{var checkGrids=function(){$unBlockMenu.find(".last-ul").removeClass("last-one");var _cols=$unBlockMenu.css("grid-template-columns"),cols=_cols.match(/^repeat\(\s*(\d+)\s*,/)?parseInt(_cols.match[1],10):_cols.split(" ").length,$lis=$("> li",$unBlockMenu),totLi=$lis.length,lastRowCount=totLi-(totLi%cols||cols),$lastLis=$lis.slice(cols).addClass("last-lis"),$lastRowLis=$lis.slice(lastRowCount);$lastRowLis.each(function(){var $lastRowLi=$(this);$lastRowLi.find("ul").last().addClass("last-one")})};$(window).on("wwResize",checkGrids),checkGrids()}});var $tgglBlocks=$(".unmenu-collapse");$tgglBlocks.each(function(key,val){var $acc=$(val),$titles=$(".menu-item-has-children > *:first-child",$acc),run=!0,checkRun=function(){$acc.hasClass("unmenu-collapse-mobile")&&UNCODE.wwidth>=UNCODE.mediaQuery?run=!1:run=!0,$titles.length&&$titles.each(function(_key,_val){var $title=$(_val),$sub=$title.closest("li").find("> ul.un-submenu");$sub.each(function(key,val){if(run){var total=$sub.length,completed=0;$(val).slideUp({duration:1,complete:function(){$(this).addClass("toggle-init"),completed++,completed===total&&($(document).trigger("unblock-toggles-init"),$(document.body).trigger("uncode_waypoints"))}})}else $(val).show()})})};checkRun(),$(window).on("wwResize menuClosed",checkRun),$titles.length&&($titles.each(function(_key,_val){var $title=$(_val),$sub=$title.closest("li").find("> ul.un-submenu"),$menu=$sub.closest(".menu.unmenu-block"),$ulS;$title.off("click").on("click",function(e){e.preventDefault(),$ulS=$menu.find("ul:visible").not($sub).not($sub.parents("ul")),run&&($sub.is(":visible")?$sub.slideUp(200,"easeInOutCirc",function(){$.each($(".start_animation",$sub),function(index,val){var element=$(val);element.removeClass("start_animation")}),$sub.parents("li").eq(0).addClass("un-submenu-closed").removeClass("un-submenu-open"),$(document).trigger("sub-menu-slide-up")}):($ulS.slideUp({duration:200,easing:"easeInOutCirc",start:function(){var _this=$(this);_this.parents("li").eq(0).addClass("un-submenu-closed").removeClass("un-submenu-open"),$(document).trigger("sub-menu-slide-up")}}),$sub.slideDown({duration:400,easing:"easeInOutCirc",start:function(){var _this=$(this);_this.css("height",0),_this.hasClass("is-grid")&&_this.css("display","grid"),UNCODE.animateSubInside(_this),_this.parents("li").eq(0).addClass("un-submenu-open").removeClass("un-submenu-closed")}})))})}),$acc.closest("#masthead").length&&$(window).on("menuMobileClose menuCanvasClose unmodal-close uncode-sidecart-closed",function(){$acc.find("ul.un-submenu").slideUp(200,"easeInOutCirc")}))})},UNCODE.mobileMenuBlockSkins=function(){var $mobileBlock=$("#uncode-mobile-menu-block"),$parentDark=$mobileBlock.closest(".submenu-dark"),$parentLight=$mobileBlock.closest(".submenu-light");if($parentDark.length){var $cols=$(".uncol.style-light:not(.style-spec):not(.style-run)",$mobileBlock);$cols.each(function(key,val){var $col=$(val).removeClass("style-light").addClass("style-dark style-run")})}if($parentLight.length){var $cols=$(".uncol.style-dark:not(.style-spec):not(.style-run)",$mobileBlock);$cols.each(function(key,val){var $col=$(val).removeClass("style-dark").addClass("style-light style-run")})}}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/disableHoverScroll.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.is_scrolling=!1,UNCODE.disableHoverScroll=function(){if(!UNCODE.isMobile&&!UNCODE.isFullPage&&!SiteParameters.is_frontend_editor&&(!SiteParameters.smoothScroll||SiteParameters.smoothScrollDisableHover)){var body=document.body,timer;window.addEventListener("scroll",function(){var delay=body.classList.contains("bg-changer-init")?SiteParameters.bg_changer_time:300;clearRequestTimeout(timer),body.classList&&!body.classList.contains("disable-hover")&&(body.classList.add("disable-hover"),window.dispatchEvent(new CustomEvent("disable-hover"))),UNCODE.is_scrolling=!0,timer=requestTimeout(function(){body.classList&&(body.classList.remove("disable-hover"),window.dispatchEvent(new CustomEvent("enable-hover"))),UNCODE.is_scrolling=!1},delay)},!1)}}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/animations.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.animations=function(){function animate_css_grids_on_load(){$(".cssgrid-system").each(function(){var grid=$(this),sequential=grid.hasClass("cssgrid-animate-sequential")?!0:!1;UNCODE.animate_css_grids(grid,grid.find(".tmb-grid"),0,sequential,!1)})}var runWaypoints_TO,runWaypoints_carousel_TO,runWaypoints_delay=0,highlightComplexFunc=function($wrap,ev){var $lines=$(".heading-line-wrap",$wrap),not_animate=!1;$wrap.data("animate")===!0&&(not_animate=!0);var $rotatingTxt=$(".uncode-rotating-text-start",$wrap);if($rotatingTxt.length&&$rotatingTxt.attr("data-animated")!=="true")return;$lines.each(function(_key,_value){var $line=$(_value),$inners=$(".split-word-inner",$line),$highlights=$(".heading-text-highlight-inner",$line),highlitInnerFunc=function(ev){var delay=0;$highlights.each(function(h_key,high){var $highlight=$(high),$split=$highlight.closest(".split-word:not(.uncode-rotating-span)"),$nextSplit=$split.nextUntil(),$next=$(".heading-text-highlight-inner",$nextSplit),countCh=$split.text().length;$highlight.css({"-webkit-transition-duration":30*countCh+"ms","-moz-transition-duration":30*countCh+"ms","-o-transition-duration":30*countCh+"ms","transition-duration":30*countCh+"ms"}),delay+=30*countCh,$next.css({"-webkit-transition-delay":delay+"ms","-moz-transition-delay":delay+"ms","-o-transition-delay":delay+"ms","transition-delay":delay+"ms"})}),$highlights.removeAttr("data-animated"),_key+1===$lines.length&&$wrap.data("animate",!0)};$('.heading-text-highlight-inner[data-animated="yes"]',$line).length&&(not_animate?($highlights.each(function(h_key,high){var $highlight=$(high);$highlight.css({"-webkit-transition-duration":"0ms","-moz-transition-duration":"0ms","-o-transition-duration":"0ms","transition-duration":"0ms"})}),$highlights.removeAttr("data-animated")):typeof ev!="undefined"&&ev.type==="defer-highlights"?highlitInnerFunc():$inners.last().one("webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd",highlitInnerFunc))})};$.each($(".header-content-inner"),function(index,val){var element=$(val),transition="";element.hasClass("top-t-bottom")&&(transition="top-t-bottom"),element.hasClass("bottom-t-top")&&(transition="bottom-t-top"),element.hasClass("left-t-right")&&(transition="left-t-right"),element.hasClass("right-t-left")&&(transition="right-t-left"),element.hasClass("zoom-in")&&(transition="zoom-in"),element.hasClass("zoom-out")&&(transition="zoom-out"),element.hasClass("alpha-anim")&&(transition="alpha-anim"),element.hasClass("slight-anim")&&(transition="slight-anim");if(transition!=""){$(val).removeClass(transition);var container=element,containerDelay=container.attr("data-delay"),containerSpeed=container.attr("data-speed"),items=$(".header-title > *, .post-info",container);$.each(items,function(index,val){var element=$(val),delayAttr=containerDelay!=undefined?containerDelay:400;!element.hasClass("animate_when_almost_visible")&&!element.hasClass("translate_when_almost_visible")&&(delayAttr=Number(delayAttr)+400*index,containerSpeed!=undefined&&element.attr("data-speed",containerSpeed),element.addClass(transition+" animate_when_almost_visible").attr("data-delay",delayAttr))}),container.css("opacity",1)}});var delayAdd=0;window.waypoint_animation=function(ev){$.each($(".translate_when_almost_visible:not(.start_animation), .animate_when_almost_visible:not(.start_animation):not(.t-inside):not(.drop-image-separator), .tmb-linear .animate_when_almost_visible:not(.start_animation), .index-scroll .animate_when_almost_visible, .tmb-media .animate_when_almost_visible:not(.start_animation), .animate_when_almost_visible.has-rotating-text, .custom-grid-container .animate_when_almost_visible:not(.start_animation)").filter(function(){var $el=$(this);return $el.is("[data-delay-seq]")?$el.is("[data-delay]"):!0}),function(index,val){if($(val).hasClass("el-text-split")||($(val).closest(".unscroll-horizontal").length||$(val).closest(".index-scroll").length||$(val).closest(".tab-pane:not(.active)").length||$(val).closest(".panel:not(.active-group)").length||$(val).closest(".un-submenu").length||$(val).closest("#uncode-mobile-menu-block").length||$(val).closest(".has-unblock").length)&&!SiteParameters.is_frontend_editor)return!0;if(UNCODE.isUnmodalOpen&&!val.closest("#unmodal-content"))return;var run=!0,$carousel=$(val).closest(".owl-carousel"),marquee=$(val).closest(".tmb-linear").length;$carousel.length&&(run=!1),$(val).closest(".megamenu-block-wrapper").length&&(run=!1),run&&new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById("unmodal-content"):window,element:val,handler:function(){var element=$(this.element),index=element.index(),delayAttr=element.attr("data-delay");delayAttr==undefined&&(delayAttr=0),requestTimeout(function(){element.addClass("start_animation")},delayAttr),UNCODE.isUnmodalOpen||this.destroy()},offset:UNCODE.isFullPage?"100%":"90%"})}),$.each($(".animate_inner_when_almost_visible"),function(index,val){if(UNCODE.isUnmodalOpen&&!val.closest("#unmodal-content"))return;var run=!0,$carousel=$(val).closest(".owl-carousel");$carousel.length&&(run=!1),run&&new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById("unmodal-content"):window,element:val,handler:function(){var $element=$(this.element),$childs=$(".animate_when_parent_almost_visible",$element);$childs.each(function(key,el){var $child=$(el),delaySpeed=$child.attr("data-speed"),delayAttr=$child.attr("data-delay"),intervalAttr=$child.attr("data-interval");delayAttr==undefined&&(delayAttr=50*key),requestTimeout(function(){$child.addClass("start_animation"),$child.hasClass("anim-line-checker")&&$child.on("webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd",function(e){var $line=$child.closest(".heading-line-wrap")});var $wrapText=$child.closest(".animate_inner_when_almost_visible");highlightComplexFunc($wrapText,ev),$child.hasClass("anim-tot-checker")&&$child.on("webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd",function(e){$child.hasClass("anim-tot-checker")&&($wrapText.addClass("already-animated"),$element.trigger("already-animated"))})},delayAttr)}),$element.addClass("start_animation"),UNCODE.isUnmodalOpen||this.destroy()},offset:UNCODE.isFullPage?"100%":"90%"})})},window.waypoint_carousel_animation=function(ev){$.each($(".owl-carousel").find(".animate_when_almost_visible:not(.start_animation):not(.t-inside):not(.drop-image-separator), .tmb-media .animate_when_almost_visible:not(.start_animation)"),function(index,val){if($(val).hasClass("el-text-split"))return!0;if(UNCODE.isUnmodalOpen&&!val.closest("#unmodal-content"))return;var run=!0,$carousel=$(val).closest(".owl-carousel"),$first_item=$(val).closest('.owl-item[data-index="1"]'),$all_first=$('.owl-item[data-index="1"]',$carousel);(!$first_item.length||$first_item.attr("data-already-reached")==="true")&&$carousel.attr("data-front-edited")!=="true"&&(run=!1),run&&new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById("unmodal-content"):window,element:val,handler:function(){var element=$(this.element),index=element.index(),delayAttr=element.attr("data-delay");delayAttr==undefined&&(delayAttr=0),requestTimeout(function(){$first_item.length&&$first_item.attr("data-already-reached")!=="true"&&$all_first.attr("data-already-reached","true"),element.addClass("start_animation")},delayAttr),UNCODE.isUnmodalOpen||this.destroy()},offset:UNCODE.isFullPage?"100%":"90%"})}),$.each($(".owl-carousel").find(".animate_inner_when_almost_visible"),function(index,val){if(UNCODE.isUnmodalOpen&&!val.closest("#unmodal-content"))return;var run=!0,$carousel=$(val).closest(".owl-carousel"),$first_item=$(val).closest('.owl-item[data-index="1"]'),$all_first=$('.owl-item[data-index="1"]',$carousel);(!$first_item.length||$first_item.attr("data-already-reached")==="true")&&$carousel.attr("data-front-edited")!=="true"&&(run=!1),run&&new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById("unmodal-content"):window,element:val,handler:function(){var $element=$(this.element),$childs=$(".animate_when_parent_almost_visible",$element);$childs.each(function(key,el){var $child=$(el),delaySpeed=$child.attr("data-speed"),delayAttr=$child.attr("data-delay"),intervalAttr=$child.attr("data-interval");delayAttr==undefined&&(delayAttr=50*key),requestTimeout(function(){$first_item.length&&$first_item.attr("data-already-reached")!=="true"&&$all_first.attr("data-already-reached","true"),$child.addClass("start_animation"),$child.hasClass("anim-line-checker")&&$child.on("webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd",function(e){var $line=$child.closest(".heading-line-wrap")});var $wrapText=$child.closest(".animate_inner_when_almost_visible");highlightComplexFunc($wrapText,ev),$child.hasClass("anim-tot-checker")&&$child.on("webkitAnimationEnd oanimationend mozAnimationEnd msAnimationEnd animationEnd",function(e){$child.hasClass("anim-tot-checker")&&$wrapText.addClass("already-animated")})},delayAttr)}),$element.addClass("start_animation"),UNCODE.isUnmodalOpen||this.destroy()},offset:UNCODE.isFullPage?"100%":"90%"})})};var runWaypoints=function(ev){typeof runWaypoints_TO!="undefined"&&runWaypoints_TO!==""&&(runWaypoints_delay=400),clearRequestTimeout(runWaypoints_TO),runWaypoints_TO=requestTimeout(function(){window.waypoint_animation(ev)},runWaypoints_delay),clearRequestTimeout(runWaypoints_carousel_TO),runWaypoints_carousel_TO=requestTimeout(function(){window.waypoint_carousel_animation(ev)},400)};runWaypoints(),animate_css_grids_on_load(),$(document.body).on("uncode_waypoints defer-highlights",function(ev){runWaypoints(ev)}),$("body").hasClass("compose-mode")&&typeof window.parent.vc!="undefined"&&(window.parent.vc.events.on("shortcodeView:updated",runWaypoints),window.parent.vc.events.on("shortcodeView:ready",runWaypoints))},UNCODE.animate_css_grids=function(container,elements,startIndex,sequential,filtering){var $allItems=elements.length-startIndex,showed=0,index=0,use_index=!1;filtering&&(sequential&&(use_index=!0),sequential=!1),$.each(elements,function(index,val){var $this=$(val),elInner=$("> .t-inside",val);if(UNCODE.isUnmodalOpen&&!val.closest("#unmodal-content")||$(val).closest(".un-submenu").length||$(val).closest("uncode-mobile-menu-block").length)return;val[0]&&(val=val[0]),elInner.hasClass("animate_when_almost_visible")&&!elInner.hasClass("force-anim")&&new Waypoint({context:UNCODE.isUnmodalOpen?document.getElementById("unmodal-content"):window,element:val,handler:function(){var element=$("> .t-inside",this.element),parent=$(this.element),_index=use_index?index:0,delay=sequential?startIndex!==0?index-$allItems:index:_index,delayAttr=parseInt(element.attr("data-delay"));isNaN(delayAttr)&&(delayAttr=100);if(sequential||use_index)delay-=showed;var objTimeout=requestTimeout(function(){element.removeClass("zoom-reverse").addClass("start_animation"),showed=index},delay*delayAttr);parent.data("objTimeout",objTimeout),UNCODE.isUnmodalOpen||this.destroy()},offset:UNCODE.isFullPage?"100%":"90%"}),index++})}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/tapHover.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.tapHover=function(){var isTouch="ontouchstart"in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0;if(isTouch){var $el=$(".tmb:not(.tmb-no-double-tap)").find(".t-entry-visual-cont > a, .drop-hover-link"),elClass="hover";$(window).on("click",function(){$el.removeClass(elClass)}),$el.on("click",function(e){e.stopPropagation();var link=$(this);if(!link.hasClass(elClass))return e.preventDefault(),link.addClass("hover"),$el.not(this).removeClass(elClass),!1})}}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/preventDoubleTransition.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.preventDoubleTransition=function(){$(".sticky-element .animate_when_almost_visible").each(function(){var $el=$(this).one("webkitAnimationEnd mozAnimationEnd oAnimationEnd animationEnd",function(e){$el.addClass("do_not_reanimate")})})}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/printScreen.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.printScreen=function(){function changeMediaStyle(){clearRequestTimeout(setResize),setResize=requestTimeout(function(){var $head=document.getElementsByTagName("head")[0],$newStyle=document.createElement("style"),winW=window.innerWidth,printH=window.innerHeight;$newStyle.setAttribute("type","text/css"),$newStyle.setAttribute("media","print"),$newStyle.appendChild(document.createTextNode("@page { size: "+winW+"px "+printH+"px; margin: 0; }")),inlineMediaStyle!=null?$head.replaceChild($newStyle,inlineMediaStyle):$head.appendChild($newStyle),inlineMediaStyle=$newStyle},1e3)}var inlineMediaStyle=null,setResize;changeMediaStyle(),window.addEventListener("resize",changeMediaStyle)}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/jquery.waypoints.min.js?ver=2.11.5 
(function(){"use strict";function Waypoint(options){if(!options)throw new Error("No options passed to Waypoint constructor");if(!options.element)throw new Error("No element option passed to Waypoint constructor");if(!options.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+keyCounter,this.options=Waypoint.Adapter.extend({},Waypoint.defaults,options),this.element=this.options.element,this.adapter=new Waypoint.Adapter(this.element),this.callback=options.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=Waypoint.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=Waypoint.Context.findOrCreateByElement(this.options.context),Waypoint.offsetAliases[this.options.offset]&&(this.options.offset=Waypoint.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),allWaypoints[this.key]=this,keyCounter+=1}var keyCounter=0,allWaypoints={};Waypoint.prototype.queueTrigger=function(direction){this.group.queueTrigger(this,direction)},Waypoint.prototype.trigger=function(args){if(!this.enabled)return;this.callback&&this.callback.apply(this,args)},Waypoint.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete allWaypoints[this.key]},Waypoint.prototype.disable=function(){return this.enabled=!1,this},Waypoint.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},Waypoint.prototype.next=function(){return this.group.next(this)},Waypoint.prototype.previous=function(){return this.group.previous(this)},Waypoint.invokeAll=function(method){var allWaypointsArray=[];for(var waypointKey in allWaypoints)allWaypointsArray.push(allWaypoints[waypointKey]);for(var i=0,end=allWaypointsArray.length;i<end;i++)allWaypointsArray[i][method]()},Waypoint.destroyAll=function(){Waypoint.invokeAll("destroy")},Waypoint.disableAll=function(){Waypoint.invokeAll("disable")},Waypoint.enableAll=function(){Waypoint.Context.refreshAll();for(var waypointKey in allWaypoints)allWaypoints[waypointKey].enabled=!0;return this},Waypoint.refreshAll=function(){Waypoint.Context.refreshAll()},Waypoint.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},Waypoint.viewportWidth=function(){return document.documentElement.clientWidth},Waypoint.adapters=[],Waypoint.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},Waypoint.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=Waypoint})(),function(){"use strict";function requestAnimationFrameShim(callback){window.setTimeout(callback,1e3/60)}function Context(element){this.element=element,this.Adapter=Waypoint.Adapter,this.adapter=new this.Adapter(element),this.key="waypoint-context-"+keyCounter,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},element.waypointContextKey=this.key,contexts[element.waypointContextKey]=this,keyCounter+=1,Waypoint.windowContext||(Waypoint.windowContext=!0,Waypoint.windowContext=new Context(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var keyCounter=0,contexts={},Waypoint=window.Waypoint,oldWindowLoad=window.onload;Context.prototype.add=function(waypoint){var axis=waypoint.options.horizontal?"horizontal":"vertical";this.waypoints[axis][waypoint.key]=waypoint,this.refresh()},Context.prototype.checkEmpty=function(){var horizontalEmpty=this.Adapter.isEmptyObject(this.waypoints.horizontal),verticalEmpty=this.Adapter.isEmptyObject(this.waypoints.vertical),isWindow=this.element==this.element.window;horizontalEmpty&&verticalEmpty&&!isWindow&&(this.adapter.off(".waypoints"),delete contexts[this.key])},Context.prototype.createThrottledResizeHandler=function(){function resizeHandler(){self.handleResize(),self.didResize=!1}var self=this;this.adapter.on("resize.waypoints",function(){self.didResize||(self.didResize=!0,Waypoint.requestAnimationFrame(resizeHandler))})},Context.prototype.createThrottledScrollHandler=function(){function scrollHandler(){self.handleScroll(),self.didScroll=!1}var self=this;this.adapter.on("scroll.waypoints",function(){if(!self.didScroll||Waypoint.isTouch)self.didScroll=!0,Waypoint.requestAnimationFrame(scrollHandler)})},Context.prototype.handleResize=function(){Waypoint.Context.refreshAll()},Context.prototype.handleScroll=function(){var triggeredGroups={},axes={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 axisKey in axes){var axis=axes[axisKey],isForward=axis.newScroll>axis.oldScroll,direction=isForward?axis.forward:axis.backward;for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey];if(waypoint.triggerPoint===null)continue;var wasBeforeTriggerPoint=axis.oldScroll<waypoint.triggerPoint,nowAfterTriggerPoint=axis.newScroll>=waypoint.triggerPoint,crossedForward=wasBeforeTriggerPoint&&nowAfterTriggerPoint,crossedBackward=!wasBeforeTriggerPoint&&!nowAfterTriggerPoint;if(crossedForward||crossedBackward)waypoint.queueTrigger(direction),triggeredGroups[waypoint.group.id]=waypoint.group}}for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers();this.oldScroll={x:axes.horizontal.newScroll,y:axes.vertical.newScroll}},Context.prototype.innerHeight=function(){return this.element==this.element.window?Waypoint.viewportHeight():this.adapter.innerHeight()},Context.prototype.remove=function(waypoint){delete this.waypoints[waypoint.axis][waypoint.key],this.checkEmpty()},Context.prototype.innerWidth=function(){return this.element==this.element.window?Waypoint.viewportWidth():this.adapter.innerWidth()},Context.prototype.destroy=function(){var allWaypoints=[];for(var axis in this.waypoints)for(var waypointKey in this.waypoints[axis])allWaypoints.push(this.waypoints[axis][waypointKey]);for(var i=0,end=allWaypoints.length;i<end;i++)allWaypoints[i].destroy()},Context.prototype.refresh=function(){var isWindow=this.element==this.element.window,contextOffset=isWindow?undefined:this.adapter.offset(),triggeredGroups={},axes;this.handleScroll(),axes={horizontal:{contextOffset:isWindow?0:contextOffset.left,contextScroll:isWindow?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:isWindow?0:contextOffset.top,contextScroll:isWindow?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};for(var axisKey in axes){var axis=axes[axisKey];for(var waypointKey in this.waypoints[axisKey]){var waypoint=this.waypoints[axisKey][waypointKey],adjustment=waypoint.options.offset,oldTriggerPoint=waypoint.triggerPoint,elementOffset=0,freshWaypoint=oldTriggerPoint==null,contextModifier,wasBeforeScroll,nowAfterScroll,triggeredBackward,triggeredForward;waypoint.element!==waypoint.element.window&&(elementOffset=waypoint.adapter.offset()[axis.offsetProp]),typeof adjustment=="function"?adjustment=adjustment.apply(waypoint):typeof adjustment=="string"&&(adjustment=parseFloat(adjustment),waypoint.options.offset.indexOf("%")>-1&&(adjustment=Math.ceil(axis.contextDimension*adjustment/100))),contextModifier=axis.contextScroll-axis.contextOffset,waypoint.triggerPoint=Math.floor(elementOffset+contextModifier-adjustment),wasBeforeScroll=oldTriggerPoint<axis.oldScroll,nowAfterScroll=waypoint.triggerPoint>=axis.oldScroll,triggeredBackward=wasBeforeScroll&&nowAfterScroll,triggeredForward=!wasBeforeScroll&&!nowAfterScroll,!freshWaypoint&&triggeredBackward?(waypoint.queueTrigger(axis.backward),triggeredGroups[waypoint.group.id]=waypoint.group):!freshWaypoint&&triggeredForward?(waypoint.queueTrigger(axis.forward),triggeredGroups[waypoint.group.id]=waypoint.group):freshWaypoint&&axis.oldScroll>=waypoint.triggerPoint&&(waypoint.queueTrigger(axis.forward),triggeredGroups[waypoint.group.id]=waypoint.group)}}return Waypoint.requestAnimationFrame(function(){for(var groupKey in triggeredGroups)triggeredGroups[groupKey].flushTriggers()}),this},Context.findOrCreateByElement=function(element){return Context.findByElement(element)||new Context(element)},Context.refreshAll=function(){for(var contextId in contexts)contexts[contextId].refresh()},Context.findByElement=function(element){return contexts[element.waypointContextKey]},window.onload=function(){oldWindowLoad&&oldWindowLoad(),Context.refreshAll()},Waypoint.requestAnimationFrame=function(callback){var requestFn=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||requestAnimationFrameShim;requestFn.call(window,callback)},Waypoint.Context=Context}(),function(){"use strict";function byTriggerPoint(a,b){return a.triggerPoint-b.triggerPoint}function byReverseTriggerPoint(a,b){return b.triggerPoint-a.triggerPoint}function Group(options){this.name=options.name,this.axis=options.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),groups[this.axis][this.name]=this}var groups={vertical:{},horizontal:{}},Waypoint=window.Waypoint;Group.prototype.add=function(waypoint){this.waypoints.push(waypoint)},Group.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},Group.prototype.flushTriggers=function(){for(var direction in this.triggerQueues){var waypoints=this.triggerQueues[direction],reverse=direction==="up"||direction==="left";waypoints.sort(reverse?byReverseTriggerPoint:byTriggerPoint);for(var i=0,end=waypoints.length;i<end;i+=1){var waypoint=waypoints[i];(waypoint.options.continuous||i===waypoints.length-1)&&waypoint.trigger([direction])}}this.clearTriggerQueues()},Group.prototype.next=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints),isLast=index===this.waypoints.length-1;return isLast?null:this.waypoints[index+1]},Group.prototype.previous=function(waypoint){this.waypoints.sort(byTriggerPoint);var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);return index?this.waypoints[index-1]:null},Group.prototype.queueTrigger=function(waypoint,direction){this.triggerQueues[direction].push(waypoint)},Group.prototype.remove=function(waypoint){var index=Waypoint.Adapter.inArray(waypoint,this.waypoints);index>-1&&this.waypoints.splice(index,1)},Group.prototype.first=function(){return this.waypoints[0]},Group.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},Group.findOrCreate=function(options){return groups[options.axis][options.name]||new Group(options)},Waypoint.Group=Group}(),function(){"use strict";function JQueryAdapter(element){this.$element=$(element)}var $=window.jQuery,Waypoint=window.Waypoint;$.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(i,method){JQueryAdapter.prototype[method]=function(){var args=Array.prototype.slice.call(arguments);return this.$element[method].apply(this.$element,args)}}),$.each(["extend","inArray","isEmptyObject"],function(i,method){JQueryAdapter[method]=$[method]}),Waypoint.adapters.push({name:"jquery",Adapter:JQueryAdapter}),Waypoint.Adapter=JQueryAdapter}(),function(){"use strict";function createExtension(framework){return function(){var waypoints=[],overrides=arguments[0];return framework.isFunction(arguments[0])&&(overrides=framework.extend({},arguments[1]),overrides.handler=arguments[0]),this.each(function(){var options=framework.extend({},overrides,{element:this});typeof options.context=="string"&&(options.context=framework(this).closest(options.context)[0]),waypoints.push(new Waypoint(options))}),waypoints}}var Waypoint=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=createExtension(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=createExtension(window.Zepto))}();
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/jquery.smartmenus.min.js?ver=2.11.5 
(function($){function initMouseDetection(disable){if(!mouseDetectionEnabled&&!disable){var firstTime=!0,lastMove=null;$(document).bind({"mousemove.smartmenus_mouse":function(e){var thisMove={x:e.pageX,y:e.pageY,timeStamp:(new Date).getTime()};if(lastMove){var deltaX=Math.abs(lastMove.x-thisMove.x),deltaY=Math.abs(lastMove.y-thisMove.y);if((deltaX>0||deltaY>0)&&deltaX<=2&&deltaY<=2&&thisMove.timeStamp-lastMove.timeStamp<=300){mouse=!0;if(firstTime){var $a=$(e.target).closest("a");$a.is("a")&&$.each(menuTrees,function(){if($.contains(this.$root[0],$a[0]))return this.itemEnter({currentTarget:$a[0]}),!1}),firstTime=!1}}}lastMove=thisMove},"touchstart.smartmenus_mouse pointerover.smartmenus_mouse MSPointerOver.smartmenus_mouse":function(e){/^(4|mouse|pen)$/.test(e.originalEvent.pointerType)||(mouse=!1)}}),mouseDetectionEnabled=!0}else mouseDetectionEnabled&&disable&&($(document).unbind(".smartmenus_mouse"),mouseDetectionEnabled=!1)}var menuTrees=[],IE=!!window.createPopup,IElt9=IE&&!document.defaultView,IElt8=IE&&!document.querySelector,IE6=IE&&typeof document.documentElement.currentStyle.minWidth=="undefined",mouse=!1,mouseDetectionEnabled=!1;$.SmartMenus=function(elm,options){this.$root=$(elm),this.opts=options,this.rootId="",this.$subArrow=null,this.subMenus=[],this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.zIndexInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.lastLevel=0,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){while(menuTrees.length)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(refresh){var self=this;if(!refresh){menuTrees.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0),this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).bind({"mouseover.smartmenus":$.proxy(this.rootOver,this),"mouseout.smartmenus":$.proxy(this.rootOut,this)}).delegate("a, div.logo-container",{"mouseenter.smartmenus":$.proxy(this.itemEnter,this),"mouseleave.smartmenus":$.proxy(this.itemLeave,this),"mousedown.smartmenus":$.proxy(this.itemDown,this),"focus.smartmenus":$.proxy(this.itemFocus,this),"blur.smartmenus":$.proxy(this.itemBlur,this),"click.smartmenus":$.proxy(this.itemClick,this),"touchend.smartmenus":$.proxy(this.itemTouchEnd,this)});var eNamespace=".smartmenus"+this.rootId;this.opts.hideOnClick&&$(document).on("touchstart"+eNamespace,$.proxy(this.docTouchStart,this)).on("touchmove"+eNamespace,$.proxy(this.docTouchMove,this)).on("touchend"+eNamespace,$.proxy(this.docTouchEnd,this)).on("click"+eNamespace,$.proxy(this.docClick,this)),$(window).on("resize"+eNamespace+" orientationchange"+eNamespace,$.proxy(this.winResize,this));var $vmenu=$("body.vmenu .vmenu-container");!$vmenu.length&&UNCODE.wwidth>UNCODE.mediaQuery&&$(window).on("scroll"+eNamespace+" orientationchange"+eNamespace,$.proxy(this.winResize,this)),this.opts.subIndicators&&(this.$subArrow=$("<span/>").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}this.$firstSub=this.$root.find("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)").each(function(){self.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0);if(this.opts.markCurrentItem){var reDefaultDoc=/(index|default)\.[^#\?\/]*/i,reHash=/#.*/,locHref=window.location.href.replace(reDefaultDoc,""),locHrefNoHash=locHref.replace(reHash,"");this.$root.find("a").each(function(){var href=this.href.replace(reDefaultDoc,""),$this=$(this);if(href==locHref||href==locHrefNoHash)$this.addClass("current"),self.opts.markCurrentTree&&$this.parents("li").each(function(){var $this=$(this);$this.dataSM("sub")&&$this.children("a").addClass("current")})})}},destroy:function(){this.menuHideAll(),this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").unbind(".smartmenus").undelegate(".smartmenus");var eNamespace=".smartmenus"+this.rootId;$(document).unbind(eNamespace),$(window).unbind(eNamespace),this.opts.subIndicators&&(this.$subArrow=null);var self=this;$.each(this.subMenus,function(){this.hasClass("mega-menu")&&this.find("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)").removeDataSM("in-mega");if(this.dataSM("shown-before")){IElt8&&this.children().css({styleFloat:"",width:""});if(self.opts.subMenusMinWidth||self.opts.subMenusMaxWidth)IE6?this.css({width:"",overflowX:"",overflowY:""}).children().children("a").css("white-space",""):this.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap");this.dataSM("scroll-arrows")&&this.dataSM("scroll-arrows").remove(),this.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})}self.opts.subIndicators&&this.dataSM("parent-a").removeClass("has-submenu").children("span.sub-arrow").remove(),this.removeDataSM("shown-before").removeDataSM("ie-shim").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").parent().removeDataSM("sub")}),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1)},disable:function(noOverlay){if(!this.disabled){this.menuHideAll();if(!noOverlay&&!this.opts.isPopup&&this.$root.is(":visible")){var pos=this.$root.offset();this.$disableOverlay=$('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:pos.top,left:pos.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex()+1,opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(e){(this.visibleSubMenus.length&&!$.contains(this.$root[0],e.target)||$(e.target).is("a:not([data-filter])"))&&this.menuHideAll($(e.target))},docTouchEnd:function(e){if(!this.lastTouch)return;if(this.visibleSubMenus.length&&(this.lastTouch.x2===undefined||this.lastTouch.x1==this.lastTouch.x2)&&(this.lastTouch.y2===undefined||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var self=this;this.hideTimeout=setTimeout(function(){self.menuHideAll($(e.target))},350)}this.lastTouch=null},docTouchMove:function(e){if(!this.lastTouch)return;var touchPoint=e.originalEvent.touches[0];this.lastTouch.x2=touchPoint.pageX,this.lastTouch.y2=touchPoint.pageY},docTouchStart:function(e){var touchPoint=e.originalEvent.touches[0];this.lastTouch={x1:touchPoint.pageX,y1:touchPoint.pageY,target:touchPoint.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getHeight:function($elm){return this.getOffset($elm,!0)},getOffset:function($elm,height){var old,$win=$(window),winW=$win.width();$elm.css("display")=="none"&&(old={position:$elm[0].style.position,visibility:$elm[0].style.visibility},$elm.css({position:"absolute",visibility:"hidden"}).show(),($("body").hasClass("menu-mobile-off-canvas")&&winW<960&&$elm.closest(".main-menu-container").length||($("body").hasClass("vmenu-offcanvas-overlay")||$("body").hasClass("vmenu"))&&winW>=960&&$elm.closest(".main-menu-container").length&&!$elm.closest(".menu-horizontal-inner").length)&&$elm.closest("li").addClass("smartmenu-open-item"));var defaultView=$elm[0].ownerDocument.defaultView,compStyle=defaultView&&defaultView.getComputedStyle&&defaultView.getComputedStyle($elm[0],null),val=compStyle&&parseFloat(compStyle[height?"height":"width"]);return val?val+=parseFloat(compStyle[height?"paddingTop":"paddingLeft"])+parseFloat(compStyle[height?"paddingBottom":"paddingRight"])+parseInt(compStyle[height?"borderTopWidth":"borderLeftWidth"])+parseInt(compStyle[height?"borderBottomWidth":"borderRightWidth"]):val=height?$elm[0].offsetHeight:$elm[0].offsetWidth,old&&$elm.hide().css(old),val},getWidth:function($elm){return this.getOffset($elm)},getStartZIndex:function(){var zIndex=parseInt(this.$root.css("z-index"));return isNaN(zIndex)?1:zIndex},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function($a){return this.handleEvents()&&!this.isLinkInMegaMenu($a)},isCollapsible:function(){return this.$firstSub.css("position")=="static"},isCSSOn:function(){return this.$firstLink.css("display")=="block"||this.$firstLink.css("display")=="flex"||this.$firstLink.css("display")=="inline-flex"||this.$firstLink.css("display")=="table-cell"||this.$firstLink.css("display")=="inline"},isFixed:function(){return this.$root.css("position")=="fixed"},isLinkInMegaMenu:function($a){return!$a.parent().parent().dataSM("level")},isTouchMode:function(){return!mouse||this.isCollapsible()},itemActivate:function($a,$show){var $li=$a.parent(),$ul=$li.parent(),level=$ul.dataSM("level"),winh=$(window).height();if(level>1&&(!this.activatedItems[level-2]||this.activatedItems[level-2][0]!=$ul.dataSM("parent-a")[0])){var self=this;$($ul.parentsUntil("[data-smartmenus-id]","ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)").get().reverse()).add($ul).each(function(){self.itemActivate($(this).dataSM("parent-a"))})}if(this.visibleSubMenus.length>level)for(var i=this.visibleSubMenus.length-1,l=!this.activatedItems[level-1]||this.activatedItems[level-1][0]!=$a[0]?level-1:level;i>l;i--){this.lastLevel=level;if(typeof $show=="undefined"&&this.isCollapsible()){this.menuHide(this.visibleSubMenus[i],$a);return}this.menuHide(this.visibleSubMenus[i])}this.activatedItems[level-1]=$a,this.visibleSubMenus[level-1]=$ul;if(this.$root.triggerHandler("activate.smapi",$a[0])===!1)return;var $sub=$li.dataSM("sub");if($sub&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)){var aRect=$a[0].getBoundingClientRect();(aRect.y<0||aRect.y>winh)&&this.isCollapsible()&&this.lastLevel===this.activatedItems.length&&setTimeout(function(){var currentScroll=$a.closest(".main-menu-container").scrollTop();$a.closest(".main-menu-container").scrollTop(currentScroll+aRect.y)},1),this.menuShow($sub)}},itemBlur:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a))return;this.$root.triggerHandler("blur.smapi",$a[0])},itemClick:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a))return;$a.removeDataSM("mousedown");if(this.$root.triggerHandler("click.smapi",$a[0])===!1)return!1;var $sub=$a.parent().dataSM("sub");if(this.isTouchMode()){$a.dataSM("href")&&$a.attr("href",$a.dataSM("href")).removeDataSM("href");if($sub&&(!$sub.dataSM("shown-before")||!$sub.is(":visible"))){this.itemActivate($a);if($sub.is(":visible"))return!1}}else if(this.opts.showOnClick&&$a.parent().parent().dataSM("level")==1&&$sub)return this.clickActivated=!0,this.menuShow($sub),!1;if($a.hasClass("disabled"))return!1;if(this.$root.triggerHandler("select.smapi",$a[0])===!1)return!1},itemDown:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a))return;$a.dataSM("mousedown",!0)},itemEnter:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a))return;if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var self=this;this.showTimeout=setTimeout(function(){self.itemActivate($a)},this.opts.showOnClick&&$a.parent().parent().dataSM("level")==1?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",$a[0])},itemFocus:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a))return;(!this.isTouchMode()||!$a.dataSM("mousedown"))&&(!this.activatedItems.length||this.activatedItems[this.activatedItems.length-1][0]!=$a[0])&&this.itemActivate($a),this.$root.triggerHandler("focus.smapi",$a[0])},itemLeave:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a))return;this.isTouchMode()||($a[0].blur&&$a[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),$a.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",$a[0])},itemTouchEnd:function(e){var $a=$(e.currentTarget);if(!this.handleItemEvents($a))return;var $sub=$a.parent().dataSM("sub");$a.attr("href").charAt(0)!=="#"&&$sub&&(!$sub.dataSM("shown-before")||!$sub.is(":visible"))&&($a.dataSM("href",$a.attr("href")),$a.attr("href","#"))},menuFixLayout:function($ul){$ul.dataSM("shown-before")||($ul.hide().dataSM("shown-before",!0),IElt8&&$ul.children().css({styleFloat:"left",width:"100%"}))},menuHide:function($sub,$show){if(this.$root.triggerHandler("beforehide.smapi",$sub[0])===!1)return;$sub.stop(!0,!0);if($sub.is(":visible")){var self=this,complete=function(){IElt9?$sub.parent().css("z-index",""):$sub.css("z-index",""),typeof $show!="undefined"&&self.itemActivate($show,!0)};this.isCollapsible()?this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,$sub,complete):$sub.hide(this.opts.collapsibleHideDuration,complete):this.opts.hideFunction?this.opts.hideFunction.call(this,$sub,complete):$sub.hide(this.opts.hideDuration,complete),$sub.dataSM("ie-shim")&&$sub.dataSM("ie-shim").remove(),$sub.dataSM("scroll")&&$sub.unbind(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide(),$sub.dataSM("parent-a").removeClass("highlighted");var level=$sub.dataSM("level");this.activatedItems.splice(level-1,1),this.visibleSubMenus.splice(level-1,1),this.$root.triggerHandler("hide.smapi",$sub[0])}},menuHideAll:function($item){if($item!=undefined&&$item.parent().hasClass("menu-item")&&!$item.parent().hasClass("menu-item-has-children"))return;var $win=$(window),winW=$win.width();this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var i=this.visibleSubMenus.length-1;i>0;i--)if(this.visibleSubMenus[i].closest(".smartmenu-open-item").length){if($item==undefined||!$item.closest(".smartmenu-open-item").length)return;this.menuHide(this.visibleSubMenus[i]),$(this.visibleSubMenus[i]).closest(".smartmenu-open-item").removeClass("smartmenu-open-item")}else this.menuHide(this.visibleSubMenus[i]);this.opts.isPopup&&(this.$root.stop(!0,!0),this.$root.is(":visible")&&(this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration),this.$root.dataSM("ie-shim")&&this.$root.dataSM("ie-shim").remove())),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.zIndexInc=0},menuIframeShim:function($ul){IE&&this.opts.overlapControlsInIE&&!$ul.dataSM("ie-shim")&&$ul.dataSM("ie-shim",$("<iframe/>").attr({src:"javascript:0",tabindex:-9}).css({position:"absolute",top:"auto",left:"0",opacity:0,border:"0"}))},menuInit:function($ul){if(!$ul.dataSM("in-mega")){this.subMenus.push($ul),$ul.hasClass("mega-menu")&&$ul.find("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)").dataSM("in-mega",!0);var level=2,par=$ul[0];while(par!=null&&par.parentNode!=null&&(par=par.parentNode.parentNode)!=this.$root[0])level++;$ul.dataSM("parent-a",$ul.prevAll("a").eq(-1)).dataSM("level",level).parent().dataSM("sub",$ul),this.opts.subIndicators&&$ul.dataSM("parent-a").addClass("has-submenu")[this.opts.subIndicatorsPos](this.$subArrow.clone())}$(".vc_row[data-parent].has-bg",$ul).length&&!$(".vc_row[data-parent]:not(.has-bg)",$ul).length&&$ul.addClass("has-bg-items")},menuPosition:function($sub){var fixIE=$("html.ie").length,$a=$sub.dataSM("parent-a"),$li=$sub.parent(),$ul=$sub.parent().parent(),$container=$ul.closest(".row-menu-inner").length?$("body").hasClass("megamenu-side-to-side")?$ul.closest(".row-menu"):$ul.closest(".row-menu-inner"):$ul.closest(".uncol"),level=$sub.dataSM("level"),subW=this.getWidth($sub),subH=this.getHeight($sub),itemOffset=$a.offset(),itemX=itemOffset.left,itemY=itemOffset.top,itemW=this.getWidth($a),itemH=this.getHeight($a),$win=$(window),winX=$win.scrollLeft(),winY=$win.scrollTop(),winW=$win.width(),winH=$win.height(),containerW=$container.width(),containerOffsetX=containerW+(winW-containerW)/2,horizontalParent=$ul.hasClass("sm")&&!$ul.hasClass("sm-vertical"),subOffsetX=level==2?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,subOffsetY=level==2?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY,x,y,leftPos;horizontalParent?(x=this.opts.rightToLeftSubMenus?itemW-subW-subOffsetX:subOffsetX,y=this.opts.bottomToTopSubMenus?-subH-subOffsetY:itemH+subOffsetY):(x=this.opts.rightToLeftSubMenus?subOffsetX-subW:subW-subOffsetX,y=this.opts.bottomToTopSubMenus?itemH-subOffsetY-subH:subOffsetY);if(this.opts.keepInViewport&&!this.isCollapsible()){this.isFixed()&&(itemX-=winX,itemY-=winY,winX=winY=0);var absX=itemX+x,absY=itemY+y;this.opts.rightToLeftSubMenus&&absX<winX?x=horizontalParent?winX-absX+x:itemW-subOffsetX:!this.opts.rightToLeftSubMenus&&absX+subW>winX+containerOffsetX&&(x=horizontalParent?winX+containerOffsetX-subW-absX+x:subOffsetX-subW);if(!horizontalParent)if(subH<winH&&absY+subH>winY+winH)y+=winY+winH-subH-absY;else if(subH>=winH||absY<winY)y+=winY-absY;if(mouse&&(horizontalParent&&(absY+subH>winY+winH+.49||absY<winY)||!horizontalParent&&subH>winH+.49)){var self=this;$sub.dataSM("scroll-arrows")||$sub.dataSM("scroll-arrows",$([$('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],$('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).bind({mouseenter:function(){self.menuScroll($sub,$(this).hasClass("scroll-up"))},mouseleave:function(e){self.menuScrollStop($sub),self.menuScrollOut($sub,e)},"mousewheel DOMMouseScroll":function(e){e.preventDefault()}}).insertAfter($sub));var vportY=winY-(itemY+itemH);$sub.dataSM("scroll",{vportY:vportY,subH:subH,winH:winH,step:1}).bind({"mouseover.smartmenus_scroll":function(e){self.menuScrollOver($sub,e)},"mouseout.smartmenus_scroll":function(e){self.menuScrollOut($sub,e)},"mousewheel.smartmenus_scroll DOMMouseScroll.smartmenus_scroll":function(e){self.menuScrollMousewheel($sub,e)}}).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:x+(parseInt($sub.css("border-left-width"))||0),width:this.getWidth($sub)-(parseInt($sub.css("border-left-width"))||0)-(parseInt($sub.css("border-right-width"))||0),zIndex:this.getStartZIndex()+this.zIndexInc}).eq(0).css("margin-top",vportY).end().eq(1).css("margin-top",vportY+winH-this.getHeight($sub.dataSM("scroll-arrows").eq(1))).end().eq(horizontalParent&&this.opts.bottomToTopSubMenus?0:1).show()}}if(!$sub.closest(".menu-accordion").length){var rightPos="auto";if($sub.closest(".grid-filters").length)$sub.closest(".text-right").length?(leftPos="0px",rightPos="auto"):(leftPos="auto",rightPos="0px"),x=0;else if($sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)').length&&$sub.closest(".row-menu").is(".limit-width")&&level===2){var parentContW=$sub.closest(".menu-container").width();$sub.css({width:parentContW}),$sub.addClass("need-focus"),leftPos=-1*(parseFloat($sub.closest("ul.menu-smart").offset().left)-parseFloat($sub.closest(".menu-container").offset().left)),x=0}else $sub.hasClass("mega-menu-inner")||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)').length?($sub.css({width:containerW}),$sub.addClass("need-focus"),leftPos=-1*(parseFloat($sub.closest("ul.menu-smart").offset().left)-parseFloat($sub.closest(".row-menu").offset().left)),$("body").hasClass("megamenu-side-to-side")||(leftPos+=parseFloat($sub.closest(".row-menu-inner").css("paddingLeft"))),x=0):($sub.is(".block-wrapper-parent")&&!$sub.find(".col-custom-width").length&&!$sub.find(".row-parent-limit").length&&level===2?leftPos=$li.position().left-(UNCODE.wwidth-$sub.outerWidth())/2+"px":leftPos=(level>2?$li.position().left-parseFloat($li.closest("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)").css("paddingLeft")):$li.position().left)+"px",x=level>2&&x>=0?x+1:x-1)}$sub.css({top:level>2?$a[0].offsetTop:fixIE?itemH:"100%",left:leftPos,right:rightPos,marginLeft:x,marginTop:level>2?0:y-itemH+($sub.closest(".menu-borders").length&&!$sub.closest(".menu-borders.needs-after").length?1:0)}),this.menuIframeShim($sub),$sub.dataSM("ie-shim")&&$sub.dataSM("ie-shim").css({zIndex:$sub.css("z-index"),width:subW,height:subH,marginLeft:x,marginTop:y-itemH+($sub.closest(".menu-mini").length?0:1)})},menuScroll:function($sub,up,wheel){var y=parseFloat($sub.css("margin-top")),scroll=$sub.dataSM("scroll"),navH=$(".navbar-main").outerHeight(),end=scroll.vportY+(up?navH+54:scroll.winH-scroll.subH),step=wheel||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor($sub.dataSM("scroll").step);$sub.add($sub.dataSM("ie-shim")).css("margin-top",Math.abs(end-y)>step?y+(up?step:-step):end),y=parseFloat($sub.css("margin-top")),(up&&y+scroll.subH>scroll.vportY+scroll.winH||!up&&y<scroll.vportY)&&$sub.dataSM("scroll-arrows").eq(up?1:0).show(),!wheel&&this.opts.scrollAccelerate&&$sub.dataSM("scroll").step<this.opts.scrollStep&&($sub.dataSM("scroll").step+=.5);if(Math.abs(y-end)<1)$sub.dataSM("scroll-arrows").eq(up?0:1).hide(),$sub.dataSM("scroll").step=1;else if(!wheel){var self=this;this.scrollTimeout=setTimeout(function(){self.menuScroll($sub,up)},this.opts.scrollInterval)}},menuScrollMousewheel:function($sub,e){var $closestSub=$(e.target).closest("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)");while($closestSub.dataSM("in-mega"))$closestSub=$closestSub.parent().closest("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)");if($closestSub[0]==$sub[0]){var up=(e.originalEvent.wheelDelta||-e.originalEvent.detail)>0;$sub.dataSM("scroll-arrows").eq(up?0:1).is(":visible")&&this.menuScroll($sub,up,!0)}!$sub.hasClass("mega-menu-inner")&&!$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')&&e.preventDefault()},menuScrollOut:function($sub,e){var reClass=/^scroll-(up|down)/,$closestSub=$(e.relatedTarget).closest("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)");while($closestSub.dataSM("in-mega"))$closestSub=$closestSub.parent().closest("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)");!reClass.test((e.relatedTarget||"").className)&&($sub[0]!=e.relatedTarget&&!$.contains($sub[0],e.relatedTarget)||$closestSub[0]!=$sub[0])&&$sub.dataSM("scroll-arrows").css("visibility","hidden")},menuScrollOver:function($sub,e){var reClass=/^scroll-(up|down)/,$closestSub=$(e.target).closest("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)");while($closestSub.dataSM("in-mega"))$closestSub=$closestSub.parent().closest("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)");!reClass.test(e.target.className)&&$closestSub[0]==$sub[0]&&$sub.dataSM("scroll-arrows").css("visibility","visible")},menuScrollStop:function($sub){this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=0,$sub.dataSM("scroll").step=1)},menuShow:function($sub){if(!$sub.dataSM("beforefirstshowfired")){$sub.dataSM("beforefirstshowfired",!0);if(this.$root.triggerHandler("beforefirstshow.smapi",$sub[0])===!1)return}this.isCollapsible()&&this.$root.triggerHandler("beforecollapse.smapi",$sub[0]);if(this.$root.triggerHandler("beforeshow.smapi",$sub[0])===!1)return;this.menuFixLayout($sub),$sub.stop(!0,!0);if(!$sub.is(":visible")){$sub.css({visibility:"visible","pointer-events":"auto"});var zIndex=this.getStartZIndex()+ ++this.zIndexInc;IElt9?$sub.parent().css("z-index",zIndex):$sub.css("z-index",zIndex),(this.opts.keepHighlighted||this.isCollapsible())&&$sub.dataSM("parent-a").attr("data-type")!="title"&&$sub.dataSM("parent-a").addClass("highlighted");if(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)if(!IElt8){$sub.css({width:$sub.hasClass("mega-menu-inner")||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')?$(".box-container").outerWidth()+"px":"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&$sub.css("min-width",this.opts.subMenusMinWidth);if(this.opts.subMenusMaxWidth){var noMaxWidth=this.getWidth($sub);!$sub.hasClass("mega-menu-inner")&&!$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')&&$sub.css("max-width",this.opts.subMenusMaxWidth),noMaxWidth>this.getWidth($sub)&&$sub.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}}else{$sub.children().css("styleFloat","none"),IE6?$sub.width(this.opts.subMenusMinWidth?this.opts.subMenusMinWidth:1).children().children("a").css("white-space","nowrap"):($sub.css({width:$sub.hasClass("mega-menu-inner")||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')?$(".box-container").outerWidth()+"px":"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&$sub.css("min-width",this.opts.subMenusMinWidth));if(this.opts.subMenusMaxWidth){var noMaxWidth=$sub.width();if(IE6){var maxWidth=$sub.css({width:this.opts.subMenusMaxWidth,overflowX:"hidden",overflowY:"hidden"}).width();noMaxWidth>maxWidth?$sub.css({width:maxWidth,overflowX:"visible",overflowY:"visible"}).children().children("a").css("white-space",""):$sub.css({width:noMaxWidth,overflowX:"visible",overflowY:"visible"})}else!$sub.hasClass("mega-menu-inner")&&!$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)')&&$sub.css("max-width",this.opts.subMenusMaxWidth),noMaxWidth>$sub.width()?$sub.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth):$sub.width(noMaxWidth)}else $sub.width($sub.width());$sub.children().css("styleFloat","left")}if(($sub.hasClass("mega-menu-inner")||$sub.find('[data-parent="true"]:not(.limit-width):not(.row-parent-limit)'))&&$("body").hasClass("scrollable-megamenu")&&UNCODE.wwidth>UNCODE.mediaQuery){var $nav=$(".navbar-main"),navH=0,navTop=0,$vmenu=$("body.vmenu .vmenu-container, body.menu-overlay .vmenu-container, body.menu-offcanvas .vmenu-container");if($nav.length&&typeof $nav[0]!="undefined"){var navRect=$nav[0].getBoundingClientRect();navH=navRect.height,navTop=navRect.top}$vmenu.length||($sub.css({maxHeight:UNCODE.wheight-navH}),$(".megamenu-block-wrapper",$sub).length&&$sub.find("> li").addClass("has-scroll").css({maxHeight:UNCODE.wheight-navH}))}this.menuPosition($sub),$sub.dataSM("ie-shim")&&$sub.dataSM("ie-shim").insertBefore($sub);var complete=function(){$sub.css("overflow","")};this.isCollapsible()?this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,$sub,complete):$sub.show(this.opts.collapsibleShowDuration,complete):this.opts.showFunction?this.opts.showFunction.call(this,$sub,complete):$sub.show(this.opts.showDuration,complete),this.visibleSubMenus[$sub.dataSM("level")-1]=$sub,this.$root.triggerHandler("show.smapi",$sub[0])}},popupHide:function(noHideTimeout){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var self=this;this.hideTimeout=setTimeout(function(){self.menuHideAll()},noHideTimeout?1:this.opts.hideTimeout)},popupShow:function(left,top){if(!this.opts.isPopup){alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');return}this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.menuFixLayout(this.$root),this.$root.stop(!0,!0),this.$root.is(":visible")||(this.$root.css({left:left,top:top}),this.menuIframeShim(this.$root),this.$root.dataSM("ie-shim")&&this.$root.dataSM("ie-shim").css({zIndex:this.$root.css("z-index"),width:this.getWidth(this.$root),height:this.getHeight(this.$root),left:left,top:top}).insertBefore(this.$root),this.opts.showFunction?this.opts.showFunction.call(this,this.$root):this.$root.show(this.opts.showDuration),this.visibleSubMenus[0]=this.$root)},refresh:function(){this.menuHideAll(),this.$root.find("ul:not(.nav-tabs):not(.unmenu-block):not(.unmenu-block *)").each(function(){var $this=$(this);$this.dataSM("scroll-arrows")&&$this.dataSM("scroll-arrows").remove()}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("ie-shim").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired"),this.$root.find("a.has-submenu").removeClass("has-submenu").parent().removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),this.subMenus=[],this.init(!0)},rootOut:function(e){if(!this.handleEvents()||this.isTouchMode()||e.target==this.$root[0])return;this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);if(!this.opts.showOnClick||!this.opts.hideOnClick){var self=this;this.hideTimeout=setTimeout(function(){self.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(e){if(!this.handleEvents()||this.isTouchMode()||e.target==this.$root[0])return;this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(e){if(!this.handleEvents()){if(this.$disableOverlay){var pos=this.$root.offset();this.$disableOverlay.css({top:pos.top,left:pos.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}return}!this.isCollapsible()&&(!("onorientationchange"in window)||e.type=="orientationchange")&&(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll())}}}),$.fn.dataSM=function(key,val){return val?this.data(key+"_smartmenus",val):this.data(key+"_smartmenus")},$.fn.removeDataSM=function(key){return this.removeData(key+"_smartmenus")},$.fn.smartmenus=function(options){if(typeof options=="string"){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var smartmenus=$(this).data("smartmenus");smartmenus&&smartmenus[method]&&smartmenus[method].apply(smartmenus,args)})}var opts=$.extend({},$.fn.smartmenus.defaults,options);return this.each(function(){new $.SmartMenus(this,opts)})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:!1,subMenusMaxWidth:!1,subIndicators:!0,subIndicatorsPos:"prepend",subIndicatorsText:"+",scrollStep:30,scrollInterval:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function($ul,complete){$ul.fadeOut(200,complete)},collapsibleShowDuration:0,collapsibleShowFunction:function($ul,complete){$ul.slideDown(200,complete)},collapsibleHideDuration:0,collapsibleHideFunction:function($ul,complete){$ul.slideUp(200,complete)},showOnClick:!1,hideOnClick:!0,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,overlapControlsInIE:!0}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/jquery.easing.min.js?ver=2.11.5 
(function(factory){typeof define=="function"&&define.amd?define(["jquery"],function($){return factory($)}):typeof module=="object"&&typeof module.exports=="object"?module.exports=factory(require("jquery")):factory(jQuery)})(function($){function bounceOut(x){var n1=7.5625,d1=2.75;return x<1/d1?n1*x*x:x<2/d1?n1*(x-=1.5/d1)*x+.75:x<2.5/d1?n1*(x-=2.25/d1)*x+.9375:n1*(x-=2.625/d1)*x+.984375}typeof $.easing!="undefined"&&($.easing.jswing=$.easing.swing);var pow=Math.pow,sqrt=Math.sqrt,sin=Math.sin,cos=Math.cos,PI=Math.PI,c1=1.70158,c2=c1*1.525,c3=c1+1,c4=2*PI/3,c5=2*PI/4.5;return $.extend($.easing,{def:"easeOutQuad",swing:function(x){return $.easing[$.easing.def](x)},easeInQuad:function(x){return x*x},easeOutQuad:function(x){return 1-(1-x)*(1-x)},easeInOutQuad:function(x){return x<.5?2*x*x:1-pow(-2*x+2,2)/2},easeInCubic:function(x){return x*x*x},easeOutCubic:function(x){return 1-pow(1-x,3)},easeInOutCubic:function(x){return x<.5?4*x*x*x:1-pow(-2*x+2,3)/2},easeInQuart:function(x){return x*x*x*x},easeOutQuart:function(x){return 1-pow(1-x,4)},easeInOutQuart:function(x){return x<.5?8*x*x*x*x:1-pow(-2*x+2,4)/2},easeInQuint:function(x){return x*x*x*x*x},easeOutQuint:function(x){return 1-pow(1-x,5)},easeInOutQuint:function(x){return x<.5?16*x*x*x*x*x:1-pow(-2*x+2,5)/2},easeInSine:function(x){return 1-cos(x*PI/2)},easeOutSine:function(x){return sin(x*PI/2)},easeInOutSine:function(x){return-(cos(PI*x)-1)/2},easeInExpo:function(x){return x===0?0:pow(2,10*x-10)},easeOutExpo:function(x){return x===1?1:1-pow(2,-10*x)},easeInOutExpo:function(x){return x===0?0:x===1?1:x<.5?pow(2,20*x-10)/2:(2-pow(2,-20*x+10))/2},easeInCirc:function(x){return 1-sqrt(1-pow(x,2))},easeOutCirc:function(x){return sqrt(1-pow(x-1,2))},easeInOutCirc:function(x){return x<.5?(1-sqrt(1-pow(2*x,2)))/2:(sqrt(1-pow(-2*x+2,2))+1)/2},easeInElastic:function(x){return x===0?0:x===1?1:-pow(2,10*x-10)*sin((x*10-10.75)*c4)},easeOutElastic:function(x){return x===0?0:x===1?1:pow(2,-10*x)*sin((x*10-.75)*c4)+1},easeInOutElastic:function(x){return x===0?0:x===1?1:x<.5?-(pow(2,20*x-10)*sin((20*x-11.125)*c5))/2:pow(2,-20*x+10)*sin((20*x-11.125)*c5)/2+1},easeInBack:function(x){return c3*x*x*x-c1*x*x},easeOutBack:function(x){return 1+c3*pow(x-1,3)+c1*pow(x-1,2)},easeInOutBack:function(x){return x<.5?pow(2*x,2)*((c2+1)*2*x-c2)/2:(pow(2*x-2,2)*((c2+1)*(x*2-2)+c2)+2)/2},easeInBounce:function(x){return 1-bounceOut(1-x)},easeOutBounce:bounceOut,easeInOutBounce:function(x){return x<.5?(1-bounceOut(1-2*x))/2:(1+bounceOut(2*x-1))/2}}),$});
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/jquery.mousewheel.min.js?ver=2.11.5 
(function($){function handler(event){var orgEvent=event||window.event,args=[].slice.call(arguments,1),delta=0,returnValue=!0,deltaX=0,deltaY=0;return event=$.event.fix(orgEvent),event.type="mousewheel",orgEvent.wheelDelta&&(delta=orgEvent.wheelDelta/120),orgEvent.detail&&(delta=-orgEvent.detail/3),deltaY=delta,orgEvent.axis!==undefined&&orgEvent.axis===orgEvent.HORIZONTAL_AXIS&&(deltaY=0,deltaX=-1*delta),orgEvent.wheelDeltaY!==undefined&&(deltaY=orgEvent.wheelDeltaY/120),orgEvent.wheelDeltaX!==undefined&&(deltaX=-1*orgEvent.wheelDeltaX/120),args.unshift(event,delta,deltaX,deltaY),($.event.dispatch||$.event.handle).apply(this,args)}var types=["DOMMouseScroll","mousewheel"];if($.event.fixHooks)for(var i=types.length;i;)$.event.fixHooks[types[--i]]=$.event.mouseHooks;$.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var i=types.length;i;)this.addEventListener(types[--i],handler,!1);else this.onmousewheel=handler},teardown:function(){if(this.removeEventListener)for(var i=types.length;i;)this.removeEventListener(types[--i],handler,!1);else this.onmousewheel=null}},$.fn.extend({mousewheel:function(fn){return fn?this.bind("mousewheel",fn):this.trigger("mousewheel")},unmousewheel:function(fn){return this.unbind("mousewheel",fn)}})})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/jquery.sticky-kit.min.js?ver=2.11.5 
(function(){var $,win;$=this.jQuery||window.jQuery,win=$(window),$.fn.stick_in_parent=function(opts){var doc,elm,enable_bottoming,fn,i,inner_scrolling,len,manual_spacer,offset_top,outer_width,parent_selector,recalc_every,sticky_class;opts==null&&(opts={}),sticky_class=opts.sticky_class,inner_scrolling=opts.inner_scrolling,recalc_every=opts.recalc_every,parent_selector=opts.parent,offset_top=opts.offset_top,manual_spacer=opts.spacer,enable_bottoming=opts.bottoming,offset_top==null&&(offset_top=0),parent_selector==null&&(parent_selector=void 0),inner_scrolling==null&&(inner_scrolling=!0),sticky_class==null&&(sticky_class="is_stuck"),doc=$(document),enable_bottoming==null&&(enable_bottoming=!0),outer_width=function(el){var _el,computed,w;return window.getComputedStyle?(_el=el[0],computed=window.getComputedStyle(el[0]),w=parseFloat(computed.getPropertyValue("width"))+parseFloat(computed.getPropertyValue("margin-left"))+parseFloat(computed.getPropertyValue("margin-right")),computed.getPropertyValue("box-sizing")!=="border-box"&&(w+=parseFloat(computed.getPropertyValue("border-left-width"))+parseFloat(computed.getPropertyValue("border-right-width"))+parseFloat(computed.getPropertyValue("padding-left"))+parseFloat(computed.getPropertyValue("padding-right"))),w):el.outerWidth(!0)},fn=function(elm,padding_bottom,parent_top,parent_height,top,height,el_float,detached){var bottomed,detach,fixed,last_pos,last_scroll_height,offset,parent,recalc,recalc_and_tick,recalc_counter,spacer,tick;if(elm.data("sticky_kit"))return;elm.data("sticky_kit",!0),last_scroll_height=doc.height(),parent=elm.parent(),parent_selector!=null&&(parent=parent.closest(parent_selector));if(!parent.length)throw"failed to find stick parent";fixed=!1,bottomed=!1,spacer=manual_spacer!=null?manual_spacer&&elm.closest(manual_spacer):$("<div />"),spacer&&spacer.css("position",elm.css("position")),recalc=function(){var border_top,padding_top,restore;if(detached)return;last_scroll_height=doc.height(),border_top=parseInt(parent.css("border-top-width"),10),padding_top=parseInt(parent.css("padding-top"),10),padding_bottom=parseInt(parent.css("padding-bottom"),10),parent_top=parent.offset().top+border_top+padding_top,parent_height=parent.height(),fixed&&(fixed=!1,bottomed=!1,manual_spacer==null&&(elm.insertAfter(spacer),spacer.detach()),elm.css({position:"",top:"",width:"",bottom:""}).removeClass(sticky_class),restore=!0),top=elm.offset().top-(parseInt(elm.css("margin-top"),10)||0)-offset_top,height=elm.outerHeight(!0),el_float=elm.css("float"),spacer&&spacer.css({width:outer_width(elm),height:height,display:elm.css("display"),"vertical-align":elm.css("vertical-align"),"float":el_float});if(restore)return tick()},recalc();if(height===parent_height)return;return last_pos=void 0,offset=offset_top,recalc_counter=recalc_every,tick=function(){var css,delta,recalced,scroll,will_bottom,win_height;if(detached)return;recalced=!1,recalc_counter!=null&&(recalc_counter-=1,recalc_counter<=0&&(recalc_counter=recalc_every,recalc(),recalced=!0)),!recalced&&doc.height()!==last_scroll_height&&(recalc(),recalced=!0),scroll=win.scrollTop(),last_pos!=null&&(delta=scroll-last_pos),last_pos=scroll,fixed?(enable_bottoming&&(will_bottom=scroll+height+offset>parent_height+parent_top,bottomed&&!will_bottom&&(bottomed=!1,elm.css({position:"fixed",bottom:"",top:offset}).trigger("sticky_kit:unbottom"))),scroll<top&&(fixed=!1,offset=offset_top,manual_spacer==null&&((el_float==="left"||el_float==="right")&&elm.insertAfter(spacer),spacer.detach()),css={position:"",width:"",top:""},elm.css(css).removeClass(sticky_class).trigger("sticky_kit:unstick")),inner_scrolling&&(win_height=win.height(),height+offset_top>win_height&&(bottomed||(offset-=delta,offset=Math.max(win_height-height,offset),offset=Math.min(offset_top,offset),fixed&&elm.css({top:offset+"px"}))))):scroll>top&&(fixed=!0,css={position:"fixed",top:offset},css.width=elm.css("box-sizing")==="border-box"?elm.outerWidth()+"px":elm.width()+"px",elm.css(css).addClass(sticky_class),manual_spacer==null&&(elm.after(spacer),(el_float==="left"||el_float==="right")&&spacer.append(elm)),elm.trigger("sticky_kit:stick"));if(fixed&&enable_bottoming){will_bottom==null&&(will_bottom=scroll+height+offset>parent_height+parent_top);if(!bottomed&&will_bottom)return bottomed=!0,parent.css("position")==="static"&&parent.css({position:"relative"}),elm.css({position:"absolute",bottom:padding_bottom,top:"auto"}).trigger("sticky_kit:bottom")}},recalc_and_tick=function(){return recalc(),tick()},detach=function(){detached=!0,win.off("touchmove",tick),win.off("scroll",tick),win.off("resize",recalc_and_tick),$(document.body).off("sticky_kit:recalc",recalc_and_tick),elm.off("sticky_kit:detach",detach),elm.removeData("sticky_kit"),elm.css({position:"",bottom:"",top:"",width:""}),parent.position("position","");if(fixed)return manual_spacer==null&&((el_float==="left"||el_float==="right")&&elm.insertAfter(spacer),spacer.remove()),elm.removeClass(sticky_class)},win.on("touchmove",tick),win.on("scroll",tick),win.on("resize",recalc_and_tick),$(document.body).on("sticky_kit:recalc",recalc_and_tick),elm.on("sticky_kit:detach",detach),setTimeout(tick,0)};for(i=0,len=this.length;i<len;i++)elm=this[i],fn($(elm));return this}}).call(this);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/stickyElements.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.stickyElements=function(){var isMobile_wide=UNCODE.isMobile&&UNCODE.wwidth<1024;if(!isMobile_wide){var $pageHeader=$("#page-header"),$headerRow=$(".vc_row",$pageHeader),$headerSection=$headerRow.closest("section[data-parent]"),startSticky=!1;$headerRow.hasClass("sticky-element")&&!$headerSection.length&&($headerRow.removeClass("sticky-element"),$pageHeader.addClass("sticky-element"),startSticky=!0);var calculateOffset=function(el){var getRowPadding=$(el).hasClass("with-bg")?0:$(el).closest(".row-parent").css("padding-top"),sideOffset=getRowPadding!=undefined&&getRowPadding!=0?parseInt(getRowPadding.replace("px","")):0,shrink=typeof $(".navbar-brand").data("padding-shrink")!="undefined"?$(".navbar-brand").data("padding-shrink")*2:0,elTop=window.pageYOffset+el.getBoundingClientRect().top;return sideOffset+=UNCODE.bodyBorder,UNCODE.adminBarHeight>0&&(sideOffset+=UNCODE.adminBarHeight),$(".menu-sticky .menu-container:not(.menu-hide)").length&&elTop>sideOffset&&($(".menu-shrink").length?sideOffset+=parseFloat($(".navbar-brand").data("minheight"))+shrink:sideOffset+=$("body.hmenu-center").length?$("#masthead .menu-container").outerHeight():parseInt(UNCODE.menuMobileHeight)),sideOffset},initStickyElement=function($els){if($("body").hasClass("vc-safe-mode"))return!0;typeof $els=="undefined"&&($els=$(".sticky-element")),$.each($els,function(index,element){if($(element).closest(".tab-pane").length){var $paneParent=$(element).closest(".tab-pane");if(!$paneParent.hasClass("active"))return!0}$(element).stick_in_parent({sticky_class:"is_stucked",offset_top:calculateOffset(element),bottoming:!0,inner_scrolling:SiteParameters.sticky_elements==="on"})})},oldW=UNCODE.wwidth,oldH=UNCODE.wHeight;requestTimeout(function(){$(".sticky-element").length&&($(window).width()>UNCODE.mediaQuery&&(initStickyElement(),startSticky===!0&&$("#page-header").trigger("sticky_kit:recalc")),$(window).on("resize lateral_resize",function(event){if(oldW!==UNCODE.wwidth||oldH!==UNCODE.wHeight)$(".sticky-element").trigger("sticky_kit:detach"),$(window).width()>UNCODE.mediaQuery&&initStickyElement(),oldW=UNCODE.wwidth,oldH=UNCODE.wHeight}))},1e3),$(".sticky-element").length&&$(window).on("uncode_wc_variation_gallery_loaded",function(event){requestTimeout(function(){$(document.body).trigger("sticky_kit:recalc")},100)});var $panels=$(".panel-collapse");$panels.length&&$panels.each(function(){var $panel=$(this);$panel.on("shown.bs.collapse hidden.bs.collapse",function(){$(document.body).trigger("sticky_kit:recalc")})}),$(".nav-tabs a").on("shown.bs.tab",function(e){var $tabs=$(e.target).closest(".tab-container"),$panel=$(".tab-pane.active",$tabs),$els=$(e.target).nextAll(".sticky-element");$els.trigger("sticky_kit:detach"),initStickyElement($els)}),$(window).on("vc-safe-mode-on",function(){$(".sticky-element").trigger("sticky_kit:detach")}),$(window).on("vc-safe-mode-off",function(){initStickyElement()})}}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/transition.min.js?ver=2.11.5 
+function($){"use strict";function transitionEnd(){var el=document.createElement("bootstrap"),transEndEventNames={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var name in transEndEventNames)if(el.style[name]!==undefined)return{end:transEndEventNames[name]};return!1}$.fn.emulateTransitionEnd=function(duration){var called=!1,$el=this;$(this).one($.support.transition.end,function(){called=!0});var callback=function(){called||$($el).trigger($.support.transition.end)};return setTimeout(callback,duration),this},$(function(){$.support.transition=transitionEnd()})}(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/lib/rellax.min.js?ver=2.11.5 
(function(root,factory){typeof define=="function"&&define.amd?define([],factory):typeof module=="object"&&module.exports?module.exports=factory():root.Rellax=factory()})(typeof window!="undefined"?window:global,function(){var Rellax=function(el,options){"use strict";function validateCustomBreakpoints(){if(self.options.breakpoints.length===3&&Array.isArray(self.options.breakpoints)){var isAscending=!0,isNumerical=!0,lastVal;self.options.breakpoints.forEach(function(i){typeof i!="number"&&(isNumerical=!1),lastVal!==null&&i<lastVal&&(isAscending=!1),lastVal=i});if(isAscending&&isNumerical)return}self.options.breakpoints=[576,768,1201],console.warn("Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted")}var self=Object.create(Rellax.prototype),posY=0,screenY=0,posX=0,screenX=0,blocks=[],pause=!0,loop=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(callback){return setTimeout(callback,1e3/60)},loopId=null,supportsPassive=!1;try{var opts=Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}});window.addEventListener("testPassive",null,opts),window.removeEventListener("testPassive",null,opts)}catch(e){}var clearLoop=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,transformProp=window.transformProp||function(){var testEl=document.createElement("div");if(testEl.style.transform===null){var vendors=["Webkit","Moz","ms"];for(var vendor in vendors)if(testEl.style[vendors[vendor]+"Transform"]!==undefined)return vendors[vendor]+"Transform"}return"transform"}();self.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,breakpoints:[576,768,1201],center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}},options&&Object.keys(options).forEach(function(key){self.options[key]=options[key]}),options&&options.breakpoints&&validateCustomBreakpoints(),el||(el=".rellax");var elements=typeof el=="string"?document.querySelectorAll(el):[el];if(elements.length>0){self.elems=elements;if(self.options.wrapper&&!self.options.wrapper.nodeType){var wrapper=document.querySelector(self.options.wrapper);if(!wrapper){console.warn("Rellax: The wrapper you're trying to use doesn't exist.");return}self.options.wrapper=wrapper}var currentBreakpoint,getCurrentBreakpoint=function(w){var bp=self.options.breakpoints;return w<bp[0]?"xs":w>=bp[0]&&w<bp[1]?"sm":w>=bp[1]&&w<bp[2]?"md":"lg"},cacheBlocks=function(){for(var i=0;i<self.elems.length;i++){var block=createBlock(self.elems[i]);blocks.push(block)}},init=function(){for(var i=0;i<blocks.length;i++)self.elems[i].style.cssText=blocks[i].style;blocks=[],screenY=window.innerHeight,screenX=window.innerWidth,currentBreakpoint=getCurrentBreakpoint(screenX),setPosition(),cacheBlocks(),animate(),pause&&(window.addEventListener("resize",init),pause=!1,update())},createBlock=function(el){var dataPercentage=el.getAttribute("data-rellax-percentage"),dataSpeed=el.getAttribute("data-rellax-speed"),dataXsSpeed=el.getAttribute("data-rellax-xs-speed"),dataMobileSpeed=el.getAttribute("data-rellax-mobile-speed"),dataTabletSpeed=el.getAttribute("data-rellax-tablet-speed"),dataDesktopSpeed=el.getAttribute("data-rellax-desktop-speed"),dataVerticalSpeed=el.getAttribute("data-rellax-vertical-speed"),dataHorizontalSpeed=el.getAttribute("data-rellax-horizontal-speed"),dataVericalScrollAxis=el.getAttribute("data-rellax-vertical-scroll-axis"),dataHorizontalScrollAxis=el.getAttribute("data-rellax-horizontal-scroll-axis"),dataZindex=el.getAttribute("data-rellax-zindex")||0,dataMin=el.getAttribute("data-rellax-min"),dataMax=el.getAttribute("data-rellax-max"),dataMinX=el.getAttribute("data-rellax-min-x"),dataMaxX=el.getAttribute("data-rellax-max-x"),dataMinY=el.getAttribute("data-rellax-min-y"),dataMaxY=el.getAttribute("data-rellax-max-y"),mapBreakpoints,breakpoints=!0;!dataXsSpeed&&!dataMobileSpeed&&!dataTabletSpeed&&!dataDesktopSpeed?breakpoints=!1:mapBreakpoints={xs:dataXsSpeed,sm:dataMobileSpeed,md:dataTabletSpeed,lg:dataDesktopSpeed};var wrapperPosY=self.options.wrapper?self.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;if(self.options.relativeToWrapper){var scrollPosY=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;wrapperPosY=scrollPosY-self.options.wrapper.offsetTop}var posY=self.options.vertical?dataPercentage||self.options.center?wrapperPosY:0:0,posX=self.options.horizontal?dataPercentage||self.options.center?self.options.wrapper?self.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0:0,blockTop=posY+el.getBoundingClientRect().top,blockHeight=el.clientHeight||el.offsetHeight||el.scrollHeight,blockLeft=posX+el.getBoundingClientRect().left,blockWidth=el.clientWidth||el.offsetWidth||el.scrollWidth,percentageY=dataPercentage?dataPercentage:(posY-blockTop+screenY)/(blockHeight+screenY),percentageX=dataPercentage?dataPercentage:(posX-blockLeft+screenX)/(blockWidth+screenX);self.options.center&&(percentageX=.5,percentageY=.5);var speed=breakpoints&&mapBreakpoints[currentBreakpoint]!==null?Number(mapBreakpoints[currentBreakpoint]):dataSpeed?dataSpeed:self.options.speed,verticalSpeed=dataVerticalSpeed?dataVerticalSpeed:self.options.verticalSpeed,horizontalSpeed=dataHorizontalSpeed?dataHorizontalSpeed:self.options.horizontalSpeed,verticalScrollAxis=dataVericalScrollAxis?dataVericalScrollAxis:self.options.verticalScrollAxis,horizontalScrollAxis=dataHorizontalScrollAxis?dataHorizontalScrollAxis:self.options.horizontalScrollAxis,bases=updatePosition(percentageX,percentageY,speed,verticalSpeed,horizontalSpeed),style=el.style.cssText,transform="",searchResult=/transform\s*:/i.exec(style);if(searchResult){var index=searchResult.index,trimmedStyle=style.slice(index),delimiter=trimmedStyle.indexOf(";");delimiter?transform=" "+trimmedStyle.slice(11,delimiter).replace(/\s/g,""):transform=" "+trimmedStyle.slice(11).replace(/\s/g,"")}return{baseX:bases.x,baseY:bases.y,top:blockTop,left:blockLeft,height:blockHeight,width:blockWidth,speed:speed,verticalSpeed:verticalSpeed,horizontalSpeed:horizontalSpeed,verticalScrollAxis:verticalScrollAxis,horizontalScrollAxis:horizontalScrollAxis,style:style,transform:transform,zindex:dataZindex,min:dataMin,max:dataMax,minX:dataMinX,maxX:dataMaxX,minY:dataMinY,maxY:dataMaxY}},setPosition=function(){var oldY=posY,oldX=posX;posY=self.options.wrapper?self.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset,posX=self.options.wrapper?self.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||document.body).scrollLeft||window.pageXOffset;if(self.options.relativeToWrapper){var scrollPosY=(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset;posY=scrollPosY-self.options.wrapper.offsetTop}return oldY!=posY&&self.options.vertical?!0:oldX!=posX&&self.options.horizontal?!0:!1},updatePosition=function(percentageX,percentageY,speed,verticalSpeed,horizontalSpeed){var result={},valueX=(horizontalSpeed?horizontalSpeed:speed)*100*(1-percentageX),valueY=(verticalSpeed?verticalSpeed:speed)*100*(1-percentageY);return result.x=self.options.round?Math.round(valueX):Math.round(valueX*100)/100,result.y=self.options.round?Math.round(valueY):Math.round(valueY*100)/100,result},deferredUpdate=function(){window.removeEventListener("resize",deferredUpdate),window.removeEventListener("orientationchange",deferredUpdate),(self.options.wrapper?self.options.wrapper:window).removeEventListener("scroll",deferredUpdate),(self.options.wrapper?self.options.wrapper:document).removeEventListener("touchmove",deferredUpdate),loopId=loop(update)},update=function(){setPosition()&&pause===!1?(animate(),loopId=loop(update)):(loopId=null,window.addEventListener("resize",deferredUpdate),window.addEventListener("orientationchange",deferredUpdate),(self.options.wrapper?self.options.wrapper:window).addEventListener("scroll",deferredUpdate,supportsPassive?{passive:!0}:!1),(self.options.wrapper?self.options.wrapper:document).addEventListener("touchmove",deferredUpdate,supportsPassive?{passive:!0}:!1))},animate=function(){var positions;for(var i=0;i<self.elems.length;i++){var verticalScrollAxis=blocks[i].verticalScrollAxis.toLowerCase(),horizontalScrollAxis=blocks[i].horizontalScrollAxis.toLowerCase(),verticalScrollX=verticalScrollAxis.indexOf("x")!=-1?posY:0,verticalScrollY=verticalScrollAxis.indexOf("y")!=-1?posY:0,horizontalScrollX=horizontalScrollAxis.indexOf("x")!=-1?posX:0,horizontalScrollY=horizontalScrollAxis.indexOf("y")!=-1?posX:0,percentageY=(verticalScrollY+horizontalScrollY-blocks[i].top+screenY)/(blocks[i].height+screenY),percentageX=(verticalScrollX+horizontalScrollX-blocks[i].left+screenX)/(blocks[i].width+screenX);positions=updatePosition(percentageX,percentageY,blocks[i].speed,blocks[i].verticalSpeed,blocks[i].horizontalSpeed);var positionY=positions.y-blocks[i].baseY,positionX=positions.x-blocks[i].baseX;blocks[i].min!==null&&(self.options.vertical&&!self.options.horizontal&&(positionY=positionY<=blocks[i].min?blocks[i].min:positionY),self.options.horizontal&&!self.options.vertical&&(positionX=positionX<=blocks[i].min?blocks[i].min:positionX)),blocks[i].minY!=null&&(positionY=positionY<=blocks[i].minY?blocks[i].minY:positionY),blocks[i].minX!=null&&(positionX=positionX<=blocks[i].minX?blocks[i].minX:positionX),blocks[i].max!==null&&(self.options.vertical&&!self.options.horizontal&&(positionY=positionY>=blocks[i].max?blocks[i].max:positionY),self.options.horizontal&&!self.options.vertical&&(positionX=positionX>=blocks[i].max?blocks[i].max:positionX)),blocks[i].maxY!=null&&(positionY=positionY>=blocks[i].maxY?blocks[i].maxY:positionY),blocks[i].maxX!=null&&(positionX=positionX>=blocks[i].maxX?blocks[i].maxX:positionX);var zindex=blocks[i].zindex,translate="translate3d("+(self.options.horizontal?positionX:"0")+"px,"+(self.options.vertical?positionY:"0")+"px,"+zindex+"px) "+blocks[i].transform;self.elems[i].style[transformProp]=translate}self.options.callback(positions)};return self.destroy=function(){for(var i=0;i<self.elems.length;i++)self.elems[i].style.cssText=blocks[i].style;pause||(window.removeEventListener("resize",init),pause=!0),clearLoop(loopId),loopId=null},init(),self.refresh=init,self}console.warn("Rellax: The elements you're trying to select don't exist.");return};return Rellax});
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/parallax.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.parallax=function(){if(!UNCODE.isFullPage&&!UNCODE.isFullPageSnap&&(UNCODE.wwidth>UNCODE.mediaQuery||SiteParameters.mobile_parallax_animation==="1")&&$(".parallax-el").length>0){var parallax_elements=new Rellax(".parallax-el");$(document.body).trigger("uncode_parallax_done",parallax_elements),window.addEventListener("boxResized",function(e){parallax_elements.refresh()},!1),$(window).on("uncode_wc_variation_gallery_loaded",function(event){requestTimeout(function(){parallax_elements.refresh()},100)}),typeof UNCODE.hDoc=="undefined"&&(UNCODE.hDoc=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight));function paralraf(time){requestAnimationFrame(paralraf);var newHdoc=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight);UNCODE.hDoc!==newHdoc&&(UNCODE.hDoc=newHdoc,parallax_elements.refresh())}requestAnimationFrame(paralraf)}}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/widgets.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.widgets=function(){var widget_collapses=$(".widget-collapse");widget_collapses.each(function(){var widget_collapse=$(this),widget_title=widget_collapse.find(".widget-title"),widget=widget_title.closest(".widget"),content=widget.children().not(".widget-title"),setCTA;widget_collapse.hasClass("widget-tablet-collapse-open")&&UNCODE.wwidth<=UNCODE.mediaQuery&&UNCODE.wwidth>UNCODE.mediaQueryMobile&&widget_title.toggleClass("open"),widget_title.each(function(){var _this=$(this),content=_this.closest(".widget").find(".widget-collapse-content");$(window).on("load resize",function(){clearRequestTimeout(setCTA),setCTA=requestTimeout(function(){content.is(":visible")?_this.addClass("open"):_this.removeClass("open")},10)}),_this.on("click",function(){var icon_content=window.getComputedStyle(_this[0],":after").getPropertyValue("content");if(icon_content==="none"||!icon_content)return!1;_this.toggleClass("open");var isOpen=_this.hasClass("open"),hasBorder=_this.closest(".widget-no-separator").length?9:27;return content.animate({height:"toggle",padding:"toggle",opacity:"toggle",top:isOpen?0:hasBorder},{duration:400,easing:"easeInOutCirc"}),!1})})});var $widgets_without_title=$(".collapse-init").removeClass("collapse-init")}})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/themes/uncode/library/js/app-loader.min.js?ver=2.11.5 
(function($){"use strict";UNCODE.init=function(){var wfl_check=!1,wfl_request,waypoint_request;UNCODE.preventDoubleTransition(),UNCODE.betterResize(),UNCODE.utils(),UNCODE.unBlockMenu(),UNCODE.mobileMenuBlockSkins(),UNCODE.magnetic(),typeof UNCODE.accessibility!="undefined"&&UNCODE.accessibility(),typeof UNCODE.rowParallax!="undefined"&&UNCODE.rowParallax(),typeof UNCODE.changeSkinOnScroll!="undefined"&&UNCODE.changeSkinOnScroll(),typeof UNCODE.share!="undefined"&&UNCODE.share(),typeof UNCODE.tooltip!="undefined"&&UNCODE.tooltip(),typeof UNCODE.counters!="undefined"&&UNCODE.counters(),typeof UNCODE.countdowns!="undefined"&&UNCODE.countdowns(),typeof UNCODE.tabs!="undefined"&&UNCODE.tabs(),typeof UNCODE.collapse!="undefined"&&UNCODE.collapse(),typeof UNCODE.bigText!="undefined"&&UNCODE.bigText(),UNCODE.menuSystem(),typeof UNCODE.bgChanger!="undefined"&&UNCODE.bgChanger(),typeof UNCODE.magicCursor!="undefined"&&UNCODE.magicCursor(),typeof UNCODE.magneticCursor!="undefined"&&UNCODE.magneticCursor(),typeof UNCODE.dropImage!="undefined"&&UNCODE.dropImage(),typeof UNCODE.postTable!="undefined"&&UNCODE.postTable(),typeof UNCODE.rotatingTxt!="undefined"&&UNCODE.rotatingTxt(),typeof UNCODE.okvideo!="undefined"&&(UNCODE.okvideo(),window.addEventListener("uncode-more-items-loaded",function(){UNCODE.okvideo("uncode-more-items-loaded")})),typeof UNCODE.backgroundSelfVideos!="undefined"&&UNCODE.backgroundSelfVideos(),UNCODE.tapHover(),typeof UNCODE.isotopeLayout!="undefined"&&UNCODE.isotopeLayout(),typeof UNCODE.justifiedGallery!="undefined"&&UNCODE.justifiedGallery(),typeof UNCODE.cssGrid!="undefined"&&UNCODE.cssGrid(),typeof UNCODE.linearGrid!="undefined"&&UNCODE.linearGrid(),typeof UNCODE.lightbox!="undefined"&&!SiteParameters.lbox_enhanced&&UNCODE.lightbox(),typeof UNCODE.lightgallery!="undefined"&&SiteParameters.lbox_enhanced&&$(window).on("load more-items-loaded",function(){UNCODE.lightgallery()}),typeof UNCODE.carousel!="undefined"&&UNCODE.carousel($("body")),typeof UNCODE.lettering!="undefined"&&UNCODE.lettering(),UNCODE.animations(),typeof UNCODE.stickyElements!="undefined"&&!SiteParameters.is_frontend_editor&&UNCODE.stickyElements(),typeof UNCODE.twentytwenty!="undefined"&&UNCODE.twentytwenty(),UNCODE.disableHoverScroll(),UNCODE.printScreen(),typeof UNCODE.particles!="undefined"&&UNCODE.particles(),typeof UNCODE.filters!="undefined"&&UNCODE.filters(),typeof UNCODE.ajax_filters!="undefined"&&UNCODE.ajax_filters(),typeof UNCODE.widgets!="undefined"&&UNCODE.widgets(),typeof UNCODE.unmodal!="undefined"&&UNCODE.unmodal(),typeof UNCODE.checkScrollForTabs!="undefined"&&(UNCODE.isFullPage||UNCODE.checkScrollForTabs()),typeof UNCODE.onePage!="undefined"&&UNCODE.onePage(UNCODE.isMobile),typeof UNCODE.fullPage!="undefined"&&$(document).ready(function(){UNCODE.fullPage()}),typeof UNCODE.skewIt!="undefined"&&UNCODE.skewIt(),typeof UNCODE.rotateIt!="undefined"&&UNCODE.rotateIt(),typeof UNCODE.textMarquee!="undefined"&&UNCODE.textMarquee(),typeof UNCODE.stickyScroll!="undefined"&&UNCODE.stickyScroll(),typeof UNCODE.stickyTrigger!="undefined"&&UNCODE.stickyTrigger(),typeof UNCODE.areaTextReveal!="undefined"&&UNCODE.areaTextReveal(),typeof UNCODE.thumbsReveal!="undefined"&&UNCODE.thumbsReveal(),typeof UNCODE.verticalText!="undefined"&&UNCODE.verticalText(),typeof UNCODE.videoThumbs!="undefined"&&UNCODE.videoThumbs(),typeof UNCODE.revslider!="undefined"&&UNCODE.revslider(),typeof UNCODE.layerslider!="undefined"&&UNCODE.layerslider(),typeof UNCODE.lottie!="undefined"&&UNCODE.lottie(),typeof UNCODE.inlineImgs!="undefined"&&UNCODE.inlineImgs(),typeof UNCODE.animatedBgGradient!="undefined"&&UNCODE.animatedBgGradient(),typeof UNCODE.readMoreCol!="undefined"&&UNCODE.readMoreCol(),typeof UNCODE.multibg!="undefined"&&UNCODE.multibg(),typeof UNCODE.flexEqual!="undefined"&&UNCODE.flexEqual(),$(window).on("load",function(){clearRequestTimeout(waypoint_request),waypoint_request=requestTimeout(function(){Waypoint.refreshAll()},1e3)}),$(window).one("load",function(){typeof UNCODE.parallax!="undefined"&&UNCODE.parallax()})},SiteParameters.is_frontend_editor||UNCODE.init()})(jQuery);
// source --> https://ssm-brands-sports.com/wp-content/plugins/google-site-kit/dist/assets/js/googlesitekit-events-provider-contact-form-7-08e8756782316cb65854.js 
(()=>{"use strict";const e="email",t="phone",n="name",l={[e]:["email","e-mail","mail","email address"],[t]:["phone","tel","mobile","cell","telephone","phone number"],[n]:["name","full-name","full name","full_name","fullname","first-name","first name","first_name","firstname","last-name","last name","last_name","lastname","given-name","given name","given_name","givenname","family-name","family name","family_name","familyname","fname","lname","first","last","your-name","your name"]};function r(e){return e&&"string"==typeof e?e.trim().toLowerCase():""}function a(e){const t=r(e),n=t.lastIndexOf("@");if(-1===n)return t;const l=t.slice(n+1);return["gmail.com","googlemail.com"].includes(l)?`${t.slice(0,n).replace(/\./g,"")}@${l}`:t}function i(e){const t=r(e),n=t.replace(/\D/g,"");return t.startsWith("+")?`+${n}`:n}function s(e){const t=e.filter(e=>{let{type:t}=e;return t===n}).map(e=>{let{value:t}=e;return r(t)}).filter(Boolean);if(!t.length)return;const[l,...a]=1===t.length?t[0].split(" "):t;return{first_name:l,...a?.length>0?{last_name:a.join(" ")}:{}}}function u(t){return t.find(t=>{let{type:n}=t;return n===e})?.value}function o(e){return e.find(e=>{let{type:n}=e;return n===t})?.value}globalThis.document.addEventListener("wpcf7mailsent",m=>{const c=globalThis._googlesitekit?.gtagUserData,f=c?function(m){if(!(m&&m instanceof HTMLFormElement))return;const c=new FormData(m);return function(e){const t=[["address",s(e)],["email",u(e)],["phone_number",o(e)]].filter(e=>{let[,t]=e;return t});if(0!==t.length)return Object.fromEntries(t)}(Array.from(c.entries()).map(s=>{let[u,o]=s;const c=m.querySelector(`[name='${u}']`),f=c?.type;return"hidden"===f||"submit"===f?null:function(s){let{type:u,name:o,value:m,label:c}=s||{};switch(u=r(u),o=r(o),m=r(m),c=function(e){return e&&"string"==typeof e?e.trim().toLowerCase().replace(/\s*\*+\s*$/,"").replace(/\s*\(required\)\s*$/i,"").replace(/\s*:\s*$/,"").trim():""}(c),u){case"email":return{type:e,value:a(m)};case"tel":return{type:t,value:i(m)}}return function(e){if(!e)return!1;const t=a(e);return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)}(m)||l[e].includes(o)||l[e].includes(c)?{type:e,value:a(m)}:l[t].includes(o)||l[t].includes(c)?{type:t,value:i(m)}:l[n].includes(o)||l[n].includes(c)?{type:n,value:r(m)}:function(e){if(!e)return!1;if(!function(e){const t=e.replace(/\D/g,"");return!(t.length<7||t.length<e.length/2)&&/^[\s\-()+.\d]*$/.test(e)}(e))return!1;const t=i(e);if(!/^\+?\d{7,}$/.test(t))return!1;const n=/[\s\-()+.]/.test(e),l=e.trim().startsWith("+");return!(!n&&!l)}(m)?{type:t,value:i(m)}:null}({type:f,label:c?.id?m.querySelector(`label[for='${c?.id}']`)?.textContent:void 0,name:u,value:o})}).filter(Boolean))}(m.target):null;globalThis._googlesitekit?.gtagEvent?.("contact",{event_category:m.detail.contactFormId,event_label:m.detail.unitTag,...f?{user_data:f}:{}})})})();
// source --> https://ssm-brands-sports.com/wp-content/themes/ssm-brands-sports/extensions/assets/custom_theme_script.min.js?ver=2021-08-09 
function wpcf7Checkbox(){jQuery('.wpcf7-checkbox .wpcf7-list-item-label').each(function(){jQuery(this).click(function(){jQuery(this).prev('input[type=checkbox]').click()})})}
function deactPanel(rowID){jQuery(rowID+' .wpb_column').each(function(){jQuery(this).find('.panel-title.active').removeClass('active');jQuery(this).find('a.active').removeClass('active');jQuery(this).find('.in').removeClass('in')})}
function getFilename(){jQuery('#ssm_form input[type="file"]').change(function(e){let fileName=e.target.files[0].name;jQuery('.ssm_fileallowed').text(fileName)})}
function addScrollDown(){let thisStage=jQuery('#ssm_stage');if(thisStage.length){thisStage.append('<div id="ssm_arrow"><a href="#"><i class="fa fa-angle-down fa-dropdown"></i></a></div>');jQuery('#ssm_arrow a').click(function(){jQuery('html, body').animate({scrollTop:jQuery('.vc_row:eq(2)').offset().top-100},800)})}}
jQuery(window).load(function(){wpcf7Checkbox();deactPanel('#ssm_courts');getFilename();addScrollDown();jQuery('.mobile-search-icon').click(function(){jQuery('.overlay').addClass('open')})});