PageSourceSearch

https://kolsetu.com/_next/static/chunks/2727.cd33b1803893d6c5.js

js kolsetu.com collected 2026-10-08 18:30:21 UTC 2,973 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2727],{82727:(e,t,n)=>{n.r(t),n.d(t,{default:()=>f});var o=n(80542),a=n(95155),s=n(12115),l=n(74878),i=n(32009),r=n(95049),c=n(85654),d=n(43265);n(16594);var u=n(99720);function m(e){var t=e.onEnd,n=(0,l.A)(),o=(0,i.a8)().state,d=(0,r.f)();return(0,s.useEffect)(function(){(null==d?void 0:d.localParticipant)&&d.localParticipant.setMicrophoneEnabled(!0,{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}).catch(function(e){})},[d]),(0,a.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-5 py-8",children:[(0,a.jsx)(u.q,{state:o,size:"md"}),(0,a.jsx)("span",{className:"rounded-full px-4 py-1.5 text-xs font-semibold text-white",style:{background:"speaking"===o?"#4338CA":"listening"===o?"#1E3A8A":"rgba(15,43,60,0.55)"},children:n.formatMessage({id:{connecting:"home.cta.demo.webCall.connecting",listening:"home.cta.demo.webCall.state.listening",thinking:"home.cta.demo.webCall.state.thinking",speaking:"home.cta.demo.webCall.state.speaking",idle:"home.cta.demo.webCall.state.idle"}[o]||"home.cta.demo.webCall.state.idle"})}),(0,a.jsx)("p",{className:"text-[11px] font-medium text-[#0d1b2a]/60",children:n.formatMessage({id:"elba.call.aiDisclosure"})}),(0,a.jsx)("button",{type:"button",onClick:function(){null==d||d.disconnect(),null==t||t()},className:"rounded-lg border border-[#0d1b2a]/15 bg-white px-6 py-3 text-sm font-semibold text-[#374151] transition-colors duration-[160ms] hover:border-[#9ca3af] active:scale-[0.97]",children:n.formatMessage({id:"home.cta.demo.webCall.end"})}),(0,a.jsx)(c.R,{})]})}function f(e){var t=e.token,n=e.wsUrl,i=e.onEnd,r=(0,l.A)(),c=(0,o._)((0,s.useState)(null),2),u=c[0],f=c[1],b=(0,o._)((0,s.useState)(0),2),x=b[0],h=b[1],p=(0,s.useRef)(!1);return u?(0,a.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-4 py-8 text-center",children:[(0,a.jsx)("p",{className:"text-sm font-medium text-red-600",children:u}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center justify-center gap-3",children:[(0,a.jsx)("button",{type:"button",onClick:function(){p.current=!1,f(null),h(function(e){return e+1})},className:"rounded-lg bg-[#0f2b3c] px-6 py-3 text-sm font-semibold text-white transition-[background-color,transform] duration-[160ms] hover:bg-[#1a3d52] active:scale-[0.97]",children:r.formatMessage({id:"home.cta.demo.webCall.retry"})}),(0,a.jsx)("button",{type:"button",onClick:i,className:"rounded-lg border border-[#0d1b2a]/15 bg-white px-6 py-3 text-sm font-semibold text-[#374151] transition-colors hover:border-[#9ca3af]",children:r.formatMessage({id:"home.cta.demo.webCall.end"})})]})]}):(0,a.jsx)(d.L,{serverUrl:n,token:t,connect:!0,audio:{autoGainControl:!0,echoCancellation:!0,noiseSuppression:!0},video:!1,onDisconnected:function(){p.current||null==i||i()},onError:function(e){p.current=!0,f(r.formatMessage({id:"home.cta.demo.webCall.error"}))},children:(0,a.jsx)(m,{onEnd:i})},x)}}}]);

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.