{"version":3,"file":"Team_2.DQG96FsP.mjs","names":["useState","useRef","React.useCallback"],"sources":["https:/framerusercontent.com/modules/gdlJCZD9EWjzGwaZkWGp/LRR0tAlHX5F7DRtn43nK/Team_2.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{useEffect,useRef,useState}from\"react\";import{createPortal}from\"react-dom\";import{AnimatePresence,motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * TeamPerCentre — Framer code component\n *\n * The team for one centre: director, educational leader, area manager and\n * speech pathologist. The centre is taken from the last segment of the page\n * URL, so a single instance serves every /centres/{slug} page.\n *\n * A horizontally scrolling row of team cards. Selecting anywhere on a card\n * opens a page-level bio modal so longer bios are not constrained by the card\n * or clipped by the carousel.\n */const FONT=\"'Montserrat', sans-serif\";function getImageBackground(image){if(!image)return undefined;return`url(\"${image}\")`;}// Board item names are shorter than the public URL slug for these centres.\nconst slugExceptions={\"edmondson-park-1\":\"Ed Park 1\",\"edmondson-park-2\":\"Ed Park 2\"};function slugToCampusName(slug){if(slugExceptions[slug])return slugExceptions[slug];return slug.split(\"-\").map(word=>word.charAt(0).toUpperCase()+word.slice(1)).join(\" \");}function getCampusFromUrl(){if(typeof window===\"undefined\")return\"\";const path=window.location.pathname.replace(/\\/$/,\"\");const slug=path.split(\"/\").pop()||\"\";return slug?slugToCampusName(slug):\"\";}/**\n * Pulls one centre's team from the WordPress route that fronts the Monday board\n * (tga/v1/tga_get_centre_team). The centre comes from the page URL, so the same\n * instance works on every /centres/{slug} page.\n */function useCentreProfiles(apiUrl,centreOverride){const[profiles,setProfiles]=useState([]);const[state,setState]=useState(apiUrl?\"loading\":\"idle\");useEffect(()=>{const endpoint=(apiUrl||\"\").trim();// The Framer canvas has no centre in its path, so the override is what\n// makes the component previewable while designing.\nconst campus=(centreOverride||\"\").trim()||getCampusFromUrl();if(!endpoint||!campus){setProfiles([]);setState(\"idle\");return;}let cancelled=false;const controller=new AbortController;setState(\"loading\");const url=`${endpoint}?campus=${encodeURIComponent(campus)}`;fetch(url,{signal:controller.signal}).then(response=>{if(!response.ok){throw new Error(`Request failed: ${response.status}`);}return response.json();}).then(data=>{if(cancelled)return;const next=Array.isArray(data?.profiles)?data.profiles:[];setProfiles(next);setState(next.length?\"ready\":\"empty\");}).catch(error=>{if(cancelled||error.name===\"AbortError\")return;setProfiles([]);setState(\"error\");});return()=>{cancelled=true;controller.abort();};},[apiUrl,centreOverride]);return{profiles,state};}function SkeletonCard({cardWidth,radius,ink}){return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",className:\"tga-team-skeleton\",style:{flex:`0 0 ${cardWidth}px`,aspectRatio:\"4 / 5\",borderRadius:radius,background:ink,opacity:.12}});}function TeamCard({profile,cardWidth,radius,honey,ink,cream,onOpen}){const{image,name,role}=profile;const[hovered,setHovered]=useState(false);return /*#__PURE__*/_jsxs(motion.article,{className:\"tga-team-card\",onHoverStart:()=>setHovered(true),onHoverEnd:()=>setHovered(false),style:{position:\"relative\",flex:`0 0 ${cardWidth}px`,aspectRatio:\"4 / 5\",overflow:\"hidden\",borderRadius:radius,// The photo is scaled on hover, and a transformed child gets its\n// own composited layer that WebKit/Blink then fail to clip to a\n// rounded parent - the image spills past the corners and sits\n// outside the gradient. Both of these force the card to clip its\n// own layer, which restores the rounded clip.\nisolation:\"isolate\",WebkitMaskImage:\"-webkit-radial-gradient(white, black)\",maskImage:\"radial-gradient(white, black)\",fontFamily:FONT,scrollSnapAlign:\"start\",background:ink,cursor:\"pointer\",outline:\"none\"},children:[/*#__PURE__*/_jsx(motion.div,{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,zIndex:0,backgroundImage:getImageBackground(image),backgroundSize:\"cover\",backgroundPosition:\"center\",transformOrigin:\"center center\"},animate:{scale:hovered?1.06:1,filter:hovered?\"brightness(0.82)\":\"brightness(1)\"},transition:{duration:.6,ease:[.22,1,.36,1]}}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",left:0,right:0,bottom:0,width:\"100%\",height:\"100%\",zIndex:1,pointerEvents:\"none\",background:`linear-gradient(to top, ${ink} 0%, ${ink} 20%, transparent 80%)`,backgroundRepeat:\"no-repeat\",backgroundPosition:\"left bottom\",backgroundSize:\"100% 100%\",opacity:.86}}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",left:0,right:0,bottom:0,zIndex:2,padding:32},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,color:\"#FFFFFF\",fontFamily:FONT,fontWeight:600,fontSize:20,lineHeight:1.2},children:name}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"4px 0 0\",color:honey,fontFamily:FONT,fontWeight:500,fontSize:14,lineHeight:1.4},children:role}),/*#__PURE__*/_jsxs(\"div\",{className:\"tga-team-read-more\",\"aria-hidden\":\"true\",style:{position:\"relative\",display:\"inline-flex\",alignItems:\"center\",gap:12,margin:\"20px 0 0\",padding:0,border:0,borderRadius:4,background:\"transparent\",color:cream,pointerEvents:\"none\",fontFamily:FONT,fontWeight:600,fontSize:12,lineHeight:1.4,letterSpacing:\"0.01em\"},children:[\"Read more about me\",/*#__PURE__*/_jsxs(motion.span,{\"aria-hidden\":\"true\",style:{position:\"relative\",display:\"inline-block\",width:42,height:12,flex:\"0 0 42px\"},animate:{x:hovered?3:0},transition:{duration:.2},children:[/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",left:0,right:1,top:\"50%\",height:1.5,borderRadius:999,background:\"currentColor\",transform:\"translateY(-50%)\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",top:\"50%\",right:1,width:7,height:7,borderTop:\"1.5px solid currentColor\",borderRight:\"1.5px solid currentColor\",transform:\"translateY(-50%) rotate(45deg)\",transformOrigin:\"center\"}})]})]})]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"tga-team-card-link\",\"aria-label\":`Read more about ${name}, ${role}`,\"aria-haspopup\":\"dialog\",onClick:event=>onOpen(profile,event.currentTarget),style:{position:\"absolute\",inset:0,zIndex:4,width:\"100%\",height:\"100%\",padding:0,border:0,borderRadius:radius,background:\"transparent\",cursor:\"pointer\",appearance:\"none\"}})]});}function BioModal({profile,honey,ink,cream,onClose}){const closeButtonRef=useRef(null);const backdropRef=useRef(null);const bioScrollRef=useRef(null);const[renderedProfile,setRenderedProfile]=useState(profile);useEffect(()=>{if(profile)setRenderedProfile(profile);},[profile]);useEffect(()=>{if(!profile||typeof document===\"undefined\")return;// Framer scrolls the documentElement rather than the body, so locking\n// the body alone leaves the page behind the modal still scrollable.\nconst root=document.documentElement;const previousBodyOverflow=document.body.style.overflow;const previousRootOverflow=root.style.overflow;document.body.style.overflow=\"hidden\";root.style.overflow=\"hidden\";closeButtonRef.current?.focus();const handleKeyDown=event=>{if(event.key===\"Escape\")onClose();};// Send every wheel inside the modal to the bio column. Without this a\n// wheel over the photo or the heading is outside the scrolling element,\n// so it falls through and scrolls the page instead.\nconst handleWheel=event=>{const area=bioScrollRef.current;if(!area)return;let delta=event.deltaY;if(event.deltaMode===1)delta*=16// deltas in lines\n;else if(event.deltaMode===2)delta*=area.clientHeight// pages\n;area.scrollTop+=delta;// Stop the page behind from scrolling as well.\nevent.preventDefault();event.stopPropagation();};// Something on the page cancels every touchmove - the console reports\n// defaultPrevented === true on each one, while touchstart comes through\n// untouched. A cancelled gesture can never pan the bio column, so the\n// scroll has to be driven from the touch instead. It runs for every\n// touch in the modal, not only the ones that start outside the column:\n// leaving those to the browser is what made this work only sometimes,\n// since a drag on the text is exactly the cancelled case.\nlet touchId=null;let lastY=0;let lastTime=0;let velocity=0;let glideFrame=0;const stopGlide=()=>{if(glideFrame)cancelAnimationFrame(glideFrame);glideFrame=0;};const handleTouchStart=event=>{stopGlide();// Leave pinch zoom alone.\nif(event.touches.length!==1){touchId=null;return;}touchId=event.touches[0].identifier;lastY=event.touches[0].clientY;lastTime=event.timeStamp;velocity=0;};const handleTouchMove=event=>{const area=bioScrollRef.current;if(touchId===null||!area||event.touches.length!==1)return;const touch=event.touches[0];if(touch.identifier!==touchId)return;const delta=lastY-touch.clientY;const elapsed=event.timeStamp-lastTime;area.scrollTop+=delta;if(elapsed>0)velocity=delta/elapsed// px per ms\n;lastY=touch.clientY;lastTime=event.timeStamp;// Claim the gesture, so nothing scrolls twice on a page that does\n// not cancel it.\nif(event.cancelable)event.preventDefault();};const handleTouchEnd=()=>{const area=bioScrollRef.current;touchId=null;if(!area||Math.abs(velocity)<.05)return;// A flick should carry the way it does on any native scroller.\nlet speed=velocity*16// px per frame\n;const glide=()=>{speed*=.94;const before=area.scrollTop;area.scrollTop+=speed;// Stop at the ends rather than spinning against the clamp.\nglideFrame=Math.abs(speed)>.4&&area.scrollTop!==before?requestAnimationFrame(glide):0;};glideFrame=requestAnimationFrame(glide);};const backdrop=backdropRef.current;// Must be non-passive, or preventDefault is ignored.\nbackdrop?.addEventListener(\"wheel\",handleWheel,{passive:false});backdrop?.addEventListener(\"touchstart\",handleTouchStart,{passive:true});backdrop?.addEventListener(\"touchmove\",handleTouchMove,{passive:false});backdrop?.addEventListener(\"touchend\",handleTouchEnd,{passive:true});backdrop?.addEventListener(\"touchcancel\",handleTouchEnd,{passive:true});document.addEventListener(\"keydown\",handleKeyDown);return()=>{document.body.style.overflow=previousBodyOverflow;root.style.overflow=previousRootOverflow;stopGlide();backdrop?.removeEventListener(\"wheel\",handleWheel);backdrop?.removeEventListener(\"touchstart\",handleTouchStart);backdrop?.removeEventListener(\"touchmove\",handleTouchMove);backdrop?.removeEventListener(\"touchend\",handleTouchEnd);backdrop?.removeEventListener(\"touchcancel\",handleTouchEnd);document.removeEventListener(\"keydown\",handleKeyDown);};},[profile,onClose]);if(typeof document===\"undefined\")return null;const activeProfile=profile||renderedProfile;if(!activeProfile)return null;const{image,name,role,bio}=activeProfile;const centre=activeProfile.centre||\"The Grove Academy\";return /*#__PURE__*/createPortal(/*#__PURE__*/_jsx(AnimatePresence,{onExitComplete:()=>setRenderedProfile(null),children:profile&&/*#__PURE__*/_jsxs(motion.div,{ref:backdropRef,className:\"tga-team-modal-backdrop\",role:\"presentation\",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.22},onMouseDown:event=>{if(event.target===event.currentTarget)onClose();},style:{position:\"fixed\",inset:0,zIndex:2147483647,display:\"grid\",placeItems:\"center\",minHeight:\"100vh\",padding:48,background:\"rgba(18, 18, 16, 0.68)\",backdropFilter:\"blur(16px)\",WebkitBackdropFilter:\"blur(16px)\",fontFamily:FONT},children:[/*#__PURE__*/_jsxs(motion.div,{className:\"tga-team-modal\",role:\"dialog\",\"aria-modal\":\"true\",\"aria-labelledby\":\"tga-team-modal-name\",\"aria-describedby\":\"tga-team-modal-bio\",initial:{opacity:0,y:24,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:16,scale:.98},transition:{duration:.38,ease:[.22,1,.36,1]},style:{position:\"relative\",display:\"grid\",gridTemplateColumns:\"42.5% 57.5%\",width:\"min(1120px, 100%)\",height:\"min(760px, calc(100vh - 96px))\",minHeight:520,overflow:\"hidden\",borderRadius:30,background:cream,boxShadow:\"0 32px 100px rgba(0, 0, 0, 0.4)\"},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"tga-team-modal-photo\",style:{position:\"relative\",minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{role:\"img\",\"aria-label\":`Portrait of ${name}`,style:{position:\"absolute\",inset:0,backgroundColor:ink,backgroundImage:getImageBackground(image),backgroundSize:\"cover\",backgroundPosition:\"center\"}}),/*#__PURE__*/_jsxs(\"div\",{className:\"tga-team-photo-label\",style:{position:\"absolute\",left:34,right:34,bottom:34,zIndex:1,padding:\"19px 22px 20px\",borderRadius:18,color:cream,background:\"rgba(15, 17, 14, 0.6)\",backdropFilter:\"blur(15px)\",WebkitBackdropFilter:\"blur(10px)\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 5px\",color:honey,fontSize:12,fontWeight:600,lineHeight:1.2,letterSpacing:\"0.02em\",textTransform:\"uppercase\"},children:\"Meet the team\"}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontSize:16,lineHeight:1.35},children:centre})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"tga-team-modal-copy\",style:{display:\"flex\",flexDirection:\"column\",minWidth:0,minHeight:0,padding:\"76px 68px 54px\"},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"tga-team-modal-heading\",style:{flex:\"0 0 auto\"},children:[/*#__PURE__*/_jsx(\"h2\",{id:\"tga-team-modal-name\",style:{margin:0,color:honey,fontFamily:FONT,fontSize:\"clamp(36px, 4vw, 52px)\",fontWeight:600,lineHeight:1.02,letterSpacing:\"-0.045em\"},children:name}),/*#__PURE__*/_jsx(\"p\",{style:{margin:\"16px 0 0\",color:\"#6F736E\",fontSize:18,fontWeight:500,lineHeight:1.35},children:role}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{height:1,margin:\"30px 0 0\",background:\"#D7DAD3\"}})]}),/*#__PURE__*/_jsxs(\"div\",{ref:bioScrollRef,className:\"tga-team-bio-scroll\",style:{flex:\"1 1 auto\",minHeight:0,marginTop:32,paddingRight:26,overflowY:\"auto\",overscrollBehavior:\"contain\",WebkitOverflowScrolling:\"touch\",scrollbarColor:`${ink} #E1E4DD`,scrollbarWidth:\"thin\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:\"0 0 22px\",color:honey,fontSize:12,fontWeight:700,lineHeight:1.2,textTransform:\"uppercase\"},children:\"Biography\"}),/*#__PURE__*/_jsx(\"p\",{id:\"tga-team-modal-bio\",style:{margin:0,color:\"#6F736E\",fontFamily:FONT,fontSize:16,fontWeight:400,lineHeight:1.7,whiteSpace:\"pre-line\"},children:bio})]})]}),/*#__PURE__*/_jsx(\"button\",{ref:closeButtonRef,type:\"button\",className:\"tga-team-modal-close\",onClick:onClose,\"aria-label\":`Close ${name}'s bio`,style:{position:\"absolute\",top:30,right:30,zIndex:3,display:\"grid\",placeItems:\"center\",width:50,height:50,padding:0,border:0,borderRadius:\"50%\",color:cream,cursor:\"pointer\",fontFamily:FONT,fontSize:25,fontWeight:400,lineHeight:1,background:\"rgba(15, 17, 14, 0.6)\",backdropFilter:\"blur(15px)\",WebkitBackdropFilter:\"blur(10px)\"},children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{transform:\"translateY(0px)\"},children:\"\\xd7\"})})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                        .tga-team-modal-close:focus-visible {\n                            outline: 3px solid ${honey};\n                            outline-offset: 4px;\n                        }\n\n                        .tga-team-bio-scroll::-webkit-scrollbar {\n                            width: 5px;\n                        }\n\n                        .tga-team-bio-scroll::-webkit-scrollbar-track {\n                            background: #E1E4DD;\n                            border-radius: 999px;\n                        }\n\n                        .tga-team-bio-scroll::-webkit-scrollbar-thumb {\n                            background: ${ink};\n                            border-radius: 999px;\n                        }\n\n                        @media (max-width: 760px) {\n                            .tga-team-modal-backdrop {\n                                padding: 12px !important;\n                            }\n\n                            .tga-team-modal {\n                                grid-template-columns: 1fr !important;\n                                grid-template-rows: minmax(230px, 38%) minmax(0, 62%) !important;\n                                width: min(430px, 100%) !important;\n                                height: calc(100vh - 24px) !important;\n                                min-height: 0 !important;\n                                border-radius: 26px !important;\n                            }\n\n                            .tga-team-photo-label {\n                                left: 18px !important;\n                                right: 18px !important;\n                                bottom: 16px !important;\n                                padding: 14px 17px 15px !important;\n                                border-radius: 16px !important;\n                            }\n\n                            .tga-team-modal-copy {\n                                padding: 26px 26px 28px !important;\n                            }\n\n                            .tga-team-modal-heading h2 {\n                                margin-top: 0 !important;\n                                font-size: 34px !important;\n                            }\n\n                            .tga-team-modal-heading > p {\n                                margin-top: 10px !important;\n                                font-size: 15px !important;\n                            }\n\n                            .tga-team-modal-heading > div:last-child {\n                                margin-top: 20px !important;\n                            }\n\n                            .tga-team-bio-scroll {\n                                margin-top: 22px !important;\n                                padding-right: 16px !important;\n                            }\n\n                            .tga-team-bio-scroll > p:first-child {\n                                margin-bottom: 14px !important;\n                            }\n\n                            .tga-team-bio-scroll > p:last-child {\n                                font-size: 15px !important;\n                                line-height: 1.58 !important;\n                            }\n\n                            .tga-team-modal-close {\n                                top: 16px !important;\n                                right: 16px !important;\n                                width: 46px !important;\n                                height: 46px !important;\n                            }\n                        }\n\n                        @supports (height: 100dvh) {\n                            @media (max-width: 760px) {\n                                .tga-team-modal {\n                                    height: calc(100dvh - 24px) !important;\n                                }\n                            }\n                        }\n\n                        @media (max-height: 620px) and (min-width: 761px) {\n                            .tga-team-modal-backdrop {\n                                padding: 24px !important;\n                            }\n\n                            .tga-team-modal {\n                                height: calc(100vh - 48px) !important;\n                                min-height: 0 !important;\n                            }\n\n                            .tga-team-modal-copy {\n                                padding-top: 48px !important;\n                                padding-bottom: 36px !important;\n                            }\n                        }\n\n                        @media (prefers-reduced-motion: reduce) {\n                            .tga-team-modal,\n                            .tga-team-modal-backdrop {\n                                transition: none !important;\n                            }\n                        }\n                    `})]})}),document.body);}export default function TeamPerCentre(props){const{apiUrl,centre,cardWidth,gap,radius,honey,ink,cream}=props;const{profiles,state}=useCentreProfiles(apiUrl,centre);const isLoading=state===\"loading\";const[selectedProfile,setSelectedProfile]=useState(null);const[activePage,setActivePage]=useState(0);const[pageCount,setPageCount]=useState(1);const triggerRef=useRef(null);const scrollRef=useRef(null);const updatePagination=React.useCallback(element=>{if(!element)return;const maxScroll=Math.max(0,element.scrollWidth-element.clientWidth);const step=Math.max(1,cardWidth+gap);const nextPageCount=maxScroll>2?Math.ceil(maxScroll/step)+1:1;const nextActivePage=maxScroll>0?Math.round(element.scrollLeft/maxScroll*(nextPageCount-1)):0;setPageCount(nextPageCount);setActivePage(nextActivePage);},[cardWidth,gap]);useEffect(()=>{const element=scrollRef.current;if(!element)return;updatePagination(element);if(typeof ResizeObserver===\"undefined\"){const handleResize=()=>updatePagination(element);window.addEventListener(\"resize\",handleResize);return()=>window.removeEventListener(\"resize\",handleResize);}const observer=new ResizeObserver(()=>updatePagination(element));observer.observe(element);return()=>observer.disconnect();},[profiles.length,updatePagination]);const openProfile=(profile,trigger)=>{if(typeof document!==\"undefined\"){triggerRef.current=trigger||document.activeElement;}setSelectedProfile(profile);};const closeProfile=()=>{setSelectedProfile(null);window.requestAnimationFrame(()=>triggerRef.current?.focus?.());};const goToPage=pageIndex=>{const element=scrollRef.current;if(!element||pageCount<=1)return;const maxScroll=Math.max(0,element.scrollWidth-element.clientWidth);element.scrollTo({left:maxScroll*pageIndex/(pageCount-1),behavior:\"smooth\"});};// A native overflow container cannot be dragged with a mouse, and the\n// scrollbar is hidden, so without this the only way to reach the offscreen\n// cards on desktop is the pagination dots. Touch and pen already scroll\n// natively and are left alone.\nconst dragRef=useRef({active:false,startX:0,startScroll:0,moved:false});const startDrag=event=>{if(event.pointerType!==\"mouse\"||event.button!==0)return;const element=scrollRef.current;if(!element)return;dragRef.current={active:true,startX:event.clientX,startScroll:element.scrollLeft,moved:false};element.style.cursor=\"grabbing\";};const moveDrag=event=>{const drag=dragRef.current;const element=scrollRef.current;if(!drag.active||!element)return;const distance=event.clientX-drag.startX;// Below the threshold this is still a click on a card, not a drag.\nif(!drag.moved){if(Math.abs(distance)<=4)return;drag.moved=true;// Keep receiving moves if the pointer leaves the carousel.\nelement.setPointerCapture?.(event.pointerId);// Snap fights a live drag; it is restored on release.\nelement.style.scrollSnapType=\"none\";}element.scrollLeft=drag.startScroll-distance;event.preventDefault();};const endDrag=event=>{const drag=dragRef.current;const element=scrollRef.current;if(!drag.active)return;drag.active=false;if(element){element.style.cursor=\"\";element.style.scrollSnapType=\"\";if(event?.pointerId!=null&&element.hasPointerCapture?.(event.pointerId)){element.releasePointerCapture(event.pointerId);}}};// A drag that ends on a card would otherwise open that card's modal.\nconst suppressClickAfterDrag=event=>{if(!dragRef.current.moved)return;event.preventDefault();event.stopPropagation();dragRef.current.moved=false;};return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .tga-team-scroll::-webkit-scrollbar { display: none; }\n\n                .tga-team-card-link:focus-visible {\n                    outline: none;\n                    box-shadow: inset 0 0 0 3px ${honey};\n                }\n\n                .tga-team-pagination-dot:focus-visible {\n                    outline: 2px solid ${honey};\n                    outline-offset: 4px;\n                }\n            `}),/*#__PURE__*/_jsx(\"div\",{ref:scrollRef,className:\"tga-team-scroll\",onScroll:event=>updatePagination(event.currentTarget),onPointerDown:startDrag,onPointerMove:moveDrag,onPointerUp:endDrag,onPointerCancel:endDrag,onClickCapture:suppressClickAfterDrag,onDragStart:event=>event.preventDefault(),style:{display:\"flex\",flexWrap:\"nowrap\",// Centre a short row, but only once it is known to fit.\n// pageCount === 1 means there is nothing to scroll, and\n// centring an overflowing flex row would put the first\n// cards out of reach past the left edge.\njustifyContent:pageCount>1?\"flex-start\":\"center\",overflowX:\"auto\",overflowY:\"hidden\",gap,scrollSnapType:\"x mandatory\",scrollbarWidth:\"none\",msOverflowStyle:\"none\",WebkitOverflowScrolling:\"touch\",padding:\"4px 4px 8px\",cursor:\"grab\",userSelect:\"none\",WebkitUserSelect:\"none\"},children:isLoading?Array.from({length:5},(_,index)=>/*#__PURE__*/_jsx(SkeletonCard,{cardWidth:cardWidth,radius:radius,ink:ink},`skeleton-${index}`)):profiles.map((profile,index)=>/*#__PURE__*/_jsx(TeamCard,{profile:profile,cardWidth:cardWidth,radius:radius,honey:honey,ink:ink,cream:cream,onOpen:openProfile},profile.id??`${profile.name}-${index}`))}),pageCount>1&&/*#__PURE__*/_jsx(\"div\",{\"aria-label\":\"Team carousel pagination\",style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:8,minHeight:8,marginTop:12},children:Array.from({length:pageCount},(_,pageIndex)=>{const isActive=pageIndex===activePage;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"tga-team-pagination-dot\",\"aria-label\":`Go to team carousel page ${pageIndex+1}`,\"aria-current\":isActive?\"true\":undefined,onClick:()=>goToPage(pageIndex),style:{width:isActive?26:8,height:8,padding:0,border:0,borderRadius:999,background:honey,opacity:isActive?1:.35,cursor:\"pointer\",transition:\"width 220ms ease, opacity 220ms ease\"}},pageIndex);})}),/*#__PURE__*/_jsx(BioModal,{profile:selectedProfile,honey:honey,ink:ink,cream:cream,onClose:closeProfile})]});}TeamPerCentre.defaultProps={apiUrl:\"https://family.thegroveacademy.com.au/wp-json/tga/v1/tga_get_centre_team\",centre:\"\",cardWidth:320,gap:20,radius:35,honey:\"#FABA55\",ink:\"#211F1D\",cream:\"#F6F2E8\"};addPropertyControls(TeamPerCentre,{apiUrl:{type:ControlType.String,title:\"API URL\",description:\"Full endpoint, e.g. https://your-site/wp-json/tga/v1/tga_get_centre_team\",defaultValue:\"https://family.thegroveacademy.com.au/wp-json/tga/v1/tga_get_centre_team\"},centre:{type:ControlType.String,title:\"Centre\",description:\"Leave empty on the live page — the centre is read from the URL slug. Set it only to preview a centre on the canvas, e.g. Shell Cove.\",placeholder:\"From URL slug\",defaultValue:\"\"},cardWidth:{type:ControlType.Number,title:\"Card width\",defaultValue:320,min:160,max:480,step:10},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:20,min:0,max:64,step:2},radius:{type:ControlType.Number,title:\"Corner radius\",defaultValue:35,min:0,max:48},honey:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#FABA55\"},ink:{type:ControlType.Color,title:\"Dark colour\",defaultValue:\"#211F1D\"},cream:{type:ControlType.Color,title:\"Light colour\",defaultValue:\"#F6F2E8\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TeamPerCentre\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Team_2.map"],"mappings":"iRAUyC,SAAS,EAAmB,EAAM,CAAK,KAAuB,MAAM,QAAQ,EAAM,GAAI,CAC1C,SAAS,EAAiB,EAAK,CAAqD,O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