PageSourceSearch

https://www.blackswan.paris/cdn/shop/t/69/assets/islands-parallax-banner-20260925T073311-sh.js

js blackswan.paris collected 2026-09-26 14:23:55 UTC 528 bytes, 1 lines download raw bytes

1import{E as o}from"./index-20260925T073311-sh.js";class l extends o{onStart(){const t=this.querySelector("[data-banner-fixed]"),e=this.querySelector("[data-overlay]");if(!e)return;const n=()=>{const s=window.scrollY,r=window.innerHeight,i=Math.min(Math.max(s/r,0),1),a=Math.min(Math.max((i-.35)/.65,0),1);e.style.opacity=String(a*.7),t&&(t.style.visibility=a>=1?"hidden":"visible")};n(),window.addEventListener("scroll",n,{passive:!0,signal:this.signal})}}customElements.define("parallax-banner",l);export{l as ParallaxBanner};

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.