1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,534153,e=>{"use strict";let t=(0,e.i(746971).default)("audio-lines",[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]);e.s(["AudioLines",()=>t],534153)},235173,254664,e=>{"use strict";var t=e.i(807324);e.s(["ERROR_REVALIDATE_EVENT",()=>3,"FOCUS_EVENT",()=>0,"MUTATE_EVENT",()=>2,"RECONNECT_EVENT",()=>1],254664);var r=Object.prototype.hasOwnProperty;let n=new WeakMap,i=()=>{},a=i(),u=Object,o=e=>e===a,s=e=>"function"==typeof e,l=(e,t)=>({...e,...t}),c=e=>s(e.then),d={},f={},g="undefined",v=typeof window!=g,h=typeof document!=g,y=v&&"Deno"in window,p=(e,t)=>{let r=n.get(e);return[()=>!o(t)&&e.get(t)||d,n=>{if(!o(t)){let i=e.get(t);t in f||(f[t]=i),r[5](t,l(i,n),i||d)}},r[6],()=>!o(t)&&t in f?f[t]:!o(t)&&e.get(t)||d]},E=!0,[b,w]=v&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],m={initFocus:e=>(h&&document.addEventListener("visibilitychange",e),b("focus",e),()=>{h&&document.removeEventListener("visibilitychange",e),w("focus",e)}),initReconnect:e=>{let t=()=>{E=!0,e()},r=()=>{E=!1};return b("online",t),b("offline",r),()=>{w("online",t),w("offline",r)}}},S=!t.default.useId,R=!v||y,O=e=>v&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),T=R?t.useEffect:t.useLayoutEffect,_="undefined"!=typeof navigator&&navigator.connection,k=!R&&_&&(["slow-2g","2g"].includes(_.effectiveType)||_.saveData),V=new WeakMap,C=(e,t)=>e===`[object ${t}]`,L=0,A=e=>{let t,r,n=typeof e,i=u.prototype.toString.call(e),a=C(i,"Date"),s=C(i,"RegExp"),l=C(i,"Object");if(u(e)!==e||a||s)t=a?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=V.get(e))return t;if(t=++L+"~",V.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=A(e[r])+",";V.set(e,t)}if(l){t="#";let n=u.keys(e).sort();for(;!o(r=n.pop());)o(e[r])||(t+=r+":"+A(e[r])+",");V.set(e,t)}}return t},I=e=>{if(s(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?A(e):"",t]},D=0,M=()=>++D;async function N(...e){let[t,r,i,u]=e,d=l({populateCache:!0,throwOnError:!0},"boolean"==typeof u?{revalidate:u}:u||{}),f=d.populateCache,g=d.rollbackOnError,v=d.optimisticData,h=d.throwOnError;if(s(r)){let e=[];for(let n of t.keys())!/^\$(inf|sub)\$/.test(n)&&r(t.get(n)._k)&&e.push(n);return Promise.all(e.map(y))}return y(r);async function y(r){let u,[l]=I(r);if(!l)return;let[y,E]=p(t,l),[b,w,m,S]=n.get(t),R=()=>{let e=b[l];return(s(d.revalidate)?d.revalidate(y().data,r):!1!==d.revalidate)&&(delete m[l],delete S[l],e&&e[0])?e[0](2).then(()=>y().data):y().data};if(e.length<3)return R();let O=i,T=!1,_=M();w[l]=[_,0];let k=!o(v),V=y(),C=V.data,L=V._c,A=o(L)?C:L;if(k&&E({data:v=s(v)?v(A,C):v,_c:A}),s(O))try{O=O(A)}catch(e){u=e,T=!0}if(O&&c(O)){let e;if(O=await O.catch(e=>{u=e,T=!0}),_!==w[l][0]){if(T)throw u;return O}T&&k&&(e=u,"function"==typeof g?g(e):!1!==g)&&(f=!0,E({data:A,_c:a}))}if(f&&!T&&(s(f)?E({data:f(O,A),error:a,_c:a}):E({data:O,error:a,_c:a})),w[l][1]=M(),Promise.resolve(R()).then(()=>{E({_c:a})}),T){if(h)throw u;return}return O}}let j=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},P=(e,t)=>{if(!n.has(e)){let r=l(m,t),u=Object.create(null),o=N.bind(a,e),s=i,c=Object.create(null),d=(e,t)=>{let r=c[e]||[];return c[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},f=(t,r,n)=>{e.set(t,r);let i=c[t];if(i)for(let e of i)e(r,n)},g=()=>{if(!n.has(e)&&(n.set(e,[u,Object.create(null),Object.create(null),Object.create(null),o,f,d]),!R)){let t=r.initFocus(setTimeout.bind(a,j.bind(a,u,0))),i=r.initReconnect(setTimeout.bind(a,j.bind(a,u,1)));s=()=>{t&&t(),i&&i(),n.delete(e)}}};return g(),[e,o,g,s]}return[e,n.get(e)[4]]},[U,F]=P(new Map),x=l({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,r,n,i)=>{let a=r.errorRetryCount,u=i.retryCount,s=~~((Math.random()+.5)*(1<<(u<8?u:8)))*r.errorRetryInterval;(o(a)||!(u>a))&&setTimeout(n,s,i)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:k?5e3:3e3,compare:function e(t,n){var i,a;if(t===n)return!0;
1if(t&&n&&(i=t.constructor)===n.constructor){if(i===Date)return t.getTime()===n.getTime();if(i===RegExp)return t.toString()===n.toString();if(i===Array){if((a=t.length)===n.length)for(;a--&&e(t[a],n[a]););return -1===a}if(!i||"object"==typeof t){for(i in a=0,t)if(r.call(t,i)&&++a&&!r.call(n,i)||!(i in n)||!e(t[i],n[i]))return!1;return Object.keys(n).length===a}}return t!=t&&n!=n},isPaused:()=>!1,cache:U,mutate:F,fallback:{}},{isOnline:()=>E,isVisible:()=>{let e=h&&document.visibilityState;return o(e)||"hidden"!==e}}),W=(e,t)=>{let r=l(e,t);if(t){let{use:n,fallback:i}=e,{use:a,fallback:u}=t;n&&a&&(r.use=n.concat(a)),i&&u&&(r.fallback=l(i,u))}return r},B=(0,t.createContext)({}),K=e=>{let{value:r}=e,n=(0,t.useContext)(B),i=s(r),u=(0,t.useMemo)(()=>i?r(n):r,[i,n,r]),o=(0,t.useMemo)(()=>i?u:W(n,u),[i,n,u]),c=u&&u.provider,d=(0,t.useRef)(a);c&&!d.current&&(d.current=P(c(o.cache||U),u));let f=d.current;return f&&(o.cache=f[0],o.mutate=f[1]),T(()=>{if(f)return f[2]&&f[2](),f[3]},[]),(0,t.createElement)(B.Provider,l(e,{value:o}))};e.s(["A",()=>i,"B",()=>c,"I",()=>R,"O",()=>u,"S",()=>B,"U",()=>a,"a",()=>s,"b",()=>n,"c",()=>U,"d",()=>x,"e",()=>o,"f",()=>W,"g",()=>K,"i",()=>v,"j",()=>F,"m",()=>l,"n",()=>N,"o",()=>M,"r",()=>S,"s",()=>I,"t",()=>O,"u",()=>T,"z",()=>p],235173)},921885,e=>{"use strict";let t={discovery:{getPosts:"get-all-posts[discovery]",getSingle:"get-single-post[discovery]"},chatHistory:{gethistory:"get-history"},userDataClient:{chatPage:"get-user-data"},energy:{balance:"get-energy-balance"},moderation:{status:"get-moderation-status"},symphony:{generations:"get-generations",subtitles:"get-symphony-subtitles"}};function r(e){return[t.symphony.generations,e]}function n(e){return Array.isArray(e)&&e[0]===t.symphony.generations}function i(e){return[t.symphony.subtitles,e]}e.s(["SWR_KEYS",0,t,"SWR_STABLE",0,{revalidateOnFocus:!1,revalidateIfStale:!1,revalidateOnReconnect:!1},"generationsKey",()=>r,"isGenerationsKey",()=>n,"subtitlesKey",()=>i])},578455,e=>{"use strict";var t=e.i(165592);let r=(0,t.createServerReference)("0087b70424a326d7fa05877de6a4689550f3e51f51",t.callServer,void 0,t.findSourceMapURL,"getChatBootstrap"),n=null;function i(){n=null}function a(e,t){if(t?.fresh&&i(),n&&n.userId===e)return n.promise;let a=r().finally(()=>{n?.promise===a&&(n=null)});return n={userId:e,promise:a},a}e.s(["fetchChatBootstrap",()=>a,"invalidateChatBootstrap",()=>i],578455)},296991,587165,e=>{"use strict";var t=e.i(235173);e.i(254664);let r="$inf$";e.s(["INFINITE_PREFIX",()=>r],587165);var n=e.i(807324);let i=t.i&&window.__SWR_DEVTOOLS_USE__,a=i?window.__SWR_DEVTOOLS_USE__:[],u=e=>(0,t.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],o=()=>{let e=(0,n.useContext)(t.S);return(0,n.useMemo)(()=>(0,t.m)(t.d,e),[e])},s=a.concat(e=>(n,i,a)=>{let u=i&&((...e)=>{let[a]=(0,t.s)(n),[,,,u]=t.b.get(t.c);if(a.startsWith(r))return i(...e);let o=u[a];return(0,t.e)(o)?i(...e):(delete u[a],o)});return e(n,u,a)}),l=e=>function(...r){let n=o(),[i,a,l]=u(r),c=(0,t.f)(n,l),d=e,{use:f}=c,g=(f||[]).concat(s);for(let e=g.length;e--;)d=g[e](d);return d(i,a||c.fetcher||null,c)},c=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},d=(e,t)=>(...r)=>{let[n,i,a]=u(r),o=(a.use||[]).concat(t);return e(n,i,{...a,use:o})};i&&(window.__SWR_DEVTOOLS_REACT__=n.default),e.s(["subscribeCallback",()=>c,"useSWRConfig",()=>o,"withArgs",()=>l,"withMiddleware",()=>d],296991)},318471,(e,t,r)=>{"use strict";var n=e.r(807324),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,u=n.useEffect,o=n.useLayoutEffect,s=n.useDebugValue;function l(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return o(function(){i.value=r,i.getSnapshot=t,l(i)&&c({inst:i})},[e,r,t]),u(function(){return l(i)&&c({inst:i}),e(function(){l(i)&&c({inst:i})})},[e]),s(r),r};r.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},162408,(e,t,r)=>{"use strict";
1t.exports=e.r(318471)},603636,505017,575958,730229,679133,603965,359369,803551,e=>{"use strict";var t=e.i(807324),r=e.i(162408),n=e.i(235173);e.s(["UNDEFINED",()=>n.U],505017);var n=n,i=n,a=n,u=n,o=e.i(296991),s=n;e.s(["SWRGlobalState",()=>s.b],575958);var s=n,l=n;e.s(["serialize",()=>l.s],730229);var l=n,c=n;e.s(["createCacheHelper",()=>c.z],679133);var c=n,d=n;e.s(["isUndefined",()=>d.e],603965);var d=n,f=n,g=n,v=n,h=n,y=n;e.s(["isFunction",()=>y.a],359369);var y=n,p=e.i(254664),p=p,E=n,b=n;e.s(["useIsomorphicLayoutEffect",()=>b.u],803551);var b=n,w=n,m=n,S=n;let R=()=>{},O=R(),T=(new WeakMap,t.default.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}})),_={dedupe:!0},k=Promise.resolve(n.U),V=()=>v.A;i.O.defineProperty(a.g,"defaultValue",{value:u.d});let C=(0,o.withArgs)((e,i,a)=>{let{cache:u,compare:v,suspense:R,fallbackData:O,revalidateOnMount:C,revalidateIfStale:L,refreshInterval:A,refreshWhenHidden:I,refreshWhenOffline:D,keepPreviousData:M,strictServerPrefetchWarning:N}=a,[j,P,U,F]=s.b.get(u),[x,W]=(0,l.s)(e),B=(0,t.useRef)(!1),K=(0,t.useRef)(!1),$=(0,t.useRef)(x),z=(0,t.useRef)(i),q=(0,t.useRef)(a),G=()=>q.current.isVisible()&&q.current.isOnline(),[H,J,Y,X]=(0,c.z)(u,x),Q=(0,t.useRef)({}).current,Z=(0,d.e)(O)?(0,d.e)(a.fallback)?n.U:a.fallback[x]:O,ee=(e,t)=>{for(let r in Q)if("data"===r){if(!v(e[r],t[r])&&(!(0,d.e)(e[r])||!v(el,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},et=!B.current,er=(0,t.useMemo)(()=>{let e=H(),t=X(),r=e=>{let t=(0,S.m)(e);return(delete t._k,(()=>{if(!x||!i||q.current.isPaused())return!1;if(et&&!(0,d.e)(C))return C;let e=(0,d.e)(Z)?t.data:Z;return(0,d.e)(e)||L})())?{isValidating:!0,isLoading:!0,...t}:t},n=r(e),a=e===t?n:r(t),u=n;return[()=>{let e=r(H());return ee(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>a]},[u,x]),en=(0,r.useSyncExternalStore)((0,t.useCallback)(e=>Y(x,(t,r)=>{ee(r,t)||e()}),[u,x]),er[0],er[1]),ei=j[x]&&j[x].length>0,ea=en.data,eu=(0,d.e)(ea)?Z&&(0,f.B)(Z)?T(Z):Z:ea,eo=en.error,es=(0,t.useRef)(eu),el=M?(0,d.e)(ea)?(0,d.e)(es.current)?eu:es.current:ea:eu,ec=x&&(0,d.e)(eu),ed=(0,t.useRef)(null);g.I||(0,r.useSyncExternalStore)(V,()=>(ed.current=!1,ed),()=>(ed.current=!0,ed));let ef=ed.current;N&&ef&&!R&&ec&&console.warn(`Missing pre-initiated data for serialized key "${x}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let eg=!(!x||!i||q.current.isPaused())&&(!ei||!!(0,d.e)(eo))&&(et&&!(0,d.e)(C)?C:R?!(0,d.e)(eu)&&L:(0,d.e)(eu)||L),ev=et&&eg,eh=(0,d.e)(en.isValidating)?ev:en.isValidating,ey=(0,d.e)(en.isLoading)?ev:en.isLoading,ep=(0,t.useCallback)(async e=>{let t,r,i=z.current;if(!x||!i||K.current||q.current.isPaused())return!1;let u=!0,o=e||{},s=!U[x]||!o.dedupe,l=()=>m.r?!K.current&&x===$.current&&B.current:x===$.current,c={isValidating:!1,isLoading:!1},f=()=>{J(c)},g=()=>{let e=U[x];e&&e[1]===r&&delete U[x]},E={isValidating:!0};(0,d.e)(H().data)&&(E.isLoading=!0);try{if(s&&(J(E),a.loadingTimeout&&(0,d.e)(H().data)&&setTimeout(()=>{u&&l()&&q.current.onLoadingSlow(x,a)},a.loadingTimeout),U[x]=[i(W),(0,h.o)()]),[t,r]=U[x],t=await t,s&&setTimeout(g,a.dedupingInterval),!U[x]||U[x][1]!==r)return s&&l()&&q.current.onDiscarded(x),!1;c.error=n.U;let e=P[x];if(!(0,d.e)(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return f(),s&&l()&&q.current.onDiscarded(x),!1;let o=H().data;c.data=v(o,t)?o:t,s&&l()&&q.current.onSuccess(t,x,a)}catch(r){g();let e=q.current,{shouldRetryOnError:t}=e;!e.isPaused()&&(c.error=r,s&&l()&&(e.onError(r,x,e),(!0===t||(0,y.a)(t)&&t(r))&&(!q.current.revalidateOnFocus||!q.current.revalidateOnReconnect||G())&&e.onErrorRetry(r,x,e,e=>{let t=j[x];t&&t[0]&&t[0](p.ERROR_REVALIDATE_EVENT,e)},{retryCount:(o.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[x,u]),eE=(0,t.useCallback)((...e)=>(0,E.n)(u,$.current,...e),[]);if((0,b.u)(()=>{z.current=i,q.current=a,(0,d.e)(ea)||(es.current=ea)}),(0,b.u)(()=>
1{if(!x)return;let e=ep.bind(n.U,_),t=0;q.current.revalidateOnFocus&&(t=Date.now()+q.current.focusThrottleInterval);let r=(0,o.subscribeCallback)(x,j,(r,n={})=>{if(r==p.FOCUS_EVENT){let r=Date.now();q.current.revalidateOnFocus&&r>t&&G()&&(t=r+q.current.focusThrottleInterval,e())}else if(r==p.RECONNECT_EVENT)q.current.revalidateOnReconnect&&G()&&e();else if(r==p.MUTATE_EVENT)return ep();else if(r==p.ERROR_REVALIDATE_EVENT)return ep(n)});return K.current=!1,$.current=x,B.current=!0,J({_k:W}),eg&&!U[x]&&((0,d.e)(eu)||g.I?e():(0,w.t)(e)),()=>{K.current=!0,r()}},[x]),(0,b.u)(()=>{let e;function t(){let t=(0,y.a)(A)?A(H().data):A;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!H().error&&(I||q.current.isVisible())&&(D||q.current.isOnline())?ep(_).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[A,I,D,x]),(0,t.useDebugValue)(el),R){if(!m.r&&g.I&&ec)throw Error("Fallback data is required when using Suspense in SSR.");ec&&(z.current=i,q.current=a,K.current=!1);let e=F[x];if(T(!(0,d.e)(e)&&ec?eE(e):k),!(0,d.e)(eo)&&ec)throw eo;let t=ec?ep(_):k;!(0,d.e)(el)&&ec&&(t.status="fulfilled",t.value=!0),T(t)}return{mutate:eE,get data(){return Q.data=!0,el},get error(){return Q.error=!0,eo},get isValidating(){return Q.isValidating=!0,eh},get isLoading(){return Q.isLoading=!0,ey}}});e.s(["default",()=>C],603636)}]);
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.