PageSourceSearch

https://sodda.ai/_next/static/chunks/3zhcljc7bnl6h.js

js sodda.ai collected 2026-10-05 13:32:27 UTC 29,461 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,852363,e=>{"use strict";var t=e.i(132186);e.s(["isServer",0,()=>t.isServer])},362239,e=>{"use strict";var t=e.i(754891);let s=new class extends t.Subscribable{#e;#t;#s;constructor(){super(),this.#s=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.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#s=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,s])},833461,e=>{"use strict";let t,s,r,i,n,a,o=e.i(505169).systemSetTimeoutZero,u=(t=[],s=0,r=e=>{e()},i=e=>{e()},n=o,{batch:e=>{let a;s++;try{a=e()}finally{let e;--s||(e=t,t=[],e.length&&n(()=>{i(()=>{e.forEach(e=>{r(e)})})}))}return a},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a=e=>{s?t.push(e):n(()=>{r(e)})},setNotifyFunction:e=>{r=e},setBatchNotifyFunction:e=>{i=e},setScheduler:e=>{n=e}});e.s(["notifyManager",0,u])},993046,e=>{"use strict";var t=e.i(754891);let s=new class extends t.Subscribable{#r=!0;#t;#s;constructor(){super(),this.#s=e=>{if("u">typeof window&&window.addEventListener){let t=()=>e(!0),s=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",s)}}}}onSubscribe(){this.#t||this.setEventListener(this.#s)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#s=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#r!==e&&(this.#r=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#r}};e.s(["onlineManager",0,s])},358171,649509,786884,640138,e=>{"use strict";var t=e.i(132186),s=e.i(833461),r=e.i(852363),i=e.i(362239),n=e.i(993046);function a(e){return Math.min(1e3*2**e,3e4)}function o(e){return(e??"online")!=="online"||n.onlineManager.isOnline()}var u=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function l(e){let s,l,c,h=!1,d=0,p="pending",f=new Promise((e,t)=>{l=e,c=t});f.catch(t.noop);let y=()=>i.focusManager.isFocused()&&("always"===e.networkMode||n.onlineManager.isOnline())&&e.canRun(),m=()=>o(e.networkMode)&&e.canRun(),v=e=>{"pending"===p&&(s?.(),p="resolved",l(e))},g=e=>{"pending"===p&&(s?.(),p="rejected",c(e))},b=()=>new Promise(t=>{s=e=>{("pending"!==p||y())&&t(e)},e.onPause?.()}).then(()=>{s=void 0,"pending"===p&&e.onContinue?.()}),S=()=>{let s;if("pending"!==p)return;let i=0===d?e.initialPromise:void 0;try{s=i??e.fn()}catch(e){s=Promise.reject(e)}Promise.resolve(s).then(v).catch(s=>{if("pending"!==p)return;let i=e.retry??3*!(0,r.isServer)(),n=e.retryDelay??a,o="function"==typeof n?n(d,s):n,u=!0===i||"number"==typeof i&&d<i||"function"==typeof i&&i(d,s);h||!u?g(s):(d++,e.onFail?.(d,s),(0,t.sleep)(o).then(()=>y()?void 0:b()).then(()=>{h?g(s):S()}))})};return{promise:f,status:()=>p,cancel:t=>{if("pending"===p){let s=new u(t);g(s),e.onCancel?.(s)}},continue:()=>(s?.(),f),cancelRetry:()=>{h=!0},continueRetry:()=>{h=!1},canStart:m,start:()=>(m()?S():b().then(S),f)}}e.s(["CancelledError",0,u,"canFetch",0,o,"createRetryer",0,l],649509);var c=e.i(505169),h=class{#i;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,t.isValidTimeout)(this.gcTime)&&(this.#i=c.timeoutManager.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??((0,r.isServer)()?1/0:3e5))}clearGcTimeout(){void 0!==this.#i&&(c.timeoutManager.clearTimeout(this.#i),this.#i=void 0)}};function d(e){return{onFetch:(s,r)=>{let i=s.options,n=s.fetchOptions?.meta?.fetchMore?.direction,a=s.state.data?.pages||[],o=s.state.data?.pageParams||[],u={pages:[],pageParams:[]},l=0,c=async()=>{let r=!1,c=(0,t.ensureQueryFn)(s.options,s.fetchOptions),h=async(e,i,n)=>{let a;if(r)return Promise.reject(s.signal.reason);if(null==i&&e.pages.length)return Promise.resolve(e);let o=(a={client:s.client,queryKey:s.queryKey,pageParam:i,direction:n?"backward":"forward",meta:s.options.meta},(0,t.addConsumeAwareSignal)(a,()=>s.signal,()=>r=!0),a),u=await c(o),{maxPages:l}=s.options,h=n?t.addToStart:t.addToEnd;return{pages:h(e.pages,u,l),pageParams:h(e.pageParams,i,l)}};if(n&&a.length){let e="backward"===n,t=e?f:p,s={pages:a,pageParams:o};u=await h(s,t(i,s),e)}else{let t=e??a.length;do{let e=0===l?o[0]??i.initialPageParam:p(i,u);if(l>0&&null==e)break;u=await h(u,e),l++}while(l<t)}return u};s.options.persister?s.fetchFn=()=>s.options.persister?.(c,{client:s.client,queryKey:s.queryKey,meta:s.options.meta,signal:s.signal},r):s.fetchFn=c}}}function p(e,{pages:t,pageParams:s}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,s[r],s):void 0}function f(e,{pages:t,pageParams:s}){return t.length>0?e.getPreviousPageParam?.(t[0],t,s[0],s):void 0}e.s(["Removable",0,h],786884),e.s(["hasNextPage",0,function(e,t){return!!t&&null!=p(e,t)},"hasPreviousPage",0,function(e,t){return!!t&&!!e.getPreviousPageParam&&null!=f(e,t)},"infiniteQueryBehavior",0,d],640138);var y=class extends h{#n;#a;#o;#u;#l;#c;#h;#d;constructor(e){super(),this.#d=!1,this.#h=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#u=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#a=g(this.options),this.state=e.state??this.#a,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#n}get promise(){return this.#c?.promise}setOptions(e){if(this.options={...this.#h,...e},e?._type&&(this.#n=e._type),this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=g(this.options);void 0!==e.data&&(this.setState(v(e.data,e.dataUpdatedAt)),this.#a=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#u.remove(this)}setData(e,s){let r=(0,t.replaceData)(this.state.data,e,this.options);return this.#p({data:r,type:"success",dataUpdatedAt:s?.updatedAt,manual:s?.manual}),r}setState(e){this.#p({type:"setState",state:e})}cancel(e){let s=this.#c?.promise;return this.#c?.cancel(e),s?s.then(t.noop).catch(t.noop):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#a}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>!1!==(0,t.resolveQueryValue)(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===t.skipToken||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdate
vendor: 4,709 bytes, line 1
1Count>0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===(0,t.resolveQueryValue)(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,t.timeUntilStale)(this.state.dataUpdatedAt,e))}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#c?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#c?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#u.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){let t=this.observers.indexOf(e);-1!==t&&(this.observers.splice(t,1),this.observers.length||(this.#c&&(this.#d||"paused"===this.state.fetchStatus&&"pending"===this.state.status?this.#c.cancel({revert:!0}):this.#c.cancelRetry()),this.scheduleGc()),this.#u.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,s){let r;if("idle"!==this.state.fetchStatus&&this.#c?.status()!=="rejected"){if(void 0!==this.state.data&&s?.cancelRefetch)this.cancel({silent:!0});else if(this.#c)return this.#c.continueRetry(),this.#c.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let i=new AbortController,n=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#d=!0,i.signal)})},a=()=>{let e,r=(0,t.ensureQueryFn)(this.options,s),i=(n(e={client:this.#l,queryKey:this.queryKey,meta:this.meta}),e);return(this.#d=!1,this.options.persister)?this.options.persister(r,i,this):r(i)},o=(n(r={fetchOptions:s,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:a}),r);("infinite"===this.#n?d(this.options.pages):this.options.behavior)?.onFetch(o,this),this.#o=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#p({type:"fetch",meta:o.fetchOptions?.meta});let c=this.#c=l({initialPromise:s?.initialPromise,fn:o.fetchFn,onCancel:e=>{e instanceof u&&e.revert&&this.setState({...this.#o,fetchStatus:"idle"}),i.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{let e=await c.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#u.config.onSuccess?.(e,this),this.#u.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof u){if(e.silent)return this.#c.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.#u.config.onError?.(e,this),this.#u.config.onSettled?.(this.state.data,e,this),e}finally{this.#c===c&&(this.#c=void 0),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,...m(t.data,this.options),fetchMeta:e.meta??null};case"success":let s={...t,...v(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#o=e.manual?s:void 0,s;case"error":let r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,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.slice().forEach(e=>{e.onQueryUpdate()}),this.#u.notify({query:this,type:"updated",action:e})})}};function m(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:o(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function v(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function g(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,s=void 0!==t,r=s?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:s?r??Date.now():0,error:null,errorUpdate
1Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}e.s(["Query",0,y,"fetchState",0,m],358171)},754891,e=>{"use strict";e.s(["Subscribable",0,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(){}}])},132186,505169,e=>{"use strict";let t={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},s=new class{#f=t;#y=!1;setTimeoutProvider(e){this.#f=e}setTimeout(e,t){return this.#f.setTimeout(e,t)}clearTimeout(e){this.#f.clearTimeout(e)}setInterval(e,t){return this.#f.setInterval(e,t)}clearInterval(e){this.#f.clearInterval(e)}};e.s(["systemSetTimeoutZero",0,function(e){setTimeout(e,0)},"timeoutManager",0,s],505169);let r="u"<typeof window||"Deno"in globalThis;function i(e,t){return(t?.queryKeyHashFn||n)(e)}function n(e){return JSON.stringify(e,(e,t)=>l(t)?Object.keys(t).sort().reduce((e,s)=>(e[s]=t[s],e),{}):t)}function a(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(Array.isArray(e)&&Array.isArray(t)){for(let s=0;s<t.length;s++)if(!a(e[s],t[s]))return!1;return!0}for(let s of Object.keys(t))if(!a(e[s],t[s]))return!1;return!0}return!1}let o=Object.prototype.hasOwnProperty;function u(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function l(e){if(!c(e))return!1;let t=e.constructor;if(void 0===t)return!0;let s=t.prototype;return!!c(s)&&!!s.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function c(e){return"[object Object]"===Object.prototype.toString.call(e)}let h=Symbol();e.s(["addConsumeAwareSignal",0,function(e,t,s){let r,i=!1;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(r??=t(),i||(i=!0,r.aborted?s():r.addEventListener("abort",s,{once:!0})),r)}),e},"addToEnd",0,function(e,t,s=0){let r=[...e,t];return s&&r.length>s?r.slice(1):r},"addToStart",0,function(e,t,s=0){let r=[t,...e];return s&&r.length>s?r.slice(0,-1):r},"ensureQueryFn",0,function(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==h?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))},"functionalUpdate",0,function(e,t){return"function"==typeof e?e(t):e},"hashKey",0,n,"hashQueryKeyByOptions",0,i,"isServer",0,r,"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:s,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(s){if(n(t.options.mutationKey)!==n(o))return!1}else if(!a(t.options.mutationKey,o))return!1}return(!r||t.state.status===r)&&(!i||!!i(t))},"matchQuery",0,function(e,t){let{type:s="all",exact:r,fetchStatus:n,predicate:o,queryKey:u,stale:l}=e;if(u){if(r){if(t.queryHash!==i(u,t.options))return!1}else if(!a(t.queryKey,u))return!1}if("all"!==s){let e=t.isActive();if("active"===s&&!e||"inactive"===s&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(!n||n===t.state.fetchStatus)&&(!o||!!o(t))},"noop",0,function(){},"partialMatchKey",0,a,"replaceData",0,function(e,t,s){return"function"==typeof s.structuralSharing?s.structuralSharing(e,t):!1!==s.structuralSharing?function e(t,s,r=0){if(t===s)return t;if(r>500)return s;let i=u(t)&&u(s);if(!i&&!(l(t)&&l(s)))return s;let n=(i?t:Object.keys(t)).length,a=i?s:Object.keys(s),c=a.length,h=i?Array(c):{},d=0;for(let u=0;u<c;u++){let l=i?u:a[u],c=t[l],p=s[l];if(c===p){h[l]=c,(i?u<n:o.call(t,l))&&d++;continue}if(null===c||null===p||"object"!=typeof c||"object"!=typeof p){h[l]=p;continue}let f=e(c,p,r+1);h[l]=f,f===c&&d++}return n===c&&d===n?t:h}(e,t):t},"resolveQueryValue",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 s in e)if(e[s]!==t[s])return!1;return!0},"shouldThrowError",0,function(e,t){return"function"==typeof e?e(...t):!!e},"skipToken",0,h,"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)}],132186)},939299,e=>{"use strict";var t=e.i(744555),s=e.i(470698);let r=t.createContext(void 0);e.s(["QueryClientProvider",0,({client:e,children:i})=>(t.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,s.jsx)(r.Provider,{value:e,children:i})),"useQueryClient",0,e=>{let s=t.useContext(r);if(e)return e;if(!s)throw Error("No QueryClient set, use QueryClientProvider to set one");return s}])},840885,617663,302841,e=>{"use strict";let t;var s=e.i(939299),r=e.i(744555);let i=r.createContext(!1);i.Provider,e.i(470698);let n=r.createContext((t=!1,{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}));var a=e.i(132186),o=e.i(833461);function u(e,t,u){let l,c=r.useContext(i),h=r.useContext(n),d=(0,s.useQueryClient)(u),p=d.defaultQueryOptions(e),f=d.getQueryCache().get(p.queryHash),y=!1!==e.subscribed;if(p._optimisticResults=c?"isRestoring":y?"optimistic":void 0,p.suspense){let e=e=>"static"===e?e:Math.max(e??1e3,1e3),t=p.staleTime;p.staleTime="function"==typeof t?(...s)=>e(t(...s)):e(t),"number"==typeof p.gcTime&&(p.gcTime=Math.max(p.gcTime,1e3))}l=f?.state.error&&"function"==typeof p.throwOnError?(0,a.shouldThrowError)(p.throwOnError,[f.state.error,f]):p.throwOnError,(p.suspense||l)&&!h.isReset()&&(p.retryOnMount=!1),r.useEffect(()=>{h.clearReset()},[h]);let[m]=r.useState(()=>new t(d,p)),v=m.getOptimisticResult(p),g=!c&&y;if(r.useSyncExternalStore(r.useCallback(e=>{let t=g?m.subscribe(o.notifyManager.batchCalls(e)):a.noop;return m.updateResult(),t},[m,g]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),r.useEffect(()=>{m.setOptions(p)},[p,m]),p?.suspense&&v.isPending)throw m.fetchOptimistic(p).catch(()=>{h.clearReset()});if((({result:e,errorResetBoundary:t,throwOnError:s,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&void 0===e.data||(0,a.shouldThrowError)(s,[e.error,r])))({result:v,errorResetBoundary:h,throwOnError:p.throwOnError,query:f,suspense:p.suspense}))throw v.error;return p.notifyOnChangeProps?v:m.trackResult(v)}e.s(["useBaseQuery",0,u],617663);var l=e.i(505169),c=e.i(852363),h=e.i(754891),d=e.i(362239),p=e.i(358171),f=class extends h.Subscribable{#l;#m=void 0;#v=void 0;#g=void 0;#b;#S;#w;#R;#Q;#O;#T;#C;#F;#P=new Set;constructor(e,t){super(),this.options=t,this.#l=e,this.#w=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#m.addObserver(this),y(this.#m,this.options)?this.#E():this.updateResult(),this.#I())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return m(this.#m,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return m(this.#m,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#q(),this.#U(),this.#m.removeObserver(this)}setOptions(e){let t=this.options,s=this.#m;if(this.options=this.#l.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,a.resolveQueryValue)(this.options.enabled,this.#m))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#D(),this.#m.setOptions(this.options),t._defaulted&&!(0,a.shallowEqualObjects)(this.options,t)&&this.#l.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#m,observer:this});let r=this.hasListeners();r&&v(this.#m,s,this.options,t)&&this.#E(),this.updateResult(),r&&(this.#m!==s||(0,a.resolveQueryValue)(this.options.enabled,this.#m)!==(0,a.resolveQueryValue)(t.enabled,this.#m)||(0,a.resolveQueryValue)(this.options.staleTime,this.#m)!==(0,a.resolveQueryValue)(t.staleTime,this.#m))&&this.#M();let i=this.#j();r&&(this.#m!==s||(0,a.resolveQueryValue)(this.options.enabled,this.#m)!==(0,a.resolveQueryValue)(t.enabled,this.#m)||i!==this.#F)&&this.#k(i)}getOptimisticResult(e){let t=this.#l.getQueryCache().build(this.#l,e),s=this.createResult(t,e);return(0,a.shallowEqualObjects)(this.getCurrentResult(),s)||(this.#g=s,this.#S=this.options,this.#b=this.#m.state),s}getCurrentResult(){return this.#g}trackResult(e,t){return new Proxy(e,{get:(e,s)=>(this.trackProp(s),t?.(s),Reflect.get(e,s))})}trackProp(e){this.#P.add(e)}getCurrentQuery(){return this.#m}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t,s=this.#l.defaultQueryOptions(e),r=this.#l.getQueryCache().build(this.#l,s),i=()=>{},n=new Promise(e=>{t=e,i=this.#l.getQueryCache().subscribe(t=>{"updated"===t.type&&t.query.queryHash===r.queryHash&&void 0!==r.state.data&&(i(),e(this.createResult(r,s)))})});return Promise.race([r.fetch().then(()=>{let e=this.createResult(r,s);return t?.(e),e}).finally(()=>{i()}),n])}fetch(e){return this.#E({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#g))}#E(e){this.#D();let t=this.#m.fetch(this.options,e);return e?.throwOnError||(t=t.catch(a.noop)),t}#A(e){return!(0,c.isServer)()&&!1!==(0,a.resolveQueryValue)(this.options.enabled,this.#m)&&(0,a.isValidTimeout)(e)}#M(){this.#q();let e=(0,a.resolveQueryValue)(this.options.staleTime,this.#m);if(this.#g.isStale||!this.#A(e))return;let t=(0,a.timeUntilStale)(this.#g.dataUpdatedAt,e)+1;this.#T=l.timeoutManager.setTimeout(()=>{this.#g.isStale||this.updateResult()},t)}#j(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#m):this.options.refetchInterval)??!1}#k(e){this.#U(),this.#F=e,0!==this.#F&&this.#A(this.#F)&&(this.#C=l.timeoutManager.setInterval(()=>
1{(this.options.refetchIntervalInBackground||d.focusManager.isFocused())&&this.#E()},this.#F))}#I(){this.#M(),this.#k(this.#j())}#q(){void 0!==this.#T&&(l.timeoutManager.clearTimeout(this.#T),this.#T=void 0)}#U(){void 0!==this.#C&&(l.timeoutManager.clearInterval(this.#C),this.#C=void 0)}createResult(e,t){let s,r=this.#m,i=this.options,n=this.#g,o=this.#b,u=this.#S,l=e!==r?e.state:this.#v,{state:c}=e,h={...c},d=!1;if(t._optimisticResults){let s=this.hasListeners(),n=!s&&y(e,t),a=s&&v(e,r,t,i);(n||a)&&(h={...h,...(0,p.fetchState)(c.data,e.options)}),"isRestoring"===t._optimisticResults&&(h.fetchStatus="idle")}let{error:f,errorUpdatedAt:m,status:b}=h;s=h.data;let S=!1;if(void 0!==t.placeholderData&&void 0===s&&"pending"===b){let e;n?.isPlaceholderData&&t.placeholderData===u?.placeholderData?(e=n.data,S=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#O?.state.data,this.#O):t.placeholderData,void 0!==e&&(b="success",s=(0,a.replaceData)(n?.data,e,t),d=!0)}if(t.select&&void 0!==s&&!S)if(n&&s===o?.data&&t.select===this.#R)s=this.#Q;else try{this.#R=t.select,s=t.select(s),s=(0,a.replaceData)(n?.data,s,t),this.#Q=s,this.#w=null}catch(e){this.#w=e}else void 0===s&&(this.#w=null);this.#w&&(f=this.#w,s=this.#Q,m=Date.now(),b="error",d=!1);let w="fetching"===h.fetchStatus,R="pending"===b,Q="error"===b,O=R&&w,T=void 0!==s;return{status:b,fetchStatus:h.fetchStatus,isPending:R,isSuccess:"success"===b,isError:Q,isInitialLoading:O,isLoading:O,data:s,dataUpdatedAt:h.dataUpdatedAt,error:f,errorUpdatedAt:m,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:h.dataUpdateCount>l.dataUpdateCount||h.errorUpdateCount>l.errorUpdateCount,isFetching:w,isRefetching:w&&!R,isLoadingError:Q&&!T,isPaused:"paused"===h.fetchStatus,isPlaceholderData:d,isRefetchError:Q&&T,isStale:g(e,t),refetch:this.refetch,isEnabled:!1!==(0,a.resolveQueryValue)(t.enabled,e)}}updateResult(){let e=this.#g,t=this.createResult(this.#m,this.options);if(this.#b=this.#m.state,this.#S=this.options,void 0!==this.#b.data&&(this.#O=this.#m),(0,a.shallowEqualObjects)(t,e))return;this.#g=t;let s=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,s="function"==typeof t?t():t;if("all"===s||!s&&!this.#P.size)return!0;let r=new Set(s??this.#P);return this.options.throwOnError&&r.add("error"),Object.keys(this.#g).some(t=>this.#g[t]!==e[t]&&r.has(t))})();o.notifyManager.batch(()=>{s&&this.listeners.forEach(e=>{e(this.#g)}),this.#l.getQueryCache().notify({query:this.#m,type:"observerResultsUpdated"})})}#D(){let e=this.#l.getQueryCache().build(this.#l,this.options);if(e===this.#m)return;let t=this.#m;this.#m=e,this.#v=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#I()}};function y(e,t){return!1!==(0,a.resolveQueryValue)(t.enabled,e)&&void 0===e.state.data&&("error"!==e.state.status||!1!==(0,a.resolveQueryValue)(t.retryOnMount,e))||void 0!==e.state.data&&m(e,t,t.refetchOnMount)}function m(e,t,s){if(!1!==(0,a.resolveQueryValue)(t.enabled,e)&&"static"!==(0,a.resolveQueryValue)(t.staleTime,e)){let r="function"==typeof s?s(e):s;return"always"===r||!1!==r&&g(e,t)}return!1}function v(e,t,s,r){return(e!==t||!1===(0,a.resolveQueryValue)(r.enabled,e))&&(!s.suspense||"error"!==e.state.status)&&g(e,s)}function g(e,t){return!1!==(0,a.resolveQueryValue)(t.enabled,e)&&e.isStaleByTime((0,a.resolveQueryValue)(t.staleTime,e))}e.s(["QueryObserver",0,f],302841),e.s(["useQuery",0,function(e,t){return u(e,f,t)}],840885)},757072,e=>{"use strict";e.s(["queryKeys",0,{user:{all:["user"],profile:()=>["user","profile"],writerProfile:()=>["user","writer-profile"],writerProfileBootstrap:(e,t)=>["user","writer-profile","bootstrap",e,t],transactionsAll:["user","transactions"],transactions:e=>["user","transactions",e?.kind??null,e?.page??null,e?.limit??null]},generations:{all:["generations"],infiniteList:(e,t,s,r,i)=>["generations","list","infinite",e,t,s,r,i],detail:e=>["generations",e]},presets:{all:["presets"],list:e=>e?["presets","list",e]:["presets","list"]},subscription:{all:["subscription"],current:()=>["subscription","current"],active:()=>["subscription","active"],plans:e=>["subscription","plans",e]},payments:{all:["payments"],methods:()=>["payments","methods"],config:()=>["payments","config"]},auth:{all:["auth"],config:()=>["auth","config"]},pricing:{all:["pricing"],catalog:()=>["pricing"]},botBranding:{all:["bot"],branding:e=>["bot","branding",e??"site"]},lessonPlans:{all:["lesson-plans"],list:(e,t)=>
1["lesson-plans","list",e,t]},resumes:{all:["resumes"],list:()=>["resumes","list"],detail:e=>["resumes","detail",e],preview:(e,t,s="",r="")=>["resumes","preview",e,t,s,r],templates:()=>["resumes","templates"]},aiImage:{all:["ai-image"],config:()=>["ai-image","config"],presets:(e,t)=>["ai-image","presets",e,t],presetsInfinite:e=>["ai-image","presets","infinite",e],job:e=>["ai-image","job",e],jobViewUrl:(e,t)=>["ai-image","job-view-url",e,t??null]},aiVideo:{all:["ai-video"],modelConfigs:()=>["ai-video","model-configs"],presets:(e,t)=>["ai-video","presets",e,t],categories:()=>["ai-video","categories"],price:(e,t)=>["ai-video","price",e,t],myVideos:(e,t)=>void 0===e?["ai-video","my-videos"]:["ai-video","my-videos",e,t??20]},flashcard:{all:["flashcard"],study:(e,t="all")=>["flashcard",e,"study",t],progress:(e,t)=>void 0===t?["flashcard",e,"progress"]:["flashcard",e,"progress",String(t)]},lesson:{all:["lesson"],detail:e=>["lesson",e]},crossword:{all:["crossword"],public:e=>["crossword","public",e],attempts:(e,t=1,s)=>["crossword",e,"attempts",t,s??null],attemptDetail:(e,t)=>["crossword",e,"attempts",t],stats:e=>["crossword",e,"stats"],detail:e=>["crossword",e],content:e=>["crossword",e,"content"]},test:{all:["test"],detail:e=>["test","detail",e],public:e=>["test","public",e],attempts:(e,t,s)=>["test",e,"attempts",t,s??null],attemptsAll:e=>["test",e,"attempts"],attemptDetail:(e,t)=>["test",e,"attempts",t],stats:e=>["test",e,"stats"],importQuote:e=>["test","import-quote",e],importStatus:e=>["test","import-status",e],my:(e=1,t)=>["test","my",e,t??null],myAll:()=>["test","my"],shared:()=>["test","shared"]},listening:{all:["listening"],attempts:(e,t=1,s)=>["listening",e,"attempts",t,s??null],attemptDetail:(e,t)=>["listening",e,"attempts",t],stats:e=>["listening",e,"stats"]},sortball:{all:["sortball"],attempts:(e,t=1,s)=>["sortball",e,"attempts",t,s??null],attemptDetail:(e,t)=>["sortball",e,"attempts",t],stats:e=>["sortball",e,"stats"]},translation:{all:["translation"],myList:()=>["translation","my"]},simpleSlide:{all:["simple-slide"],detail:e=>["simple-slide",e]},podcast:{all:["podcast"],myList:()=>["podcast","my"]},congratulation:{all:["congratulation"],myList:()=>["congratulation","my"]},presentation:{all:["presentation"],detail:e=>["presentation",e],gamma:e=>["presentation",e,"gamma"]},template:{all:["template"],gallery:()=>["template","gallery"],detail:(e,t=null)=>t?["template",e,"theme",t]:["template",e]},coursework:{all:["coursework"],detail:e=>["coursework",e],content:e=>["coursework",e,"content"],logo:e=>["coursework",e,"logo"]},writerContent:{all:["writer-content"],product:e=>["writer-content",e],detail:(e,t)=>["writer-content",e,t],content:(e,t)=>["writer-content",e,t,"content"]},methodicdoc:{all:["methodicdocs"],docTypes:()=>["methodicdocs","doc-types"],detail:e=>["methodicdocs",e]},proSlide:{all:["pro-slide"],config:()=>["pro-slide","config"],detail:e=>["pro-slide",e],media:e=>["pro-slide",e,"media"],slideMedia:(e,t,s)=>["pro-slide",e,"media",t,s]},atestatsiya:{all:["atestatsiya"],subjects:()=>["atestatsiya","subjects"],grades:e=>["atestatsiya","grades",e],topics:(e,t)=>["atestatsiya","topics",e,t],test:e=>["atestatsiya","test",e],myTests:()=>["atestatsiya","my-tests"],progressAll:["atestatsiya","progress"],progress:e=>["atestatsiya","progress",e],poolInfo:e=>["atestatsiya","pool-info",e.join(",")]}}])}]);

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.