PageSourceSearch

https://opally.com/_next/static/chunks/2219.a1569c008c22d818.js?dpl=dpl_5qibWHmsS5bw6LGSHmUxts4DMULN

js opally.com collected 2026-10-07 01:49:58 UTC 33,809 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2219],{4480:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("BedDouble",[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]])},4788:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},18085:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])},22458:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Layers2",[["path",{d:"m16.02 12 5.48 3.13a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74L7.98 12",key:"1cuww1"}],["path",{d:"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74Z",key:"pdlvxu"}]])},23664:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},27790:(e,s,t)=>{t.d(s,{w:()=>m});var a=t(95155),l=t(12115),i=t(18955),n=t(23664),r=t(95740),d=t(18085),c=t(4480);function m(){let e=(0,i.c)("emailPage.sections.demo.email"),[s,t]=(0,l.useState)("incoming"),[m,o]=(0,l.useState)(""),x=e("draftResponse");return(0,l.useEffect)(()=>{if("incoming"===s){let e=setTimeout(()=>t("analyzing"),800);return()=>clearTimeout(e)}if("analyzing"===s){let e=setTimeout(()=>t("generating"),700);return()=>clearTimeout(e)}},[s]),(0,l.useEffect)(()=>{let e;if("generating"!==s)return;let a=0,l=()=>{a<=x.length?(o(x.slice(0,a)),a++,e=setTimeout(l,12+8*Math.random())):e=setTimeout(()=>t("complete"),300)};return e=setTimeout(l,100),()=>clearTimeout(e)},[s,x]),(0,a.jsx)("div",{className:"w-full max-w-xl mx-auto",children:(0,a.jsxs)("div",{className:"rounded-2xl bg-white border border-slate-200/80 shadow-sm overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 px-5 py-3.5 border-b border-slate-100",children:[(0,a.jsx)("div",{className:"h-8 w-8 rounded-lg bg-system-navy/[0.06] border border-system-navy/10 flex items-center justify-center",children:(0,a.jsx)(n.A,{className:"w-4 h-4 text-system-navy"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-system-navy",children:e("inbox")}),(0,a.jsx)("span",{className:"text-sm text-system-navy/35",children:e("hotelName")})]}),(0,a.jsxs)("div",{className:"p-5 space-y-4 min-h-[548px] sm:min-h-[486px]",children:[(0,a.jsxs)("div",{className:"rounded-xl bg-slate-50/80 border border-slate-100 p-4 animate-fade-in",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between mb-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,a.jsx)("div",{className:"w-7 h-7 rounded-full bg-slate-200 flex items-center justify-center text-[10px] font-semibold text-system-navy/50",children:"SJ"}),(0,a.jsx)("span",{className:"text-sm font-medium text-system-navy",children:e("guestName")})]}),(0,a.jsx)("span",{className:"text-xs text-slate-400",children:e("timeAgo")})]}),(0,a.jsx)("p",{className:"text-sm text-system-navy/60 leading-relaxed",children:e("guestMessage")})]}),("analyzing"===s||"generating"===s)&&(0,a.jsx)("div",{className:"flex items-center justify-center animate-fade-in",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 text-opally-blue",children:[(0,a.jsx)(r.A,{className:"w-3.5 h-3.5 animate-pulse"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:e("analyzing"===s?"analyzing":"generating")})]})}),("generating"===s||"complete"===s)&&(0,a.jsxs)("div",{className:"rounded-xl border border-opally-blue/25 bg-opally-blue/[0.04] p-4 animate-fade-in",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-opally-blue",children:[(0,a.jsx)(r.A,{className:"w-3.5 h-3.5"}),(0,a.jsx)("span",{className:"text-xs font-semibold",children:e("draftLabel")})]}),"complete"===s&&(0,a.jsxs)("button",{className:"flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-opally-blue text-white text-xs font-medium animate-fade-in",children:[(0,a.jsx)(d.A,{className:"w-3 h-3"}),e("sendButton")]})]}),(0,a.jsx)("p",{className:"text-sm text-system-navy/70 leading-relaxed whitespace-pre-line",children:"generating"===s?(0,a.jsxs)(a.Fragment,{children:[m,(0,a.jsx)("span",{className:"inline-block w-0.5 h-4 bg-opally-blue ml-0.5 animate-blink align-middle"})]}):x}),"complete"===s&&(0,a.jsx)("div",{className:"mt-4 pt-4 border-t border-opally-blue/15 animate-slide-up",children:(0,a.jsxs)("div",{className:"flex items-center gap-3 p-3 rounded-lg bg-white border border-slate-100",children:[(0,a.jsx)("div",{className:"w-9 h-9 rounded-lg bg-system-navy/[0.06] flex items-center justify-center",children:(0,a.jsx)(c.A,{className:"w-4.5 h-4.5 text-system-navy"})}),(0,a.jsxs)("div",{className:"flex-1",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-system-navy",children:e("roomName")}),(0,a.jsx)("div",{className:"text-xs text-system-navy/40",children:e("roomPrice")})]}),(0,a.jsx)("div",{className:"text-xs text-emerald-600 font-medium",children:e("roomAvailable")})]})})]})]})]})})}},39347:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},55611:(e,s,t)=>{t.d(s,{R:()=>c});var a=t(95155),l=t(12115),i=t(18955),n=t(39347),r=t(95740),d=t(18085);function c(){let e=(0,i.c)("reviewsPage.sections.demo.review"),[s,t]=(0,l.useState)("incoming"),[c,m]=(0,l.useState)(""),o=e("draftResponse");(0,l.useEffect)(()=>
1{if("incoming"===s){let e=setTimeout(()=>t("analyzing"),800);return()=>clearTimeout(e)}if("analyzing"===s){let e=setTimeout(()=>t("generating"),700);return()=>clearTimeout(e)}},[s]),(0,l.useEffect)(()=>{let e;if("generating"!==s)return;let a=0,l=()=>{a<=o.length?(m(o.slice(0,a)),a++,e=setTimeout(l,12+8*Math.random())):e=setTimeout(()=>t("complete"),300)};return e=setTimeout(l,100),()=>clearTimeout(e)},[s,o]);let x=Math.floor(parseFloat(e("rating").replace(",",".")));return(0,a.jsx)("div",{className:"w-full max-w-xl mx-auto",children:(0,a.jsxs)("div",{className:"rounded-2xl bg-white border border-slate-200/80 shadow-sm overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 px-5 py-3.5 border-b border-slate-100",children:[(0,a.jsx)("div",{className:"h-8 w-8 rounded-lg bg-system-navy/[0.06] border border-system-navy/10 flex items-center justify-center",children:(0,a.jsx)(n.A,{className:"w-4 h-4 text-system-navy"})}),(0,a.jsx)("span",{className:"text-sm font-medium text-system-navy",children:e("platform")})]}),(0,a.jsxs)("div",{className:"p-5 space-y-4 min-h-[690px] sm:min-h-[554px]",children:[(0,a.jsxs)("div",{className:"rounded-xl bg-slate-50/80 border border-slate-100 p-4 animate-fade-in",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between mb-2.5",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,a.jsx)("div",{className:"w-7 h-7 rounded-full bg-slate-200 flex items-center justify-center text-[10px] font-semibold text-system-navy/50",children:"JT"}),(0,a.jsx)("span",{className:"text-sm font-medium text-system-navy",children:e("guestName")})]}),(0,a.jsx)("div",{className:"flex items-center gap-0.5",children:Array.from({length:5}).map((e,s)=>(0,a.jsx)(n.A,{className:"w-3.5 h-3.5 ".concat(s<x?"text-amber-400 fill-amber-400":"text-slate-200 fill-slate-200")},s))})]}),(0,a.jsx)("div",{className:"text-sm font-medium text-system-navy mb-1.5",children:e("title")}),(0,a.jsx)("p",{className:"text-sm text-system-navy/60 leading-relaxed",children:e("body")})]}),("analyzing"===s||"generating"===s)&&(0,a.jsx)("div",{className:"flex items-center justify-center animate-fade-in",children:(0,a.jsxs)("div",{className:"flex items-center gap-2 text-opally-blue",children:[(0,a.jsx)(r.A,{className:"w-3.5 h-3.5 animate-pulse"}),(0,a.jsx)("span",{className:"text-xs font-medium",children:e("analyzing"===s?"analyzing":"generating")})]})}),("generating"===s||"complete"===s)&&(0,a.jsxs)("div",{className:"rounded-xl border border-opally-blue/25 bg-opally-blue/[0.04] p-4 animate-fade-in",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 text-opally-blue",children:[(0,a.jsx)(r.A,{className:"w-3.5 h-3.5"}),(0,a.jsx)("span",{className:"text-xs font-semibold",children:e("draftLabel")})]}),"complete"===s&&(0,a.jsxs)("button",{className:"flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-opally-blue text-white text-xs font-medium animate-fade-in",children:[(0,a.jsx)(d.A,{className:"w-3 h-3"}),e("postButton")]})]}),(0,a.jsx)("p",{className:"text-sm text-system-navy/70 leading-relaxed whitespace-pre-line",children:"generating"===s?(0,a.jsxs)(a.Fragment,{children:[c,(0,a.jsx)("span",{className:"inline-block w-0.5 h-4 bg-opally-blue ml-0.5 animate-blink align-middle"})]}):o})]})]})]})})}},61362:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},69141:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]])},77082:(e,s,t)=>{t.d(s,{A:()=>d});var a=t(95155),l=t(12115),i=t(18955),n=t(69141);let r=(0,t(71847).A)("PhoneIncoming",[["polyline",{points:"16 2 16 8 22 8",key:"1ygljm"}],["line",{x1:"22",x2:"16",y1:"2",y2:"8",key:"1xzwqn"}],["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);function d(){let e=(0,i.c)("voicePage.sections.demo.call"),[s,t]=(0,l.useState)("ringing"),[d,c]=(0,l.useState)(""),[m,o]=(0,l.useState)(0),[x,u]=(0,l.useState)([]),h={greeting:{speaker:"assistant",text:e("transcript.greeting")},question:{speaker:"caller",text:e("transcript.question")},response:{speaker:"assistant",text:e("transcript.response")}};return(0,l.useEffect)(()=>
1{if("ringing"===s||"complete"===s)return;let e=setInterval(()=>o(e=>e+1),1e3);return()=>clearInterval(e)},[s]),(0,l.useEffect)(()=>{if("ringing"===s){let e=setTimeout(()=>t("greeting"),1800);return()=>clearTimeout(e)}},[s]),(0,l.useEffect)(()=>{let e;if("ringing"===s||"complete"===s)return;let a=h[s];if(!a)return;let l=0,i=()=>{l<=a.text.length?(c(a.text.slice(0,l)),l++,e=setTimeout(i,26+16*Math.random())):e=setTimeout(()=>{u(e=>[...e,s]),c(""),"greeting"===s?t("question"):"question"===s?t("response"):"response"===s&&t("complete")},500)};return e=setTimeout(i,700),()=>clearTimeout(e)},[s]),(0,a.jsx)("div",{className:"w-full max-w-md mx-auto",children:(0,a.jsxs)("div",{className:"rounded-2xl bg-white border border-slate-200/80 shadow-sm overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-5 py-3.5 border-b border-slate-100",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"h-8 w-8 rounded-lg bg-system-navy/[0.06] border border-system-navy/10 flex items-center justify-center",children:(0,a.jsx)(n.A,{className:"w-4 h-4 text-system-navy"})}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-sm font-medium text-system-navy leading-tight",children:e("hotelName")}),(0,a.jsx)("span",{className:"text-xs text-system-navy/35",children:e("phoneNumber")})]})]}),"ringing"!==s&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full ".concat("complete"===s?"bg-slate-300":"bg-emerald-500 animate-pulse")}),(0,a.jsx)("span",{className:"text-xs font-medium tabular-nums ".concat("complete"===s?"text-slate-400":"text-emerald-600"),children:(e=>{let s=Math.floor(e/60);return"".concat(s,":").concat((e%60).toString().padStart(2,"0"))})(m)})]})]}),(0,a.jsxs)("div",{className:"p-5 min-h-[300px]",children:["ringing"===s&&(0,a.jsxs)("div",{className:"flex flex-col items-center justify-center py-12 animate-fade-in",children:[(0,a.jsxs)("div",{className:"relative mb-5",children:[(0,a.jsx)("div",{className:"w-16 h-16 rounded-full bg-opally-blue/10 flex items-center justify-center",children:(0,a.jsx)(r,{className:"w-7 h-7 text-opally-blue animate-pulse"})}),(0,a.jsx)("div",{className:"absolute inset-0 rounded-full bg-opally-blue/15 animate-ping"})]}),(0,a.jsx)("div",{className:"text-base font-medium text-system-navy mb-0.5",children:e("incomingCall")}),(0,a.jsx)("div",{className:"text-sm text-system-navy/40",children:e("callerLabel")})]}),"ringing"!==s&&(0,a.jsx)("div",{className:"space-y-3 animate-fade-in",children:["greeting","question","response"].map(t=>{let l=h[t],i=x.includes(t),n=s===t&&d;return i||n?(0,a.jsx)("div",{className:"flex ".concat("caller"===l.speaker?"justify-end":"justify-start"),children:(0,a.jsxs)("div",{className:"max-w-[85%] rounded-2xl px-4 py-2.5 text-sm leading-relaxed ".concat("caller"===l.speaker?"bg-slate-100 text-system-navy rounded-br-md":"bg-opally-blue/[0.07] text-system-navy rounded-bl-md border border-opally-blue/15"),children:[(0,a.jsx)("div",{className:"text-[10px] font-medium mb-1 ".concat("caller"===l.speaker?"text-slate-400":"text-opally-blue/70"),children:"caller"===l.speaker?e("callerLabel"):e("assistantLabel")}),i?l.text:(0,a.jsxs)(a.Fragment,{children:[d,(0,a.jsx)("span",{className:"inline-block w-0.5 h-4 bg-opally-blue ml-0.5 animate-blink align-middle"})]})]})},t):null})})]})]})})}},85921:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},85998:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]])},88809:(e,s,t)=>{t.d(s,{S:()=>d,r:()=>c});var a=t(95155),l=t(12115),i=t(15239),n=t(85921),r=t(18955);function d(e){let{poster:s,label:t,duration:l}=e;return(0,a.jsx)("div",{className:"flex justify-start animate-fade-in",children:(0,a.jsxs)("div",{className:"max-w-[85%] rounded-2xl rounded-bl-md bg-slate-100 p-1.5",children:[(0,a.jsxs)("div",{className:"relative w-56 h-32 overflow-hidden rounded-xl",children:[(0,a.jsx)(i.default,{src:s,alt:t,fill:!0,className:"object-cover",sizes:"224px"}),(0,a.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-system-navy/50 via-trans
1parent to-transparent"}),(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,a.jsx)("span",{className:"h-10 w-10 rounded-full bg-white/90 shadow-md flex items-center justify-center",children:(0,a.jsx)(n.A,{className:"h-4 w-4 text-opally-blue ml-0.5",fill:"currentColor"})})}),(0,a.jsx)("span",{className:"absolute bottom-2 right-2 rounded-full bg-system-navy/70 px-2 py-0.5 text-[10px] font-medium text-white tabular-nums",children:l})]}),(0,a.jsx)("p",{className:"px-2.5 pt-1.5 pb-1 text-xs text-system-navy/70",children:t})]})})}function c(e){let{showVideoCard:s=!0}=e,t=(0,r.c)("chatbotPage.sections.demo.chat"),[i,n]=(0,l.useState)(0),[c,m]=(0,l.useState)(""),[o,x]=(0,l.useState)(!1),[u,h]=(0,l.useState)(!1),p=[{type:"assistant",text:t("messages.greeting")},{type:"guest",text:t("messages.question")},{type:"assistant",text:t("messages.response"),hasRooms:!0}],y=[{name:t("rooms.superior.name"),price:t("rooms.superior.price"),detail:t("rooms.superior.detail"),highlight:!0},{name:t("rooms.junior.name"),price:t("rooms.junior.price"),detail:t("rooms.junior.detail"),highlight:!1},{name:t("rooms.classic.name"),price:t("rooms.classic.price"),detail:t("rooms.classic.detail"),highlight:!1}];(0,l.useEffect)(()=>{if(0===i){let e=setTimeout(()=>n(1),1e3);return()=>clearTimeout(e)}if(2===i||4===i){2===i&&s&&h(!0);let e=setTimeout(()=>n(i+1),2===i&&s?2e3:800);return()=>clearTimeout(e)}},[s,i]),(0,l.useEffect)(()=>{if(i<1||i>6)return;let e=Math.floor((i-1)/2);if(i%2!=1||e>=p.length)return;let s=p[e],t=0,a=()=>t<=s.text.length?(m(s.text.slice(0,t)),t++,setTimeout(a,25+15*Math.random())):setTimeout(()=>{m(""),n(i+1),s.hasRooms&&setTimeout(()=>x(!0),400)},300),l=setTimeout(a,600);return()=>clearTimeout(l)},[i]);let b=Math.floor(i/2),f=i%2==1?Math.floor((i-1)/2):-1;return(0,a.jsx)("div",{className:"w-full max-w-md mx-auto",children:(0,a.jsxs)("div",{className:"rounded-2xl bg-white border border-slate-200/80 shadow-sm overflow-hidden",children:[(0,a.jsx)("div",{className:"flex items-center justify-between px-5 py-3.5 border-b border-slate-100",children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("div",{className:"h-8 w-8 rounded-lg bg-system-navy/[0.06] border border-system-navy/10 flex items-center justify-center text-sm font-semibold text-system-navy",children:"H"}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"text-sm font-medium text-system-navy",children:t("hotelName")}),(0,a.jsxs)("span",{className:"text-xs text-emerald-600 flex items-center gap-1",children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500 animate-pulse"}),t("onlineStatus")]})]})]})}),(0,a.jsxs)("div",{className:"px-5 py-4 space-y-3 min-h-[440px]",children:[p.slice(0,b).map((e,i)=>(0,a.jsxs)(l.Fragment,{children:[(0,a.jsx)("div",{className:"flex ".concat("guest"===e.type?"justify-end":"justify-start"," animate-fade-in"),children:(0,a.jsx)("div",{className:"max-w-[85%] rounded-2xl px-4 py-2.5 text-sm leading-relaxed ".concat("guest"===e.type?"bg-opally-blue text-white rounded-br-md":"bg-slate-100 text-system-navy rounded-bl-md"),children:e.text})}),0===i&&s&&u&&(0,a.jsx)(d,{poster:"/graphics/receptionist2.jpg",label:t("video.caption"),duration:"0:14"})]},i)),f>=0&&f<p.length&&(0,a.jsx)("div",{className:"flex ".concat("guest"===p[f].type?"justify-end":"justify-start"),children:(0,a.jsxs)("div",{className:"relative max-w-[85%] rounded-2xl px-4 py-2.5 text-sm leading-relaxed ".concat("guest"===p[f].type?"bg-opally-blue text-white rounded-br-md":"bg-slate-100 text-system-navy rounded-bl-md"),children:[c||(0,a.jsxs)("div",{className:"flex gap-1 py-1",children:[(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-current opacity-40 animate-bounce",style:{animationDelay:"0ms"}}),(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-current opacity-40 animate-bounce",style:{animationDelay:"150ms"}}),(0,a.jsx)("span",{className:"w-2 h-2 rounded-full bg-current opacity-40 animate-bounce",style:{animationDelay:"300ms"}})]}),c&&(0,a.jsx)("span",{className:"inline-block w-0.5 h-4 bg-current ml-0.5 animate-blink align-middle absolute"})]})}),o&&(0,a.jsxs)("div",{className:"animate-slide-up pt-2",children:[(0,a.jsx)("div",{className:"flex items-center justify-between mb-2",children:(0,a.jsx)("span",{className:"text-xs text-system-navy/40 font-medium",children:t("roomsLabel")})}),(0,a.jsx)("div",{className:"flex gap-2 overflow-x-auto pb-1",children:y.map((e,s)=>(0,a.jsxs)("div",{className:"flex-shrink-0 w-[140px] rounded-xl border p-3 bg-white ".concat(e.highlight?"border-opally-blue ring-1 ring-opally-blue/30":"border-slate-200"),children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("div",{className:"text-xs font-semibold text-system-navy",children:e.name}),(0,a.jsxs)("div",{className:"text-xs text-system-navy/70",children:[e.price,"/night"]})]}),(0,a.jsxs)("div",{className:"mt-2 flex flex-col gap-1.5",children:[(0,a.jsx)("span",{className:"text-[10px] text-emerald-600 font-medium",children:e.detail}),(0,a.jsx)("button",{className:"w-full rounded-full bg-opally-blue text-white px-3 py-1.5 text-[11px] font-medium hover:bg-opally-blue/90 transition-colors",children:t("bookButton")})]})]},s))})]})]}),(0,a.jsx)("div",{className:"px-5 py-3 bg-slate-50/60 border-t border-slate-100",children:(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"flex-1 rounded-full bg-white border border-slate-200 px-4 py-2 text-sm text-slate-400",children:t("inputPlaceholder")}),(0,a.jsx)("button",{className:"h-9 w-9 rounded-full bg-opally-blue text-white flex items-center justify-center hover:bg-opally-blue/90 transition-colors",children:(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"w-4 h-4",children:[(0,a.jsx)("path",{d:"M22 2L11 13"}),(0,a.jsx)("path",{d:"M22 2L15 22L11 13L2 9L22 2Z"})]})})]})})]})})}},92219:(e,s,t)=>{t.r(s),t.d(s,{SolutionsShowcase:()=>R});
1var a=t(95155),l=t(12115),i=t(52619),n=t.n(i),r=t(89511),d=t(97003),c=t(18085),m=t(5937),o=t(69141),x=t(22458),u=t(39347),h=t(57828),p=t(52987),y=t(34085),b=t(39663),f=t(27790),g=t(77082),j=t(88809),v=t(18955),N=t(39068),w=t(4788),A=t(80534),k=t(61362),T=t(85998),M=t(95740);let S=[N.A,w.A,m.A];function L(){let e=(0,v.c)("solutionsPage.cards.forms").raw("demo"),[s,t]=(0,l.useState)(0);return(0,l.useEffect)(()=>{t(0);let e=[window.setTimeout(()=>t(1),550),window.setTimeout(()=>t(2),1250),window.setTimeout(()=>t(3),2050)];return()=>{e.forEach(window.clearTimeout)}},[]),(0,a.jsx)("div",{className:"mx-auto w-full max-w-2xl px-0 sm:px-2",children:(0,a.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-slate-200/80 bg-white shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between border-b border-slate-100 px-4 py-3.5 sm:px-5",children:[(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-3",children:[(0,a.jsx)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-xl bg-emerald-500/10 text-emerald-600",children:(0,a.jsx)(x.A,{className:"h-4.5 w-4.5"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h3",{className:"truncate text-[15px] font-semibold text-system-navy",children:e.form.eyebrow}),(0,a.jsx)("p",{className:"truncate text-xs text-system-navy/40",children:e.sourceTitle})]})]}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-1.5 rounded-full border border-emerald-500/20 bg-emerald-500/10 px-2.5 py-1 text-[11px] font-semibold text-emerald-700",children:[(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-emerald-500 animate-pulse"}),e.form.progressLabel]})]}),(0,a.jsxs)("div",{className:"space-y-4 p-4 sm:p-5",children:[(0,a.jsx)("div",{className:"grid grid-cols-3 gap-2",children:e.sources.map((e,s)=>{var t;let l=null!=(t=S[s])?t:N.A;return(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-2 rounded-xl border border-slate-200 bg-slate-50/70 px-2.5 py-2 transition-all duration-500",style:{transitionDelay:"".concat(90*s,"ms"),transform:"translateY(0)"},children:[(0,a.jsx)("span",{className:"flex h-7 w-7 shrink-0 items-center justify-center rounded-lg bg-white text-opally-blue shadow-sm",children:(0,a.jsx)(l,{className:"h-3.5 w-3.5"})}),(0,a.jsx)("span",{className:"truncate text-xs font-medium text-system-navy/65 sm:text-sm",children:e})]},e)})}),(0,a.jsxs)("div",{className:"grid gap-4 md:grid-cols-[minmax(0,1.08fr)_minmax(190px,0.78fr)]",children:[(0,a.jsxs)("div",{className:"relative overflow-hidden rounded-2xl border border-slate-200 bg-white p-4 shadow-[0_14px_45px_-32px_rgba(26,58,74,0.45)]",children:[(0,a.jsxs)("div",{className:"mb-3 inline-flex items-center gap-1.5 rounded-md border border-emerald-500/20 bg-emerald-500/10 px-2.5 py-1 text-xs font-semibold text-emerald-700",children:[(0,a.jsx)(x.A,{className:"h-3.5 w-3.5"}),e.form.progressLabel]}),(0,a.jsx)("h4",{className:"text-xl font-display leading-tight text-system-navy",children:e.form.title}),(0,a.jsx)("p",{className:"mt-1 text-sm leading-relaxed text-system-navy/50",children:e.form.description}),(0,a.jsx)("div",{className:"mt-4 grid grid-cols-3 gap-1.5",children:e.form.steps.map((e,t)=>(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("div",{className:"h-1.5 rounded-full transition-colors duration-500 ".concat(t<=s?"bg-emerald-400":"bg-slate-200")}),(0,a.jsx)("div",{className:"mt-1 truncate text-[10px] font-medium text-system-navy/45",children:e})]},e))}),(0,a.jsx)("div",{className:"mt-4 space-y-2",children:e.form.fields.map((e,t)=>{let l=s>=t;return(0,a.jsxs)("div",{className:"rounded-xl border p-3 transition-all duration-500 ".concat(l?"border-emerald-400/25 bg-emerald-500/[0.04]":"border-slate-200 bg-white"),children:[(0,a.jsxs)("div",{className:"mb-2 flex items-center justify-between gap-2",children:[(0,a.jsx)("span",{className:"truncate text-xs font-semibold text-system-navy/55",children:e}),(0,a.jsx)("span",{className:"h-1.5 w-1.5 rounded-full transition-colors duration-500 ".concat(l?"bg-emerald-400":"bg-slate-200")})]}),(0,a.jsx)("div",{className:"h-2 overflow-hidden rounded-full bg-slate-100",children:(0,a.jsx)("div",{className:"h-full rounded-full bg-slate-300 transition-all duration-700 ease-out",style:{width:l?"".concat(82-14*t,"%"):"18%",transitionDelay:"".concat(110*t,"ms")}})})]},e)})})]}),(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsxs)("div",{className:"rounded-2xl border border-slate-200 bg-slate-50/70 p-3",children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center gap-2 text-xs font-semibold uppercase tracking-wide text-system-navy/40",children:[(0,a.jsx)(A.A,{className:"h-3.5 w-3.5 text-opally-blue"}),e.pipelineTitle]}),(0,a.jsx)("div",{className:"space-y-2",children:e.pipeline.map((t,l)=>{let i=s>=3&&l===e.pipeline.length-1;return(0,a.jsxs)("div",{className:"flex items-center gap-2 rounded-xl border px-2.5 py-2 transition-all duration-500 ".concat(s>=2||0===l?"border-emerald-400/20 bg-white opacity-100":"border-slate-200 bg-white/60 opacity-55"),style:{transitionDelay:"".concat(80*l,"ms")},children:[(0,a.jsx)("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-lg transition-colors duration-500 ".concat(i?"bg-emerald-500 text-white":"bg-emerald-500/10 text-emerald-600"),children:(0,a.jsx)(k.A,{className:"h-3.5 w-3.5"})}),(0,a.jsx)("span",{className:"min-w-0 truncate text-xs font-medium text-system-navy/70 sm:text-sm",children:t})]},t)})})]}),(0,a.jsxs)("div",{className:"rounded-2xl border border-emerald-500/20 bg-emerald-500/[0.06] p-3 transition-all duration-700 ease-out ".concat(s>
1=3?"translate-y-0 opacity-100":"translate-y-3 opacity-0"),children:[(0,a.jsxs)("div",{className:"mb-3 flex items-center gap-2 text-xs font-semibold uppercase tracking-wide text-emerald-700",children:[(0,a.jsx)(T.A,{className:"h-3.5 w-3.5"}),e.followUpsTitle]}),(0,a.jsx)("div",{className:"space-y-2",children:e.followUps.map((e,s)=>(0,a.jsxs)("div",{className:"flex items-center gap-2 rounded-lg bg-white px-2.5 py-2 text-xs font-medium text-system-navy/70 shadow-sm",style:{transitionDelay:"".concat(90*s,"ms")},children:[(0,a.jsx)(M.A,{className:"h-3.5 w-3.5 shrink-0 text-emerald-600"}),(0,a.jsx)("span",{className:"min-w-0 truncate",children:e})]},e))})]})]})]})]})]})})}var z=t(55611),K=t(10142),P=t(51567),C=t(85798);let q=[{labelKey:"platformAgents",items:[{id:"email",icon:c.A,nameKey:"solutionsEmailAssistant",descriptionKey:"cards.emailAssistant.description",href:"/email"},{id:"chat",icon:m.A,nameKey:"solutionsChatbot",descriptionKey:"cards.chatbot.description",href:"/chatbot"},{id:"voice",icon:o.A,nameKey:"solutionsVoiceAssistant",descriptionKey:"cards.voiceAssistant.description",href:"/voice"}]},{labelKey:"platformGrowth",items:[{id:"forms",icon:x.A,nameKey:"solutionsForms",descriptionKey:"cards.forms.description",href:"/forms",isNew:!0},{id:"reviews",icon:u.A,nameKey:"solutionsReviewReplies",descriptionKey:"cards.reviews.description",href:"/reviews",isNew:!0},{id:"aiVisibility",icon:h.A,nameKey:"solutionsAIVisibility",descriptionKey:"cards.aiVisibility.description",href:"/visibility"}]}],E=q.flatMap(e=>e.items);function R(){var e;let s=(0,v.c)("solutionsPage"),t=(0,v.c)("nav"),i=(0,v.c)("cta"),c=(0,v.c)("emailPage"),m=(0,v.c)("chatbotPage"),o=(0,v.c)("voicePage"),x=(0,v.c)("reviewsPage"),u=(0,v.c)("aiVisibilityPage"),h=(0,P.Ym)(),N=(0,C.XP)(h),[w,A]=(0,l.useState)(null),k={email:c("heroSubtitle"),chat:m("heroSubtitle"),voice:o("heroSubtitle"),forms:s("cards.forms.description"),reviews:x("heroSubtitle"),aiVisibility:u("heroSubtitle")},T=null!=(e=E.find(e=>e.id===w))?e:null,M=(0,l.useRef)(T);T&&(M.current=T);let S=null!=T?T:M.current,R=null==S?void 0:S.icon;return(0,a.jsxs)("div",{className:"max-w-5xl mx-auto space-y-12",children:[q.map(e=>(0,a.jsxs)("div",{className:"space-y-5",children:[(0,a.jsx)(y.default,{variant:"fade",delayMs:0,children:(0,a.jsx)("p",{className:"text-xs font-semibold uppercase tracking-wider text-system-navy/70 text-center",children:t(e.labelKey)})}),(0,a.jsx)("div",{className:"flex flex-wrap justify-center gap-6",children:e.items.map((e,l)=>{let i=e.icon;return(0,a.jsx)(y.default,{delayMs:100*l,className:"w-full md:w-[calc(50%-0.75rem)] lg:w-[calc(33.333%-1rem)]",children:(0,a.jsx)("button",{type:"button",onClick:()=>A(e.id),className:"group block h-full w-full cursor-pointer text-center rounded-2xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-opally-blue/40",children:(0,a.jsxs)("div",{className:"h-full rounded-2xl border border-slate-200/80 bg-white p-8 hover:shadow-lg hover:shadow-slate-200/50 hover:-translate-y-0.5 transition-all duration-300",children:[(0,a.jsx)("div",{className:"w-14 h-14 mx-auto mb-5 rounded-xl bg-opally-blue/10 border border-opally-blue/15 flex items-center justify-center transition-colors duration-300 group-hover:bg-opally-blue/15 group-hover:border-opally-blue/25",children:(0,a.jsx)(i,{className:"h-6 w-6 text-opally-blue"})}),(0,a.jsxs)("h3",{className:"text-xl font-display text-system-navy mb-2 flex items-center justify-center gap-2",children:[t(e.nameKey),e.isNew&&(0,a.jsx)("span",{className:"inline-flex items-center px-1.5 py-px rounded font-host text-[9px] font-semibold uppercase tracking-wide bg-emerald-500/20 text-emerald-700 border border-emerald-500/30",children:t("new")})]}),(0,a.jsx)("p",{className:"text-sm text-system-navy/40 leading-relaxed line-clamp-2 mb-5",children:s(e.descriptionKey)}),(0,a.jsxs)("div",{className:"inline-flex items-center text-opally-blue font-medium text-sm",children:[(0,a.jsx)("span",{children:s("seeItInAction")}),(0,a.jsx)(p.A,{className:"ml-1.5 h-4 w-4 group-hover:translate-x-1.5 transition-transform duration-300 ease-[
1cubic-bezier(0.22,1,0.36,1)]"})]})]})})},e.id)})})]},e.labelKey)),(0,a.jsx)(b.J,{open:null!==w,onOpenChange:e=>{e||A(null)},widthClass:"max-w-3xl",footer:S&&(0,a.jsx)(b.C,{delay:300,children:(0,a.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[(0,a.jsx)(n(),{href:"".concat(N).concat(S.href),className:"w-full",children:(0,a.jsxs)(d.Button,{size:"lg",className:"w-full text-base px-7 bg-system-navy hover:bg-system-navy/90 text-white font-medium",children:[s("exploreSolution"),(0,a.jsx)(p.A,{className:"ml-2 h-4 w-4"})]})}),(0,a.jsx)(n(),{href:"https://app.opally.com/signup?language=".concat("da"===h?"da":"en"),className:"w-full",children:(0,a.jsx)(d.Button,{size:"lg",variant:"ghost",className:"w-full text-base px-7 bg-system-navy/[0.06] hover:bg-system-navy/10 text-system-navy font-medium",children:i("tryFree14")})})]})}),children:S&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(b.C,{delay:60,children:(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)("div",{className:"h-14 w-14 shrink-0 rounded-2xl bg-opally-blue/10 border border-opally-blue/15 flex items-center justify-center",children:R&&(0,a.jsx)(R,{className:"h-7 w-7 text-opally-blue"})}),(0,a.jsxs)(r.hE,{className:"text-2xl sm:text-3xl font-display text-system-navy tracking-tight flex items-center gap-3",children:[t(S.nameKey),S.isNew&&(0,a.jsx)("span",{className:"inline-flex items-center px-1.5 py-0.5 rounded font-host text-[10px] font-semibold uppercase tracking-wide bg-emerald-500/20 text-emerald-700 border border-emerald-500/30",children:t("new")})]})]})}),(0,a.jsx)(b.C,{delay:140,children:(0,a.jsx)("p",{className:"mt-5 text-base sm:text-lg text-system-navy/60 leading-relaxed",children:k[S.id]})}),(0,a.jsx)(b.C,{delay:220,children:(0,a.jsxs)("div",{className:"mt-6 py-2 px-1",children:["email"===S.id&&(0,a.jsx)(f.w,{}),"chat"===S.id&&(0,a.jsx)(j.r,{showVideoCard:!1}),"voice"===S.id&&(0,a.jsx)(g.A,{}),"forms"===S.id&&(0,a.jsx)(L,{}),"reviews"===S.id&&(0,a.jsx)(z.R,{}),"aiVisibility"===S.id&&(0,a.jsx)(K.m,{})]})})]})})]})}},95740:(e,s,t)=>{t.d(s,{A:()=>a});let a=(0,t(71847).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])}}]);

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.