PageSourceSearch

https://cerebralvalley.ai/_next/static/chunks/0u-sejgx-uvmr.js?dpl=dpl_CB5CUHAPwifMaCyXN3CdvntcKQqb

js cerebralvalley.ai collected 2026-09-24 09:31:56 UTC 30,612 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="1343f3b6-bced-8659-9029-bb23d83f0544")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,912598,e=>{"use strict";var t=e.i(271645),r=e.i(843476);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var i=t.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:s})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,r.jsx)(i.Provider,{value:e,children:s})),"useQueryClient",0,e=>{let r=t.useContext(i);if(e)return e;if(!r)throw Error("No QueryClient set, use QueryClientProvider to set one");return r}])},933818,e=>{"use strict";try{var t="u">typeof window?window:e.g;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}e.s(["queryOptions",0,function(e){return e}])},175555,915823,e=>{"use strict";try{var t="u">typeof window?window:e.g;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var r=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}};e.s(["Subscribable",0,r],915823);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var i=new class extends r{#e;#t;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){let e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#e?this.#e:globalThis.document?.visibilityState!=="hidden"}};e.s(["focusManager",0,i],175555)},619273,180166,e=>{"use strict";e.i(247167);try{var t="u">typeof window?window:e.g;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var r={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},s=new class{#s=r;#i=!1;setTimeoutProvider(e){this.#s=e}setTimeout(e,t){return this.#s.setTimeout(e,t)}clearTimeout(e){this.#s.clearTimeout(e)}setInterval(e,t){return this.#s.setInterval(e,t)}clearInterval(e){this.#s.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,s],180166);try{var i="u">typeof window?window:e.g;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var n="u"<typeof window||"Deno"in globalThis;function a(e,t){return(t?.queryKeyHashFn||o)(e)}function o(e){return JSON.stringify(e,(e,t)=>d(t)?Object.keys(t).sort().reduce((e,r)=>(e[r]=t[r],e),{}):t)}function u(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(r=>u(e[r],t[r]))}var l=Object.prototype.hasOwnProperty;function c(e,t,r=0){if(e===t)return e;if(r>500)return t;let s=h(e)&&h(t);if(!s&&!(d(e)&&d(t)))return t;let i=(s?e:Object.keys(e)).length,n=s?t:Object.keys(t),a=n.length,o=s?Array(a):{},u=0;for(let h=0;h<a;h++){let a=s?h:n[h],d=e[a],y=t[a];if(d===y){o[a]=d,(s?h<i:l.call(e,a))&&u++;continue}if(null===d||null===y||"object"!=typeof d||"object"!=typeof y){o[a]=y;continue}let p=c(d,y,r+1);o[a]=p,p===d&&u++}return i===a&&u===i?e:o}function h(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function d(e){if(!y(e))return!1;let t=e.constructor;if(void 0===t)return!0;let r=t.prototype;return!!y(r)&&!!r.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function y(e){return"[object Object]"===Object.prototype.toString.call(e)}var p=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,r){let s,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(s??=t(),i||(i=!0,s.aborted?r():s.addEventListener("abort",r,{once:!0})),s)}),e},"addToEnd",0,function(e,t,r=0){let s=[...e,t];return r&&s.length>r?s.slice(1):s},"addToStart",0,function(e,t,r=0){let s=[t,...e];return r&&s.length>r?s.slice(0,-1):s},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==p?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,o,"hashQueryKeyByOptions",0,a,"isServer",0,n,"isValidTimeout",0,function(e){return"number"==typeof e&&e>=0&&e!==1/0},"keepPreviousData",0,function(e){return e},"matchMutation",0,function(e,t){let{exact:r,status:s,predicate:i,mutationKey:n}=e;if(n){if(!t.options.mutationKey)return!1;if(r){if(o(t.options.mutationKey)!==o(n))return!1}else if(!u(t.options.mutationKey,n))return!1}return(!s||t.state.status===s)&&(!i||!!i(t))},"matchQuery",0,function(e,t){let{type:r="all",exact:s,fetchStatus:i,predicate:n,queryKey:o,stale:l}=e;if(o){if(s){if(t.queryHash!==a(o,t.options))return!1}else if(!u(t.queryKey,o))return!1}if("all"!==r){let e=t.isActive();if("active"===r&&!e||"inactive"===r&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(!i||i===t.state.fetchStatus)&&(!n||!!n(t))},"noop",0,function(){},"partialMatchKey",0,u,"replaceData",0,function(e,t,r){return"function"==typeof r.structuralSharing?r.structuralSharing(e,t):!1!==r.structuralSharing?c(e,t):t},"replaceEqualDeep",0,c,"resolveEnabled",0,function(e,t){return"function"==typeof e?e(t):e},"resolveStaleTime",0,function(e,t){return"function"==typeof e?e(t):e},"shallowEqualObjects",0,function(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e)if(e[r]!==t[r])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,p,"sleep",0,function(e){return new Promise(t=>{s.setTimeout(t,e)})},"timeUntilStale",0,function(e,t){return Math.max(e+(t||0)-Date.now(),0)}],619273)},273911,e=>{"use strict";let t;var r=e.i(619273);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var i=(t=()=>r.isServer,{isServer:()=>t(),setIsServer(e){t=e}});e.s(["environmentManager",0,i])},540143,e=>{"use strict";let t,r,s,i,n,a;var o=e.i(180166);try{var u="u">typeof window?window:e.g;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var l=o.systemSetTimeoutZero,c=(t=[],r=0,s=e=>{e()},i=e=>{e()},n=l,{batch:e=>{let a;r++;try{a=e()}finally{let e;--r||(e=t,t=[],e.length&&n(()=>{i(()=>
2{e.forEach(e=>{s(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{r?t.push(e):n(()=>{s(e)})},setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{n=e}});e.s(["notifyManager",0,c])},793803,e=>{"use strict";var t=e.i(619273);try{var r="u">typeof window?window:e.g;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}e.s(["pendingThenable",0,function(){let e,t,r=new Promise((r,s)=>{e=r,t=s});function s(e){Object.assign(r,e),delete r.resolve,delete r.reject}return r.status="pending",r.catch(()=>{}),r.resolve=t=>{s({status:"fulfilled",value:t}),e(t)},r.reject=e=>{s({status:"rejected",reason:e}),t(e)},r},"tryResolveSync",0,function(e){let r;if(e.then(e=>(r=e,e),t.noop)?.catch(t.noop),void 0!==r)return{data:r}}])},936553,814448,e=>{"use strict";var t=e.i(175555),r=e.i(915823);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var i=new class extends r.Subscribable{#n=!0;#t;#r;constructor(){super(),this.#r=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#n!==e&&(this.#n=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#n}};e.s(["onlineManager",0,i],814448);var n=e.i(793803),a=e.i(273911),o=e.i(619273);try{var u="u">typeof window?window:e.g;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}function l(e){return Math.min(1e3*2**e,3e4)}function c(e){return(e??"online")!=="online"||i.isOnline()}var h=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};e.s(["CancelledError",0,h,"canFetch",0,c,"createRetryer",0,function(e){let r,s=!1,u=0,d=(0,n.pendingThenable)(),y=()=>t.focusManager.isFocused()&&("always"===e.networkMode||i.isOnline())&&e.canRun(),p=()=>c(e.networkMode)&&e.canRun(),f=e=>{"pending"===d.status&&(r?.(),d.resolve(e))},v=e=>{"pending"===d.status&&(r?.(),d.reject(e))},b=()=>new Promise(t=>{r=e=>{("pending"!==d.status||y())&&t(e)},e.onPause?.()}).then(()=>{r=void 0,"pending"===d.status&&e.onContinue?.()}),w=()=>{let t;if("pending"!==d.status)return;let r=0===u?e.initialPromise:void 0;try{t=r??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(f).catch(t=>{if("pending"!==d.status)return;let r=e.retry??3*!a.environmentManager.isServer(),i=e.retryDelay??l,n="function"==typeof i?i(u,t):i,c=!0===r||"number"==typeof r&&u<r||"function"==typeof r&&r(u,t);s||!c?v(t):(u++,e.onFail?.(u,t),(0,o.sleep)(n).then(()=>y()?void 0:b()).then(()=>{s?v(t):w()}))})};return{promise:d,status:()=>d.status,cancel:t=>{if("pending"===d.status){let r=new h(t);v(r),e.onCancel?.(r)}},continue:()=>(r?.(),d),cancelRetry:()=>{s=!0},continueRetry:()=>{s=!1},canStart:p,start:()=>(p()?w():b().then(w),d)}}],936553)},88587,e=>{"use strict";var t=e.i(180166),r=e.i(273911),s=e.i(619273);try{var i="u">typeof window?window:e.g;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var n=class{#a;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,s.isValidTimeout)(this.gcTime)&&(this.#a=t.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(r.environmentManager.isServer()?1/0:3e5))}clearGcTimeout(){void 0!==this.#a&&(t.timeoutManager.clearTimeout(this.#a),this.#a=void 0)}};e.s(["Removable",0,n])},869230,286491,254440,469637,e=>{"use strict";var t=e.i(175555),r=e.i(273911),s=e.i(540143);e.i(247167);var i=e.i(619273),n=e.i(936553),a=e.i(88587);try{var o="u">typeof window?window:e.g;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[(new o.Error).stack]=Object.assign({},o._sentryModuleMetadata[(new o.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var u=class extends a.Removable{#o;#u;#l;#c;#h;#d;#y;constructor(e){super(),this.#y=!1,this.#d=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#c=e.client,this.#l=this.#c.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#o=h(this.options),this.state=e.state??this.#o,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#h?.promise}setOptions(e){if(this.options={...this.#d,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=h(this.options);void 0!==e.data&&(this.setState(c(e.data,e.dataUpdatedAt)),this.#o=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#l.remove(this)}setData(e,t){let r=(0,i.replaceData)(this.state.data,e,this.options);return this.#p({data:r,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),r}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#h?.promise;return this.#h?.cancel(e),t?t.then(i.noop).catch(i.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#o}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,i.resolveEnabled)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===i.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
2Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,i.resolveStaleTime)(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!(0,i.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#l.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#h&&(this.#y||this.#f()?this.#h.cancel({revert:!0}):this.#h.cancelRetry()),this.scheduleGc()),this.#l.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#f(){return"paused"===this.state.fetchStatus&&"pending"===this.state.status}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,t){let r;if("idle"!==this.state.fetchStatus&&this.#h?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#h)return this.#h.continueRetry(),this.#h.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let s=new AbortController,a=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#y=!0,s.signal)})},o=()=>{let e,r=(0,i.ensureQueryFn)(this.options,t),s=(a(e={client:this.#c,queryKey:this.queryKey,meta:this.meta}),e);return(this.#y=!1,this.options.persister)?this.options.persister(r,s,this):r(s)},u=(a(r={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#c,state:this.state,fetchFn:o}),r);this.options.behavior?.onFetch(u,this),this.#u=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==u.fetchOptions?.meta)&&this.#p({type:"fetch",meta:u.fetchOptions?.meta}),this.#h=(0,n.createRetryer)({initialPromise:t?.initialPromise,fn:u.fetchFn,onCancel:e=>{e instanceof n.CancelledError&&e.revert&&this.setState({...this.#u,fetchStatus:"idle"}),s.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode,canRun:()=>!0});try{let e=await this.#h.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#l.config.onSuccess?.(e,this),this.#l.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof n.CancelledError){if(e.silent)return this.#h.promise;else if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#p({type:"error",error:e}),this.#l.config.onError?.(e,this),this.#l.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#p(e){let t=t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...l(t.data,this.options),fetchMeta:e.meta??null};case"success":let r={...t,...c(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#u=e.manual?r:void 0,r;case"error":let s=e.error;return{...t,error:s,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),s.notifyManager.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#l.notify({query:this,type:"updated",action:e})})}};function l(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:(0,n.canFetch)(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function c(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function h(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,
2s=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,u,"fetchState",0,l],286491);var d=e.i(915823),y=e.i(793803),p=e.i(180166);try{var f="u">typeof window?window:e.g;f._sentryModuleMetadata=f._sentryModuleMetadata||{},f._sentryModuleMetadata[(new f.Error).stack]=Object.assign({},f._sentryModuleMetadata[(new f.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var v=class extends d.Subscribable{constructor(e,t){super(),this.options=t,this.#c=e,this.#v=null,this.#b=(0,y.pendingThenable)(),this.bindMethods(),this.setOptions(t)}#c;#w=void 0;#g=void 0;#M=void 0;#m;#S;#b;#v;#E;#O;#R;#_;#T;#Q;#C=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#w.addObserver(this),b(this.#w,this.options)?this.#k():this.updateResult(),this.#F())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return w(this.#w,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return w(this.#w,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#I(),this.#P(),this.#w.removeObserver(this)}setOptions(e){let t=this.options,r=this.#w;if(this.options=this.#c.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,i.resolveEnabled)(this.options.enabled,this.#w))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#j(),this.#w.setOptions(this.options),t._defaulted&&!(0,i.shallowEqualObjects)(this.options,t)&&this.#c.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#w,observer:this});let s=this.hasListeners();s&&g(this.#w,r,this.options,t)&&this.#k(),this.updateResult(),s&&(this.#w!==r||(0,i.resolveEnabled)(this.options.enabled,this.#w)!==(0,i.resolveEnabled)(t.enabled,this.#w)||(0,i.resolveStaleTime)(this.options.staleTime,this.#w)!==(0,i.resolveStaleTime)(t.staleTime,this.#w))&&this.#A();let n=this.#U();s&&(this.#w!==r||(0,i.resolveEnabled)(this.options.enabled,this.#w)!==(0,i.resolveEnabled)(t.enabled,this.#w)||n!==this.#Q)&&this.#D(n)}getOptimisticResult(e){var t,r;let s=this.#c.getQueryCache().build(this.#c,e),n=this.createResult(s,e);return t=this,r=n,(0,i.shallowEqualObjects)(t.getCurrentResult(),r)||(this.#M=n,this.#S=this.options,this.#m=this.#w.state),n}getCurrentResult(){return this.#M}trackResult(e,t){return new Proxy(e,{get:(e,r)=>(this.trackProp(r),t?.(r),"promise"===r&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#b.status||this.#b.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,r))})}trackProp(e){this.#C.add(e)}getCurrentQuery(){return this.#w}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#c.defaultQueryOptions(e),r=this.#c.getQueryCache().build(this.#c,t);return r.fetch().then(()=>this.createResult(r,t))}fetch(e){return this.#k({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#M))}#k(e){this.#j();let t=this.#w.fetch(this.options,e);return e?.throwOnError||(t=t.catch(i.noop)),t}#A(){this.#I();let e=(0,i.resolveStaleTime)(this.options.staleTime,this.#w);if(r.environmentManager.isServer()||this.#M.isStale||!(0,i.isValidTimeout)(e))return;let t=(0,i.timeUntilStale)(this.#M.dataUpdatedAt,e);this.#_=p.timeoutManager.setTimeout(()=>{this.#M.isStale||this.updateResult()},t+1)}#U(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#w):this.options.refetchInterval)??!1}#D(e){this.#P(),this.#Q=e,!r.environmentManager.isServer()&&!1!==(0,i.resolveEnabled)(this.options.enabled,this.#w)&&(0,i.isValidTimeout)(this.#Q)&&0!==this.#Q&&(this.#T=p.timeoutManager.setInterval(()=>
2{(this.options.refetchIntervalInBackground||t.focusManager.isFocused())&&this.#k()},this.#Q))}#F(){this.#A(),this.#D(this.#U())}#I(){void 0!==this.#_&&(p.timeoutManager.clearTimeout(this.#_),this.#_=void 0)}#P(){void 0!==this.#T&&(p.timeoutManager.clearInterval(this.#T),this.#T=void 0)}createResult(e,t){let r,s=this.#w,n=this.options,a=this.#M,o=this.#m,u=this.#S,c=e!==s?e.state:this.#g,{state:h}=e,d={...h},p=!1;if(t._optimisticResults){let r=this.hasListeners(),i=!r&&b(e,t),a=r&&g(e,s,t,n);(i||a)&&(d={...d,...l(h.data,e.options)}),"isRestoring"===t._optimisticResults&&(d.fetchStatus="idle")}let{error:f,errorUpdatedAt:v,status:w}=d;r=d.data;let m=!1;if(void 0!==t.placeholderData&&void 0===r&&"pending"===w){let e;a?.isPlaceholderData&&t.placeholderData===u?.placeholderData?(e=a.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#R?.state.data,this.#R):t.placeholderData,void 0!==e&&(w="success",r=(0,i.replaceData)(a?.data,e,t),p=!0)}if(t.select&&void 0!==r&&!m)if(a&&r===o?.data&&t.select===this.#E)r=this.#O;else try{this.#E=t.select,r=t.select(r),r=(0,i.replaceData)(a?.data,r,t),this.#O=r,this.#v=null}catch(e){this.#v=e}this.#v&&(f=this.#v,r=this.#O,v=Date.now(),w="error");let S="fetching"===d.fetchStatus,E="pending"===w,O="error"===w,R=E&&S,_=void 0!==r,T={status:w,fetchStatus:d.fetchStatus,isPending:E,isSuccess:"success"===w,isError:O,isInitialLoading:R,isLoading:R,data:r,dataUpdatedAt:d.dataUpdatedAt,error:f,errorUpdatedAt:v,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:d.dataUpdateCount>c.dataUpdateCount||d.errorUpdateCount>c.errorUpdateCount,isFetching:S,isRefetching:S&&!E,isLoadingError:O&&!_,isPaused:"paused"===d.fetchStatus,isPlaceholderData:p,isRefetchError:O&&_,isStale:M(e,t),refetch:this.refetch,promise:this.#b,isEnabled:!1!==(0,i.resolveEnabled)(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=void 0!==T.data,r="error"===T.status&&!t,i=e=>{r?e.reject(T.error):t&&e.resolve(T.data)},n=()=>{i(this.#b=T.promise=(0,y.pendingThenable)())},a=this.#b;switch(a.status){case"pending":e.queryHash===s.queryHash&&i(a);break;case"fulfilled":(r||T.data!==a.value)&&n();break;case"rejected":r&&T.error===a.reason||n()}}return T}updateResult(){let e=this.#M,t=this.createResult(this.#w,this.options);if(this.#m=this.#w.state,this.#S=this.options,void 0!==this.#m.data&&(this.#R=this.#w),(0,i.shallowEqualObjects)(t,e))return;this.#M=t;let r=()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,r="function"==typeof t?t():t;if("all"===r||!r&&!this.#C.size)return!0;let s=new Set(r??this.#C);return this.options.throwOnError&&s.add("error"),Object.keys(this.#M).some(t=>this.#M[t]!==e[t]&&s.has(t))};this.#q({listeners:r()})}#j(){let e=this.#c.getQueryCache().build(this.#c,this.options);if(e===this.#w)return;let t=this.#w;this.#w=e,this.#g=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#F()}#q(e){s.notifyManager.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#M)}),this.#c.getQueryCache().notify({query:this.#w,type:"observerResultsUpdated"})})}};function b(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==t.retryOnMount)||void 0!==e.state.data&&w(e,t,t.refetchOnMount)}function w(e,t,r){if(!1!==(0,i.resolveEnabled)(t.enabled,e)&&"static"!==(0,i.resolveStaleTime)(t.staleTime,e)){let s="function"==typeof r?r(e):r;return"always"===s||!1!==s&&M(e,t)}return!1}function g(e,t,r,s){return(e!==t||!1===(0,i.resolveEnabled)(s.enabled,e))&&(!r.suspense||"error"!==e.state.status)&&M(e,r)}function M(e,t){return!1!==(0,i.resolveEnabled)(t.enabled,e)&&e.isStaleByTime((0,i.resolveStaleTime)(t.staleTime,e))}e.s(["QueryObserver",0,v],869230);var m=e.i(271645),S=e.i(912598),E=e.i(673664);try{var O="u">typeof window?window:e.g;O._sentryModuleMetadata=O._sentryModuleMetadata||{},O._sentryModuleMetadata[(new O.Error).stack]=Object.assign({},O._sentryModuleMetadata[(new O.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}try{var R="u">typeof window?window:e.g;R._sentryModuleMetadata=R._sentryModuleMetadata||{},R._sentryModuleMetadata[(new R.Error).stack]=Object.assign({},R._sentryModuleMetadata[(new R.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var _=m.createContext(!1);_.Provider;try{var T="u">typeof window?window:e.g;T._sentryModuleMetadata=T._sentryModuleMetadata||{},T._sentryModuleMetadata[(new T.Error).stack]=Object.assign({},T._sentryModuleMetadata[(new T.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}var Q=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>t(r(...e)):t(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},C=(e,t)=>e.isLoading&&e.isFetching&&!t,k=(e,t)=>e?.suspense&&t.isPending,F=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});e.s(["defaultThrowOnError",0,(e,t)=>void 0===t.state.data,"ensureSuspenseTimers",0,Q,"fetchOptimistic",0,F,"shouldSuspend",0,k,"willFetch",0,C],254440);try{var I="u">typeof window?window:e.g;I._sentryModuleMetadata=I._sentryModuleMetadata||{},I._sentryModuleMetadata[(new I.Error).stack]=Object.assign({},I._sentryModuleMetadata[(new I.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}e.s(["useBaseQuery",0,function(e,t,n){let a,o=m.useContext(_),u=(0,E.useQueryErrorResetBoundary)(),l=(0,S.useQueryClient)(n),c=l.defaultQueryOptions(e);l.getDefaultOptions().queries?._experimental_beforeQuery?.(c);let h=l.getQueryCache().get(c.queryHash);c._optimisticResults=o?"isRestoring":"optimistic",Q(c),a=h?.state.error&&"function"==typeof c.throwOnError?(0,i.shouldThrowError)(c.throwOnError,[h.state.error,h]):c.throwOnError,(c.suspense||c.experimental_prefetchInRender||a)&&!u.isReset()&&(c.retryOnMount=!1),m.useEffect(()=>{u.clearReset()},[u]);let d=!l.getQueryCache().get(c.queryHash),[y]=m.useState(()=>new t(l,c)),p=y.getOptimisticResult(c),f=!o&&!1!==e.subscribed;if(m.useSyncExternalStore(m.useCallback(e=>{let t=f?y.subscribe(s.notifyManager.batchCalls(e)):i.noop;return y.updateResult(),t},[y,f]),()=>y.getCurrentResult(),()=>y.getCurrentResult()),m.useEffect(()=>{y.setOptions(c)},[c,y]),k(c,p))throw F(c,y,u);if((({result:e,errorResetBoundary:t,throwOnError:r,query:s,suspense:n})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(n&&void 0===e.data||(0,i.shouldThrowError)(r,[e.error,s])))({result:p,errorResetBoundary:u,throwOnError:c.throwOnError,query:h,suspense:c.suspense}))throw p.error;if(l.getDefaultOptions().queries?._experimental_afterQuery?.(c,p),c.experimental_prefetchInRender&&!r.environmentManager.isServer()&&C(p,o)){let e=d?F(c,y,u):h?.promise;e?.catch(i.noop).finally(()=>{y.updateResult()})}return c.notifyOnChangeProps?p:y.trackResult(p)}],469637)},266027,e=>{"use strict";var t=e.i(869230),r=e.i(469637);try{var s="u">typeof window?window:e.g;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[(new s.Error).stack]=Object.assign({},s._sentryModuleMetadata[(new s.Error).stack],{"_sentryBundlerPluginAppKey:cerebralvalley-web-client":!0})}catch(e){}e.s(["useQuery",0,function(e,s){return(0,r.useBaseQuery)(e,t.QueryObserver,s)}])}]);
3
4//# debugId=1343f3b6-bced-8659-9029-bb23d83f0544

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.