{"version":3,"file":"Image.BZO2MS-i.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","React.useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/to6ogxhbAvK0ES9lOiCV/bKl5xWo0Nqrno8IPUQsB/h4a7dWxv8.js","https:/framerusercontent.com/modules/4FYXL5lQz9cgJ2BJkaNV/uQoXZ4NvFasfJqYRTeHn/Image.js"],"sourcesContent":["// Generated by Framer (90417e1)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const cycleOrder=[\"MAsJj1Ki9\",\"ZTUvY15qg\"];const serializationHash=\"framer-DJDVr\";const variantClassNames={MAsJj1Ki9:\"framer-v-wjxkjt\",ZTUvY15qg:\"framer-v-y4bll1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0: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!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion(React.Fragment);const humanReadableVariantMap={Desktop:\"MAsJj1Ki9\",Tablet:\"ZTUvY15qg\"};const getProps=({height,id,width,...props})=>{var _humanReadableVariantMap_props_variant,_ref;return{...props,variant:(_ref=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref!==void 0?_ref:\"MAsJj1Ki9\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"MAsJj1Ki9\",variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-wjxkjt\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"MAsJj1Ki9\",ref:ref!==null&&ref!==void 0?ref:ref1,style:{...style},...addPropertyOverrides({ZTUvY15qg:{\"data-framer-name\":\"Tablet\"}},baseVariant,gestureVariant)})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-DJDVr.framer-1nehnzv, .framer-DJDVr .framer-1nehnzv { display: block; }\",\".framer-DJDVr.framer-wjxkjt { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 10px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 48px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-DJDVr.framer-wjxkjt { gap: 0px; } .framer-DJDVr.framer-wjxkjt > * { margin: 0px; margin-bottom: calc(10px / 2); margin-top: calc(10px / 2); } .framer-DJDVr.framer-wjxkjt > :first-child { margin-top: 0px; } .framer-DJDVr.framer-wjxkjt > :last-child { margin-bottom: 0px; } }\",\".framer-DJDVr.framer-v-y4bll1.framer-wjxkjt { width: 20px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 10\n * @framerIntrinsicWidth 48\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"ZTUvY15qg\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerh4a7dWxv8=withCSS(Component,css,\"framer-DJDVr\");export default Framerh4a7dWxv8;Framerh4a7dWxv8.displayName=\"Page wrapper padding\";Framerh4a7dWxv8.defaultProps={height:10,width:48};addPropertyControls(Framerh4a7dWxv8,{variant:{options:[\"MAsJj1Ki9\",\"ZTUvY15qg\"],optionTitles:[\"Desktop\",\"Tablet\"],title:\"Variant\",type:ControlType.Enum}});addFonts(Framerh4a7dWxv8,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerh4a7dWxv8\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"48\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ZTUvY15qg\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"10\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./h4a7dWxv8.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Responsive Image\n * By Benjamin\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n *\n */export default function Image(props){const{image,alt,radius,padding,link,newTab,style,borderOptions,shadowOptions}=props;const wrapperStyle={display:\"flex\",placeContent:\"center\",placeItems:\"center\",width:\"100%\",height:\"100%\",padding:padding};const borderAndShadow=(borderOptions,shadowOptions)=>{if(!shadowOptions&&!borderOptions)return undefined;if(shadowOptions&&!borderOptions){return`${shadowOptions.shadowX}px ${shadowOptions.shadowY}px ${shadowOptions.shadowBlur}px ${shadowOptions.shadowColor}`;}if(!shadowOptions&&borderOptions){return`inset 0 0 0 ${borderOptions.borderWidth}px ${borderOptions.borderColor}`;}if(shadowOptions&&borderOptions){return`inset 0 0 0 ${borderOptions.borderWidth}px ${borderOptions.borderColor}, ${shadowOptions.shadowX}px ${shadowOptions.shadowY}px ${shadowOptions.shadowBlur}px ${shadowOptions.shadowColor}`;}};const imageStyle={maxWidth:\"100%\",maxHeight:\"100%\",borderRadius:radius,webkitUserDrag:\"none\",userDrag:\"none\",userSelect:\"none\"};const shadowStyle={position:\"absolute\",inset:0,pointerEvents:\"none\",borderRadius:radius,boxShadow:borderAndShadow(borderOptions,shadowOptions)};const imageSource=(image===null||image===void 0?void 0:image.src)||\"https://framerusercontent.com/images/64n4wnVJKDJspLlFZ6DarCP0M4.jpg\";return link?/*#__PURE__*/_jsxs(\"a\",{href:link,title:alt,target:newTab?\"_blank\":\"_self\",style:wrapperStyle,children:[/*#__PURE__*/_jsx(\"img\",{style:imageStyle,src:imageSource,srcSet:image===null||image===void 0?void 0:image.srcSet,alt:alt}),/*#__PURE__*/_jsx(\"div\",{style:shadowStyle})]}):/*#__PURE__*/_jsxs(\"div\",{style:wrapperStyle,children:[/*#__PURE__*/_jsx(\"img\",{style:imageStyle,src:imageSource,srcSet:image===null||image===void 0?void 0:image.srcSet,alt:alt}),/*#__PURE__*/_jsx(\"div\",{style:shadowStyle})]});}addPropertyControls(Image,{image:{title:\"Image\",type:ControlType.ResponsiveImage},alt:{type:ControlType.String,title:\"Alt\",placeholder:\"Alt Text\"},radius:{title:\"Radius\",type:ControlType.Number,min:0,max:100,step:1,displayStepper:true},padding:{title:\"Padding\",type:ControlType.Number,min:0,max:100,step:1,displayStepper:true},link:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"New Tab\",hidden:props=>!props.link},borderOptions:{type:ControlType.Object,optional:true,title:\"Border\",icon:\"effect\",controls:{borderColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"rgba(0,0,0,0.2)\"},borderWidth:{type:ControlType.Number,title:\"Width\",min:0,displayStepper:true,defaultValue:1}}},shadowOptions:{type:ControlType.Object,title:\"Shadow\",optional:true,icon:\"effect\",controls:{shadowX:{type:ControlType.Number,title:\"X\",min:0,defaultValue:0},shadowY:{type:ControlType.Number,title:\"Y\",min:0,defaultValue:2},shadowBlur:{type:ControlType.Number,title:\"Blur\",min:0,defaultValue:4},shadowColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"rgba(0,0,0,0.2)\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Image\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"*\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Image.map"],"mappings":"iUACwa,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAgI,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,qCAA7lB,IAA2H,IAAkE,IAA4B,EAAO,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,iBAAiB,EAAwO,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,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