{"version":3,"file":"dWsoiHHNX.NPyRfmlM.mjs","names":["useRef","Image"],"sources":["https:/framerusercontent.com/modules/bd8EzpR8jxzu7NsALPrz/RAkLdrXCEMcMJRBod6X6/dWsoiHHNX.js"],"sourcesContent":["// Generated by Framer (18b6b10)\nimport{jsx as _jsx,jsxs as _jsxs}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 serializationHash=\"framer-QqNuT\";const variantClassNames={Q0H_I4nUF:\"framer-v-wcpzih\"};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 isSet=value=>{if(Array.isArray(value))return value.length>0;return value!==undefined&&value!==null&&value!==\"\";};const negate=value=>{return!value;};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};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=({avatar,avatar2,click,height,id,width,...props})=>{return{...props,clqDZewzk:avatar2??props.clqDZewzk,kBxbZ1u0Q:click??props.kBxbZ1u0Q,YMRC85TmX:avatar??props.YMRC85TmX??{src:\"https://framerusercontent.com/images/ic2f7CGWo4LYV9vt6ZryVQhzodw.png\"}};};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,YMRC85TmX,clqDZewzk,kBxbZ1u0Q,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"Q0H_I4nUF\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapb06055=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(kBxbZ1u0Q){const res=await kBxbZ1u0Q(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const visible=negate(isSet(clqDZewzk));const visible1=isSet(clqDZewzk);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-wcpzih\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"Q0H_I4nUF\",onTap:onTapb06055,ref:refBinding,style:{...style},children:[visible&&/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||30)-0-((componentViewport?.height||30)-0)*1)/2)),sizes:((componentViewport?.height||30)-0)*1,...toResponsiveImage(YMRC85TmX)},className:\"framer-t3wfkd\",\"data-border\":true,\"data-framer-name\":\"Single\",layoutDependency:layoutDependency,layoutId:\"d0twhWn_y\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(255, 255, 255, 0.15)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100}}),visible1&&/*#__PURE__*/_jsxs(motion.div,{className:\"framer-h8bs3g\",\"data-framer-name\":\"Multiple\",layoutDependency:layoutDependency,layoutId:\"NgLosZ0bu\",children:[/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||30)-0-30)/2)+0),sizes:\"30px\",...toResponsiveImage(clqDZewzk)},className:\"framer-13cactb\",\"data-border\":true,\"data-framer-name\":\"Avatar 2\",layoutDependency:layoutDependency,layoutId:\"YT0JUgHus\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(255, 255, 255, 0.15)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100}}),/*#__PURE__*/_jsx(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||30)-0-30)/2)+0),sizes:\"30px\",...toResponsiveImage(YMRC85TmX)},className:\"framer-ytiog3\",\"data-border\":true,\"data-framer-name\":\"Avatar\",layoutDependency:layoutDependency,layoutId:\"B079cybve\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(255, 255, 255, 0.15)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,boxShadow:\"4px 0px 8px 0px rgba(0,0,0,0.25)\"}})]})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-QqNuT.framer-gy3vya, .framer-QqNuT .framer-gy3vya { display: block; }\",\".framer-QqNuT.framer-wcpzih { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 30px; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 30px; }\",\".framer-QqNuT .framer-t3wfkd { aspect-ratio: 1 / 1; flex: none; height: 100%; overflow: hidden; position: relative; width: var(--framer-aspect-ratio-supported, 30px); will-change: var(--framer-will-change-override, transform); }\",\".framer-QqNuT .framer-h8bs3g { flex: none; height: 30px; overflow: visible; position: relative; width: 50px; }\",\".framer-QqNuT .framer-13cactb { aspect-ratio: 1 / 1; bottom: 0px; flex: none; overflow: hidden; position: absolute; right: 0px; top: 0px; width: var(--framer-aspect-ratio-supported, 28px); will-change: var(--framer-will-change-override, transform); }\",\".framer-QqNuT .framer-ytiog3 { aspect-ratio: 1 / 1; bottom: 0px; flex: none; left: 0px; overflow: hidden; position: absolute; top: 0px; width: var(--framer-aspect-ratio-supported, 26px); will-change: var(--framer-will-change-override, transform); }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-QqNuT.framer-wcpzih { gap: 0px; } .framer-QqNuT.framer-wcpzih > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-QqNuT.framer-wcpzih > :first-child { margin-left: 0px; } .framer-QqNuT.framer-wcpzih > :last-child { margin-right: 0px; } }\",'.framer-QqNuT[data-border=\"true\"]::after, .framer-QqNuT [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 30\n * @framerIntrinsicWidth 30\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"YMRC85TmX\":\"avatar\",\"clqDZewzk\":\"avatar2\",\"kBxbZ1u0Q\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerdWsoiHHNX=withCSS(Component,css,\"framer-QqNuT\");export default FramerdWsoiHHNX;FramerdWsoiHHNX.displayName=\"Gallery/Avatar\";FramerdWsoiHHNX.defaultProps={height:30,width:30};addPropertyControls(FramerdWsoiHHNX,{YMRC85TmX:{__defaultAssetReference:\"data:framer/asset-reference,ic2f7CGWo4LYV9vt6ZryVQhzodw.png?originalFilename=image.png&preferredSize=auto\",title:\"Avatar\",type:ControlType.ResponsiveImage},clqDZewzk:{title:\"Avatar 2\",type:ControlType.ResponsiveImage},kBxbZ1u0Q:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerdWsoiHHNX,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerdWsoiHHNX\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"YMRC85TmX\\\":\\\"avatar\\\",\\\"clqDZewzk\\\":\\\"avatar2\\\",\\\"kBxbZ1u0Q\\\":\\\"click\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"30\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"30\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./dWsoiHHNX.map"],"mappings":"+oBAC2W,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,CAA8L,EAA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