{"version":3,"file":"SermonArchive.542TYtXM.mjs","names":["React.useState","React.useRef","React.useCallback"],"sources":["https:/framerusercontent.com/modules/lInkSXJqaPLejCWOYBYZ/TMHJu6WlXXt0DbrJH2ha/SermonArchive.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Browsable sermon archive: a scroll-snap carousel of message cards with\n * prev / next controls and click-to-load YouTube playback.\n *\n * SOURCE (reworked 2026-08-21). Prefer the SERIES PLAYLIST, not the channel's\n * uploads feed. Measured against the real channel on 2026-08-21: the uploads\n * feed returns only 10 entries and River Oaks posts roughly six Shorts for\n * every sermon, so after filtering, exactly ONE full-length sermon was left in\n * the window. The archive then topped itself up from the manual slots below,\n * which is why the homepage was showing a months-old message next to the\n * current one. The playlist feed for the same series returned all three weeks\n * in order, because a series playlist contains sermons and nothing else.\n *\n * Series Playlist is therefore the one field to change when a new series\n * starts. Leave it empty to fall back to the uploads feed, which still works\n * but will look thin on a channel that posts a lot of Shorts.\n *\n * On phones the carousel becomes a vertical list of compact rows: the\n * thumbnail sits beside the title at about a third of the width rather than\n * running full-bleed. A sideways scroll strip hides most of the archive\n * behind a gesture people miss, but a column of full-width 16:9 images\n * pushes everything else off the screen. The row keeps the 16:9 ratio\n * intact, so nothing is re-cropped, and all three messages are readable\n * without scrolling past a wall of artwork.\n *\n * Why bespoke: every marketplace video carousel stores its videos in an\n * Array control, which the MCP cannot write and which the client would\n * have to edit through a nested panel. Here each slot is plain scalar\n * props (title / series / YouTube link), so the archive stays a\n * one-field-per-week update in the Framer properties panel, which is\n * what CLAUDE.md asks of the sermon areas.\n *\n * Thumbnails come straight from YouTube, so there is no API key and no\n * image upload. Nothing is embedded until the visitor clicks, so the\n * iframes cost nothing on load.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1100\n */function parseYouTubeId(input){if(!input)return\"\";const raw=input.trim();// Bare id. The {11} capture below also stops cleanly before any\n// ?si= / &t= query YouTube's share button appends.\nif(/^[\\w-]{11}$/.test(raw))return raw;const patterns=[/[?&]v=([\\w-]{11})/,/youtu\\.be\\/([\\w-]{11})/,/youtube\\.com\\/embed\\/([\\w-]{11})/,/youtube\\.com\\/live\\/([\\w-]{11})/,/youtube\\.com\\/shorts\\/([\\w-]{11})/];for(const p of patterns){const m=raw.match(p);if(m)return m[1];}return\"\";}const RO_CHANNEL_ID=\"UCXECb8jryEe4zbBZapyZJOA\";// The series running as of 2026-08-21. One field to change per series.\nconst RO_SERIES_PLAYLIST=\"PLFYnCyWhU7rw\";// A Short is usually a /shorts/ link, but the channel also posts vertical\n// clips as ordinary videos with hashtag-stuffed titles (\"... #preaching\n// #sundayservice #sevendeadlysins\"). Real sermon titles never carry hashtags,\n// so two or more is a safe second signal.\nfunction isClip(item){if((item.link||\"\").includes(\"/shorts/\"))return true;return((item.title||\"\").match(/#\\w/g)||[]).length>=2;}// Playlist first, uploads as a fallback. No API key: YouTube's RSS through\n// rss2json (which sends CORS headers YouTube's own feed does not). Cached in\n// localStorage; every failure path returns null so the manual slots keep\n// working. rss2json's free tier does rate-limit, which is a second reason the\n// manual slots below must stay populated.\nfunction useSermonFeed(channelId,playlistId,enabled){const[items,setItems]=React.useState(null);React.useEffect(()=>{if(!enabled||typeof window===\"undefined\")return;if(!channelId&&!playlistId)return;let alive=true;const KEY=`ro-yt-feed:${playlistId||channelId}`;const TTL=30*60*1e3;try{const cached=JSON.parse(window.localStorage.getItem(KEY)||\"null\");if(cached&&Date.now()-cached.t<TTL&&Array.isArray(cached.items)){setItems(cached.items);return;}}catch(e){}const feedFor=(kind,id)=>`https://www.youtube.com/feeds/videos.xml?${kind===\"playlist\"?\"playlist_id\":\"channel_id\"}=${id}`;const load=url=>fetch(`https://api.rss2json.com/v1/api.json?rss_url=${encodeURIComponent(url)}`).then(r=>r.ok?r.json():null).then(d=>{if(!d||d.status!==\"ok\"||!Array.isArray(d.items))return null;const sermons=d.items.filter(it=>it.link&&!isClip(it)).map(it=>({title:it.title||\"\",id:parseYouTubeId(it.link)||\"\",date:it.pubDate||\"\"})).filter(it=>it.id);return sermons.length?sermons:null;}).catch(()=>null);const chain=playlistId?load(feedFor(\"playlist\",playlistId)).then(r=>r||(channelId?load(feedFor(\"channel\",channelId)):null)):load(feedFor(\"channel\",channelId));chain.then(sermons=>{if(!alive||!sermons)return;setItems(sermons);try{window.localStorage.setItem(KEY,JSON.stringify({t:Date.now(),items:sermons}));}catch(e){}});return()=>{alive=false;};},[enabled,channelId,playlistId]);return items;}function formatSermonDate(pubDate){if(!pubDate)return\"\";const d=new Date(pubDate.includes(\"T\")?pubDate:pubDate.replace(\" \",\"T\")+\"Z\");if(isNaN(d.getTime()))return\"\";return d.toLocaleDateString(\"en-US\",{month:\"short\",day:\"numeric\",year:\"numeric\"});}export default function SermonArchive(props){const{title1,series1,url1,title2,series2,url2,title3,series3,url3,title4,series4,url4,title5,series5,url5,title6,series6,url6,autoFill,channelId,playlistId,newestFirst=true,maxItems,accent,dark,radius,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const trackRef=React.useRef(null);const mediaRefs=React.useRef([]);const[playing,setPlaying]=React.useState(null);const[atStart,setAtStart]=React.useState(true);const[atEnd,setAtEnd]=React.useState(true);// Arrows must be driven by measured overflow, not item count: three\n// 340px cards do not overflow a 1100px container, and an enabled\n// arrow that does nothing reads as a broken site. Once the track\n// stacks vertically on phones this measures false and the arrows go.\nconst[overflows,setOverflows]=React.useState(false);const raw=[{title:title1,series:series1,url:url1},{title:title2,series:series2,url:url2},{title:title3,series:series3,url:url3},{title:title4,series:series4,url:url4},{title:title5,series:series5,url:url5},{title:title6,series:series6,url:url6}];const manualItems=raw.map(it=>({...it,id:parseYouTubeId(it.url)})).filter(it=>Boolean(it.title)&&Boolean(it.id));const feed=useSermonFeed(channelId||RO_CHANNEL_ID,playlistId||\"\",!!autoFill&&!isCanvas);const cap=Math.max(1,Math.min(12,maxItems||6));// Feed first, then any manual slot the feed doesn't already contain, so a\n// short playlist early in a series still fills the row.\nconst ordered=feed&&feed.length?newestFirst?feed:[...feed].reverse():[];const feedItems=ordered.map(f=>({title:f.title,series:formatSermonDate(f.date),url:\"\",id:f.id}));const feedIds=new Set(feedItems.map(f=>f.id));const items=(feedItems.length?feedItems.concat(manualItems.filter(m=>!feedIds.has(m.id))):manualItems).slice(0,cap);// A slot with a title but an unusable link would otherwise vanish\n// silently. Surface that on the Framer canvas only, so whoever is\n// editing sees it and visitors never do.\nconst broken=isCanvas?raw.filter(it=>Boolean(it.title)&&Boolean(it.url)&&!parseYouTubeId(it.url)):[];const textColor=dark?\"#ffffff\":\"#000000\";const subColor=dark?\"rgba(255,255,255,0.66)\":\"rgba(0,0,0,0.6)\";const cardBg=dark?\"rgba(255,255,255,0.06)\":\"rgba(0,0,0,0.03)\";const btnBorder=dark?\"rgba(255,255,255,0.28)\":\"rgba(0,0,0,0.18)\";// #4d9ee9 on the near-white card is only ~2.7:1, which fails WCAG AA\n// for 12px text. The series label carries real information, so it\n// takes a readable colour and the blue stays on the play affordance.\nconst seriesColor=dark?\"rgba(255,255,255,0.78)\":\"#333333\";const measure=React.useCallback(()=>{const el=trackRef.current;if(!el)return;const canScroll=el.scrollWidth>el.clientWidth+1;setOverflows(canScroll);setAtStart(el.scrollLeft<=4);setAtEnd(!canScroll||el.scrollLeft+el.clientWidth>=el.scrollWidth-4);},[]);React.useEffect(()=>{if(isCanvas)return;const el=trackRef.current;if(!el)return;measure();el.addEventListener(\"scroll\",measure,{passive:true});// A ResizeObserver catches Framer breakpoint and container\n// changes that never fire a window resize.\nlet ro=null;if(typeof ResizeObserver!==\"undefined\"){ro=new ResizeObserver(measure);ro.observe(el);}else if(typeof window!==\"undefined\"){window.addEventListener(\"resize\",measure);}return()=>{el.removeEventListener(\"scroll\",measure);if(ro)ro.disconnect();else if(typeof window!==\"undefined\")window.removeEventListener(\"resize\",measure);};},[isCanvas,measure,items.length]);const scrollBy=dir=>{const el=trackRef.current;if(!el)return;const card=el.querySelector(\"[data-sermon-card]\");const step=card?card.offsetWidth+18:340;const reduce=typeof window!==\"undefined\"&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;el.scrollBy({left:dir*step,behavior:reduce?\"auto\":\"smooth\"});};// The play button unmounts when the iframe replaces it, which would\n// drop focus to <body> and teleport a keyboard user to the top of\n// the page. Move focus onto the media wrapper instead.\nconst play=i=>{setPlaying(i);window.requestAnimationFrame(()=>{const el=mediaRefs.current[i];if(el)el.focus();});};if(items.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",padding:24,color:subColor,font:\"400 15px/1.4 Archivo, sans-serif\",...style},children:\"Add a sermon title and YouTube link to populate the archive.\"});}const arrowStyle=inactive=>({width:48,height:48,borderRadius:\"50%\",border:`1px solid ${btnBorder}`,background:\"transparent\",color:textColor,cursor:inactive?\"default\":\"pointer\",opacity:inactive?.45:1,transition:\"opacity 0.2s ease\",fontSize:18,lineHeight:1});return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .ro-arch-track { scrollbar-width: none; -ms-overflow-style: none; }\n                .ro-arch-track::-webkit-scrollbar { display: none; }\n                /* .ro-arch-card IS the button and the img is its child.\n                   Do not qualify with .ro-arch-thumb, which is the parent. */\n                .ro-arch-card:hover img,\n                .ro-arch-card:focus-visible img { transform: scale(1.05); }\n                .ro-arch-card:hover .ro-arch-play,\n                .ro-arch-card:focus-visible .ro-arch-play { transform: scale(1.08); }\n                @media (prefers-reduced-motion: reduce) {\n                    .ro-arch-card img,\n                    .ro-arch-card .ro-arch-play { transition: none; }\n                    .ro-arch-card:hover img,\n                    .ro-arch-card:focus-visible img,\n                    .ro-arch-card:hover .ro-arch-play,\n                    .ro-arch-card:focus-visible .ro-arch-play { transform: none; }\n                }\n                /* Phones: stack the archive instead of hiding it behind a\n                   sideways swipe, and lay each message out as a compact row\n                   so the artwork stops dominating the screen. The thumbnail\n                   keeps its 16:9 box, so the frame is never re-cropped. */\n                @media (max-width: 809px) {\n                    .ro-arch-track {\n                        flex-direction: column !important;\n                        overflow-x: visible !important;\n                        justify-content: flex-start !important;\n                        gap: 12px !important;\n                    }\n                    .ro-arch-item {\n                        width: 100% !important;\n                        flex-direction: row !important;\n                        align-items: stretch !important;\n                    }\n                    .ro-arch-thumb {\n                        flex: 0 0 40% !important;\n                        width: 40% !important;\n                        align-self: flex-start !important;\n                    }\n                    .ro-arch-meta {\n                        flex: 1 1 auto !important;\n                        display: flex !important;\n                        flex-direction: column !important;\n                        justify-content: center !important;\n                        padding: 12px 14px !important;\n                        min-width: 0 !important;\n                    }\n                    .ro-arch-meta h3 { font-size: 15.5px !important; }\n                    .ro-arch-meta p  { font-size: 11.5px !important; }\n                    /* Once a message is playing it needs the full width\n                       back, or the video is a thumbnail-sized sliver. */\n                    .ro-arch-item.is-playing { flex-direction: column !important; }\n                    .ro-arch-item.is-playing .ro-arch-thumb {\n                        flex: 0 0 auto !important;\n                        width: 100% !important;\n                    }\n                    .ro-arch-nav { display: none !important; }\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{ref:trackRef,className:\"ro-arch-track\",tabIndex:0,role:\"group\",\"aria-label\":\"Sermon archive\",style:{display:\"flex\",gap:18,// Without overflow the cards centre as a deliberate row\n// instead of hanging left with dead space beside them.\njustifyContent:overflows?\"flex-start\":\"center\",flexWrap:\"nowrap\",overflowX:\"auto\",// proximity, not mandatory: mandatory fights the\n// browser scrolling a focused card into view.\nscrollSnapType:\"x proximity\",paddingBottom:6},children:items.map((it,i)=>/*#__PURE__*/_jsxs(\"div\",{\"data-sermon-card\":true,className:`ro-arch-item${playing===i?\" is-playing\":\"\"}`,style:{flex:\"0 0 auto\",width:\"min(340px, 82vw)\",scrollSnapAlign:\"start\",background:cardBg,borderRadius:radius,overflow:\"hidden\",display:\"flex\",flexDirection:\"column\"},children:[/*#__PURE__*/_jsx(\"div\",{className:\"ro-arch-thumb\",ref:el=>{mediaRefs.current[i]=el;},tabIndex:-1,style:{position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\",overflow:\"hidden\",background:\"#000\",outline:\"none\"},children:playing===i?/*#__PURE__*/_jsx(\"iframe\",{src:`https://www.youtube-nocookie.com/embed/${it.id}?autoplay=1&playsinline=1&rel=0`,title:`${it.title} video player`,allow:\"autoplay; encrypted-media; picture-in-picture; fullscreen\",allowFullScreen:true,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:\"none\"}}):/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"ro-arch-card\",onClick:()=>play(i),\"aria-label\":`Play sermon: ${it.title}`,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",padding:0,border:\"none\",background:\"none\",cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"img\",{src:`https://i.ytimg.com/vi/${it.id}/maxresdefault.jpg`,onError:e=>{const img=e.currentTarget;if(!img.dataset.fallback){img.dataset.fallback=\"1\";img.src=`https://i.ytimg.com/vi/${it.id}/mqdefault.jpg`;}},alt:\"\",loading:\"lazy\",decoding:\"async\",width:1280,height:720,style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",objectFit:\"cover\",transition:\"transform 0.5s cubic-bezier(0.22,1,0.36,1)\"}}),/*#__PURE__*/_jsx(\"span\",{className:\"ro-arch-play\",\"aria-hidden\":true,style:{position:\"absolute\",top:\"50%\",left:\"50%\",width:56,height:56,marginTop:-28,marginLeft:-28,borderRadius:\"50%\",background:accent,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"transform 0.3s ease\",boxShadow:\"0 6px 20px rgba(0,0,0,0.35)\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"18\",height:\"20\",viewBox:\"0 0 18 20\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M17 10L0.5 19.5V0.5L17 10Z\",fill:\"white\"})})})]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"ro-arch-meta\",style:{padding:\"16px 18px 20px 18px\"},children:[it.series?/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 6px 0\",font:\"600 13px/1.2 Montserrat, sans-serif\",letterSpacing:\"0.08em\",textTransform:\"uppercase\",color:seriesColor},children:it.series}):null,/*#__PURE__*/_jsx(\"h3\",{style:{margin:0,font:\"700 18px/1.25 Montserrat, sans-serif\",letterSpacing:\"-0.01em\",color:textColor},children:it.title})]})]},it.id||i))}),overflows?/*#__PURE__*/_jsxs(\"div\",{className:\"ro-arch-nav\",style:{display:\"flex\",gap:12,marginTop:18},children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>{if(!atStart)scrollBy(-1);},\"aria-label\":\"Previous sermons\",// aria-disabled, not disabled: a disabled button is\n// pulled from the tab order mid-interaction, which\n// drops focus to <body>.\n\"aria-disabled\":atStart,style:arrowStyle(atStart),children:\"‹\"}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>{if(!atEnd)scrollBy(1);},\"aria-label\":\"More sermons\",\"aria-disabled\":atEnd,style:arrowStyle(atEnd),children:\"›\"})]}):null,broken.length>0?/*#__PURE__*/_jsxs(\"p\",{style:{marginTop:14,color:\"#CC6800\",font:\"600 13px/1.4 Archivo, sans-serif\"},children:[broken.length,\" sermon link\",broken.length>1?\"s\":\"\",\" could not be read and will not show on the site. Check the YouTube URL.\"]}):null]});}addPropertyControls(SermonArchive,{autoFill:{type:ControlType.Boolean,title:\"Auto-Fill\",defaultValue:true,description:\"Fill the archive from YouTube; the slots below are the fallback\"},playlistId:{type:ControlType.String,title:\"Series Playlist\",defaultValue:RO_SERIES_PLAYLIST,description:\"CHANGE THIS EACH SERIES. YouTube playlist id (the list= value). Far more reliable than the uploads feed, which is mostly Shorts.\"},channelId:{type:ControlType.String,title:\"Channel ID\",defaultValue:RO_CHANNEL_ID,description:\"Used only if Series Playlist is empty or unreachable\"},newestFirst:{type:ControlType.Boolean,title:\"Newest First\",defaultValue:true,description:\"Turn off if your playlist is ordered oldest to newest\"},maxItems:{type:ControlType.Number,title:\"Max Items\",defaultValue:6,min:1,max:12,step:1,description:\"How many sermons to show\"},title1:{type:ControlType.String,title:\"1 Title\",defaultValue:\"\"},series1:{type:ControlType.String,title:\"1 Series\",defaultValue:\"\"},url1:{type:ControlType.String,title:\"1 YouTube\",defaultValue:\"\"},title2:{type:ControlType.String,title:\"2 Title\",defaultValue:\"\"},series2:{type:ControlType.String,title:\"2 Series\",defaultValue:\"\"},url2:{type:ControlType.String,title:\"2 YouTube\",defaultValue:\"\"},title3:{type:ControlType.String,title:\"3 Title\",defaultValue:\"\"},series3:{type:ControlType.String,title:\"3 Series\",defaultValue:\"\"},url3:{type:ControlType.String,title:\"3 YouTube\",defaultValue:\"\"},title4:{type:ControlType.String,title:\"4 Title\",defaultValue:\"\"},series4:{type:ControlType.String,title:\"4 Series\",defaultValue:\"\"},url4:{type:ControlType.String,title:\"4 YouTube\",defaultValue:\"\"},title5:{type:ControlType.String,title:\"5 Title\",defaultValue:\"\"},series5:{type:ControlType.String,title:\"5 Series\",defaultValue:\"\"},url5:{type:ControlType.String,title:\"5 YouTube\",defaultValue:\"\"},title6:{type:ControlType.String,title:\"6 Title\",defaultValue:\"\"},series6:{type:ControlType.String,title:\"6 Series\",defaultValue:\"\"},url6:{type:ControlType.String,title:\"6 YouTube\",defaultValue:\"\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#4d9ee9\"},dark:{type:ControlType.Boolean,title:\"Dark\",defaultValue:false},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:18,min:0,max:40}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SermonArchive\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SermonArchive.map"],"mappings":"sNAuCG,SAAS,EAAe,EAAM,CAAC,GAAG,CAAC,EAAM,M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