1import{j as o}from"./index-f19e799d.js";import{u as T,L as f,S as I,g as E,U as S,d as A,b as x}from"./patterns-triangles_greenyellow-76bb9861.js";import{O as w,f as j,S as C}from"./Seo-eaa18241.js";import{B as F}from"./index-3b38879c.js";import{B as N}from"./Banner-575ff571.js";import{b as _}from"./breadcrumb-adc274ac.js";import"./BlogCard-f4f67f17.js";import"./SeasonalHours-072e2c8b.js";function P({name:a,description:e,url:n}){return{"@context":"https://schema.org","@type":"ContactPage",name:a,description:e,url:n,mainEntity:{"@id":w}}}function U({telephone:a,email:e}){const n=j(a);return!n&&!e?{}:{contactPoint:{"@type":"ContactPoint",contactType:"customer service",areaServed:"ZA",availableLanguage:["English"],...n&&{telephone:n},...e&&{email:e}}}}const m=(a="",e=54)=>a.length>e?`${a.substring(0,e)}â¦`:a;function v(){const{loading:a,error:e,data:n}=T(k);if(a)return o.jsx("p",{});if(e)return o.jsxs("p",{children:["Error : ",e.message]});const t=n.talkToUsEntries[0],{siteInfo:s}=n,c=t.subtitle||s.siteTitle,[u]=s.siteImage,[i=u]=t.featureImage,d=i||t.metaImage||s.siteImage,l=m((t.metaDescription||t.summary||s.siteDescription).replace(/(<([^>]+)>)/gi,""),159),r=m(`${t.metaTitle||t.displayTitle||t.title}`,53),p=t.metaKeywords||s.siteKeywords||null,g=`${d.url}`,b=_([{name:"Home",path:"/"},{name:t.title,path:`/${t.uri}`}]),h=P({name:t.title,description:l,url:`https://www.tablemountain.net/${t.uri}`}),y=U({telephone:s.contactNumber,email:s.emailAddress});return o.jsxs(f,{location:t.url,title:r,children:[o.jsx(C,{title:r,description:l,keywords:p,image:g,url:t.url,pathname:`/${t.uri}`,structuredData:[h,b],organizationExtensions:y}),o.jsx("h1",{style:{fontSize:0,color:"transparent"},className:"sr-only",children:r}),i&&o.jsx(N,{block:{variation:"secondary",slides:[{title:c,subtitle:t.title,image:[i]}]}}),t.bodyContent.length&&o.jsx(F,{blocks:t.bodyContent}),o.jsx(I,{p:"0",children:o.jsx("iframe",{title:"Table Mountain Aerial Cableway location map",width:"100%",height:"420",style:{border:0},loading:"lazy",allowFullScreen:!0,src:"https://maps.google.com/maps?width=600&height=400&hl=en&q=Table Mountain Cableway&t=&z=14&ie=UTF8&iwloc=B&output=embed"})})]})}const k=E` 2 query talkToUsQuery { 3 talkToUsEntries { 4 ... on talkToUs_Entry { 5 id 6 remoteId 7 subtitle 8 title 9 typeHandle 10 uri 11 url 12 featureImage { 13 ...UploadAssetFragment 14 } 15 metaTitle 16 metaDescription 17 metaKeywords 18 metaImage { 19 ...UploadAssetFragment 20 } 21 bodyContent { 22 ...BodyContentFragment 23 } 24 } 25 } 26 siteInfo: globalSet(handle: "siteInformation") { 27 ...SiteInfoFragment 28 ... on siteInformation_GlobalSet { 29 emailAddress 30 contactNumber 31 } 32 } 33 } 34 35 ${S}, 36 ${A}, 37 ${x}, 38`;export{k as GET_TALK_DATA,v as TalkToUs}; 39//# sourceMappingURL=talk-to-us-d3325c0c.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.