{"version":3,"file":"shared-lib.ojD4PXEd.mjs","names":["useState","useCallback","fonts","css","className"],"sources":["https:/framerusercontent.com/modules/HYcHVPAbe8jLEeU7c4mp/TcQV6SEsl3y6G9Op8tp0/Time.js","https:/framerusercontent.com/modules/hkuTq7BnhCsrkHCwxHhc/XDGC21sSq8xnLMWW7TaD/AOGkWNGXI.js","https:/framerusercontent.com/modules/wpzV7HAc18HL9p8yHeZV/uN6Hi1KSCOhbeYaTK1GF/OZ1oy5vLK.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,useLocaleCode}from\"framer\";import{useState,useEffect,useCallback}from\"react\";const fontStack=`\"Inter\", system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"`;function useForceRender(){const[_,set]=useState(0);return useCallback(()=>set(v=>v+1),[]);}function formatTimeOrDate(outputType,{showYear,showMonth,showWeekday,showMinutes,showSeconds},timeFormat,monthFormat,localCode){const date=new Date;const onlyYearIsShown=!showWeekday&&!showMonth&&showYear;switch(outputType){case\"date\":return new Intl.DateTimeFormat(localCode,{weekday:showWeekday?\"long\":undefined,day:onlyYearIsShown?undefined:\"numeric\",month:showMonth?monthFormat:undefined,year:showYear?\"numeric\":undefined}).format(date);case\"time\":return new Intl.DateTimeFormat(localCode,{hour:\"numeric\",minute:showMinutes?\"numeric\":undefined,second:showSeconds&&showMinutes?\"numeric\":undefined,hour12:timeFormat===\"12h\"}).format(date);default:return new Intl.DateTimeFormat(localCode).format(date);}}/**\n * TIME AND DATE\n * FORKED FROM PROTOTYPING\n *\n *\n * @framerIntrinsicWidth 140\n * @framerIntrinsicHeight 20\n *\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */export function Time(props){const{outputType,fontFamily,fontSize,fontWeight,timeFormat,showYear,showMonth,showWeekday,showHours,showMinutes,showSeconds,monthFormat,color,font,tabularFont,alignment}=props;const[visible,setIsVisible]=useState(false);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const render=useForceRender();const localCode=useLocaleCode();const textContent=formatTimeOrDate(outputType,{showYear,showMonth,showWeekday,showHours,showMinutes,showSeconds},timeFormat,monthFormat,localCode);useEffect(()=>{setIsVisible(true);// Don’t want real time on Canvas\nif(isCanvas)return;const int=setInterval(()=>{render();});return()=>{clearInterval(int);};},[]);return /*#__PURE__*/_jsx(\"p\",{suppressHydrationWarning:true,style:{margin:0,padding:0,color,fontFamily:fontStack,fontWeight:500,fontSize:16,lineHeight:1,visibility:visible?\"visible\":\"hidden\",...font,fontVariantNumeric:tabularFont?\"tabular-nums\":\"normal\",whiteSpace:\"nowrap\"},children:textContent});}Time.defaultProps={height:20,width:140,outputType:\"time\",color:\"#999\",timeFormat:\"24h\",showYear:true,showMonth:true,showWeekday:true,showMinutes:true,showSeconds:true,monthFormat:\"long\",alignment:\"center\"};Time.displayName=\"Time & Date\";addPropertyControls(Time,{outputType:{title:\"Type\",type:ControlType.Enum,displaySegmentedControl:true,options:[\"date\",\"time\"],optionTitles:[\"Date\",\"Time\"],defaultValue:Time.defaultProps.outputType},showWeekday:{title:\"Day\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:Time.defaultProps.showWeekday,hidden:props=>props.outputType!==\"date\"},showMonth:{title:\"Month\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:Time.defaultProps.showMonth,hidden:props=>props.outputType!==\"date\"},monthFormat:{title:\"Format\",type:ControlType.Enum,options:[\"short\",\"long\",\"numeric\"],optionTitles:[\"Short\",\"Long\",\"Numeric\"],defaultValue:Time.defaultProps.monthFormat,hidden:props=>props.outputType!==\"date\"||!props.showMonth},showYear:{title:\"Year\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:Time.defaultProps.showYear,hidden:props=>props.outputType!==\"date\"},timeFormat:{title:\"Format\",type:ControlType.Enum,options:[\"12h\",\"24h\"],optionTitles:[\"12h\",\"24h\"],displaySegmentedControl:true,defaultValue:Time.defaultProps.timeFormat,hidden:props=>props.outputType!==\"time\"},// showHours: {\n//     title: \"Hours\",\n//     type: ControlType.Boolean,\n//     enabledTitle: \"Show\",\n//     disabledTitle: \"Hide\",\n//     defaultValue: Time.defaultProps.showHours,\n//     hidden: (props) => props.outputType !== \"time\",\n// },\nshowMinutes:{title:\"Minutes\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:Time.defaultProps.showMinutes,hidden:props=>props.outputType!==\"time\"},showSeconds:{title:\"Seconds\",type:ControlType.Boolean,enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:Time.defaultProps.showSeconds,hidden:props=>props.outputType!==\"time\"||!props.showMinutes},font:{type:ControlType.Font,controls:\"extended\"},tabularFont:{title:\"Tabular\",type:ControlType.Boolean,defaultValue:true},color:{type:ControlType.Color,defaultValue:Time.defaultProps.color}});\nexport const __FramerMetadata__ = {\"exports\":{\"Time\":{\"type\":\"reactComponent\",\"name\":\"Time\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"20\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"*\",\"framerIntrinsicWidth\":\"140\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Time.map","// Generated by Framer (9a43cf4)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-4zPj4 .framer-styles-preset-179mysu:not(.rich-text-wrapper), .framer-4zPj4 .framer-styles-preset-179mysu.rich-text-wrapper a { --framer-link-current-text-color: #0000ff; --framer-link-hover-text-color: #5b2b18; --framer-link-hover-text-decoration: none; --framer-link-text-color: #0000ff; }\"];export const className=\"framer-4zPj4\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (569b461)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOMV2;MD IO Trial Regular\",\"CUSTOMV2;MD IO Trial Medium\",\"CUSTOMV2;MD IO Trial Medium Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"MD IO Trial Regular\",source:\"custom\",style:\"normal\",uiFamilyName:\"MD IO Trial\",url:\"https://framerusercontent.com/assets/S7ygyLElJjveJm1WnMm0zSNQY.woff2\",weight:\"400\"},{cssFamilyName:\"MD IO Trial Medium\",source:\"custom\",style:\"normal\",uiFamilyName:\"MD IO Trial\",url:\"https://framerusercontent.com/assets/LzuM6KCHnhCo1Kd2e9CboOdk7Q.woff2\",weight:\"500\"},{cssFamilyName:\"MD IO Trial Medium Italic\",source:\"custom\",style:\"italic\",uiFamilyName:\"MD IO Trial\",url:\"https://framerusercontent.com/assets/yFLGtdUAiIeteaWKkJbfGmGcQII.woff2\",weight:\"500\"}]}];export const css=['.framer-5a4Bz .framer-styles-preset-ckk4re:not(.rich-text-wrapper), .framer-5a4Bz .framer-styles-preset-ckk4re.rich-text-wrapper p { --framer-font-family: \"MD IO Trial Regular\", \"MD IO Trial Regular Placeholder\", sans-serif; --framer-font-family-bold: \"MD IO Trial Medium\", \"MD IO Trial Medium Placeholder\", sans-serif; --framer-font-family-bold-italic: \"MD IO Trial Medium Italic\", \"MD IO Trial Medium Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-font-weight-bold-italic: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; }','@media (max-width: 922px) and (min-width: 635px) { .framer-5a4Bz .framer-styles-preset-ckk4re:not(.rich-text-wrapper), .framer-5a4Bz .framer-styles-preset-ckk4re.rich-text-wrapper p { --framer-font-family: \"MD IO Trial Regular\", \"MD IO Trial Regular Placeholder\", sans-serif; --framer-font-family-bold: \"MD IO Trial Medium\", \"MD IO Trial Medium Placeholder\", sans-serif; --framer-font-family-bold-italic: \"MD IO Trial Medium Italic\", \"MD IO Trial Medium Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-font-weight-bold-italic: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }','@media (max-width: 634px) and (min-width: 0px) { .framer-5a4Bz .framer-styles-preset-ckk4re:not(.rich-text-wrapper), .framer-5a4Bz .framer-styles-preset-ckk4re.rich-text-wrapper p { --framer-font-family: \"MD IO Trial Regular\", \"MD IO Trial Regular Placeholder\", sans-serif; --framer-font-family-bold: \"MD IO Trial Medium\", \"MD IO Trial Medium Placeholder\", sans-serif; --framer-font-family-bold-italic: \"MD IO Trial Medium Italic\", \"MD IO Trial Medium Italic Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 8px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 500; --framer-font-weight-bold-italic: 500; --framer-letter-spacing: 0em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: uppercase; } }'];export const className=\"framer-5a4Bz\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"8MAAgW,SAAS,GAAgB,CAAC,GAAK,CAAC,EAAE,GAAKA,EAAS,EAAE,CAAC,OAAOC,MAAgB,EAAI,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAE,SAAS,EAAiB,EAAW,CAAC,WAAS,YAAU,cAAY,cAAY,eAAa,EAAW,EAAY,EAAU,CAAC,IAAM,EAAK,IAAI,KAAW,EAAgB,CAAC,GAAa,CAAC,GAAW,EAAS,OAAO,EAAP,CAAmB,IAAI,OAAO,OAAO,IAAI,KAAK,eAAe,EAAU,CAAC,QAAQ,EAAY,OAAO,IAAA,GAAU,IAAI,EAAgB,IAAA,GAAU,UAAU,MAAM,EAAU,EAAY,IAAA,GAAU,KAAK,EAAS,UAAU,IAAA,GAAU,CAAC,CAAC,OAAO,EAAK,CAAC,IAAI,OAAO,OAAO,IAAI,KAAK,eAAe,EAAU,CAAC,KAAK,UAAU,OAAO,EAAY,UAAU,IAAA,GAAU,OAAO,GAAa,EAAY,UAAU,IAAA,GAAU,OAAO,IAAa,MAAM,CAAC,CAAC,OAAO,EAAK,CAAC,QAAQ,OAAO,IAAI,KAAK,eAAe,EAAU,CAAC,OAAO,EAAK,EAYvnC,SAAgB,EAAK,EAAM,CAAC,GAAK,CAAC,aAAW,aAAW,WAAS,aAAW,aAAW,WAAS,YAA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