1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[57],{"20a2":function(e,t,n){e.exports=n("nOHt")},DgNH:function(e,t,n){"use strict";var o=n("nKUr"),r=n("q1tI");t.a=function(){var e=Object(r.useState)(1500),t=e[0],n=e[1];return Object(r.useLayoutEffect)((function(){function e(){n(window.innerWidth)}return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}}),[]),Object(o.jsxs)("div",{style:{backgroundColor:"#1EA89B",height:"60px",paddingLeft:20,paddingRight:20,display:"flex",flexDirection:"row",justifyContent:"space-between"},children:[Object(o.jsxs)("a",{href:"https://goodhoodsg.com",style:{color:"#f0f0f0",fontSize:"1.2rem"},children:[Object(o.jsx)("img",{alt:"GoodHood",style:{width:60,height:60},src:"/goodhood2.png"}),t>600?Object(o.jsx)("span",{style:{marginLeft:"1rem"},children:" GoodHood"}):""]}),t>350&&Object(o.jsxs)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[Object(o.jsx)("a",{target:"_blank",href:"https://play.google.com/store/apps/details?id=sg.goodhood.app",children:Object(o.jsx)("img",{style:{height:58},src:"/images/g4gplay.png"})}),Object(o.jsx)("a",{target:"_blank",href:"https://apps.apple.com/us/app/goodhood-sg-neighbourhood-app/id1494686562?ls=1",children:Object(o.jsx)("img",{style:{height:40},src:"/images/appleStore.svg"})})]})]})}},EXwx:function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return b}));var o=n("nKUr"),r=(n("q1tI"),n("f2y5")),i=(n("20a2"),n("gv3/")),a=n.n(i),s=n("/MKj"),c=n("YFqc"),l=n.n(c),d=n("wFql"),u=n("BMrR"),p=n("kPKH"),f=n("g4pe"),g=n.n(f),h=n("DgNH"),j=n("j+E/"),m=(n("LvDl"),d.a.Text),b=!0;t.default=Object(r.a)({ssr:!1})((function(e){var t,n=e.post,r=Object(s.c)((function(e){var t;return null===(t=e.auth)||void 0===t?void 0:t.user}));if(void 0===n||void 0===(null===n||void 0===n?void 0:n.id))return Object(o.jsx)("h1",{children:"Post does not exist"});var i=n.id,c=a()().fromUUID(i),d="";return n.images.length>0&&(d=n.images[0].image.url,n.images[0].image.jpegThumbnailUrl&&(d=n.images[0].image.jpegThumbnailUrl)),Object(o.jsxs)("div",{className:"page",children:[Object(o.jsxs)(g.a,{children:[Object(o.jsx)("title",{children:n.title}),Object(o.jsx)("meta",{name:"title",content:n.title},"description"),Object(o.jsx)("meta",{name:"description",content:n.description},"description"),Object(o.jsx)("meta",{property:"og:title",content:n.title},"og:title"),Object(o.jsx)("meta",{property:"og:description",content:n.description},"og:description"),Object(o.jsx)("meta",{property:"og:url",content:"https://goodhood.sg/post/".concat(c)},"og:url"),Object(o.jsx)("meta",{property:"og:image",content:d},"og:image"),Object(o.jsx)("meta",{property:"og:image:width",content:"600"}),Object(o.jsx)("meta",{property:"og:image:height",content:"600"}),Object(o.jsx)("meta",{property:"og:type",content:"website"}),Object(o.jsx)("meta",{property:"al:android:url",content:"goodhood://post/".concat(i)}),Object(o.jsx)("meta",{property:"al:ios:url",content:"goodhood://post".concat(i)}),Object(o.jsx)("meta",{name:"apple-itunes-app",content:"app-id=1494686562, app-argument=/post/".concat(i)})]}),Object(o.jsx)(h.a,{}),Object(o.jsx)(u.a,{justify:"space-around",children:Object(o.jsxs)(p.a,{xs:24,sm:24,md:16,lg:14,style:{maxWidth:790},children:[Object(o.jsx)("div",{className:"card",style:{marginTop:"1rem"},children:Object(o.jsx)(m,{style:{fontSize:"1rem"},children:"Connect with verified neighbours in a safe and private way to ask for and offer help."})}),Object(o.jsx)("div",{className:"card",children:Object(o.jsx)(j.b,{post:n,user:r||{},inDetail:!0,isHiddenOption:!0})}),Object(o.jsx)("div",{className:"card",style:{textAlign:"center"},children:Object(o.jsxs)(m,{style:{fontSize:"1rem"},children:["This post was shared with the author's neighbors in"," ",null===(t=n.author.neighborhood)||void 0===t?void 0:t.name," on GoodHood.SG. ",Object(o.jsx)("br",{}),Object(o.jsx)(l.a,{href:"/",children:"Download"})," to view posts like this."]})})]})})]})}))},VNF8:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[id]",function(){return n("EXwx")}])},YFqc:function(e,t,n){e.exports=n("cTJO")},cTJO:function(e,t,n){"use strict";var o=n("zoAU"),r=n("7KCV");t.__esModule=!0,t.default=void 0;var i=r(n("q1tI")),a=n("elyg"),s=n("nOHt"),c=n("vNVm"),l={};function d(e,t,n,o){if(e&&(0,a.isLocalURL)(t)){e.prefetch(t,n,o).catch((function(e){0}));var r=o&&"undefined"!==typeof o.locale?o.locale:e&&e.locale;l[t+"%"+n+(r?"%"+r:"")]=!0}}var u=function(e){var t=!1!==e.prefetch,n=(0,s.useRouter)(),r=n&&n.pathname||"/",u=i.default.useMemo((function(){var t=(0,a.resolveHref)(r,e.href,!0),n=o(t,2),i=n[0],s=n[1];return{href:i,as:e.as?(0,a.resolveHref)(r,e.as):s||i}}),[r,e.href,e.as]),p=u.href,f=u.as,g=e.children,h=e.replace,j=e.shallow,m=e.scroll,b=e.locale;"string"===typeof g&&(g=i.default.createElement("a",null,g));var v=i.Children.only(g),x=v&&"object"===typeof v&&v.ref,y=(0,c.useIntersection)({rootMargin:"200px"}),O=o(y,2),w=O[0],E=O[1],_=i.default.useCallback((function(e){w(e),x&&("function"===typeof x?x(e):"object"===typeof x&&(x.current=e))}),[x,w]);(0,i.useEffect)((function(){var e=E&&t&&(0,a.isLocalURL)(p),o="undefined"!==typeof b?b:n&&n.locale,r=l[p+"%"+f+(o?"%"+o:"")];e&&!r&&d(n,p,f,{locale:o})}),[f,p,E,b,t,n]);var L={ref:_,onClick:function(e){v.props&&"function"===typeof v.props.onClick&&v.props.onClick(e),e.defaultPrevented||function(e,t,n,o,r,i,s,c){("A"!==e.currentTarget.nodeName||!function(e){var t=e.currentTarget.target;return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)&&(0,a.isLocalURL)(n))&&(e.preventDefault(),null==s&&(s=o.indexOf("#")<0),t[r?"replace":"push"](n,o,{shallow:i,locale:c,scroll:s}))}(e,n,p,f,h,j,m,b)},onMouseEnter:function(e){(0,a.isLocalURL)(p)&&(v.props&&"function"===typeof v.props.onMouseEnter&&v.props.onMouseEnter(e),d(n,p,f,{priority:!0}))}};if(e.passHref||"a"===v.type&&!("href"in v.props)){var N="undefined"!==typeof b?b:n&&n.locale,k=n&&n.isLocaleDomain&&(0,a.getDomainLocale)(f,N,n&&n.locales,n&&n.domainLocales);L.href=k||(0,a.addBasePath)((0,a.addLocale)(f,N,n&&n.defaultLocale))}return i.default.cloneElement(v,L)};t.default=u},vNVm:function(e,t,n){"use strict";var o=n("zoAU");t.__esModule=!0,t.useIntersection=function(e){var t=e.rootMargin,n=e.disabled||!a,c=(0,r.useRef)(),l=(0,r.useState)(!1),d=o(l,2),u=d[0],p=d[1],f=(0,r.useCallback)((function(e){c.current&&(c.current(),c.current=void 0),n||u||e&&e.tagName&&(c.current=function(e,t,n){var o=function(e){var t=e.rootMargin||"",n=s.get(t);if(n)return n;var o=new Map,r=new IntersectionObserver((function(e){e.forEach((function(e){var t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return s.set(t,n={id:t,observer:r,elements:o}),n}(n),r=o.id,i=o.observer,a=o.elements;return a.set(e,t),i.observe(e),function(){a.delete(e),i.unobserve(e),0===a.size&&(i.disconnect(),s.delete(r))}}(e,(function(e){return e&&p(e)}),{rootMargin:t}))}),[n,t,u]);return(0,r.useEffect)((function(){if(!a&&!u){var e=(0,i.requestIdleCallback)((function(){return p(!0)}));return function(){return(0,i.cancelIdleCallback)(e)}}}),[u]),[f,u]};var r=n("q1tI"),i=n("0G5g"),a="undefined"!==typeof IntersectionObserver;var s=new Map}},[["VNF8",1,0,9,22,2,5,4,3,6,7,8,10,11,13,14,15,16,17,18,19,20,21,23,24,12]]]);
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.