{"version":3,"file":"shared-lib.BUcOJs5Q.mjs","names":["useRef","useState","l","x","y","blur","spread","color","Children","_Fragment","p"],"sources":["https:/framerusercontent.com/modules/4d2Aixt9zZ4N06gHP2MQ/X1FD1hWZC5oCiutGNe1C/Button.js"],"sourcesContent":["// @ts-nocheck\n/**\n * Generated by scripts/generate-framer-sync.mjs from src/components/Button/index.tsx.\n * Regenerate this file instead of editing it by hand.\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";import{Children,useRef,useState}from\"react\";const MIN_BUTTON_HEIGHT_PX=40;const BUTTON_FONT_FAMILY='\"DM Sans Variable 9pt Regular\", \"DM Sans\", sans-serif';const BUTTON_VARIANT_OPTIONS=[\"dark\",\"light\",\"blue\",\"darkblue\",\"secondary\",\"rmbrightblue\",\"brightblue\",\"green\",\"purple\",\"lightpurple\",\"bluegreen\",\"yellow\",\"ghost\",\"default\"];const BUTTON_VARIANT_OPTION_TITLES=[\"Dark\",\"Light\",\"Blue\",\"Dark Blue\",\"Secondary\",\"RM Bright Blue\",\"Bright Blue\",\"Green\",\"Purple\",\"Light Purple\",\"Blue Green\",\"Yellow\",\"Ghost\",\"Default\"];function toPixelNumber(value){if(typeof value===\"number\"&&Number.isFinite(value))return value;if(typeof value===\"string\"){const trimmed=value.trim();if(/^-?\\d+(\\.\\d+)?px$/i.test(trimmed)){const parsed=Number.parseFloat(trimmed);return Number.isFinite(parsed)?parsed:null;}}return null;}function normalizeVariant(value){if(typeof value===\"string\"){if(BUTTON_VARIANT_OPTIONS.includes(value)){return value;}if(/^\\d+$/.test(value.trim())){const byIndex=BUTTON_VARIANT_OPTIONS[Number(value.trim())];if(byIndex)return byIndex;}const normalized=value.toLowerCase().replace(/[\\s_-]+/g,\"\");const byTitleIndex=BUTTON_VARIANT_OPTION_TITLES.findIndex(title=>title.toLowerCase().replace(/[\\s_-]+/g,\"\")===normalized);if(byTitleIndex>=0)return BUTTON_VARIANT_OPTIONS[byTitleIndex];const aliasMap={rmblue:\"rmbrightblue\",rolemodelblue:\"rmbrightblue\"};if(aliasMap[normalized])return aliasMap[normalized];}if(typeof value===\"number\"&&Number.isInteger(value)){const byIndex=BUTTON_VARIANT_OPTIONS[value];if(byIndex)return byIndex;}return\"blue\";}// ── Style constants ───────────────────────────────────────────\nconst VARIANT_COLORS={default:{bg:\"transparent\",textColor:\"#000000\",hoverTextColor:\"#000000\"},secondary:{bg:\"#FFFFFF\",textColor:\"#181A18\",hoverTextColor:\"#2A84F8\",boxShadow:\"0 0 0 1px #CCCCCC inset, 0 1px 2px rgba(24, 26, 24, 0.08)\",hoverBoxShadow:\"0 0 0 1px #CCCCCC inset, 0 2px 6px rgba(24, 26, 24, 0.12)\"},dark:{bg:\"#04242B\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\",hoverbackgroundColor:\"#000000\"},light:{bg:\"#FFFFFF\",textColor:\"#181A18\",hoverTextColor:\"#181A18\"},blue:{bg:\"#3A70B3\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\"},darkblue:{bg:\"#193C64\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\"},rmbrightblue:{bg:\"#2A84F8\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\"},brightblue:{bg:\"#87D4E9\",textColor:\"#000000\",hoverTextColor:\"#000000\"},green:{bg:\"#35603B\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\"},purple:{bg:\"#3C194A\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\"},lightpurple:{bg:\"#A998C9\",textColor:\"#181A18\",hoverTextColor:\"#181A18\"},bluegreen:{bg:\"#27434D\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\"},yellow:{bg:\"#FCF496\",textColor:\"#181A18\",hoverTextColor:\"#181A18\"},ghost:{bg:\"transparent\",textColor:\"#FFFFFF\",hoverTextColor:\"#FFFFFF\",boxShadow:\"0 0 0 1px #FFFFFF inset\"}};const ANIM={textMotion:{duration:.25,ease:\"easeInOut\"},topVariant:{rest:{y:\"0%\",opacity:1},hover:{y:\"-100%\",opacity:0}},bottomVariant:{rest:{y:\"100%\",opacity:0},hover:{y:\"0%\",opacity:1}}};const STYLES={svgSanitizeWrapper:{display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\",color:\"inherit\"}};const EASING={inOut:\"easeInOut\",out:\"easeOut\"};const LEGACY_ICON_SVGS={\"arrow-right-01\":`\n        <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M4 12H20\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n            <path d=\"M13 5L20 12L13 19\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n        </svg>\n    `,\"arrow-down-01\":`\n        <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M12 4V20\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n            <path d=\"M5 13L12 20L19 13\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n        </svg>\n    `,play:`\n        <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M8 6.5V17.5L18 12L8 6.5Z\" fill=\"currentColor\"/>\n        </svg>\n    `,sent:`\n        <svg viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n            <path d=\"M21 3L10 14\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n            <path d=\"M21 3L14 21L10 14L3 10L21 3Z\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"/>\n        </svg>\n    `};function resolveLegacyIconSvg(iconName){if(!iconName)return\"\";return LEGACY_ICON_SVGS[iconName]||\"\";}function svgContainsFocusableContent(svg){return/<(a|button|input|select|textarea|iframe|object|embed)\\b/i.test(svg)||/\\stabindex\\s*=\\s*[\"']?(?!-1\\b)\\d+[\"']?/i.test(svg)||/\\sfocusable\\s*=\\s*[\"']?(true|1)[\"']?/i.test(svg)||/\\bxlink:href\\s*=\\s*[\"']#/i.test(svg)||/\\shref\\s*=\\s*[\"']#/i.test(svg);}function Button(props){const{disableHoverAnimation=false,ariaLabel=\"Button\",label=\"Button\",useVariant=true,variant=\"blue\",backgroundColor,textColor,hoverTextColor,circleSize=50,borderRadius=8,circleBorderRadius=999,shadow,paddingX=20,paddingY,font,circle,grow,hoverbackgroundColor,hoverBackground=false,showStartIcon=false,showEndIcon=false,startIconName=\"\",endIconName=\"\",startIconSvg=\"\",endIconSvg=\"\",iconGap=8,iconSize=18,height=40,style,isActive=false,actionType=\"link\",accept=\"\",multiple=false,onFileChange,fileUrl,href,target,rel,onClick,onTap,onMouseEnter:onMouseEnterProp,onMouseLeave:onMouseLeaveProp,shapeMode=\"auto\",children}=props;// Single source of truth for modes\nconst isStrictCircleMode=shapeMode===\"circle\";// Legacy \"Icon Only\" toggle must win regardless of Shape Mode default.\nconst isIconMode=shapeMode===\"icon\"||Boolean(circle);const isIconLayout=isStrictCircleMode||isIconMode;const growEnabled=shapeMode===\"grow\"||Boolean(grow);const inGrowMode=growEnabled&&(shapeMode===\"grow\"||shapeMode===\"auto\"||shapeMode===\"icon\"||isStrictCircleMode||Boolean(circle));// File upload ref — only used when actionType === \"upload\"\nconst fileInputRef=useRef(null);const handleUploadClick=()=>{fileInputRef.current?.click();};// Hover state for grow overlay\nconst[isHovered,setIsHovered]=useState(false);const handleMouseEnter=()=>{if(isActive)return;setIsHovered(true);onMouseEnterProp?.();};const handleMouseLeave=()=>{setIsHovered(false);onMouseLeaveProp?.();};// ── Variant colors ────────────────────────────────────────\nconst resolvedVariant=normalizeVariant(variant);const variantColors=VARIANT_COLORS[resolvedVariant]??VARIANT_COLORS.default;const colors=useVariant?{...variantColors,textColor:textColor&&textColor!==\"\"?textColor:variantColors.textColor,hoverTextColor:hoverTextColor&&hoverTextColor!==\"\"?hoverTextColor:variantColors.hoverTextColor,hoverbackgroundColor:hoverbackgroundColor&&hoverbackgroundColor!==\"\"?hoverbackgroundColor:variantColors.hoverbackgroundColor}:{bg:backgroundColor||\"transparent\",textColor:textColor||\"#000000\",hoverTextColor:hoverTextColor||\"#000000\",hoverbackgroundColor:hoverbackgroundColor||backgroundColor||\"transparent\"};// =====================\n// Shadows\n// =====================\n// Check for boxShadow from style prop as highest priority override\nconst styleBoxShadow=style?.boxShadow;const toFiniteShadowNumber=input=>{if(typeof input===\"number\"){return Number.isFinite(input)?input:0;}if(typeof input===\"string\"){const numeric=Number.parseFloat(input);return Number.isFinite(numeric)?numeric:0;}return 0;};const sanitizeShadowString=input=>{const trimmed=input.trim();if(!trimmed||trimmed===\"none\")return undefined;const sanitized=trimmed.replace(/\\bundefinedpx\\b/gi,\"0px\").replace(/\\bnullpx\\b/gi,\"0px\").replace(/\\bNaNpx\\b/gi,\"0px\").replace(/\\s+/g,\" \").trim();if(/\\bundefined\\b/i.test(sanitized)||/\\bnull\\b/i.test(sanitized)||/\\bNaN\\b/i.test(sanitized)){return undefined;}return sanitized;};const normalizeShadow=value=>{if(!value)return undefined;if(typeof value===\"string\"){return sanitizeShadowString(value);}if(typeof value===\"object\"){const v=value;if(v.enabled===false)return undefined;// Framer may send layered box-shadow payloads from ControlType.BoxShadow.\nif(Array.isArray(v.shadows)){const layers=v.shadows.map(layer=>{if(!layer||typeof layer!==\"object\")return undefined;const l=layer;if(l.enabled===false)return undefined;const x=toFiniteShadowNumber(l.x);const y=toFiniteShadowNumber(l.y);const blur=toFiniteShadowNumber(l.blur);const spread=toFiniteShadowNumber(l.spread);const color=typeof l.color===\"string\"?l.color:\"rgba(0,0,0,0.2)\";const inset=Boolean(l.inset)?\"inset \":\"\";return`${inset}${x}px ${y}px ${blur}px ${spread}px ${color}`;}).filter(layer=>Boolean(layer));if(layers.length===0)return undefined;return layers.join(\", \");}const x=toFiniteShadowNumber(v.x);const y=toFiniteShadowNumber(v.y);const blur=toFiniteShadowNumber(v.blur);const spread=toFiniteShadowNumber(v.spread);const color=typeof v.color===\"string\"?v.color:\"rgba(0,0,0,0.2)\";const inset=Boolean(v.inset)?\"inset \":\"\";// Treat empty object payloads as \"no shadow\".\nif(x===0&&y===0&&blur===0&&spread===0&&(v.color===undefined||color===\"rgba(0,0,0,0)\")){return undefined;}return`${inset}${x}px ${y}px ${blur}px ${spread}px ${color}`;}return undefined;};const controlShadow=normalizeShadow(shadow);const styleShadow=normalizeShadow(styleBoxShadow);const variantShadow=normalizeShadow(colors.boxShadow);const variantHoverShadow=normalizeShadow(colors.hoverBoxShadow||colors.boxShadow);const resolvedNormalShadow=controlShadow||styleShadow||variantShadow;const resolvedHoverShadow=controlShadow||styleShadow||variantHoverShadow||variantShadow;// =====================\n// Motion variants\n// =====================\nconst buttonVariants={initial:{color:colors.textColor,boxShadow:resolvedNormalShadow??\"none\"},rest:{color:colors.textColor,boxShadow:resolvedNormalShadow??\"none\",filter:\"brightness(100%) saturate(100%)\",transition:{duration:.35,ease:EASING.inOut}},hover:{color:colors.hoverTextColor,boxShadow:resolvedHoverShadow??\"none\",...colors.hoverbackgroundColor&&{backgroundColor:colors.hoverbackgroundColor},filter:inGrowMode||colors.hoverbackgroundColor?\"brightness(100%) saturate(100%)\":\"brightness(110%) saturate(134%)\",transition:{duration:.25,ease:EASING.inOut}},tap:{scale:.95,transition:{duration:.5,ease:EASING.out}},active:{color:colors.textColor,boxShadow:resolvedNormalShadow??\"none\",filter:\"brightness(110%) saturate(120%)\",transition:{duration:.25,ease:EASING.inOut}}};const topVariant={rest:{...ANIM.topVariant.rest,transition:ANIM.textMotion},hover:{...ANIM.topVariant.hover,transition:ANIM.textMotion}};const bottomVariant={rest:{...ANIM.bottomVariant.rest,transition:ANIM.textMotion},hover:{...ANIM.bottomVariant.hover,transition:ANIM.textMotion}};// ── Helpers ───────────────────────────────────────────────\nconst computedLineHeight=typeof font?.lineHeight===\"number\"?`${font.lineHeight}px`:font?.lineHeight||\"1.3em\";const renderSvg=raw=>{if(!raw)return null;const sanitize=svg=>svg.replace(/fill=\"(?!none)[^\"]*\"/gi,'fill=\"currentColor\"').replace(/stroke=\"(?!none)[^\"]*\"/gi,'stroke=\"currentColor\"').replace(/fill='(?!none)[^']*'/gi,\"fill='currentColor'\").replace(/stroke='(?!none)[^']*'/gi,\"stroke='currentColor'\").replace(/(<svg\\b[^>]*?)\\s+width=\"[^\"]*\"/gi,\"$1\").replace(/(<svg\\b[^>]*?)\\s+height=\"[^\"]*\"/gi,\"$1\").replace(/(<svg\\b[^>]*?)\\s+width='[^']*'/gi,\"$1\").replace(/(<svg\\b[^>]*?)\\s+height='[^']*'/gi,\"$1\").replace(/(<svg\\b[^>]*?\\sstyle=\"[^\"]*?)\\b(?:width|height)\\s*:\\s*[^;\"]*;?/gi,\"$1\").replace(/\\saria-hidden=\"true\"/gi,\"\").replace(/\\saria-hidden='true'/gi,\"\").replace(/<svg\\b([^>]*)>/i,(_m,attrs)=>{const hasPAR=/\\spreserveAspectRatio=/i.test(attrs);const par=hasPAR?\"\":' preserveAspectRatio=\"xMidYMid meet\"';return`<svg${attrs} width=\"100%\" height=\"100%\"${par}>`;});const sanitized=sanitize(raw);const isFocusable=svgContainsFocusableContent(sanitized);return /*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":isFocusable?undefined:true,className:\"button-icon-sanitize\",style:STYLES.svgSanitizeWrapper,dangerouslySetInnerHTML:{__html:sanitized}});};const displayLabel=label||\"Button\";const resolvedStartIconSvg=startIconSvg||resolveLegacyIconSvg(startIconName);const resolvedEndIconSvg=endIconSvg||resolveLegacyIconSvg(endIconName);// Grow mode uses the reveal overlay, so stacked hover text animation should be off.\nconst disableTextAnimation=inGrowMode;// ── Content blocks ────────────────────────────────────────\nconst contentRowStyle={position:\"relative\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",gap:iconGap,lineHeight:computedLineHeight,color:\"inherit\"};const startIconWrapStyle={width:iconSize,height:iconSize,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transition:\"transform 0.3s ease-in-out\",transformOrigin:\"center\",transform:`rotate(${isActive?180:0}deg)`};const endIconWrapStyle={width:iconSize,height:iconSize,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,transition:\"transform 0.3s ease-in-out\",transformOrigin:\"center\",transform:`rotate(${isActive?180:0}deg)`};const labelSpanPlainStyle={lineHeight:\"inherit\",display:\"inline-flex\",alignItems:\"center\",whiteSpace:\"nowrap\",color:\"inherit\"};const gridLabelStyle={lineHeight:\"inherit\",position:\"relative\",display:\"grid\",overflow:\"hidden\"};const gridSpanInheritStyle={lineHeight:\"inherit\",gridArea:\"1 / 1 / 2 / 2\",display:\"inline-flex\",alignItems:\"center\",whiteSpace:\"nowrap\",willChange:\"transform, opacity\",color:\"inherit\"};const content=/*#__PURE__*/_jsxs(\"div\",{style:contentRowStyle,children:[showStartIcon&&resolvedStartIconSvg&&/*#__PURE__*/_jsx(\"div\",{style:startIconWrapStyle,\"aria-hidden\":\"true\",children:renderSvg(resolvedStartIconSvg)}),disableHoverAnimation||disableTextAnimation?/*#__PURE__*/_jsx(\"span\",{style:labelSpanPlainStyle,children:displayLabel}):/*#__PURE__*/_jsxs(\"div\",{style:gridLabelStyle,children:[/*#__PURE__*/_jsx(motion.span,{variants:topVariant,style:gridSpanInheritStyle,children:displayLabel}),/*#__PURE__*/_jsx(motion.span,{variants:bottomVariant,style:gridSpanInheritStyle,children:displayLabel})]}),showEndIcon&&resolvedEndIconSvg&&/*#__PURE__*/_jsx(\"div\",{style:endIconWrapStyle,\"aria-hidden\":\"true\",children:renderSvg(resolvedEndIconSvg)})]});const circleGridStyle={width:\"100%\",height:\"100%\",lineHeight:0};const centeredIconShellStyle={width:\"100%\",height:\"100%\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",lineHeight:0};const circleContent=/*#__PURE__*/_jsx(\"div\",{style:{...circleGridStyle,display:\"inline-grid\",placeContent:\"center\",placeItems:\"center\",color:\"inherit\"},children:/*#__PURE__*/_jsx(\"span\",{style:{...centeredIconShellStyle,width:iconSize,height:iconSize},children:resolvedStartIconSvg?renderSvg(resolvedStartIconSvg):resolvedEndIconSvg?renderSvg(resolvedEndIconSvg):null})});// Choose inner content - children override default content\n// Check for valid children (not null, undefined, empty array, or empty fragment)\nconst hasChildren=Children.toArray(children).some(child=>child!==null&&child!==\"\");const innerContent=isIconLayout?circleContent:hasChildren?children:content;const useGrowOverlay=inGrowMode;const growBgColor=colors.hoverbackgroundColor||colors.bg;const hasGrowBg=growBgColor&&growBgColor!==\"transparent\";const growOverlayStyle={position:\"absolute\",inset:0,zIndex:0,pointerEvents:\"none\",borderRadius:\"inherit\",backgroundColor:growBgColor,filter:hasGrowBg?\"brightness(120%)\":\"none\",clipPath:\"circle(0% at 0% 100%)\",willChange:\"clip-path\"};const renderGrowOverlay=()=>/*#__PURE__*/_jsx(motion.div,{initial:false,animate:{clipPath:isHovered?\"circle(150% at 0% 100%)\":\"circle(0% at 0% 100%)\"},transition:{duration:.25,ease:isHovered?[.4,0,.2,1]:\"easeInOut\"},style:growOverlayStyle});const wrappedInner=/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",zIndex:1,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",height:\"100%\"},children:innerContent});// ── Wrapper styles + render ───────────────────────────────\n// Extract boxShadow from style to handle separately (prevent override conflicts)\nconst{boxShadow:_styleBoxShadow,height:styleHeight,minHeight:styleMinHeight,...restStyle}=style||{};const resolvedNonIconHeight=styleHeight??height;const resolvedNonIconMinHeightPx=Math.max(MIN_BUTTON_HEIGHT_PX,toPixelNumber(styleMinHeight)??Number.NEGATIVE_INFINITY,toPixelNumber(resolvedNonIconHeight)??Number.NEGATIVE_INFINITY);const resolvedIconMinHeightPx=Math.max(MIN_BUTTON_HEIGHT_PX,Number(circleSize)||0);const resolvedBorderRadius=isIconLayout?circleBorderRadius:borderRadius;const sharedStyles={...restStyle,position:\"relative\",overflow:\"hidden\",border:\"none\",cursor:\"pointer\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",alignSelf:\"flex-start\",willChange:\"border-radius, filter\",fontFamily:BUTTON_FONT_FAMILY,textDecoration:\"none\",borderRadius:resolvedBorderRadius,backgroundColor:colors.bg,color:colors.textColor,boxShadow:resolvedNormalShadow??\"none\",paddingInline:isIconLayout?0:paddingX,...paddingY!==undefined?{paddingBlock:paddingY}:{},width:isIconLayout?circleSize:undefined,height:isIconLayout?circleSize:resolvedNonIconHeight,minWidth:isIconLayout?circleSize:undefined,minHeight:isIconLayout?resolvedIconMinHeightPx:resolvedNonIconMinHeightPx,fontSize:16,fontWeight:550,fontVariationSettings:\"'wght' 500\",lineHeight:1.3,aspectRatio:isIconLayout?\"1 / 1\":undefined};const sharedMotionProps={variants:buttonVariants,initial:\"initial\",animate:isActive?\"active\":isHovered?\"hover\":\"rest\",whileHover:!isActive?\"hover\":undefined,whileTap:\"tap\",style:sharedStyles,onClick:onTap||onClick,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave};const MotionBtn=motion.button;if(actionType===\"download\"&&fileUrl){const MotionLink=motion.a;return /*#__PURE__*/_jsxs(MotionLink,{...sharedMotionProps,href:fileUrl,download:true,target:\"_blank\",rel:\"noopener noreferrer\",children:[useGrowOverlay&&renderGrowOverlay(),wrappedInner]});}if(actionType===\"upload\"){return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"input\",{ref:fileInputRef,type:\"file\",\"aria-hidden\":\"true\",tabIndex:-1,accept:accept||undefined,multiple:multiple,style:{display:\"none\",position:\"absolute\"},onChange:e=>{if(e.target.files)onFileChange?.(e.target.files);// Reset so the same file can be re-selected\ne.target.value=\"\";}}),/*#__PURE__*/_jsxs(MotionBtn,{...sharedMotionProps,type:\"button\",onClick:handleUploadClick,children:[useGrowOverlay&&renderGrowOverlay(),wrappedInner]})]});}if(href){const MotionLink=motion.a;return /*#__PURE__*/_jsxs(MotionLink,{...sharedMotionProps,href:href,role:\"button\",target:target,rel:rel,children:[useGrowOverlay&&renderGrowOverlay(),wrappedInner]});}return /*#__PURE__*/_jsxs(MotionBtn,{...sharedMotionProps,type:\"button\",children:[useGrowOverlay&&renderGrowOverlay(),wrappedInner]});}export default Button;// Helper for property controls visibility\nconst isStrictCircleModeProps=p=>p.shapeMode===\"circle\";const isIconLayoutModeProps=p=>p.shapeMode===\"circle\"||p.shapeMode===\"icon\"||p.shapeMode===\"auto\"&&Boolean(p.circle);addPropertyControls(Button,{children:{type:ControlType.ComponentInstance,title:\"Content\",description:\"Optional nested component instance for Content. Drop a component to override the default structure or content.\"},actionType:{type:ControlType.Enum,title:\"Action\",options:[\"link\",\"upload\",\"download\"],optionTitles:[\"Link\",\"File Upload\",\"Download File\"],defaultValue:\"link\",description:\"Selects Action: Link navigates to a URL or page \\xb7 File Upload opens the system file picker \\xb7 Download File links to a Framer-hosted asset.\"},href:{type:ControlType.Link,title:\"Link\",hidden:p=>p.actionType===\"upload\",description:\"Link target for Link: page, external URL, email, or phone—same as Framer’s standard link picker.\"},accept:{type:ControlType.String,title:\"Accept\",defaultValue:\"\",placeholder:\".pdf,.jpg,image/*\",hidden:p=>p.actionType!==\"upload\",description:\"File types the picker will accept—e.g. image/* or .pdf,.docx. Leave blank to allow all files.\"},multiple:{type:ControlType.Boolean,title:\"Multiple Files\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",hidden:p=>p.actionType!==\"upload\",description:\"When on, the file picker allows the user to select more than one file at once.\"},fileUrl:{type:ControlType.File,title:\"File\",allowedFileTypes:[],hidden:p=>p.actionType!==\"download\",description:\"Asset to download when Action is Download File. Upload any file type from the Framer asset panel.\"},ariaLabel:{type:ControlType.String,title:\"Aria Label\",defaultValue:\"Button\",description:\"Text value for Aria Label.\"},label:{type:ControlType.String,title:\"Label\",defaultValue:\"Button\",hidden:p=>isIconLayoutModeProps(p)||!!p.children,description:\"Text value for Label.\"},shapeMode:{type:ControlType.Enum,title:\"Shape Mode\",options:[\"auto\",\"pill\",\"icon\",\"circle\",\"grow\"],optionTitles:[\"Auto\",\"Pill\",\"Icon\",\"Circle\",\"Grow\"],defaultValue:\"auto\",description:\"Selects Shape Mode: Auto \\xb7 Pill \\xb7 Icon \\xb7 Circle \\xb7 Grow.\"},grow:{type:ControlType.Boolean,title:\"Grow\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Turn Grow on or off. When off, related behavior or visuals are disabled.\"},circle:{type:ControlType.Boolean,title:\"Icon Only\",defaultValue:false,enabledTitle:\"Icon\",disabledTitle:\"Pill\",description:\"Legacy toggle for icon-only layout when Shape Mode is Auto.\"},isActive:{type:ControlType.Boolean,title:\"Active State\",defaultValue:false,enabledTitle:\"Active\",disabledTitle:\"Normal\",description:\"Turn Active State on or off. When off, related behavior or visuals are disabled.\"},disableHoverAnimation:{type:ControlType.Boolean,title:\"Disable Slide\",defaultValue:false,hidden:p=>isIconLayoutModeProps(p),description:\"When enabled, runs the configured motion or entrance animation for this element.\"},useVariant:{type:ControlType.Boolean,title:\"Color Mode\",defaultValue:true,enabledTitle:\"Variant\",disabledTitle:\"Custom\",description:\"Turn Color Mode on or off. When off, related behavior or visuals are disabled.\"},variant:{type:ControlType.Enum,title:\"Variant\",options:[...BUTTON_VARIANT_OPTIONS],optionTitles:[...BUTTON_VARIANT_OPTION_TITLES],defaultValue:\"blue\",hidden:p=>!Boolean(p.useVariant),description:\"Selects Variant: Dark \\xb7 Light \\xb7 Blue \\xb7 Dark Blue \\xb7 Secondary \\xb7 RM Bright Blue \\xb7 Bright Blue \\xb7 Green \\xb7 Purple \\xb7 Light Purple \\xb7 Blue Green \\xb7 Yellow \\xb7 Ghost \\xb7 Default.\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"\",hidden:p=>Boolean(p.useVariant),description:\"Sets Background using Framer’s color control (canvas and published site).\"},hoverBackground:{type:ControlType.Boolean,title:\"Hover Background?\",defaultValue:false,hidden:p=>Boolean(p.useVariant),description:\"Turn Hover Background? on or off. When off, related behavior or visuals are disabled.\"},hoverbackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"\",hidden:p=>!p.hoverBackground,description:\"Sets Hover Background using Framer’s color control (canvas and published site).\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"\",hidden:p=>Boolean(p.useVariant),description:\"Sets Text Color using Framer’s color control (canvas and published site).\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text\",defaultValue:\"\",hidden:p=>Boolean(p.useVariant),description:\"Sets Hover Text using Framer’s color control (canvas and published site).\"},showStartIcon:{type:ControlType.Boolean,title:\"Start Icon\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Turn Start Icon on or off. When off, related behavior or visuals are disabled.\"},startIconSvg:{type:ControlType.String,title:\"Start SVG\",defaultValue:\"\",placeholder:\"<svg ...>...</svg>\",description:\"Text value for Start SVG.  \",hidden:p=>!Boolean(p.showStartIcon)},showEndIcon:{type:ControlType.Boolean,title:\"End Icon\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Turn End Icon on or off. When off, related behavior or visuals are disabled.\"},endIconSvg:{type:ControlType.String,title:\"End SVG\",defaultValue:\"\",placeholder:\"<svg ...>...</svg>\",description:\"Text value for End SVG.  \",hidden:p=>!Boolean(p.showEndIcon)},circleSize:{type:ControlType.Number,title:\"Circle Size\",defaultValue:50,min:10,max:200,unit:\"px\",description:\"Adjusts Circle Size. Allowed range: 10–200.\",hidden:p=>!isIconLayoutModeProps(p)},circleBorderRadius:{type:ControlType.Number,title:\"Circle Radius\",defaultValue:999,min:0,max:2e3,step:1,unit:\"px\",hidden:p=>!isIconLayoutModeProps(p),description:\"Adjusts Circle Radius. Defaults to 999 for a perfect circle; lower it to create rounded-square icon buttons.\"},iconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:18,min:10,max:48,unit:\"px\",description:\"Adjusts Icon Size. Allowed range: 10–48.\"},iconGap:{type:ControlType.Number,title:\"Icon Gap\",defaultValue:6,min:0,max:48,step:1,unit:\"px\",description:\"Adjusts Icon Gap. Allowed range: 0–48.\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:200,step:1,unit:\"px\",hidden:p=>isIconLayoutModeProps(p),description:\"Adjusts Radius for non-circle shape modes.\"},shadow:{type:ControlType.BoxShadow,title:\"Box Shadow\",description:\"Sets a custom Box Shadow override for this button. Leave as none to use variant defaults.\"},paddingX:{type:ControlType.Number,title:\"Padding X\",defaultValue:20,min:0,max:100,step:1,unit:\"px\",description:\"Adjusts Padding X. Allowed range: 0–100.\"},onTap:{type:ControlType.EventHandler,title:\"On Tap\",description:\"Interaction hook for On Tap: wire to Framer actions or custom responses.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button.map"],"mappings":"qPAI2qB,SAAS,GAAc,EAAM,CAAC,GAAG,OAAO,GAAQ,UAAU,OAAO,SAAS,EAAM,CAAC,OAAO,EAAM,GAAG,OAAO,GAAQ,SAAS,CAAC,IAAM,EAAQ,EAAM,MAAM,CAAC,GAAG,qBAAqB,KAAK,EAAQ,CAAC,CAAC,IAAM,EAAO,OAAO,WAAW,EAAQ,CAAC,OAAO,OAAO,SAAS,EAAO,CAAC,EAAO,MAAO,OAAO,KAAM,SAAS,GAAiB,EAAM,CAAC,GAAG,OAAO,GAAQ,SAAS,CAAC,GAAG,EAAuB,SAA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