vendor: 5,408 bytes, lines 1-6
1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2/*! Lity - v2.4.1 - 2020-04-26 3* http://sorgalla.com/lity/ 4* Copyright (c) 2015-2020 Jan Sorgalla; Licensed MIT */ 5 6!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return b(a,c)}):"object"==typeof module&&"object"==typeof module.exports?module.exports=b(a,require("jquery")):a.lity=b(a,a.jQuery||a.Zepto)}("undefined"!=typeof window?window:this,function(a,b){"use strict";function c(a){var b=B();return N&&a.length?(a.one(N,b.resolve),setTimeout(b.resolve,500)):b.resolve(),b.promise()}function d(a,c,d){if(1===arguments.length)return b.extend({},a);if("string"==typeof c){if(void 0===d)return void 0===a[c]?null:a[c];a[c]=d}else b.extend(a,c);return this}function e(a){for(var b,c=decodeURI(a.split("#")[0]).split("&"),d={},e=0,f=c.length;e<f;e++)c[e]&&(b=c[e].split("="),d[b[0]]=b[1]);return d}function f(a,c){return a+(a.indexOf("?")>-1?"&":"?")+b.param(c)}function g(a,b){var c=a.indexOf("#");return-1===c?b:(c>0&&(a=a.substr(c)),b+a)}function h(a){return b('<span class="lity-error"></span>').append(a)}function i(a,c){var d=c.opener()&&c.opener().data("lity-desc")||"Image with no description",e=b('<img src="'+a+'" alt="'+d+'"/>'),f=B(),g=function(){f.reject(h("Failed loading image"))};return e.on("load",function(){if(0===this.naturalWidth)return g();f.resolve(e)}).on("error",g),f.promise()}function j(a,c){var d,e,f;try{d=b(a)}catch(a){return!1}return!!d.length&&(e=b('<i style="display:none !important"></i>'),f=d.hasClass("lity-hide"),c.element().one("lity:remove",function(){e.before(d).remove(),f&&!d.closest(".lity-content").length&&d.addClass("lity-hide")}),d.removeClass("lity-hide").after(e))}function k(a){var c=J.exec(a);return!!c&&o(g(a,f("https://www.youtube"+(c[2]||"")+".com/embed/"+c[4],b.extend({autoplay:1},e(c[5]||"")))))}function l(a){var c=K.exec(a);return!!c&&o(g(a,f("https://player.vimeo.com/video/"+c[3],b.extend({autoplay:1},e(c[4]||"")))))}function m(a){var c=M.exec(a);return!!c&&(0!==a.indexOf("http")&&(a="https:"+a),o(g(a,f("https://www.facebook.com/plugins/video.php?href="+a,b.extend({autoplay:1},e(c[4]||""))))))}function n(a){var b=L.exec(a);return!!b&&o(g(a,f("https://www.google."+b[3]+"/maps?"+b[6],{output:b[6].indexOf("layer=c")>0?"svembed":"embed"})))}function o(a){return'<div class="lity-iframe-container"><iframe frameborder="0" allowfullscreen allow="autoplay; fullscreen" src="'+a+'"/></div>'}function p(){return z.documentElement.clientHeight?z.documentElement.clientHeight:Math.round(A.height())}function q(a){var b=v();b&&(27===a.keyCode&&b.options("esc")&&b.close(),9===a.keyCode&&r(a,b))}function r(a,b){var c=b.element().find(G),d=c.index(z.activeElement);a.shiftKey&&d<=0?(c.get(c.length-1).focus(),a.preventDefault()):a.shiftKey||d!==c.length-1||(c.get(0).focus(),a.preventDefault())}function s(){b.each(D,function(a,b){b.resize()})}function t(a){1===D.unshift(a)&&(C.addClass("lity-active"),A.on({resize:s,keydown:q})),b("body > *").not(a.element()).addClass("lity-hidden").each(function(){var a=b(this);void 0===a.data(F)&&a.data(F,a.attr(E)||null)}).attr(E,"true")}function u(a){var c;a.element().attr(E,"true"),1===D.length&&(C.removeClass("lity-active"),A.off({resize:s,keydown:q})),D=b.grep(D,function(b){return a!==b}),c=D.length?D[0].element():b(".lity-hidden"),c.removeClass("lity-hidden").each(function(){var a=b(this),c=a.data(F);c?a.attr(E,c):a.removeAttr(E),a.removeData(F)})}function v(){return 0===D.length?null:D[0]}function w(a,c,d,e){var f,g="inline",h=b.extend({},d);return e&&h[e]?(f=h[e](a,c),g=e):(b.each(["inline","iframe"],function(a,b){delete h[b],h[b]=d[b]}),b.each(h,function(b,d){return!d||(!(!d.test||d.test(a,c))||(f=d(a,c),!1!==f?(g=b,!1):void 0))})),{handler:g,content:f||""}}function x(a,e,f,g){function h(a){k=b(a).css("max-height",p()+"px"),j.find(".lity-loader").each(function(){var a=b(this);c(a).always(function(){a.remove()})}),j.removeClass("lity-loading").find(".lity-content").empty().append(k),m=!0,k.trigger("lity:ready",[l])}var i,j,k,l=this,m=!1,n=!1;e=b.extend({},H,e),j=b(e.template),l.element=function(){return j},l.opener=function(){return f},l.options=b.proxy(d,l,e),l.handlers=b.proxy(d,l,e.handlers),l.resize=function(){m&&!n&&k.css("max-height",p()+"px").trigger("lity:resize",[l])},l.close=function(){if(m&&!n){n=!0,u(l);var a=B();if(g&&(z.activeElement===j[0]||b.contains(j[0],z.activeElement)))try{g.focus()}catch(a){}return k.trigger("lity:close",[l]),j.removeClass("lity-opened").addClass("lity-closed"),c(k.add(j)).always(function(){k.trigger("lity:remove",[l]),j.remove(),j=void 0,a.resolve()}),a.promise()}},i=w(a,l,e.handlers,e.handler),j.attr(E,"false").addClass("lity-loading lity-opened lity-"+i.handler).appendTo("body").focus().on("click","[data-lity-close]",function(a){b(a.target).is("[data-lity-close]")&&l.close()}).trigger("lity:open",[l]),t(l),b.when(i.content).always(h)}function y(a,c,d){a.preventDefault?(a.preventDefault(),d=b(this),a=d.data("lity-target")||d.attr("href")||d.attr("src")):d=b(d);var e=new x(a,b.extend({},d.data("lity-options")||d.data("lity"),c),d,z.activeElement);if(!a.preventDefault)return e}var z=a.document,A=b(a),B=b.Deferred,C=b("html"),D=[],E="aria-hidden",F="lity-"+E,G='a[href],area[href],input:not([disabled]),select:not([disabled]),textarea:not([disabled]),button:not([disabled]),iframe,object,embed,[contenteditable],[tabindex]:not
6([tabindex^="-"])',H={esc:!0,handler:null,handlers:{image:i,inline:j,youtube:k,vimeo:l,googlemaps:n,facebookvideo:m,iframe:o},template:'<div class="lity" role="dialog" aria-label="Dialog Window (Press escape to close)" tabindex="-1"><div class="lity-wrap" data-lity-close role="document"><div class="lity-loader" aria-hidden="true">Loading...</div><div class="lity-container"><div class="lity-content"></div><button class="lity-close" type="button" aria-label="Close (Press escape to close)" data-lity-close>×</button></div></div></div>'},I=/(^data:image\/)|(\.(png|jpe?g|gif|svg|webp|bmp|ico|tiff?)(\?\S*)?$)/i,J=/(youtube(-nocookie)?\.com|youtu\.be)\/(watch\?v=|v\/|u\/|embed\/?)?([\w-]{11})(.*)?/i,K=/(vimeo(pro)?.com)\/(?:[^\d]+)?(\d+)\??(.*)?$/,L=/((maps|www)\.)?google\.([^\/\?]+)\/?((maps\/?)?\?)(.*)/i,M=/(facebook\.com)\/([a-z0-9_-]*)\/videos\/([0-9]*)(.*)?$/i,N=function(){var a=z.createElement("div"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return b[c];return!1}();return i.test=function(a){return I.test(a)},y.version="2.4.1",y.options=b.proxy(d,y,H),y.handlers=b.proxy(d,y,H.handlers),y.current=v,b(z).on("click.lity","[data-lity]",y),y});; 7;(function(window){'use strict';function extend(a,b){for(var key in b)if(b.hasOwnProperty(key))a[key]=b[key];return a;}function hasParent(e,id){if(!e)return false;var el=e.target||e.srcElement||e||false;while(el&&el.id!=id)el=el.parentNode||false;return (el!==false);}function getLevelDepth(e,id,waypoint,cnt){cnt=cnt||0;if(e.id.indexOf(id)>=0)return cnt;if(e.classList.contains(waypoint))++cnt;return e.parentNode&&getLevelDepth(e.parentNode,id,waypoint,cnt);}function mobilecheck(){var check=false;(function(a){if(/(android|ipad|playbook|silk|bb\d+|meego).+mobile|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.test(a)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(a.substr(0,4)))check=true;})(navigator.userAgent||navigator.vendor||window.opera);return check;}function closest(e,classname){if(e.classList.contains(classname))return e;return e.parentNode&&closest(e.parentNode,classname);}var divWrapper=(function(){var div=document.createElement('div');return function(el,id){var oDiv=div.cloneNode(false);oDiv.id=id;el.parentNode.insertBefore(oDiv,el);oDiv.appendChild(el);};}());var html=document.getElementsByTagName('html')[0];function multiPanelMenu(el,trigger,options){this.el=el;this.trigger=trigger;this.options=extend(this.defaults,options);if(this.options.clone){this.el=el.cloneNode(true);el.style.display='none';document.body.appendChild(this.el);}this._build();this._init();}multiPanelMenu.prototype={defaults:{type:'cover',levelSpacing:40,backClass:'mp-back',pushDirection:'right',clone:true},_build:function(){if(this.el.nodeName==='UL'){var outerWrapper=document.createElement('div');outerWrapper.classList.add('outer','mp-level');this.el.parentNode.insertBefore(outerWrapper,this.el);outerWrapper.appendChild(this.el);divWrapper(outerWrapper,'relative-container');var newdiv=document.getElementById('relative-container');divWrapper(newdiv,'mobile-menu-container');document.getElementById('mobile-menu-container').classList.add('push-menu-'+this.options.pushDirection);}this.menuItems=Array.prototype.slice.call(this.el.querySelectorAll('li'));
7this.menuItems.forEach(function(el,i){if(el.classList.contains('menu-item--expanded'))if(el.children[1])el.children[1].classList.add('mp-level');});},_init:function(){this.open=false;this.level=0;this.pushDirection='right';this.clonedMenu;this.pushContent=document.getElementById('mp-pusher')?true:false;this.wrapper=document.getElementById('mp-pusher')||null;this.menuOuterContainer=document.querySelector('#mobile-menu-container');this.menuContainer=document.querySelector('#mobile-menu-container > #relative-container');this.el=this.menuOuterContainer;var self=this.el;this.levels=Array.prototype.slice.call(this.el.querySelectorAll('div.mp-level'));this.levels.forEach(function(el,i){el.setAttribute('data-level',getLevelDepth(el,self.id,'mp-level'));});this.eventtype=mobilecheck()?'touchend':'click';this.dragging=false;this.el.classList.add('mp-'+this.options.type);var levelBackItems=[];this.menuItems.forEach(function(el,i){var subLevel=el.querySelector('div.mp-level');if(subLevel){var subLevelLink=subLevel.previousElementSibling.cloneNode(true);var backLi=document.createElement('li');backLi.className='mobile-level-back';backLi.appendChild(subLevelLink);var ulmenu=el.querySelector('.menu');ulmenu.insertBefore(backLi,ulmenu.firstChild);levelBackItems.push(backLi);}});this.levelBack=levelBackItems;self.classList.add('multipanemenu--menu');html.classList.add('multipanemenu-active');this._initEvents();},_initEvents:function(){var self=this;var bodyClickFn=function(el){self._resetMenu();el.removeEventListener(self.eventtype,bodyClickFn);};this.trigger.addEventListener(this.eventtype,function(ev){ev.stopPropagation();ev.preventDefault();if(self.open)self._resetMenu();else{self._openMenu();document.addEventListener(self.eventtype,function(ev){if(self.open&&!hasParent(ev.target,self.el.id))bodyClickFn(this);});}});this.menuItems.forEach(function(el,i){var subLevel=el.querySelector('div.mp-level');if(subLevel){el.querySelector('span, a').addEventListener('touchmove',function(ev){self.dragging=true;});el.querySelector('span, a').addEventListener(self.eventtype,function(ev){if(self.dragging){self.dragging=false;return;}ev.preventDefault();var level=closest(el,'mp-level').getAttribute('data-level');if(self.level<=level){ev.stopPropagation();var closestEl=closest(el,'mp-level');closestEl.classList.add('mp-level-overlay');self._openMenu(subLevel);}});}});this.levels.forEach(function(el,i){el.addEventListener(self.eventtype,function(ev){ev.stopPropagation();var level=el.getAttribute('data-level');if(self.level>level){self.level=level;self._closeMenu();}});});this.levelBack.forEach(function(el,i){el.addEventListener(self.eventtype,function(ev){ev.preventDefault();var level=closest(el,'mp-level').getAttribute('data-level');if(self.level<=level){ev.stopPropagation();self.level=closest(el,'mp-level').getAttribute('data-level')-1;self.level===0?self._resetMenu():self._closeMenu();}});});},_openMenu:function(subLevel){++this.level;var levelFactor=(this.level-1)*this.options.levelSpacing,translateVal=this.options.type==='overlap'?this.el.offsetWidth+levelFactor:this.el.offsetWidth;translateVal=this.options.pushDirection==='left'?'-'+translateVal:translateVal;this._setTransform('translate3d('+translateVal+'px,0,0)');if(subLevel){this._setTransform('',subLevel);for(var i=0,len=this.levels.length;i<len;++i){var levelEl=this.levels[i];if(levelEl!=subLevel&&!levelEl.classList.contains('mp-level-open'))if(this.options.pushDirection==='right')this._setTransform('translate3d(100%,0,0) translate3d('+-1*levelFactor+'px,0,0)',levelEl);else this._setTransform('translate3d(-100%,0,0) translate3d('+-1*levelFactor+'px,0,0)',levelEl);}}if(this.level===1){if(this.pushContent)this.wrapper.classList.add('mp-pushed');this.el.classList.add('mp-menu-opened');html.classList.add('mlpushmenu-open');var menuHeight=document.querySelector('.mp-level.outer > ul.menu').offsetHeight;menuHeight=menuHeight+100;this.menuContainer.style.height=menuHeight+'px';this.open=true;}this.menuOuterContainer.scrollTop=0;if(subLevel)subLevel.classList.add('mp-level-open');else this.levels[0].classList.add('mp-level-open');}
7,_resetMenu:function(){this._setTransform('translate3d(0,0,0)');this.level=0;if(this.pushContent)this.wrapper.classList.remove('mp-pushed');this.el.classList.remove('mp-menu-opened');html.classList.remove('mlpushmenu-open');this._toggleLevels();this.open=false;},_closeMenu:function(){var translateVal=this.options.type==='overlap'?this.el.offsetWidth+(this.level-1)*this.options.levelSpacing:this.el.offsetWidth;translateVal=this.options.pushDirection==='left'?'-'+translateVal:translateVal;this._setTransform('translate3d('+translateVal+'px,0,0)');this._toggleLevels();},_setTransform:function(val,el){el=el||this.wrapper;if(el){el.style.WebkitTransform=val;el.style.MozTransform=val;el.style.transform=val;}},_toggleLevels:function(){for(var i=0,len=this.levels.length;i<len;++i){var levelEl=this.levels[i];if(levelEl.getAttribute('data-level')>=this.level+1)levelEl.classList.remove('mp-level-open','mp-level-overlay');else{if(Number(levelEl.getAttribute('data-level'))==this.level)levelEl.classList.remove('mp-level-overlay');}}}};window.multiPanelMenu=multiPanelMenu;})(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.