{"version":3,"file":"ImageWithFallback.CyZIC0_O.mjs","names":["Image"],"sources":["https:/framerusercontent.com/modules/xlOFBE9M2r8DpZO3pgnV/WPi6RnrVy1DgdsOoZFgk/U1EcWybNZ.js","https:/framerusercontent.com/modules/8iza2J7UdZRiqlmJqDWe/dw9UgrszHG6AC9LGwhPF/ImageWithFallback.js"],"sourcesContent":["// Generated by Framer (c85c929)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,Link,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"Kpg1RVVW8\",\"VTNLDeEzJ\"];const serializationHash=\"framer-IjJy0\";const variantClassNames={Kpg1RVVW8:\"framer-v-puspgx\",VTNLDeEzJ:\"framer-v-4jjmmg\"};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 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={English:\"VTNLDeEzJ\",Korean:\"Kpg1RVVW8\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"Kpg1RVVW8\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"Kpg1RVVW8\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-puspgx\",className,classNames),\"data-framer-name\":\"Korean\",layoutDependency:layoutDependency,layoutId:\"Kpg1RVVW8\",ref:refBinding,style:{...style},...addPropertyOverrides({VTNLDeEzJ:{\"data-framer-name\":\"English\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jv5o7z\",layoutDependency:layoutDependency,layoutId:\"ASJTaBhJf\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-13i5e8z\",layoutDependency:layoutDependency,layoutId:\"RI7DM3_BU\",style:{backgroundColor:\"rgb(255, 255, 255)\"},children:/*#__PURE__*/_jsx(Link,{href:{webPageId:\"twL6mzFbe\"},motionChild:true,nodeId:\"SbOHTEs5j\",openInNewTab:false,scopeId:\"U1EcWybNZ\",...addPropertyOverrides({VTNLDeEzJ:{href:{webPageId:\"zP2pwj0SE\"}}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image,{as:\"a\",background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||245)-0-245)/2)+0+0+2.5),pixelHeight:340,pixelWidth:1200,positionX:\"left\",positionY:\"center\",sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,src:\"https://framerusercontent.com/images/1KSagtcW59WeIQHLWRtG8yLV7Q.png\",srcSet:\"https://framerusercontent.com/images/1KSagtcW59WeIQHLWRtG8yLV7Q.png?scale-down-to=512 512w,https://framerusercontent.com/images/1KSagtcW59WeIQHLWRtG8yLV7Q.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/1KSagtcW59WeIQHLWRtG8yLV7Q.png 1200w\"},className:\"framer-1x914gt framer-dx1b5\",layoutDependency:layoutDependency,layoutId:\"SbOHTEs5j\",...addPropertyOverrides({VTNLDeEzJ:{background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||245)-0-245)/2)+0+0+2.5),pixelHeight:340,pixelWidth:1200,positionX:\"left\",positionY:\"center\",sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,src:\"https://framerusercontent.com/images/rMswEgq3LRaQ9hNT5Z0uCSTAJAc.png\",srcSet:\"https://framerusercontent.com/images/rMswEgq3LRaQ9hNT5Z0uCSTAJAc.png?scale-down-to=512 512w,https://framerusercontent.com/images/rMswEgq3LRaQ9hNT5Z0uCSTAJAc.png?scale-down-to=1024 1024w,https://framerusercontent.com/images/rMswEgq3LRaQ9hNT5Z0uCSTAJAc.png 1200w\"}}},baseVariant,gestureVariant)})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-IjJy0.framer-dx1b5, .framer-IjJy0 .framer-dx1b5 { display: block; }\",\".framer-IjJy0.framer-puspgx { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 700px; }\",\".framer-IjJy0 .framer-1jv5o7z { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 5px; height: 245px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 1px; }\",\".framer-IjJy0 .framer-13i5e8z { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: 1px; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: 100%; }\",\".framer-IjJy0 .framer-1x914gt { flex: 1 0 0px; height: 240px; position: relative; text-decoration: none; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 245\n * @framerIntrinsicWidth 700\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"VTNLDeEzJ\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerU1EcWybNZ=withCSS(Component,css,\"framer-IjJy0\");export default FramerU1EcWybNZ;FramerU1EcWybNZ.displayName=\"Footer Content\";FramerU1EcWybNZ.defaultProps={height:245,width:700};addPropertyControls(FramerU1EcWybNZ,{variant:{options:[\"Kpg1RVVW8\",\"VTNLDeEzJ\"],optionTitles:[\"Korean\",\"English\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerU1EcWybNZ,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerU1EcWybNZ\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"245\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"700\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"VTNLDeEzJ\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./U1EcWybNZ.map","// CMS image element that hides when no image is provided\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ImageWithFallback(props){const{image}=props;// Hide component completely if no image source is provided\nif(!image?.src){return null;}return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",aspectRatio:\"1920 / 1080\",overflow:\"hidden\",borderRadius:25,...props.style},children:/*#__PURE__*/_jsx(\"img\",{src:image.src,alt:image.alt||\"\",srcSet:image.srcSet,style:{width:\"100%\",height:\"100%\",objectFit:\"cover\",display:\"block\"}})});}addPropertyControls(ImageWithFallback,{image:{type:ControlType.ResponsiveImage,title:\"Image\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ImageWithFallback\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageWithFallback.map"],"mappings":"4jBACue,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAE,EAAsF,MAArF,IAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,CAAe,wCAUpU,AAV1V,GAA2C,IAAgK,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,WAAY,EAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,iBAAkB,EAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAS,EAAO,EAAW,CAAC,CAAC,QAAM,WAAS,GAAG,CAAC,IAAM,EAAO,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAa,EAA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