PageSourceSearch

https://www.boote-magazin.de/_next/static/chunks/TeaserGPXTracksTeaser.8d51e91b89fe0f4c.js

js boote-magazin.de collected 2026-09-25 04:29:06 UTC 3,167 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20702,80961],{66432:(e,i,a)=>{a.d(i,{n:()=>r});var s=a(55729),l=a(66938);let r=()=>{let{streamContext:e}=(0,s.useContext)(l.W);return e?.activeContent}},82590:(e,i,a)=>{a.r(i),a.d(i,{GPXTracksTeaser:()=>k,GPXTracksTeaserItem:()=>w});var s=a(6029),l=a(49832),r=a(27652),t=a(90687),n=a(33364),c=a(5700),d=a(75828),o=a.n(d),u=a(90052),m=a(55729),p=a(81278),x=a(67756),g=a(36017),h=a(89557),b=a(66432),S=a(37374),f=a(34991);let k=({entries:e,title:i,showListBtn:a=!0})=>{let{locale:t}=(0,p.useRouter)()||{},d=(0,c.c)("article"),[x,g,h]=(0,S.A)(["utm_params"]),b=x.utm_params&&"object"==typeof x.utm_params?x.utm_params:{},{isAppStoreSubscriber:k,isPremiumSubscriber:N,isPrintSubscriber:j,isDigitalSubscriber:v}=(0,r.T)((0,l.k)(e=>({isAppStoreSubscriber:e.isAppStoreSubscriber,isPremiumSubscriber:e.isPremiumSubscriber,isPrintSubscriber:e.isPrintSubscriber,isDigitalSubscriber:e.isDigitalSubscriber}))),{isAuthorized:y}=(0,m.useContext)(f.V);if(!e?.length)return null;let _=e.map(e=>{let i=N||j||v||k,a={radreisen:"2Paz7h9sPSpoHS3JHcSfrZ",radreisen2026:"6yZx2WaXBl2gEZ68mSpTmB"};return y&&b?.source&&b?.medium==="qrcode"&&b?.campaign==="gpx"&&a[b?.source]&&a[b?.source]===e?.sys?.id&&(i=!0),(0,s.jsx)(w,{item:e,locale:t,isFree:i},`gpx-track-item-${e?.sys?.id}`)});return(0,s.jsxs)("div",{className:"px-4 md:px-0",children:[i?.length?(0,s.jsx)(u.A,{headlineSize:"sm",headlineStyle:"normal",headlineText:i,className:o()({"ml-0 mb-4":!0})}):null,(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-3 md:gap-8",children:_}),a?(0,s.jsx)("div",{className:"pt-4 text-right",children:(0,s.jsx)(n.$,{buttonColor:"primary",fullSize:!1,fullWidth:!1,buttonBackground:!0,link:"/mein-bereich/gpx-daten/",children:d("SHOW_GPX_TRACKS")})}):null]})},w=({item:e,locale:i,isFree:a})=>{let l=(0,b.n)(),r=(0,c.c)("article"),[d,u]=(0,m.useState)(!1);if(!e)return null;let p=async()=>{u(!0);try{let a=await fetch(`/api/download/gpx/${e.sys.id}/?locale=${i}&isTracking=true`),s=await a.json();s?.name&&s?.action&&s?.value&&((0,g.gg)(s.value),(0,x.trackPiwikEvent)("Mein_Bereich",s.eventName||s.name,s.action),(0,h.Qd)("download"),(0,h.Mx)("downloadType",s.name),(0,h.Mx)("downloadAction",s.action),s.label&&(0,h.Mx)("downloadLabel",s.label),s.fileName&&(0,h.Mx)("downloadFile",s.fileName),(0,g.gg)(l?.sys?.id||""))}catch(e){console.error("Error tracking Piwik event",e)}window.location=`/api/download/gpx/${e.sys.id}/?locale=${i}`,u(!1)};return(0,s.jsxs)("div",{className:"shadow-lg",id:`gpx-${e?.sys?.id}`,children:[(0,s.jsx)("div",{className:"p-4",children:(0,s.jsx)("span",{className:"text-lg",children:e.title})}),e.image?.[0]&&(0,s.jsx)(t._V,{cloudinary:e.image[0],width:335,className:"w-full"}),(0,s.jsx)("div",{className:"p-4",children:(0,s.jsx)("span",{className:o()("text-md"),children:e.shortDescription})}),(0,s.jsx)("div",{className:"px-4 pb-4 text-right",children:(0,s.jsx)(n.$,{grayOutIfDisabled:!0,buttonColor:"shop-link",fullSize:!1,fullWidth:!1,disabled:!a||d,noHoverEffect:!a||d,buttonBackground:!0,iconName:d?"spinner":null,iconPosition:"left",onClick:p,children:r("LABEL_DOWNLOAD")})})]})}}}]);

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.