PageSourceSearch

https://www.radiosilenci.cat/_astro/ListenLiveButton.8vA8Pt0G.js

js radiosilenci.cat collected 2026-10-02 13:20:22 UTC 1,830 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8f94118c-5468-4255-b264-4c85fd6cb16c`,e._sentryDebugIdIdentifier=`sentry-dbid-8f94118c-5468-4255-b264-4c85fd6cb16c`)}catch{}})();import{o as e}from"./preact.module.C0V_SM5P.js";import{o as t,r as n}from"./hooks.module.DKkLALsv.js";import{n as r}from"./translations.C6fKiE-x.js";import{t as i}from"./jsxRuntime.module.DSsYIZ11.js";import{t as a}from"./play.-KyUJGZW.js";import{A as o,h as s,p as c}from"./state.Dh517wfa.js";import{t as l}from"./analytics.BEU9ItSc.js";function u({className:u=``,language:d=`en`}){let[f,p]=n(!1);t(()=>p(!0),[]);let m=f&&s.value&&c.value;return i(`button`,{onClick:()=>{l(`UI`,`Listen Live Header`,m?`pause`:`play`),m?c.value=!1:o()},className:`inline-flex cursor-pointer items-center gap-2 rounded-lg bg-[var(--primary)] px-3 py-2 text-sm font-semibold text-white transition-opacity hover:opacity-90 focus:ring-2 focus:ring-[var(--primary)] focus:ring-offset-2 focus:outline-none ${u} `,title:r(`header.listenLive`,d),"aria-label":m?`${r(`player.pause`,d)} — ${r(`player.live`,d)}`:r(`header.listenLive`,d),"aria-pressed":m,children:m?i(e,{children:[i(`span`,{class:`relative flex h-2.5 w-2.5`,"aria-hidden":`true`,children:[i(`span`,{class:`absolute inline-flex h-full w-full animate-ping rounded-full bg-white opacity-75`}),i(`span`,{class:`relative inline-flex h-2.5 w-2.5 rounded-full bg-white`})]}),i(`span`,{children:r(`player.live`,d)})]}):i(e,{children:[i(a,{size:16,fill:`currentColor`,"aria-hidden":`true`}),i(`span`,{class:`hidden lg:inline`,children:r(`header.listenLive`,d)}),i(`span`,{class:`lg:hidden`,children:r(`player.liveStream`,d)})]})})}export{u as default};

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.