{"version":3,"file":"pressCollectionFilterBar.BjerMyMv.mjs","names":["useMemo","ButtonLoadMoreAtom","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useState","useCallback","getAllCollectionItem","LEGACY_DEFAULT_ARIA_LABEL","useState","useRef","useId","useCallback","useMemo","useState","useMemo","useId","useRef","useCallback","useMemo","__esmMin","ne","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","x","oe","pe","ie","_e","de","p","c","init_jsx_runtime","ce","MotionConfigContext","AnimatePresence","LayoutGroup","init_framer_motion_DhsWWWsN","motion","getFonts","init_framer_BWFVvmND","useComponentViewport","addPropertyControls","useActiveVariantCallback","useIsStaticRenderer","SmartComponentScopedContainer","useLocaleInfo","withCSS","ComponentViewportProvider","useVariantState","ControlType","RenderTarget","cx","addFonts","useReducedMotion","getDropdownContainerStyles","getInputBorder","getControlSizeValue","VISUALLY_HIDDEN_STYLE","init_buttonStyles","getControlSize","init_Button","getRadius","init_layoutStyles","useInteractiveStates","init_usePageLanguage","createDropdownVariants","getResponsiveSpacing","getFocusOutlineWidth","getFramerTransition","init_brandControl","init_inputStyles","getColorValue","ButtonWithRef","usePageLanguage","getDropdownOptionStyles","getSpacing","init_styles","getTransition","init_useInteractiveStates","resolveThemeProp","init_motionVariants","init_colors","brandPropertyControl","FRAMER_THEME_DESCRIPTION_FORM_WITH_CHILDREN","FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN","themePropertyControls","getAccessibilityStrings","LiquidGlassSurface","init_propertyControlCopy","getIcon","init_themeHelpers","resolveBrand","FRAMER_ON_CLICK_DESCRIPTION","getBrandFocusColor","isFramerEditorEnvironment","init_useInViewport","resolveTricountOnSurfaceButtonVariant","init_icons","init_framerStaticMotionContext","getTypographyStyles","isLightThemeSurface","init_themeControl","isFramerStaticMotionContext","FRAMER_BREAKPOINT_DESCRIPTION","init_accessibilityLocalization","init_LiquidGlassSurface","getThemeColors","breakpointPropertyControl","Button","getBrightnessFilter","init_breakpointControl","insetByInputBorder","getCollectionItems","getMonthNames","findCollectionRoot","init_collectionRegistry","init_collectionOptionOrder","sortCollectionOptions","buildPressCmsSearch","parsePressTopicOptions","EMPTY_PRESS_CMS_FILTERS","getPressYearOptions","getCollectionScopeId","readPressCmsFilters","init_pressCmsFilters","init_loadMoreCopy","resolveLoadMoreLabel","LOAD_MORE_ENGLISH_DEFAULT","useClickOutside","init_useClickOutside","getLoadingSpinnerPadding","resolvedBreakpoint","breakpoint","size","ButtonLoadMore","rest","props","ButtonLoadMoreInternal","init_ButtonLoadMore","theme","pageLanguage","resolvedLabel","label","isLoading","variant","resolvedId","id","accessibleName","ariaLabel","buttonAriaLabel","ghostButtonVariant","brand","mergedStyle","style","addPropertyOverrides","variants","nextOverrides","overrides","ButtonLoadMoreAtomFonts","cycleOrder","serializationHash","variantClassNames","transition1","matchVariant","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","FramersYrsJEvsh","init_sYrsJEvsh","args","arg","config","transition","value","contextValue","click","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","sharedStyleClassNames","isDisplayed","baseVariant","onTapn9xadi","activeVariantCallback","setGestureState","Wld3NDzSj","scopingClassNames","onClick1rvwcbu","layoutId","gestureHandlers","className","classNames","gestureVariant","writePressCmsFilters","search","location","state","history","usePressCmsFilters","filters","setFilters","enabled","sync","next","init_usePressCmsFilters","asTransition","init_motion","getAllCollectionItem$1","source","getLayerValues","splitValues","textContent","resolveDropdownMaxWidth","sizeToLabel","applyFilterAttribute","item","uniqueId","matches","CollectionDropdown","CollectionDropdownInternal","LEGACY_DEFAULT_ARIA_LABEL$1","init_CollectionDropdown","ariaLabelProp","controlledOptions","controlledValue","isControlled","resolvedBrand","lightSurface","isOpen","setIsOpen","collectedOptions","setOptions","localSelectedOption","setSelectedOption","options","selectedOption","focusedOptionIndex","setFocusedOptionIndex","containerRef","componentId","disableLivePolling","reducedMotion","isStaticRenderer","skipMotion","activeLocaleCode","activeLocale","baseHandlers","disabled","fetchOptions","allItem","optionValues","child","layerName","layer","documentLocale","optionOrder","applyFilters","textLayers","allValues","scheduledFrame","refresh","scheduleRefresh","observer","fallbackInterval","rootFrame","retryStartedAt","attachObserver","collectionRoot","toggleDropdown","handleOptionClick","newOption","option","allOptionLabel","onValueChange","handleKeyDown","allOptionsArray","prev","isActive","themeColors","textColor","focusBorderColor","selectorTextColor","backgroundColorPath","getDisplayTitle","showAllLabelWhenEmpty","placeholderLabel","containerStyle","surfaceRadiusPx","selectorStyle","isFocused","isHovered","isPressed","selectorTextStyle","chevronStyle","dropdownStyles","getOptionStyles","isHoveredOption","dropdownVariants","activeDescendantId","listboxId","trimmedAriaLabel","authorAriaLabel","visibleLabel","resolvedAriaLabel","selectorTextId","setContainerRef","node","optionIndex","index","isSelected","getPageKey","page","getAllCollectionItem","isBrowser","countFilteredItem","allFilterAttribute","name","attr","CollectionPagination","CollectionPaginationInternal","DEFAULT_ITEMS_PER_PAGE","DEFAULT_MAX_VISIBLE_PAGES","DEFAULT_GAP","DEFAULT_SCROLL_THRESHOLD","INITIALIZATION_CHECK_INTERVAL_MS","MAX_INITIALIZATION_ATTEMPTS","LOAD_MORE_DELAY_MS","LEGACY_DEFAULT_ARIA_LABEL","init_CollectionPagination","safeItemsPerPage","itemsPerPage","safeMaxVisiblePages","maxVisiblePages","activeColoredGlassAccent","renderChipSurface","currentPage","setCurrentPage","totalItems","setTotalItems","isInitialized","setIsInitialized","setIsLoading","hoveredPage","setHoveredPage","loadAnnouncement","setLoadAnnouncement","pageAnnouncement","setPageAnnouncement","accessibilityStrings","navigationLabel","isEditor","reactId","scopeId","focusCss","totalItemsRef","currentPageRef","lastScrollY","rootRef","getPaginationScopeId","setRootRef","MotionButton","isPreviewMode","totalPages","totalPagesRef","loadMoreTimeoutRef","scheduleNextPage","previousPage","nextPage","total","loadedCount","previous","mode","initializePagination","filteredCount","pageForConfig","filterChanged","recount","newFilteredCount","newTotalPages","fallbackId","scheduled","scheduleRecount","target","records","record","collectionScopeId","instanceKey","latestPage","instances","targetScopeId","key","instance","cleanup","hasInstances","attempts","paginationCleanup","quickCheckId","handleScroll","scrollY","windowHeight","documentHeight","scrollThreshold","handlePageClick","handleLoadMore","getVisiblePages","pages","i","start","end","slotsAvailable","determineCanExpandRange","loadMoreText","loadingText","examplePages","isCurrent","isEllipsis","showInactiveGlass","showActiveColoredGlass","sharedStyle","reservedMinHeight","hasMorePages","visiblePages","isCurrentPage","morePagesLabel","getCmsDropdownState","year","month","PressCollectionFilterBar","PressCollectionPagination","init_pressCollectionFilterBar","localeCode","cmsFilters","setCmsFilters","frame","topicOptions","cmsSettings","earliestYear","cmsOptions","dropdowns","dropdownStyle","groupLabel","styles","filterByLabel","sectionId","dropdown","loadMoreLabel","loadingLabel"],"sources":["https:/framerusercontent.com/modules/sekl4mNnapWn9Q1QVMGl/zftfCLcvO22pwEbqnsDv/ButtonLoadMore.js","https:/framerusercontent.com/modules/ckxGIXzKVjtrEASrfUGU/5OE0zZIOhLKbmBFO3WYV/sYrsJEvsh.js","https:/framerusercontent.com/modules/OY6BoRWqYMr09KKiLuVc/P7SOUv4X6A1QnDpyOvRo/usePressCmsFilters.js","https:/framerusercontent.com/modules/6IHzE1TRDPqbfS0oYZwC/3832n3dnQETYoZDg2sZG/motion.js","https:/framerusercontent.com/modules/5A1WaiZtMuP2hPYXBpku/2vzXT0AN2WYSX7OwfHGC/CollectionDropdown.js","https:/framerusercontent.com/modules/Ddr1t3pa3swlOzkp6fsl/FCKagyXyq17IjsRzWdZb/CollectionPagination.js","https:/framerusercontent.com/modules/yipb1S9E65L0ivKHUbad/9yNdAI5OqTW2jdOICy4e/pressCollectionFilterBar.js"],"sourcesContent":["/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 48\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{getResponsiveSpacing}from\"https://framerusercontent.com/modules/8Zji6gUHadeLlN0mKx3f/JBNlOEOGCerb8iTZamM8/colors.js\";import{FRAMER_BREAKPOINT_DESCRIPTION,FRAMER_ON_CLICK_DESCRIPTION,FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN}from\"https://framerusercontent.com/modules/4Z728SQ7FxVsXZl0938S/BUDDgZnon2tL6QsxrogC/propertyControlCopy.js\";import{ButtonWithRef}from\"https://framerusercontent.com/modules/o4Fhf5iWe5JcEfiqAl89/BxV6RXHOgjkmT3urGlmk/Button.js\";import{resolveTricountOnSurfaceButtonVariant}from\"https://framerusercontent.com/modules/czDkNiSm5Jtm9TVHZxLR/o785CEogdGFZkYqK58yV/buttonStyles.js\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/Fk2t5Uqez4vSxN8Kkr0t/np8YWBjz2ODSW8OUB3sM/breakpointControl.js\";import{brandPropertyControl,themePropertyControls}from\"https://framerusercontent.com/modules/6fLGaxLId8P57R07yoYq/JviRce2bBZtj3w1Ppgaf/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/39r6SIsK3yJ8CSFGq0EK/vyCWOhHOgeo2ZcD59cd7/themeControl.js\";import{LOAD_MORE_ENGLISH_DEFAULT,resolveLoadMoreLabel}from\"https://framerusercontent.com/modules/wRvjgaVLG4m8LOJBAKmG/6f5RdJ2PIyyGyD7eFCvJ/loadMoreCopy.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/uB3DAGPg4zF79hUybIHP/4LOn8AvjATGBwnTHulEi/usePageLanguage.js\";function getLoadingSpinnerPadding(breakpoint,size){const resolvedBreakpoint=breakpoint??\"desktop\";if(size===\"large\"){return`${getResponsiveSpacing(16,resolvedBreakpoint)} ${getResponsiveSpacing(32,resolvedBreakpoint)}`;}else if(size===\"small\"){return`${getResponsiveSpacing(8,resolvedBreakpoint)} ${getResponsiveSpacing(16,resolvedBreakpoint)}`;}return`${getResponsiveSpacing(12,resolvedBreakpoint)} ${getResponsiveSpacing(24,resolvedBreakpoint)}`;}const ButtonLoadMoreInternal=/*#__PURE__*/forwardRef(function ButtonLoadMoreInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint,brand,size=\"medium\",widthMode=\"intrinsic\",variant=\"default\",label=LOAD_MORE_ENGLISH_DEFAULT,onClick,ariaLabel=\"\",id,style}=props;const pageLanguage=usePageLanguage();const resolvedLabel=resolveLoadMoreLabel(label,pageLanguage);const isLoading=variant===\"loading\";const resolvedId=id?.trim()||undefined;const accessibleName=ariaLabel.trim()||resolvedLabel.trim()||LOAD_MORE_ENGLISH_DEFAULT;const buttonAriaLabel=isLoading||ariaLabel.trim()!==\"\"?accessibleName:undefined;const ghostButtonVariant=resolveTricountOnSurfaceButtonVariant(brand??\"bunq\",theme,\"section\",\"ghost\");const mergedStyle=useMemo(()=>{if(!isLoading){return style;}return{...style,padding:getLoadingSpinnerPadding(breakpoint,size)};},[breakpoint,isLoading,size,style]);if(variant===\"hidden\"){return null;}return /*#__PURE__*/_jsx(ButtonWithRef,{ref:ref,breakpoint:breakpoint,theme:theme,brand:brand,variant:ghostButtonVariant,size:size,widthMode:widthMode,label:isLoading?\"\":resolvedLabel,iconPosition:isLoading?\"leading\":\"none\",loading:isLoading,ariaLabel:buttonAriaLabel,onClick:onClick,id:resolvedId,style:mergedStyle});});export default function ButtonLoadMore(props){const{ref,...rest}=props;return /*#__PURE__*/_jsx(ButtonLoadMoreInternal,{...rest,ref:ref});}ButtonLoadMore.displayName=\"Button Load More - Atom\";addPropertyControls(ButtonLoadMore,{label:{type:ControlType.String,title:\"Button Label\",defaultValue:LOAD_MORE_ENGLISH_DEFAULT,placeholder:\"e.g. Load more, Show more\",description:\"Type the visible words on the button—keep them short and action-focused.\",hidden:props=>props.variant===\"hidden\"},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"default\",\"loading\",\"hidden\"],optionTitles:[\"Default\",\"Loading\",\"Hidden\"],displaySegmentedControl:true,defaultValue:\"default\",description:\"Default shows the label; Loading shows the same ghost pill with a centered spinner only; Hidden removes the button from the page.\"},size:{type:ControlType.Enum,title:\"Size\",options:[\"large\",\"medium\",\"small\"],optionTitles:[\"Large\",\"Medium\",\"Small\"],displaySegmentedControl:true,defaultValue:\"medium\",description:\"Choose Medium for most list footers; Small for dense layouts; Large for hero-style lists.\",hidden:props=>props.variant===\"hidden\"},widthMode:{type:ControlType.Enum,title:\"Width Mode\",options:[\"responsive\",\"full\",\"intrinsic\"],optionTitles:[\"Responsive\",\"Full\",\"Intrinsic\"],defaultValue:\"intrinsic\",displaySegmentedControl:true,description:\"Intrinsic keeps the pill width on desktop; Full spans the row; Responsive is full width on phone only.\",hidden:props=>props.variant===\"hidden\"},onClick:{type:ControlType.EventHandler,title:\"On Click\",description:FRAMER_ON_CLICK_DESCRIPTION,hidden:props=>props.variant===\"hidden\"},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"\",placeholder:\"e.g. Load more events\",description:\"Accessible name override—match Button Label for typical lists; set when the spoken name should differ.\",hidden:props=>props.variant===\"hidden\"},id:{type:ControlType.String,title:\"ID\",defaultValue:\"button-load-more\",placeholder:\"e.g. events-load-more\",description:\"Set a unique id when you anchor to this control or tag it for analytics (e.g. Contentsquare); clear or change it if several load-more buttons on one page would collide.\",hidden:props=>props.variant===\"hidden\",preventLocalization:true},...breakpointPropertyControl(FRAMER_BREAKPOINT_DESCRIPTION),...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN),...brandPropertyControl()});// recompile: 1791801136873\n\nexport const __FramerMetadata__ = {\"exports\":{\"ButtonLoadMoreProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ButtonLoadMoreVariant\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ButtonLoadMore\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (0da2bc6)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import ButtonLoadMoreAtom from\"https://framerusercontent.com/modules/sekl4mNnapWn9Q1QVMGl/zftfCLcvO22pwEbqnsDv/ButtonLoadMore.js\";const ButtonLoadMoreAtomFonts=getFonts(ButtonLoadMoreAtom);const cycleOrder=[\"yESLvzHZE\",\"QVcnai63x\",\"eiiOZxkpt\"];const serializationHash=\"framer-wErxO\";const variantClassNames={eiiOZxkpt:\"framer-v-1nd911v\",QVcnai63x:\"framer-v-1rtx59n\",yESLvzHZE:\"framer-v-oi0r8n\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const Wld3NDzSj=undefined;const transition1={duration:0,type:\"tween\"};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return undefined;};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={Default:\"yESLvzHZE\",Hidden:\"eiiOZxkpt\",Loading:\"QVcnai63x\"};const Variants=motion.create(React.Fragment);const getProps=({click,height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"yESLvzHZE\",Wld3NDzSj:click??props.Wld3NDzSj};};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,Wld3NDzSj,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"yESLvzHZE\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const isDisplayed=()=>{if(baseVariant===\"eiiOZxkpt\")return false;return true;};const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapn9xadi=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(Wld3NDzSj){const res=await Wld3NDzSj(...args);if(res===false)return false;}});const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const onClick1rvwcbu=activeVariantCallback(async(...args)=>{if(Wld3NDzSj){const res=await Wld3NDzSj(...args);if(res===false)return false;}});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-oi0r8n\",className,classNames),\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"yESLvzHZE\",onTap:onTapn9xadi,ref:refBinding,style:{...style},...addPropertyOverrides({QVcnai63x:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1mqg9cx-container\",\"data-code-component-plugin-id\":\"api\",isAuthoredByUser:true,layoutDependency:layoutDependency,layoutId:\"l6YIx7rKC-container\",nodeId:\"l6YIx7rKC\",rendersWithMotion:true,scopeId:\"sYrsJEvsh\",children:/*#__PURE__*/_jsx(ButtonLoadMoreAtom,{ariaLabel:\"\",brand:\"bunq\",breakpoint:\"desktop\",height:\"100%\",id:\"l6YIx7rKC\",label:\"Load more\",layoutId:\"l6YIx7rKC\",onClick:onClick1rvwcbu,size:\"medium\",theme:\"default\",themeTricount:\"default\",variant:matchVariant(\"default\"),width:\"100%\",widthMode:\"intrinsic\",...addPropertyOverrides({QVcnai63x:{variant:matchVariant(\"loading\")}},baseVariant,gestureVariant)})})})})})})});});const css=[\".framer-wErxO.framer-dwjopo, .framer-wErxO .framer-dwjopo { display: block; }\",\".framer-wErxO.framer-oi0r8n { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; padding: 0px; position: relative; width: min-content; }\",\".framer-wErxO .framer-1mqg9cx-container { flex: none; height: auto; position: relative; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 100\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"QVcnai63x\":{\"layout\":[\"auto\",\"auto\"]},\"eiiOZxkpt\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Wld3NDzSj\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramersYrsJEvsh=withCSS(Component,css,\"framer-wErxO\");export default FramersYrsJEvsh;FramersYrsJEvsh.displayName=\"Load More\";FramersYrsJEvsh.defaultProps={height:40,width:100};addPropertyControls(FramersYrsJEvsh,{variant:{options:[\"yESLvzHZE\",\"QVcnai63x\",\"eiiOZxkpt\"],optionTitles:[\"Default\",\"Loading\",\"Hidden\"],title:\"Variant\",type:ControlType.Enum},Wld3NDzSj:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramersYrsJEvsh,[{explicitInter:true,fonts:[]},...ButtonLoadMoreAtomFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramersYrsJEvsh\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"QVcnai63x\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"eiiOZxkpt\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"Wld3NDzSj\\\":\\\"click\\\"}\",\"framerIntrinsicWidth\":\"100\",\"framerIntrinsicHeight\":\"40\",\"framerDisplayContentsDiv\":\"false\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{useCallback,useEffect,useState}from\"react\";import{EMPTY_PRESS_CMS_FILTERS,buildPressCmsSearch,readPressCmsFilters}from\"https://framerusercontent.com/modules/1dyK7hNbtERVtkpumhWn/qc3PSInqyLQCKqQrq7cs/pressCmsFilters.js\";function writePressCmsFilters(state){const{location,history}=window;const search=buildPressCmsSearch(location.search,state);if(search===location.search)return;history.replaceState(history.state,\"\",`${location.pathname}${search}${location.hash}`);window.dispatchEvent(new PopStateEvent(\"popstate\",{state:history.state}));}export function usePressCmsFilters(enabled){const[filters,setFilters]=useState(EMPTY_PRESS_CMS_FILTERS);useEffect(()=>{if(!enabled||typeof window===\"undefined\")return undefined;const sync=()=>setFilters(readPressCmsFilters(window.location.search));sync();window.addEventListener(\"popstate\",sync);return()=>window.removeEventListener(\"popstate\",sync);},[enabled]);const updateFilters=useCallback(next=>{setFilters(next);if(enabled&&typeof window!==\"undefined\")writePressCmsFilters(next);},[enabled]);return[filters,updateFilters];}// recompile: 1791801118740\n\nexport const __FramerMetadata__ = {\"exports\":{\"usePressCmsFilters\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export function asTransition(value){return value;}export function reducedMotionTransition(reduced,transition){if(reduced)return asTransition({duration:0});return asTransition(transition);}\nexport const __FramerMetadata__ = {\"exports\":{\"reducedMotionTransition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"asTransition\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./motion.map","/**\n * @framerIntrinsicWidth 220\n * @framerIntrinsicHeight 48\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,useRef,useState,useEffect,useCallback,useId,useMemo}from\"react\";import{motion,AnimatePresence}from\"framer-motion\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer,useLocaleInfo}from\"framer\";import{FRAMER_BREAKPOINT_DESCRIPTION,FRAMER_THEME_DESCRIPTION_FORM_WITH_CHILDREN}from\"https://framerusercontent.com/modules/4Z728SQ7FxVsXZl0938S/BUDDgZnon2tL6QsxrogC/propertyControlCopy.js\";import{useReducedMotion,getColorValue,getSpacing,getRadius,getResponsiveSpacing,getTransition,getFocusOutlineWidth,getBrightnessFilter,getTypographyStyles,getFramerTransition}from\"https://framerusercontent.com/modules/8Zji6gUHadeLlN0mKx3f/JBNlOEOGCerb8iTZamM8/colors.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/h3NOSmne29xK0GpczE2C/hzq8Ydb7YQkaxaWkeziN/useInteractiveStates.js\";import{useClickOutside}from\"https://framerusercontent.com/modules/tckVUgRbcjlrtBH7Cr9N/wHhUCAEXdHXRDOtJxNDK/useClickOutside.js\";import{getDropdownContainerStyles,getDropdownOptionStyles}from\"https://framerusercontent.com/modules/bkt2i6AMLc0Ab3B5CZ5y/OgmHiN6TbkqZdD64MLvf/styles.js\";import{getIcon}from\"https://framerusercontent.com/modules/oIbUfPOYehFfDQtPpTxx/xLaJizrzKhj1OuoqMUaO/icons.js\";import{asTransition}from\"https://framerusercontent.com/modules/6IHzE1TRDPqbfS0oYZwC/3832n3dnQETYoZDg2sZG/motion.js\";import{createDropdownVariants}from\"https://framerusercontent.com/modules/4l6MEVUFEQ23JdNogX3J/0Mpo5L7EOXe5BahZSuPd/motionVariants.js\";import LiquidGlassSurface from\"https://framerusercontent.com/modules/qaUBTS0w6bS14m3fO3Sq/bao82biwTNv7LL69G7Y4/LiquidGlassSurface.js\";import{getInputBorder,insetByInputBorder}from\"https://framerusercontent.com/modules/xDOGrN5lDOAgQLRO8Hoi/SWQlwypb0FiZboNG8q0Y/inputStyles.js\";import{findCollectionRoot,getCollectionItems}from\"https://framerusercontent.com/modules/smxoUIXEbua3faveppGw/5E2nMxkYvcG0xHVbQtz2/collectionRegistry.js\";import{isFramerStaticMotionContext}from\"https://framerusercontent.com/modules/884VZN72AK74xFaYdOHQ/h0wGzhWaOA0jzrG3DO1r/framerStaticMotionContext.js\";import{sortCollectionOptions}from\"https://framerusercontent.com/modules/8n5SkFYypAjTo73MyYbn/4Cm9xHDoFSVlKISDfx1C/collectionOptionOrder.js\";import{getBrandFocusColor,getThemeColors,isLightThemeSurface,resolveBrand}from\"https://framerusercontent.com/modules/fF40Dj0DuNtMWi6XblPF/5dRqb00W5X8L4aoll9bF/themeHelpers.js\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/Fk2t5Uqez4vSxN8Kkr0t/np8YWBjz2ODSW8OUB3sM/breakpointControl.js\";import{brandPropertyControl,themePropertyControls}from\"https://framerusercontent.com/modules/6fLGaxLId8P57R07yoYq/JviRce2bBZtj3w1Ppgaf/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/39r6SIsK3yJ8CSFGq0EK/vyCWOhHOgeo2ZcD59cd7/themeControl.js\";function getAllCollectionItem(source){return getCollectionItems(source);}function getLayerValues(textContent,splitValues){if(!splitValues){const value=textContent.trim();return value?[value]:[];}return textContent.split(\",\").map(value=>value.trim()).filter(value=>value.length>0);}function resolveDropdownMaxWidth(sizeToLabel,breakpoint){if(!sizeToLabel){return getSpacing(220);}return breakpoint===\"phone\"?\"100%\":getSpacing(320);}function applyFilterAttribute(item,uniqueId,matches){item.setAttribute(`data-filter-${uniqueId}`,matches?\"match\":\"no-match\");}const LEGACY_DEFAULT_ARIA_LABEL=\"Filter by Title\";const CollectionDropdownInternal=/*#__PURE__*/forwardRef(function CollectionDropdownInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint=\"desktop\",brand,layerName=\"Title\",allOptionLabel=\"All\",showAllLabelWhenEmpty=false,placeholderLabel=\"\",splitValues=true,optionOrder=\"alphabetical\",sizeToLabel=false,ariaLabel:ariaLabelProp=\"\",disabled=false,options:controlledOptions,value:controlledValue,onValueChange,style,id}=props;const isControlled=controlledOptions!==undefined;const resolvedBrand=resolveBrand(brand);const lightSurface=isLightThemeSurface(theme,resolvedBrand);const[isOpen,setIsOpen]=useState(false);const[collectedOptions,setOptions]=useState([]);const[localSelectedOption,setSelectedOption]=useState(\"\");const options=controlledOptions??collectedOptions;const selectedOption=isControlled?controlledValue??\"\":localSelectedOption;const[focusedOptionIndex,setFocusedOptionIndex]=useState(-1);const containerRef=useRef(null);const componentId=useId();const uniqueId=useRef(`collection-dropdown-${componentId}`);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const disableLivePolling=isCanvas||isFramerStaticMotionContext();const reducedMotion=useReducedMotion();const isStaticRenderer=useIsStaticRenderer();const skipMotion=reducedMotion||isStaticRenderer;const{activeLocale}=useLocaleInfo();const activeLocaleCode=activeLocale?.code;const{isHovered,isFocused,isPressed,handlers:baseHandlers}=useInteractiveStates(disabled,{brand:resolvedBrand,theme});useClickOutside(containerRef,()=>setIsOpen(false),isOpen);const fetchOptions=useCallback(()=>{try{const allItem=getAllCollectionItem(containerRef.current);const optionValues=[];allItem.forEach(child=>{try{const textLayers=child.querySelectorAll(`[data-framer-name=\"${layerName}\"]`);textLayers.forEach(layer=>{getLayerValues(layer.textContent||\"\",splitValues).forEach(value=>{if(!optionValues.includes(value)){optionValues.push(value);}});});}catch{}});const documentLocale=typeof document===\"undefined\"?undefined:document.documentElement.lang;setOptions(sortCollectionOptions(optionValues,optionOrder,activeLocaleCode||documentLocale));}catch{}},[layerName,optionOrder,activeLocaleCode,splitValues]);const applyFilters=useCallback(()=>{try{const allItem=getAllCollectionItem(containerRef.current);allItem.forEach(child=>{try{const textLayers=child.querySelectorAll(`[data-framer-name=\"${layerName}\"]`);if(selectedOption===\"\"){applyFilterAttribute(child,uniqueId.current,true);return;}if(textLayers.length>0){const allValues=[];textLayers.forEach(layer=>{allValues.push(...getLayerValues(layer.textContent||\"\",splitValues));});const matches=allValues.includes(selectedOption);applyFilterAttribute(child,uniqueId.current,matches);}else{applyFilterAttribute(child,uniqueId.current,false);}}catch{}});}catch{}},[selectedOption,layerName,splitValues]);useEffect(()=>{if(disableLivePolling||isControlled){return()=>{};}let scheduledFrame=0;const refresh=()=>{fetchOptions();applyFilters();};const scheduleRefresh=()=>{if(scheduledFrame!==0)return;scheduledFrame=window.requestAnimationFrame(()=>{scheduledFrame=0;refresh();});};refresh();const COLLECTION_ROOT_RETRY_MS=2e3;let observer=null;let fallbackInterval=0;let rootFrame=0;const retryStartedAt=Date.now();const attachObserver=()=>{const collectionRoot=findCollectionRoot(containerRef.current);if(!collectionRoot){if(Date.now()-retryStartedAt>=COLLECTION_ROOT_RETRY_MS){return;}rootFrame=window.requestAnimationFrame(attachObserver);return;}refresh();if(typeof MutationObserver===\"undefined\"){fallbackInterval=window.setInterval(refresh,1e3);return;}observer=new MutationObserver(scheduleRefresh);observer.observe(collectionRoot,{childList:true,subtree:true,characterData:true});};attachObserver();return()=>{observer?.disconnect();if(rootFrame)window.cancelAnimationFrame(rootFrame);if(scheduledFrame!==0)window.cancelAnimationFrame(scheduledFrame);if(fallbackInterval)window.clearInterval(fallbackInterval);};},[disableLivePolling,isControlled,layerName,fetchOptions,applyFilters]);useEffect(()=>{if(disableLivePolling||isControlled){return;}applyFilters();},[selectedOption,disableLivePolling,isControlled,applyFilters]);const toggleDropdown=useCallback(()=>{if(disabled){return;}if(isOpen){setFocusedOptionIndex(-1);}setIsOpen(!isOpen);},[disabled,isOpen]);const handleOptionClick=useCallback(option=>{const newOption=option===allOptionLabel?\"\":option;if(isControlled){onValueChange?.(newOption);}else{setSelectedOption(newOption);}setIsOpen(false);setFocusedOptionIndex(-1);},[allOptionLabel,isControlled,onValueChange]);useEffect(()=>{if(isOpen&&options.length>0){setFocusedOptionIndex(0);}else if(!isOpen){setFocusedOptionIndex(-1);}},[isOpen,options.length]);const handleKeyDown=useCallback(e=>{if(e.key===\"Escape\"){setIsOpen(false);setFocusedOptionIndex(-1);return;}if(disabled){return;}if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();if(isOpen&&focusedOptionIndex>=0){const allOptionsArray=[allOptionLabel,...options];const option=allOptionsArray[focusedOptionIndex];handleOptionClick(option);}else{toggleDropdown();}}else if(e.key===\"ArrowDown\"){e.preventDefault();if(!isOpen){setIsOpen(true);}else{const allOptionsArray=[allOptionLabel,...options];setFocusedOptionIndex(prev=>prev<allOptionsArray.length-1?prev+1:0);}}else if(e.key===\"ArrowUp\"){e.preventDefault();if(isOpen){const allOptionsArray=[allOptionLabel,...options];setFocusedOptionIndex(prev=>prev>0?prev-1:allOptionsArray.length-1);}}},[disabled,isOpen,focusedOptionIndex,options,toggleDropdown,handleOptionClick,allOptionLabel]);const isActive=selectedOption!==\"\";const themeColors=getThemeColors(theme,resolvedBrand);const textColor=disabled?getColorValue(\"/Text/text-disabled\"):themeColors.textPrimary;const focusBorderColor=getBrandFocusColor(resolvedBrand,theme);const selectorTextColor=disabled?getColorValue(\"/Text/text-disabled\"):isActive?themeColors.textPrimary:themeColors.textTertiary;const backgroundColorPath=resolvedBrand===\"bunq\"&&theme===\"inverted\"?\"/Backgrounds/bg-inverted-primary\":\"/Backgrounds/bg-tertiary\";const getDisplayTitle=()=>{if(selectedOption!==\"\"){return selectedOption;}if(showAllLabelWhenEmpty){return allOptionLabel;}return placeholderLabel.trim()||layerName;};const containerStyle={position:\"relative\",width:\"100%\",minWidth:0,maxWidth:resolveDropdownMaxWidth(sizeToLabel,breakpoint),userSelect:\"none\"};const surfaceRadiusPx=parseFloat(getRadius(\"radius-lg\"))||parseFloat(getSpacing(12));const selectorStyle=useMemo(()=>({padding:insetByInputBorder(getResponsiveSpacing(12,breakpoint)),borderRadius:getRadius(\"radius-lg\"),border:getInputBorder(theme,resolvedBrand,disabled),outlineOffset:getSpacing(2),cursor:disabled?\"not-allowed\":\"pointer\",display:\"flex\",justifyContent:\"space-between\",alignItems:\"center\",transition:skipMotion?\"none\":`${getTransition(\"filter\",\"quick\")}, ${getTransition(\"outline\",\"quick\")}`,background:\"transparent\",position:\"relative\",isolation:\"isolate\",overflow:\"hidden\",outline:isFocused?`${getFocusOutlineWidth()} solid ${focusBorderColor}`:\"none\",filter:getBrightnessFilter(disabled,isHovered,isPressed),...getTypographyStyles(\"/Body MD/Light\",breakpoint)}),[breakpoint,theme,resolvedBrand,disabled,skipMotion,isFocused,isHovered,isPressed,focusBorderColor]);const selectorTextStyle={marginRight:getResponsiveSpacing(8,breakpoint),whiteSpace:\"nowrap\",overflow:\"hidden\",textOverflow:\"ellipsis\",pointerEvents:\"none\",color:selectorTextColor};const chevronStyle={display:\"flex\",alignItems:\"center\",flexShrink:0,pointerEvents:\"none\",width:getSpacing(24),height:getSpacing(24),filter:disabled?getBrightnessFilter(true,false,false):undefined};const dropdownStyles=getDropdownContainerStyles({breakpoint,brand:resolvedBrand,theme,backgroundColor:backgroundColorPath});const getOptionStyles=(isSelected,isHoveredOption)=>{return getDropdownOptionStyles({breakpoint,brand:resolvedBrand,theme,isSelected,isHovered:isHoveredOption,reducedMotion:skipMotion,selectedTextColor:lightSurface?\"/Text/text-inverted-primary\":\"/Text/text-primary\",unselectedTextColor:lightSurface?\"/Text/text-inverted-secondary\":\"/Text/text-secondary\"});};const transition=skipMotion?{duration:0}:getFramerTransition(\"quick\");const dropdownVariants=createDropdownVariants(skipMotion);const activeDescendantId=focusedOptionIndex>=0?`dropdown-option-${componentId}-${focusedOptionIndex}`:undefined;const listboxId=`collection-dropdown-listbox-${componentId}`;const trimmedAriaLabel=ariaLabelProp.trim();const isLegacyDefaultAriaLabel=trimmedAriaLabel.toLowerCase()===LEGACY_DEFAULT_ARIA_LABEL.toLowerCase();const authorAriaLabel=isLegacyDefaultAriaLabel?\"\":trimmedAriaLabel;const visibleLabel=showAllLabelWhenEmpty?allOptionLabel.trim():placeholderLabel.trim();const resolvedAriaLabel=authorAriaLabel||visibleLabel||undefined;const selectorTextId=`collection-dropdown-text-${componentId}`;const setContainerRef=useCallback(node=>{containerRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref){ref.current=node;}},[ref]);return /*#__PURE__*/_jsxs(\"div\",{ref:setContainerRef,id:id,style:{...containerStyle,outline:\"none\",...style},onKeyDown:handleKeyDown,onFocus:baseHandlers.onFocus,onBlur:baseHandlers.onBlur,tabIndex:disabled?-1:0,role:\"combobox\",\"aria-expanded\":isOpen,\"aria-controls\":isOpen?listboxId:undefined,\"aria-haspopup\":\"listbox\",\"aria-activedescendant\":activeDescendantId,\"aria-label\":resolvedAriaLabel,\"aria-labelledby\":resolvedAriaLabel?undefined:selectorTextId,\"aria-disabled\":disabled,children:[/*#__PURE__*/_jsxs(\"div\",{onClick:toggleDropdown,onMouseEnter:baseHandlers.onMouseEnter,onMouseLeave:baseHandlers.onMouseLeave,onMouseDown:baseHandlers.onMouseDown,onMouseUp:baseHandlers.onMouseUp,style:selectorStyle,children:[resolvedBrand===\"tricount\"?/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,zIndex:-1,borderRadius:surfaceRadiusPx,background:themeColors.bgTertiary,border:`1px solid ${themeColors.borderPrimary}`,boxSizing:\"border-box\",pointerEvents:\"none\"}}):/*#__PURE__*/_jsx(LiquidGlassSurface,{theme:theme,brand:resolvedBrand,radius:surfaceRadiusPx,interactive:false,style:{zIndex:-1}}),/*#__PURE__*/_jsx(\"div\",{id:selectorTextId,style:selectorTextStyle,children:getDisplayTitle()}),/*#__PURE__*/_jsx(motion.div,{\"aria-hidden\":\"true\",animate:{rotate:isOpen?180:0},transition:asTransition(transition),style:chevronStyle,dangerouslySetInnerHTML:{__html:getIcon(\"chevron-down\",24,textColor,{opticalInset:0})}})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:isOpen&&/*#__PURE__*/_jsxs(motion.div,{id:listboxId,variants:dropdownVariants,initial:\"hidden\",animate:\"visible\",exit:\"exit\",style:dropdownStyles,role:\"listbox\",children:[/*#__PURE__*/_jsx(\"div\",{id:`dropdown-option-${componentId}-0`,onClick:()=>handleOptionClick(allOptionLabel),onMouseEnter:()=>setFocusedOptionIndex(0),style:getOptionStyles(selectedOption===\"\",focusedOptionIndex===0),role:\"option\",\"aria-selected\":selectedOption===\"\",tabIndex:-1,children:allOptionLabel}),options.map((option,index)=>{const optionIndex=index+1;const isSelected=option===selectedOption;return /*#__PURE__*/_jsx(\"div\",{id:`dropdown-option-${componentId}-${optionIndex}`,onClick:()=>handleOptionClick(option),onMouseEnter:()=>setFocusedOptionIndex(optionIndex),style:getOptionStyles(isSelected,focusedOptionIndex===optionIndex),role:\"option\",\"aria-selected\":isSelected,tabIndex:-1,children:option},`${componentId}-${optionIndex}`);})]},\"collection-dropdown-panel\")})]});});export default function CollectionDropdown(props){return /*#__PURE__*/_jsx(CollectionDropdownInternal,{...props});}CollectionDropdown.displayName=\"Collection Dropdown - Atom\";addPropertyControls(CollectionDropdown,{layerName:{type:ControlType.String,title:\"Layer Name\",defaultValue:\"Title\",placeholder:\"Enter layer name...\",description:\"Data-framer-name attribute value to extract filter options from.\"},allOptionLabel:{type:ControlType.String,title:\"All Option Label\",defaultValue:\"All\",placeholder:\"Enter label...\",description:\"Label for the 'All' option that clears the filter.\"},showAllLabelWhenEmpty:{type:ControlType.Boolean,title:\"Button Text\",defaultValue:false,enabledTitle:\"All Label\",disabledTitle:\"Layer Name\",description:\"What the button says before anything is picked: the layer name (for example Topic) or the All option label (for example All topics).\"},placeholderLabel:{type:ControlType.String,title:\"Placeholder Label\",defaultValue:\"\",placeholder:\"e.g. Departments\",description:\"Button text before anything is picked, instead of the layer name. Leave empty to show the layer name.\",hidden:({showAllLabelWhenEmpty})=>showAllLabelWhenEmpty===true},splitValues:{type:ControlType.Boolean,title:\"Split Values\",defaultValue:true,enabledTitle:\"Split\",disabledTitle:\"Whole\",description:\"Split layer text on commas into separate options. Turn off to keep the full text as one option, for example Risk, Legal & Compliance.\"},optionOrder:{type:ControlType.Enum,title:\"Option Order\",options:[\"alphabetical\",\"descending\",\"calendar\"],optionTitles:[\"A to Z\",\"Newest First\",\"Calendar\"],displaySegmentedControl:true,defaultValue:\"alphabetical\",description:\"A to Z sorts options alphabetically. Newest First sorts from high to low, for years such as 2026, 2025. Calendar sorts month names January to December in the page language, with other values last.\"},disabled:{type:ControlType.Boolean,title:\"Disabled\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false,description:\"Disable user interaction with the component.\"},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"\",placeholder:\"e.g. Filter by category\",description:\"Only when the button text does not describe the filter. When empty, the Placeholder Label (or All Option Label) names the dropdown, otherwise the visible button text.\"},id:{type:ControlType.String,title:\"ID\",defaultValue:\"collection-dropdown\",placeholder:\"e.g. my-element\",description:\"HTML id for the root element (e.g. for analytics or anchor links).\",preventLocalization:true},...breakpointPropertyControl(FRAMER_BREAKPOINT_DESCRIPTION),...themePropertyControls(FRAMER_THEME_DESCRIPTION_FORM_WITH_CHILDREN),...brandPropertyControl()});\nexport const __FramerMetadata__ = {\"exports\":{\"CollectionDropdownProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CollectionDropdown\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\n * @framerIntrinsicWidth 400\n * @framerIntrinsicHeight 48\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,useRef,useState,useEffect,useCallback,useId,useMemo}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{FRAMER_BREAKPOINT_DESCRIPTION}from\"https://framerusercontent.com/modules/4Z728SQ7FxVsXZl0938S/BUDDgZnon2tL6QsxrogC/propertyControlCopy.js\";import{useReducedMotion,getBrightnessFilter,getColorValue,getControlSize,getControlSizeValue,getFocusOutlineWidth,getRadius,getResponsiveSpacing,getSpacing,getTransition,getTypographyStyles}from\"https://framerusercontent.com/modules/8Zji6gUHadeLlN0mKx3f/JBNlOEOGCerb8iTZamM8/colors.js\";import Button from\"https://framerusercontent.com/modules/o4Fhf5iWe5JcEfiqAl89/BxV6RXHOgjkmT3urGlmk/Button.js\";import LiquidGlassSurface from\"https://framerusercontent.com/modules/qaUBTS0w6bS14m3fO3Sq/bao82biwTNv7LL69G7Y4/LiquidGlassSurface.js\";import{findCollectionRoot,getCollectionItems,getCollectionScopeId}from\"https://framerusercontent.com/modules/smxoUIXEbua3faveppGw/5E2nMxkYvcG0xHVbQtz2/collectionRegistry.js\";import{isFramerEditorEnvironment}from\"https://framerusercontent.com/modules/zTeqvkQPcFXcrQFJLGMt/nRsI3BzABvDuomiN6n7w/useInViewport.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/uB3DAGPg4zF79hUybIHP/4LOn8AvjATGBwnTHulEi/usePageLanguage.js\";import{getAccessibilityStrings}from\"https://framerusercontent.com/modules/8M32SlBFdrVZwS1ewVLs/Bt9o1aYcRDi3XivEewxj/accessibilityLocalization.js\";import{VISUALLY_HIDDEN_STYLE}from\"https://framerusercontent.com/modules/kJrHete7MvqpOocTF7jJ/DG0p8AmReEfmxFFv6tOV/layoutStyles.js\";import{getBrandFocusColor,getThemeColors,resolveBrand}from\"https://framerusercontent.com/modules/fF40Dj0DuNtMWi6XblPF/5dRqb00W5X8L4aoll9bF/themeHelpers.js\";import{brandPropertyControl}from\"https://framerusercontent.com/modules/6fLGaxLId8P57R07yoYq/JviRce2bBZtj3w1Ppgaf/brandControl.js\";import{themePropertyControls,resolveThemeProp}from\"https://framerusercontent.com/modules/39r6SIsK3yJ8CSFGq0EK/vyCWOhHOgeo2ZcD59cd7/themeControl.js\";const DEFAULT_ITEMS_PER_PAGE=12;const DEFAULT_MAX_VISIBLE_PAGES=5;const DEFAULT_GAP=8;const DEFAULT_SCROLL_THRESHOLD=200;const INITIALIZATION_CHECK_INTERVAL_MS=100;const MAX_INITIALIZATION_ATTEMPTS=60;const LOAD_MORE_DELAY_MS=300;const isBrowser=typeof window!==\"undefined\";const LEGACY_DEFAULT_ARIA_LABEL=\"Pagination navigation\";function getPageKey(page,index){if(typeof page===\"number\"){return`page-${page}`;}return index===1?\"ellipsis-start\":\"ellipsis-end\";}function getAllCollectionItem(source){if(isBrowser===false){return[];}return getCollectionItems(source);}function countFilteredItem(source){const allItem=getAllCollectionItem(source);return allItem.filter(item=>{const allFilterAttribute=item.getAttributeNames().filter(name=>name.startsWith(\"data-filter-\"));if(allFilterAttribute.length>0){return allFilterAttribute.every(attr=>item.getAttribute(attr)===\"match\");}return true;}).length;}const CollectionPaginationInternal=/*#__PURE__*/forwardRef(function CollectionPaginationInternal(props,ref){const theme=resolveThemeProp(props);const{mode=\"pagination\",brand,itemsPerPage=DEFAULT_ITEMS_PER_PAGE,maxVisiblePages=DEFAULT_MAX_VISIBLE_PAGES,loadMoreText=\"Load More\",loadingText=\"Loading...\",morePagesLabel=\"More pages\",scrollThreshold=DEFAULT_SCROLL_THRESHOLD,ariaLabel=\"\",style,breakpoint=\"desktop\",id}=props;const resolvedItemsPerPage=Number.isFinite(itemsPerPage)?Math.floor(itemsPerPage):DEFAULT_ITEMS_PER_PAGE;const safeItemsPerPage=Math.max(1,Math.min(100,resolvedItemsPerPage||DEFAULT_ITEMS_PER_PAGE));const resolvedMaxVisible=Number.isFinite(maxVisiblePages)?Math.floor(maxVisiblePages):DEFAULT_MAX_VISIBLE_PAGES;const safeMaxVisiblePages=Math.max(3,Math.min(15,resolvedMaxVisible||DEFAULT_MAX_VISIBLE_PAGES));const surfaceRadiusPx=parseFloat(getRadius(\"radius-lg\"))||parseFloat(getSpacing(12));const activeColoredGlassAccent=getColorValue(\"/Backgrounds/bg-brand-bunq-solid\");const resolvedBrand=resolveBrand(brand);const themeColors=getThemeColors(theme,resolvedBrand);const renderChipSurface=isActive=>{if(resolvedBrand===\"tricount\"){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,zIndex:-1,borderRadius:surfaceRadiusPx,background:isActive?themeColors.bgBrand:themeColors.bgTertiary,border:`1px solid ${isActive?themeColors.borderBrand:themeColors.borderPrimary}`,boxSizing:\"border-box\",pointerEvents:\"none\"}});}if(isActive){return /*#__PURE__*/_jsx(LiquidGlassSurface,{theme:theme,brand:resolvedBrand,variant:\"colored\",surface:\"button\",accentColor:activeColoredGlassAccent,radius:surfaceRadiusPx,interactive:false,style:{zIndex:-1}});}return /*#__PURE__*/_jsx(LiquidGlassSurface,{theme:theme,brand:resolvedBrand,radius:surfaceRadiusPx,interactive:false,style:{zIndex:-1}});};const[currentPage,setCurrentPage]=useState(1);const[totalItems,setTotalItems]=useState(0);const[isInitialized,setIsInitialized]=useState(false);const[isLoading,setIsLoading]=useState(false);const[hoveredPage,setHoveredPage]=useState(null);const[loadAnnouncement,setLoadAnnouncement]=useState({count:0,sequence:0});const[pageAnnouncement,setPageAnnouncement]=useState(null);const pageLanguage=usePageLanguage();const accessibilityStrings=useMemo(()=>getAccessibilityStrings(pageLanguage),[pageLanguage]);const trimmedAriaLabel=ariaLabel.trim();const navigationLabel=trimmedAriaLabel&&trimmedAriaLabel!==LEGACY_DEFAULT_ARIA_LABEL?trimmedAriaLabel:accessibilityStrings.pagination;const isEditor=isFramerEditorEnvironment();const reactId=useId();const scopeId=useMemo(()=>`bunq-cp-${reactId.replace(/:/g,\"\")}`,[reactId]);const focusCss=useMemo(()=>`\n.${scopeId}-page:focus { outline: none; }\n.${scopeId}-page:focus-visible { outline: ${getFocusOutlineWidth()} solid ${getBrandFocusColor(resolvedBrand,theme)}; outline-offset: ${getSpacing(2)}; }\n`,[resolvedBrand,theme,scopeId]);const totalItemsRef=useRef(0);const currentPageRef=useRef(currentPage);const lastScrollY=useRef(0);const rootRef=useRef(null);const getPaginationScopeId=useCallback(()=>getCollectionScopeId(rootRef.current)??scopeId,[scopeId]);const setRootRef=useCallback(node=>{rootRef.current=node;if(typeof ref===\"function\"){ref(node);}else if(ref){ref.current=node;}},[ref]);const reducedMotion=useReducedMotion();const isStaticRenderer=useIsStaticRenderer();const skipMotion=reducedMotion||isStaticRenderer;const MotionButton=isStaticRenderer?\"button\":motion.button;currentPageRef.current=currentPage;const isPreviewMode=isEditor;const totalPages=Math.ceil(totalItems/safeItemsPerPage);const totalPagesRef=useRef(totalPages);const loadMoreTimeoutRef=useRef(undefined);totalPagesRef.current=totalPages;const scheduleNextPage=useCallback(()=>{if(loadMoreTimeoutRef.current!==undefined)return;setIsLoading(true);loadMoreTimeoutRef.current=window.setTimeout(()=>{loadMoreTimeoutRef.current=undefined;const previousPage=currentPageRef.current;const nextPage=Math.min(previousPage+1,Math.max(1,totalPagesRef.current));const total=totalItemsRef.current;const loadedCount=Math.min(total,nextPage*safeItemsPerPage)-Math.min(total,previousPage*safeItemsPerPage);setCurrentPage(page=>Math.min(page+1,Math.max(1,totalPagesRef.current)));if(loadedCount>0){setLoadAnnouncement(previous=>({count:loadedCount,sequence:previous.sequence+1}));}setIsLoading(false);},LOAD_MORE_DELAY_MS);},[safeItemsPerPage]);useEffect(()=>{if(loadMoreTimeoutRef.current!==undefined){window.clearTimeout(loadMoreTimeoutRef.current);loadMoreTimeoutRef.current=undefined;}setIsLoading(false);return()=>{if(loadMoreTimeoutRef.current!==undefined){window.clearTimeout(loadMoreTimeoutRef.current);loadMoreTimeoutRef.current=undefined;}};},[mode]);const initializePagination=useCallback(()=>{if(!isBrowser){return undefined;}try{const filteredCount=countFilteredItem(rootRef.current);totalItemsRef.current=filteredCount;setTotalItems(filteredCount);setIsInitialized(true);if(window.updatePagination){const pageForConfig=currentPageRef.current;const config={itemsPerPage:mode===\"pagination\"?safeItemsPerPage:safeItemsPerPage*pageForConfig,currentPage:mode===\"pagination\"?pageForConfig:1,isEnabled:true,mode:mode,scopeId:getPaginationScopeId()};window.updatePagination(config);}let filterChanged=false;const recount=()=>{try{const newFilteredCount=countFilteredItem(rootRef.current);if(filterChanged){filterChanged=false;if(currentPageRef.current!==1){setCurrentPage(1);}}if(newFilteredCount!==totalItemsRef.current){totalItemsRef.current=newFilteredCount;setTotalItems(newFilteredCount);const newTotalPages=Math.ceil(newFilteredCount/safeItemsPerPage);if(currentPageRef.current>newTotalPages&&newTotalPages>0){setCurrentPage(newTotalPages);}}}catch{}};if(typeof MutationObserver===\"undefined\"){const fallbackId=setInterval(recount,1e3);return()=>clearInterval(fallbackId);}let scheduled=0;const scheduleRecount=()=>{if(scheduled)return;scheduled=window.requestAnimationFrame(()=>{scheduled=0;recount();});};const collection=findCollectionRoot(rootRef.current);const target=collection??document.body;const observer=new MutationObserver(records=>{const filterValueChanged=records.some(record=>Boolean(record.attributeName?.startsWith(\"data-filter-\"))&&record.target instanceof Element&&record.oldValue!==record.target.getAttribute(record.attributeName??\"\"));if(filterValueChanged){filterChanged=true;}scheduleRecount();});observer.observe(target,{childList:true,subtree:true,attributes:true,attributeOldValue:true});return()=>{observer.disconnect();if(scheduled){window.cancelAnimationFrame(scheduled);}};}catch{return undefined;}},[getPaginationScopeId,mode,safeItemsPerPage]);useEffect(()=>{if(isEditor||!isBrowser){return()=>{};}const collectionScopeId=getCollectionScopeId(rootRef.current);const instanceKey=getPaginationScopeId();const recount=()=>{try{const newFilteredCount=countFilteredItem(rootRef.current);totalItemsRef.current=newFilteredCount;setTotalItems(newFilteredCount);const latestPage=currentPageRef.current;if(newFilteredCount===0&&latestPage!==1){setCurrentPage(1);}const newTotalPages=Math.ceil(newFilteredCount/safeItemsPerPage);if(latestPage>newTotalPages&&newTotalPages>0){setCurrentPage(newTotalPages);}}catch{}};window.__bunqPaginationInstances=window.__bunqPaginationInstances??{};window.__bunqPaginationInstances[instanceKey]={scopeId:collectionScopeId,setPage:page=>setCurrentPage(page),recount};window.paginationComponentExists=true;window.forcePaginationUpdate=(page,targetScopeId)=>{const instances=Object.entries(window.__bunqPaginationInstances??{});const targets=targetScopeId?instances.filter(([key,instance])=>key===targetScopeId||instance.scopeId===targetScopeId):instances;targets.forEach(([,instance])=>instance.setPage(page));};window.forceItemRecount=targetScopeId=>{const instances=Object.entries(window.__bunqPaginationInstances??{});const targets=targetScopeId?instances.filter(([key,instance])=>key===targetScopeId||instance.scopeId===targetScopeId):instances;targets.forEach(([,instance])=>instance.recount());};if(getAllCollectionItem(rootRef.current).length>0){const cleanup=initializePagination();return()=>{cleanup?.();delete window.__bunqPaginationInstances?.[instanceKey];const hasInstances=Object.keys(window.__bunqPaginationInstances??{}).length>0;window.paginationComponentExists=hasInstances;window.updatePagination?.({isEnabled:false,scopeId:collectionScopeId??instanceKey});if(!hasInstances){delete window.forcePaginationUpdate;delete window.forceItemRecount;}};}let attempts=0;let paginationCleanup;let quickCheckId=null;const tick=()=>{if(getAllCollectionItem(rootRef.current).length>0){if(quickCheckId!=null)clearInterval(quickCheckId);quickCheckId=null;paginationCleanup=initializePagination();return;}attempts++;if(attempts>MAX_INITIALIZATION_ATTEMPTS&&quickCheckId!=null){clearInterval(quickCheckId);quickCheckId=null;if(paginationCleanup===undefined){paginationCleanup=initializePagination();}}};quickCheckId=setInterval(tick,INITIALIZATION_CHECK_INTERVAL_MS);return()=>{if(quickCheckId!=null)clearInterval(quickCheckId);paginationCleanup?.();delete window.__bunqPaginationInstances?.[instanceKey];const hasInstances=Object.keys(window.__bunqPaginationInstances??{}).length>0;window.paginationComponentExists=hasInstances;window.updatePagination?.({isEnabled:false,scopeId:collectionScopeId??instanceKey});if(!hasInstances){delete window.forcePaginationUpdate;delete window.forceItemRecount;}};},[getPaginationScopeId,initializePagination,isEditor,safeItemsPerPage]);useEffect(()=>{if(!isBrowser){return;}if(isInitialized&&window.updatePagination){const config={itemsPerPage:mode===\"pagination\"?safeItemsPerPage:safeItemsPerPage*currentPage,currentPage:mode===\"pagination\"?currentPage:1,isEnabled:true,mode:mode,scopeId:getPaginationScopeId()};window.updatePagination(config);}},[currentPage,safeItemsPerPage,mode,isInitialized,getPaginationScopeId]);useEffect(()=>{if(isEditor||mode!==\"autoScroll\"||!isInitialized||!isBrowser){return;}const handleScroll=()=>{const scrollY=window.scrollY;const windowHeight=window.innerHeight;const documentHeight=document.documentElement.scrollHeight;if(scrollY>lastScrollY.current&&scrollY+windowHeight>=documentHeight-scrollThreshold&&currentPage<totalPages&&loadMoreTimeoutRef.current===undefined){scheduleNextPage();}lastScrollY.current=scrollY;};const scrollOpts={passive:true};window.addEventListener(\"scroll\",handleScroll,scrollOpts);return()=>window.removeEventListener(\"scroll\",handleScroll);},[isEditor,mode,scrollThreshold,currentPage,totalPages,isInitialized,scheduleNextPage]);const handlePageClick=useCallback(page=>{if(page!==currentPage&&page>=1&&page<=totalPages){setCurrentPage(page);setPageAnnouncement(page);}},[currentPage,totalPages]);const handleLoadMore=useCallback(()=>{if(currentPage<totalPages&&loadMoreTimeoutRef.current===undefined){scheduleNextPage();}},[currentPage,totalPages,scheduleNextPage]);const getVisiblePages=useCallback(()=>{const pages=[];if(totalPages<=safeMaxVisiblePages){for(let i=1;i<=totalPages;i++){pages.push(i);}return pages;}pages.push(1);let start=Math.max(2,currentPage-1);let end=Math.min(totalPages-1,currentPage+1);const slotsUsed=2;const slotsAvailable=safeMaxVisiblePages-slotsUsed;const determineCanExpandRange=()=>{if(start>2){return true;}return end<totalPages-1;};while(end-start+1<slotsAvailable&&determineCanExpandRange()){if(start>2&&end<totalPages-1){if(currentPage-start<=end-currentPage){start--;}else{end++;}}else if(start>2){start--;}else if(end<totalPages-1){end++;}}if(start===3){start=2;}if(end===totalPages-2){end=totalPages-1;}if(start>2){pages.push(\"...\");}for(let i=start;i<=end;i++){pages.push(i);}if(end<totalPages-1){pages.push(\"...\");}if(totalPages>1){pages.push(totalPages);}return pages;},[totalPages,safeMaxVisiblePages,currentPage]);if(isPreviewMode){if(mode===\"loadMore\"){return /*#__PURE__*/_jsx(\"div\",{ref:setRootRef,id:id,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",...style},children:/*#__PURE__*/_jsx(Button,{label:loadMoreText,variant:\"solid\",size:\"medium\",breakpoint:breakpoint,theme:theme,brand:resolvedBrand})});}if(mode===\"autoScroll\"){return /*#__PURE__*/_jsx(\"div\",{ref:setRootRef,id:id,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",padding:getResponsiveSpacing(20,breakpoint),...getTypographyStyles(\"/Body MD/Light\",breakpoint),color:themeColors.textSecondary,...style},children:loadingText});}const examplePages=[1,2,3,4,\"...\",10];const exampleCurrent=3;return /*#__PURE__*/_jsx(\"div\",{ref:setRootRef,id:id,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:getResponsiveSpacing(DEFAULT_GAP,breakpoint),...style},children:examplePages.map((page,index)=>{const isCurrent=page===exampleCurrent;const isEllipsis=page===\"...\";const showInactiveGlass=typeof page===\"number\"&&isCurrent===false&&isEllipsis===false;const showActiveColoredGlass=typeof page===\"number\"&&isCurrent===true&&isEllipsis===false;const sharedStyle={padding:`${getResponsiveSpacing(12,breakpoint)} ${getResponsiveSpacing(16,breakpoint)}`,background:\"transparent\",color:isCurrent?themeColors.textPrimary:themeColors.textSecondary,borderRadius:isEllipsis?0:getRadius(\"radius-lg\"),...getTypographyStyles(\"/Body MD/Heavy\",breakpoint),minWidth:getControlSize(\"default\"),minHeight:getControlSize(\"default\"),textAlign:\"center\",...showInactiveGlass||showActiveColoredGlass?{position:\"relative\",isolation:\"isolate\",overflow:\"hidden\"}:{}};if(isEllipsis){return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":\"true\",style:{...sharedStyle,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\"},children:page},getPageKey(page,index));}return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",\"aria-label\":accessibilityStrings.page(Number(page)),\"aria-current\":isCurrent?\"page\":undefined,style:{...sharedStyle,cursor:\"pointer\",border:\"none\",fontFamily:\"inherit\"},children:[showInactiveGlass?renderChipSurface(false):null,showActiveColoredGlass?renderChipSurface(true):null,page]},getPageKey(page,index));})});}if(!isInitialized){const reservedMinHeight=mode===\"autoScroll\"?undefined:getControlSizeValue(\"default\");return /*#__PURE__*/_jsx(\"div\",{ref:setRootRef,id:id,\"aria-hidden\":\"true\",style:{display:\"flex\",width:\"100%\",minHeight:reservedMinHeight,...style,visibility:\"hidden\"}});}if(totalItems===0){return null;}const currentTotalPages=Math.ceil(totalItems/safeItemsPerPage);if(currentTotalPages<=1&&mode===\"pagination\"){return null;}if(mode===\"loadMore\"){const hasMorePages=currentPage<totalPages;if(!hasMorePages&&loadAnnouncement.count===0){return null;}return /*#__PURE__*/_jsxs(\"div\",{ref:setRootRef,id:id,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",...style},children:[/*#__PURE__*/_jsx(\"span\",{role:\"status\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",style:VISUALLY_HIDDEN_STYLE,children:loadAnnouncement.count>0?/*#__PURE__*/_jsx(\"span\",{children:accessibilityStrings.itemsLoaded(loadAnnouncement.count)},loadAnnouncement.sequence):null}),hasMorePages?/*#__PURE__*/_jsx(Button,{label:isLoading?loadingText:loadMoreText,variant:\"solid\",size:\"medium\",loading:isLoading,breakpoint:breakpoint,theme:theme,brand:resolvedBrand,onClick:handleLoadMore}):null]});}if(mode===\"autoScroll\"){if(isLoading&&currentPage<totalPages){return /*#__PURE__*/_jsx(\"div\",{ref:setRootRef,id:id,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",padding:getResponsiveSpacing(20,breakpoint),...getTypographyStyles(\"/Body MD/Light\",breakpoint),color:themeColors.textSecondary,...style},children:loadingText});}return null;}const visiblePages=getVisiblePages();return /*#__PURE__*/_jsxs(\"nav\",{ref:setRootRef,id:id,\"aria-label\":navigationLabel,style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:getResponsiveSpacing(DEFAULT_GAP,breakpoint),...style},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:focusCss}}),/*#__PURE__*/_jsx(\"span\",{role:\"status\",\"aria-live\":\"polite\",\"aria-atomic\":\"true\",style:VISUALLY_HIDDEN_STYLE,children:pageAnnouncement===null?\"\":accessibilityStrings.page(pageAnnouncement)}),visiblePages.map((page,index)=>{const isEllipsis=page===\"...\";const isCurrentPage=typeof page===\"number\"&&page===currentPage;const showInactiveGlass=typeof page===\"number\"&&!isCurrentPage&&!isEllipsis;const showActiveColoredGlass=typeof page===\"number\"&&isCurrentPage&&!isEllipsis;return /*#__PURE__*/_jsxs(MotionButton,{type:\"button\",className:`${scopeId}-page`,onClick:()=>typeof page===\"number\"&&handlePageClick(page),disabled:isEllipsis,\"aria-label\":typeof page===\"number\"?accessibilityStrings.goToPage(page):morePagesLabel,\"aria-current\":isCurrentPage?\"page\":undefined,style:{padding:`${getResponsiveSpacing(12,breakpoint)} ${getResponsiveSpacing(16,breakpoint)}`,background:\"transparent\",color:isCurrentPage?themeColors.textPrimary:themeColors.textSecondary,borderRadius:isEllipsis?0:getRadius(\"radius-lg\"),cursor:isEllipsis?\"default\":\"pointer\",...getTypographyStyles(\"/Body MD/Heavy\",breakpoint),minWidth:getControlSize(\"default\"),minHeight:getControlSize(\"default\"),textAlign:\"center\",transition:isEllipsis?\"none\":skipMotion?\"none\":getTransition(\"filter\",\"quick\"),userSelect:\"none\",border:\"none\",filter:typeof page===\"number\"&&!isCurrentPage&&!isEllipsis&&hoveredPage===page?getBrightnessFilter(false,true,false):\"none\",...showInactiveGlass||showActiveColoredGlass?{position:\"relative\",isolation:\"isolate\",overflow:\"hidden\"}:{}},onMouseEnter:()=>{if(typeof page===\"number\"&&!isCurrentPage&&!isEllipsis){setHoveredPage(page);}},onMouseLeave:()=>{setHoveredPage(null);},whileTap:undefined,children:[showInactiveGlass?renderChipSurface(false):null,showActiveColoredGlass?renderChipSurface(true):null,page]},getPageKey(page,index));})]});});CollectionPaginationInternal.displayName=\"Collection Pagination - Atom\";export default function CollectionPagination(props){return /*#__PURE__*/_jsx(CollectionPaginationInternal,{...props});}CollectionPagination.displayName=\"Collection Pagination - Atom\";addPropertyControls(CollectionPagination,{loadMoreText:{type:ControlType.String,title:\"Load More Button Label\",defaultValue:\"Load More\",placeholder:\"Enter load more text...\",description:\"Text for load more button (loadMore mode only).\",hidden:props=>props.mode!==\"loadMore\"},loadingText:{type:ControlType.String,title:\"Loading Text\",defaultValue:\"Loading...\",placeholder:\"Enter loading text...\",description:\"Text for loading state (loadMore and autoScroll modes).\",hidden:props=>props.mode===\"pagination\"},morePagesLabel:{type:ControlType.String,title:\"More Pages Label\",defaultValue:\"More pages\",placeholder:\"Enter label...\",description:\"ARIA label for ellipsis/more pages indicator (pagination mode only).\",hidden:props=>props.mode!==\"pagination\"},mode:{type:ControlType.Enum,title:\"Mode\",options:[\"pagination\",\"loadMore\",\"autoScroll\"],optionTitles:[\"Pagination\",\"Load More Button\",\"Auto Scroll\"],displaySegmentedControl:true,defaultValue:\"pagination\",description:\"How to load more: numbered pages, Load More button, or auto-scroll.\"},itemsPerPage:{type:ControlType.Number,title:\"Items Per Page\",defaultValue:DEFAULT_ITEMS_PER_PAGE,min:1,max:100,step:1,displayStepper:true,description:\"Page size in Pagination mode; batch size per load in Load More and Auto Scroll.\"},maxVisiblePages:{type:ControlType.Number,title:\"Max Visible Pages\",defaultValue:DEFAULT_MAX_VISIBLE_PAGES,min:3,max:15,step:1,displayStepper:true,description:\"Maximum number of visible page numbers (pagination mode only).\",hidden:props=>props.mode!==\"pagination\"},scrollThreshold:{type:ControlType.Number,title:\"Scroll Threshold\",defaultValue:DEFAULT_SCROLL_THRESHOLD,min:50,max:500,step:50,unit:\"px\",displayStepper:true,description:\"Scroll threshold in pixels for auto-scroll mode.\",hidden:props=>props.mode!==\"autoScroll\"},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"\",placeholder:\"e.g. Blog pagination\",description:\"Accessible name for the pagination navigation region (pagination mode). Leave empty for “Pagination” in the page language.\"},id:{type:ControlType.String,title:\"ID\",defaultValue:\"collection-pagination\",placeholder:\"e.g. my-element\",description:\"HTML id for the root element (e.g. for analytics or anchor links).\",preventLocalization:true},breakpoint:{type:ControlType.Enum,title:\"Breakpoint\",options:[\"desktop\",\"tablet\",\"phone\"],optionTitles:[\"Desktop\",\"Tablet\",\"Phone\"],displaySegmentedControl:false,defaultValue:\"desktop\",description:FRAMER_BREAKPOINT_DESCRIPTION},...themePropertyControls(\"Default vs inverted liquid glass on inactive page chips (pagination mode). Current page uses brand-tinted colored glass; ellipsis has no glass.\"),...brandPropertyControl()});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CollectionPagination\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"CollectionPaginationProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useMemo}from\"react\";import{motion}from\"framer-motion\";import{useLocaleInfo}from\"framer\";import{getMonthNames}from\"https://framerusercontent.com/modules/8n5SkFYypAjTo73MyYbn/4Cm9xHDoFSVlKISDfx1C/collectionOptionOrder.js\";import{getPressYearOptions,parsePressTopicOptions}from\"https://framerusercontent.com/modules/1dyK7hNbtERVtkpumhWn/qc3PSInqyLQCKqQrq7cs/pressCmsFilters.js\";import{usePressCmsFilters}from\"https://framerusercontent.com/modules/OY6BoRWqYMr09KKiLuVc/P7SOUv4X6A1QnDpyOvRo/usePressCmsFilters.js\";import CollectionDropdown from\"https://framerusercontent.com/modules/5A1WaiZtMuP2hPYXBpku/2vzXT0AN2WYSX7OwfHGC/CollectionDropdown.js\";import CollectionPagination from\"https://framerusercontent.com/modules/Ddr1t3pa3swlOzkp6fsl/FCKagyXyq17IjsRzWdZb/CollectionPagination.js\";function getCmsDropdownState(key,filters,setFilters,options){switch(key){case\"topic\":return{options:options.topics,value:filters.topic,disabled:false,onValueChange:topic=>setFilters({...filters,topic})};case\"year\":return{options:options.years,value:filters.year,disabled:false,onValueChange:year=>setFilters({...filters,year,month:year?filters.month:-1})};case\"month\":default:return{options:options.months,value:options.months[filters.month]??\"\",disabled:filters.year===\"\",onValueChange:month=>setFilters({...filters,month:options.months.indexOf(month)})};}}export const PressCollectionFilterBar=function PressCollectionFilterBar({frame,dropdowns,filterByLabel,groupLabel,cmsSettings}){const{activeLocale}=useLocaleInfo();const localeCode=activeLocale?.code;const[cmsFilters,setCmsFilters]=usePressCmsFilters(frame.cms&&!frame.isEditor);const topicOptions=cmsSettings?.topicOptions;const earliestYear=cmsSettings?.earliestYear;const cmsOptions=useMemo(()=>({topics:parsePressTopicOptions(topicOptions,localeCode),years:getPressYearOptions(earliestYear,new Date().getUTCFullYear()),months:getMonthNames(localeCode)}),[topicOptions,earliestYear,localeCode]);if(dropdowns.length===0)return null;const{breakpoint,theme,brand,styles,sectionId}=frame;const dropdownStyle=breakpoint===\"phone\"?{maxWidth:\"100%\"}:undefined;return /*#__PURE__*/_jsxs(motion.div,{role:\"group\",\"aria-label\":groupLabel,style:styles.filterBar,variants:frame.itemVariants,children:[filterByLabel?/*#__PURE__*/_jsx(\"p\",{style:styles.filterLabel,children:filterByLabel}):null,dropdowns.map(dropdown=>/*#__PURE__*/_jsx(\"div\",{style:styles.filterItem,children:/*#__PURE__*/_jsx(CollectionDropdown,{id:`${sectionId}-${dropdown.key}-filter`,breakpoint:breakpoint,theme:theme,brand:brand,layerName:dropdown.layerName,allOptionLabel:dropdown.allLabel,showAllLabelWhenEmpty:true,optionOrder:dropdown.optionOrder,style:dropdownStyle,...frame.cms?getCmsDropdownState(dropdown.key,cmsFilters,setCmsFilters,cmsOptions):{}})},dropdown.key))]});};export const PressCollectionPagination=function PressCollectionPagination({frame,mode,itemsPerPage,loadMoreLabel,loadingLabel,ariaLabel}){if(mode===\"off\"||mode===\"cms\"||!frame.hasCollection)return null;return /*#__PURE__*/_jsx(motion.div,{style:frame.styles.footerRow,variants:frame.itemVariants,children:/*#__PURE__*/_jsx(CollectionPagination,{id:`${frame.sectionId}-pagination`,breakpoint:frame.breakpoint,theme:frame.theme,brand:frame.brand,mode:mode,itemsPerPage:itemsPerPage,loadMoreText:loadMoreLabel,loadingText:loadingLabel,ariaLabel:ariaLabel})});};\nexport const __FramerMetadata__ = {\"exports\":{\"PressCollectionPagination\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PressCollectionPaginationProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PressCollectionFilterBar\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PressCollectionFilterBarProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,6sCAKu6C,SAASuI,GAAyB,EAAW,EAAK,CAAC,IAAMC,EAAmBC,GAAY,UAAkQ,OAArPC,IAAO,QAAe,GAAGnE,EAAqB,GAAGiE,CAAkB,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