{"version":3,"file":"Button.DG5QD3aG.mjs","names":["useCallback","useMemo","_Fragment","__esmMin","pe","init_npm_react_18_3_1","window","init_jsx_runtime","ne","J","p","ce","init_ssg_sandbox_shims","addPropertyControls","useTracking","init_framer_BCvOrpQq","ControlType","useLocaleInfo","useIsStaticRenderer","themePropertyControls","isSignupDestination","withAdjustFallbackClick","pushDataLayerEvent","init_adjustUrl","init_pushDataLayerEvent","init_propertyControlCopy","normalizeTrackingId","brandPropertyControl","ANALYTICS_EVENTS","resolveTabletSafeDownloadCtaUrl","getNewTabAriaLabel","init_linkHelpers","localizeDownloadPath","init_downloadAdjustReferrer","FRAMER_BREAKPOINT_DESCRIPTION","isValidTrackingId","init_brandControl","init_analyticsEvents","DEFAULT_DOWNLOAD_PATH","getLinkUrl","useSmartLinkProps","safeUrl","getLiquidGlassBackdropBlurFilter","getTransition","getSpacing","getZIndex","useReducedMotion","getTypographyStyles","init_typography","usePageLanguage","getColorValue","init_usePageLanguage","getResponsiveSpacing","getRadius","LIQUID_GLASS_SHARED","getBrightnessFilter","getControlSize","init_colors","resolveTricountThemeVariant","getLiquidGlassVariantFill","init_themeControl","isTricountLightSurface","resolveBrand","resolveThemeProp","iconPixelSizeForSquareSide","squareIconPaddingOneSidePx","init_useInteractiveStates","init_layoutStyles","init_svg","normalizeElementId","breakpointPropertyControl","useInteractiveStates","init_breakpointControl","init_resolveElementId","processSVG","getFocusOutlineStyle","resolveThemeVariant","init_placeholders","PLACEHOLDER","HINT_BUTTON_LABEL","init_animationConstants","BUTTON_SPIN_KEYFRAMES_NAME","init_icons","getIconRaw","ICON_OPTION_TITLES_WITH_CUSTOM","useIconsLoaded","getIcon","ICON_OPTIONS_WITH_CUSTOM","isDevelopment","init_env","useFramerTrack","track","trackingId","id","pagePath","options","init_useFramerTrack","init_buttonStyleControls","mixRgbColors","PRIMARY_GRADIENT_ACCENT_MIX","colorMatch","color","accentMatch","accentColor","colorChannels","accentChannels","channel","accentMix","index","getPrimaryBrandGradient","getPrimaryGlassAccentColor","variant","PRIMARY_GRADIENT_COLOR_PATHS","path","getPrimaryRainbowGradientWithColoredGlass","base","splitCssBackgroundLayers","layers","depth","current","ch","background","layer","last","toBackgroundImageLayer","trimmed","getFilledButtonBackgroundStyle","border","fill","paddingClips","borderClips","isPrimaryBrandGradientVariant","getGhostGlassButtonBackground","baseFill","resolveButtonSurfacePolarity","brand","theme","getButtonBackgroundColor","isDisabled","getButtonBorderStyle","TRANSPARENT_SIZING_BORDER","getButtonTextColor","getButtonIconColor","init_buttonStyles","Button","ButtonInternal","props","DEFAULT_CIRCLE_ICON_SVG","init_Button","\"theme\"","_themeProp","\"themeTricount\"","_themeTricountProp","ariaPressed","rest","elementId","resolvedTrackingId","trackInteraction","resolvedTheme","iconOnly","iconPosition","usesConstrainedWidth","style","widthMode","breakpoint","labelText","label","ariaLabel","disabled","isLoading","loading","loadingLocksClick","lockWhileLoading","isInteractive","reducedMotion","isStaticRenderer","typography","size","finalBrightnessFilter","successState","brightnessFilter","iconOnlySidePx","buttonHeightPx","iconSize","showIconLeading","showIconTrailing","showLoadingIcon","leadingIconName","trailingIconName","backgroundColor","textColor","iconColor","explicitTriggerColor","resolvedTextColor","resolvedIconColor","linkUrl","link","resolvedLinkUrl","keepAdjustOnTablet","activeLocale","hasLink","handleClick","destinationHost","analyticsLocation","onClick","type","pageLanguage","smartLink","openInNewTab","resolvedHref","linkOpensNewTab","trimmedAria","trimmedLabel","iconAccessibleName","authorAriaOverride","resolvedAriaLabel","baseName","newTabName","buttonStyles","styleBackground","_styleColor","restStyle","getNumericSpacing","val","getPadding","basePadding","basePaddingStr","top","horizontal","gap","topStr","horizontalStr","horizontalVal","gapVal","getGap","padding","height","dimension","widthFromMode","resolvedWidth","isPrimaryBrandGradient","resolvedBackground","isTricountButton","frostBackdrop","useFrostBackdrop","cursorStyle","isHovered","isFocused","processCustomIconSvg","rawSvg","sizeMatch","alreadySized","hasHexColors","getLeadingIconSVG","leadingIconSvg","getTrailingIconSVG","trailingIconSvg","renderIcon","svgContent","spinStyle","content","l","scale","isPressed","transformTransition","commonProps","\"style\"","\"onMouseEnter\"","handlers","\"onMouseLeave\"","\"onMouseDown\"","\"onMouseUp\"","\"onFocus\"","\"onBlur\"","\"tabIndex\"","interactiveElement","k"],"sources":["https:/framerusercontent.com/modules/ZCI9i0OTGfNEOv8zyVZv/PSmcy3cNtru7MnL2FZ37/useFramerTrack.js","https:/framerusercontent.com/modules/QrtV3mPOgZzyIJwaJ52j/g8HQ4OBnv6uUxA2Xq1QI/buttonStyleControls.js","https:/framerusercontent.com/modules/5Ii2k92urDFztvkYpcbo/suY0wI5zGlScEUGNk7dp/buttonStyles.js","https:/framerusercontent.com/modules/mqkyeOkdtuR11B5dBdqB/6evOCtez1M7CCpvJUmEI/Button.js"],"sourcesContent":["import{useCallback}from\"react\";import{useTracking}from\"framer\";import{ANALYTICS_EVENTS,isValidTrackingId}from\"https://framerusercontent.com/modules/f7qqdTg6nrF8OxakRMaw/RTDmE1IYpduTvmheAc5x/analyticsEvents.js\";import{pushDataLayerEvent}from\"https://framerusercontent.com/modules/e6yTdH4OmIoaRKhUtem9/cIAVO5rKOuTDGLl9uFih/pushDataLayerEvent.js\";export function useFramerTrack(){const track=useTracking();return useCallback((trackingId,options)=>{if(!isValidTrackingId(trackingId))return;const id=trackingId;try{track(id);}catch{}const pagePath=typeof window!==\"undefined\"&&window.location?window.location.pathname:undefined;pushDataLayerEvent({event:options?.eventName??ANALYTICS_EVENTS.SELECT_CONTENT,cta_id:id,trackingId:id,page_path_normalized:pagePath,...options?.properties});},[track]);}// recompile: 20261112-restructure\n\nexport const __FramerMetadata__ = {\"exports\":{\"useFramerTrack\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FramerTrackOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FramerTrackFn\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useFramerTrack.map","import{ControlType}from\"framer\";const BUNQ_PRIMARY_BUTTON_VARIANTS=[\"solid\",\"primary-warm\",\"primary-lush\",\"primary-cool\"];const BUNQ_PRIMARY_BUTTON_VARIANT_TITLES=[\"Solid\",\"Warm\",\"Lush\",\"Cool\"];const TRICOUNT_PRIMARY_BUTTON_VARIANTS=[\"solid\",\"primary-tricount-blue\",\"primary-tricount-gold\"];const TRICOUNT_PRIMARY_BUTTON_VARIANT_TITLES=[\"Solid\",\"Tricount Blue\",\"Tricount Gold\"];export function sectionButtonVariantControls(overrides){const title=overrides?.title??\"Button Style\";const resolveBrand=p=>p.brand??p.backgroundGradientBrand??\"bunq\";const controls={buttonVariant:{type:ControlType.Enum,title,options:[...BUNQ_PRIMARY_BUTTON_VARIANTS],optionTitles:[...BUNQ_PRIMARY_BUTTON_VARIANT_TITLES],defaultValue:overrides?.bunqDefault??\"solid\",description:\"Primary button style for bunq (Solid, Warm, Lush, Cool).\",hidden:p=>resolveBrand(p)!==\"bunq\"},buttonVariantTricount:{type:ControlType.Enum,title,options:[...TRICOUNT_PRIMARY_BUTTON_VARIANTS],optionTitles:[...TRICOUNT_PRIMARY_BUTTON_VARIANT_TITLES],defaultValue:overrides?.tricountDefault??\"solid\",description:\"Primary button style for tricount (Solid, Tricount Blue, Tricount Gold).\",hidden:p=>resolveBrand(p)!==\"tricount\"}};return controls;}export function sectionSecondaryPrimaryButtonStyleControl(){return{type:ControlType.Enum,title:\"Section Button Style\",options:[\"secondary\",\"primary\"],optionTitles:[\"Secondary\",\"Primary\"],displaySegmentedControl:true,defaultValue:\"secondary\",description:\"Style of the button below the section content. Primary uses the brand's primary button.\",hidden:p=>!(p.label??p.buttonLabel)?.trim()};}// recompile: b82594\n\nexport const __FramerMetadata__ = {\"exports\":{\"sectionSecondaryPrimaryButtonStyleControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sectionButtonVariantControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./buttonStyleControls.map","import{resolveBrand,resolveThemeVariant,resolveTricountThemeVariant,isTricountLightSurface}from\"https://framerusercontent.com/modules/Rg5q22EU9aWqUJDzBew3/p8bLtj4qTxgqEosNmSxc/themeControl.js\";import{getColorValue}from\"https://framerusercontent.com/modules/ARogoavfmvsXA8wBrKDi/QeocF6sc4VBlv0ObVBxr/colors.js\";import{getLiquidGlassVariantFill}from\"https://framerusercontent.com/modules/ugV3SANPBjBF71lFQEx7/DeaCKlgM7NKkH3SrDevf/layoutStyles.js\";const PRIMARY_GRADIENT_COLOR_PATHS={\"primary-lush\":[\"/Brand colors/rainbow-tree\",\"/Brand colors/rainbow-grass\",\"/Brand colors/rainbow-apple\",\"/Brand colors/rainbow-zest\"],\"primary-cool\":[\"/Brand colors/rainbow-brook\",\"/Brand colors/rainbow-pool\",\"/Brand colors/rainbow-tide\",\"/Brand colors/rainbow-dusk\"],\"primary-warm\":[\"/Brand colors/rainbow-mulberry\",\"/Brand colors/rainbow-flare\",\"/Brand colors/rainbow-tangerine\",\"/Brand colors/rainbow-amber\"]};const PRIMARY_GRADIENT_ACCENT_MIX=.35;function mixRgbColors(color,accentColor,accentMix=PRIMARY_GRADIENT_ACCENT_MIX){const colorMatch=color.match(/^rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)$/);const accentMatch=accentColor.match(/^rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)$/);if(!colorMatch||!accentMatch){return color;}const colorChannels=colorMatch.slice(1).map(Number);const accentChannels=accentMatch.slice(1).map(Number);const mixedChannels=colorChannels.map((channel,index)=>Math.round(channel*(1-accentMix)+accentChannels[index]*accentMix));return`rgb(${mixedChannels.join(\", \")})`;}function getPrimaryBrandGradient(variant){const accentColor=getPrimaryGlassAccentColor(variant);const stops=PRIMARY_GRADIENT_COLOR_PATHS[variant].map(path=>mixRgbColors(getColorValue(path),accentColor)).join(\", \");return`linear-gradient(135deg, ${stops})`;}export function getPrimaryGlassAccentColor(variant){const accentPath=variant===\"primary-warm\"?\"/Brand colors/rainbow-tangerine\":variant===\"primary-lush\"?\"/Brand colors/rainbow-grass\":\"/Brand colors/rainbow-pool\";return getColorValue(accentPath);}export function getPrimaryRainbowGradientWithColoredGlass(variant){const base=getPrimaryBrandGradient(variant);const glass=getLiquidGlassVariantFill(\"colored\",\"button\",getPrimaryGlassAccentColor(variant));return`${glass}, ${base}`;}export const TRANSPARENT_SIZING_BORDER=\"1px solid transparent\";function splitCssBackgroundLayers(background){const layers=[];let depth=0;let current=\"\";for(const ch of background){if(ch===\"(\"){depth+=1;}else if(ch===\")\"){depth-=1;}if(ch===\",\"&&depth===0){const layer=current.trim();if(layer!==\"\"){layers.push(layer);}current=\"\";continue;}current+=ch;}const last=current.trim();if(last!==\"\"){layers.push(last);}return layers;}function toBackgroundImageLayer(layer){const trimmed=layer.trim();if(trimmed.includes(\"gradient(\")||trimmed.startsWith(\"url(\")||trimmed.startsWith(\"image(\")||trimmed===\"none\"){return trimmed;}return`linear-gradient(0deg, ${trimmed}, ${trimmed})`;}export function getFilledButtonBackgroundStyle(fill,border){if(border!==TRANSPARENT_SIZING_BORDER){return{background:fill};}const layers=splitCssBackgroundLayers(fill).map(toBackgroundImageLayer);if(layers.length===0){return{background:fill};}const paddingClips=layers.map(()=>\"padding-box\");const borderClips=layers.map(()=>\"border-box\");return{background:`${layers.join(\", \")}, ${layers.join(\", \")}`,backgroundClip:[...paddingClips,...borderClips].join(\", \"),backgroundOrigin:[...paddingClips,...borderClips].join(\", \"),isolation:\"isolate\"};}export function isPrimaryBrandGradientVariant(variant){return variant in PRIMARY_GRADIENT_COLOR_PATHS;}export function getGhostGlassButtonBackground(baseFill){const glass=getLiquidGlassVariantFill(\"dark\",\"button\",undefined);return`${glass}, ${baseFill}`;}function resolveButtonSurfacePolarity(theme,brand){if(resolveBrand(brand)===\"tricount\"){return isTricountLightSurface(resolveTricountThemeVariant(theme))?\"inverted\":\"default\";}return resolveThemeVariant(theme);}export function getButtonBackgroundColor(variant,theme,isDisabled,brand){if(isDisabled&&variant!==\"ghost\"&&variant!==\"outline\"&&variant!==\"link\"){return getColorValue(\"/Backgrounds/bg-disabled\");}if(resolveBrand(brand)===\"tricount\"&&variant===\"solid\"){return isTricountLightSurface(resolveTricountThemeVariant(theme))?getColorValue(\"/Brand colors/tricount-ink\"):getColorValue(\"/Brand colors/tricount-paper\");}theme=resolveButtonSurfacePolarity(theme,brand);switch(variant){case\"solid\":return theme===\"default\"?getColorValue(\"/Backgrounds/bg-inverted-primary\"):getColorValue(\"/Backgrounds/bg-primary\");case\"primary\":return getColorValue(\"/Backgrounds/bg-brand-bunq-solid\");case\"primary-warm\":case\"primary-lush\":case\"primary-cool\":return getPrimaryBrandGradient(variant);case\"primary-tricount-blue\":return getColorValue(\"/Brand colors/tricount-deep-blue\");case\"primary-tricount-gold\":return getColorValue(\"/Brand colors/tricount-gold\");case\"ghost\":return theme===\"default\"?getColorValue(\"/Backgrounds/bg-quaternary-glass\"):getColorValue(\"/Backgrounds/bg-inverted-quaternary\");case\"outline\":case\"link\":return\"transparent\";default:return\"transparent\";}}export function getButtonBorderStyle(variant,theme,isDisabled,brand){theme=resolveButtonSurfacePolarity(theme,brand);if(isDisabled){if(variant===\"ghost\"||variant===\"link\"){return\"none\";}return`1px solid ${getColorValue(\"/Borders/border-disabled\")}`;}switch(variant){case\"solid\":case\"primary\":case\"primary-warm\":case\"primary-lush\":case\"primary-cool\":case\"primary-tricount-blue\":case\"primary-tricount-gold\":return TRANSPARENT_SIZING_BORDER;case\"outline\":return theme===\"default\"?`1px solid ${getColorValue(\"/Borders/border-inverted-primary\")}`:`1px solid ${getColorValue(\"/Borders/border-primary\")}`;case\"ghost\":case\"link\":return\"none\";default:return\"none\";}}export function getButtonTextColor(variant,theme,isDisabled,brand){if(isDisabled){return getColorValue(\"/Text/text-disabled\");}if(resolveBrand(brand)===\"tricount\"&&variant===\"solid\"){return isTricountLightSurface(resolveTricountThemeVariant(theme))?getColorValue(\"/Brand colors/tricount-paper\"):getColorValue(\"/Brand colors/tricount-ink\");}theme=resolveButtonSurfacePolarity(theme,brand);switch(variant){case\"solid\":return theme===\"default\"?getColorValue(\"/Text/text-inverted-primary\"):getColorValue(\"/Text/text-primary\");case\"primary\":case\"primary-warm\":case\"primary-lush\":case\"primary-cool\":case\"primary-tricount-blue\":return getColorValue(\"/Text/text-primary\");case\"primary-tricount-gold\":return getColorValue(\"/Brand colors/tricount-ink\");case\"outline\":return theme===\"default\"?getColorValue(\"/Text/text-primary\"):getColorValue(\"/Text/text-inverted-primary\");case\"ghost\":return theme===\"default\"?getColorValue(\"/Text/text-primary\"):getColorValue(\"/Text/text-inverted-primary\");case\"link\":return theme===\"default\"?getColorValue(\"/Text/text-primary\"):getColorValue(\"/Text/text-inverted-primary\");default:return getColorValue(\"/Text/text-primary\");}}export function getButtonIconColor(variant,theme,isDisabled,brand){if(isDisabled){return getColorValue(\"/Foregrounds/fg-disabled\");}if(resolveBrand(brand)===\"tricount\"&&variant===\"solid\"){return isTricountLightSurface(resolveTricountThemeVariant(theme))?getColorValue(\"/Brand colors/tricount-paper\"):getColorValue(\"/Brand colors/tricount-ink\");}theme=resolveButtonSurfacePolarity(theme,brand);switch(variant){case\"solid\":return theme===\"default\"?getColorValue(\"/Foregrounds/fg-inverted-primary\"):getColorValue(\"/Foregrounds/fg-primary\");case\"primary\":case\"primary-warm\":case\"primary-lush\":case\"primary-cool\":case\"primary-tricount-blue\":return getColorValue(\"/Foregrounds/fg-primary\");case\"primary-tricount-gold\":return getColorValue(\"/Brand colors/tricount-ink\");case\"outline\":return theme===\"default\"?getColorValue(\"/Foregrounds/fg-primary\"):getColorValue(\"/Foregrounds/fg-inverted-primary\");case\"ghost\":return theme===\"default\"?getColorValue(\"/Foregrounds/fg-primary\"):getColorValue(\"/Foregrounds/fg-inverted-primary\");case\"link\":return theme===\"default\"?getColorValue(\"/Foregrounds/fg-primary\"):getColorValue(\"/Foregrounds/fg-inverted-primary\");default:return getColorValue(\"/Foregrounds/fg-primary\");}}export function isTricountColoredSurface(theme=\"default\",surface=\"section\"){if(surface===\"card\"){return false;}return!isTricountLightSurface(resolveTricountThemeVariant(theme));}export function resolveTricountOnSurfaceButtonVariant(brand,theme=\"default\",surface=\"section\",variant=\"ghost\"){if(resolveBrand(brand)!==\"tricount\"){return variant;}if(variant!==\"ghost\"&&variant!==\"outline\"){return variant;}if(surface===\"card\"){return variant;}if(isTricountColoredSurface(theme,\"section\")){return\"solid\";}return variant;}export function resolveTricountCardButtonTheme(_sectionTheme=\"default\"){return\"default\";}export function resolveTricountCardButtonProps(brand,sectionTheme=\"default\",variant=\"ghost\"){if(resolveBrand(brand)!==\"tricount\"){return{variant,theme:sectionTheme};}return{variant:resolveTricountOnSurfaceButtonVariant(brand,sectionTheme,\"card\",variant),theme:resolveTricountCardButtonTheme(sectionTheme)};}export function resolveModalTriggerButtonVariant(theme=\"default\",brand){return resolveModalTriggerButtonProps(theme,brand).variant;}export function resolveModalTriggerButtonProps(theme=\"default\",brand){if(resolveBrand(brand)!==\"tricount\"){const resolvedTheme=resolveThemeVariant(theme);return{variant:resolvedTheme===\"inverted\"?\"solid\":\"ghost\",theme:resolvedTheme};}const resolvedTheme=resolveTricountThemeVariant(theme);if(isTricountLightSurface(resolvedTheme)){return{variant:\"solid\",theme:\"default\"};}return{variant:\"solid\",theme:\"inverted\"};}export function resolveTricountNavCtaProps(chromeTheme=\"default\"){const theme=resolveTricountThemeVariant(chromeTheme);const buttonTheme=theme===\"default\"?\"neutral\":theme;return{variant:pickBrandButtonVariant(\"tricount\",\"solid\",\"solid\",buttonTheme),theme:buttonTheme};}export const BUNQ_PRIMARY_BUTTON_VARIANTS=[\"solid\",\"primary-warm\",\"primary-lush\",\"primary-cool\"];export const BUNQ_PRIMARY_BUTTON_VARIANT_TITLES=[\"Solid\",\"Warm\",\"Lush\",\"Cool\"];export const TRICOUNT_PRIMARY_BUTTON_VARIANTS=[\"solid\",\"primary-tricount-blue\",\"primary-tricount-gold\"];export const TRICOUNT_PRIMARY_BUTTON_VARIANT_TITLES=[\"Solid\",\"Tricount Blue\",\"Tricount Gold\"];const BRAND_NEUTRAL_BUTTON_VARIANTS=[\"primary\",\"solid\",\"ghost\",\"outline\",\"link\"];const BUNQ_TO_TRICOUNT_VARIANT={\"primary-warm\":\"primary-tricount-gold\",\"primary-lush\":\"primary-tricount-blue\",\"primary-cool\":\"primary-tricount-blue\"};const TRICOUNT_TO_BUNQ_VARIANT={\"primary-tricount-blue\":\"primary-cool\",\"primary-tricount-gold\":\"primary-warm\"};export function resolveBrandButtonVariant(brand,variant){const allowed=brand===\"tricount\"?TRICOUNT_PRIMARY_BUTTON_VARIANTS:BUNQ_PRIMARY_BUTTON_VARIANTS;let resolved;if(allowed.includes(variant)||BRAND_NEUTRAL_BUTTON_VARIANTS.includes(variant)){resolved=variant;}else if(brand===\"tricount\"){resolved=BUNQ_TO_TRICOUNT_VARIANT[variant]??\"primary-tricount-blue\";}else{resolved=TRICOUNT_TO_BUNQ_VARIANT[variant]??\"primary-cool\";}return resolved;}export function pickBrandButtonVariant(brand,variant,variantTricount,sectionTheme){const picked=brand===\"tricount\"?variantTricount??\"solid\":variant??\"solid\";const resolved=resolveBrandButtonVariant(brand,picked);if(brand!==\"tricount\")return resolved;const theme=resolveTricountThemeVariant(sectionTheme);if(theme===\"default\"&&(resolved===\"solid\"||resolved===\"primary\")){return\"primary-tricount-blue\";}return resolved;}export{sectionButtonVariantControls}from\"https://framerusercontent.com/modules/QrtV3mPOgZzyIJwaJ52j/g8HQ4OBnv6uUxA2Xq1QI/buttonStyleControls.js\";export function resolveSectionSecondaryPrimaryButtonVariant(style,brand,theme){if(style===\"primary\"){return pickBrandButtonVariant(brand??\"bunq\",\"primary-warm\",\"solid\",theme);}return resolveTricountOnSurfaceButtonVariant(brand,theme,\"section\",\"ghost\");}// recompile: b82594\n// recompile: 20261112-restructure\n\nexport const __FramerMetadata__ = {\"exports\":{\"resolveTricountCardButtonTheme\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveTricountCardButtonProps\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getButtonIconColor\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getButtonTextColor\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFilledButtonBackgroundStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"pickBrandButtonVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveModalTriggerButtonVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"sectionButtonVariantControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getButtonBorderStyle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isPrimaryBrandGradientVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getGhostGlassButtonBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionSecondaryPrimaryButtonStyle\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveBrandButtonVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveModalTriggerButtonProps\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_PRIMARY_BUTTON_VARIANT_TITLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ButtonVariant\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveSectionSecondaryPrimaryButtonVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ButtonTheme\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BUNQ_PRIMARY_BUTTON_VARIANT_TITLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_PRIMARY_BUTTON_VARIANTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isTricountColoredSurface\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveTricountNavCtaProps\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TricountCardButtonProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BUNQ_PRIMARY_BUTTON_VARIANTS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getButtonBackgroundColor\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveTricountOnSurfaceButtonVariant\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TricountButtonSurface\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getPrimaryRainbowGradientWithColoredGlass\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRANSPARENT_SIZING_BORDER\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PrimaryBrandGradientVariant\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getPrimaryGlassAccentColor\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useMemo,useEffect}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer,useLocaleInfo}from\"framer\";import{FRAMER_BREAKPOINT_DESCRIPTION}from\"https://framerusercontent.com/modules/1JKQWaDWME3nCssGCmhT/Mh4RG2GTTAjreAKh6MKa/propertyControlCopy.js\";import{useFramerTrack}from\"https://framerusercontent.com/modules/ZCI9i0OTGfNEOv8zyVZv/PSmcy3cNtru7MnL2FZ37/useFramerTrack.js\";import{isSignupDestination,isValidTrackingId,normalizeTrackingId}from\"https://framerusercontent.com/modules/f7qqdTg6nrF8OxakRMaw/RTDmE1IYpduTvmheAc5x/analyticsEvents.js\";import{getTypographyStyles}from\"https://framerusercontent.com/modules/zDwBN0TEuG4hDOO8mnGP/Vw2OKO3dIsVgndU5wQak/typography.js\";import{getLiquidGlassBackdropBlurFilter,LIQUID_GLASS_SHARED,getBrightnessFilter,getColorValue,getResponsiveSpacing,getSpacing,getRadius,getZIndex,getControlSize,getTransition,useReducedMotion}from\"https://framerusercontent.com/modules/ARogoavfmvsXA8wBrKDi/QeocF6sc4VBlv0ObVBxr/colors.js\";import{SPINNER_DURATION_FULL,BUTTON_SPIN_KEYFRAMES_NAME,BUTTON_SPIN_KEYFRAMES_RULE}from\"https://framerusercontent.com/modules/rNTISy9cjXrlQF6G9oOf/DoEOXo36DYaEhKJ3afT0/animationConstants.js\";import{getButtonBackgroundColor,getButtonBorderStyle,getButtonTextColor,getButtonIconColor,getFilledButtonBackgroundStyle,getGhostGlassButtonBackground,getPrimaryRainbowGradientWithColoredGlass,isPrimaryBrandGradientVariant}from\"https://framerusercontent.com/modules/5Ii2k92urDFztvkYpcbo/suY0wI5zGlScEUGNk7dp/buttonStyles.js\";import{getFocusOutlineStyle}from\"https://framerusercontent.com/modules/ugV3SANPBjBF71lFQEx7/DeaCKlgM7NKkH3SrDevf/layoutStyles.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/N82LIhBcm5OrSs1iGSYb/GEkaN0wbT4emZ6A24oDx/useInteractiveStates.js\";import{isDevelopment}from\"https://framerusercontent.com/modules/Hfxv2uDDkRh5hiOhphgZ/hddn9AZIeb6IqQISkcYA/env.js\";import{withAdjustFallbackClick}from\"https://framerusercontent.com/modules/L1abctXj4LvQDFVSpqL9/edVNpAjWCVOCFTqNsRjj/adjustUrl.js\";import{DEFAULT_DOWNLOAD_PATH,localizeDownloadPath,resolveTabletSafeDownloadCtaUrl}from\"https://framerusercontent.com/modules/A3myL4dYezB0JmYHxQ4t/QxkJknl3kGSrpeSHqCKA/downloadAdjustReferrer.js\";import{getLinkUrl,getNewTabAriaLabel,safeUrl,useSmartLinkProps}from\"https://framerusercontent.com/modules/GB48ixqoQAzC5tTtMeLJ/Lj48H0449XUCqXMNO8K0/linkHelpers.js\";import{getIcon,getIconRaw,useIconsLoaded,ICON_OPTIONS_WITH_CUSTOM,ICON_OPTION_TITLES_WITH_CUSTOM}from\"https://framerusercontent.com/modules/2F1LcP0kVyaKk9M6HpYD/zIaeximGqbpiu32ucXKh/icons.js\";import{iconPixelSizeForSquareSide,processSVG,squareIconPaddingOneSidePx}from\"https://framerusercontent.com/modules/wKfBu3iaaDXbgpB4Gbnk/isPGg3SwfoXfv8JmaVyp/svg.js\";import{HINT_BUTTON_LABEL,PLACEHOLDER}from\"https://framerusercontent.com/modules/ITexTEsBY5WH41uRV9O1/hTcvVjWE2XUXrzVndqji/placeholders.js\";import{normalizeElementId}from\"https://framerusercontent.com/modules/2WjV9YYlbtN9u8ds1Tez/ldgGdkHvk7vZtvhBB3a8/resolveElementId.js\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/k6nLNc7ZVt0b7stBm46D/zjQVNiZCoHcEnOMj3fwd/breakpointControl.js\";import{brandPropertyControl,themePropertyControls}from\"https://framerusercontent.com/modules/jVo5WBhba9MIIkO0W1im/mGsjnzSZwvkCNCqB1iXS/brandControl.js\";import{resolveBrand,resolveThemeProp,resolveThemeVariant}from\"https://framerusercontent.com/modules/Rg5q22EU9aWqUJDzBew3/p8bLtj4qTxgqEosNmSxc/themeControl.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/1BqPPfpWWsgW4asxhDP6/Ccs3j4mSbWBfRnaka62Y/usePageLanguage.js\";const DEFAULT_CIRCLE_ICON_SVG=getIconRaw(\"circle\");const ButtonInternal=/*#__PURE__*/forwardRef(function ButtonInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint=\"desktop\",variant=\"solid\",\"theme\":_themeProp,\"themeTricount\":_themeTricountProp,brand,size=\"medium\",widthMode=\"responsive\",label=PLACEHOLDER.PRIMARY_BUTTON,leadingIconName=\"circle\",leadingIconSvg=DEFAULT_CIRCLE_ICON_SVG,trailingIconName=\"arrow-narrow-right\",trailingIconSvg=DEFAULT_CIRCLE_ICON_SVG,iconPosition=\"none\",disabled=false,loading=false,successState=false,link,keepAdjustOnTablet=false,openInNewTab=false,onClick,ariaLabel,\"aria-pressed\":ariaPressed,style,type=\"button\",lockWhileLoading=true,id,trackingId,analyticsLocation,...rest}=props;const elementId=normalizeElementId(id);const resolvedTrackingId=isValidTrackingId(trackingId)?trackingId:normalizeTrackingId(trackingId)??normalizeTrackingId(elementId);const trackInteraction=useFramerTrack();const resolvedTheme=resolveBrand(brand)===\"tricount\"?theme:resolveThemeVariant(theme);const iconOnly=iconPosition===\"icon-only\";const usesConstrainedWidth=(()=>{if(iconOnly){return false;}if(style?.width===\"100%\"){return true;}if(style?.maxWidth===\"100%\"){return true;}if(widthMode===\"full\"){return true;}if(widthMode===\"responsive\"&&breakpoint===\"phone\"){return true;}return false;})();useEffect(()=>{if(typeof window===\"undefined\"||!isDevelopment())return;if(!iconOnly)return;const labelText=typeof label===\"string\"?label.trim():\"\";const ariaText=typeof ariaLabel===\"string\"?ariaLabel.trim():\"\";if(!ariaText&&!labelText){console.warn(\"[Button] icon-only buttons must set `ariaLabel` (or pass a string `label` for the visually-hidden name) so screen readers announce something other than an unlabelled button.\");}},[iconOnly,ariaLabel,label]);const isDisabled=disabled;const isLoading=loading;const loadingLocksClick=Boolean(isLoading&&lockWhileLoading);const isInteractive=!isDisabled&&!loadingLocksClick;const reducedMotion=useReducedMotion();const isStaticRenderer=useIsStaticRenderer();const typography=size===\"large\"?getTypographyStyles(\"/Button XL\",breakpoint):size===\"medium\"?getTypographyStyles(\"/Button LG\",breakpoint):getTypographyStyles(\"/Button SM\",breakpoint);const{isHovered,isPressed,isFocused,brightnessFilter,cursorStyle,handlers}=useInteractiveStates(isDisabled||loadingLocksClick);const finalBrightnessFilter=successState?\"none\":isDisabled?getBrightnessFilter(true,false,false):brightnessFilter;const iconOnlySidePx=size===\"large\"?56:size===\"medium\"?48:44;const buttonHeightPx=iconOnly?iconOnlySidePx:size===\"large\"?56:size===\"medium\"?48:44;const iconSize=iconOnly?iconPixelSizeForSquareSide(iconOnlySidePx):size===\"small\"?20:24;const PADDING_TOP_LARGE=16;const PADDING_TOP_MEDIUM=12;const PADDING_TOP_SMALL=8;const PADDING_HORIZONTAL_LARGE=32;const PADDING_HORIZONTAL_MEDIUM=24;const PADDING_HORIZONTAL_SMALL=16;const GAP_LARGE=12;const GAP_MEDIUM=10;const GAP_SMALL=8;const showIconLeading=iconPosition===\"leading\"||iconOnly;const showIconTrailing=iconPosition===\"trailing\"&&!iconOnly;const showLoadingIcon=isLoading;useIconsLoaded([showIconLeading?leadingIconName:undefined,showIconTrailing?trailingIconName:undefined]);const backgroundColor=successState?getColorValue(\"/Backgrounds/bg-success\"):getButtonBackgroundColor(variant,resolvedTheme,isDisabled,brand);const border=successState?`1px solid ${getColorValue(\"/Borders/border-success\")}`:getButtonBorderStyle(variant,resolvedTheme,isDisabled,brand);const textColor=successState?getColorValue(\"/Text/text-success\"):getButtonTextColor(variant,resolvedTheme,isDisabled,brand);const iconColor=successState?getColorValue(\"/Foregrounds/fg-success\"):getButtonIconColor(variant,resolvedTheme,isDisabled,brand);const explicitTriggerColor=typeof style?.color===\"string\"?style.color:undefined;const resolvedTextColor=explicitTriggerColor??textColor;const resolvedIconColor=explicitTriggerColor??iconColor;const{activeLocale}=useLocaleInfo();const linkUrl=getLinkUrl(link);const resolvedLinkUrl=keepAdjustOnTablet?linkUrl:resolveTabletSafeDownloadCtaUrl(linkUrl,breakpoint,localizeDownloadPath(DEFAULT_DOWNLOAD_PATH,activeLocale?.slug));const hasLink=Boolean(resolvedLinkUrl&&resolvedLinkUrl.trim()!==\"\");const handleClick=e=>{if(!isInteractive){e.preventDefault();e.stopPropagation();return;}if(resolvedTrackingId){const destinationHost=(()=>{if(!hasLink||!resolvedLinkUrl)return undefined;try{return new URL(resolvedLinkUrl,typeof window!==\"undefined\"?window.location.origin:\"https://www.bunq.com\").hostname;}catch{return undefined;}})();trackInteraction(resolvedTrackingId,{properties:{...analyticsLocation?{cta_location:analyticsLocation}:{},component_id:\"button\",...destinationHost?{destination_host:destinationHost}:{},destination_type:hasLink?isSignupDestination(resolvedLinkUrl)?\"signup\":\"link\":\"action\"}});}onClick?.(e);if(type===\"submit\"){return;}if(!hasLink){e.preventDefault();e.stopPropagation();}};const pageLanguage=usePageLanguage();const smartLink=useSmartLinkProps(link,openInNewTab,{brand,onClick:e=>handleClick(e)});const resolvedHref=hasLink&&resolvedLinkUrl.trim()!==\"\"?withAdjustFallbackClick(safeUrl(resolvedLinkUrl)):smartLink.href;const linkOpensNewTab=hasLink&&smartLink.target===\"_blank\";const trimmedAria=typeof ariaLabel===\"string\"?ariaLabel.trim():\"\";const trimmedLabel=typeof label===\"string\"?label.trim():\"\";const iconAccessibleName=trimmedAria||trimmedLabel;const authorAriaOverride=trimmedAria!==trimmedLabel?trimmedAria:\"\";const resolvedAriaLabel=(()=>{const baseName=iconOnly?iconAccessibleName:authorAriaOverride;if(!linkOpensNewTab)return baseName||undefined;const newTabName=iconOnly?iconAccessibleName:authorAriaOverride||trimmedLabel;return newTabName?getNewTabAriaLabel(newTabName,pageLanguage):undefined;})();const buttonStyles=useMemo(()=>{const{background:styleBackground,color:_styleColor,...restStyle}=style??{};const getNumericSpacing=val=>parseFloat(getResponsiveSpacing(val,breakpoint));const getPadding=()=>{if(iconOnly){const basePadding=squareIconPaddingOneSidePx(iconOnlySidePx);const basePaddingStr=getResponsiveSpacing(basePadding,breakpoint);return`${basePaddingStr} ${basePaddingStr}`;}let top=PADDING_TOP_SMALL;let horizontal=PADDING_HORIZONTAL_SMALL;let gap=GAP_SMALL;if(size===\"large\"){top=PADDING_TOP_LARGE;horizontal=PADDING_HORIZONTAL_LARGE;gap=GAP_LARGE;}else if(size===\"medium\"){top=PADDING_TOP_MEDIUM;horizontal=PADDING_HORIZONTAL_MEDIUM;gap=GAP_MEDIUM;}const topStr=getResponsiveSpacing(top,breakpoint);const horizontalStr=getResponsiveSpacing(horizontal,breakpoint);if(!showIconLeading&&!showIconTrailing){return`${topStr} ${horizontalStr}`;}const horizontalVal=getNumericSpacing(horizontal);const gapVal=getNumericSpacing(gap);if(showIconLeading&&showIconTrailing){return`${topStr} ${horizontalStr}`;}else if(showIconLeading){const right=horizontalVal+gapVal;return`${topStr} ${right}px ${topStr} ${horizontalStr}`;}const left=horizontalVal+gapVal;return`${topStr} ${horizontalStr} ${topStr} ${left}px`;};const getGap=()=>{if(iconOnly)return\"0\";if(size===\"large\")return getResponsiveSpacing(GAP_LARGE,breakpoint);if(size===\"medium\")return getResponsiveSpacing(GAP_MEDIUM,breakpoint);return getResponsiveSpacing(GAP_SMALL,breakpoint);};const padding=getPadding();const gap=getGap();const height=getSpacing(buttonHeightPx);const dimension=iconOnly?size===\"large\"?56:size===\"medium\"?48:44:undefined;const widthFromMode=(()=>{if(iconOnly){return getSpacing(dimension);}if(widthMode===\"full\"){return\"100%\";}if(widthMode===\"intrinsic\"){return\"auto\";}return breakpoint===\"phone\"?\"100%\":\"auto\";})();const resolvedWidth=restStyle.width!==undefined?restStyle.width:widthFromMode;const isPrimaryBrandGradient=isPrimaryBrandGradientVariant(variant);let resolvedBackground=backgroundColor;const isTricountButton=resolveBrand(brand)===\"tricount\";if(!isDisabled&&isPrimaryBrandGradient){resolvedBackground=getPrimaryRainbowGradientWithColoredGlass(variant);}else if(!isDisabled&&variant===\"ghost\"&&theme===\"default\"&&!isTricountButton){resolvedBackground=getGhostGlassButtonBackground(backgroundColor);}const frostBackdrop=getLiquidGlassBackdropBlurFilter(LIQUID_GLASS_SHARED.frostBlurPx,LIQUID_GLASS_SHARED.saturation);const isGhostDefaultTheme=variant===\"ghost\"&&theme===\"default\";const useFrostBackdrop=!isDisabled&&isGhostDefaultTheme&&resolveBrand(brand)!==\"tricount\";return{...restStyle,width:resolvedWidth,height:usesConstrainedWidth?\"auto\":height,minHeight:height,padding,borderRadius:getRadius(\"radius-full\"),...getFilledButtonBackgroundStyle(typeof styleBackground===\"string\"?styleBackground:resolvedBackground,border),...useFrostBackdrop?{backdropFilter:frostBackdrop,WebkitBackdropFilter:frostBackdrop}:{},border,color:resolvedTextColor,display:\"inline-flex\",flexShrink:usesConstrainedWidth?1:0,maxWidth:usesConstrainedWidth?\"100%\":undefined,position:\"relative\",zIndex:getZIndex(\"raised\"),alignItems:\"center\",justifyContent:\"center\",gap,minWidth:iconOnly?getSpacing(dimension):getControlSize(\"touchTarget\"),overflow:\"hidden\",boxSizing:\"border-box\",appearance:\"none\",WebkitAppearance:\"none\",cursor:cursorStyle,filter:finalBrightnessFilter,transition:variant===\"link\"?`${getTransition(\"background\",\"quick\")}, ${getTransition(\"text-decoration\",\"quick\")}, ${getTransition(\"filter\",\"quick\")}`:`${getTransition(\"background\",\"quick\")}, ${getTransition(\"border\",\"quick\")}, ${getTransition(\"filter\",\"quick\")}`,textDecoration:variant===\"link\"&&isHovered&&isInteractive?\"underline\":\"none\",textUnderlineOffset:variant===\"link\"?getSpacing(2):\"0\",outline:isFocused?getFocusOutlineStyle(brand):\"none\",outlineOffset:getSpacing(2),userSelect:\"none\",whiteSpace:usesConstrainedWidth?\"normal\":\"nowrap\",...typography,fontSize:restStyle.fontSize||typography?.fontSize,lineHeight:restStyle.lineHeight||typography?.lineHeight};},[style,iconOnly,iconOnlySidePx,buttonHeightPx,size,variant,brand,theme,isDisabled,isInteractive,isHovered,isFocused,breakpoint,widthMode,usesConstrainedWidth,showIconLeading,showIconTrailing,cursorStyle,finalBrightnessFilter,typography,backgroundColor,border,resolvedTextColor]);const processCustomIconSvg=rawSvg=>{const trimmed=rawSvg.trim();const sizeMatch=trimmed.match(/width=[\"'](\\d+)[\"']/);const alreadySized=sizeMatch!==null&&parseInt(sizeMatch[1],10)===iconSize;const hasHexColors=/fill=[\"']#[0-9a-fA-F]{3,8}[\"']/i.test(trimmed);return processSVG(trimmed,alreadySized?undefined:iconSize,hasHexColors?undefined:resolvedIconColor);};const getLeadingIconSVG=()=>{if(!showIconLeading)return null;if(showLoadingIcon)return getIcon(\"loading\",iconSize,resolvedIconColor,{opticalInset:0});if(leadingIconName===\"custom\"&&leadingIconSvg?.trim()?.includes(\"<svg\")){return processCustomIconSvg(leadingIconSvg);}return getIcon(leadingIconName,iconSize,iconColor,{opticalInset:0});};const getTrailingIconSVG=()=>{if(!showIconTrailing)return null;if(showLoadingIcon)return getIcon(\"loading\",iconSize,resolvedIconColor,{opticalInset:0});if(trailingIconName===\"custom\"&&trailingIconSvg?.trim()?.includes(\"<svg\")){return processCustomIconSvg(trailingIconSvg);}return getIcon(trailingIconName,iconSize,resolvedIconColor,{opticalInset:0});};const renderIcon=svgContent=>{if(!svgContent)return null;const style={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:`${iconSize}px`,height:`${iconSize}px`,flexShrink:0};if(showLoadingIcon){const spinStyle=reducedMotion||isStaticRenderer?style:{...style,animation:`${BUTTON_SPIN_KEYFRAMES_NAME} ${SPINNER_DURATION_FULL}s linear infinite`};return /*#__PURE__*/_jsx(\"span\",{style:spinStyle,dangerouslySetInnerHTML:{__html:svgContent},\"aria-hidden\":true});}return /*#__PURE__*/_jsx(\"span\",{dangerouslySetInnerHTML:{__html:svgContent},\"aria-hidden\":true,style:style});};const content=/*#__PURE__*/_jsxs(_Fragment,{children:[renderIcon(getLeadingIconSVG()),!iconOnly&&label&&/*#__PURE__*/_jsx(\"span\",{style:{minWidth:0,overflow:usesConstrainedWidth?\"visible\":\"hidden\",textOverflow:usesConstrainedWidth?\"clip\":\"ellipsis\",whiteSpace:usesConstrainedWidth?\"normal\":\"nowrap\",textAlign:\"center\"},children:label}),renderIcon(getTrailingIconSVG())]});const scale=isPressed?.98:1;const transformTransition=reducedMotion?\"none\":getTransition(\"transform\",\"quick\");const interactiveStyle={...buttonStyles,transform:`scale(${scale})`,transition:variant===\"link\"?`${getTransition(\"background\",\"quick\")}, ${getTransition(\"text-decoration\",\"quick\")}, ${getTransition(\"filter\",\"quick\")}, ${transformTransition}`:`${getTransition(\"background\",\"quick\")}, ${getTransition(\"border\",\"quick\")}, ${getTransition(\"filter\",\"quick\")}, ${transformTransition}`};const mergedStyle=interactiveStyle;const commonProps={\"style\":mergedStyle,\"onMouseEnter\":handlers.onMouseEnter,\"onMouseLeave\":handlers.onMouseLeave,\"onMouseDown\":handlers.onMouseDown,\"onMouseUp\":handlers.onMouseUp,\"onFocus\":handlers.onFocus,\"onBlur\":handlers.onBlur,\"tabIndex\":isInteractive?0:-1,\"aria-disabled\":isDisabled||loadingLocksClick,\"aria-busy\":isLoading,\"aria-label\":resolvedAriaLabel,...elementId?{id:elementId}:{},...resolvedTrackingId?{\"data-analytics-id\":resolvedTrackingId}:{},...analyticsLocation?{\"data-analytics-location\":analyticsLocation}:{},...rest,...!hasLink&&ariaPressed!==undefined?{\"aria-pressed\":ariaPressed}:{}};const interactiveElement=hasLink?/*#__PURE__*/_jsx(\"a\",{ref:ref,href:isInteractive?resolvedHref:undefined,target:smartLink.target,rel:smartLink.rel,...commonProps,style:{...smartLink.style,...commonProps.style},onClick:smartLink.onClick,children:content}):/*#__PURE__*/_jsx(\"button\",{ref:ref,type:type,disabled:isDisabled||loadingLocksClick,...commonProps,onClick:handleClick,children:content});return /*#__PURE__*/_jsxs(_Fragment,{children:[isLoading&&!reducedMotion&&!isStaticRenderer&&/*#__PURE__*/_jsx(\"style\",{children:BUTTON_SPIN_KEYFRAMES_RULE}),interactiveElement]});});ButtonInternal.displayName=\"ButtonInternal - Atom\";export const ButtonWithRef=ButtonInternal;/**\n * @framerIntrinsicWidth 140\n * @framerIntrinsicHeight 48\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function Button(props){return /*#__PURE__*/_jsx(ButtonInternal,{...props});}Button.displayName=\"Button - Atom\";addPropertyControls(Button,{label:{type:ControlType.String,title:\"Button Label\",defaultValue:PLACEHOLDER.PRIMARY_BUTTON,placeholder:HINT_BUTTON_LABEL,description:\"Visible text on the button. When Icon Position is Only, use this as the accessible name too (often the same words you would put on an icon-only control, e.g. Close).\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"\",description:\"Add a destination to render an `<a>`; leave empty to keep a `<button>` for forms and custom interactions.\"},openInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",defaultValue:false,enabledTitle:\"New Tab\",disabledTitle:\"Same Tab\",description:\"Turn on when Link is set so the destination opens in a new browser tab.\",hidden:props=>!getLinkUrl(props?.link)},iconPosition:{type:ControlType.Enum,title:\"Icon Position\",options:[\"none\",\"leading\",\"trailing\",\"icon-only\"],optionTitles:[\"None\",\"Leading\",\"Trailing\",\"Only\"],defaultValue:\"none\",description:\"Choose None for text-only, Leading or Trailing for icons beside the label, or Only for icon-only buttons (set Label to the action name).\"},leadingIconName:{type:ControlType.Enum,title:\"Leading Icon\",options:[...ICON_OPTIONS_WITH_CUSTOM],optionTitles:ICON_OPTIONS_WITH_CUSTOM.map(k=>ICON_OPTION_TITLES_WITH_CUSTOM[k]),displaySegmentedControl:false,defaultValue:\"circle\",description:\"Select a library icon, or Custom to paste SVG in Leading Icon SVG below.\",hidden:props=>props?.iconPosition!==\"leading\"&&props?.iconPosition!==\"icon-only\"},leadingIconSvg:{type:ControlType.String,title:\"Leading Icon SVG\",defaultValue:\"\",placeholder:\"<svg>...</svg>\",description:\"Paste your SVG markup when Leading Icon is Custom - it replaces the built-in glyph.\",preventLocalization:true,hidden:props=>{const isLeadingOrIconOnly=props?.iconPosition===\"leading\"||props?.iconPosition===\"icon-only\";const showLeadingIconSvg=isLeadingOrIconOnly&&props?.leadingIconName===\"custom\";return!showLeadingIconSvg;}},trailingIconName:{type:ControlType.Enum,title:\"Trailing Icon\",options:[...ICON_OPTIONS_WITH_CUSTOM],optionTitles:ICON_OPTIONS_WITH_CUSTOM.map(k=>ICON_OPTION_TITLES_WITH_CUSTOM[k]),displaySegmentedControl:false,defaultValue:\"arrow-narrow-right\",description:\"Select a library icon, or Custom to paste SVG in Trailing Icon SVG below.\",hidden:props=>props?.iconPosition!==\"trailing\"},trailingIconSvg:{type:ControlType.String,title:\"Trailing Icon SVG\",defaultValue:\"\",placeholder:\"<svg>...</svg>\",description:\"Paste your SVG markup when Trailing Icon is Custom - it replaces the built-in glyph.\",preventLocalization:true,hidden:props=>props?.iconPosition!==\"trailing\"||props?.trailingIconName!==\"custom\"},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"solid\",\"primary\",\"outline\",\"ghost\",\"link\",\"primary-warm\",\"primary-lush\",\"primary-cool\",\"primary-tricount-blue\",\"primary-tricount-gold\"],optionTitles:[\"Solid\",\"Primary Brand\",\"Outline\",\"Ghost\",\"Link\",\"Primary Warm\",\"Primary Lush\",\"Primary Cool\",\"Primary Tricount Blue\",\"Primary Tricount Gold\"],defaultValue:\"solid\",description:\"Solid, Outline, Ghost, Link for standard treatments; Primary Brand is the legacy solid bunq blue; Primary Warm/Lush/Cool use bunq rainbow gradients; Primary Tricount Blue/Gold use tricount signature gradients. Primary and gradient variants ignore Theme.\"},size:{type:ControlType.Enum,title:\"Size\",options:[\"large\",\"medium\",\"small\"],optionTitles:[\"Large\",\"Medium\",\"Small\"],displaySegmentedControl:true,defaultValue:\"medium\",description:\"Use Large for primary hero CTAs, Medium for most UI, Small for dense rows or secondary actions.\"},widthMode:{type:ControlType.Enum,title:\"Width Mode\",options:[\"responsive\",\"full\",\"intrinsic\"],optionTitles:[\"Responsive\",\"Full\",\"Intrinsic\"],defaultValue:\"responsive\",displaySegmentedControl:true,description:\"Controls horizontal sizing relative to the layout breakpoint.\"},onClick:{type:ControlType.EventHandler,title:\"On Click\",description:\"Wire this to run custom logic when someone activates the control - fires for both button and link rendering.\"},ariaLabel:{type:ControlType.String,title:\"Accessible name\",defaultValue:\"\",placeholder:\"e.g. Get started\",description:\"Optional accessible name override. Leave empty so screen readers use the visible Label; set only for icon-only buttons or when the spoken name should differ from visible text.\"},id:{type:ControlType.String,title:\"ID\",defaultValue:\"button\",placeholder:\"e.g. my-element\",description:\"Set a unique id when you anchor to this control or tag it for analytics (e.g. Contentsquare). Leave empty to omit the id attribute.\",preventLocalization:true},trackingId:{type:ControlType.TrackingId,title:\"Tracking\",placeholder:\"ID\",description:\"Framer custom event id (lowercase + hyphens). Also pushes select_content to dataLayer for GTM / Amplitude. Falls back to a normalized ID when empty.\"},analyticsLocation:{type:ControlType.String,title:\"Analytics Location\",defaultValue:\"\",placeholder:\"e.g. hero\",description:\"Stable location hint for analytics (hero, nav, footer). Not localized.\",preventLocalization:true},...breakpointPropertyControl(FRAMER_BREAKPOINT_DESCRIPTION),...themePropertyControls(\"Default matches dark sections (our default). Inverted is for light backgrounds.\"),...brandPropertyControl()});// recompile: 20261112-tracking\n\nexport const __FramerMetadata__ = {\"exports\":{\"ButtonWithRef\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ButtonProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ButtonVariant\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"48\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"140\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,ilCAAwV,SAAgB0F,IAAgB,CAAC,IAAMC,EAAM7E,EAAY,EAAE,OAAOd,GAAa,EAAW,IAAU,CAAC,GAAG,CAACmC,GAAkByD,CAAU,EAAE,OAAO,IAAMC,EAAGD,EAAW,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