{"version":3,"file":"ShortenedDate.CJTh0hO2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/zsFHabmc0hs1dj0S8fLq/EHdccG8gxx6rDNvuY4FI/TWJbNg9aw.js","https:/framerusercontent.com/modules/04ZNATRgxDyuo8ywq7Yd/s97sH6fLtmi0QLYORdSV/ShortenedDate.js"],"sourcesContent":["// Generated by Framer (6ca5d98)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask='url(\\'data:image/svg+xml,<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 7.41 1.41 L 6 0 L 0 6 L 6 12 L 7.41 10.59 L 2.83 6 Z\" fill=\"var(--esondr, rgb(0,0,0))\" height=\"12px\" id=\"lbfGqzDak\" transform=\"translate(8.295 6)\" width=\"7.40996px\"/></svg>\\') alpha no-repeat center / auto var(--framer-icon-mask-mode, add), var(--framer-icon-mask, none)';const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(motion.div,{...rest,layoutId:layoutId,ref:ref}):/*#__PURE__*/_jsx(\"div\",{...rest,ref:ref});});const getProps=({fill,height,id,width,...props})=>{return{...props,K5AAorpEW:fill??props.K5AAorpEW??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,K5AAorpEW,...restProps}=getProps(props);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-X46qV\",className),layoutId:layoutId,ref:ref,style:{\"--esondr\":K5AAorpEW,...style}});});const css=[`.framer-X46qV { -webkit-mask: ${mask}; aspect-ratio: 1; background-color: var(--esondr); mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"K5AAorpEW\":\"fill\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Chevron Left\",\"color\":{\"type\":\"variable\",\"value\":\"esondr\"},\"set\":{\"localId\":\"vectorSet/DnLsXE00W\",\"id\":\"DnLsXE00W\",\"moduleId\":\"JIScivAkNLgXrcOUxHXD\"}}\n * @framerDisableUnlink true\n */const Icon=withCSS(Component,css,\"framer-X46qV\");Icon.displayName=\"Chevron Left\";export default Icon;addPropertyControls(Icon,{K5AAorpEW:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Fill\",type:ControlType.Color}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerDisableUnlink\":\"true\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Chevron Left\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"esondr\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/DnLsXE00W\\\",\\\"id\\\":\\\"DnLsXE00W\\\",\\\"moduleId\\\":\\\"JIScivAkNLgXrcOUxHXD\\\"}}\",\"framerVariables\":\"{\\\"K5AAorpEW\\\":\\\"fill\\\"}\",\"framerIntrinsicWidth\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function CalendarText({Date:inputDate,format,fontSize,fontWeight,color,textAlign}){if(!inputDate)return null;const parsedDate=new Date(inputDate);const shortMonth=parsedDate.toLocaleString(\"en-US\",{month:\"short\"});const dayOfMonth=parsedDate.getDate().toString();let output=\"\";if(format===\"shortMonth\"){output=shortMonth;}else if(format===\"dayOfMonth\"){output=dayOfMonth;}else{output=`${shortMonth} ${dayOfMonth}`;}return /*#__PURE__*/_jsx(\"div\",{style:{fontSize:`${fontSize}px`,fontWeight,fontFamily:\"CircularXX TT Regular\",color,textAlign,width:\"100%\"},children:output});}addPropertyControls(CalendarText,{Date:{title:\"Date\",type:ControlType.String,defaultValue:\"\",placeholder:\"2025-04-23\"},format:{title:\"Format\",type:ControlType.Enum,options:[\"shortMonth\",\"dayOfMonth\",\"full\"],optionTitles:[\"Short Month\",\"Day of Month\",\"Full (Apr 23)\"],defaultValue:\"full\"},fontSize:{title:\"Font Size\",type:ControlType.Number,min:10,max:100,defaultValue:20},fontWeight:{title:\"Font Weight\",type:ControlType.Enum,options:[\"normal\",\"500\",\"bold\"],optionTitles:[\"Normal\",\"Medium\",\"Bold\"],defaultValue:\"500\"},color:{title:\"Text Color\",type:ControlType.Color,defaultValue:\"#000000\"},textAlign:{title:\"Align\",type:ControlType.Enum,options:[\"left\",\"center\",\"right\"],defaultValue:\"left\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"CalendarText\":{\"type\":\"reactComponent\",\"name\":\"CalendarText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShortenedDate.map"],"mappings":"0PAC2C,IAAsE,IAA4B,CAAoC,EAAK,mZAA2Z,EAAiB,GAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAG,GAAM,EAAM,OAAO,EAAsB,EAAK,EAAO,IAAI,CAAC,GAAG,EAAc,WAAa,MAAI,CAAC,CAAc,EAAK,MAAM,CAAC,GAAG,EAAS,MAAI,CAAC,EAAG,CAAO,GAAU,CAAC,OAAK,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAM,EAAM,WAAW,eAAe,EAUr5B,EAAK,EAVg7B,EAAiB,SAAS,EAAM,EAAI,CA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