PageSourceSearch

https://spothero.com/consumer-seo/_next/static/chunks/pages/legal/[slug]-b6401be5abb70daa.js

js spothero.com collected 2026-09-24 08:30:22 UTC 6,126 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]="2882e269-2903-458f-b740-69b6298734d9",e._sentryDebugIdIdentifier="sentry-dbid-2882e269-2903-458f-b740-69b6298734d9")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9038],{78135:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/legal/[slug]",function(){return n(64604)}])},28664:function(e,t,n){"use strict";n.d(t,{Z:function(){return marketing_metas_MarketingMetas}});var i=n(97458);n(52983);var r=n(79606),o=n.n(r),a=n(92934),l=n(43400),use_title=e=>{let{fallbackTitle:t,parkingType:n,page:i}=e,{meta_title:r,"meta-title":o,meta_title_marketing:a,meta_title_transient:s,optional_meta_title_transient:c,meta_title_monthly:p,optional_meta_title_monthly:u}=i||{},_="";return n===l.j.Transient?_=c||s:n===l.j.Monthly&&(_=u||p),_||r||o||a||t||"SpotHero | Get Everywhere Easier | Reserve Parking and Save"},use_meta_description=e=>{let{fallbackDescription:t,parkingType:n,page:i}=e,{meta_description:r,"meta-desc":o,meta_description_marketing:a,meta_description_transient:s,optional_meta_description_transient:c,meta_description_monthly:p,optional_meta_description_monthly:u}=i||{},_="";return n===l.j.Transient?_=c||s:n===l.j.Monthly&&(_=u||p),_||r||o||a||t||"Find, book, and save on parking with convenient garages, lots, and valets near you. Find parking near work, home, airports, and events with the help of SpotHero."},use_opengraph_title=e=>{let{parkingType:t,page:n}=e,{opengraph_title:i,opengraph_title_transient:r,opengraph_title_monthly:o}=n||{},a="";return t===l.j.Transient?a=r:t===l.j.Monthly&&(a=o),a||i},use_opengraph_description=e=>{let{parkingType:t,page:n}=e,{opengraph_description:i,opengraph_description_transient:r,opengraph_description_monthly:o}=n||{},a="";return t===l.j.Transient?a=r:t===l.j.Monthly&&(a=o),a||i},use_opengraph_image=e=>{let{parkingType:t,page:n}=e,{opengraph_image:i,opengraph_image_transient:r,opengraph_image_monthly:o}=n||{},a="";return t===l.j.Transient?a=r:t===l.j.Monthly&&(a=o),a||i},marketing_metas_MarketingMetas=e=>{let{fallbackTitle:t,fallbackDescription:n,parkingType:r=l.j.None,page:s=null}=e,c=use_title({fallbackTitle:t,parkingType:r,page:s}),p=use_meta_description({fallbackDescription:n,parkingType:r,page:s}),u=use_opengraph_title({parkingType:r,page:s})||c,_=use_opengraph_description({parkingType:r,page:s})||p,g=use_opengraph_image({parkingType:r,page:s}),{canonicalURL:d}=(0,a.Z)();return(0,i.jsxs)(o(),{children:[(0,i.jsx)("title",{children:c}),d?(0,i.jsx)("link",{rel:"canonical",href:d}):(0,i.jsx)("meta",{name:"robots",content:"none"}),(0,i.jsx)("meta",{name:"description",itemProp:"description",content:p}),(0,i.jsx)("meta",{property:"og:title",content:u}),(0,i.jsx)("meta",{property:"og:description",content:_}),d?(0,i.jsx)("meta",{property:"og:url",content:d}):null,g?(0,i.jsx)("meta",{property:"og:image",content:g}):null,(0,i.jsx)("meta",{property:"og:type",itemProp:"og:type",content:"website"})]})}},43400:function(e,t,n){"use strict";n.d(t,{Z:function(){return i.Z},j:function(){return r}});var i=n(28664);let r=Object.freeze({Transient:"transient",Monthly:"monthly",None:"none"})},92934:function(e,t,n){"use strict";var i=n(90814),r=n(58428),o=n(42958);t.Z=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],a=(0,o.Z)(),l=(null===(e=(0,r.useRouter)())||void 0===e?void 0:e.asPath)||"",s="".concat(a.siteUrl).concat(l),c=n||a.isProduction,p=!!t&&RegExp(t,"i").test(l),u=l.includes("/city/")||l.includes("/destination/")||l.includes("/airport/"),_=(0,i.Z2)(s,u);return p||!c?(_&&console.info("Prod Canonical URL will be: ".concat(_)),{canonicalURL:null}):{canonicalURL:_}}},90814:function(e,t,n){"use strict";n.d(t,{C1:function(){return toFacilitySlug},T3:function(){return i},Z2:function(){return getCanonicalUrl},gH:function(){return isMidFunnelPage}});let i=Object.freeze({PAGE_NOT_FOUND:"page_not_found",AIRPORT:"airport",CATEGORY:"category",CHECKOUT:"checkout",CITY:"city",COLONIAL:"colonial",DISTRICT_DETROIT:"parkdistrictdetroit",CONFIRMATION:"confirmation",DESTINATION:"destination",EVENT:"event",EVENT_PACKAGES_VENUE:"event_packages_venue",EVENT_PACKAGES_SEARCH:"event_packages_search",FACILITY:"facility",HOME:"home",LEGAL:"legal",MID_FUNNEL:"mid_funnel",MARKETING:"marketing",NOT_FOUND:"not_found",PRESS_RELEASE:"press_release",REDIRECT:"redirect",SEARCH:"search",VENUE:"venue",PERFORMERS:"performers"}),toFacilitySlug=e=>"".concat(e,"-parking");function isMidFunnelPage(e){let t=[i.AIRPORT,i.CITY,i.DESTINATION,i.MID_FUNNEL];return t.includes(e)}function getCanonicalUrl(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.split("?")[0],i=n.replace(/\/$/,"").toLowerCase();return t&&!i.endsWith("-parking")&&(i="".concat(i,"-parking")),i}},64604:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return u},default:function(){return LegalPage}});var i=n(97458);
1n(52983);var r=n(7862),o=n.n(r),a=n(30493),l=n(89659),s=n(92593),c=n(23194),p=n(28664);let Legal=e=>{let{page:t,hideHeaderFooter:n}=e;return(0,i.jsxs)(l.xu,{as:"article",paddingTop:n?0:16,paddingBottom:{base:8,tablet:16},backgroundColor:"white",children:[(0,i.jsx)(p.Z,{fallbackTitle:"SpotHero | Legal",fallbackDescription:"Legal page for spothero",page:t}),(0,i.jsxs)(s.W2,{children:[(0,i.jsx)(l.xu,{marginBottom:{base:6,tablet:8},textAlign:"center",children:(0,c.PC)(t.title).length?(0,i.jsx)(a.PrismicRichText,{field:t.title,components:(0,c.Xj)("h1",{marginBottom:{base:6,tablet:8},textAlign:"center"})}):null}),(0,c.PC)(t.content).length?(0,i.jsx)(a.PrismicRichText,{field:t.content,components:(0,c.pD)({marginBottom:{base:6,tablet:8},textAlign:"center"})}):null]})]})};Legal.propTypes={page:o().shape({title:o().array,content:o().array}),hideHeaderFooter:o().bool};var u=!0;function LegalPage(e){return(0,i.jsx)(Legal,{...e})}}},function(e){e.O(0,[493,9774,2888,179],function(){return e(e.s=78135)}),_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.