PageSourceSearch

https://go.chatway.app/assets/AISetupCompletedModal-BoylLdSs.js

js chatway.app collected 2026-10-02 02:31:44 UTC 3,616 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`release-202609300849`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`57e4f4b4-92a0-4132-9e32-d43d5f06a92c`,e._sentryDebugIdIdentifier=`sentry-dbid-57e4f4b4-92a0-4132-9e32-d43d5f06a92c`)}catch{}})();import{A as e,F as t,I as n,Ot as r,R as i,Z as a,c as o,et as s,ht as c,j as l,k as u,ot as d}from"./vendor-vue-core-DI5wj9bP.js";import{Ct as f}from"./utils-CL0hl12X.js";import{U as p,k as m}from"./user-TQfZ8_Hw.js";import{t as h}from"./toast-Bw7mV9qC.js";import{t as g}from"./_plugin-vue_export-helper-C8SdpCFW.js";import{t as _}from"./ai-assistant-C0sQRxRb.js";import{t as v}from"./useAIAssistant-BZpAr5nz.js";import{t as y}from"./Modal-BHVYbZnp.js";import{t as b}from"./ai-simulation-DLIo8V2v.js";var x={class:`text-center text-grey900 px-6 py-8 sm:px-14 sm:py-11 max-h-[90dvh] overflow-y-auto overflow-x-hidden`},S=[`disabled`],C=g(i({__name:`AISetupCompletedModal`,props:{assistantId:{}},emits:[`close`],setup(i,{emit:g}){let C=i,w=g,T=p(),E=m(),{setAssistantForm:D}=v(),O=o(),k=r(!1),A=r(null),j=()=>{let e=A.value?.attributes.widgets?.[0];if(!e){h().set({message:`No widget associated with this assistant`,type:`error`});return}b(e),w(`close`)},M=()=>{A.value&&T.selectedAssistant?.id!==A.value.id&&(E.resetStore(),T.assistant=A.value,D()),O.push({name:`ai-data-sources`,query:{assistant_id:C.assistantId}}),w(`close`)};return a(async()=>{if(A.value=T.assistants.find(e=>e.id===C.assistantId)??null,!A.value){k.value=!0;try{let{data:e}=await new _().getAssistants();A.value=e.find(e=>e.id===C.assistantId)??null}catch(e){f(e)}finally{k.value=!1}}}),(r,i)=>{let a=d(`Loader`),o=d(`CwIcon`);return s(),e(y,{closeModal:!0,showFooter:!1,backdropClickClose:!1,classes:`w-[550px]! rounded-2xl!`,CloseButtonClass:`text-grey900 [&_svg]:text-grey900! [&_span]:text-grey900!`,"aria-labelledby":`ai-setup-completed-title`,onCloseModal:i[0]||=e=>w(`close`)},{default:c(()=>[u(`div`,x,[i[3]||=u(`div`,{class:`ready-art relative flex items-center justify-center h-46 mb-4`,"aria-hidden":`true`},[u(`img`,{src:`/assets/bot-with-gradient-Ds_xVFWt.svg`,alt:``,class:`relative w-48 h-48 max-w-none shrink-0`})],-1),i[4]||=u(`h2`,{id:`ai-setup-completed-title`,class:`relative m-0 text-3xl font-semibold text-grey900`},`Your AI is ready! 🎉`,-1),i[5]||=u(`p`,{class:`relative mt-2 mb-6 text-base text-grey900`},`Your data has been processed and your AI is ready to start helping your visitors.`,-1),u(`button`,{type:`button`,class:`flex items-center justify-center gap-2 w-full h-12 bg-grey900 text-white text-base rounded-lg disabled:opacity-50`,disabled:k.value,onClick:j},[k.value?(s(),e(a,{key:0,size:`18px`,class:`before:border-white!`})):l(``,!0),i[1]||=t(` Try AI Simulation `)],8,S),u(`button`,{type:`button`,class:`flex items-center justify-between gap-4 w-full h-auto text-left mt-[18px] p-3 rounded-[14px] border border-[#DBE7FF] bg-[#F4F9FF] text-grey900`,onClick:M},[i[2]||=u(`span`,{class:`min-w-0 text-grey900`},[u(`span`,{class:`block text-grey900 text-base font-semibold mb-1`},`Make your AI even better`),u(`span`,{class:`block text-grey900 text-sm`},[u(`span`,{class:`text-grey900 text-sm underline`},`Add more data sources`),t(` like website pages, FAQs, or product information to give it more context.`)])],-1),n(o,{name:`chevron-right`,class:`shrink-0 text-grey900 w-5 h-5`})])])]),_:1})}}}),[[`__scopeId`,`data-v-46386004`]]);export{C as default};
2//# sourceMappingURL=AISetupCompletedModal-BoylLdSs.js.map

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.