{"version":3,"file":"SectionCollectionArticles.DRFGVdsi.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useRef","useId","useMemo"],"sources":["https:/framerusercontent.com/modules/omo5LdjL4LRSZXvwvWOk/2QpRZT8g6Vnn49CuN9pt/O_XoZ3FcZ.js","https:/framerusercontent.com/modules/r2Ugg3UgZHxGBEl6dXq7/5wvPboIAbGDuS8iuG70K/collectionRegistry.js","https:/framerusercontent.com/modules/zlVSJuZFN8qCz9VGnmpY/4OXyN1BOpqAjq7lC3jts/SectionCollectionArticles.js"],"sourcesContent":["// Generated by Framer (c21a492)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const MotionDivWithFX=withFX(motion.div);const cycleOrder=[\"G47S15YSn\",\"PX1MOnVXY\"];const serializationHash=\"framer-IJaBb\";const variantClassNames={G47S15YSn:\"framer-v-1hbo82m\",PX1MOnVXY:\"framer-v-17k3l76\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={duration:0,type:\"tween\"};const animation={opacity:0,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transition2={delay:0,duration:.3,ease:[.44,0,.56,1],type:\"tween\"};const animation1={opacity:0,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition2,x:0,y:0};const transition3={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation2={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Hidden:\"PX1MOnVXY\",Loading:\"G47S15YSn\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"G47S15YSn\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"G47S15YSn\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const isDisplayed=()=>{if(baseVariant===\"PX1MOnVXY\")return false;return true;};const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:isDisplayed()&&/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1hbo82m\",className,classNames),\"data-framer-name\":\"Loading\",layoutDependency:layoutDependency,layoutId:\"G47S15YSn\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__animate:{transition:transition2},__framer__animateOnce:false,__framer__enter:animation,__framer__exit:animation1,__framer__styleAppearEffectEnabled:true,__framer__threshold:.5,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-1qrc6yg\",\"data-framer-name\":\"Spinner\",layoutDependency:layoutDependency,layoutId:\"onOQ0YrdY\",style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\"},children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation2,__framer__loopEffectEnabled:true,__framer__loopPauseOffscreen:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition3,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-1jivlv8\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"rN6xsA2D3\",style:{background:\"conic-gradient(from 0deg at 50% 50%, rgba(255, 255, 255, 0) 0deg, rgb(153, 153, 153) 342deg)\"},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-m7b4s7\",\"data-framer-name\":\"Round\",layoutDependency:layoutDependency,layoutId:\"KWLYXFUsw\",style:{backgroundColor:\"rgb(153, 153, 153)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1}})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-IJaBb.framer-xuzmjz, .framer-IJaBb .framer-xuzmjz { display: block; }\",\".framer-IJaBb.framer-1hbo82m { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 40px; justify-content: center; padding: 0px; position: relative; width: 40px; }\",\".framer-IJaBb .framer-1qrc6yg { aspect-ratio: 1 / 1; flex: none; gap: 10px; height: var(--framer-aspect-ratio-supported, 20px); overflow: visible; position: relative; width: 20px; }\",\".framer-IJaBb .framer-1jivlv8 { bottom: 0px; flex: none; gap: 10px; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-IJaBb .framer-m7b4s7 { flex: none; height: 2px; left: calc(50.00000000000002% - 2px / 2); overflow: visible; position: absolute; top: 0px; width: 2px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 40\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"PX1MOnVXY\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerO_XoZ3FcZ=withCSS(Component,css,\"framer-IJaBb\");export default FramerO_XoZ3FcZ;FramerO_XoZ3FcZ.displayName=\"Spinner\";FramerO_XoZ3FcZ.defaultProps={height:40,width:40};addPropertyControls(FramerO_XoZ3FcZ,{variant:{options:[\"G47S15YSn\",\"PX1MOnVXY\"],optionTitles:[\"Loading\",\"Hidden\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerO_XoZ3FcZ,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerO_XoZ3FcZ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"40\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"40\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"PX1MOnVXY\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./O_XoZ3FcZ.map","import{COLLECTION_ID}from\"https://framerusercontent.com/modules/ELyWSXK8tBY7KFqORue0/WtHyWr5a1vDiCCILz0OQ/collectionId.js\";export const COLLECTION_SCOPE_ATTRIBUTE=\"data-bunq-collection-scope\";function getScopeStore(){if(typeof window===\"undefined\"){return undefined;}window.__bunqCollectionScopes=window.__bunqCollectionScopes??{};return window.__bunqCollectionScopes;}export function getCollectionScopeId(source){const scopeElement=source?.closest(`[${COLLECTION_SCOPE_ATTRIBUTE}]`);const scopeId=scopeElement?.getAttribute(COLLECTION_SCOPE_ATTRIBUTE)?.trim();return scopeId||undefined;}export function registerCollectionItems(scopeId,items){if(typeof window===\"undefined\"){return;}if(scopeId){const store=getScopeStore();if(store){store[scopeId]={items};}}window.allCollectionItems=items;}export function unregisterCollectionScope(scopeId){if(!scopeId||typeof window===\"undefined\"||!window.__bunqCollectionScopes){return;}delete window.__bunqCollectionScopes[scopeId];}export function getRegisteredCollectionItems(source){const scopeId=getCollectionScopeId(source);if(!scopeId||typeof window===\"undefined\"){return undefined;}return window.__bunqCollectionScopes?.[scopeId]?.items;}export function findCollectionRoot(source){if(typeof document===\"undefined\"){return null;}const scopeElement=source?.closest(`[${COLLECTION_SCOPE_ATTRIBUTE}]`);const queryRoot=scopeElement??document;const collection=queryRoot.querySelector(`[style*=\"border: ${COLLECTION_ID}\"]`);return collection instanceof HTMLElement?collection:null;}export function getCollectionItems(source){const scopedItems=getRegisteredCollectionItems(source);if(scopedItems){return scopedItems;}const collection=findCollectionRoot(source);const children=collection?Array.from(collection.children):[];if(children.length>0){return children;}if(typeof window===\"undefined\"){return[];}return window.allCollectionItems??[];}\nexport const __FramerMetadata__ = {\"exports\":{\"COLLECTION_SCOPE_ATTRIBUTE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"registerCollectionItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"unregisterCollectionScope\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionScopeId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"findCollectionRoot\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getRegisteredCollectionItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./collectionRegistry.map","/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight auto\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,useEffect,useRef,useMemo,useId}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/9AEeOcnhLXJS5wK1KhPx/HxesVu229HtloeOn45Cz/breakpointControl.js\";import{themePropertyControls}from\"https://framerusercontent.com/modules/T2sckviMCmJ4Jmbp9jxp/zJxITVIOZG02MHJo3RLt/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/lFWBe5qCxlzWknbvQ1Np/XNuxV4GDM1tSiiZKcYOz/themeControl.js\";import{useReducedMotion,useEffectiveBreakpoint,useContainerBreakpoint,getBreakpointScopeProps,getWidthValue,getStagger,getSpacing,getTypographyStyles}from\"https://framerusercontent.com/modules/FDyEZnwYBuMJmxNPNbkh/ftbixAo3Me0hjSibGljU/colors.js\";import{getContainerStyles,getGap,getSectionStyles,getSectionWrapperStyles,getCmsEmptyPlaceholderStyle,VISUALLY_HIDDEN_STYLE}from\"https://framerusercontent.com/modules/LQuuOAryIVnwswuGx8Ex/bmEzt2SnAB9Hh8CUQOag/layoutStyles.js\";import{getThemeColors,getPlaceholderColors,resolveBrand}from\"https://framerusercontent.com/modules/30edN7qiEI1dwQI5mdZ5/AR7T6BHZelCAWyOWbHwK/themeHelpers.js\";import{SECTION_BACKGROUND_DEFAULTS,getSectionBackgroundFromProps,getSectionRootBackgroundStyle,sectionBackgroundPropertyControls}from\"https://framerusercontent.com/modules/jZFHLdiOT2heZl3JSdXg/IPJdaVga8geTlEeFAVQj/sectionBackground.js\";import{getSectionRestProps}from\"https://framerusercontent.com/modules/DTXTjpsqu0cSSSvQLUkb/zk62E5Alz9C8GnMJzVZo/sectionProps.js\";import{useSectionAnimation}from\"https://framerusercontent.com/modules/T0hsVXlJCFwqijvkTPxe/Y5FQaYmmdrKEPWF19RLT/useSectionAnimation.js\";import{createSectionVariants}from\"https://framerusercontent.com/modules/4txbpRwhPsY7unmUb1pS/cOvNOtEW3WSOTOSjl9rv/motionVariants.js\";import{FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN}from\"https://framerusercontent.com/modules/kgixvU6ZSjEgZfx2dLER/Q65e6Gi2zjpkkR9gHZsP/propertyControlCopy.js\";import{CMS_COLLECTION_LAYOUT_ATTR,buildCmsCollectionLayoutCriticalCss,getCmsCollectionItemElements,getCmsCollectionLayoutId,getCmsCollectionLayoutRoots,useCmsCollectionLayout}from\"https://framerusercontent.com/modules/b2ilh64oGM37Rt6YVZrt/pNpFQwJ5qKycexJu6Qkq/cmsCollectionLayout.js\";import{injectBreakpointIntoCmsSlot}from\"https://framerusercontent.com/modules/qSAi9VileQLI8aez6prv/Ad2aY254SZWgAy6AB6Nk/injectBreakpointIntoCmsSlot.js\";import{COLLECTION_ID}from\"https://framerusercontent.com/modules/ELyWSXK8tBY7KFqORue0/WtHyWr5a1vDiCCILz0OQ/collectionId.js\";import{COLLECTION_SCOPE_ATTRIBUTE,registerCollectionItems,unregisterCollectionScope}from\"https://framerusercontent.com/modules/r2Ugg3UgZHxGBEl6dXq7/5wvPboIAbGDuS8iuG70K/collectionRegistry.js\";function applyCollectionItemVisibility(items){items.forEach(item=>{const filterAttributes=item.getAttributeNames().filter(name=>name.startsWith(\"data-filter-\"));const isVisible=filterAttributes.every(attribute=>item.getAttribute(attribute)===\"match\");const nextDisplay=isVisible?\"\":\"none\";if(item.style.display!==nextDisplay){item.style.display=nextDisplay;}});}const SectionCollectionArticlesInternal=/*#__PURE__*/forwardRef(function SectionCollectionArticlesInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint:breakpointProp=\"desktop\",collectionList,sectionId,emptyStateAriaLabel=\"collection\",accessibleHeading=\"Articles\",showTopPadding=true,showBottomPadding=true,backgroundVariant=SECTION_BACKGROUND_DEFAULTS.backgroundVariant,backgroundPreset=SECTION_BACKGROUND_DEFAULTS.backgroundPreset,brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection=SECTION_BACKGROUND_DEFAULTS.backgroundOverlayDirection,backgroundShowOverlay=SECTION_BACKGROUND_DEFAULTS.backgroundShowOverlay,useMontserrat=SECTION_BACKGROUND_DEFAULTS.useMontserrat,...rest}=props;const reducedMotion=useReducedMotion();const componentId=useId();const collectionScopeId=`collection-${componentId.replace(/:/g,\"\")}`;const{sectionRef,sectionRefObject,animate}=useSectionAnimation(ref);const breakpoint=useEffectiveBreakpoint(breakpointProp);const containerBreakpoint=useContainerBreakpoint(sectionRefObject);const scopeBreakpoint=containerBreakpoint===\"phone\"?\"phone\":breakpoint;const cmsListRef=useRef(null);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const hasCollection=Array.isArray(collectionList)?collectionList.filter(Boolean).length>0:Boolean(collectionList);const colors=getThemeColors(theme,brand??backgroundGradientBrand);const resolvedBrand=resolveBrand(brand??backgroundGradientBrand);const{bgSubtle:placeholderBgSubtle,textMuted:placeholderTextMuted}=getPlaceholderColors(colors);const emptyPlaceholderStyle=getCmsEmptyPlaceholderStyle(breakpoint,placeholderBgSubtle);const{sectionBgColor,isGradient:_isGradient,backgroundLayer}=getSectionBackgroundFromProps({theme,backgroundVariant,backgroundPreset,brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection,backgroundShowOverlay,colors});const sectionStyles=useMemo(()=>({...getSectionStyles(breakpoint),...getSectionRootBackgroundStyle({useMontserrat,brand:brand??backgroundGradientBrand}),backgroundColor:sectionBgColor,overflow:\"visible\",...showTopPadding?{}:{paddingTop:0},...showBottomPadding?{}:{paddingBottom:0}}),[breakpoint,sectionBgColor,useMontserrat,brand,backgroundGradientBrand,showTopPadding,showBottomPadding]);const containerStyles=useMemo(()=>({...getContainerStyles(breakpoint),maxWidth:breakpoint===\"desktop\"?getWidthValue(\"width-xl\"):\"100%\",overflow:\"visible\"}),[breakpoint]);const allItemListStyles={display:\"flex\",flexDirection:\"column\",gap:getGap(\"md\",breakpoint),width:\"100%\",minWidth:0,maxWidth:\"100%\"};const cmsListHostStyles={width:\"100%\",minWidth:0,maxWidth:\"100%\"};const cmsCollectionRootStyles={...allItemListStyles,alignItems:\"stretch\",border:COLLECTION_ID,boxSizing:\"border-box\",margin:0,padding:0};const cmsCollectionItemStyles={width:\"100%\",minWidth:0,maxWidth:\"100%\",flex:\"0 0 auto\",boxSizing:\"border-box\"};useCmsCollectionLayout(cmsListRef,hasCollection,cmsCollectionRootStyles,cmsCollectionItemStyles);const cmsLayoutId=getCmsCollectionLayoutId(breakpointProp,componentId);const cmsLayoutCriticalCss=buildCmsCollectionLayoutCriticalCss(cmsLayoutId,cmsCollectionRootStyles,cmsCollectionItemStyles);useEffect(()=>{if(!hasCollection||isCanvas||!cmsListRef.current){return undefined;}const host=cmsListRef.current;let scheduledFrame=0;const syncCollectionItems=()=>{scheduledFrame=0;const layoutRoots=getCmsCollectionLayoutRoots(host);layoutRoots.forEach(root=>{if(root.style.border!==COLLECTION_ID){root.style.border=COLLECTION_ID;}if(root.style.boxSizing!==\"border-box\"){root.style.boxSizing=\"border-box\";}if(root.style.width!==\"100%\"){root.style.width=\"100%\";}});if(layoutRoots.length===0&&host.childElementCount===0){return;}const cmsItems=getCmsCollectionItemElements(host);registerCollectionItems(collectionScopeId,cmsItems);applyCollectionItemVisibility(cmsItems);};const scheduleSync=()=>{if(scheduledFrame!==0){return;}scheduledFrame=window.requestAnimationFrame(syncCollectionItems);};syncCollectionItems();if(typeof MutationObserver===\"undefined\"){const intervalId=window.setInterval(syncCollectionItems,1e3);return()=>{window.clearInterval(intervalId);unregisterCollectionScope(collectionScopeId);};}const observer=new MutationObserver(scheduleSync);observer.observe(host,{attributes:true,childList:true,characterData:true,subtree:true});return()=>{observer.disconnect();if(scheduledFrame!==0){window.cancelAnimationFrame(scheduledFrame);}unregisterCollectionScope(collectionScopeId);};},[collectionScopeId,hasCollection,isCanvas]);const{container:containerVariants,item:itemVariants}=createSectionVariants(reducedMotion,{stagger:getStagger(\"dense\")});const renderCmsPlaceholderItems=()=>/*#__PURE__*/_jsxs(\"div\",{style:emptyPlaceholderStyle,children:[/*#__PURE__*/_jsx(\"span\",{role:\"img\",\"aria-label\":emptyStateAriaLabel,style:{fontSize:getSpacing(32),lineHeight:1},children:\"📋\"}),/*#__PURE__*/_jsx(\"p\",{style:{...getTypographyStyles(\"/Body SM/Heavy\",breakpoint),color:colors.textSecondary},children:\"Connect CMS Collection\"}),/*#__PURE__*/_jsx(\"p\",{style:{...getTypographyStyles(\"/Body SM/Light\",breakpoint),color:placeholderTextMuted},children:\"Drop a Collection List here and link it to your CMS\"})]});const responsiveCollectionList=useMemo(()=>injectBreakpointIntoCmsSlot(collectionList,breakpointProp,{theme,brand:resolvedBrand}),[collectionList,breakpointProp,theme,resolvedBrand]);return /*#__PURE__*/_jsxs(motion.section,{ref:sectionRef,style:sectionStyles,id:sectionId||`section-collection-articles-${componentId}`,[COLLECTION_SCOPE_ATTRIBUTE]:collectionScopeId,...getBreakpointScopeProps(scopeBreakpoint),initial:animate===\"visible\"?false:\"hidden\",animate:animate,variants:containerVariants,...getSectionRestProps(rest),children:[backgroundLayer,/*#__PURE__*/_jsxs(\"div\",{style:containerStyles,children:[accessibleHeading?/*#__PURE__*/_jsx(\"h2\",{style:VISUALLY_HIDDEN_STYLE,children:accessibleHeading}):null,collectionList?/*#__PURE__*/_jsxs(motion.div,{ref:cmsListRef,style:cmsListHostStyles,variants:itemVariants,...hasCollection?{[CMS_COLLECTION_LAYOUT_ATTR]:cmsLayoutId}:{},children:[hasCollection?/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:cmsLayoutCriticalCss}}):null,responsiveCollectionList]}):/*#__PURE__*/_jsx(motion.div,{style:cmsListHostStyles,variants:itemVariants,children:renderCmsPlaceholderItems()})]})]});});export default function SectionCollectionArticles(props){const ref=useRef(null);const breakpoint=useEffectiveBreakpoint(props.breakpoint??\"desktop\");const{style,...restProps}=props;return /*#__PURE__*/_jsx(\"div\",{style:{...getSectionWrapperStyles(breakpoint),...style},children:/*#__PURE__*/_jsx(SectionCollectionArticlesInternal,{...restProps,ref:ref})});}SectionCollectionArticles.displayName=\"Section Collection Articles - Organism\";addPropertyControls(SectionCollectionArticles,{accessibleHeading:{type:ControlType.String,title:\"Accessible Heading\",defaultValue:\"Articles\",placeholder:\"e.g. Articles\",description:\"Visually hidden heading for the list. Keeps the page outline valid when article cards (h3) follow the page h1 directly. Clear it if the page already has its own heading above this section.\"},collectionList:{type:ControlType.ComponentInstance,title:\"Collection List\",description:\"Framer CMS collection list.\"},...sectionBackgroundPropertyControls(),emptyStateAriaLabel:{type:ControlType.String,title:\"Empty State Aria Label\",defaultValue:\"collection\",placeholder:\"e.g. collection\",description:\"Accessible label for the CMS empty state emoji placeholder shown before a collection is connected.\"},showTopPadding:{type:ControlType.Boolean,title:\"Top Padding\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Turn off to remove the section's top vertical padding when stacking tightly against the section above.\"},showBottomPadding:{type:ControlType.Boolean,title:\"Bottom Padding\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Turn off to remove the section's bottom vertical padding when stacking tightly against the section below.\"},sectionId:{type:ControlType.String,title:\"Section ID\",defaultValue:\"section-collection-articles\",placeholder:\"e.g. section-collection-articles\",description:\"HTML id for the section element. Used for anchor links and page navigation.\",preventLocalization:true},...breakpointPropertyControl(),...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN)});\nexport const __FramerMetadata__ = {\"exports\":{\"SectionCollectionArticlesProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"SectionCollectionArticles\",\"slots\":[\"collectionList\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Breakpoint\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"+4BAC0C,IAAkI,IAAkE,IAA4B,EAAiC,EAAgB,EAAO,EAAO,GAAG,EAAQ,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,EAA+L,EAAY,CAAC,SAAS,EAAE,KAAK,OAAO,EAAQ,EAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,EAAQ,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,KAAK,OAAO,EAAQ,EAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAY,EAAE,EAAE,EAAE,CAAC,EAAQ,EAAY,CAAC,MAAM,EAAE,SAAS,EAAE,KAAK,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,KAAK,OAAO,EAAQ,EAAW,CAAC,QAAQ,EAAE,OAAO,IAAI,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAA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