PageSourceSearch

https://www.motorsales.ai/assets/ChatWidget-CVQL9ULn.js

js motorsales.ai collected 2026-10-05 12:17:55 UTC 20,328 bytes, 30 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DmBTdXAg.js","assets/vendor-react-jF_kt2JX.js","assets/vendor-react-dom-ClxaEcYq.js","assets/vendor-radix-CP7hthBf.js","assets/vendor-query-BrIDhjy6.js","assets/vendor-router-CWiOgDIQ.js","assets/index-DD75WdVS.css"])))=>i.map(i=>d[i]);
2import{c as D,B as O,u as $,C as B,X as S,_ as q}from"./index-DmBTdXAg.js";import{r as u,j as e}from"./vendor-react-jF_kt2JX.js";import{g as E,a as A,b as G,o as H,s as b,i as L,d as J,f as z,F as X,h as j,j as w,k as v,m as y,p as N,T as K}from"./types-BK5pVUVL.js";import{I as _}from"./input-BlffczBV.js";import{s as C}from"./client-CHISRhpI.js";import{w as T}from"./whatsapp-badge-v-Mnh5Iw.js";import{G as P}from"./globe-BycH1v2E.js";import{P as M}from"./phone-9lqw1X1K.js";import{L as Q}from"./loader-circle-ntNPwhFH.js";import{M as R}from"./mail-B7-9JC8q.js";import{M as V}from"./message-circle-DQwNMA6M.js";import{C as Y}from"./circle-check-963T5i3j.js";import{M as Z}from"./map-pin--Xd6HcAo.js";import{C as ee}from"./car--ONYSdi5.js";import{S as te}from"./smartphone-Dtn6znRk.js";import"./vendor-react-dom-ClxaEcYq.js";import"./vendor-radix-CP7hthBf.js";import"./vendor-query-BrIDhjy6.js";import"./vendor-router-CWiOgDIQ.js";import"./label-D5Odrvb7.js";/**
3 * @license lucide-react v0.462.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const se=D("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),F=(t,s,r)=>{if(t&&"reportValidity"in t){const n=E(r,s);t.setCustomValidity(n&&n.message||""),t.reportValidity()}},I=(t,s)=>{for(const r in s.fields){const n=s.fields[r];n&&n.ref&&"reportValidity"in n.ref?F(n.ref,r,t):n.refs&&n.refs.forEach(l=>F(l,r,t))}},ae=(t,s)=>{s.shouldUseNativeValidation&&I(t,s);const r={};for(const n in t){const l=E(s.fields,n),m=Object.assign(t[n]||{},{ref:l&&l.ref});if(re(s.names||Object.keys(t),n)){const o=Object.assign({},E(r,n));A(o,"root",m),A(r,n,o)}else A(r,n,m)}return r},re=(t,s)=>t.some(r=>r.startsWith(s+"."));var ne=function(t,s){for(var r={};t.length;){var n=t[0],l=n.code,m=n.message,o=n.path.join(".");if(!r[o])if("unionErrors"in n){var a=n.unionErrors[0].errors[0];r[o]={message:a.message,type:a.code}}else r[o]={message:m,type:l};if("unionErrors"in n&&n.unionErrors.forEach(function(h){return h.errors.forEach(function(p){return t.push(p)})}),s){var d=r[o].types,i=d&&d[n.code];r[o]=G(o,s,r,l,i?[].concat(i,n.message):n.message)}t.shift()}return r},oe=function(t,s,r){return r===void 0&&(r={}),function(n,l,m){try{return Promise.resolve(function(o,a){try{var d=Promise.resolve(t[r.mode==="sync"?"parse":"parseAsync"](n,s)).then(function(i){return m.shouldUseNativeValidation&&I({},m),{errors:{},values:r.raw?n:i}})}catch(i){return a(i)}return d&&d.then?d.then(void 0,a):d}(0,function(o){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(o))return{values:{},errors:ae(ne(o.errors,!m.shouldUseNativeValidation&&m.criteriaMode==="all"),m)};throw o}))}catch(o){return Promise.reject(o)}}};const le=H({website_url:b().min(1,"Website URL is required").refine(t=>L(t),"Enter a valid website (e.g. anycolourcar.com)"),first_name:b().trim().min(1,"First name is required").max(100),last_name:b().trim().min(1,"Last name is required").max(100),mobile:b().trim().min(7,"Mobile number is required").max(20).regex(/^[+\d\s\-().]+$/,"Enter a valid mobile number"),email:b().trim().email("Enter a valid email").max(255),message:b().trim().min(1,"Please tell us how we can help").max(1e3)});function ie(t){if(!t)return null;let s=t.trim().replace(/[\s\-().]/g,"");return s.startsWith("+")?/^\+\d{8,15}$/.test(s)?s:null:(s=s.replace(/\D/g,""),s?(s.startsWith("0044")&&(s=s.slice(2)),s.startsWith("44")?`+${s}`:s.startsWith("0")?s.length<10?null:`+44${s.slice(1)}`:`+${s}`):null)}function ce(t,s=64){return`https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=${s}`}function de({onSubmit:t}){const s=J({resolver:oe(le),defaultValues:{website_url:"",first_name:"",last_name:"",mobile:"",email:"",message:""},mode:"onTouched"}),r=s.watch("website_url"),n=s.watch("mobile"),[l,m]=u.useState(null),[o,a]=u.useState(!1),[d,i]=u.useState(!1),[h,p]=u.useState(!1);u.useEffect(()=>{const c=setTimeout(()=>{if(r&&L(r)){const f=z(r);m(ce(f)),a(!1)}else m(null),a(!1)},600);return()=>clearTimeout(c)},[r]);const g=u.useRef(null);return u.useEffect(()=>{const c=ie(n);if(!c){i(!1),g.current=null;return}if(g.current===c)return;const f=setTimeout(async()=>{p(!0);try{const{data:x,error:k}=await C.functions.invoke("check-whatsapp",{body:{phone:c}});if(g.current=c,k)throw k;i(!!(x!=null&&x.exists))}catch(x){console.error(x),i(!1)}finally{p(!1)}},600);return()=>clearTimeout(f)},[n]),e.jsx(X,{...s,children:e.jsxs("form",{onSubmit:s.handleSubmit(t),className:"space-y-3 p-4",children:[e.jsx(j,{control:s.control,name:"website_url",render:({field:c})=>e.jsxs(w,{children:[e.jsx(v,{className:"text-xs font-semibold text-foreground
7/80",children:"Dealer Website URL"}),e.jsx(y,{children:e.jsxs("div",{className:"relative",children:[e.jsxs("span",{className:"absolute left-3 top-1/2 -translate-y-1/2 flex h-4 w-4 items-center justify-center text-muted-foreground",children:[l&&o?e.jsx("img",{src:l,alt:"",className:"h-4 w-4 rounded-sm object-contain",onError:()=>a(!1)}):e.jsx(P,{className:"h-4 w-4"}),l&&!o&&e.jsx("img",{src:l,alt:"",className:"hidden",onLoad:()=>a(!0),onError:()=>a(!1)})]}),e.jsx(_,{...c,type:"text",inputMode:"url",autoComplete:"url",autoCorrect:"off",autoCapitalize:"none",spellCheck:!1,placeholder:"abcdealer.com",className:"pl-9"})]})}),e.jsx(N,{})]})}),e.jsxs("div",{className:"grid grid-cols-2 gap-3",children:[e.jsx(j,{control:s.control,name:"first_name",render:({field:c})=>e.jsxs(w,{children:[e.jsx(v,{className:"text-xs font-semibold text-foreground/80",children:"First Name"}),e.jsx(y,{children:e.jsxs("div",{className:"relative",children:[e.jsx(se,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(_,{...c,placeholder:"Joe",className:"pl-9",autoComplete:"given-name"})]})}),e.jsx(N,{})]})}),e.jsx(j,{control:s.control,name:"last_name",render:({field:c})=>e.jsxs(w,{children:[e.jsx(v,{className:"text-xs font-semibold text-foreground/80",children:"Last Name"}),e.jsx(y,{children:e.jsx(_,{...c,placeholder:"Bloggs",autoComplete:"family-name"})}),e.jsx(N,{})]})})]}),e.jsxs("div",{className:"grid grid-cols-1 gap-3",children:[e.jsx(j,{control:s.control,name:"mobile",render:({field:c})=>e.jsxs(w,{children:[e.jsx(v,{className:"text-xs font-semibold text-foreground/80",children:"Mobile"}),e.jsx(y,{children:e.jsxs("div",{className:"relative",children:[e.jsx(M,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(_,{...c,type:"tel",placeholder:"07388580111",className:"pl-9 pr-9",autoComplete:"tel"}),e.jsx("span",{className:"absolute right-2 top-1/2 -translate-y-1/2 flex h-6 w-6 items-center justify-center",children:h?e.jsx(Q,{className:"h-3.5 w-3.5 animate-spin text-muted-foreground"}):d?e.jsx("img",{src:T,alt:"WhatsApp available",className:"h-5 w-5"}):null})]})}),e.jsx(N,{})]})}),e.jsx(j,{control:s.control,name:"email",render:({field:c})=>e.jsxs(w,{children:[e.jsx(v,{className:"text-xs font-semibold text-foreground/80",children:"Email"}),e.jsx(y,{children:e.jsxs("div",{className:"relative",children:[e.jsx(R,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),e.jsx(_,{...c,type:"email",placeholder:"[email protected]",className:"pl-9",autoComplete:"email"})]})}),e.jsx(N,{})]})})]}),e.jsx(j,{control:s.control,name:"message",render:({field:c})=>e.jsxs(w,{children:[e.jsx(v,{className:"text-xs font-semibold text-foreground/80",children:"How can we help you?"}),e.jsx(y,{children:e.jsx(K,{...c,rows:3,placeholder:"Looking for a demo…",className:"resize-none"})}),e.jsx(N,{})]})}),e.jsxs(O,{type:"submit",className:"w-full bg-gradient-to-r from-[#F01767] to-[#702B7A] text-white hover:opacity-95 transition-opacity font-semibold gap-2",disabled:s.formState.isSubmitting,children:[e.jsx(V,{className:"h-4 w-4 text-white"}),"Start Chat"]})]})})}const me=18;function U(t,s){const[r,n]=u.useState(s?"":t);return u.useEffect(()=>{if(!s){n(t);return}n("");let l=0;const m=setInterval(()=>{l+=1,n(t.slice(0,l)),l>=t.length&&clearInterval(m)},me);return()=>clearInterval(m)},[t,s]),r}function ue({text:t}){return e.jsxs("div",{className:"flex items-center gap-3 px-4 py-3 bg-muted/40 rounded-lg",children:[e.jsxs("div",{className:"relative h-8 w-8 flex items-center justify-center",children:[e.jsx("span",{className:"absolute inset-0 rounded-full bg-gradient-to-br from-[#F01767] to-[#702B7A] opacity-20 animate-ping"}),e.jsx("span",{className:"absolute inset-0 rounded-full border-2 border-transparent border-t-[#F01767] border-r-[#702B7A] animate-spin"}),e.jsx(P,{className:"h-4 w-4 text-[#F01767]",strokeWidth:2.5})]}),e.jsx("span",{className:"text-sm font-medium text-foreground/80",children:t})]})}function he({text:t,streaming:s}){const r=U(t,s);return e.jsxs("div",{className:"px-4 py-2.5 bg-muted/40 rounded-lg text-sm leading-relaxed text-foreground whitespace-pre-wrap",children:[r,s&&r.length<t.length&&e.jsx("span",{className:"inline-block w-1.5 h-4 align-text-bottom bg-[#F01767] ml-0.5 animate-pulse"})]})}function pe({dealer:t,revealed:s}){return e.jsxs("div",{className:`overflow-hidden rounded-lg border border-border bg-white transition-all duration-500 ${s?"opacity-100 translate-y-0":"opacity-0 translate-y-2"}`,children:[e.jsxs("div",{className:"px-3 py-2 bg-gradient-to-r from-[#F01767] to-[#702B7A] text-white text-xs font-semibold flex items-center gap-1.5",children:[e.jsx(Y,{className:"h-3.5 w-3.5"}),"Dealership found"]}
7),e.jsxs("div",{className:"p-3 space-y-2",children:[e.jsx("div",{className:"font-semibold text-foreground text-sm",children:t.seller_name}),(t.street||t.city||t.zip)&&e.jsxs("div",{className:"flex items-start gap-2 text-xs text-muted-foreground",children:[e.jsx(Z,{className:"h-3.5 w-3.5 mt-0.5 shrink-0"}),e.jsx("span",{children:[t.street,t.city,t.zip].filter(Boolean).join(", ")})]}),t.seller_phone&&e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[e.jsx(M,{className:"h-3.5 w-3.5 shrink-0"}),e.jsx("span",{children:t.seller_phone})]}),t.seller_email&&e.jsxs("div",{className:"flex items-center gap-2 text-xs text-muted-foreground",children:[e.jsx(R,{className:"h-3.5 w-3.5 shrink-0"}),e.jsx("span",{className:"truncate",children:t.seller_email})]}),t.listing_count>0&&e.jsxs("div",{className:"flex items-center gap-2 text-xs font-medium text-foreground pt-1 border-t border-border",children:[e.jsx(ee,{className:"h-3.5 w-3.5 shrink-0 text-[#F01767]"}),e.jsxs("span",{children:["Approx ",t.listing_count," vehicles in stock"]})]})]})]})}function fe(){return e.jsxs("div",{className:"flex items-center gap-2 mb-2 select-none motion-reduce:[&_*]:!animate-none","aria-hidden":"true",children:[e.jsx("span",{className:"flex h-7 w-7 items-center justify-center rounded-full bg-background border border-border shadow-sm",children:e.jsx(te,{className:"h-3.5 w-3.5 text-foreground/70",strokeWidth:2.25})}),e.jsxs("span",{className:"relative flex-1 h-px overflow-hidden",children:[e.jsx("span",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle, hsl(var(--foreground) / 0.35) 1px, transparent 1.2px)",backgroundSize:"6px 1px",backgroundRepeat:"repeat-x",backgroundPosition:"left center"}}),e.jsx("span",{className:"absolute top-1/2 -translate-y-1/2 h-[3px] w-6 rounded-full bg-gradient-to-r from-transparent via-[#25D366] to-[#25D366] [animation:wa-travel_1.2s_ease-out_0.15s_1_forwards]",style:{left:"-1.5rem"}})]}),e.jsx("span",{className:"flex h-7 w-7 items-center justify-center rounded-full bg-background border border-border shadow-sm opacity-40 [animation:wa-arrive_0.45s_ease-out_1.25s_1_forwards]",children:e.jsx("img",{src:T,alt:"",className:"h-5 w-5"})}),e.jsx("style",{children:`
8        @keyframes wa-travel {
9          0%   { left: -1.5rem; opacity: 0; }
10          15%  { opacity: 1; }
11          85%  { opacity: 1; }
12          100% { left: calc(100% + 0.25rem); opacity: 0; }
13        }
14        @keyframes wa-arrive {
15          0%   { opacity: 0.4; transform: scale(1); }
16          40%  { opacity: 1;   transform: scale(1.18); }
17          100% { opacity: 1;   transform: scale(1); }
18        }
19      `})]})}function xe({whatsApp:t,text:s,boldLead:r,streaming:n}){const l=U(s,n),m=$("Chat Widget"),o=!n||l.length>=s.length,a=r&&s.startsWith(r)?r.length:0,d=a>0?l.slice(0,Math.min(l.length,a)):"",i=a>0?l.slice(Math.min(l.length,a)):l;return e.jsxs("div",{className:"px-4 py-2.5 bg-muted/40 rounded-lg text-sm leading-relaxed text-foreground",children:[t&&e.jsx(fe,{}),e.jsxs("span",{className:"whitespace-pre-wrap",children:[d&&e.jsx("strong",{className:"font-semibold",children:d}),i]}),o&&e.jsxs(e.Fragment,{children:[" ",e.jsx("button",{type:"button",onClick:m,className:"font-semibold text-[#F01767] hover:underline underline-offset-2",children:"Click here"})," ","to book a call."]}),n&&l.length<s.length&&e.jsx("span",{className:"inline-block w-1.5 h-4 align-text-bottom bg-[#F01767] ml-0.5 animate-pulse"})]})}function ge({result:t,loading:s,firstName:r}){const[n,l]=u.useState([]),m=u.useRef(null);u.useEffect(()=>{l([{id:"greet",type:"text",text:`Hi ${r||"there"} — thanks for reaching out. Let me find your dealership…`,streaming:!0},{id:"loader",type:"loader",text:"Finding your dealership…"}])},[r]),u.useEffect(()=>{if(s||!t)return;l(d=>{var c;const i=d.filter(f=>f.id!=="loader");t.dealer?(i.push({id:"dealer-found-intro",type:"text",text:"Great news, I found your dealership.",streaming:!0}),i.push({id:"dealer-card",type:"dealer-card",dealer:t.dealer,revealed:!1})):i.push({id:"no-dealer",type:"text",text:"We couldn't automatically locate your dealership, but we've recorded your details and our team will be in touch shortly.",streaming:!0});const h=(c=t.dealer)==null?void 0:c.seller_name,p=`We've identified you have WhatsApp and just sent ${h?`a message about ${h}`:"you a message"}`,g=t.hasWhatsApp?`${p} — you should receive it within the next minute or two. Or`:`Our team is currently unavailable, however we've recorded your contact request${h?` for ${h}`:""} and just sent you an email, feel free to reply with any additional information. Or`;return i.push({id:"cta",type:"cta",whatsApp:t.hasWhatsApp,text:g,boldLead:t.hasWhatsApp?p:void 0,streaming:!0}),i});const a=setTimeout(()=>{l(d=>d.map(i=>i.type==="dealer-card"?{...i,revealed:!0}:i))},80);return()=>clearTimeout(a)},[s,t]),u.useEffect(()=>{var a;(a=m.current)==null||a.scrollIntoView({behavior:"smooth"})},[n]);const o=n.map(a=>a.type==="loader"?e.jsx(ue,{text:a.text},a.id):a.type==="text"?e.jsx(he,{text:a.text,streaming:a.streaming},a.id):a.type==="dealer-card"?e.jsx(pe,{dealer:a.dealer,revealed:a.revealed},a.id):a.type==="cta"?e.jsx(xe,{whatsApp:a.whatsApp,text:a.text,boldLead:a.boldLead,streaming:a.streaming},a.id):null);return e.jsxs("div",{className:"flex-1 overflow-y-auto p-4 space-y-3 bg-background",children:[o,e.jsx("div",{ref:m})]})}function be(){const[t,s]=u.useState(!1),r=u.useCallback(async o=>{try{const{data:a,error:d}=await C.functions.invoke("check-whatsapp",{body:{phone:o}});if(d)throw d;return a}catch(a){return console.error("check-whatsapp failed",a),{exists:!1,link:null,normalized:null}}},[]),n=u.useCallback(async o=>{try{const a=z(o),{data:d,error:i}=await C.functions.invoke("search-dealer",{body:{inventoryUrl:a}});if(i)throw i;return((d==null?void 0:d.dealers)??[])[0]??null}catch(a){return console.error("search-dealer failed",a),null}},[]),l=u.useCallback(async(o,a)=>{var d;try{const{error:i}=await C.functions.invoke("submit-chat-lead",{body:{marketcheck_dealer_id:((d=a.dealer)==null?void 0:d.id)??void 0,mobile:a.normalizedPhone??o.mobile,email:o.email,website:o.website_url,first_name:o.first_name,last_name:o.last_name,message:o.message,has_whatsapp:a.hasWhatsApp}});if(i)throw i}catch(i){console.error("submit-chat-lead failed",i)}},[]);return{runLookups:u.useCallback(async o=>{s(!0);try{const[a,d]=await Promise.allSettled([n(o.website_url),r(o.mobile)]),i=a.status==="fulfilled"?a.value:null,h=d.status==="fulfilled"?d.value:{exists:!1,link:null,normalized:null},p={dealer:i,hasWhatsApp:!!h.exists,whatsAppLink:h.link,normalizedPhone:h.normalized};return l(o,p),p}finally{s(!1)}},[n,r,l]),isRunning:t,checkWhatsApp:r}}const je="/assets/avatar-1-DLV1Ao_5.png",we="/assets/avatar-2-ZhswlnaJ.png",ve="/assets/avatar-3-CgySTzQ2.png",ye="/assets/avatar-4-DnzsXBOU.png",Ne="/assets/sam-DaAJEvaS.png",ke="/assets/victoria-es9d9e8c.png",W=[je,we,ve,ye,Ne,ke];function qe(){const[t,s]=u.useState(!1),[r,n]=u.useState(!1),[l,m]=u.useState(null),[o,a]=u.useState(null),{runLookups:d,isRunning:i}=be();u.useEffect(()=>{if(!t)return;const c=document.body.style.overflow;return window.innerWidth<640&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow=c}},[t]),u.useEffect(()=>{const c=()=>s(!0);return window.addEventListener("motorsales:open-chat",c),()=>window.removeEventListener("motorsales:open-chat",c)},[]);const h=async c=>{m(c),n(!0),a(null);const f=await d(c);a(f),q(()=>import("./index-DmBTdXAg.js").then(x=>x.g),__vite__mapDeps([0,1,2,3,4,5,6])).then(x=>{var k;return x.trackLead("chat_completed",{website:c.website_url,has_whatsapp:f.hasWhatsApp},((k=f.dealer)==null?void 0:k.id)??null)})},p=()=>{n(!1),m(null),a(null)},g=()=>{s(!1)};return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:`fixed z-[60] transition-all duration-300 ease-out
20          ${t?"opacity-100 translate-y-0 pointer-events-auto":"opacity-0 translate-y-4 pointer-events-none"}
21          inset-x-0 bottom-0 sm:inset-auto sm:bottom-24 sm:right-6
22          sm:w-[380px] sm:max-h-[640px]
23          h-[85vh] sm:h-[640px]
24          flex flex-col
25          bg-background
26          rounded-t-2xl sm:rounded-2xl
27          shadow-2xl
28          overflow-hidden
29          border border-border
30        `,role:"dialog","aria-label":"Chat with Motorsales",children:[e.jsxs("div",{className:"bg-[#151A26] text-white px-4 py-3 flex items-start justify-between shrink-0",children:[e.jsxs("div",{className:"flex flex-col items-start gap-1.5",children:[e.jsx("div",{className:"flex items-center pl-2.5",children:W.map((c,f)=>e.jsx("div",{className:"relative h-8 w-8 rounded-full ring-2 ring-[#151A26] overflow-hidden bg-white -ml-2.5",style:{zIndex:W.length-f},children:e.jsx("img",{src:c,alt:"","aria-hidden":"true",loading:"lazy",className:"h-full w-full object-cover"})},f))}),e.jsx("div",{className:"text-[11px] text-white/70 leading-tight",children:"Dealer Success Team"})]}),e.jsxs("div",{className:"flex items-center gap-1",children:[r&&e.jsx("button",{onClick:p,className:"text-xs text-white/60 hover:text-white px-2 py-1 rounded-md hover:bg-white/10 transition-colors","aria-label":"New chat",children:"New"}),e.jsxs("button",{onClick:g,className:"p-1.5 hover:bg-white/10 rounded-md transition-colors","aria-label":"Close chat",children:[e.jsx(B,{className:"h-4 w-4 sm:hidden"}),e.jsx(S,{className:"h-4 w-4 hidden sm:block"})]})]})]}),r?e.jsx(ge,{result:o,loading:i||!o,firstName:(l==null?void 0:l.first_name)??""}):e.jsxs("div",{className:"flex-1 overflow-y-auto bg-background",children:[e.jsx("div",{className:"px-4 pt-4",children:e.jsxs("h2",{className:"text-base font-semibold text-foreground",children:["Welcome ",e.jsx("span",{"aria-hidden":!0,
30children:"👋"})]})}),e.jsx(de,{onSubmit:h})]})]}),e.jsxs("button",{type:"button",onClick:()=>s(c=>!c),className:"fixed bottom-6 right-6 z-[59] h-14 w-14 rounded-full bg-gradient-to-br from-[#F01767] to-[#702B7A] text-white flex items-center justify-center shadow-xl shadow-[#F01767]/30 hover:scale-105 active:scale-95 transition-transform","aria-label":t?"Close chat":"Open chat",children:[t?e.jsx(S,{className:"h-5 w-5"}):e.jsx(V,{className:"h-5 w-5"}),!t&&!r&&e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"absolute top-1.5 right-1.5 h-2.5 w-2.5 rounded-full bg-emerald-400 ring-2 ring-background"}),e.jsx("span",{className:"absolute top-1.5 right-1.5 h-2.5 w-2.5 rounded-full bg-emerald-400 animate-ping opacity-75"})]})]})]})}export{qe 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.