{"version":3,"file":"ImageWithFallback.Cy7464Vj.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","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":"2UACue,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,qCAAnnB,IAAgK,IAAkE,IAA4B,EAAiC,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,iBAAiB,EAA+L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO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