1(function(){'use strict';function wirePopup(root){var grid=root.querySelector('.tm-auswahl');var modal=root.querySelector('.tm-modal');if(!grid||!modal||grid.__kstWired){return} 2grid.__kstWired=!0;if(document.body&&modal.parentNode!==document.body){var host=modal.closest?modal.closest('.tm-root'):null;if(host){['av-none','av-silhouette','av-initials'].forEach(function(c){if(host.classList.contains(c)){modal.classList.add(c)}})} 3document.body.appendChild(modal)} 4function text(el,sel){var n=el.querySelector(sel);return n?n.textContent:''} 5function open(card){var set=function(sel,val){var n=modal.querySelector(sel);if(n){n.textContent=val}};set('.tm-modal__name',text(card,'.tm-card__name'));set('.tm-modal__role',text(card,'.tm-card__role'));set('.tm-modal__stars',text(card,'.tm-card__stars'));set('.tm-modal__quote',text(card,'.tm-full'));set('.tm-modal__topic',text(card,'.tm-chip'));var av=modal.querySelector('.tm-modal__avatar');if(av){av.textContent=text(card,'.tm-card__avatar')} 6var v=modal.querySelector('.tm-modal__verify');var verify=card.getAttribute('data-verify')||'';var src=card.getAttribute('data-src');var slbl=card.getAttribute('data-src-label')||'';if(v){if('direkt'!==src&&verify){v.classList.remove('hidden');v.setAttribute('href',verify);var lbl=v.querySelector('.tm-modal__verify-lbl');if(lbl){lbl.textContent='Bei '+slbl+' verifizieren'}}else{v.classList.add('hidden')}} 7modal.classList.add('open');modal.setAttribute('aria-hidden','false')} 8function close(){modal.classList.remove('open');modal.setAttribute('aria-hidden','true')} 9grid.addEventListener('click',function(e){if(e.target.closest('a')){return} 10var card=e.target.closest('.tm-card');if(card&&card.classList.contains('is-more')){open(card)}});modal.querySelectorAll('[data-close]').forEach(function(el){el.addEventListener('click',close)});document.addEventListener('keydown',function(e){if('Escape'===e.key){close()}})} 11function bootShadow(host){if(host.__kstShadowDone||host.shadowRoot){return} 12var tpl=host.querySelector('template.kst-shadow-tpl');if(!tpl||!host.attachShadow){return} 13host.__kstShadowDone=!0;var root=host.attachShadow({mode:'open'});root.appendChild(tpl.content.cloneNode(!0));tpl.remove();wirePopup(root)} 14function init(){document.querySelectorAll('.kst-shadow-host[data-kst-shadow]').forEach(bootShadow);document.querySelectorAll('.tm-auswahl-root').forEach(wirePopup)} 15if('loading'===document.readyState){document.addEventListener('DOMContentLoaded',init)}else{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.