{"version":3,"file":"Ap6xBqE3h.CImUALrm.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId"],"sources":["https:/framerusercontent.com/modules/bFLt4MFGw6qAizCCz9JK/IHXVWpHgOGTQHVSkCIbr/Ap6xBqE3h.js"],"sourcesContent":["// Generated by Framer (b8d5a97)\nimport{jsx as _jsx}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 cycleOrder=[\"rBlsMq_IR\",\"iVgpdCh18\"];const serializationHash=\"framer-bYDbS\";const variantClassNames={iVgpdCh18:\"framer-v-19ehrqq\",rBlsMq_IR:\"framer-v-1o9jfkk\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={delay:0,duration:.4,ease:[.44,0,.56,1],type:\"tween\"};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={Active:\"rBlsMq_IR\",Inactive:\"iVgpdCh18\"};const getProps=({click,height,id,width,...props})=>{return{...props,oqunwwcTE:click??props.oqunwwcTE,variant:humanReadableVariantMap[props.variant]??props.variant??\"rBlsMq_IR\"};};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,oqunwwcTE,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"rBlsMq_IR\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapb4n88=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(oqunwwcTE){const res=await oqunwwcTE(...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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1o9jfkk\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Active\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"rBlsMq_IR\",onTap:onTapb4n88,ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgba(108, 111, 118, 0.12)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"var(--token-4931b8a3-a639-4fda-b5a9-3efb652015c5, rgb(250, 250, 250))\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},variants:{iVgpdCh18:{backgroundColor:\"var(--token-8e0a877f-2000-4d30-bc4c-842cf62e1a9b, rgb(248, 61, 105))\"}},...addPropertyOverrides({iVgpdCh18:{\"data-framer-name\":\"Inactive\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1n0hnla\",\"data-framer-name\":\"Circle\",layoutDependency:layoutDependency,layoutId:\"eKCPIKL_m\",style:{backgroundColor:\"var(--token-b80dc369-b9bf-4921-a6d0-0c42161e0f34, rgb(24, 24, 24))\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100},variants:{iVgpdCh18:{backgroundColor:\"var(--token-4ca89f5b-7597-4cef-a175-2a2606d92651, rgb(255, 255, 255))\"}}})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-bYDbS.framer-pi6v7b, .framer-bYDbS .framer-pi6v7b { display: block; }\",\".framer-bYDbS.framer-1o9jfkk { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 4px; position: relative; width: 48px; will-change: var(--framer-will-change-override, transform); }\",\".framer-bYDbS .framer-1n0hnla { flex: none; height: 18px; overflow: hidden; position: relative; width: 18px; will-change: var(--framer-will-change-override, transform); }\",\".framer-bYDbS.framer-v-19ehrqq.framer-1o9jfkk { justify-content: flex-end; }\",'.framer-bYDbS[data-border=\"true\"]::after, .framer-bYDbS [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 26\n * @framerIntrinsicWidth 48\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"iVgpdCh18\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"oqunwwcTE\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerAp6xBqE3h=withCSS(Component,css,\"framer-bYDbS\");export default FramerAp6xBqE3h;FramerAp6xBqE3h.displayName=\"Toggle\";FramerAp6xBqE3h.defaultProps={height:26,width:48};addPropertyControls(FramerAp6xBqE3h,{variant:{options:[\"rBlsMq_IR\",\"iVgpdCh18\"],optionTitles:[\"Active\",\"Inactive\"],title:\"Variant\",type:ControlType.Enum},oqunwwcTE:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerAp6xBqE3h,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerAp6xBqE3h\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"26\",\"framerVariables\":\"{\\\"oqunwwcTE\\\":\\\"click\\\"}\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"iVgpdCh18\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"48\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ap6xBqE3h.map"],"mappings":"6TAC6d,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAA1lB,IAAoJ,IAAkE,IAA4B,CAAgC,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,CAA8L,EAAY,CAAC,MAAM,EAAE,SAAS,GAAG,KAAK,CAAC,IAAI,EAAE,I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