{"version":3,"file":"cBQAwTefC.BWRvGpy7.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/gJBdrmx6Z8VfO51DSN5S/lv4tnSQsSaIlLDKefYRK/cBQAwTefC.js"],"sourcesContent":["// Generated by Framer (0138aee)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={VYn33lVMS:{hover:true}};const cycleOrder=[\"VYn33lVMS\",\"YVt9h3DM_\"];const serializationHash=\"framer-UbwEu\";const variantClassNames={VYn33lVMS:\"framer-v-1l0tv7e\",YVt9h3DM_:\"framer-v-1f0cxlq\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const bUC28knVO=undefined;const kwSYrqJyJ=undefined;const DEX53qIxg=undefined;const AIYkLNyqb=undefined;const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const transformTemplate1=(_,t)=>`translateY(-50%) ${t}`;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 humanReadableVariantMap={Large:\"VYn33lVMS\",Small:\"YVt9h3DM_\"};const getProps=({height,hover,id,link,tap,title,width,...props})=>{return{...props,AIYkLNyqb:title??props.AIYkLNyqb??\"Obtenir un devis\",bUC28knVO:hover??props.bUC28knVO,DEX53qIxg:link??props.DEX53qIxg,kwSYrqJyJ:tap??props.kwSYrqJyJ,variant:humanReadableVariantMap[props.variant]??props.variant??\"VYn33lVMS\"};};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,bUC28knVO,kwSYrqJyJ,AIYkLNyqb,DEX53qIxg,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"VYn33lVMS\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnterlj1voe=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(bUC28knVO){const res=await bUC28knVO(...args);if(res===false)return false;}});const onMouseLeave7bte8q=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});if(kwSYrqJyJ){const res=await kwSYrqJyJ(...args);if(res===false)return false;}});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:DEX53qIxg,motionChild:true,nodeId:\"VYn33lVMS\",scopeId:\"cBQAwTefC\",children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1l0tv7e\",className,classNames)} framer-2wts4c`,\"data-border\":true,\"data-framer-name\":\"Large\",\"data-highlight\":true,\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"VYn33lVMS\",onMouseEnter:onMouseEnterlj1voe,onMouseLeave:onMouseLeave7bte8q,ref:refBinding,style:{\"--border-bottom-width\":\"0px\",\"--border-color\":\"rgb(25, 109, 58)\",\"--border-left-width\":\"0px\",\"--border-right-width\":\"0px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0px\",borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,...style},variants:{\"VYn33lVMS-hover\":{\"--border-color\":\"var(--token-4fdd7769-e1d0-45b2-8e3d-fe484baba321, rgb(217, 124, 29))\"},YVt9h3DM_:{borderBottomLeftRadius:14,borderBottomRightRadius:14,borderTopLeftRadius:14,borderTopRightRadius:14}},...addPropertyOverrides({\"VYn33lVMS-hover\":{\"data-framer-name\":undefined},YVt9h3DM_:{\"data-framer-name\":\"Small\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-1heurm7\",\"data-framer-name\":\"Text Wrapper\",layoutDependency:layoutDependency,layoutId:\"Knl03LKZl\",style:{backgroundColor:\"rgb(25, 109, 58)\",borderBottomRightRadius:20,borderTopRightRadius:20},variants:{\"VYn33lVMS-hover\":{backgroundColor:\"var(--token-4fdd7769-e1d0-45b2-8e3d-fe484baba321, rgb(217, 124, 29))\",borderBottomRightRadius:0,borderTopRightRadius:0},YVt9h3DM_:{borderBottomRightRadius:14,borderTopRightRadius:14}},children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"R0Y7U3luZS01MDA=\",\"--framer-font-family\":'\"Syne\", \"Syne Placeholder\", sans-serif',\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"1.5em\",\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Obtenir un devis\"})}),className:\"framer-18tr986\",fonts:[\"GF;Syne-500\"],layoutDependency:layoutDependency,layoutId:\"t6iF9BXUC\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--framer-paragraph-spacing\":\"0px\"},text:AIYkLNyqb,verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-194slu2\",layoutDependency:layoutDependency,layoutId:\"frvbjmXTF\",style:{backgroundColor:\"rgb(25, 109, 58)\",borderBottomLeftRadius:15,borderBottomRightRadius:15,borderTopLeftRadius:15,borderTopRightRadius:15},transformTemplate:transformTemplate1,variants:{\"VYn33lVMS-hover\":{backgroundColor:\"var(--token-4fdd7769-e1d0-45b2-8e3d-fe484baba321, rgb(217, 124, 29))\"}}})]})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-UbwEu.framer-2wts4c, .framer-UbwEu .framer-2wts4c { display: block; }\",\".framer-UbwEu.framer-1l0tv7e { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 6px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 0px 4px 0px 0px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-UbwEu .framer-1heurm7 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 60px; justify-content: flex-start; overflow: visible; padding: 25px 30px 25px 30px; position: relative; width: min-content; }\",\".framer-UbwEu .framer-18tr986 { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-UbwEu .framer-194slu2 { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 6px); overflow: visible; position: absolute; right: 0px; top: 50%; width: 6px; z-index: 0; }\",\".framer-UbwEu.framer-v-1f0cxlq .framer-1heurm7 { height: 48px; padding: 10px 30px 10px 30px; }\",\".framer-UbwEu.framer-v-1f0cxlq .framer-194slu2 { right: 53px; z-index: -1; }\",\".framer-UbwEu.framer-v-1l0tv7e.hover.framer-1l0tv7e { gap: 12px; padding: 0px; }\",\".framer-UbwEu.framer-v-1l0tv7e.hover .framer-1heurm7 { order: 0; }\",\".framer-UbwEu.framer-v-1l0tv7e.hover .framer-194slu2 { height: 100%; right: -44px; width: var(--framer-aspect-ratio-supported, 60px); }\",'.framer-UbwEu[data-border=\"true\"]::after, .framer-UbwEu [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 60\n * @framerIntrinsicWidth 186\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"YVt9h3DM_\":{\"layout\":[\"auto\",\"auto\"]},\"JTOesJCzt\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"bUC28knVO\":\"hover\",\"kwSYrqJyJ\":\"tap\",\"AIYkLNyqb\":\"title\",\"DEX53qIxg\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramercBQAwTefC=withCSS(Component,css,\"framer-UbwEu\");export default FramercBQAwTefC;FramercBQAwTefC.displayName=\"Button\";FramercBQAwTefC.defaultProps={height:60,width:186};addPropertyControls(FramercBQAwTefC,{variant:{options:[\"VYn33lVMS\",\"YVt9h3DM_\"],optionTitles:[\"Large\",\"Small\"],title:\"Variant\",type:ControlType.Enum},bUC28knVO:{title:\"Hover\",type:ControlType.EventHandler},kwSYrqJyJ:{title:\"Tap\",type:ControlType.EventHandler},AIYkLNyqb:{defaultValue:\"Obtenir un devis\",displayTextArea:false,title:\"Title\",type:ControlType.String},DEX53qIxg:{title:\"Link\",type:ControlType.Link}});addFonts(FramercBQAwTefC,[{explicitInter:true,fonts:[{cssFamilyName:\"Syne\",source:\"google\",style:\"normal\",uiFamilyName:\"Syne\",url:\"https://fonts.gstatic.com/s/syne/v24/8vIS7w4qzmVxsWxjBZRjr0FKM_0KuT6hR47NCV5Z.woff2\",weight:\"500\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramercBQAwTefC\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"YVt9h3DM_\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"JTOesJCzt\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"186\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"60\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"bUC28knVO\\\":\\\"hover\\\",\\\"kwSYrqJyJ\\\":\\\"tap\\\",\\\"AIYkLNyqb\\\":\\\"title\\\",\\\"DEX53qIxg\\\":\\\"link\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./cBQAwTefC.map"],"mappings":"kVACwiB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAAvpB,IAAkK,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EA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