{"version":3,"file":"td2f5uEp3.yHwq29XK.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/C7iHG2E0dX703Zs7Amvx/E5TBStL56cjgc91bMtqg/td2f5uEp3.js"],"sourcesContent":["// Generated by Framer (ffd9a7b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,Link,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/NLG1ucuZLh7nnWHjT3Xm/k3nDP0Sy7xp4nyLPCGbR/mE2yTjuyy.js\";const cycleOrder=[\"fCgEfpY1N\",\"v7RGXlCQm\"];const serializationHash=\"framer-1tce7\";const variantClassNames={fCgEfpY1N:\"framer-v-1d56230\",v7RGXlCQm:\"framer-v-q3fm1j\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const transition2={bounce:.25,delay:0,duration:.45,type:\"spring\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1.1,skewX:0,skewY:0,transition:transition2};const animation1={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:.9,skewX:0,skewY:0,transition:transition2};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={\"Button - Small\":\"v7RGXlCQm\",Button:\"fCgEfpY1N\"};const getProps=({background,color,height,id,link,title,width,...props})=>{return{...props,cb6XXgSGz:background??props.cb6XXgSGz??\"var(--token-85bc60e3-516a-42a8-9c4e-028cab4adab4, rgb(204, 19, 55))\",eZ0Rtzpjo:title??props.eZ0Rtzpjo??\"Ciao amico mio\",ODoPath8j:link??props.ODoPath8j,variant:humanReadableVariantMap[props.variant]??props.variant??\"fCgEfpY1N\",vsQ3nFGBw:color??props.vsQ3nFGBw??\"var(--token-79efd9ad-f980-41b7-b66f-86ca5a302611, rgb(246, 233, 215))\"};};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,cb6XXgSGz,eZ0Rtzpjo,vsQ3nFGBw,ODoPath8j,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"fCgEfpY1N\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];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:ODoPath8j,motionChild:true,nodeId:\"fCgEfpY1N\",openInNewTab:false,scopeId:\"td2f5uEp3\",smoothScroll:true,children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1d56230\",className,classNames)} framer-1kkmnu6`,\"data-framer-name\":\"Button\",layoutDependency:layoutDependency,layoutId:\"fCgEfpY1N\",ref:refBinding,style:{backgroundColor:cb6XXgSGz,borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,...style},...addPropertyOverrides({v7RGXlCQm:{\"data-framer-name\":\"Button - Small\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-3vbwqw\",layoutDependency:layoutDependency,layoutId:\"ycpPhreV3\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-hydyjp\",\"data-styles-preset\":\"mE2yTjuyy\",style:{\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-vsQ3nFGBw-td2f5uEp3))\"},children:\"Ciao amico mio\"})}),className:\"framer-vxmmpn\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"HyX3DBBqG\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-vsQ3nFGBw-td2f5uEp3)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-vsQ3nFGBw-td2f5uEp3\":vsQ3nFGBw},text:eZ0Rtzpjo,verticalAlignment:\"center\",whileHover:animation,whileTap:animation1,withExternalLayout:true})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-1tce7.framer-1kkmnu6, .framer-1tce7 .framer-1kkmnu6 { display: block; }\",\".framer-1tce7.framer-1d56230 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; padding: 0px; position: relative; text-decoration: none; width: min-content; }\",\".framer-1tce7 .framer-3vbwqw { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; min-width: 150px; overflow: hidden; padding: 10px; position: relative; width: min-content; }\",\".framer-1tce7 .framer-vxmmpn { flex: none; height: auto; position: relative; white-space: pre; width: auto; will-change: var(--framer-will-change-effect-override, transform); }\",\".framer-1tce7.framer-v-q3fm1j .framer-3vbwqw { order: 0; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 55\n * @framerIntrinsicWidth 179\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"v7RGXlCQm\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"cb6XXgSGz\":\"background\",\"eZ0Rtzpjo\":\"title\",\"vsQ3nFGBw\":\"color\",\"ODoPath8j\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framertd2f5uEp3=withCSS(Component,css,\"framer-1tce7\");export default Framertd2f5uEp3;Framertd2f5uEp3.displayName=\"Buttons\";Framertd2f5uEp3.defaultProps={height:55,width:179};addPropertyControls(Framertd2f5uEp3,{variant:{options:[\"fCgEfpY1N\",\"v7RGXlCQm\"],optionTitles:[\"Button\",\"Button - Small\"],title:\"Variant\",type:ControlType.Enum},cb6XXgSGz:{defaultValue:'var(--token-85bc60e3-516a-42a8-9c4e-028cab4adab4, rgb(204, 19, 55)) /* {\"name\":\"Primary\"} */',title:\"Background\",type:ControlType.Color},eZ0Rtzpjo:{defaultValue:\"Ciao amico mio\",displayTextArea:false,title:\"Title\",type:ControlType.String},vsQ3nFGBw:{defaultValue:'var(--token-79efd9ad-f980-41b7-b66f-86ca5a302611, rgb(246, 233, 215)) /* {\"name\":\"Background\"} */',title:\"Color\",type:ControlType.Color},ODoPath8j:{title:\"Link\",type:ControlType.Link}});addFonts(Framertd2f5uEp3,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framertd2f5uEp3\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"179\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"cb6XXgSGz\\\":\\\"background\\\",\\\"eZ0Rtzpjo\\\":\\\"title\\\",\\\"vsQ3nFGBw\\\":\\\"color\\\",\\\"ODoPath8j\\\":\\\"link\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"v7RGXlCQm\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"55\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./td2f5uEp3.map"],"mappings":"ypBACkmB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,mDAA/tB,IAAiK,IAAkE,IAA4B,IAAmJ,CAAM,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAY,CAAC,OAAO,IAAI,MAAM,EAAE,SAAS,IAAI,KAAK,SAAS,CAAO,EAAU,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,IAAI,MAAM,EAAE,MAAM,EAAE,WAAW,EAAY,CAAO,EAAW,CAAC,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,E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