// source --> https://farmescape.fi/wp-content/themes/customizr-pro/assets/front/js/tc-scripts.min.js?ver=2.4.27 
var smoothScroll,tcOutline,CZRParams=CZRParams||{_disabled:[],DisabledFeatures:{},centerAllImg:1,FancyBoxAutoscale:1,FancyBoxState:1,HasComments:"",LoadBootstrap:1,LoadModernizr:1,SliderDelay:5e3,SliderHover:1,SliderName:"demo",centerSliderImg:1,SmoothScroll:{Enabled:1,Options:{}},anchorSmoothScroll:"linear",anchorSmoothScrollExclude:{simple:["[class*=edd]",".carousel-control",'[data-toggle="modal"]','[data-toggle="dropdown"]','[data-toggle="tooltip"]','[data-toggle="popover"]','[data-toggle="collapse"]','[data-toggle="tab"]',"[class*=upme]","[class*=um-]"],deep:{classes:[],ids:[]}},stickyCustomOffset:{_initial:0,_scrolling:0,options:{_static:!0,_element:""}},stickyHeader:1,dropdowntoViewport:1,timerOnScrollAllBrowsers:1,extLinksStyle:1,extLinksTargetExt:1,extLinksSkipSelectors:{classes:["btn","button"],ids:[]},dropcapEnabled:1,dropcapWhere:{post:0,page:1},dropcapMinWords:50,dropcapSkipSelectors:{tags:["IMG","IFRAME","H1","H2","H3","H4","H5","H6","BLOCKQUOTE","UL","OL"],classes:["btn"],ids:[]},imgSmartLoadEnabled:0,imgSmartLoadOpts:{parentSelectors:[".article-container",".__before_main_wrapper",".widget-front"],opts:{excludeImg:[".tc-holder-img"]}},goldenRatio:1.618,gridGoldenRatioLimit:350,isSecondMenuEnabled:0,secondMenuRespSet:"in-sn-before"};window.addEventListener=window.addEventListener||function(e,t){window.attachEvent("on"+e,t)},Date.now||(Date.now=function(){return(new Date).getTime()}),Object.create||(Object.create=function(e,t){if(void 0!==t)throw"The multiple-argument version of Object.create is not provided by this browser and cannot be shimmed.";function i(){}return i.prototype=e,new i}),Array.prototype.filter||(Array.prototype.filter=function(e){"use strict";if(null==this)throw new TypeError;var t=Object(this),i=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var n=[],o=2<=arguments.length?arguments[1]:void 0,r=0;r<i;r++)if(r in t){var a=t[r];e.call(o,a,r,t)&&n.push(a)}return n}),Array.prototype.map||(Array.prototype.map=function(e,t){var i,n,o;if(null==this)throw new TypeError(" this is null or not defined");var r=Object(this),a=r.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(1<arguments.length&&(i=t),n=new Array(a),o=0;o<a;){var s,l;o in r&&(s=r[o],l=e.call(i,s,o,r),n[o]=l),o++}return n}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],t):t(e.bootstrap={},e.jQuery)}(this,function(e,t){"use strict";function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function i(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}var l,r,c,a,s,d,u,h,p,f,g,m,_,y,v,w,b,S,C,z,k,x,E,A,T,P,D,L,O,N,M,I,$,j,R,F,H=function(n){var t=!1;function e(e){var t=this,i=!1;return n(this).one(l.TRANSITION_END,function(){i=!0}),setTimeout(function(){i||l.triggerTransitionEnd(t)},e),this}var l={TRANSITION_END:"bsTransitionEnd",getUID:function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");t&&"#"!==t||(t=e.getAttribute("href")||"");try{return 0<n(document).find(t).length?t:null}catch(e){return null}},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){n(e).trigger(t.end)},supportsTransitionEnd:function(){return Boolean(t)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,i){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var o=i[n],r=t[n],a=r&&l.isElement(r)?"element":(s=r,{}.toString.call(s).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+n+'" provided type "'+a+'" but expected type "'+o+'".')}var s}};return t=("undefined"==typeof window||!window.QUnit)&&{end:"transitionend"},n.fn.emulateTransitionEnd=e,l.supportsTransitionEnd()&&(n.event.special[l.TRANSITION_END]={bindType:t.end,delegateType:t.end,handle:function(e){if(n(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}),l}(t=t&&t.hasOwnProperty("default")?t.default:t),W=(r="czrCollapse",a="."+(c="czr.czrCollapse"),s=(l=t).fn[r],d={toggle:!0,parent:""},u={toggle:"boolean",parent:"(string|element)"},h={SHOW:"show"+a,SHOWN:"shown"+a,HIDE:"hide"+a,HIDDEN:"hidden"+a,CLICK_DATA_API:"click"+a+".data-api"},p="show",f="czr-collapse",g="czr-collapsing",m="czr-collapsed",_="width",y="height",v=".show, .czr-collapsing",w='[data-toggle="czr-collapse"]',b=function(){function s(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=l.makeArray(l('[data-toggle="czr-collapse"][href="#'+e.id+'"],[data-toggle="czr-collapse"][data-target="#'+e.id+'"]'));for(var i=l(w),n=0;n<i.length;n++){var o=i[n],r=H.getSelectorFromElement(o);null!==r&&0<l(r).filter(e).length&&(this._selector=r,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=s.prototype;return e.toggle=function(){l(this._element).hasClass(p)?this.hide():this.show()},e.show=function(){var e,t,i=this;if(!this._isTransitioning&&!l(this._element).hasClass(p)&&(this._parent&&0===(e=l.makeArray(l(this._parent).find(v).filter('[data-parent="'+this._config.parent+'"]'))).length&&(e=null),!(e&&(t=l(e).not(this._selector).data(c))&&t._isTransitioning))){var n=l.Event(h.SHOW);if(l(this._element).trigger(n),!n.isDefaultPrevented()){e&&(s._jQueryInterface.call(l(e).not(this._selector),"hide"),t||l(e).data(c,null));var o=this._getDimension();l(this._element).removeClass(f).addClass(g),(this._element.style[o]=0)<this._triggerArray.length&&l(this._triggerArray).removeClass(m).attr("aria-expanded",!0),this.setTransitioning(!0);var r=function(){l(i._element).removeClass(g).addClass(f).addClass(p),i._element.style[o]="",i.setTransitioning(!1),l(i._element).trigger(h.SHOWN)};if(H.supportsTransitionEnd()){var a="scroll"+(o[0].toUpperCase()+o.slice(1));l(this._element).one(H.TRANSITION_END,r).emulateTransitionEnd(600),this._element.style[o]=this._element[a]+"px"}else r()}}},e.hide=function(){var e=this;if(!this._isTransitioning&&l(this._element).hasClass(p)){var t=l.Event(h.HIDE);if(l(this._element).trigger(t),!t.isDefaultPrevented()){var i=this._getDimension();if(this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",H.reflow(this._element),l(this._element).addClass(g).removeClass(f).removeClass(p),0<this._triggerArray.length)for(var n=0;n<this._triggerArray.length;n++){var o=this._triggerArray[n],r=H.getSelectorFromElement(o);if(null!==r)l(r).hasClass(p)||l(o).addClass(m).attr("aria-expanded",!1)}this.setTransitioning(!0);var a=function(){e.setTransitioning(!1),l(e._element).removeClass(g).addClass(f).trigger(h.HIDDEN)};this._element.style[i]="",H.supportsTransitionEnd()?l(this._element).one(H.TRANSITION_END,a).emulateTransitionEnd(600):a()}}},e.setTransitioning=function(e){this._isTransitioning=e},e.dispose=function(){l.removeData(this._element,c),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(e){return(e=o({},d,e)).toggle=Boolean(e.toggle),H.typeCheckConfig(r,e,u),e},e._getDimension=function(){return l(this._element).hasClass(_)?_:y},e._getParent=function(){var i=this,e=null;H.isElement(this._config.parent)?(e=this._config.parent,void 0!==this._config.parent.jquery&&(e=this._config.parent[0])):e=l(this._config.parent)[0];var t='[data-toggle="czr-collapse"][data-parent="'+this._config.parent+'"]';return l(e).find(t).each(function(e,t){i._addAriaAndCollapsedClass(s._getTargetFromElement(t),[t])}),e},e._addAriaAndCollapsedClass=function(e,t){if(e){var i=l(e).hasClass(p);0<t.length&&l(t).toggleClass(m,!i).attr("aria-expanded",i)}},s._getTargetFromElement=function(e){var t=H.getSelectorFromElement(e);return t?l(t)[0]:null},s._jQueryInterface=function(n){return this.each(function(){var e=l(this),t=e.data(c),i=o({},d,e.data(),"object"==typeof n&&n);if(!t&&i.toggle&&/show|hide/.test(n)&&(i.toggle=!1),t||(t=new s(this,i),e.data(c,t)),"string"==typeof n){if(void 0===t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},i(s,null,[{key:"VERSION",get:function(){return"1.0.1"}},{key:"Default",get:function(){return d}}]),s}(),l(document).on(h.CLICK_DATA_API,w,function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var i=l(this),t=H.getSelectorFromElement(this);l(t).each(function(){var e=l(this),t=e.data(c)?"toggle":i.data();b._jQueryInterface.call(e,t)})}),l.fn[r]=b._jQueryInterface,l.fn[r].Constructor=b,l.fn[r].noConflict=function(){return l.fn[r]=s,b._jQueryInterface},b),U=(C="czrTab",k="."+(z="czr.czrTab"),x=(S=t).fn[C],E={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:"show"+k,SHOWN:"shown"+k,CLICK_DATA_API:"click"+k+".data-api"},A="dropdown-menu",T="active",P="disabled",D="fade",L="show",O=".dropdown",N=".nav, .list-group",M=".active",I="> li > .active",$='[data-toggle="czr-tab"], [data-toggle="czr-pill"], [data-toggle="czr-list"]',j=".dropdown-toggle",R="> .dropdown-menu .active",F=function(){function n(e){this._element=e}var e=n.prototype;return e.show=function(){var i=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&S(this._element).hasClass(T)||S(this._element).hasClass(P))){var e,n,t=S(this._element).closest(N)[0],o=H.getSelectorFromElement(this._element);if(t){var r="UL"===t.nodeName?I:M;n=(n=S.makeArray(S(t).find(r)))[n.length-1]}var a=S.Event(E.HIDE,{relatedTarget:this._element}),s=S.Event(E.SHOW,{relatedTarget:n});if(n&&S(n).trigger(a),S(this._element).trigger(s),!s.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(e=S(o)[0]),this._activate(this._element,t);var l=function(){var e=S.Event(E.HIDDEN,{relatedTarget:i._element}),t=S.Event(E.SHOWN,{relatedTarget:n});S(n).trigger(e),S(i._element).trigger(t)};e?this._activate(e,e.parentNode,l):l()}}},e.dispose=function(){S.removeData(this._element,z),this._element=null},e._activate=function(e,t,i){var n=this,o=("UL"===t.nodeName?S(t).find(I):S(t).children(M))[0],r=i&&H.supportsTransitionEnd()&&o&&S(o).hasClass(D),a=function(){return n._transitionComplete(e,o,i)};o&&r?S(o).one(H.TRANSITION_END,a).emulateTransitionEnd(150):a()},e._transitionComplete=function(e,t,i){if(t){S(t).removeClass(L+" "+T);var n=S(t.parentNode).find(R)[0];n&&S(n).removeClass(T),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(S(e).addClass(T),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),H.reflow(e),S(e).addClass(L),e.parentNode&&S(e.parentNode).hasClass(A)){var o=S(e).closest(O)[0];o&&S(o).find(j).addClass(T),e.setAttribute("aria-expanded",!0)}i&&i()},n._jQueryInterface=function(i){return this.each(function(){var e=S(this),t=e.data(z);if(t||(t=new n(this),e.data(z,t)),"string"==typeof i){if(void 0===t[i])throw new TypeError('No method named "'+i+'"');t[i]()}})},i(n,null,[{key:"VERSION",get:function(){return"1.0.1"}}]),n}(),S(document).on(E.CLICK_DATA_API,$,function(e){e.preventDefault(),F._jQueryInterface.call(S(this),"show")}),S.fn[C]=F._jQueryInterface,S.fn[C].Constructor=F,S.fn[C].noConflict=function(){return S.fn[C]=x,F._jQueryInterface},F);!function(e){if(void 0===e)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=e.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(t),e.czrUtil=H,e.czrCollapse=W,e.czrTab=U,Object.defineProperty(e,"__esModule",{value:!0})}),function(a){["Width","Height"].map(function(e){var r=e.toLowerCase();a.fn["original"+e]="natural"+e in new Image?function(){return this[0]["natural"+e]}:function(){var e,t,i=(e=r,void 0!==typeof(t=a(this).attr(e))&&t);if(i)return i;var n,o=this[0];return"img"===o.tagName.toLowerCase()&&((n=new Image).src=o.src,i=n[r]),i}})}(jQuery),function(l){var i="addDropCap",n={wrapper:".entry-content",minwords:50,skipSelectors:{tags:["IMG","IFRAME","H1","H2","H3","H4","H5","H6","BLOCKQUOTE"],classes:[],ids:[]}};function t(e,t){this.element=e,this.options=l.extend({},n,t),this._defaults=n,this._name=i,this.init()}t.prototype.init=function(){var e=this._get_dropcap_el();e&&this.options.minwords<=this._countWords(e.text())&&this._may_be_add_dc(e)},t.prototype._get_dropcap_el=function(e){var t=e||l(this.options.wrapper).find(this.element).first(),i=this._get_real_text(t.text());return!this._is_authorized(t)&&t.next().length?this._get_dropcap_el(t.next()):this._is_authorized(t)&&i?t:t.next().length?this._get_dropcap_el(t.next()):void 0},t.prototype._get_real_text=function(e){return e.replace(/&nbsp;/g,"").replace(/ /g,""),this._removeSpecChars(e)},t.prototype._is_authorized=function(e){return"function"!=typeof _||(!!(e[0]&&e[0].tagName&&this._is_tag_allowed(e)&&this._are_children_tag_allowed(e)&&this._is_selector_allowed(e,["ids","classes"]))||void 0)},t.prototype._may_be_add_dc=function(e){var t="",i=e.text().replace(/ /g,"&nbsp;").split("&nbsp;");if(_.isArray(i)&&(i.length&&(t=i[0]),(t=this._removeSpecChars(t)).charAt(0))){var n,o,r=t.charAt(0),a=t.substr(1);n=[r=['<span class="tc-dropcap">',r,"</span>"].join(""),a].join(""),o=e.html().replace(t,n),e.html(o)}},t.prototype._is_selector_allowed=function(t,e){if("object"!=typeof this.options.skipSelectors)return!0;var i=this;return 0===e.filter(function(e){return!1===i._is_sel_type_allowed(t,e)}).length},t.prototype._is_sel_type_allowed=function(t,e){if(!this.options.skipSelectors[e]||!Array.isArray(this.options.skipSelectors[e]))return!0;var i="ids"==e?"id":"class";if("object"!=typeof this.options.skipSelectors||!this.options.skipSelectors[e]||!Array.isArray(this.options.skipSelectors[e]))return!0;var n=t.attr(i)?t.attr(i).split(" "):[],o=this.options.skipSelectors[e],r=n.filter(function(e){return-1!=l.inArray(e,o)}),a="ids"==e?"#":".",s=o.filter(function(e){return 0!==t.find(a+e).length});return 0===l.merge(r,s).length},t.prototype._is_tag_allowed=function(e){return"object"!=typeof this.options.skipSelectors||!_.isArray(this.options.skipSelectors.tags)||-1==_.indexOf(_.map(this.options.skipSelectors.tags,function(e){return e.toUpperCase()}),e[0].tagName)},t.prototype._are_children_tag_allowed=function(t){return"object"!=typeof this.options.skipSelectors||!_.isArray(this.options.skipSelectors.tags)||(0===t.children().length||0===this.options.skipSelectors.tags.filter(function(e){return 0!==t.find(e).length}).length)},t.prototype._countWords=function(e){return"string"!=typeof e?0:(e=e.replace("&nbsp;"," ")).split(" ").length},t.prototype._removeSpecChars=function(e,t){return t=t||"","string"==typeof e?e.replace(/[^\w-?!\u00bf-\u00ff]/g,t):""},t.prototype._stripHtmlTags=function(e){return!(!e||"string"!=typeof e)&&e.replace(/(<([^>]+)>)/gi,"")},l.fn[i]=function(e){return this.each(function(){l.data(this,"plugin_"+i)||l.data(this,"plugin_"+i,new t(this,e))})}}(jQuery),function(l,c){var n="imgSmartLoad",o={load_all_images_on_first_scroll:!1,attribute:["data-src","data-srcset","data-sizes"],excludeImg:[],threshold:200,fadeIn_options:{duration:400},delaySmartLoadEvent:0},a="tc-smart-loaded";function t(e,t){this.element=e,this.options=l.extend({},o,t),_.isArray(this.options.excludeImg)?this.options.excludeImg.push("."+a):this.options.excludeImg=["."+a],this.options.excludeImg=_.uniq(this.options.excludeImg),this.imgSelectors="img["+this.options.attribute[0]+"]:not("+this.options.excludeImg.join()+")",this._defaults=o,this._name=n,this.init();var i=this;l(this.element).on("trigger-smartload",function(){i._maybe_trigger_load("trigger-smartload")})}t.prototype._getImgs=function(){return l(this.imgSelectors,this.element)},t.prototype.init=function(){var t=this;this.increment=1,this.timer=0,l("body").on("load_img",t.imgSelectors,function(){!0!==l(this).data("czr-smart-loaded")&&t._load_img(this)}),l(c).on("scroll",function(e){t._better_scroll_event_handler(e)}),l(c).on("resize",_.debounce(function(e){t._maybe_trigger_load(e)},100)),this._maybe_trigger_load("dom-ready"),l(this.element).data("smartLoadDone",!0)},t.prototype._better_scroll_event_handler=function(e){var t=this;this.doingAnimation||(this.doingAnimation=!0,c.requestAnimationFrame(function(){t._maybe_trigger_load(e),t.doingAnimation=!1}))},t.prototype._maybe_trigger_load=function(i){var n=this,e=n._getImgs();_.isObject(e)&&!_.isEmpty(e)&&e.filter(function(e,t){return n._is_visible(t,i)}).map(function(e,t){!0!==l(t).data("czr-smart-loaded")&&l(t).trigger("load_img")})},t.prototype._is_visible=function(e,t){var i=l(e),n=l(c).scrollTop(),o=n+l(c).height(),r=i.offset().top,a=r+i.height(),s=this.options.threshold;return!(!t||"scroll"!=t.type||!this.options.load_all_images_on_first_scroll)||n-s<=a&&r<=o+s},t.prototype._load_img=function(e){var i=l(e),t=i.attr(this.options.attribute[0]),n=i.attr(this.options.attribute[1]),o=i.attr(this.options.attribute[2]),r=this;i.parent().hasClass("smart-loading")||(i.parent().addClass("smart-loading"),i.off("load_img").removeAttr(this.options.attribute.join(" ")).attr("sizes",o).attr("srcset",n).attr("src",t).on("load",function(){if(i.hasClass(a)||i.fadeIn(r.options.fadeIn_options).addClass(a),void 0!==i.attr("data-tcjp-recalc-dims")&&!1!==i.attr("data-tcjp-recalc-dims")){var e=i.originalWidth(),t=i.originalHeight();if(2!=_.size(_.filter([e,t],function(e){return _.isNumber(parseInt(e,10))&&1<e})))return;i.removeAttr("data-tcjp-recalc-dims scale"),i.attr("width",e),i.attr("height",t)}i.trigger("smartload"),i.data("czr-smart-loaded",!0)}),i[0].complete&&i.trigger("load"),i.parent().removeClass("smart-loading"))},l.fn[n]=function(e){return this.each(function(){l.data(this,"plugin_"+n)||l.data(this,"plugin_"+n,new t(this,e))})}}(jQuery,window),function(n){var t="extLinks",i={addIcon:!0,iconClassName:"tc-external",newTab:!0,skipSelectors:{classes:[],ids:[]},skipChildTags:["IMG"]};function o(e,t){this.$_el=n(e),this.options=n.extend({},i,t),this._href="string"==typeof this.$_el.attr("href")?this.$_el.attr("href").trim():"",this.init()}o.prototype.init=function(){var e=this.$_el.next("."+this.options.iconClassName);this._is_eligible()?(this.options.addIcon&&0===e.length&&this.$_el.append('<span class="'+this.options.iconClassName+'">'),this.options.newTab&&"_blank"!=this.$_el.attr("target")&&this.$_el.attr("target","_blank")):e.length&&e.remove()},o.prototype._is_eligible=function(){var t=this;if(this._is_external(this._href)&&this._is_first_child_tag_allowed()&&2==["ids","classes"].filter(function(e){return t._is_selector_allowed(e)}).length){var e=!0;return n.each(this.$_el.parents(),function(){if("underline"==n(this).css("textDecoration"))return e=!1}),e}},o.prototype._is_selector_allowed=function(e){if(czrapp&&czrapp.userXP&&czrapp.userXP.isSelectorAllowed)return czrapp.userXP.isSelectorAllowed(this.$_el,this.options.skipSelectors,e);var t="ids"==e?"id":"class",i=this.options.skipSelectors[e];return"object"!=typeof this.options.skipSelectors||!this.options.skipSelectors[e]||!Array.isArray(this.options.skipSelectors[e])||0===this.options.skipSelectors[e].length||!(0<this.$_el.parents(i.map(function(e){return"id"==t?"#"+e:"."+e}).join(",")).length)&&(!this.$_el.attr(t)||0===this.$_el.attr(t).split(" ").filter(function(e){return-1!=n.inArray(e,i)}).length)},o.prototype._is_first_child_tag_allowed=function(){if(0===this.$_el.children().length)return!0;var e=this.$_el.children().first()[0].tagName,t=this.options.skipChildTags;return!Array.isArray(t)||(t=t.map(function(e){return e.toUpperCase()}),-1==n.inArray(e,t))},o.prototype._is_external=function(e){var t=location.host.split(".").slice(-2).join("."),i=new RegExp(t);if("string"==typeof e)return""!==(e=e.trim())&&"#"!=e&&this._isValidURL(e)?!i.test(e):void 0},o.prototype._isValidURL=function(e){return/(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/.test(e)},n.fn[t]=function(e){return this.each(function(){n.data(this,"plugin_"+t)||n.data(this,"plugin_"+t,new o(this,e))})}}(jQuery),function(l,r){var i="centerImages",n={enableCentering:!0,onresize:!0,onInit:!0,oncustom:[],$containerToListen:null,imgSel:"img",defaultCSSVal:{width:"auto",height:"auto"},leftAdjust:0,zeroLeftAdjust:0,topAdjust:0,zeroTopAdjust:-2,enableGoldenRatio:!1,goldenRatioLimitHeightTo:350,goldenRatioVal:1.618,skipGoldenRatioClasses:["no-gold-ratio"],disableGRUnder:767,useImgAttr:!1,setOpacityWhenCentered:!1,addCenteredClassWithDelay:0,opacity:1};function t(e,t){this.container=e,this.options=l.extend({},n,t),this._defaults=n,this._name=i,this._customEvt=_.isArray(this.options.oncustom)?this.options.oncustom:this.options.oncustom.split(" "),this.init()}t.prototype.init=function(){var i=this,t=function(e){e=e||"init",i._maybe_apply_golden_r();var t=l(i.options.imgSel,i.container);i.options.enableGoldenRatio&&l(r).on("resize",{},_.debounce(function(e){i._maybe_apply_golden_r(e)},200)),1<=t.length&&i.options.enableCentering&&i._parse_imgs(t,e)};i.options.onInit&&t(),_.isArray(i._customEvt)&&i._customEvt.map(function(e){(i.options.$containerToListen instanceof l&&1<i.options.$containerToListen.length?i.options.$containerToListen:l(i.container)).on(e,{},function(){t(e)})})},t.prototype._maybe_apply_golden_r=function(){if(this.options.enableGoldenRatio&&this.options.goldenRatioVal&&0!==this.options.goldenRatioVal&&this._is_selector_allowed())if(this._is_window_width_allowed()){var e=Math.round(l(this.container).width()/this.options.goldenRatioVal);e=e>this.options.goldenRatioLimitHeightTo?this.options.goldenRatioLimitHeightTo:e,l(this.container).css({"line-height":e+"px",height:e+"px"}).trigger("golden-ratio-applied")}else l(this.container).attr("style","")},t.prototype._is_window_width_allowed=function(){return l(r).width()>this.options.disableGRUnder-15},t.prototype._parse_imgs=function(e,n){var o=this;if(e.each(function(e,t){var i=l(t);o._pre_img_cent(i,n),o.options.onresize&&!i.data("resize-react-bound")&&(i.data("resize-react-bound",!0),l(r).on("resize",_.debounce(function(){o._pre_img_cent(i,"resize")},100)))}),l(o.container).attr("data-img-centered-in-container")){var t=parseInt(l(o.container).attr("data-img-centered-in-container"),10)+1;l(o.container).attr("data-img-centered-in-container",t)}else l(o.container).attr("data-img-centered-in-container",1)},t.prototype._pre_img_cent=function(e){var t=this._get_current_state(e),i=this,n=t.current,o=t.prop[n],r=t.prop["h"==n?"v":"h"],a="h"==n?this.options.zeroTopAdjust||0:this.options.zeroLeftAdjust||0,s=function(e){if(e.css(o.dim.name,o.dim.val).css(r.dim.name,i.options.defaultCSSVal[r.dim.name]||"auto").css(o.dir.name,o.dir.val).css(r.dir.name,a),0!==i.options.addCenteredClassWithDelay&&_.isNumber(i.options.addCenteredClassWithDelay)?_.delay(function(){e.addClass(o._class).removeClass(r._class)},i.options.addCenteredClassWithDelay):e.addClass(o._class).removeClass(r._class),e.attr("data-img-centered")){var t=parseInt(e.attr("data-img-centered"),10)+1;e.attr("data-img-centered",t)}else e.attr("data-img-centered",1);return e};this.options.setOpacityWhenCentered?l.when(s(e)).done(function(e){e.css("opacity",i.options.opacity)}):_.delay(function(){s(e)},0)},t.prototype._get_current_state=function(e){var t=e.closest(this.container).outerWidth(),i=l(this.container).outerHeight(),n=this._get_img_dim(e,"x"),o=this._get_img_dim(e,"y"),r=o*i!=0?Math.round(n/o*i):t,a=n*t!=0?Math.round(o/n*t):i,s="h";return 0!=t*n&&(s=o/n<=i/t?"h":"v"),{current:s,prop:{h:{dim:{name:"height",val:i},dir:{name:"left",val:(t-r)/2+(this.options.leftAdjust||0)},_class:"h-centered"},v:{dim:{name:"width",val:t},dir:{name:"top",val:(i-a)/2+(this.options.topAdjust||0)},_class:"v-centered"}}}},t.prototype._get_img_dim=function(e,t){if(!this.options.useImgAttr)return"x"==t?e.outerWidth():e.outerHeight();if(e.is(":visible"))return"x"==t?e.outerWidth():e.outerHeight();if("x"==t){var i=e.originalWidth();return void 0===typeof i?0:i}if("y"==t){var n=e.originalHeight();return void 0===typeof n?0:n}},t.prototype._is_selector_allowed=function(){if(!l(this.container).attr("class"))return!0;if(!this.options.skipGoldenRatioClasses||!_.isArray(this.options.skipGoldenRatioClasses))return!0;var e=l(this.container).attr("class").split(" "),t=this.options.skipGoldenRatioClasses;return 0===e.filter(function(e){return-1!=l.inArray(e,t)}).length},l.fn[i]=function(e){return this.each(function(){l.data(this,"plugin_"+i)||l.data(this,"plugin_"+i,new t(this,e))})}}(jQuery,window),function(i,t,n){var o="czrParallax",r={parallaxRatio:.5,parallaxDirection:1,parallaxOverflowHidden:!0,oncustom:[],backgroundClass:"image",matchMedia:"only screen and (max-width: 768px)"};function a(e,t){this.element=i(e),this.element_wrapper=this.element.closest(".parallax-wrapper"),this.options=i.extend({},r,t,this.parseElementDataOptions()),this._defaults=r,this._name=o,this.init()}a.prototype.parseElementDataOptions=function(){return this.element.data()},a.prototype.init=function(){this.$_document=i(document),this.$_window=czrapp?czrapp.$_window:i(t),this.doingAnimation=!1,this.initWaypoints(),this.stageParallaxElements(),this._bind_evt()},a.prototype._bind_evt=function(){n.bindAll(this,"maybeParallaxMe","parallaxMe")},a.prototype.stageParallaxElements=function(){if(this.element.css({position:this.element.hasClass(this.options.backgroundClass)?"absolute":"relative","will-change":"transform"}),this.options.parallaxOverflowHidden){var e=this.element_wrapper;e.length&&e.css("overflow","hidden")}},a.prototype.initWaypoints=function(){var e=this;this.way_start=new Waypoint({element:e.element_wrapper.length?e.element_wrapper:e.element,handler:function(){e.maybeParallaxMe(),e.element.hasClass("parallaxing")?(e.element.removeClass("parallaxing"),e.$_window.off("scroll",e.maybeParallaxMe),e.doingAnimation=!1,e.element.css("top",0)):(e.$_window.on("scroll",e.maybeParallaxMe),e.element.addClass("parallaxing"))}}),this.way_stop=new Waypoint({element:e.element_wrapper.length?e.element_wrapper:e.element,handler:function(){e.maybeParallaxMe(),e.element.hasClass("parallaxing")?(e.element.removeClass("parallaxing"),e.$_window.off("scroll",e.maybeParallaxMe),e.doingAnimation=!1):(e.$_window.on("scroll",e.maybeParallaxMe),e.element.addClass("parallaxing"))},offset:function(){return-this.adapter.outerHeight()}})},a.prototype.maybeParallaxMe=function(){var e=this;if(n.isFunction(t.matchMedia)&&matchMedia(e.options.matchMedia).matches)return this.setTopPosition();this.doingAnimation||(this.doingAnimation=!0,t.requestAnimationFrame(function(){e.parallaxMe(),e.doingAnimation=!1}))},a.prototype.setTopPosition=function(e){e=e||0,this.element.css({transform:"translate3d(0px, "+e+"px, .01px)","-webkit-transform":"translate3d(0px, "+e+"px, .01px)"})},a.prototype.parallaxMe=function(){var e=this.options.parallaxRatio,t=this.options.parallaxDirection,i=e*t*(this.$_document.scrollTop()-this.way_start.triggerPoint);this.setTopPosition(t*i<0?0:i)},i.fn[o]=function(e){return this.each(function(){i.data(this,"plugin_"+o)||i.data(this,"plugin_"+o,new a(this,e))})}}(jQuery,window,_),function(){for(var o=0,e=["ms","moz","webkit","o"],t=0;t<e.length&&!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[e[t]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[t]+"CancelAnimationFrame"]||window[e[t]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var i=(new Date).getTime(),n=Math.max(0,16-(i-o));return o=i+n,window.setTimeout(function(){e(i+n)},n)}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),window.matchMedia||(window.matchMedia=function(){"use strict";var t=window.styleMedia||window.media;if(!t){var i,n=document.createElement("style"),e=document.getElementsByTagName("script")[0];n.type="text/css",n.id="matchmediajs-test",e?e.parentNode.insertBefore(n,e):document.head.appendChild(n),i="getComputedStyle"in window&&window.getComputedStyle(n,null)||n.currentStyle,t={matchMedium:function(e){var t="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return n.styleSheet?n.styleSheet.cssText=t:n.textContent=t,"1px"===i.width}}}return function(e){return{matches:t.matchMedium(e||"all"),media:e||"all"}}}()),function(a){a.fn.czrFitText=function(e,t){var o=e||1,r=a.extend({minFontSize:Number.NEGATIVE_INFINITY,maxFontSize:Number.POSITIVE_INFINITY,fontRatio:1,refParentSel:".fittext-p",parentCompressorFactor:8},t);return this.each(function(){var e,t=a(this),i=t.closest(r.refParentSel),n=function(){e=Math.max(Math.min(t.width()/(10*o),1<=i.length?i.height()/(o*r.parentCompressorFactor):t.width()/(10*o),parseFloat(r.maxFontSize)),parseFloat(r.minFontSize)),e=Math.max(e*r.fontRatio,parseFloat(r.minFontSize)),t.css("font-size",e+"px"),t.css("line-height",1.45*e+"px")};n(),a(window).on("resize.czrFittext orientationchange.czrFittext",n)})}}(jQuery),function(){var c,l,e={frameRate:150,animationTime:400,stepSize:120,pulseAlgorithm:!0,pulseScale:4,pulseNormalize:1,accelerationDelta:20,accelerationMax:1,keyboardSupport:!0,arrowScroll:50,touchpadSupport:!0,fixedBackground:!0,excluded:""},m=e,d=!1,u=!1,o={x:0,y:0},h=!1,p=document.documentElement,r=[],a=/^Mac/.test(navigator.platform),f={left:37,up:38,right:39,down:40,spacebar:32,pageup:33,pagedown:34,end:35,home:36};m=e;function s(){if(!h&&document.body){h=!0;var e=document.body,t=document.documentElement,i=window.innerHeight,n=e.scrollHeight;if(p=0<=document.compatMode.indexOf("CSS")?t:e,c=e,m.keyboardSupport&&L("keydown",b),top!=self)u=!0;else if(i<n&&(e.offsetHeight<=i||t.offsetHeight<=i)){var o,r=document.createElement("div");r.style.cssText="position:absolute; z-index:-10000; top:0; left:0; right:0; height:"+p.scrollHeight+"px",document.body.appendChild(r);var a=function(){o||(o=setTimeout(function(){d||(r.style.height="0",r.style.height=p.scrollHeight+"px",o=null)},500))};setTimeout(a,10);if((l=new R(a)).observe(e,{attributes:!0,childList:!0,characterData:!1}),p.offsetHeight<=i){var s=document.createElement("div");s.style.clear="both",e.appendChild(s)}}m.fixedBackground||d||(e.style.backgroundAttachment="scroll",t.style.backgroundAttachment="scroll")}}var y=[],v=!1,w=Date.now();function g(u,h,p){var e,t;if(e=0<(e=h)?1:-1,t=0<(t=p)?1:-1,(o.x!==e||o.y!==t)&&(o.x=e,o.y=t,y=[],w=0),1!=m.accelerationMax){var i=Date.now()-w;if(i<m.accelerationDelta){var n=(1+50/i)/2;1<n&&(n=Math.min(n,m.accelerationMax),h*=n,p*=n)}w=Date.now()}if(y.push({x:h,y:p,lastX:h<0?.99:-.99,lastY:p<0?.99:-.99,start:Date.now()}),!v){var f=u===document.body,g=function(e){for(var t=Date.now(),i=0,n=0,o=0;o<y.length;o++){var r=y[o],a=t-r.start,s=a>=m.animationTime,l=s?1:a/m.animationTime;m.pulseAlgorithm&&(l=W(l));var c=r.x*l-r.lastX>>0,d=r.y*l-r.lastY>>0;i+=c,n+=d,r.lastX+=c,r.lastY+=d,s&&(y.splice(o,1),o--)}f?window.scrollBy(i,n):(i&&(u.scrollLeft+=i),n&&(u.scrollTop+=n)),h||p||(y=[]),y.length?j(g,u,1e3/m.frameRate+1):v=!1};j(g,u,0),v=!0}}function t(e){h||s();var t=e.target,i=A(t);if(!i||e.defaultPrevented||e.ctrlKey)return!0;if(N(c,"embed")||N(t,"embed")&&/\.pdf/i.test(t.src)||N(c,"object"))return!0;var n=-e.wheelDeltaX||e.deltaX||0,o=-e.wheelDeltaY||e.deltaY||0;if(a&&(e.wheelDeltaX&&M(e.wheelDeltaX,120)&&(n=e.wheelDeltaX/Math.abs(e.wheelDeltaX)*-120),e.wheelDeltaY&&M(e.wheelDeltaY,120)&&(o=e.wheelDeltaY/Math.abs(e.wheelDeltaY)*-120)),n||o||(o=-e.wheelDelta||0),1===e.deltaMode&&(n*=40,o*=40),!m.touchpadSupport&&function(e){if(!e)return;r.length||(r=[e,e,e]);return e=Math.abs(e),r.push(e),r.shift(),clearTimeout(C),C=setTimeout(function(){window.localStorage&&(localStorage.SS_deltaBuffer=r.join(","))},1e3),!I(120)&&!I(100)}(o))return!0;1.2<Math.abs(n)&&(n*=m.stepSize/120),1.2<Math.abs(o)&&(o*=m.stepSize/120),g(i,n,o),e.preventDefault(),x()}function b(e){var t=e.target,i=e.ctrlKey||e.altKey||e.metaKey||e.shiftKey&&e.keyCode!==f.spacebar;document.contains(c)||(c=document.activeElement);var n=/^(button|submit|radio|checkbox|file|color|image)$/i;if(/^(textarea|select|embed|object)$/i.test(t.nodeName)||N(t,"input")&&!n.test(t.type)||N(c,"video")||function(e){var t=e.target,i=!1;if(-1!=document.URL.indexOf("www.youtube.com/watch"))do{if(i=t.classList&&t.classList.contains("html5-video-controls"))break}while(t=t.parentNode);return i}(e)||t.isContentEditable||e.defaultPrevented||i)return!0;if((N(t,"button")||N(t,"input")&&n.test(t.type))&&e.keyCode===f.spacebar)return!0;var o=0,r=0,a=A(c),s=a.clientHeight;switch(a==document.body&&(s=window.innerHeight),e.keyCode){case f.up:r=-m.arrowScroll;break;case f.down:r=m.arrowScroll;break;case f.spacebar:r=-(e.shiftKey?1:-1)*s*.9;break;case f.pageup:r=.9*-s;break;case f.pagedown:r=.9*s;break;case f.home:r=-a.scrollTop;break;case f.end:var l=a.scrollHeight-a.scrollTop-s;r=0<l?l+10:0;break;case f.left:o=-m.arrowScroll;break;case f.right:o=m.arrowScroll;break;default:return!0}g(a,o,r),e.preventDefault(),x()}function i(e){c=e.target}var n,S,C,z=(n=0,function(e){return e.uniqueID||(e.uniqueID=n++)}),k={};function x(){clearTimeout(S),S=setInterval(function(){k={}},1e3)}function E(e,t){for(var i=e.length;i--;)k[z(e[i])]=t;return t}function A(e){var t=[],i=document.body,n=p.scrollHeight;do{var o=k[z(e)];if(o)return E(t,o);if(t.push(e),n===e.scrollHeight){var r=P(p)&&P(i)||D(p);if(u&&T(p)||!u&&r)return E(t,F())}else if(T(e)&&D(e))return E(t,e)}while(e=e.parentElement)}function T(e){return e.clientHeight+10<e.scrollHeight}function P(e){return"hidden"!==getComputedStyle(e,"").getPropertyValue("overflow-y")}function D(e){var t=getComputedStyle(e,"").getPropertyValue("overflow-y");return"scroll"===t||"auto"===t}function L(e,t,i){window.addEventListener(e,t,i||!1)}function O(e,t,i){window.removeEventListener(e,t,i||!1)}function N(e,t){return(e.nodeName||"").toLowerCase()===t.toLowerCase()}function M(e,t){return Math.floor(e/t)==e/t}function I(e){return M(r[0],e)&&M(r[1],e)&&M(r[2],e)}window.localStorage&&localStorage.SS_deltaBuffer&&(r=localStorage.SS_deltaBuffer.split(","));var $,j=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e,t,i){window.setTimeout(e,i||1e3/60)},R=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,F=function(){if(!$){var e=document.createElement("div");e.style.cssText="height:10000px;width:1px;",document.body.appendChild(e);var t=document.body.scrollTop;document.documentElement.scrollTop,window.scrollBy(0,1),$=document.body.scrollTop!=t?document.body:document.documentElement,window.scrollBy(0,-1),document.body.removeChild(e)}return $};function H(e){var t;return((e*=m.pulseScale)<1?e-(1-Math.exp(-e)):(e-=1,(t=Math.exp(-1))+(1-Math.exp(-e))*(1-t)))*m.pulseNormalize}function W(e){return 1<=e?1:e<=0?0:(1==m.pulseNormalize&&(m.pulseNormalize/=H(1)),H(e))}var U=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){U=!0}}))}catch(e){}var B=!!U&&{passive:!1},V="onwheel"in document.createElement("div")?"wheel":"mousewheel";function K(e){return V&&(L(V,t,B),L("mousedown",i),e?s():L("load",s)),!!V}(smoothScroll=function(e){smoothScroll._setCustomOptions(e),K()&&czrapp.$_body.addClass("tc-smoothscroll")})._cleanUp=function(){l&&l.disconnect(),O(V,t,B),O("mousedown",i),O("keydown",b),czrapp.$_body.removeClass("tc-smoothscroll")},smoothScroll._maybeFire=function(){K(!0)&&czrapp.$_body.addClass("tc-smoothscroll")},smoothScroll._setCustomOptions=function(e){m=e?_.extend(m,e):m}}(),function(o){tcOutline=function(){var t=o.createElement("STYLE"),i="addEventListener"in o,e=function(e,t){i?o.addEventListener(e,t):o.attachEvent("on"+e,t)},n=function(e){t.styleSheet?t.styleSheet.cssText=e:t.innerHTML=e};o.getElementsByTagName("HEAD")[0].appendChild(t),e("mousedown",function(){n("input[type=file]:focus,input[type=radio]:focus,input[type=checkbox]:focus,select:focus,span:focus,a:focus,button{outline:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;}input[type=file]::-moz-focus-inner,input[type=radio]::-moz-focus-inner,input[type=checkbox]::-moz-focus-inner,select::-moz-focus-inner,a::-moz-focus-inner{border:0;}")}),e("keydown",function(){n("")})}}(document),function(){"use strict";var t=0,r={};function i(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+t,this.options=i.Adapter.extend({},i.defaults,e),this.element=this.options.element,this.adapter=new i.Adapter(this.element),this.callback=e.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),r[this.key]=this,t+=1}i.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},i.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},i.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete r[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(e){var t=[];for(var i in r)t.push(r[i]);for(var n=0,o=t.length;n<o;n++)t[n][e]()},i.destroyAll=function(){i.invokeAll("destroy")},i.disableAll=function(){i.invokeAll("disable")},i.enableAll=function(){i.invokeAll("enable")},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(e){window.setTimeout(e,1e3/60)}var i=0,n={},m=window.Waypoint,e=window.onload;function o(e){this.element=e,this.Adapter=m.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+i,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,n[e.waypointContextKey]=this,i+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}o.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},o.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical);e&&t&&(this.adapter.off(".waypoints"),delete n[this.key])},o.prototype.createThrottledResizeHandler=function(){var e=this;function t(){e.handleResize(),e.didResize=!1}this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,m.requestAnimationFrame(t))})},o.prototype.createThrottledScrollHandler=function(){var e=this;function t(){e.handleScroll(),e.didScroll=!1}this.adapter.on("scroll.waypoints",function(){e.didScroll&&!m.isTouch||(e.didScroll=!0,m.requestAnimationFrame(t))})},o.prototype.handleResize=function(){m.Context.refreshAll()},o.prototype.handleScroll=function(){var e={},t={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 t){var n=t[i],o=n.newScroll>n.oldScroll?n.forward:n.backward;for(var r in this.waypoints[i]){var a=this.waypoints[i][r],s=n.oldScroll<a.triggerPoint,l=n.newScroll>=a.triggerPoint;(s&&l||!s&&!l)&&(a.queueTrigger(o),e[a.group.id]=a.group)}}for(var c in e)e[c].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},o.prototype.innerHeight=function(){return this.element==this.element.window?m.viewportHeight():this.adapter.innerHeight()},o.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},o.prototype.innerWidth=function(){return this.element==this.element.window?m.viewportWidth():this.adapter.innerWidth()},o.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var i in this.waypoints[t])e.push(this.waypoints[t][i]);for(var n=0,o=e.length;n<o;n++)e[n].destroy()},o.prototype.refresh=function(){var e,t=this.element==this.element.window,i=t?void 0:this.adapter.offset(),n={};for(var o in this.handleScroll(),e={horizontal:{contextOffset:t?0:i.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:i.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var r=e[o];for(var a in this.waypoints[o]){var s,l,c,d,u=this.waypoints[o][a],h=u.options.offset,p=u.triggerPoint,f=0,g=null==p;u.element!==u.element.window&&(f=u.adapter.offset()[r.offsetProp]),"function"==typeof h?h=h.apply(u):"string"==typeof h&&(h=parseFloat(h),-1<u.options.offset.indexOf("%")&&(h=Math.ceil(r.contextDimension*h/100))),s=r.contextScroll-r.contextOffset,u.triggerPoint=f+s-h,l=p<r.oldScroll,c=u.triggerPoint>=r.oldScroll,d=!l&&!c,!g&&(l&&c)?(u.queueTrigger(r.backward),n[u.group.id]=u.group):!g&&d?(u.queueTrigger(r.forward),n[u.group.id]=u.group):g&&r.oldScroll>=u.triggerPoint&&(u.queueTrigger(r.forward),n[u.group.id]=u.group)}}return m.requestAnimationFrame(function(){for(var e in n)n[e].flushTriggers()}),this},o.findOrCreateByElement=function(e){return o.findByElement(e)||new o(e)},o.refreshAll=function(){for(var e in n)n[e].refresh()},o.findByElement=function(e){return n[e.waypointContextKey]},window.onload=function(){e&&e(),o.refreshAll()},m.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},m.Context=o}(),function(){"use strict";function a(e,t){return e.triggerPoint-t.triggerPoint}function s(e,t){return t.triggerPoint-e.triggerPoint}var t={vertical:{},horizontal:{}},i=window.Waypoint;function n(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),t[this.axis][this.name]=this}n.prototype.add=function(e){this.waypoints.push(e)},n.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},n.prototype.flushTriggers=function(){for(var e in this.triggerQueues){var t=this.triggerQueues[e],i="up"===e||"left"===e;t.sort(i?s:a);for(var n=0,o=t.length;n<o;n+=1){var r=t[n];(r.options.continuous||n===t.length-1)&&r.trigger([e])}}this.clearTriggerQueues()},n.prototype.next=function(e){this.waypoints.sort(a);var t=i.Adapter.inArray(e,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},n.prototype.previous=function(e){this.waypoints.sort(a);var t=i.Adapter.inArray(e,this.waypoints);return t?this.waypoints[t-1]:null},n.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},n.prototype.remove=function(e){var t=i.Adapter.inArray(e,this.waypoints);-1<t&&this.waypoints.splice(t,1)},n.prototype.first=function(){return this.waypoints[0]},n.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},n.findOrCreate=function(e){return t[e.axis][e.name]||new n(e)},i.Group=n}(),function(){"use strict";var i=window.jQuery,e=window.Waypoint;function n(e){this.$element=i(e)}i.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){n.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),i.each(["extend","inArray","isEmptyObject"],function(e,t){n[t]=i[t]}),e.adapters.push({name:"jquery",Adapter:n}),e.Adapter=n}(),function(){"use strict";var o=window.Waypoint;function e(n){return function(){var t=[],i=arguments[0];return n.isFunction(arguments[0])&&((i=n.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var e=n.extend({},i,{element:this});"string"==typeof e.context&&(e.context=n(this).closest(e.context)[0]),t.push(new o(e))}),t}}window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}();var czrapp=czrapp||{};!function(r,a){a._printLog=function(e){var t=function(){r("#bulklog").prepend("<p>"+a._prettyfy({consoleArguments:[e],prettyfy:!1})+"</p>")};1!=r("#bulk-log").length?r.Deferred(function(){var e=this;r.when(r("#footer").before(r("<div/>",{id:"bulklog"}))).done(function(){r("#bulklog").css({position:"fixed","z-index":"99999","font-size":"0.8em",color:"#000",padding:"5%",width:"90%",height:"20%",overflow:"hidden",bottom:"0",left:"0",background:"yellow"}),e.resolve()})}).promise().done(t):t()},a._truncate=function(e,t){return t=t||150,_.isString(e)?e.length>t?e.substr(0,t-1):e:""};var n=function(e){e=_.extend({bgCol:"#5ed1f5",textCol:"#000",consoleArguments:[]},e);var t,i=Array.from(e.consoleArguments);return i=_.isEmpty(_.filter(i,function(e){return!_.isString(e)}))?i.join(" "):JSON.stringify(i.join(" ")),["%c "+(t=i,_.isString(t)?300<t.length?t.substr(0,299)+"...":t:""),["background:"+e.bgCol,"color:"+e.textCol,"display: block;"].join(";")]},i=function(e,t,i){_.isUndefined(console)&&"function"!=typeof window.console.log||(a.localized.isDevMode?_.isUndefined(t)?console.log.apply(console,n({bgCol:i,textCol:"#000",consoleArguments:["<"+e+">"]})):(console.log.apply(console,n({bgCol:i,textCol:"#000",consoleArguments:["<"+e+">"]})),console.log(t),console.log.apply(console,n({bgCol:i,textCol:"#000",consoleArguments:["</"+e+">"]}))):console.log.apply(console,n({bgCol:i,textCol:"#000",consoleArguments:[e]})))};a.consoleLog=function(){a.localized.isDevMode&&(_.isUndefined(console)&&"function"!=typeof window.console.log||(console.log.apply(console,n({consoleArguments:arguments})),console.log("Unstyled console message : ",arguments)))},a.errorLog=function(){_.isUndefined(console)&&"function"!=typeof window.console.log||console.log.apply(console,n({bgCol:"#ffd5a0",textCol:"#000",consoleArguments:arguments}))},a.errare=function(e,t){i(e,t,"#ffd5a0")},a.infoLog=function(e,t){i(e,t,"#5ed1f5")},a.doAjax=function(e){var t=(e=e||(_.isObject(e)?e:{})).ajaxUrl||a.localized.ajaxUrl,i=a.localized.frontNonce,n=r.Deferred(),o=_.extend({action:"",withNonce:!1},e);return"https:"==document.location.protocol&&(t=t.replace("http://","https://")),_.isEmpty(o.action)||!_.isString(o.action)?(a.errorLog("czrapp.doAjax : unproper action provided"),n.resolve().promise()):(o[i.id]=i.handle,!_.isObject(i)||_.isUndefined(i.id)||_.isUndefined(i.handle)?(a.errorLog("czrapp.doAjax : unproper nonce"),n.resolve().promise()):(r.post(t,o).done(function(e){"0"!==e&&"-1"!==e&&!1!==e.success||(a.errare("czrapp.doAjax : done ajax error for action : "+o.action,e),n.reject(e)),n.resolve(e)}).fail(function(e){a.errare("czrapp.doAjax : failed ajax error for : "+o.action,e),n.reject(e)}),n.promise()))}}(jQuery,czrapp),function(a,s){s.isKeydownButNotEnterEvent=function(e){return"keydown"===e.type&&13!==e.which},s.setupDOMListeners=function(e,o,r){!_.isUndefined(r)&&_.isObject(r)?_.isArray(e)?_.isObject(o)?(o=_.extend({model:{},dom_el:{}},o)).dom_el instanceof jQuery&&1==o.dom_el.length?_.map(e,function(n){if(_.isString(n.selector)&&!_.isEmpty(n.selector))if(_.isString(n.selector)&&!_.isEmpty(n.selector)){var e=!!n.once&&n.once;o.dom_el[e?"one":"on"](n.trigger,n.selector,function(e,t){if(e.stopPropagation(),!s.isKeydownButNotEnterEvent(e)){e.preventDefault();var i=a.extend(!0,{},o);if(_.has(i,"model")&&_.has(i.model,"id")&&(_.has(r,"get")?i.model=r():i.model=r.getModel(i.model.id)),a.extend(i,{event:n,dom_event:e}),a.extend(i,t),_.has(i,"event")&&_.has(i.event,"actions"))try{s.executeEventActionChain(i,r)}catch(e){s.errorLog("In setupDOMListeners : problem when trying to fire actions : "+i.event.actions),s.errorLog("Error : "+e)}else s.errorLog("executeEventActionChain : missing obj.event or obj.event.actions")}})}else s.errorLog("setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : "+n.actions.join(","));else s.errorLog("setupDOMListeners : selector must be a string not empty. Aborting setup of action(s) : "+n.actions.join(","))}):s.errorLog("setupDomListeners : dom element should be an existing dom element",o):s.errorLog("setupDomListeners : args should be an object",e):s.errorLog("setupDomListeners : event_map should be an array",o):s.errorLog("setupDomListeners : instance should be an object",o)},s.executeEventActionChain=function(i,n){if("function"==typeof i.event.actions)return i.event.actions.call(n,i);_.isArray(i.event.actions)||(i.event.actions=[i.event.actions]);var o=!1;_.map(i.event.actions,function(e){if(!o){if("function"!=typeof n[e])throw new Error("executeEventActionChain : the action : "+e+" has not been found when firing event : "+i.event.selector);var t=!(!_.has(i,"dom_el")||-1==i.dom_el.length)&&i.dom_el;if(t)t.trigger("before_"+e,_.omit(i,"event")),!1===n[e].call(n,i)&&(o=!0),t.trigger("after_"+e,_.omit(i,"event"));else s.errorLog("missing dom element")}})}}(jQuery,czrapp),(czrapp=czrapp||{}).methods={},function(s){var o,n,r=Array.prototype.slice;o=function(){},n=function(e,t,i){var n;return n=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return e.apply(this,arguments)},s.extend(n,e),o.prototype=e.prototype,n.prototype=new o,t&&s.extend(n.prototype,t),i&&s.extend(n,i),(n.prototype.constructor=n).__super__=e.prototype,n},czrapp.Class=function(e,t,i){var n,o=arguments;return e&&t&&czrapp.Class.applicator===e&&(o=t,s.extend(this,i||{})),(n=this).instance&&(n=function(){return n.instance.apply(n,arguments)},s.extend(n,this)),n.initialize.apply(n,o),n},czrapp.Class.extend=function(e,t){var i=n(this,e,t);return i.extend=this.extend,i},czrapp.Class.applicator={},czrapp.Class.prototype.initialize=function(){},czrapp.Class.prototype.extended=function(e){for(var t=this;void 0!==t.constructor;){if(t.constructor===e)return!0;if(void 0===t.constructor.__super__)return!1;t=t.constructor.__super__}return!1},czrapp.Events={trigger:function(e){return this.topics&&this.topics[e]&&this.topics[e].fireWith(this,r.call(arguments,1)),this},bind:function(e){return this.topics=this.topics||{},this.topics[e]=this.topics[e]||s.Callbacks(),this.topics[e].add.apply(this.topics[e],r.call(arguments,1)),this},unbind:function(e){return this.topics&&this.topics[e]&&this.topics[e].remove.apply(this.topics[e],r.call(arguments,1)),this}},czrapp.Value=czrapp.Class.extend({initialize:function(e,t){this._value=e,this.callbacks=s.Callbacks(),this._dirty=!1,s.extend(this,t||{}),this.set=s.proxy(this.set,this)},instance:function(){return arguments.length?this.set.apply(this,arguments):this.get()},get:function(){return this._value},set:function(t,i){var n=this._value,e=s.Deferred(),o=this,r=[];t=this._setter.apply(this,arguments),t=this.validate(t);var a=_.extend({silent:!1},_.isObject(i)?i:{});return null===t||_.isEqual(n,t)?e.resolveWith(o,[t,n,i]).promise():(this._value=t,(this._dirty=!0)===a.silent?e.resolveWith(o,[t,n,i]).promise():this._deferreds?(_.each(o._deferreds,function(e){r.push(e.apply(null,[t,n,i]))}),s.when.apply(null,r).fail(function(){czrapp.errorLog("A deferred callback failed in api.Value::set()")}).then(function(){o.callbacks.fireWith(o,[t,n,i]),e.resolveWith(o,[t,n,i])}),e.promise(o)):(this.callbacks.fireWith(this,[t,n,i]),e.resolveWith(o,[t,n,i]).promise(o)))},silent_set:function(e,t){var i=this._value;return e=this._setter.apply(this,arguments),null===(e=this.validate(e))||_.isEqual(i,e)||(this._value=e,this._dirty=_.isUndefined(t)||!_.isBoolean(t)?this._dirty:t,this.callbacks.fireWith(this,[e,i,{silent:!0}])),this},_setter:function(e){return e},setter:function(e){var t=this.get();return this._setter=e,this._value=null,this.set(t),this},resetSetter:function(){return this._setter=this.constructor.prototype._setter,this.set(this.get()),this},validate:function(e){return e},bind:function(){var t=this,i=!1,n=[];return s.each(arguments,function(e,t){i||(i=_.isObject(t)&&t.deferred),_.isFunction(t)&&n.push(t)}),i?(t._deferreds=t._deferreds||[],_.each(n,function(e){_.contains(e,t._deferreds)||t._deferreds.push(e)})):t.callbacks.add.apply(t.callbacks,arguments),this},unbind:function(){return this.callbacks.remove.apply(this.callbacks,arguments),this}}),czrapp.Values=czrapp.Class.extend({defaultConstructor:czrapp.Value,initialize:function(e){s.extend(this,e||{}),this._value={},this._deferreds={}},instance:function(e){return 1===arguments.length?this.value(e):this.when.apply(this,arguments)},value:function(e){return this._value[e]},has:function(e){return void 0!==this._value[e]},add:function(e,t){return this.has(e)?this.value(e):((this._value[e]=t).parent=this,t.extended(czrapp.Value)&&t.bind(this._change),this.trigger("add",t),this._deferreds[e]&&this._deferreds[e].resolve(),this._value[e])},create:function(e){return this.add(e,new this.defaultConstructor(czrapp.Class.applicator,r.call(arguments,1)))},each:function(i,n){n=void 0===n?this:n,s.each(this._value,function(e,t){i.call(n,t,e)})},remove:function(e){var t;this.has(e)&&(t=this.value(e),this.trigger("remove",t),t.extended(czrapp.Value)&&t.unbind(this._change),delete t.parent),delete this._value[e],delete this._deferreds[e]},when:function(){var t=this,i=r.call(arguments),n=s.Deferred();return s.isFunction(i[i.length-1])&&n.done(i.pop()),s.when.apply(s,s.map(i,function(e){if(!t.has(e))return t._deferreds[e]||s.Deferred()})).done(function(){var e=s.map(i,function(e){return t(e)});e.length===i.length?n.resolveWith(t,e):t.when.apply(t,i).done(function(){n.resolveWith(t,e)})}),n.promise()},_change:function(){this.parent.trigger("change",this)}}),s.extend(czrapp.Values.prototype,czrapp.Events)}(jQuery);czrapp=czrapp||{};!function(a,n){var e={cacheProp:function(){a.extend(n,{$_window:a(window),$_html:a("html"),$_body:a("body"),$_wpadminbar:a("#wpadminbar"),$_header:a(".tc-header"),localized:void 0!==CZRParams&&CZRParams?CZRParams:{_disabled:[]},is_responsive:this.isResponsive(),current_device:this.getDevice(),isRTL:"rtl"==a("html").attr("dir")})},isResponsive:function(){return this.matchMedia(991)},getDevice:function(){var i="desktop",n=this;return _.map({desktop:991,tablet:767,smartphone:575},function(e,t){n.matchMedia(e)&&(i=t)}),i},matchMedia:function(e){return window.matchMedia?window.matchMedia("(max-width: "+e+"px)").matches:(n.$_window||a(window)).width()<=e-15},emit:function(e,t){e=_.isArray(e)?e:[e];var i=this;_.map(e,function(e){"function"==typeof i[e]&&(t=void 0===t?[]:t,i[e].apply(i,t),n.trigger(e,_.object(_.keys(t),t)))})},triggerSimpleLoad:function(e){0!==e.length&&e.map(function(e,t){a(t).on("load",function(){a(t).trigger("simple_load")}),a(t)[0]&&a(t)[0].complete&&a(t).trigger("load")})},isUserLogged:function(){return n.$_body.hasClass("logged-in")||0!==n.$_wpadminbar.length},isSelectorAllowed:function(e,t,i){var n="ids"==i?"id":"class",o=t[i];return"object"!=typeof t||!t[i]||!_.isArray(t[i])||0===t[i].length||!(0<e.parents(o.map(function(e){return"id"==n?"#"+e:"."+e}).join(",")).length)&&(!e.attr(n)||0===e.attr(n).split(" ").filter(function(e){return-1!=a.inArray(e,o)}).length)},_isMobile:function(){return _.isFunction(window.matchMedia)&&matchMedia("only screen and (max-width: 768px)").matches||this._isCustomizing()&&"desktop"!=this.previewDevice()},_isCustomizing:function(){return n.$_body.hasClass("is-customizing")||"undefined"!=typeof wp&&void 0!==wp.customize},_has_iframe:function(e){var i=[];return _.each(e,function(e,t){0<e.length&&0<e.find("IFRAME").length&&i.push(t)}),i},isInWindow:function(e,t){if(e instanceof a&&(!t||_.isNumber(t))){var i=a(window).scrollTop(),n=i+a(window).height(),o=e.offset().top,r=t||0;return i-r<=o+e.height()&&o<=n+r}},fireMeWhenStoppedScrolling:function(t){if(t=_.extend({delay:3e3,func:"",instance:{},args:[]},t),_.isFunction(t.func)){var e=function(){a.Deferred(function(){var e=this;_.delay(function(){e.resolve()},t.delay)}).done(function(){n.userXP.isScrolling()?e():t.func.apply(t.instance,t.args)})};e()}},scriptLoadingStatus:{},observeAddedNodesOnDom:function(e,o,r){var t=a(e)[0];new(window.MutationObserver||window.WebKitMutationObserver)(function(e){e.forEach(function(e){if(e.addedNodes.length)for(var t=a(e.addedNodes).find(o),i=0,n=t.length;i<n;i++)r(t[i])})}).observe(t,{childList:!0,subtree:!0})}};n.methods.Base=n.methods.Base||{},a.extend(n.methods.Base,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(e,t){var i={addBrowserClassToBody:function(){e.browser&&(e.browser.chrome?t.$_body.addClass("chrome"):e.browser.webkit&&t.$_body.addClass("safari"),e.browser.mozilla?t.$_body.addClass("mozilla"):(e.browser.msie||"8.0"===e.browser.version||"9.0"===e.browser.version||"10.0"===e.browser.version||"11.0"===e.browser.version)&&t.$_body.addClass("ie").addClass("ie"+e.browser.version.replace(/[.0]/g,"")),t.$_body.hasClass("ie")&&t.$_body.addClass(e.browser.version))}};t.methods.BrowserDetect=t.methods.BrowserDetect||{},e.extend(t.methods.BrowserDetect,i)}(jQuery,czrapp);czrapp=czrapp||{};!function(s,l,e){var t={centerImagesWithDelay:function(e){var t=this;setTimeout(function(){t.emit("centerImages")},e||50)},centerInfinity:function(){l.$_body.on("post-load",function(e,t){var i,n,o;void 0!==t&&"success"==t.type&&t.collection&&t.container&&(i=t.collection,n="#"+t.container,o=s(n),"object"!=typeof i||o.length<1||_.each(i,function(e){var t=s(e+" .js-centering",o).centerImages({enableCentering:1,enableGoldenRatio:!1,disableGRUnder:0,zeroTopAdjust:0,setOpacityWhenCentered:!1,oncustom:["simple_load","smartload"]}).find('img:not([src^="data"])');l.methods.Base.triggerSimpleLoad(t)}))})},imgSmartLoad:function(){var e=1==l.localized.imgSmartLoadEnabled,t=l.localized.imgSmartLoadOpts.parentSelectors.join(),i=0<_.size(l.localized.imgSmartLoadOpts.opts)?l.localized.imgSmartLoadOpts.opts:{},n=function(){e&&s(t).each(function(){s(this).data("smartLoadDone")?s(this).trigger("trigger-smartload"):s(this).imgSmartLoad(i)})};if(n(),this.observeAddedNodesOnDom("body","img",_.debounce(function(e){n()},50)),1==l.localized.centerAllImg){var o,r=this;o=e?s(_.filter(s(t).find("img"),function(e){return s(e).is(l.localized.imgSmartLoadOpts.opts.excludeImg.join())})):s(t).find("img");var a=s(_.filter(o,function(e){return s(e).hasClass("tc-holder-img")}));setTimeout(function(){r.triggerSimpleLoad(a)},800),r.triggerSimpleLoad(o)}},centerImages:function(){var e=s(".widget-front .tc-thumbnail, .js-centering.entry-media__holder, .js-centering.entry-media__wrapper");e.each(function(){s(this).append('<div class="czr-css-loader czr-mr-loader" style="display:none"><div></div><div></div><div></div></div>').find(".czr-css-loader").fadeIn("slow")}),e.centerImages({onInit:!0,enableCentering:1,oncustom:["smartload","refresh-height","simple_load"],enableGoldenRatio:!1,zeroTopAdjust:0,setOpacityWhenCentered:!1,addCenteredClassWithDelay:50,opacity:1}),_.delay(function(){e.find(".czr-css-loader").fadeOut({duration:500,done:function(){s(this).remove()}})},300);var t=function(e){1!==(e=_.extend({el:{},delay:0},_.isObject(e)?e:{})).el.length||e.el.hasClass("h-centered")||e.el.hasClass("v-centered")||_.delay(function(){e.el.addClass("opacity-forced")},e.delay)};l.localized.imgSmartLoadEnabled?e.on("smartload","img",function(e){1==s(e.target).length&&t({el:s(e.target),delay:200})}):e.find("img").each(function(){t({el:s(this),delay:100})}),_.delay(function(){e.find("img").each(function(){t({el:s(this),delay:0})})},1e3);var i=s(".fpc-widget-front .fp-thumb-wrapper");if(1<i.length){var n=_.isUndefined(l.localized.FPUImgCentered)?1==l.localized.centerAllImg:1==l.localized.FPUImgCentered;if(i.centerImages({onInit:!1,enableCentering:n,enableGoldenRatio:!1,disableGRUnder:0,zeroTopAdjust:0,oncustom:["smartload","simple_load","block_resized","fpu-recenter"]}),1!=l.localized.imgSmartLoadEnabled?l.base.triggerSimpleLoad(i.find("img:not(.tc-holder-img)")):i.find("img:not(.tc-holder-img)").each(function(){s(this).data("czr-smart-loaded")&&l.base.triggerSimpleLoad(s(this))}),n&&1!=l.localized.imgSmartLoadEnabled){var o=i.find("img.tc-holder-img");0<o.length&&(l.base.triggerSimpleLoad(o),setTimeout(function(){l.base.triggerSimpleLoad(o)},100))}}},parallax:function(){s(".parallax-item").czrParallax(),s(".ham__navbar-toggler").on("click",function(){setTimeout(function(){e.refreshAll()},400)})},czrMagnificPopup:function(e,t){if(CZRParams.isLightBoxEnabled&&!(e.length<1)){var i=function(){},n=function(){if(l.$_window.off("scroll",i),"function"==typeof s.fn.magnificPopup)e.magnificPopup(t);else{if(l.base.scriptLoadingStatus.czrMagnificPopup&&"pending"==l.base.scriptLoadingStatus.czrMagnificPopup.state())return void l.base.scriptLoadingStatus.czrMagnificPopup.done(function(){e.magnificPopup(t)});l.base.scriptLoadingStatus.czrMagnificPopup=l.base.scriptLoadingStatus.czrMagnificPopup||s.Deferred(),s("head").find("#czr-magnific-popup").length<1&&s("head").append(s("<link/>",{rel:"stylesheet",id:"czr-magnific-popup",type:"text/css",href:l.localized.assetsPath+"css/magnific-popup.min.css"})),s.ajax({url:l.localized.assetsPath+"js/libs/jquery-magnific-popup.min.js",cache:!0,dataType:"script"}).done(function(){"function"==typeof s.fn.magnificPopup&&(l.base.scriptLoadingStatus.czrMagnificPopup.resolve(),e.magnificPopup(t))}).fail(function(){l.errorLog("Magnific popup instantiation failed for candidate : "+e.attr("class"))})}};l.base.isInWindow(e)?n():(i=_.throttle(function(){l.base.isInWindow(e)&&n()},100),l.$_window.on("scroll",i))}},lightBox:function(){var n=this,o='<span class="czr-carousel-control btn btn-skin-dark-shaded inverted mfp-arrow-%dir% icn-%dir%-open-big"></span>';0<s("a.expand-img").length&&this.czrMagnificPopup(s('[class*="grid-container__"]'),{delegate:"a.expand-img",type:"image"}),0<s('[data-lb-type="grouped-gallery"]').length&&s(".czr-gallery").each(function(){n.czrMagnificPopup(s(this),{delegate:'[data-lb-type="grouped-gallery"]',type:"image",gallery:{enabled:!0,arrowMarkup:o}})}),0<s('[data-lb-type="grouped-post"]').length&&this.czrMagnificPopup(s("#content"),{delegate:'[data-lb-type="grouped-post"]',type:"image",gallery:{enabled:!0,arrowMarkup:o}}),l.$_body.on("click",'[class*="grid-container__"] .expand-img-gallery',function(e){e.preventDefault();var t=s(this).closest(".czr-carousel");if(!(t.length<1)){var i=function(){t.data("mfp")||(n.czrMagnificPopup(t,{delegate:".carousel-cell img",type:"image",gallery:{enabled:!0,arrowMarkup:o}}),t.data("mfp",!0)),t.data("mfp")&&t.find(".is-selected img").trigger("click")};0<t.find(".flickity-slider").length?i():_.delay(function(){i()},500)}})}};l.methods.JQPlugins={},s.extend(l.methods.JQPlugins,t)}(jQuery,czrapp,Waypoint);czrapp=czrapp||{};!function(r,a){var e={initOnCzrReady:function(){var i=this;this.slidersSelectorMap={mainSlider:'[id^="customizr-slider-main"] .carousel-inner',galleries:".czr-gallery.czr-carousel .carousel-inner",relatedPosts:".grid-container__square-mini.carousel-inner"},a.$_body.on("czr-flickity-ready.flickity",".czr-parallax-slider",i._parallax),a.$_body.on("czr-flickity-ready.flickity",i.slidersSelectorMap.mainSlider,function(){r(this).find(".carousel-caption .czrs-title").czrFitText(1.5,{maxFontSize:65,minFontSize:18}),r(this).find(".carousel-caption .czrs-subtitle").czrFitText(2,{maxFontSize:35,minFontSize:15}),r(this).find(".carousel-caption .czrs-cta-wrapper").czrFitText(2,{maxFontSize:18,minFontSize:12})}),a.$_body.on("select.flickity",".czr-carousel .carousel-inner",i._slider_arrows_enable_toggler),a.$_body.on("czr-flickity-ready.flickity",i.slidersSelectorMap.galleries,i._move_background_link_inside),a.$_body.on("click prev.czr-carousel",".czr-carousel-prev",function(e){i._slider_arrows.apply(this,[e,"previous"])}),a.$_body.on("click next.czr-carousel",".czr-carousel-next",function(e){i._slider_arrows.apply(this,[e,"next"])}),this.fireRelatedPostsCarousel(),this.scheduleGalleryCarousels(),this.fireMainSlider(),a.$_body.on("post-load",function(e,t){if(void 0!==t&&"success"==t.type&&t.collection&&t.container){if(!t.html||-1===t.html.indexOf("czr-gallery")||-1===t.html.indexOf("czr-carousel"))return;i.scheduleGalleryCarousels()}}),a.$_body.on("before-endlessly-caching",function(e,t){_.isObject(t)&&!_.isUndefined(t.candidates_for_caching||!(t.candidates_for_caching instanceof r))&&t.candidates_for_caching.find(i.slidersSelectorMap.galleries).each(function(){if(r(this).data("flickity")){var e=r(this).find(".bg-link");r(this).closest(".entry-media__wrapper").prepend(e),r(this).flickity("destroy"),r(this).find(".czr-css-loader").remove()}})}),i._css_loader='<div class="czr-css-loader czr-mr-loader" style="display:none"><div></div><div></div><div></div></div>',a.$_window.on("scroll",_.throttle(function(){r(i.slidersSelectorMap.galleries).each(function(){a.base.isInWindow(r(this))&&r(this).trigger("czr-is-in-window",{el:r(this)})})},50))},czrFlickity:function(t,i){if(!(t.length<1)){var e=function(){},n=function(){if(a.$_window.off("scroll",e),"function"==typeof r.fn.flickity)t.data("flickity")||t.flickity(i);else{if(a.base.scriptLoadingStatus.flickity&&"pending"==a.base.scriptLoadingStatus.flickity.state())return void a.base.scriptLoadingStatus.flickity.done(function(){t.flickity(i)});a.base.scriptLoadingStatus.flickity=a.base.scriptLoadingStatus.flickity||r.Deferred(),r("head").find("#czr-flickity").length<1&&r("head").append(r("<link/>",{rel:"stylesheet",id:"czr-flickity",type:"text/css",href:a.localized.assetsPath+"css/flickity.min.css"})),r.ajax({url:a.localized.assetsPath+"js/libs/flickity-pkgd.min.js",cache:!0,dataType:"script"}).done(function(){if("function"==typeof r.fn.flickity){a.base.scriptLoadingStatus.flickity.resolve();var e=Flickity.prototype.activate;Flickity.prototype.activate=function(){this.isActive||(e.apply(this,arguments),this.dispatchEvent("czr-flickity-ready",null,this))},t.data("flickity")||t.flickity(i)}}).fail(function(){a.errorLog("Flickity instantiation failed for slider candidate : "+t.attr("class"))})}};a.base.isInWindow(t)?n():(e=_.throttle(function(){a.base.isInWindow(t)&&n()},100),a.$_window.on("scroll",e))}},scheduleGalleryCarousels:function(e){var o=this;(!_.isUndefined(e)&&0<e.length?e.find(o.slidersSelectorMap.galleries):r(o.slidersSelectorMap.galleries)).each(function(){var e=r(this),t=e.find(".carousel-cell").first(),i=e.closest(".grid-item");if(!(t.length<1)){var n=0<t.find("img").length&&0===t.find("img").attr("src").indexOf("data");t.centerImages({enableCentering:1==a.localized.centerSliderImg,onInit:!a.localized.imgSmartLoadsForSliders||a.localized.imgSmartLoadsForSliders&&!n,oncustom:["smartload"]}),a.localized.imgSmartLoadsForSliders&&(t.data("czr_smartLoaded")||(t.find("img").removeClass("tc-smart-load-skip"),t.on("smartload",function(){o._maybeRemoveLoader.call(t)}),o._smartLoadCellImg({el:t,ev:"czr-smartloaded-on-init",delay:800}))),i.one("click",function(){o._fireGalleryCarousel(e)}),i.one("smartload czr-is-in-window",function(){a.base.matchMedia(1024)||(a.userXP.isScrolling()?a.$_body.one("scrolling-finished",function(){o.fireMeWhenStoppedScrolling({delay:4e3,func:o._fireGalleryCarousel,instance:o,args:[e]})}):o.fireMeWhenStoppedScrolling({delay:4e3,func:o._fireGalleryCarousel,instance:o,args:[e]}))})}})},_fireGalleryCarousel:function(e){var t=".carousel-cell";if(e instanceof r&&!(e.length<1)){if(!e.data("czr-gallery-setup")){if(a.localized.imgSmartLoadsForSliders&&this._smartLoadFlickityImg({sliderEl:e,cellSelector:t,scheduleLoading:!1}),_.isUndefined(e.data("flickity"))){var i=1==e.find(t).length,n=!i&&e.data("has-dots");this.czrFlickity(e,{prevNextButtons:!1,wrapAround:!0,imagesLoaded:!0,setGallerySize:!1,cellSelector:t,accessibility:!1,dragThreshold:10,lazyLoad:!1,freeScroll:!1,pageDots:n,draggable:!i}),e.find(t).each(function(){r(this).centerImages({enableCentering:1==a.localized.centerSliderImg,onInit:!a.localized.imgSmartLoadsForSliders,oncustom:["smartload"]})})}e.data("czr-gallery-setup",!0)}}else a.errorLog("_fireGalleryCarousel : the passed element is not printed in the DOM")},fireRelatedPostsCarousel:function(){this.czrFlickity(r(this.slidersSelectorMap.relatedPosts),{prevNextButtons:!1,pageDots:!1,imagesLoaded:!0,cellSelector:"article",groupCells:!0,cellAlign:"left",dragThreshold:10,accessibility:!1,contain:!0})},fireMainSlider:function(){var e=r(this.slidersSelectorMap.mainSlider),t=".carousel-cell";if(!(e.find(t).first().length<1)){if(e.find(t).each(function(){var e=0<r(this).find("img").length&&0===r(this).find("img").attr("src").indexOf("data");r(this).centerImages({enableCentering:1==a.localized.centerSliderImg,onInit:!a.localized.imgSmartLoadsForSliders||a.localized.imgSmartLoadsForSliders&&!e,oncustom:["simple_load","smartload","refresh-centering-on-select"],defaultCSSVal:{width:"100%",height:"auto"},useImgAttr:!0,zeroTopAdjust:0})}),e.on("czr-flickity-ready.flickity",function(){_.delay(function(){r(this).on("select.flickity",function(){e.data("flickity").selectedElement&&1==r(e.data("flickity").selectedElement).length&&r(e.data("flickity").selectedElement).trigger("refresh-centering-on-select")})},500)}),a.localized.imgSmartLoadsForSliders&&this._smartLoadFlickityImg({sliderEl:e,cellSelector:t}),setTimeout(function(){e.prevAll(".czr-slider-loader-wrapper").fadeOut()},300),0<e.length){var i=1==e.find(t).length,n=e.data("slider-delay"),o=!i&&e.data("has-dots");n=!!(_.isNumber(n)&&0<n)&&n,this.czrFlickity(e,{prevNextButtons:!1,pageDots:o,draggable:!i,wrapAround:!0,imagesLoaded:!0,setGallerySize:!1,cellSelector:t,dragThreshold:10,autoPlay:n,accessibility:!1})}return this}},_smartLoadFlickityImg:function(e){var t=this;_.isObject(e)?(e=_.extend({sliderEl:{},cellSelector:".carousel-cell",scheduleLoading:!0},e)).sliderEl instanceof r&&!(e.sliderEl.length<1)&&(e.sliderEl.on("czr-flickity-ready.flickity",function(){e.sliderEl.find(e.cellSelector).each(function(){r(this).data("czr_smartLoaded")||r(this).find("img").removeClass("tc-smart-load-skip"),r(this).hasClass("is-selected")&&!r(this).data("czr_smartLoaded")&&r(this).imgSmartLoad().data("czr_smartLoaded",!0).addClass("czr-smartloaded-on-init")}),e.scheduleLoading?t._scheduleLoadingScenarios(e):e.sliderEl.find(e.cellSelector).each(function(){t._smartLoadCellImg({el:r(this),ev:"czr-smartloaded-on-init"})})}),e.sliderEl.on("smartload",e.cellSelector,function(){t._maybeRemoveLoader.call(r(this))})):a.errorLog("_smartLoadFlickityImg params should be an object")},_scheduleLoadingScenarios:function(t){var e=this;t.sliderEl.data("czr_smartload_scheduled",r.Deferred().done(function(){t.sliderEl.addClass("czr-smartload-scheduled")}));var i=function(){return 1<=t.sliderEl.length&&!_.isUndefined(t.sliderEl.data("czr_smartload_scheduled"))};t.sliderEl.data("czr_schedule_select",r.Deferred(function(){var e=this;t.sliderEl.parent().one("click staticClick.flickity pointerDown.flickity dragMove.flickity",function(){e.resolve()}),_.delay(function(){"pending"==e.state()&&t.sliderEl.one("select.flickity",function(){e.resolve()})},2e3)}).done(function(){i()&&"resolved"!=t.sliderEl.data("czr_smartload_scheduled").state()&&(t.sliderEl.find(t.cellSelector).each(function(){e._smartLoadCellImg({el:r(this),ev:"czr-smartloaded-on-select"})}),t.sliderEl.data("czr_smartload_scheduled").resolve())})),t.sliderEl.data("czr_schedule_scroll_resize",r.Deferred(function(){var e=this;_.delay(function(){a.$_window.one("scroll resize",function(){e.resolve()})},5e3)}).done(function(){i()&&"resolved"!=t.sliderEl.data("czr_smartload_scheduled").state()&&(t.sliderEl.find(t.cellSelector).each(function(){e._smartLoadCellImg({el:r(this),ev:"czr-smartloaded-on-scroll"})}),t.sliderEl.data("czr_smartload_scheduled").resolve())})),t.sliderEl.data("czr_schedule_autoload",r.Deferred(function(){var e=this;_.delay(function(){e.resolve()},1e4)}).done(function(){i()&&"resolved"!=t.sliderEl.data("czr_smartload_scheduled").state()&&(t.sliderEl.find(t.cellSelector).each(function(){e._smartLoadCellImg({el:r(this),ev:"czr-auto-smartloaded"})}),t.sliderEl.data("czr_smartload_scheduled").resolve())}))},_smartLoadCellImg:function(e){var t=(e=_.extend({el:{},ev:"czr-smartloaded",delay:0},e||{})).ev,i=this,n=e.el;n instanceof r&&!(n.find("img[data-src], img[data-smartload]").length<1)&&(n.data("czr_smartLoaded")||(n.find(".czr-css-loader").length<1&&n.append(i._css_loader).find(".czr-css-loader").fadeIn("slow"),_.delay(function(){n.imgSmartLoad().data("czr_smartLoaded",!0).addClass(t)},e.delay),n.data("czr_loader_timer",r.Deferred(function(){var e=this;return _.delay(function(){e.resolve()},2e3),this.promise()})),n.data("czr_loader_timer").done(function(){i._maybeRemoveLoader.call(n)})))},_maybeRemoveLoader:function(){r(this)instanceof r&&r(this).find(".czr-css-loader").fadeOut({duration:"fast",done:function(){r(this).remove()}})},_parallax:function(){var i=r(this),e=_.object(_.chain(["parallaxRatio","parallaxDirection","parallaxOverflowHidden","backgroundClass","matchMedia"]).map(function(e){var t=i.data(e);return t?[e,t]:""}).compact().value());i.children(".flickity-viewport").czrParallax(e)},_slider_arrows:function(e,t){e.preventDefault();var i=r(this),n=i.data("controls");i.length&&(n||(n=i.closest(".czr-carousel").find(".flickity-enabled").data("flickity"),i.data("controls",n)),n&&("previous"==t?n.previous():"next"==t&&n.next()))},_slider_arrows_enable_toggler:function(){var e=r(this),t=e.data("flickity");if(t&&!t.options.wrapAround){var i=e.closest(".czr-carousel"),n=i.find(".czr-carousel-prev"),o=i.find(".czr-carousel-next");n.removeClass("disabled"),o.removeClass("disabled"),0===t.selectedIndex&&n.addClass("disabled"),t.slides.length-1==t.selectedIndex&&o.addClass("disabled")}},_move_background_link_inside:function(){var e=r(this).closest(".entry-media__wrapper").children(".bg-link");0<e.length&&r(this).find(".flickity-viewport").prepend(e)}};a.methods.Slider={},r.extend(a.methods.Slider,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(o,i){var e={setupUIListeners:function(){var n=this;if(this.windowWidth=new i.Value(i.$_window.width()),this.isScrolling=new i.Value(!1),this.isResizing=new i.Value(!1),this.scrollPosition=new i.Value(i.$_window.scrollTop()),this.scrollDirection=new i.Value("down"),n.previewDevice=new i.Value("desktop"),n._isCustomizing()){var e=function(){wp.customize.preview.bind("previewed-device",function(e){n.previewDevice(e)})};wp.customize.preview?e():wp.customize.bind("preview-ready",function(){e()})}var t=function(e,t,i){(i=i||{}).emulate?n.isResizing(!0):n.isResizing(n._isMobile?2<Math.abs(t-e):0<Math.abs(t-e)),clearTimeout(o.data(this,"resizeTimer")),o.data(this,"resizeTimer",setTimeout(function(){n.isResizing(!1)},50))};n.windowWidth.bind(t),i.$_window.on("czr-resize",function(){t(null,null,{emulate:!0})}),n.isResizing.bind(function(e){i.$_body.toggleClass("is-resizing",e)}),this.isScrolling.bind(function(e){i.$_body.toggleClass("is-scrolling",e),e||(i.trigger("scrolling-finished"),i.$_body.trigger("scrolling-finished"))}),this.scrollPosition.bind(function(e,t){i.$_body.toggleClass("is-scrolled",100<e),e<=50&&i.trigger("page-scrolled-top",{}),n.scrollDirection(t<=e?"down":"up")}),i.$_window.on("resize",_.throttle(function(){n.windowWidth(i.$_window.width())},10)),i.$_window.on("scroll",_.throttle(function(){n.isScrolling(!0),n.scrollPosition(i.$_window.scrollTop()),clearTimeout(o.data(this,"scrollTimer")),o.data(this,"scrollTimer",setTimeout(function(){n.isScrolling(!1)},100))},10))}};i.methods.UserXP=i.methods.UserXP||{},o.extend(i.methods.UserXP,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(a,s){var e={stickifyHeader:function(){if(!(s.$_header.length<1)){var n=this;this.stickyCandidatesMap={mobile:{mediaRule:"only screen and (max-width: 991px)",selector:"mobile-sticky"},desktop:{mediaRule:"only screen and (min-width: 992px)",selector:"desktop-sticky"}},this.navbarsWrapperSelector=".tc-header",this.$_navbars_wrapper=a(this.navbarsWrapperSelector),this.$_topbar=1==this.$_navbars_wrapper.length&&this.$_navbars_wrapper.find(".topbar-navbar__wrapper"),this.$_primary_navbar=1==this.$_navbars_wrapper.length&&this.$_navbars_wrapper.find(".primary-navbar__wrapper"),this.mobileMenuOpenedEvent="show.czr.czrCollapse",this.mobileMenuStickySelector=".mobile-sticky .mobile-nav__nav",this.stickyMenuWrapper=!1,this.stickyMenuDown=new s.Value("_not_set_"),this.stickyHeaderThreshold=50,this.currentStickySelector=new s.Value(""),this.hasStickyCandidate=new s.Value(!1),this.stickyHeaderAnimating=new s.Value(!1),this.animationPromise=a.Deferred(function(){return this.resolve()}),this.userStickyOpt=new s.Value(n._setUserStickyOpt()),this.isFixedPositionned=new s.Value(!1),this.stickyStage=new s.Value("_not_set_"),this.shrinkBrand=new s.Value(!1),this.currentStickySelector.bind(function(e){var t=function(){s.$_header.css({height:""}),n.isFixedPositionned(!1),n.stickyMenuDown(!1),n.stickyMenuWrapper=!1,n.hasStickyCandidate(!1)};if(_.isEmpty(e))t();else if(n.hasStickyCandidate(1==s.$_header.find(e).length),n.hasStickyCandidate()){n.stickyMenuWrapper=s.$_header.find(e);var i=n.stickyMenuWrapper.find(".navbar-brand-sitelogo img");1==i.length?(i.bind("header-logo-loaded",function(){s.$_header.css({height:s.$_header[0].getBoundingClientRect().height})}),i[0].complete?i.trigger("header-logo-loaded"):i.on("load",function(){i.trigger("header-logo-loaded")})):s.$_header.css({height:s.$_header[0].getBoundingClientRect().height})}else t()}),this.isFixedPositionned.bind(function(e){s.$_header.toggleClass("fixed-header-on",e).toggleClass("is-sticky",e),n._pushPrimaryNavBarDown(e),n.shrinkBrand(e)}),this.shrinkBrand.bind(function(e){s.$_header.toggleClass("can-shrink-brand",e),e||_.delay(function(){n.scrollPosition()<n.stickyHeaderThreshold&&s.$_header.trigger("czr-resize")},400)});var i=function(e,t){if(n.hasStickyCandidate()&&((e=e||n.scrollPosition())==(t=t||n.scrollPosition())&&0===e||!(Math.abs(e-t)<=5))){var i=s.$_header.find(n.currentStickySelector())[0].getBoundingClientRect().height;if("down"==n.scrollDirection()&&e<=n.topStickPoint()+i)n.stickyStage("down_top"),n.isFixedPositionned(!1),n.stickyMenuDown(!0);else if("down"==n.scrollDirection()&&e>n.topStickPoint()+i&&e<n.topStickPoint()+2*i)n.stickyStage("down_middle"),n.isFixedPositionned(!1),n.stickyMenuDown(!1);else if("down"==n.scrollDirection()&&e>=n.topStickPoint()+2*i)if("stick_always"==n.userStickyOpt()){n.stickyHeaderAnimating()||("down_after"==n.stickyStage()||"up"==n.stickyStage())&&!0===n.stickyMenuDown()||n.stickyMenuDown(!1,{fast:!0}).done(function(){n.stickyMenuDown(!0,{forceFixed:!0}).done(function(){}),n.stickyStage("down_after")})}else n.stickyMenuDown(!1),n.stickyStage("down_after");else"up"==n.scrollDirection()&&(n.stickyStage("up"),n.stickyMenuDown(!0).done(function(){}),n.isFixedPositionned()&&n.isFixedPositionned(e>n.topStickPoint()))}};this.scrollPosition.bind(function(e,t){i(e,t),n.shrinkBrand(n.isFixedPositionned())});var e=function(){"up"==n.scrollDirection()&&n._mayBeresetTopPosition()};s.bind("scrolling-finished",e),s.bind("scrolling-finished",function(){_.delay(function(){i()},400)}),s.bind("topbar-collapsed",e),n.stickyMenuDown.validate=function(e){return!!n.hasStickyCandidate()&&(n._isMobileMenuExpanded()?this._value:n.scrollPosition()<n.stickyHeaderThreshold&&!e?(n.isScrolling()||s.errorLog("Menu too close from top to be moved up"),n.stickyMenuDown()):e)},n.stickyMenuDown.bind(function(e,t,i){return _.isBoolean(e)&&n.hasStickyCandidate()?(i=_.extend({direction:e?"down":"up",forceFixed:!1,menu_wrapper:n.stickyMenuWrapper,fast:!1},i||{}),n._animate({direction:i.direction,forceFixed:i.forceFixed,menu_wrapper:i.menu_wrapper,fast:i.fast})):a.Deferred(function(){return this.resolve().promise()})},{deferred:!0}),n.isResizing.bind(function(){n._refreshOrResizeReact()}),s.$_header.on("refresh-sticky-header",function(){n._refreshOrResizeReact()}),s.$_body.on(n.mobileMenuOpenedEvent,n.mobileMenuStickySelector,function(){var e=a(this),t=e.find(".mobile-nav__inner");if(0<e.length){var i=(void 0!==window.innerHeight?window.innerHeight:s.$_window.height())-e.closest(".mobile-nav__container").offset().top+s.$_window.scrollTop();t.css("max-height",i+"px")}}),n._setStickySelector(),this.topStickPoint=new s.Value(n._getTopStickPoint()),!n._isMobile()&&n.hasStickyCandidate()&&n._adjustDesktopTopNavPaddingTop()}},_animate:function(i){var n=a.Deferred(),o=this,r=i.menu_wrapper.length?i.menu_wrapper:s.$_header.find(o.currentStickySelector());if(this.animationPromise=n,!r.length)return n.resolve().promise();o.isFixedPositionned(!!o.isFixedPositionned()||("up"==o.scrollDirection()||i.forceFixed));var t=function(){var e,t=r[0].getBoundingClientRect().height;return i.fast&&r.addClass("fast"),e="up"==i.direction?"translate(0px, -"+t+"px)":"translate(0px, -0px)",o.stickyHeaderAnimating(!0),o.stickyHeaderAnimationDirection=i.direction,r.toggleClass("sticky-visible","down"==i.direction),r.css({"-webkit-transform":e,"-moz-transform":e,"-ms-transform":e,"-o-transform":e,transform:e}),_.delay(function(){o.stickyHeaderAnimating(!1),i.fast&&r.removeClass("fast"),n.resolve()},i.fast?100:350),n};return _.delay(function(){var e=_.isString(r.attr("data-menu-id"))?r.attr("data-menu-id"):"";s.userXP.isResponsive()&&1==a(".mobile-navbar__wrapper").length&&o._isMobileMenuExpanded()?o._toggleMobileMenu().done(function(){t().done(function(){o._mayBeresetTopPosition()})}):t(),s.userXP.mobileMenu&&s.userXP.mobileMenu.has(e)&&s.userXP.mobileMenu(e)("collapsed").done(function(){t()})},10),n.promise()},_isMobileMenuExpanded:function(){var e=a(".mobile-navbar__wrapper");return 1==a(".mobile-navbar__wrapper").length&&(1==e.find(".ham-toggler-menu").length&&"true"==e.find(".ham-toggler-menu").attr("aria-expanded"))},_toggleMobileMenu:function(){return a.Deferred(function(){var e=a(".mobile-navbar__wrapper"),t=this;1==e.length?(e.find(".ham-toggler-menu").trigger("click"),_.delay(function(){t.resolve()},350)):t.resolve()}).promise()},_setStickySelector:function(){var t=this,i=!1;_.each(t.stickyCandidatesMap,function(e){_.isFunction(window.matchMedia)&&matchMedia(e.mediaRule).matches&&"no_stick"!=t.userStickyOpt()&&(i="."+e.selector)}),t.currentStickySelector(i)},_setUserStickyOpt:function(i){return _.isUndefined(i)&&_.each(this.stickyCandidatesMap,function(e,t){_.isFunction(window.matchMedia)&&matchMedia(e.mediaRule).matches&&(i=t)}),i=i||"desktop",s.localized.menuStickyUserSettings&&s.localized.menuStickyUserSettings[i]?s.localized.menuStickyUserSettings[i]:"no_stick"},_getTopStickPoint:function(){if(this.$_navbars_wrapper.length<1)return 0;var e=this;return 1!=e.$_topbar.length||e.$_topbar.is(a(this.currentStickySelector()))?e.$_navbars_wrapper.offset().top:e.$_navbars_wrapper.offset().top+e.$_topbar[0].getBoundingClientRect().height},_adjustDesktopTopNavPaddingTop:function(){},_mayBeresetTopPosition:function(){var t=this,i=t.stickyMenuWrapper;"up"==t.scrollDirection()&&i.length&&(t.scrollPosition()>=t.stickyHeaderThreshold||(t._isMobile()||t._adjustDesktopTopNavPaddingTop(),t.stickyMenuDown(!0,{force:!0,fast:!0}).done(function(){t.stickyHeaderAnimating(!0),a.Deferred(function(){var e=this;_.delay(function(){"up"==t.scrollDirection()&&t.scrollPosition()<10&&i.css({"-webkit-transform":"","-moz-transform":"","-ms-transform":"","-o-transform":"",transform:""}),t.stickyHeaderAnimating(!1),t.isFixedPositionned(!1),e.resolve()},10)}).promise().done(function(){})})))},_pushPrimaryNavBarDown:function(e){e=e||this.isFixedPositionned(),1==this.$_primary_navbar.length&&1==this.$_topbar.length&&this.$_topbar.is(a(this.currentStickySelector()))&&this.$_primary_navbar.css({"padding-top":e?this.$_topbar[0].getBoundingClientRect().height+"px":""})},_refreshOrResizeReact:function(){var e=this;e.userStickyOpt(e._setUserStickyOpt()),e._setStickySelector(),e.topStickPoint(e._getTopStickPoint()),e._pushPrimaryNavBarDown(),e._isMobileMenuExpanded()&&e._toggleMobileMenu(),e.hasStickyCandidate()?e.stickyMenuDown(e.scrollPosition()<e.stickyHeaderThreshold,{fast:!0}).done(function(){s.$_header.css("height",""),e.isFixedPositionned(!1),e.hasStickyCandidate()&&(s.$_header.css("height",s.$_header[0].getBoundingClientRect().height),e.isFixedPositionned(e.scrollPosition()>e.topStickPoint()))}):e.stickyMenuDown(!1).done(function(){a("#header").css("padding-top","")}),e._isMobile()?(a(".full-width.topbar-enabled #header").css("padding-top",""),e._mayBeresetTopPosition()):e._adjustDesktopTopNavPaddingTop()}};s.methods.UserXP=s.methods.UserXP||{},a.extend(s.methods.UserXP,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(o,r){var e={mayBePrintFrontNote:function(){if((!r.localized||!_.isUndefined(r.localized.frontNotifications))&&!_.isEmpty(r.localized.frontNotifications)&&_.isObject(r.localized.frontNotifications)){var t=this;r.frontNotificationVisible=new r.Value(!1),r.frontNotificationRendered=!1,_.each(r.localized.frontNotifications,function(e){_.isUndefined(r.frontNotification)&&_.isObject(e)&&(e=_.extend({enabled:!1,content:"",dismissAction:"",ajaxUrl:r.localized.ajaxUrl},e)).enabled&&(r.frontNotification=new r.Value(e))}),r.frontNotificationVisible.bind(function(e){return t._toggleNotification(e)},{deferred:!0}),r.frontNotificationVisible(!0)}},_toggleNotification:function(e){var t=this,i=o.Deferred();if(r.frontNotificationRendered&&r.frontNotificationVisible())return i.resolve().promise();return e?_.delay(function(){var e,n;(e=o.Deferred(),n=o("#footer","#tc-page-wrap"),!_.isUndefined(r.frontNotification)&&_.isFunction(r.frontNotification)&&_.isObject(r.frontNotification())?(o.Deferred(function(){var e=this,t=r.frontNotification().content,i=['<div id="bottom-front-notification">','<div class="note-content">','<span class="fas fa-times close-note" title="'+r.localized.i18n["Permanently dismiss"]+'"></span>',"</div>","</div>"].join("");1!=n.length||_.isEmpty(t)?e.resolve():(o.when(n.append(i)).done(function(){o(this).find(".note-content").prepend(t),r.$_body.find(".czr-btt.czr-btta").fadeOut("slow"),r.frontNotificationRendered=!0}),_.delay(function(){o("#bottom-front-notification","#footer").css({bottom:0}),e.resolve()},500))}).done(function(){r.setupDOMListeners([{trigger:"click keydown",selector:".close-note",actions:function(){r.frontNotificationVisible(!1).done(function(){r.doAjax({action:r.frontNotification().dismissAction,withNonce:!0,ajaxUrl:r.frontNotification().ajaxUrl})})}}],{dom_el:n},t),e.resolve()}),e.promise()):e.resolve().promise()).always(function(){i.resolve()})},3e3):o.Deferred(function(){var e=this,t=o("#bottom-front-notification","#footer");1==t.length?(t.css({bottom:"-100%"}),_.delay(function(){t.remove(),r.$_body.find(".czr-btt.czr-btta").fadeIn("slow"),r.frontNotificationRendered=!1,e.resolve()},450)):e.resolve()}).done(function(){r.frontNotificationVisible(!1),i.resolve()}),_.delay(function(){r.frontNotificationVisible(!1)},45e3),i.promise()}};r.methods.UserXP=r.methods.UserXP||{},o.extend(r.methods.UserXP,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(f,g){var e={outline:function(){"function"==typeof tcOutline&&tcOutline()},variousHoverActions:function(){function e(e){t(f(this).closest("article"),"hover",e)}function t(e,t,i){"mouseenter"==i.type?e.addClass(t):"mouseleave"==i.type&&e.removeClass(t)}g.$_body.hasClass("czr-is-mobile")||(f(".grid-container__alternate, .grid-container__square-mini, .grid-container__plain").on("mouseenter mouseleave",".entry-media__holder, article.full-image .tc-content",e),f(".grid-container__masonry, .grid-container__classic").on("mouseenter mouseleave",".grid__item",e),g.$_body.on("mouseenter mouseleave",".gallery-item, .widget-front, .fpc-widget-front",function(e){t(f(this),"hover",e)}),g.$_body.on("mouseenter mouseleave",".widget li",function(e){t(f(this),"on",e)}))},formFocusAction:function(){var e=['input[type="url"]','input[type="email"]','input[type="text"]','input[type="password"]',"textarea"],t="czr-focus",n="in-focus",o=".czr-form ."+t,i=_.map(e,function(e){return o+" "+e}).join(),r=f(e.join());if(!(r.length<=0)){r.each(function(){var e=f(this);!e.attr("placeholder")&&e.closest("#buddypress").length<1&&f(this).addClass("czr-focusable").parent().addClass(t)});g.$_body.on("in-focus-load.czr-focus focusin focusout",i,function(e){var t=f(this),i=t.closest(o);setTimeout(function(){t.val()||e&&("focusin"==e.type||"focus"==e.type)?i.addClass(n):i.removeClass(n)},50)}),f(i).trigger("in-focus-load.czr-focus"),g.$_body.on("click","."+t+" .icn-close",function(e){e.preventDefault(),e.stopPropagation();var t=f(this).closest("form").find(".czr-search-field");t.length&&(t.val()?t.val("").focus():t.blur())})}},onEscapeKeyPressed:function(){var e="keydown",t="click",i="click",n="czr-search-field",o="czr-overlay-opened",r="tc-sn-visible",a=".czr-overlay",s="#tc-sn",l=".czr-overlay-toggle_btn",c='[data-toggle="sidenav"]';g.$_body.on(e,function(e){if(27==e.which){if(f(e.target).hasClass(n))return void f(e.target).val("").blur();if(f(a).length&&g.$_body.hasClass(o))return void f(a).find(l).trigger(t);if(f(s).length&&g.$_body.hasClass(r))return void f(s).find(c).trigger(i)}})},variousHeaderActions:function(){var i=this;g.$_body.on("shown.czr.czrDropdown",".nav__woocart",function(){var t=f(this),e=function(){var e=t.find(".product_list_widget");e.length&&!e.hasClass("mCustomScrollbar")&&e.mCustomScrollbar({theme:g.$_body.hasClass("header-skin-light")?"minimal-dark":"minimal"})};"function"==typeof f.fn.mCustomScrollbar?e():i.maybeLoadCustomScrollAssets().done(function(){e()})})},headerSearchToLife:function(){var e=this,o=".search-toggle_btn.czr-overlay-toggle_btn",r="full-search-opened czr-overlay-opened",t=".czr-overlay .overlay-content",i=".czr-search-field",n=".mobile-utils__wrapper",a=".search-toggle_btn.czr-dropdown";g.$_body.on("click",o,function(e){e.preventDefault();var t=f(o)[0].getBoundingClientRect(),i=f(window).width(),n=t.left<i/2;g.$_body.removeClass("search-icon-left").removeClass("search-icon-right"),g.$_body.toggleClass(n?"search-icon-left":"search-icon-right"),g.$_body.toggleClass(r)}),g.$_body.on("transitionend webkitTransitionEnd otransitionend oTransitionEnd MSTransitionEnd",t,function(e){f(t).get()[0]==e.target&&(g.$_body.hasClass("full-search-opened")?f(this).find(i).focus():f(this).find(i).blur())}),e.headerSearchExpanded=new g.Value(!1),e.headerSearchExpanded.bind(function(t){return f.Deferred(function(){var e=this;f(a,n).toggleClass("show",t).attr("aria-expanded",t),t&&f(".ham-toggler-menu:not(.czr-collapsed)").trigger("click.czr.czrCollapse"),f(".nav__search .czr-dropdown-menu",n).attr("aria-expanded",t).stop()[t?"slideDown":"slideUp"]({duration:250,complete:function(){t&&f(".czr-search-field",f(this)).focus(),e.resolve()}})}).promise()},{deferred:!0}),g.setupDOMListeners([{trigger:"click",selector:a,actions:function(){g.userXP.headerSearchExpanded(!g.userXP.headerSearchExpanded())}}],{dom_el:f(n)},g.userXP),g.userXP.windowWidth.bind(function(){e.headerSearchExpanded(!1),_.delay(function(){g.$_body.removeClass(r)},250)}),g.$_body.on("show.czr.czrCollapse",".mobile-nav__nav",function(){e.headerSearchExpanded(!1),_.delay(function(){g.$_body.removeClass(r)},250)}),g.userXP.stickyHeaderAnimating&&g.userXP.stickyHeaderAnimating.bind(function(){e.headerSearchExpanded(!1),_.delay(function(){g.$_body.removeClass(r)},250)})},maybeLoadCustomScrollAssets:function(){var e=f.Deferred();return"function"==typeof f.fn.mCustomScrollbar?e.resolve().promise():(f("head").append(f("<link/>",{rel:"stylesheet",id:"czr-custom-scroll-bar",type:"text/css",href:g.localized.assetsPath+"css/jquery.mCustomScrollbar.min.css"})),f.ajax({url:g.localized.assetsPath+"js/libs/jquery-mCustomScrollbar.min.js",cache:!0,dataType:"script"}).done(function(){if("function"!=typeof f.fn.mCustomScrollbar)return e.rejected();e.resolve()}).fail(function(){g.errorLog("mCustomScrollbar instantiation failed")}),e.promise())},smoothScroll:function(){(f("body").hasClass("czr-infinite-scroll-on")||g.localized.SmoothScroll&&g.localized.SmoothScroll.Enabled&&!g.base.matchMedia(1024))&&smoothScroll(g.localized.SmoothScroll.Options)},magnificPopup:function(){},attachmentsFadeEffect:function(){f(".attachment-image-figure img").delay(500).addClass("opacity-forced")},pluginsCompatibility:function(){var e=f(".the_champ_vertical_sharing, .the_champ_vertical_counter",".article-container");e.length&&e.detach().prependTo(".article-container")},featuredPagesAlignment:function(){var l=f(".featured-page .widget-front"),c=l.length,t=!1,i="";if(!(c<2)){var d=new Array(c),u=new Array(c);if(f.each(l,function(e,t){d[e]=f(t).find("[class^=fp-]"),u[e]=d[e].length}),u=Math.max.apply(Math,u)){for(var h=new Array(u),p=new Array(u),e=0;e<u;e++)h[e]=new Array(c);n(),g.$_window.on("resize",_.debounce(n,20))}}function n(){if(!t){var e=g.$_window.width();if(e==i)return;i=e,t=!0,window.requestAnimationFrame(function(){!function(){var e,t,i=[];for(e=0;e<u;e++){for(t=0;t<c;t++){var n=f(d[t][e]),o=0,r=f(l[t]);0<n.length&&(n.css("paddingTop",""),o=n.offset().top),h[e][t]=o,i.length<c&&(i[t]=parseFloat(r.offset().top))}if(1==_.uniq(i).length)for(p[e]=Math.max.apply(Math,h[e]),t=0;t<c;t++){var a,s=f(d[t][e]);0<s.length&&(a=+p[e]-h[e][t])&&s.css("paddingTop",parseFloat(s.css("paddingTop"))+a)}}}(),t=!1})}}},bttArrow:function(){var e=!1,t=f(".czr-btta");if(0!==t.length){var i=function(){e||(e=!0,window.requestAnimationFrame(function(){t.toggleClass("show",g.$_window.scrollTop()>g.$_window.height()),e=!1}))};g.$_window.on("scroll",_.throttle(i,20)),i()}},backToTop:function(){var t=f("html, body"),i=function(e){return(0<e.which||"mousedown"===e.type||"mousewheel"===e.type)&&t.stop().off("scroll mousedown DOMMouseScroll mousewheel keyup",i)};g.$_body.on("click touchstart touchend czr-btt",".czr-btt",function(e){e.preventDefault(),e.stopPropagation(),t.on("scroll mousedown DOMMouseScroll mousewheel keyup",i),t.animate({scrollTop:0},1e3,function(){t.stop().off("scroll mousedown DOMMouseScroll mousewheel keyup",i)})})},anchorSmoothScroll:function(){var e=g.localized.anchorSmoothScrollExclude&&_.isArray(g.localized.anchorSmoothScrollExclude.simple)?g.localized.anchorSmoothScrollExclude.simple.join(","):"",i=this,t=f('a[data-anchor-scroll="true"][href^="#"]').not(e);g.localized.isAnchorScrollEnabled&&(t=t.add('#tc-page-wrap a[href^="#"],#tc-sn a[href^="#"]').not(e));var n,o=_.isObject(g.localized.anchorSmoothScrollExclude.deep)?g.localized.anchorSmoothScrollExclude.deep:null;o&&(n=_.toArray(t).filter(function(t){return 2==["ids","classes"].filter(function(e){return i.isSelectorAllowed(f(t),o,e)}).length})),f(n).on("click",function(){var e=f(this).attr("href");if(f(e).length)return"#"!=e&&f("html, body").animate({scrollTop:f(e).offset().top},700,g.localized.isAnchorScrollEnabled?"easeOutExpo":"linear"),!1})},gutenbergAlignfull:function(){var e=g.$_body.hasClass("page"),t=g.$_body.hasClass("single"),i=".czr-full-layout.czr-no-sidebar .entry-content .alignfull[class*=wp-block-cover]",n=".czr-full-layout.czr-no-sidebar .entry-content .alignfull[class*=wp-block]",o=[".czr-boxed-layout .entry-content .wp-block-table.alignfull",".czr-boxed-layout .entry-content .wp-block-table.alignwide",".czr-full-layout.czr-no-sidebar .entry-content .wp-block-table.alignwide"];if(e||t){o=t?(i=".single"+i,n=".single"+n,".single"+o.join(",.single")):(i=".page"+i,n=".page"+n,".page"+o.join(",.page"));var r=i+".has-parallax",a=f("#tc-page-wrap"),s=f('.container[role="main"]',a);0<f(n).length&&(c(a,n,"czr-gb-alignfull"),0<f(r).length&&l(),g.userXP.windowWidth.bind(function(){c(a,n,"czr-gb-alignfull"),l()})),0<f(o).length&&(c(s,o,"czr-gb-aligntable"),g.userXP.windowWidth.bind(function(){c(s,o,"czr-gb-aligntable")}))}function l(){f(r).each(function(){f(this).css("left","").css("left",-1*f(this).offset().left).addClass("czr-alignfull-p")})}function c(e,t,i){var n=e[0].getBoundingClientRect().width,o=f("head #"+i);o.length<1&&(o=f("<style />",{id:i}),f("head").append(o),o=f("head #"+i)),o.html(t+"{width:"+n+"px}")}},mayBeLoadFontAwesome:function(){jQuery(function(){if(CZRParams.deferFontAwesome&&!(f("[class*=fa-]").length<1)){var i=!1,e=function(e){if(i=!0,!(0<f("head").find('[href*="fontawesome-all.min.css"]').length)){var t=document.createElement("link");t.setAttribute("href",CZRParams.fontAwesomeUrl),t.setAttribute("id","czr-font-awesome"),t.setAttribute("rel","stylesheet"),document.getElementsByTagName("head")[0].appendChild(t)}};setTimeout(function(){i||e()},3e3),g.$_window.one("scroll",function(){i||e()}).one("mousemove",function(){i||e()})}})},maybePreloadGoogleFonts:function(){if(window.CZRParams&&CZRParams.preloadGfonts&&!_.isEmpty(CZRParams.googleFonts)){var e,t=document.getElementsByTagName("head")[0],i=document.createElement("link");i.setAttribute("href","//fonts.googleapis.com/css?family="+CZRParams.googleFonts+"&display=swap"),i.setAttribute("rel",(e=document.createElement("link").relList)&&e.supports&&e.supports("preload")?"preload":"stylesheet"),i.setAttribute("id","czr-gfonts-css-preloaded"),i.setAttribute("as","style"),i.onload=function(){this.onload=null,function(){this.setAttribute("rel","stylesheet")}.call(i)},i.onerror=function(e){console.log("Customizr preloadAsset error",e)},t.appendChild(i)}}};g.methods.UserXP=g.methods.UserXP||{},f.extend(g.methods.UserXP,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(e,n){var t={initOnDomReady:function(){this.$_push=e("#czr-push-footer"),this._class="sticky-footer-enabled",this.$_page=e("#tc-page-wrap"),this.doingAnimation=!1,setTimeout(function(){n.$_body.trigger("refresh-sticky-footer")},50)},stickyFooterEventListener:function(){var e=this;n.$_window.on("resize",function(){e.stickyFooterEventHandler("resize")}),n.$_window.on("golden-ratio-applied",function(){e.stickyFooterEventHandler("refresh")}),n.$_body.on("refresh-sticky-footer",function(){e.stickyFooterEventHandler("refresh")})},stickyFooterEventHandler:function(e){var t=this;if(this._is_sticky_footer_enabled())switch(e){case"resize":t.doingAnimation||(t.doingAnimation=!0,window.requestAnimationFrame(function(){t._apply_sticky_footer(),t.doingAnimation=!1}));break;case"refresh":this._apply_sticky_footer()}},_apply_sticky_footer:function(){var e=this._get_full_height(),t=n.$_window.height()-e,i=!1;0<t?(this.$_push.css("height",t).addClass(this._class),i="sticky-footer-on"):this.$_push.hasClass(this._class)&&(this.$_push.removeClass(this._class),i="sticky-footer-off"),i&&n.$_body.trigger(i)},_is_sticky_footer_enabled:function(){return n.$_body.hasClass("czr-sticky-footer")},_get_full_height:function(){return this.$_page.length<1?e(window).outerHeight(!0):this.$_page.outerHeight(!0)+this.$_page.offset().top-("block"==this.$_push.css("display")?this.$_push.outerHeight():0)}};n.methods.StickyFooter={},e.extend(n.methods.StickyFooter,t)}(jQuery,czrapp);czrapp=czrapp||{};!function(o,r){var e={initOnDomReady:function(){this._sidenav_selector="#tc-sn",this._is_sn_on()&&(this._doingWindowAnimation=!1,this._sidenav_inner_class="tc-sn-inner",this._sidenav_menu_class="nav__menu-wrapper",this._toggle_event="click",this._toggler_selector='[data-toggle="sidenav"]',this._active_class="show",this._browser_can_translate3d=!r.$_html.hasClass("no-csstransforms3d"),this.transitionEnd="transitionend webkitTransitionEnd otransitionend oTransitionEnd MSTransitionEnd",this.sideNavEventListener(),this._set_offset_height())},sideNavEventListener:function(){var t=this;r.$_body.on(this._toggle_event,this._toggler_selector,function(e){e.preventDefault(),t.sideNavEventHandler(e,"toggle")}),r.$_body.on(this.transitionEnd,"#tc-sn",function(e){t.sideNavEventHandler(e,"transitionend")}),r.$_body.on("sn-close sn-open",function(e){t.sideNavEventHandler(e,e.type)}),r.$_window.on("resize",function(e){t.sideNavEventHandler(e,"resize")}),r.$_window.on("scroll",function(e){t.sideNavEventHandler(e,"scroll")})},maybeLoadScript:function(){var e=o.Deferred();if("function"==typeof o.fn.mCustomScrollbar)return e.resolve().promise();if(r.base.scriptLoadingStatus.mCustomScrollbar&&"pending"==r.base.scriptLoadingStatus.mCustomScrollbar.state())return r.base.scriptLoadingStatus.mCustomScrollbar.done(function(){e.resolve()}),e.promise();r.base.scriptLoadingStatus.mCustomScrollbar=r.base.scriptLoadingStatus.mCustomScrollbar||o.Deferred(),o("head").find("#czr-custom-scroll-bar").length<1&&o("head").append(o("<link/>",{rel:"stylesheet",id:"czr-custom-scroll-bar",type:"text/css",href:r.localized.assetsPath+"css/jquery.mCustomScrollbar.min.css"}));var t=r.localized.assetsPath+"js/libs/jquery-mCustomScrollbar.min.js?v="+r.localized.version;return r.localized.isDevMode&&(t=r.localized.assetsPath+"js/libs/jquery-mCustomScrollbar.js?v="+r.localized.version),o.ajax({url:t,cache:!0,dataType:"script"}).done(function(){if("function"!=typeof o.fn.mCustomScrollbar)return e.rejected();r.base.scriptLoadingStatus.mCustomScrollbar.resolve(),e.resolve()}).fail(function(){r.errorLog("mCustomScrollbar instantiation failed")}),e.promise()},sideNavEventHandler:function(e,t){var i=this,n=function(){switch(t){case"toggle":i._is_translating()||i._toggle_callback(e);break;case"transitionend":i._is_translating()&&e.target==o(i._sidenav_selector).get()[0]&&i._transition_end_callback();break;case"sn-open":i._end_visibility_toggle(),o(i._toggler_selector,i._sidenav_selector).trigger("focus");break;case"sn-close":i._end_visibility_toggle(),i._set_offset_height();break;case"scroll":case"resize":setTimeout(function(){i._doingWindowAnimation||(i._doingWindowAnimation=!0,window.requestAnimationFrame(function(){i._set_offset_height(),i._doingWindowAnimation=!1}))},200)}};"function"==typeof o.fn.mCustomScrollbar?(o("."+i._sidenav_menu_class,i._sidenav_selector).data("mCustomScrollbar")||i._init_scrollbar(),n()):0<o("."+i._sidenav_menu_class,i._sidenav_selector).length&&"toggle"==t&&i.maybeLoadScript().done(function(){i._init_scrollbar(),n()})},_init_scrollbar:function(){var e=this,t=function(){o("."+e._sidenav_menu_class,e._sidenav_selector).mCustomScrollbar({theme:r.$_body.hasClass("header-skin-light")?"minimal-dark":"minimal"}),o("."+e._sidenav_menu_class,e._sidenav_selector).data("mCustomScrollbar",!0)};"function"==typeof o.fn.mCustomScrollbar?t():e.maybeLoadScript().done(function(){t()})},_toggle_callback:function(e){e.preventDefault(),r.$_body.hasClass("tc-sn-visible")?this._anim_type="sn-close":this._anim_type="sn-open";var t="sn-open"==this._anim_type;return o(this._toggler_selector).attr("aria-expanded",t),o(this._sidenav_selector).attr("aria-expanded",t),this._browser_can_translate3d?r.$_body.addClass("animating "+this._anim_type).trigger(this._anim_type+"_start"):r.$_body.toggleClass("tc-sn-visible").trigger(this._anim_type),!1},_transition_end_callback:function(){r.$_body.removeClass("animating "+this._anim_type).toggleClass("tc-sn-visible").trigger(this._anim_type+"_end").trigger(this._anim_type)},_end_visibility_toggle:function(){o(this._toggler_selector).toggleClass("czr-collapsed"),o(this._sidenav_selector).toggleClass(this._active_class)},_is_sn_on:function(){return 0<o(this._sidenav_selector).length},_get_initial_offset:function(){var e=0<r.$_wpadminbar.length?r.$_wpadminbar.height():0;return e=e&&r.$_window.scrollTop()&&"absolute"==r.$_wpadminbar.css("position")?0:e},_set_offset_height:function(){var e=this._get_initial_offset(),t=o("."+this._sidenav_menu_class,this._sidenav_selector),i=o(this._sidenav_selector);if(t.length&&i.length){var n=(void 0===window.innerHeight?window.innerHeight:r.$_window.height())-t.offset().top+r.$_window.scrollTop();t.css("height",n+"px"),i.css("top",e)}},_is_translating:function(){return r.$_body.hasClass("animating")}};r.methods.SideNav={},o.extend(r.methods.SideNav,e)}(jQuery,czrapp);czrapp=czrapp||{};!function(l,c){var e={initOnCzrReady:function(){this.DATA_KEY="czr.czrDropdown",this.EVENT_KEY="."+this.DATA_KEY,this.Event={PLACE_ME:"placeme"+this.EVENT_KEY,PLACE_ALL:"placeall"+this.EVENT_KEY,SHOWN:"shown"+this.EVENT_KEY,SHOW:"show"+this.EVENT_KEY,HIDDEN:"hidden"+this.EVENT_KEY,HIDE:"hide"+this.EVENT_KEY,CLICK:"click"+this.EVENT_KEY},this.ClassName={DROPDOWN:"czr-dropdown-menu",SHOW:"show",PARENTS:"menu-item-has-children",MCUSTOMSB:"mCustomScrollbar",ALLOW_POINTER_ON_SCROLL:"allow-pointer-events-on-scroll"},this.Selector={DATA_TOGGLE:'[data-toggle="czr-dropdown"]',DATA_SHOWN_TOGGLE_LINK:"."+this.ClassName.SHOW+'> a[data-toggle="czr-dropdown"]',HOVER_MENU:".czr-open-on-hover",CLICK_MENU:".czr-open-on-click",HOVER_PARENT:".czr-open-on-hover .menu-item-has-children, .nav__woocart",CLICK_PARENT:".czr-open-on-click .menu-item-has-children",HAS_SUBMENU:".menu-item-has-children",PARENTS:".tc-header .menu-item-has-children",SNAKE_PARENTS:".regular-nav .menu-item-has-children",VERTICAL_NAV_ONCLICK:".czr-open-on-click .vertical-nav"}},dropdownMenuOnHover:function(){var e=this.Selector.HOVER_PARENT,i=this;function t(e){var t=l(this);_.debounce(function(){if("static"==t.find("."+i.ClassName.DROPDOWN).css("position"))return!1;if(!t.hasClass(i.ClassName.SHOW)){c.$_body.addClass(i.ClassName.ALLOW_POINTER_ON_SCROLL),c.$_body.hasClass("is-touch-device")||t.trigger(i.Event.SHOW).addClass(i.ClassName.SHOW).trigger(i.Event.SHOWN);var e=t.children(i.Selector.DATA_TOGGLE);e.length&&e[0].setAttribute("aria-expanded","true")}},30)()}function n(){var t=l(this);_.debounce(function(){if(t.find("ul li:hover").length<1&&!t.closest("ul").find("li:hover").is(t)){c.$_body.hasClass("is-touch-device")||t.trigger(i.Event.HIDE).removeClass(i.ClassName.SHOW).trigger(i.Event.HIDDEN),t.closest(i.Selector.HOVER_MENU).find("."+i.ClassName.SHOW).length<1&&c.$_body.removeClass(i.ClassName.ALLOW_POINTER_ON_SCROLL);var e=t.children(i.Selector.DATA_TOGGLE);e.length&&e[0].setAttribute("aria-expanded","false")}},30)()}c.$_body.on("touchstart",function(){l(this).hasClass("is-touch-device")||l(this).addClass("is-touch-device")}),c.$_body.on("mouseenter",e,t),c.$_body.on("mouseleave",e,n)},dropdownOpenGoToLinkOnClick:function(){var n=this;c.$_body.on(this.Event.CLICK,this.Selector.DATA_SHOWN_TOGGLE_LINK,function(e){var t=l(this);if("static"==t.find("."+n.ClassName.DROPDOWN).css("position"))return!1;e.preventDefault();var i=t.attr("href");if(!i||"#"==i)return!0;window.location=i})},dropdownPlacement:function(){var s=this,e=!1;c.$_window.on("resize",function(){e||(e=!0,window.requestAnimationFrame(function(){l(s.Selector.SNAKE_PARENTS+"."+s.ClassName.SHOW).trigger(s.Event.PLACE_ME),e=!1}))}),c.$_body.on(this.Event.PLACE_ALL,function(){l(s.Selector.SNAKE_PARENTS).trigger(s.Event.PLACE_ME)}).on(this.Event.SHOWN+" "+this.Event.PLACE_ME,this.Selector.SNAKE_PARENTS,function(e){e.stopPropagation(),function(e,t){if(!t||!t.namespace||s.DATA_KEY!==t.namespace)return;var i=e.children("."+s.ClassName.DROPDOWN);if(!i.length)return;e.css("overflow","hidden"),i.css({zIndex:"-100",display:"block"}),function(i,n){var r=c.isRTL?{_DEFAULT:"left",_OPPOSITE:"right"}:{_DEFAULT:"right",_OPPOSITE:"left"},a={OPEN_PREFIX:"open-",DD_SUBMENU:"czr-dropdown-submenu",CARET_TITLE_FLIP:"flex-row-reverse",CARET:"caret__dropdown-toggler"},o=function(e,n,o){l.each(e,function(){var e=l(this),t=e.find(s.Selector.DATA_TOGGLE).first(),i=e.find("."+a.CARET).first();1==i.length&&(i.removeClass(a.OPEN_PREFIX+o).addClass(a.OPEN_PREFIX+n),1==t.length&&t.toggleClass(a.CARET_TITLE_FLIP,n==r._OPPOSITE))})},e=function(e){var t=e==r._OPPOSITE?r._DEFAULT:r._OPPOSITE;i.removeClass(a.OPEN_PREFIX+t).addClass(a.OPEN_PREFIX+e),n.hasClass(a.DD_SUBMENU)&&(o(n,e,t),o(i.children("."+a.DD_SUBMENU),e,t))};i.parent().closest("."+s.ClassName.DROPDOWN).hasClass(a.OPEN_PREFIX+r._OPPOSITE)?e(r._OPPOSITE):e(r._DEFAULT);i.offset().left+i.width()>c.$_window.width()?e("left"):i.offset().left<0&&e("right")}(i,e),i.css({zIndex:"",display:""}),e.css("overflow","")}(l(this),e)})},dropdownOnClickVerticalNav:function(){var i=this;c.$_body.on(i.Event.CLICK,[i.Selector.VERTICAL_NAV_ONCLICK,i.Selector.HAS_SUBMENU,"a"].join(" "),function(e){"#"!==l(this).attr("href")&&l(this).attr("href")||(e.preventDefault(),e.stopPropagation(),l(this).closest(".nav__link-wrapper").children(i.Selector.DATA_TOGGLE).trigger(i.Event.CLICK))}).on(i.Event.SHOW+" "+i.Event.HIDE,i.Selector.VERTICAL_NAV_ONCLICK,function(t){l(t.target).children("."+i.ClassName.DROPDOWN).stop()["show"==t.type?"slideDown":"slideUp"]({duration:300,complete:function(){if("show"==t.type){var e=l(this).closest("."+i.ClassName.MCUSTOMSB);0<e.length&&e.mCustomScrollbar("scrollTo",l(this))}}})})}};c.methods.Dropdowns={},l.extend(c.methods.Dropdowns,e);var t=function(){function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}}();var d,i,n="czrDropdown",o="czr.czrDropdown",r="."+o,a=".data-api",s=l.fn[n],u=new RegExp("38|40|27"),h={HIDE:"hide"+r,HIDDEN:"hidden"+r,SHOW:"show"+r,SHOWN:"shown"+r,CLICK:"click"+r,CLICK_DATA_API:"click"+r+a,FOCUSOUT_DATA_API:"focusout"+r+a,FOCUSIN_DATA_API:"focusin"+r+a,KEYDOWN_DATA_API:"keydown"+r+a,KEYUP_DATA_API:"keyup"+r+a},p="disabled",f="show",g='[data-toggle="czr-dropdown"]',m=".czr-dropdown form",y=".dropdown-menu",v=".regular-nav",w=".dropdown-menu .dropdown-item:not(.disabled)",b=".menu-item-has-children";d=jQuery,i=function(){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),this._element=e,this._addEventListeners()}return s.prototype.toggle=function(e){if(this.disabled||d(this).hasClass(p))return!1;var t=s._getParentFromElement(this),i=d(t).hasClass(f),n=d.makeArray(d(t).parents(b));if(s._clearMenus("",n),i)return!1;var o={relatedTarget:this},r=d.Event(h.SHOW,o);return d(t).trigger(r),r.isDefaultPrevented()||("ontouchstart"in document.documentElement&&!d(t).closest(v).length&&d("body").children().on("mouseover",null,d.noop),d(this).trigger("focus"),this.setAttribute("aria-expanded","true"),d(t).toggleClass(f),d(t).trigger(d.Event(h.SHOWN,o))),!1},s.prototype.dispose=function(){d.removeData(this._element,o),d(this._element).off(r),this._element=null},s.prototype._addEventListeners=function(){d(this._element).on(h.CLICK,this.toggle)},s._jQueryInterface=function(t){return this.each(function(){var e=d(this).data(o);if(e||(e=new s(this),d(this).data(o,e)),"string"==typeof t){if(_.isUndefined(e[t]))throw new Error('No method named "'+t+'"');e[t].call(this)}})},s._clearMenus=function(e,t){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var i=d.makeArray(d(g)),n=0;n<i.length;n++){var o=s._getParentFromElement(i[n]),r={relatedTarget:i[n]};if(d(o).hasClass(f)&&!(-1<d.inArray(o,t))&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&d.contains(o,e.target))){var a=d.Event(h.HIDE,r);d(o).trigger(a),a.isDefaultPrevented()||("ontouchstart"in document.documentElement&&d("body").children().off("mouseover",null,d.noop),i[n].setAttribute("aria-expanded","false"),d(o).removeClass(f).trigger(d.Event(h.HIDDEN,r)))}}},s._getParentFromElement=function(e){var t=void 0,i=d(e).closest(b);return i.length&&(t=i[0]),t||e.parentNode},s._dataApiFocusinHandler=function(e){var t=this;_.delay(function(){var e=s._getParentFromElement(t);d(e).hasClass(f)||d(t).trigger("click")},150)},s._dataApiKeydownHandler=function(e){if(!(!u.test(e.which)||/button/i.test(e.target.tagName)&&32===e.which||/input|textarea/i.test(e.target.tagName)||(e.preventDefault(),e.stopPropagation(),this.disabled||d(this).hasClass(p)))){var t=s._getParentFromElement(this),i=d(t).hasClass(f);if((i||27===e.which&&32===e.which)&&(!i||27===e.which&&32===e.which)){var n=d(t).find(w).get();if(n.length){var o=n.indexOf(e.target);38===e.which&&0<o&&o--,40===e.which&&o<n.length-1&&o++,o<0&&(o=0),n[o].trigger("focus")}}else d(this).trigger("click")}},t(s,null,[{key:"VERSION",get:function(){return"1"}}]),s}(),d(document).on(h.KEYDOWN_DATA_API,g,i._dataApiKeydownHandler).on(h.KEYDOWN_DATA_API,y,i._dataApiKeydownHandler).on(h.CLICK_DATA_API+" "+h.KEYUP_DATA_API+h.FOCUSOUT_DATA_API,i._clearMenus).on(h.CLICK_DATA_API,g,i.prototype.toggle).on(h.FOCUSIN_DATA_API,v+" "+g,i._dataApiFocusinHandler).on(h.CLICK_DATA_API,m,function(e){e.stopPropagation()}),d.fn[n]=i._jQueryInterface,d.fn[n].Constructor=i,d.fn[n].noConflict=function(){return d.fn[n]=s,i._jQueryInterface}}(jQuery,czrapp),function(n,o,r){o.extend(n,n.Events),n.Root=n.Class.extend({initialize:function(e){o.extend(this,e||{}),this.isReady=o.Deferred()},ready:function(){var i=this;i.dom_ready&&r.isArray(i.dom_ready)&&(n.status=n.status||[],r.each(i.dom_ready,function(t){if(r.isFunction(t)||r.isFunction(i[t]))try{(r.isFunction(t)?t:i[t]).call(i)}catch(e){return void n.status.push(["NOK",i.id+"::"+t,r.isString(e)?n._truncate(e):e].join(" => "))}else n.status.push("Method "+t+" was not found and could not be fired on DOM ready.")})),this.isReady.resolve()}}),n.Base=n.Root.extend(n.methods.Base),n.ready=o.Deferred(),n.bind("czrapp-ready",function(){var e=document.createEvent("Event");e.initEvent("czrapp-is-ready",!0,!0),document.dispatchEvent(e),n.ready.resolve()});var e=function(e,t,i){r.isObject(e)&&(r.each(e,function(e,t){if(!n[t]&&r.isObject(e)){e=r.extend({ctor:{},ready:[],options:{}},e);var i=r.extend({id:t,dom_ready:e.ready||[]},e.options);try{n[t]=new e.ctor(i)}catch(e){n.errorLog("Error when loading "+t+" | "+e)}}}),o(function(){r.each(e,function(e,t){n[t]&&n[t].isReady&&"resolved"==n[t].isReady.state()||r.isObject(n[t])&&r.isFunction(n[t].ready)&&n[t].ready()}),n.status=n.status||"OK",r.isArray(n.status)&&r.each(n.status,function(e){n.errorLog(e)}),n.trigger(i?"czrapp-ready":"czrapp-updated")}))};n.appMap=new n.Value({}),n.appMap.bind(e),n.customMap=new n.Value({}),n.customMap.bind(e)}(czrapp=czrapp||{},jQuery,_),function(e){e.localized=CZRParams||{};var t={base:{ctor:e.Base,ready:["cacheProp"]},browserDetect:{ctor:e.Base.extend(e.methods.BrowserDetect),ready:["addBrowserClassToBody"]},jqPlugins:{ctor:e.Base.extend(e.methods.JQPlugins),ready:["centerImagesWithDelay","centerInfinity","imgSmartLoad","lightBox","parallax"]},slider:{ctor:e.Base.extend(e.methods.Slider),ready:["initOnCzrReady"]},dropdowns:{ctor:e.Base.extend(e.methods.Dropdowns),ready:["initOnCzrReady","dropdownMenuOnHover","dropdownOpenGoToLinkOnClick","dropdownPlacement","dropdownOnClickVerticalNav"]},userXP:{ctor:e.Base.extend(e.methods.UserXP),ready:["setupUIListeners","stickifyHeader","gutenbergAlignfull","outline","variousHoverActions","formFocusAction","variousHeaderActions","headerSearchToLife","smoothScroll","attachmentsFadeEffect","onEscapeKeyPressed","featuredPagesAlignment","bttArrow","backToTop","anchorSmoothScroll","mayBePrintFrontNote","mayBeLoadFontAwesome","maybePreloadGoogleFonts"]},stickyFooter:{ctor:e.Base.extend(e.methods.StickyFooter),ready:["initOnDomReady","stickyFooterEventListener"]},sideNav:{ctor:e.Base.extend(e.methods.SideNav),ready:["initOnDomReady"]}};e.appMap(t,!0)}(czrapp=czrapp||{});