{"version":3,"file":"TESTOVERRIDE.C3jaORaj.mjs","names":["useState","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/Q8sxmTkcG0TlWSYtaQCy/kuBVWw6wxOXdIUg8nFux/SmartCopyright.js","https:/framerusercontent.com/modules/zVunGm23NOP9seTibB4S/HV7jKC9HCd2CkBS4an3q/TESTOVERRIDE.js"],"sourcesContent":["// Autocopyright text layer with automatic year and editable name/company\nimport{jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Autocopyright\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */export default function CopyrightText(props){const{name,prefix,suffix,color,font,style,showIcon,showName}=props;const year=typeof window!==\"undefined\"?new Date().getFullYear():2024;return /*#__PURE__*/_jsxs(\"span\",{style:{color,...font,...style,width:\"max-content\",minWidth:\"max-content\",display:\"inline-block\"},\"aria-label\":`Copyright ${year} ${name}`,children:[prefix,prefix&&\" \",showIcon&&\"\\xa9\",\" \",year,\" \",showName&&name,suffix&&\" \",suffix]});}addPropertyControls(CopyrightText,{name:{type:ControlType.String,title:\"Name\",defaultValue:\"ACME\",placeholder:\"Company or Name\"},showIcon:{type:ControlType.Boolean,title:\"Show \\xa9\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showName:{type:ControlType.Boolean,title:\"Show Name\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\",placeholder:\"Prefix (optional)\"},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\",placeholder:\"Suffix (optional)\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CopyrightText\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SmartCopyright.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useViewportScroll}from\"framer\";import{useEffect,useState}from\"react\";export function ShowAtBottom(){const[isVisible,setIsVisible]=useState(false);const[isReady,setIsReady]=useState(false)// Nouveau état\n;const{scrollY}=useViewportScroll();useEffect(()=>{// Marque comme prêt après le premier render\nsetIsReady(true);const updateVisibility=()=>{const windowHeight=window.innerHeight;const documentHeight=document.documentElement.scrollHeight;const scrollPosition=window.scrollY;const distanceFromBottom=documentHeight-(scrollPosition+windowHeight);setIsVisible(distanceFromBottom<200);};const unsubscribe=scrollY.onChange(updateVisibility);updateVisibility();return()=>unsubscribe();},[scrollY]);return{opacity:isVisible?1:0,pointerEvents:isVisible?\"auto\":\"none\",display:isReady?\"block\":\"none\",animate:{opacity:isVisible?1:0},transition:{duration:.3}};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withShowAtBottom(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...ShowAtBottom(props)});};}withShowAtBottom.displayName=\"ShowAtBottom\";\nexport const __FramerMetadata__ = {\"exports\":{\"withShowAtBottom\":{\"type\":\"reactHoc\",\"name\":\"withShowAtBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ShowAtBottom\":{\"type\":\"override\",\"name\":\"ShowAtBottom\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TESTOVERRIDE.map"],"mappings":"8PAOG,SAAwB,EA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