PageSourceSearch

https://bookingflows.com/static/js/5280.aab19c38.chunk.js

js bookingflows.com collected 2026-10-02 00:29:05 UTC 21,888 bytes, 3 lines download raw bytes

1/*! For license information please see 5280.aab19c38.chunk.js.LICENSE.txt */
2"use strict";(globalThis.webpackChunkfrontend||=[]).push([[5280],{56703(e,t,a){var s=a(65043),r=a(68885),n=a(55636),o=a(35067),l=a(98083),i=a(78615),d=a(75239),c=a(36210),m=a(92382),u=a(99766),x=a(70579);const p=e=>e.toUpperCase().replace(/./g,e=>String.fromCodePoint(127397+e.charCodeAt(0))),f="undefined"!==typeof Intl&&Intl.DisplayNames?new Intl.DisplayNames(["en"],{type:"region"}):null,h=["US","AE"],g=()=>{const e=(0,o.X)().map(e=>({iso:e,name:f&&f.of(e)||e,dial:`+${(0,l.K)(e)}`,flag:p(e)}));e.sort((e,t)=>e.name.localeCompare(t.name));return[...h.map(t=>e.find(e=>e.iso===t)).filter(Boolean),...e.filter(e=>!h.includes(e.iso))]},y=e=>{let{value:t="",onChange:a,defaultCountry:o="US",disabled:l=!1,error:p=!1,id:f,placeholder:h="Phone number","data-testid":y="phone-input"}=e;const b=(0,s.useMemo)(g,[]),[N,v]=(0,s.useState)(!1),[j,w]=(0,s.useState)(o),[k,C]=(0,s.useState)(""),A=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(!A.current&&(A.current=!0,t)){const e=(0,r.l)(t);e&&(w(e.country||o),C(e.formatNational()))}},[t,o]);const B=b.find(e=>e.iso===j)||b[0],S=(e,t)=>{const s=(0,r.l)(t||"",e);null===a||void 0===a||a(s?s.number:"",{country:e,isValid:!!s&&s.isValid(),hasInput:Boolean((t||"").trim())})};return(0,x.jsxs)("div",{className:(0,u.cn)("flex w-full rounded-xl bg-gray-50 transition-colors","focus-within:ring-2 focus-within:ring-blue-200 focus-within:bg-white",p&&"ring-2 ring-red-300",l&&"opacity-60 pointer-events-none"),children:[(0,x.jsxs)(i.AM,{open:N,onOpenChange:v,children:[(0,x.jsx)(i.Wv,{asChild:!0,children:(0,x.jsxs)("button",{type:"button",disabled:l,"data-testid":`${y}-country-trigger`,"aria-label":`Country code: ${B.name} ${B.dial}`,className:"flex items-center gap-1.5 pl-3 pr-2 h-12 rounded-l-xl hover:bg-gray-100 focus:outline-none flex-shrink-0",children:[(0,x.jsx)("span",{className:"text-base leading-none",children:B.flag}),(0,x.jsx)("span",{className:"text-sm font-medium text-gray-700",children:B.dial}),(0,x.jsx)(m.A,{className:"w-3.5 h-3.5 text-gray-400"})]})}),(0,x.jsx)(i.hl,{className:"p-0 w-[300px]",align:"start",children:(0,x.jsxs)(d.uB,{filter:(e,t)=>e.toLowerCase().includes(t.toLowerCase())?1:0,children:[(0,x.jsx)(d.G7,{placeholder:"Search country or code\u2026","data-testid":`${y}-country-search`}),(0,x.jsxs)(d.oI,{children:[(0,x.jsx)(d.xL,{children:"No country found."}),(0,x.jsx)(d.L$,{children:b.map(e=>(0,x.jsxs)(d.h_,{value:`${e.name} ${e.dial} ${e.iso}`,onSelect:()=>{return t=e.iso,w(t),v(!1),void S(t,k);var t},"data-testid":`${y}-country-${e.iso}`,className:"cursor-pointer",children:[(0,x.jsx)("span",{className:"mr-2 text-base",children:e.flag}),(0,x.jsx)("span",{className:"flex-1 truncate",children:e.name}),(0,x.jsx)("span",{className:"ml-2 text-sm text-gray-400",children:e.dial}),e.iso===j&&(0,x.jsx)(c.A,{className:"ml-2 w-4 h-4 text-blue-600"})]},e.iso))})]})]})})]}),(0,x.jsx)("input",{id:f,type:"tel",inputMode:"tel",autoComplete:"tel-national",disabled:l,value:k,onChange:e=>{const t=e.target.value.replace(/[^\d\s()+-]/g,""),a=new n.Q(j).input(t);C(a),S(j,a)},placeholder:h,"data-testid":y,className:"flex-1 min-w-0 h-12 px-3 text-base bg-transparent rounded-r-xl focus:outline-none"})]})},b=y;a.d(t,["A",0,b,"L",0,y])},91140(e,t,a){var s=a(65043),r=a(99766),n=a(70579);const o=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,r.cn)("rounded-2xl bg-surface text-card-foreground shadow-soft",a),...s})});o.displayName="Card";const l=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,r.cn)("flex flex-col space-y-1 p-5 sm:p-6",a),...s})});l.displayName="CardHeader";const i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,r.cn)("text-base font-semibold leading-tight tracking-tight text-foreground",a),...s})});i.displayName="CardTitle";s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,r.cn)("text-sm text-foreground-muted",a),...s})}).displayName="CardDescription";const d=s.forwardRef((e,t)=>
2{let{className:a,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,r.cn)("p-5 pt-0 sm:p-6 sm:pt-0",a),...s})});d.displayName="CardContent";s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,n.jsx)("div",{ref:t,className:(0,r.cn)("flex items-center p-5 pt-0 sm:p-6 sm:pt-0",a),...s})}).displayName="CardFooter",a.d(t,["Wu",0,d,"ZB",0,i,"Zp",0,o,"aR",0,l])},75239(e,t,a){var s=a(65043),r=a(1307),n=a(39292),o=a(99766),l=(a(65598),a(70579));const i=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.uB,{ref:t,className:(0,o.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",a),...s})});i.displayName=r.uB.displayName;const d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,l.jsx)(n.A,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,l.jsx)(r.uB.Input,{ref:t,className:(0,o.cn)("flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",a),...s})]})});d.displayName=r.uB.Input.displayName;const c=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.uB.List,{ref:t,className:(0,o.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",a),...s})});c.displayName=r.uB.List.displayName;const m=s.forwardRef((e,t)=>(0,l.jsx)(r.uB.Empty,{ref:t,className:"py-6 text-center text-sm",...e}));m.displayName=r.uB.Empty.displayName;const u=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.uB.Group,{ref:t,className:(0,o.cn)("overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",a),...s})});u.displayName=r.uB.Group.displayName;s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.uB.Separator,{ref:t,className:(0,o.cn)("-mx-1 h-px bg-border",a),...s})}).displayName=r.uB.Separator.displayName;const x=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.uB.Item,{ref:t,className:(0,o.cn)("relative flex cursor-default gap-2 select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",a),...s})});x.displayName=r.uB.Item.displayName;a.d(t,["G7",0,d,"L$",0,u,"h_",0,x,"oI",0,c,"uB",0,i,"xL",0,m])},92264(e,t,a){var s=a(65043),r=a(99766),n=a(70579);const o="w-full rounded-lg border border-input bg-surface text-base text-foreground placeholder:text-foreground-subtle transition-[border-color,box-shadow,background-color] duration-fast focus-visible:outline-none focus-visible:border-primary focus-visible:ring-2 focus-visible:ring-primary/20 aria-[invalid=true]:border-danger aria-[invalid=true]:ring-2 aria-[invalid=true]:ring-danger/20 disabled:cursor-not-allowed disabled:bg-surface-subtle disabled:text-foreground-muted md:text-sm",l=s.forwardRef((e,t)=>{let{className:a,type:s,maxLength:l=500,...i}=e;return(0,n.jsx)("input",{type:s,maxLength:l,className:(0,r.cn)(o,"flex h-9 px-3 py-1 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground",a),ref:t,...i})});l.displayName="Input",a.d(t,["K",0,o,"p",0,l])},59938(e,t,a){var s=a(65043),r=a(92367),n=a(10917),o=a(99766),l=a(70579);const i=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,t)=>{let{className:a,...s}=e;return(0,l.jsx)(r.b,{ref:t,className:(0,o.cn)(i(),a),...s})});d.displayName=r.b.displayName,a.d(t,["J",0,d])},78615(e,t,a){var s=a(65043),r=a(19604),n=a(99766),o=a(70579);const l=r.bL,i=r.l9,d=r.Mz,c=s.forwardRef((e,t)=>{let{className:a,align:s="center",sideOffset:l=4,...i}=e;return(0,o.jsx)(r.ZL,{children:(0,o.jsx)(r.UC,{ref:t,align:s,sideOffset:l,className:(0,n.cn)("z-popover w-72 rounded-xl bg-surface-raised p-4 text-popover-foreground shadow-raised outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
2de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",a),...i})})});c.displayName=r.UC.displayName,a.d(t,["AM",0,l,"Wv",0,i,"dT",0,d,"hl",0,c])},29404(e,t,a){const s={OTP_INVALID:"That code is incorrect or has expired \u2014 request a fresh one and try again.",STEPUP_REQUIRED:"Extra verification required \u2014 confirm with one of your security factors."},r=function(e){var t,a,r,n,o,l;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"Something went wrong \u2014 please try again.";const d=null!==(t=null===e||void 0===e||null===(a=e.response)||void 0===a||null===(r=a.data)||void 0===r?void 0:r.detail)&&void 0!==t?t:null===e||void 0===e||null===(n=e.response)||void 0===n||null===(o=n.data)||void 0===o?void 0:o.message;if("string"===typeof d&&d.trim())return s[d.trim()]||d;if(Array.isArray(d)){const e=d.map(e=>"string"===typeof e?e:null===e||void 0===e?void 0:e.msg).filter(Boolean);if(e.length)return e.join(" \xb7 ")}return d&&"object"===typeof d&&"string"===typeof d.msg?d.msg:null!==e&&void 0!==e&&null!==(l=e.response)&&void 0!==l&&l.status?`${i} (HTTP ${e.response.status})`:i};a.d(t,["I",0,r])},95280(e,t,a){a.r(t),a.d(t,{default:()=>j});var s=a(65043),r=a(29404),n=a(69002),o=a(7223),l=a(53217),i=a(9114
20),d=a(13390),c=a(92264),m=a(59938),u=a(56703),x=a(56328),p=a(76833),f=a(22024),h=a(65469),g=a(75088),y=a(35327),b=a(84669),N=a(24227),v=a(70579);function j(){const e=(0,l.Zp)(),[t]=(0,l.ok)(),[a,j]=(0,s.useState)(1),[w,k]=(0,s.useState)(!1),[C,A]=(0,s.useState)(""),[B,S]=(0,s.useState)(""),[R,$]=(0,s.useState)(""),[I,L]=(0,s.useState)(""),[F,q]=(0,s.useState)(!1),[P,M]=(0,s.useState)("sms"),[D,E]=(0,s.useState)("finance"===t.get("topic")?"BookingFlows Finance":""),[_,z]=(0,s.useState)(null),[T,J]=(0,s.useState)(["","","","","",""]),[U,H]=(0,s.useState)(600),O=(0,s.useRef)([]);(0,s.useEffect)(()=>{if(2!==a)return;const e=setInterval(()=>H(e=>Math.max(0,e-1)),1e3);return()=>clearInterval(e)},[a]);const W=async e=>{k(!0);try{await n.A.post(`${N.H$}/public/demo-requests/verify`,{requestId:_,code:e}),j(3)}catch(a){var t;x.oR.error((0,r.I)(a,"Invalid code")),J(["","","","","",""]),null===(t=O.current[0])||void 0===t||t.focus()}finally{k(!1)}};return(0,v.jsxs)("div",{className:"min-h-screen flex items-center justify-center p-4 bg-white","data-testid":"demo-signup-page",children:[(0,v.jsxs)(o.mg,{children:[(0,v.jsx)("title",{children:"Book a Free Demo \u2014 BookingFlows"}),(0,v.jsx)("meta",{name:"description",content:"See BookingFlows in action or just ask questions. No strings attached \u2014 a real person reaches out, usually the same day."}),(0,v.jsx)("link",{rel:"canonical",href:"https://bookingflows.com/demo"})]}),(0,v.jsxs)(i.Zp,{className:"w-full max-w-md relative overflow-hidden border-0 bg-white rounded-3xl shadow-auth",children:[a<3&&(0,v.jsx)("div",{className:"absolute top-4 left-4 z-10",children:(0,v.jsxs)(d.$n,{variant:"ghost",size:"sm","data-testid":"demo-back-btn",onClick:()=>1===a?e("/"):j(1),className:"text-gray-600 hover:text-gray-900",children:[(0,v.jsx)(h.A,{className:"h-4 w-4 mr-2"})," Back"]})}),(0,v.jsxs)(i.aR,{className:"text-center pt-16 pb-4",children:[(0,v.jsx)("div",{className:"flex justify-center mb-4",children:(0,v.jsx)("img",{src:"/logo-icon.png",alt:"BookingFlows",className:"w-14 h-14 rounded-xl object-cover"})}),(0,v.jsx)(i.ZB,{className:"text-3xl font-semibold tracking-tight",style:{color:"#1a1a1a"},children:3===a?"You're all set!":"Book a free demo"}),(0,v.jsxs)("p",{className:"text-gray-600 mt-2 text-sm",children:[1===a&&"Or just ask questions \u2014 no strings attached. A real person reaches out, usually the same day.",2===a&&("sms"===P?"Quick check that you're a real human \u2014 we texted you a code.":"Quick check that you're a real human \u2014 we emailed you a code."),3===a&&"Someone from BookingFlows will reach out soon."]})]}),(0,v.jsxs)(i.Wu,{className:"px-8 pb-8",children:[1===a&&(0,v.jsxs)("div",{className:"space-y-4",children:[(0,v.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,v.jsxs)("div",{children:[(0,v.jsxs)(m.J,{htmlFor:"demoFirstName",className:"text-sm font-semibold text-gray-700",children:["First Name ",(0,v.jsx)("span",{className:"text-red-600",children:"*"})]}),(0,v.jsx)(c.p,{id:"demoFirstName",placeholder:"Jordan",value:C,onChange:e=>A(e.target.value),className:"mt-2 h-12 text-base bg-gray-50 border-0",maxLength:100,required:!0,"data-testid":"demo-first-name"})]}),(0,v.jsxs)("div",{children:[(0,v.jsx)(m.J,{htmlFor:"demoLastName",className:"text-sm font-semibold text-gray-700",children:"Last Name"}),(0,v.jsx)(c.p,{id:"demoLastName",placeholder:"Smith",value:B,onChange:e=>S(e.target.value),className:"mt-2 h-12 text-base bg-gray-50 border-0",maxLength:100,"data-testid":"demo-last-name"})]})]}),(0,v.jsxs)("div",{children:[(0,v.jsxs)(m.J,{htmlFor:"demoEmail",className:"text-sm font-semibold text-gray-700",children:["Email ",(0,v.jsx)("span",{className:"text-red-600",children:"*"})]}),(0,v.jsx)(c.p,{id:"demoEmail",type:"email",placeholder:"[email protected]",value:R,onChange:e=>$(e.target.value),className:"mt-2 h-12 text-base bg-gray-50 border-0",maxLength:255,required:!0,"data-testid":"demo-email"})]}),(0,v.jsxs)("div",{children:[(0,v.jsxs)(m.J,{htmlFor:"demoPhone",className:"text-sm font-semibold text-gray-700",children:["Phone Number ",(0,v.jsx)("span",{className:"text-red-600",children:"*"})]}),(0,v.jsx)("div",{className:"mt-2",children:(0,v.jsx)(u.L,{id:"demoPhone",value:I,defaultCountry:"US",onChange:(e,t)=>
2{L(e),q(!(null===t||void 0===t||!t.isValid))},"data-testid":"demo-phone-input"})})]}),(0,v.jsxs)("div",{children:[(0,v.jsxs)(m.J,{className:"text-sm font-semibold text-gray-700",children:["What would you like to see? ",(0,v.jsx)("span",{className:"text-gray-400 font-normal",children:"(optional)"})]}),(0,v.jsx)("div",{className:"flex flex-wrap gap-2 mt-2","data-testid":"demo-interest-options",children:["General walkthrough","Booking platform","POS & Kiosk","BookingFlows Finance","HELM Intelligence","Migration help"].map(e=>(0,v.jsx)("button",{type:"button",onClick:()=>E(D===e?"":e),"data-testid":`demo-interest-${e.toLowerCase().replace(/[^a-z0-9]+/g,"-")}`,className:"px-3 py-1.5 rounded-full border text-xs font-medium transition-colors "+(D===e?"border-blue-600 bg-primary-soft text-primary-soft-foreground":"border-transparent bg-gray-50 text-gray-600 hover:bg-gray-100"),children:e},e))})]}),(0,v.jsxs)("div",{children:[(0,v.jsx)(m.J,{className:"text-sm font-semibold text-gray-700",children:"Send my verification code by"}),(0,v.jsx)("div",{className:"grid grid-cols-2 gap-3 mt-2",children:[{key:"sms",icon:b.A,label:"Text message"},{key:"email",icon:y.A,label:"Email"}].map(e=>{let{key:t,icon:a,label:s}=e;return(0,v.jsxs)("button",{type:"button",onClick:()=>M(t),"data-testid":`demo-channel-${t}`,className:"flex items-center justify-center gap-2 h-11 rounded-lg border text-sm font-medium transition-colors "+(P===t?"border-blue-600 bg-primary-soft text-primary-soft-foreground":"border-transparent bg-gray-50 text-gray-600 hover:bg-gray-100"),children:[(0,v.jsx)(a,{className:"w-4 h-4"})," ",s]},t)})})]}),(0,v.jsxs)("p",{className:"text-xs text-gray-500",children:["By submitting, you agree to receive a one-time verification code and a follow-up from our team. Msg & data rates may apply."," ",(0,v.jsx)("a",{href:"/privacy#sms-terms",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline",children:"Privacy Policy"})]}),(0,v.jsx)(d.$n,{onClick:async()=>{if(!C.trim())return x.oR.error("Please enter your first name");if(!R.trim()||!R.includes("@"))return x.oR.error("Please enter a valid email");if(!I.trim()||!F)return x.oR.error("Please enter a valid phone number");k(!0);try{const e=await n.A.post(`${N.H$}/public/demo-requests`,{firstName:C,lastName:B,email:R,phone:I,channel:P,interest:D,source:t.get("src")||"homepage"});z(e.data.requestId),H(60*(e.data.expiresInMinutes||10)),J(["","","","","",""]),j(2),x.oR.success("sms"===P?"Code texted to your phone!":"Code sent to your email!")}catch(e){x.oR.error((0,r.I)(e,"Something went wrong \u2014 please try again."))}finally{k(!1)}},disabled:w,"data-testid":"demo-submit-btn",className:"w-full h-12 text-base bg-blue-600 hover:bg-blue-700",children:w?(0,v.jsx)(f.A,{className:"w-5 h-5 animate-spin"}):"Request a demo"}),(0,v.jsxs)("p",{className:"text-center text-sm text-gray-500",children:["Ready to start instead?"," ",(0,v.jsx)("button",{onClick:()=>e("/signup"),className:"text-blue-600 hover:underline font-medium","data-testid":"demo-to-signup-link",children:"Sign up here"})]})]}),2===a&&(0,v.jsxs)("div",{className:"space-y-4",children:[(0,v.jsxs)("div",{className:"text-center mb-2",children:[(0,v.jsx)("div",{className:"flex justify-center mb-4",children:(0,v.jsx)("div",{className:"p-3 rounded-xl bg-blue-100",children:"sms"===P?(0,v.jsx)(b.A,{className:"w-8 h-8 text-blue-600"}):(0,v.jsx)(y.A,{className:"w-8 h-8 text-blue-600"})})}),(0,v.jsx)("p",{className:"text-sm text-gray-600",children:"We sent a 6-digit code to"}),(0,v.jsx)("p",{className:"text-sm font-semibold text-gray-900 mt-1",children:"sms"===P?I:R})]}),(0,v.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-4 p-3 rounded-lg "+(U<60?"bg-danger-soft text-danger-soft-foreground":"bg-primary-soft text-primary-soft-foreground"),children:[(0,v.jsx)(g.A,{className:"w-5 h-5"}),(0,v.jsx)("span",{className:"font-mono text-lg font-semibold",children:(G=U,`${Math.floor(G/60)}:${String(G%60).padStart(2,"0")}`)}),(0,v.jsx)("span",{className:"text-sm",children:"remaining"})]}),(0,v.jsx)("div",{className:"flex justify-center gap-2 mb-4","data-testid":"demo-otp-inputs",children:T.map((e,t)=>(0,v.jsx)("input",{ref:e=>O.current[t]=e,type:"text",inputMode:"numeric",maxLength:1,value:e,"data-testid":`demo-otp-${t}`,onChange:e=>{const a=e.target.value.replace(/\D/g,"");if(!a)return;const s=[...T];
2if(s[t]=a,J(s),t<5){var r;null===(r=O.current[t+1])||void 0===r||r.focus()}else{const e=s.join("");6===e.length&&setTimeout(()=>W(e),100)}},onKeyDown:e=>{if("Backspace"===e.key)if(T[t]){const e=[...T];e[t]="",J(e)}else if(t>0){var a;null===(a=O.current[t-1])||void 0===a||a.focus()}},onPaste:e=>{e.preventDefault();const t=e.clipboardData.getData("text").replace(/\D/g,"").slice(0,6);var a;6===t.length&&(J(t.split("")),null===(a=O.current[5])||void 0===a||a.focus(),setTimeout(()=>W(t),100))},className:"w-10 h-12 text-center text-xl font-semibold bg-gray-50 border-0 rounded-xl focus:ring-2 focus:ring-blue-200 focus:outline-none"},t))}),w&&(0,v.jsx)("div",{className:"flex justify-center",children:(0,v.jsx)(f.A,{className:"w-5 h-5 animate-spin text-blue-600"})}),(0,v.jsxs)("div",{className:"text-center",children:[(0,v.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"Didn't receive the code?"}),(0,v.jsx)(d.$n,{variant:"ghost",size:"sm",onClick:async()=>{try{const e=await n.A.post(`${N.H$}/public/demo-requests/resend`,{requestId:_});H(60*(e.data.expiresInMinutes||10)),J(["","","","","",""]),x.oR.success("New code sent!")}catch(e){x.oR.error((0,r.I)(e,"Failed to resend"))}},"data-testid":"demo-resend-btn",className:"text-blue-600",children:"Resend code"})]})]}),3===a&&(0,v.jsxs)("div",{className:"text-center space-y-5","data-testid":"demo-success",children:[(0,v.jsx)("div",{className:"flex justify-center",children:(0,v.jsx)("div",{className:"p-4 rounded-full bg-emerald-100",children:(0,v.jsx)(p.A,{className:"w-10 h-10 text-emerald-600"})})}),(0,v.jsxs)("p",{className:"text-gray-600 text-sm leading-relaxed",children:["Thanks ",C,"! We've registered your interest \u2014 someone from the BookingFlows team will reach out to you shortly to chat, answer questions, or walk you through the software."]}),(0,v.jsxs)("div",{className:"space-y-2.5",children:[(0,v.jsx)(d.$n,{onClick:()=>e("/onboarding"),variant:"outline",className:"w-full h-11","data-testid":"demo-success-onboarding",children:"See how onboarding works"}),(0,v.jsx)(d.$n,{onClick:()=>e("/"),variant:"ghost",className:"w-full h-11 text-gray-500","data-testid":"demo-success-home",children:"Back to home"})]})]})]})]})]});var G}},92382(e,t,a){const s=(0,a(31212).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);a.d(t,["A",0,s])},76833(e,t,a){const s=(0,a(31212).A)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);a.d(t,["A",0,s])},75088(e,t,a){const s=(0,a(31212).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);a.d(t,["A",0,s])},35327(e,t,a){const s=(0,a(31212).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);a.d(t,["A",0,s])},84669(e,t,a){const s=(0,a(31212).A)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);a.d(t,["A",0,s])},92367(e,t,a){a.d(t,{b:()=>i});var s=a(65043),r=a(47920),n=a(70579),o=Object.defineProperty,l=(e,t)=>o(e,"name",{value:t,configurable:!0}),i=s.forwardRef(l(function(e,t){return(0,n.jsx)(r.sG.label,{...e,ref:t,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},"Label"))}}]);
3//# sourceMappingURL=5280.aab19c38.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.