{"version":3,"file":"YpdMer4VR.2FS41VRI.mjs","names":[],"sources":["https:/framerusercontent.com/modules/6hIEJ0s59AQF5KxWxBcY/xmKYA6xXIyRx5SUzGwxn/YpdMer4VR.js"],"sourcesContent":["// Generated by Framer (3bdc3c5)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={GtGAaRGNc:{hover:true}};const serializationHash=\"framer-WjdnE\";const variantClassNames={GtGAaRGNc:\"framer-v-2e5eb3\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const transition2={damping:30,delay:0,mass:1,stiffness:400,type:\"spring\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition2,y:4};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({background,buttonText,height,id,width,...props})=>{return{...props,BziE61PY0:background??props.BziE61PY0??\"var(--token-643ba14e-b49b-4267-9bfa-aa898cbda716, rgb(227, 227, 255))\",GNIWxSaLz:buttonText??props.GNIWxSaLz??\"Learn More\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,GNIWxSaLz,BziE61PY0,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"GtGAaRGNc\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:\"https://www.magnoliasoapandbath.com/\",motionChild:true,nodeId:\"GtGAaRGNc\",openInNewTab:false,scopeId:\"YpdMer4VR\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-2e5eb3\",className,classNames)} framer-10a4066`,\"data-framer-name\":\"Default\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"GtGAaRGNc\",ref:refBinding,style:{...style},...addPropertyOverrides({\"GtGAaRGNc-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-cy0tyt\",\"data-border\":true,\"data-framer-name\":\"Front\",layoutDependency:layoutDependency,layoutId:\"H7_qFCc4z\",style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"var(--token-0183e0f6-7c96-4dcf-b5fc-d9a1f40026d7, rgb(29, 29, 29))\",\"--border-left-width\":\"2px\",\"--border-right-width\":\"2px\",\"--border-style\":\"solid\",\"--border-top-width\":\"2px\",backgroundColor:\"var(--token-4905cbc5-920c-46e6-ae67-5eefd4b3b71a, rgb(255, 255, 255))\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10},variants:{\"GtGAaRGNc-hover\":{backgroundColor:\"var(--token-eef77100-1683-4cbd-9ffa-a8c479945e12, rgb(247, 247, 247))\"}},whileTap:animation,children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7RE0gU2Fucy02MDA=\",\"--framer-font-family\":'\"DM Sans\", \"DM Sans Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"600\",\"--framer-letter-spacing\":\"-0.04em\",\"--framer-line-height\":\"19px\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-0183e0f6-7c96-4dcf-b5fc-d9a1f40026d7, rgb(29, 29, 29)))\"},children:\"Learn More\"})}),className:\"framer-1ycrs6z\",\"data-framer-name\":\"Learn More\",fonts:[\"GF;DM Sans-600\"],layoutDependency:layoutDependency,layoutId:\"OHD7pDzQr\",style:{\"--extracted-r6o4lv\":\"var(--token-0183e0f6-7c96-4dcf-b5fc-d9a1f40026d7, rgb(29, 29, 29))\",\"--framer-paragraph-spacing\":\"0px\"},text:GNIWxSaLz,verticalAlignment:\"top\",withExternalLayout:true})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-i4rqh9\",\"data-border\":true,\"data-framer-name\":\"Back\",layoutDependency:layoutDependency,layoutId:\"KTrCe0w93\",style:{\"--border-bottom-width\":\"2px\",\"--border-color\":\"var(--token-0183e0f6-7c96-4dcf-b5fc-d9a1f40026d7, rgb(29, 29, 29))\",\"--border-left-width\":\"2px\",\"--border-right-width\":\"2px\",\"--border-style\":\"solid\",\"--border-top-width\":\"2px\",backgroundColor:BziE61PY0,borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10}})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-WjdnE.framer-10a4066, .framer-WjdnE .framer-10a4066 { display: block; }\",\".framer-WjdnE.framer-2e5eb3 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; text-decoration: none; width: min-content; }\",\".framer-WjdnE .framer-cy0tyt { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 7px; height: min-content; justify-content: center; overflow: visible; padding: 18px 30px 18px 30px; position: relative; width: min-content; will-change: var(--framer-will-change-effect-override, transform); z-index: 10; }\",\".framer-WjdnE .framer-1ycrs6z { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-WjdnE .framer-i4rqh9 { flex: none; height: 100%; left: 0px; overflow: visible; position: absolute; top: 6px; width: 100%; z-index: 9; }\",'.framer-WjdnE[data-border=\"true\"]::after, .framer-WjdnE [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 55\n * @framerIntrinsicWidth 150\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"K0bmZdmfK\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"GNIWxSaLz\":\"buttonText\",\"BziE61PY0\":\"background\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerYpdMer4VR=withCSS(Component,css,\"framer-WjdnE\");export default FramerYpdMer4VR;FramerYpdMer4VR.displayName=\"Button\";FramerYpdMer4VR.defaultProps={height:55,width:150};addPropertyControls(FramerYpdMer4VR,{GNIWxSaLz:{defaultValue:\"Learn More\",displayTextArea:false,title:\"Button Text\",type:ControlType.String},BziE61PY0:{defaultValue:\"var(--token-643ba14e-b49b-4267-9bfa-aa898cbda716, rgb(227, 227, 255))\",title:\"Background\",type:ControlType.Color}});addFonts(FramerYpdMer4VR,[{explicitInter:true,fonts:[{family:\"DM Sans\",source:\"google\",style:\"normal\",url:\"https://fonts.gstatic.com/s/dmsans/v16/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAfJthS2f3ZGMZpg.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerYpdMer4VR\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"K0bmZdmfK\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"GNIWxSaLz\\\":\\\"buttonText\\\",\\\"BziE61PY0\\\":\\\"background\\\"}\",\"framerIntrinsicWidth\":\"150\",\"framerIntrinsicHeight\":\"55\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YpdMer4VR.map"],"mappings":"siBACsc,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAE,EAAsF,MAArF,IAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,CAAe,0CAW7K,AAXhd,GAAyD,IAAyI,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,OAAM,CAAK,CAAC,EAAO,EAAkB,eAA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