1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2089],{3128:(t,e,r)=>{r.d(e,{k:()=>c});var n=r(35769),u=r(76704);function c(t,e){let r=u.useRef(void 0);return r.current&&(0,n.L)(r.current.deps,e)||(r.current={value:t(),deps:e}),r.current.value}},14779:(t,e,r)=>{r.d(e,{n:()=>i});var n=r(35769),u=r(76704),c=r(35991),l=r(35495),o=r(89730),a=r(65612);function i(t,e){let r=(0,a.m)(e?.client),[i,d]=u.useState(()=>s(r)),f=u.useRef({result:i,mutationId:0,isMounted:!0,client:r,mutation:t,options:e});(0,o.E)(()=>{Object.assign(f.current,{client:r,options:e,mutation:t})});let y=u.useCallback((t={})=>{let{options:e,mutation:r}=f.current,u={...e,mutation:r},o=t.client||f.current.client;!f.current.result.loading&&f.current.isMounted&&d(f.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let a=++f.current.mutationId,i=(0,c.l)(u,t);return(0,l.X)(o.mutate(i).then(e=>{let{data:r,error:u}=e,c=t.onError||f.current.options?.onError;if(u&&c&&c(u,i),a===f.current.mutationId){let t={called:!0,loading:!1,data:r,error:u,client:o};f.current.isMounted&&!(0,n.L)(f.current.result,t)&&d(f.current.result=t)}let l=t.onCompleted||f.current.options?.onCompleted;return u||l?.(e.data,i),e},e=>{if(a===f.current.mutationId&&f.current.isMounted){let t={loading:!1,error:e,data:void 0,called:!0,client:o};(0,n.L)(f.current.result,t)||d(f.current.result=t)}let r=t.onError||f.current.options?.onError;throw r&&r(e,i),e}))},[]),p=u.useCallback(()=>{if(f.current.isMounted){let t=s(f.current.client);Object.assign(f.current,{mutationId:0,result:t}),d(t)}},[]);return u.useEffect(()=>{let t=f.current;return t.isMounted=!0,()=>{t.isMounted=!1}},[]),[y,{reset:p,...i}]}function s(t){return{data:void 0,error:void 0,called:!1,loading:!1,client:t}}},21407:(t,e,r)=>{let n;r.d(e,{_:()=>b});var u=r(35769),c=r(76704),l=r(32472),o=r(14134),a=r(12240);function i(){}var s=r(3128),d=r(89730),f=r(65612),y=r(36501);let p=["refetch","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"];function b(t,e){let r=(0,f.m)(e?.client),l=c.useRef(void 0),o=c.useRef(void 0),b=(0,s.k)(()=>e,[e]),v=(n||(n=c.createContext(null)),c.useCallback(()=>{let t=console.error;try{return console.error=i,c.useContext(n),!0}catch(t){return!1}finally{console.error=t}},[]));function P(){return r.watchQuery({...e,query:t,initialFetchPolicy:e?.fetchPolicy,fetchPolicy:"standby"})}let[k,g]=c.useState(r),[m,E]=c.useState(P);k!==r&&(g(r),E(P()));let C=c.useCallback((t,e)=>{let r=o.current?.data;r&&!(0,u.L)(r,t.data)&&(l.current=r),o.current=t,e()},[]),S=(0,y.r)(c.useCallback(t=>{let e=m.subscribe(e=>{(0,u.L)(o.current,e)||C(e,t)});return()=>{e.unsubscribe()}},[m,C]),()=>o.current||h,()=>h),M=c.useMemo(()=>{let t={};for(let e of p)t[e]=function(...t){return(0,a.V1)(o.current,29,e),m[e](...t)};return t},[m]);c.useEffect(()=>{let r={query:t,errorPolicy:b?.errorPolicy,refetchWritePolicy:b?.refetchWritePolicy,returnPartialData:b?.returnPartialData,notifyOnNetworkStatusChange:b?.notifyOnNetworkStatusChange,nextFetchPolicy:e?.nextFetchPolicy,skipPollAttempt:e?.skipPollAttempt};"standby"!==m.options.fetchPolicy&&b?.fetchPolicy&&(r.fetchPolicy=b.fetchPolicy),m.applyOptions(r)},[t,m,b,e?.nextFetchPolicy,e?.skipPollAttempt]);let x=c.useCallback((...t)=>{(0,a.V1)(!v(),30);let[e]=t,r=m.options.fetchPolicy;return"standby"===r&&(r=m.options.initialFetchPolicy),m.reobserve({fetchPolicy:r,variables:e?.variables,context:e?.context??{}})},[m,v]),O=c.useRef(x);return(0,d.E)(()=>{O.current=x}),[c.useCallback((...t)=>O.current(...t),[]),c.useMemo(()=>{let{partial:t,...e}=S;return{...M,...e,client:r,previousData:l.current,variables:m.variables,observable:m,called:!!o.current}},[r,S,M,m])]}let h=(0,o.G)({data:void 0,dataState:"empty",loading:!1,networkStatus:l.p.ready,partial:!0})},36501:(t,e,r)=>{r.d(e,{r:()=>p});var n,u=r(76704),c=r(87762),l=r(10408),o=r(59748),a=r(12240);let i=!1,s=(n||(n=r.t(u,2))).useSyncExternalStore,d="ReactNative"==(0,o.n)(()=>navigator.product),f=(0,o.n)(()=>navigator.userAgent.indexOf("jsdom")>=0)||!1,y=(l.S||d)&&!f,p=s||((t,e,r)=>{let n=e();c.g&&!i&&n!==e()&&(i=!0,a.V1.error(34));let[{inst:l},o]=u.useState({inst:{value:n,getSnapshot:e}});return y?u.useLayoutEffect(()=>{Object.assign(l,{value:n,getSnapshot:e}),b(l)&&o({inst:l})},[t,n,e]):Object.assign(l,{value:n,getSnapshot:e}),u.useEffect(()=>(b(l)&&o({inst:l}),t(function(){b(l)&&o({inst:l})})),[t]),n});function b({value:t,getSnapshot:e}){try{return t!==e()}catch{return!0}}},89730:(t,e,r)=>{r.d(e,{E:()=>u});var n=r(76704);let u=r(10408).S?n.useLayoutEffect:n.useEffect}}]);
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.