{"version":3,"file":"RailControls.CWeQSMMs.mjs","names":["React.useRef","React.useState","__esmMin","window","init_ssg_sandbox_shims","init_npm_react_18_3_1","_e","p","ce","de","RenderTarget","init_framer_CaDWdxiz","addPropertyControls","ControlType","init_OntinueIcon","OntinueIcon","tr","init_OntinueMotion","findTrack","node","from","i","hit","TRACK","railItems","out","walk","child","parent","display","depth","track","el","pageTarget","cs","padL","padR","gap","max","clamp","x","items","dir","origin","lefts","view","unit","perPage","at","first","px","n","value","revealTarget","idx","it","clipLeft","offRight","insetL","FOCUS_RING","insetR","width","rect","cardL","cardR","lowest","highest","k","snap","RailControls","props","name","railName","prevAria","prevLabel","nextAria","nextLabel","live","rootRef","trackRef","rail","setRail","raf","update","next","s","focusRaf","onFocusIn","target","e","keyboard","left","reduce","ro","atStart","atEnd","go","style","buttonSize","CSS","init_RailControls","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/jozB7NnSm4JI9dgulMki/sMMnyY3D0BYKobIteBoB/RailControls.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{tr}from\"https://framerusercontent.com/modules/eFIOMRd0IG7dxppAFSr9/C0J85tdd9TrkVh3Inw2m/OntinueMotion.js\";import OntinueIcon from\"https://framerusercontent.com/modules/cSkgIGvrKd82HcXPeAoE/63FJFWKo5lmNDK0cC9By/OntinueIcon.js\";/**\n * Rail Controls — previous/next buttons for a Resource Center rail.\n *\n * The rail itself is a native Framer collection list named exactly \"Rail Track\" (horizontal stack,\n * overflow-x auto). This component finds the nearest \"Rail Track\" that shares an ancestor with it\n * (the \"Rail Section\" wrapper), adds scroll-snap and a thin scrollbar to it with constant CSS, and\n * scrolls it one page of whole cards per click. Buttons only exist for fine pointers; touch devices swipe.\n * Hidden when the track does not overflow. No auto-advance, nothing moves on its own.\n *\n * Framer's published DOM: when a card instance changes variant per breakpoint, every list item is\n * wrapped in `div.ssr-variant` (display: contents for the active breakpoint, display: none for the\n * others). Cards are therefore found by unwrapping display:contents wrappers, and the snap rule\n * targets both shapes. The track's own side padding (the shadow bleed) is mirrored into\n * scroll-padding, so snapping and paging line cards up with the column edge, not the bleed edge.\n * Snapping is switched on from JS in the same frame as that scroll-padding (live site only): if the\n * constant CSS turned it on, the canvas and the pre-hydration page would snap the first card onto the\n * bleed edge (scrolled by the padding) and then jump once the component hydrates.\n *\n * At either end the button that can't move is aria-disabled (still focusable), so a keyboard user\n * who pages to the end keeps focus on the button instead of being dropped to <body>.\n *\n * The thin scrollbar thumb is Ultra Violet at 70% (3.07:1 on the #F0ECFD page, WCAG 1.4.11). Alberto's\n * rgba(163,140,245,.4) was 1.38:1, invisible where scrollbars always show (Windows). Fix round 2.\n *\n * Customer-story fix round 2:\n * - When the buttons are hidden (nothing overflows, or a touch device), Framer's wrapper div around this component\n *   stayed in its flex row at 0px wide, so the row's gap still pushed a neighbouring link 24px off the column edge.\n *   The wrapper is now hidden too (`div:has(> .orc…)`), so a hidden Rail Controls takes no space at all.\n * - A card that is only partly visible in the track wasn't scrolled into view when it got keyboard focus (the browser\n *   leaves partly visible elements alone), so a keyboard user saw a sliver of the focus ring. On a keyboard focus\n *   (:focus-visible only, so a mouse click or a tap never moves the track under the pointer) the card is scrolled to\n *   the nearest fully visible position; the track's scroll-padding keeps it on the column edge.\n *\n * Rail-focus fix (2026-10-09): the focus handler no longer uses scrollIntoView, which also scrolled the page (and any\n * other scrolling ancestor) vertically when the card was cut by the top or bottom of the window. A Rail Track focusin\n * listener now moves only the track's scrollLeft:\n * - Chromium only scrolls a focused element itself when less than about 32px of it shows, so a card that is mostly\n *   hidden past the clip line kept focus there. The handler waits one frame (after any scroll the browser does on its\n *   own), then measures the card against the track's visible column: the clip box minus scroll-padding (Rail Controls\n *   mirrors the track padding into scroll-padding), and at least FOCUS_RING px on each side so the card's 2px outline\n *   at offset 3px is never cut.\n * - Cut on the left (Shift+Tab): the card goes to the column's left edge. Cut on the right (Tab): the track moves to\n *   the nearest card start (a snap position) that shows the whole card, so `scroll-snap-type: x proximity` can't re-snap\n *   the card back out. If the card is wider than the column, it goes to the left edge.\n * - Smooth, or instant under prefers-reduced-motion. Never touches window.scrollY.\n *\n * Fix loop r1 (2026-10-09): the aria-disabled button's opacity .4 also dimmed its own :focus-visible outline, so the\n * ring on a focused disabled Previous measured 1.83:1 against the lavender page (WCAG 1.4.11 needs 3:1). While it\n * has keyboard focus the button is drawn at full strength (ring and circle) and only the arrow stays dimmed; the\n * resting disabled look is unchanged.\n */const TRACK='[data-framer-name=\"Rail Track\"]';const CSS=`\n.orc{display:flex;align-items:center;gap:8px}\n.orc[data-overflow=\"false\"]{display:none}\n@media (hover:none),(pointer:coarse){.orc{display:none}}\ndiv:has(> .orc[data-overflow=\"false\"]){display:none!important}\n@media (hover:none),(pointer:coarse){div:has(> .orc){display:none!important}}\n.orc-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;\n  width:var(--orc-size,44px);height:var(--orc-size,44px);margin:0;padding:0;border:0;border-radius:999px;cursor:pointer;\n  color:#4303A9;background:#FFFFFF;-webkit-tap-highlight-color:transparent;\n  box-shadow:inset 0 0 0 1px rgba(23,3,53,.1),0 1px 2px rgba(23,3,53,.04),0 8px 18px -6px rgba(67,3,169,.1);\n  transition:${tr(\"hover\",\"background-color\",\"color\",\"opacity\")}}\n.orc-btn[aria-disabled=\"true\"]{opacity:.4;cursor:default}\n.orc-btn[aria-disabled=\"true\"]:focus-visible{opacity:1}\n.orc-btn[aria-disabled=\"true\"]:focus-visible>*{opacity:.4}\n@media (hover:hover) and (pointer:fine){.orc-btn:not([aria-disabled=\"true\"]):hover{background:#F0ECFD;color:#653FEE}}\n.orc-btn:focus-visible{outline:2px solid #653FEE;outline-offset:2px}\n${TRACK}{overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:rgba(101,63,238,.7) transparent}\n${TRACK}>*:not(.ssr-variant),${TRACK}>.ssr-variant>*{scroll-snap-align:start}\n`;function findTrack(from){let node=from;for(let i=0;node&&i<16;i++){node=node.parentElement;const hit=node?node.querySelector(TRACK):null;if(hit)return hit;}return null;}/** The rendered cards of a track: display:contents wrappers are unwrapped, display:none twins skipped. */function railItems(track){const out=[];const walk=(parent,depth)=>{for(const child of Array.from(parent.children)){const display=getComputedStyle(child).display;if(display===\"none\")continue;if(display===\"contents\"&&depth<4)walk(child,depth+1);else out.push(child);}};walk(track,0);return out.filter(el=>el.getBoundingClientRect().width>0);}/** Scroll position that brings the card one page away to the track's left inset. */function pageTarget(track,dir){const cs=getComputedStyle(track);const padL=parseFloat(cs.paddingLeft)||0;const padR=parseFloat(cs.paddingRight)||0;const gap=parseFloat(cs.columnGap||\"0\")||0;const max=Math.max(0,track.scrollWidth-track.clientWidth);const clamp=x=>Math.max(0,Math.min(max,Math.round(x)));const items=railItems(track);if(items.length===0)return clamp(track.scrollLeft+dir*track.clientWidth);const box=track.getBoundingClientRect();const origin=box.left+track.clientLeft-track.scrollLeft;const lefts=items.map(el=>el.getBoundingClientRect().left-origin);const view=Math.max(1,track.clientWidth-padL-padR);const unit=items[0].getBoundingClientRect().width+gap;const perPage=unit>0?Math.max(1,Math.floor((view+gap)/unit)):1;const at=track.scrollLeft+padL;let first=lefts.findIndex(x=>x>=at-2);if(first<0)first=items.length-1;const idx=Math.max(0,Math.min(items.length-1,first+dir*perPage));return clamp(lefts[idx]-padL);}/** Room kept around a focused card for its focus outline (2px at offset 3px, TouchStates), plus 1px for rounding. */const FOCUS_RING=6;/** A scroll-padding / padding length in px; \"auto\" and unparsable values read as null. */function px(value){const n=parseFloat(value);return Number.isFinite(n)?n:null;}/**\n * The scrollLeft that shows the whole card holding `el` inside the track's visible column (clip box minus\n * scroll-padding, at least FOCUS_RING per side), or null when it is already fully visible or not in this track.\n */function revealTarget(track,el){const items=railItems(track);const idx=items.findIndex(it=>it.contains(el));if(idx<0)return null;const cs=getComputedStyle(track);const padL=px(cs.scrollPaddingLeft)??px(cs.paddingLeft)??0;const padR=px(cs.scrollPaddingRight)??px(cs.paddingRight)??0;const box=track.getBoundingClientRect();const clipLeft=box.left+track.clientLeft;// Content x = 0 in viewport coordinates, so card edges below are in scroll coordinates.\nconst origin=clipLeft-track.scrollLeft;// If the track ever runs past the window's right edge, the part beyond it is cut too.\nconst offRight=Math.max(0,clipLeft+track.clientWidth-document.documentElement.clientWidth);const insetL=Math.max(padL,FOCUS_RING);const insetR=Math.max(padR,FOCUS_RING)+offRight;const width=track.clientWidth;const max=Math.max(0,track.scrollWidth-width);const clamp=x=>Math.max(0,Math.min(max,Math.round(x)));const rect=items[idx].getBoundingClientRect();const cardL=rect.left-origin;const cardR=rect.right-origin;const at=track.scrollLeft;const lowest=cardR-(width-insetR)// smallest scrollLeft that shows the card's right edge\n;const highest=cardL-insetL// largest scrollLeft that shows its left edge\n;if(at>=lowest-1&&at<=highest+1)return null;if(at>highest||lowest>highest)return clamp(highest);// Cut on the right: the first card start (snap position) at or past `lowest` that still shows the left edge.\nfor(let k=0;k<=idx;k++){const snap=items[k].getBoundingClientRect().left-origin-padL;if(snap>=lowest-1&&snap<=highest+1)return clamp(snap);}return clamp(lowest);}/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 96\n * @framerIntrinsicHeight 44\n */export default function RailControls(props){const{prevLabel=\"Previous\",nextLabel=\"Next\",railName=\"\",buttonSize=44,style}=props;// With a rail name the buttons are told apart on a page with several rails: \"Next: Webinars and videos\".\nconst name=(railName||\"\").trim().replace(/[.\\s]+$/,\"\");const prevAria=name?`${prevLabel}: ${name}`:prevLabel;const nextAria=name?`${nextLabel}: ${name}`:nextLabel;const live=RenderTarget.current()===RenderTarget.preview;const rootRef=React.useRef(null);const trackRef=React.useRef(null);// Start hidden on the live site (server render and first paint): the buttons appear only once the effect has\n// measured a track that really overflows. Starting at overflow: true painted both buttons on Desktop/Laptop\n// until hydration and then shifted the neighbouring link sideways. The canvas keeps showing them (data-overflow below).\nconst[rail,setRail]=React.useState({prev:false,next:true,overflow:false});React.useEffect(()=>{if(!live)return;const track=findTrack(rootRef.current);trackRef.current=track;if(!track){setRail({prev:false,next:false,overflow:false});return;}let raf=0;const update=()=>{cancelAnimationFrame(raf);raf=requestAnimationFrame(()=>{// Snap and paging measure from the track's padding edge (the column), not its bleed edge.\nconst cs=getComputedStyle(track);if(track.style.scrollPaddingLeft!==cs.paddingLeft)track.style.scrollPaddingLeft=cs.paddingLeft;if(track.style.scrollPaddingRight!==cs.paddingRight)track.style.scrollPaddingRight=cs.paddingRight;if(track.style.scrollSnapType!==\"x proximity\")track.style.scrollSnapType=\"x proximity\";const max=track.scrollWidth-track.clientWidth;const next={prev:track.scrollLeft>2,next:track.scrollLeft<max-2,overflow:max>2};setRail(s=>s.prev===next.prev&&s.next===next.next&&s.overflow===next.overflow?s:next);});};update();// Keyboard focus on a partly hidden card: scroll the track (never the page) so the whole card shows\n// (see \"Rail-focus fix\" in the header comment).\nlet focusRaf=0;const onFocusIn=e=>{const target=e.target;if(!target)return;let keyboard=false;try{keyboard=target.matches(\":focus-visible\");}catch(_err){keyboard=false;}if(!keyboard)return;cancelAnimationFrame(focusRaf);focusRaf=requestAnimationFrame(()=>{if(!target.isConnected||!target.contains(document.activeElement))return;const left=revealTarget(track,target);if(left===null||Math.abs(left-track.scrollLeft)<1)return;const reduce=!!window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches;track.scrollTo({left,behavior:reduce?\"instant\":\"smooth\"});});};track.addEventListener(\"scroll\",update,{passive:true});track.addEventListener(\"focusin\",onFocusIn);const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(update):null;if(ro)ro.observe(track);window.addEventListener(\"resize\",update);return()=>{cancelAnimationFrame(raf);cancelAnimationFrame(focusRaf);track.removeEventListener(\"scroll\",update);track.removeEventListener(\"focusin\",onFocusIn);window.removeEventListener(\"resize\",update);if(ro)ro.disconnect();};},[live]);const atStart=live&&!rail.prev;const atEnd=live&&!rail.next;const go=dir=>{if(dir===1&&atEnd||dir===-1&&atStart)return;let track=trackRef.current;if(!track||!track.isConnected){track=findTrack(rootRef.current);trackRef.current=track;}if(!track)return;const reduce=!!window.matchMedia?.(\"(prefers-reduced-motion: reduce)\").matches;track.scrollTo({left:pageTarget(track,dir),behavior:reduce?\"auto\":\"smooth\"});};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"orc\",\"data-overflow\":live?String(rail.overflow):\"true\",style:{...style,[\"--orc-size\"]:`${buttonSize}px`},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS}}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"orc-btn\",\"aria-label\":prevAria,\"aria-disabled\":atStart?\"true\":undefined,onClick:()=>go(-1),children:/*#__PURE__*/_jsx(OntinueIcon,{name:\"chevron-left\",size:20,stroke:1.8,color:\"currentColor\"})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"orc-btn\",\"aria-label\":nextAria,\"aria-disabled\":atEnd?\"true\":undefined,onClick:()=>go(1),children:/*#__PURE__*/_jsx(OntinueIcon,{name:\"chevron-right\",size:20,stroke:1.8,color:\"currentColor\"})})]});}RailControls.displayName=\"Rail Controls\";addPropertyControls(RailControls,{prevLabel:{type:ControlType.String,title:\"Prev Label\",defaultValue:\"Previous\"},nextLabel:{type:ControlType.String,title:\"Next Label\",defaultValue:\"Next\"},railName:{type:ControlType.String,title:\"Rail Name\",defaultValue:\"\",description:\"Optional. Bind to the section title; the buttons become “Previous: <name>” and “Next: <name>”.\"},buttonSize:{type:ControlType.Number,title:\"Button Size\",defaultValue:44,min:36,max:56,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"RailControls\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicHeight\":\"44\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"96\",\"framerSupportedLayoutWidth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