{"version":3,"file":"Badges.CE5d10Dc.mjs","names":["RichText","WikiBadge"],"sources":["https:/framerusercontent.com/modules/gQVXNgw8MFVKtSqQBZFS/pfwTZvEE3zFWOiK3unlJ/VXhLqCE_1.js","https:/framerusercontent.com/modules/nkUktthLfM3Bz9sjBtRT/haVzhFggosEtEuAmbZ10/Badges.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";// Generated by Framer (ee5437c)\nimport*as React from\"react\";import{motion,LayoutGroup}from\"framer-motion\";import{addFonts,withCSS,addPropertyControls,ControlType,cx,useVariantState,RichText,Stack}from\"framer\";import{useRandomID}from\"https://framer.com/m/framer/randomID.js@^2.0.0\";const cycleOrder=[\"YNzxo3X9P\",\"K6dKoto5E\"];const variantClassNames={\"YNzxo3X9P\":\"framer-v-1wbqd8a\",\"K6dKoto5E\":\"framer-v-kajb95\"};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 humanReadableVariantMap={\"Primary\":\"YNzxo3X9P\",\"No BG\":\"K6dKoto5E\"};const transitions={\"default\":{\"type\":\"spring\",\"ease\":[0.44,0,0.56,1],\"duration\":0.3,\"delay\":0,\"stiffness\":500,\"damping\":60,\"mass\":1}};const Component=/*#__PURE__*/ React.forwardRef(function({id,style:externalStyle={},className,width,height,layoutId,variant:outerVariant=\"YNzxo3X9P\",label:VbuQSaoxX=\"Beginner\",...restProps},ref){const outerVariantId=humanReadableVariantMap[outerVariant];const variant=outerVariantId||outerVariant;const{variants,baseVariant,gestureVariant,classNames,transition,setVariant,setGestureState}=useVariantState({defaultVariant:\"YNzxo3X9P\",variant,transitions,variantClassNames,cycleOrder});const layoutDependency=variants.join(\"-\")+restProps.layoutDependency;const defaultLayoutId=useRandomID();const{pointerEvents,...style}=externalStyle;return(/*#__PURE__*/ _jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/ _jsx(motion.div,{\"data-framer-generated\":true,initial:variant,animate:variants,onHoverStart:()=>setGestureState({isHovered:true}),onHoverEnd:()=>setGestureState({isHovered:false}),onTapStart:()=>setGestureState({isPressed:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),className:cx(\"framer-LFJwC\",classNames),style:{\"display\":\"contents\",\"pointerEvents\":pointerEvents!==null&&pointerEvents!==void 0?pointerEvents:undefined},children:/*#__PURE__*/ _jsx(Stack,{...restProps,layoutId:\"YNzxo3X9P\",className:cx(\"framer-1wbqd8a\",className),style:{\"borderBottomLeftRadius\":6,\"borderBottomRightRadius\":6,\"borderTopRightRadius\":6,\"borderTopLeftRadius\":6,\"backgroundColor\":\"rgb(255, 255, 255)\",...style},direction:\"vertical\",distribution:\"center\",alignment:\"center\",gap:0,wrap:false,__fromCanvasComponent:true,__contentWrapperStyle:{\"width\":\"auto\",\"height\":\"100%\",\"padding\":\"0px 12px 0px 12px\"},center:false,\"data-framer-name\":\"Primary\",variants:{\"K6dKoto5E\":{\"backgroundColor\":\"transparent\"}},transition:transition,layoutDependency:layoutDependency,ref:ref,...addPropertyOverrides({\"K6dKoto5E\":{\"data-framer-name\":\"No BG\",\"background\":null}},baseVariant,gestureVariant),children:/*#__PURE__*/ _jsx(RichText,{fonts:[\"CUSTOM;Euclid Circular A Regular\"],style:{\"--framer-paragraph-spacing\":\"0px\"},withExternalLayout:true,verticalAlignment:\"top\",__fromCanvasComponent:true,layoutId:\"vaPf6UeFa\",className:\"framer-1l3x5bd\",__htmlStructure:\"<p style=\\\"--framer-line-height:1.44em; --framer-text-alignment:left;\\\"><span style=\\\"--framer-font-family:&quot;Euclid Circular A Regular&quot;, serif; --framer-font-style:normal; --framer-font-weight:400; --font-selector:Q1VTVE9NO0V1Y2xpZCBDaXJjdWxhciBBIFJlZ3VsYXI=; --framer-text-color:var(--token-05b60f6e-d0a9-4c43-9bb7-b824a6abe175, rgb(92, 101, 116)) ;\\\">{{ text-placeholder }}</span></p>\",htmlFromDesign:\"<p style=\\\"--framer-line-height:1.44em; --framer-text-alignment:left;\\\"><span style=\\\"--framer-font-family:&quot;Euclid Circular A Regular&quot;, serif; --framer-font-style:normal; --framer-font-weight:400; --font-selector:Q1VTVE9NO0V1Y2xpZCBDaXJjdWxhciBBIFJlZ3VsYXI=; --framer-text-color:var(--token-05b60f6e-d0a9-4c43-9bb7-b824a6abe175, rgb(92, 101, 116)) ;\\\">↓</span></p>\",textFromDesign:VbuQSaoxX,transition:transition,layoutDependency:layoutDependency})})})}));});const css=[\".framer-LFJwC [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;}\",\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-LFJwC * { box-sizing: border-box; }\",\".framer-LFJwC .framer-1wbqd8a { position: relative; overflow: visible; width: min-content; height: 32px; }\",\".framer-LFJwC .framer-1l3x5bd { position: relative; overflow: visible; width: auto; height: auto; flex: none; white-space: pre; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 91\n * @framerCanvasComponentVariantDetails {\"propertyName\": \"variant\", \"data\": {\"default\": {\"layout\": [\"auto\", \"fixed\"]}, \"K6dKoto5E\": {\"layout\": [\"auto\", \"fixed\"]}}}\n * @framerVariables {\"VbuQSaoxX\": \"label\"}\n */ const FramerVXhLqCE_1=withCSS(Component,css);export default FramerVXhLqCE_1;FramerVXhLqCE_1.displayName=\"Wiki/Badge\";FramerVXhLqCE_1.defaultProps={\"width\":91,\"height\":32};addPropertyControls(FramerVXhLqCE_1,{\"variant\":{\"type\":ControlType.Enum,\"title\":\"Variant\",\"options\":[\"YNzxo3X9P\",\"K6dKoto5E\"],\"optionTitles\":[\"Primary\",\"No BG\"]},\"VbuQSaoxX\":{\"type\":ControlType.String,\"title\":\"Label\",\"defaultValue\":\"Beginner\",\"displayTextArea\":false}});addFonts(FramerVXhLqCE_1,[{\"url\":new URL(\"assets/0a1TgAUdSGujWdGji7jsKibU.ttf\",\"https://framerusercontent.com/modules/gQVXNgw8MFVKtSqQBZFS/pfwTZvEE3zFWOiK3unlJ/VXhLqCE_1.js\").href,\"family\":\"Euclid Circular A Regular\",\"moduleAsset\":{\"url\":\"assets/0a1TgAUdSGujWdGji7jsKibU.ttf\",\"localModuleIdentifier\":\"local-module:canvasComponent/VXhLqCE_1:default\"}}]);\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerVXhLqCE_1\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"32\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"91\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\": \\\"variant\\\", \\\"data\\\": {\\\"default\\\": {\\\"layout\\\": [\\\"auto\\\", \\\"fixed\\\"]}, \\\"K6dKoto5E\\\": {\\\"layout\\\": [\\\"auto\\\", \\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"VbuQSaoxX\\\": \\\"label\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VXhLqCE_1.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import WikiBadge from\"https://framerusercontent.com/modules/gQVXNgw8MFVKtSqQBZFS/pfwTZvEE3zFWOiK3unlJ/VXhLqCE_1.js\";export default function Wiki_Badges(props){const badges=props.badges.split(\", \");return /*#__PURE__*/ _jsx(\"div\",{style:{...containerStyle,gap:props.gap},children:badges.map((badge,i)=>/*#__PURE__*/ _jsx(WikiBadge,{label:badge,variant:i===0?\"No BG\":\"Primary\"},i))});};const containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"flex-end\",alignItems:\"center\",overflow:\"hidden\",listStyle:\"none\",flexWrap:\"wrap\"};Wiki_Badges.defaultProps={badges:\"Beginner, Pro\",gap:16};addPropertyControls(Wiki_Badges,{badges:{type:ControlType.String,title:\"Badges\"},gap:{type:ControlType.Number,title:\"Gap\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Wiki_Badges\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Badges.map"],"mappings":"0UAC2X,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAA+H,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,+BADjiB,IACf,IAA8C,IAAuG,IAAwE,CAAM,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,CAAC,UAAY,mBAAmB,UAAY,kBAAkB,CAAuO,EAAwB,CAAC,QAAU,YAAY,QAAQ,YAAY,CAAO,EAAY,CAAC,QAAU,CAAC,KAAO,SAAS,KAAO,CAAC,IAAK,EAAE,IAAK,EAAE,CAAC,SAAW,GAAI,MAAQ,EAAE,UAAY,IAAI,QAAU,GAAG,KAAO,EAAE,CAAC,CAMhyB,EAAgB,EAN+yB,EAAiB,SAAS,CAAC,KAAG,MAAM,EAAc,EAAE,CAAC,YAAU,QAAM,SAAO,WAAS,QAAQ,EAAa,YAAY,MAAM,EAAU,WAAW,GAAG,GAAW,EAAI,CAA4D,IAAM,EAA5C,EAAwB,IAA4C,EAAkB,CAAC,WAAS,cAAY,iBAAe,aAAW,aAAW,aAAW,mBAAiB,EAAgB,CAAC,eAAe,YAAY,UAAQ,cAAY,oBAAkB,aAAW,CAAC,CAAO,EAAiB,EAAS,KAAK,IAAI,CAAC,EAAU,iBA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