{"version":3,"file":"Clock_1.DDS_8DF9.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/5CPzpnk2rTlENA1DGVLP/kVSWjKk0KFx6mhRv5qIo/Clock_1.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";export function withClock(Component){return props=>{const[time,setTime]=useState(null);useEffect(()=>{setTime(new Date);const interval=setInterval(()=>{setTime(new Date);},1e3);return()=>{clearInterval(interval);};},[]);return /*#__PURE__*/_jsx(Component,{...props,text:time?time.toLocaleString(\"en-US\",{timeZone:\"America/Los_Angeles\",hour:\"numeric\",minute:\"2-digit\"}):\" \"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withClock\":{\"type\":\"reactHoc\",\"name\":\"withClock\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Clock_1.map"],"mappings":"yHAAiF,SAAgB,EAAU,EAAU,CAAC,MAAO,IAAO,CAAC,GAAK,CAAC,EAAK,GAASA,EAAS,KAAK,CAAsI,OAArI,MAAc,CAAC,EAAQ,IAAI,KAAK,CAAC,IAAM,EAAS,gBAAgB,CAAC,EAAQ,IAAI,KAAK,EAAG,IAAI,CAAC,UAAU,CAAC,cAAc,EAAS,GAAK,EAAE,CAAC,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAM,KAAK,EAAK,EAAK,eAAe,QAAQ,CAAC,SAAS,sBAAsB,KAAK,UAAU,OAAO,UAAU,CAAC,CAAC,IAAI,CAAC,mBAA5Z,IAAsC"}