PageSourceSearch

https://bids.fordbrothersinc.com/vendor-61d29118.f246491f5580b0c32a7f.js

js fordbrothersinc.com collected 2026-09-28 10:58:02 UTC 139,882 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5070],{72440(e,t,r){r.d(t,{k:()=>a});var n=r(41161),i=r(81229),o=r(84005),a=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.LV)(o.ct)}return 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){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}()},20287(e,t,r){r.d(t,{Z:()=>i});var n=r(41161),i=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error)},57888(e,t,r){r.d(t,{$3:()=>f,I6:()=>v,T9:()=>w,Ui:()=>m,Xx:()=>y,d1:()=>O,gk:()=>b,iJ:()=>g,lq:()=>_,mv:()=>S,or:()=>p});var n=r(79912),i=r(84005),o=r(55786),a=r(68064),s=r(6224),u=r(51074),c=r(76034),l=r(67643),f=Object.prototype.hasOwnProperty;function h(e){return null==e}function p(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=h(n)?h(i)?void 0:{_id:i}:{id:n}),h(n)&&!h(i)&&(n=i),!h(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var d={dataIdFromObject:p,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,l.o)(d,e)}function y(e){var t=e.canonizeResults;return void 0===t?d.canonizeResults:t}function m(e,t){return(0,a.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var b=/^[_a-z][_0-9a-z]*/i;function g(e){var t=e.match(b);return t?t[0]:e}function w(e,t,r){return!!(0,c.U)(t)&&((0,u.c)(t)?t.every(function(t){return w(e,t,r)}):e.selections.every(function(e){if((0,a.dt)(e)&&(0,n.MS)(e,r)){var i=(0,a.ue)(e);return f.call(t,i)&&(!e.selectionSet||w(e.selectionSet,t[i],r))}return!0}))}function O(e){return(0,c.U)(e)&&!(0,a.A_)(e)&&!(0,u.c)(e)}function S(){return new s.ZI}function _(e,t){var r=(0,i.JG)((0,o.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},61422(e,t,r){r.d(t,{D:()=>ye});var n=r(41161),i=r(92145),o=r(81229),a=r(75779),s=r(72440),u=r(20287),c=r(53623),l=r(48272),f=r(68064),h=r(98052),p=r(42601),d=r(67643),v=r(55786),y=r(6224),m=r(79912),b=r(84005),g=r(3651),w=r(76034),O=r(20367),S=r(57888);function _(e){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_(e)}var k=Object.create(null),C=function(){return k},E=Object.create(null),T=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,g.G)((0,f.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,f.A_)(e)?r.has(e.__ref):"object"===_(e)},this.toReference=function(e,t){if("string"==typeof e)return(0,f.WU)(e);if((0,f.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,f.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},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),S.$3.call(this.data,e)){var r=this.data[e];if(r&&S.$3.call(r,t))return r[t]}return"__typename"===t&&S.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof q?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),S.$3.call(this.data,e)?this.data[e]:this instanceof q?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,f.A_)(e)&&(e=e.__ref),(0,f.A_)(t)&&(t=t.__ref);
1var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,1);var s=new y.ZI(F).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=(0,S.iJ)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof q||delete s[e]}}),!u.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,u=!0,c={DELETE:k,INVALIDATE:E,isReference:f.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,f.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach(function(l){var h=(0,S.iJ)(l),p=o[l];if(void 0!==p){var d="function"==typeof t?t:t[l]||t[h];if(d){var v=d===C?k:d((0,g.G)(p),(0,n.Cl)((0,n.Cl)({},c),{fieldName:h,storeFieldName:l,storage:r.getStorage(e,l)}));if(v===E)r.group.dirty(e,l);else if(v===k&&(v=void 0),v!==p&&(a[l]=v,s=!0,p=v,!1!==globalThis.__DEV__)){var y=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(2,e),!0};if((0,f.A_)(v))y(v);else if(Array.isArray(v))for(var m=!1,b=void 0,w=0,O=v;w<O.length;w++){var T=O[w];if((0,f.A_)(T)){if(m=!0,y(T))break}else if("object"===_(T)&&T)r.policies.identify(T)[0]&&(b=T);if(m&&void 0!==b){!1!==globalThis.__DEV__&&i.V1.warn(3,b);break}}}}void 0!==p&&(u=!1)}}),s)return this.merge(e,a),u&&(this instanceof q?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=C,n):C)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(S.$3.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof q&&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){S.$3.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&&S.$3.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);
1Object.keys(i).forEach(function(e){t.merge(e,i[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 q?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){S.$3.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 q;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!S.$3.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,f.A_)(e)&&(t[e.__ref]=!0),(0,w.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,w.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),R=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,o.yN)():null,this.keyMaker=new O.b(p.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(D(e,t));var r=(0,S.iJ)(t);r!==t&&this.d(D(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(D(e,t),"__exists"===t?"forget":"setDirty")},e}();function D(e,t){return t+"#"+e}function P(e,t){Q(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,o=t.seed,a=e.call(this,r,new R(i))||this;return a.stump=new x(a),a.storageTrie=new O.b(p.et),o&&a.replace(o),a}return(0,n.C6)(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}(T||(T={}));var q=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(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,a.L)(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,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return S.$3.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},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}(T),x=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new R(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(q);function F(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function Q(e){return!!(e instanceof T&&e.group.caching)}var I=r(51074),A=r(69768);function M(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var j=function(){function e(e){var t=this;this.knownResults=new(p.et?WeakMap:Map),this.config=(0,d.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,S.Xx)(e)}),this.canon=e.canon||new A.$,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=M(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(P(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize,keyArgs:M,makeCacheKey:function(e,t,r,n){if(Q(r.store))return r.store.makeCacheKey(e,(0,f.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return P(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(Q(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new A.$},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,c=void 0===s||s,l=e.canonizeResults,h=void 0===l?this.config.canonizeResults:l,p=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,v.wY)((0,v.AT)(r))),a);var d,y=(0,f.WU)(o),m=this.executeSelectionSet({selectionSet:(0,v.Vn)(r).selectionSet,objectOrReference:y,enclosingRef:y,context:(0,n.Cl)({store:t,query:r,policies:p,variables:a,varString:(0,A.M)(a),canonizeResults:h},(0,S.lq)(r,this.config.fragments))});if(m.missing&&(d=[new u.Z(V(m.missing),m.missing,r,a)],!c))throw d[0];return{result:m.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,r,n){if(Q(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=this,r=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,a=e.context;if((0,f.A_)(n)&&!a.policies.rootTypenamesById[n.__ref]&&!a.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var s,u=a.variables,c=a.policies,p=a.store.getFieldValue(n,"__typename"),d=[],v=new y.ZI;function w(e,t){var r;return e.missing&&(s=v.merge(s,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof p&&!c.rootIdsByTypename[p]&&d.push({__typename:p});var O=new Set(r.selections);O.forEach(function(e){var r,y;if((0,m.MS)(e,u))if((0,f.dt)(e)){var g=c.readField({fieldName:e.name.value,field:e,variables:a.variables,from:n},a),S=(0,f.ue)(e);void 0===g?l.XY.added(e)||(s=v.merge(s,((r={})[S]="Can't find field '".concat(e.name.value,"' on ").concat((0,f.A_)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,I.c)(g)?g=w(t.executeSubSelectedArray({field:e,array:g,enclosingRef:o,context:a}),S):e.selectionSet?null!=g&&(g=w(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:(0,f.A_)(g)?g:o,context:a}),S)):a.canonizeResults&&(g=t.canon.pass(g)),void 0!==g&&d.push(((y={})[S]=g,y))}else{var _=(0,b.HQ)(e,a.lookupFragment);if(!_&&e.kind===h.b.FRAGMENT_SPREAD)throw(0,i.vA)(9,e.name.value);_&&c.fragmentMatches(_,p)&&_.selectionSet.selections.forEach(O.add,O)}});var S={result:(0,y.IM)(d),missing:s},_=a.canonizeResults?this.canon.admit(S):(0,g.G)(S);return _.result&&this.knownResults.set(_.result,r),_},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new y.ZI;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,I.c)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,f.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);
1n.forEach(function(r){(0,w.U)(r)&&((0,i.V1)(!(0,f.A_)(r),10,(0,S.Ui)(e,r),t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function V(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}var L=r(78537),N=r(54844),U=r(13828),z=Object.create(null);function W(e){var t=JSON.stringify(e);return z[t]||(z[t]=Object.create(null))}function H(e){var t=W(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=K(e,function(e){var o=G(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&S.$3.call(t,e[0])&&(o=G(t,e,Y)),(0,i.V1)(void 0!==o,4,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function B(e){var t=W(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=K(e,function(e){var r=e[0],o=r.charAt(0);if("@"!==o)if("$"!==o){if(t)return G(t,e)}else{var a=r.slice(1);if(i&&S.$3.call(i,a)){var s=e.slice(0);return s[0]=a,G(i,s)}}else if(n&&(0,I.E)(n.directives)){var u=r.slice(1),c=n.directives.find(function(e){return e.name.value===u}),l=c&&(0,f.MB)(c,i);return l&&G(l,e.slice(1))}}),s=JSON.stringify(a);return(t||"{}"!==s)&&(o+=":"+s),o})}function K(e,t){var r=new y.ZI;return J(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function J(e){var t=W(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach(function(t,i){(0,I.c)(t)?(J(t).forEach(function(e){return r.push(n.concat(e))}),n.length=0):(n.push(t),(0,I.c)(e[i+1])||(r.push(n.slice(0)),n.length=0))})}return t.paths}function Y(e,t){return e[t]}function G(e,t,r){return r=r||Y,$(t.reduce(function e(t,n){return(0,I.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function $(e){return(0,w.U)(e)?(0,I.c)(e)?e.map($):K(Object.keys(e).sort(),function(t){return G(e,t)}):e}function X(e){return void 0!==e.args?e.args:e.field?(0,f.MB)(e.field,e.variables):null}f.o5.setStringify(A.M);var Z=function(){},ee=function(e,t){return t.fieldName},te=function(e,t,r){return(0,r.mergeObjects)(e,t)},re=function(e,t){return t},ne=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:S.or},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a,s=t&&t.storeObject||e,u=(0,n.Cl)((0,n.Cl)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=oe(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),l=c&&c.keyFn||this.config.dataIdFromObject;l;){var f=l((0,n.Cl)((0,n.Cl)({},e),s),u);if(!(0,I.c)(f)){a=f;break}l=H(f)}return a=a?String(a):void 0,u.keyObject?[a,u.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),S.$3.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?te:!1===t?re:e.merge}a(n,t.merge),n.keyFn=!1===i?Z:(0,I.c)(i)?H(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?ee:(0,I.c)(s)?B(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||ee)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,5,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(S.gk);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;
1if(!S.$3.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields,a=(0,n.Tt)(i,["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 n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},l=!(!r||!this.fuzzySubtypes.size),f=!1,h=0;h<u.length;++h){var p=u[h];if(p.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.V1.warn(6,t,a),s.add(a)),!0;p.forEach(c),l&&h===u.length-1&&(0,S.T9)(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[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,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=X(e);o;){var u=o(s,a);if(!(0,I.c)(u)){t=u||n;break}o=B(u)}return void 0===t&&(t=e.field?(0,f.Ii)(e.field,e.variables):(0,f.o5)(n,X(e))),!1===t?n:n===(0,S.iJ)(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),o=(0,S.iJ)(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=ie(this,r,e,t,t.store.getStorage((0,f.A_)(r)?r.__ref:r,i));return U.bl.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===te?ae(n.store)(e,t):s===re?t:(n.overwrite&&(e=void 0),s(e,t,ie(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ie(e,t,r,n,i){var o=e.getStoreFieldName(r),a=(0,S.iJ)(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:X(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:f.A_,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(oe(arguments,t,s),n)},mergeObjects:ae(n.store)}}function oe(e,t,r){var o,a=e[0],s=e[1],u=e.length;return"string"==typeof a?o={fieldName:a,from:u>1?s:t}:(o=(0,n.Cl)({},a),S.$3.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(7,(0,N.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function ae(e){return function(t,r){if((0,I.c)(t)||(0,I.c)(r))throw(0,i.vA)(8);if((0,w.U)(t)&&(0,w.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,f.A_)(t)&&(0,S.d1)(r))return e.merge(t.__ref,r),t;if((0,S.d1)(t)&&(0,f.A_)(r))return e.merge(t,r.__ref),r;if((0,S.d1)(t)&&(0,S.d1)(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function se(e){return se="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},se(e)}function ue(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var ce=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,u=t.dataId,c=t.variables,l=t.overwrite,h=(0,v.Vu)(o),p=(0,S.mv)();c=(0,n.Cl)((0,n.Cl)({},(0,v.wY)(h)),c);var d=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:c,varString:(0,A.M)(c)},(0,S.lq)(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,f.A_)(y))throw(0,i.vA)(11,s);
1return d.incomingById.forEach(function(t,n){var o=t.storeObject,s=t.mergeTree,u=t.fieldNodeSet,c=(0,f.WU)(n);if(s&&s.map.size){var l=r.applyMerges(s,c,o,d);if((0,f.A_)(l))return;o=l}if(!1!==globalThis.__DEV__&&!d.overwrite){var h=Object.create(null);u.forEach(function(e){e.selectionSet&&(h[e.name.value]=!0)});Object.keys(o).forEach(function(e){(function(e){return!0===h[(0,S.iJ)(e)]})(e)&&!function(e){var t=s&&s.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"===se(t)&&t},s=o(e);if(!s)return;var u=o(t);if(!u)return;if((0,f.A_)(s))return;if((0,a.L)(s,u))return;if(Object.keys(s).every(function(e){return void 0!==n.getFieldValue(u,e)}))return;var c=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=(0,S.iJ)(r),h="".concat(c,".").concat(l);if(ve.has(h))return;ve.add(h);var p=[];(0,I.c)(s)||(0,I.c)(u)||[s,u].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)});!1!==globalThis.__DEV__&&i.V1.warn(14,l,c,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",h,s,u)}(c,o,e,d.store)})}e.merge(n,o)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,h=Object.create(null),p=r&&c.rootTypenamesById[r]||(0,f.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof p&&(h.__typename=p);var d=function(){var e=oe(arguments,h,s.variables);if((0,f.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},v=new Set;this.flattenFields(a,o,s,p).forEach(function(e,r){var n,a=(0,f.ue)(r),s=o[a];if(v.add(r),void 0!==s){var y=c.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),m=fe(u,y),b=t.processFieldValue(s,r,r.selectionSet?ue(e,!1,!1):e,m),g=void 0;r.selectionSet&&((0,f.A_)(b)||(0,S.d1)(b))&&(g=d("__typename",b));var w=c.getMergeFunction(p,r.name.value,g);w?m.info={field:r,typename:p,merge:w}:de(u,y),h=e.merge(h,((n={})[y]=b,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||l.XY.added(r)||c.getReadFunction(p,r.name.value)||!1!==globalThis.__DEV__&&i.V1.error(12,(0,f.ue)(r),o)});try{var y=c.identify(o,{typename:p,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:h,readField:d}),m=y[0],b=y[1];r=r||m,b&&(h=s.merge(h,b))}catch(e){if(!r)throw e}if("string"==typeof r){var g=(0,f.WU)(r),w=s.written[r]||(s.written[r]=[]);if(w.indexOf(a)>=0)return g;if(w.push(a),this.reader&&this.reader.isFresh(o,g,a,s))return g;var O=s.incomingById.get(r);return O?(O.storeObject=s.merge(O.storeObject,h),O.mergeTree=he(O.mergeTree,u),v.forEach(function(e){return O.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:h,mergeTree:pe(u)?void 0:u,fieldNodeSet:v}),g}return h},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,I.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,fe(n,o));return de(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,L.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,f.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new O.b(!1);return function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(s){if((0,m.MS)(s,r.variables)){var u=c.clientOnly,l=c.deferred;if(u&&l||!(0,I.E)(s.directives)||s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,f.MB)(e,r.variables);n&&!1===n.if||(l=!0)}}),(0,f.dt)(s)){var p=o.get(s);p&&(u=u&&p.clientOnly,l=l&&p.deferred),o.set(s,ue(r,u,l))}else{var d=(0,b.HQ)(s,r.lookupFragment);if(!d&&s.kind===h.b.FRAGMENT_SPREAD)throw(0,i.vA)(13,s.name.value);d&&a.fragmentMatches(d,n,t,r.variables)&&e(d.selectionSet,ue(r,u,l))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s,u=this;if(e.map.size&&!(0,f.A_)(r)){var c,l=(0,I.c)(r)||!(0,f.A_)(t)&&!(0,S.d1)(t)?void 0:t,h=r;l&&!a&&(a=[(0,f.A_)(l)?l.__ref:l]);var p=function(e,t){return(0,I.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=p(l,t),n=p(h,t);if(void 0!==n){a&&a.push(t);var s=u.applyMerges(e,r,n,o,a);s!==n&&(c=c||new Map).set(t,s),a&&(0,i.V1)(a.pop()===t)}}),c&&(r=(0,I.c)(h)?h.slice(0):(0,n.Cl)({},h),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(s=o.store).getStorage.apply(s,a)):r},e}(),le=[];function fe(e,t){var r=e.map;return r.has(t)||r.set(t,le.pop()||{map:new Map}),r.get(t)}function he(e,t){if(e===t||!t||pe(t))return e;if(!e||pe(e))return t;var r=e.info&&t.info?(0,n.Cl)((0,n.Cl)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var a=new Set(t.map.keys());e.map.forEach(function(e,r){o.map.set(r,he(e,t.map.get(r))),a.delete(r)}),a.forEach(function(r){o.map.set(r,he(t.map.get(r),e.map.get(r)))})}return o}function pe(e){return!e||!(e.info||e.map.size)}function de(e,t){var r=e.map,n=r.get(t);n&&pe(n)&&(le.push(n),r.delete(t))}var ve=new Set;var ye=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new c.c(l.XY),r.assumeImmutableResults=!0,r.makeVar=U.UT,r.txCount=0,r.config=(0,S.I6)(t),r.addTypename=!!r.config.addTypename,r.policies=new ne({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new T.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new ce(this,this.storeReader=new j({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,S.Xx)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(Q(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,A.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(e){if(e instanceof u.Z)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(S.$3.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},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,U.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,U.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){A.M.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,f.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(S.$3.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},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.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,U.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var n=r,o=n.data,a=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=a}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,a.L)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(s.k)},69768(e,t,r){r.d(t,{$:()=>l,M:()=>f});var n=r(41161),i=r(20367),o=r(76034),a=r(42601),s=r(51074);var u,c,l=function(){function e(){this.known=new(a.En?WeakSet:Set),this.pool=new i.b(a.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.U)(e)){var t=function(e){return(0,o.U)(e)?(0,s.c)(e)?e.slice(0):(0,n.Cl)({__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.U)(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 n=e.map(this.admit,this);return(u=this.pool.lookupArray(n)).array||(this.known.add(u.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),u.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var u,c=a.length;if(s.sorted.forEach(function(r){a.push(t.admit(e[r]))}),!(u=this.pool.lookupArray(a)).object){var l=u.object=Object.create(i);this.known.add(l),s.sorted.forEach(function(e,t){l[e]=a[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return u.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}(),f=Object.assign(function(e){if((0,o.U)(e)){void 0===u&&h();var t=u.admit(e),r=c.get(t);return void 0===r&&c.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)},{reset:h});function h(){u=new l,c=new(a.et?WeakMap:Map)}},13828(e,t,r){r.d(t,{MS:()=>u,UT:()=>c,WR:()=>s,bl:()=>i});var n=r(81229),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function c(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(o(c),a(c).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},79943(e,t,r){r.d(t,{R:()=>Y});var n=r(41161),i=r(92145),o=r(92404),a=r(87079),s=r(67989),u=r(13496),c=r(75779),l=r(23387),f=r(79912),h=r(48272),p=r(69768),d=r(42601),v=r(53623),y=r(28611);function m(e,t,r){return new y.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var b=r(51074);function g(e){var t=w(e);return(0,b.E)(t)}function w(e){var t=(0,b.E)(e.errors)?e.errors.slice(0):[];return(0,l.ST)(e)&&(0,b.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var O=r(55786),S=r(68064),_=r(76034),k=r(62828),C=r(38984),E=r(77621);function T(e){return e&&"function"==typeof e.then}var R=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,C.w)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,C.w)(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?T(i)?i.then(function(e){return r.sub=e.subscribe(r.handlers)}):r.sub=i.subscribe(r.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,C.w)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new y.c(t)]),T(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(y.c);(0,E.r)(R);var D=r(33873),P=r(30437),q=r(99517),x=r(34135),F=r(1629),Q=r(6224),I=r(84005),A=r(13828),M=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.D9)(t.resolvers,e)}):this.resolvers=(0,Q.D9)(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,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,n.Cl)((0,n.Cl)({},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,f.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,h.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.Cl)((0,n.Cl)({},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,n.sH)(this,void 0,void 0,function(){return(0,n.YH)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,n.Cl)((0,n.Cl)({},t),e.exportedVariables)})]:[2,(0,n.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,x.YR)(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 x.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,h.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,a){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.sH)(this,void 0,void 0,function(){var s,u,c,l,f,h,p,d,v,y;return(0,n.YH)(this,function(m){return s=(0,O.Vn)(e),u=(0,O.zK)(e),c=(0,I.JG)(u),l=this.collectSelectionsToResolve(s,c),f=s.operation,h=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=(p=this).cache,v=p.client,y={fragmentMap:c,context:(0,n.Cl)((0,n.Cl)({},r),{cache:d,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,false,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,s,u,c,l,h=this;return(0,n.YH)(this,function(p){return a=o.fragmentMap,s=o.context,u=o.variables,c=[r],l=function(e){return(0,n.sH)(h,void 0,void 0,function(){var l,h;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,f.MS)(e,u)?(0,S.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&c.push(((r={}
1)[(0,S.ue)(e)]=t,r))})]:((0,S.kd)(e)?l=e:(l=a[e.name.value],(0,i.V1)(l,18,e.name.value)),l&&l.typeCondition&&(h=l.typeCondition.name.value,o.fragmentMatcher(r,h,s))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then(function(e){c.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,Q.IM)(c)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,h,p,d=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,a=e.name.value,s=(0,S.ue)(e),u=a!==s,c=r[s]||r[a],l=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[u?a:s])&&(l=Promise.resolve(A.bl.withValue(this.cache,p,[r,(0,S.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(r){var n,o;if(void 0===r&&(r=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&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet)return r;if(null==r)return r;var a=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,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 r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,x.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&(0,F.VK)(e)&&a.add(e)})},FragmentSpread:function(n,o,s,u,c){var l=t[n.name.value];(0,i.V1)(l,19,n.name.value);var f=e(l);f.size>0&&(c.forEach(function(e){r(e)&&(0,F.VK)(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),j=new(d.et?WeakMap:Map);function V(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return j.set(e,(j.get(e)+1)%1e15),r.apply(this,arguments)})}function L(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var N=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;j.has(r)||(j.set(r,0),V(r,"evict"),V(r,"modify"),V(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||q.pT.loading;return this.variables&&this.networkStatus!==q.pT.loading&&!(0,c.L)(this.variables,e.variables)&&(t=q.pT.setVariables),(0,c.L)(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(){L(this),this.dirty=!1},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,c.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,c.L)(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():(0,P.e8)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1L(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,q.bi)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,c.L)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===j.get(this.cache)&&(0,c.L)(t,r.variables)&&(0,c.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new Q.ZI,a=(0,b.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,b.E)(e.incremental)){var s=(0,l.bd)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(U(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:j.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,c.L)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=q.pT.ready},e.prototype.markError=function(e){return this.networkStatus=q.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function U(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!g(e);return!n&&r&&e.data&&(n=!0),n}var z=r(13695),W=Object.prototype.hasOwnProperty,H=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.documentTransform,o=e.queryDeduplication,a=void 0!==o&&o,s=e.onBroadcast,u=e.ssrMode,c=void 0!==u&&u,l=e.clientAwareness,f=void 0===l?{}:l,h=e.localState,p=e.assumeImmutableResults,y=void 0===p?!!t.assumeImmutableResults:p,m=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(d.et?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var b=new v.c(function(e){return m.cache.transformDocument(e)},{cache:!1});this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=a,this.clientAwareness=f,this.localState=h||new M({cache:t}),this.ssrMode=c,this.assumeImmutableResults=y,this.documentTransform=i?b.concat(i).concat(b):b,(this.onBroadcast=s)&&(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,i.vA)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,o=e.mutation,a=e.variables,s=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,d=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,b=e.errorPolicy,O=void 0===b?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":b,S=e.keepRootFields,_=e.context;return(0,n.sH)(this,void 0,void 0,function(){var e,t,r,c;return(0,n.YH)(this,function(f){switch(f.label){case 0:return(0,i.V1)(o,26),(0,i.V1)("network-only"===y||"no-cache"===y,27),e=this.generateMutationId(),o=this.cache.transformForLink(this.transform(o)),t=this.getDocumentInfo(o).hasClientExports,a=this.getVariables(o,a),t?[4,this.localState.addExportedVariables(o,a,_)]:[3,2];case 1:a=f.sent(),f.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:o,variables:a,fetchPolicy:y,errorPolicy:O,context:_,updateQueries:u,update:p,keepRootFields:S}),this.broadcastQueries(),c=this,[2,new Promise(function(t,i){return m(c.getObservableFromLink(o,(0,n.Cl)((0,n.Cl)({},_),{optimisticResponse:s}),a,!1),function(t){if(g(t)&&"none"===O)throw new D.K4({graphQLErrors:w(t)});r&&(r.loading=!1,r.error=null);var i=(0,n.Cl)({},t);return"function"==typeof l&&(l=l(i)),"ignore"===O&&g(i)&&delete i.errors,c.markMutationResult({mutationId:e,result:i,document:o,variables:a,fetchPolicy:y,errorPolicy:O,context:_,update:p,updateQueries:u,awaitRefetchQueries:h,refetchQueries:l,removeOptimistic:s?e:void 0,onQueryUpdated:d,keepRootFields:S})}).subscribe({next:function(e){c.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),i(t instanceof D.K4?t:new D.K4({networkError:t}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&U(i,e.errorPolicy)){if((0,l.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,l.ST)(i)&&(0,b.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),u=void 0;s.result&&(u=(0,l.bd)(s.result,i)),void 0!==u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&W.call(c,s)){var u=c[s],l=r.queries.get(n),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:i,queryName:f&&(0,O.n4)(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 f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,u=!(0,l.YX)(i)||(0,l.ST)(i)&&!i.hasNext;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:c.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return f.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then(function(){return i})}return Promise.resolve(i)},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,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.V1.error(e)}},t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,f.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.d8)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,h.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,O.wY)((0,O.Vu)(e)),asQuery:(0,n.Cl)((0,n.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new N(this),i=new P.U5({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,28),(0,i.V1)("Document"===e.query.kind,29),(0,i.V1)(!e.returnPartialData,30),(0,i.V1)(!e.pollInterval,31),this.fetchQuery(t,(0,n.Cl)((0,n.Cl)({},e),{query:this.transform(e.query)})).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,i.vA)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=q.pT.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,S.Kc)(e)?o.set(t.transform(e),!1):(0,_.U)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(r.set(n,i),s&&o.set(s,!0),a&&o.set(a,!0))}}),a.size&&a.forEach(function(e){var o=(0,k.v)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new P.U5({queryManager:t,queryInfo:a,options:(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),!1!==globalThis.__DEV__&&o.size&&o.forEach(function(e,t){e||!1!==globalThis.__DEV__&&i.V1.warn("string"==typeof t?33:34,t)}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,u=void 0===s?{}:s;r=this.transform(r),a=this.getVariables(r,a);var c=function(e){return t.getObservableFromLink(r,u,e).map(function(i){"no-cache"!==n&&(U(i,o)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=g(i),s=(0,D.uR)(i);if(a||s){var u={};if(a&&(u.graphQLErrors=i.errors),s&&(u.protocolErrors=i.extensions[D.K$]),"none"===o||s)throw new D.K4(u)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,a,u).then(c);return new y.c(function(e){var t=null;return l.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return c(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var o,s,u=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var c=this.getDocumentInfo(e),l=c.serverQuery,f=c.clientQuery;if(l){var h=this.inFlightLinkObservables,d=this.link,v={query:l,variables:r,operationName:(0,O.n4)(l)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!i}))};if(t=v.context,i){var b=(0,z.y)(l),g=h.get(b)||new Map;h.set(b,g);var w=(0,p.M)(r);if(!(s=g.get(w))){var S=new R([(0,a.g)(d,v)]);g.set(w,s=S),S.beforeNext(function(){g.delete(w)&&g.size<1&&h.delete(b)})}}else s=new R([(0,a.g)(d,v)])}else s=new R([y.c.of({data:{}})]),t=this.prepareContext(t);return f&&(s=m(s,function(e){return u.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})})),s},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=w(o),s=a.length>0;if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new D.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:q.pT.ready};return s&&"ignore"!==r.errorPolicy&&(u.errors=a,u.networkStatus=q.pT.error),u},function(t){var r=(0,D.Mn)(t)?t:new D.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i=this;void 0===r&&(r=q.pT.loading),void 0===n&&(n=t.query);var o,a,s=this.getVariables(n,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?c&&c.errorPolicy||"none":h,d=t.returnPartialData,v=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,b=t.context,g=void 0===b?{}:b,w=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:v,notifyOnNetworkStatusChange:m,context:g}),O=function(e){w.variables=e;var n=i.fetchQueryByPolicy(u,w,r);return"standby"!==w.fetchPolicy&&n.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),n},S=function(){return i.fetchCancelFns.delete(e)};
1if(this.fetchCancelFns.set(e,function(e){S(),setTimeout(function(){return o.cancel(e)})}),this.getDocumentInfo(w.query).hasClientExports)o=new R(this.localState.addExportedVariables(w.query,w.variables,w.context).then(O).then(function(e){return e.sources})),a=!0;else{var _=O(w.variables);a=_.fromLink,o=new R(_.sources)}return o.promise.then(S,S),{concast:o,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,k.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof N&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,h=t.context,p=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var v=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||q.pT.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,c.L)(s,{})||(0,P.yd)(t.missing);var u=function(e){return y.c.of((0,n.Cl)({data:e,loading:(0,q.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:h,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===l&&r===q.pT.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},b="no-cache"===s?0:r===q.pT.refetch&&"merge"!==u?1:2,g=function(){return i.getResultsFromLink(e,b,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:l})},w=p&&"number"==typeof d&&d!==r&&(0,q.bi)(r);switch(s){default:case"cache-first":return(O=v()).complete?{fromLink:!1,sources:[m(O,e.markReady())]}:f||w?{fromLink:!0,sources:[m(O),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var O;return(O=v()).complete||f||w?{fromLink:!0,sources:[m(O),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(v(),e.markReady())]};case"network-only":return w?{fromLink:!0,sources:[m(v()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return w?{fromLink:!0,sources:[m(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new N(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.Cl)((0,n.Cl)({},t),{clientAwareness:this.clientAwareness})},e}(),B=r(9178);function K(e){return K="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},K(e)}var J=!1,Y=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(15);var r=e.uri,n=e.credentials,a=e.headers,c=e.cache,l=e.documentTransform,f=e.ssrMode,h=void 0!==f&&f,p=e.ssrForceFetchDelay,d=void 0===p?0:p,v=e.connectToDevTools,y=void 0===v?"object"===("undefined"==typeof window?"undefined":K(window))&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:v,m=e.queryDeduplication,b=void 0===m||m,g=e.defaultOptions,w=e.assumeImmutableResults,O=void 0===w?c.assumeImmutableResults:w,S=e.resolvers,_=e.typeDefs,k=e.fragmentMatcher,C=e.name,E=e.version,T=e.link;T||(T=r?new u.P({uri:r,credentials:n,headers:a}):o.C.empty()),this.link=T,this.cache=c,this.disableNetworkFetches=h||d>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=_,d&&setTimeout(function(){return t.disableNetworkFetches=!1},d),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),this.version=s.r,this.localState=new M({cache:c,client:this,resolvers:S,fragmentMatcher:k}
1),this.queryManager=new H({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:l,queryDeduplication:b,ssrMode:h,clientAwareness:{name:C,version:E},localState:this.localState,assumeImmutableResults:O,onBroadcast:y?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),y&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"===("undefined"==typeof window?"undefined":K(window))){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}J||!1===globalThis.__DEV__||(J=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!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__&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,B.l)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,B.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,B.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){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,a.g)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){!1!==globalThis.__DEV__&&i.V1.debug(17,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}()},30437(e,t,r){r.d(t,{U5:()=>S,yd:()=>C,e8:()=>_});var n=r(41161),i=r(92145),o=r(75779),a=r(99517),s=r(55786),u=r(67643),c=r(78537),l=r(38984),f=r(28611),h=r(77621),p=r(84005),d=r(79912),v=r(68064);function y(e,t,r,i){var a=t.data,u=(0,n.Tt)(t,["data"]),c=r.data,l=(0,n.Tt)(r,["data"]);return(0,o.A)(u,l)&&m((0,s.Vn)(e).selectionSet,a,c,{fragmentMap:(0,p.JG)((0,s.zK)(e)),variables:i})}function m(e,t,r,n){if(t===r)return!0;var i=new Set;return e.selections.every(function(e){if(i.has(e))return!0;
1if(i.add(e),!(0,d.MS)(e,n.variables))return!0;if(b(e))return!0;if((0,v.dt)(e)){var a=(0,v.ue)(e),s=t&&t[a],u=r&&r[a],c=e.selectionSet;if(!c)return(0,o.A)(s,u);var l=Array.isArray(s),f=Array.isArray(u);if(l!==f)return!1;if(l&&f){var h=s.length;if(u.length!==h)return!1;for(var y=0;y<h;++y)if(!m(c,s[y],u[y],n))return!1;return!0}return m(c,s,u,n)}var g=(0,p.HQ)(e,n.fragmentMap);return g?!!b(g)||m(g.selectionSet,t,r,n):void 0})}function b(e){return!!e.directives&&e.directives.some(g)}function g(e){return"nonreactive"===e.name.value}var w=Object.assign,O=Object.hasOwnProperty,S=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=k)}catch(e){}var r=!a.observers.size;a.observers.add(e);var n=a.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(n.result),r&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.waitForOwnResult=E(o.fetchPolicy),a.isTornDown=!1;var u=r.defaultOptions.watchQuery,c=(void 0===u?{}:u).fetchPolicy,l=void 0===c?"cache-first":c,f=o.fetchPolicy,h=void 0===f?l:f,p=o.initialFetchPolicy,d=void 0===p?"standby"===h?l:h:p;a.options=(0,n.Cl)((0,n.Cl)({},o),{initialFetchPolicy:d,fetchPolicy:h}),a.queryId=i.queryId||r.generateQueryId();var v=(0,s.Vu)(a.query);return a.queryName=v&&v.name&&v.name.value,a}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||a.pT.ready,i=(0,n.Cl)((0,n.Cl)({},t),{loading:(0,a.bi)(r),networkStatus:r}),s=this.options.fetchPolicy,u=void 0===s?"cache-first":s;if(E(u)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(i.data=c.result),(0,o.L)(i.data,{})&&(i.data=void 0),c.complete?(delete i.partial,!c.complete||i.networkStatus!==a.pT.loading||"cache-first"!==u&&"cache-only"!==u||(i.networkStatus=a.pT.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||i.loading||i.data||i.error||C(c.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||((this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!y(this.query,this.last.result,e,this.variables):!(0,o.L)(this.last.result,e))||t&&!(0,o.L)(this.last.variables,t))},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.L)(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},u=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===u?u:"no-cache"===u?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&O.call(e,"variables")){var c=(0,s.AT)(this.query),l=c.variableDefinitions;l&&l.some(function(e){return"variables"===e.variable.name.value})||!1!==globalThis.__DEV__&&i.V1.warn(20,e,(null===(t=c.name)||void 0===t?void 0:t.value)||c)}return e&&!(0,o.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.Cl)((0,n.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e.query?e:(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var i=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var o=this.queryInfo,s=o.networkStatus;
1o.networkStatus=a.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set;return this.queryManager.fetchQuery(i,r,a.pT.fetchMore).then(function(n){return t.queryManager.removeQuery(i),o.networkStatus===a.pT.fetchMore&&(o.networkStatus=s),t.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:n.data,variables:r.variables})}):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(e){u.add(e.query)}}),n}).finally(function(){u.has(t.query)||_(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&i.V1.error(21,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,u.o)(this.options,e||{});w(this.options,t)},t.prototype.setVariables=function(e){return(0,o.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.pT.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r){if(!t||t.interval!==r){(0,i.V1)(r,22),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&((0,a.bi)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,o.L)(t,this.last.variables)&&(r=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,c.m)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.pT.refetch||t===a.pT.fetchMore||t===a.pT.poll,s=this.options.variables,c=this.options.fetchPolicy,l=(0,u.o)(this.options,e||{}),f=i?l:w(this.options,l),h=this.transformDocument(f.query);this.lastQuery=h,i||(this.updatePolling(),e&&e.variables&&!(0,o.L)(e.variables,s)&&"standby"!==f.fetchPolicy&&f.fetchPolicy===c&&(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=E(f.fetchPolicy));var p=function(){r.concast===y&&(r.waitForOwnResult=!1)},d=f.variables&&(0,n.Cl)({},f.variables),v=this.fetch(f,t,h),y=v.concast,m=v.fromLink,b={next:function(e){p(),r.reportResult(e,d)},error:function(e){p(),r.reportError(e,d)}};return i||!m&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=y,this.observer=b),y.addObserver(b),y},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&(0,l.w)(this.observers,"next",e)},t.prototype.reportError=function(e,t){var r=(0,n.Cl)((0,n.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.pT.error,loading:!1});this.updateLastResult(r,t),(0,l.w)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(f.c);function _(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function k(e){!1!==globalThis.__DEV__&&i.V1.error(23,e.message,e.stack)}function C(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(24,e)}function E(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,h.r)(S)},28245(e,t,r){r.r(t),r.d(t,{ApolloCache:()=>c.k,ApolloClient:()=>i.R,ApolloError:()=>u.K4,ApolloLink:()=>v.C,Cache:()=>n,DocumentTransform:()=>T.c,HttpLink:()=>O.HttpLink,InMemoryCache:()=>l.D,MissingFieldError:()=>f.Z,NetworkStatus:()=>s.pT,Observable:()=>_.c,ObservableQuery:()=>a.U5,checkFetcher:()=>O.checkFetcher,concat:()=>g,createHttpLink:()=>O.createHttpLink,createSignalIfSupported:()=>O.createSignalIfSupported,defaultDataIdFromObject:()=>h.or,defaultPrinter:()=>O.defaultPrinter,disableExperimentalFragmentVariables:()=>P.qj,disableFragmentWarnings:()=>P.gi,empty:()=>y,enableExperimentalFragmentVariables:()=>P.VC,execute:()=>w.g,fallbackHttpConfig:()=>O.fallbackHttpConfig,from:()=>m.H,fromError:()=>C.N,fromPromise:()=>k,gql:()=>P.J1,isApolloError:()=>
1u.Mn,isNetworkRequestSettled:()=>s.D2,isReference:()=>R.A_,makeReference:()=>R.WU,makeVar:()=>p.UT,mergeOptions:()=>o.l,parseAndCheckHttpResponse:()=>O.parseAndCheckHttpResponse,resetCaches:()=>P.Nh,rewriteURIForGET:()=>O.rewriteURIForGET,selectHttpOptionsAndBody:()=>O.selectHttpOptionsAndBody,selectHttpOptionsAndBodyInternal:()=>O.selectHttpOptionsAndBodyInternal,selectURI:()=>O.selectURI,serializeFetchParameter:()=>O.serializeFetchParameter,setLogVerbosity:()=>D.Q9,split:()=>b,throwServerError:()=>E.A,toPromise:()=>S});var n,i=r(79943),o=r(9178),a=r(30437),s=r(99517),u=r(33873);n||(n={});var c=r(72440),l=r(61422),f=r(20287),h=r(57888),p=r(13828),d=r(92145),v=r(92404),y=v.C.empty,m=r(81262),b=v.C.split,g=v.C.concat,w=r(87079),O=r(48507);function S(e){var t=!1;return new Promise(function(r,n){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&d.V1.warn(42):(t=!0,r(e))},error:n})})}var _=r(28611);function k(e){return new _.c(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}var C=r(87958),E=r(51825),T=r(53623),R=r(68064),D=r(55182),P=r(16029);(0,D.Q9)(!1!==globalThis.__DEV__?"log":"silent")},99517(e,t,r){var n;function i(e){return!!e&&e<7}function o(e){return 7===e||8===e}r.d(t,{D2:()=>o,bi:()=>i,pT:()=>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"}(n||(n={}))},33873(e,t,r){r.d(t,{K$:()=>o,K4:()=>u,Mn:()=>s,uR:()=>a});var n=r(41161),i=(r(92145),r(76034)),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){function t(r){var o,a,s=r.graphQLErrors,u=r.protocolErrors,c=r.clientErrors,l=r.networkError,f=r.errorMessage,h=r.extraInfo,p=e.call(this,f)||this;return p.name="ApolloError",p.graphQLErrors=s||[],p.protocolErrors=u||[],p.clientErrors=c||[],p.networkError=l||null,p.message=f||(o=p,a=(0,n.fX)((0,n.fX)((0,n.fX)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&a.push(o.networkError),a.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")),p.extraInfo=h,p.__proto__=t.prototype,p}return(0,n.C6)(t,e),t}(Error)},25766(e,t,r){r.d(t,{o:()=>a});var n=r(41161),i=r(92404),o=r(28611);function a(e){return new i.C(function(t,r){var i=(0,n.Tt)(t,[]);return new o.c(function(n){var o,a=!1;return Promise.resolve(i).then(function(r){return e(r,t.getContext())}).then(t.setContext).then(function(){a||(o=r(t).subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}))}).catch(n.error.bind(n)),function(){a=!0,o&&o.unsubscribe()}})})}},92404(e,t,r){r.d(t,{C:()=>l});var n=r(92145),i=r(28611),o=r(41161);var a=r(55786);function s(e,t){return t?t(e):i.c.of()}function u(e){return"function"==typeof e?new l(e):e}function c(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 i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=u(r),a=u(n||new e(s));return c(o)&&c(a)?new e(function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of()}):new e(function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()})},e.execute=function(e,t){return e.request(function(e,t){var r=(0,o.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"==typeof e?(0,o.Cl)((0,o.Cl)({},r),e(r)):(0,o.Cl)((0,o.Cl)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,a.n4)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(t.indexOf(o)<0)throw(0,n.vA)(43,o)}return e}
1(t))))||i.c.of()},e.concat=function(t,r){var o=u(t);if(c(o))return!1!==globalThis.__DEV__&&n.V1.warn(35,o),o;var a=u(r);return c(a)?new e(function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}):new e(function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()})},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,t){throw(0,n.vA)(36)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},87079(e,t,r){r.d(t,{g:()=>n});var n=r(92404).C.execute},81262(e,t,r){r.d(t,{H:()=>n});var n=r(92404).C.from},7023(e,t,r){r.d(t,{S:()=>a});var n=r(41161),i=r(28611),o=r(92404);function a(e){return new o.C(function(t,r){return new i.c(function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var r=e.call(this)||this;return r.link=a(t),r}(0,n.C6)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(o.C)},13496(e,t,r){r.d(t,{P:()=>a});var n=r(41161),i=r(92404),o=r(67497),a=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,o.$)(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},42848(e,t,r){r.d(t,{S:()=>i});var n=r(92145),i=function(e){if(!e&&"undefined"==typeof fetch)throw(0,n.vA)(37)}},67497(e,t,r){r.d(t,{$:()=>g});var n=r(41161),i=r(92145),o=r(92404),a=r(79912),s=r(28611),u=r(90490),c=r(85473),l=r(41467),f=r(42848),h=r(49840),p=r(40972),d=r(87958),v=r(34135);var y=r(48272),m=r(55786),b=(0,i.no)(function(){return fetch}),g=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,g=e.fetch,w=e.print,O=void 0===w?h.i1:w,S=e.includeExtensions,_=e.preserveHeaderCase,k=e.useGETForQueries,C=e.includeUnusedVariables,E=void 0!==C&&C,T=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.S)(g||b);var R={http:{includeExtensions:S,preserveHeaderCase:_},options:T.fetchOptions,credentials:T.credentials,headers:T.headers};return new o.C(function(e){var t=(0,c.z)(e,r),o=e.getContext(),f={};if(o.clientAwareness){var w=o.clientAwareness,S=w.name,_=w.version;S&&(f["apollographql-client-name"]=S),_&&(f["apollographql-client-version"]=_)}var C=(0,n.Cl)((0,n.Cl)({},f),o.headers),T={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:C};if((0,a.d8)(["client"],e.query)){var D=(0,y.er)(e.query);if(!D)return(0,d.N)(new 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=D}var P,q,x,F,Q,I=(0,h.HY)(e,O,h.R4,R,T),A=I.options,M=I.body;M.variables&&!E&&(M.variables=(P=M.variables,q=e.query,x=(0,n.Cl)({},P),F=new Set(Object.keys(P)),(0,v.YR)(q,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&F.delete(e.name.value)}}),F.forEach(function(e){delete x[e]}),x)),A.signal||"undefined"==typeof AbortController||(Q=new AbortController,A.signal=Q.signal);var j,V="OperationDefinition"===(j=(0,m.Vn)(e.query)).kind&&"subscription"===j.operation,L=(0,a.d8)(["defer"],e.query);if(k&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(A.method="GET"),L||V){A.headers=A.headers||{};var N="multipart/mixed;";V&&L&&!1!==globalThis.__DEV__&&i.V1.warn(38),V?N+="boundary=graphql;subscriptionSpec=1.0,application/json":L&&(N+="deferSpec=20220824,application/json"),A.headers.accept=N}if("GET"===A.method){var U=(0,p.E)(t,M),z=U.newURI,W=U.parseError;if(W)return(0,d.N)(W);t=z}else try{A.body=(0,u.Y)(M,"Payload")}catch(W){return(0,d.N)(W)}return new s.c(function(r){var n=g||(0,i.no)(function(){return fetch})||b,o=r.next.bind(r);return n(t,A).then(function(t){var r;e.setContext({response:t});var n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?(0,l.tD)(t,o):(0,l.OQ)(e)(t).then(o)}).then(function(){Q=void 0,r.complete()}).catch(function(e){Q=void 0,(0,l.H4)(e,r)}),function(){Q&&Q.abort()}})})}},48507(e,t,r){r.r(t),r.d(t,{HttpLink:()=>l.P,checkFetcher:()=>a.S,createHttpLink:()=>c.$,createSignalIfSupported:()=>s,defaultPrinter:()=>o.i1,fallbackHttpConfig:()=>o.R4,parseAndCheckHttpResponse:()=>n.OQ,rewriteURIForGET:()=>f.E,selectHttpOptionsAndBody:()=>o.Wz,selectHttpOptionsAndBodyInternal:()=>o.HY,selectURI:()=>u.z,serializeFetchParameter:()=>i.Y});r(92145);var n=r(41467),i=r(90490),o=r(49840),a=r(42848),s=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}},u=r(85473),c=r(67497),l=r(13496),f=r(40972)},41467(e,t,r){r.d(t,{H4:()=>v,OQ:()=>y,tD:()=>h});var n=r(41161),i=r(42601);function o(e){var t=null,r=null,n=!1,o=[],a=[];function s(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}
1function u(e){r=e,a.slice().forEach(function(t){t[1](e)}),!t||t()}function c(){n=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise(function(e,t){return r?t(r):o.length?e({value:o.shift(),done:!1}):n?e({value:void 0,done:!0}):void a.push([e,t])})}};return i.uJ&&(l[Symbol.asyncIterator]=function(){return this}),l}function a(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}function s(e){var t,r,n=e;if(e.body&&(n=e.body),function(e){return!(!i.uJ||!e[Symbol.asyncIterator])}(n))return r=n[Symbol.asyncIterator](),(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(n))return a(n.getReader());if(function(e){return!!e.stream}(n))return a(n.stream().getReader());if(function(e){return!!e.arrayBuffer}(n))return function(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,r){e.then(function(e){t({value:e,done:!1})}).catch(r)}))}};return i.uJ&&(r[Symbol.asyncIterator]=function(){return this}),r}(n.arrayBuffer());if(function(e){return!!e.pipe}(n))return o(n);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var u=r(51825),c=r(33873),l=r(23387),f=Object.prototype.hasOwnProperty;function h(e,t){var r;return(0,n.sH)(this,void 0,void 0,function(){var i,o,a,u,f,h,v,y,m,b,g,w,O,S,_,k,C,E,T,R,D,P,q;return(0,n.YH)(this,function(x){switch(x.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");i=new TextDecoder("utf-8"),o=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),a="boundary=",u=(null==o?void 0:o.includes(a))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(a))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",f="\r\n--".concat(u),h="",v=s(e),y=!0,x.label=1;case 1:return y?[4,v.next()]:[3,3];case 2:for(m=x.sent(),b=m.value,g=m.done,w="string"==typeof b?b:i.decode(b),O=h.length-f.length+1,y=!g,S=(h+=w).indexOf(f,O);S>-1;){if(_=void 0,P=[h.slice(0,S),h.slice(S+f.length)],h=P[1],k=(_=P[0]).indexOf("\r\n\r\n"),C=p(_.slice(0,k)),(E=C["content-type"])&&-1===E.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(T=_.slice(k))if(R=d(e,T),Object.keys(R).length>1||"data"in R||"incremental"in R||"errors"in R||"payload"in R)(0,l.Nw)(R)?(D={},"payload"in R&&(D=(0,n.Cl)({},R.payload)),"errors"in R&&(D=(0,n.Cl)((0,n.Cl)({},D),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in D?D.extensions:null),(q={},q[c.K$]=R.errors,q))})),t(D)):t(R);else if(1===Object.keys(R).length&&"hasNext"in R&&!R.hasNext)return[2];S=h.indexOf(f)}return[3,1];case 3:return[2]}})})}function p(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}function d(e,t){if(e.status>=300){(0,u.A)(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(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function v(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function y(e){return function(t){return t.text().then(function(e){return d(t,e)}).then(function(r){return Array.isArray(r)||f.call(r,"data")||f.call(r,"errors")||(0,u.A)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}}},40972(e,t,r){r.d(t,{E:()=>i});var n=r(90490);function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,n.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+r.join("&")+s}}},49840(e,t,r){r.d(t,{HY:()=>u,R4:()=>o,Wz:()=>s,i1:()=>a});var n=r(41161),i=r(13695),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return r.unshift(t),u.apply(void 0,(0,n.fX)([e,a],r,!1))}function u(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var a={},s={};r.forEach(function(e){a=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},a),e.options),{headers:(0,n.Cl)((0,n.Cl)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,n.Cl)((0,n.Cl)({},s),e.http)}),a.headers&&(a.headers=function(e,t){if(!t){var r=Object.create(null);
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n=Object.create(null);Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(a.headers,s.preserveHeaderCase));var u=e.operationName,c=e.extensions,l=e.variables,f=e.query,h={operationName:u,variables:l};return s.includeExtensions&&(h.extensions=c),s.includeQuery&&(h.query=t(f,i.y)),{options:a,body:h}}},85473(e,t,r){r.d(t,{z:()=>n});var n=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")}},90490(e,t,r){r.d(t,{Y:()=>i});var n=r(92145),i=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var i=(0,n.vA)(39,t,e.message);throw i.parseError=e,i}return r}},59707(e,t,r){r.d(t,{c:()=>c});var n=r(41161),i=r(13695),o=r(92404),a=r(28611),s=r(76034),u=r(33873);var c=function(e){function t(t){var r=e.call(this)||this;return r.client=t,r}return(0,n.C6)(t,e),t.prototype.request=function(e){var t=this;return new a.c(function(r){return t.client.subscribe((0,n.Cl)((0,n.Cl)({},e),{query:(0,i.y)(e.query)}),{next:r.next.bind(r),complete:r.complete.bind(r),error:function(e){if(e instanceof Error)return r.error(e);var t,n=(t=e,(0,s.U)(t)&&"code"in t&&"reason"in t);return n||function(e){var t;return(0,s.U)(e)&&(null===(t=e.target)||void 0===t?void 0:t.readyState)===WebSocket.CLOSED}(e)?r.error(new Error("Socket closed".concat(n?" with event ".concat(e.code):"").concat(n?" ".concat(e.reason):""))):r.error(new u.K4({graphQLErrors:Array.isArray(e)?e:[e]}))}})})},t}(o.C)},87958(e,t,r){r.d(t,{N:()=>i});var n=r(28611);function i(e){return new n.c(function(t){t.error(e)})}},51825(e,t,r){r.d(t,{A:()=>n});var n=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},39242(e,t,r){r.d(t,{X:()=>a});var n=r(41161),i=r(32663),o=r(21197);function a(e){var t=e.children,r=e.query,i=(0,n.Tt)(e,["children","query"]),a=(0,o.I)(r,i);return a?t(a):null}a.propTypes={client:i.object,children:i.func.isRequired,fetchPolicy:i.string,notifyOnNetworkStatusChange:i.bool,onCompleted:i.func,onError:i.func,pollInterval:i.number,query:i.object.isRequired,variables:i.object,ssr:i.bool,partialRefetch:i.bool,returnPartialData:i.bool}},13641(e,t,r){r.d(t,{y:()=>o});var n=r(32663),i=r(54056);function o(e){var t=(0,i.R)(e.subscription,e);return e.children&&t?e.children(t):null}o.propTypes={subscription:n.object.isRequired,variables:n.object,children:n.func,onSubscriptionData:n.func,onData:n.func,onSubscriptionComplete:n.func,onComplete:n.func,shouldResubscribe:n.oneOfType([n.func,n.bool])}},44347(e,t,r){r.d(t,{l:()=>s});var n=r(68909),i=r(42601),o=r(92145),a=i.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function s(){(0,o.V1)(!0,45);var e=n.createContext[a];return e||(Object.defineProperty(n.createContext,a,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},46875(e,t,r){r.d(t,{X:()=>s});var n=r(41161),i=r(92145),o=r(68909),a=r(44347),s=function(e){var t=e.client,r=e.children,s=(0,a.l)(),u=o.useContext(s),c=o.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},u),{client:t||u.client})},[u,t]);return(0,i.V1)(c.client,46),o.createElement(s.Provider,{value:c},r)}},9985(e,t,r){r.d(t,{m:()=>a});var n=r(92145),i=r(68909),o=r(44347);function a(e){var t=i.useContext((0,o.l)()),r=e||t.client;return(0,n.V1)(!!r,49),r}},21474(e,t,r){r.d(t,{I:()=>l});var n=r(41161),i=r(68909),o=r(75779),a=r(6224),s=r(9985),u=r(16200);var c={};function l(e){var t,r,a,l=(0,s.m)().cache,h=(t=function(){var t=e.fragment,r=e.fragmentName,i=e.from,o=e.optimistic,a=void 0===o||o,s=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]);return(0,n.Cl)((0,n.Cl)({},s),{returnPartialData:!0,id:"string"==typeof i?i:l.identify(i),query:l.getFragmentDoc(t,r),optimistic:a})},r=[e],(a=i.useRef()).current&&(0,o.L)(a.current.deps,r)||(a.current={value:t(),deps:r}),a.current.value),p=function(e){var t=i.useRef(c);return t.current===c&&(t.current=e()),t}(function(){return f(l.diff(h))}),d=i.useCallback(function(){return p.current},[]);return(0,u.r)(i.useCallback(function(e){var t=0,r=l.watch((0,n.Cl)((0,n.Cl)({},h),{immediate:!0,callback:function(r){(0,o.L)(r.result,p.current.data)||(p.current=f(r),clearTimeout(t),t=setTimeout(e))}}));return function(){r(),clearTimeout(t)}},[l,h]),d,d)}function f(e){var t={data:e.result,complete:!!e.complete};return e.missing&&(t.missing=(0,a.IM)(e.missing.map(function(e){return e.missing}))),t}}
1,32359(e,t,r){r.d(t,{_:()=>c});var n=r(41161),i=r(68909),o=r(9178),a=r(21197),s=r(9985),u=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function c(e,t){var r,c=i.useRef(),l=i.useRef(),f=i.useRef(),h=(0,o.l)(t,c.current||{}),p=null!==(r=null==h?void 0:h.query)&&void 0!==r?r:e;l.current=h,f.current=p;var d=(0,a.k)((0,s.m)(t&&t.client),p),v=d.useQuery((0,n.Cl)((0,n.Cl)({},h),{skip:!c.current})),y=v.observable.options.initialFetchPolicy||d.getDefaultFetchPolicy(),m=Object.assign(v,{called:!!c.current}),b=i.useMemo(function(){for(var e={},t=function(t){var r=m[t];e[t]=function(){return c.current||(c.current=Object.create(null),d.forceUpdateState()),r.apply(this,arguments)}},r=0,n=u;r<n.length;r++){t(n[r])}return e},[]);Object.assign(m,b);var g=i.useCallback(function(e){c.current=e?(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:e.fetchPolicy||y}):{fetchPolicy:y};var t=(0,o.l)(l.current,(0,n.Cl)({query:f.current},c.current)),r=d.executeQuery((0,n.Cl)((0,n.Cl)({},t),{skip:!1})).then(function(e){return Object.assign(e,b)});return r.catch(function(){}),r},[]);return[g,m]}},21197(e,t,r){r.d(t,{I:()=>g,k:()=>w});var n=r(41161),i=r(92145),o=r(68909),a=r(16200),s=r(75779),u=r(9178),c=r(44347),l=r(33873),f=r(99517),h=r(65749),p=r(9985),d=r(3651),v=r(51074),y=r(42601),m=r(67643),b=Object.prototype.hasOwnProperty;function g(e,t){return void 0===t&&(t=Object.create(null)),w((0,p.m)(t.client),e).useQuery(t)}function w(e,t){var r=o.useRef();r.current&&e===r.current.client&&t===r.current.query||(r.current=new O(e,t,r.current));var n=r.current;return n.forceUpdateState=o.useReducer(function(e){return e+1},0)[1],n}var O=function(){function e(e,t,r){var n=this;this.client=e,this.query=t,this.forceUpdate=function(){return n.forceUpdateState()},this.ssrDisabledResult=(0,d.G)({loading:!0,data:void 0,error:void 0,networkStatus:f.pT.loading}),this.skipStandbyResult=(0,d.G)({loading:!1,data:void 0,error:void 0,networkStatus:f.pT.ready}),this.toQueryResultCache=new(y.et?WeakMap:Map),(0,h.D$)(t,h.KG.Query);var i=r&&r.result,o=i&&i.data;o&&(this.previousData=o)}return e.prototype.forceUpdateState=function(){!1!==globalThis.__DEV__&&i.V1.warn(50)},e.prototype.executeQuery=function(e){var t,r=this;e.query&&Object.assign(this,{query:e.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=e);var n=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=(null===(t=this.result)||void 0===t?void 0:t.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise(function(e){var t;n.subscribe({next:function(e){t=e},error:function(){e(r.toQueryResult(r.observable.getCurrentResult()))},complete:function(){e(r.toQueryResult(t))}})})},e.prototype.useQuery=function(e){var t=this;this.renderPromises=o.useContext((0,c.l)()).renderPromises,this.useOptions(e);var r=this.useObservableQuery(),n=(0,a.r)(o.useCallback(function(e){if(t.renderPromises)return function(){};t.forceUpdate=e;var n=function(){var e=t.result,n=r.getCurrentResult();e&&e.loading===n.loading&&e.networkStatus===n.networkStatus&&(0,s.L)(e.data,n.data)||t.setResult(n)},i=function(e){if(o.unsubscribe(),o=r.resubscribeAfterError(n,i),!b.call(e,"graphQLErrors"))throw e;var a=t.result;(!a||a&&a.loading||!(0,s.L)(e,a.error))&&t.setResult({data:a&&a.data,error:e,loading:!1,networkStatus:f.pT.error})},o=r.subscribe(n,i);return function(){setTimeout(function(){return o.unsubscribe()}),t.forceUpdate=function(){return t.forceUpdateState()}}},[r,this.renderPromises,this.client.disableNetworkFetches]),function(){return t.getCurrentResult()},function(){return t.getCurrentResult()});return this.unsafeHandlePartialRefetch(n),this.toQueryResult(n)},e.prototype.useOptions=function(t){var r,n=this.createWatchQueryOptions(this.queryHookOptions=t),i=this.watchQueryOptions;(0,s.L)(n,i)||(this.watchQueryOptions=n,i&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(r=this.result)||void 0===r?void 0:r.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,!this.renderPromises&&!this.client.disableNetworkFetches||!1!==this.queryHookOptions.ssr||this.queryHookOptions.skip?this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0):this.result=this.ssrDisabledResult},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push((0,m.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(u.l)},e.prototype.createWatchQueryOptions=function(e){var t;void 0===e&&(e={});var r=e.skip,i=(e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,n.Tt)(e,["
1skip","ssr","onCompleted","onError","defaultOptions"])),o=Object.assign(i,{query:this.query});if(!this.renderPromises||"network-only"!==o.fetchPolicy&&"cache-and-network"!==o.fetchPolicy||(o.fetchPolicy="cache-first"),o.variables||(o.variables={}),r){var a=o.fetchPolicy,s=void 0===a?this.getDefaultFetchPolicy():a,u=o.initialFetchPolicy,c=void 0===u?s:u;Object.assign(o,{initialFetchPolicy:c,fetchPolicy:"standby"})}else o.fetchPolicy||(o.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return o},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cache-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=o.useMemo(function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),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)}},[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e,t)},e.prototype.handleErrorOrCompleted=function(e,t){var r=this;if(!e.loading){var n=this.toApolloError(e);Promise.resolve().then(function(){n?r.onError(n):e.data&&(null==t?void 0:t.networkStatus)!==e.networkStatus&&e.networkStatus===f.pT.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&i.V1.warn(e)})}},e.prototype.toApolloError=function(e){return(0,v.E)(e.errors)?new l.K4({graphQLErrors:e.errors}):e.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var r=e.data,i=(e.partial,(0,n.Tt)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,n.Cl)((0,n.Cl)((0,n.Cl)({data:r},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,v.E)(e.errors)&&(t.error=new l.K4({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){!e.partial||!this.queryHookOptions.partialRefetch||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(e,{loading:!0,networkStatus:f.pT.refetch}),this.observable.refetch())},e}()},54056(e,t,r){r.d(t,{R:()=>u});var n=r(92145),i=r(68909),o=r(75779),a=r(65749),s=r(9985);function u(e,t){var r=i.useRef(!1),u=(0,s.m)(null==t?void 0:t.client);(0,a.D$)(e,a.KG.Subscription);var c=i.useState({loading:!(null==t?void 0:t.skip),error:void 0,data:void 0,variables:null==t?void 0:t.variables}),l=c[0],f=c[1];r.current||(r.current=!0,(null==t?void 0:t.onSubscriptionData)&&!1!==globalThis.__DEV__&&n.V1.warn(t.onData?52:53),(null==t?void 0:t.onSubscriptionComplete)&&!1!==globalThis.__DEV__&&n.V1.warn(t.onComplete?54:55));var h=i.useState(function(){return(null==t?void 0:t.skip)?null:u.subscribe({query:e,variables:null==t?void 0:t.variables,fetchPolicy:null==t?void 0:t.fetchPolicy,context:null==t?void 0:t.context})}),p=h[0],d=h[1],v=i.useRef(!1);i.useEffect(function(){return function(){v.current=!0}},[]);var y=i.useRef({client:u,subscription:e,options:t});return i.useEffect(function(){var r,n,i,a,s=null==t?void 0:t.shouldResubscribe;"function"==typeof s&&(s=!!s(t)),(null==t?void 0:t.skip)?(!(null==t?void 0:t.skip)!=!(null===(r=y.current.options)||void 0===r?void 0:r.skip)||v.current)&&(f({loading:!1,data:void 0,error:void 0,variables:null==t?void 0:t.variables}),d(null),v.current=!1):(!1===s||u===y.current.client&&e===y.current.subscription&&(null==t?void 0:t.fetchPolicy)===(null===(n=y.current.options)||void 0===n?void 0:n.fetchPolicy)&&!(null==t?void 0:t.skip)==!(null===(i=y.current.options)||void 0===i?void 0:i.skip)&&(0,o.L)(null==t?void 0:t.variables,null===(a=y.current.options)||void 0===a?void 0:a.variables))&&!v.current||(f({loading:!0,data:void 0,error:void 0,variables:null==t?void 0:t.variables}),d(u.subscribe({query:e,variables:null==t?void 0:t.variables,fetchPolicy:null==t?void 0:t.fetchPolicy,context:null==t?void 0:t.context})),v.current=!1),Object.assign(y.current,{client:u,subscription:e,options:t})},[u,e,t,v.current]),i.useEffect(function(){if(p){var e=!1,r=p.subscribe({next:function(r){var n,i;if(!e){var o={loading:!1,data:r.data,error:void 0,variables:null==t?void 0:t.variables};f(o),(null===(n=y.current.options)||void 0===n?void 0:n.onData)?y.current.options.onData({client:u,data:o}):(null===(i=y.current.options)||void 0===i?void 0:i.onSubscriptionData)&&y.current.options.onSubscriptionData({client:u,subscriptionData:o})}},error:function(r){var n,i;e||(f({loading:!1,data:void 0,error:r,variables:null==t?void 0:t.variables}),null===(i=null===(n=y.current.options)||void 0===n?void 0:n.onError)||void 0===i||i.call(n,r))},complete:function(){var t,r;e||((null===(t=y.current.options)||void 0===t?void 0:t.onComplete)?y.current.options.onComplete():(null===(r=y.current.options)||void 0===r?void 0:r.onSubscriptionComplete)&&y.current.options.onSubscriptionComplete())}});return function(){e=!0,setTimeout(function(){r.unsubscribe()})}}},[p]),l}},16200(e,t,r){let n;r.d(t,{r:()=>u});var i=r(92145),o=r(68909),a=r(42601),s=!1,u=(n||(n=r.t(o,2))).useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||s||n===t()||(s=!0,!1!==globalThis.__DEV__&&i.V1.error(58));var u=o.useState({inst:{value:n,getSnapshot:t}}),l=u[0].inst,f=u[1];return a.JR?o.useLayoutEffect(function(){Object.assign(l,{value:n,getSnapshot:t}),c(l)&&f({inst:l})},[e,n,t]):Object.assign(l,{value:n,getSnapshot:t}),o.useEffect(function(){return c(l)&&f({inst:l}),e(function(){c(l)&&f({inst:l})})},[e]),n};function c(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}},65749(e,t,r){r.d(t,{D$:()=>s,KG:()=>n});var n,i=r(92145);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={}));var o=new Map;function a(e){var t;switch(e){case n.Query:t="Query";break;case n.Mutation:t="Mutation";break;case n.Subscription:t="Subscription"}return t}function s(e,t){var r=function(e){var t,r,a=o.get(e);if(a)return a;(0,i.V1)(!!e&&!!e.kind,59,e);for(var s=[],u=[],c=[],l=[],f=0,h=e.definitions;f<h.length;f++){var p=h[f];if("FragmentDefinition"!==p.kind){if("OperationDefinition"===p.kind)switch(p.operation){case"query":u.push(p);break;case"mutation":c.push(p);break;case"subscription":l.push(p)}}else s.push(p)}(0,i.V1)(!s.length||u.length||c.length||l.length,60),(0,i.V1)(u.length+c.length+l.length<=1,61,e,u.length,l.length,c.length),r=u.length?n.Query:n.Mutation,u.length||c.length||(r=n.Subscription);var d=u.length?u:c.length?c:l;(0,i.V1)(1===d.length,62,e,d.length);var v=d[0];t=v.variableDefinitions||[];var y={name:v.name&&"Name"===v.name.kind?v.name.value:"data",type:r,variables:t};return o.set(e,y),y}(e),s=a(t),u=a(r.type);(0,i.V1)(r.type===t,63,s,s,u)}},51074(e,t,r){r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},42601(e,t,r){r.d(t,{En:()=>o,JR:()=>l,et:()=>i,ol:()=>a,uJ:()=>s});var n=r(92145),i="function"==typeof WeakMap&&"ReactNative"!==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator,u="function"==typeof(0,n.no)(function(){return window.document.createElement}),c=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,l=u&&!c},78537(e,t,r){r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=o(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach(function(r){i[r]=o(e[r],t)}),i;default:return e}}},67643(e,t,r){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},23387(e,t,r){r.d(t,{Nw:()=>u,ST:()=>a,YX:()=>s,bd:()=>c});
1var n=r(76034),i=r(51074),o=r(6224);function a(e){return"incremental"in e}function s(e){return a(e)||function(e){return"hasNext"in e&&"data"in e}(e)}function u(e){return(0,n.U)(e)&&"payload"in e}function c(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=!isNaN(+a)?[]:{};s[a]=t,t=s}r=n.merge(r,t)}),r}},62828(e,t,r){r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},3651(e,t,r){r.d(t,{G:()=>o});var n=r(76034);function i(e){var t=new Set([e]);return t.forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}function o(e){return!1!==globalThis.__DEV__&&i(e),e}},6224(e,t,r){r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>c});var n=r(41161),i=r(76034),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new c,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},9178(e,t,r){r.d(t,{l:()=>o});var n=r(41161),i=r(67643);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},76034(e,t,r){function n(e){return n="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},n(e)}function i(e){return null!==e&&"object"===n(e)}r.d(t,{U:()=>i})},54844(e,t,r){r.d(t,{p:()=>i});var n=r(62828);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},92145(e,t,r){r.d(t,{V1:()=>c,no:()=>o,vA:()=>l});var n=r(55182),i=r(67989);function o(e){try{return e()}catch(e){}}const a=o(function(){return globalThis})||o(function(){return window})||o(function(){return self})||o(function(){return r.g})||o(function(){return o.constructor("return this")()});var s=r(54844);function u(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=p(i))||(t=d(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var c=Object.assign(function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e||(0,n.V1)(e,p(t,r)||d(t,r))},{debug:u(n.V1.debug),log:u(n.V1.log),warn:u(n.V1.warn),error:u(n.V1.error)});function l(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new n.zU(p(e,t)||d(e,t))}var f=Symbol.for("ApolloErrorMessageHandler_"+i.r);function h(e){return"string"==typeof e?e:(0,s.p)(e,2).slice(0,1e3)}function p(e,t){if(void 0===t&&(t=[]),e)return a[f]&&a[f](e,t.map(h))}function d(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.r,message:e,args:t.map(h)})))}globalThis.__DEV__},53623(e,t,r){r.d(t,{c:()=>u});var n=r(20367),i=r(42601),o=r(55786),a=r(92145);function s(e){return e}var u=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),!1!==t.cache&&(this.stableCacheKeys=new n.b(i.et,function(e){return{key:e}}))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(s,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;(0,o.sw)(e);var r=this.transform(e);return this.resultCache.add(r),t&&(t.value=r),r},e.prototype.concat=function(t){var r=this;return new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);return t?((0,a.V1)(Array.isArray(t),65),this.stableCacheKeys.lookupArray(t)):void 0}},e}()},79912(e,t,r){r.d(t,{MS:()=>o,d8:()=>a,f2:()=>s});var n=r(92145),i=r(34135);function o(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach(function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,i=e.name.value;(0,n.V1)(r&&1===r.length,67,i);var o=r[0];(0,n.V1)(o.name&&"if"===o.name.value,68,i);var a=o.value;(0,n.V1)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),69,i),t.push({directive:e,ifArgument:o})}});return t}(r).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,66,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function a(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function s(e){return e&&a(["client","export"],e,!0)}},84005(e,t,r){r.d(t,{HQ:()=>s,JG:()=>a,ct:()=>o});var n=r(41161),i=r(92145);function o(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(70,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,71,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function a(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;
1case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,72,r),n||null;default:return null}}},55786(e,t,r){r.d(t,{AT:()=>c,E4:()=>l,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>h,zK:()=>u});var n=r(92145),i=r(68064);function o(e){(0,n.V1)(e&&"Document"===e.kind,73);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(74,e.kind);return e});return(0,n.V1)(t.length<=1,75,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,76),t}function l(e){(0,n.V1)("Document"===e.kind,77),(0,n.V1)(e.definitions.length<=1,78);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,79),t}function f(e){var t;o(e);for(var r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(80)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},13695(e,t,r){r.d(t,{y:()=>o});var n=r(890),i=r(42601).et?new WeakMap:void 0,o=function(e){var t;return(t=null==i?void 0:i.get(e))||(t=(0,n.y)(e),null==i||i.set(e,t)),t}},68064(e,t,r){r.d(t,{A_:()=>u,D$:()=>b,Ii:()=>f,J:()=>l,Kc:()=>c,MB:()=>y,WU:()=>s,dt:()=>g,kd:()=>w,o5:()=>p,ue:()=>m});var n=r(92145),i=r(76034),o=r(84005);function a(e){return a="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},a(e)}function s(e){return{__ref:String(e)}}function u(e){return Boolean(e&&"object"===a(e)&&"string"==typeof e.__ref)}function c(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(i||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,i),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw(0,n.vA)(81,t.value,r.kind);e[t.value]=null}}function f(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,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),p(e.name.value,n,r)}var h=["connection","include","skip","client","rest","export","nonreactive"],p=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){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(d(i),")")}return r.connection.key}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===h.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(d(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=d;return d=e,t}}),d=function(e){return JSON.stringify(e,v)};function v(e,t){return(0,i.U)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(e,r){return e[r]=t[r],e},{})),t}function y(e,t){if(e.arguments&&e.arguments.length){var r={};
1return e.arguments.forEach(function(e){var n=e.name,i=e.value;return l(r,n,i,t)}),r}return null}function m(e){return e.alias?e.alias.value:e.name.value}function b(e,t,r){for(var n,i=0,a=t.selections;i<a.length;i++){if(g(c=a[i])){if("__typename"===c.name.value)return e[m(c)]}else n?n.push(c):n=[c]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var s=0,u=n;s<u.length;s++){var c=u[s],l=b(e,(0,o.HQ)(c,r).selectionSet,r);if("string"==typeof l)return l}}function g(e){return"Field"===e.kind}function w(e){return"InlineFragment"===e.kind}},48272(e,t,r){r.d(t,{XY:()=>m,er:()=>g,iz:()=>y,zc:()=>b});var n=r(41161),i=r(92145),o=r(98052),a=r(34135),s=r(55786),u=r(68064),c=r(84005),l=r(51074),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function h(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===o.b.FRAGMENT_SPREAD&&h(t[e.name.value],t)})}function p(e){return h((0,s.Vu)(e)||(0,s.E4)(e),(0,c.JG)((0,s.zK)(e)))?null:e}function d(e){var t=new Map,r=new Map;return e.forEach(function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))}),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach(function(t,r){r(e)&&(n=t)}),n}}function v(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 y(e,t){(0,s.sw)(t);for(var r=v(""),u=v(""),c=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,l.c)(n)){if(n.kind===o.b.OPERATION_DEFINITION)return r(n.name&&n.name.value);if(n.kind===o.b.FRAGMENT_DEFINITION)return u(n.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(82),null},f=0,h=t.definitions.length-1;h>=0;--h)t.definitions[h].kind===o.b.OPERATION_DEFINITION&&++f;var y=d(e),m=function(e){return(0,l.E)(e)&&e.map(y).some(function(e){return e&&e.remove})},b=new Map,g=!1,w={enter:function(e){if(m(e.directives))return g=!0,null}},O=(0,a.YR)(t,{Field:w,InlineFragment:w,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(m(e.directives))return g=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){b.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===b.get(JSON.stringify(n))?e:f>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(u(e.name.value).removed=!0,g=!0,null):void 0}},Directive:{leave:function(e){if(y(e))return g=!0,null}}});if(!g)return t;var S=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){S(u(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},_=new Set;O.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?S(r(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){_.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==f||u(e.name.value).removed||_.add(e.name.value)}),_.forEach(function(e){S(u(e)).fragmentSpreads.forEach(function(e){_.add(e)})});var k={enter:function(e){if(t=e.name.value,!_.has(t)||u(t).removed)return null;var t}};return p((0,a.YR)(O,{FragmentSpread:k,FragmentDefinition:k,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=S(r(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))}var m=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(i)if(!i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))})){var a=r;if(!((0,u.dt)(a)&&a.directives&&a.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[f],!1)})}}}}})},{added:function(e){return e===f}});function b(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function g(e){return(0,s.sw)(e),y([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},38984(e,t,r){function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}
1),n.forEach(function(e){return e[t](r)})}r.d(t,{w:()=>n})},77621(e,t,r){r.d(t,{r:()=>o});var n=r(28611),i=r(42601);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},67989(e,t,r){r.d(t,{r:()=>n});var n="3.8.10"},92444(e,t,r){function n(e){return n="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},n(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=n(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==n(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var s=r(28245),u=s.ApolloLink,c=s.Observable,l=r(48507),f=l.createSignalIfSupported,h=l.fallbackHttpConfig,p=l.parseAndCheckHttpResponse,d=l.rewriteURIForGET,v=l.selectHttpOptionsAndBody,y=l.selectURI,m=l.serializeFetchParameter,b=r(4535),g=r(78589),w=r(97730);e.exports=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.uri,r=void 0===t?"/graphql":t,n=e.useGETForQueries,i=e.isExtractableFile,a=void 0===i?w:i,s=e.FormData,l=e.formDataAppendFile,O=void 0===l?g:l,S=e.fetch,_=e.fetchOptions,k=e.credentials,C=e.headers,E={http:{includeExtensions:e.includeExtensions},options:_,credentials:k,headers:C};return new u(function(e){var t=e.getContext(),i=t.clientAwareness,u=void 0===i?{}:i,l=u.name,g=u.version,w=t.headers,_={http:t.http,options:t.fetchOptions,credentials:t.credentials,headers:o(o(o({},l&&{"apollographql-client-name":l}),g&&{"apollographql-client-version":g}),w)},k=v(e,h,E,_),C=k.options,T=k.body,R=b(T,"",a),D=R.clone,P=R.files,q=y(e,r);if(P.size){delete C.headers["content-type"];var x=new(s||FormData);x.append("operations",m(D,"Payload"));var F={},Q=0;P.forEach(function(e){F[++Q]=e}),x.append("map",JSON.stringify(F)),Q=0,P.forEach(function(e,t){O(x,++Q,t)}),C.body=x}else if(n&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(C.method="GET"),"GET"===C.method){var I=d(q,T),A=I.newURI,M=I.parseError;if(M)return new c(function(e){e.error(M)});q=A}else C.body=m(D,"Payload");var j=f().controller;j&&(C.signal&&(C.signal.aborted?j.abort():C.signal.addEventListener("abort",function(){j.abort()},{once:!0})),C.signal=j.signal);var V=S||fetch;return new c(function(t){var r;return V(q,C).then(function(t){return e.setContext({response:t}),t}).then(p(e)).then(function(e){t.next(e),t.complete()}).catch(function(e){r||(e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e))}),function(){r=!0,j&&j.abort()}})})}},78589(e){e.exports=function(e,t,r){e.append(t,r,r.name)}},97730(e,t,r){e.exports=r(69056)}}]);

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.