var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
let window = _____WB$wombat$assign$function_____("window");
let self = _____WB$wombat$assign$function_____("self");
let document = _____WB$wombat$assign$function_____("document");
let location = _____WB$wombat$assign$function_____("location");
let top = _____WB$wombat$assign$function_____("top");
let parent = _____WB$wombat$assign$function_____("parent");
let frames = _____WB$wombat$assign$function_____("frames");
let opens = _____WB$wombat$assign$function_____("opens");
var cssua=function(e,o,i){"use strict";var s=" ua-",r=/\s*([\-\w ]+)[\s\/\:]([\d_]+\b(?:[\-\._\/]\w+)*)/,n=/([\w\-\.]+[\s\/][v]?[\d_]+\b(?:[\-\._\/]\w+)*)/g,a=/\b(?:(blackberry\w*|bb10)|(rim tablet os))(?:\/(\d+\.\d+(?:\.\w+)*))?/,b=/\bsilk-accelerated=true\b/,t=/\bfluidapp\b/,l=/(\bwindows\b|\bmacintosh\b|\blinux\b|\bunix\b)/,p=/(\bandroid\b|\bipad\b|\bipod\b|\bwindows phone\b|\bwpdesktop\b|\bxblwp7\b|\bzunewp7\b|\bwindows ce\b|\bblackberry\w*|\bbb10\b|\brim tablet os\b|\bmeego|\bwebos\b|\bpalm|\bsymbian|\bj2me\b|\bdocomo\b|\bpda\b|\bchtml\b|\bmidp\b|\bcldc\b|\w*?mobile\w*?|\w*?phone\w*?)/,c=/(\bxbox\b|\bplaystation\b|\bnintendo\s+\w+)/,d={parse:function(e,o){var i={};if(o&&(i.standalone=o),!(e=(""+e).toLowerCase()))return i;for(var s,d,m=e.split(/[()]/),w=0,_=m.length;w<_;w++)if(w%2){var u=m[w].split(";");for(s=0,d=u.length;s<d;s++)if(r.exec(u[s])){var f=RegExp.$1.split(" ").join("_"),v=RegExp.$2;(!i[f]||parseFloat(i[f])<parseFloat(v))&&(i[f]=v)}}else{var x=m[w].match(n);if(x)for(s=0,d=x.length;s<d;s++){var g=x[s].split(/[\/\s]+/);g.length&&"mozilla"!==g[0]&&(i[g[0].split(" ").join("_")]=g.slice(1).join("-"))}}if(p.exec(e))i.mobile=RegExp.$1,a.exec(e)&&(delete i[i.mobile],i.blackberry=i.version||RegExp.$3||RegExp.$2||RegExp.$1,RegExp.$1?i.mobile="blackberry":"0.0.1"===i.version&&(i.blackberry="7.1.0.0"));else if(l.exec(e))i.desktop=RegExp.$1;else if(c.exec(e)){i.game=RegExp.$1;var h=i.game.split(" ").join("_");i.version&&!i[h]&&(i[h]=i.version)}return i.intel_mac_os_x?(i.mac_os_x=i.intel_mac_os_x.split("_").join("."),delete i.intel_mac_os_x):i.cpu_iphone_os?(i.ios=i.cpu_iphone_os.split("_").join("."),delete i.cpu_iphone_os):i.cpu_os?(i.ios=i.cpu_os.split("_").join("."),delete i.cpu_os):"iphone"!==i.mobile||i.ios||(i.ios="1"),i.opera&&i.version?(i.opera=i.version,delete i.blackberry):b.exec(e)?i.silk_accelerated=!0:t.exec(e)&&(i.fluidapp=i.version),i.applewebkit?(i.webkit=i.applewebkit,delete i.applewebkit,i.opr&&(i.opera=i.opr,delete i.opr,delete i.chrome),i.safari&&(i.chrome||i.crios||i.opera||i.silk||i.fluidapp||i.phantomjs||i.mobile&&!i.ios?delete i.safari:i.version&&!i.rim_tablet_os?i.safari=i.version:i.safari={419:"2.0.4",417:"2.0.3",416:"2.0.2",412:"2.0",312:"1.3",125:"1.2",85:"1.0"}[parseInt(i.safari,10)]||i.safari)):i.msie||i.trident?(i.opera||(i.ie=i.msie||i.rv),delete i.msie,i.windows_phone_os?(i.windows_phone=i.windows_phone_os,delete i.windows_phone_os):"wpdesktop"!==i.mobile&&"xblwp7"!==i.mobile&&"zunewp7"!==i.mobile||(i.mobile="windows desktop",i.windows_phone=+i.ie<9?"7.0":+i.ie<10?"7.5":"8.0",delete i.windows_nt)):(i.gecko||i.firefox)&&(i.gecko=i.rv),i.rv&&delete i.rv,i.version&&delete i.version,i},format:function(e){function o(e,o){e=e.split(".").join("-");var i=s+e;if("string"==typeof o){for(var r=(o=o.split(" ").join("_").split(".").join("-")).indexOf("-");r>0;)i+=s+e+"-"+o.substring(0,r),r=o.indexOf("-",r+1);i+=s+e+"-"+o}return i}var i="";for(var r in e)r&&e.hasOwnProperty(r)&&(i+=o(r,e[r]));return i},encode:function(e){var o="";for(var i in e)i&&e.hasOwnProperty(i)&&(o&&(o+="&"),o+=encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return o}};d.userAgent=d.ua=d.parse(o,i);var m=d.format(d.ua)+" js";return e.className?e.className=e.className.replace(/\bno-js\b/g,"")+m:e.className=m.substr(1),d}(document.documentElement,navigator.userAgent,navigator.standalone);
!function(e,t,n){var r=[],o=[],a={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){o.push({name:e,fn:t,options:n})},addAsyncTest:function(e){o.push({name:null,fn:e})}},i=function(){};i.prototype=a,(i=new i).addTest("applicationcache","applicationCache"in e),i.addTest("geolocation","geolocation"in navigator),i.addTest("history",function(){var t=navigator.userAgent;return(-1===t.indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone")||"file:"===location.protocol)&&(e.history&&"pushState"in e.history)}),i.addTest("postmessage","postMessage"in e);var s=!1;try{s="WebSocket"in e&&2===e.WebSocket.CLOSING}catch(e){}i.addTest("websockets",s),i.addTest("localstorage",function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}),i.addTest("sessionstorage",function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}}),i.addTest("websqldatabase","openDatabase"in e),i.addTest("webworkers","Worker"in e);var l=a._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];function c(e,t){return typeof e===t}a._prefixes=l;var d=t.documentElement,u="svg"===d.nodeName.toLowerCase();function f(e){var t=d.className,n=i._config.classPrefix||"";if(u&&(t=t.baseVal),i._config.enableJSClass){var r=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(r,"$1"+n+"js$2")}i._config.enableClasses&&(t+=" "+n+e.join(" "+n),u?d.className.baseVal=t:d.className=t)}var p,g,m=a._config.usePrefixes?"Moz O ms Webkit".toLowerCase().split(" "):[];function h(e,t){if("object"==typeof e)for(var n in e)p(e,n)&&h(n,e[n]);else{var r=(e=e.toLowerCase()).split("."),o=i[r[0]];if(2==r.length&&(o=o[r[1]]),void 0!==o)return i;t="function"==typeof t?t():t,1==r.length?i[r[0]]=t:(!i[r[0]]||i[r[0]]instanceof Boolean||(i[r[0]]=new Boolean(i[r[0]])),i[r[0]][r[1]]=t),f([(t&&0!=t?"":"no-")+r.join("-")]),i._trigger(e,t)}return i}function v(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):u?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}a._domPrefixes=m,p=c(g={}.hasOwnProperty,"undefined")||c(g.call,"undefined")?function(e,t){return t in e&&c(e.constructor.prototype[t],"undefined")}:function(e,t){return g.call(e,t)},a._l={},a.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),i.hasOwnProperty(e)&&setTimeout(function(){i._trigger(e,i[e])},0)},a._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e;for(e=0;e<n.length;e++)(0,n[e])(t)},0),delete this._l[e]}},i._q.push(function(){a.addTest=h});var y=function(){var e=!("onblur"in t.documentElement);return function(t,r){var o;return!!t&&(r&&"string"!=typeof r||(r=v(r||"div")),!(o=(t="on"+t)in r)&&e&&(r.setAttribute||(r=v("div")),r.setAttribute(t,""),o="function"==typeof r[t],r[t]!==n&&(r[t]=n),r.removeAttribute(t)),o)}}();function b(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}a.hasEvent=y,i.addTest("hashchange",function(){return!1!==y("hashchange",e)&&(t.documentMode===n||t.documentMode>7)}),i.addTest("audio",function(){var e=v("audio"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),t.mp3=e.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,""),t.opus=e.canPlayType('audio/ogg; codecs="opus"')||e.canPlayType('audio/webm; codecs="opus"').replace(/^no$/,""),t.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),t.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return t}),i.addTest("canvas",function(){var e=v("canvas");return!(!e.getContext||!e.getContext("2d"))}),i.addTest("canvastext",function(){return!1!==i.canvas&&"function"==typeof v("canvas").getContext("2d").fillText}),i.addTest("video",function(){var e=v("video"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""),t.vp9=e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,""),t.hls=e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,""))}catch(e){}return t}),i.addTest("webgl",function(){var t=v("canvas"),n="probablySupportsContext"in t?"probablySupportsContext":"supportsContext";return n in t?t[n]("webgl")||t[n]("experimental-webgl"):"WebGLRenderingContext"in e}),i.addTest("cssgradients",function(){for(var e,t="background-image:",n="",r=0,o=l.length-1;r<o;r++)e=0===r?"to ":"",n+=t+l[r]+"linear-gradient("+e+"left top, #9f9, white);";i._config.usePrefixes&&(n+=t+"-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));");var a=v("a").style;return a.cssText=n,(""+a.backgroundImage).indexOf("gradient")>-1}),i.addTest("multiplebgs",function(){var e=v("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)}),i.addTest("opacity",function(){var e=v("a").style;return e.cssText=l.join("opacity:.55;"),/^0.55$/.test(e.opacity)}),i.addTest("rgba",function(){var e=v("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1}),i.addTest("inlinesvg",function(){var e=v("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"==("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)});var T=v("input"),x="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),w={};i.input=function(t){for(var n=0,r=t.length;n<r;n++)w[t[n]]=!!(t[n]in T);return w.list&&(w.list=!(!v("datalist")||!e.HTMLDataListElement)),w}(x);var S="search tel url email datetime date month week time datetime-local number range color".split(" "),C={};function P(e,t){return!!~(""+e).indexOf(t)}i.inputtypes=function(e){for(var r,o,a,i=e.length,s=0;s<i;s++)T.setAttribute("type",r=e[s]),(a="text"!==T.type&&"style"in T)&&(T.value="1)",T.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(r)&&T.style.WebkitAppearance!==n?(d.appendChild(T),a=(o=t.defaultView).getComputedStyle&&"textfield"!==o.getComputedStyle(T,null).WebkitAppearance&&0!==T.offsetHeight,d.removeChild(T)):/^(search|tel)$/.test(r)||(a=/^(url|email)$/.test(r)?T.checkValidity&&!1===T.checkValidity():"1)"!=T.value)),C[e[s]]=!!a;return C}(S),i.addTest("hsla",function(){var e=v("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",P(e.backgroundColor,"rgba")||P(e.backgroundColor,"hsla")});var k="CSS"in e&&"supports"in e.CSS,_="supportsCSS"in e;i.addTest("supports",k||_);var z={}.toString;function E(e,n,r,o){var a,i,s,l,c="modernizr",f=v("div"),p=function(){var e=t.body;return e||((e=v(u?"svg":"body")).fake=!0),e}();if(parseInt(r,10))for(;r--;)(s=v("div")).id=o?o[r]:c+(r+1),f.appendChild(s);return(a=v("style")).type="text/css",a.id="s"+c,(p.fake?p:f).appendChild(a),p.appendChild(f),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(t.createTextNode(e)),f.id=c,p.fake&&(p.style.background="",p.style.overflow="hidden",l=d.style.overflow,d.style.overflow="hidden",d.appendChild(p)),i=n(f,e),p.fake?(p.parentNode.removeChild(p),d.style.overflow=l,d.offsetHeight):f.parentNode.removeChild(f),!!i}i.addTest("svgclippaths",function(){return!!t.createElementNS&&/SVGClipPath/.test(z.call(t.createElementNS("http://www.w3.org/2000/svg","clipPath")))}),i.addTest("smil",function(){return!!t.createElementNS&&/SVGAnimate/.test(z.call(t.createElementNS("http://www.w3.org/2000/svg","animate")))});var A,O=(A=e.matchMedia||e.msMatchMedia)?function(e){var t=A(e);return t&&t.matches||!1}:function(t){var n=!1;return E("@media "+t+" { #modernizr { position: absolute; } }",function(t){n="absolute"==(e.getComputedStyle?e.getComputedStyle(t,null):t.currentStyle).position}),n};a.mq=O;var $,R,L,N=a.testStyles=E;i.addTest("touchevents",function(){var n;if("ontouchstart"in e||e.DocumentTouch&&t instanceof DocumentTouch)n=!0;else{var r=["@media (",l.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");N(r,function(e){n=9===e.offsetTop})}return n}),($=navigator.userAgent,R=$.match(/w(eb)?osbrowser/gi),L=$.match(/windows phone/gi)&&$.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9,R||L)?i.addTest("fontface",!1):N('@font-face {font-family:"font";src:url("https://")}',function(e,n){var r=t.getElementById("smodernizr"),o=r.sheet||r.styleSheet,a=o?o.cssRules&&o.cssRules[0]?o.cssRules[0].cssText:o.cssText||"":"",s=/src/i.test(a)&&0===a.indexOf(n.split(" ")[0]);i.addTest("fontface",s)}),N('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(e){i.addTest("generatedcontent",e.offsetHeight>=6)});var j=a._config.usePrefixes?"Moz O ms Webkit".split(" "):[];a._cssomPrefixes=j;var M=function(t){var r,o=l.length,a=e.CSSRule;if(void 0===a)return n;if(!t)return!1;if((r=(t=t.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in a)return"@"+t;for(var i=0;i<o;i++){var s=l[i];if(s.toUpperCase()+"_"+r in a)return"@-"+s.toLowerCase()+"-"+t}return!1};function I(e,t){return function(){return e.apply(t,arguments)}}a.atRule=M;var W={elem:v("modernizr")};i._q.push(function(){delete W.elem});var q={style:W.elem.style};function V(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function B(t,r){var o=t.length;if("CSS"in e&&"supports"in e.CSS){for(;o--;)if(e.CSS.supports(V(t[o]),r))return!0;return!1}if("CSSSupportsRule"in e){for(var a=[];o--;)a.push("("+V(t[o])+":"+r+")");return E("@supports ("+(a=a.join(" or "))+") { #modernizr { position: absolute; } }",function(t){return"absolute"==function(t,n,r){var o;if("getComputedStyle"in e){o=getComputedStyle.call(e,t,n);var a=e.console;null!==o?r&&(o=o.getPropertyValue(r)):a&&a[a.error?"error":"log"].call(a,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else o=!n&&t.currentStyle&&t.currentStyle[r];return o}(t,null,"position")})}return n}function U(e,t,r,o){if(o=!c(o,"undefined")&&o,!c(r,"undefined")){var a=B(e,r);if(!c(a,"undefined"))return a}for(var i,s,l,d,u,f=["modernizr","tspan","samp"];!q.style&&f.length;)i=!0,q.modElem=v(f.shift()),q.style=q.modElem.style;function p(){i&&(delete q.style,delete q.modElem)}for(l=e.length,s=0;s<l;s++)if(d=e[s],u=q.style[d],P(d,"-")&&(d=b(d)),q.style[d]!==n){if(o||c(r,"undefined"))return p(),"pfx"!=t||d;try{q.style[d]=r}catch(e){}if(q.style[d]!=u)return p(),"pfx"!=t||d}return p(),!1}i._q.unshift(function(){delete q.style});var H=a.testProp=function(e,t,r){return U([e],n,t,r)};function G(e,t,n,r,o){var a=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+j.join(a+" ")+a).split(" ");return c(t,"string")||c(t,"undefined")?U(i,t,r,o):function(e,t,n){var r;for(var o in e)if(e[o]in t)return!1===n?e[o]:c(r=t[e[o]],"function")?I(r,n||t):r;return!1}(i=(e+" "+m.join(a+" ")+a).split(" "),t,n)}i.addTest("textshadow",H("textShadow","1px 1px")),a.testAllProps=G;a.prefixed=function(e,t,n){return 0===e.indexOf("@")?M(e):(-1!=e.indexOf("-")&&(e=b(e)),t?G(e,t,n):G(e,"pfx"))};function D(e,t,r){return G(e,n,n,t,r)}a.testAllProps=D,i.addTest("cssanimations",D("animationName","a",!0)),i.addTest("backgroundsize",D("backgroundSize","100%",!0)),i.addTest("borderimage",D("borderImage","url() 1",!0)),i.addTest("borderradius",D("borderRadius","0px",!0)),i.addTest("boxshadow",D("boxShadow","1px 1px",!0)),i.addTest("flexbox",D("flexBasis","1px",!0)),i.addTest("cssreflections",D("boxReflect","above",!0)),i.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&D("transform","scale(1)",!0)}),i.addTest("csstransforms3d",function(){var e=!!D("perspective","1px",!0),t=i._config.usePrefixes;if(e&&(!t||"webkitPerspective"in d.style)){var n;i.supports?n="@supports (perspective: 1px)":(n="@media (transform-3d)",t&&(n+=",(-webkit-transform-3d)")),N("#modernizr{width:0;height:0}"+(n+="{#modernizr{width:7px;height:18px;margin:0;padding:0;border:0}}"),function(t){e=7===t.offsetWidth&&18===t.offsetHeight})}return e}),i.addTest("csstransitions",D("transition","all",!0)),function(){var e,t,n,a,s,l;for(var d in o)if(o.hasOwnProperty(d)){if(e=[],(t=o[d]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(a=c(t.fn,"function")?t.fn():t.fn,s=0;s<e.length;s++)1===(l=e[s].split(".")).length?i[l[0]]=a:(!i[l[0]]||i[l[0]]instanceof Boolean||(i[l[0]]=new Boolean(i[l[0]])),i[l[0]][l[1]]=a),r.push((a?"":"no-")+l.join("-"))}}(),f(r),delete a.addTest,delete a.addAsyncTest;for(var J=0;J<i._q.length;J++)i._q[J]();e.Modernizr=i}(window,document);
var fusionBgImageVars={"content_break_point":"800"};!function(t){"use strict";t.fn.fusion_set_bg_img_dims=function(){t(this).each(function(){var s,i,e,a=t(this).html();('<div class="fusion-clearfix"></div>'===(a="string"==typeof a?a.trim():"")||""===a||'<div class="fusion-column-content-centered"><div class="fusion-column-content"></div></div><div class="fusion-clearfix"></div>'===a.replace(/\s/g,"")||t("body").hasClass("fusion-builder-live")&&0<t(this).closest(".fusion-builder-live-editor").length&&1>t(this).find(".fusion-builder-live-element").length)&&t(this).data("bg-url")&&((s=new Image).src=t(this).data("bg-url"),i=parseInt(s.naturalHeight,10),e=parseInt(s.naturalWidth,10),(i&&e||!t(this).attr("data-bg-height")||!t(this).attr("data-bg-width"))&&(t(this).attr("data-bg-height",i),t(this).attr("data-bg-width",e)))})},t.fn.fusion_calculate_empty_column_height=function(){t(this).each(function(){var s,i,e,a=t(this),n=a.closest(".fusion-layout-column"),l=!1,h=a.html();if(h="string"==typeof h?h.trim():"",a.closest(".fusion-flex-container").length&&(a.parent().hasClass("fusion-flex-align-self-stretch")||a.closest(".fusion-flex-align-items-stretch").length&&!a.parent().is('[class^="fusion-flex-align-self-"'))&&(l=!0),a.parents(".fusion-equal-height-columns").length&&(Modernizr.mq("only screen and (max-width: "+fusionBgImageVars.content_break_point+"px)")||!0===a.data("empty-column"))||!a.parents(".fusion-equal-height-columns").length)if((a.parent().hasClass("fusion-column-wrapper")&&2===a.parent().children().length||!a.parent().hasClass("fusion-column-wrapper"))&&('<div class="fusion-clearfix"></div>'===h||""===h||t("body").hasClass("fusion-builder-live")&&0<a.closest(".fusion-builder-live-editor").length&&1>a.find(".fusion-builder-live-element").length)){if(s=a.data("bg-height"),i=a.data("bg-width"),e=s*(a.outerWidth()/i),l&&1<Math.abs(n.outerWidth()-n.parent().width()))return a.css("min-height","0"),void((t("html").hasClass("ua-edge")||t("html").hasClass("ua-ie"))&&a.parent().css("min-height","0"));a.css("min-height",e),(t("html").hasClass("ua-edge")||t("html").hasClass("ua-ie"))&&a.parent().css("min-height",e)}else a.css("min-height","0"),(t("html").hasClass("ua-edge")||t("html").hasClass("ua-ie"))&&a.parent().css("min-height","0")})}}(jQuery);
var fusionAnimationsVars={"status_css_animations":"desktop"};function fusionSetMobileAnimationData(){cssua.ua.mobile&&(jQuery("body").removeClass("dont-animate do-animate"),"desktop_and_mobile"===fusionAnimationsVars.status_css_animations?jQuery("body").addClass("do-animate"):jQuery("body").addClass("dont-animate"))}function fusionSetAnimationData(i){jQuery("body").removeClass("dont-animate do-animate"),"off"===fusionAnimationsVars.status_css_animations?jQuery("body").addClass("dont-animate"):(jQuery("body").addClass("do-animate"),void 0!==i&&void 0!==i.data.custom&&jQuery(window).initWaypoint())}!function(i){"use strict";i.fn.initWaypoint=function(){i().waypoint&&i(".fusion-animated").each(function(){var n=i(this),a=getWaypointOffset(n);"top-out-of-view"===a&&(a=getAdminbarHeight()+("function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():"0")),n.waypoint(function(){var i,a,t;n.parents(".fusion-delayed-animation").length||(n.css("visibility","visible"),i=n.data("animationtype"),a=n.data("animationduration"),n.addClass(i),a&&(n.css("-moz-animation-duration",a+"s"),n.css("-webkit-animation-duration",a+"s"),n.css("-ms-animation-duration",a+"s"),n.css("-o-animation-duration",a+"s"),n.css("animation-duration",a+"s"),t=n,setTimeout(function(){t.removeClass(i)},1e3*a))),this.destroy()},{offset:a})})}}(jQuery),jQuery(document).ready(function(){fusionSetAnimationData(),fusionSetMobileAnimationData()}),jQuery(window).on("load",function(){jQuery("body").hasClass("fusion-builder-live")||setTimeout(function(){jQuery(window).initWaypoint()},300)}),jQuery(window).on("CSSAnimations",{custom:!0},fusionSetAnimationData),jQuery(window).on("CSSAnimations",fusionSetMobileAnimationData);
var fusionJSVars={"visibility_small":"640","visibility_medium":"1024"};var fusion={fusionResizeWidth:0,fusionResizeHeight:0,toBool:function(e){return 1===e||"1"===e||!0===e||"true"===e||"on"===e},restArguments:function(e,t){return t=null==t?e.length-1:+t,function(){for(var n,i=Math.max(arguments.length-t,0),r=Array(i),o=0;o<i;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}for(n=Array(t+1),o=0;o<t;o++)n[o]=arguments[o];return n[t]=r,e.apply(this,n)}},debounce:function(e,t,n){var i,r,o,s,u,a=this;return o=function(t,n){i=null,n&&(r=e.apply(t,n))},(s=this.restArguments(function(s){return i&&clearTimeout(i),n?(u=!i,i=setTimeout(o,t),u&&(r=e.apply(this,s))):i=a.delay(o,t,this,s),r})).cancel=function(){clearTimeout(i),i=null},s},isSmall:function(){return Modernizr.mq("only screen and (max-width:"+fusionJSVars.visibility_small+"px)")},isMedium:function(){return Modernizr.mq("only screen and (min-width:"+(parseInt(fusionJSVars.visibility_small)+1)+"px) and (max-width:"+parseInt(fusionJSVars.visibility_medium)+"px)")},isLarge:function(){return Modernizr.mq("only screen and (min-width:"+(parseFloat(fusionJSVars.visibility_medium)+1)+"px)")},getHeight:function(e,t){var n=0;return"number"==typeof e?n=e:"string"!=typeof e||-1===e.indexOf(".")&&-1===e.indexOf("#")?n=parseFloat(e):(t=void 0!==t&&t,jQuery(e).each(function(){n+=jQuery(this).outerHeight(t)})),n},getAdminbarHeight:function(){var e=jQuery("#wpadminbar").length?parseInt(jQuery("#wpadminbar").height()):0;return e+=jQuery(".fusion-fixed-top").length?parseInt(jQuery(".fusion-fixed-top").height()):0},isWindow:function(e){return null!=e&&e===e.window}};fusion.delay=fusion.restArguments(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),fusion.ready=function(e){if("function"==typeof e)return"complete"===document.readyState?e():void document.addEventListener("DOMContentLoaded",e,!1)},fusion.passiveSupported=function(){var e,t;if(void 0===fusion.supportsPassive){try{t={get passive(){e=!0}},window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}fusion.supportsPassive=!!e&&{passive:!0}}return fusion.supportsPassive},fusion.getElements=function(e){var t=[];return e?("object"==typeof e?Object.keys(e).forEach(function(n){Element.prototype.isPrototypeOf(e[n])&&t.push(e[n])}):"string"==typeof e&&(t=document.querySelectorAll(e),t=Array.prototype.slice.call(t)),t):[]},Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),jQuery(document).ready(function(){var e;void 0===jQuery.migrateVersion&&2<parseInt(jQuery.fn.jquery)&&jQuery(window.document).triggerHandler("ready"),e=fusion.debounce(function(){fusion.fusionResizeWidth!==jQuery(window).width()&&(window.dispatchEvent(new Event("fusion-resize-horizontal",{bubbles:!0,cancelable:!0})),fusion.fusionResizeWidth=jQuery(window).width()),fusion.fusionResizeHeight!==jQuery(window).height()&&(jQuery(window).trigger("fusion-resize-vertical"),fusion.fusionResizeHeight=jQuery(window).height())},250),fusion.fusionResizeWidth=jQuery(window).width(),fusion.fusionResizeHeight=jQuery(window).height(),jQuery(window).on("resize",e),jQuery("html.ua-ie").length&&(jQuery(".fusion-section-separator").each(function(){jQuery(this).children(".fusion-section-separator-svg").height(jQuery(this).height())}),jQuery(window).on("resize",function(){jQuery(".fusion-section-separator").each(function(){jQuery(this).children(".fusion-section-separator-svg").height(jQuery(this).height())})}))});
!function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var i=!1,r=this;n(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||n(r).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function(){var n=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==n.style[i])return{end:t[i]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery);
!function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],o={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,s=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function r(e,o){var r=e.nodeName.toLowerCase();if(-1!==t.inArray(r,o))return-1===t.inArray(r,i)||Boolean(e.nodeValue.match(n)||e.nodeValue.match(s));for(var a=t(o).filter(function(t,e){return e instanceof RegExp}),l=0,p=a.length;l<p;l++)if(r.match(a[l]))return!0;return!1}function a(e,i,o){if(0===e.length)return e;if(o&&"function"==typeof o)return o(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var n=document.implementation.createHTMLDocument("sanitization");n.body.innerHTML=e;for(var s=t.map(i,function(t,e){return e}),a=t(n.body).find("*"),l=0,p=a.length;l<p;l++){var h=a[l],f=h.nodeName.toLowerCase();if(-1!==t.inArray(f,s))for(var u=t.map(h.attributes,function(t){return t}),c=[].concat(i["*"]||[],i[f]||[]),d=0,m=u.length;d<m;d++)r(u[d],c)||h.removeAttribute(u[d].nodeName);else h.parentNode.removeChild(h)}return n.body.innerHTML}var l=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};l.VERSION="3.3.5",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:o},l.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(i){var o=this.$element.data();for(var n in o)o.hasOwnProperty(n)&&-1!==t.inArray(n,e)&&delete o[n];return(i=t.extend({},this.getDefaults(),this.$element.data(),i)).delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),i.sanitize&&(i.template=a(i.template,i.whiteList,i.sanitizeFn)),i},l.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},l.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var o=this,n=this.tip(),s=this.getUID(this.type);this.setContent(),n.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&n.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,p=a.test(r);p&&(r=r.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this).addClass(this.$element.data("class")),this.options.container?n.appendTo(t(document).find(this.options.container)):n.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),f=n[0].offsetWidth,u=n[0].offsetHeight;if(p){var c=r,d=this.getPosition(this.$viewport);r="bottom"==r&&h.bottom+u>d.bottom?"top":"top"==r&&h.top-u<d.top?"bottom":"right"==r&&h.right+f>d.width?"left":"left"==r&&h.left-f<d.left?"right":r,n.removeClass(c).addClass(r)}var m=this.getCalculatedOffset(r,h,f,u);this.applyPlacement(m,r);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",g).emulateTransitionEnd(l.TRANSITION_DURATION):g()}},l.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,r=parseInt(o.css("margin-top"),10),a=parseInt(o.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,p=o[0].offsetHeight;"top"==i&&p!=s&&(e.top=e.top+s-p);var h=this.getViewportAdjustedDelta(i,e,l,p);h.left?e.left+=h.left:e.top+=h.top;var f=/top|bottom/.test(i),u=f?2*h.left-n+l:2*h.top-s+p,c=f?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(u,o[0][c],f)},l.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=a(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(e){var i=this,o=t(this.$tip),n=t.Event("hide.bs."+this.type);function s(){"in"!=i.hoverState&&o.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}if(this.$element.trigger(n),!n.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",s).emulateTransitionEnd(l.TRANSITION_DURATION):s(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),r={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,r,a,s)},l.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,l=e.top+s-r.scroll+o;a<r.top?n.top=r.top-a:l>r.top+r.height&&(n.top=r.top+r.height-l)}else{var p=e.left-s,h=e.left+s+i;p<r.left?n.left=r.left-p:h>r.right&&(n.left=r.left+r.width-h)}return n},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var p=t.fn.tooltip;t.fn.tooltip=function(e){return this.each(function(){var i=t(this),o=i.data("bs.tooltip"),n="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.tooltip",o=new l(this,n)),"string"==typeof e&&"function"==typeof o[e]&&o[e]())})},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=p,this}}(jQuery);
!function(){"use strict";var t=0,e={};function i(o){if(!o)throw new Error("No options passed to Waypoint constructor");if(!o.element)throw new Error("No element option passed to Waypoint constructor");if(!o.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=i.Adapter.extend({},i.defaults,o),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=o.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=i.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=i.Context.findOrCreateByElement(this.options.context),i.offsetAliases[this.options.offset]&&(this.options.offset=i.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),e[this.key]=this,t+=1}i.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},i.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete e[this.key]},i.prototype.disable=function(){return this.enabled=!1,this},i.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},i.prototype.next=function(){return this.group.next(this)},i.prototype.previous=function(){return this.group.previous(this)},i.invokeAll=function(t){var i=[];for(var o in e)i.push(e[o]);for(var n=0,r=i.length;n<r;n++)i[n][t]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){for(var t in i.Context.refreshAll(),e)e[t].enabled=!0;return this},i.refreshAll=function(){i.Context.refreshAll()},i.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},i.viewportWidth=function(){return document.documentElement.clientWidth},i.adapters=[],i.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},i.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=i}(),function(){"use strict";function t(t){window.setTimeout(t,1e3/60)}var e=0,i={},o=window.Waypoint,n=window.onload;function r(t){this.element=t,this.Adapter=o.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+e,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,e+=1,o.windowContext||(o.windowContext=!0,o.windowContext=new r(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}r.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},r.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),o=this.element==this.element.window;t&&e&&!o&&(this.adapter.off(".waypoints"),delete i[this.key])},r.prototype.createThrottledResizeHandler=function(){var t=this;function e(){t.handleResize(),t.didResize=!1}this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,o.requestAnimationFrame(e))})},r.prototype.createThrottledScrollHandler=function(){var t=this;function e(){t.handleScroll(),t.didScroll=!1}this.adapter.on("scroll.waypoints",function(){t.didScroll&&!o.isTouch||(t.didScroll=!0,o.requestAnimationFrame(e))})},r.prototype.handleResize=function(){o.Context.refreshAll()},r.prototype.handleScroll=function(){var t={},e={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in e){var o=e[i],n=o.newScroll>o.oldScroll?o.forward:o.backward;for(var r in this.waypoints[i]){var s=this.waypoints[i][r];if(null!==s.triggerPoint){var a=o.oldScroll<s.triggerPoint,l=o.newScroll>=s.triggerPoint;(a&&l||!a&&!l)&&(s.queueTrigger(n),t[s.group.id]=s.group)}}}for(var h in t)t[h].flushTriggers();this.oldScroll={x:e.horizontal.newScroll,y:e.vertical.newScroll}},r.prototype.innerHeight=function(){return this.element==this.element.window?o.viewportHeight():this.adapter.innerHeight()},r.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},r.prototype.innerWidth=function(){return this.element==this.element.window?o.viewportWidth():this.adapter.innerWidth()},r.prototype.destroy=function(){var t=[];for(var e in this.waypoints)for(var i in this.waypoints[e])t.push(this.waypoints[e][i]);for(var o=0,n=t.length;o<n;o++)t[o].destroy()},r.prototype.refresh=function(){var t,e=this.element==this.element.window,i=e?void 0:this.adapter.offset(),n={};for(var r in this.handleScroll(),t={horizontal:{contextOffset:e?0:i.left,contextScroll:e?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:e?0:i.top,contextScroll:e?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var s=t[r];for(var a in this.waypoints[r]){var l,h,p,u,c=this.waypoints[r][a],d=c.options.offset,f=c.triggerPoint,w=0,y=null==f;c.element!==c.element.window&&(w=c.adapter.offset()[s.offsetProp]),"function"==typeof d?d=d.apply(c):"string"==typeof d&&(d=parseFloat(d),c.options.offset.indexOf("%")>-1&&(d=Math.ceil(s.contextDimension*d/100))),l=s.contextScroll-s.contextOffset,c.triggerPoint=Math.floor(w+l-d),h=f<s.oldScroll,p=c.triggerPoint>=s.oldScroll,u=!h&&!p,!y&&(h&&p)?(c.queueTrigger(s.backward),n[c.group.id]=c.group):!y&&u?(c.queueTrigger(s.forward),n[c.group.id]=c.group):y&&s.oldScroll>=c.triggerPoint&&(c.queueTrigger(s.forward),n[c.group.id]=c.group)}}return o.requestAnimationFrame(function(){for(var t in n)n[t].flushTriggers()}),this},r.findOrCreateByElement=function(t){return r.findByElement(t)||new r(t)},r.refreshAll=function(){for(var t in i)i[t].refresh()},r.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){n&&n(),r.refreshAll()},o.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},o.Context=r}(),function(){"use strict";function t(t,e){return t.triggerPoint-e.triggerPoint}function e(t,e){return e.triggerPoint-t.triggerPoint}var i={vertical:{},horizontal:{}},o=window.Waypoint;function n(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}n.prototype.add=function(t){this.waypoints.push(t)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var i in this.triggerQueues){var o=this.triggerQueues[i],n="up"===i||"left"===i;o.sort(n?e:t);for(var r=0,s=o.length;r<s;r+=1){var a=o[r];(a.options.continuous||r===o.length-1)&&a.trigger([i])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i===this.waypoints.length-1?null:this.waypoints[i+1]},n.prototype.previous=function(e){this.waypoints.sort(t);var i=o.Adapter.inArray(e,this.waypoints);return i?this.waypoints[i-1]:null},n.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},n.prototype.remove=function(t){var e=o.Adapter.inArray(t,this.waypoints);e>-1&&this.waypoints.splice(e,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(t){return i[t.axis][t.name]||new n(t)},o.Group=n}(),function(){"use strict";var t=window.jQuery,e=window.Waypoint;function i(e){this.$element=t(e)}t.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(t,e){i.prototype[e]=function(){var t=Array.prototype.slice.call(arguments);return this.$element[e].apply(this.$element,t)}}),t.each(["extend","inArray","isEmptyObject"],function(e,o){i[o]=t[o]}),e.adapters.push({name:"jquery",Adapter:i}),e.Adapter=i}(),function(){"use strict";var t=window.Waypoint;function e(e){return function(){var i=[],o=arguments[0];return e.isFunction(arguments[0])&&((o=e.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var n=e.extend({},o,{element:this});"string"==typeof n.context&&(n.context=e(this).closest(n.context)[0]),i.push(new t(n))}),i}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}();
!function(n){"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e)}):"object"==typeof module&&"object"==typeof module.exports?exports=n(require("jquery")):n(jQuery)}(function(n){n.easing.jswing=n.easing.swing;var e=Math.pow,t=Math.sqrt,u=Math.sin,r=Math.cos,i=Math.PI,a=1.70158,c=1.525*a,o=2*i/3,s=2*i/4.5;function f(n){var e=7.5625,t=2.75;return n<1/t?e*n*n:n<2/t?e*(n-=1.5/t)*n+.75:n<2.5/t?e*(n-=2.25/t)*n+.9375:e*(n-=2.625/t)*n+.984375}n.extend(n.easing,{def:"easeOutQuad",swing:function(e){return n.easing[n.easing.def](e)},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return 1-(1-n)*(1-n)},easeInOutQuad:function(n){return n<.5?2*n*n:1-e(-2*n+2,2)/2},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return 1-e(1-n,3)},easeInOutCubic:function(n){return n<.5?4*n*n*n:1-e(-2*n+2,3)/2},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1-e(1-n,4)},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-e(-2*n+2,4)/2},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1-e(1-n,5)},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1-e(-2*n+2,5)/2},easeInSine:function(n){return 1-r(n*i/2)},easeOutSine:function(n){return u(n*i/2)},easeInOutSine:function(n){return-(r(i*n)-1)/2},easeInExpo:function(n){return 0===n?0:e(2,10*n-10)},easeOutExpo:function(n){return 1===n?1:1-e(2,-10*n)},easeInOutExpo:function(n){return 0===n?0:1===n?1:n<.5?e(2,20*n-10)/2:(2-e(2,-20*n+10))/2},easeInCirc:function(n){return 1-t(1-e(n,2))},easeOutCirc:function(n){return t(1-e(n-1,2))},easeInOutCirc:function(n){return n<.5?(1-t(1-e(2*n,2)))/2:(t(1-e(-2*n+2,2))+1)/2},easeInElastic:function(n){return 0===n?0:1===n?1:-e(2,10*n-10)*u((10*n-10.75)*o)},easeOutElastic:function(n){return 0===n?0:1===n?1:e(2,-10*n)*u((10*n-.75)*o)+1},easeInOutElastic:function(n){return 0===n?0:1===n?1:n<.5?-e(2,20*n-10)*u((20*n-11.125)*s)/2:e(2,-20*n+10)*u((20*n-11.125)*s)/2+1},easeInBack:function(n){return 2.70158*n*n*n-a*n*n},easeOutBack:function(n){return 1+2.70158*e(n-1,3)+a*e(n-1,2)},easeInOutBack:function(n){return n<.5?e(2*n,2)*(7.189819*n-c)/2:(e(2*n-2,2)*((c+1)*(2*n-2)+c)+2)/2},easeInBounce:function(n){return 1-f(1-n)},easeOutBounce:f,easeInOutBounce:function(n){return n<.5?(1-f(1-2*n))/2:(1+f(2*n-1))/2}})});
!function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("div");a.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',r.appendChild(a.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var a=t(this).find(e.join(","));(a=(a=a.not("object object")).not(r)).each(function(){var e=t(this);if(!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("name")){var a="fitvid"+t.fn.fitVids._count;e.attr("name",a),t.fn.fitVids._count++}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto);
!function(e){var t=!0;e.flexslider=function(a,n){var i=e(a);void 0===n.rtl&&"rtl"==e("html").attr("dir")&&(n.rtl=!0),i.vars=e.extend({},e.flexslider.defaults,n);var s,r=i.vars.namespace,o=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||o||window.DocumentTouch&&document instanceof DocumentTouch)&&i.vars.touch,c="click touchend MSPointerUp keyup",d="",u="vertical"===i.vars.direction,v=i.vars.reverse,p=i.vars.itemWidth>0,m="fade"===i.vars.animation,f=""!==i.vars.asNavFor,h={};e.data(a,"flexslider",i),h={init:function(){i.animating=!1,i.currentSlide=parseInt(i.vars.startAt?i.vars.startAt:0,10),isNaN(i.currentSlide)&&(i.currentSlide=0),i.animatingTo=i.currentSlide,i.atEnd=0===i.currentSlide||i.currentSlide===i.last,i.containerSelector=i.vars.selector.substr(0,i.vars.selector.search(" ")),i.slides=e(i.vars.selector,i),i.container=e(i.containerSelector,i),i.count=i.slides.length,i.syncExists=e(i.vars.sync).length>0,"slide"===i.vars.animation&&(i.vars.animation="swing"),i.prop=u?"top":i.vars.rtl?"marginRight":"marginLeft",i.args={},i.manualPause=!1,i.stopped=!1,i.started=!1,i.startTimeout=null,i.transitions=!i.vars.video&&!m&&i.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return i.pfx=t[a].replace("Perspective","").toLowerCase(),i.prop="-"+i.pfx+"-transform",!0;return!1}(),i.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,i.ensureAnimationEnd="",""!==i.vars.controlsContainer&&(i.controlsContainer=e(i.vars.controlsContainer).length>0&&e(i.vars.controlsContainer)),""!==i.vars.manualControls&&(i.manualControls=e(i.vars.manualControls).length>0&&e(i.vars.manualControls)),""!==i.vars.customDirectionNav&&(i.customDirectionNav=2===e(i.vars.customDirectionNav).length&&e(i.vars.customDirectionNav)),i.vars.randomize&&(i.slides.sort(function(){return Math.round(Math.random())-.5}),i.container.empty().append(i.slides)),i.doMath(),i.setup("init"),i.vars.controlNav&&h.controlNav.setup(),i.vars.directionNav&&h.directionNav.setup(),i.vars.keyboard&&(1===e(i.containerSelector).length||i.vars.multipleKeyboard)&&e(document).on("keyup",function(e){var t=e.keyCode;if(!i.animating&&(39===t||37===t)){var a=i.vars.rtl?37===t?i.getTarget("next"):39===t&&i.getTarget("prev"):39===t?i.getTarget("next"):37===t&&i.getTarget("prev");i.flexAnimate(a,i.vars.pauseOnAction)}}),i.vars.mousewheel&&i.on("mousewheel",function(e,t,a,n){e.preventDefault();var s=t<0?i.getTarget("next"):i.getTarget("prev");i.flexAnimate(s,i.vars.pauseOnAction)}),i.vars.pausePlay&&h.pausePlay.setup(),i.vars.slideshow&&i.vars.pauseInvisible&&h.pauseInvisible.init(),i.vars.slideshow&&(i.vars.pauseOnHover&&i.hover(function(){i.manualPlay||i.manualPause||i.pause()},function(){i.manualPause||i.manualPlay||i.stopped||i.play()}),i.vars.pauseInvisible&&h.pauseInvisible.isHidden()||(i.vars.initDelay>0?i.startTimeout=setTimeout(i.play,i.vars.initDelay):i.play())),f&&h.asNav.setup(),l&&i.vars.touch&&h.touch(),(!m||m&&i.vars.smoothHeight)&&e(window).on("resize orientationchange focus",h.resize),i.find("img").attr("draggable","false"),setTimeout(function(){i.vars.start(i)},200)},asNav:{setup:function(){i.asNav=!0,i.animatingTo=Math.floor(i.currentSlide/i.move),i.currentItem=i.currentSlide,i.slides.removeClass(r+"active-slide").eq(i.currentItem).addClass(r+"active-slide"),o?(a._slider=i,i.slides.each(function(){this._gesture=new MSGesture,this._gesture.target=this,this.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),this.addEventListener("MSGestureTap",function(t){t.preventDefault();var a=e(this),n=a.index();e(i.vars.asNavFor).data("flexslider").animating||a.hasClass("active")||(i.direction=i.currentItem<n?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction,!1,!0,!0))})})):i.slides.on(c,function(t){t.preventDefault();var a=e(this),n=a.index();(i.vars.rtl?-1*(a.offset().right-e(i).scrollLeft()):a.offset().left-e(i).scrollLeft())<=0&&a.hasClass(r+"active-slide")?i.flexAnimate(i.getTarget("prev"),!0):e(i.vars.asNavFor).data("flexslider").animating||a.hasClass(r+"active-slide")||(i.direction=i.currentItem<n?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){i.manualControls?h.controlNav.setupManual():h.controlNav.setupPaging()},setupPaging:function(){var t,a,n="thumbnails"===i.vars.controlNav?"control-thumbs":"control-paging",s=1;if(i.controlNavScaffold=e('<ol class="'+r+"control-nav "+r+n+'"></ol>'),i.pagingCount>1)for(var o=0;o<i.pagingCount;o++){if(void 0===(a=i.slides.eq(o)).attr("data-thumb-alt")&&a.attr("data-thumb-alt",""),t=e("<a></a>").attr("href","#").text(s),"thumbnails"===i.vars.controlNav&&(t=e("<img/>").attr("src",a.attr("data-thumb"))),""!==a.attr("data-thumb-alt")&&t.attr("alt",a.attr("data-thumb-alt")),"thumbnails"===i.vars.controlNav&&!0===i.vars.thumbCaptions){var l=a.attr("data-thumbcaption");if(""!==l&&void 0!==l){var u=e("<span></span>").addClass(r+"caption").text(l);t.append(u)}}var v=e("<li>");t.appendTo(v),v.append("</li>"),i.controlNavScaffold.append(v),s++}i.controlsContainer?e(i.controlsContainer).append(i.controlNavScaffold):i.append(i.controlNavScaffold),h.controlNav.set(),h.controlNav.active(),i.controlNavScaffold.on(c,"a, img",function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(i.direction=n>i.currentSlide?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),h.setToClearWatchedEvent()})},setupManual:function(){i.controlNav=i.manualControls,h.controlNav.active(),i.controlNav.on(c,function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(n>i.currentSlide?i.direction="next":i.direction="prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),h.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===i.vars.controlNav?"img":"a";i.controlNav=e("."+r+"control-nav li "+t,i.controlsContainer?i.controlsContainer:i)},active:function(){i.controlNav.removeClass(r+"active").eq(i.animatingTo).addClass(r+"active")},update:function(t,a){i.pagingCount>1&&"add"===t?i.controlNavScaffold.append(e('<li><a href="#">'+i.count+"</a></li>")):1===i.pagingCount?i.controlNavScaffold.find("li").remove():i.controlNav.eq(a).closest("li").remove(),h.controlNav.set(),i.pagingCount>1&&i.pagingCount!==i.controlNav.length?i.update(a,t):h.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+i.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+i.vars.nextText+"</a></li></ul>");i.customDirectionNav?i.directionNav=i.customDirectionNav:i.controlsContainer?(e(i.controlsContainer).append(t),i.directionNav=e("."+r+"direction-nav li a",i.controlsContainer)):(i.append(t),i.directionNav=e("."+r+"direction-nav li a",i)),h.directionNav.update(),i.directionNav.on(c,function(t){var a;t.preventDefault(),""!==d&&d!==t.type||(a=e(this).hasClass(r+"next")?i.getTarget("next"):i.getTarget("prev"),i.flexAnimate(a,i.vars.pauseOnAction)),""===d&&(d=t.type),h.setToClearWatchedEvent()})},update:function(){var e=r+"disabled";1===i.pagingCount?i.directionNav.addClass(e).attr("tabindex","-1"):i.vars.animationLoop?i.directionNav.removeClass(e).removeAttr("tabindex"):0===i.animatingTo?i.directionNav.removeClass(e).filter("."+r+"prev").addClass(e).attr("tabindex","-1"):i.animatingTo===i.last?i.directionNav.removeClass(e).filter("."+r+"next").addClass(e).attr("tabindex","-1"):i.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+r+'pauseplay"><a href="#"></a></div>');i.controlsContainer?(i.controlsContainer.append(t),i.pausePlay=e("."+r+"pauseplay a",i.controlsContainer)):(i.append(t),i.pausePlay=e("."+r+"pauseplay a",i)),h.pausePlay.update(i.vars.slideshow?r+"pause":r+"play"),i.pausePlay.on(c,function(t){t.preventDefault(),""!==d&&d!==t.type||(e(this).hasClass(r+"pause")?(i.manualPause=!0,i.manualPlay=!1,i.pause()):(i.manualPause=!1,i.manualPlay=!0,i.play())),""===d&&(d=t.type),h.setToClearWatchedEvent()})},update:function(e){"play"===e?i.pausePlay.removeClass(r+"pause").addClass(r+"play").html(i.vars.playText):i.pausePlay.removeClass(r+"play").addClass(r+"pause").html(i.vars.pauseText)}},touch:function(){var e,t,n,s,r,l,c,d,f,h=!1,g=0,x=0;if(o){}else c=function(r){i.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(i.pause(),s=u?i.h:i.w,l=Number(new Date),g=r.touches[0].pageX,x=r.touches[0].pageY,n=p&&v&&i.animatingTo===i.last?0:p&&v?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:p&&i.currentSlide===i.last?i.limit:p?(i.itemW+i.vars.itemMargin)*i.move*i.currentSlide:v?(i.last-i.currentSlide+i.cloneOffset)*s:(i.currentSlide+i.cloneOffset)*s,e=u?x:g,t=u?g:x,a.addEventListener("touchmove",d,!1),a.addEventListener("touchend",f,!1))},d=function(a){g=a.touches[0].pageX,x=a.touches[0].pageY,r=u?e-x:(i.vars.rtl?-1:1)*(e-g);(!(h=u?Math.abs(r)<Math.abs(g-t):Math.abs(r)<Math.abs(x-t))||Number(new Date)-l>500)&&(a.preventDefault(),!m&&i.transitions&&(i.vars.animationLoop||(r/=0===i.currentSlide&&r<0||i.currentSlide===i.last&&r>0?Math.abs(r)/s+2:1),i.setProps(n+r,"setTouch")))},f=function(o){if(a.removeEventListener("touchmove",d,!1),i.animatingTo===i.currentSlide&&!h&&null!==r){var c=v?-r:r,u=c>0?i.getTarget("next"):i.getTarget("prev");i.canAdvance(u)&&(Number(new Date)-l<550&&Math.abs(c)>50||Math.abs(c)>s/2)?i.flexAnimate(u,i.vars.pauseOnAction):!m&&i.canAdvance(u)&&i.flexAnimate(i.currentSlide,i.vars.pauseOnAction,!0)}a.removeEventListener("touchend",f,!1),i.vars.slideshow&&null!==r&&50>Math.abs(c)&&i.play(),e=null,t=null,r=null,n=null},a.addEventListener("touchstart",c,!1)},resize:function(){!i.animating&&i.is(":visible")&&(p||i.doMath(),m?h.smoothHeight():p?(i.slides.width(i.computedW),i.update(i.pagingCount),i.setProps()):u?(i.viewport.height(i.h),i.setProps(i.h,"setTotal")):(i.vars.smoothHeight&&h.smoothHeight(),i.newSlides.width(i.computedW),i.setProps(i.computedW,"setTotal")))},smoothHeight:function(e){if(!u||m){var t=m?i:i.viewport;e?t.animate({height:i.slides.eq(i.animatingTo).innerHeight()},e):t.innerHeight(i.slides.eq(i.animatingTo).innerHeight())}},sync:function(t){var a=e(i.vars.sync).data("flexslider"),n=i.animatingTo;switch(t){case"animate":a.flexAnimate(n,i.vars.pauseOnAction,!1,!0);break;case"play":a.playing||a.asNav||a.play();break;case"pause":a.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=h.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){h.pauseInvisible.isHidden()?i.startTimeout?clearTimeout(i.startTimeout):i.pause():i.started?i.play():i.vars.initDelay>0?setTimeout(i.play,i.vars.initDelay):i.play()})}},isHidden:function(){var e=h.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(s),s=setTimeout(function(){d=""},3e3)}},i.flexAnimate=function(t,a,n,s,o){if(i.vars.animationLoop||t===i.currentSlide||(i.direction=t>i.currentSlide?"next":"prev"),f&&1===i.pagingCount&&(i.direction=i.currentItem<t?"next":"prev"),!i.animating&&(i.canAdvance(t,o)||n)&&i.is(":visible")){if(f&&s){var c=e(i.vars.asNavFor).data("flexslider");if(i.atEnd=0===t||t===i.count-1,c.flexAnimate(t,!0,!1,!0,o),i.direction=i.currentItem<t?"next":"prev",c.direction=i.direction,Math.ceil((t+1)/i.visible)-1===i.currentSlide||0===t)return i.currentItem=t,i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),!1;i.currentItem=t,i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),t=Math.floor(t/i.visible)}if(i.animating=!0,i.animatingTo=t,a&&i.pause(),i.vars.before(i),i.syncExists&&!o&&h.sync("animate"),i.vars.controlNav&&h.controlNav.active(),p||i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),i.atEnd=0===t||t===i.last,i.vars.directionNav&&h.directionNav.update(),t===i.last&&(i.vars.end(i),i.vars.animationLoop||i.pause()),m)l?(i.slides.eq(i.currentSlide).css({opacity:0,zIndex:1}),i.slides.eq(t).css({opacity:1,zIndex:2}),i.wrapup(y)):(i.slides.eq(i.currentSlide).css({zIndex:1}).animate({opacity:0},i.vars.animationSpeed,i.vars.easing),i.slides.eq(t).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing,i.wrapup));else{var d,g,x,y=u?i.slides.filter(":first").height():i.computedW;p?(d=i.vars.itemMargin,g=(x=(i.itemW+d)*i.move*i.animatingTo)>i.limit&&1!==i.visible?i.limit:x):g=0===i.currentSlide&&t===i.count-1&&i.vars.animationLoop&&"next"!==i.direction?v?(i.count+i.cloneOffset)*y:0:i.currentSlide===i.last&&0===t&&i.vars.animationLoop&&"prev"!==i.direction?v?0:(i.count+1)*y:v?(i.count-1-t+i.cloneOffset)*y:(t+i.cloneOffset)*y,i.setProps(g,"",i.vars.animationSpeed),i.transitions?(i.vars.animationLoop&&i.atEnd||(i.animating=!1,i.currentSlide=i.animatingTo),i.container.off("webkitTransitionEnd transitionend"),i.container.on("webkitTransitionEnd transitionend",function(){clearTimeout(i.ensureAnimationEnd),i.wrapup(y)}),clearTimeout(i.ensureAnimationEnd),i.ensureAnimationEnd=setTimeout(function(){i.wrapup(y)},i.vars.animationSpeed+100)):i.container.animate(i.args,i.vars.animationSpeed,i.vars.easing,function(){i.wrapup(y)})}i.vars.smoothHeight&&h.smoothHeight(i.vars.animationSpeed)}},i.wrapup=function(e){m||p||(0===i.currentSlide&&i.animatingTo===i.last&&i.vars.animationLoop?i.setProps(e,"jumpEnd"):i.currentSlide===i.last&&0===i.animatingTo&&i.vars.animationLoop&&i.setProps(e,"jumpStart")),i.animating=!1,i.currentSlide=i.animatingTo,i.vars.after(i)},i.animateSlides=function(){!i.animating&&t&&i.flexAnimate(i.getTarget("next"))},i.pause=function(){clearInterval(i.animatedSlides),i.animatedSlides=null,i.playing=!1,i.vars.pausePlay&&h.pausePlay.update("play"),i.syncExists&&h.sync("pause")},i.play=function(){i.playing&&clearInterval(i.animatedSlides),i.animatedSlides=i.animatedSlides||setInterval(i.animateSlides,i.vars.slideshowSpeed),i.started=i.playing=!0,i.vars.pausePlay&&h.pausePlay.update("pause"),i.syncExists&&h.sync("play")},i.stop=function(){i.pause(),i.stopped=!0},i.canAdvance=function(e,t){var a=f?i.pagingCount-1:i.last;return!!t||(!(!f||i.currentItem!==i.count-1||0!==e||"prev"!==i.direction)||(!f||0!==i.currentItem||e!==i.pagingCount-1||"next"===i.direction)&&(!(e===i.currentSlide&&!f)&&(!!i.vars.animationLoop||(!i.atEnd||0!==i.currentSlide||e!==a||"next"===i.direction)&&(!i.atEnd||i.currentSlide!==a||0!==e||"next"!==i.direction))))},i.getTarget=function(e){return i.direction=e,"next"===e?i.currentSlide===i.last?0:i.currentSlide+1:0===i.currentSlide?i.last:i.currentSlide-1},i.setProps=function(e,t,a){var n,s=(n=e||(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo,function(){if(p)return"setTouch"===t?e:v&&i.animatingTo===i.last?0:v?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:i.animatingTo===i.last?i.limit:n;switch(t){case"setTotal":return v?(i.count-1-i.currentSlide+i.cloneOffset)*e:(i.currentSlide+i.cloneOffset)*e;case"setTouch":return e;case"jumpEnd":return v?e:i.count*e;case"jumpStart":return v?i.count*e:e;default:return e}}()*(i.vars.rtl?1:-1)+"px");i.transitions&&(s=i.isFirefox?u?"translate3d(0,"+s+",0)":"translate3d("+parseInt(s)+"px,0,0)":u?"translate3d(0,"+s+",0)":"translate3d("+(i.vars.rtl?-1:1)*parseInt(s)+"px,0,0)",a=void 0!==a?a/1e3+"s":"0s",i.container.css("-"+i.pfx+"-transition-duration",a),i.container.css("transition-duration",a)),i.args[i.prop]=s,(i.transitions||void 0===a)&&i.container.css(i.args),i.container.css("transform",s)},i.setup=function(t){var a,n;m?(i.vars.rtl?i.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):i.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(l?i.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+i.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(i.currentSlide).css({opacity:1,zIndex:2}):0==i.vars.fadeFirstSlide?i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).css({opacity:1}):i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing)),i.vars.smoothHeight&&h.smoothHeight()):("init"===t&&(i.viewport=e('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(i).append(i.container),i.cloneCount=0,i.cloneOffset=0,v&&(n=e.makeArray(i.slides).reverse(),i.slides=e(n),i.container.empty().append(i.slides))),i.vars.animationLoop&&!p&&(i.cloneCount=2,i.cloneOffset=1,"init"!==t&&i.container.find(".clone").remove(),h.uniqueID(i.slides.first().clone().addClass("clone").attr("aria-hidden","true")).appendTo(i.container),h.uniqueID(i.slides.last().clone().addClass("clone").attr("aria-hidden","true")).prependTo(i.container)),i.newSlides=e(i.vars.selector,i),a=v?i.count-1-i.currentSlide+i.cloneOffset:i.currentSlide+i.cloneOffset,u&&!p?(i.container.height(200*(i.count+i.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){i.newSlides.css({display:"block"}),i.doMath(),i.viewport.height(i.h),i.setProps(a*i.h,"init")},"init"===t?100:0)):(i.container.width(200*(i.count+i.cloneCount)+"%"),i.setProps(a*i.computedW,"init"),setTimeout(function(){i.is(":visible")&&i.doMath(),i.vars.rtl&&i.isFirefox?i.newSlides.css({width:i.computedW,marginRight:i.computedM,float:"right",display:"block"}):i.newSlides.css({width:i.computedW,marginRight:i.computedM,float:"left",display:"block"}),i.vars.smoothHeight&&h.smoothHeight()},"init"===t?100:0)));p||i.slides.removeClass(r+"active-slide").eq(i.currentSlide).addClass(r+"active-slide"),i.vars.init(i)},i.doMath=function(){var e=i.slides.first(),t=i.vars.itemMargin,a=i.vars.minItems,n=i.vars.maxItems;i.w=void 0===i.viewport?i.width():i.viewport.width(),i.isFirefox&&(i.w=i.width()),i.h=e.height(),i.boxPadding=e.outerWidth()-e.width(),p?(i.itemT=i.vars.itemWidth+t,i.itemM=t,i.minW=a?a*i.itemT:i.w,i.maxW=n?n*i.itemT-t:i.w,i.itemW=i.minW>i.w?(i.w-t*(a-1))/a:i.maxW<i.w?(i.w-t*(n-1))/n:i.vars.itemWidth>i.w?i.w:i.vars.itemWidth,i.visible=Math.floor(i.w/(i.itemW+t)),i.move=i.vars.move>0&&i.vars.move<i.visible?i.vars.move:i.visible,i.pagingCount=Math.ceil((i.count-i.visible)/i.move+1),i.last=i.pagingCount-1,i.limit=1===i.pagingCount?0:i.vars.itemWidth>i.w?i.itemW*(i.count-1)+t*(i.count-1):(i.itemW+t)*i.count-i.w-t):(i.itemW=i.w,i.itemM=t,i.pagingCount=i.count,i.last=i.count-1),i.computedW=i.itemW-i.boxPadding,i.computedM=i.itemM},i.update=function(e,t){i.doMath(),p||(e<i.currentSlide?i.currentSlide+=1:e<=i.currentSlide&&0!==e&&(i.currentSlide-=1),i.animatingTo=i.currentSlide),i.vars.controlNav&&!i.manualControls&&("add"===t&&!p||i.pagingCount>i.controlNav.length?h.controlNav.update("add"):("remove"===t&&!p||i.pagingCount<i.controlNav.length)&&(p&&i.currentSlide>i.last&&(i.currentSlide-=1,i.animatingTo-=1),h.controlNav.update("remove",i.last))),i.vars.directionNav&&h.directionNav.update()},i.addSlide=function(t,a){var n=e(t);i.count+=1,i.last=i.count-1,u&&v?void 0!==a?i.slides.eq(i.count-a).after(n):i.container.prepend(n):void 0!==a?i.slides.eq(a).before(n):i.container.append(n),i.update(a,"add"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.added(i)},i.removeSlide=function(t){var a=isNaN(t)?i.slides.index(e(t)):t;i.count-=1,i.last=i.count-1,isNaN(t)?e(t,i.slides).remove():u&&v?i.slides.eq(i.last).remove():i.slides.eq(t).remove(),i.doMath(),i.update(a,"remove"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.removed(i)},i.destroy=function(){var t="."+i.vars.namespace;i.vars.controlNav&&i.controlNav.closest(t+"control-nav").remove(),i.vars.directionNav&&i.directionNav.closest(t+"direction-nav").remove(),i.vars.pausePlay&&i.pausePlay.closest(t+"pauseplay").remove(),i.find(".clone").remove(),i.off(i.vars.eventNamespace),"fade"!=i.vars.animation&&i.container.unwrap(),i.container.removeAttr("style"),i.container.off(i.vars.eventNamespace),i.slides.removeAttr("style"),i.slides.filter(t+"active-slide").removeClass(i.vars.namespace+"active-slide"),i.slides.off(i.vars.eventNamespace),e(document).off(i.vars.eventNamespace+"-"+i.id),e(window).off(i.vars.eventNamespace+"-"+i.id),i.stop(),i.removeData("flexslider")},h.init()},e(window).on({blur:function(e){t=!1},focus:function(e){t=!0}}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"&#xf104;",nextText:"&#xf105;",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var a=e(this),n=t.selector?t.selector:".slides > li",i=a.find(n);1===i.length&&!1===t.allowOneSlide||0===i.length?(i.fadeIn(400),t.start&&t.start(a)):void 0===a.data("flexslider")&&new e.flexslider(this,t)});var a=e(this).data("flexslider");switch(t){case"play":a.play();break;case"pause":a.pause();break;case"stop":a.stop();break;case"next":a.flexAnimate(a.getTarget("next"),!0);break;case"prev":case"previous":a.flexAnimate(a.getTarget("prev"),!0);break;case"destroy":a.destroy();break;default:"number"==typeof t&&a.flexAnimate(t,!0)}}}(jQuery);
!function(e){e.fn.hoverFlow=function(o,u,t,r,n){if(-1==e.inArray(o,["mouseover","mouseenter","mouseout","mouseleave"]))return this;var i="object"==typeof t?t:{complete:n||!n&&r||e.isFunction(t)&&t,duration:t,easing:n&&r||r&&!e.isFunction(r)&&r};i.queue=!1;var a=i.complete;return i.complete=function(){e(this).dequeue(),e.isFunction(a)&&a.call(this)},this.each(function(){var t=e(this);"mouseover"==o||"mouseenter"==o?t.data("jQuery.hoverFlow",!0):t.removeData("jQuery.hoverFlow"),t.queue(function(){("mouseover"==o||"mouseenter"==o?void 0!==t.data("jQuery.hoverFlow"):void 0===t.data("jQuery.hoverFlow"))?t.animate(u,i):t.queue([])})})}}(jQuery);
!function(e){e.fn.hoverIntent=function(t,n,o){var r,v,i,u,s={interval:100,sensitivity:7,timeout:0};s="object"==typeof t?e.extend(s,t):e.isFunction(n)?e.extend(s,{over:t,out:n,selector:o}):e.extend(s,{over:t,out:t,selector:n});var h=function(e){r=e.pageX,v=e.pageY},a=function(t,n){if(n.hoverIntent_t=clearTimeout(n.hoverIntent_t),Math.abs(i-r)+Math.abs(u-v)<s.sensitivity)return e(n).off("mousemove.hoverIntent",h),n.hoverIntent_s=1,s.over.apply(n,[t]);i=r,u=v,n.hoverIntent_t=setTimeout(function(){a(t,n)},s.interval)},I=function(t){var n=jQuery.extend({},t),o=this;o.hoverIntent_t&&(o.hoverIntent_t=clearTimeout(o.hoverIntent_t)),"mouseenter"==t.type?(i=n.pageX,u=n.pageY,e(o).on("mousemove.hoverIntent",h),1!=o.hoverIntent_s&&(o.hoverIntent_t=setTimeout(function(){a(n,o)},s.interval))):(e(o).off("mousemove.hoverIntent",h),1==o.hoverIntent_s&&(o.hoverIntent_t=setTimeout(function(){!function(e,t){t.hoverIntent_t=clearTimeout(t.hoverIntent_t),t.hoverIntent_s=0,s.out.apply(t,[e])}(n,o)},s.timeout)))};return this.on({"mouseenter.hoverIntent":I,"mouseleave.hoverIntent":I},s.selector)}}(jQuery);
var fusionLightboxVideoVars={"lightbox_video_width":"1280","lightbox_video_height":"720"};!function($,window,undefined){var extensions={flash:["swf"],image:["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","webp"],iframe:["asp","aspx","cgi","cfm","htm","html","jsp","php","pl","php3","php4","php5","phtml","rb","rhtml","shtml","txt"],video:["avi","mov","mpg","mpeg","movie","mp4","webm","ogv","ogg","3gp","m4v"]},$win=$(window),$doc=$(document),browser,transform,gpuAcceleration,fullScreenApi="",userAgent=navigator.userAgent||navigator.vendor||window.opera,supportTouch="ontouchstart"in window||navigator.msMaxTouchPoints,isMobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(userAgent)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(userAgent.substr(0,4)),clickEvent=supportTouch?"click itap":"click",touchStartEvent=supportTouch?"mousedown.iLightBox touchstart.iLightBox":"mousedown.iLightBox",touchStopEvent=supportTouch?"mouseup.iLightBox touchend.iLightBox":"mouseup.iLightBox",touchMoveEvent=supportTouch?"mousemove.iLightBox touchmove.iLightBox":"mousemove.iLightBox",abs=Math.abs,sqrt=Math.sqrt,round=Math.round,max=Math.max,min=Math.min,floor=Math.floor,random=Math.random,pluginspages={quicktime:"http://www.apple.com/quicktime/download",flash:"http://www.adobe.com/go/getflash"},iLightBox=function(e,t,o,i){var n=this;if(n.options=t,n.selector=e.selector||e,n.context=e.context,n.instant=i,o.length<1?n.attachItems():n.items=o,n.vars={total:n.items.length,start:0,current:null,next:null,prev:null,BODY:$("body"),loadRequests:0,overlay:$('<div class="ilightbox-overlay"></div>'),loader:$('<div class="ilightbox-loader"><div></div></div>'),toolbar:$('<div class="ilightbox-toolbar"></div>'),innerToolbar:$('<div class="ilightbox-inner-toolbar"></div>'),title:$('<div class="ilightbox-title"></div>'),closeButton:$('<a class="ilightbox-close" role="button" title="'+n.options.text.close+'"></a>'),fullScreenButton:$('<a class="ilightbox-fullscreen" role="button" title="'+n.options.text.enterFullscreen+'"></a>'),innerPlayButton:$('<a class="ilightbox-play" role="button" title="'+n.options.text.slideShow+'"></a>'),innerNextButton:$('<a class="ilightbox-next-button" role="button" title="'+n.options.text.next+'"></a>'),innerPrevButton:$('<a class="ilightbox-prev-button" role="button" title="'+n.options.text.previous+'"></a>'),holder:$('<div class="ilightbox-holder'+(supportTouch?" supportTouch":"")+'" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextPhoto:$('<div class="ilightbox-holder'+(supportTouch?" supportTouch":"")+' ilightbox-next" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),prevPhoto:$('<div class="ilightbox-holder'+(supportTouch?" supportTouch":"")+' ilightbox-prev" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextButton:$('<a class="ilightbox-button ilightbox-next-button" role="button" ondragstart="return false;" title="'+n.options.text.next+'"><span></span></a>'),prevButton:$('<a class="ilightbox-button ilightbox-prev-button" role="button" ondragstart="return false;" title="'+n.options.text.previous+'"><span></span></a>'),thumbnails:$('<div class="ilightbox-thumbnails" ondragstart="return false;"><div class="ilightbox-thumbnails-container"><a class="ilightbox-thumbnails-dragger"></a><div class="ilightbox-thumbnails-grid"></div></div></div>'),thumbs:!1,nextLock:!1,prevLock:!1,hashLock:!1,isMobile:!1,mobileMaxWidth:980,isInFullScreen:!1,isSwipe:!1,mouseID:0,cycleID:0,isPaused:0},n.vars.hideableElements=n.vars.nextButton.add(n.vars.prevButton),n.normalizeItems(),n.availPlugins(),n.options.startFrom=n.options.startFrom>0&&n.options.startFrom>=n.vars.total?n.vars.total-1:n.options.startFrom,n.options.startFrom=n.options.randomStart?floor(random()*n.vars.total):n.options.startFrom,n.vars.start=n.options.startFrom,i?n.instantCall():n.patchItemsEvents(),n.options.linkId&&(n.hashChangeHandler(),$win.iLightBoxHashChange(function(){n.hashChangeHandler()})),supportTouch){var a=/(click|mouseenter|mouseleave|mouseover|mouseout)/gi;n.options.caption.show=n.options.caption.show.replace(a,"itap"),n.options.caption.hide=n.options.caption.hide.replace(a,"itap"),n.options.social.show=n.options.social.show.replace(a,"itap"),n.options.social.hide=n.options.social.hide.replace(a,"itap")}n.options.controls.arrows&&$.extend(n.options.styles,{nextOffsetX:0,prevOffsetX:0,nextOpacity:0,prevOpacity:0})};function getPixel(e,t){return parseInt(e.css(t),10)||0}function within(e,t,o){return e<t?t:e>o?o:e}function getViewport(){var e=window,t="inner";return"innerWidth"in window||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}}function removeHash(){history&&history.pushState&&history.pushState("",document.title,window.location.pathname+window.location.search)}function doAjax(e,t){e="https://ilightbox.net/getSource/jsonp.php?url="+encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A");$.ajax({url:e,dataType:"jsonp"}),iLCallback=function(e){t.call(this,e)}}function findImageInElement(e){var t=$("*",e),o=new Array;return t.each(function(){var e="";if("none"!=$(this).css("background-image")?e=$(this).css("background-image"):void 0!==$(this).attr("src")&&"img"==this.nodeName.toLowerCase()&&(e=$(this).attr("src")),-1==e.indexOf("gradient"))for(var t=(e=(e=(e=(e=e.replace(/url\(\"/g,"")).replace(/url\(/g,"")).replace(/\"\)/g,"")).replace(/\)/g,"")).split(","),i=0;i<t.length;i++)if(t[i].length>0&&-1==$.inArray(t[i],o)){var n="";browser.msie&&browser.version<9&&(n="?"+floor(3e3*random())),o.push(t[i]+n)}}),o}function getExtension(e){var t=e.split(".").pop().toLowerCase(),o=-1!==t.indexOf("?")?"?"+t.split("?").pop():"";return t.replace(o,"")}function getTypeByExtension(e){var t=getExtension(e);return-1!==extensions.image.indexOf(t)?"image":-1!==extensions.flash.indexOf(t)?"flash":-1!==extensions.video.indexOf(t)?"video":"iframe"}function percentToValue(e,t){return parseInt(t/100*e)}function parseURI(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function absolutizeURI(e,t){var o,i;return t=parseURI(t||""),e=parseURI(e||""),t&&e?(t.protocol||e.protocol)+(t.protocol||t.authority?t.authority:e.authority)+(o=t.protocol||t.authority||"/"===t.pathname.charAt(0)?t.pathname:t.pathname?(e.authority&&!e.pathname?"/":"")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+t.pathname:e.pathname,i=[],o.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?i.pop():i.push(e)}),i.join("").replace(/^\//,"/"===o.charAt(0)?"/":""))+(t.protocol||t.authority||t.pathname?t.search:t.search||e.search)+t.hash:null}function version_compare(e,t,o){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var i,n=0,a=0,r={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},s=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]},l=function(e){return e?isNaN(e)?r[e]||-7:parseInt(e,10):0};for(e=s(e),t=s(t),i=max(e.length,t.length),n=0;n<i;n++)if(e[n]!=t[n]){if(e[n]=l(e[n]),t[n]=l(t[n]),e[n]<t[n]){a=-1;break}if(e[n]>t[n]){a=1;break}}if(!o)return a;switch(o){case">":case"gt":return a>0;case">=":case"ge":return a>=0;case"<=":case"le":return a<=0;case"==":case"=":case"eq":return 0===a;case"<>":case"!=":case"ne":return 0!==a;case"":case"<":case"lt":return a<0;default:return null}}function getScrollXY(){var e=0,t=0;return"number"==typeof window.pageYOffset?(t=window.pageYOffset,e=window.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),{x:e,y:t}}iLightBox.prototype={showLoader:function(){var e=this;e.vars.loadRequests+=1,"horizontal"==e.options.path.toLowerCase()?e.vars.loader.addClass("ilightbox-show").stop().animate({top:"-30px"},e.options.show.speed,"easeOutCirc"):e.vars.loader.addClass("ilightbox-show").stop().animate({left:"-30px"},e.options.show.speed,"easeOutCirc")},hideLoader:function(){var e=this;e.vars.loadRequests-=1,e.vars.loadRequests=e.vars.loadRequests<0?0:e.vars.loadRequests,"horizontal"==e.options.path.toLowerCase()?e.vars.loadRequests<=0&&e.vars.loader.removeClass("ilightbox-show").stop().animate({top:"-192px"},e.options.show.speed,"easeInCirc"):e.vars.loadRequests<=0&&e.vars.loader.removeClass("ilightbox-show").stop().animate({left:"-192px"},e.options.show.speed,"easeInCirc")},createUI:function(){var e=this;e.ui={currentElement:e.vars.holder,nextElement:e.vars.nextPhoto,prevElement:e.vars.prevPhoto,currentItem:e.vars.current,nextItem:e.vars.next,prevItem:e.vars.prev,hide:function(){e.closeAction()},refresh:function(){arguments.length>0?e.repositionPhoto(!0):e.repositionPhoto()},fullscreen:function(){e.fullScreenAction()}}},attachItems:function(){var iL=this,itemsObject=new Array,items=new Array;$(iL.selector,iL.context).each(function(){var t=$(this),URL=t.attr(iL.options.attr)||null,options=t.data("options")&&eval("({"+t.data("options")+"})")||{},caption=t.data("caption"),title=t.data("title"),type=t.data("type")||getTypeByExtension(URL);items.push({URL:URL,caption:caption,title:title,type:type,options:options}),iL.instant||itemsObject.push(t)}),iL.items=items,iL.itemsObject=itemsObject,iL.vars&&(iL.vars.total=items.length)},normalizeItems:function(){var e=this,t=new Array;$.each(e.items,function(o,i){"string"==typeof i&&(i={url:i});var n=i.url||i.URL||null,a=i.options||{},r=i.caption||null,s=i.title||null,l=i.type?i.type.toLowerCase():getTypeByExtension(n),c="object"!=typeof n?getExtension(n):"";if(a.thumbnail=a.thumbnail||("image"==l?n:null),a.videoType=a.videoType||null,a.skin=a.skin||e.options.skin,a.width=a.width||null,a.height=a.height||null,a.mousewheel=void 0===a.mousewheel||a.mousewheel,a.swipe=void 0===a.swipe||a.swipe,a.social=void 0!==a.social?a.social:e.options.social.buttons&&$.extend({},{},e.options.social.buttons),"video"==l&&(a.html5video=void 0!==a.html5video?a.html5video:{},a.html5video.webm=a.html5video.webm||a.html5video.WEBM||null,a.html5video.controls=void 0!==a.html5video.controls?a.html5video.controls:"controls",a.html5video.preload=a.html5video.preload||"metadata",a.html5video.autoplay=void 0!==a.html5video.autoplay&&a.html5video.autoplay),"iframe"===l)if(-1!==n.indexOf("youtube.com")){var u=n.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);u&&11===u[7].length&&(a.thumbnail="https://img.youtube.com/vi/"+u[7]+"/mqdefault.jpg")}else if(-1!==n.indexOf("vimeo.com")&&-1===n.indexOf("preview=0")){var h=n.split(/[?#]/)[0];h.replace(/[^\d]/g,"");$.getJSON("https://vimeo.com/api/oembed.json?url="+h,{format:"json"},function(e){a.thumbnail=e.thumbnail_url})}a.width&&a.height||"video"!==l&&"iframe"!==l&&"flash"!==l||(a.width=parseInt(fusionLightboxVideoVars.lightbox_video_width),a.height=parseInt(fusionLightboxVideoVars.lightbox_video_height)),delete i.url,i.index=o,i.URL=n,i.caption=r,i.title=s,i.type=l,i.options=a,i.ext=c,t.push(i)}),e.items=t},instantCall:function(){var e=this,t=e.vars.start;e.vars.current=t,e.vars.next=e.items[t+1]?t+1:null,e.vars.prev=e.items[t-1]?t-1:null,e.addContents(),e.patchEvents()},addContents:function(){var e=this,t=e.vars,o=e.options,i=getViewport(),n=o.path.toLowerCase(),a=t.total>0&&e.items.filter(function(e,t,i){return-1===["image","flash","video"].indexOf(e.type)&&void 0===e.recognized&&(o.smartRecognition||e.options.smartRecognition)}),r=a.length>0;o.mobileOptimizer&&!o.innerToolbar&&(t.isMobile=i.width<=t.mobileMaxWidth),t.overlay.addClass(o.skin).hide().css("opacity",o.overlay.opacity),o.linkId&&t.overlay[0].setAttribute("linkid",o.linkId),o.controls.toolbar&&(t.toolbar.addClass(o.skin).append(t.closeButton),o.controls.fullscreen&&t.toolbar.append(t.fullScreenButton),o.controls.slideshow&&t.toolbar.append(t.innerPlayButton),t.total>1&&t.toolbar.append(t.innerPrevButton).append(t.innerNextButton)),t.BODY.addClass("ilightbox-noscroll").append(t.overlay).append(t.loader).append(t.holder).append(t.nextPhoto).append(t.prevPhoto),o.innerToolbar||t.BODY.append(t.toolbar),o.controls.arrows&&t.BODY.append(t.nextButton).append(t.prevButton),o.controls.thumbnail&&t.total>1&&(t.BODY.append(t.thumbnails),t.thumbnails.addClass(o.skin).addClass("ilightbox-"+n),$("div.ilightbox-thumbnails-grid",t.thumbnails).empty(),t.thumbs=!0);var s="horizontal"==o.path.toLowerCase()?{left:parseInt(i.width/2-t.loader.outerWidth()/2)}:{top:parseInt(i.height/2-t.loader.outerHeight()/2)};t.loader.addClass(o.skin).css(s),t.nextButton.add(t.prevButton).addClass(o.skin),"horizontal"==n&&t.loader.add(t.nextButton).add(t.prevButton).addClass("horizontal"),t.BODY[t.isMobile?"addClass":"removeClass"]("isMobile"),o.infinite||(t.prevButton.add(t.prevButton).add(t.innerPrevButton).add(t.innerNextButton).removeClass("disabled"),0==t.current&&t.prevButton.add(t.innerPrevButton).addClass("disabled"),t.current>=t.total-1&&t.nextButton.add(t.innerNextButton).addClass("disabled")),o.show.effect?(t.overlay.stop().fadeIn(o.show.speed),t.toolbar.stop().fadeIn(o.show.speed)):(t.overlay.show(),t.toolbar.show());var l=a.length;r?(e.showLoader(),$.each(a,function(i,n){e.ogpRecognition(this,function(i){var n=-1,a=(e.items.filter(function(e,t,o){return e.URL==i.url&&(n=t),e.URL==i.url}),e.items[n]);i&&$.extend(!0,a,{URL:i.source,type:i.type,recognized:!0,options:{html5video:i.html5video,width:"image"==i.type?0:i.width||a.width,height:"image"==i.type?0:i.height||a.height,thumbnail:a.options.thumbnail||i.thumbnail}}),0==--l&&(e.hideLoader(),t.dontGenerateThumbs=!1,e.generateThumbnails(),o.show.effect?setTimeout(function(){e.generateBoxes()},o.show.speed):e.generateBoxes())})})):o.show.effect?setTimeout(function(){e.generateBoxes()},o.show.speed):e.generateBoxes(),e.createUI(),window.iLightBox={close:function(){e.closeAction()},fullscreen:function(){e.fullScreenAction()},moveNext:function(){e.moveTo("next")},movePrev:function(){e.moveTo("prev")},goTo:function(t){e.goTo(t)},refresh:function(){e.refresh()},reposition:function(){arguments.length>0?e.repositionPhoto(!0):e.repositionPhoto()},setOption:function(t){e.setOption(t)},destroy:function(){e.closeAction(),e.dispatchItemsEvents()}},o.linkId&&(t.hashLock=!0,window.location.hash=o.linkId+"/"+t.current,setTimeout(function(){t.hashLock=!1},55)),o.slideshow.startPaused||(e.resume(),t.innerPlayButton.removeClass("ilightbox-play").addClass("ilightbox-pause")),"function"==typeof e.options.callback.onOpen&&e.options.callback.onOpen.call(e)},loadContent:function(e,t,o){var i,n,a=this;switch(a.createUI(),e.speed=o||a.options.effects.loadedFadeSpeed,"current"==t&&(e.options.mousewheel?a.vars.lockWheel=!1:a.vars.lockWheel=!0,e.options.swipe?a.vars.lockSwipe=!1:a.vars.lockSwipe=!0),t){case"current":i=a.vars.holder,n=a.vars.current;break;case"next":i=a.vars.nextPhoto,n=a.vars.next;break;case"prev":i=a.vars.prevPhoto,n=a.vars.prev}if(i.removeAttr("style class").addClass("ilightbox-holder"+(supportTouch?" supportTouch":"")).addClass(e.options.skin),$("div.ilightbox-inner-toolbar",i).remove(),e.title||a.options.innerToolbar){var r=a.vars.innerToolbar.clone();if(e.title&&a.options.show.title){var s=a.vars.title.clone();s.empty().html(e.title),r.append(s)}a.options.innerToolbar&&r.append(a.vars.total>1?a.vars.toolbar.clone():a.vars.toolbar),i.prepend(r)}a.loadSwitcher(e,i,n,t)},loadSwitcher:function(e,t,o,i){var n=this,a=n.options,r={element:t,position:o};switch(e.type){case"image":"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.loadImage(e.URL,function(s){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r);var l=s?s.width:400,c=s?s.height:200;t.data({naturalWidth:l,naturalHeight:c}),$("div.ilightbox-container",t).empty().append(s?'<img src="'+e.URL+'" class="ilightbox-image" />':'<span class="ilightbox-alert">'+a.errors.loadImage+"</span>"),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),n.configureHolder(e,i,t)});break;case"video":t.data({naturalWidth:e.options.width,naturalHeight:e.options.height}),n.addContent(t,e),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),n.configureHolder(e,i,t);break;case"iframe":for(var s=e.URL.substring(e.URL.indexOf("?")+1).split("&"),l={},c=0;c<s.length;++c){var u=s[c].split("=");2==u.length&&("w"==u[0]&&(u[0]="width"),"h"==u[0]&&(u[0]="height"),l[u[0]]=decodeURIComponent(u[1].replace(/\+/g," ")))}n.showLoader(),t.data({naturalWidth:e.options.width,naturalHeight:e.options.height});var h=n.addContent(t,e);"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.configureHolder(e,i,t),h.on("load",function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),n.hideLoader(),h.off("load")});break;case"inline":h=$(e.URL);var d=n.addContent(t,e),p=findImageInElement(t);t.data({naturalWidth:n.items[o].options.width||h.outerWidth(),naturalHeight:n.items[o].options.height||h.outerHeight()}),d.children().eq(0).show(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.loadImage(p,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),n.configureHolder(e,i,t)});break;case"flash":h=n.addContent(t,e);t.data({naturalWidth:n.items[o].options.width||h.outerWidth(),naturalHeight:n.items[o].options.height||h.outerHeight()}),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),n.configureHolder(e,i,t);break;case"ajax":var f=e.options.ajax||{};"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.showLoader(),$.ajax({url:e.URL||a.ajaxSetup.url,data:f.data||null,dataType:f.dataType||"html",type:f.type||a.ajaxSetup.type,cache:f.cache||a.ajaxSetup.cache,crossDomain:f.crossDomain||a.ajaxSetup.crossDomain,global:f.global||a.ajaxSetup.global,ifModified:f.ifModified||a.ajaxSetup.ifModified,username:f.username||a.ajaxSetup.username,password:f.password||a.ajaxSetup.password,beforeSend:f.beforeSend||a.ajaxSetup.beforeSend,complete:f.complete||a.ajaxSetup.complete}).done(function(s,l,c){n.hideLoader();var u=$(s),h=$("div.ilightbox-container",t),d=n.items[o].options.width||parseInt(u[0].getAttribute("width")),p=n.items[o].options.height||parseInt(u[0].getAttribute("height")),m=u[0].getAttribute("width")&&u[0].getAttribute("height")?{overflow:"hidden"}:{};h.empty().append($('<div class="ilightbox-wrapper"></div>').css(m).html(u)),t.show().data({naturalWidth:d||h.outerWidth(),naturalHeight:p||h.outerHeight()}).hide(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r);var g=findImageInElement(t);n.loadImage(g,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),n.configureHolder(e,i,t)}),a.ajaxSetup.success(s,l,c),"function"==typeof f.success&&f.success(s,l,c)}).fail(function(s,l,c){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),n.hideLoader(),$("div.ilightbox-container",t).empty().append('<span class="ilightbox-alert">'+a.errors.loadContents+"</span>"),n.configureHolder(e,i,t),a.ajaxSetup.error(s,l,c),"function"==typeof f.error&&f.error(s,l,c)});break;case"html":var m=e.URL;if(container=$("div.ilightbox-container",t),m[0].nodeName)h=m.clone();else{var g=$(m);h=g.selector?$("<div>"+g+"</div>"):g}var v=n.items[o].options.width||parseInt(h.attr("width")),b=n.items[o].options.height||parseInt(h.attr("height"));n.addContent(t,e),h.appendTo(document.documentElement).hide(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r);p=findImageInElement(t);"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.loadImage(p,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),t.show().data({naturalWidth:v||container.outerWidth(),naturalHeight:b||container.outerHeight()}).hide(),h.remove(),n.configureHolder(e,i,t)})}},configureHolder:function(e,t,o){var i=this,n=i.vars,a=i.options;if("current"!=t&&("next"==t?o.addClass("ilightbox-next"):o.addClass("ilightbox-prev")),"current"==t)var r=n.current;else if("next"==t){var s=a.styles.nextOpacity;r=n.next}else s=a.styles.prevOpacity,r=n.prev;var l={element:o,position:r};i.items[r].options.width=i.items[r].options.width||0,i.items[r].options.height=i.items[r].options.height||0,"current"==t?a.show.effect?o.css(transform,gpuAcceleration).fadeIn(e.speed,function(){if(o.css(transform,""),e.caption){i.setCaption(e,o);var t=$("div.ilightbox-caption",o),n=parseInt(t.outerHeight()/o.outerHeight()*100);a.caption.start&n<=50&&t.fadeIn(a.effects.fadeSpeed)}var s=e.options.social;s&&(i.setSocial(s,e.URL,o),a.social.start&&$("div.ilightbox-social",o).fadeIn(a.effects.fadeSpeed)),i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)}):(o.show(),i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)):a.show.effect?o.fadeTo(e.speed,s,function(){"next"==t?n.nextLock=!1:n.prevLock=!1,i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)}):(o.css({opacity:s}).show(),"next"==t?n.nextLock=!1:n.prevLock=!1,i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)),setTimeout(function(){i.repositionPhoto()},0)},generateBoxes:function(){var e=this,t=e.vars,o=e.options;o.infinite&&t.total>=3?(t.current==t.total-1&&(t.next=0),0==t.current&&(t.prev=t.total-1)):o.infinite=!1,e.loadContent(e.items[t.current],"current",o.show.speed),e.items[t.next]&&e.loadContent(e.items[t.next],"next",o.show.speed),e.items[t.prev]&&e.loadContent(e.items[t.prev],"prev",o.show.speed)},generateThumbnails:function(){var e=this,t=e.vars,o=e.options,i=null;if(t.thumbs&&!e.vars.dontGenerateThumbs){var n=t.thumbnails,a=$("div.ilightbox-thumbnails-container",n),r=$("div.ilightbox-thumbnails-grid",a),s=0;r.removeAttr("style").empty(),$.each(e.items,function(l,c){var u=t.current==l?"ilightbox-active":"",h=t.current==l?o.thumbnails.activeOpacity:o.thumbnails.normalOpacity,d=c.options.thumbnail,p=$('<div class="ilightbox-thumbnail"></div>'),f=$('<div class="ilightbox-thumbnail-icon"></div>');p.css({opacity:0}).addClass(u),"video"!=c.type&&"flash"!=c.type||void 0!==c.options.icon?c.options.icon&&(f.addClass("ilightbox-thumbnail-"+c.options.icon),p.append(f)):(f.addClass("ilightbox-thumbnail-video"),p.append(f)),d&&e.loadImage(d,function(t){s++,t?p.data({naturalWidth:t.width,naturalHeight:t.height}).append('<img src="'+d+'" border="0" />'):p.data({naturalWidth:o.thumbnails.maxWidth,naturalHeight:o.thumbnails.maxHeight}),clearTimeout(i),i=setTimeout(function(){e.positionThumbnails(n,a,r)},20),setTimeout(function(){p.fadeTo(o.effects.loadedFadeSpeed,h)},20*s)}),r.append(p)}),e.vars.dontGenerateThumbs=!0}},positionThumbnails:function(e,t,o){var i=this,n=i.vars,a=i.options,r=getViewport(),s=a.path.toLowerCase();e||(e=n.thumbnails),t||(t=$("div.ilightbox-thumbnails-container",e)),o||(o=$("div.ilightbox-thumbnails-grid",t));var l=$(".ilightbox-thumbnail",o),c="horizontal"==s?r.width-a.styles.pageOffsetX:l.eq(0).outerWidth()-a.styles.pageOffsetX,u="horizontal"==s?l.eq(0).outerHeight()-a.styles.pageOffsetY:r.height-a.styles.pageOffsetY,h="horizontal"==s?0:c,d="horizontal"==s?u:0,p=$(".ilightbox-active",o),f={};arguments.length<3&&(l.css({opacity:a.thumbnails.normalOpacity}),p.css({opacity:a.thumbnails.activeOpacity})),l.each(function(e){var t=$(this),o=t.data(),n="horizontal"==s?0:a.thumbnails.maxWidth;height="horizontal"==s?a.thumbnails.maxHeight:0,dims=i.getNewDimenstions(n,height,o.naturalWidth,o.naturalHeight,!0),t.css({width:dims.width,height:dims.height}),"horizontal"==s&&t.css({float:"left"}),"horizontal"==s?h+=t.outerWidth(!0):d+=t.outerHeight()}),f={width:h,height:d},o.css(f),f={};var m=o.offset(),g=p.length?p.offset():{top:parseInt(u/2),left:parseInt(c/2)};m.top=m.top-$doc.scrollTop(),m.left=m.left-$doc.scrollLeft(),g.top=g.top-m.top-$doc.scrollTop(),g.left=g.left-m.left-$doc.scrollLeft(),"horizontal"==s?(f.top=0,f.left=parseInt(c/2-g.left-p.outerWidth()/2)):(f.top=parseInt(u/2-g.top-p.outerHeight()/2),f.left=0),arguments.length<3?o.stop().animate(f,a.effects.repositionSpeed,"easeOutCirc"):o.css(f)},loadImage:function(e,t){Array.isArray(e)||(e=[e]);var o=this,i=e.length;i>0?(o.showLoader(),$.each(e,function(n,a){var r=new Image;r.onload=function(){0==(i-=1)&&(o.hideLoader(),t(r))},r.onerror=r.onabort=function(){0==(i-=1)&&(o.hideLoader(),t(!1))},r.src=e[n]})):t(!1)},patchItemsEvents:function(){var e=this,t=e.vars,o=supportTouch?"click.iL itap.iL":"click.iL",i=supportTouch?"click.iL itap.iL":"itap.iL";if(e.context&&e.selector){var n=$(e.selector,e.context);$(e.context).on(o,e.selector,function(){var o=$(this),i=n.index(o);return t.current=i,t.next=e.items[i+1]?i+1:null,t.prev=e.items[i-1]?i-1:null,e.addContents(),e.patchEvents(),!1}).on(i,e.selector,function(){return!1})}else $.each(e.itemsObject,function(n,a){a.on(o,function(){return t.current=n,t.next=e.items[n+1]?n+1:null,t.prev=e.items[n-1]?n-1:null,e.addContents(),e.patchEvents(),!1}).on(i,function(){return!1})})},dispatchItemsEvents:function(){var e=this;e.vars,e.options;e.context&&e.selector?$(e.context).off(".iL",e.selector):$.each(e.itemsObject,function(e,t){t.off(".iL")})},refresh:function(){this.dispatchItemsEvents(),this.attachItems(),this.normalizeItems(),this.patchItemsEvents()},patchEvents:function(){var e=this,t=e.vars,o=e.options,i=o.path.toLowerCase(),n=$(".ilightbox-holder"),a=fullScreenApi.fullScreenEventName+".iLightBox",r=verticalDistanceThreshold=100,s=[t.nextButton[0],t.prevButton[0],t.nextButton[0].firstChild,t.prevButton[0].firstChild];$win.on("resize.iLightBox",function(){var i=getViewport();o.mobileOptimizer&&!o.innerToolbar&&(t.isMobile=i.width<=t.mobileMaxWidth),t.BODY[t.isMobile?"addClass":"removeClass"]("isMobile"),t.nextLock||t.prevLock||e.repositionPhoto(null),supportTouch&&(clearTimeout(t.setTime),t.setTime=setTimeout(function(){var e=getScrollXY().y;window.scrollTo(0,e-30),window.scrollTo(0,e+30),window.scrollTo(0,e)},2e3)),t.thumbs&&e.positionThumbnails()}).on("keydown.iLightBox",function(i){if(o.controls.keyboard)switch(i.keyCode){case 13:i.shiftKey&&o.keyboard.shift_enter&&e.fullScreenAction();break;case 27:o.keyboard.esc&&e.closeAction();break;case 37:o.keyboard.left&&!t.lockKey&&e.moveTo("prev");break;case 38:o.keyboard.up&&!t.lockKey&&e.moveTo("prev");break;case 39:o.keyboard.right&&!t.lockKey&&e.moveTo("next");break;case 40:o.keyboard.down&&!t.lockKey&&e.moveTo("next")}}),fullScreenApi.supportsFullScreen&&$win.on(a,function(){e.doFullscreen()});var l=[o.caption.show+".iLightBox",o.caption.hide+".iLightBox",o.social.show+".iLightBox",o.social.hide+".iLightBox"].filter(function(e,t,o){return o.lastIndexOf(e)===t}),c="";$.each(l,function(e,t){0!=e&&(c+=" "),c+=t}),$doc.on(clickEvent,".ilightbox-overlay",function(){o.overlay.blur&&e.closeAction()}).on(clickEvent,".ilightbox-next, .ilightbox-next-button",function(){e.moveTo("next")}).on(clickEvent,".ilightbox-prev, .ilightbox-prev-button",function(){e.moveTo("prev")}).on(clickEvent,".ilightbox-thumbnail",function(){var o=$(this),i=$(".ilightbox-thumbnail",t.thumbnails).index(o);i!=t.current&&e.goTo(i)}).on(c,".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(e){var i=$("div.ilightbox-caption",t.holder),n=$("div.ilightbox-social",t.holder),a=o.effects.fadeSpeed;t.nextLock||t.prevLock?(e.type!=o.caption.show||i.is(":visible")?e.type==o.caption.hide&&i.is(":visible")&&i.fadeOut(a):i.fadeIn(a),e.type!=o.social.show||n.is(":visible")?e.type==o.social.hide&&n.is(":visible")&&n.fadeOut(a):n.fadeIn(a)):(e.type!=o.caption.show||i.is(":visible")?e.type==o.caption.hide&&i.is(":visible")&&i.stop().fadeOut(a):i.stop().fadeIn(a),e.type!=o.social.show||n.is(":visible")?e.type==o.social.hide&&n.is(":visible")&&n.stop().fadeOut(a):n.stop().fadeIn(a))}).on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-wrapper",function(e){"mouseenter"==e.type?t.lockWheel=!0:t.lockWheel=!1}).on(clickEvent,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause",function(){var t=$(this);t.hasClass("fusion-updated")||(t.hasClass("ilightbox-fullscreen")?e.fullScreenAction():t.hasClass("ilightbox-play")?(e.resume(),t.addClass("ilightbox-pause").removeClass("ilightbox-play")):t.hasClass("ilightbox-pause")?(e.pause(),t.addClass("ilightbox-play").removeClass("ilightbox-pause")):e.closeAction(),t.addClass("fusion-updated"),setTimeout(function(){t.removeClass("fusion-updated")},100))}).on(touchMoveEvent,".ilightbox-overlay, .ilightbox-thumbnails-container",function(e){e.preventDefault()}),o.controls.arrows&&!supportTouch&&$doc.on("mousemove.iLightBox",function(e){t.isMobile||(t.mouseID||t.hideableElements.show(),t.mouseID=clearTimeout(t.mouseID),-1===s.indexOf(e.target)&&(t.mouseID=setTimeout(function(){t.hideableElements.hide(),t.mouseID=clearTimeout(t.mouseID)},3e3)))}),o.controls.slideshow&&o.slideshow.pauseOnHover&&$doc.on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(o){"mouseenter"==o.type&&t.cycleID?e.pause():"mouseleave"==o.type&&t.isPaused&&e.resume()});var u=$(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails");o.controls.mousewheel&&u.on("mousewheel.iLightBox",function(o,i){t.lockWheel||(o.preventDefault(),i<0?e.moveTo("next"):i>0&&e.moveTo("prev"))}),o.controls.swipe&&n.on(touchStartEvent,function(a){if(!(t.nextLock||t.prevLock||1==t.total||t.lockSwipe)){t.BODY.addClass("ilightbox-closedhand");var s,l=a.originalEvent.touches?a.originalEvent.touches[0]:a,c=$doc.scrollTop(),u=$doc.scrollLeft(),h=[n.eq(0).offset(),n.eq(1).offset(),n.eq(2).offset()],d=[{top:h[0].top-c,left:h[0].left-u},{top:h[1].top-c,left:h[1].left-u},{top:h[2].top-c,left:h[2].left-u}],p={time:(new Date).getTime(),coords:[l.pageX-u,l.pageY-c]};n.on(touchMoveEvent,m),$doc.one(touchStopEvent,function(a){n.off(touchMoveEvent,m),t.BODY.removeClass("ilightbox-closedhand"),p&&s&&("horizontal"==i&&s.time-p.time<1e3&&abs(p.coords[0]-s.coords[0])>r&&abs(p.coords[1]-s.coords[1])<verticalDistanceThreshold?p.coords[0]>s.coords[0]?t.current!=t.total-1||o.infinite?(t.isSwipe=!0,e.moveTo("next")):g():0!=t.current||o.infinite?(t.isSwipe=!0,e.moveTo("prev")):g():"vertical"==i&&s.time-p.time<1e3&&abs(p.coords[1]-s.coords[1])>r&&abs(p.coords[0]-s.coords[0])<verticalDistanceThreshold?p.coords[1]>s.coords[1]?t.current!=t.total-1||o.infinite?(t.isSwipe=!0,e.moveTo("next")):g():0!=t.current||o.infinite?(t.isSwipe=!0,e.moveTo("prev")):g():g()),p=s=undefined})}function f(e){var t=$(this),o=d[e],n=[p.coords[0]-s.coords[0],p.coords[1]-s.coords[1]];t[0].style["horizontal"==i?"left":"top"]=("horizontal"==i?o.left-n[0]:o.top-n[1])+"px"}function m(e){if(p){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e;s={time:(new Date).getTime(),coords:[t.pageX-u,t.pageY-c]},n.each(f),e.preventDefault()}}function g(){n.each(function(){var e=$(this),t=e.data("offset")||{top:e.offset().top-c,left:e.offset().left-u},o=t.top,i=t.left;e.css(transform,gpuAcceleration).stop().animate({top:o,left:i},500,"easeOutCirc",function(){e.css(transform,"")})})}})},goTo:function(e){var t=this,o=t.vars,i=t.options,n=e-o.current;if(i.infinite&&(e==o.total-1&&0==o.current&&(n=-1),o.current==o.total-1&&0==e&&(n=1)),1==n)t.moveTo("next");else if(-1==n)t.moveTo("prev");else{if(o.nextLock||o.prevLock)return!1;"function"==typeof i.callback.onBeforeChange&&i.callback.onBeforeChange.call(t,t.ui),i.linkId&&(o.hashLock=!0,window.location.hash=i.linkId+"/"+e),t.items[e]&&(t.items[e].options.mousewheel?t.vars.lockWheel=!1:o.lockWheel=!0,t.items[e].options.swipe?o.lockSwipe=!1:o.lockSwipe=!0),$.each([o.holder,o.nextPhoto,o.prevPhoto],function(e,t){t.css(transform,gpuAcceleration).fadeOut(i.effects.loadedFadeSpeed)}),o.current=e,o.next=e+1,o.prev=e-1,t.createUI(),setTimeout(function(){t.generateBoxes()},i.effects.loadedFadeSpeed+50),$(".ilightbox-thumbnail",o.thumbnails).removeClass("ilightbox-active").eq(e).addClass("ilightbox-active"),t.positionThumbnails(),i.linkId&&setTimeout(function(){o.hashLock=!1},55),i.infinite||(o.nextButton.add(o.prevButton).add(o.innerPrevButton).add(o.innerNextButton).removeClass("disabled"),0==o.current&&o.prevButton.add(o.innerPrevButton).addClass("disabled"),o.current>=o.total-1&&o.nextButton.add(o.innerNextButton).addClass("disabled")),t.resetCycle(),"function"==typeof i.callback.onAfterChange&&i.callback.onAfterChange.call(t,t.ui)}},moveTo:function(e){var t=this,o=t.vars,i=t.options,n=i.path.toLowerCase(),a=getViewport(),r=i.effects.switchSpeed,s=t.vars.holder,l=s.find("iframe").length?s.find("iframe").attr("src"):"";if(l&&-1!==l.indexOf("vimeo.com")&&s.find("iframe").attr("src",l),o.nextLock||o.prevLock)return!1;var c="next"==e?o.next:o.prev;if(i.linkId&&c&&(o.hashLock=!0,window.location.hash=i.linkId+"/"+c),"next"==e){if(!t.items[c])return!1;var u=o.nextPhoto,h=o.holder,d=o.prevPhoto,p="ilightbox-prev",f="ilightbox-next"}else if("prev"==e){if(!t.items[c])return!1;u=o.prevPhoto,h=o.holder,d=o.nextPhoto,p="ilightbox-next",f="ilightbox-prev"}"function"==typeof i.callback.onBeforeChange&&i.callback.onBeforeChange.call(t,t.ui),"next"==e?o.nextLock=!0:o.prevLock=!0;var m=$("div.ilightbox-caption",h),g=$("div.ilightbox-social",h);if(m.length&&m.stop().fadeOut(r,function(){$(this).remove()}),g.length&&g.stop().fadeOut(r,function(){$(this).remove()}),t.items[c].caption){t.setCaption(t.items[c],u);var v=$("div.ilightbox-caption",u),b=parseInt(v.outerHeight()/u.outerHeight()*100);i.caption.start&&b<=50&&v.fadeIn(r)}var x=t.items[c].options.social;x&&(t.setSocial(x,t.items[c].URL,u),i.social.start&&$("div.ilightbox-social",u).fadeIn(i.effects.fadeSpeed)),$.each([u,h,d],function(e,t){t.removeClass("ilightbox-next ilightbox-prev")});var w=u.data("offset"),y=a.width-i.styles.pageOffsetX,k=a.height-i.styles.pageOffsetY,S=w.newDims.width,L=w.newDims.height,T=w.thumbsOffset,A=w.diff,I=parseInt(k/2-L/2-A.H-T.H/2),C=parseInt(y/2-S/2-A.W-T.W/2);u.css(transform,gpuAcceleration).animate({top:I,left:C,opacity:1},r,o.isSwipe?"easeOutCirc":"easeInOutCirc",function(){u.css(transform,"")}),$("div.ilightbox-container",u).animate({width:S,height:L},r,o.isSwipe?"easeOutCirc":"easeInOutCirc");var O=h.data("offset"),B=O.object;A=O.diff,S=O.newDims.width,L=O.newDims.height,S=parseInt(S*i.styles["next"==e?"prevScale":"nextScale"]),L=parseInt(L*i.styles["next"==e?"prevScale":"nextScale"]),I="horizontal"==n?parseInt(k/2-B.offsetY-L/2-A.H-T.H/2):parseInt(k-B.offsetX-A.H-T.H/2),"prev"==e?C="horizontal"==n?parseInt(y-B.offsetX-A.W-T.W/2):parseInt(y/2-S/2-A.W-B.offsetY-T.W/2):(I="horizontal"==n?I:parseInt(B.offsetX-A.H-L-T.H/2),C="horizontal"==n?parseInt(B.offsetX-A.W-S-T.W/2):parseInt(y/2-B.offsetY-S/2-A.W-T.W/2)),$("div.ilightbox-container",h).animate({width:S,height:L},r,o.isSwipe?"easeOutCirc":"easeInOutCirc"),h.addClass(p).css(transform,gpuAcceleration).animate({top:I,left:C,opacity:i.styles.prevOpacity},r,o.isSwipe?"easeOutCirc":"easeInOutCirc",function(){h.css(transform,""),$(".ilightbox-thumbnail",o.thumbnails).removeClass("ilightbox-active").eq(c).addClass("ilightbox-active"),t.positionThumbnails(),t.items[c]&&(t.items[c].options.mousewheel?o.lockWheel=!1:o.lockWheel=!0,t.items[c].options.swipe?o.lockSwipe=!1:o.lockSwipe=!0),o.isSwipe=!1,"next"==e?(o.nextPhoto=d,o.prevPhoto=h,o.holder=u,o.nextPhoto.hide(),o.next=o.next+1,o.prev=o.current,o.current=o.current+1,i.infinite&&(o.current>o.total-1&&(o.current=0),o.current==o.total-1&&(o.next=0),0==o.current&&(o.prev=o.total-1)),t.createUI(),t.items[o.next]?t.loadContent(t.items[o.next],"next"):o.nextLock=!1):(o.prevPhoto=d,o.nextPhoto=h,o.holder=u,o.prevPhoto.hide(),o.next=o.current,o.current=o.prev,o.prev=o.current-1,i.infinite&&(o.current==o.total-1&&(o.next=0),0==o.current&&(o.prev=o.total-1)),t.createUI(),t.items[o.prev]?t.loadContent(t.items[o.prev],"prev"):o.prevLock=!1),i.linkId&&setTimeout(function(){o.hashLock=!1},55),i.infinite||(o.nextButton.add(o.prevButton).add(o.innerPrevButton).add(o.innerNextButton).removeClass("disabled"),0==o.current&&o.prevButton.add(o.innerPrevButton).addClass("disabled"),o.current>=o.total-1&&o.nextButton.add(o.innerNextButton).addClass("disabled")),t.repositionPhoto(),t.resetCycle(),"function"==typeof i.callback.onAfterChange&&i.callback.onAfterChange.call(t,t.ui)}),I="horizontal"==n?getPixel(d,"top"):"next"==e?parseInt(-k/2-d.outerHeight()):parseInt(2*I),C="horizontal"==n?"next"==e?parseInt(-y/2-d.outerWidth()):parseInt(2*C):getPixel(d,"left"),d.css(transform,gpuAcceleration).animate({top:I,left:C,opacity:i.styles.nextOpacity},r,o.isSwipe?"easeOutCirc":"easeInOutCirc",function(){d.css(transform,"")}).addClass(f)},setCaption:function(e,t){var o=$('<div class="ilightbox-caption"></div>');e.caption&&(o.html(e.caption),$("div.ilightbox-container",t).append(o))},normalizeSocial:function(e,t){this.vars;var o=this.options,i=window.location.href;return $.each(e,function(n,a){if(!a)return!0;var r,s;switch(n.toLowerCase()){case"facebook":r="http://www.facebook.com/share.php?v=4&src=bm&u={URL}",s="Share on Facebook";break;case"twitter":r="http://twitter.com/home?status={URL}",s="Share on Twitter";break;case"delicious":r="http://delicious.com/post?url={URL}",s="Share on Delicious";break;case"digg":r="http://digg.com/submit?phase=2&url={URL}",s="Share on Digg";break;case"reddit":r="http://reddit.com/submit?url={URL}",s="Share on reddit"}e[n]={URL:a.URL&&absolutizeURI(i,a.URL)||o.linkId&&window.location.href||"string"!=typeof t&&i||t&&absolutizeURI(i,t)||i,source:a.source||r||a.URL&&absolutizeURI(i,a.URL)||t&&absolutizeURI(i,t),text:a.text||s||"Share on "+n,width:void 0===a.width||isNaN(a.width)?640:parseInt(a.width),height:a.height||360}}),e},setSocial:function(e,t,o){var i=$('<div class="ilightbox-social"></div>'),n="<ul>";e=this.normalizeSocial(e,t),$.each(e,function(e,t){e.toLowerCase();var o=t.source.replace(/\{URL\}/g,encodeURIComponent(t.URL).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+"));n+='<li class="'+e+'"><a href="'+o+'" onclick="javascript:window.open(this.href'+(t.width<=0||t.height<=0?"":", '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height="+t.height+",width="+t.width+",left=40,top=40'")+');return false;" title="'+t.text+'" target="_blank" role="button"></a></li>'}),n+="</ul>",i.html(n),$("div.ilightbox-container",o).append(i)},fullScreenAction:function(){this.vars;fullScreenApi.supportsFullScreen?fullScreenApi.isFullScreen()?fullScreenApi.cancelFullScreen(document.documentElement):fullScreenApi.requestFullScreen(document.documentElement):this.doFullscreen()},doFullscreen:function(){var e=this,t=e.vars,o=getViewport(),i=e.options;if(i.fullAlone){var n=t.holder,a=e.items[t.current],r=o.width,s=o.height,l=[n,t.nextPhoto,t.prevPhoto,t.nextButton,t.prevButton,t.overlay,t.toolbar,t.thumbnails,t.loader],c=[t.loader,t.thumbnails];if(t.isInFullScreen)t.isInFullScreen=t.lockKey=t.lockWheel=t.lockSwipe=!1,t.overlay.css({opacity:e.options.overlay.opacity}),$.each(c,function(e,t){t.show()}),t.fullScreenButton.attr("title",i.text.enterFullscreen),n.data({naturalWidth:n.data("naturalWidthOld"),naturalHeight:n.data("naturalHeightOld"),naturalWidthOld:null,naturalHeightOld:null}),$.each(l,function(e,t){t.removeClass("ilightbox-fullscreen")}),"function"==typeof i.callback.onExitFullScreen&&i.callback.onExitFullScreen.call(e,e.ui);else{if(t.isInFullScreen=t.lockKey=t.lockWheel=t.lockSwipe=!0,t.overlay.css({opacity:1}),$.each(c,function(e,t){t.hide()}),t.fullScreenButton.attr("title",i.text.exitFullscreen),-1!=i.fullStretchTypes.indexOf(a.type))n.data({naturalWidthOld:n.data("naturalWidth"),naturalHeightOld:n.data("naturalHeight"),naturalWidth:r,naturalHeight:s});else{o=a.options.fullViewPort||i.fullViewPort||"";var u=r,h=s,d=n.data("naturalWidth"),p=n.data("naturalHeight");if("fill"==o.toLowerCase())(h=u/d*p)<s&&(u=s/p*d,h=s);else if("fit"==o.toLowerCase()){u=(f=e.getNewDimenstions(u,h,d,p,!0)).width,h=f.height}else if("stretch"==o.toLowerCase())u=u,h=h;else{var f,m=d>u||p>h;u=(f=e.getNewDimenstions(u,h,d,p,m)).width,h=f.height}n.data({naturalWidthOld:n.data("naturalWidth"),naturalHeightOld:n.data("naturalHeight"),naturalWidth:u,naturalHeight:h})}$.each(l,function(e,t){t.addClass("ilightbox-fullscreen")}),"function"==typeof i.callback.onEnterFullScreen&&i.callback.onEnterFullScreen.call(e,e.ui)}}else t.isInFullScreen?t.isInFullScreen=!1:t.isInFullScreen=!0;e.repositionPhoto(!0)},closeAction:function(){var e=this.vars,t=this.options;$win.off(".iLightBox"),$doc.off(".iLightBox"),$doc.off(clickEvent,".ilightbox-overlay"),$doc.off(clickEvent,".ilightbox-next, .ilightbox-next-button"),$doc.off(clickEvent,".ilightbox-prev, .ilightbox-prev-button"),$doc.off(clickEvent,".ilightbox-thumbnail"),$doc.off(clickEvent,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause"),e.isInFullScreen&&fullScreenApi.cancelFullScreen(document.documentElement),$(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails").off(".iLightBox"),t.hide.effect?e.overlay.stop().fadeOut(t.hide.speed,function(){e.overlay.remove(),e.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")}):(e.overlay.remove(),e.BODY.removeClass("ilightbox-noscroll").off(".iLightBox"));var o=[e.toolbar,e.holder,e.nextPhoto,e.prevPhoto,e.nextButton,e.prevButton,e.loader,e.thumbnails];$.each(o,function(e,t){t.removeAttr("style").remove()}),e.prevButton.removeClass("disabled"),e.nextButton.removeClass("disabled"),e.dontGenerateThumbs=e.isInFullScreen=!1,window.iLightBox=null,t.linkId&&(e.hashLock=!0,removeHash(),setTimeout(function(){e.hashLock=!1},55)),"function"==typeof t.callback.onHide&&t.callback.onHide.call(this,this.ui)},repositionPhoto:function(){var e=this,t=e.vars,o=e.options,i=o.path.toLowerCase(),n=getViewport(),a=n.width,r=n.height,s=t.isInFullScreen&&o.fullAlone||t.isMobile?0:"horizontal"==i?0:t.thumbnails.outerWidth(),l=t.isMobile?t.toolbar.outerHeight():t.isInFullScreen&&o.fullAlone?0:"horizontal"==i?t.thumbnails.outerHeight():0,c=t.isInFullScreen&&o.fullAlone?a:a-o.styles.pageOffsetX,u=t.isInFullScreen&&o.fullAlone?r:r-o.styles.pageOffsetY,h="horizontal"==i?parseInt(e.items[t.next]||e.items[t.prev]?2*(o.styles.nextOffsetX+o.styles.prevOffsetX):c/10<=30?30:c/10):parseInt(c/10<=30?30:c/10)+s,d="horizontal"==i?parseInt(u/10<=30?30:u/10)+l:parseInt(e.items[t.next]||e.items[t.prev]?2*(o.styles.nextOffsetX+o.styles.prevOffsetX):u/10<=30?30:u/10),p={type:"current",width:c,height:u,item:e.items[t.current],offsetW:h,offsetH:d,thumbsOffsetW:s,thumbsOffsetH:l,animate:arguments.length,holder:t.holder};e.repositionEl(p),e.items[t.next]&&(p=$.extend(p,{type:"next",item:e.items[t.next],offsetX:o.styles.nextOffsetX,offsetY:o.styles.nextOffsetY,holder:t.nextPhoto}),e.repositionEl(p)),e.items[t.prev]&&(p=$.extend(p,{type:"prev",item:e.items[t.prev],offsetX:o.styles.prevOffsetX,offsetY:o.styles.prevOffsetY,holder:t.prevPhoto}),e.repositionEl(p));var f="horizontal"==i?{left:parseInt(c/2-t.loader.outerWidth()/2)}:{top:parseInt(u/2-t.loader.outerHeight()/2)};t.loader.css(f)},repositionEl:function(e){var t=this.vars,o=this.options,i=o.path.toLowerCase(),n="current"==e.type&&t.isInFullScreen&&o.fullAlone?e.width:e.width-e.offsetW,a="current"==e.type&&t.isInFullScreen&&o.fullAlone?e.height:e.height-e.offsetH,r=e.item,s=e.item.options,l=e.holder,c=e.offsetX||0,u=e.offsetY||0,h=e.thumbsOffsetW,d=e.thumbsOffsetH;"current"==e.type?("number"==typeof s.width&&s.width&&(n=t.isInFullScreen&&o.fullAlone&&(-1!=o.fullStretchTypes.indexOf(r.type)||s.fullViewPort||o.fullViewPort)?n:s.width>n?n:s.width),"number"==typeof s.height&&s.height&&(a=t.isInFullScreen&&o.fullAlone&&(-1!=o.fullStretchTypes.indexOf(r.type)||s.fullViewPort||o.fullViewPort)?a:s.height>a?a:s.height)):("number"==typeof s.width&&s.width&&(n=s.width>n?n:s.width),"number"==typeof s.height&&s.height&&(a=s.height>a?a:s.height)),$(".ilightbox-inner-toolbar",l).length&&(a=parseInt(a-$(".ilightbox-inner-toolbar",l).outerHeight()));var p="string"==typeof s.width&&-1!=s.width.indexOf("%")?percentToValue(parseInt(s.width.replace("%","")),e.width):l.data("naturalWidth"),f="string"==typeof s.height&&-1!=s.height.indexOf("%")?percentToValue(parseInt(s.height.replace("%","")),e.height):l.data("naturalHeight"),m="string"==typeof s.width&&-1!=s.width.indexOf("%")||"string"==typeof s.height&&-1!=s.height.indexOf("%")?{width:p,height:f}:this.getNewDimenstions(n,a,p,f),g=$.extend({},m,{});"prev"==e.type||"next"==e.type?(p=parseInt(m.width*("next"==e.type?o.styles.nextScale:o.styles.prevScale)),f=parseInt(m.height*("next"==e.type?o.styles.nextScale:o.styles.prevScale))):(p=m.width,f=m.height);var v=parseInt((getPixel(l,"padding-left")+getPixel(l,"padding-right")+getPixel(l,"border-left-width")+getPixel(l,"border-right-width"))/2),b=parseInt((getPixel(l,"padding-top")+getPixel(l,"padding-bottom")+getPixel(l,"border-top-width")+getPixel(l,"border-bottom-width")+($(".ilightbox-inner-toolbar",l).outerHeight()||0))/2);switch(e.type){case"current":var x=parseInt(e.height/2-f/2-b-d/2),w=parseInt(e.width/2-p/2-v-h/2);break;case"next":x="horizontal"==i?parseInt(e.height/2-u-f/2-b-d/2):parseInt(e.height-c-b-d/2),w="horizontal"==i?parseInt(e.width-c-v-h/2):parseInt(e.width/2-p/2-v-u-h/2);break;case"prev":x="horizontal"==i?parseInt(e.height/2-u-f/2-b-d/2):parseInt(c-b-f-d/2),w="horizontal"==i?parseInt(c-v-p-h/2):parseInt(e.width/2-u-p/2-v-h/2)}l.data("offset",{top:x,left:w,newDims:g,diff:{W:v,H:b},thumbsOffset:{W:h,H:d},object:e}),e.animate>0&&o.effects.reposition?(l.css(transform,gpuAcceleration).stop().animate({top:x,left:w},o.effects.repositionSpeed,"easeOutCirc",function(){l.css(transform,"")}),$("div.ilightbox-container",l).stop().animate({width:p,height:f},o.effects.repositionSpeed,"easeOutCirc"),$("div.ilightbox-inner-toolbar",l).stop().animate({width:p},o.effects.repositionSpeed,"easeOutCirc",function(){$(this).css("overflow","visible")})):(l.css({top:x,left:w}),$("div.ilightbox-container",l).css({width:p,height:f}),$("div.ilightbox-inner-toolbar",l).css({width:p}))},resume:function(e){var t=this,o=t.vars,i=t.options;!i.slideshow.pauseTime||i.controls.slideshow&&o.total<=1||e<o.isPaused||(o.isPaused=0,o.cycleID&&(o.cycleID=clearTimeout(o.cycleID)),o.cycleID=setTimeout(function(){o.current==o.total-1?t.goTo(0):t.moveTo("next")},i.slideshow.pauseTime))},pause:function(e){var t=this.vars;this.options;e<t.isPaused||(t.isPaused=e||100,t.cycleID&&(t.cycleID=clearTimeout(t.cycleID)))},resetCycle:function(){var e=this.vars;this.options.controls.slideshow&&e.cycleID&&!e.isPaused&&this.resume()},getNewDimenstions:function(e,t,o,i,n){var a=this;return factor=e?t?min(e/o,t/i):e/o:t/i,n||(factor>a.options.maxScale?factor=a.options.maxScale:factor<a.options.minScale&&(factor=a.options.minScale)),{width:a.options.keepAspectRatio?round(o*factor):e,height:a.options.keepAspectRatio?round(i*factor):t,ratio:factor}},setOption:function(e){this.options=$.extend(!0,this.options,e||{}),this.refresh()},availPlugins:function(){var e=document.createElement("video");this.plugins={flash:!isMobile,quicktime:parseInt(PluginDetect.getVersion("QuickTime"))>=0,html5H264:!(!e.canPlayType||!e.canPlayType("video/mp4").replace(/no/,"")),html5WebM:!(!e.canPlayType||!e.canPlayType("video/webm").replace(/no/,"")),html5Vorbis:!(!e.canPlayType||!e.canPlayType("video/ogg").replace(/no/,"")),html5QuickTime:!(!e.canPlayType||!e.canPlayType("video/quicktime").replace(/no/,""))}},addContent:function(e,t){var o=this;switch(t.type){case"video":var i=!1,n=t.videoType,a=t.options.html5video;("video/mp4"==n||"mp4"==t.ext||"m4v"==t.ext||a.h264)&&o.plugins.html5H264?(t.ext="mp4",t.URL=a.h264||t.URL):a.webm&&o.plugins.html5WebM?(t.ext="webm",t.URL=a.webm||t.URL):a.ogg&&o.plugins.html5Vorbis&&(t.ext="ogv",t.URL=a.ogg||t.URL),!o.plugins.html5H264||"video/mp4"!=n&&"mp4"!=t.ext&&"m4v"!=t.ext?!o.plugins.html5WebM||"video/webm"!=n&&"webm"!=t.ext?!o.plugins.html5Vorbis||"video/ogg"!=n&&"ogv"!=t.ext?!o.plugins.html5QuickTime||"video/quicktime"!=n&&"mov"!=t.ext&&"qt"!=t.ext||(i=!0,n="video/quicktime"):(i=!0,n="video/ogg"):(i=!0,n="video/webm"):(i=!0,n="video/mp4"),i?g=$("<video />",{width:"100%",height:"100%",preload:a.preload,autoplay:a.autoplay,poster:a.poster,controls:a.controls}).append($("<source />",{src:t.URL,type:n})):o.plugins.quicktime?(g=$("<object />",{type:"video/quicktime",pluginspage:pluginspages.quicktime}).attr({data:t.URL,width:"100%",height:"100%"}).append($("<param />",{name:"src",value:t.URL})).append($("<param />",{name:"autoplay",value:"false"})).append($("<param />",{name:"loop",value:"false"})).append($("<param />",{name:"scale",value:"tofit"})),browser.msie&&(g=QT_GenerateOBJECTText(t.URL,"100%","100%","","SCALE","tofit","AUTOPLAY","false","LOOP","false"))):g=$("<span />",{class:"ilightbox-alert",html:o.options.errors.missingPlugin.replace("{pluginspage}",pluginspages.quicktime).replace("{type}","QuickTime")});break;case"flash":if(o.plugins.flash){var r="",s=0;t.options.flashvars?$.each(t.options.flashvars,function(e,t){0!=s&&(r+="&"),r+=e+"="+encodeURIComponent(t),s++}):r=null,g=$("<embed />").attr({type:"application/x-shockwave-flash",src:t.URL,width:"number"==typeof t.options.width&&t.options.width&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.height:"100%",quality:"high",bgcolor:"#000000",play:"true",loop:"true",menu:"true",wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:"true",flashvars:r,fullscreen:"yes"})}else g=$("<span />",{class:"ilightbox-alert",html:o.options.errors.missingPlugin.replace("{pluginspage}",pluginspages.flash).replace("{type}","Adobe Flash player")});break;case"iframe":var l=t.URL.substring(t.URL.indexOf("?")+1).split("&"),c="?";if(-1!=t.URL.indexOf("vimeo.com")){var u=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;if(p=t.URL.match(u)){c="?title=0&amp;byline=0&amp;portrait=0";for(var h=0;h<l.length;++h){1<(f=l[h].split("="))[0].length&&2===f.length&&-1===c.indexOf(f[0])&&(c+="&"+f[0]+"="+decodeURIComponent(f[1].replace(/\+/g," ")))}var d="https://player.vimeo.com/video/"+p[3]+c}else d=t.URL}else{var p;u=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;if(p=t.URL.match(u)){c="?enablejsapi=1";for(h=0;h<l.length;++h){var f;1<(f=l[h].split("="))[0].length&&2===f.length&&-1===c.indexOf(f[0])&&(c+="&"+f[0]+"="+decodeURIComponent(f[1].replace(/\+/g," ")))}d="https://www.youtube.com/embed/"+p[7]+c}else d=t.URL}var m="";-1!==c.indexOf("autoplay=1")&&(m+="autoplay"),g=$("<iframe />").attr({width:"number"==typeof t.options.width&&t.options.width&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.height:"100%",src:d,frameborder:0,hspace:0,vspace:0,scrolling:supportTouch?"auto":"scroll",webkitAllowFullScreen:"",mozallowfullscreen:"",allowFullScreen:"",allow:m});break;case"inline":g=$('<div class="ilightbox-wrapper"></div>').html($(t.URL).clone(!0));break;case"html":var g,v=t.URL;if(v[0].nodeName)g=$('<div class="ilightbox-wrapper"></div>').html(v);else{var b=$(t.URL),x=b.selector?$("<div>"+b+"</div>"):b;g=$('<div class="ilightbox-wrapper"></div>').html(x)}}return $("div.ilightbox-container",e).empty().html(g),"video"===g[0].tagName.toLowerCase()&&browser.webkit&&setTimeout(function(){var e=g[0].currentSrc+"?"+floor(3e4*random());g[0].currentSrc=e,g[0].src=e}),g},ogpRecognition:function(e,t){var o=this,i=e.URL;o.showLoader(),doAjax(i,function(e){if(o.hideLoader(),e){var i=new Object;if(i.length=!1,i.url=e.url,200==e.status){for(var n=e.results,a=n.type,r=n.source,s=n.url.substring(n.url.indexOf("?")+1).split("&"),l=r.src,c=0;c<s.length;++c)-1===l.indexOf(s[c])&&(l+="&"+s[c]);i.source=l,i.width=r.width&&parseInt(r.width)||0,i.height=r.height&&parseInt(r.height)||0,i.type=a,i.thumbnail=r.thumbnail||n.images[0],i.html5video=n.html5video||{},i.length=!0,"application/x-shockwave-flash"==r.type?i.type="flash":-1!=r.type.indexOf("video/")?i.type="video":-1!=r.type.indexOf("/html")?i.type="iframe":-1!=r.type.indexOf("image/")&&(i.type="image")}else if(void 0!==e.response)throw e.response;t.call(this,!!i.length&&i)}})},hashChangeHandler:function(e){var t=this,o=t.vars,i=t.options,n=parseURI(e||window.location.href).hash,a=n.split("/"),r=a[1];if(!(o.hashLock||"#"+i.linkId!=a[0]&&n.length>1))if(r){var s=a[1]||0;if(t.items[s])(l=$(".ilightbox-overlay")).length&&l.attr("linkid")==i.linkId?t.goTo(s):t.itemsObject[s].trigger(supportTouch?"click itap":"click");else(l=$(".ilightbox-overlay")).length&&t.closeAction()}else{var l;(l=$(".ilightbox-overlay")).length&&t.closeAction()}}},$.fn.iLightBox=function(){var e=arguments,t=$.isPlainObject(e[0])?e[0]:e[1],o=Array.isArray(e[0])||"string"==typeof e[0]?e[0]:e[1];t||(t={});var i=$.extend(!0,{attr:"href",path:"vertical",skin:"dark",linkId:!1,infinite:!1,startFrom:0,randomStart:!1,keepAspectRatio:!0,maxScale:1,minScale:.2,innerToolbar:!1,smartRecognition:!1,mobileOptimizer:!0,fullAlone:!0,fullViewPort:null,fullStretchTypes:"flash, video",overlay:{blur:!0,opacity:.85},controls:{arrows:!1,slideshow:!1,toolbar:!0,fullscreen:!0,thumbnail:!0,keyboard:!0,mousewheel:!0,swipe:!0},keyboard:{left:!0,right:!0,up:!0,down:!0,esc:!0,shift_enter:!0},show:{effect:!0,speed:300,title:!0},hide:{effect:!0,speed:300},caption:{start:!0,show:"mouseenter",hide:"mouseleave"},social:{start:!0,show:"mouseenter",hide:"mouseleave",buttons:!1},styles:{pageOffsetX:0,pageOffsetY:0,nextOffsetX:45,nextOffsetY:0,nextOpacity:1,nextScale:1,prevOffsetX:45,prevOffsetY:0,prevOpacity:1,prevScale:1},thumbnails:{maxWidth:120,maxHeight:80,normalOpacity:1,activeOpacity:.6},effects:{reposition:!0,repositionSpeed:200,switchSpeed:500,loadedFadeSpeed:180,fadeSpeed:200},slideshow:{pauseTime:5e3,pauseOnHover:!1,startPaused:!0},text:{close:"Press Esc to close",enterFullscreen:"Enter Fullscreen (Shift+Enter)",exitFullscreen:"Exit Fullscreen (Shift+Enter)",slideShow:"Slideshow",next:"Next",previous:"Previous"},errors:{loadImage:"An error occurred when trying to load photo.",loadContents:"An error occurred when trying to load contents.",missingPlugin:"The content your are attempting to view requires the <a href='{pluginspage}' role='button' target='_blank'>{type} plugin</a>."},ajaxSetup:{url:"",beforeSend:function(e,t){},cache:!1,complete:function(e,t){},crossDomain:!1,error:function(e,t,o){},success:function(e,t,o){},global:!0,ifModified:!1,username:null,password:null,type:"GET"},callback:{}},t),n=!(!Array.isArray(o)&&"string"!=typeof o);if(o=Array.isArray(o)?o:new Array,"string"==typeof e[0]&&(o[0]=e[0]),version_compare($.fn.jquery,"1.8",">=")){var a=new iLightBox($(this),i,o,n);return{close:function(){a.closeAction()},fullscreen:function(){a.fullScreenAction()},moveNext:function(){a.moveTo("next")},movePrev:function(){a.moveTo("prev")},goTo:function(e){a.goTo(e)},refresh:function(){a.refresh()},reposition:function(){arguments.length>0?a.repositionPhoto(!0):a.repositionPhoto()},setOption:function(e){a.setOption(e)},destroy:function(){a.closeAction(),$win.off("iLightBoxHashChange"),a.dispatchItemsEvents()}}}throw"The jQuery version that was loaded is too old. iLightBox requires jQuery 1.8+"},$.iLightBox=function(){return $.fn.iLightBox(arguments[0],arguments[1])},$.extend($.easing,{easeInCirc:function(e,t,o,i,n){return-i*(sqrt(1-(t/=n)*t)-1)+o},easeOutCirc:function(e,t,o,i,n){return i*sqrt(1-(t=t/n-1)*t)+o},easeInOutCirc:function(e,t,o,i,n){return(t/=n/2)<1?-i/2*(sqrt(1-t*t)-1)+o:i/2*(sqrt(1-(t-=2)*t)+1)+o}}),function(){$.each("touchstart touchmove touchend tap taphold swipeleft swiperight scrollstart scrollstop".split(" "),function(e,t){$.fn[t]=function(e){return e?this.on(t,e):this.trigger(t)}});var e="touchstart.iTap",t="touchend.iTap";$.event.special.itap={setup:function(){var o,i,n=this,a=$(this);a.on(e,function(e){o=getScrollXY(),a.one(t,function(e){i=getScrollXY();var t=e||window.event;(e=$.event.fix(t)).type="itap",o&&i&&o.x==i.x&&o.y==i.y&&($.event.dispatch||$.event.handle).call(n,e),o=i=undefined})})},teardown:function(){$(this).off(e)}}}(),function(){if(fullScreenApi={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},browserPrefixes="webkit moz o ms khtml".split(" "),void 0!==document.cancelFullScreen)fullScreenApi.supportsFullScreen=!0;else for(var e=0,t=browserPrefixes.length;e<t;e++)if(fullScreenApi.prefix=browserPrefixes[e],void 0!==document[fullScreenApi.prefix+"CancelFullScreen"]){fullScreenApi.supportsFullScreen=!0;break}fullScreenApi.supportsFullScreen&&(fullScreenApi.fullScreenEventName=fullScreenApi.prefix+"fullscreenchange",fullScreenApi.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},fullScreenApi.requestFullScreen=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},fullScreenApi.cancelFullScreen=function(e){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()})}(),function(){var e=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}(navigator.userAgent);browser={},e.browser&&(browser[e.browser]=!0,browser.version=e.version),browser.chrome?browser.webkit=!0:browser.webkit&&(browser.safari=!0)}(),function(){var e=["","webkit","moz","ms","o"],t=document.createElement("div");function o(o){for(var i=0,n=e.length;i<n;i++){var a=e[i]?e[i]+o.charAt(0).toUpperCase()+o.slice(1):o;if(t.style[a]!==undefined)return a}}transform=o("transform")||"",gpuAcceleration=o("perspective")?"translateZ(0) ":""}();var PluginDetect={version:"0.7.9",name:"PluginDetect",handler:function(e,t,o){return function(){e(t,o)}},openTag:"<",isDefined:function(e){return void 0!==e},isArray:function(e){return/array/i.test(Object.prototype.toString.call(e))},isFunc:function(e){return"function"==typeof e},isString:function(e){return"string"==typeof e},isNum:function(e){return"number"==typeof e},isStrNum:function(e){return"string"==typeof e&&/\d/.test(e)},getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(e,t){var o=this,i=o.isStrNum(e)?(o.isDefined(t)?new RegExp(t):o.getNumRegx).exec(e):null;return i?i[0]:null},compareNums:function(e,t,o){var i,n,a,r=this,s=parseInt;if(r.isStrNum(e)&&r.isStrNum(t)){if(r.isDefined(o)&&o.compareNums)return o.compareNums(e,t);for(i=e.split(r.splitNumRegx),n=t.split(r.splitNumRegx),a=0;a<min(i.length,n.length);a++){if(s(i[a],10)>s(n[a],10))return 1;if(s(i[a],10)<s(n[a],10))return-1}}return 0},formatNum:function(e,t){var o,i,n=this;if(!n.isStrNum(e))return null;for(n.isNum(t)||(t=4),t--,i=e.replace(/\s/g,"").split(n.splitNumRegx).concat(["0","0","0","0"]),o=0;o<4;o++)/^(0+)(.+)$/.test(i[o])&&(i[o]=RegExp.$2),(o>t||!/\d/.test(i[o]))&&(i[o]="0");return i.slice(0,4).join(",")},$$hasMimeType:function(e){return function(t){if(!e.isIE&&t){var o,i,n,a=e.isArray(t)?t:e.isString(t)?[t]:[];for(n=0;n<a.length;n++)if(e.isString(a[n])&&/[^\s]/.test(a[n])&&(i=(o=navigator.mimeTypes[a[n]])?o.enabledPlugin:0)&&(i.name||i.description))return o}return null}},findNavPlugin:function(e,t,o){var i,n,a,r=new RegExp(e,"i"),s=!this.isDefined(t)||t?/\d/:0,l=o?new RegExp(o,"i"):0,c=navigator.plugins;for(i=0;i<c.length;i++)if(a=c[i].description||"",n=c[i].name||"",(r.test(a)&&(!s||s.test(RegExp.leftContext+RegExp.rightContext))||r.test(n)&&(!s||s.test(RegExp.leftContext+RegExp.rightContext)))&&(!l||!l.test(a)&&!l.test(n)))return c[i];return null},getMimeEnabledPlugin:function(e,t,o){var i,n,a,r,s=new RegExp(t,"i"),l=o?new RegExp(o,"i"):0,c=this.isString(e)?[e]:e;for(r=0;r<c.length;r++)if((i=this.hasMimeType(c[r]))&&(i=i.enabledPlugin)&&(a=i.description||"",n=i.name||"",(s.test(a)||s.test(n))&&(!l||!l.test(a)&&!l.test(n))))return i;return 0},getPluginFileVersion:function(e,t){var o,i,n,a,r=this,s=-1;if(r.OS>2||!e||!e.version||!(o=r.getNum(e.version)))return t;if(!t)return o;for(o=r.formatNum(o),i=(t=r.formatNum(t)).split(r.splitNumRegx),n=o.split(r.splitNumRegx),a=0;a<i.length;a++){if(s>-1&&a>s&&"0"!=i[a])return t;if(n[a]!=i[a]&&(-1==s&&(s=a),"0"!=i[a]))return t}return o},AXO:window.ActiveXObject,getAXO:function(e){var t=null;try{t=new this.AXO(e)}catch(e){}return t},convertFuncs:function(e){var t,o,i=/^[\$][\$]/;for(t in e)if(i.test(t))try{(o=t.slice(2)).length>0&&!e[o]&&(e[o]=e[t](e),delete e[t])}catch(e){}},initObj:function(e,t,o){var i,n;if(e){if(1==e[t[0]]||o)for(i=0;i<t.length;i+=2)e[t[i]]=t[i+1];for(i in e)(n=e[i])&&1==n[t[0]]&&this.initObj(n,t)}},initScript:function(){var e=this,t=navigator,o=document,i=t.userAgent||"",n=t.vendor||"",a=t.platform||"",r=t.product||"";for(u in e.initObj(e,["$",e]),e.Plugins)e.Plugins[u]&&e.initObj(e.Plugins[u],["$",e,"$$",e.Plugins[u]],1);if(e.convertFuncs(e),e.OS=100,a){var s=["Win",1,"Mac",2,"Linux",3,"FreeBSD",4,"iPhone",21.1,"iPod",21.2,"iPad",21.3,"Win.*CE",22.1,"Win.*Mobile",22.2,"Pocket\\s*PC",22.3,"",100];for(u=s.length-2;u>=0;u-=2)if(s[u]&&new RegExp(s[u],"i").test(a)){e.OS=s[u+1];break}}if(e.head=o.getElementsByTagName("head")[0]||o.getElementsByTagName("body")[0]||o.body||null,e.isIE=new Function("return/*@cc_on!@*/!1")(),e.verIE=e.isIE&&/MSIE\s*(\d+\.?\d*)/i.test(i)?parseFloat(RegExp.$1,10):null,e.verIEfull=null,e.docModeIE=null,e.isIE){var l,c=document.createElement("div");try{c.style.behavior="url(#default#clientcaps)",e.verIEfull=c.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid").replace(/,/g,".")}catch(e){}l=parseFloat(e.verIEfull||"0",10),e.docModeIE=o.documentMode||(/back/i.test(o.compatMode||"")?5:l)||e.verIE,e.verIE=l||e.docModeIE}if(e.ActiveXEnabled=!1,e.isIE){var u,h=["Msxml2.XMLHTTP","Msxml2.DOMDocument","Microsoft.XMLDOM","ShockwaveFlash.ShockwaveFlash","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary","wmplayer.ocx"];for(u=0;u<h.length;u++)if(e.getAXO(h[u])){e.ActiveXEnabled=!0;break}}e.isGecko=/Gecko/i.test(r)&&/Gecko\s*\/\s*\d/i.test(i),e.verGecko=e.isGecko?e.formatNum(/rv\s*\:\s*([\.\,\d]+)/i.test(i)?RegExp.$1:"0.9"):null,e.isChrome=/Chrome\s*\/\s*(\d[\d\.]*)/i.test(i),e.verChrome=e.isChrome?e.formatNum(RegExp.$1):null,e.isSafari=(/Apple/i.test(n)||!n&&!e.isChrome)&&/Safari\s*\/\s*(\d[\d\.]*)/i.test(i),e.verSafari=e.isSafari&&/Version\s*\/\s*(\d[\d\.]*)/i.test(i)?e.formatNum(RegExp.$1):null,e.isOpera=/Opera\s*[\/]?\s*(\d+\.?\d*)/i.test(i),e.verOpera=e.isOpera&&(/Version\s*\/\s*(\d+\.?\d*)/i.test(i),1)?parseFloat(RegExp.$1,10):null,e.addWinEvent("load",e.handler(e.runWLfuncs,e))},init:function(e){var t,o=this,i={status:-3,plugin:0};return o.isString(e)?1==e.length?(o.getVersionDelimiter=e,i):(e=e.toLowerCase().replace(/\s/g,""),(t=o.Plugins[e])&&t.getVersion?(i.plugin=t,o.isDefined(t.installed)||(t.installed=null,t.version=null,t.version0=null,t.getVersionDone=null,t.pluginName=e),o.garbage=!1,o.isIE&&!o.ActiveXEnabled&&"java"!==e?(i.status=-2,i):(i.status=1,i)):i):i},fPush:function(e,t){var o=this;o.isArray(t)&&(o.isFunc(e)||o.isArray(e)&&e.length>0&&o.isFunc(e[0]))&&t.push(e)},callArray:function(e){var t;if(this.isArray(e))for(t=0;t<e.length;t++){if(null===e[t])return;this.call(e[t]),e[t]=null}},call:function(e){var t=this,o=t.isArray(e)?e.length:-1;o>0&&t.isFunc(e[0])?e[0](t,o>1?e[1]:0,o>2?e[2]:0,o>3?e[3]:0):t.isFunc(e)&&e(t)},getVersionDelimiter:",",$$getVersion:function(e){return function(t,o,i){var n,a,r=e.init(t);return r.status<0?null:(1!=(n=r.plugin).getVersionDone&&(n.getVersion(null,o,i),null===n.getVersionDone&&(n.getVersionDone=1)),e.cleanup(),a=(a=n.version||n.version0)?a.replace(e.splitNumRegx,e.getVersionDelimiter):a)}},cleanup:function(){this.garbage&&this.isDefined(window.CollectGarbage)&&window.CollectGarbage()},isActiveXObject:function(e,t){var o=this,i=!1,n='<object width="1" height="1" style="display:none" '+e.getCodeBaseVersion(t)+">"+e.HTML+o.openTag+"/object>";if(!o.head)return i;o.head.insertBefore(document.createElement("object"),o.head.firstChild),o.head.firstChild.outerHTML=n;try{o.head.firstChild.classid=e.classID}catch(e){}try{o.head.firstChild.object&&(i=!0)}catch(e){}try{i&&o.head.firstChild.readyState<4&&(o.garbage=!0)}catch(e){}return o.head.removeChild(o.head.firstChild),i},codebaseSearch:function(e,t){var o=this;if(!o.ActiveXEnabled||!e)return null;e.BIfuncs&&e.BIfuncs.length&&null!==e.BIfuncs[e.BIfuncs.length-1]&&o.callArray(e.BIfuncs);var i,n=e.SEARCH;if(o.isStrNum(t))return!!(n.match&&n.min&&o.compareNums(t,n.min)<=0)||!(n.match&&n.max&&o.compareNums(t,n.max)>=0)&&((i=o.isActiveXObject(e,t))&&(!n.min||o.compareNums(t,n.min)>0)&&(n.min=t),i||n.max&&!(o.compareNums(t,n.max)<0)||(n.max=t),i);var a,r,s,l,c,u=[0,0,0,0],h=[].concat(n.digits),d=n.min?1:0,p=function(t,i){var n=[].concat(u);return n[t]=i,o.isActiveXObject(e,n.join(","))};if(n.max){for(l=n.max.split(o.splitNumRegx),a=0;a<l.length;a++)l[a]=parseInt(l[a],10);l[0]<h[0]&&(h[0]=l[0])}if(n.min){for(c=n.min.split(o.splitNumRegx),a=0;a<c.length;a++)c[a]=parseInt(c[a],10);c[0]>u[0]&&(u[0]=c[0])}if(c&&l)for(a=1;a<c.length&&c[a-1]==l[a-1];a++)l[a]<h[a]&&(h[a]=l[a]),c[a]>u[a]&&(u[a]=c[a]);if(n.max)for(a=1;a<h.length;a++)if(l[a]>0&&0==h[a]&&h[a-1]<n.digits[a-1]){h[a-1]+=1;break}for(a=0;a<h.length;a++){for(s={},r=0;r<20&&!(h[a]-u[a]<1)&&!s["a"+(i=round((h[a]+u[a])/2))];r++)s["a"+i]=1,p(a,i)?(u[a]=i,d=1):h[a]=i;if(h[a]=u[a],!d&&p(a,u[a])&&(d=1),!d)break}return d?u.join(","):null},addWinEvent:function(e,t){var o,i=window;this.isFunc(t)&&(i.addEventListener?i.addEventListener(e,t,!1):i.attachEvent?i.attachEvent("on"+e,t):(o=i["on"+e],i["on"+e]=this.winHandler(t,o)))},winHandler:function(e,t){return function(){e(),"function"==typeof t&&t()}},WLfuncs0:[],WLfuncs:[],runWLfuncs:function(e){e.winLoaded=!0,e.callArray(e.WLfuncs0),e.callArray(e.WLfuncs),e.onDoneEmptyDiv&&e.onDoneEmptyDiv()},winLoaded:!1,$$onWindowLoaded:function(e){return function(t){e.winLoaded?e.call(t):e.fPush(t,e.WLfuncs)}},div:null,divID:"plugindetect",divWidth:50,pluginSize:1,emptyDiv:function(){var e,t,o,i,n,a=this;if(a.div&&a.div.childNodes)for(e=a.div.childNodes.length-1;e>=0;e--){if((o=a.div.childNodes[e])&&o.childNodes)for(t=o.childNodes.length-1;t>=0;t--){n=o.childNodes[t];try{o.removeChild(n)}catch(e){}}if(o)try{a.div.removeChild(o)}catch(e){}}if(a.div||(i=document.getElementById(a.divID))&&(a.div=i),a.div&&a.div.parentNode){try{a.div.parentNode.removeChild(a.div)}catch(e){}a.div=null}},DONEfuncs:[],onDoneEmptyDiv:function(){var e,t,o=this;if(o.winLoaded&&(!o.WLfuncs||!o.WLfuncs.length||null===o.WLfuncs[o.WLfuncs.length-1])){for(e in o)if((t=o[e])&&t.funcs){if(3==t.OTF)return;if(t.funcs.length&&null!==t.funcs[t.funcs.length-1])return}for(e=0;e<o.DONEfuncs.length;e++)o.callArray(o.DONEfuncs);o.emptyDiv()}},getWidth:function(e){if(e){var t=e.scrollWidth||e.offsetWidth;if(this.isNum(t))return t}return-1},getTagStatus:function(e,t,o,i){var n=this,a=e.span,r=n.getWidth(a),s=o.span,l=n.getWidth(s),c=t.span,u=n.getWidth(c);if(!(a&&s&&c&&n.getDOMobj(e)))return-2;if(l<u||r<0||l<0||u<0||u<=n.pluginSize||n.pluginSize<1)return 0;if(r>=u)return-1;try{if(r==n.pluginSize&&(!n.isIE||4==n.getDOMobj(e).readyState)){if(!e.winLoaded&&n.winLoaded)return 1;if(e.winLoaded&&n.isNum(i)&&(n.isNum(e.count)||(e.count=i),i-e.count>=10))return 1}}catch(e){}return 0},getDOMobj:function(e,t){var o=e?e.span:0,i=o&&o.firstChild?1:0;try{i&&t&&this.div.focus()}catch(e){}return i?o.firstChild:null},setStyle:function(e,t){var o,i=e.style;if(i&&t)for(o=0;o<t.length;o+=2)try{i[t[o]]=t[o+1]}catch(e){}},insertDivInBody:function(e,t){var o="pd33993399",i=null,n=t?window.top.document:window.document,a=n.getElementsByTagName("body")[0]||n.body;if(!a)try{n.write('<div id="'+o+'">.'+this.openTag+"/div>"),i=n.getElementById(o)}catch(e){}(a=n.getElementsByTagName("body")[0]||n.body)&&(a.insertBefore(e,a.firstChild),i&&a.removeChild(i))},insertHTML:function(e,t,o,i,n){var a,r,s,l=document,c=this,u=l.createElement("span"),h=["outlineStyle","none","borderStyle","none","padding","0px","margin","0px","visibility","visible"];if(c.isDefined(i)||(i=""),c.isString(e)&&/[^\s]/.test(e)){for(e=e.toLowerCase().replace(/\s/g,""),a=c.openTag+e+' width="'+c.pluginSize+'" height="'+c.pluginSize+'" ',a+='style="outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;display:inline;" ',r=0;r<t.length;r+=2)/[^\s]/.test(t[r+1])&&(a+=t[r]+'="'+t[r+1]+'" ');for(a+=">",r=0;r<o.length;r+=2)/[^\s]/.test(o[r+1])&&(a+=c.openTag+'param name="'+o[r]+'" value="'+o[r+1]+'" />');a+=i+c.openTag+"/"+e+">"}else a=i;if(c.div||((s=l.getElementById(c.divID))?c.div=s:(c.div=l.createElement("div"),c.div.id=c.divID),c.setStyle(c.div,h.concat(["width",c.divWidth+"px","height",c.pluginSize+3+"px","fontSize",c.pluginSize+3+"px","lineHeight",c.pluginSize+3+"px","verticalAlign","baseline","display","block"])),s||(c.setStyle(c.div,["position","absolute","right","0px","top","0px"]),c.insertDivInBody(c.div))),c.div&&c.div.parentNode){c.setStyle(u,h.concat(["fontSize",c.pluginSize+3+"px","lineHeight",c.pluginSize+3+"px","verticalAlign","baseline","display","inline"]));try{u.innerHTML=a}catch(e){}try{c.div.appendChild(u)}catch(e){}return{span:u,winLoaded:c.winLoaded,tagName:e,outerHTML:a}}return{span:null,winLoaded:c.winLoaded,tagName:"",outerHTML:a}},Plugins:{quicktime:{mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:'<param name="src" value="" /><param name="controller" value="false" />',getCodeBaseVersion:function(e){return'codebase="#version='+e+'"'},SEARCH:{min:0,max:0,match:0,digits:[16,128,128,0]},getVersion:function(e){var t,o=this,i=o.$,n=null,a=null;if(i.isIE){if(i.isStrNum(e)&&((t=e.split(i.splitNumRegx)).length>3&&parseInt(t[3],10)>0&&(t[3]="9999"),e=t.join(",")),i.isStrNum(e)&&i.verIE>=o.minIEver&&o.canUseIsMin()>0)return o.installed=o.isMin(e),void(o.getVersionDone=0);o.getVersionDone=1,!n&&i.verIE>=o.minIEver&&(n=o.CDBASE2VER(i.codebaseSearch(o))),n||(a=i.getAXO(o.progID))&&a.QuickTimeVersion&&(n=a.QuickTimeVersion.toString(16),n=parseInt(n.charAt(0),16)+"."+parseInt(n.charAt(1),16)+"."+parseInt(n.charAt(2),16))}else i.hasMimeType(o.mimeType)&&(a=3!=i.OS?i.findNavPlugin("QuickTime.*Plug-?in",0):null)&&a.name&&(n=i.getNum(a.name));o.installed=n?1:a?0:-1,o.version=i.formatNum(n,3)},cdbaseUpper:["7,60,0,0","0,0,0,0"],cdbaseLower:["7,50,0,0",null],cdbase2ver:[function(e,t){var o=t.split(e.$.splitNumRegx);return[o[0],o[1].charAt(0),o[1].charAt(1),o[2]].join(",")},null],CDBASE2VER:function(e){var t,o=this,i=o.$,n=o.cdbaseUpper,a=o.cdbaseLower;if(e)for(e=i.formatNum(e),t=0;t<n.length;t++)if(n[t]&&i.compareNums(e,n[t])<0&&a[t]&&i.compareNums(e,a[t])>=0&&o.cdbase2ver[t])return o.cdbase2ver[t](o,e);return e},canUseIsMin:function(){var e,t=this,o=t.$,i=t.canUseIsMin,n=t.cdbaseUpper,a=t.cdbaseLower;if(!i.value)for(i.value=-1,e=0;e<n.length;e++){if(n[e]&&o.codebaseSearch(t,n[e])){i.value=1;break}if(a[e]&&o.codebaseSearch(t,a[e])){i.value=-1;break}}return t.SEARCH.match=1==i.value?1:0,i.value},isMin:function(e){return this.$.codebaseSearch(this,e)?.7:-1}},flash:{mimeType:"application/x-shockwave-flash",progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var e,t,o,i,n=function(e){if(!e)return null;var t=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(e);return t?t[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null},a=this,r=a.$,s=null,l=null,c=null;if(r.isIE){for(e=15;e>2;e--)if(l=r.getAXO(a.progID+"."+e)){c=e.toString();break}if(l||(l=r.getAXO(a.progID)),"6"==c)try{l.AllowScriptAccess="always"}catch(e){return"6,0,21,0"}try{s=n(l.GetVariable("$version"))}catch(e){}!s&&c&&(s=c)}else{if(o=r.hasMimeType(a.mimeType)){t=r.getDOMobj(r.insertHTML("object",["type",a.mimeType],[],"",a));try{s=r.getNum(t.GetVariable("$version"))}catch(e){}}s||((i=o?o.enabledPlugin:null)&&i.description&&(s=n(i.description)),s&&(s=r.getPluginFileVersion(i,s)))}return a.installed=s?1:-1,a.version=r.formatNum(s),!0}},shockwave:{mimeType:"application/x-director",progID:"SWCtl.SWCtl",classID:"clsid:166B1BCA-3F9C-11CF-8075-444553540000",getVersion:function(){var e,t=null,o=null,i=this,n=i.$;if(n.isIE){try{o=n.getAXO(i.progID).ShockwaveVersion("")}catch(e){}n.isString(o)&&o.length>0?t=n.getNum(o):n.getAXO(i.progID+".8")?t="8":n.getAXO(i.progID+".7")?t="7":n.getAXO(i.progID+".1")&&(t="6")}else(e=n.findNavPlugin("Shockwave\\s*for\\s*Director"))&&e.description&&n.hasMimeType(i.mimeType)&&(t=n.getNum(e.description)),t&&(t=n.getPluginFileVersion(e,t));i.installed=t?1:-1,i.version=n.formatNum(t)}},zz:0}};PluginDetect.initScript();var gArgCountErr='The "%%" function requires an even number of arguments.\nArguments should be in the form "atttributeName", "attributeValue", ...',gTagAttrs=null,gQTGeneratorVersion=1;function AC_QuickTimeVersion(){return gQTGeneratorVersion}function _QTComplain(e,t){t=t.replace("%%",e),alert(t)}function _QTAddAttribute(e,t,o){var i;return null==(i=gTagAttrs[e+t])&&(i=gTagAttrs[t]),null!=i?(0==t.indexOf(e)&&null==o&&(o=t.substring(e.length)),null==o&&(o=t),o+'="'+i+'" '):""}function _QTAddObjectAttr(e,t){return 0==e.indexOf("emb#")?"":(0==e.indexOf("obj#")&&null==t&&(t=e.substring(4)),_QTAddAttribute("obj#",e,t))}function _QTAddEmbedAttr(e,t){return 0==e.indexOf("obj#")?"":(0==e.indexOf("emb#")&&null==t&&(t=e.substring(4)),_QTAddAttribute("emb#",e,t))}function _QTAddObjectParam(e,t){var o,i="",n=t?" />":">";return-1==e.indexOf("emb#")&&(null==(o=gTagAttrs["obj#"+e])&&(o=gTagAttrs[e]),0==e.indexOf("obj#")&&(e=e.substring(4)),null!=o&&(i='  <param name="'+e+'" value="'+o+'"'+n+"\n")),i}function _QTDeleteTagAttrs(){for(var e=0;e<arguments.length;e++){var t=arguments[e];delete gTagAttrs[t],delete gTagAttrs["emb#"+t],delete gTagAttrs["obj#"+t]}}function _QTGenerate(e,t,o){if(4>o.length||0!=o.length%2)return _QTComplain(e,gArgCountErr),"";(gTagAttrs=[]).src=o[0],gTagAttrs.width=o[1],gTagAttrs.height=o[2],gTagAttrs.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",gTagAttrs.pluginspage="http://www.apple.com/quicktime/download/",null!=(e=o[3])&&""!=e||(e="6,0,2,0"),gTagAttrs.codebase="http://www.apple.com/qtactivex/qtplugin.cab#version="+e;for(var i,n=4;n<o.length;n+=2)i=o[n].toLowerCase(),e=o[n+1],"name"==i||"id"==i?gTagAttrs.name=e:gTagAttrs[i]=e;for(i in o="<object "+_QTAddObjectAttr("classid")+_QTAddObjectAttr("width")+_QTAddObjectAttr("height")+_QTAddObjectAttr("codebase")+_QTAddObjectAttr("name","id")+_QTAddObjectAttr("tabindex")+_QTAddObjectAttr("hspace")+_QTAddObjectAttr("vspace")+_QTAddObjectAttr("border")+_QTAddObjectAttr("align")+_QTAddObjectAttr("class")+_QTAddObjectAttr("title")+_QTAddObjectAttr("accesskey")+_QTAddObjectAttr("noexternaldata")+">\n"+_QTAddObjectParam("src",t),n="  <embed "+_QTAddEmbedAttr("src")+_QTAddEmbedAttr("width")+_QTAddEmbedAttr("height")+_QTAddEmbedAttr("pluginspage")+_QTAddEmbedAttr("name")+_QTAddEmbedAttr("align")+_QTAddEmbedAttr("tabindex"),_QTDeleteTagAttrs("src","width","height","pluginspage","classid","codebase","name","tabindex","hspace","vspace","border","align","noexternaldata","class","title","accesskey"),gTagAttrs)null!=(e=gTagAttrs[i])&&(n+=_QTAddEmbedAttr(i),o+=_QTAddObjectParam(i,t));return o+n+"> </embed>\n</object>"}function QT_GenerateOBJECTText(){return _QTGenerate("QT_GenerateOBJECTText",!1,arguments)}!function(){function e(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var t,o=document,i=$.event.special,n=o.documentMode,a="oniLightBoxHashChange"in window&&(void 0===n||7<n);$.fn.iLightBoxHashChange=function(e){return e?this.on("iLightBoxHashChange",e):this.trigger("iLightBoxHashChange")},$.fn.iLightBoxHashChange.delay=50,i.iLightBoxHashChange=$.extend(i.iLightBoxHashChange,{setup:function(){if(a)return!1;$(t.start)},teardown:function(){if(a)return!1;$(t.stop)}}),t=function(){function t(){var o=e(),n=h(l);o!==l?(u(l=o,n),$(window).trigger("iLightBoxHashChange")):n!==l&&(location.href=location.href.replace(/#.*/,"")+n),i=setTimeout(t,$.fn.iLightBoxHashChange.delay)}var i,n,r,s={},l=e(),c=function(e){return e},u=c,h=c;return s.start=function(){i||t()},s.stop=function(){i&&clearTimeout(i),i=void 0},browser.msie&&!a&&(s.start=function(){n||(r=(r=$.fn.iLightBoxHashChange.src)&&r+e(),n=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||u(e()),t()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow,o.onpropertychange=function(){try{"title"===event.propertyName&&(n.document.title=o.title)}catch(e){}})},s.stop=c,h=function(){return e(n.location.href)},u=function(e,t){var i=n.document,a=$.fn.iLightBoxHashChange.domain;e!==t&&(i.title=o.title,i.open(),a&&i.write('<script>document.domain="'+a+'"<\/script>'),i.close(),n.location.hash=e)}),s}()}(),Array.prototype.filter||(Array.prototype.filter=function(e){"use strict";if(null==this)throw new TypeError;var t=Object(this),o=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var i=[],n=arguments[1],a=0;a<o;a++)if(a in t){var r=t[a];e.call(n,r,a,t)&&i.push(r)}return i}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var o;if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),n=i.length>>>0;if(0===n)return-1;var a=+t||0;if(abs(a)===1/0&&(a=0),a>=n)return-1;for(o=max(a>=0?a:n-abs(a),0);o<n;){if(o in i&&i[o]===e)return o;o++}return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){"use strict";if(null==this)throw new TypeError;var t=Object(this),o=t.length>>>0;if(0===o)return-1;var i=o;arguments.length>1&&((i=Number(arguments[1]))!=i?i=0:0!=i&&i!=1/0&&i!=-1/0&&(i=(i>0||-1)*floor(abs(i))));for(var n=i>=0?min(i,o-1):o-abs(i);n>=0;n--)if(n in t&&t[n]===e)return n;return-1})}(jQuery,this);
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var s=n.length;s;)e.event.fixHooks[n[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],h,!1);else this.onmousewheel=h;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],h,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function h(n){var o,s=n||window.event,h=l.call(arguments,1),f=0,d=0,c=0,m=0,g=0;if((n=e.event.fix(s)).type="mousewheel","detail"in s&&(c=-1*s.detail),"wheelDelta"in s&&(c=s.wheelDelta),"wheelDeltaY"in s&&(c=s.wheelDeltaY),"wheelDeltaX"in s&&(d=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(d=-1*c,c=0),f=0===c?d:c,"deltaY"in s&&(f=c=-1*s.deltaY),"deltaX"in s&&(d=s.deltaX,0===c&&(f=-1*d)),0!==c||0!==d){if(1===s.deltaMode){var w=e.data(this,"mousewheel-line-height");f*=w,c*=w,d*=w}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");f*=v,c*=v,d*=v}if(o=Math.max(Math.abs(c),Math.abs(d)),(!i||o<i)&&(i=o,u(s,o)&&(i/=40)),u(s,o)&&(f/=40,d/=40,c/=40),f=Math[f>=1?"floor":"ceil"](f/i),d=Math[d>=1?"floor":"ceil"](d/i),c=Math[c>=1?"floor":"ceil"](c/i),a.settings.normalizeOffset&&this.getBoundingClientRect){var p=this.getBoundingClientRect();m=n.clientX-p.left,g=n.clientY-p.top}return n.deltaX=d,n.deltaY=c,n.deltaFactor=i,n.offsetX=m,n.offsetY=g,n.deltaMode=0,h.unshift(n,f,d,c),t&&clearTimeout(t),t=setTimeout(r,200),(e.event.dispatch||e.event.handle).apply(this,h)}}function r(){i=null}function u(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})});
!function(e,a,t){var l,r,o="placeholder"in a.createElement("input"),d="placeholder"in a.createElement("textarea"),c=t.fn,i=t.valHooks,h=t.propHooks;function n(e,a){var l=t(this);if(this.value==l.attr("placeholder")&&l.hasClass("placeholder"))if(l.data("placeholder-password")){if(l=l.hide().next().show().attr("id",l.removeAttr("id").data("placeholder-id")),!0===e)return l[0].value=a;l.focus()}else this.value="",l.removeClass("placeholder"),this==u()&&this.select()}function s(){var e,a,l,r,o=t(this),d=this.id;if(""==this.value){if("password"==this.type){if(!o.data("placeholder-textinput")){try{e=o.clone().attr({type:"text"})}catch(o){e=t("<input>").attr(t.extend((a=this,l={},r=/^jQuery\d+$/,t.each(a.attributes,function(e,a){a.specified&&!r.test(a.name)&&(l[a.name]=a.value)}),l),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":o,"placeholder-id":d}).bind("focus.placeholder",n),o.data({"placeholder-textinput":e,"placeholder-id":d}).before(e)}o=o.removeAttr("id").hide().prev().attr("id",d).show()}o.addClass("placeholder"),o[0].value=o.attr("placeholder")}else o.removeClass("placeholder")}function u(){try{return a.activeElement}catch(e){}}o&&d?(r=c.placeholder=function(){return this}).input=r.textarea=!0:((r=c.placeholder=function(){return this.filter((o?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":n,"blur.placeholder":s}).data("placeholder-enabled",!0).trigger("blur.placeholder"),this}).input=o,r.textarea=d,l={get:function(e){var a=t(e),l=a.data("placeholder-password");return l?l[0].value:a.data("placeholder-enabled")&&a.hasClass("placeholder")?"":e.value},set:function(e,a){var l=t(e),r=l.data("placeholder-password");return r?r[0].value=a:l.data("placeholder-enabled")?(""==a?(e.value=a,e!=u()&&s.call(e)):l.hasClass("placeholder")&&n.call(e,!0,a)||(e.value=a),l):e.value=a}},o||(i.input=l,h.value=l),d||(i.textarea=l,h.value=l),t(function(){t(a).delegate("form","submit.placeholder",function(){var e=t(".placeholder",this).each(n);setTimeout(function(){e.each(s)},10)})}),t(e).bind("beforeunload.placeholder",function(){t(".placeholder").each(function(){this.value=""})}))}(this,document,jQuery);
!function(t){"use strict";t.fn.fusionScroller=function(e){var f=t.extend({type:"opacity",offset:0,endOffset:""},e);t(this).each(function(){var e,i,r,o=this;t(window).on("scroll",function(){var s,l,p,c;e=t(o).offset().top,t("body").hasClass("admin-bar")&&(e=t(o).offset().top-t("#wpadminbar").outerHeight()),0<f.offset&&(e=t(o).offset().top-f.offset),i=t(o).outerHeight(),r=e+i,f.endOffset&&t(f.endOffset).length&&(r=t(f.endOffset).offset().top),(s=t(this).scrollTop())>=e&&s<=r&&(l=(r-s)/i*100,"opacity"===f.type?(p=l/100*1,t(o).css({opacity:p})):"blur"===f.type?(c="blur("+(l=100-l)/100*50+"px)",t(o).css({"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c})):"fading_blur"===f.type&&(p=l/100*1,c="blur("+(l=100-l)/100*50+"px)",t(o).css({"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c,opacity:p}))),s<e&&("opacity"===f.type?t(o).css({opacity:1}):"blur"===f.type?(c="blur(0px)",t(o).css({"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c})):"fading_blur"===f.type&&(c="blur(0px)",t(o).css({opacity:1,"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c})))})})}}(jQuery);
var fusionEqualHeightVars={"content_break_point":"800"};!function(t){"use strict";t.fn.equalHeights=function(i,n){var e,s=t(this).parents().find(".fusion-portfolio-wrapper"),o=t(this).closest(".fusion-row").hasClass("fusion-builder-row-inner")?".fusion-column-content-centered":".fusion-column-content-centered:not(.fusion-builder-row-inner .fusion-column-content-centered)";if(e=i=i||0,this.each(function(){t(this).css({"min-height":"0",height:"auto"}),t(this).find(o).css({"min-height":"0",height:"auto"})}),Modernizr.mq("only screen and (min-width: "+(parseInt(fusionEqualHeightVars.content_break_point,10)+1)+"px)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait)")){if(t(this).parents("#main").length&&t("body").hasClass("tax-portfolio_category"))return;return this.each(function(){e=Math.max(t(this).outerHeight(),e)}),n&&(e=Math.min(n,e)),this.each(function(){var i=e,n=t(this).find(o);0===parseInt(i,10)&&t(this).attr("data-empty-column","true"),n.length&&(i=e-(t(this).outerHeight()-t(this).height())),t(this).css("min-height",i),n.length&&n.css("min-height",i),t("body").hasClass("fusion-builder-live")&&!t(this).parent().hasClass("fusion-column-no-min-height")&&t(this).parent().is(":visible")&&t(this).parent().next(".fusion-column-spacer").height(i),cssua.ua.ie&&8<cssua.ua.ie&&n.css("height",i)})}s.data("isotope")&&!s.data("relayout")&&(s.isotope("layout"),s.data("relayout",!0))}}(jQuery);
var fusionVideoGeneralVars={"status_vimeo":"1","status_yt":"1"};var fusionTimeout=[],prevCallback=window.onYouTubePlayerAPIReady;function insertParam(e,t,i,o){var u,a,r,s,n,d,l;if(0<e.indexOf("#")?(u=e.indexOf("#"),a=e.substring(e.indexOf("#"),e.length)):(a="",u=e.length),s="",1<(r=e.substring(0,u).split("?")).length)for(n=r[1].split("&"),d=0;d<n.length;d++)(l=n[d].split("="))[0]!==t&&(""===s?s="?"+l[0]+"="+(l[1]?l[1]:""):(s+="&",s+=l[0]+"="+(l[1]?l[1]:"")));return""===s&&(s="?"),o?s="?"+t+"="+i+(1<s.length?"&"+s.substring(1):""):(""!==s&&"?"!==s&&(s+="&"),s+=t+"="+(i||"")),r[0]+s+a}function registerYoutubePlayers(e){Number(fusionVideoGeneralVars.status_yt)&&!0===window.yt_vid_exists&&(window.$youtube_players=[],jQuery(".tfs-slider").each(function(){var t=jQuery(this),i=t.find("[data-youtube-video-id]").find("iframe").length,o=!1;t.find("[data-youtube-video-id]").find("iframe").each(function(u){var a=jQuery(this);i===u+1&&void 0!==e&&(o=t.data("flexslider")),window.YTReady(function(){window.$youtube_players[a.attr("id")]=new YT.Player(a.attr("id"),{events:{onReady:onPlayerReady(a.parents("li"),o),onStateChange:onPlayerStateChange(a.attr("id"),t)}})})})}))}function loadYoutubeIframeAPI(){var e,t;Number(fusionVideoGeneralVars.status_yt)&&(!0===window.yt_vid_exists||jQuery("body").hasClass("fusion-builder-live"))&&((e=document.createElement("script")).src="https://www.youtube.com/iframe_api",(t=document.getElementsByTagName("script")[0]).parentNode.insertBefore(e,t))}function onYouTubePlayerAPIReadyCallback(){window.YTReady(!0)}function onPlayerStateChange(e,t){return function(e){e.data==YT.PlayerState.PLAYING&&jQuery(t).flexslider("pause"),e.data==YT.PlayerState.PAUSED&&jQuery(t).flexslider("play"),e.data==YT.PlayerState.BUFFERING&&jQuery(t).flexslider("pause"),e.data==YT.PlayerState.ENDED&&"1"==jQuery(t).data("autoplay")&&(void 0!==jQuery(t).find(".flex-active-slide").data("loop")&&"yes"!==jQuery(t).find(".flex-active-slide").data("loop")&&jQuery(t).flexslider("next"),jQuery(t).flexslider("play"))}}function onPlayerReady(e,t){return function(i){"yes"===jQuery(e).data("mute")&&i.target.mute(),t&&setTimeout(function(){playVideoAndPauseOthers(t)},300)}}function ytVidId(e){return!!e.match(/^(?:https?:)?(\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/)&&RegExp.$1}function playVideoAndPauseOthers(e){var t=jQuery(e).find("[data-youtube-video-id]").find("iframe"),i=jQuery(e).data("flexslider").slides.eq(jQuery(e).data("flexslider").currentSlide),o=i.find("[data-youtube-video-id]").find("iframe");t.each(function(){jQuery(this).attr("id")!==o.attr("id")&&void 0!==window.$youtube_players&&void 0!==window.$youtube_players[jQuery(this).attr("id")]&&window.$youtube_players[jQuery(this).attr("id")].stopVideo()}),o.length&&("function"!=typeof fusionGetConsent||fusionGetConsent("youtube"))&&void 0!==window.$youtube_players&&(!o.parents("li").hasClass("clone")&&o.parents("li").hasClass("flex-active-slide")&&"yes"===o.parents("li").attr("data-autoplay")&&(void 0===window.$youtube_players||void 0===window.$youtube_players[o.attr("id")]||void 0===window.$youtube_players[o.attr("id")].playVideo?fusionYouTubeTimeout(o.attr("id")):"slide"===jQuery(e).data("animation")&&0===e.currentSlide&&void 0===jQuery(e).data("iteration")?window.$youtube_players[o.attr("id")]&&setTimeout(function(){window.$youtube_players[o.attr("id")].playVideo(),jQuery(e).data("iteration",1),e.stop(),setTimeout(function(){e.play()},1e3*window.$youtube_players[o.attr("id")].getDuration()-6e3)},2e3):window.$youtube_players[o.attr("id")].playVideo()),"yes"===i.attr("data-mute")&&void 0!==window.$youtube_players[o.attr("id")]&&void 0!==window.$youtube_players[o.attr("id")].mute&&window.$youtube_players[o.attr("id")].mute()),Number(fusionVideoGeneralVars.status_vimeo)&&("function"!=typeof fusionGetConsent||fusionGetConsent("vimeo"))&&setTimeout(function(){jQuery(e).find("[data-vimeo-video-id] > iframe").each(function(){new Vimeo.Player(jQuery(this)[0]).pause()}),0!==e.slides.eq(e.currentSlide).find("[data-vimeo-video-id] > iframe").length&&("yes"===jQuery(e.slides.eq(e.currentSlide)).data("autoplay")&&new Vimeo.Player(e.slides.eq(e.currentSlide).find("iframe")[0]).play(),"yes"===jQuery(e.slides.eq(e.currentSlide)).data("mute")&&new Vimeo.Player(e.slides.eq(e.currentSlide).find("iframe")[0]).setVolume(0))},300),jQuery(e).find("video").each(function(){"function"==typeof jQuery(this)[0].pause&&jQuery(this)[0].pause(),!jQuery(this).parents("li").hasClass("clone")&&jQuery(this).parents("li").hasClass("flex-active-slide")&&"yes"===jQuery(this).parents("li").attr("data-autoplay")&&"function"==typeof jQuery(this)[0].play&&jQuery(this)[0].play()})}function fusionYouTubeTimeout(e){void 0===fusionTimeout[e]&&(fusionTimeout[e]=0),setTimeout(function(){void 0!==window.$youtube_players&&void 0!==window.$youtube_players[e]&&void 0!==window.$youtube_players[e].playVideo?window.$youtube_players[e].playVideo():5>++fusionTimeout[e]&&fusionYouTubeTimeout(e)},325)}window.YTReady=function(){var e=[],t=!1;return function(i,o){if(!0===i)for(t=!0;e.length;)e.shift()();else"function"==typeof i&&(t?i():e[o?"unshift":"push"](i))}}(),window.onYouTubePlayerAPIReady=prevCallback?function(){prevCallback(),onYouTubePlayerAPIReadyCallback()}:onYouTubePlayerAPIReadyCallback,jQuery(document).ready(function(){var e;jQuery(".fusion-fullwidth.video-background").each(function(){jQuery(this).find("[data-youtube-video-id]")&&(window.yt_vid_exists=!0)}),e=jQuery("iframe"),jQuery.each(e,function(e,t){var i,o=jQuery(this).attr("src"),u=jQuery(this).data("privacy-src"),a=!o&&u?u:o;a&&(Number(fusionVideoGeneralVars.status_vimeo)&&1<=a.indexOf("vimeo")&&jQuery(this).attr("id","player_"+(e+1)),Number(fusionVideoGeneralVars.status_yt)&&ytVidId(a)&&(jQuery(this).attr("id","player_"+(e+1)),i=insertParam(insertParam(a,"enablejsapi","1",!1),"wmode","opaque",!1),o?jQuery(this).attr("src",i):u&&jQuery(this).attr("data-privacy-src",i),window.yt_vid_exists=!0))}),jQuery("body").hasClass("fusion-builder-live")?setTimeout(function(){jQuery(".full-video, .video-shortcode, .wooslider .slide-content, .fusion-portfolio-carousel .fusion-video").not("#bbpress-forums .full-video, #bbpress-forums .video-shortcode, #bbpress-forums .wooslider .slide-content, #bbpress-forums .fusion-portfolio-carousel .fusion-video").fitVids(),jQuery("#bbpress-forums").fitVids()},350):(jQuery(".full-video, .video-shortcode, .wooslider .slide-content, .fusion-portfolio-carousel .fusion-video").not("#bbpress-forums .full-video, #bbpress-forums .video-shortcode, #bbpress-forums .wooslider .slide-content, #bbpress-forums .fusion-portfolio-carousel .fusion-video").fitVids(),jQuery("#bbpress-forums").fitVids()),("function"!=typeof fusionGetConsent||fusionGetConsent("youtube"))&&(registerYoutubePlayers(),loadYoutubeIframeAPI())});
function getWaypointOffset(t){var o=t.data("animationoffset");return void 0===o&&(o="bottom-in-view"),"top-out-of-view"===o&&(o=fusion.getAdminbarHeight()+("function"===getWaypointTopOffset?getWaypointTopOffset():0)),o}jQuery(window).on("load",function(){setTimeout(function(){"undefined"!=typeof Waypoint&&"function"==typeof Waypoint.viewportHeight&&Waypoint.refreshAll()},300)});
var fusionLightboxVars={"status_lightbox":"1","lightbox_gallery":"1","lightbox_skin":"smooth","lightbox_title":"","lightbox_arrows":"1","lightbox_slideshow_speed":"5000","lightbox_autoplay":"","lightbox_opacity":"0.95","lightbox_desc":"","lightbox_social":"1","lightbox_deeplinking":"1","lightbox_path":"horizontal","lightbox_post_images":"1","lightbox_animation_speed":"fast","l10n":{"close":"Press Esc to close","enterFullscreen":"Enter Fullscreen (Shift+Enter)","exitFullscreen":"Exit Fullscreen (Shift+Enter)","slideShow":"Slideshow","next":"Next","previous":"Previous"}};function avadaLightBoxInitializeLightbox(){window.$ilInstances&&jQuery.each(window.$ilInstances,function(t,i){window.$ilInstances[t].destroy()}),window.avadaLightBox.initialize_lightbox()}window.avadaLightBox={},void 0===window.$ilInstances&&(window.$ilInstances={}),window.avadaLightBox.initialize_lightbox=function(){"use strict";1===Number(fusionLightboxVars.status_lightbox)&&(window.avadaLightBox.set_title_and_caption(),window.avadaLightBox.activate_lightbox())},window.avadaLightBox.activate_lightbox=function(t){"use strict";var i,e=[],o=1;void 0===t&&(t=jQuery("body")),t.find('[data-rel^="prettyPhoto["], [rel^="prettyPhoto["], [data-rel^="iLightbox["], [rel^="iLightbox["]').each(function(){var t,i,o,a,n=["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","svg","mp4","ogg","webm","webp"],r=0,s=jQuery(this).attr("href");for(void 0===s&&(s=""),t=0;t<n.length;t++)r+=String(s).toLowerCase().indexOf("."+n[t]);i=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,s.match(i)&&(r=1),i=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,s.match(i)&&(r=1),-1*n.length===parseInt(r,10)&&(jQuery(this).addClass("fusion-no-lightbox"),jQuery(this).removeAttr("data-rel rel")),jQuery(this).hasClass("fusion-no-lightbox")||(null!=(o=this.getAttribute("data-rel"))&&-1===jQuery.inArray(o,e)&&e.push(o),null!=(a=this.getAttribute("data-rel"))&&(jQuery(this).parents(".gallery").length&&(a=a.replace("postimages",jQuery(this).parents(".gallery").attr("id")),jQuery(this).attr("data-rel",a)),-1===jQuery.inArray(a,e)&&e.push(a)))}),i=1,t.find(".tiled-gallery").each(function(){jQuery(this).find(".tiled-gallery-item > a").each(function(){var t=this.getAttribute("data-rel");null==t&&(t="iLightbox[tiled-gallery-"+i+"]",jQuery(this).attr("data-rel",t)),-1===jQuery.inArray(t,e)&&e.push(t)}),i++}),jQuery.each(e,function(t,i){o++,1===jQuery('[data-rel="'+i+'"], [rel="'+i+'"]').length?window.$ilInstances[i]=jQuery('[data-rel="'+i+'"], [rel="'+i+'"]').iLightBox(window.avadaLightBox.prepare_options(i,!1)):window.$ilInstances[i]=jQuery('[data-rel="'+i+'"], [rel="'+i+'"]').iLightBox(window.avadaLightBox.prepare_options(i))}),t.find('a[rel="prettyPhoto"], a[data-rel="prettyPhoto"], a[rel="iLightbox"], a[data-rel="iLightbox"]').each(function(){var t=jQuery(this).attr("href");""!==t&&void 0!==t&&(window.$ilInstances["single_"+o]=jQuery(this).iLightBox(window.avadaLightBox.prepare_options("single")),o++)}),t.find("#lightbox-link, .lightbox-link, .fusion-lightbox-link").each(function(){var t=jQuery(this).attr("href");""!==t&&void 0!==t&&(window.$ilInstances["single_"+o]=jQuery(this).iLightBox(window.avadaLightBox.prepare_options("single")),o++)}),fusionLightboxVars.lightbox_post_images&&t.find(".type-post .post-content a, #posts-container .post .post-content a, .fusion-blog-shortcode .post .post-content a, .type-avada_portfolio .project-content a, .fusion-portfolio .fusion-portfolio-wrapper .fusion-post-content, .summary-container .post-content a, .woocommerce-tabs .post-content a").has("img").each(function(){var t,i=["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","svg","mp4","ogg","webm","webp"],e=0;for(t=0;t<i.length;t++)e+=String(jQuery(this).attr("href")).toLowerCase().indexOf("."+i[t]);-1*i.length===parseInt(e,10)&&(jQuery(this).addClass("fusion-no-lightbox"),jQuery(this).removeAttr("data-rel rel")),-1!==String(jQuery(this).attr("rel")).indexOf("prettyPhoto")||-1!==String(jQuery(this).attr("data-rel")).indexOf("prettyPhoto")||-1!==String(jQuery(this).attr("rel")).indexOf("iLightbox")||-1!==String(jQuery(this).attr("data-rel")).indexOf("iLightbox")||jQuery(this).hasClass("fusion-no-lightbox")||(jQuery(this).attr("data-caption",jQuery(this).parent().find("p.wp-caption-text").text()),window.$ilInstances["single_"+o]=jQuery(this).iLightBox(window.avadaLightBox.prepare_options("post")),o++)})},window.avadaLightBox.set_title_and_caption=function(){"use strict";jQuery('a[rel^="prettyPhoto"], a[data-rel^="prettyPhoto"]').each(function(){jQuery(this).attr("data-caption")||(jQuery(this).attr("title")?jQuery(this).attr("data-caption",jQuery(this).attr("title")):jQuery(this).attr("data-caption",jQuery(this).parents(".gallery-item").find(".gallery-caption").text())),jQuery(this).attr("data-title")||jQuery(this).attr("data-title",jQuery(this).find("img").attr("alt"))}),jQuery('a[rel^="iLightbox"], a[data-rel^="iLightbox"]').each(function(){jQuery(this).attr("data-caption")||jQuery(this).attr("data-caption",jQuery(this).parents(".gallery-item").find(".gallery-caption").text())})},window.avadaLightBox.prepare_options=function(t,i){"use strict";var e,o,a=!0;return void 0===i&&(i=fusionLightboxVars.lightbox_gallery,a=!(!0===fusionLightboxVars.lightbox_autoplay||"true"===fusionLightboxVars.lightbox_autoplay||1===fusionLightboxVars.lightbox_autoplay||"1"===fusionLightboxVars.lightbox_autoplay)),e={fast:100,slow:800,normal:400},o={skin:fusionLightboxVars.lightbox_skin,smartRecognition:!1,minScale:.075,show:{title:fusionLightboxVars.lightbox_title,speed:e[fusionLightboxVars.lightbox_animation_speed.toLowerCase()]},path:fusionLightboxVars.lightbox_path,controls:{slideshow:i,arrows:fusionLightboxVars.lightbox_arrows},slideshow:{pauseTime:fusionLightboxVars.lightbox_slideshow_speed,pauseOnHover:!1,startPaused:a},overlay:{opacity:fusionLightboxVars.lightbox_opacity},caption:{start:fusionLightboxVars.lightbox_desc,show:"",hide:""},isMobile:!0,callback:{onShow:function(t,i){var e=jQuery(t.currentElement).find('iframe[src*="youtube.com"]');jQuery('.ilightbox-container iframe[src*="youtube.com"]').not(e).each(function(){this.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),jQuery(t.currentElement).trapFocus()},onAfterChange:function(t){var i=jQuery(t.currentElement).find('iframe[src*="youtube.com"]'),e=i.length?i.attr("src"):"";jQuery('.ilightbox-container iframe[src*="youtube.com"]').not(i).each(function(){this.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),i.length&&-1!==e.indexOf("autoplay=1")&&i[0].contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")},onHide:function(t){jQuery(document).off(".fusionLightbox")}}},fusionLightboxVars.lightbox_social&&(o.social={buttons:{facebook:!0,twitter:!0,reddit:!0,digg:!0,delicious:!0}}),Number(fusionLightboxVars.lightbox_deeplinking)&&(o.linkId=t),o.text=window.fusionLightboxVars.l10n,o},window.avadaLightBox.refresh_lightbox=function(){"use strict";window.avadaLightBox.set_title_and_caption(),jQuery.each(window.$ilInstances,function(t,i){i.hasOwnProperty("refresh")&&i.refresh()})},void 0===window.$ilInstances&&(window.$ilInstances={}),jQuery(document).ajaxComplete(function(t,i,e){"use strict";-1===e.url.indexOf("https://vimeo.com/api/oembed.json")&&window.avadaLightBox.refresh_lightbox()}),jQuery(window).on("load",function(){"use strict";window.avadaLightBox.initialize_lightbox()}),jQuery.fn.trapFocus=function(){var t,i,e=jQuery(this).find('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e.length&&(t=e[0],i=e[e.length-1],jQuery(document).on("keydown.fusionLightbox",function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?t===document.activeElement&&(i.focus(),e.preventDefault()):i===document.activeElement&&(t.focus(),e.preventDefault()))}),t.focus())};
function fusionInitTooltips(){jQuery('[data-toggle="tooltip"]').each(function(){var o;o=jQuery(this).parents(".fusion-header-wrapper").length?".fusion-header-wrapper":jQuery(this).parents("#side-header").length?"#side-header":"body",(!cssua.ua.mobile||cssua.ua.mobile&&"_blank"!==jQuery(this).attr("target"))&&jQuery(this).tooltip({container:o})})}jQuery(window).on("load",function(){fusionInitTooltips()}),jQuery(window).on("fusion-element-render-fusion_text fusion-element-render-fusion_social_links",function(o,e){var i,s=jQuery('div[data-cid="'+e+'"]').find('[data-toggle="tooltip"]');i=s.parents(".fusion-header-wrapper").length?".fusion-header-wrapper":s.parents("#side-header").length?"#side-header":"body",s.each(function(){(!cssua.ua.mobile||cssua.ua.mobile&&"_blank"!==jQuery(this).attr("target"))&&jQuery(this).tooltip({container:i})})}),jQuery(document).ready(function(){jQuery(".tooltip-shortcode, .fusion-secondary-header .fusion-social-networks li, .fusion-author-social .fusion-social-networks li, .fusion-footer-copyright-area .fusion-social-networks li, .fusion-footer-widget-area .fusion-social-networks li, .sidebar .fusion-social-networks li, .share-box li, .social-icon, .social li").on("mouseenter",function(o){jQuery(this).find(".popup").hoverFlow(o.type,{opacity:"show"})}),jQuery(".tooltip-shortcode, .fusion-secondary-header .fusion-social-networks li, .fusion-author-social .fusion-social-networks li, .fusion-footer-copyright-area .fusion-social-networks li, .fusion-footer-widget-area .fusion-social-networks li, .sidebar .fusion-social-networks li, .share-box li, .social-icon, .social li").on("mouseleave",function(o){jQuery(this).find(".popup").hoverFlow(o.type,{opacity:"hide"})})});
jQuery(document).ready(function(){jQuery(".fusion-sharing-box").each(function(){jQuery('meta[property="og:title"]').length||(jQuery("head title").after('<meta property="og:title" content="'+jQuery(this).data("title")+'"/>'),jQuery("head title").after('<meta property="og:description" content="'+jQuery(this).data("description")+'"/>'),jQuery("head title").after('<meta property="og:type" content="article"/>'),jQuery("head title").after('<meta property="og:url" content="'+jQuery(this).data("link")+'"/>'),jQuery("head title").after('<meta property="og:image" content="'+jQuery(this).data("image")+'"/>'))}),cssua.ua.mobile&&jQuery(".fusion-social-network-icon, .fusion-facebook-sharer-icon, .fusion-social-networks span a").each(function(e,t){"string"==typeof t.href&&0===t.href.indexOf("https://www.facebook.com/sharer.php")&&t.setAttribute("href",t.href.replace("https://www.facebook.com/sharer.php","https://m.facebook.com/sharer.php"))})});
(function(){var t,i;t=this.jQuery||window.jQuery,i=t(window),t.fn.stick_in_parent=function(s){var o,n,e,r,c,a,f,u,l,g,d,k,p,h,y,v,m,b,_,C;for(null==s&&(s={}),k=s.sticky_class,a=s.inner_scrolling,d=s.recalc_every,g=s.parent,l=s.offset_top,u=s.spacer,e=s.bottoming,p=void 0!==s.transition_offset&&parseFloat(s.transition_offset),h=void 0!==s.observer&&s.observer,y=void 0!==s.scroll_transition&&parseFloat(s.scroll_transition),v=void 0!==s.clone&&s.clone,m=!1,adminBarHeight=fusion.getAdminbarHeight(),null==l&&(l=0),"fusion-container-stuck"===k&&"object"==typeof fusion&&"function"==typeof fusion.getHeight&&(l=fusion.getHeight(l)+adminBarHeight),null==g&&(g=void 0),null==a&&(a=!0),null==k&&(k="is_stuck"),o=t(document),null==e&&(e=!0),r=function(n,r,c,f,w,x,j,H){var I,A,Q,z,B,M,O,T,F,G,S,W,D;if(!n.data("sticky_kit")){if(n.attr("data-sticky_kit",!0),B=o.height(),O=n.parent(),null!=g&&(O=O.closest(g)),!O.length)throw"failed to find stick parent";if(Q=!1,I=!1,null!=u?S=u&&n.closest(u):v?(S=n.clone(!1)).addClass("fusion-sticky-spacer").removeClass("fusion-sticky-transition"):S=jQuery('<div class="fusion-sticky-spacer" />'),S&&S.css("position",n.css("position")),overlap=function(t,i){"object"==typeof t&&"object"==typeof t[0]&&(t[0].isIntersecting?n.removeClass("fusion-sticky-transition"):n.addClass("fusion-sticky-transition"))},h&&(D=new IntersectionObserver(overlap,{rootMargin:"0px",threshold:1})),(T=function(){var t,i,s,e;if(!H)return B=o.height(),t=parseInt(O.css("border-top-width"),10),i=parseInt(O.css("padding-top"),10),r=parseInt(O.css("padding-bottom"),10),c=O.offset().top+t+i,f=O.height(),Q&&(Q=!1,I=!1,null==u&&(n.next(".fusion-sticky-spacer").length?S=n.next(".fusion-sticky-spacer"):n.insertAfter(S)),n.css({position:"",top:"",width:"",bottom:""}).removeClass(k),s=!0),w=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-l,x=n.outerHeight(!0),j=n.css("float"),S&&(e={width:n.outerWidth(!0),display:n.css("display"),"vertical-align":n.css("vertical-align"),float:j},v||(e.height=x),S.css(e)),s?W():void 0})(),x!==f){if(z=void 0,M=l,G=d,W=function(){var t,s,g,v,m,b;if(!H)return g=!1,null!=G&&0>=(G-=1)&&(G=d,T(),g=!0),null==G||g||o.height()===B||(T(),g=!0),v=i.scrollTop(),null!=z&&(s=v-z),z=v,Q?(e&&(m=v+x+M>f+c,I&&!m&&(I=!1,n.css({position:"fixed",bottom:"",top:M}).trigger("sticky_kit:unbottom"))),v<w&&(Q=!1,M=l,null==u&&("left"!==j&&"right"!==j||n.insertAfter(S),S&&S.detach()),t={position:"",width:"",top:""},n.css(t).removeClass(k).trigger("sticky_kit:unstick"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-change")),a&&(b=i.height(),x+l>b&&(I||(M-=s,M=Math.max(b-x,M),M=Math.min(l,M),Q&&n.css({top:M+"px"}))))):v>w&&(Q=!0,(t={position:"fixed",top:M}).width="border-box"===n.css("box-sizing")?n.outerWidth()+"px":n.width()+"px",n.css(t).addClass(k),null==u&&(n.after(S),"left"!==j&&"right"!==j||S.append(n)),n.trigger("sticky_kit:stick"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-change")),!1===p||h||(!n.is(".fusion-sticky-transition")&&v-w>p?(n.addClass("fusion-sticky-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-transition-change")):n.is(".fusion-sticky-transition")&&v-w<=p&&(n.removeClass("fusion-sticky-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-transition-change"))),!1!==y&&0!==y&&(0>s?n.hasClass("fusion-scrolling-up")||(n.addClass("fusion-scrolling-up").removeClass("fusion-scrolling-down"),i.trigger("fusion-sticky-scroll-change")):n.hasClass("fusion-scrolling-down")||(n.addClass("fusion-scrolling-down").removeClass("fusion-scrolling-up"),i.trigger("fusion-sticky-scroll-change")),!n.is(".fusion-sticky-scroll-transition")&&v-w>y?(n.addClass("fusion-sticky-scroll-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-scroll-change")):n.is(".fusion-sticky-scroll-transition")&&v-w<=y&&(n.removeClass("fusion-sticky-scroll-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-scroll-change"))),Q&&e&&(null==m&&(m=v+x+M>f+c),!I&&m)?(I=!0,"static"===O.css("position")&&O.css({position:"relative"}),n.css({position:"absolute",bottom:r,top:"auto"}).trigger("sticky_kit:bottom")):void 0},F=function(){return T(),W()},_=function(t){var i;"object"==typeof fusion&&"function"==typeof fusion.getHeight&&(l=void 0===s.offset_top?0:s.offset_top,"fusion-container-stuck"===k?l=fusion.getHeight(l)+adminBarHeight:"fusion-sidebar-stuck"===k&&jQuery(".fusion-tb-header").length&&"function"==typeof fusionGetStickyOffset&&(i=fusionGetStickyOffset())&&(l=i+adminBarHeight+50),M=l),F(),void 0!==t&&"string"==typeof t.type&&"resize"===t.type&&"function"==typeof q&&q()},"object"==typeof fusion&&"function"==typeof fusion.debounce)var q=fusion.debounce(_,350);return C=function(t){m||(m=!0,_(t),q(),setTimeout(function(){m=!1},100))},b=function(){h&&D.observe(n.next()[0])},A=function(){if(H=!0,i.off("touchmove",W),i.off("scroll",W),i.off("resize",_),t(document.body).off("sticky_kit:recalc",F),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-change"),n.off("sticky_kit:detach",A),n.removeData("sticky_kit"),n.removeAttr("data-sticky_kit"),n.css({position:"",bottom:"",top:"",width:""}),n.removeClass("fusion-sticky-transition"),O.position("position",""),Q)return null==u&&("left"!==j&&"right"!==j||n.insertAfter(S),S.remove()),n.removeClass(k);n.next(".fusion-sticky-spacer").length&&n.next(".fusion-sticky-spacer").remove()},S&&S.detach(),"fusion-sidebar-stuck"===k&&jQuery(".fusion-tb-header").length&&i.on("fusion-sticky-change fusion-sticky-scroll-change fusion-sticky-transition-change",C),i.on("touchmove",W),i.on("scroll",W),i.on("resize",_),t(document.body).on("sticky_kit:recalc",F),n.on("sticky_kit:detach",A),n.on("sticky_kit:stick",b),setTimeout(W,0)}}},c=0,f=this.length;c<f;c++)n=this[c],r(t(n));return this}}).call(this);
/* AVADA: THIS FILE IS COPIED VERBATIM VIA GRUNT TO THE MINIFIED SCRIPTS FOLDER. IF AN UNMINIFIED VERSION IS USED, REMOVE THE THE "copyFiles" GRUNT TASK. */
/*! @vimeo/player v2.10.0 | (c) 2019 Vimeo | MIT License | https://github.com/vimeo/player.js */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):((e=e||self).Vimeo=e.Vimeo||{},e.Vimeo.Player=t())}(this,function(){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var e="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function i(e,t){return 0===e.indexOf(t.toLowerCase())?e:"".concat(t.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function s(e){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(e)}function l(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=t.id,r=t.url,o=n||r;if(!o)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(e=o,!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e)return"https://vimeo.com/".concat(o);if(s(o))return o.replace("http:","https:");if(n)throw new TypeError("“".concat(n,"” is not a valid video id."));throw new TypeError("“".concat(o,"” is not a vimeo.com url."))}var t=void 0!==Array.prototype.indexOf,n="undefined"!=typeof window&&void 0!==window.postMessage;if(!(e||t&&n))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var o="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};!function(e){if(!e.WeakMap){var n=Object.prototype.hasOwnProperty,o=function(e,t,n){Object.defineProperty?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(o(this,"_id","_WeakMap"+"_"+t()+"."+t()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function r(e,t){if(!i(e)||!n.call(e,"_id"))throw new TypeError(t+" method called on incompatible receiver "+typeof e)}function t(){return Math.random().toString().substring(2)}return o(e.prototype,"delete",function(e){if(r(this,"delete"),!i(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)}),o(e.prototype,"get",function(e){if(r(this,"get"),i(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}}),o(e.prototype,"has",function(e){if(r(this,"has"),!i(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)}),o(e.prototype,"set",function(e,t){if(r(this,"set"),!i(e))throw new TypeError("Invalid value used as weak map key");var n=e[this._id];return n&&n[0]===e?n[1]=t:o(e,this._id,[e,t]),this}),o(e,"_polyfill",!0),e}()}function i(e){return Object(e)===e}}("undefined"!=typeof self?self:"undefined"!=typeof window?window:o);var a,f=(function(e){var t,n,r;r=function(){var t,a,n,e=Object.prototype.toString,r="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(e){t=function(e,t,n){return e[t]=n,e}}function i(e,t){n.add(e,t),a||(a=r(n.drain))}function u(e){var t,n=typeof e;return null==e||"object"!=n&&"function"!=n||(t=e.then),"function"==typeof t&&t}function c(){for(var e=0;e<this.chain.length;e++)o(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function o(e,t,n){var r,o;try{!1===t?n.reject(e.msg):(r=!0===t?e.msg:t.call(void 0,e.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(o=u(r))?o.call(r,n.resolve,n.reject):n.resolve(r)}catch(e){n.reject(e)}}function s(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,0<t.chain.length&&i(c,t))}function l(e,n,r,o){for(var t=0;t<n.length;t++)!function(t){e.resolve(n[t]).then(function(e){r(t,e)},o)}(t)}function f(e){this.def=e,this.triggered=!1}function d(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function h(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var r=new d(this);this.then=function(e,t){var n={success:"function"!=typeof e||e,failure:"function"==typeof t&&t};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),r.chain.push(n),0!==r.state&&i(c,r),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){(function e(n){var r,o=this;if(!o.triggered){o.triggered=!0,o.def&&(o=o.def);try{(r=u(n))?i(function(){var t=new f(o);try{r.call(n,function(){e.apply(t,arguments)},function(){s.apply(t,arguments)})}catch(e){s.call(t,e)}}):(o.msg=n,o.state=1,0<o.chain.length&&i(c,o))}catch(e){s.call(new f(o),e)}}}).call(r,e)},function(e){s.call(r,e)})}catch(e){s.call(r,e)}}n=function(){var n,r,o;function i(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(e,t){o=new i(e,t),r?r.next=o:n=o,r=o,o=void 0},drain:function(){var e=n;for(n=r=a=void 0;e;)e.fn.call(e.self),e=e.next}}}();var v=t({},"constructor",h,!1);return t(h.prototype=v,"__NPO__",0,!1),t(h,"resolve",function(n){return n&&"object"==typeof n&&1===n.__NPO__?n:new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");e(n)})}),t(h,"reject",function(n){return new this(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");t(n)})}),t(h,"all",function(t){var a=this;return"[object Array]"!=e.call(t)?a.reject(TypeError("Not an array")):0===t.length?a.resolve([]):new a(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");var r=t.length,o=Array(r),i=0;l(a,t,function(e,t){o[e]=t,++i===r&&n(o)},e)})}),t(h,"race",function(t){var r=this;return"[object Array]"!=e.call(t)?r.reject(TypeError("Not an array")):new r(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");l(r,t,function(e,t){n(t)},e)})}),h},(n=o)[t="Promise"]=n[t]||r(),e.exports&&(e.exports=n[t])}(a={exports:{}},a.exports),a.exports),d=new WeakMap;function u(e,t,n){var r=d.get(e.element)||{};t in r||(r[t]=[]),r[t].push(n),d.set(e.element,r)}function c(e,t){return(d.get(e.element)||{})[t]||[]}function h(e,t,n){var r=d.get(e.element)||{};if(!r[t])return!0;if(!n)return r[t]=[],d.set(e.element,r),!0;var o=r[t].indexOf(n);return-1!==o&&r[t].splice(o,1),d.set(e.element,r),r[t]&&0===r[t].length}var v=["autopause","autoplay","background","byline","color","controls","dnt","height","id","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function p(r){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return v.reduce(function(e,t){var n=r.getAttribute("data-vimeo-".concat(t));return(n||""===n)&&(e[t]=""===n?1:n),e},e)}function y(e,t){var n=e.html;if(!t)throw new TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function m(i){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},u=2<arguments.length?arguments[2]:void 0;return new Promise(function(t,n){if(!s(i))throw new TypeError("“".concat(i,"” is not a vimeo.com url."));var e="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(i));for(var r in a)a.hasOwnProperty(r)&&(e+="&".concat(r,"=").concat(encodeURIComponent(a[r])));var o="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;o.open("GET",e,!0),o.onload=function(){if(404!==o.status)if(403!==o.status)try{var e=JSON.parse(o.responseText);if(403===e.domain_status_code)return y(e,u),void n(new Error("“".concat(i,"” is not embeddable.")));t(e)}catch(e){n(e)}else n(new Error("“".concat(i,"” is not embeddable.")));else n(new Error("“".concat(i,"” was not found.")))},o.onerror=function(){var e=o.status?" (".concat(o.status,")"):"";n(new Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},o.send()})}function g(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){return console.warn(e),{}}return e}function w(e,t,n){if(e.element.contentWindow&&e.element.contentWindow.postMessage){var r={method:t};void 0!==n&&(r.value=n);var o=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));8<=o&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}}function b(n,r){var t,e=[];if((r=g(r)).event){if("error"===r.event)c(n,r.data.method).forEach(function(e){var t=new Error(r.data.message);t.name=r.data.name,e.reject(t),h(n,r.data.method,e)});e=c(n,"event:".concat(r.event)),t=r.data}else if(r.method){var o=function(e,t){var n=c(e,t);if(n.length<1)return!1;var r=n.shift();return h(e,t,r),r}(n,r.method);o&&(e.push(o),t=r.value)}e.forEach(function(e){try{if("function"==typeof e)return void e.call(n,t);e.resolve(t)}catch(e){}})}var k=new WeakMap,E=new WeakMap,Player=function(){function Player(u){var e,c=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Player),window.jQuery&&u instanceof jQuery&&(1<u.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),u=u[0]),"undefined"!=typeof document&&"string"==typeof u&&(u=document.getElementById(u)),e=u,!Boolean(e&&1===e.nodeType&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView))throw new TypeError("You must pass either a valid element or a valid id.");var r=u.ownerDocument.defaultView;if("IFRAME"!==u.nodeName){var t=u.querySelector("iframe");t&&(u=t)}if("IFRAME"===u.nodeName&&!s(u.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(k.has(u))return k.get(u);this.element=u,this.origin="*";var o=new f(function(i,a){var e=function(e){if(s(e.origin)&&c.element.contentWindow===e.source){"*"===c.origin&&(c.origin=e.origin);var t=g(e.data);if(t&&"error"===t.event&&t.data&&"ready"===t.data.method){var n=new Error(t.data.message);return n.name=t.data.name,void a(n)}var r=t&&"ready"===t.event,o=t&&"ping"===t.method;if(r||o)return c.element.setAttribute("data-ready","true"),void i();b(c,t)}};if(r.addEventListener?r.addEventListener("message",e,!1):r.attachEvent&&r.attachEvent("onmessage",e),"IFRAME"!==c.element.nodeName){var t=p(u,n);m(l(t),t,u).then(function(e){var t,n,r,o=y(e,u);return c.element=o,c._originalElement=u,t=u,n=o,r=d.get(t),d.set(n,r),d.delete(t),k.set(c.element,c),e}).catch(a)}});return E.set(this,o),k.set(this.element,this),"IFRAME"===this.element.nodeName&&w(this,"ping"),this}var e,t,n;return e=Player,(t=[{key:"callMethod",value:function(n){var r=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new f(function(e,t){return r.ready().then(function(){u(r,n,{resolve:e,reject:t}),w(r,n,o)}).catch(t)})}},{key:"get",value:function(n){var r=this;return new f(function(e,t){return n=i(n,"get"),r.ready().then(function(){u(r,n,{resolve:e,reject:t}),w(r,n)}).catch(t)})}},{key:"set",value:function(n,r){var o=this;return new f(function(e,t){if(n=i(n,"set"),null==r)throw new TypeError("There must be a value to set.");return o.ready().then(function(){u(o,n,{resolve:e,reject:t}),w(o,n,r)}).catch(t)})}},{key:"on",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(!t)throw new TypeError("You must pass a callback function.");if("function"!=typeof t)throw new TypeError("The callback must be a function.");0===c(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),u(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw new TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw new TypeError("The callback must be a function.");h(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=E.get(this)||new f(function(e,t){t(new Error("Unknown player. Probably unloaded."))});return f.resolve(e)}},{key:"addCuePoint",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new f(function(e){E.delete(t),k.delete(t.element),t._originalElement&&(k.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&t.element.parentNode.removeChild(t.element),e()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}}])&&r(e.prototype,t),n&&r(e,n),Player}();return e||(function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach(function(t){try{if(null!==t.getAttribute("data-vimeo-defer"))return;var e=p(t);m(l(e),e,t).then(function(e){return y(e,t)}).catch(n)}catch(e){n(e)}})}(),function(){var r=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(e){if(s(e.origin)&&e.data&&"spacechange"===e.data.event)for(var t=r.querySelectorAll("iframe"),n=0;n<t.length;n++)if(t[n].contentWindow===e.source){t[n].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}};window.addEventListener?window.addEventListener("message",e,!1):window.attachEvent&&window.attachEvent("onmessage",e)}}()),Player});
!function(t,e){var i=function(t,e){"use strict";if(!e.getElementsByClassName)return;var i,n,a=e.documentElement,r=t.Date,s=t.HTMLPictureElement,o=t.addEventListener,l=t.setTimeout,d=t.requestAnimationFrame||l,u=t.requestIdleCallback,c=/^picture$/i,f=["load","error","lazyincluded","_lazyloaded"],g={},m=Array.prototype.forEach,v=function(t,e){return g[e]||(g[e]=new RegExp("(\\s|^)"+e+"(\\s|$)")),g[e].test(t.getAttribute("class")||"")&&g[e]},y=function(t,e){v(t,e)||t.setAttribute("class",(t.getAttribute("class")||"").trim()+" "+e)},z=function(t,e){var i;(i=v(t,e))&&t.setAttribute("class",(t.getAttribute("class")||"").replace(i," "))},b=function(t,e,i){var n=i?"addEventListener":"removeEventListener";i&&b(t,e),f.forEach(function(i){t[n](i,e)})},h=function(t,n,a,r,s){var o=e.createEvent("Event");return a||(a={}),a.instance=i,o.initEvent(n,!r,!s),o.detail=a,t.dispatchEvent(o),o},A=function(e,i){var a;!s&&(a=t.picturefill||n.pf)?(i&&i.src&&!e.getAttribute("srcset")&&e.setAttribute("srcset",i.src),a({reevaluate:!0,elements:[e]})):i&&i.src&&(e.src=i.src)},p=function(t,e){return(getComputedStyle(t,null)||{})[e]},C=function(t,e,i){for(i=i||t.offsetWidth;i<n.minSize&&e&&!t._lazysizesWidth;)i=e.offsetWidth,e=e.parentNode;return i},E=(L=[],W=[],x=L,T=function(){var t=x;for(x=L.length?W:L,N=!0,_=!1;t.length;)t.shift()();N=!1},k=function(t,i){N&&!i?t.apply(this,arguments):(x.push(t),_||(_=!0,(e.hidden?l:d)(T)))},k._lsFlush=T,k),w=function(t,e){return e?function(){E(t)}:function(){var e=this,i=arguments;E(function(){t.apply(e,i)})}},M=function(t){var e,i,n=function(){e=null,t()},a=function(){var t=r.now()-i;t<99?l(a,99-t):(u||n)(n)};return function(){i=r.now(),e||(e=l(a,99))}};var N,_,L,W,x,T,k;!function(){var e,i={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-orig-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in n=t.lazySizesConfig||t.lazysizesConfig||{},i)e in n||(n[e]=i[e]);t.lazySizesConfig=n,l(function(){n.init&&S()})}();var B=function(){var s,d,f,g,C,N,_,L,W,x,T,k,B,S,R,D,H,I,O,P,$,q=/^img$/i,j=/^iframe$/i,G="onscroll"in t&&!/(gle|ing)bot/.test(navigator.userAgent),J=0,K=0,Q=-1,U=function(t){K--,t&&t.target&&b(t.target,U),(!t||K<0||!t.target)&&(K=0)},V=function(t,i){var n,r=t,s="hidden"==p(e.body,"visibility")||"hidden"!=p(t.parentNode,"visibility")&&"hidden"!=p(t,"visibility");for(L-=i,T+=i,W-=i,x+=i;s&&(r=r.offsetParent)&&r!=e.body&&r!=a;)(s=(p(r,"opacity")||1)>0)&&"visible"!=p(r,"overflow")&&(n=r.getBoundingClientRect(),s=x>n.left&&W<n.right&&T>n.top-1&&L<n.bottom+1);return s},X=function(){var t,r,o,l,u,c,f,m,v,y=i.elements;if((g=n.loadMode)&&K<8&&(t=y.length)){r=0,Q++,null==B&&("expand"in n||(n.expand=a.clientHeight>500&&a.clientWidth>500?500:370),k=n.expand,B=k*n.expFactor),J<B&&K<1&&Q>2&&g>2&&!e.hidden?(J=B,Q=0):J=g>1&&Q>1&&K<6?k:0;for(;r<t;r++)if(y[r]&&!y[r]._lazyRace)if(G)if((m=y[r].getAttribute("data-expand"))&&(c=1*m)||(c=J),v!==c&&(N=innerWidth+c*S,_=innerHeight+c,f=-1*c,v=c),o=y[r].getBoundingClientRect(),(T=o.bottom)>=f&&(L=o.top)<=_&&(x=o.right)>=f*S&&(W=o.left)<=N&&(T||x||W||L)&&(n.loadHidden||"hidden"!=p(y[r],"visibility"))&&(d&&K<3&&!m&&(g<3||Q<4)||V(y[r],c))){if(at(y[r]),u=!0,K>9)break}else!u&&d&&!l&&K<4&&Q<4&&g>2&&(s[0]||n.preloadAfterLoad)&&(s[0]||!m&&(T||x||W||L||"auto"!=y[r].getAttribute(n.sizesAttr)))&&(l=s[0]||y[r]);else at(y[r]);l&&!u&&at(l)}},Y=(R=X,H=0,I=n.throttleDelay,O=n.ricTimeout,P=function(){D=!1,H=r.now(),R()},$=u&&O>49?function(){u(P,{timeout:O}),O!==n.ricTimeout&&(O=n.ricTimeout)}:w(function(){l(P)},!0),function(t){var e;(t=!0===t)&&(O=33),D||(D=!0,(e=I-(r.now()-H))<0&&(e=0),t||e<9?$():l($,e))}),Z=function(t){y(t.target,n.loadedClass),z(t.target,n.loadingClass),b(t.target,et),h(t.target,"lazyloaded")},tt=w(Z),et=function(t){tt({target:t.target})},it=function(t){var e,i=t.getAttribute(n.srcsetAttr);(e=n.customMedia[t.getAttribute("data-media")||t.getAttribute("media")])&&t.setAttribute("media",e),i&&t.setAttribute("srcset",i)},nt=w(function(t,e,i,a,r){var s,o,d,u,g,v;(g=h(t,"lazybeforeunveil",e)).defaultPrevented||(a&&(i?y(t,n.autosizesClass):t.setAttribute("sizes",a)),o=t.getAttribute(n.srcsetAttr),s=t.getAttribute(n.srcAttr),r&&(d=t.parentNode,u=d&&c.test(d.nodeName||"")),v=e.firesLoad||"src"in t&&(o||s||u),g={target:t},v&&(b(t,U,!0),clearTimeout(f),f=l(U,2500),y(t,n.loadingClass),b(t,et,!0)),u&&m.call(d.getElementsByTagName("source"),it),o?t.setAttribute("srcset",o):s&&!u&&(j.test(t.nodeName)?function(t,e){try{t.contentWindow.location.replace(e)}catch(i){t.src=e}}(t,s):t.src=s),r&&(o||u)&&A(t,{src:s})),t._lazyRace&&delete t._lazyRace,z(t,n.lazyClass),E(function(){(!v||t.complete&&t.naturalWidth>1)&&(v?U(g):K--,Z(g))},!0)}),at=function(t){var e,i=q.test(t.nodeName),a=i&&(t.getAttribute(n.sizesAttr)||t.getAttribute("sizes")),r="auto"==a;(!r&&d||!i||!t.getAttribute("src")&&!t.srcset||t.complete||v(t,n.errorClass)||!v(t,n.lazyClass))&&(e=h(t,"lazyunveilread").detail,r&&F.updateElem(t,!0,t.offsetWidth),t._lazyRace=!0,K++,nt(t,e,r,a,i))},rt=function(){if(!d)if(r.now()-C<999)l(rt,999);else{var t=M(function(){n.loadMode=3,Y()});d=!0,n.loadMode=3,Y(),o("scroll",function(){3==n.loadMode&&(n.loadMode=2),t()},!0)}};return{_:function(){C=r.now(),i.elements=e.getElementsByClassName(n.lazyClass),s=e.getElementsByClassName(n.lazyClass+" "+n.preloadClass),S=n.hFac,o("scroll",Y,!0),o("resize",Y,!0),t.MutationObserver?new MutationObserver(Y).observe(a,{childList:!0,subtree:!0,attributes:!0}):(a.addEventListener("DOMNodeInserted",Y,!0),a.addEventListener("DOMAttrModified",Y,!0),setInterval(Y,999)),o("hashchange",Y,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(t){e.addEventListener(t,Y,!0)}),/d$|^c/.test(e.readyState)?rt():(o("load",rt),e.addEventListener("DOMContentLoaded",Y),l(rt,2e4)),i.elements.length?(X(),E._lsFlush()):Y()},checkElems:Y,unveil:at}}(),F=(D=w(function(t,e,i,n){var a,r,s;if(t._lazysizesWidth=n,n+="px",t.setAttribute("sizes",n),c.test(e.nodeName||""))for(a=e.getElementsByTagName("source"),r=0,s=a.length;r<s;r++)a[r].setAttribute("sizes",n);i.detail.dataAttr||A(t,i.detail)}),H=function(t,e,i){var n,a=t.parentNode;a&&(i=C(t,a,i),(n=h(t,"lazybeforesizes",{width:i,dataAttr:!!e})).defaultPrevented||(i=n.detail.width)&&i!==t._lazysizesWidth&&D(t,a,n,i))},I=M(function(){var t,e=R.length;if(e)for(t=0;t<e;t++)H(R[t])}),{_:function(){R=e.getElementsByClassName(n.autosizesClass),o("resize",I)},checkElems:I,updateElem:H}),S=function(){S.i||(S.i=!0,F._(),B._())};var R,D,H,I;return i={cfg:n,autoSizer:F,loader:B,init:S,uP:A,aC:y,rC:z,hC:v,fire:h,gW:C,rAF:E}}(t,t.document);t.lazySizes=i,"object"==typeof module&&module.exports&&(module.exports=i)}(window),document.addEventListener("lazybeforeunveil",function(t){var e=t.target.getAttribute("data-bg"),i=t.target.getAttribute("data-bg-gradient");i&&e?t.target.style.backgroundImage=i+",url("+e+")":e&&(t.target.style.backgroundImage="url("+e+")")});
/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);
jQuery(document).ready(function(){jQuery(".fusion-footer .fusion-footer-widget-area .fusion-column").each(function(){jQuery(this).is(":empty")&&jQuery(this).css("margin-bottom","0")}),jQuery(".fusion-social-links-footer").find(".fusion-social-networks").children().length||(jQuery(".fusion-social-links-footer").hide(),jQuery(".fusion-footer-copyright-area .fusion-copyright-notice").css("padding-bottom","0"))});
function avadaAddQuantityBoxes(t,a){var e=!1;t||(t=".qty"),a||(a=jQuery("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").find(t)),a.length&&(jQuery.each(a,function(t,a){"date"===jQuery(a).prop("type")||"hidden"===jQuery(a).prop("type")||jQuery(a).parent().parent().hasClass("tribe-block__tickets__item__quantity__number")||jQuery(a).parent().hasClass("buttons_added")||(jQuery(a).parent().addClass("buttons_added").prepend('<input type="button" value="-" class="minus" />'),jQuery(a).addClass("input-text").after('<input type="button" value="+" class="plus" />'),e=!0)}),e&&(jQuery("input"+t+":not(.product-quantity input"+t+")").each(function(){var t=parseFloat(jQuery(this).attr("min"));t&&0<t&&parseFloat(jQuery(this).val())<t&&jQuery(this).val(t)}),jQuery(".plus, .minus").off("click"),jQuery(".plus, .minus").on("click",function(){var a=jQuery(this).parent().find(t),e=parseFloat(a.val()),n=parseFloat(a.attr("max")),i=parseFloat(a.attr("min")),o=a.attr("step");e&&""!==e&&"NaN"!==e||(e=0),""!==n&&"NaN"!==n||(n=""),""!==i&&"NaN"!==i||(i=0),"any"!==o&&""!==o&&void 0!==o&&"NaN"!==parseFloat(o)||(o=1),jQuery(this).is(".plus")?n&&(n==e||e>n)?a.val(n):a.val(e+parseFloat(o)):i&&(i==e||e<i)?a.val(i):0<e&&a.val(e-parseFloat(o)),a.trigger("change")})))}function compositeAddQuantityBoxes(){avadaAddQuantityBoxes()}jQuery(window).on("load fusion-element-render-fusion_tb_woo_cart",function(){avadaAddQuantityBoxes()}),jQuery(document).ajaxComplete(function(){avadaAddQuantityBoxes()}),jQuery(document).ready(function(){jQuery(".yith-wacp-mini-cart-icon").on("click",function(){setTimeout(function(){avadaAddQuantityBoxes()},100)})}),jQuery(".composite_data").length&&jQuery(".composite_data").on("wc-composite-initializing",function(t,a){a.actions.add_action("component_selection_details_animated",compositeAddQuantityBoxes,10)});
function fusionResizeCrossfadeImagesContainer(e){var i=0;e.find("img").each(function(){var e=jQuery(this).height();e>i&&(i=e)}),e.css("height",i)}jQuery(window).on("load",function(){jQuery(window).on("resize",function(){jQuery(".crossfade-images").each(function(){fusionResizeCrossfadeImagesContainer(jQuery(this))})}),jQuery(".crossfade-images").each(function(){fusionResizeCrossfadeImagesContainer(jQuery(this))})});
function calcSelectArrowDimensions(e){var n=".avada-select-parent .select-arrow, .gravity-select-parent .select-arrow, .wpcf7-select-parent .select-arrow";(void 0!==e?jQuery(e).find(n):jQuery(n)).filter(":visible").each(function(){0<jQuery(this).prev().innerHeight()&&jQuery(this).css({height:jQuery(this).prev().innerHeight(),width:jQuery(this).prev().innerHeight(),"line-height":jQuery(this).prev().innerHeight()+"px"})})}jQuery(window).on("load fusion-element-render-fusion_tb_woo_cart fusion-element-render-fusion_tb_woo_checkout_tabs fusion-element-render-fusion_tb_woo_checkout_billing fusion-element-render-fusion_tb_woo_checkout_shipping fusion-element-render-fusion_woo_cart_shipping",function(){calcSelectArrowDimensions(),setTimeout(function(){calcSelectArrowDimensions()},100)}),jQuery(window).on("fusion-dynamic-content-render",function(e,n){calcSelectArrowDimensions(n)});
jQuery(document).on("ready fusion-widget-render-Fusion_Widget_Tabs",function(){jQuery(".fusion-tabs-widget .fusion-tabs-nav li a").on("click",function(n){var t=jQuery(this).data("link");n.preventDefault(),jQuery(this).parents(".fusion-tabs-nav").find("li").removeClass("active"),jQuery(this).parent().addClass("active"),jQuery(this).parents(".fusion-tabs-widget").find(".fusion-tab-content").hide(),jQuery(this).parents(".fusion-tabs-widget").find('.fusion-tab-content[data-name="'+t+'"]').fadeIn()})});
!function(i,t,s){var e,n=t.event;n.special.smartresize={setup:function(){t(this).bind("resize",n.special.smartresize.handler)},teardown:function(){t(this).unbind("resize",n.special.smartresize.handler)},handler:function(i,t){var s=this,n=arguments;i.type="smartresize",e&&clearTimeout(e),e=setTimeout(function(){jQuery.event.handle.apply(s,n)},"execAsap"===t?0:100)}},t.fn.smartresize=function(i){return i?this.bind("smartresize",i):this.trigger("smartresize",["execAsap"])},t.Slideshow=function(i,s){this.$el=t(s),this.$list=this.$el.find("ul.ei-slider-large"),this.$imgItems=this.$list.children("li"),this.itemsCount=this.$imgItems.length,this.$images=this.$imgItems.find("img:first"),this.$sliderthumbs=this.$el.find("ul.ei-slider-thumbs").hide(),this.$sliderElems=this.$sliderthumbs.children("li"),this.$sliderElem=this.$sliderthumbs.children("li.ei-slider-element"),this.$thumbs=this.$sliderElems.not(".ei-slider-element"),this._init(i)},t.Slideshow.defaults={animation:"sides",autoplay:!1,slideshow_interval:3e3,speed:800,easing:"",titlesFactor:.6,titlespeed:800,titleeasing:"",thumbMaxWidth:150},t.Slideshow.prototype={_init:function(i){this.options=t.extend(!0,{},t.Slideshow.defaults,i),this.$imgItems.css("opacity",0),this.$imgItems.find("div.ei-title > *").css("opacity",0),this.current=0;var s=this;this.$loading=t('<div class="ei-slider-loading">Loading</div>').prependTo(s.$el),t.when(this._preloadImages()).done(function(){s.$loading.hide(),s._setImagesSize(),s._initThumbs(),s.$imgItems.eq(s.current).css({opacity:1,"z-index":10}).show().find("div.ei-title > *").css("opacity",1),s.options.autoplay&&s._startSlideshow(),s._initEvents()})},_preloadImages:function(){var i=this,s=0;return t.Deferred(function(e){i.$images.each(function(n){t("<img/>").load(function(){++s===i.itemsCount&&e.resolve()}).attr("src",t(this).attr("src"))})}).promise()},_setImagesSize:function(){this.elWidth=this.$el.width();var i=this;this.$images.each(function(s){var e=t(this);imgDim=i._getImageDim(e.attr("src")),e.css({width:imgDim.width,height:imgDim.height,marginLeft:imgDim.left,marginTop:imgDim.top})})},_getImageDim:function(i){var t=new Image;t.src=i;var s,e,n=this.elWidth,h=this.$el.height(),o=h/n,a=t.width,r=t.height/a;return o>r?(e=h,s=h/r):(e=n*r,s=n),{width:s,height:e,left:(n-s)/2,top:(h-e)/2}},_initThumbs:function(){this.$sliderElems.css({"max-width":this.options.thumbMaxWidth+"px",width:100/this.itemsCount+"%"}),this.$sliderthumbs.css("max-width",this.options.thumbMaxWidth*this.itemsCount+"px").show()},_startSlideshow:function(){var i=this;this.slideshow=setTimeout(function(){var t;t=i.current===i.itemsCount-1?0:i.current+1,i._slideTo(t),i.options.autoplay&&i._startSlideshow()},this.options.slideshow_interval)},_slideTo:function(i){if(i===this.current||this.isAnimating)return!1;this.isAnimating=!0;var s=this.$imgItems.eq(this.current),e=this.$imgItems.eq(i),n=this,h={zIndex:10},o={opacity:1};"sides"===this.options.animation&&(h.left=i>this.current?-1*this.elWidth:this.elWidth,o.left=0),e.find("div.ei-title > h2").css("margin-right","50px").stop().delay(this.options.speed*this.options.titlesFactor).animate({marginRight:"0px",opacity:1},this.options.titlespeed,this.options.titleeasing).end().find("div.ei-title > h3").css("margin-right","-50px").stop().delay(this.options.speed*this.options.titlesFactor).animate({marginRight:"0px",opacity:1},this.options.titlespeed,this.options.titleeasing),t.when(s.css("z-index",1).find("div.ei-title > *").stop().fadeOut(this.options.speed/2,function(){t(this).show().css("opacity",0)}),e.css(h).stop().animate(o,this.options.speed,this.options.easing),this.$sliderElem.stop().animate({left:this.$thumbs.eq(i).position().left},this.options.speed)).done(function(){s.css("opacity",0).find("div.ei-title > *").css("opacity",0),n.current=i,n.isAnimating=!1})},_initEvents:function(){var s=this;t(i).on("smartresize.eislideshow",function(i){s._setImagesSize(),s.$sliderElem.css("left",s.$thumbs.eq(s.current).position().left)}),this.$thumbs.on("click.eislideshow",function(i){s.options.autoplay&&(clearTimeout(s.slideshow),s.options.autoplay=!1);var e=t(this).index()-1;return s._slideTo(e),!1})}};var h=function(i){this.console};t.fn.eislideshow=function(i){if("string"==typeof i){var s=Array.prototype.slice.call(arguments,1);this.each(function(){var e=t.data(this,"eislideshow");e&&t.isFunction(e[i])&&"_"!==i.charAt(0)?e[i].apply(e,s):h()})}else this.each(function(){t.data(this,"eislideshow")||t.data(this,"eislideshow",new t.Slideshow(i,this))});return this}}(window,jQuery);
var avadaLiveSearchVars={"live_search":"1","ajaxurl":"https:\/\/www.ahealingtouchbcs.com\/wp-admin\/admin-ajax.php","no_search_results":"No search results match your query. Please try again","min_char_count":"4","per_page":"100","show_feat_img":"1","display_post_type":"1"};var avadaLiveSearch=function(){var s=[];avadaLiveSearchVars.live_search&&jQuery(".fusion-live-search-input").each(function(){var e,a=jQuery(this),i=a.closest(".fusion-live-search"),t=i.find(".fusion-search-button"),o=i.find(".fusion-search-submit"),n=i.find(".fusion-search-results"),r=i.find('input[name="post_type[]"]'),d=i.find('input[name="search_limit_to_post_titles"]'),u=n.closest(".fusion-builder-row"),c=i.closest(".fusion-header");function l(s){var e="";n.html(""),n.removeClass("suggestions-empty"),n.addClass("suggestions-added"),h("add"),jQuery.isEmptyObject(s)?(n.addClass("suggestions-empty"),e+='<div class="fusion-search-result">'+avadaLiveSearchVars.no_search_results+"</div>",n.append(e)):jQuery.each(s,function(s,a){e="",e+='<a class="fusion-search-result" href="'+a.post_url+'" title="'+a.title+'">',a.image_url&&(e+='<div class="fusion-search-image"><img class="fusion-search-image-tag" src="'+a.image_url+'" alt="Post Thumb'+a.id+'"/></div>'),e+='<div class="fusion-search-content">',e+='<div class="fusion-search-post-title">'+a.title+"</div>",a.type&&(e+='<div class="fusion-search-post-type">'+a.type+"</div>"),e+="</div>",e+="</a>",n.append(e)})}function v(){var e,t;if(i=a.closest(".fusion-live-search"),e=a.val(),e+=(t=function(){var s=[];return r.each(function(){s.push(this.value)}),s})().toString(),avadaLiveSearchVars.min_char_count<=a.val().length){if(void 0!==s[e])return void l(s[e]);i.find(".fusion-slider-loading").show(),i.find(".fusion-search-submit").css("color","transparent"),o.css("color","transparent"),jQuery.ajax({url:avadaLiveSearchVars.ajaxurl,type:"post",data:{action:"live_search_retrieve_posts",search:a.val(),per_page:avadaLiveSearchVars.per_page,show_feat_img:avadaLiveSearchVars.show_feat_img,display_post_type:avadaLiveSearchVars.display_post_type,post_type:t(),search_limit_to_post_titles:d.val()}}).done(function(a){s[e]=a,l(a),i.find(".fusion-slider-loading").hide(),o.css("color",o.attr("data-color"))})}else i.find(".fusion-slider-loading").hide(),o.css("color",o.attr("data-color")),n.removeClass("suggestions-added"),h("remove")}function h(s){u.length&&("add"===s?u.css("z-index","11"):u.css("z-index","")),c.length&&("add"===s?c.addClass("live-suggestion-added"):c.removeClass("live-suggestion-added"))}o.attr("data-color",o.css("color")),a.on("focusin",function(){avadaLiveSearchVars.min_char_count<=jQuery(this).val().length&&n.children(".fusion-search-result").length&&(n.addClass("suggestions-added"),h("add"))}),a.on("focusout",function(){n.is(":hover")||t.is(":hover")||(n.removeClass("suggestions-added"),h("remove"),n.addClass("suggestions-transition"),setTimeout(function(){n.removeClass("suggestions-transition")},300))}),jQuery(t,n).on("mouseleave",function(){a.is(":focus")||(n.removeClass("suggestions-added"),h("remove"),n.addClass("suggestions-transition"),setTimeout(function(){n.removeClass("suggestions-transition")},300))}),a.on("keyup",function(){clearTimeout(e),e=setTimeout(v,500)}),a.on("keydown",function(){clearTimeout(e)})})};jQuery(document).ready(function(){avadaLiveSearch()});
jQuery(document).on("ready fusion-element-render-fusion_alert",function(e,n){(void 0!==n?jQuery('div[data-cid="'+n+'"]').find(".fusion-alert .close"):jQuery(".fusion-alert .close")).on("click",function(e){e.preventDefault(),jQuery(this).parent().slideUp()})});
var fusionFlexSliderVars={"status_vimeo":"1","slideshow_autoplay":"1","slideshow_speed":"3000","pagination_video_slide":"","status_yt":"1","flex_smoothHeight":"false"};function fusionInitPostFlexSlider(){jQuery(".fusion-flexslider.fusion-flexslider-loading, .flexslider.fusion-flexslider-loading:not(.tfs-slider)").not(".woocommerce .images #slider").each(function(){var e="false"!==fusionFlexSliderVars.flex_smoothHeight,i=Boolean(Number(fusionFlexSliderVars.slideshow_autoplay)),s=Number(fusionFlexSliderVars.slideshow_speed),r="fade",n=!0;e=void 0!==jQuery(this).data("slideshow_smooth_height")?Boolean(Number(jQuery(this).data("slideshow_smooth_height"))):e,i=void 0!==jQuery(this).data("slideshow_autoplay")?Boolean(Number(jQuery(this).data("slideshow_autoplay"))):i,s=void 0!==jQuery(this).data("slideshow_speed")?Number(jQuery(this).data("slideshow_speed")):s,r=void 0!==jQuery(this).data("slideshow_animation")?String(jQuery(this).data("slideshow_animation")):r,n=void 0!==jQuery(this).data("slideshow_control_nav")?Boolean(Number(jQuery(this).data("slideshow_control_nav"))):n,jQuery().isotope&&0<jQuery(this).closest(".fusion-blog-layout-grid").length&&(e=!1),jQuery(this).flexslider({slideshow:i,slideshowSpeed:s,video:!0,smoothHeight:e,pauseOnHover:!1,useCSS:!1,prevText:"&#xf104;",nextText:"&#xf105;",animation:r,controlNav:n,start:function(e){e.removeClass("fusion-flexslider-loading"),jQuery(window).trigger("resize"),void 0!==e.slides&&0!==e.slides.eq(e.currentSlide).find("iframe").length?(Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","-20px"):jQuery(e).find(".flex-control-nav").hide(),Number(fusionFlexSliderVars.status_yt)&&!0===window.yt_vid_exists&&window.YTReady(function(){new YT.Player(e.slides.eq(e.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(e.slides.eq(e.currentSlide).find("iframe").attr("id"),e)}})})):Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","0"):jQuery(e).find(".flex-control-nav").show(),Waypoint.refreshAll()},before:function(e){0!==e.slides.eq(e.currentSlide).find("iframe").length&&(Number(fusionFlexSliderVars.status_vimeo)&&-1!==e.slides.eq(e.currentSlide).find("iframe")[0].src.indexOf("vimeo")&&(void 0!==window.fusionVimeoPlayers[e.slides.eq(e.currentSlide).find("iframe")[0].getAttribute("id")]?window.fusionVimeoPlayers[e.slides.eq(e.currentSlide).find("iframe")[0].getAttribute("id")].pause():new Vimeo.Player(e.slides.eq(e.currentSlide).find("iframe")[0]).pause()),Number(fusionFlexSliderVars.status_yt)&&!0===window.yt_vid_exists&&window.YTReady(function(){new YT.Player(e.slides.eq(e.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(e.slides.eq(e.currentSlide).find("iframe").attr("id"),e)}})}),playVideoAndPauseOthers(e))},after:function(e){0!==e.slides.eq(e.currentSlide).find("iframe").length?(Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","-20px"):jQuery(e).find(".flex-control-nav").hide(),Number(fusionFlexSliderVars.status_yt)&&!0===window.yt_vid_exists&&window.YTReady(function(){new YT.Player(e.slides.eq(e.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(e.slides.eq(e.currentSlide).find("iframe").attr("id"),e)}})})):Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","0"):jQuery(e).find(".flex-control-nav").show(),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")})}}),e="false"!==fusionFlexSliderVars.flex_smoothHeight})}function fusionDestroyPostFlexSlider(){jQuery(".fusion-flexslider").not(".woocommerce .images #slider").flexslider("destroy")}jQuery(window).on("load",function(){var e,i="false"!==fusionFlexSliderVars.flex_smoothHeight;window.fusionVimeoPlayers=[],jQuery().flexslider&&(Number(fusionFlexSliderVars.status_vimeo)&&jQuery(".flexslider").find("iframe").each(function(){var i=jQuery(this).attr("id"),s=jQuery(this).attr("src");i&&-1!==s.indexOf("vimeo")&&(window.fusionVimeoPlayers[i]=new Vimeo.Player(i),e=jQuery("#"+i).parents("li"),window.fusionVimeoPlayers[i].on("play",function(){jQuery("#"+i).parents("li").parent().parent().flexslider("pause")}),window.fusionVimeoPlayers[i].on("pause",function(){"yes"===jQuery(e).attr("data-loop")?jQuery("#"+i).parents("li").parent().parent().flexslider("pause"):jQuery("#"+i).parents("li").parent().parent().flexslider("play")}),window.fusionVimeoPlayers[i].on("ended",function(){"yes"!==jQuery(e).attr("data-loop")&&jQuery("#"+i).parents("li").parent().parent().flexslider("next")}))}),fusionInitPostFlexSlider(),1<=jQuery(".flexslider-attachments").length&&jQuery.each(jQuery(".flexslider-attachments"),function(){void 0!==jQuery(this).data("flexslider")&&jQuery(this).flexslider("destroy"),jQuery(this).flexslider({slideshow:Boolean(Number(fusionFlexSliderVars.slideshow_autoplay)),slideshowSpeed:fusionFlexSliderVars.slideshow_speed,video:!1,smoothHeight:i,pauseOnHover:!1,useCSS:!1,prevText:"&#xf104;",nextText:"&#xf105;",controlNav:"thumbnails",start:function(e){jQuery(e).find(".fusion-slider-loading").remove(),e.removeClass("fusion-flexslider-loading")}}),i&&jQuery(this).find(".flex-control-nav").css("position","absolute")}))}),jQuery(window).on("fusion-element-render-fusion_recent_posts fusion-element-render-fusion_postslider",function(e,i){(void 0!==i?jQuery('div[data-cid="'+i+'"]'):jQuery(document)).find(".fusion-flexslider").not(".woocommerce .images #slider").flexslider()}),jQuery(window).on("fusion-element-render-fusion_slider",function(e,i){var s=(void 0!==i?jQuery('div[data-cid="'+i+'"]'):jQuery(document)).find(".flexslider:not(.tfs-slider)");void 0!==s&&s.flexslider()}),jQuery(window).on("fusion-element-render-fusion_slide",function(e,i){var s=jQuery('li[data-cid="'+i+'"]');0<s.length&&void 0!==s.data("parent-cid")&&(void 0!==s.closest(".flexslider:not(.tfs-slider)").data("flexslider")&&jQuery(s.closest(".flexslider:not(.tfs-slider)")).flexslider("destroy"),jQuery(window).trigger("fusion-element-render-fusion_slider",s.data("parent-cid")))}),jQuery(window).on("fusion-element-render-fusion_post_cards",function(e,i){fusionInitPostFlexSlider()}),window.addEventListener("fusion-reinit-single-post-slideshow",function(){fusionInitPostFlexSlider()});
var avadaElasticSliderVars={"tfes_autoplay":"1","tfes_animation":"sides","tfes_interval":"3000","tfes_speed":"800","tfes_width":"150"};jQuery(window).on("load",function(){var a;jQuery().eislideshow&&(a={autoplay:Boolean(Number(avadaElasticSliderVars.tfes_autoplay))},avadaElasticSliderVars.tfes_animation&&(a.animation=avadaElasticSliderVars.tfes_animation),avadaElasticSliderVars.tfes_interval&&(a.slideshow_interval=parseInt(avadaElasticSliderVars.tfes_interval,10)),avadaElasticSliderVars.tfes_speed&&(a.speed=parseInt(avadaElasticSliderVars.tfes_speed,10)),avadaElasticSliderVars.tfes_width&&(a.thumbMaxWidth=parseInt(avadaElasticSliderVars.tfes_width,10)),jQuery("#ei-slider").eislideshow(a))});
var avadaFadeVars={"page_title_fading":"1","header_position":"top"};var avadaTriggerPageTitleFading=function(){void 0===cssua.ua.mobile&&("1"!==avadaFadeVars.page_title_fading&&1!==avadaFadeVars.page_title_fading&&!0!==avadaFadeVars.page_title_fading||("left"===avadaFadeVars.header_position||"right"===avadaFadeVars.header_position?jQuery(".fusion-page-title-wrapper").fusionScroller({type:"opacity",offset:0}):jQuery(".fusion-page-title-wrapper").fusionScroller({type:"opacity",offset:100})))};jQuery(window).on("load",function(){avadaTriggerPageTitleFading()});
var avadaSelectVars={"avada_drop_down":"1"};function addAvadaSelectStyles(){Number(avadaSelectVars.avada_drop_down)&&(jQuery(".tribe-tickets-order_status-row select").length&&(jQuery(".tribe-tickets-order_status-row select").addClass("avada-select"),jQuery(".tribe-tickets-order_status-row select").wrap('<div class="avada-select-parent"></div>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".tribe-ticket-quantity").on("change",function(){setTimeout(function(){calcSelectArrowDimensions()},1)})),jQuery(".tribe-block__tickets__item__attendee__fields__form select").length&&jQuery(".tribe-block__tickets__item__attendee__fields__form select").wrap('<div class="avada-select-parent"></div>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".woocommerce-billing-fields, .woocommerce-shipping-fields").addClass("avada-select"),jQuery(".woocommerce.widget_product_categories select").length&&jQuery(".woocommerce.widget_product_categories select").wrap('<p class="avada-select-parent"></p>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".cart-collaterals select#calc_shipping_country, .widget_layered_nav select").wrap('<p class="avada-select-parent"></p>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".cart-collaterals select#calc_shipping_state").after('<div class="select-arrow">&#xe61f;</div>'),setTimeout(function(){jQuery("#billing_country_field .chosen-container").length||jQuery("#billing_country_field .select2-container").length||(jQuery("#billing_country_field select.country_select").wrap('<p class="avada-select-parent"></p>').after('<span class="select-arrow">&#xe61f;</span>'),!jQuery("#billing_state_field select.state_select").length||jQuery("#billing_state_field .chosen-container").length||jQuery("#billing_state_field .select2-container").length||jQuery("#billing_state_field").addClass("avada-select-parent").append('<div class="select-arrow">&#xe61f;</div>'),jQuery("#billing_country").on("change",function(){setTimeout(function(){(jQuery("#billing_state_field input#billing_state").length||jQuery("#billing_state_field").is(":hidden"))&&(jQuery("#billing_state_field .select-arrow").remove(),jQuery("#billing_state_field").removeClass("avada-select-parent")),jQuery("#billing_state_field select.state_select").length&&(jQuery("#billing_state_field").addClass("avada-select-parent"),jQuery("#billing_state_field .select-arrow").length||(jQuery("#billing_state_field").append('<div class="select-arrow">&#xe61f;</div>'),calcSelectArrowDimensions()))},1)})),jQuery("#shipping_country_field .chosen-container").length||jQuery("#shipping_country_field .select2-container").length||(jQuery("#shipping_country_field select.country_select").wrap('<p class="avada-select-parent"></p>').after('<span class="select-arrow">&#xe61f;</span>'),jQuery("#shipping_state_field select.state_select").length&&jQuery("#shipping_state_field").addClass("avada-select-parent").append('<div class="select-arrow">&#xe61f;</div>'),jQuery("#shipping_country").on("change",function(){setTimeout(function(){(jQuery("#shipping_state_field input#shipping_state").length||jQuery("#shipping_state_field").is(":hidden"))&&(jQuery("#shipping_state_field .select-arrow").remove(),jQuery("#shipping_state_field").removeClass("avada-select-parent")),jQuery("#shipping_state_field select.state_select").length&&(jQuery("#shipping_state_field").addClass("avada-select-parent"),jQuery("#shipping_state_field .select-arrow").length||(jQuery("#shipping_state_field").append('<div class="select-arrow">&#xe61f;</div>'),calcSelectArrowDimensions()))},1)}))},1),jQuery("#calc_shipping_country").on("change",function(){setTimeout(function(){jQuery(".avada-shipping-calculator-form select#calc_shipping_state").length&&!jQuery(".avada-shipping-calculator-form #calc_shipping_state").parent().find(".select-arrow").length&&jQuery(".avada-shipping-calculator-form select#calc_shipping_state").after('<div class="select-arrow">&#xe61f;</div>'),(jQuery(".avada-shipping-calculator-form input#calc_shipping_state").length||jQuery(".avada-shipping-calculator-form #calc_shipping_state_field .select2").length)&&jQuery(".avada-shipping-calculator-form #calc_shipping_state").parent().children(".select-arrow").remove(),calcSelectArrowDimensions()},1)}),jQuery("table.variations select, .variations-table select, .product-addon select").filter(":not(.yith_wccl_custom)").wrap('<div class="avada-select-parent"></div>'),jQuery('<div class="select-arrow">&#xe61f;</div>').appendTo("table.variations .avada-select-parent, .variations-table .avada-select-parent, .product-addon .avada-select-parent"),jQuery(".wpcf7-select:not([multiple])").wrap('<div class="wpcf7-select-parent"></div>'),jQuery('<div class="select-arrow">&#xe61f;</div>').appendTo(".wpcf7-select-parent"),jQuery("#bbp_stick_topic_select, #bbp_topic_status_select, #bbp_forum_id, #bbp_destination_topic, #wpfc_sermon_sorting select").wrap('<div class="avada-select-parent"></div>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".variations_form select").on("change",function(){jQuery(".product #slider").length&&1<jQuery(".product #slider .slides li").length&&jQuery(".product #slider").flexslider(0)}),calcSelectArrowDimensions())}function removeAvadaSelectStyles(){Number(avadaSelectVars.avada_drop_down)||(jQuery("select").each(function(){jQuery(this).parent().is(".avada-select-parent")&&(1===jQuery(this).closest(".avada-select-parent").attr("class").split(" ").length?jQuery(this).unwrap():jQuery(this).closest(".avada-select-parent").removeClass("avada-select-parent"))}),jQuery("select").removeClass("avada-select avada-select-parent wpcf7-select-parent"),jQuery(".select-arrow").remove())}jQuery(window).on("load fusion-element-render-fusion_tb_woo_cart  fusion-element-render-fusion_tb_woo_checkout_tabs  fusion-element-render-fusion_tb_woo_checkout_billing fusion-element-render-fusion_tb_woo_checkout_shipping fusion-element-render-fusion_woo_cart_shipping",function(){addAvadaSelectStyles(),jQuery(window).on("DestoryAvadaSelect",removeAvadaSelectStyles),jQuery(window).on("AddAvadaSelect",addAvadaSelectStyles)});
var avadaToTopVars={"status_totop":"desktop_and_mobile","totop_position":"right","totop_scroll_down_only":"0"};function avadaUpdateToTopPostion(){var o=avadaToTopVars.totop_position.split("_");o=2===o.length?"to-top-"+o[0]+" to-top-"+o[1]:"to-top-"+o[0],jQuery(".to-top-container").attr("class","to-top-container"),jQuery(".to-top-container").addClass(o)}jQuery(document).ready(function(){var o=0,a=jQuery("html").hasClass("ua-edge")||jQuery("html").hasClass("ua-safari-12")||jQuery("html").hasClass("ua-safari-11")||jQuery("html").hasClass("ua-safari-10")?"body":"html";jQuery(".fusion-top-top-link").on("click",function(o){o.preventDefault(),(cssua.ua.mobile&&-1!==avadaToTopVars.status_totop.indexOf("mobile")||!cssua.ua.mobile)&&jQuery(a).animate({scrollTop:0},1200,"easeInOutExpo")}),jQuery(window).on("scroll",function(){var a=jQuery(this).scrollTop();200<a&&(a>=o||1!==parseInt(avadaToTopVars.totop_scroll_down_only))?jQuery(".fusion-top-top-link").addClass("fusion-to-top-active"):jQuery(".fusion-top-top-link").removeClass("fusion-to-top-active"),o=a}),jQuery(window).on("updateToTopPostion",avadaUpdateToTopPostion)});
var avadaMenuVars={"site_layout":"wide","header_position":"top","logo_alignment":"left","header_sticky":"","header_sticky_mobile":"","header_sticky_tablet":"","side_header_break_point":"1023","megamenu_base_width":"custom_width","mobile_menu_design":"modern","dropdown_goto":"Go to...","mobile_nav_cart":"Shopping Cart","mobile_submenu_open":"Open submenu of %s","mobile_submenu_close":"Close submenu of %s","submenu_slideout":"1"};function resizeOverlaySearch(){var e=0,n=!0,i=0,s=!0;jQuery(".fusion-main-menu:not(.fusion-sticky-menu)").is(":visible")||(n=!1,jQuery(".fusion-main-menu:not(.fusion-sticky-menu)").css("display","block")),jQuery(".fusion-main-menu:not(.fusion-sticky-menu) .fusion-menu > li").each(function(){e+=jQuery(this).outerWidth(!0)}),jQuery(".fusion-main-menu:not(.fusion-sticky-menu) .fusion-overlay-search").css("max-width",e+"px"),n||jQuery(".fusion-main-menu:not(.fusion-sticky-menu)").css("display",""),jQuery(".fusion-main-menu.fusion-sticky-menu").is(":visible")||(s=!1,jQuery(".fusion-main-menu.fusion-sticky-menu").css("display","block")),jQuery(".fusion-main-menu.fusion-sticky-menu .fusion-menu > li").each(function(){i+=jQuery(this).outerWidth(!0)}),jQuery(".fusion-main-menu.fusion-sticky-menu .fusion-overlay-search").css("max-width",i+"px"),s||jQuery(".fusion-main-menu.fusion-sticky-menu").css("display","")}jQuery(document).ready(function(){"use strict";var e;function n(){jQuery.fn.fusion_position_menu_dropdown&&(jQuery(".fusion-dropdown-menu, .fusion-dropdown-menu li").on("mouseenter",function(){jQuery(this).fusion_position_menu_dropdown()}),jQuery(".fusion-dropdown-menu > ul > li").each(function(){jQuery(this).walk_through_menu_items()}),jQuery(window).on("fusion-resize-horizontal",function(){jQuery(".fusion-dropdown-menu > ul > li").each(function(){jQuery(this).walk_through_menu_items()})}))}function i(){jQuery.fn.fusion_position_megamenu&&(jQuery(".fusion-main-menu > ul").fusion_position_megamenu(),jQuery(document.body).on("mouseenter",".fusion-main-menu .fusion-megamenu-menu",function(){jQuery(this).parent().fusion_position_megamenu()}),jQuery(window).on("resize",function(){jQuery(".fusion-main-menu > ul").fusion_position_megamenu()})),jQuery.fn.calc_megamenu_widths&&(jQuery(".fusion-main-menu > ul").calc_megamenu_widths(),jQuery(window).on("resize",function(){jQuery(".fusion-main-menu > ul").calc_megamenu_widths()}))}function s(e){"top"===avadaMenuVars.header_position&&(jQuery(e).on("mouseenter",function(){jQuery(this).find("> div").length&&0>jQuery(this).find("> div").offset().left&&jQuery(this).find("> div").css({left:"0",right:"auto"}),jQuery(this).find("> div").length&&jQuery(this).find("> div").offset().left+jQuery(this).find("> div").width()>jQuery(window).width()&&jQuery(this).find("> div").css({left:"auto",right:"0"})}),jQuery(window).on("fusion-resize-horizontal",function(){jQuery(e).find("> div").each(function(){var e=jQuery(this),n=e.outerWidth(),i=e.offset().left,s=i+n,u=e.parent().offset().left,t=jQuery(window).width();jQuery("body.rtl").length?parseInt(i,10)===parseInt(u,10)&&s>t||i<u&&s+n>t?e.css({left:"auto",right:"0"}):e.css({left:"0",right:"auto"}):i<u&&0>i||parseInt(i,10)===parseInt(u,10)&&0>i-n?e.css({left:"0",right:"auto"}):e.css({left:"auto",right:"0"})})}))}function u(){jQuery(".fusion-mobile-nav-holder").not(".fusion-mobile-sticky-nav-holder").each(function(){var e=jQuery(this),n="",i="",s="";(i=jQuery(".fusion-mobile-navigation").length?jQuery(this).parent().find(".fusion-mobile-navigation, .fusion-secondary-menu").not(".fusion-sticky-menu"):jQuery(this).parent().find(".fusion-main-menu, .fusion-secondary-menu").not(".fusion-sticky-menu")).length&&("classic"!==avadaMenuVars.mobile_menu_design||e.find(".fusion-mobile-selector").length||(e.append('<button class="fusion-mobile-selector" aria-expanded="false"><span>'+avadaMenuVars.dropdown_goto+"</span></button>"),jQuery(this).find(".fusion-mobile-selector").append('<div class="fusion-selector-down"></div>')),jQuery(e).find("ul").length||jQuery(e).append(jQuery(i).find("> ul").clone()),void 0!==(s=(n=jQuery(e).find("> ul")).attr("id"))&&0!==s.indexOf("mobile-menu-")&&n.attr("id","mobile-"+s),n.removeClass("fusion-middle-logo-ul"),"classic"===avadaMenuVars.mobile_menu_design&&e.find(".fusion-mobile-selector").attr("aria-controls",n.attr("id")),n.find(".fusion-middle-logo-menu-logo, .fusion-caret, .fusion-menu-login-box .fusion-custom-menu-item-contents, .fusion-menu-cart .fusion-custom-menu-item-contents, .fusion-main-menu-search, li> a > span > .button-icon-divider-left, li > a > span > .button-icon-divider-right, .fusion-arrow-svg, .fusion-dropdown-svg").remove(),(jQuery(".no-mobile-slidingbar").length||"classic"!==avadaMenuVars.mobile_menu_design)&&n.find(".fusion-main-menu-sliding-bar").remove(),"classic"===avadaMenuVars.mobile_menu_design?n.find(".fusion-menu-cart > a").html(avadaMenuVars.mobile_nav_cart):n.find(".fusion-main-menu-cart").remove(),n.find("li").each(function(){var e="fusion-mobile-nav-item";jQuery(this).data("classes")&&(e+=" "+jQuery(this).data("classes")),jQuery(this).find("img").hasClass("wpml-ls-flag")&&(e+=" wpml-ls-item"),jQuery(this).hasClass("menu-item-has-children")&&(e+=" menu-item-has-children"),jQuery(this).find("> a > .menu-text").removeAttr("class").addClass("menu-text"),(jQuery(this).hasClass("current-menu-item")||jQuery(this).hasClass("current-menu-parent")||jQuery(this).hasClass("current-menu-ancestor"))&&(e+=" fusion-mobile-current-nav-item"),jQuery(this).attr("class",e),jQuery(this).attr("id")&&0!==jQuery(this).attr("id").indexOf("mobile-menu-item-")&&jQuery(this).attr("id",jQuery(this).attr("id").replace("menu-item","mobile-menu-item")),jQuery(this).attr("style","")}))}),jQuery(".fusion-mobile-sticky-nav-holder").each(function(){var e=jQuery(this),n="",i=jQuery(this).parent().find(".fusion-sticky-menu"),s="";"classic"!==avadaMenuVars.mobile_menu_design||e.find(".fusion-mobile-selector").length||(e.append('<button class="fusion-mobile-selector" aria-expanded="false"><span>'+avadaMenuVars.dropdown_goto+"</span></button>"),jQuery(this).find(".fusion-mobile-selector").append('<div class="fusion-selector-down"></div>')),jQuery(e).find("ul").length||jQuery(e).append(jQuery(i).find("> ul").clone()),void 0!==(s=(n=jQuery(e).find("> ul")).attr("id"))&&0!==s.indexOf("mobile-menu-")&&n.attr("id","mobile-"+s),"classic"===avadaMenuVars.mobile_menu_design&&e.find(".fusion-mobile-selector").attr("aria-controls",n.attr("id")),n.find(".fusion-middle-logo-menu-logo, .fusion-menu-cart, .fusion-menu-login-box, .fusion-main-menu-search, .fusion-arrow-svg, .fusion-dropdown-svg").remove(),(jQuery(".no-mobile-slidingbar").length||"classic"!==avadaMenuVars.mobile_menu_design)&&n.find(".fusion-main-menu-sliding-bar").remove(),n.find(".fusion-button").attr("class","menu-text"),n.find("li").each(function(){var e="fusion-mobile-nav-item";jQuery(this).data("classes")&&(e+=" "+jQuery(this).data("classes")),jQuery(this).find("img").hasClass("wpml-ls-flag")&&(e+=" wpml-ls-item"),(jQuery(this).hasClass("current-menu-item")||jQuery(this).hasClass("current-menu-parent")||jQuery(this).hasClass("current-menu-ancestor"))&&(e+=" fusion-mobile-current-nav-item"),jQuery(this).attr("class",e),jQuery(this).attr("id")&&0!==jQuery(this).attr("id").indexOf("mobile-menu-item-")&&jQuery(this).attr("id",jQuery(this).attr("id").replace("menu-item","mobile-menu-item")),jQuery(this).attr("style","")})}),jQuery(".fusion-mobile-nav-holder > ul > li").each(function(){jQuery(this).find(".fusion-megamenu-widgets-container").remove(),jQuery(this).find(".fusion-megamenu-holder > ul").each(function(){jQuery(this).attr("class","sub-menu"),jQuery(this).attr("style",""),jQuery(this).find("> li").each(function(){var e,n="fusion-mobile-nav-item";jQuery(this).data("classes")&&(n+=" "+jQuery(this).data("classes")),jQuery(this).find("img").hasClass("wpml-ls-flag")&&(n+=" wpml-ls-item"),(jQuery(this).hasClass("current-menu-item")||jQuery(this).hasClass("current-menu-parent")||jQuery(this).hasClass("current-menu-ancestor")||jQuery(this).hasClass("fusion-mobile-current-nav-item"))&&(n+=" fusion-mobile-current-nav-item"),jQuery(this).hasClass("menu-item-has-children")&&(n+=" menu-item-has-children"),jQuery(this).attr("class",n),jQuery(this).find(".fusion-megamenu-title a, > a").length||(jQuery(this).find(".fusion-megamenu-title").each(function(){jQuery(this).children("a").length||jQuery(this).append('<a href="#">'+jQuery(this).html()+"</a>")}),jQuery(this).find(".fusion-megamenu-title").length||(e=jQuery(this),jQuery(this).find(".sub-menu").each(function(){e.after(jQuery(this))}),jQuery("body").hasClass("fusion-builder-live")?(jQuery(this).addClass("fusion-hidden-mobile-menu-item"),jQuery(this).hide()):jQuery(this).remove())),jQuery(this).prepend(jQuery(this).find(".fusion-megamenu-title a, > a")),jQuery(this).find(".fusion-megamenu-title").remove()}),jQuery(this).closest(".fusion-mobile-nav-item").append(jQuery(this))}),jQuery(this).find(".fusion-megamenu-wrapper, .caret, .fusion-megamenu-bullet").remove()}),jQuery('.fusion-mobile-nav-holder .fusion-mobile-nav-item a:not([href="#"])').on("click",function(){""!==jQuery(this.hash).length&&this.hash.slice(1)&&(jQuery(this).parents(".fusion-mobile-menu-design-classic").length?jQuery(this).parents(".fusion-menu, .menu").hide().removeClass("mobile-menu-expanded"):jQuery(this).parents(".fusion-mobile-nav-holder").hide())}),avadaMenuVars.submenu_slideout&&"flyout"!==avadaMenuVars.mobile_menu_design&&(jQuery(".fusion-mobile-nav-holder > ul li").each(function(){var e,n,i="fusion-mobile-nav-item",s=jQuery(this).find(" > ul");jQuery(this).data("classes")&&(i+=" "+jQuery(this).data("classes")),jQuery(this).find("img").hasClass("wpml-ls-flag")&&(i+=" wpml-ls-item"),(jQuery(this).hasClass("current-menu-item")||jQuery(this).hasClass("current-menu-parent")||jQuery(this).hasClass("current-menu-ancestor")||jQuery(this).hasClass("fusion-mobile-current-nav-item"))&&(i+=" fusion-mobile-current-nav-item"),jQuery(this).hasClass("menu-item-has-children")&&(i+=" menu-item-has-children"),jQuery(this).attr("class",i),s.length&&0<(e=jQuery(this).find("> a")).length&&(n=void 0!==e.attr("title")?e.attr("title"):e.children(".menu-text").length?e.children(".menu-text").clone().children().remove().end().text():e[0].innerText,e.after('<button href="#" aria-label="'+avadaMenuVars.mobile_submenu_open.replace("%s",n)+'" aria-expanded="false" class="fusion-open-submenu"></button>'),s.hide())}),jQuery(".fusion-mobile-nav-holder .fusion-open-submenu").on("click",function(e){var n,i=jQuery(this).parent().children(".sub-menu"),s=jQuery(this).parent().children("a");n=void 0!==s.attr("title")?s.attr("title"):s.children(".menu-text").length?s.children(".menu-text").clone().children().remove().end().text():s[0].innerText,e.stopPropagation(),i.slideToggle(200,"easeOutQuad"),i.toggleClass("fusion-sub-menu-open"),i.hasClass("fusion-sub-menu-open")?(jQuery(this).attr("aria-label",avadaMenuVars.mobile_submenu_close.replace("%s",n)),jQuery(this).attr("aria-expanded","true")):(jQuery(this).attr("aria-label",avadaMenuVars.mobile_submenu_open.replace("%s",n)),jQuery(this).attr("aria-expanded","false"))}),jQuery(".fusion-mobile-nav-holder a:not(.fusion-menu-edit, .fusion-icon-sliding-bar)").on("click",function(e){"#"===jQuery(this).attr("href")&&("modal"===jQuery(this).data("toggle")?jQuery(this).trigger("show.bs.modal"):(e.preventDefault(),e.stopPropagation()),jQuery(this).next(".fusion-open-submenu").trigger("click"))}))}function t(){var e,n,i=jQuery(".fusion-header-has-flyout-menu"),s=0,u=i.find(".fusion-header").offset().top,t=Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: portrait)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)"),o=Modernizr.mq("only screen and (max-width: "+avadaMenuVars.side_header_break_point+"px)");jQuery("body").on("touchmove",function(e){jQuery(e.target).parents(".fusion-flyout-menu").length||e.preventDefault()}),1<=jQuery(".fusion-mobile-menu-design-flyout").length?(n=1<=jQuery(".fusion-is-sticky").length&&1<=jQuery(".fusion-mobile-sticky-nav-holder").length?i.find(".fusion-flyout-menu.fusion-mobile-sticky-nav-holder"):i.find(".fusion-flyout-menu:not(.fusion-mobile-sticky-nav-holder)"),i.find(".fusion-flyout-menu").css({display:"none"}),n.css({display:"flex"})):n=i.find(".fusion-flyout-menu"),jQuery(".fusion-header-has-flyout-menu .fusion-secondary-header").length&&(s+=jQuery(".fusion-header-has-flyout-menu .fusion-secondary-header").outerHeight()),jQuery("body").hasClass("layout-boxed-mode")&&(s+=jQuery("body").outerHeight(!0)-jQuery("body").outerHeight()),window.$wpadminbarHeight=fusion.getAdminbarHeight(),e=jQuery(".fusion-header-has-flyout-menu-content").height()+jQuery(".fusion-secondary-header").height()+window.$wpadminbarHeight,i.hasClass("fusion-flyout-menu-active")&&(n.css({height:"calc(100% - "+e+"px)","margin-top":e}),n.find(".fusion-menu").height()>n.height()&&n.css("display","flex")),!avadaMenuVars.header_sticky||t&&!avadaMenuVars.header_sticky_tablet||o&&!avadaMenuVars.header_sticky_mobile?(i.find(".fusion-header").css({position:"fixed",width:"100%","max-width":"100%",top:window.$wpadminbarHeight+s,"z-index":"210"}),jQuery(".fusion-header-sticky-height").css({display:"block",height:i.find(".fusion-header").outerHeight()})):u>window.$wpadminbarHeight&&(i.find(".fusion-header").css({position:"fixed",top:window.$wpadminbarHeight+s}),jQuery(".layout-boxed-mode").length&&i.find(".fusion-header").css("max-width",jQuery("#wrapper").outerWidth()+"px"),jQuery(".fusion-header-wrapper").css("height",""))}function o(){setTimeout(function(){var e=jQuery(".fusion-header-has-flyout-menu"),n=0,i=Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: portrait)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)"),s=Modernizr.mq("only screen and (max-width: "+avadaMenuVars.side_header_break_point+"px)");jQuery(".fusion-header-has-flyout-menu .fusion-secondary-header").length&&(n=jQuery(".fusion-header-has-flyout-menu .fusion-secondary-header").outerHeight()),e.find(".fusion-flyout-menu").css("display",""),!avadaMenuVars.header_sticky||i&&!avadaMenuVars.header_sticky_tablet||s&&!avadaMenuVars.header_sticky_mobile?(e.find(".fusion-header").attr("style",""),jQuery(".fusion-header-sticky-height").attr("style","")):"fixed"===e.find(".fusion-header").css("position")&&(e.find(".fusion-header").css("position",""),e.find(".fusion-header").offset().top>n&&e.find(".fusion-header").css("top",window.$wpadminbarHeight),jQuery(window).trigger("scroll")),jQuery("body").off("touchmove")},250)}jQuery(".fusion-dropdown-svg").length&&jQuery(".fusion-dropdown-svg").each(function(){var e=jQuery(this).parents("li").find("> .sub-menu > li:first-child");(jQuery(e).hasClass("current-menu-item")||jQuery(e).hasClass("current-menu-parent")||jQuery(e).hasClass("current_page_item"))&&jQuery(this).addClass("fusion-svg-active"),jQuery(e).not(".current-menu-item, .current-menu-parent, .current_page_item").find("> a").on("mouseenter mouseleave",function(){jQuery(this).parents("li").find(".fusion-dropdown-svg").toggleClass("fusion-svg-active")})}),jQuery.fn.fusion_position_menu_dropdown=function(){return"top"===avadaMenuVars.header_position&&!jQuery("body.rtl").length||"left"===avadaMenuVars.header_position?jQuery(this).children(".sub-menu").each(function(){var e,n,i,s,u,t,o,r,a,d,l,m,f,h=jQuery(this);h.removeAttr("style"),h.show(),h.removeData("shifted"),h.length&&(n=(e=h.offset()).left,t=(i=e.top)+(s=h.height()),o=n+(u=h.outerWidth()),a=fusion.getAdminbarHeight(),l=(d=jQuery(window).scrollTop())+jQuery(window).height(),o>jQuery(window).width()?(h.addClass("fusion-switched-side"),h.parent().parent(".sub-menu").length?h.css({left:-1*u}):h.css("left",-1*u+h.parent().width()),h.data("shifted",1)):h.parent().parent(".sub-menu").length&&(h.removeClass("fusion-switched-side"),h.parent().parent(".sub-menu").data("shifted")&&(h.css("left",-1*u),h.data("shifted",1))),"top"!==avadaMenuVars.header_position&&t>l&&(r=s<l?-1*(t-l+10):-1*(i-d-a),jQuery(".fusion-dropdown-svg").length&&(h.find("> li > a").off("mouseenter mouseleave"),h.parents("li").find(".fusion-dropdown-svg").removeClass("fusion-svg-active"),r=(m=Math.floor(r/h.find("li").outerHeight()))*h.find("li").outerHeight(),f=h.find("> li:nth-child( "+(Math.abs(m)+1)+")"),(jQuery(f).hasClass("current-menu-item")||jQuery(f).hasClass("current-menu-parent")||jQuery(f).hasClass("current_page_item"))&&h.parents("li").find(".fusion-dropdown-svg").addClass("fusion-svg-active"),jQuery(f).not(".current-menu-item, .current-menu-parent, .current_page_item").find("> a").on("mouseenter mouseleave",function(){h.parents("li").find(".fusion-dropdown-svg").toggleClass("fusion-svg-active")})),h.css("top",r)))}):jQuery(this).children(".sub-menu").each(function(){var e,n,i,s,u,t,o,r,a,d,l,m,f,h;jQuery(this).removeAttr("style"),jQuery(this).removeData("shifted"),(e=jQuery(this)).length&&(i=(n=e.offset()).left,s=n.top,u=e.height(),t=e.outerWidth(),o=s+u,r=fusion.getAdminbarHeight(),d=(a=jQuery(window).scrollTop())+jQuery(window).height(),m="right",0>i?(e.addClass("fusion-switched-side"),e.parent().parent(".sub-menu").length?i<t?e.attr("style",m+":"+-1*t+"px !important"):e.css(m,-1*t):e.css(m,-1*t+e.parent().width()),e.data("shifted",1)):e.parent().parent(".sub-menu").length&&(e.removeClass("fusion-switched-side"),e.parent().parent(".sub-menu").data("shifted")&&e.css(m,-1*t)),"top"!==avadaMenuVars.header_position&&o>d&&(l=u<d?-1*(o-d+10):-1*(s-a-r),jQuery(".fusion-dropdown-svg").length&&(e.find("> li > a").off("mouseenter mouseleave"),e.parents("li").find(".fusion-dropdown-svg").removeClass("fusion-svg-active"),l=(f=Math.floor(l/e.find("li").outerHeight()))*e.find("li").outerHeight(),h=e.find("> li:nth-child( "+(Math.abs(f)+1)+")"),(jQuery(h).hasClass("current-menu-item")||jQuery(h).hasClass("current-menu-parent")||jQuery(h).hasClass("current_page_item"))&&e.parents("li").find(".fusion-dropdown-svg").addClass("fusion-svg-active"),jQuery(h).not(".current-menu-item, .current-menu-parent, .current_page_item").find("> a").on("mouseenter mouseleave",function(){e.parents("li").find(".fusion-dropdown-svg").toggleClass("fusion-svg-active")})),e.css("top",l)))})},jQuery.fn.walk_through_menu_items=function(){jQuery(this).fusion_position_menu_dropdown(),jQuery(this).find(".sub-menu").length&&jQuery(this).find(".sub-menu li").walk_through_menu_items()},jQuery.fn.position_cart_dropdown=function(){"top"!==avadaMenuVars.header_position&&jQuery(this).find(".fusion-menu-cart-items").each(function(){var e,n,i,s=jQuery(this),u=s.height(),t=fusion.getAdminbarHeight(),o=jQuery(window).scrollTop(),r=jQuery(window).height(),a=o+r;s.css("top",""),(n=(e=s.offset().top)+u)>a&&(i=u<r?-1*(n-a+10):-1*(e-o-t),s.css("top",i))})},jQuery.fn.position_menu_search_form=function(){"top"!==avadaMenuVars.header_position&&jQuery(this).each(function(){var e,n,i=jQuery(this),s=i.outerHeight(),u=jQuery(window).scrollTop()+jQuery(window).height();i.css("top",""),(e=i.offset().top+s)>u&&(n=-1*(e-u+10),i.css("top",n))})},jQuery.fn.fusion_position_megamenu=function(){var e,n,i,s,u,t,o,r,a,d,l;return"top"===avadaMenuVars.header_position&&(o=jQuery(".fusion-secondary-main-menu").length?jQuery(".fusion-header-wrapper .fusion-secondary-main-menu .fusion-row"):jQuery(".fusion-header-wrapper .fusion-row"),r=o.width(),a=o.offset(),d=void 0!==a?a.left:0,l=d+r),jQuery(".side-header-left").length?this.each(function(){jQuery(this).children("li").each(function(){var e,n,i,s,u,t,o,r,a=jQuery(this).find(".fusion-megamenu-wrapper");a.length&&(a.removeAttr("style"),e=jQuery("#side-header").outerWidth()-1,s=(n=a.offset().top)+(i=a.height()),u=fusion.getAdminbarHeight(),t=jQuery(".side-header-wrapper").offset().top-u,o=jQuery(window).height(),jQuery("body.rtl").length?a.css({left:e,right:"auto"}):a.css("left",e),s>t+o&&jQuery(window).height()>=jQuery(".side-header-wrapper").height()&&(r=i<o?-1*(s-t-o+20):-1*(n-u),a.css("top",r)))})}):jQuery(".side-header-right").length?this.each(function(){jQuery(this).children("li").each(function(){var e,n,i,s,u,t,o,r,a=jQuery(this).find(".fusion-megamenu-wrapper");a.length&&(a.removeAttr("style"),e=-1*a.outerWidth(),s=(n=a.offset().top)+(i=a.height()),u=fusion.getAdminbarHeight(),t=jQuery(".side-header-wrapper").offset().top-u,o=jQuery(window).height(),jQuery("body.rtl").length?a.css({left:e,right:"auto"}):a.css("left",e),s>t+o&&jQuery(window).height()>=jQuery(".side-header-wrapper").height()&&(r=i<o?-1*(s-t-o+20):-1*(n-u),a.css("top",r)))})}):(e="",e=jQuery(".fusion-header-v4").length?jQuery(this).parent(".fusion-main-menu").parent():jQuery(this).parent(".fusion-main-menu"),jQuery(this).parent(".fusion-main-menu").length?(i=(n=e).offset(),s=n.width(),u=i.left,t=u+s,jQuery("body.rtl").length?this.each(function(){jQuery(this).children("li").each(function(){var e=jQuery(this),n=e.offset(),i=n.left+e.outerWidth(),s=e.find(".fusion-megamenu-wrapper"),a=s.outerWidth(),d=0;s.length&&(s.removeAttr("style"),r=o.width(),i-a<u&&(a===jQuery(window).width()?d=i-a:a>r?d=i-l+(r-a)/2:(d=-1*(n.left-(t-a)),d=-1*(a-(i-u)),("left"===avadaMenuVars.logo_alignment.toLowerCase()||"center"===avadaMenuVars.logo_alignment.toLowerCase()&&!jQuery(".header-v5").length||jQuery(this).parents(".sticky-header").length)&&i-d>t&&(d=-1*(t-i))),s.css("right",d)))})}):this.each(function(){jQuery(this).children("li").each(function(){var e=jQuery(this),n=e.offset(),i=e.find(".fusion-megamenu-wrapper"),s=i.outerWidth(),a=0;i.length&&(i.removeAttr("style"),r=o.width(),n.left+s>t&&(s===jQuery(window).width()?a=-1*n.left:s>r?a=d-n.left+(r-s)/2:(a=-1*(n.left-(t-s)),"right"===avadaMenuVars.logo_alignment.toLowerCase()&&n.left+a<u&&(a=-1*(n.left-u))),i.css("left",a)))})})):void 0)},jQuery.fn.calc_megamenu_widths=function(){jQuery(this).find(".fusion-megamenu-menu").each(function(){var e,n,i,s=jQuery(this).find(".fusion-megamenu-holder"),u=s.data("width");s.css("width",u),e=s.outerWidth(),"site_width"===avadaMenuVars.megamenu_base_width?"top"===avadaMenuVars.header_position?n=(jQuery(".fusion-secondary-main-menu").length?jQuery(".fusion-header-wrapper .fusion-secondary-main-menu .fusion-row"):jQuery(".fusion-header-wrapper .fusion-row")).width():"boxed"===avadaMenuVars.site_layout.toLowerCase()?n=jQuery("#main").outerWidth():(i=jQuery("#main").css("padding-left").replace("px",""),n=jQuery(window).width()-i-jQuery("#side-header").outerWidth()):n="viewport_width"===avadaMenuVars.megamenu_base_width&&"boxed"===avadaMenuVars.site_layout.toLowerCase()&&"top"!==avadaMenuVars.header_position?jQuery("#main").outerWidth():jQuery(window).width(),n<e?s.css("width",n):s.css("width",e)})},jQuery.fn.position_last_top_menu_item=function(){var e,n,i,s,u,t;(jQuery(this).children("ul").length||jQuery(this).children("div").length)&&(n=(e=jQuery(this)).position().left,u=(s=jQuery(".fusion-secondary-header .fusion-row")).position().left,t=s.outerWidth(),e.children("ul").length?i=e.children("ul"):e.children("div").length&&(i=e.children("div")),jQuery("body.rtl").length?i.position().left<n&&(i.css("left","-1px").css("right","auto"),i.find(".sub-menu").each(function(){jQuery(this).css("left","100px").css("right","auto")})):n+i.outerWidth()>u+t&&(i.css("right","-1px").css("left","auto"),i.find(".sub-menu").each(function(){jQuery(this).css("right","100px").css("left","auto")})))},n(),i(),u(),jQuery(window).on("header-rendered",function(){n(),i(),u()}),jQuery(document.body).on("mouseenter",".fusion-dropdown-menu",function(){jQuery(this).css("overflow","visible")}),jQuery(document.body).on("mouseleave",".fusion-dropdown-menu, .fusion-megamenu-menu, .fusion-custom-menu-item",function(){jQuery(this).css("overflow",""),jQuery(".fusion-active-link").removeClass("fusion-active-link")}),jQuery(document.body).on("click",".fusion-main-menu-search",function(e){e.stopPropagation()}),jQuery(document.body).on("click",".fusion-main-menu-search:not(.fusion-search-overlay) .fusion-main-menu-icon",function(e){e.preventDefault(),e.stopPropagation(),"block"===jQuery(this).parent().find(".fusion-custom-menu-item-contents").css("display")?(jQuery(this).parent().find(".fusion-custom-menu-item-contents").hide(),jQuery(this).parent().removeClass("fusion-main-menu-search-open"),jQuery(this).parent().find("style").remove(),jQuery(this).attr("aria-expanded","false")):(jQuery(this).parent().find(".fusion-custom-menu-item-contents").removeAttr("style"),jQuery(this).parent().find(".fusion-custom-menu-item-contents").show(),jQuery(this).parent().addClass("fusion-main-menu-search-open"),jQuery(this).parent().append("<style>.fusion-main-menu{overflow:visible!important;</style>"),jQuery(this).parent().find(".fusion-custom-menu-item-contents .s").focus(),jQuery(this).attr("aria-expanded","true"),"top"===avadaMenuVars.header_position&&(!jQuery("body.rtl").length&&0>jQuery(this).parent().find(".fusion-custom-menu-item-contents").offset().left&&jQuery(this).parent().find(".fusion-custom-menu-item-contents").css({left:"0",right:"auto"}),jQuery("body.rtl").length&&jQuery(this).parent().find(".fusion-custom-menu-item-contents").offset().left+jQuery(this).parent().find(".fusion-custom-menu-item-contents").width()>jQuery(window).width()&&jQuery(this).parent().find(".fusion-custom-menu-item-contents").css({left:"auto",right:"0"})))}),jQuery(document.body).on("click",".fusion-search-overlay .fusion-main-menu-icon, .fusion-close-search",function(e){var n=jQuery(".fusion-main-menu");e.preventDefault(),resizeOverlaySearch(),n.addClass("search-transition"),setTimeout(function(){n.removeClass("search-transition")},800),n.toggleClass("search-open"),n.hasClass("search-open")?(n.find('.fusion-search-field input[type="search"]').focus(),n.find(".fusion-main-menu-search").attr("aria-expanded","true")):n.find(".fusion-main-menu-search").attr("aria-expanded","false")}),jQuery("a").on("focus",function(){jQuery(".fusion-active-link ").removeClass("fusion-active-link"),jQuery(this).parents(".fusion-dropdown-menu, .fusion-main-menu-cart, .fusion-megamenu-menu, .fusion-custom-menu-item").length&&(jQuery(this).parents("li").addClass("fusion-active-link"),jQuery(".fusion-main-menu").css("overflow","visible"))}),jQuery(document).on("click",function(){jQuery(".fusion-main-menu-search-dropdown .fusion-main-menu-search .fusion-custom-menu-item-contents").hide(),jQuery(".fusion-main-menu-search-dropdown .fusion-main-menu-search").removeClass("fusion-main-menu-search-open"),jQuery(".fusion-main-menu-search-dropdown .fusion-main-menu-search").find("style").remove()}),jQuery(".fusion-header-wrapper .fusion-secondary-menu > ul > li:last-child").position_last_top_menu_item(),s(".fusion-main-menu .fusion-main-menu-cart"),s(".fusion-secondary-menu .fusion-menu-login-box"),jQuery(".fusion-megamenu-menu").on("mouseenter",function(){jQuery(this).find(".shortcode-map").length&&jQuery(this).find(".shortcode-map").each(function(){jQuery(this).reinitializeGoogleMap()})}),e=!1,jQuery(".fusion-megamenu-menu").on("mouseover",function(){jQuery(this).find(".fusion-megamenu-widgets-container iframe").each(function(){e||jQuery(this).attr("src",jQuery(this).attr("src")),e=!0})}),jQuery(".fusion-megamenu-wrapper iframe").on("mouseover",function(){jQuery(this).parents(".fusion-megamenu-widgets-container").css("display","block"),jQuery(this).parents(".fusion-megamenu-wrapper").css({opacity:"1",visibility:"visible"})}),jQuery(".fusion-megamenu-wrapper iframe").on("mouseout",function(){jQuery(this).parents(".fusion-megamenu-widgets-container").css("display",""),jQuery(this).parents(".fusion-megamenu-wrapper").css({opacity:"",visibility:""})}),jQuery(".fusion-main-menu").on("mouseenter",".fusion-menu-cart",function(){jQuery(this).position_cart_dropdown()}),jQuery(".fusion-main-menu .fusion-main-menu-search .fusion-main-menu-icon").on("click",function(){var e=jQuery(this);setTimeout(function(){e.parent().find(".fusion-custom-menu-item-contents").position_menu_search_form()},5)}),jQuery(window).on("fusion-resize-horizontal",function(){jQuery(".fusion-main-menu .fusion-main-menu-search .fusion-custom-menu-item-contents").position_menu_search_form()}),jQuery(document).on("click",".fusion-mobile-selector",function(){var e=jQuery(this).next("ul");e.hasClass("mobile-menu-expanded")?(e.removeClass("mobile-menu-expanded"),jQuery(this).attr("aria-expanded","false")):(e.addClass("mobile-menu-expanded"),jQuery(this).attr("aria-expanded","true")),e.slideToggle(200,"easeOutQuad"),jQuery(".fusion-mobile-menu-search").slideToggle(200,"easeOutQuad")}),jQuery(".fusion-is-sticky").length&&jQuery(".fusion-mobile-sticky-nav-holder").length?jQuery(".fusion-mobile-menu-icons .fusion-icon-bars").attr("aria-controls",jQuery(".fusion-mobile-sticky-nav-holder > ul").attr("id")):jQuery(".fusion-mobile-menu-icons .fusion-icon-bars").attr("aria-controls",jQuery(".fusion-mobile-nav-holder").not(".fusion-mobile-sticky-nav-holder").find("> ul").attr("id")),jQuery(window).on("scroll",function(){setTimeout(function(){jQuery(".fusion-is-sticky").length&&jQuery(".fusion-mobile-sticky-nav-holder").length?jQuery(".fusion-mobile-menu-icons .fusion-icon-bars").attr("aria-controls",jQuery(".fusion-mobile-sticky-nav-holder > ul").attr("id")):jQuery(".fusion-mobile-menu-icons .fusion-icon-bars").attr("aria-controls",jQuery(".fusion-mobile-nav-holder").not(".fusion-mobile-sticky-nav-holder").find("> ul").attr("id"))},50)}),jQuery(document).on("click",".fusion-mobile-menu-icons .fusion-icon-bars",function(e){var n,i;e.preventDefault(),n=1<=jQuery(".fusion-header-v4").length||1<=jQuery(".fusion-header-v5").length?".fusion-secondary-main-menu":1<=jQuery("#side-header").length?"#side-header":".fusion-header",(i=1<=jQuery(".fusion-is-sticky").length&&1<=jQuery(".fusion-mobile-sticky-nav-holder").length?jQuery(n).find(".fusion-mobile-sticky-nav-holder"):jQuery(n).find(".fusion-mobile-nav-holder").not(".fusion-mobile-sticky-nav-holder")).slideToggle(200,"easeOutQuad"),i.toggleClass("fusion-mobile-menu-expanded"),i.hasClass("fusion-mobile-menu-expanded")?jQuery(this).attr("aria-expanded","true"):jQuery(this).attr("aria-expanded","false")}),jQuery(document).on("click",".fusion-mobile-menu-icons .fusion-icon-search",function(e){e.preventDefault(),jQuery(".fusion-secondary-main-menu .fusion-secondary-menu-search, .side-header-wrapper .fusion-secondary-menu-search, .fusion-mobile-menu-search").slideToggle(200,"easeOutQuad")}),jQuery(document).on("click",".fusion-flyout-menu-icons .fusion-flyout-menu-toggle",function(e){var n=jQuery(".fusion-header-has-flyout-menu");e.preventDefault(),jQuery(document).off("keyup.flyoutSearchEsc"),jQuery(document).off("keyup.flyoutMenuEsc"),n.hasClass("fusion-flyout-active")?(n.hasClass("fusion-flyout-search-active")?(n.addClass("fusion-flyout-menu-active"),t(),jQuery(document).on("keyup.flyoutMenuEsc",function(e){27===e.keyCode&&document.querySelector(".fusion-flyout-menu-icons .fusion-flyout-menu-toggle").click()})):(n.removeClass("fusion-flyout-active"),n.removeClass("fusion-flyout-menu-active"),o()),n.removeClass("fusion-flyout-search-active")):(n.addClass("fusion-flyout-active"),n.addClass("fusion-flyout-menu-active"),t(),jQuery(document).on("keyup.flyoutMenuEsc",function(e){27===e.keyCode&&document.querySelector(".fusion-flyout-menu-icons .fusion-flyout-menu-toggle").click()}))}),jQuery(document).on("click",".fusion-flyout-menu-icons .fusion-flyout-search-toggle",function(e){var n=jQuery(".fusion-header-has-flyout-menu");e.preventDefault(),jQuery(document).off("keyup.flyoutSearchEsc"),jQuery(document).off("keyup.flyoutMenuEsc"),n.hasClass("fusion-flyout-active")?(n.hasClass("fusion-flyout-menu-active")?(n.addClass("fusion-flyout-search-active"),Modernizr.mq("only screen and (min-width:"+parseInt(avadaMenuVars.side_header_break_point,10)+"px)")&&n.find(".fusion-flyout-search .s").focus(),jQuery(document).on("keyup.flyoutSearchEsc",function(e){27===e.keyCode&&document.querySelector(".fusion-flyout-menu-icons .fusion-icon.fusion-icon-search").click()})):(n.removeClass("fusion-flyout-active"),n.removeClass("fusion-flyout-search-active"),o()),n.removeClass("fusion-flyout-menu-active")):(n.addClass("fusion-flyout-active"),n.addClass("fusion-flyout-search-active"),Modernizr.mq("only screen and (min-width:"+parseInt(avadaMenuVars.side_header_break_point,10)+"px)")&&n.find(".fusion-flyout-search .s").focus(),t(),jQuery(document).on("keyup.flyoutSearchEsc",function(e){27===e.keyCode&&document.querySelector(".fusion-flyout-menu-icons .fusion-icon.fusion-icon-search").click()}))}),jQuery("html").on("mouseenter",".fusion-no-touch .fusion-flyout-menu .menu-item a",function(){jQuery(this).parents(".fusion-flyout-menu").find(".fusion-flyout-menu-backgrounds #item-bg-"+jQuery(this).parent().data("item-id")).addClass("active")}),jQuery("html").on("mouseleave",".fusion-no-touch .fusion-flyout-menu .menu-item a",function(){jQuery(this).parents(".fusion-flyout-menu").find(".fusion-flyout-menu-backgrounds #item-bg-"+jQuery(this).parent().data("item-id")).removeClass("active")}),jQuery(window).on("resize",function(){jQuery(".fusion-mobile-menu-design-flyout").hasClass("fusion-flyout-active")&&Modernizr.mq("screen and (min-width: "+(parseInt(avadaHeaderVars.side_header_break_point,10)+1)+"px)")&&jQuery(".fusion-flyout-menu-icons .fusion-flyout-menu-toggle").trigger("click")})}),jQuery(window).on("load",function(){function e(){var e=0;Modernizr.mq("only screen and (max-width: "+avadaMenuVars.side_header_break_point+"px)")?(jQuery(".fusion-secondary-menu > ul").children("li").each(function(){e+=jQuery(this).outerWidth(!0)+2}),e>jQuery(window).width()&&318<jQuery(window).width()?window.mobileMenuSepAdded||(jQuery(".fusion-secondary-menu > ul").append('<div class="fusion-mobile-menu-sep"></div>'),jQuery(".fusion-secondary-menu > ul").css("position","relative"),jQuery(".fusion-mobile-menu-sep").css({position:"absolute",top:jQuery(".fusion-secondary-menu > ul > li").height()-1+"px",width:"100%","border-bottom-width":"1px","border-bottom-style":"solid"}),window.mobileMenuSepAdded=!0):(jQuery(".fusion-secondary-menu > ul").css("position",""),jQuery(".fusion-secondary-menu > ul").find(".fusion-mobile-menu-sep").remove(),window.mobileMenuSepAdded=!1)):(jQuery(".fusion-secondary-menu > ul").css("position",""),jQuery(".fusion-secondary-menu > ul").find(".fusion-mobile-menu-sep").remove(),window.mobileMenuSepAdded=!1)}window.mobileMenuSepAdded=!1,e(),"classic"===avadaMenuVars.mobile_menu_design&&(jQuery(".sh-mobile-nav-holder").append('<div class="mobile-selector" aria-expanded="false"><span>'+avadaMenuVars.dropdown_goto+"</span></div>"),jQuery(".sh-mobile-nav-holder .mobile-selector").append('<div class="selector-down"></div>')),jQuery(".sh-mobile-nav-holder").append(jQuery(".nav-holder .fusion-navbar-nav").clone()),jQuery(".sh-mobile-nav-holder .fusion-navbar-nav").attr("id","mobile-nav"),jQuery(".sh-mobile-nav-holder ul#mobile-nav").removeClass("fusion-navbar-nav"),jQuery(".sh-mobile-nav-holder ul#mobile-nav").children(".cart").remove(),jQuery(".sh-mobile-nav-holder ul#mobile-nav .mobile-nav-item").children(".login-box").remove(),jQuery(".sh-mobile-nav-holder ul#mobile-nav li").children("#main-nav-search-link").each(function(){jQuery(this).parents("li").remove()}),jQuery(".sh-mobile-nav-holder ul#mobile-nav").find("li").each(function(){var e="mobile-nav-item";(jQuery(this).hasClass("current-menu-item")||jQuery(this).hasClass("current-menu-parent")||jQuery(this).hasClass("current-menu-ancestor"))&&(e+=" mobile-current-nav-item"),jQuery(this).attr("class",e),jQuery(this).attr("id")&&jQuery(this).attr("id",jQuery(this).attr("id").replace("menu-item","mobile-menu-item")),jQuery(this).attr("style","")}),jQuery(".sh-mobile-nav-holder .mobile-selector").on("click",function(){jQuery(".sh-mobile-nav-holder #mobile-nav").hasClass("mobile-menu-expanded")?(jQuery(".sh-mobile-nav-holder #mobile-nav").removeClass("mobile-menu-expanded"),jQuery(this).attr("aria-expanded","false")):(jQuery(".sh-mobile-nav-holder #mobile-nav").addClass("mobile-menu-expanded"),jQuery(this).attr("aria-expanded","true")),jQuery(".sh-mobile-nav-holder #mobile-nav").slideToggle(200,"easeOutQuad")}),avadaMenuVars.submenu_slideout&&(jQuery(".header-wrapper .mobile-topnav-holder .mobile-topnav li, .header-wrapper .mobile-nav-holder .navigation li, .sticky-header .mobile-nav-holder .navigation li, .sh-mobile-nav-holder .navigation li").each(function(){var e="mobile-nav-item";(jQuery(this).hasClass("current-menu-item")||jQuery(this).hasClass("current-menu-parent")||jQuery(this).hasClass("current-menu-ancestor")||jQuery(this).hasClass("mobile-current-nav-item"))&&(e+=" mobile-current-nav-item"),jQuery(this).attr("class",e),jQuery(this).find(" > ul").length&&(jQuery(this).prepend('<span href="#" aria-haspopup="true" class="open-submenu"></span>'),jQuery(this).find(" > ul").hide())}),jQuery(".header-wrapper .mobile-topnav-holder .open-submenu, .header-wrapper .mobile-nav-holder .open-submenu, .sticky-header .mobile-nav-holder .open-submenu, .sh-mobile-nav-holder .open-submenu").on("click",function(e){e.stopPropagation(),jQuery(this).parent().children(".sub-menu").slideToggle(200,"easeOutQuad")})),("ontouchstart"in document.documentElement||navigator.msMaxTouchPoints)&&(jQuery(".fusion-main-menu li.menu-item-has-children > a, .fusion-secondary-menu li.menu-item-has-children > a, .order-dropdown > li .current-li").on("click",function(){var e=jQuery(this);return e.hasClass("hover")?(e.removeClass("hover"),!0):(e.addClass("hover"),jQuery(".fusion-main-menu li.menu-item-has-children > a, .fusion-secondary-menu li.menu-item-has-children > a, .order-dropdown > li .current-li").not(this).removeClass("hover"),!1)}),jQuery(".sub-menu li, .fusion-mobile-nav-item li").not("li.menu-item-has-children").on("click",function(){var e=jQuery(this).find("a").attr("href");return"_blank"!==jQuery(this).find("a").attr("target")&&(0<e.indexOf("#")&&(e="/"===e.charAt(e.indexOf("#")-1)?e.replace("#","#_"):e.replace("#","/#_")),window.location=e),!0})),jQuery(".fusion-main-menu li.menu-item-has-children > a, .fusion-secondary-menu li.menu-item-has-children > a, .side-nav li.page_item_has_children > a").each(function(){jQuery(this).attr("aria-haspopup","true")}),1<=jQuery(".megaResponsive").length&&jQuery(".mobile-nav-holder.main-menu").addClass("set-invisible"),"top"===avadaMenuVars.header_position&&jQuery(window).on("fusion-resize-horizontal",function(){jQuery(".main-nav-search").each(function(){var e,n,i,s,u,t;jQuery(this).hasClass("search-box-open")&&(n=(e=jQuery(this).find(".main-nav-search-form")).outerWidth(),s=(i=e.offset().left)+n,u=e.parent().offset().left,t=jQuery(window).width(),jQuery("body.rtl").length?parseInt(i,10)===parseInt(u,10)&&s>t||i<u&&s+n>t?e.css({left:"auto",right:"0"}):e.css({left:"0",right:"auto"}):i<u&&0>i||parseInt(i,10)===parseInt(u,10)&&0>i-n?e.css({left:"0",right:"auto"}):e.css({left:"auto",right:"0"}))})}),jQuery(window).on("fusion-resize-horizontal",function(){e()}),jQuery(".fusion-menu-login-box").each(function(){var e=jQuery(this),n=e.find(".fusion-custom-menu-item-contents");n.find('input[id="username"]').on("click",function(){e.addClass("fusion-active-login"),e.closest(".fusion-main-menu").css("overflow","visible")}),n.find('input[id="username"]').on("input",function(){e.hasClass("fusion-active-login")&&e.removeClass("fusion-active-login").addClass("fusion-active-link")}),n.find("input").not('[id="username"]').on("click",function(){e.removeClass("fusion-active-login").removeClass("fusion-active-link"),e.closest(".fusion-main-menu").css("overflow","")})}),jQuery(".fusion-main-menu .fusion-menu-login-box").length&&jQuery(".fusion-main-menu").on("mouseleave",function(){var e=jQuery(this),n=e.find(".fusion-menu-login-box");setTimeout(function(){"hidden"===n.css("overflow")&&e.css("overflow","")},10)}),jQuery(document).on("click",function(e){"fusion-custom-menu-item-contents"!==e.target.className&&"input-text"!==e.target.className&&(jQuery(".fusion-custom-menu-item-contents").parents(".fusion-custom-menu-item").removeClass("fusion-active-login").removeClass("fusion-active-link"),jQuery(".fusion-main-menu").css("overflow",""))})});
var avadaHeaderVars={"header_position":"top","header_sticky":"","header_sticky_type2_layout":"menu_only","header_sticky_shadow":"1","side_header_break_point":"1023","header_sticky_mobile":"","header_sticky_tablet":"","mobile_menu_design":"modern","sticky_header_shrinkage":"1","nav_height":"84","nav_highlight_border":"3","nav_highlight_style":"bar","logo_margin_top":"11px","logo_margin_bottom":"11px","layout_mode":"wide","header_padding_top":"0px","header_padding_bottom":"0px","scroll_offset":"full"};function fusionDisableStickyHeader(){jQuery(window).off(".stickyheader"),jQuery(".fusion-header-wrapper, .fusion-header-sticky-height, .fusion-header, .fusion-logo, .fusion-header-wrapper .fusion-main-menu > li a, .fusion-header-wrapper .fusion-secondary-main-menu").attr("style",""),jQuery(".fusion-is-sticky").removeClass("fusion-is-sticky")}function fusionInitStickyHeader(){var e,i,r,a,o,d,n,t=300,s=0;avadaHeaderVars.sticky_header_shrinkage||(t=0),e=jQuery(".fusion-header").parent(),window.$headerParentHeight=e.outerHeight(),window.$headerHeight=jQuery(".fusion-header").outerHeight(),i=parseInt(avadaHeaderVars.nav_height,10),window.$menuHeight=i,window.$scrolled_header_height=65,r=jQuery(".fusion-logo img:visible").length?jQuery(".fusion-logo img:visible"):"",a=!1,window.$stickyTrigger=jQuery(".fusion-header"),window.$wpadminbarHeight=fusion.getAdminbarHeight(),window.$stickyTrigger_position=window.$stickyTrigger.length?Math.round(window.$stickyTrigger.offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame:0,window.$woo_store_notice=jQuery(".woocommerce-store-notice").length&&jQuery(".woocommerce-store-notice").is(":visible")?jQuery(".woocommerce-store-notice").outerHeight():0,window.$top_frame=jQuery(".fusion-top-frame").is(":visible")?jQuery(".fusion-top-frame").outerHeight()-window.$woo_store_notice:0,window.sticky_header_type=1,window.$slider_offset=0,window.$site_width=jQuery("#wrapper").outerWidth(),window.$media_query_test_1=Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: portrait)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)"),window.$media_query_test_2=Modernizr.mq("screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)"),window.$media_query_test_3=Modernizr.mq("screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)"),window.$media_query_test_4=Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)"),window.$standardLogoHeight=jQuery(".fusion-standard-logo").height(),window.$logoMarginTop=""!==jQuery(".fusion-logo").data("margin-top")?parseInt(jQuery(".fusion-logo").data("margin-top"),10):0,window.$logoMarginBottom=""!==jQuery(".fusion-logo").data("margin-bottom")?parseInt(jQuery(".fusion-logo").data("margin-bottom"),10):0,window.$standardLogoHeight+=window.$logoMarginTop+window.$logoMarginBottom,window.$initial_desktop_header_height=Math.max(window.$headerHeight,Math.round(Math.max(window.$menuHeight,window.$standardLogoHeight)+parseFloat(jQuery(".fusion-header").find(".fusion-row").css("padding-top"))+parseFloat(jQuery(".fusion-header").find(".fusion-row").css("padding-bottom")))),window.$initial_sticky_header_shrinkage=avadaHeaderVars.sticky_header_shrinkage,window.$sticky_can_be_shrinked=!0,avadaHeaderVars.sticky_header_shrinkage||(t=0,window.$scrolled_header_height=window.$headerHeight),window.original_logo_height=0,""!==r&&(r[0].hasAttribute("data-retina_logo_url")?((o=new Image).src=r.attr("data-retina_logo_url"),window.original_logo_height=parseInt(r.height(),10)+parseInt(avadaHeaderVars.logo_margin_top,10)+parseInt(avadaHeaderVars.logo_margin_bottom,10)):((o=new Image).src=r.attr("src"),window.original_logo_height=parseInt(o.naturalHeight,10)+parseInt(avadaHeaderVars.logo_margin_top,10)+parseInt(avadaHeaderVars.logo_margin_bottom,10))),(1<=jQuery(".fusion-header-v4").length||1<=jQuery(".fusion-header-v5").length)&&(window.sticky_header_type=2,"menu_and_logo"===avadaHeaderVars.header_sticky_type2_layout||Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")&&"modern"===avadaHeaderVars.mobile_menu_design?window.$stickyTrigger=jQuery(".fusion-sticky-header-wrapper"):window.$stickyTrigger=jQuery(".fusion-secondary-main-menu"),window.$stickyTrigger_position=Math.round(window.$stickyTrigger.offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame),1===window.sticky_header_type?Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")?window.$scrolled_header_height=window.$headerHeight:window.$original_sticky_trigger_height=jQuery(window.$stickyTrigger).outerHeight():2===window.sticky_header_type&&("classic"===avadaHeaderVars.mobile_menu_design&&jQuery(e).height(window.$headerParentHeight),Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")?window.$scrolled_header_height=window.$headerParentHeight:jQuery(e).height(window.$headerParentHeight)),1<=jQuery("#side-header").length&&(window.sticky_header_type=3),jQuery(".fusion-secondary-header").length&&(s=jQuery(".fusion-secondary-header").outerHeight()),jQuery(document).height()-(window.$initial_desktop_header_height+s+window.$wpadminbarHeight-window.$scrolled_header_height)<jQuery(window).height()&&avadaHeaderVars.sticky_header_shrinkage?(window.$sticky_can_be_shrinked=!1,jQuery(".fusion-header-wrapper").removeClass("fusion-is-sticky")):window.$sticky_can_be_shrinked=!0,d=jQuery(window).width(),n=jQuery(window).height(),jQuery(window).on("resize.stickyheader",function(){var a,o,h,u,w,y;window.$media_query_test_1=Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: portrait)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)"),window.$media_query_test_2=Modernizr.mq("screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)"),window.$media_query_test_3=Modernizr.mq("screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)"),window.$media_query_test_4=Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)"),!Modernizr.mq("only screen and (min-width: "+avadaHeaderVars.side_header_break_point+"px)")||-1===avadaHeaderVars.header_padding_top.indexOf("%")&&-1===avadaHeaderVars.header_padding_bottom.indexOf("%")||jQuery(".fusion-is-sticky").length||(window.$headerHeight=Math.round(Math.max(window.$menuHeight,window.$standardLogoHeight)+parseFloat(jQuery(".fusion-header").find(".fusion-row").css("padding-top"))+parseFloat(jQuery(".fusion-header").find(".fusion-row").css("padding-bottom"))),jQuery(".fusion-header, .fusion-header-sticky-height").height(window.$headerHeight),avadaHeaderVars.sticky_header_shrinkage||(window.$scrolled_header_height=window.$headerHeight)),(-1!==avadaHeaderVars.header_padding_top.indexOf("%")||-1!==avadaHeaderVars.header_padding_bottom.indexOf("%")&&!jQuery(".fusion-is-sticky").length)&&(window.$initial_desktop_header_height=Math.max(window.$headerHeight,Math.round(Math.max(window.$menuHeight,window.$standardLogoHeight)+parseFloat(jQuery(".fusion-header").find(".fusion-row").css("padding-top"))+parseFloat(jQuery(".fusion-header").find(".fusion-row").css("padding-bottom"))))),!avadaHeaderVars.header_sticky_tablet&&window.$media_query_test_1?(jQuery(".fusion-header-wrapper, .fusion-header-sticky-height, .fusion-header, .fusion-logo, .fusion-header-wrapper .fusion-main-menu > li a, .fusion-header-wrapper .fusion-secondary-main-menu").attr("style",""),jQuery(".fusion-header-wrapper").removeClass("fusion-is-sticky")):avadaHeaderVars.header_sticky_tablet&&window.$media_query_test_1&&(t=0),avadaHeaderVars.header_sticky_mobile||!window.$media_query_test_2||window.$media_query_test_1?avadaHeaderVars.header_sticky_mobile&&window.$media_query_test_2&&!window.$media_query_test_1&&(t=0):(jQuery(".fusion-header-wrapper, .fusion-header-sticky-height, .fusion-header, .fusion-logo, .fusion-header-wrapper .fusion-main-menu > li a, .fusion-header-wrapper .fusion-secondary-main-menu").attr("style",""),jQuery(".fusion-header-wrapper").removeClass("fusion-is-sticky")),(jQuery("body").hasClass("fusion-builder-live")||d&&n&&(jQuery(window).width()!==d||jQuery(window).height()!==n))&&(i=parseInt(avadaHeaderVars.nav_height,10),window.$wpadminbarHeight=fusion.getAdminbarHeight(),window.$woo_store_notice=jQuery(".woocommerce-store-notice").length&&jQuery(".woocommerce-store-notice").is(":visible")?jQuery(".woocommerce-store-notice").outerHeight():0,jQuery(".fusion-is-sticky").length&&(a=jQuery(".fusion-header"),2===window.sticky_header_type&&(a="menu_only"!==avadaHeaderVars.header_sticky_type2_layout||"classic"!==avadaHeaderVars.mobile_menu_design&&window.$media_query_test_4?jQuery(".fusion-sticky-header-wrapper"):jQuery(".fusion-secondary-main-menu")),window.$wpadminbarHeight&&(jQuery(".fusion-header, .fusion-sticky-header-wrapper, .fusion-secondary-main-menu").css("top",""),jQuery(a).css("top",window.$wpadminbarHeight+window.$woo_store_notice+window.$top_frame)),"boxed"===avadaHeaderVars.layout_mode.toLowerCase()&&jQuery(a).css("max-width",jQuery("#wrapper").outerWidth()+"px")),1===window.sticky_header_type&&(avadaHeaderVars.sticky_header_shrinkage=window.$initial_sticky_header_shrinkage,jQuery(".fusion-header-wrapper").hasClass("fusion-is-sticky")||(jQuery(".fusion-secondary-header").length?window.$stickyTrigger_position=Math.round(jQuery(".fusion-secondary-header").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame+jQuery(".fusion-secondary-header").outerHeight():window.$stickyTrigger_position=Math.round(jQuery(".fusion-header").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame),Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")||(o=jQuery(".fusion-logo img:visible").length?jQuery(".fusion-logo img:visible").outerHeight()+parseInt(avadaHeaderVars.logo_margin_top,10)+parseInt(avadaHeaderVars.logo_margin_bottom,10):0,h=0,jQuery(".fusion-main-menu > ul > li").each(function(){h+=jQuery(this).outerWidth()}),jQuery(".fusion-header-v6").length&&(h=0),jQuery(".fusion-is-sticky").length?(h>jQuery(".fusion-header .fusion-row").width()-jQuery(".fusion-logo img:visible").outerWidth()?(window.$headerHeight=jQuery(".fusion-main-menu").outerHeight()+o,jQuery(".fusion-header-v7").length&&(window.$headerHeight=jQuery(".fusion-middle-logo-menu").height()),(jQuery(".fusion-header-v2").length||jQuery(".fusion-header-v3").length)&&(window.$headerHeight+=1)):avadaHeaderVars.sticky_header_shrinkage?window.$headerHeight=65:(window.original_logo_height>i?window.$headerHeight=window.original_logo_height:window.$headerHeight=i,window.$headerHeight+=parseFloat(jQuery(".fusion-header > .fusion-row").css("padding-top"))+parseFloat(jQuery(".fusion-header > .fusion-row").css("padding-bottom")),window.$headerHeight=Math.round(window.$headerHeight),(jQuery(".fusion-header-v2").length||jQuery(".fusion-header-v3").length)&&(window.$headerHeight+=1)),window.$scrolled_header_height=window.$headerHeight,jQuery(".fusion-header-sticky-height").css("height",window.$headerHeight),jQuery(".fusion-header").css("height",window.$headerHeight)):(u=jQuery(".fusion-header .fusion-row").width()-jQuery(".fusion-logo img:visible").outerWidth(),jQuery(".fusion-header-v7").length&&(u=jQuery(".fusion-header .fusion-row").width()),h>u?(window.$headerHeight=jQuery(".fusion-main-menu").outerHeight()+o,jQuery(".fusion-header-v7").length&&(window.$headerHeight=jQuery(".fusion-middle-logo-menu").height()),avadaHeaderVars.sticky_header_shrinkage=!1):(window.original_logo_height>i?window.$headerHeight=window.original_logo_height:window.$headerHeight=i,jQuery(".fusion-header-v7").length&&(window.$headerHeight=jQuery(".fusion-main-menu").outerHeight())),window.$headerHeight+=parseFloat(jQuery(".fusion-header > .fusion-row").css("padding-top"))+parseFloat(jQuery(".fusion-header > .fusion-row").css("padding-bottom")),window.$headerHeight=Math.round(window.$headerHeight),(jQuery(".fusion-header-v2").length||jQuery(".fusion-header-v3").length)&&(window.$headerHeight+=1),window.$scrolled_header_height=65,avadaHeaderVars.sticky_header_shrinkage||(window.$scrolled_header_height=window.$headerHeight),jQuery(".fusion-header-sticky-height").css("height",window.$headerHeight),jQuery(".fusion-header").css("height",window.$headerHeight))),Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")&&(jQuery(".fusion-header").css("height",""),window.$headerHeight=jQuery(".fusion-header").outerHeight(),window.$scrolled_header_height=window.$headerHeight,jQuery(".fusion-header-sticky-height").css("height",window.$scrolled_header_height))),2===window.sticky_header_type&&("modern"===avadaHeaderVars.mobile_menu_design&&(!Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")&&jQuery(".fusion-is-sticky").length&&"menu_only"===avadaHeaderVars.header_sticky_type2_layout?window.$headerParentHeight=jQuery(".fusion-header").parent().outerHeight()+jQuery(".fusion-secondary-main-menu").outerHeight():window.$headerParentHeight=jQuery(".fusion-header").parent().outerHeight(),window.$scrolled_header_height=window.header_parent_height,Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")||(window.$headerParentHeight=jQuery(".fusion-header").outerHeight()+jQuery(".fusion-secondary-main-menu").outerHeight(),window.$stickyTrigger_position=Math.round(jQuery(".fusion-header").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame+jQuery(".fusion-header").outerHeight(),jQuery(e).height(window.$headerParentHeight),jQuery(".fusion-header-sticky-height").css("height","")),Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")&&(jQuery(".fusion-secondary-header").length?window.$stickyTrigger_position=Math.round(jQuery(".fusion-secondary-header").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame+jQuery(".fusion-secondary-header").outerHeight():window.$stickyTrigger_position=Math.round(jQuery(".fusion-header").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame,jQuery(e).height(""),jQuery(".fusion-header-sticky-height").css("height",jQuery(".fusion-sticky-header-wrapper").outerHeight()))),"classic"===avadaHeaderVars.mobile_menu_design&&(window.$headerParentHeight=jQuery(".fusion-header").outerHeight()+jQuery(".fusion-secondary-main-menu").outerHeight(),window.$stickyTrigger_position=Math.round(jQuery(".fusion-header").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame+jQuery(".fusion-header").outerHeight(),jQuery(e).height(window.$headerParentHeight))),3===window.sticky_header_type&&(Modernizr.mq("only screen and (max-width:"+avadaHeaderVars.side_header_break_point+"px)")||(jQuery("#side-header-sticky").css({height:"",top:""}),jQuery("#side-header").hasClass("fusion-is-sticky")&&(jQuery("#side-header").css({top:"",position:""}),jQuery("#side-header").removeClass("fusion-is-sticky")))),jQuery(document).height()-(window.$initial_desktop_header_height+s+window.$wpadminbarHeight-window.$scrolled_header_height)<jQuery(window).height()&&avadaHeaderVars.sticky_header_shrinkage?(window.$sticky_can_be_shrinked=!1,jQuery(".fusion-header-wrapper").removeClass("fusion-is-sticky"),jQuery(".fusion-header").css("height",""),jQuery(".fusion-logo").css({"margin-top":"","margin-bottom":""}),jQuery(".fusion-main-menu > ul > li > a").css("height",""),jQuery(".fusion-logo img").css("height","")):(window.$sticky_can_be_shrinked=!0,1<=jQuery(".fusion-is-sticky").length&&(1!==window.sticky_header_type||Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")||(Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")?jQuery(".fusion-header-sticky-height").css("height",window.$scrolled_header_height):parseInt(window.$headerHeight,10)===parseInt(window.$initial_desktop_header_height,10)&&(jQuery(window.$stickyTrigger).stop(!0,!0).animate({height:window.$scrolled_header_height},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("overflow","visible")}}),jQuery(".fusion-header-sticky-height").stop(!0,!0).animate({height:window.$scrolled_header_height},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("overflow","visible")}})),avadaHeaderVars.sticky_header_shrinkage&&parseInt(window.$headerHeight,10)===parseInt(window.$initial_desktop_header_height,10)&&(r&&((w=r.height())<window.$scrolled_header_height-10?y=(window.$scrolled_header_height-w)/2:(w=window.$scrolled_header_height-10,y=5),r.stop(!0,!0).animate({height:w},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("display","")},step:function(){jQuery(this).css("display","")}})),jQuery(".fusion-logo").stop(!0,!0).animate({"margin-top":y,"margin-bottom":y},{queue:!1,duration:t,easing:"easeOutCubic"}),jQuery(".fusion-header-v6").length||jQuery(".fusion-main-menu > ul > li").not(".fusion-middle-logo-menu-logo").find("> a").stop(!0,!0).animate({height:window.$scrolled_header_height},{queue:!1,duration:t,easing:"easeOutCubic"}))))),d=jQuery(window).width(),n=jQuery(window).height())}),jQuery(window).on("scroll.stickyheader",function(){var e,o;if(window.$sticky_can_be_shrinked){if(!avadaHeaderVars.header_sticky_tablet&&window.$media_query_test_1)return;if(avadaHeaderVars.header_sticky_tablet&&window.$media_query_test_1&&(t=0),!avadaHeaderVars.header_sticky_mobile&&window.$media_query_test_2&&!window.$media_query_test_1)return;if(avadaHeaderVars.header_sticky_mobile&&window.$media_query_test_2&&(t=0),3===window.sticky_header_type&&!avadaHeaderVars.header_sticky_mobile)return;if(3===window.sticky_header_type&&!avadaHeaderVars.header_sticky_mobile&&!window.$media_query_test_3)return;0===jQuery(".fusion-is-sticky").length&&jQuery(".fusion-header, .fusion-secondary-main-menu, #side-header").find(".fusion-mobile-nav-holder > ul").is(":visible")&&(jQuery(".fusion-header-has-flyout-menu-content").length?window.$stickyTrigger_position=Math.round(jQuery(".fusion-header, .fusion-sticky-header-wrapper, #side-header").find(".fusion-header-has-flyout-menu-content").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame:window.$stickyTrigger_position=Math.round(jQuery(".fusion-header, .fusion-sticky-header-wrapper, #side-header").find(".fusion-mobile-nav-holder:visible").offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame+jQuery(".fusion-header, .fusion-sticky-header-wrapper, #side-header").find(".fusion-mobile-nav-holder:visible").height()),3!==window.sticky_header_type&&0===jQuery(".fusion-is-sticky").length&&!jQuery(".fusion-header, .fusion-secondary-main-menu").find(".fusion-mobile-nav-holder > ul").is(":visible")&&jQuery(".fusion-header").length&&(window.$stickyTrigger=jQuery(".fusion-header"),window.$stickyTrigger_position=Math.round(window.$stickyTrigger.offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame,2===window.sticky_header_type&&("menu_and_logo"===avadaHeaderVars.header_sticky_type2_layout||window.$media_query_test_4&&"modern"===avadaHeaderVars.mobile_menu_design?window.$stickyTrigger=jQuery(".fusion-sticky-header-wrapper"):window.$stickyTrigger=jQuery(".fusion-secondary-main-menu"),window.$stickyTrigger_position=Math.round(window.$stickyTrigger.offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame),"modern"!==avadaHeaderVars.mobile_menu_design||2!==window.sticky_header_type||!window.$media_query_test_4&&"menu_and_logo"!==avadaHeaderVars.header_sticky_type2_layout||(window.$headerHeight=jQuery(window.$stickyTrigger).outerHeight(),window.$scrolled_header_height=window.$headerHeight,jQuery(".fusion-header-sticky-height").css("height",window.$scrolled_header_height))),3!==window.sticky_header_type||0!==jQuery(".fusion-is-sticky").length||jQuery("#side-header").find(".fusion-mobile-nav-holder > ul").is(":visible")||(window.$stickyTrigger=jQuery("#side-header"),window.$stickyTrigger_position=Math.round(window.$stickyTrigger.offset().top)-window.$wpadminbarHeight-window.$woo_store_notice-window.$top_frame),jQuery(window).scrollTop()>window.$stickyTrigger_position?!1===a&&(window.$woo_store_notice=jQuery(".woocommerce-store-notice").length&&jQuery(".woocommerce-store-notice").is(":visible")?jQuery(".woocommerce-store-notice").outerHeight():0,jQuery(".fusion-header-wrapper").addClass("fusion-is-sticky"),"function"==typeof resizeOverlaySearch&&resizeOverlaySearch(),jQuery(window.$stickyTrigger).css("top",window.$wpadminbarHeight+window.$woo_store_notice+window.$top_frame),r=jQuery(".fusion-logo img:visible"),"modern"===avadaHeaderVars.mobile_menu_design?(jQuery(".fusion-header, .fusion-secondary-main-menu, #side-header").find(".fusion-mobile-nav-holder").hide(),jQuery(".fusion-secondary-main-menu .fusion-main-menu-search .fusion-custom-menu-item-contents").hide(),jQuery(".fusion-mobile-menu-search").hide()):"classic"===avadaHeaderVars.mobile_menu_design&&(jQuery(".fusion-header, .fusion-secondary-main-menu, #side-header").find(".fusion-mobile-nav-holder > ul").hide(),jQuery(".fusion-mobile-menu-search").hide()),"modern"===avadaHeaderVars.mobile_menu_design&&1<=jQuery(".fusion-is-sticky").length&&1<=jQuery(".fusion-mobile-sticky-nav-holder").length&&jQuery(".fusion-mobile-nav-holder").is(":visible")&&jQuery(".fusion-mobile-nav-holder").not(".fusion-mobile-sticky-nav-holder").hide(),"boxed"===avadaHeaderVars.layout_mode.toLowerCase()&&jQuery(window.$stickyTrigger).css("max-width",jQuery("#wrapper").outerWidth()),1===window.sticky_header_type&&(Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")?jQuery(".fusion-header-sticky-height").css("height",window.$scrolled_header_height):parseInt(window.$headerHeight,10)===parseInt(window.$initial_desktop_header_height,10)&&(jQuery(window.$stickyTrigger).stop(!0,!0).animate({height:window.$scrolled_header_height},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("overflow","visible")}}),jQuery(".fusion-header-sticky-height").stop(!0,!0).animate({height:window.$scrolled_header_height},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("overflow","visible")}})),"1"!==avadaHeaderVars.header_sticky_shadow&&1!==avadaHeaderVars.header_sticky_shadow&&!0!==avadaHeaderVars.header_sticky_shadow&&"true"!==avadaHeaderVars.header_sticky_shadow||setTimeout(function(){jQuery(".fusion-header").addClass("fusion-sticky-shadow")},150),avadaHeaderVars.sticky_header_shrinkage&&parseInt(window.$headerHeight,10)===parseInt(window.$initial_desktop_header_height,10)&&(jQuery(window.$stickyTrigger).find(".fusion-row").stop(!0,!0).animate({"padding-top":0,"padding-bottom":0},{queue:!1,duration:t,easing:"easeOutCubic"}),r&&(e=r.height(),r.attr("data-logo-height",r.height()),r.attr("data-logo-width",r.width()),e<window.$scrolled_header_height-10?o=(window.$scrolled_header_height-e)/2:(e=window.$scrolled_header_height-10,o=5),r.stop(!0,!0).animate({height:e},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("display","")},step:function(){jQuery(this).css("display","")}})),jQuery(".fusion-logo").stop(!0,!0).animate({"margin-top":o,"margin-bottom":o},{queue:!1,duration:t,easing:"easeOutCubic"}),jQuery(".fusion-header-v6").length||jQuery(".fusion-main-menu > ul > li").not(".fusion-middle-logo-menu-logo").find("> a").stop(!0,!0).animate({height:window.$scrolled_header_height},{queue:!1,duration:t,easing:"easeOutCubic"}))),2===window.sticky_header_type&&"menu_and_logo"===avadaHeaderVars.header_sticky_type2_layout&&(jQuery(window.$stickyTrigger).css("height",""),window.$headerHeight=jQuery(window.$stickyTrigger).outerHeight(),window.$scrolled_header_height=window.$headerHeight,jQuery(window.$stickyTrigger).css("height",window.$scrolled_header_height),jQuery(".fusion-header-sticky-height").css("height",window.$scrolled_header_height)),3===window.sticky_header_type&&Modernizr.mq("only screen and (max-width:"+avadaHeaderVars.side_header_break_point+"px)")&&(jQuery("#side-header-sticky").css({height:jQuery("#side-header").outerHeight()}),jQuery("#side-header").css({position:"fixed",top:window.$wpadminbarHeight+window.$woo_store_notice+window.$top_frame}).addClass("fusion-is-sticky")),a=!0):jQuery(window).scrollTop()<=window.$stickyTrigger_position&&(jQuery(".fusion-header-wrapper").removeClass("fusion-is-sticky"),"function"==typeof resizeOverlaySearch&&resizeOverlaySearch(),jQuery(".fusion-header").removeClass("fusion-sticky-shadow"),r=jQuery(".fusion-logo img:visible"),"modern"===avadaHeaderVars.mobile_menu_design&&0===jQuery(".fusion-is-sticky").length&&1<=jQuery(".fusion-mobile-sticky-nav-holder").length&&jQuery(".fusion-mobile-nav-holder").is(":visible")&&jQuery(".fusion-mobile-sticky-nav-holder").hide(),1===window.sticky_header_type&&(Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")?jQuery(".fusion-header-sticky-height").css("height",window.$headerHeight):(1===window.sticky_header_type&&65===parseInt(window.$headerHeight,10)&&(window.$headerHeight=window.$initial_desktop_header_height),parseInt(window.$headerHeight,10)===parseInt(window.$initial_desktop_header_height,10)?(jQuery(window.$stickyTrigger).stop(!0,!0).animate({height:window.$headerHeight},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("overflow","visible")},step:function(){jQuery(this).css("overflow","visible")}}),jQuery(".fusion-header-sticky-height").stop(!0,!0).animate({height:window.$headerHeight},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("overflow","visible"),jQuery(this).css("display","")},step:function(){jQuery(this).css("overflow","visible")}})):jQuery(".fusion-header-v7").length&&(jQuery(".fusion-header-sticky-height").css("height",jQuery(".fusion-middle-logo-menu").height()),jQuery(".fusion-header").css("height",jQuery(".fusion-middle-logo-menu").height()))),avadaHeaderVars.sticky_header_shrinkage&&parseInt(window.$headerHeight,10)===parseInt(window.$initial_desktop_header_height,10)&&(jQuery(window.$stickyTrigger).find(".fusion-row").stop(!0,!0).animate({"padding-top":avadaHeaderVars.header_padding_top,"padding-bottom":avadaHeaderVars.header_padding_bottom},{queue:!1,duration:t,easing:"easeOutCubic"}),r&&r.stop(!0,!0).animate({height:r.data("logo-height")},{queue:!1,duration:t,easing:"easeOutCubic",complete:function(){jQuery(this).css("display",""),jQuery(".fusion-sticky-logo").css("height","")}}),jQuery(".fusion-logo").stop(!0,!0).animate({"margin-top":window.$logoMarginTop,"margin-bottom":window.$logoMarginBottom},{queue:!1,duration:t,easing:"easeOutCubic"}),jQuery(".fusion-header-v6").length||jQuery(".fusion-main-menu > ul > li").not(".fusion-middle-logo-menu-logo").find("> a").stop(!0,!0).animate({height:i},{queue:!1,duration:t,easing:"easeOutCubic"}))),2===window.sticky_header_type&&"menu_and_logo"===avadaHeaderVars.header_sticky_type2_layout&&(jQuery(window.$stickyTrigger).css("height",""),window.$headerHeight=jQuery(window.$stickyTrigger).outerHeight(),window.$scrolled_header_height=window.$headerHeight,jQuery(window.$stickyTrigger).css("height",window.$scrolled_header_height),jQuery(".fusion-header-sticky-height").css("height",window.$scrolled_header_height)),3===window.sticky_header_type&&Modernizr.mq("only screen and (max-width:"+avadaHeaderVars.side_header_break_point+"px)")&&(jQuery("#side-header-sticky").css({height:""}),jQuery("#side-header").css({position:""}).removeClass("fusion-is-sticky")),a=!1)}}),jQuery(window).trigger("scroll")}function getStickyHeaderHeight(e){var i=1,r=0,a=Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: portrait)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)");return e=e||!1,(jQuery(".fusion-header-v4").length||jQuery(".fusion-header-v5").length)&&(i=2),jQuery("#side-header").length&&(i="side"),avadaHeaderVars.header_sticky&&(jQuery(".fusion-header-wrapper").length||jQuery("#side-header").length)&&(1===i?(r=jQuery(".fusion-header").outerHeight(),e&&avadaHeaderVars.sticky_header_shrinkage&&(r=64)):2===i&&(r=jQuery(".fusion-secondary-main-menu").outerHeight(),"menu_and_logo"===avadaHeaderVars.header_sticky_type2_layout&&(r+=jQuery(".fusion-header").outerHeight())),Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")&&(avadaHeaderVars.header_sticky_mobile?(r=jQuery(".fusion-header").outerHeight(),2===i&&"classic"===avadaHeaderVars.mobile_menu_design?(r=jQuery(".fusion-secondary-main-menu").find(".fusion-mobile-selector").height()+14,"menu_and_logo"===avadaHeaderVars.header_sticky_type2_layout&&(r+=jQuery(".fusion-header").outerHeight())):"side"===i&&(r=jQuery("#side-header").outerHeight())):r=0),!avadaHeaderVars.header_sticky_tablet&&a&&(r=0)),r}function getWaypointTopOffset(){var e=0,i=Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1366px) and (orientation: portrait)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape)"),r=1;return(jQuery(".fusion-header-v4").length||jQuery(".fusion-header-v5").length)&&(r=2),jQuery("#side-header").length&&(r="side"),avadaHeaderVars.header_sticky&&(jQuery(".fusion-header-wrapper").length||jQuery("#side-header").length)&&(1===r?e=jQuery(".fusion-header").outerHeight()-1:2===r&&(e=jQuery(".fusion-secondary-main-menu").outerHeight(),"menu_and_logo"===avadaHeaderVars.header_sticky_type2_layout&&(e+=jQuery(".fusion-header").outerHeight()-1)),Modernizr.mq("only screen and (max-width: "+avadaHeaderVars.side_header_break_point+"px)")&&(avadaHeaderVars.header_sticky_mobile?(e=jQuery(".fusion-header").outerHeight()-1,"side"===r&&(e=jQuery("#side-header").outerHeight()-1)):e=0),!avadaHeaderVars.header_sticky_tablet&&i&&(e=0)),e}jQuery(window).on("load",function(){var e,i,r,a,o;jQuery(window).on("scroll",function(){jQuery("#sliders-container .tfs-slider").data("parallax")&&"wide"!==avadaHeaderVars.layout_mode.toLowerCase()&&!cssua.ua.tablet_pc&&!cssua.ua.mobile&&Modernizr.mq("only screen and (min-width: "+avadaHeaderVars.side_header_break_point+"px)")&&"full"===avadaHeaderVars.scroll_offset?(i=jQuery("#sliders-container .tfs-slider"),e=jQuery(window).scrollTop(),a=0,r=jQuery("body").css("marginTop"),r=parseInt(r,10),o=fusion.getAdminbarHeight(),avadaHeaderVars.header_sticky&&(1<=jQuery(".fusion-header-wrapper").length||1<=jQuery("#side-header").length)?(parseInt(jQuery(".fusion-header").height(),10),a=0):(r,a=parseInt(avadaHeaderVars.nav_height,10),1>jQuery("#side-header").length&&0),e>=o+r+a?(i.css("top",0),i.addClass("fusion-fixed-slider")):(i.css("top",0),i.removeClass("fusion-fixed-slider"))):jQuery("#sliders-container .tfs-slider.fusion-fixed-slider").length&&jQuery("#sliders-container .tfs-slider.fusion-fixed-slider").removeClass("fusion-fixed-slider")}),avadaHeaderVars.header_sticky&&(1<=jQuery(".fusion-header-wrapper").length||1<=jQuery("#side-header").length)&&fusionInitStickyHeader(),setTimeout(function(){!1,jQuery(window).trigger("resize"),!0},10),jQuery(window).on("resize",function(){jQuery(".woocommerce-store-notice").length&&jQuery(".woocommerce-store-notice").is(":visible")&&!jQuery(".fusion-top-frame").is(":visible")&&(jQuery("#wrapper").css("margin-top",jQuery(".woocommerce-store-notice").outerHeight()),jQuery(".sticky-header").length&&jQuery(".sticky-header").css("margin-top",jQuery(".woocommerce-store-notice").outerHeight())),jQuery(".sticky-header").length&&jQuery("body.admin-bar #header-sticky.sticky-header").css("top",fusion.getAdminbarHeight()+"px")})}),jQuery(document).ajaxComplete(function(){var e,i,r;jQuery(window).trigger("scroll"),1<=jQuery(".fusion-is-sticky").length&&window.$stickyTrigger&&3!==window.sticky_header_type&&!jQuery(".fusion-header-v6").length&&"background"!==avadaHeaderVars.nav_highlight_style&&(e=1>=Math.abs(jQuery(window.$stickyTrigger).height()-jQuery(".fusion-is-sticky .fusion-header > .fusion-row").outerHeight())?jQuery(".fusion-is-sticky .fusion-header > .fusion-row"):jQuery(window.$stickyTrigger),i=parseInt(avadaHeaderVars.nav_highlight_border,10),r=e.height(),e.height()-i,2===window.sticky_header_type&&(r=(e=jQuery(".fusion-secondary-main-menu")).find(".fusion-main-menu > ul > li > a").outerHeight())-i,jQuery(".fusion-main-menu > ul > li").not(".fusion-middle-logo-menu-logo").find("> a").css("height",r+"px"))}),window.addEventListener("fusion-reinit-sticky-header",function(){void 0!==window.parent.FusionApp&&"off"===window.parent.FusionApp.preferencesData.sticky_header||(fusionDisableStickyHeader(),Number(avadaHeaderVars.header_sticky)&&setTimeout(function(){fusionInitStickyHeader()},20))}),window.addEventListener("fusion-disable-sticky-header",function(){fusionDisableStickyHeader()}),window.addEventListener("fusion-init-sticky-header",function(){fusionInitStickyHeader()}),window.addEventListener("fusion-resize-stickyheader",function(){jQuery(window).trigger("resize.stickyheader")});
var avadaSidebarsVars={"header_position":"top","header_layout":"v1","header_sticky":"","header_sticky_type2_layout":"menu_only","side_header_break_point":"1023","header_sticky_tablet":"","sticky_header_shrinkage":"1","nav_height":"84","sidebar_break_point":"800"};function fusionReSettStickySidebarStatus(){setStickySidebarStatus(calcStickySidebarOffset())}function setStickySidebarStatus(e){!Modernizr.mq("only screen and (max-width:"+avadaSidebarsVars.sidebar_break_point+"px)")&&Math.floor(jQuery("#content").height())>=Math.floor(jQuery("#main").height())?(jQuery(".fusion-sidebar-left.fusion-sticky-sidebar .fusion-sidebar-inner-content").hasClass("fusion-sidebar-stuck")||jQuery(".fusion-sidebar-left.fusion-sticky-sidebar .fusion-sidebar-inner-content").stick_in_parent({parent:"#main > .fusion-row",sticky_class:"fusion-sidebar-stuck",bottoming:!0,spacer:!1,offset_top:e}).on("sticky_kit:stick",function(e){var s=jQuery(e.target);jQuery("body").hasClass("double-sidebars")&&(s.css("margin-left","0"),s.parent().css({"margin-left":s.data("margin"),width:s.data("width")})),s.parent().children(".fusion-panel-shortcuts-wrapper").length&&(s.parent().removeClass("fusion-panel-customizable-needs-positioned"),s.prepend(s.parent().children(".fusion-panel-shortcuts-wrapper")))}).on("sticky_kit:unstick",function(e){var s=jQuery(e.target);jQuery("body").hasClass("double-sidebars")&&s.css("margin-left",s.data("margin")),s.children(".fusion-panel-shortcuts-wrapper").length&&(s.parent().addClass("fusion-panel-customizable-needs-positioned"),s.parent().prepend(s.children(".fusion-panel-shortcuts-wrapper")))}),jQuery(".fusion-sidebar-right.fusion-sticky-sidebar .fusion-sidebar-inner-content").hasClass("fusion-sidebar-stuck")||jQuery(".fusion-sidebar-right.fusion-sticky-sidebar .fusion-sidebar-inner-content").stick_in_parent({parent:"#main > .fusion-row",sticky_class:"fusion-sidebar-stuck",bottoming:!0,spacer:!1,offset_top:e}).on("sticky_kit:stick",function(e){var s=jQuery(e.target);jQuery("body").hasClass("double-sidebars")&&(s.css("margin-left","0"),s.parent().css({"margin-left":s.data("margin"),width:s.data("width")})),s.parent().children(".fusion-panel-shortcuts-wrapper").length&&(s.parent().removeClass("fusion-panel-customizable-needs-positioned"),s.prepend(s.parent().children(".fusion-panel-shortcuts-wrapper")))}).on("sticky_kit:unstick",function(e){var s=jQuery(e.target);jQuery("body").hasClass("double-sidebars")&&s.css("margin-left",s.data("margin")),s.children(".fusion-panel-shortcuts-wrapper").length&&(s.parent().addClass("fusion-panel-customizable-needs-positioned"),s.parent().prepend(s.children(".fusion-panel-shortcuts-wrapper")))})):(jQuery(".fusion-sidebar-left.fusion-sticky-sidebar .fusion-sidebar-inner-content").trigger("sticky_kit:detach"),jQuery(".fusion-sidebar-right.fusion-sticky-sidebar .fusion-sidebar-inner-content").trigger("sticky_kit:detach"))}function calcStickySidebarOffset(){var e=fusion.getAdminbarHeight()+50,s=!1;return jQuery(".fusion-tb-header").length&&"function"==typeof fusionGetStickyOffset?(s=fusionGetStickyOffset())?s+e:e:("top"===avadaSidebarsVars.header_position&&avadaSidebarsVars.header_sticky&&jQuery(".fusion-header").length&&("v4"===avadaSidebarsVars.header_layout||"v5"===avadaSidebarsVars.header_layout?"menu_only"===avadaSidebarsVars.header_sticky_type2_layout?e+=jQuery(".fusion-secondary-main-menu").height():e+=jQuery(".fusion-sticky-header-wrapper").height():avadaSidebarsVars.sticky_header_shrinkage?e+=66:e+=jQuery(".fusion-header").height()),e)}jQuery(document).ready(function(){var e,s=calcStickySidebarOffset();1<=jQuery("#sidebar-2").length&&(e=jQuery("#sidebar").css("float"),jQuery("body").addClass("sidebar-position-"+e)),setStickySidebarStatus(s),jQuery(window).on("fusion-resize-vertical",function(){fusionReSettStickySidebarStatus()})});
function fusionGetScrollOffset(){var t,e="function"==typeof getAdminbarHeight?getAdminbarHeight():0,o="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,n=parseInt(e+o+1,10);return jQuery(".fusion-tb-header").length&&"function"==typeof fusionGetStickyOffset?(t=fusionGetStickyOffset())?t+1:e:n}jQuery(document).ready(function(){jQuery("body").scrollspy({target:".fusion-menu",offset:fusionGetScrollOffset()}),jQuery(window).on("load fusion-sticky-change fusion-sticky-scroll-change",function(){jQuery("body").data()["bs.scrollspy"].options.offset=fusionGetScrollOffset()}),jQuery(window).on("fusion-sticky-transition-change",function(){setTimeout(function(){jQuery("body").data()["bs.scrollspy"].options.offset=fusionGetScrollOffset()},300)})});
!function(t){"use strict";function s(e,r){var i=t.proxy(this.process,this);this.$body=t("body"),this.$scrollElement=t(e).is("body")?t(window):t(e),this.options=t.extend({},s.DEFAULTS,r),this.selector=(this.options.target||"")+" li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",i),this.refresh(),this.process()}function e(e){return this.each(function(){var r=t(this),i=r.data("bs.scrollspy"),o="object"==typeof e&&e;i||r.data("bs.scrollspy",i=new s(this,o)),"string"==typeof e&&i[e]()})}s.VERSION="3.3.2",s.DEFAULTS={offset:10},s.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},s.prototype.refresh=function(){var s="offset",e=0;fusion.isWindow(this.$scrollElement[0])||(s="position",e=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var r=this;this.$body.find(this.selector).map(function(){var r=t(this),i=r.data("target")||r.attr("href"),o=/^#./.test(i)&&t(i);return o&&o.length&&o.is(":visible")&&[[o[s]().top+e,i]]||null}).sort(function(t,s){return t[0]-s[0]}).each(function(){r.offsets.push(this[0]),r.targets.push(this[1])})},s.prototype.process=function(){var t,s=this.$scrollElement.scrollTop()+this.options.offset,e=this.getScrollHeight(),r=this.options.offset+e-this.$scrollElement.height(),i=this.offsets,o=this.targets,l=this.activeTarget;if(this.scrollHeight!=e&&this.refresh(),s>=r)return l!=(t=o[o.length-1])&&this.activate(t);if(l&&s<i[0])return this.activeTarget=null,this.clear();for(t=i.length;t--;)l!=o[t]&&s>=i[t]&&(!i[t+1]||s<=i[t+1])&&this.activate(o[t])},s.prototype.activate=function(s){this.activeTarget=s,this.clear();var e=window.location.href.split("#"),r="/"==e[0].charAt(e[0].length-1)?e[0]:e[0]+"/",i=this.selector+'[data-target="'+s+'"],'+this.selector+'[href="'+s+'"],'+this.selector+'[href="'+r+s+'"]',o=t(i).parents("li").addClass("current-menu-item");o.parent(".sub-menu").length&&(o=o.closest("li.fusion-dropdown-menu").addClass("current-menu-item")),o.trigger("activate.bs.scrollspy"),o&&t(this.selector).blur()},s.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".current-menu-item").removeClass("current-menu-item"),t(this.selector).parentsUntil(this.options.target,".current-menu-parent").removeClass("current-menu-parent")};var r=t.fn.scrollspy;t.fn.scrollspy=e,t.fn.scrollspy.Constructor=s,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=r,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var s=t(this);e.call(s,s.data())})})}(jQuery);
var fusionTypographyVars={"site_width":"1170px","typography_sensitivity":"0.54","typography_factor":"1.50","elements":"h1, h2, h3, h4, h5, h6"};function fusionCalculateResponsiveTypeValues(e,t,i,n){fusionSetOriginalTypographyData(n)}function fusionSetOriginalTypographyData(e){var t="string"==typeof e&&-1!==e.indexOf("fusion-slider"),i=fusion.getElements(e);jQuery(i).each(function(e,i){var n,o,s,a,r;n=fusionTypographyVars.typography_factor,i.classList.contains("fusion-responsive-typography-calculated")?i.style.getPropertyValue("--fontSize")&&""!==i.style.getPropertyValue("--fontSize")||i.classList.remove("fusion-responsive-typography-calculated"):null!==i.closest(".fusion-slider-revolution")||null!==i.closest(".rev_slider")||null!==i.closest("#layerslider-container")||null!==i.closest(".ls-avada.ls-container")||null!==i.closest(".fusion-slider-container")&&!t||(s=window.getComputedStyle(i),a=!!s["font-size"]&&parseFloat(s["font-size"]),r=!!s["line-height"]&&parseFloat(s["line-height"]),!1!==a&&!1!==r&&(r=Math.round(r/a*100)/100,i.style.setProperty("--fontSize",a),i.setAttribute("data-fontsize",a),i.style.lineHeight=r,i.setAttribute("data-lineheight",s["line-height"]),window.fusionBaseFontSize||(window.fusionBaseFontSize=getComputedStyle(document.documentElement).getPropertyValue("--base-font-size")),t&&(void 0!==(o=jQuery(i).closest(".tfs-slider")).data("typo_factor")&&(n=o.data("typo_factor")),i.style.setProperty("--typography_sensitivity",jQuery(i).closest(".tfs-slider").data("typo_sensitivity"))),window.fusionBaseFontSize*n>a&&i.style.setProperty("--minFontSize",a),jQuery(i.querySelectorAll(".fusion-animated-texts-wrapper")).each(function(e,t){var i=window.getComputedStyle(t),n=!!i["font-size"]&&parseFloat(i["font-size"]),o=!!i["line-height"]&&parseFloat(i["line-height"]);t.style.fontSize=n/a+"em",t.style.lineHeight=Math.round(o/n*100)/100}),i.classList.add("fusion-responsive-typography-calculated")))})}function fusionInitTypography(){window.responsiveTypeElements=fusionTypographyVars.elements,0<fusionTypographyVars.typography_sensitivity&&fusionSetOriginalTypographyData(window.responsiveTypeElements)}document.body.classList.contains("fusion-builder-live")?window.onload=fusionInitTypography:fusion.ready(function(){fusionInitTypography()}),document.body.addEventListener("fusion-typography",function(e){var t,i=e.detail.heading,n=e.detail.values,o=fusion.getElements(i);jQuery(o).each(function(e,i){t=window.getComputedStyle(i),""!==i.parentNode.style.fontSize&&i.parentNode.classList.contains("fusion-title")?i.style.fontSize="1em":i.parentNode.getAttribute("data-inline-fontsize")&&i.getAttribute("data-inline-fontsize")?i.style.fontSize=i.getAttribute("data-inline-fontsize"):i.style.fontSize=n["font-size"],i.getAttribute("data-inline-lineheight")&&i.getAttribute("data-inline-lineheight")?i.style.lineHeight=i.getAttribute("data-inline-lineheight"):i.style.lineHeight=n["line-height"],i.setAttribute("data-fontsize",parseFloat(t["font-size"])),i.style.setProperty("--fontSize",parseFloat(t["font-size"])),i.classList.add("fusion-responsive-typography-calculated")})}),jQuery(document).ajaxComplete(function(){0<fusionTypographyVars.typography_sensitivity&&fusionSetOriginalTypographyData(window.responsiveTypeElements)}),jQuery(window).on("fusion-typography-reset",function(e,t){"undefined"!=typeof fusionTypographyVars&&0!==parseFloat(fusionTypographyVars.typography_sensitivity)&&fusionSetOriginalTypographyData(jQuery('div[data-cid="'+t+'"]').find(window.responsiveTypeElements))}),document.body.style.setProperty("--viewportWidth",window.screen.width),window.addEventListener("resize",function(){document.body.style.setProperty("--viewportWidth",window.screen.width)});
var fusionScrollToAnchorVars={"content_break_point":"800","container_hundred_percent_height_mobile":"0","hundred_percent_scroll_sensitivity":"200"};!function(e){"use strict";e.fn.fusion_scroll_to_anchor_target=function(t){var n,o,i,s,a,r,l,c=void 0!==e(this).attr("href")?e(this).attr("href"):e(this).data("link"),u=c.substr(c.indexOf("#")).slice(1),f=e("#"+u),h=e("html").hasClass("ua-edge")||e("html").hasClass("ua-safari-12")||e("html").hasClass("ua-safari-11")||e("html").hasClass("ua-safari-10")?"body":"html",d=e(".fusion-tb-header").length,g=!1,p=!1;if(t=void 0!==t?t:0,f.length&&""!==u){if((f.parents(".hundred-percent-height-scrolling").length||f.find(".hundred-percent-height-scrolling").length)&&(0!=fusionScrollToAnchorVars.container_hundred_percent_height_mobile||!Modernizr.mq("only screen and (max-width: "+fusionScrollToAnchorVars.content_break_point+"px)"))){if((l=f.hasClass("fusion-scroll-section-element")?f:f.parents(".fusion-scroll-section-element")).hasClass("active")&&l.offset().top>=e(window).scrollTop()&&l.offset().top<e(window).scrollTop()+e(window).height())return!1;if(location.hash&&"#_"===location.hash.substring(0,2)&&e(".fusion-page-load-link").addClass("fusion-page.load-scroll-section-link"),f.parents(".fusion-scroll-section").length)return f.parents(".fusion-scroll-section").hasClass("active")?f.parents(".fusion-scroll-section").find(".fusion-scroll-section-nav").find(".fusion-scroll-section-link[data-element="+l.data("element")+"]").trigger("click"):(r=Math.ceil(f.parents(".fusion-scroll-section").offset().top),e(h).animate({scrollTop:r},{duration:400,easing:"easeInExpo",complete:function(){setTimeout(function(){f.parents(".fusion-scroll-section").find(".fusion-scroll-section-nav").find(".fusion-scroll-section-link[data-element="+l.data("element")+"]").trigger("click"),location.hash&&"#_"===location.hash.substring(0,2)&&("history"in window&&"replaceState"in history&&history.replaceState("",window.location.href.replace("#_","#"),window.location.href.replace("#_","#")),e(".fusion-page-load-link").removeClass("fusion-page.load-scroll-section-link"))},parseInt(fusionScrollToAnchorVars.hundred_percent_scroll_sensitivity)+50)}})),!1}return n="function"==typeof getAdminbarHeight?getAdminbarHeight():0,i=e(document).scrollTop(),d?(e("body").addClass("fusion-scrolling-active"),(g=fusionGetStickyOffset())||(g=n),s=f.offset().top-g-t):(o="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,s=f.offset().top-n-o-t),a=Math.abs(i-s)/2,r=i>s?i-a:i+a,e(h).animate({scrollTop:r},{duration:400,easing:"easeInExpo",complete:function(){n="function"==typeof getAdminbarHeight?getAdminbarHeight():0,d?((g=fusionGetStickyOffset())||(g=n),s=f.offset().top-g-t):(o="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,s=f.offset().top-n-o-t),e(h).animate({scrollTop:s},450,"easeOutExpo",function(){location.hash&&"#_"===location.hash.substring(0,2)&&"history"in window&&"replaceState"in history&&history.replaceState("",window.location.href.replace("#_","#"),window.location.href.replace("#_","#")),d&&(p=fusionGetStickyOffset(),g!==p&&(s=f.offset().top-p-t,e(h).animate({scrollTop:s},450)),e("body").removeClass("fusion-scrolling-active"))})}}),(f.hasClass("tab-pane")||f.hasClass("tab-link"))&&"function"==typeof e.fn.fusionSwitchTabOnLinkClick&&setTimeout(function(){f.parents(".fusion-tabs").fusionSwitchTabOnLinkClick()},100),!1}}}(jQuery),jQuery(document).ready(function(){jQuery("body").on("click",'.fusion-menu a:not([href="#"], .fusion-megamenu-widgets-container a, .search-link), .fusion-widget-menu a, .fusion-secondary-menu a, .fusion-mobile-nav-item a:not([href="#"], .search-link), .fusion-button:not([href="#"], input, button), .fusion-one-page-text-link:not([href="#"]), .fusion-content-boxes .fusion-read-more:not([href="#"]), .fusion-imageframe > .fusion-no-lightbox, .content-box-wrapper:not(.link-area-box) .heading-link, a.woocommerce-review-link',function(e){var t,n,o,i,s,a,r=jQuery("body").hasClass("fusion-builder-live");if(jQuery(this).hasClass("avada-noscroll")||jQuery(this).parent().hasClass("avada-noscroll")||jQuery(this).is(".fusion-content-box-button, .fusion-tagline-button")&&jQuery(this).parents(".avada-noscroll").length)return!0;if(this.hash){if(a=jQuery(this).attr("target")?jQuery(this).attr("target"):"_self",i=(o=void 0!==(n=(t=jQuery(this).attr("href")).split("#"))[1]?n[1]:"").substring(0,1),"/"!==(s=n[0]).substring(s.length-1,s.length)&&(s+="/"),"!"===i||"/"===i)return;e.preventDefault(),location.pathname.replace(/^\//,"")!=this.pathname.replace(/^\//,"")&&"#"!==t.charAt(0)||""!==location.search&&-1===location.search.indexOf("lang=")&&-1===location.search.indexOf("builder=")&&!jQuery(this).hasClass("tfs-scroll-down-indicator")&&!jQuery(this).hasClass("fusion-same-page-scroll")?r||("/"===s&&""!==location.search&&(s=location.href.replace(location.search,"")),window.open(s+"#_"+o,a)):(jQuery(this).fusion_scroll_to_anchor_target(),"history"in window&&"replaceState"in history&&!r&&history.replaceState("",t,t),jQuery(this).parents(".fusion-menu-element-wrapper.flyout-submenu-expanded").length?jQuery(".fusion-close-flyout").trigger("click"):jQuery(this).parents(".fusion-flyout-menu").length&&jQuery(".fusion-flyout-menu-toggle").trigger("click"))}})}),location.hash&&"#_"===location.hash.substring(0,2)&&(jQuery(".fusion-page-load-link").attr("href",decodeURIComponent("#"+location.hash.substring(2))),jQuery(window).on("load",function(){jQuery(".fusion-blog-shortcode").length?setTimeout(function(){jQuery(".fusion-page-load-link").fusion_scroll_to_anchor_target()},300):jQuery(".fusion-page-load-link").fusion_scroll_to_anchor_target()}));
function checkHoverTouchState(){var e,o=!1;document.addEventListener("touchstart",function(){clearTimeout(e),o=!0,jQuery("body").addClass("fusion-touch"),jQuery("body").removeClass("fusion-no-touch"),e=setTimeout(function(){o=!1},500)}),document.addEventListener("mouseover",function(){o||(o=!1,jQuery("body").addClass("fusion-no-touch"),jQuery("body").removeClass("fusion-touch"))})}checkHoverTouchState(),jQuery(document).ready(function(){jQuery("input, textarea").placeholder()});
var fusionLightboxVars={"status_lightbox":"1","lightbox_gallery":"1","lightbox_skin":"smooth","lightbox_title":"","lightbox_arrows":"1","lightbox_slideshow_speed":"5000","lightbox_autoplay":"","lightbox_opacity":"0.95","lightbox_desc":"","lightbox_social":"1","lightbox_deeplinking":"1","lightbox_path":"horizontal","lightbox_post_images":"1","lightbox_animation_speed":"fast","l10n":{"close":"Press Esc to close","enterFullscreen":"Enter Fullscreen (Shift+Enter)","exitFullscreen":"Exit Fullscreen (Shift+Enter)","slideShow":"Slideshow","next":"Next","previous":"Previous"}};jQuery(document).ready(function(){jQuery(".fusion-vertical-menu-widget .current_page_item, .fusion-vertical-menu-widget .current-menu-item").each(function(){jQuery(this).find(".children, .sub-menu").length&&jQuery(this).find("> .children, > .sub-menu").show("slow")}),jQuery(".fusion-vertical-menu-widget .current_page_item , .fusion-vertical-menu-widget .current-menu-item").each(function(){jQuery(this).parent().hasClass("fusion-vertical-menu-widget")&&jQuery(this).find("ul").show("slow"),(jQuery(this).parent().hasClass("children")||jQuery(this).parent().hasClass("sub-menu"))&&jQuery(this).parents("ul").show("slow")})}),jQuery(window).on("load",function(){jQuery(".fusion-vertical-menu-widget.click li a .arrow").on("click",function(e){if(e.preventDefault(),(jQuery(this).parent().parent(".page_item_has_children").length||jQuery(this).parent().parent(".menu-item-has-children").length)&&(jQuery(this).parent().parent().find("> .children, > .sub-menu").length&&!jQuery(this).parent().parent().find("> .children, > .sub-menu").is(":visible")?jQuery(this).parent().parent().find("> .children, > .sub-menu").stop(!0,!0).slideDown("slow"):jQuery(this).parent().parent().find("> .children, > .sub-menu").stop(!0,!0).slideUp("slow")),jQuery(this).parent().parent(".page_item_has_children.current_page_item, .menu-item-has-children.current-menu-item").length)return!1}),jQuery(".fusion-vertical-menu-widget.hover li").hoverIntent({over:function(){jQuery(this).find("> .children, > .sub-menu").length&&jQuery(this).find("> .children, > .sub-menu").stop(!0,!0).slideDown("slow")},out:function(){(0===jQuery(this).find(".current_page_item").length&&!1===jQuery(this).hasClass("current_page_item")||0===jQuery(this).find(".current-menu-item").length&&!1===jQuery(this).hasClass("current-menu-item"))&&jQuery(this).find("> .children, > .sub-menu").stop(!0,!0).slideUp("slow")},timeout:500})});
var fusionVideoVars={"status_vimeo":"1"};jQuery(document).ready(function(){jQuery(".fusion-video").each(function(){!jQuery(this).parents(".fusion-modal").length&&1==jQuery(this).data("autoplay")&&jQuery(this).is(":visible")&&jQuery(this).find("iframe").each(function(){jQuery(this).attr("src",jQuery(this).attr("src").replace("autoplay=0","autoplay=1"))})}),jQuery(window).on("resize",function(){var e,i=document.querySelectorAll("iframe"),o=i.length;if(jQuery(".fusion-youtube").each(function(){jQuery(this).is(":visible")||jQuery(this).parents(".fusion-modal").length&&!jQuery(this).parents(".fusion-modal").is(":visible")||jQuery(this).find("iframe").each(function(){this.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}),"undefined"!=typeof Vimeo)for(e=0;e<o;e++)!(void 0!==i[e].src&&-1<i[e].src.toLowerCase().indexOf("vimeo"))||jQuery(i[e]).is(":visible")||jQuery(i[e]).data("privacy-src")&&jQuery(i[e]).hasClass("fusion-hidden")||jQuery(i[e]).parents(".fusion-modal").length&&!jQuery(i[e]).parents(".fusion-modal").is(":visible")||new Vimeo.Player(i[e]).pause()}),jQuery(window).on("fusion-element-render-fusion_youtube fusion-element-render-fusion_vimeo",function(e,i){(void 0!==i?jQuery('div[data-cid="'+i+'"]'):jQuery("body")).find(".full-video, .video-shortcode, .wooslider .slide-content").fitVids()})}),jQuery(window).on("fusion-dynamic-content-render",function(e,i){var o=jQuery(i).find(".fusion-youtube").find("iframe");0<o.length&&o.each(function(){var e;1!==jQuery(this).closest(".fusion-video").data("autoplay")&&"true"!==jQuery(this).closest(".fusion-video").data("autoplay")||(jQuery(this).closest(".fusion-video").data("autoplay","false"),e="playVideo",this.contentWindow.postMessage('{"event":"command","func":"'+e+'","args":""}',"*"))}),0<(o=jQuery(i).find(".fusion-vimeo").find("iframe")).length&&o.each(function(){1!==jQuery(this).closest(".fusion-video").data("autoplay")&&"true"!==jQuery(this).closest(".fusion-video").data("autoplay")||(jQuery(this).closest(".fusion-video").data("autoplay","false"),new Vimeo.Player(jQuery(this)[0]).play())})});
function fusionCalcColumnEqualHeights(){var n=".fusion-fullwidth:not(.fusion-equal-height-columns)",u=".fusion-fullwidth.fusion-equal-height-columns";jQuery(".fusion-fullwidth.fusion-equal-height-columns .fusion-builder-row-inner").each(function(){jQuery(this).find(".fusion-layout-column > .fusion-column-wrapper").not(function(n,u){return jQuery(u).parent(".fusion-column-wrapper").length||jQuery(u).parents(".fusion-events-shortcode").length?1:0}).equalHeights()}),jQuery(".fusion-fullwidth.fusion-equal-height-columns").each(function(){jQuery(this).find(".fusion-layout-column:not(.fusion-builder-row-inner .fusion-layout-column) > .fusion-column-wrapper").not(function(n,u){return jQuery(u).parentsUntil(".fusion-content-tb",".fusion-column-wrapper").length?1:0}).equalHeights()}),jQuery(n+" .fusion-recent-posts "+u+", "+n+" .fusion-posts-container "+u+", "+n+" .fusion-portfolio "+u).each(function(){jQuery(this).find(".fusion-layout-column .fusion-column-wrapper").not(function(n,u){return jQuery(u).parent(".fusion-column-wrapper").length?1:0}).equalHeights()}),jQuery(".fusion-layout-column > .fusion-column-wrapper > .fusion-column-wrapper").length?jQuery(".fusion-layout-column > .fusion-column-wrapper > .fusion-column-wrapper").fusion_calculate_empty_column_height():jQuery(".fusion-layout-column > .fusion-column-wrapper").fusion_calculate_empty_column_height()}jQuery(document).ready(function(){jQuery(".fusion-image-hovers .hover-type-liftup.fusion-column-inner-bg").on({mouseenter:function(){var n=jQuery(this).closest(".fusion_builder_column");jQuery(this).css("z-index","4"),jQuery(this).siblings(".fusion-column-wrapper").css("z-index","5"),"none"!==n.css("filter")&&"auto"===n.css("z-index")&&(n.css("z-index","1"),n.attr("data-filter-zindex","true"))},mouseleave:function(){var n=jQuery(this).closest(".fusion_builder_column");jQuery(this).css("z-index",""),jQuery(this).siblings(".fusion-column-wrapper").css("z-index",""),"true"===n.data("filter-zindex")&&(n.css("z-index",""),n.removeAttr("data-filter-zindex"))}})}),jQuery(window).on("load",function(){setTimeout(function(){fusionCalcColumnEqualHeights()},100),jQuery(".fusion-layout-column .fusion-column-wrapper").fusion_set_bg_img_dims(),jQuery(".fusion-layout-column > .fusion-column-wrapper > .fusion-column-wrapper").length?jQuery(".fusion-layout-column > .fusion-column-wrapper > .fusion-column-wrapper").fusion_calculate_empty_column_height():jQuery(".fusion-layout-column > .fusion-column-wrapper").fusion_calculate_empty_column_height(),jQuery(window).on("fusion-resize-horizontal fusion-live-editor-updated",function(){setTimeout(function(){fusionCalcColumnEqualHeights()},500)})}),jQuery(window).on("fusion-dynamic-content-render",function(n,u){var i=jQuery(u).find(".fusion-fullwidth.fusion-equal-height-columns");0<i.length&&i.each(function(){jQuery(this).find(".fusion-layout-column .fusion-column-wrapper").equalHeights()})}),window.fusionEqualHeightsCids=[],jQuery(window).on("fusion-element-render-fusion_builder_column fusion-option-change-equal_height_columns fusion-content-changed",function(n,u){var i=jQuery('div[data-cid="'+u+'"]').hasClass("fusion-builder-container")?jQuery('div[data-cid="'+u+'"]').find("> .fusion-fullwidth"):jQuery('div[data-cid="'+u+'"]').parents(".fusion-fullwidth");-1===window.fusionEqualHeightsCids.indexOf(i.closest(".fusion-builder-container").attr("data-cid"))&&(window.fusionEqualHeightsCids.push(i.closest(".fusion-builder-container").attr("data-cid")),setTimeout(function(){if(!i.hasClass("fusion-equal-height-columns"))return i.find(".fusion-column-wrapper").css("min-height",""),jQuery(".fusion-layout-column .fusion-column-wrapper").fusion_set_bg_img_dims(),jQuery('div[data-cid="'+u+'"]').find(".fusion-column-wrapper > .fusion-column-wrapper").length?jQuery('div[data-cid="'+u+'"]').find(".fusion-column-wrapper > .fusion-column-wrapper").fusion_calculate_empty_column_height():jQuery('div[data-cid="'+u+'"]').find(".fusion-column-wrapper").fusion_calculate_empty_column_height(),void(window.fusionEqualHeightsCids=_.without(window.fusionEqualHeightsCids,i.closest(".fusion-builder-container").attr("data-cid")));i.find(".fusion-builder-row-inner").each(function(){jQuery(this).find(".fusion-layout-column > .fusion-column-wrapper").not(function(n,u){return jQuery(u).parent(".fusion-column-wrapper").length||jQuery(u).parents(".fusion-events-shortcode").length?1:0}).equalHeights()}),i.find(".fusion-layout-column:not(.fusion-builder-row-inner .fusion-layout-column) > .fusion-column-wrapper").not(function(n,u){return jQuery(u).parents(".fusion-column-wrapper").length?1:0}).equalHeights(),jQuery('div[data-cid="'+u+'"]').find(".fusion-column-wrapper > .fusion-column-wrapper").length?jQuery('div[data-cid="'+u+'"]').find(".fusion-column-wrapper > .fusion-column-wrapper").fusion_calculate_empty_column_height():jQuery('div[data-cid="'+u+'"]').find(".fusion-column-wrapper").fusion_calculate_empty_column_height(),window.fusionEqualHeightsCids=_.without(window.fusionEqualHeightsCids,i.closest(".fusion-builder-container").attr("data-cid"))},100))});

}