PageSourceSearch

https://okian.ai/_next/static/chunks/6583-7bf20b4269748f20.js

js okian.ai collected 2026-10-05 12:19:52 UTC 11,103 bytes, 1 lines download raw bytes

1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="31921607-1271-4e63-9ccf-c225bbe6f86c",t._sentryDebugIdIdentifier="sentry-dbid-31921607-1271-4e63-9ccf-c225bbe6f86c")}catch(t){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6583],{11180:(t,e,s)=>{s.d(e,{useIsFetching:()=>n});var r=s(12115),i=s(31967),u=s(35625);function n(t,e){let s=(0,u.useQueryClient)(e),n=s.getQueryCache();return r.useSyncExternalStore(r.useCallback(t=>n.subscribe(i.jG.batchCalls(t)),[n]),()=>s.isFetching(t),()=>s.isFetching(t))}},15405:(t,e,s)=>{s.d(e,{z:()=>u});var r=s(29753),i=s(28509),u=class extends r.${constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t){t._type="infinite",super.setOptions(t)}getOptimisticResult(t){return t._type="infinite",super.getOptimisticResult(t)}fetchNextPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(t){return this.fetch({...t,meta:{fetchMore:{direction:"backward"}}})}createResult(t,e){let{state:s}=t,r=super.createResult(t,e),{isFetching:u,isRefetching:n,isError:a,isRefetchError:o}=r,h=s.fetchMeta?.fetchMore?.direction,c=a&&"forward"===h,l=u&&"forward"===h,d=a&&"backward"===h,f=u&&"backward"===h;return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,i.rB)(e,s.data),hasPreviousPage:(0,i.RQ)(e,s.data),isFetchNextPageError:c,isFetchingNextPage:l,isFetchPreviousPageError:d,isFetchingPreviousPage:f,isRefetchError:o&&!c&&!d,isRefetching:n&&!l&&!f}}}},16136:(t,e,s)=>{s.d(e,{useIsMutating:()=>a,useMutationState:()=>h});var r=s(12115),i=s(5858),u=s(31967),n=s(35625);function a(t,e){let s=(0,n.useQueryClient)(e);return h({filters:{...t,status:"pending"}},s).length}function o(t,e){return t.findAll(e.filters).map(t=>e.select?e.select(t):t.state)}function h(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,s=(0,n.useQueryClient)(e).getMutationCache(),a=r.useRef(t),h=r.useRef(null);return null===h.current&&(h.current=o(s,t)),r.useEffect(()=>{a.current=t}),r.useSyncExternalStore(r.useCallback(t=>s.subscribe(()=>{let e=(0,i.BH)(h.current,o(s,a.current));h.current!==e&&(h.current=e,u.jG.schedule(t))}),[s]),()=>h.current,()=>h.current)}},26415:(t,e,s)=>{s.d(e,{HydrationBoundary:()=>h});var r=s(12115),i=s(46062),u=s(5858);function n(t){return t}function a(t,e,s){if("object"!=typeof e||null===e)return;let r=t.getMutationCache(),a=t.getQueryCache(),o=s?.defaultOptions?.deserializeData??t.getDefaultOptions().hydrate?.deserializeData??n,h=e.mutations||[],c=e.queries||[];h.forEach(({state:e,...i})=>{r.build(t,{...t.getDefaultOptions().hydrate?.mutations,...s?.defaultOptions?.mutations,...i},e)}),c.forEach(({queryKey:e,state:r,queryHash:n,meta:h,promise:c,dehydratedAt:l,queryType:d})=>{let f=c?(0,i.b)(c):void 0,p=void 0===r.data?f?.data:r.data,b=void 0===p?p:o(p),y=a.get(n),g=y?.state.status==="pending",m=y?.state.fetchStatus==="fetching";if(y){let t=f&&void 0!==l&&l>y.state.dataUpdatedAt;if(r.dataUpdatedAt>y.state.dataUpdatedAt||t){let{fetchStatus:t,...e}=r;y.setState({...e,data:b,..."pending"===r.status&&void 0!==b&&{status:"success",...!m&&{fetchStatus:"idle"}}})}}else y=a.build(t,{...t.getDefaultOptions().hydrate?.queries,...s?.defaultOptions?.queries,queryKey:e,queryHash:n,meta:h,_type:d},{...r,data:b,fetchStatus:"idle",status:"pending"===r.status&&void 0!==b?"success":r.status});!c||f||g||m||void 0!==l&&!(l>y.state.dataUpdatedAt)||y.fetch(void 0,{initialPromise:Promise.resolve(c).then(o)}).catch(u.lQ)})}var o=s(35625),h=t=>{let{children:e,options:s={},state:i,queryClient:u}=t,n=(0,o.useQueryClient)(u),h=r.useRef(s);r.useEffect(()=>{h.current=s});let c=r.useMemo(()=>{if(i){if("object"!=typeof i)return;let t=n.getQueryCache(),e=i.queries||[],s=[],r=[];for(let i of e){let e=t.get(i.queryHash);e?(i.state.dataUpdatedAt>e.state.dataUpdatedAt||i.promise&&"pending"!==e.state.status&&"fetching"!==e.state.fetchStatus&&void 0!==i.dehydratedAt&&i.dehydratedAt>e.state.dataUpdatedAt)&&r.push(i):s.push(i)}if(s.length>0&&a(n,{queries:s},h.current),r.length>0)return r}},[n,i]);return r.useEffect(()=>{c&&a(n,{queries:c},h.current)},[n,c]),e}},26708:(t,e,s)=>{s.d(e,{useQuery:()=>u});var r=s(29753),i=s(67675);function u(t,e){return(0,i.t)(t,r.$,e)}},33184:(t,e,s)=>{s.d(e,{useSuspenseQueries:()=>u});var r=s(88405),i=s(62821);function u(t,e){return(0,r.useQueries)({...t,queries:t.queries.map(t=>({...t,suspense:!0,throwOnError:i.R3,enabled:!0,placeholderData:void 0}))},e)}},48934:(t,e,s)=>{s.d(e,{useMutation:()=>c});var r=s(12115),i=s(53390),u=s(31967),n=s(98216),a=s(5858),o=class extends n.Q{#t;#e=void 0;#s;#r;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#i()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,a.f8)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#s,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,a.EN)(e.mutationKey)!==(0,a.EN)(this.options.mutationKey)?this.reset():this.#s?.state.status==="pending"&&this.#s.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#s?.removeObserver(this)}onMutationUpdate(t){this.#i(),this.#u(t)}getCurrentResult(){return this.#e}reset(){this.#s?.removeObserver(this),this.#s=void 0,this.#i(),this.#u()}mutate(t,e){return this.#r=e,this.#s?.removeObserver(this),this.#s=this.#t.getMutationCache().build(this.#t,this.options),this.#s.addObserver(this),this.#s.execute(t)}#i(){let t=this.#s?.state??(0,i.$)();this.#e={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#u(t){u.jG.batch(()=>
1{if(this.#r&&this.hasListeners()){let e=this.#e.variables,s=this.#e.context,r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,e,s,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(t.data,null,e,s,r)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,e,s,r)}catch(t){Promise.reject(t)}try{this.#r.onSettled?.(void 0,t.error,e,s,r)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#e)})})}},h=s(35625);function c(t,e){let s=(0,h.useQueryClient)(e),[i]=r.useState(()=>new o(s,t));r.useEffect(()=>{i.setOptions(t)},[i,t]);let n=r.useSyncExternalStore(r.useCallback(t=>i.subscribe(u.jG.batchCalls(t)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=r.useCallback((t,e)=>{i.mutate(t,e).catch(a.lQ)},[i]);if(n.error&&(0,a.GU)(i.options.throwOnError,[n.error]))throw n.error;return{...n,mutate:c,mutateAsync:n.mutate}}},61816:(t,e,s)=>{s.d(e,{useSuspenseQuery:()=>n});var r=s(29753),i=s(67675),u=s(62821);function n(t,e){return(0,i.t)({...t,enabled:!0,suspense:!0,throwOnError:u.R3,placeholderData:void 0},r.$,e)}},77508:(t,e,s)=>{s.d(e,{useSuspenseInfiniteQuery:()=>n});var r=s(15405),i=s(67675),u=s(62821);function n(t,e){return(0,i.t)({...t,enabled:!0,suspense:!0,throwOnError:u.R3},r.z,e)}},84456:(t,e,s)=>{s.d(e,{useInfiniteQuery:()=>u});var r=s(15405),i=s(67675);function u(t,e){return(0,i.t)(t,r.z,e)}},88405:(t,e,s)=>{s.d(e,{useQueries:()=>b});var r=s(12115),i=s(31967),u=s(29753),n=s(98216),a=s(5858);function o(t,e){let s=new Set(e);return t.filter(t=>!s.has(t))}var h=class extends n.Q{#t;#n;#a;#o;#h;#c;#l;#d;#f;#p=[];constructor(t,e,s){super(),this.#t=t,this.#o=s,this.#a=[],this.#h=[],this.#n=[],this.setQueries(e)}onSubscribe(){1===this.listeners.size&&this.#h.forEach(t=>{t.subscribe(e=>{this.#b(t,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#h.forEach(t=>{t.destroy()})}setQueries(t,e){this.#a=t,this.#o=e,i.jG.batch(()=>{let t=this.#h,e=this.#y(this.#a);e.forEach(t=>t.observer.setOptions(t.defaultedQueryOptions));let s=e.map(t=>t.observer),r=s.map(t=>t.getCurrentResult()),i=t.length!==s.length,u=s.some((e,s)=>e!==t[s]),n=i||u,h=!!n||r.some((t,e)=>{let s=this.#n[e];return!s||!(0,a.f8)(t,s)});(n||h)&&(n&&(this.#p=e,this.#h=s),this.#n=r,this.hasListeners()&&(n&&(o(t,s).forEach(t=>{t.destroy()}),o(s,t).forEach(t=>{t.subscribe(e=>{this.#b(t,e)})})),this.#u()))})}getCurrentResult(){return this.#n}getQueries(){return this.#h.map(t=>t.getCurrentQuery())}getObservers(){return this.#h}getOptimisticResult(t,e){let s=this.#y(t),r=s.map(t=>t.observer.getOptimisticResult(t.defaultedQueryOptions)),i=s.map(t=>t.defaultedQueryOptions.queryHash);return[r,t=>this.#g(t??r,e,i),()=>this.#m(r,s)]}#m(t,e){return e.map((s,r)=>{let i=t[r];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,t=>{e.forEach(e=>{e.observer.trackProp(t)})})})}#g(t,e,s){if(e){let r=this.#f,i=void 0!==s&&void 0!==r&&(r.length!==s.length||s.some((t,e)=>t!==r[e]));return(!this.#c||this.#n!==this.#d||i||e!==this.#l)&&(this.#l=e,this.#d=this.#n,void 0!==s&&(this.#f=s),this.#c=(0,a.BH)(this.#c,e(t))),this.#c}return t}
1#v(){return this.#o?.combine!==void 0&&this.#h.some((t,e)=>t.options.suspense&&this.#n[e]?.data===void 0)}#y(t){let e=new Map;this.#h.forEach(t=>{let s=t.options.queryHash;if(!s)return;let r=e.get(s);r?r.push(t):e.set(s,[t])});let s=[];return t.forEach(t=>{let r=this.#t.defaultQueryOptions(t),i=e.get(r.queryHash)?.shift()??new u.$(this.#t,r);s.push({defaultedQueryOptions:r,observer:i})}),s}#b(t,e){let s=this.#h.indexOf(t);-1!==s&&(this.#n=function(t,e,s){let r=t.slice(0);return r[e]=s,r}(this.#n,s,e),this.#u())}#u(){if(this.hasListeners()){let t=this.#m(this.#n,this.#p),e=this.#v(),s=this.#c,r=e?s:this.#g(t,this.#o?.combine);(e||s!==r)&&i.jG.batch(()=>{this.listeners.forEach(t=>{t(this.#n)})})}}},c=s(35625),l=s(75539),d=s(52284),f=s(95716),p=s(62821);function b(t,e){let{queries:s,...n}=t,o=(0,c.useQueryClient)(e),b=(0,l.useIsRestoring)(),y=(0,d.useQueryErrorResetBoundary)(),g=r.useMemo(()=>s.map(t=>{let e=o.defaultQueryOptions(t);return e._optimisticResults=b?"isRestoring":"optimistic",e}),[s,o,b]);g.forEach(t=>{(0,p.jv)(t);let e=o.getQueryCache().get(t.queryHash);(0,f.LJ)(t,y,e)}),(0,f.wZ)(y);let[m]=r.useState(()=>new h(o,g,n)),[v,R,O]=m.getOptimisticResult(g,n.combine),Q=!b&&!1!==n.subscribed;r.useSyncExternalStore(r.useCallback(t=>Q?m.subscribe(i.jG.batchCalls(t)):a.lQ,[m,Q]),()=>m.getCurrentResult(),()=>m.getCurrentResult()),r.useEffect(()=>{m.setQueries(g,n)},[g,n,m]);let C=v.some((t,e)=>(0,p.EU)(g[e],t))?v.flatMap((t,e)=>{let s=g[e];if(s&&(0,p.EU)(s,t)){let t=new u.$(o,s);return(0,p.iL)(s,t,y)}return[]}):[];if(C.length>0)throw Promise.all(C);let E=v.find((t,e)=>{let s=g[e];return s&&(0,f.$1)({result:t,errorResetBoundary:y,throwOnError:s.throwOnError,query:o.getQueryCache().get(s.queryHash),suspense:s.suspense})});if(null==E?void 0:E.error)throw E.error;return R(O())}}}]);

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.