{"version":3,"file":"SlideButton.DpgQ2Mrc.mjs","names":["useMemo","useState","useRef","buttonSize","useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/AIGNciZrubkL5dGpZA5p/ifk8BmGqilX9ZKkTOhIs/SlideButton.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{startTransition,useCallback,useEffect,useMemo,useRef,useState}from\"react\";import{AnimatePresence,motion,useMotionValue,useSpring,useTransform}from\"framer-motion\";const ANIMATION_CONFIG={spring:{type:\"spring\",stiffness:400,damping:40,mass:.8},smoothSpring:{type:\"spring\",stiffness:300,damping:30,mass:.5},iconTransition:{type:\"spring\",stiffness:500,damping:35,mass:.3},layoutTransition:{type:\"spring\",stiffness:350,damping:35,mass:.6}};const StatusIcon=({status,customIcons,useCustomIcons,customIconColors,iconSize,transition})=>{const defaultIconMap=useMemo(()=>({loading:/*#__PURE__*/_jsx(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{animation:\"spin 1s linear infinite\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M21 12a9 9 0 1 1-6.219-8.56\"})}),success:/*#__PURE__*/_jsx(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"20 6 9 17 4 12\"})}),error:/*#__PURE__*/_jsxs(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"18\",y1:\"6\",x2:\"6\",y2:\"18\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"6\",y1:\"6\",x2:\"18\",y2:\"18\"})]})}),[iconSize]);const statusKey=status;const useCustom=useCustomIcons[statusKey];const customIconSrc=customIcons[statusKey];const iconColor=customIconColors[statusKey];const icon=useCustom&&customIconSrc?/*#__PURE__*/_jsx(\"div\",{style:{width:`${iconSize}px`,height:`${iconSize}px`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:iconColor,WebkitMaskImage:`url(${customIconSrc})`,maskImage:`url(${customIconSrc})`,WebkitMaskSize:\"contain\",maskSize:\"contain\",WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskPosition:\"center\",maskPosition:\"center\"}}):defaultIconMap[statusKey];if(!icon)return null;return /*#__PURE__*/_jsx(motion.div,{initial:{opacity:0,scale:.5,rotate:-10},animate:{opacity:1,scale:1,rotate:0},exit:{opacity:0,scale:.5,rotate:10},transition:transition||ANIMATION_CONFIG.iconTransition,children:icon},status);};/**\n * @framerDisableUnlink\n *\n * @framerIntrinsicWidth 192\n * @framerIntrinsicHeight 36\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export default function SlideButton(props){const{trackColor,accentColor,buttonColor,iconProps,loadingDuration,resolveTo,dragThreshold,showLabels,buttonPadding=\"16px\",componentPadding=\"0px\",style,transition,enableHaptic,hapticStrength,successLink,linkTarget,errorLink,errorLinkTarget,enableBounce,bounceInterval,customShadow,labelProps,triggerProps}=props;const{iconSize,iconColor,useCustomInitialIcon,initialIcon,initialIconColor,useCustomLoadingIcon,loadingIcon,loadingIconColor,useCustomSuccessIcon,successIcon,successIconColor,useCustomErrorIcon,errorIcon,errorIconColor}=useMemo(()=>{const fallback={iconSize:20,iconColor:\"#FFFFFF\",useCustomInitialIcon:false,initialIcon:\"\",initialIconColor:\"#FFFFFF\",useCustomLoadingIcon:false,loadingIcon:\"\",loadingIconColor:\"#FFFFFF\",useCustomSuccessIcon:false,successIcon:\"\",successIconColor:\"#FFFFFF\",useCustomErrorIcon:false,errorIcon:\"\",errorIconColor:\"#FFFFFF\"};return{...fallback,...iconProps||{}};},[iconProps]);const{enableShimmer,shimmerDirection,shimmerSpeed,labelFont,idleLabel,idleLabelColor,loadingLabel,successLabel,errorLabel,activeLabelColor}=useMemo(()=>{const fallback={enableShimmer:true,shimmerDirection:\"left-to-right\",shimmerSpeed:2,labelFont:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},idleLabel:\"Slide to Confirm\",idleLabelColor:\"#666666\",loadingLabel:\"Sending...\",successLabel:\"Success!\",errorLabel:\"Error!\",activeLabelColor:\"#FFFFFF\"};return{...fallback,...labelProps||{}};},[labelProps]);const{dragThreshold:effectiveDragThreshold,resolveTo:effectiveResolveTo,successLink:effectiveSuccessLink,linkTarget:effectiveLinkTarget,errorLink:effectiveErrorLink,errorLinkTarget:effectiveErrorLinkTarget,loadingDuration:effectiveLoadingDuration}=useMemo(()=>{const fallback={dragThreshold,resolveTo,successLink,linkTarget,errorLink,errorLinkTarget,loadingDuration};return{...fallback,...triggerProps||{}};},[triggerProps,dragThreshold,resolveTo,successLink,linkTarget,errorLink,errorLinkTarget,loadingDuration]);const[isDragging,setIsDragging]=useState(false);const[completed,setCompleted]=useState(false);const[status,setStatus]=useState(\"idle\");const dragHandleRef=useRef(null);const containerRef=useRef(null);const buttonRef=useRef(null);const[containerWidth,setContainerWidth]=useState(0);// Measure label width for fit sizing\nconst isFitWidth=!style?.width||style.width!==\"100%\";// Parse component padding to adjust internal positioning\nconst parsedComponentPadding=useMemo(()=>{if(!componentPadding)return{top:0,right:0,bottom:0,left:0};// Handle various padding formats: \"16px\", \"16px 8px\", \"16px 8px 16px 8px\", etc.\nconst values=componentPadding.trim().split(/\\s+/).map(v=>{const match=v.match(/^(\\d+(?:\\.\\d+)?)/);return match?parseFloat(match[1]):0;});if(values.length===1){return{top:values[0],right:values[0],bottom:values[0],left:values[0]};}else if(values.length===2){return{top:values[0],right:values[1],bottom:values[0],left:values[1]};}else if(values.length===3){return{top:values[0],right:values[1],bottom:values[2],left:values[1]};}else if(values.length>=4){return{top:values[0],right:values[1],bottom:values[2],left:values[3]};}return{top:0,right:0,bottom:0,left:0};},[componentPadding]);const calculatedWidth=useMemo(()=>{if(!isFitWidth)return style?.width||\"12rem\";// Parse padding value to get numeric value\nconst paddingValue=parseFloat(buttonPadding)||16;// Button size is icon size + 2 * padding\nconst buttonSize=iconSize+paddingValue*2;// Base width for button + padding (32px left for button offset + 16px right padding)\nconst baseWidth=buttonSize+32+16;// Estimate label width based on font size and text length\nlet labelPadding=0;if(showLabels&&idleLabel){const fontSize=labelFont?.fontSize?parseFloat(String(labelFont.fontSize)):14;const estimatedCharWidth=fontSize*.6// Approximate character width\n;const estimatedLabelWidth=idleLabel.length*estimatedCharWidth;labelPadding=estimatedLabelWidth+16;}return`${baseWidth+labelPadding}px`;},[isFitWidth,style?.width,showLabels,idleLabel,buttonPadding,iconSize,labelFont]);useEffect(()=>{if(containerRef.current){const width=containerRef.current.offsetWidth;setContainerWidth(width);}},[calculatedWidth,showLabels,idleLabel]);const DRAG_CONSTRAINTS=useMemo(()=>{// Parse padding value to get numeric value\nconst paddingValue=parseFloat(buttonPadding)||16;// Button size is icon size + 2 * padding\nconst buttonSize=iconSize+paddingValue*2;// Calculate max drag distance based on actual container width, accounting for component padding\nconst effectiveWidth=containerWidth>0?containerWidth-parsedComponentPadding.left-parsedComponentPadding.right:0;const maxDrag=effectiveWidth>0?effectiveWidth-buttonSize:100;return{left:0,right:Math.max(100,maxDrag)};},[containerWidth,buttonPadding,iconSize,parsedComponentPadding]);const dragX=useMotionValue(0);const springX=useSpring(dragX,{stiffness:500,damping:35,mass:.5});const dragProgress=useTransform(springX,[0,DRAG_CONSTRAINTS.right],[0,1]);const handleSubmit=useCallback(()=>{// Trigger haptic feedback on supported touch devices\nif(enableHaptic&&typeof window!==\"undefined\"&&\"vibrate\"in navigator&&\"ontouchstart\"in window){// Convert strength (0.05-1) to duration in milliseconds (10-200ms)\nconst vibrationDuration=Math.round(hapticStrength*200);navigator.vibrate(vibrationDuration);}startTransition(()=>setStatus(\"loading\"));setTimeout(()=>{startTransition(()=>{setStatus(effectiveResolveTo);});},effectiveLoadingDuration*1e3);},[effectiveResolveTo,effectiveLoadingDuration,enableHaptic,hapticStrength]);const handleDragStart=useCallback(()=>{if(completed)return;startTransition(()=>setIsDragging(true));},[completed]);const handleDragEnd=()=>{if(completed)return;startTransition(()=>setIsDragging(false));const progress=dragProgress.get();// dragThreshold is now 50 to 100 (percentage), convert to 0.5 to 1.0\nif(progress>=effectiveDragThreshold/100){startTransition(()=>{setCompleted(true);});handleSubmit();}else{dragX.set(0);}};const handleDrag=(_event,info)=>{if(completed)return;const newX=Math.max(0,Math.min(info.offset.x,DRAG_CONSTRAINTS.right));dragX.set(newX);};// Calculate button center position and accent width\nconst parsedButtonPadding=parseFloat(buttonPadding)||16;const buttonSize=iconSize+parsedButtonPadding*2;const buttonCenter=useTransform(springX,x=>x+buttonSize/2);const adjustedWidth=useTransform(springX,x=>x+buttonSize/2);const customIcons=useMemo(()=>({loading:loadingIcon,success:successIcon,error:errorIcon}),[loadingIcon,successIcon,errorIcon]);const useCustomIcons=useMemo(()=>({loading:useCustomLoadingIcon,success:useCustomSuccessIcon,error:useCustomErrorIcon}),[useCustomLoadingIcon,useCustomSuccessIcon,useCustomErrorIcon]);const customIconColors=useMemo(()=>({loading:loadingIconColor,success:successIconColor,error:errorIconColor}),[loadingIconColor,successIconColor,errorIconColor]);const iconSizes=useMemo(()=>({loading:iconSize,success:iconSize,error:iconSize}),[iconSize]);const defaultInitialIcon=/*#__PURE__*/_jsxs(\"svg\",{width:iconSize,height:iconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"5\",y1:\"12\",x2:\"19\",y2:\"12\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"12 5 19 12 12 19\"})]});const initialIconElement=useCustomInitialIcon&&initialIcon?/*#__PURE__*/_jsx(\"div\",{style:{width:`${iconSize}px`,height:`${iconSize}px`,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:initialIconColor,WebkitMaskImage:`url(${initialIcon})`,maskImage:`url(${initialIcon})`,WebkitMaskSize:\"contain\",maskSize:\"contain\",WebkitMaskRepeat:\"no-repeat\",maskRepeat:\"no-repeat\",WebkitMaskPosition:\"center\",maskPosition:\"center\"}}):defaultInitialIcon;// Handle opening link on success\nuseEffect(()=>{if(status!==\"success\"||!effectiveSuccessLink||typeof window===\"undefined\")return;// Resolve successLink into a string URL\nlet url=\"\";if(typeof effectiveSuccessLink===\"string\"){url=effectiveSuccessLink.trim();}else if(typeof effectiveSuccessLink===\"object\"&&effectiveSuccessLink!==null){// Accept many possible fields Framer might use\nconst linkObj=effectiveSuccessLink;url=(linkObj.href||linkObj.url||linkObj.link||linkObj.path||\"\").trim();}if(!url){console.warn(\"[SlideButton] successLink resolved to empty string. Skipping navigation.\");return;}// Normalize: if it's clearly an external link without protocol, add https://\nconst looksLikeDomain=/^[^/:]+\\.[^/:]+/.test(url)// crude check\n;if(looksLikeDomain&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:\\/\\//.test(url)&&!url.startsWith(\"/\")){url=\"https://\"+url;}// Debug log\nconsole.log(\"[SlideButton] Navigating to success URL:\",url,\"targetNewTab:\",!!effectiveLinkTarget);// Trigger haptic feedback before navigation\nif(enableHaptic&&\"vibrate\"in navigator&&\"ontouchstart\"in window){const vibrationDuration=Math.round(hapticStrength*200);navigator.vibrate(vibrationDuration);}try{if(effectiveLinkTarget){// New tab — use noopener for security\nwindow.open(url,\"_blank\",\"noopener,noreferrer\");// Reset to idle state after 2 seconds when opening in new tab\nconst resetTimer=setTimeout(()=>{startTransition(()=>{setStatus(\"idle\");setCompleted(false);setIsDragging(false);});dragX.set(0);springX.jump(0);// Blur the button to remove focus rectangle\nif(buttonRef.current){buttonRef.current.blur();}},2e3);return()=>clearTimeout(resetTimer);}else{// Same tab: use assign for a full navigation. If you prefer SPA router, replace this with router push.\nwindow.location.assign(url);}}catch(err){console.error(\"[SlideButton] Failed to open link:\",err);}},[status,effectiveSuccessLink,effectiveLinkTarget,enableHaptic,hapticStrength,dragX,springX]);// Handle opening link on error\nuseEffect(()=>{if(status!==\"error\"||!effectiveErrorLink||typeof window===\"undefined\")return;// Resolve errorLink into a string URL\nlet url=\"\";if(typeof effectiveErrorLink===\"string\"){url=effectiveErrorLink.trim();}else if(typeof effectiveErrorLink===\"object\"&&effectiveErrorLink!==null){// Accept many possible fields Framer might use\nconst linkObj=effectiveErrorLink;url=(linkObj.href||linkObj.url||linkObj.link||linkObj.path||\"\").trim();}if(!url){console.warn(\"[SlideButton] errorLink resolved to empty string. Skipping navigation.\");return;}// Normalize: if it's clearly an external link without protocol, add https://\nconst looksLikeDomain=/^[^/:]+\\.[^/:]+/.test(url)// crude check\n;if(looksLikeDomain&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:\\/\\//.test(url)&&!url.startsWith(\"/\")){url=\"https://\"+url;}// Debug log\nconsole.log(\"[SlideButton] Navigating to error URL:\",url,\"targetNewTab:\",!!effectiveErrorLinkTarget);// Trigger haptic feedback before navigation\nif(enableHaptic&&\"vibrate\"in navigator&&\"ontouchstart\"in window){const vibrationDuration=Math.round(hapticStrength*200);navigator.vibrate(vibrationDuration);}try{if(effectiveErrorLinkTarget){// New tab — use noopener for security\nwindow.open(url,\"_blank\",\"noopener,noreferrer\");// Reset to idle state after 2 seconds when opening in new tab\nconst resetTimer=setTimeout(()=>{startTransition(()=>{setStatus(\"idle\");setCompleted(false);setIsDragging(false);});dragX.set(0);springX.jump(0);// Blur the button to remove focus rectangle\nif(buttonRef.current){buttonRef.current.blur();}},2e3);return()=>clearTimeout(resetTimer);}else{// Same tab: use assign for a full navigation. If you prefer SPA router, replace this with router push.\nwindow.location.assign(url);}}catch(err){console.error(\"[SlideButton] Failed to open link:\",err);}},[status,effectiveErrorLink,effectiveErrorLinkTarget,enableHaptic,hapticStrength,dragX,springX]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          @keyframes spin {\n            from { transform: rotate(0deg); }\n            to { transform: rotate(360deg); }\n          }\n          @keyframes shimmer {\n            0% {\n              background-position: -200% center;\n            }\n            100% {\n              background-position: 200% center;\n            }\n          }\n        `}),/*#__PURE__*/_jsxs(motion.div,{ref:containerRef,style:{...style,position:\"relative\",display:\"flex\",height:style?.height||`${iconSize+(parseFloat(buttonPadding)||16)*2+parsedComponentPadding.top+parsedComponentPadding.bottom}px`,width:calculatedWidth,alignItems:\"center\",justifyContent:\"center\",boxSizing:\"border-box\",padding:componentPadding,outline:\"none\"},layout:true,transition:transition||ANIMATION_CONFIG.layoutTransition,children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,borderRadius:\"9999px\",backgroundColor:trackColor,boxShadow:customShadow||\"inset 0 2px 4px rgba(0, 0, 0, 0.1)\",overflow:\"hidden\"},children:!completed&&isDragging&&/*#__PURE__*/_jsx(motion.div,{style:{width:adjustedWidth,position:\"absolute\",top:0,bottom:0,left:0,zIndex:0,backgroundColor:accentColor,borderRadius:\"9999px\"},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:transition||ANIMATION_CONFIG.smoothSpring})}),/*#__PURE__*/_jsx(AnimatePresence,{children:!completed&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",left:`${parsedComponentPadding.left}px`,zIndex:10},animate:{x:status===\"idle\"&&!isDragging&&enableBounce?[0,8,0]:0},transition:status===\"idle\"&&!isDragging&&enableBounce?{x:{repeat:Infinity,duration:1.2,ease:[.45,.05,.55,.95],repeatDelay:bounceInterval}}:transition||undefined,initial:{opacity:1},exit:{opacity:0},children:/*#__PURE__*/_jsx(motion.div,{ref:dragHandleRef,drag:\"x\",dragConstraints:DRAG_CONSTRAINTS,dragElastic:.05,dragMomentum:false,onDragStart:handleDragStart,onDragEnd:handleDragEnd,onDrag:handleDrag,style:{x:springX,display:\"flex\",alignItems:\"center\",justifyContent:\"flex-start\",cursor:\"grab\"},whileTap:{cursor:\"grabbing\",scale:1.05},transition:transition||ANIMATION_CONFIG.smoothSpring,children:/*#__PURE__*/_jsx(motion.button,{ref:buttonRef,disabled:status===\"loading\",tabIndex:1,onKeyDown:e=>{if(e.key===\"Enter\"&&status===\"idle\"&&!completed){e.preventDefault();// Determine which link to navigate to based on resolveTo\nconst targetLink=effectiveResolveTo===\"success\"?effectiveSuccessLink:effectiveErrorLink;const targetNewTab=effectiveResolveTo===\"success\"?effectiveLinkTarget:effectiveErrorLinkTarget;if(!targetLink||typeof window===\"undefined\")return;// Resolve link into a string URL\nlet url=\"\";if(typeof targetLink===\"string\"){url=targetLink.trim();}else if(typeof targetLink===\"object\"&&targetLink!==null){const linkObj=targetLink;url=(linkObj.href||linkObj.url||linkObj.link||linkObj.path||\"\").trim();}if(!url){console.warn(\"[SlideButton] Link resolved to empty string. Skipping navigation.\");return;}// Normalize URL\nconst looksLikeDomain=/^[^/:]+\\.[^/:]+/.test(url);if(looksLikeDomain&&!/^[a-zA-Z][a-zA-Z0-9+.-]*:\\/\\//.test(url)&&!url.startsWith(\"/\")){url=\"https://\"+url;}console.log(\"[SlideButton] Enter key navigation to:\",url,\"targetNewTab:\",!!targetNewTab);// Trigger haptic feedback\nif(enableHaptic&&\"vibrate\"in navigator&&\"ontouchstart\"in window){const vibrationDuration=Math.round(hapticStrength*200);navigator.vibrate(vibrationDuration);}try{if(targetNewTab){window.open(url,\"_blank\",\"noopener,noreferrer\");}else{window.location.assign(url);}}catch(err){console.error(\"[SlideButton] Failed to open link:\",err);}}},style:{padding:buttonPadding,borderRadius:\"9999px\",backgroundColor:buttonColor,color:iconColor,border:\"none\",cursor:status===\"loading\"?\"not-allowed\":\"inherit\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0},whileHover:{scale:1.02},whileFocus:{scale:1.1},transition:transition||{type:\"spring\",stiffness:400,damping:25},children:initialIconElement})})}),showLabels&&/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",right:`${parsedComponentPadding.right+16}px`,color:idleLabelColor,pointerEvents:\"none\",userSelect:\"none\",whiteSpace:\"nowrap\",zIndex:5,...enableShimmer?{backgroundImage:`linear-gradient(90deg, ${idleLabelColor} 0%, ${idleLabelColor} 40%, rgba(255, 255, 255, 0.6) 50%, ${idleLabelColor} 60%, ${idleLabelColor} 100%)`,backgroundSize:\"200% 100%\",backgroundClip:\"text\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",animation:`shimmer ${shimmerSpeed}s ease-in-out infinite`,animationDirection:shimmerDirection===\"left-to-right\"?\"reverse\":\"normal\"}:{},...labelFont},initial:{opacity:1},animate:{opacity:1},exit:{opacity:0},transition:{duration:0},children:idleLabel})]})}),/*#__PURE__*/_jsx(AnimatePresence,{children:completed&&/*#__PURE__*/_jsx(motion.div,{style:{position:\"absolute\",top:parsedComponentPadding.top,left:parsedComponentPadding.left,right:parsedComponentPadding.right,bottom:parsedComponentPadding.bottom,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:transition||ANIMATION_CONFIG.smoothSpring,children:/*#__PURE__*/_jsxs(\"button\",{disabled:status===\"loading\",style:{width:\"100%\",height:\"100%\",borderRadius:\"9999px\",backgroundColor:buttonColor,color:iconColor,border:\"none\",cursor:status===\"loading\"?\"not-allowed\":\"pointer\",display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.3s\",gap:showLabels?\"8px\":\"0\",padding:0,margin:0},children:[/*#__PURE__*/_jsx(AnimatePresence,{mode:\"wait\",children:/*#__PURE__*/_jsx(StatusIcon,{status:status,customIcons:customIcons,useCustomIcons:useCustomIcons,customIconColors:customIconColors,iconSize:iconSize,transition:transition})}),showLabels&&/*#__PURE__*/_jsxs(motion.span,{style:{color:activeLabelColor,whiteSpace:\"nowrap\",...labelFont},initial:{opacity:0,y:5},animate:{opacity:1,y:0},transition:transition||ANIMATION_CONFIG.iconTransition,children:[status===\"loading\"&&loadingLabel,status===\"success\"&&successLabel,status===\"error\"&&errorLabel]})]})})})]})]});}SlideButton.displayName=\"Slide Button\";addPropertyControls(SlideButton,{transition:{type:ControlType.Transition},triggerProps:{type:ControlType.Object,title:\"Trigger\",optional:false,controls:{dragThreshold:{type:ControlType.Number,title:\"Threshold\",description:\"The percentage of the track’s length you must drag the button to activate the desired action.\",defaultValue:70,min:30,max:100,step:5,unit:\"%\"},resolveTo:{type:ControlType.Enum,title:\"Resolve To\",options:[\"success\",\"error\"],optionTitles:[\"Success\",\"Error\"],defaultValue:\"success\",displaySegmentedControl:true},successLink:{type:ControlType.Link,title:\"Success Link\",description:\"Internal website page redirects, like - /home, /about, will only work inside a browser window\"},linkTarget:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},errorLink:{type:ControlType.Link,title:\"Error Link\",description:\"Internal website page redirects, like - /home, /about, will only work inside a browser window\"},errorLinkTarget:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},loadingDuration:{type:ControlType.Number,title:\"Loading Duration\",defaultValue:2,min:.5,max:5,step:.1,unit:\"s\",displayStepper:true}},defaultValue:{dragThreshold:70,resolveTo:\"success\",successLink:\"\",linkTarget:true,errorLink:\"\",errorLinkTarget:true,loadingDuration:2}},showLabels:{type:ControlType.Boolean,title:\"Show Labels\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},labelProps:{type:ControlType.Object,title:\"Label Props\",optional:false,controls:{enableShimmer:{type:ControlType.Boolean,title:\"Shimmer\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},shimmerDirection:{type:ControlType.Enum,title:\"Direction\",options:[\"left-to-right\",\"right-to-left\"],optionTitles:[\"Left to Right\",\"Right to Left\"],defaultValue:\"left-to-right\",displaySegmentedControl:true,hidden:props=>!props.enableShimmer},shimmerSpeed:{type:ControlType.Number,title:\"Duration\",defaultValue:2,min:1,max:10,step:.5,unit:\"s\",displayStepper:true,hidden:props=>!props.enableShimmer},labelFont:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},idleLabel:{type:ControlType.String,title:\"Idle\",defaultValue:\"Slide to Confirm\"},idleLabelColor:{type:ControlType.Color,title:\"Idle Color\",defaultValue:\"#666666\"},loadingLabel:{type:ControlType.String,title:\"Loading\",defaultValue:\"Sending...\"},successLabel:{type:ControlType.String,title:\"Success\",defaultValue:\"Success!\"},errorLabel:{type:ControlType.String,title:\"Error\",defaultValue:\"Error!\"},activeLabelColor:{type:ControlType.Color,title:\"Active Color\",defaultValue:\"#FFFFFF\"}},defaultValue:{enableShimmer:true,shimmerDirection:\"left-to-right\",shimmerSpeed:2,labelFont:{fontSize:\"14px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"},idleLabel:\"Slide to Confirm\",idleLabelColor:\"#666666\",loadingLabel:\"Sending...\",successLabel:\"Success!\",errorLabel:\"Error!\",activeLabelColor:\"#FFFFFF\"},hidden:(_props,rootProps)=>!rootProps.showLabels},iconProps:{type:ControlType.Object,title:\"Icon\",optional:false,controls:{iconSize:{type:ControlType.Number,title:\"Size\",defaultValue:20,min:8,max:80,step:1,unit:\"px\",displayStepper:true},iconColor:{type:ControlType.Color,title:\"Default Color\",defaultValue:\"#FFFFFF\"},useCustomInitialIcon:{type:ControlType.Boolean,title:\"Idle Icon\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Default\"},initialIcon:{type:ControlType.File,title:\" \",allowedFileTypes:[\"svg\"],hidden:props=>!props.useCustomInitialIcon},initialIconColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\",hidden:props=>!props.useCustomInitialIcon},useCustomLoadingIcon:{type:ControlType.Boolean,title:\"Loading Icon\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Default\"},loadingIcon:{type:ControlType.File,title:\" \",allowedFileTypes:[\"svg\"],hidden:props=>!props.useCustomLoadingIcon},loadingIconColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\",hidden:props=>!props.useCustomLoadingIcon},useCustomSuccessIcon:{type:ControlType.Boolean,title:\"Success Icon\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Default\"},successIcon:{type:ControlType.File,title:\" \",allowedFileTypes:[\"svg\"],hidden:props=>!props.useCustomSuccessIcon},successIconColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\",hidden:props=>!props.useCustomSuccessIcon},useCustomErrorIcon:{type:ControlType.Boolean,title:\"Error Icon\",defaultValue:false,enabledTitle:\"Custom\",disabledTitle:\"Default\"},errorIcon:{type:ControlType.File,title:\" \",allowedFileTypes:[\"svg\"],hidden:props=>!props.useCustomErrorIcon},errorIconColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\",hidden:props=>!props.useCustomErrorIcon}},defaultValue:{iconSize:20,iconColor:\"#FFFFFF\",useCustomInitialIcon:false,initialIcon:\"\",initialIconColor:\"#FFFFFF\",useCustomLoadingIcon:false,loadingIcon:\"\",loadingIconColor:\"#FFFFFF\",useCustomSuccessIcon:false,successIcon:\"\",successIconColor:\"#FFFFFF\",useCustomErrorIcon:false,errorIcon:\"\",errorIconColor:\"#FFFFFF\"}},trackColor:{type:ControlType.Color,title:\"Track Color\",defaultValue:\"#F5F5F5\"},componentPadding:{type:ControlType.Padding,title:\"Track Padding\",defaultValue:\"0px\"},customShadow:{type:ControlType.BoxShadow,title:\"Shadow\",defaultValue:\"0 2px 8px rgba(0, 0, 0, 0.15)\"},accentColor:{type:ControlType.Color,title:\"Accent Color\",defaultValue:\"#EEEEEE\"},buttonColor:{type:ControlType.Color,title:\"Button Color\",defaultValue:\"#000000\"},buttonPadding:{type:ControlType.Padding,title:\"Button Padding\",defaultValue:\"16px\"},enableBounce:{type:ControlType.Boolean,title:\"Button Bounce\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},bounceInterval:{type:ControlType.Number,title:\"Bounce Interval\",defaultValue:2,min:.5,max:10,step:.5,unit:\"s\",hidden:props=>!props.enableBounce},enableHaptic:{type:ControlType.Boolean,title:\"Haptic Feedback\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"[Click here](https://tinyurl.com/avirallakhanpaul) to get more exciting components!\"},hapticStrength:{type:ControlType.Number,title:\"Haptic Strength\",defaultValue:.5,min:.05,max:1,step:.05,displayStepper:true,hidden:props=>!props.enableHaptic}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SlideButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"36\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"192\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SlideButton.map"],"mappings":"0TAQG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,aAAW,cAAY,cAAY,YAAU,kBAAgB,YAAU,gBAAc,aAAW,gBAAc,OAAO,mBAAiB,MAAM,QAAM,aAAW,eAAa,iBAAe,eAAY,cAAW,aAAU,mBAAgB,gBAAa,kBAAe,gBAAa,cAAW,iBAAc,EAAW,CAAC,WAAS,aAAU,wBAAqB,cAAY,oBAAiB,wBAAqB,eAAY,oBAAiB,wBAAqB,eAAY,oBAAiB,sBAAmB,aAAU,mBAAgBA,OAAkV,CAArT,SAAS,GAAG,UAAU,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