PageSourceSearch

https://homepage-cdn.tidio.com/_next/static/chunks/pages/[locale]/…/[...survey]-77d4d3c211aa9e2f.js

js tidio.com collected 2026-10-01 07:35:12 UTC 2,932 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1f46349d-d06b-40d4-93b3-c1424ec8f271",e._sentryDebugIdIdentifier="sentry-dbid-1f46349d-d06b-40d4-93b3-c1424ec8f271")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5221],{19695:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Conversations:()=>p,__N_SSP:()=>T,default:()=>A});var n=r(18153),o=r(14232),l=r(42428),a=r(80046),i=r(77786),s=r(59846),u=r(97134),c=r(30955),d=r(85423),f=r(67438),g=r(65286),_=r(55462),y=r(19871),h=r(70283),S=r(69461),b=r(19002);let w=async e=>(0,y.AT)({url:(0,y.Qi)(_.T.SAVE_CONVERSATIONS_SATISFACTION_RATING),body:e,method:"POST"});var T=!0;let p=({apiToken:e,rating:t})=>{let[r,T]=(0,o.useState)(t),[p,A]=(0,o.useState)(""),[v,C]=(0,o.useState)(!1),{data:E,error:N,isLoading:Y}=(e=>{let{data:t,isLoading:r,error:n}=(0,b.Ay)(e?`${(0,y.Qi)(_.T.FETCH_CONVERSATIONS_SATISFACTION_CONFIG)}?${new URLSearchParams({apiToken:e})}`:null,e=>(0,h.A)(e),{onError:e=>{(0,S.R)("Conversations satisfaction - couldn't fetch config",{error:e})},revalidateOnFocus:!1,errorRetryCount:1});return{error:n,data:t||null,isLoading:r}})(e),{saveRating:I,isMutating:R}=(()=>{let[e,t]=(0,o.useState)(!1),[r,n]=(0,o.useState)(null);return{saveRating:(0,o.useCallback)(async e=>{t(!0);try{await w(e)}catch(e){e instanceof Error&&n(e),(0,S.R)("Conversations satisfaction - couldnt save config",{error:e})}finally{t(!1)}},[]),isMutating:e,mutationError:r}})(),[m,O]=(0,o.useState)(null),k=(0,o.useMemo)(()=>E?.projectLogoUrl?E.projectLogoUrl:N instanceof a.g?N.projectLogoUrl:null,[E?.projectLogoUrl,N]);(0,o.useEffect)(()=>{(0,l.U)(t)&&T(t)},[t]);let D=(0,o.useMemo)(()=>{if(v)return(0,n.Y)(c.kT,{});if(E?.rating)return(0,n.Y)(c.xR,{});if(N||!e)return N instanceof a.g?(0,n.Y)(c.QN,{}):(0,n.Y)(c.$X,{});if(E&&e){let t=async t=>{t.preventDefault(),(0,l.U)(r)?(await I({apiToken:e,rating:r,comment:p}),C(!0)):O("This field is required")};return(0,n.Y)(u.A,{activeRating:r,inputPlaceholder:E.inputPlaceholder,onRatingClick:e=>{T(e),O(null)},setComment:A,title:E.title,onSubmit:t,isLoading:R,formError:m})}return null},[r,e,p,E,N,m,R,I,v]);return Y||!e?(0,n.Y)(i.A,{children:(0,n.Y)(s.Rq,{children:(0,n.Y)(d.A,{full:!0,size:"lg",alignY:"center"})})}):(0,n.FD)(i.A,{children:[(0,n.Y)(f.A,{seo:{title:"How would you rate the support you received?",metaDesc:"Your feedback is valuable and will only take a few seconds."}}),(0,n.FD)(s.Qr,{children:[(0,n.FD)(g.A,{children:[k&&(0,n.Y)(s.j$,{children:(0,n.Y)("img",{src:k,alt:"Project logo"})}),D]}),(0,n.Y)(c.y5,{})]})]})},A=p},92556:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/conversations/satisfaction/[...survey]",function(){return r(19695)}])}},e=>{e.O(0,[8626,357,2867,9002,7786,4637,5314,636,6593,8792],()=>e(e.s=92556)),_N_E=e.O()}]);

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.