{"version":3,"file":"sticky.js","sources":["../../../resources/javascript/entrypoint/sticky.js"],"sourcesContent":["import { onDOMContentLoaded } from '../util/loaded';\n\nonDOMContentLoaded(() => {\n  const header = document.querySelector('header.header');\n  const root = document.querySelector(':root');\n\n  const height = (header.offsetHeight - 1) ?? '144';\n\n  root.style.setProperty('--header-offset', height + 'px');\n});\n"],"names":["onDOMContentLoaded","_ref","header","document","querySelector","root","height","offsetHeight","style","setProperty"],"mappings":"gDAEAA,GAAmB,KAAM,IAAAC,EACvB,MAAMC,EAASC,SAASC,cAAc,iBAChCC,EAAOF,SAASC,cAAc,SAE9BE,EAAiC,OAA3BL,EAAIC,EAAOK,aAAe,GAACN,EAAK,MAE5CI,EAAKG,MAAMC,YAAY,kBAAmBH,EAAS,KAAK"}