{"version":3,"file":"CustomTourForm.BWf4Bxns.mjs","names":["React.useMemo","React.useState","React.useEffect","React.useCallback","React.useRef","React.useLayoutEffect","_jsxs","_jsx","_Fragment","__esmMin","ne","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","pe","le","ce","init_jsx_runtime","l","p","_e","de","RenderTarget","addPropertyControls","init_framer_ChujFWHC","ControlType","BookTour","props","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","isCanvas","centreSlug","centreFromUrl","today","t","firstBookable","view","setView","selectedDate","setSelectedDate","selectedTime","setSelectedTime","jfSlots","setJfSlots","jfMonths","setJfMonths","monthKey","pad","s","last","url","toKey","r","json","reloadMonth","dateKey","key","next","monthStatus","isDateOpen","y","m","d","date","limit","day","cells","offset","days","out","maxDate","viewIndex","canPrev","canNext","autoSkip","setAutoSkip","shiftMonth","delta","byUser","v","slotMessage","setSlotMessage","selectDate","timeLabel","timeOptions","free","freeCount","selectedHeading","WEEKDAYS_LONG","MONTHS","ready","rootRef","liveStep","setLiveStep","step","goTo","el","handleContinue","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","slotTaken","handleSubmit","res","canvasMode","setCanvasMode","update","w","ro","modeClass","scale","setScale","MAX_SCALE","DESIGN_WIDTH","vars","DEFAULT_FONT_SIZES","input","placeholder","type","extra","CSS","StepTitle","Chevron","WEEKDAY_HEADERS","i","open","selected","weekend","isToday","CalendarIcon","booked","Check","Arrow","Field","on","o","label","required","children","n","dir","PHONE_RE","fs","tabletRules","mobileRules","scalePx","sizeControl","init_CustomTourForm","digits","parts","css","title"],"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,sPAc4X,SAAwB0B,EAASC,EAAM,CAAC,GAAK,CAACC,gBAAcC,gBAAcC,oBAAiBC,eAAaC,cAAWC,eAAaC,aAAWC,eAAYC,gBAAcC,oBAAkBC,YAAUC,cAAYC,eAAaC,cAAYC,UAAOC,iBAAcC,UAAQC,kBAAeC,YAASC,mBAAgBC,eAAYC,eAAYC,SAAOC,UAAOC,cAAWC,cAAWC,gBAAaC,kBAAeC,YAASC,aAAUC,cAAWC,eAAYC,cAAWC,cAAWC,cAAWC,UAAOC,WAAQC,QAAKC,aAAUC,cAAWC,YAASC,UAAO1C,EAAY2C,EAAShD,GAAa,QAAQ,IAAIA,GAAa,OAEx7BiD,EAAWvE,MAAsB0C,IAAQ,KAAK,EAASA,GAAO,KAAK,EAAK4B,EAAgB3B,IAAe,KAAK,GAAG,GAAU6B,GAAc,EAAI,CAAC9B,GAAOC,GAAc2B,CAAQ,CA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