{"version":3,"file":"AutoCopyright_Prod.BAxS2kDO.mjs","names":[],"sources":["https:/framerusercontent.com/modules/DVYtI0I60utFDv4RKjrL/CapkkksUWdCkXmLmQWbV/AutoCopyright_Prod.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const currentYear=new Date().getFullYear();/**\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any-prefer-auto\n * @framerSupportedLayoutHeight any-prefer-auto\n */export default function AutoCopyright(props){const{name,statement,dateRange,startYear,font,color,fontSize}=props;const yearDisplay=dateRange?`${startYear}-${currentYear}`:currentYear;let displayText=`\\xa9 ${yearDisplay} ${name.trim()}`;if(statement.trim()){displayText+=` ${statement.trim()}`;}const textStyle={fontSize:`${fontSize}px`,color:color,...font};return /*#__PURE__*/_jsx(\"div\",{style:textStyle,children:displayText});}AutoCopyright.defaultProps={name:\"Your Name\",statement:\"All rights reserved.\",dateRange:false,startYear:currentYear-1,color:\"#999999\",fontSize:14,font:{family:\"Inter\"}};AutoCopyright.displayName=\"Auto Copyright\";addPropertyControls(AutoCopyright,{font:{type:ControlType.Font,title:\"Font\",defaultValue:\"Inter\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#999999\"},dateRange:{type:ControlType.Boolean,title:\"Date Range\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"},startYear:{type:ControlType.Number,title:\"Start Year\",min:1e3,max:currentYear,defaultValue:currentYear-2,displayStepper:true,hidden:({dateRange})=>!dateRange},name:{type:ControlType.String,title:\"Name\",defaultValue:\"Your Name\"},statement:{type:ControlType.String,title:\"Statement\",defaultValue:\"All rights reserved.\",description:\"More components at [Framer University](https://frameruni.link/cc).\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AutoCopyright\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-auto\",\"framerSupportedLayoutWidth\":\"any-prefer-auto\",\"framerDisableUnlink\":\"*\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AutoCopyright_Prod.map"],"mappings":"4JAKG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,OAAK,YAAU,YAAU,YAAU,OAAK,QAAM,YAAU,EAAgF,EAAY,QAApE,EAAU,GAAG,EAAU,GAAG,IAAc,EAAgD,GAAG,EAAK,KAAK,IAA6H,OAAtH,EAAU,KAAK,IAAG,GAAa,IAAI,EAAU,KAAK,KAAwF,EAAK,MAAM,CAAC,MAAM,CAApF,SAAS,GAAG,EAAS,IAAU,QAAM,GAAG,CAAoD,EAAE,SAAS,CAAW,CAAC,CAAE,mBALrY,IAAoD,EAAO,EAAY,IAAI,KAAK,CAAA,CAAE,YAAY,EAKwS,EAAc,aAAa,CAAC,KAAK,YAAY,UAAU,uBAAuB,UAAU,GAAM,UAAU,EAAY,EAAE,MAAM,UAAU,SAAS,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,EAAE,EAAc,YAAY,iBAAiB,EAAoB,EAAc,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,QAAQ,SAAS,UAAU,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,UAAU,CAAC,KAAK,EAAY,QAAQ,MAAM,aAAa,aAAa,GAAM,aAAa,MAAM,cAAc,IAAI,EAAE,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,IAAI,IAAI,IAAI,EAAY,aAAa,EAAY,EAAE,eAAe,GAAK,QAAQ,CAAC,eAAa,CAAC,CAAS,EAAE,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,WAAW,EAAE,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,uBAAuB,YAAY,oEAAoE,CAAC,CAAC"}