// source --> http://www.globalsteelfabrications.co.uk/wp-content/themes/dt-the7/js/above-the-fold.min.js?ver=0af7cb3c57e9efada21f66eb594bae0d window.Modernizr=function(e,t,n){function r(e){y.cssText=e}function o(e,t){return typeof e===t}function i(e,t){return!!~(""+e).indexOf(t)}function a(e,t){for(var r in e){var o=e[r];if(!i(o,"-")&&y[o]!==n)return"pfx"==t?o:!0}return!1}function s(e,t,r){for(var i in e){var a=t[e[i]];if(a!==n)return r===!1?e[i]:o(a,"function")?a.bind(r||t):a}return!1}function c(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+w.join(r+" ")+r).split(" ");return o(t,"string")||o(t,"undefined")?a(i,t):(i=(e+" "+C.join(r+" ")+r).split(" "),s(i,t,n))}var l,u,d,f="2.6.2",p={},m=!0,h=t.documentElement,g="modernizr",v=t.createElement(g),y=v.style,b=({}.toString," -webkit- -moz- -o- -ms- ".split(" ")),E="Webkit Moz O ms",w=E.split(" "),C=E.toLowerCase().split(" "),j={},x=[],S=x.slice,M=function(e,n,r,o){var i,a,s,c,l=t.createElement("div"),u=t.body,d=u||t.createElement("body");if(parseInt(r,10))for(;r--;)s=t.createElement("div"),s.id=o?o[r]:g+(r+1),l.appendChild(s);return i=["­",'"].join(""),l.id=g,(u?l:d).innerHTML+=i,d.appendChild(l),u||(d.style.background="",d.style.overflow="hidden",c=h.style.overflow,h.style.overflow="hidden",h.appendChild(d)),a=n(l,e),u?l.parentNode.removeChild(l):(d.parentNode.removeChild(d),h.style.overflow=c),!!a},P={}.hasOwnProperty;d=o(P,"undefined")||o(P.call,"undefined")?function(e,t){return t in e&&o(e.constructor.prototype[t],"undefined")}:function(e,t){return P.call(e,t)},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if("function"!=typeof t)throw new TypeError;var n=S.call(arguments,1),r=function(){if(this instanceof r){var o=function(){};o.prototype=t.prototype;var i=new o,a=t.apply(i,n.concat(S.call(arguments)));return Object(a)===a?a:i}return t.apply(e,n.concat(S.call(arguments)))};return r}),j.touch=function(){var n;return"ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch?n=!0:M(["@media (",b.join("touch-enabled),("),g,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){n=9===e.offsetTop}),n},j.cssanimations=function(){return c("animationName")},j.csstransforms=function(){return!!c("transform")},j.csstransforms3d=function(){var e=!!c("perspective");return e&&"webkitPerspective"in h.style&&M("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(t){e=9===t.offsetLeft&&3===t.offsetHeight}),e},j.csstransitions=function(){return c("transition")};for(var A in j)d(j,A)&&(u=A.toLowerCase(),p[u]=j[A](),x.push((p[u]?"":"no-")+u));return p.addTest=function(e,t){if("object"==typeof e)for(var r in e)d(e,r)&&p.addTest(r,e[r]);else{if(e=e.toLowerCase(),p[e]!==n)return p;t="function"==typeof t?t():t,"undefined"!=typeof m&&m&&(h.className+=" "+(t?"":"no-")+e),p[e]=t}return p},r(""),v=l=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=v.elements;return"string"==typeof e?e.split(" "):e}function o(e){var t=g[e[m]];return t||(t={},h++,e[m]=h,g[h]=t),t}function i(e,n,r){if(n||(n=t),u)return n.createElement(e);r||(r=o(n));var i;return i=r.cache[e]?r.cache[e].cloneNode():p.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e),i.canHaveChildren&&!f.test(e)?r.frag.appendChild(i):i}function a(e,n){if(e||(e=t),u)return e.createDocumentFragment();n=n||o(e);for(var i=n.frag.cloneNode(),a=0,s=r(),c=s.length;c>a;a++)i.createElement(s[a]);return i}function s(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return v.shivMethods?i(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+r().join().replace(/\w+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(v,t.frag)}function c(e){e||(e=t);var r=o(e);return v.shivCSS&&!l&&!r.hasCSS&&(r.hasCSS=!!n(e,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),u||s(e,r),e}var l,u,d=e.html5||{},f=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,m="_html5shiv",h=0,g={};!function(){try{var e=t.createElement("a");e.innerHTML="",l="hidden"in e,u=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return"undefined"==typeof e.cloneNode||"undefined"==typeof e.createDocumentFragment||"undefined"==typeof e.createElement}()}catch(n){l=!0,u=!0}}();var v={elements:d.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:d.shivCSS!==!1,supportsUnknownElements:u,shivMethods:d.shivMethods!==!1,type:"default",shivDocument:c,createElement:i,createDocumentFragment:a};e.html5=v,c(t)}(this,t),p._version=f,p._prefixes=b,p._domPrefixes=C,p._cssomPrefixes=w,p.testProp=function(e){return a([e])},p.testAllProps=c,p.testStyles=M,p.prefixed=function(e,t,n){return t?c(e,t,n):c(e,"pfx")},h.className=h.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(m?" js "+x.join(" "):""),p}(this,this.document),function(e,t,n){function r(e){return"[object Function]"==g.call(e)}function o(e){return"string"==typeof e}function i(){}function a(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function s(){var e=v.shift();y=1,e?e.t?m(function(){("c"==e.t?f.injectCss:f.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),s()):y=0}function c(e,n,r,o,i,c,l){function u(t){if(!p&&a(d.readyState)&&(b.r=p=1,!y&&s(),d.onload=d.onreadystatechange=null,t)){"img"!=e&&m(function(){w.removeChild(d)},50);for(var r in M[n])M[n].hasOwnProperty(r)&&M[n][r].onload()}}var l=l||f.errorTimeout,d=t.createElement(e),p=0,g=0,b={t:r,s:n,e:i,a:c,x:l};1===M[n]&&(g=1,M[n]=[]),"object"==e?d.data=n:(d.src=n,d.type=e),d.width=d.height="0",d.onerror=d.onload=d.onreadystatechange=function(){u.call(this,g)},v.splice(o,0,b),"img"!=e&&(g||2===M[n]?(w.insertBefore(d,E?null:h),m(u,l)):M[n].push(d))}function l(e,t,n,r,i){return y=0,t=t||"j",o(e)?c("c"==t?j:C,e,t,this.i++,n,r,i):(v.splice(this.i++,0,e),1==v.length&&s()),this}function u(){var e=f;return e.loader={load:l,i:0},e}var d,f,p=t.documentElement,m=e.setTimeout,h=t.getElementsByTagName("script")[0],g={}.toString,v=[],y=0,b="MozAppearance"in p.style,E=b&&!!t.createRange().compareNode,w=E?p:h.parentNode,p=e.opera&&"[object Opera]"==g.call(e.opera),p=!!t.attachEvent&&!p,C=b?"object":p?"script":"img",j=p?"script":C,x=Array.isArray||function(e){return"[object Array]"==g.call(e)},S=[],M={},P={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}};f=function(e){function t(e){var t,n,r,e=e.split("!"),o=S.length,i=e.pop(),a=e.length,i={url:i,origUrl:i,prefixes:e};for(n=0;a>n;n++)r=e[n].split("="),(t=P[r.shift()])&&(i=t(i,r));for(n=0;o>n;n++)i=S[n](i);return i}function a(e,o,i,a,s){var c=t(e),l=c.autoCallback;c.url.split(".").pop().split("?").shift(),c.bypass||(o&&(o=r(o)?o:o[e]||o[a]||o[e.split("/").pop().split("?")[0]]),c.instead?c.instead(e,o,i,a,s):(M[c.url]?c.noexec=!0:M[c.url]=1,i.load(c.url,c.forceCSS||!c.forceJS&&"css"==c.url.split(".").pop().split("?").shift()?"c":n,c.noexec,c.attrs,c.timeout),(r(o)||r(l))&&i.load(function(){u(),o&&o(c.origUrl,s,a),l&&l(c.origUrl,s,a),M[c.url]=2})))}function s(e,t){function n(e,n){if(e){if(o(e))n||(d=function(){var e=[].slice.call(arguments);f.apply(this,e),p()}),a(e,d,t,0,l);else if(Object(e)===e)for(c in s=function(){var t,n=0;for(t in e)e.hasOwnProperty(t)&&n++;return n}(),e)e.hasOwnProperty(c)&&(!n&&!--s&&(r(d)?d=function(){var e=[].slice.call(arguments);f.apply(this,e),p()}:d[c]=function(e){return function(){var t=[].slice.call(arguments);e&&e.apply(this,t),p()}}(f[c])),a(e[c],d,t,c,l))}else!n&&p()}var s,c,l=!!e.test,u=e.load||e.both,d=e.callback||i,f=d,p=e.complete||i;n(l?e.yep:e.nope,!!u),u&&n(u)}var c,l,d=this.yepnope.loader;if(o(e))a(e,0,d,0);else if(x(e))for(c=0;c9)});var dtGlobals={};dtGlobals.isMobile=/(Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|windows phone)/.test(navigator.userAgent),dtGlobals.isAndroid=/(Android)/.test(navigator.userAgent),dtGlobals.isiOS=/(iPhone|iPod|iPad)/.test(navigator.userAgent),dtGlobals.isiPhone=/(iPhone|iPod)/.test(navigator.userAgent),dtGlobals.isiPad=/(iPad)/.test(navigator.userAgent),dtGlobals.isBuggy=navigator.userAgent.match(/AppleWebKit/)&&"undefined"==typeof window.ontouchstart&&!navigator.userAgent.match(/Chrome/),dtGlobals.isWindowsPhone=navigator.userAgent.match(/IEMobile/i),dtGlobals.customColor="red",document.documentElement.className+=dtGlobals.isMobile?" mobile-true":" mobile-false",dtGlobals.logoURL=!1,dtGlobals.logoH=!1,dtGlobals.logoW=!1; // source --> http://www.globalsteelfabrications.co.uk/wp-content/plugins/Ultimate_VC_Addons/assets/min-js/ultimate.min.js?ver=0af7cb3c57e9efada21f66eb594bae0d //ultimate-modernizr window.bsfmodernizr=function(e,t,n){function r(e){m.cssText=e}function i(e,t){return r(prefixes.join(e+";")+(t||""))}function s(e,t){return typeof e===t}function o(e,t){return!!~(""+e).indexOf(t)}function u(e,t){for(var r in e){var i=e[r];if(!o(i,"-")&&m[i]!==n)return t=="pfx"?i:!0}return!1}function a(e,t,r){for(var i in e){var o=t[e[i]];if(o!==n)return r===!1?e[i]:s(o,"function")?o.bind(r||t):o}return!1}function f(e,t,n){var r=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+w.join(r+" ")+r).split(" ");return s(t,"string")||s(t,"undefined")?u(i,t):(i=(e+" "+E.join(r+" ")+r).split(" "),a(i,t,n))}var l="2.7.1",c={},h=!0,p=t.documentElement,d="bsfmodernizr",v=t.createElement(d),m=v.style,g,y={}.toString,b="Webkit Moz O ms",w=b.split(" "),E=b.toLowerCase().split(" "),S={},x={},T={},N=[],C=N.slice,k,L={}.hasOwnProperty,A;!s(L,"undefined")&&!s(L.call,"undefined")?A=function(e,t){return L.call(e,t)}:A=function(e,t){return t in e&&s(e.constructor.prototype[t],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(e){var t=this;if(typeof t!="function")throw new TypeError;var n=C.call(arguments,1),r=function(){if(this instanceof r){var i=function(){};i.prototype=t.prototype;var s=new i,o=t.apply(s,n.concat(C.call(arguments)));return Object(o)===o?o:s}return t.apply(e,n.concat(C.call(arguments)))};return r}),S.csstransitions=function(){return f("transition")};for(var O in S)A(S,O)&&(k=O.toLowerCase(),c[k]=S[O](),N.push((c[k]?"":"no-")+k));return c.addTest=function(e,t){if(typeof e=="object")for(var r in e)A(e,r)&&c.addTest(r,e[r]);else{e=e.toLowerCase();if(c[e]!==n)return c;t=typeof t=="function"?t():t,typeof h!="undefined"&&h&&(p.className+=" "+(t?"":"no-")+e),c[e]=t}return c},r(""),v=g=null,function(e,t){function n(e,t){var n=e.createElement("p"),r=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x",r.insertBefore(n.lastChild,r.firstChild)}function r(){var e=y.elements;return typeof e=="string"?e.split(" "):e}function i(e){var t=m[e[d]];return t||(t={},v++,e[d]=v,m[v]=t),t}function s(e,n,r){n||(n=t);if(g)return n.createElement(e);r||(r=i(n));var s;return r.cache[e]?s=r.cache[e].cloneNode():h.test(e)?s=(r.cache[e]=r.createElem(e)).cloneNode():s=r.createElem(e),s.canHaveChildren&&!c.test(e)&&!s.tagUrn?r.frag.appendChild(s):s}function o(e,n){e||(e=t);if(g)return e.createDocumentFragment();n=n||i(e);var s=n.frag.cloneNode(),o=0,u=r(),a=u.length;for(;o",p="hidden"in e,g=e.childNodes.length==1||function(){t.createElement("a");var e=t.createDocumentFragment();return typeof e.cloneNode=="undefined"||typeof e.createDocumentFragment=="undefined"||typeof e.createElement=="undefined"}()}catch(n){p=!0,g=!0}})();var y={elements:l.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:f,shivCSS:l.shivCSS!==!1,supportsUnknownElements:g,shivMethods:l.shivMethods!==!1,type:"default",shivDocument:a,createElement:s,createDocumentFragment:o};e.html5=y,a(t)}(this,t),c._version=l,c._domPrefixes=E,c._cssomPrefixes=w,c.testProp=function(e){return u([e])},c.testAllProps=f,c.prefixed=function(e,t,n){return t?f(e,t,n):f(e,"pfx")},p.className=p.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(h?" js "+N.join(" "):""),c}(this,this.document),function(e,t,n){function r(e){return"[object Function]"==d.call(e)}function i(e){return"string"==typeof e}function s(){}function o(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function u(){var e=v.shift();m=1,e?e.t?h(function(){("c"==e.t?k.injectCss:k.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),u()):m=0}function a(e,n,r,i,s,a,f){function l(t){if(!d&&o(c.readyState)&&(w.r=d=1,!m&&u(),c.onload=c.onreadystatechange=null,t)){"img"!=e&&h(function(){b.removeChild(c)},50);for(var r in T[n])T[n].hasOwnProperty(r)&&T[n][r].onload()}}var f=f||k.errorTimeout,c=t.createElement(e),d=0,g=0,w={t:r,s:n,e:s,a:a,x:f};1===T[n]&&(g=1,T[n]=[]),"object"==e?c.data=n:(c.src=n,c.type=e),c.width=c.height="0",c.onerror=c.onload=c.onreadystatechange=function(){l.call(this,g)},v.splice(i,0,w),"img"!=e&&(g||2===T[n]?(b.insertBefore(c,y?null:p),h(l,f)):T[n].push(c))}function f(e,t,n,r,s){return m=0,t=t||"j",i(e)?a("c"==t?E:w,e,t,this.i++,n,r,s):(v.splice(this.i++,0,e),1==v.length&&u()),this}function l(){var e=k;return e.loader={load:f,i:0},e}var c=t.documentElement,h=e.setTimeout,p=t.getElementsByTagName("script")[0],d={}.toString,v=[],m=0,g="MozAppearance"in c.style,y=g&&!!t.createRange().compareNode,b=y?c:p.parentNode,c=e.opera&&"[object Opera]"==d.call(e.opera),c=!!t.attachEvent&&!c,w=g?"object":c?"script":"img",E=c?"script":w,S=Array.isArray||function(e){return"[object Array]"==d.call(e)},x=[],T={},N={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},C,k;k=function(e){function t(e){var e=e.split("!"),t=x.length,n=e.pop(),r=e.length,n={url:n,origUrl:n,prefixes:e},i,s,o;for(s=0;s=t&&u<=t+c+f&&o+h+a>=e&&o<=e+p+a){if(!n.bsf_appeared)n.trigger("bsf_appear",r.data)}else{n.bsf_appeared=false}};var o=function(){n.bsf_appeared=true;if(r.one){i.unbind("scroll",s);var o=e.inArray(s,e.fn.bsf_appear.checks);if(o>=0)e.fn.bsf_appear.checks.splice(o,1)}t.apply(this,arguments)};if(r.one)n.one("bsf_appear",r.data,o);else n.bind("bsf_appear",r.data,o);i.scroll(s);e.fn.bsf_appear.checks.push(s);s()})};e.extend(e.fn.bsf_appear,{checks:[],timeout:null,checkAll:function(){var t=e.fn.bsf_appear.checks.length;if(t>0)while(t--)e.fn.bsf_appear.checks[t]()},run:function(){if(e.fn.bsf_appear.timeout)clearTimeout(e.fn.bsf_appear.timeout);e.fn.bsf_appear.timeout=setTimeout(e.fn.bsf_appear.checkAll,20)}});e.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(t,n){var r=e.fn[n];if(r){e.fn[n]=function(){var t=r.apply(this,arguments);e.fn.bsf_appear.run();return t}}})})(jQuery); // swatchbook - jquery.swatchbook.min (function(e,t,n){"use strict";var r=t.bsfmodernizr;jQuery.fn.reverse=[].reverse;e.SwatchBook=function(t,n){this.$el=e(n);this._init(t)};e.SwatchBook.defaults={center:6,angleInc:8,speed:700,easing:"ease",proximity:45,neighbor:4,onLoadAnim:true,initclosed:false,closeIdx:-1,openAt:-1};e.SwatchBook.prototype={_init:function(t){this.options=e.extend(true,{},e.SwatchBook.defaults,t);this.$items=this.$el.children("div");this.itemsCount=this.$items.length;this.current=-1;this.support=r.csstransitions;this.cache=[];if(this.options.onLoadAnim){this._setTransition()}if(!this.options.initclosed){this._center(this.options.center,this.options.onLoadAnim)}else{this.isClosed=true;if(!this.options.onLoadAnim){this._setTransition()}}if(this.options.openAt>=0&&this.options.openAt
',trigger:"hover focus",title:"",delay:0,html:false,container:false};t.prototype.init=function(t,n,r){this.enabled=true;this.type=t;this.$element=e(n);this.options=this.getOptions(r);var i=this.options.trigger.split(" ");for(var s=i.length;s--;){var o=i[s];if(o=="click"){this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this))}else if(o!="manual"){var u=o=="hover"?"mouseenter":"focusin";var a=o=="hover"?"mouseleave":"focusout";this.$element.on(u+"."+this.type,this.options.selector,e.proxy(this.enter,this));this.$element.on(a+"."+this.type,this.options.selector,e.proxy(this.leave,this))}}this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()};t.prototype.getDefaults=function(){return t.DEFAULTS};t.prototype.getOptions=function(t){t=e.extend({},this.getDefaults(),this.$element.data(),t);if(t.delay&&typeof t.delay=="number"){t.delay={show:t.delay,hide:t.delay}}return t};t.prototype.getDelegateOptions=function(){var t={};var n=this.getDefaults();this._options&&e.each(this._options,function(e,r){if(n[e]!=r)t[e]=r});return t};t.prototype.enter=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);clearTimeout(n.timeout);n.hoverState="in";if(!n.options.delay||!n.options.delay.show)return n.show();n.timeout=setTimeout(function(){if(n.hoverState=="in")n.show()},n.options.delay.show)};t.prototype.leave=function(t){var n=t instanceof this.constructor?t:e(t.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);clearTimeout(n.timeout);n.hoverState="out";if(!n.options.delay||!n.options.delay.hide)return n.hide();n.timeout=setTimeout(function(){if(n.hoverState=="out")n.hide()},n.options.delay.hide)};t.prototype.show=function(){var t=e.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);if(t.isDefaultPrevented())return;var n=this;var r=this.tip();this.setContent();if(this.options.animation)r.addClass("fade");var i=typeof this.options.placement=="function"?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement;var s=/\s?auto?\s?/i;var o=s.test(i);if(o)i=i.replace(s,"")||"top";r.detach().css({top:0,left:0,display:"block"}).addClass(i);this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);var u=this.getPosition();var a=r[0].offsetWidth;var f=r[0].offsetHeight;if(o){var l=this.$element.parent();var c=i;var h=document.documentElement.scrollTop||document.body.scrollTop;var p=this.options.container=="body"?window.innerWidth:l.outerWidth();var d=this.options.container=="body"?window.innerHeight:l.outerHeight();var v=this.options.container=="body"?0:l.offset().left;i=i=="bottom"&&u.top+u.height+f-h>d?"top":i=="top"&&u.top-h-f<0?"bottom":i=="right"&&u.right+a>p?"left":i=="left"&&u.left-aPrevious',nextArrow:'',autoplay:false,autoplaySpeed:3e3,centerMode:false,centerPadding:"50px",cssEase:"ease",customPaging:function(e,t){return'"},dots:false,dotsClass:"slick-dots",draggable:true,easing:"linear",fade:false,focusOnSelect:false,infinite:true,lazyLoad:"ondemand",onBeforeChange:null,onAfterChange:null,onInit:null,onReInit:null,pauseOnHover:true,pauseOnDotsHover:false,responsive:null,rtl:false,slide:"div",slidesToShow:1,slidesToScroll:1,speed:300,swipe:true,touchMove:true,touchThreshold:5,useCSS:true,vertical:false,waitForAnimate:true};i.initials={animating:false,dragging:false,autoPlayTimer:null,currentSlide:0,currentLeft:null,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:false,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:false};e.extend(i,i.initials);i.activeBreakpoint=null;i.animType=null;i.animProp=null;i.breakpoints=[];i.breakpointSettings=[];i.cssTransitions=false;i.paused=false;i.positionProp=null;i.$slider=e(n);i.$slidesCache=null;i.transformType=null;i.transitionType=null;i.windowWidth=0;i.windowTimer=null;i.options=e.extend({},i.defaults,r);i.originalSettings=i.options;s=i.options.responsive||null;if(s&&s.length>-1){for(o in s){if(s.hasOwnProperty(o)){i.breakpoints.push(s[o].breakpoint);i.breakpointSettings[s[o].breakpoint]=s[o].settings}}i.breakpoints.sort(function(e,t){return t-e})}i.autoPlay=e.proxy(i.autoPlay,i);i.autoPlayClear=e.proxy(i.autoPlayClear,i);i.changeSlide=e.proxy(i.changeSlide,i);i.selectHandler=e.proxy(i.selectHandler,i);i.setPosition=e.proxy(i.setPosition,i);i.swipeHandler=e.proxy(i.swipeHandler,i);i.dragHandler=e.proxy(i.dragHandler,i);i.keyHandler=e.proxy(i.keyHandler,i);i.autoPlayIterator=e.proxy(i.autoPlayIterator,i);i.instanceUid=t++;i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/;i.init()}var t=0;var n;return r}();t.prototype.addSlide=function(t,n,r){var i=this;if(typeof n==="boolean"){r=n;n=null}else if(n<0||n>=i.slideCount){return false}i.unload();if(typeof n==="number"){if(n===0&&i.$slides.length===0){e(t).appendTo(i.$slideTrack)}else if(r){e(t).insertBefore(i.$slides.eq(n))}else{e(t).insertAfter(i.$slides.eq(n))}}else{if(r===true){e(t).prependTo(i.$slideTrack)}else{e(t).appendTo(i.$slideTrack)}}i.$slides=i.$slideTrack.children(this.options.slide);i.$slideTrack.children(this.options.slide).detach();i.$slideTrack.append(i.$slides);i.$slides.each(function(t,n){e(n).attr("index",t)});i.$slidesCache=i.$slides;i.reinit()};t.prototype.animateSlide=function(t,n){var r={},i=this;if(i.options.rtl===true&&i.options.vertical===false){t=-t}if(i.transformsEnabled===false){if(i.options.vertical===false){i.$slideTrack.animate({left:t},i.options.speed,i.options.easing,n)}else{i.$slideTrack.animate({top:t},i.options.speed,i.options.easing,n)}}else{if(i.cssTransitions===false){e({animStart:i.currentLeft}).animate({animStart:t},{duration:i.options.speed,easing:i.options.easing,step:function(e){if(i.options.vertical===false){r[i.animType]="translate("+e+"px, 0px)";i.$slideTrack.css(r)}else{r[i.animType]="translate(0px,"+e+"px)";i.$slideTrack.css(r)}},complete:function(){if(n){n.call()}}})}else{i.applyTransition();if(i.options.vertical===false){r[i.animType]="translate3d("+t+"px, 0px, 0px)"}else{r[i.animType]="translate3d(0px,"+t+"px, 0px)"}i.$slideTrack.css(r);if(n){setTimeout(function(){i.disableTransition();n.call()},i.options.speed)}}}};t.prototype.applyTransition=function(e){var t=this,n={};if(t.options.fade===false){n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase}else{n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase}if(t.options.fade===false){t.$slideTrack.css(n)}else{t.$slides.eq(e).css(n)}};t.prototype.autoPlay=function(){var e=this;if(e.$list.hasClass("swipe-start"))return false;if(e.autoPlayTimer){clearInterval(e.autoPlayTimer)}if(e.slideCount>e.options.slidesToShow&&e.paused!==true){e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed)}};t.prototype.autoPlayClear=function(){var e=this;if(e.autoPlayTimer){clearInterval(e.autoPlayTimer)}};t.prototype.autoPlayIterator=function(){var t=this;var n=t.options.asNavFor!=null?e(t.options.asNavFor).getSlick():null;if(t.options.infinite===false){if(t.direction===1){if(t.currentSlide+1===t.slideCount-1){t.direction=0}t.slideHandler(t.currentSlide+t.options.slidesToScroll);if(n!=null)n.slideHandler(n.currentSlide+n.options.slidesToScroll)}else{if(t.currentSlide-1===0){t.direction=1}t.slideHandler(t.currentSlide-t.options.slidesToScroll);if(n!=null)n.slideHandler(n.currentSlide-n.options.slidesToScroll)}}else{t.slideHandler(t.currentSlide+t.options.slidesToScroll);if(n!=null)n.slideHandler(n.currentSlide+n.options.slidesToScroll)}};t.prototype.buildArrows=function(){var t=this;if(t.options.arrows===true&&t.slideCount>t.options.slidesToShow){t.$prevArrow=e(t.options.prevArrow);t.$nextArrow=e(t.options.nextArrow);if(t.htmlExpr.test(t.options.prevArrow)){t.$prevArrow.appendTo(t.options.appendArrows)}if(t.htmlExpr.test(t.options.nextArrow)){t.$nextArrow.appendTo(t.options.appendArrows)}if(t.options.infinite!==true){t.$prevArrow.addClass("slick-disabled")}}};t.prototype.buildDots=function(){var t=this,n,r;if(t.options.dots===true&&t.slideCount>t.options.slidesToShow){r='
    ';for(n=0;n<=t.getDotCount();n+=1){r+="
  • "+t.options.customPaging.call(this,t,n)+"
  • "}r+="
";t.$dots=e(r).appendTo(t.$slider);t.$dots.find("li").first().addClass("slick-active")}};t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide");t.slideCount=t.$slides.length;t.$slides.each(function(t,n){e(n).attr("index",t)});t.$slidesCache=t.$slides;t.$slider.addClass("slick-slider");t.$slideTrack=t.slideCount===0?e('
').appendTo(t.$slider):t.$slides.wrapAll('
').parent();t.$list=t.$slideTrack.wrap('
').parent();t.$slideTrack.css("opacity",0);if(t.options.centerMode===true){t.options.slidesToScroll=1;if(t.options.slidesToShow%2===0){t.options.slidesToShow=3}}e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading");t.setupInfinite();t.buildArrows();t.buildDots();t.updateDots();if(t.options.accessibility===true){t.$list.prop("tabIndex",0)}t.setSlideClasses(typeof this.currentSlide==="number"?this.currentSlide:0);if(t.options.draggable===true){t.$list.addClass("draggable")}};t.prototype.checkResponsive=function(){var t=this,n,r;if(t.originalSettings.responsive&&t.originalSettings.responsive.length>-1&&t.originalSettings.responsive!==null){r=null;for(n in t.breakpoints){if(t.breakpoints.hasOwnProperty(n)){if(e(window).width()n.options.slidesToShow){n.slideHandler(n.currentSlide-n.options.slidesToScroll);if(i!=null)i.slideHandler(i.currentSlide-i.options.slidesToScroll)}break;case"next":if(n.slideCount>n.options.slidesToShow){n.slideHandler(n.currentSlide+n.options.slidesToScroll);if(i!=null)i.slideHandler(i.currentSlide+i.options.slidesToScroll)}break;case"index":var s=e(t.target).parent().index()*n.options.slidesToScroll;n.slideHandler(s);if(i!=null)i.slideHandler(s);break;default:return false}};t.prototype.destroy=function(){var t=this;t.autoPlayClear();t.touchObject={};e(".slick-cloned",t.$slider).remove();if(t.$dots){t.$dots.remove()}if(t.$prevArrow){t.$prevArrow.remove();t.$nextArrow.remove()}if(t.$slides.parent().hasClass("slick-track")){t.$slides.unwrap().unwrap()}t.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style");t.$slider.removeClass("slick-slider");t.$slider.removeClass("slick-initialized");t.$list.off(".slick");e(window).off(".slick-"+t.instanceUid);e(document).off(".slick-"+t.instanceUid)};t.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="";if(t.options.fade===false){t.$slideTrack.css(n)}else{t.$slides.eq(e).css(n)}};t.prototype.fadeSlide=function(e,t){var n=this;if(n.cssTransitions===false){n.$slides.eq(e).css({zIndex:1e3});n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)}else{n.applyTransition(e);n.$slides.eq(e).css({opacity:1,zIndex:1e3});if(t){setTimeout(function(){n.disableTransition(e);t.call()},n.options.speed)}}};t.prototype.filterSlides=function(e){var t=this;if(e!==null){t.unload();t.$slideTrack.children(this.options.slide).detach();t.$slidesCache.filter(e).appendTo(t.$slideTrack);t.reinit()}};t.prototype.getCurrent=function(){var e=this;return e.currentSlide};t.prototype.getDotCount=function(){var e=this,t=0,n=0,r=0,i;i=e.options.infinite===true?e.slideCount+e.options.slidesToShow-e.options.slidesToScroll:e.slideCount;while(tt.options.slidesToShow){t.slideOffset=t.slideWidth*t.options.slidesToShow*-1;i=r*t.options.slidesToShow*-1}if(t.slideCount%t.options.slidesToScroll!==0){if(e+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow){t.slideOffset=t.slideCount%t.options.slidesToShow*t.slideWidth*-1;i=t.slideCount%t.options.slidesToShow*r*-1}}}else{if(t.slideCount%t.options.slidesToShow!==0){if(e+t.options.slidesToScroll>t.slideCount&&t.slideCount>t.options.slidesToShow){t.slideOffset=t.options.slidesToShow*t.slideWidth-t.slideCount%t.options.slidesToShow*t.slideWidth;i=t.slideCount%t.options.slidesToShow*r}}}if(t.options.centerMode===true&&t.options.infinite===true){t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)-t.slideWidth}else if(t.options.centerMode===true){t.slideOffset+=t.slideWidth*Math.floor(t.options.slidesToShow/2)}if(t.options.vertical===false){n=e*t.slideWidth*-1+t.slideOffset}else{n=e*r*-1+i}return n};t.prototype.init=function(){var t=this;if(!e(t.$slider).hasClass("slick-initialized")){e(t.$slider).addClass("slick-initialized");t.buildOut();t.setProps();t.startLoad();t.loadSlider();t.initializeEvents();t.checkResponsive()}if(t.options.onInit!==null){t.options.onInit.call(this,t)}};t.prototype.initArrowEvents=function(){var e=this;if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow.on("click.slick",{message:"previous"},e.changeSlide);e.$nextArrow.on("click.slick",{message:"next"},e.changeSlide)}};t.prototype.initDotEvents=function(){var t=this;if(t.options.dots===true&&t.slideCount>t.options.slidesToShow){e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide)}if(t.options.dots===true&&t.options.pauseOnDotsHover===true&&t.options.autoplay===true){e("li",t.$dots).on("mouseenter.slick",t.autoPlayClear).on("mouseleave.slick",t.autoPlay)}};t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents();t.initDotEvents();t.$list.on("touchstart.slick mousedown.slick",{action:"start",xelement:t.$list},t.swipeHandler);jQuery(document).on("touchmove.slick mousemove.slick",{action:"move",xelement:t.$list},t.swipeHandler);jQuery(document).on("touchend.slick mouseup.slick",{action:"end",xelement:t.$list},t.swipeHandler);t.$list.on("touchcancel.slick mouseleave.slick",{action:"move",xelement:t.$list},t.swipeHandler);if(t.options.pauseOnHover===true&&t.options.autoplay===true){t.$list.on("mouseenter.slick",t.autoPlayClear);t.$list.on("mouseleave.slick",t.autoPlay)}if(t.options.accessibility===true){t.$list.on("keydown.slick",t.keyHandler)}if(t.options.focusOnSelect===true){e(t.options.slide,t.$slideTrack).on("click.slick",t.selectHandler)}e(window).on("orientationchange.slick.slick-"+t.instanceUid,function(){t.checkResponsive();t.setPosition()});e(window).on("resize.slick.slick-"+t.instanceUid,function(){if(e(window).width()!==t.windowWidth){clearTimeout(t.windowDelay);t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width();t.checkResponsive();t.setPosition()},50)}});e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition);e(document).on("ready.slick.slick-"+t.instanceUid,t.setPosition)};t.prototype.initUI=function(){var e=this;if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow.show();e.$nextArrow.show()}if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){e.$dots.show()}if(e.options.autoplay===true){e.autoPlay()}};t.prototype.keyHandler=function(e){var t=this;if(e.keyCode===37){t.changeSlide({data:{message:"previous"}})}else if(e.keyCode===39){t.changeSlide({data:{message:"next"}})}};t.prototype.lazyLoad=function(){function o(t){e("img[data-lazy]",t).each(function(){var t=e(this),n=e(this).attr("data-lazy")+"?"+(new Date).getTime();t.load(function(){t.animate({opacity:1},200)}).css({opacity:0}).attr("src",n).removeAttr("data-lazy").removeClass("slick-loading")})}var t=this,n,r,i,s;if(t.options.centerMode===true){if(t.options.infinite===true){i=t.currentSlide+(t.options.slidesToShow/2+1);s=i+t.options.slidesToShow+2}else{i=Math.max(0,t.currentSlide-(t.options.slidesToShow/2+1));s=2+(t.options.slidesToShow/2+1)+t.currentSlide}}else{i=t.options.infinite?t.options.slidesToShow+t.currentSlide:t.currentSlide;s=i+t.options.slidesToShow;if(t.options.fade===true){if(i>0)i--;if(s<=t.slideCount)s++}}n=t.$slider.find(".slick-slide").slice(i,s);o(n);if(t.slideCount==1){r=t.$slider.find(".slick-slide");o(r)}else if(t.currentSlide>=t.slideCount-t.options.slidesToShow){r=t.$slider.find(".slick-cloned").slice(0,t.options.slidesToShow);o(r)}else if(t.currentSlide===0){r=t.$slider.find(".slick-cloned").slice(t.options.slidesToShow*-1);o(r)}};t.prototype.loadSlider=function(){var e=this;e.setPosition();e.$slideTrack.css({opacity:1});e.$slider.removeClass("slick-loading");e.initUI();if(e.options.lazyLoad==="progressive"){e.progressiveLazyLoad()}};t.prototype.postSlide=function(e){var t=this;if(t.options.onAfterChange!==null){t.options.onAfterChange.call(this,t,e)}t.animating=false;t.setPosition();t.swipeLeft=null;if(t.options.autoplay===true&&t.paused===false){t.autoPlay()}};t.prototype.progressiveLazyLoad=function(){var t=this,n,r;n=e("img[data-lazy]").length;if(n>0){r=e("img[data-lazy]",t.$slider).first();r.attr("src",r.attr("data-lazy")).removeClass("slick-loading").load(function(){r.removeAttr("data-lazy");t.progressiveLazyLoad()})}};t.prototype.refresh=function(){var t=this,n=t.currentSlide;t.destroy();e.extend(t,t.initials);t.currentSlide=n;t.init()};t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide");t.slideCount=t.$slides.length;if(t.currentSlide>=t.slideCount&&t.currentSlide!==0){t.currentSlide=t.currentSlide-t.options.slidesToScroll}t.setProps();t.setupInfinite();t.buildArrows();t.updateArrows();t.initArrowEvents();t.buildDots();t.updateDots();t.initDotEvents();if(t.options.focusOnSelect===true){e(t.options.slide,t.$slideTrack).on("click.slick",t.selectHandler)}t.setSlideClasses(0);t.setPosition();if(t.options.onReInit!==null){t.options.onReInit.call(this,t)}};t.prototype.removeSlide=function(e,t){var n=this;if(typeof e==="boolean"){t=e;e=t===true?0:n.slideCount-1}else{e=t===true?--e:e}if(n.slideCount<1||e<0||e>n.slideCount-1){return false}n.unload();n.$slideTrack.children(this.options.slide).eq(e).remove();n.$slides=n.$slideTrack.children(this.options.slide);n.$slideTrack.children(this.options.slide).detach();n.$slideTrack.append(n.$slides);n.$slidesCache=n.$slides;n.reinit()};t.prototype.setCSS=function(e){var t=this,n={},r,i;if(t.options.rtl===true){e=-e}r=t.positionProp=="left"?e+"px":"0px";i=t.positionProp=="top"?e+"px":"0px";n[t.positionProp]=e;if(t.transformsEnabled===false){t.$slideTrack.css(n)}else{n={};if(t.cssTransitions===false){n[t.animType]="translate("+r+", "+i+")";t.$slideTrack.css(n)}else{n[t.animType]="translate3d("+r+", "+i+", 0px)";t.$slideTrack.css(n)}}};t.prototype.setDimensions=function(){var e=this;if(e.options.vertical===false){if(e.options.centerMode===true){e.$list.css({padding:"0px "+e.options.centerPadding})}}else{e.$list.height(e.$slides.first().outerHeight(true)*e.options.slidesToShow);if(e.options.centerMode===true){e.$list.css({padding:e.options.centerPadding+" 0px"})}}e.listWidth=e.$list.width();e.listHeight=e.$list.height();if(e.options.vertical===false){e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow);e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))}else{e.slideWidth=Math.ceil(e.listWidth);e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(true)*e.$slideTrack.children(".slick-slide").length))}var t=e.$slides.first().outerWidth(true)-e.$slides.first().width();e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)};t.prototype.setFade=function(){var t=this,n;t.$slides.each(function(r,i){n=t.slideWidth*r*-1;e(i).css({position:"relative",left:n,top:0,zIndex:800,opacity:0})});t.$slides.eq(t.currentSlide).css({zIndex:900,opacity:1})};t.prototype.setPosition=function(){var e=this;e.setDimensions();if(e.options.fade===false){e.setCSS(e.getLeft(e.currentSlide))}else{e.setFade()}};t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=e.options.vertical===true?"top":"left";if(e.positionProp==="top"){e.$slider.addClass("slick-vertical")}else{e.$slider.removeClass("slick-vertical")}if(t.WebkitTransition!==undefined||t.MozTransition!==undefined||t.msTransition!==undefined){if(e.options.useCSS===true){e.cssTransitions=true}}if(t.OTransform!==undefined){e.animType="OTransform";e.transformType="-o-transform";e.transitionType="OTransition";if(t.perspectiveProperty===undefined&&t.webkitPerspective===undefined)e.animType=false}if(t.MozTransform!==undefined){e.animType="MozTransform";e.transformType="-moz-transform";e.transitionType="MozTransition";if(t.perspectiveProperty===undefined&&t.MozPerspective===undefined)e.animType=false}if(t.webkitTransform!==undefined){e.animType="webkitTransform";e.transformType="-webkit-transform";e.transitionType="webkitTransition";if(t.perspectiveProperty===undefined&&t.webkitPerspective===undefined)e.animType=false}if(t.msTransform!==undefined){e.animType="msTransform";e.transformType="-ms-transform";e.transitionType="msTransition";if(t.msTransform===undefined)e.animType=false}if(t.transform!==undefined&&e.animType!==false){e.animType="transform";e.transformType="transform";e.transitionType="transition"}e.transformsEnabled=e.animType!==null&&e.animType!==false};t.prototype.setSlideClasses=function(e){var t=this,n,r,i,s;var o=t.$slider.find(".slick-slide").data("animation");t.$slider.find(".slick-slide").removeClass(o);t.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center");r=t.$slider.find(".slick-slide");if(t.options.centerMode===true){n=Math.floor(t.options.slidesToShow/2);if(t.options.infinite===true){if(e>=n&&e<=t.slideCount-1-n){t.$slides.slice(e-n,e+n+1).addClass("slick-active")}else{i=t.options.slidesToShow+e;r.slice(i-n+1,i+n+2).addClass("slick-active")}if(e===0){r.eq(r.length-1-t.options.slidesToShow).addClass("slick-center")}else if(e===t.slideCount-1){r.eq(t.options.slidesToShow).addClass("slick-center")}}t.$slides.eq(e).addClass("slick-center")}else{if(e>=0&&e<=t.slideCount-t.options.slidesToShow){var o=t.$slides.slice(e,e+t.options.slidesToShow).data("animation");t.$slides.slice(e,e+t.options.slidesToShow).addClass(o);t.$slides.slice(e,e+t.options.slidesToShow).addClass("slick-active")}else if(r.length<=t.options.slidesToShow){var o=r.slice(i,i+t.options.slidesToShow).data("animation");r.slice(i,i+t.options.slidesToShow).addClass(o);r.addClass("slick-active")}else{s=t.slideCount%t.options.slidesToShow;i=t.options.infinite===true?t.options.slidesToShow+e:e;if(t.options.slidesToShow==t.options.slidesToScroll&&t.slideCount-et.options.slidesToShow){if(t.options.centerMode===true){i=t.options.slidesToShow+1}else{i=t.options.slidesToShow}for(n=t.slideCount;n>t.slideCount-i;n-=1){r=n-1;e(t.$slides[r]).clone(true).attr("id","").prependTo(t.$slideTrack).addClass("slick-cloned")}for(n=0;no.slideCount-o.options.slidesToShow+i)){if(o.options.fade===false){t=o.currentSlide;o.animateSlide(r,function(){o.postSlide(t)})}return false}else if(o.options.infinite===false&&o.options.centerMode===true&&(e<0||e>o.slideCount-o.options.slidesToScroll)){if(o.options.fade===false){t=o.currentSlide;o.animateSlide(r,function(){o.postSlide(t)})}return false}if(o.options.autoplay===true){clearInterval(o.autoPlayTimer)}if(t<0){if(o.slideCount%o.options.slidesToScroll!==0){n=o.slideCount-o.slideCount%o.options.slidesToScroll}else{n=o.slideCount-o.options.slidesToScroll}}else if(t>o.slideCount-1){n=0}else{n=t}o.animating=true;if(o.options.onBeforeChange!==null&&e!==o.currentSlide){o.options.onBeforeChange.call(this,o,o.currentSlide,n)}o.currentSlide=n;o.setSlideClasses(o.currentSlide);o.updateDots();o.updateArrows();if(o.options.fade===true){o.fadeSlide(n,function(){o.postSlide(n)});return false}o.animateSlide(s,function(){o.postSlide(n)})};t.prototype.startLoad=function(){var e=this;if(e.options.arrows===true&&e.slideCount>e.options.slidesToShow){e.$prevArrow.hide();e.$nextArrow.hide()}if(e.options.dots===true&&e.slideCount>e.options.slidesToShow){e.$dots.hide()}e.$slider.addClass("slick-loading")};t.prototype.swipeDirection=function(){var e,t,n,r,i=this;e=i.touchObject.startX-i.touchObject.curX;t=i.touchObject.startY-i.touchObject.curY;n=Math.atan2(t,e);r=Math.round(n*180/Math.PI);if(r<0){r=360-Math.abs(r)}if(r<=45&&r>=0){return"left"}if(r<=360&&r>=315){return"left"}if(r>=135&&r<=225){return"right"}return"vertical"};t.prototype.swipeEnd=function(t){var n=this;var r=n.options.asNavFor!=null?e(n.options.asNavFor).getSlick():null;n.dragging=false;if(n.touchObject.curX===undefined){return false}var i=t.data.xelement;var s=0;i.find(".slick-active").each(function(e,t){s+=jQuery(t).outerWidth()});var o=Math.round(n.touchObject.swipeLength/s);if(o==0)o=1;if(n.touchObject.swipeLength>s){if(n.options.slidesToScroll==1)o=o*n.options.slidesToShow;else if(n.options.slidesToScroll==n.options.slidesToShow)o=o;else o=o*n.options.slidesToScroll}if(n.touchObject.swipeLength>=n.touchObject.minSwipe){e(t.target).on("click.slick",function(t){t.stopImmediatePropagation();t.stopPropagation();t.preventDefault();e(t.target).off("click.slick")});switch(n.swipeDirection()){case"left":n.slideHandler(n.currentSlide+n.options.slidesToScroll*o);if(r!=null)r.slideHandler(r.currentSlide+r.options.slidesToScroll*o);n.touchObject={};break;case"right":n.slideHandler(n.currentSlide-n.options.slidesToScroll*o);if(r!=null)r.slideHandler(r.currentSlide-r.options.slidesToScroll*o);n.touchObject={};break}}else{if(n.touchObject.startX!==n.touchObject.curX){n.slideHandler(n.currentSlide);if(r!=null)r.slideHandler(r.currentSlide);n.touchObject={}}}};t.prototype.swipeHandler=function(e){var t=this;if(t.options.swipe===false||"ontouchend"in document&&t.options.swipe===false){return}else if(t.options.draggable===false||t.options.draggable===false&&!e.originalEvent.touches){return}if(e.data.action.toString()=="start")e.data.xelement.addClass("swipe-start");else if(e.data.action.toString()=="end")e.data.xelement.removeClass("swipe-start");t.touchObject.fingerCount=e.originalEvent&&e.originalEvent.touches!==undefined?e.originalEvent.touches.length:1;t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold;switch(e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e);break}};t.prototype.swipeMove=function(e){var t=this,n,r,i,s;s=e.originalEvent!==undefined?e.originalEvent.touches:null;n=t.getLeft(t.currentSlide);if(!t.dragging||s&&s.length!==1){return false}t.touchObject.curX=s!==undefined?s[0].pageX:e.clientX;t.touchObject.curY=s!==undefined?s[0].pageY:e.clientY;t.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(t.touchObject.curX-t.touchObject.startX,2)));r=t.swipeDirection();if(r==="vertical"){return}if(e.originalEvent!==undefined&&t.touchObject.swipeLength>4){e.preventDefault()}i=t.touchObject.curX>t.touchObject.startX?1:-1;if(t.options.vertical===false){t.swipeLeft=n+t.touchObject.swipeLength*i}else{t.swipeLeft=n+t.touchObject.swipeLength*(t.$list.height()/t.listWidth)*i}if(t.options.fade===true||t.options.touchMove===false){return false}if(t.animating===true){t.swipeLeft=null;return false}t.setCSS(t.swipeLeft)};t.prototype.swipeStart=function(e){var t=this,n;if(t.touchObject.fingerCount!==1||t.slideCount<=t.options.slidesToShow){t.touchObject={};return false}if(e.originalEvent!==undefined&&e.originalEvent.touches!==undefined){n=e.originalEvent.touches[0]}t.touchObject.startX=t.touchObject.curX=n!==undefined?n.pageX:e.clientX;t.touchObject.startY=t.touchObject.curY=n!==undefined?n.pageY:e.clientY;t.dragging=true};t.prototype.unfilterSlides=function(){var e=this;if(e.$slidesCache!==null){e.unload();e.$slideTrack.children(this.options.slide).detach();e.$slidesCache.appendTo(e.$slideTrack);e.reinit()}};t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove();if(t.$dots){t.$dots.remove()}if(t.$prevArrow){t.$prevArrow.remove();t.$nextArrow.remove()}t.$slides.removeClass("slick-slide slick-active slick-visible").removeAttr("style")};t.prototype.updateArrows=function(){var e=this;if(e.options.arrows===true&&e.options.infinite!==true&&e.slideCount>e.options.slidesToShow){e.$prevArrow.removeClass("slick-disabled");e.$nextArrow.removeClass("slick-disabled");if(e.currentSlide===0){e.$prevArrow.addClass("slick-disabled");e.$nextArrow.removeClass("slick-disabled")}else if(e.currentSlide>=e.slideCount-e.options.slidesToShow){e.$nextArrow.addClass("slick-disabled");e.$prevArrow.removeClass("slick-disabled")}}};t.prototype.updateDots=function(){var e=this;if(e.$dots!==null){e.$dots.find("li").removeClass("slick-active");e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active")}};e.fn.slick=function(e){var n=this;return n.each(function(n,r){r.slick=new t(r,e)})};e.fn.slickAdd=function(e,t,n){var r=this;return r.each(function(r,i){i.slick.addSlide(e,t,n)})};e.fn.slickCurrentSlide=function(){var e=this;return e.get(0).slick.getCurrent()};e.fn.slickFilter=function(e){var t=this;return t.each(function(t,n){n.slick.filterSlides(e)})};e.fn.slickGoTo=function(t){var n=this;return n.each(function(n,r){var i=r.slick.options.asNavFor!=null?e(r.slick.options.asNavFor):null;if(i!=null)i.slickGoTo(t);r.slick.slideHandler(t)})};e.fn.slickNext=function(){var e=this;return e.each(function(e,t){t.slick.changeSlide({data:{message:"next"}})})};e.fn.slickPause=function(){var e=this;return e.each(function(e,t){t.slick.autoPlayClear();t.slick.paused=true})};e.fn.slickPlay=function(){var e=this;return e.each(function(e,t){t.slick.paused=false;t.slick.autoPlay()})};e.fn.slickPrev=function(){var e=this;return e.each(function(e,t){t.slick.changeSlide({data:{message:"previous"}})})};e.fn.slickRemove=function(e,t){var n=this;return n.each(function(n,r){r.slick.removeSlide(e,t)})};e.fn.slickGetOption=function(e){var t=this;return t.get(0).slick.options[e]};e.fn.slickSetOption=function(e,t,n){var r=this;return r.each(function(r,i){i.slick.options[e]=t;if(n===true){i.slick.unload();i.slick.reinit()}})};e.fn.slickUnfilter=function(){var e=this;return e.each(function(e,t){t.slick.unfilterSlides()})};e.fn.unslick=function(){var e=this;return e.each(function(e,t){if(t.slick){t.slick.destroy()}})};e.fn.getSlick=function(){var e=null;var t=this;t.each(function(t,n){e=n.slick});return e}}); // info banner (function(e){function t(){e(".ultb3-box").each(function(t,n){var r=e(n).outerHeight();var i=e(n).find(".ultb3-info").outerHeight();var s=(r-i)/2;e(n).find(".ultb3-info").css({top:s})})}e(document).ready(function(){t()});e(window).load(function(){t()});e(window).resize(function(){t()});jQuery(".ultb3-box .ultb3-info").each(function(){if(jQuery(this).attr("data-animation")){jQuery(this).css("opacity","0");var e=jQuery(this).attr("data-animation"),t="delay-"+jQuery(this).attr("data-animation-delay");jQuery(this).bsf_appear(function(){var n=jQuery(this);n.addClass("animated").addClass(e);n.addClass("animated").addClass(t);n.css("opacity","1")},{accY:-70})}})})(jQuery); // countdown - jquery.countdown_org.min (function(){var e=false;window.JQClass=function(){};JQClass.classes={};JQClass.extend=function t(n){function o(){if(!e&&this._init){this._init.apply(this,arguments)}}var r=this.prototype;e=true;var i=new this;e=false;for(var s in n){i[s]=typeof n[s]=="function"&&typeof r[s]=="function"?function(e,t){return function(){var n=this._super;this._super=function(t){return r[e].apply(this,t)};var i=t.apply(this,arguments);this._super=n;return i}}(s,n[s]):n[s]}o.prototype=i;o.prototype.constructor=o;o.extend=t;return o}})();(function($){function camelCase(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}JQClass.classes.JQPlugin=JQClass.extend({name:"plugin",defaultOptions:{},regionalOptions:{},_getters:[],_getMarker:function(){return"is-"+this.name},_init:function(){$.extend(this.defaultOptions,this.regionalOptions&&this.regionalOptions[""]||{});var e=camelCase(this.name);$[e]=this;$.fn[e]=function(t){var n=Array.prototype.slice.call(arguments,1);if($[e]._isNotChained(t,n)){return $[e][t].apply($[e],[this[0]].concat(n))}return this.each(function(){if(typeof t==="string"){if(t[0]==="_"||!$[e][t]){throw"Unknown method: "+t}$[e][t].apply($[e],[this].concat(n))}else{$[e]._attach(this,t)}})}},setDefaults:function(e){$.extend(this.defaultOptions,e||{})},_isNotChained:function(e,t){if(e==="option"&&(t.length===0||t.length===1&&typeof t[0]==="string")){return true}return $.inArray(e,this._getters)>-1},_attach:function(e,t){e=$(e);if(e.hasClass(this._getMarker())){return}e.addClass(this._getMarker());t=$.extend({},this.defaultOptions,this._getMetadata(e),t||{});var n=$.extend({name:this.name,elem:e,options:t},this._instSettings(e,t));e.data(this.name,n);this._postAttach(e,n);this.option(e,t)},_instSettings:function(e,t){return{}},_postAttach:function(e,t){},_getMetadata:function(d){try{var f=d.data(this.name.toLowerCase())||"";f=f.replace(/'/g,'"');f=f.replace(/([a-zA-Z0-9]+):/g,function(e,t,n){var r=f.substring(0,n).match(/"/g);return!r||r.length%2===0?'"'+t+'":':t+":"});f=$.parseJSON("{"+f+"}");for(var g in f){var h=f[g];if(typeof h==="string"&&h.match(/^new Date\((.*)\)$/)){f[g]=eval(h)}}return f}catch(e){return{}}},_getInst:function(e){return $(e).data(this.name)||{}},option:function(e,t,n){e=$(e);var r=e.data(this.name);if(!t||typeof t==="string"&&n==null){var i=(r||{}).options;return i&&t?i[t]:i}if(!e.hasClass(this._getMarker())){return}var i=t||{};if(typeof t==="string"){i={};i[t]=n}this._optionsChanged(e,r,i);$.extend(r.options,i)},_optionsChanged:function(e,t,n){},destroy:function(e){e=$(e);if(!e.hasClass(this._getMarker())){return}this._preDestroy(e,this._getInst(e));e.removeData(this.name).removeClass(this._getMarker())},_preDestroy:function(e,t){}});$.JQPlugin={createPlugin:function(e,t){if(typeof e==="object"){t=e;e="JQPlugin"}e=camelCase(e);var n=camelCase(t.name);JQClass.classes[n]=JQClass.classes[e].extend(t);new JQClass.classes[n]}}})(jQuery);(function(e){var t="ult_countdown";var n=0;var r=1;var i=2;var s=3;var o=4;var u=5;var a=6;e.JQPlugin.createPlugin({name:t,defaultOptions:{until:null,since:null,timezone:null,serverSync:null,format:"dHMS",layout:"",compact:false,padZeroes:false,significant:0,description:"",expiryUrl:"",expiryText:"",alwaysExpire:false,onExpiry:null,onTick:null,tickInterval:1},regionalOptions:{"":{labels:["Years","Months","Weeks","Days","Hours","Minutes","Seconds"],labels1:["Year","Month","Week","Day","Hour","Minute","Second"],compactLabels:["y","m","w","d"],whichLabels:null,digits:["0","1","2","3","4","5","6","7","8","9"],timeSeparator:":",isRTL:false}},_getters:["getTimes"],_rtlClass:t+"-rtl",_sectionClass:t+"-section",_amountClass:t+"-amount",_periodClass:t+"-period",_rowClass:t+"-row",_holdingClass:t+"-holding",_showClass:t+"-show",_descrClass:t+"-descr",_timerElems:[],_init:function(){function i(e){var u=e<1e12?r?performance.now()+performance.timing.navigationStart:n():e||n();if(u-o>=1e3){t._updateElems();o=u}s(i)}var t=this;this._super();this._serverSyncs=[];var n=typeof Date.now=="function"?Date.now:function(){return(new Date).getTime()};var r=window.performance&&typeof window.performance.now=="function";var s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||null;var o=0;if(!s||e.noRequestAnimationFrame){e.noRequestAnimationFrame=null;setInterval(function(){t._updateElems()},980)}else{o=window.animationStartTime||window.webkitAnimationStartTime||window.mozAnimationStartTime||window.oAnimationStartTime||window.msAnimationStartTime||n();s(i)}},UTCDate:function(e,t,n,r,i,s,o,u){if(typeof t=="object"&&t.constructor==Date){u=t.getMilliseconds();o=t.getSeconds();s=t.getMinutes();i=t.getHours();r=t.getDate();n=t.getMonth();t=t.getFullYear()}var a=new Date;a.setUTCFullYear(t);a.setUTCDate(1);a.setUTCMonth(n||0);a.setUTCDate(r||1);a.setUTCHours(i||0);a.setUTCMinutes((s||0)-(Math.abs(e)<30?e*60:e));a.setUTCSeconds(o||0);a.setUTCMilliseconds(u||0);return a},periodsToSeconds:function(e){return e[0]*31557600+e[1]*2629800+e[2]*604800+e[3]*86400+e[4]*3600+e[5]*60+e[6]},_instSettings:function(e,t){return{_periods:[0,0,0,0,0,0,0]}},_addElem:function(e){if(!this._hasElem(e)){this._timerElems.push(e)}},_hasElem:function(t){return e.inArray(t,this._timerElems)>-1},_removeElem:function(t){this._timerElems=e.map(this._timerElems,function(e){return e==t?null:e})},_updateElems:function(){for(var e=this._timerElems.length-1;e>=0;e--){this._updateCountdown(this._timerElems[e])}},_optionsChanged:function(t,n,r){if(r.layout){r.layout=r.layout.replace(/</g,"<").replace(/>/g,">")}this._resetExtraLabels(n.options,r);var i=n.options.timezone!=r.timezone;e.extend(n.options,r);this._adjustSettings(t,n,r.until!=null||r.since!=null||i);var s=new Date;if(n._since&&n._sinces){this._addElem(t[0])}this._updateCountdown(t,n)},_updateCountdown:function(t,n){t=t.jquery?t:e(t);n=n||t.data(this.name);if(!n){return}t.html(this._generateHTML(n)).toggleClass(this._rtlClass,n.options.isRTL);if(e.isFunction(n.options.onTick)){var r=n._hold!="lap"?n._periods:this._calculatePeriods(n,n._show,n.options.significant,new Date);if(n.options.tickInterval==1||this.periodsToSeconds(r)%n.options.tickInterval==0){n.options.onTick.apply(t[0],[r])}}var i=n._hold!="pause"&&(n._since?n._now.getTime()=n._until.getTime());if(i&&!n._expiring){n._expiring=true;if(this._hasElem(t[0])||n.options.alwaysExpire){this._removeElem(t[0]);if(e.isFunction(n.options.onExpiry)){n.options.onExpiry.apply(t[0],[])}if(n.options.expiryText){var s=n.options.layout;n.options.layout=n.options.expiryText;this._updateCountdown(t[0],n);n.options.layout=s}if(n.options.expiryUrl){window.location=n.options.expiryUrl}}n._expiring=false}else if(n._hold=="pause"){this._removeElem(t[0])}},_resetExtraLabels:function(e,t){var n=false;for(var r in t){if(r!="whichLabels"&&r.match(/[Ll]abels/)){n=true;break}}if(n){for(var r in e){if(r.match(/[Ll]abels[02-9]|compactLabels1/)){e[r]=null}}}},_adjustSettings:function(t,n,r){var i;var s=0;var o=null;for(var u=0;u0;p[d]=t._show[d]=="?"&&!l?null:t._show[d];c+=p[d]?1:0;h-=t._periods[d]>0?1:0}var v=[false,false,false,false,false,false,false];for(var d=a;d>=n;d--){if(t._show[d]){if(t._periods[d]){v[d]=true}else{v[d]=h>0;h--}}}var m=t.options.compact?t.options.compactLabels:t.options.labels;var g=t.options.whichLabels||this._normalLabels;var y=function(e){var n=t.options["compactLabels"+g(t._periods[e])];return p[e]?f._translateDigits(t,t._periods[e])+(n?n[e]:m[e])+" ":""};var b=t.options.padZeroes?2:1;var w=function(e){var n=t.options["labels"+g(t._periods[e])];return!t.options.significant&&p[e]||t.options.significant&&v[e]?''+''+''+f._minDigits(t,t._periods[e],b)+""+''+(n?n[e]:m[e])+"":""};return t.options.layout?this._buildLayout(t,p,t.options.layout,t.options.compact,t.options.significant,v):(t.options.compact?''+y(n)+y(r)+y(i)+y(s)+(p[o]?this._minDigits(t,t._periods[o],2):"")+(p[u]?(p[o]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[u],2):"")+(p[a]?(p[o]||p[u]?t.options.timeSeparator:"")+this._minDigits(t,t._periods[a],2):""):''+w(n)+w(r)+w(i)+w(s)+w(o)+w(u)+w(a))+""+(t.options.description?''+t.options.description+"":"")},_buildLayout:function(t,f,l,c,h,p){var d=t.options[c?"compactLabels":"labels"];var v=t.options.whichLabels||this._normalLabels;var m=function(e){return(t.options[(c?"compactLabels":"labels")+v(t._periods[e])]||d)[e]};var g=function(e,n){return t.options.digits[Math.floor(e/n)%10]};var y={desc:t.options.description,sep:t.options.timeSeparator,yl:m(n),yn:this._minDigits(t,t._periods[n],1),ynn:this._minDigits(t,t._periods[n],2),ynnn:this._minDigits(t,t._periods[n],3),y1:g(t._periods[n],1),y10:g(t._periods[n],10),y100:g(t._periods[n],100),y1000:g(t._periods[n],1e3),ol:m(r),on:this._minDigits(t,t._periods[r],1),onn:this._minDigits(t,t._periods[r],2),onnn:this._minDigits(t,t._periods[r],3),o1:g(t._periods[r],1),o10:g(t._periods[r],10),o100:g(t._periods[r],100),o1000:g(t._periods[r],1e3),wl:m(i),wn:this._minDigits(t,t._periods[i],1),wnn:this._minDigits(t,t._periods[i],2),wnnn:this._minDigits(t,t._periods[i],3),w1:g(t._periods[i],1),w10:g(t._periods[i],10),w100:g(t._periods[i],100),w1000:g(t._periods[i],1e3),dl:m(s),dn:this._minDigits(t,t._periods[s],1),dnn:this._minDigits(t,t._periods[s],2),dnnn:this._minDigits(t,t._periods[s],3),d1:g(t._periods[s],1),d10:g(t._periods[s],10),d100:g(t._periods[s],100),d1000:g(t._periods[s],1e3),hl:m(o),hn:this._minDigits(t,t._periods[o],1),hnn:this._minDigits(t,t._periods[o],2),hnnn:this._minDigits(t,t._periods[o],3),h1:g(t._periods[o],1),h10:g(t._periods[o],10),h100:g(t._periods[o],100),h1000:g(t._periods[o],1e3),ml:m(u),mn:this._minDigits(t,t._periods[u],1),mnn:this._minDigits(t,t._periods[u],2),mnnn:this._minDigits(t,t._periods[u],3),m1:g(t._periods[u],1),m10:g(t._periods[u],10),m100:g(t._periods[u],100),m1000:g(t._periods[u],1e3),sl:m(a),sn:this._minDigits(t,t._periods[a],1),snn:this._minDigits(t,t._periods[a],2),snnn:this._minDigits(t,t._periods[a],3),s1:g(t._periods[a],1),s10:g(t._periods[a],10),s100:g(t._periods[a],100),s1000:g(t._periods[a],1e3)};var b=l;for(var w=n;w<=a;w++){var E="yowdhms".charAt(w);var x=new RegExp("\\{"+E+"<\\}([\\s\\S]*)\\{"+E+">\\}","g");b=b.replace(x,!h&&f[w]||h&&p[w]?"$1":"")}e.each(y,function(e,t){var n=new RegExp("\\{"+e+"\\}","g");b=b.replace(n,t)});return b},_minDigits:function(e,t,n){t=""+t;if(t.length>=n){return this._translateDigits(e,t)}t="0000000000"+t;return this._translateDigits(e,t.substr(t.length-n))},_translateDigits:function(e,t){return(""+t).replace(/[0-9]/g,function(t){return e.options.digits[t]})},_determineShow:function(e){var t=e.options.format;var f=[];f[n]=t.match("y")?"?":t.match("Y")?"!":null;f[r]=t.match("o")?"?":t.match("O")?"!":null;f[i]=t.match("w")?"?":t.match("W")?"!":null;f[s]=t.match("d")?"?":t.match("D")?"!":null;f[o]=t.match("h")?"?":t.match("H")?"!":null;f[u]=t.match("m")?"?":t.match("M")?"!":null;f[a]=t.match("s")?"?":t.match("S")?"!":null;return f},_calculatePeriods:function(e,t,f,l){e._now=l;e._now.setMilliseconds(0);var c=new Date(e._now.getTime());if(e._since){if(l.getTime()e._until.getTime()){e._now=l=c}}var h=[0,0,0,0,0,0,0];if(t[n]||t[r]){var p=this._getDaysInMonth(l.getFullYear(),l.getMonth());var d=this._getDaysInMonth(c.getFullYear(),c.getMonth());var v=c.getDate()==l.getDate()||c.getDate()>=Math.min(p,d)&&l.getDate()>=Math.min(p,d);var m=function(e){return(e.getHours()*60+e.getMinutes())*60+e.getSeconds()};var g=Math.max(0,(c.getFullYear()-l.getFullYear())*12+c.getMonth()-l.getMonth()+(c.getDate()b){l.setDate(b)}l.setFullYear(l.getFullYear()+h[n]);l.setMonth(l.getMonth()+h[r]);if(y){l.setDate(b)}}var w=Math.floor((c.getTime()-l.getTime())/1e3);var E=function(e,n){h[e]=t[e]?Math.floor(w/n):0;w-=h[e]*n};E(i,604800);E(s,86400);E(o,3600);E(u,60);E(a,1);if(w>0&&!e._since){var x=[1,12,4.3482,7,24,60,60];var T=a;var N=1;for(var C=a;C>=n;C--){if(t[C]){if(h[T]>=N){h[T]=0;w=1}if(w>0){h[C]++;w=0;T=C;N=1}}N*=x[C]}}if(f){for(var C=n;C<=a;C++){if(f&&h[C]){f--}else if(!f){h[C]=0}}}return h}})})(jQuery); // Highlight box - call-to-action.min (function(e){function t(){e(".ultimate-call-to-action").each(function(t,n){var r=e(n).data("override");if(r!=0){var i="true";if(e(n).parents(".wpb_row").length>0)var s=e(n).parents(".wpb_column");else if(e(n).parents(".wpb_column").length>0)var s=e(n).parents(".wpb_row");else var s=e(n).parent();var o=s;if(r=="full"){s=e("body");i="false"}if(r=="ex-full"){s=e("html");i="false"}if(!isNaN(r)){for(var t=1;tthis.endVal?true:false;this.startTime=null;this.timestamp=null;this.remaining=null;this.frameVal=this.startVal;this.rAF=null;this.decimals=Math.max(0,r||0);this.dec=Math.pow(10,this.decimals);this.duration=i*1e3||2e3;this.easeOutExpo=function(e,t,n,r){return n*(-Math.pow(2,-10*e/r)+1)*1024/1023+t};this.count=function(e){if(f.startTime===null)f.startTime=e;f.timestamp=e;var t=e-f.startTime;f.remaining=f.duration-t;if(f.options.useEasing){if(f.countDown){var n=f.easeOutExpo(t,0,f.startVal-f.endVal,f.duration);f.frameVal=f.startVal-n}else{f.frameVal=f.easeOutExpo(t,f.startVal,f.endVal-f.startVal,f.duration)}}else{if(f.countDown){var n=(f.startVal-f.endVal)*(t/f.duration);f.frameVal=f.startVal-n}else{f.frameVal=f.startVal+(f.endVal-f.startVal)*(t/f.duration)}}f.frameVal=Math.round(f.frameVal*f.dec)/f.dec;if(f.countDown){f.frameVal=f.frameValf.endVal?f.endVal:f.frameVal}f.d.innerHTML=f.formatNumber(f.frameVal.toFixed(f.decimals));if(t1?f.options.decimal+t[1]:"";i=/(\d+)(\d{3})/;if(f.options.useGrouping){while(i.test(n)){n=n.replace(i,"$1"+f.options.separator+"$2")}}return n+r};f.d.innerHTML=f.formatNumber(f.startVal.toFixed(f.decimals))}; // ihover - ult-ihover.min (function(){jQuery(document).ready(function(){jQuery(".ult-ih-list").each(function(){var e=jQuery(this).attr("data-shape");var t=jQuery(this).attr("data-height");var n=jQuery(this).attr("data-width");jQuery(this).find("li").each(function(){jQuery(this).find(".ult-ih-item").addClass("ult-ih-"+e);jQuery(this).css({height:t,width:n});jQuery(this).find(".ult-ih-item, .ult-ih-img").css({height:t,width:n})})})})})(); //headings - headings.min function ultimate_headings_init(){var e=0;$jh(".uvc-heading").each(function(){var t,n,r;var i=$jh(this).outerWidth();var s=$jh(this).attr("data-hline_width");var o=$jh(this).attr("data-hicon_type");var u=$jh(this).attr("data-halign");var a=$jh(this).attr("data-hspacer");if(a=="line_with_icon"){var f=$jh(this).attr("id");e=parseInt($jh(this).attr("data-hfixer"));var l=i/2;$jh(this).find(".dynamic_ultimate_heading_css").remove();if(s=="auto"||s>i)r=i;else r=s;var c=r/2;if(o=="selector"){n=$jh(this).find(".aio-icon").outerWidth();t=$jh(this).find(".aio-icon").outerHeight()}else{n=$jh(this).find(".aio-icon-img").outerWidth();t=$jh(this).find(".aio-icon-img").outerHeight()}var h=n/2;var p=l-h+n+e;var d=c;$jh(this).find(".uvc-heading-spacer").height(t);if(u=="center"){$jh(this).find(".aio-icon-img").css({margin:"0 auto"});var v="#"+f+" .uvc-heading-spacer.line_with_icon:before{right:"+p+"px;}#"+f+" .uvc-heading-spacer.line_with_icon:after{left:"+p+"px;}"}else if(u=="left"){$jh(this).find(".aio-icon-img").css({"float":u});var v="";if(r!=""){v="#"+f+" .uvc-heading-spacer.line_with_icon:before{left:"+(n+e)+"px;right:auto;}#"+f+" .uvc-heading-spacer.line_with_icon:after{left:"+(d+n+e)+"px;right:auto;}"}else{v="#"+f+" .uvc-heading-spacer.line_with_icon:before{right:"+(p-n-e*2)+"px;}#"+f+" .uvc-heading-spacer.line_with_icon:after{left:"+(p-e)+"px;}"}}else if(u=="right"){$jh(this).find(".aio-icon-img").css({"float":u});var v="";if(r!=""){v="#"+f+" .uvc-heading-spacer.line_with_icon:before{right:"+(n+e)+"px;left:auto;}#"+f+" .uvc-heading-spacer.line_with_icon:after{right:"+(d+n+e)+"px;left:auto;}"}else{v="#"+f+" .uvc-heading-spacer.line_with_icon:before{right:"+(p-e)+"px;}#"+f+" .uvc-heading-spacer.line_with_icon:after{left:"+(p-n-e*2)+"px;}"}}var m=$jh(this).attr("data-hborder_style");var g=$jh(this).attr("data-hborder_color");var y=$jh(this).attr("data-hborder_height");if(s=="auto"){if(u=="center")d=Math.floor(d-n+e)}var b='
";$jh(this).prepend(b)}else if(a=="line_only"){if(u=="right"||u=="left"){$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({"float":u})}else{$jh(this).find(".uvc-heading-spacer").find(".uvc-headings-line").css({margin:"0 auto"})}}})}$jh=jQuery.noConflict();$jh(document).ready(function(e){ultimate_headings_init()});$jh(window).load(function(e){ultimate_headings_init()});$jh(window).resize(function(e){ultimate_headings_init()}); // slick custom - slick.custom.min jQuery(document).ready(function(){jQuery(".ult-carousel-wrapper").each(function(){var d=jQuery(this);if(d.hasClass("ult_full_width")){var b=jQuery("html").outerWidth();var a=d.width();var c=(b-a)/2;d.css({position:"relative",left:"-"+c+"px",width:b+"px"})}});jQuery(".ult-carousel-wrapper").each(function(b,d){var c=jQuery(d).data("gutter");var e=jQuery(d).attr("id");if(c!=""){var a="";jQuery("head").append(a)}})});jQuery(window).resize(function(){jQuery(".ult-carousel-wrapper").each(function(){var d=jQuery(this);if(d.hasClass("ult_full_width")){d.removeAttr("style");var b=jQuery("html").outerWidth();var a=d.width();var c=(b-a)/2;d.css({position:"relative",left:"-"+c+"px",width:b+"px"})}})}); // fancy text - type effect - typed.min !function(e){"use strict";var t=function(t,n){this.el=e(t);this.options=e.extend({},e.fn.typed.defaults,n);this.baseText=this.el.text()||this.el.attr("placeholder")||"";this.typeSpeed=this.options.typeSpeed;this.startDelay=this.options.startDelay;this.backSpeed=this.options.backSpeed;this.backDelay=this.options.backDelay;this.strings=this.options.strings;this.strPos=0;this.arrayPos=0;this.stopNum=0;this.loop=this.options.loop;this.loopCount=this.options.loopCount;this.curLoop=0;this.stop=false;this.showCursor=this.isInput?false:this.options.showCursor;this.cursorChar=this.options.cursorChar;this.isInput=this.el.is("input");this.attr=this.options.attr||(this.isInput?"placeholder":null);this.build()};t.prototype={constructor:t,init:function(){var e=this;e.timeout=setTimeout(function(){e.typewrite(e.strings[e.arrayPos],e.strPos)},e.startDelay)},build:function(){if(this.showCursor===true){this.cursor=e(''+this.cursorChar+"");if(this.el.parent().find(".typed-cursor").length==0)this.el.after(this.cursor)}this.init()},typewrite:function(e,t){if(this.stop===true)return;var n=Math.round(Math.random()*(100-30))+this.typeSpeed;var r=this;r.timeout=setTimeout(function(){var n=0;var i=e.substr(t);if(i.charAt(0)==="^"){var s=1;if(/^\^\d+/.test(i)){i=/\d+/.exec(i)[0];s+=i.length;n=parseInt(i)}e=e.substring(0,t)+e.substring(t+s)}r.timeout=setTimeout(function(){if(t===e.length){r.options.onStringTyped(r.arrayPos);if(r.arrayPos===r.strings.length-1){r.options.callback();r.curLoop++;if(r.loop===false||r.curLoop===r.loopCount)return}r.timeout=setTimeout(function(){r.backspace(e,t)},r.backDelay)}else{if(t===0)r.options.preStringTyped(r.arrayPos);var n=r.baseText+e.substr(0,t+1);if(r.attr){r.el.attr(r.attr,n)}else{r.el.text(n)}t++;r.typewrite(e,t)}},n)},n)},backspace:function(e,t){if(this.stop===true){return}var n=Math.round(Math.random()*(100-30))+this.backSpeed;var r=this;r.timeout=setTimeout(function(){var n=r.baseText+e.substr(0,t);if(r.attr){r.el.attr(r.attr,n)}else{r.el.text(n)}if(t>r.stopNum){t--;r.backspace(e,t)}else if(t<=r.stopNum){r.arrayPos++;if(r.arrayPos===r.strings.length){r.arrayPos=0;r.init()}else r.typewrite(r.strings[r.arrayPos],t)}},n)},reset:function(){var e=this;clearInterval(e.timeout);var t=this.el.attr("id");this.el.after('');this.el.remove();this.cursor.remove();e.options.resetCallback()}};e.fn.typed=function(n){return this.each(function(){var r=e(this),i=r.data("typed"),s=typeof n=="object"&&n;if(!i)r.data("typed",i=new t(this,s));if(typeof n=="string")i[n]()})};e.fn.typed.defaults={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],typeSpeed:0,startDelay:0,backSpeed:0,backDelay:500,loop:false,loopCount:false,showCursor:true,cursorChar:"|",attr:null,callback:function(){},preStringTyped:function(){},onStringTyped:function(){},resetCallback:function(){}}}(window.jQuery); // fancy text - slide effect - vticker.min (function(e){e.fn.vTicker=function(t){var n={speed:700,pause:2e3,showItems:1,animation:"",mousePause:true,isPaused:false,direction:"down",height:0};var t=e.extend(n,t);moveUp=function(t,n,r){if(r.isPaused){return}var i=t.children("ul");var s=i.children("li:first").clone(true);if(r.height>0){n=i.children("li:first").height()}i.animate({top:"-="+n+"px"},r.speed,function(){e(this).children("li:first").remove();e(this).css("top","0px")});if(r.animation=="fade"){i.children("li:first").fadeOut(r.speed);if(r.height==0){i.children("li:eq("+r.showItems+")").hide().fadeIn(r.speed)}}s.appendTo(i)};moveDown=function(t,n,r){if(r.isPaused){return}var i=t.children("ul");var s=i.children("li:last").clone(true);if(r.height>0){n=i.children("li:first").height()}i.css("top","-"+n+"px").prepend(s);i.animate({top:0},r.speed,function(){e(this).children("li:last").remove()});if(r.animation=="fade"){if(r.height==0){i.children("li:eq("+r.showItems+")").fadeOut(r.speed)}i.children("li:first").hide().fadeIn(r.speed)}};return this.each(function(){var n=e(this);var r=0;n.css({overflow:"hidden",position:"relative"}).children("ul").css({position:"absolute",margin:0,padding:0}).children("li").css({margin:0,padding:0});if(t.height==0){n.children("ul").children("li").each(function(){if(e(this).height()>r){r=e(this).height()}});n.children("ul").children("li").each(function(){e(this).height(r)});n.height(r*t.showItems)}else{n.height(t.height)}var i=setInterval(function(){if(t.direction=="up"){moveUp(n,r,t)}else{moveDown(n,r,t)}},t.pause);if(t.mousePause){n.bind("mouseenter",function(){t.isPaused=true}).bind("mouseleave",function(){t.isPaused=false})}})}})(jQuery); // custom - custom.min function resize_uvc_map(e,t){var n=jQuery("#"+e).attr("data-map_override");var r="true";if(jQuery("#"+t).parents(".wpb_column").length>0)var i=jQuery("#"+t).parents(".wpb_column");else if(jQuery("#"+t).parents(".wpb_row").length>0)var i=jQuery("#"+t).parents(".wpb_row");else var i=jQuery("#"+t).parent();var s=i;if(n=="full"){i=jQuery("body");r="false"}if(n=="ex-full"){i=jQuery("html");r="false"}if(!isNaN(n)){for(var o=1;o0){e(".timeline-block").each(function(t,n){var r=e(this).find(".timeline-header-block");var i=e(this).find(".timeline-icon-block");i.css({position:"absolute"});var s=i.outerHeight();var o=i.outerWidth();var u=-(o/2);var a=parseInt(r.find(".timeline-header").css("padding-left").replace(/[^\d.]/g,""));if(e(this).hasClass("timeline-post-left")){i.css({left:u,right:"auto"});r.css({"padding-left":o/2+a+"px"})}else if(e(this).hasClass("timeline-post-right")){i.css({left:"auto",right:u});r.css({"padding-right":o/2+a+"px"})}var f=r.height();var l=f/2;var c=s/2;var h=l-c;i.css({top:h});var p=i.offset().left;var d=e(window).width();if(0>p||d=i){n.find(".ult-new-ib-content").hide()}else{n.find(".ult-new-ib-content").show()}}})}function s(){e(".ult-spacer").each(function(t,n){var r=e(n).data("id");var i=e("body").width();var s=e(n).data("height-mobile");var o=e(n).data("height-tab");var u=e(n).data("height");if(i<=640){e(".spacer-"+r).height(s)}else if(i>=640&&i<=960){e(".spacer-"+r).height(o)}else if(i>=960){e(".spacer-"+r).height(u)}})}jQuery(document).ready(function(){s()});jQuery(window).resize(function(){s()});jQuery(window).scroll(function(){var e=jQuery(".ult-no-mobile").length;if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){n()}else{if(e>=1)jQuery(".ult-animation").css("opacity",1);else n()}jQuery(".vc-row-fade").vc_fade_row();jQuery(".vc-row-translate").vc_translate_row()});e.fn.vc_translate_row=function(){var e=jQuery(window).scrollTop();var t=jQuery(window).height();jQuery(this).each(function(n,r){var i=jQuery(r).attr("data-row-effect-mobile-disable");if(typeof i=="undefined")i="false";else i=i.toString();if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var s="false";else var s="true";if(s=="true"&&i=="true")var o="true";else var o="false";if(o=="false"){var u=0;var a=jQuery(r).outerHeight();var f=jQuery(r).offset().top;var l=f-e;var c=l+a;var h=jQuery(r).attr("data-parallax-content-sense");var p=h/100;var d=0;var v=t-t*(u/100);if(c<=v&&l<=0){if(a>t){var d=(t-c)*p}else{var d=-(l*p)}if(d<0)d=0}else{d=0}var m=".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator";jQuery(r).find(".vc-row-translate-wrapper").children().each(function(e,t){if(!jQuery(t).is(m)){jQuery(t).css({"-webkit-transform":"translateY("+d+"px)",transform:"translateY("+d+"px)","-ms-transform":"translateY("+d+"px)"})}})}})};e.fn.vc_fade_row=function(){var e=jQuery(window).scrollTop();var t=jQuery(window).height();jQuery(this).each(function(n,r){var i=jQuery(r).attr("data-row-effect-mobile-disable");if(typeof i=="undefined")i="false";else i=i.toString();if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var s="false";else var s="true";if(s=="true"&&i=="true")var o="true";else var o="false";if(o=="false"){var u=0;var a=jQuery(r).data("fadeout-percentage");a=100-a;var f="";var l=jQuery(r).outerHeight();var c=jQuery(r).offset().top;var h=c-e;var p=h+l;var d=1;var v=t-t*(a/100);var m=(v-p)/v*(1-u);if(m>0)d=1-m;if(p<=v){if(d1)d=1;jQuery(r).children().each(function(e,t){var n=".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator";if(!jQuery(t).is(n)){jQuery(t).css({opacity:d})}})}else{jQuery(r).children().each(function(e,t){jQuery(t).css({opacity:d})})}}})};jQuery(window).load(function(){jQuery(".banner-block-custom-height").each(function(e,t){var n=jQuery(this).find("img");var r=jQuery(this).width();var i=n.width();if(r>i)n.css({width:"100%",height:"auto"})});var n=0,r=0;var s=function(){jQuery(".ifb-jq-height").each(function(){jQuery(this).find(".ifb-back").css("height","auto");jQuery(this).find(".ifb-front").css("height","auto");var e=parseInt(jQuery(this).find(".ifb-front").outerHeight(true));var t=parseInt(jQuery(this).find(".ifb-back").outerHeight(true));var n=e>t?e:t;jQuery(this).find(".ifb-front").css("height",n+"px");jQuery(this).find(".ifb-back").css("height",n+"px");if(jQuery(this).hasClass("vertical_door_flip")){jQuery(this).find(".ifb-flip-box").css("height",n+"px")}else if(jQuery(this).hasClass("horizontal_door_flip")){jQuery(this).find(".ifb-flip-box").css("height",n+"px")}else if(jQuery(this).hasClass("style_9")){jQuery(this).find(".ifb-flip-box").css("height",n+"px")}});jQuery(".ifb-auto-height").each(function(){if(jQuery(this).hasClass("horizontal_door_flip")||jQuery(this).hasClass("vertical_door_flip")){var e=parseInt(jQuery(this).find(".ifb-front").outerHeight());var t=parseInt(jQuery(this).find(".ifb-back").outerHeight());var n=e>t?e:t;jQuery(this).find(".ifb-flip-box").css("height",n+"px")}})};if(navigator.userAgent.indexOf("Safari")!=-1&&navigator.userAgent.indexOf("Chrome")==-1){setTimeout(function(){s()},500)}else{s()}jQuery(window).resize(function(){n++;setTimeout(function(){r++;if(n==r){s()}},500)});var o=0;var u=0;jQuery(window).resize(function(){i();jQuery(".csstime.smile-icon-timeline-wrap").each(function(){t(jQuery(this))});e(".jstime .timeline-wrapper").each(function(){t(jQuery(this))});if(jQuery(".smile-icon-timeline-wrap.jstime .timeline-line").css("display")=="none"){if(u===0){e(".jstime .timeline-wrapper").masonry("destroy");u=1}}else{if(u==1){jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block"});setTimeout(function(){jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block"});jQuery(this).find(".timeline-block").each(function(){if(jQuery(this).css("left")=="0px"){jQuery(this).addClass("timeline-post-left")}else{jQuery(this).addClass("timeline-post-right")}});u=0},300)}}});e(".smile-icon-timeline-wrap").each(function(){var n=jQuery(this).data("timeline-cutom-width");if(n){jQuery(this).css("width",n*2+40+"px")}var r=parseInt(jQuery(this).width());var i=parseInt(jQuery(this).find(".timeline-block").width());var s=i/r*100;var o=r-i*2-40;o=o/r*100;e(".jstime .timeline-wrapper").each(function(){jQuery(this).masonry({itemSelector:".timeline-block"})});setTimeout(function(){e(".jstime .timeline-wrapper").each(function(){jQuery(this).find(".timeline-block").each(function(){if(jQuery(this).css("left")=="0px"){jQuery(this).addClass("timeline-post-left")}else{jQuery(this).addClass("timeline-post-right")}t(jQuery(this))});jQuery(".timeline-block").each(function(){var e=parseInt(jQuery(this).css("top"))-parseInt(jQuery(this).next().css("top"));if(e<14&&e>0||e==0){jQuery(this).next().addClass("time-clash-right")}else if(e>-14){jQuery(this).next().addClass("time-clash-left")}});jQuery(".smile-icon-timeline-wrap").each(function(){var e=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",e);jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",e);jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",e);jQuery(this).find(".feat-item").css("background-color",e);if(jQuery(this).find(".feat-item").find(".feat-top").length>0)jQuery(this).find(".feat-item l").css("border-top-color",e);else jQuery(this).find(".feat-item l").css("border-bottom-color",e)});jQuery(".jstime.timeline_preloader").remove();jQuery(".smile-icon-timeline-wrap.jstime").css("opacity","1")});jQuery(".timeline-post-right").each(function(){var e=jQuery(this).find(".timeline-icon-block").clone();jQuery(this).find(".timeline-icon-block").remove();jQuery(this).find(".timeline-header-block").after(e)})},1e3);jQuery(this).find(".timeline-wrapper").each(function(){if(jQuery(this).text().trim()===""){jQuery(this).remove()}});if(!jQuery(this).find(".timeline-line ").next().hasClass("timeline-separator-text")){jQuery(this).find(".timeline-line").prepend("")}var u=jQuery(this).data("time_sep_color");var a=jQuery(this).data("time_sep_bg_color");var f=jQuery(".smile-icon-timeline-wrap .timeline-line").css("border-right-color");jQuery(this).find(".timeline-dot").css("background-color",a);jQuery(this).find(".timeline-line z").css("background-color",a);jQuery(this).find(".timeline-line o").css("background-color",a);jQuery(this).find(".timeline-separator-text").css("color",u);jQuery(this).find(".timeline-separator-text .sep-text").css("background-color",a);jQuery(this).find(".ult-timeline-arrow s").css("border-color","rgba(255, 255, 255, 0) "+f);jQuery(this).find(".feat-item .ult-timeline-arrow s").css("border-color",f+" rgba(255, 255, 255, 0)");jQuery(this).find(".timeline-block").css("border-color",f);jQuery(this).find(".feat-item").css("border-color",f)});jQuery(".timeline-block").each(function(){var t=e(this).find(".link-box").attr("href");var n=e(this).find(".link-title").attr("href");if(t){jQuery(this).wrap("")}if(n){jQuery(this).find(".ult-timeline-title").wrap("")}});jQuery(".feat-item").each(function(){var t=e(this).find(".link-box").attr("href");if(t){jQuery(this).wrap("")}})});jQuery(document).ready(function(){var e=jQuery(".ult-no-mobile").length;if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){n()}else{if(e>=1)jQuery(".ult-animation").css("opacity",1);else n()}i();jQuery(".ubtn").hover(function(){var e=jQuery(this);e.find(".ubtn-text").css("color",e.data("hover"));e.find(".ubtn-hover").css("background",e.data("hover-bg"));var t=e.attr("style");if(e.data("shadow-hover")!=""){var n=e.css("box-shadow");t+="box-shadow:"+e.data("shadow-hover")}e.attr("style",t);if(e.data("border-hover")!=""){e.css("border-color",e.data("border-hover"))}if(e.data("shadow-click")!="none"){var r=e.data("shd-shadow")-3;if(e.is(".shd-left")!="")e.css({right:r});else if(e.is(".shd-right")!="")e.css({left:r});else if(e.is(".shd-top")!="")e.css({bottom:r});else if(e.is(".shd-bottom")!="")e.css({top:r})}},function(){var e=jQuery(this);e.find(".ubtn-text").removeAttr("style");e.find(".ubtn-hover").removeAttr("style");var t=e.data("border-color");var n=e.attr("style");if(e.data("shadow-hover")!="")n+="box-shadow:"+e.data("shadow");e.attr("style",n);if(e.data("border-hover")!=""){e.css("border-color",t)}if(e.data("shadow-click")!="none"){e.removeClass("no-ubtn-shadow");if(e.is(".shd-left")!="")e.css({right:"auto"});else if(e.is(".shd-right")!="")e.css({left:"auto"});else if(e.is(".shd-top")!="")e.css({bottom:"auto"});else if(e.is(".shd-bottom")!="")e.css({top:"auto"})}});jQuery(".ult-new-ib").hover(function(){jQuery(this).find(".ult-new-ib-img").attr("style","opacity:"+jQuery(this).data("hover-opacity"))},function(){jQuery(this).find(".ult-new-ib-img").attr("style","opacity:"+jQuery(this).data("opacity"))});jQuery(".ubtn").on("focus blur mousedown mouseup",function(e){var t=jQuery(this);if(t.data("shadow-click")!="none"){setTimeout(function(){if(t.is(":focus")){t.addClass("no-ubtn-shadow");if(t.is(".shd-left")!="")t.css({right:t.data("shd-shadow")+"px"});else if(t.is(".shd-right")!="")t.css({left:t.data("shd-shadow")+"px"});else if(t.is(".shd-top")!="")t.css({bottom:t.data("shd-shadow")+"px"});else if(t.is(".shd-bottom")!="")t.css({top:t.data("shd-shadow")+"px"})}else{t.removeClass("no-ubtn-shadow");if(t.is(".shd-left")!="")t.css({right:"auto"});else if(t.is(".shd-right")!="")t.css({left:"auto"});else if(t.is(".shd-top")!="")t.css({bottom:"auto"});else if(t.is(".shd-bottom")!="")t.css({top:"auto"})}},0)}});jQuery(".ubtn").focusout(function(){var e=jQuery(this);e.removeClass("no-ubtn-shadow");if(e.is(".shd-left")!="")e.css({right:"auto"});else if(e.is(".shd-right")!="")e.css({left:"auto"});else if(e.is(".shd-top")!="")e.css({bottom:"auto"});else if(e.is(".shd-bottom")!="")e.css({top:"auto"})});jQuery(".smile-icon-timeline-wrap.jstime").css("opacity","0");jQuery(".jstime.timeline_preloader").css("opacity","1");jQuery(".smile-icon-timeline-wrap.csstime .timeline-wrapper").each(function(){jQuery(".csstime .timeline-block:even").addClass("timeline-post-left");jQuery(".csstime .timeline-block:odd").addClass("timeline-post-right")});jQuery(".csstime .timeline-post-right").each(function(){jQuery(this).css("float","right");jQuery("
").insertAfter(jQuery(this))});jQuery(".csstime.smile-icon-timeline-wrap").each(function(){var e=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",e);jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",e);jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",e);jQuery(this).find(".feat-item").css("background-color",e);if(jQuery(this).find(".feat-item").find(".feat-top").length>0)jQuery(this).find(".feat-item l").css("border-top-color",e);else jQuery(this).find(".feat-item l").css("border-bottom-color",e);t(jQuery(this))});jQuery("*").each(function(){if(jQuery(this).attr("data-animation")){var e=jQuery(this).attr("data-animation"),t="delay-"+jQuery(this).attr("data-animation-delay");jQuery(this).bsf_appear(function(){var n=jQuery(this);n.addClass("animated").addClass(e);n.addClass("animated").addClass(t)})}});jQuery(".stats-block").each(function(){jQuery(this).bsf_appear(function(){var e=parseFloat(jQuery(this).find(".stats-number").data("counter-value"));var t=jQuery(this).find(".stats-number").data("counter-value")+" ";var n=parseInt(jQuery(this).find(".stats-number").data("speed"));var r=jQuery(this).find(".stats-number").data("id");var i=jQuery(this).find(".stats-number").data("separator");var s=jQuery(this).find(".stats-number").data("decimal");var o=t.split(".");if(o[1]){o=o[1].length-1}else{o=0}var u=true;if(s=="none"){s=""}if(i=="none"){u=false}else{u=true}var a={useEasing:true,useGrouping:u,separator:i,decimal:s};var f=new countUp(r,0,e,o,n,a);setTimeout(function(){f.start()},500)})});if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent))var r=false;else var r=true;jQuery("#page").click(function(){jQuery(".ifb-hover").removeClass("ifb-hover")});if(!r){jQuery(".ifb-flip-box").hover(function(e){e.stopPropagation();jQuery(this).addClass("ifb-hover")},function(e){e.stopPropagation();jQuery(this).removeClass("ifb-hover")})}jQuery(".ifb-flip-box").each(function(e,t){if(jQuery(this).parent().hasClass("style_9")){jQuery(this).hover(function(){jQuery(this).addClass("ifb-door-hover")},function(){jQuery(this).removeClass("ifb-door-hover")});jQuery(this).on("click",function(){jQuery(this).toggleClass("ifb-door-right-open");jQuery(this).removeClass("ifb-door-hover")})}});jQuery(".ifb-flip-box").click(function(e){e.stopPropagation();if(jQuery(this).hasClass("ifb-hover")){jQuery(this).removeClass("ifb-hover")}else{jQuery(".ifb-hover").removeClass("ifb-hover");jQuery(this).addClass("ifb-hover")}});jQuery(".vertical_door_flip .ifb-front").each(function(){jQuery(this).wrap('
');jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())});jQuery(".reverse_vertical_door_flip .ifb-back").each(function(){jQuery(this).wrap('
');jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())});jQuery(".horizontal_door_flip .ifb-front").each(function(){jQuery(this).wrap('
');jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())});jQuery(".reverse_horizontal_door_flip .ifb-back").each(function(){jQuery(this).wrap('
');jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())});jQuery(".style_9 .ifb-front").each(function(){jQuery(this).wrap('
');jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())});jQuery(".style_9 .ifb-back").each(function(){jQuery(this).wrap('
');jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())});var s=/^((?!chrome).)*safari/i.test(navigator.userAgent);if(s){jQuery(".vertical_door_flip").each(function(e,t){var n=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-n/2+"px");jQuery(this).find(".ifb-multiple-front").css("width","50.2%")});jQuery(".horizontal_door_flip").each(function(e,t){var n=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-n/2+"px");jQuery(this).find(".ifb-multiple-front").css("height","50.2%")});jQuery(".reverse_vertical_door_flip").each(function(e,t){var n=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-n/2+"px")});jQuery(".reverse_horizontal_door_flip").each(function(e,t){var n=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-n/2+"px");jQuery(this).find(".ifb-back").css("position","inherit")})}jQuery(".square_box-icon").each(function(e,t){var n=parseInt(jQuery(this).find(".aio-icon").outerHeight());var r=n/2;jQuery(this).css("padding-top",r+"px");jQuery(this).parent().css("margin-top",r+20+"px");jQuery(this).find(".aio-icon").css("top",-n+"px")})})})(jQuery); // row backgrounds - ultimate_bg.min (function(c){function a(){c(".enable-on-viewport").each(function(e,f){var d=c(this).isVdoOnScreen();if(c(this).hasClass("hosted-video")&&(!c(this).hasClass("override-controls"))){if(d){c(this)[0].play();c(this).parent().parent().parent().find(".video-controls").attr("data-action","play");c(this).parent().parent().parent().find(".video-controls").html('')}else{c(this)[0].pause();c(this).parent().parent().parent().find(".video-controls").attr("data-action","pause");c(this).parent().parent().parent().find(".video-controls").html('')}}})}c(window).scroll(function(){a()});c.fn.isVdoOnScreen=function(){var f=c(window);var d={top:f.scrollTop(),left:f.scrollLeft()};d.right=d.left+f.width();d.bottom=d.top+f.height()-200;var e=this.parent().offset();e.right=e.left+this.parent().outerWidth();e.bottom=e.top+this.parent().outerHeight()-300;return(!(d.righte.right||d.bottome.bottom))};c.fn.ultimate_video_bg=function(d){c(this).each(function(){var i=c(this);var A=i.data("ultimate-video");var h=i.data("ultimate-video2");var I=i.data("ultimate-video-muted");var g=i.data("ultimate-video-loop");var O=i.data("ultimate-video-autoplay");var f=i.data("ultimate-video-poster");var Q=i.data("bg-override");var z=i.data("start-time");var w=i.data("stop-time");var v=i.data("upb-bg-animation");var N=i.data("overlay");var G=i.data("overlay-color");var F=i.data("overlay-pattern");var P=i.data("overlay-pattern-opacity");var m=i.data("overlay-pattern-size");var J=i.data("viewport-video");var B=i.data("controls");var p=i.data("controls-color");var l=i.data("fadeout");var j=i.data("fadeout-percentage");var x=i.data("parallax-content");var q=i.data("parallax-content-sense");var e=i.data("row-effect-mobile-disable");var H=i.data("hide-row");var L=i.data("rtl");var t=i.data("video_fixer");var C="";var K="";if(i.data("multi-color-overlay")){C=i.data("multi-color-overlay");K=i.data("multi-color-overlay-opacity")}var E=overlay_color_html=overlay_pattern_html=overlay_multi_color_html="";if(typeof N!="undefined"&&N.toString()==="true"){if(F!=""){if(m!=""){m="background-size:"+m+"px;"}overlay_pattern_html='
'}if(G!=""){overlay_color_html='
'}if(C!=""){overlay_multi_color_html='
'}E=overlay_color_html+overlay_pattern_html+overlay_multi_color_html}if(w!=0){w=w}else{w=""}if(i.prev().is("p")){var s=i.prev().prev()}else{var s=i.prev()}var o=i;i=s;if(H!=""){i.addClass("ult-vc-hide-row");i.attr("data-hide-row",H)}i.attr("data-rtl",L);var y=i.html();i.addClass("upb_video_class");i.attr("data-row-effect-mobile-disable",e);if(l=="fadeout_row_value"){i.addClass("vc-row-fade");i.data("fadeout-percentage",j)}i.attr("data-upb_br_animation",v);if(A){if(A.indexOf("youtube.com")!=-1){d="youtube"}else{if(A.indexOf("vimeo.com")!=-1){d="vimeo"}}}var D="";if(B=="display_control"){D=''}if(Q=="browser_size"){i.wrapInner('
');i.find(".upb_video-text").html(y)}if(x=="parallax_content_value"){i.addClass("vc-row-translate");i.attr("data-parallax-content-sense",q);i.wrapInner('
');var k=i.css("padding-top");var u=i.css("padding-bottom");i.find(".vc-row-translate-wrapper").css({"padding-top":k,"padding-bottom":u});i[0].style.setProperty("padding-top","0px","important");i[0].style.setProperty("padding-bottom","0px","important")}var R="";if(t.toString()=="true"){R="uvc-video-fixer"}if(d=="youtube"||d=="vimeo"){i.prepend('
'+E+"
")}else{i.prepend('
'+D+E+"
")}b(o,i);o.remove();if(d=="youtube"){A=A.substring((A.indexOf("watch?v="))+8,(A.indexOf("watch?v="))+19);var r=i.find(".upb_video-bg");if(g=="loop"){g=true}if(I=="muted"){I=true}r.attr("data-vdo",A);r.attr("data-loop",g);r.attr("data-poster",f);r.attr("data-muted",I);r.attr("data-start",z);r.attr("data-stop",w);if(J===true){r.addClass("enable-on-viewport");r.addClass("youtube-video");a()}}else{if(d=="vimeo"){A=A.substring((A.indexOf("vimeo.com/"))+10,(A.indexOf("vimeo.com/"))+18);var r=i.find(".upb_video-bg");r.html('')}else{var r=i.find(".upb_video-src");if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){c("",{type:"video/mp4",src:A}).appendTo(r);if(h!=""){var n="";if(h.match(/.ogg/i)){n="video/ogg"}else{if(h.match(/.webm/i)){n="video/webm"}}if(n!=""){c("",{type:n,src:h}).appendTo(r)}}if(I=="muted"){r.attr({muted:I})}if(g=="loop"){r.attr({loop:g})}if(f){r.attr({poster:f})}r.attr({preload:"auto"});if(J===true){r.addClass("enable-on-viewport");r.addClass("hosted-video");a()}else{if(O=="autoplay"){r.attr({autoplay:O})}}}else{if(f!=""){r.parent().css({"background-image":"url("+f+")"})}r.remove()}}}var M=function(){var aa,W,ac,Y="",T="";ac=i;i=i.find(".upb_video-bg");if(Q=="full"){ac=c("body")}if(Q=="ex-full"){ac=c("html")}if(!isNaN(Q)){for(var V=0;V
'}if(y!=""){overlay_color_html='
'}if(u!=""){overlay_multi_color_html='
'}v=overlay_color_html+overlay_pattern_html+overlay_multi_color_html}if(e.prev().is("p")){var n=e.prev().prev()}else{var n=e.prev()}if(K=="browser_size"){n.wrapInner('
');n.addClass("full-browser-size")}if(s=="parallax_content_value"){n.addClass("vc-row-translate");n.attr("data-parallax-content-sense",m);n.wrapInner('
');var g=n.css("padding-top");var o=n.css("padding-bottom");n.find(".vc-row-translate-wrapper").css({"padding-top":g,"padding-bottom":o});n[0].style.setProperty("padding-top","0px","important");n[0].style.setProperty("padding-bottom","0px","important")}if(B!=""){n.addClass("ult-vc-hide-row");n.attr("data-hide-row",B)}n.attr("data-rtl",D);n.prepend('
'+v+"
");e.remove();b(e,n);e=n;e.attr("data-row-effect-mobile-disable",d);e.attr("data-img-parallax-mobile-disable",l);if(h=="fadeout_row_value"){e.addClass("vc-row-fade");e.data("fadeout-percentage",f)}e.css("background-image","");e=e.find(".upb_row_bg");e.attr("data-upb_br_animation",r);if(j!="automatic"){e.css({"background-size":j})}else{e.addClass("upb_bg_size_automatic")}e.css({"background-repeat":A,"background-position":w,"background-color":t});if(E=="vcpb-fs-jquery"||E=="vcpb-mlvp-jquery"){e.attr("data-img-array",J)}else{e.css({"background-image":J,"background-attachment":p})}e.attr("data-parallax_sense",z);e.attr("data-bg-override",K);e.attr("data-bg-animation",M);e.attr("data-bg-animation-type",F);e.attr("data-animation-repeat",L);e.addClass(E);var q=function(){var N,P,R,Q,S;R=e.parent();if(K=="full"){R=c("body");Q=0}if(K=="ex-full"){R=c("html");Q=0}if(!isNaN(K)){for(var O=0;O
'}if(y!=""){overlay_color_html='
'}if(e!=""){overlay_multi_color_html='
'}o=overlay_color_html+overlay_pattern_html+overlay_multi_color_html}if(A=="browser_size"){p.wrapInner('
');p.addClass("full-browser-size")}if(r=="parallax_content_value"){p.addClass("vc-row-translate");p.attr("data-parallax-content-sense",d);p.wrapInner('
');var k=p.css("padding-top");var h=p.css("padding-bottom");p.find(".vc-row-translate-wrapper").css({"padding-top":k,"padding-bottom":h});p[0].style.setProperty("padding-top","0px","important");p[0].style.setProperty("padding-bottom","0px","important")}if(i!=""){p.addClass("ult-vc-hide-row");p.attr("data-hide-row",i)}p.attr("data-rtl",l);p.prepend('
'+o+"
");b(t,p);t=p;t.attr("data-row-effect-mobile-disable",w);if(v=="fadeout_row_value"){t.addClass("vc-row-fade");t.data("fadeout-percentage",B)}t.css("background-image","");t=t.find(".upb_row_bg");t.attr("data-upb_br_animation",n);m=m.replace("url(data:image/svg+xml;base64,","");var u=m.indexOf(";");m=m.substring(u+1);t.attr("style",m);t.attr("data-bg-override",A);if(A=="browser_size"){t.parent().find(".upb-background-text-wrapper").addClass("full-browser-size")}});return this};c.fn.ultimate_bg_color_shift=function(){c(this).each(function(){var s=c(this);var x=c(this).data("bg-override");var q=c(this).data("bg-color");var t=s.data("fadeout");var y=s.data("fadeout-percentage");var r=s.data("parallax-content");var d=s.data("parallax-content-sense");var u=s.data("row-effect-mobile-disable");var v=s.data("overlay");var w=s.data("overlay-color");var o=s.data("overlay-pattern");var g=s.data("overlay-pattern-opacity");var j=s.data("overlay-pattern-size");var i=s.data("hide-row");var l=s.data("rtl");var e="";var f="";if(s.data("multi-color-overlay")){e=s.data("multi-color-overlay");f=s.data("multi-color-overlay-opacity")}if(s.prev().is("p")){var n=s.prev().prev()}else{var n=s.prev()}var m=overlay_color_html=overlay_pattern_html=overlay_multi_color_html="";if(typeof v!="undefined"&&v.toString()==="true"){if(o!=""){if(j!=""){j="background-size:"+j+"px;"}overlay_pattern_html='
'}if(w!=""){overlay_color_html='
'}if(e!=""){overlay_multi_color_html='
'}m=overlay_color_html+overlay_pattern_html+overlay_multi_color_html}if(x=="browser_size"){n.wrapInner('
')}else{var p=""}if(i!=""){n.addClass("ult-vc-hide-row");n.attr("data-hide-row",i)}n.attr("data-rtl",l);if(r=="parallax_content_value"){n.addClass("vc-row-translate");n.wrapInner('
');n.attr("data-parallax-content-sense",d);var k=n.css("padding-top");var h=n.css("padding-bottom");n.find(".vc-row-translate-wrapper").css({"padding-top":k,"padding-bottom":h});n[0].style.setProperty("padding-top","0px","important");n[0].style.setProperty("padding-bottom","0px","important")}n.prepend('
'+m+"
");b(s,n);s.remove();s=n;s.attr("data-row-effect-mobile-disable",u);if(t=="fadeout_row_value"){s.addClass("vc-row-fade");s.data("fadeout-percentage",y)}s.css("background-image","");s=s.find(".upb_row_bg");s.css({background:q});s.attr("data-bg-override",x);if(x=="browser_size"){s.parent().find(".upb-background-text-wrapper").addClass("full-browser-size")}});return this};c.fn.ultimate_parallax_animation=function(e){var i=c(window).height();var h=function(j){return j.height()};var f=c(this);var g=c(window).scrollTop();function d(){var k;var j=0;var l=c(window).scrollTop();f.each(function(){if(c(this).data("upb_br_animation")=="upb_fade_animation"){k=c(this).offset().top;var n=c(this);var p=n.offset().top;var m=h(n);if(p+ml+i-100){return}var q=g-l;if((p+m)-i'+n+"
"}var g=seperator_class=seperator_border_css=seperator_border_line_css=seperator_css="";if(typeof f!="undefined"&&f.toString()=="true"){var I=shape_css=svg=inner_html=seperator_css=shape_css="";var J=false;var M=Math.floor(Math.random()*9999999999999);var p="uvc-seperator-"+M;if(typeof D=="undefined"||D==""||D=="undefined"){D=0}D=parseInt(D);var d=D/2;var e=0;if(q=="triangle_seperator"){seperator_class="ult-trinalge-seperator"}else{if(q=="circle_seperator"){seperator_class="ult-circle-seperator"}else{if(q=="diagonal_seperator"){seperator_class="ult-double-diagonal"}else{if(q=="triangle_svg_seperator"){seperator_class="ult-svg-triangle";svg='';J=true}else{if(q=="circle_svg_seperator"){seperator_class="ult-svg-circle";svg='';J=true}else{if(q=="xlarge_triangle_seperator"){seperator_class="ult-xlarge-triangle";svg='';J=true}else{if(q=="xlarge_triangle_left_seperator"){seperator_class="ult-xlarge-triangle-left";svg='';J=true}else{if(q=="xlarge_triangle_right_seperator"){seperator_class="ult-xlarge-triangle-right";svg='';J=true}else{if(q=="xlarge_circle_seperator"){seperator_class="ult-xlarge-circle";svg='';J=true}else{if(q=="curve_up_seperator"){seperator_class="ult-curve-up-seperator";svg='';J=true}else{if(q=="curve_down_seperator"){seperator_class="ult-curve-down-seperator";svg='';J=true}else{if(q=="tilt_left_seperator"){seperator_class="ult-tilt-left-seperator";svg='';J=true}else{if(q=="tilt_right_seperator"){seperator_class="ult-tilt-right-seperator";svg='';J=true}else{if(q=="waves_seperator"){seperator_class="ult-wave-seperator";svg='';J=true}else{if(q=="clouds_seperator"){seperator_class="ult-cloud-seperator";svg='';J=true}else{if(q=="round_split_seperator"){var E=temp_border_before=temp_border_after=temp_border_line="";temp_padding=0;seperator_class="ult-rounded-split-seperator-wrapper";var z=c(h).outerHeight();if(D!=0){var C=parseInt(c(h).css("padding-bottom"));c(h).css({"padding-bottom":D+"px"});if(C==0){temp_padding=D}}if(u=="top_seperator"){var w="top-split-seperator";var A="0px";var o="auto";var v="border-radius: 0 0 "+D+"px 0 !important;";var k="border-radius: 0 0 0 "+D+"px !important;"}else{if(u=="bottom_seperator"){var w="bottom-split-seperator";var A="auto";var o="0px";var v="border-radius: 0 "+D+"px 0 0 !important;";var k="border-radius: "+D+"px 0 0 0 !important;"}else{var w="top-bottom-split-seperator";var P="0px";var F="auto";var x="auto";var O="0px";var s="border-radius: 0 0 "+D+"px 0 !important;";var G="border-radius: 0 0 0 "+D+"px !important;";var y="border-radius: 0 "+D+"px 0 0 !important;";var N="border-radius: "+D+"px 0 0 0 !important;"}}inner_html='
';if(r!="none"){temp_border_line=j+"px "+r+" "+B;temp_border_before="border-top: "+temp_border_line+"; border-right: "+temp_border_line+";";temp_border_after="border-top: "+temp_border_line+"; border-left: "+temp_border_line+";"}if(u=="top_seperator"||u=="bottom_seperator"){E="";c("head").append(E)}else{E="";temp_css_bottom="";c("head").append(E+temp_css_bottom)}}else{seperator_class="ult-no-shape-seperator"}}}}}}}}}}}}}}}}if(typeof j!="undefined"&&j!=""&&j!=0){e=parseInt(j)}shape_css='content: "";width:'+D+"px; height:"+D+"px; bottom: -"+(d+e)+"px;";if(l!=""){shape_css+="background-color:"+l+";"}if(r!="none"&&seperator_class!="ult-rounded-split-seperator-wrapper"&&J==false){seperator_border_line_css=j+"px "+r+" "+B;shape_css+="border-bottom:"+seperator_border_line_css+"; border-right:"+seperator_border_line_css+";";seperator_css+="border-bottom:"+seperator_border_line_css+";";g="bottom:"+j+"px !important"}if(seperator_class!="ult-no-shape-seperator"&&seperator_class!="ult-rounded-split-seperator-wrapper"&&J==false){var I="";c("head").append(I)}if(J==true){inner_html=svg}if(u=="top_bottom_seperator"){var K='
'+inner_html+"
"+n+"
";K+='
'+inner_html+"
"+n+"
"}else{var K='
'+inner_html+"
"+n+"
"}m.prepend(K);seperator_css="";if(g!=""){g="";seperator_css+=g}if(n!=""){var H=L/2;if(u=="top_seperator"){seperator_css+=""}else{seperator_css+=""}}c("head").append(seperator_css)}}}(jQuery));jQuery(document).ready(function(){var d=0;if(jQuery(".upb_content_video, .upb_content_iframe").prev().is("p")){jQuery(".upb_content_video, .upb_content_iframe").prev().prev().css("background-image","").css("background-repeat","")}else{jQuery(".upb_content_video, .upb_content_iframe").prev().css("background-image","").css("background-repeat","")}jQuery(".upb_content_video").ultimate_video_bg();jQuery(".upb_bg_img").ultimate_bg_shift();jQuery(".upb_content_iframe").ultimate_video_bg();jQuery(".upb_grad").ultimate_grad_shift();jQuery(".upb_color").ultimate_bg_color_shift();jQuery(".upb_no_bg").each(function(i,n){var f=jQuery(n).attr("data-fadeout");var h=jQuery(n).data("fadeout-percentage");var e=jQuery(n).data("parallax-content");var l=jQuery(n).data("parallax-content-sense");var j=jQuery(n).data("row-effect-mobile-disable");if(jQuery(n).prev().is("p")){var m=jQuery(n).prev().prev()}else{var m=jQuery(n).prev()}m.attr("row-effect-mobile-disable",j);if(f=="fadeout_row_value"){m.addClass("vc-row-fade");m.data("fadeout-percentage",h)}if(e=="parallax_content_value"){m.addClass("vc-row-translate");m.attr("data-parallax-content-sense",l);m.wrapInner('
');var g=m.css("padding-top");var k=m.css("padding-bottom");m.find(".vc-row-translate-wrapper").css({"padding-top":g,"padding-bottom":k});m[0].style.setProperty("padding-top","0px","important");m[0].style.setProperty("padding-bottom","0px","important")}});jQuery(".upb_no_bg").remove();var c=function(){jQuery(".upb_row_bg").each(function(){var n=jQuery(this).data("bg-override");var m,k;k=jQuery(this).parent();if(n=="browser_size"){m=jQuery("html")}if(n=="ex-full"){m=jQuery("html")}else{if(n=="full"){m=jQuery("body")}else{if(!isNaN(n)){m=k;for(var g=0;g0){left=0}jQuery(this).css({width:l,left:e});if(n=="browser_size"){k.css("min-height",jQuery(window).height()+"px");var j=jQuery(this);if(k.find(".upb-background-text-wrapper").length>0){k.find(".upb-background-text-wrapper").css("min-height",jQuery(window).height()+"px")}}});jQuery(window).load(function(){jQuery(".upb_video-bg").each(function(m,u){var t=jQuery(this).data("bg-override");var s,q;q=jQuery(this).parents(".wpb_row");if(t=="browser_size"){s=jQuery("html");jQuery(this).parents(".upb_video_class").css("overflow","visible")}if(t=="ex-full"){s=jQuery("html");jQuery(this).parents(".upb_video_class").css("overflow","visible")}else{if(t=="full"){s=jQuery("body");jQuery(this).parents(".upb_video_class").css("overflow","visible")}else{if(!isNaN(t)){s=q;for(var k=1;k0){r=d}jQuery(this).css({width:p,"min-width":p,left:r});var n=(16/9);pHeight=Math.ceil(p/n);children=jQuery(this).children();children.css({width:p,"min-width":p});var e=jQuery(this).css("background-image");if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){children.css({height:pHeight});if(t=="browser_size"){q.addClass("video-browser-size");q.css("min-height",jQuery(window).height()+"px");if(q.find(".upb_video-text-wrapper").length>0){q.find(".upb_video-text-wrapper").addClass("full-browser-size");q.find(".upb_video-text-wrapper").css("min-height",jQuery(window).height()+"px")}}}else{if(typeof e==="undefined"||e=="none"){children.css({"max-height":"auto",height:"auto"});q.css("min-height","auto")}}})})};c();jQuery(window).load(function(){c();a()});jQuery(window).resize(function(){c();a()});jQuery(".video-controls").click(function(h){var g=jQuery(this).attr("data-action");var f=jQuery(this).parent().find(".upb_video-src");if(g=="pause"){jQuery(this).attr("data-action","play");f[0].play();jQuery(this).html('')}else{jQuery(this).attr("data-action","pause");f[0].pause();jQuery(this).html('')}if(f.hasClass("enable-on-viewport")){f.addClass("override-controls")}});b();function b(){jQuery(".ult-vc-hide-row").each(function(e,f){var g=jQuery(f).data("hide-row");if(g!=""){jQuery(f).addClass(g)}})}a();function a(){jQuery(".ult-vc-seperator").each(function(j,n){var m=jQuery(this).data("full-width");var f=jQuery(this).data("rtl");if(typeof f=="undefined"){f="false"}var e=jQuery(this).parent().find(".upb_row_bg").data("bg-override");if(typeof e=="undefined"){var e=jQuery(this).parent().find(".upb_video-bg").data("bg-override")}if((e=="ex-full"||e=="full"||e=="browser_size")&&m==true){var k=jQuery("html").width();if(jQuery(this).hasClass("ult-rounded-split-seperator-wrapper")){var h=jQuery(this).data("border");var l=jQuery(this).data("border-width");if(typeof h!="undefined"&&h!="none"&&h!="undefined"){k=k-l}}var g=jQuery(this).offset().left;jQuery(this).find(".ult-main-seperator-inner").width(k);if(f.toString()=="true"){jQuery(this).find(".ult-main-seperator-inner").css({"margin-right":-g+"px"})}else{jQuery(this).find(".ult-main-seperator-inner").css({"margin-left":-g+"px"})}}})}jQuery(".vcpb-animated").each(function(j,i){var f=jQuery(i).data("animation-repeat");jQuery(this).css({"background-repeat":f});var l=jQuery(i).parent().attr("data-img-parallax-mobile-disable");if(typeof l=="undefined"){l="false"}else{l=l.toString()}if(!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)){var h="false"}else{var h="true"}if(h=="true"&&l=="true"){var e="true"}else{var e="false"}if(e=="false"){var m=10;if(jQuery(this).attr("data-parallax_sense")!=""){m=jQuery(this).attr("data-parallax_sense")}m=100-m;var n=jQuery(this).attr("data-bg-animation-type");var g=jQuery(this).attr("data-bg-animation");var k=0;var o=n;setInterval(function(p){if(g=="right-animation"||g=="bottom-animation"){k-=1}else{k+=1}jQuery(i).css("backgroundPosition",(o=="h")?k+"px 0":"0 "+k+"px")},m)}})});