PageSourceSearch

https://www.coastlodge.ie/wp-content/uploads/hummingbird-assets/6a8f84c11664911b8935551e5ab4f135.js

js coastlodge.ie collected 2026-10-06 13:15:17 UTC 8,486 bytes, 2 lines download raw bytes

1/**handles:fw-backround-video**/
2((p,s)=>{var i=p(s),n,l=null,d="backgroundSize"in document.documentElement.style,t=0,u=!1,c=[],e=s.navigator.userAgent||s.navigator.vendor||s.opera,h=/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(e),a=0<=e.toLowerCase().indexOf("safari")&&e.toLowerCase().indexOf("chrome")<0,f,v,o,g={autoPlay:!0,embedRatio:1.777777,hoverPlay:!1,loop:!0,mute:!0,onLoad:p.noop,onReady:p.noop,source:null},y={defaults:function(e){return g=p.extend(g,e||{}),p(this)},destroy:function(){var e=p(this).each(function(){var e=p(this).data("wallpaper");e&&(e.$container.remove(),e.$target.removeClass("wallpaper").off(".boxer").data("wallpaper",null))});return void 0!==n&&void 0!==i&&p(".wallpaper").length<1&&(n.removeClass("wallpaper-inititalized"),i.off(".wallpaper")),e},load:function(a){return p(this).each(function(){var e=p(this).data("wallpaper");e&&m(a,e)})},pause:function(){return p(this).each(function(){var e=p(this).data("wallpaper"),e;e&&(e.isYouTube&&e.playerReady?e.player.pauseVideo():(e=e.$container.find("video")).length&&e[0].pause())})},play:function(){return p(this).each(function(){var e=p(this).data("wallpaper"),e;e&&(e.isYouTube&&e.playerReady?e.player.playVideo():(e=e.$container.find("video")).length&&e[0].play())})},stop:function(){y.pause.apply(this)},unload:function(){return p(this).each(function(){var e=p(this).data("wallpaper");e&&C(e)})}};function r(e){for(var a=p.extend({},g,e),t=(n=p("body"),f=H(),(v=!1!==f)||(f="transitionend.wallpaper"),p(this)),o=0,r=t.length;o<r;o++)w.apply(t.eq(o),[p.extend({},a)]);return n.hasClass("wallpaper-inititalized")||(n.addClass("wallpaper-inititalized"),i.on("resize.wallpaper",a,x)),t}function w(e){var a=p(this),a;a.hasClass("wallpaper")||(p.extend(e,a.data("wallpaper-options")),a.addClass("wallpaper").append('<div class="wallpaper-container"></div>'),e.guid="wallpaper-"+t++,e.youTubeGuid=0,e.$target=a,e.$container=e.$target.find(".wallpaper-container"),e.$target.data("wallpaper",e).on("resize.wallpaper",e,S),a=e.source,e.source=null,m(a,e,!0),e.onReady.call())}function m(e,a,t){var o;if(e!==a.source)if(a.source=e,a.isYouTube=!1,"object"==typeof e&&"string"==typeof e.video&&(o=e.video.match(/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i))&&1<=o.length&&(a.isYouTube=!0,a.videoId=o[1]),a.isYouTube)a.playing=!1,a.playerReady=!1,a.posterLoaded=!1,$(e,a,t);else if("object"!=typeof e||e.hasOwnProperty("fallback")){if(a.responsiveSource)for(var r in a.responsiveSource)a.responsiveSource.hasOwnProperty(r)&&a.responsiveSource[r].mq.removeListener(L);if(a.responsive=!1,a.responsiveSource=null,"object"==typeof e){var i=[],n,l,p,p;for(l in e){e.hasOwnProperty(l)&&(p="fallback"===l?"(min-width: 0px)":l)&&((p=s.matchMedia(p.replace(1/0,"100000px"))).addListener(L),i.push({mq:p,source:e[l]}),p.matches)&&(n=e[l])}a.responsive=!0,a.responsiveSource=i,e=n}b(e,a,!1,t)}else P(e,a,t);else a.$target.trigger("wallpaper.loaded"),a.onLoad.call(a.$target)}function b(e,a,t,o){var r=p('<div class="wallpaper-media wallpaper-image'+(!0!==o?" animated":"")+'"><img /></div>'),i=r.find("img"),n=e;i.one("load.wallpaper",function(){d&&r.addClass("native").css({backgroundImage:"url('"+n+"')"}),r.on(f,function(e){k(e),p(e.target).is(r)&&(r.off(f),t||T(a))}),setTimeout(function(){r.css({opacity:1}),a.responsive&&o&&T(a)},0),S({data:a}),t&&!o||(a.$target.trigger("wallpaper.loaded"),a.onLoad.call(a.$target)),l=p(".wallpaper-responsive")}).attr("src",n),a.responsive&&r.addClass("wallpaper-responsive"),a.$container.append(r),!i[0].complete&&4!==i[0].readyState||i.trigger("load.wallpaper")}function P(e,a,t){var t,o,r;a.source.poster&&(b(a.source.poster,a,!0,!0),t=!1),h||(t='<div class="wallpaper-media wallpaper-video'+(!0!==t?" animated":"")+'">',t+="<video",a.loop&&(t+=" loop"),a.mute&&(t+=" muted"),t+=">",a.source.webm&&(t+='<source src="'+a.source.webm+'" type="video/webm" />'),a.source.mp4&&(t+='<source src="'+a.source.mp4+'" type="video/mp4" />'),a.source.ogg&&(t+='<source src="'+a.source.ogg+'" type="video/ogg" />'),(o=p(t=t+"</video>"+"</div>")).find("video").one("loadedmetadata.wallpaper",function(e){o.on(f,function(e){k(e),p(e.target).is(o)&&(o.off(f),T(a))}),setTimeout(function(){o.css({opacity:1})},0),S({data:a}),a.$target.trigger("wallpaper.loaded"),a.onLoad.call(a.$target),a.hoverPlay?a.$target.on("mouseover.boxer",y.play).on("mouseout.boxer",y.pause):a.autoPlay&&this.play()}),a.$container.append(o))}function $(e,a,t){var o,o,r,i;a.videoId||(o=e.match(/^.*(?:youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]*).*/),a.videoId=o[1]),a.posterLoaded||(a.source.poster||(a.source.poster="//img.youtube.com/vi/"+a.videoId+"/0.jpg"),a.posterLoaded=!0,b(a.source.poster,a,!0,t),t=!1),h||(p("script[src*='youtube.com/iframe_api']").length||p("head").append('<script src="//www.youtube.com/iframe_api"><\/script>'),u?(o=a.guid+"_"+a.youTubeGuid++,r="",i=p(r=(r+='<div class="wallpaper-media wallpaper-embed'+(!0!==t?" animated":"")+'">')+('<div id="'+o+'"></div>')+"</div>"),a.$container.append(i),a.player&&(a.oldPlayer=a.player,a.player=null),a.player=new s.YT.Player(o,{videoId:a.videoId,playerVars:{controls:0,rel:0,showinfo:0,wmode:"transparent",enablejsapi:1,version:3,playerapiid:o,loop:a.loop?1:0,autoplay:1,origin:s.location.protocol+"//"+s.location.host},events:{onReady:function(e){a.playerReady=!0,a.mute&&a.player.mute(),a.hoverPlay?a.$target.on("mouseover.boxer",y.play).on("mouseout.boxer",y.pause):a.autoPlay&&a.player.playVideo()},onStateChange:function(e){a.playing||e.data!==s.YT.PlayerState.PLAYING?a.loop&&a.playing&&e.data===s.YT.PlayerState.ENDED&&a.player.playVideo():(a.playing=!0,!a.hoverPlay&&a.autoPlay||a.player.pauseVideo(),a.$target.trigger("wallpaper.loaded"),a.onLoad.call(a.$target),i.on(f,function(e){k(e),p(e.target).is(i)&&(i.off(f),T(a))}),i.css({opacity:1})),a.$target.find(".wallpaper-embed").addClass("ready")},onPlaybackQualityChange:function(e){},onPlaybackRateChange:function(e){},onError:function(e){},onApiChange:function(e){}}}),S({data:a})):c.push({source:e,data:a}))}function T(e){var a=e.$container.find(".wallpaper-media");1<=a.length&&(a.not(":last").remove(),e.oldPlayer=null),l=p(".wallpaper-responsive")}function C(a){var t=a.$container.find(".wallpaper-media");1<=t.length&&t.on(f,function(e){k(e),p(e.target).is(t)&&(p(this).remove(),delete a.source)}).css({opacity:0}
2)}function S(e){k(e);for(var a=e.data,t=a.$container.find(".wallpaper-media"),o=0,r=t.length;o<r;o++){var i=t.eq(o),n=a.isYouTube?"iframe":i.find("video").length?"video":"img",l=i.find(n),n,p,s,l,l;!l.length||"img"==n&&a.nativeSupport||(s=(n=a.$target.outerWidth())/(p=a.$target.outerHeight()),l=O(a,l),a.width=l.naturalWidth,a.height=l.naturalHeight,a.left=0,a.top=0,l=a.isYouTube?a.embedRatio:a.width/a.height,a.height=p,a.width=a.height*l,a.width<n&&(a.width=n,a.height=a.width/l),a.left=-(a.width-n)/2,a.top=-(a.height-p)/2,i.css({height:a.height,width:a.width,left:a.left,top:a.top}))}}function x(){p(".wallpaper").each(function(){var e;S({data:p(this).data("wallpaper")})})}function L(){o=I(o,5,Y)}function Y(){R(o),l.each(function(){for(var e=p(this),a=e.find("img"),t=e.parents(".wallpaper").data("wallpaper"),o=t.responsiveSource,r=0,i=0,n=o.length,l;i<n;i++){o.hasOwnProperty(i)&&(l=o[i].mq)&&l.matches&&(r=i)}b(o[r].source,t,!1,!0),e.trigger("change.wallpaper")})}function I(e,a,t,o){return R(e,o),setTimeout(t,a)}function R(e){null!==e&&clearInterval(e)}function O(e,a){var e,t;return e.isYouTube?{naturalHeight:500,naturalWidth:500/e.embedRatio}:a.is("img")?void 0!==(e=a[0]).naturalHeight?{naturalHeight:e.naturalHeight,naturalWidth:e.naturalWidth}:((t=new Image).src=e.src,{naturalHeight:t.height,naturalWidth:t.width}):{naturalHeight:a[0].videoHeight,naturalWidth:a[0].videoWidth}}function k(e){e.preventDefault&&(e.stopPropagation(),e.preventDefault())}function H(){var e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},a=document.createElement("div"),t;for(t in e)if(e.hasOwnProperty(t)&&t in a.style)return e[t]+".wallpaper";return!1}s.onYouTubeIframeAPIReady=function(){for(var e in u=!0,c)c.hasOwnProperty(e)&&$(c[e].source,c[e].data);c=[]},p.fn.wallpaper=function(e){return y[e]?y[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?this:r.apply(this,arguments)},p.wallpaper=function(e){"defaults"===e&&y.defaults.apply(this,Array.prototype.slice.call(arguments,1))}})(jQuery,window);

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.