PageSourceSearch

https://sales-automation.ai/build/assets/Chat-DfHx5he3.js

js sales-automation.ai collected 2026-10-05 12:33:03 UTC 4,996 bytes, 1 lines download raw bytes

1import{h as k}from"./inertia-vendor-B1UleJax.js";import{_ as w}from"./AiChat-DDFwxCKZ.js";import{j as _,b as u,f as y}from"./app-BfyP88rG.js";import{o,c as l,Q as e,y as C,a as s,V as i,W as a,M as x,F as f,P as A,N as I,r as h}from"./vue-vendor-D0krlAb0.js";import"./vendor-By_xewFp.js";import"./echo-vendor-BBfRIm2m.js";import"./axios-vendor-D8QQWGbA.js";import"./lodash-vendor-C9X7AA5U.js";import"./motion-vendor-D3429V1r.js";import"./MarkdownRenderer-D_mmVF8V.js";import"./highlight-vendor-DEKntZBs.js";import"./vue-i18n-D1druVO5.js";import"./tel-input-vendor-Dsa4Ey81.js";import"./stripe-vendor-CPICCz1r.js";import"./pinia-vendor-BDcgz45G.js";const S={class:"relative min-h-screen w-full text-slate-900",style:{"background-image":"url('https://storage.googleapis.com/sales-automation-ai/components/cloud-bg.png')","background-size":"cover","background-position":"center",position:"relative"}},j={class:"relative z-10 min-h-screen flex flex-col"},V={class:"w-full py-6 px-4 sm:px-6 lg:px-8"},W={class:"max-w-7xl mx-auto flex items-center justify-between"},M={class:"flex items-center space-x-4"},N={key:0,class:"mx-auto max-w-4xl px-4 sm:px-6 lg:px-8 mb-6"},Q={class:"bg-sky-50 border border-sky-200 rounded-lg p-6 relative"},T={class:"flex items-start space-x-4"},B={class:"flex-1"},z={class:"flex flex-wrap gap-2"},G={key:1,class:"mx-auto max-w-4xl px-4 sm:px-6 lg:px-8 mb-6"},H={class:"bg-gradient-to-r from-purple-50 to-pink-50 border border-purple-200 rounded-lg p-6 relative"},Y={class:"grid grid-cols-1 md:grid-cols-2 gap-3"},$={class:"flex items-center space-x-2"},F={class:"text-sm text-purple-800 group-hover:text-purple-900"},O={class:"flex-1 mx-auto max-w-7xl w-full px-4 sm:px-6 lg:px-8 pb-6"},q={class:"h-full"},D={__name:"Chat",props:{assessment:Object,aiChat:Object},setup(r){const b=r,n=h(!0),d=h(!0),m=()=>{window.location.href=route("ai-assessment.show",{id:b.assessment.id})},p=()=>{n.value=!1},g=()=>{d.value=!1},v=["How do I complete my company profile?","What information should I provide about my business?","How can I improve my assessment score?","What's the next step after this chat?"];return(E,t)=>(o(),l(f,null,[e(C(k),{title:"AI Assessment Chat"}),s("div",S,[t[10]||(t[10]=s("div",{class:"absolute inset-0 backdrop-blur-sm bg-white/30"},null,-1)),t[11]||(t[11]=s("div",{class:"absolute inset-0 backdrop-blur-sm bg-white/20"},null,-1)),s("div",j,[s("div",V,[s("div",W,[t[1]||(t[1]=s("div",{class:"flex items-center space-x-4"},[s("h1",{class:"text-2xl font-bold text-slate-900"}," AI Assessment Assistant "),s("div",{class:"bg-green-100 text-green-800 px-3 py-1 rounded-full text-sm font-medium"}," Assessment Created ")],-1)),s("div",M,[e(u,{onClick:m},{default:i(()=>[...t[0]||(t[0]=[a(" Start Assessment ",-1)])]),_:1})])])]),n.value?(o(),l("div",N,[s("div",Q,[s("button",{onClick:p,class:"absolute top-4 right-4 text-slate-400 hover:text-slate-600"}," ✕ "),s("div",T,[t[7]||(t[7]=s("div",{class:"flex-shrink-0"},[s("div",{class:"w-12 h-12 bg-sky-500 rounded-full flex items-center justify-center"},[s("svg",{class:"w-6 h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[s("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-4l-4 4z"})])])],-1)),s("div",B,[t[4]||(t[4]=s("h3",{class:"text-lg font-semibold text-sky-900 mb-2"}," Welcome to Your AI Assessment! ",-1)),t[5]||(t[5]=s("p",{class:"text-sky-800 mb
1-4"}," Your assessment has been created successfully. I'm here to help you complete it step by step. You can chat with me about: ",-1)),t[6]||(t[6]=s("ul",{class:"list-disc list-inside text-sky-800 space-y-1 mb-4"},[s("li",null,"Understanding what information to provide"),s("li",null,"Getting guidance on each section"),s("li",null,"Tips for improving your assessment score"),s("li",null,"Technical help and navigation")],-1)),s("div",z,[e(y,{onClick:p,class:"text-sm"},{default:i(()=>[...t[2]||(t[2]=[a(" Start Chatting ",-1)])]),_:1}),e(u,{onClick:m,class:"text-sm"},{default:i(()=>[...t[3]||(t[3]=[a(" Go to Assessment ",-1)])]),_:1})])])])])])):x("",!0),d.value?(o(),l("div",G,[s("div",H,[s("button",{onClick:g,class:"absolute top-4 right-4 text-slate-400 hover:text-slate-600"}," ✕ "),t[9]||(t[9]=s("div",{class:"mb-4"},[s("h3",{class:"text-lg font-semibold text-purple-900 mb-2"}," 💡 Quick Start Guide "),s("p",{class:"text-purple-800 text-sm"}," Try asking me one of these common questions: ")],-1)),s("div",Y,[(o(),l(f,null,A(v,c=>s("button",{key:c,onClick:()=>{},class:"text-left p-3 bg-white/70 hover:bg-white/90 border border-purple-200 rounded-lg transition-all duration-200 hover:shadow-md group"},[s("div",$,[t[8]||(t[8]=s("span",{class:"text-purple-600 group-hover:text-purple-700"},"💬",-1)),s("span",F,I(c),1)])])),64))])])])):x("",!0),s("div",O,[s("div",q,[e(w,{aiChat:r.aiChat},null,8,["aiChat"])])])])])],64))}},rs=_(D,[["__scopeId","data-v-e6c1d9af"]]);export{rs as default};

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.