PageSourceSearch

https://www.voicecosmos.ai/_next/static/chunks/pages/automotive-aria-568a6ded8d220e3f.js

js voicecosmos.ai collected 2026-10-05 15:19:09 UTC 150,104 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12395],{19175:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(42719).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},29949:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(42719).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},42719:(e,s,t)=>{"use strict";t.d(s,{A:()=>i});var a=t(14232);let o=(...e)=>e.filter((e,s,t)=>!!e&&""!==e.trim()&&t.indexOf(e)===s).join(" ").trim();var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let n=(0,a.forwardRef)(({color:e="currentColor",size:s=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:i="",children:l,iconNode:c,...d},m)=>(0,a.createElement)("svg",{ref:m,...r,width:s,height:s,stroke:e,strokeWidth:n?24*Number(t)/Number(s):t,className:o("lucide",i),...d},[...c.map(([e,s])=>(0,a.createElement)(e,s)),...Array.isArray(l)?l:[l]])),i=(e,s)=>{let t=(0,a.forwardRef)(({className:t,...r},i)=>(0,a.createElement)(n,{ref:i,iconNode:s,className:o(`lucide-${e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,t),...r}));return t.displayName=`${e}`,t}},48644:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/automotive-aria",function(){return t(61068)}])},61068:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>eG});var a=t(37876),o=t(14232),r=t(77328),n=t.n(r),i=t(48230),l=t.n(i),c=t(34309),d=t(21783),m=t(87065),u=t(61786),p=t(91929),x=t(46135),h=t(29949),g=t(34479),b=t(76418),y=t(43013),f=t(52584),v=t(57692),w=t(63127),k=t(39544),j=t(24802),N=t(57329),A=t(85287),S=t(63287),R=t(54400),C=t(58950),I=t(99188),T=t(69054),E=t(20730),D=t(40848),O=t(89462),B=t(6321),P=t(6658),L=t(70969),M=t(57561),W=t(34532),F=t(10911),G=t(71026),z=t(96447),H=t(26068),V=t(70285),q=t(10450),Y=t(25654),U=t(61909),_=t(14862),K=t(77619),J=t(31206);let Q={bg:"#0B121E",card:"#0F1A2E",gold:"#F9EFA7",text:"#f0f2f8",muted:"#8b95a8",border:"rgba(249,239,167,0.18)",green:"#4ade80"},Z=[{id:"superior",name:"Superior Room",price:90,size:"25-27",guests:"1-2",image:"https://images.unsplash.com/photo-1631049307264-da0ec9d70304?w=400&q=80"},{id:"deluxe",name:"Deluxe Room",price:135,size:"35-37",guests:"1-2",image:"https://images.unsplash.com/photo-1618773928121-c32242e63f39?w=400&q=80"},{id:"junior-suite",name:"Junior Suite",price:198,size:"58-60",guests:"1-2",image:"https://images.unsplash.com/photo-1590490360182-c33d57733427?w=400&q=80"},{id:"villa-suite",name:"Villa Suite",price:243,size:"75-78",guests:"1-3",image:"https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?w=400&q=80"},{id:"penthouse",name:"Penthouse",price:385,size:"95-110",guests:"1-4",image:"https://images.unsplash.com/photo-1578683010236-d716f9a3f461?w=400&q=80"}],X=[{name:"Breakfast Buffet",price:28,icon:c.A,desc:"Full continental and hot breakfast"},{name:"Spa & Wellness",price:85,icon:d.A,desc:"60-minute signature treatment"},{name:"Airport Transfer",price:45,icon:m.A,desc:"Private car service"},{name:"Fine Dining",price:65,icon:u.A,desc:"Chef's tasting menu"},{name:"Pool & Beach",price:0,icon:p.A,desc:"Complimentary for all guests"},{name:"Parking",price:15,icon:x.A,desc:"Underground secure parking"}],$=[{category:"Starters",items:[{name:"Burrata & Heirloom Tomato",price:18,desc:"With basil oil and aged balsamic",dietary:"V"},{name:"Tuna Tartare",price:22,desc:"Sesame, avocado, ponzu dressing",dietary:""},{name:"French Onion Soup",price:14,desc:"Gruy\xe8re crouton, slow-cooked 8 hours",dietary:""}]},{category:"Mains",items:[{name:"Beef Wellington",price:48,desc:"Wagyu fillet, mushroom duxelles, puff pastry",dietary:""},{name:"Pan-Seared Sea Bass",price:38,desc:"Crushed new potatoes, sauce vierge",dietary:"GF"},{name:"Wild Mushroom Risotto",price:28,desc:"Porcini, truffle oil, parmesan",dietary:"V, GF"},{name:"Rack of Lamb",price:42,desc:"Herb crust, dauphinoise, rosemary jus",dietary:"GF"}]},{category:"Desserts",items:[{name:"Chocolate Fondant",price:14,desc:"Molten centre, vanilla ice cream",dietary:"V"},{name:"Cr\xe8me Br\xfbl\xe9e",price:12,desc:"Classic Tahitian vanilla",dietary:"V, GF"},{name:"Cheese Selection",price:16,desc:"Local and French, quince, 
1crackers",dietary:""}]}],ee=[{name:"Signature Massage",duration:"80 min",price:120,desc:"Deep tissue and Swedish blend. Our most requested treatment."},{name:"Hot Stone Therapy",duration:"60 min",price:95,desc:"Volcanic basalt stones, full body tension release."},{name:"Facial Rejuvenation",duration:"60 min",price:85,desc:"Anti-aging, hydration boost, LED therapy."},{name:"Couples Retreat",duration:"90 min",price:220,desc:"Side-by-side massage, champagne, private suite."},{name:"Aromatherapy",duration:"60 min",price:80,desc:"Essential oils, gentle pressure, stress relief."},{name:"Body Scrub & Wrap",duration:"75 min",price:100,desc:"Sea salt exfoliation, nourishing body wrap."}],es=[{name:"Private Cooking Class",time:"2:00 PM",duration:"3 hours",price:95,desc:"Cook with our chef. Mediterranean menu. You eat what you make.",spots:4},{name:"Coastal Boat Tour",time:"2:30 PM",duration:"2 hours",price:65,desc:"Private boat along the coastline. Sunset return.",spots:8},{name:"Yoga & Meditation",time:"7:00 AM",duration:"1 hour",price:0,desc:"Rooftop session. Complimentary for guests. Mats provided.",spots:12},{name:"Wine Tasting Experience",time:"4:00 PM",duration:"2 hours",price:55,desc:"Five local wines. Paired with artisan cheese. Sommelier-led.",spots:10},{name:"Old Town Walking Tour",time:"10:00 AM",duration:"2.5 hours",price:35,desc:"Guided historical walk. Market stop. Hidden gems.",spots:15},{name:"Kids Adventure Club",time:"9:00 AM",duration:"4 hours",price:0,desc:"Ages 4-12. Beach games, pizza making, crafts. Supervised.",spots:20}],et=["Opera PMS","Clock PMS","RoomRaccoon","Amadeus","Sabre","Travelport","Booking.com","Expedia","SiteMinder","HotSOS","Cendyn","Stripe","QuickBooks","Mailchimp","TripAdvisor","Google Analytics"],ea=[{title:"After-hours bookings",text:"40% of booking requests arrive after your team goes home. The guest who calls at 11pm for a weekend suite is making a decision that takes thirty seconds to lose. ARIAN answers, checks availability in your PMS, confirms the booking, and sends the confirmation — in your hotel's voice, at any hour.",icon:h.A},{title:"Group booking proposals",text:"A group of 20 asks for a corporate rate. Your revenue manager is in a meeting. The proposal that should go out in two hours takes three days. ARIAN generates group proposals in 90 seconds — room block, F&B estimate, rate, terms — from a voice command or an inbound request.",icon:g.A},{title:"Upselling and ancillary revenue",text:"The guest who booked a standard room and would upgrade for €40 never gets asked because the front desk is managing check-in queue. ARIAN identifies and acts on every upsell opportunity — room upgrades, dining, spa, late checkout — at the moment the guest is most likely to say yes.",icon:b.A},{title:"Guest preference management",text:"The guest who mentioned last time that they prefer a firm pillow, a room away from the lift, and their newspaper before 7am. ARIAN holds every preference and loads it automatically before their next stay. The guest doesn't notice a system. They notice they feel remembered.",icon:y.A},{title:"Maintenance and operations",text:"Voice-activated room status updates. 'Room 305 ready.' Maintenance requests logged from any channel, assigned, tracked, and closed with documentation. Your team stays on the floor doing the work, not at a desk reporting it.",icon:f.A},{title:"Post-stay review and retention",text:"The review request arrives 24 hours later, personalised to their specific stay. If they write a review, ARIAN drafts a response in your property's voice for GM approval. The guest who had a great stay and would write a five-star review if asked actually gets asked.",icon:v.A}],eo=[{domain:"Guest communication",flows:["24/7 booking and inquiry handling","Automated check-in and check-out","Guest request processing","Pre-arrival engagement sequence","Post-stay review automation"]},{domain:"Revenue optimisation",flows:["Dynamic upselling at every touchpoint","Group proposal generation (90 seconds)","Rate optimisation alerts","Channel rate parity monitoring","Gap night revenue optimizer"]},{domain:"Operations",flows:["Housekeeping coordination via voice","Maintenance request tracking","Inventory and amenity management","F&B operations control","Real-time room status management"]}
1,{domain:"Guest experience",flows:["Personalised service from guest profile","Loyalty programme automation","Feedback and review management","VIP guest experience management","Concierge local recommendations"]},{domain:"Sales & CRM",flows:["Lead capture and AI scoring","Pipeline management and forecasting","Proposal and quote generation","Follow-up sequence automation","Client onboarding workflow"]},{domain:"Marketing",flows:["Campaign creation and targeting","Email and SMS automation","Creative DNA optimization","Attribution and ROI tracking","Competitive intelligence reports"]},{domain:"Staff coordination",flows:["AI-powered shift scheduling","Training and onboarding support","Performance tracking and coaching","Contractor and vendor coordination"]},{domain:"Financial management",flows:["Automated billing and payment","Revenue reporting and analytics","Cost control and budget tracking","Subscription and invoice management"]},{domain:"Compliance & security",flows:["GDPR consent management","Data protection audit trail","Guest screening automation","Payment security (PCI DSS)"]}],er=[{name:"Mr & Mrs Johnson",room:"305 \xb7 Junior Suite",time:"14:00",vip:!0,nights:3,notes:"Anniversary — champagne in room",pref:"High floor, firm pillows"},{name:"Dr Sarah Chen",room:"412 \xb7 Deluxe Room",time:"15:30",vip:!1,nights:2,notes:"Business — needs standing desk",pref:"Quiet room, dark roast coffee"},{name:"Familie Mueller",room:"201 \xb7 Villa Suite",time:"16:00",vip:!1,nights:5,notes:"2 children (ages 4, 7)",pref:"Pool view, extra towels, kids menu"},{name:"James Wright",room:"508 \xb7 Penthouse",time:"18:00",vip:!0,nights:7,notes:"Returning guest — 4th stay",pref:"Newspaper before 7am, gym at 6am"}],en=[{name:"Ms Rivera",room:"302",time:"11:00",folio:"€1,240",status:"Folio ready"},{name:"Mr Tanaka",room:"415",time:"12:00",folio:"€890",status:"Late checkout approved"},{name:"The Wilson Party",room:"201-203",time:"11:00",folio:"€3,450",status:"Group — review charges"}],ei=[{room:"201",type:"Villa Suite",status:"occupied",guest:"Familie Mueller"},{room:"202",type:"Deluxe",status:"clean",guest:""},{room:"203",type:"Deluxe",status:"clean",guest:""},{room:"301",type:"Superior",status:"dirty",guest:""},{room:"302",type:"Superior",status:"inspecting",guest:""},{room:"305",type:"Junior Suite",status:"preparing",guest:"Mr & Mrs Johnson (arriving 14:00)"},{room:"401",type:"Deluxe",status:"occupied",guest:"Ms Park"},{room:"412",type:"Deluxe",status:"clean",guest:""},{room:"501",type:"Junior Suite",status:"occupied",guest:"Mr Ahmed"},{room:"508",type:"Penthouse",status:"preparing",guest:"James Wright (arriving 18:00)"}],el={occupancy:87,adr:245,revpar:213,totalRevenue:"€18,420",roomRevenue:"€14,200",fbRevenue:"€3,100",spaRevenue:"€1,120",arrivals:4,departures:3,inHouse:38,available:12},ec=[{id:"MT-001",room:"301",issue:"AC unit not cooling",priority:"high",status:"assigned",assignee:"Marco",reported:"09:15"},{id:"MT-002",room:"415",issue:"Bathroom light flickering",priority:"medium",status:"in-progress",assignee:"Luca",reported:"10:30"},{id:"MT-003",room:"Lobby",issue:"Floor tile loose near entrance",priority:"low",status:"scheduled",assignee:"External",reported:"Yesterday"}],ed=[{guest:"Sarah M.",rating:5,text:"The attention to detail was extraordinary. They remembered my pillow preference from my last stay two years ago.",platform:"TripAdvisor",date:"2 days ago"},{guest:"Thomas K.",rating:4,text:"Beautiful property. The only thing — breakfast could start 30 minutes earlier for business travellers.",platform:"Google",date:"5 days ago"},{guest:"Emma L.",rating:5,text:"The concierge recommendation for Osteria Barolo was perfect. Felt like they really knew what we were looking for.",platform:"Booking.com",date:"1 week ago"}],em=[{name:"Osteria Barolo",type:"Restaurant",distance:"8 min walk",desc:"Intimate, excellent pasta, unhurried. Perfect for couples.",price:"€€€"},{name:"Terrazza Sul Mare",type:"Restaurant",distance:"15 min",desc:"Open terrace with sea view. Fresh seafood. Reservation recommended.",price:"€€€€"},{name:"Old Town Market",type:"Attraction",distance:"20 min walk",desc:"Ru
1ns until noon. Local produce, crafts, small food court by the fountain.",price:"Free"},{name:"Palazzo Gallery",type:"Culture",distance:"25 min",desc:"Current exhibition particularly good. Allow 1 hour.",price:"€12"}],eu=[{name:"Billecart-Salmon Brut",type:"Champagne",price:95,desc:"Precise, clean, long finish. Perfect for celebrations."},{name:"Pomerol 2018",type:"Red — Bordeaux",price:72,desc:"Predominantly Merlot. Roundness alongside depth. Pairs with beef wellington."},{name:"Vouvray Chenin Blanc",type:"White — Loire",price:38,desc:"Slightly honeyed, enough acidity to stay fresh. Off-dry. By the glass."},{name:"Barbera d'Asti, Prunotto",type:"Red — Piedmont",price:72,desc:"Bright acidity, dark fruit, nothing heavy. Genuine value."},{name:"Saint-Julien 2017",type:"Red — Bordeaux",price:88,desc:"Cabernet-driven. More backbone. Needs food."}],ep=[{name:"Cypress Sour",type:"Signature",price:16,desc:"Local gin, cypress bitters, honey. Herbal and sharp underneath sweetness."},{name:"Havana Letter",type:"Signature",price:18,desc:"Dark molasses rum, orange, smoked salt rim."},{name:"Laphroaig 10yr",type:"Whisky",price:14,desc:"Peaty, coastal. A serious start."},{name:"Glenfarclas 15yr",type:"Whisky",price:18,desc:"Complex, less smoky. Exceptional depth."},{name:"Virgin Cypress",type:"Non-alcoholic",price:12,desc:"Same botanical profile, zero alcohol. Genuinely good."}],ex={"Boutique Hotel":"Dear [Guest], We're looking forward to welcoming you on Friday. Check-in is from 3pm — your Garden Suite is ready with the firm pillows you prefer. The restaurant has a table at 7:30pm if you'd like to start your evening there. Is there anything we can prepare before you arrive?","Luxury Resort":"Dear [Guest], Your Ocean View Villa is prepared for your arrival tomorrow. Your spa appointment is confirmed for Saturday at 11am, and we've noted your preference for still water and dark roast coffee. The concierge team is at your service from the moment you arrive.","Business Hotel":"Dear [Guest], Welcome back. Your usual room on the 8th floor is ready, with the standing desk configuration you requested last time. The business centre is reserved for your 9am meeting. Shall I arrange car service from the airport?","Hotel Group":"Dear [Guest], Thank you for choosing us again. As a returning guest across our portfolio, your preferences travel with you — the hypoallergenic pillows, the morning newspaper, and the late checkout you appreciate. Everything is in place."};function eh(e){let{language:s="English"}=e,t=(0,Y.U)(s);return(0,a.jsxs)("div",{children:[(0,a.jsx)(_.j,{images:J.d.automotive||J.d.Hospitality||J.C.hospitality,title:"",subtitle:"",hideTitle:!0,overlayOpacity:30,objectFit:"cover"}),(0,a.jsxs)("div",{className:"p-6 md:p-10 space-y-16 max-w-4xl mx-auto",children:[(0,a.jsxs)("section",{children:[(0,a.jsx)("h1",{className:"text-4xl md:text-6xl font-bold leading-tight mb-8",style:{color:Q.text,fontFamily:"Helvetica, Arial, sans-serif"},children:t.hero.headline}),(0,a.jsx)("p",{className:"text-xl md:text-2xl leading-relaxed mb-6",style:{color:Q.muted},children:t.hero.sub1}),(0,a.jsx)("p",{className:"text-lg md:text-xl leading-relaxed",style:{color:Q.muted},children:t.hero.sub2})]}),(0,a.jsxs)("section",{id:"gaps",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider mb-6",style:{color:Q.gold},children:"Six communication gaps where revenue leaks"}),(0,a.jsx)("div",{className:"space-y-6",children:t.gaps.map((e,s)=>{var t;let o=(null==(t=ea[s])?void 0:t.icon)||h.A;return(0,a.jsxs)("div",{className:"flex gap-4 p-5 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(o,{className:"w-6 h-6 flex-shrink-0 mt-1",style:{color:Q.gold}}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-lg font-semibold mb-2",style:{color:Q.text},children:e.title}),(0,a.jsx)("p",{className:"text-base leading-relaxed",style:{color:Q.muted},children:e.text})]})]},e.title)})})]}),(0,a.jsxs)("section",{id:"flows",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider mb-2",style:{color:Q.gold},children:"18 automation flows running your communication layer"}),(0,a.jsx)("p",{className:"text-base mb-6",style:{color:Q.muted}
1,children:"240 hours saved per month. €427K annual value."}),(0,a.jsx)("div",{className:"grid md:grid-cols-2 gap-4",children:t.flows.map(e=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("h3",{className:"text-sm font-semibold mb-3",style:{color:Q.text},children:e.domain}),e.flows.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1.5",children:[(0,a.jsx)(w.A,{className:"w-3 h-3 flex-shrink-0",style:{color:Q.green}}),(0,a.jsx)("span",{className:"text-xs",style:{color:Q.muted},children:e})]},e))]},e.domain))})]}),(0,a.jsxs)("section",{id:"integrations",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider mb-2",style:{color:Q.gold},children:"Sits above the systems your team already runs"}),(0,a.jsx)("p",{className:"text-base mb-6",style:{color:Q.muted},children:"GDS integration included — no €10K–€25K setup fee."}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:et.map(e=>(0,a.jsx)("span",{className:"px-3 py-2 rounded-full text-sm",style:{background:Q.card,border:"1px solid ".concat(Q.border),color:Q.text},children:e},e))})]}),(0,a.jsxs)("section",{className:"p-6 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.gold)},children:[(0,a.jsx)("h2",{className:"text-lg font-semibold mb-4",style:{color:Q.text},children:"See both sides"}),(0,a.jsxs)("div",{className:"grid md:grid-cols-2 gap-4",children:[(0,a.jsxs)("div",{className:"p-4 rounded-lg",style:{background:"rgba(249,239,167,0.06)",border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(k.A,{className:"w-5 h-5 mb-2",style:{color:Q.gold}}),(0,a.jsx)("p",{className:"text-sm font-semibold mb-1",style:{color:Q.text},children:"What your guests experience"}),(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:'Ask ARIAN: "Show me your rooms", "Book a suite", "What\'s included?"'})]}),(0,a.jsxs)("div",{className:"p-4 rounded-lg",style:{background:"rgba(249,239,167,0.06)",border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(j.A,{className:"w-5 h-5 mb-2",style:{color:Q.gold}}),(0,a.jsx)("p",{className:"text-sm font-semibold mb-1",style:{color:Q.text},children:"What you get to run operations"}),(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:'Ask ARIAN: "Show me the dashboard", "Operations view", "Command center"'})]})]})]}),(0,a.jsxs)("section",{className:"text-center py-8",children:[(0,a.jsxs)("h2",{className:"text-3xl md:text-4xl font-bold mb-6",style:{color:Q.text,fontFamily:"Helvetica, Arial, sans-serif"},children:["Tell us your highest-pressure"," ",(0,a.jsx)("span",{style:{color:Q.gold},children:"booking moment."})]}),(0,a.jsx)("p",{className:"text-lg md:text-xl mb-8 max-w-xl mx-auto",style:{color:Q.muted},children:"We will show you specifically what ARIAN handles at that point — the 11pm booking, the group proposal, the upsell trigger — in your property's voice."}),(0,a.jsxs)(l(),{href:"/onboarding/automotive",className:"inline-flex items-center gap-2 px-8 py-4 rounded-xl text-lg font-semibold transition-all hover:scale-[1.02]",style:{background:Q.gold,color:Q.bg},children:["Get Started ",(0,a.jsx)(N.A,{className:"w-5 h-5"})]}),(0,a.jsx)("p",{className:"text-sm mt-4",style:{color:Q.muted},children:"[email protected] \xb7 +1 (508) 594-8726"})]})]})]})}function eg(e){let{t:s}=e;return(0,a.jsxs)("div",{className:"p-6 space-y-4",children:[(0,a.jsx)("h2",{className:"text-sm font-mono uppercase tracking-wider",style:{color:Q.gold},children:(null==s?void 0:s.ourRooms)||"Our Rooms"}),(0,a.jsx)("div",{className:"grid lg:grid-cols-2 gap-4",children:Z.map(e=>(0,a.jsxs)("div",{className:"rounded-xl overflow-hidden",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("img",{src:e.image,alt:e.name,className:"w-full h-40 object-cover"}),(0,a.jsxs)("div",{className:"p-4",children:[(0,a.jsx)("h3",{className:"text-lg font-bold",style:{color:Q.text},children:e.name}),(0,a.jsxs)("div",{className:"flex gap-3 text-xs my-2",style:{color:Q.muted},children:[(0,a.jsxs)("span",{children:[e.guests," ",(null==s?void 0:s.guests)||"guests"]}),(0,a.jsxs)("span",{children:[e.size,"m\xb2"]})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between mt-3",children:[(0,a.jsxs)("span",{className:"text-xl font-bold",style:{color:Q.text},children:["€",e.price,(0,a.jsx)("span",{className:"text-xs font-normal",style:{color:Q.muted},children:(null==s?void 0:s.perNight)||"/night"})]}),(0,a.jsx)(l(),{href:"/book/automotive",className:"px-4 py-1.5 rounded-lg text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:(null==s?void 0:s.select)||"Select →"})]})]})]},e.id))})]})}function eb(e){let{t:s}=e;return(0,a.jsxs)("div",{className:"p-6 space-y-4",children:[(0,a.jsx)("h2",{className:"text-sm font-mono uppercase tracking-wider",style:{color:Q.gold},children:(null==s?void 0:s.extras)||"Extras & Experiences"}),(0,a.jsx)("div",{className:"grid md:grid-cols-2 gap-4",children:X.map(e=>(0,a.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(e.icon,{className:"w-5 h-5 flex-shrink-0 mt-0.5",style:{color:Q.gold}}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-sm font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsx)("p",{className:"text-xs mb-1",style:{color:Q.muted},children:e.desc}),(0,a.jsx)("span",{className:"text-sm font-bold",style:{color:Q.gold},children:0===e.price?(null==s?void 0:s.complimentary)||"Complimentary":"€".concat(e.price)})]})]},e.name))})]})}function ey(e){let{type:s}=e;return(0,a.jsx)("div",{className:"flex-1 flex items-center justify-center p-10",children:(0,a.jsxs)("div",{className:"max-w-xl",children:[(0,a.jsxs)("p",{className:"text-sm uppercase tracking-wider mb-4",style:{color:Q.gold},children:[s," \xb7 Pre-arrival message \xb7 Harbour voice"]}),(0,a.jsx)("div",{className:"p-8 rounded-2xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:(0,a.jsxs)("p",{className:"text-lg leading-relaxed italic",style:{color:Q.text,fontFamily:"Helvetica, Arial, sans-serif"},children:['"',ex[s],'"']})}),(0,a.jsx)("p",{className:"text-sm mt-4",style:{color:Q.muted},children:"Every guest touchpoint carries this quality — pre-arrival, during stay, post-stay. Automatically."})]})})}function ef(e){let{t:s}=e;return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:(null==s?void 0:s.todaysArrivals)||"Today's Arrivals"}),(0,a.jsxs)("p",{className:"text-sm",style:{color:Q.muted},children:[er.length," ",(null==s?void 0:s.guests)||"guests"," \xb7 ",el.inHouse," ",(null==s?void 0:s.inHouse)||"in house"]}),er.map(e=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(e.vip?Q.gold:Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),e.vip&&(0,a.jsx)("span",{className:"text-[10px] px-2 py-0.5 rounded-full font-semibold",style:{background:"rgba(249,239,167,0.15)",color:Q.gold},children:"VIP"})]}),(0,a.jsx)("span",{className:"text-sm",style:{color:Q.gold},children:e.time})]}),(0,a.jsxs)("p",{className:"text-sm",style:{color:Q.muted},children:[e.room," \xb7 ",e.nights," nights"]}),e.notes&&(0,a.jsx)("p",{className:"text-sm mt-1",style:{color:Q.gold},children:e.notes}),(0,a.jsxs)("p",{className:"text-xs mt-1",style:{color:Q.muted},children:["Preferences: ",e.pref]})]},e.name))]})}function ev(){return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Today's Departures"}),en.map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsxs)("p",{className:"text-sm",style:{color:Q.muted},children:["Room ",e.room," \xb7 Checkout ",e.time]}),(0,a.jsx)("p",{className:"text-xs mt-1",style:{color:e.status.includes("review")?"#f59e0b":Q.green},children:e.status})]}),(0,a.jsx)("span",{className:"text-lg font-bold",style:{color:Q.text},children:e.folio})]},e.name))]})}function ew(){let e={occupied:"#6366f1",clean:Q.green,dirty:"#ef4444",preparing:"#f59e0b",inspecting:"#8b5cf6"};return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Room Status"}),(0,a.jsx)("div",{className:"flex gap-3 mb-3",children:["occupied","clean","dirty","preparing","inspecting"].map(s=>(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("div",{className:"w-3 h-3 rounded-full",style:{background:e[s]}}),(0,a.jsx)("span",{className:"text-xs capitalize",style:{color:Q.muted},children:s})]},s))}),(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-2",children:ei.map(s=>(0,a.jsxs)("div",{className:"p-3 rounded-lg",style:{background:Q.card,borderLeft:"3px solid ".concat(e[s.status])},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("span",{className:"text-base font-bold",style:{color:Q.text},children:s.room}),(0,a.jsx)("span",{className:"text-[10px] uppercase",style:{color:e[s.status]},children:s.status})]}),(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:s.type}),s.guest&&(0,a.jsx)("p",{className:"text-xs mt-1 truncate",style:{color:Q.text},children:s.guest})]},s.room))})]})}function ek(){return(0,a.jsxs)("div",{className:"p-5 space-y-4",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Today's Performance"}),(0,a.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-3",children:[{label:"Occupancy",value:"".concat(el.occupancy,"%"),color:Q.green},{label:"ADR",value:"€".concat(el.adr),color:Q.text},{label:"RevPAR",value:"€".concat(el.revpar),color:Q.text},{label:"Total Revenue",value:el.totalRevenue,color:Q.gold}].map(e=>(0,a.jsxs)("div",{className:"p-3 rounded-xl text-center",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("p",{className:"text-xs uppercase",style:{color:Q.muted},children:e.label}),(0,a.jsx)("p",{className:"text-2xl font-bold mt-1",style:{color:e.color},children:e.value})]},e.label))}),(0,a.jsx)("div",{className:"grid grid-cols-3 gap-3",children:[{label:"Room Revenue",value:el.roomRevenue},{label:"F&B Revenue",value:el.fbRevenue},{label:"Spa Revenue",value:el.spaRevenue}].map(e=>(0,a.jsxs)("div",{className:"p-3 rounded-lg",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:e.label}),(0,a.jsx)("p",{className:"text-lg font-bold",style:{color:Q.text},children:e.value})]},e.label))}),(0,a.jsx)("div",{className:"flex gap-3 text-center",children:[{label:"Arrivals",value:el.arrivals},{label:"Departures",value:el.departures},{label:"In House",value:el.inHouse},{label:"Available",value:el.available}].map(e=>(0,a.jsxs)("div",{className:"flex-1 p-2 rounded-lg",style:{background:Q.card},children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:e.label}),(0,a.jsx)("p",{className:"text-lg font-bold",style:{color:Q.text},children:e.value})]},e.label))})]})}function ej(){let e={high:"#ef4444",medium:"#f59e0b",low:Q.muted};return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Maintenance Requests"}),ec.map(s=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("span",{className:"text-xs font-mono",style:{color:Q.muted},children:s.id}),(0,a.jsx)("span",{className:"text-xs font-semibold uppercase",style:{color:e[s.priority]},children:s.priority})]}),(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:s.issue}),(0,a.jsxs)("p",{className:"text-sm",style:{color:Q.muted},children:["Room ",s.room," \xb7 Assigned: ",s.assignee," \xb7 ",s.status]}),(0,a.jsxs)("p",{className:"text-xs mt-1",style:{color:Q.muted},children:["Reported: ",s.reported]})]},s.id))]})}function eN(){return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Guest Reviews"}),ed.map((e,s)=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-base font-semibold",style:{color:Q.text},children:e.guest}),(0,a.jsx)("span",{className:"text-xs",style:{color:Q.muted},children:e.platform})]}),(0,a.jsx)("div",{className:"flex gap-0.5",children:Array.from({length:e.rating}).map((e,s)=>(0,a.jsx)(y.A,{className:"w-4 h-4 fill-current",style:{color:Q.gold}},s))})]}),(0,a.jsxs)("p",{className:"text-sm italic leading-relaxed",style:{color:Q.muted},children:['"',e.text,'"']}),(0,a.jsx)("p",{className:"text-xs mt-2",style:{color:Q.muted},children:e.date})]},s))]})}function eA(){return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Concierge \xb7 Local Recommendations"}),em.map(e=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsx)("span",{className:"text-sm",style:{color:Q.gold},children:e.price})]}),(0,a.jsxs)("p",{className:"text-xs mb-1",style:{color:Q.gold},children:[e.type," \xb7 ",e.distance]}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:e.desc})]},e.name))]})}function eS(){return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Wine List \xb7 Sommelier Selections"}),eu.map(e=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsxs)("span",{className:"text-lg font-bold",style:{color:Q.gold},children:["€",e.price]})]}),(0,a.jsx)("p",{className:"text-xs mb-1",style:{color:Q.gold},children:e.type}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:e.desc})]},e.name))]})}function eR(){return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Bar \xb7 Cocktails & Spirits"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Open until 1am \xb7 Live quartet from 9pm tonight"}),ep.map(e=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsxs)("span",{className:"text-lg font-bold",style:{color:Q.gold},children:["€",e.price]})]}),(0,a.jsx)("p",{className:"text-xs mb-1",style:{color:Q.gold},children:e.type}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:e.desc})]},e.name))]})}function eC(){return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Guest Communi
1cations"}),[{time:"3 days before",type:"Pre-arrival",msg:"Check-in details, preferences confirmation, restaurant recommendation",status:"Sent"},{time:"Day of arrival",type:"Welcome",msg:"Access code, parking instructions, weather update",status:"Scheduled 08:00"},{time:"Day 1 evening",type:"F&B prompt",msg:"Restaurant availability tonight, table reserved",status:"Queued"},{time:"Day 2",type:"Upsell",msg:"Room upgrade offer, spa availability",status:"Queued"},{time:"Day 3 (checkout)",type:"Farewell",msg:"Folio summary, feedback request, return invitation",status:"Queued"},{time:"+1 day",type:"Review request",msg:"Personalised review request based on stay sentiment",status:"Queued"}].map((e,s)=>(0,a.jsxs)("div",{className:"flex gap-3 items-start",children:[(0,a.jsx)("div",{className:"w-2 h-2 rounded-full mt-2 shrink-0",style:{background:"Sent"===e.status?Q.green:Q.gold}}),(0,a.jsxs)("div",{className:"flex-1 p-3 rounded-lg",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("span",{className:"text-xs font-semibold",style:{color:Q.gold},children:e.type}),(0,a.jsx)("span",{className:"text-xs",style:{color:"Sent"===e.status?Q.green:Q.muted},children:e.status})]}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.text},children:e.msg}),(0,a.jsx)("p",{className:"text-xs mt-1",style:{color:Q.muted},children:e.time})]})]},s))]})}function eI(){return(0,a.jsxs)("div",{className:"p-5 space-y-4",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Call Your Hotel \xb7 ARIAN Answers"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"This is what your guests experience when they call. ARIAN answers in your hotel's voice — 24/7, no hold music, no voicemail."}),(0,a.jsxs)("a",{href:"tel:+15085948726",className:"flex items-center justify-center gap-3 p-5 rounded-xl transition-all active:scale-95",style:{background:"rgba(74,222,128,0.1)",border:"1px solid rgba(74,222,128,0.3)"},children:[(0,a.jsx)(A.A,{className:"w-8 h-8",style:{color:"#4ade80"}}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-lg font-bold",style:{color:"#4ade80"},children:"+1 (508) 594-8726"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Tap to call ARIAN now — live demo"})]})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("p",{className:"text-xs font-mono uppercase tracking-wider",style:{color:Q.gold},children:"What the guest hears"}),[{step:"1",action:"ARIAN answers",detail:'"Good evening, thank you for calling Grand Plaza Hotel. How can I help you?"',time:"< 1 second"},{step:"2",action:"Guest speaks",detail:'"I need a suite for this weekend"',time:""},{step:"3",action:"ARIAN checks PMS",detail:"Checks live availability in Opera/Clock/RoomRaccoon",time:"< 2 seconds"},{step:"4",action:"ARIAN responds",detail:'"I have an Ocean View Suite available Friday through Sunday. Late checkout until 1pm is included. Shall I hold it for you?"',time:""},{step:"5",action:"Booking confirmed",detail:"Reservation created in PMS, confirmation email sent, guest profile updated",time:"< 30 seconds total"}].map(e=>(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsx)("div",{className:"w-7 h-7 rounded-full flex items-center justify-center shrink-0 text-xs font-bold",style:{background:"rgba(249,239,167,0.15)",color:Q.gold},children:e.step}),(0,a.jsxs)("div",{className:"flex-1 p-3 rounded-lg",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("p",{className:"text-sm font-semibold",style:{color:Q.text},children:e.action}),(0,a.jsx)("p",{className:"text-sm mt-1 italic",style:{color:Q.muted},children:e.detail}),e.time&&(0,a.jsx)("p",{className:"text-xs mt-1",style:{color:Q.gold},children:e.time})]})]},e.step))]}),(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("p",{className:"text-sm font-semibold mb-3",style:{color:Q.text},children:"What ARIAN handles by phone — 24/7"}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-2",children:["Book a room","Modify reservation","Late checkout","Room service order","Restaurant booking","Spa appointment","Airport transfer","Guest complaint","Group inquiry","Rate question","Directions","Cancel booking"].map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)(w.A,{className:"w-3 h-3 shrink-0",style:{color:Q.green}}),(0,a.jsx)("span",{className:"text-xs",style:{color:Q.muted},children:e})]},e))})]}),(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-3 text-center",children:[(0,a.jsxs)("div",{className:"p-3 rounded-lg",style:{background:Q.card},children:[(0,a.jsx)("p",{className:"text-2xl font-bold",style:{color:Q.gold},children:"24/7"}),(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Always answers"})]}),(0,a.jsxs)("div",{className:"p-3 rounded-lg",style:{background:Q.card},children:[(0,a.jsx)("p",{className:"text-2xl font-bold",style:{color:Q.green},children:"<1s"}),(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Pick up time"})]}),(0,a.jsxs)("div",{className:"p-3 rounded-lg",style:{background:Q.card},children:[(0,a.jsx)("p",{className:"text-2xl font-bold",style:{color:Q.text},children:"0"}),(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Missed calls"})]})]})]})}function eT(){return(0,a.jsxs)("div",{className:"p-5 space-y-4",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Front Office \xb7 Professional Harbour"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"The front desk professional who has been here fifteen years. Warm, precise, focused."}),(0,a.jsx)("div",{className:"space-y-3",children:[{guest:"Do you have a junior suite available from the 15th for three nights?",aria:"I've checked availability — we have two junior suites free from the 15th. The Garden Junior Suite looks over the courtyard at €380/night; the Park Junior Suite faces the street at €360. Both include breakfast. Which would suit you better?"},{guest:"Can I check in early? My flight arrives at 8am.",aria:"Your room won't be ready at 8am, but I can arrange luggage storage from arrival and have the room ready by noon — there's no charge for early storage. If you'd like guaranteed early check-in from 8am, we can secure that for an additional fee. Which would you prefer?"},{guest:"I need to extend my stay by one night.",aria:"The 18th is available in your current room type. The rate is €295, which includes breakfast as before. Shall I add it to your reservation and send you a revised confirmation?"}].map((e,s)=>(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)("div",{className:"px-4 py-2 rounded-2xl rounded-br-sm text-sm max-w-[80%]",style:{background:"rgba(249,239,167,0.1)",border:"1px solid rgba(249,239,167,0.2)",color:Q.gold},children:e.guest})}),(0,a.jsx)("div",{className:"flex justify-start",children:(0,a.jsx)("div",{className:"px-4 py-2 rounded-2xl rounded-bl-sm text-sm max-w-[85%] bg-white/5 border border-white/10",style:{color:Q.text},children:e.aria})})]},s))})]})}function eE(e){let{type:s,service:t,onClose:r,onConfirm:n}=e,[i,l]=(0,o.useState)(""),[c,d]=(0,o.useState)(""),[m,u]=(0,o.useState)(2),[p,x]=(0,o.useState)(""),[h,g]=(0,o.useState)(!1),b=async()=>
1{if(i){g(!0);try{let e=await fetch("/api/bookings/universal",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({industry:"automotive",type:s,service:t,date:i,time:c||void 0,guests:m,notes:p||void 0})}),a=await e.json();n((null==a?void 0:a.bookingId)||(null==a?void 0:a.id)||"CONFIRMED")}catch(e){n("CONFIRMED")}finally{g(!1)}}},y={background:Q.bg,color:Q.text,border:"1px solid ".concat(Q.border),borderRadius:8,padding:"6px 10px",fontSize:13,width:"100%",outline:"none"};return(0,a.jsxs)("div",{className:"mt-2 p-3 rounded-lg space-y-2",style:{background:Q.bg,border:"1px solid ".concat(Q.gold)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("span",{className:"text-xs font-mono uppercase tracking-wider",style:{color:Q.gold},children:"restaurant"===s?"Reserve Table":"spa"===s?"Book Treatment":"Book Activity"}),(0,a.jsx)("button",{onClick:r,className:"text-xs px-1",style:{color:Q.muted},children:"✕"})]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-[10px] uppercase",style:{color:Q.muted},children:"Date"}),(0,a.jsx)("input",{type:"date",value:i,onChange:e=>l(e.target.value),style:y})]}),"activity"!==s&&(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-[10px] uppercase",style:{color:Q.muted},children:"Time"}),(0,a.jsx)("input",{type:"time",value:c,onChange:e=>d(e.target.value),style:y})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-[10px] uppercase",style:{color:Q.muted},children:"restaurant"===s?"Party Size":"Guests"}),(0,a.jsx)("input",{type:"number",min:1,max:20,value:m,onChange:e=>u(Number(e.target.value)),style:y})]})]}),"restaurant"===s&&(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"text-[10px] uppercase",style:{color:Q.muted},children:"Special Requests"}),(0,a.jsx)("input",{type:"text",value:p,onChange:e=>x(e.target.value),placeholder:"Allergies, seating preference...",style:y})]}),(0,a.jsx)("button",{onClick:b,disabled:!i||h,className:"w-full py-2 rounded-lg text-sm font-semibold transition-opacity",style:{background:Q.gold,color:Q.bg,opacity:!i||h?.5:1,cursor:!i||h?"not-allowed":"pointer"},children:h?"Booking...":"Confirm Booking"})]})}function eD(e){let{reference:s,onDismiss:t}=e;return(0,a.jsxs)("div",{className:"mt-2 p-3 rounded-lg flex items-center gap-2",style:{background:"rgba(74,222,128,0.08)",border:"1px solid rgba(74,222,128,0.3)"},children:[(0,a.jsx)(w.A,{className:"w-4 h-4 shrink-0",style:{color:Q.green}}),(0,a.jsxs)("span",{className:"text-sm flex-1",style:{color:Q.green},children:["Booked — Ref: ",s]}),(0,a.jsx)("button",{onClick:t,className:"text-xs",style:{color:Q.muted},children:"✕"})]})}function eO(e){let{t:s}=e,[t,r]=(0,o.useState)(null),[n,i]=(0,o.useState)(null);return(0,a.jsxs)("div",{className:"p-5 space-y-4",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:(null==s?void 0:s.restaurant)||"Restaurant"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Dinner service 7:00 PM – 10:30 PM \xb7 Reservations recommended"}),$.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"text-sm font-semibold uppercase tracking-wider mb-2 mt-4",style:{color:Q.gold},children:e.category}),e.items.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-start justify-between p-3 rounded-lg mb-1",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),e.dietary&&(0,a.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded-full",style:{background:"rgba(74,222,128,0.1)",color:Q.green},children:e.dietary})]}),(0,a.jsx)("p",{className:"text-sm mt-0.5",style:{color:Q.muted},children:e.desc})]}),(0,a.jsxs)("div",{className:"flex items-center gap-2 shrink-0 ml-3",children:[(0,a.jsxs)("span",{className:"text-base font-bold",style:{color:Q.gold},children:["€",e.price]}),(0,a.jsx)("button",{onClick:()=>{r(t===e.name?null:e.name),i(null)},className:"text-[10px] px-2 py-1 rounded-md font-semibold transition-colors",style:{background:t===e.name?Q.gold:"rgba(249,239,167,0.12)",color:t===e.name?Q.bg:Q.gold},children:(null==s?void 0:s.bookNow)||"Book"})]})]}),t===e.name&&(0,a.jsx)(eE,{type:"restaurant",service:e.name,onClose:()=>r(null),onConfirm:s=>{r(null),i({item:e.name,ref:s})}}),(null==n?void 0:n.item)===e.name&&(0,a.jsx)(eD,{reference:n.ref,onDismiss:()=>i(null)})]},e.name))]},e.category)),(0,a.jsx)("div",{className:"p-3 rounded-lg text-center",style:{background:"rgba(249,239,167,0.06)",border:"1px solid ".concat(Q.border)},children:(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"ARIAN handles table reservations, dietary requirements, and room service orders — 24/7 in your hotel's voice."})})]})}function eB(e){let{t:s}=e,[t,r]=(0,o.useState)(null),[n,i]=(0,o.useState)(null);return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:(null==s?void 0:s.spaWellness)||"Spa & Wellness"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Open daily 8:00 AM – 9:00 PM \xb7 Pool & gym complimentary"}),ee.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsxs)("span",{className:"text-lg font-bold",style:{color:Q.gold},children:["€",e.price]}),(0,a.jsx)("button",{onClick:()=>{r(t===e.name?null:e.name),i(null)},className:"text-[10px] px-2 py-1 rounded-md font-semibold transition-colors",style:{background:t===e.name?Q.gold:"rgba(249,239,167,0.12)",color:t===e.name?Q.bg:Q.gold},children:(null==s?void 0:s.bookNow)||"Book"})]})]}),(0,a.jsx)("p",{className:"text-xs mb-1",style:{color:Q.gold},children:e.duration}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:e.desc})]}),t===e.name&&(0,a.jsx)(eE,{type:"spa",service:e.name,onClose:()=>r(null),onConfirm:s=>{r(null),i({item:e.name,ref:s})}}),(null==n?void 0:n.item)===e.name&&(0,a.jsx)(eD,{reference:n.ref,onDismiss:()=>i(null)})]},e.name)),(0,a.jsx)("div",{className:"p-3 rounded-lg text-center",style:{background:"rgba(249,239,167,0.06)",border:"1px solid ".concat(Q.border)},children:(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"ARIAN books spa appointments, remembers treatment preferences, and suggests based on guest profile."})})]})}function eP(e){let{t:s}=e,[t,r]=(0,o.useState)(null),[n,i]=(0,o.useState)(null);return(0,a.jsxs)("div",{className:"p-5 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold}
1,children:(null==s?void 0:s.activitiesExp)||"Activities & Experiences"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Today's available experiences"}),es.map(e=>(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1",children:[(0,a.jsx)("h3",{className:"text-base font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"text-lg font-bold",style:{color:0===e.price?Q.green:Q.gold},children:0===e.price?"Free":"€".concat(e.price)}),(0,a.jsx)("button",{onClick:()=>{r(t===e.name?null:e.name),i(null)},className:"text-[10px] px-2 py-1 rounded-md font-semibold transition-colors",style:{background:t===e.name?Q.gold:"rgba(249,239,167,0.12)",color:t===e.name?Q.bg:Q.gold},children:(null==s?void 0:s.bookNow)||"Book"})]})]}),(0,a.jsxs)("div",{className:"flex gap-3 text-xs mb-1",style:{color:Q.gold},children:[(0,a.jsx)("span",{children:e.time}),(0,a.jsx)("span",{children:e.duration}),(0,a.jsxs)("span",{children:[e.spots," spots left"]})]}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:e.desc})]}),t===e.name&&(0,a.jsx)(eE,{type:"activity",service:e.name,onClose:()=>r(null),onConfirm:s=>{r(null),i({item:e.name,ref:s})}}),(null==n?void 0:n.item)===e.name&&(0,a.jsx)(eD,{reference:n.ref,onDismiss:()=>i(null)})]},e.name)),(0,a.jsx)("div",{className:"p-3 rounded-lg text-center",style:{background:"rgba(249,239,167,0.06)",border:"1px solid ".concat(Q.border)},children:(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"ARIAN anticipates what guests want — suggesting activities based on their profile, weather, and stay duration."})})]})}function eL(){return(0,a.jsxs)("div",{className:"p-6 space-y-4",children:[(0,a.jsx)("h2",{className:"text-sm font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Your Operations Dashboard"}),(0,a.jsx)("p",{className:"text-sm mb-4",style:{color:Q.muted},children:"This is what you get to run your hotel. 10 voice-controlled panels. Say the command, see the result."}),(0,a.jsx)("div",{className:"grid md:grid-cols-2 gap-3",children:[{name:"Reservations",cmd:'"Show reservations"',icon:S.A},{name:"Guest Intelligence",cmd:'"Who is in house?"',icon:g.A},{name:"Operations Pulse",cmd:'"Show operations"',icon:R.A},{name:"Knowledge Base",cmd:'"Train ARIAN"',icon:C.A},{name:"Integrations",cmd:'"Connect my PMS"',icon:I.A},{name:"Conversations",cmd:'"Guest conversations"',icon:T.A},{name:"Temporal Stream",cmd:'"Show inbox"',icon:E.A},{name:"Attribution",cmd:'"Voice analytics"',icon:D.A},{name:"Booking Widget",cmd:'"Booking calendar"',icon:S.A},{name:"OnePageBooking",cmd:'"Make a booking"',icon:O.A}].map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-3 p-3 rounded-lg",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(e.icon,{className:"w-4 h-4 flex-shrink-0",style:{color:Q.gold}}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs font-semibold",style:{color:Q.text},children:e.name}),(0,a.jsx)("p",{className:"text-[10px]",style:{color:Q.muted},children:e.cmd})]})]},e.name))}),(0,a.jsx)("a",{href:"https://aria.voicecosmos.com/aria-dashboard?industry=automotiveindustry=hospitality&role=investorrole=investor",className:"block text-center mt-4 px-6 py-3 rounded-xl text-sm font-semibold transition-all hover:scale-[1.01]",style:{background:"rgba(249,239,167,0.12)",border:"1px solid ".concat(Q.gold),color:Q.gold},children:"Open Full Dashboard Demo →"})]})}function eM(e){let{t:s}=e,[t,r]=(0,o.useState)(""),[n,i]=(0,o.useState)(""),[l,c]=(0,o.useState)(null),[d,m]=(0,o.useState)(!1),[u,p]=(0,o.useState)(""),[x,h]=(0,o.useState)(""),[g,b]=(0,o.useState)(!1),[y,f]=(0,o.useState)(""),[v,k]=(0,o.useState)(""),[j,N]=(0,o.useState)(!1);async function A(){m(!0),p(""),h(""),c(null);try{let e=new URLSearchParams;if(t.trim())e.set("ref",t.trim());else if(n.trim())e.set("email",n.trim());else{p("Please enter a booking reference or email."),m(!1);return}let s=await fetch("/api/bookings/universal?".concat(e.toString()));if(!s.ok){p("Reservation not found."),m(!1);return}let a=await s.json();a.booking?(c({id:a.booking.id||"",ref:a.booking.ref||t||"",guestName:a.booking.customer_name||"",email:a.booking.customer_email||"",room:a.booking.service_name||"Standard Room",checkIn:a.booking.date||"",checkOut:a.booking.end_date||"",guests:a.booking.guest_count||1,total:a.booking.total||0,status:a.booking.status||"confirmed",currency:a.booking.currency||"EUR"}),f(a.booking.date||""),k(a.booking.end_date||"")):p("No reservation found with those details.")}catch(e){p("Unable to look up reservation.")}m(!1)}async function S(){if(l){m(!0),p(""),h("");try{if(!(await fetch("/api/bookings/universal",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({booking_id:l.id,ref:l.ref,date:y,end_date:v})})).ok){p("Could not modify reservation."),m(!1);return}h("Reservation updated successfully."),c(e=>e?{...e,checkIn:y,checkOut:v}:null),b(!1)}catch(e){p("Unable to modify reservation.")}m(!1)}}async function R(){if(l){m(!0),p(""),h("");try{if(!(await fetch("/api/bookings/universal",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({booking_id:l.id,ref:l.ref})})).ok){p("Could not cancel reservation."),m(!1);return}h("Reservation cancelled. Refund processed within 5-7 business days."),c(e=>e?{...e,status:"cancelled"}:null),N(!1)}catch(e){p("Unable to cancel reservation.")}m(!1)}}return(0,a.jsxs)("div",{className:"p-6 space-y-6",children:[(0,a.jsx)("h2",{className:"text-2xl font-bold",style:{color:Q.text},children:s.manageBooking||"Manage Your Reservation"}),!l&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Enter your booking reference or email."}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs font-semibold mb-1",style:{color:Q.muted},children:"Booking Reference"}),(0,a.jsx)("input",{type:"text",placeholder:"e.g. BK-2026-0042",value:t,onChange:e=>r(e.target.value),className:"w-full px-4 py-3 rounded-xl text-sm outline-none",style:{background:Q.card,border:"1px solid ".concat(Q.border),color:Q.text},onKeyDown:e=>"Enter"===e.key&&A()})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"flex-1 h-px",style:{background:Q.border}}),(0,a.jsx)("span",{className:"text-xs",style:{color:Q.muted},children:"or"}),(0,a.jsx)("div",{className:"flex-1 h-px",style:{background:Q.border}})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs font-semibold mb-1",style:{color:Q.muted},children:"Guest Email"}),(0,a.jsx)("input",{type:"email",placeholder:"[email protected]",value:n,onChange:e=>i(e.target.value),className:"w-full px-4 py-3 rounded-xl text-sm outline-none",style:{background:Q.card,border:"1px solid ".concat(Q.border),color:Q.text},onKeyDown:e=>"Enter"===e.key&&A()})]})]}),(0,a.jsxs)("button",{onClick:A,disabled:d,className:"w-full py-3 rounded-xl text-sm font-semibold flex items-center justify-center gap-2",style:{background:Q.gold,color:Q.bg,opacity:d?.6:1},children:[(0,a.jsx)(B.A,{className:"w-4 h-4"}),d?"Looking up...":"Find Reservation"]})]}),u&&(0,a.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-xl",style:{background:"rgba(239,68,68,0.1)",border:"1px solid rgba(239,68,68,0.3)"},children:[(0,a.jsx)(P.A,{className:"w-5 h-5 flex-shrink-0 mt-0.5",style:{color:"#ef4444"}}),(0,a.jsx)("p",{className:"text-sm",style:{color:"#fca5a5"},children:u})]}),x&&(0,a.jsxs)("div",{className:"flex items-start gap-3 p-4 rounded-xl",style:{background:"rgba(74,222,128,0.1)",border:"1px solid rgba(74,222,128,0.3)"},children:[(0,a.jsx)(w.A,{className:"w-5 h-5 flex-shrink-0 mt-0.5",style:{color:Q.green}}),(0,a.jsx)("p",{className:"text-sm",style:{color:"#86efac"},children:x})]}),l&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsxs)("div",{className:"p-5 rounded-xl space-y-3",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("h3",{className:"text-lg font-semibold",style:{color:Q.text},children:"Reservation Details"}),(0,a.jsx)("span",{className:"px-3 py-1 rounded-full text-xs font-semibold uppercase",style:{background:"confirmed"===l.status?"rgba(74,222,128,0.15)":"rgba(239,68,68,0.15)",color:"confirmed"===l.status?Q.green:"#ef4444"},children:l.status})]}),(0,a.jsx)("div",{className:"h-px",style:{background:Q.border}}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-y-3 gap-x-4 text-sm",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Reference"}),(0,a.jsx)("p",{className:"font-semibold",style:{color:Q.gold},children:l.ref||l.id})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Guest"}),(0,a.jsx)("p",{className:"font-semibold",style:{color:Q.text},children:l.guestName})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Room"}),(0,a.jsx)("p",{className:"font-semibold",style:{color:Q.text},children:l.room})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Guests"}),(0,a.jsx)("p",{className:"font-semibold",style:{color:Q.text},children:l.guests})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Check-in"}),(0,a.jsx)("p",{className:"font-semibold",style:{color:Q.text},children:l.checkIn})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:"Check-out"}),(0,a.jsx)("p",{className:"font-semibold",style:{color:Q.text},children:l.checkOut})]})]})]}),g&&"cancelled"!==l.status&&(0,a.jsxs)("div",{className:"p-5 rounded-xl space-y-4",style:{background:Q.card,border:"1px solid ".concat(Q.gold)},children:[(0,a.jsxs)("h4",{className:"text-sm font-semibold flex items-center gap-2",style:{color:Q.text},children:[(0,a.jsx)(L.A,{className:"w-4 h-4",style:{color:Q.gold}})," Modify Dates"]}),(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-3",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs mb-1",style:{color:Q.muted},children:"New Check-in"}),(0,a.jsx)("input",{type:"date",value:y,onChange:e=>f(e.target.value),className:"w-full px-3 py-2 rounded-lg text-sm outline-none",style:{background:Q.bg,border:"1px solid ".concat(Q.border),color:Q.text}})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs mb-1",style:{color:Q.muted},children:"New Check-out"}
1),(0,a.jsx)("input",{type:"date",value:v,onChange:e=>k(e.target.value),className:"w-full px-3 py-2 rounded-lg text-sm outline-none",style:{background:Q.bg,border:"1px solid ".concat(Q.border),color:Q.text}})]})]}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsxs)("button",{onClick:S,disabled:d,className:"flex-1 py-3 rounded-xl text-sm font-semibold flex items-center justify-center gap-2",style:{background:Q.gold,color:Q.bg,opacity:d?.6:1},children:[(0,a.jsx)(M.A,{className:"w-4 h-4"}),d?"Updating...":"Confirm Changes"]}),(0,a.jsx)("button",{onClick:()=>b(!1),className:"px-4 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Cancel"})]})]}),j&&"cancelled"!==l.status&&(0,a.jsxs)("div",{className:"p-5 rounded-xl space-y-4",style:{background:"rgba(239,68,68,0.06)",border:"1px solid rgba(239,68,68,0.3)"},children:[(0,a.jsxs)("h4",{className:"text-sm font-semibold flex items-center gap-2",style:{color:"#fca5a5"},children:[(0,a.jsx)(P.A,{className:"w-4 h-4"})," Confirm Cancellation"]}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Are you sure? This cannot be undone."}),(0,a.jsxs)("div",{className:"flex gap-2",children:[(0,a.jsxs)("button",{onClick:R,disabled:d,className:"flex-1 py-3 rounded-xl text-sm font-semibold flex items-center justify-center gap-2",style:{background:"#ef4444",color:"#fff",opacity:d?.6:1},children:[(0,a.jsx)(W.A,{className:"w-4 h-4"}),d?"Cancelling...":"Yes, Cancel"]}),(0,a.jsx)("button",{onClick:()=>N(!1),className:"px-4 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Go Back"})]})]}),"cancelled"!==l.status&&!g&&!j&&(0,a.jsxs)("div",{className:"flex gap-3",children:[(0,a.jsxs)("button",{onClick:()=>{b(!0),N(!1)},className:"flex-1 py-3 rounded-xl text-sm font-semibold flex items-center justify-center gap-2",style:{background:Q.gold,color:Q.bg},children:[(0,a.jsx)(L.A,{className:"w-4 h-4"})," Modify Dates"]}),(0,a.jsxs)("button",{onClick:()=>{N(!0),b(!1)},className:"flex-1 py-3 rounded-xl text-sm font-semibold flex items-center justify-center gap-2",style:{border:"1px solid rgba(239,68,68,0.5)",color:"#fca5a5"},children:[(0,a.jsx)(W.A,{className:"w-4 h-4"})," Cancel Booking"]})]}),(0,a.jsx)("button",{onClick:()=>{c(null),r(""),i(""),p(""),h(""),b(!1),N(!1)},className:"w-full py-2 text-sm text-center",style:{color:Q.muted},children:"Look up a different reservation"}),(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:"rgba(249,239,167,0.06)",border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("p",{className:"text-xs font-semibold mb-1",style:{color:Q.gold},children:"Cancellation Policy"}),(0,a.jsx)("p",{className:"text-xs leading-relaxed",style:{color:Q.muted},children:"Free cancellation up to 48 hours before check-in. Late cancellations may incur one night's charge. No-shows charged in full."})]})]})]})}function eW(){let[e,s]=(0,o.useState)(0),[t,r]=(0,o.useState)(!1),[n]=(0,o.useState)(!0),i=(0,o.useRef)(null),l=(0,o.useRef)(null);return(0,o.useEffect)(()=>{let e;return async function(){try{let t=await navigator.mediaDevices.getUserMedia({audio:!0});l.current=t;let a=new AudioContext,o=a.createMediaStreamSource(t),n=a.createAnalyser();n.fftSize=256,o.connect(n),i.current=n,r(!0);let c=new Uint8Array(n.frequencyBinCount);!function t(){n.getByteFrequencyData(c);let a=c.reduce((e,s)=>e+s,0)/c.length;s(Math.min(100,1.5*a)),e=requestAnimationFrame(t)}()}catch(e){r(!1)}}(),()=>{var s;cancelAnimationFrame(e),null==(s=l.current)||s.getTracks().forEach(e=>e.stop())}},[]),(0,a.jsxs)("div",{className:"w-full max-w-xs space-y-2 mb-3",children:[(0,a.jsxs)("div",{className:"p-2.5 rounded-lg flex items-center justify-between",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("span",{className:"text-[10px] font-semibold",style:{color:Q.green},children:"\uD83D\uDD0A SPEAKER"}),(0,a.jsx)("span",{className:"text-[10px]",style:{color:n?Q.green:Q.muted},children:n?"✓ Ready":"Check"})]}),(0,a.jsxs)("div",{className:"p-2.5 rounded-lg",style:{background:Q.card,border:"1px solid ".concat(t?Q.border:"rgba(239,68,68,0.3)")},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1.5",children:[(0,a.jsx)("span",{className:"text-[10px] font-semibold",style:{color:t?Q.green:"#ef4444"},children:"\uD83C\uDF99️ MICROPHONE"}),(0,a.jsx)("span",{className:"text-[10px]",style:{color:t?Q.green:"#ef4444"},children:t?"✓ Ready":"Allow mic"})]}),(0,a.jsx)("div",{className:"flex gap-0.5",children:Array.from({length:20}).map((s,t)=>(0,a.jsx)("div",{className:"flex-1 h-1.5 rounded-full transition-all duration-75",style:{background:t<e/5?e>60?Q.gold:Q.green:"rgba(255,255,255,0.1)"}},t))}),t&&(0,a.jsx)("p",{className:"text-[9px] mt-1",style:{color:Q.muted},children:"Speak to see your mic level"})]})]})}function eF(e){let{state:s,size:t="lg"}=e,o="listening"===s?"rgba(249,239,167,0.6)":"speaking"===s?"rgba(74,222,128,0.4)":"processing"===s?"rgba(139,92,246,0.5)":"rgba(249,239,167,0.25)";return(0,a.jsx)("div",{className:"flex items-center justify-center py-4",children:(0,a.jsxs)("div",{className:"relative flex items-center justify-center",style:"idle"===s?{animation:"arian-pulse-ring 3s ease-in-out infinite"}:{},children:[(0,a.jsx)("div",{className:"absolute rounded-full",style:{width:"sm"===t?"120px":"200px",height:"sm"===t?"120px":"200px",background:"transparent",border:"1px solid rgba(249,239,167,0.15)",animation:"idle"===s?"arian-ring-expand 3s ease-in-out infinite":"none"}}),(0,a.jsx)("div",{className:"absolute rounded-full",style:{width:"sm"===t?"140px":"230px",height:"sm"===t?"140px":"230px",background:"transparent",border:"1px solid rgba(249,239,167,0.08)",animation:"idle"===s?"arian-ring-expand 3s ease-in-out infinite 0.5s":"none"}}),(0,a.jsxs)("div",{className:"relative ".concat("sm"===t?"w-24 h-24":"w-40 h-40"," rounded-full transition-all duration-500 ").concat("listening"===s?"animate-pulse scale-110":"processing"===s?"animate-spin-slow":"speaking"===s?"animate-pulse scale-105":""),style:{background:"radial-gradient(circle at 40% 40%, rgba(249,239,167,0.35), rgba(139,92,246,0.15), rgba(11,18,30,0.9))",boxShadow:"0 0 50px ".concat(o,", 0 0 100px ").concat(o,", inset 0 0 25px rgba(249,239,167,0.15)"),animation:"idle"===s?"arian-breathe 3s ease-in-out infinite":void 0},children:[(0,a.jsx)("div",{className:"absolute inset-3 rounded-full",style:{background:"radial-gradient(circle at 35% 35%, rgba(249,239,167,0.25), transparent 70%)"}}),(0,a.jsx)("div",{className:"absolute top-4 left-6 w-6 h-4 rounded-full",style:{background:"radial-gradient(ellipse, rgba(255,255,255,0.15), transparent)"}})]})]})})}function eG(){let[e,s]=(0,o.useState)("content"),[t,r]=(0,o.useState)([]),[i,c]=(0,o.useState)(""),[d,m]=(0,o.useState)(!1),[u,p]=(0,o.useState)("Boutique Hotel"),[x,h]=(0,o.useState)(!1),[g,b]=(0,o.useState)(!1),[y,f]=(0,o.useState)("unknown"),[k,j]=(0,o.useState)("unknown"),[S,R]=(0,o.useState)(50),[C,T]=(0,o.useState)(!1),[E,D]=(0,o.useState)("none"),[O,B]=(0,o.useState)(!1),[P,L]=(0,o.useState)("nova"),[M,W]=(0,o.useState)("English"),Y=(0,o.useRef)(!1),_=(0,o.useRef)(null),J=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=()=>T(window.innerWidth<768);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let Z="English"!==M?"\n\nCRITICAL LANGUAGE INSTRUCTION: You MUST speak and respond ONLY in ".concat(M,". Every word you say must be in ").concat(M,". Do not use English unless the user explicitly switches to English. Greet in ").concat(M,". Ask questions in ").concat(M,". Demonstrate features in ").concat(M,"."):"",X=(0,q.p)({sessionEndpoint:"/api/voice/session",surface:"public-vertical",industry:"automotive",systemPrompt:'You are ARIAN — the automotive voice assistant built by VoiceCosmos.\n\nPERSONA: Command\nYou carry what we call Harbour voice — the quality of someone at the front desk who has been there fifteen years. Warm, present, unhurried, genuinely helpful. Think Tom Hanks in every scene — the audience trusts you before you\'ve done anything to earn that trust. You carry the weight of ordinary moments without making it feel like a performance.\n\nYOUR CRAFT: You name what is real without performing it (Danielle Steel). You never announce care — you demonstrate it through specificity. You don\'t say "I understand how hard that is" — you say "The 11pm booking request that went to an OTA — that\'s usually where it happens."\n\nYOUR ROLE ON THIS PAGE: You are meeting a hotel professional (GM, revenue manager, owner) for the first time. This is a sales conversation, but it doesn\'t feel like one. You are demonstrating what VoiceCosmos does by being what VoiceCosmos does. The conversion IS the demonstration.\n\nFIRST INTERACTION PROTOCOL:\n1. Greet warmly: "Welcome. I\'m ARIAN — your Voice Operating System. You speak, I execute. I\'m here to show you two things: what your guests will experience on your hotel\'s website, and what you get to run your operation."\n2. Ask for their name — warmly, not formally.\n3. Ask what type of property they operate (boutique hotel, luxury resort, business hotel, hotel group, STR).\n4. Once you know their property type, explain the TWO layers:\n   - PRE-SUBSCRIPTION (what they\'re experiencing right now): "Right now, you\'re seeing exactly what your guests would see — ask me about rooms, dining, spa, activities, or making a booking. I handle it in your hotel\'s voice, 24 hours a day."\n   - POST-SUBSCRIPTION (what makes their life easier): "On the operations side, I give you six voice-powered widgets on your website — Front Office for bookings, Concierge for local knowledge, F&B for dining, Bar, Wine, and Experience Booking. Plus a full operations dashboard where you manage arrivals, departures, revenue, housekeeping, and reviews — all by voice."\n5. Then ask: "What\'s the one guest communication moment that takes your team the most time right now?" — and SHOW them the specific component that solves it.\n6. Everything you demonstrate is REAL. The booking works. The rooms are real. The flows execute. This is not a demo — this is the product.\n\nWHAT YOU CAN DEMONSTRATE (28 live components — tell the visitor to ask about these):\n\nGUEST EXPERIENCE (what their guests see on the hotel website):\n- "Show me your rooms" — 5 room types with photos, pricing, select buttons\n- "Restaurant" / "dinner menu" — full dinner menu with starters, mains, desserts, dietary tags\n- "Spa" / "massage" — 6 spa treatments with pricing and duration\n- "Activities" / "experiences" — cooking class, boat tour, yoga, wine tasting, kids club\n- "Wine list" — sommelier selections with pairing descriptions\n- "Bar" / "cocktails" — signature cocktails, spirits, non-alcoholic options\n- "Concierge" / "recommend a restaurant" — local recommendations with descriptions\n- "Make a booking" — OnePageBooking with calendar, room selection, extras, instant confirmation\n- "Call ARIAN" — live phone demo (+1 508 594-8726), shows the 5-step call flow\n- "Front office" — Professional Harbour conversation samples\n\nOPERATIONS (what the hotel GM gets to run their property):\n- "Show me arrivals" — today\'s check-ins with VIP flags, room assignments, preferences\n- "Departures" — today\'s check-outs with folio summaries\n- "Room status" / "housekeeping" — color-coded room grid (clean/dirty/occupied/preparing)\n- "Revenue" / "occupancy" — ADR, RevPAR, occupancy rate, revenue breakdown by category\n- "Maintenance" — tracked requests with priority, assignment, status\n- "Reviews" / "TripAdvisor" — guest reviews with ratings and platforms\n- "Communications" — guest message timeline from pre-arrival to post-stay\n- "Dashboard" — full 10-panel operations overview with link to live demo\n\nBOOKING MANAGEMENT:\n- "Cancel my booking" / "Modify reservation" / "Manage booking" — lookup by reference or email, modify dates, c
1ancel with policy\n- Restaurant, Spa, Activities panels all have inline booking — guests can book a table, treatment, or activity directly\n\nSERVICE STANDARDS (SOP BUILDER — HIGH VALUE FEATURE):\n- "Service standards" / "SOP" / "Checklist" — opens the SOP Builder where hotel directors define their property\'s service standards\n- 8 departments pre-loaded with luxury hotel defaults: Front Office, Concierge, Housekeeping, Spa, Restaurant, Bar, Activities, General\n- 30 scenarios with 130+ checklist items based on luxury guest expectations\n- Each item has priority (critical/important/nice-to-have), time estimate, and responsible role\n- "Generate Flows" converts SOPs into executable ARIAN automation flows\n- This is how each property customizes ARIAN — their standards become ARIAN\'s operating instructions\n- When a hotel director asks about training staff, onboarding, or service quality, guide them here\n- Key value: "Your service standards don\'t live in a binder — they live in your AI. ARIAN enforces them every shift."\n\nWHAT THE SOP TEMPLATES COVER (luxury hotel defaults):\nFront Office: Pre-booking, Pre-arrival, Arrival & Check-in (greet within 30s, check-in under 5min), During Stay, Check-out, VIP Handling\nConcierge: Trip Curation, On-property Requests (2-3 curated options, written confirmations), Crisis Management\nHousekeeping: Room Prep (check everything works, personalized amenities), Daily Service & Turndown, Guest in Room protocols\nSpa: Pre-stay Planning, Arrival Flow, Treatment & Post-treatment (check pressure mid-treatment, no-pressure product suggestions)\nRestaurant: Reservation capture, Arrival & Seating (right table for profile), Ordering (allergies first), Issue Handling (listen, fix, log)\nBar: Welcome within 30s, Quality Standards (mise en place, consistent specs)\nActivities: Booking & Preparation (brief guide on profile), Delivery & Follow-up\nGeneral: Service Recovery (own it, clarify impact, fix, gesture, log), Communication Standards (use name, never redirect)\n\nBUSINESS PLATFORM:\n- "Show me the flows" — 42 automation flows across 9 domains (guest comms, revenue, ops, guest experience, sales & CRM, marketing, staff, financial, compliance)\n- "Integrations" — Opera PMS, Amadeus, Sabre, Booking.com, Expedia, SiteMinder + 10 more\n- "Problems" / "gaps" — six communication gaps where hotels lose revenue\n\nSALES & MARKETING (built into the platform):\n- Lead capture and AI scoring, pipeline management, proposal generation\n- Campaign creation, email/SMS automation, creative DNA optimization (15-agent marketing swarm)\n- Attribution and ROI tracking — proves exactly how much revenue ARIAN generated\n\nREPORTS (all voice-triggered):\n- "Monthly report" — aggregates all hive operations into one executive summary\n- "Revenue report" — ADR, RevPAR, occupancy trends, channel performance\n- "Attribution report" — proves ARIAN\'s incremental revenue (the un-cancellable invoice)\n- "Campaign report" — marketing ROAS, creative analysis, spend optimization\n\nCOMPLIANCE & SECURITY:\n- GDPR consent management, data protection audit trail\n- Guest screening automation, payment security (PCI DSS)\n\nMULTI-LANGUAGE: ARIAN speaks 10 languages natively. If the visitor selected a language on the Sound Check, you are speaking that language right now. Available: English, German, French, Spanish, Italian, Portuguese, Dutch, Arabic, Japanese, Chinese.\n\nTHE SIX WIDGETS YOU REPRESENT (for post-subscription):\nWhen the visitor asks "what would my guests experience?", explain that ARIAN deploys as six distinct guest-facing widgets on their hotel\'s website — each with a different Harbour register:\n1. Front Office (Professional Harbour) — books, modifies, handles logistics. Warm efficiency.\n2. Concierge (Knowledge Harbour) — recommends, arranges, personalises. Warm expertise.\n3. F&B Service (Attentive Harbour) — takes orders, books tables, handles dietary. Warm precision.\n4. Bar Service (Social Harbour) — reserves, recommends cocktails and spirits. Warm and convivial.\n5. Wine Service (Intimate Harbour) — pairing advice, cellar knowledge. The knowledgeable friend.\n6. Experience Booking (Anticipatory Harbour) — spa, activities, excursions. Warm foresight.\nThe guest never knows VoiceCosmos exists. They see their hotel\'s branded assistant.\n\nB2B2C — TWO PATHS:\nYou can show the visitor two things:\nPath 1: "What your guests will experience" — the front-end booking and service widgets\nPath 2: "What you get to run your operation" — the ARIAN Dashboard with 10 panels, command center, operations flows\n\nCOPY SAMPLES — Use these when demonstrating pre-arrival messages:\nBoutique Hotel: "Dear [Guest], We\'re looking forward to welcoming you on Friday. Check-in is from 3pm — your Garden Suite is ready with the firm pillows you prefer. The restaurant has a table at 7:30pm if you\'d like to start your evening there."\nLuxury Resort: "Dear [Guest], Your Ocean Vie
1w Villa is prepared for your arrival tomorrow. Your spa appointment is confirmed for Saturday at 11am, and we\'ve noted your preference for still water and dark roast coffee."\nBusiness Hotel: "Dear [Guest], Welcome back. Your usual room on the 8th floor is ready, with the standing desk configuration you requested last time. The business centre is reserved for your 9am meeting."\n\nCONVERSATION STYLE:\n- Speak naturally, as if having a real conversation\n- Keep responses to 2-3 sentences for voice clarity\n- Use pauses for emphasis, not filler words\n- Be specific and actionable — not generic\n- Ask one question at a time, never overwhelm\n- When demonstrating a capability, describe what happens step by step\n- Never say "I\'m just an AI" or "I can\'t actually do that" — you ARE the product\n- End with a natural next step: "Would you like to see the rooms?" or "Shall I show you what the dashboard looks like?"\n\nCRITICAL — SOFT SELL THROUGH QUESTIONS:\nAfter showing ANY component or answering ANY question, ALWAYS follow up with a discovery question about THEIR specific property. Never just present information — use it to learn about them.\nExamples:\n- After showing rooms: "Which type of guest books with you most — business or leisure? That changes how we\'d set up your communication flow."\n- After showing flows: "Which of these six areas takes your team the most time right now?"\n- After showing integrations: "Which PMS are you running? I can show you exactly how ARIAN connects to it."\n- After showing the dashboard: "What\'s the first thing you check when you arrive at the property each morning?"\n- After showing booking: "How many bookings come in after hours currently? That\'s usually where the biggest opportunity is."\n- After showing gaps: "Which of these six feels most urgent for your property right now?"\n- After showing SOP Builder: "Most hotels have their service standards in a binder somewhere. What if every standard became a live checklist your staff sees each shift — and ARIAN enforces it?"\n- When they mention training, onboarding, staff quality, consistency, or service problems: "Let me show you the Service Standards Builder — this is where your property\'s DNA lives. Your standards, your way, enforced by ARIAN every single shift."\n- After any service recovery discussion: "The SOP Builder has a Service Recovery checklist built in — five steps, from ownership to logging. Want to see how your team would use it?"\nEvery answer they give teaches you about their operation. By the time you suggest onboarding, you already know their property inside out. The close writes itself.\n\nCRITICAL — VOICE2COMPONENT TRIGGERS:\nWhen you want to show the visitor something on the screen, use these EXACT phrases in your response. The system listens for these to swap the visual panel:\n- To show rooms: say "Let me show you the rooms" or "Show me the rooms"\n- To show extras/spa: say "Let me show you the extras" or "Show me the spa"\n- To show booking: say "Let me show you the booking calendar" or "Show me the booking"\n- To show flows: say "Let me show you the flows" or "Show me the automations"\n- To show integrations: say "Let me show you the integrations"\n- To show problems: say "Let me show you the gaps" or "Show me the problems"\n- To show dashboard: say "Let me show you the dashboard" or "Show me the operations"\n- To show SOP Builder: say "Let me show you the service standards" or "Show me the SOP builder" or "Show me the checklist"\n- To show manage booking: say "Let me help you manage your booking" or "Cancel or modify"\n- To show guest path: say "the guest experience"\n- To show director path: say "as a director" or "run my operation"\nAlways include "show" + the keyword when you want the screen to change. This triggers the visual component swap.\n\nTHE CLOSE:\nWhen the visitor has seen enough, guide them toward onboarding:\n"Based on what you\'ve told me about [their property], I think the best next step is to set you up. The onboarding takes about 30 minutes — I walk you through connecting your PMS, training ARIAN on your property\'s specifics, and getting your first widget live. Shall we?"\n\nWHAT YOU MUST NOT DO:\n- Never use urgency tactics ("You\'re losing $X per second")\n- Never fabricate testimonials or statistics\n- Never call yourself "Sarah" — you are ARIAN\n- Never sound like a chatbot or a FAQ system\
1n- Never be cold, rushed, or transactional\n- Never explain the technology — demonstrate the experience\n'+Z,onTranscript:(e,s)=>{r(t=>[...t,{from:"user"===s?"user":"aria",text:e}]),"user"===s&&en(e,"user"),"assistant"===s&&en(e,"assistant")},onError:e=>{console.warn("[ARIA Voice]",e),e.includes("API key")||e.includes("401")||e.includes("403")?er("Voice connection needs an API key. You can still chat with me by typing below."):(e.includes("Failed")||e.includes("error"))&&er("Voice connection interrupted. You can type below to continue our conversation.")},onStreamStart:()=>b(!0)}),$=(0,o.useCallback)(()=>{Y.current=!0,document.body.style.cursor="col-resize",document.body.style.userSelect="none";let e=e=>{if(!Y.current||!_.current)return;let s=_.current.getBoundingClientRect();R(Math.min(80,Math.max(20,100-(e.clientX-s.left)/s.width*100)))},s=()=>{Y.current=!1,document.body.style.cursor="",document.body.style.userSelect="",window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",s)};window.addEventListener("mousemove",e),window.addEventListener("mouseup",s)},[]);function ee(){b(!0),t.length<=1&&r([{from:"aria",text:"Connecting..."}]),X.initialize()}(0,o.useEffect)(()=>{var e;null==(e=J.current)||e.scrollIntoView({behavior:"smooth"})},[t]),(0,o.useEffect)(()=>{if(t.length>1)try{localStorage.setItem("aria-conversation-automotive",JSON.stringify(t))}catch(e){}},[t]),(0,o.useEffect)(()=>{try{let e=localStorage.getItem("aria-conversation-automotive");if(e){let s=JSON.parse(e);s.length>1&&(r(s),window.innerWidth>=768&&b(!0))}}catch(e){}},[]),(0,o.useEffect)(()=>{let e=document.querySelector('[data-panel="right"]');e&&(e.scrollTop=0)},[e]),(0,o.useEffect)(()=>{X.isSpeaking?document.title="ARIAN \xb7 Speaking...":X.isListening?document.title="ARIAN \xb7 Listening":X.isStreaming?document.title="ARIAN \xb7 Connected":document.title="Automotive — ARIAN Voice OS | VoiceCosmos"},[X.isSpeaking,X.isListening,X.isStreaming]),(0,o.useEffect)(()=>{if(x||g)return;let e=setTimeout(()=>{X.isStreaming||g||(h(!0),r([{from:"aria",text:"If you'd like to hear what this sounds like for your property, I'm here. Click the microphone — or just keep reading."}]))},6e4);return()=>clearTimeout(e)},[]),(0,o.useEffect)(()=>{if(window.AudioContext)try{let e=new AudioContext;j("suspended"===e.state?"unavailable":"ready"),e.close()}catch(e){j("unavailable")}else j("ready");"undefined"!=typeof navigator&&navigator.mediaDevices?navigator.mediaDevices.getUserMedia({audio:!0}).then(e=>{e.getTracks().forEach(e=>e.stop()),f("granted")}).catch(()=>f("denied")):f("prompt")},[]);let es=(0,o.useCallback)(async()=>{if(!(t.length<2))try{await fetch("/api/aria/log-conversation",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({sessionId:"aria-".concat(Date.now()),messages:t,industry:"automotive",language:M,duration:Math.floor((Date.now()-Date.now())/1e3)})})}catch(e){}},[t,M]);function er(e){r(s=>[...s,{from:"aria",text:e}])}function en(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"user",a=e.toLowerCase();if("assistant"===t&&!(a.includes("show you")||a.includes("here are")||a.includes("let me show")||a.includes("here's the")||a.includes("take a look")))return!1;for(let e of[{keywords:["arrival","check-in","check in","checking in","arriving today","who's arriving","ankunft","einchecken","wer kommt","ank\xfcnfte","arriv\xe9e","arriv\xe9es","qui arrive","llegada","llegadas","qui\xe9n llega","arrivo","arrivi","chi arriva"],panel:"arrivals"},{keywords:["departure","check-out","check out","checking out","leaving","folio","abreise","auschecken","abreisen","d\xe9part","d\xe9parts","salida","salidas","partenza","partenze"],panel:"departures"},{keywords:["room status","housekeep","cleaning","room ready","zimmerstatus","hauswirtschaft","reinigung","zimmer bereit","\xe9tat des chambres","m\xe9nage","nettoyage","estado de habitaci\xf3n","limpieza","stato camera","pulizia"],panel:"room-status"},{keywords:["revenue","occupancy","adr","revpar","kpi","performance","how are we doing","umsatz","belegung","auslastung","wie l\xe4uft es","revenus","occupation","chiffre d'affaires","ingresos","ocupaci\xf3n","rendimiento","ricavi","occupazione","come andiamo"],panel:"revenue"},{keywords:["maintenance","repair","broken","fix","wartung","reparatur","kaputt","defekt","maintenance","r\xe9paration","cass\xe9","mantenimiento","reparaci\xf3n","roto","manutenzione","riparazione","rotto"],panel:"maintenance"},{keywords:["review","feedback","tripadvisor","rating","guest said","bewertung","g\xe4stebewertung","rezension","avis","commentaire","\xe9valuation","rese\xf1a","opini\xf3n","valoraci\xf3n","re
1censione","valutazione","giudizio"],panel:"reviews"},{keywords:["concierge","recommend","local restaurant","where to eat","taxi","attraction","empfehlung","empfehlen","wo essen","sehensw\xfcrdigkeit","recommander","o\xf9 manger","attraction","recomendar","d\xf3nde comer","atracci\xf3n","consigliare","dove mangiare","attrazione"],panel:"concierge"},{keywords:["wine","pairing","sommelier","cellar","champagne","wine list","wein","weinliste","weinkarte","weinkeller","vin","carte des vins","cave","vino","carta de vinos","bodega","vino","carta dei vini","cantina"],panel:"wine"},{keywords:["bar","cocktail","whisky","happy hour","nightcap","bar menu","barkarte","aperitif","carte du bar","ap\xe9ritif","carta del bar","c\xf3ctel","carta del bar","aperitivo"],panel:"bar"},{keywords:["communication","pre-arrival","email guest","message timeline","guest message","kommunikation","nachrichten","g\xe4stenachricht","communication","messages","message client","comunicaci\xf3n","mensajes","mensaje hu\xe9sped","comunicazione","messaggi","messaggio ospite"],panel:"communications"},{keywords:["call aria","phone","ring","vapi","dial","call the hotel","anrufen","telefon","appeler","t\xe9l\xe9phone","llamar","tel\xe9fono","chiamare","telefono"],panel:"call-aria"},{keywords:["front desk","front office","reception","receptionist","rezeption","empfang","r\xe9ception","accueil","recepci\xf3n","reception","ricevimento"],panel:"front-office"},{keywords:["restaurant","dinner","lunch","menu","table","dining","room service","food","abendessen","mittagessen","speisekarte","tisch","essen","zimmerservice","d\xeener","d\xe9jeuner","carte","repas","service en chambre","cena","almuerzo","carta","mesa","comida","servicio de habitaci\xf3n","cena","pranzo","men\xf9","tavolo","servizio in camera"],panel:"restaurant"},{keywords:["spa","massage","facial","treatment","wellness","relax","behandlung","entspannung","wohlbefinden","soin","d\xe9tente","bien-\xeatre","massoth\xe9rapie","tratamiento","bienestar","relajaci\xf3n","trattamento","benessere","rilassamento"],panel:"spa"},{keywords:["activity","activities","excursion","tour","yoga","cooking class","kids","experience","golf","tennis","gym","fitness","hiking","cycling","kayak","snorkel","dive","surf","ski","horse","sailing","fishing","what can i do","things to do","something to do","aktivit\xe4t","aktivit\xe4ten","ausflug","was kann ich machen","unternehmung","activit\xe9","activit\xe9s","excursion","que faire","que puis-je faire","actividad","actividades","excursi\xf3n","qu\xe9 puedo hacer","attivit\xe0","escursione","cosa posso fare","cosa fare"],panel:"activities"},{keywords:["room","suite","accommodation","our rooms","zimmer","suite","unterkunft","unsere zimmer","zeig mir die zimmer","chambre","suite","h\xe9bergement","nos chambres","montrez-moi les chambres","habitaci\xf3n","suite","alojamiento","nuestras habitaciones","mu\xe9strame las habitaciones","camera","suite","alloggio","le nostre camere","mostrami le camere"],panel:"rooms"},{keywords:["breakfast","pool","extra","parking","transfer","fr\xfchst\xfcck","schwimmbad","extras","parkplatz","petit-d\xe9jeuner","piscine","suppl\xe9ments","parking","desayuno","piscina","extras","aparcamiento","colazione","piscina","extra","parcheggio"],panel:"extras"},{keywords:["cancel","modify","change booking","change my booking","update reservation","manage booking","manage my booking","manage reservation","modify reservation","cancel reservation","cancel my reservation","cancel my booking","update my stay","change my stay","stornieren","\xe4ndern","buchung \xe4ndern","reservierung verwalten","buchung stornieren","annuler","modifier","changer r\xe9servation","g\xe9rer r\xe9servation","annuler ma r\xe9servation","cancelar","modificar","cambiar reserva","gestionar reserva","cancelar mi reserva","cancellare","modificare","cambiare prenotazione","gestire prenotazione","cancellare la mia prenotazione"],panel:"manage-booking"},{keywords:["sop","service standards","standard operating","checklist","build sop","define standards","service blueprint","training checklist","staff standards","operating procedures","betriebsanweisungen","servicestandards","checkliste","proc\xe9dures","normes de service","standards de service","procedimientos","est\xe1ndares de servicio","lista de verificaci\xf3n","procedure operative","standard di servizio","lista di controllo"],panel:"sop-builder"},{keywords:["book","calendar","late check","reserv","availab","make a booking","buchen","buchung","reservieren","verf\xfcgbar","kalender","r\xe9server","r\xe9servation","disponible","calendrier","reservar","reserva","disponible","calendario","prenotare","prenotazione","disponibile","calendario"],panel:"booking"},{keywords:["flow","automation","42 flow","18 flow","automate","workflow","automatisierung","ablauf","arbeitsablauf","automatisation","flux","processus","automatizaci\xf3n","flujo","proceso","automazione","flusso","processo"],panel:"flows"},{keywords:["monthly report","revenue report","attribution report","campaign report","report","analytics report","monatsbericht","umsatzbericht","bericht","rapport mensuel","rapport","bilan","informe mensual","informe","reporte","rapporto mensile","rapporto","report"],panel:"dashboard"},{keywords:["problem","gap","after-hour","no-show","upsell","challenge","solve","problem","herausforderung","l\xf6sung","probl\xe8me","d\xe9fi","solution","problema","desaf\xedo","soluci\xf3n","problema","sfida","soluzione"],panel:"gaps"},{keywords:["integration","opera","amadeus","pms","sabre","connect","integration","verbinden","anbindung","int\xe9gration","connecter","integraci\xf3n","conectar","
1integrazione","connettere"],panel:"integrations"},{keywords:["dashboard","operation","command center","ten panel","10 panel","backend","\xfcbersicht","betrieb","kommandozentrale","tableau de bord","op\xe9rations","centre de commande","panel de control","operaciones","centro de mando","pannello di controllo","operazioni","centro di comando"],panel:"dashboard"},{keywords:["overview","home","main page","landing","about the hotel","show content","\xfcbersicht","startseite","hauptseite","aper\xe7u","accueil","page principale","resumen","inicio","p\xe1gina principal","panoramica","pagina principale","contenuto"],panel:"content"},{keywords:["property type","what type of property","hotel type","copy sample","show samples","immobilientyp","hoteltyp","welcher hoteltyp","type de propri\xe9t\xe9","type d'h\xf4tel","exemples","tipo de propiedad","tipo de hotel","muestras","tipo di propriet\xe0","tipo di hotel","esempi"],panel:"copy-sample"}])if(e.keywords.some(e=>a.includes(e)))return s(e.panel),!0;if(a.includes("as a guest")||a.includes("guest experience")||a.includes("what guest")||a.includes("visitor experience"))return D("guest"),s("rooms"),!0;if(a.includes("as a director")||a.includes("as a manager")||a.includes("hotel director")||a.includes("run my operation"))return D("director"),s("dashboard"),!0;if(a.includes("boutique")||a.includes("resort")||a.includes("business hotel")||a.includes("luxury hotel"))return p(a.includes("boutique")?"Boutique Hotel":a.includes("resort")?"Luxury Resort":a.includes("business")?"Business Hotel":"Hotel Group"),s("copy-sample"),!0;if(a.includes("get started")||a.includes("sign up")||a.includes("onboard")||a.includes("set me up")){let e=new URLSearchParams(window.location.search).get("industry")||"automotive";return window.location.href="/onboarding/".concat(encodeURIComponent(e)),!0}return!!(a.includes("back to")||a.includes("go back")||a.includes("start over")||a.includes("overview"))&&(s("content"),!0)}async function ei(){if(!i.trim())return;let e=i.trim();if(c(""),r(s=>[...s,{from:"user",text:e}]),m(!0),X.isStreaming){X.sendText(e),en(e,"user"),m(!1);return}if(en(e,"user"))return void m(!1);try{let s=new URLSearchParams(window.location.search),a=s.get("tenantId")||s.get("tenant")||void 0,o=await fetch("/api/aria/rag-chat",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({message:e,history:t.slice(-6).map(e=>({role:"aria"===e.from?"assistant":"user",content:e.text})),industry:"automotive",tenantId:a})});if(o.ok){let e=await o.json();er(e.text)}else er("I'd love to help. Try asking about our rooms, extras, integrations, or tell me what type of property you operate.")}catch(e){er("Let me connect you with our team at [email protected]")}m(!1)}(0,o.useEffect)(()=>{let e=setInterval(es,6e4);return window.addEventListener("beforeunload",es),()=>{clearInterval(e),window.removeEventListener("beforeunload",es)}},[es]);let el={English:{rooms:"Rooms",book:"Book a Room",call:"Call ARIAN",frontOffice:"Front Office",concierge:"Concierge",dining:"Dining",spa:"Spa",wine:"Wine",bar:"Bar",activities:"Activities",dashboard:"Dashboard",arrivals:"Arrivals",roomStatus:"Room Status",revenue:"Revenue",flows:"Automations",maintenance:"Maintenance",reviews:"Reviews",communications:"Messages",integrations:"Integrations",getStarted:"Get Started",whatYouCanDo:"WHAT YOU CAN DO",voiceInteraction:"VOICE INTERACTION",listening:"Listening — speak naturally",speaking:"ARIA is speaking...",connected:"Connected",showRooms:"Show rooms",showDashboard:"Dashboard",callAria:"Call ARIAN",automations:"Automations",bookNow:"Book",settings:"Change settings",back:"← Back",overview:"← Overview",ourRooms:"Our Rooms",extras:"Extras & Experiences",perNight:"/night",guests:"guests",select:"Select →",complimentary:"Complimentary",todaysArrivals:"Today's Arrivals",todaysDepartures:"Today's Departures",inHouse:"in house",restaurant:"Restaurant",spaWellness:"Spa & Wellness",activitiesExp:"Activities & Experiences",wineList:"Wine List",barMenu:"Bar & Cocktails",ourFlows:"Automation Flows",sixGaps:"Six Communication Gaps",ourIntegrations:"Integrations",manageBooking:"Manage Your Reservation"},Français:{rooms:"Chambres",book:"R\xe9server",call:"Appeler ARIAN",frontOffice:"R\xe9ception",concierge:"Conciergerie",dining:"Restaurant",spa:"Spa",wine:"Vins",bar:"Bar",activities:"Activit\xe9s",dashboard:"Tableau de bord",arrivals:"Arriv\xe9es",roomStatus:"\xc9tat des chambres",revenue:"Revenus",flows:"Automatisations",maintenance:"Maintenance",reviews:"Avis",communications:"Messages",integrations:"Int\xe9grations",getStarted:"Commencer",whatYouCanDo:"CE QUE VOUS POUVEZ FAIRE",voiceInteraction:"INTERACTION VOCALE",listening:"\xc9coute — parlez naturellement",speaking:"ARIAN parle...",connected:"Connect\xe9",showRooms:"Voir les chambres",showDashboard:"Tableau de bord",callAria:"Appeler ARIAN",automations:"Automatisations",bookNow:"R\xe9server",settings:"Param\xe8tres",back:"← Retour",overview:"← Aper\xe7u",ourRooms:"Nos Chambres",extras:"Extras & Exp\xe9riences",perNight:"/nuit",guests:"personnes",select:"Choisir →",complimentary:"Offert",todaysArrivals:"Arriv\xe9es du jour",todaysDepartures:"D\xe9parts du jour",inHouse:"en s\xe9jour",restaurant:"Restaurant",spaWellness:"Spa & Bien-\xeatre",activitiesExp:"Activit\xe9s & Exp\xe9riences",wineList:"Carte des Vins",barMenu:"Bar & Cocktails",ourFlows:"Flux d'automatisation",sixGaps:"Six lacunes de communication",ourIntegrations:"Int\xe9grations",manageBooking:"G\xe9rer votre r\xe9servation"},Deutsch:{rooms:"Zimmer",book:"Buchen",call:"ARIAN anrufen",frontOffice:"Rezeption",concierge:"Concierge",dining:"Restaurant",spa:"Spa",wine:"Weine",bar:"Bar",activities:"Aktivit\xe4ten",dashboard:"Dashboard",arrivals:"Ank\xfcnfte",roomStatus:"Zimmerstatus",revenue:"Umsatz",flows:"Automatisierung",maintenance:"Wartung",reviews:"Bewertungen",communications:"Nachrichten",integrations:"Integrationen",getStarted:"Loslegen",whatYouCanDo:"WAS SIE TUN K\xd6NNEN",voiceInteraction:"SPRACHINTERAKTION",listening:"H\xf6rt zu — sprechen Sie nat\xfcrlich",speaking:"ARIAN spricht...",connected:"Verbunden",showRooms:"Zimmer zeigen",showDashboard:"Dashboard",callAria:"ARIAN anrufen",automations:"Automatisierung",bookNow:"Buchen",settings:"Einstellungen",back:"← Zur\xfcck",overview:"← \xdcbersicht",ourRooms:"Unsere Zimmer",extras:"Extras & Erlebnisse",perNight:"/Nacht",guests:"G\xe4ste",select:"W\xe4hlen →",complimentary:"Inklusive",todaysArrivals:"Heutige Ank\xfcnfte",todaysDepartures:"Heutige Abreisen",inHouse:"im Haus",restaurant:"Restaurant",spaWellness:"Spa & Wellness",activitiesExp:"Aktivit\xe4ten & Erlebnisse",wineList:"Weinkarte",barMenu:"Bar & Cocktails",ourFlows:"Automatisierungsabl\xe4ufe",sixGaps:"Sechs Kommunikationsl\xfccken",ourIntegrations:"Integrationen",manageBooking:"Reservierung verwalten"},Español:{rooms:"Habitaciones",book:"Reservar",call:"Llamar a ARIAN",frontOffice:"Recepci\xf3n",concierge:"Conserjer\xeda",dining:"Restaurante",spa:"Spa",wine:"Vinos",bar:"Bar",activities:"Actividades",dashboard:"Panel",arrivals:"Llegadas",roomStatus:"Estado habitaciones",revenue:"Ingresos",flows:"Automatizaciones",maintenance:"Mantenimiento",reviews:"Rese\xf1as",communications:"Mensajes",integrations:"Integraciones",getStarted:"Empezar",whatYouCanDo:"LO QUE PUEDES HACER",voiceInteraction:"INTERACCI\xd3N DE VOZ",listening:"Escuchando — hable naturalmente",speaking:"ARIAN est\xe1 hablando...",connected:"Conectado",showRooms:"Ver habitaciones",showDashboard:"Panel",callAria:"Llamar a ARIAN",automations:"Automatizaciones",bookNow:"Reservar",settings:"Configuraci\xf3n",back:"← Volver",overview:"← General",ourRooms:"Nuestras Habitaciones",extras:"Extras y Experiencias",perNight:"/noche",guests:"hu\xe9spedes",select:"Elegir →",complimentary:"Incluido",todaysArrivals:"Llegadas de hoy",todaysDepartures:"Salidas de hoy",inHouse:"alojados",restaurant:"Restaurante",spaWellness:"Spa y Bienestar",activitiesExp:"Actividades y Experiencias",wineList:"Carta de 
1Vinos",barMenu:"Bar y C\xf3cteles",ourFlows:"Flujos de automatizaci\xf3n",sixGaps:"Seis brechas de comunicaci\xf3n",ourIntegrations:"Integraciones",manageBooking:"Gestionar su reserva"},Italiano:{rooms:"Camere",book:"Prenota",call:"Chiama ARIAN",frontOffice:"Reception",concierge:"Concierge",dining:"Ristorante",spa:"Spa",wine:"Vini",bar:"Bar",activities:"Attivit\xe0",dashboard:"Pannello",arrivals:"Arrivi",roomStatus:"Stato camere",revenue:"Ricavi",flows:"Automazioni",maintenance:"Manutenzione",reviews:"Recensioni",communications:"Messaggi",integrations:"Integrazioni",getStarted:"Inizia",whatYouCanDo:"COSA PUOI FARE",voiceInteraction:"INTERAZIONE VOCALE",listening:"Ascolto — parla naturalmente",speaking:"ARIAN sta parlando...",connected:"Connesso",showRooms:"Mostra camere",showDashboard:"Pannello",callAria:"Chiama ARIAN",automations:"Automazioni",bookNow:"Prenota",settings:"Impostazioni",back:"← Indietro",overview:"← Panoramica",ourRooms:"Le Nostre Camere",extras:"Extra ed Esperienze",perNight:"/notte",guests:"ospiti",select:"Scegli →",complimentary:"Incluso",todaysArrivals:"Arrivi di oggi",todaysDepartures:"Partenze di oggi",inHouse:"in casa",restaurant:"Ristorante",spaWellness:"Spa e Benessere",activitiesExp:"Attivit\xe0 ed Esperienze",wineList:"Carta dei Vini",barMenu:"Bar e Cocktail",ourFlows:"Flussi di automazione",sixGaps:"Sei lacune di comunicazione",ourIntegrations:"Integrazioni",manageBooking:"Gestisci la tua prenotazione"}},ec=el[M]||el.English;function ed(){let s=((t.length>0?t[t.length-1].text.toLowerCase():"")+" "+(t.length>1?t[t.length-2].text.toLowerCase():"")).toLowerCase();return 0===t.length?[{label:"\uD83C\uDFE8 ".concat(ec.showRooms),cmd:"show me rooms"},{label:"\uD83D\uDCCA ".concat(ec.showDashboard),cmd:"show me the dashboard"},{label:"\uD83D\uDCDE ".concat(ec.callAria),cmd:"call aria"},{label:"⚡ ".concat(ec.automations),cmd:"flows"}]:s.includes("what type")||s.includes("what kind of property")||s.includes("boutique")&&s.includes("resort")&&s.includes("business")?[{label:"\uD83C\uDFE8 Boutique Hotel",cmd:"I run a boutique hotel"},{label:"\uD83C\uDF34 Luxury Resort",cmd:"I run a luxury resort"},{label:"\uD83D\uDCBC Business Hotel",cmd:"I run a business hotel"},{label:"\uD83C\uDFD8️ Hotel Group",cmd:"I manage a hotel group"},{label:"\uD83C\uDFE0 Short-Term Rental",cmd:"I manage short-term rentals"}]:s.includes("challenge")||s.includes("biggest")&&(s.includes("communication")||s.includes("problem")||s.includes("pain")||s.includes("struggle")||s.includes("frustrat"))?[{label:"\uD83C\uDF19 After-hours bookings go unanswered",cmd:"Our biggest problem is after-hours bookings — we lose them to OTAs"},{label:"\uD83D\uDC65 Group proposals take days",cmd:"Group booking proposals take us 3 days to send out"},{label:"\uD83D\uDCB0 We miss upsell opportunities",cmd:"We miss most upsell opportunities at check-in"},{label:"⭐ Guest preferences get forgotten",cmd:"We never remember returning guest preferences"},{label:"\uD83D\uDD27 Maintenance is chaos",cmd:"Maintenance requests get lost between departments"},{label:"\uD83D\uDCDD Reviews go unmanaged",cmd:"We rarely follow up with guests for reviews"}]:s.includes("what would you like")||s.includes("how can i help")||s.includes("would you like to see")||s.includes("shall i show")?[{label:"\uD83C\uDFE8 What my guests would see",cmd:"Show me what my guests would experience"},{label:"\uD83D\uDCCA What I get as operator",cmd:"Show me the operations dashboard"},{label:"\uD83D\uDCDE How the phone works",cmd:"Show me how ARIAN handles phone calls"},{label:"⚡ The automations",cmd:"Show me the automation flows"}]:s.includes("save")||s.includes("revenue")||s.includes("€")||s.includes("cost")||s.includes("roi")?[{label:"\uD83D\uDCB0 Show me the numbers",cmd:"revenue"},{label:"\uD83D\uDCCA Full dashboard",cmd:"dashboard"},{label:"\uD83D\uDE80 Get started",cmd:"How do I get started?"},{label:"\uD83D\uDCDE Talk to the team",cmd:"call aria"}]:s.includes("room")||s.includes("suite")||s.includes("accommodation")||"rooms"===e?[{label:"\uD83D\uDCC5 Book a room",cmd:"show me the booking"},{label:"\uD83C\uDF7D️ What extras are included?",cmd:"show me extras"},{label:"\uD83D\uDCB0 What does this cost?",cmd:"revenue"},{label:"\uD83C\uDF77 Wine with dinner?",cmd:"wine"},{label:"← Overview",cmd:"back to overview"}]:s.includes("book")||s.includes("reserv")||s.includes("calendar")||"booking"===e?[{label:"\uD83D\uDCDE Can guests call to book?",cmd:"call aria"},{label:"\uD83D\uDECE️ Front desk experience",cmd:"front office"},{label:"\uD83D\uDCCA How do I manage bookings?",cmd:"dashboard"},{label:"← Overview",cmd:"back to overview"}]:s.includes("dashboard")||s.includes("operation")||s.includes("manage")||"dashboard"===e?[{label:"\uD83D\uDCCB Who's arriving today?",cmd:"arrivals"},{label:"\uD83D\uDECF️ Room status",cmd:"room status"},{label:"\uD83D\uDCB0 Revenue overview",cmd:"revenue"},{label:"\uD83D\uDD27 Maintenance queue",cmd:"maintenance"},{label:"⭐ Guest reviews",cmd:"reviews"},{label:"← Overview",cmd:"back to overview"}]:s.includes("sop")||s.includes("standard")||s.includes("checklist")||s.includes("training")||s.includes("staff qual
1ity")||"sop-builder"===e?[{label:"\uD83D\uDCCB Service Standards",cmd:"show me service standards"},{label:"\uD83D\uDD04 Generate Flows",cmd:"show me the flows"},{label:"\uD83D\uDCCA Dashboard",cmd:"dashboard"},{label:"← Overview",cmd:"back to overview"}]:s.includes("arrival")||s.includes("check-in")||s.includes("check in")||"arrivals"===e?[{label:"\uD83D\uDECF️ Room status",cmd:"room status"},{label:"\uD83D\uDC64 Guest preferences",cmd:"show me guest intelligence"},{label:"\uD83D\uDCE7 Pre-arrival messages",cmd:"communications"},{label:"← Overview",cmd:"back to overview"}]:s.includes("revenue")||s.includes("price")||s.includes("rate")||s.includes("occupancy")||"revenue"===e?[{label:"\uD83D\uDCC5 Booking calendar",cmd:"booking"},{label:"\uD83D\uDD0C GDS integrations",cmd:"integrations"},{label:"⚡ Automation flows",cmd:"flows"},{label:"← Overview",cmd:"back to overview"}]:s.includes("problem")||s.includes("challenge")||s.includes("gap")||s.includes("lose")||"gaps"===e?[{label:"⚡ How we solve them",cmd:"flows"},{label:"\uD83D\uDCDE 24/7 phone coverage",cmd:"call aria"},{label:"\uD83D\uDD0C System integrations",cmd:"integrations"},{label:"← Overview",cmd:"back to overview"}]:s.includes("dinner")||s.includes("restaurant")||s.includes("food")||s.includes("breakfast")||s.includes("dining")||"extras"===e?[{label:"\uD83C\uDF77 Wine service",cmd:"wine"},{label:"\uD83C\uDF78 Bar & cocktails",cmd:"bar"},{label:"\uD83C\uDFE8 See the rooms",cmd:"rooms"},{label:"\uD83D\uDCC5 Book now",cmd:"booking"},{label:"← Overview",cmd:"back to overview"}]:s.includes("wine")||s.includes("pairing")||s.includes("sommelier")||"wine"===e?[{label:"\uD83C\uDF78 Bar menu",cmd:"bar"},{label:"\uD83C\uDF7D️ Dining options",cmd:"extras"},{label:"\uD83C\uDFE8 See rooms",cmd:"rooms"},{label:"← Overview",cmd:"back to overview"}]:s.includes("concierge")||s.includes("recommend")||s.includes("local")||"concierge"===e?[{label:"\uD83C\uDF77 Wine service",cmd:"wine"},{label:"\uD83C\uDFD6️ Experiences & spa",cmd:"extras"},{label:"\uD83D\uDCC5 Book",cmd:"booking"},{label:"← Overview",cmd:"back to overview"}]:s.includes("upsell")||s.includes("upgrade")||s.includes("which type of upsell")||s.includes("room upgrade")&&s.includes("dining")?[{label:"\uD83C\uDFE8 Room upgrades",cmd:"show me rooms"},{label:"\uD83C\uDF7D️ Dining experiences",cmd:"restaurant"},{label:"⏰ Late checkout",cmd:"show me the booking"},{label:"\uD83E\uDDD6 Spa packages",cmd:"spa"},{label:"\uD83C\uDF77 Wine service",cmd:"wine"}]:s.includes("restaurant")||s.includes("dinner")||s.includes("table")||s.includes("menu")||"restaurant"===e?[{label:"\uD83C\uDF77 Wine pairing",cmd:"wine"},{label:"\uD83C\uDF78 Bar & cocktails",cmd:"bar"},{label:"\uD83D\uDCC5 Book a table",cmd:"booking"},{label:"\uD83E\uDDD6 Spa after dinner?",cmd:"spa"},{label:"".concat(ec.back),cmd:"back to overview"}]:s.includes("spa")||s.includes("massage")||s.includes("treatment")||s.includes("wellness")||"spa"===e?[{label:"\uD83C\uDFD6️ Activities",cmd:"activities"},{label:"\uD83C\uDF7D️ Dining",cmd:"restaurant"},{label:"\uD83D\uDCC5 Book treatment",cmd:"booking"},{label:"\uD83C\uDFE8 See rooms",cmd:"rooms"},{label:"".concat(ec.back),cmd:"back to overview"}]:s.includes("activity")||s.includes("excursion")||s.includes("tour")||s.includes("yoga")||"activities"===e?[{label:"\uD83E\uDDD6 Spa",cmd:"spa"},{label:"\uD83C\uDF7D️ Dining",cmd:"restaurant"},{label:"\uD83C\uDF77 Wine tasting",cmd:"wine"},{label:"\uD83D\uDCC5 Book",cmd:"booking"},{label:"".concat(ec.back),cmd:"back to overview"}]:s.includes("onboard")||s.includes("get started")||s.includes("set you up")||s.includes("next step")?[{label:"\uD83D\uDE80 Get Started Now",cmd:"get started"},{label:"\uD83D\uDCCA See dashboard first",cmd:"dashboard"},{label:"\uD83D\uDCDE Schedule a call",cmd:"call aria"},{label:"← Show me more",cmd:"back to overview"}]:[{label:"\uD83C\uDFE8 ".concat(ec.showRooms),cmd:"rooms"},{label:"\uD83D\uDCCA ".concat(ec.dashboard),cmd:"dashboard"},{label:"\uD83D\uDCDE ".concat(ec.callAria),cmd:"call aria"},{label:"⚡ ".concat(ec.automations),cmd:"flows"},{label:"\uD83D\uDCC5 ".concat(ec.bookNow),cmd:"booking"}]}function em(e){let s=e.toLowerCase();c(s),r(s=>[...s,{from:"user",text:e}]);let t=Object.entries({rooms:"Let me show you the rooms.",restaurant:"Here's the restaurant menu.",spa:"Here are the spa treatments.",activities:"Here are today's experiences.",wine:"Our wine selections.",bar:"The bar menu.",dashboard:"Here's your operations dashboard.",arrivals:"Today's arr
1ivals.",revenue:"Revenue overview.",booking:"The booking experience.",flows:"The automation flows.",integrations:"System integrations.",concierge:"Local recommendations.","room status":"Current room status.",maintenance:"Maintenance queue.",reviews:"Guest reviews.",communications:"Guest communications.","call aria":"The phone experience.","front office":"Front office conversations."}).find(e=>{let[t]=e;return s.includes(t)});if(t&&setTimeout(()=>er(t[1]),300),X.isStreaming){X.sendText(s),en(s,"user");return}en(s,"user")}ec.rooms,ec.book,ec.call,ec.frontOffice,ec.concierge,ec.dining,ec.spa,ec.wine,ec.bar,ec.activities,ec.dashboard,ec.arrivals,ec.roomStatus,ec.revenue,ec.flows,ec.maintenance,ec.reviews,ec.communications,ec.integrations,ec.getStarted;let eu={content:"Hospitality",rooms:"Our Rooms",extras:"Extras & Experiences",gaps:"Communication Gaps",flows:"Automation Flows",integrations:"Integrations",booking:"Booking","manage-booking":"Manage Reservation","sop-builder":"Service Standards Builder",dashboard:"Operations Dashboard","copy-sample":"".concat(u," \xb7 Harbour Voice"),arrivals:"Today's Arrivals",departures:"Today's Departures","room-status":"Room Status",revenue:"Revenue & Performance",maintenance:"Maintenance",reviews:"Guest Reviews",concierge:"Concierge \xb7 Local",wine:"Wine Service",bar:"Bar Service",communications:"Guest Communications","call-aria":"Call ARIAN \xb7 Live Demo","front-office":"Front Office \xb7 Professional Harbour",restaurant:"Restaurant \xb7 F&B Service",spa:"Spa & Wellness",activities:"Activities & Experiences"}[e]||"Automotive";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(n(),{children:[(0,a.jsx)("title",{children:"Automotive — ARIAN Voice OS | VoiceCosmos"}),(0,a.jsx)("meta",{name:"description",content:"Talk to ARIAN. What you speak is what you get. The conversion is the demonstration."})]}),(0,a.jsx)("style",{children:'\n        @keyframes aria-breathe {\n          0%, 100% { transform: scale(1); opacity: 0.9; }\n          50% { transform: scale(1.03); opacity: 1; }\n        }\n        @keyframes arian-breathe {\n          0%, 100% { transform: scale(1); box-shadow: 0 0 50px rgba(249,239,167,0.25), 0 0 100px rgba(249,239,167,0.15); }\n          50% { transform: scale(1.06); box-shadow: 0 0 70px rgba(249,239,167,0.4), 0 0 140px rgba(249,239,167,0.2); }\n        }\n        @keyframes arian-ring-expand {\n          0%, 100% { transform: scale(1); opacity: 0.4; }\n          50% { transform: scale(1.08); opacity: 0.8; }\n        }\n        @keyframes arian-pulse-ring {\n          0%, 100% { opacity: 0.6; }\n          50% { opacity: 1; }\n        }\n        @keyframes suggestion-glow {\n          0%, 100% { box-shadow: 0 0 4px rgba(249,239,167,0.1); border-color: rgba(249,239,167,0.3); }\n          50% { box-shadow: 0 0 16px rgba(249,239,167,0.3); border-color: rgba(249,239,167,0.6); }\n        }\n        /* Kill any floating chat widgets on this page — ARIAN IS the interface */\n        .vapi-btn, [class*="vapi"], [id*="vapi-"], [class*="chatterbox"],\n        [class*="GlobalARIA"], [class*="chat-widget"], [class*="chat-bubble"],\n        [style*="position: fixed"][style*="bottom"][style*="border-radius: 50%"] {\n          display: none !important;\n        }\n      '}),C?(0,a.jsxs)("div",{style:{background:Q.bg},className:"h-screen flex flex-col",children:[(0,a.jsx)("div",{className:g?"shrink-0 px-4":"flex-1 overflow-y-auto px-4",style:{borderBottom:"1px solid rgba(255,255,255,0.05)"},children:g?(0,a.jsxs)("div",{className:"flex items-center justify-center gap-3 py-2",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center",style:{background:X.isSpeaking?"rgba(249,239,167,0.2)":X.isListening?"rgba(74,222,128,0.15)":"rgba(249,239,167,0.1)",boxShadow:X.isListening?"0 0 12px rgba(74,222,128,0.3)":"none"},children:(0,a.jsx)("div",{className:"w-3 h-3 rounded-full ".concat(X.isSpeaking||X.isListening?"animate-pulse":""),style:{background:X.isSpeaking?Q.gold:X.isListening?Q.green:"rgba(249,239,167,0.3)"}})}),(0,a.jsx)("p",{className:"text-sm",style:{color:X.isSpeaking?Q.gold:X.isListening?Q.green:Q.muted},children:X.isSpeaking?ec.speaking:X.isListening?ec.listening:"ARIAN \xb7 Command"}),X.isStreaming&&(0,a.jsx)("button",{onClick:X.disconnect,className:"p-1.5 rounded-lg",style:{border:"1px solid rgba(239,68,68,0.3)"},children:(0,a.jsx)(F.A,{className:"w-3.5 h-3.5",style:{color:"#ef4444"}})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-col items-center py-3",children:[(0,a.jsx)("div",{className:"flex items-center gap-1 mb-2",children:Array.from({length:12}).map((e,s)=>(0,a.jsx)("div",{className:"w-1 rounded-full",style:{height:"".concat(12+10*Math.sin(.8*s),"px"),background:Q.gold,opacity:.3+s%3*.2,animation:"aria-breathe 2s ease-in-out infinite",animationDelay:"".concat(.1*s,"s")}}
1,s))}),(0,a.jsx)("h2",{className:"text-xl font-bold mb-2",style:{color:Q.text},children:"I'm ARIAN — your Voice Operating System"}),(0,a.jsx)("p",{className:"text-sm text-center mb-1 leading-relaxed",style:{color:Q.muted},children:"You speak. I execute. You don't need a screen — just tell me what you need done, and I get it done."}),(0,a.jsx)("p",{className:"text-xs text-center mb-3",style:{color:Q.gold},children:"Let's set up your microphone so we can communicate."}),(0,a.jsx)(eW,{}),(0,a.jsx)("div",{className:"w-full max-w-xs mb-2",children:(0,a.jsxs)("select",{value:P,onChange:e=>L(e.target.value),className:"w-full px-3 py-2 rounded-lg text-sm",style:{background:Q.card,border:"1px solid ".concat(Q.border),color:Q.gold},children:[(0,a.jsx)("option",{value:"nova",children:"Voice: Nova (warm)"}),(0,a.jsx)("option",{value:"alloy",children:"Voice: Alloy (clear)"}),(0,a.jsx)("option",{value:"shimmer",children:"Voice: Shimmer (bright)"}),(0,a.jsx)("option",{value:"echo",children:"Voice: Echo (deep)"}),(0,a.jsx)("option",{value:"onyx",children:"Voice: Onyx (rich)"}),(0,a.jsx)("option",{value:"fable",children:"Voice: Fable (story)"})]})}),(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-1.5",children:[{c:"English",f:"\uD83C\uDDEC\uD83C\uDDE7"},{c:"Deutsch",f:"\uD83C\uDDE9\uD83C\uDDEA"},{c:"Fran\xe7ais",f:"\uD83C\uDDEB\uD83C\uDDF7"},{c:"Espa\xf1ol",f:"\uD83C\uDDEA\uD83C\uDDF8"},{c:"Italiano",f:"\uD83C\uDDEE\uD83C\uDDF9"},{c:"Portugu\xeas",f:"\uD83C\uDDF5\uD83C\uDDF9"},{c:"Nederlands",f:"\uD83C\uDDF3\uD83C\uDDF1"},{c:"العربية",f:"\uD83C\uDDF8\uD83C\uDDE6"},{c:"日本語",f:"\uD83C\uDDEF\uD83C\uDDF5"},{c:"中文",f:"\uD83C\uDDE8\uD83C\uDDF3"}].map(e=>(0,a.jsx)("button",{onClick:()=>W(e.c),className:"w-9 h-9 rounded-lg flex items-center justify-center text-lg transition-all active:scale-90",style:{background:M===e.c?"rgba(249,239,167,0.15)":"transparent",border:"2px solid ".concat(M===e.c?Q.gold:"transparent")},title:e.c,children:e.f},e.c))})]}),(0,a.jsxs)("div",{className:"sticky bottom-0 z-20 p-4 text-center",style:{background:Q.bg},children:[(0,a.jsx)("button",{onClick:ee,className:"w-full py-4 rounded-full text-lg font-bold transition-all active:scale-95",style:{background:Q.gold,color:Q.bg,boxShadow:"0 -4px 20px rgba(249,239,167,0.3)"},children:"Enter ARIAN Voice OS"}),(0,a.jsxs)("p",{className:"text-xs mt-1",style:{color:Q.muted},children:["ARIAN will greet you in ",M]})]})]})}),g&&(0,a.jsxs)("div",{className:"shrink-0 px-4 py-2",style:{borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-1.5",children:[(0,a.jsxs)("span",{className:"text-[10px] font-mono uppercase tracking-wider",style:{color:Q.gold},children:["▼ ",ec.whatYouCanDo]}),(0,a.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded-full",style:{background:"rgba(249,239,167,0.15)",color:Q.gold},children:ed().length})]}),(0,a.jsx)("div",{className:"flex gap-2 overflow-x-auto pb-1 no-scrollbar",children:ed().map(e=>(0,a.jsx)("button",{onClick:()=>em(e.cmd),className:"shrink-0 px-4 py-2 rounded-full text-xs font-semibold whitespace-nowrap transition-all active:scale-95",style:{border:"1px solid ".concat(Q.gold),color:Q.gold,background:"rgba(249,239,167,0.06)"},children:e.label},e.cmd))})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto",children:["content"===e&&(0,a.jsx)(eh,{language:M}),"rooms"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eg,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Book a Room"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Book a Room →"}),(0,a.jsx)("button",{onClick:()=>em("Spa & Wellness"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"See Extras"})]})]}),"extras"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eb,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Book a Room"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Demo Booking →"}),(0,a.jsx)("button",{onClick:()=>em("Rooms"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"See Rooms"})]})]}),"gaps"===e&&(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Six communication gaps"}),ea.map(e=>(0,a.jsxs)("div",{className:"flex gap-3 p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(e.icon,{className:"w-5 h-5 flex-shrink-0 mt-1",style:{color:Q.gold}}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold mb-1 text-base",style:{color:Q.text},children:e.title}),(0,a.jsx)("p",{className:"text-sm leading-relaxed",style:{color:Q.muted},children:e.text})]})]},e.title)),(0,a.jsxs)("div",{className:"flex gap-2 pt-2",children:[(0,a.jsx)("button",{onClick:()=>em("Flows"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"See How We Solve Them →"}),(0,a.jsx)("button",{onClick:()=>em("Integrations"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Integrations"})]})]}),"flows"===e&&(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"18 automation flows"}),eo.map(e=>(0,a.jsxs)("div",{className:"p-4 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("h3",{className:"text-base font-semibold mb-2",style:{color:Q.text},children:e.domain}),e.flows.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1.5",children:[(0,a.jsx)(w.A,{className:"w-4 h-4 flex-shrink-0",style:{color:Q.green}}),(0,a.jsx)("span",{className:"text-sm",style:{color:Q.muted},children:e})]},e))]},e.domain)),(0,a.jsxs)("div",{className:"flex gap-2 pt-2",children:[(0,a.jsx)("button",{onClick:()=>
1em("Dashboard"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"See the Dashboard →"}),(0,a.jsx)("button",{onClick:()=>em("Integrations"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Integrations"})]})]}),"integrations"===e&&(0,a.jsxs)("div",{className:"p-4 space-y-3",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Integrations"}),(0,a.jsx)("p",{className:"text-sm",style:{color:Q.muted},children:"Sits above the systems your team already runs."}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:et.map(e=>(0,a.jsx)("span",{className:"px-3 py-2 rounded-full text-sm",style:{background:Q.card,border:"1px solid ".concat(Q.border),color:Q.text},children:e},e))}),(0,a.jsxs)("div",{className:"flex gap-2 pt-2",children:[(0,a.jsx)("button",{onClick:()=>em("Book a Room"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Try the Booking →"}),(0,a.jsx)("button",{onClick:()=>
1em("Dashboard"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"See Dashboard"})]})]}),"booking"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"overflow-y-auto",children:(0,a.jsx)(U.default,{})}),(0,a.jsx)("div",{className:"px-4 py-3",children:(0,a.jsx)("button",{onClick:()=>em("Dashboard"),className:"w-full py-3 rounded-xl text-sm font-semibold",style:{border:"1px solid ".concat(Q.gold),color:Q.gold},children:"Now see your Operations Dashboard →"})})]}),"copy-sample"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(ey,{type:u}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Rooms"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"See Rooms →"}),(0,a.jsx)("button",{onClick:()=>em("Book a Room"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Demo Booking"})]})]}),"dashboard"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eL,{}),(0,a.jsx)("div",{className:"px-4 pb-4",children:(0,a.jsx)(l(),{href:"/onboarding/automotive",className:"block w-full py-4 rounded-xl text-base font-semibold text-center transition-all active:scale-95",style:{background:Q.gold,color:Q.bg},children:"Get Started — Onboard Your Property →"})})]}),"arrivals"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(ef,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Room Status"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Room Status →"}),(0,a.jsx)("button",{onClick:()=>em("Revenue"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Revenue"})]})]}),"departures"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(ev,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Reviews"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Guest Reviews →"}),(0,a.jsx)("button",{onClick:()=>em("Arrivals"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Arrivals"})]})]}),"room-status"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(ew,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Maintenance"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Maintenance →"}),(0,a.jsx)("button",{onClick:()=>em("Arrivals"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Arrivals"})]})]}),"revenue"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(ek,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>
1em("Dashboard"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Full Dashboard →"}),(0,a.jsx)("button",{onClick:()=>em("Reviews"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Reviews"})]})]}),"maintenance"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(ej,{}),(0,a.jsx)("div",{className:"px-4 pb-4",children:(0,a.jsx)("button",{onClick:()=>em("Room Status"),className:"w-full py-3 rounded-xl text-sm font-semibold",style:{border:"1px solid ".concat(Q.gold),color:Q.gold},children:"Back to Room Status →"})})]}),"reviews"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eN,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Communications"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Communications →"}),(0,a.jsx)("button",{onClick:()=>em("Revenue"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Revenue"})]})]}),"concierge"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eA,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Wine"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Wine List →"}),(0,a.jsx)("button",{onClick:()=>em("Bar"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Bar Menu"})]})]}),"wine"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eS,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Dining"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"F&B Service →"}),(0,a.jsx)("button",{onClick:()=>em("Bar"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Bar"})]})]}),"bar"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eR,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Wine"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Wine List →"}),(0,a.jsx)("button",{onClick:()=>em("Book a Room"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Book"})]})]}),"communications"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eC,{}),(0,a.jsx)("div",{className:"px-4 pb-4",children:(0,a.jsx)("button",{onClick:()=>
1em("Dashboard"),className:"w-full py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"See Full Dashboard →"})})]}),"call-aria"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eI,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Front Office"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Front Office Demo →"}),(0,a.jsx)("button",{onClick:()=>em("Book a Room"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Book"})]})]}),"front-office"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eT,{}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Concierge"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Concierge →"}),(0,a.jsx)("button",{onClick:()=>em("Call ARIAN"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Call Demo"})]})]}),"restaurant"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eO,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Wine"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Wine List →"}),(0,a.jsx)("button",{onClick:()=>em("Book"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Book Table"})]})]}),"spa"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eB,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Activities"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Activities →"}),(0,a.jsx)("button",{onClick:()=>em("Rooms"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"See Rooms"})]})]}),"activities"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eP,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Spa"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Spa →"}),(0,a.jsx)("button",{onClick:()=>em("Book"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Book Room"})]})]}),"manage-booking"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(eM,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>em("Book a Room"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"New Booking"}),(0,a.jsx)("button",{onClick:()=>em("Front Office"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Front Office"})]})]}),"sop-builder"===e&&(0,a.jsxs)("div",{children:[(0,a.jsx)(K.A,{t:ec}),(0,a.jsxs)("div",{className:"px-4 pb-4 flex gap-2",children:[(0,a.jsx)("button",{onClick:()=>
1em("Dashboard"),className:"flex-1 py-3 rounded-xl text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Dashboard"}),(0,a.jsx)("button",{onClick:()=>em("Automations"),className:"flex-1 py-3 rounded-xl text-sm",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Flows"})]})]})]}),g&&(0,a.jsx)("div",{className:"shrink-0 sticky bottom-0 z-10 p-3",style:{borderTop:"1px solid rgba(255,255,255,0.05)",background:Q.bg},children:(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),ei()},className:"flex gap-2",children:[(0,a.jsx)("input",{type:"text",value:i,onChange:e=>c(e.target.value),placeholder:"Or type here...",className:"flex-1 px-4 py-3 rounded-lg text-sm",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",color:Q.text}}),(0,a.jsx)("button",{type:"submit",className:"w-10 h-10 rounded-lg flex items-center justify-center",style:{background:Q.gold},children:(0,a.jsx)(N.A,{className:"w-4 h-4",style:{color:Q.bg}})})]})})]}):(0,a.jsxs)("div",{style:{background:Q.bg},className:"h-screen flex flex-col",children:[(0,a.jsxs)("header",{className:"flex items-center justify-between px-5 py-3 flex-shrink-0",style:{borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(G.A,{className:"w-5 h-5",style:{color:Q.gold}}),(0,a.jsx)("span",{className:"text-sm font-bold uppercase tracking-wider",style:{color:Q.text},children:"Hospitality"}),(0,a.jsx)("span",{className:"text-xs px-2 py-0.5 rounded-full",style:{color:Q.gold,border:"1px solid ".concat(Q.border)},children:"ARIAN Voice OS"})]}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)("a",{href:"https://aria.voicecosmos.com/aria-dashboard?industry=automotiveindustry=hospitality&role=investorrole=investor",className:"px-4 py-2 rounded-lg text-sm font-semibold flex items-center gap-1.5 transition-all hover:scale-[1.02]",style:{background:"rgba(74,222,128,0.15)",border:"1px solid rgba(74,222,128,0.3)",color:"#4ade80"},children:[(0,a.jsx)(z.A,{className:"w-3.5 h-3.5"})," See it in Action"]}),(0,a.jsx)(l(),{href:"/book/automotive",className:"px-4 py-2 rounded-lg text-sm font-semibold",style:{background:Q.gold,color:Q.bg},children:"Book Now"}),(0,a.jsx)(l(),{href:"/automotive-landing-new",className:"px-4 py-2 rounded-lg text-sm",style:{color:Q.muted,border:"1px solid ".concat(Q.border)},children:"More Details"}),(0,a.jsx)(l(),{href:"/onboarding/automotive",className:"px-4 py-2 rounded-lg text-sm font-semibold",style:{background:"#4ade80",color:"#0B121E"},children:"Sign Up"})]})]}),(0,a.jsxs)("div",{ref:_,className:"flex-1 flex flex-row-reverse min-h-0",children:[(0,a.jsxs)("div",{className:"flex flex-col min-h-0",style:{width:"".concat(S,"%")},children:[(0,a.jsxs)("div",{className:"shrink-0 px-5 py-3 flex items-center justify-between",style:{borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[(0,a.jsx)("span",{className:"text-xs font-mono uppercase tracking-wider",style:{color:Q.muted},children:eu}),"content"!==e&&(0,a.jsx)("button",{onClick:()=>s("content"),className:"text-xs transition-colors hover:text-[#F9EFA7]",style:{color:Q.muted},children:"← Back to overview"})]}
1),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto","data-panel":"right",children:["content"===e&&(0,a.jsx)(eh,{language:M}),"rooms"===e&&(0,a.jsx)(eg,{t:ec}),"extras"===e&&(0,a.jsx)(eb,{t:ec}),"gaps"===e&&(0,a.jsxs)("div",{className:"p-6 space-y-4",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Six communication gaps"}),ea.map(e=>(0,a.jsxs)("div",{className:"flex gap-4 p-5 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(e.icon,{className:"w-6 h-6 flex-shrink-0 mt-1",style:{color:Q.gold}}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"font-semibold mb-1 text-base",style:{color:Q.text},children:e.title}),(0,a.jsx)("p",{className:"text-sm leading-relaxed",style:{color:Q.muted},children:e.text})]})]},e.title))]}),"flows"===e&&(0,a.jsxs)("div",{className:"p-6 space-y-4",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"18 automation flows"}),(0,a.jsx)("div",{className:"grid md:grid-cols-2 gap-4",children:eo.map(e=>(0,a.jsxs)("div",{className:"p-5 rounded-xl",style:{background:Q.card,border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)("h3",{className:"text-base font-semibold mb-2",style:{color:Q.text},children:e.domain}),e.flows.map(e=>(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-1.5",children:[(0,a.jsx)(w.A,{className:"w-4 h-4 flex-shrink-0",style:{color:Q.green}}),(0,a.jsx)("span",{className:"text-sm",style:{color:Q.muted},children:e})]},e))]},e.domain))})]}),"integrations"===e&&(0,a.jsxs)("div",{className:"p-6 space-y-4",children:[(0,a.jsx)("h2",{className:"text-base font-mono uppercase tracking-wider",style:{color:Q.gold},children:"Integrations"}),(0,a.jsx)("p",{className:"text-base",style:{color:Q.muted},children:"Sits above the systems your team already runs. GDS included."}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:et.map(e=>(0,a.jsx)("span",{className:"px-3 py-2 rounded-full text-sm",style:{background:Q.card,border:"1px solid ".concat(Q.border),color:Q.text},children:e},e))})]}),"booking"===e&&(0,a.jsx)("div",{className:"h-full w-full overflow-y-auto",children:(0,a.jsx)(U.default,{})}),"copy-sample"===e&&(0,a.jsx)(ey,{type:u}),"dashboard"===e&&(0,a.jsx)(eL,{}),"arrivals"===e&&(0,a.jsx)(ef,{t:ec}),"departures"===e&&(0,a.jsx)(ev,{}),"room-status"===e&&(0,a.jsx)(ew,{}),"revenue"===e&&(0,a.jsx)(ek,{}),"maintenance"===e&&(0,a.jsx)(ej,{}),"reviews"===e&&(0,a.jsx)(eN,{}),"concierge"===e&&(0,a.jsx)(eA,{}),"wine"===e&&(0,a.jsx)(eS,{}),"bar"===e&&(0,a.jsx)(eR,{}),"communications"===e&&(0,a.jsx)(eC,{}),"call-aria"===e&&(0,a.jsx)(eI,{}),"front-office"===e&&(0,a.jsx)(eT,{}),"restaurant"===e&&(0,a.jsx)(eO,{t:ec}),"spa"===e&&(0,a.jsx)(eB,{t:ec}),"activities"===e&&(0,a.jsx)(eP,{t:ec}),"manage-booking"===e&&(0,a.jsx)(eM,{t:ec}),"sop-builder"===e&&(0,a.jsx)(K.A,{t:ec})]})]}),(0,a.jsxs)("div",{onMouseDown:$,className:"shrink-0 w-1.5 cursor-col-resize group relative hover:w-2 transition-all",style:{backgroundColor:"rgba(255,255,255,0.05)"},title:"Drag to resize",children:[(0,a.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-1 opacity-30 group-hover:opacity-70 transition-opacity",children:[(0,a.jsx)("div",{className:"w-1 h-1 rounded-full bg-gray-400"}),(0,a.jsx)("div",{className:"w-1 h-1 rounded-full bg-gray-400"}),(0,a.jsx)("div",{className:"w-1 h-1 rounded-full bg-gray-400"})]}),(0,a.jsx)("div",{className:"absolute inset-0 bg-[rgba(249,239,167,0)] group-hover:bg-[rgba(249,239,167,0.2)] transition-colors"})]}),(0,a.jsxs)("div",{className:"flex flex-col min-h-0",style:{width:"".concat(100-S,"%"),background:"linear-gradient(180deg, rgba(11,18,30,1) 0%, rgba(15,26,46,0.5) 50%, rgba(11,18,30,1) 100%)"},children:[(0,a.jsxs)("div",{className:"shrink-0 px-5 py-3 flex items-center justify-between",style:{borderBottom:"1px solid rgba(255,255,255,0.05)"},children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center",style:{background:X.isSpeaking?"rgba(249,239,167,0.25)":X.isListening?"rgba(74,222,128,0.15)":"rgba(249,239,167,0.1)"},children:X.isSpeaking?(0,a.jsx)("div",{className:"w-4 h-4 rounded-full animate-pulse",style:{background:Q.gold}}):(0,a.jsx)(v.A,{className:"w-4 h-4",style:{color:Q.gold}})}),(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"text-sm font-mono uppercase tracking-wider",style:{color:Q.muted},children:ec.voiceInteraction})})]}),X.isStreaming&&(0,a.jsx)("button",{onClick:X.disconnect,className:"p-1.5 rounded-lg transition-colors hover:bg-red-500/10",style:{border:"1px solid rgba(239,68,68,0.3)"},children:(0,a.jsx)(F.A,{className:"w-3.5 h-3.5",style:{color:"#ef4444"}})})]}),(0,a.jsxs)("div",{className:"flex-1 flex flex-col overflow-hidden",children:[!g&&(0,a.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center px-6 overflow-y-auto",children:[(0,a.jsx)(eF,{state:"idle",size:"lg"}),(0,a.jsx)("h1",{className:"text-3xl font-bold mt-6 mb-2 tracking-tight",style:{color:Q.gold},children:"ARIAN"}),(0,a.jsx)("p",{className:"text-lg mb-1",style:{color:Q.text},children:"Your Voice Operating System"}),(0,a.jsx)("p",{className:"text-sm text-center max-w-md mb-8",style:{color:Q.muted},children:"You speak. I execute. Choose your voice and language below."}),(0,a.jsxs)("div",{className:"w-full max-w-md mb-5",children:[(0,a.jsx)("p",{className:"text-xs font-mono uppercase tracking-wider mb-2 text-center",style:{color:Q.gold},children:"Voice"}),(0,a.jsx)("div",{className:"grid grid-cols-3 gap-2",children:[{id:"nova",name:"Nova",de
1sc:"Warm"},{id:"alloy",name:"Alloy",desc:"Clear"},{id:"shimmer",name:"Shimmer",desc:"Bright"},{id:"echo",name:"Echo",desc:"Deep"},{id:"onyx",name:"Onyx",desc:"Rich"},{id:"fable",name:"Fable",desc:"Story"}].map(e=>(0,a.jsxs)("button",{onClick:()=>L(e.id),className:"py-2.5 px-3 rounded-xl text-center transition-all",style:{background:P===e.id?"rgba(249,239,167,0.15)":Q.card,border:"2px solid ".concat(P===e.id?Q.gold:Q.border)},children:[(0,a.jsx)("p",{className:"text-sm font-semibold",style:{color:P===e.id?Q.gold:Q.text},children:e.name}),(0,a.jsx)("p",{className:"text-xs",style:{color:Q.muted},children:e.desc})]},e.id))})]}),(0,a.jsxs)("div",{className:"w-full max-w-md mb-8",children:[(0,a.jsx)("p",{className:"text-xs font-mono uppercase tracking-wider mb-2 text-center",style:{color:Q.gold},children:"Language"}),(0,a.jsx)("div",{className:"flex justify-center gap-3",children:[{code:"English",flag:"\uD83C\uDDEC\uD83C\uDDE7",label:"English"},{code:"Fran\xe7ais",flag:"\uD83C\uDDEB\uD83C\uDDF7",label:"Francais"},{code:"Deutsch",flag:"\uD83C\uDDE9\uD83C\uDDEA",label:"Deutsch"},{code:"Espa\xf1ol",flag:"\uD83C\uDDEA\uD83C\uDDF8",label:"Espanol"},{code:"Italiano",flag:"\uD83C\uDDEE\uD83C\uDDF9",label:"Italiano"}].map(e=>(0,a.jsxs)("button",{onClick:()=>W(e.code),className:"flex flex-col items-center gap-1 px-3 py-2 rounded-xl transition-all",style:{background:M===e.code?"rgba(249,239,167,0.15)":"transparent",border:"2px solid ".concat(M===e.code?Q.gold:Q.border)},title:e.code,children:[(0,a.jsx)("span",{className:"text-2xl",children:e.flag}),(0,a.jsx)("span",{className:"text-[10px]",style:{color:M===e.code?Q.gold:Q.muted},children:e.label})]},e.code))})]}),(0,a.jsx)("button",{onClick:ee,className:"px-16 py-5 rounded-full text-xl font-bold transition-all hover:scale-105 mb-4",style:{background:Q.gold,color:Q.bg,boxShadow:"0 0 40px rgba(249,239,167,0.4)"},children:"Enter ARIAN"}),(0,a.jsxs)("p",{className:"text-sm mb-6",style:{color:Q.muted},children:["ARIAN will greet you in ",(0,a.jsx)("strong",{style:{color:Q.gold},children:M})," with ",(0,a.jsx)("strong",{style:{color:Q.gold},children:"nova"===P?"Nova":"alloy"===P?"Alloy":"echo"===P?"Echo":"shimmer"===P?"Shimmer":"onyx"===P?"Onyx":"Fable"})," voice."]}),(0,a.jsxs)("div",{className:"flex items-center gap-3 px-4 py-2 rounded-full",style:{background:"rgba(255,255,255,0.03)",border:"1px solid ".concat(Q.border)},children:[(0,a.jsx)(w.A,{className:"w-3.5 h-3.5",style:{color:Q.green}}),(0,a.jsx)("span",{className:"text-xs",style:{color:Q.green},children:"Speaker ready"}),(0,a.jsx)("div",{className:"w-px h-3",style:{background:Q.border}}),(0,a.jsx)(H.A,{className:"w-3.5 h-3.5",style:{color:Q.green}}),(0,a.jsx)("span",{className:"text-xs",style:{color:Q.green},children:"Mic ready"})]})]}),g&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"shrink-0 px-5 py-1 flex items-center justify-center gap-3",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-full flex items-center justify-center",style:{background:X.isSpeaking?"rgba(249,239,167,0.2)":X.isListening?"rgba(74,222,128,0.15)":"rgba(249,239,167,0.1)",boxShadow:X.isListening?"0 0 15px rgba(74,222,128,0.3)":X.isSpeaking?"0 0 15px rgba(249,239,167,0.3)":"none",transition:"all 0.3s"},children:(0,a.jsx)("div",{className:"w-4 h-4 rounded-full ".concat(X.isSpeaking||X.isListening?"animate-pulse":""),style:{background:X.isSpeaking?Q.gold:X.isListening?Q.green:"rgba(249,239,167,0.3)"}})}),(0,a.jsx)("p",{className:"text-sm",style:{color:X.isSpeaking?Q.gold:X.isListening||X.isStreaming?Q.green:Q.muted},children:X.isSpeaking?ec.speaking:X.isListening?ec.listening:X.isStreaming?ec.connected:"ARIAN \xb7 Command"})]}),(0,a.jsxs)("div",{className:"flex-1 overflow-y-auto px-4 py-2 space-y-3 min-h-0",children:[t.map((e,s)=>(0,a.jsx)("div",{className:"flex ".concat("user"===e.from?"justify-end":"justify-start"),children:(0,a.jsx)("div",{className:"max-w-[85%] px-4 py-3 rounded-2xl text-sm leading-relaxed whitespace-pre-line ".concat("user"===e.from?"bg-[rgba(249,239,167,0.1)] border border-[rgba(249,239,167,0.2)]":"bg-white/5 border border-white/10"),style:{color:"user"===e.from?Q.gold:Q.text},children:e.text})},s)),d&&(0,a.jsx)("div",{className:"text-sm",style:{color:Q.muted},children:"ARIAN is thinking..."}),(0,a.jsx)("div",{ref:J})]}),(0,a.jsxs)("div",{className:"shrink-0 px-4 py-2",style:{borderTop:"1px solid rgba(255,255,255,0.05)"},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,a.jsxs)("span",{className:"text-[10px] font-mono uppercase tracking-wider",style:{color:Q.gold},children:["▼ ",ec.whatYouCanDo]}),(0,a.jsx)("span",{className:"text-[10px] px-1.5 py-0.5 rounded-full",style:{background:"rgba(249,239,167,0.15)",color:Q.gold},children:ed().length})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5",children:ed().map(e=>(0,a.jsx)("button",{onClick:()=>{c(e.cmd),setTimeout(ei,50)},className:"px-3 py-1.5 rounded-full text-xs transition-all hover:border-[rgba(249,239,167,0.4)] hover:bg-[rgba(249,239,167,0.05)]",style:{border:"1px solid ".concat(Q.border),color:e.cmd.includes("back")?Q.muted:Q.gold},children:e.label},e.cmd))})]}),(0,a.jsxs)("div",{className:"shrink-0 px-4 py-1.5 flex items-center justify-between",style:{borderTop:"1px solid rgba(255,255,255,0.05)"},children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsxs)("button",{onClick:()=>B(!O),className:"flex items-center gap-1.5 text-xs transition-all hover:text-[#F9EFA7]",style:{color:Q.muted},children:[(0,a.jsx)(I.A,{className:"w-3.5 h-3.5"}),ec.settings]}),t.length>1&&(0,a.jsxs)("button",{onClick:()=>{let e=t.map(e=>"".concat("user"===e.from?"You":"ARIA",": ").concat(e.text)).join("\n\n"),s=new Blob(["ARIAN Voice OS — Transcript\n".concat(new Date().toLocaleStr
1ing(),"\n").concat("─".repeat(50),"\n\n").concat(e)],{type:"text/plain"}),a=URL.createObjectURL(s),o=document.createElement("a");o.href=a,o.download="aria-transcript-".concat(Date.now(),".txt"),o.click(),URL.revokeObjectURL(a)},className:"flex items-center gap-1 text-xs transition-all hover:text-[#F9EFA7]",style:{color:Q.muted},children:[(0,a.jsx)(V.A,{className:"w-3 h-3"})," Transcript"]})]}),(0,a.jsxs)("span",{className:"text-xs",style:{color:Q.muted},children:["Voice: ",(0,a.jsx)("strong",{style:{color:Q.text},children:"nova"===P?"Nova":"alloy"===P?"Alloy":"echo"===P?"Echo":"shimmer"===P?"Shimmer":"onyx"===P?"Onyx":"fable"===P?"Fable":"Nova"})," \xb7 ",M]})]}),O&&(0,a.jsxs)("div",{className:"shrink-0 px-4 py-3 space-y-3",style:{background:Q.card,borderTop:"1px solid rgba(255,255,255,0.05)"},children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("h3",{className:"text-sm font-semibold",style:{color:Q.text},children:"Voice & Language Settings"}),(0,a.jsx)("button",{onClick:()=>B(!1),className:"text-xs",style:{color:Q.muted},children:"✕"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs mb-2",style:{color:Q.muted},children:"Selected voice"}),(0,a.jsx)("div",{className:"grid grid-cols-3 gap-1.5",children:[{id:"nova",name:"Nova",de
1sc:"Warm, natural"},{id:"alloy",name:"Alloy",desc:"Balanced, clear"},{id:"echo",name:"Echo",desc:"Deep, rich"},{id:"shimmer",name:"Shimmer",desc:"Bright, expressive"},{id:"onyx",name:"Onyx",desc:"Authoritative"},{id:"fable",name:"Fable",desc:"Storytelling"}].map(e=>(0,a.jsxs)("button",{onClick:()=>L(e.id),className:"p-2 rounded-lg text-left transition-all",style:{background:P===e.id?"rgba(249,239,167,0.1)":"transparent",border:"1px solid ".concat(P===e.id?Q.gold:Q.border)},children:[(0,a.jsx)("p",{className:"text-xs font-semibold",style:{color:P===e.id?Q.gold:Q.text},children:e.name}),(0,a.jsx)("p",{className:"text-[10px]",style:{color:Q.muted},children:e.desc})]},e.id))})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs mb-2",style:{color:Q.muted},children:"Language"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-1.5",children:["English","Fran\xe7ais","Deutsch","Espa\xf1ol","Italiano","Portugu\xeas","العربية","עברית","日本語","中文","Nederlands"].map(e=>(0,a.jsx)("button",{onClick:()=>W(e),className:"px-3 py-1.5 rounded-full text-xs transition-all",style:{background:M===e?"rgba(249,239,167,0.1)":"transparent",border:"1px solid ".concat(M===e?Q.gold:Q.border),color:M===e?Q.gold:Q.muted},children:e},e))})]})]}),(0,a.jsxs)("div",{className:"shrink-0 p-3",style:{borderTop:"1px solid rgba(255,255,255,0.05)"},children:[!X.isStreaming&&!g&&(0,a.jsxs)("button",{onClick:X.initialize,className:"w-full mb-2 py-3 rounded-lg flex items-center justify-center gap-2 text-sm font-semibold transition-all hover:scale-[1.01]",style:{background:"rgba(249,239,167,0.08)",border:"1px solid ".concat(Q.gold),color:Q.gold},children:[(0,a.jsx)(H.A,{className:"w-4 h-4"})," Speak with ARIAN \xb7 Command"]}),!X.isStreaming&&g&&(0,a.jsxs)("button",{onClick:X.initialize,className:"w-full mb-2 py-2 rounded-lg flex items-center justify-center gap-2 text-xs transition-all",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:[(0,a.jsx)(H.A,{className:"w-3 h-3"})," Reconnect voice"]}),X.isStreaming&&(0,a.jsxs)("div",{className:"mb-2 py-3 rounded-lg flex items-center justify-center gap-2 text-sm",style:{background:X.isListening?"rgba(74,222,128,0.06)":"rgba(249,239,167,0.06)",border:"1px solid ".concat(X.isListening?"rgba(74,222,128,0.2)":"rgba(249,239,167,0.2)")},children:[(0,a.jsx)("div",{className:"w-2 h-2 rounded-full animate-pulse",style:{background:X.isListening?Q.green:Q.gold}}),(0,a.jsx)("span",{style:{color:X.isListening?Q.green:Q.gold},children:X.isSpeaking?"Speaking...":X.isListening?"Listening...":"Connected"})]}),(0,a.jsxs)("form",{onSubmit:e=>{e.preventDefault(),ei()},className:"flex gap-2",children:[(0,a.jsxs)("div",{className:"flex-1 relative",children:[(0,a.jsx)("input",{id:"aria-input",type:"text",value:i,onChange:e=>c(e.target.value),placeholder:X.isStreaming?"Or type here...":g?"Type to chat with ARIA...":"Ask ARIAN about your property...",className:"w-full px-4 py-3 pr-12 rounded-lg text-sm",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(255,255,255,0.1)",color:Q.text}}),(0,a.jsx)("span",{className:"absolute right-3 top-1/2 -translate-y-1/2 text-[10px] font-mono",style:{color:"rgba(255,255,255,0.2)"},children:"⌘K"})]}),(0,a.jsx)("button",{type:"submit",className:"w-10 h-10 rounded-lg flex items-center justify-center flex-shrink-0",style:{background:Q.gold},children:(0,a.jsx)(N.A,{className:"w-4 h-4",style:{color:Q.bg}})})]}),(0,a.jsxs)("div",{className:"flex items-center justify-between mt-2",children:[(0,a.jsxs)("p",{className:"text-xs",style:{color:Q.muted},children:[(0,a.jsx)(A.A,{className:"w-3 h-3 inline mr-1"})," +1 (508) 594-8726 \xb7 24/7"]}),(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("button",{onClick:()=>{navigator.clipboard.writeText("https://voicecosmos.com/automotive-aria"),er("Demo link copied to clipboard.")},className:"text-[10px] px-2 py-0.5 rounded",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"Share"}),(0,a.jsx)("button",{onClick:()=>{localStorage.removeItem("aria-conversation-automotive"),r([]),s("content"),b(!1),X.disconnect()},className:"text-[10px] px-2 py-0.5 rounded",style:{border:"1px solid ".concat(Q.border),color:Q.muted},children:"New Session"})]})]}),(0,a.jsx)("p",{className:"text-center text-[9px] mt-1",style:{color:"rgba(255,255,255,0.15)"},children:"ARIAN v1.0 \xb7 Harbour \xb7 VoiceCosmos Voice OS"})]})]})]})]})]})]})]})}},72642:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(42719).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])}},e=>{e.O(0,[48230,64914,63469,10450,77619,61909,25654,90636,46593,38792],()=>e(e.s=48644)),_N_E=e.O()}]);

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.