1(function(){'use strict';Drupal.behaviors.responsive_menu_mmenu={attach:function(context){const mmenuId='#off-canvas';const offCanvas=document.querySelector(mmenuId) 2if(offCanvas&&!offCanvas.hasOwnProperty('mmApi')&&typeof(Mmenu)!=='undefined'){const settings=drupalSettings.responsive_menu;const position=settings.position,theme=settings.theme,pagedim=settings.pagedim;const options={extensions:[theme,'fx-menu-slide',position==='left'?'position-left':'position-right'],keyboardNavigation:{enable:true,enhance:true,},drag:{open:settings.drag}};if(pagedim!=='none'){options.extensions.push(pagedim);} 3const config={classNames:{selected:'menu-item--active-trail'}};if(typeof settings.custom!=='undefined'){if(typeof settings.custom.options!=='undefined'){extend(options,drupalSettings.responsive_menu.custom.options);} 4if(typeof drupalSettings.responsive_menu.custom.config!=='undefined'){extend(config,drupalSettings.responsive_menu.custom.config);}} 5const mmenu=new Mmenu(mmenuId,options,config);const mmenuApi=mmenu.API;const viewports=document.getElementsByName('viewport');if(viewports.length!==0&&settings.modifyViewport){const viewportMeta=viewports[0] 6const defaultViewport=viewports[0].content 7const staticViewport="width=device-width, initial-scale=1.0, minimum-scale=1.0";mmenuApi.bind('open:start',function(){viewportMeta.setAttribute('content',staticViewport);});mmenuApi.bind('close:start',function(){viewportMeta.setAttribute('content',defaultViewport);});}}}};})();const extend=function(out){out=out||{};for(let i=1;i<arguments.length;i++){if(!arguments[i]) 8continue;for(let key in arguments[i]){if(arguments[i].hasOwnProperty(key)) 9out[key]=arguments[i][key];}} 10return out;};
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.