{"version":3,"file":"ReplyPromise.C9Zxcp6E.mjs","names":["React.useState","__esmMin","init_ssg_sandbox_shims","navigator","init_npm_react_18_3_1","ce","c","init_jsx_runtime","_e","window","fontStore","addPropertyControls","RenderTarget","init_framer_BWFVvmND","ControlType","fonts","css","className","init_fUP0CaL_F","partsIn","f","p","date","x","wd","parseDays","out","spec","a","b","part","n","i","zonedInstant","guess","y","m","d","h","mi","timeZone","asUTC","computeReply","days","workdays","today","now","hour","replyAt","minute","k","next","DAY","instant","ReplyPromise","props","isCanvas","text","setText","template","tomorrowWord","fallback","run","lang","en","time","ap","dayWord","when","showVisitorTime","vt","visitorTemplate","t","todayWord","style","font","init_ReplyPromise"],"sources":["https:/framerusercontent.com/modules/DTjJoD5mQJa3Rkj7kru2/UMoujcFJ3xa2KfgpYsNA/fUP0CaL_F.js","https:/framerusercontent.com/modules/7YAbJh6GOD1CMohyzm3x/vbsvVV1na0WqcOZM2oxr/ReplyPromise.js"],"sourcesContent":["// Generated by Framer (dd23e71)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Host Grotesk-600\",\"Inter-Bold\",\"Inter-BoldItalic\",\"Inter-Italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Host Grotesk\",openType:true,source:\"google\",style:\"normal\",uiFamilyName:\"Host Grotesk\",url:\"https://fonts.gstatic.com/s/hostgrotesk/v5/co3UmWBnlCJ3U42vbbfdwMjzqHAXOdFzqU5PuTnJzhOp-j94InI.woff2\",weight:\"600\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/DpPBYI0sL4fYLgAkX8KXOPVt7c.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/4RAEQdEOrcnDkhHiiCbJOw92Lk.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/1K3W8DizY3v4emK8Mb08YHxTbs.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/tUSCtfYVM1I1IchuyCwz9gDdQ.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/VgYFWiwsAC5OYxAycRXXvhze58.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/syRNPWzAMIrcJ3wIlPIP43KjQs.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/GIryZETIX4IFypco5pYZONKhJIo.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/H89BbHkbHDzlxZzxi8uPzTsp90.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/u6gJwDuwB143kpNK1T1MDKDWkMc.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/43sJ6MfOPh1LCJt46OvyDuSbA6o.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/wccHG0r4gBDAIRhfHiOlq6oEkqw.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/WZ367JPwf9bRW6LdTHN8rXgSjw.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/ia3uin3hQWqDrVloC1zEtYHWw.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/2A4Xx7CngadFGlVV4xrO06OBHY.woff2\",weight:\"700\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/CfMzU8w2e7tHgF4T4rATMPuWosA.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/867QObYax8ANsfX4TGEVU9YiCM.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Oyn2ZbENFdnW7mt2Lzjk1h9Zb9k.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/cdAe8hgZ1cMyLu9g005pAW3xMo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/DOfvtmE1UplCq161m6Hj8CSQYg.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/pKRFNWFoZl77qYCAIp84lN1h944.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",openType:true,source:\"framer\",style:\"italic\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/tKtBcDnBMevsEEJKdNGhhkLzYo.woff2\",weight:\"400\"}]}];export const css=['.framer-UPTzn .framer-styles-preset-h6dnzj:not(.rich-text-wrapper), .framer-UPTzn .framer-styles-preset-h6dnzj.rich-text-wrapper p { --framer-font-family: \"Host Grotesk\", \"Host Grotesk Placeholder\", sans-serif; --framer-font-family-bold: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-bold-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-family-italic: \"Inter\", \"Inter Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv09\\' on, \\'cv11\\' on; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 600; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 20px; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: var(--token-lDOmxV1IW); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-UPTzn\";\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\"}}}","import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";const DAY=864e5;function partsIn(date,timeZone){const f=new Intl.DateTimeFormat(\"en-US\",{timeZone,year:\"numeric\",month:\"numeric\",day:\"numeric\",hour:\"numeric\",minute:\"numeric\",weekday:\"short\",hourCycle:\"h23\"});const p={};f.formatToParts(date).forEach(x=>p[x.type]=x.value);const wd=[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"].indexOf(p.weekday);return{y:+p.year,m:+p.month,d:+p.day,h:+p.hour,mi:+p.minute,iso:wd===0?7:wd};}function parseDays(spec){const out=new Set;(spec||\"1-5\").split(\",\").forEach(part=>{const[a,b]=part.split(\"-\").map(n=>parseInt(n,10));if(!isNaN(a)&&!isNaN(b))for(let i=a;i<=b;i++)out.add(i);else if(!isNaN(a))out.add(a);});return out;}// wall-clock time in a zone -> absolute instant\nfunction zonedInstant(y,m,d,h,mi,timeZone){let guess=Date.UTC(y,m-1,d,h,mi);for(let i=0;i<2;i++){const p=partsIn(new Date(guess),timeZone);const asUTC=Date.UTC(p.y,p.m-1,p.d,p.h,p.mi);guess+=Date.UTC(y,m-1,d,h,mi)-asUTC;}return new Date(guess);}function computeReply(now,timeZone,workdays,replyAt){const days=parseDays(workdays);const today=partsIn(now,timeZone);const hour=Math.floor(replyAt);const minute=Math.round((replyAt-hour)*60);// next working day strictly after today, in the studio's calendar\nlet k=1;let next=partsIn(new Date(now.getTime()+DAY),timeZone);while(!days.has(next.iso)&&k<8){k++;next=partsIn(new Date(now.getTime()+k*DAY),timeZone);}const instant=zonedInstant(next.y,next.m,next.d,hour,minute,timeZone);return{instant,dayOffset:k,hour,minute,weekdayDate:instant,todayIso:today.iso};}/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 380\n * @framerIntrinsicHeight 44\n */export default function ReplyPromise(props){const{template=\"Brief us today and we’ll reply by {when}, studio time.\",fallback=\"We reply within one working day.\",timeZone=\"Europe/London\",workdays=\"1-5\",replyAt=10,showVisitorTime=false,visitorTemplate=\" ({time} your time)\",todayWord=\"today\",tomorrowWord=\"tomorrow\",font,color=\"#FFFFFF\",style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[text,setText]=React.useState(isCanvas?template.replace(\"{when}\",\"10am \"+tomorrowWord):fallback);React.useEffect(()=>{if(isCanvas||typeof window===\"undefined\")return;const run=()=>{try{const lang=navigator.languages&&navigator.languages[0]||navigator.language||\"en\";const r=computeReply(new Date,timeZone,workdays,replyAt);// English readers get \"10am\"; other languages their own clock, never a bare \"10\".\nconst en=/^en(-|_|$)/i.test(lang);const timeFmt=new Intl.DateTimeFormat(lang,{hour:\"numeric\",...r.minute||!en?{minute:\"2-digit\"}:{},...en?{hour12:true}:{},timeZone:\"UTC\"});let time=timeFmt.format(new Date(Date.UTC(2e3,0,1,r.hour,r.minute)));if(en)time=time.replace(/\\s?([AP])\\.?\\s?M\\.?/i,(m0,ap)=>ap.toLowerCase()+\"m\");const dayWord=r.dayOffset===1?tomorrowWord:new Intl.DateTimeFormat(lang,{weekday:\"long\",timeZone}).format(r.instant);let when=time+\"\\xa0\"+dayWord;let out=template.replace(\"{when}\",when);if(showVisitorTime){const vt=new Intl.DateTimeFormat(lang,{hour:\"numeric\",minute:\"2-digit\"}).format(r.instant);out=out.replace(/\\.?$/,visitorTemplate.replace(\"{time}\",vt)+\".\");}setText(out);}catch(e){setText(fallback);}};run();const t=window.setInterval(run,5*60*1e3);return()=>window.clearInterval(t);},[isCanvas,template,fallback,timeZone,workdays,replyAt,showVisitorTime,visitorTemplate,todayWord,tomorrowWord]);return /*#__PURE__*/_jsx(\"p\",{style:{...style,margin:0,color,...font||{},textWrap:\"pretty\"},children:text});}addPropertyControls(ReplyPromise,{template:{type:ControlType.String,title:\"Sentence\",defaultValue:\"Brief us today and we’ll reply by {when}, studio time.\",displayTextArea:true},fallback:{type:ControlType.String,title:\"Fallback\",defaultValue:\"We reply within one working day.\",displayTextArea:true},timeZone:{type:ControlType.String,title:\"Studio zone\",defaultValue:\"Europe/London\",placeholder:\"Area/City (IANA)\"},workdays:{type:ControlType.String,title:\"Workdays\",defaultValue:\"1-5\",placeholder:\"1-5 = Mon to Fri\"},replyAt:{type:ControlType.Number,title:\"Reply by\",defaultValue:10,min:0,max:23.5,step:.5,unit:\"h\"},tomorrowWord:{type:ControlType.String,title:\"Tomorrow\",defaultValue:\"tomorrow\"},todayWord:{type:ControlType.String,title:\"Today\",defaultValue:\"today\"},showVisitorTime:{type:ControlType.Boolean,title:\"Visitor time\",defaultValue:false},visitorTemplate:{type:ControlType.String,title:\"Visitor text\",defaultValue:\" ({time} your time)\",hidden:p=>!p.showVisitorTime},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\"},color:{type:ControlType.Color,title:\"Colour\",defaultValue:\"#FFFFFF\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ReplyPromise\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicHeight\":\"44\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"380\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ReplyPromise.map"],"mappings":"A,iQAC8BU,EAAU,UAAU,CAAC,sBAAsB,aAAa,mBAAmB,cAAc,CAAC,EAAe,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,eAAe,SAAS,GAAK,OAAO,SAAS,MAAM,SAAS,aAAa,eAAe,IAAI,uGAAuG,OAAO,KAAK,EAAE,CAAC,cAAc,QAAQ,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