1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[665],{3250:function(e,t,n){/** 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 r=n(7294),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},u=r.useState,o=r.useEffect,l=r.useLayoutEffect,a=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}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 n=t(),r=u({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return l(function(){i.value=n,i.getSnapshot=t,s(i)&&c({inst:i})},[e,n,t]),o(function(){return s(i)&&c({inst:i}),e(function(){s(i)&&c({inst:i})})},[e]),a(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},1688:function(e,t,n){e.exports=n(3250)},7462:function(e,t,n){n.d(t,{Z:function(){return r}});function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}},7178:function(e,t,n){n.d(t,{o:function(){return o}});var r=n(7462),i=n(7294),u=n(5320);let o=(0,i.forwardRef)((e,t)=>{let{ratio:n=1,style:o,...l}=e;return(0,i.createElement)("div",{style:{position:"relative",width:"100%",paddingBottom:`${100/n}%`},"data-radix-aspect-ratio-wrapper":""},(0,i.createElement)(u.WV.div,(0,r.Z)({},l,{ref:t,style:{...o,position:"absolute",top:0,right:0,bottom:0,left:0}})))})},8771:function(e,t,n){n.d(t,{F:function(){return i},e:function(){return u}});var r=n(7294);function i(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function u(...e){return(0,r.useCallback)(i(...e),e)}},5320:function(e,t,n){n.d(t,{WV:function(){return l},jH:function(){return a}});var r=n(7462),i=n(7294),u=n(3935),o=n(8426);let l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let Node=(0,i.forwardRef)((e,n)=>{let{asChild:u,...l}=e,a=u?o.g7:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(a,(0,r.Z)({},l,{ref:n}))});return Node.displayName=`Primitive.${t}`,{...e,[t]:Node}},{});function a(e,t){e&&(0,u.flushSync)(()=>
9e.dispatchEvent(t))}},8426:function(e,t,n){n.d(t,{g7:function(){return o}});var r=n(7462),i=n(7294),u=n(8771);let o=(0,i.forwardRef)((e,t)=>{let{children:n,...u}=e,o=i.Children.toArray(n),a=o.find(s);if(a){let e=a.props.children,n=o.map(t=>t!==a?t:i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null);return(0,i.createElement)(l,(0,r.Z)({},u,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,n):null)}return(0,i.createElement)(l,(0,r.Z)({},u,{ref:t}),n)});o.displayName="Slot";let l=(0,i.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,i.isValidElement)(n)?(0,i.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let i=e[r],u=t[r],o=/^on[A-Z]/.test(r);o?i&&u?n[r]=(...e)=>{u(...e),i(...e)}:i&&(n[r]=i):"style"===r?n[r]={...i,...u}:"className"===r&&(n[r]=[i,u].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?(0,u.F)(t,n.ref):n.ref}):i.Children.count(n)>1?i.Children.only(null):null});l.displayName="SlotClone";let a=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function s(e){return(0,i.isValidElement)(e)&&e.type===a}},2003:function(e,t,n){n.d(t,{j:function(){return o}});var r=n(512);let i=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,u=r.W,o=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return u(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:o,defaultVariants:l}=t,a=Object.keys(o).map(e=>{let t=null==n?void 0:n[e],r=null==l?void 0:l[e];if(null===t)return null;let u=i(t)||i(r);return o[e][u]}),s=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{}),c=null==t?void 0:null===(r=t.compoundVariants)||void 0===r?void 0:r.reduce((e,t)=>{let{class:n,className:r,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...s}[t]):({...l,...s})[t]===n})?[...e,n,r]:e},[]);return u(e,a,c,null==n?void 0:n.class,null==n?void 0:n.className)}},1753:function(e,t,n){n.d(t,{$l:function(){return o},BN:function(){return x},DY:function(){return p},Fs:function(){return W},J$:function(){return Z},JG:function(){return M},JN:function(){return _},LI:function(){return L},PM:function(){return s},UG:function(){return q},W6:function(){return T},i_:function(){return u},ko:function(){return Q},kw:function(){return C},mf:function(){return a},o8:function(){return l},qC:function(){return j},s6:function(){return K},sj:function(){return I},u3:function(){return A},u_:function(){return $},w6:function(){return V},xD:function(){return X}});var r=n(7294);let i=()=>{},u=i(),o=Object,l=e=>e===u,a=e=>"function"==typeof e,s=(e,t)=>({...e,...t}),c=e=>a(e.then),f=new WeakMap,d=0,E=e=>{let t,n;let r=typeof e,i=e&&e.constructor,u=i==Date;if(o(e)!==e||u||i==RegExp)t=u?e.toJSON():"symbol"==r?e.toString():"string"==r?JSON.stringify(e):""+e;else{if(t=f.get(e))return t;if(t=++d+"~",f.set(e,t),i==Array){for(n=0,t="@";n<e.length;n++)t+=E(e[n])+",";f.set(e,t)}if(i==o){t="#";let r=o.keys(e).sort();for(;!l(n=r.pop());)l(e[n])||(t+=n+":"+E(e[n])+",");f.set(e,t)}}return t},p=new WeakMap,v={},g={},h="undefined",m=typeof window!=h,y=typeof document!=h,w=()=>m&&typeof window.requestAnimationFrame!=h,_=(e,t)=>
9{let n=p.get(e);return[()=>!l(t)&&e.get(t)||v,r=>{if(!l(t)){let i=e.get(t);t in g||(g[t]=i),n[5](t,s(i,r),i||v)}},n[6],()=>!l(t)&&t in g?g[t]:!l(t)&&e.get(t)||v]},b=!0,[R,O]=m&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[i,i],S={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),R("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),O("focus",e)}),initReconnect:e=>{let t=()=>{b=!0,e()},n=()=>{b=!1};return R("online",t),R("offline",n),()=>{O("online",t),O("offline",n)}}},V=!r.useId,T=!m||"Deno"in window,C=e=>w()?window.requestAnimationFrame(e):setTimeout(e,1),L=T?r.useEffect:r.useLayoutEffect,N="undefined"!=typeof navigator&&navigator.connection,k=!T&&N&&(["slow-2g","2g"].includes(N.effectiveType)||N.saveData),j=e=>{if(a(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?E(e):"",t]},D=0,A=()=>++D;var I={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:2,RECONNECT_EVENT:1};async function x(...e){let[t,n,r,i]=e,o=s({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{}),f=o.populateCache,d=o.rollbackOnError,E=o.optimisticData,v=!1!==o.revalidate,g=e=>"function"==typeof d?d(e):!1!==d,h=o.throwOnError;if(a(n)){let e=[],r=t.keys();for(let i of r)!/^\$(inf|sub)\$/.test(i)&&n(t.get(i)._k)&&e.push(i);return Promise.all(e.map(m))}return m(n);async function m(n){let i;let[o]=j(n);if(!o)return;let[s,d]=_(t,o),[m,y,w,b]=p.get(t),R=()=>{let e=m[o];return v&&(delete w[o],delete b[o],e&&e[0])?e[0](2).then(()=>s().data):s().data};if(e.length<3)return R();let O=r,S=A();y[o]=[S,0];let V=!l(E),T=s(),C=T.data,L=T._c,N=l(L)?C:L;if(V&&d({data:E=a(E)?E(N,C):E,_c:N}),a(O))try{O=O(N)}catch(e){i=e}if(O&&c(O)){if(O=await O.catch(e=>{i=e}),S!==y[o][0]){if(i)throw i;return O}i&&V&&g(i)&&(f=!0,d({data:N,_c:u}))}if(f&&!i){if(a(f)){let e=f(O,N);d({data:e,error:u,_c:u})}else d({data:O,error:u,_c:u})}if(y[o][1]=A(),Promise.resolve(R()).then(()=>{d({_c:u})}),i){if(h)throw i;return}return O}}let P=(e,t)=>{for(let n in e)e[n][0]&&e[n][0](t)},F=(e,t)=>{if(!p.has(e)){let n=s(S,t),r={},o=x.bind(u,e),l=i,a={},c=(e,t)=>{let n=a[e]||[];return a[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);let i=a[t];if(i)for(let e of i)e(n,r)},d=()=>{if(!p.has(e)&&(p.set(e,[r,{},{},{},o,f,c]),!T)){let t=n.initFocus(setTimeout.bind(u,P.bind(u,r,0))),i=n.initReconnect(setTimeout.bind(u,P.bind(u,r,1)));l=()=>{t&&t(),i&&i(),p.delete(e)}}};return d(),[e,o,d,l]}return[e,p.get(e)[4]]},[W,M]=F(new Map),$=s({onLoadingSlow:i,onSuccess:i,onError:i,onErrorRetry:(e,t,n,r,i)=>{let u=n.errorRetryCount,o=i.retryCount,a=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;(l(u)||!(o>u))&&setTimeout(r,a,i)},onDiscarded:i,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:k?5e3:3e3,compare:(e,t)=>E(e)==E(t),isPaused:()=>!1,cache:W,mutate:M,fallback:{}},{isOnline:()=>b,isVisible:()=>{let e=y&&document.visibilityState;return l(e)||"hidden"!==e}}),J=(e,t)=>{let n=s(e,t);if(t){let{use:r,fallback:i}=e,{use:u,fallback:o}=t;r&&u&&(n.use=r.concat(u)),i&&o&&(n.fallback=s(i,o))}return n},U=(0,r.createContext)({}),Z=e=>{let{value:t}=e,n=(0,r.useContext)(U),i=a(t),o=(0,r.useMemo)(()=>i?t(n):t,[i,n,t]),l=(0,r.useMemo)(()=>i?o:J(n,o),[i,n,o]),c=o&&o.provider,f=(0,r.useRef)(u);c&&!f.current&&(f.current=F(c(l.cache||W),o));let d=f.current;return d&&(l.cache=d[0],l.mutate=d[1]),L(()=>{if(d)return d[2]&&d[2](),d[3]},[]),(0,r.createElement)(U.Provider,s(e,{value:l}))},q="$inf$",B=m&&window.__SWR_DEVTOOLS_USE__,G=B?window.__SWR_DEVTOOLS_USE__:[],Y=e=>a(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],H=()=>s($,(0,r.useContext)(U)),z=G.concat(e=>(t,n,r)=>{let i=n&&((...e)=>{let[r]=j(t),[,,,i]=p.get(W);if(r.startsWith(q))return n(...e);let u=i[r];return l(u)?n(...e):(delete i[r],u)});return e(t,i,r)}),K=e=>function(...t){let n=H(),[r,i,u]=Y(t),o=J(n,u),l=e,{use:a}=o,s=(a||[]).concat(z);for(let e=s.length;e--;)l=s[e](l);return l(r,i||o.fetcher||null,o)},Q=(e,t,n)=>{let r=t[e]||(t[e]=[]);return r.push(n),()=>{let e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},X=(e,t)=>(...n)=>{let[r,i,u]=Y(n),o=(u.use||[]).concat(t);return e(r,i,{...u,use:o})};B&&(window.__SWR_DEVTOOLS_REACT__=r)},5591:function(e,t,n){n.d(t,{JG:function(){return u.JG},ZP:function(){return a}});var r=n(7294),i=n(1688),u=n(1753);let o=r.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}),l={dedupe:!0};u.$l.defineProperty(u.J$,"defaultValue",{value:u.u_});let a=(0,u.s6)((e,t,n)=>{let{cache:a,compare:s,suspense:c,fallbackData:f,revalidateOnMount:d,revalidateIfStale:E,refreshInterval:p,refreshWhenHidden:v,refreshWhenOffline:g,keepPreviousData:h}=n,[m,y,w,_]=u.DY.get(a),[b,R]=(0,u.qC)(e),O=(0,r.useRef)(!1),S=(0,r.useRef)(!1),V=(0,r.useRef)(b),T=(0,r.useRef)(t),C=(0,r.useRef)(n),L=()=>
9C.current,N=()=>L().isVisible()&&L().isOnline(),[k,j,D,A]=(0,u.JN)(a,b),I=(0,r.useRef)({}).current,x=(0,u.o8)(f)?n.fallback[b]:f,P=(e,t)=>{for(let n in I)if("data"===n){if(!s(e[n],t[n])&&(!(0,u.o8)(e[n])||!s(B,t[n])))return!1}else if(t[n]!==e[n])return!1;return!0},F=(0,r.useMemo)(()=>{let e=!!b&&!!t&&((0,u.o8)(d)?!L().isPaused()&&!c&&(!!(0,u.o8)(E)||E):d),n=t=>{let n=(0,u.PM)(t);return(delete n._k,e)?{isValidating:!0,isLoading:!0,...n}:n},r=k(),i=A(),o=n(r),l=r===i?o:n(i),a=o;return[()=>{let e=n(k()),t=P(e,a);return t?(a.data=e.data,a.isLoading=e.isLoading,a.isValidating=e.isValidating,a.error=e.error,a):(a=e,e)},()=>l]},[a,b]),W=(0,i.useSyncExternalStore)((0,r.useCallback)(e=>D(b,(t,n)=>{P(n,t)||e()}),[a,b]),F[0],F[1]),M=!O.current,$=m[b]&&m[b].length>0,J=W.data,U=(0,u.o8)(J)?x:J,Z=W.error,q=(0,r.useRef)(U),B=h?(0,u.o8)(J)?q.current:J:U,G=(!$||!!(0,u.o8)(Z))&&(M&&!(0,u.o8)(d)?d:!L().isPaused()&&(c?!(0,u.o8)(U)&&E:(0,u.o8)(U)||E)),Y=!!(b&&t&&M&&G),H=(0,u.o8)(W.isValidating)?Y:W.isValidating,z=(0,u.o8)(W.isLoading)?Y:W.isLoading,K=(0,r.useCallback)(async e=>{let t,r;let i=T.current;if(!b||!i||S.current||L().isPaused())return!1;let o=!0,l=e||{},a=!w[b]||!l.dedupe,c=()=>u.w6?!S.current&&b===V.current&&O.current:b===V.current,f={isValidating:!1,isLoading:!1},d=()=>{j(f)},E=()=>{let e=w[b];e&&e[1]===r&&delete w[b]},p={isValidating:!0};(0,u.o8)(k().data)&&(p.isLoading=!0);try{if(a&&(j(p),n.loadingTimeout&&(0,u.o8)(k().data)&&setTimeout(()=>{o&&c()&&L().onLoadingSlow(b,n)},n.loadingTimeout),w[b]=[i(R),(0,u.u3)()]),[t,r]=w[b],t=await t,a&&setTimeout(E,n.dedupingInterval),!w[b]||w[b][1]!==r)return a&&c()&&L().onDiscarded(b),!1;f.error=u.i_;let e=y[b];if(!(0,u.o8)(e)&&(r<=e[0]||r<=e[1]||0===e[1]))return d(),a&&c()&&L().onDiscarded(b),!1;let l=k().data;f.data=s(l,t)?l:t,a&&c()&&L().onSuccess(t,b,n)}catch(n){E();let e=L(),{shouldRetryOnError:t}=e;!e.isPaused()&&(f.error=n,a&&c()&&(e.onError(n,b,e),(!0===t||(0,u.mf)(t)&&t(n))&&N()&&e.onErrorRetry(n,b,e,e=>{let t=m[b];t&&t[0]&&t[0](u.sj.ERROR_REVALIDATE_EVENT,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return o=!1,d(),!0},[b,a]),Q=(0,r.useCallback)((...e)=>(0,u.BN)(a,V.current,...e),[]);if((0,u.LI)(()=>{T.current=t,C.current=n,(0,u.o8)(J)||(q.current=J)}),(0,u.LI)(()=>{if(!b)return;let e=K.bind(u.i_,l),t=0,n=(0,u.ko)(b,m,(n,r={})=>{if(n==u.sj.FOCUS_EVENT){let n=Date.now();L().revalidateOnFocus&&n>t&&N()&&(t=n+L().focusThrottleInterval,e())}else if(n==u.sj.RECONNECT_EVENT)L().revalidateOnReconnect&&N()&&e();else if(n==u.sj.MUTATE_EVENT)return K();else if(n==u.sj.ERROR_REVALIDATE_EVENT)return K(r)});return S.current=!1,V.current=b,O.current=!0,j({_k:R}),G&&((0,u.o8)(U)||u.W6?e():(0,u.kw)(e)),()=>{S.current=!0,n()}},[b]),(0,u.LI)(()=>{let e;function t(){let t=(0,u.mf)(p)?p(k().data):p;t&&-1!==e&&(e=setTimeout(n,t))}function n(){!k().error&&(v||L().isVisible())&&(g||L().isOnline())?K(l).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[p,v,g,b]),(0,r.useDebugValue)(B),c&&(0,u.o8)(U)&&b){if(!u.w6&&u.W6)throw Error("Fallback data is required when using suspense in SSR.");T.current=t,C.current=n,S.current=!1;let e=_[b];if(!(0,u.o8)(e)){let t=Q(e);o(t)}if((0,u.o8)(Z)){let e=K(l);(0,u.o8)(B)||(e.status="fulfilled",e.value=!0),o(e)}else throw Z}return{mutate:Q,get data(){return I.data=!0,B},get error(){return I.error=!0,Z},get isValidating(){return I.isValidating=!0,H},get isLoading(){return I.isLoading=!0,z}}})}}]);
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.