1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var n in r)r.hasOwnProperty(n)&&(e[n]=r[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:note-front-custom-domain":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9c4a9722-0376-4809-a5bd-a2092f8b5162",e._sentryDebugIdIdentifier="sentry-dbid-9c4a9722-0376-4809-a5bd-a2092f8b5162")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[757],{6961:(e,t,r)=>{r.d(t,{Nw:()=>u,ST:()=>a,YX:()=>s,bd:()=>c});var n=r(37356),i=r(54450),o=r(32330);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in 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}},7107:(e,t,r)=>{var n,i;r.d(t,{Ll:()=>c,aD:()=>s,aZ:()=>o,cE:()=>n,ou:()=>a});class o{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},u=new Set(Object.keys(s));function c(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&u.has(t)}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},8632:(e,t,r)=>{function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{i0:()=>n,un:()=>a,xr:()=>s,yp:()=>i})},10160:(e,t,r)=>{r.d(t,{XY:()=>d,er:()=>y,iz:()=>p,zc:()=>v});var n=r(79520),i=r(36721),o=r(42782),a=r(75193),s=r(49356),u=r(85382),c=r(21493),l=r(54450),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function h(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function p(e,t){(0,s.sw)(t);for(var r,u,f,p=h(""),d=h(""),v=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,l.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return p(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return d(r.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(86),null},y=0,m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===o.b.OPERATION_DEFINITION&&++y;var b=(r=new Map,u=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&u.set(e.test,e))}
1),function(e){var t=r.get(e.name.value);return!t&&u.size&&u.forEach(function(r,n){n(e)&&(t=r)}),t}),g=function(e){return(0,l.E)(e)&&e.map(b).some(function(e){return e&&e.remove})},E=new Map,_=!1,T={enter:function(e){if(g(e.directives))return _=!0,null}},O=(0,a.YR)(t,{Field:T,InlineFragment:T,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=v(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(g(e.directives))return _=!0,null;var o=v(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){E.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===E.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(d(e.name.value).removed=!0,_=!0,null):void 0}},Directive:{leave:function(e){if(b(e))return _=!0,null}}});if(!_)return t;var k=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){k(d(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},S=new Set;O.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?k(p(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){S.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==y||d(e.name.value).removed||S.add(e.name.value)}),S.forEach(function(e){k(d(e)).fragmentSpreads.forEach(function(e){S.add(e)})});var w={enter:function(e){var t;if(t=e.name.value,!S.has(t)||d(t).removed)return null}};return f=(0,a.YR)(O,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=k(p(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)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(f)||(0,s.E4)(f),(0,c.JG)((0,s.zK)(f)))?f:null}var d=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||i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.dt)(r)&&r.directives&&r.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 v(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 y(e){return(0,s.sw)(e),p([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},13287:(e,t,r)=>{r.d(t,{c:()=>f});var n=r(49198),i=r(11389),o=r(49356),a=r(36721),s=r(82815),u=r(26070),c=r(71958);function l(e){return e}var f=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),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,u.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),69),r.lookupArray(n)},max:c.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},21493:(e,t,r)=>{r.d(t,{HQ:()=>s,JG:()=>a,ct:()=>o});var n=r(79520),i=r(36721);function o(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(74,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,75,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,76,r),n||null;default:return null}}},23492:(e,t,r)=>{r.d(t,{MS:()=>u,UT:()=>c,WR:()=>s,bl:()=>i});var n=r(26070),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){var t;a(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(o(c),a(c).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},26070:(e,t,r)=>{let n;r.d(t,{DX:()=>m,yN:()=>q,LV:()=>U});let i=()=>Object.create(null),{forEach:o,slice:a}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class u{constructor(e=!0,t=i){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return o.call(e,e=>t=t.getChildTrie(e)),s.call(t,"data")?t.data:t.data=this.makeData(a.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=this.weakness&&c(e[r])?t.weak:t.strong;t=n&&n.get(e[r])}return t&&t.data}getChildTrie(e){let t=this.weakness&&c(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=t.get(e);return r||t.set(e,r=new u(this.weakness,this.makeData)),r}}function c(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var l=r(86776);let f=null,h={},p=1;function d(e){try{return e()}catch(e){}}let v="@wry/context:Slot",y=d(()=>globalThis)||d(()=>global)||Object.create(null),m=y[v]||Array[v]||function(e){try{Object.defineProperty(y,v,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",p++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=f;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===h)break;return e!==f&&(f.slots[this.id]=t),!0}return f&&(f.slots[this.id]=h),!1}getValue(){if(this.hasValue())return f.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=f;f={parent:o,slots:i};try{return t.apply(n,r)}finally{f=o}}static bind(e){let t=f;return function(){let r=f;try{return f=t,e.apply(this,arguments)}finally{f=r}}}static noContext(e,t,r){if(!f)return e.apply(r,t);{let n=f;try{return f=null,e.apply(r,t)}finally{f=n}}}}),{bind:b,noContext:g}=m,E=new m,{hasOwnProperty:_}=Object.prototype,T=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function O(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let k=[];function S(e,t){if(!e)throw Error(t||"assertion failure")}function w(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function C(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class I{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++I.count}peek(){if(1===this.value.length&&!N(this))return D(this),this.value[0]}recompute(e){var t,r,n;return S(!this.recomputing,"already recomputing"),D(this),N(this)?(t=this,r=e,L(t),E.withValue(t,x,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{O(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,N(n)||function(e){A(e,F)}(n)),C(t.value)):C(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,A(e,R),O(this))}dispose(){this.setDirty(),L(this),A(this,(e,t)=>{e.setDirty(),M(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=k.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(T(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),k.push(this.deps),this.deps=null)}}function D(e){let t=E.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),N(e)?R(t,e):F(t,e),t}function x(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!w(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function N(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}I.count=0;function A(e,t){let r=e.parents.size;if(r){let n=T(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function R(e,t){S(e.childValues.has(t)),S(N(t));let r=!N(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=k.pop()||new Set;e.dirtyChildren.add(t),r&&A(e,R)}function F(e,t){S(e.childValues.has(t)),S(!N(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):w(r,t.value)||e.setDirty(),P(e,t),N(e)||A(e,F)}function P(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(k.length<100&&k.push(r),e.dirtyChildren=null))}function L(e){e.childValues.size>
10&&e.childValues.forEach((t,r)=>{M(e,r)}),e.forgetDeps(),S(null===e.dirtyChildren)}function M(e,t){t.parents.delete(e),e.childValues.delete(t),P(e,t)}let V={setDirty:!0,dispose:!0,forget:!0};function q(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=E.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(O(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&_.call(V,r)?r:"setDirty";T(n).forEach(e=>e[i]()),t.delete(e),O(n)}},n}function j(...e){return(n||(n=new u("function"==typeof WeakMap))).lookupArray(e)}let Q=new Set;function U(e,{max:t=65536,keyArgs:r,makeCacheKey:n=j,normalizeResult:i,subscribe:o,cache:a=l.C}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,u=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new I(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let u=a.recompute(Array.prototype.slice.call(arguments));
1return s.set(t,a),Q.add(s),E.hasValue()||(Q.forEach(e=>e.clean()),Q.clear()),u};function c(e){let t=e&&s.get(e);t&&t.setDirty()}function f(e){let t=e&&s.get(e);if(t)return t.peek()}function h(e){return!!e&&s.delete(e)}return Object.defineProperty(u,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),u.dirtyKey=c,u.dirty=function(){c(n.apply(null,arguments))},u.peekKey=f,u.peek=function(){return f(n.apply(null,arguments))},u.forgetKey=h,u.forget=function(){return h(n.apply(null,arguments))},u.makeCacheKey=n,u.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(u)}},34799:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>T});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function p(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:T}function d(e){d.log?d.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){d(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=h(t,"unsubscribe");r&&r.call(t)}}catch(e){d(e)}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function b(e,t,r){e._state="running";var n=e._observer;try{var i=h(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(m(e),i)i.call(n,r);else throw r;break;case"complete":m(e),i&&i.call(n)}}catch(e){d(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function g(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],v(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(b(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}b(e,t,r)}}var E=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new _(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),_=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){g(this._subscription,"next",e)},t.error=function(e){g(this._subscription,"error",e)},t.complete=function(){g(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),T=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new E(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=p(this);return new i(function(t){var n,o=0;return!function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=h(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof T&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,c)))return new r(function(e){v(function(){if(!e.closed){for(var r,o=function(e){var t="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(t)return(t=t.call(e)).next.bind(t);if(Array.isArray(e)||(t=function(e){if(e){if("string"==typeof e)return n(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);if("Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return n(e,void 0)}}(e))){t&&(e=t);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(T,Symbol("extensions"),{value:{symbol:l,hostReportError:d},configurable:!0})},36110:(e,t,r)=>{r.d(t,{a:()=>c});var n=r(79520),i=r(63665),o=r(49356),a=r(21493),s=r(94382),u=r(85382);function c(e,t,r,c){var f=t.data,h=(0,n.Tt)(t,["data"]),p=r.data,d=(0,n.Tt)(r,["data"]);return(0,i.A)(h,d)&&function e(t,r,n,o){if(r===n)return!0;var c=new Set;return t.selections.every(function(t){if(c.has(t)||(c.add(t),!(0,s.MS)(t,o.variables)||l(t)))return!0;if((0,u.dt)(t)){var f=(0,u.ue)(t),h=r&&r[f],p=n&&n[f],d=t.selectionSet;if(!d)return(0,i.A)(h,p);var v=Array.isArray(h),y=Array.isArray(p);if(v!==y)return!1;if(v&&y){var m=h.length;if(p.length!==m)return!1;for(var b=0;b<m;++b)if(!e(d,h[b],p[b],o))return!1;return!0}return e(d,h,p,o)}var g=(0,a.HQ)(t,o.fragmentMap);if(g)return!!l(g)||e(g.selectionSet,r,n,o)})}((0,o.Vn)(e).selectionSet,f,p,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:c})}function l(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},42782:(e,t,r)=>{var n,i;r.d(t,{b:()=>n}),(i=n||(n={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},48951:(e,t,r)=>{r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);
1return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},49356:(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(36721),i=r(85382);function o(e){(0,n.V1)(e&&"Document"===e.kind,77);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(78,e.kind);return e});return(0,n.V1)(t.length<=1,79,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,80),t}function l(e){(0,n.V1)("Document"===e.kind,81),(0,n.V1)(e.definitions.length<=1,82);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,83),t}function f(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(84)}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}},53717:(e,t,r)=>{r.d(t,{J1:()=>U});var n,i,o,a,s,u=r(79520);let c=/\r\n|[\n\r]/g;function l(e,t){let r=0,n=1;for(let i of e.body.matchAll(c)){if("number"==typeof i.index||function(e){if(!e)throw Error("Unexpected invariant triggered.")}(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function f(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,u=t.column+s,c=`${e.name}:${a}:${u} 2`,l=n.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<f.length;e+=80)t.push(f.slice(e,e+80));return c+h([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return c+h([[`${a-1} |`,l[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,l[i+1]]])}function h(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}
2class p extends Error{constructor(e,...t){var r,n,i;const{nodes:o,source:a,positions:s,path:u,originalError:c,extensions:f}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=u?u:void 0,this.originalError=null!=c?c:void 0,this.nodes=d(Array.isArray(o)?o:o?[o]:void 0);const h=d(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==h||null==(n=h[0])?void 0:n.source,this.positions=null!=s?s:null==h?void 0:h.map(e=>e.start),this.locations=s&&a?s.map(e=>l(a,e)):null==h?void 0:h.map(e=>l(e.source,e.start));const v=!function(e){return"object"==typeof e&&null!==e}(null==c?void 0:c.extensions)||null==c?void 0:c.extensions;this.extensions=null!=(i=null!=f?f:v)?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=c&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes){var t;r.loc&&(e+="\n\n"+f((t=r.loc).source,l(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+f(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function d(e){return void 0===e||0===e.length?void 0:e}function v(e,t,r){return new p(`Syntax Error: ${r}`,{source:e,positions:[t]})}var y=r(7107);(n=a||(a={})).QUERY="QUERY",n.MUTATION="MUTATION",n.SUBSCRIPTION="SUBSCRIPTION",n.FIELD="FIELD",n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",n.INLINE_FRAGMENT="INLINE_FRAGMENT",n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",n.SCHEMA="SCHEMA",n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.FIELD_DEFINITION="FIELD_DEFINITION",n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.ENUM_VALUE="ENUM_VALUE",n.INPUT_OBJECT="INPUT_OBJECT",n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var m=r(42782),b=r(81923),g=r(8632);(i=s||(s={})).SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment";class E{constructor(e){const t=new y.ou(s.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,n=r.length,i=t;for(;i<n;){let t=r.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===r.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if(10===e||13===e)break;if(_(e))++i;else if(T(r,i))i+=2;else break}return w(e,s.COMMENT,t,i,r.slice(t+1,i))}(e,i);case 33:return w(e,s.BANG,i,i+1);case 36:return w(e,s.DOLLAR,i,i+1);case 38:return w(e,s.AMP,i,i+1);case 40:return w(e,s.PAREN_L,i,i+1);case 41:return w(e,s.PAREN_R,i,i+1);case 46:if(46===r.charCodeAt(i+1)&&46===r.charCodeAt(i+2))return w(e,s.SPREAD,i,i+3);break;case 58:return w(e,s.COLON,i,i+1);case 61:return w(e,s.EQUALS,i,i+1);case 64:return w(e,s.AT,i,i+1);case 91:return w(e,s.BRACKET_L,i,i+1);case 93:return w(e,s.BRACKET_R,i,i+1);case 123:return w(e,s.BRACE_L,i,i+1);case 124:return w(e,s.PIPE,i,i+1);case 125:return w(e,s.BRACE_R,i,i+1);case 34:if(34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2))return function(e,t){let r=e.source.body,n=r.length,i=e.lineStart,o=t+3,a=o,u="",c=[];for(;o<n;){let n=r.charCodeAt(o);if(34===n&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)){u+=r.slice(a,o),c.push(u);let n=w(e,s.BLOCK_STRING,t,o+3,(0,b.OC)(c).join("\n"));return e.line+=c.length-1,e.lineStart=i,n}if(92===n&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)&&34===r.charCodeAt(o+3)){u+=r.slice(a,o),a=o+1,o+=4;continue}if(10===n||13===n){u+=r.slice(a,o),c.push(u),13===n&&10===r.charCodeAt(o+1)?o+=2:++o,u="",a=o,i=o;continue}if(_(n))++o;else if(T(r,o))o+=2;else throw v(e.source,o,`Invalid character within String: ${S(e,o)}.`)}throw v(e.source,o,"Unterminated string.")}(e,i);return function(e,t){let r=e.source.body,n=r.length,i=t+1,o=i,a="";for(;i<n;){let n=r.charCodeAt(i);if(34===n)return a+=r.slice(o,i),w(e,s.STRING,t,i+1,a);if(92===n){a+=r.slice(o,i);let t=117===r.charCodeAt(i+1)?123===r.charCodeAt(i+2)?function(e,t){let r=e.source.body,n=0,i=3;for(;i<12;){let e=r.charCodeAt(t+i++);if(125===e){if(i<5||!_(n))break;return{value:String.fromCodePoint(n),size:i}}if((n=n<<4|D(e))<0)break}throw v(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}(e,i):function(e,t){let r=e.source.body,n=I(r,t+2);if(_(n))return{value:String.fromCodePoint(n),size:6};if(O(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=I(r,t+8);
2if(k(e))return{value:String.fromCodePoint(n,e),size:12}}throw v(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,i):function(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw v(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,i);a+=t.value,i+=t.size,o=i;continue}if(10===n||13===n)break;if(_(n))++i;else if(T(r,i))i+=2;else throw v(e.source,i,`Invalid character within String: ${S(e,i)}.`)}throw v(e.source,i,"Unterminated string.")}(e,i)}if((0,g.yp)(t)||45===t)return function(e,t,r){let n=e.source.body,i=t,o=r,a=!1;if(45===o&&(o=n.charCodeAt(++i)),48===o){if(o=n.charCodeAt(++i),(0,g.yp)(o))throw v(e.source,i,`Invalid number, unexpected digit after 0: ${S(e,i)}.`)}else i=C(e,i,o),o=n.charCodeAt(i);if(46===o&&(a=!0,o=n.charCodeAt(++i),i=C(e,i,o),o=n.charCodeAt(i)),(69===o||101===o)&&(a=!0,(43===(o=n.charCodeAt(++i))||45===o)&&(o=n.charCodeAt(++i)),i=C(e,i,o),o=n.charCodeAt(i)),46===o||(0,g.un)(o))throw v(e.source,i,`Invalid number, expected digit but got: ${S(e,i)}.`);return w(e,a?s.FLOAT:s.INT,t,i,n.slice(t,i))}(e,i,t);if((0,g.un)(t))return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if((0,g.xr)(e))++i;else break}return w(e,s.NAME,t,i,r.slice(t,i))}(e,i);throw v(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":_(t)||T(r,i)?`Unexpected character: ${S(e,i)}.`:`Invalid character: ${S(e,i)}.`)}return w(e,s.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.COMMENT);return e}}function _(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function T(e,t){return O(e.charCodeAt(t))&&k(e.charCodeAt(t+1))}function O(e){return e>=55296&&e<=56319}function k(e){return e>=56320&&e<=57343}function S(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return s.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function w(e,t,r,n,i){let o=e.line,a=1+r-e.lineStart;return new y.ou(t,r,n,o,a,i)}function C(e,t,r){if(!(0,g.yp)(r))throw v(e.source,t,`Invalid number, expected digit but got: ${S(e,t)}.`);let n=e.source.body,i=t+1;for(;(0,g.yp)(n.charCodeAt(i));)++i;return i}function I(e,t){return D(e.charCodeAt(t))<<12|D(e.charCodeAt(t+1))<<8|D(e.charCodeAt(t+2))<<4|D(e.charCodeAt(t+3))}function D(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var x=r(95728),N=r(86527);let A=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let n=t.prototype[Symbol.toStringTag];if(n===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(r=e.constructor)?void 0:r.name)){let t=(0,N.N)(e);throw Error(`Cannot use ${n} "${t}" from another module or realm. 3 4Ensure that there is only one instance of "graphql" in the node_modules 5directory. If different versions of "graphql" are the dependencies of other 6relied on modules, use "resolutions" to ensure only one version is installed. 7 8https://yarnpkg.com/en/docs/selective-version-resolutions 9 10Duplicate "graphql" modules cannot be used at the same time since different 11versions may have different capabilities and behavior. The data from one 12version used in the function from another could produce confusing and 13spurious results.`)}}return!1};class R{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,x.U)(!1,`Body must be a string. Received: ${(0,N.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,x.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,x.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class F{constructor(e,t={}){const r=!function(e){return A(e,R)}(e)?new R(e):e;this._lexer=new E(r),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(s.NAME);return this.node(e,{kind:m.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:m.b.DOCUMENT,definitions:this.many(s.SOF,this.parseDefinition,s.EOF)})}parseDefinition(){if(this.peek(s.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===s.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw v(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(s.BRACE_L))return this.node(t,{kind:m.b.OPERATION_DEFINITION,operation:y.cE.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(s.NAME)&&(e=this.parseName()),this.node(t,{kind:m.b.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(s.NAME);switch(e.value){case"query":return y.cE.QUERY;case"mutation":return y.cE.MUTATION;case"subscription":return y.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.PAREN_L,this.parseVariableDefinition,s.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:m.b.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(s.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(s.DOLLAR),this.node(e,{kind:m.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:m.b.SELECTION_SET,selections:this.many(s.BRACE_L,this.parseSelection,s.BRACE_R)})}parseSelection(){return this.peek(s.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(s.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:m.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.PAREN_L,t,s.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.b.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(s.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(s.NAME)?this.node(e,{kind:m.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:m.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:m.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:m.b.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case s.BRACKET_L:return this.parseList(e);case s.BRACE_L:return this.parseObject(e);case s.INT:return this.advanceLexer(),this.node(t,{kind:m.b.INT,value:t.value});case s.FLOAT:return this.advanceLexer(),this.node(t,{kind:m.b.FLOAT,value:t.value});case s.STRING:case s.BLOCK_STRING:return this.parseStringLiteral();case s.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:m.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:m.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:m.b.NULL});default:return this.node(t,{kind:m.b.ENUM,value:t.value})}case s.DOLLAR:if(e){if(this.expectToken(s.DOLLAR),this._lexer.token.kind===s.NAME){let e=this._lexer.token.value;throw v(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:m.b.STRING,value:e.value,block:e.kind===s.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:m.b.LIST,values:this.any(s.BRACKET_L,t,s.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:m.b.OBJECT,fields:this.any(s.BRACE_L,t,s.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.b.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(s.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(s.AT),this.node(t,{kind:m.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(s.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(s.BRACKET_R),e=this.node(t,{kind:m.b.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(s.BANG)?this.node(t,{kind:m.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:m.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.STRING)||this.peek(s.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);return this.node(e,{kind:m.b.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.COLON);let r=this.parseNamedType();return this.node(e,{kind:m.b.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:m.b.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:m.b.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseFieldDefinition,s.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(s.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:m.b.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(s.PAREN_L,this.parseInputValueDef,s.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(s.COLON);let i=this.parseTypeReference();this.expectOptionalToken(s.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:m.b.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:m.b.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:m.b.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(s.EQUALS)?this.delimitedMany(s.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:m.b.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(s.BRACE_L,this.parseEnumValueDefinition,s.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:m.b.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw v(this._lexer.source,this._lexer.token.start,`${P(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:m.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseInputValueDef,s.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===s.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:m.b.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:m.b.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeywo
13rd("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:m.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:m.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.b.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.b.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.AT);let r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:m.b.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(s.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new y.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw v(this._lexer.source,t.start,`Expected ${L(e)}, found ${P(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===s.NAME&&t.value===e)this.advanceLexer();else throw v(this._lexer.source,t.start,`Expected "${e}", found ${P(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===s.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return v(this._lexer.source,t.start,`Unexpected ${P(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==s.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw v(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function P(e){let t=e.value;return L(e.kind)+(null!=t?` "${t}"`:"")}function L(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRACE_R?`"${e}"`:e}var M=new Map,V=new Map,q=!0,j=!1;function Q(e){return e.replace(/[\s,]+/g," ").trim()}function U(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[r+1]}),function(e){var t=Q(e);if(!M.has(t)){var r,n,i,o,a,s=new F(e,{experimentalFragmentVariables:j,allowLegacyFragmentVariables:j}).parseDocument();if(!s||"Document"!==s.kind)throw Error("Not a valid GraphQL document.");M.set(t,((o=new Set((r=new Set,n=[],s.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=Q((t=e.loc).source.body.substring(t.start,t.end)),a=V.get(i);a&&!a.has(o)?q&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||V.set(i,a=new Set),a.add(o),r.has(o)||
13(r.add(o),n.push(e))}else n.push(e)}),i=(0,u.Cl)((0,u.Cl)({},s),{definitions:n})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&o.add(r)})}),(a=i.loc)&&(delete a.startToken,delete a.endToken),i))}return M.get(t)}(n)}var B=U;(o=U||(U={})).gql=B,o.resetCaches=function(){M.clear(),V.clear()},o.disableFragmentWarnings=function(){q=!1},o.enableExperimentalFragmentVariables=function(){j=!0},o.disableExperimentalFragmentVariables=function(){j=!1},U.default=U},58275:(e,t,r)=>{r.d(t,{C:()=>l});var n=r(36721),i=r(34799),o=r(79520),a=r(49356);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 Object.assign(new e(c(o)&&c(a)?function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of()}:function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,u,c,l;return e.request((u=t.context,(s={variables:(r=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(0>t.indexOf(o))throw(0,n.vA)(44,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),c=s,l=(0,o.Cl)({},u),Object.defineProperty(c,"setContext",{enumerable:!1,value:function(e){l="function"==typeof e?(0,o.Cl)((0,o.Cl)({},l),e(l)):(0,o.Cl)((0,o.Cl)({},l),e)}}),Object.defineProperty(c,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},l)}}),c))||i.c.of()},e.concat=function(t,r){var o=u(t);if(c(o))return!1!==globalThis.__DEV__&&n.V1.warn(36,o),o;var a=u(r);return Object.assign(new e(c(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},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)(37)},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}()},59404:(e,t,r)=>{r.d(t,{Fq:()=>n}),TransformStream;var n=class extends TransformStream{constructor(){super({transform(e,t){"string"!=typeof e&&(e=new TextDecoder().decode(e)),t.enqueue(JSON.parse(e))}})}}},75193:(e,t,r)=>{r.d(t,{YR:()=>u,sP:()=>s});var n=r(95728),i=r(86527),o=r(7107),a=r(42782);let s=Object.freeze({});function u(e,t,r=o.aD){let c,l,f,h=new Map;for(let e of Object.values(a.b))h.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let p=Array.isArray(e),d=[e],v=-1,y=[],m=e,b=[],g=[];do{var E,_,T;let e,a=++v===d.length,u=a&&0!==y.length;if(a){if(l=0===g.length?void 0:b[b.length-1],m=f,f=g.pop(),u)if(p){m=m.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(m.splice(n,1),e++):m[n]=r}}else for(let[e,t]of(m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m)),y))m[e]=t;v=c.index,d=c.keys,y=c.edits,p=c.inArray,c=c.prev}else if(f){if(null==(m=f[l=p?v:d[v]]))continue;b.push(l)}if(!Array.isArray(m)){(0,o.Ll)(m)||(0,n.U)(!1,`Invalid AST Node: ${(0,i.N)(m)}.`);let r=a?null==(E=h.get(m.kind))?void 0:E.leave:null==(_=h.get(m.kind))?void 0:_.enter;if((e=null==r?void 0:r.call(t,m,l,f,b,g))===s)break;if(!1===e){if(!a){b.pop();continue}}else if(void 0!==e&&(y.push([l,e]),!a))if((0,o.Ll)(e))m=e;else{b.pop();continue}}void 0===e&&u&&y.push([l,m]),a?b.pop():(c={inArray:p,index:v,keys:d,edits:y,prev:c},d=(p=Array.isArray(m))?m:null!=(T=r[m.kind])?T:[],v=-1,y=[],f&&g.push(f),f=m)}while(void 0!==c);return 0!==y.length?y[y.length-1][1]:e}},81923:(e,t,r)=>{r.d(t,{OC:()=>i,yo:()=>o});var n=r(8632);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=function(e){let t=0;for(;t<e.length&&(0,n.i0)(e.charCodeAt(t));)++t;return t}(s);u!==s.length&&(o=null!=(r=o)?r:t,a=t,0!==t&&u<i&&(i=u))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.i0)(e.charCodeAt(0))),s=r.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s),h="",p=o&&(0,n.i0)(e.charCodeAt(0));return(f&&!p||a)&&(h+="\n"),h+=r,(f||l)&&(h+="\n"),'"""'+h+'"""'}},82163:(e,t,r)=>{r.d(t,{R:()=>ec});var n=r(79520),i=r(36721),o=r(58275),a=o.C.execute,s=r(79649),u=r(92945),c=r(63665),l=r(6961),f=r(94382),h=r(10160),p=r(5075),d=r(13287),v=r(34799);function y(e,t,r){return new v.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 m=r(54450);function b(e){var t=g(e);return(0,m.E)(t)}function g(e){var t=(0,m.E)(e.errors)?e.errors.slice(0):[];return(0,l.ST)(e)&&(0,m.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var E=r(49356),_=r(85382),T=r(37356),O=r(49872);function k(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}
13),n.forEach(function(e){return e[t](r)})}var S=r(11389);function w(e){function t(t){Object.defineProperty(e,t,{value:v.c})}return S.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function C(e){return e&&"function"==typeof e.then}var I=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),k(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),k(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?C(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),k(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new v.c(t)]),C(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}(v.c);w(I);var D=r(51391),x=r(99883),N=r(49049),A=r(48951),R=r(36110),F=Object.assign,P=Object.hasOwnProperty,L=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=V)}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=j(o.fetchPolicy),a.isTornDown=!1,a.subscribeToMore=a.subscribeToMore.bind(a);var s=r.defaultOptions.watchQuery,u=(void 0===s?{}:s).fetchPolicy,c=void 0===u?"cache-first":u,l=o.fetchPolicy,f=void 0===l?c:l,h=o.initialFetchPolicy,p=void 0===h?"standby"===f?c:f:h;a.options=(0,n.Cl)((0,n.Cl)({},o),{initialFetchPolicy:p,fetchPolicy:f}),a.queryId=i.queryId||r.generateQueryId();var d=(0,E.Vu)(a.query);return a.queryName=d&&d.name&&d.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.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||x.pT.ready,i=(0,n.Cl)((0,n.Cl)({},t),{loading:(0,x.bi)(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if(j(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,c.L)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===x.pT.loading&&("cache-first"===a||"cac
13he-only"===a)&&(i.networkStatus=x.pT.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||q(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!(0,R.a)(this.query,this.last.result,e,this.variables):!(0,c.L)(this.last.result,e))||t&&!(0,c.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,c.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},o=this.options.fetchPolicy;if("cache-and-network"===o?r.fetchPolicy=o:"no-cache"===o?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&P.call(e,"variables")){var a=(0,E.AT)(this.query),s=a.variableDefinitions;s&&s.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.V1.warn(20,e,(null==(t=a.name)?void 0:t.value)||a)}return e&&!(0,c.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,x.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 o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=x.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set,c=null==e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||(0,i.V1)(c,21),this.queryManager.fetchQuery(o,r,x.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),a.networkStatus===x.pT.fetchMore&&(a.networkStatus=s),l)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var f=t.getLast("result"),h=c(f.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.Cl)((0,n.Cl)({},f),{data:h}),t.variables)}return i}).finally(function(){l&&!u.has(t.query)&&M(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&i.V1.error(22,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,N.o)(this.options,e||{});F(this.options,t)},t.prototype.setVariables=function(e){return(0,c.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},x.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}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.V1)(r,23),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,x.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},x.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,c.L)(t,this.last.variables)&&(r=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,A.m)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;
13var i=t===x.pT.refetch||t===x.pT.fetchMore||t===x.pT.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,N.o)(this.options,e||{}),u=i?s:F(this.options,s),l=this.transformDocument(u.query);this.lastQuery=l,!i&&(this.updatePolling(),e&&e.variables&&!(0,c.L)(e.variables,o)&&"standby"!==u.fetchPolicy&&(u.fetchPolicy===a||"function"==typeof u.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=x.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=j(u.fetchPolicy));var f=function(){r.concast===d&&(r.waitForOwnResult=!1)},h=u.variables&&(0,n.Cl)({},u.variables),p=this.fetch(u,t,l),d=p.concast,v=p.fromLink,y={next:function(e){(0,c.L)(r.variables,h)&&(f(),r.reportResult(e,h))},error:function(e){(0,c.L)(r.variables,h)&&((0,D.Mn)(e)||(e=new D.K4({networkError:e})),f(),r.reportError(e,h))}};return i||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=y),d.addObserver(y),d},t.prototype.reobserve=function(e,t){return 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)&&k(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:x.pT.error,loading:!1});this.updateLastResult(r,t),k(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}(v.c);function M(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 V(e){!1!==globalThis.__DEV__&&i.V1.error(24,e.message,e.stack)}function q(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(25,e)}function j(e){return"network-only"===e||"no-cache"===e||"standby"===e}w(L);var Q=r(32330),U=new(S.et?WeakMap:Map);function B(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return U.set(e,(U.get(e)+1)%1e15),r.apply(this,arguments)})}function z(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var K=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;U.has(r)||(U.set(r,0),B(r,"evict"),B(r,"modify"),B(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||x.pT.loading;return this.variables&&this.networkStatus!==x.pT.loading&&!(0,c.L)(this.variables,e.variables)&&(t=x.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(){z(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},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.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,c.L)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():M(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
13z(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,x.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===U.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,m.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,m.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&&(W(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:U.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,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=x.pT.ready},e.prototype.markError=function(e){return this.networkStatus=x.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function W(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!b(e);return!n&&r&&e.data&&(n=!0),n}var Y=r(95424),G=r(49198),$=r(76099),J=r(71958),H=Object.prototype.hasOwnProperty,X=Object.create(null),Z=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new $.A(J.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new G.b(!1);var r=new d.c(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,i.vA)(26))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t,r,o,a,s,u,c,l=e.mutation,f=e.variables,h=e.optimisticResponse,p=e.updateQueries,d=e.refetchQueries,v=void 0===d?[]:d,m=e.awaitRefetchQueries,E=void 0!==m&&m,_=e.update,T=e.onQueryUpdated,O=e.fetchPolicy,k=void 0===O?(null==(u=this.defaultOptions.mutate)?void 0:u.fetchPolicy)||"network-only":O,S=e.errorPolicy,w=void 0===S?(null==(c=this.defaultOptions.mutate)?void 0:c.errorPolicy)||"none":S,C=e.keepRootFields,I=e.context;return(0,n.YH)(this,function(e){switch(e.label){case 0:if((0,i.V1)(l,27),(0,i.V1)("network-only"===k||"no-cache"===k,28),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),!r)return[3,2];return[4,this.localState.addExportedVariables(l,f,I)];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),a=h&&this.markMutationOptimistic(h,{mutationId:t,document:l,variables:f,fetchPolicy:k,errorPolicy:w,context:I,updateQueries:p,update:_,keepRootFields:C}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return y(s.getObservableFromLink(l,(0,n.Cl)((0,n.Cl)({},I),{optimisticResponse:a?h:void 0}),f,{},!1),function(e){if(b(e)&&"none"===w)throw new D.K4({graphQLErrors:g(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===w&&b(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:f,fetchPolicy:k,errorPolicy:w,context:I,update:_,updateQueries:p,awaitRefetchQueries:E,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:T,keepRootFields:C})}).subscribe({next:function(t){s.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof D.K4?e:new D.K4({networkError:e}))}})})]}})})},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&&W(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,m.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
13),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&&H.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,E.n4)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}})}if(o.length>0||(e.refetchQueries||"").length>0||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,{IGNORE:X}):e;return o!==X&&(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),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,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,E.wY)((0,E.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 K(this),i=new L({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,29),(0,i.V1)("Document"===e.query.kind,30),(0,i.V1)(!e.returnPartialData,31),(0,i.V1)(!e.pollInterval,32),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}
13),this.cancelPendingFetches((0,i.vA)(33)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=x.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,_.Kc)(e)?o.set(t.transform(e),!1):(0,T.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,O.v)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new L({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?34:35,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,c=e.extensions,l=void 0===c?{}:c;r=this.transform(r),a=this.getVariables(r,a);var f=function(e){return t.getObservableFromLink(r,u,e,l).map(function(i){"no-cache"!==n&&(W(i,o)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=b(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 h=this.localState.addExportedVariables(r,a,u).then(f);return new v.c(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(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,o){var s,u,c=this;void 0===o&&(o=null!=(s=null==t?void 0:t.queryDeduplication)?s:this.queryDeduplication);var l=this.getDocumentInfo(e),f=l.serverQuery,h=l.clientQuery;if(f){var d=this.inFlightLinkObservables,m=this.link,b={query:f,variables:r,operationName:(0,E.n4)(f)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=b.context,o){var g=(0,Y.y)(f),_=(0,p.M)(r),T=d.lookup(g,_);if(!(u=T.observable)){var O=new I([a(m,b)]);u=T.observable=O,O.beforeNext(function(){d.remove(g,_)})}}else u=new I([a(m,b)])}else u=new I([v.c.of({data:{}})]),t=this.prepareContext(t);return h&&(u=y(u,function(e){return c.localState.runResolvers({document:h,remoteResult:e,context:t,variables:r})})),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return y(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=g(o),s=a.length>0,u=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===u)throw e.markError(new D.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:x.pT.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=x.pT.error),c},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,o,a=this;void 0===r&&(r=x.pT.loading),void 0===n&&(n=t.query);var 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=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==v&&v,context:void 0===y?{}:y}),b=function(e){m.variables=e;var n=a.fetchQueryByPolicy(u,m,r);return"standby"!==m.fetchPolicy&&n.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),n},g=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new I(this.localState.addExportedVariables(m.query,m.variables,m.context).then(b).then(function(e){return e.sources})),o=!0;else{var E=b(m.variables);o=E.fromLink,i=new I(E.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,O.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;
13n&&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 K&&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 y=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||x.pT.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,c.L)(s,{})||q(t.missing);var u=function(e){return v.c.of((0,n.Cl)({data:e,loading:(0,x.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===x.pT.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},b="no-cache"===s?0:r===x.pT.refetch&&"merge"!==u?1:2,g=function(){return i.getResultsFromLink(e,b,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:l})},E=p&&"number"==typeof d&&d!==r&&(0,x.bi)(r);switch(s){default:case"cache-first":var _=y();if(_.complete)return{fromLink:!1,sources:[m(_,e.markReady())]};if(f||E)return{fromLink:!0,sources:[m(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-and-network":var _=y();if(_.complete||f||E)return{fromLink:!0,sources:[m(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(E)return{fromLink:!0,sources:[m(y()),g()]};return{fromLink:!0,sources:[g()]};case"no-cache":if(E)return{fromLink:!0,sources:[m(e.getDiff()),g()]};return{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 K(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)((0,n.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),ee=r(75193),et=r(42782);function er(e){return e.kind===et.b.FIELD||e.kind===et.b.FRAGMENT_SPREAD||e.kind===et.b.INLINE_FRAGMENT}var en=r(21493),ei=r(23492),eo=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){return(0,n.sH)(this,arguments,void 0,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.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){return(0,n.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(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,ee.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 ee.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){return(0,n.sH)(this,arguments,void 0,function(e,t,r,i,o,a){var s,u,c,l,f,h,p,d,v,y;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.YH)(this,function(m){return s=(0,E.Vn)(e),u=(0,E.zK)(e),c=(0,en.JG)(u),l=this.collectSelectionsToResolve(s,c),h=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,d=p.c
13ache,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,!1,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,_.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&c.push(((r={})[(0,_.ue)(e)]=t,r))})]:((0,_.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,u=(a=e.name.value)!==(s=(0,_.ue)(e)),l=Promise.resolve(c=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[u?a:s])&&(l=Promise.resolve(ei.bl.withValue(this.cache,p,[r,(0,_.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(r){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||null==r)return r;var n,o,a=null!=(o=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&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,ee.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&er(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)&&er(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),ea=r(96014),es=r(57231),eu=!1,ec=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(15);var r=e.uri,a=e.credentials,c=e.headers,l=e.cache,f=e.documentTransform,h=e.ssrMode,p=void 0!==h&&h,d=e.ssrForceFetchDelay,v=void 0===d?0:d,y=e.connectToDevTools,m=e.queryDeduplication,b=void 0===m||m,g=e.defaultOptions,E=e.defaultContext,_=e.assumeImmutableResults,T=void 0===_?l.assumeImmutableResults:_,O=e.resolvers,k=e.typeDefs,S=e.fragmentMatcher,w=e.name,C=e.version,I=e.devtools,D=e.link;D||(D=r?new u.P({uri:r,credentials:a,headers:c}):o.C.empty()),this.link=D,this.cache=l,this.disableNetworkFetches=p||v>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=k,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},I),{enabled:(null==I?void 0:I.enabled)||y}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),v&&setTimeout(function(){return t.disableNetworkFetches=!1},v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.r,this.localState=new eo({cac
13he:l,client:this,resolvers:O,fragmentMatcher:S}),this.queryManager=new Z({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:E,documentTransform:f,queryDeduplication:b,ssrMode:p,clientAwareness:{name:w,version:C},localState:this.localState,assumeImmutableResults:T,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("u">typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!eu&&!1!==globalThis.__DEV__&&(eu=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&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,ea.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,ea.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,ea.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.watchFragment=function(e){return this.cache.watchFragment(e)},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 a(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},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
13,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(ec.prototype.getMemoryInternals=es.ep)},84904:(e,t,r)=>{r.d(t,{D:()=>ew});var n,i,o=r(79520),a=r(36721),s=r(26070),u=r(63665),c=r(21493),l=r(71958),f=r(34799),h=r(32330),p=r(82815),d=r(57231),v=r(36110),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,s.LV)(c.ct,{max:l.v["cache.fragmentQueryDocuments"]||1e3,cache:p.l})}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,o.Cl)((0,o.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,i=e.fragmentName,a=e.from,s=e.optimistic,u=(0,o.Tt)(e,["fragment","fragmentName","from","optimistic"]),c=this.getFragmentDoc(n,i),l=(0,o.Cl)((0,o.Cl)({},u),{returnPartialData:!0,id:"string"==typeof a?a:this.identify(a),query:c,optimistic:void 0===s||s});return new f.c(function(e){return r.watch((0,o.Cl)((0,o.Cl)({},l),{immediate:!0,callback:function(r){if(!(t&&(0,v.a)(c,{data:null==t?void 0:t.result},{data:r.result}))){var n={data:r.result,complete:!!r.complete};r.missing&&(n.missing=(0,h.IM)(r.missing.map(function(e){return e.missing}))),t=r,e.next(n)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,o.Cl)((0,o.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,n=(0,o.Tt)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,a=(0,o.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery((0,o.Cl)((0,o.Cl)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment((0,o.Cl)((0,o.Cl)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=d.tQ);var m=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)(a={})[s.path[u]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,o.C6)(t,e),t}(Error),b=r(13287),g=r(10160),E=r(5075),_=r(95424),T=r(85382),O=r(42782),k=r(11389),S=r(49049),w=r(49356),C=r(94382),I=r(66817),D=r(37356),x=r(49198),N=r(54450),A=Object.prototype.hasOwnProperty;function R(e){return null==e}function F(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=R(n)?R(i)?void 0:{_id:i}:{id:n}),R(n)&&!R(i)&&(n=i),!R(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var P={dataIdFromObject:F,addTypename:!0,resultCaching:!0,canonizeResults:!1};function L(e){var t=e.canonizeResults;return void 0===t?P.canonizeResults:t}var M=/^[_a-z][_0-9a-z]*/i;function V(e){var t=e.match(M);return t?t[0]:e}function q(e){return(0,D.U)(e)&&!(0,T.A_)(e)&&!(0,N.c)(e)}function j(e,t){var r=(0,c.JG)((0,w.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var Q=Object.create(null),U=function(){return Q},B=Object.create(null),z=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,I.G)((0,T.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,T.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,T.WU)(e);if((0,T.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,T.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,o.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),A.call(this.data,e)){var r=this.data[e];if(r&&A.call(r,t))return r[t]}return"__typename"===t&&A.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Y?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),A.call(this.data,e))?this.data[e]:this instanceof Y?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,T.A_)(e)&&(e=e.__ref),(0,T.A_)(t)&&(t=t.__ref);
13var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,a.V1)("string"==typeof r,1);var s=new h.ZI($).merge(i,o);if(this.data[r]=s,s!==i&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);i||(u.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){u[e]=1;var t=V(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof Y||delete s[e]}}),u.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),s=!1,u=!0,c={DELETE:Q,INVALIDATE:B,isReference:T.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,T.WU)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var f=V(l),h=n[l];if(void 0!==h){var p="function"==typeof t?t:t[l]||t[f];if(p){var d=p===U?Q:p((0,I.G)(h),(0,o.Cl)((0,o.Cl)({},c),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(d===B)r.group.dirty(e,l);else if(d===Q&&(d=void 0),d!==h&&(i[l]=d,s=!0,h=d,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&a.V1.warn(2,e),!0};if((0,T.A_)(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,b=0,g=d;b<g.length;b++){var E=g[b];if((0,T.A_)(E)){if(y=!0,v(E))break}else"object"==typeof E&&E&&r.policies.identify(E)[0]&&(m=E);if(y&&void 0!==m){!1!==globalThis.__DEV__&&a.V1.warn(3,m);break}}}}void 0!==h&&(u=!1)}}),s)return this.merge(e,i),u&&(this instanceof Y?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]=U,n):U)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(A.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof Y&&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){A.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&&A.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,o.Tt)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof Y?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){A.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 Y;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!A.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,T.A_)(e)&&(t[e.__ref]=!0),(0,D.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,D.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),K=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,s.yN)():null,this.keyMaker=new x.b(k.et)}
13,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=V(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 W(e,t){J(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new K(void 0===n||n))||this;return o.stump=new G(o),o.storageTrie=new x.b(k.et),i&&o.replace(i),o}return(0,o.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}(n=z||(z={})),n.Root=i;var Y=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,o.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,u.L)(n[r],i[r])||t.group.dirty(e,r)}
13):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,o.Cl)((0,o.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return A.call(this.data,t)?(0,o.Cl)((0,o.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}(z),G=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new K(t.group.caching,t.group))||this}return(0,o.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(Y);function $(e,t,r){var n=e[r],i=t[r];return(0,u.L)(n,i)?n:i}function J(e){return!!(e instanceof z&&e.group.caching)}var H=function(){function e(){this.known=new(k.En?WeakSet:Set),this.pool=new x.b(k.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,D.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,D.U)(e)){var t=(0,D.U)(e)?(0,N.c)(e)?e.slice(0):(0,o.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,D.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function X(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var Z=function(){function e(e){var t=this;this.knownResults=new(k.et?WeakMap:Map),this.config=(0,S.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:L(e)}),this.canon=e.canon||new H,this.executeSelectionSet=(0,s.LV)(function(e){var r,n=e.context.canonizeResults,i=X(e);i[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,i);return a?n?(0,o.Cl)((0,o.Cl)({},a),{result:t.canon.admit(a.result)}):a:(W(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||l.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:X,makeCacheKey:function(e,t,r,n){if(J(r.store))return r.store.makeCacheKey(e,(0,T.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,s.LV)(function(e){return W(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||l.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(J(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new H},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;a=(0,o.Cl)((0,o.Cl)({},(0,w.wY)((0,w.AT)(n))),a);var f=(0,T.WU)(void 0===i?"ROOT_QUERY":i),h=this.executeSelectionSet({selectionSet:(0,w.Vn)(n).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,o.Cl)({store:r,query:n,policies:l,variables:a,varString:(0,E.M)(a),canonizeResults:c},j(n,this.config.fragments))});if(h.missing&&(t=[new m(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,n,a)],!(void 0===s||s)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(J(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,T.A_)(i)&&!s.policies.rootTypenamesById[i.__ref]&&!s.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var u=s.variables,l=s.policies,f=s.store.getFieldValue(i,"__typename"),p=[],d=new h.ZI;function v(e,r){var n;return e.missing&&(t=d.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof f&&!l.rootIdsByTypename[f]&&p.push({__typename:f});var y=new Set(n.selections);
13y.forEach(function(e){var n,h;if((0,C.MS)(e,u))if((0,T.dt)(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:s.variables,from:i},s),b=(0,T.ue)(e);void 0===m?g.XY.added(e)||(t=d.merge(t,((n={})[b]="Can't find field '".concat(e.name.value,"' on ").concat((0,T.A_)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,N.c)(m)?m.length>0&&(m=v(r.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:s}),b)):e.selectionSet?null!=m&&(m=v(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,T.A_)(m)?m:o,context:s}),b)):s.canonizeResults&&(m=r.canon.pass(m)),void 0!==m&&p.push(((h={})[b]=m,h))}else{var E=(0,c.HQ)(e,s.lookupFragment);if(!E&&e.kind===O.b.FRAGMENT_SPREAD)throw(0,a.vA)(9,e.name.value);E&&l.fragmentMatches(E,f)&&E.selectionSet.selections.forEach(y.add,y)}});var m={result:(0,h.IM)(p),missing:t},b=s.canonizeResults?this.canon.admit(m):(0,I.G)(m);return b.result&&this.knownResults.set(b.result,n),b},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,s=e.context,u=new h.ZI;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,N.c)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,T.A_)(e)?e:o,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,D.U)(r)&&((0,a.V1)(!(0,T.A_)(r),10,(0,T.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),ee=r(48951),et=r(44254),er=r(23492),en=Object.create(null);function ei(e){var t=JSON.stringify(e);return en[t]||(en[t]=Object.create(null))}function eo(e){var t=ei(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=es(e,function(e){var i=ec(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&A.call(t,e[0])&&(i=ec(t,e,eu)),(0,a.V1)(void 0!==i,4,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function ea(e){var t=ei(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(es(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,N.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,T.MB)(s,i);return u&&ec(u,e.slice(1))}return}if("$"===o){var c=r.slice(1);if(i&&A.call(i,c)){var l=e.slice(0);return l[0]=c,ec(i,l)}return}if(t)return ec(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function es(e,t){var r=new h.ZI;return(function e(t){var r=ei(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,N.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,N.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function eu(e,t){return e[t]}function ec(e,t,r){return r=r||eu,function e(t){return(0,D.U)(t)?(0,N.c)(t)?t.map(e):es(Object.keys(t).sort(),function(e){return ec(t,e)}):t}(t.reduce(function e(t,n){return(0,N.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function el(e){return void 0!==e.args?e.args:e.field?(0,T.MB)(e.field,e.variables):null}var ef=function(){},eh=function(e,t){return t.fieldName},ep=function(e,t,r){return(0,r.mergeObjects)(e,t)},ed=function(e,t){return t},ev=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,o.Cl)({dataIdFromObject:F},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,n,i=this,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,u=(0,o.Cl)((0,o.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=em(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=a&&this.getTypePolicy(a),l=c&&c.keyFn||this.config.dataIdFromObject;l;){var f=l((0,o.Cl)((0,o.Cl)({},e),s),u);if((0,N.c)(f))l=eo(f);else{n=f;break}}return n=n?String(n):void 0,u.keyObject?[n,u.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,a=n.mutationType,s=n.subscriptionType,u=(0,o.Tt)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),A.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?ep:!1===t?ed:e.merge}a(n,t.merge),n.keyFn=!1===i?ef:(0,N.c)(i)?eo(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
13h(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?eh:(0,N.c)(s)?ea(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||eh)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,a.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(M);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!A.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,o.Tt)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.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 i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<u.length;++h){var p=u[h];if(p.has(o))return s.has(o)||(f&&!1!==globalThis.__DEV__&&a.V1.warn(6,t,o),s.add(o)),!0;p.forEach(c),l&&h===u.length-1&&function e(t,r,n){return!!(0,D.U)(r)&&((0,N.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,T.dt)(t)&&(0,C.MS)(t,n)){var i=(0,T.ue)(t);return A.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&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=el(e);o;){var u=o(s,a);if((0,N.c)(u))o=ea(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,T.Ii)(e.field,e.variables):(0,T.o5)(n,el(e))),!1===t)?n:n===V(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=V(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=ey(this,r,e,t,t.store.getStorage((0,T.A_)(r)?r.__ref:r,i));return er.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===ep?eb(n.store)(e,t):s===ed?t:(n.overwrite&&(e=void 0),s(e,t,ey(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ey(e,t,r,n,i){var o=e.getStoreFieldName(r),a=V(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:el(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:T.A_,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(em(arguments,t,s),n)},mergeObjects:eb(n.store)}}function em(e,t,r){var n,i=e[0],s=e[1],u=e.length;return"string"==typeof i?n={fieldName:i,from:u>1?s:t}:(n=(0,o.Cl)({},i),A.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&a.V1.warn(7,(0,et.p)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function eb(e){return function(t,r){if((0,N.c)(t)||(0,N.c)(r))throw(0,a.vA)(8);if((0,D.U)(t)&&(0,D.U)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,T.A_)(t)&&q(r))return e.merge(t.__ref,r),t;if(q(t)&&(0,T.A_)(r))return e.merge(t,r.__ref),r;if(q(t)&&q(r))return(0,o.Cl)((0,o.Cl)({},t),r)}return r}}function eg(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,o.Cl)((0,o.Cl)({},e),{clientOnly:t,deferred:r})),i}var eE=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,s=t.dataId,c=t.variables,l=t.overwrite,f=(0,w.Vu)(n),p=new h.ZI;c=(0,o.Cl)((0,o.Cl)({},(0,w.wY)(f)),c);var d=(0,o.Cl)((0,o.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:c,varString:(0,E.M)(c)},j(n,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),v=this.processSelectionSet({result:i||Object.create(null),dataId:s,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,T.A_)(v))throw(0,a.vA)(11,i);
13return d.incomingById.forEach(function(t,n){var i=t.storeObject,s=t.mergeTree,c=t.fieldNodeSet,l=(0,T.WU)(n);if(s&&s.map.size){var f=r.applyMerges(s,l,i,d);if((0,T.A_)(f))return;i=f}if(!1!==globalThis.__DEV__&&!d.overwrite){var h=Object.create(null);c.forEach(function(e){e.selectionSet&&(h[e.name.value]=!0)});var p=function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==h[V(e)]||p(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},s=i(e);if(s){var c=i(t);if(!(!c||(0,T.A_)(s)||(0,u.L)(s,c)||Object.keys(s).every(function(e){return void 0!==n.getFieldValue(c,e)}))){var l=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),f=V(r),h="".concat(l,".").concat(f);if(!eS.has(h)){eS.add(h);var p=[];(0,N.c)(s)||(0,N.c)(c)||[s,c].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}),!1!==globalThis.__DEV__&&a.V1.warn(14,f,l,p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"",h,(0,o.Cl)({},s),(0,o.Cl)({},c))}}}}(l,i,e,d.store)})}e.merge(n,i)}),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=r&&c.rootTypenamesById[r]||(0,T.D$)(n,i,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=em(arguments,l,s.variables);if((0,T.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,o.Cl)((0,o.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},p=new Set;this.flattenFields(i,n,s,f).forEach(function(e,r){var i,o=n[(0,T.ue)(r)];if(p.add(r),void 0!==o){var s=c.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),d=eT(u,s),v=t.processFieldValue(o,r,r.selectionSet?eg(e,!1,!1):e,d),y=void 0;r.selectionSet&&((0,T.A_)(v)||q(v))&&(y=h("__typename",v));var m=c.getMergeFunction(f,r.name.value,y);m?d.info={field:r,typename:f,merge:m}:ek(u,s),l=e.merge(l,((i={})[s]=v,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||g.XY.added(r)||c.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||a.V1.error(12,(0,T.ue)(r),n)});try{var d=c.identify(n,{typename:f,selectionSet:i,fragmentMap:s.fragmentMap,storeObject:l,readField:h}),v=d[0],y=d[1];r=r||v,y&&(l=s.merge(l,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,T.WU)(r),b=s.written[r]||(s.written[r]=[]);if(b.indexOf(i)>=0||(b.push(i),this.reader&&this.reader.isFresh(n,m,i,s)))return m;var E=s.incomingById.get(r);return E?(E.storeObject=s.merge(E.storeObject,l),E.mergeTree=function e(t,r){if(t===r||!r||eO(r))return t;if(!t||eO(t))return r;var n=t.info&&r.info?(0,o.Cl)((0,o.Cl)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,a={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(E.mergeTree,u),p.forEach(function(e){return E.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:eO(u)?void 0:u,fieldNodeSet:p}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,N.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eT(n,o));return ek(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,ee.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,T.D$)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,s=new x.b(!1);return!function e(u,l){var f=s.lookup(u,l.clientOnly,l.deferred);f.visited||(f.visited=!0,u.selections.forEach(function(s){if((0,C.MS)(s,r.variables)){var u=l.clientOnly,f=l.deferred;if(!(u&&f)&&(0,N.E)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,T.MB)(e,r.variables);n&&!1===n.if||(f=!0)}}),(0,T.dt)(s)){var h=i.get(s);h&&(u=u&&h.clientOnly,f=f&&h.deferred),i.set(s,eg(r,u,f))}else{var p=(0,c.HQ)(s,r.lookupFragment);if(!p&&s.kind===O.b.FRAGMENT_SPREAD)throw(0,a.vA)(13,s.name.value);p&&o.fragmentMatches(p,n,t,r.variables)&&e(p.selectionSet,eg(r,u,f))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var s=this;if(e.map.size&&!(0,T.A_)(r)){var u,c,l=!(0,N.c)(r)&&((0,T.A_)(t)||q(t))?t:void 0,f=r;l&&!i&&(i=[(0,T.A_)(l)?l.__ref:l]);var h=function(e,t){return(0,N.c)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};
13e.map.forEach(function(e,t){var r=h(l,t),o=h(f,t);if(void 0!==o){i&&i.push(t);var u=s.applyMerges(e,r,o,n,i);u!==o&&(c=c||new Map).set(t,u),i&&(0,a.V1)(i.pop()===t)}}),c&&(r=(0,N.c)(f)?f.slice(0):(0,o.Cl)({},f),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(u=n.store).getStorage.apply(u,i)):r},e}(),e_=[];function eT(e,t){var r=e.map;return r.has(t)||r.set(t,e_.pop()||{map:new Map}),r.get(t)}function eO(e){return!e||!(e.info||e.map.size)}function ek(e,t){var r=e.map,n=r.get(t);n&&eO(n)&&(e_.push(n),r.delete(t))}var eS=new Set,ew=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new b.c(g.XY),n.assumeImmutableResults=!0,n.makeVar=er.UT,n.txCount=0,r=t,n.config=(0,S.o)(P,r),n.addTypename=!!n.config.addTypename,n.policies=new ev({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,o.C6)(t,e),t.prototype.init=function(){var e=this.data=new z.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 eE(this,this.storeReader=new Z({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:L(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,s.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||l.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(J(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,E.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;try{return this.storeReader.diffQueryAgainstStore((0,o.Cl)((0,o.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof m)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(A.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,o.Cl)((0,o.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,er.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,er.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){E.M.reset(),_.y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,T.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&a.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(A.call(e,"id"))return!1;e=(0,o.Cl)((0,o.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(),E.M.reset(),e&&e.discardWatches?(this.watches.forEac
13h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,er.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,n=e.update,i=e.optimistic,a=void 0===i||i,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,o.Cl)((0,o.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,o.Cl)((0,o.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,u.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(y);!1!==globalThis.__DEV__&&(ew.prototype.getMemoryInternals=d.cM)},85382:(e,t,r)=>{r.d(t,{A_:()=>u,D$:()=>function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var u=s[a];if(m(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,o.HQ)(u,n).selectionSet,n);if("string"==typeof f)return f}},Ii:()=>f,J:()=>l,Kc:()=>c,MB:()=>v,WU:()=>s,dt:()=>m,kd:()=>b,o5:()=>d,ue:()=>y});var n=r(36721),i=r(37356),o=r(21493),a=r(5075);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n.vA)(85,t.value,r.kind)}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)})),d(e.name.value,n,r)}var h=["connection","include","skip","client","rest","export","nonreactive"],p=a.M,d=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(p(i),")")}var o=e;if(t){var a=p(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(p(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=p;return p=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var r={};
13return e.arguments.forEach(function(e){return l(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},86527:(e,t,r)=>{function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){let n;if(null===t)return"null";if(r.includes(t))return"[Circular]";let i=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,i)}else if(Array.isArray(t)){var o,a,s=t,u=i;if(0===s.length)return"[]";if(u.length>2)return"[Array]";let r=Math.min(10,s.length),n=s.length-r,c=[];for(let t=0;t<r;++t)c.push(e(s[t],u));return 1===n?c.push("... 1 more item"):n>1&&c.push(`... ${n} more items`),"["+c.join(", ")+"]"}return o=t,a=i,0===(n=Object.entries(o)).length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(o)+"]":"{ "+n.map(([t,r])=>t+": "+e(r,a)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}r.d(t,{N:()=>n})},92945:(e,t,r)=>{r.d(t,{P:()=>C});var n=r(79520),i=r(58275),o=r(36721),a=r(94382),s=r(34799),u=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,o.vA)(40,t,e.message);throw n.parseError=e,n}return r},c=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},l=r(11389);function f(e){var t={next:function(){return e.read()}};return l.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var h=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},p=r(51391),d=r(6961),v=Object.prototype.hasOwnProperty;function y(e,t){e.status>=300&&h(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var m=function(e){if(!e&&"u"<typeof fetch)throw(0,o.vA)(38)},b=r(95424),g={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},E=function(e,t){return t(e)};function _(e){return new s.c(function(t){t.error(e)})}var T=r(75193),O=r(10160),k=r(49356),S=(0,o.no)(function(){return fetch}),w=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,w=e.fetch,C=e.print,I=void 0===C?E:C,D=e.includeExtensions,x=e.preserveHeaderCase,N=e.useGETForQueries,A=e.includeUnusedVariables,R=void 0!==A&&A,F=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&m(w||S);var P={http:{includeExtensions:D,preserveHeaderCase:x},options:F.fetchOptions,credentials:F.credentials,headers:F.headers};return new i.C(function(e){var t,i,m,E,C,D,x=c(e,r),A=e.getContext(),F={};if(A.clientAwareness){var L=A.clientAwareness,M=L.name,V=L.version;M&&(F["apollographql-client-name"]=M),V&&(F["apollographql-client-version"]=V)}var q=(0,n.Cl)((0,n.Cl)({},F),A.headers),j={http:A.http,options:A.fetchOptions,credentials:A.credentials,headers:q};if((0,a.d8)(["client"],e.query)){var Q=(0,O.er)(e.query);if(!Q)return _(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=Q}var U=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},o),e.options),{headers:(0,n.Cl)((0,n.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.Cl)((0,n.Cl)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r=Object.create(null);
13return 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}(o.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(l,b.y)),{options:o,body:f}}(e,I,g,P,j),B=U.options,z=U.body;z.variables&&!R&&(t=z.variables,i=e.query,m=(0,n.Cl)({},t),E=new Set(Object.keys(t)),(0,T.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&E.delete(e.name.value)}}),E.forEach(function(e){delete m[e]}),z.variables=m),!B.signal&&"u">typeof AbortController&&(B.signal=(D=new AbortController).signal);var K="OperationDefinition"===(C=(0,k.Vn)(e.query)).kind&&"subscription"===C.operation,W=(0,a.d8)(["defer"],e.query);if(N&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(B.method="GET"),W||K){B.headers=B.headers||{};var Y="multipart/mixed;";K&&W&&!1!==globalThis.__DEV__&&o.V1.warn(39),K?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":W&&(Y+="deferSpec=20220824,application/json"),B.headers.accept=Y}if("GET"===B.method){var G=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=u(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+r.join("&")+a}}(x,z),$=G.newURI,J=G.parseError;if(J)return _(J);x=$}else try{B.body=u(z,"Payload")}catch(e){return _(e)}return new s.c(function(t){var r=w||(0,o.no)(function(){return fetch})||S,i=t.next.bind(t);return r(x,B).then(function(t){e.setContext({response:t});var r,o=null==(r=t.headers)?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,i,o,a,s,u,c,h,v,m,b,g,E,_,T,O,k,S,w,C,I,D,x;return(0,n.YH)(this,function(N){switch(N.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=null==(x=e.headers)?void 0:x.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",c=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,l.uJ&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return f(s.getReader());if(s.stream)return f(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},l.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return l.uJ&&(c[Symbol.asyncIterator]=function(){return this}),c}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),h=!0,N.label=1;case 1:if(!h)return[3,3];return[4,c.next()];case 2:for(m=(v=N.sent()).value,b=v.done,g="string"==typeof m?m:r.decode(m),E=u.length-s.length+1,h=!b,u+=g,_=u.indexOf(s,E);_>-1;){if(T=void 0,T=(I=[u.slice(0,_),u.slice(_+s.length)])[0],u=I[1],O=T.indexOf("\r\n\r\n"),(k=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(T.slice(0,O))["content-type"])&&-1===k.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
13if(S=T.slice(O)){if(Object.keys(w=y(e,S)).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)if((0,d.Nw)(w)){if(C={},"payload"in w){if(1===Object.keys(w).length&&null===w.payload)return[2];C=(0,n.Cl)({},w.payload)}"errors"in w&&(C=(0,n.Cl)((0,n.Cl)({},C),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in C?C.extensions:null),((D={})[p.K$]=w.errors,D))})),t(C)}else t(w);else if(1===Object.keys(w).length&&"hasNext"in w&&!w.hasNext)return[2]}_=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return y(t,e)}).then(function(r){return Array.isArray(r)||v.call(r,"data")||v.call(r,"errors")||h(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})})(t).then(i)}).then(function(){D=void 0,t.complete()}).catch(function(e){D=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){D&&D.abort()}})})},C=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,w(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},94382:(e,t,r)=>{r.d(t,{MS:()=>o,d8:()=>a,f2:()=>s});var n=r(36721),i=r(75193);function o(e,t){var r,i,o=e.directives;return!o||!o.length||(i=[],(r=o)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,o=e.name.value;(0,n.V1)(r&&1===r.length,71,o);var a=r[0];(0,n.V1)(a.name&&"if"===a.name.value,72,o);var s=a.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),73,o),i.push({directive:e,ifArgument:a})}}),i).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,70,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)}},95424:(e,t,r)=>{r.d(t,{y:()=>b});var n,i=r(81923);let o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return s[e.charCodeAt(0)]}let s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var u=r(75193);let c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=h("(",l(e.variableDefinitions,", "),")"),r=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+h(" = ",r)+h(" ",l(n," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=h("",e,": ")+t,a=o+h("(",l(r,", "),")");return a.length>80&&(a=o+h("(\n",p(l(r,"\n")),"\n)")),l([a,l(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>l(["...",h("on ",e),l(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${h("(",l(r,", "),")")} on ${t} ${h("",l(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
13,StringValue:{leave:({value:e,block:t})=>t?(0,i.yo)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>h("",e,"\n")+l(["schema",l(t," "),f(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l(["scalar",t,l(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["type",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+": "+n+h(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+l([t+": "+r,h("= ",n),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["interface",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+l(["union",t,l(r," "),h("= ",l(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+l(["enum",t,l(r," "),f(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l([t,l(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+l(["input",t,l(r," "),f(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+(n?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend type",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend interface",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>l(["extend union",e,l(t," "),h("= ",l(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>l(["extend enum",e,l(t," "),f(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>l(["extend input",e,l(t," "),f(r)]," ")}};function l(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function f(e){return h("{\n",p(l(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function p(e){return h(" ",e.replace(/\n/g,"\n "))}function d(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var v=r(76099),y=r(71958),m=r(57231),b=Object.assign(function(e){var t=n.get(e);return t||(t=(0,u.YR)(e,c),n.set(e,t)),t},{reset:function(){n=new v.A(y.v.print||2e3)}});b.reset(),!1!==globalThis.__DEV__&&(0,m.D_)("print",function(){return n?n.size:0})},95728:(e,t,r)=>{r.d(t,{U:()=>n});function n(e,t){if(!e)throw Error(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.