PageSourceSearch

https://red-heritage.com/wp-content/themes/inspiro/js/inspiro-scripts.min.js?ver=9.1.1

js red-heritage.com collected 2026-10-08 17:22:34 UTC 45,644 bytes, 5 lines download raw bytes

1/*! Inspiro Scripts
2 * https://www.wpzoom.com/
3 * Do not edit this file directly! */
4
5!function(s){"use strict";s.fn.fitVids=function(e){var n={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("div");i.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',t.appendChild(i.childNodes[1])}return e&&s.extend(n,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="facebook.com"]','iframe[src*="dailymotion.com"]','iframe[src*="imdb.com"]','iframe[src*="ted.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];n.customSelector&&e.push(n.customSelector);var o=".fitvidsignore";n.ignore&&(o=o+", "+n.ignore);var t=s(this).find(e.join(","));(t=(t=t.not("object object")).not(o)).each(function(e){var t=s(this);if(!(0<t.parents(o).length||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var n=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("id")){var i="fitvid"+e;t.attr("id",i)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*n+"%"),t.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(m){"use strict";function e(){this.Version="1.4.20-1",this.Plugins={},this.DontConflict=!1,this.Conflicts={fn:{}},this.ResizeHandlers=[],this.RAFHandlers=[],this.window=o,this.$window=m(o),this.document=s,this.$document=m(s),this.$body=null,this.windowWidth=0,this.windowHeight=0,this.fallbackWidth=1024,this.fallbackHeight=768,this.userAgent=window.navigator.userAgent||window.navigator.vendor||window.opera,this.isFirefox=/Firefox/i.test(this.userAgent),this.isChrome=/Chrome/i.test(this.userAgent),this.isSafari=/Safari/i.test(this.userAgent)&&!this.isChrome,this.isMobile=/webOS|BlackBerry/i.test(this.userAgent),this.isIEMobile=/IEMobile/i.test(this.userAgent),this.isFirefoxMobile=this.isFirefox&&this.isMobile,this.transform=null,this.transition=null,this.support={file:!!(window.File&&window.FileList&&window.FileReader),history:!!(window.history&&window.history.pushState&&window.history.replaceState),matchMedia:!(!window.matchMedia&&!window.msMatchMedia),pointer:!!window.PointerEvent,raf:!(!window.requestAnimationFrame||!window.cancelAnimationFrame),touch:!!("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch),transition:!1,transform:!1}}var t,n,i,o="undefined"!=typeof window?window:this,s=o.document,r={killEvent:function(e,t){try{e.preventDefault(),e.stopPropagation(),t&&e.stopImmediatePropagation()}catch(e){}},killGesture:function(e){try{e.preventDefault()}catch(e){}},lockViewport:function(e){p[e]=!0,m.isEmptyObject(p)||f||(t.length?t.attr("content",i):t=m("head").append('<meta name="viewport" content="'+i+'">'),c.$body.on(u.gestureChange,r.killGesture).on(u.gestureStart,r.killGesture).on(u.gestureEnd,r.killGesture),f=!0)},unlockViewport:function(e){void 0!==p[e]&&delete p[e],m.isEmptyObject(p)&&f&&(t.length&&(n?t.attr("content",n):t.remove()),c.$body.off(u.gestureChange).off(u.gestureStart).off(u.gestureEnd),f=!1)},startTimer:function(e,t,n,i){return r.clearTimer(e),i?setInterval(n,t):setTimeout(n,t)},clearTimer:function(e,t){e&&(t?clearInterval(e):clearTimeout(e),e=null)},sortAsc:function(e,t){return parseInt(e,10)-parseInt(t,10)},sortDesc:function(e,t){return parseInt(t,10)-parseInt(e,10)},decodeEntities:function(e){var t=c.document.createElement("textarea");return t.innerHTML=e,t.value},parseQueryString:function(e){for(var t={},n=e.slice(e.indexOf("?")+1).split("&"),i=0;i<n.length;i++){var o=n[i].split("=");t[o[0]]=o[1]}return t}},c=new e,a=m.Deferred(),l={base:"{ns}",element:"{ns}-element"},u={namespace:".{ns}",beforeUnload:"beforeunload.{ns}",blur:"blur.{ns}",change:"change.{ns}",click:"click.{ns}",dblClick:"dblclick.{ns}",drag:"drag.{ns}",dragEnd:"dragend.{ns}",dragEnter:"dragenter.{ns}",dragLeave:"dragleave.{ns}",dragOver:"dragover.{ns}",dragStart:"dragstart.{ns}",drop:"drop.{ns}",error:"error.{ns}",focus:"focus.{ns}",focusIn:"focusin.{ns}",focusOut:"focusout.{ns}",gestureChange:"gesturechange.{ns}",gestureStart:"gesturestart.{ns}",gestureEnd:"gestureend.{ns}
5",input:"input.{ns}",keyDown:"keydown.{ns}",keyPress:"keypress.{ns}",keyUp:"keyup.{ns}",load:"load.{ns}",mouseDown:"mousedown.{ns}",mouseEnter:"mouseenter.{ns}",mouseLeave:"mouseleave.{ns}",mouseMove:"mousemove.{ns}",mouseOut:"mouseout.{ns}",mouseOver:"mouseover.{ns}",mouseUp:"mouseup.{ns}",panStart:"panstart.{ns}",pan:"pan.{ns}",panEnd:"panend.{ns}",resize:"resize.{ns}",scaleStart:"scalestart.{ns}",scaleEnd:"scaleend.{ns}",scale:"scale.{ns}",scroll:"scroll.{ns}",select:"select.{ns}",swipe:"swipe.{ns}",touchCancel:"touchcancel.{ns}",touchEnd:"touchend.{ns}",touchLeave:"touchleave.{ns}",touchMove:"touchmove.{ns}",touchStart:"touchstart.{ns}"},d=null,h=20,p=[],f=!1;function v(e,t,n,i){var o,s={raw:{}};for(o in i=i||{})i.hasOwnProperty(o)&&("classes"===e?(s.raw[i[o]]=t+"-"+i[o],s[i[o]]="."+t+"-"+i[o]):(s.raw[o]=i[o],s[o]=i[o]+"."+t));for(o in n)n.hasOwnProperty(o)&&("classes"===e?(s.raw[o]=n[o].replace(/{ns}/g,t),s[o]=n[o].replace(/{ns}/g,"."+t)):(s.raw[o]=n[o].replace(/.{ns}/g,""),s[o]=n[o].replace(/{ns}/g,t)));return s}function g(){c.windowWidth=c.$window.width(),c.windowHeight=c.$window.height(),d=r.startTimer(d,h,y)}function y(){for(var e in c.ResizeHandlers)c.ResizeHandlers.hasOwnProperty(e)&&c.ResizeHandlers[e].callback.call(window,c.windowWidth,c.windowHeight)}function w(e,t){return parseInt(e.priority)-parseInt(t.priority)}return e.prototype.NoConflict=function(){for(var e in c.DontConflict=!0,c.Plugins)c.Plugins.hasOwnProperty(e)&&(m[e]=c.Conflicts[e],m.fn[e]=c.Conflicts.fn[e])},e.prototype.Ready=function(e){"complete"===c.document.readyState||"loading"!==c.document.readyState&&!c.document.documentElement.doScroll?e():c.document.addEventListener("DOMContentLoaded",e)},e.prototype.Plugin=function(e,t){return c.Plugins[e]=(p=t,n="fs-"+(h=e),f="fs"+h.replace(/(^|\s)([a-z])/g,function(e,t,n){return t+n.toUpperCase()}),p.initialized=!1,p.priority=p.priority||10,p.classes=v("classes",n,l,p.classes),p.events=v("events",h,u,p.events),p.functions=m.extend({getData:d,iterate:function(e){for(var t=Array.prototype.slice.call(arguments,1),n=0,i=this.length;n<i;n++){var o=this.eq(n),s=d(o)||{};void 0!==s.$el&&e.apply(o,[s].concat(t))}return this}},r,p.functions),p.methods=m.extend(!0,{_construct:m.noop,_postConstruct:m.noop,_destruct:m.noop,_resize:!1,destroy:function(e){p.functions.iterate.apply(this,[p.methods._destruct].concat(Array.prototype.slice.call(arguments,1))),this.removeClass(p.classes.raw.element).removeData(f)}},p.methods),p.utilities=m.extend(!0,{_initialize:!1,_delegate:!1,defaults:function(e){p.defaults=m.extend(!0,p.defaults,e||{})}},p.utilities),p.widget&&(c.Conflicts.fn[h]=m.fn[h],m.fn[f]=function(e){if(this instanceof m){var t=p.methods[e];if("object"==typeof e||!e)return function(e){var t,n,i,o="object"==typeof e,s=Array.prototype.slice.call(arguments,o?1:0),r=m();for(e=m.extend(!0,{},p.defaults||{},o?e:{}),n=0,i=this.length;n<i;n++)if(!d(t=this.eq(n))){p.guid++;var a="__"+p.guid,c=p.classes.raw.base+a,l=t.data(h+"-options"),u=m.extend(!0,{$el:t,guid:a,numGuid:p.guid,rawGuid:c,dotGuid:"."+c},e,"object"==typeof l?l:{});
5t.addClass(p.classes.raw.element).data(f,u),p.methods._construct.apply(t,[u].concat(s)),r=r.add(t)}for(n=0,i=r.length;n<i;n++)t=r.eq(n),p.methods._postConstruct.apply(t,[d(t)]);return this}.apply(this,arguments);if(t&&0!==e.indexOf("_")){var n=[t].concat(Array.prototype.slice.call(arguments,1));return p.functions.iterate.apply(this,n)}return this}},c.DontConflict||(m.fn[h]=m.fn[f])),c.Conflicts[h]=m[h],m[f]=p.utilities._delegate||function(e){var t=p.utilities[e]||p.utilities._initialize||!1;if(t){var n=Array.prototype.slice.call(arguments,"object"==typeof e?0:1);return t.apply(window,n)}},c.DontConflict||(m[h]=m[f]),p.namespace=h,p.namespaceClean=f,p.guid=0,p.methods._resize&&(c.ResizeHandlers.push({namespace:h,priority:p.priority,callback:p.methods._resize}),c.ResizeHandlers.sort(w)),p.methods._raf&&(c.RAFHandlers.push({namespace:h,priority:p.priority,callback:p.methods._raf}),c.RAFHandlers.sort(w)),p),c.Plugins[e];function d(e){return e.data(f)}var h,p,n,f},c.$window.on("resize.fs",g),g(),function e(){if(c.support.raf)for(var t in c.window.requestAnimationFrame(e),c.RAFH
5andlers)c.RAFHandlers.hasOwnProperty(t)&&c.RAFHandlers[t].callback.call(window)}(),c.Ready(function(){c.$body=m("body"),m("html").addClass(c.support.touch?"touchevents":"no-touchevents"),t=m('meta[name="viewport"]'),n=!!t.length&&t.attr("content"),i="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0",a.resolve()}),u.clickTouchStart=u.click+" "+u.touchStart,function(){var e,t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"},n=["transition","-webkit-transition"],i={transform:"transform",MozTransform:"-moz-transform",OTransform:"-o-transform",msTransform:"-ms-transform",webkitTransform:"-webkit-transform"},o="transitionend",s="",r="",a=document.createElement("div");for(e in t)if(t.hasOwnProperty(e)&&e in a.style){o=t[e],c.support.transition=!0;break}for(e in u.transitionEnd=o+".{ns}",n)if(n.hasOwnProperty(e)&&n[e]in a.style){s=n[e];break}for(e in c.transition=s,i)if(i.hasOwnProperty(e)&&i[e]in a.style){c.support.transform=!0,r=i[e];break}c.transform=r}(),window.Formstone=c}),function(e){"function"==typeof define&&define.amd?define(["jquery","./core"],e):e(jQuery,Formstone)}(function(a,o){"use strict";function s(e){e.stopPropagation(),e.preventDefault();var t=e.data,n=e.originalEvent,i=t.target?t.$target:t.$el;t.property&&n.propertyName!==t.property||!a(n.target).is(i)||r(t)}function r(e){e.always||e.$el[t.namespaceClean]("destroy"),e.callback.apply(e.$el)}function c(e){var t,n,i,o={};if(e instanceof a&&(e=e[0]),d.getComputedStyle)for(var s=0,r=(t=d.getComputedStyle(e,null)).length;s<r;s++)n=t[s],i=t.getPropertyValue(n),o[n]=i;else if(e.currentStyle)for(n in t=e.currentStyle)o[n]=t[n];return o}var t=o.Plugin("transition",{widget:!0,defaults:{always:!1,property:null,target:null},methods:{_construct:function(n,e){if(e){n.$target=this.find(n.target),n.$check=n.target?n.$target:this,n.callback=e,n.styles=c(n.$check),n.timer=null;var t=n.$check.css(o.transition+"-duration"),i=parseFloat(t);o.support.transition&&t&&i?this.on(l.transitionEnd,n,s):n.timer=u.startTimer(n.timer,50,function(){var e,t;t=c((e=n).$check),function(e,t){if(typeof e!=typeof t)return!1;for(var n in e){if(!e.hasOwnProperty(n))return!1;if(!e.hasOwnProperty(n)||!t.hasOwnProperty(n)||e[n]!==t[n])return!1}return!0}(e.styles,t)||r(e),e.styles=t},!0)}},_destruct:function(e){u.clearTimer(e.timer,!0),this.off(l.namespace)},resolve:r}}),l=t.events,u=t.functions,d=o.window}),function(e){"function"==typeof define&&define.amd?define(["jquery","./core","./transition"],e):e(jQuery,Formstone)}(function(l,i){"use strict";function e(){(T=C.scrollTop()+i.windowHeight)<0&&(T=0),k.iterate.call(L,a)}function t(){P=l(y.base),L=l(y.lazy),k.iterate.call(L,r)}function n(e){if(e.visible){var t=e.source;e.source=null,o(e,t,!0)}}function o(e,t,n){if(t!==e.source&&e.visible){if(e.source=t,e.responsive=!1,e.isYouTube=!1,"object"==typeof t&&"string"==typeof t.video){var i=t.video.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i);i&&1<=i.length&&(e.isYouTube=!0,e.videoId=i[1])}var o=!e.isYouTube&&"object"==typeof t&&(t.hasOwnProperty("mp4")||t.hasOwnProperty("ogg")||t.hasOwnProperty("webm"));if(e.video=e.isYouTube||o,e.playing=!1,e.isYouTube)e.playerReady=!1,e.posterLoaded=!1,h(e,t,n);else if("object"==typeof t&&t.hasOwnProperty("poster"))!function(t,e,n){t.source&&t.source.poster&&(d(t,t.source.poster,!0,!0),n=!1);var i='<div class="'+[w.media,w.video,!0!==n?w.animated:""].join(" ")+'" aria-hidden="true">';i+="<video playsinline",t.loop&&(i+=" loop"),t.mute&&(i+=" muted"),t.autoPlay&&(i+=" autoplay"),i+=">",t.source.webm&&(i+='<source src="'+t.source.webm+'" type="video/webm" />'),t.source.mp4&&(i+='<source src="'+t.source.mp4+'" type="video/mp4" />'),t.source.ogg&&(i+='<source src="'+t.source.ogg+'" type="video/ogg" />'),i+="</video>";var o=l(i+="</div>");o.find("video").one(b.loadedMetaData,function(e){o.fsTransition({property:"opacity"},function(){p(t)}).css({opacity:1}),m(t),t.$el.trigger(b.loaded),t.autoPlay&&f(t)}),t.$container.append(o)}(e,0,n);else{var s=t;if("object"==typeof t){var r,a=[],c=[];for(r in t)t.hasOwnProperty(r)&&c.push(r);for(r in c.sort(k.sortAsc),c)c.hasOwnProperty(r)&&a.push({width:parseInt(c[r]),url:t[c[r]],mq:E.matchMedia("(min-width: "+parseInt(c[r])+"px)")});e.responsive=!0,e.sources=a,s=u(e)}d(e,s,!1,n)}}else e.$el.trigger(b.loaded)}function u(e){var t=e.source;if(e.responsive)for(var n in t=e.sources[0].url,e.sources)e.sources.hasOwnProperty(n)&&(i.support.matchMedia?e.sources[n].mq.matches&&(t=e.sources[n].url):e.sources[n].width<i.fallbackWidth&&(t=e.sources[n].url));return t}function d(e,t,n,i){var o=[w.media,w.image,!0!==i?w.animated:""].join(" "),s=l('<div class="'+o+'" aria-hidden="true"><img alt="'+e.alt+'"></div>'),r=s.find("img"),a=t;r.one(b.load,function(){S&&s.addClass(w.native).css({backgroundImage:"url('"+a+"')"}),s.fsTransition({property:"opacity"},function(){n||p(e)}).css({opacity:1}),m(e),n&&!i||e.$el.trigger(b.loaded)}).one(b.error,e,c).attr("src",a),e.responsive&&s.addClass(w.responsive),e.$container.append(s),!r[0].complete&&4!==r[0].readyState||r.trigger(b.load),e.currentSource=a}function h(t,e,n){if(!t.videoId){var i=e.match(/^.*(?:youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]*).*/);t.videoId=i[1]}if(t.posterLoaded||(t.source.poster||(t.source.poster="//img.youtube.com/vi/"+t.videoId+"/0.jpg"),t.posterLoaded=!0,d(t,t.source.poster,!0,n),n=!1),l("script[src*='youtube.com/iframe_api']").length||l("head").append('<script src="//www.youtube.com/iframe_api"><\/script>'),O){var o=t.guid+"_"+t.youTubeGuid++,s='<div class="'+[w.media,w.embed,!0!==n?w.animated:""].join(" ")+'" aria-hidden="true">';s+='<div id="'+o+'"></div>';var r=l(s+="</div>"),a=l.extend(!0,{},{controls:0,rel:0,showinfo:0,wmode:"transparent",enablejsapi:1,version:3,playerapiid:o,loop:t.loop?1:0,autoplay:1,mute:1,origin:E.location.protocol+"//"+E.location.host},t.youtubeOptions);a.autoplay=1,t.$container.append(r),t.player&&(t.oldPlayer=t.player,t.player=null),t.player=new E.YT.Player(o,{videoId:t.videoId,playerVars:a,events:{onReady:function(e){t.playerReady=!0,t.mute&&t.player.mute(),t.autoPlay?t.player.playVideo():t.player.pauseVideo()},onStateChange:function(e){t.playing||e.data!==E.YT.PlayerState.PLAYING?t.loop&&t.playing&&e.data===E.YT.PlayerState.ENDED&&t.player.playVideo():(t.playing=!0,r.fsTransition({property:"opacity"},function(){p(t)}).css({opacity:1}),m(t),t.$el.trigger(b.loaded)),t.$el.find(y.embed).addClass(w.ready)},onPlaybackQualityChange:function(e){},onPlaybackRateChange:function(e){},onError:function(e){c({data:t})},onApiChange:function(e){}}}),m(t)}else _.push({data:t,source:e})}function p(e){var t=e.$container.find(y.media);1<=t.length&&(t.not(":last").remove(),e.oldPlayer=null)}function c(e){e.data.$el.trigger(b.error)}function f(e){if(e.video&&!e.playing)if(e.isYouTube)e.playerReady?e.player.playVideo():e.autoPlay=!0;else{var t=e.$container.find("video");t.length&&t[0].play(),e.playing=!0}}function s(e){if(e.visible)if(e.responsive){var t=u(e);t!==e.currentSource?d(e,t,!1,!0):m(e)}else m(e)}function m(e){for(var t=e.$container.find(y.media),n=0,i=t.length;n<i;n++){var o=t.eq(n),s=e.isYouTube?"iframe":o.find("video").length?"video":"img",r=o.find(s);if(r.length&&("img"!=s||!S)){var a=e.$el.outerWidth(),c=e.$el.outerHeight(),l=v(e,r);e.width=l.width,e.height=l.height,e.left=0,e.top=0;var u=e.isYouTube?e.embedRatio:e.width/e.height;e.height=c,e.width=e.height*u,e.width<a&&(e.width=a,e.height=e.width/u),e.left=-(e.width-a)/2,e.top=-(e.height-c)/2,o.css({height:e.height,width:e.width,left:e.left,top:e.top})}}}function r(e){e.scrollTop=e.$el.offset().top}function a(e){!e.visible&&e.scrollTop<T+e.lazyEdge&&(e.visible=!0,n(e))}function v(e,t){if(e.isYouTube)return{height:500,width:500/e.embedRatio};if(t.is("img")){var n=t[0];if(void 0!==n.naturalHeight)return{height:n.naturalHeight,width:n.naturalWi
5dth};var i=new Image;return i.src=n.src,{height:i.height,width:i.width}}return{height:t[0].videoHeight,width:t[0].videoWidth}}var g=i.Plugin("background",{widget:!0,defaults:{alt:"",autoPlay:!0,customClass:"",embedRatio:1.777777,lazy:!1,lazyEdge:100,loop:!0,mute:!0,source:null,youtubeOptions:{}},classes:["container","media","animated","responsive","native","fixed","ready","lazy"],events:{loaded:"loaded",ready:"ready",loadedMetaData:"loadedmetadata"},methods:{_construct:function(e){e.youTubeGuid=0,e.$container=l('<div class="'+w.container+'"></div>').appendTo(this),e.thisClasses=[w.base,e.customClass],e.visible=!0,e.lazy&&(e.visible=!1,e.thisClasses.push(w.lazy)),this.addClass(e.thisClasses.join(" ")),t(),e.lazy?(r(e),a(e)):n(e)},_destruct:function(e){e.$container.remove(),this.removeClass(e.thisClasses.join(" ")).off(b.namespace),t()},_resize:function(){k.iterate.call(P,s),k.iterate.call(L,r),k.iterate.call(L,a)},play:f,pause:function(e){if(e.video&&e.playing){if(e.isYouTube)e.playerReady?e.player.pauseVideo():e.autoPlay=!1;else{var t=e.$container.find("video");t.length&&t[0].pause()}e.playing=!1}},mute:function(e){if(e.video)if(e.isYouTube&&e.playerReady)e.player.mute();else{var t=e.$container.find("video");t.length&&(t[0].muted=!0)}e.mute=!0},unmute:function(e){if(e.video){if(e.isYouTube&&e.playerReady)e.player.unMute();else{var t=e.$container.find("video");t.length&&(t[0].muted=!1)}e.playing=!0}e.mute=!1},resize:m,load:o,unload:function(e){var t=e.$container.find(y.media);1<=t.length&&t.fsTransition({property:"opacity"},function(){t.remove(),delete e.source}).css({opacity:0})}}}),y=g.classes,w=y.raw,b=g.events,k=g.functions,E=i.window,C=i.$window,T=0,P=[],L=[],S="backgroundSize"in i.document.documentElement.style,O=!1,_=[];i.Ready(function(){e(),C.on("scroll",e)}),E.onYouTubeIframeAPIReady=function(){for(var e in O=!0,_)_.hasOwnProperty(e)&&h(_[e].data,_[e].source);_=[]}}),function(){function e(){}function s(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function t(e){return function(){return this[e].apply(this,arguments)}}var n=e.prototype,i=this,o=i.EventEmitter;n.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e)for(n in t={},i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n]);else t=i[e]||(i[e]=[]);return t},n.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},n.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&((t={})[e]=n),t||n},n.addListener=function(e,t){var n,i=this.getListenersAsObject(e),o="object"==typeof t;for(n in i)i.hasOwnProperty(n)&&-1===s(i[n],t)&&i[n].push(o?t:{listener:t,once:!1});return this},n.on=t("addListener"),n.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},n.once=t("addOnceListener"),n.defineEvent=function(e){return this.getListeners(e),this},n.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},n.removeListener=function(e,t){var n,i,o=this.getListenersAsObject(e);for(i in o)o.hasOwnProperty(i)&&(-1!==(n=s(o[i],t))&&o[i].splice(n,1));return this},n.off=t("removeListener"),n.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},n.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},n.manipulateListeners=function(e,t,n){var i,o,s=e?this.removeListener:this.addListener,r=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)s.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(o=t[i])&&("function"==typeof o?s.call(this,i,o):r.call(this,i,o));return this},n.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"==n)delete i[e];else if("object"==n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},n.removeAllListeners=t("removeEvent"),n.emitEvent=function(e,t){var n,i,o,s=this.getListenersAsObject(e);for(o in s)if(s.hasOwnProperty(o))for(i=s[o].length;i--;)!0===(n=s[o][i]).once&&this.removeListener(e,n.listener),n.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},n.trigger=t("emitEvent"),n.emit=function(e){var t=Array.prototype.slice.call(arguments,1
5);return this.emitEvent(e,t)},n.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},n._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},n._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return i.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}.call(this),function(n){function i(e){var t=n.event;return t.target=t.target||t.srcElement||e,t}var e=document.documentElement,t=function(){};e.addEventListener?t=function(e,t,n){e.addEventListener(t,n,!1)}:e.attachEvent&&(t=function(t,e,n){t[e+n]=n.handleEvent?function(){var e=i(t);n.handleEvent.call(n,e)}:function(){var e=i(t);n.call(t,e)},t.attachEvent("on"+e,t[e+n])});var o=function(){};e.removeEventListener?o=function(e,t,n){e.removeEventListener(t,n,!1)}:e.detachEvent&&(o=function(t,n,i){t.detachEvent("on"+n,t[n+i]);try{delete t[n+i]}catch(e){t[n+i]=void 0}});var s={bind:t,unbind:o};"function"==typeof define&&define.amd?define("eventie/eventie",s):n.eventie=s}(this),function(n,i){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(e,t){return i(n,e,t)}):"object"==typeof exports?module.exports=i(n,require("wolfy87-eventemitter"),require("eventie")):n.imagesLoaded=i(n,n.EventEmitter,n.eventie)}(window,function(e,t,n){function o(e,t){for(var n in t)e[n]=t[n];return e}function s(e){var t=[];if(function(e){return"[object Array]"===d.call(e)}(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;n<i;n++)t.push(e[n]);else t.push(e);return t}function r(e,t,n){if(!(this instanceof r))return new r(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=s(e),this.options=o({},this.options),"function"==typeof t?n=t:o(this.options,t),n&&this.on("always",n),this.getImages(),c&&(this.jqDeferred=new c.Deferred);var i=this;setTimeout(function(){i.check()})}function i(e){this.img=e}function a(e){this.src=e,h[e]=this}var c=e.jQuery,l=e.console,u=void 0!==l,d=Object.prototype.toString;(r.prototype=new t).options={},r.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;e<t;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var o=n.querySelectorAll("img"),s=0,r=o.length;s<r;s++){var a=o[s];this.addImage(a)}}},r.prototype.addImage=function(e){var t=new i(e);this.images.push(t)},r.prototype.check=function(){function e(e,t){return n.options.debug&&u&&l.log("confirm",e,t),n.progress(e),++i===o&&n.complete(),!0}var n=this,i=0,o=this.images.length;if(this.hasAnyBroken=!1,o)for(var t=0;t<o;t++){var s=this.images[t];s.on("confirm",e),s.check()}else this.complete()},r.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var n=this;setTimeout(function(){if(n.emit(t,n),n.emit("always",n),n.jqDeferred){var e=n.hasAnyBroken?"reject":"resolve";n.jqDeferred[e](n)}})},c&&(c.fn.imagesLoaded=function(e,t){return new r(this,e,t).jqDeferred.promise(c(this))}),(i.prototype=new t).check=function(){var e=h[this.img.src]||new a(this.img.src);if(e.isConfirmed)this.confirm(e.isLoaded,"cached was confirmed");else if(this.img.complete&&void 0!==this.img.naturalWidth)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var n=this;e.on("confirm",function(e,t){return n.confirm(e.isLoaded,t),!0}),e.check()}},i.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var h={};return(a.prototype=new t).check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},a.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},a.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},a.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},a.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit
5("confirm",this,t)},a.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},r}),function(a,n){"use strict";function i(e){this.callback=e,this.ticking=!1}function o(e,t){t=function e(t){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var n,i,o,s=t||{};for(i=1;i<arguments.length;i++){var r=arguments[i]||{};for(n in r)s[n]="object"!=typeof s[n]||(o=s[n])&&void 0!==a&&(o===a||o.nodeType)?s[n]||r[n]:e(s[n],r[n])}return s}(t,o.options),this.lastKnownScrollY=0,this.elem=e,this.debouncer=new i(this.update.bind(this)),this.tolerance=function(e){return e===Object(e)?e:{down:e,up:e}}(t.tolerance),this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop}var e={bind:!!function(){}.bind,classList:"classList"in n.documentElement,rAF:!!(a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame)};a.requestAnimationFrame=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame,i.prototype={constructor:i,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},o.prototype={constructor:o,init:function(){return o.cutsTheMustard?(this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this):void 0},destroy:function(){var e=this.classes;this.initialised=!1,this.elem.classList.remove(e.unpinned,e.pinned,e.top,e.initial),this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;!e.contains(t.pinned)&&e.contains(t.unpinned)||(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(n.documentElement||n.body.parentNode||n.body).scrollTop},getViewportHeight:function(){return a.innerHeight||n.documentElement.clientHeight||n.body.clientHeight},getDocumentHeight:function(){var e=n.body,t=n.documentElement;return Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,e.clientHeight,t.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===a||this.scroller===n.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=e<0,n=e+this.getViewportHeight()>this.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,i=e>=this.offset;return n&&i&&t},shouldPin:function(e,t){var n=e<this.lastKnownScrollY,i=e<=this.offset;return n&&t||i},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),this.shouldUnpin(e,n)?this.unpin():this.shouldPin(e,n)&&this.pin(),this.lastKnownScrollY=e)}},o.options={tolerance:{up:0,down:0},offset:0,scroller:a,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",initial:"headroom"}},o.cutsTheMustard=void 0!==e&&e.rAF&&e.bind&&e.classList,a.Headroom=o}(window,document),function(o){o&&(o.fn.headroom=function(i){return this.each(function(){var e=o(this),t=e.data("headroom"),n="object"==typeof i&&i;n=o.extend(!0,{},Headroom.options,n),t||((t=new Headroom(this,n)).init(),e.data("headroom",t)),"string"==typeof i&&t[i]()})},o("[data-headroom]").each(function(){var e=o(this);e.headroom(e.data())}))}(window.Zepto||window.jQuery),function(e){"use strict";function n(e){return new RegExp("(^|\\s+)"+e+"(\\s+|$)")}var i,o,s;function t(e,t){(i(e,t)?s:o)(e,t)}s="classList"in document.documentElement?(i=function(e,t){return e.classList.contains(t)},o=function(e,t){e.classList.add(t)},function(e,t){e.classList.remove(t)}):(i=function(e,t){return n(t).test(e.className)},o=function(e,t){i(e,t)||(e.className=e.className+" "+t)},function(e,t){e.className=e.className.replace(n(t)," ")});var r={hasClass:i,addClass:o,removeClass:s,toggleClass:t,has:i,add:o,remove:s,toggle:t};"function"==typeof define&&define.amd?define(r):e.classie=r}(window),function(e){"use strict";function t(e,t){this.el=e,this.inputEl=e.querySelector("form > input.sb-search-input"),this.inputSubmit=e.querySelector("form > input.sb-search-submit"),this._initEvents()}function n(e,t){Window.prototype[e]=HTMLDocument.prototype[e]=Element.prototype[e]=t}var o;!e.addEventListener&&e.Element&&(o=[],n("addEventListener",function(e,t){var n=this;o.unshift({__listener:function(e){e.currentTarget=n,e.pageX=e.clientX+document.documentElement.scrollLeft,e.pageY=e.clientY+document.documentElement.scrollTop,e.preventDefault=function(){e.returnValue=!1},e.relatedTarget=e.fromElement||null,e.stopPropagation=function(){e.cancelBubble=!0},e.relatedTarget=e.fromElement||null,e.target=e.srcElement||n,e.t
5imeStamp=+new Date,t.call(n,e)},listener:t,target:n,type:e}),this.attachEvent("on"+e,o[0].__listener)}),n("removeEventListener",function(e,t){for(var n=0,i=o.length;n<i;++n)if(o[n].target==this&&o[n].type==e&&o[n].listener==t)return this.detachEvent("on"+e,o.splice(n,1)[0].__listener)}),n("dispatchEvent",function(t){try{return this.fireEvent("on"+t.type,t)}catch(e){for(var n=0,i=o.length;n<i;++n)o[n].target==this&&o[n].type==t.type&&o[n].call(this,t)}})),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),t.prototype={_initEvents:function(){var n=this,i=!1;this.el.addEventListener("click",function(e){e.stopPropagation(),n.inputEl.value=n.inputEl.value.trim(),classie.has(n.el,"sb-search-open")?classie.has(n.el,"sb-search-open")&&(e.preventDefault(),n.close()):(e.preventDefault(),n.open())}),this.el.addEventListener("touchstart",function(e){n.inputEl.value=n.inputEl.value.trim(),classie.has(n.el,"sb-search-open")?classie.has(n.el,"sb-search-open")&&n.close():n.open()},{passive:!0}),this.inputEl.addEventListener("click",function(e){e.stopPropagation()}),this.inputEl.addEventListener("keypress",function(e){if(13==e.which){var t=n.el.querySelector("form");i=!0,t.submit()}}),this.inputSubmit&&this.inputSubmit.addEventListener("click",function(e){e.preventDefault(),e.stopPropagation(),i||n.close()}),this.inputEl.addEventListener("touchstart",function(e){e.stopPropagation()},{passive:!0})},open:function(){var t=this;classie.add(this.el,"sb-search-open"),this.inputEl.focus();var n=function(e){t.close(),this.removeEventListener("click",n),this.removeEventListener("touchstart",n)};document.addEventListener("click",n),document.addEventListener("touchstart",n)},close:function(){this.inputEl.blur(),classie.remove(this.el,"sb-search-open")}},e.UISearch=t}(window),function(s,e){"use strict";var t,n,o,r,i,a,c,l,u,d=(o="sf-breadcrumb",r="sf-js-enabled",i="sf-with-ul",a="sf-arrows",(n=/^(?![\w\W]*Windows Phone)[\w\W]*(iPhone|iPad|iPod)/i.test(navigator.userAgent))&&s("html").css("cursor","pointer").on("click",s.noop),c=n,l="behavior"in(t=document.documentElement.style)&&"fill"in t&&/iemobile/i.test(navigator.userAgent),u=!!e.PointerEvent,{hide:function(e){if(this.length){var t=v(this);if(!t)return this;var n=!0===t.retainPath?t.$path:"",i=this.find("li."+t.hoverClass).add(this).not(n).removeClass(t.hoverClass).children(t.popUpSelector),o=t.speedOut;if(e&&(i.show(),o=0),(t.retainPath=!1)===t.onBeforeHide.call(i))return this;i.stop(!0,!0).animate(t.animationOut,o,function(){var e=s(this);t.onHide.call(e)})}return this},show:function(){var e=v(this);if(!e)return this;var t=this.addClass(e.hoverClass).children(e.popUpSelector);return!1===e.onBeforeShow.call(t)||t.stop(!0,!0).animate(e.animation,e.speed,function(){e.onShow.call(t)}),this},destroy:function(){return this.each(function(){var e,t=s(this),n=t.data("sfOptions");return!!n&&(e=t.find(n.popUpSelector).parent("li"),clearTimeout(n.sfTimer),h(t,n),p(e),f(t),t.off(".superfish").off(".hoverIntent"),e.children(n.popUpSelector).attr("style",function(e,t){if(void 0!==t)return t.replace(/display[^;]+;?/g,"")}),n.$path.removeClass(n.hoverClass+" "+o).addClass(n.pathClass),t.find("."+n.hoverClass).removeClass(n.hoverClass),n.onDestroy.call(t),void t.removeData("sfOptions"))})},init:function(i){return this.each(function(){var e=s(this);if(e.data("sfOptions"))return!1;var t=s.extend({},s.fn.superfish.defaults,i),n=e.find(t.popUpSelector).parent("li");t.$path=function(e,t){return e.find("li."+t.pathClass).slice(0,t.pathLevels).addClass(t.hoverClass+" "+o).filter(function(){return s(this).children(t.popUpSelector).hide().show().length}).removeClass(t.pathClass)}(e,t),e.data("sfOptions",t),h(e,t,!0),p(n,!0),f(e),function(e,t){var n="li:has("+t.popUpSelector+")";s.fn.hoverIntent&&!t.disableHI?e.hoverIntent(g,w,n):e.on("mouseenter.superfish",n,g).on("mouseleave.superfish",n,w);var i="MSPointerDown.superfish";u&&(i="pointerdown.superfish"),c||(i+=" touchend.superfish"),l&&(i+=" mousedown.superfish"),e.on("focusin.superfish","li",g).on("focusout.superfish","li",w).on(i,"a",t,b)}(e,t),n.not("."+o).superfish("hide",!0),t.onInit.call(this)})}});function h(e,t,n){var i=r;t.cssArrows&&(i+=" "+a),e[n?"addClass":"removeClass"](i)}function p(e,t){var n=t?"addClass":"removeClass";e.children("a")[n](i)}function f(e){var t=e.css("ms-touch-action"),n=e.css("touch-action");n="pan-y"===(n=n||t)?"auto":"pan-y",e.css({"ms-touch-action":n,"touch-action":n})}function m(e){return e.closest("."+r)}function v(e){return m(e).data("sfOptions")}function g(){var e=s(this),t=v(e);clearTimeout(t.sfTimer),e.siblings().superfish("hide").end().superfish("show")}function y(e){e.retainPath=-1<s.inArray(this[0],e.$path),this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(m(this)),e.$path.length&&s.proxy(g,e.$path)())}function w(){var e=s(this),t=v(e);c?s.proxy(y,e,t)():(clearTimeout(t.sfTimer),t.sfTimer=setTimeout(s.proxy(y,e,t),t.delay))}function b(e){var t=s(this),n=v(t),i=t.siblings(e.data.popUpSelector);return!1===n.onHandleTouch.call(i)?this:void(0<i.length&&i.is(":hidden")&&(t.one("click.superfish",!1),"MSPointerDown"===e.type||"pointerdown"===e.type?t.trigger("focus"):s.proxy(g,t.parent("li"))()))}s.fn.superfish=function(e,t){return d[e]?d[e].apply(this,Array.prototype.slice.call(arguments,1
5)):"object"!=typeof e&&e?s.error("Method "+e+" does not exist on jQuery.fn.superfish"):d.init.apply(this,arguments)},s.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:s.noop,onBeforeShow:s.noop,onShow:s.noop,onBeforeHide:s.noop,onHide:s.noop,onIdle:s.noop,onDestroy:s.noop,onHandleTouch:s.noop}}(jQuery,window),function(l){"use strict";var e=l(document),c=l(window);l(function(){l(".slides > li, .single .has-post-cover, .page .has-post-cover, .single-portfolio_item .slide-background-overlay, .page .is-vimeo-pro-slide, .page .portfolio-header-cover-image, .portfolio-with-post-cover, .blog-with-post-cover").length?(l(".navbar").addClass("page-with-cover"),l("#main").addClass("page-with-cover")):l(".navbar").removeClass("page-with-cover"),l(".sf-menu").superfish({speed:"fast",animation:{height:"show"},animationOut:{height:"hide"}}),zoomOptions.navbar_sticky_menu&&(l.fn.TopMenuMargin(),l(".site-header").headroom({tolerance:{up:0,down:0},offset:70})),l('<span class="child-arrow"><svg fill="none" height="24" stroke-width="1.5" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M6 9L12 15L18 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/></svg></span>').on("click",function(e){e.preventDefault();var t=l(this).closest("li"),n=t.find("> ul");n.is(":visible")?(n.slideUp(),t.removeClass("open")):(n.slideDown(),t.addClass("open"))}).appendTo(".side-nav .navbar-nav li.menu-item-has-children > a"),l(".sb-search").sbSearch(),l(".wpzlb-layout, .builder-wrap, .entry-content, .video_cover, .featured_page_content").fitVids(),l(".elementor-widget").each(function(){l(this).hasClass("elementor-widget-wp-widget-wpzoom-portfolio-showcase")&&l(this).addClass("portfolio-showcase")}),l.fn.fullWidthContent(),l.fn.responsiveImagesHeader(),l.fn.singleportfolio(),l.fn.sideNav(),l(".clickable").on("click",function(){window.location.href=l(this).data("href")}),l.fn.wooCartDropdown()}),l.fn.TopMenuMargin=function(){function e(){l(window).width();var e=l(".site-header");l("#main").css("paddingTop",e.outerHeight());l("#wpadminbar"),l(window).width(),l(window).height()}l(window).on("resize orientationchange",e),e()},l.fn.singleportfolio=function(){l(".full-noslider").each(function(e){var t=l(this);function n(){var e=l(window).height()-l(".full-noslider").offset().top-parseInt(l(".full-noslider").css("padding-top"),10);e<300?e=300:e<500&&768<c.width()&&(e=500),t.find(".entry-cover.cover-fullheight").height(e)}c.on("resize focus",n),n()})},l.fn.fullWidthContent=function(){function e(){var e=l(window).width(),t=(e-l(".entry-content").width())/2;l(".fullimg").css({width:e,"margin-left":-t}),l(".fullimg .wp-caption").css({width:e})}l(window).on("resize",e),e()},l.fn.responsiveImagesHeader=function(){function e(){var e=l(window).width();e<=680&&l(".entry-cover-image, .portfolio-header-cover-image").each(function(){var e=l(this).css("background-image").match(/^url\(['"]?(.+)["']?\)$/),t=l(this).data("smallimg");(e=e&&e[1])!=t&&l(this).css("background-image",'url("'+t+'")')}),680<e&&l(".entry-cover-image, .portfolio-header-cover-image").each(function(){var e=l(this).css("background-image").match(/^url\(['"]?(.+)["']?\)$/),t=l(this).data("bigimg");(e=e&&e[1])!=t&&l(this).css("background-image",'url("'+t+'")')})}l(window).on("resize orientationchange",e),e()},l.fn.sideNav=function(){var o=!1,s=!1,r=l(".navbar-toggle").not(".side-nav__close-button .navbar-toggle"),a=null;function t(e){if(!s){e.stopPropagation(),s=!0;var t=!l("body").hasClass("side-nav-open");l("body").toggleClass("side-nav-open").addClass("side-nav-transitioning");var n=l("#slider").data("flexslider");n&&(t?(o=n.playing,n.playing&&n.pause()):o&&n.play());var i=!1;l(".site").one("transitionend",function(){l("body").removeClass("side-nav-transitioning"),i=!(s=!1)}),setTimeout(function(){i||(l("body").removeClass("side-nav-transitioning"),s=!1),c.trigger("resize")},300),t||(r.css("pointer-events","none"),clearTimeout(a),a=setTimeout(function(){r.css("pointer-events","")},400))}}l(".navbar-toggle:not(.side-nav__close-button .navbar-toggle)").on("click touchend",function(e){l("body").hasClass("side-nav-open")||t(e)}),l(".side-nav__close-button .navbar-toggle").on("click touchend",function(e){l("body").hasClass("side-nav-open")&&t(e)}),l(".side-nav-overlay").on("click touchend",function(e){l("body").hasClass("side-nav-open")&&t(e)}),e.on("keyup",function(e){27==e.keyCode&&l("body").hasClass("side-nav-open")&&t(e)}),l(".side-nav__scrollable-container").on("touchstart",function(e){var t=this.scrollTop;t<=0&&(this.scrollTop=1),t+this.offsetHeight>=this.scrollHeight&&(this.scrollTop=this.scrollHeight-this.offsetHeight-1)})}
5,l.fn.sbSearch=function(){return e.on("keydown",function(e){27==e.keyCode&&l("#sb-search").hasClass("sb-search-open")&&l("#sb-search").removeClass("sb-search-open")}),this.each(function(){new UISearch(this)})},l.fn.backgroundVideoSingle=function(){l(this).each(function(e,t){var n=l(t);if(n.length){var i=navigator.userAgent||navigator.vendor||window.opera;if(zoomOptions.featured_video_mobile)var o=/webOS|BlackBerry|IEMobile|Opera Mini/i.test(i);else o=/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(i);if(n.attr("data-formstone-options")){var s=JSON.parse(n.attr("data-formstone-options"));o&&(s.source={poster:s.source.poster}),n.background(s);var r=n.data("fsBackground").autoPlay,a=n.data("fsBackground").mute;o||(n.find(".wpzoom-button-video-background-play")[r?"hide":"show"](),n.find(".wpzoom-button-video-background-pause")[r?"show":"hide"](),n.find(".wpzoom-button-sound-background-mute")[a?"hide":"show"](),n.find(".wpzoom-button-sound-background-unmute")[a?"show":"hide"]())}if(n.attr("data-vimeo-options")&&!o){s=JSON.parse(n.attr("data-vimeo-options"));var c=new Vimeo.Player(n,s);r=s.autoplay,a=s.muted;c.play().then(function(){r||c.pause(),a||c.setVolume(1),o||(n.find(".wpzoom-button-video-background-play")[r?"hide":"show"](),n.find(".wpzoom-button-video-background-pause")[r?"show":"hide"](),n.find(".wpzoom-button-sound-background-mute")[a?"hide":"show"](),n.find(".wpzoom-button-sound-background-unmute")[a?"show":"hide"]())})}n.find(".wpzoom-button-video-background-play").on("click",function(e){e.preventDefault();var t=l(e.currentTarget).closest("div.entry-cover");t.attr("data-formstone-options")&&t.background("play"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).play();n.find(".wpzoom-button-video-background-pause").show(),l(this).hide()}),n.find(".wpzoom-button-video-background-pause").on("click",function(e){e.preventDefault();var t=l(e.currentTarget).closest("div.entry-cover");t.attr("data-formstone-options")&&t.background("pause"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).pause();n.find(".wpzoom-button-video-background-play").show(),l(this).hide()}),n.find(".wpzoom-button-sound-background-mute").on("click",function(e){e.preventDefault();var t=l(e.currentTarget).closest("div.entry-cover");t.attr("data-formstone-options")&&t.background("mute"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).setVolume(0);n.find(".wpzoom-button-sound-background-unmute").show(),l(this).hide()}),n.find(".wpzoom-button-sound-background-unmute").on("click",function(e){e.preventDefault();var t=l(e.currentTarget).closest("div.entry-cover");t.attr("data-formstone-options")&&t.background("unmute"),t.attr("data-vimeo-options")&&new Vimeo.Player(t).setVolume(1);n.find(".wpzoom-button-sound-background-mute").show(),l(this).hide()})}})},l.fn.wooCartDropdown=function(){0!==l(".site-header-cart").length&&(l(document).on("click touchend",function(e){l(e.target).closest(".site-header-cart").length||(l(".site-header-cart").removeClass("cart-dropdown-open"),l(".site-header-cart .widget_shopping_cart").removeAttr("style"))}),l(".site-header-cart > li:first-child").on("click touchend",function(e){if("ontouchstart"in window||window.innerWidth<1024){e.preventDefault(),e.stopPropagation();var t=l(this).closest(".site-header-cart"),n=t.find(".widget_shopping_cart");t.hasClass("cart-dropdown-open")?(t.removeClass("cart-dropdown-open"),n.removeAttr("style")):(t.addClass("cart-dropdown-open"),n.css("right","0"),n.css("display","block"))}}
5),l(".site-header-cart .widget_shopping_cart").on("click touchend",function(e){e.stopPropagation()}))},l(document).ready(function(){l(".single-portfolio_item article.portfolio_item .entry-cover").backgroundVideoSingle(),l(".single-post article.post .entry-cover").backgroundVideoSingle(),l(".page article.page .entry-cover").backgroundVideoSingle(),l(".page .portfolio-header-cover .entry-cover").backgroundVideoSingle()})}(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.