PageSourceSearch

https://sapphiceffect.com/_next/static/chunks/619-f6002852a01f0a62.js?dpl=dpl_3zMTkKZRuvJUQnzrJnsHVxJPpgrR

js sapphiceffect.com collected 2026-10-09 21:24:31 UTC 8,136 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[619],{18156:(t,e,r)=>{r.d(e,{$:()=>o});var s=r(98608),i=r(97387),n=r(258),u=r(99683),h=r(45273),a=r(44154),c=r(97950),o=class extends u.Q{#t;#e=void 0;#r=void 0;#s=void 0;#i;#n;#u;#h;#a;#c;#o;#l;#d;#p=new Set;constructor(t,e){super(),this.options=e,this.#t=t,this.#u=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#e.addObserver(this),l(this.#e,this.options)?this.#f():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return d(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return d(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#R(),this.#v(),this.#e.removeObserver(this)}setOptions(t){let e=this.options,r=this.#e;if(this.options=this.#t.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,i.GF)(this.options.enabled,this.#e))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#Q(),this.#e.setOptions(this.options),e._defaulted&&!(0,i.f8)(this.options,e)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});let s=this.hasListeners();s&&p(this.#e,r,this.options,e)&&this.#f(),this.updateResult(),s&&(this.#e!==r||(0,i.GF)(this.options.enabled,this.#e)!==(0,i.GF)(e.enabled,this.#e)||(0,i.GF)(this.options.staleTime,this.#e)!==(0,i.GF)(e.staleTime,this.#e))&&this.#b();let n=this.#m();s&&(this.#e!==r||(0,i.GF)(this.options.enabled,this.#e)!==(0,i.GF)(e.enabled,this.#e)||n!==this.#d)&&this.#I(n)}getOptimisticResult(t){let e=this.#t.getQueryCache().build(this.#t,t),r=this.createResult(e,t);return(0,i.f8)(this.getCurrentResult(),r)||(this.#s=r,this.#n=this.options,this.#i=this.#e.state),r}getCurrentResult(){return this.#s}trackResult(t,e){return new Proxy(t,{get:(t,r)=>(this.trackProp(r),e?.(r),Reflect.get(t,r))})}trackProp(t){this.#p.add(t)}getCurrentQuery(){return this.#e}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e,r=this.#t.defaultQueryOptions(t),s=this.#t.getQueryCache().build(this.#t,r),i=()=>{},n=new Promise(t=>{e=t,i=this.#t.getQueryCache().subscribe(e=>{"updated"===e.type&&e.query.queryHash===s.queryHash&&void 0!==s.state.data&&(i(),t(this.createResult(s,r)))})});return Promise.race([s.fetch().then(()=>{let t=this.createResult(s,r);return e?.(t),t}).finally(()=>{i()}),n])}fetch(t){return this.#f({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#f(t){this.#Q();let e=this.#e.fetch(this.options,t);return t?.throwOnError||(e=e.catch(i.lQ)),e}#F(t){return!(0,n.S)()&&!1!==(0,i.GF)(this.options.enabled,this.#e)&&(0,i.gn)(t)}#b(){this.#R();let t=(0,i.GF)(this.options.staleTime,this.#e);if(this.#s.isStale||!this.#F(t))return;let e=(0,i.j3)(this.#s.dataUpdatedAt,t)+1;this.#o=s.zs.setTimeout(()=>{this.#s.isStale||this.updateResult()},e)}#m(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#I(t){this.#v(),this.#d=t,0!==this.#d&&this.#F(this.#d)&&(this.#l=s.zs.setInterval(()=>{(this.options.refetchIntervalInBackground||h.m.isFocused())&&this.#f()},this.#d))}#y(){this.#b(),this.#I(this.#m())}#R(){void 0!==this.#o&&(s.zs.clearTimeout(this.#o),this.#o=void 0)}#v(){void 0!==this.#l&&(s.zs.clearInterval(this.#l),this.#l=void 0)}createResult(t,e){let r,s=this.#e,n=this.options,u=this.#s,h=this.#i,a=this.#n,o=t!==s?t.state:this.#r,{state:d}=t,y={...d},R=!1;if(e._optimisticResults){let r=this.hasListeners(),i=!r&&l(t,e),u=r&&p(t,s,e,n);(i||u)&&(y={...y,...(0,c.k)(d.data,t.options)}),"isRestoring"===e._optimisticResults&&(y.fetchStatus="idle")}let{error:v,errorUpdatedAt:Q,status:b}=y;r=y.data;let m=!1;if(void 0!==e.placeholderData&&void 0===r&&"pending"===b){let t;u?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(t=u.data,m=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#c?.state.data,this.#c):e.placeholderData,void 0!==t&&(b="success",r=(0,i.pl)(u?.data,t,e),R=!0)}if(e.select&&void 0!==r&&!m)if(u&&r===h?.data&&e.select===this.#h)r=this.#a;else try{this.#h=e.select,r=e.select(r),r=(0,i.pl)(u?.data,r,e),this.#a=r,this.#u=null}catch(t){this.#u=t}else void 0===r&&(this.#u=null);this.#u&&(v=this.#u,r=this.#a,Q=Date.now(),b="error",R=!1);let I="fetching"===y.fetchStatus,F="pending"===b,O="error"===b,S=F&&I,g=void 0!==r;return{status:b,fetchStatus:y.fetchStatus,isPending:F,isSuccess:"success"===b,isError:O,isInitialLoading:S,isLoading:S,data:r,dataUpdatedAt:y.dataUpdatedAt,error:v,errorUpdatedAt:Q,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdate
1Count:y.errorUpdateCount,isFetched:t.isFetched(),isFetchedAfterMount:y.dataUpdateCount>o.dataUpdateCount||y.errorUpdateCount>o.errorUpdateCount,isFetching:I,isRefetching:I&&!F,isLoadingError:O&&!g,isPaused:"paused"===y.fetchStatus,isPlaceholderData:R,isRefetchError:O&&g,isStale:f(t,e),refetch:this.refetch,isEnabled:!1!==(0,i.GF)(e.enabled,t)}}updateResult(){let t=this.#s,e=this.createResult(this.#e,this.options);if(this.#i=this.#e.state,this.#n=this.options,void 0!==this.#i.data&&(this.#c=this.#e),(0,i.f8)(e,t))return;this.#s=e;let r=(()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,r="function"==typeof e?e():e;if("all"===r||!r&&!this.#p.size)return!0;let s=new Set(r??this.#p);return this.options.throwOnError&&s.add("error"),Object.keys(this.#s).some(e=>this.#s[e]!==t[e]&&s.has(e))})();a.jG.batch(()=>{r&&this.listeners.forEach(t=>{t(this.#s)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}#Q(){let t=this.#t.getQueryCache().build(this.#t,this.options);if(t===this.#e)return;let e=this.#e;this.#e=t,this.#r=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}};function l(t,e){return!1!==(0,i.GF)(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==(0,i.GF)(e.retryOnMount,t))||void 0!==t.state.data&&d(t,e,e.refetchOnMount)}function d(t,e,r){if(!1!==(0,i.GF)(e.enabled,t)&&"static"!==(0,i.GF)(e.staleTime,t)){let s="function"==typeof r?r(t):r;return"always"===s||!1!==s&&f(t,e)}return!1}function p(t,e,r,s){return(t!==e||!1===(0,i.GF)(s.enabled,t))&&(!r.suspense||"error"!==t.state.status)&&f(t,r)}function f(t,e){return!1!==(0,i.GF)(e.enabled,t)&&t.isStaleByTime((0,i.GF)(e.staleTime,t))}},28510:(t,e,r)=>{let s;r.d(e,{t:()=>o});var i=r(85626),n=r(12115);let u=n.createContext(!1);u.Provider,r(95155);let h=n.createContext((s=!1,{clearReset:()=>{s=!1},reset:()=>{s=!0},isReset:()=>s}));var a=r(97387),c=r(44154);function o(t,e,r){let s,o=n.useContext(u),l=n.useContext(h),d=(0,i.jE)(r),p=d.defaultQueryOptions(t),f=d.getQueryCache().get(p.queryHash),y=!1!==t.subscribed;if(p._optimisticResults=o?"isRestoring":y?"optimistic":void 0,p.suspense){let t=t=>"static"===t?t:Math.max(t??1e3,1e3),e=p.staleTime;p.staleTime="function"==typeof e?(...r)=>t(e(...r)):t(e),"number"==typeof p.gcTime&&(p.gcTime=Math.max(p.gcTime,1e3))}s=f?.state.error&&"function"==typeof p.throwOnError?(0,a.GU)(p.throwOnError,[f.state.error,f]):p.throwOnError,(p.suspense||s)&&!l.isReset()&&(p.retryOnMount=!1),n.useEffect(()=>{l.clearReset()},[l]);let[R]=n.useState(()=>new e(d,p)),v=R.getOptimisticResult(p),Q=!o&&y;if(n.useSyncExternalStore(n.useCallback(t=>{let e=Q?R.subscribe(c.jG.batchCalls(t)):a.lQ;return R.updateResult(),e},[R,Q]),()=>R.getCurrentResult(),()=>R.getCurrentResult()),n.useEffect(()=>{R.setOptions(p)},[p,R]),p?.suspense&&v.isPending)throw R.fetchOptimistic(p).catch(()=>{l.clearReset()});if((({result:t,errorResetBoundary:e,throwOnError:r,query:s,suspense:i})=>t.isError&&!e.isReset()&&!t.isFetching&&s&&(i&&void 0===t.data||(0,a.GU)(r,[t.error,s])))({result:v,errorResetBoundary:l,throwOnError:p.throwOnError,query:f,suspense:p.suspense}))throw v.error;return p.notifyOnChangeProps?v:R.trackResult(v)}}}]);

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.