1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84951,e=>{"use strict";var t,r,n,i=e.i(89280);e.i(68681);var a=e.i(5578),o=e.i(62979),s=e.i(71393),c=e.i(99849),u=e.i(71596),l=e.i(59054),f=e.i(50968),h=e.i(69570),p=e.i(99523),d=e.i(69547),v=!1,y=function(){function e(e){var t,r,n,s=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,a.newInvariantError)(16);var h=e.uri,p=e.credentials,v=e.headers,y=e.cache,m=e.documentTransform,g=e.ssrMode,b=void 0!==g&&g,_=e.ssrForceFetchDelay,E=void 0===_?0:_,k=e.connectToDevTools,T=e.queryDeduplication,O=void 0===T||T,w=e.defaultOptions,S=e.defaultContext,D=e.assumeImmutableResults,N=void 0===D?y.assumeImmutableResults:D,I=e.resolvers,R=e.typeDefs,x=e.fragmentMatcher,A=e.clientAwareness,F=e.name,C=e.version,P=e.devtools,M=e.dataMasking;!1!==globalThis.__DEV__&&((0,d.warnRemovedOption)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,d.warnRemovedOption)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,d.warnRemovedOption)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,d.warnRemovedOption)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,d.warnRemovedOption)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,d.warnRemovedOption)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,d.warnRemovedOption)(e,"typeDefs","ApolloClient"),e.link||!1===globalThis.__DEV__||a.invariant.warn(17));var j=e.link;j||(j=h?new u.HttpLink({uri:h,credentials:p,headers:v}):o.ApolloLink.empty()),this.link=j,this.cache=y,this.disableNetworkFetches=b||E>0,this.queryDeduplication=O,this.defaultOptions=w||Object.create(null),this.typeDefs=R,this.devtoolsConfig=(0,i.__assign)((0,i.__assign)({},P),{enabled:null!=(t=null==P?void 0:P.enabled)?t:k}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),E&&setTimeout(function(){return s.disableNetworkFetches=!1},E),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=c.version,this.localState=new f.LocalState({cache:y,client:this,resolvers:I,fragmentMatcher:x}),this.queryManager=new l.QueryManager({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:S,documentTransform:m,queryDeduplication:O,ssrMode:b,dataMasking:!!M,clientAwareness:{name:null!=(r=null==A?void 0:A.name)?r:F,version:null!=(n=null==A?void 0:A.version)?n:C},localState:this.localState,assumeImmutableResults:N,onBroadcast:this.devtoolsConfig.enabled?function(){s.devToolsHookCb&&s.devToolsHookCb({action:{},state:{queries:s.queryManager.getQueryStore(),mutations:s.queryManager.mutationStore||{}},dataWithOptimisticResults:s.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e},enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if("u">typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!v&&!1!==globalThis.__DEV__&&(v=!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__&&a.invariant.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,h.mergeOptions)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,i.__assign)((0,i.__assign)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,d.warnRemovedOption)(e,"canonizeResults","client.watchQuery"),(0,d.warnRemovedOption)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,h.mergeOptions)(this.defaultOptions.query,e)),(0,a.invariant)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,i.__assign)((0,i.__assign)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,d.warnRemovedOption)(e,"canonizeResults","client.query"),(0,d.warnRemovedOption)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&a.invariant.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,h.mergeOptions)(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,i.__assign)((0,i.__assign)({},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,i.__assign)((0,i.__assign)({},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(0,s.execute)(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__&&a.invariant.debug(20,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}
1,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=p.getApolloClientMemoryInternals);var m=e.i(6775),g=e.i(24669),b=e.i(25945),_=e.i(6044),E=e.i(15301),k=e.i(86384),T=e.i(13959),O=e.i(62918),w=e.i(22479),S=e.i(1743),D=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,m.wrap)(k.getFragmentQueryDocument,{max:_.cacheSizes["cache.fragmentQueryDocuments"]||1e3,cache:O.WeakCache})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?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){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,d.warnRemovedOption)(e,"canonizeResults","cache.readQuery"),(0,d.muteDeprecations)("canonizeResults",function(){return r.read((0,i.__assign)((0,i.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,o=e.fragmentName,s=e.from,c=e.optimistic,u=(0,i.__rest)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(n,o),f=void 0===s||"string"==typeof s?s:this.identify(s),h=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var p=o||(0,E.getFragmentDefinition)(n).name.value;f||!1===globalThis.__DEV__||a.invariant.warn(1,p)}var d=(0,i.__assign)((0,i.__assign)({},u),{returnPartialData:!0,id:f,query:l,optimistic:void 0===c||c});return new b.Observable(function(a){return r.watch((0,i.__assign)((0,i.__assign)({},d),{immediate:!0,callback:function(s){var c=h?(0,S.maskFragment)(s.result,n,r,o):s.result;if(!(t&&(0,w.equalByQuery)(l,{data:t.result},{data:c},e.variables))){var u={data:c,complete:!!s.complete};s.missing&&(u.missing=(0,T.mergeDeepArray)(s.missing.map(function(e){return e.missing}))),t=(0,i.__assign)((0,i.__assign)({},s),{result:c}),a.next(u)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,d.warnRemovedOption)(e,"canonizeResults","cache.readFragment"),(0,d.muteDeprecations)("canonizeResults",function(){return r.read((0,i.__assign)((0,i.__assign)({},e),{query:r.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,i.__rest)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,a=e.fragmentName,o=(0,i.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(n,a),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,d.warnRemovedOption)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var n=(0,d.muteDeprecations)("canonizeResults",function(){return r.readQuery(e)}),a=t(n);return null==a?n:(r.writeQuery((0,i.__assign)((0,i.__assign)({},e),{data:a})),a)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,d.warnRemovedOption)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var n=(0,d.muteDeprecations)("canonizeResults",function(){return r.readFragment(e)}),a=t(n);return null==a?n:(r.writeFragment((0,i.__assign)((0,i.__assign)({},e),{data:a})),a)}})},e}();!1!==globalThis.__DEV__&&(D.prototype.getMemoryInternals=p.getApolloCacheMemoryInternals);var N=function(e){function t(r,n,i,a){var o,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=a,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)(o={})[s.path[c]]=s.missing,s.missing=o}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,i.__extends)(t,e),t}(Error),I=e.i(49429),R=e.i(56776),x=e.i(33448),A=e.i(28117),F=e.i(41969),C=e.i(6699),P=e.i(26452),M=e.i(11922),j=e.i(30101),L=e.i(23289),q=e.i(27371),V=e.i(4731),K=e.i(83015),Q=e.i(42419),z=Object.prototype.hasOwnProperty;function U(e){return null==e}function B(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=U(n)?U(i)?void 0:{_id:i}:{id:n}),U(n)&&!U(i)&&(n=i),!U(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var W={dataIdFromObject:B,addTypename:!0,resultCaching:!0,canonizeResults:!1};function G(e){var t=e.canonizeResults;return void 0===t?W.canonizeResults:t}var Y=/^[_a-z][_0-9a-z]*/i;function J(e){var t=e.match(Y);return t?t[0]:e}function H(e){return(0,j.isNonNullObject)(e)&&!(0,R.isReference)(e)&&!(0,Q.isArray)(e)}function $(e,t){var r=(0,k.createFragmentMap)((0,E.getFragmentDefinitions)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var X=Object.create(null),Z=function(){return X},ee=Object.create(null),et=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,M.maybeDeepFreeze)((0,R.isReference)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,R.isReference)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,R.makeReference)(e);if((0,R.isReference)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,R.makeReference)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,i.__assign)({},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),z.call(this.data,e)){var r=this.data[e];if(r&&z.call(r,t))return r[t]}return"__typename"===t&&z.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof ei?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),z.call(this.data,e))?this.data[e]:this instanceof ei?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,R.isReference)(e)&&(e=e.__ref),(0,R.isReference)(t)&&(t=t.__ref);
1var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,a.invariant)("string"==typeof r,2);var s=new T.DeepMerger(eo).merge(i,o);if(this.data[r]=s,s!==i&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);i||(c.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){c[e]=1;var t=J(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||n instanceof ei||delete s[e]}}),c.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).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 o=Object.create(null),s=!1,c=!0,u={DELETE:X,INVALIDATE:ee,isReference:R.isReference,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,R.makeReference)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var f=J(l),h=n[l];if(void 0!==h){var p="function"==typeof t?t:t[l]||t[f];if(p){var d=p===Z?X:p((0,M.maybeDeepFreeze)(h),(0,i.__assign)((0,i.__assign)({},u),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(d===ee)r.group.dirty(e,l);else if(d===X&&(d=void 0),d!==h&&(o[l]=d,s=!0,h=d,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&a.invariant.warn(3,e),!0};if((0,R.isReference)(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,g=0,b=d;g<b.length;g++){var _=b[g];if((0,R.isReference)(_)){if(y=!0,v(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(y&&void 0!==m){!1!==globalThis.__DEV__&&a.invariant.warn(4,m);break}}}}void 0!==h&&(c=!1)}}),s)return this.merge(e,o),c&&(this instanceof ei?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 a=this.getFieldValue(i,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:a,fieldName:t,args:r}):t;return this.modify(e,o?((n={})[o]=Z,n):Z)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(z.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof ei&&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){z.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&&z.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,i.__rest)(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 ei?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){z.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 ei;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!z.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,R.isReference)(e)&&(t[e.__ref]=!0),(0,j.isNonNullObject)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,j.isNonNullObject)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),er=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,V.dep)():null,this.keyMaker=new K.Trie(L.canUseWeakMap)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=J(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 en(e,t){es(e)&&e.group.depend(t,"__exists")}r=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,a=e.call(this,r,new er(void 0===n||n))||this;return a.stump=new ea(a),a.storageTrie=new K.Trie(L.canUseWeakMap),i&&a.replace(i),a}return(0,i.__extends)(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}(t=et||(et={})),t.Root=r;var ei=function(e){function t(t,r,n,i){var a=e.call(this,r.policies,i)||this;return a.id=t,a.parent=r,a.replay=n,a.group=i,n(a),a}return(0,i.__extends)(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,g.equal)(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,i.__assign)((0,i.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return z.call(this.data,t)?(0,i.__assign)((0,i.__assign)({},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}(et),ea=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new er(t.group.caching,t.group))||this}return(0,i.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(ei);function eo(e,t,r){var n=e[r],i=t[r];return(0,g.equal)(n,i)?n:i}function es(e){return!!(e instanceof et&&e.group.caching)}var ec=function(){function e(){this.known=new(L.canUseWeakSet?WeakSet:Set),this.pool=new K.Trie(L.canUseWeakMap),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,j.isNonNullObject)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,j.isNonNullObject)(e)){var t=(0,j.isNonNullObject)(e)?(0,Q.isArray)(e)?e.slice(0):(0,i.__assign)({__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,j.isNonNullObject)(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 a=Object.getPrototypeOf(e),o=[a],s=this.sortedKeys(e);o.push(s.json);var c=o.length;s.sorted.forEach(function(r){o.push(t.admit(e[r]))});var i=this.pool.lookupArray(o);if(!i.object){var u=i.object=Object.create(a);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=o[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}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 eu(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var el=function(){function e(e){var t=this;this.knownResults=new(L.canUseWeakMap?WeakMap:Map),this.config=(0,q.compact)(e,{addTypename:!1!==e.addTypename,canonizeResults:G(e)}),this.canon=e.canon||new ec,this.executeSelectionSet=(0,m.wrap)(function(e){var r,n=e.context.canonizeResults,a=eu(e);a[3]=!n;var o=(r=t.executeSelectionSet).peek.apply(r,a);return o?n?(0,i.__assign)((0,i.__assign)({},o),{result:t.canon.admit(o.result)}):o:(en(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||_.cacheSizes["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:eu,makeCacheKey:function(e,t,r,n){if(es(r.store))return r.store.makeCacheKey(e,(0,R.isReference)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,m.wrap)(function(e){return en(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||_.cacheSizes["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(es(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new ec},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,a=e.rootId,o=e.variables,s=e.returnPartialData,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,l=this.config.cache.policies;o=(0,i.__assign)((0,i.__assign)({},(0,E.getDefaultValues)((0,E.getQueryDefinition)(n))),o);var f=(0,R.makeReference)(void 0===a?"ROOT_QUERY":a),h=this.executeSelectionSet({selectionSet:(0,E.getMainDefinition)(n).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,i.__assign)({store:r,query:n,policies:l,variables:o,varString:(0,A.canonicalStringify)(o),canonizeResults:u},$(n,this.config.fragments))});if(h.missing&&(t=[new N(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,n,o)],!(void 0===s||s)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(es(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,i=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,R.isReference)(i)&&!s.policies.rootTypenamesById[i.__ref]&&!s.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var c=s.variables,u=s.policies,l=s.store.getFieldValue(i,"__typename"),f=[],h=new T.DeepMerger;function p(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof l&&!u.rootIdsByTypename[l]&&f.push({__typename:l});var d=new Set(n.selections);d.forEach(function(e){var n,v;if((0,P.shouldInclude)(e,c))if((0,R.isField)(e)){var y=u.readField({fieldName:e.n
1ame.value,field:e,variables:s.variables,from:i},s),m=(0,R.resultKeyNameFromField)(e);void 0===y?I.addTypenameToDocument.added(e)||(t=h.merge(t,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat((0,R.isReference)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,Q.isArray)(y)?y.length>0&&(y=p(r.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:s}),m)):e.selectionSet?null!=y&&(y=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:(0,R.isReference)(y)?y:o,context:s}),m)):s.canonizeResults&&(y=r.canon.pass(y)),void 0!==y&&f.push(((v={})[m]=y,v))}else{var g=(0,k.getFragmentFromSelection)(e,s.lookupFragment);if(!g&&e.kind===C.Kind.FRAGMENT_SPREAD)throw(0,a.newInvariantError)(10,e.name.value);g&&u.fragmentMatches(g,l)&&g.selectionSet.selections.forEach(d.add,d)}});var v={result:(0,T.mergeDeepArray)(f),missing:t},y=s.canonizeResults?this.canon.admit(v):(0,M.maybeDeepFreeze)(v);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,s=e.context,c=new T.DeepMerger;function u(e,r){var n;return e.missing&&(t=c.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,Q.isArray)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:s}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,R.isReference)(e)?e:o,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,j.isNonNullObject)(r)&&((0,a.invariant)(!(0,R.isReference)(r),11,(0,R.isReference)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),ef=e.i(43772),eh=e.i(10125),ep=e.i(268),ed=Object.create(null);function ev(e){var t=JSON.stringify(e);return ed[t]||(ed[t]=Object.create(null))}function ey(e){var t=ev(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=eg(e,function(e){var i=e_(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&z.call(t,e[0])&&(i=e_(t,e,eb)),(0,a.invariant)(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function em(e){var t=ev(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,a=r.fieldName,o=JSON.stringify(eg(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(n&&(0,Q.isNonEmptyArray)(n.directives)){var o=r.slice(1),s=n.directives.find(function(e){return e.name.value===o}),c=s&&(0,R.argumentsObjectFromField)(s,i);return c&&e_(c,e.slice(1))}return}if("$"===a){var u=r.slice(1);if(i&&z.call(i,u)){var l=e.slice(0);return l[0]=u,e_(i,l)}return}if(t)return e_(t,e)}));return(t||"{}"!==o)&&(a+=":"+o),a})}function eg(e,t){var r=new T.DeepMerger;return(function e(t){var r=ev(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,a){(0,Q.isArray)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,Q.isArray)(t[a+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,a=t(n);if(void 0!==a){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=a,a=i;e=r.merge(e,a)}return e},Object.create(null))}function eb(e,t){return e[t]}function e_(e,t,r){return r=r||eb,function e(t){return(0,j.isNonNullObject)(t)?(0,Q.isArray)(t)?t.map(e):eg(Object.keys(t).sort(),function(e){return e_(t,e)}):t}(t.reduce(function e(t,n){return(0,Q.isArray)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var eE=e.i(57299);function ek(e){return void 0!==e.args?e.args:e.field?(0,R.argumentsObjectFromField)(e.field,e.variables):null}var eT=function(){},eO=function(e,t){return t.fieldName},ew=function(e,t,r){return(0,r.mergeObjects)(e,t)},eS=function(e,t){return t},eD=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,i.__assign)({dataIdFromObject:B},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,n,a=this,o=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,c=(0,i.__assign)((0,i.__assign)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=eI(arguments,s);return a.readField(e,{store:a.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;return eE.disableWarningsSlot.withValue(!0,function(){for(;l;){var t=l((0,i.__assign)((0,i.__assign)({},e),s),c);if((0,Q.isArray)(t))l=ey(t);else{n=t;break}}}),n=n?String(n):void 0,c.keyObject?[n,c.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],a=n.queryType,o=n.mutationType,s=n.subscriptionType,c=(0,i.__rest)(n,["queryType","mutationType","subscriptionType"]);a&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),z.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(e,t,r){var n=this.getTypePolicy(e),i=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?ew:!1===t?eS:e.merge}o(n,t.merge),n.keyFn=!1===i?eT:(0,Q.isArray)(i)?ey(i):"function"==typeof i?i:n.keyFn,a&&Object.keys(a).forEac
1h(function(t){var n=r[t];n&&(null==n?void 0:n.typename)===e||(n=r[t]={typename:e});var i=a[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===s?eO:(0,Q.isArray)(s)?em(s):"function"==typeof s?s:n.keyFn,"function"==typeof c&&(n.read=c),o(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||eO)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,a.invariant)(!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(Y);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!z.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var a=t.supertypeMap.get(i);a&&a.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),a=n.fields;Object.assign(r,(0,i.__rest)(n,["fields"])),Object.assign(r.fields,a)})}var a=this.toBeAdded[e];return a&&a.length&&a.splice(0).forEach(function(r){t.updateTypePolicy(e,r,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},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 i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),c=[s],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<c.length;++h){var p=c[h];if(p.has(o))return s.has(o)||(f&&!1!==globalThis.__DEV__&&a.invariant.warn(7,t,o),s.add(o)),!0;p.forEach(u),l&&h===c.length-1&&function e(t,r,n){return!!(0,j.isNonNullObject)(r)&&((0,Q.isArray)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,R.isField)(t)&&(0,P.shouldInclude)(t,n)){var i=(0,R.resultKeyNameFromField)(t);return z.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),a=i&&i.keyFn;if(a&&r)for(var o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=ek(e);a;){var c=a(s,o);if((0,Q.isArray)(c))a=em(c);else{t=c||n;break}}return(void 0===t&&(t=e.field?(0,R.storeKeyNameFromField)(e.field,e.variables):(0,R.getStoreKeyName)(n,ek(e))),!1===t)?n:n===J(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=J(i),o=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,a),c=s&&s.read;if(c){var u=eN(this,r,e,t,t.store.getStorage((0,R.isReference)(r)?r.__ref:r,i));return ep.cacheSlot.withValue(this.cache,c,[o,u])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t),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 a=r.field,o=r.typename,s=r.merge;return s===ew?eR(n.store)(e,t):s===eS?t:(n.overwrite&&(e=void 0),s(e,t,eN(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:n.variables},n,i||Object.create(null))))},e}();function eN(e,t,r,n,i){var a=e.getStoreFieldName(r),o=J(a),s=r.variables||n.variables,c=n.store,u=c.toReference,l=c.canRead;return{args:ek(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:R.isReference,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(eI(arguments,t,s),n)},mergeObjects:eR(n.store)}}function eI(e,t,r){var n,o=e[0],s=e[1],c=e.length;return"string"==typeof o?n={fieldName:o,from:c>1?s:t}:(n=(0,i.__assign)({},o),z.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&a.invariant.warn(8,(0,eh.stringifyForDisplay)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function eR(e){return function(t,r){if((0,Q.isArray)(t)||(0,Q.isArray)(r))throw(0,a.newInvariantError)(9);if((0,j.isNonNullObject)(t)&&(0,j.isNonNullObject)(r)){var n=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(n&&o&&n!==o)return r;if((0,R.isReference)(t)&&H(r))return e.merge(t.__ref,r),t;if(H(t)&&(0,R.isReference)(r))return e.merge(t,r.__ref),r;if(H(t)&&H(r))return(0,i.__assign)((0,i.__assign)({},t),r)}return r}}function ex(e,t,r){var n="".concat(t).concat(r),a=e.flavors.get(n);return a||e.flavors.set(n,a=e.clientOnly===t&&e.deferred===r?e:(0,i.__assign)((0,i.__assign)({},e),{clientOnly:t,deferred:r})),a}var eA=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,n=t.query,o=t.result,s=t.dataId,c=t.variables,u=t.overwrite,l=(0,E.getOperationDefinition)(n),f=new T.DeepMerger;c=(0,i.__assign)((0,i.__assign)({},(0,E.getDefaultValues)(l)),c);var h=(0,i.__assign)((0,i.__assign)({store:e,written:Object.create(null),merge:function(e,t){return f.merge(e,t)},variables:c,varString:(0,A.canonicalStringify)(c)},$(n,this.fragments)),{overwrite:!!u,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:o||Object.create(null),dataId:s,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,R.isReference)(p))throw(0,a.newInvariantError)(12,o);
1return h.incomingById.forEach(function(t,n){var o=t.storeObject,s=t.mergeTree,c=t.fieldNodeSet,u=(0,R.makeReference)(n);if(s&&s.map.size){var l=r.applyMerges(s,u,o,h);if((0,R.isReference)(l))return;o=l}if(!1!==globalThis.__DEV__&&!h.overwrite){var f=Object.create(null);c.forEach(function(e){e.selectionSet&&(f[e.name.value]=!0)});var p=function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(o).forEach(function(e){!0!==f[J(e)]||p(e)||function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},s=o(e);if(s){var c=o(t);if(!(!c||(0,R.isReference)(s)||(0,g.equal)(s,c)||Object.keys(s).every(function(e){return void 0!==n.getFieldValue(c,e)}))){var u=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=J(r),f="".concat(u,".").concat(l);if(!ej.has(f)){ej.add(f);var h=[];(0,Q.isArray)(s)||(0,Q.isArray)(c)||[s,c].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&a.invariant.warn(15,l,u,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",f,(0,i.__assign)({},s),(0,i.__assign)({},c))}}}}(u,o,e,h.store)})}e.merge(n,o)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,o=e.selectionSet,s=e.context,c=e.mergeTree,u=this.cache.policies,l=Object.create(null),f=r&&u.rootTypenamesById[r]||(0,R.getTypenameFromResult)(n,o,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=eI(arguments,l,s.variables);if((0,R.isReference)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,i.__assign)((0,i.__assign)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return u.readField(e,s)},p=new Set;this.flattenFields(o,n,s,f).forEach(function(e,r){var i,o=n[(0,R.resultKeyNameFromField)(r)];if(p.add(r),void 0!==o){var s=u.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),d=eC(c,s),v=t.processFieldValue(o,r,r.selectionSet?ex(e,!1,!1):e,d),y=void 0;r.selectionSet&&((0,R.isReference)(v)||H(v))&&(y=h("__typename",v));var m=u.getMergeFunction(f,r.name.value,y);m?d.info={field:r,typename:f,merge:m}:eM(c,s),l=e.merge(l,((i={})[s]=v,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||I.addTypenameToDocument.added(r)||u.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||a.invariant.error(13,(0,R.resultKeyNameFromField)(r),n)});try{var d=u.identify(n,{typename:f,selectionSet:o,fragmentMap:s.fragmentMap,storeObject:l,readField:h}),v=d[0],y=d[1];r=r||v,y&&(l=s.merge(l,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,R.makeReference)(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(o)>=0||(g.push(o),this.reader&&this.reader.isFresh(n,m,o,s)))return m;var b=s.incomingById.get(r);return b?(b.storeObject=s.merge(b.storeObject,l),b.mergeTree=function e(t,r){if(t===r||!r||eP(r))return t;if(!t||eP(t))return r;var n=t.info&&r.info?(0,i.__assign)((0,i.__assign)({},t.info),r.info):t.info||r.info,a=t.map.size&&r.map.size,o={info:n,map:a?new Map:t.map.size?t.map:r.map};if(a){var s=new Set(r.map.keys());t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(b.mergeTree,c),p.forEach(function(e){return b.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:eP(c)?void 0:c,fieldNodeSet:p}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,Q.isArray)(e)?e.map(function(e,a){var o=i.processFieldValue(e,t,r,eC(n,a));return eM(n,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,ef.cloneDeep)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,R.getTypenameFromResult)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,s=new K.Trie(!1);return!function e(c,u){var l=s.lookup(c,u.clientOnly,u.deferred);l.visited||(l.visited=!0,c.selections.forEach(function(s){if((0,P.shouldInclude)(s,r.variables)){var c=u.clientOnly,l=u.deferred;if(!(c&&l)&&(0,Q.isNonEmptyArray)(s.directives)&&s.directives.forEac
1h(function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var n=(0,R.argumentsObjectFromField)(e,r.variables);n&&!1===n.if||(l=!0)}}),(0,R.isField)(s)){var f=i.get(s);f&&(c=c&&f.clientOnly,l=l&&f.deferred),i.set(s,ex(r,c,l))}else{var h=(0,k.getFragmentFromSelection)(s,r.lookupFragment);if(!h&&s.kind===C.Kind.FRAGMENT_SPREAD)throw(0,a.newInvariantError)(14,s.name.value);h&&o.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,ex(r,c,l))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,o){var s=this;if(e.map.size&&!(0,R.isReference)(r)){var c,u,l=!(0,Q.isArray)(r)&&((0,R.isReference)(t)||H(t))?t:void 0,f=r;l&&!o&&(o=[(0,R.isReference)(l)?l.__ref:l]);var h=function(e,t){return(0,Q.isArray)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=h(l,t),i=h(f,t);if(void 0!==i){o&&o.push(t);var c=s.applyMerges(e,r,i,n,o);c!==i&&(u=u||new Map).set(t,c),o&&(0,a.invariant)(o.pop()===t)}}),u&&(r=(0,Q.isArray)(f)?f.slice(0):(0,i.__assign)({},f),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,o&&(c=n.store).getStorage.apply(c,o)):r},e}(),eF=[];function eC(e,t){var r=e.map;return r.has(t)||r.set(t,eF.pop()||{map:new Map}),r.get(t)}function eP(e){return!e||!(e.info||e.map.size)}function eM(e,t){var r=e.map,n=r.get(t);n&&eP(n)&&(eF.push(n),r.delete(t))}var ej=new Set,eL=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new x.DocumentTransform(I.addTypenameToDocument),n.assumeImmutableResults=!0,n.makeVar=ep.makeVar,n.txCount=0,!1!==globalThis.__DEV__&&((0,d.warnRemovedOption)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,d.warnRemovedOption)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r=t,n.config=(0,q.compact)(W,r),n.addTypename=!!n.config.addTypename,n.policies=new eD({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,i.__extends)(t,e),t.prototype.init=function(){var e=this.data=new et.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.addTypenameTransform.resetCache(),null==n||n.resetCaches(),this.storeWriter=new eA(this,this.storeReader=new el({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:G(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,m.wrap)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||_.cacheSizes["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(es(r)){var n=e.optimistic,i=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,(0,A.canonicalStringify)({optimistic:n,id:i,variables:a}))}}}),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){!1!==globalThis.__DEV__&&(0,d.warnRemovedOption)(e,"canonizeResults","cache.read");var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,i.__assign)((0,i.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof N)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(z.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!1!==globalThis.__DEV__&&(0,d.warnRemovedOption)(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,i.__assign)((0,i.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;
1return this.watches.size||(0,ep.recallCache)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,ep.forgetCache)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,d.warnRemovedOption)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),A.canonicalStringify.reset(),F.print.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},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,R.isReference)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&a.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(z.call(e,"id"))return!1;e=(0,i.__assign)((0,i.__assign)({},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(),A.canonicalStringify.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,ep.forgetCache)(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,n=e.update,a=e.optimistic,o=void 0===a||a,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var i=r.data,a=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=a}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,i.__assign)((0,i.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches((0,i.__assign)((0,i.__assign)({},e),{onWatchUpdated:function(e,t){var r=c.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.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=this,n=e.lastDiff,i=(0,d.muteDeprecations)("canonizeResults",function(){return r.diff(e)});(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,n)))&&(n&&(0,g.equal)(n.result,i.result)||e.callback(e.lastDiff=i,n))},t}(D);!1!==globalThis.__DEV__&&(eL.prototype.getMemoryInternals=p.getInMemoryCacheMemoryInternals);var eq=function(e){return(0,i.__rest)(e,eV)},eV=["edges","pageInfo"],eK=e.i(65245);let eQ=new y({uri:"https://cms-fantasyfootballhub.graphcdn.app",cache:new eL({typePolicies:{Query:{fields:{keyArgs:!1,posts:(void 0===n&&(n=!1),{keyArgs:n,read:function(e,t){var r=t.canRead,n=t.readField;if(!e)return e;var a=[],o="",s="";
1e.edges.forEach(function(e){r(n("node",e))&&(a.push(e),e.cursor&&(o=o||e.cursor||"",s=e.cursor||s))}),a.length>1&&o===s&&(o="");var c=e.pageInfo||{},u=c.startCursor,l=c.endCursor;return(0,i.__assign)((0,i.__assign)({},eq(e)),{edges:a,pageInfo:(0,i.__assign)((0,i.__assign)({},e.pageInfo),{startCursor:u||o,endCursor:l||s})})},merge:function(e,t,r){var n=r.args,a=r.isReference,o=r.readField;if(e||(e={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!t)return e;var s=t.edges?t.edges.map(function(e){return a(e=(0,i.__assign)({},e))&&(e.cursor=o("cursor",e)),e}):[];if(t.pageInfo){var c=t.pageInfo,u=c.startCursor,l=c.endCursor,f=s[0],h=s[s.length-1];f&&u&&(f.cursor=u),h&&l&&(h.cursor=l);var p=f&&f.cursor;p&&!u&&(t=(0,T.mergeDeep)(t,{pageInfo:{startCursor:p}}));var d=h&&h.cursor;d&&!l&&(t=(0,T.mergeDeep)(t,{pageInfo:{endCursor:d}}))}var v=e.edges,y=[];if(n&&n.after){var m=v.findIndex(function(e){return e.cursor===n.after});m>=0&&(v=v.slice(0,m+1))}else if(n&&n.before){var m=v.findIndex(function(e){return e.cursor===n.before});y=m<0?v:v.slice(m),v=[]}else t.edges&&(v=[]);var g=(0,i.__spreadArray)((0,i.__spreadArray)((0,i.__spreadArray)([],v,!0),s,!0),y,!0),b=(0,i.__assign)((0,i.__assign)({},t.pageInfo),e.pageInfo);if(t.pageInfo){var _=t.pageInfo,E=_.hasPreviousPage,k=_.hasNextPage,u=_.startCursor,l=_.endCursor;Object.assign(b,(0,i.__rest)(_,["hasPreviousPage","hasNextPage","startCursor","endCursor"])),v.length||(void 0!==E&&(b.hasPreviousPage=E),void 0!==u&&(b.startCursor=u)),y.length||(void 0!==k&&(b.hasNextPage=k),void 0!==l&&(b.endCursor=l))}return(0,i.__assign)((0,i.__assign)((0,i.__assign)({},eq(e)),eq(t)),{edges:g,pageInfo:b})}})}},PostTypeSEO:{keyFields:["opengraphUrl"]}}})});e.s(["client",0,eQ,"getArticlesByAuthorNameQuery",0,e=>`query GetAuthorByName($cursor: String) { 2 posts(first: 10, after: $cursor, where: {authorName: "${e}", orderby: {field: DATE, order: DESC}}) { 3 pageInfo { 4 hasNextPage 5 hasPreviousPage 6 endCursor 7 startCursor 8 } 9 edges { 10 node { 11 id 12 date 13 title 14 excerpt(format: RENDERED) 15 slug 16 author { 17 node { 18 id 19 name 20 uri 21 slug 22 avatar { 23 url 24 } 25 } 26 } 27 featuredImage { 28 node { 29 id 30 sourceUrl(size: LARGE) 31 altText 32 mediaDetails { 33 height 34 width 35 } 36 } 37 } 38 seo { 39 readingTime 40 opengraphUrl 41 } 42 primaryCategory 43 } 44 } 45 } 46 }`,"getPostsByCategoryId",0,e=>`query GetPostsByCategoryId ($cursor: String) { 47 posts(first: 10, after: $cursor, where: {categoryId: ${e}, orderby: {field: DATE, order: DESC}}) { 48 pageInfo { 49 hasNextPage 50 hasPreviousPage 51 endCursor 52 startCursor 53 } 54 edges { 55 cursor 56 node { 57 id 58 date 59 title 60 excerpt(format: RENDERED) 61 slug 62 author { 63 node { 64 id 65 name 66 uri 67 slug 68 avatar { 69 url 70 } 71 } 72 } 73 featuredImage { 74 node { 75 id 76 sourceUrl(size: LARGE) 77 altText 78 mediaDetails { 79 height 80 width 81 } 82 } 83 } 84 seo { 85 readingTime 86 opengraphUrl 87 } 88 primaryCategory 89 } 90 } 91 } 92 } 93 `,"getPostsBySearchTerm",0,e=>`query GetPostsBySearchTerm ($cursor: String){ 94 posts(first: 10, after: $cursor, where: {search: "${e}"}) { 95 pageInfo { 96 hasNextPage 97 hasPreviousPage 98 endCursor 99 startCursor 100 } 101 edges { 102 cursor 103 node { 104 id 105 postId 106 date 107 title 108 excerpt(format: RENDERED) 109 slug 110 author { 111 node { 112 id 113 name 114 uri 115 slug 116 avatar { 117 url 118 } 119 } 120 } 121 featuredImage { 122 node { 123 id 124 sourceUrl(size: LARGE) 125 altText 126 mediaDetails { 127 height 128 width 129 } 130 } 131 } 132 seo { 133 readingTime 134 opengraphUrl 135 } 136 } 137 } 138 } 139 }`,"getTeamRevealsByAuthorNameQuery",0,e=>`query GetAuthorByName($cursor: String) { 140 posts(first: 10, after: $cursor, where: {authorName: "${e}", categoryId: ${eK.TEAM_REVEAL_WORDPRESS_CATEGORY}, orderby: {field: DATE, order: DESC}}) { 141 pageInfo { 142 hasNextPage 143 hasPreviousPage 144 endCursor 145 startCursor 146 } 147 edges { 148 node { 149 id 150 date 151 title 152 excerpt(format: RENDERED) 153 slug 154 author { 155 node { 156 id 157 name 158 uri 159 slug 160 avatar { 161 url 162 } 163 } 164 } 165 featuredImage { 166 node { 167 id 168 sourceUrl(size: LARGE) 169 altText 170 mediaDetails { 171 height 172 width 173 } 174 } 175 } 176 seo { 177 readingTime 178 opengraphUrl 179 } 180 primaryCategory 181 } 182 } 183 } 184 }`],84951)},70021,e=>{"use strict";var t=e.i(91398),r=e.i(59080),n=e.i(32171),i=e.i(19372),a=e.i(87882),o=e.i(84951);let s=e=>{if(!e)return 0;let t=Date.parse(e);return Number.isNaN(t)?0:t};var c=e.i(57248);e.s(["default",0,({query:e,initialData:u,sanityItems:l,onArticleClick:f,articleClassName:h})=>{let p=r.gql` 185 ${e??"query NoWordPressPosts { __typename }"}
186 `,{data:d,loading:v,fetchMore:y}=(0,n.useQuery)(p,{client:o.client,fetchPolicy:"network-only",notifyOnNetworkStatusChange:!0,skip:!e}),m=d??u,g=m?.posts?.edges,b=!!e&&!g,_=((...e)=>{let t=e.flatMap(e=>e??[]),r=new Set(t.flatMap(e=>e.legacyHref?[e.legacyHref]:[])),n=new Map;return t.forEach(e=>{!("wordpress"===e.source&&r.has(e.href))&&(n.has(e.href)||n.set(e.href,e))}),[...n.values()].sort((e,t)=>s(t.publishedAt)-s(e.publishedAt))})(l,(g??[]).map(e=>(0,c.normaliseWordPressListingItem)(e.node))),E=m?.posts?.pageInfo;return(0,t.jsx)("div",{className:"relative mx-auto max-w-7xl",children:(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-5 lg:grid-cols-3 lg:gap-6",children:[b&&0===_.length?Array.from({length:10}).map((e,r)=>(0,t.jsx)(i.ListingCard,{className:h},r)):_.map(e=>(0,t.jsx)(i.ListingCard,{item:e,onArticleClick:f,className:h},e.href)),E?.hasNextPage&&(0,t.jsx)("div",{className:"my-10 border-none",children:(0,t.jsx)(a.default,{variant:"primary",onClick:()=>{y({variables:{cursor:E.endCursor}})},loading:v,children:"View More Articles"})})]})})}],70021)},57828,e=>{"use strict";var t=e.i(89280);e.i(68681);var r=e.i(5578),n=e.i(24669),i=e.i(76810),a=e.i(43772),o=e.i(27371),s=e.i(15301),c=e.i(25945),u=e.i(56034),l=e.i(98377),f=e.i(50438),h=e.i(33879),p=e.i(22479);e.i(6775);var d=e.i(98173),v=e.i(69547),y=Object.assign,m=Object.hasOwnProperty,g=function(e){function c(r){var n=r.queryManager,i=r.queryInfo,a=r.options,o=this,u=c.inactiveOnCreation.getValue();(o=e.call(this,function(e){o._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=b)}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).observers=new Set,o.subscriptions=new Set,o.dirty=!1,o._getOrCreateQuery=function(){return u&&(n.queries.set(o.queryId,i),u=!1),o.queryManager.getOrCreateQuery(o.queryId)},o.queryInfo=i,o.queryManager=n,o.waitForOwnResult=E(a.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var l=n.defaultOptions.watchQuery,f=(void 0===l?{}:l).fetchPolicy,h=void 0===f?"cache-first":f,p=a.fetchPolicy,d=void 0===p?h:p,v=a.initialFetchPolicy,y=void 0===v?"standby"===d?h:d:v;o.options=(0,t.__assign)((0,t.__assign)({},a),{initialFetchPolicy:y,fetchPolicy:d}),o.queryId=i.queryId||n.generateQueryId();var m=(0,s.getOperationDefinition)(o.query);return o.queryName=m&&m.name&&m.name.value,o}return(0,t.__extends)(c,e),Object.defineProperty(c.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(c.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),c.prototype.result=function(){var e=this;return!1!==globalThis.__DEV__&&(0,v.warnDeprecated)("observableQuery.result",function(){!1!==globalThis.__DEV__&&r.invariant.warn(23)}),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)})},c.prototype.resetDiff=function(){this.queryInfo.resetDiff()},c.prototype.getCurrentFullResult=function(e){var r=this;void 0===e&&(e=!0);var a=(0,v.muteDeprecations)("getLastResult",function(){return r.getLastResult(!0)}),o=this.queryInfo.networkStatus||a&&a.networkStatus||i.NetworkStatus.ready,s=(0,t.__assign)((0,t.__assign)({},a),{loading:(0,i.isNetworkRequestInFlight)(o),networkStatus:o}),c=this.options.fetchPolicy,u=void 0===c?"cache-first":c;if(E(u)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),(0,n.equal)(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,l.complete&&s.networkStatus===i.NetworkStatus.loading&&("cache-first"===u||"cache-only"===u)&&(s.networkStatus=i.NetworkStatus.ready,s.loading=!1)):s.partial=!0,s.networkStatus===i.NetworkStatus.ready&&(s.error||s.errors)&&(s.networkStatus=i.NetworkStatus.error),!1===globalThis.__DEV__||l.complete||this.options.partialRefetch||s.loading||s.data||s.error||_(l.missing)}return e&&this.updateLastResult(s),s},c.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},c.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),i=this.queryManager.dataMasking,a=i?r.nonReactiveQuery:this.query;return(i||r.hasNonreactiveDirective?!(0,p.equalByQuery)(a,this.last.result,e,this.variables):!(0,n.equal)(this.last.result,e))||t&&!(0,n.equal)(this.last.variables,t)},c.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,n.equal)(r.variables,this.variables)))return r[e]},c.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&(0,v.warnDeprecated)("getLastResult",function(){!1!==globalThis.__DEV__&&r.invariant.warn(24)}),this.getLast("result",e)},c.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&(0,v.warnDeprecated)("getLastError",function(){!1!==globalThis.__DEV__&&r.invariant.warn(25)}),this.getLast("error",e)},c.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&(0,v.warnDeprecated)("resetLastResults",function(){!1!==globalThis.__DEV__&&r.invariant.warn(26)}),delete this.last,this.isTornDown=!1},c.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&r.invariant.warn(27),this.queryManager.resetErrors(this.queryId)},c.prototype.refetch=function(e){var a,o={pollInterval:0};if("no-cache"===this.options.fetchPolicy?o.fetchPolicy="no-cache":o.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&m.call(e,"variables")){var c=(0,s.getQueryDefinition)(this.query),u=c.variableDefinitions;u&&u.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||r.invariant.warn(28,e,(null==(a=c.name)?void 0:a.value)||c)}return e&&!(0,n.equal)(this.options.variables,e)&&(o.variables=this.options.variables=(0,t.__assign)((0,t.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(o,i.NetworkStatus.refetch)},c.prototype.fetchMore=function(e){var n=this,a=(0,t.__assign)((0,t.__assign)({},e.query?e:(0,t.__assign)((0,t.__assign)((0,t.__assign)((0,t.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,t.__assign)((0,t.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});
186a.query=this.transformDocument(a.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):a.query;var s=this.queryInfo,c=s.networkStatus;s.networkStatus=i.NetworkStatus.fetchMore,a.notifyOnNetworkStatusChange&&this.observe();var u=new Set,l=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,r.invariant)(l,29),this.queryManager.fetchQuery(o,a,i.NetworkStatus.fetchMore).then(function(r){if(n.queryManager.removeQuery(o),s.networkStatus===i.NetworkStatus.fetchMore&&(s.networkStatus=c),f)n.queryManager.cache.batch({update:function(t){var i=e.updateQuery;i?t.updateQuery({query:n.query,variables:n.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:r.data,variables:a.variables})}):t.writeQuery({query:a.query,variables:a.variables,data:r.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var h=n.getLast("result"),p=l(h.data,{fetchMoreResult:r.data,variables:a.variables});n.reportResult((0,t.__assign)((0,t.__assign)({},h),{networkStatus:c,loading:(0,i.isNetworkRequestInFlight)(c),data:p}),n.variables)}return n.maskResult(r)}).finally(function(){f&&!u.has(n.query)&&n.reobserveCacheFirst()})},c.prototype.subscribeToMore=function(e){var n=this,i=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&n.updateQuery(function(e,n){return i(e,(0,t.__assign)({subscriptionData:r},n))})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&r.invariant.error(30,t)}});return this.subscriptions.add(i),function(){n.subscriptions.delete(i)&&i.unsubscribe()}},c.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&((0,v.warnRemovedOption)(e,"canonizeResults","setOptions"),(0,v.warnDeprecated)("setOptions",function(){!1!==globalThis.__DEV__&&r.invariant.warn(31)})),this.reobserve(e)},c.prototype.silentSetOptions=function(e){var t=(0,o.compact)(this.options,e||{});y(this.options,t)},c.prototype.setVariables=function(e){var t=this;return(0,n.equal)(this.variables,e)?this.observers.size?(0,v.muteDeprecations)("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},i.NetworkStatus.setVariables):Promise.resolve()},c.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,a=e(n,{variables:this.variables,complete:!!i,previousData:n});a&&(t.cache.writeQuery({query:this.options.query,data:a,variables:this.variables}),t.broadcastQueries())},c.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},c.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},c.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,a=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:a}):"variables-changed"===e?t.fetchPolicy=a:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},c.prototype.fetch=function(e,t,r){var n=this._getOrCreateQuery();return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},c.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(!n||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==n){(0,r.invariant)(n,32),(t||(this.pollingInfo={})).interval=n;var a=function(){var t,r;e.pollingInfo&&((0,i.isNetworkRequestInFlight)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},i.NetworkStatus.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(a,t.interval))};o()}}},c.prototype.updateLastResult=function(e,r){var i=this;void 0===r&&(r=this.variables);var o=(0,v.muteDeprecations)("getLastError",function(){return i.getLastError()});return o&&this.last&&!(0,n.equal)(r,this.last.variables)&&(o=void 0),this.last=(0,t.__assign)({result:this.queryManager.assumeImmutableResults?e:(0,a.cloneDeep)(e),variables:r},o?{error:o}:null)},c.prototype.reobserveAsConcast=function(e,r){var a=this;this.isTornDown=!1;var s=r===i.NetworkStatus.refetch||r===i.NetworkStatus.fetchMore||r===i.NetworkStatus.poll,c=this.options.variables,u=this.options.fetchPolicy,l=(0,o.compact)(this.options,e||{}),f=s?l:y(this.options,l),p=this.transformDocument(f.query);this.lastQuery=p,!s&&(this.updatePolling(),e&&e.variables&&!(0,n.equal)(e.variables,c)&&"standby"!==f.fetchPolicy&&(f.fetchPolicy===u||"function"==typeof f.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",f),void 0===r&&(r=i.NetworkStatus.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=E(f.fetchPolicy));var d=function(){a.concast===g&&(a.waitForOwnResult=!1)},v=f.variables&&(0,t.__assign)({},f.variables),m=this.fetch(f,r,p),g=m.concast,b=m.fromLink,_={next:function(e){(0,n.equal)(a.variables,v)&&(d(),a.reportResult(e,v))},error:function(e){(0,n.equal)(a.variables,v)&&((0,h.isApolloError)(e)||(e=new h.ApolloError({networkError:e})),d(),a.reportError(e,v))}};return s||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=g,this.observer=_),g.addObserver(_),g},c.prototype.reobserve=function(e,t){return(0,f.preventUnhandledRejection)(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},c.prototype.resubscribeAfterError=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.last;(0,v.muteDeprecations)("resetLastResults",function(){return e.resetLastResults()});var i=this.subscribe.apply(this,t);return this.last=n,i},c.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},c.prototype.reportResult=function(e,t){var r=this,n=(0,v.muteDeprecations)("getLastError",function(){return r.getLastError()}),i=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||i)&&(0,u.iterateObserversSafely)(this.observers,"next",this.maskResult(e))},c.prototype.reportError=function(e,r){var n=this,a=(0,t.__assign)((0,t.__assign)({},(0,v.muteDeprecations)("getLastResult",function(){return n.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:i.NetworkStatus.error,loading:!1});this.updateLastResult(a,r),(0,u.iterateObserversSafely)(this.observers,"error",this.last.error=e)},c.prototype.hasObservers=function(){return this.observers.size>0},c.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)},c.prototype.transformDocument=function(e){return this.queryManager.transform(e)},c.prototype.maskResult=function(e){return e&&"data"in e?(0,t.__assign)((0,t.__assign)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},c.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},c.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},c.prototype.scheduleNotify=function(){var e=this;!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},c.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!(0,i.isNetwork
186RequestInFlight)(this.queryInfo.networkStatus))&&(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()),this.dirty=!1},c.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,n):t}}):this.reobserve()},c.inactiveOnCreation=new d.Slot,c}(c.Observable);function b(e){!1!==globalThis.__DEV__&&r.invariant.error(33,e.message,e.stack)}function _(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&r.invariant.debug(34,e)}function E(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,l.fixObservableSubclass)(g),e.s(["ObservableQuery",0,g,"logMissingFieldErrors",0,_])},56253,57299,e=>{"use strict";var t=e.i(89280),r=e.i(24669),n=e.i(13959),i=e.i(2024),a=e.i(42419),o=e.i(17548),s=e.i(23289),c=e.i(76810),u=e.i(69547),l=new(s.canUseWeakMap?WeakMap:Map);function f(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return l.set(e,(l.get(e)+1)%1e15),r.apply(this,arguments)})}var h=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;l.has(r)||(l.set(r,0),f(r,"evict"),f(r,"modify"),f(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||c.NetworkStatus.loading;return this.variables&&this.networkStatus!==c.NetworkStatus.loading&&!(0,r.equal)(this.variables,e.variables)&&(t=c.NetworkStatus.setVariables),(0,r.equal)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),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.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&(0,r.equal)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var n=this.observableQuery;if(n&&"no-cache"===n.options.fetchPolicy)return{complete:!1};var i=(0,u.muteDeprecations)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(i,t),i},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.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,i=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(0,u.muteDeprecations)("getLastError",function(){var e;return null==(e=n.observableQuery)?void 0:e.getLastError()}))&&(this.updateLastDiff(e),(0,r.equal)(i&&i.result,e&&e.result)||null==(t=this.observableQuery)||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var n=this;void 0===e&&(e=this.variables);var i=this.observableQuery;if(!i||"no-cache"!==i.options.fetchPolicy){var a=(0,t.__assign)((0,t.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return n.setDiff(e)}});this.lastWatch&&(0,r.equal)(a,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=a))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===l.get(this.cache)&&(0,r.equal)(t,n.variables)&&(0,r.equal)(e.data,n.result.data))},e.prototype.markResult=function(e,t,o,s){var c,f=this,h=new n.DeepMerger,d=(0,a.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];if(null==(c=this.observableQuery)||c.resetNotifications(),"incremental"in e&&(0,a.isNonEmptyArray)(e.incremental)){var v=(0,i.mergeIncrementalData)(this.getDiff().result,e);e.data=v}else if("hasNext"in e&&e.hasNext){var y=this.getDiff();e.data=h.merge(y.result,e.data)}this.graphQLErrors=d,"no-cache"===o.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(o.variables)):0!==s&&(p(e,o.errorPolicy)?this.cache.performTransaction(function(n){if(f.shouldWrite(e,o.variables))n.writeQuery({query:t,data:e.data,variables:o.variables,overwrite:1===s}),f.lastWrite={result:e,variables:o.variables,dmCount:l.get(f.cache)};else if(f.lastDiff&&f.lastDiff.diff.complete){e.data=f.lastDiff.diff.result;return}var i=f.getDiffOptions(o.variables),a=(0,u.muteDeprecations)("canonizeResults",function(){return n.diff(i)});!f.stopped&&(0,r.equal)(f.variables,o.variables)&&f.updateWatch(o.variables),f.updateLastDiff(a,i),a.complete&&(e.data=a.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=c.NetworkStatus.ready},e.prototype.markError=function(e){var t;return this.networkStatus=c.NetworkStatus.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function p(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!(0,o.graphQLResultHasError)(e);return!n&&r&&e.data&&(n=!0),n}e.s(["QueryInfo",0,h,"shouldWriteResult",0,p],56253),e.i(6775);var d=e.i(98173);e.i(68681);var v=e.i(5578),y=s.canUseWeakMap?WeakMap:Map,m=s.canUseWeakSet?WeakSet:Set,g=new d.Slot,b=!1;e.s(["MapImpl",0,y,"SetImpl",0,m,"disableWarningsSlot",0,g,"warnOnImproperCacheImplementation",0,function(){b||(b=!0,!1!==globalThis.__DEV__&&v.invariant.warn(64))}],57299)},59054,1743,268,50968,e=>{"use strict";var t=e.i(89280);e.i(68681);var r=e.i(5578),n=e.i(24669),i=e.i(71393),a=e.i(49429),o=e.i(26452),s=e.i(2024),c=e.i(86384),u=e.i(28117),l=e.i(15301),f=e.i(17548),h=e.i(25945),p=e.i(66812),d=e.i(42419),v=e.i(70757),y=e.i(83874),m=e.i(56776),g=e.i(30101),b=e.i(33448),_=e.i(33879),E=e.i(57828),k=e.i(76810),T=e.i(56253),O=e.i(41969),w=e.i(83015),S=e.i(36904),D=e.i(6044),N=e.i(6699),I=e.i(57299),R=e.i(11922);function x(e,t,n){return I.disableWarningsSlot.withValue(!0,function(){var i=function e(t,n,i,a,s){var c,u=i.knownChanged,l=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 f=0,h=Array.from(t.entries());f<h.length;f++){var p=h[f],d=p[0],v=p[1];if(null===v){l[d]=null;continue}var y=e(v,n,i,a,!1!==globalThis.__DEV__?"".concat(s||"","[").concat(d,"]"):void 0);u.has(y)&&u.add(l),l[d]=y}return u.has(l)?l:t}for(var g=0,b=n.selections;g<b.length;g++){var _=b[g],E=void 0;if(a&&u.add(l),_.kind===N.Kind.FIELD){var k=(0,m.resultKeyNameFromField)(_),T=_.selectionSet;if(void 0===(E=l[k]||t[k]))continue;if(T&&null!==E){var y=e(t[k],T,i,a,!1!==globalThis.__DEV__?"".concat(s||"",".").concat(k):void 0);u.has(y)&&(E=y)}!1===globalThis.__DEV__&&(l[k]=E),!1!==globalThis.__DEV__&&(!a||"__typename"===k||(null==(c=Object.getOwnPropertyDescriptor(l,k))?void 0:c.value)?(delete l[k],l[k]=E):Object.defineProperty(l,k,function(e,t,n,i,a){var o=function(){return I.disableWarningsSlot.getValue()||(!1!==globalThis.__DEV__&&r.invariant.warn(60,i?"".concat(a," '").concat(i,"'"):"anonymous ".concat(a),"".concat(n,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(k,E,s||"",i.operationName,i.operationType)))}if(_.kind===N.Kind.INLINE_FRAGMENT&&(!_.typeCondition||i.cache.fragmentMatches(_,t.__typename))&&(E=e(t,_.
186selectionSet,i,a,s)),_.kind===N.Kind.FRAGMENT_SPREAD){var O=_.name.value,w=i.fragmentMap[O]||(i.fragmentMap[O]=i.cache.lookupFragment(O));(0,r.invariant)(w,59,O);var S=(0,o.getFragmentMaskMode)(_);"mask"!==S&&(E=e(t,w.selectionSet,i,"migrate"===S,s))}u.has(E)&&u.add(l)}return"__typename"in t&&!("__typename"in l)&&(l.__typename=t.__typename),Object.keys(l).length!==Object.keys(t).length&&u.add(l),u.has(l)?l:t}(e,t,n,!1);return Object.isFrozen(e)&&(0,R.maybeDeepFreeze)(i),i})}function A(e,t,i,a){if(!i.fragmentMatches)return!1!==globalThis.__DEV__&&(0,I.warnOnImproperCacheImplementation)(),e;var o=t.definitions.filter(function(e){return e.kind===N.Kind.FRAGMENT_DEFINITION});void 0===a&&((0,r.invariant)(1===o.length,61,o.length),a=o[0].name.value);var s=o.find(function(e){return e.name.value===a});return((0,r.invariant)(!!s,62,a),null==e||(0,n.default)(e,{}))?e:x(e,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:(0,c.createFragmentMap)((0,l.getFragmentDefinitions)(t)),cache:i,mutableTargets:new I.MapImpl,knownChanged:new I.SetImpl})}e.s(["maskFragment",0,A],1743);var F=e.i(69547),C=Object.prototype.hasOwnProperty,P=Object.create(null),M=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new S.AutoCleanedWeakCache(D.cacheSizes["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new w.Trie(!1),this.noCacheWarningsByQueryId=new Set;var r=new b.DocumentTransform(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,r.newInvariantError)(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,t.__awaiter)(this,arguments,void 0,function(e){var n,i,a,o,s,c,u,l=e.mutation,h=e.variables,d=e.optimisticResponse,v=e.updateQueries,y=e.refetchQueries,m=void 0===y?[]:y,g=e.awaitRefetchQueries,b=void 0!==g&&g,E=e.update,k=e.onQueryUpdated,T=e.fetchPolicy,O=void 0===T?(null==(c=this.defaultOptions.mutate)?void 0:c.fetchPolicy)||"network-only":T,w=e.errorPolicy,S=void 0===w?(null==(u=this.defaultOptions.mutate)?void 0:u.errorPolicy)||"none":w,D=e.keepRootFields,N=e.context;return(0,t.__generator)(this,function(e){switch(e.label){case 0:if((0,r.invariant)(l,36),(0,r.invariant)("network-only"===O||"no-cache"===O,37),n=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),i=this.getDocumentInfo(l).hasClientExports,h=this.getVariables(l,h),!i)return[3,2];return[4,this.localState.addExportedVariables(l,h,N)];case 1:h=e.sent(),e.label=2;case 2:return a=this.mutationStore&&(this.mutationStore[n]={mutation:l,variables:h,loading:!0,error:null}),o=d&&this.markMutationOptimistic(d,{mutationId:n,document:l,variables:h,fetchPolicy:O,errorPolicy:S,context:N,updateQueries:v,update:E,keepRootFields:D}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return(0,p.asyncMap)(s.getObservableFromLink(l,(0,t.__assign)((0,t.__assign)({},N),{optimisticResponse:o?d:void 0}),h,{},!1),function(e){if((0,f.graphQLResultHasError)(e)&&"none"===S)throw new _.ApolloError({graphQLErrors:(0,f.getGraphQLErrorsFromResult)(e)});a&&(a.loading=!1,a.error=null);var r=(0,t.__assign)({},e);return"function"==typeof m&&(m=m(r)),"ignore"===S&&(0,f.graphQLResultHasError)(r)&&delete r.errors,s.markMutationResult({mutationId:n,result:r,document:l,variables:h,fetchPolicy:O,errorPolicy:S,context:N,update:E,updateQueries:v,awaitRefetchQueries:b,refetchQueries:m,removeOptimistic:o?n:void 0,onQueryUpdated:k,keepRootFields:D})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,t.__assign)((0,t.__assign)({},r),{data:s.maskOperation({document:l,data:r.data,fetchPolicy:O,id:n})}))},error:function(e){a&&(a.loading=!1,a.error=e),o&&s.cache.removeOptimistic(n),s.broadcastQueries(),r(e instanceof _.ApolloError?e:new _.ApolloError({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,r){var n=this;void 0===r&&(r=this.cache);var i=e.result,a=[],o="no-cache"===e.fetchPolicy;if(!o&&(0,T.shouldWriteResult)(i,e.errorPolicy)){if((0,s.isExecutionPatchIncrementalResult)(i)||a.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,s.isExecutionPatchIncrementalResult)(i)&&(0,d.isNonEmptyArray)(i.incremental)){var c=r.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
186),u=void 0;c.result&&(u=(0,s.mergeIncrementalData)(c.result,i)),void 0!==u&&(i.data=u,a.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var f=e.updateQueries;f&&this.queries.forEach(function(e,t){var o=e.observableQuery,s=o&&o.queryName;if(s&&C.call(f,s)){var c=f[s],u=n.queries.get(t),h=u.document,p=u.variables,d=r.diff({query:h,variables:p,returnPartialData:!0,optimistic:!1}),v=d.result;if(d.complete&&v){var y=c(v,{mutationResult:i,queryName:h&&(0,l.getOperationName)(h)||void 0,queryVariables:p});y&&a.push({result:y,dataId:"ROOT_QUERY",query:h,variables:p})}}})}if(a.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var h=[];if(this.refetchQueries({updateCache:function(r){o||a.forEach(function(e){return r.write(e)});var c=e.update,u=!(0,s.isExecutionPatchResult)(i)||(0,s.isExecutionPatchIncrementalResult)(i)&&!i.hasNext;if(c){if(!o){var l=r.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,t.__assign)((0,t.__assign)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&c(r,i,{context:e.context,variables:e.variables})}o||e.keepRootFields||!u||r.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 h.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(h).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,n){var i=this,a="function"==typeof e?e(n.variables,{IGNORE:P}):e;return a!==P&&(this.cache.recordOptimisticTransaction(function(e){try{i.markMutationResult((0,t.__assign)((0,t.__assign)({},n),{result:{data:a}}),e)}catch(e){!1!==globalThis.__DEV__&&r.invariant.error(e)}},n.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(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 r=this.transformCache;if(!r.has(e)){var n={hasClientExports:(0,o.hasClientExports)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,o.hasDirectives)(["nonreactive"],e),nonReactiveQuery:(0,a.addNonReactiveToNamedFragments)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,a.removeDirectivesFromDocument)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,l.getDefaultValues)((0,l.getOperationDefinition)(e)),asQuery:(0,t.__assign)((0,t.__assign)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,t.__assign)((0,t.__assign)({},e),{operation:"query"}):e})})};r.set(e,n)}return r.get(e)},e.prototype.getVariables=function(e,r){return(0,t.__assign)((0,t.__assign)({},this.getDocumentInfo(e).defaultVars),r)},e.prototype.watchQuery=function(e){var r=this.transform(e.query);void 0===(e=(0,t.__assign)((0,t.__assign)({},e),{variables:this.getVariables(r,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new T.QueryInfo(this),i=new E.ObservableQuery({queryManager:this,queryInfo:n,options:e});return i.lastQuery=r,E.ObservableQuery.inactiveOnCreation.getValue()||this.queries.set(i.queryId,n),n.init({document:r,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,n){var i=this;void 0===n&&(n=this.generateQueryId()),(0,r.invariant)(e.query,38),(0,r.invariant)("Document"===e.query.kind,39),(0,r.invariant)(!e.returnPartialData,40),(0,r.invariant)(!e.pollInterval,41);var a=this.transform(e.query);return this.fetchQuery(n,(0,t.__assign)((0,t.__assign)({},e),{query:a})).then(function(r){return r&&(0,t.__assign)((0,t.__assign)({},r),{data:i.maskOperation({document:a,data:r.data,fetchPolicy:e.fetchPolicy,id:n})})}).finally(function(){return i.stopQuery(n)})},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}),this.cancelPendingFetches((0,r.newInvariantError)(42)),this.queries.forEac
186h(function(e){e.observableQuery?e.networkStatus=k.NetworkStatus.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var n=this;void 0===e&&(e="active");var i=new Map,a=new Map,o=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)a.set(e,e),o.set(e,!1);else if((0,m.isDocumentNode)(e)){var t=(0,O.print)(n.transform(e));a.set(t,(0,l.getOperationName)(e)),o.set(t,!1)}else(0,g.isNonNullObject)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,r){var n=t.observableQuery,a=t.document;if(n){if("all"===e)return void i.set(r,n);var s=n.queryName;if("standby"===n.options.fetchPolicy||"active"===e&&!n.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has((0,O.print)(a)))&&(i.set(r,n),s&&o.set(s,!0),a&&o.set((0,O.print)(a),!0))}}),s.size&&s.forEach(function(e){var a=(0,y.makeUniqueId)("legacyOneTimeQuery"),o=n.getOrCreateQuery(a).init({document:e.query,variables:e.variables}),s=new E.ObservableQuery({queryManager:n,queryInfo:o,options:(0,t.__assign)((0,t.__assign)({},e),{fetchPolicy:"network-only"})});(0,r.invariant)(s.queryId===a),o.setObservableQuery(s),i.set(a,s)}),!1!==globalThis.__DEV__&&o.size&&o.forEach(function(e,t){if(!e){var n=a.get(t);n?!1!==globalThis.__DEV__&&r.invariant.warn(43,n):!1!==globalThis.__DEV__&&r.invariant.warn(44)}}),i},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 a=n.options.fetchPolicy;(0,F.muteDeprecations)("resetLastResults",function(){return n.resetLastResults()}),(e||"standby"!==a&&"cache-only"!==a)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,a=e.errorPolicy,o=void 0===a?"none":a,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var p=function(e){return t.getObservableFromLink(r,c,e,l).map(function(n){"no-cache"!==i&&((0,T.shouldWriteResult)(n,o)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=(0,f.graphQLResultHasError)(n),s=(0,_.graphQLResultHasProtocolErrors)(n);if(a||s){var c={};if(a&&(c.graphQLErrors=n.errors),s&&(c.protocolErrors=n.extensions[_.PROTOCOL_ERRORS_SYMBOL]),"none"===o||s)throw new _.ApolloError(c)}return"ignore"===o&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,c).then(p);return new h.Observable(function(e){var t=null;return d.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return p(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){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,r,n,a,o){var s,c,f=this;void 0===o&&(o=null!=(s=null==r?void 0:r.queryDeduplication)?s:this.queryDeduplication);var d=this.getDocumentInfo(e),y=d.serverQuery,m=d.clientQuery;if(y){var g=this.inFlightLinkObservables,b=this.link,_={query:y,variables:n,operationName:(0,l.getOperationName)(y)||void 0,context:this.prepareContext((0,t.__assign)((0,t.__assign)({},r),{forceFetch:!o})),extensions:a};if(r=_.context,o){var E=(0,O.print)(y),k=(0,u.canonicalStringify)(n),T=g.lookup(E,k);if(!(c=T.observable)){var w=new v.Concast([(0,i.execute)(b,_)]);c=T.observable=w,w.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?w.beforeNext(e):g.remove(E,k)})}}else c=new v.Concast([(0,i.execute)(b,_)])}else c=new v.Concast([h.Observable.of({data:{}})]),r=this.prepareContext(r);return m&&(c=(0,p.asyncMap)(c,function(e){return f.localState.runResolvers({document:m,remoteResult:e,context:r,variables:n})})),c},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return(0,p.asyncMap)(this.getObservableFromLink(i,r.context,r.variables),function(a){var o=(0,f.getGraphQLErrorsFromResult)(a),s=o.length>0,c=r.errorPolicy;if(n>
186=e.lastRequestId){if(s&&"none"===c)throw e.markError(new _.ApolloError({graphQLErrors:o}));e.markResult(a,i,r,t),e.markReady()}var u={data:a.data,loading:!1,networkStatus:k.NetworkStatus.ready};return s&&"none"===c&&(u.data=void 0),s&&"ignore"!==c&&(u.errors=o,u.networkStatus=k.NetworkStatus.error),u},function(t){var r=(0,_.isApolloError)(t)?t:new _.ApolloError({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,a,o=this;void 0===r&&(r=k.NetworkStatus.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),c=this.defaultOptions.watchQuery,u=t.fetchPolicy,l=void 0===u?c&&c.fetchPolicy||"cache-first":u,f=t.errorPolicy,h=void 0===f?c&&c.errorPolicy||"none":f,p=t.returnPartialData,d=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:h,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==d&&d,context:void 0===y?{}:y}),g=function(n){m.variables=n;var i=o.fetchQueryByPolicy(e,m,r);return"standby"!==m.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},b=function(){return o.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new v.Concast(this.localState.addExportedVariables(m.query,m.variables,m.context).then(g).then(function(e){return e.sources})),a=!0;else{var _=g(m.variables);a=_.fromLink,i=new v.Concast(_.sources)}return i.promise.then(b,b),{concast:i,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,a=void 0!==i&&i,o=e.removeOptimistic,s=void 0===o?a?(0,y.makeUniqueId)("refetchQueries"):void 0:o,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:a&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof T.QueryInfo&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,a=e.lastDiff,o=e.diff;c&&(o||(o=(0,F.muteDeprecations)("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),n=c(i,o,a)),c&&!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,n,i,a=e.document,o=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,u=e.id,f=null==(t=(0,l.getOperationDefinition)(a))?void 0:t.operation,h=(null!=(n=null==f?void 0:f[0])?n:"o")+u;!this.dataMasking||"no-cache"!==s||(0,c.isFullyUnmaskedOperation)(a)||this.noCacheWarningsByQueryId.has(h)||(this.noCacheWarningsByQueryId.add(h),!1!==globalThis.__DEV__&&r.invariant.warn(45,null!=(i=(0,l.getOperationName)(a))?i:"Unnamed ".concat(null!=f?f:"operation")))}return this.dataMasking?function(e,t,n){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,I.warnOnImproperCacheImplementation)(),e;var i,a=(0,l.getOperationDefinition)(t);return((0,r.invariant)(a,63),null==e)?e:x(e,a.selectionSet,{operationType:a.operation,operationName:null==(i=a.name)?void 0:i.value,fragmentMap:(0,c.createFragmentMap)((0,l.getFragmentDefinitions)(t)),cache:n,mutableTargets:new I.MapImpl,knownChanged:new I.SetImpl})}(o,a,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?A(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,r,i){var a=this,o=r.query,s=r.variables,c=r.fetchPolicy,u=r.refetchWritePolicy,l=r.errorPolicy,f=r.returnPartialData,p=r.context,d=r.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:o,variables:s,networkStatus:i});var y=function(){return e.getDiff()},m=function(r,i){void 0===i&&(i=e.networkStatus||k.NetworkStatus.loading);var c=r.result;!1===globalThis.__DEV__||f||(0,n.equal)(c,{})||(0,E.logMissingFieldErrors)(r.missing);var u=function(e){return h.Observable.of((0,t.__assign)({data:e,loading:(0,k.isNetwork
186RequestInFlight)(i),networkStatus:i},r.complete?null:{partial:!0}))};return c&&a.getDocumentInfo(o).hasForcedResolvers?a.localState.runResolvers({document:o,remoteResult:{data:c},context:p,variables:s,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===l&&i===k.NetworkStatus.refetch&&Array.isArray(r.missing)?u(void 0):u(c)},g="no-cache"===c?0:i===k.NetworkStatus.refetch&&"merge"!==u?1:2,b=function(){return a.getResultsFromLink(e,g,{query:o,variables:s,context:p,fetchPolicy:c,errorPolicy:l})},_=d&&"number"==typeof v&&v!==i&&(0,k.isNetworkRequestInFlight)(i);switch(c){default:case"cache-first":var T=y();if(T.complete)return{fromLink:!1,sources:[m(T,e.markReady())]};if(f||_)return{fromLink:!0,sources:[m(T),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var T=y();if(T.complete||f||_)return{fromLink:!0,sources:[m(T),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(_)return{fromLink:!0,sources:[m(y()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(_)return{fromLink:!0,sources:[m(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new T.QueryInfo(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var r=this.localState.prepareContext(e);return(0,t.__assign)((0,t.__assign)((0,t.__assign)({},this.defaultContext),r),{clientAwareness:this.clientAwareness})},e}();e.s(["QueryManager",0,M],59054);var j=e.i(2088);function L(e){return e.kind===N.Kind.FIELD||e.kind===N.Kind.FRAGMENT_SPREAD||e.kind===N.Kind.INLINE_FRAGMENT}var q=e.i(13959);e.i(6775);var V=e.i(4731),K=new(e.i(98173)).Slot,Q=new WeakMap;function z(e){var t=Q.get(e);return t||Q.set(e,t={vars:new Set,dep:(0,V.dep)()}),t}e.s(["cacheSlot",0,K,"forgetCache",0,function(e){z(e).vars.forEach(function(t){return t.forgetCache(e)})},"makeVar",0,function(e){var t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(function(e){var t;z(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var o=Array.from(r);r.clear(),o.forEach(function(t){return t(e)})}}else{var s=K.getValue();s&&(i(s),z(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),z(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n},"recallCache",0,function(e){z(e).vars.forEach(function(t){return t.attachCache(e)})}],268);var U=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,q.mergeDeep)(t.resolvers,e)}):this.resolvers=(0,q.mergeDeep)(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,t.__awaiter)(this,arguments,void 0,function(e){var r=e.document,n=e.remoteResult,i=e.context,a=e.variables,o=e.onlyRunForcedResolvers,s=void 0!==o&&o;return(0,t.__generator)(this,function(e){return r?[2,this.resolveDocument(r,n.data,i,a,this.fragmentMatcher,s).then(function(e){return(0,t.__assign)((0,t.__assign)({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,o.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,a.removeClientSetsFromDocument)(e)},e.prototype.prepareContext=function(e){var r=this.cache;return(0,t.__assign)((0,t.__assign)({},e),{cache:r,getCacheKey:function(e){return r.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,t.__awaiter)(this,arguments,void 0,function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),(0,t.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,r)||{},this.prepareContext(n),r).then(function(e){return(0,t.__assign)((0,t.__assign)({},r),e.exportedVariables)})]:[2,(0,t.__assign)({},r)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,j.visit)(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 j.BREAK}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,a.buildQueryFromSelectionSet)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,r){return(0,t.__awaiter)(this,arguments,void 0,function(e,r,n,i,a,o){var s,u,f,h,p,d,v,y,m,g;return void 0===n&&(n={}),void 0===i&&(i={}),void 0===a&&(a=function(){return!0}),void 0===o&&(o=!1),(0,t.__generator)(this,function(b){return s=(0,l.getMainDefinition)(e),u=(0,l.getFragmentDefinitions)(e),f=(0,c.createFragmentMap)(u),h=this.collectSelectionsToResolve(s,f),d=(p=s.operation)?p.charAt(0).toUpperCase()+p.slice(1):"Query",v=this,y=v.cache,m=v.client,g={fragmentMap:f,context:(0,t.__assign)((0,t.__assign)({}
186,n),{cache:y,client:m}),variables:i,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},selectionsToResolve:h,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(s.selectionSet,!1,r,g).then(function(e){return{result:e,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,n,i,a){return(0,t.__awaiter)(this,void 0,void 0,function(){var s,c,u,l,f,h=this;return(0,t.__generator)(this,function(p){return s=a.fragmentMap,c=a.context,u=a.variables,l=[i],f=function(e){return(0,t.__awaiter)(h,void 0,void 0,function(){var f,h;return(0,t.__generator)(this,function(t){return(n||a.selectionsToResolve.has(e))&&(0,o.shouldInclude)(e,u)?(0,m.isField)(e)?[2,this.resolveField(e,n,i,a).then(function(t){var r;void 0!==t&&l.push(((r={})[(0,m.resultKeyNameFromField)(e)]=t,r))})]:((0,m.isInlineFragment)(e)?f=e:(f=s[e.name.value],(0,r.invariant)(f,21,e.name.value)),f&&f.typeCondition&&(h=f.typeCondition.name.value,a.fragmentMatcher(i,h,c)))?[2,this.resolveSelectionSet(f.selectionSet,n,i,a).then(function(e){l.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(f)).then(function(){return(0,q.mergeDeepArray)(l)})]})})},e.prototype.resolveField=function(e,r,n,i){return(0,t.__awaiter)(this,void 0,void 0,function(){var a,o,s,c,u,l,f,h,p,d=this;return(0,t.__generator)(this,function(t){return n?(a=i.variables,c=(o=e.name.value)!==(s=(0,m.resultKeyNameFromField)(e)),l=Promise.resolve(u=n[s]||n[o]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=n.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[c?o:s])&&(l=Promise.resolve(K.withValue(this.cache,p,[n,(0,m.argumentsObjectFromField)(e,a),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(t){if(void 0===t&&(t=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&&(i.exportedVariables[e.value.value]=t)})}),!e.selectionSet||null==t)return t;var n,a,o=null!=(a=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&a;return Array.isArray(t)?d.resolveSubSelectedArray(e,r||o,t,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,r||o,t,i):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 n=function(e){return!Array.isArray(e)},i=this.selectionsToResolveCache;return function e(a){if(!i.has(a)){var o=new Set;i.set(a,o),(0,j.visit)(a,{Directive:function(e,t,r,i,a){"client"===e.name.value&&a.forEach(function(e){n(e)&&L(e)&&o.add(e)})},FragmentSpread:function(i,a,s,c,u){var l=t[i.name.value];(0,r.invariant)(l,22,i.name.value);var f=e(l);f.size>0&&(u.forEach(function(e){n(e)&&L(e)&&o.add(e)}),o.add(i),f.forEach(function(e){o.add(e)}))}})}return i.get(a)}(e)},e}();e.s(["LocalState",0,U],50968)},22479,e=>{"use strict";var t=e.i(89280),r=e.i(24669),n=e.i(86384),i=e.i(15301),a=e.i(56776),o=e.i(26452);function s(e){return!!e.directives&&e.directives.some(c)}function c(e){return"nonreactive"===e.name.value}e.s(["equalByQuery",0,function(e,c,u,l){var f=c.data,h=(0,t.__rest)(c,["data"]),p=u.data,d=(0,t.__rest)(u,["data"]);return(0,r.default)(h,d)&&function e(t,i,c,u){if(i===c)return!0;var l=new Set;return t.selections.every(function(t){if(l.has(t)||(l.add(t),!(0,o.shouldInclude)(t,u.variables)||s(t)))return!0;if((0,a.isField)(t)){var f=(0,a.resultKeyNameFromField)(t),h=i&&i[f],p=c&&c[f],d=t.selectionSet;if(!d)return(0,r.default)(h,p);var v=Array.isArray(h),y=Array.isArray(p);if(v!==y)return!1;if(v&&y){var m=h.length;if(p.length!==m)return!1;for(var g=0;g<m;++g)if(!e(d,h[g],p[g],u))return!1;return!0}return e(d,h,p,u)}var b=(0,n.getFragmentFromSelection)(t,u.fragmentMap);if(b)return!!s(b)||e(b.selectionSet,i,c,u)})}((0,i.getMainDefinition)(e).selectionSet,f,p,{fragmentMap:(0,n.createFragmentMap)((0,i.getFragmentDefinitions)(e)),variables:l})}])},76810,43772,e=>{"use strict";(t=r||(r={}))[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetch
186More=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error",e.s(["NetworkStatus",0,r,"isNetworkRequestInFlight",0,function(e){return!!e&&e<7}],76810);var t,r,n=Object.prototype.toString;e.s(["cloneDeep",0,function(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);return 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 a=Object.create(Object.getPrototypeOf(t));return r.set(t,a),Object.keys(t).forEach(function(n){a[n]=e(t[n],r)}),a;default:return t}}(e)}],43772)},33879,e=>{"use strict";var t=e.i(89280);e.i(68681);var r=e.i(30101),n=Symbol(),i=function(e){var n=(0,t.__spreadArray)((0,t.__spreadArray)((0,t.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&n.push(e.networkError),n.map(function(e){return(0,r.isNonNullObject)(e)&&e.message||"Error message not found."}).join("\n")},a=function(e){function r(n){var a=n.graphQLErrors,o=n.protocolErrors,s=n.clientErrors,c=n.networkError,u=n.errorMessage,l=n.extraInfo,f=e.call(this,u)||this;return f.name="ApolloError",f.graphQLErrors=a||[],f.protocolErrors=o||[],f.clientErrors=s||[],f.networkError=c||null,f.message=u||i(f),f.extraInfo=l,f.cause=(0,t.__spreadArray)((0,t.__spreadArray)((0,t.__spreadArray)([c],a||[],!0),o||[],!0),s||[],!0).find(function(e){return!!e})||null,f.__proto__=r.prototype,f}return(0,t.__extends)(r,e),r}(Error);e.s(["ApolloError",0,a,"PROTOCOL_ERRORS_SYMBOL",0,n,"graphQLResultHasProtocolErrors",0,function(e){return!!e.extensions&&Array.isArray(e.extensions[n])},"isApolloError",0,function(e){return e.hasOwnProperty("graphQLErrors")}])},62979,71393,e=>{"use strict";e.i(68681);var t=e.i(5578),r=e.i(25945),n=e.i(78592),i=e.i(18693),a=e.i(13957),o=e.i(69547);function s(e,t){return t?t(e):r.Observable.of()}function c(e){return"function"==typeof e?new l(e):e}function u(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return r.Observable.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,i){var a=c(n),o=c(i||new e(s));return Object.assign(new e(u(a)&&u(o)?function(e){return t(e)?a.request(e)||r.Observable.of():o.request(e)||r.Observable.of()}:function(e,n){return t(e)?a.request(e,n)||r.Observable.of():o.request(e,n)||r.Observable.of()}),{left:a,right:o})},e.execute=function(e,t){return e.request((0,i.createOperation)(t.context,(0,a.transformOperation)((0,n.validateOperation)(t))))||r.Observable.of()},e.concat=function(n,i){var a=c(n);if(u(a))return!1!==globalThis.__DEV__&&t.invariant.warn(47,a),a;var o=c(i);return Object.assign(new e(u(o)?function(e){return a.request(e,function(e){return o.request(e)||r.Observable.of()})||r.Observable.of()}:function(e,t){return a.request(e,function(e){return o.request(e,t)||r.Observable.of()})||r.Observable.of()}),{left:a,right:o})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,r){throw(0,t.newInvariantError)(48)},e.prototype.onError=function(e,r){if(!1!==globalThis.__DEV__&&(0,o.warnDeprecated)("onError",function(){!1!==globalThis.__DEV__&&t.invariant.warn(49)}),r&&r.error)return r.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&t.invariant.warn(50),this.onError=e,this},e}();e.s(["ApolloLink",0,l],62979);var f=l.execute;e.s(["execute",0,f],71393)},71596,41969,49429,e=>{"use strict";var t,r=e.i(89280),n=e.i(62979);e.i(68681);var i=e.i(5578),a=e.i(25945),o=e.i(26452),s=e.i(97107),c=e.i(92449),u=e.i(3285),l=e.i(64657),f=e.i(2088),h=e.i(67757),p={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return v(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=m("(",v(e.variableDefinitions,", "),")"),i=v(e.directives," "),a=e.selectionSet;return r||i||n||"query"!==t?v([t,v([r,n]),i,a]," "):a},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+m(" = ",n)+m(" ",v(i," "))},SelectionSet:function(e){return y(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,a=e.selectionSet,o=m("",t,": ")+r,s=o+m("(",v(n,", "),")");return s.length>80&&(s=o+m("(\n",g(v(n,"\n")),"\n)")),v([s,v(i," "),a]," ")},Argument:function(e){return e.name+": "+e.value}
vendor: 2,269 bytes, line 186
186,FragmentSpread:function(e){return"..."+e.name+m(" ",v(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return v(["...",m("on ",t),v(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,a=e.selectionSet;return"fragment ".concat(t).concat(m("(",v(n,", "),")")," ")+"on ".concat(r," ").concat(m("",v(i," ")," "))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,h.printBlockString)(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"["+v(e.values,", ")+"]"},ObjectValue:function(e){return"{"+v(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+m("(",v(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:d(function(e){var t=e.directives,r=e.operationTypes;return v(["schema",v(t," "),y(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:d(function(e){return v(["scalar",e.name,v(e.directives," ")]," ")}),ObjectTypeDefinition:d(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return v(["type",t,m("implements ",v(r," & ")),v(n," "),y(i)]," ")}),FieldDefinition:d(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(_(r)?m("(\n",g(v(r,"\n")),"\n)"):m("(",v(r,", "),")"))+": "+n+m(" ",v(i," "))}),InputValueDefinition:d(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return v([t+": "+r,m("= ",n),v(i," ")]," ")}),InterfaceTypeDefinition:d(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return v(["interface",t,m("implements ",v(r," & ")),v(n," "),y(i)]," ")}),UnionTypeDefinition:d(function(e){var t=e.name,r=e.directives,n=e.types;return v(["union",t,v(r," "),n&&0!==n.length?"= "+v(n," | "):""]," ")}),EnumTypeDefinition:d(function(e){var t=e.name,r=e.directives,n=e.values;return v(["enum",t,v(r," "),y(n)]," ")}
186),EnumValueDefinition:d(function(e){return v([e.name,v(e.directives," ")]," ")}),InputObjectTypeDefinition:d(function(e){var t=e.name,r=e.directives,n=e.fields;return v(["input",t,v(r," "),y(n)]," ")}),DirectiveDefinition:d(function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(_(r)?m("(\n",g(v(r,"\n")),"\n)"):m("(",v(r,", "),")"))+(n?" repeatable":"")+" on "+v(i," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return v(["extend schema",v(t," "),y(r)]," ")},ScalarTypeExtension:function(e){return v(["extend scalar",e.name,v(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return v(["extend type",t,m("implements ",v(r," & ")),v(n," "),y(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return v(["extend interface",t,m("implements ",v(r," & ")),v(n," "),y(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return v(["extend union",t,v(r," "),n&&0!==n.length?"= "+v(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return v(["extend enum",t,v(r," "),y(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return v(["extend input",t,v(r," "),y(n)]," ")}};function d(e){return function(t){return v([t.description,e(t)],"\n")}}function v(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))?t:""}function y(e){return m("{\n",g(v(e,"\n")),"\n}")}function m(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function g(e){return m(" ",e.replace(/\n/g,"\n "))}function b(e){return -1!==e.indexOf("\n")}function _(e){return null!=e&&e.some(b)}var E=e.i(36904),k=e.i(6044),T=e.i(99523),O=Object.assign(function(e){var r=t.get(e);return r||(r=(0,f.visit)(e,{leave:p}),t.set(e,r)),r},{reset:function(){t=new E.AutoCleanedWeakCache(k.cacheSizes.print||2e3)}});O.reset(),!1!==globalThis.__DEV__&&(0,T.registerGlobalCache)("print",function(){return t?t.size:0}),e.s(["print",0,O],41969);var w={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},S=function(e,t){return t(e)};function D(e){return new a.Observable(function(t){t.error(e)})}var N=e.i(22001),I=e.i(15301),R=e.i(6699),x=e.i(56776),A=e.i(86384),F=e.i(42419),C={kind:R.Kind.FIELD,name:{kind:R.Kind.NAME,value:"__typename"}};function P(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 M(e,t){(0,I.checkDocument)(t);for(var n,a,o,s=P(""),c=P(""),u=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,F.isArray)(r)){if(r.kind===R.Kind.OPERATION_DEFINITION)return s(r.name&&r.name.value);if(r.kind===R.Kind.FRAGMENT_DEFINITION)return c(r.name.value)}return!1!==globalThis.__DEV__&&i.invariant.error(124),null},l=0,h=t.definitions.length-1;h>=0;--h)t.definitions[h].kind===R.Kind.OPERATION_DEFINITION&&++l;var p=(n=new Map,a=new Map,e.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&a.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&a.size&&a.forEach(function(r,n){n(e)&&(t=r)}),t}),d=function(e){return(0,F.isNonEmptyArray)(e)&&e.map(p).some(function(e){return e&&e.remove})},v=new Map,y=!1,m={enter:function(e){if(d(e.directives))return y=!0,null}},g=(0,f.visit)(t,{Field:m,InlineFragment:m,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var a=u(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(d(e.directives))return y=!0,null;var a=u(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){v.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===v.get(JSON.stringify(n))?e:l>0&&e.selectionSet.selections.every(function(e){return e.kind===R.Kind.FIELD&&"__typename"===e.name.value})?(c(e.name.value).removed=!0,y=!0,null):void 0}},Directive:{leave:function(e){if(p(e))return y=!0,null}}});if(!y)return t;var b=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){b(c(t)).transitiveVars.forEac
186h(function(t){e.transitiveVars.add(t)})})),e},_=new Set;g.definitions.forEach(function(e){e.kind===R.Kind.OPERATION_DEFINITION?b(s(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){_.add(e)}):e.kind!==R.Kind.FRAGMENT_DEFINITION||0!==l||c(e.name.value).removed||_.add(e.name.value)}),_.forEach(function(e){b(c(e)).fragmentSpreads.forEach(function(e){_.add(e)})});var E={enter:function(e){var t;if(t=e.name.value,!_.has(t)||c(t).removed)return null}};return o=(0,f.visit)(g,{FragmentSpread:E,FragmentDefinition:E,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=b(s(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.__assign)((0,r.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===R.Kind.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,I.getOperationDefinition)(o)||(0,I.getFragmentDefinition)(o),(0,A.createFragmentMap)((0,I.getFragmentDefinitions)(o)))?o:null}var j=Object.assign(function(e){return(0,f.visit)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==R.Kind.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,x.isField)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,x.isField)(n)&&n.directives&&n.directives.some(function(e){return"export"===e.name.value})))return(0,r.__assign)((0,r.__assign)({},e),{selections:(0,r.__spreadArray)((0,r.__spreadArray)([],i,!0),[C],!1)})}}}})},{added:function(e){return e===C}});function L(e){return(0,I.checkDocument)(e),M([{test:function(e){return"client"===e.name.value},remove:!0}],e)}e.s(["addNonReactiveToNamedFragments",0,function(e){return(0,I.checkDocument)(e),(0,f.visit)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,r.__assign)((0,r.__assign)({},e),{directives:(0,r.__spreadArray)((0,r.__spreadArray)([],e.directives||[],!0),[{kind:R.Kind.DIRECTIVE,name:{kind:R.Kind.NAME,value:"nonreactive"}}
186],!1)})}})},"addTypenameToDocument",0,j,"buildQueryFromSelectionSet",0,function(e){return"query"===(0,I.getMainDefinition)(e).operation?e:(0,f.visit)(e,{OperationDefinition:{enter:function(e){return(0,r.__assign)((0,r.__assign)({},e),{operation:"query"})}}})},"removeClientSetsFromDocument",0,L,"removeDirectivesFromDocument",0,M],49429);var q=(0,N.maybe)(function(){return fetch}),V=function(e){void 0===e&&(e={});var t=e.uri,h=void 0===t?"/graphql":t,p=e.fetch,d=e.print,v=void 0===d?S:d,y=e.includeExtensions,m=e.preserveHeaderCase,g=e.useGETForQueries,b=e.includeUnusedVariables,_=void 0!==b&&b,E=(0,r.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,l.checkFetcher)(p||q);var k={http:{includeExtensions:y,preserveHeaderCase:m},options:E.fetchOptions,credentials:E.credentials,headers:E.headers};return new n.ApolloLink(function(e){var t,n,l,d,y,m,b=(0,c.selectURI)(e,h),E=e.getContext(),T={};if(E.clientAwareness){var S=E.clientAwareness,R=S.name,x=S.version;R&&(T["apollographql-client-name"]=R),x&&(T["apollographql-client-version"]=x)}var A=(0,r.__assign)((0,r.__assign)({},T),E.headers),F={http:E.http,options:E.fetchOptions,credentials:E.credentials,headers:A};if((0,o.hasDirectives)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.invariant.warn(52);var C=L(e.query);if(!C)return D(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 P=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a={},o={};n.forEach(function(e){a=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},a),e.options),{headers:(0,r.__assign)((0,r.__assign)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),o=(0,r.__assign)((0,r.__assign)({},o),e.http)}),a.headers&&(a.headers=function(e,t){if(!t){var r={};
186return 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}(a.headers,o.preserveHeaderCase));var s=e.operationName,c=e.extensions,u=e.variables,l=e.query,f={operationName:s,variables:u};return o.includeExtensions&&(f.extensions=c),o.includeQuery&&(f.query=t(l,O)),{options:a,body:f}}(e,v,w,k,F),M=P.options,j=P.body;j.variables&&!_&&(t=j.variables,n=e.query,l=(0,r.__assign)({},t),d=new Set(Object.keys(t)),(0,f.visit)(n,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&d.delete(e.name.value)}}),d.forEach(function(e){delete l[e]}),j.variables=l),!M.signal&&"u">typeof AbortController&&(M.signal=(m=new AbortController).signal);var V="OperationDefinition"===(y=(0,I.getMainDefinition)(e.query)).kind&&"subscription"===y.operation,K=(0,o.hasDirectives)(["defer"],e.query);if(g&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(M.method="GET"),K||V){M.headers=M.headers||{};var Q="multipart/mixed;";V&&K&&!1!==globalThis.__DEV__&&i.invariant.warn(53),V?Q+="boundary=graphql;subscriptionSpec=1.0,application/json":K&&(Q+="deferSpec=20220824,application/json"),M.headers.accept=Q}if("GET"===M.method){var z=function(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=(0,s.serializeFetchParameter)(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var a=void 0;try{a=(0,s.serializeFetchParameter)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",a)}var o="",c=e,u=e.indexOf("#");-1!==u&&(o=e.substr(u),c=e.substr(0,u));var l=-1===c.indexOf("?")?"?":"&";return{newURI:c+l+r.join("&")+o}}(b,j),U=z.newURI,B=z.parseError;if(B)return D(B);b=U}else try{M.body=(0,s.serializeFetchParameter)(j,"Payload")}catch(e){return D(e)}return new a.Observable(function(t){var r=p||(0,N.maybe)(function(){return fetch})||q,n=t.next.bind(t);return r(b,M).then(function(t){e.setContext({response:t});var r,i=null==(r=t.headers)?void 0:r.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?(0,u.readMultipartBody)(t,n):(0,u.parseAndCheckHttpResponse)(e)(t).then(n)}).then(function(){m=void 0,t.complete()}).catch(function(e){m=void 0,(0,u.handleError)(e,t)}),function(){m&&m.abort()}})})},K=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,V(t).request)||this;return r.options=t,r}return(0,r.__extends)(t,e),t}(n.ApolloLink);e.s(["HttpLink",0,K],71596)},3285,13959,2024,64657,e=>{"use strict";var t=e.i(89280),r=e.i(35321),n=e.i(22017),i=e.i(33879),a=e.i(30101),o=e.i(42419),s=Object.prototype.hasOwnProperty;function c(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new l,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])},l=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=a.isNonNullObject,this.pastCopies=new Set}return e.prototype.merge=function(e,r){for(var n=this,i=[],o=2;o<arguments.length;o++)i[o-2]=arguments[o];return(0,a.isNonNullObject)(r)&&(0,a.isNonNullObject)(e)?(Object.keys(r).forEach(function(a){if(s.call(e,a)){var o=e[a];if(r[a]!==o){var c=n.reconciler.apply(n,(0,t.__spreadArray)([e,r,a],i,!1));c!==o&&((e=n.shallowCopyForMerge(e))[a]=c)}}else(e=n.shallowCopyForMerge(e))[a]=r[a]}),e):r},e.prototype.shallowCopyForMerge=function(e){return(0,a.isNonNullObject)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,t.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function f(e){return"incremental"in e}function h(e){return(0,a.isNonNullObject)(e)&&"payload"in e}e.s(["DeepMerger",0,l,"mergeDeep",0,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c(e)},"mergeDeepArray",0,c],13959),e.s(["isApolloPayloadResult",0,h,"isExecutionPatchIncrementalResult",0,f,"isExecutionPatchResult",0,function(e){return f(e)||"hasNext"in e&&"data"in e},"mergeIncrementalData",0,function(e,t){var r=e,n=new l;return f(t)&&(0,o.isNonEmptyArray)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,a=i.length-1;a>=0;--a){var o=i[a],s=isNaN(+o)?{}:[];s[o]=t,t=s}
186r=n.merge(r,t)}),r}],2024);var p=Object.prototype.hasOwnProperty;function d(e,t){e.status>=300&&(0,n.throwServerError)(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}}e.s(["handleError",0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)},"parseAndCheckHttpResponse",0,function(e){return function(t){return t.text().then(function(e){return d(t,e)}).then(function(r){return Array.isArray(r)||p.call(r,"data")||p.call(r,"errors")||(0,n.throwServerError)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}},"readMultipartBody",0,function(e,n){return(0,t.__awaiter)(this,void 0,void 0,function(){var a,o,s,c,u,l,f,p,v,y,m,g,b,_,E,k,T,O,w,S,D,N,I;return(0,t.__generator)(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.");a=new TextDecoder("utf-8"),o=null==(I=e.headers)?void 0:I.get("content-type"),s="boundary=",c=(null==o?void 0:o.includes(s))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(s))+s.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",u="\r\n--".concat(c),l="",f=(0,r.responseIterator)(e),p=!0,R.label=1;case 1:if(!p)return[3,3];return[4,f.next()];case 2:for(y=(v=R.sent()).value,m=v.done,g="string"==typeof y?y:a.decode(y),b=l.length-u.length+1,p=!m,l+=g,_=l.indexOf(u,b);_>-1;){if(E=void 0,E=(D=[l.slice(0,_),l.slice(_+u.length)])[0],l=D[1],k=E.indexOf("\r\n\r\n"),(T=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}(E.slice(0,k))["content-type"])&&-1===T.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(O=E.slice(k)){if(Object.keys(w=d(e,O)).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)if(h(w)){if(S={},"payload"in w){if(1===Object.keys(w).length&&null===w.payload)return[2];S=(0,t.__assign)({},w.payload)}"errors"in w&&(S=(0,t.__assign)((0,t.__assign)({},S),{extensions:(0,t.__assign)((0,t.__assign)({},"extensions"in S?S.extensions:null),((N={})[i.PROTOCOL_ERRORS_SYMBOL]=w.errors,N))})),n(S)}else n(w);else if(1===Object.keys(w).length&&"hasNext"in w&&!w.hasNext)return[2]}_=l.indexOf(u)}return[3,1];case 3:return[2]}})})}],3285),e.i(68681);var v=e.i(5578);e.s(["checkFetcher",0,function(e){if(!e&&"u"<typeof fetch)throw(0,v.newInvariantError)(51)}],64657)},35321,22017,e=>{"use strict";var t=e.i(23289);function r(e){var r={next:function(){return e.read()}};return t.canUseAsyncIteratorSymbol&&(r[Symbol.asyncIterator]=function(){return this}),r}e.s(["responseIterator",0,function(e){var n,i,a,o,s,c,u=e;if(e.body&&(u=e.body),n=u,t.canUseAsyncIteratorSymbol&&n[Symbol.asyncIterator])return a=u[Symbol.asyncIterator](),(i={next:function(){return a.next()}})[Symbol.asyncIterator]=function(){return this},i;if(u.getReader)return r(u.getReader());if(u.stream)return r(u.stream().getReader());if(u.arrayBuffer)return o=u.arrayBuffer(),s=!1,c={next:function(){return s?Promise.resolve({value:void 0,done:!0}):(s=!0,new Promise(function(e,t){o.then(function(t){e({value:t,done:!1})}).catch(t)}))}},t.canUseAsyncIteratorSymbol&&(c[Symbol.asyncIterator]=function(){return this}),c;if(u.pipe)return function(e){var r=null,n=null,i=!1,a=[],o=[];function s(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}a.push(e)}}function c(e){n=e,o.slice().forEach(function(t){t[1](e)}),r&&r()}function u(){i=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),r&&r()}r=function(){r=null,e.removeListener("data",s),e.removeListener("error",c),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",s),e.on("error",c),e.on("end",u),e.on("finish",u),e.on("close",u);var l={next:function(){return new Promise(function(e,t){return n?t(n):a.length?e({value:a.shift(),done:!1}):i?e({value:void 0,done:!0}):void o.push([e,t])})}};return t.canUseAsyncIteratorSymbol&&(l[Symbol.asyncIterator]=function(){return this}),l}(u);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}],35321),e.s(["throwServerError",0,function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}],22017)},97107,92449,e=>{"use strict";e.i(68681);var t=e.i(5578);e.s(["serializeFetchParameter",0,function(e,r){var n;try{n=JSON.stringify(e)}catch(e){var i=(0,t.newInvariantError)(54,r,e.message);throw i.parseError=e,i}return n}],97107),e.s(["selectURI",0,function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")}],92449)},13957,e=>{"use strict";var t=e.i(15301);e.s(["transformOperation",0,function(e){var r={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return r.operationName||(r.operationName="string"!=typeof r.query?(0,t.getOperationName)(r.query)||void 0:""),r}])},78592,18693,e=>{"use strict";e.i(68681);var t=e.i(5578);e.s(["validateOperation",0,function(e){for(var r=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];if(0>r.indexOf(a))throw(0,t.newInvariantError)(58,a)}return e}],78592);var r=e.i(89280);e.s(["createOperation",0,function(e,t){var n=(0,r.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,r.__assign)((0,r.__assign)({},n),e(n)):(0,r.__assign)((0,r.__assign)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.__assign)({},n)}}),t}],18693)},21805,e=>{"use strict";var t=e.i(11818),r=e.i(23289);e.i(68681);var n=e.i(5578),i=r.canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";e.s(["getApolloContext",0,function(){(0,n.invariant)("createContext"in t,69);var e=t.createContext[i];return e||(Object.defineProperty(t.createContext,i,{value:e=t.createContext({}
186),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}])},32171,e=>{"use strict";var t=e.i(89280);e.i(68681);var r=e.i(5578),n=e.i(11818),i=e.i(32854),a=e.i(24669),o=e.i(69570),s=e.i(21805),c=e.i(33879),u=e.i(57828),l=e.i(76810),f=e.i(60601),h=e.i(98926),p=e.i(27371),d=e.i(42419),v=e.i(11922),y=e.i(69547);function m(e,t,r,i){void 0===i&&(i="Please remove this option.");var a=n.useRef(!1);!1!==globalThis.__DEV__&&t in e&&!a.current&&((0,y.warnRemovedOption)(e,t,r,i),a.current=!0)}var g=Symbol.for("apollo.hook.wrappers"),b=Object.prototype.hasOwnProperty;function _(){}var E=Symbol();function k(e,o){!1!==globalThis.__DEV__&&(m(o,"canonizeResults","useQuery"),m(o,"partialRefetch","useQuery"),m(o,"defaultOptions","useQuery","Pass the options directly to the hook instead."),m(o,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),m(o,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var c,p,d,v,g,k,R,x,A,F,C,P,M,j,L,q,V,K,Q,z,U,B,W,G,Y,J,H,$,X,Z,ee,et,er,en,ei,ea,eo,es,ec,eu,el,ef,eh,ep,ed,ev=(c=e,p=o,F=(0,h.useApolloClient)(p.client),P=!!(C=n.useContext((0,s.getApolloContext)()).renderPromises),M=F.disableNetworkFetches,j=!1!==p.ssr&&!p.skip,L=p.partialRefetch,q=(d=F,v=c,g=p,k=P,void 0===g&&(g={}),R=g.skip,x=(g.ssr,g.onCompleted,g.onError,g.defaultOptions),A=(0,t.__rest)(g,["skip","ssr","onCompleted","onError","defaultOptions"]),function(e){var t=Object.assign(A,{query:v});return k&&("network-only"===t.fetchPolicy||"cache-and-network"===t.fetchPolicy)&&(t.fetchPolicy="cache-first"),t.variables||(t.variables={}),R?(t.initialFetchPolicy=t.initialFetchPolicy||t.fetchPolicy||S(x,d.defaultOptions),t.fetchPolicy="standby"):t.fetchPolicy||(t.fetchPolicy=(null==e?void 0:e.options.initialFetchPolicy)||S(x,d.defaultOptions)),t}),Q=(K=(V=function(e,r,i,a,o){function s(t){var n;return(0,f.verifyDocumentType)(r,f.DocumentType.Query),{client:e,query:r,observable:a&&a.getSSRObservable(o())||u.ObservableQuery.inactiveOnCreation.withValue(!a,function(){return(0,y.muteDeprecations)(["canonizeResults","partialRefetch"],function(){return e.watchQuery(T(void 0,e,i,o()))})}),resultData:{previousData:null==(n=null==t?void 0:t.resultData.current)?void 0:n.data}}}var c=n.useState(s),l=c[0],h=c[1];function p(e){Object.assign(l.observable,((r={})[E]=e,r));var r,n,i=l.resultData;h((0,t.__assign)((0,t.__assign)({},l),{query:e.query,resultData:Object.assign(i,{previousData:(null==(n=i.current)?void 0:n.data)||i.previousData,current:void 0})}))}if(e!==l.client||r!==l.query){var d=s(l);return h(d),[d,p]}return[l,p]}(F,c,p,C,q))[0]).observable,z=K.resultData,U=V[1],B=q(Q),W=z,G=Q,Y=F,J=p,H=B,G[E]&&!(0,a.equal)(G[E],H)&&(G.reobserve(T(G,Y,J,H)),W.previousData=(null==($=W.current)?void 0:$.data)||W.previousData,W.current=void 0),G[E]=H,X=n.useMemo(function(){var e;return{refetch:(e=Q).refetch.bind(e),reobserve:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&r.invariant.warn(83),e.reobserve.apply(e,t)},fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[Q]),Z=Q,ee=C,et=j,ee&&et&&(ee.registerSSRObservable(Z),Z.getCurrentResult().loading&&ee.addObservableQueryPromise(Z)),{result:(er=z,en=Q,ei=F,ea=p,eo=B,es=M,ec=L,eu=P,el={onCompleted:p.onCompleted||_,onError:p.onError||_},ef=n.useRef(el),n.useEffect(function(){ef.current=el}),eh=(eu||es)&&!1===ea.ssr&&!ea.skip?N:ea.skip||"standby"===eo.fetchPolicy?I:void 0,ep=er.previousData,ed=n.useMemo(function(){return eh&&D(eh,ep,en,ei)},[ei,en,eh,ep]),(0,i.useSyncExternalStore)(n.useCallback(function(e){if(eu)return function(){};var t=function(){var t=er.current,r=en.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,a.equal)(t.data,r.data)||O(r,er,en,ei,ec,e,ef.current)},r=function(i){if(n.current.unsubscribe(),n.current=en.resubscribeAfterError(t,r),!b.call(i,"graphQLErrors"))throw i;var o=er.current;(!o||o&&o.loading||!(0,a.equal)(i,o.error))&&O({data:o&&o.data,error:i,loading:!1,networkStatus:l.NetworkStatus.error},er,en,ei,ec,e,ef.current)},n={current:en.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[es,eu,en,er,ec,ei]),function(){return ed||w(er,en,ef.current,ec,ei)},function(){return ed||w(er,en,ef.current,ec,ei)})),obsQueryFields:X,observable:Q,resultData:z,client:F,onQueryExecuted:U}),ey=ev.result,em=ev.obsQueryFields;return n.useMemo(function(){return(0,t.__assign)((0,t.__assign)({},ey),em)},[ey,em])}function T(e,t,r,n){var i=[],a=t.defaultOptions.watchQuery;return a&&i.push(a),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,p.compact)(e&&e.options,n)),i.reduce(o.mergeOptions)}function O(e,n,i,a,o,s,u){var f,h,p,v=n.current;v&&v.data&&(n.previousData=v.data),!e.error&&(0,d.isNonEmptyArray)(e.errors)&&(e.error=new c.ApolloError({graphQLErrors:e.errors})),n.current=D((f=e,h=i,p=o,f.partial&&p&&!f.loading&&(!f.data||0===Object.keys(f.data).length)&&"cac
186he-only"!==h.options.fetchPolicy?(h.refetch(),(0,t.__assign)((0,t.__assign)({},f),{loading:!0,networkStatus:l.NetworkStatus.refetch})):f),n.previousData,i,a),s(),function(e,t,n){if(!e.loading){var i,a=(i=e,(0,d.isNonEmptyArray)(i.errors)?new c.ApolloError({graphQLErrors:i.errors}):i.error);Promise.resolve().then(function(){a?n.onError(a):e.data&&t!==e.networkStatus&&e.networkStatus===l.NetworkStatus.ready&&n.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&r.invariant.warn(e)})}}(e,null==v?void 0:v.networkStatus,u)}function w(e,t,r,n,i){return e.current||O(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function S(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null==(r=null==t?void 0:t.watchQuery)?void 0:r.fetchPolicy)||"cache-first"}function D(e,r,n,i){var a=e.data,o=(e.partial,(0,t.__rest)(e,["data","partial"]));return(0,t.__assign)((0,t.__assign)({data:a},o),{client:i,observable:n,variables:n.variables,called:e!==N&&e!==I,previousData:r})}var N=(0,v.maybeDeepFreeze)({loading:!0,data:void 0,error:void 0,networkStatus:l.NetworkStatus.loading}),I=(0,v.maybeDeepFreeze)({loading:!1,data:void 0,error:void 0,networkStatus:l.NetworkStatus.ready});e.s(["useQuery",0,function(e,t){var r,n,i;return void 0===t&&(t=Object.create(null)),((i=(n=(r=(0,h.useApolloClient)(t&&t.client).queryManager)&&r[g])&&n.useQuery)?i(k):k)(e,t)}],32171)},32854,e=>{"use strict";e.i(68681);var t=e.i(5578),r=e.i(11818),n=e.i(23289),i=!1,a=r.useSyncExternalStore||function(e,a,s){var c=a();!1===globalThis.__DEV__||i||c===a()||(i=!0,!1!==globalThis.__DEV__&&t.invariant.error(91));var u=r.useState({inst:{value:c,getSnapshot:a}}),l=u[0].inst,f=u[1];return n.canUseLayoutEffect?r.useLayoutEffect(function(){Object.assign(l,{value:c,getSnapshot:a}),o(l)&&f({inst:l})},[e,c,a]):Object.assign(l,{value:c,getSnapshot:a}),r.useEffect(function(){return o(l)&&f({inst:l}),e(function(){o(l)&&f({inst:l})})},[e]),c};function o(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}e.s(["useSyncExternalStore",0,a])},60601,98926,e=>{"use strict";e.i(68681);var t,r,n,i=e.i(5578),a=e.i(36904),o=e.i(6044),s=e.i(99523),c=e.i(69547);function u(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function l(e){(0,c.warnDeprecated)("parser",function(){!1!==globalThis.__DEV__&&i.invariant.warn(93)}),n||(n=new a.AutoCleanedWeakCache(o.cacheSizes.parser||1e3));var t,s,u=n.get(e);if(u)return u;(0,i.invariant)(!!e&&!!e.kind,94,e);for(var l=[],f=[],h=[],p=[],d=0,v=e.definitions;d<v.length;d++){var y=v[d];if("FragmentDefinition"===y.kind){l.push(y);continue}if("OperationDefinition"===y.kind)switch(y.operation){case"query":f.push(y);break;case"mutation":h.push(y);break;case"subscription":p.push(y)}}(0,i.invariant)(!l.length||f.length||h.length||p.length,95),(0,i.invariant)(f.length+h.length+p.length<=1,96,e,f.length,p.length,h.length),s=f.length?r.Query:r.Mutation,f.length||h.length||(s=r.Subscription);var m=f.length?f:h.length?h:p;(0,i.invariant)(1===m.length,97,e,m.length);var g=m[0];t=g.variableDefinitions||[];var b={name:g.name&&"Name"===g.name.kind?g.name.value:"data",type:s,variables:t};return n.set(e,b),b}(t=r||(r={}))[t.Query=0]="Query",t[t.Mutation=1]="Mutation",t[t.Subscription=2]="Subscription",l.resetCache=function(){n=void 0},!1!==globalThis.__DEV__&&(0,s.registerGlobalCache)("parser",function(){return n?n.size:0}),e.s(["DocumentType",0,r,"verifyDocumentType",0,function(e,t){var r=(0,c.muteDeprecations)("parser",l,[e]),n=u(t),a=u(r.type);(0,i.invariant)(r.type===t,98,n,n,a)}],60601);var f=e.i(11818),h=e.i(21805);e.s(["useApolloClient",0,function(e){var t=f.useContext((0,h.getApolloContext)()),r=e||t.client;return(0,i.invariant)(!!r,78),r}],98926)},42419,e=>{"use strict";var t=Array.isArray;e.s(["isArray",0,t,"isNonEmptyArray",0,function(e){return Array.isArray(e)&&e.length>0}])},23289,e=>{"use strict";e.i(68681);var t=e.i(22001),r="ReactNative"==(0,t.maybe)(function(){return navigator.product}),n="function"==typeof WeakMap&&!(r&&!e.g.HermesInternal),i="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,o=a&&Symbol.asyncIterator,s="function"==typeof(0,t.maybe)(function(){return window.document.createElement}),c=(0,t.maybe)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,u=(s||r)&&!c;
186e.s(["canUseAsyncIteratorSymbol",0,o,"canUseLayoutEffect",0,u,"canUseSymbol",0,a,"canUseWeakMap",0,n,"canUseWeakSet",0,i])},27371,e=>{"use strict";e.s(["compact",0,function(){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}])},17548,66812,e=>{"use strict";var t=e.i(42419),r=e.i(2024);function n(e){var n=(0,t.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];return(0,r.isExecutionPatchIncrementalResult)(e)&&(0,t.isNonEmptyArray)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&n.push.apply(n,e.errors)}),n}e.s(["getGraphQLErrorsFromResult",0,n,"graphQLResultHasError",0,function(e){var r=n(e);return(0,t.isNonEmptyArray)(r)}],17548);var i=e.i(25945);e.s(["asyncMap",0,function(e,t,r){return new i.Observable(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function a(e,t){return function(r){if(e){var a=function(){return n.closed?0:e(r)};i=i.then(a,a).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var o={next:a(t,"next"),error:a(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(o);return function(){return s.unsubscribe()}})}],66812)},11922,e=>{"use strict";var t=e.i(30101);e.s(["maybeDeepFreeze",0,function(e){var r;return!1!==globalThis.__DEV__&&(r=new Set([e])).forEach(function(e){(0,t.isNonNullObject)(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(n){(0,t.isNonNullObject)(e[n])&&r.add(e[n])})}),e}])},69570,e=>{"use strict";var t=e.i(89280),r=e.i(27371);e.s(["mergeOptions",0,function(e,n){return(0,r.compact)(e,n,n.variables&&{variables:(0,r.compact)((0,t.__assign)((0,t.__assign)({},e&&e.variables),n.variables))})}])},30101,e=>{"use strict";e.s(["isNonNullObject",0,function(e){return null!==e&&"object"==typeof e}])},69547,83015,98173,4731,6775,e=>{"use strict";let t;var r,n=e.i(89280);let i=()=>Object.create(null),{forEach:a,slice:o}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class c{constructor(e=!0,t=i){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return a.call(e,e=>t=t.getChildTrie(e)),s.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 c(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)}}e.s(["Trie",0,c],83015);var u=e.i(44128);let l=null,f={},h=1;function p(e){try{return e()}catch(e){}}let d="@wry/context:Slot",v=p(()=>globalThis)||p(()=>e.g)||Object.create(null),y=v[d]||Array[d]||function(e){try{Object.defineProperty(v,d,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",h++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=l;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===f)break;return e!==l&&(l.slots[this.id]=t),!0}return l&&(l.slots[this.id]=f),!1}getValue(){if(this.hasValue())return l.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},a=l;l={parent:a,slots:i};try{return t.apply(n,r)}finally{l=a}}static bind(e){let t=l;return function(){let r=l;try{return l=t,e.apply(this,arguments)}finally{l=r}}}static noContext(e,t,r){if(!l)return e.apply(r,t);{let n=l;try{return l=null,e.apply(r,t)}finally{l=n}}}});e.s(["Slot",0,y],98173);let{bind:m,noContext:g}=y,b=new y,{hasOwnProperty:_}=Object.prototype,E=Array.from||function(e){let t=[];
186return e.forEach(e=>t.push(e)),t};function k(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let T=[];function O(e,t){if(!e)throw Error(t||"assertion failure")}function w(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function S(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class D{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,++D.count}peek(){if(1===this.value.length&&!R(this))return N(this),this.value[0]}recompute(e){var t,r,n;return O(!this.recomputing,"already recomputing"),N(this),R(this)?(t=this,r=e,P(t),b.withValue(t,I,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{k(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,R(n)||function(e){x(e,F)}(n)),S(t.value)):S(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,x(e,A),k(this))}dispose(){this.setDirty(),P(this),x(this,(e,t)=>{e.setDirty(),M(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=T.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(E(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),T.push(this.deps),this.deps=null)}}function N(e){let t=b.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),R(e)?A(t,e):F(t,e),t}function I(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&&!w(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 R(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}D.count=0;function x(e,t){let r=e.parents.size;if(r){let n=E(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function A(e,t){O(e.childValues.has(t)),O(R(t));let r=!R(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=T.pop()||new Set;e.dirtyChildren.add(t),r&&x(e,A)}function F(e,t){O(e.childValues.has(t)),O(!R(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):w(r,t.value)||e.setDirty(),C(e,t),R(e)||x(e,F)}function C(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(T.length<100&&T.push(r),e.dirtyChildren=null))}function P(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{M(e,r)}),e.forgetDeps(),O(null===e.dirtyChildren)}function M(e,t){t.parents.delete(e),e.childValues.delete(t),C(e,t)}let j={setDirty:!0,dispose:!0,forget:!0};function L(...e){return(t||(t=new c("function"==typeof WeakMap))).lookupArray(e)}e.s(["dep",0,function(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=b.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(k(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&_.call(j,r)?r:"setDirty";E(n).forEach(e=>e[i]()),t.delete(e),k(n)}},n}],4731);let q=new Set;e.s(["wrap",0,function(e,{max:t=65536,keyArgs:r,makeCacheKey:n=L,normalizeResult:i,subscribe:a,cache:o=u.StrongCache}=Object.create(null)){let s="function"==typeof o?new o(t,e=>e.dispose()):o,c=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=s.get(t);o||(s.set(t,o=new D(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>s.delete(t));let c=o.recompute(Array.prototype.slice.call(arguments));return s.set(t,o),q.add(s),b.hasValue()||(q.forEach(e=>e.clean()),q.clear()),c};function l(e){let t=e&&s.get(e);t&&t.setDirty()}function f(e){let t=e&&s.get(e);if(t)return t.peek()}function h(e){return!!e&&s.delete(e)}return Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:s}),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=h,c.forget=function(){return h(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}],6775),e.i(68681);
186var V=e.i(5578),K=e.i(65698),Q=Symbol.for("apollo.deprecations"),z=Symbol.for("apollo.deprecations.slot"),U=K.global,B=null!=(r=U[z])?r:U[z]=new y;function W(e,t){U[Q]||(B.getValue()||[]).includes(e)||t()}e.s(["muteDeprecations",0,function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return B.withValue.apply(B,(0,n.__spreadArray)([Array.isArray(e)?e:[e]],t,!1))},"warnDeprecated",0,W,"warnRemovedOption",0,function(e,t,r,n){void 0===n&&(n="Please remove this option."),W(t,function(){t in e&&!1!==globalThis.__DEV__&&V.invariant.warn(103,r,t,n)})}],69547)},68681,99849,22001,89840,83874,10125,5578,e=>{"use strict";var t,r=e.i(89280),n="Invariant Violation",i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,o=function(e){function t(r){void 0===r&&(r=n);var i=e.call(this,"number"==typeof r?n+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return i.framesToPop=1,i.name=n,a(i,t.prototype),i}return(0,r.__extends)(t,e),t}(Error);function s(e,t){if(!e)throw new o(t)}var c=["debug","log","warn","error","silent"],u=c.indexOf("log");function l(e){return function(){if(c.indexOf(e)>=u)return(console[e]||console.log).apply(console,arguments)}}(t=s||(s={})).debug=l("debug"),t.log=l("log"),t.warn=l("warn"),t.error=l("error");var f="3.14.1";function h(e){try{return e()}catch(e){}}e.s(["version",0,f],99849),e.s(["maybe",0,h],22001);let p=h(function(){return globalThis})||h(function(){return window})||h(function(){return self})||h(function(){return e.g})||h(function(){return h.constructor("return this")()});e.s(["default",0,p],89840);var d=new Map;function v(e){var t=d.get(e)||1;return d.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function y(e,t){void 0===t&&(t=0);var r=v("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}function m(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=E(i))||(t=k(i,r),r=[])}e.apply(void 0,[t].concat(r))}}e.s(["makeUniqueId",0,v],83874),e.s(["stringifyForDisplay",0,y],10125);var g=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||s(e,E(t,r)||k(t,r))},{debug:m(s.debug),log:m(s.log),warn:m(s.warn),error:m(s.error)}),b=Symbol.for("ApolloErrorMessageHandler_"+f);function _(e){if("string"==typeof e)return e;try{return y(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function E(e,t){if(void 0===t&&(t=[]),e)return p[b]&&p[b](e,t.map(_))}function k(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:f,message:e,args:t.map(_)})))}e.s(["invariant",0,g,"newInvariantError",0,function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new o(E(e,t)||k(e,t))}],5578),e.s([],68681)},26452,e=>{"use strict";e.i(68681);var t=e.i(5578),r=e.i(2088),n=e.i(6699);function i(e,t,n){var i=new Set(e),a=i.size;return(0,r.visit)(t,{Directive:function(e){if(i.delete(e.name.value)&&(!n||!i.size))return r.BREAK}}),n?!i.size:i.size<a}e.s(["getFragmentMaskMode",0,function(e){var r,i,a=null==(r=e.directives)?void 0:r.find(function(e){return"unmask"===e.name.value});if(!a)return"mask";var o=null==(i=a.arguments)?void 0:i.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&o&&(o.value.kind===n.Kind.VARIABLE?!1!==globalThis.__DEV__&&t.invariant.warn(109):o.value.kind!==n.Kind.STRING?!1!==globalThis.__DEV__&&t.invariant.warn(110):"migrate"!==o.value.value&&!1!==globalThis.__DEV__&&t.invariant.warn(111,o.value.value)),o&&"value"in o.value&&"migrate"===o.value.value)?"migrate":"unmask"},"hasClientExports",0,function(e){return e&&i(["client","export"],e,!0)},"hasDirectives",0,i,"shouldInclude",0,function(e,r){var n,i,a=e.directives;return!a||!a.length||(i=[],(n=a)&&n.length&&n.forEach(function(e){if("skip"===(r=e.name.value)||"include"===r){var r,n=e.arguments,a=e.name.value;(0,t.invariant)(n&&1===n.length,106,a);var o=n[0];(0,t.invariant)(o.name&&"if"===o.name.value,107,a);var s=o.value;(0,t.invariant)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),108,a),i.push({directive:e,ifArgument:o})}}),i).every(function(e){var n=e.directive,i=e.ifArgument,a=!1;return"Variable"===i.value.kind?(a=r&&r[i.value.name.value],(0,t.invariant)(void 0!==a,105,n.name.value)):a=i.value.value,"skip"===n.name.value?!a:a})}])},15301,2088,86384,62918,44128,36904,65698,6044,99523,28117,56776,e=>{"use strict";e.i(68681);var t,r=e.i(5578),n=e.i(30101),i=e.i(89280),a=e.i(28262),o=e.i(42341),s={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:[],Float
186Value:[],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"]},c=Object.freeze({});function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,n=void 0,i=Array.isArray(e),u=[e],l=-1,f=[],h=void 0,p=void 0,d=void 0,v=[],y=[],m=e;do{var g,b=++l===u.length,_=b&&0!==f.length;if(b){if(p=0===y.length?void 0:v[v.length-1],h=d,d=y.pop(),_){if(i)h=h.slice();else{for(var E={},k=0,T=Object.keys(h);k<T.length;k++){var O=T[k];E[O]=h[O]}h=E}for(var w=0,S=0;S<f.length;S++){var D=f[S][0],N=f[S][1];i&&(D-=w),i&&null===N?(h.splice(D,1),w++):h[D]=N}}l=n.index,u=n.keys,f=n.edits,i=n.inArray,n=n.prev}else{if(p=d?i?l:u[l]:void 0,null==(h=d?d[p]:m))continue;d&&v.push(p)}var I=void 0;if(!Array.isArray(h)){if(!(0,o.isNode)(h))throw Error("Invalid AST Node: ".concat((0,a.default)(h),"."));var R=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 a=r?e.leave:e.enter;if(a){if("function"==typeof a)return a;var o=a[t];if("function"==typeof o)return o}}}(t,h.kind,b);if(R){if((I=R.call(t,h,p,d,v,y))===c)break;if(!1===I){if(!b){v.pop();continue}}else if(void 0!==I&&(f.push([p,I]),!b))if((0,o.isNode)(I))h=I;else{v.pop();continue}}}void 0===I&&_&&f.push([p,h]),b?v.pop():(n={inArray:i,index:l,keys:u,edits:f,prev:n},u=(i=Array.isArray(h))?h:null!=(g=r[h.kind])?g:[],l=-1,f=[],d&&y.push(d),d=h)}while(void 0!==n)return 0!==f.length&&(m=f[f.length-1][1]),m}function l(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var i=t&&t[n];return(0,r.invariant)(i,114,n),i||null;default:return null}}function f(){}e.s(["BREAK",0,c,"visit",0,u],2088),e.s(["createFragmentMap",0,function(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t},"getFragmentFromSelection",0,l,"getFragmentQueryDocument",0,function(e,t){var n=t,a=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,r.newInvariantError)(112,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&a.push(e)}),void 0===n&&((0,r.invariant)(1===a.length,113,a.length),n=a[0].name.value),(0,i.__assign)((0,i.__assign)({},e),{definitions:(0,i.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})},"isFullyUnmaskedOperation",0,function(e){var t=!0;return u(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return c}}),t}],86384);let h="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},p="u">typeof WeakMap?WeakMap:Map,d="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:f,unregister:f}};class v{constructor(e=1/0,t=f){this.max=e,this.dispose=t,this.map=new p,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 h(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new d(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))}}function y(){}e.s(["WeakCache",0,v],62918);class m{constructor(e=1/0,t=y){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)}}e.s(["StrongCache",0,m],44128);var g=new WeakSet;function b(e){!(e.size<=(e.max||-1))&&(g.has(e)||(g.add(e),setTimeout(function(){e.clean(),g.delete(e)},100)))}var _=function(e,t){var r=new m(e,t);return r.set=function(e,t){var r=m.prototype.set.call(this,e,t);return b(this),r},r};e.s(["AutoCleanedStrongCache",0,_,"AutoCleanedWeakCache",0,function(e,t){var r=new v(e,t);return r.set=function(e,t){var r=v.prototype.set.call(this,e,t);return b(this),r},r}],36904);var E=e.i(89840);e.s(["global",()=>E.default],65698);var E=E,k=Symbol.for("apollo.cacheSize"),T=(0,i.__assign)({},E.default[k]);e.s(["cacheSizes",0,T],6044);var O={};function w(e,t){O[e]=t}var S=!1!==globalThis.__DEV__?function(){var e,t,r,n,a;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,T[t]||r]}
186)),sizes:(0,i.__assign)({print:null==(e=O.print)?void 0:e.call(O),parser:null==(t=O.parser)?void 0:t.call(O),canonicalStringify:null==(r=O.canonicalStringify)?void 0:r.call(O),links:function e(t){var r;return t?(0,i.__spreadArray)((0,i.__spreadArray)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(x):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:A(this.queryManager.documentTransform)}},null==(a=(n=this.cache).getMemoryInternals)?void 0:a.call(n))}}:void 0,D=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,i.__assign)((0,i.__assign)({},I.apply(this)),{addTypenameDocumentTransform:A(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:R(this.storeReader.executeSelectionSet),executeSubSelectedArray:R(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:R(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:R(null==e?void 0:e.findFragmentSpreads),lookup:R(null==e?void 0:e.lookup),transform:R(null==e?void 0:e.transform)}})}:void 0,N=!1!==globalThis.__DEV__?I:void 0;function I(){return{cache:{fragmentQueryDocuments:R(this.getFragmentDoc)}}}function R(e){return e&&"dirtyKey"in e?e.size:void 0}function x(e){return null!=e}function A(e){return(function e(t){return t?(0,i.__spreadArray)((0,i.__spreadArray)([R(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(x):[]})(e).map(function(e){return{cache:e}})}e.s(["getApolloCacheMemoryInternals",0,N,"getApolloClientMemoryInternals",0,S,"getInMemoryCacheMemoryInternals",0,D,"registerGlobalCache",0,w],99523);var F=Object.assign(function(e){return JSON.stringify(e,C)},{reset:function(){t=new _(T.canonicalStringify||1e3)}});function C(e,r){if(r&&"object"==typeof r){var n=Object.getPrototypeOf(r);if(n===Object.prototype||null===n){var i=Object.keys(r);if(i.every(P))return r;var a=JSON.stringify(i),o=t.get(a);if(!o){i.sort();var s=JSON.stringify(i);o=t.get(s)||i,t.set(a,o),t.set(s,o)}var c=Object.create(n);return o.forEach(function(e){c[e]=r[e]}),c}}return r}function P(e,t,r){return 0===t||r[t-1]<=e}function M(e,t,n,i){if("IntValue"===n.kind||"FloatValue"===n.kind)e[t.value]=Number(n.value);else if("BooleanValue"===n.kind||"StringValue"===n.kind)e[t.value]=n.value;else if("ObjectValue"===n.kind){var a={};n.fields.map(function(e){return M(a,e.name,e.value,i)}),e[t.value]=a}else if("Variable"===n.kind){var o=(i||{})[n.name.value];e[t.value]=o}else if("ListValue"===n.kind)e[t.value]=n.values.map(function(e){var r={};return M(r,t,e,i),r[t.value]});else if("EnumValue"===n.kind)e[t.value]=n.value;else if("NullValue"===n.kind)e[t.value]=null;else throw(0,r.newInvariantError)(123,t.value,n.kind)}!1!==globalThis.__DEV__&&w("canonicalStringify",function(){return t.size}),F.reset(),e.s(["canonicalStringify",0,F],28117);var j=["connection","include","skip","client","rest","export","nonreactive"],L=F,q=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;else{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(L(i),")")}var a=e;if(t){var o=L(t);a+="(".concat(o,")")}return r&&Object.keys(r).forEach(function(e){-1===j.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@".concat(e,"(").concat(L(r[e]),")"):a+="@".concat(e))}),a},{setStringify:function(e){var t=L;return L=e,t}});function V(e){return e.alias?e.alias.value:e.name.value}function K(e){return"Field"===e.kind}function Q(e){(0,r.invariant)(e&&"Document"===e.kind,115);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r.newInvariantError)(116,e.kind);return e});return(0,r.invariant)(t.length<=1,117,t.length),e}function z(e){return Q(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}e.s(["argumentsObjectFromField",0,function(e,t){if(e.arguments&&e.arguments.length){var r={};
186return e.arguments.forEach(function(e){return M(r,e.name,e.value,t)}),r}return null},"getStoreKeyName",0,q,"getTypenameFromResult",0,function e(t,r,n){for(var i,a=0,o=r.selections;a<o.length;a++){var s=o[a];if(K(s)){if("__typename"===s.name.value)return t[V(s)]}else i?i.push(s):i=[s]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,u=i;c<u.length;c++){var s=u[c],f=e(t,l(s,n).selectionSet,n);if("string"==typeof f)return f}},"isDocumentNode",0,function(e){return(0,n.isNonNullObject)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)},"isField",0,K,"isInlineFragment",0,function(e){return"InlineFragment"===e.kind},"isReference",0,function(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)},"makeReference",0,function(e){return{__ref:String(e)}},"resultKeyNameFromField",0,V,"storeKeyNameFromField",0,function(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,a=n.value;return M(r[e.name.value],i,a,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return M(n,r,i,t)})),q(e.name.value,n,r)},"valueToObjectRepresentation",0,M],56776),e.s(["checkDocument",0,Q,"getDefaultValues",0,function(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&M(t,e.variable.name,e.defaultValue)}),t},"getFragmentDefinition",0,function(e){(0,r.invariant)("Document"===e.kind,119),(0,r.invariant)(e.definitions.length<=1,120);var t=e.definitions[0];return(0,r.invariant)("FragmentDefinition"===t.kind,121),t},"getFragmentDefinitions",0,function(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})},"getMainDefinition",0,function(e){Q(e);for(var t,n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var o=a.operation;if("query"===o||"mutation"===o||"subscription"===o)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r.newInvariantError)(122)},"getOperationDefinition",0,z,"getOperationName",0,function(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null},"getQueryDefinition",0,function(e){var t=z(e);return(0,r.invariant)(t&&"query"===t.operation,118),t}],15301)},70757,33448,e=>{"use strict";var t=e.i(89280),r=e.i(25945),n=e.i(56034),i=e.i(98377);function a(e){return e&&"function"==typeof e.then}var o=function(e){function i(t){var i=e.call(this,function(e){return i.addObserver(e),function(){return i.removeObserver(e)}})||this;return i.observers=new Set,i.promise=new Promise(function(e,t){i.resolve=e,i.reject=t}),i.handlers={next:function(e){null!==i.sub&&(i.latest=["next",e],i.notify("next",e),(0,n.iterateObserversSafely)(i.observers,"next",e))},error:function(e){var t=i.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),i.sub=null,i.latest=["error",e],i.reject(e),i.notify("error",e),(0,n.iterateObserversSafely)(i.observers,"error",e))},complete:function(){var e=i.sub,t=i.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?a(r)?r.then(function(e){return i.sub=e.subscribe(i.handlers)},i.handlers.error):i.sub=r.subscribe(i.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),i.sub=null,i.latest&&"next"===i.latest[0]?i.resolve(i.latest[1]):i.resolve(),i.notify("complete"),(0,n.iterateObserversSafely)(i.observers,"complete"))}}},i.nextResultListeners=new Set,i.cancel=function(e){i.reject(e),i.sources=[],i.handlers.error(e)},i.promise.catch(function(e){}),"function"==typeof t&&(t=[new r.Observable(t)]),a(t)?t.then(function(e){return i.start(e)},i.handlers.error):i.start(t),i}return(0,t.__extends)(i,e),i.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},i.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()}},i.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},i.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},i.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},i.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},i}(r.Observable);(0,i.fixObservableSubclass)(o),e.s(["Concast",0,o],70757);var s=e.i(83015),c=e.i(23289),u=e.i(15301);e.i(68681);var l=e.i(5578),f=e.i(62918),h=e.i(6775),p=e.i(6044);function d(e){return e}var v=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=c.canUseWeakSet?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(d,{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 s.Trie(c.canUseWeakMap);this.performWork=(0,h.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,l.invariant)(Array.isArray(n),104),r.lookupArray(n)},max:p.cacheSizes["documentTransform.cache"],cache:f.WeakCache})}},e.prototype.performWork=function(e){return(0,u.checkDocument)(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}();e.s(["DocumentTransform",0,v],33448)},56034,98377,e=>{"use strict";e.s(["iterateObserversSafely",0,function(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}
186),n.forEach(function(e){return e[t](r)})}],56034);var t=e.i(25945),r=e.i(23289);e.s(["fixObservableSubclass",0,function(e){function n(r){Object.defineProperty(e,r,{value:t.Observable})}return r.canUseSymbol&&Symbol.species&&n(Symbol.species),n("@@species"),e}],98377)},50438,e=>{"use strict";e.s(["preventUnhandledRejection",0,function(e){return e.catch(function(){}),e}])},24669,e=>{"use strict";let{toString:t,hasOwnProperty:r}=Object.prototype,n=Function.prototype.toString,i=new Map;function a(e,a){try{return function e(i,a){if(i===a)return!0;let s=t.call(i);if(s!==t.call(a))return!1;switch(s){case"[object Array]":if(i.length!==a.length)break;case"[object Object]":{if(u(i,a))return!0;let t=o(i),n=o(a),s=t.length;if(s!==n.length)return!1;for(let e=0;e<s;++e)if(!r.call(a,t[e]))return!1;for(let r=0;r<s;++r){let n=t[r];if(!e(i[n],a[n]))return!1}return!0}case"[object Error]":return i.name===a.name&&i.message===a.message;case"[object Number]":if(i!=i)return a!=a;case"[object Boolean]":case"[object Date]":return+i==+a;case"[object RegExp]":case"[object String]":return i==`${a}`;case"[object Map]":case"[object Set]":{if(i.size!==a.size)return!1;if(u(i,a))return!0;let t=i.entries(),r="[object Map]"===s;for(;;){let n=t.next();if(n.done)break;let[i,o]=n.value;if(!a.has(i)||r&&!e(o,a.get(i)))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]":i=new Uint8Array(i),a=new Uint8Array(a);case"[object DataView]":{let e=i.byteLength;if(e===a.byteLength)for(;e--&&i[e]===a[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var l,f;let e,t=n.call(i);if(t!==n.call(a))return!1;return l=t,f=c,!((e=l.length-f.length)>=0)||l.indexOf(f,e)!==e}}return!1}(e,a)}finally{i.clear()}}function o(e){return Object.keys(e).filter(s,e)}function s(e){return void 0!==this[e]}let c="{ [native code] }";function u(e,t){let r=i.get(e);if(r){if(r.has(t))return!0}else i.set(e,r=new Set);return r.add(t),!1}e.s(["default",0,a,"equal",0,a])},59080,e=>{"use strict";var t,r=e.i(89280),n=e.i(48418),i=e.i(6699),a=e.i(42341),o=e.i(477),s=e.i(46327),c=e.i(59570),u=e.i(67757),l=function(){function e(e){var t=new a.Token(o.TokenKind.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!==o.TokenKind.EOF)do t=null!=(e=t.next)?e:t.next=function(e,t){for(var r=e.source,i=r.body,s=i.length,c=t.end;c<s;){var l,d=i.charCodeAt(c),v=e.line,y=1+c-e.lineStart;switch(d){case 65279:case 9:case 32:case 44:++c;continue;case 10:++c,++e.line,e.lineStart=c;continue;case 13:10===i.charCodeAt(c+1)?c+=2:++c,++e.line,e.lineStart=c;continue;case 33:return new a.Token(o.TokenKind.BANG,c,c+1,v,y,t);case 35:return function(e,t,r,n,i){var s,c=e.body,u=t;do s=c.charCodeAt(++u);while(!isNaN(s)&&(s>31||9===s))return new a.Token(o.TokenKind.COMMENT,t,u,r,n,i,c.slice(t+1,u))}(r,c,v,y,t);case 36:return new a.Token(o.TokenKind.DOLLAR,c,c+1,v,y,t);case 38:return new a.Token(o.TokenKind.AMP,c,c+1,v,y,t);case 40:return new a.Token(o.TokenKind.PAREN_L,c,c+1,v,y,t);case 41:return new a.Token(o.TokenKind.PAREN_R,c,c+1,v,y,t);case 46:if(46===i.charCodeAt(c+1)&&46===i.charCodeAt(c+2))return new a.Token(o.TokenKind.SPREAD,c,c+3,v,y,t);break;case 58:return new a.Token(o.TokenKind.COLON,c,c+1,v,y,t);case 61:return new a.Token(o.TokenKind.EQUALS,c,c+1,v,y,t);case 64:return new a.Token(o.TokenKind.AT,c,c+1,v,y,t);case 91:return new a.Token(o.TokenKind.BRACKET_L,c,c+1,v,y,t);case 93:return new a.Token(o.TokenKind.BRACKET_R,c,c+1,v,y,t);case 123:return new a.Token(o.TokenKind.BRACE_L,c,c+1,v,y,t);case 124:return new a.Token(o.TokenKind.PIPE,c,c+1,v,y,t);case 125:return new a.Token(o.TokenKind.BRACE_R,c,c+1,v,y,t);case 34:if(34===i.charCodeAt(c+1)&&34===i.charCodeAt(c+2))return function(e,t,r,i,s,c){for(var l=e.body,h=t+3,p=h,d=0,v="";h<l.length&&!isNaN(d=l.charCodeAt(h));){if(34===d&&34===l.charCodeAt(h+1)&&34===l.charCodeAt(h+2))return v+=l.slice(p,h),new a.Token(o.TokenKind.BLOCK_STRING,t,h+3,r,i,s,(0,u.dedentBlockStringValue)(v));if(d<32&&9!==d&&10!==d&&13!==d)throw(0,n.syntaxError)(e,h,"Invalid character within String: ".concat(f(d),"."));10===d?(++h,++c.line,c.lineStart=h):13===d?(10===l.charCodeAt(h+1)?h+=2:++h,++c.line,c.lineStart=h):92===d&&34===l.charCodeAt(h+1)&&34===l.charCodeAt(h+2)&&34===l.charCodeAt(h+3)?(v+=l.slice(p,h)+'"""',h+=4,p=h):++h}throw(0,n.syntaxError)(e,h,"Unterminated string.")}(r,c,v,y,t,e);return function(e,t,r,i,s){for(var c=e.body,u=t+1,l=u,h=0,d="";u<c.length&&!isNaN(h=c.charCodeAt(u))&&10!==h&&13!==h;){if(34===h)return d+=c.slice(l,u),new a.Token(o.TokenKind.STRING,t,u+1,r,i,s,d);if(h<32&&9!==h)throw(0,n.syntaxError)(e,u,"Invalid character within String: ".concat(f(h),"."));
186if(++u,92===h){switch(d+=c.slice(l,u-1),h=c.charCodeAt(u)){case 34:d+='"';break;case 47:d+="/";break;case 92:d+="\\";break;case 98:d+="\b";break;case 102:d+="\f";break;case 110:d+="\n";break;case 114:d+="\r";break;case 116:d+=" ";break;case 117:var v,y,m,g,b=(v=c.charCodeAt(u+1),y=c.charCodeAt(u+2),m=c.charCodeAt(u+3),g=c.charCodeAt(u+4),p(v)<<12|p(y)<<8|p(m)<<4|p(g));if(b<0){var _=c.slice(u+1,u+5);throw(0,n.syntaxError)(e,u,"Invalid character escape sequence: \\u".concat(_,"."))}d+=String.fromCharCode(b),u+=4;break;default:throw(0,n.syntaxError)(e,u,"Invalid character escape sequence: \\".concat(String.fromCharCode(h),"."))}l=++u}}throw(0,n.syntaxError)(e,u,"Unterminated string.")}(r,c,v,y,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,i,s,c){var u,l=e.body,p=r,d=t,v=!1;if(45===p&&(p=l.charCodeAt(++d)),48===p){if((p=l.charCodeAt(++d))>=48&&p<=57)throw(0,n.syntaxError)(e,d,"Invalid number, unexpected digit after 0: ".concat(f(p),"."))}else d=h(e,d,p),p=l.charCodeAt(d);if(46===p&&(v=!0,p=l.charCodeAt(++d),d=h(e,d,p),p=l.charCodeAt(d)),(69===p||101===p)&&(v=!0,(43===(p=l.charCodeAt(++d))||45===p)&&(p=l.charCodeAt(++d)),d=h(e,d,p),p=l.charCodeAt(d)),46===p||95===(u=p)||u>=65&&u<=90||u>=97&&u<=122)throw(0,n.syntaxError)(e,d,"Invalid number, expected digit but got: ".concat(f(p),"."));return new a.Token(v?o.TokenKind.FLOAT:o.TokenKind.INT,t,d,i,s,c,l.slice(t,d))}(r,c,d,v,y,t);
186case 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:for(var m=r,g=c,b=v,_=y,E=t,k=m.body,T=k.length,O=g+1,w=0;O!==T&&!isNaN(w=k.charCodeAt(O))&&(95===w||w>=48&&w<=57||w>=65&&w<=90||w>=97&&w<=122);)++O;return new a.Token(o.TokenKind.NAME,g,O,b,_,E,k.slice(g,O))}throw(0,n.syntaxError)(r,c,(l=d)<32&&9!==l&&10!==l&&13!==l?"Cannot contain the invalid character ".concat(f(l),"."):39===l?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(f(l),"."))}var S=e.line,D=1+c-e.lineStart;return new a.Token(o.TokenKind.EOF,s,s,S,D,t)}(this,t);while(t.kind===o.TokenKind.COMMENT)return t},e}();function f(e){return isNaN(e)?o.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function h(e,t,r){var i=e.body,a=t,o=r;if(o>=48&&o<=57){do o=i.charCodeAt(++a);while(o>=48&&o<=57)return a}throw(0,n.syntaxError)(e,a,"Invalid number, expected digit but got: ".concat(f(o),"."))}function p(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var d=function(){function e(e,t){var r=(0,s.isSource)(e)?e:new s.Source(e);this._lexer=new l(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(o.TokenKind.NAME);return{kind:i.Kind.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:i.Kind.DOCUMENT,definitions:this.many(o.TokenKind.SOF,this.parseDefinition,o.TokenKind.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(o.TokenKind.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(o.TokenKind.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(o.TokenKind.BRACE_L))return{kind:i.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var r=this.parseOperationType();return this.peek(o.TokenKind.NAME)&&(e=this.parseName()),{kind:i.Kind.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(o.TokenKind.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(o.TokenKind.PAREN_L,this.parseVariableDefinition,o.TokenKind.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:i.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(o.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.TokenKind.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(o.TokenKind.DOLLAR),{kind:i.Kind.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:i.Kind.SELECTION_SET,selections:this.many(o.TokenKind.BRACE_L,this.parseSelection,o.TokenKind.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(o.TokenKind.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(o.TokenKind.COLON)?(e=n,t=this.parseName()):t=n,{kind:i.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}
186},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.TokenKind.PAREN_L,t,o.TokenKind.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(o.TokenKind.COLON),{kind:i.Kind.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:i.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(o.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(o.TokenKind.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(o.TokenKind.NAME)?{kind:i.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:i.Kind.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.experimentalFragmentVariables)===!0)?{kind:i.Kind.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:i.Kind.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 o.TokenKind.BRACKET_L:return this.parseList(e);case o.TokenKind.BRACE_L:return this.parseObject(e);case o.TokenKind.INT:return this._lexer.advance(),{kind:i.Kind.INT,value:t.value,loc:this.loc(t)};case o.TokenKind.FLOAT:return this._lexer.advance(),{kind:i.Kind.FLOAT,value:t.value,loc:this.loc(t)};case o.TokenKind.STRING:case o.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case o.TokenKind.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:i.Kind.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:i.Kind.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:i.Kind.NULL,loc:this.loc(t)};default:return{kind:i.Kind.ENUM,value:t.value,loc:this.loc(t)}}case o.TokenKind.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:i.Kind.STRING,value:e.value,block:e.kind===o.TokenKind.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:i.Kind.LIST,values:this.any(o.TokenKind.BRACKET_L,function(){return t.parseValueLiteral(e)},o.TokenKind.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:i.Kind.OBJECT,fields:this.any(o.TokenKind.BRACE_L,function(){return t.parseObjectField(e)},o.TokenKind.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(o.TokenKind.COLON),{kind:i.Kind.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(o.TokenKind.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(o.TokenKind.AT),{kind:i.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return(this.expectOptionalToken(o.TokenKind.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(o.TokenKind.BRACKET_R),e={kind:i.Kind.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(o.TokenKind.BANG))?{kind:i.Kind.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:i.Kind.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===o.TokenKind.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(o.TokenKind.STRING)||this.peek(o.TokenKind.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(o.TokenKind.BRACE_L,this.parseOperationTypeDefinition,o.TokenKind.BRACE_R);return{kind:i.Kind.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(o.TokenKind.COLON);var r=this.parseNamedType();return{kind:i.Kind.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:i.Kind.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(),a=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:i.Kind.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:a,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if((null==(e=this._options)?void 0:e.allowLegacySDLImplementsInterfaces)===!0){var t=[];this.expectOptionalToken(o.TokenKind.AMP);do t.push(this.parseNamedType());while(this.expectOptionalToken(o.TokenKind.AMP)||this.peek(o.TokenKind.NAME))return t}return this.delimitedMany(o.TokenKind.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return(null==(e=this._options)?void 0:e.allowLegacySDLEmptyFields)===!0&&this.peek(o.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===o.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(o.TokenKind.BRACE_L,this.parseFieldDefinition,o.TokenKind.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(o.TokenKind.COLON);var a=this.parseTypeReference(),s=this.parseDirectives(!0);return{kind:i.Kind.FIELD_DEFINITION,description:t,name:r,arguments:n,type:a,directives:s,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(o.TokenKind.PAREN_L,this.parseInputValueDef,o.TokenKind.PAREN_R)},t.parseInputValueDef=function(){var e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(o.TokenKind.COLON);var a=this.parseTypeReference();this.expectOptionalToken(o.TokenKind.EQUALS)&&(e=this.parseValueLiteral(!0));var s=this.parseDirectives(!0);return{kind:i.Kind.INPUT_VALUE_DEFINITION,description:r,name:n,type:a,defaultValue:e,directives:s,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(),a=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:i.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:a,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),a=this.parseUnionMemberTypes();return{kind:i.Kind.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:a,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(o.TokenKind.EQUALS)?this.delimitedMany(o.TokenKind.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),a=this.parseEnumValuesDefinition();return{kind:i.Kind.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:a,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(o.TokenKind.BRACE_L,this.parseEnumValueDefinition,o.TokenKind.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:i.Kind.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),a=this.parseInputFieldsDefinition();return{kind:i.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:a,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(o.TokenKind.BRACE_L,this.parseInputValueDef,o.TokenKind.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===o.TokenKind.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(o.TokenKind.BRACE_L,this.parseOperationTypeDefinition,o.TokenKind.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:i.Kind.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:i.Kind.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),a=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===a.length)throw this.unexpected();return{kind:i.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:a,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),a=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===a.length)throw this.unexpected();return{kind:i.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:a,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:i.Kind.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:i.Kind.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:i.Kind.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(o.TokenKind.AT);var r=this.parseName(),n=this.parseArgumentDefs(),a=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var s=this.parseDirectiveLocations();return{kind:i.Kind.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:a,locations:s,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(o.TokenKind.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==c.DirectiveLocation[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if((null==(t=this._options)?void 0:t.noLocation)!==!0)return new a.Location(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(0,n.syntaxError)(this._lexer.source,t.start,"Expected ".concat(y(e),", found ").concat(v(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===o.TokenKind.NAME&&t.value===e)this._lexer.advance();else throw(0,n.syntaxError)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(v(t),"."))},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===o.TokenKind.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return(0,n.syntaxError)(this._lexer.source,t.start,"Unexpected ".concat(v(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 v(e){var t=e.value;return y(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function y(e){return e===o.TokenKind.BANG||e===o.TokenKind.DOLLAR||e===o.TokenKind.AMP||e===o.TokenKind.PAREN_L||e===o.TokenKind.PAREN_R||e===o.TokenKind.SPREAD||e===o.TokenKind.COLON||e===o.TokenKind.EQUALS||e===o.TokenKind.AT||e===o.TokenKind.BRACKET_L||e===o.TokenKind.BRACKET_R||e===o.TokenKind.BRACE_L||e===o.TokenKind.PIPE||e===o.TokenKind.BRACE_R?'"'.concat(e,'"'):e}var m=new Map,g=new Map,b=!0,_=!1;function E(e){return e.replace(/[\s,]+/g," ").trim()}function k(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[r+1]}),function(e){var t=E(e);if(!m.has(t)){var n,i,a,o,s,c=new d(e,{experimentalFragmentVariables:_,allowLegacyFragmentVariables:_}).parseDocument();if(!c||"Document"!==c.kind)throw Error("Not a valid GraphQL document.");m.set(t,((o=new Set((n=new Set,i=[],c.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,r=e.name.value,a=E((t=e.loc).source.body.substring(t.start,t.end)),o=g.get(r);o&&!o.has(a)?b&&console.warn("Warning: fragment with name "+r+" 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"):o||g.set(r,o=new Set),o.add(a),n.has(a)||(n.add(a),i.push(e))}else i.push(e)}),a=(0,r.__ass
186ign)((0,r.__assign)({},c),{definitions:i})).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)})}),(s=a.loc)&&(delete s.startToken,delete s.endToken),a))}return m.get(t)}(i)}var T=k;(t=k||(k={})).gql=T,t.resetCaches=function(){m.clear(),g.clear()},t.disableFragmentWarnings=function(){b=!1},t.enableExperimentalFragmentVariables=function(){_=!0},t.disableExperimentalFragmentVariables=function(){_=!1},k.default=k,e.s(["gql",0,k],59080)},48418,17405,65336,e=>{"use strict";function t(e,t){if(!e)throw Error(t)}function r(e){return(r="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)}e.s(["default",0,t],17405);var n="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function i(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,a=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,a=t+1-(r.index+r[0].length);return{line:i,column:a}}function a(e,t){var r=e.locationOffset.column-1,n=s(r)+e.body,i=t.line-1,a=e.locationOffset.line-1,c=t.line+a,u=1===t.line?r:0,l=t.column+u,f="".concat(e.name,":").concat(c,":").concat(l,"\n"),h=n.split(/\r\n|[\n\r]/g),p=h[i];if(p.length>120){for(var d=Math.floor(l/80),v=l%80,y=[],m=0;m<p.length;m+=80)y.push(p.slice(m,m+80));return f+o([["".concat(c),y[0]]].concat(y.slice(1,d+1).map(function(e){return["",e]}),[[" ",s(v-1)+"^"],["",y[d+1]]]))}return f+o([["".concat(c-1),h[i-1]],["".concat(c),p],["",s(l-1)+"^"],["".concat(c+1),h[i+1]]])}function o(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}),r=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t,n=e[0],i=e[1];return s(r-(t=n).length)+t+(i?" | "+i:" |")}).join("\n")}function s(e){return Array(e+1).join(" ")}function c(e){return(c="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 u(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}e.s(["SYMBOL_TO_STRING_TAG",0,n],65336);function l(e,t){return t&&("object"===c(t)||"function"==typeof t)?t:f(e)}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){var t="function"==typeof Map?new Map:void 0;return(h=function(e){var r;if(null===e||(r=e,-1===Function.toString.call(r).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,n)}function n(){return p(e,arguments,y(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),v(n,e)})(e)}function p(e,t,r){return(p=d()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&v(i,r.prototype),i}).apply(null,arguments)}function d(){if("u"<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 v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");h.prototype=Object.create(e&&e.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),e&&v(h,e);var o,s,c=(o=d(),function(){var e,t=y(h);return e=o?Reflect.construct(t,arguments,y(this).constructor):t.apply(this,arguments),l(this,e)});function h(e,t,n,a,o,s,p){if(!(this instanceof h))throw TypeError("Cannot call a class as a function");(k=c.call(this,e)).name="GraphQLError",k.originalError=null!=s?s:void 0,k.nodes=g(Array.isArray(t)?t:t?[t]:void 0);for(var d=[],v=0,y=null!=(T=k.nodes)?T:[];v<y.length;v++){var m,b,_,E,k,T,O=y[v].loc;null!=O&&d.push(O)}d=g(d),k.source=null!=n?n:null==(b=d)?void 0:b[0].source,k.positions=null!=a?a:null==(_=d)?void 0:_.map(function(e){return e.start}),k.locations=a&&n?a.map(function(e){return i(n,e)}):null==(E=d)?void 0:E.map(function(e){return i(e.source,e.start)}),k.path=null!=o?o:void 0;var w=null==s?void 0:s.extensions;return null==p&&"object"==r(m=w)&&null!==m?k.extensions=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
186t%2?u(Object(r),!0).forEach(function(t){var n,i,a;n=e,i=t,a=r[t],i in n?Object.defineProperty(n,i,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[i]=a}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},w):k.extensions=null!=p?p:{},(Object.defineProperties(f(k),{message:{enumerable:!0},locations:{enumerable:null!=k.locations},path:{enumerable:null!=k.path},extensions:{enumerable:null!=k.extensions&&Object.keys(k.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=s&&s.stack)?(Object.defineProperty(f(k),"stack",{value:s.stack,writable:!0,configurable:!0}),l(k)):(Error.captureStackTrace?Error.captureStackTrace(f(k),h):Object.defineProperty(f(k),"stack",{value:Error().stack,writable:!0,configurable:!0}),k)}return s=[{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 o,s=n[r];s.loc&&(t+="\n\n"+a((o=s.loc).source,i(o.source,o.start)))}else if(e.source&&e.locations)for(var c=0,u=e.locations;c<u.length;c++){var l=u[c];t+="\n\n"+a(e.source,l)}return t}(this)}},{key:"toJSON",value:function(){var e,r,n,i,a,o;return e=this,e||t(0,"Received null or undefined error."),n=null!=(r=e.message)?r:"An unknown error occurred.",i=e.locations,a=e.path,(o=e.extensions)&&Object.keys(o).length>0?{message:n,locations:i,path:a,extensions:o}:{message:n,locations:i,path:a}}},{key:n,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)}}(h.prototype,s),h}(h(Error));function g(e){return void 0===e||0===e.length?void 0:e}e.s(["syntaxError",0,function(e,t,r){return new m("Syntax Error: ".concat(r),void 0,e,[t])}],48418)},28262,e=>{"use strict";var t=e.i(99925);function r(e){return(r="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)}e.s(["default",0,function(e){return function e(n,i){switch(r(n)){case"string":return JSON.stringify(n);case"function":return n.name?"[function ".concat(n.name,"]"):"[function]";case"object":if(null===n)return"null";return function(r,n){if(-1!==n.indexOf(r))return"[Circular]";var i,a,o,s,c,u=[].concat(n,[r]),l="function"==typeof(a=(i=r)[String(t.default)])?a:"function"==typeof i.inspect?i.inspect:void 0;if(void 0!==l){var f=l.call(r);if(f!==r)return"string"==typeof f?f:e(f,u)}else if(Array.isArray(r)){var h=r,p=u;if(0===h.length)return"[]";if(p.length>2)return"[Array]";for(var d=Math.min(10,h.length),v=h.length-d,y=[],m=0;m<d;++m)y.push(e(h[m],p));return 1===v?y.push("... 1 more item"):v>1&&y.push("... ".concat(v," more items")),"["+y.join(", ")+"]"}return o=r,s=u,0===(c=Object.keys(o)).length?"{}":s.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}(o)+"]":"{ "+c.map(function(t){var r=e(o[t],s);return t+": "+r}).join(", ")+" }"}(n,i);default:return String(n)}}(e,[])}])},46572,e=>{"use strict";e.s(["default",0,function(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}])},99925,e=>{"use strict";var t="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;e.s(["default",0,t])},42341,e=>{"use strict";var t=e.i(46572),r=e.i(99925);function n(e){var n=e.prototype.toJSON;"function"==typeof n||(0,t.default)(0),e.prototype.inspect=n,r.default&&(e.prototype[r.default]=n)}var i=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}();n(i);var a=function(){function e(e,t,r,n,i,a,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=a,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();n(a),e.s(["Location",0,i,"Token",0,a,"isNode",0,function(e){return null!=e&&"string"==typeof e.kind}],42341)},67757,e=>{"use strict";function t(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&" "!==e[t])return!1;return!0}e.s(["dedentBlockStringValue",0,function(e){var r=e.split(/\r\n|[\n\r]/g),n=function(e){for(var t,r=!0,n=!0,i=0,a=null,o=0;o<e.length;++o)switch(e.charCodeAt(o)){case 13:10===e.charCodeAt(o+1)&&++o;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===a||i<a)&&(a=i),n=!1}return null!=(t=a)?t:0}(e);if(0!==n)for(var i=1;i<r.length;i++)r[i]=r[i].slice(n);for(var a=0;a<r.length&&t(r[a]);)++a;for(var o=r.length;o>a&&t(r[o-1]);)--o;return r.slice(a,o).join("\n")},"printBlockString",0,function(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],a='"'===e[e.length-1],o="\\"===e[e.length-1],s=!n||a||o||r,c="";return s&&!(n&&i)&&(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}])},6699,e=>{"use strict";
186var t=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"});e.s(["Kind",0,t])},46327,59570,e=>{"use strict";var t=e.i(65336),r=e.i(28262),n=e.i(17405),i=function(){var e;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||(0,n.default)(0,"Body must be a string. Received: ".concat((0,r.default)(e),".")),this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,n.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,n.default)(0,"column in locationOffset is 1-indexed and must be positive.")}return e=[{key:t.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}],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,e),i}();e.s(["Source",0,i,"isSource",0,function(e){return e instanceof i}],46327);var a=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"});e.s(["DirectiveLocation",0,a],59570)},477,e=>{"use strict";var t=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:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});e.s(["TokenKind",0,t])},11818,(e,t,r)=>{"use strict";t.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,t.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,t.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(t.exports,e.r(91788))},25945,e=>{"use strict";function t(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 r(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 n(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var i=function(){return"function"==typeof Symbol},a=function(e){return i()&&!!Symbol[e]},o=function(e){return a(e)?Symbol[e]:"@@"+e};i()&&!a("observable")&&(Symbol.observable=Symbol("observable"));var s=o("iterator"),c=o("observable"),u=o("species");function l(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[u])&&(t=void 0),void 0!==t?t:_}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function p(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function d(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=l(t,"unsubscribe");r&&r.call(t)}}catch(e){h(e)}}function v(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function y(e,t,r){e._state="running";var n=e._observer;try{var i=l(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(v(e),i)i.call(n,r);else throw r;break;case"complete":v(e),i&&i.call(n)}}catch(e){h(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],p(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(y(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}y(e,t,r)}}var g=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new b(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&&(v(this),d(this))},n(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),b=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){m(this._subscription,"next",e)},t.error=function(e){m(this._subscription,"error",e)},t.complete=function(){m(this._subscription,"complete")},n(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),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 r=e.prototype;return r.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new g(e,this._subscriber)},r.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){a.unsubscribe(),r()}var a=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),a.unsubscribe()}},error:n,complete:r})})},r.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(f(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()}})})},r.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(f(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()}})})},r.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=f(this),n=arguments.length>1,i=!1,a=arguments[1],o=a;return new r(function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})})},r.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=f(this);return new i(function(t){var n,a=0;return!function e(o){n=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){a===r.length?(n=void 0,t.complete()):e(i.from(r[a++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},r.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=f(this);return new r(function(n){var i=[],a=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var a=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(a);e>=0&&i.splice(e,1),o()}});i.push(a)},error:function(e){n.error(e)},complete:function(){o()}});function o(){a.closed&&0===i.length&&n.complete()}
186return function(){i.forEach(function(e){return e.unsubscribe()}),a.unsubscribe()}})},r[c]=function(){return this},e.from=function(r){var n="function"==typeof this?this:e;if(null==r)throw TypeError(r+" is not an object");var i=l(r,c);if(i){var o=i.call(r);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof _&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(a("iterator")&&(i=l(r,s)))return new n(function(e){p(function(){if(!e.closed){for(var n,a=function(e){var r="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e){if(e){if("string"==typeof e)return t(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 t(e,void 0)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}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(r));!(n=a()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(r))return new n(function(e){p(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})});throw TypeError(r+" 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){p(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},n(e,null,[{key:u,get:function(){return this}}]),e}();i()&&Object.defineProperty(_,Symbol("extensions"),{value:{symbol:c,hostReportError:h},configurable:!0}),e.s(["Observable",0,_])}]); 187 188//# sourceMappingURL=2hx54spjt9rkc.js.map
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.