PageSourceSearch

https://www.sormlandssparbank.se/etc.clientlibs/wcms/components/sh…-53151da57d476953e03c8e3ead42b9a3-lc.min.js

js sormlandssparbank.se collected 2026-10-08 16:00:49 UTC 2,253 bytes, 6 lines download raw bytes

1var TopMenuModal;
2(function(c){c.selector='[data-js\x3d"top-menu-modal"]';var m='[data-js\x3d"'.concat("top-menu-modal-close",'"]'),e=function(a){$("[".concat(TopNav.headerWrapper,"]")).attr("aria-hidden","".concat(a));$("#wrapper").attr("aria-hidden","".concat(a));$("footer").attr("aria-hidden","".concat(a))},n=function(){var a=$("".concat(c.selector,":visible"));if(!a.length)return null;a=a.attr("data-js-id");if(!a)return null;a=$("#".concat(a));return a.length?a:null},d=function(){var a=n();$('[data-js\x3d"menu-toggle"]').attr(WcmsConstants.ariaExpanded,"false");
3e(!1);$(c.selector).hide();$("body").css("overflow","initial");a?a.trigger("focus"):$('[data-js\x3d"menu-toggle"]').first().focus()},p=function(){var a=[WcmsConstants.enter," "];$(document).off("click.topMenuModalClose").on("click.topMenuModalClose",m,function(){return d()});$(document).off("keydown.topMenuModalClose").on("keydown.topMenuModalClose",function(b){if(a.includes(b.key)&&"top-menu-modal-close"===$(":focus").data("js")||b.key===WcmsConstants.escape)b.preventDefault(),d()})},f=function(){$('[data-js\x3d"menu-modal-overlay"]').off("click.topMenuModalOutside").on("click.topMenuModalOutside",
4function(){return d()})},k=function(a){for(var b=0,g=["top-nav-","top-menu-modal-"];b<g.length;b++){var h=g[b];if(a.startsWith(h))return a.substring(h.length)}return a};c.handleModalOpen=function(a){var b=$(a);a=b.attr("data-target");b=b.attr(WcmsConstants.attrId)||b.parent().attr(WcmsConstants.attrId);if(a)a=k(a);else if(b)a=k(b);else return;b=$("".concat(c.selector,'[data-js-id\x3d"').concat(a,'"]'));$('[data-js\x3d"'.concat(TopNav.menuToggle,'"]')).attr(WcmsConstants.ariaExpanded,"true");e(!0);
5$(c.selector).hide();b.show();$("body").css("overflow","hidden");f();WcmsFunctions.trapFocus(b,'[tabindex\x3d"0"], a, button');"search"===a&&$(b).find("input").trigger("focus")};var l=function(){window.matchMedia("(max-width: ".concat(WcmsConstants.windowWidthTablet,"px)")).matches&&$(c.selector).css("height","".concat(window.innerHeight,"px"))},q=function(){l();$(document).on("scroll",function(){l();var a=$(document).scrollTop()||0;$(c.selector).css("top",a)})};c.init=function(){p();f();q()}})(TopMenuModal||
6(TopMenuModal={}));(function(){TopMenuModal.init()})();

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.