PageSourceSearch

https://aachen-tourismus.de/wp-content/themes/salient-child/dist/tomas.js

js aachen-tourismus.de collected 2026-10-02 04:43:46 UTC 3,328 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){let e=!1,n=!1;function a(){e&&n&&(function(){var e=$(".slide-out-widget-area-toggle:not(.std-menu) > div > a"),n=$("#slide-out-widget-area.fullscreen-split"),a=$("#slide-out-widget-area-bg"),s=$("#header-outer"),o=n.children(".inner-wrap"),t=!1;function i(){var e=s.outerHeight()||0;return"true"===document.body.getAttribute("data-contained-header")&&(e*=1.5),e}n.length&&e.length&&(e.each(function(){var e=$(this).find('span[aria-hidden="true"]').first();e.length&&!e.children(".close-wrap").length&&e.append('<span class="close-wrap loaded"><span class="close-line close-line1"></span><span class="close-line close-line2"></span></span>')}),e.on("click",function(d){d.preventDefault(),t||(e.first().hasClass("open")?(t=!0,e.removeClass("open").addClass("closed animating").attr("aria-expanded","false"),e.find(".lines-button:not(.legacy-double)").removeClass("close"),n.removeClass("open"),a.removeClass("open"),s.removeClass("side-widget-open").addClass("side-widget-closed"),setTimeout(function(){e.removeClass("menu-push-out")},350),setTimeout(function(){n.hasClass("open")||(n.addClass("hidden"),a.addClass("hidden"),o.css("padding-top","")),e.removeClass("animating"),t=!1},550)):(t=!0,e.removeClass("closed").addClass("open menu-push-out animating").attr("aria-expanded","true"),e.find(".lines-button:not(.legacy-double)").addClass("close"),n.addClass("open").removeClass("hidden"),a.addClass("open").removeClass("hidden"),s.removeClass("side-widget-closed").addClass("side-widget-open"),o.css("padding-top",i()+"px"),setTimeout(function(){e.removeClass("animating"),t=!1},600)))}),$(window).on("resize",function(){n.hasClass("open")&&o.css("padding-top",i()+"px")}))}
1(),function(){var e=$("#slide-out-widget-area"),n=window.matchMedia("(max-width: 999px)");function a(){e.find(".off-canvas-menu-container .menu .removeTitle").addClass("open-submenu")}function s(n){var s=e.find(".off-canvas-menu-container .menu .menu-item-has-children"),o=e.find(".off-canvas-menu-container .menu .sub-menu");n?(s.removeClass("open-submenu"),o.css("max-height",""),a()):(s.addClass("open-submenu"),o.css("max-height","100%"))}"separate-dropdown-parent-link"===e.attr("data-dropdown-func")&&(e.find(".off-canvas-menu-container li.menu-item-has-children").each(function(){$(this).children(".ocm-dropdown-arrow").length||$(this).append('<span class="ocm-dropdown-arrow"><i class="fa fa-angle-down"></i></span>')}),s(n.matches),n.addEventListener("change",function(e){s(e.matches)}),e.on("click",".off-canvas-menu-container li.menu-item-has-children > .ocm-dropdown-arrow",function(e){if(e.preventDefault(),n.matches){var s=$(this).closest(".menu-item"),o=s.children("ul");s.hasClass("removeTitle")||(s.hasClass("open-submenu")?(o.css("max-height","0"),s.removeClass("open-submenu")):(s.parent().children("li.menu-item-has-children").not(".removeTitle").removeClass("open-submenu").children("ul").css("max-height","0"),s.addClass("open-submenu"),o.css("max-height",o.prop("scrollHeight")+"px")),setTimeout(a,100))}}))}())}$.get("/tomas-header/",function(n){n=(n=n.replace("<body>","")).replace("</body>",""),$("body").prepend(n),e=!0,a()}),$.get("/tomas-footer/",function(e){setTimeout(function(){e=(e=e.replace("<body>","")).replace("</body>",""),$("body").append(e),n=!0,a()})})});

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.