PageSourceSearch

https://www.outdoor-magazin.com/_next/static/chunks/communityloginmobileheader.4a656064e6e34762.js

js outdoor-magazin.com collected 2026-09-24 17:22:06 UTC 2,101 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[29368],{59752:(e,l,n)=>{n.r(l),n.d(l,{LoginMobileHeader:()=>g,default:()=>p});var t=n(6029),r=n(55729),o=n(4455),u=n(80019),s=n(28554),a=n(38252),i=n(41474),c=n(64996);let g=({links:e,bookmarkChannel:l,page:n,plusAboLinkText:g,plusAboCancelText:p,ePaperUrl:b,hasNewBoughtItem:d,element:f})=>{let w=(0,r.useContext)(o.VQ),_=(0,r.useContext)(u.X),[h,C]=(0,r.useState)(d),M=(0,c.A)(),[k,m]=(0,r.useState)(!!w?.user?.groups?.includes("mercedesBenz")),{ready:S,hasAbo:U,hasNewAbo:x,hasOneDayAbo:A}=(0,r.useContext)(i.IB),{project:B,forum:E}=(0,r.useContext)(a.HP);(0,r.useEffect)(()=>{m(!!w?.user?.groups?.includes("mercedesBenz"))},[w?.user]),(0,r.useEffect)(()=>{F()},[w?.user?.__current_login_token]);let F=async()=>{try{let e=await M(f,null,n,{rkm_auth_token:w?.user?.__current_login_token},{});e&&C(e?.hasNewBoughtItem)}catch(e){console.error(e)}};if(!e)return null;l&&_.setChannel(l);let I=[].includes(String(B).toUpperCase()),R=["AMS","MRD","FLUG","AERO","PRO"].includes(String(B).toUpperCase()),L=![""].includes(String(B).toUpperCase()),N=()=>{switch(String(B).toUpperCase()){case"AMS":return"ams+ abonnieren";case"MRD":return"PLUS abonnieren";case"FLUG":return"F+ abonnieren";default:return g||"PUR abonnieren"}};return I?null:(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(s.Dj,{isMercedesUser:k,hasNewBoughtItem:h,aboCancelLink:L&&e?.cancellation?e.cancellation:null,logoutFunc:()=>{w.logout(),E&&window.location.reload()},items:w.loggedIn?[(!!R&&!x&&!A||!R&&!U&&!A)&&{label:N(),url:e.plus,type:"plus"},!!e?.profile&&!k&&{label:"Konto",url:e?.profile},!!e?.newsletter&&!k&&{label:"Newsletter",url:e?.newsletter},!!e?.favourites&&{label:"Meine Favoriten",url:e?.favourites},!!e?.abo&&!k&&{label:"Meine Abos",url:e?.abo},x&&R&&{label:"Meine E-Paper",url:b},L&&e?.plus&&{label:N(),url:e.plus}].filter(Boolean):[{label:"Anmelden | Registrieren",url:E?function(e){let{protocol:l,host:n}=window.location;return e}(e?.login):e?.login,rel:"nofollow"},L&&e?.plus&&{label:N(),url:e.plus}],title:"Mein Konto",loggedIn:w.loggedIn})})},p=g}}]);

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.