{"version":3,"file":"WithCSS.CGAtORBw.mjs","names":["Component","SVG","Component","_Fragment"],"sources":["https:/framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/6DAlfznMzfm4bNXZ4cAd/ScrollToTopButton.js","https:/framerusercontent.com/modules/41u3AHE65BgliwAHv4it/xlWoziM6JkOUhps7TMOB/jKmMvbcnB.js","https:/framerusercontent.com/modules/zKUXvGxqmCPPnIdtzorA/d4CNpo5y2yqvRth2ZCh0/WithCSS.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 (5b26096)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{ScrollToTopButton}from\"https://framerusercontent.com/modules/f8wBTZ8mxclvbvykScIB/6DAlfznMzfm4bNXZ4cAd/ScrollToTopButton.js\";import SVG from\"https://framerusercontent.com/modules/I1DC9cTt2FcHsDUAaRxW/6iIIX4SzvuX6GX8XtSv5/SVG_Prod.js\";const SVGFonts=getFonts(SVG);const MotionDivScrollToTopButtonfni2o5=withCodeBoundaryForOverrides(motion.div,{nodeId:\"BMbVNtuLC\",override:ScrollToTopButton,scopeId:\"jKmMvbcnB\"});const cycleOrder=[\"BMbVNtuLC\",\"WV50XrTw5\"];const serializationHash=\"framer-uwFdK\";const variantClassNames={BMbVNtuLC:\"framer-v-fni2o5\",WV50XrTw5:\"framer-v-1wyk755\"};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 transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;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 humanReadableVariantMap={Hidden:\"WV50XrTw5\",Show:\"BMbVNtuLC\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"BMbVNtuLC\"};};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:\"BMbVNtuLC\",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(MotionDivScrollToTopButtonfni2o5,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-fni2o5\",className,classNames),\"data-framer-name\":\"Show\",layoutDependency:layoutDependency,layoutId:\"BMbVNtuLC\",ref:refBinding,style:{borderBottomLeftRadius:1e3,borderBottomRightRadius:1e3,borderTopLeftRadius:1e3,borderTopRightRadius:1e3,...style},...addPropertyOverrides({WV50XrTw5:{\"data-framer-name\":\"Hidden\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1u424rp\",\"data-framer-name\":\"Button\",layoutDependency:layoutDependency,layoutId:\"z3ljYNAiP\",style:{backgroundColor:\"var(--token-55d73c21-ccc9-41bd-839e-99695cecf70c, rgb(255, 255, 255))\",borderBottomLeftRadius:100,borderBottomRightRadius:100,borderTopLeftRadius:100,borderTopRightRadius:100},transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-zfiojp-container\",\"data-framer-name\":\"Arrow\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"E2orhB61y-container\",name:\"Arrow\",nodeId:\"E2orhB61y\",rendersWithMotion:true,scopeId:\"jKmMvbcnB\",style:{rotate:-90},children:/*#__PURE__*/_jsx(SVG,{customColor:\"var(--token-01d691df-aaf7-4dcd-bbac-1967c1eb478b, rgb(255, 226, 29))\",customPadding:4,customStrokeWidth:16,customSvgCode:'<svg width=\"159\" height=\"164\" viewBox=\"0 0 159 164\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M71.2186 157.106L146.281 82.0439L71.2186 6.98145\" stroke=\"black\" stroke-width=\"18\"/> <path d=\"M135.154 82.0766L0.922886 82.0766\" stroke=\"black\" stroke-width=\"18\"/> </svg>',description:\"\",height:\"100%\",id:\"E2orhB61y\",layoutId:\"E2orhB61y\",lineCap:\"butt\",lineJoin:\"miter\",name:\"Arrow\",style:{height:\"100%\",width:\"100%\"},title:\"\",width:\"100%\"})})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-uwFdK.framer-1yjwojv, .framer-uwFdK .framer-1yjwojv { display: block; }\",\".framer-uwFdK.framer-fni2o5 { height: 60px; overflow: hidden; position: relative; width: 60px; will-change: var(--framer-will-change-override, transform); }\",\".framer-uwFdK .framer-1u424rp { align-content: center; align-items: center; aspect-ratio: 1 / 1; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: var(--framer-aspect-ratio-supported, 60px); justify-content: center; left: 50%; overflow: visible; padding: 0px; position: absolute; top: 50%; width: 60px; }\",\".framer-uwFdK .framer-zfiojp-container { aspect-ratio: 16 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 39px); position: relative; width: 38px; z-index: 1; }\",\".framer-uwFdK.framer-v-1wyk755 .framer-1u424rp { top: 158%; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 60\n * @framerIntrinsicWidth 60\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"WV50XrTw5\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerjKmMvbcnB=withCSS(Component,css,\"framer-uwFdK\");export default FramerjKmMvbcnB;FramerjKmMvbcnB.displayName=\"Scroll-to-Top Button\";FramerjKmMvbcnB.defaultProps={height:60,width:60};addPropertyControls(FramerjKmMvbcnB,{variant:{options:[\"BMbVNtuLC\",\"WV50XrTw5\"],optionTitles:[\"Show\",\"Hidden\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerjKmMvbcnB,[{explicitInter:true,fonts:[]},...SVGFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerjKmMvbcnB\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"60\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"60\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"WV50XrTw5\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./jKmMvbcnB.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function withoutFramerBadge(Component){return props=>{return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                        #__framer-badge-container { display: none !important; }\n                    `}),/*#__PURE__*/_jsx(Component,{...props})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withoutFramerBadge\":{\"type\":\"reactHoc\",\"name\":\"withoutFramerBadge\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WithCSS.map"],"mappings":"swBAAoE,SAAS,EAAqB,CAAC,UAAQ,SAAO,CAAC,CAAC,GAAK,CAAC,EAAU,EAAW,CAAC,EAAM,UAAS,EAAK,CAA2C,MAA1C,GAAM,UAAU,IA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