1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b39511b7-89f3-4740-a714-f75253a8d461",e._sentryDebugIdIdentifier="sentry-dbid-b39511b7-89f3-4740-a714-f75253a8d461")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1886],{75063:function(e,t,r){r.d(t,{Ps:function(){return U}});var n,i=r(97582);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var a="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function s(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index<t;)i+=1,o=t+1-(r.index+r[0].length);return{line:i,column:o}}function c(e,t){var r=e.locationOffset.column-1,n=l(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,c=t.column+s,f="".concat(e.name,":").concat(a,":").concat(c,"\n"),h=n.split(/\r\n|[\n\r]/g),p=h[i];if(p.length>120){for(var d=Math.floor(c/80),v=c%80,y=[],m=0;m<p.length;m+=80)y.push(p.slice(m,m+80));return f+u([["".concat(a),y[0]]].concat(y.slice(1,d+1).map(function(e){return["",e]}),[[" ",l(v-1)+"^"],["",y[d+1]]]))}return f+u([["".concat(a-1),h[i-1]],["".concat(a),p],["",l(c-1)+"^"],["".concat(a+1),h[i+1]]])}function u(e){var t=e.filter(function(e){return e[0],void 0!==e[1]}),r=Math.max.apply(Math,t.map(function(e){return e[0].length}));return t.map(function(e){var t=e[0],n=e[1];return l(r-t.length)+t+(n?" | "+n:" |")}).join("\n")}function l(e){return Array(e+1).join(" ")}function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e,t){return t&&("object"===f(t)||"function"==typeof t)?t:d(e)}function d(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){var t="function"==typeof Map?new Map:void 0;return(v=function(e){if(null===e||-1===Function.toString.call(e).indexOf("[native code]"))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return y(e,arguments,g(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),b(r,e)})(e)}function y(e,t,r){return(y=m()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var i=new(Function.bind.apply(e,n));return r&&b(i,r.prototype),i}).apply(null,arguments)}function m(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(i,e);var t,r,n=(t=m(),function(){var e,r=g(i);return e=t?Reflect.construct(r,arguments,g(this).constructor):r.apply(this,arguments),p(this,e)});function i(e,t,r,a,c,u,l){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,i),(_=n.call(this,e)).name="GraphQLError",_.originalError=null!=u?u:void 0,_.nodes=E(Array.isArray(t)?t:t?[t]:void 0);for(var f,v=[],y=0,m=null!==(O=_.nodes)&&void 0!==O?O:[];y<m.length;y++){var b,g,k,_,O,w=m[y].loc;null!=w&&v.push(w)}v=E(v),_.source=null!=r?r:null===(b=v)||void 0===b?void 0:b[0].source,_.positions=null!=a?a:null===(g=v)||void 0===g?void 0:g.map(function(e){return e.start}),_.locations=a&&r?a.map(function(e){return s(r,e)}):null===(k=v)||void 0===k?void 0:k.map(function(e){return s(e.source,e.start)}),_.path=null!=c?c:void 0;var T=null==u?void 0:u.extensions;return null==l&&"object"==o(f=T)&&null!==f?_.extensions=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?h(Object(r),!0).forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},T):_.extensions=null!=l?l:{},(Object.defineProperties(d(_),{message:{enumerable:!0},locations:{enumerable:null!=_.locations},path:{enumerable:null!=_.path},extensions:{enumerable:null!=_.extensions&&Object.keys(_.extensions).length>0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack)?(Object.defineProperty(d(_),"stack",{value:u.stack,writable:!0,configurable:!0}),p(_)):(Error.captureStackTrace?Error.captureStackTrace(d(_),i):Object.defineProperty(d(_),"stack",{value:Error().stack,writable:!0,configurable:!0}),_)}return r=[{key:"toString",value:function(){return function(e){var t=e.message;if(e.nodes)for(var r=0,n=e.nodes;r<n.length;r++){var i,o=n[r];o.loc&&(t+="\n\n"+c((i=o.loc).source,s(i.source,i.start)))}else if(e.source&&e.locations)for(var a=0,u=e.locations;a<u.length;a++){var l=u[a];t+="\n\n"+c(e.source,l)}return t}(this)}},{key:a,get:function(){return"Object"}}],function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(i.prototype,r),i}(v(Error));function E(e){return void 0===e||0===e.length?void 0:e}function _(e,t,r){return new k("Syntax Error: ".concat(r),void 0,e,[t])}var O=r(97359),w=r(29749),T=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),S=r(25821);function D(e,t){if(!e)throw Error(t)}var I=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||D(0,"Body must be a string. Received: ".concat((0,S.Z)(e),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||D(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||D(0,"column in locationOffset is 1-indexed and must be positive.")}return function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,[{key:a,get:function(){return"Source"}}]),e}(),N=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}
1),x=r(87392),A=function(){function e(e){var t=new w.WU(T.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e,t=this.token;if(t.kind!==T.EOF)do t=null!==(e=t.next)&&void 0!==e?e:t.next=function(e,t){for(var r=e.source,n=r.body,i=n.length,o=t.end;o<i;){var a=n.charCodeAt(o),s=e.line,c=1+o-e.lineStart;switch(a){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 33:return new w.WU(T.BANG,o,o+1,s,c,t);case 35:return function(e,t,r,n,i){var o,a=e.body,s=t;do o=a.charCodeAt(++s);while(!isNaN(o)&&(o>31||9===o));return new w.WU(T.COMMENT,t,s,r,n,i,a.slice(t+1,s))}(r,o,s,c,t);case 36:return new w.WU(T.DOLLAR,o,o+1,s,c,t);case 38:return new w.WU(T.AMP,o,o+1,s,c,t);case 40:return new w.WU(T.PAREN_L,o,o+1,s,c,t);case 41:return new w.WU(T.PAREN_R,o,o+1,s,c,t);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return new w.WU(T.SPREAD,o,o+3,s,c,t);break;case 58:return new w.WU(T.COLON,o,o+1,s,c,t);case 61:return new w.WU(T.EQUALS,o,o+1,s,c,t);case 64:return new w.WU(T.AT,o,o+1,s,c,t);case 91:return new w.WU(T.BRACKET_L,o,o+1,s,c,t);case 93:return new w.WU(T.BRACKET_R,o,o+1,s,c,t);case 123:return new w.WU(T.BRACE_L,o,o+1,s,c,t);case 124:return new w.WU(T.PIPE,o,o+1,s,c,t);case 125:return new w.WU(T.BRACE_R,o,o+1,s,c,t);case 34:if(34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2))return function(e,t,r,n,i,o){for(var a=e.body,s=t
1+3,c=s,u=0,l="";s<a.length&&!isNaN(u=a.charCodeAt(s));){if(34===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2))return l+=a.slice(c,s),new w.WU(T.BLOCK_STRING,t,s+3,r,n,i,(0,x.W7)(l));if(u<32&&9!==u&&10!==u&&13!==u)throw _(e,s,"Invalid character within String: ".concat(R(u),"."));10===u?(++s,++o.line,o.lineStart=s):13===u?(10===a.charCodeAt(s+1)?s+=2:++s,++o.line,o.lineStart=s):92===u&&34===a.charCodeAt(s+1)&&34===a.charCodeAt(s+2)&&34===a.charCodeAt(s+3)?(l+=a.slice(c,s)+'"""',s+=4,c=s):++s}throw _(e,s,"Unterminated string.")}(r,o,s,c,t,e);return function(e,t,r,n,i){for(var o=e.body,a=t+1,s=a,c=0,u="";a<o.length&&!isNaN(c=o.charCodeAt(a))&&10!==c&&13!==c;){if(34===c)return u+=o.slice(s,a),new w.WU(T.STRING,t,a+1,r,n,i,u);if(c<32&&9!==c)throw _(e,a,"Invalid character within String: ".concat(R(c),"."));if(++a,92===c){switch(u+=o.slice(s,a-1),c=o.charCodeAt(a)){case 34:u+='"';break;case 47:u+="/";break;case 92:u+="\\";break;case 98:u+="\b";break;case 102:u+="\f";break;case 110:u+="\n";break;case 114:u+="\r";break;case 116:u+=" ";break;case 117:var l,f,h,p,d=(l=o.charCodeAt(a+1),f=o.charCodeAt(a+2),h=o.charCodeAt(a+3),p=o.charCodeAt(a+4),C(l)<<12|C(f)<<8|C(h)<<4|C(p));if(d<0){var v=o.slice(a+1,a+5);throw _(e,a,"Invalid character escape sequence: \\u".concat(v,"."))}u+=String.fromCharCode(d),a+=4;break;default:throw _(e,a,"Invalid character escape sequence: \\".concat(String.fromCharCode(c),"."))}s=++a}}throw _(e,a,"Unterminated string.")}(r,o,s,c,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return function(e,t,r,n,i,o){var a,s=e.body,c=r,u=t,l=!1;if(45===c&&(c=s.charCodeAt(++u)),48===c){if((c=s.charCodeAt(++u))>=48&&c<=57)throw _(e,u,"Invalid number, unexpected digit after 0: ".concat(R(c),"."))}else u=F(e,u,c),c=s.charCodeAt(u);if(46===c&&(l=!0,c=s.charCodeAt(++u),u=F(e,u,c),c=s.charCodeAt(u)),(69===c||101===c)&&(l=!0,(43===(c=s.charCodeAt(++u))||45===c)&&(c=s.charCodeAt(++u)),u=F(e,u,c),c=s.charCodeAt(u)),46===c||95===(a=c)||a>=65&&a<=90||a>=97&&a<=122)throw _(e,u,"Invalid number, expected digit but got: ".concat(R(c),"."));return new w.WU(l?T.FLOAT:T.INT,t,u,n,i,o,s.slice(t,u))}(r,o,a,s,c,t);
1case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return function(e,t,r,n,i){for(var o=e.body,a=o.length,s=t+1,c=0;s!==a&&!isNaN(c=o.charCodeAt(s))&&(95===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122);)++s;return new w.WU(T.NAME,t,s,r,n,i,o.slice(t,s))}(r,o,s,c,t)}throw _(r,o,a<32&&9!==a&&10!==a&&13!==a?"Cannot contain the invalid character ".concat(R(a),"."):39===a?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(R(a),"."))}var u=e.line,l=1+o-e.lineStart;return new w.WU(T.EOF,i,i,u,l,t)}(this,t);while(t.kind===T.COMMENT);return t},e}();function R(e){return isNaN(e)?T.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function F(e,t,r){var n=e.body,i=t,o=r;if(o>=48&&o<=57){do o=n.charCodeAt(++i);while(o>=48&&o<=57);return i}throw _(e,i,"Invalid number, expected digit but got: ".concat(R(o),"."))}function C(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var P=function(){function e(e,t){var r=e instanceof I?e:new I(e);this._lexer=new A(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(T.NAME);return{kind:O.h.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:O.h.DOCUMENT,definitions:this.many(T.SOF,this.parseDefinition,T.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(T.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else if(this.peek(T.BRACE_L))return this.parseOperationDefinition();else if(this.peekDescription())return this.parseTypeSystemDefinition();throw this.unexpected()},t.parseOperationDefinition=function(){var e,t=this._lexer.token;if(this.peek(T.BRACE_L))return{kind:O.h.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var r=this.parseOperationType();return this.peek(T.NAME)&&(e=this.parseName()),{kind:O.h.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseOperationType=function(){var e=this.expectToken(T.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(T.PAREN_L,this.parseVariableDefinition,T.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:O.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(T.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(T.DOLLAR),{kind:O.h.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:O.h.SELECTION_SET,selections:this.many(T.BRACE_L,this.parseSelection,T.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(T.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(T.COLON)?(e=n,t=this.parseName()):t=n,{kind:O.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(T.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}
1},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(T.PAREN_L,t,T.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(T.COLON),{kind:O.h.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:O.h.ARGUMENT,name:this.parseName(),value:(this.expectToken(T.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(T.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(T.NAME)?{kind:O.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:O.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return(this.expectKeyword("fragment"),(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)===!0)?{kind:O.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:O.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case T.BRACKET_L:return this.parseList(e);case T.BRACE_L:return this.parseObject(e);case T.INT:return this._lexer.advance(),{kind:O.h.INT,value:t.value,loc:this.loc(t)};case T.FLOAT:return this._lexer.advance(),{kind:O.h.FLOAT,value:t.value,loc:this.loc(t)};case T.STRING:case T.BLOCK_STRING:return this.parseStringLiteral();case T.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:O.h.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:O.h.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:O.h.NULL,loc:this.loc(t)};default:return{kind:O.h.ENUM,value:t.value,loc:this.loc(t)}}case T.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:O.h.STRING,value:e.value,block:e.kind===T.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:O.h.LIST,values:this.any(T.BRACKET_L,function(){return t.parseValueLiteral(e)},T.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:O.h.OBJECT,fields:this.any(T.BRACE_L,function(){return t.parseObjectField(e)},T.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(T.COLON),{kind:O.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(T.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(T.AT),{kind:O.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return(this.expectOptionalToken(T.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(T.BRACKET_R),e={kind:O.h.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(T.BANG))?{kind:O.h.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:O.h.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===T.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(T.STRING)||this.peek(T.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);return{kind:O.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(T.COLON);var r=this.parseNamedType();return{kind:O.h.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:O.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:O.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if((null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)===!0){var t=[];this.expectOptionalToken(T.AMP);do t.push(this.parseNamedType());while(this.expectOptionalToken(T.AMP)||this.peek(T.NAME));return t}return this.delimitedMany(T.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)===!0&&this.peek(T.BRACE_L)&&this._lexer.lookahead().kind===T.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(T.BRACE_L,this.parseFieldDefinition,T.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(T.COLON);var i=this.parseTypeReference(),o=this.parseDirectives(!0);return{kind:O.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(T.PAREN_L,this.parseInputValueDef,T.PAREN_R)},t.parseInputValueDef=function(){var e,t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(T.COLON);var i=this.parseTypeReference();this.expectOptionalToken(T.EQUALS)&&(e=this.parseValueLiteral(!0));var o=this.parseDirectives(!0);return{kind:O.h.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:o,loc:this.loc(t)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),o=this.parseFieldsDefinition();return{kind:O.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:O.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(T.EQUALS)?this.delimitedMany(T.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:O.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(T.BRACE_L,this.parseEnumValueDefinition,T.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:O.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:O.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(T.BRACE_L,this.parseInputValueDef,T.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===T.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:O.h.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:O.h.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:O.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return{kind:O.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:O.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:O.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:O.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(T.AT);var r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var o=this.parseDirectiveLocations();return{kind:O.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(T.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==N[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if((null===(t=this._options)||void 0===t?void 0:t.noLocation)!==!0)return new w.Ye(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw _(this._lexer.source,t.start,"Expected ".concat(M(e),", found ").concat(j(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind===T.NAME&&t.value===e)this._lexer.advance();else throw _(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(j(t),"."))},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===T.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return _(this._lexer.source,t.start,"Unexpected ".concat(j(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r},e}();function j(e){var t=e.value;return M(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function M(e){return e===T.BANG||e===T.DOLLAR||e===T.AMP||e===T.PAREN_L||e===T.PAREN_R||e===T.SPREAD||e===T.COLON||e===T.EQUALS||e===T.AT||e===T.BRACKET_L||e===T.BRACKET_R||e===T.BRACE_L||e===T.PIPE||e===T.BRACE_R?'"'.concat(e,'"'):e}var L=new Map,q=new Map,V=!0,Q=!1;function B(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=B(e);if(!L.has(t)){var r,n,o,a,s,c=new P(e,{experimentalFragmentVariables:Q,allowLegacyFragmentVariables:Q}).parseDocument();if(!c||"Document"!==c.kind)throw Error("Not a valid GraphQL document.");L.set(t,((a=new Set((r=new Set,n=[],c.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=B((t=e.loc).source.body.substring(t.start,t.end)),a=q.get(i);a&&!a.has(o)?V&&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||q.set(i,a=new Set),a.add(o),r.has(o)||
1(r.add(o),n.push(e))}else n.push(e)}),o=(0,i.pi)((0,i.pi)({},c),{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&&a.add(r)})}),(s=o.loc)&&(delete s.startToken,delete s.endToken),o))}return L.get(t)}(n)}var G=U;(n=U||(U={})).gql=G,n.resetCaches=function(){L.clear(),q.clear()},n.disableFragmentWarnings=function(){V=!1},n.enableExperimentalFragmentVariables=function(){Q=!0},n.disableExperimentalFragmentVariables=function(){Q=!1},U.default=U},21259:function(e,t,r){r.d(t,{h:function(){return ew}});var n,i,o=r(97582),a=r(78287),s=r(81223),c=r(30020),u=r(23361),l=r(66331),f=r(99869),h=r(88244),p=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,s.re)(u.Yk,{max:l.Q["cache.fragmentQueryDocuments"]||1e3,cache:f.k})}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.pi)((0,o.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,o.pi)((0,o.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,o._T)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,a=(0,o._T)(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.pi)((0,o.pi)({},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.pi)((0,o.pi)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(p.prototype.getMemoryInternals=h.Kb);var d=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 c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,o.ZT)(t,e),t}(Error),v=r(18056),y=r(76487),m=r(5466),b=r(5144),g=r(51761),k=r(97359),E=r(30320),_=r(53712),O=r(36765),w=r(182),T=r(19065),S=r(13154);function D(e){if(!1!==globalThis.__DEV__){var t;(t=new Set([e])).forEach(function(e){(0,S.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,S.s)(e[r])&&t.add(e[r])})})}return e}var I=r(75028),N=r(21436),x=Object.prototype.hasOwnProperty;function A(e){return null==e}function R(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=A(n)?A(i)?void 0:{_id:i}:{id:n}),A(n)&&!A(i)&&(n=i),!A(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var F={dataIdFromObject:R,addTypename:!0,resultCaching:!0,canonizeResults:!1};function C(e){var t=e.canonizeResults;return void 0===t?F.canonizeResults:t}var P=/^[_a-z][_0-9a-z]*/i;function j(e){var t=e.match(P);return t?t[0]:e}function M(e){return(0,S.s)(e)&&!(0,g.Yk)(e)&&!(0,N.k)(e)}function L(e,t){var r=(0,u.F)((0,O.kU)(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),V=function(){return q},Q=Object.create(null),B=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 D((0,g.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,g.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,g.kQ)(e);if((0,g.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,g.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,o.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),x.call(this.data,e)){var r=this.data[e];if(r&&x.call(r,t))return r[t]}return"__typename"===t&&x.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof z?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),x.call(this.data,e))?this.data[e]:this instanceof z?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,g.Yk)(e)&&(e=e.__ref),(0,g.Yk)(t)&&(t=t.__ref);
1var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,a.kG)("string"==typeof r,1);var s=new w.w0(K).merge(i,o);if(this.data[r]=s,s!==i&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);i||(c.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){c[e]=1;var t=j(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||n instanceof z||delete s[e]}}),c.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),s=!1,c=!0,u={DELETE:q,INVALIDATE:Q,isReference:g.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,g.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var f=j(l),h=n[l];if(void 0!==h){var p="function"==typeof t?t:t[l]||t[f];if(p){var d=p===V?q:p(D(h),(0,o.pi)((0,o.pi)({},u),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(d===Q)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.kG.warn(2,e),!0};if((0,g.Yk)(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,b=0,k=d;b<k.length;b++){var E=k[b];if((0,g.Yk)(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.kG.warn(3,m);break}}}}void 0!==h&&(c=!1)}}),s)return this.merge(e,i),c&&(this instanceof z?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]=V,n):V)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(x.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof z&&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){x.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&&x.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,o._T)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof z?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){x.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 z;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!x.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,g.Yk)(e)&&(t[e.__ref]=!0),(0,S.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,S.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),U=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.dP)():null,this.keyMaker=new I.B(E.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=j(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function G(e,t){Y(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 U(void 0===n||n))||this;return o.stump=new W(o),o.storageTrie=new I.B(E.mr),i&&o.replace(i),o}return(0,o.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(n=B||(B={})),n.Root=i;var z=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.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,c.D)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,o.pi)((0,o.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return x.call(this.data,t)?(0,o.pi)((0,o.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(B),W=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new U(t.group.caching,t.group))||this}return(0,o.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(z);function K(e,t,r){var n=e[r],i=t[r];return(0,c.D)(n,i)?n:i}function Y(e){return!!(e instanceof B&&e.group.caching)}var J=function(){function e(){this.known=new(E.sy?WeakSet:Set),this.pool=new I.B(E.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,S.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,S.s)(e)){var t=(0,S.s)(e)?(0,N.k)(e)?e.slice(0):(0,o.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,S.s)(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 c=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function Z(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var H=function(){function e(e){var t=this;this.knownResults=new(E.mr?WeakMap:Map),this.config=(0,_.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:C(e)}),this.canon=e.canon||new J,this.executeSelectionSet=(0,s.re)(function(e){var r,n=e.context.canonizeResults,i=Z(e);i[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,i);return a?n?(0,o.pi)((0,o.pi)({},a),{result:t.canon.admit(a.result)}):a:(G(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Z,makeCacheKey:function(e,t,r,n){if(Y(r.store))return r.store.makeCacheKey(e,(0,g.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,s.re)(function(e){return G(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(Y(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new J},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,a=e.variables,s=e.returnPartialData,c=e.canonizeResults,u=void 0===c?this.config.canonizeResults:c,l=this.config.cache.policies;a=(0,o.pi)((0,o.pi)({},(0,O.O4)((0,O.iW)(n))),a);var f=(0,g.kQ)(void 0===i?"ROOT_QUERY":i),h=this.executeSelectionSet({selectionSet:(0,O.p$)(n).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,o.pi)({store:r,query:n,policies:l,variables:a,varString:(0,m.B)(a),canonizeResults:u},L(n,this.config.fragments))});if(h.missing&&(t=[new d(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(Y(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,g.Yk)(i)&&!s.policies.rootTypenamesById[i.__ref]&&!s.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var c=s.variables,l=s.policies,f=s.store.getFieldValue(i,"__typename"),h=[],p=new w.w0;function d(e,r){var n;return e.missing&&(t=p.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof f&&!l.rootIdsByTypename[f]&&h.push({__typename:f});var v=new Set(n.selections);v.forEach(function(e){var n,m;if((0,T.LZ)(e,c)){if((0,g.My)(e)){var b=l.readField({fieldName:e.n
1ame.value,field:e,variables:s.variables,from:i},s),E=(0,g.u2)(e);void 0===b?y.Gw.added(e)||(t=p.merge(t,((n={})[E]="Can't find field '".concat(e.name.value,"' on ").concat((0,g.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,N.k)(b)?b=d(r.executeSubSelectedArray({field:e,array:b,enclosingRef:o,context:s}),E):e.selectionSet?null!=b&&(b=d(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,g.Yk)(b)?b:o,context:s}),E)):s.canonizeResults&&(b=r.canon.pass(b)),void 0!==b&&h.push(((m={})[E]=b,m))}else{var _=(0,u.hi)(e,s.lookupFragment);if(!_&&e.kind===k.h.FRAGMENT_SPREAD)throw(0,a._K)(9,e.name.value);_&&l.fragmentMatches(_,f)&&_.selectionSet.selections.forEach(v.add,v)}}});var m={result:(0,w.bw)(h),missing:t},b=s.canonizeResults?this.canon.admit(m):D(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,c=new w.w0;function u(e,r){var n;return e.missing&&(t=c.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,N.k)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:s}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,g.Yk)(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,S.s)(r)&&((0,a.kG)(!(0,g.Yk)(r),10,(0,g.Yk)(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}(),$=r(79487),X=r(13887),ee=r(66438),et=Object.create(null);function er(e){var t=JSON.stringify(e);return et[t]||(et[t]=Object.create(null))}function en(e){var t=er(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=eo(e,function(e){var i=es(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&x.call(t,e[0])&&(i=es(t,e,ea)),(0,a.kG)(void 0!==i,4,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function ei(e){var t=er(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(eo(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,N.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),c=s&&(0,g.NC)(s,i);return c&&es(c,e.slice(1))}return}if("$"===o){var u=r.slice(1);if(i&&x.call(i,u)){var l=e.slice(0);return l[0]=u,es(i,l)}return}if(t)return es(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function eo(e,t){var r=new w.w0;return(function e(t){var r=er(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,N.k)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,N.k)(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 ea(e,t){return e[t]}function es(e,t,r){return r=r||ea,function e(t){return(0,S.s)(t)?(0,N.k)(t)?t.map(e):eo(Object.keys(t).sort(),function(e){return es(t,e)}):t}(t.reduce(function e(t,n){return(0,N.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function ec(e){return void 0!==e.args?e.args:e.field?(0,g.NC)(e.field,e.variables):null}var eu=function(){},el=function(e,t){return t.fieldName},ef=function(e,t,r){return(0,r.mergeObjects)(e,t)},eh=function(e,t){return t},ep=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.pi)({dataIdFromObject:R},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?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,c=(0,o.pi)((0,o.pi)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=ev(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=a&&this.getTypePolicy(a),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l((0,o.pi)((0,o.pi)({},e),s),c);if((0,N.k)(f))l=en(f);else{n=f;break}}return n=n?String(n):void 0,c.keyObject?[n,c.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,a=n.mutationType,s=n.subscriptionType,c=(0,o._T)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),x.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},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?ef:!1===t?eh:e.merge}a(n,t.merge),n.keyFn=!1===i?eu:(0,N.k)(i)?en(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===s?el:(0,N.k)(s)?ei(s):"function"==typeof s?s:n.keyFn,"function"==typeof c&&(n.read=c),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||el)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,a.kG)(!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(P);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!x.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._T)(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),c=[s],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<c.length;++h){var p=c[h];if(p.has(o))return s.has(o)||(f&&!1!==globalThis.__DEV__&&a.kG.warn(6,t,o),s.add(o)),!0;p.forEach(u),l&&h===c.length-1&&function e(t,r,n){return!!(0,S.s)(r)&&((0,N.k)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,g.My)(t)&&(0,T.LZ)(t,n)){var i=(0,g.u2)(t);return x.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!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=ec(e);o;){var c=o(s,a);if((0,N.k)(c))o=ei(c);else{t=c||n;break}}return(void 0===t&&(t=e.field?(0,g.vf)(e.field,e.variables):(0,g.PT)(n,ec(e))),!1===t)?n:n===j(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=j(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),c=s&&s.read;if(c){var u=ed(this,r,e,t,t.store.getStorage((0,g.Yk)(r)?r.__ref:r,i));return ee.ab.withValue(this.cache,c,[a,u])}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===ef?ey(n.store)(e,t):s===eh?t:(n.overwrite&&(e=void 0),s(e,t,ed(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ed(e,t,r,n,i){var o=e.getStoreFieldName(r),a=j(o),s=r.variables||n.variables,c=n.store,u=c.toReference,l=c.canRead;return{args:ec(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:g.Yk,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(ev(arguments,t,s),n)},mergeObjects:ey(n.store)}}function ev(e,t,r){var n,i=e[0],s=e[1],c=e.length;return"string"==typeof i?n={fieldName:i,from:c>1?s:t}:(n=(0,o.pi)({},i),x.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&a.kG.warn(7,(0,X.v)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function ey(e){return function(t,r){if((0,N.k)(t)||(0,N.k)(r))throw(0,a._K)(8);if((0,S.s)(t)&&(0,S.s)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,g.Yk)(t)&&M(r))return e.merge(t.__ref,r),t;if(M(t)&&(0,g.Yk)(r))return e.merge(t,r.__ref),r;if(M(t)&&M(r))return(0,o.pi)((0,o.pi)({},t),r)}return r}}function em(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.pi)((0,o.pi)({},e),{clientOnly:t,deferred:r})),i}var eb=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,u=t.variables,l=t.overwrite,f=(0,O.$H)(n),h=new w.w0;u=(0,o.pi)((0,o.pi)({},(0,O.O4)(f)),u);var p=(0,o.pi)((0,o.pi)({store:e,written:Object.create(null),merge:function(e,t){return h.merge(e,t)}
1,variables:u,varString:(0,m.B)(u)},L(n,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:i||Object.create(null),dataId:s,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:p});if(!(0,g.Yk)(d))throw(0,a._K)(11,i);return p.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,s=t.fieldNodeSet,u=(0,g.kQ)(n);if(o&&o.map.size){var l=r.applyMerges(o,u,i,p);if((0,g.Yk)(l))return;i=l}if(!1!==globalThis.__DEV__&&!p.overwrite){var f=Object.create(null);s.forEach(function(e){e.selectionSet&&(f[e.name.value]=!0)});var h=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==f[j(e)]||h(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(o){var s=i(t);if(!(!s||(0,g.Yk)(o)||(0,c.D)(o,s)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(s,e)}))){var u=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=j(r),f="".concat(u,".").concat(l);if(!eO.has(f)){eO.add(f);var h=[];
1(0,N.k)(o)||(0,N.k)(s)||[o,s].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&a.kG.warn(14,l,u,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",f,o,s)}}}}(u,i,e,p.store)})}e.merge(n,i)}),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,s=e.context,c=e.mergeTree,u=this.cache.policies,l=Object.create(null),f=r&&u.rootTypenamesById[r]||(0,g.qw)(n,i,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=ev(arguments,l,s.variables);if((0,g.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,o.pi)((0,o.pi)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return u.readField(e,s)},p=new Set;this.flattenFields(i,n,s,f).forEach(function(e,r){var i,o=n[(0,g.u2)(r)];if(p.add(r),void 0!==o){var s=u.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),d=ek(c,s),v=t.processFieldValue(o,r,r.selectionSet?em(e,!1,!1):e,d),m=void 0;r.selectionSet&&((0,g.Yk)(v)||M(v))&&(m=h("__typename",v));var b=u.getMergeFunction(f,r.name.value,m);b?d.info={field:r,typename:f,merge:b}:e_(c,s),l=e.merge(l,((i={})[s]=v,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||y.Gw.added(r)||u.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||a.kG.error(12,(0,g.u2)(r),n)});try{var d=u.identify(n,{typename:f,selectionSet:i,fragmentMap:s.fragmentMap,storeObject:l,readField:h}),v=d[0],m=d[1];r=r||v,m&&(l=s.merge(l,m))}catch(e){if(!r)throw e}if("string"==typeof r){var b=(0,g.kQ)(r),k=s.written[r]||(s.written[r]=[]);if(k.indexOf(i)>=0||(k.push(i),this.reader&&this.reader.isFresh(n,b,i,s)))return b;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||eE(r))return t;if(!t||eE(t))return r;var n=t.info&&r.info?(0,o.pi)((0,o.pi)({},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,c),p.forEach(function(e){return E.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:eE(c)?void 0:c,fieldNodeSet:p}),b}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,N.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,ek(n,o));return e_(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,$.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,g.qw)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,s=new I.B(!1);return function e(c,l){var f=s.lookup(c,l.clientOnly,l.deferred);f.visited||(f.visited=!0,c.selections.forEach(function(s){if((0,T.LZ)(s,r.variables)){var c=l.clientOnly,f=l.deferred;if(!(c&&f)&&(0,N.O)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var n=(0,g.NC)(e,r.variables);n&&!1===n.if||(f=!0)}}),(0,g.My)(s)){var h=i.get(s);h&&(c=c&&h.clientOnly,f=f&&h.deferred),i.set(s,em(r,c,f))}else{var p=(0,u.hi)(s,r.lookupFragment);if(!p&&s.kind===k.h.FRAGMENT_SPREAD)throw(0,a._K)(13,s.name.value);p&&o.fragmentMatches(p,n,t,r.variables)&&e(p.selectionSet,em(r,c,f))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var s=this;if(e.map.size&&!(0,g.Yk)(r)){var c,u,l=!(0,N.k)(r)&&((0,g.Yk)(t)||M(t))?t:void 0,f=r;l&&!i&&(i=[(0,g.Yk)(l)?l.__ref:l]);var h=function(e,t){return(0,N.k)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=h(l,t),o=h(f,t);if(void 0!==o){i&&i.push(t);var c=s.applyMerges(e,r,o,n,i);c!==o&&(u=u||new Map).set(t,c),i&&(0,a.kG)(i.pop()===t)}}),u&&(r=(0,N.k)(f)?f.slice(0):(0,o.pi)({},f),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(c=n.store).getStorage.apply(c,i)):r},e}(),eg=[];function ek(e,t){var r=e.map;return r.has(t)||r.set(t,eg.pop()||{map:new Map}),r.get(t)}function eE(e){return!e||!(e.info||e.map.size)}function e_(e,t){var r=e.map,n=r.get(t);n&&eE(n)&&(eg.push(n),r.delete(t))}var eO=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 v.A(y.Gw),n.assumeImmutableResults=!0,n.makeVar=ee.QS,n.txCount=0,n.config=(r=t,(0,_.o)(F,r)),n.addTypename=!!n.config.addTypename,n.policies=new ep({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,o.ZT)(t,e),t.prototype.init=function(){var e=this.data=new B.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 eb(this,this.storeReader=new H({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:C(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,s.re)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||l.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(Y(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,m.B)({optimistic:n,id:i,variables:o}))}}}
1),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,o.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof d)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(x.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.pi)((0,o.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,ee._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,ee.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){m.B.reset(),b.S.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||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,g.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&a.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(x.call(e,"id"))return!1;e=(0,o.pi)((0,o.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),m.B.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,ee.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,i=e.optimistic,a=void 0===i||i,s=e.removeOptimistic,c=e.onWatchUpdated,u=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 c&&!this.txCount&&this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches((0,o.pi)((0,o.pi)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.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,c.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(p);!1!==globalThis.__DEV__&&(ew.prototype.getMemoryInternals=h.q4)},66438:function(e,t,r){r.d(t,{QS:function(){return u},_v:function(){return c},ab:function(){return i},li:function(){return s}});var n=r(81223),i=new n.g7,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}
1function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function c(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var c=Array.from(r);r.clear(),c.forEach(function(t){return t(e)})}}else{var u=i.getValue();u&&(o(u),a(u).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}},87802:function(e,t,r){r.d(t,{f:function(){return ep}});var n,i,o=r(97582),a=r(78287),s=r(48702),c=s.i.execute,u=r(49379),l=r(75465),f=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,l.L)(t).request)||this;return r.options=t,r}return(0,o.ZT)(t,e),t}(s.i),h=r(30020),p=r(37280),d=r(19065),v=r(76487),y=r(5466),m=r(18056),b=r(48216);function g(e,t,r){return new b.y(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 k=r(21436);function E(e){var t=_(e);return(0,k.O)(t)}function _(e){var t=(0,k.O)(e.errors)?e.errors.slice(0):[];return(0,p.GG)(e)&&(0,k.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var O=r(36765),w=r(51761),T=r(13154),S=r(60897);function D(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}var I=r(30320);function N(e){function t(t){Object.defineProperty(e,t,{value:b.y})}return I.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function x(e){return e&&"function"==typeof e.then}var A=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),D(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),D(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?x(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"),D(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new b.y(t)]),x(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,o.ZT)(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}(b.y);N(A);var R=r(30990);function F(e){return!!e&&e<7}(n=i||(i={}))[n.loading=1]="loading",n[n.setVariables=2]="setVariables",n[n.fetchMore=3]="fetchMore",n[n.refetch=4]="refetch",n[n.poll=6]="poll",n[n.ready=7]="ready",n[n.error=8]="error";var C=r(53712),P=r(79487),j=r(23361);function M(e){return!!e.directives&&e.directives.some(L)}function L(e){return"nonreactive"===e.name.value}var q=Object.assign,V=Object.hasOwnProperty,Q=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,i=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=U)}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=n,a.queryManager=r,a.waitForOwnResult=z(i.fetchPolicy),a.isTornDown=!1;var s=r.defaultOptions.watchQuery,c=(void 0===s?{}:s).fetchPolicy,u=void 0===c?"cache-first":c,l=i.fetchPolicy,f=void 0===l?u:l,h=i.initialFetchPolicy,p=void 0===h?"standby"===f?u:f:h;a.options=(0,o.pi)((0,o.pi)({},i),{initialFetchPolicy:p,fetchPolicy:f}),a.queryId=n.queryId||r.generateQueryId();var d=(0,O.$H)(a.query);return a.queryName=d&&d.name&&d.name.value,a}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query}
1,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||i.ready,n=(0,o.pi)((0,o.pi)({},t),{loading:F(r),networkStatus:r}),a=this.options.fetchPolicy,s=void 0===a?"cache-first":a;if(z(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(n.data=c.result),(0,h.D)(n.data,{})&&(n.data=void 0),c.complete?(delete n.partial,c.complete&&n.networkStatus===i.loading&&("cache-first"===s||"cache-only"===s)&&(n.networkStatus=i.ready,n.loading=!1)):n.partial=!0,!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||n.loading||n.data||n.error||G(c.missing)}return e&&this.updateLastResult(n),n},t.prototype.isDifferentFromLastResult=function(e,t){var r,n,i,a,s,c,u;return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?(r=this.query,n=this.last.result,i=this.variables,a=n.data,s=(0,o._T)(n,["data"]),c=e.data,u=(0,o._T)(e,["data"]),!((0,h.Z)(s,u)&&function e(t,r,n,i){if(r===n)return!0;var o=new Set;return t.selections.every(function(t){if(o.has(t)||(o.add(t),!(0,d.LZ)(t,i.variables)||M(t)))return!0;if((0,w.My)(t)){var a=(0,w.u2)(t),s=r&&r[a],c=n&&n[a],u=t.selectionSet;if(!u)return(0,h.Z)(s,c);var l=Array.isArray(s),f=Array.isArray(c);if(l!==f)return!1;if(l&&f){var p=s.length;if(c.length!==p)return!1;for(var v=0;v<p;++v)if(!e(u,s[v],c[v],i))return!1;return!0}return e(u,s,c,i)}var y=(0,j.hi)(t,i.fragmentMap);if(y)return!!M(y)||e(y.selectionSet,r,n,i)})}((0,O.p$)(r).selectionSet,a,c,{fragmentMap:(0,j.F)((0,O.kU)(r)),variables:i}))):!(0,h.D)(this.last.result,e))||t&&!(0,h.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,h.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},n=this.options.fetchPolicy;if("cache-and-network"===n?r.fetchPolicy=n:"no-cache"===n?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&V.call(e,"variables")){var s=(0,O.iW)(this.query),c=s.variableDefinitions;c&&c.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||a.kG.warn(20,e,(null===(t=s.name)||void 0===t?void 0:t.value)||s)}return e&&!(0,h.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,o.pi)((0,o.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,i.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,o.pi)((0,o.pi)({},e.query?e:(0,o.pi)((0,o.pi)((0,o.pi)((0,o.pi)({},this.options),{query:this.options.query}),e),{variables:(0,o.pi)((0,o.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var n=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=i.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set;return this.queryManager.fetchQuery(n,r,i.fetchMore).then(function(o){return t.queryManager.removeQuery(n),a.networkStatus===i.fetchMore&&(a.networkStatus=s),t.queryManager.cache.batch({update:function(n){var i=e.updateQuery;i?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:o.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:o.data})},onWatchUpdated:function(e){c.add(e.query)}}),o}).finally(function(){c.has(t.query)||B(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){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&a.kG.error(21,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,C.o)(this.options,e||{});q(this.options,t)},t.prototype.setVariables=function(e){return(0,h.D)(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},i.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.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){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,a.kG)(r,22),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&(F(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},i.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,h.D)(t,this.last.variables)&&(r=void 0),this.last=(0,o.pi)({result:this.queryManager.assumeImmutableResults?e:(0,P.X)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var n=t===i.refetch||t===i.fetchMore||t===i.poll,a=this.options.variables,s=this.options.fetchPolicy,c=(0,C.o)(this.options,e||{}),u=n?c:q(this.options,c),l=this.transformDocument(u.query);this.lastQuery=l,!n&&(this.updatePolling(),e&&e.variables&&!(0,h.D)(e.variables,a)&&"standby"!==u.fetchPolicy&&u.fetchPolicy===s&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=i.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=z(u.fetchPolicy));var f=function(){r.concast===v&&(r.waitForOwnResult=!1)},p=u.variables&&(0,o.pi)({},u.variables),d=this.fetch(u,t,l),v=d.concast,y=d.fromLink,m={next:function(e){(0,h.D)(r.variables,p)&&(f(),r.reportResult(e,p))},error:function(e){(0,h.D)(r.variables,p)&&(f(),r.reportError(e,p))}};return n||!y&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=v,this.observer=m),v.addObserver(m),v},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)&&D(this.observers,"next",e)},t.prototype.reportError=function(e,t){var r=(0,o.pi)((0,o.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:i.error,loading:!1});this.updateLastResult(r,t),D(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}(b.y);function B(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 U(e){!1!==globalThis.__DEV__&&a.kG.error(23,e.message,e.stack)}function G(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&a.kG.debug(24,e)}function z(e){return"network-only"===e||"no-cache"===e||"standby"===e}N(Q);var W=r(77304),K=r(97359);function Y(e){return e.kind===K.h.FIELD||e.kind===K.h.FRAGMENT_SPREAD||e.kind===K.h.INLINE_FRAGMENT}var J=r(182),Z=r(66438),H=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,J.Ee)(t.resolvers,e)}):this.resolvers=(0,J.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,o.mG)(this,void 0,void 0,function(){return(0,o.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,s).then(function(e){return(0,o.pi)((0,o.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,d.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,v.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,o.pi)((0,o.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,o.mG)(this,void 0,void 0,function(){return(0,o.Jh)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,o.pi)((0,o.pi)({},t),e.exportedVariables)})]:[2,(0,o.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,W.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return W.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,v.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,i,a){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===a&&(a=!1),(0,o.mG)(this,void 0,void 0,function(){var s,c,u,l,f,h,p,d,v,y;return(0,o.Jh)(this,function(m){return s=(0,O.p$)(e),c=(0,O.kU)(e),u=(0,j.F)(c),l=this.collectSelectionsToResolve(s,u),h=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,d=p.c
1ache,v=p.client,y={fragmentMap:u,context:(0,o.pi)((0,o.pi)({},r),{cache:d,client:v}),variables:n,fragmentMatcher:i,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,n){return(0,o.mG)(this,void 0,void 0,function(){var i,s,c,u,l,f=this;return(0,o.Jh)(this,function(h){return i=n.fragmentMap,s=n.context,c=n.variables,u=[r],l=function(e){return(0,o.mG)(f,void 0,void 0,function(){var l,f;return(0,o.Jh)(this,function(o){return(t||n.selectionsToResolve.has(e))&&(0,d.LZ)(e,c)?(0,w.My)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&u.push(((r={})[(0,w.u2)(e)]=t,r))})]:((0,w.Ao)(e)?l=e:(l=i[e.name.value],(0,a.kG)(l,18,e.name.value)),l&&l.typeCondition&&(f=l.typeCondition.name.value,n.fragmentMatcher(r,f,s)))?[2,this.resolveSelectionSet(l.selectionSet,t,r,n).then(function(e){u.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,J.bw)(u)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,o.mG)(this,void 0,void 0,function(){var i,a,s,c,u,l,f,h,p,d=this;return(0,o.Jh)(this,function(o){return r?(i=n.variables,c=(a=e.name.value)!==(s=(0,w.u2)(e)),l=Promise.resolve(u=r[s]||r[a]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[c?a:s])&&(l=Promise.resolve(Z.ab.withValue(this.cache,p,[r,(0,w.NC)(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,n):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(i){if(!n.has(i)){var o=new Set;n.set(i,o),(0,W.Vn)(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&Y(e)&&o.add(e)})},FragmentSpread:function(n,i,s,c,u){var l=t[n.name.value];(0,a.kG)(l,19,n.name.value);var f=e(l);f.size>0&&(u.forEach(function(e){r(e)&&Y(e)&&o.add(e)}),o.add(n),f.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),$=new(I.mr?WeakMap:Map);function X(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return $.set(e,($.get(e)+1)%1e15),r.apply(this,arguments)})}function ee(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var et=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;$.has(r)||($.set(r,0),X(r,"evict"),X(r,"modify"),X(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||i.loading;return this.variables&&this.networkStatus!==i.loading&&!(0,h.D)(this.variables,e.variables)&&(t=i.setVariables),(0,h.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){ee(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,h.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;(!e||e.complete||(null===(t=this.observableQuery)||void 0===t?void 0:t.options.returnPartialData)||n&&n.complete)&&(this.updateLastDiff(e),this.dirty||(0,h.D)(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():B(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1ee(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(F(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 n=(0,o.pi)((0,o.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,h.D)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===$.get(this.cache)&&(0,h.D)(t,r.variables)&&(0,h.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new J.w0,a=(0,k.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,k.O)(e.incremental)){var s=(0,p.mT)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(er(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:$.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,h.D)(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=i.ready},e.prototype.markError=function(e){return this.networkStatus=i.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function er(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!E(e);return!n&&r&&e.data&&(n=!0),n}var en=r(5144),ei=r(75028),eo=r(38991),ea=r(66331),es=Object.prototype.hasOwnProperty,ec=Object.create(null),eu=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.documentTransform,o=e.queryDeduplication,a=e.onBroadcast,s=e.ssrMode,c=e.clientAwareness,u=e.localState,l=e.assumeImmutableResults,f=void 0===l?!!t.assumeImmutableResults:l,h=e.defaultContext,p=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new eo.s(ea.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new ei.B(!1);var d=new m.A(function(e){return p.cache.transformDocument(e)},{cache:!1});this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=void 0!==o&&o,this.clientAwareness=void 0===c?{}:c,this.localState=u||new H({cache:t}),this.ssrMode=void 0!==s&&s,this.assumeImmutableResults=f,this.documentTransform=i?d.concat(i).concat(d):d,this.defaultContext=h||Object.create(null),(this.onBroadcast=a)&&(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,a._K)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,n=e.mutation,i=e.variables,s=e.optimisticResponse,c=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,f=e.awaitRefetchQueries,h=void 0!==f&&f,p=e.update,d=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,m=e.errorPolicy,b=void 0===m?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":m,k=e.keepRootFields,O=e.context;return(0,o.mG)(this,void 0,void 0,function(){var e,t,r,u,f;return(0,o.Jh)(this,function(v){switch(v.label){case 0:if((0,a.kG)(n,26),(0,a.kG)("network-only"===y||"no-cache"===y,27),e=this.generateMutationId(),n=this.cache.transformForLink(this.transform(n)),t=this.getDocumentInfo(n).hasClientExports,i=this.getVariables(n,i),!t)return[3,2];return[4,this.localState.addExportedVariables(n,i,O)];case 1:i=v.sent(),v.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:i,loading:!0,error:null}),u=s&&this.markMutationOptimistic(s,{mutationId:e,document:n,variables:i,fetchPolicy:y,errorPolicy:b,context:O,updateQueries:c,update:p,keepRootFields:k}),this.broadcastQueries(),f=this,[2,new Promise(function(t,a){return g(f.getObservableFromLink(n,(0,o.pi)((0,o.pi)({},O),{optimisticResponse:u?s:void 0}),i,!1),function(t){if(E(t)&&"none"===b)throw new R.cA({graphQLErrors:_(t)});r&&(r.loading=!1,r.error=null);var a=(0,o.pi)({},t);return"function"==typeof l&&(l=l(a)),"ignore"===b&&E(a)&&delete a.errors,f.markMutationResult({mutationId:e,result:a,document:n,variables:i,fetchPolicy:y,errorPolicy:b,context:O,update:p,updateQueries:c,awaitRefetchQueries:h,refetchQueries:l,removeOptimistic:u?e:void 0,onQueryUpdated:d,keepRootFields:k})}).subscribe({next:function(e){f.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),u&&f.cache.removeOptimistic(e),f.broadcastQueries(),a(t instanceof R.cA?t:new R.cA({networkError:t}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],a="no-cache"===e.fetchPolicy;if(!a&&er(n,e.errorPolicy)){if((0,p.GG)(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,p.GG)(n)&&(0,k.O)(n.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),c=void 0;s.result&&(c=(0,p.mT)(s.result,n)),void 0!==c&&(n.data=c,i.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&es.call(u,s)){var c=u[s],l=r.queries.get(o),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=c(d,{mutationResult:n,queryName:f&&(0,O.rY)(f)||void 0,queryVariables:h});v&&i.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){a||i.forEach(function(e){return t.write(e)});var s=e.update,c=!(0,p.M0)(n)||(0,p.GG)(n)&&!n.hasNext;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(n=(0,o.pi)((0,o.pi)({},n),{data:u.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}c&&s(t,n,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||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 l.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:ec}):e;return n!==ec&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,o.pi)((0,o.pi)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&a.kG.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,d.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,d.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,v.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,O.O4)((0,O.$H)(e)),asQuery:(0,o.pi)((0,o.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,o.pi)((0,o.pi)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,o.pi)((0,o.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,o.pi)((0,o.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new et(this),n=new Q({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,a.kG)(e.query,28),(0,a.kG)("Document"===e.query.kind,29),(0,a.kG)(!e.returnPartialData,30),(0,a.kG)(!e.pollInterval,31),this.fetchQuery(t,(0,o.pi)((0,o.pi)({},e),{query:this.transform(e.query)})).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,a._K)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=i.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?n.set(e,!1):(0,w.JW)(e)?n.set(t.transform(e),!1):(0,T.s)(e)&&e.query&&i.add(e)}),this.queries.forEach(function(t,i){var o=t.observableQuery,a=t.document;if(o){if("all"===e){r.set(i,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&n.has(s)||a&&n.has(a))&&(r.set(i,o),s&&n.set(s,!0),a&&n.set(a,!0))}}),i.size&&i.forEach(function(e){var n=(0,S.X)("legacyOneTimeQuery"),i=t.getQuery(n).init({document:e.query,variables:e.variables}),s=new Q({queryManager:t,queryInfo:i,options:(0,o.pi)((0,o.pi)({},e),{fetchPolicy:"network-only"})});(0,a.kG)(s.queryId===n),i.setObservableQuery(s),r.set(n,s)}),!1!==globalThis.__DEV__&&n.size&&n.forEach(function(e,t){e||!1===globalThis.__DEV__||a.kG.warn("string"==typeof t?33:34,t)}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,c=void 0===s?{}:s;r=this.transform(r),a=this.getVariables(r,a);var u=function(e){return t.getObservableFromLink(r,c,e).map(function(i){"no-cache"!==n&&(er(i,o)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=E(i),s=(0,R.ls)(i);if(a||s){var c={};if(a&&(c.graphQLErrors=i.errors),s&&(c.protocolErrors=i.extensions[R.YG]),"none"===o||s)throw new R.cA(c)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,a,c).then(u);return new b.y(function(e){var t=null;return l.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return u(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,n){var i,a,s=this;void 0===n&&(n=null!==(i=null==t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var u=this.getDocumentInfo(e),l=u.serverQuery,f=u.clientQuery;if(l){var h=this.inFlightLinkObservables,p=this.link,d={query:l,variables:r,operationName:(0,O.rY)(l)||void 0,context:this.prepareContext((0,o.pi)((0,o.pi)({},t),{forceFetch:!n}))};if(t=d.context,n){var v=(0,en.S)(l),m=(0,y.B)(r),k=h.lookup(v,m);if(!(a=k.observable)){var E=new A([c(p,d)]);a=k.observable=E,E.beforeNext(function(){h.remove(v,m)})}}else a=new A([c(p,d)])}else a=new A([b.y.of({data:{}})]),t=this.prepareContext(t);return f&&(a=g(a,function(e){return s.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(r.query);return g(this.getObservableFromLink(o,r.context,r.variables),function(a){var s=_(a),c=s.length>0;if(n>=e.lastRequestId){if(c&&"none"===r.errorPolicy)throw e.markError(new R.cA({graphQLErrors:s}));e.markResult(a,o,r,t),e.markReady()}var u={data:a.data,loading:!1,networkStatus:i.ready};return c&&"ignore"!==r.errorPolicy&&(u.errors=s,u.networkStatus=i.error),u},function(t){var r=(0,R.MS)(t)?t:new R.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var o,a,s=this;void 0===r&&(r=i.loading),void 0===n&&(n=t.query);var c=this.getVariables(n,t.variables),u=this.getQuery(e),l=this.defaultOptions.watchQuery,f=t.fetchPolicy,h=void 0===f?l&&l.fetchPolicy||"cache-first":f,p=t.errorPolicy,d=void 0===p?l&&l.errorPolicy||"none":p,v=t.returnPartialData,y=t.notifyOnNetworkStatusChange,m=t.context,b=Object.assign({},t,{query:n,variables:c,fetchPolicy:h,errorPolicy:d,returnPartialData:void 0!==v&&v,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===m?{}:m}),g=function(e){b.variables=e;var n=s.fetchQueryByPolicy(u,b,r);return"standby"!==b.fetchPolicy&&n.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),n},k=function(){return s.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){k(),setTimeout(function(){return o.cancel(e)})}),this.getDocumentInfo(b.query).hasClientExports)o=new A(this.localState.addExportedVariables(b.query,b.variables,b.context).then(g).then(function(e){return e.sources})),a=!0;else{var E=g(b.variables);a=E.fromLink,o=new A(E.sources)}return o.promise.then(k,k),{concast:o,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,S.X)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;
1n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof et&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=c(i,a,o)}c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,a=t.query,s=t.variables,c=t.fetchPolicy,u=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,d=t.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:a,variables:s,networkStatus:r});var y=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||i.loading);var c=t.result;!1===globalThis.__DEV__||f||(0,h.D)(c,{})||G(t.missing);var u=function(e){return b.y.of((0,o.pi)({data:e,loading:F(r),networkStatus:r},t.complete?null:{partial:!0}))};return c&&n.getDocumentInfo(a).hasForcedResolvers?n.localState.runResolvers({document:a,remoteResult:{data:c},context:p,variables:s,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===l&&r===i.refetch&&Array.isArray(t.missing)?u(void 0):u(c)},g="no-cache"===c?0:r===i.refetch&&"merge"!==u?1:2,k=function(){return n.getResultsFromLink(e,g,{query:a,variables:s,context:p,fetchPolicy:c,errorPolicy:l})},E=d&&"number"==typeof v&&v!==r&&F(r);switch(c){default:case"cache-first":var _=y();if(_.complete)return{fromLink:!1,sources:[m(_,e.markReady())]};if(f||E)return{fromLink:!0,sources:[m(_),k()]};return{fromLink:!0,sources:[k()]};case"cache-and-network":var _=y();if(_.complete||f||E)return{fromLink:!0,sources:[m(_),k()]};return{fromLink:!0,sources:[k()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(E)return{fromLink:!0,sources:[m(y()),k()]};return{fromLink:!0,sources:[k()]};case"no-cache":if(E)return{fromLink:!0,sources:[m(e.getDiff()),k()]};return{fromLink:!0,sources:[k()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new et(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,o.pi)((0,o.pi)((0,o.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function el(e,t){return(0,C.o)(e,t,t.variables&&{variables:(0,C.o)((0,o.pi)((0,o.pi)({},e&&e.variables),t.variables))})}var ef=r(88244),eh=!1,ep=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,a._K)(15);var r=e.uri,n=e.credentials,i=e.headers,o=e.cache,c=e.documentTransform,l=e.ssrMode,h=void 0!==l&&l,p=e.ssrForceFetchDelay,d=void 0===p?0:p,v=e.connectToDevTools,y=void 0===v?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:v,m=e.queryDeduplication,b=void 0===m||m,g=e.defaultOptions,k=e.defaultContext,E=e.assumeImmutableResults,_=void 0===E?o.assumeImmutableResults:E,O=e.resolvers,w=e.typeDefs,T=e.fragmentMatcher,S=e.name,D=e.version,I=e.link;I||(I=r?new f({uri:r,credentials:n,headers:i}):s.i.empty()),this.link=I,this.cache=o,this.disableNetworkFetches=h||d>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=w,d&&setTimeout(function(){return t.disableNetworkFetches=!1},d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=u.i,this.localState=new H({cache:o,client:this,resolvers:O,fragmentMatcher:T}),this.queryManager=new eu({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:k,documentTransform:c,queryDeduplication:b,ssrMode:h,clientAwareness:{name:S,version:D},localState:this.localState,assumeImmutableResults:_,onBroadcast:y?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),y&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}eh||!1===globalThis.__DEV__||(eh=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&a.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=el(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,o.pi)((0,o.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=el(this.defaultOptions.query,e)),(0,a.kG)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,o.pi)((0,o.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=el(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return c(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&a.kG.debug(17,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(ep.prototype.getMemoryInternals=ef.su)},30990:function(e,t,r){r.d(t,{MS:function(){return s},YG:function(){return o},cA:function(){return u},ls:function(){return a}});var n=r(97582);r(78287);var i=r(13154),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){var t=(0,n.ev)((0,n.ev)((0,n.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.s)(e)&&e.message||"Error message not found."}).join("\n")},u=function(e){function t(r){var n=r.graphQLErrors,i=r.protocolErrors,o=r.clientErrors,a=r.networkError,s=r.errorMessage,u=r.extraInfo,l=e.call(this,s)||this;return l.name="ApolloError",l.graphQLErrors=n||[],l.protocolErrors=i||[],l.clientErrors=o||[],l.networkError=a||null,l.message=s||c(l),l.extraInfo=u,l.__proto__=t.prototype,l}return(0,n.ZT)(t,e),t}(Error)},37865:function(e,t,r){r.d(t,{v:function(){return a}});
1var n=r(97582),i=r(48702),o=r(48216);function a(e){return new i.i(function(t,r){var i=(0,n._T)(t,[]);return new o.y(function(n){var o,a=!1;return Promise.resolve(i).then(function(r){return e(r,t.getContext())}).then(t.setContext).then(function(){a||(o=r(t).subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}))}).catch(n.error.bind(n)),function(){a=!0,o&&o.unsubscribe()}})})}},48702:function(e,t,r){r.d(t,{i:function(){return l}});var n=r(78287),i=r(48216),o=r(97582),a=r(36765);function s(e,t){return t?t(e):i.y.of()}function c(e){return"function"==typeof e?new l(e):e}function u(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=c(r),a=c(n||new e(s));return Object.assign(new e(u(o)&&u(a)?function(e){return t(e)?o.request(e)||i.y.of():a.request(e)||i.y.of()}:function(e,r){return t(e)?o.request(e,r)||i.y.of():a.request(e,r)||i.y.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,c,u;return e.request((c=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._K)(43,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.rY)(s.query)||void 0:""),u=(0,o.pi)({},c),Object.defineProperty(s,"setContext",{enumerable:!1,value:function(e){u="function"==typeof e?(0,o.pi)((0,o.pi)({},u),e(u)):(0,o.pi)((0,o.pi)({},u),e)}}),Object.defineProperty(s,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},u)}}),s))||i.y.of()},e.concat=function(t,r){var o=c(t);if(u(o))return!1!==globalThis.__DEV__&&n.kG.warn(35,o),o;var a=c(r);return Object.assign(new e(u(a)?function(e){return o.request(e,function(e){return a.request(e)||i.y.of()})||i.y.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.y.of()})||i.y.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._K)(36)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},75465:function(e,t,r){r.d(t,{L:function(){return T}});var n=r(97582),i=r(78287),o=r(48702),a=r(19065),s=r(48216),c=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,i._K)(39,t,e.message);throw n.parseError=e,n}return r},u=r(30320);function l(e){var t={next:function(){return e.read()}};return u.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var f=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},h=r(30990),p=r(37280),d=Object.prototype.hasOwnProperty;function v(e,t){e.status>=300&&f(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 y=function(e){if(!e&&"undefined"==typeof fetch)throw(0,i._K)(37)},m=r(5144),b={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},g=function(e,t){return t(e)};function k(e){return new s.y(function(t){t.error(e)})}var E=r(77304),_=r(76487),O=r(36765),w=(0,i.wY)(function(){return fetch}),T=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,T=e.fetch,S=e.print,D=void 0===S?g:S,I=e.includeExtensions,N=e.preserveHeaderCase,x=e.useGETForQueries,A=e.includeUnusedVariables,R=void 0!==A&&A,F=(0,n._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&y(T||w);var C={http:{includeExtensions:I,preserveHeaderCase:N},options:F.fetchOptions,credentials:F.credentials,headers:F.headers};return new o.i(function(e){var t,o,y,g,S,I,N,A,F=(t=e,o=r,t.getContext().uri||("function"==typeof o?o(t):o||"/graphql")),P=e.getContext(),j={};if(P.clientAwareness){var M=P.clientAwareness,L=M.name,q=M.version;L&&(j["apollographql-client-name"]=L),q&&(j["apollographql-client-version"]=q)}var V=(0,n.pi)((0,n.pi)({},j),P.headers),Q={http:P.http,options:P.fetchOptions,credentials:P.credentials,headers:V};if((0,a.FS)(["client"],e.query)){var B=(0,_.ob)(e.query);if(!B)return k(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=B}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.pi)((0,n.pi)((0,n.pi)({},o),e.options),{headers:(0,n.pi)((0,n.pi)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.pi)((0,n.pi)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r=Object.create(null);
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n=Object.create(null);Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,c=e.extensions,u=e.variables,l=e.query,f={operationName:s,variables:u};return a.includeExtensions&&(f.extensions=c),a.includeQuery&&(f.query=t(l,m.S)),{options:o,body:f}}(e,D,b,C,Q),G=U.options,z=U.body;z.variables&&!R&&(z.variables=(y=z.variables,g=e.query,S=(0,n.pi)({},y),I=new Set(Object.keys(y)),(0,E.Vn)(g,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&I.delete(e.name.value)}}),I.forEach(function(e){delete S[e]}),S)),G.signal||"undefined"==typeof AbortController||(A=new AbortController,G.signal=A.signal);var W="OperationDefinition"===(N=(0,O.p$)(e.query)).kind&&"subscription"===N.operation,K=(0,a.FS)(["defer"],e.query);if(x&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(G.method="GET"),K||W){G.headers=G.headers||{};var Y="multipart/mixed;";W&&K&&!1!==globalThis.__DEV__&&i.kG.warn(38),W?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":K&&(Y+="deferSpec=20220824,application/json"),G.headers.accept=Y}if("GET"===G.method){var J=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=c(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=c(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+r.join("&")+a}}(F,z),Z=J.newURI,H=J.parseError;if(H)return k(H);F=Z}else try{G.body=c(z,"Payload")}catch(e){return k(e)}return new s.y(function(t){var r=T||(0,i.wY)(function(){return fetch})||w,o=t.next.bind(t);return r(F,G).then(function(t){e.setContext({response:t});var r,i=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?function(e,t){var r;return(0,n.mG)(this,void 0,void 0,function(){var i,o,a,s,c,f,d,y,m,b,g,k,E,_,O,w,T,S,D,I,N,x;return(0,n.Jh)(this,function(A){switch(A.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");i=new TextDecoder("utf-8"),o=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),a="boundary=",s=(null==o?void 0:o.includes(a))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(a))+a.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",c="\r\n--".concat(s),f="",d=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,u.DN&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return l(s.getReader());if(s.stream)return l(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)}))}},u.DN&&(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 c(){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",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return u.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),y=!0,A.label=1;case 1:if(!y)return[3,3];return[4,d.next()];case 2:for(b=(m=A.sent()).value,g=m.done,k="string"==typeof b?b:i.decode(b),E=f.length-c.length+1,y=!g,f+=k,_=f.indexOf(c,E);_>-1;){if(O=void 0,O=(N=[f.slice(0,_),f.slice(_+c.length)])[0],f=N[1],w=O.indexOf("\r\n\r\n"),(T=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(O.slice(0,w))["content-type"])&&-1===T.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(S=O.slice(w)){if(Object.keys(D=v(e,S)).length>1||"data"in D||"incremental"in D||"errors"in D||"payload"in D)(0,p.yU)(D)?(I={},"payload"in D&&(I=(0,n.pi)({},D.payload)),"errors"in D&&(I=(0,n.pi)((0,n.pi)({},I),{extensions:(0,n.pi)((0,n.pi)({},"extensions"in I?I.extensions:null),((x={})[h.YG]=D.errors,x))})),t(I)):t(D);else if(1===Object.keys(D).length&&"hasNext"in D&&!D.hasNext)return[2]}_=f.indexOf(c)}return[3,1];case 3:return[2]}})})}(t,o):t.text().then(function(e){return v(t,e)}).then(function(r){return Array.isArray(r)||d.call(r,"data")||d.call(r,"errors")||f(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r}).then(o)}).then(function(){A=void 0,t.complete()}).catch(function(e){A=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){A&&A.abort()}})})}},38991:function(e,t,r){r.d(t,{L:function(){return c},s:function(){return s}});var n=r(99869),i=r(2379),o=new WeakSet;function a(e){o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100))}var s=function(e,t){var r=new n.k(e,t);return r.set=function(e,t){return a(this),n.k.prototype.set.call(this,e,t)},r},c=function(e,t){var r=new i.e(e,t);return r.set=function(e,t){return a(this),i.e.prototype.set.call(this,e,t)},r}},88244:function(e,t,r){r.d(t,{Kb:function(){return u},q4:function(){return c},su:function(){return s},zP:function(){return a}});var n=r(97582),i=r(66331),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!(!1!==globalThis.__DEV__))throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.Q[t]||r]})),sizes:(0,n.pi)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(r=o.canonicalStringify)||void 0===r?void 0:r.call(o),links:function e(t){var r;return t?(0,n.ev)((0,n.ev)([null===(r=null==t?void 0:t.getMemoryInternals)||void 0===r?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,c=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.pi)((0,n.pi)({},l.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,u=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function h(e){return null!=e}function p(e){return(function e(t){return t?(0,n.ev)((0,n.ev)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]})(e).map(function(e){return{cache:e}})}},66331:function(e,t,r){r.d(t,{Q:function(){return a}});var n=r(97582),i=r(78287),o=Symbol.for("apollo.cacheSize"),a=(0,n.pi)({},i.CO[o])},21436:function(e,t,r){r.d(t,{O:function(){return i},k:function(){return n}});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},30320:function(e,t,r){r.d(t,{DN:function(){return s},aS:function(){return a},mr:function(){return i},sy:function(){return o}});var n=r(78287),i="function"==typeof WeakMap&&!(0,n.wY)(function(){return"ReactNative"==navigator.product&&!global.HermesInternal}),o="function"==typeof WeakSet,a="function"==typeof Symbol&&"function"==typeof Symbol.for,s=a&&Symbol.asyncIterator;(0,n.wY)(function(){return window.document.createElement}),(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},5466:function(e,t,r){r.d(t,{B:function(){return s}});var n,i=r(38991),o=r(66331),a=r(88244),s=Object.assign(function(e){return JSON.stringify(e,c)},{reset:function(){n=new i.L(o.Q.canonicalStringify||1e3)}});function c(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(u))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var c=Object.create(r);return a.forEach(function(e){c[e]=t[e]}),c}}return t}function u(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return n.size}),s.reset()},79487:function(e,t,r){r.d(t,{X:function(){return 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)}},53712:function(e,t,r){r.d(t,{o:function(){return n}});function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}},37280:function(e,t,r){r.d(t,{GG:function(){return a},M0:function(){return s},mT:function(){return u},yU:function(){return c}});var n=r(13154),i=r(21436),o=r(182);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function c(e){return(0,n.s)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.w0;return a(t)&&(0,i.O)(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}},60897:function(e,t,r){r.d(t,{X:function(){return i}});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},182:function(e,t,r){r.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return u}});var n=r(97582),i=r(13154),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new u,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var c=function(e,t,r){return this.merge(e[r],t[r])},u=function(){function e(e){void 0===e&&(e=c),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var c=r.reconciler.apply(r,(0,n.ev)([e,t,i],a,!1));c!==s&&((e=r.shallowCopyForMerge(e))[i]=c)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},13154:function(e,t,r){r.d(t,{s:function(){return n}});function n(e){return null!==e&&"object"==typeof e}},13887:function(e,t,r){r.d(t,{v:function(){return i}});var n=r(60897);function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},78287:function(e,t,r){r.d(t,{CO:function(){return v},kG:function(){return b},wY:function(){return d},_K:function(){return g}});var n,i=r(97582),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,c=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,i.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new c(t)}var l=["debug","log","warn","error","silent"],f=l.indexOf("log");function h(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}(n=u||(u={})).debug=h("debug"),n.log=h("log"),n.warn=h("warn"),n.error=h("error");var p=r(49379);function d(e){try{return e()}catch(e){}}var v=d(function(){return globalThis})||d(function(){return window})||d(function(){return self})||d(function(){return global})||d(function(){return d.constructor("return this")()}),y=r(13887);function m(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=_(i))||(t=O(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var b=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||u(e,_(t,r)||O(t,r))},{debug:m(u.debug),log:m(u.log),warn:m(u.warn),error:m(u.error)});function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new c(_(e,t)||O(e,t))}var k=Symbol.for("ApolloErrorMessageHandler_"+p.i);function E(e){return"string"==typeof e?e:(0,y.v)(e,2).slice(0,1e3)}function _(e,t){if(void 0===t&&(t=[]),e)return v[k]&&v[k](e,t.map(E))}function O(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:p.i,message:e,args:t.map(E)})))}},18056:function(e,t,r){r.d(t,{A:function(){return f}});var n=r(75028),i=r(30320),o=r(36765),a=r(78287),s=r(99869),c=r(81223),u=r(66331);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.sy?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.mr);this.performWork=(0,c.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.kG)(Array.isArray(n),66),r.lookupArray(n)},max:u.Q["documentTransform.cache"],cache:s.k})}},e.prototype.performWork=function(e){return(0,o.A$)(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}()},19065:function(e,t,r){r.d(t,{FS:function(){return a},LZ:function(){return o},mj:function(){return s}});var n=r(78287),i=r(77304);function o(e,t){var r,i=e.directives;
1return!i||!i.length||(r=[],i&&i.length&&i.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var i=e.arguments,o=e.name.value;(0,n.kG)(i&&1===i.length,68,o);var a=i[0];(0,n.kG)(a.name&&"if"===a.name.value,69,o);var s=a.value;(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),70,o),r.push({directive:e,ifArgument:a})}}),r).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.kG)(void 0!==o,67,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.Vn)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.$_}}),r?!n.size:n.size<o}function s(e){return e&&a(["client","export"],e,!0)}},23361:function(e,t,r){r.d(t,{F:function(){return a},Yk:function(){return o},hi:function(){return s}});var n=r(97582),i=r(78287);function o(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(71,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.kG)(1===o.length,72,o.length),r=o[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{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;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.kG)(n,73,r),n||null;default:return null}}},36765:function(e,t,r){r.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return h},iW:function(){return u},kU:function(){return c},p$:function(){return f},pD:function(){return l},rY:function(){return s}});var n=r(78287),i=r(51761);function o(e){(0,n.kG)(e&&"Document"===e.kind,74);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n._K)(75,e.kind);return e});return(0,n.kG)(t.length<=1,76,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 c(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function u(e){var t=a(e);return(0,n.kG)(t&&"query"===t.operation,77),t}function l(e){(0,n.kG)("Document"===e.kind,78),(0,n.kG)(e.definitions.length<=1,79);var t=e.definitions[0];return(0,n.kG)("FragmentDefinition"===t.kind,80),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._K)(81)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)}),t}},5144:function(e,t,r){r.d(t,{S:function(){return m}});var n,i=r(77304),o=r(87392),a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return c(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=l("(",c(e.variableDefinitions,", "),")"),i=c(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?c([t,c([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+l(" = ",n)+l(" ",c(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,a=l("",t,": ")+r,s=a+l("(",c(n,", "),")");return s.length>80&&(s=a+l("(\n",f(c(n,"\n")),"\n)")),c([s,c(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value}
1,FragmentSpread:function(e){return"..."+e.name+l(" ",c(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return c(["...",l("on ",t),c(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(l("(",c(n,", "),")")," ")+"on ".concat(r," ").concat(l("",c(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,o.LZ)(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+c(e.values,", ")+"]"},ObjectValue:function(e){return"{"+c(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",c(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:s(function(e){var t=e.directives,r=e.operationTypes;return c(["schema",c(t," "),u(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s(function(e){return c(["scalar",e.name,c(e.directives," ")]," ")}),ObjectTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["type",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")}),FieldDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(p(r)?l("(\n",f(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+": "+n+l(" ",c(i," "))}),InputValueDefinition:s(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return c([t+": "+r,l("= ",n),c(i," ")]," ")}),InterfaceTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["interface",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")}),UnionTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.types;return c(["union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")}),EnumTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.values;return c(["enum",t,c(r," "),u(n)]," ")}),EnumValueDefinition:s(function(e){return c([e.name,c(e.directives," ")]," ")}),InputObjectTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.fields;return c(["input",t,c(r," "),u(n)]," ")}),DirectiveDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(p(r)?l("(\n",f(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return c(["extend schema",c(t," "),u(r)]," ")},ScalarTypeExtension:function(e){return c(["extend scalar",e.name,c(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["extend type",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["extend interface",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return c(["extend union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return c(["extend enum",t,c(r," "),u(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend input",t,c(r," "),u(n)]," ")}};function s(e){return function(t){return c([t.description,e(t)],"\n")}}function c(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter(function(e){return e}).join(r))&&void 0!==t?t:""}function u(e){return l("{\n",f(c(e,"\n")),"\n}")}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function f(e){return l(" ",e.replace(/\n/g,"\n "))}function h(e){return -1!==e.indexOf("\n")}function p(e){return null!=e&&e.some(h)}var d=r(38991),v=r(66331),y=r(88244),m=Object.assign(function(e){var t=n.get(e);return t||(t=(0,i.Vn)(e,{leave:a}),n.set(e,t)),t},{reset:function(){n=new d.s(v.Q.print||2e3)}});m.reset(),!1!==globalThis.__DEV__&&(0,y.zP)("print",function(){return n?n.size:0})},51761:function(e,t,r){r.d(t,{Ao:function(){return b},JW:function(){return u},My:function(){return m},NC:function(){return v},PT:function(){return d},Yk:function(){return c},kQ:function(){return s},qw:function(){return function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var c=s[a];if(m(c)){if("__typename"===c.name.value)return t[y(c)]}else i?i.push(c):i=[c]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var u=0,l=i;u<l.length;u++){var c=l[u],f=e(t,(0,o.hi)(c,n).selectionSet,n);if("string"==typeof f)return f}}},u2:function(){return y},vb:function(){return l},vf:function(){return f}});var n=r(78287),i=r(13154),o=r(23361),a=r(5466);function s(e){return{__ref:String(e)}}function c(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}
1function 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._K)(82,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.B,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;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={};return 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}},76487:function(e,t,r){r.d(t,{Gw:function(){return d},aL:function(){return v},bi:function(){return p},ob:function(){return y}});var n=r(97582),i=r(78287),o=r(97359),a=r(77304),s=r(36765),c=r(51761),u=r(23361),l=r(21436),f={kind:o.h.FIELD,name:{kind:o.h.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.A$)(t);for(var r,c,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.k)(r)){if(r.kind===o.h.OPERATION_DEFINITION)return p(r.name&&r.name.value);if(r.kind===o.h.FRAGMENT_DEFINITION)return d(r.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(83),null},y=0,m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===o.h.OPERATION_DEFINITION&&++y;var b=(r=new Map,c=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&c.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&c.size&&c.forEach(function(r,n){n(e)&&(t=r)}),t}),g=function(e){return(0,l.O)(e)&&e.map(b).some(function(e){return e&&e.remove})},k=new Map,E=!1,_={enter:function(e){if(g(e.directives))return E=!0,null}},O=(0,a.Vn)(t,{Field:_,InlineFragment:_,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 E=!0,null;var o=v(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){k.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===k.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value})?(d(e.name.value).removed=!0,E=!0,null):void 0}},Directive:{leave:function(e){if(b(e))return E=!0,null}}});if(!E)return t;var w=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){w(d(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},T=new Set;O.definitions.forEach(function(e){e.kind===o.h.OPERATION_DEFINITION?w(p(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){T.add(e)}):e.kind!==o.h.FRAGMENT_DEFINITION||0!==y||d(e.name.value).removed||T.add(e.name.value)}),T.forEach(function(e){w(d(e)).fragmentSpreads.forEach(function(e){T.add(e)})});var S={enter:function(e){var t;
1if(t=e.name.value,!T.has(t)||d(t).removed)return null}};return f=(0,a.Vn)(O,{FragmentSpread:S,FragmentDefinition:S,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=w(p(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.pi)((0,n.pi)({},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.h.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.$H)(f)||(0,s.pD)(f),(0,u.F)((0,s.kU)(f)))?f:null}var d=Object.assign(function(e){return(0,a.Vn)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.h.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,c.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,c.My)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.pi)((0,n.pi)({},e),{selections:(0,n.ev)((0,n.ev)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}});function v(e){return"query"===(0,s.p$)(e).operation?e:(0,a.Vn)(e,{OperationDefinition:{enter:function(e){return(0,n.pi)((0,n.pi)({},e),{operation:"query"})}}})}function y(e){return(0,s.A$)(e),p([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},49379:function(e,t,r){r.d(t,{i:function(){return n}});var n="3.9.5"},2379:function(e,t,r){function n(){}r.d(t,{e:function(){return i}});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},99869:function(e,t,r){function n(){}r.d(t,{k:function(){return s}});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},30020:function(e,t,r){r.d(t,{D:function(){return s}});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=c(t),o=c(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(f(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,l)}}return!1}(e,t)}finally{a.clear()}}function c(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}t.Z=s;let l="{ [native code] }";function f(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},75028:function(e,t,r){r.d(t,{B:function(){return s}});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);!i||(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},25821:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(45695);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function e(t,r){switch(i(t)){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":if(null===t)return"null";return function(t,r){if(-1!==r.indexOf(t))return"[Circular]";var i,o,a=[].concat(r,[t]),s="function"==typeof(i=t[String(n.Z)])?i:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==s){var c=s.call(t);if(c!==t)return"string"==typeof c?c:e(c,a)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";for(var n=Math.min(10,t.length),i=t.length-n,o=[],a=0;a<n;++a)o.push(e(t[a],r));return 1===i?o.push("... 1 more item"):i>1&&o.push("... ".concat(i," more items")),"["+o.join(", ")+"]"}(t,a);return 0===(o=Object.keys(t)).length?"{}":a.length>2?"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(t)+"]":"{ "+o.map(function(r){var n=e(t[r],a);return r+": "+n}).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}},45695:function(e,t){var r="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.Z=r},29749:function(e,t,r){r.d(t,{Ye:function(){return o},WU:function(){return a},UG:function(){return s}});var n=r(45695);function i(e){var t=e.prototype.toJSON;"function"==typeof t||function(e,t){throw Error("Unexpected invariant triggered.")}(0),e.prototype.inspect=t,n.Z&&(e.prototype[n.Z]=t)}var o=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();i(o);var a=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function s(e){return null!=e&&"string"==typeof e.kind}i(a)},87392:function(e,t,r){function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t,r=!0,n=!0,i=0,o=null,a=0;a<e.length;++a)switch(e.charCodeAt(a)){case 13:10===e.charCodeAt(a+1)&&++a;case 10:r=!1,n=!0,i=0;break;case 9:case 32:++i;break;default:n&&!r&&(null===o||i<o)&&(o=i),n=!1}return null!==(t=o)&&void 0!==t?t:0}(e);if(0!==r)for(var n=1;n<t.length;n++)t[n]=t[n].slice(r);for(var o=0;o<t.length&&i(t[o]);)++o;for(var a=t.length;a>o&&i(t[a-1]);)--a;return t.slice(o,a).join("\n")}function i(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&" "!==e[t])return!1;return!0}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||" "===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,c="";return s&&!(n&&i)&&(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}r.d(t,{LZ:function(){return o},W7:function(){return n}})},97359:function(e,t,r){r.d(t,{h:function(){return n}});
1var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},77304:function(e,t,r){r.d(t,{$_:function(){return a},Vn:function(){return s}});var n=r(25821),i=r(29749),o={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"]},a=Object.freeze({});function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,c=Array.isArray(e),u=[e],l=-1,f=[],h=void 0,p=void 0,d=void 0,v=[],y=[],m=e;do{var b,g=++l===u.length,k=g&&0!==f.length;if(g){if(p=0===y.length?void 0:v[v.length-1],h=d,d=y.pop(),k){if(c)h=h.slice();else{for(var E={},_=0,O=Object.keys(h);_<O.length;_++){var w=O[_];E[w]=h[w]}h=E}for(var T=0,S=0;S<f.length;S++){var D=f[S][0],I=f[S][1];c&&(D-=T),c&&null===I?(h.splice(D,1),T++):h[D]=I}}l=s.index,u=s.keys,f=s.edits,c=s.inArray,s=s.prev}else{if(p=d?c?l:u[l]:void 0,null==(h=d?d[p]:m))continue;d&&v.push(p)}var N=void 0;if(!Array.isArray(h)){if(!(0,i.UG)(h))throw Error("Invalid AST Node: ".concat((0,n.Z)(h),"."));var x=function(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var i=r?n.leave:n.enter;if("function"==typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}(t,h.kind,g);if(x){if((N=x.call(t,h,p,d,v,y))===a)break;if(!1===N){if(!g){v.pop();continue}}else if(void 0!==N&&(f.push([p,N]),!g)){if((0,i.UG)(N))h=N;else{v.pop();continue}}}}void 0===N&&k&&f.push([p,h]),g?v.pop():(s={inArray:c,index:l,keys:u,edits:f,prev:s},u=(c=Array.isArray(h))?h:null!==(b=r[h.kind])&&void 0!==b?b:[],l=-1,f=[],d&&y.push(d),d=h)}while(void 0!==s);return 0!==f.length&&(m=f[f.length-1][1]),m}},37340:function(e,t,r){r.d(t,{_:function(){return n}});function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},81223:function(e,t,r){let n;r.d(t,{g7:function(){return m},dP:function(){return q},re:function(){return B}});let i=()=>Object.create(null),{forEach:o,slice:a}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class c{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&&u(e[r])?t.weak:t.strong;t=n&&n.get(e[r])}return t&&t.data}getChildTrie(e){let t=this.weakness&&u(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),r=t.get(e);return r||t.set(e,r=new c(this.weakness,this.makeData)),r}}function u(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var l=r(2379);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,
1configurable:!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,k=new m,{hasOwnProperty:E}=Object.prototype,_=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 w=[];function T(e,t){if(!e)throw Error(t||"assertion failure")}function S(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function D(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&&!A(this))return N(this),this.value[0]}recompute(e){var t;return T(!this.recomputing,"already recomputing"),N(this),A(this)&&(j(this),k.withValue(this,x,[this,e]),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}(this,e)&&(this.dirty=!1,A(this)||(t=this,R(t,C)))),D(this.value)}setDirty(){this.dirty||(this.dirty=!0,R(this,F),O(this))}dispose(){this.setDirty(),j(this),R(this,(e,t)=>{e.setDirty(),M(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=w.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(_(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),w.push(this.deps),this.deps=null)}}function N(e){let t=k.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),A(e)?F(t,e):C(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&&!S(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 A(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function R(e,t){let r=e.parents.size;if(r){let n=_(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function F(e,t){T(e.childValues.has(t)),T(A(t));let r=!A(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=w.pop()||new Set;e.dirtyChildren.add(t),r&&R(e,F)}function C(e,t){T(e.childValues.has(t)),T(!A(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):S(r,t.value)||e.setDirty(),P(e,t),A(e)||R(e,C)}function P(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(w.length<100&&w.push(r),e.dirtyChildren=null))}function j(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{M(e,r)}),e.forgetDeps(),T(null===e.dirtyChildren)}function M(e,t){t.parents.delete(e),e.childValues.delete(t),P(e,t)}I.count=0;let L={setDirty:!0,dispose:!0,forget:!0};function q(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=k.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&&E.call(L,r)?r:"setDirty";_(n).forEach(e=>e[i]()),t.delete(e),O(n)}},n}function V(...e){return(n||(n=new c("function"==typeof WeakMap))).lookupArray(e)}let Q=new Set;function B(e,{max:t=65536,keyArgs:r,makeCacheKey:n=V,normalizeResult:i,subscribe:o,cache:a=l.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,c=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 c=a.recompute(Array.prototype.slice.call(arguments));
1return s.set(t,a),Q.add(s),k.hasValue()||(Q.forEach(e=>e.clean()),Q.clear()),c};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function f(e){let t=e&&s.get(e);if(t)return t.peek()}function h(e){return!!e&&s.delete(e)}return Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),c.dirtyKey=u,c.dirty=function(){u(n.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(n.apply(null,arguments))},c.forgetKey=h,c.forget=function(){return h(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}},48216:function(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,{y:function(){return _}});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},c=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var u=c("iterator"),l=c("observable"),f=c("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:_}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){if(e._cleanup=void 0,!t)return;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){e._queue.push({type:t,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],v(function(){return function(e){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);}}(e)});return}b(e,t,r)}}var k=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new E(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}(),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}(),_=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 k(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e){n(TypeError(e+" is not a function"));return}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 _&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,u)))return new r(function(e){v(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}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(_,Symbol("extensions"),{value:{symbol:l,hostReportError:d},configurable:!0})}}]);
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.