PageSourceSearch

https://entityengine.ai/assets/ChatSimulator-CSjp2PQ3.js

js entityengine.ai collected 2026-10-05 13:05:45 UTC 5,054 bytes, 1 lines download raw bytes

1import{_ as C}from"./AnalyticsConsentBanner-BuMpMisa.js";import{o as I,e as A,g as s,h as n,i as e,j as S,n as k,F as B,C as L,A as b,t as D,D as _,r as u}from"./vue-vendor-ByGnlCHr.js";const E={class:"chat-sim-outer"},M={class:"chat-sim-browser"},N={class:"browser-body"},V=["innerHTML"],H={key:0,class:"msg ai typing-msg"},W={class:"input-bar-wrap"},j={class:"input-bar"},F={class:"input-text-area"},P={key:0,class:"typed"},q={key:1,class:"placeholder-text"},z={key:2,class:"cursor-blink"},G={__name:"ChatSimulator",setup(O){const T=[{type:"pause",delay:1200},{type:"ai-thinking",delay:400},{type:"ai-message",text:"Would you like to start an LLC, Corporation, Nonprofit, or Sole Proprietorship?",delay:1400},{type:"user-typing",text:"Corporation",delay:1e3},{type:"user-send",delay:750},{type:"ai-thinking",delay:800},{type:"ai-message",text:"In which state would you like to form your entity?",delay:1300},{type:"user-typing",text:"Delaware",delay:900},{type:"user-send",delay:600},{type:"ai-thinking",delay:800},{type:"ai-message",text:"Great! What would you like to <strong>name your corporation</strong>?",delay:1300},{type:"user-typing",text:"Acme Innovations",delay:1e3},{type:"user-send",delay:1e3},{type:"ai-thinking",delay:800},{type:"ai-message",text:'What <span class="help-link">legal designator</span> would you like? <strong>Inc.</strong>, <strong>Corp.</strong>, or <strong>Company</strong>?',delay:1300},{type:"user-typing",text:"Inc.",delay:700},{type:"user-send",delay:400},{type:"ai-thinking",delay:1e3},{type:"ai-message",text:'Checking <strong>"Acme Innovations Inc."</strong> in Delaware...',delay:1400},{type:"ai-message",text:'✓ <strong>"Acme Innovations Inc."</strong> appears to be available!',delay:2200},{type:"pause",delay:3e3}],p=u([]),y=u(!1),v=u(!1),a=u(""),g=u(null),h=u(!1);let l=[],o=!1;function x(){if(o)return;p.value=[],y.value=!1,v.value=!1,a.value="";const i=setTimeout(()=>{o||(h.value=!1)},80);l.push(i);let t=0;T.forEach(c=>{t+=c.delay;const f=setTimeout(()=>{if(!o)switch(c.type){case"pause":break;case"user-typing":w(c.text);break;case"user-send":a.value&&(p.value.push({sender:"user",html:a.value}),a.value="",_(()=>m()));break;case"ai-thinking":y.value=!0,v.value=!0,_(()=>m());break;case"ai-message":y.value=!1,v.value=!1,p.value.push({sender:"ai",html:c.text}),_(()=>m());break}},t);l.push(f)});const r=setTimeout(()=>{o||(h.value=!0)},t+400);l.push(r);const d=setTimeout(()=>{o||x()},t+1200);l.push(d)}function w(i){a.value="";const t=i.split(""),r=50;t.forEach((d,c)=>{const f=setTimeout(()=>{o||(a.value+=d)},c*r);l.push(f)})}function m(){g.value&&(g.value.scrollTop=g.value.scrollHeight)}return I(()=>x()),A(()=>{o=!0,l.forEach(i=>clearTimeout(i))}),(i,t)=>(s(),n("div",E,[e("div",M,[t[3]||(t[3]=S('<div class="browser-chrome" data-v-e19325b6><div class="chrome-dots" data-v-e19325b6><span class="dot red" data-v-e19325b6></span><span class="dot yellow" data-v-e19325b6></span><span class="dot green" data-v-e19325b6></span></div><div class="chrome-url" data-v-e19325b6><svg class="lock-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" data-v-e19325b6><rect x="3" y="11" width="18" height="11" rx="2" ry="2" data-v-e19325b6></rect><path d="M7 11V7a5 5 0 0 1 10 0v4" data-v-e19325b6></path></svg><span data-v-e19325b6>entityengine.ai/formation</span></div></div>',1)),e("div",N,[e("div",{ref_key:"chatAreaEl",ref:g,class:k(["chat-area",{fading:h.value}])},[(s(!0),n(B,null,L(p.value,(r,d)=>(s(),n("div",{key:d,class:k(["msg",r.sender])},[e("span",{innerHTML:r.html},null,8,V)],2))),128)),y.value?(s(),n("div",H,[...t[0]||(t[0]=[e("div",{class:"typing-dots"},[e("span",{class:"dot-anim"}),e("span",{class:"dot-anim"}),e("span",{class:"dot-anim"})],-1)])])):b("",!0)],2),e("div",W,[e("div",j,[(s(),n("svg",{class:k(["gear-icon",{spinning:v.value}]),viewBox:"0 0 24 24"},[...t[1]||(t[1]=[e("path",{d:"M12 15.5A3.5 3.5 0 0 1 8.5 12A3.5 3.5 0 0 1 12 8.5a3.5 3.5 0 0 1 3.5 3.5a3.5 3.5 0 0 1-3.5 3.5m7.43-2.53c.04-.32.07-.64.07-.97c0-.33-.03-.66-.07-1l2.11-1.63c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.31-.61-.22l-2.49 1c-.52-.39-1.06-.73-1.69-.98l-.37-2.65A.506.506 0 0 0 14 2h-4c-.25 0-.46.18-.5.42l-.37 2.65c-.63.25-1.17.59-1.69.98l-2.49-1c-.22-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64L4.57 11c-.04.34-.07.67-.07 1c0 .33.03.65.07.97L2.46 14.6c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.31.61.22l2.49-1c.52.39 1.06.73 1.69.98l.37 2.65c.04.24.25.42.5.42h4c.25 0 .46-.18.5-.42l.37-2.65c.63-.25 1.17-.59 1.69-.98l2.49 1c.22.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.66Z"},null,-1)])],2)),e("div",F,[a.value?(s(),n("span",P,D(a.value),1)):(s(),n("span",q,"Type your response...")),a.value?(s(),n("span",z)):b("",!0)]),t[2]||(t[2]=e("div",{class:"send-circle"},[e("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round","stroke-linejoin":"round"},[e("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),e("polyline",{points:"12 5 19 12 12 19"})])],-1))])])])])]))}},Z=C(G,[["__scopeId","data-v-e19325b6"]]);export{Z as C};

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.