{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/s8W7uGLiOtHUHJu8xYYE/6JIM1wEdWHZf0af2OFxP/Copyright.js"],
  "sourcesContent": ["/**\n * --------------------------------------------------------------------\n * Copyright\n * --------------------------------------------------------------------\n * Distributed under the VIAL License:\n * https://www.abruptive.com/policies/vial\n *\n * Unauthorized access or use of this code will result in prosecution\n * according to the furthest extent of the law.\n *\n * \u00A9 Abruptive LLC \u00B7 All Rights Reserved\n * --------------------------------------------------------------------\n */import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * --------------------------------------------------------------------\n * Component\n * --------------------------------------------------------------------\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth 100%\n * @framerSupportedLayoutHeight 100%\n */export default function Copyright(props){const{companyName,rightsText,showSymbol,showTrademark,trademarkType,yearPlacement,font,color,fontSize}=props;const currentYear=new Date().getFullYear();const symbol=showSymbol===\"yes\"?\"\\xa9\":\"\";const trademarkOptionActive=showTrademark===\"yes\";const trademarkSymbol=trademarkOptionActive?trademarkType===\"trademark\"?\"\u2122\":\"\\xae\":\"\";let finalCompanyName=companyName.trim();let finalRightsText=rightsText.trim();let dotAfterCompanyName=\"\";if(yearPlacement===\"beforeCompanyName\"){finalCompanyName=`${currentYear} ${finalCompanyName}`;}else if(yearPlacement===\"afterCompanyName\"&&finalCompanyName){finalCompanyName+=` ${currentYear}`;}else if(yearPlacement===\"beforeRightsText\"&&finalRightsText){finalRightsText=`${currentYear}. ${finalRightsText}`;}else if(yearPlacement===\"afterRightsText\"&&finalRightsText){finalRightsText+=` ${currentYear}`;dotAfterCompanyName=!trademarkOptionActive&&finalCompanyName&&finalRightsText?\".\":\"\";}else if(!finalCompanyName&&!finalRightsText){finalCompanyName=`${currentYear}`;}finalCompanyName+=trademarkSymbol?`${trademarkSymbol}`:\"\";let displayText=symbol?`${symbol} `:\"\";displayText+=finalCompanyName?`${finalCompanyName}${dotAfterCompanyName}`:\"\";if(finalCompanyName&&finalRightsText)displayText+=\" \";displayText+=finalRightsText;const textStyle={fontSize:`${fontSize}px`,color:color,...font};return /*#__PURE__*/_jsx(\"div\",{style:textStyle,children:displayText.trim()});}/**\n * --------------------------------------------------------------------\n * Defaults\n * --------------------------------------------------------------------\n */Copyright.defaultProps={companyName:\"Company Name\",rightsText:\"All rights reserved\",showSymbol:\"yes\",showTrademark:\"no\",trademarkType:\"trademark\",yearPlacement:\"afterRightsText\",color:\"#999999\",fontSize:18,font:{family:\"Inter\"}};/**\n * --------------------------------------------------------------------\n * Display\n * --------------------------------------------------------------------\n */Copyright.displayName=\"Copyright\";/**\n * --------------------------------------------------------------------\n * Controls\n * --------------------------------------------------------------------\n */addPropertyControls(Copyright,{font:{// @ts-ignore\ntype:ControlType.Font,title:\"Font\",defaultValue:\"Inter\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Font Color\",defaultValue:\"#999999\"},companyName:{type:ControlType.String,title:\"Company Name\",defaultValue:\"Company Name\"},rightsText:{type:ControlType.String,title:\"Rights Text\",defaultValue:\"All rights reserved\"},showSymbol:{type:ControlType.SegmentedEnum,title:\"Symbol\",options:[\"yes\",\"no\"],optionTitles:[\"Yes\",\"No\"],defaultValue:\"yes\"},showTrademark:{type:ControlType.SegmentedEnum,title:\"Trademark\",options:[\"yes\",\"no\"],optionTitles:[\"Yes\",\"No\"],defaultValue:\"no\"},trademarkType:{type:ControlType.Enum,options:[\"trademark\",\"registered\"],optionTitles:[\"Trademark\",\"Registered\"],defaultValue:\"trademark\",hidden:({showTrademark})=>showTrademark!==\"yes\"},yearPlacement:{type:ControlType.Enum,options:[\"beforeCompanyName\",\"afterCompanyName\",\"beforeRightsText\",\"afterRightsText\"],optionTitles:[\"Before Company\",\"After Company\",\"Before Rights\",\"After Rights\"],defaultValue:\"afterRightsText\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Copyright\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"100%\",\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth 100%\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Copyright.map"],
  "mappings": "yFAmBkB,SAARA,EAA2BC,EAAM,CAAC,GAAK,CAAC,YAAAC,EAAY,WAAAC,EAAW,WAAAC,EAAW,cAAAC,EAAc,cAAAC,EAAc,cAAAC,EAAc,KAAAC,EAAK,MAAAC,EAAM,SAAAC,CAAQ,EAAET,EAAYU,EAAY,IAAI,KAAK,EAAE,YAAY,EAAQC,EAAOR,IAAa,MAAM,OAAO,GAASS,EAAsBR,IAAgB,MAAYS,EAAgBD,EAAsBP,IAAgB,YAAY,SAAI,OAAO,GAAOS,EAAiBb,EAAY,KAAK,EAAMc,EAAgBb,EAAW,KAAK,EAAMc,EAAoB,GAAMV,IAAgB,oBAAqBQ,EAAiB,GAAGJ,CAAW,IAAII,CAAgB,GAAYR,IAAgB,oBAAoBQ,EAAkBA,GAAkB,IAAIJ,CAAW,GAAYJ,IAAgB,oBAAoBS,EAAiBA,EAAgB,GAAGL,CAAW,KAAKK,CAAe,GAAYT,IAAgB,mBAAmBS,GAAiBA,GAAiB,IAAIL,CAAW,GAAGM,EAAoB,CAACJ,GAAuBE,GAAkBC,EAAgB,IAAI,IAAY,CAACD,GAAkB,CAACC,IAAiBD,EAAiB,GAAGJ,CAAW,IAAII,GAAkBD,EAAgB,GAAGA,CAAe,GAAG,GAAG,IAAII,EAAYN,EAAO,GAAGA,CAAM,IAAI,GAAGM,GAAaH,EAAiB,GAAGA,CAAgB,GAAGE,CAAmB,GAAG,GAAMF,GAAkBC,IAAgBE,GAAa,KAAIA,GAAaF,EAAgB,IAAMG,EAAU,CAAC,SAAS,GAAGT,CAAQ,KAAK,MAAMD,EAAM,GAAGD,CAAI,EAAE,OAAoBY,EAAK,MAAM,CAAC,MAAMD,EAAU,SAASD,EAAY,KAAK,CAAC,CAAC,CAAE,CAIp6ClB,EAAU,aAAa,CAAC,YAAY,eAAe,WAAW,sBAAsB,WAAW,MAAM,cAAc,KAAK,cAAc,YAAY,cAAc,kBAAkB,MAAM,UAAU,SAAS,GAAG,KAAK,CAAC,OAAO,OAAO,CAAC,EAInOA,EAAU,YAAY,YAItBqB,EAAoBrB,EAAU,CAAC,KAAK,CACvC,KAAKsB,EAAY,KAAK,MAAM,OAAO,aAAa,QAAQ,SAAS,UAAU,EAAE,MAAM,CAAC,KAAKA,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,aAAa,cAAc,EAAE,WAAW,CAAC,KAAKA,EAAY,OAAO,MAAM,cAAc,aAAa,qBAAqB,EAAE,WAAW,CAAC,KAAKA,EAAY,cAAc,MAAM,SAAS,QAAQ,CAAC,MAAM,IAAI,EAAE,aAAa,CAAC,MAAM,IAAI,EAAE,aAAa,KAAK,EAAE,cAAc,CAAC,KAAKA,EAAY,cAAc,MAAM,YAAY,QAAQ,CAAC,MAAM,IAAI,EAAE,aAAa,CAAC,MAAM,IAAI,EAAE,aAAa,IAAI,EAAE,cAAc,CAAC,KAAKA,EAAY,KAAK,QAAQ,CAAC,YAAY,YAAY,EAAE,aAAa,CAAC,YAAY,YAAY,EAAE,aAAa,YAAY,OAAO,CAAC,CAAC,cAAAjB,CAAa,IAAIA,IAAgB,KAAK,EAAE,cAAc,CAAC,KAAKiB,EAAY,KAAK,QAAQ,CAAC,oBAAoB,mBAAmB,mBAAmB,iBAAiB,EAAE,aAAa,CAAC,iBAAiB,gBAAgB,gBAAgB,cAAc,EAAE,aAAa,kBAAkB,wBAAwB,GAAK,0BAA0B,UAAU,CAAC,CAAC",
  "names": ["Copyright", "props", "companyName", "rightsText", "showSymbol", "showTrademark", "trademarkType", "yearPlacement", "font", "color", "fontSize", "currentYear", "symbol", "trademarkOptionActive", "trademarkSymbol", "finalCompanyName", "finalRightsText", "dotAfterCompanyName", "displayText", "textStyle", "p", "addPropertyControls", "ControlType"]
}
