function wpzf_submit(token){var allInputsFilled=!0;jQuery('form.wpzoom-forms_form [required]').each(function(){var input=jQuery(this);if(input.is(':checkbox')){if(!input.is(':checked')){allInputsFilled=!1;input.focus();return!1}}else{if(!input.val()){allInputsFilled=!1;input.focus();return!1}}});if(allInputsFilled){jQuery('form.wpzoom-forms_form').trigger('submit')}}(function($){'use strict';$('.wp-block-wpzoom-forms-multi-checkbox-field').each(function(){var $this=$(this);var $checkboxes=$this.find('input[type="checkbox"]:required');var anyChecked=!1;$checkboxes.each(function(){if($(this).prop('checked')){anyChecked=!0;return!1}});if(anyChecked){$checkboxes.removeAttr('required')} $checkboxes.on('change',function(){var atLeastOneChecked=!1;$checkboxes.each(function(){if($(this).prop('checked')){atLeastOneChecked=!0;return!1}});if(atLeastOneChecked){$checkboxes.removeAttr('required')}else{$checkboxes.attr('required','required')}})})})(jQuery); (t=>{function n(t){return new RegExp("(^|\\s+)"+t+"(\\s+|$)")}var s,o;function e(t,e){(s(t,e)?i:o)(t,e)}var i="classList"in document.documentElement?(s=function(t,e){return t.classList.contains(e)},o=function(t,e){t.classList.add(e)},function(t,e){t.classList.remove(e)}):(s=function(t,e){return n(e).test(t.className)},o=function(t,e){s(t,e)||(t.className=t.className+" "+e)},function(t,e){t.className=t.className.replace(n(e)," ")}),r={hasClass:s,addClass:o,removeClass:i,toggleClass:e,has:s,add:o,remove:i,toggle:e};"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r:t.classie=r})(window),((t,e)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Headroom=e()})(this,function(){function t(){return"undefined"!=typeof window}function p(t){return(i=t)&&i.document&&9===i.document.nodeType?(i=(n=t).document,s=i.body,o=i.documentElement,{scrollHeight:function(){return Math.max(s.scrollHeight,o.scrollHeight,s.offsetHeight,o.offsetHeight,s.clientHeight,o.clientHeight)},height:function(){return n.innerHeight||o.clientHeight||s.clientHeight},scrollY:function(){return void 0!==n.pageYOffset?n.pageYOffset:(o||s.parentNode||s).scrollTop}}):(e=t,{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}});var e,n,s,o,i}function e(t,s,o){var e,n=(()=>{var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e})(),i=!1,r=p(t),a=r.scrollY(),l={};function c(){var t=Math.round(r.scrollY()),e=r.height(),n=r.scrollHeight();l.scrollY=t,l.lastScrollY=a,l.direction=as.tolerance[l.direction],o(l),a=t,i=!1}function h(){i||(i=!0,e=requestAnimationFrame(c))}var u=!!n&&{passive:!0,capture:!1};return t.addEventListener("scroll",h,u),c(),{destroy:function(){cancelAnimationFrame(e),t.removeEventListener("scroll",h,u)}}}function n(t){return t===Object(t)?t:{down:t,up:t}}function s(t,e){e=e||{},Object.assign(this,s.options,e),this.classes=Object.assign({},s.options.classes,e.classes),this.elem=t,this.tolerance=n(this.tolerance),this.offset=n(this.offset),this.initialised=!1,this.frozen=!1}return s.prototype={constructor:s,init:function(){return s.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout(function(t){t.scrollTracker=e(t.scroller,{offset:t.offset,tolerance:t.tolerance},t.update.bind(t))},100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin)&&this.onPin.call(this)},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(t){return"down"===t.direction&&!t.top&&t.toleranceExceeded},shouldPin:function(t){return"up"===t.direction&&t.toleranceExceeded||t.top},addClass:function(t){this.elem.classList.add.apply(this.elem.classList,this.classes[t].split(" "))},removeClass:function(t){this.elem.classList.remove.apply(this.elem.classList,this.classes[t].split(" "))},hasClass:function(t){return this.classes[t].split(" ").every(function(t){return this.classList.contains(t)},this.elem)},update:function(t){t.isOutOfBounds||!0!==this.frozen&&(t.top?this.top():this.notTop(),t.bottom?this.bottom():this.notBottom(),this.shouldUnpin(t)?this.unpin():this.shouldPin(t)&&this.pin())}},s.options={tolerance:{up:0,down:0},offset:0,scroller:t()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},s.cutsTheMustard=!!(t()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),s}),(o=>{o&&(o.fn.headroom=function(s){return this.each(function(){var t=o(this),e=t.data("headroom"),n="object"==typeof s&&s,n=o.extend(!0,{},Headroom.options,n);e||((e=new Headroom(this,n)).init(),t.data("headroom",e)),"string"==typeof s&&(e[s](),"destroy"===s)&&t.removeData("headroom")})},o("[data-headroom]").each(function(){var t=o(this);t.headroom(t.data())}))})(window.Zepto||window.jQuery),(t=>{"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)})(function(r){var y=r.scrollTo=function(t,e,n){return r(window).scrollTo(t,e,n)};function g(t){return!t.nodeName||-1!==r.inArray(t.nodeName.toLowerCase(),["iframe","#document","html","body"])}function e(t){return"function"==typeof t}function s(t){return e(t)||r.isPlainObject(t)?t:{top:t,left:t}}return y.defaults={axis:"xy",duration:0,limit:!0},r.fn.scrollTo=function(t,n,m){"object"==typeof n&&(m=n,n=0),"function"==typeof m&&(m={onAfter:m}),"max"===t&&(t=9e9),m=r.extend({},y.defaults,m),n=n||m.duration;var v=m.queue&&1{l={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},(e=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent))&&a("html").css("cursor","pointer").on("click",a.noop),c=e,h="behavior"in(e=document.documentElement.style)&&"fill"in e&&/iemobile/i.test(navigator.userAgent),u=!!t.PointerEvent,n=function(t){return t.closest("."+l.menuClass)},o=function(t){return n(t).data("sfOptions")},p=function(){var t=a(this),e=o(t);clearTimeout(e.sfTimer),t.siblings().superfish("hide").end().superfish("show")},s=function(t){t.retainPath=-1{function e(t,e){Window.prototype[t]=HTMLDocument.prototype[t]=Element.prototype[t]=e}var o;function n(t,e){this.el=t,this.inputEl=t.querySelector("form input.sb-search-input"),this.inputSubmit=t.querySelector("form > input.sb-search-submit"),this._initEvents()}!t.addEventListener&&t.Element&&(o=[],e("addEventListener",function(t,e){var n=this;o.unshift({__listener:function(t){t.currentTarget=n,t.pageX=t.clientX+document.documentElement.scrollLeft,t.pageY=t.clientY+document.documentElement.scrollTop,t.preventDefault=function(){t.returnValue=!1},t.relatedTarget=t.fromElement||null,t.stopPropagation=function(){t.cancelBubble=!0},t.relatedTarget=t.fromElement||null,t.target=t.srcElement||n,t.timeStamp=+new Date,e.call(n,t)},listener:e,target:n,type:t}),this.attachEvent("on"+t,o[0].__listener)}),e("removeEventListener",function(t,e){for(var n=0,s=o.length;n{let t=i("body"),e=t.find(".custom-header"),n=(e.find(".site-branding"),t.find("#site-navigation")),a=t.find("#scroll-to-content"),s=t.find("#content"),o=t.find("#secondary"),d=t.find(".entry-content"),r=(t.find(".format-quote blockquote"),t.hasClass("has-header-image")||t.hasClass("has-header-video")),l=(t.hasClass("inspiro-front-page")||t.hasClass("home blog"),0),h,u,c;function p(){u=n.height(),c=n.outerHeight(),i("#wpadminbar").length&&(c+=i("#wpadminbar").outerHeight())}function g(){1<=i(window).outerWidth()?r||(e.css("padding-top",c),s.css("padding-top",c)):(e.css("padding-top","0"),s.css("padding-top",c))}function f(e){if(o.length&&!(!t.hasClass("has-sidebar")||t.hasClass("search")||t.hasClass("single-attachment")||t.hasClass("error404")||t.hasClass("inspiro-front-page"))){let t=o.offset().top+(o.height()+28);d.find(e).each(function(){var e=i(this);e.offset().top>t?e.addClass("below-entry-meta"):e.removeClass("below-entry-meta")})}}function m(){var e=document.createElement("div");try{return"backgroundAttachment"in e.style&&(!/iPad|iPhone|iPod/.test(navigator.userAgent)||window.MSStream)?(e.style.backgroundAttachment="fixed")===e.style.backgroundAttachment:!1}catch(e){return!1}}i(document).ready(function(){t.addClass("inspiro-page-ready"),n.length&&p(),a.length&&(i("body").hasClass("admin-bar")&&(l-=32),n.length?l-=24:u=0,a.on("click",function(e){e.preventDefault(),i(window).scrollTo("#content",{duration:600,offset:{top:l-u}})})),inspiroResponsiveEmbeds(),g(),f("blockquote.alignleft, blockquote.alignright"),!0===m()&&(document.documentElement.className+=" background-fixed")}),n.length&&i(window).on("resize",function(){p(),g()}),i(window).on("resize",function(){inspiroResponsiveEmbeds(),clearTimeout(h),h=setTimeout(function(){f("blockquote.alignleft, blockquote.alignright")},300)}),i(window).on("load",function(){t.addClass("inspiro-page-loaded")}),i(document).on("wp-custom-header-video-loaded",function(){t.addClass("has-header-video"),i("#wp-custom-header-video").attr("autoplay",!0),i("#wp-custom-header-video").attr("playsinline",!0)})})(jQuery),(o=>{let d=o(document),n=o(window);o.fn.TopMenuMargin=function(){function e(){o(window).width();var e=o(".site-header");o("#main").css("paddingTop",e.outerHeight()),o("#wpadminbar"),o(window).width(),o(window).height()}o(window).on("resize orientationchange",e),e()},o.fn.sideNav=function(){let i=!1;function t(){o(document.body).toggleClass("side-nav-open").addClass("side-nav-transitioning");var e=o("#slider").data("flexslider");e&&(o(document.body).hasClass("side-nav-open")?(i=e.playing,e.playing&&e.pause()):i&&e.play());let t=!1;o(".site").one("transitionend",function(){o(document.body).removeClass("side-nav-transitioning"),t=!0}),setTimeout(function(){t||o(document.body).removeClass("side-nav-transitioning"),n.trigger("resize")},230)}o(".navbar-toggle, .side-nav-overlay").on("click touchend",function(){o(document.body).hasClass("side-nav-transitioning")||(t(),o.fn.keepFocusInMobileSidebar())}),d.on("keyup",function(e){27===e.keyCode&&o(document.body).hasClass("side-nav-open")&&t()}),o(".side-nav__scrollable-container").on("touchstart",function(){var e=this.scrollTop;e<=0&&(this.scrollTop=1),e+this.offsetHeight>=this.scrollHeight&&(this.scrollTop=this.scrollHeight-this.offsetHeight-1)})},o.fn.sbSearch=function(){return d.on("keyup",function(e){27===e.keyCode&&o("#sb-search").hasClass("sb-search-open")&&o("#sb-search").removeClass("sb-search-open")}),this.each(function(){new UISearch(this)})},o.fn.keepFocusInSearchModal=function(){d.on("keydown",function(e){var t,i,n,a,s;o("#sb-search").hasClass("sb-search-open")&&(n=d.find("#sb-search").find("input, a, button"),i=(n=Array.prototype.slice.call(n))[n.length-1],n=n[0],t=document.activeElement,a=9===e.keyCode,!(s=e.shiftKey)&&a&&i===t&&(e.preventDefault(),n.focus()),s)&&a&&n===t&&(e.preventDefault(),i.focus())})},o.fn.keepFocusInMobileSidebar=function(){d.on("keydown",function(e){var t,i,n,a,s;o(document.body).hasClass("side-nav-open")&&(n=d.find("aside#side-nav").find("input, a, button"),i=(n=Array.prototype.slice.call(n))[n.length-1],n=n[0],t=document.activeElement,a=9===e.keyCode,!(s=e.shiftKey)&&a&&i===t&&(e.preventDefault(),n.focus()),s)&&a&&n===t&&(e.preventDefault(),i.focus())})},o(function(){o.fn.sideNav(),o("#sb-search").sbSearch(),o.fn.keepFocusInSearchModal(),o(".sf-menu").superfish({speed:"fast",animation:{height:"show"},animationOut:{height:"hide"}}),o(".site-header").headroom({tolerance:{up:0,down:0},offset:70}),o(".side-nav .navbar-nav li.menu-item-has-children > a .svg-icon").on("click",function(e){e.preventDefault();var e=o(this).closest("li"),t=e.find("> ul");t.is(":visible")?(t.slideUp(),e.removeClass("open")):(t.slideDown(),e.addClass("open"))})})})(jQuery),(n=>{var e;n.wp=n.wp||!1,n.wp&&n.wp.customHeader&&(e=n.wp.customHeader.BaseVideoHandler.extend({test(e){return"video/x-vimeo"===e.mimeType},ready(){let e=this;var t;"Vimeo"in n?e.loadVideo():((t=document.createElement("script")).src="https://player.vimeo.com/api/player.js",t.onload=function(){e.loadVideo()},document.getElementsByTagName("head")[0].appendChild(t))},loadVideo(){let t,i=this;this._paused=!0,this.player=t=new Vimeo.Player(this.container,{autopause:!1,autoplay:!0,background:!0,byline:!1,height:this.settings.height,loop:!0,portrait:!1,title:!1,url:this.settings.videoUrl,width:this.settings.width,id:this.settings.id}),t.on("play",function(){i._paused=!1,i.trigger("play")}),t.on("pause",function(){i._paused=!0,i.trigger("pause")}),t.ready().then(function(){var e=i.container.getElementsByTagName("img")[0];e&&e.src===i.settings.posterUrl&&i.container.removeChild(e),i.showControls(),t.getPaused().then(function(e){(i._paused=e)||i.trigger("play")})}),t.setVolume(0)},isPaused(){return this._paused},pause(){this.player.pause()},play(){this.player.play()}}),n.wp.customHeader.BaseVideoHandler.extend({origin:"https://player.vimeo.com",test(e){return"video/x-vimeo"===e.mimeType},ready(){let i=this,e=this.settings.videoUrl.split("/").pop(),t=document.createElement("iframe");this._paused=!0,i.setVideo(t),t.id="wp-custom-header-video",t.src="https://player.vimeo.com/video/"+e+"?api=1&autopause=0&autoplay=0&background=1&badge=0&byline=0&loop=1&player_id="+t.id+"&portrait=0&title=0",this.iframe=t,n.addEventListener("message",function(e){let t;if(i.origin===e.origin){try{t=JSON.parse(e.data)}catch(e){return}"wp-custom-header-video"===t.player_id&&("ready"===t.event?(i.postMessage("addEventListener","pause"),i.postMessage("addEventListener","play"),i.postMessage("setVolume",0),i.play(),i.showControls()):"pause"===t.event?(i._paused=!0,i.trigger(t.event)):"play"===t.event&&(i._paused=!1,i.trigger(t.event)))}})},isPaused(){return this._paused},pause(){this.postMessage("pause")},play(){this.postMessage("play")},postMessage(e,t){e=JSON.stringify({method:e,value:t});this.iframe.contentWindow.postMessage(e,this.origin)}}),n.wp.customHeader.handlers.vimeo=new e)})(window);; jQuery(document).ready(function($){$('.zoom-social_icons-list__link').on({'mouseenter':function(e){e.preventDefault();var $this=$(this).find('.zoom-social_icons-list-span');var $rule=$this.data('hover-rule');var $color=$this.data('hover-color');if($color!==undefined){$this.attr('data-old-color',$this.css($rule));$this.css($rule,$color)}},'mouseleave':function(e){e.preventDefault();var $this=$(this).find('.zoom-social_icons-list-span');var $rule=$this.data('hover-rule');var $oldColor=$this.data('old-color');if($oldColor!==undefined){$this.css($rule,$oldColor)}}})});