PageSourceSearch

https://www.komoot.com/assets/15123.71a4b8d61bb1996c.js

js komoot.com collected 2026-09-24 07:26:47 UTC 32,481 bytes, 2 lines download raw bytes

1/*! For license information please see 15123.71a4b8d61bb1996c.js.LICENSE.txt */
2(self.webpackChunkcom_komoot=self.webpackChunkcom_komoot||[]).push([["15123"],{18549:function(e,t,n){"use strict";n.d(t,{x:function(){return u}});var r=n(98799),o=n(10101),s=n(92866),i=n(3865),a=n(64282),l=n(33782),c=n(54381);const u=({variant:e,title:t,message:n,icon:u,children:p,sx:d})=>{const h=u||("warning"===e||"destructive"===e?a.IconWarning:"error"===e?l.IconError:null);return(0,c.jsxs)(r.Ht,{as:"section",gap:4,alignX:"center",sx:{padding:6,...d},children:[h&&(0,c.jsx)(r.Ht,{alignX:"center",alignY:"center",sx:{borderRadius:"50%",p:2,...o.w[e]},children:(0,c.jsx)(h,{size:9})}),t&&(0,c.jsx)(s.X,{level:2,size:3,children:t}),(0,c.jsx)(i.x,{children:n}),p]})}},10101:function(e,t,n){"use strict";n.d(t,{a:function(){return h},w:function(){return d}});var r=n(41050),o=n(34768),s=n(98799),i=n(3865),a=n(89383),l=n(64282),c=n(33782),u=n(83819),p=n(54381);const d={confirmation:{color:"success",bg:"successBg"},destructive:{color:"warning",bg:"warningBg"},info:{color:"info",bg:"infoBg"},warning:{color:"warning",bg:"warningBg"},error:{color:"error",bg:"errorBg"}},h=({variant:e="confirmation",title:t,message:n,messageSx:h,icon:f,actionPrimaryProps:g,actionSecondaryProps:m,actionTertiaryProps:x,orientation:v,isOpen:b,sx:y})=>{const w=f||("warning"===e||"destructive"===e?l.IconWarning:"error"===e?c.IconError:null);return(0,p.jsx)(r.G,{isOpen:b,closeOnOutsideClick:!1,closeOnEsc:!1,sx:{placeItems:"center",p:4},children:(0,p.jsxs)(o.Z,{elevation:3,sx:{display:"flex",flexDirection:"column",alignItems:"center",borderRadius:"lg",textAlign:"center",width:"100%",maxWidth:80,p:4,gap:4,...y},children:[w&&(0,p.jsx)(s.kC,{alignX:"center",alignY:"center",sx:{borderRadius:"50%",p:2,...d[e]},children:(0,p.jsx)(w,{size:9})}),(0,p.jsxs)(i.x,{children:[t&&(0,p.jsx)(a.x,{size:4,mb:2,bold:!0,children:t}),(0,p.jsx)(i.x,{sx:h,children:n})]}),(0,p.jsxs)(s.kC,{variant:"vertical"===v?"column":"row",reverse:"vertical"!==v,alignX:"stretch",alignY:"vertical"===v?"top":"stretch",sx:{width:"100%",gap:"vertical"===v?2:4},children:[(0,p.jsx)(u.zx,{variant:"confirmation"===e?"solid":"basic",color:"destructive"===e?"danger":void 0,flex:1,...g}),m&&(0,p.jsx)(u.zx,{variant:"basic",flex:1,...m}),x&&(0,p.jsx)(u.zx,{variant:"basic",flex:1,...x})]})]})})}},2991:function(e,t,n){"use strict";n.d(t,{p:function(){return l}});var r=n(73749),o=n(25863),s=n(33640),i=n(2995),a=n(54381);const l=({elevation:e,round:t,difference:n,shortUnits:l,...c})=>{const{lang:u,unitDistance:p}=(0,s.A)(),d=(0,r.useMemo)((()=>(0,o.Fu)(e,{locale:u,round:t,difference:n,shortUnits:l,unitDistance:p})),[e,u,t,n,l,p]);return(0,a.jsx)(i.b,{...c,prefix:d.prefix,prefixSpace:d.prefixSpace,value:d.value,unitSpace:d.unitSpace,unit:d.unit})}},2995:function(e,t,n){"use strict";n.d(t,{b:function(){return c}});var r=n(73749),o=n(63613),s=n(35951),i=n(5018),a=n(89383),l=n(54381);const c=(0,r.memo)((({prefix:e,prefixSpace:t,value:n,unit:o,unitSpace:c="",unitLeft:u=!1,as:p="p",showEbikeFlash:d=!1,showUnit:h=!0,strikeThrough:f=!1,color:g="textPrimaryDefault",textVariant:m="textStyles.label02bold",alignX:x="left",alignY:v="center",dataTestId:b})=>{const y=e?(0,l.jsx)(a.x,{as:"span",sx:{whiteSpace:"nowrap",color:g,variant:m},children:e}):null,w=(0,l.jsx)(a.x,{as:"span",sx:{whiteSpace:"nowrap",color:g,variant:m},children:n}),k=h&&o?(0,l.jsx)(a.x,{as:"span",sx:{whiteSpace:"nowrap",color:g,variant:m},children:o}):null,C=d?(0,l.jsx)(s.IconEbikeFlash,{size:5,color:g}):null,M=y?t?"yes":"no":"any",S=k?c?"yes":"no":"any",j=C?"yes":"any",D={as:"span",space:"none",alignX:x,alignY
2:v,width:"content",flexWrap:"nowrap"};return(0,l.jsx)(i.F,{as:p,space:/(no|any)/.test(M)&&/(no|any)/.test(S)&&/(no|any)/.test(j)?"none":"xxs",alignX:x,alignY:v,width:"content",flexWrap:"nowrap",sx:{textDecoration:f?"line-through":"none"},"data-test-id":b,children:/(no)/.test(M)&&/(no)/.test(S)&&/(yes)/.test(j)?(0,l.jsxs)(r.Fragment,{children:[(0,l.jsxs)(i.F,{...D,children:[y,u?k:null,w,u?null:k]}),C]}):/(no)/.test(M)&&/(yes|any)/.test(S)&&/(yes)/.test(j)?(0,l.jsxs)(r.Fragment,{children:[u?k:null,(0,l.jsxs)(i.F,{...D,children:[y,w]}),u?null:k,C]}):/(yes|any)/.test(M)&&/(no)/.test(S)&&/(yes)/.test(j)?(0,l.jsxs)(r.Fragment,{children:[y,(0,l.jsxs)(i.F,{...D,children:[u?k:null,w,u?null:k]}),C]}):(0,l.jsxs)(r.Fragment,{children:[y,u?k:null,w,u?null:k,C]})})}),((e,t)=>{const n=JSON.stringify(e,o.ft),r=JSON.stringify(t,o.ft);return n===r}));c.displayName="FormatValue"},27332:function(e,t,n){"use strict";n.r(t),n.d(t,{IconBookmark:function(){return i}});var r=n(62887),o=n(3865),s=n(54381);const i=({...e})=>{const t=(0,r.Z)(e);return(0,s.jsx)(o.x,{"aria-hidden":"true",role:"presentation",as:"svg",width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:(0,s.jsx)("path",{fill:"currentColor",d:"M4.16699 6.5C4.16699 5.09987 4.16699 4.3998 4.43948 3.86502C4.67916 3.39462 5.06161 3.01217 5.53202 2.77248C6.0668 2.5 6.76686 2.5 8.16699 2.5H11.8337C13.2338 2.5 13.9339 2.5 14.4686 2.77248C14.939 3.01217 15.3215 3.39462 15.5612 3.86502C15.8337 4.3998 15.8337 5.09987 15.8337 6.5V17.5L10.0003 14.1667L4.16699 17.5V6.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},35951:function(e,t,n){"use strict";n.r(t),n.d(t,{IconEbikeFlash:function(){return i}});var r=n(62887),o=n(3865),s=n(54381);const i=({...e})=>{const t=(0,r.Z)(e);return(0,s.jsx)(o.x,{"aria-hidden":"true",role:"presentation",as:"svg",width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:(0,s.jsx)("path",{d:"M5 13.055h5V23l9-12.055h-5V1L5 13.055z",fill:"currentColor"})})}},5946:function(e,t,n){"use strict";n.r(t),n.d(t,{IconArrowNarrowUpRight12:function(){return i}});var r=n(62887),o=n(3865),s=n(54381);const i=({...e})=>{const t=(0,r.Z)(e);return(0,s.jsx)(o.x,{"aria-hidden":"true",role:"presentation",as:"svg",width:"1em",height:"1em",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:(0,s.jsx)("path",{d:"M3.5 9L9.5 3M9.5 3H5.5M9.5 3V7",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"})})}},93007:function(e,t,n){"use strict";n.r(t),n.d(t,{IconNavigationPointer01Fill:function(){return i}});var r=n(62887),o=n(3865),s=n(54381);const i=({...e})=>{const t=(0,r.Z)(e);return(0,s.jsx)(o.x,{"aria-hidden":"true",role:"presentation",as:"svg",width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:(0,s.jsx)("path",{d:"M2.84471 9.45373C2.34859 9.2608 2.10052 9.16433 2.0281 9.02533C1.96532 8.90483 1.96524 8.76129 2.02788 8.64071C2.10013 8.50163 2.34808 8.40486 2.84398 8.21134L16.9171 2.71939C17.3647 2.5447 17.5886 2.45736 17.7316 2.50514C1
27.8558 2.54663 17.9533 2.6441 17.9948 2.76831C18.0426 2.91133 17.9552 3.13516 17.7805 3.58281L12.2886 17.6559C12.095 18.1518 11.9983 18.3998 11.8592 18.472C11.7386 18.5347 11.5951 18.5346 11.4746 18.4718C11.3356 18.3994 11.2391 18.1513 11.0462 17.6552L8.85608 12.0235C8.81692 11.9228 8.79734 11.8725 8.76709 11.8301C8.74028 11.7925 8.70742 11.7596 8.66984 11.7328C8.62744 11.7026 8.57708 11.683 8.47638 11.6438L2.84471 9.45373Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.25",strokeLinecap:"round",strokeLinejoin:"round"})})}},78806:function(e,t,n){"use strict";n.r(t),n.d(t,{IconTabbarPremiumSelected:function(){return i}});var r=n(62887),o=n(3865),s=n(54381);const i=({...e})=>{const t=(0,r.Z)(e);return(0,s.jsxs)(o.x,{"aria-hidden":"true",role:"presentation",as:"svg",width:"1em",height:"1em",viewBox:"0 0 22 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[(0,s.jsx)("path",{d:"M14.1597 11.5885L19.4878 18.4996C19.7217 18.8031 19.5057 19.2428 19.1226 19.2428H2.87744C2.49429 19.2428 2.27826 18.8031 2.51221 18.4996L7.84033 11.5885H14.1597Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.5"}),(0,s.jsx)("path",{d:"M10.2886 2.12817C10.6327 1.63111 11.3673 1.63111 11.7114 2.12817L17.729 10.8196C17.9407 11.1257 17.7214 11.5432 17.3491 11.5432H4.65088C4.27865 11.5432 4.0593 11.1257 4.271 10.8196L10.2886 2.12817Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.5"})]})}},57062:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return j}});var r=n(83078),o=n(37286),s=n(41303),i=n(98799),a=n(3865),l=n(89383),c=n(21824),u=n(34105),p=n(73749),d=n(60491),h=n(50709),f=n(85045),g=n(19406),m=n(28718),x=n(95849),v=n(54221),b=n(48367),y=n(54381);const w=({center:e,radius:t,name:n})=>{const r=(0,p.useMemo)((()=>({type:"Feature",properties:{radius:1e3*t,lat:e.lat},geometry:{type:"Point",coordinates:[e.lng,e.lat]}})),[e.lat,e.lng,t]);return(0,h.Ng)("komoot_discover_radius",[r],{}),(0,f.i)({"komoot-discover-radius-circle":!0,"komoot-discover-radius-marker":!0}),n?(0,y.jsx)(g.G,{latlng:e,anchor:"bottom",offset:{x:0,y:-30},autoPan:!1,showTip:!0,focusAfterOpen:!1,sx:{"& .maplibregl-popup-content.maplibregl-popup-content-padding":{px:3,py:"2px"}},children:(0,y.jsx)(l.x,{sx:{variant:"textStyles.label03bold",color:"textPrimaryDefault",whiteSpace:"nowrap"},children:n})}):null},k=({lat:e,lng:t,radius:n,name:s})=>{const{store:i,lang:l}=(0,m.Ye)(),c=(0,p.useMemo)((()=>({lat:e,lng:t})),[e,t]),u=(0,p.useMemo)((()=>{const e=1e3*n,t=[0,90,180,270].map((t=>d.ZP.destinationByBearing(c,t,e)));return d.ZP.llb(t)}),[c,n]),h=(0,p.useMemo)((()=>{const e=new r.Z.PointHal({name:s||"",category:null,address_entry:{country:null,state:null,city:null},searchType:"within_radius",searchRadius:n,location:c},{store:i});return e.metaSet("userInitiatedSearch",!0),e}),[c,n,s,i]),f=(0,p.useMemo)((()=>new r.Z.MapHal({fitBoundsOptions:{padding:{top:48,right:48,bottom:48,left:48}},scrollZoom:!1,zoom:0},{store:i})),[i]),g=(0,p.useRef)(null),k=(0,p.useCallback)((()=>{f.isLocked()?f.onceUnlocked(k):f.set({bounds:u,center:null,zoom:null,fitBoundsOptions:{padding:{top:48,right:48,bottom:48,left:48}}})}),[f,u]),C=(0,p.useCallback)((()=>{setTimeout(k,1)}),[k]);(0,v.iG)(h,{page:1});const M=(0,p.useCallback)((e=>{"undefined"!=typeof window&&window.open(o.dl.localizePath(`/smarttour/${e.id}`,l),"_blank","noopener,noreferrer")}),[l]),S=(0,p.useCallback)((()=>{}),[]);return(0,y.jsx)(a.x,{sx:{position:"absolute",top:0,right:0,bottom:0,left:0},children:(0,y.jsxs)(x.D5,{ref:g,map:f,forceLoad:!0,onContextMount:C,topRight:(0,y.jsxs)(x.VS,{orientation:"vertical",align:"center",children:[(0,y.jsx)(x.VV,{interactive:!0}),(0,y.jsx)(x.Mk,{onClick:k}),(0,y.jsx)(x.ci,{})]}),bottomRight:(0,y.jsx)(x.Fc,{}),bottomLeft:(0,y.jsx)(x.xr,{}),"data-test-id":"discover_embed_map",children:[(0,y.jsx)(w,{center:c,radius:n,name:s}),(0,y.jsx)(b.z,{location:h,pageNumber:1,focusedTourMeta:void 0,hoveredTourId:"",onTourMouseOver:S,onTourMouseOut:S,onTourClick:M})]})})};var C=n(54575);const M={light:{bg:"card",color:"textPrimaryDefault"},dark:{bg:"surfaceFillBlackDefault",color:"textWhiteDefault"}};var S=s.G7.create({displayName:"DiscoverEmbed",translationBundle:"views/DiscoverEmbed",propTypes:{page:s.G7.PropTypes.instanceOf(r.Z.PageHal).isRequired},render:function(){const{page:e}=this.props,t=Number(e.get("lat")),n=Number(e.get("lng")),r=e.get("sport"),s=Number(e.get("radius")),p=e.get("name")||void 0,d="dark"===e.get("theme")?"dark":"light",h=this.kmtx.lang,f=(0,o.Im)(h).setPathname("discover",(p||"location").trim().replace(/\s+/g,"_"),`@${t},${n}`,"tours").setQuery({sport:r,map:!0}).setUtm({campaign:"location_embed",medium:"embed",source:"oembed"===e.get("embed_source")?"oembed":this.kmtx.screen.result("get(referrer).hostname")||void 0}).toString(),g=t=>(0,C.S)({embedType:"location",linkTarget:t,linkUrl:"logo"===t?(0,o.Im)(h).toString():f,layout:"map",theme:d,embedSource:e.get("embed_source")}),m="dark"===d?"textWhiteDefault":"textGreenDefault",x=(0,y.jsxs)(i.gq,{sx:{alignItems:"center",justifyContent:"space-between",flexShrink:0,gap:3},children:[(0,y.jsx)(a.x,{as:"a",href:(0,o.Im)(h).toString(),target:"_blank",onClick:()=>g("logo"),sx:{display:"flex",alignItems:"center",color:m},children:(0,y.jsx)(c.IconFullKomootLogo,{sx:{width:"122px",height:"32px"}})}),(0,y.jsx)(a.x,{as:"a",href:f,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>g("cta"),sx:{color:m},children:(0,y.jsx)(l.x,{sx:{variant:"textStyles.label03medium"},children:this.translate("open_on_komoot")})})]});return(0,y.jsx)(u.Wy,{initialState:{sport:r,maxDistance:s},children:(0,y.jsxs)(i.Ht,{sx:{p:["sm","sm","md"],gap:["sm","sm","md"],height:"100dvh",overflow:"hidden",alignItems:"stretch",...M[d]},children:[x,(0,y.jsx)(a.x,{sx:{position:"relative",flex:"auto",minHeight:0,borderRadius:"md",overflow:"hidden",display:"flex",flexDirection:"column"},children:(0,y.jsx)("div",{className:"tw-flex tw-flex-col tw-flex-auto tw-relative js-map-anchor",children:(0,y.jsx)(k,{lat:t,lng:n,radius:s,name:p})})})]})})}});function j(e,t){const n=e.props.kmtx.store;e.props.page=new r.Z.PageHal(e.props.page,{store:n}),e.react.setPage(S,e.props),t()}},36319:function(e,t,n){"use strict";n.d(t,{l:function(){return h}});var r=n(73749),o=n(76813),s=n(98799),i=n(3865),a=n(89383),l=n(97391),c=n(63446),u=n(28840),p=n(9093),d=n(54381);const h=({variant:e="primary",onClick:t,icon:n,imageSrc:h,title:f,subtitle:g,rightTextButton:m,rightRadioButton:x,focused:v=!1,boldTitle:b=!1,tourValues:y,sport:w,isVerified:k=!1,thumbnail:C})=>{const[M,S]=(0,r.useState)(!1),j=(0,r.useMemo)((()=>{switch(e){case"accentDefault":return{color:"iconAccentDefault",bg:"surfaceFillAccentOrangeDefault"};case"accentSecondary":return{color:"iconAccentDefault",bg:"surfaceFillSecondary
2Default"};case"sport":return{color:"iconSecondaryDefault",bg:"surfaceFillSecondaryDefault"};case"blue":return{color:"iconBlueDefault",bg:"surfaceFillAccentBlueDefault"};default:return{color:"iconGreenDefault",bg:"surfaceFillAccentGreenDefault"}}}),[e]),D=m&&(!m.showOnlyOnHover||M||v),T=!D&&!!x,{icon:P}=(0,p.G)(w);return(0,d.jsxs)(s.gq,{onClick:t,onMouseEnter:()=>S(!0),onMouseLeave:()=>S(!1),className:v?"focused":void 0,sx:{width:"100%",padding:2,cursor:"pointer",alignItems:"center",justifyContent:"space-between",gap:3,borderRadius:"s-m","&:hover, &.focused":{bg:"surfaceFillWhiteHover"}},children:[(0,d.jsxs)(s.gq,{alignItems:"center",gap:3,sx:{flex:1,minWidth:0},children:[C?(0,d.jsx)(i.x,{sx:{flexShrink:0,width:"40px",height:"40px"},children:C}):h?(0,d.jsxs)(i.x,{sx:{position:"relative",flexShrink:0,width:"40px",height:"40px"},children:[(0,d.jsx)(i.x,{as:"img",sx:{background:`url('${o.jG}')`},width:"40px",height:"40px",borderRadius:"s",src:h.replace("{width}","40").replace("{height}","40").replace("{crop}","true")}),w&&(0,d.jsx)(i.x,{sx:{position:"absolute",right:"-4px",bottom:"-4px",borderRadius:"rounded",borderWidth:"1px",borderStyle:"solid",borderColor:"surfaceFillWhiteDefault"},children:(0,d.jsx)(P,{color:"iconAccentDefault",size:4})})]}):(0,d.jsx)(i.x,{display:"flex",width:"40px",height:"40px",alignItems:"center",justifyContent:"center",bg:j.bg,borderRadius:"s",sx:{flexShrink:0},children:n&&(0,d.jsx)(n,{sx:{width:"20px",height:"20px",color:j.color}})}),(0,d.jsxs)(s.Ht,{gap:1,alignItems:"start",justifyContent:"center",sx:{overflow:"hidden",flex:1,minWidth:0},children:[(0,d.jsxs)(s.gq,{alignItems:"center",gap:1,sx:{width:"100%",minWidth:0},children:[(0,d.jsx)(a.x,{sx:{display:"-webkit-box",variant:!0===b?"textStyles.label03bold":"textStyles.label03medium",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",minWidth:0,flex:"0 1 auto"},color:"textPrimaryDefault",children:f}),k&&(0,d.jsx)(u.IconVerified,{color:"iconBlueDefault",sx:{flexShrink:0}})]}),y,g&&(0,d.jsx)(a.x,{sx:{display:"-webkit-box",width:"100%",variant:"textStyles.label04medium",WebkitLineClamp:1,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"},color:"textSecondaryDefault",children:g})]})]}),D&&(0,d.jsx)(l.A,{variant:"accentDefault"===e?"accent":"neutral",isUnderlined:m.isUnderlined??!0,label:m.label,href:m.href,iconRight:m.icon,onClick:m.onClick}),T&&(0,d.jsx)(i.x,{children:(0,d.jsx)(c.Y,{color:"iconSecondaryDefault",checked:x?.isSelected??!1,size:4})})]})}}
2,48906:function(e,t,n){"use strict";n.d(t,{K:function(){return c}});n(55608),n(82540);var r=n(73749),o=n(90530),s=n(24769),i=n(95849),a=n(40217),l=n(54381);const c=({id:e,title:t,sport:n,subtitle:c,description:u,coordinates:p,tooltipLabel:d="",highlightPoint:h,highlightSegments:f,markerPlacement:g,onMouseOver:m,onMouseOut:x,onClick:v,isHovered:b=!1,isFocused:y=!1,isFaded:w=!1,color:k,order:C,showMarker:M=!0,showHighlightPoint:S=!0})=>{const j=(0,r.useCallback)((t=>{t.stopPropagation(),m(e)}),[e]),D=(0,r.useCallback)((t=>{t.preventDefault?.(),t.stopPropagation(),v(e)}),[v,e]),T=(0,r.useMemo)((()=>p.length?p.map((e=>[e.lng,e.lat])):[]),[p]);return(0,l.jsxs)(r.Fragment,{children:[!!p.length&&(0,l.jsx)(a.Z,{onMouseOver:j,onMouseOut:x,hover:b,selected:y,faded:w,color:k,order:C,coordinates:T,onClick:D,highlightSegments:f}),M&&(0,l.jsx)(s.D4,{sport:n,color:k,faded:w,latLng:"mid"===g?p[Math.round(p.length/2)]:p[0],layer:"start"===g?"komoot-startpoint":void 0,source:"start"===g?"komoot_tours_startpoint_markers":void 0,order:C,tooltipOnHover:!y,tooltipLabel:d,isFocused:y,isHovered:!y&&b,onMouseOver:j,onMouseOut:x,onClick:D,title:t,subtitle:c,description:u}),S&&h&&(0,l.jsx)(i.Jx,{latlng:h,offset:{x:0,y:12},children:(0,l.jsx)(o.bk,{})})]})}},48367:function(e,t,n){"use strict";n.d(t,{g:function(){return c},z:function(){return h}});n(55608),n(69770),n(82540);var r=n(73749),o=n(28718),s=n(91076),i=n(54221),a=n(48906),l=n(54381);const c=(e,t)=>{const n=e.timeline,r=n?.[0]?.reference?.category,o=r?t(`c${r}`):void 0,s=n?.[0]?.reference?.name,i=(s?`${s} ${o&&!s.includes(o)?o:""}`:"").trimEnd();return{title:t("start_point_title"),tooltipLabel:e.name,subtitle:o,description:i.toLowerCase()===o?.toLowerCase()?void 0:i}},u=(e,t)=>e.id===t,p=(e,t)=>e.id===t?.id,d=(e,t,n)=>Boolean((t?.id||n)&&!u(e,n)&&!p(e,t)),h=({pageNumber:e,focusedTourMeta:t,location:n,hoveredTourId:h,onTourMouseOver:f,onTourMouseOut:g,onTourClick:m})=>{const x=(0,o.Ye)(),v=(0,o.qM)(["global","common/categories","views/DiscoverLocation","highlight/names"]),{data:b}=(0,s.I)(n,e,t),{data:y}=(0,i.iG)(n,{page:e}),w=(0,r.useMemo)((()=>{if(!b||!x.store)return null;const e=x.store.get("discover.tour",{id:b.id});return e}),[b,x.store]),k=y?.tours,C=k?.length||0;return(0,l.jsx)(l.Fragment,{children:k?.filter((e=>e.id!==b?.id)).map(((e,t)=>{const r=k.findIndex((t=>t.id===e.id));return(0,l.jsx)(a.K,{id:e.id,sport:e.sport,markerPlacement:"from_location"===n.get("searchType")?"mid":"start",coordinates:e.tourLine?.geometry||[],...c(e,v),isHovered:u(e,h),isFocused:p(e,b),highlightPoint:p(e,b)&&w?.metaGet("highlight_point")||void 0,highlightSegments:p(e,b)&&w?.metaGet("highlight_segments")||void 0,isFaded:d(e,b,h),showMarker:!p(e,b)||"from_location"!==n.get("searchType"),order:C-(r+1),color:r%4,onMouseOver:f,onMouseOut:g,onClick:()=>m(e)},e.id)}))})}},54575:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});n(11804),n(90233),n(97749);var r=n(92615);const o=(e,t)=>e.length>t?e.slice(0,t):e,s=()=>{const e="undefined"==typeof document?"":document.referrer;if(!e)return{};try{return{referrerUrl:o(e,500),referrerHost:new URL(e).hostname}}catch{return{referrerUrl:o(e,500)}}},i=e=>{(0,r.Ve)()?.trackUserAction(r.BD.embedLinkTapped({...s(),...e}))}},20356:function(e){!function(){"use strict";var t={}.hasOwnProperty;function n(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,r(n)))}return e}function r(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return n.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var r="";for(var s in e)t.call(e,s)&&e[s]&&(r=o(r,s));return r}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(n.default=n,e.exports=n):"function"==typeof define&&"object"==typeof define.amd&&define.amd?define("classnames",[],(function(){return n})):window.classNames=n}()},3456:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(73749),o=n(97489),s=n(83869);function i(e,t){const n=(0,s.NL)(t),i=n.getQueryCache();return r.useSyncExternalStore(r.useCallback((e=>i.subscribe(o.V.batchCalls(e))),[i]),(()=>n.isFetching(e)),(()=>n.isFetching(e)))}},70119:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(95651),o=n(73749);function s(e){return e&&e.stopPropagation&&e.stopPropagation(),e&&e.preventDefault&&e.preventDefault(),!1}function i(e){return null==e?[]:Array.isArray(e)?e.slice():[e]}function a(e){return null!==e&&1===e.length?e[0]:e.slice()}function l(e){Object.keys(e).forEach((t=>{"undefined"!=typeof document&&document.addEventListener(t,e[t],!1)}))}function c(e,t){return u(function(e,t){let n=e;return n<=t.min&&(n=t.min),n>=t.max&&(n=t.max),n}(e,t),t)}function u(e,t){const n=(e-t.min)%t.step;let r=e-n;return 2*Math.abs(n)>=t.step&&(r+=n>0?t.step:-t.step),parseFloat(r.toFixed(5))}let p=function(e){function t(t){var n;(n=e.call(this,t)||this).onKeyUp=()=>{n.onEnd()},n.onMouseUp=()=>{n.onEnd(n.getMouseEventMap())},n.onTouchEnd=e=>{e.preventDefault(),n.onEnd(n.getTouchEventMap())},n.onBlur=()=>{n.setState({index:-1},n.onEnd(n.getKeyDownEventMap()))},n.onMouseMove=e=>
2{n.setState({pending:!0});const t=n.getMousePosition(e),r=n.getDiffPosition(t[0]),o=n.getValueFromPosition(r);n.move(o)},n.onTouchMove=e=>{if(e.touches.length>1)return;n.setState({pending:!0});const t=n.getTouchPosition(e);if(void 0===n.isScrolling){const e=t[0]-n.startPosition[0],r=t[1]-n.startPosition[1];n.isScrolling=Math.abs(r)>Math.abs(e)}if(n.isScrolling)return void n.setState({index:-1});const r=n.getDiffPosition(t[0]),o=n.getValueFromPosition(r);n.move(o)},n.onKeyDown=e=>{if(!(e.ctrlKey||e.shiftKey||e.altKey||e.metaKey))switch(n.setState({pending:!0}),e.key){case"ArrowLeft":case"ArrowDown":case"Left":case"Down":e.preventDefault(),n.moveDownByStep();break;case"ArrowRight":case"ArrowUp":case"Right":case"Up":e.preventDefault(),n.moveUpByStep();break;case"Home":e.preventDefault(),n.move(n.props.min);break;case"End":e.preventDefault(),n.move(n.props.max);break;case"PageDown":e.preventDefault(),n.moveDownByStep(n.props.pageFn(n.props.step));break;case"PageUp":e.preventDefault(),n.moveUpByStep(n.props.pageFn(n.props.step))}},n.onSliderMouseDown=e=>{if(!n.props.disabled&&2!==e.button){if(n.setState({pending:!0}),!n.props.snapDragDisabled){const t=n.getMousePosition(e);n.forceValueFromPosition(t[0],(e=>{n.start(e,t[0]),l(n.getMouseEventMap())}))}s(e)}},n.onSliderClick=e=>{if(!n.props.disabled&&n.props.onSliderClick&&!n.hasMoved){const t=n.getMousePosition(e),r=c(n.calcValue(n.calcOffsetFromPosition(t[0])),n.props);n.props.onSliderClick(r)}},n.createOnKeyDown=e=>t=>{n.props.disabled||(n.start(e),l(n.getKeyDownEventMap()),s(t))},n.createOnMouseDown=e=>t=>{if(n.props.disabled||2===t.button)return;n.setState({pending:!0});const r=n.getMousePosition(t);n.start(e,r[0]),l(n.getMouseEventMap()),s(t)},n.createOnTouchStart=e=>t=>{if(n.props.disabled||t.touches.length>1)return;n.setState({pending:!0});const r=n.getTouchPosition(t);n.startPosition=r,n.isScrolling=void 0,n.start(e,r[0]),l(n.getTouchEventMap()),function(e){e.stopPropagation&&e.stopPropagation()}(t)},n.handleResize=()=>{const e=window.setTimeout((()=>{n.pendingResizeTimeouts.shift(),n.resize()}),0);n.pendingResizeTimeouts.push(e)},n.renderThumb=(e,t)=>{const r=n.props.thumbClassName+" "+n.props.thumbClassName+"-"+t+" "+(n.state.index===t?n.props.thumbActiveClassName:""),o={ref:e=>{n["thumb"+t]=e},key:n.props.thumbClassName+"-"+t,className:r,style:e,onMouseDown:n.createOnMouseDown(t),onTouchStart:n.createOnTouchStart(t),onFocus:n.createOnKeyDown(t),tabIndex:0,role:"slider","aria-orientation":n.props.orientation,"aria-valuenow":n.state.value[t],"aria-valuemin":n.props.min,"aria-valuemax":n.props.max,"aria-label":Array.isArray(n.props.ariaLabel)?n.props.ariaLabel[t]:n.props.ariaLabel,"aria-labelledby":Array.isArray(n.props.ariaLabelledby)?n.props.ariaLabelledby[t]:n.props.ariaLabelledby,"aria-disabled":n.props.disabled},s={index:t,value:a(n.state.value),valueNow:n.state.value[t]};return n.props.ariaValuetext&&(o["aria-valuetext"]="string"==typeof n.props.ariaValuetext?n.props.ariaValuetext:n.props.ariaValuetext(s)),n.props.renderThumb(o,s)},n.renderTrack=(e,t,r)=>{const o={key:n.props.trackClassName+"-"+e,className:n.props.trackClassName+" "+n.props.trackClassName+"-"+e,style:n.buildTrackStyle(t,n.state.upperBound-r)},s={index:e,value:a(n.state.value)};return n.props.renderTrack(o,s)};let r=i(t.value);r.length||(r=i(t.defaultValue)),n.pendingResizeTimeouts=[];const u=[];for(let e=0;e<r.length;e+=1)r[e]=c(r[e],t),u.push(e);return n.resizeObserver=null,n.resizeElementRef=o.createRef(),n.state={index:-1,upperBound:0,sliderLength:0,value:r,zIndices:u},n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){"undefined"!=typeof window&&(this.resizeObserver=new ResizeObserver(this.handleResize),this.resizeObserver.observe(this.resizeElementRef.current),this.resize())},t.getDerivedStateFromProps=function(e,t){const n=i(e.value);return n.length?t.pending?null:{value:n.map((t=>c(t,e)))}:null},n.componentDidUpdate=function(){0===this.state.upperBound&&this.resize()},n.componentWillUnmount=function(){this.clearPendingResizeTimeouts(),this.resizeObserver&&this.resizeObserver.disconnect()},n.onEnd=function(e){e&&function(e){Object.keys(e).forEach((t=>{"undefined"!=typeof document&&document.removeEventListener(t,e[t],!1)}))}(e),this.hasMoved&&this.fireChangeEvent("onAfterChange"),this.setState({pen
2ding:!1}),this.hasMoved=!1},n.getValue=function(){return a(this.state.value)},n.getClosestIndex=function(e){let t=Number.MAX_VALUE,n=-1;const{value:r}=this.state,o=r.length;for(let s=0;s<o;s+=1){const o=this.calcOffset(r[s]),i=Math.abs(e-o);i<t&&(t=i,n=s)}return n},n.getMousePosition=function(e){return[e["page"+this.axisKey()],e["page"+this.orthogonalAxisKey()]]},n.getTouchPosition=function(e){const t=e.touches[0];return[t["page"+this.axisKey()],t["page"+this.orthogonalAxisKey()]]},n.getKeyDownEventMap=function(){return{keydown:this.onKeyDown,keyup:this.onKeyUp,focusout:this.onBlur}},n.getMouseEventMap=function(){return{mousemove:this.onMouseMove,mouseup:this.onMouseUp}},n.getTouchEventMap=function(){return{touchmove:this.onTouchMove,touchend:this.onTouchEnd}},n.getValueFromPosition=function(e){const t=e/(this.state.sliderLength-this.state.thumbSize)*(this.props.max-this.props.min);return c(this.state.startValue+t,this.props)},n.getDiffPosition=function(e){let t=e-this.state.startPosition;return this.props.invert&&(t*=-1),t},n.resize=function(){const{slider:e,thumb0:t}=this;if(!e||!t)return;const n=this.sizeKey(),r=e.getBoundingClientRect(),o=e[n],s=r[this.posMaxKey()],i=r[this.posMinKey()],a=t.getBoundingClientRect()[n.replace("client","").toLowerCase()],l=o-a,c=Math.abs(s-i);this.state.upperBound===l&&this.state.sliderLength===c&&this.state.thumbSize===a||this.setState({upperBound:l,sliderLength:c,thumbSize:a})},n.calcOffset=function(e){const t=this.props.max-this.props.min;return 0===t?0:(e-this.props.min)/t*this.state.upperBound},n.calcValue=function(e){return e/this.state.upperBound*(this.props.max-this.props.min)+this.props.min},n.calcOffsetFromPosition=function(e){const{slider:t}=this,n=t.getBoundingClientRect(),r=n[this.posMaxKey()],o=n[this.posMinKey()];let s=e-(window["page"+this.axisKey()+"Offset"]+(this.props.invert?r:o));return this.props.invert&&(s=this.state.sliderLength-s),s-=this.state.thumbSize/2,s},n.forceValueFromPosition=function(e,t){const n=this.calcOffsetFromPosition(e),r=this.getClosestIndex(n),o=c(this.calcValue(n),this.props),s=this.state.value.slice();s[r]=o;for(let e=0;e<s.length-1;e+=1)if(s[e+1]-s[e]<this.props.minDistance)return;this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0,this.setState({value:s},(()=>{t(r),this.fireChangeEvent("onChange")}))},n.clearPendingResizeTimeouts=function(){do{const e=this.pendingResizeTimeouts.shift();clearTimeout(e)}while(this.pendingResizeTimeouts.length)},n.start=function(e,t){const n=this["thumb"+e];n&&n.focus();const{zIndices:r}=this.state;r.splice(r.indexOf(e),1),r.push(e),this.setState((n=>({startValue:n.value[e],startPosition:void 0!==t?t:n.startPosition,index:e,zIndices:r})))},n.moveUpByStep=function(e){void 0===e&&(e=this.props.step);const t=this.state.value[this.state.index],n=c(this.props.invert&&"horizontal"===this.props.orientation?t-e:t+e,this.props);
2this.move(Math.min(n,this.props.max))},n.moveDownByStep=function(e){void 0===e&&(e=this.props.step);const t=this.state.value[this.state.index],n=c(this.props.invert&&"horizontal"===this.props.orientation?t+e:t-e,this.props);this.move(Math.max(n,this.props.min))},n.move=function(e){const t=this.state.value.slice(),{index:n}=this.state,{length:r}=t,o=t[n];if(e===o)return;this.hasMoved||this.fireChangeEvent("onBeforeChange"),this.hasMoved=!0;const{pearling:s,max:i,min:a,minDistance:l}=this.props;if(!s){if(n>0){const r=t[n-1];e<r+l&&(e=r+l)}if(n<r-1){const r=t[n+1];e>r-l&&(e=r-l)}}t[n]=e,s&&r>1&&(e>o?(this.pushSucceeding(t,l,n),function(e,t,n,r){for(let o=0;o<e;o+=1){const s=r-o*n;t[e-1-o]>s&&(t[e-1-o]=s)}}(r,t,l,i)):e<o&&(this.pushPreceding(t,l,n),function(e,t,n,r){for(let o=0;o<e;o+=1){const e=r+o*n;t[o]<e&&(t[o]=e)}}(r,t,l,a))),this.setState({value:t},this.fireChangeEvent.bind(this,"onChange"))},n.pushSucceeding=function(e,t,n){let r,o;for(r=n,o=e[r]+t;null!==e[r+1]&&o>e[r+1];r+=1,o=e[r]+t)e[r+1]=u(o,this.props)},n.pushPreceding=function(e,t,n){for(let r=n,o=e[r]-t;null!==e[r-1]&&o<e[r-1];r-=1,o=e[r]-t)e[r-1]=u(o,this.props)},n.axisKey=function(){return"vertical"===this.props.orientation?"Y":"X"},n.orthogonalAxisKey=function(){return"vertical"===this.props.orientation?"X":"Y"},n.posMinKey=function(){return"vertical"===this.props.orientation?this.props.invert?"bottom":"top":this.props.invert?"right":"left"},n.posMaxKey=function(){return"vertical"===this.props.orientation?this.props.invert?"top":"bottom":this.props.invert?"left":"right"},n.sizeKey=function(){return"vertical"===this.props.orientation?"clientHeight":"clientWidth"},n.fireChangeEvent=function(e){this.props[e]&&this.props[e](a(this.state.value),this.state.index)},n.buildThumbStyle=function(e,t){const n={position:"absolute",touchAction:"none",willChange:this.state.index>=0?this.posMinKey():void 0,zIndex:this.state.zIndices.indexOf(t)+1};return n[this.posMinKey()]=e+"px",n},n.buildTrackStyle=function(e,t){const n={position:"absolute",willChange:this.state.index>=0?this.posMinKey()+","+this.posMaxKey():void 0};return n[this.posMinKey()]=e,n[this.posMaxKey()]=t,n},n.buildMarkStyle=function(e){var t;return(t={position:"absolute"})[this.posMinKey()]=e,t},n.renderThumbs=function(e){const{length:t}=e,n=[];for(let r=0;r<t;r+=1)n[r]=this.buildThumbStyle(e[r],r);const r=[];for(let e=0;e<t;e+=1)r[e]=this.renderThumb(n[e],e);return r},n.renderTracks=function(e){const t=[],n=e.length-1;t.push(this.renderTrack(0,0,e[0]));for(let r=0;r<n;r+=1)t.push(this.renderTrack(r+1,e[r],e[r+1]));return t.push(this.renderTrack(n+1,e[n],this.state.upperBound)),t},n.renderMarks=function(){let{marks:e}=this.props;const t=this.props.max-this.props.min+1;return"boolean"==typeof e?e=Array.from({length:t}).map(((e,t)=>t)):"number"==typeof e&&(e=Array.from({length:t}).map(((e,t)=>t)).filter((t=>t%e==0))),e.map(parseFloat).sort(((e,t)=>e-t)).map((e=>{const t=this.calcOffset(e),n={key:e,className:this.props.markClassName,style:this.buildMarkStyle(t)};return this.props.renderMark(n)}))},n.render=function(){const e=[],{value:t}=this.state,n=t.length;for(let r=0;r<n;r+=1)e[r]=this.calcOffset(t[r],r);const r=this.props.withTracks?this.renderTracks(e):null,s=this.renderThumbs(e),i=this.props.marks?this.renderMarks():null;return o.createElement("div",{ref:e=>{this.slider=e,this.resizeElementRef.current=e},style:{position:"relative"},className:this.props.className+(this.props.disabled?" disabled":""),onMouseDown:this.onSliderMouseDown,onClick:this.onSliderClick},r,s,i)},t}(o.Component);p.displayName="ReactSlider",p.defaultProps={min:0,max:100,step:1,pageFn:e=>10*e,minDistance:0,defaultValue:0,orientation:"horizontal",className:"slider",thumbClassName:"thumb",thumbActiveClassName:"active",trackClassName:"track",markClassName:"mark",withTracks:!0,pearling:!1,disabled:!1,snapDragDisabled:!1,invert:!1,marks:[],renderThumb:e=>o.createElement("div",e),renderTrack:e=>o.createElement("div",e),renderMark:e=>o.createElement("span",e)};var d=p}}]);

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.