PageSourceSearch

https://rivalsfps.com/_assets/AuthControls.astro_astro_type_script_index_0_lang.0jD00Js2.js

js rivalsfps.com collected 2026-09-24 10:07:02 UTC 823 bytes, 1 lines download raw bytes

1import{g as c,c as s}from"./playgama-auth.ClnmJD8x.js";function o(){document.querySelectorAll("[data-auth-controls]").forEach(e=>{const t=e.querySelector("[data-auth-login]"),a=e.querySelector("[data-auth-account]"),d=e.querySelector("[data-auth-name]"),n=e.querySelector("[data-auth-logout]");if(!t||!a||!n)return;if(!(e instanceof HTMLElement)||!e.dataset.oauthClientId){t.hidden=!0,n.hidden=!0,a.hidden=!0;return}t.onclick=()=>{window.pgEvents=window.pgEvents||[],window.pgEvents.push({eventName:"auth_login_click"})};const i=c(window.localStorage);i?(t.hidden=!0,a.hidden=!1,n.hidden=!1,d&&(d.textContent=i.user.name)):(t.hidden=!1,a.hidden=!0,n.hidden=!0),n.onclick=()=>{s(window.localStorage),window.location.assign("/")}})}o();window.addEventListener("storage",o);window.addEventListener("playgama-auth:changed",o);

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.