PageSourceSearch

https://geovelo.app/component---src-pages-saved-route-[id]-index-fr-tsx-a27f789a287231b7c48e.js

js geovelo.app collected 2026-09-24 09:52:25 UTC 2,619 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1d10ae1d-da91-4d79-9b0d-370d194173ce",e._sentryDebugIdIdentifier="sentry-dbid-1d10ae1d-da91-4d79-9b0d-370d194173ce")}()}catch(e){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"1a8adf42d44ed541b19a17a483e7c1104aabf013"}}catch(e){}}(),(self.webpackChunk_geovelo_frontends_geovelo=self.webpackChunk_geovelo_frontends_geovelo||[]).push([[1208],{43503:function(e,n,t){var o=t(89575),a=t(72998),i=t(45060),s=t(96691),l=t(78373),d=t(74253),r=t(28547),c=t(54938),u=t(65517),f=t(65113),g=t(15428);n.A=function(e){var n,t;const{0:p,1:b}=(0,l.useState)(),{0:v,1:y}=(0,l.useState)({}),{0:w,1:h}=(0,l.useState)(!1),{user:{current:_,routes:S},actions:{getUserRoutes:k,setSmallDeviceRedirectAction:m}}=(0,l.useContext)(u.BR),{t:E,i18n:{language:A}}=(0,d.useTranslation)(),{cancellablePromise:R,cancelPromises:x}=(0,a.useCancellablePromise)(),{trackEvent:D}=(0,f.A)();return(0,l.useEffect)((()=>(_?(S||k(),async function(e){x();try{const n=await R(a.RouteService.getRoute(e)),{bikeStationIds:t}=n;if(t.length>0){const e=await R(a.BikeStationService.getBikeStations({ids:t}));y(e.reduce(((e,n)=>(e[n.id]=n,e)),{}))}b(n)}catch(n){n instanceof Error&&"CancelledPromiseError"===(null==n?void 0:n.name)||b(null)}}(parseInt(e.params.id))):null===_&&b(null),()=>{x()})),[_]),(0,l.useEffect)((()=>{if(p){const e=a.DeepLinkService.getCallback({link:`favorites/itineraries/details/${p.id}`});e&&m({labelKey:"geovelo.actions.navigate_on_app",callback:()=>{e()}})}else null===p&&(0,s.oo)(`/${A}/route`);return()=>m()}),[p]),null===p?(0,g.jsx)(l.Fragment,null):(0,g.jsx)(l.Fragment,null,(0,g.jsx)(c.A,(0,o.A)({description:(null===(n=e.data.prismicHome)||void 0===n||null===(t=n.data.description)||void 0===t?void 0:t.text)||E("geovelo.pages_descriptions.home")||null,title:`${E("geovelo.pages_titles.routing")}`},e)),(0,g.jsx)(r.A,{bikeStationsMap:v,downloading:w,onDownload:async function(){if(!p)return;const{wayPoints:e}=p;h(!0),D("Saved Route GPX Downloaded");try{const n=await a.RouteService.getGPX(p.id);(0,i.saveAs)(n,`${(p.description||`${e[0].address}-${e[e.length-1].address}`).replace(/ /g,"_")}.gpx`)}catch(n){console.error(n)}h(!1)},path:e.path,route:p}))}},96845:function(e,n,t){t.r(n);var o=t(43503),a=t(15428);n.default=e=>(0,a.jsx)(o.A,e)}}]);

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.