PageSourceSearch

https://www.kvbm.de/wp-content/themes/onoffice-classic/build/js/show-more-dialog.js?ver=1791283961

js kvbm.de collected 2026-10-07 05:07:03 UTC 3,101 bytes, 1 lines download raw bytes

1document.addEventListener("DOMContentLoaded",function(){function s(e){var t,n,o,i="--is-open",s=e.getAttribute("aria-controls"),s=document.getElementById(s);s&&(t=e.getAttribute("data-open-text"),n=e.getAttribute("data-close-text"),o=!("true"===e.getAttribute("aria-expanded")),e.setAttribute("aria-expanded",String(o)),s.classList.toggle(i,o),e.classList.toggle(i,o),e.textContent=o?n:t)}let r=document.body.classList.contains("--iframe-display")&&window.self!==window.top,u=null;function p(o,e){function i(e){o.style.top=Math.max(0,e-o.offsetHeight/2)+"px"}function s(){o.classList.add("--is-positioned")}function t(){o.classList.contains("--is-positioned")||(i(e),s())}{var a=function(n){n?(n.getPageInfo(function(e){var e=e.scrollTop-e.offsetTop+e.clientHeight/2,t=(i(e),s(),e);if("function"==typeof ResizeObserver){let e=new ResizeObserver(function(){i(t)});e.observe(o),o.addEventListener("close",function(){e.disconnect()},{once:!0})}n.getPageInfo(!1)}),setTimeout(t,200)):t()},d=1e3;let n=Date.now()+d;!function e(){var t=window.parentIFrame;t&&"function"==typeof t.getPageInfo?a(t):Date.now()>=n?a(null):setTimeout(e,50)}()}}function a(s){var a=s.getAttribute("data-popup");let d=document.getElementById(a);if(d&&d){setTimeout(()=>{d.focus({preventScroll:!0})},10);a=d.querySelector(".c-popup__close, .--close-popup");let n=d instanceof HTMLDialogElement,o=r&&n,e=null,t=null,i=null;function c(){d.classList.remove("--is-iframe-modal","--is-positioned"),d.style.top="",e&&(e.remove(),e=null),t&&(t.insertBefore(d,i),t=null,i=null)}function l(){var e,t;"true"===d.dataset.unclosable?(e=window.ooTimelessTheme?.urls?.propertyList||"/",(t=document.referrer)&&t!==window.location.href?window.location.href=t:window.location.href=e):(d.classList.remove("--is-open"),n&&"function"==typeof d.close&&d.close(),o&&c(),document.body.classList.remove("--modal-open"))}o?((e=document.createElement("div")).className="c-dialog-backdrop",document.body.appendChild(e),t=d.parentNode,i=d.nextSibling,document.body.appendChild(d),d.classList.add("--is-iframe-modal"),d.setAttribute("open",""),s=null!==u?u:s.getBoundingClientRect().top+window.scrollY,p(d,s)):n&&"function"==typeof d.showModal&&d.showModal(),d.classList.add("--is-open"),o||document.body.classList.add("--modal-open"),o&&d.addEventListener("close",c,{once:!0}),a&&a.addEventListener("click",l),e&&e.addEventListener("click",l),d.addEventListener("click",e=>{e.target===d&&l()}),document.addEventListener("keydown",function(e){"Escape"===e.key&&(e.preventDefault(),l())})}}r&&document.addEventListener("pointerdown",function(e){u=e.pageY},!0),document.querySelectorAll(".--open-popup, .c-read-more, .c-property-details__more, .c-address-details__more").forEach(t=>{let n=t.hasAttribute("data-review-show-more")||t.hasAttribute("data-google-review-show-more")||t.hasAttribute("data-team-show-more"),o=t.classList.contains("c-read-more"),i=t.classList.contains("--open-popup");t.addEventListener("click",function(e){if(e.preventDefault(),n)return(window.innerWidth<=768?s:a)(t);i?a(t):o&&s(t)})})}),window.addEventListener("resize",function(){});

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.