{"version":3,"file":"ZDpgppfKF.DfTYkgRH.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/q4G4LtVmzn5s7hEsjnJt/opviR2nJHXv2x1BXlyxL/ZDpgppfKF.js"],"sourcesContent":["// Generated by Framer (2306ade)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={ByJeeqh44:{hover:true},zWDk1TmAq:{hover:true}};const cycleOrder=[\"ByJeeqh44\",\"zWDk1TmAq\"];const serializationHash=\"framer-ZZQWz\";const variantClassNames={ByJeeqh44:\"framer-v-vsu6gb\",zWDk1TmAq:\"framer-v-13z8um1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}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 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={Close:\"zWDk1TmAq\",Open:\"ByJeeqh44\"};const getProps=({height,id,radius,tap,width,...props})=>{return{...props,FnjwMBSnU:tap??props.FnjwMBSnU,variant:humanReadableVariantMap[props.variant]??props.variant??\"ByJeeqh44\",XKeafhGS2:radius??props.XKeafhGS2??\"8px\"};};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,FnjwMBSnU,XKeafhGS2,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"ByJeeqh44\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap10ko6y4=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(FnjwMBSnU){const res=await FnjwMBSnU(...args);if(res===false)return false;}});const onTap1wvh91z=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(FnjwMBSnU){const res=await FnjwMBSnU(...args);if(res===false)return false;}setVariant(\"ByJeeqh44\");});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-vsu6gb\",className,classNames),\"data-framer-name\":\"Open\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"ByJeeqh44\",onTap:onTap10ko6y4,ref:refBinding,style:{backgroundColor:\"var(--token-2e1fc342-b8c4-42e1-ba4f-087f6dfb988a, rgba(247, 247, 248, 0))\",borderBottomLeftRadius:radiusForCorner(XKeafhGS2,3),borderBottomRightRadius:radiusForCorner(XKeafhGS2,2),borderTopLeftRadius:radiusForCorner(XKeafhGS2,0),borderTopRightRadius:radiusForCorner(XKeafhGS2,1),...style},variants:{\"ByJeeqh44-hover\":{backgroundColor:\"var(--token-ce98aedb-361a-4e02-9b82-e1fa06908ec0, rgb(241, 242, 244))\"},\"zWDk1TmAq-hover\":{backgroundColor:\"var(--token-ce98aedb-361a-4e02-9b82-e1fa06908ec0, rgb(241, 242, 244))\"}},...addPropertyOverrides({\"ByJeeqh44-hover\":{\"data-framer-name\":undefined},\"zWDk1TmAq-hover\":{\"data-framer-name\":undefined},zWDk1TmAq:{\"data-framer-name\":\"Close\",onTap:onTap1wvh91z}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsxs(motion.div,{className:\"framer-lksc2g\",\"data-framer-name\":\"Icon\",layoutDependency:layoutDependency,layoutId:\"E3yTR7hjX\",children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1cgkooq\",\"data-framer-name\":\"Vector\",layoutDependency:layoutDependency,layoutId:\"OEIOMGLaK\",style:{backgroundColor:\"rgb(36, 36, 42)\",rotate:0},variants:{\"ByJeeqh44-hover\":{rotate:0},zWDk1TmAq:{rotate:-45}}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-5s1zt4\",\"data-framer-name\":\"Vector\",layoutDependency:layoutDependency,layoutId:\"vDWQzTYTc\",style:{backgroundColor:\"rgb(36, 36, 42)\",rotate:0},variants:{\"ByJeeqh44-hover\":{rotate:0},zWDk1TmAq:{rotate:45}}})]})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-ZZQWz.framer-7zg77i, .framer-ZZQWz .framer-7zg77i { display: block; }\",\".framer-ZZQWz.framer-vsu6gb { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: hidden; padding: 4px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-ZZQWz .framer-lksc2g { flex: none; height: 24px; overflow: visible; position: relative; width: 24px; }\",\".framer-ZZQWz .framer-1cgkooq { flex: none; height: 2px; left: calc(50.00000000000002% - 18px / 2); overflow: visible; position: absolute; top: calc(29.16666666666669% - 2px / 2); width: 18px; }\",\".framer-ZZQWz .framer-5s1zt4 { flex: none; height: 2px; left: calc(50.00000000000002% - 18px / 2); overflow: visible; position: absolute; top: calc(70.83333333333336% - 2px / 2); width: 18px; }\",\".framer-ZZQWz.framer-v-13z8um1 .framer-1cgkooq, .framer-ZZQWz.framer-v-13z8um1 .framer-5s1zt4 { top: calc(50.00000000000002% - 2px / 2); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 32\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"zWDk1TmAq\":{\"layout\":[\"auto\",\"auto\"]},\"rPr7PbSsA\":{\"layout\":[\"auto\",\"auto\"]},\"RDukwxCFL\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"FnjwMBSnU\":\"tap\",\"XKeafhGS2\":\"radius\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerZDpgppfKF=withCSS(Component,css,\"framer-ZZQWz\");export default FramerZDpgppfKF;FramerZDpgppfKF.displayName=\"Buttons/Menu button\";FramerZDpgppfKF.defaultProps={height:32,width:32};addPropertyControls(FramerZDpgppfKF,{variant:{options:[\"ByJeeqh44\",\"zWDk1TmAq\"],optionTitles:[\"Open\",\"Close\"],title:\"Variant\",type:ControlType.Enum},FnjwMBSnU:{title:\"Tap\",type:ControlType.EventHandler},XKeafhGS2:{defaultValue:\"8px\",title:\"Radius\",type:ControlType.BorderRadius}});addFonts(FramerZDpgppfKF,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerZDpgppfKF\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"zWDk1TmAq\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"rPr7PbSsA\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"RDukwxCFL\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerVariables\":\"{\\\"FnjwMBSnU\\\":\\\"tap\\\",\\\"XKeafhGS2\\\":\\\"radius\\\"}\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"32\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"32\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ZDpgppfKF.map"],"mappings":"4iBACgjB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,KAAkB,CAAe,2DAA5Z,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAA8L,GAAiB,EAAM,IAAc,CAAC,GAAG,OAAO,GAAQ,UAAU,OAAO,SAAS,GAAO,OAAO,KAAK,IAAI,EAAE,GAAO,KAAK,GAAG,OAAO,GAAQ,UAAU,OAAO,GAAc,SAAS,OAAiB,IAAM,EAAS,EAAM,MAAM,KAAK,OAAO,EAAS,IAAc,EAAS,EAAY,IAAI,EA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