PageSourceSearch

https://318-sumach-site.vercel.app/_next/static/chunks/app/layout-…?dpl=dpl_H8gHSpsBMzPGCvpoZcvLZpSYf9sB

js 318-sumach-site.vercel.app collected 2026-10-03 06:02:30 UTC 9,187 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{5003:function(e,n,t){Promise.resolve().then(t.t.bind(t,8877,23)),Promise.resolve().then(t.bind(t,2674)),Promise.resolve().then(t.bind(t,3808)),Promise.resolve().then(t.bind(t,1257)),Promise.resolve().then(t.bind(t,746)),Promise.resolve().then(t.t.bind(t,5331,23)),Promise.resolve().then(t.t.bind(t,4110,23))},2674:function(e,n,t){"use strict";t.d(n,{default:function(){return i}});var a=t(7437),r=t(7138),l=t(6463),s=t(5422);function i(){let e=(0,l.usePathname)().startsWith("/unbranded"),n=e?"/unbranded":"/";return(0,a.jsxs)("footer",{className:"site-footer",children:[(0,a.jsxs)("div",{className:"inner",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"brand",children:"318 Sumach Street"}),(0,a.jsx)("p",{className:"tagline",children:e?"Cabbagetown, Toronto.":"A contemporary zen residence in Cabbagetown."}),(0,a.jsxs)("p",{style:{marginTop:18,color:"var(--ink-soft)",fontSize:14,lineHeight:1.6},children:["318 Sumach Street",(0,a.jsx)("br",{}),s.Nd.city,(0,a.jsx)("br",{}),s.Nd.postalCode,", ",s.Nd.country,(0,a.jsx)("br",{}),(0,a.jsxs)("span",{style:{color:"var(--muted)",fontSize:12},children:[s.Nd.gps," \xb7 MLS\xae ",s.Nd.mlsNumber]})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h5",{children:"Explore"}),(0,a.jsx)("ul",{children:[{href:"".concat(n,"#property"),label:"The Residence"},{href:"".concat(n,"#floorplans"),label:"Floor Plans"},{href:"".concat(n,"#neighbourhood"),label:"The Neighbourhood"},{href:"".concat(n,"#gallery"),label:"Gallery"}].map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(r.default,{href:e.href,children:e.label})},e.href))}),e?null:(0,a.jsx)("div",{style:{marginTop:28},children:(0,a.jsx)("img",{src:"/david-oey-hk-logo.png",alt:"David Anderson Oey \xb7 Harvey Kalles Real Estate Ltd. \xb7 Brokerage",style:{display:"block",width:"100%",maxWidth:260,height:"auto"}})})]}),e?(0,a.jsxs)("div",{children:[(0,a.jsx)("h5",{children:"Schedule a Viewing"}),(0,a.jsx)("p",{style:{margin:0,lineHeight:1.8},children:"Private viewings are by appointment."}),(0,a.jsx)("p",{style:{marginTop:16},children:(0,a.jsx)(r.default,{href:"/unbranded/contact",style:{textDecoration:"underline",textUnderlineOffset:4},children:"Request a Viewing →"})})]}):(0,a.jsxs)("div",{children:[(0,a.jsx)("h5",{children:"Listing Agents"}),(0,a.jsxs)("p",{style:{margin:0,lineHeight:1.8},children:[s.Nd.agent.name,(0,a.jsx)("br",{}),s.Nd.agent.brokerage,(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"tel:".concat(s.Nd.agent.directPhone.replace(/\s/g,"")),children:s.Nd.agent.directPhone}),(0,a.jsx)("br",{}),(0,a.jsx)("a",{href:"mailto:".concat(s.Nd.agent.email),children:s.Nd.agent.email})]}),(0,a.jsx)("p",{style:{marginTop:16},children:(0,a.jsx)(r.default,{href:"/contact",style:{textDecoration:"underline",textUnderlineOffset:4},children:"Schedule a Private Viewing →"})})]})]}),(0,a.jsxs)("div",{className:"legal",children:[(0,a.jsxs)("span",{children:["\xa9 ",new Date().getFullYear()," 318 Sumach Street",e?".":". Listed by ".concat(s.Nd.agent.name,", ").concat(s.Nd.agent.brokerage,".")]}),e?null:(0,a.jsx)("span",{children:(0,a.jsx)("a",{href:s.Nd.agent.website,target:"_blank",rel:"noopener noreferrer",children:"davidoey.com"})})]})]})}},3808:function(e,n,t){"use strict";t.d(n,{default:function(){return m}});var a=t(7437),r=t(2265),l=t(7138),s=t(6463),i=t(1257);function o(e){let{text:n}=e;return(0,a.jsx)("span",{className:"text-wrap",children:[...n].map((e,n)=>(0,a.jsx)("span",{className:"letter",style:{"--i":n},"data-l":" "===e?"\xa0":e,children:" "===e?"\xa0":e},"".concat(n,"-").concat(e)))})}let c=[{code:"en",label:"EN",title:"English"},{code:"fr",label:"FR",title:"Fran\xe7ais"},{code:"it",label:"IT",title:"Italiano"},{code:"es",label:"ES",title:"Espa\xf1ol"},{code:"ar",label:"AR",title:"العربية"},{code:"zh",label:"ZH",title:"中文"},{code:"ja",label:"JA",title:"日本語"},{code:"he",label:"HE",title:"עברית"}];function d(){var e;let{lang:n,setLang:t}=(0,i.Z)(),[l,s]=(0,r.useState)(!1),o=(0,r.useRef)(null);(0,r.useEffect)(()=>{if(!l)return;let e=e=>{o.current&&!o.current.contains(e.target)&&s(!1)},n=e=>{"Escape"===e.key&&s(!1)};return document.addEventListener("mousedown",e),document.addEventListener("keydown",n),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",n)}},[l]);let d=null!==(e=c.find(e=>e.code===n))&&void 0!==e?e:c[0];return(0,a.jsxs)("div",{className:"lang-switch",role:"group","aria-label":"Language",ref:o,children:[(0,a.jsxs)("button",{type:"button",className:"lang-switch-trigger ".concat(l?"is-open":""),"aria-haspopup":"listbox","aria-expanded":l,onClick:()=>s(e=>!e),title:d.title,children:[d.label,(0,a.jsx)("span",{"aria-hidden":"true",style:{marginInlineStart:6,fontSize:9},children:l?"▴":"▾"})]}),l?(0,a.jsx)("ul",{className:"lang-switch-menu",role:"listbox","aria-label":"Select language",children:c.map(e=>(0,a.jsx)("li",{role:"presentation",children:(0,a.jsxs)("button",{type:"button",role:"option","aria-selected":n===e.code,className:n===e.code?"active":"",onClick:()=>{t(e.code),s(!1)},title:e.title,children:[(0,a.jsx)("span",{className:"code",children:e.label}),(0,a.jsx)("span",{className:"name",children:e.title})]})},e.code))}):null]})}function u(){let e=(0,r.useRef)(null),[n,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{e.current=document.getElementById("ambient-audio")},[]),(0,a.jsx)("button",{type:"button",className:"audio-toggle ".concat(n?"playing":"muted"),onClick:()=>{let n=e.current;if(n){if(n.paused){let e=n.play();e&&"function"==typeof e.then&&e.then(()=>t(!0)).catch(()=>t(!1))}else n.pause(),t(!1)}},"aria-label":"Toggle ambient sound","aria-pressed":n,children:(0,a.jsxs)("span",{className:"bars","aria-hidden":"true",children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{}),(0,a.jsx)("span",{})]})})}let h=[{href:"/#property",key:"nav.property"},{href:"/#floorplans",key:"nav.floorplans"},{href:"/#neighbourhood",key:"nav.county"},{href:"/#gallery",key:"nav.gallery"}],f=[{href:"/unbranded#property",key:"nav.property"},{href:"/unbranded#floorplans",key:"nav.floorplans"},{href:"/unbranded#neighbourhood",key:"nav.county"},{href:"/unbranded#gallery",key:"nav.gallery"}];function m(){let{t:e}=(0,i.Z)(),[n,t]=(0,r.useState)(!1),[c,m]=(0,r.useState)(!1),b=(0,s.usePathname)(),p=b.startsWith("/unbranded"),x="/"!==b&&!p;return(0,r.useEffect)(()=>{let e=()=>t(window.scrollY>24);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>{m(!1)},[b]),(0,a.jsxs)("header",{className:"site-header ".concat(n||x?"is-scrolled":""),children:[(0,a.jsxs)(l.default,{href:p?"/unbranded":"/",className:"brand","aria-label":"318 Sumach Street",children:["318 Sumach Street",(0,a.jsx)("span",{role:"img","aria-label":"All welcome — LGBTQ+ Pride",title:"All welcome",style:{display:"inline-block",marginLeft:10,width:22,height:14,verticalAlign:"middle",borderRadius:2,overflow:"hidden",background:"linear-gradient(to bottom, #e40303 0 16.66%, #ff8c00 16.66% 33.33%, #ffed00 33.33% 50%, #008026 50% 66.66%, #004dff 66.66% 83.33%, #750787 83.33% 100%)",boxShadow:"0 0 0 1px rgba(0,0,0,0.08)"}})]}),(0,a.jsx)("nav",{className:"primary ".concat(c?"open":""),"aria-label":"Primary",children:(p?f:h).map(n=>{let t=e(n.key);return n.external?(0,a.jsx)("a",{href:n.href,target:"_blank",rel:"noopener noreferrer",onClick:()=>m(!1),"aria-label":"".concat(t," (opens a new tab)"),children:(0,a.jsx)(o,{text:t})},n.href):(0,a.jsx)(l.default,{href:n.href,onClick:()=>m(!1),"aria-label":t,children:(0,a.jsx)(o,{text:t})},n.href)})}),(0,a.jsxs)("div",{className:"header-utils",children:[(0,a.jsx)(d,{}),(0,a.jsx)(u,{}),(0,a.jsx)(l.default,{href:p?"/unbranded/contact":"/contact",className:"cta",children:e("btn.privateViewing")}),(0,a.jsx)("button",{className:"menu-toggle",onClick:()=>m(e=>!e),"aria-label":"Toggle menu","aria-expanded":c,children:c?e("nav.close"):e("nav.menu")})]})]})}},746:function(e,n,t){"use strict";t.d(n,{default:function(){return l}});var a=t(2265),r=t(6463);function l(){let e=(0,r.usePathname)();return(0,a.useEffect)(()=>
1{if(!("IntersectionObserver"in window)){document.querySelectorAll(".reveal").forEach(e=>e.classList.add("in"));return}let e=null,n=null,t=requestAnimationFrame(()=>{e=new IntersectionObserver(n=>{n.forEach(n=>{n.isIntersecting&&(n.target.classList.add("in"),null==e||e.unobserve(n.target))})},{threshold:.12,rootMargin:"0px 0px -40px 0px"}),document.querySelectorAll(".reveal:not(.in)").forEach(n=>e.observe(n)),n=setTimeout(()=>{document.querySelectorAll(".reveal:not(.in)").forEach(e=>e.classList.add("in"))},1500)});return()=>{cancelAnimationFrame(t),n&&clearTimeout(n),null==e||e.disconnect()}},[e]),null}},8877:function(){},5331:function(e){e.exports={style:{fontFamily:"'__Cormorant_Garamond_e9ff3d', '__Cormorant_Garamond_Fallback_e9ff3d'"},className:"__className_e9ff3d",variable:"__variable_e9ff3d"}},4110:function(e){e.exports={style:{fontFamily:"'__Inter_0fc2d1', '__Inter_Fallback_0fc2d1'",fontStyle:"normal"},className:"__className_0fc2d1",variable:"__variable_0fc2d1"}}},function(e){e.O(0,[32,404,291,653,971,23,744],function(){return e(e.s=5003)}),_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.