{"version":3,"file":"ap4pdJGnz.C6Myxo7p.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.useRef","React.useId","RichText"],"sources":["https:/framerusercontent.com/modules/W7HaY28Zpf2F7Izo4AJv/2qgKFyLbzA1C4JTbB9XF/ap4pdJGnz.js"],"sourcesContent":["// Generated by Framer (64bc75b)\nimport{jsx as _jsx}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\";const enabledGestures={n1GNPFYKr:{hover:true}};const cycleOrder=[\"n1GNPFYKr\",\"sYWBlWIWh\",\"exMYeRPNX\"];const serializationHash=\"framer-rRDy6\";const variantClassNames={exMYeRPNX:\"framer-v-1eu4s0m\",n1GNPFYKr:\"framer-v-1m0c5bn\",sYWBlWIWh:\"framer-v-1ejmp4j\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0: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!==null&&value!==void 0?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={\"Variant 1\":\"n1GNPFYKr\",\"Variant 3\":\"exMYeRPNX\",Disabled:\"sYWBlWIWh\"};const getProps=({background,click,fontSize,height,id,title,width,...props})=>{var _ref,_humanReadableVariantMap_props_variant,_ref1,_ref2,_ref3;return{...props,d_hbyy1sk:click!==null&&click!==void 0?click:props.d_hbyy1sk,O_HR2KAbF:(_ref=fontSize!==null&&fontSize!==void 0?fontSize:props.O_HR2KAbF)!==null&&_ref!==void 0?_ref:16,variant:(_ref1=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref1!==void 0?_ref1:\"n1GNPFYKr\",Vn46irhKM:(_ref2=background!==null&&background!==void 0?background:props.Vn46irhKM)!==null&&_ref2!==void 0?_ref2:\"rgb(250, 250, 250)\",w5zVr57UQ:(_ref3=title!==null&&title!==void 0?title:props.w5zVr57UQ)!==null&&_ref3!==void 0?_ref3:\"Category\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,O_HR2KAbF,Vn46irhKM,w5zVr57UQ,d_hbyy1sk,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"n1GNPFYKr\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap11kwlbx=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(d_hbyy1sk){const res=await d_hbyy1sk(...args);if(res===false)return false;}});const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?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(serializationHash,...sharedStyleClassNames,\"framer-1m0c5bn\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"n1GNPFYKr\",onTap:onTap11kwlbx,ref:ref!==null&&ref!==void 0?ref:ref1,style:{\"--border-bottom-width\":\"0.5px\",\"--border-color\":\"rgb(223, 223, 223)\",\"--border-left-width\":\"0.5px\",\"--border-right-width\":\"0.5px\",\"--border-style\":\"solid\",\"--border-top-width\":\"0.5px\",backgroundColor:Vn46irhKM,borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,opacity:1,...style},variants:{\"n1GNPFYKr-hover\":{backgroundColor:\"rgb(223, 223, 223)\"},exMYeRPNX:{\"--border-color\":\"rgb(0, 0, 0)\"},sYWBlWIWh:{opacity:.5}},...addPropertyOverrides({\"n1GNPFYKr-hover\":{\"data-framer-name\":undefined},exMYeRPNX:{\"data-framer-name\":\"Variant 3\"},sYWBlWIWh:{\"data-framer-name\":\"Disabled\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1Rlc3QgU8O2aG5lIEJ1Y2g=\",\"--framer-font-family\":'\"Test S\\xf6hne Buch\", \"Test S\\xf6hne Buch Placeholder\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-O_HR2KAbF-ap4pdJGnz) * 1px)\",\"--framer-text-alignment\":\"center\"},children:\"Category\"})}),className:\"framer-1y1odmi\",fonts:[\"CUSTOM;Test S\\xf6hne Buch\"],layoutDependency:layoutDependency,layoutId:\"ZxWwWA3jB\",style:{\"--variable-reference-O_HR2KAbF-ap4pdJGnz\":O_HR2KAbF,opacity:1},text:w5zVr57UQ,variants:{exMYeRPNX:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\"},sYWBlWIWh:{opacity:.5}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({exMYeRPNX:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"Q1VTVE9NO1Rlc3QgU8O2aG5lIEJ1Y2g=\",\"--framer-font-family\":'\"Test S\\xf6hne Buch\", \"Test S\\xf6hne Buch Placeholder\", sans-serif',\"--framer-font-size\":\"calc(var(--variable-reference-O_HR2KAbF-ap4pdJGnz) * 1px)\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Category\"})})}},baseVariant,gestureVariant)})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-rRDy6.framer-3s7w9, .framer-rRDy6 .framer-3s7w9 { display: block; }\",\".framer-rRDy6.framer-1m0c5bn { 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: 16px 24px 16px 24px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-rRDy6 .framer-1y1odmi { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-rRDy6.framer-1m0c5bn { gap: 0px; } .framer-rRDy6.framer-1m0c5bn > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-rRDy6.framer-1m0c5bn > :first-child { margin-left: 0px; } .framer-rRDy6.framer-1m0c5bn > :last-child { margin-right: 0px; } }\",'.framer-rRDy6[data-border=\"true\"]::after, .framer-rRDy6 [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 51\n * @framerIntrinsicWidth 113.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"sYWBlWIWh\":{\"layout\":[\"auto\",\"auto\"]},\"exMYeRPNX\":{\"layout\":[\"auto\",\"auto\"]},\"sb8J1Z7Zn\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"O_HR2KAbF\":\"fontSize\",\"Vn46irhKM\":\"background\",\"w5zVr57UQ\":\"title\",\"d_hbyy1sk\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const Framerap4pdJGnz=withCSS(Component,css,\"framer-rRDy6\");export default Framerap4pdJGnz;Framerap4pdJGnz.displayName=\"categoy-pill\";Framerap4pdJGnz.defaultProps={height:51,width:113.5};addPropertyControls(Framerap4pdJGnz,{variant:{options:[\"n1GNPFYKr\",\"sYWBlWIWh\",\"exMYeRPNX\"],optionTitles:[\"Variant 1\",\"Disabled\",\"Variant 3\"],title:\"Variant\",type:ControlType.Enum},O_HR2KAbF:{defaultValue:16,title:\"Font Size\",type:ControlType.Number},Vn46irhKM:{defaultValue:\"rgb(250, 250, 250)\",title:\"Background\",type:ControlType.Color},w5zVr57UQ:{defaultValue:\"Category\",displayTextArea:false,title:\"Title\",type:ControlType.String},d_hbyy1sk:{title:\"Click\",type:ControlType.EventHandler}});addFonts(Framerap4pdJGnz,[{explicitInter:true,fonts:[{family:\"Test S\\xf6hne Buch\",source:\"custom\",url:\"https://framerusercontent.com/assets/PDi2oVQu9y1UhQo1IpAgDyEX4.woff2\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Framerap4pdJGnz\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"sYWBlWIWh\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"exMYeRPNX\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"sb8J1Z7Zn\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"113.5\",\"framerIntrinsicHeight\":\"51\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerVariables\":\"{\\\"O_HR2KAbF\\\":\\\"fontSize\\\",\\\"Vn46irhKM\\\":\\\"background\\\",\\\"w5zVr57UQ\\\":\\\"title\\\",\\\"d_hbyy1sk\\\":\\\"click\\\"}\",\"framerComponentViewportWidth\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ap4pdJGnz.map"],"mappings":"yUACoiB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAA+H,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,2CAA1sB,IAA6J,IAAkE,IAA4B,CAAM,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,mBAAmB,CAAuO,EAAY,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAmC,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,E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