PageSourceSearch

https://www.sadhak.tv/r/assets/providers-layout-DZrptzf2.js

js sadhak.tv collected 2026-09-24 14:28:11 UTC 9,840 bytes, 1 lines download raw bytes

1var U=t=>{throw TypeError(t)};var z=(t,e,s)=>e.has(t)||U("Cannot "+s);var a=(t,e,s)=>(z(t,e,"read from private field"),s?s.call(t):e.get(t)),h=(t,e,s)=>e.has(t)?U("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,s),o=(t,e,s,r)=>(z(t,e,"write to private field"),r?r.call(t,s):e.set(t,s),s);var K=(t,e,s,r)=>({set _(i){o(t,e,i,s)},get _(){return a(t,e,r)}});import{w as oe,c as he,r as G,j as H,O as ce}from"./chunk-EVOBXE3Y-CO-xLp7Q.js";import{S as ae,h as ie,Q as le,n as c,m as J,M as fe,a as V,b as g,e as de,c as ye,d as ge,f as pe,o as X,r as Y,g as me,i as Z,p as $,s as ve,j as Pe,I as Qe}from"./I18nProvider-m4vxxDd4.js";import{f as be}from"./i18n-ZeEFMFzC.js";import{F as Oe}from"./index-WkpvrcEo.js";var y,te,Me=(te=class extends ae{constructor(e={}){super();h(this,y);this.config=e,o(this,y,new Map)}build(e,s,r){const i=s.queryKey,u=s.queryHash??ie(i,s);let d=this.get(u);return d||(d=new le({cache:this,queryKey:i,queryHash:u,options:e.defaultQueryOptions(s),state:r,defaultOptions:e.getQueryDefaults(i)}),this.add(d)),d}add(e){a(this,y).has(e.queryHash)||(a(this,y).set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const s=a(this,y).get(e.queryHash);s&&(e.destroy(),s===e&&a(this,y).delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){c.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return a(this,y).get(e)}getAll(){return[...a(this,y).values()]}find(e){const s={exact:!0,...e};return this.getAll().find(r=>J(s,r))}findAll(e={}){const s=this.getAll();return Object.keys(e).length>0?s.filter(r=>J(e,r)):s}notify(e){c.batch(()=>{this.listeners.forEach(s=>{s(e)})})}onFocus(){c.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){c.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},y=new WeakMap,te),p,f,F,se,we=(se=class extends ae{constructor(e={}){super();h(this,p);h(this,f);h(this,F);this.config=e,o(this,p,new Set),o(this,f,new Map),o(this,F,0)}build(e,s,r){const i=new fe({mutationCache:this,mutationId:++K(this,F)._,options:e.defaultMutationOptions(s),state:r});return this.add(i),i}add(e){a(this,p).add(e);const s=S(e);if(typeof s=="string"){const r=a(this,f).get(s);r?r.push(e):a(this,f).set(s,[e])}this.notify({type:"added",mutation:e})}remove(e){if(a(this,p).delete(e)){const s=S(e);if(typeof s=="string"){const r=a(this,f).get(s);if(r)if(r.length>1){const i=r.indexOf(e);i!==-1&&r.splice(i,1)}else r[0]===e&&a(this,f).delete(s)}}this.notify({type:"removed",mutation:e})}canRun(e){const s=S(e);if(typeof s=="string"){const r=a(this,f).get(s),i=r==null?void 0:r.find(u=>u.state.status==="pending");return!i||i===e}else return!0}runNext(e){var r;const s=S(e);if(typeof s=="string"){const i=(r=a(this,f).get(s))==null?void 0:r.find(u=>
1u!==e&&u.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){c.batch(()=>{a(this,p).forEach(e=>{this.notify({type:"removed",mutation:e})}),a(this,p).clear(),a(this,f).clear()})}getAll(){return Array.from(a(this,p))}find(e){const s={exact:!0,...e};return this.getAll().find(r=>V(s,r))}findAll(e={}){return this.getAll().filter(s=>V(e,s))}notify(e){c.batch(()=>{this.listeners.forEach(s=>{s(e)})})}resumePausedMutations(){const e=this.getAll().filter(s=>s.state.isPaused);return c.batch(()=>Promise.all(e.map(s=>s.continue().catch(g))))}},p=new WeakMap,f=new WeakMap,F=new WeakMap,se);function S(t){var e;return(e=t.options.scope)==null?void 0:e.id}function W(t){return{onFetch:(e,s)=>{var j,k,R,B,L;const r=e.options,i=(R=(k=(j=e.fetchOptions)==null?void 0:j.meta)==null?void 0:k.fetchMore)==null?void 0:R.direction,u=((B=e.state.data)==null?void 0:B.pages)||[],d=((L=e.state.data)==null?void 0:L.pageParams)||[];let q={pages:[],pageParams:[]},C=0;const I=async()=>{let b=!1;const E=l=>{Object.defineProperty(l,"signal",{enumerable:!0,get:()=>(e.signal.aborted?b=!0:e.signal.addEventListener("abort",()=>{b=!0}),e.signal)})},ne=de(e.options,e.fetchOptions),_=async(l,m,D)=>{if(b)return Promise.reject();if(m==null&&l.pages.length)return Promise.resolve(l);const T={queryKey:e.queryKey,pageParam:m,direction:D?"backward":"forward",meta:e.options.meta};E(T);const ue=await ne(T),{maxPages:N}=e.options,x=D?ye:ge;return{pages:x(l.pages,ue,N),pageParams:x(l.pageParams,m,N)}};if(i&&u.length){const l=i==="backward",m=l?Ae:ee,D={pages:u,pageParams:d},T=m(r,D);q=await _(D,T,l)}else{const l=t??u.length;do{const m=C===0?d[0]??r.initialPageParam:ee(r,q);if(C>0&&m==null)break;q=await _(q,m),C++}while(C<l)}return q};e.options.persister?e.fetchFn=()=>{var b,E;return(E=(b=e.options).persister)==null?void 0:E.call(b,I,{queryKey:e.queryKey,meta:e.options.meta,signal:e.signal},s)}:e.fetchFn=I}}}function ee(t,{pages:e,pageParams:s}){const r=e.length-1;return e.length>0?t.getNextPageParam(e[r],e,s[r],s):void 0}function Ae(t,{pages:e,pageParams:s}){var r;return e.length>0?(r=t.getPreviousPageParam)==null?void 0:r.call(t,e[0],e,s[0],s):void 0}var n,v,P,O,M,Q,w,A,re,qe=(re=class{constructor(t={}){h(this,n);h(this,v);h(this,P);h(this,O);h(this,M);h(this,Q);h(this,w);h(this,A);o(this,n,t.queryCache||new Me),o(this,v,t.mutationCache||new we),o(this,P,t.defaultOptions||{}),o(this,O,new Map),o(this,M,new Map),o(this,Q,0)}mount(){K(this,Q)._++,a(this,Q)===1&&(o(this,w,pe.subscribe(async t=>{t&&(await this.resumePausedMutations(),a(this,n).onFocus())})),o(this,A,X.subscribe(async t=>{t&&(await this.resumePausedMutations(),a(this,n).onOnline())})))}unmount(){var t,e;K(this,Q)._--,a(this,Q)===0&&((t=a(this,w))==null||t.call(this),o(this,w,void 0),(e=a(this,A))==null||e.call(this),o(this,A,void 0))}isFetching(t){return a(this,n).findAll({...t,fetchStatus:"fetching"}).length}isMutating(t){return a(this,v).findAll({...t,status:"pending"}).length}getQueryData(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=a(this,n).get(e.queryHash))==null?void 0:s.state.data}ensureQueryData(t){const e=this.defaultQueryOptions(t),s=a(this,n).build(this,e),r=s.state.data;return r===void 0?this.fetchQuery(t):(t.revalidateIfStale&&s.isStaleByTime(Y(e.staleTime,s))&&this.prefetchQuery(e),Promise.resolve(r))}getQueriesData(t){return a(this,n).findAll(t).map(({queryKey:e,state:s})=>{const r=s.data;return[e,r]})}setQueryData(t,e,s){const r=this.defaultQueryOptions({queryKey:t}),i=a(this,n).get(r.queryHash),u=i==null?void 0:i.state.data,d=me(e,u);if(d!==void 0)return a(this,n).build(this,r).setData(d,{...s,manual:!0})}setQueriesData(t,e,s){return c.batch(()=>a(this,n).findAll(t).map(({queryKey:r})=>[r,this.setQueryData(r,e,s)]))}getQueryState(t){var s;const e=this.defaultQueryOptions({queryKey:t});return(s=a(this,n).get(e.queryHash))==null?void 0:s.state}removeQueries(t){const e=a(this,n);c.batch(()=>{e.findAll(t).forEach(s=>{e.remove(s)})})}resetQueries(t,e){const s=a(this,n),r={type:"active",...t};return c.batch(()=>(s.findAll(t).forEach(i=>
1{i.reset()}),this.refetchQueries(r,e)))}cancelQueries(t,e={}){const s={revert:!0,...e},r=c.batch(()=>a(this,n).findAll(t).map(i=>i.cancel(s)));return Promise.all(r).then(g).catch(g)}invalidateQueries(t,e={}){return c.batch(()=>{if(a(this,n).findAll(t).forEach(r=>{r.invalidate()}),(t==null?void 0:t.refetchType)==="none")return Promise.resolve();const s={...t,type:(t==null?void 0:t.refetchType)??(t==null?void 0:t.type)??"active"};return this.refetchQueries(s,e)})}refetchQueries(t,e={}){const s={...e,cancelRefetch:e.cancelRefetch??!0},r=c.batch(()=>a(this,n).findAll(t).filter(i=>!i.isDisabled()).map(i=>{let u=i.fetch(void 0,s);return s.throwOnError||(u=u.catch(g)),i.state.fetchStatus==="paused"?Promise.resolve():u}));return Promise.all(r).then(g)}fetchQuery(t){const e=this.defaultQueryOptions(t);e.retry===void 0&&(e.retry=!1);const s=a(this,n).build(this,e);return s.isStaleByTime(Y(e.staleTime,s))?s.fetch(e):Promise.resolve(s.state.data)}prefetchQuery(t){return this.fetchQuery(t).then(g).catch(g)}fetchInfiniteQuery(t){return t.behavior=W(t.pages),this.fetchQuery(t)}prefetchInfiniteQuery(t){return this.fetchInfiniteQuery(t).then(g).catch(g)}ensureInfiniteQueryData(t){return t.behavior=W(t.pages),this.ensureQueryData(t)}resumePausedMutations(){return X.isOnline()?a(this,v).resumePausedMutations():Promise.resolve()}getQueryCache(){return a(this,n)}getMutationCache(){return a(this,v)}getDefaultOptions(){return a(this,P)}setDefaultOptions(t){o(this,P,t)}setQueryDefaults(t,e){a(this,O).set(Z(t),{queryKey:t,defaultOptions:e})}getQueryDefaults(t){const e=[...a(this,O).values()],s={};return e.forEach(r=>{$(t,r.queryKey)&&Object.assign(s,r.defaultOptions)}),s}setMutationDefaults(t,e){a(this,M).set(Z(t),{mutationKey:t,defaultOptions:e})}getMutationDefaults(t){const e=[...a(this,M).values()];let s={};return e.forEach(r=>{$(t,r.mutationKey)&&(s={...s,...r.defaultOptions})}),s}defaultQueryOptions(t){if(t._defaulted)return t;const e={...a(this,P).queries,...this.getQueryDefaults(t.queryKey),...t,_defaulted:!0};return e.queryHash||(e.queryHash=ie(e.queryKey,e)),e.refetchOnReconnect===void 0&&(e.refetchOnReconnect=e.networkMode!=="always"),e.throwOnError===void 0&&(e.throwOnError=!!e.suspense),!e.networkMode&&e.persister&&(e.networkMode="offlineFirst"),e.queryFn===ve&&(e.enabled=!1),e}defaultMutationOptions(t){return t!=null&&t._defaulted?t:{...a(this,P).mutations,...(t==null?void 0:t.mutationKey)&&this.getMutationDefaults(t.mutationKey),...t,_defaulted:!0}}clear(){a(this,n).clear(),a(this,v).clear()}},n=new WeakMap,v=new WeakMap,P=new WeakMap,O=new WeakMap,M=new WeakMap,Q=new WeakMap,w=new WeakMap,A=new WeakMap,re);const Ke=oe(function(){const e=he("root"),s=(e==null?void 0:e.bootstrap)??Oe,[r]=G.useState(()=>new qe),i=G.useMemo(()=>be((e==null?void 0:e.translations)??{}),[e==null?void 0:e.translations]);return H.jsx(Pe,{client:r,children:H.jsx(Qe,{locale:s.store.locale,translations:i,children:H.jsx(ce,{})})})});export{Ke as default};

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.