PageSourceSearch

https://www.poda.cz/business/_astro/Header.astro_astro_type_script_index_0_lang.pB2E0olN.js

js poda.cz collected 2026-10-04 13:26:01 UTC 972 bytes, 1 lines download raw bytes

1import{b as L}from"./breakpoints.CCZpTrDJ.js";const n="header--scrolled-up",a="header--scrolled-down",d="header--sticky",S={sm:parseInt(L.sm.value),lg:parseInt(L.lg.value)},l={default:56,sm:60,lg:88},f=5;let t=l.default;function w(){const s=window.innerWidth;return s>=S.lg?l.lg:s>=S.sm?l.sm:l.default}function c(){const s=document.querySelector(".header");if(!s)return;t=w();let o=window.scrollY,i=window.scrollY,r=!1;const u=()=>{const e=window.scrollY;e<=0?s.classList.remove(n):e<t?s.classList.remove(a,d):e>o&&e>t?e>i+f&&(s.classList.add(a),s.classList.remove(n),i=e):e<o&&e<i-f&&(s.classList.remove(a),s.classList.add(n,d),i=e),o=e,r=!1},m=()=>{r||(requestAnimationFrame(u),r=!0)},h=()=>{const e=w();e!==t&&(t=e,u())};window.addEventListener("scroll",m,{passive:!0}),window.addEventListener("resize",h,{passive:!0}),window.scrollY>t&&s.classList.add(n,d)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",c):c();window.initializeHeader=c;

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.