{"version":3,"file":"shared-lib.DI5G2twq.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","SVG","RichText"],"sources":["https:/framerusercontent.com/modules/MLvmYoE89WAYf0Hc9FIh/gw6z8NpOtBqGQvjh0vdh/L9W4Vc7mC.js"],"sourcesContent":["// Generated by Framer (c86655f)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={ZD6D2kUqh:{hover:true}};const serializationHash=\"framer-QfFWY\";const variantClassNames={ZD6D2kUqh:\"framer-v-1wodo2e\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const yFp9MmyxN=undefined;const Xlw3_Txna=undefined;const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};const transition1={bounce:.2,delay:0,duration:.4,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 getProps=({height,iconLeading,id,padding,width,...props})=>{return{...props,Xlw3_Txna:iconLeading??props.Xlw3_Txna??true,yFp9MmyxN:padding??props.yFp9MmyxN??\"2px 12px 2px 2px\"};};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,Xlw3_Txna,yFp9MmyxN,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"ZD6D2kUqh\",enabledGestures,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(Link,{clickTrackingId:\"download\",href:\"https://github.com/Square-One-Official/Avatar/releases/latest/download/Aaavatar.dmg\",motionChild:true,nodeId:\"ZD6D2kUqh\",openInNewTab:true,scopeId:\"L9W4Vc7mC\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1wodo2e\",className,classNames)} framer-z6x6wz`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"ZD6D2kUqh\",ref:refBinding,style:{\"--v10xim\":numberToPixelString(yFp9MmyxN),backgroundColor:\"rgb(235, 235, 235)\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100,...style},variants:{\"ZD6D2kUqh-hover\":{backgroundColor:\"rgb(217, 217, 217)\"}},...addPropertyOverrides({\"ZD6D2kUqh-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[Xlw3_Txna!==false&&/*#__PURE__*/_jsx(motion.div,{className:\"framer-coi8js\",layoutDependency:layoutDependency,layoutId:\"md4g8o5Vu\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:500,borderBottomRightRadius:500,borderTopLeftRadius:500,borderTopRightRadius:500},children:/*#__PURE__*/_jsxs(SVG,{className:\"framer-m7t9uc\",layoutDependency:layoutDependency,layoutId:\"drK37TWQm\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 13.026 15.998\" overflow=\"visible\"><path d=\"M 12.61 5.454 C 12.517 5.526 10.878 6.45 10.878 8.502 C 10.878 10.877 12.963 11.717 13.026 11.738 C 13.016 11.789 12.694 12.888 11.926 14.008 C 11.242 14.994 10.526 15.978 9.438 15.978 C 8.35 15.978 8.07 15.346 6.814 15.346 C 5.59 15.346 5.155 15.998 4.16 15.998 C 3.165 15.998 2.47 15.086 1.672 13.966 C 0.747 12.651 0 10.608 0 8.669 C 0 5.558 2.022 3.909 4.013 3.909 C 5.07 3.909 5.952 4.603 6.616 4.603 C 7.248 4.603 8.234 3.867 9.437 3.867 C 9.893 3.867 11.531 3.909 12.61 5.454 Z M 8.866 2.55 C 9.363 1.96 9.715 1.141 9.715 0.322 C 9.715 0.208 9.706 0.093 9.685 0 C 8.875 0.03 7.912 0.539 7.331 1.213 C 6.875 1.731 6.45 2.55 6.45 3.381 C 6.45 3.506 6.47 3.63 6.48 3.67 C 6.531 3.68 6.614 3.691 6.698 3.691 C 7.424 3.691 8.338 3.205 8.866 2.55 Z\" fill=\"rgb(0, 0, 0)\"></path></svg>',withExternalLayout:true,children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-60fl7q\",layoutDependency:layoutDependency,layoutId:\"lGKOwu3Qa\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 13.026 12.131\" overflow=\"visible\"><path d=\"M 12.61 1.587 C 12.517 1.659 10.878 2.582 10.878 4.635 C 10.878 7.01 12.963 7.85 13.026 7.87 C 13.016 7.922 12.694 9.021 11.926 10.141 C 11.242 11.126 10.526 12.11 9.438 12.11 C 8.35 12.11 8.07 11.478 6.814 11.478 C 5.59 11.478 5.155 12.131 4.16 12.131 C 3.165 12.131 2.47 11.219 1.672 10.099 C 0.747 8.784 0 6.741 0 4.802 C 0 1.691 2.022 0.042 4.013 0.042 C 5.07 0.042 5.952 0.736 6.616 0.736 C 7.248 0.736 8.234 0 9.437 0 C 9.893 0 11.531 0.042 12.61 1.587 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true}),/*#__PURE__*/_jsx(SVG,{className:\"framer-yuxrsv\",layoutDependency:layoutDependency,layoutId:\"QJb9nODVe\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 3.266 3.691\" overflow=\"visible\"><path d=\"M 2.416 2.55 C 2.914 1.96 3.266 1.141 3.266 0.322 C 3.266 0.208 3.256 0.093 3.235 0 C 2.426 0.03 1.462 0.539 0.882 1.213 C 0.426 1.731 0 2.55 0 3.381 C 0 3.506 0.021 3.63 0.03 3.67 C 0.082 3.68 0.165 3.691 0.248 3.691 C 0.974 3.691 1.888 3.205 2.416 2.55 Z\" fill=\"transparent\"></path></svg>',withExternalLayout:true})]})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7R2lscm95IEJvbGQ=\",\"--framer-font-family\":'\"Gilroy Bold\", \"Gilroy Bold Placeholder\", sans-serif',\"--framer-font-open-type-features\":\"'cv09' on, 'cv01' on, 'cv11' on, 'cv05' on\",\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"700\",\"--framer-letter-spacing\":\"-0.01em\",\"--framer-line-height\":\"1em\"},children:\"Download for Mac\"})}),className:\"framer-pfc3br\",fonts:[\"CUSTOMV2;Gilroy Bold\"],layoutDependency:layoutDependency,layoutId:\"yk_68UNFp\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})]})})})})});});const css=[\".framer-QfFWY.framer-z6x6wz, .framer-QfFWY .framer-z6x6wz { display: block; }\",\".framer-QfFWY.framer-1wodo2e { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 30px; justify-content: center; overflow: hidden; padding: var(--v10xim); position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-QfFWY .framer-coi8js { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 24px; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 4px; position: relative; width: 24px; will-change: var(--framer-will-change-override, transform); }\",\".framer-QfFWY .framer-m7t9uc { height: 16px; position: relative; width: 13px; }\",\".framer-QfFWY .framer-60fl7q { height: 12px; left: 0px; position: absolute; top: 4px; width: 13px; }\",\".framer-QfFWY .framer-yuxrsv { height: 4px; left: 6px; position: absolute; top: 0px; width: 4px; }\",\".framer-QfFWY .framer-pfc3br { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 30\n * @framerIntrinsicWidth 164\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"Ic4tAYhtM\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"Xlw3_Txna\":\"iconLeading\",\"yFp9MmyxN\":\"padding\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n * @framerTrackingIds [{\"id\":\"_l6qfq6\",\"trackingId\":\"download\",\"type\":\"click\",\"nodeId\":\"ZD6D2kUqh\"}]\n */const FramerL9W4Vc7mC=withCSS(Component,css,\"framer-QfFWY\");export default FramerL9W4Vc7mC;FramerL9W4Vc7mC.displayName=\"Button\";FramerL9W4Vc7mC.defaultProps={height:30,width:164};addPropertyControls(FramerL9W4Vc7mC,{Xlw3_Txna:{defaultValue:true,title:\"Icon leading\",type:ControlType.Boolean},onXlw3_TxnaChange:{changes:\"Xlw3_Txna\",type:ControlType.ChangeHandler},yFp9MmyxN:{defaultValue:\"2px 12px 2px 2px\",title:\"Padding\",type:ControlType.Padding}});addFonts(FramerL9W4Vc7mC,[{explicitInter:true,fonts:[{cssFamilyName:\"Gilroy Bold\",openType:true,source:\"custom\",style:\"normal\",uiFamilyName:\"Gilroy\",url:\"https://framerusercontent.com/assets/pyhLQSpWITo3sxhCRFPYZDuUs.woff2\",weight:\"700\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerL9W4Vc7mC\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"Ic4tAYhtM\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\",\"framerVariables\":\"{\\\"Xlw3_Txna\\\":\\\"iconLeading\\\",\\\"yFp9MmyxN\\\":\\\"padding\\\"}\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"164\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerTrackingIds\":\"[{\\\"id\\\":\\\"_l6qfq6\\\",\\\"trackingId\\\":\\\"download\\\",\\\"type\\\":\\\"click\\\",\\\"nodeId\\\":\\\"ZD6D2kUqh\\\"}]\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"30\",\"framerImmutableVariables\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./L9W4Vc7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