{"version":3,"file":"CCB3HtzRc.CCCwRef1.mjs","names":["Icons","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","X","ArrowNarrowUpRight"],"sources":["https:/framerusercontent.com/modules/4q0zQZCokzcV5TL65qhv/Odl5Ow8u7b5aCTgNNkVJ/CCB3HtzRc.js"],"sourcesContent":["// Generated by Framer (eda58b2)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useOnVariantChange,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import X from\"https://framerusercontent.com/modules/wbL0GysLpUpZOLelXsKU/7IhRlKXIvqCTv7OUjGRe/q95pf4lLL.js\";import ArrowNarrowUpRight from\"https://framerusercontent.com/modules/AsniT0LXFwg84Uo7zH4P/kHMkI5N0MdAdSqHKzFje/g7fDKSiys.js\";import Icons from\"https://framerusercontent.com/modules/4PIgjkMuNZa6f9o1QRrZ/KOtCgJbSCS8AgNsUS9p0/qegXILdVv.js\";const IconsFonts=getFonts(Icons);const enabledGestures={wbyqMbf7R:{hover:true}};const cycleOrder=[\"wbyqMbf7R\",\"rP4qagCt9\"];const serializationHash=\"framer-FNU5E\";const variantClassNames={rP4qagCt9:\"framer-v-ftce1y\",wbyqMbf7R:\"framer-v-hqa9e6\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const Wf1GjFADB=undefined;const Ov36Hb4xC=undefined;const transition1={duration:0,type:\"tween\"};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return 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={Active:\"wbyqMbf7R\",Disabled:\"rP4qagCt9\"};const Variants=motion.create(React.Fragment);const getProps=({click,color,height,id,width,...props})=>{return{...props,Ov36Hb4xC:color??props.Ov36Hb4xC??\"var(--token-db54caba-b31b-41fa-9f69-699e0eb81f2b, rgb(18, 18, 17))\",variant:humanReadableVariantMap[props.variant]??props.variant??\"wbyqMbf7R\",Wf1GjFADB:click??props.Wf1GjFADB};};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,Wf1GjFADB,Ov36Hb4xC,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"wbyqMbf7R\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap14fopcb=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(Wf1GjFADB){const res=await Wf1GjFADB(...args);if(res===false)return false;}});const onAppear13qpb9h=activeVariantCallback(async(...args)=>{await delay(()=>setVariant(\"wbyqMbf7R\"),1e3);});useOnVariantChange(baseVariant,{rP4qagCt9:onAppear13qpb9h});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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-hqa9e6\",className,classNames),\"data-framer-name\":\"Active\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"wbyqMbf7R\",onTap:onTap14fopcb,ref:refBinding,style:{backdropFilter:\"blur(5px)\",backgroundColor:\"rgba(255, 255, 255, 0)\",borderBottomLeftRadius:5,borderBottomRightRadius:5,borderTopLeftRadius:5,borderTopRightRadius:5,WebkitBackdropFilter:\"blur(5px)\",...style},...addPropertyOverrides({\"wbyqMbf7R-hover\":{\"data-framer-name\":undefined},rP4qagCt9:{\"data-framer-name\":\"Disabled\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(ComponentViewportProvider,{height:24,width:\"24px\",y:(componentViewport?.y||0)+(0+((componentViewport?.height||24)-0-24)/2),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-43rs23-container\",layoutDependency:layoutDependency,layoutId:\"ol6JgD3LV-container\",nodeId:\"ol6JgD3LV\",rendersWithMotion:true,scopeId:\"CCB3HtzRc\",style:{opacity:.75},variants:{rP4qagCt9:{opacity:.3}},children:/*#__PURE__*/_jsx(Icons,{a5lRUZCo_:X,height:\"100%\",id:\"ol6JgD3LV\",kXbEy_LwE:0,layoutId:\"ol6JgD3LV\",QktRTnuVT:ArrowNarrowUpRight,style:{height:\"100%\",width:\"100%\"},tTBpcxuhf:1,variant:matchVariant(\"s5AE1GMrH\"),width:\"100%\",wv2lSsyIH:Ov36Hb4xC,XJ5oGuXqC:0})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-FNU5E.framer-afepvo, .framer-FNU5E .framer-afepvo { display: block; }\",\".framer-FNU5E.framer-hqa9e6 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 0px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-FNU5E .framer-43rs23-container { flex: none; height: 24px; position: relative; width: 24px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 24\n * @framerIntrinsicWidth 24\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"rP4qagCt9\":{\"layout\":[\"auto\",\"auto\"]},\"BRbcFzKmc\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Wf1GjFADB\":\"click\",\"Ov36Hb4xC\":\"color\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerCCB3HtzRc=withCSS(Component,css,\"framer-FNU5E\");export default FramerCCB3HtzRc;FramerCCB3HtzRc.displayName=\"Media / Overlay Close Button\";FramerCCB3HtzRc.defaultProps={height:24,width:24};addPropertyControls(FramerCCB3HtzRc,{variant:{options:[\"wbyqMbf7R\",\"rP4qagCt9\"],optionTitles:[\"Active\",\"Disabled\"],title:\"Variant\",type:ControlType.Enum},Wf1GjFADB:{title:\"Click\",type:ControlType.EventHandler},Ov36Hb4xC:{defaultValue:'var(--token-db54caba-b31b-41fa-9f69-699e0eb81f2b, rgb(18, 18, 17)) /* {\"name\":\"Black\"} */',title:\"Color\",type:ControlType.Color}});addFonts(FramerCCB3HtzRc,[{explicitInter:true,fonts:[]},...IconsFonts],{supportsExplicitInterCodegen:true});FramerCCB3HtzRc.loader={load:(props,context)=>{const locale=context.locale;return Promise.allSettled([forwardLoader(Icons,{},context)]);}};\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerCCB3HtzRc\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"24\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"rP4qagCt9\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"BRbcFzKmc\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"Wf1GjFADB\\\":\\\"click\\\",\\\"Ov36Hb4xC\\\":\\\"color\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CCB3HtzRc.map"],"mappings":"yeACs+B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,iDAAnmC,IAAsP,IAAkE,IAA4B,IAAsI,IAA6H,IAAgH,CAAM,EAAW,EAASA,EAAM,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,CAAkP,EAAY,CAAC,SAAS,EAAE,KAAK,QAAQ,CAAO,GAAc,GAAG,IAAO,CAAC,IAAI,IAAM,KAAO,EAAM,GAAG,GAAK,OAAO,GAAM,SAAS,OAAO,GAA8B,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,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,OAAO,YAAY,SAAS,YAAY,CAAO,EA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