1/*! For license information please see 5616.3915e903.chunk.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkfrontend||=[]).push([[5616],{56703(e,a,t){var s=t(65043),r=t(68885),l=t(55636),n=t(35067),i=t(98083),o=t(78615),d=t(75239),c=t(36210),m=t(92382),u=t(99766),x=t(70579);const h=e=>e.toUpperCase().replace(/./g,e=>String.fromCodePoint(127397+e.charCodeAt(0))),p="undefined"!==typeof Intl&&Intl.DisplayNames?new Intl.DisplayNames(["en"],{type:"region"}):null,g=["US","AE"],f=()=>{const e=(0,n.X)().map(e=>({iso:e,name:p&&p.of(e)||e,dial:`+${(0,i.K)(e)}`,flag:h(e)}));e.sort((e,a)=>e.name.localeCompare(a.name));return[...g.map(a=>e.find(e=>e.iso===a)).filter(Boolean),...e.filter(e=>!g.includes(e.iso))]},b=e=>{let{value:a="",onChange:t,defaultCountry:n="US",disabled:i=!1,error:h=!1,id:p,placeholder:g="Phone number","data-testid":b="phone-input"}=e;const y=(0,s.useMemo)(f,[]),[j,v]=(0,s.useState)(!1),[N,w]=(0,s.useState)(n),[A,S]=(0,s.useState)(""),C=(0,s.useRef)(!1);(0,s.useEffect)(()=>{if(!C.current&&(C.current=!0,a)){const e=(0,r.l)(a);e&&(w(e.country||n),S(e.formatNational()))}},[a,n]);const k=y.find(e=>e.iso===N)||y[0],T=(e,a)=>{const s=(0,r.l)(a||"",e);null===t||void 0===t||t(s?s.number:"",{country:e,isValid:!!s&&s.isValid(),hasInput:Boolean((a||"").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",h&&"ring-2 ring-red-300",i&&"opacity-60 pointer-events-none"),children:[(0,x.jsxs)(o.AM,{open:j,onOpenChange:v,children:[(0,x.jsx)(o.Wv,{asChild:!0,children:(0,x.jsxs)("button",{type:"button",disabled:i,"data-testid":`${b}-country-trigger`,"aria-label":`Country code: ${k.name} ${k.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:k.flag}),(0,x.jsx)("span",{className:"text-sm font-medium text-gray-700",children:k.dial}),(0,x.jsx)(m.A,{className:"w-3.5 h-3.5 text-gray-400"})]})}),(0,x.jsx)(o.hl,{className:"p-0 w-[300px]",align:"start",children:(0,x.jsxs)(d.uB,{filter:(e,a)=>e.toLowerCase().includes(a.toLowerCase())?1:0,children:[(0,x.jsx)(d.G7,{placeholder:"Search country or code\u2026","data-testid":`${b}-country-search`}),(0,x.jsxs)(d.oI,{children:[(0,x.jsx)(d.xL,{children:"No country found."}),(0,x.jsx)(d.L$,{children:y.map(e=>(0,x.jsxs)(d.h_,{value:`${e.name} ${e.dial} ${e.iso}`,onSelect:()=>{return a=e.iso,w(a),v(!1),void T(a,A);var a},"data-testid":`${b}-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===N&&(0,x.jsx)(c.A,{className:"ml-2 w-4 h-4 text-blue-600"})]},e.iso))})]})]})})]}),(0,x.jsx)("input",{id:p,type:"tel",inputMode:"tel",autoComplete:"tel-national",disabled:i,value:A,onChange:e=>{const a=e.target.value.replace(/[^\d\s()+-]/g,""),t=new l.Q(N).input(a);S(t),T(N,t)},placeholder:g,"data-testid":b,className:"flex-1 min-w-0 h-12 px-3 text-base bg-transparent rounded-r-xl focus:outline-none"})]})},y=b;t.d(a,["A",0,y,"L",0,b])},91140(e,a,t){var s=t(65043),r=t(99766),l=t(70579);const n=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)("div",{ref:a,className:(0,r.cn)("rounded-2xl bg-surface text-card-foreground shadow-soft",t),...s})});n.displayName="Card";const i=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)("div",{ref:a,className:(0,r.cn)("flex flex-col space-y-1 p-5 sm:p-6",t),...s})});i.displayName="CardHeader";const o=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)("div",{ref:a,className:(0,r.cn)("text-base font-semibold leading-tight tracking-tight text-foreground",t),...s})});o.displayName="CardTitle";s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)("div",{ref:a,className:(0,r.cn)("text-sm text-foreground-muted",t),...s})}).displayName="CardDescription";const d=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)("div",{ref:a,className:(0,r.cn)("p-5 pt-0 sm:p-6 sm:pt-0",t),...s})});
2d.displayName="CardContent";s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,l.jsx)("div",{ref:a,className:(0,r.cn)("flex items-center p-5 pt-0 sm:p-6 sm:pt-0",t),...s})}).displayName="CardFooter",t.d(a,["Wu",0,d,"ZB",0,o,"Zp",0,n,"aR",0,i])},75239(e,a,t){var s=t(65043),r=t(1307),l=t(39292),n=t(99766),i=(t(65598),t(70579));const o=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,i.jsx)(r.uB,{ref:a,className:(0,n.cn)("flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground",t),...s})});o.displayName=r.uB.displayName;const d=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,i.jsxs)("div",{className:"flex items-center border-b px-3","cmdk-input-wrapper":"",children:[(0,i.jsx)(l.A,{className:"mr-2 h-4 w-4 shrink-0 opacity-50"}),(0,i.jsx)(r.uB.Input,{ref:a,className:(0,n.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",t),...s})]})});d.displayName=r.uB.Input.displayName;const c=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,i.jsx)(r.uB.List,{ref:a,className:(0,n.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...s})});c.displayName=r.uB.List.displayName;const m=s.forwardRef((e,a)=>(0,i.jsx)(r.uB.Empty,{ref:a,className:"py-6 text-center text-sm",...e}));m.displayName=r.uB.Empty.displayName;const u=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,i.jsx)(r.uB.Group,{ref:a,className:(0,n.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",t),...s})});u.displayName=r.uB.Group.displayName;s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,i.jsx)(r.uB.Separator,{ref:a,className:(0,n.cn)("-mx-1 h-px bg-border",t),...s})}).displayName=r.uB.Separator.displayName;const x=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,i.jsx)(r.uB.Item,{ref:a,className:(0,n.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",t),...s})});x.displayName=r.uB.Item.displayName;t.d(a,["G7",0,d,"L$",0,u,"h_",0,x,"oI",0,c,"uB",0,o,"xL",0,m])},92264(e,a,t){var s=t(65043),r=t(99766),l=t(70579);const n="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",i=s.forwardRef((e,a)=>{let{className:t,type:s,maxLength:i=500,...o}=e;return(0,l.jsx)("input",{type:s,maxLength:i,className:(0,r.cn)(n,"flex h-9 px-3 py-1 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground",t),ref:a,...o})});i.displayName="Input",t.d(a,["K",0,n,"p",0,i])},59938(e,a,t){var s=t(65043),r=t(92367),l=t(10917),n=t(99766),i=t(70579);const o=(0,l.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),d=s.forwardRef((e,a)=>{let{className:t,...s}=e;return(0,i.jsx)(r.b,{ref:a,className:(0,n.cn)(o(),t),...s})});d.displayName=r.b.displayName,t.d(a,["J",0,d])},78615(e,a,t){var s=t(65043),r=t(19604),l=t(99766),n=t(70579);const i=r.bL,o=r.l9,d=r.Mz,c=s.forwardRef((e,a)=>{let{className:t,align:s="center",sideOffset:i=4,...o}=e;return(0,n.jsx)(r.ZL,{children:(0,n.jsx)(r.UC,{ref:a,align:s,sideOffset:i,className:(0,l.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]",t),...o})})});c.displayName=r.UC.displayName,t.d(a,["AM",0,i,"Wv",0,o,"dT",0,d,"hl",0,c])},47979(e,a,t){const s=[{code:"USA",name:"United States",flag:"\ud83c\uddfa\ud83c\uddf8",currency:"USD",currencySymbol:"$",phoneCode:"+1",phoneDigits:10,phoneFormat:"(XXX) XXX-XXXX",phonePlaceholder:"(555) 555-5555",defaultTimezone:"America/Chicago",taxType:"sales_tax",defaultTaxRate:8.25,twilioSmsSupported:!0,twilioWhatsappSupported:!1,stripeSupported:!0,active:!0,sortOrder:1},{code:"UAE",name:"United Arab Emirates",flag:"\ud83c\udde6\ud83c\uddea",currency:"AED",currencySymbol:"\u062f.\u0625",phoneCode:"+971",phoneDigits:9,phoneFormat:"XX XXX XXXX",phonePlaceholder:"50 123 4567",defaultTimezone:"Asia/Dubai",taxType:"vat",defaultTaxRate:5,twilioSmsSupported:!0,twilioWhatsappSupported:!0,stripeSupported:!0,active:!0,sortOrder:2},{code:"GBR",name:"United Kingdom",flag:"\ud83c\uddec\ud83c\udde7",currency:"GBP",currencySymbol:"\xa3",phoneCode:"+44",phoneDigits:10,phoneFormat:"XXXX XXXXXX",phonePlaceholder:"7911 123456",defaultTimezone:"Europe/London",taxType:"vat",defaultTaxRate:20,twilioSmsSupported:!0,twilioWhatsappSupported:!0,stripeSupported:!0,active:!1,sortOrder:3},{code:"EUR",name:"European Union",flag:"\ud83c\uddea\ud83c\uddfa",currency:"EUR",currencySymbol:"\u20ac",phoneCode:"+33",phoneDigits:9,phoneFormat:"X XX XX XX XX",phonePlaceholder:"6 12 34 56 78",defaultTimezone:"Europe/Paris",taxType:"vat",defaultTaxRate:20,twilioSmsSupported:!0,twilioWhatsappSupported:!0,stripeSupported:!0,active:!1,sortOrder:4},{code:"AUS",name:"Australia",flag:"\ud83c\udde6\ud83c\uddfa",currency:"AUD",currencySymbol:"A$",phoneCode:"+61",phoneDigits:9,phoneFormat:"XXX XXX XXX",phonePlaceholder:"412 345 678",defaultTimezone:"Australia/Sydney",taxType:"gst",defaultTaxRate:10,twilioSmsSupported:!0,twilioWhatsappSupported:!0,stripeSupported:!0,active:!1,sortOrder:5}],r=(s.map(e=>({code:e.phoneCode,country:e.code,countryName:e.name,flag:e.flag,digits:e.phoneDigits,format:e.phoneFormat,placeholder:e.phonePlaceholder,smsSupported:e.twilioSmsSupported,whatsappSupported:e.twilioWhatsappSupported})).filter(e=>e.smsSupported),()=>s.filter(e=>e.active).sort((e,a)=>e.sortOrder-a.sortOrder)),l=e=>s.find(a=>a.code===e);t.d(a,["FS",0,s,"jM",0,l,"po",0,r])},55616(e,a,t){t.r(a);var s=t(65043),r=t(69002),l=t(13390),n=t(92264),i=t(59938),o=t(91140),d=t(22024),c=t(65469),m=t(85692),u=t(36210),x=t(75088),h=t(35327),p=t(50516),g=t(40614),f=t(56328),b=t(44125),y=t(24227),j=t(78162),v=t(47979),N=t(56703),w=t(74773),A=t(70579);const S=(e,a)=>{var t;const s=null===(t=e.response)||void 0===t?void 0:t.data;if(!s)return"Could not reach the server. Please check your connection and try again.";if("string"===typeof s.detail)return s.detail;if(Array.isArray(s.detail)&&s.detail.length>0){const e=s.detail[0],a=Array.isArray(null===e||void 0===e?void 0:e.loc)?e.loc[e.loc.length-1]:"";return`${a?a+": ":""}${(null===e||void 0===e?void 0:e.msg)||"Invalid input"}`}return"string"===typeof s.error?s.error:a},C=()=>{var e,a,C;const[k,T]=(0,s.useState)(1),[R,P]=(0,s.useState)(!1),[X,$]=(0,s.useState)(!1),[z,D]=(0,s.use
2State)(null),[F,L]=(0,s.useState)([]),[E,B]=(0,s.useState)(300),U=(0,b.Zp)(),_=(0,w.P7)(),[M,I]=(0,s.useState)(""),[q,O]=(0,s.useState)(""),[G,H]=(0,s.useState)(""),[W,J]=(0,s.useState)(!1),[Y,V]=(0,s.useState)(["","","","","",""]),Z=(0,s.useRef)([]),[K,Q]=(0,s.useState)(""),[ee,ae]=(0,s.useState)(""),[te,se]=(0,s.useState)(""),[re,le]=(0,s.useState)(_?"UAE":"USA"),[ne,ie]=(0,s.useState)((null===(e=(0,v.jM)(_?"UAE":"USA"))||void 0===e?void 0:e.defaultTimezone)||"America/Chicago"),[oe,de]=(0,s.useState)(!1),[ce,me]=(0,s.useState)(null);(0,s.useEffect)(()=>{if(2!==k||E<=0)return;const e=setInterval(()=>{B(a=>a<=1?(clearInterval(e),f.oR.error("Verification code expired. Please request a new one."),0):a-1)},1e3);return()=>clearInterval(e)},[k,E]);const ue=e=>{const a=e.target.value.slice(0,100);if(ae(a),a){const e=(e=>e.toLowerCase().replace(/[^a-z0-9\s]/g,"").replace(/\s+/g,"").substring(0,20))(a);se(e),D(null),$(!1)}else se(""),D(null)},xe=e=>{const a=e.target.value.toLowerCase().replace(/[^a-z0-9-]/g,"").slice(0,50);se(a),D(null),L([])};(0,s.useEffect)(()=>{if(!te||te.length<3)return D(null),L([]),void $(!1);$(!0);const e=setTimeout(()=>{(async e=>{if(!e||e.length<3)return D(null),void L([]);$(!0);try{const a=await r.A.get(`${y.H$}/v2/auth/check-slug/${e}`);a.data.available?(D(!0),L([])):(D(!1),L(a.data.suggestions||[]))}catch(a){console.error("Error checking slug:",a),D(!0),L([])}finally{$(!1)}})(te)},800);return()=>clearTimeout(e)},[te]);return(0,A.jsx)("div",{className:"min-h-screen flex items-center justify-center p-4 bg-white",children:(0,A.jsxs)(o.Zp,{className:"w-full max-w-md relative overflow-hidden border-0 bg-white rounded-3xl shadow-auth",children:[k<5&&(0,A.jsx)("div",{className:"absolute top-4 left-4 z-10",children:(0,A.jsxs)(l.$n,{variant:"ghost",size:"sm",onClick:()=>{1===k?U("/"):T(k-1)},className:"text-gray-600 hover:text-gray-900",children:[(0,A.jsx)(c.A,{className:"h-4 w-4 mr-2"}),"Back"]})}),(0,A.jsxs)(o.aR,{className:"text-center pt-16 pb-6",children:[(0,A.jsx)("div",{className:"flex justify-center mb-4",children:(0,A.jsx)("img",{src:"/logo-icon.png",alt:"BookingFlows",className:"w-14 h-14 rounded-xl object-cover"})}),(0,A.jsx)(o.ZB,{className:"text-3xl font-semibold tracking-tight",style:{color:"#1a1a1a"},children:"BookingFlows"}),(0,A.jsxs)("p",{className:"text-gray-600 mt-2",children:[1===k&&(_?"Your Contact Information \xb7 \u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0627\u062a\u0635\u0627\u0644":"Your Contact Information"),2===k&&(_?"Verify Your Email \xb7 \u062a\u0623\u0643\u064a\u062f \u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a":"Verify Your Email"),3===k&&(_?"Create Password \xb7 \u0625\u0646\u0634\u0627\u0621 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631":"Create Password"),4===k&&(_?"Company Details \xb7 \u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0634\u0631\u0643\u0629":"Company Details"),5===k&&(_?"Welcome! \xb7 \u0623\u0647\u0644\u0627\u064b \u0628\u0643":"Welcome!")]}),k<5&&(0,A.jsxs)("div",{className:"flex items-center justify-center gap-2 mt-6 py-2",children:[(0,A.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-sm "+(k>=1?"bg-blue-600 text-white":"bg-gray-200"),children:"1"}),(0,A.jsx)("div",{className:"w-12 h-1 "+(k>=2?"bg-blue-600":"bg-gray-200")}),(0,A.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-sm "+(k>=2?"bg-blue-600 text-white":"bg-gray-200"),children:"2"}),(0,A.jsx)("div",{className:"w-12 h-1 "+(k>=3?"bg-blue-600":"bg-gray-200")}),(0,A.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-sm "+(k>=3?"bg-blue-600 text-white":"bg-gray-200"),children:"3"}),(0,A.jsx)("div",{className:"w-12 h-1 "+(k>=4?"bg-blue-600":"bg-gray-200")}),(0,A.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-sm "+(k>=4?"bg-blue-600 text-white":"bg-gray-200"),children:"4"})]})]}),(0,A.jsxs)(o.Wu,{className:"px-8 pb-8",children:[1===k&&(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"ownerName",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Your Name ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0643\u0627\u0645\u0644"})]}),(0,A.jsx)(n.p,{id:"ownerName",placeholder:"e.g., John Smith",value:M,onChange:e=>I(e.target.value),className:"mt-2 h-12 text-base bg-gray-50 border-0",maxLength:100,required:!0})]}),(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"ownerEmail",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Email Address ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0627\u0644\u0628\u0631\u064a\u062f \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"})]}),(0,A.jsx)(n.p,{id:"ownerEmail",type:"email",placeholder:"[email protected]",value:q,onChange:e=>O(e.target.value),className:"mt-2 h-12 text-base bg-gray-50 border-0",maxLength:255,required:!0})]}),(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"ownerPhone",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Phone Number ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0631\u0642\u0645 \u0627\u0644\u0647\u0627\u062a\u0641"})]}),(0,A.jsx)("div",{className:"mt-2",children:(0,A.jsx)(N.L,{id:"ownerPhone",value:G,defaultCountry:_?"AE":"US",onChange:(e,a)=>{H(e),J(!(null===a||void 0===a||!a.isValid))},"data-testid":"signup-phone-input"})})]}),(0,A.jsxs)("p",{className:"text-xs text-gray-500 -mt-2",children:["By providing your phone number, you agree to re
2ceive account-related SMS messages including verification codes, booking notifications, and security alerts. Msg frequency varies. Msg & data rates may apply. Reply STOP to opt out, HELP for help."," ",(0,A.jsx)("a",{href:"/privacy#sms-terms",target:"_blank",rel:"noopener noreferrer",className:"text-blue-600 hover:underline",children:"Privacy Policy"})]}),(0,A.jsx)(l.$n,{onClick:async()=>{if(M.trim())if(q.trim()&&q.includes("@"))if(G.trim()&&W){P(!0);try{await r.A.post(`${y.H$}/auth/send-verification-pin`,{email:q,name:M}),f.oR.success("Verification code sent!"),B(300),T(2)}catch(e){f.oR.error(S(e,"Failed to send code"))}finally{P(!1)}}else f.oR.error("Please enter a valid phone number");else f.oR.error("Please enter a valid email");else f.oR.error("Please enter your name")},disabled:R||!M.trim()||!q.trim()||!G.trim(),className:"w-full h-12 text-base font-semibold mt-6 !bg-blue-600 hover:!bg-blue-700 text-white disabled:opacity-50 disabled:cursor-not-allowed",children:R?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(d.A,{className:"w-5 h-5 mr-2 animate-spin"}),"Sending..."]}):(0,A.jsxs)(A.Fragment,{children:[_?"Continue \xb7 \u0645\u062a\u0627\u0628\u0639\u0629":"Continue"," ",(0,A.jsx)(m.A,{className:"ml-2 w-5 h-5"})]})})]}),2===k&&(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsxs)("div",{className:"text-center mb-6",children:[(0,A.jsx)("div",{className:"flex justify-center mb-4",children:(0,A.jsx)("div",{className:"p-3 rounded-xl bg-blue-100",children:(0,A.jsx)(h.A,{className:"w-8 h-8 text-blue-600"})})}),(0,A.jsx)("p",{className:"text-sm text-gray-600",children:"We sent a 6-digit code to"}),(0,A.jsx)("p",{className:"text-sm font-semibold text-gray-900 mt-1",children:q})]}),(0,A.jsxs)("div",{className:"flex items-center justify-center gap-2 mb-6 p-3 rounded-lg "+(E<60?"bg-danger-soft text-danger-soft-foreground":"bg-primary-soft text-primary-soft-foreground"),children:[(0,A.jsx)(x.A,{className:"w-5 h-5"}),(0,A.jsx)("span",{className:"font-mono text-lg font-semibold",children:(he=E,`${Math.floor(he/60)}:${(he%60).toString().padStart(2,"0")}`)}),(0,A.jsx)("span",{className:"text-sm",children:"remaining"})]}),(0,A.jsx)("div",{className:"flex justify-center gap-2 mb-6",children:Y.map((e,a)=>(0,A.jsx)("input",{ref:e=>Z.current[a]=e,type:"text",inputMode:"numeric",maxLength:1,value:e,onChange:e=>{const t=e.target.value.replace(/\D/g,"");if(!t)return;const s=[...Y];if(s[a]=t,V(s),a<5){var l;null===(l=Z.current[a+1])||void 0===l||l.focus()}else{const e=[...s].join("");6===e.length&&setTimeout(async()=>{P(!0);try{(await r.A.post(`${y.H$}/auth/verify-pin`,{email:q,pin:e})).data.success?(f.oR.success("Email verified!"),T(3)):(f.oR.error("Invalid code"),V(["","","","","",""]))}catch(a){f.oR.error("Invalid code"),V(["","","","","",""])}finally{P(!1)}},100)}},onKeyDown:e=>{var t;"Backspace"===e.key&&!Y[a]&&a>0&&(null===(t=Z.current[a-1])||void 0===t||t.focus())},onPaste:e=>{e.preventDefault();const a=e.clipboardData.getData("text").replace(/\D/g,"").slice(0,6);var t;6===a.length&&(V(a.split("")),null===(t=Z.current[5])||void 0===t||t.focus())},className:"w-10 h-12 text-center text-xl font-semibold border border-gray-300 rounded-lg focus:border-blue-600 focus:ring-2 focus:ring-blue-600 focus:outline-none"},a))}),(0,A.jsxs)("div",{className:"text-center mb-4",children:[(0,A.jsx)("p",{className:"text-xs text-gray-600 mb-2",children:"Didn't receive the code?"}),(0,A.jsxs)(l.$n,{variant:"ghost",size:"sm",onClick:async()=>{try{await r.A.post(`${y.H$}/auth/send-verification-pin`,{email:q,name:M}),f.oR.success("New code sent!"),V(["","","","","",""]),B(300)}catch(e){f.oR.error(S(e,"Failed to resend"))}},className:"text-blue-600 hover:text-blue-700 text-xs",children:[(0,A.jsx)(p.A,{className:"w-3 h-3 mr-1"}),"Resend"]})]}),(0,A.jsx)(l.$n,{onClick:async()=>{const e=Y.join("");if(6===e.length){P(!0);try{(await r.A.post(`${y.H$}/auth/verify-pin`,{email:q,pin:e})).data.success?(f.oR.success("Email verified!"),T(3)):(f.oR.error("Invalid code"),V(["","","","","",""]))}catch(a){f.oR.error("Invalid code"),V(["","","","","",""])}finally{P(!1)}}else f.oR.error("Please enter all 6 digits")},disabled:R||6!==Y.join("").length,className:"w-full h-12 text-base font-semibold !bg-blue-600 hover:!bg-blue-700 text-white disabled:opacity-50",children:R?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(d.A,{className:"w-5 h-5 mr-2 animate-spin"}),"Verifying..."]}):(0,A.jsxs)(A.Fragment,{children:[_?"Verify \xb7 \u062a\u062d\u0642\u0642":"Verify"," ",(0,A.jsx)(m.A,{className:"ml-2 w-5 h-5"})]})})]}),3===k&&(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"adminPassword",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Create Password ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0625\u0646\u0634\u0627\u0621 \u0643\u0644\u0645\u0629 \u0627\u0644\u0645\u0631\u0648\u0631"})]}),(0,A.jsx)(n.p,{id:"adminPassword",type:"password",placeholder:"Create a strong password",value:K,onChange:e=>Q(e.target.value),className:"mt-2 h-12 text-base bg-gray-50 border-0",maxLength:128,required:!0})]}),(0,A.jsxs)("div",{className:"bg-gray-50 rounded-lg p-4 space-y-2",children:[(0,A.jsx)("p",{className:"text-xs font-semibold text-gray-700 mb-3",children:"Password Requirements:"}),(0,A.jsxs)("div",{className:"flex items-center gap-2",children:[K.length>=8?(0,A.jsx)(u.A,{className:"w-4 h-4 text-green-600"}):(0,A.jsx)(g.A,{className:"w-4 h-4 text-red-500"}),(0,A.jsx)("span",{className:"text-xs "+(K.length>=8?"text-green-700":"text-gray-600"),children:"At least 8 characters"})]}),(0,A.jsxs)("div",{className:"flex items-center gap-2",children:[/[a-z]/.test(K)?(0,A.jsx)(u.A,{className:"w-4 h-4 text-green-600"}):(0,A.jsx)(g.A,{className:"w-4 h-4 text-red-500"}),(0,A.jsx)("span",{className:"text-xs "+(/[a-z]/.test(K)?"text-green-700":"text-gray-600"),children:"1 lowercase letter"})]}),(0,A.jsxs)("div",{className:"flex items-center gap-2",children:[/[A-Z]/.test(K)?(0,A.jsx)(u.A,{className:"w-4 h-4 text-green-600"}):(0,A.jsx)(g.A,{className:"w-4 h-4 text-red-500"}),(0,A.jsx)("span",{className:"text-xs "+(/[A-Z]/.test(K)?"text-green-700":"text-gray-600"),children:"1 uppercase letter"})]}),(0,A.jsxs)("div",{className:"flex items-center gap-2",children:[/[0-9]/.test(K)?(0,A.jsx)(u.A,{className:"w-4 h-4 text-green-600"}):(0,A.jsx)(g.A,{className:"w-4 h-4 text-red-500"}),(0,A.jsx)("span",{className:"text-xs "+(/[0-9]/.test(K)?"text-green-700":"text-gray-600"),children:"1 number"})]}),(0,A.jsxs)("div",{className:"flex items-center gap-2",children:[/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(K)?(0,A.jsx)(u.A,{className:"w-4 h-4 text-green-600"}):(0,A.jsx)(g.A,{className:"w-4 h-4 text-red-500"}),(0,A.jsx)("span",{className:"text-xs "+(/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(K)?"text-green-700":"text-gray-600"),children:"1 symbol (!@#$%^&*)"})]})]}),(0,A.jsxs)(l.$n,{onClick:()=>{K.length>=8&&/[a-z]/.test(K)&&/[A-Z]/.test(K)&&/[0-9]/.test(K)&&/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(K)?T(4):f.oR.error("Please meet all password requirements")},disabled:K.length<8||!/[a-z]/.test(K)||!/[A-Z]/.test(K)||!/[0-9]/.test(K)||!/[!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?]/.test(K),className:"w-full h-12 text-base font-semibold mt-6 !bg-blue-600 hover:!bg-blue-700 text-white disabled:opacity-50",children:[_?"Continue \xb7 \u0645\u062a\u0627\u0628\u0639\u0629":"Continue"," ",(0,A.jsx)(m.A,{className:"ml-2 w-5 h-5"})]})]}),4===k&&(0,A.jsxs)("div",{className:"space-y-4",children:[(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"companyName",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Company Name ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0627\u0633\u0645 \u0627\u0644\u0634\u0631\u0643\u0629"})]}),(0,A.jsx)(n.p,{id:"companyName",placeholder:"e.g., Austin Rental Boats",value:ee,onChange:ue,className:"mt-2 h-12 text-base bg-gray-50 border-0",maxLength:100,required:!0})]}),(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"shortname",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Shortname ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0627\u0644\u0627\u0633\u0645 \u0627\u0644\u0645\u062e\u062a\u0635\u0631"})]}),(0,A.jsxs)("div",{className:"relative",children:[(0,A.jsx)(n.p,{id:"shortname",placeholder:"e.g., austinboats",value:te,onChange:xe,className:"mt-2 h-12 text-base pr-12 bg-gray-50 border-0",maxLength:50,required:!0}),(0,A.jsxs)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:[X&&te.length>=3&&(0,A.jsx)(d.A,{className:"w-5 h-5 text-gray-400 animate-spin"}),!X&&!0===z&&te.length>=3&&(0,A.jsx)(u.A,{className:"w-5 h-5 text-green-600"}),!X&&!1===z&&(0,A.jsx)(g.A,{className:"w-5 h-5 text-red-600"})]})]}),!X&&!1===z&&F.length>0&&(0,A.jsxs)("div",{className:"mt-2 p-2 bg-red-50 border border-red-200 rounded-lg",children:[(0,A.jsx)("p",{className:"text-xs text-red-700 mb-2",children:"Try these:"}),(0,A.jsx)("div",{className:"flex flex-wrap gap-2",children:F.map((e,a)=>(0,A.jsx)("button",{type:"button",onClick:()=>se(e),className:"px-2 py-1 bg-white border border-red-300 rounded text-xs text-red-700 hover:bg-red-50",children:e},a))})]})]}),(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"country",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Country ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0627\u0644\u062f\u0648\u0644\u0629"})]}),(0,A.jsx)("select",{id:"country",value:re,onChange:e=>{const a=e.target.value;le(a);const t=(0,v.jM)(a);t&&ie(t.defaultTimezone)},className:"mt-2 w-full h-12 px-4 border rounded-lg text-base",required:!0,children:(0,v.po)().map(e=>(0,A.jsxs)("option",{value:e.code,children:[e.flag," ",e.name," (",e.currency,")"]},e.code))}),(0,A.jsx)("p",{className:"text-xs text-gray-500 mt-1",children:"This determines your currency and
2Stripe Connect requirements. Cannot be changed later."})]}),(0,A.jsxs)("div",{children:[(0,A.jsxs)(i.J,{htmlFor:"timezone",className:"text-sm font-semibold text-gray-700 flex items-center justify-between gap-2",children:[(0,A.jsxs)("span",{children:["Timezone ",(0,A.jsx)("span",{className:"text-red-600",children:"*"})]}),_&&(0,A.jsx)("span",{dir:"rtl",lang:"ar",className:"text-gray-500",children:"\u0627\u0644\u0645\u0646\u0637\u0642\u0629 \u0627\u0644\u0632\u0645\u0646\u064a\u0629"})]}),(0,A.jsxs)("select",{id:"timezone",value:ne,onChange:e=>ie(e.target.value),className:"mt-2 w-full h-12 px-4 border rounded-lg text-base",required:!0,children:[(0,A.jsx)("optgroup",{label:`${(null===(a=(0,v.jM)(re))||void 0===a?void 0:a.flag)||"\ud83c\udf0d"} ${(null===(C=(0,v.jM)(re))||void 0===C?void 0:C.name)||re} Timezones`,children:(0,j.mz)(re).map(e=>(0,A.jsx)("option",{value:e.value,children:e.label},e.value))}),(0,A.jsx)("optgroup",{label:"All Timezones",children:j.TA.filter(e=>!(0,j.mz)(re).some(a=>a.value===e.value)).map(e=>(0,A.jsx)("option",{value:e.value,children:e.label},e.value))})]})]}),(0,A.jsxs)("div",{className:"flex items-center gap-3 p-3 bg-gray-50 rounded-lg",children:[(0,A.jsx)("input",{type:"checkbox",id:"terms-checkbox",checked:oe,onChange:e=>de(e.target.checked),className:"w-4 h-4 text-blue-600 rounded flex-shrink-0"}),(0,A.jsxs)("label",{htmlFor:"terms-checkbox",className:"text-xs text-gray-700",children:["I agree to the"," ",(0,A.jsx)("a",{href:"/terms",target:"_blank",className:"text-blue-600 hover:underline font-semibold",children:"Terms of Service"}),","," ",(0,A.jsx)("a",{href:"/privacy",target:"_blank",className:"text-blue-600 hover:underline font-semibold",children:"Privacy Policy"})," ","and"," ",(0,A.jsx)("a",{href:"/acceptable-use",target:"_blank",className:"text-blue-600 hover:underline font-semibold",children:"Acceptable Use Policy"})]})]}),(0,A.jsx)(l.$n,{onClick:async e=>{if(e.preventDefault(),G.trim())if(oe){P(!0);try{const e=await r.A.post(`${y.H$}
2/v2/auth/signup`,{organizationName:ee,adminName:M,adminEmail:q,adminPassword:K,adminPhone:G,timezone:ne,country:re});if(e.data){f.oR.success("Account created successfully!"),t.e(4662).then(()=>t(4662)).then(e=>{let{trackOperatorSignup:a}=e;a({email:q,plan:"free",source:"signup_v3"})});const a=e.data.organization||e.data;U("/pending-approval",{state:{organizationName:a.name||a.organizationName||ee,organizationSlug:a.slug||e.data.slug,email:q}})}}catch(a){console.error("Signup error:",a),f.oR.error(S(a,"Failed to create account. Please try again."))}finally{P(!1)}}else f.oR.error("Please agree to the Terms and Privacy Policy");else f.oR.error("Phone number is required")},disabled:R||!oe||!ee.trim()||!te.trim()||!0!==z,className:"w-full h-12 text-base font-semibold mt-6 !bg-blue-600 hover:!bg-blue-700 text-white",children:R?(0,A.jsxs)(A.Fragment,{children:[(0,A.jsx)(d.A,{className:"w-5 h-5 mr-2 animate-spin"}),"Creating..."]}):(0,A.jsxs)(A.Fragment,{children:[_?"Create Account \xb7 \u0625\u0646\u0634\u0627\u0621 \u0627\u0644\u062d\u0633\u0627\u0628":"Create Account"," ",(0,A.jsx)(m.A,{className:"ml-2 w-5 h-5"})]})})]}),5===k&&ce&&(0,A.jsxs)("div",{className:"space-y-6",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)(i.J,{htmlFor:"companyName",className:"text-sm font-semibold text-gray-700",children:"Company Name *"}),(0,A.jsx)(n.p,{id:"companyName",placeholder:"e.g., Austin Rental Assets",value:ee,onChange:ue,className:"mt-2 h-12 text-base bg-gray-50 border-0"})]}),(0,A.jsxs)("div",{children:[(0,A.jsx)(i.J,{htmlFor:"shortname",className:"text-sm font-semibold text-gray-700",children:"Shortname *"}),(0,A.jsxs)("div",{className:"relative",children:[(0,A.jsx)(n.p,{id:"shortname",placeholder:"e.g., austinrentalboats",value:te,onChange:xe,className:"mt-2 h-12 text-base pr-12 bg-gray-50 border-0"}),(0,A.jsxs)("div",{className:"absolute right-3 top-1/2 -translate-y-1/2",children:[X&&te.length>=3&&(0,A.jsx)(d.A,{className:"w-5 h-5 text-gray-400 animate-spin"}),!X&&!0===z&&te.length>=3&&(0,A.jsx)(u.A,{className:"w-5 h-5 text-green-600"}),!X&&!1===z&&(0,A.jsx)(g.A,{className:"w-5 h-5 text-red-600"})]})]}),!X&&!1===z&&F.length>0&&(0,A.jsxs)("div",{className:"mt-2 p-3 bg-red-50 border border-red-200 rounded-lg",children:[(0,A.jsxs)("p",{className:"text-xs text-red-700 mb-2 font-semibold",children:["'",te,"' is not available. Try these:"]}),(0,A.jsx)("div",{className:"flex flex-wrap gap-2",children:F.map((e,a)=>(0,A.jsx)("button",{type:"button",onClick:()=>{se(e)},className:"px-3 py-1 bg-white border border-red-300 rounded-md text-sm text-red-700 hover:bg-red-50 transition-colors",children:e},a))})]})]}),(0,A.jsxs)(l.$n,{onClick:()=>{(ee.trim()?te.trim()&&!(te.length<3)||(f.oR.error("Shortname must be at least 3 characters"),0):(f.oR.error("Please enter your company name"),0))&&T(2)},disabled:!ee.trim()||!te.trim()||te.length<3||!0!==z||X,className:"w-full !bg-blue-600 hover:!bg-blue-700 text-white h-12 text-base font-semibold mt-6 disabled:opacity-50 disabled:cursor-not-allowed",children:["Continue ",(0,A.jsx)(m.A,{className:"ml-2 w-5 h-5"})]})]}),5===k&&ce&&(0,A.jsxs)("div",{className:"text-center py-8",children:[(0,A.jsx)("div",{className:"bg-amber-100 w-20 h-20 rounded-full flex items-center justify-center mx-auto mb-6",children:(0,A.jsx)(u.A,{className:"w-10 h-10 text-amber-600"})}),(0,A.jsx)("h3",{className:"text-2xl font-semibold tracking-tight mb-4",children:"Account Created Successfully!"}),(0,A.jsx)("p",{className:"text-gray-600 mb-4",children:"Thank you for signing up for BookingFlows!"}),(0,A.jsxs)("div",{className:"bg-amber-50 border border-amber-300 rounded-lg p-6 mb-6",children:[(0,A.jsx)("p",{className:"text-amber-900 font-semibold mb-2",children:"\u23f3 Pending Approval"}),(0,A.jsx)("p",{className:"text-sm text-amber-800",children:"Your account is currently pending approval. Our team will review your application and reach out within 24 hours to help you get set up."})]}),(0,A.jsxs)("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-6 mb-6 text-left",children:[(0,A.jsx)("p",{className:"text-sm font-semibold text-gray-700 mb-3",children:"Your Login Details (for when approved):"}),(0,A.jsxs)("div",{className:"space-y-3",children:[(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"text-xs text-gray-600",children:"Organization Shortname"}),(0,A.jsx)("p",{className:"text-base font-mono font-bold",children:ce.slug})]}),(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"text-xs text-gray-600",children:"Username (Your Email)"}),(0,A.jsx)("p",{className:"text-base font-mono font-bold",children:q})]}),(0,A.jsxs)("div",{children:[(0,A.jsx)("p",{className:"text-xs text-gray-600",children:"Login URL"}),(0,A.jsxs)("p",{className:"text-sm text-blue-600",children:[window.location.origin,"/login"]})]})]})]}),(0,A.jsx)("p",{className:"text-sm text-gray-600 mb-6",children:"\ud83d\udca1 Save these details! You'll need them once your account is approved."}),(0,A.jsxs)("p",{className:"text-xs text-gray-500 mb-6",children:["Questions? Reach us through the ",(0,A.jsx)("a",{href:"/support",className:"text-blue-600 hover:underline",children:"Support Center"})]}),(0,A.jsx)(l.$n,{onClick:()=>U("/"),className:"w-full !bg-blue-600 hover:!bg-blue-700 text-white h-12 text-base font-semibold",children:"Back to Home"})]})]}),(0,A.jsxs)("div",{className:"px-6 py-4 bg-gray-50 text-center",children:[k<5&&(0,A.jsxs)("p",{className:"text-xs text-gray-500",children:["Already have an account?"," ",(0,A.jsx)("a",{href:"/login",className:"font-semibold hover:underline text-blue-600",children:"Sign in here"})]}),(0,A.jsxs)("p",{className:"text-xs text-gray-400 mt-2",children:["\xa9 ",(new Date).getFullYear()," BookingFlows. All rights reserved."]})]})]})});var he};t.d(a,["default",0,C])},78162(e,a,t){const s=["usa","middle_east"],r=[{value:"America/Ne
2w_York",label:"Eastern Time (EST)",abbr:"EST",region:"usa"},{value:"America/Chicago",label:"Central Time (CST)",abbr:"CST",region:"usa"},{value:"America/Denver",label:"Mountain Time (MST)",abbr:"MST",region:"usa"},{value:"America/Phoenix",label:"Arizona (MST)",abbr:"MST",region:"usa"},{value:"America/Los_Angeles",label:"Pacific Time (PST)",abbr:"PST",region:"usa"},{value:"America/Anchorage",label:"Alaska (AKST)",abbr:"AKST",region:"usa"},{value:"Pacific/Honolulu",label:"Hawaii (HST)",abbr:"HST",region:"usa"},{value:"Asia/Dubai",label:"Gulf Time - Dubai/UAE (GST)",abbr:"GST",region:"middle_east"},{value:"Asia/Abu_Dhabi",label:"Gulf Time - Abu Dhabi (GST)",abbr:"GST",region:"middle_east"}],l=r.filter(e=>s.includes(e.region)),n=(l.filter(e=>"usa"===e.region),l.filter(e=>"middle_east"===e.region),{USA:l.filter(e=>"usa"===e.region),UAE:l.filter(e=>"middle_east"===e.region)});t.d(a,["$k",0,e=>{const a=r.find(a=>a.value===e);return(null===a||void 0===a?void 0:a.abbr)||(null===e||void 0===e?void 0:e.split("/").pop())||"UTC"},"GI",0,"Asia/Dubai","Ih",0,"America/Chicago","TA",0,l,"mz",0,e=>n[e]||l])},74773(e,a,t){const s="bf_lang",r=()=>"undefined"!==typeof window&&window.location.hostname.endsWith(".ae"),l=()=>{try{const e=new URLSearchParams(window.location.search).get("lang");if("ar"===e||"en"===e)return e;const a=localStorage.getItem(s);if("ar"===a||"en"===a)return a}catch(e){}return r()?"ar":"en"};t.d(a,["C4",0,e=>{try{localStorage.setItem(s,e)}catch(a){}},"LC",0,r,"P7",0,()=>"ar"===l(),"TO",0,"+971 52 725 4909","u3",0,"https://wa.me/971527254909","vh",0,l])},85692(e,a,t){const s=(0,t(31212).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);t.d(a,["A",0,s])},92382(e,a,t){const s=(0,t(31212).A)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);t.d(a,["A",0,s])},75088(e,a,t){const s=(0,t(31212).A)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);t.d(a,["A",0,s])},35327(e,a,t){const s=(0,t(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"}]]);t.d(a,["A",0,s])},50516(e,a,t){const s=(0,t(31212).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);t.d(a,["A",0,s])},92367(e,a,t){t.d(a,{b:()=>o});var s=t(65043),r=t(47920),l=t(70579),n=Object.defineProperty,i=(e,a)=>n(e,"name",{value:a,configurable:!0}),o=s.forwardRef(i(function(e,a){return(0,l.jsx)(r.sG.label,{...e,ref:a,onMouseDown:a=>{a.target.closest("button, input, select, textarea")||(e.onMouseDown?.(a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}})},"Label"))}}]); 3//# sourceMappingURL=5616.3915e903.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.