{"version":3,"file":"shared-lib.DWMNSaFG.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Image1"],"sources":["https:/framerusercontent.com/modules/kKxOmbGmfHnjSK9iG3z2/wEWihobqjtXCo1WkVdeD/hNSnvghxL.js","https:/framerusercontent.com/modules/nDtO7P1d7A9reE7NfF3i/VSRip9n5ifNshbBw8mfc/D5KYAX9QH.js"],"sourcesContent":["// Generated by Framer (6ae18df)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,Link,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={QWNF9Ml8j:{hover:true}};const cycleOrder=[\"jd_ueuRkc\",\"QWNF9Ml8j\",\"QW38ri4F1\",\"LdB9QQ1Qe\",\"HP4U4tLry\"];const serializationHash=\"framer-7EoQB\";const variantClassNames={HP4U4tLry:\"framer-v-1y6yjpv\",jd_ueuRkc:\"framer-v-1nuiagq\",LdB9QQ1Qe:\"framer-v-rvfv0f\",QW38ri4F1:\"framer-v-z4s2f9\",QWNF9Ml8j:\"framer-v-17ziyjb\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const fGzzxXh0r=undefined;const SogjgqN4c=undefined;const IBAv_CZ1p=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};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 humanReadableVariantMap={\"Logo con link home\":\"QWNF9Ml8j\",\"scheda inizio\":\"LdB9QQ1Qe\",\"Solo logo\":\"jd_ueuRkc\",\"Variant 3\":\"QW38ri4F1\",\"Younited Credit\":\"HP4U4tLry\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,link,mouseEnter,mouseLeave,width,...props})=>{return{...props,fGzzxXh0r:mouseEnter??props.fGzzxXh0r,IBAv_CZ1p:link??props.IBAv_CZ1p,SogjgqN4c:mouseLeave??props.SogjgqN4c,variant:humanReadableVariantMap[props.variant]??props.variant??\"jd_ueuRkc\"};};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,fGzzxXh0r,SogjgqN4c,IBAv_CZ1p,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"jd_ueuRkc\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter1wbexub=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});if(fGzzxXh0r){const res=await fGzzxXh0r(...args);if(res===false)return false;}});const onMouseLeave1joflkm=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});if(SogjgqN4c){const res=await SogjgqN4c(...args);if(res===false)return false;}});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:IBAv_CZ1p,motionChild:true,nodeId:\"jd_ueuRkc\",openInNewTab:false,scopeId:\"hNSnvghxL\",...addPropertyOverrides({\"QWNF9Ml8j-hover\":{href:undefined},QWNF9Ml8j:{href:undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1nuiagq\",className,classNames)} framer-1tfxkjn`,\"data-framer-name\":\"Solo logo\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"jd_ueuRkc\",onMouseEnter:onMouseEnter1wbexub,onMouseLeave:onMouseLeave1joflkm,ref:refBinding,style:{...style},...addPropertyOverrides({\"QWNF9Ml8j-hover\":{\"data-framer-name\":undefined},HP4U4tLry:{\"data-framer-name\":\"Younited Credit\"},LdB9QQ1Qe:{\"data-framer-name\":\"scheda inizio\"},QW38ri4F1:{\"data-framer-name\":\"Variant 3\"},QWNF9Ml8j:{\"data-framer-name\":\"Logo con link home\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"No Money No Party\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||80)-0-((componentViewport?.height||80)-0)*1)/2)),pixelHeight:510,pixelWidth:508,positionX:\"center\",positionY:\"center\",sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,src:\"https://framerusercontent.com/images/lwUg77qF98vw59QYncWgHayLJO8.svg?width=508&height=510\"},className:\"framer-1h5feuv\",layoutDependency:layoutDependency,layoutId:\"ZRiV2gyEx\",style:{filter:\"none\",WebkitFilter:\"none\"},variants:{\"QWNF9Ml8j-hover\":{filter:\"brightness(0.75) contrast(2) grayscale(1)\",WebkitFilter:\"brightness(0.75) contrast(2) grayscale(1)\"},HP4U4tLry:{filter:\"none\",WebkitFilter:\"none\"},LdB9QQ1Qe:{filter:\"grayscale(1)\",WebkitFilter:\"grayscale(1)\"}},...addPropertyOverrides({HP4U4tLry:{background:{alt:\"No Money No Party\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||80)-0-((componentViewport?.height||80)-0)*1)/2)),pixelHeight:192,pixelWidth:537,positionX:\"center\",positionY:\"center\",sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,src:\"https://framerusercontent.com/images/gxuwhmYHFb3mDNhr4rVIeDKUIpE.svg?width=537&height=192\",srcSet:\"https://framerusercontent.com/images/gxuwhmYHFb3mDNhr4rVIeDKUIpE.svg?scale-down-to=512&width=537&height=192 512w,https://framerusercontent.com/images/gxuwhmYHFb3mDNhr4rVIeDKUIpE.svg?width=537&height=192 537w\"}}},baseVariant,gestureVariant)})})})})})});});const css=[\".framer-7EoQB.framer-1tfxkjn, .framer-7EoQB .framer-1tfxkjn { display: block; }\",\".framer-7EoQB.framer-1nuiagq { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 15px; height: 80px; justify-content: center; overflow: visible; padding: 0px; position: relative; text-decoration: none; width: 80px; }\",\".framer-7EoQB .framer-1h5feuv { flex: 1 0 0px; height: 100%; position: relative; width: 1px; }\",\".framer-7EoQB.framer-v-17ziyjb.framer-1nuiagq { cursor: pointer; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 80\n * @framerIntrinsicWidth 80\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"QWNF9Ml8j\":{\"layout\":[\"fixed\",\"fixed\"]},\"QW38ri4F1\":{\"layout\":[\"fixed\",\"fixed\"]},\"LdB9QQ1Qe\":{\"layout\":[\"fixed\",\"fixed\"]},\"HP4U4tLry\":{\"layout\":[\"fixed\",\"fixed\"]},\"Pw_9IuVNi\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"fGzzxXh0r\":\"mouseEnter\",\"SogjgqN4c\":\"mouseLeave\",\"IBAv_CZ1p\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerhNSnvghxL=withCSS(Component,css,\"framer-7EoQB\");export default FramerhNSnvghxL;FramerhNSnvghxL.displayName=\"Logo\";FramerhNSnvghxL.defaultProps={height:80,width:80};addPropertyControls(FramerhNSnvghxL,{variant:{options:[\"jd_ueuRkc\",\"QWNF9Ml8j\",\"QW38ri4F1\",\"LdB9QQ1Qe\",\"HP4U4tLry\"],optionTitles:[\"Solo logo\",\"Logo con link home\",\"Variant 3\",\"scheda inizio\",\"Younited Credit\"],title:\"Variant\",type:ControlType.Enum},fGzzxXh0r:{title:\"Mouse Enter\",type:ControlType.EventHandler},SogjgqN4c:{title:\"Mouse Leave\",type:ControlType.EventHandler},IBAv_CZ1p:{title:\"Link\",type:ControlType.Link}});addFonts(FramerhNSnvghxL,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerhNSnvghxL\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"80\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"QWNF9Ml8j\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"QW38ri4F1\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"LdB9QQ1Qe\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"HP4U4tLry\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Pw_9IuVNi\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"80\",\"framerVariables\":\"{\\\"fGzzxXh0r\\\":\\\"mouseEnter\\\",\\\"SogjgqN4c\\\":\\\"mouseLeave\\\",\\\"IBAv_CZ1p\\\":\\\"link\\\"}\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./hNSnvghxL.map","// Generated by Framer (81a45be)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-mARI5 .framer-styles-preset-xcwonq:not(.rich-text-wrapper), .framer-mARI5 .framer-styles-preset-xcwonq.rich-text-wrapper a { --framer-link-current-text-color: #e7cc74; --framer-link-current-text-decoration: line-through; --framer-link-hover-text-color: #000000; --framer-link-hover-text-decoration: none; --framer-link-text-color: #e7cc74; --framer-link-text-decoration: none; }\"];export const className=\"framer-mARI5\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"yVACorB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,uCAAh0B,IAAmM,IAAkE,IAA4B,EAAiC,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,kBAAkB,UAAU,kBAAkB,EAA6Q,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,G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