PageSourceSearch

https://www.mon-clairanimalhospital.com/_next/static/chunks/6482-040288e21afb8904.js

js mon-clairanimalhospital.com collected 2026-10-08 09:07:19 UTC 41,751 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6482],{36482:(e,t,r)=>{r.d(t,{D9:()=>eh,bl:()=>W,MW:()=>s.MW});var i,n=r(20767),a=r(4902),o=r(53764),s=r(54242),c=r(98100),u=r(57038),l=r(2453),f=r(79205),p=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(s.ct,{max:s.vd["cache.fragmentQueryDocuments"]||1e3,cache:c.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,i="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},i),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,s.cc)(e,"canonizeResults","cache.readQuery"),(0,s.lz)("canonizeResults",function(){return r.read((0,a.Cl)((0,a.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t,r=this,i=e.fragment,o=e.fragmentName,c=e.from,u=e.optimistic,p=(0,a.Tt)(e,["fragment","fragmentName","from","optimistic"]),h=this.getFragmentDoc(i,o),d=void 0===c||"string"==typeof c?c:this.identify(c),y=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var m=o||(0,s.E4)(i).name.value;d||!1===globalThis.__DEV__||n.V1.warn(1,m)}var g=(0,a.Cl)((0,a.Cl)({},p),{returnPartialData:!0,id:d,query:h,optimistic:void 0===u||u});return new s.cP(function(n){return r.watch((0,a.Cl)((0,a.Cl)({},g),{immediate:!0,callback:function(c){var u=y?(0,f.zx)(c.result,i,r,o):c.result;if(!(t&&(0,l.a)(h,{data:t.result},{data:u},e.variables))){var p={data:u,complete:!!c.complete};c.missing&&(p.missing=(0,s.IM)(c.missing.map(function(e){return e.missing}))),t=(0,a.Cl)((0,a.Cl)({},c),{result:u}),n.next(p)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,s.cc)(e,"canonizeResults","cache.readFragment"),(0,s.lz)("canonizeResults",function(){return r.read((0,a.Cl)((0,a.Cl)({},e),{query:r.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,a.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,n=e.fragmentName,o=(0,a.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,n),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,s.cc)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var i=(0,s.lz)("canonizeResults",function(){return r.readQuery(e)}),n=t(i);return null==n?i:(r.writeQuery((0,a.Cl)((0,a.Cl)({},e),{data:n})),n)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,s.cc)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var i=(0,s.lz)("canonizeResults",function(){return r.readFragment(e)}),n=t(i);return null==n?i:(r.writeFragment((0,a.Cl)((0,a.Cl)({},e),{data:n})),n)}})},e}();!1!==globalThis.__DEV__&&(p.prototype.getMemoryInternals=u.tQ),i||(i={});var h=function(e){function t(r,i,n,a){var o,s=e.call(this,r)||this;if(s.message=r,s.path=i,s.query=n,s.variables=a,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)(o={})[s.path[c]]=s.missing,s.missing=o}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,a.C6)(t,e),t}(Error),d=r(20996),y=r(39668),m=Object.prototype.hasOwnProperty;function g(e){return null==e}function v(e,t){var r=e.__typename,i=e.id,n=e._id;if("string"==typeof r&&(t&&(t.keyObject=g(i)?g(n)?void 0:{_id:n}:{id:i}),g(i)&&!g(n)&&(i=n),!g(i)))return"".concat(r,":").concat("number"==typeof i||"string"==typeof i?i:JSON.stringify(i))}var _={dataIdFromObject:v,addTypename:!0,resultCaching:!0,canonizeResults:!1};function b(e){var t=e.canonizeResults;return void 0===t?_.canonizeResults:t}var S=/^[_a-z][_0-9a-z]*/i;function O(e){var t=e.match(S);return t?t[0]:e}function T(e){return(0,s.UU)(e)&&!(0,s.A_)(e)&&!(0,s.cy)(e)}function C(e,t){var r=(0,s.JG)((0,s.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var i=r[e];return!i&&t&&(i=t.lookup(e)),i||null}}}var k=Object.create(null),w=function(){return k},E=Object.create(null),R=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,s.GH)((0,s.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,s.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,s.WU)(e);if((0,s.A_)(e))return e;var i=r.policies.identify(e)[0];if(i){var n=(0,s.WU)(i);return t&&r.merge(i,e),n}}}return e.prototype.toObject=function(){return(0,a.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),m.call(this.data,e)){var r=this.data[e];if(r&&m.call(r,t))return r[t]}return"__typename"===t&&m.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof I?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),m.call(this.data,e))?this.data[e]:this instanceof I?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,i=this;(0,s.A_)(e)&&(e=e.__ref),(0,s.A_)(t)&&(t=t.__ref);
1var a="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,n.V1)("string"==typeof r,2);var c=new s.ZI(A).merge(a,o);if(this.data[r]=c,c!==a&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);a||(u.__exists=1),Object.keys(o).forEach(function(e){if(!a||a[e]!==c[e]){u[e]=1;var t=O(e);t===e||i.policies.hasKeyArgs(c.__typename,t)||(u[t]=1),void 0!==c[e]||i instanceof I||delete c[e]}}),u.__typename&&!(a&&a.__typename)&&this.policies.rootTypenamesById[r]===c.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return i.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),c=!1,u=!0,l={DELETE:k,INVALIDATE:E,isReference:s.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,i){return r.policies.readField("string"==typeof t?{fieldName:t,from:i||(0,s.WU)(e)}:t,{store:r})}};if(Object.keys(i).forEach(function(f){var p=O(f),h=i[f];if(void 0!==h){var d="function"==typeof t?t:t[f]||t[p];if(d){var y=d===w?k:d((0,s.GH)(h),(0,a.Cl)((0,a.Cl)({},l),{fieldName:p,storeFieldName:f,storage:r.getStorage(e,f)}));if(y===E)r.group.dirty(e,f);else if(y===k&&(y=void 0),y!==h&&(o[f]=y,c=!0,h=y,!1!==globalThis.__DEV__)){var m=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&n.V1.warn(3,e),!0};if((0,s.A_)(y))m(y);else if(Array.isArray(y))for(var g=!1,v=void 0,_=0,b=y;_<b.length;_++){var S=b[_];if((0,s.A_)(S)){if(g=!0,m(S))break}else"object"==typeof S&&S&&r.policies.identify(S)[0]&&(v=S);if(g&&void 0!==v){!1!==globalThis.__DEV__&&n.V1.warn(4,v);break}}}}void 0!==h&&(u=!1)}}),c)return this.merge(e,o),u&&(this instanceof I?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var i,n=this.lookup(e);if(n){var a=this.getFieldValue(n,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:a,fieldName:t,args:r}):t;return this.modify(e,o?((i={})[o]=w,i):w)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(m.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof I&&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){m.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&&m.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,a.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 I?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(i){m.call(r,i)&&(Object.keys(e.findChildRefIds(i)).forEach(t.add,t),delete r[i])});var i=Object.keys(r);if(i.length){for(var n=this;n instanceof I;)n=n.parent;i.forEach(function(e){return n.delete(e)})}return i},e.prototype.findChildRefIds=function(e){if(!m.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var i=new Set([r]);i.forEach(function(e){(0,s.A_)(e)&&(t[e.__ref]=!0),(0,s.UU)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,s.UU)(r)&&i.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),j=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 y.b(s.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=O(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function F(e,t){D(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,i=t.resultCaching,n=t.seed,a=e.call(this,r,new j(void 0===i||i))||this;return a.stump=new M(a),a.storageTrie=new y.b(s.et),n&&a.replace(n),a}return(0,a.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}(R||(R={}));var I=function(e){function t(t,r,i,n){var a=e.call(this,r.policies,n)||this;return a.id=t,a.parent=r,a.replay=i,a.group=n,i(a),a}return(0,a.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 i=t.data[e],n=r.lookup(e);
1n?i?i!==n&&Object.keys(i).forEach(function(r){(0,d.L)(i[r],n[r])||t.group.dirty(e,r)}):(t.group.dirty(e,"__exists"),Object.keys(n).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,a.Cl)((0,a.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return m.call(this.data,t)?(0,a.Cl)((0,a.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}(R),M=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new j(t.group.caching,t.group))||this}return(0,a.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(I);function A(e,t,r){var i=e[r],n=t[r];return(0,d.L)(i,n)?i:n}function D(e){return!!(e instanceof R&&e.group.caching)}var x=r(35852),z=function(){function e(){this.known=new(s.l2?WeakSet:Set),this.pool=new y.b(s.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.UU)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.UU)(e)){var t=(0,s.UU)(e)?(0,s.cy)(e)?e.slice(0):(0,a.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,s.UU)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var i=e.map(this.admit,this),n=this.pool.lookupArray(i);return n.array||(this.known.add(n.array=i),!1!==globalThis.__DEV__&&Object.freeze(i)),n.array;case null:case Object.prototype:if(this.known.has(e))break;var a=Object.getPrototypeOf(e),o=[a],c=this.sortedKeys(e);o.push(c.json);var u=o.length;c.sorted.forEach(function(r){o.push(t.admit(e[r]))});var n=this.pool.lookupArray(o);if(!n.object){var l=n.object=Object.create(a);this.known.add(l),c.sorted.forEach(function(e,t){l[e]=o[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return n.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var i=JSON.stringify(t);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:t,json:i})}return r.keys},e}();function V(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var N=function(){function e(e){var t=this;this.knownResults=new(s.et?WeakMap:Map),this.config=(0,s.oE)(e,{addTypename:!1!==e.addTypename,canonizeResults:b(e)}),this.canon=e.canon||new z,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,n=V(e);n[3]=!i;var o=(r=t.executeSelectionSet).peek.apply(r,n);return o?i?(0,a.Cl)((0,a.Cl)({},o),{result:t.canon.admit(o.result)}):o:(F(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||s.vd["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:V,makeCacheKey:function(e,t,r,i){if(D(r.store))return r.store.makeCacheKey(e,(0,s.A_)(t)?t.__ref:t,r.varString,i)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return F(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||s.vd["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,i=e.context;if(D(i.store))return i.store.makeCacheKey(t,r,i.varString)}})}return e.prototype.resetCanon=function(){this.canon=new z},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,n=e.rootId,o=e.variables,c=e.returnPartialData,u=e.canonizeResults,l=void 0===u?this.config.canonizeResults:u,f=this.config.cache.policies;o=(0,a.Cl)((0,a.Cl)({},(0,s.wY)((0,s.AT)(i))),o);var p=(0,s.WU)(void 0===n?"ROOT_QUERY":n),d=this.executeSelectionSet({selectionSet:(0,s.Vn)(i).selectionSet,objectOrReference:p,enclosingRef:p,context:(0,a.Cl)({store:r,query:i,policies:f,variables:o,varString:(0,s.MW)(o),canonizeResults:l},C(i,this.config.fragments))});if(d.missing&&(t=[new h(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(d.missing),d.missing,i,o)],!(void 0===c||c)))throw t[0];return{result:d.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,i){if(D(i.store)&&this.knownResults.get(e)===r){var n=this.executeSelectionSet.peek(r,t,i,this.canon.isKnown(e));if(n&&e===n.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,i=e.selectionSet,a=e.objectOrReference,o=e.enclosingRef,c=e.context;if((0,s.A_)(a)&&!c.policies.rootTypenamesById[a.__ref]&&!c.store.has(a.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(a.__ref," object")};var u=c.variables,l=c.policies,f=c.store.getFieldValue(a,"__typename"),p=[],h=new s.ZI;function d(e,r){var i;return e.missing&&(t=h.merge(t,((i={})[r]=e.missing,i))),e.result}this.config.addTypename&&"string"==typeof f&&!l.rootIdsByTypename[f]&&p.push({__typename:f});var y=new Set(i.selections);
1y.forEach(function(e){var i,m;if((0,s.MS)(e,u))if((0,s.dt)(e)){var g=l.readField({fieldName:e.name.value,field:e,variables:c.variables,from:a},c),v=(0,s.ue)(e);void 0===g?s.XY.added(e)||(t=h.merge(t,((i={})[v]="Can't find field '".concat(e.name.value,"' on ").concat((0,s.A_)(a)?a.__ref+" object":"object "+JSON.stringify(a,null,2)),i))):(0,s.cy)(g)?g.length>0&&(g=d(r.executeSubSelectedArray({field:e,array:g,enclosingRef:o,context:c}),v)):e.selectionSet?null!=g&&(g=d(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:(0,s.A_)(g)?g:o,context:c}),v)):c.canonizeResults&&(g=r.canon.pass(g)),void 0!==g&&p.push(((m={})[v]=g,m))}else{var _=(0,s.HQ)(e,c.lookupFragment);if(!_&&e.kind===x.b.FRAGMENT_SPREAD)throw(0,n.vA)(10,e.name.value);_&&l.fragmentMatches(_,f)&&_.selectionSet.selections.forEach(y.add,y)}});var m={result:(0,s.IM)(p),missing:t},g=c.canonizeResults?this.canon.admit(m):(0,s.GH)(m);return g.result&&this.knownResults.set(g.result,i),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,i=e.field,a=e.array,o=e.enclosingRef,c=e.context,u=new s.ZI;function l(e,r){var i;return e.missing&&(t=u.merge(t,((i={})[r]=e.missing,i))),e.result}return i.selectionSet&&(a=a.filter(c.store.canRead)),a=a.map(function(e,t){return null===e?null:(0,s.cy)(e)?l(r.executeSubSelectedArray({field:i,array:e,enclosingRef:o,context:c}),t):i.selectionSet?l(r.executeSelectionSet({selectionSet:i.selectionSet,objectOrReference:e,enclosingRef:(0,s.A_)(e)?e:o,context:c}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var i=new Set([r]);i.forEach(function(r){(0,s.UU)(r)&&((0,n.V1)(!(0,s.A_)(r),11,(0,s.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(i.add,i))})}}(c.store,i,e),e)}),{result:c.canonizeResults?this.canon.admit(a):a,missing:t}},e}(),W=new o.DX,P=new WeakMap;function U(e){var t=P.get(e);return t||P.set(e,t={vars:new Set,dep:(0,o.yN)()}),t}function B(e){U(e).vars.forEach(function(t){return t.forgetCache(e)})}function L(e){var t=new Set,r=new Set,i=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(function(e){var t;U(e).dep.dirty(i),(t=e).broadcastWatches&&t.broadcastWatches()});var o=Array.from(r);r.clear(),o.forEach(function(t){return t(e)})}}else{var s=W.getValue();s&&(n(s),U(s).dep(i))}return e};i.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var n=i.attachCache=function(e){return t.add(e),U(e).vars.add(i),i};return i.forgetCache=function(e){return t.delete(e)},i}var Q=Object.create(null);function K(e){var t=JSON.stringify(e);return Q[t]||(Q[t]=Object.create(null))}function Y(e){var t=K(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var i=function(e,t){return r.readField(t,e)},a=r.keyObject=q(e,function(e){var a=H(r.storeObject,e,i);return void 0===a&&t!==r.storeObject&&m.call(t,e[0])&&(a=H(t,e,G)),(0,n.V1)(void 0!==a,5,e.join("."),t),a});return"".concat(r.typename,":").concat(JSON.stringify(a))})}function J(e){var t=K(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var i=r.field,n=r.variables,a=r.fieldName,o=JSON.stringify(q(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(i&&(0,s.EI)(i.directives)){var o=r.slice(1),c=i.directives.find(function(e){return e.name.value===o}),u=c&&(0,s.MB)(c,n);return u&&H(u,e.slice(1))}return}if("$"===a){var l=r.slice(1);if(n&&m.call(n,l)){var f=e.slice(0);return f[0]=l,H(n,f)}return}if(t)return H(t,e)}));return(t||"{}"!==o)&&(a+=":"+o),a})}function q(e,t){var r=new s.ZI;return(function e(t){var r=K(t);if(!r.paths){var i=r.paths=[],n=[];t.forEach(function(r,a){(0,s.cy)(r)?(e(r).forEach(function(e){return i.push(n.concat(e))}),n.length=0):(n.push(r),(0,s.cy)(t[a+1])||(i.push(n.slice(0)),n.length=0))})}return r.paths})(e).reduce(function(e,i){var n,a=t(i);if(void 0!==a){for(var o=i.length-1;o>=0;--o)(n={})[i[o]]=a,a=n;e=r.merge(e,a)}return e},Object.create(null))}function G(e,t){return e[t]}function H(e,t,r){return r=r||G,function e(t){return(0,s.UU)(t)?(0,s.cy)(t)?t.map(e):q(Object.keys(t).sort(),function(e){return H(t,e)}):t}(t.reduce(function e(t,i){return(0,s.cy)(t)?t.map(function(t){return e(t,i)}):t&&r(t,i)},e))}
1function Z(e){return void 0!==e.args?e.args:e.field?(0,s.MB)(e.field,e.variables):null}var X=function(){},$=function(e,t){return t.fieldName},ee=function(e,t,r){return(0,r.mergeObjects)(e,t)},et=function(e,t){return t},er=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,a.Cl)({dataIdFromObject:v},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,n=this,o=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var c=t&&t.storeObject||e,u=(0,a.Cl)((0,a.Cl)({},t),{typename:o,storeObject:c,readField:t&&t.readField||function(){var e=en(arguments,c);return n.readField(e,{store:n.cache.data,variables:e.variables})}}),l=o&&this.getTypePolicy(o),p=l&&l.keyFn||this.config.dataIdFromObject;return f.yV.withValue(!0,function(){for(;p;){var t=p((0,a.Cl)((0,a.Cl)({},e),c),u);if((0,s.cy)(t))p=Y(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],n=i.queryType,o=i.mutationType,s=i.subscriptionType,c=(0,a.Tt)(i,["queryType","mutationType","subscriptionType"]);n&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),m.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(e,t,r){var i=this.getTypePolicy(e),n=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?ee:!1===t?et:e.merge}o(i,t.merge),i.keyFn=!1===n?X:(0,s.cy)(n)?Y(n):"function"==typeof n?n:i.keyFn,a&&Object.keys(a).forEach(function(t){var i=r[t];i&&(null==i?void 0:i.typename)===e||(i=r[t]={typename:e});var n=a[t];if("function"==typeof n)i.read=n;else{var c=n.keyArgs,u=n.read,l=n.merge;i.keyFn=!1===c?$:(0,s.cy)(c)?J(c):"function"==typeof c?c:i.keyFn,"function"==typeof u&&(i.read=u),o(i,l)}i.read&&i.merge&&(i.keyFn=i.keyFn||$)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[r];t!==i&&((0,n.V1)(!i||i===e,6,e),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var i=e.match(S);i&&i[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!m.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 a=t.supertypeMap.get(n);a&&a.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),n=i.fields;Object.assign(r,(0,a.Tt)(i,["fields"])),Object.assign(r.fields,n)})}var n=this.toBeAdded[e];return n&&n.length&&n.splice(0).forEach(function(r){t.updateTypePolicy(e,r,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,i){var a=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var c=this.getSupertypeSet(t,!0),u=[c],l=function(e){var t=a.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},f=!!(r&&this.fuzzySubtypes.size),p=!1,h=0;h<u.length;++h){var d=u[h];
1if(d.has(o))return c.has(o)||(p&&!1!==globalThis.__DEV__&&n.V1.warn(7,t,o),c.add(o)),!0;d.forEach(l),f&&h===u.length-1&&function e(t,r,i){return!!(0,s.UU)(r)&&((0,s.cy)(r)?r.every(function(r){return e(t,r,i)}):t.selections.every(function(t){if((0,s.dt)(t)&&(0,s.MS)(t,i)){var n=(0,s.ue)(t);return m.call(r,n)&&(!t.selectionSet||e(t.selectionSet,r[n],i))}return!0}))}(e.selectionSet,r,i)&&(f=!1,p=!0,this.fuzzySubtypes.forEach(function(e,r){var i=t.match(e);i&&i[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,i=e.fieldName,n=this.getFieldPolicy(r,i),a=n&&n.keyFn;if(a&&r)for(var o={typename:r,fieldName:i,field:e.field||null,variables:e.variables},c=Z(e);a;){var u=a(c,o);if((0,s.cy)(u))a=J(u);else{t=u||i;break}}return(void 0===t&&(t=e.field?(0,s.Ii)(e.field,e.variables):(0,s.o5)(i,Z(e))),!1===t)?i:i===O(t)?t:i+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var i=t.store.getFieldValue(r,"__typename");i&&(e.typename=i)}var n=this.getStoreFieldName(e),a=O(n),o=t.store.getFieldValue(r,n),c=this.getFieldPolicy(e.typename,a),u=c&&c.read;if(u){var l=ei(this,r,e,t,t.store.getStorage((0,s.A_)(r)?r.__ref:r,n));return W.withValue(this.cache,u,[o,l])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var i=this.getFieldPolicy(e,t),n=i&&i.merge;return!n&&r&&(n=(i=this.getTypePolicy(r))&&i.merge),n},e.prototype.runMergeFunction=function(e,t,r,i,n){var a=r.field,o=r.typename,s=r.merge;return s===ee?ea(i.store)(e,t):s===et?t:(i.overwrite&&(e=void 0),s(e,t,ei(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:i.variables},i,n||Object.create(null))))},e}();function ei(e,t,r,i,n){var a=e.getStoreFieldName(r),o=O(a),c=r.variables||i.variables,u=i.store,l=u.toReference,f=u.canRead;return{args:Z(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:c,isReference:s.A_,toReference:l,storage:n,cache:e.cache,canRead:f,readField:function(){return e.readField(en(arguments,t,c),i)},mergeObjects:ea(i.store)}}function en(e,t,r){var i,o=e[0],c=e[1],u=e.length;return"string"==typeof o?i={fieldName:o,from:u>1?c:t}:(i=(0,a.Cl)({},o),m.call(i,"from")||(i.from=t)),!1!==globalThis.__DEV__&&void 0===i.from&&!1!==globalThis.__DEV__&&n.V1.warn(8,(0,s.pk)(Array.from(e))),void 0===i.variables&&(i.variables=r),i}function ea(e){return function(t,r){if((0,s.cy)(t)||(0,s.cy)(r))throw(0,n.vA)(9);if((0,s.UU)(t)&&(0,s.UU)(r)){var i=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(i&&o&&i!==o)return r;if((0,s.A_)(t)&&T(r))return e.merge(t.__ref,r),t;if(T(t)&&(0,s.A_)(r))return e.merge(t,r.__ref),r;if(T(t)&&T(r))return(0,a.Cl)((0,a.Cl)({},t),r)}return r}}function eo(e,t,r){var i="".concat(t).concat(r),n=e.flavors.get(i);return n||e.flavors.set(i,n=e.clientOnly===t&&e.deferred===r?e:(0,a.Cl)((0,a.Cl)({},e),{clientOnly:t,deferred:r})),n}var es=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,i=t.query,o=t.result,c=t.dataId,u=t.variables,l=t.overwrite,f=(0,s.Vu)(i),p=new s.ZI;u=(0,a.Cl)((0,a.Cl)({},(0,s.wY)(f)),u);var h=(0,a.Cl)((0,a.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:u,varString:(0,s.MW)(u)},C(i,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:o||Object.create(null),dataId:c,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,s.A_)(y))throw(0,n.vA)(12,o);return h.incomingById.forEach(function(t,i){var o=t.storeObject,c=t.mergeTree,u=t.fieldNodeSet,l=(0,s.WU)(i);if(c&&c.map.size){var f=r.applyMerges(c,l,o,h);if((0,s.A_)(f))return;o=f}if(!1!==globalThis.__DEV__&&!h.overwrite){var p=Object.create(null);u.forEach(function(e){e.selectionSet&&(p[e.name.value]=!0)});var y=function(e){var t=c&&c.map.get(e);return!!(t&&t.info&&t.info.merge)};
1Object.keys(o).forEach(function(e){!0!==p[O(e)]||y(e)||function(e,t,r,i){var o=function(e){var t=i.getFieldValue(e,r);return"object"==typeof t&&t},c=o(e);if(c){var u=o(t);if(!(!u||(0,s.A_)(c)||(0,d.L)(c,u)||Object.keys(c).every(function(e){return void 0!==i.getFieldValue(u,e)}))){var l=i.getFieldValue(e,"__typename")||i.getFieldValue(t,"__typename"),f=O(r),p="".concat(l,".").concat(f);if(!ep.has(p)){ep.add(p);var h=[];(0,s.cy)(c)||(0,s.cy)(u)||[c,u].forEach(function(e){var t=i.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&n.V1.warn(15,f,l,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",p,(0,a.Cl)({},c),(0,a.Cl)({},u))}}}}(l,o,e,h.store)})}e.merge(i,o)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,i=e.result,o=e.selectionSet,c=e.context,u=e.mergeTree,l=this.cache.policies,f=Object.create(null),p=r&&l.rootTypenamesById[r]||(0,s.D$)(i,o,c.fragmentMap)||r&&c.store.get(r,"__typename");"string"==typeof p&&(f.__typename=p);var h=function(){var e=en(arguments,f,c.variables);if((0,s.A_)(e.from)){var t=c.incomingById.get(e.from.__ref);if(t){var r=l.readField((0,a.Cl)((0,a.Cl)({},e),{from:t.storeObject}),c);if(void 0!==r)return r}}return l.readField(e,c)},d=new Set;this.flattenFields(o,i,c,p).forEach(function(e,r){var a,o=i[(0,s.ue)(r)];if(d.add(r),void 0!==o){var c=l.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),y=eu(u,c),m=t.processFieldValue(o,r,r.selectionSet?eo(e,!1,!1):e,y),g=void 0;r.selectionSet&&((0,s.A_)(m)||T(m))&&(g=h("__typename",m));var v=l.getMergeFunction(p,r.name.value,g);v?y.info={field:r,typename:p,merge:v}:ef(u,c),f=e.merge(f,((a={})[c]=m,a))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||s.XY.added(r)||l.getReadFunction(p,r.name.value)||!1===globalThis.__DEV__||n.V1.error(13,(0,s.ue)(r),i)});try{var y=l.identify(i,{typename:p,selectionSet:o,fragmentMap:c.fragmentMap,storeObject:f,readField:h}),m=y[0],g=y[1];r=r||m,g&&(f=c.merge(f,g))}catch(e){if(!r)throw e}if("string"==typeof r){var v=(0,s.WU)(r),_=c.written[r]||(c.written[r]=[]);if(_.indexOf(o)>=0||(_.push(o),this.reader&&this.reader.isFresh(i,v,o,c)))return v;var b=c.incomingById.get(r);return b?(b.storeObject=c.merge(b.storeObject,f),b.mergeTree=function e(t,r){if(t===r||!r||el(r))return t;if(!t||el(t))return r;var i=t.info&&r.info?(0,a.Cl)((0,a.Cl)({},t.info),r.info):t.info||r.info,n=t.map.size&&r.map.size,o={info:i,map:n?new Map:t.map.size?t.map:r.map};if(n){var s=new Set(r.map.keys());t.map.forEach(function(t,i){o.map.set(i,e(t,r.map.get(i))),s.delete(i)}),s.forEach(function(i){o.map.set(i,e(r.map.get(i),t.map.get(i)))})}return o}(b.mergeTree,u),d.forEach(function(e){return b.fieldNodeSet.add(e)})):c.incomingById.set(r,{storeObject:f,mergeTree:el(u)?void 0:u,fieldNodeSet:d}),v}return f},e.prototype.processFieldValue=function(e,t,r,i){var n=this;return t.selectionSet&&null!==e?(0,s.cy)(e)?e.map(function(e,a){var o=n.processFieldValue(e,t,r,eu(i,a));return ef(i,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:i}):!1!==globalThis.__DEV__?(0,s.mg)(e):e},e.prototype.flattenFields=function(e,t,r,i){void 0===i&&(i=(0,s.D$)(t,e,r.fragmentMap));var a=new Map,o=this.cache.policies,c=new y.b(!1);return!function e(u,l){var f=c.lookup(u,l.clientOnly,l.deferred);f.visited||(f.visited=!0,u.selections.forEach(function(c){if((0,s.MS)(c,r.variables)){var u=l.clientOnly,f=l.deferred;if(!(u&&f)&&(0,s.EI)(c.directives)&&c.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var i=(0,s.MB)(e,r.variables);i&&!1===i.if||(f=!0)}}),(0,s.dt)(c)){var p=a.get(c);p&&(u=u&&p.clientOnly,f=f&&p.deferred),a.set(c,eo(r,u,f))}else{var h=(0,s.HQ)(c,r.lookupFragment);if(!h&&c.kind===x.b.FRAGMENT_SPREAD)throw(0,n.vA)(14,c.name.value);h&&o.fragmentMatches(h,i,t,r.variables)&&e(h.selectionSet,eo(r,u,f))}}}))}(e,r),a},e.prototype.applyMerges=function(e,t,r,i,o){var c=this;if(e.map.size&&!(0,s.A_)(r)){var u,l,f=!(0,s.cy)(r)&&((0,s.A_)(t)||T(t))?t:void 0,p=r;f&&!o&&(o=[(0,s.A_)(f)?f.__ref:f]);var h=function(e,t){return(0,s.cy)(e)?"number"==typeof t?e[t]:void 0:i.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=h(f,t),a=h(p,t);if(void 0!==a){o&&o.push(t);var s=c.applyMerges(e,r,a,i,o);s!==a&&(l=l||new Map).set(t,s),o&&(0,n.V1)(o.pop()===t)}}),l&&(r=(0,s.cy)(p)?p.slice(0):(0,a.Cl)({},p),l.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,i,o&&(u=i.store).getStorage.apply(u,o)):r},e}(),ec=[];function eu(e,t){var r=e.map;return r.has(t)||r.set(t,ec.pop()||{map:new Map}),r.get(t)}function el(e){return!e||!(e.info||e.map.size)}function ef(e,t){var r=e.map,i=r.get(t);i&&el(i)&&(ec.push(i),r.delete(t))}var ep=new Set,eh=function(e){function t(t){void 0===t&&(t={});var r,i=e.call(this)||this;return i.watches=new Set,i.addTypenameTransform=new s.c1(s.XY),i.assumeImmutableResults=!0,i.makeVar=L,i.txCount=0,!1!==globalThis.__DEV__&&((0,s.cc)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,s.cc)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r=t,i.config=(0,s.oE)(_,r),i.addTypename=!!i.config.addTypename,i.policies=new er({cache:i,dataIdFromObject:i.config.dataIdFromObject,possibleTypes:i.config.possibleTypes,typePolicies:i.config.typePolicies}),i.init(),i}return(0,a.C6)(t,e),t.prototype.init=function(){var e=this.data=new R.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,i=this.config.fragments;this.addTypenameTransform.resetCache(),null==i||i.resetCaches(),this.storeWriter=new es(this,this.storeReader=new N({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:b(this.config),canon:e?void 0:r&&r.canon,fragments:i}),i),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||s.vd["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(D(r)){var i=e.optimistic,n=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,(0,s.MW)({optimistic:i,id:n,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){!1!==globalThis.__DEV__&&(0,s.cc)(e,"canonizeResults","cache.read");var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,a.Cl)((0,a.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof h)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(m.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return!1!==globalThis.__DEV__&&(0,s.cc)(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,a.Cl)((0,a.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,r=this;return this.watches.size||(t=this,U(t).vars.forEach(function(e){return e.attachCache(t)})),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){r.watches.delete(e)&&!r.watches.size&&B(r),r.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,s.cc)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),s.MW.reset(),s.yy.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,s.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&n.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(m.call(e,"id"))return!1;e=(0,a.Cl)((0,a.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(),s.MW.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),B(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,n=e.optimistic,o=void 0===n||n,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r.data,a=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=a}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,a.Cl)((0,a.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches((0,a.Cl)((0,a.Cl)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=this,i=e.lastDiff,n=(0,s.lz)("canonizeResults",function(){return r.diff(e)});(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,i)))&&(i&&(0,d.L)(i.result,n.result)||e.callback(e.lastDiff=n,i))},t}(p);!1!==globalThis.__DEV__&&(eh.prototype.getMemoryInternals=u.cM);var ed=r(74209);!function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.registry=Object.create(null),this.resetCaches(),e.length&&this.register.apply(this,e)}e.prototype.register=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=new Map;return t.forEach(function(e){(0,s.zK)(e).forEach(function(e){i.set(e.name.value,e)})}
1),i.forEach(function(t,r){t!==e.registry[r]&&(e.registry[r]=t,e.invalidate(r))}),this},e.prototype.invalidate=function(e){},e.prototype.resetCaches=function(){var t=e.prototype;this.invalidate=(this.lookup=(0,o.LV)(t.lookup.bind(this),{makeCacheKey:function(e){return e},max:s.vd["fragmentRegistry.lookup"]||1e3})).dirty,this.transform=(0,o.LV)(t.transform.bind(this),{cache:c.l,max:s.vd["fragmentRegistry.transform"]||2e3}),this.findFragmentSpreads=(0,o.LV)(t.findFragmentSpreads.bind(this),{cache:c.l,max:s.vd["fragmentRegistry.findFragmentSpreads"]||4e3})},e.prototype.lookup=function(e){return this.registry[e]||null},e.prototype.transform=function(e){var t=this,r=new Map;(0,s.zK)(e).forEach(function(e){r.set(e.name.value,e)});var i=new Set,n=function(e){r.has(e)||i.add(e)},o=function(e){return Object.keys(t.findFragmentSpreads(e)).forEach(n)};o(e);var c=[],u=Object.create(null);if(i.forEach(function(e){var i=r.get(e);if(i)o(u[e]=i);else{c.push(e);var n=t.lookup(e);n&&o(u[e]=n)}}),c.length){var l=[];c.forEach(function(e){var t=u[e];t&&l.push(t)}),l.length&&(e=(0,a.Cl)((0,a.Cl)({},e),{definitions:e.definitions.concat(l)}))}return e},e.prototype.findFragmentSpreads=function(e){var t=Object.create(null);return(0,ed.Y)(e,{FragmentSpread:function(e){t[e.name.value]=e}}),t}}()}}]);

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.