{"version":3,"file":"ButtonBackToTop.DfVTaS6B.mjs","names":["useState","useMemo","useCallback"],"sources":["https:/framerusercontent.com/modules/Fg7G0BkphpAdQcmTKGtu/ESVSOuML8jBqYYMRSola/scrollFocusTarget.js","https:/framerusercontent.com/modules/zUkjkcwF0hyQLLaGEr0d/gtKash8Jxq59HH9Jsybv/atomAccessibility.js","https:/framerusercontent.com/modules/meKI3vstUJybDi3Ylp3D/5mqCNxtIGdxSePSP7bRV/atomAccessibilityStrings.js","https:/framerusercontent.com/modules/SpNLzs8SvqPF4kYo34UT/TDXKdevYTugWIhX13uQl/ButtonBackToTop.js"],"sourcesContent":["import{resolveSkipLinkTarget,SKIP_LINK_ATTRIBUTE}from\"https://framerusercontent.com/modules/kwelHgJ8IjFa4jlm1DA4/irweMcPlOzuVJeXl6UQo/skipLinkTarget.js\";export function focusWithoutScrolling(target){if(!target)return false;if(!target.isConnected)return false;if(target.tabIndex<0&&!target.hasAttribute(\"tabindex\"))target.setAttribute(\"tabindex\",\"-1\");target.focus({preventScroll:true});return true;}export function resolvePageTopFocusTarget(doc){const skipLink=doc.querySelector(`[${SKIP_LINK_ATTRIBUTE}='true']`);const skipHash=skipLink?.getAttribute(\"href\")?.replace(/^#/,\"\")??\"\";const skipTarget=skipHash?doc.getElementById(skipHash):null;if(skipTarget)return skipTarget;return resolveSkipLinkTarget(doc.querySelector(\"nav\"),doc);}function documentTop(element,scrollY){return element.getBoundingClientRect().top+scrollY;}export function resolveNextSectionFocusTarget(origin,doc,currentScrollY){const originSection=origin?.closest(\"section\")??null;const following=Array.from(doc.querySelectorAll(\"section\")).filter(section=>section.getAttribute(\"aria-hidden\")!==\"true\").filter(section=>!originSection||!(section.contains(originSection)||originSection.contains(section))).map(section=>({section,top:documentTop(section,currentScrollY)})).filter(({top})=>top>currentScrollY+1).sort((a,b)=>a.top-b.top);return following[0]?.section??null;}// recompile: cit3454-t2\n\nexport const __FramerMetadata__ = {\"exports\":{\"focusWithoutScrolling\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolvePageTopFocusTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resolveNextSectionFocusTarget\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./scrollFocusTarget.map","export const ATOM_ACCESSIBILITY_UI_STRING_TRANSLATIONS={bg:{shareLink:\"Споделяне на връзка\",shareViaEmail:\"Споделяне по имейл\",backToTop:\"Към началото\",scrollToNextSection:\"Превърти до следващата секция\",error:\"Грешка\",allSystemsOperational:\"Всички системи работят нормално\",serviceDegraded:\"Влошена услуга\",underMaintenance:\"В процес на поддръжка\",unknownStatus:\"Непознат статус\",statusLoadError:\"Статусът не можа да се зареди\",activeIncidents:\"Активни инциденти\"},de:{shareLink:\"Link teilen\",shareViaEmail:\"Per E-Mail teilen\",backToTop:\"Nach oben\",scrollToNextSection:\"Scrolle zum n\\xe4chsten Abschnitt\",error:\"Fehler\",allSystemsOperational:\"Alle Systeme funktionieren\",serviceDegraded:\"Eingeschr\\xe4nkter Service\",underMaintenance:\"Wartungsarbeiten\",unknownStatus:\"Unbekannter Status\",statusLoadError:\"Status konnte nicht geladen werden\",activeIncidents:\"Aktive Vorf\\xe4lle\"},de_AT:{scrollToNextSection:\"Zum n\\xe4chsten Abschnitt scrollen\",serviceDegraded:\"Dienst beeintr\\xe4chtigt\",unknownStatus:\"Status unbekannt\",activeIncidents:\"Aktive St\\xf6rungen\"},es:{shareLink:\"Compartir enlace\",shareViaEmail:\"Compartir por correo electr\\xf3nico\",backToTop:\"Volver arriba\",scrollToNextSection:\"Despl\\xe1zate hasta la siguiente secci\\xf3n\",error:\"Error\",allSystemsOperational:\"Todos los sistemas est\\xe1n operativos\",serviceDegraded:\"Servicio degradado\",underMaintenance:\"En mantenimiento\",unknownStatus:\"Estado desconocido\",statusLoadError:\"No se pudo cargar el estado\",activeIncidents:\"Incidentes activos\"},fr:{shareLink:\"Partager le lien\",shareViaEmail:\"Partager par e-mail\",backToTop:\"Retour en haut\",scrollToNextSection:\"Fais d\\xe9filer jusqu’\\xe0 la section suivante\",error:\"Erreur\",allSystemsOperational:\"Tous les syst\\xe8mes fonctionnent normalement\",serviceDegraded:\"Service perturb\\xe9\",underMaintenance:\"En maintenance\",unknownStatus:\"Statut inconnu\",statusLoadError:\"Impossible de charger le statut\",activeIncidents:\"Incidents en cours\"},fr_BE:{allSystemsOperational:\"Tous les syst\\xe8mes sont op\\xe9rationnels\"},fr_CA:{scrollToNextSection:\"Faire d\\xe9filer jusqu’\\xe0 la section suivante\",allSystemsOperational:\"Tous les syst\\xe8mes sont op\\xe9rationnels\"},id:{backToTop:\"Kembali ke atas\",serviceDegraded:\"Layanan menurun\",underMaintenance:\"Sedang dalam pemeliharaan\",unknownStatus:\"Status tidak diketahui\",statusLoadError:\"kesalahan memuat status\"},it:{shareLink:\"Condividi link\",shareViaEmail:\"Condividi via e-mail\",backToTop:\"Torna su\",scrollToNextSection:\"Scorri fino alla sezione successiva\",error:\"Errore\",allSystemsOperational:\"Tutti i sistemi sono operativi\",serviceDegraded:\"Servizio con problemi\",underMaintenance:\"In manutenzione\",unknownStatus:\"Stato sconosciuto\",statusLoadError:\"Impossibile caricare lo stato\",activeIncidents:\"Incidenti attivi\"},nl:{shareLink:\"Link delen\",shareViaEmail:\"Delen via e-mail\",backToTop:\"Terug naar boven\",scrollToNextSection:\"Scroll naar de volgende sectie\",error:\"Fout\",allSystemsOperational:\"Alle systemen zijn operationeel\",serviceDegraded:\"Dienst verstoord\",underMaintenance:\"In onderhoud\",unknownStatus:\"Onbekende status\",statusLoadError:\"Status kon niet worden geladen\",activeIncidents:\"Actieve incidenten\"},nl_BE:{allSystemsOperational:\"Alle systemen operationeel\"},pl:{shareLink:\"Udostępnij link\",shareViaEmail:\"Udostępnij e-mailem\",backToTop:\"Powr\\xf3t na g\\xf3rę\",scrollToNextSection:\"Przewiń do następnej sekcji\",error:\"Błąd\",allSystemsOperational:\"Wszystkie systemy działają prawidłowo\",serviceDegraded:\"Usługa działa z zakł\\xf3ceniami\",underMaintenance:\"W trakcie konserwacji\",unknownStatus:\"Nieznany status\",statusLoadError:\"Nie udało się wczytać statusu\",activeIncidents:\"Aktywne incydenty\"},pt_BR:{backToTop:\"Voltar ao topo\",serviceDegraded:\"Servi\\xe7o degradado\"},pt_PT:{shareLink:\"Partilhar link\",shareViaEmail:\"Partilhar por e-mail\",backToTop:\"Voltar ao topo\",scrollToNextSection:\"Rola at\\xe9 \\xe0 sec\\xe7\\xe3o seguinte\",error:\"Erro\",allSystemsOperational:\"Todos os sistemas operam normalmente\",serviceDegraded:\"Servi\\xe7o com falhas\",underMaintenance:\"Em manuten\\xe7\\xe3o\",unknownStatus:\"Estado desconhecido\",statusLoadError:\"N\\xe3o foi poss\\xedvel carregar o estado\",activeIncidents:\"Incidentes ativos\"},sk:{shareLink:\"Zdieľať odkaz\",shareViaEmail:\"Zdieľať e-mailom\",backToTop:\"Sp\\xe4ť nahor\",scrollToNextSection:\"Posuň sa na ďalšiu sekciu\",error:\"Chyba\",allSystemsOperational:\"Všetky syst\\xe9my funguj\\xfa\",serviceDegraded:\"Obmedzen\\xe1 služba\",underMaintenance:\"Prebieha \\xfadržba\",unknownStatus:\"Nezn\\xe1my stav\",statusLoadError:\"Stav sa nepodarilo nač\\xedtať\",activeIncidents:\"Akt\\xedvne incidenty\"},tr:{backToTop:\"Başa d\\xf6n\",scrollToNextSection:\"Sonraki b\\xf6l\\xfcme kaydır\",error:\"Hata\",allSystemsOperational:\"T\\xfcm sistemler sorunsuz \\xe7alışıyor\",serviceDegraded:\"Hizmet kısıtlı\",unknownStatus:\"Durum bilinmiyor\",activeIncidents:\"Aktif olaylar\"},uk:{backToTop:\"Назад нагору\",serviceDegraded:\"Робота сервісу погіршена\"}};// recompile: cit3454-t1\n\nexport const __FramerMetadata__ = {\"exports\":{\"ATOM_ACCESSIBILITY_UI_STRING_TRANSLATIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./atomAccessibility.map","import{createUiStringReader}from\"https://framerusercontent.com/modules/WZhJO7ZcFpJeqpa9lNKd/eVns6FJVOMvdsmleJrV9/uiStrings.js\";import{ATOM_ACCESSIBILITY_UI_STRING_TRANSLATIONS}from\"https://framerusercontent.com/modules/zUkjkcwF0hyQLLaGEr0d/gtKash8Jxq59HH9Jsybv/atomAccessibility.js\";export const ATOM_ACCESSIBILITY_UI_STRINGS={shareLink:\"Share link\",shareViaEmail:\"Share via email\",backToTop:\"Back to top\",scrollToNextSection:\"Scroll to next section\",error:\"Error\",allSystemsOperational:\"All systems operational\",serviceDegraded:\"Service degraded\",underMaintenance:\"Under maintenance\",unknownStatus:\"Unknown status\",statusLoadError:\"Error loading status\",activeIncidents:\"Active incidents\"};export function getAtomAccessibilityStrings(language){const t=createUiStringReader(ATOM_ACCESSIBILITY_UI_STRINGS,ATOM_ACCESSIBILITY_UI_STRING_TRANSLATIONS,language);return{shareLink:t(\"shareLink\"),shareViaEmail:t(\"shareViaEmail\"),backToTop:t(\"backToTop\"),scrollToNextSection:t(\"scrollToNextSection\"),error:t(\"error\"),allSystemsOperational:t(\"allSystemsOperational\"),serviceDegraded:t(\"serviceDegraded\"),underMaintenance:t(\"underMaintenance\"),unknownStatus:t(\"unknownStatus\"),statusLoadError:t(\"statusLoadError\"),activeIncidents:t(\"activeIncidents\")};}// recompile: cit3454-t2\n\nexport const __FramerMetadata__ = {\"exports\":{\"getAtomAccessibilityStrings\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ATOM_ACCESSIBILITY_UI_STRINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AtomAccessibilityStrings\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./atomAccessibilityStrings.map","/**\n * @framerIntrinsicWidth 48\n * @framerIntrinsicHeight 48\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef,useCallback,useEffect,useMemo,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useReducedMotion,getTransition,getSpacing,getZIndex,getRadius}from\"https://framerusercontent.com/modules/zb8SeFEAitsE3Aq1tolb/agftrhA6LwdkI7PWvLJd/colors.js\";import{getButtonBackgroundColor,getButtonIconColor,getGhostGlassButtonBackground}from\"https://framerusercontent.com/modules/jziVWOV3BxFa7do866W6/A3ev1C8c1GfT9T8SteW4/buttonStyles.js\";import{getLiquidGlassFinish,liquidGlassLegacyHighlightToVariant}from\"https://framerusercontent.com/modules/OKFpRwNE6X8LgIEKbuJB/1s2LcvxUvZgqPawlfMXL/colorEffects.js\";import{getIcon}from\"https://framerusercontent.com/modules/fKzjax3Wmna7aU3KCPZx/TDZIUOBtuS7NWXH47qjb/icons.js\";import{iconPixelSizeForSquareSide}from\"https://framerusercontent.com/modules/LORybSIZ01GuqYosrm04/DjDCuVCr4pVjhZtICnRS/svg.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/ybGk5zeqg5sx0cATodEy/pRJqwe7pBcZbd8V4op9q/useInteractiveStates.js\";import{resolveBrand}from\"https://framerusercontent.com/modules/7NSJeaeou9P0OpUE6qK4/Wf16gbv7zRUUjFB2E7J7/themeHelpers.js\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/fqabD3J3lU6VFoyJTkl9/XuSutgRb2fscK8LXIPHb/breakpointControl.js\";import{brandPropertyControl,themePropertyControls}from\"https://framerusercontent.com/modules/WlMkRQB3V7rn8cIYN98V/vB1ucmyiUTccgkdUzzQJ/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/5WgsjBO1A8BiShdO0B9C/r0GYDtytq52p0xC4TfQT/themeControl.js\";import{FRAMER_THEME_DESCRIPTION_SURFACE}from\"https://framerusercontent.com/modules/vkQqDtKpdgUyOodxbyn3/QbeDbzhxh6tG2UebUJz9/propertyControlCopy.js\";import{focusWithoutScrolling,resolvePageTopFocusTarget}from\"https://framerusercontent.com/modules/Fg7G0BkphpAdQcmTKGtu/ESVSOuML8jBqYYMRSola/scrollFocusTarget.js\";import{getAtomAccessibilityStrings}from\"https://framerusercontent.com/modules/meKI3vstUJybDi3Ylp3D/5mqCNxtIGdxSePSP7bRV/atomAccessibilityStrings.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/Il9S7L5tK4Q8KD6plHxA/42IdG47alz16e9vriIIY/usePageLanguage.js\";const LEGACY_DEFAULT_ARIA_LABEL=\"Back to top\";function getButtonDimension(size,breakpoint){if(size===\"large\"){return breakpoint===\"phone\"?48:56;}else if(size===\"medium\"){return 48;}return 44;}const ButtonBackToTopInternal=/*#__PURE__*/forwardRef(function ButtonBackToTopInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint=\"desktop\",brand,variant=\"glass\",size=\"medium\",placement=\"fixed\",corner=\"bottomRight\",offset=24,disabled=false,showAfterScroll=false,scrollThreshold=400,onClick,ariaLabel=\"\",id,style}=props;const pageLanguage=usePageLanguage();const trimmedAriaLabel=typeof ariaLabel===\"string\"?ariaLabel.trim():\"\";const resolvedAriaLabel=trimmedAriaLabel&&trimmedAriaLabel!==LEGACY_DEFAULT_ARIA_LABEL?trimmedAriaLabel:getAtomAccessibilityStrings(pageLanguage).backToTop;const reducedMotion=useReducedMotion();const isStaticRenderer=useIsStaticRenderer();const resolvedBrand=resolveBrand(brand);const[isPastThreshold,setIsPastThreshold]=useState(!showAfterScroll);const{styles:interactiveStyles,handlers:interactiveHandlers}=useInteractiveStates(disabled,{transitions:true,pressScale:false,brand:resolvedBrand,theme});const{transition:interactiveTransition,...interactiveStylesRest}=interactiveStyles;const mergedTransition=!reducedMotion&&interactiveTransition?`${getTransition(\"opacity\",\"quick\")}, ${interactiveTransition}`:interactiveTransition;useEffect(()=>{if(!showAfterScroll){setIsPastThreshold(true);return undefined;}if(typeof window===\"undefined\"){setIsPastThreshold(true);return undefined;}const handleScroll=()=>{setIsPastThreshold(window.scrollY>=scrollThreshold);};handleScroll();window.addEventListener(\"scroll\",handleScroll,{passive:true});return()=>{window.removeEventListener(\"scroll\",handleScroll);};},[showAfterScroll,scrollThreshold]);const buttonDimension=getButtonDimension(size,breakpoint);const iconSize=iconPixelSizeForSquareSide(buttonDimension);const surface=useMemo(()=>{if(variant===\"ghost\"){const baseFill=getButtonBackgroundColor(\"ghost\",theme,disabled);const background=theme===\"default\"?getGhostGlassButtonBackground(baseFill):baseFill;return{background,iconColor:getButtonIconColor(\"ghost\",theme,disabled),liquidGlassFinish:null};}const triggerVariant=theme===\"inverted\"?\"solid\":\"ghost\";const resolvedHighlightSheen=theme===\"inverted\"?\"dark\":\"light\";const neutralVariant=liquidGlassLegacyHighlightToVariant(resolvedHighlightSheen);const solidBackground=getButtonBackgroundColor(triggerVariant,theme,disabled);return{background:solidBackground,iconColor:getButtonIconColor(triggerVariant,theme,disabled),liquidGlassFinish:getLiquidGlassFinish({variant:neutralVariant,surface:\"button\",selected:false,brand:resolvedBrand,solidFill:solidBackground})};},[disabled,theme,variant,resolvedBrand]);const iconSvg=useMemo(()=>getIcon(\"arrow-narrow-up\",iconSize,surface.iconColor,{opticalInset:0}),[iconSize,surface.iconColor]);const buttonDimensionStyle=getSpacing(buttonDimension);const viewportPlacementStyles=useMemo(()=>{if(placement===\"inline\"){return{position:\"relative\",flexShrink:0};}const sideOffset=getSpacing(offset);const bottomOffset=breakpoint===\"phone\"?getSpacing(80):getSpacing(offset);return{position:\"fixed\",bottom:bottomOffset,...corner===\"bottomRight\"?{right:sideOffset}:{left:sideOffset},zIndex:getZIndex(\"floating\")};},[breakpoint,corner,offset,placement]);const handleClick=useCallback(event=>{if(disabled){event.preventDefault();}else{onClick?.(event);if(!event.defaultPrevented){if(typeof window!==\"undefined\"){window.scrollTo({top:0,behavior:reducedMotion?\"auto\":\"smooth\"});focusWithoutScrolling(resolvePageTopFocusTarget(document));}}}},[disabled,onClick,reducedMotion]);const isViewportFixed=placement===\"fixed\"&&!isStaticRenderer;const wrapperStyle=isViewportFixed?{flexShrink:0,...style,position:\"relative\",width:0,height:0,overflow:\"visible\",pointerEvents:\"none\"}:{width:buttonDimensionStyle,height:buttonDimensionStyle,flexShrink:0,...style,position:\"relative\",pointerEvents:placement===\"fixed\"?\"none\":undefined};return /*#__PURE__*/_jsx(\"div\",{style:wrapperStyle,children:/*#__PURE__*/_jsx(\"button\",{ref:ref,type:\"button\",id:id,disabled:disabled,\"aria-disabled\":disabled,\"aria-hidden\":!isPastThreshold,\"aria-label\":resolvedAriaLabel,tabIndex:isPastThreshold&&!disabled?0:-1,onClick:handleClick,onMouseEnter:interactiveHandlers.onMouseEnter,onMouseLeave:interactiveHandlers.onMouseLeave,onMouseDown:interactiveHandlers.onMouseDown,onMouseUp:interactiveHandlers.onMouseUp,onFocus:interactiveHandlers.onFocus,onBlur:interactiveHandlers.onBlur,style:{...viewportPlacementStyles,width:placement===\"inline\"?\"100%\":buttonDimensionStyle,height:placement===\"inline\"?\"100%\":buttonDimensionStyle,display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",padding:0,border:\"none\",borderRadius:getRadius(\"radius-full\"),color:surface.iconColor,background:surface.background,...surface.liquidGlassFinish??{},opacity:isPastThreshold?1:0,pointerEvents:isPastThreshold&&!disabled?\"auto\":\"none\",transformOrigin:\"center\",...interactiveStylesRest,...mergedTransition?{transition:mergedTransition}:{}},dangerouslySetInnerHTML:{__html:iconSvg}})});});export default function ButtonBackToTop(props){const{ref,...rest}=props;return /*#__PURE__*/_jsx(ButtonBackToTopInternal,{...rest,ref:ref});}ButtonBackToTop.displayName=\"Button Back To Top - Atom\";addPropertyControls(ButtonBackToTop,{variant:{type:ControlType.Enum,title:\"Variant\",description:\"Glass uses liquid-glass chrome. Ghost matches the lightweight Button ghost surface.\",options:[\"glass\",\"ghost\"],optionTitles:[\"Glass\",\"Ghost\"],displaySegmentedControl:true,defaultValue:\"glass\"},size:{type:ControlType.Enum,title:\"Size\",description:\"Choose the circular hit area size. Small remains touch-friendly on phone.\",options:[\"large\",\"medium\",\"small\"],optionTitles:[\"Large\",\"Medium\",\"Small\"],displaySegmentedControl:true,defaultValue:\"medium\"},placement:{type:ControlType.Enum,title:\"Placement\",description:\"Fixed pins the button to the viewport. Inline lets a parent component handle placement.\",options:[\"fixed\",\"inline\"],optionTitles:[\"Fixed\",\"Inline\"],displaySegmentedControl:true,defaultValue:\"fixed\"},corner:{type:ControlType.Enum,title:\"Corner\",description:\"Viewport corner used when Placement is Fixed.\",options:[\"bottomRight\",\"bottomLeft\"],optionTitles:[\"Bottom Right\",\"Bottom Left\"],displaySegmentedControl:true,defaultValue:\"bottomRight\",hidden:({placement})=>placement===\"inline\"},offset:{type:ControlType.Enum,title:\"Offset\",description:\"Distance from the viewport edges when Placement is Fixed.\",options:[16,24,32,40,48],optionTitles:[\"16 px\",\"24 px\",\"32 px\",\"40 px\",\"48 px\"],displaySegmentedControl:false,defaultValue:24,hidden:({placement})=>placement===\"inline\"},disabled:{type:ControlType.Boolean,title:\"Disabled\",description:\"Disables the control and prevents the default scroll-to-top action.\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false},showAfterScroll:{type:ControlType.Boolean,title:\"Show After Scroll\",description:\"Fade the button in only after the page has been scrolled past the threshold.\",enabledTitle:\"After Scroll\",disabledTitle:\"Always\",defaultValue:false},scrollThreshold:{type:ControlType.Number,title:\"Scroll Threshold\",description:\"Scroll distance in pixels before the button appears.\",min:0,max:2e3,step:50,defaultValue:400,hidden:({showAfterScroll})=>showAfterScroll!==true},onClick:{type:ControlType.EventHandler,title:\"On Click\",description:\"Runs before the default scroll-to-top behavior. Prevent default in custom code to replace the built-in scroll.\"},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",description:\"Accessible name for this icon-only button. Leave empty to use Back to top in the page language.\",defaultValue:\"\",placeholder:\"e.g. Back to top\"},id:{type:ControlType.String,title:\"ID\",description:\"Set a unique id for analytics or custom page interactions.\",defaultValue:\"button-back-to-top\",placeholder:\"e.g. back-to-top\",preventLocalization:true},...breakpointPropertyControl(\"Pick the breakpoint that matches Framer's preview so size and edge offset align with the page layout.\"),...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE),...brandPropertyControl()});\nexport const __FramerMetadata__ = {\"exports\":{\"ButtonBackToTopProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ButtonBackToTop\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"gnBAAyJ,SAAgB,EAAsB,EAAO,CAA4L,MAAxL,CAAC,GAAuB,CAAC,EAAO,YAAmB,IAAS,EAAO,SAAS,GAAG,CAAC,EAAO,aAAa,UAAU,GAAE,EAAO,aAAa,WAAW,IAAI,EAAE,EAAO,MAAM,CAAC,cAAc,EAAI,CAAC,EAAS,GAAK,CAAC,SAAgB,EAA0B,EAAI,CAAqE,IAAM,EAA3D,EAAI,cAAc,yBAAyD,CAAC,EAAE,aAAa,MAAM,CAAC,EAAE,QAAQ,KAAK,EAAE,GAAG,GAA+F,OAA3E,EAAS,EAAI,eAAe,CAAQ,EAAE,OAA4C,EAAsB,EAAI,cAAc,KAAK,EAAE,CAAG,CAAE,iBAArkB,iBCA3I,EAA0C,CAAC,GAAG,CAAC,UAAU,sBAAsB,cAAc,qBAAqB,UAAU,eAAe,oBAAoB,gCAAgC,MAAM,SAAS,sBAAsB,kCAAkC,gBAAgB,iBAAiB,iBAAiB,wBAAwB,cAAc,kBAAkB,gBAAgB,gCAAgC,gBAAgB,mBAAmB,EAAE,GAAG,CAAC,UAAU,cAAc,cAAc,oBAAoB,UAAU,YAAY,oBAAoB,iCAAoC,MAAM,SAAS,sBAAs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