{"version":3,"file":"BlogJournal.CJvT2huC.mjs","names":["React.useRef","__esmMin","init_npm_react_18_3_1","p","c","init_jsx_runtime","ce","de","addPropertyControls","Link","ControlType","init_framer_BpuvUAiZ","init_CommunityCalendar","useSaintJamesTheme","init_CommunityCalendar_HHiIhyVTgVPL","BlogJournal","useSpacedHyphens","articleRef","mode","author","root","byline","gallery","section","photo","item","src","img","index","title","date","el","original","hidden","header","inner","headingNode","d","css","articlePhoto","heading","introduction","labels","refresh","walker","node","parent","value","next","label","a","isEvent","scope","bottom","link","event","queued","observer","init_BlogJournal"],"sources":["https:/framer.com/m/CommunityCalendar-HHiIhyVTgVPL.js","https:/framerusercontent.com/modules/ILw2e9IIFArhRnqdIuzs/o7mKYRhyfgUatEYPZUTm/BlogJournal.js"],"sourcesContent":["/*\n * CommunityCalendar\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/hjsyCNhX3oDeA9b5R7SH/Fvo7JYoBRzSgCEOGGATF/CommunityCalendar.js\"\nexport { default } from \"https://framerusercontent.com/modules/hjsyCNhX3oDeA9b5R7SH/Fvo7JYoBRzSgCEOGGATF/CommunityCalendar.js\"\n","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,Link}from\"framer\";import{useSaintJamesTheme}from\"https://framer.com/m/CommunityCalendar-HHiIhyVTgVPL.js\";const css='@container storylist (max-width:700px){html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;padding:18px!important;gap:16px!important}html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>*{grid-column:1!important}html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Story cover\"]{grid-row:1!important;height:210px!important;min-height:0!important}html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Title\"]{grid-row:2!important}html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Excerpt\"]{grid-row:3!important}html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Date\"]{grid-row:4!important}}'+'html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS list\"]{container-type:inline-size!important;container-name:storylist!important}@container storylist (max-width:700px){html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;padding:18px!important;gap:16px!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>*{grid-column:1!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Story cover\"]{grid-row:1!important;height:210px!important;min-height:0!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Title\"]{grid-row:2!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Excerpt\"]{grid-row:3!important}html:root:root:root:root:root:root:root:root body[data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Date\"]{grid-row:4!important}}'+'html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]:not(:has([data-framer-name=\"Story cover\"] img)){display:flex!important;flex-direction:column!important;gap:16px!important}html:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Story cover\"]:not(:has(img)){display:none!important}'+'html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]{display:grid!important;grid-template-columns:minmax(0,36%) minmax(0,1fr)!important;grid-template-rows:auto 1fr auto!important;column-gap:28px!important;row-gap:14px!important;padding:24px!important;align-items:start!important;overflow:hidden!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>*{grid-column:2!important;min-width:0!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Story cover\"]{grid-column:1!important;grid-row:1 / 4!important;width:100%!important;height:100%!important;min-height:230px!important;border-radius:16px!important;overflow:hidden!important;align-self:stretch!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Title\"]{grid-row:1!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Excerpt\"]{grid-row:2!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Date\"]{grid-row:3!important}@media(max-width:700px){html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;padding:18px!important;gap:16px!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>*{grid-column:1!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Story cover\"]{grid-row:1!important;height:210px!important;min-height:0!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Title\"]{grid-row:2!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Excerpt\"]{grid-row:3!important}html:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]>[data-framer-name=\"Date\"]{grid-row:4!important}}'+'html:root:root:root body img[src*=\"lZSXMCtOTXo6i93PV6NvJFFrcAM\"]{mix-blend-mode:multiply!important;filter:brightness(1.08)!important}html:root:root:root body header a:has(img[src*=\"lZSXMCtOTXo6i93PV6NvJFFrcAM\"]){background:transparent!important}'+`\n/* Keep the combined wordmark inside its available space at every width. */\nhtml body header a:has(img[src*=\"lZSXMCtOTXo6i93PV6NvJFFrcAM\"]),html body .sj-phone-brand{min-width:0!important;max-width:100%!important;height:auto!important;overflow:visible!important;flex-shrink:1!important}\nhtml body header img[src*=\"lZSXMCtOTXo6i93PV6NvJFFrcAM\"],html body .sj-phone-brand img{width:100%!important;min-width:0!important;max-width:240px!important;height:auto!important;max-height:none!important;aspect-ratio:2021/778!important;object-fit:contain!important;position:static!important;transform:none!important}\nhtml body header :has(>img[src*=\"lZSXMCtOTXo6i93PV6NvJFFrcAM\"]){width:100%!important;height:auto!important;min-width:0!important;aspect-ratio:2021/778!important;overflow:visible!important}\nhtml body [data-framer-name=\"Header\"] [data-framer-name=\"Saint James name and location\"]{width:clamp(170px,22vw,240px)!important;min-width:0!important;height:auto!important;aspect-ratio:2021/778!important;overflow:visible!important;flex-shrink:1!important}\n@media(max-width:700px){html body .sj-phone-header{height:auto!important;min-height:76px!important;overflow:visible!important}html body .sj-phone-brand{width:min(230px,calc(100% - 75px))!important;flex:0 1 230px!important}html body .sj-phone-brand img{width:100%!important;min-width:0!important;height:auto!important;flex:1 1 auto!important}.sj-event-mobile>a{width:min(230px,calc(100% - 75px))!important;max-width:230px!important;min-width:0!important}.sj-event-mobile>a img{object-fit:contain!important;aspect-ratio:2021/778!important;height:auto!important;max-height:none!important}}\n\n.sj-journal .sj-journal-symbol img{width:130px;height:130px;object-fit:contain}\n.sj-journal .sj-journal-hero{background:#d8dcf2;border-radius:28px;padding:40px}\n.sj-journal .sj-journal-symbol{background:transparent;padding:0}\n.sj-blog-back a{display:inline-flex!important;align-items:center;min-height:44px;padding:8px 18px;border:1px solid #173c31;border-radius:999px;text-decoration:none!important;box-sizing:border-box}\n[data-framer-name=\"Blog article content\"] h1{background:#d8dcf2;padding:32px!important;border-radius:24px;box-sizing:border-box}\n@media(max-width:700px){.sj-journal .sj-journal-hero{margin:-24px -20px 0;padding:32px 20px;border-radius:0}.sj-journal .sj-journal-symbol{padding:0;border-radius:0}.sj-journal .sj-journal-symbol img{width:84px;height:84px}[data-framer-name=\"Blog article content\"] h1{width:calc(100% + 40px)!important;max-width:none!important;margin-inline:-20px!important;border-radius:0!important;padding:32px 20px!important}}\n\n.sj-journal{box-sizing:border-box;width:100%;max-width:1120px;margin:auto;padding:36px 40px 24px;color:#183e32;font-family:Inter,Arial,sans-serif}.sj-journal-hero{display:grid;grid-template-columns:1.6fr 1fr;gap:40px;align-items:center}.sj-journal-kicker{font-size:12px;font-weight:700;letter-spacing:.12em}.sj-journal h1{font-size:clamp(48px,6vw,84px);line-height:1.02;letter-spacing:-.055em;margin:24px 0}.sj-journal-intro{font-size:19px;line-height:1.6;max-width:34em;color:#5e6d64}.sj-journal-symbol{background:#c4b8f0;border-radius:30px;padding:36px;display:flex;flex-direction:column;gap:30px;color:#18231d}.sj-journal-symbol svg{width:90px;height:90px}.sj-journal-symbol strong{font-size:30px;line-height:1.1;letter-spacing:-.04em}.sj-journal h2{font-size:36px;letter-spacing:-.04em;margin:48px 0 0}.sj-blog-back{display:block;padding:28px 40px 8px;max-width:880px;width:100%;box-sizing:border-box;margin:auto}.sj-blog-back a{font:600 16px Inter,Arial,sans-serif;color:#183e32;text-decoration:underline;text-underline-offset:5px}\n[data-framer-name=\"Blog CMS list\"]{width:calc(100% - 80px)!important;max-width:1040px!important;margin:0 auto 80px!important;gap:20px!important}\n[data-framer-name=\"Blog CMS card\"]{box-sizing:border-box!important;padding:28px!important;border-radius:24px!important;background:#e8eddf!important;gap:12px!important;text-decoration:none!important;transition:background .2s,transform .2s!important}\n[data-framer-name=\"Blog CMS card\"]:hover{background:#dde8c8!important;transform:translateY(-3px)}\n[data-framer-name=\"Blog CMS card\"] h6{font:700 30px/1.15 Inter,Arial,sans-serif!important;letter-spacing:-.035em!important;color:#183e32!important;margin:0!important}\n[data-framer-name=\"Blog CMS card\"] p{font:400 17px/1.55 Inter,Arial,sans-serif!important;color:#536357!important}\n[data-framer-name=\"Blog CMS list\"] [data-framer-name=\"Empty State\"]{padding:32px!important;border:1px solid #d2d8cc!important;border-radius:24px!important;min-height:150px!important}\n[data-framer-name=\"Blog CMS list\"] [data-framer-name=\"Empty State\"] p{font:400 18px/1.6 Inter,Arial,sans-serif!important;color:#536357!important}\n[data-framer-name=\"Blog article content\"]{box-sizing:border-box!important;width:100%!important;max-width:880px!important;padding:20px 40px 80px!important;margin:0 auto!important;gap:24px!important;align-items:stretch!important}\n[data-framer-name=\"Blog article content\"] h1{font:700 clamp(36px,5vw,64px)/1.06 Inter,Arial,sans-serif!important;letter-spacing:-.045em!important;color:#183e32!important}\n[data-framer-name=\"Blog article content\"] p,[data-framer-name=\"Blog article content\"] li{font:400 18px/1.75 Inter,Arial,sans-serif!important;color:#34483d!important}\n[data-framer-name=\"Blog article content\"] h2,[data-framer-name=\"Blog article content\"] h3{font-family:Inter,Arial,sans-serif!important;line-height:1.2!important;color:#183e32!important}\n[data-framer-name=\"Blog article content\"] img{max-width:100%!important;height:auto!important;border-radius:20px}\n[data-framer-name=\"Blog article content\"] > *{max-width:100%!important;min-width:0!important;width:100%!important;text-align:left!important}\n[data-framer-name=\"Blog article content\"] p,[data-framer-name=\"Blog article content\"] h1{text-align:left!important}\n[data-framer-name=\"Blog article content\"] > [data-framer-name=\"BlogJournal\"]{order:-1!important}\n[data-framer-name=\"Blog article content\"] > [data-framer-name=\"Excerpt\"]{order:1!important}\n[data-framer-name=\"Blog article content\"] > [data-framer-name=\"Content\"]{order:2!important}\n[data-framer-name=\"Blog article content\"] .sj-blog-back{padding:0 0 12px!important;margin:0!important}\n[data-framer-name=\"Blog article content\"] [data-framer-name=\"Stack\"]{width:100%!important;max-width:100%!important;align-items:stretch!important}\n[data-framer-name=\"Blog article content\"] [data-framer-name=\"Stack\"]>*{width:100%!important;max-width:100%!important}\n.sj-blog-back{order:-1!important}\n[data-framer-name=\"Blog article content\"] [data-framer-name=\"Stack\"]{padding:0!important;margin:0!important;align-self:stretch!important}\n@media(max-width:700px){.sj-journal{padding:24px 20px 20px}.sj-journal-hero{grid-template-columns:1fr;gap:20px}.sj-journal h1{font-size:48px}.sj-journal-intro{font-size:17px}.sj-journal-symbol{flex-direction:row;align-items:center;padding:24px;gap:24px;border-radius:24px}.sj-journal-symbol svg{width:56px;height:56px;flex-shrink:0}.sj-journal-symbol strong{font-size:26px}.sj-journal h2{font-size:30px;margin-top:32px}[data-framer-name=\"Blog CMS list\"]{width:calc(100% - 40px)!important;margin-bottom:48px!important}[data-framer-name=\"Blog CMS card\"]{padding:24px!important}[data-framer-name=\"Blog CMS card\"] h6{font-size:26px!important}[data-framer-name=\"Blog article content\"]{padding:20px 20px 48px!important}.sj-blog-back{padding:24px 20px 8px}}\n@media(prefers-reduced-motion:reduce){[data-framer-name=\"Blog CMS card\"]{transition:none!important;transform:none!important}}\nhtml:root:root body .sj-journal .sj-journal-hero{background:transparent;padding:0;border-radius:0;margin:0;border-left:6px solid #d8dcf2;padding-left:24px}\nhtml:root:root:root body .sj-journal-hero{position:relative}\nhtml:root:root:root body .sj-journal-symbol{width:100%;min-height:220px;background:#efeee7!important;border-radius:0!important}\nhtml:root:root:root body .sj-journal-symbol img{width:180px!important;height:180px!important}\nhtml:root:root:root:root:root body [data-framer-name=\"Blog article content\"]{padding-top:0!important;gap:24px!important}\nhtml:root:root:root:root:root body .sj-article-original{display:none!important}\nhtml:root:root:root:root:root body .sj-article-title{order:-3!important;width:100vw!important;max-width:none!important;margin:0 calc(50% - 50vw)!important;padding:48px 0!important;background:#173c31!important;box-sizing:border-box!important}\nhtml:root:root:root:root:root body .sj-article-title-inner{width:calc(100% - 80px)!important;max-width:800px!important;margin:auto!important}\nhtml:root:root:root:root:root body .sj-article-title h1{font:400 clamp(34px,4.5vw,56px)/1.14 Sanchez,Georgia,serif!important;color:#d8ef7b!important;background:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0!important;width:100%!important;letter-spacing:-.025em!important}\nhtml:root:root:root:root:root body .sj-article-title h1:before{content:none!important;display:none!important}\nhtml:root:root:root:root:root body .sj-article-title p{font:400 16px/1.5 'DM Sans',Arial,sans-serif!important;color:#f7f5ef!important;padding:0!important;margin:20px 0 0!important}\nhtml:root:root:root:root:root body .sj-blog-back{max-width:800px!important;margin:0 auto!important;padding:0!important}\nhtml:root:root:root:root:root body .sj-article-photo{width:100%!important;max-width:800px!important;margin:0 auto 24px!important}\nhtml:root:root:root:root:root body .sj-article-photo img{display:block!important;width:100%!important;max-width:none!important;height:clamp(220px,30vw,380px)!important;object-fit:cover!important;border-radius:20px!important}\nhtml:root:root:root:root:root body .sj-article-photo figcaption{max-width:800px;width:100%;margin:8px auto 0;font:12px/1.5 'DM Sans',Arial,sans-serif;color:#74776d}\n@media(max-width:700px){html:root:root:root:root:root body .sj-article-title{padding:32px 0!important}html:root:root:root:root:root body .sj-article-title-inner{width:calc(100% - 40px)!important}}\n\nhtml:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]{background:transparent!important;border-radius:0!important;border:0!important;border-bottom:1px solid rgba(23,60,49,.18)!important;box-shadow:none!important;padding:28px 0!important;transform:none!important}\nhtml:root:root:root:root:root:root:root:root:root body [data-framer-name=\"Blog CMS card\"]:hover{background:transparent!important;border-bottom-color:rgba(23,60,49,.35)!important;transform:none!important}\nhtml:root:root:root:root:root:root:root:root:root body .sj-journal-hero{border-left-color:#f2b0a2!important}\nhtml:root:root:root:root:root:root:root:root:root body .sj-journal-symbol{background:#f2b0a2!important;border-radius:20px!important}\nhtml:root:root:root:root:root:root:root:root:root body .sj-journal-symbol{display:flex!important;align-items:center!important;justify-content:center!important;padding:24px!important;box-sizing:border-box!important;gap:0!important}\n`;/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1120\n * @framerIntrinsicHeight 500\n */export default function BlogJournal({mode=\"Header\",heading=\"Words for the way.\",introduction=\"Reflections, stories and everyday faith from Saint James Young Adults.\",articlePhoto,author=\"\",gallery=[],style}){useSpacedHyphens();useSaintJamesTheme();const articleRef=React.useRef(null);React.useEffect(()=>{if(mode!==\"Article\"||!author?.trim())return;const root=articleRef.current?.closest('[data-framer-name=\"Blog article content\"]');if(!root)return;const byline=document.createElement(\"p\");byline.className=\"sj-article-author\";byline.textContent=\"Written by \"+author.trim();byline.style.cssText=\"order:4;width:100%;margin:8px 0 0;padding:24px 0 0;border-top:1px solid rgba(23,60,49,.18);color:#173c31;font:500 17px/1.6 Inter, sans-serif;\";root.append(byline);return()=>byline.remove();},[mode,author]);React.useEffect(()=>{if(mode!==\"Article\")return;const root=articleRef.current?.closest('[data-framer-name=\"Blog article content\"]');if(!root||!gallery?.length)return;const section=document.createElement(\"section\");section.className=\"sj-article-gallery\";section.setAttribute(\"aria-label\",\"Photo gallery\");section.style.cssText=\"display:grid;grid-template-columns:1fr;gap:24px;width:100%;max-width:800px;margin:0 auto;order:3;\";gallery.forEach((item,index)=>{const photo=item?.image||item;const src=typeof photo===\"string\"?photo:photo?.src;if(!src)return;const img=document.createElement(\"img\");img.src=src;img.alt=photo?.alt||`Event photo ${index+1}`;img.loading=\"lazy\";img.style.cssText=\"display:block;width:100%;height:auto;border-radius:20px;\";section.append(img);});root.append(section);return()=>section.remove();},[mode,gallery]);React.useEffect(()=>{if(mode!==\"Article\")return;const root=articleRef.current?.closest('[data-framer-name=\"Blog article content\"]');if(!root||root.querySelector(\".sj-article-title\"))return;const title=root.querySelector(\"h1\");if(!title)return;const date=Array.from(root.querySelectorAll(\"p,time\")).find(el=>/^(?:[A-Z][a-z]{2,8} \\d{1,2},? \\d{4}|\\d{1,2} [A-Z][a-z]{2,8} \\d{4})$/.test(el.textContent?.trim()||\"\"));let original=title.parentElement;while(original&&original!==root&&date&&!original.contains(date))original=original.parentElement;const hidden=original&&original!==root?[original]:[title,date].filter(Boolean);hidden.forEach(el=>el?.classList.add(\"sj-article-original\"));const header=document.createElement(\"section\");header.className=\"sj-article-title\";const inner=document.createElement(\"div\");inner.className=\"sj-article-title-inner\";const headingNode=document.createElement(\"h1\");headingNode.textContent=title.textContent;inner.append(headingNode);if(date){const d=document.createElement(\"p\");d.textContent=date.textContent;inner.append(d);}header.append(inner);root.prepend(header);return()=>{header.remove();hidden.forEach(el=>el?.classList.remove(\"sj-article-original\"));};},[mode]);if(mode===\"Article\")return /*#__PURE__*/_jsxs(\"div\",{ref:articleRef,className:\"sj-blog-back\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"figure\",{className:\"sj-article-photo\",children:[/*#__PURE__*/_jsx(\"img\",{src:articlePhoto?.src||articlePhoto||\"https://images.unsplash.com/photo-1499051775559-dcb9f02d2107?auto=format&fit=crop&w=2000&q=85\",alt:articlePhoto?.alt||\"An open Bible on a wooden table\"}),!articlePhoto&&/*#__PURE__*/_jsx(\"figcaption\",{children:\"Illustrative photo: Aaron Burden / Unsplash\"})]}),/*#__PURE__*/_jsx(Link,{href:{webPageId:\"cwneawmg7\"},children:/*#__PURE__*/_jsx(\"a\",{children:\"Back to the blog\"})})]});return /*#__PURE__*/_jsxs(\"section\",{className:\"sj-journal\",style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{className:\"sj-journal-hero\",children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"div\",{className:\"sj-journal-kicker\",children:\"THE SAINT JAMES BLOG\"}),/*#__PURE__*/_jsx(\"h1\",{children:heading}),/*#__PURE__*/_jsx(\"p\",{className:\"sj-journal-intro\",children:introduction})]}),/*#__PURE__*/_jsx(\"div\",{className:\"sj-journal-symbol\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"img\",{src:\"https://framerusercontent.com/images/zd8kNaNiccwPYNCzmuIM2F0MgBk.png?width=256\",alt:\"\"})})]}),/*#__PURE__*/_jsx(\"h2\",{children:\"From our community\"})]});}addPropertyControls(BlogJournal,{author:{type:ControlType.String,title:\"Author\",defaultValue:\"\",hidden:p=>p.mode!==\"Article\"},mode:{type:ControlType.Enum,title:\"Display\",options:[\"Header\",\"Article\"],defaultValue:\"Header\"},gallery:{type:ControlType.Array,title:\"Gallery\",control:{type:ControlType.Object,controls:{image:{type:ControlType.ResponsiveImage,title:\"Image\"}}},hidden:p=>p.mode!==\"Article\"},articlePhoto:{type:ControlType.ResponsiveImage,title:\"Talk photo\",hidden:p=>p.mode!==\"Article\"},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Words for the way.\",hidden:p=>p.mode===\"Article\"},introduction:{type:ControlType.String,title:\"Introduction\",displayTextArea:true,defaultValue:\"Reflections, stories and everyday faith from Saint James Young Adults.\",hidden:p=>p.mode===\"Article\"}});// Keep visible site copy consistent, including CMS text and view changes.\nfunction useSpacedHyphens(){React.useEffect(()=>{const css=document.createElement(\"style\");css.textContent='html:root:root:root:root:root:root body .sj-return-original{display:none!important}html:root:root:root:root:root:root body .sj-bottom-return{display:flex!important;justify-content:flex-start!important;align-self:stretch!important;order:100!important;width:100%!important;max-width:none!important;margin:28px 0 0!important;padding:0!important;box-sizing:border-box!important}html:root:root:root:root:root:root body .sj-bottom-return a{display:inline-flex!important;width:auto!important;min-height:44px!important;align-items:center!important;justify-content:center!important;padding:12px 20px!important;border:1px solid #173c31!important;border-radius:12px!important;color:#173c31!important;text-decoration:none!important;font:500 16px/1.5 \"DM Sans\",sans-serif!important;margin:0!important}html:root:root:root:root:root:root body .sj-bottom-return a:focus-visible{outline:3px solid #806022;outline-offset:4px}';document.head.append(css);const labels={Blog:\"Community Stories\",\"THE SAINT JAMES BLOG\":\"COMMUNITY STORIES\",\"Back to the blog\":\"Back to stories\",\"Back to blog\":\"Back to stories\"};const refresh=()=>{const walker=document.createTreeWalker(document.body,NodeFilter.SHOW_TEXT);let node;while(node=walker.nextNode()){const parent=node.parentElement;if(!parent||parent.closest('script,style,textarea,input,[contenteditable=\"true\"]'))continue;const value=node.nodeValue||\"\";let next=value.replace(/\\s*—\\s*/g,\" - \");const label=labels[next.trim()];if(label)next=label;if(parent.closest(\".sj-journal\")&&next.trim()===\"Words for the way.\")next=\"Community Stories\";if(parent.closest(\".sj-journal\")&&next.includes(\"Reflections, stories and everyday faith\"))next=\"Event recaps, photo galleries and reflections from the Saint James community.\";if(next!==value)node.nodeValue=next;}document.querySelectorAll('a[aria-label=\"Blog\"]').forEach(a=>a.setAttribute(\"aria-label\",\"Community Stories\"));document.querySelectorAll('.sj-cms-detail,[data-framer-name=\"Blog article content\"]').forEach(root=>{if(root.querySelector(\".sj-bottom-return\"))return;const isEvent=root.classList.contains(\"sj-cms-detail\");let scope=root;if(isEvent){while(scope&&!Array.from(scope.querySelectorAll(\"a\")).some(a=>a.textContent?.trim()===\"Back to events\"))scope=scope.parentElement;}const original=Array.from(scope?.querySelectorAll(\"a\")||[]).find(a=>/^(Back to events|Back to stories|Back to the blog|Back to blog)$/i.test(a.textContent?.trim()||\"\"));if(!original)return;original.classList.add(\"sj-return-original\");const bottom=document.createElement(\"div\");bottom.className=\"sj-bottom-return\";const link=original.cloneNode(true);link.classList.remove(\"sj-return-original\");link.removeAttribute(\"style\");link.textContent=isEvent?\"Back to events\":\"Back to stories\";link.onclick=event=>{event.preventDefault();original.click();};bottom.append(link);root.append(bottom);});};let queued=false;const observer=new MutationObserver(()=>{if(queued)return;queued=true;queueMicrotask(()=>{queued=false;refresh();});});refresh();observer.observe(document.body,{childList:true,subtree:true,characterData:true});return()=>{observer.disconnect();css.remove();document.querySelectorAll(\".sj-bottom-return\").forEach(el=>el.remove());document.querySelectorAll(\".sj-return-original\").forEach(el=>el.classList.remove(\"sj-return-original\"));};},[]);}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BlogJournal\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"500\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"1120\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BlogJournal.map"],"mappings":"A,mSCkEG,SAAwBe,EAAY,CAAC,OAAK,SAAS,UAAQ,qBAAqB,eAAa,yEAAyE,eAAa,SAAO,GAAG,UAAQ,CAAC,EAAE,SAAO,CAACC,EAAiB,EAA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