PageSourceSearch

https://scoilantseachtarlaoch.ie/wp-content/themes/atlantis/js/jquery.superfish.js?ver=6.8.10

js scoilantseachtarlaoch.ie collected 2026-10-03 18:46:04 UTC 4,724 bytes, 12 lines download raw bytes

1/*
2 * Superfish v1.6.7 - jQuery menu widget
3 * Supersubs v0.3b - jQuery plugin
4 * Copyright (c) 2013 Joel Birch
5 *
6 * Dual licensed under the MIT and GPL licenses:
7 * 	http://www.opensource.org/licenses/mit-license.php
8 * 	http://www.gnu.org/licenses/gpl.html
9 *
10 */
11(function(e){e.fn.superfish=function(t){var n=e.fn.superfish,r=n.c,i=e('<span class="'+r.arrowClass+'"> &#187;</span>'),s=function(){var t=e(this),n=f(t);clearTimeout(n.sfTimer);t.showSuperfishUl().siblings().hideSuperfishUl()},o=function(t){var r=e(this),i=f(r);if(t.type==="click"||n.ios){e.proxy(u,r,i)()}else{clearTimeout(i.sfTimer);i.sfTimer=setTimeout(e.proxy(u,r,i),i.delay)}},u=function(t){t.retainPath=e.inArray(this[0],t.$path)>-1;this.hideSuperfishUl();if(!this.parents("."+t.hoverClass).length){t.onIdle.call(a(this));if(t.$path.length){e.proxy(s,t.$path)()}}},a=function(e){return e.closest("."+r.menuClass)},f=function(e){return a(e).data("sf-options")},l=function(e){e.css("ms-touch-action","none")},c=function(t,r){var i="li:has(ul)";if(!r.useClick){if(e.fn.hoverIntent&&!r.disableHI){t.hoverIntent(s,o,i)}else{t.on("mouseenter",i,s).on("mouseleave",i,o)}}var u="MSPointerDown";if(!n.ios){u+=" touchstart"}if(n.wp7){u+=" mousedown"}t.on("focusin","li",s).on("focusout","li",o).on("click","a",r,p).on(u,"a",h)},h=function(t){var n=e(this),r=n.siblings("ul");if(r.length>0&&r.is(":hidden")){n.data("follow",false);if(t.type==="MSPointerDown"){n.trigger("focus");return false}}},p=function(t){var n=e(this),r=t.data,i=n.siblings("ul"),u=n.data("follow")===false?false:true;if(i.length&&(r.useClick||!u)){t.preventDefault();if(i.is(":hidden")){e.proxy(s,n.parent("li"))()}else if(r.useClick&&u){e.proxy(o,n.parent("li"),t)()}}},d=function(t,n){return t.find("li."+n.pathClass).slice(0,n.pathLevels).addClass(n.hoverClass+" "+r.bcClass).filter(function(){return e(this).children("ul").hide().show().length}).removeClass(n.pathClass)},v=function(t,n){if(n.autoArrows){t.children("a").each(function(){m(e(this))})}},m=function(e){e.addClass(r.anchorClass).append(i.clone())};n.getOptions=f;return this.addClass(r.menuClass).each(function(){var i=e(this),s=e.extend({},n.defaults,t),o=i.find("li:has(ul)");s.$path=d(i,s);i.data("sf-options",s);v(o,s);l(i);c(i,s);o.not("."+r.bcClass).hideSuperfishUl(true);s.onInit.call(this)})};var t=e.fn.superfish;t.o=[];t.op={};t.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator"};t.defaults={hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",autoArrows:true,disableHI:false,useClick:false,onInit:e.noop,onBeforeShow:e.noop,onShow:e.noop,onBeforeHide:e.noop,onHide:e.noop,onIdle:e.noop};t.ios=/iPhone|iPad|iPod/i.test(navigator.userAgent);t.wp7=function(){var e=document.documentElement.style;return"behavior"in e&&"fill"in e&&/iemobile/i.test(navigator.userAgent)}();e.fn.extend({hideSuperfishUl:function(n){if(this.length){var r=this,i=t.getOptions(r),s=i.retainPath===true?i.$path:"",o=r.find("li."+i.hoverClass).add(this).not(s).removeClass(i.hoverClass).children("ul"),u=i.speedOut;if(n){o.show();u=0}i.retainPath=false;i.onBeforeHide.call(o);o.stop(true,true).animate(i.animationOut,u,function(){i.onHide.call(e(this));if(i.useClick){r.children("a").data("follow",false)}})}return this},showSuperfishUl:function(){var e=t.getOptions(this),n=this.addClass(e.hoverClass),r=n.children("ul");e.onBeforeShow.call(r);r.stop(true,true).animate(e.animation,e.speed,function(){e.onShow.call(r);n.children("a").data("follow",true)});return this}});if(t.ios){e(window).load(function(){e("body").children().on("click",e.noop)});e(window).on("pageshow",function(e){if(e.originalEvent.persisted){window.location.reload()}})}})(jQuery);
12(function(e){e.fn.supersubs=function(t){var n=e.extend({},e.fn.supersubs.defaults,t);return this.each(function(){var t=e(this);var r=e.meta?e.extend({},n,t.data()):n;$ULs=t.find("ul").show();var i=e('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(t)[0].clientWidth;e("#menu-fontsize").remove();$ULs.each(function(t){var n=e(this);var s=n.children();var u=s.children("a");var a=s.css("white-space","nowrap").css("float");n.add(s).add(u).css({"float":"none",width:"auto"});var f=n[0].clientWidth/i;f+=r.extraWidth;
12if(f>r.maxWidth){f=r.maxWidth}else if(f<r.minWidth){f=r.minWidth}f+="em";n.css("width",f);s.css({"float":a,width:"100%","white-space":"normal"}).each(function(){var t=e(this).children("ul");var n=t.css("left")!==undefined?"left":"right";t.css(n,"100%")})}).hide()})};e.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(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.