PageSourceSearch

https://www.outdoor-magazin.com/_next/static/chunks/teaserbannerimage.c7bfd147861d68f3.js

js outdoor-magazin.com collected 2026-09-24 17:19:13 UTC 1,949 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60048],{44256:(e,l,n)=>{"use strict";n.r(l),n.d(l,{TeaserBannerImage:()=>d,default:()=>h});var a=n(6029),i=n(55729),r=n(64545),t=n.n(r),c=n(58057),s=n(92476),o=n(58376);let u=e=>{if(!e)return null;try{return new URL(e,window.location.origin)}catch(e){return null}},d=({data:e,element:l})=>{let{image_mobile:n,image:r}=e||{},d=0,h=0,g=0,b=0,k=(0,o.z1)(),m=(0,i.useRef)(null),[f,x]=(0,i.useState)(null),[_,w]=(0,i.useState)(!1);if((0,i.useEffect)(()=>{let e=[...document.querySelectorAll("[data-static-banner]")],l=e.indexOf(m.current);l>=0&&x(`static banner slot ${l+1}/${e.length}`)},[]),r?.original&&(d=r?.original?.height,h=r?.original?.width),n?.original&&(g=n?.original?.height,b=n?.original?.width),!e)return null;d&&h||(d=null,h=null);let p=f?u(e.url):null,j=f?u(e.url_mobile):null,N=e=>({type:f,href:e.href,destination_host:e.hostname}),y=e=>()=>k.track("static_banner.click",N(e)),A={name:"static_banner.impression",threshold:.5,capThresholdToViewport:!0,delay:300,onTracked:()=>w(!0)};return(0,a.jsxs)("div",{ref:m,"data-static-banner":"",className:"block relative z-10 lg:col-span-2 pb-1 mx-4 lg:mx-0 "+t().background,children:[(0,a.jsx)(o.Ec,{...A,className:"block lg:hidden",action:j?N(j):null,enable:!!j&&!_,children:(0,a.jsx)(s.Ay,{href:e.url_mobile,target:"_blank",className:"block",onClick:j?y(j):void 0,onAuxClick:j?y(j):void 0,children:(0,a.jsx)("figure",{children:(0,a.jsx)(c.Ay,{elementId:l,className:"mb-9 w-full",src:n,height:g,width:b,loading:null})})})}),(0,a.jsx)(o.Ec,{...A,className:"hidden lg:block",action:p?N(p):null,enable:!!p&&!_,children:(0,a.jsx)(s.Ay,{href:e.url,target:"_blank",className:"block",onClick:p?y(p):void 0,onAuxClick:p?y(p):void 0,children:(0,a.jsx)("figure",{children:(0,a.jsx)(c.Ay,{elementId:l,className:"mb-9 w-full ",src:r,height:d,width:h,loading:null})})})})]})},h=d},64545:e=>{e.exports={background:"bannerImage_background__wAUHQ"}}}]);

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.