{"version":3,"file":"FineCalendlyBooking.BCXz4Dy-.mjs","names":["useState","useMemo","name","useRef","useCallback","s"],"sources":["https:/framerusercontent.com/modules/Uddd0s0deYO1BOaJrFcC/ezWXARnWomcZFYsLmAy2/FineCalendlyBooking.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,useCallback,useMemo,useRef}from\"react\";const API=\"https://api.calendly.com\";// ─── Helpers ──────────────────────────────────────────────────────────────────\nfunction toUTC(d){return d.toISOString();}function monthStart(year,month){const d=new Date(year,month,1);d.setHours(0,0,0,0);return d;}function monthEnd(year,month){const d=new Date(year,month+1,1);d.setHours(0,0,0,0);return d;}function formatMonthYear(d){return d.toLocaleDateString(\"en-US\",{month:\"long\",year:\"numeric\"});}function formatLongDate(d){return d.toLocaleDateString(\"en-US\",{weekday:\"long\",month:\"long\",day:\"numeric\"});}function formatTime(iso,tz){try{return new Date(iso).toLocaleTimeString(\"en-US\",{hour:\"numeric\",minute:\"2-digit\",hour12:true,timeZone:tz}).toLowerCase();}catch{return new Date(iso).toLocaleTimeString(\"en-US\",{hour:\"numeric\",minute:\"2-digit\",hour12:true}).toLowerCase();}}function getDayKey(iso,tz){try{return new Intl.DateTimeFormat(\"en-CA\",{year:\"numeric\",month:\"2-digit\",day:\"2-digit\",timeZone:tz}).format(new Date(iso));}catch{return new Date(iso).toISOString().split(\"T\")[0];}}function dateToKey(d){const y=d.getFullYear();const m=String(d.getMonth()+1).padStart(2,\"0\");const day=String(d.getDate()).padStart(2,\"0\");return`${y}-${m}-${day}`;}function parseKey(key){const[y,m,d]=key.split(\"-\").map(Number);return new Date(y,m-1,d);}// ALWAYS returns 6 rows so calendar height is constant across months\nfunction buildMonthGrid(year,month){const firstOfMonth=new Date(year,month,1);let firstWeekday=firstOfMonth.getDay()-1;if(firstWeekday<0)firstWeekday=6;// Start of grid = Monday of the week containing first-of-month\nconst gridStart=new Date(year,month,1-firstWeekday);const grid=[];for(let row=0;row<6;row++){const rowCells=[];for(let col=0;col<7;col++){const d=new Date(gridStart);d.setDate(gridStart.getDate()+row*7+col);rowCells.push({date:d,inMonth:d.getMonth()===month});}grid.push(rowCells);}return grid;}function getTimezoneList(){try{const zones=Intl.supportedValuesOf?.(\"timeZone\");if(Array.isArray(zones)&&zones.length>0)return zones;}catch{}return[\"Europe/Kiev\",\"Europe/London\",\"Europe/Berlin\",\"Europe/Paris\",\"Europe/Madrid\",\"Europe/Rome\",\"Europe/Warsaw\",\"Europe/Moscow\",\"Europe/Istanbul\",\"America/New_York\",\"America/Chicago\",\"America/Denver\",\"America/Los_Angeles\",\"America/Toronto\",\"America/Sao_Paulo\",\"Asia/Dubai\",\"Asia/Kolkata\",\"Asia/Shanghai\",\"Asia/Tokyo\",\"Asia/Singapore\",\"Australia/Sydney\",\"Pacific/Auckland\",\"UTC\"];}// ─── Component ────────────────────────────────────────────────────────────────\nexport default function CalendlyBooking(props){const{calendlyToken,eventTypeUri,redirectUrl,step1Label,step1Title,step2Label,step2Title,step3Label,step3Title,backLabel,changeLabel,timezoneLabel,namePlaceholder,emailPlaceholder,submitLabel,preparingFormLabel,bookingLabel,noSlotsLabel,successMessage,errorBannerPrefix,bodyFont,serifFont,textPrimary,textMuted,bgColor,dividerColor,accentColor,accentHover,unavailableBg,unavailableText,inputBg,inputBorderActive,inputPlaceholder,errorBg,errorText,borderRadius,inputRadius,pillRadius,minHeight,fixedHeight}=props;// ── State ─────────────────────────────────────────────────────────────────\nconst[step,setStep]=useState(\"init\");const[viewDate,setViewDate]=useState(()=>{const d=new Date;d.setDate(1);d.setHours(0,0,0,0);return d;});const[slots,setSlots]=useState([]);const[loadingSlots,setLoadingSlots]=useState(false);const[eventInfo,setEventInfo]=useState(null);const[selectedDate,setSelectedDate]=useState(null);const[selectedSlot,setSelectedSlot]=useState(null);const[name,setName]=useState(\"\");const[email,setEmail]=useState(\"\");const[customAnswers,setCustomAnswers]=useState({});const[error,setError]=useState(null);const[tz,setTz]=useState(()=>Intl.DateTimeFormat().resolvedOptions().timeZone);const[tzOpen,setTzOpen]=useState(false);const timezones=useMemo(()=>getTimezoneList(),[]);// Group timezones by region\nconst tzGroups=useMemo(()=>{const groups={UTC:[],Americas:[],Europe:[],Africa:[],Asia:[],\"Australia & Pacific\":[],\"Atlantic & Indian\":[],Other:[]};for(const z of timezones){if(z===\"UTC\"||z===\"GMT\")groups[\"UTC\"].push(z);else if(z.startsWith(\"America/\"))groups[\"Americas\"].push(z);else if(z.startsWith(\"Europe/\"))groups[\"Europe\"].push(z);else if(z.startsWith(\"Africa/\"))groups[\"Africa\"].push(z);else if(z.startsWith(\"Asia/\"))groups[\"Asia\"].push(z);else if(z.startsWith(\"Australia/\")||z.startsWith(\"Pacific/\"))groups[\"Australia & Pacific\"].push(z);else if(z.startsWith(\"Atlantic/\")||z.startsWith(\"Indian/\"))groups[\"Atlantic & Indian\"].push(z);else groups[\"Other\"].push(z);}return Object.entries(groups).filter(([_,zones])=>zones.length>0).map(([name,zones])=>({name,zones:zones.sort()}));},[timezones]);// Display name for a timezone (e.g. \"Europe/Kiev\" -> \"Kiev\", \"America/New_York\" -> \"New York\")\nconst tzDisplay=z=>{const parts=z.split(\"/\");if(parts.length===1)return z;return parts.slice(1).join(\" / \").replace(/_/g,\" \");};// Close TZ dropdown on outside click\nconst tzRef=useRef(null);useEffect(()=>{if(!tzOpen)return;const handler=e=>{if(tzRef.current&&!tzRef.current.contains(e.target))setTzOpen(false);};const keyHandler=e=>{if(e.key===\"Escape\")setTzOpen(false);};document.addEventListener(\"mousedown\",handler);document.addEventListener(\"keydown\",keyHandler);return()=>{document.removeEventListener(\"mousedown\",handler);document.removeEventListener(\"keydown\",keyHandler);};},[tzOpen]);// Responsive\nconst containerRef=useRef(null);const[containerWidth,setContainerWidth]=useState(600);useEffect(()=>{if(!containerRef.current)return;const ro=new ResizeObserver(entries=>setContainerWidth(entries[0].contentRect.width));ro.observe(containerRef.current);return()=>ro.disconnect();},[]);const isNarrow=containerWidth>0&&containerWidth<380// 320-380: tight mobile\n;const isMobile=containerWidth>0&&containerWidth<480// mobile in general\n;// ── Fetch event type info ─────────────────────────────────────────────────\nuseEffect(()=>{if(!calendlyToken||!eventTypeUri)return;const uuid=eventTypeUri.split(\"/\").pop();if(!uuid)return;setStep(\"init\");fetch(`${API}/event_types/${uuid}`,{headers:{Authorization:`Bearer ${calendlyToken}`}}).then(async r=>{if(!r.ok){const body=await r.json().catch(()=>({}));throw new Error(body?.details?.[0]?.message||body?.message||`HTTP ${r.status}`);}return r.json();}).then(data=>{const res=data.resource;setEventInfo({name:res.name,duration:res.duration,description_plain:res.description_plain||\"\",custom_questions:(res.custom_questions||[]).filter(q=>q.enabled),locations:res.locations||[]});setStep(\"date\");}).catch(e=>{setError(e.message||\"Failed to load\");setStep(\"date\");});},[calendlyToken,eventTypeUri]);// ── Fetch month slots ─────────────────────────────────────────────────────\nconst fetchMonthSlots=useCallback(async()=>{if(!calendlyToken||!eventTypeUri)return;setLoadingSlots(true);setError(null);try{const year=viewDate.getFullYear();const month=viewDate.getMonth();const now=new Date;let start=monthStart(year,month);const future=new Date(now.getTime()+60*1e3);if(start<future)start=future;const end=monthEnd(year,month);if(start>=end){setSlots([]);setLoadingSlots(false);return;}const chunks=[];let cursor=new Date(start);while(cursor<end){const chunkEnd=new Date(cursor);chunkEnd.setDate(cursor.getDate()+7);if(chunkEnd>end)chunkEnd.setTime(end.getTime());chunks.push([new Date(cursor),new Date(chunkEnd)]);cursor=new Date(chunkEnd);}const results=await Promise.all(chunks.map(([s,e])=>{const url=`${API}/event_type_available_times?event_type=${encodeURIComponent(eventTypeUri)}&start_time=${encodeURIComponent(toUTC(s))}&end_time=${encodeURIComponent(toUTC(e))}`;return fetch(url,{headers:{Authorization:`Bearer ${calendlyToken}`}}).then(async r=>{if(!r.ok){const body=await r.json().catch(()=>({}));throw new Error(body?.details?.[0]?.message||body?.message||`HTTP ${r.status}`);}return r.json();}).then(d=>(d.collection||[]).filter(s=>s.status===\"available\"));}));setSlots(results.flat());}catch(e){setError(e.message||\"Failed to load\");setSlots([]);}finally{setLoadingSlots(false);}},[calendlyToken,eventTypeUri,viewDate]);useEffect(()=>{if(step!==\"init\")fetchMonthSlots();},[fetchMonthSlots,step]);// ── Derived ───────────────────────────────────────────────────────────────\nconst slotsByDay=useMemo(()=>{const map={};for(const s of slots){const k=getDayKey(s.start_time,tz);if(!map[k])map[k]=[];map[k].push(s);}return map;},[slots,tz]);const monthGrid=useMemo(()=>buildMonthGrid(viewDate.getFullYear(),viewDate.getMonth()),[viewDate]);const todayKey=dateToKey(new Date);const daySlots=selectedDate?slotsByDay[selectedDate]||[]:[];// ── Book ──────────────────────────────────────────────────────────────────\nconst handleBook=async()=>{if(!selectedSlot||!name.trim()||!email.trim()){setError(\"Please fill in all required fields.\");return;}if(eventInfo?.custom_questions){for(const q of eventInfo.custom_questions){if(q.required&&!customAnswers[q.position]?.trim()){setError(`Please fill in: ${q.name}`);return;}}}setError(null);setStep(\"booking\");try{const qna=eventInfo?.custom_questions?.filter(q=>customAnswers[q.position]?.trim()).map(q=>({question:q.name,answer:customAnswers[q.position].trim(),position:q.position}))||[];const body={event_type:eventTypeUri,start_time:selectedSlot,invitee:{name:name.trim(),email:email.trim(),timezone:tz}};if(qna.length>0)body.questions_and_answers=qna;const loc=eventInfo?.locations?.[0];if(loc&&loc.kind!==\"ask_invitee\"&&loc.kind!==\"outbound_call\"){body.location={kind:loc.kind};}const res=await fetch(`${API}/invitees`,{method:\"POST\",headers:{Authorization:`Bearer ${calendlyToken}`,\"Content-Type\":\"application/json\"},body:JSON.stringify(body)});if(!res.ok){const errBody=await res.json().catch(()=>({}));throw new Error(errBody?.details?.[0]?.message||errBody?.message||errBody?.title||`HTTP ${res.status}`);}setStep(\"success\");if(redirectUrl)setTimeout(()=>{window.location.href=redirectUrl;},1200);}catch(e){setError(e.message||\"Something went wrong. Please try again.\");setStep(\"form\");}};// ── Responsive sizing ─────────────────────────────────────────────────────\nconst pad=isNarrow?14:isMobile?20:28;const headerPadY=isNarrow?14:isMobile?16:24;const headerPadBottom=isNarrow?12:isMobile?14:20;const dayNameSize=isNarrow?12:isMobile?13:15;const dayNumberSize=isNarrow?14:isMobile?15:17;const bigTitleSize=isNarrow?20:isMobile?24:28;const stepLabelSize=isNarrow?12:isMobile?13:15;const navTitleSize=isNarrow?15:isMobile?16:17;const slotFontSize=isNarrow?15:isMobile?16:17;const slotPadding=isNarrow?\"14px 0\":isMobile?\"16px 0\":\"18px 0\";const buttonFontSize=isNarrow?15:isMobile?16:17;const inputPadY=isNarrow?14:isMobile?16:18;const inputPadX=isNarrow?12:isMobile?14:16;const inputFontSize=isNarrow?14:15;const gridGap=isNarrow?2:isMobile?3:4;const fieldGap=isNarrow?8:isMobile?10:12;const cellMaxWidth=isNarrow?44:isMobile?52:60;// ── Styles ────────────────────────────────────────────────────────────────\nconst isFixed=fixedHeight&&fixedHeight>0;const rootStyle={fontFamily:bodyFont,background:bgColor,borderRadius,width:\"100%\",boxSizing:\"border-box\",overflow:\"hidden\",display:\"flex\",flexDirection:\"column\",...isFixed?{height:fixedHeight,maxHeight:fixedHeight}:{minHeight}};const css=`\n        .cal-field::placeholder { color: ${inputPlaceholder}; opacity: 1; }\n        .cal-field {\n            width: 100%;\n            background: ${inputBg};\n            color: ${textPrimary};\n            border: 2px solid transparent;\n            border-radius: ${inputRadius}px;\n            font-family: ${bodyFont};\n            font-size: ${inputFontSize}px;\n            letter-spacing: -0.075px;\n            line-height: 24px;\n            box-sizing: border-box;\n            outline: none;\n            transition: border-color 0.15s ease;\n            padding: ${inputPadY}px ${inputPadX}px;\n        }\n        .cal-field:focus, .cal-field:active { border-color: ${inputBorderActive}; }\n        .cal-day-btn {\n            display: flex; align-items: center; justify-content: center;\n            border-radius: 50%;\n            border: none;\n            font-family: ${bodyFont};\n            font-size: ${dayNumberSize}px;\n            font-weight: 500;\n            letter-spacing: -0.085px;\n            padding: 0;\n            transition: background 0.15s ease;\n            position: relative;\n            aspect-ratio: 1 / 1;\n            width: 100%;\n            max-width: ${cellMaxWidth}px;\n        }\n        .cal-day-btn.available {\n            background: ${accentColor};\n            color: ${textPrimary};\n            cursor: pointer;\n        }\n        .cal-day-btn.available:hover { background: ${accentHover}; }\n        .cal-day-btn.unavailable {\n            background: ${unavailableBg};\n            color: ${unavailableText};\n            cursor: default;\n        }\n        .cal-day-btn.empty { background: transparent; color: transparent; cursor: default; pointer-events: none; }\n        .cal-day-btn.sunday { background: transparent; color: ${textPrimary}; cursor: default; }\n        .cal-day-btn:disabled { cursor: default; }\n        .cal-today-dot {\n            position: absolute;\n            bottom: 16%;\n            width: ${isNarrow?3:4}px; height: ${isNarrow?3:4}px;\n            border-radius: 50%;\n            background: ${textPrimary};\n        }\n        .cal-slot {\n            width: 100%;\n            padding: ${slotPadding};\n            background: ${accentColor};\n            color: ${textPrimary};\n            border: none;\n            border-radius: ${pillRadius}px;\n            font-family: ${bodyFont};\n            font-size: ${slotFontSize}px;\n            font-weight: 500;\n            letter-spacing: -0.085px;\n            cursor: pointer;\n            transition: background 0.15s ease;\n        }\n        .cal-slot:hover { background: ${accentHover}; }\n        .cal-submit {\n            width: 100%;\n            padding: ${slotPadding};\n            background: ${accentColor};\n            color: ${textPrimary};\n            border: none;\n            border-radius: ${pillRadius}px;\n            font-family: ${bodyFont};\n            font-size: ${buttonFontSize}px;\n            font-weight: 500;\n            letter-spacing: -0.085px;\n            cursor: pointer;\n            transition: background 0.15s ease;\n        }\n        .cal-submit:hover:not(:disabled) { background: ${accentHover}; }\n        .cal-submit:disabled { background: ${unavailableBg}; color: ${unavailableText}; cursor: not-allowed; }\n        .cal-icon-btn {\n            background: transparent; border: none; cursor: pointer; padding: 6px;\n            display: flex; align-items: center; justify-content: center;\n            color: ${textPrimary}; border-radius: 8px;\n            transition: background 0.15s ease;\n        }\n        .cal-icon-btn:hover { background: ${dividerColor}; }\n        .cal-icon-btn:disabled { opacity: 0.3; cursor: default; }\n        .cal-icon-btn:disabled:hover { background: transparent; }\n        .cal-link-btn {\n            background: transparent; border: none; cursor: pointer;\n            font-family: ${bodyFont};\n            font-size: ${isNarrow?13:isMobile?14:15}px;\n            font-weight: 500;\n            color: ${textPrimary};\n            padding: 6px 8px;\n            display: inline-flex; align-items: center; gap: 6px;\n            border-radius: 8px;\n            transition: background 0.15s ease;\n        }\n        .cal-link-btn:hover { background: ${dividerColor}; }\n        .cal-change-btn {\n            background: transparent; border: none; cursor: pointer;\n            font-family: ${serifFont};\n            font-size: ${isNarrow?13:isMobile?14:15}px;\n            color: ${textPrimary};\n            padding: 0;\n            text-decoration: underline;\n            text-underline-offset: 3px;\n            white-space: nowrap;\n        }\n        .cal-tz-wrapper {\n            position: relative;\n            display: inline-flex;\n            align-items: center;\n        }\n        .cal-tz-trigger {\n            background: transparent;\n            border: none;\n            cursor: pointer;\n            font-family: ${serifFont};\n            font-size: ${isNarrow?13:isMobile?14:15}px;\n            color: ${textMuted};\n            padding: 4px 0;\n            display: inline-flex;\n            align-items: center;\n            gap: 6px;\n            outline: none;\n        }\n        .cal-tz-trigger:hover { color: ${textPrimary}; }\n        .cal-tz-chevron {\n            display: inline-block;\n            transition: transform 0.18s ease;\n        }\n        .cal-tz-chevron.open { transform: rotate(180deg); }\n        .cal-tz-popover {\n            position: absolute;\n            bottom: calc(100% + 8px);\n            left: 0;\n            background: ${inputBg};\n            border-radius: 10px;\n            padding: ${isMobile?12:16}px 0;\n            width: ${isNarrow?220:260}px;\n            max-height: ${isNarrow?280:340}px;\n            overflow-y: auto;\n            z-index: 10;\n            box-shadow: 0 4px 16px rgba(0,0,0,0.06);\n            animation: calTzPopIn 160ms ease-out;\n        }\n        @keyframes calTzPopIn {\n            from { opacity: 0; transform: translateY(4px); }\n            to { opacity: 1; transform: translateY(0); }\n        }\n        .cal-tz-group {\n            padding: 6px 0;\n        }\n        .cal-tz-group-label {\n            font-family: ${bodyFont};\n            font-size: 14px;\n            font-weight: 600;\n            color: ${textPrimary};\n            padding: 4px ${isMobile?16:20}px;\n            margin-top: 4px;\n        }\n        .cal-tz-popover > .cal-tz-group:first-child .cal-tz-group-label { margin-top: 0; }\n        .cal-tz-item {\n            display: block;\n            width: 100%;\n            background: transparent;\n            border: none;\n            font-family: ${serifFont};\n            font-size: ${isMobile?14:15}px;\n            color: ${textMuted};\n            padding: 5px ${isMobile?16:20}px;\n            cursor: pointer;\n            text-align: left;\n            transition: color 0.15s ease;\n        }\n        .cal-tz-item:hover { color: ${textPrimary}; }\n        .cal-tz-item[data-active=\"true\"] { color: ${textPrimary}; font-weight: 500; }\n        .cal-tz-popover::-webkit-scrollbar { width: 6px; }\n        .cal-tz-popover::-webkit-scrollbar-thumb { background: ${dividerColor}; border-radius: 3px; }\n        @keyframes calStepEnter {\n            from { opacity: 0; }\n            to { opacity: 1; }\n        }\n        .cal-step-body {\n            animation: calStepEnter 220ms ease-out;\n            flex: 1;\n            display: flex;\n            flex-direction: column;\n            ${isFixed?\"overflow-y: auto; min-height: 0;\":\"\"}\n        }\n        .cal-step-body::-webkit-scrollbar { width: 6px; }\n        .cal-step-body::-webkit-scrollbar-thumb { background: ${dividerColor}; border-radius: 3px; }\n        .cal-step-body::-webkit-scrollbar-track { background: transparent; }\n        @keyframes calSpin {\n            to { transform: rotate(360deg); }\n        }\n        .cal-spinner {\n            width: 18px; height: 18px;\n            border: 2px solid ${dividerColor};\n            border-top-color: ${textPrimary};\n            border-radius: 50%;\n            animation: calSpin 800ms linear infinite;\n        }\n    `;// ── Subcomponents ─────────────────────────────────────────────────────────\nconst ChevronLeft=({size=14})=>/*#__PURE__*/_jsx(\"svg\",{width:size*.6,height:size,viewBox:\"0 0 8 14\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 1L1 7L7 13\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\"})});const ChevronRight=({size=14})=>/*#__PURE__*/_jsx(\"svg\",{width:size*.6,height:size,viewBox:\"0 0 8 14\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 1L7 7L1 13\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\"})});const StepHeader=({label,title,leftAction,rightAction})=>/*#__PURE__*/_jsxs(\"div\",{style:{padding:`${headerPadY}px ${pad}px ${headerPadBottom}px`,borderBottom:`1px solid ${dividerColor}`,display:\"flex\",alignItems:\"flex-start\",justifyContent:\"space-between\",gap:8,boxSizing:\"border-box\",background:bgColor,flexShrink:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{flex:\"0 0 auto\",minWidth:isNarrow?32:40,paddingTop:4},children:leftAction}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,textAlign:\"center\",minWidth:0},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:serifFont,fontSize:stepLabelSize,color:textMuted,marginBottom:2},children:label}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:serifFont,fontSize:bigTitleSize,color:textPrimary,lineHeight:1.2},children:title})]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:\"0 0 auto\",minWidth:isNarrow?32:40,textAlign:\"right\",paddingTop:4},children:rightAction})]});const ErrorBanner=()=>error?/*#__PURE__*/_jsxs(\"div\",{style:{margin:`${isMobile?14:18}px ${pad}px 0`,padding:`${isMobile?12:16}px ${isMobile?14:20}px`,background:errorBg,color:errorText,borderRadius:inputRadius,fontFamily:bodyFont,fontSize:isNarrow?12:13,textAlign:\"center\"},children:[errorBannerPrefix,\" \",error]}):null;const LoadingView=({label})=>/*#__PURE__*/_jsxs(\"div\",{className:\"cal-step-body\",style:{alignItems:\"center\",justifyContent:\"center\",gap:10,flexDirection:\"row\",padding:pad,flex:1},children:[/*#__PURE__*/_jsx(\"div\",{className:\"cal-spinner\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:serifFont,fontSize:isNarrow?18:isMobile?20:24,color:textPrimary},children:label})]},\"loading\");// ── Empty state ───────────────────────────────────────────────────────────\nif(!calendlyToken||!eventTypeUri){return /*#__PURE__*/_jsx(\"div\",{style:{...rootStyle,alignItems:\"center\",justifyContent:\"center\",padding:pad},children:/*#__PURE__*/_jsx(\"div\",{style:{color:textMuted,fontSize:14,textAlign:\"center\",fontFamily:bodyFont},children:\"Add your Calendly API Token and Event Type URI in component props.\"})});}// ── Success ───────────────────────────────────────────────────────────────\nif(step===\"success\"){return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{className:\"cal-step-body\",style:{alignItems:\"center\",justifyContent:\"center\",gap:12,padding:pad},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:48,height:48,borderRadius:\"50%\",background:accentColor,display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"16\",viewBox:\"0 0 20 16\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M2 8L7 13L18 2\",stroke:textPrimary,strokeWidth:\"3\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:serifFont,fontSize:isNarrow?20:isMobile?22:28,color:textPrimary,textAlign:\"center\"},children:successMessage}),redirectUrl&&/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:serifFont,fontSize:14,color:textMuted},children:\"Redirecting…\"})]},\"success\")]});}// ── Init loading ──────────────────────────────────────────────────────────\nif(step===\"init\"){return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(LoadingView,{label:preparingFormLabel})]});}// ── Booking loading ───────────────────────────────────────────────────────\nif(step===\"booking\"){return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(LoadingView,{label:bookingLabel})]});}// ─────────────────────────────────────────────────────────────────────────\n// STEP 1 — SELECT DATE\n// ─────────────────────────────────────────────────────────────────────────\nif(step===\"date\"){const dayNames=[\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\",\"Sun\"];const canGoPrev=(()=>{const prev=new Date(viewDate);prev.setMonth(prev.getMonth()-1);const nowMonth=new Date;nowMonth.setDate(1);nowMonth.setHours(0,0,0,0);return prev>=nowMonth;})();return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(StepHeader,{label:step1Label,title:step1Title}),/*#__PURE__*/_jsxs(\"div\",{className:\"cal-step-body\",style:{padding:`${isMobile?14:20}px ${pad}px ${pad}px`},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",marginBottom:isMobile?10:16},children:[/*#__PURE__*/_jsx(\"button\",{onClick:()=>canGoPrev&&setViewDate(d=>{const n=new Date(d);n.setMonth(n.getMonth()-1);setSelectedDate(null);return n;}),disabled:!canGoPrev,className:\"cal-icon-btn\",\"aria-label\":\"Previous month\",children:/*#__PURE__*/_jsx(ChevronLeft,{})}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:bodyFont,fontSize:navTitleSize,fontWeight:500,letterSpacing:\"-0.085px\",color:textPrimary},children:formatMonthYear(viewDate)}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>setViewDate(d=>{const n=new Date(d);n.setMonth(n.getMonth()+1);setSelectedDate(null);return n;}),className:\"cal-icon-btn\",\"aria-label\":\"Next month\",children:/*#__PURE__*/_jsx(ChevronRight,{})})]}),/*#__PURE__*/_jsx(\"div\",{style:{borderTop:`1px solid ${dividerColor}`,margin:`0 0 ${isMobile?12:20}px`}}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(7, 1fr)\",gap:gridGap,marginBottom:isMobile?6:12},children:dayNames.map(d=>/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:serifFont,fontSize:dayNameSize,color:textPrimary,textAlign:\"center\"},children:d},d))}),error&&!loadingSlots&&/*#__PURE__*/_jsx(\"div\",{style:{margin:\"0 0 12px\",padding:\"10px 14px\",background:errorBg,color:errorText,borderRadius:inputRadius,fontSize:13,fontFamily:bodyFont,textAlign:\"center\"},children:error}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:gridGap,opacity:loadingSlots?.4:1,transition:\"opacity 0.15s\"},children:monthGrid.map((row,ri)=>/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:\"repeat(7, 1fr)\",gap:gridGap},children:row.map((cell,ci)=>{const key=dateToKey(cell.date);const hasSlots=(slotsByDay[key]||[]).length>0;const isPast=key<todayKey;const isOutOfMonth=!cell.inMonth;const isSunday=ci===6;const isToday=key===todayKey;const clickable=hasSlots&&!isPast&&cell.inMonth;let cls=\"cal-day-btn \";if(isOutOfMonth)cls+=\"empty\";else if(isSunday)cls+=\"sunday\";else if(clickable)cls+=\"available\";else cls+=\"unavailable\";return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",aspectRatio:\"1 / 1\"},children:/*#__PURE__*/_jsxs(\"button\",{className:cls,onClick:()=>clickable&&(setSelectedDate(key),setStep(\"time\")),disabled:!clickable,children:[!isOutOfMonth&&cell.date.getDate(),isToday&&hasSlots&&!isOutOfMonth&&/*#__PURE__*/_jsx(\"span\",{className:\"cal-today-dot\"})]})},ci);})},ri))}),/*#__PURE__*/_jsx(\"div\",{ref:tzRef,style:{marginTop:isMobile?14:20},children:/*#__PURE__*/_jsxs(\"div\",{className:\"cal-tz-wrapper\",children:[/*#__PURE__*/_jsxs(\"button\",{className:\"cal-tz-trigger\",onClick:()=>setTzOpen(o=>!o),\"aria-expanded\":tzOpen,children:[/*#__PURE__*/_jsxs(\"span\",{children:[timezoneLabel,\" \",tzDisplay(tz)]}),/*#__PURE__*/_jsx(\"span\",{className:`cal-tz-chevron ${tzOpen?\"open\":\"\"}`,children:/*#__PURE__*/_jsx(\"svg\",{width:\"10\",height:\"6\",viewBox:\"0 0 12 8\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M1 1L6 6L11 1\",stroke:\"currentColor\",strokeWidth:\"1.5\",strokeLinecap:\"round\"})})})]}),tzOpen&&/*#__PURE__*/_jsx(\"div\",{className:\"cal-tz-popover\",children:tzGroups.map(group=>/*#__PURE__*/_jsxs(\"div\",{className:\"cal-tz-group\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"cal-tz-group-label\",children:group.name}),group.zones.map(z=>/*#__PURE__*/_jsx(\"button\",{className:\"cal-tz-item\",\"data-active\":z===tz,onClick:()=>{setTz(z);setTzOpen(false);},children:tzDisplay(z)},z))]},group.name))})]})})]},\"date\")]});}// ─────────────────────────────────────────────────────────────────────────\n// STEP 2 — SELECT TIME\n// ─────────────────────────────────────────────────────────────────────────\nif(step===\"time\"&&selectedDate){const dateObj=parseKey(selectedDate);return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(StepHeader,{label:step2Label,title:step2Title,leftAction:/*#__PURE__*/_jsxs(\"button\",{onClick:()=>setStep(\"date\"),className:\"cal-link-btn\",children:[/*#__PURE__*/_jsx(ChevronLeft,{size:12}),\" \",!isNarrow&&backLabel]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"cal-step-body\",style:{padding:`${isMobile?14:20}px ${pad}px ${pad}px`},children:[/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",fontFamily:bodyFont,fontSize:navTitleSize,fontWeight:500,letterSpacing:\"-0.085px\",color:textPrimary,padding:`0 0 ${isMobile?12:18}px`,borderBottom:`1px solid ${dividerColor}`,marginBottom:isMobile?14:20},children:formatLongDate(dateObj)}),daySlots.length===0&&/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",color:textMuted,fontSize:14,padding:\"24px 0\",fontFamily:serifFont},children:noSlotsLabel}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:isNarrow?6:isMobile?8:10},children:daySlots.map(slot=>/*#__PURE__*/_jsx(\"button\",{className:\"cal-slot\",onClick:()=>{setSelectedSlot(slot.start_time);setStep(\"form\");},children:formatTime(slot.start_time,tz)},slot.start_time))})]},\"time\")]});}// ─────────────────────────────────────────────────────────────────────────\n// STEP 3 — FORM\n// ─────────────────────────────────────────────────────────────────────────\nif(step===\"form\"&&selectedSlot&&selectedDate){const dateObj=parseKey(selectedDate);const isSubmitDisabled=!name.trim()||!email.trim();return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:rootStyle,children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsx(StepHeader,{label:step3Label,title:step3Title,leftAction:/*#__PURE__*/_jsx(\"button\",{onClick:()=>setStep(\"time\"),className:\"cal-icon-btn\",\"aria-label\":\"Back\",children:/*#__PURE__*/_jsx(ChevronLeft,{})})}),/*#__PURE__*/_jsx(ErrorBanner,{}),/*#__PURE__*/_jsxs(\"div\",{className:\"cal-step-body\",style:{padding:`${isMobile?14:20}px ${pad}px ${pad}px`},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"flex-start\",justifyContent:\"space-between\",padding:`0 0 ${isMobile?12:18}px`,borderBottom:`1px solid ${dividerColor}`,marginBottom:isMobile?14:20,gap:12},children:[/*#__PURE__*/_jsxs(\"div\",{style:{minWidth:0,flex:1},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:bodyFont,fontSize:navTitleSize,fontWeight:500,letterSpacing:\"-0.085px\",color:textPrimary,lineHeight:\"24px\"},children:formatLongDate(dateObj)}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:serifFont,fontSize:isNarrow?13:isMobile?14:15,color:textMuted,marginTop:4},children:formatTime(selectedSlot,tz)})]}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>setStep(\"time\"),className:\"cal-change-btn\",children:changeLabel})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:fieldGap},children:[/*#__PURE__*/_jsx(\"input\",{className:\"cal-field\",type:\"text\",placeholder:namePlaceholder,value:name,onChange:e=>setName(e.target.value)}),/*#__PURE__*/_jsx(\"input\",{className:\"cal-field\",type:\"email\",placeholder:emailPlaceholder,value:email,onChange:e=>setEmail(e.target.value)}),eventInfo?.custom_questions?.map(q=>{const value=customAnswers[q.position]||\"\";const setValue=v=>setCustomAnswers(prev=>({...prev,[q.position]:v}));const label=q.name+(q.required?\" *\":\"\");if(q.type===\"text\"){return /*#__PURE__*/_jsx(\"textarea\",{className:\"cal-field\",placeholder:label,value:value,onChange:e=>setValue(e.target.value),rows:4,style:{minHeight:isMobile?110:140,resize:\"vertical\"}},q.position);}if(q.type===\"single_select\"||q.type===\"radio_button\"){return /*#__PURE__*/_jsxs(\"select\",{className:\"cal-field\",value:value,onChange:e=>setValue(e.target.value),children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",children:label}),q.answer_choices.map(c=>/*#__PURE__*/_jsx(\"option\",{value:c,children:c},c))]},q.position);}return /*#__PURE__*/_jsx(\"input\",{className:\"cal-field\",type:\"text\",placeholder:label,value:value,onChange:e=>setValue(e.target.value)},q.position);})]}),/*#__PURE__*/_jsx(\"button\",{className:\"cal-submit\",onClick:handleBook,disabled:isSubmitDisabled,style:{marginTop:isMobile?14:20},children:submitLabel})]},\"form\")]});}return null;}// ─── Defaults ─────────────────────────────────────────────────────────────────\nCalendlyBooking.defaultProps={calendlyToken:\"\",eventTypeUri:\"\",redirectUrl:\"\",step1Label:\"Step 1\",step1Title:\"Select a day\",step2Label:\"Step 2\",step2Title:\"Select a time\",step3Label:\"Step 3\",step3Title:\"Enter details\",backLabel:\"Back\",changeLabel:\"Change\",timezoneLabel:\"Your Time Zone\",namePlaceholder:\"Your name\",emailPlaceholder:\"Email address\",submitLabel:\"Confirm Booking\",preparingFormLabel:\"Preparing a form..\",bookingLabel:\"Booking a meeting..\",noSlotsLabel:\"No available slots\",successMessage:\"Successfully booked!\",errorBannerPrefix:\"Oops!\",bodyFont:\"Roboto, system-ui, sans-serif\",serifFont:\"PT Serif, Georgia, serif\",textPrimary:\"#353228\",textMuted:\"#918F87\",bgColor:\"#FFFFFF\",dividerColor:\"#EEECE2\",accentColor:\"#B9DEA3\",accentHover:\"#9BC77D\",unavailableBg:\"#EBEAE5\",unavailableText:\"#918F87\",inputBg:\"#EDECE2\",inputBorderActive:\"#353228\",inputPlaceholder:\"rgba(53, 50, 40, 0.5)\",errorBg:\"#FAEEE6\",errorText:\"#C87A5E\",borderRadius:12,inputRadius:8,pillRadius:168,minHeight:680,fixedHeight:0};// ─── Property Controls ────────────────────────────────────────────────────────\naddPropertyControls(CalendlyBooking,{calendlyToken:{type:ControlType.String,title:\"API Token\",description:\"Calendly Personal Access Token\",defaultValue:\"\"},eventTypeUri:{type:ControlType.String,title:\"Event Type URI\",description:\"Full URI from Calendly API\",defaultValue:\"\"},redirectUrl:{type:ControlType.String,title:\"Redirect URL\",defaultValue:\"\"},step1Label:{type:ControlType.String,title:\"Step 1 Label\",defaultValue:\"Step 1\"},step1Title:{type:ControlType.String,title:\"Step 1 Title\",defaultValue:\"Select a day\"},step2Label:{type:ControlType.String,title:\"Step 2 Label\",defaultValue:\"Step 2\"},step2Title:{type:ControlType.String,title:\"Step 2 Title\",defaultValue:\"Select a time\"},step3Label:{type:ControlType.String,title:\"Step 3 Label\",defaultValue:\"Step 3\"},step3Title:{type:ControlType.String,title:\"Step 3 Title\",defaultValue:\"Enter details\"},backLabel:{type:ControlType.String,title:\"Back Label\",defaultValue:\"Back\"},changeLabel:{type:ControlType.String,title:\"Change Label\",defaultValue:\"Change\"},timezoneLabel:{type:ControlType.String,title:\"Timezone Label\",defaultValue:\"Your Time Zone\"},namePlaceholder:{type:ControlType.String,title:\"Name Placeholder\",defaultValue:\"Your name\"},emailPlaceholder:{type:ControlType.String,title:\"Email Placeholder\",defaultValue:\"Email address\"},submitLabel:{type:ControlType.String,title:\"Submit Label\",defaultValue:\"Confirm Booking\"},preparingFormLabel:{type:ControlType.String,title:\"Preparing Form\",defaultValue:\"Preparing a form..\"},bookingLabel:{type:ControlType.String,title:\"Booking Label\",defaultValue:\"Booking a meeting..\"},noSlotsLabel:{type:ControlType.String,title:\"No Slots\",defaultValue:\"No available slots\"},successMessage:{type:ControlType.String,title:\"Success\",defaultValue:\"Successfully booked!\"},errorBannerPrefix:{type:ControlType.String,title:\"Error Prefix\",defaultValue:\"Oops!\"},bodyFont:{type:ControlType.String,title:\"Body Font\",defaultValue:\"Roboto, system-ui, sans-serif\"},serifFont:{type:ControlType.String,title:\"Serif Font\",defaultValue:\"PT Serif, Georgia, serif\"},textPrimary:{type:ControlType.Color,title:\"Text Primary\",defaultValue:\"#353228\"},textMuted:{type:ControlType.Color,title:\"Text Muted\",defaultValue:\"#918F87\"},bgColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},dividerColor:{type:ControlType.Color,title:\"Divider\",defaultValue:\"#EEECE2\"},accentColor:{type:ControlType.Color,title:\"Accent (Green)\",defaultValue:\"#B9DEA3\"},accentHover:{type:ControlType.Color,title:\"Accent Hover\",defaultValue:\"#9BC77D\"},unavailableBg:{type:ControlType.Color,title:\"Unavailable BG\",defaultValue:\"#EBEAE5\"},unavailableText:{type:ControlType.Color,title:\"Unavailable Text\",defaultValue:\"#918F87\"},inputBg:{type:ControlType.Color,title:\"Input BG\",defaultValue:\"#EDECE2\"},inputBorderActive:{type:ControlType.Color,title:\"Input Active Border\",defaultValue:\"#353228\"},inputPlaceholder:{type:ControlType.Color,title:\"Placeholder\",defaultValue:\"rgba(53, 50, 40, 0.5)\"},errorBg:{type:ControlType.Color,title:\"Error BG\",defaultValue:\"#FAEEE6\"},errorText:{type:ControlType.Color,title:\"Error Text\",defaultValue:\"#C87A5E\"},borderRadius:{type:ControlType.Number,title:\"Card Radius\",defaultValue:12,min:0,max:48},inputRadius:{type:ControlType.Number,title:\"Input Radius\",defaultValue:8,min:0,max:32},pillRadius:{type:ControlType.Number,title:\"Pill Radius\",defaultValue:168,min:0,max:200},minHeight:{type:ControlType.Number,title:\"Min Height\",description:\"Used when Fixed Height is 0\",defaultValue:680,min:400,max:1200},fixedHeight:{type:ControlType.Number,title:\"Fixed Height\",description:\"0 = auto-grow with content. Any value > 0 locks height and enables scroll.\",defaultValue:0,min:0,max:1200}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CalendlyBooking\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FineCalendlyBooking.map"],"mappings":"wNACA,SAAS,GAAM,EAAE,CAAC,OAAO,EAAE,aAAa,CAAE,SAAS,GAAW,EAAK,EAAM,CAAC,IAAM,EAAE,IAAI,KAAK,EAAK,EAAM,EAAE,CAAqB,OAApB,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,CAAQ,EAAG,SAAS,GAAS,EAAK,EAAM,CAAC,IAAM,EAAE,IAAI,KAAK,EAAK,EAAM,EAAE,EAAE,CAAqB,OAApB,EAAE,SAAS,EAAE,EAAE,EAAE,EAAE,CAAQ,EAAG,SAAS,GAAgB,EAAE,CAAC,OAAO,EAAE,mBAAmB,QAAQ,CAAC,MAAM,OAAO,KAAK,UAAU,CAAC,CAAE,SAAS,GAAe,EAAE,CAAC,OAAO,EAAE,mBAAmB,QAAQ,CAAC,QAAQ,OAAO,MAAM,OAAO,IAAI,UAAU,CAAC,CAAE,SAAS,GAAW,EAAI,EAAG,CAAC,GAAG,CAAC,OAAO,IAAI,KAAK,EAAI,CAAC,mBAAmB,QAAQ,CAAC,KAAK,UAAU,OAAO,UAAU,OAAO,GAAK,SAAS,EAAG,CAAC,CAAC,aAAa,MAAO,CAAC,OAAO,IAAI,K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