PageSourceSearch

https://www.theprose.com/_next/static/chunks/4245-ac363b6bbc1ad8c9e032.js

js theprose.com collected 2026-09-24 09:25:26 UTC 81,606 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4245],{92829:function(e,t,r){r.d(t,{R:function(){return a}});var i=r(56852),n=r(10451),o=r(33428),a=function(){function e(){this.getFragmentDoc=(0,n.re)(o.Yk)}return e.prototype.batch=function(e){var t="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;this.performTransaction(e.update,t)},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.transformForLink=function(e){return e},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,i.pi)((0,i.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,i.pi)((0,i.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,i._T)(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,o=e.fragmentName,a=(0,i._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(n,o),dataId:t,result:r}))},e}()},90887:function(e,t,r){r.d(t,{y:function(){return n}});var i=r(56852),n=function(e){function t(r,i,n,o){var a=e.call(this,r)||this;return a.message=r,a.path=i,a.query=n,a.variables=o,a.__proto__=t.prototype,a}return(0,i.ZT)(t,e),t}(Error)},25971:function(e,t,r){r.d(t,{RI:function(){return c},uG:function(){return u},jS:function(){return f},lg:function(){return h},jp:function(){return p},$O:function(){return d},E_:function(){return y},RC:function(){return v},j:function(){return m},ig:function(){return g}});var i=r(63831),n=r(59916),o=r(66233),a=r(20191),s=r(77037),c=Object.prototype.hasOwnProperty;function u(e,t){var r=e.__typename,i=e.id,n=e._id;if("string"===typeof r&&(t&&(t.keyObject=void 0!==i?{id:i}:void 0!==n?{_id:n}:void 0),void 0===i&&(i=n),void 0!==i))return r+":"+("number"===typeof i||"string"===typeof i?i:JSON.stringify(i))}var l={dataIdFromObject:u,addTypename:!0,resultCaching:!0,canonizeResults:!1};function f(e){return(0,i.o)(l,e)}function h(e){var t=e.canonizeResults;return void 0===t?l.canonizeResults:t}function p(e,t){return(0,n.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var d=/^[_a-z][_0-9a-z]*/i;function y(e){var t=e.match(d);return t?t[0]:e}function v(e,t,r){return!!(0,o.s)(t)&&(Array.isArray(t)?t.every((function(t){return v(e,t,r)})):e.selections.every((function(e){if((0,n.My)(e)&&(0,a.LZ)(e,r)){var i=(0,n.u2)(e);return c.call(t,i)&&(!e.selectionSet||v(e.selectionSet,t[i],r))}return!0})))}function m(e){return(0,o.s)(e)&&!(0,n.Yk)(e)&&!Array.isArray(e)}function g(){return new s.w0}},16564:function(e,t,r){r.d(t,{h:function(){return ne}});var i=r(56852),n=r(10451),o=r(42434),a=r(92829),s=r(90887),c=r(59916),u=r(15260),l=r(28790),f=r(52206),h=r(63831),p=r(26469),d=r(33428),y=r(20191),v=r(77037),m=r(54750),g=r(66233),b=r(95573),_=r(25971),k=Object.create(null),w=function(){return k},S=Object.create(null),O=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.J)((0,c.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,c.Yk)(e)?r.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return(0,c.kQ)(e);if((0,c.Yk)(e))return e;var i=r.policies.identify(e)[0];if(i){var n=(0,c.kQ)(i);return t&&r.merge(i,e),n}}}return e.prototype.toObject=function(){return(0,i.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),_.RI.call(this.data,e)){var r=this.data[e];if(r&&_.RI.call(r,t))return r[t]}return"__typename"===t&&_.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof D?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),_.RI.call(this.data,e)?this.data[e]:this instanceof D?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,i=this;(0,c.Yk)(e)&&(e=e.__ref),(0,c.Yk)(t)&&(t=t.__ref);
1var n="string"===typeof e?this.lookup(r=e):e,o="string"===typeof t?this.lookup(r=t):t;if(o){__DEV__?(0,l.kG)("string"===typeof r,"store.merge expects a string ID"):(0,l.kG)("string"===typeof r,1);var a=new v.w0(q).merge(n,o);if(this.data[r]=a,a!==n&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);n||(s.__exists=1),Object.keys(o).forEach((function(e){if(!n||n[e]!==a[e]){s[e]=1;var t=(0,_.E_)(e);t===e||i.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||i instanceof D||delete a[e]}})),!s.__typename||n&&n.__typename||this.policies.rootTypenamesById[r]!==a.__typename||delete s.__typename,Object.keys(s).forEach((function(e){return i.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var o=Object.create(null),a=!1,s=!0,u={DELETE:k,INVALIDATE:S,isReference:c.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,i){return r.policies.readField("string"===typeof t?{fieldName:t,from:i||(0,c.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach((function(c){var l=(0,_.E_)(c),f=n[c];if(void 0!==f){var h="function"===typeof t?t:t[c]||t[l];if(h){var p=h===w?k:h((0,m.J)(f),(0,i.pi)((0,i.pi)({},u),{fieldName:l,storeFieldName:c,storage:r.getStorage(e,c)}));p===S?r.group.dirty(e,c):(p===k&&(p=void 0),p!==f&&(o[c]=p,a=!0,f=p))}void 0!==f&&(s=!1)}})),a)return this.merge(e,o),s&&(this instanceof D?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 i,n=this.lookup(e);if(n){var o=this.getFieldValue(n,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((i={})[a]=w,i):w)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(_.RI.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof D&&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){_.RI.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&_.RI.call(e,r)||t.delete(r)})),e){var r=e.__META,n=(0,i._T)(e,["__META"]);Object.keys(n).forEach((function(e){t.merge(e,n[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof D?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(i){_.RI.call(r,i)&&(Object.keys(e.findChildRefIds(i)).forEach(t.add,t),delete r[i])}));var i=Object.keys(r);if(i.length){for(var n=this;n instanceof D;)n=n.parent;
1i.forEach((function(e){return n.delete(e)}))}return i},e.prototype.findChildRefIds=function(e){if(!_.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var i=new Set([r]);i.forEach((function(e){(0,c.Yk)(e)&&(t[e.__ref]=!0),(0,g.s)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,g.s)(r)&&i.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),E=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,n.dP)():null,this.keyMaker=new b.B(f.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(R(e,t));var r=(0,_.E_)(t);r!==t&&this.d(R(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(R(e,t),"__exists"===t?"forget":"setDirty")},e}();function R(e,t){return t+"#"+e}function I(e,t){P(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,i=t.resultCaching,n=void 0===i||i,o=t.seed,a=e.call(this,r,new E(n))||this;return a.stump=new Q(a),a.storageTrie=new b.B(f.mr),o&&a.replace(o),a}return(0,i.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(O||(O={}));var D=function(e){function t(t,r,i,n){var o=e.call(this,r.policies,n)||this;return o.id=t,o.parent=r,o.replay=i,o.group=n,i(o),o}return(0,i.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var i=t.data[e],n=r.lookup(e);
1n?i?i!==n&&Object.keys(i).forEach((function(r){(0,o.D)(i[r],n[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(n).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.pi)((0,i.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return _.RI.call(this.data,t)?(0,i.pi)((0,i.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(O),Q=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new E(t.group.caching,t.group))||this}return(0,i.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(D);function q(e,t,r){var i=e[r],n=t[r];return(0,o.D)(i,n)?i:n}function P(e){return!!(e instanceof O&&e.group.caching)}var T=r(45138);function M(e,t){return new s.y(e.message,t.path.slice(),t.query,t.variables)}function F(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var C=function(){function e(e){var t=this;this.knownResults=new(f.mr?WeakMap:Map),this.config=(0,h.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,_.lg)(e)}),this.canon=e.canon||new T.h,this.executeSelectionSet=(0,n.re)((function(e){var r,n=e.context.canonizeResults,o=F(e);o[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?n?(0,i.pi)((0,i.pi)({},a),{result:t.canon.admit(a.result)}):a:(I(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:F,makeCacheKey:function(e,t,r,i){if(P(r.store))return r.store.makeCacheKey(e,(0,c.Yk)(t)?t.__ref:t,r.varString,i)}}),this.executeSubSelectedArray=(0,n.re)((function(e){return I(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,i=e.context;if(P(i.store))return i.store.makeCacheKey(t,r,i.varString)}})}return e.prototype.resetCanon=function(){this.canon=new T.h},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.rootId,o=void 0===n?"ROOT_QUERY":n,a=e.variables,s=e.returnPartialData,u=void 0===s||s,l=e.canonizeResults,f=void 0===l?this.config.canonizeResults:l,h=this.config.cache.policies;a=(0,i.pi)((0,i.pi)({},(0,p.O4)((0,p.iW)(r))),a);var y=(0,c.kQ)(o),v=this.executeSelectionSet({selectionSet:(0,p.p$)(r).selectionSet,objectOrReference:y,enclosingRef:y,context:{store:t,query:r,policies:h,variables:a,varString:(0,T.B)(a),canonizeResults:f,fragmentMap:(0,d.F)((0,p.kU)(r)),path:[]}}),m=v.missing&&v.missing.length>0;if(m&&!u)throw v.missing[0];return{result:v.result,missing:v.missing,complete:!m}},e.prototype.isFresh=function(e,t,r,i){if(P(i.store)&&this.knownResults.get(e)===r){var n=this.executeSelectionSet.peek(r,t,i,this.canon.isKnown(e));if(n&&e===n.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,i=e.objectOrReference,n=e.enclosingRef,o=e.context;if((0,c.Yk)(i)&&!o.policies.rootTypenamesById[i.__ref]&&!o.store.has(i.__ref))return{result:this.canon.empty,missing:[M(__DEV__?new l.ej("Dangling reference to missing "+i.__ref+" object"):new l.ej(5),o)]};var a=o.variables,s=o.policies,f=o.store,h=[],p={result:null},g=f.getFieldValue(i,"__typename");function b(){return p.missing||(p.missing=[])}function _(e){var t;return e.missing&&(t=b()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"===typeof g&&!s.rootIdsByTypename[g]&&h.push({__typename:g});var k=new Set(r.selections);
1k.forEach((function(e){var r;if((0,y.LZ)(e,a))if((0,c.My)(e)){var f=s.readField({fieldName:e.name.value,field:e,variables:o.variables,from:i},o),p=(0,c.u2)(e);o.path.push(p),void 0===f?u.Gw.added(e)||b().push(M(__DEV__?new l.ej("Can't find field '"+e.name.value+"' on "+((0,c.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2))):new l.ej(6),o)):Array.isArray(f)?f=_(t.executeSubSelectedArray({field:e,array:f,enclosingRef:n,context:o})):e.selectionSet?null!=f&&(f=_(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:f,enclosingRef:(0,c.Yk)(f)?f:n,context:o}))):o.canonizeResults&&(f=t.canon.pass(f)),void 0!==f&&h.push(((r={})[p]=f,r)),(0,l.kG)(o.path.pop()===p)}else{var v=(0,d.hi)(e,o.fragmentMap);v&&s.fragmentMatches(v,g)&&v.selectionSet.selections.forEach(k.add,k)}}));var w=(0,v.bw)(h);return p.result=o.canonizeResults?this.canon.admit(w):(0,m.J)(w),this.knownResults.set(p.result,r),p},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,i=e.field,n=e.array,o=e.enclosingRef,a=e.context;function s(e,r){return e.missing&&(t=t||[]).push.apply(t,e.missing),(0,l.kG)(a.path.pop()===r),e.result}return i.selectionSet&&(n=n.filter(a.store.canRead)),n=n.map((function(e,t){return null===e?null:(a.path.push(t),Array.isArray(e)?s(r.executeSubSelectedArray({field:i,array:e,enclosingRef:o,context:a}),t):i.selectionSet?s(r.executeSelectionSet({selectionSet:i.selectionSet,objectOrReference:e,enclosingRef:(0,c.Yk)(e)?e:o,context:a}),t):(__DEV__&&function(e,t,r){if(!t.selectionSet){var i=new Set([r]);i.forEach((function(r){(0,g.s)(r)&&(__DEV__?(0,l.kG)(!(0,c.Yk)(r),"Missing selection set for object of type "+(0,_.jp)(e,r)+" returned for query field "+t.name.value):(0,l.kG)(!(0,c.Yk)(r),7),Object.values(r).forEach(i.add,i))}))}}(a.store,i,e),(0,l.kG)(a.path.pop()===t),e))})),{result:a.canonizeResults?this.canon.admit(n):n,missing:t}},e}();var x=r(92512),j=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,a=t.result,s=t.dataId,u=t.variables,f=t.overwrite,h=(0,p.$H)(n),y=(0,_.ig)();u=(0,i.pi)((0,i.pi)({},(0,p.O4)(h)),u);var v={store:e,written:Object.create(null),merge:function(e,t){return y.merge(e,t)},variables:u,varString:(0,T.B)(u),fragmentMap:(0,d.F)((0,p.kU)(n)),overwrite:!!f,incomingById:new Map,clientOnly:!1},m=this.processSelectionSet({result:a||Object.create(null),dataId:s,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,c.Yk)(m))throw __DEV__?new l.ej("Could not identify object "+JSON.stringify(a)):new l.ej(8);return v.incomingById.forEach((function(t,i){var n=t.fields,a=t.mergeTree,s=t.selections,u=(0,c.kQ)(i);if(a&&a.map.size){var f=r.applyMerges(a,u,n,v);if((0,c.Yk)(f))return;n=f}if(__DEV__&&!v.overwrite){var h=new Set;s.forEach((function(e){(0,c.My)(e)&&e.selectionSet&&h.add(e.name.value)}));Object.keys(n).forEach((function(e){(function(e){return h.has((0,_.E_)(e))})(e)&&!function(e){var t=a&&a.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,i){var n=function(e){var t=i.getFieldValue(e,r);return"object"===typeof t&&t},a=n(e);if(!a)return;var s=n(t);if(!s)return;if((0,c.Yk)(a))return;if((0,o.D)(a,s))return;if(Object.keys(a).every((function(e){return void 0!==i.getFieldValue(s,e)})))return;var u=i.getFieldValue(e,"__typename")||i.getFieldValue(t,"__typename"),f=(0,_.E_)(r),h=u+"."+f;if(B.has(h))return;B.add(h);var p=[];
1Array.isArray(a)||Array.isArray(s)||[a,s].forEach((function(e){var t=i.getFieldValue(e,"__typename");"string"!==typeof t||p.includes(t)||p.push(t)}));__DEV__&&l.kG.warn("Cache data may be lost when replacing the "+f+" field of a "+u+" object.\n\nTo address this problem (which is not a bug in Apollo Client), "+(p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"")+"define a custom merge function for the "+h+" field, so InMemoryCache can safely merge these objects:\n\n  existing: "+JSON.stringify(a).slice(0,1e3)+"\n  incoming: "+JSON.stringify(s).slice(0,1e3)+"\n\nFor more information about these options, please refer to the documentation:\n\n  * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n  * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n")}(u,n,e,v.store)}))}e.merge(i,n)})),e.retain(m.__ref),m},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,i=e.result,n=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,f=s.identify(i,n,o.fragmentMap),h=f[0],p=f[1];if("string"===typeof(r=r||h)){var v=o.written[r]||(o.written[r]=[]),m=(0,c.kQ)(r);if(v.indexOf(n)>=0)return m;if(v.push(n),this.reader&&this.reader.isFresh(i,m,n,o))return m}var g=Object.create(null);p&&(g=o.merge(g,p));var b=r&&s.rootTypenamesById[r]||(0,c.qw)(i,n,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"===typeof b&&(g.__typename=b);var _=new Set(n.selections);if(_.forEach((function(e){var r;if((0,y.LZ)(e,o.variables))if((0,c.My)(e)){var n=(0,c.u2)(e),f=i[n],h=o.clientOnly;if(o.clientOnly=h||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0!==f){var p=s.getStoreFieldName({typename:b,fieldName:e.name.value,field:e,variables:o.variables}),v=V(a,p),m=t.processFieldValue(f,e,o,v),k=void 0;if(e.selectionSet&&!(k=o.store.getFieldValue(m,"__typename"))&&(0,c.Yk)(m)){var w=o.incomingById.get(m.__ref);k=w&&w.fields.__typename}var S=s.getMergeFunction(b,e.name.value,k);S?v.info={field:e,typename:b,merge:S}:G(a,p),g=o.merge(g,((r={})[p]=m,r))}else o.clientOnly||u.Gw.added(e)||__DEV__&&l.kG.error(("Missing field '"+(0,c.u2)(e)+"' while writing result "+JSON.stringify(i,null,2)).substring(0,1e3));o.clientOnly=h}else{var O=(0,d.hi)(e,o.fragmentMap);O&&s.fragmentMatches(O,b,i,o.variables)&&O.selectionSet.selections.forEach(_.add,_)}})),"string"===typeof r){var k=o.incomingById.get(r);return k?(k.fields=o.merge(k.fields,g),k.mergeTree=L(k.mergeTree,a),k.selections.forEach(_.add,_),k.selections=_):o.incomingById.set(r,{fields:g,mergeTree:N(a)?void 0:a,selections:_}),(0,c.kQ)(r)}return g},e.prototype.processFieldValue=function(e,t,r,i){var n=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,o){var a=n.processFieldValue(e,t,r,V(i,o));return G(i,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:i}):__DEV__?(0,x.X)(e):e},e.prototype.applyMerges=function(e,t,r,n,o){var a,s=this;if(e.map.size&&!(0,c.Yk)(r)){var u,f=Array.isArray(r)||!(0,c.Yk)(t)&&!(0,_.j)(t)?void 0:t,h=r;f&&!o&&(o=[(0,c.Yk)(f)?f.__ref:f]);var p=function(e,t){return Array.isArray(e)?"number"===typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=p(f,t),i=p(h,t);if(void 0!==i){o&&o.push(t);var a=s.applyMerges(e,r,i,n,o);a!==i&&(u=u||new Map).set(t,a),o&&(0,l.kG)(o.pop()===t)}})),u&&(r=Array.isArray(h)?h.slice(0):(0,i.pi)({},h),u.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,o&&(a=n.store).getStorage.apply(a,o)):r},e}(),A=[];function V(e,t){var r=e.map;return r.has(t)||r.set(t,A.pop()||{map:new Map}),r.get(t)}function L(e,t){if(e===t||!t||N(t))return e;if(!e||N(e))return t;var r=e.info&&t.info?(0,i.pi)((0,i.pi)({},e.info),t.info):e.info||t.info,n=e.map.size&&t.map.size,o={info:r,map:n?new Map:e.map.size?e.map:t.map};if(n){var a=new Set(t.map.keys());e.map.forEach((function(e,r){o.map.set(r,L(e,t.map.get(r))),a.delete(r)})),a.forEach((function(r){o.map.set(r,L(t.map.get(r),e.map.get(r)))}))}return o}function N(e){return!e||!(e.info||e.map.size)}function G(e,t){var r=e.map,i=r.get(t);i&&N(i)&&(A.push(i),r.delete(t))}var B=new Set;var z=r(90572),W=r(72800);
1function U(e){return void 0!==e.args?e.args:e.field?(0,c.NC)(e.field,e.variables):null}c.PT.setStringify(T.B);var Y=function(){},J=function(e,t){return t.fieldName},H=function(e,t,r){return(0,r.mergeObjects)(e,t)},K=function(e,t){return t},Z=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.pi)({dataIdFromObject:_.uG},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t,r){var i=t&&r?(0,c.qw)(e,t,r):e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var n,o={typename:i,selectionSet:t,fragmentMap:r},a=i&&this.getTypePolicy(i),s=a&&a.keyFn||this.config.dataIdFromObject;s;){var u=s(e,o);if(!Array.isArray(u)){n=u;break}s=te(u)}return n=n?String(n):void 0,o.keyObject?[n,o.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var n=e[r],o=n.queryType,a=n.mutationType,s=n.subscriptionType,c=(0,i._T)(n,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),_.RI.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,i=this.getTypePolicy(e),n=t.keyFields,o=t.fields;function a(e,t){e.merge="function"===typeof t?t:!0===t?H:!1===t?K:e.merge}a(i,t.merge),i.keyFn=!1===n?Y:Array.isArray(n)?te(n):"function"===typeof n?n:i.keyFn,o&&Object.keys(o).forEach((function(t){var i=r.getFieldPolicy(e,t,!0),n=o[t];if("function"===typeof n)i.read=n;else{var s=n.keyArgs,c=n.read,u=n.merge;i.keyFn=!1===s?J:Array.isArray(s)?ee(s):"function"===typeof s?s:i.keyFn,"function"===typeof c&&(i.read=c),a(i,u)}i.read&&i.merge&&(i.keyFn=i.keyFn||J)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[r];t!==i&&(__DEV__?(0,l.kG)(!i||i===e,"Cannot change root "+e+" __typename more than once"):(0,l.kG)(!i||i===e,2),i&&delete this.rootIdsByTypename[i],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 i=e.match(_.$O);i&&i[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!_.RI.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);n&&n.size&&n.forEach((function(e){var n=t.getTypePolicy(e),o=n.fields,a=(0,i._T)(n,["fields"]);Object.assign(r,a),Object.assign(r.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var i=this.getTypePolicy(e).fields;return i[t]||r&&(i[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,i){var n=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 a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=n.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},u=!(!r||!this.fuzzySubtypes.size),f=!1,h=0;h<s.length;++h){var p=s[h];if(p.has(o))return a.has(o)||(f&&__DEV__&&l.kG.warn("Inferring subtype "+t+" of supertype "+o),a.add(o)),!0;p.forEach(c),u&&h===s.length-1&&(0,_.RC)(e.selectionSet,r,i)&&(u=!1,f=!0,this.fuzzySubtypes.forEach((function(e,r){var i=t.match(e);i&&i[0]===t&&c(r)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,i=e.fieldName,n=this.getFieldPolicy(r,i,!1),o=n&&n.keyFn;if(o&&r)for(var a={typename:r,fieldName:i,field:e.field||null,variables:e.variables},s=U(e);o;){var u=o(s,a);if(!Array.isArray(u)){t=u||i;break}o=ee(u)}return void 0===t&&(t=e.field?(0,c.vf)(e.field,e.variables):(0,c.PT)(i,U(e))),!1===t?i:i===(0,_.
1E_)(t)?t:i+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var i=t.store.getFieldValue(r,"__typename");i&&(e.typename=i)}var n=this.getStoreFieldName(e),o=(0,_.E_)(n),a=t.store.getFieldValue(r,n),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var l=$(this,r,e,t,t.store.getStorage((0,c.Yk)(r)?r.__ref:r,n));return z.ab.withValue(this.cache,u,[a,l])}return a}},e.prototype.getMergeFunction=function(e,t,r){var i=this.getFieldPolicy(e,t,!1),n=i&&i.merge;return!n&&r&&(n=(i=this.getTypePolicy(r))&&i.merge),n},e.prototype.runMergeFunction=function(e,t,r,i,n){var o=r.field,a=r.typename,s=r.merge;return s===H?X(i.store)(e,t):s===K?t:(i.overwrite&&(e=void 0),s(e,t,$(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:i.variables},i,n||Object.create(null))))},e}();function $(e,t,r,n,o){var a=e.getStoreFieldName(r),s=(0,_.E_)(a),u=r.variables||n.variables,f=n.store,h=f.toReference,p=f.canRead;return{args:U(r),field:r.field||null,fieldName:s,storeFieldName:a,variables:u,isReference:c.Yk,toReference:h,storage:o,cache:e.cache,canRead:p,readField:function(r,o){var a;if("string"===typeof r)a={fieldName:r,from:arguments.length>1?o:t};else{if(!(0,g.s)(r))return void(__DEV__&&l.kG.warn("Unexpected readField arguments: "+(0,W.v)(Array.from(arguments))));a=(0,i.pi)({},r),_.RI.call(r,"from")||(a.from=t)}return __DEV__&&void 0===a.from&&__DEV__&&l.kG.warn("Undefined 'from' passed to readField with arguments "+(0,W.v)(Array.from(arguments))),void 0===a.variables&&(a.variables=u),e.readField(a,n)},mergeObjects:X(n.store)}}function X(e){return function(t,r){if(Array.isArray(t)||Array.isArray(r))throw __DEV__?new l.ej("Cannot automatically merge arrays"):new l.ej(3);if((0,g.s)(t)&&(0,g.s)(r)){var n=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(n&&o&&n!==o)return r;if((0,c.Yk)(t)&&(0,_.j)(r))return e.merge(t.__ref,r),t;if((0,_.j)(t)&&(0,c.Yk)(r))return e.merge(t,r.__ref),r;if((0,_.j)(t)&&(0,_.j)(r))return(0,i.pi)((0,i.pi)({},t),r)}return r}}function ee(e){return function(t,r){return t?r.fieldName+":"+JSON.stringify(ie(t,e,!1)):r.fieldName}}function te(e){var t=new b.B(f.mr);return function(r,i){var n;if(i.selectionSet&&i.fragmentMap){var o=t.lookupArray([i.selectionSet,i.fragmentMap]);n=o.aliasMap||(o.aliasMap=re(i.selectionSet,i.fragmentMap))}var a=i.keyObject=ie(r,e,!0,n);return i.typename+":"+JSON.stringify(a)}}function re(e,t){var r=Object.create(null),i=new Set([e]);return i.forEach((function(e){e.selections.forEach((function(e){if((0,c.My)(e)){if(e.alias){var n=e.alias.value,o=e.name.value;if(o!==n)(r.aliases||(r.aliases=Object.create(null)))[o]=n}if(e.selectionSet)(r.subsets||(r.subsets=Object.create(null)))[e.name.value]=re(e.selectionSet,t)}else{var a=(0,d.hi)(e,t);a&&i.add(a.selectionSet)}}))})),r}function ie(e,t,r,i){var n,o,a=Object.create(null);return t.forEach((function(t){if(Array.isArray(t)){if("string"===typeof o&&"string"===typeof n){var s=i&&i.subsets,c=s&&s[o];a[o]=ie(e[n],t,r,c)}}else{var u=i&&i.aliases,f=u&&u[t]||t;_.RI.call(e,f)?a[o=t]=e[n=f]:(__DEV__?(0,l.kG)(!r,"Missing field '"+f+"' while computing key fields"):(0,l.kG)(!r,4),n=o=void 0)}})),a}var ne=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=z.QS,r.txCount=0,r.config=(0,_.jS)(t),r.addTypename=!!r.config.addTypename,r.policies=new Z({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,i.ZT)(t,e),t.prototype.init=function(){var e=this.data=new O.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;this.storeWriter=new j(this,this.storeReader=new C({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,_.lg)(this.config),canon:e?void 0:r&&r.canon})),this.maybeBroadcastWatch=(0,n.re)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(P(r)){var i=e.optimistic,n=e.rootId,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,T.B)({optimistic:i,rootId:n,variables:o}))}}}
1),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,i.pi)((0,i.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(n){if(n instanceof s.y)return null;throw n}},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(_.RI.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,i.pi)((0,i.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,z._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,z.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){T.B.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){return(0,c.Yk)(e)?e.__ref:this.policies.identify(e)[0]},t.prototype.evict=function(e){if(!e.id){if(_.RI.call(e,"id"))return!1;e=(0,i.pi)((0,i.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),T.B.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,z.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t=this,r=e.update,n=e.optimistic,o=void 0===n||n,a=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var i=t,n=i.data,o=i.optimisticData;++t.txCount,e&&(t.data=t.optimisticData=e);try{r(t)}finally{--t.txCount,t.data=n,t.optimisticData=o}},u=new Set;s&&!this.txCount&&this.broadcastWatches((0,i.pi)((0,i.pi)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"===typeof o?this.optimisticData=this.optimisticData.addLayer(o,c):!1===o?c(this.data):c(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&u.size?(this.broadcastWatches((0,i.pi)((0,i.pi)({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&u.delete(e),r}})),u.size&&u.forEach((function(e){return t.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e)},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=(0,u.Gw)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,i=this.diff(e);t&&(e.optimistic&&"string"===typeof t.optimistic&&(i.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,i,r))||r&&(0,o.D)(r.result,i.result)||e.callback(e.lastDiff=i,r)},t}(a.R)},45138:function(e,t,r){r.d(t,{h:function(){return u},B:function(){return l}});var i=r(56852),n=(r(28790),r(95573)),o=r(66233),a=r(52206);var s,c,u=function(){function e(){this.known=new(a.sy?WeakSet:Set),this.pool=new n.B(a.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.s)(e)){var t=function(e){return(0,o.s)(e)?Array.isArray(e)?e.slice(0):(0,i.pi)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,o.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var i=e.map(this.admit,this);return(c=this.pool.lookupArray(i)).array||(this.known.add(c.array=i),__DEV__&&Object.freeze(i)),c.array;case null:case Object.prototype:if(this.known.has(e))return e;var n=Object.getPrototypeOf(e),a=[n],s=this.sortedKeys(e);a.push(s.json);var c,u=a.length;if(s.sorted.forEach((function(r){a.push(t.admit(e[r]))})),!(c=this.pool.lookupArray(a)).object){var l=c.object=Object.create(n);this.known.add(l),s.sorted.forEach((function(e,t){l[e]=a[u+t]})),__DEV__&&Object.freeze(l)}return c.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var i=JSON.stringify(t);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:t,json:i})}return r.keys},e}(),l=Object.assign((function(e){if((0,o.s)(e)){void 0===s&&f();var t=s.admit(e),r=c.get(t);return void 0===r&&c.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:f});function f(){s=new u,c=new(a.mr?WeakMap:Map)}},90572:function(e,t,r){r.d(t,{ab:function(){return n},li:function(){return s},_v:function(){return c},QS:function(){return u}});var i=r(10451),n=new(r(54694).g7),o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,i.dP)()}),t}
1function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,r=new Set,i=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(i),l(e)}));var c=Array.from(r);r.clear(),c.forEach((function(t){return t(e)}))}}else{var u=n.getValue();u&&(o(u),a(u).dep(i))}return e};i.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=i.attachCache=function(e){return t.add(e),a(e).vars.add(i),i};return i.forgetCache=function(e){return t.delete(e)},i}function l(e){e.broadcastWatches&&e.broadcastWatches()}},66345:function(e,t,r){r.d(t,{f:function(){return N},J:function(){return L}});var i=r(56852),n=r(28790),o=r(25055),a=r(13380),s=r(63831),c=r(28934),u=r(7701),l=r(42434),f=r(45138),h=r(52206),p=r(5522),d=r(3435),y=r(26469),v=r(15260),m=r(20191),g=r(59916),b=r(66233),_=r(85298),k=r(68640),w=r(87348),S=r(16094),O=r(84495),E=r(38988),R=r(81306),I=r(43165),D=r(77037),Q=r(33428),q=r(90572),P=function(){function e(e){var t=e.cache,r=e.client,i=e.resolvers,n=e.fragmentMatcher;this.cache=t,r&&(this.client=r),i&&this.addResolvers(i),n&&this.setFragmentMatcher(n)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,D.Ee)(t.resolvers,e)})):this.resolvers=(0,D.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,i.mG)(this,void 0,void 0,(function(){return(0,i.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,n,o,this.fragmentMatcher,s).then((function(e){return(0,i.pi)((0,i.pi)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,m.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,v.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,i.pi)((0,i.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,i.mG)(this,void 0,void 0,(function(){return(0,i.Jh)(this,(function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,i.pi)((0,i.pi)({},t),e.exportedVariables)}))]:[2,(0,i.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,I.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return I.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,v.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,o,a){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,i.mG)(this,void 0,void 0,(function(){var s,c,u,l,f,h,p,d,v;return(0,i.Jh)(this,(function(m){return s=(0,y.p$)(e),c=(0,y.kU)(e),u=(0,Q.F)(c),l=s.operation,f=l?l.charAt(0).toUpperCase()+l.slice(1):"Query",p=(h=this).cache,d=h.client,v={fragmentMap:u,context:(0,i.pi)((0,i.pi)({},r),{cache:p,client:d}),variables:n,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,t,v).then((function(e){return{result:e,exportedVariables:v.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return(0,i.mG)(this,void 0,void 0,(function(){var o,a,s,c,u,l=this;return(0,i.Jh)(this,(function(f){return o=r.fragmentMap,a=r.context,s=r.variables,c=[t],u=function(e){return(0,i.mG)(l,void 0,void 0,(function(){var u,l;return(0,i.Jh)(this,(function(i){return(0,m.LZ)(e,s)?(0,g.My)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;"undefined"!==typeof t&&c.push(((r={}
1)[(0,g.u2)(e)]=t,r))}))]:((0,g.Ao)(e)?u=e:(u=o[e.name.value],__DEV__?(0,n.kG)(u,"No fragment named "+e.name.value):(0,n.kG)(u,11)),u&&u.typeCondition&&(l=u.typeCondition.name.value,r.fragmentMatcher(t,l,a))?[2,this.resolveSelectionSet(u.selectionSet,t,r).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(u)).then((function(){return(0,D.bw)(c)}))]}))}))},e.prototype.resolveField=function(e,t,r){return(0,i.mG)(this,void 0,void 0,(function(){var n,o,a,s,c,u,l,f,h,p=this;return(0,i.Jh)(this,(function(i){return n=r.variables,o=e.name.value,a=(0,g.u2)(e),s=o!==a,c=t[a]||t[o],u=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=t.__typename||r.defaultOperationType,(f=this.resolvers&&this.resolvers[l])&&(h=f[s?o:a])&&(u=Promise.resolve(q.ab.withValue(this.cache,h,[t,(0,g.NC)(e,n),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,u.then((function(t){return void 0===t&&(t=c),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&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?p.resolveSubSelectedArray(e,t,r):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var i=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?i.resolveSubSelectedArray(e,t,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}(),T=new(h.mr?WeakMap:Map);function M(e,t){var r=e[t];"function"===typeof r&&(e[t]=function(){return T.set(e,(T.get(e)+1)%1e15),r.apply(this,arguments)})}function F(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var C=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;T.has(r)||(T.set(r,0),M(r,"evict"),M(r,"modify"),M(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||R.I.loading;return this.variables&&this.networkStatus!==R.I.loading&&!(0,l.D)(this.variables,e.variables)&&(t=R.I.setVariables),(0,l.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){F(this),this.lastDiff=void 0,this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,l.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var i=this.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?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,l.D)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():e.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var e=this;F(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,R.O)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,i.pi)((0,i.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,l.D)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===T.get(this.cache)&&(0,l.D)(t,r.variables)&&(0,l.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r){var i=this;this.graphQLErrors=(0,S.O)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(t.variables)):0!==r&&(x(e,t.errorPolicy)?this.cache.performTransaction((function(n){if(i.shouldWrite(e,t.variables))n.writeQuery({query:i.document,data:e.data,variables:t.variables,overwrite:1===r}),i.lastWrite={result:e,variables:t.variables,dmCount:T.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var o=i.getDiffOptions(t.variables),a=n.diff(o);i.stopped||i.updateWatch(t.variables),i.updateLastDiff(a,o),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=R.I.ready},e.prototype.markError=function(e){return this.networkStatus=R.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function x(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,i=!(0,d.d)(e);return!i&&r&&e.data&&(i=!0),i}var j=Object.prototype.hasOwnProperty,A=function(){function e(e){var t=e.cache,r=e.link,i=e.queryDeduplication,n=void 0!==i&&i,o=e.onBroadcast,a=e.ssrMode,s=void 0!==a&&a,c=e.clientAwareness,u=void 0===c?{}:c,l=e.localState,f=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(h.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.queryDeduplication=n,this.clientAwareness=u,this.localState=l||new P({cache:t}),this.ssrMode=s,this.assumeImmutableResults=!!f,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches(__DEV__?new n.ej("QueryManager stopped while query was in flight"):new n.ej(13))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,o=e.optimisticResponse,a=e.updateQueries,s=e.refetchQueries,c=void 0===s?[]:s,u=e.awaitRefetchQueries,l=void 0!==u&&u,f=e.update,h=e.onQueryUpdated,y=e.errorPolicy,v=void 0===y?"none":y,m=e.fetchPolicy,g=void 0===m?"network-only":m,b=e.keepRootFields,_=e.context;return(0,i.mG)(this,void 0,void 0,(function(){var e,s,u;return(0,i.Jh)(this,(function(y){switch(y.label){case 0:return __DEV__?(0,n.kG)(t,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,n.kG)(t,14),__DEV__?(0,n.kG)("network-only"===g||"no-cache"===g,"Mutations support only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,n.kG)("network-only"===g||"no-cache"===g,15),e=this.generateMutationId(),t=this.transform(t).document,r=this.getVariables(t,r),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,r,_)]:[3,2];case 1:r=y.sent(),y.label=2;case 2:return s=this.mutationStore&&(this.mutationStore[e]={mutation:t,variables:r,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:e,document:t,variables:r,fetchPolicy:g,errorPolicy:v,context:_,updateQueries:a,update:f,keepRootFields:b}),this.broadcastQueries(),u=this,[2,new Promise((function(n,y){return(0,p.s)(u.getObservableFromLink(t,(0,i.pi)((0,i.pi)({},_),{optimisticResponse:o}),r,!1),(function(n){if((0,d.d)(n)&&"none"===v)throw new O.c({graphQLErrors:n.errors});s&&(s.loading=!1,s.error=null);var p=(0,i.pi)({},n);return"function"===typeof c&&(c=c(p)),"ignore"===v&&(0,d.d)(p)&&delete p.errors,u.markMutationResult({mutationId:e,result:p,document:t,variables:r,fetchPolicy:g,errorPolicy:v,context:_,update:f,updateQueries:a,awaitRefetchQueries:l,refetchQueries:c,removeOptimistic:o?e:void 0,onQueryUpdated:h,keepRootFields:b})})).subscribe({next:function(e){u.broadcastQueries(),n(e)},error:function(t){s&&(s.loading=!1,s.error=t),o&&u.cache.removeOptimistic(e),u.broadcastQueries(),y(t instanceof O.c?t:new O.c({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&x(n,e.errorPolicy)){o.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables});var s=e.updateQueries;
1s&&this.queries.forEach((function(e,i){var a=e.observableQuery,c=a&&a.queryName;if(c&&j.call(s,c)){var u=s[c],l=r.queries.get(i),f=l.document,h=l.variables,p=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),d=p.result;if(p.complete&&d){var v=u(d,{mutationResult:n,queryName:f&&(0,y.rY)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach((function(e){return t.write(e)}));var s=e.update;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&(n=(0,i.pi)((0,i.pi)({},n),{data:c.result}))}s(t,n,{context:e.context,variables:e.variables})}a||e.keepRootFields||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,i=t.DELETE;return"__typename"===r?e:i}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return c.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then((function(){return n}))}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"===typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,i.pi)((0,i.pi)({},t),{result:{data:o}}),e)}catch(a){__DEV__&&n.kG.error(a)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).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){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),n=(0,v.Fo)(this.cache.transformForLink(r)),o=this.localState.clientQuery(r),a=n&&this.localState.serverQuery(n),s={document:r,hasClientExports:(0,m.mj)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:o,serverQuery:a,defaultVars:(0,y.O4)((0,y.$H)(r)),asQuery:(0,i.pi)((0,i.pi)({},r),{definitions:r.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,i.pi)((0,i.pi)({},e),{operation:"query"}):e}))})},c=function(e){e&&!t.has(e)&&t.set(e,s)};c(e),c(r),c(o),c(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,i.pi)((0,i.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=(0,i.pi)((0,i.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new C(this),r=new E.ue({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:e.query,observableQuery:r,variables:e.variables}),r},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,n.kG)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,n.kG)(e.query,16),__DEV__?(0,n.kG)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,n.kG)("Document"===e.query.kind,17),__DEV__?(0,n.kG)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,n.kG)(!e.returnPartialData,18),__DEV__?(0,n.kG)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,n.kG)(!e.pollInterval,19),this.fetchQuery(t,e).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches(__DEV__?new n.ej("Store reset while query was in flight (not completed in link chain)"):new n.ej(20)),this.queries.forEac
1h((function(e){e.observableQuery?e.networkStatus=R.I.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?o.set(e,!1):(0,g.JW)(e)?o.set(t.transform(e).document,!1):(0,b.s)(e)&&e.query&&a.add(e)})),this.queries.forEach((function(t,i){var n=t.observableQuery,a=t.document;if(n){if("all"===e)return void r.set(i,n);var s=n.queryName;if("standby"===n.options.fetchPolicy||"active"===e&&!n.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(r.set(i,n),s&&o.set(s,!0),a&&o.set(a,!0))}})),a.size&&a.forEach((function(e){var o=(0,_.X)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new E.ue({queryManager:t,queryInfo:a,options:(0,i.pi)((0,i.pi)({},e),{fetchPolicy:"network-only"})});(0,n.kG)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)})),__DEV__&&o.size&&o.forEach((function(e,t){e||__DEV__&&n.kG.warn("Unknown query "+("string"===typeof t?"named ":"")+JSON.stringify(t,null,2)+" requested in refetchQueries options.include array")})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(i,n){var o=i.options.fetchPolicy;i.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(i.refetch()),t.getQuery(n).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,i=e.fetchPolicy,n=e.errorPolicy,o=e.variables,a=e.context,s=void 0===a?{}:a;r=this.transform(r).document,o=this.getVariables(r,o);var c=function(e){return t.getObservableFromLink(r,s,e).map((function(o){if("no-cache"!==i&&(x(o,n)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),(0,d.d)(o))throw new O.c({graphQLErrors:o.errors});return o}))};if(this.transform(r).hasClientExports){var u=this.localState.addExportedVariables(r,o,s).then(c);return new k.y((function(e){var t=null;return u.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return c(o)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.getQuery(e).stop(),this.queries.delete(e)},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var o,s,c=this;void 0===n&&(n=null!==(o=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.transform(e).serverQuery;if(u){var l=this.inFlightLinkObservables,h=this.link,d={query:u,variables:r,operationName:(0,y.rY)(u)||void 0,context:this.prepareContext((0,i.pi)((0,i.pi)({},t),{forceFetch:!n}))};if(t=d.context,n){var v=l.get(u)||new Map;l.set(u,v);var m=(0,f.B)(r);if(!(s=v.get(m))){var g=new w.X([(0,a.h)(h,d)]);v.set(m,s=g),g.cleanup((function(){v.delete(m)&&v.size<1&&l.delete(u)}))}}else s=new w.X([(0,a.h)(h,d)])}else s=new w.X([k.y.of({data:{}})]),t=this.prepareContext(t);var b=this.transform(e).clientQuery;return b&&(s=(0,p.s)(s,(function(e){return c.localState.runResolvers({document:b,remoteResult:e,context:t,variables:r})}))),s},e.prototype.getResultsFromLink=function(e,t,r){var i=e.lastRequestId=this.generateRequestId();return(0,p.s)(this.getObservableFromLink(e.document,r.context,r.variables),(function(n){var o=(0,S.O)(n.errors);if(i>=e.lastRequestId){if(o&&"none"===r.errorPolicy)throw e.markError(new O.c({graphQLErrors:n.errors}));e.markResult(n,r,t),e.markReady()}var a={data:n.data,loading:!1,networkStatus:e.networkStatus||R.I.ready};return o&&"ignore"!==r.errorPolicy&&(a.errors=n.errors),a}),(function(t){var r=(0,O.M)(t)?t:new O.c({networkError:t});throw i>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchQueryObservable=function(e,t,r){var i=this;void 0===r&&(r=R.I.loading);var n=this.transform(t.query).document,o=this.getVariables(n,t.variables),a=this.getQuery(e),s=t.fetchPolicy,c=void 0===s?"cache-first":s,u=t.errorPolicy,l=void 0===u?"none":u,f=t.returnPartialData,h=void 0!==f&&f,p=t.notifyOnNetworkStatusChange,d=void 0!==p&&p,y=t.context,v=void 0===y?{}:y,m=Object.assign({},t,{query:n,variables:o,fetchPolicy:c,errorPolicy:l,returnPartialData:h,notifyOnNetworkStatusChange:d,context:v}),g=function(e){return m.variables=e,i.fetchQueryByPolicy(a,m,r)};this.fetchCancelFns.set(e,(function(e){setTimeout((function(){return b.cancel(e)}))}));var b=new w.X(this.transform(m.query).hasClientExports?this.localState.addExportedVariables(m.query,m.variables,m.context).then(g):g(m.variables));return b.cleanup((function(){i.fetchCancelFns.delete(e),(0,E.fb)(t)})),b},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,i=e.include,n=e.optimistic,o=void 0!==n&&n,a=e.removeOptimistic,s=void 0===a?o?(0,_.X)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;
1i&&this.getObservableQueries(i).forEach((function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var i=e.watcher instanceof C&&e.watcher.observableQuery;if(i){if(c){u.delete(i.queryId);var n=c(i,t,r);return!0===n&&(n=i.refetch()),!1!==n&&l.set(i,n),!1}null!==c&&u.set(i.queryId,{oq:i,lastDiff:r,diff:t})}}}),u.size&&u.forEach((function(e,r){var i,n=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=n.queryInfo;s.reset(),a=s.getDiff()}i=c(n,a,o)}c&&!0!==i||(i=n.refetch()),!1!==i&&l.set(n,i),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,o=t.query,a=t.variables,s=t.fetchPolicy,c=t.refetchWritePolicy,u=t.errorPolicy,f=t.returnPartialData,h=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var y=function(){return e.getDiff(a)},v=function(t,r){void 0===r&&(r=e.networkStatus||R.I.loading);var s=t.result;!__DEV__||f||(0,l.D)(s,{})||(0,E.DC)(t.missing);var c=function(e){return k.y.of((0,i.pi)({data:e,loading:(0,R.O)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&n.transform(o).hasForcedResolvers?n.localState.runResolvers({document:o,remoteResult:{data:s},context:h,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):c(s)},m="no-cache"===s?0:r===R.I.refetch&&"merge"!==c?1:2,g=function(){return n.getResultsFromLink(e,m,{variables:a,context:h,fetchPolicy:s,errorPolicy:u})},b=p&&"number"===typeof d&&d!==r&&(0,R.O)(r);switch(s){default:case"cache-first":return(_=y()).complete?[v(_,e.markReady())]:f||b?[v(_),g()]:[g()];case"cache-and-network":var _;return(_=y()).complete||f||b?[v(_),g()]:[g()];case"cache-only":return[v(y(),e.markReady())];case"network-only":return b?[v(y()),g()]:[g()];case"no-cache":return b?[v(e.getDiff()),g()]:[g()];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new C(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,i.pi)((0,i.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),V=!1;function L(e,t){return(0,s.o)(e,t,t.variables&&{variables:(0,i.pi)((0,i.pi)({},e.variables),t.variables)})}var N=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,i=e.credentials,a=e.headers,s=e.cache,l=e.ssrMode,f=void 0!==l&&l,h=e.ssrForceFetchDelay,p=void 0===h?0:h,d=e.connectToDevTools,y=void 0===d?"object"===typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:d,v=e.queryDeduplication,m=void 0===v||v,g=e.defaultOptions,b=e.assumeImmutableResults,_=void 0!==b&&b,k=e.resolvers,w=e.typeDefs,S=e.fragmentMatcher,O=e.name,E=e.version,R=e.link;if(R||(R=r?new u.u({uri:r,credentials:i,headers:a}):o.i.empty()),!s)throw __DEV__?new n.ej("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new n.ej(9);if(this.link=R,this.cache=s,this.disableNetworkFetches=f||p>0,this.queryDeduplication=m,this.defaultOptions=g||{},this.typeDefs=w,p&&setTimeout((function(){return t.disableNetworkFetches=!1}),p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),y&&"object"===typeof window&&(window.__APOLLO_CLIENT__=this),!V&&__DEV__&&(V=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var I=window.navigator,D=I&&I.userAgent,Q=void 0;"string"===typeof D&&(D.indexOf("Chrome/")>-1?Q="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":D.indexOf("Firefox/")>-1&&(Q="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),Q&&__DEV__&&n.kG.log("Download the Apollo DevTools for a better development experience: "+Q)}this.version=c.i,this.localState=new P({cache:s,client:this,resolvers:k,fragmentMatcher:S}),this.queryManager=new A({cache:this.cache,link:this.link,queryDeduplication:m,ssrMode:f,clientAwareness:{name:O,version:E},localState:this.localState,assumeImmutableResults:_,onBroadcast:y?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=L(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,i.pi)((0,i.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=L(this.defaultOptions.query,e)),__DEV__?(0,n.kG)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,n.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,i.pi)((0,i.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=L(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,a.h)(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=[],i=[];t.forEach((function(e,t){r.push(t),i.push(e)}));var o=Promise.all(i);return o.queries=r,o.results=i,o.catch((function(e){__DEV__&&n.kG.debug("In client.refetchQueries, Promise.all promise rejected with error "+e)})),o},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},e}()},38988:function(e,t,r){r.d(t,{ue:function(){return m},DC:function(){return b},fb:function(){return _}});var i=r(56852),n=r(28790),o=r(42434),a=r(81306),s=r(26469),c=r(92512),u=r(16094),l=r(63831),f=r(88580),h=r(68640),p=r(78756),d=Object.assign,y=Object.hasOwnProperty,v=!1,m=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,n=t.options,o=e.call(this,(function(e){try{var r=e._subscription._observer;r&&!r.error&&(r.error=g)}catch(t){}var i=!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(n.result),i&&o.reobserve().catch((function(){})),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}}))||this;o.observers=new Set,o.subscriptions=new Set,o.isTornDown=!1,o.options=n,o.queryId=i.queryId||r.generateQueryId();var a=(0,s.$H)(n.query);return o.queryName=a&&a.name&&a.name.value,o.initialFetchPolicy=n.fetchPolicy||"cache-first",o.queryManager=r,o.queryInfo=i,o}return(0,i.ZT)(t,e),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables}
1,enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var i={next:function(r){t(r),e.observers.delete(i),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){n.unsubscribe()}),0)},error:r},n=e.subscribe(i)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||a.I.ready,n=(0,i.pi)((0,i.pi)({},t),{loading:(0,a.O)(r),networkStatus:r}),s=this.options.fetchPolicy,c=void 0===s?"cache-first":s;if((t||"network-only"!==c&&"no-cache"!==c&&"standby"!==c)&&!this.queryManager.transform(this.options.query).hasForcedResolvers){var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(n.data=u.result),(0,o.D)(n.data,{})&&(n.data=void 0),u.complete?(n.networkStatus!==a.I.loading||"cache-first"!==c&&"cache-only"!==c||(n.networkStatus=a.I.ready,n.loading=!1),delete n.partial):"no-cache"!==c&&(n.partial=!0),!__DEV__||u.complete||this.options.partialRefetch||n.loading||n.data||n.error||b(u.missing)}return e&&this.updateLastResult(n),n},t.prototype.isDifferentFromLastResult=function(e){return!this.last||!(0,o.D)(this.last.result,e)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},c=this.options.fetchPolicy;if("no-cache"===c?r.fetchPolicy="no-cache":"cache-and-network"!==c&&(r.fetchPolicy="network-only"),__DEV__&&e&&y.call(e,"variables")){var u=(0,s.iW)(this.options.query),l=u.variableDefinitions;l&&l.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&n.kG.warn("Called refetch("+JSON.stringify(e)+") for query "+((null===(t=u.name)||void 0===t?void 0:t.value)||JSON.stringify(u))+", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?")}return e&&!(0,o.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,i.pi)((0,i.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.I.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,i.pi)((0,i.pi)({},e.query?e:(0,i.pi)((0,i.pi)((0,i.pi)({},this.options),e),{variables:(0,i.pi)((0,i.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),o=this.queryManager.generateQueryId();return r.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=a.I.fetchMore,this.observe()),this.queryManager.fetchQuery(o,r,a.I.fetchMore).then((function(i){var o=i.data,a=e.updateQuery;return a?(__DEV__&&!v&&(__DEV__&&n.kG.warn("The updateQuery callback for fetchMore is deprecated, and will be removed\nin the next major version of Apollo Client.\n\nPlease convert updateQuery functions to field policies with appropriate\nread and merge functions, or use/adapt a helper function (such as\nconcatPagination, offsetLimitPagination, or relayStylePagination) from\n@apollo/client/utilities.\n\nThe field policy system handles pagination more effectively than a\nhand-written updateQuery function, and you only need to define the policy\nonce, rather than every time you call fetchMore."),v=!0),t.updateQuery((function(e){return a(e,{fetchMoreResult:o,variables:r.variables})}))):t.queryManager.cache.writeQuery({query:r.query,variables:r.variables,data:o}),i})).finally((function(){t.queryManager.stopQuery(o),t.reobserve()}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery((function(e,t){var n=t.variables;return i(e,{subscriptionData:r,variables:n})}))},error:function(t){e.onError?e.onError(t):__DEV__&&n.kG.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,o.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.initialFetchPolicy,variables:e},a.I.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r){if(!t||t.interval!==r){__DEV__?(0,n.kG)(r,"Attempted to start a polling query without a polling interval."):(0,n.kG)(r,12),(t||(this.pollingInfo={})).interval=r;var i=function(){e.pollingInfo&&((0,a.O)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"network-only"},a.I.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(i,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,i.pi)((0,i.pi)({},this.last),{result:this.queryManager.assumeImmutableResults?e:(0,
1c.X)(e),variables:t}),(0,u.O)(e.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(e,t){var r=this;this.isTornDown=!1;var n=t===a.I.refetch||t===a.I.fetchMore||t===a.I.poll,s=this.options.variables,c=n?(0,l.o)(this.options,e):d(this.options,(0,l.o)(e));n||(this.updatePolling(),e&&e.variables&&!e.fetchPolicy&&!(0,o.D)(e.variables,s)&&(c.fetchPolicy=this.initialFetchPolicy,void 0===t&&(t=a.I.setVariables)));var u=c.variables&&(0,i.pi)({},c.variables),f=this.fetch(c,t),h={next:function(e){r.reportResult(e,u)},error:function(e){r.reportError(e,u)}};return n||(this.concast&&this.observer&&this.concast.removeObserver(this.observer,!0),this.concast=f,this.observer=h),f.addObserver(h),f.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){(this.getLastError()||this.isDifferentFromLastResult(e))&&(this.updateLastResult(e,t),(0,f.p)(this.observers,"next",e))},t.prototype.reportError=function(e,t){var r=(0,i.pi)((0,i.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.I.error,loading:!1});this.updateLastResult(r,t),(0,f.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(h.y);function g(e){__DEV__&&n.kG.error("Unhandled error",e.message,e.stack)}function b(e){__DEV__&&(0,u.O)(e)&&__DEV__&&n.kG.debug("Missing cache result fields: "+e.map((function(e){return e.path.join(".")})).join(", "),e)}function _(e){var t=e.fetchPolicy,r=void 0===t?"cache-first":t,i=e.nextFetchPolicy;i&&(e.fetchPolicy="function"===typeof i?i.call(e,r):i)}(0,p.D)(m)},41282:function(e,t,r){r.r(t),r.d(t,{ApolloCache:function(){return u.R},ApolloClient:function(){return o.f},ApolloError:function(){return c.c},ApolloLink:function(){return d.i0},Cache:function(){return i},HttpLink:function(){return y.HttpLink},InMemoryCache:function(){return l.h},MissingFieldError:function(){return f.y},NetworkStatus:function(){return s.I},Observable:function(){return _.y},ObservableQuery:function(){return a.ue},applyNextFetchPolicy:function(){return a.fb},checkFetcher:function(){return y.checkFetcher},concat:function(){return d.zo},createHttpLink:function(){return y.createHttpLink},createSignalIfSupported:function(){return y.createSignalIfSupported},defaultDataIdFromObject:function(){return h.uG},disableExperimentalFragmentVariables:function(){return S.J9},disableFragmentWarnings:function(){return S._t},empty:function(){return d.cS},enableExperimentalFragmentVariables:function(){return S.wO},execute:function(){return d.ht},fallbackHttpConfig:function(){return y.fallbackHttpConfig},from:function(){return d.Dp},fromError:function(){return v.Q},fromPromise:function(){return g.p},gql:function(){return S.Ps},isApolloError:function(){return c.M},isReference:function(){return k.Yk},makeReference:function(){return k.kQ},makeVar:function(){return p.QS},mergeOptions:function(){return o.J},parseAndCheckHttpResponse:function(){return y.parseAndCheckHttpResponse},resetCaches:function(){return S.HW},rewriteURIForGET:function(){return y.rewriteURIForGET},selectHttpOptionsAndBody:function(){return y.selectHttpOptionsAndBody},selectURI:function(){return y.selectURI},serializeFetchParameter:function(){return y.serializeFetchParameter},setLogVerbosity:function(){return w.U6},split:function(){return d.Vl},throwServerError:function(){return b.P},toPromise:function(){return m.V}});var i,n=r(28790),o=r(66345),a=r(38988),s=r(81306),c=r(84495);i||(i={});var u=r(92829),l=r(16564),f=r(90887),h=r(25971),p=r(90572),d=r(2931),y=r(65232),v=r(267),m=r(88146),g=r(5441),b=r(88007),_=r(68640),k=r(59916),w=r(42082),S=r(72594);(0,w.U6)(n.Rk?"log":"silent")},81306:function(e,t,r){var i;function n(e){return!!e&&e<7}r.d(t,{I:function(){return i},O:function(){return n}}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(i||(i={}))},94245:function(e,t,r){const{ApolloLink:i,Observable:n}=r(41282),{createSignalIfSupported:o,fallbackHttpConfig:a,parseAndCheckHttpResponse:s,rewriteURIForGET:c,selectHttpOptionsAndBody:u,selectURI:l,serializeFetchParameter:f}
1=r(65232),h=r(49193),p=r(90719),d=r(51282);e.exports=function({uri:e="/graphql",useGETForQueries:t,isExtractableFile:r=d,FormData:y,formDataAppendFile:v=p,fetch:m,fetchOptions:g,credentials:b,headers:_,includeExtensions:k}={}){const w={http:{includeExtensions:k},options:g,credentials:b,headers:_};return new i((i=>{const p=i.getContext(),{clientAwareness:{name:d,version:g}={},headers:b}=p,_={http:p.http,options:p.fetchOptions,credentials:p.credentials,headers:{...d&&{"apollographql-client-name":d},...g&&{"apollographql-client-version":g},...b}},{options:k,body:S}=u(i,a,w,_),{clone:O,files:E}=h(S,"",r);let R=l(i,e);if(E.size){delete k.headers["content-type"];const e=new(y||FormData);e.append("operations",f(O,"Payload"));const t={};let r=0;E.forEach((e=>{t[++r]=e})),e.append("map",JSON.stringify(t)),r=0,E.forEach(((t,i)=>{v(e,++r,i)})),k.body=e}else if(t&&!i.query.definitions.some((e=>"OperationDefinition"===e.kind&&"mutation"===e.operation))&&(k.method="GET"),"GET"===k.method){const{newURI:e,parseError:t}=c(R,S);if(t)return new n((e=>{e.error(t)}));R=e}else k.body=f(O,"Payload");const{controller:I}=o();I&&(k.signal&&(k.signal.aborted?I.abort():k.signal.addEventListener("abort",(()=>{I.abort()}),{once:!0})),k.signal=I.signal);const D=m||fetch;return new n((e=>{let t;return D(R,k).then((e=>(i.setContext({response:e}),e))).then(s(i)).then((t=>{e.next(t),e.complete()})).catch((r=>{t||(r.result&&r.result.errors&&r.result.data&&e.next(r.result),e.error(r))})),()=>{t=!0,I&&I.abort()}}))}))}},90719:function(e){e.exports=function(e,t,r){e.append(t,r,r.name)}},51282:function(e,t,r){e.exports=r(27845)}}]);

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.