"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20441],{46072:(r,t,e)=>{e.d(t,{_:()=>i});var n=e(91177),o=e(44603);function i(r,t){var e="object"==typeof t;return new Promise(function(i,u){var c=new o.Ms({next:function(r){i(r),c.unsubscribe()},error:u,complete:function(){e?i(t.defaultValue):u(new n.G)}});r.subscribe(c)})}},91177:(r,t,e)=>{e.d(t,{G:()=>n});var n=(0,e(90818).L)(function(r){return function(){r(this),this.name="EmptyError",this.message="no elements in sequence"}})},86829:(r,t,e)=>{e.d(t,{E:()=>o});var n=e(48906),o=e(51333).Sw?n.useLayoutEffect:n.useEffect},95391:(r,t,e)=>{e.d(t,{IT:()=>w,jy:()=>P});var n=e(75917),o=e(36633),i=e(48906),u=e(830),c=e(63733),a=e(34358),s=e(1331),l=e(19079),f=e(17523),b=e(61719),v=e(81777),d=e(1025),p=e(50298),h=e(25177),y=e(23959),_=Object.prototype.hasOwnProperty;function m(){}var g=Symbol();function w(r,t){return void 0===t&&(t=Object.create(null)),(0,y.Y)("useQuery",E,(0,v.m)(t&&t.client))(r,t)}function E(r,t){var e,o,a,l,d,p,h,y,w,E,P,j,R,q,M,Q,A,V,L,F,G,K,z,I,N=(d=(0,v.m)(t.client),h=!!(p=i.useContext((0,s.l)()).renderPromises),y=d.disableNetworkFetches,w=!1!==t.ssr&&!t.skip,E=t.partialRefetch,void 0===(e=t)&&(e={}),o=e.skip,e.ssr,e.onCompleted,e.onError,a=e.defaultOptions,l=(0,n.Tt)(e,["skip","ssr","onCompleted","onError","defaultOptions"]),P=function(t){var e=Object.assign(l,{query:r});return h&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e.fetchPolicy="cache-first"),e.variables||(e.variables={}),o?(e.initialFetchPolicy=e.initialFetchPolicy||e.fetchPolicy||O(a,d.defaultOptions),e.fetchPolicy="standby"):e.fetchPolicy||(e.fetchPolicy=(null==t?void 0:t.options.initialFetchPolicy)||O(a,d.defaultOptions)),e},q=(R=(j=function(r,t,e,o,u){function c(n){var i;return(0,b.D$)(t,b.KG.Query),{client:r,query:t,observable:o&&o.getSSRObservable(u())||r.watchQuery(S(void 0,r,e,u())),resultData:{previousData:null===(i=null==n?void 0:n.resultData.current)||void 0===i?void 0:i.data}}}var a=i.useState(c),s=a[0],l=a[1];function f(r){Object.assign(s.observable,((t={})[g]=r,t));var t,e,o=s.resultData;l((0,n.Cl)((0,n.Cl)({},s),{query:r.query,resultData:Object.assign(o,{previousData:(null===(e=o.current)||void 0===e?void 0:e.data)||o.previousData,current:void 0})}))}if(r!==s.client||t!==s.query){var v=c(s);return l(v),[v,f]}return[s,f]}(d,r,t,p,P))[0]).observable,M=R.resultData,Q=j[1],A=P(q),q[g]&&!(0,c.L)(q[g],A)&&(q.reobserve(S(q,d,t,A)),M.previousData=(null===(V=M.current)||void 0===V?void 0:V.data)||M.previousData,M.current=void 0),q[g]=A,L=i.useMemo(function(){return{refetch:q.refetch.bind(q),reobserve:q.reobserve.bind(q),fetchMore:q.fetchMore.bind(q),updateQuery:q.updateQuery.bind(q),startPolling:q.startPolling.bind(q),stopPolling:q.stopPolling.bind(q),subscribeToMore:q.subscribeToMore.bind(q)}},[q]),p&&w&&(p.registerSSRObservable(q),q.getCurrentResult().loading&&p.addObservableQueryPromise(q)),{result:(F={onCompleted:t.onCompleted||m,onError:t.onError||m},G=i.useRef(F),i.useEffect(function(){G.current=F}),K=(h||y)&&!1===t.ssr&&!t.skip?x:t.skip||"standby"===A.fetchPolicy?D:void 0,z=M.previousData,I=i.useMemo(function(){return K&&T(K,z,q,d)},[d,q,K,z]),(0,u.r)(i.useCallback(function(r){if(h)return function(){};var t=function(){var t=M.current,e=q.getCurrentResult();t&&t.loading===e.loading&&t.networkStatus===e.networkStatus&&(0,c.L)(t.data,e.data)||k(e,M,q,d,E,r,G.current)},e=function(o){if(n.current.unsubscribe(),n.current=q.resubscribeAfterError(t,e),!_.call(o,"graphQLErrors"))throw o;var i=M.current;(!i||i&&i.loading||!(0,c.L)(o,i.error))&&k({data:i&&i.data,error:o,loading:!1,networkStatus:f.pT.error},M,q,d,E,r,G.current)},n={current:q.subscribe(t,e)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[y,h,q,M,E,d]),function(){return I||C(M,q,G.current,E,d)},function(){return I||C(M,q,G.current,E,d)})),obsQueryFields:L,observable:q,resultData:M,client:d,onQueryExecuted:Q}),U=N.result,$=N.obsQueryFields;return i.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},U),$)},[U,$])}function S(r,t,e,n){var o=[],i=t.defaultOptions.watchQuery;return i&&o.push(i),e.defaultOptions&&o.push(e.defaultOptions),o.push((0,d.o)(r&&r.options,n)),o.reduce(a.l)}function k(r,t,e,i,u,c,a){var s=t.current;s&&s.data&&(t.previousData=s.data),!r.error&&(0,p.E)(r.errors)&&(r.error=new l.K4({graphQLErrors:r.errors})),t.current=T(r.partial&&u&&!r.loading&&(!r.data||0===Object.keys(r.data).length)&&"cache-only"!==e.options.fetchPolicy?(e.refetch(),(0,n.Cl)((0,n.Cl)({},r),{loading:!0,networkStatus:f.pT.refetch})):r,t.previousData,e,i),c(),function(r,t,e){if(!r.loading){var n=P(r);Promise.resolve().then(function(){n?e.onError(n):r.data&&t!==r.networkStatus&&r.networkStatus===f.pT.ready&&e.onCompleted(r.data)}).catch(function(r){!1!==globalThis.__DEV__&&o.V1.warn(r)})}}(r,null==s?void 0:s.networkStatus,a)}function C(r,t,e,n,o){return r.current||k(t.getCurrentResult(),r,t,o,n,function(){},e),r.current}function O(r,t){var e;return(null==r?void 0:r.fetchPolicy)||(null===(e=null==t?void 0:t.watchQuery)||void 0===e?void 0:e.fetchPolicy)||"cache-first"}function P(r){return(0,p.E)(r.errors)?new l.K4({graphQLErrors:r.errors}):r.error}function T(r,t,e,o){var i=r.data,u=(r.partial,(0,n.Tt)(r,["data","partial"]));return(0,n.Cl)((0,n.Cl)({data:i},u),{client:o,observable:e,variables:e.variables,called:r!==x&&r!==D,previousData:t})}var x=(0,h.G)({loading:!0,data:void 0,error:void 0,networkStatus:f.pT.loading}),D=(0,h.G)({loading:!1,data:void 0,error:void 0,networkStatus:f.pT.ready})},5116:(r,t,e)=>{e.d(t,{R:()=>p});var n=e(75917),o=e(36633),i=e(48906),u=e(63733),c=e(61719),a=e(19079),s=e(37755),l=e(81777),f=e(2183),b=e(830),v=e(95391),d=e(86829);function p(r,t){void 0===t&&(t=Object.create(null));var e=i.useRef(!1),p=(0,l.m)(t.client);(0,c.D$)(r,c.KG.Subscription),!e.current&&(e.current=!0,t.onSubscriptionData&&!1!==globalThis.__DEV__&&o.V1.warn(t.onData?61:62),t.onSubscriptionComplete&&!1!==globalThis.__DEV__&&o.V1.warn(t.onComplete?63:64));var h=t.skip,y=t.fetchPolicy,_=t.errorPolicy,m=t.shouldResubscribe,g=t.context,w=t.extensions,E=t.ignoreResults,S=(0,f.k)(function(){return t.variables},[t.variables]),k=function(){var t,e,o;return t={query:r,variables:S,fetchPolicy:y,errorPolicy:_,context:g,extensions:w},e=(0,n.Cl)((0,n.Cl)({},t),{client:p,result:{loading:!0,data:void 0,error:void 0,variables:S},setResult:function(r){e.result=r}}),o=null,Object.assign(new s.c(function(r){o||(o=p.subscribe(t));var e=o.subscribe(r);return function(){return e.unsubscribe()}}),{__:e})},C=i.useState(t.skip?null:k),O=C[0],P=C[1],T=i.useRef(k);(0,d.E)(function(){T.current=k}),h?O&&P(O=null):O&&(p===O.__.client&&r===O.__.query&&y===O.__.fetchPolicy&&_===O.__.errorPolicy&&(0,u.L)(S,O.__.variables)||("function"==typeof m?!!m(t):m)===!1)||P(O=k());var x=i.useRef(t);i.useEffect(function(){x.current=t});var D=!h&&!E,j=i.useMemo(function(){return{loading:D,error:void 0,data:void 0,variables:S}},[D,S]),R=i.useRef(E);(0,d.E)(function(){R.current=E});var q=(0,b.r)(i.useCallback(function(r){if(!O)return function(){};var t=!1,e=O.__.variables,n=O.__.client,o=O.subscribe({next:function(o){if(!t){var i,u,c={loading:!1,data:o.data,error:(0,v.jy)(o),variables:e};O.__.setResult(c),R.current||r(),c.error?null===(u=(i=x.current).onError)||void 0===u||u.call(i,c.error):x.current.onData?x.current.onData({client:n,data:c}):x.current.onSubscriptionData&&x.current.onSubscriptionData({client:n,subscriptionData:c})}},error:function(n){var o,i;n=n instanceof a.K4?n:new a.K4({protocolErrors:[n]}),t||(O.__.setResult({loading:!1,data:void 0,error:n,variables:e}),R.current||r(),null===(i=(o=x.current).onError)||void 0===i||i.call(o,n))},complete:function(){!t&&(x.current.onComplete?x.current.onComplete():x.current.onSubscriptionComplete&&x.current.onSubscriptionComplete())}});return function(){t=!0,setTimeout(function(){o.unsubscribe()})}},[O]),function(){return!O||h||E?j:O.__.result},function(){return j}),M=i.useCallback(function(){(0,o.V1)(!x.current.skip,65),P(T.current())},[x,T]);return i.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},q),{restart:M})},[q,M])}},830:(r,t,e)=>{e.d(t,{r:()=>a});var n,o=e(36633),i=e(48906),u=e(51333),c=!1,a=(n||(n=e.t(i,2))).useSyncExternalStore||function(r,t,e){var n=t();!1===globalThis.__DEV__||c||n===t()||(c=!0,!1!==globalThis.__DEV__&&o.V1.error(68));var a=i.useState({inst:{value:n,getSnapshot:t}}),l=a[0].inst,f=a[1];return u.JR?i.useLayoutEffect(function(){Object.assign(l,{value:n,getSnapshot:t}),s(l)&&f({inst:l})},[r,n,t]):Object.assign(l,{value:n,getSnapshot:t}),i.useEffect(function(){return s(l)&&f({inst:l}),r(function(){s(l)&&f({inst:l})})},[r]),n};function s(r){var t=r.value,e=r.getSnapshot;try{return t!==e()}catch(r){return!0}}},1025:(r,t,e)=>{e.d(t,{o:()=>n});function n(){for(var r=[],t=0;t<arguments.length;t++)r[t]=arguments[t];var e=Object.create(null);return r.forEach(function(r){r&&Object.keys(r).forEach(function(t){var n=r[t];void 0!==n&&(e[t]=n)})}),e}},25177:(r,t,e)=>{e.d(t,{G:()=>o});var n=e(20436);function o(r){if(!1!==globalThis.__DEV__){var t;(t=new Set([r])).forEach(function(r){(0,n.U)(r)&&function(r){if(!1!==globalThis.__DEV__&&!Object.isFrozen(r))try{Object.freeze(r)}catch(r){if(r instanceof TypeError)return null;throw r}return r}(r)===r&&Object.getOwnPropertyNames(r).forEach(function(e){(0,n.U)(r[e])&&t.add(r[e])})})}return r}},34358:(r,t,e)=>{e.d(t,{l:()=>i});var n=e(75917),o=e(1025);function i(r,t){return(0,o.o)(r,t,t.variables&&{variables:(0,o.o)((0,n.Cl)((0,n.Cl)({},r&&r.variables),t.variables))})}},53703:(r,t,e)=>{e.d(t,{A:()=>n});var n=(0,e(15696).A)("outline","x","IconX",[["path",{d:"M18 6l-12 12",key:"svg-0"}],["path",{d:"M6 6l12 12",key:"svg-1"}]])},37755:(r,t,e)=>{function n(r,t){(null==t||t>r.length)&&(t=r.length);for(var e=0,n=Array(t);e<t;e++)n[e]=r[e];return n}function o(r,t){for(var e=0;e<t.length;e++){var n=t[e];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,n.key,n)}}function i(r,t,e){return t&&o(r.prototype,t),e&&o(r,e),Object.defineProperty(r,"prototype",{writable:!1}),r}e.d(t,{c:()=>E});var u=function(){return"function"==typeof Symbol},c=function(r){return u()&&!!Symbol[r]},a=function(r){return c(r)?Symbol[r]:"@@"+r};u()&&!c("observable")&&(Symbol.observable=Symbol("observable"));var s=a("iterator"),l=a("observable"),f=a("species");function b(r,t){var e=r[t];if(null!=e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e}}function v(r){var t=r.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:E}function d(r){d.log?d.log(r):setTimeout(function(){throw r})}function p(r){Promise.resolve().then(function(){try{r()}catch(r){d(r)}})}function h(r){var t=r._cleanup;if(void 0!==t){if(r._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var e=b(t,"unsubscribe");e&&e.call(t)}}catch(r){d(r)}}}function y(r){r._observer=void 0,r._queue=void 0,r._state="closed"}function _(r,t,e){r._state="running";var n=r._observer;try{var o=b(n,t);switch(t){case"next":o&&o.call(n,e);break;case"error":if(y(r),o)o.call(n,e);else throw e;break;case"complete":y(r),o&&o.call(n)}}catch(r){d(r)}"closed"===r._state?h(r):"running"===r._state&&(r._state="ready")}function m(r,t,e){if("closed"!==r._state){if("buffering"===r._state){r._queue.push({type:t,value:e});return}if("ready"!==r._state){r._state="buffering",r._queue=[{type:t,value:e}],p(function(){return function(r){var t=r._queue;if(t){r._queue=void 0,r._state="ready";for(var e=0;e<t.length&&(_(r,t[e].type,t[e].value),"closed"!==r._state);++e);}}(r)});return}_(r,t,e)}}var g=function(){function r(r,t){this._cleanup=void 0,this._observer=r,this._queue=void 0,this._state="initializing";var e=new w(this);try{this._cleanup=t.call(void 0,e)}catch(r){e.error(r)}"initializing"===this._state&&(this._state="ready")}return r.prototype.unsubscribe=function(){"closed"!==this._state&&(y(this),h(this))},i(r,[{key:"closed",get:function(){return"closed"===this._state}}]),r}(),w=function(){function r(r){this._subscription=r}var t=r.prototype;return t.next=function(r){m(this._subscription,"next",r)},t.error=function(r){m(this._subscription,"error",r)},t.complete=function(){m(this._subscription,"complete")},i(r,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),r}(),E=function(){function r(t){if(!(this instanceof r))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=r.prototype;return t.subscribe=function(r){return("object"!=typeof r||null===r)&&(r={next:r,error:arguments[1],complete:arguments[2]}),new g(r,this._subscriber)},t.forEach=function(r){var t=this;return new Promise(function(e,n){if("function"!=typeof r){n(TypeError(r+" is not a function"));return}function o(){i.unsubscribe(),e()}var i=t.subscribe({next:function(t){try{r(t,o)}catch(r){n(r),i.unsubscribe()}},error:n,complete:e})})},t.map=function(r){var t=this;if("function"!=typeof r)throw TypeError(r+" is not a function");return new(v(this))(function(e){return t.subscribe({next:function(t){try{t=r(t)}catch(r){return e.error(r)}e.next(t)},error:function(r){e.error(r)},complete:function(){e.complete()}})})},t.filter=function(r){var t=this;if("function"!=typeof r)throw TypeError(r+" is not a function");return new(v(this))(function(e){return t.subscribe({next:function(t){try{if(!r(t))return}catch(r){return e.error(r)}e.next(t)},error:function(r){e.error(r)},complete:function(){e.complete()}})})},t.reduce=function(r){var t=this;if("function"!=typeof r)throw TypeError(r+" is not a function");var e=v(this),n=arguments.length>1,o=!1,i=arguments[1],u=i;return new e(function(e){return t.subscribe({next:function(t){var i=!o;if(o=!0,!i||n)try{u=r(u,t)}catch(r){return e.error(r)}else u=t},error:function(r){e.error(r)},complete:function(){if(!o&&!n)return e.error(TypeError("Cannot reduce an empty sequence"));e.next(u),e.complete()}})})},t.concat=function(){for(var r=this,t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];var o=v(this);return new o(function(t){var n,i=0;return function r(u){n=u.subscribe({next:function(r){t.next(r)},error:function(r){t.error(r)},complete:function(){i===e.length?(n=void 0,t.complete()):r(o.from(e[i++]))}})}(r),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(r){var t=this;if("function"!=typeof r)throw TypeError(r+" is not a function");var e=v(this);return new e(function(n){var o=[],i=t.subscribe({next:function(t){if(r)try{t=r(t)}catch(r){return n.error(r)}var i=e.from(t).subscribe({next:function(r){n.next(r)},error:function(r){n.error(r)},complete:function(){var r=o.indexOf(i);r>=0&&o.splice(r,1),u()}});o.push(i)},error:function(r){n.error(r)},complete:function(){u()}});function u(){i.closed&&0===o.length&&n.complete()}return function(){o.forEach(function(r){return r.unsubscribe()}),i.unsubscribe()}})},t[l]=function(){return this},r.from=function(t){var e="function"==typeof this?this:r;if(null==t)throw TypeError(t+" is not an object");var o=b(t,l);if(o){var i=o.call(t);if(Object(i)!==i)throw TypeError(i+" is not an object");return i instanceof E&&i.constructor===e?i:new e(function(r){return i.subscribe(r)})}if(c("iterator")&&(o=b(t,s)))return new e(function(r){p(function(){if(!r.closed){for(var e,i=function(r,t){var e="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(e)return(e=e.call(r)).next.bind(e);if(Array.isArray(r)||(e=function(r,t){if(r){if("string"==typeof r)return n(r,void 0);var e=Object.prototype.toString.call(r).slice(8,-1);if("Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e)return Array.from(r);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return n(r,void 0)}}(r))){e&&(r=e);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(o.call(t));!(e=i()).done;){var u=e.value;if(r.next(u),r.closed)return}r.complete()}})});if(Array.isArray(t))return new e(function(r){p(function(){if(!r.closed){for(var e=0;e<t.length;++e)if(r.next(t[e]),r.closed)return;r.complete()}})});throw TypeError(t+" is not observable")},r.of=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return new("function"==typeof this?this:r)(function(r){p(function(){if(!r.closed){for(var t=0;t<e.length;++t)if(r.next(e[t]),r.closed)return;r.complete()}})})},i(r,null,[{key:f,get:function(){return this}}]),r}();u()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:l,hostReportError:d},configurable:!0})}}]);