PageSourceSearch

https://www.malaysiakini.com/_astro/HeaderMobile.astro_astro_type_script_index_0_lang.DQNXjc-b.js

js malaysiakini.com collected 2026-10-02 02:27:26 UTC 1,551 bytes, 1 lines download raw bytes

1globalThis.process??={},globalThis.process.env??={};import{n as e}from"./session.B_6yJLTs.js";import{i as t}from"./auth.ChBI2kUF.js";document.getElementById(`sign-out-btn`)?.addEventListener(`click`,()=>t()),e().then(e=>{if(!e.isLoggedIn){document.documentElement.removeAttribute(`data-auth`);return}document.getElementById(`header-mobile-user-account`)?.removeAttribute(`hidden`),document.getElementById(`header-mobile-guest-subscribe`)?.setAttribute(`hidden`,``),document.getElementById(`header-mobile-guest-signin`)?.setAttribute(`hidden`,``)});var n=document.getElementById(`header-mobile`),r=document.getElementById(`burger-btn-mobile`),i=document.getElementById(`sidebar-nav-mobile`);function a(){let e=n.getBoundingClientRect().height;i.style.top=`${e}px`,i.style.height=`calc(100vh - ${e}px)`}a(),window.addEventListener(`resize`,a);function o(){i.classList.add(`is-open`),r.setAttribute(`aria-expanded`,`true`),i.setAttribute(`aria-hidden`,`false`)}function s(){i.classList.remove(`is-open`),r.setAttribute(`aria-expanded`,`false`),i.setAttribute(`aria-hidden`,`true`)}r.addEventListener(`click`,()=>{i.classList.contains(`is-open`)?s():o()}),document.addEventListener(`keydown`,e=>{e.key===`Escape`&&s()}),document.querySelectorAll(`.sidebar-accordion__trigger-mobile`).forEach(e=>{e.addEventListener(`click`,()=>{let t=e.getAttribute(`aria-expanded`)===`true`,n=document.getElementById(e.getAttribute(`aria-controls`)),r=e.querySelector(`.chevron`);e.setAttribute(`aria-expanded`,String(!t)),n.hidden=t,r.classList.toggle(`is-open`,!t)})});

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.