1!function(t){"use strict";"object"!=typeof qodef&&(window.qodef={}),window.qodefCore={},qodefCore.shortcodes={},qodefCore.listShortcodesScripts={qodefSwiper:qodef.qodefSwiper,qodefPagination:qodef.qodefPagination,qodefFilter:qodef.qodefFilter,qodefMasonryLayout:qodef.qodefMasonryLayout,qodefJustifiedGallery:qodef.qodefJustifiedGallery},qodefCore.body=t("body"),qodefCore.html=t("html"),qodefCore.windowWidth=t(window).width(),qodefCore.windowHeight=t(window).height(),qodefCore.scroll=0,t(document).ready(function(){qodefCore.scroll=t(window).scrollTop(),i.init(),e.init(),a.init()}),t(window).resize(function(){qodefCore.windowWidth=t(window).width(),qodefCore.windowHeight=t(window).height()}),t(window).scroll(function(){qodefCore.scroll=t(window).scrollTop()}),t(window).load(function(){d.init()}),qodefCore.body.on("updated_checkout",function(){e.init()});qodefCore.qodefIsInViewport={check:function(o,t,n){var e,i;o.length&&(e=void 0!==o.data("viewport-offset")?o.data("viewport-offset"):.15,(i=new IntersectionObserver(function(e){!0===e[0].isIntersecting&&(t.call(o),!1!==n&&i.disconnect())},{threshold:[e]})).observe(o[0]))}};var n={disable:function(){window.addEventListener&&window.addEventListener("wheel",n.preventDefaultValue,{passive:!1}),document.onkeydown=n.keyDown},enable:function(){window.removeEventListener&&window.removeEventListener("wheel",n.preventDefaultValue,{passive:!1}),window.onmousewheel=document.onmousewheel=document.onkeydown=null},preventDefaultValue:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},keyDown:function(e){for(var o=[37,38,39,40],t=o.length;t--;)if(e.keyCode===o[t])return void n.preventDefaultValue(e)}},o=(qodefCore.qodefScroll=n,{init:function(e){e.length&&o.qodefInitScroll(e)},qodefInitScroll:function(e){var o=new PerfectScrollbar(e[0],{wheelSpeed:.6,suppressScrollX:!0});t(window).resize(function(){o.update()})}}),e=(qodefCore.qodefPerfectScrollbar=o,{init:function(){var e=t("body").find(".qodef--booking button[type=submit], .wpcf7-submit, #qodef-woo-page button[type=submit], .woocommerce-checkout-payment .place-order .button, .return-to-shop a, .return-to-shop .wc-backward, .woocommerce-info .button, .woocommerce-form-login__submit, .woocommerce-Button, .wc-proceed-to-checkout a");e.length&&!t(this).find(".qodef-m-inner-border").length&&t(e).append('<div class="qodef-m-inner-border"><span class="qodef-m-border-top"></span><span class="qodef-m-border-right"></span><span class="qodef-m-border-bottom"></span><span class="qodef-m-border-left"></span></div>')}}),i=(qodefCore.qodefButtonBorder=e,{init:function(){var e;this.holder=t("#richmond-core-page-inline-style"),this.holder.length&&(e=this.holder.data("style")).length&&t("head").append('<style type="text/css">'+e+"</style>")}}),d={init:function(){var e=t(".qodef-parallax-item");e.length&&e.each(function(){var e=t(this),o=Math.floor(-75*Math.random()-25);(e.hasClass("qodef-grid-item")?e.children(".qodef-e-inner"):e).attr("data-parallax",'{"y": '+o+', "smoothness": 30}')}),d.initParallax()},initParallax:function(){t("[data-parallax]").length&&!qodefCore.html.hasClass("touchevents")&&"object"==typeof ParallaxScroll&&ParallaxScroll.init()}},a=(qodefCore.qodefParallaxItem=d,{init:function(){var e=t(".qodef-appear-item:not(.qodef--appeared)"),e=(e.length&&e.each(function(){var e=t(this);qodefCore.qodefIsInViewport.check(e,function(){e.addClass("qodef--appeared")})}),t(".qodef-appear-group"));e.length&&e.each(function(){qodefCore.qodefIsInViewport.check(t(this),function(){var e=t(this).find(".qodef-appear-group-item:not(.qodef--appeared)"),o=0;e.length&&e.each(function(){var e=t(this);o++,setTimeout(function(){e.addClass("qodef--appeared")},200*o)})})})}});qodefCore.qodefAppearItems=a}(jQuery),function(o){"use strict";o(document).ready(function(){t.init()});var t={init:function(){var e;this.holder=o("#qodef-age-verification-modal"),this.holder.length&&(e=this.holder.find(".qodef-m-content-prevent")).length&&e.find(".qodef-prevent--yes").on("click",function(){var e=new Date,e=(e.setTime(e.getTime()+6048e5),"expires="+e.toUTCString());document.cookie="disabledAgeVerification=Yes;"+e+";path=/",t.handleClassAndScroll("remove")})},handleClassAndScroll:function(e){"remove"===e&&(qodefCore.body.removeClass("qodef-age-verification--opened"),qodefCore.qodefScroll.enable()),"add"===e&&(qodefCore.body.addClass("qodef-age-verification--opened"),qodefCore.qodefScroll.disable())}}}(jQuery),function(d){"use strict";d(document).ready(function(){a.init()});var a={init:function(){this.holder=d("#qodef-back-to-top"),this.holder.length&&(this.holder.on("click",function(e){e.preventDefault(),a.animateScrollToTop()}),a.showHideBackToTop())},animateScrollToTop:function(){function o(){var e;0!==i&&(i<1e-4&&(i=0),e=a.easingFunction((n-i)/n),d("html, body").scrollTop(n-(n-i)*e),i*=.9,t=requestAnimationFrame(o))}var t,n=qodef.scroll,i=qodef.scroll;o(),d(window).one("wheel touchstart",function(){cancelAnimationFrame(t)})},easingFunction:function(e){return 0==e?0:Math.pow(1024,e-1)},showHideBackToTop:function(){d(window).scroll(function(){var e=d(this),o=e.scrollTop(),e=e.height(),o=0<o?o+e/2:1;o<1e3?a.addClass("off"):a.addClass("on")})},addClass:function(e){this.holder.removeClass("qodef--off qodef--on"),"on"===e?this.holder.addClass("qodef--on"):this.holder.addClass("qodef--off")}}}(jQuery),function(o){"use strict";o(window).on("load",function(){n.init()}),o(window).resize(function(){n.init()});var n={init:function(){var e=o(".qodef-background-text");e.length&&e.each(function(){n.responsiveOutputHandler(o(this))})},responsiveOutputHandler:function(t){o.each({3840:1441,1440:1367,1366:1025,1024:1},function(e,o){qodef.windowWidth<=e&&qodef.windowWidth>=o&&n.generateResponsiveOutput(t,e)})},generateResponsiveOutput:function(e,o){e=e.find(".qodef-m-background-text");e.length&&e.css({"font-size":e.data("size-"+o)+"px",top:e.data("vertical-offset-"+o)+"px"})}};
1window.qodefBackgroundText=n}(jQuery),function(t){"use strict";t(window).on("load",function(){e.init()});var e={holder:"",init:function(){this.holder=t("#qodef-page-footer.qodef--uncover"),this.holder.length&&!qodefCore.html.hasClass("touchevents")&&(e.addClass(),e.setHeight(this.holder),t(window).resize(function(){e.setHeight(e.holder)}))},setHeight:function(e){e.css("height","auto");var o=e.outerHeight();0<o&&(t("#qodef-page-outer").css({"margin-bottom":o,"background-color":qodefCore.body.css("backgroundColor")}),e.css("height",o))},addClass:function(){qodefCore.body.addClass("qodef-page-footer--uncover")}}}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()}),n(window).on("resize",function(){i.handleHeaderWidth("resize")});var i={init:function(){var t=n("a.qodef-fullscreen-menu-opener"),e=n("#qodef-fullscreen-area nav ul li a");t.length&&(i.handleHeaderWidth("init"),t.on("click",function(e){e.preventDefault();var o=n(this);qodefCore.body.hasClass("qodef-fullscreen-menu--opened")?i.closeFullscreen(o):(i.openFullscreen(o),n(document).keyup(function(e){27===e.keyCode&&i.closeFullscreen(o)}))}),e.on("tap click",function(e){var o=n(this);o.parent().hasClass("menu-item-has-children")?(e.preventDefault(),i.clickItemWithChild(o)):"http://#"!==o.attr("href")&&"#"!==o.attr("href")&&i.closeFullscreen(t)}))},openFullscreen:function(e){e.addClass("qodef--opened"),qodefCore.body.removeClass("qodef-fullscreen-menu-animate--out").addClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in"),qodefCore.qodefScroll.disable()},closeFullscreen:function(e){e.removeClass("qodef--opened"),qodefCore.body.removeClass("qodef-fullscreen-menu--opened qodef-fullscreen-menu-animate--in").addClass("qodef-fullscreen-menu-animate--out"),qodefCore.qodefScroll.enable(),n("nav.qodef-fullscreen-menu ul.sub_menu").slideUp(200)},clickItemWithChild:function(e){var e=e.parent(),o=e.find(".sub-menu").first();o.is(":visible")?(o.slideUp(300),e.removeClass("qodef--opened")):(o.slideDown(300),e.addClass("qodef--opened").siblings().find(".sub-menu").slideUp(400))},handleHeaderWidth:function(e){var o=n("#qodef-page-header"),t=n("a.qodef-fullscreen-menu-opener");o.length&&t.length&&(1024<qodefCore.windowWidth?qodefCore.body.height()>qodefCore.windowHeight&&("resize"===e&&o.css({width:""}),o.width(o.width())):o.css({width:""}))}}}(jQuery),function(){"use strict";jQuery(document).ready(function(){e.init()});var e={appearanceType:function(){return-1!==qodefCore.body.attr("class").indexOf("qodef-header-appearance--")?qodefCore.body.attr("class").match(/qodef-header-appearance--([\w]+)/)[1]:""},init:function(){var e=this.appearanceType();""!==e&&"none"!==e&&qodefCore[e+"HeaderAppearance"]()}}}(),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e,o,t;qodefCore.body.hasClass("qodef-mobile-header-appearance--sticky")&&(e=qodefCore.scroll,o=qodefGlobal.vars.mobileHeaderHeight+qodefGlobal.vars.adminBarHeight,t=n("#qodef-page-outer"),i.showHideMobileHeader(e,o,t),n(window).scroll(function(){i.showHideMobileHeader(e,o,t),e=qodefCore.scroll}),n(window).resize(function(){t.css("padding-top",0),i.showHideMobileHeader(e,o,t)}))},showHideMobileHeader:function(e,o,t){qodefCore.windowWidth<=1024&&(qodefCore.scroll>2*o?(qodefCore.body.addClass("qodef-mobile-header--sticky"),setTimeout(function(){qodefCore.body.addClass("qodef-mobile-header--sticky-animation")},300),t.css("padding-top",qodefGlobal.vars.mobileHeaderHeight)):(qodefCore.body.removeClass("qodef-mobile-header--sticky"),setTimeout(function(){qodefCore.body.removeClass("qodef-mobile-header--sticky-animation")},300),t.css("padding-top",0)),qodefCore.scroll>e&&qodefCore.scroll>o||qodefCore.scroll<3*o?qodefCore.body.removeClass("qodef-mobile-header--sticky-display"):qodefCore.body.addClass("qodef-mobile-header--sticky-display"))}}}(jQuery),function(r){"use strict";r(document).ready(function(){e.init()});var e={init:function(){e.dropdownBehavior(),e.wideDropdownPosition(),e.dropdownPosition()},dropdownBehavior:function(){r(".qodef-header-navigation > ul > li").each(function(){var t=r(this);t.find(".qodef-drop-down-second").length&&qodef.qodefWaitForImages.check(t,function(){var e=t.find(".qodef-drop-down-second"),o=e.find(".qodef-drop-down-second-inner ul").outerHeight();navigator.userAgent.match(/(iPod|iPhone|iPad)/)?t.on("touchstart mouseenter",function(){e.css({height:o,overflow:"visible",visibility:"visible",opacity:"1"})}).on("mouseleave",function(){e.css({height:"0px",overflow:"hidden",visibility:"hidden",opacity:"0"})}):qodefCore.body.hasClass("qodef-drop-down-second--animate-height")?t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").css({visibility:"visible",height:"0",opacity:"1"}),e.stop().animate({height:o},500,"swing",function(){e.css("overflow","visible")})},100)},timeout:100,out:function(){e.stop().animate({height:"0",opacity:0}
1,100,function(){e.css({overflow:"hidden",visibility:"hidden"})}),e.removeClass("qodef-drop-down--start")}}):t.hoverIntent({interval:0,over:function(){setTimeout(function(){e.addClass("qodef-drop-down--start").stop().css({height:o})},150)},timeout:150,out:function(){e.stop().css({height:"0"}).removeClass("qodef-drop-down--start")}})})})},wideDropdownPosition:function(){var e=r(".qodef-header-navigation > ul > li.qodef-menu-item--wide");e.length&&e.each(function(){var e,o,t=r(this).find(".qodef-drop-down-second");t.length&&(t.css("left",0),e=t.offset().left,qodefCore.body.hasClass("qodef--boxed")?(o=r(".qodef--boxed #qodef-page-wrapper").outerWidth(),e-=(qodefCore.windowWidth-o)/2,t.css({left:-e,width:o})):qodefCore.body.hasClass("qodef-drop-down-second--full-width")?t.css({left:-e,width:qodefCore.windowWidth}):t.css({left:-e+(qodefCore.windowWidth-t.width())/2}))})},dropdownPosition:function(){var e=r(".qodef-header-navigation > ul > li.qodef-menu-item--narrow.menu-item-has-children");e.length&&e.each(function(){var e,o=r(this),t=o.offset().left,n=o.find(".qodef-drop-down-second"),i=n.find(".qodef-drop-down-second-inner ul"),d=i.outerWidth(),a=r(window).width()-t;qodef.body.hasClass("qodef--boxed")&&(a=r(".qodef--boxed #qodef-page-wrapper").outerWidth()-t),0<o.find("li.menu-item-has-children").length&&(e=a-d),n.removeClass("qodef-drop-down--right"),i.removeClass("qodef-drop-down--right"),(a<d||e<d)&&(n.addClass("qodef-drop-down--right"),i.addClass("qodef-drop-down--right"))})}}}(jQuery),function(n){"use strict";n(window).on("load",function(){i.init()});var i={init:function(e){this.$sections=n(".qodef-parallax"),n.extend(this.$sections,e);e=!qodefCore.html.hasClass("touchevents")&&!qodefCore.body.hasClass("qodef-browser--edge")&&!qodefCore.body.hasClass("qodef-browser--ms-explorer");this.$sections.length&&e&&this.$sections.each(function(){i.ready(n(this))})},ready:function(e){e.$imgHolder=e.find(".qodef-parallax-img-holder"),e.$imgWrapper=e.find(".qodef-parallax-img-wrapper"),e.$img=e.find("img.qodef-parallax-img");var o=e.height(),t=e.$imgWrapper.height();e.movement=100*(t-o)/o/2,e.buffer=window.pageYOffset,e.scrollBuffer=null,requestAnimationFrame(function(){e.$imgHolder.animate({opacity:1},100),i.calc(e),i.loop(e)}),n(window).on("resize",function(){i.calc(e)})},calc:function(e){var o=e.$imgWrapper.height(),t=e.$imgWrapper.width();e.$img.width()<t&&e.$img.css({width:"100%",height:"auto"}),e.$img.height()<o&&e.$img.css({height:"100%",width:"auto","max-width":"unset"})},loop:function(e){if(e.scrollBuffer===Math.round(window.pageYOffset))return requestAnimationFrame(function(){i.loop(e)}),!1;e.scrollBuffer=Math.round(window.pageYOffset);var o=window.outerHeight,t=e.offset().top,n=e.height();e.scrollBuffer+1.2*o>t&&e.scrollBuffer<t+n&&(o=((t=(Math.abs(e.scrollBuffer+o-t)/(o+n)).toFixed(4))*e.movement).toFixed(4),e.buffer!==t&&e.$imgWrapper.css("transform","translate3d(0,"+o+"%, 0)"),e.buffer=t),requestAnimationFrame(function(){i.loop(e)})}};qodefCore.qodefParallaxBackground=i}(jQuery),function(d){"use strict";d(document).ready(function(){e.init()});var e={init:function(){function i(e,o){for(var t=0;t<e.length;t++){var n=e[t];t<o?d(n).addClass("active"):d(n).removeClass("active")}}var e=d("#qodef-page-comments-form .qodef-rating-inner");e.each(function(){var e=d(this),o=e.find(".qodef-rating"),t=o.val(),n=e.find(".qodef-star-rating");i(n,t),n.on("click",function(){o.val(d(this).data("value")).trigger("change")}),o.change(function(){t=o.val(),i(n,t)})})}}}(jQuery),function(i){"use strict";i(document).ready(function(){d.init()});var d={init:function(){var e=i("a.qodef-side-area-opener"),o=i("#qodef-side-area-close"),t=i("#qodef-side-area"),n=i("#qodef-page-wrapper");i(".qodef-side-area-cover").remove(),n.prepend('<div class="qodef-side-area-cover"/>'),d.openerHoverColor(e),e.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-side-area--opened")?d.closeSideArea():(d.openSideArea(),i(document).keyup(function(e){27===e.keyCode&&d.closeSideArea()}))}),o.on("click",function(e){e.preventDefault(),d.closeSideArea()}),t.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(t)},openSideArea:function(){var e=i(window).scrollTop();qodefCore.body.removeClass("qodef-side-area-animate--out").addClass("qodef-side-area--opened qodef-side-area-animate--in"),i(".qodef-side-area-cover").on("click",function(e){e.preventDefault(),d.closeSideArea()}),i(window).scroll(function(){400<Math.abs(qodefCore.scroll-e)&&d.closeSideArea()})},closeSideArea:function(){qodefCore.body.removeClass("qodef-side-area--opened qodef-side-area-animate--in").addClass("qodef-side-area-animate--out")},openerHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){e.css("color",o)}).on("mouseleave",function(){e.css("color",t)}))}}}(jQuery),function(i){"use strict";i(document).ready(function(){d.init()}),i(window).on("load",function(){d.windowLoaded=!0,"visible"===document.visibilityState?d.fadeOutLoader():document.addEventListener("visibilitychange",function(){"visible"===document.visibilityState&&d.fadeOutLoader()})}),i(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&d.init(e)});var d={holder:"",windowLoaded:!1,init:function(e){this.holder=i("#qodef-page-spinner:not(.qodef--custom-spinner):not(.qodef-layout--textual):not(.qodef-layout--richmond)"),this.holder.length&&(d.animateSpinner(e),d.fadeOutAnimation())},animateSpinner:function(e){e&&d.fadeOutLoader()},fadeOutLoader:function(o,e,t){var n=d.holder.length?d.holder:i("#qodef-page-spinner:not(.qodef--custom-spinner):not(.qodef-layout--textual):not(.qodef-layout--richmond)");o=o||600,t=t||"swing",n.delay(e=e||0).fadeOut(o,t),i(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&n.fadeOut(o,t)})},fadeOutAnimation:function(){var t,e;qodefCore.body.hasClass("qodef-spinner--fade-out")&&(t=i("#qodef-page-wrapper"),e=i("a"),window.addEventListener("pageshow",function(e){(e.persisted||void 0!==window.performance&&2===window.performance.navigation.type)&&!t.is(":visible")&&t.show()}),e.on("click",function(e){var o=i(this);1===e.which&&0<=o.attr("href").indexOf(window.location.host)&&!o.hasClass("remove")&&o.parent(".product-remove").length<=0&&o.parents(".woocommerce-product-gallery__image").length<=0&&void 0===o.data("rel")&&void 0===o.attr("rel")&&!o.hasClass("lightbox-active")&&(void 0===o.attr("target")||"_self"===o.attr("target"))&&o.attr("href").split("#")[0]!==window.location.href.split("#")[0]&&(e.preventDefault(),t.fadeOut(600,"easeOutSine",function(){window.location=o.attr("href")}))}))}}}(jQuery),function(a){"use strict";a(window).on("load",function(){r.init()});var r={init:function(){var e,o,t,n,i,d;
1this.holder=a("#qodef-subscribe-popup-modal"),this.holder.length&&(e=this.holder.find(".qodef-sp-prevent"),o=a(".qodef-sp-close"),t="no",e.length&&(n=this.holder.hasClass("qodef-sp-prevent-cookies"),i=e.find(".qodef-sp-prevent-input"),d=i.data("value"),n?(t=localStorage.getItem("disabledPopup"),sessionStorage.removeItem("disabledPopup")):(t=sessionStorage.getItem("disabledPopup"),localStorage.removeItem("disabledPopup")),e.children().on("click",function(e){"yes"!==d?(d="yes",i.addClass("qodef-sp-prevent-clicked").data("value","yes")):(d="no",i.removeClass("qodef-sp-prevent-clicked").data("value","no")),"yes"===d?(n?localStorage:sessionStorage).setItem("disabledPopup","yes"):(n?localStorage:sessionStorage).setItem("disabledPopup","no")})),"yes"!==t&&(qodefCore.body.hasClass("qodef-sp-opened")?r.handleClassAndScroll("remove"):r.handleClassAndScroll("add"),o.on("click",function(e){e.preventDefault(),r.handleClassAndScroll("remove")}),a(document).keyup(function(e){27===e.keyCode&&r.handleClassAndScroll("remove")})))},handleClassAndScroll:function(e){"remove"===e&&(qodefCore.body.removeClass("qodef-sp-opened"),qodefCore.qodefScroll.enable()),"add"===e&&(qodefCore.body.addClass("qodef-sp-opened"),qodefCore.qodefScroll.disable())}}}(jQuery),function(a){"use strict";a(document).ready(function(){r.init()}),a(window).on("load",function(){o.init()}),a(window).on("resize",function(){1024<qodefCore.windowWidth&&o.holder.length&&o.callStack(o.holder)}),a(window).on("scroll",function(){1024<qodefCore.windowWidth&&o.holder.length&&o.infoPosition(o.holder)}),a(document).on("richmond_trigger_get_new_posts",function(e){o.init()});var o={holder:a(".qodef-room-sticky-widget"),init:function(){var e=this.holder;e.length&&1024<qodefCore.windowWidth&&(e.wrapper=e.parents("#qodef-room-list-sidebar, #qodef-page-sidebar"),e.offsetM=e.offset().top-e.wrapper.offset().top,e.adj=15,o.callStack(e))},calc:function(e){var o=a(".qodef-page-content-section"),t=qodefCore.body.hasClass("qodef-header-appearance--none")?0:parseInt(qodefGlobal.vars.headerHeight,10);1024<qodefCore.windowWidth&&o.height()<100&&o.css("height",e.wrapper.height()-o.height()),e.start=o.offset().top,e.end=o.height(),e.h=e.wrapper.height(),e.w=e.parent().width(),e.left=e.offset().left,e.top=t+qodefGlobal.vars.adminBarHeight-e.offsetM,e.data("state","top")},infoPosition:function(e){var o;qodefCore.scroll<e.start-e.top&&qodefCore.scroll+e.h&&"top"!==e.data("state")?(gsap.to(e.wrapper,.1,{y:5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}),e.data("state","top"),e.wrapper.css({position:"static"})):qodefCore.scroll>=e.start-e.top&&qodefCore.scroll+e.h+e.adj<=e.start+e.end&&"fixed"!==e.data("state")?(o="top"===e.data("state")?1:-1,e.data("state","fixed"),e.wrapper.css({position:"fixed",top:e.top,left:e.left,width:e.w}),gsap.fromTo(e.wrapper,.2,{y:0},{y:10*o,ease:Power4.easeInOut}),gsap.to(e.wrapper,.2,{y:0,delay:.2})):qodefCore.scroll+e.h+e.adj>e.start+e.end&&"bottom"!==e.data("state")&&(e.data("state","bottom"),e.wrapper.css({position:"absolute",top:e.end-e.h-e.adj,left:parseInt(e.wrapper.parents(".qodef-page-sidebar-section").css("paddingLeft"),10)}),gsap.fromTo(e.wrapper,.1,{y:0},{y:-5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}))},callStack:function(e){this.calc(e),this.infoPosition(e)}},r={holder:a(".qodef-room-single"),form:a("#qodef-room-reservation-form"),date:[],priceField:"",price:0,guestsPrice:0,init:function(){this.holder.length&&(r.initCalendar(),r.initFormDatepicker(),window.scrollTo(0,0),qodefCore.body.scrollTop=0,r.initSelect2(),r.setFormTriggers(),r.triggerBooking(),setTimeout(function(){r.form[0].classList.add("qodef--loaded")},600))},initCalendar:function(){var e=r.holder.find(".qodef-datepick-calendar");e.length&&e.each(function(){var o=a(this),e=o.hasClass("qodef--range-on");o.datepick({dateFormat:qodefGlobal.vars.roomCalendarDateFormat,minDate:new Date,changeMonth:!1,rangeSelect:e,monthsToShow:e&&680<qodefCore.windowWidth?2:1,useMouseWheel:!e,prevText:qodefGlobal.vars.roomCalendarPrevText,nextText:qodefGlobal.vars.roomCalendarNextText,renderer:{picker:'<div class="datepick">{months}{popup:start}{popup:end}<div class="datepick-clear-fix"></div></div>',monthRow:'<div class="datepick-month-row">{link:prev}{months}{link:next}</div>'}
1,showAnim:"fadeIn",onShow:function(t){var e=o.data("reserved-dates"),e=(void 0!==e&&""!==e&&(e=e.split("|"),a.each(e,function(e,o){o=t.find('.datepick-month tr td a[title*="'+o+'"]');o.length&&o.addClass("datepick-disabled")})),o.data("last-room-dates"));void 0!==e&&""!==e&&(e=e.split("|"),a.each(e,function(e,o){o=t.find('.datepick-month tr td a[title*="'+o+'"]');o.length&&o.addClass("datepick-last-room")}))}})})},initFormDatepicker:function(){var e=r.form.find(".qodef-m-field-input.qodef--check-in"),o=e.val(),t=r.form.find(".qodef-m-field-input.qodef--check-out"),n=t.val();e.length&&t.length&&(o.length<=0&&(e.datepick("option","selectDefaultDate",!0),e.datepick("option","defaultDate","0")),e.datepick("option","onSelect",function(e){e=new Date(e[0].getFullYear(),e[0].getMonth(),e[0].getDate()+1);t.datepick("setDate",e).datepick("option","minDate",e).datepick("show")}),n.length<=0&&(t.datepick("option","selectDefaultDate",!0),t.datepick("option","defaultDate","+1d")),t.datepick("option","onSelect",function(e){r.calculatePrice()}),r.date.checkIn=e,r.date.checkOut=t,r.priceField=r.form.find(".qodef-m-field.qodef--price .qodef-m-price-value"),r.price=r.priceField.length?r.priceField.data("room-price"):0)},initSelect2:function(){var e=r.form.find(".qodef--select2");e.length&&e.each(function(){var e=a(this);"function"==typeof e.select2&&e.select2({minimumResultsForSearch:1/0})})},setFormTriggers:function(){r.triggerCalendarIcon(),r.setRoomsAmount(),r.setGuests(),r.setExtraServicesTriggers()},triggerCalendarIcon:function(){var e=r.form.find(".qodef-m-field-input-icon");e.length&&e.on("click",function(){var e=a(this).prev(".qodef-datepick-calendar");e.length&&!e.is(":focus")&&e.trigger("focus")})},setRoomsAmount:function(){var e=r.form.find('[name="qodef_room_amount"]');e.length&&e.on("change",function(){r.form.find('[name="quantity"]').val(parseInt(a(this).val(),10))})},setGuests:function(){var e=r.form.find(".qodef-m-field.qodef--guests");e.length&&(r.updateGuests(e),r.setGuestsTriggers(e))},updateGuests:function(e){var o=e.find(".qodef-m-field-input"),i="",d=0,e=e.find(".qodef-m-field-persons"),t=e.find(".qodef-e-input");t.length&&a.each(t,function(){var e=a(this),o=parseInt(e.val(),10),t=e.data("singular-label"),n=e.data("plural-label");0<o&&(i.length&&(i+=", "),i=i+o+(1<o?" "+n:" "+t)),e.parents().hasClass("qodef--infant")||(d+=o)}),i.length&&(o.val(i),o.data("count",d)),r.updateGuestsPrice(e)},setGuestsTriggers:function(e){var o=e.find(".qodef-m-field-persons");e.find(".qodef-m-field-input").on("click",function(e){r.setGuestsVisibility(o)}),e.find(".qodef-m-field-input-icon").on("click",function(e){r.setGuestsVisibility(o)}),e.find(".qodef-button").on("click",function(e){e.preventDefault(),r.setGuestsVisibility(o)}),e.siblings().find("input, select, .select2").on("click",function(e){o.hasClass("qodef--opened")&&r.setGuestsVisibility(o)}),a(document).keyup(function(e){27===e.keyCode&&o.hasClass("qodef--opened")&&r.setGuestsVisibility(o)}),o.find(".qodef-e-input").on("change",function(){r.updateGuests(e)})},setGuestsVisibility:function(e){e.offset().top+e.outerHeight()>qodefCore.windowHeight+qodefCore.scroll?e.addClass("qodef--above"):e.removeClass("qodef--above"),e.hasClass("qodef--opened")?e.removeClass("qodef--opened"):e.addClass("qodef--opened")},updateGuestsPrice:function(e){var o=parseInt(r.form.find('input[name="qodef_room_min_capacity"]').val(),10),t=e.find(".qodef--adult .qodef-e-input"),n=parseInt(t.val(),10),t=parseFloat(t.data("price")),e=e.find(".qodef--children .qodef-e-input"),i=parseInt(e.val(),10),e=parseFloat(e.data("price")),d=0;o<n&&(d+=t*(n-o)),0<i&&(d+=n<o?e*(i-o+n):e*i),r.guestsPrice=d,r.calculatePrice()},setExtraServicesTriggers:function(){var e=r.form.find(".qodef-m-field.qodef--extra-services .qodef-m-field-item");e.length&&e.find(".qodef-e-field-label, .qodef-e-field-checkbox").on("click",function(){var e,o=a(this).parent(),t=o.children(".qodef-e-field-input");t.is(":disabled")||(e=1,o.hasClass("qodef--checked")?(t.prop("checked",!(e=-1)),o.removeClass("qodef--checked")):(t.prop("checked",!0),o.addClass("qodef--checked")),o=r.getExtraServicePrice(t,t.data("price"))*e,r.updatePrice(o,!0))})},calculateExtraServices:function(){var e=r.form.find(".qodef-m-field.qodef--extra-services .qodef-e-field-input:checked"),o=0;e.length&&a.each(e,function(){var e=a(this);o+=r.getExtraServicePrice(e,e.data("price"))}),r.updatePrice(o)},getExtraServicePrice:function(e,o){var t=0,n=Math.round(Math.abs(new Date(r.date.checkOut.val())-new Date(r.date.checkIn.val()))/864e5);switch(e.data("service-type")){case"per-night":t=n*parseFloat(o);break;case"per-person":t=Math.abs(r.form.find(".qodef-m-field-input.qodef--guests").data("c
1ount"))*parseFloat(o);break;case"per-person-per-night":t=Math.abs(r.form.find(".qodef-m-field-input.qodef--guests").data("count"))*n*parseFloat(o);break;case"subtract":t-=parseFloat(o);break;case"subtract-per-night":t-=n*parseFloat(o);break;default:t=parseFloat(o)}return t},calculatePrice:function(){var e=Math.round(Math.abs(new Date(r.date.checkOut.val())-new Date(r.date.checkIn.val()))/864e5),t=r.price,o=0<r.guestsPrice?r.guestsPrice:0,n=(t+o)*(e=e<1?1:e),o=r.priceField.data("room-seasonal-dates"),d=[];void 0!==o&&""!==o&&(e=o.split("|"),a.each(e,function(t,e){var n=e.split(":"),e=n[1].split(";"),i=0;a.each(e,function(e,o){o=new Date(o);new Date(r.date.checkIn.val())<=o&&o<new Date(r.date.checkOut.val())&&(i++,d[t]={price:parseFloat(n[0]),days:i})})})),0<d.length&&a.each(d,function(e,o){void 0!==o&&(o.price>=t?n+=Math.abs(t-o.price)*o.days:n-=Math.abs(t-o.price)*o.days)}),r.priceField.data("room-price",n),r.calculateExtraServices()},updatePrice:function(e,o){var t=r.priceField,o=!0===o?t.text():t.data("room-price"),o=parseFloat(o)+e;t.text(o)},triggerBooking:function(){r.form.on("submit",function(e){var o,t,n,i=a(this);i.hasClass("qodef--book-now")||(e.preventDefault(),i.addClass("qodef--checking"),(o=i.find(".qodef-m-response")).removeClass("qodef--show qodef--success qodef--error qodef--undefined").empty(),e={room_id:i.find('input[name="add-to-cart"]').val(),check_in:i.find('input[name="qodef_room_check_in"]').val(),check_out:i.find('input[name="qodef_room_check_out"]').val(),room_amount:parseInt(i.find('[name="qodef_room_amount"]').val(),10),adult:parseInt(i.find('[name="qodef_room_adult"]').val(),10),children:parseInt(i.find('[name="qodef_room_children"]').val(),10),infant:parseInt(i.find('[name="qodef_room_infant"]').val(),10),extra_services:"",min_capacity:parseInt(i.find('input[name="qodef_room_min_capacity"]').val(),10),max_capacity:parseInt(i.find('input[name="qodef_room_max_capacity"]').val(),10),price:parseFloat(r.priceField.text())},(t=i.find(".qodef-m-field.qodef--extra-services .qodef-e-field-input:checked")).length&&(n=[],t.each(function(){n.push(a(this).val())}),n.length&&(e.extra_services=n.join(","))),a.ajax({type:"GET",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.getRoomReservationRestRoute,data:{options:e},success:function(e){o.addClass("qodef--show qodef--"+e.status).html(e.message),"success"===e.status&&(i.find('[name="qodef_room_price"]').val(e.data.price),setTimeout(function(){i.addClass("qodef--book-now").trigger("submit")},400))},error:function(e){console.log(e)},complete:function(){i.removeClass("qodef--checking")}}))})}};qodefCore.qodefRoomSingle=r}(jQuery),function(o){"use strict";qodefCore.shortcodes.richmond_core_accordion={},o(document).ready(function(){t.init()});var t={init:function(){var e=o(".qodef-accordion");e.length&&e.each(function(){t.initItem(o(this))})},initItem:function(e){e.hasClass("qodef-behavior--accordion")&&t.initAccordion(e),e.hasClass("qodef-behavior--toggle")&&t.initToggle(e),e.addClass("qodef--init")},initAccordion:function(e){e.accordion({animate:"swing",collapsible:!0,active:0,icons:"",heightStyle:"content"})},initToggle:function(e){e.find(".qodef-accordion-title").off().on("mouseenter",function(){o(this).addClass("ui-state-hover")}).on("mouseleave",function(){o(this).removeClass("ui-state-hover")}).on("click",function(e){e.preventDefault(),e.stopImmediatePropagation();e=o(this);e.hasClass("ui-state-active")?(e.removeClass("ui-state-active"),e.next().removeClass("ui-accordion-content-active").slideUp(300)):(e.addClass("ui-state-active"),e.next().addClass("ui-accordion-content-active").slideDown(400))})}};qodefCore.shortcodes.richmond_core_accordion.qodefAccordion=t}(jQuery),function(d){"use strict";d(document).ready(function(){a.init()}),d(window).scroll(function(){a.scroll()}),d(document).on("richmond_core_trigger_author_load_more",function(e,o,t){a.triggerLoadMore(o,t)});var a={init:function(e){this.holder=d(".qodef-author-pagination--on"),d.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=d(this);a.initPaginationType(e)})},scroll:function(e){this.holder=d(".qodef-author-pagination--on"),d.extend(this.holder,e),this.holder.length&&this.holder.each(function(){var e=d(this);e.hasClass("qodef-pagination-type--infinite-scroll")&&a.initInfiniteScroll(e)})},initPaginationType:function(e){e.hasClass("qodef-pagination-type--standard")?a.initStandard(e):e.hasClass("qodef-pagination-type--load-more")?a.initLoadMore(e):e.hasClass("qodef-pagination-type--infinite-scroll")&&a.initInfiniteScroll(e)},initStandard:function(n){var e,o=n.find(".qodef-m-pagination-items");o.length&&(e=n.data("options"),o.children().each(function(){var o=d(this),t=o.children("a");a.changeStandardState(n,e.max_num_pages,1),t.on("click",function(e){e.preventDefault(),o.hasClass("qodef--active")||a.getNewPosts(n,t.data("paged"))})}))},changeStandardState:function(e,o,t){var n,i;e.hasClass("qodef-pagination-type--standard")&&(n=(e=e.find(".qodef-m-pagination-items")).children(".qodef--number"),i=e.children(".qodef--prev"),e=e.children(".qodef--next"),n.removeClass("qodef--active").eq(t-1).addClass("qodef--active"),i.children().data("paged",t-1),1<t?i.show():i.hide(),e.children().data("paged",t+1),t===o?e.hide():e.show())},initLoadMore:function(o){o.find(".qodef-load-more-button").on("click",function(e){e.preventDefault(),a.getNewPosts(o)})},triggerLoadMore:function(e,o){a.getNewPosts(e,o)},hideLoadMoreButton:function(e,o){e.hasClass("qodef-pagination-type--load-more")&&o.next_page>o.max_num_pages&&e.find(".qodef-load-more-button").hide()},initInfiniteScroll:function(e){var o=e.outerHeight()+e.offset().top,t=qodefCore.scroll+qodefCore.windowHeight,n=e.data("options");!e.hasClass("qodef--loading")&&o<t&&n.max_num_pages>=n.next_page&&a.getNewPosts(e)},getNewPosts:function(o,t){o.addClass("qodef--loading");var n=o.children(".qodef-grid-inner"),i=o.data("options");a.setNextPageValue(i,t,!1),d.ajax({type:"GET",url:qodefGlobal.vars.restUrl+qodefGlobal.vars.authorPaginationRestRoute,data:{options:i},beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",qodefGlobal.vars.restNonce)},success:function(e){"success"===e.status?(a.setNextPageValue(i,t,!0),a.changeStandardState(o,i.max_num_pages,t),qodef.qodefWaitForImages.check(n,function(){a.addPosts(n,e.data,t),qodefCore.body.trigger("richmond_core_trigger_get_new_authors",[o])}),a.hideLoadMoreButton(o,i)):console.log(e.message)},complete:function(){o.removeClass("qodef--loading")}})},setNextPageValue:function(e,o,t){void 0===o||""===o||t?t&&(e.next_page=parseInt(e.next_page,10)+1):e.next_page=o},addPosts:function(e,o,t){void 0!==t&&""!==t?e.html(o):e.append(o)}}}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_button={},e(document).ready(function(){n.init()});var n={init:function(){this.buttons=e(".qodef-button"),this.buttons.length&&this.buttons.each(function(){n.initItem(e(this))})},initItem:function(e){n.buttonHoverColor(e),n.buttonHoverBgColor(e),n.buttonHoverBorderColor(e)},buttonHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter touchstart",function(){n.changeColor(e,"color",o)}),e.on("mouseleave touchend",function(){n.changeColor(e,"color",t)}))},buttonHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter touchstart",function(){n.changeColor(e,"background-color",o)}),e.on("mouseleave touchend",function(){n.changeColor(e,"background-color",t)}))},buttonHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter touchstart",function(){n.changeColor(e,"border-color",o)}),e.on("mouseleave touchend",function(){n.changeColor(e,"border-color",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.richmond_core_button.qodefButton=n}(jQuery),function(n){"use strict";qodefCore.shortcodes.richmond_core_cards_gallery={},n(document).ready(function(){o.init()});var o={init:function(){this.holder=n(".qodef-cards-gallery"),this.holder.length&&this.holder.each(function(){o.initItem(n(this))})},initItem:function(e){o.initCards(e),o.initBundle(e)},initCards:function(o){var t=o.find(".qodef-m-card");t.each(function(){var e=n(this);e.on("click",function(){if(!t.last().is(e))return e.addClass("qodef-out qodef-animating").siblings().addClass("qodef-animating-siblings"),e.detach(),e.insertAfter(t.last()),setTimeout(function(){e.removeClass("qodef-out")},200),setTimeout(function(){e.removeClass("qodef-animating").siblings().removeClass("qodef-animating-siblings")},1200),t=o.find(".qodef-m-card"),!1})})},initBundle:function(e){e.hasClass("qodef-animation--bundle")&&!qodefCore.html.hasClass("touchevents")&&qodefCore.qodefIsInViewport.check(e,function(){e.addClass("qodef--appeared"),e.find("img").one("animationend webkitAnimationEnd MSAnimationEnd oAnimationEnd",function(){n(this).addClass("qodef-animation-done")})})}};qodefCore.shortcodes.richmond_core_cards_gallery.qodefCardsGallery=o}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_countdown={},e(document).ready(function(){s.init()});var s={init:function(){this.countdowns=e(".qodef-countdown"),this.countdowns.length&&this.countdowns.each(function(){s.initItem(e(this))})},initItem:function(e){var o=e.find(".qodef-m-date"),t=["week","day","hour","minute","second"],e=s.generateOptions(e,t);s.initCountdown(o,e,t)},generateOptions:function(e,o){var t={};t.date=void 0!==e.data("date")?e.data("date"):null;for(var n=0;n<o.length;n++){var i=o[n]+"Label",d=o[n]+"LabelPlural";t[i]=void 0!==e.data(o[n]+"-label")?e.data(o[n]+"-label"):"",t[d]=void 0!==e.data(o[n]+"-label-plural")?e.data(o[n]+"-label-plural"):""}return t},initCountdown:function(n,i,d){var a=new Date(i.date).getTime(),r=setInterval(function(){var e=(new Date).getTime(),e=a-e;this.weeks=Math.floor(e/6048e5),this.days=Math.floor(e%6048e5/864e5),this.hours=Math.floor(e%864e5/36e5),this.minutes=Math.floor(e%36e5/6e4),this.seconds=Math.floor(e%6e4/1e3);for(var o=0;o<d.length;o++){var t=d[o]+"s";s.initiateDate(n,this[t],d[o],i)}e<0&&(clearInterval(r),s.afterClearInterval(n,d,i))},1e3)},initiateDate:function(e,o,t,n){e=e.find(".qodef-"+t+"s");e.find(".qodef-label").html(1===o?n[t+"Label"]:n[t+"LabelPlural"]),o=o<10?"0"+o:o,e.find(".qodef-digit").html(o)},afterClearInterval:function(e,o,t){for(var n=0;n<o.length;n++){var i=e.find(".qodef-"+o[n]+"s");i.find(".qodef-label").html(t[o[n]+"LabelPlural"]),i.find(".qodef-digit").html("00")}}};qodefCore.shortcodes.richmond_core_countdown.qodefCountdown=s}(jQuery),function(a){"use strict";qodefCore.shortcodes.richmond_core_counter={},a(document).ready(function(){n.init()});var n={init:function(){this.counters=a(".qodef-counter"),this.counters.length&&this.counters.each(function(){n.initItem(
1a(this))})},initItem:function(e){var o=e.find(".qodef-m-digit"),t=n.generateOptions(e);qodefCore.qodefIsInViewport.check(e,function(){n.counterScript(o,t)},!1)},generateOptions:function(e){var o={};return o.start=void 0!==e.data("start-digit")&&""!==e.data("start-digit")?e.data("start-digit"):0,o.end=void 0!==e.data("end-digit")&&""!==e.data("end-digit")?e.data("end-digit"):null,o.step=void 0!==e.data("step-digit")&&""!==e.data("step-digit")?e.data("step-digit"):1,o.delay=void 0!==e.data("step-delay")&&""!==e.data("step-delay")?parseInt(e.data("step-delay"),10):100,o.txt=void 0!==e.data("digit-label")&&""!==e.data("digit-label")?e.data("digit-label"):"",o},counterScript:function(e,o){var t=a.extend({start:0,end:null,step:1,delay:50,txt:""},o||{}),n=t.start,i=t.end,d=(e.text(n+t.txt),setInterval(function(){null!==i&&i<=n||(n+=t.step,i<=n&&(n=i,clearInterval(d)),e.text(n+t.txt))},t.delay))}};qodefCore.shortcodes.richmond_core_counter.qodefCounter=n}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_frame_slider={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-frame-slider-holder"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o=e.find(".qodef-m-swiper"),t=e.find(".qodef-m-items"),e=e.find(".swiper-pagination");new Swiper(o,{slidesPerView:"auto",centeredSlides:!0,spaceBetween:0,autoplay:!0,loop:!0,speed:800,pagination:{el:e,type:"bullets",clickable:!0},on:{init:function(){setTimeout(function(){t.addClass("qodef-swiper--initialized")},1500)}}})}};qodefCore.shortcodes.richmond_core_frame_slider.qodefFrameSlider=o}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_google_map={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-google-map"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){void 0!==window.qodefGoogleMap&&window.qodefGoogleMap.init(e.find(".qodef-m-map"))}};qodefCore.shortcodes.richmond_core_google_map.qodefGoogleMap=o}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_icon={},e(document).ready(function(){i.init()});var i={init:function(){this.icons=e(".qodef-icon-holder"),this.icons.length&&this.icons.each(function(){i.initItem(e(this))})},initItem:function(e){i.iconHoverColor(e),i.iconHoverBgColor(e),i.iconHoverBorderColor(e)},iconHoverColor:function(e){var o,t,n;void 0!==e.data("hover-color")&&(o=e.find("span").length?e.find("span"):e,t=o.css("color"),n=e.data("hover-color"),e.on("mouseenter",function(){i.changeColor(o,"color",n)}),e.on("mouseleave",function(){i.changeColor(o,"color",t)}))},iconHoverBgColor:function(e){var o,t;void 0!==e.data("hover-background-color")&&(o=e.data("hover-background-color"),t=e.css("background-color"),e.on("mouseenter",function(){i.changeColor(e,"background-color",o)}),e.on("mouseleave",function(){i.changeColor(e,"background-color",t)}))},iconHoverBorderColor:function(e){var o,t;void 0!==e.data("hover-border-color")&&(o=e.data("hover-border-color"),t=e.css("borderTopColor"),e.on("mouseenter",function(){i.changeColor(e,"border-color",o)}),e.on("mouseleave",function(){i.changeColor(e,"border-color",t)}))},changeColor:function(e,o,t){e.css(o,t)}};qodefCore.shortcodes.richmond_core_icon.qodefIcon=i}(jQuery),function(o){"use strict";qodefCore.shortcodes.richmond_core_image_gallery={},qodefCore.shortcodes.richmond_core_image_gallery.qodefSwiper=qodef.qodefSwiper,qodefCore.shortcodes.richmond_core_image_gallery.qodefMasonryLayout=qodef.qodefMasonryLayout,qodefCore.shortcodes.richmond_core_image_gallery.qodefMagnificPopup=qodef.qodefMagnificPopup,o(document).ready(function(){t.init()});var t={init:function(){this.holder=o(".qodef-border-item"),this.holder.length&&this.holder.each(function(){var e=o(this);t.borderAnimation(e)})},borderAnimation:function(e){qodefCore.qodefIsInViewport.check(e,function(){e.addClass("qodef--border-animation")})}};qodefCore.shortcodes.richmond_core_image_gallery.qodefBorderItemAnimation=t}(jQuery),function(r){"use strict";qodefCore.shortcodes.richmond_core_image_with_text={},r(window).on("load",function(){s.init()});var s={init:function(){var e=r(".qodef-image-with-text.qodef-image-action--scrolling-image"),o=r(".qodef-image-with-text.qodef-type--video");e.length&&e.each(function(){function e(){o=s.sizing(i,d,a),s.scrollAnimation(n,i,o)}var o,t=r(this),n=t.find(".qodef-m-image-inner-holder"),i=t.find(".qodef-m-image img"),d=t.find(".qodef-m-iwt-frame"),a=t.hasClass("qodef-scrolling-direction--horizontal");e(),r(window).resize(function(){e()})}),o.length&&o.each(function(){var e=r(this),o=e.find(".qodef-m-video video");s.initVideo(e,o)})},sizing:function(e,o,t){var n,i=o.height(),d=e.height(),o=o.width(),e=e.width(),a=!1,r=t?(n=Math.round(e-o),3*Math.round(e/o)):(n=Math.round(d-i),3*Math.round(d/i));return t?o<e&&(a=!0):i<d&&(a=!0),{delta:n,timing:r,scrollable:a,horizontal:t}},scrollAnimation:function(e,o,t){e.mouseenter(function(){o.css("transition-duration",t.timing+"s"),t.horizontal?o.css("transform","translate3d(-"+t.delta+"px, 0px, 0px)"):o.css("transform","translate3d(0px, -"+t.delta+"px, 0px)")}),e.mouseleave(function(){t.scrollable&&(o.css("transition-duration",Math.min(t.timing/3,3)+"s"),o.css("transform","translate3d(0px, 0px, 0px)"))})},initVideo:function(e,o){e.mouseover(function(){o.get(0).play()}).mouseout(function(){o.get(0).pause()})}};qodefCore.shortcodes.richmond_core_image_with_text.qodefScrollingImageWithText=s,qodefCore.shortcodes.richmond_core_image_with_text.qodefMagnificPopup=qodef.qodefMagnificPopup}(jQuery),function(){"use strict";qodefCore.shortcodes.richmond_core_interactive_link_showcase={}}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_item_showcase={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-item-showcase"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){qodefCore.qodefIsInViewport.check(e,function(){e.addClass("qodef--init")})}};qodefCore.shortcodes.richmond_core_item_showcase.qodefItemShowcaseList=o}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_progress_bar={},e(document).ready(function(){d.init()});var d={init:function(){this.holder=e(".qodef-progress-bar"),this.holder.length&&this.holder.each(function(){d.initItem(e(this))})},initItem:function(n){var i=n.data("layout");qodefCore.qodefIsInViewport.check(n,function(){n.addClass("qodef--init");var e=n.find(".qodef-m-canvas"),o=d.generateBarData(n,i),t=n.data("number")/100;switch(i){case"circle":d.initCircleBar(e,o,t);break;case"semi-circle":d.initSemiCircleBar(e,o,t);break;case"line":o=d.generateLineData(n,t),d.initLineBar(e,o);break;
1case"custom":d.initCustomBar(e,o,t)}},!1)},generateBarData:function(e,t){var o=e.data("active-line-width"),n=e.data("active-line-color"),i=e.data("inactive-line-width"),d=e.data("inactive-line-color");return{strokeWidth:o,color:n,trailWidth:i,trailColor:d,easing:"linear",duration:void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,svgStyle:{width:"100%",height:"100%"},text:{style:{color:e.data("text-color")},autoStyleContainer:!1},from:{color:d},to:{color:n},step:function(e,o){"custom"!==t&&o.setText(Math.round(100*o.value())+"%")}}},generateLineData:function(e,o){var t=e.data("active-line-width"),n=e.data("active-line-color"),i=e.data("inactive-line-width"),d=e.data("inactive-line-color"),a=void 0!==e.data("duration")&&""!==e.data("duration")?parseInt(e.data("duration"),10):1600,r=e.data("text-color");return{percentage:100*o,duration:a,fillBackgroundColor:n,backgroundColor:d,height:t,inactiveHeight:i,followText:e.hasClass("qodef-percentage--floating"),textColor:r}},initCircleBar:function(e,o,t){d.checkBar(e)&&new ProgressBar.Circle(e[0],o).animate(t)},initSemiCircleBar:function(e,o,t){d.checkBar(e)&&new ProgressBar.SemiCircle(e[0],o).animate(t)},initCustomBar:function(e,o,t){d.checkBar(e)&&((e=new ProgressBar.Path(e[0],o)).set(0),e.animate(t))},initLineBar:function(e,o){e.LineProgressbar(o)},checkBar:function(e){return!e.find("svg").length}};qodefCore.shortcodes.richmond_core_progress_bar.qodefProgressBar=d}(jQuery),function(o){"use strict";qodefCore.shortcodes.richmond_core_single_image={},o(document).ready(function(){t.init()});var t={init:function(){this.holder=o(".qodef-border-item"),this.holder.length&&this.holder.each(function(){var e=o(this);t.borderAnimation(e)})},borderAnimation:function(e){qodefCore.qodefIsInViewport.check(e,function(){e.addClass("qodef--border-animation")})}};qodefCore.shortcodes.richmond_core_single_image.qodefBorderItemAnimation=t}(jQuery),function(t){"use strict";qodefCore.shortcodes.richmond_core_stacked_images={},t(document).ready(function(){e.init()});var e={init:function(){var e=t(".qodef-stacked-images");e.length&&e.each(function(){var e=t(this).find(".qodef-m-image");e.length&&e.each(function(e){var o=t(this);setTimeout(function(){o.addClass("qodef--appeared")},500*e)})})}};qodefCore.shortcodes.richmond_core_stacked_images.qodefStackedImages=e}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_swapping_image_gallery={},e(document).ready(function(){o.init()});var o={init:function(){this.holder=e(".qodef-swapping-image-gallery"),this.holder.length&&this.holder.each(function(){o.initItem(e(this))})},initItem:function(e){var o=e.find(".qodef-m-image-holder"),t=e.find(".qodef-m-thumbnails-holder .qodef-grid-inner");new Swiper(o,{slidesPerView:1,centeredSlides:!1,spaceBetween:0,autoplay:!1,loop:!1,speed:800,pagination:{el:t,type:"custom",clickable:!0,bulletClass:"qodef-m-thumbnail"},on:{init:function(){o.addClass("qodef-swiper--initialized"),t.find(".qodef-m-thumbnail").eq(0).addClass("qodef--active")},slideChange:function(){var e=this.activeIndex;t.find(".qodef--active").removeClass("qodef--active"),t.find(".qodef-m-thumbnail").eq(e).addClass("qodef--active")}}})}};qodefCore.shortcodes.richmond_core_swapping_image_gallery.qodefSwappingImageGallery=o}(jQuery),function(n){"use strict";qodefCore.shortcodes.richmond_core_tabs={},n(document).ready(function(){e.init()});var e={init:function(){this.holder=n(".qodef-tabs"),this.holder.length&&this.holder.each(function(){e.initItem(n(this))})},initItem:function(e){e.children(".qodef-tabs-content").each(function(e){e+=1;var o=n(this),t=o.attr("id"),o=o.parent().find(".qodef-tabs-navigation li:nth-child("+e+") a"),e=o.attr("href");-1<(t="#"+t).indexOf(e)&&o.attr("href",t)}),e.addClass("qodef--init").tabs()}};qodefCore.shortcodes.richmond_core_tabs.qodefTabs=e}(jQuery),function(n){"use strict";qodefCore.shortcodes.richmond_core_text_marquee={},n(document).ready(function(){i.init()});var i={init:function(){this.holder=n(".qodef-text-marquee"),this.holder.length&&this.holder.each(function(){i.initItem(n(this))})},initItem:function(e){i.initMarquee(e)},initMarquee:function(e){var o=e.find(".qodef-m-text");o.each(function(e){n(this).data("x",0)}),requestAnimationFrame(function(){i.loop(e,o,.05)})},inRange:function(e){return qodefCore.scroll+qodefCore.windowHeight>=e.offset().top&&qodefCore.scroll<e.offset().top+e.height()},loop:function(e,o,t){if(!i.inRange(e))return requestAnimationFrame(function(){i.loop(e,o,t)}),!1;o.each(function(e){var o=n(this);o.css("transform","translate3d("+o.data("x")+"%, 0, 0)"),o.data("x",(o.data("x")-t).toFixed(2)),o.offset().left<-o.width()-25&&o.data("x",100*
1Math.abs(e-1))}),requestAnimationFrame(function(){i.loop(e,o,t)})}};qodefCore.shortcodes.richmond_core_text_marquee.qodefTextMarquee=i}(jQuery),function(e){"use strict";qodefCore.shortcodes.richmond_core_time_and_weather={},e(document).ready(function(){})}(jQuery),function(i){"use strict";qodefCore.shortcodes.richmond_vertical_split_slider={},i(document).ready(function(){d.init()});var d={init:function(){var e=i(".qodef-vertical-split-slider");e.length&&d.initItem(e)},initItem:function(e){var t=i("#qodef-page-header-inner"),o=d.getBreakpoint(e),n="";t.hasClass("qodef-skin--light")?n="light":t.hasClass("qodef-skin--dark")&&(n="dark"),e.multiscroll({navigation:!0,navigationPosition:"right",easing:"easeInOutCubic",scrollingSpeed:800,afterRender:function(){qodefCore.body.addClass("qodef-vertical-split-slider--init"),d.headerClassHandler(i(".ms-left .ms-section:first-child").data("header-skin"),n,t)},onLeave:function(e,o){d.headerClassHandler(i(i(".ms-left .ms-section")[o-1]).data("header-skin"),n,t)}}),d.buildAndDestroy(o),i(window).resize(function(){d.buildAndDestroy(o)})},getBreakpoint:function(e){return e.hasClass("qodef-disable-below--768")?768:1024},buildAndDestroy:function(e){qodefCore.windowWidth<=e?(i.fn.multiscroll.destroy(),qodefCore.body.removeClass("qodef-vertical-split-slider--init"),qodefCore.body.css({overflow:"initial"}),qodefCore.html.css({overflow:"initial"})):(i.fn.multiscroll.build(),qodefCore.body.addClass("qodef-vertical-split-slider--init"))},headerClassHandler:function(e,o,t){var n=i("#multiscroll-nav");void 0!==e&&""!==e||""!==o?(t.removeClass("qodef-skin--light qodef-skin--dark").addClass("qodef-skin--"+e),n.length&&n.removeClass("qodef-skin--light qodef-skin--dark").addClass("qodef-skin--"+e)):(t.removeClass("qodef-skin--light qodef-skin--dark"),n.length&&n.removeClass("qodef-skin--light qodef-skin--dark"))}};qodefCore.shortcodes.richmond_vertical_split_slider.qodefVerticalSplitSlider=d}(jQuery),function(){"use strict";qodefCore.shortcodes.richmond_core_video_button={},qodefCore.shortcodes.richmond_core_video_button.qodefMagnificPopup=qodef.qodefMagnificPopup}(jQuery),function(n){"use strict";n(window).on("load",function(){o.init()});var o={init:function(){var e=n(".widget_richmond_core_sticky_sidebar");e.length&&1024<qodefCore.windowWidth&&(e.wrapper=e.parents("#qodef-page-sidebar"),e.offsetM=e.offset().top-e.wrapper.offset().top,e.adj=15,o.callStack(e),n(window).on("resize",function(){1024<qodefCore.windowWidth&&o.callStack(e)}),n(window).on("scroll",function(){1024<qodefCore.windowWidth&&o.infoPosition(e)}))},calc:function(e){var o=n(".qodef-page-content-section"),t=qodefCore.body.hasClass("qodef-header-appearance--none")?0:parseInt(qodefGlobal.vars.headerHeight,10);1024<qodefCore.windowWidth&&o.height()<100&&o.css("height",e.wrapper.height()-o.height()),e.start=o.offset().top,e.end=o.outerHeight(),e.h=e.wrapper.height(),e.w=e.outerWidth(),e.left=e.offset().left,e.top=t+qodefGlobal.vars.adminBarHeight-e.offsetM,e.data("state","top")},infoPosition:function(e){var o;qodefCore.scroll<e.start-e.top&&qodefCore.scroll+e.h&&"top"!==e.data("state")?(gsap.to(e.wrapper,.1,{y:5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}),e.data("state","top"),e.wrapper.css({position:"static"})):qodefCore.scroll>=e.start-e.top&&qodefCore.scroll+e.h+e.adj<=e.start+e.end&&"fixed"!==e.data("state")?(o="top"===e.data("state")?1:-1,e.data("state","fixed"),e.wrapper.css({position:"fixed",top:e.top,left:e.left,width:e.w}),gsap.fromTo(e.wrapper,.2,{y:0},{y:10*o,ease:Power4.easeInOut}),gsap.to(e.wrapper,.2,{y:0,delay:.2})):qodefCore.scroll+e.h+e.adj>e.start+e.end&&"bottom"!==e.data("state")&&(e.data("state","bottom"),e.wrapper.css({position:"absolute",top:e.end-e.h-e.adj,left:"auto",width:e.w}),gsap.fromTo(e.wrapper,.1,{y:0},{y:-5}),gsap.to(e.wrapper,.3,{y:0,delay:.1}))},callStack:function(e){this.calc(e),this.infoPosition(e)}}}(jQuery),function(e){"use strict";var t="richmond_core_blog_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o}),qodefCore.shortcodes[t].qodefResizeIframes=qodef.qodefResizeIframes}(jQuery),function(a){"use strict";a(document).ready(function(){t.init()});var t={openedScroll:0,initNavigation:function(e){e=e.find(".qodef-header-vertical-sliding-navigation");e.hasClass("qodef-vertical-sliding-drop-down--below")?t.dropdownClickToggle(e):e.hasClass("qodef-vertical-sliding-drop-down--side")&&t.dropdownFloat
1(e)},dropdownClickToggle:function(e){var d=e.find("ul li.menu-item-has-children");d.each(function(){var o=a(this).find(" > .qodef-drop-down-second, > ul"),t=this,n=a(this).find("> a"),i="fast";n.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.is(":visible")?(a(t).removeClass("qodef-menu-item--open"),o.slideUp(i)):(n.parent().parent().children().hasClass("qodef-menu-item--open")&&n.parent().parent().parent().hasClass("qodef-vertical-menu")?(a(this).parent().parent().children().removeClass("qodef-menu-item--open"),a(this).parent().parent().children().find(" > .qodef-drop-down-second").slideUp(i)):(a(this).parents("li").hasClass("qodef-menu-item--open")||(d.removeClass("qodef-menu-item--open"),d.find(" > .qodef-drop-down-second, > ul").slideUp(i)),a(this).parent().parent().children().hasClass("qodef-menu-item--open")&&(a(this).parent().parent().children().removeClass("qodef-menu-item--open"),a(this).parent().parent().children().find(" > .qodef-drop-down-second, > ul").slideUp(i))),a(t).addClass("qodef-menu-item--open"),o.slideDown("slow"))})})},dropdownFloat:function(e){var n=e.find("ul li.menu-item-has-children"),i=n.find(" > .qodef-drop-down-second > .qodef-drop-down-second-inner > ul, > ul");n.each(function(){var o=a(this).find(" > .qodef-drop-down-second > .qodef-drop-down-second-inner > ul, > ul"),t=this;Modernizr.touch?a(this).find("> a").on("click tap",function(e){e.preventDefault(),e.stopPropagation(),o.hasClass("qodef-float--open")?(o.removeClass("qodef-float--open"),a(t).removeClass("qodef-menu-item--open")):(a(this).parents("li").hasClass("qodef-menu-item--open")||(n.removeClass("qodef-menu-item--open"),i.removeClass("qodef-float--open")),o.addClass("qodef-float--open"),a(t).addClass("qodef-menu-item--open"))}):a(this).hoverIntent({over:function(){o.addClass("qodef-float--open"),a(t).addClass("qodef-menu-item--open")},out:function(){o.removeClass("qodef-float--open"),a(t).removeClass("qodef-menu-item--open")},timeout:300})})},verticalSlidingAreaScrollable:function(e){return e.hasClass("qodef-with-scroll")},initVerticalSlidingAreaScroll:function(e){t.verticalSlidingAreaScrollable(e)&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(e)},verticalSlidingAreaShowHide:function(o){o.find(".qodef-vertical-sliding-menu-opener").on("click",function(e){e.preventDefault();e=a(this);o.hasClass("qodef-vertical-sliding-menu--opened")?(e.removeClass("qodef--opened"),o.removeClass("qodef-vertical-sliding-menu--opened")):(e.addClass("qodef--opened"),o.addClass("qodef-vertical-sliding-menu--opened"),t.openedScroll=qodef.window.scrollTop())})},verticalSlidingAreaCloseOnScroll:function(e){qodef.window.on("scroll",function(){e.hasClass("qodef-vertical-sliding-menu--opened")&&400<Math.abs(qodef.scroll-t.openedScroll)&&(e.find(".qodef-vertical-sliding-menu-opener").removeClass("qodef--opened"),e.removeClass("qodef-vertical-sliding-menu--opened"))})},init:function(){var e=a(".qodef-header--vertical-sliding #qodef-page-header");e.length&&(t.verticalSlidingAreaShowHide(e),t.verticalSlidingAreaCloseOnScroll(e),t.initNavigation(e),t.initVerticalSlidingAreaScroll(e))}}}(jQuery),function(t){"use strict";var n={showHideHeader:function(e,o){1024<qodefCore.windowWidth&&(qodefCore.scroll<=0?(qodefCore.body.removeClass("qodef-header--fixed-display"),e.css("padding-top","0"),o.css("margin-top","0")):(qodefCore.body.addClass("qodef-header--fixed-display"),e.css("padding-top",parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.topAreaHeight)+"px"),o.css("margin-top",parseInt(qodefGlobal.vars.topAreaHeight)+"px")))},init:function(){var e,o;qodefCore.body.hasClass("qodef-header--vertical")||(e=t("#qodef-page-outer"),o=t("#qodef-page-header"),n.showHideHeader(e,o),t(window).scroll(function(){n.showHideHeader(e,o)}),t(window).resize(function(){e.css("padding-top","0"),n.showHideHeader(e,o)}))}};qodefCore.fixedHeaderAppearance=n.init}(jQuery),function(n){"use strict";var i={header:"",docYScroll:0,init:function(){var e=i.displayAmount();i.header=n(".qodef-header-sticky"),i.docYScroll=n(document).scrollTop(),i.setVisibility(e),n(window).scroll(function(){i.setVisibility(e)})},displayAmount:function(){return 0!==qodefGlobal.vars.qodefStickyHeaderScrollAmount?parseInt(qodefGlobal.vars.qodefStickyHeaderScrollAmount,10):parseInt(qodefGlobal.vars.headerHeight+qodefGlobal.vars.adminBarHeight,10)},setVisibility:function(e){var o,t=qodefCore.scroll<e;i.header.hasClass("qodef-appearance--up")&&(t=(o=n(document).scrollTop())>i.docYScroll&&e<o||o<e,i.docYScroll=n(document).scrollTop()),i.showHideHeader(t)},showHideHeader:function(e){e?qodefCore.body.removeClass("qodef-header--sticky-display"):qodefCore.body.addClass("qodef-header--sticky-display")}};qodefCore.stickyHeaderAppearance=i.init}(jQuery),function(a){"use strict";a(document).ready(function(){t.init()});var t={init:function(){var e,o=a("#qodef-side-area-mobile-header");o.length&&qodefCore.body.hasClass("qodef-mobile-header--side-area")&&(e=o.find(".qodef-m-navigation"),t.initOpenerTrigger(o,e),t.initNavigationClickToggle(e),"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(o))},initOpenerTrigger:function(o,e){var t=a(".qodef-side-area-mobile-header-opener"),n=o.children(".qodef-m-close");t.length&&e.length&&t.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),o.hasClass("qodef--opened")?o.removeClass("qodef--opened"):o.addClass("qodef--opened")}),n.on("tap click",function(e){e.stopPropagation(),e.preventDefault(),o.hasClass("qodef--opened")&&o.removeClass("qodef--opened")})},initNavigationClickToggle:function(e){var d=e.find("ul li.menu-item-has-children");d.each(function(){var o=a(this),t=o.find(" > .qodef-drop-down-second, > ul"),n=o.find(">
1 .qodef-menu-item-arrow"),i="fast";n.on("click tap",function(e){e.preventDefault(),e.stopPropagation(),t.is(":visible")?(o.removeClass("qodef-menu-item--open"),t.slideUp(i)):(n.parent().parent().children().hasClass("qodef-menu-item--open")&&n.parent().parent().parent().hasClass("qodef-vertical-menu")?(o.parent().parent().children().removeClass("qodef-menu-item--open"),o.parent().parent().children().find(" > .qodef-drop-down-second").slideUp(i)):(o.parents("li").hasClass("qodef-menu-item--open")||(d.removeClass("qodef-menu-item--open"),d.find(" > .qodef-drop-down-second, > ul").slideUp(i)),o.parent().parent().children().hasClass("qodef-menu-item--open")&&(o.parent().parent().children().removeClass("qodef-menu-item--open"),o.parent().parent().children().find(" > .qodef-drop-down-second, > ul").slideUp(i))),o.addClass("qodef-menu-item--open"),t.slideDown("slow"))})})}}}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e=n("a.qodef-search-opener"),o=n(".qodef-search-cover-form"),t=o.find(".qodef-m-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),i.openCoversHeader(o)}),t.on("click",function(e){e.preventDefault(),i.closeCoversHeader(o)}))},openCoversHeader:function(e){qodefCore.body.addClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.removeClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").focus()},600)},closeCoversHeader:function(e){qodefCore.body.removeClass("qodef-covers-search--opened qodef-covers-search--fadein"),qodefCore.body.addClass("qodef-covers-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").val(""),e.find(".qodef-m-form-field").blur(),qodefCore.body.removeClass("qodef-covers-search--fadeout")},300)}}}(jQuery),function(n){"use strict";n(document).ready(function(){i.init()});var i={init:function(){var e=n("a.qodef-search-opener"),o=n(".qodef-fullscreen-search-holder"),t=o.find(".qodef-m-close");e.length&&o.length&&(e.on("click",function(e){e.preventDefault(),qodefCore.body.hasClass("qodef-fullscreen-search--opened")?i.closeFullscreen(o):i.openFullscreen(o)}),t.on("click",function(e){e.preventDefault(),i.closeFullscreen(o)}),n(document).keyup(function(e){27===e.keyCode&&qodefCore.body.hasClass("qodef-fullscreen-search--opened")&&i.closeFullscreen(o)}))},openFullscreen:function(e){qodefCore.body.removeClass("qodef-fullscreen-search--fadeout"),qodefCore.body.addClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),setTimeout(function(){e.find(".qodef-m-form-field").focus()},900),qodefCore.qodefScroll.disable()},closeFullscreen:function(e){qodefCore.body.removeClass("qodef-fullscreen-search--opened qodef-fullscreen-search--fadein"),qodefCore.body.addClass("qodef-fullscreen-search--fadeout"),setTimeout(function(){e.find(".qodef-m-form-field").val(""),e.find(".qodef-m-form-field").blur(),qodefCore.body.removeClass("qodef-fullscreen-search--fadeout")},300),qodefCore.qodefScroll.enable()}}}(jQuery),function(o){"use strict";o(document).ready(function(){t.init()});var t={init:function(){this.search=o("a.qodef-search-opener"),this.search.length&&this.search.each(function(){var e=o(this);t.searchHoverColor(e)})},searchHoverColor:function(e){var o,t;void 0!==e.data("hover-color")&&(o=e.data("hover-color"),t=e.css("color"),e.on("mouseenter",function(){e.css("color",o)}).on("mouseleave",function(){e.css("color",t)}))}}}(jQuery),function(i){"use strict";i(document).ready(function(){d.init()}),i(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&d.init(e)}),i(window).on("load",function(){d.windowLoaded=!0,d.completeAnimation()});var d={holder:"",windowLoaded:!1,percentNumber:0,init:function(e){this.holder=i("#qodef-page-spinner.qodef-layout--progress-bar"),this.holder.length&&d.animateSpinner(this.holder,e)},animateSpinner:function(e,o){var t=e.find(".qodef-m-spinner-number-label"),n=(e.find(".qodef-m-spinner-line-front").animate({width:"100%"},1e4,"linear"),setInterval(function(){d.animatePercent(t,d.percentNumber),d.windowLoaded&&clearInterval(n)},100));o&&d.fadeOutLoader(e)},completeAnimation:function(){var e=d.holder.length?d.holder:i("#qodef-page-spinner.qodef-layout--progress-bar"),o=setInterval(function(){100<=d.percentNumber?(clearInterval(o),e.find(".qodef-m-spinner-line-front").stop().animate({width:"100%"},500),e.addClass("qodef--finished"),setTimeout(function(){d.fadeOutLoader(e)},600)):d.animatePercent(e.find(".qodef-m-spinner-number-label"),d.percentNumber)},6)},animatePercent:function(e,o){o<100&&(e.text(o+=5),d.percentNumber=o)},fadeOutLoader:function(o,t,e,n){t=t||600,n=n||"swing",o.delay(e=e||0).fadeOut(t,n),i(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,n)})}}}(jQuery),function(i){"use strict";i(document).ready(function(){d.init()}),i(window).on("elementor/frontend/init",function(){var e=Boolean(elementorFrontend.isEditMode());e&&d.init(e)});var d={init:function(e){this.holder=i("#qodef-page-spinner.qodef-layout--richmond"),this.holder.length&&d.animateSpinner(this.holder,e)}
1,animateSpinner:function(e,o){var t=e.find(".qodef-m-richmond-text span"),n=new TimelineMax({repeat:-1,repeatDelay:0});n.fromTo(t,{opacity:0},{opacity:1,ease:Power3.easeInOut,onComplete:()=>{},duration:1.5,stagger:.11}),n.staggerTo(t,.8,{opacity:0,ease:Power2.easeInOut},.05),o&&d.finishAnimation(e),n.eventCallback("onUpdate",function(){.6<n.progress()&&(gsap.to(".qodef-m-richmond img",{opacity:0,duration:.5,delay:1.2}),n.pause().kill(),TweenMax.to(t,.8,{opacity:0,stagger:.1,ease:Power1.easeInOut}),setTimeout(function(){d.finishAnimation(e)},2e3))})},finishAnimation:function(e){d.fadeOutLoader(e);e=i("#qodef-landing-rev").find("rs-module");e.length&&e.revstart()},fadeOutLoader:function(o,t,e,n){t=t||1e3,n=n||"linear",o.delay(e=e||0).fadeOut(t,n),i(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,n)})}}}(jQuery),function(r){"use strict";r(document).ready(()=>{s.init()}),r(window).on("load",()=>{s.windowLoaded=!0}),r(window).on("elementor/frontend/init",()=>{var e=Boolean(elementorFrontend.isEditMode());e&&s.init(e)});const s={init(e){var o=r("#qodef-page-spinner.qodef-layout--textual");o.length&&(e?s.fadeOutLoader(o):s.splitText(o))},splitText(n){const i=n.find(".qodef-m-text");if(i.length){let e=i.text().trim(),o=e.split(""),t;i.empty(),o.forEach(e=>{t=" "===e?"qodef-m-empty-char":" ",i.append('<span class="qodef-m-char '+t+'">'+e+"</span>")}),setTimeout(()=>{s.animateSpinner(n)},100)}},animateSpinner(a){a.addClass("qodef--init"),function n(i){const e=a.find(".qodef-m-char"),d=e.length-1;e.length&&e.each((e,o)=>{const t=r(o);setTimeout(()=>{t.animate(i.type,i.duration,i.easing,()=>{e===d&&(1===i.repeat?n({type:{opacity:0}
1,duration:1200,easing:"swing",delay:0,repeat:0}):s.windowLoaded?(s.fadeOutLoader(a,600,0,"swing"),setTimeout(()=>{const e=r(".qodef-after-spinner-rev rs-module");e.length&&e.revstart()},800)):n({type:{opacity:1},duration:1800,easing:"swing",delay:160,repeat:1}))})},e*i.delay)})}({type:{opacity:1},duration:1800,easing:"swing",delay:160,repeat:1})},fadeOutLoader(o,t,e,n){t=t||500,e=e||0,n=n||"swing",o.length&&(o.delay(e).fadeOut(t,n),r(window).on("bind","pageshow",function(e){e.originalEvent.persisted&&o.fadeOut(t,n)}))}}}(jQuery),function(a){"use strict";qodefCore.shortcodes.richmond_core_instagram_list={},a(document).ready(function(){n.init()});var n={init:function(){this.holder=a(".qodef-instagram-list #sb_instagram"),this.holder.length&&this.holder.each(function(){var e,o,t;a(this).parent().hasClass("qodef-instagram-columns")?(o=(e=a(this).find("#sbi_images")).find(".sbi_item.sbi_type_image"),t=e.css("padding"),e.css("padding","0"),e.css("margin","-"+t),e.css("width","calc(100% + "+t+" + "+t+")"),o.attr("style","padding: "+t+"!important")):a(this).parent().hasClass("qodef-instagram-slider")&&n.initSlider(a(this))})},initSlider:function(e,o){var t=e.find("#sbi_images"),n=e.find(".sbi_item.sbi_type_image"),i=t.css("padding"),d=(t.css("padding","0"),n.css("padding","0"),t.attr("style","margin-right: "+i+"!important"),{});d.spaceBetween=parseInt(i),d.customStages=!0,d.slidesPerView=void 0!==e.data("cols")&&""!==e.data("cols")?e.data("cols"):3,d.slidesPerView1024=void 0!==e.data("cols")&&""!==e.data("cols")?e.data("cols"):3,d.slidesPerView680=void 0!==e.data("colstablet")&&""!==e.data("colstablet")?e.data("colstablet"):2,d.slidesPerView480=void 0!==e.data("colsmobile")&&""!==e.data("colsmobile")?e.data("colsmobile"):1,e.attr("data-options",JSON.stringify(d)),t.addClass("swiper-wrapper"),n.length&&n.each(function(){a(this).addClass("qodef-e qodef-image-wrapper swiper-slide")}),"object"==typeof qodef.qodefSwiper&&(!1===o?qodef.qodefSwiper.initSlider(e):qodef.qodefSwiper.init(e))}};qodefCore.shortcodes.richmond_core_instagram_list.qodefInstagram=n,qodefCore.shortcodes.richmond_core_instagram_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(){"use strict";jQuery(document).on("yith_wccl_product_gallery_loaded",function(){"function"==typeof qodefCore.qodefWooMagnificPopup&&qodefCore.qodefWooMagnificPopup.init()})}(),function(o){"use strict";o(document).on("qv_loader_stop qv_variation_gallery_loaded",function(){t.init()});var t={init:function(e){this.holder=[],this.holder.push({holder:o("#yith-quick-view-modal .variations select"),options:{minimumResultsForSearch:1/0}}),o.extend(this.holder,e),"object"==typeof this.holder&&o.each(this.holder,function(e,o){t.createSelect2(o.holder,o.options)})},createSelect2:function(e,o){"function"==typeof e.select2&&e.select2(o)}}}(jQuery),function(){"use strict";qodefCore.shortcodes.richmond_core_product_category_list={},qodefCore.shortcodes.richmond_core_product_category_list.qodefMasonryLayout=qodef.qodefMasonryLayout,qodefCore.shortcodes.richmond_core_product_category_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(e){"use strict";var t="richmond_core_product_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(o){"use strict";o(document).ready(function(){t.init()});var t={init:function(){var e=o(".qodef-widget-dropdown-cart-content");e.length&&e.off().each(function(){var e=o(this);t.trigger(e),qodefCore.body.on("added_to_cart removed_from_cart",function(){t.init()})})},trigger:function(e){e=e.find(".qodef-woo-mini-cart");e.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(e)}}}(jQuery),function(t){"use strict";t(document).ready(function(){n.init()});var n={init:function(){var e=t(".qodef-widget-side-area-cart-inner");e.length&&e.off().each(function(){var e=t(this);680<qodefCore.windowWidth&&(n.trigger(e),n.start(e),qodefCore.body.on("added_to_cart removed_from_cart",function(){n.init()}))})},trigger:function(e){e=e.find(".qodef-woo-side-area-cart");e.length&&"object"==typeof qodefCore.qodefPerfectScrollbar&&qodefCore.qodefPerfectScrollbar.init(e)},start:function(o){o.on("click",".qodef-m-opener",function(e){e.preventDefault(),o.hasClass("qodef--opened")?n.closeSideArea(o):(n.openSideArea(o),n.trigger(o),t(document).keyup(function(e){27===e.ke
1yCode&&n.closeSideArea(o)}))}),o.on("click",".qodef-m-close",function(e){e.preventDefault(),n.closeSideArea(o)})},openSideArea:function(o){qodefCore.qodefScroll.disable(),o.addClass("qodef--opened"),t("#qodef-page-wrapper").prepend('<div class="qodef-woo-side-area-cart-cover"/>'),t(".qodef-woo-side-area-cart-cover").on("click",function(e){e.preventDefault(),n.closeSideArea(o)})},closeSideArea:function(e){e.hasClass("qodef--opened")&&(qodefCore.qodefScroll.enable(),e.removeClass("qodef--opened"),t(".qodef-woo-side-area-cart-cover").remove())}}}(jQuery),function(){"use strict";qodefCore.shortcodes.richmond_core_clients_list={},qodefCore.shortcodes.richmond_core_clients_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(){"use strict";var e="richmond_core_masonry_gallery_list";qodefCore.shortcodes[e]={},qodefCore.shortcodes[e].qodefMasonryLayout=qodef.qodefMasonryLayout}(jQuery),function(i){"use strict";qodefCore.shortcodes.richmond_core_room_calendar={},i(document).ready(function(){o.init()});var o={init:function(){var e=i(".qodef-room-calendar");e.length&&e.each(function(){o.initItem(i(this))})},initItem:function(e){e=e.find(".qodef-m-form");o.initCalendar(e),o.triggerBooking(e)},initCalendar:function(n){var o=n.find(".qodef-datepick-calendar");o.datepick({dateFormat:qodefGlobal.vars.roomCalendarDateFormat,minDate:new Date,changeMonth:!1,rangeSelect:!0,useMouseWheel:!1,prevText:qodefGlobal.vars.roomCalendarPrevText,nextText:qodefGlobal.vars.roomCalendarNextText,renderer:{picker:'<div class="datepick">{months}{popup:start}{popup:end}<div class="datepick-clear-fix"></div></div>',monthRow:'<div class="datepick-month-row">{link:prev}{months}{link:next}</div>'},showAnim:"fadeIn",onSelect:function(e){var o=e[0],e=e[1];n.find('[name="check_in"]').val(o.toDateString()),n.find('[name="check_out"]').val(e.toDateString()),o===e||n.hasClass("qodef--selected")?n.removeClass("qodef--selected"):n.addClass("qodef--selected")},onShow:function(t){var e=o.data("reserved-dates");void 0!==e&&(e=e.split("|"),i.each(e,function(e,o){o=t.find('.datepick-month tr td a[title*="'+o+'"]');o.length&&o.addClass("datepick-disabled")})),setTimeout(function(){n.addClass("qodef--loaded")},300)}})},triggerBooking:function(o){o.find(".qodef-button").on("click",function(e){e.preventDefault(),o.trigger("submit")})}};qodefCore.shortcodes.richmond_core_room_calendar.qodefRoomCalendar=o}(jQuery),function(){"use strict";qodefCore.shortcodes.richmond_core_room_gallery_list={},qodefCore.shortcodes.richmond_core_room_gallery_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(e){"use strict";var t="richmond_core_room_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(i){"use strict";qodefCore.shortcodes.richmond_core_room_reservation_filter={},i(document).ready(function(){t.init()});var t={init:function(){var e=i(".qodef-room-reservation-filter");e.length&&e.each(function(){t.initItem(i(this))})},initItem:function(e){var o=e.find(".qodef-m-form");t.initCalendar(o),t.initFormDatepicker(o),t.initSelect2(o),t.triggerCalendarIcon(o),t.setGuests(o),t.triggerBooking(o),setTimeout(function(){e.addClass("qodef--loaded")},600)},initCalendar:function(e){var o=e.find(".qodef-datepick-calendar");o.length&&o.datepick({dateFormat:qodefGlobal.vars.roomCalendarDateFormat,minDate:new Date,selectDefaultDate:!0,changeMonth:!1,monthsToShow:680<qodefCore.windowWidth?2:1,useMouseWheel:!1,prevText:qodefGlobal.vars.roomCalendarPrevText,nextText:qodefGlobal.vars.roomCalendarNextText,renderer:{picker:'<div class="datepick">{months}{popup:start}{popup:end}<div class="datepick-clear-fix"></div></div>',monthRow:'<div class="datepick-month-row">{link:prev}{months}{link:next}</div>'},showAnim:"fadeIn",onShow:function(t){var e=o.data("reserved-dates");void 0!==e&&(e=e.split("|"),i.each(e,function(e,o){o=t.find('.datepick-month tr td a[title*="'+o+'"]');o.length&&o.addClass("datepick-disabled")}))}})},initFormDatepicker:function(e){var o=e.find(".qodef-m-field-input.qodef--check-in"),t=
1o.val(),n=e.find(".qodef-m-field-input.qodef--check-out"),e=n.val();o.length&&n.length&&(t.length<=0&&o.datepick("option","defaultDate","0"),e.length<=0&&n.datepick("option","defaultDate","+1d"),o.datepick("option","onSelect",function(e){e=e[0];n.datepick("setDate",e).datepick("option","minDate",e).datepick("show")}))},initSelect2:function(e){e=e.find(".qodef--select2");e.length&&e.each(function(){var e=i(this);"function"==typeof e.select2&&e.select2({minimumResultsForSearch:1/0})})},triggerCalendarIcon:function(e){e=e.find(".qodef-m-field-input-icon");e.length&&e.on("click",function(){var e=i(this).prev(".qodef-datepick-calendar");e.length&&!e.is(":focus")&&e.trigger("focus")})},setGuests:function(e){e=e.find(".qodef-m-field.qodef--guests");e.length&&(t.updateGuests(e),t.setGuestsTriggers(e))},updateGuests:function(e){var o=e.find(".qodef-m-field-input"),n="",e=e.find(".qodef-m-field-persons").find(".qodef-e-input");e.length&&i.each(e,function(){var e=i(this),o=e.val(),t=e.data("singular-label"),e=e.data("plural-label");0<o&&(n.length&&(n+=", "),n=n+o+(1<o?" "+e:" "+t))}),n.length&&o.val(n)},setGuestsTriggers:function(e){var o=e.find(".qodef-m-field-persons");e.find(".qodef-m-field-input").on("click",function(e){t.setGuestsVisibility(o)}),e.find(".qodef-m-field-input-icon").on("click",function(e){t.setGuestsVisibility(o)}),e.find(".qodef-button").on("click",function(e){e.preventDefault(),t.setGuestsVisibility(o)}),e.siblings().find("input, select, .select2").on("click",function(e){o.hasClass("qodef--opened")&&t.setGuestsVisibility(o)}),i(document).keyup(function(e){27===e.keyCode&&o.hasClass("qodef--opened")&&t.setGuestsVisibility(o)}),o.find(".qodef-e-input").on("change",function(){t.updateGuests(e)})},setGuestsVisibility:function(e){e.offset().top+e.outerHeight()>qodefCore.windowHeight+qodefCore.scroll?e.addClass("qodef--above"):e.removeClass("qodef--above"),e.hasClass("qodef--opened")?e.removeClass("qodef--opened"):e.addClass("qodef--opened")},triggerBooking:function(e){e.find(".qodef--booking .qodef-button").on("click",function(e){e.preventDefault(),i(this).parents("form").trigger("submit")})}};qodefCore.shortcodes.richmond_core_room_reservation_filter.qodefRoomReservationFilter=t}(jQuery),function(e){"use strict";var t="richmond_core_team_list";qodefCore.shortcodes[t]={},"object"==typeof qodefCore.listShortcodesScripts&&e.each(qodefCore.listShortcodesScripts,function(e,o){qodefCore.shortcodes[t][e]=o})}(jQuery),function(){"use strict";qodefCore.shortcodes.richmond_core_testimonials_list={},qodefCore.shortcodes.richmond_core_testimonials_list.qodefSwiper=qodef.qodefSwiper}(jQuery),function(C){"use strict";C(document).ready(function(){e.init()});var e={init:function(){this.holder=C(".qodef-interactive-link-showcase.qodef-layout--interactive-list"),this.holder.length&&this.holder.each(function(){e.initItem(C(this))})},initItem:function(e){var m,q,o=e.find(".qodef-m-item"),v=0,g=0;o.length&&o.on("mouseenter",function(){o.removeClass("qodef--active"),C(this).addClass("qodef--active")}).on("mousemove",function(e){var o=C(this),t=o.find(".qodef-e-follow-content"),n=t.find(".qodef-e-follow-image"),i=n.find("img"),d=i.width(),a=parseInt(n.data("images-count"),10),r=n.data("images"),s=t.find(".qodef-e-follow-title"),c=o.outerWidth(),f=o.outerHeight(),l=o.offset().top-qodefCore.scroll,o=o.offset().left;if(m=e.clientX-o>>0,q=e.clientY-l>>0,v=c<m?c:m<0?0:m,g=f<q?f:q<0?0:q,1<a){var u=r.split("|"),h=c/a;i.removeAttr("srcset"),v<h&&i.attr("src",u[0]);for(var p=1;p<=a-2;p++)h*p<=v&&v<h*(p+1)&&i.attr("src",u[p]);c-h<=v&&i.attr("src",u[a-1])}n.css({top:f/2}),s.css({transform:"translateY("+-(parseInt(f,10)/2+g)+"px)",left:-(v-d/2)}),t.css({top:g,left:v})}).on("mouseleave",function(){o.removeClass("qodef--active")}),e.addClass("qodef--init")}};qodefCore.shortcodes.richmond_core_interactive_link_showcase.qodefInteractiveLinkShowcaseInteractiveList=e}(jQuery),function(i){"use strict";i(document).ready(function(){e.init()});var e={init:function(){this.holder=i(".qodef-interactive-link-showcase.qodef-layout--list"),this.holder.length&&this.holder.each(function(){e.initItem(i(this))})},initItem:function(e){var t=e.find(".qodef-m-image"),n=e.find(".qodef-m-item");t.eq(0).addClass("qodef--active"),n.eq(0).addClass("qodef--active"),n.on("touchstart mouseenter",function(e){var o=i(this);(!qodefCore.html.hasClass("touchevents")||!o.hasClass("qodef--active")&&680<qodefCore.windowWidth)&&(e.preventDefault(),t.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"),n.removeClass("qodef--active").eq(o.index()).addClass("qodef--active"))}).on("touchend mouseleave",function(){var e=i(this);(!qodefCore.html.hasClass("touchevents")||!e.hasClass("qodef--active")&&680<qodefCore.windowWidth)&&(n.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"),t.removeClass("qodef--active").eq(e.index()).addClass("qodef--active"))}),e.addClass("qodef--init")}};qodefCore.shortcodes.richmond_core_interactive_link_showcase.qodefInteractiveLinkShowcaseList=e}(jQuery),function(d){"use strict";d(document).ready(function(){e.init()});
1var e={init:function(){this.holder=d(".qodef-interactive-link-showcase.qodef-layout--slider"),this.holder.length&&this.holder.each(function(){e.initItem(d(this))})},initItem:function(n){var t=n.find(".qodef-m-image"),i=new Swiper(n.find(".swiper-container"),{loop:!0,slidesPerView:"auto",centeredSlides:!0,speed:1400,mousewheel:!0,init:!1});qodef.qodefWaitForImages.check(n,function(){i.init()}),i.on("init",function(){t.eq(0).addClass("qodef--active"),n.find(".swiper-slide-active").addClass("qodef--active"),i.on("slideChangeTransitionStart",function(){var e=n.find(".swiper-slide"),o=n.find(".swiper-slide-active");t.removeClass("qodef--active").eq(o.data("swiper-slide-index")).addClass("qodef--active"),e.removeClass("qodef--active"),o.addClass("qodef--active")}),n.find(".swiper-slide").on("click",function(e){var o=d(this),t=n.find(".swiper-slide-active");if(!o.hasClass("swiper-slide-active"))return e.preventDefault(),e.stopImmediatePropagation(),e.pageX<t.offset().left?(i.slidePrev(),!1):e.pageX>t.offset().left+t.outerWidth()?(i.slideNext(),!1):void 0}),n.addClass("qodef--init")})}};qodefCore.shortcodes.richmond_core_interactive_link_showcase.qodefInteractiveLinkShowcaseSlider=e}(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.