{"version":3,"file":"shared-lib.Dcsf_9be.mjs","names":["useRef","Image"],"sources":["https:/framerusercontent.com/modules/2EuJqREhJCetlsJd2d5Q/rPlca2MKcQMqXeqZRS9C/Kq6mCuJm6.js"],"sourcesContent":["// Generated by Framer (861d57e)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getLoadingLazyAtYPosition,Image,Link,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"I2478:11136;803:315\",\"FMtaqN4yG\"];const serializationHash=\"framer-tZ0eE\";const variantClassNames={\"I2478:11136;803:315\":\"framer-v-18d9wk\",FMtaqN4yG:\"framer-v-ww793o\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,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={Day:\"I2478:11136;803:315\",Night:\"FMtaqN4yG\"};const getProps=({click,height,id,link,width,...props})=>{return{...props,C2d3rlnQC:link??props.C2d3rlnQC,deKQ5M63P:click??props.deKQ5M63P,variant:humanReadableVariantMap[props.variant]??props.variant??\"I2478:11136;803:315\"};};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,deKQ5M63P,C2d3rlnQC,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"I2478:11136;803:315\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap8vnt59=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(deKQ5M63P){const res=await deKQ5M63P(...args);if(res===false)return false;}});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:C2d3rlnQC,motionChild:true,nodeId:\"I2478:11136;803:315\",scopeId:\"Kq6mCuJm6\",children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,as:\"a\",background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:259,pixelWidth:770,positionX:\"center\",positionY:\"center\",sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/Jwmrf0zVcDvz2JSyCe2jwIx01Q.svg\",srcSet:\"https://framerusercontent.com/images/Jwmrf0zVcDvz2JSyCe2jwIx01Q.svg?scale-down-to=512 512w,https://framerusercontent.com/images/Jwmrf0zVcDvz2JSyCe2jwIx01Q.svg 770w\"},className:`${cx(scopingClassNames,\"framer-18d9wk\",className,classNames)} framer-15v92ew`,\"data-framer-name\":\"Day\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"I2478:11136;803:315\",onTap:onTap8vnt59,ref:refBinding,style:{...style},...addPropertyOverrides({FMtaqN4yG:{\"data-framer-name\":\"Night\",background:{alt:\"\",fit:\"fit\",loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:259,pixelWidth:770,positionX:\"center\",positionY:\"center\",sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/kXMH5BJIwkcGvG4GD1egfF8gU0.svg\",srcSet:\"https://framerusercontent.com/images/kXMH5BJIwkcGvG4GD1egfF8gU0.svg?scale-down-to=512 512w,https://framerusercontent.com/images/kXMH5BJIwkcGvG4GD1egfF8gU0.svg 770w\"}}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-tZ0eE.framer-15v92ew, .framer-tZ0eE .framer-15v92ew { display: block; }\",\".framer-tZ0eE.framer-18d9wk { cursor: pointer; gap: 0px; height: 52px; overflow: visible; position: relative; text-decoration: none; width: 128px; }\",\".framer-tZ0eE.framer-v-ww793o.framer-18d9wk { aspect-ratio: 2.4615384615384617 / 1; height: var(--framer-aspect-ratio-supported, 52px); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 52\n * @framerIntrinsicWidth 128\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"FMtaqN4yG\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"deKQ5M63P\":\"click\",\"C2d3rlnQC\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerKq6mCuJm6=withCSS(Component,css,\"framer-tZ0eE\");export default FramerKq6mCuJm6;FramerKq6mCuJm6.displayName=\"Brand\";FramerKq6mCuJm6.defaultProps={height:52,width:128};addPropertyControls(FramerKq6mCuJm6,{variant:{options:[\"I2478:11136;803:315\",\"FMtaqN4yG\"],optionTitles:[\"Day\",\"Night\"],title:\"Variant\",type:ControlType.Enum},deKQ5M63P:{title:\"Click\",type:ControlType.EventHandler},C2d3rlnQC:{title:\"Link\",type:ControlType.Link}});addFonts(FramerKq6mCuJm6,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerKq6mCuJm6\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"52\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"128\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"deKQ5M63P\\\":\\\"click\\\",\\\"C2d3rlnQC\\\":\\\"link\\\"}\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"FMtaqN4yG\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Kq6mCuJm6.map"],"mappings":"0lBACshB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,KAAkB,CAAe,uDAA3W,EAAW,CAAC,sBAAsB,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,sBAAsB,kBAAkB,UAAU,kBAAkB,CAA8L,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,WAAS,GAAG,CAAC,IAAM,EAAA,EAAwB,GAA2B,EAAW,GAAO,EAAO,WAAiB,EAAA,OAAgC,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,GAAY,EAAE,OAAoB,EAAK,E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