{"version":3,"file":"VMErHMbWD.BawLDmUb.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","__exportAll","oe","ie","x","de","pe","c","J","init_jsx_runtime","init_npm_react_18_3_1","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","addFonts","cx","init_framer_BL70qLPA","withCSS","useVariantState","useComponentViewport","ControlType","useLocaleInfo","addPropertyControls","VMErHMbWD_exports","__FramerMetadata__","FramerVMErHMbWD","addPropertyOverrides","variants","nextOverrides","variant","overrides","cycleOrder","serializationHash","variantClassNames","transition1","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","init_VMErHMbWD","__esmMin","config","transition","value","contextValue","props","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","baseVariant","gestureVariant","\"exports\"","\"default\"","\"type\"","\"name\"","\"slots\"","\"annotations\"","\"framerAutoSizeImages\"","\"framerDisplayContentsDiv\"","\"framerComponentViewportWidth\"","\"framerColorSyntax\"","\"framerIntrinsicWidth\"","\"framerContractVersion\"","\"framerCanvasComponentVariantDetails\"","\"framerImmutableVariables\"","\"framerIntrinsicHeight\"","\"Props\"","\"__FramerMetadata__\""],"sources":["https:/framerusercontent.com/modules/rIyPTJsB6DpDhIoVAd0y/P4JV135JnyWmgFufzJvW/VMErHMbWD.js"],"sourcesContent":["// Generated by Framer (4aa4c0b)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"MXYbQf5_h\",\"DhoinEkss\"];const serializationHash=\"framer-vZbyp\";const variantClassNames={DhoinEkss:\"framer-v-1kszot9\",MXYbQf5_h:\"framer-v-exsfwi\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:0,delay:0,duration:.3,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 humanReadableVariantMap={Off:\"MXYbQf5_h\",On:\"DhoinEkss\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"MXYbQf5_h\"};};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,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"MXYbQf5_h\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);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-exsfwi\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Off\",layoutDependency:layoutDependency,layoutId:\"MXYbQf5_h\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-d86cc7f3-d8a4-42a2-9eea-4e98f805d3be)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:6,borderBottomRightRadius:6,borderTopLeftRadius:6,borderTopRightRadius:6,...style},variants:{DhoinEkss:{\"--border-color\":\"var(--token-8ce43d52-39e7-4163-8591-455cd7203680)\",backgroundColor:\"var(--token-0667f2bc-fbe2-465e-83dc-40c2405e2bb4)\"}},...addPropertyOverrides({DhoinEkss:{\"data-framer-name\":\"On\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1bd4frh\",\"data-framer-name\":\"Knob\",layoutDependency:layoutDependency,layoutId:\"WwtPfeu5p\",style:{backgroundColor:\"var(--token-ee3ea622-ac03-41ae-b28f-5542d5e7593c)\",borderBottomLeftRadius:3,borderBottomRightRadius:3,borderTopLeftRadius:3,borderTopRightRadius:3},variants:{DhoinEkss:{backgroundColor:\"var(--token-8ce43d52-39e7-4163-8591-455cd7203680)\"}}})})})})});});const css=[\".framer-vZbyp.framer-jvrpul, .framer-vZbyp .framer-jvrpul { display: block; }\",\".framer-vZbyp.framer-exsfwi { cursor: pointer; height: 18px; position: relative; width: 30px; }\",\".framer-vZbyp .framer-1bd4frh { flex: none; height: 10px; left: 3px; position: absolute; top: 3px; width: 10px; }\",\".framer-vZbyp.framer-v-1kszot9 .framer-1bd4frh { left: 15px; }\",'.framer-vZbyp[data-border=\"true\"]::after, .framer-vZbyp [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; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 18\n * @framerIntrinsicWidth 30\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"DhoinEkss\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerVMErHMbWD=withCSS(Component,css,\"framer-vZbyp\");export default FramerVMErHMbWD;FramerVMErHMbWD.displayName=\"Switch\";FramerVMErHMbWD.defaultProps={height:18,width:30};addPropertyControls(FramerVMErHMbWD,{variant:{options:[\"MXYbQf5_h\",\"DhoinEkss\"],optionTitles:[\"Off\",\"On\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerVMErHMbWD,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerVMErHMbWD\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"30\",\"framerContractVersion\":\"1\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"DhoinEkss\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"18\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VMErHMbWD.map"],"mappings":"A,8XACmc,SAASgC,EAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,wEAArV,EAAW,CAAC,YAAY,WAAW,EAAQ,EAAkB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