PageSourceSearch

https://hasenapotheke.de/wp-content/plugins/presto-player/dist/presto-player-popup.js?ver=10e63fda39ae

js hasenapotheke.de collected 2026-10-01 14:21:57 UTC 1,217 bytes, 1 lines download raw bytes

1import{getContext as e,getElement as t,store as r}from"@wordpress/interactivity";const{state:o,actions:n}=r("presto-player/popup",{state:{activePopupId:null,screenReaderText:"",triggerRef:null,inertElements:[],get overlayEnabled(){const t=e();return o?.activePopupId===t?.id},get roleAttribute(){return o?.overlayEnabled?"dialog":null},get ariaModal(){return o?.overlayEnabled?"true":null}},actions:{showPopup(){const r=e(),{ref:n}=t();o.activePopupId=r?.id,document.querySelectorAll("body > :not(.presto-popup__overlay)").forEach(e=>{e?.hasAttribute("inert")||(e?.setAttribute("inert",""),o?.inertElements?.push(e))}),o.triggerRef=n},hidePopup(){o.activePopupId=null,(o?.inertElements||[]).forEach(e=>{e?.removeAttribute("inert")}),o.inertElements=[],setTimeout(()=>{o?.triggerRef?.focus()},0),o.screenReaderText=""}},callbacks:{setOverlayFocus(){if(!o?.overlayEnabled)return;const{ref:e}=t();setTimeout(()=>{e?.focus()},0),o.screenReaderText=o.dialogOpenedText||"Presto Popup dialog opened."},handleKeydown(e){"Enter"!==e?.key||o?.overlayEnabled||n.showPopup()},handleDocumentKeydown(e){"Escape"===e?.key&&o?.overlayEnabled&&n.hidePopup()},updatePopupList(){const t=e();t.popupList=o?.overlayEnabled?[t?.id]:[]}}});

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.