{"version":3,"file":"fdb6fWHUD.rdRTYLk6.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/XqhOnIoWTSnciDBB9HXF/h86t7wgMnwqqEFvd9zuN/fdb6fWHUD.js"],"sourcesContent":["// Generated by Framer (506606a)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,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={zkBHY0FPo:{hover:true}};const cycleOrder=[\"zkBHY0FPo\",\"U4fvnA8PI\"];const serializationHash=\"framer-VyYqg\";const variantClassNames={U4fvnA8PI:\"framer-v-5qcude\",zkBHY0FPo:\"framer-v-40xsa5\"};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={Active:\"U4fvnA8PI\",Inactive:\"zkBHY0FPo\"};const getProps=({activeTabColor,height,id,tabHoverColor,tabTextColor,tap,title,width,...props})=>{return{...props,duY9yqvKn:activeTabColor??props.duY9yqvKn??\"var(--token-9d671a95-e1c3-4666-95f2-d0deec62c2c9, rgb(4, 124, 255))\",En_FOvKud:tabHoverColor??props.En_FOvKud??\"var(--token-dbdf8d3d-9581-45ba-a6bb-ba718fd998e2, rgb(229, 242, 255))\",mAoNSCBTM:title??props.mAoNSCBTM??\"Monthly Billing\",pGZQoQQpm:tabTextColor??props.pGZQoQQpm??\"var(--token-9b261049-085a-40a7-ba7f-109f8755e369, rgb(2, 50, 102))\",s3IR1zPWe:tap??props.s3IR1zPWe,variant:humanReadableVariantMap[props.variant]??props.variant??\"zkBHY0FPo\"};};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,mAoNSCBTM,s3IR1zPWe,duY9yqvKn,pGZQoQQpm,En_FOvKud,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"zkBHY0FPo\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1wdsj3t=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(s3IR1zPWe){const res=await s3IR1zPWe(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(baseVariant===\"U4fvnA8PI\")return true;return false;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-40xsa5\",className,classNames),\"data-framer-name\":\"Inactive\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"zkBHY0FPo\",onTap:onTap1wdsj3t,ref:refBinding,style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,...style},variants:{\"zkBHY0FPo-hover\":{backgroundColor:En_FOvKud},U4fvnA8PI:{backgroundColor:duY9yqvKn}},...addPropertyOverrides({\"zkBHY0FPo-hover\":{\"data-framer-name\":undefined},U4fvnA8PI:{\"data-framer-name\":\"Active\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1B1ZmZpbiBUcmFuc2l0IEJvbGQ=\",\"--framer-font-family\":'\"Puffin Transit Bold\", \"Puffin Transit Bold Placeholder\", sans-serif',\"--framer-line-height\":\"170%\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--variable-reference-pGZQoQQpm-fdb6fWHUD))\"},children:\"Monthly Billing\"})}),className:\"framer-ab29gj\",fonts:[\"CUSTOM;Puffin Transit Bold\"],layoutDependency:layoutDependency,layoutId:\"wP43Qa5yg\",style:{\"--extracted-r6o4lv\":\"var(--variable-reference-pGZQoQQpm-fdb6fWHUD)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\",\"--variable-reference-pGZQoQQpm-fdb6fWHUD\":pGZQoQQpm},text:mAoNSCBTM,variants:{U4fvnA8PI:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({U4fvnA8PI:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1B1ZmZpbiBUcmFuc2l0IEJvbGQ=\",\"--framer-font-family\":'\"Puffin Transit Bold\", \"Puffin Transit Bold Placeholder\", sans-serif',\"--framer-line-height\":\"170%\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Monthly Billing\"})})}},baseVariant,gestureVariant)}),isDisplayed()&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-grojqm\",layoutDependency:layoutDependency,layoutId:\"x2VL9AGJR\",style:{background:\"radial-gradient(71% 100% at 50% 0%, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 100%)\"}})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-VyYqg.framer-1aa8wks, .framer-VyYqg .framer-1aa8wks { display: block; }\",\".framer-VyYqg.framer-40xsa5 { 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: 12px 16px 12px 16px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-VyYqg .framer-ab29gj { -webkit-user-select: none; flex: none; height: auto; overflow: visible; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-VyYqg .framer-grojqm { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; z-index: 1; }\",\".framer-VyYqg.framer-v-5qcude.framer-40xsa5 { overflow: visible; will-change: unset; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 51\n * @framerIntrinsicWidth 151.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"U4fvnA8PI\":{\"layout\":[\"auto\",\"auto\"]},\"FFYBcpsLB\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"mAoNSCBTM\":\"title\",\"s3IR1zPWe\":\"tap\",\"duY9yqvKn\":\"activeTabColor\",\"pGZQoQQpm\":\"tabTextColor\",\"En_FOvKud\":\"tabHoverColor\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const Framerfdb6fWHUD=withCSS(Component,css,\"framer-VyYqg\");export default Framerfdb6fWHUD;Framerfdb6fWHUD.displayName=\"tab/Tab\";Framerfdb6fWHUD.defaultProps={height:51,width:151.5};addPropertyControls(Framerfdb6fWHUD,{variant:{options:[\"zkBHY0FPo\",\"U4fvnA8PI\"],optionTitles:[\"Inactive\",\"Active\"],title:\"Variant\",type:ControlType.Enum},mAoNSCBTM:{defaultValue:\"Monthly Billing\",displayTextArea:false,title:\"Title\",type:ControlType.String},s3IR1zPWe:{title:\"Tap\",type:ControlType.EventHandler},duY9yqvKn:{defaultValue:'var(--token-9d671a95-e1c3-4666-95f2-d0deec62c2c9, rgb(4, 124, 255)) /* {\"name\":\"Blue/500\"} */',title:\"Active tab color\",type:ControlType.Color},pGZQoQQpm:{defaultValue:\"var(--token-9b261049-085a-40a7-ba7f-109f8755e369, rgb(2, 50, 102))\",title:\"Tab text color\",type:ControlType.Color},En_FOvKud:{defaultValue:'var(--token-dbdf8d3d-9581-45ba-a6bb-ba718fd998e2, rgb(229, 242, 255)) /* {\"name\":\"Blue/10\"} */',title:\"Tab hover color\",type:ControlType.Color}});addFonts(Framerfdb6fWHUD,[{explicitInter:true,fonts:[{cssFamilyName:\"Puffin Transit Bold\",source:\"custom\",uiFamilyName:\"Puffin Transit Bold\",url:\"https://framerusercontent.com/assets/eE3UyZcJTpHW9foR3vHg1oFJmY.ttf\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerfdb6fWHUD\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"51\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"mAoNSCBTM\\\":\\\"title\\\",\\\"s3IR1zPWe\\\":\\\"tap\\\",\\\"duY9yqvKn\\\":\\\"activeTabColor\\\",\\\"pGZQoQQpm\\\":\\\"tabTextColor\\\",\\\"En_FOvKud\\\":\\\"tabHoverColor\\\"}\",\"framerIntrinsicWidth\":\"151.5\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"U4fvnA8PI\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"FFYBcpsLB\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./fdb6fWHUD.map"],"mappings":"2UACiiB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAAhpB,IAA6J,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,kBAAkB,CAA8L,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,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,EAAS,EAAO,OAAOC,EAAe,CAAO,EAAwB,CAAC,OAAO,YAAY,SAAS,YAAY,CAAO,GAAU,CAAC,iBAAe,SAAO,KAAG,gBAAc,eAAa,MAAI,QAAM,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,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