PageSourceSearch

https://www.klassikradio.de/_next/static/chunks/SwipeToClose.4b8125cd3218cde7.js

js klassikradio.de collected 2026-10-02 02:57:19 UTC 2,072 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8980],{29799:(e,t,r)=>{r.d(t,{M:()=>s});var n=r(91524);let s=()=>{let[e,t]=(0,n.useState)("landscape"),r=()=>{t(window.matchMedia("(orientation: landscape)").matches?"landscape":"portrait")};return(0,n.useEffect)(()=>{if("onorientationchange"in window)return window.addEventListener("orientationchange",r,!1),r(),()=>{window.removeEventListener("orientationchange",r)}},[]),e}},52007:(e,t,r)=>{r.r(t),r.d(t,{SwipeToClose:()=>u});var n=r(62888),s=r(91524),o=r(29799);let u=({onClose:e,onUpdate:t,className:r="",enabled:u=!0,children:a,threshold:c=250,moveThreshold:i=50,top:d=!0,bottom:v=!0})=>{let l=(0,s.useRef)(),h=(0,o.M)();return(0,s.useEffect)(()=>{if(l.current){let t=!1,r=!1,n=0,s=0,o=e=>{let t=e.touches&&e.touches[0];!(e?.touches?.length>1)&&t&&(n=t.clientY||t.pageY,s=t.clientX||t.pageX)},a=e=>{let o=e.touches&&e.touches[0];if(!o||e?.touches?.length>1)return;let u=o.clientY||o.pageY,a=o.clientX||o.pageX,h=u-n,m=a-s,E=1-Math.pow(Math.abs(h)/c,5);Math.abs(h)<i&&!r||Math.abs(m)>i||!d&&h<0||(v||!(h>0))&&(r=!0,l.current.style.transform=`translateY(${h}px)`,l.current.style.opacity=E,l.current.style.zIndex=1e5,t=Math.abs(h)>=c)},m=o=>{r&&(r=!1,n=0,s=0,l.current.style.transform="none",l.current.style.opacity=1,l.current.style.zIndex=void 0,t&&e&&e())};return u&&h&&h.startsWith("portrait")&&(l.current.addEventListener("mousedown",o),l.current.addEventListener("touchstart",o),l.current.addEventListener("mousemove",a),l.current.addEventListener("touchmove",a),l.current.addEventListener("mouseup",m),l.current.addEventListener("mouseleave",m),l.current.addEventListener("touchend",m)),()=>{l.current&&(l.current.removeEventListener("mousedown",o),l.current.removeEventListener("touchstart",o),l.current.removeEventListener("mousemove",a),l.current.removeEventListener("touchmove",a),l.current.removeEventListener("mouseup",m),l.current.removeEventListener("mouseleave",m),l.current.removeEventListener("touchend",m))}}},[u,l.current,h]),(0,n.jsx)("div",{ref:l,className:r,children:a})}}}]);

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.