PageSourceSearch

https://spothero.com/consumer-seo/_next/static/chunks/pages/city/monthly/[city]-654c9f2eed05082d.js

js spothero.com collected 2026-10-01 08:44:26 UTC 8,683 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6ac51431-a495-480b-bbc3-542e7cd06d1b",e._sentryDebugIdIdentifier="sentry-dbid-6ac51431-a495-480b-bbc3-542e7cd06d1b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9968],{86111:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/city/monthly/[city]",function(){return n(44098)}])},65279:function(e,t,n){"use strict";n.d(t,{Z:function(){return components_City}});var a=n(97458),i=n(52983),r=n(13522),o=n(89659),c=n(15759),s=n(53961),l=n(90814),u=n(53310),d=n(14587),g=n(43400),p=n(31430),y=n(58428),m=n(22866),f=n(15593),h=n(26352),k=n(80422),_=n(65960),v=n(6918),b=n(91993),P=n(94254),T=n(78900),w=n(37258),C=n(25388),E=n(60380),S=n(18553),Z=n(54550),x=n(45656),F=n(92177);let generateCategoriesRoute=(e,t)=>{if(!e||!t||!t.length)return null;let n="/category/".concat(e);return t.map(e=>{let{title:t,slug:a}=e;return{linkPath:"".concat(n,"/").concat(a,"-parking"),linkText:t}})},N={minHeight:{base:"initial",desktop:"39.75rem"},position:{base:"static",desktop:"relative"},backgroundColor:"gray.50",marginTop:{base:14,desktop:0},paddingBottom:"var(--chakra-space-px)"};var components_City=e=>{var t;let{googleMapsLibraries:n,useNewGooglePlacesApi:I}=(0,P.e)(),{city:{id:j,city:A,state:D,slug:R,destination_categories:M,timezone:L,search_bounds:O},page:Q,dynamicRates:H,appRating:B,config:{siteUrl:q},googlePlaceIdHashForEventDestinations:G,performerList:U,popularDestinations:z}=e,{hero_image:K,transient_body:Y,monthly_body:V}=Q||{},W=null!==(t=(0,r.S)({base:!0,tablet:!1}))&&void 0!==t&&t,X={latitude:Number(e.city.latitude),longitude:Number(e.city.longitude),country:e.city.country_code},J=(0,y.useRouter)(),$=/monthly/i.test(J.pathname),ee=$?V:Y,et="".concat(A,", ").concat(D),en=$?"Need to book monthly parking in ".concat(et,"? Find the best rates for long term parking near you on SpotHero."):"Looking for a parking spot in ".concat(et,"? Find a parking garage near you on SpotHero and get the best rates on parking today."),ea="".concat(et," ").concat($?"Monthly ":"","Parking | Book now on SpotHero and save"),{fetchDestination:ei,fetchEvents:er}=(0,x.Z)(),eo=generateCategoriesRoute(R,M),ec=[{link:"".concat(q,"/cities"),label:"Cities",isCurrentPage:!1},{label:et,isCurrentPage:!0}],{nearbyEvents:es}=(0,Z.T)(),{searchEvents:el,handleOnChangeForEvents:eu}=(0,T.ZP)({latitude:null==X?void 0:X.latitude,longitude:null==X?void 0:X.longitude,country:null==X?void 0:X.country,showSearchEventsResults:!0}),ed=el.length>0?el:es,{searchPerformers:eg,handleOnChangeForPerformers:ep}=(0,S.Z)();(0,i.useEffect)(()=>{(0,d.Z)({pageType:l.T3.CITY,city:R})},[]);let ey=(0,i.useCallback)(e=>{let{previousTab:t,selectedTab:n}=e;(0,C.Z)({pageType:"midfunnel",previousTab:t,selectedTab:n})},[]);return(0,a.jsxs)(o.xu,{...N,children:[(0,a.jsx)(g.Z,{parkingType:$?g.j.Monthly:g.j.Transient,fallbackTitle:ea,fallbackDescription:en,page:Q}),(0,a.jsx)(u.Z,{appRating:null==B?void 0:B.data}),(0,a.jsx)(s.Z,{slices:ee}),(0,a.jsx)(m.SearchComponentStoreProvider,{siteUrl:q,eventDestinationsHash:G,locationBias:X,trackEventListItemSelected:f.Z,trackSearchSuggestionSelected:h.ZP,trackDateEntered:k.Z,trackErrorMessageDisplayed:_.Z,trackFindParkingNearMeClicked:v.Z,trackSwitchedVerticalTabs:ey,trackPowerBookingOpened:E.Z,onNonEventParkingClick:F.Z,PoweredByGoogle:b.Z,FindParkingSpotsButton:w.Z,parkingType:$?"monthly":"hourly",parkingSubType:$?"monthly":"hourly",useNewGooglePlacesApi:I,clientRendered:{googleMapsLibraries:n,searchEvents:ed,handleOnChangeForEvents:eu,isMobile:W,timezone:e.city.timezone,searchPerformers:eg,handleOnChangeForPerformers:ep,useNewGooglePlacesApi:I},isMobile:W,locationId:j,locationKind:"city",fetchDestination:ei,fetchEvents:er,enableEventsPopupModal:!0,children:(0,a.jsx)(p.Z,{searchWidgetOptions:{title:et,city:e.city,locationId:j,locationKind:"city",locationAddress:"",timezone:L,breadcrumbs:ec,searchBounds:O},title:"Find and reserve ".concat($?"monthly":""," parking in ").concat(et),heroImage:K})}),Q?(0,a.jsx)(o.xu,{as:"main",children:(0,a.jsx)(o.xu,{as:"article",className:"City-content",children:(0,c.U)({slices:ee,dynamicRatesData:H,pageType:l.T3.CITY,dynamicLinkListData:eo,performerList:U,performerSliceTitle:"Performers in ".concat(et),popularDestinations:z,name:et})})}):null]})}},53961:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(97458);
1n(52983);var i=n(7862),r=n.n(i),o=n(79898),c=n(23194);let extractFAQItems=e=>null==e?void 0:e.reduce((e,t)=>{switch(t.slice_type){case c.N2.FAQ_WITH_TITLE:case c.N2.FAQ:return e.concat(t.items.map(e=>({question:e.question,answer:o.Sz(e.answer)})));default:return e}},[]),formatFAQPageSchema=e=>({"@context":"https://schema.org","@type":"FAQPage",mainEntity:null==e?void 0:e.map(e=>({"@type":"Question",name:"".concat(e.question),acceptedAnswer:{"@type":"Answer",text:"".concat(e.answer)}}))}),FAQPageStructuredData=e=>{let{slices:t}=e,n=extractFAQItems(t);return(null==n?void 0:n.length)===0?null:(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(formatFAQPageSchema(n))}})};FAQPageStructuredData.propTypes={slices:r().arrayOf(r().shape({slice_type:r().string.isRequired})).isRequired};var s=FAQPageStructuredData},31430:function(e,t,n){"use strict";n.d(t,{Z:function(){return mid_funnel_hero}});var a=n(97458);n(52983);var i=n(89659),r=n(76447);let o={backgroundColor:"white",paddingBottom:{base:8,tablet:10,desktop:20}};var mid_funnel_hero=e=>{let{searchWidgetOptions:t,title:n="",address:c=t.locationAddress,breadcrumbs:s=t.breadcrumbs||[],heroImage:l,customValueProps:u=null}=e;return(0,a.jsx)(i.xu,{...o,"data-testid":"mid-funnel-hero",children:(0,a.jsx)(r.Z,{title:n,address:c,breadcrumbs:s,heroImage:l,customValueProps:u})})}},80122:function(e,t,n){"use strict";function getCapturedReferrer(){try{var e,t,n;let a=null!==(n=null===(e=window.__SPOTHERO)||void 0===e?void 0:e.capturedReferrer)&&void 0!==n?n:null===(t=window.document)||void 0===t?void 0:t.referrer;return a||null}catch(e){return null}}n.d(t,{T:function(){return getCapturedReferrer}})},92177:function(e,t,n){"use strict";n.d(t,{Z:function(){return trackNonEventParkingClick}});var a=n(91581),i=n(91699);function trackNonEventParkingClick(e){let{destination:t}=e;if(t)try{a.Z.track({event:"Find Non-Event Parking Clicked",properties:{destination_name:t.title,destination_id:t.id}})}catch(e){i.Z.sendSentryMessage({error:e,customErrorMessage:"Segment Event Failed - trackNonEventParkingClick"})}}},14587:function(e,t,n){"use strict";n.d(t,{Z:function(){return trackPageLanding}});var a=n(91581),i=n(90814),r=n(80122);let mapToSegmentEvent=e=>e===i.T3.PAGE_NOT_FOUND?"Page Not Found":e===i.T3.MARKETING?"Marketing Landing":e===i.T3.CATEGORY?"Category Landing":"Mid Funnel Landing";function trackPageLanding(e){let{pageType:t,page:n,city:i,destination:o,airportCode:c,destinationID:s,destinationCategoryTitle:l,extraProperties:u={}}=e,d=(0,r.T)(),g={referrer:d,page_type:t,...i&&{city:i},...o&&{destination:o},...n&&{page:n},...s&&{destination_id:s},...c&&{airport_code:c},...l&&{destination_category:l},...u};a.Z.page({name:mapToSegmentEvent(t),properties:g})}},45656:function(e,t,n){"use strict";n.d(t,{Z:function(){return use_event_parking_modal_data}});var a=n(52983),i=n(42958),r=n(53617),o=n(91699);let getDestinationForClient=async(e,t)=>{try{let n=new URL("".concat(t,"/destinations/").concat(e,"/"));n.searchParams.append("include","can_have_events,has_upcoming_events,destination,airport,spothero_city_slug");let a=await window.fetch(n.href),i=await (0,r.L)(a).json();return i.data}catch(t){return o.Z.sendSentryMessage({error:t,customErrorMessage:"getDestinationForClient Failed - ID: ".concat(e)}),null}};var c=n(68867),use_event_parking_modal_data=()=>{let{spotheroV1ApiUrl:e}=(0,i.Z)(),t=(0,a.useCallback)(t=>getDestinationForClient(t,e),[e]),n=(0,a.useCallback)(async t=>(0,c.vw)({destinationId:t,numberOfEvents:150,spotheroV1ApiUrl:e}),[e]);return{fetchDestination:t,fetchEvents:n}}},44098:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return c},default:function(){return CityPage}});var a=n(97458),i=n(94254),r=n(54550),o=n(65279),c=!0;function CityPage(e){let{city:t}=e;return(0,a.jsx)(i.u,{children:(0,a.jsx)(r.v,{latitude:null==t?void 0:t.latitude,longitude:null==t?void 0:t.longitude,country:null==t?void 0:t.country_code,children:(0,a.jsx)(o.Z,{...e,monthly:!0})})})}}},function(e){e.O(0,[4448,831,9142,41,2100,7408,4616,3889,3493,2741,9774,2888,179],function(){return e(e.s=86111)}),_N_E=e.O()}]);

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.