{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/PdPLENu1Gu5cMBSjgU3i/J5YT5wqFhcfLf2Tf09kX/Back_to_top_button.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Back_to_top_button(props){const{tint,iconColor,iconSize}=props;const scrollToTop=()=>{window.scrollTo({top:0,behavior:\"smooth\"});};return /*#__PURE__*/_jsx(motion.div,{onClick:scrollToTop,style:{position:\"fixed\",bottom:30,right:30,width:iconSize,height:iconSize,borderRadius:\"50%\",backgroundColor:tint,color:iconColor,display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",zIndex:999,boxShadow:\"0 4px 12px rgba(0,0,0,0.2)\"},whileTap:{scale:.95},children:/*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:iconSize*.6,height:iconSize*.6,viewBox:\"0 0 24 24\",fill:\"none\",stroke:iconColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"polyline\",{points:\"18 15 12 9 6 15\"})})});}addPropertyControls(Back_to_top_button,{tint:{title:\"Background\",type:ControlType.Color,defaultValue:\"#09F\"},iconColor:{title:\"Icon Color\",type:ControlType.Color,defaultValue:\"#FFF\"},iconSize:{title:\"Size\",type:ControlType.Number,defaultValue:48,min:24,max:128,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Back_to_top_button\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Back_to_top_button.map"],
  "mappings": "yIAGkB,SAARA,EAAoCC,EAAM,CAAC,GAAK,CAAC,KAAAC,EAAK,UAAAC,EAAU,SAAAC,CAAQ,EAAEH,EAAYI,EAAY,IAAI,CAACC,EAAO,SAAS,CAAC,IAAI,EAAE,SAAS,QAAQ,CAAC,CAAE,EAAE,OAAoBC,EAAKC,EAAO,IAAI,CAAC,QAAQH,EAAY,MAAM,CAAC,SAAS,QAAQ,OAAO,GAAG,MAAM,GAAG,MAAMD,EAAS,OAAOA,EAAS,aAAa,MAAM,gBAAgBF,EAAK,MAAMC,EAAU,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,OAAO,UAAU,OAAO,IAAI,UAAU,4BAA4B,EAAE,SAAS,CAAC,MAAM,GAAG,EAAE,SAAsBI,EAAK,MAAM,CAAC,MAAM,6BAA6B,MAAMH,EAAS,GAAG,OAAOA,EAAS,GAAG,QAAQ,YAAY,KAAK,OAAO,OAAOD,EAAU,YAAY,IAAI,cAAc,QAAQ,eAAe,QAAQ,SAAsBI,EAAK,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAACE,EAAoBT,EAAmB,CAAC,KAAK,CAAC,MAAM,aAAa,KAAKU,EAAY,MAAM,aAAa,MAAM,EAAE,UAAU,CAAC,MAAM,aAAa,KAAKA,EAAY,MAAM,aAAa,MAAM,EAAE,SAAS,CAAC,MAAM,OAAO,KAAKA,EAAY,OAAO,aAAa,GAAG,IAAI,GAAG,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC",
  "names": ["Back_to_top_button", "props", "tint", "iconColor", "iconSize", "scrollToTop", "window", "p", "motion", "addPropertyControls", "ControlType"]
}
