1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[734],{3250:function(e,t,r){/** 2 * @license React 3 * use-sync-external-store-shim.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var n=r(7294),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,u=n.useEffect,o=n.useLayoutEffect,l=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!i(e,r)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),i=n[0].inst,c=n[1];return o(function(){i.value=r,i.getSnapshot=t,s(i)&&c({inst:i})},[e,r,t]),u(function(){return s(i)&&c({inst:i}),e(function(){s(i)&&c({inst:i})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:c},1688:function(e,t,r){e.exports=r(3250)},9734:function(e,t,r){r.d(t,{ZP:function(){return ee}});var n,i=r(7294),a=r(1688);let u=()=>{},o=u(),l=Object,s=e=>e===o,c=e=>"function"==typeof e,d=(e,t)=>({...e,...t}),f=e=>c(e.then),E=new WeakMap,g=0,w=e=>{let t,r;let n=typeof e,i=e&&e.constructor,a=i==Date;if(l(e)!==e||a||i==RegExp)t=a?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=E.get(e))return t;if(t=++g+"~",E.set(e,t),i==Array){for(r=0,t="@";r<e.length;r++)t+=w(e[r])+",";E.set(e,t)}if(i==l){t="#";let n=l.keys(e).sort();for(;!s(r=n.pop());)s(e[r])||(t+=r+":"+w(e[r])+",");E.set(e,t)}}return t},p=new WeakMap,h={},v={},_="undefined",y=typeof window!=_,R=typeof document!=_,m=()=>y&&typeof window.requestAnimationFrame!=_,T=(e,t)=>{let r=p.get(e);return[()=>!s(t)&&e.get(t)||h,n=>{if(!s(t)){let i=e.get(t);t in v||(v[t]=i),r[5](t,d(i,n),i||h)}},r[6],()=>!s(t)&&t in v?v[t]:!s(t)&&e.get(t)||h]},b=!0,[S,O]=y&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[u,u],V={initFocus:e=>(R&&document.addEventListener("visibilitychange",e),S("focus",e),()=>{R&&document.removeEventListener("visibilitychange",e),O("focus",e)}),initReconnect:e=>{let t=()=>{b=!0,e()},r=()=>{b=!1};return S("online",t),S("offline",r),()=>{O("online",t),O("offline",r)}}},L=!i.useId,k=!y||"Deno"in window,C=e=>m()?window.requestAnimationFrame(e):setTimeout(e,1),N=k?i.useEffect:i.useLayoutEffect,D="undefined"!=typeof navigator&&navigator.connection,A=!k&&D&&(["slow-2g","2g"].includes(D.effectiveType)||D.saveData),x=e=>{if(c(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?w(e):"",t]},I=0,F=()=>++I;var M={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function P(...e){let[t,r,n,i]=e,a=d({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),u=a.populateCache,l=a.rollbackOnError,E=a.optimisticData,g=!1!==a.revalidate,w=e=>"function"==typeof l?l(e):!1!==l,h=a.throwOnError;if(c(r)){let e=[],n=t.keys();for(let i of n)!/^\$(inf|sub)\$/.test(i)&&r(t.get(i)._k)&&e.push(i);return Promise.all(e.map(v))}return v(r);async function v(r){let i;let[a]=x(r);if(!a)return;let[l,d]=T(t,a),[v,_,y,R]=p.get(t),m=v[a],b=()=>g&&(delete y[a],delete R[a],m&&m[0])?m[0](2).then(()=>l().data):l().data;if(e.length<3)return b();let S=n,O=F();_[a]=[O,0];let V=!s(E),L=l(),k=L.data,C=L._c,N=s(C)?k:C;if(V&&d({data:E=c(E)?E(N,k):E,_c:N}),c(S))try{S=S(N)}catch(e){i=e}if(S&&f(S)){if(S=await S.catch(e=>{i=e}),O!==_[a][0]){if(i)throw i;return S}i&&V&&w(i)&&(u=!0,d({data:S=N,_c:o}))}u&&!i&&(c(u)&&(S=u(S,N)),d({data:S,error:o,_c:o})),_[a][1]=F();let D=await b();if(d({_c:o}),i){if(h)throw i;return}return u?D:S}}let U=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},j=(e,t)=>{if(!p.has(e)){let r=d(V,t),n={},i=P.bind(o,e),a=u,l={},s=(e,t)=>{let r=l[e]||[];return l[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},c=(t,r,n)=>{e.set(t,r);let i=l[t];if(i)for(let e of i)e(r,n)},f=()=>{if(!p.has(e)&&(p.set(e,[n,{},{},{},i,c,s]),!k)){let t=r.initFocus(setTimeout.bind(o,U.bind(o,n,0))),i=r.initReconnect(setTimeout.bind(o,U.bind(o,n,1)));a=()=>{t&&t(),i&&i(),p.delete(e)}}};return f(),[e,i,f,a]}return[e,p.get(e)[4]]},[W,q]=j(new Map),J=d({onLoadingSlow:u,onSuccess:u,onError:u,onErrorRetry:(e,t,r,n,i)=>{let a=r.errorRetryCount,u=i.retryCount,o=~~((Math.random()+.5)*(1<<(u<8?u:8)))*r.errorRetryInterval;(s(a)||!(u>a))&&setTimeout(n,o,i)},onDiscarded:u,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:(e,t)=>
9w(e)==w(t),isPaused:()=>!1,cache:W,mutate:q,fallback:{}},{isOnline:()=>b,isVisible:()=>{let e=R&&document.visibilityState;return s(e)||"hidden"!==e}}),$=(e,t)=>{let r=d(e,t);if(t){let{use:n,fallback:i}=e,{use:a,fallback:u}=t;n&&a&&(r.use=n.concat(a)),i&&u&&(r.fallback=d(i,u))}return r},Z=(0,i.createContext)({}),z=y&&window.__SWR_DEVTOOLS_USE__,B=z?window.__SWR_DEVTOOLS_USE__:[],G=e=>c(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],H=()=>d(J,(0,i.useContext)(Z)),K=B.concat(e=>(t,r,n)=>{let i=r&&((...e)=>{let[n]=x(t),[,,,i]=p.get(W),a=i[n];return s(a)?r(...e):(delete i[n],a)});return e(t,i,n)}),Q=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}};z&&(window.__SWR_DEVTOOLS_REACT__=i);let X=i.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),Y={dedupe:!0};l.defineProperty(e=>{let{value:t}=e,r=(0,i.useContext)(Z),n=c(t),a=(0,i.useMemo)(()=>n?t(r):t,[n,r,t]),u=(0,i.useMemo)(()=>n?a:$(r,a),[n,r,a]),l=a&&a.provider,s=(0,i.useRef)(o);l&&!s.current&&(s.current=j(l(u.cache||W),a));let f=s.current;return f&&(u.cache=f[0],u.mutate=f[1]),N(()=>{if(f)return f[2]&&f[2](),f[3]},[]),(0,i.createElement)(Z.Provider,d(e,{value:u}))},"defaultValue",{value:J});let ee=(n=(e,t,r)=>{let{cache:n,compare:u,suspense:l,fallbackData:f,revalidateOnMount:E,revalidateIfStale:g,refreshInterval:w,refreshWhenHidden:h,refreshWhenOffline:v,keepPreviousData:_}=r,[y,R,m,b]=p.get(n),[S,O]=x(e),V=(0,i.useRef)(!1),D=(0,i.useRef)(!1),A=(0,i.useRef)(S),I=(0,i.useRef)(t),U=(0,i.useRef)(r),j=()=>U.current,W=()=>j().isVisible()&&j().isOnline(),[q,J,$,Z]=T(n,S),z=(0,i.useRef)({}).current,B=s(f)?r.fallback[S]:f,G=(e,t)=>{for(let r in z)if("data"===r){if(!u(e[r],t[r])&&(!s(e[r])||!u(eu,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},H=(0,i.useMemo)(()=>{let e=!!S&&!!t&&(s(E)?!j().isPaused()&&!l&&(!!s(g)||g):E),r=t=>{let r=d(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=q(),i=Z(),a=r(n),u=n===i?a:r(i),o=a;return[()=>{let e=r(q()),t=G(e,o);return t?(o.data=e.data,o.isLoading=e.isLoading,o.isValidating=e.isValidating,o.error=e.error,o):(o=e,e)},()=>u]},[n,S]),K=(0,a.useSyncExternalStore)((0,i.useCallback)(e=>$(S,(t,r)=>{G(r,t)||e()}),[n,S]),H[0],H[1]),ee=!V.current,et=y[S]&&y[S].length>0,er=K.data,en=s(er)?B:er,ei=K.error,ea=(0,i.useRef)(en),eu=_?s(er)?ea.current:er:en,eo=(!et||!!s(ei))&&(ee&&!s(E)?E:!j().isPaused()&&(l?!s(en)&&g:s(en)||g)),el=!!(S&&t&&ee&&eo),es=s(K.isValidating)?el:K.isValidating,ec=s(K.isLoading)?el:K.isLoading,ed=(0,i.useCallback)(async e=>{let t,n;let i=I.current;if(!S||!i||D.current||j().isPaused())return!1;let a=!0,l=e||{},d=!m[S]||!l.dedupe,f=()=>L?!D.current&&S===A.current&&V.current:S===A.current,E={isValidating:!1,isLoading:!1},g=()=>{J(E)},w=()=>{let e=m[S];e&&e[1]===n&&delete m[S]},p={isValidating:!0};s(q().data)&&(p.isLoading=!0);try{if(d&&(J(p),r.loadingTimeout&&s(q().data)&&setTimeout(()=>{a&&f()&&j().onLoadingSlow(S,r)},r.loadingTimeout),m[S]=[i(O),F()]),[t,n]=m[S],t=await t,d&&setTimeout(w,r.dedupingInterval),!m[S]||m[S][1]!==n)return d&&f()&&j().onDiscarded(S),!1;E.error=o;let e=R[S];if(!s(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return g(),d&&f()&&j().onDiscarded(S),!1;let l=q().data;E.data=u(l,t)?l:t,d&&f()&&j().onSuccess(t,S,r)}catch(r){w();let e=j(),{shouldRetryOnError:t}=e;!e.isPaused()&&(E.error=r,d&&f()&&(e.onError(r,S,e),(!0===t||c(t)&&t(r))&&W()&&e.onErrorRetry(r,S,e,e=>{let t=y[S];t&&t[0]&&t[0](M.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return a=!1,g(),!0},[S,n]),ef=(0,i.useCallback)((...e)=>P(n,A.current,...e),[]);if(N(()=>{I.current=t,U.current=r,s(er)||(ea.current=er)}),N(()=>{if(!S)return;let e=ed.bind(o,Y),t=0,r=Q(S,y,(r,n={})=>{if(r==M.FOCUS_EVENT){let r=Date.now();j().revalidateOnFocus&&r>t&&W()&&(t=r+j().focusThrottleInterval,e())}else if(r==M.RECONNECT_EVENT)j().revalidateOnReconnect&&W()&&e();else if(r==M.MUTATE_EVENT)return ed();else if(r==M.ERROR_REVALIDATE_EVENT)return ed(n)});return D.current=!1,A.current=S,V.current=!0,J({_k:O}),eo&&(s(en)||k?e():C(e)),()=>{D.current=!0,r()}},[S]),N(()=>{let e;function t(){let t=c(w)?w(q().data):w;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!q().error&&(h||j().isVisible())&&(v||j().isOnline())?ed(Y).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[w,h,v,S]),(0,i.useDebugValue)(eu),l&&s(en)&&S){if(!L&&k)throw Error("Fallback data is required when using suspense in SSR.");I.current=t,U.current=r,D.current=!1;let e=b[S];if(!s(e)){let t=ef(e);X(t)}if(s(ei)){let e=ed(Y);s(eu)||(e.status="fulfilled",e.value=!0),X(e)}else throw ei}return{mutate:ef,get data(){return z.data=!0,eu},get error(){return z.error=!0,ei},get isValidating(){return z.isValidating=!0,es},get isLoading(){return z.isLoading=!0,ec}}},function(...e){let t=H(),[r,i,a]=G(e),u=$(t,a),o=n,{use:l}=u,s=(l||[]).concat(K);for(let e=s.length;e--;)o=s[e](o);return o(r,i||u.fetcher||null,u)})}}]);
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.