{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/6DAlfznMzfm4bNXZ4cAd/ScrollToTopButton.js", "ssg:https://framerusercontent.com/modules/019yUDYLepsf0PmnMis3/GXpKbPI5Q8INLBtxSHlZ/rjYPGHBmq.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import React from\"react\";function OptimizationFriendly({loading,loaded}){const[isLoading,setLoading]=React.useState(true);React.useEffect(()=>setLoading(false),[]);return isLoading?loading:loaded;}function scrollToTop(){window.scrollTo({top:0,behavior:\"smooth\"});}function withLoaded(Component){return props=>{return /*#__PURE__*/ _jsx(Component,{...props,onClick:scrollToTop});};}export function ScrollToTopButton(Component){return props=>{const ComponentWithLoaded=withLoaded(Component);return /*#__PURE__*/ _jsx(OptimizationFriendly,{loading:/*#__PURE__*/ _jsx(Component,{...props}),loaded:/*#__PURE__*/ _jsx(ComponentWithLoaded,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"ScrollToTopButton\":{\"type\":\"reactHoc\",\"name\":\"ScrollToTopButton\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollToTopButton.map", "// Generated by Framer (1a29ba8)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFonts,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion}from\"framer-motion\";import*as React from\"react\";import{Icon as Hero}from\"https://framerusercontent.com/modules/hKjtTuWGYB451ckw6eTN/rQJeCcsGr1fSnWO0FT2G/Hero.js\";import{ScrollToTopButton}from\"https://framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/6DAlfznMzfm4bNXZ4cAd/ScrollToTopButton.js\";const HeroFonts=getFonts(Hero);const MotionDivScrollToTopButton=ScrollToTopButton(motion.div);const cycleOrder=[\"kXDtcYSHn\"];const variantClassNames={kXDtcYSHn:\"framer-v-12inry2\"};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={};const transitions={default:{damping:60,delay:0,duration:.3,ease:[.44,0,.56,1],mass:1,stiffness:500,type:\"spring\"}};const Component=/*#__PURE__*/ React.forwardRef(function({id,style,className,width,height,layoutId,variant:outerVariant=\"kXDtcYSHn\",color:DxFECmhqH='var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9)) /* {\"name\":\"Button\"} */',iconColor:iJ_vf1x3s='var(--token-1055a5dc-b1d3-41b9-8066-a3abfbbab218, rgb(255, 255, 255)) /* {\"name\":\"Icon\"} */',...restProps},ref){const outerVariantId=humanReadableVariantMap[outerVariant];const variant=outerVariantId||outerVariant;const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"kXDtcYSHn\",transitions,variant,variantClassNames});const layoutDependency=variants.join(\"-\")+restProps.layoutDependency;const defaultLayoutId=React.useId();return /*#__PURE__*/ _jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/ _jsx(motion.div,{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-d1vTM\",classNames),style:{display:\"contents\"},children:/*#__PURE__*/ _jsx(MotionDivScrollToTopButton,{...restProps,className:cx(\"framer-12inry2\",className),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"kXDtcYSHn\",ref:ref,style:{backgroundColor:DxFECmhqH,borderBottomLeftRadius:1e3,borderBottomRightRadius:1e3,borderTopLeftRadius:1e3,borderTopRightRadius:1e3,...style},transition:transition,children:/*#__PURE__*/ _jsx(motion.div,{className:\"framer-o399mt-container\",\"data-framer-name\":\"Arrow Icon\",layoutDependency:layoutDependency,layoutId:\"yvlrvjyez-container\",name:\"Arrow Icon\",transition:transition,children:/*#__PURE__*/ _jsx(Hero,{color:iJ_vf1x3s,height:\"100%\",iconSearch:\"Home\",iconSelection:\"ArrowUp\",id:\"yvlrvjyez\",layoutId:\"yvlrvjyez\",mirrored:false,name:\"Arrow Icon\",selectByList:true,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})})})});});const css=['.framer-d1vTM [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-d1vTM * { box-sizing: border-box; }\",\".framer-d1vTM .framer-1eev2m9 { display: block; }\",\".framer-d1vTM .framer-12inry2 { height: 60px; position: relative; width: 60px; }\",\".framer-d1vTM .framer-o399mt-container { flex: none; height: 28px; left: calc(50.00000000000002% - 28px / 2); position: absolute; top: calc(50.00000000000002% - 28px / 2); width: 28px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 60\n * @framerIntrinsicWidth 60\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"DxFECmhqH\":\"color\",\"iJ_vf1x3s\":\"iconColor\"}\n */ const FramerrjYPGHBmq=withCSS(Component,css,\"framer-d1vTM\");export default FramerrjYPGHBmq;FramerrjYPGHBmq.displayName=\"Scroll-to-Top Button\";FramerrjYPGHBmq.defaultProps={height:60,width:60};addPropertyControls(FramerrjYPGHBmq,{DxFECmhqH:{defaultValue:'var(--token-b77bf38b-fa7f-417c-afa9-fa6076614463, rgba(0, 0, 0, 0.9)) /* {\"name\":\"Button\"} */',title:\"Color\",type:ControlType.Color},iJ_vf1x3s:{defaultValue:'var(--token-1055a5dc-b1d3-41b9-8066-a3abfbbab218, rgb(255, 255, 255)) /* {\"name\":\"Icon\"} */',title:\"Icon Color\",type:ControlType.Color}});addFonts(FramerrjYPGHBmq,[...HeroFonts]);\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerrjYPGHBmq\",\"slots\":[],\"annotations\":{\"framerVariables\":\"{\\\"DxFECmhqH\\\":\\\"color\\\",\\\"iJ_vf1x3s\\\":\\\"iconColor\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicWidth\":\"60\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"60\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],
  "mappings": "iNAAoE,SAASA,EAAqB,CAAC,QAAAC,EAAQ,OAAAC,CAAM,EAAE,CAAC,GAAK,CAACC,EAAUC,CAAU,EAAEC,EAAM,SAAS,EAAI,EAAE,OAAAA,EAAM,UAAU,IAAID,EAAW,EAAK,EAAE,CAAC,CAAC,EAASD,EAAUF,EAAQC,CAAO,CAAC,SAASI,GAAa,CAACC,EAAO,SAAS,CAAC,IAAI,EAAE,SAAS,QAAQ,CAAC,CAAE,CAAC,SAASC,EAAWC,EAAU,CAAC,OAAOC,GAA6BC,EAAKF,EAAU,CAAC,GAAGC,EAAM,QAAQJ,CAAW,CAAC,CAAI,CAAQ,SAASM,EAAkBH,EAAU,CAAC,OAAOC,GAAO,CAAC,IAAMG,EAAoBL,EAAWC,CAAS,EAAE,OAAqBE,EAAKX,EAAqB,CAAC,QAAsBW,EAAKF,EAAU,CAAC,GAAGC,C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", "e", "scrollToTop", "window", "withLoaded", "Component", "props", "p", "ScrollToTopButton", "ComponentWithLoaded", "HeroFonts", "getFonts", "Icon", "MotionDivScrollToTopButton", "ScrollToTopButton", "motion", "cycleOrder", "variantClassNames", "humanReadableVariantMap", "transitions", "Component", "Y", "id", "style", "className", "width", "height", "layoutId", "outerVariant", "DxFECmhqH", "iJ_vf1x3s", "restProps", "ref", "variant", "baseVariant", "classNames", "gestureVariant", "setGestureState", "setVariant", "transition", "variants", "useVariantState", "cycleOrder", "variantClassNames", "layoutDependency", "defaultLayoutId", "ae", "p", "LayoutGroup", "motion", "cx", "MotionDivScrollToTopButton", "Icon", "css", "FramerrjYPGHBmq", "withCSS", "rjYPGHBmq_default", "addPropertyControls", "ControlType", "addFonts", "HeroFonts"]
}
