PageSourceSearch

https://asknow.ai/_next/static/chunks/pages/experimental/wss-c811a6ec8adc76ef.js

js asknow.ai collected 2026-10-04 11:06:27 UTC 2,725 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7758,5308],{7714:function(e,n,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/experimental/wss",function(){return l(279)}])},2964:function(e,n,l){"use strict";l.d(n,{Z:function(){return p}});var a=l(5893),s=l(7139),t=l(946),r=l(6492),u=l(8945),o=l(3299),c=l(1163),i=l(6893),d=l(7106);function p(e){var n;let{children:l}=e,{data:p}=(0,o.useSession)(),f=(0,c.useRouter)(),{data:x,isLoading:h}=(0,r.a)({queryKey:["user"],queryFn:()=>u.Z.post("/api/dashboard/get-user",{email:p.user.email}).then(e=>{let n=e.data.result;return n}).catch(e=>(console.log(e),"null")),enabled:!!(null==p?void 0:null===(n=p.user)||void 0===n?void 0:n.email),refetchOnMount:!1,refetchOnWindowFocus:!1});return h||(null==x?void 0:x.isAdmin)||f.push("/"),(0,a.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,a.jsx)(t.Z,{}),(0,a.jsx)("main",{className:"mx-auto flex w-full max-w-7xl flex-grow flex-col px-4 py-4 sm:py-6 sm:px-6",children:h?(0,a.jsx)(i.dAq,{className:"m-auto h-8 w-8 animate-spin"}):(null==x?void 0:x.isAdmin)?l:(0,a.jsx)(d.hlP,{className:"m-auto h-8 w-8"})}),(0,a.jsx)(s.Z,{})]})}},279:function(e,n,l){"use strict";l.r(n),l.d(n,{default:function(){return c}});var a=l(5893),s=l(9857),t=l(2964),r=l(6492),u=l(8945),o=l(7536);function c(){var e;let{register:n,watch:l,getValues:c,setValue:i}=(0,o.cI)({defaultValues:{gainValue:1,echoCancellation:!0,wss:""}});l();let{data:d}=(0,r.a)({queryKey:["user"],queryFn:()=>u.Z.post("/api/dashboard/get-user").then(e=>{let n=e.data.result;return i("wss","".concat("wss://backend-asknow-4zivs77l4a-wl.a.run.app","/conversation?slug=history-professor&preview=true&env=development&uk=").concat(null==n?void 0:n.API_KEY_1)),n}),refetchOnMount:!0,refetchOnWindowFocus:!1});return(0,a.jsx)(t.Z,{children:(0,a.jsxs)("section",{className:"flex w-full flex-col items-center justify-center gap-4",children:[(0,a.jsxs)("div",{className:"mx-auto flex w-full max-w-xl gap-2",children:[(0,a.jsx)("input",{type:"text",className:"flex w-full rounded border border-blue-700 bg-transparent p-2",...n("wss"),placeholder:"WSS URL"}),(0,a.jsx)("input",{type:"number",className:"flex w-full max-w-[7rem] rounded border border-blue-700 bg-transparent p-2",...n("gainValue"),placeholder:"GAIN"}),(0,a.jsx)("input",{type:"checkbox",className:"flex w-20 rounded border border-blue-700 bg-transparent",...n("echoCancellation"),placeholder:"EC",title:"Echo Cancellation"})]}),(0,a.jsx)(s.default,{slug:"apple-product",backendUrl:c("wss"),gainValue:+c("gainValue"),echoCancellation:c("echoCancellation")})]})})}}},function(e){e.O(0,[4980,2013,8907,6556,7627,5533,4362,7536,1425,981,5742,9857,9774,2888,179],function(){return e(e.s=7714)}),_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.