PageSourceSearch

https://www.kronberg.de/:res/modules/common/common/layout/metropol…t-news--component.system.js?fp=1493d431676e

js kronberg.de collected 2026-09-24 21:24:23 UTC 4,928 bytes, 2 lines download raw bytes

1System.register(["layout-metropolis-content-news--component.css"],function(e){"use strict";var t;return{setters:[function(e){t=e.default}],execute:function(){const i=e("NewsIndexArticles",function(){var e,t=[{name:"mobile-portrait",min:310,max:449},{name:"mobile-landscape",min:450,max:649},{name:"tablet-portrait",min:650,max:840},{name:"tablet-landscape",min:841,max:1023},{name:"desktop",min:1024}],i=[{name:"extra-tiny",max:259},{name:"tiny",min:260,max:309},{name:"mobile-portrait",min:310,max:449},{name:"mobile-landscape",min:450,max:649},{name:"tablet-portrait",min:650,max:840},{name:"tablet-landscape",min:841,max:1023},{name:"desktop",min:1024}];function n(){Metropolis.generateSpaces({el:e,cssClassTemplate:"article-teaser-list-%SPACE%",sizes:t}),Metropolis.generateSpaces({el:e.find(".article-teaser"),cssClassTemplate:"article-teaser-%SPACE%",sizes:i,considerPadding:!1,considerMargin:!1,generateUpClasses:!1})}return{init:function(t){(e=t).addClass("initialized"),$(window).resize(function(){n()}),n()}}}),n=e("NewsIndex",function(){return{init:function(e){e.addClass("initialized"),$(".news-index--articles-gallery").each(function(e,t){var i,n=$(t).find("img");"function"==typeof CustomEvent?(i=new CustomEvent("imageSizeChange")).images=n.toArray():((i=document.createEvent("Event")).images=that.slider[0].querySelectorAll("img"),i.initEvent("imageSizeChange",!0,!0));var a={small:1,medium:0,large:0};if($(t).closest(".columns").length<1)$(t).addClass("news-index--articles-gallery-small-12 news-index--articles-gallery-medium-12 news-index--articles-gallery-large-12 news-index--articles-gallery-xlarge-12");else{var s=window.getGridConfig($(t).closest(".columns"));$(t).addClass("news-index--articles-gallery-small-"+s.small+" news-index--articles-gallery-medium-"+s.medium+" news-index--articles-gallery-large-"+s.large+" news-index--articles-gallery-xlarge-"+s.xlarge),$(window).resize(function(){l()}),l()}function l(){$("html").hasClass("small-only-mq")&&$(t).find("article").length>1&&a.small>0&&!$(t).hasClass("slick-initialized")&&$(t).slick(function(e){var t={slidesToShow:e.large,slidesToScroll:e.large},i={slidesToShow:e.medium,slidesToScroll:e.medium},n={slidesToShow:e.small,slidesToScroll:e.small};return{infinite:!0,speed:300,mobileFirst:!0,responsive:[{breakpoint:992,settings:t=0==e.large?"unslick":t},{breakpoint:768,settings:i=0==e.medium?"unslick":i},{breakpoint:0,settings:n=0==e.small?"unslick":n}]}}(a)),setTimeout(function(){document.body.dispatchEvent(i)},0)}}),$("body").hasClass("mode-editor")||$(".news-index--articles").each(function(e,t){if($(t).closest(".columns").length<1)$(t).addClass("news-index--articles-gallery-small-12 news-index--articles-gallery-medium-12 news-index--articles-gallery-large-12 news-index--articles-gallery-xlarge-12");else{var i=window.getGridConfig($(t).closest(".columns"));$(t).addClass("news-index--articles-gallery-small-"+i.small+" news-index--articles-gallery-medium-"+i.medium+" news-index--articles-gallery-large-"+i.large+" news-index--articles-gallery-xlarge-"+i.xlarge)}})},registerClickBehaviour:e=>{$(e).on("click",".article-teaser__wrapper",function(e){if(0===$(e.target).closest("a").length){const t=$(e.target).closest(".article-teaser__wrapper[data-href]");if(t.length){if(t.is(".news-index--js-linked")&&0===$("body.mode-editor").length){const e=t[0],i=e.dataset.target||"_self",n=e.dataset.href;window.open(n,i)}}}})}}});document.adoptedStyleSheets=[...document.adoptedStyleSheets,t],function(){(function(){(function(){(function(){(function(){(function(){(function(){this.initNewsIndex=function(e){var t=$("#"+e);t.length&&n().init(t)},this.initFlexibleArticles=function(e){var t=$(e).find(".article-teaser-list-flexible");t.length&&i().init(t)},this.initArticles=function(e){var t=$("#"+e);t.length&&0!==t.find(".article-teaser-list.flexible").length&&i().init(t)}}).call(this.News||(this.News={}))}).call(this.Content||(this.Content={}))}).call(this.Metropolis||(this.Metropolis={}))}).call(this.Layout||(this.Layout={}))}).call(this.Common||(this.Common={}))}).call(this.Common||(this.Common={}))}.call(window.Pegasus||(window.Pegasus={})),$(function(){let e=$("body");var t;t=e[0],new MutationObserver(function(e){e.forEach(function(e){for(var t=0;t<e.addedNodes.length;t++){var i=$(e.addedNodes[t]),n=null;i.is(".article-teaser-list")&&(n=i.closest("[data-layout-options]")),null!==n&&n.length>0&&MetropolisLayoutOptions(n)}})}).observe(t,{attributes:!1,childList:!0,characterData:!1,subtree:!0}),$("[data-layout-options]").each(function(){MetropolisLayoutOptions($(this))}),function(){var t=e[0];new MutationObserver(function(e){e.forEach(function(e){for(var t=0;t<e.addedNodes.length;t++){var n=$(e.addedNodes[t]);n.is(".article-teaser-list.flexible")&&i().init(n)}})}).observe(t,{attributes:!1,childList:!0,characterData:!1,subtree:!0})}()})}}});
2//# sourceMappingURL=layout-metropolis-content-news--component.system.js.map

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.