PageSourceSearch

https://so-live.web.app/assets/who-ChatBotTutorialStepsButton.LVO2r1va.js

js so-live.web.app collected 2026-10-03 12:39:34 UTC 2,337 bytes, 2 lines download raw bytes

1/* @license See /assets/vendor.LICENSE.txt */
2import{i as g,hw as h,Y as w,u as S,r as C,f as v,L as p,m as l,F as r,t as s,z as x,G as k,N as T,O as B,P as D,h$ as _,b0 as I,Q as L}from"./who-modals.COweCHuk.js";import"./who-vendor-firebase.Cl-uKClc.js";import"./who-vendor-date-fns.CVLJUTOg.js";import"./who-vendor-sentry.D6QQgNDm.js";import"./who-vendor-lottie-web.CrC-EasW.js";import"./who-vendor-swiper.B3M301Wf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="16489079-82d9-4470-86d3-09327661d1eb",e._sentryDebugIdIdentifier="sentry-dbid-16489079-82d9-4470-86d3-09327661d1eb")}catch{}})();const z={class:"mt-4 w-full"},F=["disabled"],M={key:0,class:"h-4 w-4 animate-spin text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},N={class:"mt-3 flex justify-center space-x-1"},W=g({__name:"ChatBotTutorialStepsButton",props:{currentStep:{},totalSteps:{},isDisabled:{type:Boolean}},emits:["goNext"],setup(e,{emit:a}){const n=a,f=h(),m=w(),i=S(),c=new L("79aaca69"),o=C(!1),y=v(()=>e.totalSteps===e.currentStep+1?i(p.okay):i(p.next));async function b(){if(e.totalSteps===e.currentStep+1){o.value=!0;try{const t=await _();t.type===I.API_RESULT&&t.data.success===!1?c.error("Could not receive success result from setChatbotTutorialCompleted",t.data):(m.close("chatBotTutorialModal"),f.loadExistingData())}catch(t){c.error("setChatbotTutorialCompleted failed",t)}finally{o.value=!1}}else n("goNext")}return(t,u)=>(l(),r("div",z,[s("button",{class:"flex w-full items-center justify-center gap-2 rounded-full bg-linear-to-r from-richFuchsia to-richFuchsia2 py-3 font-semibold text-white disabled:cursor-not-allowed disabled:opacity-50",disabled:t.isDisabled||o.value,onClick:b},[s("span",null,x(y.value),1),o.value?(l(),r("svg",M,u[0]||(u[0]=[s("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),s("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)]))):k("",!0)],8,F),s("div",N,[(l(!0),r(T,null,B(t.totalSteps,d=>(l(),r("span",{key:d,class:D(["size-2 rounded-full px-2 rtl:ml-1",t.currentStep+1===d?"bg-richFuchsia":"bg-nearWhite"])},null,2))),128))])]))}});export{W 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.