{"version":3,"file":"zqP_jCWCp.DfIYS6rx.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image1"],"sources":["https:/framerusercontent.com/modules/GDSiLwK5lDGvEwvMlQiW/uMeKfkAktH5Y7xy1qJ8g/zqP_jCWCp.js"],"sourcesContent":["// Generated by Framer (6b8889b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,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=[\"JUat91n0R\",\"dZkM8vsPk\"];const serializationHash=\"framer-JFStH\";const variantClassNames={dZkM8vsPk:\"framer-v-4l5ktt\",JUat91n0R:\"framer-v-1l2tot5\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const wyMVywOw9=undefined;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 humanReadableVariantMap={\"Variant 1\":\"JUat91n0R\",\"Variant 2\":\"dZkM8vsPk\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,link,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"JUat91n0R\",wyMVywOw9:link??props.wyMVywOw9};};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,wyMVywOw9,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"JUat91n0R\",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(Link,{href:wyMVywOw9,motionChild:true,nodeId:\"JUat91n0R\",openInNewTab:false,scopeId:\"zqP_jCWCp\",children:/*#__PURE__*/_jsx(Image1,{...restProps,...gestureHandlers,as:\"a\",background:{alt:\"\",fit:\"fill\",intrinsicHeight:1350,intrinsicWidth:1080,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:1350,pixelWidth:1080,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/9DMVqoXxbv463AUYoJ87HW5KVpo.jpg?width=1080&height=1350\",srcSet:\"https://framerusercontent.com/images/9DMVqoXxbv463AUYoJ87HW5KVpo.jpg?scale-down-to=1024&width=1080&height=1350 819w,https://framerusercontent.com/images/9DMVqoXxbv463AUYoJ87HW5KVpo.jpg?width=1080&height=1350 1080w\"},className:`${cx(scopingClassNames,\"framer-1l2tot5\",className,classNames)} framer-5gt96o`,\"data-framer-name\":\"Variant 1\",fitImageDimension:\"height\",layoutDependency:layoutDependency,layoutId:\"JUat91n0R\",ref:refBinding,style:{borderBottomLeftRadius:15,borderBottomRightRadius:15,borderTopLeftRadius:15,borderTopRightRadius:15,...style},...addPropertyOverrides({dZkM8vsPk:{\"data-framer-name\":\"Variant 2\",background:{alt:\"\",fit:\"fill\",intrinsicHeight:1350,intrinsicWidth:1080,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:1350,pixelWidth:1080,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/NruT6py1fZZR5Zg6yqxH8mcylj0.jpg?width=1080&height=1350\",srcSet:\"https://framerusercontent.com/images/NruT6py1fZZR5Zg6yqxH8mcylj0.jpg?scale-down-to=1024&width=1080&height=1350 819w,https://framerusercontent.com/images/NruT6py1fZZR5Zg6yqxH8mcylj0.jpg?width=1080&height=1350 1080w\"}}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-JFStH.framer-5gt96o, .framer-JFStH .framer-5gt96o { display: block; }\",\".framer-JFStH.framer-1l2tot5 { height: auto; position: relative; text-decoration: none; width: 300px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 375\n * @framerIntrinsicWidth 300\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fit-image\"]},\"dZkM8vsPk\":{\"layout\":[\"fixed\",\"fit-image\"]}}}\n * @framerVariables {\"wyMVywOw9\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerzqP_jCWCp=withCSS(Component,css,\"framer-JFStH\");export default FramerzqP_jCWCp;FramerzqP_jCWCp.displayName=\"Promos\";FramerzqP_jCWCp.defaultProps={height:375,width:300};addPropertyControls(FramerzqP_jCWCp,{variant:{options:[\"JUat91n0R\",\"dZkM8vsPk\"],optionTitles:[\"Variant 1\",\"Variant 2\"],title:\"Variant\",type:ControlType.Enum},wyMVywOw9:{title:\"Link\",type:ControlType.Link}});addFonts(FramerzqP_jCWCp,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerzqP_jCWCp\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"wyMVywOw9\\\":\\\"link\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fit-image\\\"]},\\\"dZkM8vsPk\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fit-image\\\"]}}}\",\"framerIntrinsicWidth\":\"300\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"375\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./zqP_jCWCp.map"],"mappings":"+UACkf,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAA/mB,IAA0K,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAAwN,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAwB,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,SAAO,KAAG,OAAK,QAAM,GAAG,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