{"version":3,"file":"GitHubStarButton.D0w-R7i9.mjs","names":["React.Fragment","localizedValues","ButtonRegular","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","RichText","useState","useMemo","startTransition"],"sources":["https:/framerusercontent.com/modules/JZ1oWZ5lxbfiuadWkAHA/M1mlcPHVyKJVCWWRWAon/KKfWVOf_4-0.js","https:/framerusercontent.com/modules/JZ1oWZ5lxbfiuadWkAHA/M1mlcPHVyKJVCWWRWAon/KKfWVOf_4.js","https:/framerusercontent.com/modules/3uR8gSMsUigVfa5B10ab/6M76RiT1iXfeun9PGH4o/KKfWVOf_4.js","https:/framerusercontent.com/modules/tA5PkesMGpEUk6KyIyAa/BOpOMnTJnNQSW7i9Q7Db/GitHubStarButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import*as React from\"react\";export const v0=/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7QXJjaGl2by1tZWRpdW0=\",\"--framer-font-family\":'\"Archivo\", \"Archivo Placeholder\", sans-serif',\"--framer-font-size\":\"28px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"120%\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(11, 12, 14))\"},children:\"Join our community\"})});export const v1=\"Join the Slack channel\";\nexport const __FramerMetadata__ = {\"exports\":{\"v0\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"v1\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (c9c30df)\nimport*as localizedValues from\"./KKfWVOf_4-0.js\";const valuesByLocaleId={xtvRy7HLo:localizedValues};export default function getLocalizedValue(key,locale){while(locale){const values=valuesByLocaleId[locale.id];if(values){const value=values[key];if(value)return value;}locale=locale.fallback;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (c9c30df)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import getLocalizedValue from\"https://framerusercontent.com/modules/JZ1oWZ5lxbfiuadWkAHA/M1mlcPHVyKJVCWWRWAon/KKfWVOf_4.js\";import ButtonRegular from\"https://framerusercontent.com/modules/hyQif2s4kM0bn5eVKQFH/j6aYtRzg4URuMEqJpmnR/DUyuT3lKx.js\";const ButtonRegularFonts=getFonts(ButtonRegular);const cycleOrder=[\"Qh5qisd4Y\",\"YhaPiNOoH\",\"RYPfqq_26\"];const serializationHash=\"framer-Abvep\";const variantClassNames={Qh5qisd4Y:\"framer-v-1wzhdr8\",RYPfqq_26:\"framer-v-iynqbe\",YhaPiNOoH:\"framer-v-eei90s\"};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 matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return undefined;};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={FHD:\"Qh5qisd4Y\",HD:\"YhaPiNOoH\",MOBILE:\"RYPfqq_26\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"Qh5qisd4Y\"};};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:\"Qh5qisd4Y\",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__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1wzhdr8\",className,classNames),\"data-border\":true,\"data-framer-name\":\"FHD\",layoutDependency:layoutDependency,layoutId:\"Qh5qisd4Y\",ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-66274c0d-a152-446d-bb51-46eb5ae9567c, rgb(233, 233, 236))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",background:\"linear-gradient(124deg, var(--token-a6c0a1b9-a1d6-47c0-b27b-5bb87db24d2f, rgb(241, 241, 244)) 37.38738738738739%, var(--token-66274c0d-a152-446d-bb51-46eb5ae9567c, rgb(233, 233, 236)) 63.51351351351351%)\",borderBottomLeftRadius:16,borderBottomRightRadius:16,borderTopLeftRadius:16,borderTopRightRadius:16,...style},...addPropertyOverrides({RYPfqq_26:{\"data-framer-name\":\"MOBILE\"},YhaPiNOoH:{\"data-framer-name\":\"HD\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-dy2j1n\",\"data-framer-name\":\"TEXT\",layoutDependency:layoutDependency,layoutId:\"TuRX_o7gZ\",children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:getLocalizedValue(\"v0\",activeLocale)??/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"RlM7QXJjaGl2by1tZWRpdW0=\",\"--framer-font-family\":'\"Archivo\", \"Archivo Placeholder\", sans-serif',\"--framer-font-size\":\"28px\",\"--framer-font-weight\":\"500\",\"--framer-line-height\":\"120%\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(11, 12, 14))\"},children:\"Junte-se a nossa comunidade\"})}),className:\"framer-fzul0o\",\"data-framer-name\":\"Feel invited to join our Slack community and contribute to us.\",fonts:[\"FS;Archivo-medium\"],layoutDependency:layoutDependency,layoutId:\"vaB4Mno5B\",style:{\"--extracted-r6o4lv\":\"rgb(11, 12, 14)\",\"--framer-paragraph-spacing\":\"0px\"},verticalAlignment:\"top\",withExternalLayout:true})}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:33,y:(componentViewport?.y||0)+24,...addPropertyOverrides({RYPfqq_26:{y:(componentViewport?.y||0)+32},YhaPiNOoH:{y:(componentViewport?.y||0)+0}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1u90aih-container\",layoutDependency:layoutDependency,layoutId:\"xB4ZPAL83-container\",nodeId:\"xB4ZPAL83\",rendersWithMotion:true,scopeId:\"KKfWVOf_4\",children:/*#__PURE__*/_jsx(ButtonRegular,{AO3sqxetl:\"https://join.slack.com/t/undistrocommunity/shared_invite/zt-21slyrao4-dTW_XtOB90QVj05txOX6rA\",dAeN3WzyN:true,di7YUF3p2:getLocalizedValue(\"v1\",activeLocale)??\"Entre no canal no Slack\",gToz6X4Eg:\"8px 12px 8px 12px\",height:\"100%\",hpNcOBzcq:\"fill\",id:\"xB4ZPAL83\",layoutId:\"xB4ZPAL83\",OsQyL8Wfa:14,Ph6AKMX6i:\"0px 2px 3px 0px rgba(210, 212, 219, 0.6), inset 0px 1px 3px 0px rgb(255, 255, 255)\",variant:matchVariant(\"ERhO7ra_3\"),VgFoZ2T72:\"SlackLogo\",width:\"100%\"})})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-1mk413t\",\"data-framer-name\":\"point\",layoutDependency:layoutDependency,layoutId:\"M7aSQzrwj\",style:{backgroundColor:\"var(--token-62f200f9-5303-4093-9b51-5e2704e7d23b, rgb(216, 216, 223))\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-12g2u7v\",\"data-framer-name\":\"point\",layoutDependency:layoutDependency,layoutId:\"RaH14Jslw\",style:{backgroundColor:\"rgb(207, 207, 216)\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-ncvvr9\",\"data-framer-name\":\"point\",layoutDependency:layoutDependency,layoutId:\"UE9cGkGwC\",style:{backgroundColor:\"var(--token-62f200f9-5303-4093-9b51-5e2704e7d23b, rgb(216, 216, 223))\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-vz1vjc\",\"data-framer-name\":\"point\",layoutDependency:layoutDependency,layoutId:\"g_o2nztFN\",style:{backgroundColor:\"rgb(207, 207, 216)\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8}})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Abvep.framer-b3cyiu, .framer-Abvep .framer-b3cyiu { display: block; }\",\".framer-Abvep.framer-1wzhdr8 { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: wrap; gap: 32px; height: 306px; justify-content: center; overflow: hidden; padding: 24px 56px 24px 56px; position: relative; width: 432px; will-change: var(--framer-will-change-override, transform); }\",\".framer-Abvep .framer-dy2j1n { align-content: flex-start; align-items: flex-start; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 16px; height: min-content; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 100%; z-index: 2; }\",\".framer-Abvep .framer-fzul0o { flex: none; height: auto; position: relative; white-space: pre-wrap; width: 100%; word-break: break-word; word-wrap: break-word; }\",\".framer-Abvep .framer-1u90aih-container { flex: none; height: auto; position: relative; width: auto; }\",\".framer-Abvep .framer-1mk413t { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 6px); left: 12px; overflow: var(--overflow-clip-fallback, clip); position: absolute; top: 12px; width: 6px; will-change: var(--framer-will-change-override, transform); z-index: 3; }\",\".framer-Abvep .framer-12g2u7v { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 6px); overflow: var(--overflow-clip-fallback, clip); position: absolute; right: 12px; top: 12px; width: 6px; will-change: var(--framer-will-change-override, transform); z-index: 3; }\",\".framer-Abvep .framer-ncvvr9 { aspect-ratio: 1 / 1; bottom: 12px; flex: none; height: var(--framer-aspect-ratio-supported, 6px); left: 12px; overflow: var(--overflow-clip-fallback, clip); position: absolute; width: 6px; will-change: var(--framer-will-change-override, transform); z-index: 3; }\",\".framer-Abvep .framer-vz1vjc { aspect-ratio: 1 / 1; bottom: 12px; flex: none; height: var(--framer-aspect-ratio-supported, 6px); overflow: var(--overflow-clip-fallback, clip); position: absolute; right: 12px; width: 6px; will-change: var(--framer-will-change-override, transform); z-index: 3; }\",\".framer-Abvep.framer-v-eei90s.framer-1wzhdr8 { padding: 0px 48px 0px 48px; }\",\".framer-Abvep.framer-v-iynqbe.framer-1wzhdr8 { padding: 32px; }\",'.framer-Abvep[data-border=\"true\"]::after, .framer-Abvep [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 306\n * @framerIntrinsicWidth 432\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"YhaPiNOoH\":{\"layout\":[\"fixed\",\"fixed\"]},\"RYPfqq_26\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerKKfWVOf_4=withCSS(Component,css,\"framer-Abvep\");export default FramerKKfWVOf_4;FramerKKfWVOf_4.displayName=\"CTA - SLACK COMMUNITY\";FramerKKfWVOf_4.defaultProps={height:306,width:432};addPropertyControls(FramerKKfWVOf_4,{variant:{options:[\"Qh5qisd4Y\",\"YhaPiNOoH\",\"RYPfqq_26\"],optionTitles:[\"FHD\",\"HD\",\"MOBILE\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerKKfWVOf_4,[{explicitInter:true,fonts:[{cssFamilyName:\"Archivo\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"Archivo\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/5ISYWGR43XD57J2U5VEYATNUZO57OCPH/UIED7ZBTCD42AJ7GJT5NWKWHCOVDRNAP/EPHSF4UBJRLGUILEFJVCMY7ET4W5HPUF.woff2\",weight:\"500\"}]},...ButtonRegularFonts],{supportsExplicitInterCodegen:true});FramerKKfWVOf_4.loader={load:(props,context)=>{const locale=context.locale;return Promise.allSettled([forwardLoader(ButtonRegular,{},context)]);}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerKKfWVOf_4\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicWidth\":\"432\",\"framerContractVersion\":\"1\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"306\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"YhaPiNOoH\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"RYPfqq_26\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./KKfWVOf_4.map","// GitHub Star Button with automatic star counter\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,startTransition,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * GitHub Star Button with automatic star counter\n * \n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function GitHubStarButton(props){const{repoUrl=\"https://github.com/facebook/react\",buttonText=\"Star\",backgroundColor=\"#FFFFFF\",textColor=\"#000000\",borderColor=\"#CCCCCC\",hoverBackgroundColor=\"#F5F5F5\",starCountBackground=\"#EEEEEE\",starCountText=\"#000000\",buttonFont,countFont,paddingTop=12,paddingRight=16,paddingBottom=12,paddingLeft=16,borderRadius=6,shadow=\"0 2px 8px rgba(0, 0, 0, 0.08)\"}=props;const[starCount,setStarCount]=useState(null);const[isHovered,setIsHovered]=useState(false);const[isLoading,setIsLoading]=useState(true);// Parse GitHub URL to extract owner and repo name\nconst{repoOwner,repoName}=useMemo(()=>{try{// Remove trailing slashes and whitespace\nconst cleanUrl=repoUrl.trim().replace(/\\/+$/,\"\");// Match patterns like:\n// https://github.com/owner/repo\n// github.com/owner/repo\n// owner/repo\nconst match=cleanUrl.match(/(?:https?:\\/\\/)?(?:www\\.)?github\\.com\\/([^\\/]+)\\/([^\\/]+)/);if(match){return{repoOwner:match[1],repoName:match[2]};}// Try simple owner/repo format\nconst simpleMatch=cleanUrl.match(/^([^\\/]+)\\/([^\\/]+)$/);if(simpleMatch){return{repoOwner:simpleMatch[1],repoName:simpleMatch[2]};}// Fallback to default\nreturn{repoOwner:\"facebook\",repoName:\"react\"};}catch(error){return{repoOwner:\"facebook\",repoName:\"react\"};}},[repoUrl]);useEffect(()=>{if(typeof window===\"undefined\")return;const fetchStarCount=async()=>{try{const response=await fetch(`https://api.github.com/repos/${repoOwner}/${repoName}`);if(response.ok){const data=await response.json();startTransition(()=>{setStarCount(data.stargazers_count);setIsLoading(false);});}else{startTransition(()=>{setStarCount(0);setIsLoading(false);});}}catch(error){console.error(\"Error fetching star count:\",error);startTransition(()=>{setStarCount(0);setIsLoading(false);});}};fetchStarCount();},[repoOwner,repoName]);const formatStarCount=count=>{if(count===null)return\"...\";if(count>=1e3){return`${(count/1e3).toFixed(1)}k`;}return count.toString();};const handleClick=()=>{if(typeof window!==\"undefined\"){window.open(`https://github.com/${repoOwner}/${repoName}`,\"_blank\");}};return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"inline-flex\",alignItems:\"stretch\",border:`1px solid ${borderColor}`,borderRadius:borderRadius,overflow:\"hidden\",cursor:\"pointer\",transition:\"all 0.2s ease\",width:\"max-content\",boxShadow:shadow},onMouseEnter:()=>startTransition(()=>setIsHovered(true)),onMouseLeave:()=>startTransition(()=>setIsHovered(false)),onClick:handleClick,children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8,paddingTop:`${paddingTop}px`,paddingRight:`${paddingRight}px`,paddingBottom:`${paddingBottom}px`,paddingLeft:`${paddingLeft}px`,backgroundColor:isHovered?hoverBackgroundColor:backgroundColor,transition:\"background-color 0.2s ease\",...buttonFont,color:textColor},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:textColor,style:{flexShrink:0},\"aria-label\":\"GitHub\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z\"})}),/*#__PURE__*/_jsx(\"span\",{children:buttonText})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",paddingTop:`${paddingTop}px`,paddingRight:`${paddingRight}px`,paddingBottom:`${paddingBottom}px`,paddingLeft:`${paddingLeft}px`,backgroundColor:starCountBackground,borderLeft:`1px solid ${borderColor}`,minWidth:50,...countFont,color:starCountText},children:isLoading?\"...\":formatStarCount(starCount)})]});}addPropertyControls(GitHubStarButton,{repoUrl:{type:ControlType.String,title:\"GitHub Repo URL\",defaultValue:\"https://github.com/facebook/react\",placeholder:\"https://github.com/owner/repo\",displayTextArea:false},buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Star\"},shadow:{type:ControlType.BoxShadow,title:\"Shadow\"},paddingTop:{type:ControlType.Number,title:\"Padding Top\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"},paddingRight:{type:ControlType.Number,title:\"Padding Right\",defaultValue:16,min:0,max:32,step:1,unit:\"px\"},paddingBottom:{type:ControlType.Number,title:\"Padding Bottom\",defaultValue:12,min:0,max:32,step:1,unit:\"px\"},paddingLeft:{type:ControlType.Number,title:\"Padding Left\",defaultValue:16,min:0,max:32,step:1,unit:\"px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:6,min:0,max:32,step:1,unit:\"px\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#CCCCCC\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"#F5F5F5\"},starCountBackground:{type:ControlType.Color,title:\"Count Background\",defaultValue:\"#EEEEEE\"},starCountText:{type:ControlType.Color,title:\"Count Text\",defaultValue:\"#000000\"},buttonFont:{type:ControlType.Font,title:\"Button Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},countFont:{type:ControlType.Font,title:\"Count Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"14px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GitHubStarButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GitHubStarButton.map"],"mappings":"ygBAA2C,IAAkC,I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