{"version":3,"file":"WeojsB6c1.B_xa64e6.mjs","names":["useRef","Image"],"sources":["https:/framerusercontent.com/modules/5EuBE14GvHq20L9oYlW7/taTY50CSUVxvAou9NXfO/WeojsB6c1.js"],"sourcesContent":["// Generated by Framer (8f9ffef)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"Rq8LbFVBa\",\"gty2kfh3s\",\"ZgHEhcSGk\",\"zcN3kj487\"];const serializationHash=\"framer-pRODe\";const variantClassNames={gty2kfh3s:\"framer-v-2qha8y\",Rq8LbFVBa:\"framer-v-1xpl73q\",zcN3kj487:\"framer-v-fqdivi\",ZgHEhcSGk:\"framer-v-2mcg8k\"};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 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={\"Fallback Img\":\"zcN3kj487\",\"Mark\\xe9ta\":\"ZgHEhcSGk\",Honza:\"gty2kfh3s\",Martin:\"Rq8LbFVBa\"};const getProps=({click,height,id,width,...props})=>{return{...props,pa_oP1Pw3:click??props.pa_oP1Pw3,variant:humanReadableVariantMap[props.variant]??props.variant??\"Rq8LbFVBa\"};};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,pa_oP1Pw3,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Rq8LbFVBa\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTaphotga8=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(pa_oP1Pw3){const res=await pa_oP1Pw3(...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(Image,{...restProps,...gestureHandlers,background:{alt:\"Martin Šlat | Nexus Mag\",fit:\"fill\",intrinsicHeight:1472,intrinsicWidth:1512,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:128,pixelWidth:128,src:\"https://framerusercontent.com/images/QVlCHjesdfrgWm2wLMo9rdwZk.webp\"},className:cx(scopingClassNames,\"framer-1xpl73q\",className,classNames),\"data-framer-name\":\"Martin\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"Rq8LbFVBa\",onTap:onTaphotga8,ref:refBinding,style:{borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},...addPropertyOverrides({gty2kfh3s:{\"data-framer-name\":\"Honza\",background:{alt:\"Jan Kudl\\xe1ček | Nexus Mag\",fit:\"fill\",intrinsicHeight:1200,intrinsicWidth:1200,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:128,pixelWidth:128,src:\"https://framerusercontent.com/images/SsrrqcdU79O3bFG9oxrHEg3RAQ.webp\"}},zcN3kj487:{\"data-framer-name\":\"Fallback Img\",background:{alt:\"Martin Šlat | Nexus Mag\",fit:\"fill\",intrinsicHeight:570,intrinsicWidth:570,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:570,pixelWidth:570,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/IgRc6ZyHwrPfpQVmh4GvGt6R2A.png\",srcSet:\"https://framerusercontent.com/images/IgRc6ZyHwrPfpQVmh4GvGt6R2A.png?scale-down-to=512 512w,https://framerusercontent.com/images/IgRc6ZyHwrPfpQVmh4GvGt6R2A.png 570w\"}},ZgHEhcSGk:{\"data-framer-name\":\"Mark\\xe9ta\",background:{alt:\"Martin Šlat | Nexus Mag\",fit:\"fill\",intrinsicHeight:1e3,intrinsicWidth:1e3,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:256,pixelWidth:256,src:\"https://framerusercontent.com/images/D0WnsxLlY5tFDLQqpBzAWJVHg8E.webp\"}}},baseVariant,gestureVariant)})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-pRODe.framer-1ew1rkt, .framer-pRODe .framer-1ew1rkt { display: block; }\",\".framer-pRODe.framer-1xpl73q { cursor: pointer; height: 64px; overflow: hidden; position: relative; width: 64px; will-change: var(--framer-will-change-override, transform); }\",\".framer-pRODe.framer-v-2qha8y.framer-1xpl73q, .framer-pRODe.framer-v-2mcg8k.framer-1xpl73q, .framer-pRODe.framer-v-fqdivi.framer-1xpl73q { aspect-ratio: 1 / 1; height: var(--framer-aspect-ratio-supported, 64px); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 64\n * @framerIntrinsicWidth 64\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"gty2kfh3s\":{\"layout\":[\"fixed\",\"fixed\"]},\"ZgHEhcSGk\":{\"layout\":[\"fixed\",\"fixed\"]},\"zcN3kj487\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"pa_oP1Pw3\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerWeojsB6c1=withCSS(Component,css,\"framer-pRODe\");export default FramerWeojsB6c1;FramerWeojsB6c1.displayName=\"Blog / Author Img\";FramerWeojsB6c1.defaultProps={height:64,width:64};addPropertyControls(FramerWeojsB6c1,{variant:{options:[\"Rq8LbFVBa\",\"gty2kfh3s\",\"ZgHEhcSGk\",\"zcN3kj487\"],optionTitles:[\"Martin\",\"Honza\",\"Mark\\xe9ta\",\"Fallback Img\"],title:\"Variant\",type:ControlType.Enum},pa_oP1Pw3:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerWeojsB6c1,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerWeojsB6c1\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"gty2kfh3s\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ZgHEhcSGk\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"zcN3kj487\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"pa_oP1Pw3\\\":\\\"click\\\"}\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"64\",\"framerIntrinsicWidth\":\"64\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\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