{"version":3,"file":"CustomTourForm.DksDoblb.mjs","names":["React.useMemo","React.useState","React.useCallback","React.useRef","_Fragment","__esmMin","ne","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","pe","le","ce","init_jsx_runtime","p","_e","de","init_framer_BWFVvmND","RenderTarget","addPropertyControls","ControlType","BookTour","props","isCanvas","centreSlug","centre","previewCentre","centreFromUrl","today","t","firstBookable","view","setView","selectedDate","setSelectedDate","selectedTime","setSelectedTime","jfSlots","setJfSlots","jfMonths","setJfMonths","monthKey","pad","apiBase","s","last","url","toKey","r","json","reloadMonth","key","dateKey","next","monthStatus","isDateOpen","date","y","m","d","limit","maxMonthsAhead","day","cells","offset","days","out","maxDate","viewIndex","canPrev","canNext","autoSkip","setAutoSkip","shiftMonth","byUser","v","delta","slotMessage","setSlotMessage","selectDate","timeLabel","timeOptions","free","freeCount","selectedHeading","WEEKDAYS_LONG","MONTHS","ready","rootRef","liveStep","setLiveStep","step","previewStep","goTo","el","handleContinue","onContinue","details","setDetails","EMPTY_DETAILS","errors","setErrors","submitting","setSubmitting","submitError","setSubmitError","setField","value","e","toggleDay","has","validate","req","EMAIL_RE","isValidPhone","firstError","payload","params","tracking","UTM_KEYS","k","finish","onSubmit","successLink","slotTaken","handleSubmit","res","canvasMode","setCanvasMode","layout","update","w","ro","modeClass","scale","setScale","MAX_SCALE","DESIGN_WIDTH","vars","accent","accentText","accentSoft","accentStrong","buttonDisabled","textColor","mutedColor","borderColor","disabledBg","background","errorColor","DEFAULT_FONT_SIZES","fontSizes","input","extra","dayShape","style","font","radius","padding","CSS","l","StepTitle","dateStepTitle","Chevron","WEEKDAY_HEADERS","i","open","selected","weekend","isToday","legendText","timeStepTitle","CalendarIcon","timezoneNote","booked","Check","emptyTimeText","summaryLabel","footerText","buttonLabel","Arrow","detailsStepTitle","Field","careDays","on","referralOptions","o","detailsFooterText","backLabel","submitLabel","successTitle","successText","label","required","children","n","dir","PHONE_RE","fs","tabletRules","mobileRules","scalePx","sizeControl","init_CustomTourForm","digits","parts","css"],"sources":["https:/framerusercontent.com/modules/vlkIuz1lAcxi0YATEIXt/Te4ztjFY4Nk64zLQqdBu/CustomTourForm.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";/**\n * Book Tour – two-step booking form\n * Step 1: date & time. Step 2: family details. Then submit.\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 843\n */const MONTHS=[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"];const WEEKDAYS_LONG=[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"];const WEEKDAY_HEADERS=[\"M\",\"T\",\"W\",\"T\",\"F\",\"S\",\"S\"];const pad=n=>String(n).padStart(2,\"0\");const toKey=(y,m,d)=>`${y}-${pad(m+1)}-${pad(d)}`;const EMAIL_RE=/^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;// Digits plus optional + ( ) - and spaces, with 8–15 actual digits\nconst PHONE_RE=/^[+()\\d\\s-]+$/;const isValidPhone=s=>{const digits=s.replace(/\\D/g,\"\").length;return PHONE_RE.test(s)&&digits>=8&&digits<=15;};// Desktop layout is designed at this card width (desktop-ref); wider cards\n// scale up to MAX_SCALE so the design keeps its proportions\nconst DESIGN_WIDTH=843;const MAX_SCALE=1.6;// Font sizes (px at the design width). Each one is adjustable in the\n// \"Font Sizes\" group of the properties panel.\nconst DEFAULT_FONT_SIZES={title:18,stepNumber:15,month:16,weekday:12,day:14,dateHeading:16,time:15,note:12,summary:16,eyebrow:12,pill:11,label:12,input:12,chip:11,error:10,footer:13,button:15,successText:12};// Tracking params passed through from the page URL to Jotform\nconst UTM_KEYS=[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_content\",\"gclid\"];// Last part of the page URL: tga.edu.au/bexley -> \"bexley\"\nconst centreFromUrl=()=>{if(typeof window===\"undefined\")return\"\";const parts=window.location.pathname.split(\"/\").filter(Boolean);return decodeURIComponent(parts[parts.length-1]||\"\");};const EMPTY_DETAILS={parent_first_name:\"\",parent_last_name:\"\",email:\"\",mobile:\"\",child_first_name:\"\",child_last_name:\"\",child_dob:\"\",start_date:\"\",days_required:[],comments:\"\",referral_source:\"\"};export default function BookTour(props){const{dateStepTitle,timeStepTitle,detailsStepTitle,timezoneNote,footerText,summaryLabel,legendText,buttonLabel,emptyTimeText,detailsFooterText,backLabel,submitLabel,successTitle,successText,centre,previewCentre,apiBase,maxMonthsAhead,careDays,referralOptions,successLink,previewStep,layout,accent,accentText,accentSoft,accentStrong,buttonDisabled,dayShape,textColor,mutedColor,borderColor,disabledBg,background,errorColor,radius,padding,font,fontSizes,onContinue,onSubmit,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;// Centre set in Framer (e.g. bound to a CMS field), else from the page URL.\n// The canvas has no real page URL, so it previews a fixed centre.\nconst centreSlug=React.useMemo(()=>{if(centre?.trim())return centre.trim();if(isCanvas)return previewCentre?.trim()||\"\";return centreFromUrl();},[centre,previewCentre,isCanvas]);/* ---------------- Step 1: date & time ---------------- */const today=React.useMemo(()=>{const t=new Date;t.setHours(0,0,0,0);return t;},[]);// Jotform applies each centre's own minimum notice, so start from today\nconst firstBookable=today;const[view,setView]=React.useState(()=>({y:firstBookable.getFullYear(),m:firstBookable.getMonth()}));const[selectedDate,setSelectedDate]=React.useState(null);const[selectedTime,setSelectedTime]=React.useState(null);/* ----- Centre availability from Jotform, loaded one month at a time ----- */const[jfSlots,setJfSlots]=React.useState({});const[jfMonths,setJfMonths]=React.useState({});const monthKey=`${view.y}-${pad(view.m+1)}`;// Start over when the centre changes\nReact.useEffect(()=>{setJfSlots({});setJfMonths({});},[centreSlug,apiBase]);React.useEffect(()=>{if(!apiBase)return;if(jfMonths[monthKey])return;if(!centreSlug){setJfMonths(s=>({...s,[monthKey]:\"unknown\"}));return;}setJfMonths(s=>({...s,[monthKey]:\"loading\"}));const last=new Date(view.y,view.m+1,0).getDate();const url=`${apiBase.replace(/\\/$/,\"\")}/tga_framer_tour_slots`+`?campus=${encodeURIComponent(centreSlug)}`+`&start=${toKey(view.y,view.m,1)}`+`&end=${toKey(view.y,view.m,last)}`;fetch(url).then(async r=>{// 404 = the URL isn't one of the centres\nif(r.status===404){setJfMonths(s=>({...s,[monthKey]:\"unknown\"}));return;}if(!r.ok)throw new Error(String(r.status));const json=await r.json();setJfSlots(s=>({...s,...json?.slots||{}}));setJfMonths(s=>({...s,[monthKey]:\"ok\"}));}).catch(()=>setJfMonths(s=>({...s,[monthKey]:\"error\"})));},[apiBase,centreSlug,monthKey,jfMonths,view]);// Forget a month so it loads again, e.g. after a slot was taken\nconst reloadMonth=dateKey=>{const key=dateKey.slice(0,7);setJfMonths(s=>{const next={...s};delete next[key];return next;});};const monthStatus=jfMonths[monthKey];const isDateOpen=React.useCallback((y,m,d)=>{const date=new Date(y,m,d);if(date<firstBookable)return false;const limit=new Date(today);limit.setMonth(limit.getMonth()+(maxMonthsAhead||12));if(date>limit)return false;// Open when the centre has at least one free slot that day\nconst day=jfSlots[toKey(y,m,d)];return!!day&&Object.values(day).some(Boolean);},[firstBookable,today,maxMonthsAhead,jfSlots]);// Calendar grid (Monday first)\nconst cells=React.useMemo(()=>{const first=new Date(view.y,view.m,1);const offset=(first.getDay()+6)%7;const days=new Date(view.y,view.m+1,0).getDate();const out=Array(offset).fill(null);for(let d=1;d<=days;d++)out.push(d);return out;},[view]);const maxDate=new Date(today);maxDate.setMonth(maxDate.getMonth()+(maxMonthsAhead||12));const viewIndex=view.y*12+view.m;const canPrev=viewIndex>firstBookable.getFullYear()*12+firstBookable.getMonth();const canNext=viewIndex<maxDate.getFullYear()*12+maxDate.getMonth();// Until the visitor moves the calendar themselves, skip ahead past\n// months with no free tours (e.g. the last days of this month)\nconst[autoSkip,setAutoSkip]=React.useState(true);const shiftMonth=(delta,byUser=true)=>{if(byUser)setAutoSkip(false);setView(v=>{const d=new Date(v.y,v.m+delta,1);return{y:d.getFullYear(),m:d.getMonth()};});};React.useEffect(()=>{if(!autoSkip||monthStatus!==\"ok\")return;const days=new Date(view.y,view.m+1,0).getDate();for(let d=1;d<=days;d++){if(isDateOpen(view.y,view.m,d)){setAutoSkip(false);return;}}if(canNext)shiftMonth(1,false);else setAutoSkip(false);},[autoSkip,monthStatus,view,isDateOpen,canNext]);// Shown above the times, e.g. when the picked slot was just taken\nconst[slotMessage,setSlotMessage]=React.useState(\"\");const selectDate=key=>{setSelectedDate(key);setSelectedTime(null);setSlotMessage(\"\");};// Jotform times read \"10:30 AM\"; show them as \"10:30 am\"\nconst timeLabel=t=>t.toLowerCase();const timeOptions=React.useMemo(()=>{if(!selectedDate)return[];return Object.entries(jfSlots[selectedDate]||{}).map(([t,free])=>({value:t,booked:!free}));},[selectedDate,jfSlots]);const freeCount=timeOptions.filter(t=>!t.booked).length;const selectedHeading=React.useMemo(()=>{if(!selectedDate)return\"\";const[y,m,d]=selectedDate.split(\"-\").map(Number);const date=new Date(y,m-1,d);return`${WEEKDAYS_LONG[date.getDay()]}, ${d} ${MONTHS[m-1]}`;},[selectedDate]);const ready=!!selectedDate&&!!selectedTime;/* ---------------- Steps ---------------- */const rootRef=React.useRef(null);const[liveStep,setLiveStep]=React.useState(\"datetime\");// On the canvas, show whichever step is picked in the properties panel\nconst step=isCanvas?previewStep:liveStep;const goTo=next=>{setLiveStep(next);// Bring the top of the card into view when the step changes\nrequestAnimationFrame(()=>{const el=rootRef.current;if(el&&el.getBoundingClientRect().top<0){el.scrollIntoView({behavior:\"smooth\",block:\"start\"});}});};const handleContinue=()=>{if(!ready)return;onContinue?.();goTo(\"details\");};/* ---------------- Step 2: details ---------------- */const[details,setDetails]=React.useState(EMPTY_DETAILS);const[errors,setErrors]=React.useState({});const[submitting,setSubmitting]=React.useState(false);const[submitError,setSubmitError]=React.useState(\"\");const setField=(key,value)=>{setDetails(d=>({...d,[key]:value}));if(errors[key])setErrors(e=>({...e,[key]:undefined}));};const toggleDay=day=>{const has=details.days_required.includes(day);setField(\"days_required\",has?details.days_required.filter(d=>d!==day):[...details.days_required,day]);};const validate=()=>{const e={};const req=\"This field is required.\";if(!details.parent_first_name.trim())e.parent_first_name=req;if(!details.parent_last_name.trim())e.parent_last_name=req;if(!details.email.trim())e.email=req;else if(!EMAIL_RE.test(details.email.trim()))e.email=\"Please enter a valid email address.\";if(!details.mobile.trim())e.mobile=req;else if(!isValidPhone(details.mobile.trim()))e.mobile=\"Please enter 8–15 digits, e.g. 0412 345 678 or +61 412 345 678.\";if(!details.child_first_name.trim())e.child_first_name=req;if(!details.child_last_name.trim())e.child_last_name=req;if(!details.child_dob)e.child_dob=req;if(!details.start_date)e.start_date=req;if(!details.days_required.length)e.days_required=\"Please choose at least one day.\";if(!details.referral_source)e.referral_source=req;setErrors(e);const firstError=Object.keys(e)[0];if(firstError){rootRef.current?.querySelector(`[data-field=\"${firstError}\"]`)?.scrollIntoView({behavior:\"smooth\",block:\"center\"});}return!firstError;};// Booking sent to the TGA API: details, the centre and any tracking params\nconst payload=()=>{const params=new URLSearchParams(window.location.search);const tracking={};UTM_KEYS.forEach(k=>{const v=params.get(k);if(v)tracking[k]=v;});return{...details,...tracking,campus:centreSlug,tour_date:selectedDate??\"\",tour_time:selectedTime??\"\"};};const finish=()=>{onSubmit?.();if(successLink)window.location.href=successLink;else goTo(\"done\");};// The time was taken by someone else: back to step 1 with fresh slots\nconst slotTaken=()=>{if(selectedDate)reloadMonth(selectedDate);setSelectedTime(null);setSlotMessage(\"Sorry, that time has just been booked. Please choose another time.\");goTo(\"datetime\");};const handleSubmit=async()=>{if(!validate())return;if(!apiBase){setSubmitError(\"No TGA API URL set.\");return;}setSubmitting(true);setSubmitError(\"\");try{const res=await fetch(`${apiBase.replace(/\\/$/,\"\")}/tga_framer_tour_book`,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(payload())});// WordPress answers 409 when Jotform says the slot is gone\nif(res.status===409){slotTaken();return;}if(!res.ok)throw new Error(String(res.status));const json=await res.json().catch(()=>null);// Dry run on the server: nothing was booked, show what would be sent\nif(json?.dry_run)console.log(\"[Book Tour] Dry run, not submitted:\",json);finish();}catch{setSubmitError(\"Something went wrong. Please try again.\");}finally{setSubmitting(false);}};/* ---------------- Responsive ---------------- */// On the live site \"auto\" follows the viewport through CSS media queries\n// (desktop ≥1200, tablet 810–1199, mobile <810), so there is no flash on\n// load. The canvas has no real viewport per breakpoint, so there we pick\n// a layout from the component's width.\nconst[canvasMode,setCanvasMode]=React.useState(\"desktop\");React.useLayoutEffect(()=>{if(!isCanvas||layout!==\"auto\")return;const el=rootRef.current;if(!el||typeof ResizeObserver===\"undefined\")return;const update=()=>{const w=el.offsetWidth;setCanvasMode(w>=760?\"desktop\":w>=600?\"tablet\":\"mobile\");};update();const ro=new ResizeObserver(update);ro.observe(el);return()=>ro.disconnect();},[isCanvas,layout]);const modeClass=layout!==\"auto\"?` is-${layout}`:isCanvas?` is-${canvasMode}`:\" is-auto\";// Desktop is designed at DESIGN_WIDTH (desktop-ref). On a wider card, scale\n// text, boxes and spacing up together so it keeps the same proportions\n// instead of only stretching sideways. Tablet and mobile stay at 1.\nconst[scale,setScale]=React.useState(1);React.useLayoutEffect(()=>{const el=rootRef.current;if(!el)return;const update=()=>{const desktop=layout===\"desktop\"||layout===\"auto\"&&(isCanvas?canvasMode===\"desktop\":window.innerWidth>=1200);const next=desktop?Math.min(MAX_SCALE,Math.max(1,el.offsetWidth/DESIGN_WIDTH)):1;setScale(Math.round(next*1e3)/1e3);};update();const ro=typeof ResizeObserver!==\"undefined\"?new ResizeObserver(update):null;ro?.observe(el);window.addEventListener(\"resize\",update);return()=>{ro?.disconnect();window.removeEventListener(\"resize\",update);};},[layout,isCanvas,canvasMode]);// Font sizes from the panel, falling back to the defaults, as\n// unitless CSS variables (--bt-fs-title: 18, …)\nconst fontVars=React.useMemo(()=>{const out={};Object.keys(DEFAULT_FONT_SIZES).forEach(k=>{const v=fontSizes?.[k];out[`--bt-fs-${k}`]=typeof v===\"number\"&&v>0?v:DEFAULT_FONT_SIZES[k];});return out;},[fontSizes]);const vars={\"--bt-accent\":accent,\"--bt-accent-text\":accentText,\"--bt-accent-soft\":accentSoft,\"--bt-strong\":accentStrong,\"--bt-btn-off\":buttonDisabled,\"--bt-text\":textColor,\"--bt-muted\":mutedColor,\"--bt-border\":borderColor,\"--bt-disabled\":disabledBg,\"--bt-bg\":background,\"--bt-error\":errorColor,\"--bt-s\":scale,...fontVars};const input=(key,placeholder,type=\"text\",extra={})=>/*#__PURE__*/_jsxs(\"div\",{className:\"bt-input-wrap\",\"data-field\":key,children:[/*#__PURE__*/_jsx(\"input\",{className:\"bt-input\"+(errors[key]?\" has-error\":\"\"),type:type,name:key,placeholder:placeholder,value:details[key],onChange:e=>setField(key,e.target.value),\"aria-invalid\":!!errors[key],...extra}),errors[key]&&/*#__PURE__*/_jsx(\"span\",{className:\"bt-error\",children:errors[key]})]});return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"bt-root\"+modeClass+(dayShape===\"rounded\"?\" is-rounded\":\"\"),style:{...vars,...style,fontFamily:font?.fontFamily,background,borderRadius:radius*scale,padding:padding*scale},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),step===\"datetime\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{className:\"bt-columns\",children:[/*#__PURE__*/_jsxs(\"section\",{className:\"bt-col\",children:[/*#__PURE__*/_jsx(StepTitle,{n:1,label:dateStepTitle}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-month\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"bt-month-label\",children:[MONTHS[view.m],\" \",view.y]}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-month-nav\",children:[/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"bt-nav\",onClick:()=>shiftMonth(-1),disabled:!canPrev,\"aria-label\":\"Previous month\",children:/*#__PURE__*/_jsx(Chevron,{dir:\"left\"})}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"bt-nav\",onClick:()=>shiftMonth(1),disabled:!canNext,\"aria-label\":\"Next month\",children:/*#__PURE__*/_jsx(Chevron,{dir:\"right\"})})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"bt-grid bt-weekdays\",children:WEEKDAY_HEADERS.map((w,i)=>/*#__PURE__*/_jsx(\"span\",{className:i>4?\"is-weekend\":\"\",children:w},i))}),/*#__PURE__*/_jsx(\"div\",{className:\"bt-grid\",role:\"grid\",children:cells.map((d,i)=>{if(d===null)return /*#__PURE__*/_jsx(\"span\",{},`e${i}`);const key=toKey(view.y,view.m,d);const open=isDateOpen(view.y,view.m,d);const selected=selectedDate===key;const weekend=i%7>=5;const isToday=key===toKey(today.getFullYear(),today.getMonth(),today.getDate());return /*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"bt-day\"+(open?\" is-open\":\" is-closed\")+(selected?\" is-selected\":\"\")+(weekend?\" is-weekend\":\"\")+(isToday?\" is-today\":\"\"),disabled:!open,\"aria-pressed\":selected,onClick:()=>selectDate(key),children:d},key);})}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-legend\",children:[/*#__PURE__*/_jsx(\"i\",{className:\"bt-swatch is-open\"}),legendText]}),monthStatus===\"loading\"&&/*#__PURE__*/_jsx(\"div\",{className:\"bt-note bt-status\",children:\"Loading tour times…\"}),monthStatus===\"unknown\"&&/*#__PURE__*/_jsx(\"div\",{className:\"bt-error bt-status\",children:centreSlug?`Tours can't be booked online for \"${centreSlug}\".`:\"No centre found for this page.\"}),monthStatus===\"error\"&&/*#__PURE__*/_jsxs(\"div\",{className:\"bt-error bt-status\",children:[\"Couldn't load tour times.\",\" \",/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"bt-link\",onClick:()=>reloadMonth(monthKey),children:\"Try again\"})]})]}),/*#__PURE__*/_jsxs(\"section\",{className:\"bt-col\",children:[/*#__PURE__*/_jsx(StepTitle,{n:2,label:timeStepTitle}),/*#__PURE__*/_jsx(\"div\",{className:\"bt-panel\",children:selectedDate?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{className:\"bt-date-heading\",children:[/*#__PURE__*/_jsx(CalendarIcon,{}),selectedHeading.replace(\",\",\"\")]}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-note\",children:[freeCount===1?\"1 time left\":`${freeCount} times left`,timezoneNote?` \\xb7 ${timezoneNote}`:\"\"]}),slotMessage&&/*#__PURE__*/_jsx(\"div\",{className:\"bt-error bt-status\",children:slotMessage}),/*#__PURE__*/_jsx(\"div\",{className:\"bt-times\",children:timeOptions.map(({value:t,booked})=>{const selected=selectedTime===t;return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"bt-time\"+(booked?\" is-booked\":\"\")+(selected?\" is-selected\":\"\"),disabled:booked,\"aria-pressed\":selected,onClick:()=>{setSelectedTime(t);setSlotMessage(\"\");},children:[selected&&/*#__PURE__*/_jsx(Check,{}),timeLabel(t)]},t);})})]}):/*#__PURE__*/_jsx(\"div\",{className:\"bt-note bt-empty\",children:emptyTimeText})})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-footer\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"bt-summary-bar\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"bt-eyebrow\",children:summaryLabel}),/*#__PURE__*/_jsx(\"p\",{className:ready?\"is-ready\":\"\",children:ready?`${selectedHeading.replace(\",\",\"\")} \\xb7 ${timeLabel(selectedTime)}`:footerText})]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"bt-btn bt-btn-primary\",disabled:!ready,onClick:handleContinue,children:[buttonLabel,/*#__PURE__*/_jsx(Arrow,{})]})]})]}),step===\"details\"&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{className:\"bt-details-head\",children:[/*#__PURE__*/_jsx(StepTitle,{n:3,label:detailsStepTitle}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-summary\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"bt-summary-icon\",children:/*#__PURE__*/_jsx(CalendarIcon,{})}),/*#__PURE__*/_jsxs(\"span\",{children:[selectedHeading||\"Tuesday, 17 November\",\" \\xb7 \",selectedTime?timeLabel(selectedTime):\"10:30 am\"]}),/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"bt-link\",onClick:()=>goTo(\"datetime\"),children:\"Change\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-fields\",children:[/*#__PURE__*/_jsx(Field,{label:\"Parent Name\",required:true,children:/*#__PURE__*/_jsxs(\"div\",{className:\"bt-pair\",children:[input(\"parent_first_name\",\"First Name\",\"text\",{autoComplete:\"given-name\"}),input(\"parent_last_name\",\"Last Name\",\"text\",{autoComplete:\"family-name\"})]})}),/*#__PURE__*/_jsx(Field,{label:\"Email\",required:true,children:input(\"email\",\"example@example.com\",\"email\",{autoComplete:\"email\"})}),/*#__PURE__*/_jsx(Field,{label:\"Mobile\",required:true,children:input(\"mobile\",\"e.g. 0412 345 678\",\"tel\",{autoComplete:\"tel\"})}),/*#__PURE__*/_jsx(Field,{label:\"Child's Name\",required:true,children:/*#__PURE__*/_jsxs(\"div\",{className:\"bt-pair\",children:[input(\"child_first_name\",\"First Name\"),input(\"child_last_name\",\"Last Name\")]})}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-pair bt-pair-fields\",children:[/*#__PURE__*/_jsx(Field,{label:\"Child's DOB\",required:true,children:input(\"child_dob\",\"DD-MM-YYYY\",\"date\",{max:toKey(today.getFullYear(),today.getMonth(),today.getDate())})}),/*#__PURE__*/_jsx(Field,{label:\"Proposed Date to Start Care\",required:true,children:input(\"start_date\",\"DD-MM-YYYY\",\"date\")})]}),/*#__PURE__*/_jsxs(Field,{label:\"Days Required\",required:true,children:[/*#__PURE__*/_jsx(\"div\",{className:\"bt-days\",\"data-field\":\"days_required\",children:(careDays||[]).map(day=>{const on=details.days_required.includes(day);return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"bt-chip\"+(on?\" is-selected\":\"\"),\"aria-pressed\":on,onClick:()=>toggleDay(day),children:[on&&/*#__PURE__*/_jsx(Check,{}),day]},day);})}),errors.days_required&&/*#__PURE__*/_jsx(\"span\",{className:\"bt-error\",children:errors.days_required})]}),/*#__PURE__*/_jsx(Field,{label:\"Comments or Special Requirements\",children:/*#__PURE__*/_jsx(\"textarea\",{className:\"bt-input bt-textarea\",name:\"comments\",placeholder:\"Type here...\",rows:3,value:details.comments,onChange:e=>setField(\"comments\",e.target.value)})}),/*#__PURE__*/_jsx(Field,{label:\"Referral Source\",required:true,children:/*#__PURE__*/_jsxs(\"div\",{className:\"bt-input-wrap bt-select-wrap\",\"data-field\":\"referral_source\",children:[/*#__PURE__*/_jsxs(\"select\",{className:\"bt-input bt-select\"+(details.referral_source?\"\":\" is-placeholder\")+(errors.referral_source?\" has-error\":\"\"),name:\"referral_source\",value:details.referral_source,onChange:e=>setField(\"referral_source\",e.target.value),children:[/*#__PURE__*/_jsx(\"option\",{value:\"\",disabled:true,children:\"Please Select\"}),(referralOptions||[]).map(o=>/*#__PURE__*/_jsx(\"option\",{value:o,children:o},o))]}),/*#__PURE__*/_jsx(\"span\",{className:\"bt-select-arrow\",children:/*#__PURE__*/_jsx(Chevron,{dir:\"down\"})}),errors.referral_source&&/*#__PURE__*/_jsx(\"span\",{className:\"bt-error\",children:errors.referral_source})]})})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-footer\",children:[/*#__PURE__*/_jsx(\"p\",{children:detailsFooterText}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-actions\",children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"bt-btn bt-btn-secondary\",onClick:()=>goTo(\"datetime\"),children:[/*#__PURE__*/_jsx(Chevron,{dir:\"left\"}),backLabel]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"bt-btn bt-btn-primary\",disabled:submitting,onClick:handleSubmit,children:[submitting?\"Sending…\":submitLabel,!submitting&&/*#__PURE__*/_jsx(Arrow,{})]})]})]}),submitError&&/*#__PURE__*/_jsx(\"div\",{className:\"bt-error bt-submit-error\",children:submitError})]}),step===\"done\"&&/*#__PURE__*/_jsxs(\"div\",{className:\"bt-done\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"bt-done-icon\",children:/*#__PURE__*/_jsx(Check,{})}),/*#__PURE__*/_jsx(\"div\",{className:\"bt-done-title\",children:successTitle}),/*#__PURE__*/_jsxs(\"div\",{className:\"bt-done-when\",children:[selectedHeading||\"Tuesday, 17 November\",\" \\xb7\",\" \",selectedTime?timeLabel(selectedTime):\"10:30 am\"]}),/*#__PURE__*/_jsx(\"p\",{className:\"bt-done-text\",children:successText})]})]});}function Field({label,required,children}){return /*#__PURE__*/_jsxs(\"div\",{className:\"bt-field\",children:[/*#__PURE__*/_jsxs(\"label\",{className:\"bt-label\",children:[label,required&&/*#__PURE__*/_jsx(\"span\",{className:\"bt-required\",children:\"*\"})]}),children]});}function StepTitle({n,label}){return /*#__PURE__*/_jsxs(\"div\",{className:\"bt-step\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"bt-step-num\",children:n}),/*#__PURE__*/_jsx(\"span\",{className:\"bt-step-label\",children:label})]});}function Chevron({dir}){const d={left:\"M15 6l-6 6 6 6\",right:\"M9 6l6 6-6 6\",down:\"M6 9l6 6 6-6\"}[dir];return /*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:d,stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function Check(){return /*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12.5l4.5 4.5L19 7.5\",stroke:\"currentColor\",strokeWidth:\"2.2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function Arrow(){return /*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 6l6 6-6 6\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})});}function CalendarIcon(){return /*#__PURE__*/_jsxs(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3.5\",y:\"5\",width:\"17\",height:\"15\",rx:\"2.5\",stroke:\"currentColor\",strokeWidth:\"1.8\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 10h17M8 3v4M16 3v4\",stroke:\"currentColor\",strokeWidth:\"1.8\",strokeLinecap:\"round\"})]});}// A font size from the panel, scaled with the card on desktop\nconst fs=k=>`calc(var(--bt-fs-${k}) * 1px * var(--bt-s, 1))`;// Tablet: still two columns, slightly tighter\nconst tabletRules=s=>`\n${s} .bt-columns { column-gap: 24px; }\n${s} .bt-grid { gap: 2px; }\n`;// Mobile (matches mobile-ref): stacked columns, bigger tap targets,\n// footer text above full-width buttons. Labels and chips go up a touch\n// from the panel sizes; inputs stay at least 16px so iOS doesn't zoom in.\nconst mobileRules=s=>`\n${s} .bt-columns { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }\n${s} .bt-step { margin-bottom: 16px; }\n${s} .bt-grid { gap: 2px; }\n${s} .bt-times { gap: 10px; }\n${s} .bt-footer { flex-direction: column; align-items: stretch; gap: 16px; }\n${s} .bt-footer p { flex: none; }\n${s} .bt-btn { width: 100%; height: 52px; justify-content: center; }\n${s} .bt-actions { flex-direction: column-reverse; width: 100%; gap: 10px; }\n${s} .bt-details-head { flex-direction: column; align-items: flex-start; gap: 0; }\n${s} .bt-pair { grid-template-columns: minmax(0, 1fr); }\n${s} .bt-label { font-size: calc((var(--bt-fs-label) + 1) * 1px); }\n${s} .bt-input { height: 46px; font-size: max(16px, calc(var(--bt-fs-input) * 1px)); }\n${s} .bt-textarea { height: auto; }\n${s} .bt-chip { height: 44px; font-size: calc((var(--bt-fs-chip) + 2) * 1px); flex: 1 1 calc(33.33% - 8px); justify-content: center; }\n`;// Desktop sizes grow with the card: every px (except hairline borders) is\n// multiplied by --bt-s, which the component sets from its width.\nconst scalePx=css=>css.replace(/(\\d*\\.?\\d+)px/g,(m,n)=>Number(n)<=1?m:`calc(${n}px * var(--bt-s, 1))`);const BASE_CSS=`\n.bt-root {\n    box-sizing: border-box;\n    width: 100%;\n    max-width: 100%;\n    min-width: 0;\n    color: var(--bt-text);\n}\n.bt-root *, .bt-root *::before, .bt-root *::after { box-sizing: border-box; }\n/* Every element uses the Font property set on the root */\n.bt-root * { font-family: inherit !important; }\n\n.bt-columns {\n    display: grid;\n    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);\n    column-gap: 24px;\n    row-gap: 32px;\n}\n\n/* Step titles */\n.bt-step { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }\n.bt-step-num {\n    width: 36px; height: 36px; border-radius: 50%;\n    background: var(--bt-accent-soft); color: var(--bt-accent-text);\n    display: grid; place-items: center;\n    font-size: ${fs(\"stepNumber\")}; font-weight: 600;\n}\n.bt-step-label { color: var(--bt-accent-text); font-size: ${fs(\"title\")}; font-weight: 600; }\n\n/* Month header */\n.bt-month {\n    display: flex; align-items: center; justify-content: space-between;\n    margin-bottom: 14px;\n}\n.bt-month-label { color: var(--bt-text); font-size: ${fs(\"month\")}; font-weight: 700; }\n.bt-month-nav { display: flex; gap: 6px; }\n.bt-nav {\n    width: 36px; height: 36px; border-radius: 50%;\n    border: 1px solid var(--bt-border); background: var(--bt-bg);\n    color: var(--bt-text);\n    display: grid; place-items: center; cursor: pointer;\n    transition: border-color .15s, background .15s;\n}\n.bt-nav:hover:not(:disabled) { border-color: var(--bt-accent); }\n.bt-nav:disabled { opacity: .4; cursor: default; }\n\n/* Calendar grid */\n.bt-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }\n.bt-weekdays { margin-bottom: 4px; }\n.bt-weekdays span {\n    text-align: center; font-size: ${fs(\"weekday\")}; font-weight: 600;\n    color: var(--bt-muted); padding: 4px 0 8px;\n}\n.bt-weekdays span.is-weekend { opacity: .55; }\n.bt-day {\n    justify-self: center;\n    width: 100%; max-width: 44px; aspect-ratio: 1 / 1; height: auto;\n    border-radius: 50%;\n    font-size: ${fs(\"day\")}; line-height: 1;\n    display: flex; align-items: center; justify-content: center;\n    border: 0; padding: 0; background: transparent;\n    transition: background .15s, color .15s, box-shadow .15s, transform .15s;\n}\n.bt-day.is-closed { color: var(--bt-muted); font-weight: 500; cursor: default; }\n.bt-day.is-closed.is-weekend { opacity: .55; }\n.bt-day.is-open {\n    background: var(--bt-accent-soft); color: var(--bt-accent-text);\n    box-shadow: inset 0 0 0 1px var(--bt-border);\n    font-weight: 600; cursor: pointer;\n}\n.bt-root.is-rounded .bt-day { border-radius: 12px; }\n.bt-day.is-open:hover { box-shadow: inset 0 0 0 2px var(--bt-accent); }\n.bt-day.is-today:not(.is-open) { box-shadow: inset 0 0 0 1.5px var(--bt-disabled); }\n.bt-day.is-selected {\n    background: var(--bt-strong); color: #fff;\n    box-shadow: 0 6px 14px rgba(0,0,0,0.12);\n}\n.bt-day:focus-visible, .bt-time:focus-visible, .bt-chip:focus-visible, .bt-nav:focus-visible, .bt-btn:focus-visible {\n    outline: 2px solid var(--bt-strong); outline-offset: 2px;\n}\n\n/* Legend */\n.bt-legend {\n    display: flex; align-items: center; gap: 8px; margin-top: 16px;\n    font-size: ${fs(\"note\")}; color: var(--bt-muted);\n}\n.bt-swatch { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex-shrink: 0; }\n.bt-swatch.is-open { background: var(--bt-accent-soft); border: 1px solid var(--bt-accent); }\n\n/* Time column */\n.bt-panel { display: flex; flex-direction: column; gap: 6px; }\n.bt-date-heading {\n    display: flex; align-items: center; gap: 10px;\n    color: var(--bt-text); font-size: ${fs(\"dateHeading\")}; font-weight: 500;\n}\n.bt-note { font-size: ${fs(\"note\")}; color: var(--bt-muted); }\n.bt-empty { padding: 4px 0; }\n.bt-times {\n    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));\n    gap: 12px; margin-top: 14px;\n}\n.bt-time {\n    height: 52px; border-radius: 12px;\n    border: 1px solid var(--bt-border); background: var(--bt-accent-soft);\n    color: var(--bt-accent-text); font-size: ${fs(\"time\")}; font-weight: 600;\n    display: flex; align-items: center; justify-content: center; gap: 8px;\n    cursor: pointer; transition: border-color .15s, background .15s, color .15s;\n}\n.bt-time:hover:not(:disabled) { border-color: var(--bt-accent); }\n.bt-time.is-selected { background: var(--bt-strong); border-color: var(--bt-strong); color: #fff; }\n.bt-time.is-booked {\n    background: var(--bt-disabled); border-color: var(--bt-disabled);\n    color: var(--bt-muted); font-weight: 500; text-decoration: line-through; cursor: default;\n}\n\n/* Details step */\n.bt-details-head {\n    display: flex; align-items: center; justify-content: space-between;\n    gap: 16px; flex-wrap: wrap; margin-bottom: 8px;\n}\n.bt-details-head .bt-step { margin-bottom: 0; }\n.bt-summary {\n    display: inline-flex; align-items: center; gap: 8px;\n    padding: 8px 12px; border-radius: 999px;\n    background: var(--bt-accent-soft); color: var(--bt-accent-text);\n    font-size: ${fs(\"pill\")}; font-weight: 600; margin: 12px 0;\n}\n.bt-summary-icon { display: inline-flex; }\n.bt-link {\n    background: none; border: none; padding: 0; margin-left: 4px;\n    color: var(--bt-text); font-size: ${fs(\"pill\")}; font-weight: 500;\n    text-decoration: underline; cursor: pointer;\n}\n.bt-fields { display: flex; flex-direction: column; gap: 18px; margin-top: 10px; }\n.bt-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }\n.bt-label { color: var(--bt-accent-text); font-size: ${fs(\"label\")}; font-weight: 500; }\n.bt-required { color: var(--bt-error); margin-left: 3px; }\n.bt-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }\n.bt-pair-fields { gap: 18px 12px; }\n.bt-input-wrap { position: relative; display: flex; flex-direction: column; gap: 6px; min-width: 0; }\n.bt-input {\n    width: 100%; height: 40px; padding: 0 12px;\n    border-radius: 8px; border: 1px solid var(--bt-border);\n    background: var(--bt-bg); color: var(--bt-text);\n    font-size: ${fs(\"input\")}; outline: none; margin: 0;\n    -webkit-appearance: none; appearance: none;\n    transition: border-color .15s, box-shadow .15s;\n}\n.bt-input::placeholder { color: var(--bt-muted); }\n.bt-input:hover { border-color: var(--bt-accent); }\n.bt-input:focus {\n    border-color: var(--bt-accent);\n    box-shadow: 0 0 0 3px var(--bt-accent-soft);\n}\n.bt-input.has-error { border-color: var(--bt-error); }\n.bt-input[type=\"date\"] { line-height: 38px; }\n.bt-input[type=\"date\"]::-webkit-calendar-picker-indicator { opacity: .5; cursor: pointer; }\n.bt-textarea { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; line-height: 1.5; }\n.bt-select { padding-right: 36px; cursor: pointer; }\n.bt-select.is-placeholder { color: var(--bt-muted); }\n.bt-select-arrow {\n    position: absolute; right: 12px; top: 13px;\n    color: var(--bt-muted); pointer-events: none; display: inline-flex;\n}\n.bt-days { display: flex; flex-wrap: wrap; gap: 8px; }\n.bt-chip {\n    height: 36px; padding: 0 16px; border-radius: 8px;\n    border: 1px solid var(--bt-border); background: var(--bt-bg);\n    color: var(--bt-text); font-size: ${fs(\"chip\")};\n    display: inline-flex; align-items: center; gap: 6px;\n    cursor: pointer; transition: border-color .15s, background .15s, color .15s;\n}\n.bt-chip:hover { border-color: var(--bt-accent); }\n.bt-chip.is-selected {\n    background: var(--bt-strong); border-color: var(--bt-strong);\n    color: #fff; font-weight: 500;\n}\n.bt-error { color: var(--bt-error); font-size: ${fs(\"error\")}; }\n.bt-submit-error { margin-top: 12px; text-align: right; }\n.bt-status { display: block; margin-top: 10px; }\n.bt-status .bt-link { font-size: inherit; color: inherit; }\n\n/* Done */\n.bt-done {\n    display: flex; flex-direction: column; align-items: center; text-align: center;\n    padding: 40px 16px;\n}\n.bt-done-icon {\n    width: 48px; height: 48px; border-radius: 50%;\n    background: var(--bt-strong); color: #fff;\n    display: grid; place-items: center; margin-bottom: 16px;\n}\n.bt-done-icon svg { width: 22px; height: 22px; }\n.bt-done-title { color: var(--bt-accent-text); font-size: ${fs(\"title\")}; font-weight: 600; }\n.bt-done-when {\n    margin-top: 10px; padding: 8px 14px; border-radius: 999px;\n    background: var(--bt-accent-soft); color: var(--bt-accent-text);\n    font-size: ${fs(\"successText\")}; font-weight: 600;\n}\n.bt-done-text { margin: 14px 0 0; font-size: ${fs(\"successText\")}; line-height: 1.6; max-width: 420px; }\n\n/* Footer & buttons */\n.bt-footer {\n    margin-top: 24px; padding-top: 20px;\n    border-top: 1px solid var(--bt-border);\n    display: flex; align-items: center; justify-content: space-between;\n    gap: 16px; flex-wrap: wrap;\n}\n.bt-footer p { margin: 0; font-size: ${fs(\"footer\")}; line-height: 1.5; color: var(--bt-text); flex: 1 1 240px; }\n.bt-summary-bar { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; min-width: 0; }\n.bt-eyebrow {\n    color: var(--bt-accent-text); font-size: ${fs(\"eyebrow\")}; font-weight: 500;\n    letter-spacing: .08em; text-transform: uppercase;\n}\n.bt-summary-bar p { font-size: ${fs(\"summary\")}; color: var(--bt-muted); flex: none; }\n.bt-summary-bar p.is-ready { color: var(--bt-text); font-weight: 500; }\n.bt-actions { display: flex; gap: 10px; }\n.bt-btn {\n    height: 56px; padding: 0 30px; border-radius: 999px;\n    font-size: ${fs(\"button\")}; font-weight: 600;\n    display: inline-flex; align-items: center; justify-content: center; gap: 12px;\n    cursor: pointer; transition: opacity .15s, filter .15s, border-color .15s;\n}\n.bt-btn-primary { border: none; background: var(--bt-strong); color: #fff; }\n.bt-btn-primary:hover:not(:disabled) { filter: brightness(.95); }\n.bt-btn-primary:disabled { background: var(--bt-btn-off); color: #fff; cursor: not-allowed; }\n.bt-btn-secondary {\n    border: 1px solid var(--bt-border); background: var(--bt-bg);\n    color: var(--bt-accent-text); gap: 8px;\n}\n.bt-btn-secondary:hover { border-color: var(--bt-accent); }\n\n/* Icons scale with the text */\n.bt-root svg[width=\"12\"] { width: 12px; height: 12px; }\n.bt-root svg[width=\"14\"] { width: 16px; height: 16px; }\n`;const CSS=`\n${scalePx(BASE_CSS)}\n\n${tabletRules(\".bt-root.is-tablet\")}\n${mobileRules(\".bt-root.is-mobile\")}\n\n/* \"Auto\" on the live site: Framer's breakpoints */\n@media (min-width: 810px) and (max-width: 1199.98px) {\n${tabletRules(\".bt-root.is-auto\")}\n}\n@media (max-width: 809.98px) {\n${mobileRules(\".bt-root.is-auto\")}\n}\n`;BookTour.defaultProps={dateStepTitle:\"Choose a date\",timeStepTitle:\"Choose a time\",detailsStepTitle:\"Your details\",timezoneNote:\"Centre local time\",footerText:\"Choose a date and time above to continue.\",summaryLabel:\"Your tour\",legendText:\"Green days have tours available\",buttonLabel:\"Continue to book\",emptyTimeText:\"Select a date to see available tour times.\",detailsFooterText:\"We'll confirm your tour by email.\",backLabel:\"Back\",submitLabel:\"Submit\",successTitle:\"Your tour is booked!\",successText:\"Thanks for booking a tour. We've sent the details to your email and look forward to meeting your family.\",centre:\"\",previewCentre:\"bexley\",apiBase:\"https://family.thegroveacademy.com.au/wp-json/tga/v1\",maxMonthsAhead:3,careDays:[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\"],referralOptions:[\"Google search\",\"Facebook\",\"Instagram\",\"Friend or family\",\"Drove or walked past\",\"Other\"],successLink:\"\",previewStep:\"datetime\",layout:\"auto\",accent:\"#AACF8B\",accentText:\"#AACF8B\",accentSoft:\"#F6FAF2\",accentStrong:\"#AACF8B\",buttonDisabled:\"#D9E9CB\",dayShape:\"circle\",textColor:\"#8B8F95\",mutedColor:\"#C5C7CB\",borderColor:\"#D9E9CB\",disabledBg:\"#F1F1EE\",background:\"#FFFFFF\",errorColor:\"#E5484D\",radius:28,padding:24,fontSizes:DEFAULT_FONT_SIZES};// One number control per font size\nconst sizeControl=(title,key)=>({type:ControlType.Number,title,defaultValue:DEFAULT_FONT_SIZES[key],min:8,max:48,step:1,unit:\"px\",displayStepper:true});addPropertyControls(BookTour,{previewStep:{type:ControlType.Enum,title:\"Preview\",options:[\"datetime\",\"details\",\"done\"],optionTitles:[\"Date & Time\",\"Details\",\"Success\"],description:\"Which step to show on the canvas. The live site always starts at Date & Time.\"},// Content – step 1\ndateStepTitle:{type:ControlType.String,title:\"Date Title\"},timeStepTitle:{type:ControlType.String,title:\"Time Title\"},timezoneNote:{type:ControlType.String,title:\"Time Note\"},emptyTimeText:{type:ControlType.String,title:\"Empty Text\"},footerText:{type:ControlType.String,title:\"Footer Text\",displayTextArea:true},legendText:{type:ControlType.String,title:\"Legend\"},summaryLabel:{type:ControlType.String,title:\"Summary Label\"},buttonLabel:{type:ControlType.String,title:\"Button\"},// Content – step 2\ndetailsStepTitle:{type:ControlType.String,title:\"Details Title\"},detailsFooterText:{type:ControlType.String,title:\"Details Footer\",displayTextArea:true},backLabel:{type:ControlType.String,title:\"Back\"},submitLabel:{type:ControlType.String,title:\"Submit\"},careDays:{type:ControlType.Array,title:\"Care Days\",control:{type:ControlType.String}},referralOptions:{type:ControlType.Array,title:\"Referral\",control:{type:ControlType.String}},// Content – success\nsuccessTitle:{type:ControlType.String,title:\"Success Title\"},successText:{type:ControlType.String,title:\"Success Text\",displayTextArea:true},// Availability: always the page's centre, live from Jotform via the TGA API\ncentre:{type:ControlType.String,title:\"Centre\",placeholder:\"From page URL\",description:\"Leave empty to use the page URL, e.g. tga.edu.au/bexley → Bexley. Can be bound to a CMS field.\"},previewCentre:{type:ControlType.String,title:\"Canvas Centre\",description:\"Canvas preview only: which centre's tour times to show while designing. The live site always uses the page URL.\",hidden:p=>!!p.centre},maxMonthsAhead:{type:ControlType.Number,title:\"Max Ahead\",min:1,max:24,step:1,displayStepper:true,unit:\"mo\"},// Submission: always books through the TGA API into Jotform\napiBase:{type:ControlType.String,title:\"TGA API\",placeholder:\"https://…/wp-json/tga/v1\",description:\"Loads centre tour times and receives bookings.\"},successLink:{type:ControlType.Link,title:\"Success Link\",description:\"Optional page to open after booking, instead of the success screen.\"},onContinue:{type:ControlType.EventHandler},onSubmit:{type:ControlType.EventHandler},// Style\nfont:{type:ControlType.Font,title:\"Font\",controls:\"basic\",defaultFontType:\"sans-serif\"},fontSizes:{type:ControlType.Object,title:\"Font Sizes\",description:\"Sizes at the desktop design width (843px). Wider desktop cards scale them up; on mobile, labels and chips go up slightly and inputs stay at least 16px.\",controls:{title:sizeControl(\"Step Titles\",\"title\"),stepNumber:sizeControl(\"Step Number\",\"stepNumber\"),month:sizeControl(\"Month\",\"month\"),weekday:sizeControl(\"Weekdays\",\"weekday\"),day:sizeControl(\"Days\",\"day\"),dateHeading:sizeControl(\"Date Heading\",\"dateHeading\"),time:sizeControl(\"Times\",\"time\"),note:sizeControl(\"Notes\",\"note\"),eyebrow:sizeControl(\"Summary Label\",\"eyebrow\"),summary:sizeControl(\"Summary\",\"summary\"),button:sizeControl(\"Buttons\",\"button\"),pill:sizeControl(\"Date Pill\",\"pill\"),label:sizeControl(\"Labels\",\"label\"),input:sizeControl(\"Inputs\",\"input\"),chip:sizeControl(\"Day Chips\",\"chip\"),error:sizeControl(\"Errors\",\"error\"),footer:sizeControl(\"Details Footer\",\"footer\"),successText:sizeControl(\"Success Text\",\"successText\")}},layout:{type:ControlType.Enum,title:\"Layout\",options:[\"auto\",\"desktop\",\"tablet\",\"mobile\"],optionTitles:[\"Auto\",\"Desktop\",\"Tablet\",\"Mobile\"],description:\"Auto follows the screen: desktop ≥1200, tablet 810–1199, mobile <810.\"},accent:{type:ControlType.Color,title:\"Accent\"},accentText:{type:ControlType.Color,title:\"Accent Text\"},accentSoft:{type:ControlType.Color,title:\"Available Day\"},accentStrong:{type:ControlType.Color,title:\"Selected\"},buttonDisabled:{type:ControlType.Color,title:\"Button Off\"},dayShape:{type:ControlType.Enum,title:\"Day Shape\",options:[\"circle\",\"rounded\"],optionTitles:[\"Circle\",\"Rounded\"],displaySegmentedControl:true},textColor:{type:ControlType.Color,title:\"Text\"},mutedColor:{type:ControlType.Color,title:\"Muted\"},borderColor:{type:ControlType.Color,title:\"Border\"},disabledBg:{type:ControlType.Color,title:\"No Tours BG\"},background:{type:ControlType.Color,title:\"Card BG\"},errorColor:{type:ControlType.Color,title:\"Error\"},radius:{type:ControlType.Number,title:\"Radius\",min:0,max:60},padding:{type:ControlType.Number,title:\"Padding\",min:0,max:80}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"BookTour\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomTourForm.map"],"mappings":"A,kPAc4X,SAAwBqB,EAAS,EAAM,CAAC,GAAK,CAAC,gBAAc,gBAAc,oBAAiB,eAAa,cAAW,eAAa,aAAW,cAAY,gBAAc,oBAAkB,YAAU,eAAY,eAAa,eAAY,SAAO,iBAAc,UAAQ,iBAAe,YAAS,mBAAgB,eAAY,eAAY,SAAO,UAAO,cAAW,cAAW,gBAAa,kBAAe,YAAS,aAAU,cAAW,eAAY,cAAW,cAAW,cAAW,UAAO,WAAQ,QAAK,aAAU,cAAW,YAAS,UAAOC,EAAYC,EAASL,GAAa,QAAQ,IAAIA,GAAa,OAEx7BM,EAAWxB,MAAsByB,GAAQ,KAAK,EAASA,EAAO,KAAK,EAAKF,EAAgBG,IAAe,KAAK,GAAG,GAAUC,GAAc,EAAI,CAACF,EAAOC,GAAcH,CAAQ,CAAC,EAAmEK,EAAM5B,MAAkB,CAAC,IAAM6B,kBAAE,IAAI,KAAyB,OAApBA,EAAE,SAAS,EAAE,EAAE,EAAE,CAAC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