{"version":3,"file":"Ype5fY_To.TOQJUntO.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","Image1"],"sources":["https:/framerusercontent.com/modules/Y717G4dzhDf6tSroaqUM/bAA1c1ovHTozl71gfxbx/Ype5fY_To.js"],"sourcesContent":["// Generated by Framer (e72892f)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image as Image1,Link,patchBorderRadiusScaleCorrector,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={sIT7KqINA:{hover:true},zo8_ZZirP:{hover:true}};const cycleOrder=[\"sIT7KqINA\",\"zo8_ZZirP\",\"jz_CaFLCI\"];const serializationHash=\"framer-IoGY9\";const variantClassNames={jz_CaFLCI:\"framer-v-czlv3e\",sIT7KqINA:\"framer-v-1tcejlg\",zo8_ZZirP:\"framer-v-1hokr5h\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const j88yTLha9=undefined;const FGf5vISUi=undefined;const PUiQcabtD=undefined;const y_qAO3zo2=undefined;const radiusForCorner=(value,cornerIndex)=>{if(typeof value===\"number\"&&Number.isFinite(value))return Math.max(0,value)+\"px\";if(typeof value!==\"string\"||typeof cornerIndex!==\"number\")return undefined;const segments=value.split(\" \");return segments[cornerIndex]||segments[cornerIndex-2]||segments[0];};const percentageToCornerShape=value=>{if(!Number.isFinite(value)||value<=0)return 1;if(value>=100)return 2;return Math.round(value)/100+1;};const patchBorderRadiusScaleCorrector1=patchBorderRadiusScaleCorrector();const transition1={delay:0,duration:.3,ease:[.44,0,.56,1],type:\"tween\"};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 humanReadableVariantMap={\"No link\":\"jz_CaFLCI\",\"Open Link in new Tab\":\"zo8_ZZirP\",Primary:\"sIT7KqINA\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,image,link,radius,squircle,width,...props})=>{return{...props,FGf5vISUi:squircle??props.FGf5vISUi??50,j88yTLha9:radius??props.j88yTLha9??\"8px\",PUiQcabtD:link??props.PUiQcabtD,variant:humanReadableVariantMap[props.variant]??props.variant??\"sIT7KqINA\",y_qAO3zo2:image??props.y_qAO3zo2};};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,PUiQcabtD,y_qAO3zo2,j88yTLha9,FGf5vISUi,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"sIT7KqINA\",enabledGestures,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:PUiQcabtD,motionChild:true,nodeId:\"sIT7KqINA\",openInNewTab:false,scopeId:\"Ype5fY_To\",...addPropertyOverrides({jz_CaFLCI:{href:undefined},zo8_ZZirP:{openInNewTab:true}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1tcejlg\",className,classNames)} framer-1puuqz5`,\"data-framer-name\":\"Primary\",layoutDependency:layoutDependency,layoutId:\"sIT7KqINA\",ref:refBinding,style:{\"--corner-shape-fallback\":Math.round(Math.exp(-.57*(percentageToCornerShape(FGf5vISUi)-1))*1e3)/1e3,borderBottomLeftRadius:`calc(${radiusForCorner(j88yTLha9,3)}*var(--one-if-corner-shape-supported,var(--corner-shape-fallback,1)))`,borderBottomRightRadius:`calc(${radiusForCorner(j88yTLha9,2)}*var(--one-if-corner-shape-supported,var(--corner-shape-fallback,1)))`,borderTopLeftRadius:`calc(${radiusForCorner(j88yTLha9,0)}*var(--one-if-corner-shape-supported,var(--corner-shape-fallback,1)))`,borderTopRightRadius:`calc(${radiusForCorner(j88yTLha9,1)}*var(--one-if-corner-shape-supported,var(--corner-shape-fallback,1)))`,boxShadow:\"0px 2px 5px 0px rgba(0, 0, 0, 0.25)\",cornerShape:`superellipse(${percentageToCornerShape(FGf5vISUi)})`,...style},...addPropertyOverrides({\"sIT7KqINA-hover\":{\"data-framer-name\":undefined},\"zo8_ZZirP-hover\":{\"data-framer-name\":undefined},jz_CaFLCI:{\"data-framer-name\":\"No link\"},zo8_ZZirP:{\"data-framer-name\":\"Open Link in new Tab\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||1280)-0-1080)/2+0+0)),sizes:componentViewport?.width||\"100vw\",...toResponsiveImage(y_qAO3zo2),...{positionX:\"center\",positionY:\"center\"}},className:\"framer-wcssvb\",layoutDependency:layoutDependency,layoutId:\"dbMjnI0b3\",...addPropertyOverrides({\"sIT7KqINA-hover\":{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||1280)-0-1080)/2+0+0)),sizes:`calc(${componentViewport?.width||\"100vw\"} * 1.02)`,...toResponsiveImage(y_qAO3zo2),...{positionX:\"center\",positionY:\"center\"}}},\"zo8_ZZirP-hover\":{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+0+(((componentViewport?.height||1280)-0-1080)/2+0+0)),sizes:`calc(${componentViewport?.width||\"100vw\"} * 1.03)`,...toResponsiveImage(y_qAO3zo2),...{positionX:\"center\",positionY:\"center\"}}}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-IoGY9.framer-1puuqz5, .framer-IoGY9 .framer-1puuqz5 { display: block; }\",\".framer-IoGY9.framer-1tcejlg { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 10px; height: 1280px; justify-content: center; overflow: hidden; padding: 0px; position: relative; text-decoration: none; width: 1920px; will-change: var(--framer-will-change-override, transform); }\",\".framer-IoGY9 .framer-wcssvb { aspect-ratio: 1.7777777777777777 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 1080px); position: relative; width: 100%; }\",\".framer-IoGY9.framer-v-czlv3e.framer-1tcejlg { cursor: unset; }\",\".framer-IoGY9.framer-v-1tcejlg.hover .framer-wcssvb { height: var(--framer-aspect-ratio-supported, 1102px); width: 102%; }\",\".framer-IoGY9.framer-v-1hokr5h.hover .framer-wcssvb { height: var(--framer-aspect-ratio-supported, 1112px); width: 103%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1280\n * @framerIntrinsicWidth 1920\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"zo8_ZZirP\":{\"layout\":[\"fixed\",\"fixed\"]},\"jz_CaFLCI\":{\"layout\":[\"fixed\",\"fixed\"]},\"vGxoL9vuz\":{\"layout\":[\"fixed\",\"fixed\"]},\"iouQc883P\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"PUiQcabtD\":\"link\",\"y_qAO3zo2\":\"image\",\"j88yTLha9\":\"radius\",\"FGf5vISUi\":\"squircle\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerYpe5fY_To=withCSS(Component,css,\"framer-IoGY9\");export default FramerYpe5fY_To;FramerYpe5fY_To.displayName=\"Blog Thumb 4\";FramerYpe5fY_To.defaultProps={height:1280,width:1920};addPropertyControls(FramerYpe5fY_To,{variant:{options:[\"sIT7KqINA\",\"zo8_ZZirP\",\"jz_CaFLCI\"],optionTitles:[\"Primary\",\"Open Link in new Tab\",\"No link\"],title:\"Variant\",type:ControlType.Enum},PUiQcabtD:{title:\"Link\",type:ControlType.Link},y_qAO3zo2:{title:\"Image\",type:ControlType.ResponsiveImage},j88yTLha9:{defaultValue:\"8px\",title:\"Radius\",type:ControlType.BorderRadius},FGf5vISUi:{defaultValue:50,displayStepper:true,max:100,min:0,title:\"Squircle\",type:ControlType.Number,unit:\"%\"},onFGf5vISUiChange:{changes:\"FGf5vISUi\",type:ControlType.ChangeHandler}});addFonts(FramerYpe5fY_To,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerYpe5fY_To\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"PUiQcabtD\\\":\\\"link\\\",\\\"y_qAO3zo2\\\":\\\"image\\\",\\\"j88yTLha9\\\":\\\"radius\\\",\\\"FGf5vISUi\\\":\\\"squircle\\\"}\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"zo8_ZZirP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"jz_CaFLCI\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"vGxoL9vuz\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"iouQc883P\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1920\",\"framerIntrinsicHeight\":\"1280\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ype5fY_To.map"],"mappings":"wVACioB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,6CAA7wB,IAA0M,IAAkE,IAA4B,EAAiC,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,EAAE,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,kBAAkB,EAAuS,GAAiB,EAAM,IAAc,CAAC,GAAG,OAAO,GAAQ,UAAU,OAAO,SAAS,CAAK,EAAE,OAAO,KAAK,IAAI,EAAE,CAAK,EAAE,KAAK,GAAG,OAAO,GAAQ,UAAU,OAAO,GAAc,SAAS,OAAiB,IAAM,EAAS,EAAM,MAAM,GAAG,EAAE,OAAO,EAAS,IAAc,EAAS,EAAY,IAAI,EAAS,EAAG,EAAQ,EAAwB,GAAW,CAAC,OAAO,SAAS,CAAK,GAAG,GAAO,EAAS,EAAK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