1import{A as g}from"./CSxXIuc7.js";import{d as _,G as f,B as b,u as h,a as y,c,_ as C,b as l,w as d,r as n,o as p,n as P,h as E}from"./BfSjgb_p.js";const w=_({components:{AlphaList:g,BreadcrumbComponent:b,GeneralPage:f},async setup(){const e=h();try{const{$contentfulClientV2:t}=y(),[r,o,i]=await Promise.all([t.getEntries({content_type:"contentPage",limit:1,include:5,"fields.slug":"state"}),t.getEntries({content_type:"contentPage","fields.pageType":"state",order:"fields.pageTitle",include:5}),t.getEntries({content_type:"contentPage","fields.pageType":"city",order:"fields.linkLabel",limit:50})]),[s]=r.items;if(s?.fields.disclaimers&&e.setPageDisclaimer(s.fields.disclaimers),!s)throw c({statusCode:404,statusMessage:"Page not found"});const a=o.items;return{page:s,states:a,cities:i.items}}catch(t){throw console.error("Error fetching data:",t),c({statusCode:500,statusMessage:"Internal Server Error"})}},data:()=>({}),computed:{breadcrumbs(){return[{url:"/",label:"Home"},{url:"/state",label:this.page?.fields.title||"By State"}]}}});function B(e,t,r,o,i,s){const a=n("breadcrumb-component"),u=n("alpha-list"),m=n("general-page");return p(),l(m,{page:e.page},{breadcrumbs:d(()=>[e.breadcrumbs.length?(p(),l(a,{key:0,class:"o-container state-index__breadcrumbs",items:e.breadcrumbs},null,8,["items"])):E("",!0)]),default:d(()=>[P(u,{entries:e.states,cities:e.cities,class:"o-container state-index__alpha-list"},null,8,["entries","cities"])]),_:1},8,["page"])}const x=C(w,[["render",B],["__scopeId","data-v-5b1e24de"]]);export{x as default};
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.