PageSourceSearch

https://ontibici.com/_next/static/chunks/pages/station-map-02bbe229e392fefe26a6.js

js ontibici.com collected 2026-10-01 14:27:49 UTC 3,516 bytes, 2 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[76],{QnFf:function(e,t,r){"use strict";r.r(t);var n=r("vJKn"),a=r.n(n),i=r("xvhg"),s=r("rg98"),o=r("nKUr"),c=r("cpVT"),u=r("fCU7"),l=r("+TN3"),p=r("auP5"),b=r("Vvt1"),d=r.n(b),f=r("q1tI"),j=r("kriW"),O=r("bgFo"),m=r("n8X0"),y=r("hG6G"),w=r("DPir"),v=r("oIFK"),h=r("lGJd"),g=r("alBd"),x=r("/fFW");function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach((function(t){Object(c.a)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var k="80vh";function T(){return Object(o.jsx)(p.u,{width:1,alignItems:"center",justifyContent:"center",height:k,children:Object(o.jsx)(O.Y,{})})}var C=d()((function(){return Promise.all([r.e(26),r.e(21),r.e(30),r.e(85)]).then(r.bind(null,"TEO8"))}),{ssr:!1,loading:T,loadableGenerated:{webpack:function(){return["TEO8"]},modules:["station-map.tsx -> ../modules/StationMap"]}});function E(e){switch(e){case"parking":case"live":case"bikes":return e;default:return}}var q=function(e){var t=e.url,r=e.statusCode,n=e.view,a=void 0===n?O.n:n,i=Object(u.b)(),s=Object(f.useMemo)((function(){var e=Object(v.b)(t.query.mapType);switch(e){case"static":case"dynamic":return e;default:return"dynamic"}}),[t.query.mapType]),c=Object(l.f)(x.e),p=c.loading,b=c.data,d=c.error,m=b&&b.stationMapPage&&b.stationMapPage.title,y=!w.p&&window.matchMedia("(max-width: ".concat(i.breakpoints[1],")")).matches;return Object(o.jsxs)(o.Fragment,{children:[Object(o.jsx)(g.a,{}
1),Object(o.jsx)(h.a,{statusCode:r,title:m,loading:!1,url:t,error:d?Object(o.jsx)(j.a,{id:"pages.station-map.error",defaultMessage:"Could not load stations"}):null,hideIntercomLauncher:y,contentProps:{display:"flex",position:"relative",py:0,mx:0,mb:0},render:function(){if(p)return Object(o.jsx)(T,{});if(!b||!b.stationMapPage||!a)return null;var t="live"===a;return Object(o.jsx)(C,_(_({},e),{},{view:a,mapType:s,enableAnimatedTrips:t,mapHeight:k}))}})]})};q.getInitialProps=function(){var e=Object(s.a)(a.a.mark((function e(t){var r,n,s,o,c,u,l,p;return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([t.apolloClient.query({query:x.e}),t.apolloClient.query({query:y.a})]);case 2:return n=e.sent,s=Object(i.a)(n,2),o=s[0],c=s[1],u=c.data&&c.data.system&&c.data.system.GBFS,l=E(Object(v.b)(t.query.view))||O.n,(o.errors||null!==(r=o.data)&&void 0!==r&&r.stationMapPage)&&l&&("live"!==l||u)||(p=404,t.res&&(t.res.statusCode=p)),e.abrupt("return",{statusCode:p,view:l});case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t.default=Object(m.a)(q)},alBd:function(e,t,r){"use strict";r.d(t,"a",(function(){return s}));var n=r("nKUr"),a=r("g4pe"),i=r.n(a);function s(){return Object(n.jsx)(i.a,{children:Object(n.jsx)("link",{href:"https://api.tiles.mapbox.com/mapbox-gl-js/v2.10.0/mapbox-gl.css",rel:"stylesheet"},"mapbox-css")})}},wOcy:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/station-map",function(){return r("QnFf")}])}},[["wOcy",1,2,3,0,4,5,6,7,32]]]);
2//# sourceMappingURL=station-map-02bbe229e392fefe26a6.js.map

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.