PageSourceSearch

https://www.realmadryt.pl/build/assets/userMenu-BwwR0sFw.js

js realmadryt.pl collected 2026-09-24 23:44:23 UTC 609 bytes, 1 lines download raw bytes

1function i(){const e=document.querySelector('[data-action="toggle-user-menu"]'),t=document.querySelector("[data-user-menu-dropdown]");!e||!t||(e.addEventListener("click",n=>{n.stopPropagation(),e.getAttribute("aria-expanded")==="true"?r(e,t):d(e,t)}),document.addEventListener("click",n=>{const o=n.target;!t.contains(o)&&!e.contains(o)&&r(e,t)}),document.addEventListener("keydown",n=>{n.key==="Escape"&&r(e,t)}))}function d(e,t){e.setAttribute("aria-expanded","true"),t.removeAttribute("hidden")}function r(e,t){e.setAttribute("aria-expanded","false"),t.setAttribute("hidden","")}export{i as initUserMenu};

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.