PageSourceSearch

https://www.ruka.fi/themes/custom/ski_valley/dist/js/02-molecules/banner.js?tlst6z

js ruka.fi collected 2026-09-24 20:39:12 UTC 711 bytes, 1 lines download raw bytes

1Drupal.behaviors.bannerClose={attach:function(e){"use strict";const t=[];document.querySelectorAll(".banner-close").forEach(e=>{const o=e.closest(".banner"),n=o.getAttribute("data-drupal-hide-banner");t.push(n),e.addEventListener("click",function(e){o.style.setProperty("display","none"),"hideSlopesAndLiftsNoticeBanner"===n?sessionStorage.setItem(n,!0):localStorage.setItem(n,!0)})}),t.forEach(e=>{let t="";t="hideSlopesAndLiftsNoticeBanner"===e?sessionStorage.getItem(e):localStorage.getItem(e),t&&"true"===t||document.querySelector(`[data-drupal-hide-banner="${e}"]`).style.setProperty("display","block")}),document.body.classList.contains("logged-out")&&localStorage.setItem("hideOwnerCustomerBanner",!1)}};

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.