1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[30],{"/a9y":function(e,t,a){"use strict";var n=a("lwsE"),r=a("W8MJ"),l=a("a1gu"),o=a("Nsbk"),c=a("7W2i");function i(e,t,a){return t=o(t),l(e,function(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return function(){return!!e}()}()?Reflect.construct(t,a||[],o(e).constructor):t.apply(e,a))}var s=a("TqRt");t.__esModule=!0,t.default=void 0;var u=s(a("q1tI")),m=s(a("8Kt/")),d={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function f(e){var t=e.res,a=e.err;return{statusCode:t&&t.statusCode?t.statusCode:a?a.statusCode:404}}var g=function(e){function t(){return n(this,t),i(this,t,arguments)}return c(t,e),r(t,[{key:"render",value:function(){var e=this.props.statusCode,t=this.props.title||d[e]||"An unexpected error has occurred";return u.default.createElement("div",{style:h.error},u.default.createElement(m.default,null,u.default.createElement("title",null,e,": ",t)),u.default.createElement("div",null,u.default.createElement("style",{dangerouslySetInnerHTML:{__html:"body { margin: 0 }"}}),e?u.default.createElement("h1",{style:h.h1},e):null,u.default.createElement("div",{style:h.desc},u.default.createElement("h2",{style:h.h2},t,"."))))}}]),t}(u.default.Component);t.default=g,g.displayName="ErrorPage",g.getInitialProps=f,g.origGetInitialProps=f;var h={error:{color:"#000",background:"#fff",fontFamily:'-apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Fira Sans", Avenir, "Helvetica Neue", "Lucida Grande", sans-serif',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block",textAlign:"left",lineHeight:"49px",height:"49px",verticalAlign:"middle"},h1:{display:"inline-block",borderRight:"1px solid rgba(0, 0, 0,.3)",margin:0,marginRight:"20px",padding:"10px 23px 10px 0",fontSize:"24px",fontWeight:500,verticalAlign:"top"},h2:{fontSize:"14px",fontWeight:"normal",lineHeight:"inherit",margin:0,padding:0}}},"4oyE":function(e,t,a){"use strict";a.r(t),a.d(t,"__N_SSG",(function(){return h}));var n=a("q1tI"),r=a.n(n),l=a("ma3e"),o=a("eomm"),c=a.n(o),i=a("nOHt"),s=a("IdFE"),u=a("0mJy"),m=a("O7y4"),d=(a("YFqc"),a("8Kt/")),f=a.n(d),g=r.a.createElement,h=!0;t.default=function(e){if(Object(n.useEffect)((function(){document.querySelectorAll('a[href^="#"]').forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"})}))}))}),[]),!e.article)return g(c.a,{statusCode:404});var t=Object(n.useRef)(null),a=Object(n.useRef)(null),o=Object(n.useRef)(null),d=(Object(i.useRouter)().query,e.article),h=function(e){var t=e.getHours(),a=e.getMinutes(),n=t%12;return 0==n&&(n=12),n+":"+(a<10?"0"+a:a)+" "+(t>=12?"p.m.":"am")},p=new Date(d.date),v="".concat(h(p)," PST ").concat(u.a[p.getMonth()]," ").concat(p.getDate(),", ").concat(p.getFullYear()),_=new Date(d.modified),y="".concat(h(_)," PST ").concat(u.a[_.getMonth()]," ").concat(_.getDate(),", ").concat(_.getFullYear()),N=d.acf.main_image&&d.acf.main_image.url,b=N&&d.acf.main_image_source_text||"",w=N&&d.acf.main_image_source_link||"",E=Object(m.b)(d,{imageSize:"src"}),x=E.title,k=E.mainCategory,S=E.image;d.tags;return g(r.a.Fragment,null,g(f.a,null,d.acf.meta_title?g("title",null,d.acf.meta_title):g("title",null,x),g("meta",{name:"description",content:d.acf.meta_description?d.acf.meta_description:d.acf.intro_description})),g("div",{className:"main-container"},g("div",{className:"main-container-2 container-shadow"},g("div",{className:"social-list"},g("ul",{className:"content-social-icons"},g("li",{className:"content-social-icon"},g("a",{href:"https://www.facebook.com",target:"_blank"},g(l.a,null))),g("li",{className:"content-social-icon"},g("a",{href:"https://www.linkedin.com",target:"_blank"},g(l.b,null))),g("li",{className:"content-social-icon"},g("a",{href:"https://www.twitter.com",target:"_blank"},g(l.c,null))))),k?g("div",{className:"article-categories"},k):g("div",{className:"article-categories"}),g("h1",{className:"title"},d.title.rendered),g("p",{className:"subtitle"},d.acf.intro_description),S&&g("div",{className:"main-image",style:{backgroundImage:"url('".concat(S,"')")}}),b&&w?g("a",{className:"main-image-src",href:w,target:"_blank"},g("small",null,b)):b&&g("small",{className:"main-image-src"},b),g("div",{className:"content-credit",style:{marginTop:"13px"}},d.author_meta&&d.x_author_url?g("div",{className:"author"},"By"," ",g("a",{href:d.x_author_url,target:"_blank"},g("span",{className:"author_name"},d.author_meata.display_name))):d.author_meta&&g("div",{className:"author"},"By"," ",g("span",{className:"author_name"},d.author_meta.display_name)),g("div",{className:"subtitle date",style:{marginTop:"7px"}},g("time",null,"Published: ",v," | Updated: ",y))),g("div",{ref:t,className:"main-article-content",dangerouslySetInnerHTML:{__html:d.content.rendered}}),d.tag_names&&d.tag_names.length>0&&g("div",{className:"content-tags"},g("h4",{className:"tag-label"},"TAGS"),g("div",{className:"tag-list"},d.tag_names.map((function(e,t){return g("div",{key:t,className:"tag-item"},e)})))),d.acf.story_source&&g("div",{ref:a,className:"content-source-container"},g("div",{className:"source-title"},"Source"),g("div",{className:"source-content",dangerouslySetInnerHTML:{__html:d.acf.story_source}})),d.acf.journal_references&&g("div",{className:"reference-cont"},g("div",{className:"reference-header"},"References"),g("div",{className:"reference-content",dangerouslySetInnerHTML:{__html:d.acf.journal_references}}))),g("div",{ref:o,onClick:function(){document.body.scrollTop=0,document.documentElement.scrollTop=0},className:"scroll-to-top container-shadow"},g(s.f,{style:{fontSize:"16px",marginRight:"3px"}}),"To The Top")))}},"9jRF":function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/lifestyle-optimization-for-healthy-aging",function(){return a("4oyE")}])},Lnxd:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var n=a("q1tI"),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},l=n.createContext&&n.createContext(r),o=function(){return(o=Object.assign||function(e){for(var t,a=1,n=arguments.length;a<n;a++)for(var r in t=arguments[a])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},c=function(e,t){var a={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(a[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(n=Object.getOwnPropertySymbols(e);r<n.length;r++)t.indexOf(n[r])<0&&(a[n[r]]=e[n[r]])}return a};function i(e){return function(t){return n.createElement(s,o({attr:o({},e.attr)},t),function e(t){return t&&t.map((function(t,a){return n.createElement(t.tag,o({key:a},t.attr),e(t.child))}))}(e.child))}}function s(e){var t=function(t){var a,r=e.size||t.size||"1em";t.className&&(a=t.className),e.className&&(a=(a?a+" ":"")+e.className);var l=e.attr,i=e.title,s=c(e,["attr","title"]);
1return n.createElement("svg",o({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,l,s,{className:a,style:o({color:e.color||t.color},t.style,e.style),height:r,width:r,xmlns:"http://www.w3.org/2000/svg"}),i&&n.createElement("title",null,i),e.children)};return void 0!==l?n.createElement(l.Consumer,null,(function(e){return t(e)})):t(r)}},eomm:function(e,t,a){e.exports=a("/a9y")}},[["9jRF",0,1,6,7,2,3,4,5]]]);
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.