1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1306],{80852:function(e,t,r){var n=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.ApolloNextAppProvider=t.ApolloClientSingleton=void 0;let a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t}(r(2265)),s=r(40448),u=r(60798);t.ApolloClientSingleton=Symbol.for("ApolloClientSingleton"),t.ApolloNextAppProvider=e=>{var r,{makeClient:n,children:i}=e,c=o(e,["makeClient","children"]);let l=a.useRef();return"undefined"!=typeof window?l.current=null!==(r=window[t.ApolloClientSingleton])&&void 0!==r?r:window[t.ApolloClientSingleton]=n():l.current||(l.current=n()),a.createElement(s.ApolloProvider,{client:l.current},a.createElement(u.RehydrationContextProvider,Object.assign({},c),i))}},97042:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ApolloBackgroundQueryTransport=t.ApolloSSRDataTransport=t.ApolloResultCache=t.ApolloRehydrationCache=void 0,t.ApolloRehydrationCache=Symbol.for("ApolloRehydrationCache"),t.ApolloResultCache=Symbol.for("ApolloResultCache"),t.ApolloSSRDataTransport=Symbol.for("ApolloSSRDataTransport"),t.ApolloBackgroundQueryTransport=Symbol.for("ApolloBackgroundQueryTransport")},49149:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NextSSRApolloClient=void 0;let i=r(40448),o=r(74512),a=r(42842),s=r(80613),u=r(97042),c=n(r(4044));function l(e){return e.queryManager}class f extends i.ApolloClient{constructor(e){super(e),this.rehydrationContext={incomingBackgroun
1dQueries:[]},this.simulatedStreamingQueries=new Map,this.registerWindowHook()}identifyUniqueQuery(e){let t=this.documentTransform.transformDocument(e.query),{serverQuery:r}=l(this).getDocumentInfo(t);if(!r)throw Error("could not identify unique query");let n=(0,a.canonicalStringify)(e.variables||{}),i=[(0,o.print)(r),n].toString();return{query:r,cacheKey:i,varJson:n}}registerWindowHook(){"undefined"!=typeof window&&(Array.isArray(window[u.ApolloBackgroundQueryTransport]||[])&&((0,s.registerLateInitializingQueue)(u.ApolloBackgroundQueryTransport,e=>{var t;if("complete"===document.readyState)return;let{query:r,varJson:n,cacheKey:a}=this.identifyUniqueQuery(e);if(!r)return;let s=(0,o.print)(r),u=l(this);if(!(null===(t=u.inFlightLinkObservables.peek(s,n))||void 0===t?void 0:t.observable)){let t,r;let o=()=>{u.fetchCancelFns.get(a)===r&&u.fetchCancelFns.delete(a),u.inFlightLinkObservables.remove(s,n),this.simulatedStreamingQueries.get(a)===t&&this.simulatedStreamingQueries.delete(a)},c=new Promise((r,n)=>{this.simulatedStreamingQueries.set(a,t={resolve:r,reject:n,options:e})});c.finally(o);let l=new i.Observable(e=>{c.then(t=>{e.next(t),e.complete()}).catch(t=>{e.error(t)})});u.inFlightLinkObservables.lookup(s,n).observable=l,u.fetchCancelFns.set(a,r=e=>{var t;let{reject:r}=null!==(t=this.simulatedStreamingQueries.get(a))&&void 0!==t?t:{};r&&r(e),o()})}}),"complete"!==document.readyState&&window.addEventListener("load",()=>{let e=l(this);for(let[t,r]of this.simulatedStreamingQueries){this.simulatedStreamingQueries.delete(t),c.default.debug("streaming connection closed before server query could be fully transported, rerunning:",r.options);let n=e.generateQueryId();e.fetchQuery(n,Object.assign(Object.assign({},r.options),{context:Object.assign(Object.assign({},r.options.context),{queryDeduplication:!1})})).finally(()=>e.stopQuery(n)).then(r.resolve,r.reject)}},{once:!0})),Array.isArray(window[u.ApolloResultCache]||[])&&(0,s.registerLateInitializingQueue)(u.ApolloResultCache,e=>{var t;let{cacheKey:r}=this.identifyUniqueQuery(e),{resolve:n}=null!==(t=this.simulatedStreamingQueries.get(r))&&void 0!==t?t:{};n&&n({data:e.result}),this.cache.write(e)}))}watchQuery(e){return"undefined"==typeof window&&"cache-only"!==e.fetchPolicy&&"standby"!==e.fetchPolicy&&this.rehydrationContext.incomingBackgroun
1dQueries.push(e),super.watchQuery(e)}setRehydrationContext(e){e.incomingBackgroundQueries!==this.rehydrationContext.incomingBackgroundQueries&&e.incomingBackgroundQueries.push(...this.rehydrationContext.incomingBackgroundQueries.splice(0)),this.rehydrationContext=e}}t.NextSSRApolloClient=f},34965:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.NextSSRInMemoryCache=void 0;let n=r(40448);class i extends n.InMemoryCache{constructor(e){super(e),this.rehydrationContext={incomingResults:[],uninitialized:!0}}write(e){return"undefined"==typeof window&&this.rehydrationContext.incomingResults.push(e),super.write(e)}setRehydrationContext(e){this.rehydrationContext.uninitialized&&e.incomingResults.push(...this.rehydrationContext.incomingResults),this.rehydrationContext=e,this.rehydrationContext.uninitialized=!1}}t.NextSSRInMemoryCache=i},60798:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useRehydrationContext=t.RehydrationContextProvider=void 0;let i=r(40448),o=n(r(2265)),a=r(34965),s=r(99376),u=r(36630),c=n(r(4044)),l=r(49149),f=o.default.createContext(void 0);t.RehydrationContextProvider=({children:e,extraScriptProps:t})=>{let r=(0,i.useApolloClient)(),n=o.default.useRef();if("undefined"==typeof window){if(n.current||(n.current=function({extraScriptProps:e}){let t={currentlyInjected:!1,transportValueData:{},transportedValues:{}
1,incomingResults:[],incomingBackgroundQueries:[],RehydrateOnClient(){if(t.currentlyInjected=!1,!Object.keys(t.transportValueData).length&&!Object.keys(t.incomingResults).length&&!Object.keys(t.incomingBackgroundQueries).length)return o.default.createElement(o.default.Fragment,null);c.default.debug("transporting data",t.transportValueData),c.default.debug("transporting results",t.incomingResults),c.default.debug("transporting incomingBackgroundQueries",t.incomingBackgroundQueries);let r=(0,u.transportDataToJS)({rehydrate:Object.fromEntries(Object.entries(t.transportValueData).filter(([e,r])=>t.transportedValues[e]!==r)),results:t.incomingResults,backgroundQueries:t.incomingBackgroundQueries});return Object.assign(t.transportedValues,t.transportValueData),t.transportValueData={},t.incomingResults=[],t.incomingBackgroundQueries=[],o.default.createElement("script",Object.assign({},e,{dangerouslySetInnerHTML:{__html:r}}))}};return t}({extraScriptProps:t})),r instanceof l.NextSSRApolloClient)r.setRehydrationContext(n.current);else throw Error("When using Next SSR, you must use the `NextSSRApolloClient`");if(r.cache instanceof a.NextSSRInMemoryCache)r.cache.setRehydrationContext(n.current);else throw Error("When using Next SSR, you must use the `NextSSRInMemoryCache`")}else(0,u.registerDataTransport)();return o.default.createElement(f.Provider,{value:n.current},e)},t.useRehydrationContext=function(){let e=o.default.useContext(f),t=o.default.useContext(s.ServerInsertedHTMLContext);if("undefined"==typeof window)return t&&e&&!e.currentlyInjected&&(e.currentlyInjected=!0,t(()=>o.default.createElement(e.RehydrateOnClient,null))),e}},36630:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.registerDataTransport=t.transportDataToJS=void 0;let i=n(r(48080)),o=r(97042),a=r(80613),s=n(r(4044)),u=r(62729);t.transportDataToJS=function(e){let t=Symbol.keyFor(o.ApolloSSRDataTransport);return`(window[Symbol.for("${t}")] ??= []).push(${(0,u.htmlEscapeJsonString)(i.default.stringify(e))})`},t.registerDataTransport=function(){(0,a.registerLateInitializingQueue)(o.ApolloSSRDataTransport,e=>{var t,r,n;let a=i.default.deserialize(e);s.default.debug("received data from the server:",a),Object.assign(null!==(t=window[o.ApolloRehydrationCache])&&void 0!==t?t:window[o.ApolloRehydrationCache]={},a.rehydrate),(null!==(r=window[o.ApolloBackgroundQueryTransport])&&void 0!==r?r:window[o.ApolloBackgroundQueryTransport]=[]).push(...a.backgroundQueries),(null!==(n=window[o.ApolloResultCache])&&void 0!==n?n:window[o.ApolloResultCache]=[]).push(...a.results)})}},12863:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.useBackgroundQuery=t.useReadQuery=t.useSuspenseQuery=t.useQuery=t.useFragment=void 0;let n=r(40448),i=r(26086),o=r(60798);function a(e,t){return(...r)=>{let n=e(...r),o={};for(let e of t)o[e]=n[e];return Object.assign(Object.assign({},n),(0,i.useTransportValue)(o))}}t.useFragment=a(n.useFragment,["data","complete","missing"]),t.useQuery=a("undefined"==typeof window?(e,t)=>(0,n.useQuery)(e,Object.assign(Object.assign({},t),{fetchPolicy:"cache-only"})):n.useQuery,["data","loading","networkStatus","called"]),t.useSuspenseQuery=a(n.useSuspenseQuery,["data","networkStatus"]),t.useReadQuery=a(n.useReadQuery,["data","networkStatus"]),t.useBackgroundQuery=(...e)=>((0,o.useRehydrationContext)(),(0,n.useBackgroundQuery)(...e))},80613:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.registerLateInitializingQueue=void 0,t.registerLateInitializingQueue=function(e,t){if("undefined"!=typeof window){let r=window[e]||[];Array.isArray(r)&&(window[e]={push:(...e)=>{for(let r of e)t(r)}},window[e].push(...r))}}},26086:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0}),t.useTransportValue=void 0;let n=r(2265),i=r(97042),o=r(60798);t.useTransportValue=function(e){let t=(0,n.useId)(),[r,a]=(0,n.useState)(!1);(0,n.useEffect)(()=>a(!0),[]);let s=(0,o.useRehydrationContext)();if("undefined"==typeof window)s&&(s.transportValueData[t]=e);else{let n=window[i.ApolloRehydrationCache];
1n&&(r&&delete n[t],t in n&&(e=n[t]))}return e}},62729:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEscapeJsonString=t.ESCAPE_REGEX=void 0;let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"};t.ESCAPE_REGEX=/[&><\u2028\u2029]/g,t.htmlEscapeJsonString=function(e){return e.replace(t.ESCAPE_REGEX,e=>r[e])}},49988:function(e,t,r){r.d(t,{g:function(){return n}});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}},97867:function(e,t,r){r.d(t,{default:function(){return u}});var n=r(49988),i=r(27648),o=r(99376),a=r(2265),s=r(48706),u=(0,a.forwardRef)(function(e,t){let{defaultLocale:r,href:u,locale:c,localeCookie:l,onClick:f,prefetch:p,unprefixed:h,...d}=e,v=(0,s.Z)(),y=null!=c&&c!==v,m=c||v,g=function(){let[e,t]=(0,a.useState)();return(0,a.useEffect)(()=>{t(window.location.host)},[]),e}(),b=g&&h&&(h.domains[g]===m||!Object.keys(h.domains).includes(g)&&v===r&&!c)?h.pathname:u,k=(0,o.usePathname)();return y&&(p&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),p=!1),a.createElement(i.default,(0,n.g)({ref:t,href:b,hrefLang:y?c:void 0,onClick:function(e){(function(e,t,r,n){if(!e||!(n!==r&&null!=n)||!t)return;let i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(t),{name:o,...a}=e;a.path||(a.path=""!==i?i:"/");let s="".concat(o,"=").concat(n,";");for(let[e,t]of Object.entries(a))s+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(s+="="+t),s+=";";document.cookie=s})(l,k,v,c),f&&f(e)},prefetch:p},d))})},31085:function(e,t,r){r.d(t,{default:function(){return f}});var n=r(49988),i=r(99376),o=r(2265),a=r(48706);function s(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function u(e,t){let r;return"string"==typeof e?r=c(t,e):(r={...e},e.pathname&&(r.pathname=c(t,e.pathname))),r}function c(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}r(25566);var l=r(97867);let f=(0,o.forwardRef)(function(e,t){let{href:r,locale:c,localeCookie:f,localePrefixMode:p,prefix:h,...d}=e,v=(0,i.usePathname)(),y=(0,a.Z)(),m=c!==y,[g,b]=(0,o.useState)(()=>s(r)&&("never"!==p||m)?u(r,h):r);return(0,o.useEffect)(()=>{v&&b(function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;if(!s(e))return e;let o=n===i||n.startsWith("".concat(i,"/"));return(t!==r||o)&&null!=i?u(e,i):e}(r,c,y,v,h))},[y,r,c,v,h]),o.createElement(l.default,(0,n.g)({ref:t,href:g,locale:c,localeCookie:f},d))});f.displayName="ClientLink"},48706:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(99376),i=r(526);let o="locale";function a(){let e;let t=(0,n.useParams)();try{e=(0,i.useLocale)()}catch(r){if("string"!=typeof(null==t?void 0:t[o]))throw r;e=t[o]}return e}},99376:function(e,t,r){r.r(t);var n=r(35475),i={};for(var o in n)"default"!==o&&(i[o]=(function(e){return n[e]}).bind(0,o));r.d(t,i)},79285:function(e,t,r){e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(2265))},23442:function(e,t,r){let n=r(2265).createContext(void 0);t.IntlContext=n},76357:function(e,t,r){var n=r(2265),i=r(23442);function o(){let e=n.useContext(i.IntlContext);if(!e)throw Error(void 0);return e}t.useIntlContext=o,t.useLocale=function(){return o().locale}},526:function(e,t,r){Object.defineProperty(t,"__esModule",{value:!0});var n=r(76357);r(2265),r(23442),t.useLocale=n.useLocale},445:function(e,t,r){r.d(t,{R:function(){return v}});var n=r(5853),i=r(98942),o=r(80960),a=r(26755),s=r(36517),u=r(69090),c=r(71269),l=r(45110),f=r(97353),p=r(20311),h=r(82257),d=r(95607),v=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.re)(o.Yk,{max:a.Q["cache.fragmentQueryDocuments"]||1e3,cache:l.k})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.o
1ptimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,i=e.fragment,o=e.fragmentName,a=e.from,l=e.optimistic,f=(0,n._T)(e,["fragment","fragmentName","from","optimistic"]),v=this.getFragmentDoc(i,o),y=void 0===a||"string"==typeof a?a:this.identify(a),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=o||(0,s.pD)(i).name.value;y||!1===globalThis.__DEV__||h.kG.warn(1,g)}var b=(0,n.pi)((0,n.pi)({},f),{returnPartialData:!0,id:y,query:v,optimistic:void 0===l||l});return new u.y(function(e){return r.watch((0,n.pi)((0,n.pi)({},b),{immediate:!0,callback:function(a){var s=m?(0,d.r)(a.result,i,r,o):a.result;if(!(t&&(0,p.W)(v,{data:null==t?void 0:t.result},{data:s}))){var u={data:s,complete:!!a.complete};a.missing&&(u.missing=(0,c.bw)(a.missing.map(function(e){return e.missing}))),t=(0,n.pi)((0,n.pi)({},a),{result:s}),e.next(u)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n._T)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.pi)((0,n.pi)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.pi)((0,n.pi)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(v.prototype.getMemoryInternals=f.Kb)},97245:function(e,t,r){var n;r.d(t,{C:function(){return n}}),n||(n={})},99587:function(e,t,r){r.d(t,{y:function(){return i}});var n=r(5853),i=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.ZT)(t,e),t}(Error)},42842:function(e,t,r){r.r(t),r.d(t,{ApolloCache:function(){return n.R},Cache:function(){return i.C},EntityStore:function(){return u.cf},InMemoryCache:function(){return l.h},MissingFieldError:function(){return o.y},Policies:function(){return p.r},cacheSlot:function(){return f.ab},canonicalStringify:function(){return s.B},createFragmentRegistry:function(){return b},defaultDataIdFromObject:function(){return c.uG},fieldNameFromStoreName:function(){return c.E_},isReference:function(){return a.Yk},makeReference:function(){return a.kQ},makeVar:function(){return f.QS}}),r(82257);var n=r(445),i=r(97245),o=r(99587),a=r(48338),s=r(95266),u=r(25538),c=r(83598),l=r(15051),f=r(38355),p=r(68929),h=r(5853),d=r(11689),v=r(98942),y=r(36517),m=r(26755),g=r(45110);function b(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(k.bind.apply(k,(0,h.ev)([void 0],e,!1)))}var k=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.registry=Object.create(null),this.resetCaches(),e.length&&this.register.apply(this,e)}return e.prototype.register=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=new Map;return t.forEach(function(e){(0,y.kU)(e).forEach(function(e){n.set(e.name.value,e)})}
1),n.forEach(function(t,r){t!==e.registry[r]&&(e.registry[r]=t,e.invalidate(r))}),this},e.prototype.invalidate=function(e){},e.prototype.resetCaches=function(){var t=e.prototype;this.invalidate=(this.lookup=(0,v.re)(t.lookup.bind(this),{makeCacheKey:function(e){return e},max:m.Q["fragmentRegistry.lookup"]||1e3})).dirty,this.transform=(0,v.re)(t.transform.bind(this),{cache:g.k,max:m.Q["fragmentRegistry.transform"]||2e3}),this.findFragmentSpreads=(0,v.re)(t.findFragmentSpreads.bind(this),{cache:g.k,max:m.Q["fragmentRegistry.findFragmentSpreads"]||4e3})},e.prototype.lookup=function(e){return this.registry[e]||null},e.prototype.transform=function(e){var t=this,r=new Map;(0,y.kU)(e).forEach(function(e){r.set(e.name.value,e)});var n=new Set,i=function(e){r.has(e)||n.add(e)},o=function(e){return Object.keys(t.findFragmentSpreads(e)).forEach(i)};o(e);var a=[],s=Object.create(null);if(n.forEach(function(e){var n=r.get(e);if(n)o(s[e]=n);else{a.push(e);var i=t.lookup(e);i&&o(s[e]=i)}}),a.length){var u=[];a.forEach(function(e){var t=s[e];t&&u.push(t)}),u.length&&(e=(0,h.pi)((0,h.pi)({},e),{definitions:e.definitions.concat(u)}))}return e},e.prototype.findFragmentSpreads=function(e){var t=Object.create(null);return(0,d.Vn)(e,{FragmentSpread:function(e){t[e.name.value]=e}}),t},e}()},25538:function(e,t,r){r.d(t,{HL:function(){return _},cf:function(){return b},ur:function(){return S}});var n,i,o=r(5853),a=r(82257),s=r(98942),u=r(36628),c=r(46238),l=r(82187),f=r(48338),p=r(71269),h=r(23446),d=r(59394),v=r(83598),y=Object.create(null),m=function(){return y},g=Object.create(null),b=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,l.J)((0,f.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,f.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,f.kQ)(e);if((0,f.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,f.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,o.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),v.RI.call(this.data,e)){var r=this.data[e];if(r&&v.RI.call(r,t))return r[t]}return"__typename"===t&&v.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof E?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),v.RI.call(this.data,e))?this.data[e]:this instanceof E?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,f.Yk)(e)&&(e=e.__ref),(0,f.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,a.kG)("string"==typeof r,2);var s=new p.w0(w).merge(i,o);if(this.data[r]=s,s!==i&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);i||(u.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){u[e]=1;var t=(0,v.E_)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof E||delete s[e]}}),u.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),s=!1,u=!0,c={DELETE:y,INVALIDATE:g,isReference:f.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,f.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(p){var h=(0,v.E_)(p),d=n[p];if(void 0!==d){var b="function"==typeof t?t:t[p]||t[h];if(b){var k=b===m?y:b((0,l.J)(d),(0,o.pi)((0,o.pi)({},c),{fieldName:h,storeFieldName:p,storage:r.getStorage(e,p)}));if(k===g)r.group.dirty(e,p);else if(k===y&&(k=void 0),k!==d&&(i[p]=k,s=!0,d=k,!1!==globalThis.__DEV__)){var _=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&a.kG.warn(3,e),!0};if((0,f.Yk)(k))_(k);else if(Array.isArray(k))for(var E=!1,O=void 0,w=0,S=k;w<S.length;w++){var T=S[w];
1if((0,f.Yk)(T)){if(E=!0,_(T))break}else"object"==typeof T&&T&&r.policies.identify(T)[0]&&(O=T);if(E&&void 0!==O){!1!==globalThis.__DEV__&&a.kG.warn(4,O);break}}}}void 0!==d&&(u=!1)}}),s)return this.merge(e,i),u&&(this instanceof E?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=m,n):m)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(v.RI.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof E&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){v.RI.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&v.RI.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,o._T)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof E?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){v.RI.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof E;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!v.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,f.Yk)(e)&&(t[e.__ref]=!0),(0,h.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,h.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),k=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.dP)():null,this.keyMaker=new c.B(d.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=(0,v.E_)(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function _(e,t){S(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new k(void 0===n||n))||this;return o.stump=new O(o),o.storageTrie=new c.B(d.mr),i&&o.replace(i),o}return(0,o.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(n=b||(b={})),n.Root=i;var E=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,o.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,u.D)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,o.pi)((0,o.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return v.RI.call(this.data,t)?(0,o.pi)((0,o.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(b),O=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new k(t.group.caching,t.group))||this}return(0,o.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(E);function w(e,t,r){var n=e[r],i=t[r];return(0,u.D)(n,i)?n:i}function S(e){return!!(e instanceof b&&e.group.caching)}},83598:function(e,t,r){r.d(t,{$O:function(){return g},E_:function(){return b},Is:function(){return E},RC:function(){return function e(t,r,n){return!!(0,o.s)(r)&&((0,a.k)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,i.My)(t)&&(0,s.LZ)(t,n)){var o=(0,i.u2)(t);return f.call(r,o)&&(!t.selectionSet||e(t.selectionSet,r[o],n))}return!0}))}},RI:function(){return f},ig:function(){return _},j:function(){return k},jS:function(){return v},jp:function(){return m},lg:function(){return y},uG:function(){return h}});var n=r(85292),i=r(48338),o=r(23446),a=r(92086),s=r(30696),u=r(71269),c=r(80960),l=r(36517),f=Object.prototype.hasOwnProperty;function p(e){return null==e}function h(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=p(n)?p(i)?void 0:{_id:i}:{id:n}),p(n)&&!p(i)&&(n=i),!p(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var d={dataIdFromObject:h,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,n.o)(d,e)}function y(e){var t=e.canonizeResults;return void 0===t?d.canonizeResults:t}function m(e,t){return(0,i.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var g=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(g);return t?t[0]:e}function k(e){return(0,o.s)(e)&&!(0,i.Yk)(e)&&!(0,a.k)(e)}function _(){return new u.w0}function E(e,t){var r=(0,c.F)((0,l.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},15051:function(e,t,r){r.d(t,{h:function(){return B}});var n=r(5853),i=r(82257),o=r(98942),a=r(36628),s=r(445),u=r(99587),c=r(56789),l=r(55484),f=r(26755),p=r(95266),h=r(99342),d=r(48338),v=r(50499),y=r(59394),m=r(85292),g=r(36517),b=r(71269),k=r(30696),_=r(80960),E=r(82187),O=r(23446),w=r(25538),S=r(83598),T=r(92086),D=r(46238),I=function(){function e(){this.known=new(y.sy?WeakSet:Set),this.pool=new D.B(y.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,O.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,O.s)(e)){var t=(0,O.s)(e)?(0,T.k)(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,O.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function R(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var x=function(){function e(e){var t=this;this.knownResults=new(y.mr?WeakMap:Map),this.config=(0,m.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,S.lg)(e)}),this.canon=e.canon||new I,this.executeSelectionSet=(0,o.re)(function(e){var r,i=e.context.canonizeResults,o=R(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.pi)((0,n.pi)({},a),{result:t.canon.admit(a.result)}):a:((0,w.HL)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||f.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:R,makeCacheKey:function(e,t,r,n){if((0,w.ur)(r.store))return r.store.makeCacheKey(e,(0,d.Yk)(t)?t.__ref:t,r.varStr
1ing,n)}}),this.executeSubSelectedArray=(0,o.re)(function(e){return(0,w.HL)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||f.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if((0,w.ur)(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new I},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,c=e.canonizeResults,l=void 0===c?this.config.canonizeResults:c,f=this.config.cache.policies;a=(0,n.pi)((0,n.pi)({},(0,g.O4)((0,g.iW)(i))),a);var h=(0,d.kQ)(void 0===o?"ROOT_QUERY":o),v=this.executeSelectionSet({selectionSet:(0,g.p$)(i).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,n.pi)({store:r,query:i,policies:f,variables:a,varString:(0,p.B)(a),canonizeResults:l},(0,S.Is)(i,this.config.fragments))});if(v.missing&&(t=[new u.y(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(v.missing),v.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:v.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if((0,w.ur)(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,d.Yk)(o)&&!s.policies.rootTypenamesById[o.__ref]&&!s.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=s.variables,c=s.policies,f=s.store.getFieldValue(o,"__typename"),p=[],h=new b.w0;function y(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof f&&!c.rootIdsByTypename[f]&&p.push({__typename:f});var m=new Set(n.selections);m.forEach(function(e){var n,g;if((0,k.LZ)(e,u)){if((0,d.My)(e)){var b=c.readField({fieldName:e.name.value,field:e,variables:s.variables,from:o},s),E=(0,d.u2)(e);void 0===b?l.Gw.added(e)||(t=h.merge(t,((n={})[E]="Can't find field '".concat(e.name.value,"' on ").concat((0,d.Yk)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,T.k)(b)?b.length>0&&(b=y(r.executeSubSelectedArray({field:e,array:b,enclosingRef:a,context:s}),E)):e.selectionSet?null!=b&&(b=y(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,d.Yk)(b)?b:a,context:s}),E)):s.canonizeResults&&(b=r.canon.pass(b)),void 0!==b&&p.push(((g={})[E]=b,g))}else{var O=(0,_.hi)(e,s.lookupFragment);if(!O&&e.kind===v.h.FRAGMENT_SPREAD)throw(0,i._K)(10,e.name.value);O&&c.fragmentMatches(O,f)&&O.selectionSet.selections.forEach(m.add,m)}}});var g={result:(0,b.bw)(p),missing:t},O=s.canonizeResults?this.canon.admit(g):(0,E.J)(g);return O.result&&this.knownResults.set(O.result,n),O},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new b.w0;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,T.k)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,d.Yk)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,O.s)(r)&&((0,i.kG)(!(0,d.Yk)(r),11,(0,S.jp)(e,r),t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),N=r(86626),C=r(68929);function A(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.pi)((0,n.pi)({},e),{clientOnly:t,deferred:r})),o}var P=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,u=t.dataId,c=t.variables,l=t.overwrite,f=(0,g.$H)(o),h=(0,S.ig)();c=(0,n.pi)((0,n.pi)({},(0,g.O4)(f)),c);var v=(0,n.pi)((0,n.pi)({store:e,written:Object.create(null),merge:function(e,t){return h.merge(e,t)},variables:c,varString:(0,p.B)(c)},(0,S.Is)(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,d.Yk)(y))throw(0,i._K)(12,s);
1return v.incomingById.forEach(function(t,o){var s=t.storeObject,u=t.mergeTree,c=t.fieldNodeSet,l=(0,d.kQ)(o);if(u&&u.map.size){var f=r.applyMerges(u,l,s,v);if((0,d.Yk)(f))return;s=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var p=Object.create(null);c.forEach(function(e){e.selectionSet&&(p[e.name.value]=!0)});var h=function(e){var t=u&&u.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==p[(0,S.E_)(e)]||h(e)||function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},u=s(e);if(u){var c=s(t);if(!(!c||(0,d.Yk)(u)||(0,a.D)(u,c)||Object.keys(u).every(function(e){return void 0!==o.getFieldValue(c,e)}))){var l=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=(0,S.E_)(r),p="".concat(l,".").concat(f);if(!L.has(p)){L.add(p);var h=[];(0,T.k)(u)||(0,T.k)(c)||[u,c].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&i.kG.warn(15,f,l,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",p,(0,n.pi)({},u),(0,n.pi)({},c))}}}}(l,s,e,v.store)})}e.merge(o,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,f=Object.create(null),p=r&&c.rootTypenamesById[r]||(0,d.qw)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof p&&(f.__typename=p);var h=function(){var e=(0,C.y)(arguments,f,s.variables);if((0,d.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.pi)((0,n.pi)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},v=new Set;this.flattenFields(a,o,s,p).forEach(function(e,r){var n,a=o[(0,d.u2)(r)];if(v.add(r),void 0!==a){var s=c.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),y=j(u,s),m=t.processFieldValue(a,r,r.selectionSet?A(e,!1,!1):e,y),g=void 0;r.selectionSet&&((0,d.Yk)(m)||(0,S.j)(m))&&(g=h("__typename",m));var b=c.getMergeFunction(p,r.name.value,g);b?y.info={field:r,typename:p,merge:b}:Q(u,s),f=e.merge(f,((n={})[s]=m,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||l.Gw.added(r)||c.getReadFunction(p,r.name.value)||!1===globalThis.__DEV__||i.kG.error(13,(0,d.u2)(r),o)});try{var y=c.identify(o,{typename:p,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:f,readField:h}),m=y[0],g=y[1];r=r||m,g&&(f=s.merge(f,g))}catch(e){if(!r)throw e}if("string"==typeof r){var b=(0,d.kQ)(r),k=s.written[r]||(s.written[r]=[]);if(k.indexOf(a)>=0||(k.push(a),this.reader&&this.reader.isFresh(o,b,a,s)))return b;var _=s.incomingById.get(r);return _?(_.storeObject=s.merge(_.storeObject,f),_.mergeTree=function e(t,r){if(t===r||!r||M(r))return t;if(!t||M(t))return r;var i=t.info&&r.info?(0,n.pi)((0,n.pi)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(_.mergeTree,u),v.forEach(function(e){return _.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:f,mergeTree:M(u)?void 0:u,fieldNodeSet:v}),b}return f},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,T.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,j(n,o));return Q(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,N.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,d.qw)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new D.B(!1);return function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(s){if((0,k.LZ)(s,r.variables)){var u=c.clientOnly,l=c.deferred;if(!(u&&l)&&(0,T.O)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,d.NC)(e,r.variables);n&&!1===n.if||(l=!0)}}),(0,d.My)(s)){var f=o.get(s);f&&(u=u&&f.clientOnly,l=l&&f.deferred),o.set(s,A(r,u,l))}else{var p=(0,_.hi)(s,r.lookupFragment);if(!p&&s.kind===v.h.FRAGMENT_SPREAD)throw(0,i._K)(14,s.name.value);p&&a.fragmentMatches(p,n,t,r.variables)&&e(p.selectionSet,A(r,u,l))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,d.Yk)(r)){var u,c,l=!(0,T.k)(r)&&((0,d.Yk)(t)||(0,S.j)(t))?t:void 0,f=r;l&&!a&&(a=[(0,d.Yk)(l)?l.__ref:l]);var p=function(e,t){return(0,T.k)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=p(l,t),n=p(f,t);if(void 0!==n){a&&a.push(t);var u=s.applyMerges(e,r,n,o,a);u!==n&&(c=c||new Map).set(t,u),a&&(0,i.kG)(a.pop()===t)}}),c&&(r=(0,T.k)(f)?f.slice(0):(0,n.pi)({},f),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(u=o.store).getStorage.apply(u,a)):r},e}(),F=[];function j(e,t){var r=e.map;return r.has(t)||r.set(t,F.pop()||{map:new Map}),r.get(t)}function M(e){return!e||!(e.info||e.map.size)}function Q(e,t){var r=e.map,n=r.get(t);n&&M(n)&&(F.push(n),r.delete(t))}var L=new Set,q=r(38355),V=r(97353),B=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new c.A(l.Gw),r.assumeImmutableResults=!0,r.makeVar=q.QS,r.txCount=0,r.config=(0,S.jS)(t),r.addTypename=!!r.config.addTypename,r.policies=new C.r({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.ZT)(t,e),t.prototype.init=function(){var e=this.data=new w.cf.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new P(this,this.storeReader=new x({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,S.lg)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.re)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||f.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if((0,w.ur)(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,p.B)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof u.y)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(S.RI.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,q._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,q.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){p.B.reset(),h.S.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,d.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(S.RI.call(e,"id"))return!1;e=(0,n.pi)((0,n.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),p.B.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,q.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,a.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(s.R);!1!==globalThis.__DEV__&&(B.prototype.getMemoryInternals=V.q4)},68929:function(e,t,r){r.d(t,{r:function(){return S},y:function(){return D}});var n=r(5853),i=r(82257),o=r(48338),a=r(88099),s=r(23446),u=r(83598),c=r(92086),l=r(38355),f=r(71269),p=Object.create(null);function h(e){var t=JSON.stringify(e);return p[t]||(p[t]=Object.create(null))}function d(e){var t=h(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=y(e,function(e){var o=g(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&u.RI.call(t,e[0])&&(o=g(t,e,m)),(0,i.kG)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function v(e){var t=h(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,a=r.fieldName,s=JSON.stringify(y(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(n&&(0,c.O)(n.directives)){var s=r.slice(1),l=n.directives.find(function(e){return e.name.value===s}),f=l&&(0,o.NC)(l,i);return f&&g(f,e.slice(1))}return}if("$"===a){var p=r.slice(1);if(i&&u.RI.call(i,p)){var h=e.slice(0);return h[0]=p,g(i,h)}return}if(t)return g(t,e)}));return(t||"{}"!==s)&&(a+=":"+s),a})}function y(e,t){var r=new f.w0;return(function e(t){var r=h(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,c.k)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,c.k)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function m(e,t){return e[t]}function g(e,t,r){return r=r||m,function e(t){return(0,s.s)(t)?(0,c.k)(t)?t.map(e):y(Object.keys(t).sort(),function(e){return g(t,e)}):t}(t.reduce(function e(t,n){return(0,c.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var b=r(9906);
1function k(e){return void 0!==e.args?e.args:e.field?(0,o.NC)(e.field,e.variables):null}var _=function(){},E=function(e,t){return t.fieldName},O=function(e,t,r){return(0,r.mergeObjects)(e,t)},w=function(e,t){return t},S=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.pi)({dataIdFromObject:u.uG},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,u=(0,n.pi)((0,n.pi)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=D(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),l=a&&this.getTypePolicy(a),f=l&&l.keyFn||this.config.dataIdFromObject;return b.Os.withValue(!0,function(){for(;f;){var t=f((0,n.pi)((0,n.pi)({},e),s),u);if((0,c.k)(t))f=d(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,c=(0,n._T)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),u.RI.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?O:!1===t?w:e.merge}a(n,t.merge),n.keyFn=!1===i?_:(0,c.k)(i)?d(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;n.keyFn=!1===s?E:(0,c.k)(s)?v(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,l)}n.read&&n.merge&&(n.keyFn=n.keyFn||E)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.kG)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(u.$O);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!u.RI.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n._T)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),c=[s],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},f=!!(r&&this.fuzzySubtypes.size),p=!1,h=0;h<c.length;++h){var d=c[h];if(d.has(a))return s.has(a)||(p&&!1!==globalThis.__DEV__&&i.kG.warn(7,t,a),s.add(a)),!0;d.forEach(l),f&&h===c.length-1&&(0,u.RC)(e.selectionSet,r,n)&&(f=!1,p=!0,this.fuzzySubtypes.forEac
1h(function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),a=i&&i.keyFn;if(a&&r)for(var s={typename:r,fieldName:n,field:e.field||null,variables:e.variables},l=k(e);a;){var f=a(l,s);if((0,c.k)(f))a=v(f);else{t=f||n;break}}return(void 0===t&&(t=e.field?(0,o.vf)(e.field,e.variables):(0,o.PT)(n,k(e))),!1===t)?n:n===(0,u.E_)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),a=(0,u.E_)(i),s=t.store.getFieldValue(r,i),c=this.getFieldPolicy(e.typename,a,!1),f=c&&c.read;if(f){var p=T(this,r,e,t,t.store.getStorage((0,o.Yk)(r)?r.__ref:r,i));return l.ab.withValue(this.cache,f,[s,p])}return s}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===O?I(n.store)(e,t):s===w?t:(n.overwrite&&(e=void 0),s(e,t,T(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function T(e,t,r,n,i){var a=e.getStoreFieldName(r),s=(0,u.E_)(a),c=r.variables||n.variables,l=n.store,f=l.toReference,p=l.canRead;return{args:k(r),field:r.field||null,fieldName:s,storeFieldName:a,variables:c,isReference:o.Yk,toReference:f,storage:i,cache:e.cache,canRead:p,readField:function(){return e.readField(D(arguments,t,c),n)},mergeObjects:I(n.store)}}function D(e,t,r){var o,s=e[0],c=e[1],l=e.length;return"string"==typeof s?o={fieldName:s,from:l>1?c:t}:(o=(0,n.pi)({},s),u.RI.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.kG.warn(8,(0,a.v)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function I(e){return function(t,r){if((0,c.k)(t)||(0,c.k)(r))throw(0,i._K)(9);if((0,s.s)(t)&&(0,s.s)(r)){var a=e.getFieldValue(t,"__typename"),l=e.getFieldValue(r,"__typename");if(a&&l&&a!==l)return r;if((0,o.Yk)(t)&&(0,u.j)(r))return e.merge(t.__ref,r),t;if((0,u.j)(t)&&(0,o.Yk)(r))return e.merge(t,r.__ref),r;if((0,u.j)(t)&&(0,u.j)(r))return(0,n.pi)((0,n.pi)({},t),r)}return r}}},38355:function(e,t,r){r.d(t,{QS:function(){return c},_v:function(){return u},ab:function(){return i},li:function(){return s}});var n=r(98942),i=new n.g7,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function c(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(o(c),a(c).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},20311:function(e,t,r){r.d(t,{W:function(){return c}});var n=r(5853),i=r(36628),o=r(36517),a=r(80960),s=r(30696),u=r(48338);function c(e,t,r,c){var f=t.data,p=(0,n._T)(t,["data"]),h=r.data,d=(0,n._T)(r,["data"]);return(0,i.Z)(p,d)&&function e(t,r,n,o){if(r===n)return!0;var c=new Set;return t.selections.every(function(t){if(c.has(t)||(c.add(t),!(0,s.LZ)(t,o.variables)||l(t)))return!0;if((0,u.My)(t)){var f=(0,u.u2)(t),p=r&&r[f],h=n&&n[f],d=t.selectionSet;if(!d)return(0,i.Z)(p,h);var v=Array.isArray(p),y=Array.isArray(h);if(v!==y)return!1;if(v&&y){var m=p.length;if(h.length!==m)return!1;for(var g=0;g<m;++g)if(!e(d,p[g],h[g],o))return!1;return!0}return e(d,p,h,o)}var b=(0,a.hi)(t,o.fragmentMap);if(b)return!!l(b)||e(b.selectionSet,r,n,o)})}((0,o.p$)(e).selectionSet,f,h,{fragmentMap:(0,a.F)((0,o.kU)(e)),variables:c})}function l(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},40448:function(e,t,r){r.r(t),r.d(t,{ApolloCache:function(){return eU.R},ApolloClient:function(){return eV},ApolloConsumer:function(){return tq},ApolloError:function(){return x},ApolloLink:function(){return m},ApolloProvider:function(){return tL},Cache:function(){return eB.C},DocumentTransform:function(){return $.A},DocumentType:function(){return s},HttpLink:function(){return K},InMemoryCache:function(){return eG.h},MissingFieldError:function(){return ez.y},NetworkStatus:function(){return a},Observable:function(){return p.y},ObservableQuery:function(){return ed},checkFetcher:function(){return F},concat:function(){return eH},createHttpLink:function(){return W},createQueryPreloader:function(){return rQ},createSignalIfSupported:function(){return e$},defaultDataIdFromObject:function(){return eW.uG},defaultPrinter:function(){return Q},disableExperimentalFragmentVariables:function(){return tC},disableFragmentWarnings:function(){return tx},empty:function(){return eK},enableExperimentalFragmentVariables:function(){return tN},execute:function(){return g},fallbackHttpConfig:function(){return M},from:function(){return eY},fromError:function(){return B},fromPromise:function(){return eZ},getApolloContext:function(){return tM},gql:function(){return tI},isApolloError:function(){return I}
1,isNetworkRequestSettled:function(){return eo},isReference:function(){return et.Yk},makeReference:function(){return et.kQ},makeVar:function(){return ej.QS},mergeOptions:function(){return eQ.J},operationName:function(){return tz},parseAndCheckHttpResponse:function(){return P},parser:function(){return tW},resetApolloContext:function(){return tQ},resetCaches:function(){return tR},rewriteURIForGET:function(){return V},selectHttpOptionsAndBody:function(){return L},selectHttpOptionsAndBodyInternal:function(){return q},selectURI:function(){return E},serializeFetchParameter:function(){return _},setLogVerbosity:function(){return e0.setVerbosity},skipToken:function(){return rS},split:function(){return eJ},throwServerError:function(){return S},toPromise:function(){return eX},useApolloClient:function(){return tV},useBackgroundQuery:function(){return rx},useFragment:function(){return rc},useLazyQuery:function(){return ri},useLoadableQuery:function(){return rA},useMutation:function(){return ro},useQuery:function(){return t0},useQueryRefHandlers:function(){return rP},useReactiveVar:function(){return ru},useReadQuery:function(){return rj},useSubscription:function(){return rs},useSuspenseQuery:function(){return rT}});var n,i,o,a,s,u,c,l=r(5853),f=r(82257),p=r(69090),h=r(36517);function d(e,t){return t?t(e):p.y.of()}function v(e){return"function"==typeof e?new m(e):e}function y(e){return e.request.length<=1}var m=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return p.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(v).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=v(r),o=v(n||new e(d));return Object.assign(new e(y(i)&&y(o)?function(e){return t(e)?i.request(e)||p.y.of():o.request(e)||p.y.of()}:function(e,r){return t(e)?i.request(e,r)||p.y.of():o.request(e,r)||p.y.of()}),{left:i,right:o})},e.execute=function(e,t){var r,n,i,o;return e.request((i=t.context,(n={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(0>t.indexOf(i))throw(0,f._K)(46,i)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(n.operationName="string"!=typeof n.query?(0,h.rY)(n.query)||void 0:""),o=(0,l.pi)({},i),Object.defineProperty(n,"setContext",{enumerable:!1,value:function(e){o="function"==typeof e?(0,l.pi)((0,l.pi)({},o),e(o)):(0,l.pi)((0,l.pi)({},o),e)}}),Object.defineProperty(n,"getContext",{enumerable:!1,value:function(){return(0,l.pi)({},o)}}),n))||p.y.of()},e.concat=function(t,r){var n=v(t);if(y(n))return!1!==globalThis.__DEV__&&f.kG.warn(38,n),n;var i=v(r);return Object.assign(new e(y(i)?function(e){return n.request(e,function(e){return i.request(e)||p.y.of()})||p.y.of()}:function(e,t){return n.request(e,function(e){return i.request(e,t)||p.y.of()})||p.y.of()}),{left:n,right:i})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(d)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,f._K)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),g=m.execute,b=r(66889),k=r(30696),_=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,f._K)(42,t,e.message);throw n.parseError=e,n}return r},E=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")},O=r(59394);function w(e){var t={next:function(){return e.read()}};return O.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var S=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},T=r(23446),D=Symbol();function I(e){return e.hasOwnProperty("graphQLErrors")}var R=function(e){var t=(0,l.ev)((0,l.ev)((0,l.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,T.s)(e)&&e.message||"Error message not found."}).join("\n")},x=function(e){function t(r){var n=r.graphQLErrors,i=r.protocolErrors,o=r.clientErrors,a=r.networkError,s=r.errorMessage,u=r.extraInfo,c=e.call(this,s)||this;return c.name="ApolloError",c.graphQLErrors=n||[],c.protocolErrors=i||[],c.clientErrors=o||[],c.networkError=a||null,c.message=s||R(c),c.extraInfo=u,c.cause=(0,l.ev)((0,l.ev)((0,l.ev)([a],n||[],!0),i||[],!0),o||[],!0).find(function(e){return!!e})||null,c.__proto__=t.prototype,c}return(0,l.ZT)(t,e),t}(Error),N=r(40373),C=Object.prototype.hasOwnProperty;function A(e,t){e.status>=300&&S(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function P(e){return function(t){return t.text().then(function(e){return A(t,e)}).then(function(r){return Array.isArray(r)||C.call(r,"data")||C.call(r,"errors")||S(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}}var F=function(e){if(!e&&"undefined"==typeof fetch)throw(0,f._K)(40)},j=r(99342),M={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Q=function(e,t){return t(e)};function L(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return r.unshift(t),q.apply(void 0,(0,l.ev)([e,Q],r,!1))}function q(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};r.forEach(function(e){i=(0,l.pi)((0,l.pi)((0,l.pi)({},i),e.options),{headers:(0,l.pi)((0,l.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,l.pi)((0,l.pi)({},o),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,c=e.query,f={operationName:a,variables:u};return o.includeExtensions&&(f.extensions=s),o.includeQuery&&(f.query=t(c,j.S)),{options:i,body:f}}function V(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=_(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=_(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}function B(e){return new p.y(function(t){t.error(e)})}var U=r(11689),G=r(55484),z=(0,f.wY)(function(){return fetch}),W=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,o=void 0===i?Q:i,a=e.includeExtensions,s=e.preserveHeaderCase,u=e.useGETForQueries,c=e.includeUnusedVariables,d=void 0!==c&&c,v=(0,l._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&F(n||z);var y={http:{includeExtensions:a,preserveHeaderCase:s},options:v.fetchOptions,credentials:v.credentials,headers:v.headers};return new m(function(e){var t,i,a,s,c,v,m=E(e,r),g=e.getContext(),b={};if(g.clientAwareness){var S=g.clientAwareness,T=S.name,I=S.version;T&&(b["apollographql-client-name"]=T),I&&(b["apollographql-client-version"]=I)}var R=(0,l.pi)((0,l.pi)({},b),g.headers),x={http:g.http,options:g.fetchOptions,credentials:g.credentials,headers:R};if((0,k.FS)(["client"],e.query)){var C=(0,G.ob)(e.query);if(!C)return B(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=C}var F=q(e,o,M,y,x),j=F.options,Q=F.body;Q.variables&&!d&&(Q.variables=(t=Q.variables,i=e.query,a=(0,l.pi)({},t),s=new Set(Object.keys(t)),(0,U.Vn)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&s.delete(e.name.value)}}),s.forEach(function(e){delete a[e]}),a)),j.signal||"undefined"==typeof AbortController||(v=new AbortController,j.signal=v.signal);var L="OperationDefinition"===(c=(0,h.p$)(e.query)).kind&&"subscription"===c.operation,W=(0,k.FS)(["defer"],e.query);if(u&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(j.method="GET"),W||L){j.headers=j.headers||{};var K="multipart/mixed;";L&&W&&!1!==globalThis.__DEV__&&f.kG.warn(41),L?K+="boundary=graphql;subscriptionSpec=1.0,application/json":W&&(K+="deferSpec=20220824,application/json"),j.headers.accept=K}if("GET"===j.method){var Y=V(m,Q),J=Y.newURI,H=Y.parseError;if(H)return B(H);m=J}else try{j.body=_(Q,"Payload")}catch(e){return B(e)}return new p.y(function(t){var r=n||(0,f.wY)(function(){return fetch})||z,i=t.next.bind(t);return r(m,j).then(function(t){e.setContext({response:t});var r,n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?function(e,t){return(0,l.mG)(this,void 0,void 0,function(){var r,n,i,o,a,s,u,c,f,p,h,d,v,y,m,g,b,k,_,E,S,T,I;return(0,l.Jh)(this,function(R){switch(R.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),n=null===(I=e.headers)||void 0===I?void 0:I.get("content-type"),i="boundary=",o=(null==n?void 0:n.includes(i))?null==n?void 0:n.substring((null==n?void 0:n.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),s="",u=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,O.DN&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return w(s.getReader());if(s.stream)return w(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},O.DN&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}
1function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return O.DN&&(c[Symbol.asyncIterator]=function(){return this}),c}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),c=!0,R.label=1;case 1:if(!c)return[3,3];return[4,u.next()];case 2:for(p=(f=R.sent()).value,h=f.done,d="string"==typeof p?p:r.decode(p),v=s.length-a.length+1,c=!h,s+=d,y=s.indexOf(a,v);y>-1;){if(m=void 0,m=(S=[s.slice(0,y),s.slice(y+a.length)])[0],s=S[1],g=m.indexOf("\r\n\r\n"),(b=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(m.slice(0,g))["content-type"])&&-1===b.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(k=m.slice(g)){if(Object.keys(_=A(e,k)).length>1||"data"in _||"incremental"in _||"errors"in _||"payload"in _){if((0,N.yU)(_)){if(E={},"payload"in _){if(1===Object.keys(_).length&&null===_.payload)return[2];E=(0,l.pi)({},_.payload)}"errors"in _&&(E=(0,l.pi)((0,l.pi)({},E),{extensions:(0,l.pi)((0,l.pi)({},"extensions"in E?E.extensions:null),((T={})[D]=_.errors,T))})),t(E)}else t(_)}else if(1===Object.keys(_).length&&"hasNext"in _&&!_.hasNext)return[2]}y=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,i):P(e)(t).then(i)}).then(function(){v=void 0,t.complete()}).catch(function(e){v=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){v&&v.abort()}})})},K=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,W(t).request)||this;return r.options=t,r}return(0,l.ZT)(t,e),t}(m),Y=r(36628),J=r(80960),H=r(95266),$=r(56789),X=r(51149),Z=r(92933),ee=r(92086),et=r(48338),er=r(2232),en=r(49801);function ei(e){return!!e&&e<7}function eo(e){return 7===e||8===e}(n=a||(a={}))[n.loading=1]="loading",n[n.setVariables=2]="setVariables",n[n.fetchMore=3]="fetchMore",n[n.refetch=4]="refetch",n[n.poll=6]="poll",n[n.ready=7]="ready",n[n.error=8]="error";var ea=r(85292),es=r(86626),eu=r(89817),ec=r(19821),el=r(45963),ef=r(20311),ep=Object.assign,eh=Object.hasOwnProperty,ed=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,i=t.options,o=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=ey)}catch(e){}var r=!o.observers.size;o.observers.add(e);var n=o.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(o.maskResult(n.result)),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=n,o.queryManager=r,o.waitForOwnResult=eg(i.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var a=r.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,u=void 0===s?"cache-first":s,c=i.fetchPolicy,f=void 0===c?u:c,p=i.initialFetchPolicy,d=void 0===p?"standby"===f?u:f:p;o.options=(0,l.pi)((0,l.pi)({},i),{initialFetchPolicy:d,fetchPolicy:f}),o.queryId=n.queryId||r.generateQueryId();var v=(0,h.$H)(o.query);return o.queryName=v&&v.name&&v.name.value,o}return(0,l.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||a.ready,n=(0,l.pi)((0,l.pi)({},t),{loading:ei(r),networkStatus:r}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if(eg(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(n.data=s.result),(0,Y.D)(n.data,{})&&(n.data=void 0),s.complete?(delete n.partial,s.complete&&n.networkStatus===a.loading&&("cache-first"===o||"cac
1he-only"===o)&&(n.networkStatus=a.ready,n.loading=!1)):n.partial=!0,!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||n.loading||n.data||n.error||em(s.missing)}return e&&this.updateLastResult(n),n},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,ef.W)(i,this.last.result,e,this.variables):!(0,Y.D)(this.last.result,e))||t&&!(0,Y.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,Y.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},n=this.options.fetchPolicy;if("cache-and-network"===n?r.fetchPolicy=n:"no-cache"===n?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&eh.call(e,"variables")){var i=(0,h.iW)(this.query),o=i.variableDefinitions;o&&o.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||f.kG.warn(21,e,(null===(t=i.name)||void 0===t?void 0:t.value)||i)}return e&&!(0,Y.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,l.pi)((0,l.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,l.pi)((0,l.pi)({},e.query?e:(0,l.pi)((0,l.pi)((0,l.pi)((0,l.pi)({},this.options),{query:this.options.query}),e),{variables:(0,l.pi)((0,l.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var n=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var i=this.queryInfo,o=i.networkStatus;i.networkStatus=a.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var s=new Set,u=null==e?void 0:e.updateQuery,c="no-cache"!==this.options.fetchPolicy;return c||(0,f.kG)(u,22),this.queryManager.fetchQuery(n,r,a.fetchMore).then(function(f){if(t.queryManager.removeQuery(n),i.networkStatus===a.fetchMore&&(i.networkStatus=o),c)t.queryManager.cache.batch({update:function(n){var i=e.updateQuery;i?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:f.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:f.data})},onWatchUpdated:function(e){s.add(e.query)}});else{var p=t.getLast("result"),h=u(p.data,{fetchMoreResult:f.data,variables:r.variables});t.reportResult((0,l.pi)((0,l.pi)({},p),{data:h}),t.variables)}return t.maskResult(f)}).finally(function(){c&&!s.has(t.query)&&ev(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&f.kG.error(23,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,ea.o)(this.options,e||{});ep(this.options,t)},t.prototype.setVariables=function(e){return(0,Y.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,f.kG)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&(ei(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,Y.D)(t,this.last.variables)&&(r=void 0),this.last=(0,l.pi)({result:this.queryManager.assumeImmutableResults?e:(0,es.X)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var n=t===a.refetch||t===a.fetchMore||t===a.poll,i=this.options.variables,o=this.options.fetchPolicy,s=(0,ea.o)(this.options,e||{}),u=n?s:ep(this.options,s),c=this.transformDocument(u.query);this.lastQuery=c,!n&&(this.updatePolling(),e&&e.variables&&!(0,Y.D)(e.variables,i)&&"standby"!==u.fetchPolicy&&(u.fetchPolicy===o||"function"==typeof u.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=a.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=eg(u.fetchPolicy));var f=function(){r.concast===d&&(r.waitForOwnResult=!1)},p=u.variables&&(0,l.pi)({},u.variables),h=this.fetch(u,t,c),d=h.concast,v=h.fromLink,y={next:function(e){(0,Y.D)(r.variables,p)&&(f(),r.reportResult(e,p))},error:function(e){(0,Y.D)(r.variables,p)&&(I(e)||(e=new x({networkError:e})),f(),r.reportError(e,p))}};return n||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=y),d.addObserver(y),d},t.prototype.reobserve=function(e,t){return(0,eu.c)(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&(0,ec.p)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,l.pi)((0,l.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.error,loading:!1});this.updateLastResult(r,t),(0,ec.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,l.pi)((0,l.pi)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t}(p.y);function ev(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function ey(e){!1!==globalThis.__DEV__&&f.kG.error(25,e.message,e.stack)}function em(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&f.kG.debug(26,e)}function eg(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,el.D)(ed);var eb=r(71269),ek=new(O.mr?WeakMap:Map);function e_(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return ek.set(e,(ek.get(e)+1)%1e15),r.apply(this,arguments)})}function eE(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var eO=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;ek.has(r)||(ek.set(r,0),e_(r,"evict"),e_(r,"modify"),e_(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||a.loading;return this.variables&&this.networkStatus!==a.loading&&!(0,Y.D)(this.variables,e.variables)&&(t=a.setVariables),(0,Y.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){eE(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,Y.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,Y.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():ev(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1eE(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(ei(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,l.pi)((0,l.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,Y.D)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===ek.get(this.cache)&&(0,Y.D)(t,r.variables)&&(0,Y.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new eb.w0,a=(0,ee.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,ee.O)(e.incremental)){var s=(0,N.mT)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(ew(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:ek.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,Y.D)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=a.ready},e.prototype.markError=function(e){return this.networkStatus=a.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function ew(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!(0,Z.d)(e);return!n&&r&&e.data&&(n=!0),n}var eS=r(46238),eT=r(51874),eD=r(26755),eI=r(10201),eR=r(9906),ex=r(95607),eN=Object.prototype.hasOwnProperty,eC=Object.create(null),eA=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new eT.s(eD.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new eS.B(!1),this.noCacheWarningsByQueryId=new Set;var r=new $.A(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,f._K)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,l.mG)(this,arguments,void 0,function(e){var t,r,n,i,o,a,s,u=e.mutation,c=e.variables,p=e.optimisticResponse,h=e.updateQueries,d=e.refetchQueries,v=void 0===d?[]:d,y=e.awaitRefetchQueries,m=void 0!==y&&y,g=e.update,b=e.onQueryUpdated,k=e.fetchPolicy,_=void 0===k?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":k,E=e.errorPolicy,O=void 0===E?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":E,w=e.keepRootFields,S=e.context;return(0,l.Jh)(this,function(e){switch(e.label){case 0:if((0,f.kG)(u,28),(0,f.kG)("network-only"===_||"no-cache"===_,29),t=this.generateMutationId(),u=this.cache.transformForLink(this.transform(u)),r=this.getDocumentInfo(u).hasClientExports,c=this.getVariables(u,c),!r)return[3,2];return[4,this.localState.addExportedVariables(u,c,S)];case 1:c=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:u,variables:c,loading:!0,error:null}),i=p&&this.markMutationOptimistic(p,{mutationId:t,document:u,variables:c,fetchPolicy:_,errorPolicy:O,context:S,updateQueries:h,update:g,keepRootFields:w}),this.broadcastQueries(),o=this,[2,new Promise(function(e,r){return(0,X.s)(o.getObservableFromLink(u,(0,l.pi)((0,l.pi)({},S),{optimisticResponse:i?p:void 0}),c,{},!1),function(e){if((0,Z.d)(e)&&"none"===O)throw new x({graphQLErrors:(0,Z.K)(e)});n&&(n.loading=!1,n.error=null);var r=(0,l.pi)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===O&&(0,Z.d)(r)&&delete r.errors,o.markMutationResult({mutationId:t,result:r,document:u,variables:c,fetchPolicy:_,errorPolicy:O,context:S,update:g,updateQueries:h,awaitRefetchQueries:m,refetchQueries:v,removeOptimistic:i?t:void 0,onQueryUpdated:b,keepRootFields:w})}).subscribe({next:function(r){o.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,l.pi)((0,l.pi)({},r),{data:o.maskOperation({document:u,data:r.data,fetchPolicy:_,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),r(e instanceof x?e:new x({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&ew(n,e.errorPolicy)){if((0,N.GG)(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,N.GG)(n)&&(0,ee.O)(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),s=void 0;a.result&&(s=(0,N.mT)(a.result,n)),void 0!==s&&(n.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&eN.call(u,s)){var c=u[s],l=r.queries.get(o),f=l.document,p=l.variables,d=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),v=d.result;if(d.complete&&v){var y=c(v,{mutationResult:n,queryName:f&&(0,h.rY)(f)||void 0,queryVariables:p});y&&i.push({result:y,dataId:"ROOT_QUERY",query:f,variables:p})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a=e.update,s=!(0,N.M0)(n)||(0,N.GG)(n)&&!n.hasNext;if(a){if(!o){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(n=(0,l.pi)((0,l.pi)({},n),{data:u.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}s&&a(t,n,{context:e.context,variables:e.variables})}o||e.keepRootFields||!s||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return c.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:eC}):e;return n!==eC&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,l.pi)((0,l.pi)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&f.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,k.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,k.FS)(["nonreactive"],e),nonReactiveQuery:(0,G.UU)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,G.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,h.O4)((0,h.$H)(e)),asQuery:(0,l.pi)((0,l.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,l.pi)((0,l.pi)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,l.pi)((0,l.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,l.pi)((0,l.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new eO(this),n=new ed({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,f.kG)(e.query,30),(0,f.kG)("Document"===e.query.kind,31),(0,f.kG)(!e.returnPartialData,32),(0,f.kG)(!e.pollInterval,33);var n=this.transform(e.query);return this.fetchQuery(t,(0,l.pi)((0,l.pi)({},e),{query:n})).then(function(i){return i&&(0,l.pi)((0,l.pi)({},i),{data:r.maskOperation({document:n,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,f._K)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=a.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?n.set(e,!1):(0,et.JW)(e)?n.set(t.transform(e),!1):(0,T.s)(e)&&e.query&&i.add(e)}),this.queries.forEach(function(t,i){var o=t.observableQuery,a=t.document;if(o){if("all"===e){r.set(i,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&n.has(s)||a&&n.has(a))&&(r.set(i,o),s&&n.set(s,!0),a&&n.set(a,!0))}}),i.size&&i.forEach(function(e){var n=(0,er.X)("legacyOneTimeQuery"),i=t.getQuery(n).init({document:e.query,variables:e.variables}),o=new ed({queryManager:t,queryInfo:i,options:(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"network-only"})});(0,f.kG)(o.queryId===n),i.setObservableQuery(o),r.set(n,o)}),!1!==globalThis.__DEV__&&n.size&&n.forEach(function(e,t){e||!1===globalThis.__DEV__||f.kG.warn("string"==typeof t?35:36,t)}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,u,e,l).map(function(n){"no-cache"!==i&&(ew(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=(0,Z.d)(n),s=!!n.extensions&&Array.isArray(n.extensions[D]);if(o||s){var u={};if(o&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[D]),"none"===a||s)throw new x(u)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,u).then(f);return new p.y(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n,i){var o,a,s=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.getDocumentInfo(e),c=u.serverQuery,f=u.clientQuery;if(c){var d=this.inFlightLinkObservables,v=this.link,y={query:c,variables:r,operationName:(0,h.rY)(c)||void 0,context:this.prepareContext((0,l.pi)((0,l.pi)({},t),{forceFetch:!i})),extensions:n};if(t=y.context,i){var m=(0,j.S)(c),b=(0,H.B)(r),k=d.lookup(m,b);if(!(a=k.observable)){var _=new en.X([g(v,y)]);a=k.observable=_,_.beforeNext(function(){d.remove(m,b)})}}else a=new en.X([g(v,y)])}else a=new en.X([p.y.of({data:{}})]),t=this.prepareContext(t);return f&&(a=(0,X.s)(a,function(e){return s.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return(0,X.s)(this.getObservableFromLink(i,r.context,r.variables),function(o){var s=(0,Z.K)(o),u=s.length>0,c=r.errorPolicy;if(n>
1=e.lastRequestId){if(u&&"none"===c)throw e.markError(new x({graphQLErrors:s}));e.markResult(o,i,r,t),e.markReady()}var l={data:o.data,loading:!1,networkStatus:a.ready};return u&&"none"===c&&(l.data=void 0),u&&"ignore"!==c&&(l.errors=s,l.networkStatus=a.error),l},function(t){var r=I(t)?t:new x({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,s=this;void 0===r&&(r=a.loading),void 0===n&&(n=t.query);var u=this.getVariables(n,t.variables),c=this.getQuery(e),l=this.defaultOptions.watchQuery,f=t.fetchPolicy,p=void 0===f?l&&l.fetchPolicy||"cache-first":f,h=t.errorPolicy,d=void 0===h?l&&l.errorPolicy||"none":h,v=t.returnPartialData,y=t.notifyOnNetworkStatusChange,m=t.context,g=Object.assign({},t,{query:n,variables:u,fetchPolicy:p,errorPolicy:d,returnPartialData:void 0!==v&&v,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===m?{}:m}),b=function(e){g.variables=e;var n=s.fetchQueryByPolicy(c,g,r);return"standby"!==g.fetchPolicy&&n.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),n},k=function(){return s.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){k(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(g.query).hasClientExports)i=new en.X(this.localState.addExportedVariables(g.query,g.variables,g.context).then(b).then(function(e){return e.sources})),o=!0;else{var _=b(g.variables);o=_.fromLink,i=new en.X(_.sources)}return i.promise.then(k,k),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,er.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof eO&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,o=e.data;if(!1!==globalThis.__DEV__){var a=e.fetchPolicy,s=e.id,u=null===(t=(0,h.$H)(i))||void 0===t?void 0:t.operation,c=(null!==(r=null==u?void 0:u[0])&&void 0!==r?r:"o")+s;!this.dataMasking||"no-cache"!==a||(0,J.YU)(i)||this.noCacheWarningsByQueryId.has(c)||(this.noCacheWarningsByQueryId.add(c),!1!==globalThis.__DEV__&&f.kG.warn(37,null!==(n=(0,h.rY)(i))&&void 0!==n?n:"Unnamed ".concat(null!=u?u:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,eR.Kk)(),e;var n,i=(0,h.$H)(t);return((0,f.kG)(i,51),null==e)?e:(0,eI.K)(e,i.selectionSet,{operationType:i.operation,operationName:null===(n=i.name)||void 0===n?void 0:n.value,fragmentMap:(0,J.F)((0,h.kU)(t)),cache:r,mutableTargets:new eR.Td,knownChanged:new eR.wd})}(o,i,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,ex.r)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,o=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,c=t.errorPolicy,f=t.returnPartialData,h=t.context,d=t.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:i,variables:o,networkStatus:r});var y=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||a.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,Y.D)(s,{})||em(t.missing);var u=function(e){return p.y.of((0,l.pi)({data:e,loading:ei(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:s},context:h,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===c&&r===a.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},g="no-cache"===s?0:r===a.refetch&&"merge"!==u?1:2,b=function(){return n.getResultsFromLink(e,g,{query:i,variables:o,context:h,fetchPolicy:s,errorPolicy:c})},k=d&&"number"==typeof v&&v!==r&&ei(r);switch(s){default:case"cache-first":var _=y();if(_.complete)return{fromLink:!1,sources:[m(_,e.markReady())]};if(f||k)return{fromLink:!0,sources:[m(_),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var _=y();if(_.complete||f||k)return{fromLink:!0,sources:[m(_),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(k)return{fromLink:!0,sources:[m(y()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(k)return{fromLink:!0,sources:[m(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new eO(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,l.pi)((0,l.pi)((0,l.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),eP=r(50499);function eF(e){return e.kind===eP.h.FIELD||e.kind===eP.h.FRAGMENT_SPREAD||e.kind===eP.h.INLINE_FRAGMENT}var ej=r(38355),eM=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,eb.Ee)(t.resolvers,e)}):this.resolvers=(0,eb.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,l.mG)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,l.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then(function(e){return(0,l.pi)((0,l.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,k.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,G.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,l.pi)((0,l.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,l.mG)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,l.Jh)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,l.pi)((0,l.pi)({},t),e.exportedVariables)})]:[2,(0,l.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,U.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return U.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,G.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,l.mG)(this,arguments,void 0,function(e,t,r,n,i,o){var a,s,u,c,f,p,d,v,y,m;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,l.Jh)(this,function(g){return a=(0,h.p$)(e),s=(0,h.kU)(e),u=(0,J.F)(s),c=this.collectSelectionsToResolve(a,u),p=(f=a.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=this,v=d.cache,y=d.client,m={fragmentMap:u,context:(0,l.pi)((0,l.pi)({},r),{cache:v,client:y}),variables:n,fragmentMatcher:i,defaultOperationType:p,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,l.mG)(this,void 0,void 0,function(){var i,o,a,s,u,c=this;return(0,l.Jh)(this,function(p){return i=n.fragmentMap,o=n.context,a=n.variables,s=[r],u=function(e){return(0,l.mG)(c,void 0,void 0,function(){var u,c;return(0,l.Jh)(this,function(l){return(t||n.selectionsToResolve.has(e))&&(0,k.LZ)(e,a)?(0,et.My)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&s.push(((r={}
1)[(0,et.u2)(e)]=t,r))})]:((0,et.Ao)(e)?u=e:(u=i[e.name.value],(0,f.kG)(u,19,e.name.value)),u&&u.typeCondition&&(c=u.typeCondition.name.value,n.fragmentMatcher(r,c,o)))?[2,this.resolveSelectionSet(u.selectionSet,t,r,n).then(function(e){s.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return(0,eb.bw)(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,l.mG)(this,void 0,void 0,function(){var i,o,a,s,u,c,f,p,h,d=this;return(0,l.Jh)(this,function(l){return r?(i=n.variables,s=(o=e.name.value)!==(a=(0,et.u2)(e)),c=Promise.resolve(u=r[a]||r[o]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||n.defaultOperationType,(p=this.resolvers&&this.resolvers[f])&&(h=p[s?o:a])&&(c=Promise.resolve(ej.ab.withValue(this.cache,h,[r,(0,et.NC)(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var o=new Set;n.set(i,o),(0,U.Vn)(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&eF(e)&&o.add(e)})},FragmentSpread:function(n,i,a,s,u){var c=t[n.name.value];(0,f.kG)(c,20,n.name.value);var l=e(c);l.size>0&&(u.forEach(function(e){r(e)&&eF(e)&&o.add(e)}),o.add(n),l.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),eQ=r(49466),eL=r(97353),eq=!1,eV=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,f._K)(16);var n=e.uri,i=e.credentials,o=e.headers,a=e.cache,s=e.documentTransform,u=e.ssrMode,c=void 0!==u&&u,p=e.ssrForceFetchDelay,h=void 0===p?0:p,d=e.connectToDevTools,v=e.queryDeduplication,y=void 0===v||v,g=e.defaultOptions,k=e.defaultContext,_=e.assumeImmutableResults,E=void 0===_?a.assumeImmutableResults:_,O=e.resolvers,w=e.typeDefs,S=e.fragmentMatcher,T=e.name,D=e.version,I=e.devtools,R=e.dataMasking,x=e.link;x||(x=n?new K({uri:n,credentials:i,headers:o}):m.empty()),this.link=x,this.cache=a,this.disableNetworkFetches=c||h>0,this.queryDeduplication=y,this.defaultOptions=g||Object.create(null),this.typeDefs=w,this.devtoolsConfig=(0,l.pi)((0,l.pi)({},I),{enabled:null!==(t=null==I?void 0:I.enabled)&&void 0!==t?t:d}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),h&&setTimeout(function(){return r.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=b.i,this.localState=new eM({cache:a,client:this,resolvers:O,fragmentMatcher:S}),this.queryManager=new eA({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:k,documentTransform:s,queryDeduplication:y,ssrMode:c,dataMasking:!!R,clientAwareness:{name:T,version:D},localState:this.localState,assumeImmutableResults:E,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!eq&&!1!==globalThis.__DEV__&&(eq=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&f.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,eQ.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,eQ.J)(this.defaultOptions.query,e)),(0,f.kG)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,l.pi)((0,l.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,eQ.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return(0,l.pi)((0,l.pi)({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,l.pi)((0,l.pi)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return g(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&f.kG.debug(18,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(eV.prototype.getMemoryInternals=eL.su);var eB=r(97245),eU=r(445),eG=r(15051),ez=r(99587),eW=r(83598),eK=m.empty,eY=m.from,eJ=m.split,eH=m.concat,e$=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}};function eX(e){var t=!1;return new Promise(function(r,n){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&f.kG.warn(45):(t=!0,r(e))},error:n})})}function eZ(e){return new p.y(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}var e0=r(4044);function e1(e){return(e1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var e2="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function e9(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,o=t+1-(r.index+r[0].length);return{line:i,column:o}}function e8(e,t){var r=e.locationOffset.column-1,n=e6(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,u=t.column+s,c="".concat(e.name,":").concat(a,":").concat(u,"\n"),l=n.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){for(var p=Math.floor(u/80),h=u%80,d=[],v=0;v<f.length;v+=80)d.push(f.slice(v,v+80));return c+e3([["".concat(a),d[0]]].concat(d.slice(1,p+1).map(function(e){return["",e]}),[[" ",e6(h-1)+"^"],["",d[p+1]]]))}return c+e3([["".concat(a-1),l[i-1]],["".concat(a),f],["",e6(u-1)+"^"],["".concat(a+1),l[i+1]]])}function e3(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}
1),r=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t=e[0],n=e[1];return e6(r-t.length)+t+(n?" | "+n:" |")}).join("\n")}function e6(e){return Array(e+1).join(" ")}function e5(e){return(e5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function e7(e,t){return t&&("object"===e5(t)||"function"==typeof t)?t:te(e)}function te(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tt(e){var t="function"==typeof Map?new Map:void 0;return(tt=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return tr(e,arguments,to(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ti(r,e)})(e)}function tr(e,t,r){return(tr=tn()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&ti(i,r.prototype),i}).apply(null,arguments)}function tn(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function ti(e,t){return(ti=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function to(e){return(to=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ta=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ti(e,t)}(i,e);var t,r,n=(t=tn(),function(){var e,r=to(i);return e=t?Reflect.construct(r,arguments,to(this).constructor):r.apply(this,arguments),e7(this,e)});function i(e,t,r,o,a,s,u){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i),(y=n.call(this,e)).name="GraphQLError",y.originalError=null!=s?s:void 0,y.nodes=ts(Array.isArray(t)?t:t?[t]:void 0);for(var c,l=[],f=0,p=null!==(m=y.nodes)&&void 0!==m?m:[];f<p.length;f++){var h,d,v,y,m,g=p[f].loc;null!=g&&l.push(g)}l=ts(l),y.source=null!=r?r:null===(h=l)||void 0===h?void 0:h[0].source,y.positions=null!=o?o:null===(d=l)||void 0===d?void 0:d.map(function(e){return e.start}),y.locations=o&&r?o.map(function(e){return e9(r,e)}):null===(v=l)||void 0===v?void 0:v.map(function(e){return e9(e.source,e.start)}),y.path=null!=a?a:void 0;var b=null==s?void 0:s.extensions;return null==u&&"object"==e1(c=b)&&null!==c?y.extensions=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?e4(Object(r),!0).forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):e4(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},b):y.extensions=null!=u?u:{},(Object.defineProperties(te(y),{message:{enumerable:!0},locations:{enumerable:null!=y.locations},path:{enumerable:null!=y.path},extensions:{enumerable:null!=y.extensions&&Object.keys(y.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack)?(Object.defineProperty(te(y),"stack",{value:s.stack,writable:!0,configurable:!0}),e7(y)):(Error.captureStackTrace?Error.captureStackTrace(te(y),i):Object.defineProperty(te(y),"stack",{value:Error().stack,writable:!0,configurable:!0}),y)}return r=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var i,o=n[r];o.loc&&(t+="\n\n"+e8((i=o.loc).source,e9(i.source,i.start)))}else if(e.source&&e.locations)for(var a=0,s=e.locations;a<s.length;a++){var u=s[a];t+="\n\n"+e8(e.source,u)}return t}(this)}},{key:e2,get:function(){return"Object"}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(i.prototype,r),i}(tt(Error));function ts(e){return void 0===e||0===e.length?void 0:e}function tu(e,t,r){return new ta("Syntax Error: ".concat(r),void 0,e,[t])}var tc=r(7),tl=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}
1",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),tf=r(46607);function tp(e,t){if(!e)throw Error(t)}var th=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||tp(0,"Body must be a string. Received: ".concat((0,tf.Z)(e),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||tp(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||tp(0,"column in locationOffset is 1-indexed and must be positive.")}return function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:e2,get:function(){return"Source"}}]),e}(),td=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),tv=r(96453),ty=function(){function e(e){var t=new tc.WU(tl.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e,t=this.token;if(t.kind!==tl.EOF)do t=null!==(e=t.next)&&void 0!==e?e:t.next=function(e,t){for(var r=e.source,n=r.body,i=n.length,o=t.end;o<i;){var a=n.charCodeAt(o),s=e.line,u=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new tc.WU(tl.BANG,o,o+1,s,u,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do o=a.charCodeAt(++s);while(!isNaN(o)&&(o>31||9===o));return new tc.WU(tl.COMMENT,t,s,r,n,i,a.slice(t+1,s))}(r,o,s,u,t);case 36:return new tc.WU(tl.DOLLAR,o,o+1,s,u,t);case 38:return new tc.WU(tl.AMP,o,o+1,s,u,t);case 40:return new tc.WU(tl.PAREN_L,o,o+1,s,u,t);case 41:return new tc.WU(tl.PAREN_R,o,o+1,s,u,t);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return new tc.WU(tl.SPREAD,o,o+3,s,u,t);break;case 58:return new tc.WU(tl.COLON,o,o+1,s,u,t);case 61:return new tc.WU(tl.EQUALS,o,o+1,s,u,t);case 64:return new tc.WU(tl.AT,o,o+1,s,u,t);case 91:return new tc.WU(tl.BRACKET_L,o,o+1,s,u,t);case 93:return new tc.WU(tl.BRACKET_R,o,o+1,s,u,t);case 123:return new tc.WU(tl.BRACE_L,o,o+1,s,u,t);case 124:return new tc.WU(tl.PIPE,o,o+1,s,u,t);case 125:return new tc.WU(tl.BRACE_R,o,o+1,s,u,t);case 34:if(34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2))return function(e,t,r,n,i,o){for(var a=e.body,s=t
1+3,u=s,c=0,l="";s<a.length&&!isNaN(c=a.charCodeAt(s));){if(34===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return l+=a.slice(u,s),new tc.WU(tl.BLOCK_STRING,t,s+3,r,n,i,(0,tv.W7)(l));if(c<32&&9!==c&&10!==c&&13!==c)throw tu(e,s,"Invalid character within String: ".concat(tm(c),"."));10===c?(++s,++o.line,o.lineStart=s):13===c?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===c&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(l+=a.slice(u,s)+'"""',s+=4,u=s):++s}throw tu(e,s,"Unterminated string.")}(r,o,s,u,t,e);return function(e,t,r,n,i){for(var o=e.body,a=t+1,s=a,u=0,c="";a<o.length&&!isNaN(u=o.charCodeAt(a))&&10!==u&&13!==u;){if(34===u)return c+=o.slice(s,a),new tc.WU(tl.STRING,t,a+1,r,n,i,c);if(u<32&&9!==u)throw tu(e,a,"Invalid character within String: ".concat(tm(u),"."));if(++a,92===u){switch(c+=o.slice(s,a-1),u=o.charCodeAt(a)){case 34:c+='"';break;case 47:c+="/";break;case 92:c+="\\";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+="\n";break;case 114:c+="\r";break;case 116:c+=" ";break;case 117:var l,f,p,h,d=(l=o.charCodeAt(a+1),f=o.charCodeAt(a+2),p=o.charCodeAt(a+3),h=o.charCodeAt(a+4),tb(l)<<12|tb(f)<<8|tb(p)<<4|tb(h));if(d<0){var v=o.slice(a+1,a+5);throw tu(e,a,"Invalid character escape sequence: \\u".concat(v,"."))}c+=String.fromCharCode(d),a+=4;break;default:throw tu(e,a,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}s=++a}}throw tu(e,a,"Unterminated string.")}(r,o,s,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a,s=e.body,u=r,c=t,l=!1;if(45===u&&(u=s.charCodeAt(++c)),48===u){if((u=s.charCodeAt(++c))>=48&&u<=57)throw tu(e,c,"Invalid number, unexpected digit after 0: ".concat(tm(u),"."))}else c=tg(e,c,u),u=s.charCodeAt(c);if(46===u&&(l=!0,u=s.charCodeAt(++c),c=tg(e,c,u),u=s.charCodeAt(c)),(69===u||101===u)&&(l=!0,(43===(u=s.charCodeAt(++c))||45===u)&&(u=s.charCodeAt(++c)),c=tg(e,c,u),u=s.charCodeAt(c)),46===u||95===(a=u)||a>=65&&a<=90||a>=97&&a<=122)throw tu(e,c,"Invalid number, expected digit but got: ".concat(tm(u),"."));return new tc.WU(l?tl.FLOAT:tl.INT,t,c,n,i,o,s.slice(t,c))}(r,o,a,s,u,t);
1case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){for(var o=e.body,a=o.length,s=t+1,u=0;s!==a&&!isNaN(u=o.charCodeAt(s))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new tc.WU(tl.NAME,t,s,r,n,i,o.slice(t,s))}(r,o,s,u,t)}throw tu(r,o,a<32&&9!==a&&10!==a&&13!==a?"Cannot contain the invalid character ".concat(tm(a),"."):39===a?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(tm(a),"."))}var c=e.line,l=1+o-e.lineStart;return new tc.WU(tl.EOF,i,i,c,l,t)}(this,t);while(t.kind===tl.COMMENT);return t},e}();function tm(e){return isNaN(e)?tl.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function tg(e,t,r){var n=e.body,i=t,o=r;if(o>=48&&o<=57){do o=n.charCodeAt(++i);while(o>=48&&o<=57);return i}throw tu(e,i,"Invalid number, expected digit but got: ".concat(tm(o),"."))}function tb(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}
1var tk=function(){function e(e,t){var r=e instanceof th?e:new th(e);this._lexer=new ty(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(tl.NAME);return{kind:eP.h.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:eP.h.DOCUMENT,definitions:this.many(tl.SOF,this.parseDefinition,tl.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(tl.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else if(this.peek(tl.BRACE_L))return this.parseOperationDefinition();else if(this.peekDescription())return this.parseTypeSystemDefinition();throw this.unexpected()},t.parseOperationDefinition=function(){var e,t=this._lexer.token;if(this.peek(tl.BRACE_L))return{kind:eP.h.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var r=this.parseOperationType();return this.peek(tl.NAME)&&(e=this.parseName()),{kind:eP.h.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseOperationType=function(){var e=this.expectToken(tl.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(tl.PAREN_L,this.parseVariableDefinition,tl.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:eP.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(tl.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(tl.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(tl.DOLLAR),{kind:eP.h.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:eP.h.SELECTION_SET,selections:this.many(tl.BRACE_L,this.parseSelection,tl.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(tl.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(tl.COLON)?(e=n,t=this.parseName()):t=n,{kind:eP.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(tl.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(tl.PAREN_L,t,tl.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(tl.COLON),{kind:eP.h.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:eP.h.ARGUMENT,name:this.parseName(),value:(this.expectToken(tl.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(tl.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(tl.NAME)?{kind:eP.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:eP.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return(this.expectKeyword("fragment"),(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)===!0)?{kind:eP.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:eP.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case tl.BRACKET_L:return this.parseList(e);case tl.BRACE_L:return this.parseObject(e);case tl.INT:return this._lexer.advance(),{kind:eP.h.INT,value:t.value,loc:this.loc(t)};case tl.FLOAT:return this._lexer.advance(),{kind:eP.h.FLOAT,value:t.value,loc:this.loc(t)};case tl.STRING:case tl.BLOCK_STRING:return this.parseStringLiteral();case tl.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:eP.h.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:eP.h.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:eP.h.NULL,loc:this.loc(t)};default:return{kind:eP.h.ENUM,value:t.value,loc:this.loc(t)}}case tl.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:eP.h.STRING,value:e.value,block:e.kind===tl.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:eP.h.LIST,values:this.any(tl.BRACKET_L,function(){return t.parseValueLiteral(e)},tl.BRACKET_R),loc:this.loc(r)}
1},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:eP.h.OBJECT,fields:this.any(tl.BRACE_L,function(){return t.parseObjectField(e)},tl.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(tl.COLON),{kind:eP.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(tl.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(tl.AT),{kind:eP.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return(this.expectOptionalToken(tl.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(tl.BRACKET_R),e={kind:eP.h.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(tl.BANG))?{kind:eP.h.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:eP.h.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===tl.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(tl.STRING)||this.peek(tl.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(tl.BRACE_L,this.parseOperationTypeDefinition,tl.BRACE_R);return{kind:eP.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(tl.COLON);var r=this.parseNamedType();return{kind:eP.h.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:eP.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:eP.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if((null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)===!0){var t=[];this.expectOptionalToken(tl.AMP);do t.push(this.parseNamedType());while(this.expectOptionalToken(tl.AMP)||this.peek(tl.NAME));return t}return this.delimitedMany(tl.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)===!0&&this.peek(tl.BRACE_L)&&this._lexer.lookahead().kind===tl.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(tl.BRACE_L,this.parseFieldDefinition,tl.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(tl.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:eP.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(tl.PAREN_L,this.parseInputValueDef,tl.PAREN_R)},t.parseInputValueDef=function(){var e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(tl.COLON);var i=this.parseTypeReference();this.expectOptionalToken(tl.EQUALS)&&(e=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:eP.h.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:o,loc:this.loc(t)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:eP.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:eP.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(tl.EQUALS)?this.delimitedMany(tl.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:eP.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(tl.BRACE_L,this.parseEnumValueDefinition,tl.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:eP.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:eP.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(tl.BRACE_L,this.parseInputValueDef,tl.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===tl.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(tl.BRACE_L,this.parseOperationTypeDefinition,tl.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:eP.h.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:eP.h.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();
1return{kind:eP.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:eP.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:eP.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:eP.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:eP.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(tl.AT);var r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:eP.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(tl.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==td[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if((null===(t=this._options)||void 0===t?void 0:t.noLocation)!==!0)return new tc.Ye(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw tu(this._lexer.source,t.start,"Expected ".concat(tE(e),", found ").concat(t_(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind===tl.NAME&&t.value===e)this._lexer.advance();else throw tu(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(t_(t),"."))},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===tl.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return tu(this._lexer.source,t.start,"Unexpected ".concat(t_(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r},e}();function t_(e){var t=e.value;return tE(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function tE(e){return e===tl.BANG||e===tl.DOLLAR||e===tl.AMP||e===tl.PAREN_L||e===tl.PAREN_R||e===tl.SPREAD||e===tl.COLON||e===tl.EQUALS||e===tl.AT||e===tl.BRACKET_L||e===tl.BRACKET_R||e===tl.BRACE_L||e===tl.PIPE||e===tl.BRACE_R?'"'.concat(e,'"'):e}var tO=new Map,tw=new Map,tS=!0,tT=!1;function tD(e){return e.replace(/[\s,]+/g," ").trim()}function tI(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=tD(e);if(!tO.has(t)){var r,n,i,o,a,s=new tk(e,{experimentalFragmentVariables:tT,allowLegacyFragmentVariables:tT}).parseDocument();if(!s||"Document"!==s.kind)throw Error("Not a valid GraphQL document.");tO.set(t,((o=new Set((r=new Set,n=[],s.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=tD((t=e.loc).source.body.substring(t.start,t.end)),a=tw.get(i);a&&!a.has(o)?tS&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||tw.set(i,a=new Set),a.add(o),r.has(o)||
1(r.add(o),n.push(e))}else n.push(e)}),i=(0,l.pi)((0,l.pi)({},s),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&o.add(r)})}),(a=i.loc)&&(delete a.startToken,delete a.endToken),i))}return tO.get(t)}(n)}function tR(){tO.clear(),tw.clear()}function tx(){tS=!1}function tN(){tT=!0}function tC(){tT=!1}var tA=tI;(i=tI||(tI={})).gql=tA,i.resetCaches=tR,i.disableFragmentWarnings=tx,i.enableExperimentalFragmentVariables=tN,i.disableExperimentalFragmentVariables=tC,tI.default=tI,(0,e0.setVerbosity)(!1!==globalThis.__DEV__?"log":"silent");var tP=r(79285),tF=r.t(tP,2),tj=O.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function tM(){(0,f.kG)("createContext"in tF,54);var e=tP.createContext[tj];return e||(Object.defineProperty(tP.createContext,tj,{value:e=tP.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var tQ=tM,tL=function(e){var t=e.client,r=e.children,n=tM(),i=tP.useContext(n),o=tP.useMemo(function(){return(0,l.pi)((0,l.pi)({},i),{client:t||i.client})},[i,t]);return(0,f.kG)(o.client,55),tP.createElement(n.Provider,{value:o},r)},tq=function(e){var t=tM();return tP.createElement(t.Consumer,null,function(t){return(0,f.kG)(t&&t.client,53),e.children(t.client)})};function tV(e){var t=tP.useContext(tM()),r=e||t.client;return(0,f.kG)(!!r,58),r}var tB=!1,tU=tF.useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||tB||n===t()||(tB=!0,!1!==globalThis.__DEV__&&f.kG.error(68));var i=tP.useState({inst:{value:n,getSnapshot:t}}),o=i[0].inst,a=i[1];return O.JC?tP.useLayoutEffect(function(){Object.assign(o,{value:n,getSnapshot:t}),tG(o)&&a({inst:o})},[e,n,t]):Object.assign(o,{value:n,getSnapshot:t}),tP.useEffect(function(){return tG(o)&&a({inst:o}),e(function(){tG(o)&&a({inst:o})})},[e]),n};function tG(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}function tz(e){var t;switch(e){case s.Query:t="Query";break;case s.Mutation:t="Mutation";break;case s.Subscription:t="Subscription"}return t}function tW(e){u||(u=new eT.s(eD.Q.parser||1e3));var t,r,n=u.get(e);if(n)return n;(0,f.kG)(!!e&&!!e.kind,70,e);for(var i=[],o=[],a=[],c=[],l=0,p=e.definitions;l<p.length;l++){var h=p[l];if("FragmentDefinition"===h.kind){i.push(h);continue}if("OperationDefinition"===h.kind)switch(h.operation){case"query":o.push(h);break;case"mutation":a.push(h);break;case"subscription":c.push(h)}}(0,f.kG)(!i.length||o.length||a.length||c.length,71),(0,f.kG)(o.length+a.length+c.length<=1,72,e,o.length,c.length,a.length),r=o.length?s.Query:s.Mutation,o.length||a.length||(r=s.Subscription);var d=o.length?o:a.length?a:c;(0,f.kG)(1===d.length,73,e,d.length);var v=d[0];t=v.variableDefinitions||[];var y={name:v.name&&"Name"===v.name.kind?v.name.value:"data",type:r,variables:t};return u.set(e,y),y}function tK(e,t){var r=tW(e),n=tz(t),i=tz(r.type);(0,f.kG)(r.type===t,74,n,n,i)}(o=s||(s={}))[o.Query=0]="Query",o[o.Mutation=1]="Mutation",o[o.Subscription=2]="Subscription",tW.resetCache=function(){u=void 0},!1!==globalThis.__DEV__&&(0,eL.zP)("parser",function(){return u?u.size:0});var tY=r(82187),tJ=Symbol.for("apollo.hook.wrappers");function tH(e,t,r){var n=r.queryManager,i=n&&n[tJ],o=i&&i[e];return o?o(t):t}var t$=Object.prototype.hasOwnProperty;function tX(){}var tZ=Symbol();function t0(e,t){return void 0===t&&(t=Object.create(null)),tH("useQuery",t1,tV(t&&t.client))(e,t)}function t1(e,t){var r=t2(e,t),n=r.result,i=r.obsQueryFields;return tP.useMemo(function(){return(0,l.pi)((0,l.pi)({},n),i)},[n,i])}function t2(e,t){var r,n,i,o,u,c,f=tV(t.client),p=tP.useContext(tM()).renderPromises,h=!!p,d=f.disableNetworkFetches,v=!1!==t.ssr&&!t.skip,y=t.partialRefetch,m=t9(f,e,t,h),g=function(e,t,r,n,i){function o(o){var a;return tK(t,s.Query),{client:e,query:t,observable:n&&n.getSSRObservable(i())||e.watchQuery(t8(void 0,e,r,i())),resultData:{previousData:null===(a=null==o?void 0:o.resultData.current)||void 0===a?void 0:a.data}}}var a=tP.useState(o),u=a[0],c=a[1];function f(e){Object.assign(u.observable,((t={})[tZ]=e,t));var t,r,n=u.resultData;c((0,l.pi)((0,l.pi)({},u),{query:e.query,resultData:Object.assign(n,{previousData:(null===(r=n.current)||void 0===r?void 0:r.data)||n.previousData,current:void 0})}))}if(e!==u.client||t!==u.query){var p=o(u);return c(p),[p,f]}return[u,f]}(f,e,t,p,m),b=g[0],k=b.observable,_=b.resultData,E=g[1],O=m(k);k[tZ]&&!(0,Y.D)(k[tZ],O)&&(k.reobserve(t8(k,f,t,O)),_.previousData=(null===(r=_.current)||void 0===r?void 0:r.data)||_.previousData,_.current=void 0),k[tZ]=O;var w=tP.useMemo(function(){return{refetch:k.refetch.bind(k),reobserve:k.reobserve.bind(k),fetchMore:k.fetchMore.bind(k),updateQuery:k.updateQuery.bind(k),startPolling:k.startPolling.bind(k),stopPolling:k.stopPolling.bind(k),subscribeToMore:k.subscribeToMore.bind(k)}},[k]);return p&&v&&(p.registerSSRObservable(k),k.getCurrentResult().loading&&p.addObservableQueryPromise(k)),{result:(n={onCompleted:t.onCompleted||tX,onError:t.onError||tX},i=tP.useRef(n),tP.useEffect(function(){i.current=n}
1),o=(h||d)&&!1===t.ssr&&!t.skip?re:t.skip||"standby"===O.fetchPolicy?rt:void 0,u=_.previousData,c=tP.useMemo(function(){return o&&t7(o,u,k,f)},[f,k,o,u]),tU(tP.useCallback(function(e){if(h)return function(){};var t=function(){var t=_.current,r=k.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,Y.D)(t.data,r.data)||t3(r,_,k,f,y,e,i.current)},r=function(o){if(n.current.unsubscribe(),n.current=k.resubscribeAfterError(t,r),!t$.call(o,"graphQLErrors"))throw o;var s=_.current;(!s||s&&s.loading||!(0,Y.D)(o,s.error))&&t3({data:s&&s.data,error:o,loading:!1,networkStatus:a.error},_,k,f,y,e,i.current)},n={current:k.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[d,h,k,_,y,f]),function(){return c||t6(_,k,i.current,y,f)},function(){return c||t6(_,k,i.current,y,f)})),obsQueryFields:w,observable:k,resultData:_,client:f,onQueryExecuted:E}}function t9(e,t,r,n){void 0===r&&(r={});var i=r.skip,o=(r.ssr,r.onCompleted,r.onError,r.defaultOptions),a=(0,l._T)(r,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(r){var s=Object.assign(a,{query:t});return n&&("network-only"===s.fetchPolicy||"cache-and-network"===s.fetchPolicy)&&(s.fetchPolicy="cache-first"),s.variables||(s.variables={}),i?(s.initialFetchPolicy=s.initialFetchPolicy||s.fetchPolicy||t5(o,e.defaultOptions),s.fetchPolicy="standby"):s.fetchPolicy||(s.fetchPolicy=(null==r?void 0:r.options.initialFetchPolicy)||t5(o,e.defaultOptions)),s}}function t8(e,t,r,n){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,ea.o)(e&&e.options,n)),i.reduce(eQ.J)}function t3(e,t,r,n,i,o,s){var u=t.current;u&&u.data&&(t.previousData=u.data),!e.error&&(0,ee.O)(e.errors)&&(e.error=new x({graphQLErrors:e.errors})),t.current=t7(e.partial&&i&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==r.options.fetchPolicy?(r.refetch(),(0,l.pi)((0,l.pi)({},e),{loading:!0,networkStatus:a.refetch})):e,t.previousData,r,n),o(),function(e,t,r){if(!e.loading){var n=t4(e);Promise.resolve().then(function(){n?r.onError(n):e.data&&t!==e.networkStatus&&e.networkStatus===a.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&f.kG.warn(e)})}}(e,null==u?void 0:u.networkStatus,s)}function t6(e,t,r,n,i){return e.current||t3(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function t5(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null===(r=null==t?void 0:t.watchQuery)||void 0===r?void 0:r.fetchPolicy)||"cache-first"}function t4(e){return(0,ee.O)(e.errors)?new x({graphQLErrors:e.errors}):e.error}function t7(e,t,r,n){var i=e.data,o=(e.partial,(0,l._T)(e,["data","partial"]));return(0,l.pi)((0,l.pi)({data:i},o),{client:n,observable:r,variables:r.variables,called:e!==re&&e!==rt,previousData:t})}var re=(0,tY.J)({loading:!0,data:void 0,error:void 0,networkStatus:a.loading}),rt=(0,tY.J)({loading:!1,data:void 0,error:void 0,networkStatus:a.ready}),rr=O.Nq?tP.useLayoutEffect:tP.useEffect,rn=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"];function ri(e,t){var r,n=tP.useRef(),i=tP.useRef(),o=tP.useRef(),a=(0,eQ.J)(t,n.current||{}),s=null!==(r=null==a?void 0:a.query)&&void 0!==r?r:e;i.current=t,o.current=s;var u=(0,l.pi)((0,l.pi)({},a),{skip:!n.current}),c=t2(s,u),f=c.obsQueryFields,p=c.result,h=c.client,d=c.resultData,v=c.observable,y=c.onQueryExecuted,m=v.options.initialFetchPolicy||t5(u.defaultOptions,h.defaultOptions),g=tP.useReducer(function(e){return e+1},0)[1],b=tP.useMemo(function(){for(var e={},t=0;t<rn.length;t++)!function(t){var r=f[t];e[t]=function(){return n.current||(n.current=Object.create(null),g()),r.apply(this,arguments)}}(rn[t]);return e},[g,f]),k=!!n.current,_=tP.useMemo(function(){return(0,l.pi)((0,l.pi)((0,l.pi)({},p),b),{called:k})},[p,b,k]),E=tP.useCallback(function(e){n.current=e?(0,l.pi)((0,l.pi)({},e),{fetchPolicy:e.fetchPolicy||m}):{fetchPolicy:m};var t,r,a,u=(0,eQ.J)(i.current,(0,l.pi)({query:o.current},n.current)),c=(r=t9(h,(t=(0,l.pi)((0,l.pi)({},u),{skip:!1})).query||s,t,!1)(v),a=v.reobserveAsConcast(t8(v,h,t,r)),y(r),new Promise(function(e){var t;a.subscribe({next:function(e){t=e},error:function(){e(t7(v.getCurrentResult(),d.previousData,v,h))},complete:function(){e(t7(v.maskResult(t),d.previousData,v,h))}})})).then(function(e){return Object.assign(e,b)});return c.catch(function(){}),c},[h,s,b,m,v,d,y]),O=tP.useRef(E);return rr(function(){O.current=E}),[tP.useCallback(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return O.current.apply(O,e)},[]),_]}function ro(e,t){var r=tV(null==t?void 0:t.client);tK(e,s.Mutation);var n=tP.useState({called:!1,loading:!1,client:r}),i=n[0],o=n[1],a=tP.useRef({result:i,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});rr(function(){Object.assign(a.current,{client:r,options:t,mutation:e})});var u=tP.useCallback(function(e){void 0===e&&(e={});var t=a.current,r=t.options,n=t.mutation,i=(0,l.pi)((0,l.pi)({},r),{mutation:n}),s=e.client||a.current.client;a.current.result.loading||i.ignoreResults||!a.current.isMounted||o(a.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:s});var u=++a.current.mutationId,c=(0,eQ.J)(i,e);return s.mutate(c).then(function(t){var r,n,i=t.data,l=t.errors,f=l&&l.length>0?new x({graphQLErrors:l}):void 0,p=e.onError||(null===(r=a.current.options)||void 0===r?void 0:r.onError);if(f&&p&&p(f,c),u===a.current.mutationId&&!c.ignoreResults){var h={called:!0,loading:!1,data:i,error:f,client:s};a.current.isMounted&&!(0,Y.D)(a.current.result,h)&&o(a.current.result=h)}var d=e.onCompleted||(null===(n=a.current.options)||void 0===n?void 0:n.onCompleted);return f||null==d||d(t.data,c),t}).catch(function(t){if(u===a.current.mutationId&&a.current.isMounted){var r,n={loading:!1,error:t,data:void 0,called:!0,client:s};(0,Y.D)(a.current.result,n)||o(a.current.result=n)}var i=e.onError||(null===(r=a.current.options)||void 0===r?void 0:r.onError);if(i)return i(t,c),{data:void 0,errors:t};throw t})},[]),c=tP.useCallback(function(){if(a.current.isMounted){var e={called:!1,loading:!1,client:a.current.client};Object.assign(a.current,{mutationId:0,result:e}),o(e)}},[]);return tP.useEffect(function(){var e=a.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[u,(0,l.pi)({reset:c},i)]}function ra(e,t){var r=tP.useRef();return r.current&&(0,Y.D)(r.current.deps,t)||(r.current={value:e(),deps:t}),r.current.value}function rs(e,t){void 0===t&&(t=Object.create(null));var r=tP.useRef(!1),n=tV(t.client);tK(e,s.Subscription),!r.current&&(r.current=!0,t.onSubscriptionData&&!1!==globalThis.__DEV__&&f.kG.warn(t.onData?61:62),t.onSubscriptionComplete&&!1!==globalThis.__DEV__&&f.kG.warn(t.onComplete?63:64));var i=t.skip,o=t.fetchPolicy,a=t.errorPolicy,u=t.shouldResubscribe,c=t.context,h=t.extensions,d=t.ignoreResults,v=ra(function(){return t.variables},[t.variables]),y=function(){var t,r,i;return t={query:e,variables:v,fetchPolicy:o,errorPolicy:a,context:c,extensions:h},r=(0,l.pi)((0,l.pi)({},t),{client:n,result:{loading:!0,data:void 0,error:void 0,variables:v},setResult:function(e){r.result=e}}),i=null,Object.assign(new p.y(function(e){i||(i=n.subscribe(t));var r=i.subscribe(e);return function(){return r.unsubscribe()}}),{__:r})}
1,m=tP.useState(t.skip?null:y),g=m[0],b=m[1],k=tP.useRef(y);rr(function(){k.current=y}),i?g&&b(g=null):g&&(n===g.__.client&&e===g.__.query&&o===g.__.fetchPolicy&&a===g.__.errorPolicy&&(0,Y.D)(v,g.__.variables)||("function"==typeof u?!!u(t):u)===!1)||b(g=y());var _=tP.useRef(t);tP.useEffect(function(){_.current=t});var E=!i&&!d,O=tP.useMemo(function(){return{loading:E,error:void 0,data:void 0,variables:v}},[E,v]),w=tP.useRef(d);rr(function(){w.current=d});var S=tU(tP.useCallback(function(e){if(!g)return function(){};var t=!1,r=g.__.variables,n=g.__.client,i=g.subscribe({next:function(i){if(!t){var o,a,s={loading:!1,data:i.data,error:t4(i),variables:r};g.__.setResult(s),w.current||e(),s.error?null===(a=(o=_.current).onError)||void 0===a||a.call(o,s.error):_.current.onData?_.current.onData({client:n,data:s}):_.current.onSubscriptionData&&_.current.onSubscriptionData({client:n,subscriptionData:s})}},error:function(n){var i,o;n=n instanceof x?n:new x({protocolErrors:[n]}),t||(g.__.setResult({loading:!1,data:void 0,error:n,variables:r}),w.current||e(),null===(o=(i=_.current).onError)||void 0===o||o.call(i,n))},complete:function(){!t&&(_.current.onComplete?_.current.onComplete():_.current.onSubscriptionComplete&&_.current.onSubscriptionComplete())}});return function(){t=!0,setTimeout(function(){i.unsubscribe()})}},[g]),function(){return!g||i||d?O:g.__.result},function(){return O}),T=tP.useCallback(function(){(0,f.kG)(!_.current.skip,65),b(k.current())},[_,k]);return tP.useMemo(function(){return(0,l.pi)((0,l.pi)({},S),{restart:T})},[S,T])}function ru(e){return tU(tP.useCallback(function(t){return e.onNextChange(function r(){t(),e.onNextChange(r)})},[e]),e,e)}function rc(e){return tH("useFragment",rl,tV(e.client))(e)}function rl(e){var t=tV(e.client),r=t.cache,n=e.from,i=(0,l._T)(e,["from"]),o=tP.useMemo(function(){return"string"==typeof n?n:null===n?null:r.identify(n)},[r,n]),a=ra(function(){return(0,l.pi)((0,l.pi)({},i),{from:o})},[i,o]),s=tP.useMemo(function(){var e=a.fragment,r=a.fragmentName,n=a.from,i=a.optimistic;if(null===n)return{result:rf({result:{},complete:!1})};var o=t.cache,s=o.diff((0,l.pi)((0,l.pi)({},a),{returnPartialData:!0,id:n,query:o.getFragmentDoc(e,r),optimistic:void 0===i||i}));return{result:rf((0,l.pi)((0,l.pi)({},s),{result:t.queryManager.maskFragment({fragment:e,fragmentName:r,data:s.result})}))}},[t,a]),u=tP.useCallback(function(){return s.result},[s]);return tU(tP.useCallback(function(e){var r=0,n=null===a.from?null:t.watchFragment(a).subscribe({next:function(t){(0,Y.Z)(t,s.result)||(s.result=t,clearTimeout(r),r=setTimeout(e))}});return function(){null==n||n.unsubscribe(),clearTimeout(r)}},[t,a,s]),u,u)}function rf(e){var t={data:e.result,complete:!!e.complete};return e.missing&&(t.missing=(0,eb.bw)(e.missing.map(function(e){return e.missing}))),t}var rp=r(65788),rh=tF.use||function(e){var t=(0,rp.Bd)(e);switch(t.status){case"pending":throw t;case"rejected":throw t.reason;case"fulfilled":return t.value}},rd=r(10309),rv=Symbol(),ry=Symbol();function rm(e){var t,r=((t={toPromise:function(){return rb(r).then(function(){return r})}})[rv]=e,t[ry]=e.promise,t);return r}function rg(e){(0,rd.kG)(!e||rv in e,69)}function rb(e){var t=e[rv];return"fulfilled"===t.promise.status?t.promise:e[ry]}var rk=["canonizeResults","context","errorPolicy","fetchPolicy","refetchWritePolicy","returnPartialData"],r_=function(){function e(e,t){var r=this;this.key={},this.listeners=new Set,this.references=0,this.softReferences=0,this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.dispose=this.dispose.bind(this),this.observable=e,t.onDispose&&(this.onDispose=t.onDispose),this.setResult(),this.subscribeToQuery();var n=function(){var e;r.references||(r.autoDisposeTimeoutId=setTimeout(r.dispose,null!==(e=t.autoDisposeTimeoutMs)&&void 0!==e?e:3e4))};this.promise.then(n,n)}return Object.defineProperty(e.prototype,"disposed",{get:function(){return this.subscription.closed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"watchQueryOptions",{get:function(){return this.observable.options}
1,enumerable:!1,configurable:!0}),e.prototype.reinitialize=function(){var e=this.observable,t=this.watchQueryOptions.fetchPolicy,r="no-cache"===t||"standby"===t;try{if(r?e.silentSetOptions({fetchPolicy:"standby"}):(e.resetLastResults(),e.silentSetOptions({fetchPolicy:"cache-first"})),this.subscribeToQuery(),r)return;e.resetDiff(),this.setResult()}finally{e.silentSetOptions({fetchPolicy:t})}},e.prototype.retain=function(){var e=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var t=!1;return function(){t||(t=!0,e.references--,setTimeout(function(){e.references||e.dispose()}))}},e.prototype.softRetain=function(){var e=this;this.softReferences++;var t=!1;return function(){t||(t=!0,e.softReferences--,setTimeout(function(){e.softReferences||e.references||e.dispose()}))}},e.prototype.didChangeOptions=function(e){var t=this;return rk.some(function(r){return r in e&&!(0,Y.D)(t.watchQueryOptions[r],e[r])})},e.prototype.applyOptions=function(e){var t=this.watchQueryOptions,r=t.fetchPolicy,n=t.canonizeResults;return"standby"===r&&r!==e.fetchPolicy?this.initiateFetch(this.observable.reobserve(e)):(this.observable.silentSetOptions(e),n!==e.canonizeResults&&(this.result=(0,l.pi)((0,l.pi)({},this.result),this.observable.getCurrentResult()),this.promise=(0,rp.OP)(this.result))),this.promise},e.prototype.listen=function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},e.prototype.refetch=function(e){return this.initiateFetch(this.observable.refetch(e))},e.prototype.fetchMore=function(e){return this.initiateFetch(this.observable.fetchMore(e))},e.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},e.prototype.onDispose=function(){},e.prototype.handleNext=function(e){var t;if("pending"===this.promise.status)void 0===e.data&&(e.data=this.result.data),this.result=e,null===(t=this.resolve)||void 0===t||t.call(this,e);else{if(e.data===this.result.data&&e.networkStatus===this.result.networkStatus)return;void 0===e.data&&(e.data=this.result.data),this.result=e,this.promise=(0,rp.OP)(e),this.deliver(this.promise)}},e.prototype.handleError=function(e){var t;(this.subscription.unsubscribe(),this.subscription=this.observable.resubscribeAfterError(this.handleNext,this.handleError),"pending"===this.promise.status)?null===(t=this.reject)||void 0===t||t.call(this,e):(this.promise=(0,rp.Ld)(e),this.deliver(this.promise))},e.prototype.deliver=function(e){this.listeners.forEach(function(t){return t(e)})},e.prototype.initiateFetch=function(e){var t=this;return this.promise=this.createPendingPromise(),this.promise.catch(function(){}),e.then(function(){setTimeout(function(){var e;"pending"===t.promise.status&&(t.result=t.observable.getCurrentResult(),null===(e=t.resolve)||void 0===e||e.call(t,t.result))})}).catch(function(e){var r;return null===(r=t.reject)||void 0===r?void 0:r.call(t,e)}),e},e.prototype.subscribeToQuery=function(){var e=this;this.subscription=this.observable.filter(function(t){return!(0,Y.D)(t.data,{})&&!(0,Y.D)(t,e.result)}).subscribe(this.handleNext,this.handleError)},e.prototype.setResult=function(){var e=this.observable.getCurrentResult(!1);(0,Y.D)(e,this.result)||(this.result=e,this.promise=e.data&&(!e.partial||this.watchQueryOptions.returnPartialData)?(0,rp.OP)(e):this.createPendingPromise())},e.prototype.createPendingPromise=function(){var e=this;return(0,rp.Bd)(new Promise(function(t,r){e.resolve=t,e.reject=r}))},e}(),rE=function(){function e(e){void 0===e&&(e=Object.create(null)),this.queryRefs=new eS.B(O.mr),this.options=e}return e.prototype.getQueryRef=function(e,t){var r=this.queryRefs.lookupArray(e);return r.current||(r.current=new r_(t(),{autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete r.current}})),r.current},e.prototype.add=function(e,t){this.queryRefs.lookupArray(e).current=t},e}(),rO=Symbol.for("apollo.suspenseCache");function rw(e){var t;return e[rO]||(e[rO]=new rE(null===(t=e.defaultOptions.react)||void 0===t?void 0:t.suspense)),e[rO]}var rS=Symbol.for("apollo.skipToken");function rT(e,t){return void 0===t&&(t=Object.create(null)),tH("useSuspenseQuery",rD,tV("object"==typeof t?t.client:void 0))(e,t)}function rD(e,t){var r=tV(t.client),n=rw(r),i=rR({client:r,query:e,options:t}),o=i.fetchPolicy,s=i.variables,u=t.queryKey,c=(0,l.ev)([e,(0,H.B)(s)],[].concat(void 0===u?[]:u),!0),f=n.getQueryRef(c,function(){return r.watchQuery(i)}),p=tP.useState([f.key,f.promise]),h=p[0],d=p[1];h[0]!==f.key&&(h[0]=f.key,h[1]=f.promise);var v=h[1];f.didChangeOptions(i)&&(h[1]=v=f.applyOptions(i)),tP.useEffect(function(){var e=f.retain(),t=f.listen(function(e){d([f.key,e])});return function(){t(),e()}},[f]);var y=tP.useMemo(function(){var e=rI(f.result);return{loading:!1,data:f.result.data,networkStatus:e?a.error:a.ready,error:e}},[f.result]),m="standby"===o?y:rh(v),g=tP.useCallback(function(e){var t=f.fetchMore(e);return d([f.key,f.promise]),t},[f]),b=tP.useCallback(function(e){var t=f.refetch(e);return d([f.key,f.promise]),t},[f]),k=f.observable.subscribeToMore;return tP.useMemo(function(){return{client:r,data:m.data,error:rI(m),networkStatus:m.networkStatus,fetchMore:g,refetch:b,subscribeToMore:k}},[r,g,b,m,k])}function rI(e){return(0,ee.O)(e.errors)?new x({graphQLErrors:e.errors}):e.error}function rR(e){var t=e.client,r=e.query,n=e.options;return ra(function(){if(n===rS)return{query:r,fetchPolicy:"standby"};var e,i,o,a,u,c=n.fetchPolicy||(null===(u=t.defaultOptions.watchQuery)||void 0===u?void 0:u.fetchPolicy)||"cac
1he-first",p=(0,l.pi)((0,l.pi)({},n),{fetchPolicy:c,query:r,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return!1!==globalThis.__DEV__&&(i=p.query,o=p.fetchPolicy,a=p.returnPartialData,tK(i,s.Query),void 0===(e=o)&&(e="cache-first"),(0,f.kG)(["cache-first","network-only","no-cache","cache-and-network"].includes(e),66,e),"no-cache"===o&&a&&!1!==globalThis.__DEV__&&f.kG.warn(67)),n.skip&&(p.fetchPolicy="standby"),p},[t,n,r])}function rx(e,t){return void 0===t&&(t=Object.create(null)),tH("useBackgroundQuery",rN,tV("object"==typeof t?t.client:void 0))(e,t)}function rN(e,t){var r=tV(t.client),n=rw(r),i=rR({client:r,query:e,options:t}),o=i.fetchPolicy,a=i.variables,s=t.queryKey,u=tP.useRef("standby"!==o);u.current||(u.current="standby"!==o);var c=(0,l.ev)([e,(0,H.B)(a)],[].concat(void 0===s?[]:s),!0),f=n.getQueryRef(c,function(){return r.watchQuery(i)}),p=tP.useState(rm(f)),h=p[0],d=p[1];if(h[rv]!==f&&d(rm(f)),f.didChangeOptions(i)){var v=f.applyOptions(i);h[ry]=v}tP.useEffect(function(){var e=setTimeout(function(){f.disposed&&n.add(c,f)});return function(){return clearTimeout(e)}});var y=tP.useCallback(function(e){var t=f.fetchMore(e);return d(rm(f)),t},[f]),m=tP.useCallback(function(e){var t=f.refetch(e);return d(rm(f)),t},[f]);return tP.useEffect(function(){return f.softRetain()},[f]),[u.current?h:void 0,{fetchMore:y,refetch:m,subscribeToMore:f.observable.subscribeToMore}]}function rC(){}function rA(e,t){void 0===t&&(t=Object.create(null));var r=tV(t.client),n=rw(r),i=rR({client:r,query:e,options:t}),o=t.queryKey,a=void 0===o?[]:o,s=tP.useState(null),u=s[0],p=s[1];rg(u);var h=u&&u[rv];if(u&&(null==h?void 0:h.didChangeOptions(i))){var d=h.applyOptions(i);u[ry]=d}var v=(c||(c=tP.createContext(null)),tP.useCallback(function(){var e=console.error;try{return console.error=rC,tP.useContext(c),!0}catch(e){return!1}finally{console.error=e}},[])),y=tP.useCallback(function(e){if(!h)throw Error("The query has not been loaded. Please load the query.");var t=h.fetchMore(e);return p(rm(h)),t},[h]),m=tP.useCallback(function(e){if(!h)throw Error("The query has not been loaded. Please load the query.");var t=h.refetch(e);return p(rm(h)),t},[h]),g=tP.useCallback(function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];(0,f.kG)(!v(),59);var s=t[0],u=(0,l.ev)([e,(0,H.B)(s)],[].concat(a),!0);p(rm(n.getQueryRef(u,function(){return r.watchQuery((0,l.pi)((0,l.pi)({},i),{variables:s}))})))},[e,a,n,i,v,r]),b=tP.useCallback(function(e){return(0,f.kG)(h,60),h.observable.subscribeToMore(e)},[h]);return[g,u,{fetchMore:y,refetch:m,reset:tP.useCallback(function(){p(null)},[]),subscribeToMore:b}]}function rP(e){var t=e[rv];return tH("useQueryRefHandlers",rF,t?t.observable:tV())(e)}function rF(e){rg(e);var t,r=tP.useState(e),n=r[0],i=r[1],o=tP.useState(e),a=o[0],s=o[1],u=e[rv];return n!==e?(i(e),s(e)):(t=rb(a),e[ry]=t),{refetch:tP.useCallback(function(e){var t=u.refetch(e);return s(rm(u)),t},[u]),fetchMore:tP.useCallback(function(e){var t=u.fetchMore(e);return s(rm(u)),t},[u]),subscribeToMore:u.observable.subscribeToMore}}function rj(e){var t=e[rv];return tH("useReadQuery",rM,t?t.observable:tV())(e)}function rM(e){rg(e);var t,r=tP.useMemo(function(){return e[rv]},[e]),n=tP.useCallback(function(){return rb(e)},[e]);r.disposed&&(r.reinitialize(),t=r.promise,e[ry]=t),tP.useEffect(function(){return r.retain()},[r]);var i=rh(tU(tP.useCallback(function(t){return r.listen(function(r){e[ry]=r,t()})},[r,e]),n,n));return tP.useMemo(function(){return{data:i.data,networkStatus:i.networkStatus,error:rI(i)}},[i])}function rQ(e){return tH("createQueryPreloader",rL,e)(e)}var rL=function(e){return function(t,r){var n,i;return void 0===r&&(r=Object.create(null)),rm(new r_(e.watchQuery((0,l.pi)((0,l.pi)({},r),{query:t})),{autoDisposeTimeoutMs:null===(i=null===(n=e.defaultOptions.react)||void 0===n?void 0:n.suspense)||void 0===i?void 0:i.autoDisposeTimeoutMs}))}}},10201:function(e,t,r){r.d(t,{K:function(){return c}});var n=r(50499),i=r(82187),o=r(48338),a=r(30696),s=r(9906),u=r(82257);function c(e,t,r){return s.Os.withValue(!0,function(){var c=function e(t,r,i,c,l){var f,p=i.knownChanged,h=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var d=0,v=Array.from(t.entries());d<v.length;d++){var y=v[d],m=y[0],g=y[1];if(null===g){h[m]=null;continue}var b=e(g,r,i,c,!1!==globalThis.__DEV__?"".concat(l||"","[").concat(m,"]"):void 0);p.has(b)&&p.add(h),h[m]=b}return p.has(h)?h:t}for(var k=0,_=r.selections;k<_.length;k++){var E=_[k],O=void 0;if(c&&p.add(h),E.kind===n.h.FIELD){var w=(0,o.u2)(E),S=E.selectionSet;if(void 0===(O=h[w]||t[w]))continue;if(S&&null!==O){var b=e(t[w],S,i,c,!1!==globalThis.__DEV__?"".concat(l||"",".").concat(w):void 0);p.has(b)&&(O=b)}!1!==globalThis.__DEV__||(h[w]=O),!1!==globalThis.__DEV__&&(!c||"__typename"===w||(null===(f=Object.getOwnPropertyDescriptor(h,w))||void 0===f?void 0:f.value)?(delete h[w],h[w]=O):Object.defineProperty(h,w,function(e,t,r,n,i){var o=function(){return s.Os.getValue()||(!1!==globalThis.__DEV__&&u.kG.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(w,O,l||"",i.operationName,i.operationType)))}if(E.kind===n.h.INLINE_FRAGMENT&&(!E.typeCondition||i.cache.fragmentMatches(E,t.__typename))&&(O=e(t,E.selectionSet,i,c,l)),E.kind===n.h.FRAGMENT_SPREAD){var T=E.name.value,D=i.fragmentMap[T]||(i.fragmentMap[T]=i.cache.lookupFragment(T));(0,u.kG)(D,47,T);var I=(0,a.GT)(E);"mask"!==I&&(O=e(t,D.selectionSet,i,"migrate"===I,l))}p.has(O)&&p.add(h)}return"__typename"in t&&!("__typename"in h)&&(h.__typename=t.__typename),Object.keys(h).length!==Object.keys(t).length&&p.add(h),p.has(h)?h:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,i.J)(c),c})}},95607:function(e,t,r){r.d(t,{r:function(){return l}});var n=r(50499),i=r(9906),o=r(82257),a=r(36628),s=r(10201),u=r(80960),c=r(36517);function l(e,t,r,l){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Kk)(),e;var f=t.definitions.filter(function(e){return e.kind===n.h.FRAGMENT_DEFINITION});void 0===l&&((0,o.kG)(1===f.length,49,f.length),l=f[0].name.value);var p=f.find(function(e){return e.name.value===l});return((0,o.kG)(!!p,50,l),null==e||(0,a.Z)(e,{}))?e:(0,s.K)(e,p.selectionSet,{operationType:"fragment",operationName:p.name.value,fragmentMap:(0,u.F)((0,c.kU)(t)),cache:r,mutableTargets:new i.Td,knownChanged:new i.wd})}},9906:function(e,t,r){r.d(t,{Kk:function(){return l},Os:function(){return u},Td:function(){return a},wd:function(){return s}});var n=r(98942),i=r(82257),o=r(59394),a=o.mr?WeakMap:Map,s=o.sy?WeakSet:Set,u=ne
1w n.g7,c=!1;function l(){c||(c=!0,!1!==globalThis.__DEV__&&i.kG.warn(52))}},51874:function(e,t,r){r.d(t,{L:function(){return u},s:function(){return s}});var n=r(45110),i=r(60636),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.k(e,t);return r.set=function(e,t){var r=n.k.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new i.e(e,t);return r.set=function(e,t){var r=i.e.prototype.set.call(this,e,t);return a(this),r},r}},97353:function(e,t,r){r.d(t,{Kb:function(){return c},q4:function(){return u},su:function(){return s},zP:function(){return a}});var n=r(5853),i=r(26755),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!(!1!==globalThis.__DEV__))throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.Q[t]||r]})),sizes:(0,n.pi)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(r=o.canonicalStringify)||void 0===r?void 0:r.call(o),links:function e(t){var r;return t?(0,n.ev)((0,n.ev)([null===(r=null==t?void 0:t.getMemoryInternals)||void 0===r?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(p):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:h(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.pi)((0,n.pi)({},l.apply(this)),{addTypenameDocumentTransform:h(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function p(e){return null!=e}function h(e){return(function e(t){return t?(0,n.ev)((0,n.ev)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(p):[]})(e).map(function(e){return{cache:e}})}},26755:function(e,t,r){r.d(t,{Q:function(){return a}});var n=r(5853),i=r(82257),o=Symbol.for("apollo.cacheSize"),a=(0,n.pi)({},i.CO[o])},92086:function(e,t,r){r.d(t,{O:function(){return i},k:function(){return n}});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},59394:function(e,t,r){r.d(t,{DN:function(){return u},JC:function(){return f},Nq:function(){return c},aS:function(){return s},mr:function(){return o},sy:function(){return a}});var n=r(82257),i="ReactNative"==(0,n.wY)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"==typeof(0,n.wY)(function(){return window.document.createElement}),l=(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},95266:function(e,t,r){r.d(t,{B:function(){return s}});var n,i=r(51874),o=r(26755),a=r(97353),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){n=new i.L(o.Q.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return n.size}),s.reset()},86626:function(e,t,r){r.d(t,{X:function(){return i}});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);
1return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},85292:function(e,t,r){r.d(t,{o:function(){return n}});function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}},92933:function(e,t,r){r.d(t,{K:function(){return a},d:function(){return o}});var n=r(92086),i=r(40373);function o(e){var t=a(e);return(0,n.O)(t)}function a(e){var t=(0,n.O)(e.errors)?e.errors.slice(0):[];return(0,i.GG)(e)&&(0,n.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}},40373:function(e,t,r){r.d(t,{GG:function(){return a},M0:function(){return u},mT:function(){return l},x3:function(){return s},yU:function(){return c}});var n=r(23446),i=r(92086),o=r(71269);function a(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function u(e){return a(e)||s(e)}function c(e){return(0,n.s)(e)&&"payload"in e}function l(e,t){var r=e,n=new o.w0;return a(t)&&(0,i.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}},2232:function(e,t,r){r.d(t,{X:function(){return i}});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},82187:function(e,t,r){r.d(t,{J:function(){return i}});var n=r(23446);function i(e){if(!1!==globalThis.__DEV__){var t;(t=new Set([e])).forEach(function(e){(0,n.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.s)(e[r])&&t.add(e[r])})})}return e}},71269:function(e,t,r){r.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return c}});var n=r(5853),i=r(23446),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new c,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.ev)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},49466:function(e,t,r){r.d(t,{J:function(){return o}});var n=r(5853),i=r(85292);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.pi)((0,n.pi)({},e&&e.variables),t.variables))})}},23446:function(e,t,r){function n(e){return null!==e&&"object"==typeof e}function i(e){return null!==e&&"object"==typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}r.d(t,{P:function(){return i},s:function(){return n}})},88099:function(e,t,r){r.d(t,{v:function(){return i}});var n=r(2232);function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},59516:function(e,t,r){var n=r(90719);t.Z=(0,n.w)(function(){return globalThis})||(0,n.w)(function(){return window})||(0,n.w)(function(){return self})||(0,n.w)(function(){return global})||(0,n.w)(function(){return n.w.constructor("return this")()})},82257:function(e,t,r){r.d(t,{CO:function(){return o.Z},Rk:function(){return a},_K:function(){return n._K},kG:function(){return n.kG},wY:function(){return i.w}});var n=r(10309),i=r(90719),o=r(59516),a=!1!==globalThis.__DEV__},10309:function(e,t,r){r.d(t,{_K:function(){return c},kG:function(){return u}});var n=r(4044),i=r(66889),o=r(59516),a=r(88099);function s(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=p(i))||(t=h(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var u=Object.assign(function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e||(0,n.invariant)(e,p(t,r)||h(t,r))},{debug:s(n.invariant.debug),log:s(n.invariant.log),warn:s(n.invariant.warn),error:s(n.invariant.error)});function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new n.InvariantError(p(e,t)||h(e,t))}var l=Symbol.for("ApolloErrorMessageHandler_"+i.i);function f(e){if("string"==typeof e)return e;try{return(0,a.v)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function p(e,t){if(void 0===t&&(t=[]),e)return o.Z[l]&&o.Z[l](e,t.map(f))}function h(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.i,message:e,args:t.map(f)})))}},90719:function(e,t,r){r.d(t,{w:function(){return n}});function n(e){try{return e()}catch(e){}}},56789:function(e,t,r){r.d(t,{A:function(){return f}});var n=r(46238),i=r(59394),o=r(36517),a=r(82257),s=r(45110),u=r(98942),c=r(26755);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.B(i.mr);this.performWork=(0,u.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.kG)(Array.isArray(n),77),r.lookupArray(n)},max:c.Q["documentTransform.cache"],cache:s.k})}},e.prototype.performWork=function(e){return(0,o.A$)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},30696:function(e,t,r){r.d(t,{FS:function(){return l},GT:function(){return h},IX:function(){return p},LZ:function(){return a},On:function(){return u},iX:function(){return s},mj:function(){return f},qb:function(){return c}});var n=r(82257),i=r(11689),o=r(50499);function a(e,t){var r=e.directives;return!r||!r.length||p(r).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.kG)(void 0!==o,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e){var t=[];return(0,i.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}var u=function(e,t){return l(e,t,!1)},c=function(e,t){return l(e,t,!0)};function l(e,t,r){var n=new Set(e),o=n.size;return(0,i.Vn)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.$_}}),r?!n.size:n.size<o}function f(e){return e&&l(["client","export"],e,!0)}function p(e){var t=[];return e&&e.length&&e.forEach(function(e){var r;
1if(!("skip"!==(r=e.name.value)&&"include"!==r)){var i=e.arguments,o=e.name.value;(0,n.kG)(i&&1===i.length,79,o);var a=i[0];(0,n.kG)(a.name&&"if"===a.name.value,80,o);var s=a.value;(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,o),t.push({directive:e,ifArgument:a})}}),t}function h(e){var t,r,i=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null===(r=i.arguments)||void 0===r?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.h.VARIABLE?!1!==globalThis.__DEV__&&n.kG.warn(82):a.value.kind!==o.h.STRING?!1!==globalThis.__DEV__&&n.kG.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.kG.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},80960:function(e,t,r){r.d(t,{F:function(){return s},YU:function(){return c},Yk:function(){return a},hi:function(){return u}});var n=r(5853),i=r(82257),o=r(11689);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.kG)(1===o.length,86,o.length),r=o[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.kG)(n,87,r),n||null;default:return null}}function c(e){var t=!0;return(0,o.Vn)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.$_}}),t}},36517:function(e,t,r){r.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return p},iW:function(){return c},kU:function(){return u},p$:function(){return f},pD:function(){return l},rY:function(){return s}});var n=r(82257),i=r(48338);function o(e){(0,n.kG)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n._K)(89,e.kind);return e});return(0,n.kG)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,n.kG)(t&&"query"===t.operation,91),t}function l(e){(0,n.kG)("Document"===e.kind,92),(0,n.kG)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.kG)("FragmentDefinition"===t.kind,94),t}function f(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n._K)(95)}function p(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)}),t}},99342:function(e,t,r){r.d(t,{S:function(){return m}});var n,i=r(11689),o=r(96453),a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return u(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=l("(",u(e.variableDefinitions,", "),")"),i=u(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?u([t,u([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+l(" = ",n)+l(" ",u(i," "))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,a=l("",t,": ")+r,s=a+l("(",u(n,", "),")");return s.length>80&&(s=a+l("(\n",f(u(n,"\n")),"\n)")),u([s,u(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value}
vendor: 1,526 bytes, line 1
1,FragmentSpread:function(e){return"..."+e.name+l(" ",u(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return u(["...",l("on ",t),u(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(l("(",u(n,", "),")")," ")+"on ".concat(r," ").concat(l("",u(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,o.LZ)(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+u(e.values,", ")+"]"},ObjectValue:function(e){return"{"+u(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",u(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:s(function(e){var t=e.directives,r=e.operationTypes;return u(["schema",u(t," "),c(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s(function(e){return u(["scalar",e.name,u(e.directives," ")]," ")}),ObjectTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["type",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")}
1),FieldDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(h(r)?l("(\n",f(u(r,"\n")),"\n)"):l("(",u(r,", "),")"))+": "+n+l(" ",u(i," "))}),InputValueDefinition:s(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return u([t+": "+r,l("= ",n),u(i," ")]," ")}),InterfaceTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["interface",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")}),UnionTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.types;return u(["union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")}),EnumTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.values;return u(["enum",t,u(r," "),c(n)]," ")}),EnumValueDefinition:s(function(e){return u([e.name,u(e.directives," ")]," ")}),InputObjectTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.fields;return u(["input",t,u(r," "),c(n)]," ")}),DirectiveDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(h(r)?l("(\n",f(u(r,"\n")),"\n)"):l("(",u(r,", "),")"))+(n?" repeatable":"")+" on "+u(i," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return u(["extend schema",u(t," "),c(r)]," ")},ScalarTypeExtension:function(e){return u(["extend scalar",e.name,u(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend type",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend interface",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return u(["extend union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return u(["extend enum",t,u(r," "),c(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return u(["extend input",t,u(r," "),c(n)]," ")}};function s(e){return function(t){return u([t.description,e(t)],"\n")}}function u(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter(function(e){return e}).join(r))&&void 0!==t?t:""}function c(e){return l("{\n",f(u(e,"\n")),"\n}")}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function f(e){return l(" ",e.replace(/\n/g,"\n "))}function p(e){return -1!==e.indexOf("\n")}function h(e){return null!=e&&e.some(p)}var d=r(51874),v=r(26755),y=r(97353),m=Object.assign(function(e){var t=n.get(e);return t||(t=(0,i.Vn)(e,{leave:a}),n.set(e,t)),t},{reset:function(){n=new d.s(v.Q.print||2e3)}});m.reset(),!1!==globalThis.__DEV__&&(0,y.zP)("print",function(){return n?n.size:0})},48338:function(e,t,r){r.d(t,{Ao:function(){return g},JW:function(){return c},My:function(){return m},NC:function(){return v},PT:function(){return d},Yk:function(){return u},kQ:function(){return s},qw:function(){return function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var u=s[a];if(m(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,o.hi)(u,n).selectionSet,n);if("string"==typeof f)return f}}},u2:function(){return y},vb:function(){return l},vf:function(){return f}});var n=r(82257),i=r(23446),o=r(80960),a=r(95266);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n._K)(96,t.value,r.kind)}function f(e,t){var r=null;e.directives&&(r={}
1,e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),d(e.name.value,n,r)}var p=["connection","include","skip","client","rest","export","nonreactive"],h=a.B,d=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(h(i),")")}var o=e;if(t){var a=h(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===p.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(h(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=h;return h=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return l(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},55484:function(e,t,r){r.d(t,{Fo:function(){return m},Gw:function(){return v},RR:function(){return b},UU:function(){return E},Vw:function(){return g},aL:function(){return k},bi:function(){return d},ob:function(){return _}});var n=r(5853),i=r(82257),o=r(50499),a=r(11689),s=r(36517),u=r(48338),c=r(80960),l=r(92086),f={kind:o.h.FIELD,name:{kind:o.h.NAME,value:"__typename"}};function p(e){return!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.h.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.$H)(e)||(0,s.pD)(e),(0,c.F)((0,s.kU)(e)))?e:null}function h(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function d(e,t){(0,s.A$)(t);for(var r,u,c=h(""),f=h(""),d=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,l.k)(r)){if(r.kind===o.h.OPERATION_DEFINITION)return c(r.name&&r.name.value);if(r.kind===o.h.FRAGMENT_DEFINITION)return f(r.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(97),null},v=0,y=t.definitions.length-1;y>=0;--y)t.definitions[y].kind===o.h.OPERATION_DEFINITION&&++v;var m=(r=new Map,u=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&u.size&&u.forEach(function(r,n){n(e)&&(t=r)}),t}),g=function(e){return(0,l.O)(e)&&e.map(m).some(function(e){return e&&e.remove})},b=new Map,k=!1,_={enter:function(e){if(g(e.directives))return k=!0,null}},E=(0,a.Vn)(t,{Field:_,InlineFragment:_,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=d(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(g(e.directives))return k=!0,null;var o=d(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){b.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===b.get(JSON.stringify(n))?e:v>0&&e.selectionSet.selections.every(function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value})?(f(e.name.value).removed=!0,k=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return k=!0,null}}});if(!k)return t;var O=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){O(f(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},w=new Set;E.definitions.forEach(function(e){e.kind===o.h.OPERATION_DEFINITION?O(c(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){w.add(e)}):e.kind!==o.h.FRAGMENT_DEFINITION||0!==v||f(e.name.value).removed||w.add(e.name.value)}),w.forEach(function(e){O(f(e)).fragmentSpreads.forEach(function(e){w.add(e)})});var S={enter:function(e){var t;if(t=e.name.value,!w.has(t)||f(t).removed)return null}};return p((0,a.Vn)(E,{FragmentSpread:S,FragmentDefinition:S,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(c(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.pi)((0,n.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var v=Object.assign(function(e){return(0,a.Vn)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.h.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.My)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.pi)((0,n.pi)({},e),{selections:(0,n.ev)((0,n.ev)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}}),y={test:function(e){var t="connection"===e.name.value;return!t||e.arguments&&e.arguments.some(function(e){return"key"===e.name.value})||!1===globalThis.__DEV__||i.kG.warn(98),t}};function m(e){return d([y],(0,s.A$)(e))}function g(e,t){var r=function(t){return e.some(function(e){return t.value&&t.value.kind===o.h.VARIABLE&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))})};return p((0,a.Vn)(t,{OperationDefinition:{enter:function(t){return(0,n.pi)((0,n.pi)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter(function(t){return!e.s
1ome(function(e){return e.name===t.variable.name.value})}):[]})}},Field:{enter:function(t){if(e.some(function(e){return e.remove})){var n=0;if(t.arguments&&t.arguments.forEach(function(e){r(e)&&(n+=1)}),1===n)return null}}},Argument:{enter:function(e){if(r(e))return null}}}))}function b(e,t){function r(t){if(e.some(function(e){return e.name===t.name.value}))return null}return p((0,a.Vn)(t,{FragmentSpread:{enter:r},FragmentDefinition:{enter:r}}))}function k(e){return"query"===(0,s.p$)(e).operation?e:(0,a.Vn)(e,{OperationDefinition:{enter:function(e){return(0,n.pi)((0,n.pi)({},e),{operation:"query"})}}})}function _(e){return(0,s.A$)(e),d([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function E(e){return(0,s.A$)(e),(0,a.Vn)(e,{FragmentSpread:function(e){var t;if(null===(t=e.directives)||void 0===t||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.pi)((0,n.pi)({},e),{directives:(0,n.ev)((0,n.ev)([],e.directives||[],!0),[{kind:o.h.DIRECTIVE,name:{kind:o.h.NAME,value:"nonreactive"}}],!1)})}})}},74512:function(e,t,r){r.r(t),r.d(t,{AutoCleanedStrongCache:function(){return G.L},AutoCleanedWeakCache:function(){return G.s},Concast:function(){return R.X},DEV:function(){return n.Rk},DeepMerger:function(){return y.w0},DocumentTransform:function(){return o.A},Observable:function(){return E.y},addNonReactiveToNamedFragments:function(){return l.UU},addTypenameToDocument:function(){return l.Gw},argumentsObjectFromField:function(){return c.NC},asyncMap:function(){return I.s},buildQueryFromSelectionSet:function(){return l.aL},cacheSizes:function(){return z.Q},canUseAsyncIteratorSymbol:function(){return P.DN},canUseDOM:function(){return P.Nq},canUseLayoutEffect:function(){return P.JC},canUseSymbol:function(){return P.aS},canUseWeakMap:function(){return P.mr},canUseWeakSet:function(){return P.sy},canonicalStringify:function(){return q.B},checkDocument:function(){return s.A$},cloneDeep:function(){return S.X},compact:function(){return F.o},concatPagination:function(){return m},createFragmentMap:function(){return a.F},createFulfilledPromise:function(){return O.OP},createRejectedPromise:function(){return O.Ld},fixObservableSubclass:function(){return x.D},getDefaultValues:function(){return s.O4},getDirectiveNames:function(){return i.iX},getFragmentDefinition:function(){return s.pD},getFragmentDefinitions:function(){return s.kU},getFragmentFromSelection:function(){return a.hi},getFragmentMaskMode:function(){return i.GT},getFragmentQueryDocument:function(){return a.Yk},getGraphQLErrorsFromResult:function(){return A.K},getInclusionDirectives:function(){return i.IX},getMainDefinition:function(){return s.p$},getOperationDefinition:function(){return s.$H},getOperationName:function(){return s.rY},getQueryDefinition:function(){return s.iW},getStoreKeyName:function(){return c.PT},getTypenameFromResult:function(){return c.qw},graphQLResultHasError:function(){return A.d},hasAllDirectives:function(){return i.qb},hasAnyDirectives:function(){return i.On},hasClientExports:function(){return i.mj},hasDirectives:function(){return i.FS},isApolloPayloadResult:function(){return L.yU},isArray:function(){return N.k},isDocumentNode:function(){return c.JW},isExecutionPatchIncrementalResult:function(){return L.GG},isExecutionPatchInitialResult:function(){return L.x3},isExecutionPatchResult:function(){return L.M0},isField:function(){return c.My},isFullyUnmaskedOperation:function(){return a.YU},isInlineFragment:function(){return c.Ao},isMutationOperation:function(){return p},isNonEmptyArray:function(){return N.O},isNonNullObject:function(){return C.s},isPlainObject:function(){return C.P},isQueryOperation:function(){return h},isReference:function(){return c.Yk},isStatefulPromise:function(){return O.j7},isSubscriptionOperation:function(){return d},iterateObserversSafely:function(){return D.p},makeReference:function(){return c.kQ},makeUniqueId:function(){return j.X},maybe:function(){return n.wY},maybeDeepFreeze:function(){return T.J},mergeDeep:function(){return y.Ee},mergeDeepArray:function(){return y.bw},mergeIncrementalData:function(){return L.mT},mergeOptions:function(){return Q.J},offsetLimitPagination:function(){return g},omitDeep:function(){return V},preventUnhandledRejection:function(){return w.c},print:function(){return u.S},relayStylePagination:function(){return b},removeArgumentsFromDocument:function(){return l.Vw}
1,removeClientSetsFromDocument:function(){return l.ob},removeConnectionDirectiveFromDocument:function(){return l.Fo},removeDirectivesFromDocument:function(){return l.bi},removeFragmentSpreadFromDocument:function(){return l.RR},resultKeyNameFromField:function(){return c.u2},shouldInclude:function(){return i.LZ},storeKeyNameFromField:function(){return c.vf},stringifyForDisplay:function(){return M.v},stripTypename:function(){return U},valueToObjectRepresentation:function(){return c.vb},wrapPromiseWithState:function(){return O.Bd}});var n=r(82257),i=r(30696),o=r(56789),a=r(80960),s=r(36517),u=r(99342),c=r(48338),l=r(55484);function f(e,t){var r;return(null===(r=(0,s.$H)(e))||void 0===r?void 0:r.operation)===t}function p(e){return f(e,"mutation")}function h(e){return f(e,"query")}function d(e){return f(e,"subscription")}var v=r(5853),y=r(71269);function m(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t){return e?(0,v.ev)((0,v.ev)([],e,!0),t,!0):t}}}function g(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t,r){var n=r.args,i=e?e.slice(0):[];if(t){if(n)for(var o=n.offset,a=void 0===o?0:o,s=0;s<t.length;++s)i[a+s]=t[s];else i.push.apply(i,t)}return i}}}function b(e){return void 0===e&&(e=!1),{keyArgs:e,read:function(e,t){var r=t.canRead,n=t.readField;if(!e)return e;var i=[],o="",a="";
1e.edges.forEach(function(e){r(n("node",e))&&(i.push(e),e.cursor&&(o=o||e.cursor||"",a=e.cursor||a))}),i.length>1&&o===a&&(o="");var s=e.pageInfo||{},u=s.startCursor,c=s.endCursor;return(0,v.pi)((0,v.pi)({},k(e)),{edges:i,pageInfo:(0,v.pi)((0,v.pi)({},e.pageInfo),{startCursor:u||o,endCursor:c||a})})},merge:function(e,t,r){var n=r.args,i=r.isReference,o=r.readField;if(e||(e={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!t)return e;var a=t.edges?t.edges.map(function(e){return i(e=(0,v.pi)({},e))&&(e.cursor=o("cursor",e)),e}):[];if(t.pageInfo){var s=t.pageInfo,u=s.startCursor,c=s.endCursor,l=a[0],f=a[a.length-1];l&&u&&(l.cursor=u),f&&c&&(f.cursor=c);var p=l&&l.cursor;p&&!u&&(t=(0,y.Ee)(t,{pageInfo:{startCursor:p}}));var h=f&&f.cursor;h&&!c&&(t=(0,y.Ee)(t,{pageInfo:{endCursor:h}}))}var d=e.edges,m=[];if(n&&n.after){var g=d.findIndex(function(e){return e.cursor===n.after});g>=0&&(d=d.slice(0,g+1))}else if(n&&n.before){var g=d.findIndex(function(e){return e.cursor===n.before});m=g<0?d:d.slice(g),d=[]}else t.edges&&(d=[]);var b=(0,v.ev)((0,v.ev)((0,v.ev)([],d,!0),a,!0),m,!0),_=(0,v.pi)((0,v.pi)({},t.pageInfo),e.pageInfo);if(t.pageInfo){var E=t.pageInfo,O=E.hasPreviousPage,w=E.hasNextPage,u=E.startCursor,c=E.endCursor;Object.assign(_,(0,v._T)(E,["hasPreviousPage","hasNextPage","startCursor","endCursor"])),d.length||(void 0!==O&&(_.hasPreviousPage=O),void 0===u||(_.startCursor=u)),m.length||(void 0!==w&&(_.hasNextPage=w),void 0===c||(_.endCursor=c))}return(0,v.pi)((0,v.pi)((0,v.pi)({},k(e)),k(t)),{edges:b,pageInfo:_})}}}var k=function(e){return(0,v._T)(e,_)},_=["edges","pageInfo"],E=r(69090),O=r(65788),w=r(89817),S=r(86626),T=r(82187),D=r(19821),I=r(51149),R=r(49801),x=r(45963),N=r(92086),C=r(23446),A=r(92933),P=r(59394),F=r(85292),j=r(2232),M=r(88099),Q=r(49466),L=r(40373),q=r(95266);function V(e,t){return B(e,t)}function B(e,t,r){if(void 0===r&&(r=new Map),r.has(e))return r.get(e);var n=!1;if(Array.isArray(e)){var i=[];if(r.set(e,i),e.forEach(function(e,o){var a=B(e,t,r);n||(n=a!==e),i[o]=a}),n)return i}else if((0,C.P)(e)){var o=Object.create(Object.getPrototypeOf(e));if(r.set(e,o),Object.keys(e).forEach(function(i){if(i===t){n=!0;return}var a=B(e[i],t,r);n||(n=a!==e[i]),o[i]=a}),n)return o}return e}function U(e){return B(e,"__typename")}var G=r(51874),z=r(26755)},49801:function(e,t,r){r.d(t,{X:function(){return u}});var n=r(5853),i=r(69090),o=r(19821),a=r(45963);function s(e){return e&&"function"==typeof e.then}var u=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,o.p)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,o.p)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?s(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,o.p)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new i.y(t)]),s(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(i.y);(0,a.D)(u)},51149:function(e,t,r){r.d(t,{s:function(){return i}});var n=r(69090);function i(e,t,r){return new n.y(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}},19821:function(e,t,r){r.d(t,{p:function(){return n}});function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}
1),n.forEach(function(e){return e[t](r)})}},45963:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(69090),i=r(59394);function o(e){function t(t){Object.defineProperty(e,t,{value:n.y})}return i.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}},65788:function(e,t,r){function n(e){var t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}function i(e){var t=Promise.reject(e);return t.catch(function(){}),t.status="rejected",t.reason=e,t}function o(e){return"status"in e}function a(e){return o(e)||(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e}r.d(t,{Bd:function(){return a},Ld:function(){return i},OP:function(){return n},j7:function(){return o}})},89817:function(e,t,r){r.d(t,{c:function(){return n}});function n(e){return e.catch(function(){}),e}},66889:function(e,t,r){r.d(t,{i:function(){return n}});var n="3.12.2"},60636:function(e,t,r){function n(){}r.d(t,{e:function(){return i}});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},45110:function(e,t,r){function n(){}r.d(t,{k:function(){return s}});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},36628:function(e,t,r){r.d(t,{D:function(){return s}});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=u(t),o=u(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(f(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,l)}}return!1}(e,t)}finally{a.clear()}}function u(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}t.Z=s;let l="{ [native code] }";function f(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},46238:function(e,t,r){r.d(t,{B:function(){return s}});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);!i||(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},46607:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(39126);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function e(t,r){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":if(null===t)return"null";return function(t,r){if(-1!==r.indexOf(t))return"[Circular]";var i,o,a=[].concat(r,[t]),s="function"==typeof(i=t[String(n.Z)])?i:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==s){var u=s.call(t);if(u!==t)return"string"==typeof u?u:e(u,a)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";for(var n=Math.min(10,t.length),i=t.length-n,o=[],a=0;a<n;++a)o.push(e(t[a],r));return 1===i?o.push("... 1 more item"):i>1&&o.push("... ".concat(i," more items")),"["+o.join(", ")+"]"}(t,a);return 0===(o=Object.keys(t)).length?"{}":a.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(t)+"]":"{ "+o.map(function(r){var n=e(t[r],a);return r+": "+n}).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}},39126:function(e,t){var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.Z=r},7:function(e,t,r){r.d(t,{Ye:function(){return o},WU:function(){return a},UG:function(){return s}});var n=r(39126);function i(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){throw Error("Unexpected invariant triggered.")}(0),e.prototype.inspect=t,n.Z&&(e.prototype[n.Z]=t)}var o=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();i(o);var a=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function s(e){return null!=e&&"string"==typeof e.kind}i(a)},96453:function(e,t,r){function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t,r=!0,n=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===o||i<o)&&(o=i),n=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var o=0;o<t.length&&i(t[o]);)++o;for(var a=t.length;a>o&&i(t[a-1]);)--a;return t.slice(o,a).join("\n")}function i(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&" "!==e[t])return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||" "===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,u="";
1return s&&!(n&&i)&&(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,s&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}r.d(t,{LZ:function(){return o},W7:function(){return n}})},50499:function(e,t,r){r.d(t,{h:function(){return n}});var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},11689:function(e,t,r){r.d(t,{$_:function(){return a},Vn:function(){return s}});var n=r(46607),i=r(7),o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=Object.freeze({});function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,u=Array.isArray(e),c=[e],l=-1,f=[],p=void 0,h=void 0,d=void 0,v=[],y=[],m=e;do{var g,b=++l===c.length,k=b&&0!==f.length;if(b){if(h=0===y.length?void 0:v[v.length-1],p=d,d=y.pop(),k){if(u)p=p.slice();else{for(var _={},E=0,O=Object.keys(p);E<O.length;E++){var w=O[E];_[w]=p[w]}p=_}for(var S=0,T=0;T<f.length;T++){var D=f[T][0],I=f[T][1];u&&(D-=S),u&&null===I?(p.splice(D,1),S++):p[D]=I}}l=s.index,c=s.keys,f=s.edits,u=s.inArray,s=s.prev}else{if(h=d?u?l:c[l]:void 0,null==(p=d?d[h]:m))continue;d&&v.push(h)}var R=void 0;if(!Array.isArray(p)){if(!(0,i.UG)(p))throw Error("Invalid AST Node: ".concat((0,n.Z)(p),"."));var x=function(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var i=r?n.leave:n.enter;if("function"==typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}(t,p.kind,b);if(x){if((R=x.call(t,p,h,d,v,y))===a)break;if(!1===R){if(!b){v.pop();continue}}else if(void 0!==R&&(f.push([h,R]),!b)){if((0,i.UG)(R))p=R;else{v.pop();continue}}}}void 0===R&&k&&f.push([h,p]),b?v.pop():(s={inArray:u,index:l,keys:c,edits:f,prev:s},c=(u=Array.isArray(p))?p:null!==(g=r[p.kind])&&void 0!==g?g:[],l=-1,f=[],d&&y.push(d),d=p)}while(void 0!==s);return 0!==f.length&&(m=f[f.length-1][1]),m}},98942:function(e,t,r){let n;r.d(t,{g7:function(){return p},dP:function(){return P},re:function(){return M}});var i=r(46238),o=r(60636);let a=null,s={},u=1;function c(e){try{return e()}catch(e){}}let l="@wry/context:Slot",f=c(()=>globalThis)||c(()=>global)||Object.create(null),p=f[l]||Array[l]||function(e){try{Object.defineProperty(f,l,{value:e,enumerable:!1,writable:!1,
1configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(n,r)}finally{a=o}}static bind(e){let t=a;return function(){let r=a;try{return a=t,e.apply(this,arguments)}finally{a=r}}}static noContext(e,t,r){if(!a)return e.apply(r,t);{let n=a;try{return a=null,e.apply(r,t)}finally{a=n}}}}),{bind:h,noContext:d}=p,v=new p,{hasOwnProperty:y}=Object.prototype,m=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function g(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let b=[];function k(e,t){if(!e)throw Error(t||"assertion failure")}function _(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function E(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class O{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++O.count}peek(){if(1===this.value.length&&!T(this))return w(this),this.value[0]}recompute(e){var t;return k(!this.recomputing,"already recomputing"),w(this),T(this)&&(N(this),v.withValue(this,S,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{g(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,T(this)||(t=this,D(t,R)))),E(this.value)}setDirty(){this.dirty||(this.dirty=!0,D(this,I),g(this))}dispose(){this.setDirty(),N(this),D(this,(e,t)=>{e.setDirty(),C(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(m(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),b.push(this.deps),this.deps=null)}}function w(e){let t=v.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),T(e)?I(t,e):R(t,e),t}function S(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!_(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function T(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function D(e,t){let r=e.parents.size;if(r){let n=m(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function I(e,t){k(e.childValues.has(t)),k(T(t));let r=!T(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),r&&D(e,I)}function R(e,t){k(e.childValues.has(t)),k(!T(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):_(r,t.value)||e.setDirty(),x(e,t),T(e)||D(e,R)}function x(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function N(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{C(e,r)}),e.forgetDeps(),k(null===e.dirtyChildren)}function C(e,t){t.parents.delete(e),e.childValues.delete(t),x(e,t)}O.count=0;let A={setDirty:!0,dispose:!0,forget:!0};function P(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=v.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(g(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&y.call(A,r)?r:"setDirty";m(n).forEach(e=>e[i]()),t.delete(e),g(n)}},n}function F(...e){return(n||(n=new i.B("function"==typeof WeakMap))).lookupArray(e)}let j=new Set;function M(e,{max:t=65536,keyArgs:r,makeCacheKey:n=F,normalizeResult:i,subscribe:a,cache:s=o.e}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,c=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new O(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));
1return u.set(t,o),j.add(u),v.hasValue()||(j.forEach(e=>e.clean()),j.clear()),s};function l(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function p(e){return!!e&&u.delete(e)}return Object.defineProperty(c,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:u}),c.dirtyKey=l,c.dirty=function(){l(n.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(n.apply(null,arguments))},c.forgetKey=p,c.forget=function(){return p(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}},48080:function(e,t,r){var n,i;r.r(t),r.d(t,{SuperJSON:function(){return $},allowErrorProps:function(){return eo},default:function(){return $},deserialize:function(){return Z},parse:function(){return et},registerClass:function(){return er},registerCustom:function(){return en},registerSymbol:function(){return ei},serialize:function(){return X},stringify:function(){return ee}});class o{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}}class a{constructor(e){this.generateIdentifier=e,this.kv=new o}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}}class s extends a{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){"object"==typeof t?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}}function u(e,t){Object.entries(e).forEach(([e,r])=>t(r,e))}function c(e,t){return -1!==e.indexOf(t)}function l(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(t(n))return n}}class f{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return function(e,t){let r=function(e){if("values"in Object)return Object.values(e);let t=[];for(let r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}(e);if("find"in r)return r.find(t);for(let e=0;e<r.length;e++){let n=r[e];if(t(n))return n}}(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}}let p=e=>Object.prototype.toString.call(e).slice(8,-1),h=e=>void 0===e,d=e=>null===e,v=e=>"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype),y=e=>v(e)&&0===Object.keys(e).length,m=e=>Array.isArray(e),g=e=>"string"==typeof e,b=e=>"number"==typeof e&&!isNaN(e),k=e=>"boolean"==typeof e,_=e=>e instanceof Map,E=e=>e instanceof Set,O=e=>"Symbol"===p(e),w=e=>"number"==typeof e&&isNaN(e),S=e=>k(e)||d(e)||h(e)||b(e)||g(e)||O(e),T=e=>e===1/0||e===-1/0,D=e=>e.replace(/\./g,"\\."),I=e=>e.map(String).map(D).join("."),R=e=>{let t=[],r="";for(let n=0;n<e.length;n++){let i=e.charAt(n);if("\\"===i&&"."===e.charAt(n+1)){r+=".",n++;continue}if("."===i){t.push(r),r="";
1continue}r+=i}let n=r;return t.push(n),t};function x(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}let N=[x(h,"undefined",()=>null,()=>void 0),x(e=>"bigint"==typeof e,"bigint",e=>e.toString(),e=>"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),x(e=>e instanceof Date&&!isNaN(e.valueOf()),"Date",e=>e.toISOString(),e=>new Date(e)),x(e=>e instanceof Error,"Error",(e,t)=>{let r={name:e.name,message:e.message};return t.allowedErrorProps.forEach(t=>{r[t]=e[t]}),r},(e,t)=>{let r=Error(e.message);return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach(t=>{r[t]=e[t]}),r}),x(e=>e instanceof RegExp,"regexp",e=>""+e,e=>new RegExp(e.slice(1,e.lastIndexOf("/")),e.slice(e.lastIndexOf("/")+1))),x(E,"set",e=>[...e.values()],e=>new Set(e)),x(_,"map",e=>[...e.entries()],e=>new Map(e)),x(e=>w(e)||T(e),"number",e=>w(e)?"NaN":e>0?"Infinity":"-Infinity",Number),x(e=>0===e&&1/e==-1/0,"number",()=>"-0",Number),x(e=>e instanceof URL,"URL",e=>e.toString(),e=>new URL(e))];function C(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}let A=C((e,t)=>!!O(e)&&!!t.symbolRegistry.getIdentifier(e),(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,r)=>{let n=r.symbolRegistry.getValue(t[1]);if(!n)throw Error("Trying to deserialize unknown symbol");return n}),P=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),F=C(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{let r=P[t[1]];if(!r)throw Error("Trying to deserialize unknown typed array");return new r(e)});function j(e,t){return!!e?.constructor&&!!t.classRegistry.getIdentifier(e.constructor)}let M=C(j,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{let r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return{...e};let n={};return r.forEach(t=>{n[t]=e[t]}),n},(e,t,r)=>{let n=r.classRegistry.getValue(t[1]);if(!n)throw Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(n.prototype),e)}),Q=C((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,r)=>{let n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw Error("Trying to deserialize unknown custom value");return n.deserialize(e)}),L=[M,A,Q,F],q=(e,t)=>{let r=l(L,r=>r.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};let n=l(N,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation}},V={};N.forEach(e=>{V[e.annotation]=e});let B=(e,t,r)=>{if(m(t))switch(t[0]){case"symbol":return A.untransform(e,t,r);case"class":return M.untransform(e,t,r);case"custom":return Q.untransform(e,t,r);case"typed-array":return F.untransform(e,t,r);default:throw Error("Unknown transformation: "+t)}else{let n=V[t];if(!n)throw Error("Unknown transformation: "+t);return n.untransform(e,r)}},U=(e,t)=>{if(t>e.size)throw Error("index out of bounds");let r=e.keys();for(;t>0;)r.next(),t--;return r.next().value};function G(e){if(c(e,"__proto__"))throw Error("__proto__ is not allowed as a property");if(c(e,"prototype"))throw Error("prototype is not allowed as a property");if(c(e,"constructor"))throw Error("constructor is not allowed as a property")}let z=(e,t)=>{G(t);for(let r=0;r<t.length;r++){let n=t[r];if(E(e))e=U(e,+n);else if(_(e)){let i=+n,o=0==+t[++r]?"key":"value",a=U(e,i);switch(o){case"key":e=a;break;case"value":e=e.get(a)}}else e=e[n]}return e},W=(e,t,r)=>{if(G(t),0===t.length)return r(e);let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(m(n))n=n[+r];else if(v(n))n=n[r];else if(E(n))n=U(n,+r);else if(_(n)){if(e===t.length-2)break;let i=+r,o=0==+t[++e]?"key":"value",a=U(n,i);switch(o){case"key":n=a;break;case"value":n=n.get(a)}}}let i=t[t.length-1];if(m(n)?n[+i]=r(n[+i]):v(n)&&(n[i]=r(n[i])),E(n)){let e=U(n,+i),t=r(e);e!==t&&(n.delete(e),n.add(t))}if(_(n)){let e=U(n,+t[t.length-2]);switch(0==+i?"key":"value"){case"key":{let t=r(e);n.set(t,n.get(e)),t!==e&&n.delete(e);break}case"value":n.set(e,r(n.get(e)))}}return e},K=(e,t)=>v(e)||m(e)||_(e)||E(e)||j(e,t),Y=(e,t,r,n,i=[],o=[],a=new Map)=>{let s=S(e);if(!s){!function(e,t,r){let n=r.get(e);n?n.push(t):r.set(e,[t])}(e,i,t);let r=a.get(e);if(r)return n?{transformedValue:null}:r}if(!K(e,r)){let t=q(e,r),n=t?{transformedValue:t.value,annotations:[t.type]}:{transformedValue:e};return s||a.set(e,n),n}if(c(o,e))return{transformedValue:null};let l=q(e,r),f=l?.value??e,p=m(f)?[]:{},h={};u(f,(s,c)=>{if("__proto__"===c||"constructor"===c||"prototype"===c)throw Error(`Detected property ${c}. This is a prototype pollution risk, please remove it from your object.`);let l=Y(s,t,r,n,[...i,c],[...o,e],a);p[c]=l.transformedValue,m(l.annotations)?h[c]=l.annotations:v(l.annotations)&&u(l.annotations,(e,t)=>{h[D(c)+"."+t]=e})});let d=y(h)?{transformedValue:p,annotations:l?[l.type]:void 0}:{transformedValue:p,annotations:l?[l.type,h]:h};return s||a.set(e,d),d};function J(e){return Object.prototype.toString.call(e).slice(8,-1)}function H(e){return"Array"===J(e)}n=function(e){return"Null"===J(e)},i=function(e){return"Undefined"===J(e)},e=>n(e)||i(e)||!1;class ${constructor({dedupe:e=!1}={}){this.classRegistry=new s,this.symbolRegistry=new a(e=>e.description??""),this.customTransformerRegistry=new f,this.allowedErrorProps=[],this.dedupe=e}serialize(e){let t=new Map,r=Y(e,t,this,this.dedupe),n={json:r.transformedValue};r.annotations&&(n.meta={...n.meta,values:r.annotations});let i=function(e,t){let r;let n={};
1return(e.forEach(e=>{if(e.length<=1)return;t||(e=e.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));let[i,...o]=e;0===i.length?r=o.map(I):n[I(i)]=o.map(I)}),r)?y(n)?[r]:[r,n]:y(n)?void 0:n}(t,this.dedupe);return i&&(n.meta={...n.meta,referentialEqualities:i}),n}deserialize(e){let{json:t,meta:r}=e,n=function e(t,r={}){return H(t)?t.map(t=>e(t,r)):!function(e){if("Object"!==J(e))return!1;let t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(t)?t:[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)].reduce((n,i)=>{if(H(r.props)&&!r.props.includes(i))return n;let o=e(t[i],r);return!function(e,t,r,n,i){let o=({}).propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=r),i&&"nonenumerable"===o&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}(n,i,o,t,r.nonenumerable),n},{})}(t);if(r?.values){var i,o,a;i=n,o=r.values,a=this,function e(t,r,n=[]){if(!t)return;if(!m(t)){u(t,(t,i)=>e(t,r,[...n,...R(i)]));return}let[i,o]=t;o&&u(o,(t,i)=>{e(t,r,[...n,...R(i)])}),r(i,n)}(o,(e,t)=>{i=W(i,t,t=>B(t,e,a))}),n=i}return r?.referentialEqualities&&(n=function(e,t){function r(t,r){let n=z(e,R(r));t.map(R).forEach(t=>{e=W(e,t,()=>n)})}if(m(t)){let[n,i]=t;n.forEach(t=>{e=W(e,R(t),()=>e)}),i&&u(i,r)}else u(t,r);return e}(n,r.referentialEqualities)),n}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}}$.defaultInstance=new $,$.serialize=$.defaultInstance.serialize.bind($.defaultInstance),$.deserialize=$.defaultInstance.deserialize.bind($.defaultInstance),$.stringify=$.defaultInstance.stringify.bind($.defaultInstance),$.parse=$.defaultInstance.parse.bind($.defaultInstance),$.registerClass=$.defaultInstance.registerClass.bind($.defaultInstance),$.registerSymbol=$.defaultInstance.registerSymbol.bind($.defaultInstance),$.registerCustom=$.defaultInstance.registerCustom.bind($.defaultInstance),$.allowErrorProps=$.defaultInstance.allowErrorProps.bind($.defaultInstance);let X=$.serialize,Z=$.deserialize,ee=$.stringify,et=$.parse,er=$.registerClass,en=$.registerCustom,ei=$.registerSymbol,eo=$.allowErrorProps},4044:function(e,t,r){r.r(t),r.d(t,{InvariantError:function(){return u},invariant:function(){return c},setVerbosity:function(){return h}});var n,i=r(5853),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,i.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}var l=["debug","log","warn","error","silent"],f=l.indexOf("log");function p(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}function h(e){var t=l[f];return f=Math.max(0,l.indexOf(e)),t}(n=c||(c={})).debug=p("debug"),n.log=p("log"),n.warn=p("warn"),n.error=p("error"),t.default=c},5853:function(e,t,r){r.d(t,{Jh:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return c},mG:function(){return s},pi:function(){return o}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(u){return function(s){if(r)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function c(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},69090:function(e,t,r){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{y:function(){return E}});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function p(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function h(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:E}function d(e){d.log?d.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){d(e)}})}function y(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var r=p(t,"unsubscribe");r&&r.call(t)}}catch(e){d(e)}}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";var n=e._observer;try{var i=p(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(m(e),i)i.call(n,r);else throw r;break;case"complete":m(e),i&&i.call(n)}}catch(e){d(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],v(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(g(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});return}g(e,t,r)}}var k=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new _(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),_=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),E=function(){function e(t){if(!(this instanceof e))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=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new k(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e){n(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(h(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=h(this);return new i(function(t){var n,o=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=h(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=p(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof E&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=p(t,c)))return new r(function(e){v(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:l,hostReportError:d},configurable:!0})}}]);
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.