{"version":3,"file":"Button.Cft5BYCH.mjs","names":["useCallback","_jsx","forwardRef","useEffect","useMemo","_jsxs","_Fragment","__esmMin","pe","init_npm_react_18_3_1","window","init_jsx_runtime","ne","l","J","p","ce","init_ssg_sandbox_shims","addPropertyControls","useTracking","init_framer_B3LLf74D","ControlType","useLocaleInfo","useIsStaticRenderer","init_brandControl","init_analyticsEvents","init_adjustUrl","init_pushDataLayerEvent","FRAMER_BREAKPOINT_DESCRIPTION","isValidTrackingId","normalizeTrackingId","withAdjustFallbackClick","pushDataLayerEvent","useSmartLinkProps","init_propertyControlCopy","localizeDownloadPath","safeUrl","getLinkUrl","getNewTabAriaLabel","init_downloadAdjustReferrer","DEFAULT_DOWNLOAD_PATH","themePropertyControls","isSignupDestination","brandPropertyControl","ANALYTICS_EVENTS","init_linkHelpers","resolveTabletSafeDownloadCtaUrl","getSpacing","init_colors","useReducedMotion","getRadius","getTypographyStyles","init_typography","getControlSize","usePageLanguage","getZIndex","getTransition","getColorValue","LIQUID_GLASS_SHARED","init_usePageLanguage","getBrightnessFilter","getLiquidGlassBackdropBlurFilter","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","options","id","pagePath","init_useFramerTrack","init_buttonStyleControls","mixRgbColors","color","accentColor","accentMix","PRIMARY_GRADIENT_ACCENT_MIX","colorMatch","accentMatch","colorChannels","accentChannels","channel","index","getPrimaryBrandGradient","variant","getPrimaryGlassAccentColor","PRIMARY_GRADIENT_COLOR_PATHS","path","getPrimaryRainbowGradientWithColoredGlass","base","splitCssBackgroundLayers","background","layers","depth","current","ch","layer","last","toBackgroundImageLayer","trimmed","getFilledButtonBackgroundStyle","fill","border","paddingClips","borderClips","isPrimaryBrandGradientVariant","getGhostGlassButtonBackground","baseFill","resolveButtonSurfacePolarity","theme","brand","getButtonBackgroundColor","isDisabled","getButtonBorderStyle","TRANSPARENT_SIZING_BORDER","getButtonTextColor","getButtonIconColor","init_buttonStyles","Button","props","ButtonInternal","DEFAULT_CIRCLE_ICON_SVG","init_Button","ref","breakpoint","\"theme\"","_themeProp","\"themeTricount\"","_themeTricountProp","size","widthMode","label","leadingIconName","leadingIconSvg","trailingIconName","trailingIconSvg","iconPosition","disabled","loading","successState","link","keepAdjustOnTablet","openInNewTab","onClick","ariaLabel","ariaPressed","style","type","lockWhileLoading","analyticsLocation","rest","elementId","resolvedTrackingId","trackInteraction","resolvedTheme","iconOnly","usesConstrainedWidth","labelText","isLoading","loadingLocksClick","isInteractive","reducedMotion","isStaticRenderer","typography","isHovered","isPressed","isFocused","brightnessFilter","cursorStyle","handlers","finalBrightnessFilter","iconOnlySidePx","buttonHeightPx","iconSize","showIconLeading","showIconTrailing","showLoadingIcon","backgroundColor","textColor","iconColor","explicitTriggerColor","resolvedTextColor","resolvedIconColor","activeLocale","linkUrl","resolvedLinkUrl","hasLink","handleClick","destinationHost","pageLanguage","smartLink","resolvedHref","linkOpensNewTab","trimmedAria","trimmedLabel","iconAccessibleName","authorAriaOverride","resolvedAriaLabel","baseName","newTabName","buttonStyles","styleBackground","_styleColor","restStyle","getNumericSpacing","val","getResponsiveSpacing","getPadding","basePadding","basePaddingStr","top","horizontal","gap","topStr","horizontalStr","horizontalVal","gapVal","getGap","padding","height","dimension","widthFromMode","resolvedWidth","isPrimaryBrandGradient","resolvedBackground","isTricountButton","frostBackdrop","useFrostBackdrop","processCustomIconSvg","rawSvg","sizeMatch","alreadySized","hasHexColors","getLeadingIconSVG","getTrailingIconSVG","renderIcon","svgContent","spinStyle","content","scale","transformTransition","commonProps","\"style\"","\"onMouseEnter\"","\"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/vPa9TSPToGQOJrsx3PM0/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/DKGwx6Y65LMvmDSmr2qB/adjustUrl.js\";import{DEFAULT_DOWNLOAD_PATH,localizeDownloadPath,resolveTabletSafeDownloadCtaUrl}from\"https://framerusercontent.com/modules/A3myL4dYezB0JmYHxQ4t/e5ejzfI3pqyZiFiSPOBk/downloadAdjustReferrer.js\";import{getLinkUrl,getNewTabAriaLabel,safeUrl,useSmartLinkProps}from\"https://framerusercontent.com/modules/GB48ixqoQAzC5tTtMeLJ/KTVopNFaMYQSLRLBKcpr/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\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"140\",\"framerIntrinsicHeight\":\"48\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"ButtonVariant\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ButtonProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button.map"],"mappings":"A,8jCAAwV,SAAgB8F,IAAgB,CAAC,IAAMC,EAAM5E,EAAY,EAAE,OAAOnB,GAAagG,EAAWC,IAAU,CAAC,G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