l&&e!==p?h.append(m):(e===p&&h.children().length&&u.append(h).append(t(d)),u.append(m)))}s'+y.nextButtonLabel+""),u.find('a[data-page="'+s+'"]').addClass(y.activeClass);var g=y.pagerClass;g=g.trim().replace(" ","."),T("pagesDots",u.find("a.dots"),"click",(function(e){u.find("div:hidden a").unwrap(),t(this).remove()})),T("pagesPagerClass",u.find("a."+g),"click",(function(e){e.preventDefault(),s=parseInt(t(this).attr("data-page")),u.find("a."+y.activeClass).removeClass(y.activeClass),u.find('a[data-page="'+s+'"]').addClass(y.activeClass),_(t(this))})),T("pagesPrev",u.find("a."+y.previousButtonClass),"click",(function(e){e.preventDefault(),s--,_(t(this))})),T("pagesNext",u.find("a."+y.nextButtonClass),"click",(function(e){e.preventDefault(),s++,_(t(this))}))}}else"load-more"===y.paginationMode&&(u.addClass(y.classes.hidden),p>1&&(s
{t.isInViewport&&(g.unobserve(f[0]),C()&&g.observe(f[0]))}}).getScrollObserver()).observe(f[0]),I()},T=function(t,e,i,n){e.length&&(z(t),e.on(i,n),v[t]={element:e,eventName:i,callback:n})},z=function(t){if(t in v){var e=v[t];e.element.off(e.eventName,e.callback),delete v[t]}};this.update=function(t){this.destroy(),w.isUpdating=!0,k(t),w.isUpdating=!1},this.destroy=function(){Object.values(v).forEach((t=>{t.element.off(t.eventName,t.callback)})),v={},null!=g&&(g.unobserve(f[0]),g=null)},k(i)};t.fn.The7SimpleFilterade=function(i){var n="string"==typeof i,s=Array.prototype.slice.call(arguments,1);return this.each((function(){var o=t(this);if(n){var a=o.data("the7-simple-filterade");if(!a)throw Error("Trying to perform the `"+i+"` method prior to initialization");if(!a[i])throw ReferenceError("Method `"+i+"` not found in instance");a[i].apply(a,s),"destroy"===i&&o.removeData("the7-simple-filterade")}else o.data("the7-simple-filterade",new e(this,i))})),this}}(jQuery),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ResizeSensor=e()}("undefined"!=typeof window?window:this,(function(){if("undefined"==typeof window)return null;var t=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return window.setTimeout(t,20)};function e(t,e){var i=Object.prototype.toString.call(t),n="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"[object Object]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,s=0,o=t.length;if(n)for(;s
',e.appendChild(e.resizeSensor);var r=window.getComputedStyle(e),l=r?r.getPropertyValue("position"):null;"absolute"!==l&&"relative"!==l&&"fixed"!==l&&(e.style.position="relative");var d,c,h=e.resizeSensor.childNodes[0],u=h.childNodes[0],p=e.resizeSensor.childNodes[1],f=i(e),m=f.width,g=f.height,v=!0,y=0,w=function(){if(v){if(0===e.offsetWidth&&0===e.offsetHeight)return void(y||(y=t((function(){y=0,w()}))));v=!1}var i,n;i=e.offsetWidth,n=e.offsetHeight,u.style.width=i+10+"px",u.style.height=n+10+"px",h.scrollLeft=i+10,h.scrollTop=n+10,p.scrollLeft=i+10,p.scrollTop=n+10};e.resizeSensor.resetSensor=w;var b=function(){c=0,d&&(m=f.width,g=f.height,e.resizedAttached&&e.resizedAttached.call(f))},C=function(){f=i(e),(d=f.width!==m||f.height!==g)&&!c&&(c=t(b)),w()},_=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};_(h,"scroll",C),_(p,"scroll",C),t(w)}}e(s,(function(t){r(t,o)})),this.detach=function(t){n.detach(s,t)},this.reset=function(){s.resizeSensor.resetSensor()}};if(n.reset=function(t){e(t,(function(t){t.resizeSensor.resetSensor()}))},n.detach=function(t,i){e(t,(function(t){t&&(t.resizedAttached&&"function"==typeof i&&(t.resizedAttached.remove(i),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached))}))},"undefined"!=typeof MutationObserver){var s=new MutationObserver((function(t){for(var e in t)if(t.hasOwnProperty(e))for(var i=t[e].addedNodes,s=0;s=t.containerBottom?(t.translateY=t.containerBottom-e,s="CONTAINER-BOTTOM"):i>=t.containerTop&&(t.translateY=i-t.containerTop,s="VIEWPORT-TOP"):t.containerBottom<=n?(t.translateY=t.containerBottom-e,s="CONTAINER-BOTTOM"):e+t.translateY<=n?(t.translateY=n-e,s="VIEWPORT-BOTTOM"):t.containerTop+t.translateY<=i&&0!==t.translateY&&t.maxTranslateY!==t.translateY&&(s="VIEWPORT-UNBOTTOM"),s}},{key:"_getAffixTypeScrollingUp",value:function(){var t=this.dimensions,e=t.sidebarHeight+t.containerTop,i=t.viewportTop+t.topSpacing,n=t.viewportBottom-t.bottomSpacing,s=this.affixedType;return i<=t.translateY+t.containerTop?(t.translateY=i-t.containerTop,s="VIEWPORT-TOP"):t.containerBottom<=n?(t.translateY=t.containerBottom-e,s="CONTAINER-BOTTOM"):this.isSidebarFitsViewport()||t.containerTop<=i&&0!==t.translateY&&t.maxTranslateY!==t.translateY&&(s="VIEWPORT-UNBOTTOM"),s}},{key:"_getStyle",value:function(e){if(void 0!==e){var i={inner:{},outer:{}},n=this.dimensions;switch(e){case"VIEWPORT-TOP":i.inner={position:"fixed",top:n.topSpacing,left:n.sidebarLeft-n.viewportLeft,width:n.sidebarWidth};break;case"VIEWPORT-BOTTOM":i.inner={position:"fixed",top:"auto",left:n.sidebarLeft,bottom:n.bottomSpacing,width:n.sidebarWidth};break;case"CONTAINER-BOTTOM":case"VIEWPORT-UNBOTTOM":var s=this._getTranslate(0,n.translateY+"px");i.inner=s?{transform:s}:{position:"absolute",top:n.translateY,width:n.sidebarWidth}}switch(e){case"VIEWPORT-TOP":case"VIEWPORT-BOTTOM":case"VIEWPORT-UNBOTTOM":case"CONTAINER-BOTTOM":i.outer={height:n.sidebarHeight,position:"relative"}}return i.outer=t.extend({height:"",position:""},i.outer),i.inner=t.extend({position:"relative",top:"",left:"",bottom:"",width:"",transform:""},i.inner),i}}},{key:"stickyPosition",value:function(i){if(!this._breakpoint){i=this._reStyle||i||!1,this.options.topSpacing,this.options.bottomSpacing;var n=this.getAffixType(),s=this._getStyle(n);if((this.affixedType!=n||i)&&n){var o="affix."+n.toLowerCase().replace("viewport-","")+e;for(var a in t.eventTrigger(this.sidebar,o),"STATIC"===n?t.removeClass(this.sidebar,this.options.stickyClass):t.addClass(this.sidebar,this.options.stickyClass),s.outer){var r="number"==typeof s.outer[a]?"px":"";this.sidebar.style[a]=s.outer[a]+r}for(var l in s.inner){var d="number"==typeof s.inner[l]?"px":"";this.sidebarInner.style[l]=s.inner[l]+d}var c="affixed."+n.toLowerCase().replace("viewport-","")+e;t.eventTrigger(this.sidebar,c)}else this._initialized&&(this.sidebarInner.style.left=s.inner.left);this.affixedType=n}}},{key:"_widthBreakpoint",value:function(){window.innerWidth<=this.options.minWidth?(this._breakpoint=!0,this.affixedType="STATIC",this.sidebar.removeAttribute("style"),t.removeClass(this.sidebar,this.options.stickyClass),this.sidebarInner.removeAttribute("style")):this._breakpoint=!1}},{key:"updateSticky",value:function(){var t,e=this,i=00){var e=this.$crumbs.length;this.$crumbs=t("li",this.$crumbsList).slice(this.options.nbFixedCrumbs,e),this.reversedCrumbs=t("li",this.$crumbsList).slice(this.options.nbFixedCrumbs,e).get().reverse();var i=this;t("li",this.$crumbsList).slice(0,this.options.nbFixedCrumbs).each((function(e,n){i.totalCrumbsWidth+=t(n).data("width"),t(n).addClass("show")}))}this._showOrHideCrumbsList(!0),this.options.windowResize&&this._showOrHideCrumbsListOnWindowResize()},_getHiddenElWidth:function(e){var i,n=t(e).clone(!1);return n.css({visibility:"hidden",position:"absolute"}),n.appendTo(this.$crumbsList),i=n.width(),n.remove(),i},_initCrumbs:function(){var e=this;t(this.$crumbsList).contents().filter((function(){return 3===this.nodeType})).remove(),t.each(this.$crumbs,(function(i,n){var s=t(this);e._storeCrumbWidth(s)})),this.options.nbFixedCrumbs>0&&t(this.$crumbs).slice(0,this.options.nbFixedCrumbs).each((function(i,n){e.fixedCrumbsWidth+=t(n).data("width")}))},_storeCrumbWidth:function(t){var e=this._getHiddenElWidth(t);return t.data("width",e),e},_showOrHideCrumbsList:function(e){var i=this;this.remainingSpaceToDisplayCrumbs=this.$element.width(),this.nbCrumbDisplayed=0,this.totalCrumbsWidth=0,this.options.nbFixedCrumbs>0&&(this.remainingSpaceToDisplayCrumbs-=this.fixedCrumbsWidth,t("li",this.$crumbsList).slice(0,this.options.nbFixedCrumbs).each((function(e,n){i.totalCrumbsWidth+=t(n).data("width")}))),this.nextCrumbToShowWidth=undefined,this.options.callback.preCrumbsListDisplay(this),t.each(this.reversedCrumbs,(function(n,s){var o=t(this),a=t(i.reversedCrumbs[n+1]);i._showOrHideCrumb(o,a,n,e)})),this.lastNbCrumbDisplayed=this.nbCrumbDisplayed,this.options.callback.postCrumbsListDisplay(this)},_showOrHideCrumb:function(t,e,i,n){this.options.callback.preCrumbDisplay(t);var s=this;function o(){t.addClass("show"),s.lastNbCrumbDisplayed=0?(o(),this.totalCrumbsWidth+=t.data("width")):(this.lastNbCrumbDisplayed>this.nbCrumbDisplayed-1&&this.options.animation.activated?t.animate({width:0},s.options.animation.speed,(function(){t.removeClass("show")})):t.removeClass("show"),this.nextCrumbToShowWidth||(this.nextCrumbToShowWidth=t.data("width")))},_showOrHideCrumbsListOnWindowResize:function(){var i=this;t(e).resize((function(){var e=i.$element.width();(e=i.totalCrumbsWidth&&i.$lastCrumb.hasClass("ellipsis")&&i._disableEllipsis(i.$lastCrumb)}))},_disableEllipsis:function(t){t.css({width:"auto"}),t.removeClass("ellipsis")}},t.fn[s]=function(e){if(a.prototype[e]&&-1===e.indexOf("_")){var i=t.data(this[0],"plugin_"+s);if(i)return a.prototype[e].apply(i,Array.prototype.slice.call(arguments,1));t.error("jquery."+s+" plugin must be initialized first on the element")}else{if("object"==typeof e||!e)return this.each((function(){t.data(this,"plugin_"+s)?t.error("jquery."+s+" plugin cannot be instantiated multiple times on same element"):t.data(this,"plugin_"+s,new a(this,e))}));t.error("Method "+e+" does not exist on jquery."+s)}}}(jQuery,window,document),function(t){var e;function i(e,i,n){e.addClass("animation-triggered"),setTimeout((function(){e.hasClass("animation-triggered")&&(e.removeClass("animation-triggered").addClass("shown"),t().layzrInitialisation(),"function"==typeof n&&n.call(e))}),i)}t.fn.exists=function(){return t(this).length>0},t.fn.loaded=function(e,i,n){var s=this.length;return s>0?this.each((function(){var n=this,o=t(n);o.on("load.dt",(function(n){t(this).off("load.dt"),"function"==typeof e&&e.call(this),--s<=0&&"function"==typeof i&&i.call(this)})),n.complete&&void 0!==n.complete&&o.trigger("load.dt")})):n?("function"==typeof i&&i.call(this),this):void 0},dtGlobals.isInViewport=function(e){var i=t(window),n=e,s=i.scrollTop(),o=i.scrollTop()+i.height(),a=n.offset().top+20;return o>=a&&s<=a},t.fn.layzrInitialisation=function(){void 0!==e?(this.each((function(){var i=t(this);e.addItems(i[0])})),e.update()):e=new Layzr({selector:".lazy-load",attr:"data-src",attrSrcSet:"data-srcset",retinaAttr:"data-src-retina",hiddenAttr:"data-src-hidden",threshold:0,callback:function(){var e=t(this);showLazyImg(e),e.parents(".fancy-media-wrap.photoswipe-wrapper").initPhotoswipe()},after:function(){var e=t(this);this.complete&&showLazyImg(e)}})},dtGlobals.addOnloadEvent=function(e){if(("object"==typeof t.ready||"function"==typeof t.ready)&&"function"==typeof t.ready.then)t.ready.then((function(){e()}));else if(void 0!==window.addEventListener)window.addEventListener("load",e,!1);else if(void 0!==window.attachEvent)window.attachEvent("onload",e);else if(null!=window.onload){var i=window.onload;window.onload=function(t){i(t),window[e]()}}else window.onload=e},t.fn.the7ImageRatio=function(e){var i=function(){return!(void 0!==Modernizr.objectfit&&Modernizr.objectfit||void 0===Modernizr.objectfit)},n={init:function(){return i()?this.each((function(){var e=t(this),i=e.parent(),n=e.prop("src");n&&!e.hasClass("compat-object-fit")&&i.css("backgroundImage","url("+n+")").addClass("compat-object-fit")})):this},update:function(e){var n=i();return this.each((function(){var i=t(this),s=i.find("img").first();if(!n){var o={width:"",height:""};if(e){var a=i.width(),r=i.height(),l=s.width()/s.height(),d=a/r;o={width:"auto",height:"auto"},ld&&(o.width="100%")}s.css(o)}}))}};return n[e]?n[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void 0:n.init.apply(this,arguments)},t.fn.the7WidgetImageRatio=function(e){var i=t(this),n=i.find(".img-ratio-wrapper"),s={init:function(){n.find("img").the7ImageRatio(),s.refresh(),t(window).on("debouncedresize",(function(){s.refresh()}))},refresh:function(){var t=i.hasClass("preserve-img-ratio-y");n.the7ImageRatio("update",t)}};return s[e]?s[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e||s.init.apply(this,arguments),i},window.the7ApplyWidgetImageRatio=function(t){t.the7WidgetImageRatio()},window.the7GetHiddenHeight=function(t,e){if(!t.length)return 0;var i=t.attr("style");t.css({visibility:"hidden",display:"block"});var n=t;""!==e&&(n=t.find(e));var s=n.height();return t.attr("style",i||""),s},window.the7LocaleSensitiveStringsCompare=function(t,e){return new Intl.Collator(document.documentElement.lang,{sensitivity:"base"}).compare(t,e)},window.the7ProcessEffects=function(e,n){var s=0;0!==e.length?e.each((function(){var e=t(this);t(".mobile-true").length>0||e.parents(".loading-effect-none").length>0?e.hasClass("shown")||e.hasClass("animation-triggered")||i(e,200,n):e.hasClass("shown")||e.hasClass("animation-triggered")||!dtGlobals.isInViewport(e)||e.hasClass("hidden")||i(e,100*++s,n)})):t().layzrInitialisation()}}(jQuery),jQuery((function(t){var e=t(document),i=t(window),n=t("html"),s=t("body"),o=t("#page"),a=function(t,e,i=!1){let n;return function(){const s=this,o=arguments;clearTimeout(n),n=setTimeout((()=>{n=null,t.apply(s,o)}),e),i&&t.apply(s,o)}};
/*!- Custom resize function*/
!dtGlobals.isMobile||dtGlobals.isWindowsPhone||dtGlobals.isAndroid?i.on("resize",(function(){r()})):i.bind("orientationchange",(function(){r()}));var r=a((function(){t(window).trigger("debouncedresize"),t(window).trigger("the7_widget_resize")}),200);i.trigger("debouncedresize");var l,d,c=0,h=0;function u(){if(dtGlobals.isMobile)t(".skills").length>0&&"undefined"!=typeof animateSkills&&the7Utils.isFunction(animateSkills)&&t(".skills").animateSkills();else if(t(".animation-at-the-same-time").length>0||t(".animate-element").length>0){var e=-1;t(".animation-at-the-same-time:in-viewport").each((function(){var e=t(this);e.find(".animate-element").addClass("animation-triggered"),e.find(".animate-element:not(.start-animation)").addClass("start-animation")})),t(".animate-element:not(.start-animation):in-viewport").each((function(){var i=t(this);!i.parents(".animation-at-the-same-time").length>0&&(i.hasClass("start-animation")||i.hasClass("animation-triggered")||(i.addClass("animation-triggered"),e++,setTimeout((function(){i.addClass("start-animation"),i.hasClass("skills")&&i.animateSkills()}),200*e)))}))}}onWindowWidthResizeDebounced=a((function(){i.trigger("the7-resize-width-debounce")}),250),onWindowHeightResizeDebounced=a((function(){i.trigger("the7-resize-height-debounce")}),250),i.on("resize",(function(){var t=window.innerWidth,e=window.innerHeight;c!==t&&(c=t,i.trigger("the7-resize-width"),onWindowWidthResizeDebounced()),h!==e&&(h=e,i.trigger("the7-resize-height"),onWindowHeightResizeDebounced())})),t.fn.layzrCarouselUpdate=function(){var e=t(this),i=e.find(".dt-owl-item.active"),n=".owl-thumb-lazy-load-show",s=!1,o=i.last().next().find("img").not(n);(o=(o=(o=o.add(i.first().prev().find("img").not(n))).add(i.find("img").not(n))).filter(":not(.is-loaded)")).each((function(){var i=t(this).attr("data-src");if(void 0!==i){s=!0;var o=e.find('.dt-owl-item img[data-src="'+i+'"]').not(n);o.addClass("owl-thumb-lazy-load-show"),o.attr("loading","eager")}})),s&&(l.updateSelector(),l.update())},t(".elementor-owl-carousel-call img.lazy, .elementor-owl-carousel-call img.lazy-load").removeClass("lazy-load").addClass("lazy-scroll"),t(".layzr-loading-on, .vc_single_image-img").layzrInitialisation(),window.vc_rowBehaviour=function(){function t(){a('[data-vc-full-width="true"]').each((function(){var t,e,n=a(this),o=n.next(".vc_row-full-width"),r=n.parent(),l=parseInt(n.css("margin-left"),10),d=parseInt(n.css("margin-right"),10),c=window.innerWidth,h=i.width(),u=a("#content").width(),p=c>dtLocal.themeSettings.mobileHeader.firstSwitchPoint,f=Math.max(u,h),m=a("#main > .wf-wrap"),g=parseInt(m.css("width")),v=parseInt(m.css("padding-left")),y=s.hasClass("responsive-off"),w=s.hasClass("sticky-header"),b=s.hasClass("header-side-left"),C=s.hasClass("header-side-right"),_="rtl"===jQuery(document).attr("dir")?"right":"left";if(n.addClass("vc_hidden"),o.length||(o=n.closest(".vc_ie-flexbox-fixer").next(".vc_row-full-width")),o.length){r.hasClass("vc_section")&&(l=parseInt(r.css("margin-left"),10),d=parseInt(r.css("margin-right"),10)),a(".boxed").length>0?f=a("#main").width():y||p&&a(".side-header-v-stroke").length&&"none"!==a(".side-header-v-stroke").css("display")?f=c<=u?u:h-a(".side-header-v-stroke").width():!w&&(b||C)&&p&&a(".side-header").length&&"none"!==a(".side-header").css("display")&&(f=c<=u?u:h-a(".side-header").width()),t=Math.ceil((f-g+2*v)/2),a(".sidebar-left").length>0||a(".sidebar-right").length>0?(e=a("#content").width(),t=0):e=a("#main").innerWidth();var x=0-t-l;if(n.css(_,x),n.css({position:"relative","box-sizing":"border-box",width:e}),!n.data("vcStretchContent")){var S=-1*x;0>S&&(S=0);var I=e-S-o.width()+l+d;0>I&&(I=0),n.css({"padding-left":S+"px","padding-right":I+"px"})}n.data("vcStretchContent")&&n.find(".upb_row_bg").length>0&&n.find(".upb_row_bg").each((function(){var t=a(this);"full"===t.data("bg-override")&&(t.css({"min-width":e+"px"}),t.css(_,0))})),n.attr("data-vc-full-width-init","true"),n.removeClass("vc_hidden"),n.find(".ts-wrap").each((function(){var t=a(this).data("thePhotoSlider");void 0!==t&&t.update()}))}}))}function e(){a(".vc_row-o-full-height:first").each((function(){var t,e,i;(t=a(window).height())>(e=a(this).offset().top)&&(i=100-e/(t/100),a(this).css("min-height",i+"vh"))}))}var n,o,a=window.jQuery;a(window).off("resize.vcRowBehaviour").on("resize.vcRowBehaviour",t).on("resize.vcRowBehaviour",e),t(),e(),(window.navigator.userAgent.indexOf("MSIE ")>0||navigator.userAgent.match(/Trident.*rv\:11\./))&&a(".vc_row-o-full-height").each((function(){var t=a(this);t.data("the7VCRowFixedInIE")||"flex"!==t.css("display")||(t.wrap('
'),t.data("the7VCRowFixedInIE",!0))})),vc_initVideoBackgrounds(),o=!1,window.vcParallaxSkroll&&window.vcParallaxSkroll.destroy(),a(".vc_parallax-inner").remove(),a("[data-5p-top-bottom]").removeAttr("data-5p-top-bottom data-30p-top-bottom"),a("[data-vc-parallax]").each((function(){var t,e,i,n,s;o=!0,"on"===a(this).data("vcParallaxOFade")&&a(this).children().attr("data-5p-top-bottom","opacity:0;").attr("data-30p-top-bottom","opacity:1;"),t=100*a(this).data("vcParallax"),(i=a("
").addClass("vc_parallax-inner").appendTo(a(this))).height(t+"%"),n=a(this).data("vcParallaxImage"),(s=vcExtractYoutubeId(n))?insertYoutubeVideoAsBackground(i,s):void 0!==n&&i.css("background-image","url("+n+")"),e=-(t-100),i.attr("data-bottom-top","top: "+e+"%;").attr("data-top-bottom","top: 0%;")})),o&&window.skrollr&&(n={forceHeight:!1,smoothScrolling:!1,mobileCheck:function(){return!1}},window.vcParallaxSkroll=skrollr.init(n),window.vcParallaxSkroll)},t('div[data-vc-full-width="true"][data-vc-full-width-init="false"]').length>0&&vc_rowBehaviour(),t.fn.clickOverlayGradient=function(){return this.each((function(){var e=t(this),i=0,n=e.find(".entry-excerpt"),s=e.find(".post-details, .box-button");n.exists()&&(i+=n.height()),s.exists()&&(i+=s.innerHeight()),e.data("the7OverlayLayoutContentOffset",i),e.css({transform:"translateY("+i+"px)"}),e.data("overlayLayoutEventsWasAdded")||dtGlobals.isMobile||(e.data("overlayLayoutEventsWasAdded",!0),e.parents(".post").first().on("mouseenter tap",(function(){e.css("transform","translateY(0px)")})).on("mouseleave tap",(function(){e.css("transform","translateY("+e.data("the7OverlayLayoutContentOffset")+"px)")})))}))},dtGlobals.addOnloadEvent((function(){t(".content-rollover-layout-list:not(.disable-layout-hover) .dt-css-grid .post-entry-wrapper").clickOverlayGradient()})),dtGlobals.touches={},dtGlobals.touches.touching=!1,dtGlobals.touches.touch=!1,dtGlobals.touches.currX=0,dtGlobals.touches.currY=0,dtGlobals.touches.cachedX=0,dtGlobals.touches.cachedY=0,dtGlobals.touches.count=0,dtGlobals.resizeCounter=0,e.on("touchstart",(function(e){1==e.originalEvent.touches.length&&(dtGlobals.touches.touch=e.originalEvent.touches[0],dtGlobals.touches.cachedX=dtGlobals.touches.touch.pageX,dtGlobals.touches.cachedY=dtGlobals.touches.touch.pageY,dtGlobals.touches.touching=!0,setTimeout((function(){dtGlobals.touches.currX=dtGlobals.touches.touch.pageX,dtGlobals.touches.currY=dtGlobals.touches.touch.pageY,dtGlobals.touches.cachedX!==dtGlobals.touches.currX||dtGlobals.touches.touching||dtGlobals.touches.cachedY!==dtGlobals.touches.currY||(dtGlobals.touches.count++,t(e.target).trigger("tap"))}),200))})),e.on("touchend touchcancel",(function(t){dtGlobals.touches.touching=!1})),e.on("touchmove",(function(t){dtGlobals.touches.touch=t.originalEvent.touches[0],dtGlobals.touches.touching})),e.on("tap",(function(e){t(".dt-hovered").trigger("mouseout")})),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}((function(t,e){var i=6,n=t.event.add,s=t.event.remove,o=function(e,i,n){t.event.trigger(i,n,e)},a=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){return window.setTimeout((function(){t()}),25)},r={textarea:!0,input:!0,select:!0,button:!0},l={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},d="touchmove",c="touchend",h="touchend";function u(t){var e=t,i=!1,n=!1;function s(t){i?(e(),a(s),n=!0,i=!1):n=!1}this.kick=function(t){i=!0,n||s()},this.end=function(t){var s=e;t&&(n?(e=i?function(){s(),t()}:t,i=!0):t())}}function p(){return!0}function f(){return!1}function m(t){t.preventDefault()}function g(t){r[t.target.tagName.toLowerCase()]||t.preventDefault()}function v(t,e){var i,n;if(t.identifiedTouch)return t.identifiedTouch(e);for(i=-1,n=t.length;++i=t(e).offset().top+t(e).height()-n.threshold},t.rightofscreen=function(e,n){return i.width()+i.scrollLeft()<=t(e).offset().left-n.threshold},t.leftofscreen=function(e,n){return i.scrollLeft()>=t(e).offset().left+t(e).width()-n.threshold},t.inviewport=function(e,i){return!(t.rightofscreen(e,i)||t.leftofscreen(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr.pseudos,{"below-the-fold":function(e,i,n){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e,i,n){return t.abovethetop(e,{threshold:0})},"left-of-screen":function(e,i,n){return t.leftofscreen(e,{threshold:0})},"right-of-screen":function(e,i,n){return t.rightofscreen(e,{threshold:0})},"in-viewport":function(e,i,n){return t.inviewport(e,{threshold:-30})}}),t.fn.checkInViewport=function(){if(!dtGlobals.isMobile){var e=-1;return this.each((function(){var i=t(this);i.hasClass("animation-ready")||(i.parents(".animation-at-the-same-time").length>0?($thisElem=i.find(".animate-element"),$thisElem.addClass("animation-triggered"),i.find(".animate-element:not(.start-animation)").addClass("start-animation")):i.hasClass("start-animation")||i.hasClass("animation-triggered")||(i.addClass("animation-triggered"),e++,setTimeout((function(){i.addClass("start-animation"),i.hasClass("skills")&&i.animateSkills()}),200*e)),i.addClass("animation-ready"))}))}"undefined"!=typeof animateSkills&&the7Utils.isFunction(animateSkills)&&t(".skills").animateSkills()},clearTimeout(d),d=setTimeout((function(){u()}),50),dtGlobals.isMobile||i.on("scroll",(function(){u()}));var p=t(".dt-owl-carousel-call, .related-projects, .elementor-owl-carousel-call");i.on("scroll",(function(){p.each((function(){var e=t(this);if("true"===e.attr("data-autoplay"))if(dtGlobals.isInViewport(e)){var i=e.attr("data-autoplay_speed")?parseInt(e.attr("data-autoplay_speed")):6e3;e.trigger("play.owl.autoplay",[i])}else e.trigger("stop.owl.autoplay")}))})),t.fn.addPhotoswipeWrap=function(){return this.each((function(e,i){var n=t(this);n.on("click",(function(t){t.preventDefault()})),n.parents("figure").first().addClass("photoswipe-item"),n.hasClass("pspw-wrap-ready")||(n.parents().hasClass("dt-gallery-container")||n.parent().addClass("photoswipe-wrapper"),n.addClass("pspw-wrap-ready"))}))},t(".dt-pswp-item, figure .dt-gallery-container a").addPhotoswipeWrap();var f=[{id:"facebook",label:' '+dtShare.shareButtonText.facebook,url:"https://www.facebook.com/sharer/sharer.php?u={{url}}&picture={{raw_image_url}}&description={{text}}"},{id:"twitter",label:''+dtShare.shareButtonText.twitter,url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:' '+dtShare.shareButtonText.pinterest,url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"linkedin",label:' '+dtShare.shareButtonText.linkedin,url:"http://www.linkedin.com/shareArticle?mini=true&url={{url}}&title={{text}}"},{id:"whatsapp",label:' '+dtShare.shareButtonText.whatsapp,url:"whatsapp://send?text={{url}}"}];dtShare.shareButtonText.download&&f.push({id:"download",label:' '+dtShare.shareButtonText.download,url:"{{raw_image_url}}",download:!0});var m={youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%",type:"youtube"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%",type:"vimeo"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}};function g(e){for(var i in e){var n=e[i],s=t(".pswp__share-tooltip");switch(n){case"facebook":s.addClass("show-share-fb");break;case"twitter":s.addClass("show-share-tw");break;case"pinterest":s.addClass("show-share-pin");break;case"linkedin":s.addClass("show-share-in");break;case"whatsapp":s.addClass("show-share-wp");break;case"download":s.addClass("show-share-d");break;default:s.removeClass("show-share-in show-share-pin show-share-tw show-share-fb show-share-g show-share-wp")}}}function v(e,i){var n=[],s=e;s=t.extend({target:".dt-pswp-item",embedType:""},s);var o=function(e,i,o){var a=document.querySelectorAll(".pswp")[0],r=n[e-1].items,l={index:i,galleryUID:e,shareEl:!0,closeOnScroll:!1,history:!1,shareButtons:f,getImageURLForShare:function(t){return c.currItem.src||""},getPageURLForShare:function(t){return c.currItem.shareLink||window.location.href},getTextForShare:function(t){var e=c.currItem.title;return(void 0!==e?e.replace(/<[^>]+>/g,""):"")||""},parseShareButtonOut:function(t,e){return e}},d="";void 0!==t(o).next(".dt-gallery-container").attr("data-pretty-share")&&(d=t(o).next(".dt-gallery-container").attr("data-pretty-share").split(",")),void 0!==t(o).parents(".dt-gallery-container").attr("data-pretty-share")?d=t(o).parents(".dt-gallery-container").attr("data-pretty-share").split(","):void 0!==t(o).parents(".shortcode-single-image-wrap").attr("data-pretty-share")?d=t(o).parents(".shortcode-single-image-wrap").attr("data-pretty-share").split(","):void 0!==t(o).attr("data-pretty-share")&&(d=t(o).attr("data-pretty-share").split(",")),d.length<=0||void 0===d?t(".pswp__scroll-wrap").addClass("hide-pspw-share"):d.push("download"),g(d),t.extend(l,s);var c=new PhotoSwipe(a,PhotoSwipeUI_Default,r,l);c.init(),t(".pswp__video").removeClass("active");var h=t(c.currItem.container);h.find(".pswp__video").length>0&&h.parents(".pswp").addClass("video-active"),t(".pswp__zoom-wrap").removeClass("active-item"),h.addClass("active-item");var u,p,m=h.find(".pswp__video");if(m.length>0)if(m.addClass("active"),h.parents(".pswp").addClass("video-active"),"hosted"==m.parents(".pswp-video-wrap ").attr("data-type"))m.get(0).play();else{var v=m.prop("src");v+="?autoplay=1",m.prop("src",v)}c.listen("beforeChange",(function(){var e=t(c.currItem.container);t(".pswp__zoom-wrap").removeClass("active-item"),e.addClass("active-item"),t(".pswp__video").removeClass("active"),t(".pswp").removeClass("video-active");e.find(".pswp__video").addClass("active");e.find(".pswp__video").length>0&&e.parents(".pswp").addClass("video-active"),t(".pswp__video").each((function(){var e=t(this);if(e.hasClass("active"))"hosted"==e.parents(".pswp-video-wrap ").attr("data-type")&&e.get(0).play();else if("hosted"==e.parents(".pswp-video-wrap ").attr("data-type"))e.get(0).pause();else{var i=e.prop("src");i=i.replace("?autoplay=1","?enablejsapi=1"),e.prop("src",""),e.prop("src",i),t(".pswp__video").removeClass("active");var n=t(this)[0].contentWindow;e.hasClass("active")?func="playVideo":func="pauseVideo",n.postMessage('{"event":"command","func":"'+func+'","args":""}',"*")}}))})),c.listen("close",(function(){t(".pswp__video").each((function(){var e=t(this);if("hosted"==e.parents(".pswp-video-wrap ").attr("data-type"))e.get(0).pause();else{e.attr("src",e.attr("src"));var i=e.prop("src");i=i.replace("?autoplay=1","?enablejsapi=1"),e.prop("src",""),e.prop("src",i),t(".pswp__video").removeClass("active");var n=t(this)[0].contentWindow;e.hasClass("active")?func="playVideo":func="stopVideo",n.postMessage('{"event":"command","func":"'+func+'","args":""}',"*")}clearTimeout(u),u=setTimeout((function(){t(".pswp-video-wrap").remove()}),200)}))})),c.listen("destroy",(function(){clearTimeout(p),p=setTimeout((function(){t(".pswp").removeClass().addClass("pswp")}),100)}))};!function(e,i){n=[],e.each((function(e,i){n.push({id:e,items:[]}),t(i).find(s.target).each((function(i,o){var a=t(o),r=a.attr("data-large_image_width"),l=void 0!==r&&r.length>0&&""!=r&&0!=r?r:a.find("img").attr("width"),d=a.attr("data-large_image_height"),c=void 0!==d&&d.length>0&&""!=d&&0!=d?d:a.find("img").attr("height"),h=(void 0!==a.attr("title")&&a.attr("title").length>0?""+a.attr("title")+" ":"")+(void 0!==a.attr("data-dt-img-description")?a.attr("data-dt-img-description"):"")||"";if(a.data("gallery-id",e+1),a.data("photo-id",i),void 0===l&&(l=a.find("img").width()),void 0===c&&(c=a.find("img").height()),t(o).hasClass("pswp-video")){var u=o.href,p=s.embedType;t.each(m,(function(){if(u.indexOf(this.index)>-1)return this.id&&(u="string"==typeof this.id?u.substr(u.lastIndexOf(this.id)+this.id.length,u.length):this.id.call(this,u),p=this.type),u=this.src.replace("%id%",u),!1}));var f={html:'',title:h,shareLink:a.attr("data-dt-location")||a.parents(".fancy-media-wrap").find("img").attr("data-dt-location")||""};"hosted"==p&&(f.html='')}else f={src:o.href,w:l,h:c,title:h,shareLink:a.attr("data-dt-location")||a.find("img").attr("data-dt-location")||""};n[e].items.push(f)})),t(i).prev().hasClass("dt-gallery-pswp")?t(i).prev(".dt-gallery-pswp").on("click",(function(e){e.preventDefault();var n=t(this),a=t(this).next(t(i)).find(s.target),r=a.data("gallery-id"),l=a.data("photo-id");n.parents(".ts-wrap").hasClass("ts-interceptClicks")||o(r,l,n)})):t(i).on("click",s.target,(function(e){var i=t(this);e.preventDefault();var n=t(this).data("gallery-id"),s=t(this).data("photo-id");i.parents(".ts-wrap").hasClass("ts-interceptClicks")||o(n,s,i)}))}))}(i);var a=function(){var t=window.location.hash.substring(1),e={};if(t.length<5)return e;for(var i=t.split("&"),n=0;n0&&a.gid>0&&o(a.gid,a.pid),this}function y(e,i){if(void 0!==t.fn[i])return e.each((function(){t(this)[i]({bgOpacity:dtShare.overlayOpacity/100,loop:!0,showHideOpacity:!0})}))}
/**
* Owl carousel
* @version 2.3.4
* @author Bartosz Wojciechowski
* @author David Deutsch
* @license The MIT License (MIT)
* @todo Lazy Load Icon
* @todo prevent animationend bubling
* @todo itemsScaleUp
* @todo Test Zepto
* @todo stagePadding calculate wrong active classes
*/
if(t.fn.photoswipeGallery=function(e){var i=function t(e,i){return e&&(i(e)?e:t(e.parentNode,i))};for(var n=function(e){var n=e.target||e.srcElement,o=i(n,(function(t){return e="photoswipe-item",(" "+t.className+" ").indexOf(" "+e+" ")>-1;var e}));if(o){for(var a,r=t(o).closest(".dt-gallery-container")[0],l=t(t(o).closest(".dt-gallery-container")[0]).find(".photoswipe-item").get(),d=l.length,c=0,h=0;h=0&&s(a,r),!1}},s=function(e,i,n,s){var o,a,r,l=document.querySelectorAll(".pswp")[0];r=function(e){for(var i,n,s=t(e).find(".photoswipe-item").get(),o=s.length,a=[],r=0;r0&&""!=t(n).attr("data-large_image_width")?t(n).attr("data-large_image_width"):t(n).find("img").attr("width"),d=void 0!==t(n).attr("data-large_image_height")&&t(n).attr("data-large_image_height").length>0&&""!=t(n).attr("data-large_image_height")?t(n).attr("data-large_image_height"):t(n).find("img").attr("height"),c=(void 0!==t(n).attr("title")&&t(n).attr("title").length>0?""+t(n).attr("title")+" \n":"")+(void 0!==t(n).attr("data-dt-img-description")?t(n).attr("data-dt-img-description"):"")||"";if(t(n).hasClass("pswp-video")){var h,u=n.href;t.each(m,(function(){if(u.indexOf(this.index)>-1)return this.id&&(u="string"==typeof this.id?u.substr(u.lastIndexOf(this.id)+this.id.length,u.length):this.id.call(this,u),h=this.type),u=this.src.replace("%id%",u),!1}));var p={html:'',title:c}}else p={src:n.getAttribute("href"),w:l,h:d,title:c};n.children.length>0&&(p.msrc=n.children[0].getAttribute("src")),p.el=i,a.push(p)}return a}(i);var d=t(i).attr("data-pretty-share")?t(i).attr("data-pretty-share").split(","):new Array;if(d.length<=0||void 0===d?t(".pswp__scroll-wrap").addClass("hide-pspw-share"):d.push("download"),g(d),a={closeOnScroll:!1,galleryUID:i.getAttribute("data-pswp-uid"),bgOpacity:dtShare.overlayOpacity/100,loop:!0,history:!1,showHideOpacity:!0,showAnimationDuration:0,shareButtons:f,getImageURLForShare:function(e){return o.currItem.src||t(o.currItem.el).find("a").attr("data-dt-location")||""},getPageURLForShare:function(e){return t(o.currItem.el).find("a").attr("data-dt-location")||window.location.href},getTextForShare:function(t){var e=o.currItem.title;return(void 0!==e?e.replace(/<[^>]+>/g,""):"")||""},parseShareButtonOut:function(t,e){return e}},s)if(a.galleryPIDs){for(var c=0;c0){p.find(".pswp__video").addClass("active"),p.parents(".pswp").addClass("video-active");var v=p.find(".pswp__video").prop("src");v+="?autoplay=1",p.find(".pswp__video").prop("src",v)}o.listen("beforeChange",(function(){var e=t(o.currItem.container);t(".pswp__zoom-wrap").removeClass("active-item"),e.addClass("active-item"),t(".pswp__video").removeClass("active"),t(".pswp").removeClass("video-active"),e.find(".pswp__video").addClass("active");e.find(".pswp__video");e.find(".pswp__video").length>0&&(e.parents(".pswp").addClass("video-active"),$runVideo=0),t(".pswp__video").each((function(){var e=t(this);if(!e.hasClass("active")){var i=e.prop("src");i="youtube"==e.parents(".pswp-video-wrap ").attr("data-type")||"vimeo"==e.parents(".pswp-video-wrap ").attr("data-type")?i.replace("?autoplay=1","?enablejsapi=1"):i.replace("?autoplay=1",""),e.prop("src",""),e.prop("src",i);var n=e[0].contentWindow;e.hasClass("active")?func="playVideo":func="pauseVideo",n.postMessage('{"event":"command","func":"'+func+'","args":""}',"*")}}))})),o.listen("close",(function(){t(".pswp__video").each((function(){var e=t(this);e.attr("src",t(this).attr("src"));var i=e.prop("src");i="youtube"==e.parents(".pswp-video-wrap ").attr("data-type")||"vimeo"==e.parents(".pswp-video-wrap ").attr("data-type")?i.replace("?autoplay=1","?enablejsapi=1"):i.replace("?autoplay=1",""),e.prop("src",""),e.prop("src",i),t(".pswp__video").removeClass("active");var n=e[0].contentWindow;t(this).hasClass("active")?func="playVideo":func="pauseVideo",n.postMessage('{"event":"command","func":"'+func+'","args":""}',"*"),clearTimeout(h),h=setTimeout((function(){t(".pswp-video-wrap").remove()}),200)}))})),o.listen("destroy",(function(){clearTimeout(u),u=setTimeout((function(){t(".pswp").removeClass().addClass("pswp")}),100)}))}},o=document.querySelectorAll(e),a=0,r=o.length;a0)(n.find(".dt-gallery-container").length>0?n.find(".dt-gallery-container a.dt-pswp-item"):n.find("a.dt-pswp-item")).length>0&&n.find(".rollover-click-target").trigger("click");return!1}})),t(".dt-owl-carousel-call").length>0||t(".slider-content").length>0||t(".dt-owl-carousel-init").length>0||t("body").is('[class*="elementor-page"]')){var w=t.fn.owlCarousel;!function(t,e,i,n){function s(e,i){this.settings=null,this.options=t.extend({},s.Defaults,i),this.$element=t(e),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},t.each(["onResize","onThrottledResize"],t.proxy((function(e,i){this._handlers[i]=t.proxy(this[i],this)}),this)),t.each(s.Plugins,t.proxy((function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)}),this)),t.each(s.Workers,t.proxy((function(e,i){this._pipe.push({filter:i.filter,run:t.proxy(i.run,this)})}),this)),this.setup(),this.initialize()}s.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:e,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"dt-owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},s.Width={Default:"default",Inner:"inner",Outer:"outer"},s.Type={Event:"event",State:"state"},s.Plugins={},s.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,s={width:"auto","margin-left":n?e:"","margin-right":n?"":e};!i&&this.$stage.children().css(s),t.css=s}},{filter:["width","items","settings"],run:function(t){var e=parseInt(getComputedStyle(this.$stage.get(0)).getPropertyValue("--stage-left-gap")),i=parseInt(getComputedStyle(this.$stage.get(0)).getPropertyValue("--stage-right-gap")),n=((this.width()-e-i)/this.settings.items).toFixed(3)-this.settings.margin,s=null,o=this._items.length,a=!this.settings.autoWidth,r=[];for(t.items={merge:!1,width:n};o--;)s=this._mergers[o],s=this.settings.mergeFit&&Math.min(s,this.settings.items)||s,t.items.merge=s>1||t.items.merge,r[o]=a?n*s:this._items[o].width();this._widths=r}},{filter:["items","settings"],run:function(){var e=[],i=this._items,n=this.settings,s=Math.max(2*n.items,4),o=2*Math.ceil(i.length/2),a=n.loop&&i.length?n.rewind?s:Math.max(s,o):0,r="",l="";for(a/=2;a>0;)e.push(this.normalize(e.length/2,!0)),r+=i[e[e.length-1]][0].outerHTML,e.push(this.normalize(i.length-1-(e.length-1)/2,!0)),l=i[e[e.length-1]][0].outerHTML+l,a-=1;this._clones=e,t(r).addClass("cloned").appendTo(this.$stage),t(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t=this.settings.rtl?1:-1,e=this._clones.length+this._items.length,i=-1,n=0,s=0,o=[];++i",r)||this.op(e,"<",a)&&this.op(e,">",r))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],s.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=t("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(t("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},s.prototype.initializeItems=function(){var e=this.$element.find(".dt-owl-item");if(e.length)return this._items=e.get().map((function(e){return t(e)})),this._mergers=this._items.map((function(){return 1})),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},s.prototype.initialize=function(){var t,e,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,i=this.$element.children(e).width(),t.length&&i<=0&&this.preloadAutoWidthImages(t));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},s.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},s.prototype.setup=function(){var e=this.viewport(),i=this.options.responsive,n=-1,s=null;i?(t.each(i,(function(t){t<=e&&t>n&&(n=Number(t))})),"function"==typeof(s=t.extend({},this.options,i[n])).stagePadding&&(s.stagePadding=s.stagePadding()),delete s.responsive,s.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):s=t.extend({},this.options),this.trigger("change",{property:{name:"settings",value:s}}),this._breakpoint=n,this.settings=s,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},s.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},s.prototype.prepare=function(e){var i=this.trigger("prepare",{content:e});return i.data||(i.data=t("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(e)),this.trigger("prepared",{content:i.data}),i.data},s.prototype.update=function(){for(var e=0,i=this._pipe.length,n=t.proxy((function(t){return this[t]}),this._invalidated),s={};e0)&&this._pipe[e].run(s),e++;this._invalidated={},!this.is("valid")&&this.enter("valid")},s.prototype.width=function(t){switch(t=t||s.Width.Default){case s.Width.Inner:case s.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},s.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},s.prototype.onThrottledResize=function(){e.clearTimeout(this.resizeTimer),this.resizeTimer=e.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},s.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},s.prototype.registerEventHandlers=function(){t.support.transition&&this.$stage.on(t.support.transition.end+".owl.core",t.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(e,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",(function(){return!1}))),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",t.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",t.proxy(this.onDragEnd,this)))},s.prototype.onDragStart=function(e){var n=null;3!==e.which&&(t.support.transform?n={x:(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===n.length?12:4],y:n[16===n.length?13:5]}:(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(t.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===e.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=t(e.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(e),t(i).on("mouseup.owl.core touchend.owl.core",t.proxy(this.onDragEnd,this)),t(i).one("mousemove.owl.core touchmove.owl.core",t.proxy((function(e){var n=this.difference(this._drag.pointer,this.pointer(e));t(i).on("mousemove.owl.core touchmove.owl.core",t.proxy(this.onDragMove,this)),Math.abs(n.x)0^this.settings.rtl?"left":"right";t(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(s.x,0!==n.x?o:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=o,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",(function(){return!1}))),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},s.prototype.closest=function(e,i){var s=-1,o=this.width(),a=this.coordinates();return this.settings.freeDrag||t.each(a,t.proxy((function(t,r){return"left"===i&&e>r-30&&er-o-30&&e",a[t+1]!==n?a[t+1]:r-o)&&(s="left"===i?t+1:t),-1===s}),this)),this.settings.loop||(this.op(e,">",a[this.minimum()])?s=e=this.minimum():this.op(e,"<",a[this.maximum()])&&(s=e=this.maximum())),s},s.prototype.animate=function(e){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),t.support.transform3d&&t.support.transition?this.$stage.css({transform:"translate3d("+e+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:e+"px"},this.speed(),this.settings.fallbackEasing,t.proxy(this.onTransitionEnd,this)):this.$stage.css({left:e+"px"})},s.prototype.is=function(t){return this._states.current[t]&&this._states.current[t]>0},s.prototype.current=function(t){if(t===n)return this._current;if(0===this._items.length)return n;if(t=this.normalize(t),this._current!==t){var e=this.trigger("change",{property:{name:"position",value:t}});e.data!==n&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},s.prototype.invalidate=function(e){return"string"===t.type(e)&&(this._invalidated[e]=!0,this.is("valid")&&this.leave("valid")),t.map(this._invalidated,(function(t,e){return e}))},s.prototype.reset=function(t){(t=this.normalize(t))!==n&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},s.prototype.normalize=function(t,e){var i=this._items.length,s=e?0:this._clones.length;return!this.isNumeric(t)||i<1?t=n:(t<0||t>=i+s)&&(t=((t-s/2)%i+i)%i+s/2),t},s.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},s.prototype.maximum=function(t){var e,i,n,s=this.settings,o=this._coordinates.length;if(s.loop)o=this._clones.length/2+this._items.length-1;else if(s.autoWidth||s.merge){if(e=this._items.length)for(i=this._items[--e].width(),n=this.$element.width();e--&&!((i+=this._items[e].width()+this.settings.margin)>n););o=e+1}else o=s.center?this._items.length-1:this._items.length-s.items;return t&&(o-=this._clones.length/2),Math.max(o,0)},s.prototype.minimum=function(t){return t?0:this._clones.length/2},s.prototype.items=function(t){return t===n?this._items.slice():(t=this.normalize(t,!0),this._items[t])},s.prototype.mergers=function(t){return t===n?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},s.prototype.clones=function(e){var i=this._clones.length/2,s=i+this._items.length,o=function(t){return t%2==0?s+t/2:i-(t+1)/2};return e===n?t.map(this._clones,(function(t,e){return o(e)})):t.map(this._clones,(function(t,i){return t===e?o(i):null}))},s.prototype.speed=function(t){return t!==n&&(this._speed=t),this._speed},s.prototype.coordinates=function(e){var i,s=1,o=e-1;return e===n?t.map(this._coordinates,t.proxy((function(t,e){return this.coordinates(e)}),this)):(this.settings.center?(this.settings.rtl&&(s=-1,o=e+1),i=this._coordinates[e],i+=(this.width()-i+(this._coordinates[o]||0))/2*s):i=this._coordinates[o]||0,i=Math.ceil(i))},s.prototype.duration=function(t,e,i){return 0===i?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(i||this.settings.smartSpeed)},s.prototype.to=function(t,e){var i=this.current(),n=null,s=t-this.relative(i),o=(s>0)-(s<0),a=this._items.length,r=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(s)>a/2&&(s+=-1*o*a),(n=(((t=i+s)-r)%a+a)%a+r)!==t&&n-s<=l&&n-s>0&&(i=n-s,t=n,this.reset(i))):t=this.settings.rewind?(t%(l+=1)+l)%l:Math.max(r,Math.min(l,t)),this.speed(this.duration(i,t,e)),this.current(t),this.isVisible()&&this.update()},s.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},s.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},s.prototype.onTransitionEnd=function(t){if(t!==n&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},s.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==e?n=t(this.options.responsiveBaseElement).width():e.innerWidth?n=e.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},s.prototype.replace=function(e){this.$stage.empty(),this._items=[],e&&(e=e instanceof jQuery?e:t(e)),this.settings.nestedItemSelector&&(e=e.find("."+this.settings.nestedItemSelector)),e.filter((function(){return 1===this.nodeType})).each(t.proxy((function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)}),this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},s.prototype.add=function(e,i){var s=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),e=e instanceof jQuery?e:t(e),this.trigger("add",{content:e,position:i}),e=this.prepare(e),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(e),0!==this._items.length&&this._items[i-1].after(e),this._items.push(e),this._mergers.push(1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(e),this._items.splice(i,0,e),this._mergers.splice(i,0,1*e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[s]&&this.reset(this._items[s].index()),this.invalidate("items"),this.trigger("added",{content:e,position:i})},s.prototype.remove=function(t){(t=this.normalize(t,!0))!==n&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},s.prototype.preloadAutoWidthImages=function(e){e.each(t.proxy((function(e,i){this.enter("pre-loading"),i=t(i),t(new Image).one("load",t.proxy((function(t){i.attr("src",t.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()}),this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))}),this))},s.prototype.destroy=function(){for(var n in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),t(i).off(".owl.core"),!1!==this.settings.responsive&&(e.clearTimeout(this.resizeTimer),this.off(e,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},s.prototype.op=function(t,e,i){var n=this.settings.rtl;switch(e){case"<":return n?t>i:t":return n?ti;case">=":return n?t<=i:t>=i;case"<=":return n?t>=i:t<=i}},s.prototype.on=function(t,e,i,n){t.addEventListener?t.addEventListener(e,i,n):t.attachEvent&&t.attachEvent("on"+e,i)},s.prototype.off=function(t,e,i,n){t.removeEventListener?t.removeEventListener(e,i,n):t.detachEvent&&t.detachEvent("on"+e,i)},s.prototype.trigger=function(e,i,n,o,a){var r={item:{count:this._items.length,index:this.current()}},l=t.camelCase(t.grep(["on",e,n],(function(t){return t})).join("-").toLowerCase()),d=t.Event([e,"owl",n||"carousel"].join(".").toLowerCase(),t.extend({relatedTarget:this},r,i));return this._supress[e]||(t.each(this._plugins,(function(t,e){e.onTrigger&&e.onTrigger(d)})),this.register({type:s.Type.Event,name:e}),this.$element.trigger(d),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,d)),d},s.prototype.enter=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]===n&&(this._states.current[e]=0),this._states.current[e]++}),this))},s.prototype.leave=function(e){t.each([e].concat(this._states.tags[e]||[]),t.proxy((function(t,e){this._states.current[e]--}),this))},s.prototype.register=function(e){if(e.type===s.Type.Event){if(t.event.special[e.name]||(t.event.special[e.name]={}),!t.event.special[e.name].owl){var i=t.event.special[e.name]._default;t.event.special[e.name]._default=function(t){return!i||!i.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&t.namespace.indexOf("owl")>-1:i.apply(this,arguments)},t.event.special[e.name].owl=!0}}else e.type===s.Type.State&&(this._states.tags[e.name]?this._states.tags[e.name]=this._states.tags[e.name].concat(e.tags):this._states.tags[e.name]=e.tags,this._states.tags[e.name]=t.grep(this._states.tags[e.name],t.proxy((function(i,n){return t.inArray(i,this._states.tags[e.name])===n}),this)))},s.prototype.suppress=function(e){t.each(e,t.proxy((function(t,e){this._supress[e]=!0}),this))},s.prototype.release=function(e){t.each(e,t.proxy((function(t,e){delete this._supress[e]}),this))},s.prototype.pointer=function(t){var i={x:null,y:null};return(t=(t=t.originalEvent||t||e.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(i.x=t.pageX,i.y=t.pageY):(i.x=t.clientX,i.y=t.clientY),i},s.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},s.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},t.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each((function(){var n=t(this),o=n.data("owl.carousel");o||(o=new s(this,"object"==typeof e&&e),n.data("owl.carousel",o),t.each(["next","prev","to","destroy","refresh","replace","add","remove"],(function(e,i){o.register({type:s.Type.Event,name:i}),o.$element.on(i+".owl.carousel.core",t.proxy((function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([i]),o[i].apply(this,[].slice.call(arguments,1)),this.release([i]))}),o))}))),"string"==typeof e&&"_"!==e.charAt(0)&&o[e].apply(o,i)}))},t.fn.owlCarousel.Constructor=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()}),this)},this._core.options=t.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers)};s.Defaults={autoRefresh:!0,autoRefreshInterval:500},s.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=e.setInterval(t.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},s.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},s.prototype.destroy=function(){var t,i;for(t in e.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoRefresh=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":t.proxy((function(e){if(e.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(e.property&&"position"==e.property.name||"initialized"==e.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,s=i.center&&-1*n||0,o=(e.property&&undefined!==e.property.value?e.property.value:this._core.current())+s,a=this._core.clones().length,r=t.proxy((function(t,e){this.load(e)}),this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(o-=i.lazyLoadEager,n++));s++-1||(s.each(t.proxy((function(i,n){var s,o=t(n),a=e.devicePixelRatio>1&&o.attr("data-src-retina")||o.attr("data-src")||o.attr("data-srcset");this._core.trigger("load",{element:o,url:a},"lazy"),o.is("img")?o.one("load.owl.lazy",t.proxy((function(){o.css("opacity",1),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this)).attr("src",a):o.is("source")?o.one("load.owl.lazy",t.proxy((function(){this._core.trigger("loaded",{element:o,url:a},"lazy")}),this)).attr("srcset",a):((s=new Image).onload=t.proxy((function(){o.css({"background-image":'url("'+a+'")',opacity:"1"}),this._core.trigger("loaded",{element:o,url:a},"lazy")}),this),s.src=a)}),this)),this._loaded.push(n.get(0)))},s.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Lazy=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&this.update()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()}),this),"loaded.owl.lazy":t.proxy((function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()}),this)},this._core.options=t.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var n=this;t(e).on("load",(function(){n._core.settings.autoHeight&&n.update()})),t(e).on("resize",(function(){n._core.settings.autoHeight&&(null!=n._intervalId&&clearTimeout(n._intervalId),n._intervalId=setTimeout((function(){n.update()}),250))}))};s.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},s.prototype.update=function(){var e=this._core._current,i=e+this._core.settings.items,n=this._core.settings.lazyLoad,s=this._core.$stage.children().toArray().slice(e,i),o=[],a=0;t.each(s,(function(e,i){o.push(t(i).height())})),(a=Math.max.apply(null,o))<=1&&n&&this._previousHeight&&(a=this._previousHeight),this._previousHeight=a,this._core.$stage.parent().height(a).addClass(this._core.settings.autoHeightClass)},s.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.AutoHeight=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})}),this),"resize.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,t(e.content)))}}),this)},this._core.options=t.extend({},s.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",t.proxy((function(t){this.play(t)}),this))};s.Defaults={video:!1,videoHeight:!1,videoWidth:!1},s.prototype.fetch=function(t,e){var i=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",n=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),s=t.attr("data-width")||this._core.settings.videoWidth,o=t.attr("data-height")||this._core.settings.videoHeight,a=t.attr("href");if(!a)throw new Error("Missing video URL.");if((n=a.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[a]={type:i,id:n,width:s,height:o},e.attr("data-video",a),this.thumbnail(t,this._videos[a])},s.prototype.thumbnail=function(e,i){var n,s,o=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",a=e.find("img"),r="src",l="",d=this._core.settings,c=function(i){'
',n=d.lazyLoad?t("
",{class:"owl-video-tn "+l,srcType:i}):t("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),e.after(n),e.after('
')};if(e.wrap(t("
",{class:"owl-video-wrapper",style:o})),this._core.settings.lazyLoad&&(r="data-src",l="owl-lazy"),a.length)return c(a.attr(r)),a.remove(),!1;"youtube"===i.type?(s="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",c(s)):"vimeo"===i.type?t.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t[0].thumbnail_large,c(s)}}):"vzaar"===i.type&&t.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){s=t.framegrab_url,c(s)}})},s.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},s.prototype.play=function(e){var i,n=t(e.target).closest("."+this._core.settings.itemClass),s=this._videos[n.attr("data-video")],o=s.width||"100%",a=s.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(i=t('')).attr("height",a),i.attr("width",o),"youtube"===s.type?i.attr("src","//www.youtube.com/embed/"+s.id+"?autoplay=1&rel=0&v="+s.id):"vimeo"===s.type?i.attr("src","//player.vimeo.com/video/"+s.id+"?autoplay=1"):"vzaar"===s.type&&i.attr("src","//view.vzaar.com/"+s.id+"/player?autoplay=true"),t(i).wrap('
').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},s.prototype.isInFullScreen=function(){var e=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return e&&t(e).parent().hasClass("owl-video-frame")},s.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Video=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this.core=e,this.core.options=t.extend({},s.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)}),this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":t.proxy((function(t){t.namespace&&(this.swapping="translated"==t.type)}),this),"translate.owl.carousel":t.proxy((function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()}),this)},this.core.$element.on(this.handlers)};s.Defaults={animateOut:!1,animateIn:!1},s.prototype.swap=function(){if(1===this.core.settings.items&&t.support.animation&&t.support.transition){this.core.speed(0);var e,i=t.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),s=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,a=this.core.settings.animateOut;this.core.current()!==this.previous&&(a&&(e=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(t.support.animation.end,i).css({left:e+"px"}).addClass("animated owl-animated-out").addClass(a)),o&&s.one(t.support.animation.end,i).addClass("animated owl-animated-in").addClass(o))}},s.prototype.clear=function(e){t(e.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},s.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.Animate=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=function(e){this._core=e,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":t.proxy((function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.autoplay&&this.play()}),this),"play.owl.autoplay":t.proxy((function(t,e,i){t.namespace&&this.play(e,i)}),this),"stop.owl.autoplay":t.proxy((function(t){t.namespace&&this.stop()}),this),"mouseover.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"mouseleave.owl.autoplay":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()}),this),"touchstart.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()}),this),"touchend.owl.core":t.proxy((function(){this._core.settings.autoplayHoverPause&&this.play()}),this)},this._core.$element.on(this._handlers),this._core.options=t.extend({},s.Defaults,this._core.options)};s.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},s.prototype._next=function(n){this._call=e.setTimeout(t.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},s.prototype.read=function(){return(new Date).getTime()-this._time},s.prototype.play=function(i,n){var s;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,s=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):e.clearTimeout(this._call),this._time+=this.read()%i-s,this._timeout=i,this._call=e.setTimeout(t.proxy(this._next,this,n),i-s)},s.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,e.clearTimeout(this._call),this._core.leave("rotating"))},s.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,e.clearTimeout(this._call))},s.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},t.fn.owlCarousel.Constructor.Plugins.autoplay=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var s=function(e){this._core=e,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":t.proxy((function(e){e.namespace&&this._core.settings.dotsData&&this._templates.push(''+t(e.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")}),this),"added.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())}),this),"remove.owl.carousel":t.proxy((function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)}),this),"changed.owl.carousel":t.proxy((function(t){t.namespace&&"position"==t.property.name&&this.draw()}),this),"initialized.owl.carousel":t.proxy((function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))}),this),"refreshed.owl.carousel":t.proxy((function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))}),this)},this._core.options=t.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers)};s.Defaults={nav:!1,navText:['‹ ','› '],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},s.prototype.initialize=function(){var e,i=this._core.settings;for(e in this._controls.$relative=(i.navContainer?t(i.navContainer):t("").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=t("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",t.proxy((function(t){this.prev(i.navSpeed)}),this)),this._controls.$next=t("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",t.proxy((function(t){this.next(i.navSpeed)}),this)),i.dotsData||(this._templates=[t('
').addClass(i.dotClass).append(t("")).prop("outerHTML")]),this._controls.$absolute=(i.dotsContainer?t(i.dotsContainer):t("").addClass(i.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",t.proxy((function(e){var n=t(e.target).parent().is(this._controls.$absolute)?t(e.target).index():t(e.target).parent().index();e.preventDefault(),this.to(n,i.dotsSpeed)}),this)),this._overrides)this._core[e]=t.proxy(this[e],this)},s.prototype.destroy=function(){var t,e,i,n,s;for(t in s=this._core.settings,this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&s.navContainer?this._controls[e].html(""):this._controls[e].remove();for(n in this.overides)this._core[n]=this._overrides[n];for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},s.prototype.update=function(){var t,e,i=this._core.clones().length/2,n=i+this._core.items().length,s=this._core.maximum(!0),o=this._core.settings,a=o.center||o.autoWidth||o.dotsData?1:o.dotsEach||o.items;if("page"!==o.slideBy&&(o.slideBy=Math.min(o.slideBy,o.items)),o.dots||"page"==o.slideBy)for(this._pages=[],t=i,e=0,0;t
=a||0===e){if(this._pages.push({start:Math.min(s,t-i),end:t-i+a-1}),Math.min(s,t-i)===s)break;e=0}e+=this._core.mergers(this._core.relative(t))}},s.prototype.draw=function(){var e,i=this._core.settings,n=this._core.items().length<=i.items,s=this._core.relative(this._core.current()),o=i.loop||i.rewind;this._controls.$relative.toggleClass("disabled",!i.nav||n),i.nav&&(this._controls.$previous.toggleClass("disabled",!o&&s<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!o&&s>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!i.dots||n),i.dots&&(e=this._pages.length-this._controls.$absolute.children().length,i.dotsData&&0!==e?this._controls.$absolute.html(this._templates.join("")):e>0?this._controls.$absolute.append(new Array(e+1).join(this._templates[0])):e<0&&this._controls.$absolute.children().slice(e).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(t.inArray(this.current(),this._pages)).addClass("active"))},s.prototype.onTrigger=function(e){var i=this._core.settings;e.page={index:t.inArray(this.current(),this._pages),count:this._pages.length,size:i&&(i.center||i.autoWidth||i.dotsData?1:i.dotsEach||i.items)}},s.prototype.current=function(){var e=this._core.relative(this._core.current());return t.grep(this._pages,t.proxy((function(t,i){return t.start<=e&&t.end>=e}),this)).pop()},s.prototype.getPosition=function(e){var i,n,s=this._core.settings;return"page"==s.slideBy?(i=t.inArray(this.current(),this._pages),n=this._pages.length,e?++i:--i,i=this._pages[(i%n+n)%n].start):(i=this._core.relative(this._core.current()),n=this._core.items().length,e?i+=s.slideBy:i-=s.slideBy),i},s.prototype.next=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!0),e)},s.prototype.prev=function(e){t.proxy(this._overrides.to,this._core)(this.getPosition(!1),e)},s.prototype.to=function(e,i,n){var s;!n&&this._pages.length?(s=this._pages.length,t.proxy(this._overrides.to,this._core)(this._pages[(e%s+s)%s].start,i)):t.proxy(this._overrides.to,this._core)(e,i)},t.fn.owlCarousel.Constructor.Plugins.Navigation=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){"use strict";var s=function(i){this._core=i,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":t.proxy((function(i){i.namespace&&"URLHash"===this._core.settings.startPosition&&t(e).trigger("hashchange.owl.navigation")}),this),"prepared.owl.carousel":t.proxy((function(e){if(e.namespace){var i=t(e.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!i)return;this._hashes[i]=e.content}}),this),"changed.owl.carousel":t.proxy((function(i){if(i.namespace&&"position"===i.property.name){var n=this._core.items(this._core.relative(this._core.current())),s=t.map(this._hashes,(function(t,e){return t===n?e:null})).join();if(!s||e.location.hash.slice(1)===s)return;e.location.hash=s}}),this)},this._core.options=t.extend({},s.Defaults,this._core.options),this.$element.on(this._handlers),t(e).on("hashchange.owl.navigation",t.proxy((function(t){var i=e.location.hash.substring(1),n=this._core.$stage.children(),s=this._hashes[i]&&n.index(this._hashes[i]);undefined!==s&&s!==this._core.current()&&this._core.to(this._core.relative(s),!1,!0)}),this))};s.Defaults={URLhashListener:!1},s.prototype.destroy=function(){var i,n;for(i in t(e).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(i,this._handlers[i]);for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},t.fn.owlCarousel.Constructor.Plugins.Hash=s}(window.Zepto||window.jQuery,window,document),function(t,e,i,n){var s=t("").get(0).style,o="Webkit Moz O ms".split(" "),a={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},r=function(){return!!c("transform")},l=function(){return!!c("perspective")},d=function(){return!!c("animation")};function c(e,i){var a=!1,r=e.charAt(0).toUpperCase()+e.slice(1);return t.each((e+" "+o.join(r+" ")+r).split(" "),(function(t,e){if(s[e]!==n)return a=!i||e,!1})),a}function h(t){return c(t,!0)}(function(){return!!c("transition")})()&&(t.support.transition=new String(h("transition")),t.support.transition.end=a.transition.end[t.support.transition]),d()&&(t.support.animation=new String(h("animation")),t.support.animation.end=a.animation.end[t.support.animation]),r()&&(t.support.transform=new String(h("transform")),t.support.transform3d=l())}(window.Zepto||window.jQuery,window,document)}t.fn.scrollerSlideSize=function(){return this.each((function(){var e=t(this),i=e.find("img").eq(0),n=parseInt(i.attr("width")),s=e.parents(".slider-wrapper"),o=s.width(),a=s.attr("data-max-width"),r=parseInt(s.attr("data-padding-side")),l=parseInt(i.parents(".wf-td").eq(0).css("paddingLeft")),d=parseInt(i.parents(".wf-td").eq(0).css("paddingRight")),c=0;if(l>0&&d>0&&(c=l+d),void 0!==a)var h=o*parseFloat(a)/100-c-r;if(n>h)var u=h;else{u=parseInt(i.attr("width"));i.exists()||(u=280)}e.parents(".slider-wrapper").attr("data-width",u+c),e.css({width:u+c})}))},t(".slider-wrapper.description-under-image:not(.related-projects) article").scrollerSlideSize();var b=t(".slider-wrapper.owl-carousel:not(.related-projects)");b.each((function(){var e,i=t(this),n=i.attr("data-padding-side")?parseInt(i.attr("data-padding-side")):0,s="true"===i.attr("data-autoslide"),o=i.attr("data-delay")?parseInt(i.attr("data-delay")):6e3,a="true"===i.attr("data-arrows"),r=i.attr("data-width")?b.width()/parseInt(i.attr("data-width")):b.width()/b.find("article img").attr("width"),l="rtl"==jQuery(document).attr("dir"),d=i.attr("data-next-icon")?i.attr("data-next-icon"):"icon-ar-018-r",c=i.attr("data-prev-icon")?i.attr("data-prev-icon"):"icon-ar-018-l";function h(t){var e,n=i.find(".owl-stage"),s=n.width(),o=i.find(".dt-owl-item");(e=(o.width()+parseInt(o.css("margin-right")))*t.item.count)>s&&n.width(e)}r=i.attr("data-width")?b.width()/parseInt(i.attr("data-width")):i.attr("data-max-width")?b.width()/parseInt(i.attr("data-max-width")):b.width()/b.find("article img").attr("width"),i.owlCarousel({rtl:l,items:r,autoHeight:!1,margin:n,loadedClass:"owl-loaded",slideBy:"page",loop:!1,smartSpeed:600,merge:!0,autoWidth:!0,responsive:{678:{mergeFit:!0},1e3:{mergeFit:!1}},autoplay:s,autoplayTimeout:o,nav:a,navElement:"a",navText:[' ',' '],dots:!1,onInitialize:function(t){var e=parseInt(i.attr("data-max-width")),s=b.width()*parseFloat(e)/100-n,o=parseInt(i.find("img").attr("width")),a=parseInt(i.find("img").attr("height"));e&&s999?parseInt(e.attr("data-autoslide")):5e3),l=(e.attr("data-autoslide"),e.attr("data-width")?parseInt(e.attr("data-width")):800),d=e.attr("data-height")?parseInt(e.attr("data-height")):400,c=e.attr("data-img-mode")?e.attr("data-img-mode"):"fill";e.owlCarousel({rtl:n,items:1,autoHeight:!1,center:!1,margin:0,loadedClass:"owl-loaded",slideBy:1,loop:!0,smartSpeed:600,autoplay:a,autoplayTimeout:r,nav:!0,navElement:"a",navText:[' ',' '],dots:!1}),i.on("debouncedresize",(function(){e.find(".dt-owl-item").each((function(i){var n=t(this),s=n.find("img");if(s.css({opacity:0}),!s)return!1;var o;o=d/l,"fit"==c?n.css({height:o*n.width()}):n.css({height:o*e.width()});var a,r,h,u,p,f=parseInt(s.attr("width")),m=parseInt(s.attr("height")),g={};a=n.width()/f,r=o*n.width()/m,h="fill"==e.attr("data-img-mode")?a>r?a:r:"fit"==e.attr("data-img-mode")?ar?a:r,u=Math.ceil(f*h,10),p=Math.ceil(m*h,10),g.width=u,g.height=p,g.opacity=1,s.css(g)}))})),void 0!==e.attr("data-autoslide")&&t('
').appendTo(e),"true"===e.attr("data-paused")&&(t(".psPlay",e).addClass("paused"),e.trigger("stop.owl.autoplay")),t(".psPlay",e).on("click",(function(e){e.preventDefault();var i=t(this);i.hasClass("paused")?(i.removeClass("paused"),a=!0,i.trigger("play.owl.autoplay",[r,600])):(i.addClass("paused"),i.trigger("stop.owl.autoplay"))}))},t(".slider-simple:not(.slider-masonry)").each((function(){t(this).postTypeScroller()}));var C,_=t("#main .slider-content, #footer .slider-content, .side-header:not(.sub-downwards) .mega-full-width > .dt-mega-menu-wrap .slider-content, .side-header:not(.sub-downwards) .mega-auto-width > .dt-mega-menu-wrap .slider-content");t.fn.widgetScroller=function(){return this.each((function(){var e=t(this),i=void 0!==e.attr("data-autoslide"),n=e.attr("data-autoslide")?parseInt(e.attr("data-autoslide")):6e3,s="rtl"==jQuery(document).attr("dir");e.owlCarousel({rtl:s,items:1,autoHeight:!0,margin:0,loadedClass:"owl-loaded",slideBy:"page",loop:e.children().length>1,smartSpeed:600,autoplay:i,autoplayTimeout:n,autoplayHoverPause:!1,nav:!1,dots:!0,dotsEach:!0})}))},_.widgetScroller().css("visibility","visible");var x;function S(){clearTimeout(x),x=setTimeout((function(){t(".dt-owl-carousel-call, .elementor-owl-carousel-call, .related-projects, .slider-simple:not(.slider-masonry)").trigger("refresh.owl.carousel")}),200)}t.fn.the7OwlCarousel=function(){var e=t(this);if(e.length){var i,n=e.attr("data-col-gap")?parseInt(e.attr("data-col-gap")):0,s="true"===e.attr("data-auto-height"),o=e.attr("data-speed")?parseInt(e.attr("data-speed")):600,a="true"===e.attr("data-autoplay"),r=e.attr("data-autoplay_speed")?parseInt(e.attr("data-autoplay_speed")):6e3,l="true"===e.attr("data-arrows"),d="true"===e.attr("data-bullet"),c=e.attr("data-wide-col-num")?parseInt(e.attr("data-wide-col-num")):3,h=e.attr("data-col-num")?parseInt(e.attr("data-col-num")):3,u=e.attr("data-laptop-col")?parseInt(e.attr("data-laptop-col")):3,p=e.attr("data-h-tablet-columns-num")?parseInt(e.attr("data-h-tablet-columns-num")):3,f=e.attr("data-v-tablet-columns-num")?parseInt(e.attr("data-v-tablet-columns-num")):2,m=e.attr("data-phone-columns-num")?parseInt(e.attr("data-phone-columns-num")):1,g="rtl"==jQuery(document).attr("dir"),v="1"==e.attr("data-scroll-mode")?parseInt(e.attr("data-scroll-mode")):"page",y=e.attr("data-next-icon")?e.attr("data-next-icon"):"icon-ar-002-r",w=e.attr("data-prev-icon")?e.attr("data-prev-icon"):"icon-ar-001-l",b=!("1"!=e.attr("data-scroll-mode")||!d);if(void 0!==e.attr("data-stage-padding"))var _=e.hasClass("enable-img-shadow")?parseInt(e.attr("data-stage-padding"))+parseInt(e.attr("data-col-gap"))/2:parseInt(e.attr("data-stage-padding"));else _=0;n=e.attr("data-col-gap")?parseInt(e.attr("data-col-gap")):e.attr("data-padding-side")?parseInt(e.attr("data-padding-side")):0,e.on("initialize.owl.carousel",(function(i){t(e[0]).find("script, style").each((function(){var e=t(this);e.siblings().first();t(e).prev().length>0?t(e).prev().addBack().wrapAll("
"):t(e).next().length>0&&t(e).next().addBack().wrapAll("
")}))}));var x={};t(this).hasClass("products-carousel-shortcode")&&e.parent(".elementor-widget-container").length&&elementorFrontendConfig?(x[0]={items:m,loop:e.children().length>m,stagePadding:0},x[elementorFrontendConfig.breakpoints.md]={loop:e.children().length>p,items:p,stagePadding:0},x[elementorFrontendConfig.breakpoints.lg]={loop:e.children().length>h,items:h}):x={0:{items:m,loop:e.children().length>m,stagePadding:0},481:{loop:e.children().length>f,items:f,stagePadding:0},769:{loop:e.children().length>p,items:p,stagePadding:0},992:{loop:e.children().length>u,items:u},1199:{loop:e.children().length>h,items:h},1450:{loop:e.children().length>c,items:c}},e.owlCarousel({rtl:g,items:c,autoHeight:s,margin:n,stagePadding:_,loadedClass:"owl-loaded",slideBy:v,loop:!0,smartSpeed:o,responsive:x,autoplay:a,autoplayTimeout:r,nav:l,navElement:"a",navText:[' ',' '],dots:d,dotsEach:b}),e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient(),dtGlobals.addOnloadEvent((function(){!function(e){if(e.hasClass("refreshed")||(e.addClass("refreshed"),e.trigger("refresh.owl.carousel")),e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient(),clearTimeout(C),C=setTimeout((function(){t(".dt-owl-item.cloned .animate-element.animation-triggered:not(.start-animation)").addClass("start-animation")}),50),"true"===e.attr("data-autoplay"))if(dtGlobals.isInViewport(e)){const t=e.attr("data-autoplay_speed")?parseInt(e.attr("data-autoplay_speed")):6e3;e.trigger("play.owl.autoplay",[t])}else e.trigger("stop.owl.autoplay")}(e)})),e.on("changed.owl.carousel",(function(i){t(".dt-owl-item.cloned .photoswipe-wrapper, .dt-owl-item.cloned .photoswipe-item .dt-gallery-container",e).initPhotoswipe(),the7Utils.isFunction(t.fn.triggerClonedHoverClick)&&t(" .dt-owl-item.cloned .buttons-on-img:not(.rollover-active) .rollover-content",e).triggerClonedHoverClick();var n=t(" .dt-owl-item.cloned .post-thumbnail-wrap",e);e.hasClass("albums-shortcode")&&(e.hasClass("gradient-overlay-layout-list")||e.hasClass("content-rollover-layout-list")?the7Utils.isFunction(t.fn.triggerClonedOverlayAlbumsClick)&&t(" .dt-owl-item.cloned .post-entry-content",e).triggerClonedOverlayAlbumsClick():the7Utils.isFunction(t.fn.triggerClonedAlbumsClick)&&n.triggerClonedAlbumsClick()),e.hasClass("gallery-shortcode")&&t(e).initCarouselClonedPhotoswipe()})),e.on("change.owl.carousel",(function(n){clearTimeout(i),i=setTimeout((function(){e.layzrCarouselUpdate(),t(".dt-owl-item.cloned .lazy-load",e).parent().removeClass("layzr-bg")}),20)})),e.on("resized.owl.carousel",(function(t){e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient()})),e.find(".dt-owl-item").on("mouseenter",(function(t){a&&e.trigger("stop.owl.autoplay")})),e.find(".dt-owl-item").on("mouseleave",(function(t){a&&e.trigger("play.owl.autoplay",[r])})),e.find(".owl-nav a").on("mouseenter",(function(t){a&&e.trigger("stop.owl.autoplay")})),e.find(".owl-nav a").on("mouseleave",(function(t){a&&e.trigger("play.owl.autoplay",[r])}))}},t(".dt-owl-carousel-call, .related-projects").each((function(){t(this).the7OwlCarousel()})),t.fn.the7ElementorOwlCarousel=function(){var e=t(this);if(e.length&&!e.hasClass("owl-loaded")){var i,n=e.attr("data-col-gap")?parseInt(e.attr("data-col-gap")):0,s=e.attr("data-col-gap-tablet")?parseInt(e.attr("data-col-gap-tablet")):n,o=e.attr("data-col-gap-mobile")?parseInt(e.attr("data-col-gap-mobile")):s,a="true"===e.attr("data-auto-height"),r=e.attr("data-speed")?parseInt(e.attr("data-speed")):600,l="true"===e.attr("data-autoplay"),d=e.attr("data-autoplay_speed")?parseInt(e.attr("data-autoplay_speed")):6e3,c=void 0!==elementorFrontendConfig.breakpoints.md?elementorFrontendConfig.breakpoints.md:481,h=void 0!==elementorFrontendConfig.breakpoints.lg?elementorFrontendConfig.breakpoints.lg:769,u=void 0!==dtLocal.elementor.settings.container_width?dtLocal.elementor.settings.container_width+1:1450,p=e.attr("data-col-num")?parseInt(e.attr("data-col-num")):3,f=e.attr("data-wide-col-num")?parseInt(e.attr("data-wide-col-num")):p,m=(e.attr("data-laptop-col")&&parseInt(e.attr("data-laptop-col")),e.attr("data-h-tablet-columns-num")?parseInt(e.attr("data-h-tablet-columns-num")):3),g=(e.attr("data-v-tablet-columns-num")&&parseInt(e.attr("data-v-tablet-columns-num")),e.attr("data-phone-columns-num")?parseInt(e.attr("data-phone-columns-num")):1),v="rtl"==jQuery(document).attr("dir"),y="1"==e.attr("data-scroll-mode")?parseInt(e.attr("data-scroll-mode")):"page",w=(e.attr("data-next-icon")&&e.attr("data-next-icon"),e.attr("data-prev-icon")&&e.attr("data-prev-icon"),"1"==e.attr("data-scroll-mode")),b=function(){var t=e.find(".dt-owl-item img");t.length>0&&e.css("--dynamic-img-height",t.height()+"px")},C=function(t){l&&(t?e.trigger("play.owl.autoplay",[d]):e.trigger("stop.owl.autoplay"))},_=function(){clearTimeout(i),i=setTimeout((function(){e.layzrCarouselUpdate()}),20)};if("function"==typeof The7ElementorSettings){const t=e.closest(".elementor-widget");if(t.length){const e=new The7ElementorSettings(t).getSettings("widget_columns_wide_desktop_breakpoint");e&&(u=e+1)}}var x=e.next(".owl-nav").find(".owl-prev").html(),S=e.next(".owl-nav").find(".owl-next").html(),I=function(){_(),b(),e.hasClass("content-rollover-layout-list")&&!e.hasClass("disable-layout-hover")&&e.find(".post-entry-wrapper").clickOverlayGradient(),t(".dt-owl-item.cloned .photoswipe-wrapper, .dt-owl-item.cloned .photoswipe-item .dt-gallery-container",e).initPhotoswipe();var i=t(" .dt-owl-item.cloned .post-thumbnail-wrap",e);e.hasClass("albums-shortcode")&&(e.hasClass("gradient-overlay-layout-list")||e.hasClass("content-rollover-layout-list")?the7Utils.isFunction(t.fn.triggerClonedOverlayAlbumsClick)&&t(" .dt-owl-item.cloned .post-entry-content",e).triggerClonedOverlayAlbumsClick():the7Utils.isFunction(t.fn.triggerClonedAlbumsClick)&&i.triggerClonedAlbumsClick()),e.hasClass("gallery-shortcode")&&t(e).initCarouselClonedPhotoswipe()};e.on("initialized.owl.carousel",(function(t){I()}));var k={};k[0]={items:g,loop:e.children().length>g,margin:o},k[c]={loop:e.children().length>m,items:m,margin:s},k[h]={loop:e.children().length>p,items:p,margin:n},k[u]={loop:e.children().length>f,items:f,margin:n},e.owlCarousel({rtl:v,items:f,autoHeight:a,margin:n,loadedClass:"owl-loaded",slideBy:y,loop:!0,smartSpeed:r,autoplay:l,autoplayTimeout:d,nav:!0,responsive:k,navElement:"a",navText:[x,S],dots:!0,dotsEach:w,autoRefreshInterval:180}),dtGlobals.addOnloadEvent((function(){C(dtGlobals.isInViewport(e))})),e.on("refreshed.owl.carousel",(function(t){I()})),e.on("change.owl.carousel",(function(i){"position"===i.property.name&&(_(),t(".animate-element:not(.start-animation):in-viewport",e).checkInViewport())})),e.on("resized.owl.carousel",(function(t){b()}));var T=e.find(".dt-owl-item");T.on("mouseenter",(function(t){C(!1)})),T.on("mouseleave",(function(t){C(!0)}));var z=e.find(".owl-nav a");z.on("mouseenter",(function(t){C(!1)})),z.on("mouseleave",(function(t){C(!0)}))}},i.on("elementor/frontend/init",(function(){var n=1e3,s=n;t(".elementor-owl-carousel-call:not(.the7-woocommerce-loop-product-image)").each((function(){var e=this,o=t(this),a=o.closest(".elementor-widget-container");if(a.length){var r=i.height();if(i.scrollTop()+r+r>a.offset().top)o.the7ElementorOwlCarousel();else{var l=elementorModules.utils.Scroll.scrollObserver({offset:"0% 0% 100%",callback:t=>{t.isInViewport&&(l.unobserve(e),o.the7ElementorOwlCarousel())}});o.addClass("owl-loading"),setTimeout((function(){l.unobserve(e),o.the7ElementorOwlCarousel(),s+=500}),n),n+=500,l.observe(e)}}else o.the7ElementorOwlCarousel()}));e.one("click",'a[href^="#"]',(function(e){if(n!==s){e.preventDefault(),e.stopImmediatePropagation(),t(".elementor-owl-carousel-call:not(.the7-woocommerce-loop-product-image)").each((function(){t(this).the7ElementorOwlCarousel()}));var i=t(this);return setTimeout((function(){i.click()}),100),!1}}))})),dtGlobals.isMobile&&!dtGlobals.isWindowsPhone?i.bind("orientationchange",(function(t){S()})):dtGlobals.isAndroid&&i.bind("debouncedresize",(function(t){S()})),void 0===l&&(l=new Layzr({selector:".owl-thumb-lazy-load-show",attr:"data-src",attrSrcSet:"data-srcset",retinaAttr:"data-src-retina",hiddenAttr:"data-src-hidden",threshold:30,callback:function(){showLazyImg(t(this))}}));var I=t(".top-bar"),k=t(".masthead"),T=t(".overlay-navigation"),z=t(".sticky-header"),L=t(".sticky-top-line"),E=t("#main-slideshow, .photo-scroller"),P=(t(".header-side-left").length,t(".header-side-right").length,t("#main, #main-slideshow, .photo-scroller, .page-title, .fancy-header, .footer"),t(".floating-logo.side-header-menu-icon .branding, .side-header-h-stroke, #phantom"),t(".side-header")),O=(t(".page-template-template-microsite").length,s.hasClass("transparent")),A=t(".floating-navigation-below-slider").exists();if(t(".side-header-v-stroke").length>0)P.width(),t(".side-header-v-stroke").width();else P.width();
/*!-Show Hide side header*/
if(t.closeSideHeader=function(){o.removeClass("show-header"),o.addClass("closed-header"),t(".sticky-header-overlay").removeClass("active")},t.closeMobileHeader=function(){o.removeClass("show-mobile-header"),o.addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header show-overlay-mobile-header").addClass("closed-overlay-mobile-header"),t(".mobile-sticky-header-overlay, .dt-mobile-menu-icon, .menu-toggle, .menu-close-toggle").removeClass("active")},z.length>0||T.length>0){t('
').appendTo(".menu-toggle");var M=dtLocal.themeSettings.ToggleCaptionEnabled;ToggleCaption="disabled"!=M?"":"",z.length>0&&s.append('');var D=t(".menu-toggle"),H=t(".menu-close-toggle"),F=t(".menu-toggle:not(.active), .menu-close-toggle:not(.active)"),B=t(".sticky-header-overlay");D.on("click",(function(){if(!t(".header-under-side-line").length>0)var e=t(".side-header .menu-toggle");else e=t(".menu-toggle");e.hasClass("active")?(e.removeClass("active"),o.removeClass("show-header").addClass("closed-header"),B.removeClass("active"),t(".hide-overlay").removeClass("active")):(F.removeClass("active"),e.addClass("active").css({left:"",right:""}),o.addClass("show-header").removeClass("closed-header"),H.addClass("active"),B.addClass("active"),t(".hide-overlay").addClass("active"))})),H.on("click",(function(){var e=t(this);e.hasClass("active")?(e.removeClass("active"),o.removeClass("show-header").addClass("closed-header"),B.removeClass("active"),t(".hide-overlay").removeClass("active")):(F.removeClass("active"),e.addClass("active").css({left:"",right:""}),o.addClass("show-header").removeClass("closed-header"),B.addClass("active"),t(".hide-overlay").addClass("active"))})),B.on("click",(function(){t(this).hasClass("active")&&(F.removeClass("active"),o.removeClass("show-header").addClass("closed-header"),B.removeClass("active"))})),t(".hide-overlay").on("click",(function(){t(this).hasClass("active")&&(F.removeClass("active"),o.removeClass("show-header"),o.addClass("closed-header"),B.removeClass("active"))}))}function W(){var e=i.width(),n="",a=t(".side-header-menu-icon").length>0;if((e-o.innerWidth())/2>0&&(n=(e-o.innerWidth())/2),s.hasClass("header-side-right")&&o.hasClass("boxed")&&!z.length>0&&P.css({right:n}),navigator.userAgent.match(/Trident.*rv\:11\./)&&A&&O){k.insertAfter(E);var r=k.attr("style");k.not(".sticky-on").attr("style",r+"; top:"+E.height()+"px !important;")}var l=t(".floating-menu-icon-right");l.length>0&&o.hasClass("boxed")&&(F.css({right:n}),t(".branding").css({left:n})),o.hasClass("boxed")&&a&&!l.length>0&&(t(".floating-logo .branding").css({right:n}),F.css({left:n})),T.length>0&&a&&o.hasClass("boxed")&&(F.css({right:n}),t(".floating-logo .branding").css({left:n}))}if(W(),i.on("the7-resize-width-debounce",(function(){W()})),A&&s.hasClass("footer-overlap")&&k.insertAfter(E),navigator.userAgent.match(/Trident.*rv\:11\./)&&A&&O){k.insertAfter(E);var R=k.attr("style");k.attr("style",R+"; top:"+E.height()+"px !important;")}var $=k;if(t(".mixed-header").length>0&&($=t(".mixed-header")),t(".side-header .header-bar").wrap(""),P.length>0&&"function"==typeof t.fn.mCustomScrollbar&&!dtGlobals.isMobile&&(t(".header-scrollbar-wrap").mCustomScrollbar({scrollInertia:150,callbacks:{whileScrolling:function(){t(".header-scrollbar-wrap").layzrInitialisation()}}}),t(".sub-downwards .main-nav").find(".slider-content").widgetScroller().css("visibility","visible")),P.length>0&&!t(".mCSB_container").length>0&&t(".side-header .header-scrollbar-wrap .header-bar").wrap("
"),!s.hasClass("responsive-off")){var j=t(".mixed-header"),G=t(".masthead .near-logo-first-switch").clone(!0).addClass("show-on-first-switch"),Y=t(".masthead .near-logo-second-switch").clone(!0).addClass("show-on-second-switch"),N=k.find(".in-menu-first-switch").clone(!0).addClass("hide-on-desktop hide-on-second-switch show-on-first-switch"),q=k.find(".in-menu-second-switch").clone(!0).addClass("hide-on-desktop hide-on-first-switch show-on-second-switch"),U=k.find(".in-top-bar").clone(!0).addClass("hide-on-desktop hide-on-first-switch show-on-second-switch"),V=k.find(".in-top-bar-left").clone(!0).addClass("hide-on-desktop show-on-first-switch"),X=k.find(".in-top-bar-right").clone(!0).addClass("hide-on-desktop show-on-first-switch");if(j.length>0){var Z=j.find(".branding > a, .branding > img").clone(!0);$=j}else Z=t(".masthead:not(.mixed-header)").find(".branding > a, .branding > img").clone(!0),$=k;if(I.length>0&&"none"!=I.css("display"))var Q=I.innerHeight();else Q=0;var K=dtLocal.themeSettings.mobileHeader.mobileToggleCaptionEnabled;mobileToggleCaption="disabled"!=K?"":"",t("").appendTo(".masthead"),t(".mobile-header-bar .mobile-navigation").append(""),t(G).appendTo(".mobile-header-bar .mobile-mini-widgets"),t(Y).appendTo(".mobile-header-bar .mobile-mini-widgets"),t(".left-widgets",I).append(U),t(".left-widgets",I).append(V),t(".right-widgets",I).append(X).removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),t(".right-widgets",I).append(X).removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),t(N).appendTo(".mobile-mini-widgets-in-menu"),t(q).appendTo(".mobile-mini-widgets-in-menu"),N.removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),q.removeClass("select-type-menu list-type-menu select-type-menu-first-switch list-type-menu-first-switch"),t(".mobile-header-bar .mobile-branding").append(Z);var J=t(".dt-mobile-header");
/*!-Show Hide mobile header*/
if(J.siblings().hasClass("dt-parent-menu-clickable")&&J.addClass("dt-parent-menu-clickable"),!t(".mobile-mini-widgets-in-menu").find(".in-menu-first-switch ").length>0&&t(".mobile-mini-widgets-in-menu").addClass("first-switch-no-widgets"),!t(".mobile-mini-widgets-in-menu").find(".in-menu-second-switch ").length>0&&t(".mobile-mini-widgets-in-menu").addClass("second-switch-no-widgets"),G.removeClass("select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch"),Y.removeClass("select-type-menu list-type-menu select-type-menu-first-switch list-type-menu-first-switch"),U.removeClass("show-on-desktop select-type-menu list-type-menu select-type-menu-first-switch list-type-menu-first-switch in-top-bar-left").addClass("hide-on-desktop hide-on-first-switch"),V.removeClass("show-on-desktop select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch in-top-bar").addClass("hide-on-desktop hide-on-second-switch"),X.removeClass("show-on-desktop select-type-menu list-type-menu select-type-menu-second-switch list-type-menu-second-switch").addClass("hide-on-desktop"),t(".header-bar .mini-widgets > .mini-nav ").removeClass("select-type-menu-second-switch list-type-menu-second-switch select-type-menu-first-switch list-type-menu-first-switch"),t(".mini-nav.show-on-desktop:not(.show-on-first-switch):not(.show-on-second-switch)",I).removeClass("select-type-menu-second-switch list-type-menu-second-switch select-type-menu-first-switch list-type-menu-first-switch"),t(".masthead .hide-on-desktop").addClass("display-none"),t(".mobile-main-nav ").find("li").each((function(){var e=t(this),i=e.find(" > .dt-mega-menu-wrap > .sub-nav");if(e.hasClass("new-column")){var n=e.prev().find(" > .sub-nav");t(" > .sub-nav > *",e).appendTo(n)}i.unwrap()})).removeClass("dt-mega-menu dt-mega-parent hide-mega-title").find(" > .sub-nav").removeClass(" hover-style-bg"),J.length>0){dtGlobals.mobileMenuPoint=50;var tt=t(".dt-mobile-menu-icon"),et=!1,it=$.offset().top;if(!t(".floating-btn").length>0&&t(".floating-mobile-menu-icon").length>0)tt.first().clone(!0).insertBefore(tt).addClass("floating-btn");var nt=t(".floating-btn");i.scroll((function(){dtGlobals.mobileMenuPoint=it+$.height()+50,dtGlobals.winScrollTop>dtGlobals.mobileMenuPoint&&!1===et?(nt.parents(".masthead").addClass("show-floating-icon"),et=!0):dtGlobals.winScrollTop<=dtGlobals.mobileMenuPoint&&!0===et&&(nt.parents(".masthead").removeClass("show-floating-icon"),et=!1)}));tt=t(".dt-mobile-menu-icon");!t(".mobile-sticky-header-overlay").length>0&&s.append('');var st=t(".mobile-sticky-header-overlay");tt.on("click",(function(e){e.preventDefault();var i=t(this);i.hasClass("active")?(i.removeClass("active"),o.removeClass("show-mobile-header").addClass("closed-mobile-header"),s.removeClass("show-mobile-overlay-header").addClass("closed-overlay-mobile-header"),i.parents("body").removeClass("show-sticky-mobile-header"),st.removeClass("active")):(tt.removeClass("active"),i.addClass("active"),o.addClass("show-mobile-header").removeClass("closed-mobile-header"),s.removeClass("closed-overlay-mobile-header").addClass("show-overlay-mobile-header"),st.removeClass("active"),i.parents("body").addClass("show-sticky-mobile-header"),st.addClass("active"))})),st.on("click",(function(){t(this).hasClass("active")&&(tt.removeClass("active"),o.removeClass("show-mobile-header").addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header").addClass("closed-overlay-mobile-header").addClass("closed-overlay-mobile-header"),st.removeClass("active"),o.removeClass("show-mobile-sidebar"))})),t(".dt-close-mobile-menu-icon").on("click",(function(){o.removeClass("show-mobile-header"),o.addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header"),s.removeClass("show-overlay-mobile-header").addClass("closed-overlay-mobile-header"),st.removeClass("active"),tt.removeClass("active")})),t(".dt-mobile-header").wrapInner(""),t(".mobile-header-scrollbar-wrap").layzrInitialisation(),J.find(".slider-content").widgetScroller().css("visibility","visible"),!t(".touchevents").length>0&&(J.on("mouseenter",(function(t){J.css("overflow-y","auto")})),J.on("mouseleave",(function(t){J.css("overflow-y","hidden")})))}}t(".l-to-r-line > li:not(.menu-item-language) > a > span:last-child").not(".l-to-r-line > li > a > span.mega-icon").append(" "),t(".not-clickable-item").on("click",(function(t){t.preventDefault(),t.stopPropagation()})),(t(".active-line-decoration").length>0||t(".hover-line-decoration").length>0)&&t(".main-nav > .menu-item > a").append(" ");var ot=t(".main-nav, .mini-nav, .mini-wpml .wpml-ls-item-legacy-dropdown"),at=t(".masthead:not(.sub-downwards) .main-nav, .mini-nav, .mini-wpml .wpml-ls-item-legacy-dropdown"),rt=t(".main-nav");P=t(".side-header");t(".menu-item-language").each((function(){var e=t(this);e.children(".submenu-languages").length>0&&e.addClass("has-children")}));rt.clone(),t(".mini-nav").clone();t(".mini-nav select").change((function(){window.location.href=t(this).val()})),dtGlobals.isHovering=!1,t(".main-nav li",P).each((function(){var e=t(this);if(e.hasClass("new-column")){var i=e.prev().find(" > .sub-nav");t(" > .sub-nav > *",e).appendTo(i)}})),t(".sub-downwards .main-nav > li").each((function(){t(this).find(" > .dt-mega-menu-wrap > .sub-nav").unwrap()}));var lt,dt,ct=t(".select-type-menu, .select-type-menu-first-switch, .select-type-menu-second-switch, .mini-wpml .wpml-ls-item-legacy-dropdown"),ht="mini-sub-nav";ct.find("> ul").addClass(ht),t(".mini-wpml .wpml-ls-item-legacy-dropdown").find("> ul").addClass(ht),at.each((function(){var e=t(this);t(".act",e).parents("li").addClass("act"),t(" li.has-children ",e).each((function(){var e,n,a=t(this),r=a.find("> a");if(a.parent().hasClass("main-nav")&&!a.parents().hasClass("side-header")&&t(".masthead").hasClass("show-sub-menu-on-hover"))r=a.find("> a");else if(a.parent().hasClass("main-nav")&&a.parents().hasClass("side-header")&&t(".masthead").hasClass("show-sub-menu-on-hover"))r=a;else if((a.parent().hasClass("sub-nav")||a.parents().hasClass("mini-nav"))&&t(".masthead").hasClass("show-sub-menu-on-hover"))r=a;if((dtGlobals.isMobile||dtGlobals.isWindowsPhone)&&a.find("> a").on("click",(function(e){t(this).hasClass("dt-clicked")?e.stopPropagation():(e.preventDefault(),ot.find(".dt-clicked").removeClass("dt-clicked"),t(this).addClass("dt-clicked"))})),ot.parents().hasClass("full-width")&&a.hasClass("mega-full-width")){if(ot.parents(".header-bar").length>0)var l=ot.parents(".header-bar").innerWidth();else l=ot.parents(".ph-wrap").innerWidth();!P.length>0&&a.find(".sub-nav-widgets").css({width:l})}function d(s){if(s.parent("li").length>0)var a=s.parent(),r=s.siblings("div.dt-mega-menu-wrap, ul");else a=s,r=(d=s.find("> a")).siblings("div.dt-mega-menu-wrap, ul");var l=s.offset().left,d=s.offset().left,c=s.parents(".masthead");if(a.addClass("dt-hovered"),a.hasClass("dt-mega-menu")&&a.addClass("show-mega-menu"),dtGlobals.isHovering=!0,r.length>0&&(o.width()-(r.offset().left-o.offset().left)-r.width()<0&&r.addClass("right-overflow"),i.height()-(r.offset().top-dtGlobals.winScrollTop)-r.innerHeight()<0&&!r.parents().hasClass("sub-sideways")&&r.addClass("bottom-overflow"),i.height()-(r.offset().top-dtGlobals.winScrollTop)-r.innerHeight()<0&&!a.hasClass("dt-mega-menu")&&r.addClass("bottom-overflow")),(a.find(".dt-mega-menu-wrap").length>0&&a.find(".dt-mega-menu-wrap").offset().top+a.find(".dt-mega-menu-wrap").innerHeight())>i.height()&&r.parents().hasClass("sub-sideways")&&a.hasClass("dt-mega-menu")&&(s.find(".dt-mega-menu-wrap").height()<=i.height()?a.find(".dt-mega-menu-wrap").css({top:-(a.position().top+a.height()+s.find(".dt-mega-menu-wrap").height()-i.height())}):a.find(".dt-mega-menu-wrap").css({top:-(s.position().top-5)})),!P.length>0&&r.not(".right-overflow").css({left:d-l}),s.parents(".dt-mobile-header").length>0&&r.css({top:s.position().top-13-r.height()}),a.hasClass("mega-auto-width")){a.width();var h=c.offset().left,u=a.offset().left;if($_this_parents_ofs=a.offset().left-h,!P.length){var p=o.width();if(t(".boxed").length>0){u=a.position().left;r.innerWidth()>p-a.position().left&&r.css({left:-(r.innerWidth()-(p-u)+20)})}else{u=a.offset().left;r.innerWidth()>p-a.offset().left&&r.css({left:-(r.innerWidth()-(p-u)+20)})}r.innerWidth()>p&&(t(".boxed").length>0?r.css({width:c.width()-40,left:-(a.position().left+20)}):r.css({width:c.width()-40,left:-(u-h+20)}))}null!=typeof r.find(".slider-content")&&r.find(".slider-content").widgetScroller().css("visibility","visible"),r.layzrInitialisation()}if(a.hasClass("mega-full-width")){u=a.offset().left;if(s.parents(".header-bar").length>0)if(s.parents(".masthead").hasClass("full-width")){var f=s.parents(".header-bar").innerWidth()-40;h=s.parents(".header-bar").offset().left+20}else f=s.parents(".header-bar").innerWidth(),h=s.parents(".header-bar").offset().left;else if(s.parents(".masthead").hasClass("full-width"))f=s.parents(".ph-wrap").innerWidth()-40,h=s.parents(".ph-wrap").offset().left+20;else f=s.parents(".ph-wrap").innerWidth(),h=s.parents(".ph-wrap").offset().left;!P.length>0&&r.css({width:f,left:-(u-h)}),null!=typeof r.find(".slider-content")&&r.find(".slider-content").widgetScroller().css("visibility","visible"),r.layzrInitialisation()}clearTimeout(e),clearTimeout(n),e=setTimeout((function(){a.hasClass("dt-hovered")&&(r.stop().css("visibility","visible").animate({opacity:1},150,(function(){a.addClass("show-mega-menu-content")})),t(".searchform .submit",re).removeClass("act"),t(".mini-search").removeClass("act"),t(".mini-search.popup-search .popup-search-wrap",re).stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})))}),100)}function c(i){var s=i.find("> a").siblings("div.dt-mega-menu-wrap, ul");i.removeClass("dt-hovered"),dtGlobals.isHovering=!1,clearTimeout(e),clearTimeout(n),n=setTimeout((function(){i.hasClass("dt-hovered")||(s.stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),i.removeClass("show-mega-menu"),i.removeClass("show-mega-menu-content"),setTimeout((function(){i.hasClass("dt-hovered")||(s.removeClass("right-overflow"),s.removeClass("bottom-overflow"),i.find(".dt-mega-menu-wrap").css({top:""}),i.hasClass("mega-auto-width")&&s.css({width:"",left:""}))}),400))}),150),i.find("> a").removeClass("dt-clicked")}a.find("> a").on("focus",(function(e){"tap"==e.type&&e.stopPropagation();var i=t(this);d(i),t(" li.has-children").removeClass("parent-clicked"),i.parent().addClass("parent-clicked"),t(e.target).parents().hasClass("sub-nav")||(t(" li.has-children").removeClass("dt-hovered"),i.parent().addClass("dt-hovered")),t(".main-nav > li:not(.dt-hovered) > .sub-nav, .main-nav > li:not(.dt-hovered) > .dt-mega-menu-wrap").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),t(" .main-nav .sub-nav li:not(.parent-clicked) .sub-nav").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")}))})),a.find("> a").on("focusout",(function(i){var s=t(this),o=t("this").siblings("div.dt-mega-menu-wrap, ul");dtGlobals.isHovering=!1,clearTimeout(e),clearTimeout(n),n=setTimeout((function(){s.parent().hasClass("dt-hovered")||(o.stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),s.parent().removeClass("show-mega-menu"),s.parent().removeClass("show-mega-menu-content"),setTimeout((function(){s.parent().hasClass("dt-hovered")||(o.removeClass("right-overflow"),o.removeClass("bottom-overflow"),s.parent().find(".dt-mega-menu-wrap").css({top:""}),s.parent().hasClass("mega-auto-width")&&o.css({width:"",left:""}))}),400))}),150),s.parent().removeClass("parent-clicked")})),t(".masthead").hasClass("show-sub-menu-on-hover")?(r.on("mouseenter tap",(function(e){"tap"==e.type&&e.stopPropagation(),d(t(this))})),a.on("mouseleave",(function(e){c(t(this))}))):(s.on("click",(function(e){t(e.target).hasClass("sub-nav")&&t(e.target).hasClass("dt-mega-menu-wrap")||(t(" #primary-menu li.dt-hovered:not(.dt-mega-menu) > .sub-nav").animate({opacity:0},100,(function(){t(this).css("visibility","hidden")})),t(" #primary-menu li.dt-mega-menu > .is-clicked").siblings(" .dt-mega-menu-wrap").animate({opacity:0},100,(function(){t(this).css("visibility","hidden")})),t("#primary-menu li.has-children").removeClass("dt-hovered"),t("#primary-menu li.has-children > a").removeClass("is-clicked"))})),r.on("click",(function(e){if(!t(this).parents().hasClass("mobile-main-nav")){"tap"==e.type&&e.stopPropagation();var i=t(this),n=i.parent("li");if(!i.hasClass("is-clicked"))return d(i),t(" li.has-children > a").removeClass("is-clicked"),t(" li.has-children").removeClass("parent-clicked"),i.parent().addClass("parent-clicked"),t(e.target).parents().hasClass("sub-nav")||(t(" li.has-children").removeClass("dt-hovered"),i.parent().addClass("dt-hovered")),t(".main-nav > li:not(.dt-hovered) > .sub-nav, .main-nav > li:not(.dt-hovered) > .dt-mega-menu-wrap").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),t(".main-nav .sub-nav li:not(.parent-clicked) .sub-nav").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),i.addClass("is-clicked"),!1;c(n),i.removeClass("is-clicked"),i.parent().removeClass("parent-clicked")}})))}))})),t.fn.touchMenuItem=function(){return this.each((function(){var e=t(this);if(!e.hasClass("item-ready")){s.on("touchend",(function(e){t(".mobile-true .has-children > a").removeClass("is-clicked")}));var i=t(this),n=i.attr("target")?i.attr("target"):"_self";i.on("touchstart",(function(t){origY=t.originalEvent.touches[0].pageY,origX=t.originalEvent.touches[0].pageX})),i.on("touchend",(function(e){var s=e.originalEvent.changedTouches[0].pageX,o=e.originalEvent.changedTouches[0].pageY;if(origY==o||origX==s)if(i.hasClass("is-clicked"));else if(i.parent().hasClass("dt-hovered"))return e.preventDefault(),t(".mobile-true .has-children > a").removeClass("is-clicked"),i.addClass("is-clicked"),window.open(i.attr("href"),n),!1})),e.addClass("item-ready")}}))},t(".mobile-true .main-nav .has-children > a").touchMenuItem(),ct.on("mouseenter tap",(function(e){"tap"==e.type&&e.stopPropagation();var n=t(this);n.addClass("dt-hovered"),o.width()-(n.children(".mini-sub-nav").offset().left-o.offset().left)-n.find(" > .mini-sub-nav").width()<0&&n.children(".mini-sub-nav").addClass("right-overflow"),i.height()-(n.children(".mini-sub-nav").offset().top-dtGlobals.winScrollTop)-n.children(".mini-sub-nav").height()<0&&!n.parents(".dt-mobile-header").length>0&&n.children(".mini-sub-nav").addClass("bottom-overflow"),n.parents(".dt-mobile-header").length>0&&n.children(".mini-sub-nav").css({top:n.position().top-13-n.children(".mini-sub-nav").height()}),dtGlobals.isHovering=!0,clearTimeout(lt),clearTimeout(dt),lt=setTimeout((function(){n.hasClass("dt-hovered")&&(t(".mini-sub-nav").stop().animate({opacity:0},50,(function(){t(this).css("visibility","hidden")})),n.children(".mini-sub-nav").stop().css("visibility","visible").animate({opacity:1},150))}),100)})),ct.on("mouseleave",(function(e){var i=t(this);i.removeClass("dt-hovered"),dtGlobals.isHovering=!1,clearTimeout(lt),clearTimeout(dt),dt=setTimeout((function(){i.hasClass("dt-hovered")||(i.parents().hasClass("dt-mega-menu")||i.children(".mini-sub-nav").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),setTimeout((function(){i.hasClass("dt-hovered")||(i.children(".mini-sub-nav").removeClass("right-overflow"),i.children(".mini-sub-nav").removeClass("bottom-overflow"))}),400))}),150)})),dtGlobals.desktopProcessed=!1,dtGlobals.mobileProcessed=!1;var ut=t(".sticky-mobile-header").exists();window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")&&(t(".masthead:not(.side-header):not(#phantom)").addClass("masthead-mobile-header"),t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").addClass("masthead-mobile-header").addClass("desktop-side-header")),window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&window.innerWidth>dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",I).find(".in-top-bar-left").length>0||t(".right-widgets",I).find(".in-top-bar-right").length>0?I.removeClass("top-bar-empty"):I.addClass("top-bar-empty"):window.innerWidth<=dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",I).find(".in-top-bar").length>0?I.removeClass("top-bar-empty"):I.addClass("top-bar-empty"):!t(".mini-widgets",I).find(".show-on-desktop").length>0?I.addClass("top-bar-empty"):I.removeClass("top-bar-empty");var pt=t(".floating-navigation-below-slider").exists();if(t(".sticky-mobile-header").exists()&&!s.hasClass("responsive-off")){var ft=t(".masthead:not(.side-header):not(#phantom), body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)"),mt=ft.find(".mobile-header-bar");$stickyMobileLogo=ft.find(".mobile-branding"),mobileLogoURL=t(".mobile-branding a").attr("href"),t(".sticky-mobile-logo-first-switch").exists()||dtLocal.themeSettings.stickyMobileHeaderFirstSwitch.logo.html&&(null==mobileLogoURL?t(dtLocal.themeSettings.stickyMobileHeaderFirstSwitch.logo.html).addClass("sticky-mobile-logo-first-switch").prependTo($stickyMobileLogo):t(''+dtLocal.themeSettings.stickyMobileHeaderFirstSwitch.logo.html+" ").prependTo($stickyMobileLogo)),t(".sticky-mobile-logo-second-switch").exists()||dtLocal.themeSettings.stickyMobileHeaderSecondSwitch.logo.html&&(null==mobileLogoURL?t(dtLocal.themeSettings.stickyMobileHeaderSecondSwitch.logo.html).addClass("sticky-mobile-logo-second-switch").prependTo($stickyMobileLogo):t(''+dtLocal.themeSettings.stickyMobileHeaderSecondSwitch.logo.html+" ").prependTo($stickyMobileLogo));var gt=0,vt=0,yt=E.height(),wt=0,bt=0,Ct=!1;if(!O){t("").insertBefore(ft);var _t=t(".mobile-header-space")}t(".no-cssgridlegacy.no-cssgrid").length>0&&pt&&(O?(ft.css({top:yt}),_t.css({top:yt})):(_t.insertAfter(E),ft.insertAfter(E))),dtGlobals.resetMobileSizes=function(e){if(window.innerWidth>dtLocal.themeSettings.mobileHeader.firstSwitchPoint)return t(".is-safari").length>0&&ft.css({width:"","max-width":""}),ft.removeClass("sticky-mobile-off sticky-mobile-on"),Ct=!1,!1;vt=t("#wpadminbar").exists()&&!Modernizr.mq("only screen and (max-width:600px)")?t("#wpadminbar").height():0,window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&window.innerWidth>dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",I).find(".in-top-bar-left").length>0||t(".top-bar .right-widgets").find(".in-top-bar-right").length>0?I.removeClass("top-bar-empty"):I.addClass("top-bar-empty"):t(".left-widgets",I).find(".in-top-bar").length>0?I.removeClass("top-bar-empty"):I.addClass("top-bar-empty"),gt=!I.exists()||I.is(":hidden")||I.hasClass("top-bar-empty")||I.hasClass("hide-top-bar")?0:I.innerHeight(),window.innerWidthdtLocal.themeSettings.mobileHeader.secondSwitchPoint?(wt=dtLocal.themeSettings.mobileHeader.firstSwitchPointHeight+gt,dtLocal.themeSettings.mobileHeader.firstSwitchPointHeight):(wt=dtLocal.themeSettings.mobileHeader.secondSwitchPointHeight+gt,dtLocal.themeSettings.mobileHeader.secondSwitchPointHeight),pt?pt&&!O?bt=e:pt&&O?bt=e-wt+gt:mt.offset().top:bt=gt,ft.hasClass("sticky-mobile-on")&&ft.css({top:vt-gt}),O||(_t.css({height:wt}),_t.css({top:e})),t(".is-safari").length>0&&ft.css({width:document.documentElement.clientWidth,"max-width":document.documentElement.clientWidth})},dtGlobals.resetMobileSizes(E.height()),i.on("resize debouncedresize",(function(){dtGlobals.resetMobileSizes(E.height())})),i.on("scroll",(function(){if(window.innerWidth>dtLocal.themeSettings.mobileHeader.firstSwitchPoint)return!1;var e=dtGlobals.winScrollTop;e>bt&&!Ct&&t(document).height()>t(window).height()?(ft.removeClass("sticky-mobile-off").addClass("sticky-mobile-on"),A&&ut&&ft.addClass("fixed-mobile-header"),ft.css({top:vt-gt}),Ct=!0):e<=bt&&Ct&&(ft.removeClass("sticky-mobile-on").addClass("sticky-mobile-off"),A&&ut&&ft.removeClass("fixed-mobile-header"),ft.css({top:0}),t(".no-cssgridlegacy.no-cssgrid").length>0&&pt&&ft.css({top:yt}),Ct=!1)}))}dtGlobals.isMobile&&window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!dtGlobals.isiPad&&!s.hasClass("responsive-off")&&(dtLocal.themeSettings.floatingHeader.showMenu&&t(".phantom-sticky").exists()&&O&&k.addClass("fixed-masthead"),dtLocal.themeSettings.floatingHeader.showMenu=!1);O=s.hasClass("transparent");var xt=t(".phantom-sticky").exists();t(".side-header").exists();if(dtLocal.themeSettings.floatingHeader.showMenu&&xt){var St=t(".branding a",k).attr("href"),It=(z=k).find(".header-bar");(Ft=z.find(".branding")).find("img");Ft.find("a.same-logo").length>0||t(".sticky-logo").exists()||dtLocal.themeSettings.floatingHeader.logo.html&&dtLocal.themeSettings.floatingHeader.logo.showLogo&&(null==St?t(dtLocal.themeSettings.floatingHeader.logo.html).addClass("sticky-logo").prependTo(Ft):t(''+dtLocal.themeSettings.floatingHeader.logo.html+" ").prependTo(Ft));Q=0;var kt=0,Tt=0,zt=0,Lt=0,Et=!1,Pt="";if(!O){t("").insertAfter(z);var Ot=t(".header-space")}z.addClass("sticky-off fixed-masthead");var At=!1;function Mt(){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return!1;var t=dtGlobals.winScrollTop;if(t>Lt+1&&!Et&&!dtGlobals.isHovering){if(z.removeClass("sticky-off").addClass("sticky-on"),O||Ot.removeClass("sticky-space-off").addClass("sticky-space-on"),s.hasClass("floating-top-bar")?z.css({top:kt}):z.css({top:kt-Q}),Et=!0,pt&&O&&(z.css({transform:"translateY(0)"}),navigator.userAgent.match(/Trident.*rv\:11\./))){var e=z.attr("style");z.attr("style",e+"; top:"+Q+"px !important;")}}else if(t<=Lt+1&&Et&&(z.removeClass("sticky-on").addClass("sticky-off"),O||Ot.removeClass("sticky-space-on").addClass("sticky-space-off"),z.css({top:0}),Et=!1,pt&&O&&(z.css({transform:"translateY(-100%)"}),navigator.userAgent.match(/Trident.*rv\:11\./)))){e=z.attr("style");z.not(".sticky-on").attr("style",e+"; top:"+E.height()+"px !important;")}t>Lt+1&&t<=Lt+1+zt-dtLocal.themeSettings.floatingHeader.height?(Pt="changing",It.css({transition:"none",height:Lt+zt-t})):t>Lt+1+dtLocal.themeSettings.floatingHeader.height&&"end"!==Pt?(Pt="end",It.css({height:dtLocal.themeSettings.floatingHeader.height,transition:"all 0.3s ease"})):t<=Lt+1&&"start"!==Pt&&(Pt="start",It.css({height:zt,transition:"all 0.1s ease"}))}dtGlobals.resetSizes=function(e){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return At||(At=!0,z.removeClass("sticky-off sticky-on"),O||Ot.removeClass("sticky-space-off sticky-space-on"),z.css({top:"",transform:""}),Et=!1,Pt="",t(".is-safari").length>0&&z.css({width:"","max-width":""})),!1;At&&(At=!1),Et||""!==Pt||(z.addClass("sticky-off"),O||Ot.addClass("sticky-space-off")),kt=t("#wpadminbar").exists()?t("#wpadminbar").height():0,Q=!I.exists()||I.is(":hidden")||I.hasClass("top-bar-empty")||I.hasClass("hide-top-bar")?0:I.innerHeight(),Tt=dtLocal.themeSettings.desktopHeader.height+Q,zt=dtLocal.themeSettings.desktopHeader.height,pt?pt&&!O?Lt=s.hasClass("floating-top-bar")?e-Q:e:pt&&O?Lt=s.hasClass("floating-top-bar")?e-zt-Q:e-zt:It.offset().top:Lt=s.hasClass("floating-top-bar")?0:Q,O||Ot.css({height:Tt}),t(".is-safari").length>0&&(o.hasClass("boxed")?z.css({width:o.width(),"max-width":o.width()}):z.css({width:document.documentElement.clientWidth,"max-width":document.documentElement.clientWidth}))},dtGlobals.resetSizes(E.height()),i.on(" debouncedresize",(function(){dtGlobals.resetSizes(E.height())})),Mt(),i.on("scroll",(function(){Mt()}))}if(L.exists()){var Dt=0,Ht=(kt=0,Q=0,!1);L.addClass("sticky-top-line-off"),t(".top-line-space").exists()||O||t("
").insertBefore(L);var Ft;St=t(".branding a",L).attr("href"),(Ft=L.find(".branding")).find("img");Ft.find("a.same-logo").length>0||t(".sticky-logo").exists()||dtLocal.themeSettings.topLine.floatingTopLine.logo.html&&dtLocal.themeSettings.topLine.floatingTopLine.logo.showLogo&&(null==St?t(dtLocal.themeSettings.topLine.floatingTopLine.logo.html).addClass("sticky-logo").prependTo(Ft):t(''+dtLocal.themeSettings.topLine.floatingTopLine.logo.html+" ").prependTo(Ft));At=!1;dtGlobals.resetTopLineSizes=function(e){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return At||(At=!0,L.removeClass("sticky-top-line-on"),L.css({top:""}),Ht=!1),!1;At&&(At=!1),kt=t("#wpadminbar").exists()?t("#wpadminbar").height():0,Q=!I.exists()||I.is(":hidden")||I.hasClass("top-bar-empty")||I.hasClass("hide-top-bar")?0:I.innerHeight(),Dt=L.find(".header-bar").height()+Q,t(".top-line-space").css({height:Dt}),t(".is-safari").length>0&&(o.hasClass("boxed")?L.css({width:o.width(),"max-width":o.width()}):L.css({width:document.documentElement.clientWidth,"max-width":document.documentElement.clientWidth}))},dtGlobals.resetTopLineSizes(E.height()),i.on("resize debouncedresize",(function(){dtGlobals.resetTopLineSizes(E.height())})),i.on("scroll",(function(){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return!1;var t=dtGlobals.winScrollTop>L.height();t&&!Ht?(L.removeClass("sticky-top-line-off").addClass("sticky-top-line-on"),L.hasClass("mixed-floating-top-bar")?L.css({top:kt}):L.css({top:kt-Q}),Ht=!0):!t&&Ht&&(L.removeClass("sticky-top-line-on").addClass("sticky-top-line-off"),L.css({top:kt}),Ht=!1)}))}if(dtLocal.themeSettings.floatingHeader.showMenu&&dtLocal.themeSettings.floatingHeader.showMenu&&!xt){var Bt=t(".phantom-fade").exists(),Wt=t(".phantom-slide").exists(),Rt=t(".split-header").exists();if(Bt||Wt){var $t=t(".masthead:not(#phantom) .main-nav").clone(!0).removeAttr("id"),jt=(St=t(".branding a",k).attr("href"),s.hasClass("floating-top-bar")?t(".masthead:not(#phantom) .top-bar").clone(!0):""),Gt=!1;if(Rt){var Yt=k.attr("class"),Nt=t(".side-header-h-stroke, .split-header"),qt=(De=t('').appendTo("body")).find(".ph-wrap"),Ut=De.find(".widget-box"),Vt=$t.find(".mini-widgets"),Xt=Nt.find(".branding");t(".phantom-custom-logo-on").length>0&&dtLocal.themeSettings.floatingHeader.logo.html&&dtLocal.themeSettings.floatingHeader.logo.showLogo&&(null==St?t(dtLocal.themeSettings.floatingHeader.logo.html).prependTo(Xt):t(''+dtLocal.themeSettings.floatingHeader.logo.html+" ").prependTo(Xt)),($t=t(".split-header .header-bar").clone(!0)).appendTo(qt).find(".main-nav").removeAttr("id"),s.hasClass("floating-top-bar")&&jt.insertBefore(qt)}else{Yt=k.attr("class"),qt=(De=t('').appendTo("body")).find(".menu-box"),Ut=De.find(".widget-box");if(t(".classic-header").length>0)Vt=t(".header-bar .navigation .mini-widgets").clone(!0);else if(Rt);else Vt=t(".header-bar .mini-widgets").clone(!0);$t.appendTo(qt),Vt.appendTo(Ut),s.hasClass("floating-top-bar")&&jt.prependTo(De),dtLocal.themeSettings.floatingHeader.logo.html&&dtLocal.themeSettings.floatingHeader.logo.showLogo&&(De.find(".ph-wrap").addClass("with-logo"),null==St?De.find(".logo-box").html(''+dtLocal.themeSettings.floatingHeader.logo.html+" "):De.find(".logo-box").html(''+dtLocal.themeSettings.floatingHeader.logo.html+" "))}var Zt,Qt=t("#phantom");o.hasClass("boxed")&&De.addClass("boxed").find(".ph-wrap").addClass("boxed"),Qt.removeClass("show-phantom").addClass("hide-phantom").css("visibility","hidden"),dtGlobals.addOnloadEvent((function(){clearTimeout(Zt),Zt=setTimeout((function(){Qt.css("visibility","")}),150)})),qt.find(".is-loading").removeClass("is-loading"),qt.layzrInitialisation();var Kt=!1,Jt=dtGlobals.winScrollTop;yt=E.height(),k.height();if(pt&&O);else if(pt);else dtLocal.themeSettings.floatingHeader.showAfter;i.on("scroll",(function(){if(window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off"))return!1;var t=dtGlobals.winScrollTop,e=E.height(),i=k.height();if(pt&&O)var o=t>e&&!1===Gt,a=t<=e&&!0===Gt;else if(pt)o=t>e+i&&!1===Gt,a=t<=e+i&&!0===Gt;else o=t>dtLocal.themeSettings.floatingHeader.showAfter&&!1===Gt,a=t<=dtLocal.themeSettings.floatingHeader.showAfter&&!0===Gt;o?n.hasClass("menu-open")||dtGlobals.isHovering||Kt||(Kt=!0,Qt.removeClass("hide-phantom").addClass("show-phantom"),Gt=!0):a&&Kt&&(n.hasClass("menu-open")||(Kt=!1,Qt.removeClass("show-phantom").addClass("hide-phantom"),Gt=!1))}))}}var te=t(".side-header:not(.sub-sideways ) .main-nav li.has-children > a:not(.not-clickable-item), .side-header:not(.sub-sideways ) .level-arrows-on > li.has-children > a, .mobile-main-nav li.has-children > a");t(' ').insertAfter(te),t(".sub-downwards .main-nav li.has-children, .mobile-main-nav li.has-children").each((function(){var e=t(this),i=e.find(" > .sub-nav, .sub-menu");e.find(".sub-nav li, .sub-menu li").hasClass("act")&&e.addClass("active"),e.find(".sub-nav li.act, .sub-menu li.act").hasClass("act")&&(e.addClass("open-sub"),i.stop(!0,!0).slideDown(100),i.layzrInitialisation()),e.find(" > .next-level-button").on("click",(function(e){var n=t(this).parent();n.hasClass("active")?(i.stop(!0,!0).slideUp(500,(function(){t(" .main-nav").layzrInitialisation()})),n.removeClass("active"),n.removeClass("open-sub"),n.find("a").removeClass("act")):(n.siblings().find(" .sub-nav, .dt-mega-menu-wrap, .sub-menu").stop(!0,!0).slideUp(400),i.stop(!0,!0).slideDown(500),n.siblings().removeClass("active"),n.addClass("active"),n.siblings().removeClass("open-sub"),n.addClass("open-sub"),n.siblings().find("> a").removeClass("act"),n.find("a").addClass("act"),t(" .main-nav").layzrInitialisation())}))})),!t(".dt-parent-menu-clickable").length>0&&t(".sub-downwards .main-nav li > a, .mobile-main-nav li.has-children > a").each((function(){var e=t(this);e.parent("li").find(".sub-nav li, .sub-menu li").hasClass("act")&&e.addClass("act"),e.parent("li").find(".sub-nav li.act, .sub-menu li.act").hasClass("act")&&(e.parent("li").addClass("open-sub"),e.siblings(".sub-nav, .sub-menu").stop(!0,!0).slideDown(100,(function(){e.siblings(".sub-nav, .sub-menu").layzrInitialisation()}))),e.on("click",(function(i){$menuItem=e.parent(),$menuItem.hasClass("has-children menu-item-language")&&i.preventDefault(),e.hasClass("act")?(e.siblings(".sub-nav, .sub-menu").stop(!0,!0).slideUp(500),e.removeClass("act"),e.parent("li").removeClass("open-sub")):(e.parent().siblings().find(".sub-nav, .dt-mega-menu-wrap, .sub-menu").stop(!0,!0).slideUp(400),e.siblings(".sub-nav, .sub-menu").stop(!0,!0).slideDown(500),e.parent().siblings().find("> a").removeClass("act"),e.addClass("act"),e.parent("li").siblings().removeClass("open-sub active"),e.parent("li").addClass("open-sub active")),"function"==typeof t.fn.mCustomScrollbar&&t(".header-bar").mCustomScrollbar("update")}))})),t(".custom-nav > li > a").click((function(e){var i=t(this).parent(),n=t(this);i.hasClass("has-children")&&e.preventDefault(),n.hasClass("active")?(n.next().stop(!0).slideUp(500),n.removeClass("active")):(t(".custom-nav > li > ul").stop(!0).slideUp(400),n.next().stop(!0).slideDown(500),t(".custom-nav > li > a").removeClass("active"),n.addClass("active")),i.siblings().removeClass("act"),i.addClass("act")})),t(".custom-nav > li > ul").each((function(){clearTimeout(undefined),$this=t(this),$thisChildren=$this.find("li"),$thisChildren.hasClass("act")&&($this.prev().addClass("active"),$this.parent().siblings().removeClass("act"),$this.parent().addClass("act"),$this.slideDown(500))})),t.HoverDir=function(e,i){this.$el=t(i),this._init(e)},t.HoverDir.defaults={speed:300,easing:"ease",hoverDelay:0,inverse:!1},t.HoverDir.prototype={_init:function(e){this.options=t.extend(!0,{},t.HoverDir.defaults,e),this.transitionProp="all "+this.options.speed+"ms "+this.options.easing,this.support=Modernizr.csstransitions,this._loadEvents()},_loadEvents:function(){var e=this;this.$el.on("mouseenter.hoverdir, mouseleave.hoverdir",(function(i){var n=t(this),s=n.find(".rollover-content, .gallery-rollover, .post-entry-content"),o=e._getDir(n,{x:i.pageX,y:i.pageY}),a=e._getStyle(o);"mouseenter"===i.type?(s.hide().css(a.from),clearTimeout(e.tmhover),e.tmhover=setTimeout((function(){s.show(0,(function(){var i=t(this);e.support&&i.css("transition",e.transitionProp),e._applyAnimation(i,a.to,e.options.speed)}))}),e.options.hoverDelay)):(e.support&&s.css("transition",e.transitionProp),clearTimeout(e.tmhover),e._applyAnimation(s,a.from,e.options.speed))}))},_getDir:function(t,e){var i=t.width(),n=t.height(),s=(e.x-t.offset().left-i/2)*(i>n?n/i:1),o=(e.y-t.offset().top-n/2)*(n>i?i/n:1);return Math.round((Math.atan2(o,s)*(180/Math.PI)+180)/90+3)%4},_getStyle:function(t){var e,i,n={left:"0px",top:"-100%"},s={left:"0px",top:"100%"},o={left:"-100%",top:"0px"},a={left:"100%",top:"0px"},r={top:"0px"},l={left:"0px"};switch(t){case 0:e=this.options.inverse?s:n,i=r;break;case 1:e=this.options.inverse?o:a,i=l;break;case 2:e=this.options.inverse?n:s,i=r;break;case 3:e=this.options.inverse?a:o,i=l}return{from:e,to:i}},_applyAnimation:function(e,i,n){t.fn.applyStyle=this.support?t.fn.css:t.fn.animate,e.stop().applyStyle(i,t.extend(!0,[],{duration:n+"ms"}))}};var ee=function(t){window.console&&window.console.error(t)};t.fn.hoverdir=function(e){var i=t.data(this,"hoverdir");if("string"==typeof e){var n=Array.prototype.slice.call(arguments,1);this.each((function(){i?the7Utils.isFunction(i[e])&&"_"!==e.charAt(0)?i[e].apply(i,n):ee("no such method '"+e+"' for hoverdir instance"):ee("cannot call methods on hoverdir prior to initialization; attempted to call method '"+e+"'")}))}else this.each((function(){i?i._init():i=t.data(this,"hoverdir",new t.HoverDir(e,this))}));return i},t.fn.addRollover=function(){return this.each((function(){var e=t(this);e.hasClass("this-ready")||(e.append(" "),e.find(".rollover-thumbnails").length&&e.addClass("rollover-thumbnails-on"),e.parent().find(".links-container").length&&e.addClass("rollover-buttons-on"),e.addClass("this-ready"))}))},
/*!-Scale in hover*/
t.fn.scaleInHover=function(){return this.each((function(){var e=t(this);if(!e.hasClass("scale-ready")){var i=e.find("img.preload-me"),n=parseInt(i.attr("width"))/parseInt(i.attr("height"));n<2&&n>=1.5?e.addClass("ratio_3-2"):n<1.5&&n>=1?e.addClass("ratio_4-3"):n<1&&n>=.75?e.addClass("ratio_3-4"):n<.75&&n>=.6?e.addClass("ratio_2-3"):e.removeClass("ratio_2-3").removeClass("ratio_3-2").removeClass("ratio-2").removeClass("ratio_4-3").removeClass("ratio_3-4"),n>=2&&e.addClass("ratio-2"),.5==n&&e.addClass("ratio_0-5"),1==n&&e.removeClass("ratio_2-3").removeClass("ratio-2").removeClass("ratio_3-2").removeClass("ratio_4-3").removeClass("ratio_3-4"),e.addClass("scale-ready")}}))},t.fn.touchNewHover=function(){return this.each((function(){var e=t(this);e.hasClass("this-ready")||(t(".rollover-content",this).length>0&&(s.on("touchend",(function(e){t(".mobile-true .rollover-content, .mobile-true .rollover-project, .mobile-true .woocom-project").removeClass("is-clicked")})),e.on("touchstart",(function(t){origY=t.originalEvent.touches[0].pageY,origX=t.originalEvent.touches[0].pageX})),e.on("touchend",(function(i){var n=i.originalEvent.changedTouches[0].pageX,s=i.originalEvent.changedTouches[0].pageY;if(origY==s||origX==n){if(!e.hasClass("is-clicked"))return t(".links-container > a",e).on("touchend",(function(t){t.stopPropagation(),e.addClass("is-clicked")})),i.preventDefault(),t(".mobile-true .rollover-content, .mobile-true .rollover-project,.mobile-true .woocom-project").removeClass("is-clicked"),e.addClass("is-clicked"),e.find(".rollover-content").addClass("is-clicked"),!1;if(e.find(".dt-gallery-container").length>0&&e.find(".rollover-content").on("click.dtAlbums",(function(i){e.find(".rollover-content").off("click.dtAlbums"),t(this).find("a.dt-gallery-pspw, .dt-trigger-first-pspw, .dt-pswp-item").first().trigger("click")})),t(this).find(".rollover-click-target.go-to").length>0)window.location.href=t(this).find(".rollover-click-target.go-to").attr("href");else if(t(this).hasClass("woocom-project")){if(t(i.target).is(".add_to_cart_button"))return!0;window.location.href=t(this).find(" > a").attr("href")}}}))),e.addClass("this-ready"))}))},
/*!Trigger post click for blog Overlay (background)/Overlay (gradient) layouts */
t.fn.triggerPostClick=function(){return this.each((function(){var e=t(this);if(!e.hasClass("blog-post-ready")){var i=e.siblings().find(".post-thumbnail-rollover").first(),n=e.find(".entry-meta a, .fancy-date a, .fancy-categories a");if(i.length>0){i.on("click",(function(t){t.preventDefault(),t.stopPropagation(),i.parents(".ts-wrap").hasClass("ts-interceptClicks")}));var s=!1;e.on("click",(function(t){if(!e.parents(".ts-wrap").hasClass("ts-interceptClicks"))return s||(s=!0,window.location.href=i.attr("href"),s=!1),!1})),e.find(n).click((function(t){t.stopPropagation(),window.location.href=n.attr("href")}))}e.addClass("blog-post-ready")}}))},t.fn.touchTriggerPostClick=function(){return this.each((function(){var e=t(this);if(!e.hasClass("touch-post-ready")){var i=e.find(".post-thumbnail-rollover").first();e.find(".entry-meta a, .fancy-date a, .fancy-categories a"),e.find(".entry-excerpt").height(),e.find(".post-details").height();s.on("touchend",(function(e){t(".mobile-true .post").removeClass("is-clicked")})),e.on("touchstart",(function(t){origY=t.originalEvent.touches[0].pageY,origX=t.originalEvent.touches[0].pageX})),e.on("touchend",(function(n){var s=n.originalEvent.changedTouches[0].pageX,o=n.originalEvent.changedTouches[0].pageY;if(origY==o||origX==s)if(e.parents().hasClass("disable-layout-hover"))"a"===n.target.tagName.toLowerCase()?t(n.target).trigger("click"):window.location.href=i.attr("href");else{if(!e.hasClass("is-clicked"))return n.preventDefault(),"a"===n.target.tagName.toLowerCase()&&t(n.target).trigger("click"),t(".mobile-ture .post").removeClass("is-clicked"),e.addClass("is-clicked"),e.parent().siblings().find(".post").removeClass("is-clicked"),!1;window.location.href=i.attr("href")}})),e.addClass("touch-post-ready")}}))},t.fn.triggerPostClickOnBefore=function(){return this.each((function(){var e=t(this),i=e.parents(".post");if(!e.hasClass("post-before-ready")){var n=i.find(".post-thumbnail-rollover").first(),s=i.find(".entry-meta a, .fancy-date a, .fancy-categories a");if(n.length>0){n.on("click",(function(t){n.parents(".ts-wrap").hasClass("ts-interceptClicks")}));var o=!1;e.on("mouseenter mousemove",(function(t){var n=e.offset().top,s=t.pageY;n-10<=s&&n+125>=s?i.hasClass("on-hover")||i.addClass("on-hover"):i.removeClass("on-hover")})),e.on("mouseleave",(function(t){e.offset().top,t.pageY;i.removeClass("on-hover")})),e.on("click",(function(){if(i.hasClass("on-hover"))return o||(o=!0,window.location.href=n.attr("href"),o=!1),!1})),e.find(s).click((function(t){i.hasClass("on-hover")&&(t.stopPropagation(),window.location.href=s.attr("href"))}))}e.addClass("post-before-ready")}}))},
/*!Trigger click (direct to post) */
t.fn.forwardToPost=function(){return this.each((function(){var e=t(this);e.hasClass("this-ready")||(e.on("click tap",(function(){var e=t(this),i=e.find("a").first(),n=i.attr("href");if(!e.parents(".ts-wrap").hasClass("ts-interceptClicks"))return"_blank"===i.attr("target")?(window.open(n,"_blank"),!1):(window.location.href=n,!1)})),e.addClass("this-ready"))}))},window.the7AddHovers=function(e){t(".rollover, .rollover-video, .post-rollover, .rollover-project .show-content, .vc-item .vc-inner > a",e).addRollover(),t(".filter-grayscale .slider-masonry",e).on("mouseenter tap",(function(e){"tap"==e.type&&e.stopPropagation(),t(this).addClass("dt-hovered")})),t(".filter-grayscale .slider-masonry",e).on("mouseleave",(function(e){t(this).removeClass("dt-hovered")})),t(".hover-scale .rollover-project, .hover-scale .post",e).scaleInHover()},window.the7AddMobileHovers=function(e){
/*!Description on hover show content on click(albums projects touch device)*/
t(".rollover-project, .woocom-project",e).touchNewHover(),t(".content-rollover-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post, .gradient-overlay-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post",e).touchTriggerPostClick()},window.the7AddDesktopHovers=function(e){
/*!-Hover Direction aware init*/
t(".hover-grid.gallery-shortcode figure, .hover-grid .rollover-project, .hover-grid.portfolio-shortcode .post",e).each((function(){t(this).hoverdir()})),t(".hover-grid-reverse.gallery-shortcode figure, .hover-grid-reverse .rollover-project, .hover-grid-reverse.portfolio-shortcode .post",e).each((function(){t(this).hoverdir({inverse:!0})})),t(".albums .rollover-content a:not(.portfolio-categories a), .media .rollover-content, .dt-gallery-container .rollover-content",e).on("click",(function(e){if(t(e.target).is("a"))return!0;t(this).siblings("a.dt-pswp-item").first().click()})),t(".content-rollover-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post, .gradient-overlay-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post",e).triggerPostClick(),t(".gradient-overlap-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post-entry-content",e).triggerPostClickOnBefore(),t(".the7-elementor-widget .forward-post",e).forwardToPost()},the7AddMobileHovers(t("html.mobile-true")),the7AddDesktopHovers(t("html.mobile-false")),the7AddHovers(document);var ie=t("#commentform");function ne(){t(".full-width-wrap").length>0&&t(".full-width-wrap").each((function(){var e,n,o=t(this),a=window.innerWidth,r=i.width(),l=t(".content").width();if(t(".boxed").length>0)e=(parseInt(t("#main").width())-parseInt(l))/2;else if(t(".side-header-v-stroke").length&&a>dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")||t(".side-header-v-stroke").length&&s.hasClass("responsive-off")){var d=a<=parseInt(l)?parseInt(l):r-t(".side-header-v-stroke").width();e=Math.ceil((d-parseInt(l))/2)}else if(t(".sticky-header .side-header").length&&a>dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")||t(".sticky-header .side-header").length&&s.hasClass("responsive-off")){d=r<=parseInt(l)?parseInt(l):r;e=Math.ceil((r-parseInt(l))/2)}else if((t(".header-side-left").length&&a||t(".header-side-right").length&&a)>dtLocal.themeSettings.mobileHeader.firstSwitchPoint){d=a<=parseInt(l)?parseInt(l):r-t(".side-header").width();e=Math.ceil((d-parseInt(l))/2)}else{d=r<=parseInt(l)?parseInt(l):r;e=Math.ceil((r-parseInt(l))/2)}t(".sidebar-left").length>0||t(".sidebar-right").length>0?(n=t(".content").width(),e=0):n=t("#main").innerWidth();var c=s.hasClass("rtl")?"margin-right":"margin-left";o.css({width:n,opacity:1}),o.css(c,-e),o.find(".full-width-wrap").css({width:"",opacity:1,"padding-left":e}),o.find(".full-width-wrap").css(c,""),o.find(".ts-wrap").each((function(){var e=t(this).data("thePhotoSlider");void 0!==e&&e.update()}))}))}ie.on("click","a.clear-form",(function(t){return t.preventDefault(),ie.find('input[type="text"], textarea').val(""),!1})),ie.on("click"," a.dt-btn.dt-btn-m",(function(t){return t.preventDefault(),ie.find("#submit").trigger("click"),!1})),t(".full-width-wrap").length>0&&(dtGlobals.isiOS?i.bind("orientationchange",(function(){ne()})).trigger("orientationchange"):(i.on("resize",(function(){ne()})),ne())),i.trigger("dt.removeLoading");var se=t("#main-slideshow");!se.find("> div").length>0&&se.addClass("empty-slider"),
/*!-Revolution slider*/
se.is(":parent")||se.siblings(".masthead").addClass("no-slider"),t(".rev_slider_wrapper").length>0&&(se.find("> .rev_slider_wrapper")&&se.addClass("fix rv-slider"),(t(".rev_slider_wrapper").hasClass("fullscreen-container")||t(".rev_slider_wrapper").hasClass("fullwidthbanner-container"))&&se.removeClass("fix"));
/*!-Search*/
var oe,ae,re=t(".masthead, .dt-mobile-header"),le=t(".popup-search",re);if(le.length>0&&(s.on("click",(function(e){t(e.target).is(".field",le)||(t(".searchform .submit",re).removeClass("act"),le.removeClass("act"),t(".popup-search-wrap",le).stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),setTimeout((function(){t(".popup-search-wrap",le).removeClass("right-overflow bottom-overflow left-overflow").css({right:"",left:"","max-width":""})}),400))})),t(".searchform .submit",re).on("click",(function(e){e.preventDefault(),e.stopPropagation();var n=t(this);n.hasClass("act")?(n.removeClass("act"),n.parents(".mini-search").removeClass("act"),n.siblings(".popup-search-wrap").stop().animate({opacity:0},150,(function(){t(this).css("visibility","hidden")})),setTimeout((function(){n.siblings(".popup-search-wrap").removeClass("right-overflow bottom-overflow left-overflow").css({right:"",left:"","max-width":""})}),400)):(n.addClass("act"),n.parents(".mini-search").addClass("act"),n.parents(".dt-mobile-header").length>0&&n.siblings(".popup-search-wrap").css({top:n.parents(".mini-search").position().top-n.siblings(".popup-search-wrap").innerHeight()}),n.parents(".searchform").offset().left-n.siblings(".popup-search-wrap").innerWidth()<0&&n.siblings(".popup-search-wrap").addClass("left-overflow"),o.width()-(n.parents(".searchform").offset().left-o.offset().left)-n.siblings(".popup-search-wrap").innerWidth()<0&&(n.siblings(".popup-search-wrap").addClass("right-overflow"),n.siblings(".popup-search-wrap").removeClass("left-overflow")),o.width()-(n.parents(".searchform").offset().left-o.offset().left)-n.siblings(".popup-search-wrap").innerWidth()<0&&n.parents(".searchform").offset().left-n.siblings(".popup-search-wrap").innerWidth()<0&&n.siblings(".popup-search-wrap").css({"max-width":n.parents(".searchform").offset().left}),i.height()-(n.siblings(".popup-search-wrap").offset().top-dtGlobals.winScrollTop)-n.siblings(".popup-search-wrap").innerHeight()<0&&n.siblings(".popup-search-wrap").addClass("bottom-overflow"),n.siblings(".popup-search-wrap").stop().css("visibility","visible").animate({opacity:1},150),n.siblings(".popup-search-wrap").find("input.searchform-s").focus())}))),t(".overlay-search").length>0){var de=t(".overlay-search .searchform").first().clone();t("body").append("
");var ce=t(".overlay-search-microwidget");ce.append(de),t(".overlay-search").hasClass("default-icon")&&ce.addClass("default-icon"),t(".mini-search .submit").on("click",(function(e){e.preventDefault(),ce.addClass("open"),t("#page").addClass("overlay-open"),ce.find("input.searchform-s").focus()})),t(".overlay-close",ce).on("click",(function(){t("#page").removeClass("overlay-open"),t(this).parent(ce).removeClass("open")}))}
/*!-Before After*/
/*!-Isotope fix for tabs*/
(t(".twentytwenty-container .preload-me").loaded(null,(function(){t(".twentytwenty-container").each((function(){var e=t(this),i=e.attr("data-orientation").length>0?e.attr("data-orientation"):"horizontal",n=void 0!==e.attr("data-offset")&&e.attr("data-offset").length>0?e.attr("data-offset"):.5,s=!!e.attr("data-navigation");e.twentytwenty({default_offset_pct:n,orientation:i,navigation_follow:s})}))}),!0),t(".wpb_tabs .iso-container").length>0)&&t(".wpb_tour_tabs_wrapper").each((function(){var e=t(this),n=e.parents(".wpb_tabs").find(".iso-container");e.tabs({activate:function(t,e){n.isotope("layout")}}),e.find("li").each((function(){t(this).on("click",(function(){clearTimeout(undefined),i.trigger("debouncedresize"),t(this).parents(".wpb_tabs").find(".iso-container").isotope("layout")}))}))}));t.fn.calcPics=function(){return!(t(".instagram-photos").length<1)&&this.each((function(){var e=e||parseInt(t(this).attr("data-image-max-width"));parseInt(t(this).find("> a").css("margin-left"));t(this).find(" > a").css({"max-width":e,opacity:1});var i=t(this),n=i.width(),s=100/Math.ceil(n/e);i.find("a").css({width:s+"%"})}))},t(".instagram-photos").calcPics(),t(".st-accordion").each((function(){var e=t(this);e.find("ul > li > a").on("click",(function(i){i.preventDefault();var n=t(this).next();t(".st-content",e).not(n).slideUp("fast"),n.slideToggle("fast")}))})),simple_tooltip(".shortcode-tooltip","shortcode-tooltip-content"),
/*!-search widget*/
t(".widget .searchform .submit, .search-icon, form.searchform:not(.mini-widget-searchform) .submit").on("click",(function(e){return e.preventDefault(),t(this).closest("form").find("input.searchsubmit").click(),!1})),t.fn.animateSkills=function(){t(".skill-value",this).each((function(){var e=t(this),i=e.data("width");e.css({width:i+"%"})}))},dtGlobals.isMobile&&t(".skills").animateSkills(),
/*!-Show share buttons*/
t(".project-share-overlay.allways-visible-icons .share-button").on("click",(function(t){t.preventDefault()})),dtGlobals.addOnloadEvent((function(){t(".album-share-overlay, .project-share-overlay:not(.allways-visible-icons)").each((function(){var e=t(this);e.find(".share-button").on("click",(function(t){t.preventDefault()})),e.on("mouseover tap",(function(e){"tap"==e.type&&e.stopPropagation();var i=t(this);i.addClass("dt-hovered"),clearTimeout(oe),clearTimeout(ae),oe=setTimeout((function(){i.hasClass("dt-hovered")&&(i.find(".soc-ico a").css("display","inline-flex"),i.find(".soc-ico").stop().css("visibility","visible").animate({opacity:1},200))}),100)})),e.on("mouseleave ",(function(e){var i=t(this);i.removeClass("dt-hovered"),clearTimeout(oe),clearTimeout(ae),ae=setTimeout((function(){i.hasClass("dt-hovered")||i.find(".soc-ico").stop().animate({opacity:0},150,(function(){i.find(".soc-ico a").css("display","none"),t(this).css("visibility","hidden")}))}),50)}))}))}));var he=t(".transparent #fancy-header").exists(),ue=t(".transparent .page-title").exists();t(".transparent .checkout-page-title").exists();t.fancyFeaderCalc=function(){t(".branding .preload-me").loaded(null,(function(){he&&t(".transparent #fancy-header").css({"padding-top":t(".masthead:not(.side-header)").height()}),ue&&(t(".transparent .page-title").css({"padding-top":t(".masthead:not(.side-header)").height()}),t(".transparent .page-title").css("visibility","visible"))}),!0)};
/*!-Paginator*/
var pe=t('.paginator[role="navigation"]'),fe=pe.find("a.dots");fe.on("click",(function(){pe.find("div:hidden").show().find("a").unwrap(),fe.remove()})),t(".share-buttons a.pinit-marklet").click((function(e){e.preventDefault(),t("#pinmarklet").remove();var i=document.createElement("script");i.setAttribute("type","text/javascript"),i.setAttribute("charset","UTF-8"),i.setAttribute("id","pinmarklet"),i.setAttribute("async","async"),i.setAttribute("defer","defer"),i.setAttribute("src","//assets.pinterest.com/js/pinmarklet.js?r="+99999999*Math.random()),document.body.appendChild(i)})),
/*!-Scroll to Top*/
i.on("debouncedresize",(function(){window.innerWidth>dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")||s.hasClass("responsive-off")?t(".masthead:not(.side-header):not(.mixed-header)").length>0?dtGlobals.showTopBtn=t(".masthead:not(.side-header):not(.mixed-header)").height()+150:t(".masthead.side-header-h-stroke").length>0?dtGlobals.showTopBtn=t(".side-header-h-stroke").height()+150:dtGlobals.showTopBtn=500:dtGlobals.showTopBtn=500})),i.scroll((function(){dtGlobals.winScrollTop>dtGlobals.showTopBtn?t(".scroll-top").removeClass("off").addClass("on"):t(".scroll-top").removeClass("on").addClass("off")})),t(".scroll-top").click((function(t){return t.preventDefault(),$e("up"),!1}));var me=t(".woocommerce-NoticeGroup-updateOrderReview, .woocommerce-NoticeGroup-checkout");!me.length&&t("form.checkout").exists()&&(me=t("form.checkout").parents(".content").offset().top),t(document.body).on("checkout_error",(function(){t("html, body").animate({scrollTop:me-De.height()},"slow")})),
/*!-Custom select*/
t(' ').prependTo("#bottom-bar .mini-nav .menu-select"),t(" ",{selected:"selected",value:"",text:"———"}).appendTo(".mini-nav .menu-select select"),t("#bottom-bar .mini-nav").each((function(){var e=t(this),i=e.find("select");t("a",e).each((function(){var e=t(this);t(" ",{value:e.attr("href"),text:e.text(),"data-level":e.attr("data-level")}).appendTo(i)}))})),t(".mini-nav select").change((function(){window.location=t(this).find("option:selected").val()})),t(".mini-nav select option").each((function(){var e=t(this),i=window.location.href;e.attr("value")==i&&e.attr("selected","selected")}))
/*!-Appearance for custom select*/,t(" #bottom-bar .mini-nav select").each((function(){t(this).customSelect()})),t(".menu-select select, .mini-nav .customSelect1, .vc_pie_chart .vc_pie_wrapper").css("visibility","visible"),t(".mini-nav option").each((function(){var e=t(this),i=e.text(),n="";switch(parseInt(e.attr("data-level"))){case 1:n="";break;case 2:n="— ";break;case 3:n="—— ";break;case 4:n="——— ";break;case 5:n="———— "}e.text(n+i)}));
/*!-Material click for menu and buttons*/
var ge=navigator.userAgent.match(/iPhone/i)?"touchstart":"click";if(t(".project-navigation a, .mobile-sticky-header-overlay").bind(ge,(function(t){})),t((function(){t.fn.clickMaterialEffect=function(){return this.each((function(){var e,i,n,s,o=t(this);0===o.find(".ink").length&&o.prepend(" "),o.addClass("ripplelink"),(e=o.find(".ink")).removeClass("animate"),e.height()||e.width()||(i=Math.max(t(this).outerWidth(),o.outerHeight()),e.css({height:i,width:i})),o.bind("mousedown",(function(t){clearTimeout(null),n=t.pageX-o.offset().left-e.width()/2,s=t.pageY-o.offset().top-e.height()/2,e.css({top:s+"px",left:n+"px"}).addClass("animate")})),o.bind("mouseup mouseleave",(function(t){clearTimeout(null),clearTimeout(null),o._timer=setTimeout((function(){e.removeClass("animate")}),400)}))}))},t(".rollover.material-click-effect, .post-rollover.material-click-effect, .rollover-video.material-click-effect").clickMaterialEffect()})),!dtGlobals.isMobile){
/*!-parallax initialisation*/
t(".stripe-parallax-bg, .fancy-parallax-bg, .page-title-parallax-bg").each((function(){var e=t(this),i=e.data("prlx-speed");e.parallax("50%",i),e.addClass("parallax-bg-done"),e.css("opacity","1")}));
/*!-Animate fancy header elements*/
var ve=-1;t("#fancy-header .fancy-title:not(.start-animation), #fancy-header .fancy-subtitle:not(.start-animation), #fancy-header .breadcrumbs:not(.start-animation)").each((function(){var e=t(this);e.hasClass("start-animation")||e.hasClass("start-animation-done")||(e.addClass("start-animation-done"),ve++,setTimeout((function(){e.addClass("start-animation")}),300*ve))}))}if(jQuery(".wpcf7").each((function(){var e=t(this);e.on("wpcf7submit",(function(t){e.find(".wpcf7-response-output").wrapInner("
").addClass("run-animation"),setTimeout((function(){e.find(".wpcf7-response-output").removeClass("run-animation")}),12e3)})),e.on("wpcf7invalid",(function(t){setTimeout((function(){e.find(".wpcf7-response-output").wrapInner("
")}),100)})),e.on("wpcf7mailsent",(function(t){setTimeout((function(){e.find(".wpcf7-response-output").wrapInner("
").addClass("wpcf7-mail-sent-ok")}),100),setTimeout((function(){e.find(".wpcf7-response-output").removeClass("wpcf7-mail-sent-ok")}),12e3)})),e.on("invalid.wpcf7",(function(t){setTimeout((function(){e.find(".wpcf7-validation-errors").wrapInner("
")}),100)})),e.on("mailsent.wpcf7",(function(t){setTimeout((function(){e.find(".wpcf7-mail-sent-ok").wrapInner("
")}),100)}))})),t(".dt-sticky-sidebar").length>0){if(Et)var ye=t(".sticky-on");else ye=t(".masthead:not(.side-header):not(.side-header-v-stroke) .header-bar");if(Q=!I.exists()||I.is(":hidden")||I.hasClass("top-bar-empty")||I.hasClass("hide-top-bar")?0:I.innerHeight(),Bt||Wt)var we=t(De).height()+20;else if(dtLocal.themeSettings.floatingHeader.showMenu&&xt)if(s.hasClass("floating-top-bar"))we=dtLocal.themeSettings.floatingHeader.height+Q+20;else we=dtLocal.themeSettings.floatingHeader.height+20;else if(L.exists())we=L.find(".header-bar").height()+Q+20;else we=0;new StickySidebar("#sidebar",{topSpacing:we,bottomSpacing:20,viewportTop:0,containerSelector:".wf-container-main",innerWrapperSelector:".sidebar-content",minWidth:dtLocal.themeSettings.sidebar.switchPoint})}t("#mphb-booking-details").find(".mphb-booking-details-title, .mphb-check-in-date, .mphb-check-out-date").wrapAll(''),t("#mphb-price-details").appendTo(".mphb-details-sidebar"),!t(".footer .widget").length>0&&t(".footer").addClass("empty-footer"),dtGlobals.addOnloadEvent((function(){t(".the7-elementor-widget:not(.the7-elementor-product-comments)").each((function(){var e=t(this),i=e.find(".stars a");i.length?(i.length>5&&(i.slice(5,i.length).remove(),i=e.find(".stars a")),e.find(".stars span").append(i.get().reverse())):e.find("#rating").hide().before(' 5 4 3 2 1
'),i.on("click",(function(){var e=t(this),i=t(this).closest("#respond").find("#rating"),n=t(this).closest(".stars");return i.val(e.text()),e.siblings("a").removeClass("active"),e.addClass("active"),n.addClass("selected"),!1}))})),t(".dt-tab-accordion-title").each((function(){var e=t(this);e.parents().hasClass("hide-tab-description")&&!e.parents().hasClass("hide-tab-additional")?t("#tab-title-additional_information.dt-tab-accordion-title").addClass("first"):e.parents().hasClass("hide-tab-additional")&&!e.parents().hasClass("hide-tab-description")||e.parents().hasClass("hide-tab-additional")&&e.parents().hasClass("hide-tab-description")?t("#tab-title-reviews.dt-tab-accordion-title").addClass("first"):t("#tab-title-description.dt-tab-accordion-title").addClass("first"),t(".dt-tab-accordion-title.first").next().css("display","block"),e.on("click",(function(e){var i=t(this),n=i.next();t(".dt-tab-accordion-title").removeClass("active"),i.hasClass("active")?t(".woocommerce-Tabs-panel").slideUp("fast"):(i.addClass("active"),t(".woocommerce-Tabs-panel").not(n).hide(),Re(i.parent()),n.slideDown("fast"))}))})),t(".the7-elementor-widget.elementor-widget-tabs").each((function(){var e=t(this),i=e.find(".wc-tabs li:visible").first().attr("aria-controls");e.find(".wc-tabs li").removeClass("active"),e.find(".wc-tabs li:visible").first().addClass("active"),"none"!==e.find(".wc-tabs").css("display")&&(e.find(".panel").css("display","none"),e.find("#"+i).css("display","block")),window.location.hash&&!t(".hide-tab-eviews").length>0&&(e.find(".wc-tabs li").removeClass("active"),e.find(".wc-tabs li.reviews_tab").addClass("active"),e.find(".panel").css("display","none"),e.find(".woocommerce-Tabs-panel--reviews").css("display","block")),e.find(".comment-form-rating .stars").length>1&&e.find(".comment-respond .stars").not(":first").remove(),e.find(".wc-tabs li").on("click",(function(){var i=t(this).attr("aria-controls");t(this).siblings().removeClass("active"),t(this).addClass("active"),e.find("> .woocommerce-tabs > .panel").css("display","none"),e.find("#"+i).css("display","block")}))}))}));var be=t(".elementor-popup-modal .dialog-message");e.on("elementor/popup/show",be,(function(e,i,n){"undefined"===elementorFrontend||elementorFrontend.isEditMode()||"yes"==n.getDocumentSettings("the7_scrollbar")&&n.$element.closest(".dialog-message").addClass("the7-custom-scroll"),t(document.body).trigger("init_price_filter"),n.$element.find(" .dt-sub-menu-display-on_click li.has-children, .dt-sub-menu-display-on_item_click li.has-children").each((function(){"undefined"!=typeof the7ElementorMenu&&the7Utils.isFunction(the7ElementorMenu)&&t(this).the7ElementorMenu()})),n.$element.find(".dt-css-grid .wf-cell img, .menu-item img, .lazy-load").each((function(){var e=t(this);e.attr("data-src")&&e.prop("src",e.attr("data-src")),e.attr("data-srcset")&&e.prop("srcset",e.attr("data-srcset")),e.removeAttr("data-src"),e.removeAttr("data-srcset"),e.removeClass("lazy-load"),setTimeout((function(){e.parent().removeClass("layzr-bg")}),200)}))})),window.the7GetMasonryColumnsConfig=function(t){var e=t.parent().hasClass("mode-masonry")?t.parent():t,i=t.width()-1,n={mobile:parseInt(e.attr("data-phone-columns-num")),desktop:parseInt(e.attr("data-desktop-columns-num")),tabletV:parseInt(e.attr("data-v-tablet-columns-num")),tabletH:parseInt(e.attr("data-h-tablet-columns-num"))};return Modernizr.mq("only screen and (max-width:767px)")?(singleWidth=Math.floor(i/n.mobile)+"px",doubleWidth=2*Math.floor(i/n.mobile)+"px",columnsNum=n.mobile):Modernizr.mq("(min-width:768px) and (max-width:991px)")?(singleWidth=Math.floor(i/n.tabletV)+"px",doubleWidth=2*Math.floor(i/n.tabletV)+"px",columnsNum=n.tabletV):Modernizr.mq("(min-width:992px) and (max-width:1199px)")?(singleWidth=Math.floor(i/n.tabletH)+"px",doubleWidth=2*Math.floor(i/n.tabletH)+"px",columnsNum=n.tabletH):(singleWidth=Math.floor(i/n.desktop)+"px",doubleWidth=2*Math.floor(i/n.desktop)+"px",columnsNum=n.desktop),{singleWidth:singleWidth,doubleWidth:doubleWidth,columnsNum:columnsNum}},t.fn.simpleCalculateColumns=function(t,e,i){var n=parseInt(t.attr("data-width")),s=parseInt(t.attr("data-columns")),o=parseInt(t.attr("data-padding"));void 0===i&&(i="px"),this.calculateColumns(n,s,o,null,null,null,null,i,e)},t.fn.calculateColumns=function(e,i,n,s,o,a,r,l,d){return this.each((function(){var s,o,a,r,c,h="",u=t(this),p=u,f=u.attr("data-cont-id"),m=t(".cont-id-"+f),g=!1!==n?n:20,v=-g,y=g-10,w=g-5;g<10&&(y=0,w=0),0===g&&(v=0),u.parent().hasClass("products-shortcode")&&(y=g),u.parent().hasClass("mode-masonry")&&(p=p.parent(),m=m.parent());var b=m.not(".bg-under-post, .content-bg-on").hasClass("description-under-image");if(t("#col-style-id-"+f).exists())var C=document.getElementById("col-style-id-"+f);else(C=document.createElement("style")).id="col-style-id-"+f,C.appendChild(document.createTextNode("")),document.head.appendChild(C);var _=t("#col-style-id-"+f);if(h=b?" \t\t\t\t\t\t\t.cont-id-"+f+" { margin: -"+w+"px -"+g+"px -"+y+"px ; } \t\t\t\t\t\t\t.full-width-wrap .cont-id-"+f+" { margin: "+-w+"px "+g+"px "+-y+"px ; }":" \t\t\t\t\t\t\t.cont-id-"+f+" { margin: -"+g+"px; } \t\t\t\t\t\t\t.full-width-wrap .cont-id-"+f+" { margin: "+v+"px "+g+"px; } \t\t\t\t\t\t",_.html(h),p.hasClass("resize-by-browser-width"))void 0===d&&(d=the7GetMasonryColumnsConfig),a=(s=d.call(this,u)).singleWidth,r=s.doubleWidth,c=s.columnsNum;else{for(o=u.width()-1,e=e||200,i=i||6;Math.floor(o/i)1?" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+w+"px "+g+"px "+y+"px; } \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell.double-width { width: "+r+"; } \t\t\t\t\t\t":" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+w+"px "+y+"px "+g+"px; } \t\t\t\t\t\t":c>1?" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+g+"px; } \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell.double-width { width: "+r+"; } \t\t\t\t\t\t":" \t\t\t\t\t\t\t.cont-id-"+f+" .wf-cell { width: "+a+"; padding: "+g+"px; } \t\t\t\t\t\t",_.html(h);var x=C.sheet.cssRules.length;C.sheet.insertRule(".webkit-hack { }",x),C.sheet.deleteRule(x),u.trigger("columnsReady")}))},t.fn.initSlider=function(){return this.each((function(){var e=t(this);e.data("width"),e.data("height");e.hasClass("royalReady")||(e.postTypeScroller(),e.addClass("royalReady"))}))};var Ce=Isotope.prototype._positionItem;function _e(t,e,i,n){t.find(i).addClass("lazy-load").addClass(n),t.layzrInitialisation()}Isotope.prototype._positionItem=function(t,e,i,n){Ce(t,e,i,!0)},t.fn.IsoLayzrInitialisation=function(t){return _e(this,t,"img[class*=iso-]","iso-item-lazy-load")},t.fn.IsoLayzrJqInitialisation=function(t){return _e(this,t,"img","thumb-lazy-load-show")},t.fn.layzrBlogInitialisation=function(t){return _e(this,t,"img","blog-thumb-lazy-load-show")},t(".layzr-loading-on .blog-shortcode.jquery-filter.mode-list .visible").layzrBlogInitialisation();var xe=t(".iso-container"),Se=t(".iso-grid:not(.jg-container, .iso-container), .blog.layout-grid .wf-container.description-under-image:not(.jg-container, .iso-container), .grid-masonry:not(.iso-container), .shortcode-blog-posts.iso-grid"),Ie=xe.add(Se),ke=dtGlobals.isoPreloader=t('').appendTo("body").hide();Ie.not(".blog-grid-shortcode").addClass("dt-isotope"),window.the7ApplyColumns=function(t,e,n){var s,o;e&&e.length&&(t=t||0,s=e.parent().hasClass("mode-masonry")?e.parent():e,o=parseInt(s.attr("data-padding")),e.addClass("cont-id-"+t).attr("data-cont-id",t),e.simpleCalculateColumns(s,n),o>10&&e.addClass("mobile-paddings"),i.on("debouncedresize",(function(){e.simpleCalculateColumns(s,n),o>10&&e.addClass("mobile-paddings")})))},Ie.exists()&&Ie.not(".custom-iso-columns").each((function(e){the7ApplyColumns(e,t(this),the7GetMasonryColumnsConfig)})),t.fn.heightHack=function(){return this.each((function(){var e,i=t(this).not(".back-image");i.exists()&&(i.hasClass("height-ready")||i.parents(".testimonial-thumb").exists()||i.parents(".post-rollover").exists()||i.parents(".slider-masonry").exists()||i.parents(".rollover-thumbnails").exists()||(e=parseInt(i.attr("width"))/parseInt(i.attr("height")),i.parents(".testimonial-vcard, .dt-format-gallery, .shortcode-blog-posts.iso-grid ").exists()&&i.wrap("
"),isNaN(e)&&i[0]&&(e=i[0].naturalWidth/i[0].naturalHeight),i.parent().not(".img-ratio-wrapper").css({"padding-bottom":100/e+"%",height:0,display:"block"}),i.parents(".dt-team-masonry-shortcode").exists()&&"none"!==i.parent().css("max-width")&&i.parents(".team-media").addClass("apply-max-width"),i.attr("data-ratio",e).addClass("height-ready")))}))},t.fn.IsoInitialisation=function(e,i,n,s){return this.each((function(){var n=t(this);n.hasClass("iso-item-ready")||(n.isotope({itemSelector:e,layoutMode:i,stagger:30,resize:!1,transitionDuration:0,equalheight:s,hiddenStyle:{opacity:0},visibleStyle:{opacity:1},masonry:{columnWidth:1},getSortData:{date:function(e){return t(e).attr("data-date")},name:function(e){return t(e).attr("data-name")}},customSorters:{name:window.the7LocaleSensitiveStringsCompare}}),n.addClass("iso-item-ready"))}))},t(".iso-container, .portfolio-grid").each((function(){if(t(this).parent().hasClass("mode-masonry"))var e=null;else e=t(this);t(".filter:not(.iso-filter):not(.without-isotope):not(.with-ajax) .filter-categories a").on("click.presscorFilterCategories",(function(i){var n=t(this).attr("data-filter");return null!=e&&e.isotope({filter:n}),!1})),t(".filter:not(.iso-filter):not(.without-isotope):not(.with-ajax) .filter-extras .filter-by a").on("click",(function(i){var n=t(this).attr("data-by"),s=t(this).parents(".filter-extras").find(".filter-sorting > a.act").first().attr("data-sort");return null!=e&&e.isotope({sortBy:n,sortAscending:"asc"==s}),!1})),t(".filter:not(.iso-filter):not(.without-isotope):not(.with-ajax) .filter-extras .filter-sorting a").on("click",(function(i){var n=t(this).attr("data-sort"),s=t(this).parents(".filter-extras").find(".filter-by > a.act").first().attr("data-by");return null!=e&&e.isotope({sortBy:s,sortAscending:"asc"==n}),!1}))})),t(".dt-css-grid .wf-cell.visible").IsoLayzrJqInitialisation(),(xe.exists()||Se.exists())&&(ke.fadeIn(50),Ie.not(".blog-grid-shortcode").each((function(){var e=t(this),i=e;e.hasClass("mode-masonry")&&(i=e.find(".dt-isotope")),i.parent().hasClass("the7-elementor-widget")||t(".preload-me",i).heightHack(),t(".slider-masonry",i).initSlider(),i.one("columnsReady",(function(){if(i.hasClass("iso-container"))i.IsoInitialisation(".iso-item","masonry",400);else{var e=!0;(i.parent().hasClass("gradient-overlay-layout-list")||i.parent().hasClass("content-rollover-layout-list"))&&(e=!1),i.IsoInitialisation(".wf-cell","fitRows",400,e)}i.isotope("on","layoutComplete",(function(e){for(var n=0;n a").on("click",(function(e){var i=t(this);if(void 0===arguments.callee.dtPreventD){var n=i.parents(".filter").first();arguments.callee.dtPreventD=!0,n.hasClass("without-isotope")&&(arguments.callee.dtPreventD=n.hasClass("with-ajax"))}e.preventDefault(),i.trigger("mouseleave"),i.hasClass("act")&&!i.hasClass("show-all")?(e.stopImmediatePropagation(),i.removeClass("act"),i.siblings("a.show-all").trigger("click")):(i.siblings().removeClass("act"),i.addClass("act"),arguments.callee.dtPreventD||(window.location.href=i.attr("href")))}))},window.the7ApplyGeneralOrderingSwitchHandlers=function(t){if(t.exists()){t.prev(".act").length>0?t.addClass("left-act"):t.next(".act").length>0?t.addClass("right-act"):(t.removeClass("right-act"),t.removeClass("left-act"));var e=t.parents(".filter").first();t.on("click",(function(){e.hasClass("without-isotope")?t.hasClass("right-act")?t.prev("a")[0].click():t.hasClass("left-act")&&t.next("a")[0].click():t.hasClass("right-act")?t.prev("a").trigger("click"):t.hasClass("left-act")&&t.next("a").trigger("click")}))}},window.the7ApplyGeneralOrderingSwitchEffects=function(e){if(e.exists()){var i=t(".filter-switch",e);i.append(" "),i.each((function(){the7ApplyGeneralOrderingSwitchHandlers(t(this))})),t(".filter-switch .filter-switch-toggle",e).on("animationend webkitAnimationEnd oanimationend MSAnimationEnd",(function(e){t(this).parent().removeClass("pressed")})),t(".filter-extras a",e).on("animationend webkitAnimationEnd oanimationend MSAnimationEnd",(function(e){t(this).removeClass("pressed")})),Modernizr.touch?(i.on("touchstart",(function(e){t(".filter-switch").removeClass("pressed"),t(this).addClass("pressed")})),t(".filter-extras a",e).on("touchstart",(function(e){t(".filter-extras").removeClass("pressed"),t(this).parent(".filter-extras").addClass("pressed")}))):(i.on("mousedown",(function(e){t(".filter-switch").removeClass("pressed"),t(this).addClass("pressed"),setTimeout((function(){t(this).removeClass("pressed")}),600)})),t(".filter-extras a",e).each((function(){t(this).on("mousedown",(function(e){t(".filter-extras").removeClass("pressed"),t(this).addClass("pressed"),setTimeout((function(){t(this).removeClass("pressed")}),600)}))}))),t(".filter-extras a",e).on("click",(function(e){var n=t(this);if(void 0===arguments.callee.dtPreventD){var s=n.parents(".filter").first();arguments.callee.dtPreventD=!0,s.hasClass("without-isotope")&&(arguments.callee.dtPreventD=s.hasClass("with-ajax"))}arguments.callee.dtPreventD&&e.preventDefault(),n.siblings().removeClass("act"),n.addClass("act"),i.each((function(){var e=t(this);e.prev(n).hasClass("act")?(e.addClass("left-act"),e.removeClass("right-act")):e.next(n).hasClass("act")?(e.addClass("right-act"),e.removeClass("left-act")):(e.removeClass("right-act"),e.removeClass("left-act"))}))}))}},t(".filter-categories").each((function(){the7ApplyGeneralFilterHandlers(t(this))})),t(".filter").each((function(){the7ApplyGeneralOrderingSwitchEffects(t(this))})),t(".mode-list .filter-categories > a:not(.show-all), .dt-css-grid-wrap .filter-categories > a:not(.show-all)").each((function(){$this=t(this),$dataFiltr=$this.attr("data-filter"),$newDataFilter=$dataFiltr.substring(1,$dataFiltr.length),$this.attr("data-filter",$newDataFilter),$this.parents().removeClass("iso-filter")})),window.the7ShortcodesFilterConfig=function(t){var e={},i=t;return t.hasClass("dt-css-grid")&&(i=t.parent()),e.filterControls=i.find(".filter-categories"),e.pageControls=i.find(".paginator"),e.sortControls=i.find(".filter-by"),e.orderControls=i.find(".filter-sorting"),e.defaultSort=i.find(".filter-by .act").attr("data-by"),e.defaultOrder=i.find(".filter-sorting .act").attr("data-sort"),e.paginationMode=i.attr("data-pagination-mode"),e.pageLimit=i.attr("data-post-limit"),e.useFilters=!0,e.useSorting=!0,e.controlsSelecter="a",e.controlsSelecterChecked="a.act",e.defaultFilter="*",e.selectAll="*",e.loadMoreButtonLabel=dtLocal.moreButtonText.loadMore,e.customSorters={name:function(t,e){return window.the7LocaleSensitiveStringsCompare(t.name.toLowerCase(),e.name.toLowerCase())}},e},t.fn.shortcodesFilter=function(e){var n=t(this);function s(){if(n.hasClass("dt-css-grid")?$element=n.parent():$element=n,$element.length&&$element.hasClass("lazy-loading-mode")){var t=$element.find(".button-load-more");if(!t.parent().hasClass("hidden")){var e=t.offset();e&&i.scrollTop()+i.height()>e.top-2*i.height()&&t.trigger("click")}}}n.Filterade(e),n.on("updateReady",(function(){Je(),n.parent(".content-rollover-layout-list:not(.disable-layout-hover)").find(".post-entry-wrapper").clickOverlayGradient()})),i.on("scroll",(function(){s()})),s()},t(".blog-shortcode.mode-list.jquery-filter, .jquery-filter .dt-css-grid:not(.custom-pagination-handler)").each((function(){var e=t(this);e.shortcodesFilter(the7ShortcodesFilterConfig(e))})),window.the7ApplyMasonryWidgetCSSGridFiltering=function(t){var e;t&&t.length&&((e=the7ShortcodesFilterConfig(t)).pagerClass="page-numbers filter-item",e.previousButtonLabel="←",e.nextButtonLabel="→",t.shortcodesFilter(e))};var Te=t(".content-rollover-layout-list:not(.disable-layout-hover) .dt-css-grid .post-entry-wrapper");function ze(){var t=.01*window.innerHeight;document.documentElement.style.setProperty("--the7-vh",t+"px")}i.on("debouncedresize",(function(e){if(dtGlobals.resizeCounter++,the7Utils.isFunction(t.fn.calcPics)&&t(".instagram-photos").calcPics(),o.hasClass("boxed")){var a=o.css("maxWidth"),r=a.indexOf("px")>=0,l=a.indexOf("%")>=0;r&&(k.addClass("width-in-pixel"),void 0!==De&&De.addClass("width-in-pixel")),l&&(t(".masthead.full-width:not(.side-header)").css({width:o.width()}),void 0!==De&&De.find(".top-bar-bg").length>0&&De.find(".top-bar-bg").css({width:o.width()}),s.hasClass("phantom-sticky")&&t(".top-bar-bg").length>0&&t(".top-bar-bg").css({width:o.width()}))}var d;Te.clickOverlayGradient(),window.innerWidth>=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&(o.removeClass("show-mobile-header"),o.addClass("closed-mobile-header"),s.removeClass("show-sticky-mobile-header"),s.removeClass("show-overlay-mobile-header").addClass("closed-overlay-mobile-header"),t(".mobile-sticky-header-overlay").removeClass("active"),t(".dt-mobile-menu-icon").removeClass("active"),n.removeClass("menu-open")),window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&!s.hasClass("responsive-off")?(t(".masthead").hasClass("masthead-mobile")||t(".masthead:not(.mixed-header):not(#phantom)").addClass("masthead-mobile"),t(".masthead").hasClass("masthead-mobile-header")||(t(".masthead:not(.side-header):not(#phantom)").addClass("masthead-mobile-header"),t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").addClass("masthead-mobile-header")),L.exists()&&(L.removeClass("sticky-top-line-on sticky-top-line-on"),Ht=!1),t(".mobile-header-scrollbar-wrap").css({"max-width":t(".dt-mobile-header ").width()-13})):(t(".masthead:not(.mixed-header):not(#phantom)").removeClass("masthead-mobile"),t(".masthead:not(.side-header):not(#phantom)").removeClass("masthead-mobile-header"),t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").removeClass("masthead-mobile-header"),t(".masthead").hasClass("desktop-side-header")||t("body:not(.overlay-navigation):not(.sticky-header) .side-header:not(#phantom)").addClass("desktop-side-header")),window.innerWidth<=dtLocal.themeSettings.mobileHeader.firstSwitchPoint&&window.innerWidth>dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",I).find(".in-top-bar-left").length>0||t(".top-bar .right-widgets").find(".in-top-bar-right").length>0?I.removeClass("top-bar-empty"):I.addClass("top-bar-empty"):window.innerWidth<=dtLocal.themeSettings.mobileHeader.secondSwitchPoint&&!s.hasClass("responsive-off")?t(".left-widgets",I).find(".in-top-bar").length>0?I.removeClass("top-bar-empty"):I.addClass("top-bar-empty"):!t(".mini-widgets",I).find(".show-on-desktop").length>0?I.addClass("top-bar-empty"):I.removeClass("top-bar-empty"),t(".mini-nav select").trigger("render"),t.fancyFeaderCalc(),t(".dt-default").each((function(){var e=t(this),n=e.attr("data-min-height");t.isNumeric(n)?e.css({minHeight:n+"px"}):n?n.search("%")>0?e.css({minHeight:i.height()*(parseInt(n)/100)+"px"}):e.css({minHeight:n}):e.css({minHeight:0})})),(d=t(".floating-content")).exists()&&t(".preload-me").loaded(null,(function(){var e=d.siblings(".project-wide-col").height(),n=d.height(),s=d.offset(),o=0;I.length>0&&t(".phantom-sticky").length>0&&(o=I.height());var a=t(".project-post").offset();i.on("scroll",(function(){var t="0";window.innerWidth>1050&&dtGlobals.winScrollTop+De.height()>s.top&&(t=dtGlobals.winScrollTop+De.height()+n+400&&t(".header-side-left.footer-overlap:not(.sticky-header) .boxed .footer, .left-side-line.footer-overlap .boxed .footer").css({right:i.width()-(c.offset().left+c.outerWidth())}),t(".footer-overlap .footer").css({opacity:1}),t(".mobile-false .footer-overlap .page-inner").css({"min-height":window.innerHeight-t(".footer").innerHeight(),"margin-bottom":t(".footer").innerHeight()}),t(".mobile-false .footer-overlap .footer").css({bottom:parseInt(s.css("padding-bottom"))+parseInt(s.css("margin-bottom"))})})).trigger("debouncedresize"),t(window).trigger("the7_widget_resize"),ze(),i.on("the7-resize-height-debounce",ze),window.addEventListener("orientationchange",ze);var Le=t("html, body"),Ee=t(".phantom-sticky"),Pe=t(".sticky-top-line"),Oe=(xt=Ee.exists(),Pe.exists()),Ae=t(".sticky-mobile-header").exists(),Me=xt||Oe,De=null;ye=null;function He(){window.innerWidth0?t(".masthead-mobile-header"):t("#phantom");var e=t(".mobile-header-bar");e.length>0&&"none"!==e.css("display")?(ye=e,Oe&&(ye=t(".sticky-top-line.masthead-mobile-header .mobile-header-bar")),(xt||Oe)&&(De=t(".sticky-header .masthead.side-header").length>0||t(".overlay-navigation .masthead.side-header").length>0?e.parent(".masthead:not(.side-header)"):e.parent())):(ye=t(".masthead:not(.side-header):not(.side-header-v-stroke)"),s.hasClass("floating-top-bar")||(ye=ye.find(".header-bar")))}He();var Fe=function(t,e,i,n){void 0===n&&(n="easeInOutQuad"),Le.stop().animate({scrollTop:t},{duration:e,easing:n,complete:i})},Be=function(){var e=function(){var t=NaN;try{t=parseInt(s.css("--the7-anchor-scroll-offset"))}catch(t){}return t}();if(!isNaN(e))return e;var i=null,n=0,o=s.hasClass("overlay-navigation");window.innerWidthwindow.innerHeight&&(u=p>0?d-window.innerHeight:d+window.innerHeight,i.scrollTop(u),h="easeOutQuart");t.closeMobileHeader(),c&&t.closeSideHeader(),Fe(d,600,(function(){if(c||setTimeout((function(){t.closeSideHeader()}),50),!a){var i=We(e,r);d.toFixed()!==i.toFixed()&&(!function(t,e,i,n){t.one("animationend",(function(){var s=i(t,n);s!==e&&Fe(s)}))}(e,i,We,r),Fe(i))}}),h)};window.the7ScrollToTargetEl=Re;var $e=function(e,i,n){if(!e)return!1;var s=t("#"+e),o=!1;if(!s.length){if("up"!==e)return!1;o=!0}return Re(s,i,n,o),!0},je=function(t){return t.match("^#!")?t.substring(3):t.match("^#")?t.substring(1):t.substring(t.indexOf("#")).substring(3)};function Ge(e){e.on("click",(function(e){if(!t(e.target).parent().hasClass("next-level-button")&&clickAnchorLink(t(this)))return e.preventDefault(),!1}))}dtGlobals.addOnloadEvent((function(){var e=window.location.hash,i=je(e);setTimeout((function(){if(i){t(".menu-item a").parent("li").removeClass("act"),t(".dt-nav-menu a").removeClass("active-item");var n=t(".menu-item a[href='"+e+"']"),s=t(".dt-nav-menu a[href='"+e+"']");n.parent("li").addClass("act"),s.addClass("active-item"),t(".menu-item a[href*='"+e+"']").parent("li").addClass("act"),t(".dt-nav-menu a[href*='"+e+"']").addClass("active-item");var o=n.parents("li");if(o.find(".sub-nav li.act, .sub-menu li.act, .vertical-sub-nav li.act").length){var a=o.find(" > .sub-nav, .sub-menu, .vertical-sub-nav");o.addClass("open-sub"),a.stop(!0,!0).slideDown(100)}setTimeout((function(){$e(i)}),300)}else{var r=t(".menu-item > a[href='#!/up']");r.length>0&&r.parent("li").addClass("act")}}),300)})),i.on("the7-resize-width",(function(){He()})),
/*!-scroll to anchor*/
window.clickAnchorLink=function(e){const i=e.attr("href"),n=je(i),s=$e(n,i,e);if(s&&t(window).trigger("the7.anchorScrolling",[n,i,e]),e.parents().hasClass("elementor-popup-modal")){const t=e.parents(".elementor-location-popup").attr("data-elementor-id");elementorFrontend.documentsManager.documents[t].getModal().hide()}return t(".menu-item a").parent("li").removeClass("act"),t(".dt-nav-menu a").removeClass("active-item"),e.parents("li.menu-item ").addClass("act"),e.parents().hasClass("dt-nav-menu")&&e.addClass("active-item"),s},s.on("click",'.anchor-link[href^="#!"], .anchor-link a[href^="#!"], .logo-box a[href^="#!"], .branding a[href^="#!"], #branding-bottom a[href^="#!"], .mobile-branding a[href^="#!"], .woocommerce-product-rating a.woocommerce-review-link[href^="#"]',(function(e){if(clickAnchorLink(t(this)))return e.preventDefault(),!1})),Ge(t('.menu-item > a[href*="#!"]')),e.on("elementor/popup/show",t(".elementor-popup-modal .dialog-message"),(function(t,e,i){Ge(i.$element.find('.menu-item > a[href*="#!"]'))}));be=t(".elementor-popup-modal .dialog-message");e.on("elementor/popup/show",be,(function(e,i,n){t("#elementor-popup-modal-"+i+" .elementor-location-popup");n.$element.find('.menu-item > a[href*="#!"]').on("click",(function(e){if(!t(e.target).parent().hasClass("next-level-button")&&clickAnchorLink(t(this)))return e.preventDefault(),!1}))})),e.on("elementor/popup/show",(function(e,i,n){var s=window.location.hash;if(je(s)){t(".menu-item a").parent("li").removeClass("act"),t(".dt-nav-menu a").removeClass("active-item");var o=t(".menu-item a[href='"+s+"']"),a=t(".dt-nav-menu a[href='"+s+"']");o.parent("li").addClass("act"),a.addClass("active-item"),t(".menu-item a[href*='"+s+"']").parent("li").addClass("act"),t(".dt-nav-menu a[href*='"+s+"']").addClass("active-item");var r=o.parents("li");if(r.find(".sub-nav li.act, .sub-menu li.act, .vertical-sub-nav li.act").length){var l=r.find(" > .sub-nav, .sub-menu, .vertical-sub-nav");r.addClass("open-sub"),l.stop(!0,!0).slideDown(100)}elementorFrontend.elements.$window.one("the7.anchorScrolling.elementorPopup",(function(){n.getModal()&&n.getModal().hide()}))}else{var d=t(".menu-item > a[href='#!/up']");d.length>0&&d.parent("li").addClass("act")}})),e.on("elementor/popup/hide",(function(){elementorFrontend.elements.$window.off("the7.anchorScrolling.elementorPopup")}));var Ye=t(".one-page-row div[data-anchor^='#']"),Ne=t(".one-page-row .vc_row[id], .one-page-row .vc_section[id], .elementor-element[id], .elementor-menu-anchor[id]"),qe=t.merge(Ye,Ne),Ue=null;function Ve(e){if(t('.menu-item a[href^="#!"]').parents("li").removeClass("act"),t('.dt-nav-menu a[href^="#!"]').removeClass("active-item"),e){var i=t('.menu-item a[href="'+e+'"]'),n=t('.dt-nav-menu a[href="'+e+'"]');i.parents("li").addClass("act"),n.addClass("active-item")}}Ye.length>0?Ue=Ye.first():Ne.length>0&&(Ue=Ne.first()),Ye=null,Ne=null;var Xe=t('.menu-item > a[href="#!/up"]'),Ze=s.hasClass("is-scroll"),Qe=null;function Ke(t,e){var i;return t.is(":visible")&&dtGlobals.winScrollTop>=Math.floor(t.offset().top-e)&&(i="#!/"+t.attr("id")),i}
/*!-set active menu item on scroll*/function Je(){var e=t(".dt-isotope"),i=t(".iso-grid .wf-cell:not(.shown), .dt-css-grid .wf-cell:not(.shown)");if(i.exists()&&window.the7ProcessEffects(i),e.exists()){e.each((function(){0;var e=t(this).find(".wf-cell");e.exists()&&window.the7ProcessEffects(e)}))}else{var n=t(".iso-item:not(.shown)");if(!n.exists())return;window.the7ProcessEffects(n)}}i.scroll((function(e){if(!Ze){var i,n=Be();qe.each((function(){var e=t(this);e.hasClass("wpb_animate_when_almost_visible")&&e.one("webkitAnimationEnd oanimationend msAnimationEnd animationend",(function(t){Ve(Ke(e,n))}));var s=Ke(e,n);s&&(i=s)})),Xe.length>0&&null!==Ue&&dtGlobals.winScrollTop0){for(var r=0;r0?(a.append(o),dtGlobals.ajaxContainerItems=a.find("div.wf-cell, .project-even, .project-odd").not(".animation-triggered"),isIsotope?(t(".preload-me",a).heightHack(),t(".slider-masonry",a).initSlider(),t(".slider-masonry",a).css("visibility","visible"),a.isotope("addItems",o),"media"!=e.contentType?a.isotope({sortBy:sortBy,sortAscending:sortAscending}):a.isotope({sortBy:"original-order"}),a.isotope("layout"),n.init(),a.IsoLayzrInitialisation(),a.layzrInitialisation()):(t(".slider-masonry",a).initSlider(),t("ul.photoSlider:not(.slider-masonry)").each((function(){t(this).postTypeScroller()})),t("ul.photoSlider").css("visibility","visible"),"jgrid"==e.layout&&a.collagePlus(dtGlobals.jGrid),n.init(),a.IsoLayzrInitialisation(".mobile-true"),a.layzrInitialisation()),void 0!==e.afterSuccessInit&&e.afterSuccessInit(s),i.trigger("dt.ajax.content.appended")):isIsotope&&a.isotope({sortBy:sortBy,sortAscending:sortAscending})}void 0!==e.afterResponce&&e.afterResponce(s),Je()}))},init:function(){switch(this.settings.contentType){case"portfolio":this.initPortfolio();break;case"albums":this.initAlbums();break;case"media":this.initMedia();break;case"blog":case"testimonials":this.basicInit()}},initPortfolio:function(){this.basicInit()},initAlbums:function(){this.basicInit()},initMedia:function(){this.basicInit()},basicInit:function(){var e=this.settings.targetContainer;t(".dt-pswp-item, .dt-gallery-container a",e).addPhotoswipeWrap(),t(".dt-gallery-container",e).initPhotoswipe(),t(".photoswipe-wrapper",e).initPhotoswipe(),e.photoswipeGallery(".dt-gallery-container.wf-container"),t(".rollover, .rollover-video, .post-rollover, .rollover-project .show-content",e).addRollover(),the7Utils.isFunction(t.fn.hoverdir)&&(t(".mobile-false .hover-grid .rollover-project").each((function(){t(this).hoverdir()})),t(".mobile-false .hover-grid-reverse .rollover-project ").each((function(){t(this).hoverdir({inverse:!0})}))),t(".mobile-true .rollover-project a.link.show-content, .hover-style-one article:not(.description-off) .rollover-project > a, .hover-style-two article:not(.description-off) .rollover-project > a, .hover-style-three article:not(.description-off) .rollover-project > a").on("click",(function(t){t.preventDefault()})),t(".dt-trigger-first-pswp",e).not(".pspw-ready").on("click",(function(){var e=t(this).parents("article.post");if(e.length>0){var i=e.find("a.dt-pswp-item");i.length>0&&i.first().trigger("click")}return!1})).addClass("mfp-ready"),t(".mobile-true .rollover-project").touchNewHover(),the7Utils.isFunction(t.fn.triggerHoverClick)&&t(".mobile-false .rollover-project:not(.rollover-active) .rollover-content, .buttons-on-img:not(.rollover-active) .rollover-content").triggerHoverClick(),the7Utils.isFunction(t.fn.triggerHoverClick)&&t(".mobile-false .rollover-project.forward-post").triggerHoverClick(),the7Utils.isFunction(t.fn.triggerHoverClick)&&t(".mobile-false .rollover-project.rollover-active, .mobile-false .buttons-on-img.rollover-active").followCurentLink(),the7Utils.isFunction(t.fn.triggerAlbumsClick)&&t(".mobile-false .albums .rollover-project, .mobile-false .albums .buttons-on-img, .mobile-false .archive .type-dt_gallery .buttons-on-img").triggerAlbumsClick(),the7Utils.isFunction(t.fn.triggerAlbumsTouch)&&t(".mobile-true .albums .rollover-project, .mobile-true .albums .buttons-on-img, .mobile-true .archive .type-dt_gallery .buttons-on-img").triggerAlbumsTouch(),the7Utils.isFunction(t.fn.triggerPostClick)&&t(".mobile-false .content-rollover-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post, .mobile-false .gradient-overlay-layout-list:not(.portfolio-shortcode):not(.albums-shortcode) .post").triggerPostClick(),the7Utils.isFunction(t.fn.touchforwardToPost)&&t(".mobile-true .rollover-project.forward-post").touchforwardToPost(),the7Utils.isFunction(t.fn.touchHoverImage)&&t(".mobile-true .buttons-on-img").touchHoverImage(),t(".hover-scale .rollover-project").scaleInHover(),the7Utils.isFunction(t.fn.addIconToLinks)&&t(".links-container a").addIconToLinks()}};function ei(e){var i=e.find(".filter.with-ajax").first(),n=e.find(".wf-container.with-ajax, .articles-list.with-ajax").first(),s=i.find(".filter-categories a.act"),o=i.find(".filter-by a.act"),a=i.find(".filter-sorting a.act"),r=parseInt(n.attr("data-cur-page")),l=new Array,d=s.length>0?s.attr("data-filter").replace(".category-","").replace("*",""):"";return"0"==d&&(d="none"),n.hasClass("dt-isotope")&&t(".wf-cell",n).each((function(){l.push(t(this).attr("data-post-id"))})),{visibleItems:l,postID:dtLocal.postID,paged:r,term:d,orderBy:o.length>0?o.attr("data-by"):"",order:a.length>0?a.attr("data-sort"):"",ajaxurl:dtLocal.ajaxurl,nonce:dtLocal.ajaxNonce,pageData:dtLocal.pageData,layout:dtLocal.pageData.layout,targetContainer:n,isPhone:dtGlobals.isPhone}}function ii(){if(dtGlobals.loadMoreButton&&dtGlobals.loadMoreButton.exists()){var t=dtGlobals.loadMoreButton.offset();t&&i.scrollTop()>(t.top-i.height())/2&&!dtGlobals.loadMoreButton.hasClass("animate-load")&&dtGlobals.loadMoreButton.trigger("click")}}t("#content").on("click",".paginator.with-ajax a",(function(e){if(e.preventDefault(),!t(e.target).hasClass("dots")&&!t(e.target).hasClass("disabled")){var n=t(this),s=n.closest(".paginator"),o=s.parent(),a=o.find(".wf-container.with-ajax, .articles-list.with-ajax").first(),r=t(".button-load-more"),l=r.find(".button-caption").text(),d=s.hasClass("paginator-more-button")?"more":"paginator",c="more"==d,h=ei(o),u=c?h.paged+1:n.attr("data-page-num"),p=dtGlobals.isoPreloader;if(r.addClass("animate-load").find(".button-caption").text(dtLocal.moreButtonText.loading),p&&!t(".paginator-more-button").length&&dtGlobals.isoPreloader.fadeIn(50),c)t("html, body").scrollTop(i.scrollTop()+1);else{var f=o.find(".filter.with-ajax").first(),m=44;f.exists()||(f=a,m=50),t("html, body").animate({scrollTop:f.offset().top-t("#phantom").height()-m},400)}ti.launch(t.extend({},h,{contentType:h.pageData.template,targetPage:u,sender:d,visibleItems:c?new Array:h.visibleItems,afterResponce:function(e){s.length>0?(e.paginationHtml?s.html(t(e.paginationHtml).html()).show():s.html("").hide(),setTimeout((function(){t(".button-load-more").removeClass("animate-load").find(".button-caption").text(l)}),200)):e.paginationHtml&&a.parent().append(t(e.paginationHtml)),s.find(".dots").on("click",(function(){s.find("div:hidden").show().find("a").unwrap(),t(this).remove()})),a.attr("data-cur-page",e.currentPage),dtGlobals.isoPreloader.stop().fadeOut(300),dtGlobals.loadMoreButton=t(".button-load-more")}}))}})),t(".filter.with-ajax .filter-categories a, .filter.with-ajax .filter-extras a").on("click",(function(e){e.preventDefault();var i=t(this).closest(".filter").parent(),n=i.find(".wf-container.with-ajax").first(),s=i.find(".paginator").first(),o=ei(i),a=dtGlobals.isoPreloader;n.resetEffects(),a&&dtGlobals.isoPreloader.fadeIn(50),ti.launch(t.extend({},o,{contentType:o.pageData.template,targetPage:1,paged:1,sender:"filter",afterResponce:function(e){s.length>0?e.paginationHtml?s.html(t(e.paginationHtml).html()).show():s.html("").hide():e.paginationHtml&&n.parent().append(t(e.paginationHtml)),s.find(".dots").on("click",(function(){s.find("div:hidden").show().find("a").unwrap(),t(this).remove()})),n.attr("data-cur-page",e.currentPage),dtGlobals.isoPreloader.stop().fadeOut(300),dtGlobals.loadMoreButton=t(".button-load-more")}}))})),void 0!==dtLocal.themeSettings.lazyLoading&&dtLocal.themeSettings.lazyLoading&&(dtGlobals.loadMoreButton=t(".button-load-more"),i.on("scroll",(function(){ii()})),ii());var ni,si=(ni={},function(t,e,i){i||(i="Don't call this twice without a uniqueId"),ni[i]&&clearTimeout(ni[i]),ni[i]=setTimeout(t,e)});i.on("the7-resize-width",(function(){var e=t(".iso-item, .iso-grid .wf-cell");e.addClass("animate-position"),si((function(){e.removeClass("animate-position")}),2500,"")}));var oi=t(".dt-isotope"),ai=t(".iso-item:not(.shown):not(.is-visible)"),ri=t(".iso-grid .wf-cell:not(.shown):not(.is-visible), .dt-css-grid .wf-cell:not(.shown):not(.is-visible)");(oi.exists()||ai.exists()||ri.exists())&&(setTimeout((function(){Je()}),100),i.on("scroll",(function(){Je()})));var li=function(){function e(e){this.config=t.extend({paginatorContainer:null,postLimit:1,curPage:1,items:[],filter:null,onPaginate:function(){}},e)}return e.prototype.setCurPage=function(t){this.config.curPage=parseInt(t)},e.prototype.getCurPage=function(){return this.config.curPage},e.prototype.reset=function(t){this.config.items=t,this.setCurPage(1),this.appendControls(),this._filterByCurPage()},e.prototype.appendControls=function(){},e.prototype._filterByCurPage=function(){this.showItem(this.config.items)},e.prototype.hideItem=function(t){t.removeClass("visible").addClass("hidden").hide()},e.prototype.showItem=function(t){t.addClass("visible").removeClass("hidden").show()},e.prototype.applyLoadingEffects=function(){this.lazyLoadImages(),Je()},e.prototype.lazyLoadImages=function(){this.config.items&&this.config.items.filter(".visible").IsoLayzrJqInitialisation()},e.prototype.layoutItems=function(){this._filterByCurPage(),this.config.filter&&"function"==typeof this.config.filter.layoutItems&&this.config.filter.layoutItems()},e}(),di=function(){function e(e){li.call(this,e);this.config=t.extend({previousButtonClass:"",previousButtonLabel:"",pagerClass:"",nextButtonClass:"",nextButtonLabel:"",activeClass:"act",pagesToShow:5},this.config),this.appendControls(),t("a.act",this.config.paginatorContainer).trigger("click.dtPostsPaginationFilter",{onSetup:!0})}return e.prototype=new li,e.prototype.addEvents=function(){var e=this;t("a",this.config.paginatorContainer).not(".dots").on("click.dtPostsPaginationFilter",{self:this},(function(t,i){e.config.onPaginate.call(this,t,i)})),t("a.dots",this.config.paginatorContainer).on("click.dtPostsPaginationDots",{self:this},(function(t){t.preventDefault(),t.data.self.config.paginatorContainer.find("div:hidden a").unwrap(),t.data.self.config.paginatorContainer.find("a.dots").remove()}))},e.prototype.appendControls=function(){var e=this.config.paginatorContainer,i=Math.ceil(this.config.items.length/this.config.postLimit),n=this.config.curPage;if(e.empty(),i<=1)e.addClass("hidden");else{var s,o;e.removeClass("hidden"),1!==n&&e.prepend(''+this.config.previousButtonLabel+" ");var a=(5|this.config.pagesToShow)-1,r=Math.floor(a/2),l=Math.ceil(a/2),d=Math.max(n-r,1),c=n+l;d<=r&&(c=d+a),c>i&&(d=Math.max(i-a,1),c=i);var h='… ',u=t('
'),p=t('
');for(s=o=1;1<=i?o<=i:o>=i;s=1<=i?++o:--o)s