1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function($){$.fn.supposition=function(){const $w=$(window);const _offset=function(dir){return window[dir==='y'?'pageYOffset':'pageXOffset']||document.documentElement&&document.documentElement[dir==='y'?'scrollTop':'scrollLeft']||document.body[dir==='y'?'scrollTop':'scrollLeft'];};const onHide=function(){this.css({bottom:''});};const onBeforeShow=function(){this.each(function(){const $u=$(this);$u.css('display','block');const $mul=$u.closest('.sf-menu');const level=$u.parents('ul').length;const menuWidth=$u.width();const menuParentWidth=$u.closest('li').outerWidth(true);const menuParentLeft=$u.closest('li').offset().left;const totalRight=$w.width()+_offset('x');const menuRight=$u.offset().left+menuWidth;const exactMenuWidth=menuRight>(menuParentWidth+menuParentLeft)?menuWidth-(menuRight-(menuParentWidth+menuParentLeft)):menuWidth;if($u.parents('.sf-js-enabled').hasClass('rtl')){if(menuParentLeft<exactMenuWidth){if($mul.hasClass('sf-horizontal')&&level===1||$mul.hasClass('sf-navbar')&&level===2)$u.css({left:0,right:'auto'});else $u.css({left:menuParentWidth+'px',right:'auto'});$u.parent().addClass('sf-supposition-active');}}else{if(menuRight>totalRight&&menuParentLeft>menuWidth){if($mul.hasClass('sf-horizontal')&&level===1||$mul.hasClass('sf-navbar')&&level===2)$u.css({right:0,left:'auto'});else $u.css({right:menuParentWidth+'px',left:'auto'});$u.parent().addClass('sf-supposition-active');}};const windowHeight=$w.height();const offsetTop=$u.offset().top;const menuParentShadow=$mul.hasClass('sf-shadow')&&$u.css('padding-bottom').length>0?parseInt($u.css('padding-bottom').slice(0,-2)):0;const menuParentHeight=$mul.hasClass('sf-vertical')?'-'+menuParentShadow:$u.parent().outerHeight(true)-menuParentShadow;const menuHeight=$u.height();const baseline=windowHeight+_offset('y');const expandUp=(offsetTop+menuHeight>baseline)&&(offsetTop>menuHeight);if(expandUp)$u.css({bottom:menuParentHeight+'px',top:'auto'});$u.css('display','none');});};return this.each(function(){const options=$.fn.superfish.optionsList[this.serial];const _onBeforeShow=options.onBeforeShow;const _onHide=options.onHide;$.extend($.fn.superfish.optionsList[this.serial],{onBeforeShow:function(){onBeforeShow.call(this);_onBeforeShow.call(this);},onHide:function(){onHide.call(this);_onHide.call(this);}});});};})(jQuery);; 3(function($){$.fn.sftouchscreen=function(options){options=$.extend({mode:'inactive',breakpoint:768,breakpointUnit:'px',useragent:'',behaviour:2,disableHover:false},options);function activate(menu){const eventHandler=(('ontouchstart' in window)||(window.DocumentTouch&&document instanceof DocumentTouch))?['click touchstart','mouseup touchend']:['click','mouseup'];menu.find('li:has(ul)').children('a,span.nolink').each(function(){const $item=$(this),parent=$item.closest('li');if(options.disableHover)parent.off('mouseenter mouseleave');if(options.behaviour===2)if(parent.children('a.menuparent,span.nolink.menuparent').length>0&&parent.children('ul').children('.sf-clone-parent').length===0){let cloneLink=parent.children('a.menuparent').clone();cloneLink=$('<li class="sf-clone-parent" />').html(cloneLink);cloneLink.find('.sf-sub-indicator').remove();parent.children('ul').addClass('sf-has-clone-parent').prepend(cloneLink);}$item.on(eventHandler[0],function(event){if($item.hasClass('sf-clicked'))if(options.behaviour===0){url=$item.attr('href');if(typeof (url)!='undefined')window.location=url;}else{if(options.behaviour===1||options.behaviour===2){event.preventDefault();$item.removeClass('sf-clicked');parent.hideSuperfishUl().find('a,span.nolink').removeClass('sf-clicked');}}else{event.preventDefault();$item.addClass('sf-clicked');parent.showSuperfishUl().siblings('li:has(ul)').hideSuperfishUl().find('.sf-clicked').removeClass('sf-clicked');}});});$(document).on(eventHandler[1],function(event){if(menu.not(event.target)&&menu.has(event.target).length===0){menu.find('.sf-clicked').removeClass('sf-clicked');menu.find('li:has(ul)').hideSuperfishUl();}});}for(let b=0;b<this.length;b++){const menu=$(this).eq(b),mode=options.mode;
3if(mode==='always_active')activate(menu);else if(mode==='window_width'){const breakpoint=(options.breakpointUnit==='em')?(options.breakpoint*parseFloat($('body').css('font-size'))):options.breakpoint;const windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;let timer;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&windowWidth<breakpoint)activate(menu);else{if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(breakpoint-1)+'px)'))activate(menu);}$(window).resize(function(){clearTimeout(timer);timer=setTimeout(function(){const windowWidth=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth;if((typeof Modernizr==='undefined'||typeof Modernizr.mq!=='function')&&windowWidth<breakpoint)activate(menu);else{if(typeof Modernizr!=='undefined'&&typeof Modernizr.mq==='function'&&Modernizr.mq('(max-width:'+(breakpoint-1)+'px)'))activate(menu);}},50);});}else if(mode==='useragent_custom'){if(options.useragent!=''){const ua=RegExp(options.useragent,'i');if(navigator.userAgent.match(ua))activate(menu);}}else{if(mode==='useragent_predefined'&&navigator.userAgent.match(/(android|bb\d+|meego)|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i))activate(menu);}}return this;};})(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.