{"version":3,"file":"PcJJEmcuR.CSlRoAwS.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/RIRJxDj4MlXIHWzAvuUS/Yys12jK8MtL9Ksa6yrjr/PcJJEmcuR.js"],"sourcesContent":["// Generated by Framer (9aabefb)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getLoadingLazyAtYPosition,Image,Link,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import EasedGradient from\"https://framerusercontent.com/modules/8TtjecrrZM6688kaKB5n/0rD7M28M9UOR8k0cVf2U/Gradient_ease.js\";const EasedGradientFonts=getFonts(EasedGradient);const cycleOrder=[\"yrjX7Pwjh\",\"SH0a_ZSRY\",\"XMcN5UDdl\"];const serializationHash=\"framer-KDV1R\";const variantClassNames={SH0a_ZSRY:\"framer-v-1s3tgxa\",XMcN5UDdl:\"framer-v-a45hse\",yrjX7Pwjh:\"framer-v-qx0w8a\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:0,delay:0,duration:.6,type:\"spring\"};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 Variants=motion.create(React.Fragment);const humanReadableVariantMap={\"Tablet / Mobile\":\"XMcN5UDdl\",Closed:\"SH0a_ZSRY\",Open:\"yrjX7Pwjh\"};const getProps=({height,id,image,link,width,...props})=>{return{...props,e2z8ECnMd:link??props.e2z8ECnMd,variant:humanReadableVariantMap[props.variant]??props.variant??\"yrjX7Pwjh\",ywH7Qr9ap:image??props.ywH7Qr9ap};};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,e2z8ECnMd,ywH7Qr9ap,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"yrjX7Pwjh\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseLeaverizkb4=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"SH0a_ZSRY\");});const onMouseEnter1tvxkih=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"yrjX7Pwjh\");});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:e2z8ECnMd,motionChild:true,nodeId:\"yrjX7Pwjh\",scopeId:\"PcJJEmcuR\",children:/*#__PURE__*/_jsx(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-qx0w8a\",className,classNames)} framer-1gpduvk`,\"data-framer-name\":\"Open\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"yrjX7Pwjh\",onMouseLeave:onMouseLeaverizkb4,ref:refBinding,style:{borderBottomLeftRadius:21,borderBottomRightRadius:21,borderTopLeftRadius:21,borderTopRightRadius:21,boxShadow:\"inset 0px 0.6021873017743928px 0.6021873017743928px -1.25px rgba(250, 250, 247, 0.72), inset 0px 2.288533303243457px 2.288533303243457px -2.5px rgba(250, 250, 247, 0.64), inset 0px 10px 10px -3.75px rgba(250, 250, 247, 0.25), inset 0px -4px 4px 0px rgba(255, 255, 255, 0.42)\",...style},...addPropertyOverrides({SH0a_ZSRY:{\"data-framer-name\":\"Closed\",onMouseEnter:onMouseEnter1tvxkih},XMcN5UDdl:{\"data-framer-name\":\"Tablet / Mobile\",\"data-highlight\":undefined,onMouseLeave:undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-fz8sqm\",\"data-framer-name\":\"Container\",layoutDependency:layoutDependency,layoutId:\"ORqg8YWGr\",style:{borderBottomLeftRadius:24,borderBottomRightRadius:24,borderTopLeftRadius:24,borderTopRightRadius:24},children:/*#__PURE__*/_jsxs(Image,{background:{alt:\"\",fit:\"fill\",loading:getLoadingLazyAtYPosition((componentViewport?.y||0)+(0+((componentViewport?.height||470)-0-((componentViewport?.height||470)-0)*1)/2)+0+((((componentViewport?.height||470)-0)*1-0-(Math.max(0,(((componentViewport?.height||470)-0)*1-0-0)/1)*1+0))/2+0+0)),pixelHeight:2830,pixelWidth:4244,sizes:`max(${componentViewport?.width||\"100vw\"}, 1px)`,...toResponsiveImage(ywH7Qr9ap)},className:\"framer-1xpqchq\",\"data-framer-name\":\"Image\",layoutDependency:layoutDependency,layoutId:\"H_7izFtPL\",style:{borderBottomLeftRadius:24,borderBottomRightRadius:24,borderTopLeftRadius:24,borderTopRightRadius:24},children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1lrq5s1-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"Fl0bvhMzR-container\",nodeId:\"Fl0bvhMzR\",rendersWithMotion:true,scopeId:\"PcJJEmcuR\",style:{opacity:1},variants:{SH0a_ZSRY:{opacity:0},XMcN5UDdl:{opacity:1}},children:/*#__PURE__*/_jsx(EasedGradient,{cornerRadius:0,easing:\"easeInOut\",gradientDirection:\"to top\",height:\"100%\",id:\"Fl0bvhMzR\",layoutId:\"Fl0bvhMzR\",startColor:\"rgba(140, 47, 0, 0.53)\",style:{height:\"100%\",width:\"100%\"},width:\"100%\",...addPropertyOverrides({SH0a_ZSRY:{startColor:\"rgba(140, 47, 0, 0.35)\"},XMcN5UDdl:{startColor:\"rgba(140, 47, 0, 0.34)\"}},baseVariant,gestureVariant)})})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1kdbfb9\",\"data-framer-name\":\"Title\",layoutDependency:layoutDependency,layoutId:\"CA9k51VzG\"})]})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-KDV1R.framer-1gpduvk, .framer-KDV1R .framer-1gpduvk { display: block; }\",\".framer-KDV1R.framer-qx0w8a { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 470px; justify-content: flex-start; padding: 0px; position: relative; text-decoration: none; width: 376px; }\",\".framer-KDV1R .framer-fz8sqm { align-content: flex-start; align-items: flex-start; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: 100%; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1px; }\",\".framer-KDV1R .framer-1xpqchq { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 1px; justify-content: flex-end; overflow: hidden; padding: 20px; position: relative; width: 100%; will-change: var(--framer-will-change-override, transform); }\",\".framer-KDV1R .framer-1lrq5s1-container { bottom: 0px; flex: none; height: 100%; left: calc(50.00000000000002% - 100% / 2); position: absolute; width: 100%; z-index: 1; }\",\".framer-KDV1R .framer-1kdbfb9 { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: flex-start; min-height: 77px; overflow: visible; padding: 0px; position: relative; width: 100%; z-index: 2; }\",\".framer-KDV1R.framer-v-1s3tgxa .framer-1kdbfb9 { height: 20px; min-height: unset; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 470\n * @framerIntrinsicWidth 376\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"SH0a_ZSRY\":{\"layout\":[\"fixed\",\"fixed\"]},\"XMcN5UDdl\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"e2z8ECnMd\":\"link\",\"ywH7Qr9ap\":\"image\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerPcJJEmcuR=withCSS(Component,css,\"framer-KDV1R\");export default FramerPcJJEmcuR;FramerPcJJEmcuR.displayName=\"Service Home Component 2\";FramerPcJJEmcuR.defaultProps={height:470,width:376};addPropertyControls(FramerPcJJEmcuR,{variant:{options:[\"yrjX7Pwjh\",\"SH0a_ZSRY\",\"XMcN5UDdl\"],optionTitles:[\"Open\",\"Closed\",\"Tablet / Mobile\"],title:\"Variant\",type:ControlType.Enum},e2z8ECnMd:{title:\"Link\",type:ControlType.Link},ywH7Qr9ap:{title:\"Image\",type:ControlType.ResponsiveImage}});addFonts(FramerPcJJEmcuR,[{explicitInter:true,fonts:[]},...EasedGradientFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerPcJJEmcuR\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"470\",\"framerVariables\":\"{\\\"e2z8ECnMd\\\":\\\"link\\\",\\\"ywH7Qr9ap\\\":\\\"image\\\"}\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"SH0a_ZSRY\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"XMcN5UDdl\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"376\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PcJJEmcuR.map"],"mappings":"saACqyB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,6CAAp5B,IAA0P,IAAkE,IAA4B,IAAsJ,CAAM,EAAmB,EAAS,EAAc,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,kBAAkB,CAA8L,EAAY,CAAC,OAAO,EAAE,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,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,EAA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