{"version":3,"file":"shared-lib.CSdd_sPz.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/LRbKyqZtkS64XmZp8Cwf/0HOqQxe69QZLEfAvy5Lh/YWNGkrBgc.js"],"sourcesContent":["// Generated by Framer (99f3353)\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=[\"pN2zLm4AF\",\"Y0saAxY10\",\"tR_OoVy9K\",\"gCTO564Ak\"];const serializationHash=\"framer-7D8pA\";const variantClassNames={gCTO564Ak:\"framer-v-dtkpxz\",pN2zLm4AF:\"framer-v-1nky5dg\",tR_OoVy9K:\"framer-v-t5n2d2\",Y0saAxY10:\"framer-v-xocy4b\"};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={\"Variant 1\":\"pN2zLm4AF\",\"Variant 2\":\"Y0saAxY10\",Tablet:\"gCTO564Ak\"};const getProps=({height,id,link,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"pN2zLm4AF\",W1bPp2Ego:link??props.W1bPp2Ego};};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,W1bPp2Ego,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"pN2zLm4AF\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onMouseEnter13gasn4=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"Y0saAxY10\");});const onMouseLeaveekpp54=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"pN2zLm4AF\");});const onTaphpz8ab=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});setVariant(\"gCTO564Ak\");});const onMouseEntera7pbj=activeVariantCallback(async(...args)=>{setGestureState({isHovered:true});setVariant(\"gCTO564Ak\");});const onMouseLeave167gb4=activeVariantCallback(async(...args)=>{setGestureState({isHovered:false});setVariant(\"tR_OoVy9K\");});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:W1bPp2Ego,motionChild:true,nodeId:\"pN2zLm4AF\",openInNewTab:false,scopeId:\"YWNGkrBgc\",children:/*#__PURE__*/_jsx(Image,{...restProps,...gestureHandlers,as:\"a\",background:{alt:\"Mastory logo white\",fit:\"fill\",intrinsicHeight:63,intrinsicWidth:300,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:847,pixelWidth:4065,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/59qHBNtgC8ONOYevwwVmavdrGrk.svg?scale-down-to=512\",srcSet:\"https://framerusercontent.com/images/59qHBNtgC8ONOYevwwVmavdrGrk.svg?scale-down-to=512 512w,https://framerusercontent.com/images/59qHBNtgC8ONOYevwwVmavdrGrk.svg?scale-down-to=1024 1024w,https://framerusercontent.com/images/59qHBNtgC8ONOYevwwVmavdrGrk.svg?scale-down-to=2048 2048w,https://framerusercontent.com/images/59qHBNtgC8ONOYevwwVmavdrGrk.svg 4065w\"},className:`${cx(scopingClassNames,\"framer-1nky5dg\",className,classNames)} framer-n4gh1e`,\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"pN2zLm4AF\",onMouseEnter:onMouseEnter13gasn4,ref:refBinding,style:{...style},...addPropertyOverrides({gCTO564Ak:{\"data-framer-name\":\"Tablet\",background:{alt:\"Mastory logo\",fit:\"fit\",intrinsicHeight:63,intrinsicWidth:300,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:1036,pixelWidth:734,positionX:\"center\",positionY:\"center\",sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/ocZ4eRPxqiLGg1MLSEcS2pb0g.svg?scale-down-to=512\",srcSet:\"https://framerusercontent.com/images/ocZ4eRPxqiLGg1MLSEcS2pb0g.svg?scale-down-to=1024 725w,https://framerusercontent.com/images/ocZ4eRPxqiLGg1MLSEcS2pb0g.svg 734w\"},onMouseEnter:onMouseEntera7pbj,onMouseLeave:onMouseLeave167gb4},tR_OoVy9K:{\"data-framer-name\":\"Tablet\",background:{alt:\"Mastory logo white\",fit:\"fit\",intrinsicHeight:63,intrinsicWidth:300,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:847,pixelWidth:600,positionX:\"center\",positionY:\"center\",sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/sCPyq6EpK06Yu6cC7LyAgciM.png?scale-down-to=512\",srcSet:\"https://framerusercontent.com/images/sCPyq6EpK06Yu6cC7LyAgciM.png 600w\"},onMouseEnter:undefined,onTap:onTaphpz8ab},Y0saAxY10:{\"data-framer-name\":\"Variant 2\",background:{alt:\"Mastory logo\",fit:\"fill\",intrinsicHeight:63,intrinsicWidth:300,loading:getLoadingLazyAtYPosition(componentViewport?.y||0),pixelHeight:847,pixelWidth:4065,sizes:componentViewport?.width||\"100vw\",src:\"https://framerusercontent.com/images/D68xjPOgJWKsMUkyhXEqoapdmg.svg?scale-down-to=512\",srcSet:\"https://framerusercontent.com/images/D68xjPOgJWKsMUkyhXEqoapdmg.svg?scale-down-to=512 512w,https://framerusercontent.com/images/D68xjPOgJWKsMUkyhXEqoapdmg.svg?scale-down-to=1024 1024w,https://framerusercontent.com/images/D68xjPOgJWKsMUkyhXEqoapdmg.svg?scale-down-to=2048 2048w,https://framerusercontent.com/images/D68xjPOgJWKsMUkyhXEqoapdmg.svg 4065w\"},onMouseLeave:onMouseLeaveekpp54}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-7D8pA.framer-n4gh1e, .framer-7D8pA .framer-n4gh1e { display: block; }\",\".framer-7D8pA.framer-1nky5dg { height: 31px; overflow: visible; position: relative; text-decoration: none; width: 150px; }\",\".framer-7D8pA.framer-v-t5n2d2.framer-1nky5dg { cursor: pointer; width: 24px; }\",\".framer-7D8pA.framer-v-dtkpxz.framer-1nky5dg { width: 24px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 31\n * @framerIntrinsicWidth 150\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"Y0saAxY10\":{\"layout\":[\"fixed\",\"fixed\"]},\"tR_OoVy9K\":{\"layout\":[\"fixed\",\"fixed\"]},\"gCTO564Ak\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"W1bPp2Ego\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerYWNGkrBgc=withCSS(Component,css,\"framer-7D8pA\");export default FramerYWNGkrBgc;FramerYWNGkrBgc.displayName=\"mastory logo\";FramerYWNGkrBgc.defaultProps={height:31,width:150};addPropertyControls(FramerYWNGkrBgc,{variant:{options:[\"pN2zLm4AF\",\"Y0saAxY10\",\"tR_OoVy9K\",\"gCTO564Ak\"],optionTitles:[\"Variant 1\",\"Variant 2\",\"Tablet\",\"Tablet\"],title:\"Variant\",type:ControlType.Enum},W1bPp2Ego:{title:\"Link\",type:ControlType.Link}});addFonts(FramerYWNGkrBgc,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerYWNGkrBgc\",\"slots\":[],\"annotations\":{\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"W1bPp2Ego\\\":\\\"link\\\"}\",\"framerIntrinsicHeight\":\"31\",\"framerComponentViewportWidth\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"150\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Y0saAxY10\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"tR_OoVy9K\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"gCTO564Ak\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YWNGkrBgc.map"],"mappings":"0lBACilB,SAAS,EAAqB,EAAU,GAAG,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