1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6239],{67389:function(e,t,r){"use strict";r.d(t,{Ps:function(){return B}});var n,i,o,a,s,u=r(50044);let c=/\r\n|[\n\r]/g;function l(e,t){let r=0,n=1;for(let i of e.body.matchAll(c)){if("number"==typeof i.index||function(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}(!1),i.index>=t)break;r=i.index+i[0].length,n+=1}return{line:n,column:t+1-r}}function f(e,t){let r=e.locationOffset.column-1,n="".padStart(r)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?r:0,u=t.column+s,c=`${e.name}:${a}:${u} 2`,l=n.split(/\r\n|[\n\r]/g),f=l[i];if(f.length>120){let e=Math.floor(u/80),t=[];for(let e=0;e<f.length;e+=80)t.push(f.slice(e,e+80));return c+h([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(u%80)],["|",t[e+1]]])}return c+h([[`${a-1} |`,l[i-1]],[`${a} |`,f],["|","^".padStart(u)],[`${a+1} |`,l[i+1]]])}function h(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}
2class p extends Error{constructor(e,...t){var r,n,i,o;let{nodes:a,source:s,positions:u,path:c,originalError:f,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=c?c:void 0,this.originalError=null!=f?f:void 0,this.nodes=d(Array.isArray(a)?a:a?[a]:void 0);let y=d(null===(r=this.nodes)||void 0===r?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=s?s:null==y?void 0:null===(n=y[0])||void 0===n?void 0:n.source,this.positions=null!=u?u:null==y?void 0:y.map(e=>e.start),this.locations=u&&s?u.map(e=>l(s,e)):null==y?void 0:y.map(e=>l(e.source,e.start));let v="object"==typeof(o=null==f?void 0:f.extensions)&&null!==o?null==f?void 0:f.extensions:void 0;this.extensions=null!==(i=null!=h?h:v)&&void 0!==i?i:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes){for(let r of this.nodes)if(r.loc){var t;e+="\n\n"+f((t=r.loc).source,l(t.source,t.start))}}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+f(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function d(e){return void 0===e||0===e.length?void 0:e}function y(e,t,r){return new p(`Syntax Error: ${r}`,{source:e,positions:[t]})}var v=r(5064);(n=a||(a={})).QUERY="QUERY",n.MUTATION="MUTATION",n.SUBSCRIPTION="SUBSCRIPTION",n.FIELD="FIELD",n.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",n.FRAGMENT_SPREAD="FRAGMENT_SPREAD",n.INLINE_FRAGMENT="INLINE_FRAGMENT",n.VARIABLE_DEFINITION="VARIABLE_DEFINITION",n.SCHEMA="SCHEMA",n.SCALAR="SCALAR",n.OBJECT="OBJECT",n.FIELD_DEFINITION="FIELD_DEFINITION",n.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",n.INTERFACE="INTERFACE",n.UNION="UNION",n.ENUM="ENUM",n.ENUM_VALUE="ENUM_VALUE",n.INPUT_OBJECT="INPUT_OBJECT",n.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION";var m=r(55459),g=r(37063),b=r(10185);(i=s||(s={})).SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment";class _{constructor(e){let t=new v.WU(s.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){this.lastToken=this.token;let e=this.token=this.lookahead();return e}lookahead(){let e=this.token;if(e.kind!==s.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,n=r.length,i=t;for(;i<n;){let t=r.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===r.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if(10===e||13===e)break;if(E(e))++i;else if(k(r,i))i+=2;else break}return T(e,s.COMMENT,t,i,r.slice(t+1,i))}(e,i);case 33:return T(e,s.BANG,i,i+1);case 36:return T(e,s.DOLLAR,i,i+1);case 38:return T(e,s.AMP,i,i+1);case 40:return T(e,s.PAREN_L,i,i+1);case 41:return T(e,s.PAREN_R,i,i+1);case 46:if(46===r.charCodeAt(i+1)&&46===r.charCodeAt(i+2))return T(e,s.SPREAD,i,i+3);break;case 58:return T(e,s.COLON,i,i+1);case 61:return T(e,s.EQUALS,i,i+1);case 64:return T(e,s.AT,i,i+1);case 91:return T(e,s.BRACKET_L,i,i+1);case 93:return T(e,s.BRACKET_R,i,i+1);case 123:return T(e,s.BRACE_L,i,i+1);case 124:return T(e,s.PIPE,i,i+1);case 125:return T(e,s.BRACE_R,i,i+1);case 34:if(34===r.charCodeAt(i+1)&&34===r.charCodeAt(i+2))return function(e,t){let r=e.source.body,n=r.length,i=e.lineStart,o=t+3,a=o,u="",c=[];for(;o<n;){let n=r.charCodeAt(o);if(34===n&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)){u+=r.slice(a,o),c.push(u);let n=T(e,s.BLOCK_STRING,t,o+3,(0,g.wv)(c).join("\n"));return e.line+=c.length-1,e.lineStart=i,n}if(92===n&&34===r.charCodeAt(o+1)&&34===r.charCodeAt(o+2)&&34===r.charCodeAt(o+3)){u+=r.slice(a,o),a=o+1,o+=4;continue}if(10===n||13===n){u+=r.slice(a,o),c.push(u),13===n&&10===r.charCodeAt(o+1)?o+=2:++o,u="",a=o,i=o;continue}if(E(n))++o;else if(k(r,o))o+=2;else throw y(e.source,o,`Invalid character within String: ${S(e,o)}.`)}throw y(e.source,o,"Unterminated string.")}(e,i);return function(e,t){let r=e.source.body,n=r.length,i=t+1,o=i,a="";for(;i<n;){let n=r.charCodeAt(i);if(34===n)return a+=r.slice(o,i),T(e,s.STRING,t,i+1,a);if(92===n){a+=r.slice(o,i);let t=117===r.charCodeAt(i+1)?123===r.charCodeAt(i+2)?function(e,t){let r=e.source.body,n=0,i=3;for(;i<12;){let e=r.charCodeAt(t+i++);if(125===e){if(i<5||!E(n))break;return{value:String.fromCodePoint(n),size:i}}if((n=n<<4|x(e))<0)break}throw y(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+i)}".`)}(e,i):function(e,t){let r=e.source.body,n=D(r,t+2);if(E(n))return{value:String.fromCodePoint(n),size:6};if(w(n)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=D(r,t+8);
2if(O(e))return{value:String.fromCodePoint(n,e),size:12}}throw y(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,i):function(e,t){let r=e.source.body,n=r.charCodeAt(t+1);switch(n){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw y(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,i);a+=t.value,i+=t.size,o=i;continue}if(10===n||13===n)break;if(E(n))++i;else if(k(r,i))i+=2;else throw y(e.source,i,`Invalid character within String: ${S(e,i)}.`)}throw y(e.source,i,"Unterminated string.")}(e,i)}if((0,b.X1)(t)||45===t)return function(e,t,r){let n=e.source.body,i=t,o=r,a=!1;if(45===o&&(o=n.charCodeAt(++i)),48===o){if(o=n.charCodeAt(++i),(0,b.X1)(o))throw y(e.source,i,`Invalid number, unexpected digit after 0: ${S(e,i)}.`)}else i=I(e,i,o),o=n.charCodeAt(i);if(46===o&&(a=!0,o=n.charCodeAt(++i),i=I(e,i,o),o=n.charCodeAt(i)),(69===o||101===o)&&(a=!0,(43===(o=n.charCodeAt(++i))||45===o)&&(o=n.charCodeAt(++i)),i=I(e,i,o),o=n.charCodeAt(i)),46===o||(0,b.LQ)(o))throw y(e.source,i,`Invalid number, expected digit but got: ${S(e,i)}.`);return T(e,a?s.FLOAT:s.INT,t,i,n.slice(t,i))}(e,i,t);if((0,b.LQ)(t))return function(e,t){let r=e.source.body,n=r.length,i=t+1;for(;i<n;){let e=r.charCodeAt(i);if((0,b.HQ)(e))++i;else break}return T(e,s.NAME,t,i,r.slice(t,i))}(e,i);throw y(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":E(t)||k(r,i)?`Unexpected character: ${S(e,i)}.`:`Invalid character: ${S(e,i)}.`)}return T(e,s.EOF,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.COMMENT);return e}}function E(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function k(e,t){return w(e.charCodeAt(t))&&O(e.charCodeAt(t+1))}function w(e){return e>=55296&&e<=56319}function O(e){return e>=56320&&e<=57343}function S(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return s.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function T(e,t,r,n,i){let o=e.line,a=1+r-e.lineStart;return new v.WU(t,r,n,o,a,i)}function I(e,t,r){if(!(0,b.X1)(r))throw y(e.source,t,`Invalid number, expected digit but got: ${S(e,t)}.`);let n=e.source.body,i=t+1;for(;(0,b.X1)(n.charCodeAt(i));)++i;return i}function D(e,t){return x(e.charCodeAt(t))<<12|x(e.charCodeAt(t+1))<<8|x(e.charCodeAt(t+2))<<4|x(e.charCodeAt(t+3))}function x(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var N=r(86771),A=r(94775);let R=globalThis.process&&!0,C=R?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let n=t.prototype[Symbol.toStringTag],i=Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(r=e.constructor)||void 0===r?void 0:r.name;if(n===i){let t=(0,A.X)(e);throw Error(`Cannot use ${n} "${t}" from another module or realm. 3 4Ensure that there is only one instance of "graphql" in the node_modules 5directory. If different versions of "graphql" are the dependencies of other 6relied on modules, use "resolutions" to ensure only one version is installed. 7 8https://yarnpkg.com/en/docs/selective-version-resolutions 9 10Duplicate "graphql" modules cannot be used at the same time since different 11versions may have different capabilities and behavior. The data from one 12version used in the function from another could produce confusing and 13spurious results.`)}}return!1};class F{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,N.a)(!1,`Body must be a string. Received: ${(0,A.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,N.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,N.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class P{constructor(e,t={}){let r=C(e,F)?e:new F(e);this._lexer=new _(r),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(s.NAME);return this.node(e,{kind:m.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:m.h.DOCUMENT,definitions:this.many(s.SOF,this.parseDefinition,s.EOF)})}parseDefinition(){if(this.peek(s.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===s.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw y(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(s.BRACE_L))return this.node(t,{kind:m.h.OPERATION_DEFINITION,operation:v.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseOperationType();return this.peek(s.NAME)&&(e=this.parseName()),this.node(t,{kind:m.h.OPERATION_DEFINITION,operation:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(s.NAME);switch(e.value){case"query":return v.ku.QUERY;case"mutation":return v.ku.MUTATION;case"subscription":return v.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(s.PAREN_L,this.parseVariableDefinition,s.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:m.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(s.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(s.DOLLAR),this.node(e,{kind:m.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:m.h.SELECTION_SET,selections:this.many(s.BRACE_L,this.parseSelection,s.BRACE_R)})}parseSelection(){return this.peek(s.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(s.COLON)?(e=n,t=this.parseName()):t=n,this.node(r,{kind:m.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(s.PAREN_L,t,s.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.h.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(s.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(s.NAME)?this.node(e,{kind:m.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:m.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:m.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:m.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case s.BRACKET_L:return this.parseList(e);case s.BRACE_L:return this.parseObject(e);case s.INT:return this.advanceLexer(),this.node(t,{kind:m.h.INT,value:t.value});case s.FLOAT:return this.advanceLexer(),this.node(t,{kind:m.h.FLOAT,value:t.value});case s.STRING:case s.BLOCK_STRING:return this.parseStringLiteral();case s.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:m.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:m.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:m.h.NULL});default:return this.node(t,{kind:m.h.ENUM,value:t.value})}case s.DOLLAR:if(e){if(this.expectToken(s.DOLLAR),this._lexer.token.kind===s.NAME){let e=this._lexer.token.value;throw y(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:m.h.STRING,value:e.value,block:e.kind===s.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:m.h.LIST,values:this.any(s.BRACKET_L,()=>this.parseValueLiteral(e),s.BRACKET_R)})}
13parseObject(e){return this.node(this._lexer.token,{kind:m.h.OBJECT,fields:this.any(s.BRACE_L,()=>this.parseObjectField(e),s.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(s.COLON),this.node(t,{kind:m.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(s.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(s.AT),this.node(t,{kind:m.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(s.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(s.BRACKET_R),e=this.node(t,{kind:m.h.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(s.BANG)?this.node(t,{kind:m.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:m.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(s.STRING)||this.peek(s.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),n=this.many(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);return this.node(e,{kind:m.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(s.COLON);let r=this.parseNamedType();return this.node(e,{kind:m.h.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:m.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:m.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(s.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseFieldDefinition,s.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(s.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:m.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(s.PAREN_L,this.parseInputValueDef,s.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,r=this.parseDescription(),n=this.parseName();this.expectToken(s.COLON);let i=this.parseTypeReference();this.expectOptionalToken(s.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:m.h.INPUT_VALUE_DEFINITION,description:r,name:n,type:i,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:m.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:m.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(s.EQUALS)?this.delimitedMany(s.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:m.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:i})}parseEnumValuesDefinition(){return this.optionalMany(s.BRACE_L,this.parseEnumValueDefinition,s.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:m.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw y(this._lexer.source,this._lexer.token.start,`${j(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:m.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(s.BRACE_L,this.parseInputValueDef,s.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===s.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(s.BRACE_L,this.parseOperationTypeDefinition,s.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:m.h.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:m.h.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();
13return this.node(e,{kind:m.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:m.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:m.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.AT);let r=this.parseName(),n=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:m.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(s.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new v.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw y(this._lexer.source,t.start,`Expected ${M(e)}, found ${j(t)}.`)}expectOptionalToken(e){let t=this._lexer.token;return t.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===s.NAME&&t.value===e)this.advanceLexer();else throw y(this._lexer.source,t.start,`Expected "${e}", found ${j(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===s.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return y(this._lexer.source,t.start,`Unexpected ${j(t)}.`)}any(e,t,r){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(r);)n.push(t.call(this));return n}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(r));return n}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==s.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw y(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function j(e){let t=e.value;return M(e.kind)+(null!=t?` "${t}"`:"")}function M(e){return e===s.BANG||e===s.DOLLAR||e===s.AMP||e===s.PAREN_L||e===s.PAREN_R||e===s.SPREAD||e===s.COLON||e===s.EQUALS||e===s.AT||e===s.BRACKET_L||e===s.BRACKET_R||e===s.BRACE_L||e===s.PIPE||e===s.BRACE_R?`"${e}"`:e}var L=new Map,q=new Map,Q=!0,V=!1;function U(e){return e.replace(/[\s,]+/g," ").trim()}function B(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=U(e);if(!L.has(t)){var r,n,i,o,a,s=function(e,t){let r=new P(e,t);return r.parseDocument()}(e,{experimentalFragmentVariables:V,allowLegacyFragmentVariables:V});if(!s||"Document"!==s.kind)throw Error("Not a valid GraphQL document.");L.set(t,(r=new Set,n=[],s.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,o=U((t=e.loc).source.body.substring(t.start,t.end)),a=q.get(i);a&&!a.has(o)?Q&&console.warn("Warning: fragment with name "+i+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||q.set(i,a=new Set),a.add(o),r.has(o)||
13(r.add(o),n.push(e))}else n.push(e)}),i=(0,u.__assign)((0,u.__assign)({},s),{definitions:n}),(o=new Set(i.definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&o.add(r)})}),(a=i.loc)&&(delete a.startToken,delete a.endToken),i))}return L.get(t)}(n)}var z={gql:B,resetCaches:function(){L.clear(),q.clear()},disableFragmentWarnings:function(){Q=!1},enableExperimentalFragmentVariables:function(){V=!0},disableExperimentalFragmentVariables:function(){V=!1}};(o=B||(B={})).gql=z.gql,o.resetCaches=z.resetCaches,o.disableFragmentWarnings=z.disableFragmentWarnings,o.enableExperimentalFragmentVariables=z.enableExperimentalFragmentVariables,o.disableExperimentalFragmentVariables=z.disableExperimentalFragmentVariables,B.default=B},40863:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return n},isEqualNode:function(){return o},default:function(){return a}});let n={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function i(e){let{type:t,props:r}=e,i=document.createElement(t);for(let e in r){if(!r.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===r[e])continue;let o=n[e]||e.toLowerCase();"script"===t&&("async"===o||"defer"===o||"noModule"===o)?i[o]=!!r[e]:i.setAttribute(o,r[e])}let{children:o,dangerouslySetInnerHTML:a}=r;return a?i.innerHTML=a.__html||"":o&&(i.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):""),i}function o(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function a(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let n=t.title?t.title[0]:null,i="";if(n){let{children:e}=n.props;i="string"==typeof e?e:Array.isArray(e)?e.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>{let r=document.getElementsByTagName("head")[0],n=r.querySelector("meta[name=next-head-count]"),a=Number(n.content),s=[];for(let t=0,r=n.previousElementSibling;t<a;t++,r=(null==r?void 0:r.previousElementSibling)||null){var u;(null==r?void 0:null==(u=r.tagName)?void 0:u.toLowerCase())===e&&s.push(r)}let c=t.map(i).filter(e=>{for(let t=0,r=s.length;t<r;t++){let r=s[t];if(o(r,e))return s.splice(t,1),!1}return!0});s.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),c.forEach(e=>r.insertBefore(e,n)),n.content=(a-s.length+c.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73994:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{handleClientScriptLoad:function(){return y},initScriptLoader:function(){return v},default:function(){return g}});let n=r(70817),i=r(37401),o=n._(r(54887)),a=i._(r(2265)),s=r(61852),u=r(40863),c=r(62389),l=new Map,f=new Set,h=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=e=>{if(o.default.preinit){e.forEach(e=>{o.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},d=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:a="",strategy:s="afterInteractive",onError:c,stylesheets:d}=e,y=r||t;if(y&&f.has(y))return;if(l.has(t)){f.add(y),l.get(t).then(n,c);return}let v=()=>{i&&i(),f.add(y)},m=document.createElement("script"),g=new Promise((e,t)=>
13{m.addEventListener("load",function(t){e(),n&&n.call(this,t),v()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});for(let[r,n]of(o?(m.innerHTML=o.__html||"",v()):a?(m.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",v()):t&&(m.src=t,l.set(t,g)),Object.entries(e))){if(void 0===n||h.includes(r))continue;let e=u.DOMAttributeNames[r]||r.toLowerCase();m.setAttribute(e,n)}"worker"===s&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",s),d&&p(d),document.body.appendChild(m)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>d(e))}):d(e)}function v(e){e.forEach(y),function(){let e=[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')];e.forEach(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}()}function m(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:u="afterInteractive",onError:l,stylesheets:h,...p}=e,{updateScripts:y,scripts:v,getIsSsr:m,appDir:g,nonce:b}=(0,a.useContext)(s.HeadManagerContext),_=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||r;_.current||(i&&e&&f.has(e)&&i(),_.current=!0)},[i,t,r]);let E=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{!E.current&&("afterInteractive"===u?d(e):"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>d(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>d(e))})),E.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(y?(v[u]=(v[u]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:l,...p}]),y(v)):m&&m()?f.add(t||r):m&&!m()&&d(e)),g){if(h&&h.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)return r?(o.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"}),a.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r])+")"}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),a.default.createElement("script",{nonce:b,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p}])+")"}}));"afterInteractive"===u&&r&&o.default.preload(r,p.integrity?{as:"script",integrity:p.integrity}:{as:"script"})}return null}Object.defineProperty(m,"__nextScript",{value:!0});let g=m;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9398:function(){},71419:function(e){e.exports={style:{fontFamily:"'__sofia_0001a1', '__sofia_Fallback_0001a1'"},className:"__className_0001a1",variable:"__variable_0001a1"}},24033:function(e,t,r){e.exports=r(50094)},47138:function(e,t,r){let n=r(47527),i=(...e)=>{if(!window.hj)throw Error("Hotjar is not initialized");window.hj(...e)};e.exports={hotjar:{initialize:function({id:e,sv:t,debug:r,nonce:i}){n({id:e,sv:t,debug:r,nonce:i})},initialized:function(){return"undefined"!=typeof window&&"function"==typeof window?.hj},identify:function(e,t){i("identify",e,t)},event:function(e){i("event",e)},stateChange:function(e){i("stateChange",e)}}}},47527:function(e){e.exports=function({id:e,sv:t,debug:r=!1,nonce:n=null}){var i,o,a,s;i=window,o=document,i.hj=i.hj||function(){(i.hj.q=i.hj.q||[]).push(arguments)},i._hjSettings={hjid:e,hjsv:t,hjDebug:r},i._scriptPath="https://static.hotjar.com/c/hotjar-"+i._hjSettings.hjid+".js?sv="+i._hjSettings.hjsv,document.querySelector('script[src*="'+i._scriptPath+'"]')||(a=o.getElementsByTagName("head")[0],s=o.createElement("script"),n&&s.setAttribute("nonce",n),s.async=1,s.src=i._scriptPath,a.appendChild(s))}},87637:function(e,t,r){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(2265))},12274:function(e,t,r){"use strict";var n,i;function o(e){return!!e&&e<7}r.d(t,{Ie:function(){return n},Oj:function(){return o}}),(i=n||(n={}))[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error"},17205:function(e,t,r){"use strict";r.d(t,{MS:function(){return s},YG:function(){return o},cA:function(){return c},ls:function(){return a}});var n=r(50044);r(52832);var i=r(88550),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,n.__spreadArray)((0,n.__spreadArray)((0,n.__spreadArray)([],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")},c=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,c=r.errorMessage,l=r.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=c||u(f),f.extraInfo=l,f.cause=(0,n.__spreadArray)((0,n.__spreadArray)((0,n.__spreadArray)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,n.__extends)(t,e),t}(Error)},38128:function(e,t,r){"use strict";r.d(t,{i:function(){return l}});var n=r(52832),i=r(38681),o=r(50044),a=r(11739);function s(e,t){return t?t(e):i.y.of()}function u(e){return"function"==typeof e?new l(e):e}function c(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=u(r),a=u(n||new e(s));return Object.assign(new e(c(o)&&c(a)?function(e){return t(e)?o.request(e)||i.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,u,c;return e.request((u=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>t.indexOf(o))throw(0,n._K)(46,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:""),c=(0,o.__assign)({},u),Object.defineProperty(s,"setContext",{enumerable:!1,value:function(e){c="function"==typeof e?(0,o.__assign)((0,o.__assign)({},c),e(c)):(0,o.__assign)((0,o.__assign)({},c),e)}}),Object.defineProperty(s,"getContext",{enumerable:!1,value:function(){return(0,o.__assign)({},c)}}),s))||i.y.of()},e.concat=function(t,r){var o=u(t);if(c(o))return!1!==globalThis.__DEV__&&n.kG.warn(38,o),o;var a=u(r);return Object.assign(new e(c(a)?function(e){return o.request(e,function(e){return a.request(e)||i.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)(39)},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}()},54031:function(e,t,r){"use strict";r.d(t,{u:function(){return T}});
13var n=r(50044),i=r(38128),o=r(52832),a=r(85812),s=r(38681),u=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,o._K)(42,t,e.message);throw n.parseError=e,n}return r},c=r(38191);function l(e){var t={next:function(){return e.read()}};return c.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(17205),p=r(78829),d=Object.prototype.hasOwnProperty;function y(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 v=function(e){if(!e&&"undefined"==typeof fetch)throw(0,o._K)(40)},m=r(34657),g={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},b=function(e,t){return t(e)};function _(e){return new s.y(function(t){t.error(e)})}var E=r(34829),k=r(90535),w=r(11739),O=(0,o.wY)(function(){return fetch}),S=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,S=e.fetch,T=e.print,I=void 0===T?b:T,D=e.includeExtensions,x=e.preserveHeaderCase,N=e.useGETForQueries,A=e.includeUnusedVariables,R=void 0!==A&&A,C=(0,n.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&v(S||O);var F={http:{includeExtensions:D,preserveHeaderCase:x},options:C.fetchOptions,credentials:C.credentials,headers:C.headers};return new i.i(function(e){var t,i,v,b,T,D,x,A,C=(t=e,i=r,t.getContext().uri||("function"==typeof i?i(t):i||"/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 Q=(0,n.__assign)((0,n.__assign)({},j),P.headers),V={http:P.http,options:P.fetchOptions,credentials:P.credentials,headers:Q};if((0,a.FS)(["client"],e.query)){var U=(0,k.ob)(e.query);if(!U)return _(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=U}var B=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.__assign)((0,n.__assign)((0,n.__assign)({},o),e.options),{headers:(0,n.__assign)((0,n.__assign)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.__assign)((0,n.__assign)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r={};
13return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(l,m.S)),{options:o,body:f}}(e,I,g,F,V),z=B.options,G=B.body;G.variables&&!R&&(G.variables=(v=G.variables,b=e.query,T=(0,n.__assign)({},v),D=new Set(Object.keys(v)),(0,E.Vn)(b,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&D.delete(e.name.value)}}),D.forEach(function(e){delete T[e]}),T)),z.signal||"undefined"==typeof AbortController||(A=new AbortController,z.signal=A.signal);var K="OperationDefinition"===(x=(0,w.p$)(e.query)).kind&&"subscription"===x.operation,W=(0,a.FS)(["defer"],e.query);if(N&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(z.method="GET"),W||K){z.headers=z.headers||{};var Y="multipart/mixed;";K&&W&&!1!==globalThis.__DEV__&&o.kG.warn(41),K?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":W&&(Y+="deferSpec=20220824,application/json"),z.headers.accept=Y}if("GET"===z.method){var $=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=u(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+r.join("&")+a}}(C,G),J=$.newURI,H=$.parseError;if(H)return _(H);C=J}else try{z.body=u(G,"Payload")}catch(e){return _(e)}return new s.y(function(t){var r=S||(0,o.wY)(function(){return fetch})||O,i=t.next.bind(t);return r(C,z).then(function(t){e.setContext({response:t});var r,o=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,n.__awaiter)(this,void 0,void 0,function(){var r,i,o,a,s,u,f,d,v,m,g,b,_,E,k,w,O,S,T,I,D,x,N;return(0,n.__generator)(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.");r=new TextDecoder("utf-8"),i=null===(N=e.headers)||void 0===N?void 0:N.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",f=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,c.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)}))}},c.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 u(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var 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 c.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),d=!0,A.label=1;case 1:if(!d)return[3,3];return[4,f.next()];case 2:for(m=(v=A.sent()).value,g=v.done,b="string"==typeof m?m:r.decode(m),_=u.length-s.length+1,d=!g,u+=b,E=u.indexOf(s,_);E>-1;){if(k=void 0,k=(D=[u.slice(0,E),u.slice(E+s.length)])[0],u=D[1],w=k.indexOf("\r\n\r\n"),(O=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}(k.slice(0,w))["content-type"])&&-1===O.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
13if(S=k.slice(w)){if(Object.keys(T=y(e,S)).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T){if((0,p.yU)(T)){if(I={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];I=(0,n.__assign)({},T.payload)}"errors"in T&&(I=(0,n.__assign)((0,n.__assign)({},I),{extensions:(0,n.__assign)((0,n.__assign)({},"extensions"in I?I.extensions:null),((x={})[h.YG]=T.errors,x))})),t(I)}else t(T)}else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2]}E=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):t.text().then(function(e){return y(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(i)}).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()}})})},T=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,S(t).request)||this;return r.options=t,r}return(0,n.__extends)(t,e),t}(i.i)},54312:function(e,t,r){"use strict";r.d(t,{K:function(){return u}});var n,i=r(87637),o=r(38191),a=r(52832),s=o.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.kG)("createContext"in(n||(n=r.t(i,2))),54);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},86342:function(e,t,r){"use strict";r.d(t,{aM:function(){return N}});var DocumentType,DocumentType,n,i=r(50044),o=r(52832),a=r(87637),s=r.t(a,2),u=r(38191),c=!1,l=s.useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||c||n===t()||(c=!0,!1!==globalThis.__DEV__&&o.kG.error(68));var i=a.useState({inst:{value:n,getSnapshot:t}}),s=i[0].inst,l=i[1];return u.JC?a.useLayoutEffect(function(){Object.assign(s,{value:n,getSnapshot:t}),f(s)&&l({inst:s})},[e,n,t]):Object.assign(s,{value:n,getSnapshot:t}),a.useEffect(function(){return f(s)&&l({inst:s}),e(function(){f(s)&&l({inst:s})})},[e]),n};function f(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}var h=r(36510),p=r(17466),d=r(54312),y=r(17205),v=r(12274),m=r(50040),g=r(94079),b=r(89660);function _(e){var t;switch(e){case DocumentType.Query:t="Query";break;case DocumentType.Mutation:t="Mutation";break;case DocumentType.Subscription:t="Subscription"}return t}function E(e){n||(n=new m.s(g.Q.parser||1e3));var t,r,i=n.get(e);if(i)return i;(0,o.kG)(!!e&&!!e.kind,70,e);for(var a=[],s=[],u=[],c=[],l=0,f=e.definitions;l<f.length;l++){var h=f[l];if("FragmentDefinition"===h.kind){a.push(h);continue}if("OperationDefinition"===h.kind)switch(h.operation){case"query":s.push(h);break;case"mutation":u.push(h);break;case"subscription":c.push(h)}}(0,o.kG)(!a.length||s.length||u.length||c.length,71),(0,o.kG)(s.length+u.length+c.length<=1,72,e,s.length,c.length,u.length),r=s.length?DocumentType.Query:DocumentType.Mutation,s.length||u.length||(r=DocumentType.Subscription);var p=s.length?s:u.length?u:c;(0,o.kG)(1===p.length,73,e,p.length);var d=p[0];t=d.variableDefinitions||[];var y={name:d.name&&"Name"===d.name.kind?d.name.value:"data",type:r,variables:t};return n.set(e,y),y}function k(e){var t=a.useContext((0,d.K)()),r=e||t.client;return(0,o.kG)(!!r,58),r}(DocumentType=DocumentType||(DocumentType={}))[DocumentType.Query=0]="Query",DocumentType[DocumentType.Mutation=1]="Mutation",DocumentType[DocumentType.Subscription=2]="Subscription",E.resetCache=function(){n=void 0},!1!==globalThis.__DEV__&&(0,b.zP)("parser",function(){return n?n.size:0});var w=r(18865),O=r(72619),S=r(68859),T=Symbol.for("apollo.hook.wrappers"),I=Object.prototype.hasOwnProperty;function D(){}var x=Symbol();function N(e,t){var r,n,i,o;return void 0===t&&(t=Object.create(null)),(r=A,(o=(i=(n=k(t&&t.client).queryManager)&&n[T])&&i.useQuery)?o(r):r)(e,t)}function A(e,t){var r,n,s,u,c,f,p,y,m,g,b,w,O,S,T,N,A,q,Q,V,U,B,z,G,K=(c=k(t.client),p=!!(f=a.useContext((0,d.K)()).renderPromises),y=c.disableNetworkFetches,m=!1!==t.ssr&&!t.skip,g=t.partialRefetch,void 0===(r=t)&&(r={}),n=r.skip,r.ssr,r.onCompleted,r.onError,s=r.defaultOptions,u=(0,i.__rest)(r,["skip","ssr","onCompleted","onError","defaultOptions"]),b=function(t){var r=Object.assign(u,{query:e});return p&&("network-only"===r.fetchPolicy||"cache-and-network"===r.fetchPolicy)&&(r.fetchPolicy="cache-first"),r.variables||(r.variables={}),n?(r.initialFetchPolicy=r.initialFetchPolicy||r.fetchPolicy||P(s,c.defaultOptions),r.fetchPolicy="standby"):r.fetchPolicy||(r.fetchPolicy=(null==t?void 0:t.options.initialFetchPolicy)||P(s,c.defaultOptions)),r},S=(O=(w=function(e,t,r,n,s){function u(i){var a,u,c,l,f;return a=DocumentType.Query,u=E(t),c=_(a),l=_(u.type),(0,o.kG)(u.type===a,74,c,c,l),{client:e,query:t,observable:n&&n.getSSRObservable(s())||e.watchQuery(R(void 0,e,r,s())),resultData:{previousData:null===(f=null==i?void 0:i.resultData.current)||void 0===f?void 0:f.data}}}
13var c=a.useState(u),l=c[0],f=c[1];function h(e){Object.assign(l.observable,((t={})[x]=e,t));var t,r,n=l.resultData;f((0,i.__assign)((0,i.__assign)({},l),{query:e.query,resultData:Object.assign(n,{previousData:(null===(r=n.current)||void 0===r?void 0:r.data)||n.previousData,current:void 0})}))}if(e!==l.client||t!==l.query){var p=u(l);return f(p),[p,h]}return[l,h]}(c,e,t,f,b))[0]).observable,T=O.resultData,N=w[1],A=b(S),S[x]&&!(0,h.D)(S[x],A)&&(S.reobserve(R(S,c,t,A)),T.previousData=(null===(q=T.current)||void 0===q?void 0:q.data)||T.previousData,T.current=void 0),S[x]=A,Q=a.useMemo(function(){return{refetch:S.refetch.bind(S),reobserve:S.reobserve.bind(S),fetchMore:S.fetchMore.bind(S),updateQuery:S.updateQuery.bind(S),startPolling:S.startPolling.bind(S),stopPolling:S.stopPolling.bind(S),subscribeToMore:S.subscribeToMore.bind(S)}},[S]),f&&m&&(f.registerSSRObservable(S),S.getCurrentResult().loading&&f.addObservableQueryPromise(S)),{result:(V={onCompleted:t.onCompleted||D,onError:t.onError||D},U=a.useRef(V),a.useEffect(function(){U.current=V}),B=(p||y)&&!1===t.ssr&&!t.skip?M:t.skip||"standby"===A.fetchPolicy?L:void 0,z=T.previousData,G=a.useMemo(function(){return B&&j(B,z,S,c)},[c,S,B,z]),l(a.useCallback(function(e){if(p)return function(){};var t=function(){var t=T.current,r=S.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,h.D)(t.data,r.data)||C(r,T,S,c,g,e,U.current)},r=function(i){if(n.current.unsubscribe(),n.current=S.resubscribeAfterError(t,r),!I.call(i,"graphQLErrors"))throw i;var o=T.current;(!o||o&&o.loading||!(0,h.D)(i,o.error))&&C({data:o&&o.data,error:i,loading:!1,networkStatus:v.Ie.error},T,S,c,g,e,U.current)},n={current:S.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[y,p,S,T,g,c]),function(){return G||F(T,S,U.current,g,c)},function(){return G||F(T,S,U.current,g,c)})),obsQueryFields:Q,observable:S,resultData:T,client:c,onQueryExecuted:N}),W=K.result,Y=K.obsQueryFields;return a.useMemo(function(){return(0,i.__assign)((0,i.__assign)({},W),Y)},[W,Y])}function R(e,t,r,n){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,w.o)(e&&e.options,n)),i.reduce(p.J)}function C(e,t,r,n,a,s,u){var c=t.current;c&&c.data&&(t.previousData=c.data),!e.error&&(0,O.O)(e.errors)&&(e.error=new y.cA({graphQLErrors:e.errors})),t.current=j(e.partial&&a&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==r.options.fetchPolicy?(r.refetch(),(0,i.__assign)((0,i.__assign)({},e),{loading:!0,networkStatus:v.Ie.refetch})):e,t.previousData,r,n),s(),function(e,t,r){if(!e.loading){var n=(0,O.O)(e.errors)?new y.cA({graphQLErrors:e.errors}):e.error;Promise.resolve().then(function(){n?r.onError(n):e.data&&t!==e.networkStatus&&e.networkStatus===v.Ie.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&o.kG.warn(e)})}}(e,null==c?void 0:c.networkStatus,u)}function F(e,t,r,n,i){return e.current||C(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function P(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null===(r=null==t?void 0:t.watchQuery)||void 0===r?void 0:r.fetchPolicy)||"cache-first"}function j(e,t,r,n){var o=e.data,a=(e.partial,(0,i.__rest)(e,["data","partial"]));return(0,i.__assign)((0,i.__assign)({data:o},a),{client:n,observable:r,variables:r.variables,called:e!==M&&e!==L,previousData:t})}var M=(0,S.J)({loading:!0,data:void 0,error:void 0,networkStatus:v.Ie.loading}),L=(0,S.J)({loading:!1,data:void 0,error:void 0,networkStatus:v.Ie.ready})},50040:function(e,t,r){"use strict";r.d(t,{L:function(){return u},s:function(){return s}});var n=r(72074),i=r(64565),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(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){var r=n.k.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new i.e(e,t);return r.set=function(e,t){var r=i.e.prototype.set.call(this,e,t);return a(this),r},r}},89660:function(e,t,r){"use strict";r.d(t,{Kb:function(){return c},q4:function(){return u},su:function(){return s},zP:function(){return a}});var n=r(50044),i=r(94079),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.__assign)({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.__spreadArray)((0,n.__spreadArray)([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,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.__assign)((0,n.__assign)({},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,c=!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.__spreadArray)((0,n.__spreadArray)([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}})}},94079:function(e,t,r){"use strict";r.d(t,{Q:function(){return a}});var n=r(50044),i=r(52832),o=Symbol.for("apollo.cacheSize"),a=(0,n.__assign)({},i.CO[o])},72619:function(e,t,r){"use strict";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}},38191:function(e,t,r){"use strict";r.d(t,{DN:function(){return u},JC:function(){return f},aS:function(){return s},mr:function(){return o},sy:function(){return a}});var n=r(52832),i="ReactNative"==(0,n.wY)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"==typeof(0,n.wY)(function(){return window.document.createElement}),l=(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},97440:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});var n,i=r(50040),o=r(94079),a=r(89660),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){n=new i.L(o.Q.canonicalStringify||1e3)}});function u(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(c))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 u=Object.create(r);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return n.size}),s.reset()},18865:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:function(){return n}})},78829:function(e,t,r){"use strict";r.d(t,{GG:function(){return a},M0:function(){return s},mT:function(){return c},yU:function(){return u}});var n=r(88550),i=r(72619),o=r(93592);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function u(e){return(0,n.s)(e)&&"payload"in e}function c(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}
13r=n.merge(r,t)}),r}},18333:function(e,t,r){"use strict";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))}},68859:function(e,t,r){"use strict";r.d(t,{J:function(){return i}});var n=r(88550);function i(e){if(!1!==globalThis.__DEV__){var t;(t=new Set([e])).forEach(function(e){(0,n.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,n.s)(e[r])&&t.add(e[r])})})}return e}},93592:function(e,t,r){"use strict";r.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return c}});var n=r(50044),i=r(88550),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new c,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.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 u=r.reconciler.apply(r,(0,n.__spreadArray)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},17466:function(e,t,r){"use strict";r.d(t,{J:function(){return o}});var n=r(50044),i=r(18865);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.__assign)((0,n.__assign)({},e&&e.variables),t.variables))})}},88550:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{s:function(){return n}})},91286:function(e,t,r){"use strict";r.d(t,{v:function(){return i}});var n=r(18333);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>")}},52832:function(e,t,r){"use strict";r.d(t,{CO:function(){return a},kG:function(){return c},wY:function(){return o},_K:function(){return l}});var n=r(58388),i=r(88776);function o(e){try{return e()}catch(e){}}var a=o(function(){return globalThis})||o(function(){return window})||o(function(){return self})||o(function(){return global})||o(function(){return o.constructor("return this")()}),s=r(91286);function u(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=p(i))||(t=d(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var c=Object.assign(function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e||(0,n.kG)(e,p(t,r)||d(t,r))},{debug:u(n.kG.debug),log:u(n.kG.log),warn:u(n.kG.warn),error:u(n.kG.error)});function l(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new n.ej(p(e,t)||d(e,t))}var f=Symbol.for("ApolloErrorMessageHandler_"+i.i);function h(e){if("string"==typeof e)return e;try{return(0,s.v)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function p(e,t){if(void 0===t&&(t=[]),e)return a[f]&&a[f](e,t.map(h))}function d(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.i,message:e,args:t.map(h)})))}},85812:function(e,t,r){"use strict";r.d(t,{FS:function(){return s},GT:function(){return c},LZ:function(){return a},mj:function(){return u}});var n=r(52832),i=r(34829),o=r(55459);function a(e,t){var r,i=e.directives;return!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,79,o);var a=i[0];(0,n.kG)(a.name&&"if"===a.name.value,80,o);var s=a.value;(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,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,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(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 u(e){return e&&s(["client","export"],e,!0)}function c(e){var t,r,i=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null===(r=i.arguments)||void 0===r?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.h.VARIABLE?!1!==globalThis.__DEV__&&n.kG.warn(82):a.value.kind!==o.h.STRING?!1!==globalThis.__DEV__&&n.kG.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.kG.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},86275:function(e,t,r){"use strict";r.d(t,{F:function(){return s},YU:function(){return c},Yk:function(){return a},hi:function(){return u}});var n=r(50044),i=r(52832),o=r(34829);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.kG)(1===o.length,86,o.length),r=o[0].name.value),(0,n.__assign)((0,n.__assign)({},e),{definitions:(0,n.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;
13case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.kG)(n,87,r),n||null;default:return null}}function c(e){var t=!0;return(0,o.Vn)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.$_}}),t}},11739:function(e,t,r){"use strict";r.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return h},iW:function(){return c},kU:function(){return u},p$:function(){return f},pD:function(){return l},rY:function(){return s}});var n=r(52832),i=r(44339);function o(e){(0,n.kG)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n._K)(89,e.kind);return e});return(0,n.kG)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,n.kG)(t&&"query"===t.operation,91),t}function l(e){(0,n.kG)("Document"===e.kind,92),(0,n.kG)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.kG)("FragmentDefinition"===t.kind,94),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)(95)}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}},34657:function(e,t,r){"use strict";r.d(t,{S:function(){return g}});var n,i=r(37063);let o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return s[e.charCodeAt(0)]}let s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var u=r(34829);let c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=h("(",l(e.variableDefinitions,", "),")"),r=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+h(" = ",r)+h(" ",l(n," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=h("",e,": ")+t,a=o+h("(",l(r,", "),")");return a.length>80&&(a=o+h("(\n",p(l(r,"\n")),"\n)")),l([a,l(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>l(["...",h("on ",e),l(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${h("(",l(r,", "),")")} on ${t} ${h("",l(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,i.LZ)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"}
13,ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>h("",e,"\n")+l(["schema",l(t," "),f(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l(["scalar",t,l(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["type",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+": "+n+h(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+l([t+": "+r,h("= ",n),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["interface",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+l(["union",t,l(r," "),h("= ",l(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+l(["enum",t,l(r," "),f(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l([t,l(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+l(["input",t,l(r," "),f(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+(n?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend type",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend interface",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>l(["extend union",e,l(t," "),h("= ",l(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>l(["extend enum",e,l(t," "),f(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>l(["extend input",e,l(t," "),f(r)]," ")}};function l(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function f(e){return h("{\n",p(l(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function p(e){return h(" ",e.replace(/\n/g,"\n "))}function d(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var y=r(50040),v=r(94079),m=r(89660),g=Object.assign(function(e){var t=n.get(e);return t||(t=(0,u.Vn)(e,c),n.set(e,t)),t},{reset:function(){n=new y.s(v.Q.print||2e3)}});g.reset(),!1!==globalThis.__DEV__&&(0,m.zP)("print",function(){return n?n.size:0})},44339:function(e,t,r){"use strict";r.d(t,{Ao:function(){return g},JW:function(){return c},My:function(){return m},NC:function(){return y},PT:function(){return d},Yk:function(){return u},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 u=s[a];if(m(u)){if("__typename"===u.name.value)return t[v(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,o.hi)(u,n).selectionSet,n);if("string"==typeof f)return f}}},u2:function(){return v},vb:function(){return l},vf:function(){return f}});var n=r(52832),i=r(88550),o=r(86275),a=r(97440);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}
13function 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)(96,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 y(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 v(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},90535:function(e,t,r){"use strict";r.d(t,{Gw:function(){return d},UU:function(){return m},aL:function(){return y},bi:function(){return p},ob:function(){return v}});var n=r(50044),i=r(52832),o=r(55459),a=r(34829),s=r(11739),u=r(44339),c=r(86275),l=r(72619),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,u,f,p=h(""),d=h(""),y=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(97),null},v=0,m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===o.h.OPERATION_DEFINITION&&++v;var g=(r=new Map,u=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&u.size&&u.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,l.O)(e)&&e.map(g).some(function(e){return e&&e.remove})},_=new Map,E=!1,k={enter:function(e){if(b(e.directives))return E=!0,null}},w=(0,a.Vn)(t,{Field:k,InlineFragment:k,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=y(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return E=!0,null;var o=y(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){_.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===_.get(JSON.stringify(n))?e:v>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(g(e))return E=!0,null}}});if(!E)return t;var O=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){O(d(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},S=new Set;w.definitions.forEach(function(e){e.kind===o.h.OPERATION_DEFINITION?O(p(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){
13S.add(e)}):e.kind!==o.h.FRAGMENT_DEFINITION||0!==v||d(e.name.value).removed||S.add(e.name.value)}),S.forEach(function(e){O(d(e)).fragmentSpreads.forEach(function(e){S.add(e)})});var T={enter:function(e){var t;if(t=e.name.value,!S.has(t)||d(t).removed)return null}};return f=(0,a.Vn)(w,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(p(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.__assign)((0,n.__assign)({},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,c.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,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.My)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.__assign)((0,n.__assign)({},e),{selections:(0,n.__spreadArray)((0,n.__spreadArray)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}});function y(e){return"query"===(0,s.p$)(e).operation?e:(0,a.Vn)(e,{OperationDefinition:{enter:function(e){return(0,n.__assign)((0,n.__assign)({},e),{operation:"query"})}}})}function v(e){return(0,s.A$)(e),p([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function m(e){return(0,s.A$)(e),(0,a.Vn)(e,{FragmentSpread:function(e){var t;if(null===(t=e.directives)||void 0===t||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.__assign)((0,n.__assign)({},e),{directives:(0,n.__spreadArray)((0,n.__spreadArray)([],e.directives||[],!0),[{kind:o.h.DIRECTIVE,name:{kind:o.h.NAME,value:"nonreactive"}}
13],!1)})}})}},88776:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});var n="3.12.3"},60876:function(e,t,r){"use strict";let n;r.d(t,{e$:function(){return r0},p0:function(){return r1},ND:function(){return t3}});var i,o,a=r(2265),s=r(50044),u=r(52832);let c=()=>Object.create(null),{forEach:l,slice:f}=Array.prototype,{hasOwnProperty:h}=Object.prototype;class p{constructor(e=!0,t=c){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return l.call(e,e=>t=t.getChildTrie(e)),h.call(t,"data")?t.data:t.data=this.makeData(f.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(f.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 p(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)}}var d=r(64565);let y=null,v={},m=1;function g(e){try{return e()}catch(e){}}let b="@wry/context:Slot",_=g(()=>globalThis)||g(()=>global)||Object.create(null),E=_[b]||Array[b]||function(e){try{Object.defineProperty(_,b,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",m++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=y;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===v)break;return e!==y&&(y.slots[this.id]=t),!0}return y&&(y.slots[this.id]=v),!1}getValue(){if(this.hasValue())return y.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=y;y={parent:o,slots:i};try{return t.apply(n,r)}finally{y=o}}static bind(e){let t=y;return function(){let r=y;try{return y=t,e.apply(this,arguments)}finally{y=r}}}static noContext(e,t,r){if(!y)return e.apply(r,t);{let n=y;try{return y=null,e.apply(r,t)}finally{y=n}}}}),{bind:k,noContext:w}=E,O=new E,{hasOwnProperty:S}=Object.prototype,T=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function I(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let D=[];function x(e,t){if(!e)throw Error(t||"assertion failure")}function N(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function A(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class R{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,++R.count}peek(){if(1===this.value.length&&!P(this))return C(this),this.value[0]}recompute(e){var t;return x(!this.recomputing,"already recomputing"),C(this),P(this)&&(Q(this),O.withValue(this,F,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{I(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,P(this)||(t=this,j(t,L)))),A(this.value)}setDirty(){this.dirty||(this.dirty=!0,j(this,M),I(this))}dispose(){this.setDirty(),Q(this),j(this,(e,t)=>{e.setDirty(),V(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=D.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(T(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),D.push(this.deps),this.deps=null)}}function C(e){let t=O.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),P(e)?M(t,e):L(t,e),t}function F(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&&!N(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 P(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function j(e,t){let r=e.parents.size;if(r){let n=T(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function M(e,t){x(e.childValues.has(t)),x(P(t));let r=!P(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=D.pop()||new Set;e.dirtyChildren.add(t),r&&j(e,M)}function L(e,t){x(e.childValues.has(t)),x(!P(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):N(r,t.value)||e.setDirty(),q(e,t),P(e)||j(e,L)}function q(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(D.length<100&&D.push(r),e.dirtyChildren=null))}function Q(e){e.childValues.size>
130&&e.childValues.forEach((t,r)=>{V(e,r)}),e.forgetDeps(),x(null===e.dirtyChildren)}function V(e,t){t.parents.delete(e),e.childValues.delete(t),q(e,t)}R.count=0;let U={setDirty:!0,dispose:!0,forget:!0};function B(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=O.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(I(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&S.call(U,r)?r:"setDirty";T(n).forEach(e=>e[i]()),t.delete(e),I(n)}},n}function z(...e){let t=n||(n=new p("function"==typeof WeakMap));return t.lookupArray(e)}let G=new Set;function K(e,{max:t=65536,keyArgs:r,makeCacheKey:n=z,normalizeResult:i,subscribe:o,cache:a=d.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,u=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new R(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let u=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),G.add(s),O.hasValue()||(G.forEach(e=>e.clean()),G.clear()),u};function c(e){let t=e&&s.get(e);t&&t.setDirty()}function l(e){let t=e&&s.get(e);if(t)return t.peek()}function f(e){return!!e&&s.delete(e)}return Object.defineProperty(u,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),u.dirtyKey=c,u.dirty=function(){c(n.apply(null,arguments))},u.peekKey=l,u.peek=function(){return l(n.apply(null,arguments))},u.forgetKey=f,u.forget=function(){return f(n.apply(null,arguments))},u.makeCacheKey=n,u.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(u)}var W=r(36510),Y=r(86275),$=r(94079),J=r(11739),H=r(38681),X=r(93592),Z=r(72074),ee=r(89660),et=r(85812),er=r(44339);function en(e,t,r,n){var i=t.data,o=(0,s.__rest)(t,["data"]),a=r.data,u=(0,s.__rest)(r,["data"]);return(0,W.Z)(o,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,et.LZ)(t,i.variables)||ei(t)))return!0;if((0,er.My)(t)){var a=(0,er.u2)(t),s=r&&r[a],u=n&&n[a],c=t.selectionSet;if(!c)return(0,W.Z)(s,u);var l=Array.isArray(s),f=Array.isArray(u);if(l!==f)return!1;if(l&&f){var h=s.length;if(u.length!==h)return!1;for(var p=0;p<h;++p)if(!e(c,s[p],u[p],i))return!1;return!0}return e(c,s,u,i)}var d=(0,Y.hi)(t,i.fragmentMap);if(d)return!!ei(d)||e(d.selectionSet,r,n,i)})}((0,J.p$)(e).selectionSet,i,a,{fragmentMap:(0,Y.F)((0,J.kU)(e)),variables:n})}function ei(e){return!!e.directives&&e.directives.some(eo)}function eo(e){return"nonreactive"===e.name.value}var ea=r(55459),es=r(38191),eu=es.mr?WeakMap:Map,ec=es.sy?WeakSet:Set,el=new E,ef=!1;function eh(){ef||(ef=!0,!1!==globalThis.__DEV__&&u.kG.warn(52))}var ep=r(68859);function ed(e,t,r){return el.withValue(!0,function(){var n=function e(t,r,n,i,o){var a,s=n.knownChanged,c=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,n.mutableTargets);if(Array.isArray(t)){for(var l=0,f=Array.from(t.entries());l<f.length;l++){var h=f[l],p=h[0],d=h[1];if(null===d){c[p]=null;continue}var y=e(d,r,n,i,!1!==globalThis.__DEV__?"".concat(o||"","[").concat(p,"]"):void 0);s.has(y)&&s.add(c),c[p]=y}return s.has(c)?c:t}for(var v=0,m=r.selections;v<m.length;v++){var g=m[v],b=void 0;if(i&&s.add(c),g.kind===ea.h.FIELD){var _=(0,er.u2)(g),E=g.selectionSet;if(void 0===(b=c[_]||t[_]))continue;if(E&&null!==b){var y=e(t[_],E,n,i,!1!==globalThis.__DEV__?"".concat(o||"",".").concat(_):void 0);s.has(y)&&(b=y)}!1!==globalThis.__DEV__||(c[_]=b),!1!==globalThis.__DEV__&&(!i||"__typename"===_||(null===(a=Object.getOwnPropertyDescriptor(c,_))||void 0===a?void 0:a.value)?(delete c[_],c[_]=b):Object.defineProperty(c,_,function(e,t,r,n,i){var o=function(){return el.getValue()||(!1!==globalThis.__DEV__&&u.kG.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(_,b,o||"",n.operationName,n.operationType)))}if(g.kind===ea.h.INLINE_FRAGMENT&&(!g.typeCondition||n.cache.fragmentMatches(g,t.__typename))&&(b=e(t,g.selectionSet,n,i,o)),g.kind===ea.h.FRAGMENT_SPREAD){var k=g.name.value,w=n.fragmentMap[k]||(n.fragmentMap[k]=n.cache.lookupFragment(k));(0,u.kG)(w,47,k);var O=(0,et.GT)(g);"mask"!==O&&(b=e(t,w.selectionSet,n,"migrate"===O,o))}s.has(b)&&s.add(c)}return"__typename"in t&&!("__typename"in c)&&(c.__typename=t.__typename),Object.keys(c).length!==Object.keys(t).length&&s.add(c),s.has(c)?c:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,ep.J)(n),n})}function ey(e,t,r,n){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&eh(),e;var i=t.definitions.filter(function(e){return e.kind===ea.h.FRAGMENT_DEFINITION});void 0===n&&((0,u.kG)(1===i.length,49,i.length),n=i[0].name.value);var o=i.find(function(e){return e.name.value===n});return((0,u.kG)(!!o,50,n),null==e||(0,W.Z)(e,{}))?e:ed(e,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:(0,Y.F)((0,J.kU)(t)),cache:r,mutableTargets:new eu,knownChanged:new ec})}var ev=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=K(Y.Yk,{max:$.Q["cache.fragmentQueryDocuments"]||1e3,cache:Z.k})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.o
13ptimistic?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,s.__assign)((0,s.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,c=(0,s.__rest)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(n,i),f=void 0===o||"string"==typeof o?o:this.identify(o),h=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var p=i||(0,J.pD)(n).name.value;f||!1===globalThis.__DEV__||u.kG.warn(1,p)}var d=(0,s.__assign)((0,s.__assign)({},c),{returnPartialData:!0,id:f,query:l,optimistic:void 0===a||a});return new H.y(function(e){return r.watch((0,s.__assign)((0,s.__assign)({},d),{immediate:!0,callback:function(o){var a=h?ey(o.result,n,r,i):o.result;if(!(t&&en(l,{data:null==t?void 0:t.result},{data:a}))){var u={data:a,complete:!!o.complete};o.missing&&(u.missing=(0,X.bw)(o.missing.map(function(e){return e.missing}))),t=(0,s.__assign)((0,s.__assign)({},o),{result:a}),e.next(u)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,s.__assign)((0,s.__assign)({},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,s.__rest)(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,o=(0,s.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{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,s.__assign)((0,s.__assign)({},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,s.__assign)((0,s.__assign)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(ev.prototype.getMemoryInternals=ee.Kb);var em=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,s.__extends)(t,e),t}(Error);function eg(e){return e}var eb=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=es.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(eg,{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 p(es.mr);this.performWork=K(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,u.kG)(Array.isArray(n),77),r.lookupArray(n)},max:$.Q["documentTransform.cache"],cache:Z.k})}},e.prototype.performWork=function(e){return(0,J.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}(),e_=r(90535),eE=r(97440),ek=r(34657),ew=r(18865),eO=r(88550),eS=r(72619),eT=Object.prototype.hasOwnProperty;function eI(e){return null==e}function eD(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=eI(n)?eI(i)?void 0:{_id:i}:{id:n}),eI(n)&&!eI(i)&&(n=i),!eI(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var ex={dataIdFromObject:eD,addTypename:!0,resultCaching:!0,canonizeResults:!1};function eN(e){var t=e.canonizeResults;return void 0===t?ex.canonizeResults:t}var eA=/^[_a-z][_0-9a-z]*/i;function eR(e){var t=e.match(eA);return t?t[0]:e}function eC(e){return(0,eO.s)(e)&&!(0,er.Yk)(e)&&!(0,eS.k)(e)}function eF(e,t){var r=(0,Y.F)((0,J.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var eP=Object.create(null),ej=function(){return eP},eM=Object.create(null),eL=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,ep.J)((0,er.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,er.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,er.kQ)(e);if((0,er.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,er.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,s.__assign)({},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),eT.call(this.data,e)){var r=this.data[e];if(r&&eT.call(r,t))return r[t]}return"__typename"===t&&eT.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof eV?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),eT.call(this.data,e))?this.data[e]:this instanceof eV?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,er.Yk)(e)&&(e=e.__ref),(0,er.Yk)(t)&&(t=t.__ref);
13var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,u.kG)("string"==typeof r,2);var a=new X.w0(eB).merge(i,o);if(this.data[r]=a,a!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=eR(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof eV||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete s.__typename,Object.keys(s).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),o=!1,a=!0,c={DELETE:eP,INVALIDATE:eM,isReference:er.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,er.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(l){var f=eR(l),h=n[l];if(void 0!==h){var p="function"==typeof t?t:t[l]||t[f];if(p){var d=p===ej?eP:p((0,ep.J)(h),(0,s.__assign)((0,s.__assign)({},c),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(d===eM)r.group.dirty(e,l);else if(d===eP&&(d=void 0),d!==h&&(i[l]=d,o=!0,h=d,!1!==globalThis.__DEV__)){var y=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&u.kG.warn(3,e),!0};if((0,er.Yk)(d))y(d);else if(Array.isArray(d))for(var v=!1,m=void 0,g=0,b=d;g<b.length;g++){var _=b[g];if((0,er.Yk)(_)){if(v=!0,y(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(v&&void 0!==m){!1!==globalThis.__DEV__&&u.kG.warn(4,m);break}}}}void 0!==h&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof eV?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]=ej,n):ej)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(eT.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof eV&&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){eT.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&&eT.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,s.__rest)(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 eV?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){eT.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 eV;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!eT.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,er.Yk)(e)&&(t[e.__ref]=!0),(0,eO.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,eO.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),eq=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?B():null,this.keyMaker=new p(es.mr)}
13,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=eR(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 eQ(e,t){ez(e)&&e.group.depend(t,"__exists")}o=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new eq(void 0===n||n))||this;return o.stump=new eU(o),o.storageTrie=new p(es.mr),i&&o.replace(i),o}return(0,s.__extends)(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}(i=eL||(eL={})),i.Root=o;var eV=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,s.__extends)(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,W.D)(n[r],i[r])||t.group.dirty(e,r)}
13):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,s.__assign)((0,s.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return eT.call(this.data,t)?(0,s.__assign)((0,s.__assign)({},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}(eL),eU=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new eq(t.group.caching,t.group))||this}return(0,s.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(eV);function eB(e,t,r){var n=e[r],i=t[r];return(0,W.D)(n,i)?n:i}function ez(e){return!!(e instanceof eL&&e.group.caching)}var eG=function(){function e(){this.known=new(es.sy?WeakSet:Set),this.pool=new p(es.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,eO.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,eO.s)(e)){var t=(0,eO.s)(e)?(0,eS.k)(e)?e.slice(0):(0,s.__assign)({__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,eO.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 u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function eK(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var eW=function(){function e(e){var t=this;this.knownResults=new(es.mr?WeakMap:Map),this.config=(0,ew.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:eN(e)}),this.canon=e.canon||new eG,this.executeSelectionSet=K(function(e){var r,n=e.context.canonizeResults,i=eK(e);i[3]=!n;var o=(r=t.executeSelectionSet).peek.apply(r,i);return o?n?(0,s.__assign)((0,s.__assign)({},o),{result:t.canon.admit(o.result)}):o:(eQ(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||$.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:eK,makeCacheKey:function(e,t,r,n){if(ez(r.store))return r.store.makeCacheKey(e,(0,er.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=K(function(e){return eQ(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||$.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(ez(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new eG},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,o=e.variables,a=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;o=(0,s.__assign)((0,s.__assign)({},(0,J.O4)((0,J.iW)(n))),o);var f=(0,er.kQ)(void 0===i?"ROOT_QUERY":i),h=this.executeSelectionSet({selectionSet:(0,J.p$)(n).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,s.__assign)({store:r,query:n,policies:l,variables:o,varString:(0,eE.B)(o),canonizeResults:c},eF(n,this.config.fragments))});if(h.missing&&(t=[new em(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,o)],!(void 0===a||a)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(ez(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,a=e.context;if((0,er.Yk)(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,c=a.policies,l=a.store.getFieldValue(i,"__typename"),f=[],h=new X.w0;function p(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof l&&!c.rootIdsByTypename[l]&&f.push({__typename:l});var d=new Set(n.selections);d.forEach(function(e){var n,y;if((0,et.LZ)(e,s)){if((0,er.My)(e)){var v=c.readField({fieldName:e.n
13ame.value,field:e,variables:a.variables,from:i},a),m=(0,er.u2)(e);void 0===v?e_.Gw.added(e)||(t=h.merge(t,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat((0,er.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,eS.k)(v)?v.length>0&&(v=p(r.executeSubSelectedArray({field:e,array:v,enclosingRef:o,context:a}),m)):e.selectionSet?null!=v&&(v=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:v,enclosingRef:(0,er.Yk)(v)?v:o,context:a}),m)):a.canonizeResults&&(v=r.canon.pass(v)),void 0!==v&&f.push(((y={})[m]=v,y))}else{var g=(0,Y.hi)(e,a.lookupFragment);if(!g&&e.kind===ea.h.FRAGMENT_SPREAD)throw(0,u._K)(10,e.name.value);g&&c.fragmentMatches(g,l)&&g.selectionSet.selections.forEach(d.add,d)}}});var y={result:(0,X.bw)(f),missing:t},v=a.canonizeResults?this.canon.admit(y):(0,ep.J)(y);return v.result&&this.knownResults.set(v.result,n),v},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new X.w0;function c(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,eS.k)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,er.Yk)(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,eO.s)(r)&&((0,u.kG)(!(0,er.Yk)(r),11,(0,er.Yk)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(a.store,n,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),eY=Object.prototype.toString;function e$(e,t){switch(eY.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=e$(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach(function(r){n[r]=e$(e[r],t)}),n;default:return e}}var eJ=r(91286),eH=new E,eX=new WeakMap;function eZ(e){var t=eX.get(e);return t||eX.set(e,t={vars:new Set,dep:B()}),t}function e0(e){eZ(e).vars.forEach(function(t){return t.forgetCache(e)})}function e1(e){var t=new Set,r=new Set,n=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){eZ(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var a=Array.from(r);r.clear(),a.forEach(function(t){return t(e)})}}else{var s=eH.getValue();s&&(i(s),eZ(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),eZ(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var e2=Object.create(null);function e3(e){var t=JSON.stringify(e);return e2[t]||(e2[t]=Object.create(null))}function e8(e){var t=e3(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=e4(e,function(e){var i=e6(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&eT.call(t,e[0])&&(i=e6(t,e,e9)),(0,u.kG)(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function e5(e){var t=e3(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(e4(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,eS.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,er.NC)(s,i);return u&&e6(u,e.slice(1))}return}if("$"===o){var c=r.slice(1);if(i&&eT.call(i,c)){var l=e.slice(0);return l[0]=c,e6(i,l)}return}if(t)return e6(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function e4(e,t){var r=new X.w0;return(function e(t){var r=e3(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,eS.k)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,eS.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 e9(e,t){return e[t]}function e6(e,t,r){return r=r||e9,function e(t){return(0,eO.s)(t)?(0,eS.k)(t)?t.map(e):e4(Object.keys(t).sort(),function(e){return e6(t,e)}):t}(t.reduce(function e(t,n){return(0,eS.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}
13function e7(e){return void 0!==e.args?e.args:e.field?(0,er.NC)(e.field,e.variables):null}var te=function(){},tt=function(e,t){return t.fieldName},tr=function(e,t,r){return(0,r.mergeObjects)(e,t)},tn=function(e,t){return t},ti=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,s.__assign)({dataIdFromObject:eD},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,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a=t&&t.storeObject||e,u=(0,s.__assign)((0,s.__assign)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=ta(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),l=c&&c.keyFn||this.config.dataIdFromObject;return el.withValue(!0,function(){for(;l;){var t=l((0,s.__assign)((0,s.__assign)({},e),a),u);if((0,eS.k)(t))l=e8(t);else{n=t;break}}}),n=n?String(n):void 0,u.keyObject?[n,u.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,o=n.mutationType,a=n.subscriptionType,u=(0,s.__rest)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),eT.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?tr:!1===t?tn:e.merge}a(n,t.merge),n.keyFn=!1===i?te:(0,eS.k)(i)?e8(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?tt:(0,eS.k)(s)?e5(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||tt)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,u.kG)(!n||n===e,6,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(eA);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!eT.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,s.__rest)(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 a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<s.length;++h){var p=s[h];
13if(p.has(o))return a.has(o)||(f&&!1!==globalThis.__DEV__&&u.kG.warn(7,t,o),a.add(o)),!0;p.forEach(c),l&&h===s.length-1&&function e(t,r,n){return!!(0,eO.s)(r)&&((0,eS.k)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,er.My)(t)&&(0,et.LZ)(t,n)){var i=(0,er.u2)(t);return eT.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&c(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=e7(e);o;){var u=o(s,a);if((0,eS.k)(u))o=e5(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,er.vf)(e.field,e.variables):(0,er.PT)(n,e7(e))),!1===t)?n:n===eR(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=eR(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=to(this,r,e,t,t.store.getStorage((0,er.Yk)(r)?r.__ref:r,i));return eH.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===tr?ts(n.store)(e,t):s===tn?t:(n.overwrite&&(e=void 0),s(e,t,to(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function to(e,t,r,n,i){var o=e.getStoreFieldName(r),a=eR(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:e7(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:er.Yk,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(ta(arguments,t,s),n)},mergeObjects:ts(n.store)}}function ta(e,t,r){var n,i=e[0],o=e[1],a=e.length;return"string"==typeof i?n={fieldName:i,from:a>1?o:t}:(n=(0,s.__assign)({},i),eT.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&u.kG.warn(8,(0,eJ.v)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function ts(e){return function(t,r){if((0,eS.k)(t)||(0,eS.k)(r))throw(0,u._K)(9);if((0,eO.s)(t)&&(0,eO.s)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,er.Yk)(t)&&eC(r))return e.merge(t.__ref,r),t;if(eC(t)&&(0,er.Yk)(r))return e.merge(t,r.__ref),r;if(eC(t)&&eC(r))return(0,s.__assign)((0,s.__assign)({},t),r)}return r}}function tu(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,s.__assign)((0,s.__assign)({},e),{clientOnly:t,deferred:r})),i}var tc=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,o=t.dataId,a=t.variables,c=t.overwrite,l=(0,J.$H)(n),f=new X.w0;a=(0,s.__assign)((0,s.__assign)({},(0,J.O4)(l)),a);var h=(0,s.__assign)((0,s.__assign)({store:e,written:Object.create(null),merge:function(e,t){return f.merge(e,t)},variables:a,varString:(0,eE.B)(a)},eF(n,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,er.Yk)(p))throw(0,u._K)(12,i);return h.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,c=(0,er.kQ)(n);if(o&&o.map.size){var l=r.applyMerges(o,c,i,h);if((0,er.Yk)(l))return;i=l}if(!1!==globalThis.__DEV__&&!h.overwrite){var f=Object.create(null);a.forEach(function(e){e.selectionSet&&(f[e.name.value]=!0)});var p=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};
13Object.keys(i).forEach(function(e){!0!==f[eR(e)]||p(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 a=i(t);if(!(!a||(0,er.Yk)(o)||(0,W.D)(o,a)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(a,e)}))){var c=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=eR(r),f="".concat(c,".").concat(l);if(!td.has(f)){td.add(f);var h=[];(0,eS.k)(o)||(0,eS.k)(a)||[o,a].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&u.kG.warn(15,l,c,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",f,(0,s.__assign)({},o),(0,s.__assign)({},a))}}}}(c,i,e,h.store)})}e.merge(n,i)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=r&&c.rootTypenamesById[r]||(0,er.qw)(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=ta(arguments,l,o.variables);if((0,er.Yk)(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,s.__assign)((0,s.__assign)({},e),{from:t.storeObject}),o);if(void 0!==r)return r}}return c.readField(e,o)},p=new Set;this.flattenFields(i,n,o,f).forEach(function(e,r){var i,o=n[(0,er.u2)(r)];if(p.add(r),void 0!==o){var s=c.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),d=tf(a,s),y=t.processFieldValue(o,r,r.selectionSet?tu(e,!1,!1):e,d),v=void 0;r.selectionSet&&((0,er.Yk)(y)||eC(y))&&(v=h("__typename",y));var m=c.getMergeFunction(f,r.name.value,v);m?d.info={field:r,typename:f,merge:m}:tp(a,s),l=e.merge(l,((i={})[s]=y,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||e_.Gw.added(r)||c.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||u.kG.error(13,(0,er.u2)(r),n)});try{var d=c.identify(n,{typename:f,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:l,readField:h}),y=d[0],v=d[1];r=r||y,v&&(l=o.merge(l,v))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,er.kQ)(r),g=o.written[r]||(o.written[r]=[]);if(g.indexOf(i)>=0||(g.push(i),this.reader&&this.reader.isFresh(n,m,i,o)))return m;var b=o.incomingById.get(r);return b?(b.storeObject=o.merge(b.storeObject,l),b.mergeTree=function e(t,r){if(t===r||!r||th(r))return t;if(!t||th(t))return r;var n=t.info&&r.info?(0,s.__assign)((0,s.__assign)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,o={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var a=new Set(r.map.keys());t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),a.delete(n)}),a.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(b.mergeTree,a),p.forEach(function(e){return b.fieldNodeSet.add(e)})):o.incomingById.set(r,{storeObject:l,mergeTree:th(a)?void 0:a,fieldNodeSet:p}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,eS.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,tf(n,o));return tp(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?e$(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,er.qw)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,a=new p(!1);return function e(s,c){var l=a.lookup(s,c.clientOnly,c.deferred);l.visited||(l.visited=!0,s.selections.forEach(function(a){if((0,et.LZ)(a,r.variables)){var s=c.clientOnly,l=c.deferred;if(!(s&&l)&&(0,eS.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=(0,er.NC)(e,r.variables);n&&!1===n.if||(l=!0)}}),(0,er.My)(a)){var f=i.get(a);f&&(s=s&&f.clientOnly,l=l&&f.deferred),i.set(a,tu(r,s,l))}else{var h=(0,Y.hi)(a,r.lookupFragment);if(!h&&a.kind===ea.h.FRAGMENT_SPREAD)throw(0,u._K)(14,a.name.value);h&&o.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,tu(r,s,l))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var o=this;if(e.map.size&&!(0,er.Yk)(r)){var a,c,l=!(0,eS.k)(r)&&((0,er.Yk)(t)||e
13C(t))?t:void 0,f=r;l&&!i&&(i=[(0,er.Yk)(l)?l.__ref:l]);var h=function(e,t){return(0,eS.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),a=h(f,t);if(void 0!==a){i&&i.push(t);var s=o.applyMerges(e,r,a,n,i);s!==a&&(c=c||new Map).set(t,s),i&&(0,u.kG)(i.pop()===t)}}),c&&(r=(0,eS.k)(f)?f.slice(0):(0,s.__assign)({},f),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(a=n.store).getStorage.apply(a,i)):r},e}(),tl=[];function tf(e,t){var r=e.map;return r.has(t)||r.set(t,tl.pop()||{map:new Map}),r.get(t)}function th(e){return!e||!(e.info||e.map.size)}function tp(e,t){var r=e.map,n=r.get(t);n&&th(n)&&(tl.push(n),r.delete(t))}var td=new Set,ty=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new eb(e_.Gw),n.assumeImmutableResults=!0,n.makeVar=e1,n.txCount=0,n.config=(r=t,(0,ew.o)(ex,r)),n.addTypename=!!n.config.addTypename,n.policies=new ti({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,s.__extends)(t,e),t.prototype.init=function(){var e=this.data=new eL.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 tc(this,this.storeReader=new eW({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:eN(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=K(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||$.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(ez(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,eE.B)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,s.__assign)((0,s.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof em)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(eT.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,s.__assign)((0,s.__assign)({},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||function(e){eZ(e).vars.forEach(function(t){return t.attachCache(e)})}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&e0(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){eE.B.reset(),ek.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,er.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&u.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(eT.call(e,"id"))return!1;e=(0,s.__assign)((0,s.__assign)({},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(),eE.B.reset(),e&&e.discardWatches?(this.watches.forEac
13h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),e0(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,o=void 0===i||i,a=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,s.__assign)((0,s.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,c):!1===o?c(this.data):c(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),u&&l.size?(this.broadcastWatches((0,s.__assign)((0,s.__assign)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=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,W.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(ev);!1!==globalThis.__DEV__&&(ty.prototype.getMemoryInternals=ee.q4);var tv=r(38128),tm=tv.i.execute,tg=r(88776),tb=r(54031),t_=r(78829);function tE(e,t,r){return new H.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()}})}function tk(e){var t=tw(e);return(0,eS.O)(t)}function tw(e){var t=(0,eS.O)(e.errors)?e.errors.slice(0):[];return(0,t_.GG)(e)&&(0,eS.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var tO=r(18333);function tS(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}function tT(e){function t(t){Object.defineProperty(e,t,{value:H.y})}return es.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function tI(e){return e&&"function"==typeof e.then}var tD=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),tS(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),tS(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?tI(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"),tS(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new H.y(t)]),tI(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,s.__extends)(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}(H.y);tT(tD);
13var tx=r(17205),tN=r(12274),tA=Object.assign,tR=Object.hasOwnProperty,tC=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,i=t.options,o=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=tP)}catch(e){}var r=!o.observers.size;o.observers.add(e);var n=o.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(o.maskResult(n.result)),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=n,o.queryManager=r,o.waitForOwnResult=tM(i.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var a=r.defaultOptions.watchQuery,u=(void 0===a?{}:a).fetchPolicy,c=void 0===u?"cache-first":u,l=i.fetchPolicy,f=void 0===l?c:l,h=i.initialFetchPolicy,p=void 0===h?"standby"===f?c:f:h;o.options=(0,s.__assign)((0,s.__assign)({},i),{initialFetchPolicy:p,fetchPolicy:f}),o.queryId=n.queryId||r.generateQueryId();var d=(0,J.$H)(o.query);return o.queryName=d&&d.name&&d.name.value,o}return(0,s.__extends)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||tN.Ie.ready,n=(0,s.__assign)((0,s.__assign)({},t),{loading:(0,tN.Oj)(r),networkStatus:r}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if(tM(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(n.data=a.result),(0,W.D)(n.data,{})&&(n.data=void 0),a.complete?(delete n.partial,a.complete&&n.networkStatus===tN.Ie.loading&&("cache-first"===o||"cac
13he-only"===o)&&(n.networkStatus=tN.Ie.ready,n.loading=!1)):n.partial=!0,!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||n.loading||n.data||n.error||tj(a.missing)}return e&&this.updateLastResult(n),n},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!en(i,this.last.result,e,this.variables):!(0,W.D)(this.last.result,e))||t&&!(0,W.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,W.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&&tR.call(e,"variables")){var i=(0,J.iW)(this.query),o=i.variableDefinitions;o&&o.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||u.kG.warn(21,e,(null===(t=i.name)||void 0===t?void 0:t.value)||i)}return e&&!(0,W.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,s.__assign)((0,s.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,tN.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,s.__assign)((0,s.__assign)({},e.query?e:(0,s.__assign)((0,s.__assign)((0,s.__assign)((0,s.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,s.__assign)((0,s.__assign)({},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 i=this.queryInfo,o=i.networkStatus;
13i.networkStatus=tN.Ie.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var a=new Set,c=null==e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||(0,u.kG)(c,22),this.queryManager.fetchQuery(n,r,tN.Ie.fetchMore).then(function(u){if(t.queryManager.removeQuery(n),i.networkStatus===tN.Ie.fetchMore&&(i.networkStatus=o),l)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:u.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:u.data})},onWatchUpdated:function(e){a.add(e.query)}});else{var f=t.getLast("result"),h=c(f.data,{fetchMoreResult:u.data,variables:r.variables});t.reportResult((0,s.__assign)((0,s.__assign)({},f),{data:h}),t.variables)}return t.maskResult(u)}).finally(function(){l&&!a.has(t.query)&&tF(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__&&u.kG.error(23,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,ew.o)(this.options,e||{});tA(this.options,t)},t.prototype.setVariables=function(e){return(0,W.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},tN.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,u.kG)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,tN.Oj)(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},tN.Ie.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,W.D)(t,this.last.variables)&&(r=void 0),this.last=(0,s.__assign)({result:this.queryManager.assumeImmutableResults?e:e$(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;
13var n=t===tN.Ie.refetch||t===tN.Ie.fetchMore||t===tN.Ie.poll,i=this.options.variables,o=this.options.fetchPolicy,a=(0,ew.o)(this.options,e||{}),u=n?a:tA(this.options,a),c=this.transformDocument(u.query);this.lastQuery=c,!n&&(this.updatePolling(),e&&e.variables&&!(0,W.D)(e.variables,i)&&"standby"!==u.fetchPolicy&&(u.fetchPolicy===o||"function"==typeof u.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=tN.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=tM(u.fetchPolicy));var l=function(){r.concast===p&&(r.waitForOwnResult=!1)},f=u.variables&&(0,s.__assign)({},u.variables),h=this.fetch(u,t,c),p=h.concast,d=h.fromLink,y={next:function(e){(0,W.D)(r.variables,f)&&(l(),r.reportResult(e,f))},error:function(e){(0,W.D)(r.variables,f)&&((0,tx.MS)(e)||(e=new tx.cA({networkError:e})),l(),r.reportError(e,f))}};return n||!d&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=y),p.addObserver(y),p},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},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.getCurrentFullResult(!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)&&tS(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,s.__assign)((0,s.__assign)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:tN.Ie.error,loading:!1});this.updateLastResult(r,t),tS(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.prototype.maskResult=function(e){return e&&"data"in e?(0,s.__assign)((0,s.__assign)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t}(H.y);function tF(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 tP(e){!1!==globalThis.__DEV__&&u.kG.error(25,e.message,e.stack)}function tj(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&u.kG.debug(26,e)}function tM(e){return"network-only"===e||"no-cache"===e||"standby"===e}tT(tC);var tL=new(es.mr?WeakMap:Map);function tq(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return tL.set(e,(tL.get(e)+1)%1e15),r.apply(this,arguments)})}function tQ(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var tV=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;tL.has(r)||(tL.set(r,0),tq(r,"evict"),tq(r,"modify"),tq(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||tN.Ie.loading;return this.variables&&this.networkStatus!==tN.Ie.loading&&!(0,W.D)(this.variables,e.variables)&&(t=tN.Ie.setVariables),(0,W.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(){tQ(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,W.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.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,W.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():tF(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
13tQ(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,tN.Oj)(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,s.__assign)((0,s.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,W.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===tL.get(this.cache)&&(0,W.D)(t,r.variables)&&(0,W.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new X.w0,a=(0,eS.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,eS.O)(e.incremental)){var s=(0,t_.mT)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(tU(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:tL.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,W.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=tN.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=tN.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function tU(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!tk(e);return!n&&r&&e.data&&(n=!0),n}var tB=r(50040),tz=Object.prototype.hasOwnProperty,tG=Object.create(null),tK=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new tB.s($.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new p(!1),this.noCacheWarningsByQueryId=new Set;var r=new eb(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,u._K)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,s.__awaiter)(this,arguments,void 0,function(e){var t,r,n,i,o,a,c,l=e.mutation,f=e.variables,h=e.optimisticResponse,p=e.updateQueries,d=e.refetchQueries,y=void 0===d?[]:d,v=e.awaitRefetchQueries,m=void 0!==v&&v,g=e.update,b=e.onQueryUpdated,_=e.fetchPolicy,E=void 0===_?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":_,k=e.errorPolicy,w=void 0===k?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.errorPolicy)||"none":k,O=e.keepRootFields,S=e.context;return(0,s.__generator)(this,function(e){switch(e.label){case 0:if((0,u.kG)(l,28),(0,u.kG)("network-only"===E||"no-cache"===E,29),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),!r)return[3,2];return[4,this.localState.addExportedVariables(l,f,S)];case 1:f=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),i=h&&this.markMutationOptimistic(h,{mutationId:t,document:l,variables:f,fetchPolicy:E,errorPolicy:w,context:S,updateQueries:p,update:g,keepRootFields:O}),this.broadcastQueries(),o=this,[2,new Promise(function(e,r){return tE(o.getObservableFromLink(l,(0,s.__assign)((0,s.__assign)({},S),{optimisticResponse:i?h:void 0}),f,{},!1),function(e){if(tk(e)&&"none"===w)throw new tx.cA({graphQLErrors:tw(e)});n&&(n.loading=!1,n.error=null);var r=(0,s.__assign)({},e);return"function"==typeof y&&(y=y(r)),"ignore"===w&&tk(r)&&delete r.errors,o.markMutationResult({mutationId:t,result:r,document:l,variables:f,fetchPolicy:E,errorPolicy:w,context:S,update:g,updateQueries:p,awaitRefetchQueries:m,refetchQueries:y,removeOptimistic:i?t:void 0,onQueryUpdated:b,keepRootFields:O})}).subscribe({next:function(r){o.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,s.__assign)((0,s.__assign)({},r),{data:o.maskOperation({document:l,data:r.data,fetchPolicy:E,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),r(e instanceof tx.cA?e:new tx.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&tU(n,e.errorPolicy)){if((0,t_.GG)(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,t_.GG)(n)&&(0,eS.O)(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
13),u=void 0;a.result&&(u=(0,t_.mT)(a.result,n)),void 0!==u&&(n.data=u,i.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&tz.call(c,s)){var u=c[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 y=u(d,{mutationResult:n,queryName:f&&(0,J.rY)(f)||void 0,queryVariables:h});y&&i.push({result:y,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){o||i.forEach(function(e){return t.write(e)});var a=e.update,u=!(0,t_.M0)(n)||(0,t_.GG)(n)&&!n.hasNext;if(a){if(!o){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(n=(0,s.__assign)((0,s.__assign)({},n),{data:c.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}u&&a(t,n,{context:e.context,variables:e.variables})}o||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return 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:tG}):e;return n!==tG&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,s.__assign)((0,s.__assign)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&u.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,et.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,et.FS)(["nonreactive"],e),nonReactiveQuery:(0,e_.UU)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,e_.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,J.O4)((0,J.$H)(e)),asQuery:(0,s.__assign)((0,s.__assign)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,s.__assign)((0,s.__assign)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,s.__assign)((0,s.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,s.__assign)((0,s.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new tV(this),n=new tC({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;void 0===t&&(t=this.generateQueryId()),(0,u.kG)(e.query,30),(0,u.kG)("Document"===e.query.kind,31),(0,u.kG)(!e.returnPartialData,32),(0,u.kG)(!e.pollInterval,33);var n=this.transform(e.query);return this.fetchQuery(t,(0,s.__assign)((0,s.__assign)({},e),{query:n})).then(function(i){return i&&(0,s.__assign)((0,s.__assign)({},i),{data:r.maskOperation({document:n,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
13),this.cancelPendingFetches((0,u._K)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=tN.Ie.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,er.JW)(e)?n.set(t.transform(e),!1):(0,eO.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,tO.X)("legacyOneTimeQuery"),i=t.getQuery(n).init({document:e.query,variables:e.variables}),o=new tC({queryManager:t,queryInfo:i,options:(0,s.__assign)((0,s.__assign)({},e),{fetchPolicy:"network-only"})});(0,u.kG)(o.queryId===n),i.setObservableQuery(o),r.set(n,o)}),!1!==globalThis.__DEV__&&n.size&&n.forEach(function(e,t){e||!1===globalThis.__DEV__||u.kG.warn("string"==typeof t?35:36,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.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,u,e,l).map(function(n){"no-cache"!==i&&(tU(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=tk(n),s=(0,tx.ls)(n);if(o||s){var u={};if(o&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[tx.YG]),"none"===a||s)throw new tx.cA(u)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,u).then(f);return new H.y(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},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,i){var o,a,u=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var c=this.getDocumentInfo(e),l=c.serverQuery,f=c.clientQuery;if(l){var h=this.inFlightLinkObservables,p=this.link,d={query:l,variables:r,operationName:(0,J.rY)(l)||void 0,context:this.prepareContext((0,s.__assign)((0,s.__assign)({},t),{forceFetch:!i})),extensions:n};if(t=d.context,i){var y=(0,ek.S)(l),v=(0,eE.B)(r),m=h.lookup(y,v);if(!(a=m.observable)){var g=new tD([tm(p,d)]);a=m.observable=g,g.beforeNext(function(){h.remove(y,v)})}}else a=new tD([tm(p,d)])}else a=new tD([H.y.of({data:{}})]),t=this.prepareContext(t);return f&&(a=tE(a,function(e){return u.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return tE(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=tw(o),s=a.length>0,u=r.errorPolicy;if(n>
13=e.lastRequestId){if(s&&"none"===u)throw e.markError(new tx.cA({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:tN.Ie.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=tN.Ie.error),c},function(t){var r=(0,tx.MS)(t)?t:new tx.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=tN.Ie.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?c&&c.errorPolicy||"none":h,d=t.returnPartialData,y=t.notifyOnNetworkStatusChange,v=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===v?{}:v}),g=function(e){m.variables=e;var n=a.fetchQueryByPolicy(u,m,r);return"standby"!==m.fetchPolicy&&n.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),n},b=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new tD(this.localState.addExportedVariables(m.query,m.variables,m.context).then(g).then(function(e){return e.sources})),o=!0;else{var _=g(m.variables);o=_.fromLink,i=new tD(_.sources)}return i.promise.then(b,b),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,tO.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof tV&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,o=e.data;if(!1!==globalThis.__DEV__){var a=e.fetchPolicy,s=e.id,c=null===(t=(0,J.$H)(i))||void 0===t?void 0:t.operation,l=(null!==(r=null==c?void 0:c[0])&&void 0!==r?r:"o")+s;!this.dataMasking||"no-cache"!==a||(0,Y.YU)(i)||this.noCacheWarningsByQueryId.has(l)||(this.noCacheWarningsByQueryId.add(l),!1!==globalThis.__DEV__&&u.kG.warn(37,null!==(n=(0,J.rY)(i))&&void 0!==n?n:"Unnamed ".concat(null!=c?c:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&eh(),e;var n,i=(0,J.$H)(t);return((0,u.kG)(i,51),null==e)?e:ed(e,i.selectionSet,{operationType:i.operation,operationName:null===(n=i.name)||void 0===n?void 0:n.value,fragmentMap:(0,Y.F)((0,J.kU)(t)),cache:r,mutableTargets:new eu,knownChanged:new ec})}(o,i,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?ey(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,o=t.variables,a=t.fetchPolicy,u=t.refetchWritePolicy,c=t.errorPolicy,l=t.returnPartialData,f=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:r});var d=function(){return e.getDiff()},y=function(t,r){void 0===r&&(r=e.networkStatus||tN.Ie.loading);var a=t.result;!1===globalThis.__DEV__||l||(0,W.D)(a,{})||tj(t.missing);var u=function(e){return H.y.of((0,s.__assign)({data:e,loading:(0,tN.Oj)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:a},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===c&&r===tN.Ie.refetch&&Array.isArray(t.missing)?u(void 0):u(a)},v="no-cache"===a?0:r===tN.Ie.refetch&&"merge"!==u?1:2,m=function(){return n.getResultsFromLink(e,v,{query:i,variables:o,context:f,fetchPolicy:a,errorPolicy:c})},g=h&&"number"==typeof p&&p!==r&&(0,tN.Oj)(r);switch(a){default:case"cache-first":var b=d();if(b.complete)return{fromLink:!1,sources:[y(b,e.markReady())]};if(l||g)return{fromLink:!0,sources:[y(b),m()]};return{fromLink:!0,sources:[m()]};case"cache-and-network":var b=d();if(b.complete||l||g)return{fromLink:!0,sources:[y(b),m()]};return{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[y(d(),e.markReady())]};case"network-only":if(g)return{fromLink:!0,sources:[y(d()),m()]};return{fromLink:!0,sources:[m()]};case"no-cache":if(g)return{fromLink:!0,sources:[y(e.getDiff()),m()]};return{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new tV(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,s.__assign)((0,s.__assign)((0,s.__assign)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),tW=r(34829);function tY(e){return e.kind===ea.h.FIELD||e.kind===ea.h.FRAGMENT_SPREAD||e.kind===ea.h.INLINE_FRAGMENT}var t$=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||{}
13,Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,X.Ee)(t.resolvers,e)}):this.resolvers=(0,X.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){return(0,s.__awaiter)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,s.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then(function(e){return(0,s.__assign)((0,s.__assign)({},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,et.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,e_.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,s.__assign)((0,s.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,s.__awaiter)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,s.__generator)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,s.__assign)((0,s.__assign)({},t),e.exportedVariables)})]:[2,(0,s.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,tW.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 tW.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,e_.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,s.__awaiter)(this,arguments,void 0,function(e,t,r,n,i,o){var a,u,c,l,f,h,p,d,y,v;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,s.__generator)(this,function(m){return a=(0,J.p$)(e),u=(0,J.kU)(e),c=(0,Y.F)(u),l=this.collectSelectionsToResolve(a,c),h=(f=a.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,d=p.cache,y=p.client,v={fragmentMap:c,context:(0,s.__assign)((0,s.__assign)({},r),{cache:d,client:y}),variables:n,fragmentMatcher:i,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,s.__awaiter)(this,void 0,void 0,function(){var i,o,a,c,l,f=this;return(0,s.__generator)(this,function(h){return i=n.fragmentMap,o=n.context,a=n.variables,c=[r],l=function(e){return(0,s.__awaiter)(f,void 0,void 0,function(){var l,f;return(0,s.__generator)(this,function(s){return(t||n.selectionsToResolve.has(e))&&(0,et.LZ)(e,a)?(0,er.My)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&c.push(((r={})[(0,er.u2)(e)]=t,r))})]:((0,er.Ao)(e)?l=e:(l=i[e.name.value],(0,u.kG)(l,19,e.name.value)),l&&l.typeCondition&&(f=l.typeCondition.name.value,n.fragmentMatcher(r,f,o)))?[2,this.resolveSelectionSet(l.selectionSet,t,r,n).then(function(e){c.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,X.bw)(c)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,s.__awaiter)(this,void 0,void 0,function(){var i,o,a,u,c,l,f,h,p,d=this;return(0,s.__generator)(this,function(s){return r?(i=n.variables,u=(o=e.name.value)!==(a=(0,er.u2)(e)),l=Promise.resolve(c=r[a]||r[o]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[u?o:a])&&(l=Promise.resolve(eH.withValue(this.cache,p,[r,(0,er.NC)(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=c),e.directives&&e.directives.forEac
13h(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,tW.Vn)(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&tY(e)&&o.add(e)})},FragmentSpread:function(n,i,a,s,c){var l=t[n.name.value];(0,u.kG)(l,20,n.name.value);var f=e(l);f.size>0&&(c.forEach(function(e){r(e)&&tY(e)&&o.add(e)}),o.add(n),f.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),tJ=r(17466),tH=!1,tX=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,u._K)(16);var n=e.uri,i=e.credentials,o=e.headers,a=e.cache,c=e.documentTransform,l=e.ssrMode,f=void 0!==l&&l,h=e.ssrForceFetchDelay,p=void 0===h?0:h,d=e.connectToDevTools,y=e.queryDeduplication,v=void 0===y||y,m=e.defaultOptions,g=e.defaultContext,b=e.assumeImmutableResults,_=void 0===b?a.assumeImmutableResults:b,E=e.resolvers,k=e.typeDefs,w=e.fragmentMatcher,O=e.name,S=e.version,T=e.devtools,I=e.dataMasking,D=e.link;D||(D=n?new tb.u({uri:n,credentials:i,headers:o}):tv.i.empty()),this.link=D,this.cache=a,this.disableNetworkFetches=f||p>0,this.queryDeduplication=v,this.defaultOptions=m||Object.create(null),this.typeDefs=k,this.devtoolsConfig=(0,s.__assign)((0,s.__assign)({},T),{enabled:null!==(t=null==T?void 0:T.enabled)&&void 0!==t?t:d}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),p&&setTimeout(function(){return r.disableNetworkFetches=!1},p),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=tg.i,this.localState=new t$({cache:a,client:this,resolvers:E,fragmentMatcher:w}),this.queryManager=new tK({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:g,documentTransform:c,queryDeduplication:v,ssrMode:f,dataMasking:!!I,clientAwareness:{name:O,version:S},localState:this.localState,assumeImmutableResults:_,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!tH&&!1!==globalThis.__DEV__&&(tH=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&u.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}
13,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,tJ.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,s.__assign)((0,s.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,tJ.J)(this.defaultOptions.query,e)),(0,u.kG)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,s.__assign)((0,s.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,tJ.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return(0,s.__assign)((0,s.__assign)({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,s.__assign)((0,s.__assign)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,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 tm(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__&&u.kG.debug(18,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__&&(tX.prototype.getMemoryInternals=ee.su);var tZ=r(87637),t0=r(54312),t1=function(e){var t=e.client,r=e.children,n=(0,t0.K)(),i=tZ.useContext(n),o=tZ.useMemo(function(){return(0,s.__assign)((0,s.__assign)({},i),{client:t||i.client})},[i,t]);return(0,u.kG)(o.client,55),tZ.createElement(n.Provider,{value:o},r)},t2=r(58388),t3=class extends ty{},t8=(0,a.createContext)(null),t5={useFragment:e=>t4(e,["data","complete","missing"]),useQuery:e=>t4(e,["data","loading","networkStatus","called"]),useSuspenseQuery:e=>t4(e,["data","networkStatus"]),useReadQuery:e=>t4(e,["data","networkStatus"])};function t4(e,t){return(...r)=>{let n=e(...r),i={};for(let e of t)i[e]=n[e];return{...n,...function(e){let t=(0,a.useContext)(t8);if(!t)throw Error("useTransportValue must be used within a streaming-specific ApolloProvider");let r=t.useStaticValueRef(e),n=(0,a.useSyncExternalStore)(()=>()=>{},()=>e,()=>r.current);return n===e&&(r.current=void 0),n}(i)}}}var t9={pkg:"@apollo/client-react-streaming",client:"ApolloClient",cache:"InMemoryCache"};function t6(e){return e.queryManager}var t7=Symbol.for("apollo.hook.wrappers"),re=class extends tX{static info=t9;constructor(e){if(super(e),!(this.cache instanceof t3))throw Error(`When using \`InMemoryCache\` in streaming SSR, you must use the \`${this.constructor.info.cache}\` export provided by \`"${this.constructor.info.pkg}"\`.`)}},rt=class extends re{constructor(e){super(e),t6(this)[t7]=t5}simulatedStreamingQueries=new Map;transportedQueryOptions=new Map;identifyUniqueQuery(e){let t=this.documentTransform.transformDocument(e.query),r=t6(this),{serverQuery:n}=r.getDocumentInfo(t);if(!n)throw Error("could not identify unique query");let i=(0,eE.B)(e.variables||{}),o=[(0,ek.S)(n),i].toString();return{query:n,cacheKey:o,varJson:i}}onQueryStarted=({options:e,id:t})=>{let{query:r,varJson:n,cacheKey:i}=this.identifyUniqueQuery(e);if(this.transportedQueryOptions.set(t,e),!r)return;let o=(0,ek.S)(r),a=t6(this);if(!a.inFlightLinkObservables.peek(o,n)?.observable){let r,s;let u=()=>{a.fetchCancelFns.get(i)===s&&a.fetchCancelFns.delete(i),a.inFlightLinkObservables.remove(o,n),this.simulatedStreamingQueries.get(t)===r&&this.simulatedStreamingQueries.delete(t)},c=new Promise((n,i)=>{this.simulatedStreamingQueries.set(t,r={resolve:n,reject:i,options:e})});c.finally(u);let l=new H.y(e=>{c.then(t=>{e.next(t),e.complete()}).catch(t=>{e.error(t)})});a.inFlightLinkObservables.lookup(o,n).observable=l,a.fetchCancelFns.set(i,s=e=>{let{reject:r}=this.simulatedStreamingQueries.get(t)??{};r&&r(e),u()})}};onQueryProgress=e=>{let t=this.simulatedStreamingQueries.get(e.id);if("data"===e.type){t?.resolve?.({data:e.result.data});let r=this.transportedQueryOptions.get(e.id);r&&this.cache.writeQuery({query:r.query,data:e.result.data,variables:r.variables})}else"error"===e.type?(t&&(this.simulatedStreamingQueries.delete(e.id),t2.kG.debug("query failed on server, rerunning in browser:",t.options),this.rerunSimulatedQuery(t)),this.transportedQueryOptions.delete(e.id)):"c
13omplete"===e.type&&this.transportedQueryOptions.delete(e.id)};rerunSimulatedQueries=()=>{for(let[e,t]of this.simulatedStreamingQueries)this.simulatedStreamingQueries.delete(e),t2.kG.debug("streaming connection closed before server query could be fully transported, rerunning:",t.options),this.rerunSimulatedQuery(t)};rerunSimulatedQuery=e=>{let t=t6(this),r=t.generateQueryId();t.fetchQuery(r,{...e.options,query:t.transform(e.options.query),context:{...e.options.context,queryDeduplication:!1}}).finally(()=>t.stopQuery(r)).then(e.resolve,e.reject)}},rr=class extends rt{},rn=Symbol.for("ApolloClientSingleton");class ri{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}}class ro{constructor(e){this.generateIdentifier=e,this.kv=new ri}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}}class ra extends ro{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){"object"==typeof t?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}}function rs(e,t){Object.entries(e).forEach(([e,r])=>t(r,e))}function ru(e,t){return -1!==e.indexOf(t)}function rc(e,t){for(let r=0;r<e.length;r++){let n=e[r];if(t(n))return n}}class rl{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return function(e,t){let r=function(e){if("values"in Object)return Object.values(e);let t=[];for(let r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}(e);if("find"in r)return r.find(t);for(let e=0;e<r.length;e++){let n=r[e];if(t(n))return n}}(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}}let rf=e=>Object.prototype.toString.call(e).slice(8,-1),rh=e=>void 0===e,rp=e=>null===e,rd=e=>"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype),ry=e=>rd(e)&&0===Object.keys(e).length,rv=e=>Array.isArray(e),rm=e=>"string"==typeof e,rg=e=>"number"==typeof e&&!isNaN(e),rb=e=>"boolean"==typeof e,r_=e=>e instanceof Map,rE=e=>e instanceof Set,rk=e=>"Symbol"===rf(e),rw=e=>"number"==typeof e&&isNaN(e),rO=e=>rb(e)||rp(e)||rh(e)||rg(e)||rm(e)||rk(e),rS=e=>e===1/0||e===-1/0,rT=e=>e.replace(/\./g,"\\."),rI=e=>e.map(String).map(rT).join("."),rD=e=>{let t=[],r="";for(let n=0;n<e.length;n++){let i=e.charAt(n),o="\\"===i&&"."===e.charAt(n+1);if(o){r+=".",n++;continue}let a="."===i;if(a){t.push(r),r="";
13continue}r+=i}let n=r;return t.push(n),t};function rx(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}let rN=[rx(rh,"undefined",()=>null,()=>void 0),rx(e=>"bigint"==typeof e,"bigint",e=>e.toString(),e=>"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),rx(e=>e instanceof Date&&!isNaN(e.valueOf()),"Date",e=>e.toISOString(),e=>new Date(e)),rx(e=>e instanceof Error,"Error",(e,t)=>{let r={name:e.name,message:e.message};return t.allowedErrorProps.forEach(t=>{r[t]=e[t]}),r},(e,t)=>{let r=Error(e.message);return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach(t=>{r[t]=e[t]}),r}),rx(e=>e instanceof RegExp,"regexp",e=>""+e,e=>{let t=e.slice(1,e.lastIndexOf("/")),r=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,r)}),rx(rE,"set",e=>[...e.values()],e=>new Set(e)),rx(r_,"map",e=>[...e.entries()],e=>new Map(e)),rx(e=>rw(e)||rS(e),"number",e=>rw(e)?"NaN":e>0?"Infinity":"-Infinity",Number),rx(e=>0===e&&1/e==-1/0,"number",()=>"-0",Number),rx(e=>e instanceof URL,"URL",e=>e.toString(),e=>new URL(e))];function rA(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}let rR=rA((e,t)=>{if(rk(e)){let r=!!t.symbolRegistry.getIdentifier(e);return r}return!1},(e,t)=>{let r=t.symbolRegistry.getIdentifier(e);return["symbol",r]},e=>e.description,(e,t,r)=>{let n=r.symbolRegistry.getValue(t[1]);if(!n)throw Error("Trying to deserialize unknown symbol");return n}),rC=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),rF=rA(e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{let r=rC[t[1]];if(!r)throw Error("Trying to deserialize unknown typed array");return new r(e)});function rP(e,t){if(e?.constructor){let r=!!t.classRegistry.getIdentifier(e.constructor);return r}return!1}let rj=rA(rP,(e,t)=>{let r=t.classRegistry.getIdentifier(e.constructor);return["class",r]},(e,t)=>{let r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return{...e};let n={};return r.forEach(t=>{n[t]=e[t]}),n},(e,t,r)=>{let n=r.classRegistry.getValue(t[1]);if(!n)throw Error(`Trying to deserialize unknown class '${t[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`);return Object.assign(Object.create(n.prototype),e)}),rM=rA((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>{let r=t.customTransformerRegistry.findApplicable(e);return["custom",r.name]},(e,t)=>{let r=t.customTransformerRegistry.findApplicable(e);return r.serialize(e)},(e,t,r)=>{let n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw Error("Trying to deserialize unknown custom value");return n.deserialize(e)}),rL=[rj,rR,rM,rF],rq=(e,t)=>{let r=rc(rL,r=>r.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};let n=rc(rN,r=>r.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation}},rQ={};rN.forEach(e=>{rQ[e.annotation]=e});let rV=(e,t,r)=>{if(rv(t))switch(t[0]){case"symbol":return rR.untransform(e,t,r);case"class":return rj.untransform(e,t,r);case"custom":return rM.untransform(e,t,r);case"typed-array":return rF.untransform(e,t,r);default:throw Error("Unknown transformation: "+t)}else{let n=rQ[t];if(!n)throw Error("Unknown transformation: "+t);return n.untransform(e,r)}},rU=(e,t)=>{if(t>e.size)throw Error("index out of bounds");let r=e.keys();for(;t>0;)r.next(),t--;return r.next().value};function rB(e){if(ru(e,"__proto__"))throw Error("__proto__ is not allowed as a property");if(ru(e,"prototype"))throw Error("prototype is not allowed as a property");if(ru(e,"constructor"))throw Error("constructor is not allowed as a property")}let rz=(e,t)=>{rB(t);for(let r=0;r<t.length;r++){let n=t[r];if(rE(e))e=rU(e,+n);else if(r_(e)){let i=+n,o=0==+t[++r]?"key":"value",a=rU(e,i);switch(o){case"key":e=a;break;case"value":e=e.get(a)}}else e=e[n]}return e},rG=(e,t,r)=>{if(rB(t),0===t.length)return r(e);let n=e;for(let e=0;e<t.length-1;e++){let r=t[e];if(rv(n)){let e=+r;n=n[e]}else if(rd(n))n=n[r];else if(rE(n)){let e=+r;n=rU(n,e)}else if(r_(n)){let i=e===t.length-2;if(i)break;let o=+r,a=0==+t[++e]?"key":"value",s=rU(n,o);switch(a){case"key":n=s;break;case"value":n=n.get(s)}}}let i=t[t.length-1];if(rv(n)?n[+i]=r(n[+i]):rd(n)&&(n[i]=r(n[i])),rE(n)){let e=rU(n,+i),t=r(e);e!==t&&(n.delete(e),n.add(t))}if(r_(n)){let e=+t[t.length-2],o=rU(n,e);switch(0==+i?"key":"value"){case"key":{let e=r(o);n.set(e,n.get(o)),e!==o&&n.delete(o);break}case"value":n.set(o,r(n.get(o)))}}return e},rK=(e,t)=>rd(e)||rv(e)||r_(e)||rE(e)||rP(e,t),rW=(e,t,r,n,i=[],o=[],a=new Map)=>{let s=rO(e);if(!s){!function(e,t,r){let n=r.get(e);n?n.push(t):r.set(e,[t])}(e,i,t);let r=a.get(e);if(r)return n?{transformedValue:null}:r}if(!rK(e,r)){let t=rq(e,r),n=t?{transformedValue:t.value,annotations:[t.type]}:{transformedValue:e};return s||a.set(e,n),n}if(ru(o,e))return{transformedValue:null};let u=rq(e,r),c=u?.value??e,l=rv(c)?[]:{},f={};rs(c,(s,u)=>{if("__proto__"===u||"constructor"===u||"prototype"===u)throw Error(`Detected property ${u}. This is a prototype pollution risk, please remove it from your object.`);let c=rW(s,t,r,n,[...i,u],[...o,e],a);l[u]=c.transformedValue,rv(c.annotations)?f[u]=c.annotations:rd(c.annotations)&&rs(c.annotations,(e,t)=>{f[rT(u)+"."+t]=e})});let h=ry(f)?{transformedValue:l,annotations:u?[u.type]:void 0}:{transformedValue:l,annotations:u?[u.type,f]:f};return s||a.set(e,h),h};function rY(e){return Object.prototype.toString.call(e).slice(8,-1)}function r$(e){return"Array"===rY(e)}class rJ{constructor({dedupe:e=!1}={}){this.classRegistry=new ra,this.symbolRegistry=new ro(e=>e.description??""),this.customTransformerRegistry=new rl,this.allowedErrorProps=[],this.dedupe=e}serialize(e){let t=new Map,r=rW(e,t,this,this.dedupe),n={json:r.transformedValue};r.annotations&&(n.meta={...n.meta,values:r.annotations});let i=function(e,t){let r;let n={};
13return(e.forEach(e=>{if(e.length<=1)return;t||(e=e.map(e=>e.map(String)).sort((e,t)=>e.length-t.length));let[i,...o]=e;0===i.length?r=o.map(rI):n[rI(i)]=o.map(rI)}),r)?ry(n)?[r]:[r,n]:ry(n)?void 0:n}(t,this.dedupe);return i&&(n.meta={...n.meta,referentialEqualities:i}),n}deserialize(e){let{json:t,meta:r}=e,n=function e(t,r={}){if(r$(t))return t.map(t=>e(t,r));if(!function(e){if("Object"!==rY(e))return!1;let t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(t))return t;let n=Object.getOwnPropertyNames(t),i=Object.getOwnPropertySymbols(t);return[...n,...i].reduce((n,i)=>{if(r$(r.props)&&!r.props.includes(i))return n;let o=t[i],a=e(o,r);return!function(e,t,r,n,i){let o=({}).propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=r),i&&"nonenumerable"===o&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}(n,i,a,t,r.nonenumerable),n},{})}(t);if(r?.values){var i,o,a;i=n,o=r.values,a=this,function e(t,r,n=[]){if(!t)return;if(!rv(t)){rs(t,(t,i)=>e(t,r,[...n,...rD(i)]));return}let[i,o]=t;o&&rs(o,(t,i)=>{e(t,r,[...n,...rD(i)])}),r(i,n)}(o,(e,t)=>{i=rG(i,t,t=>rV(t,e,a))}),n=i}return r?.referentialEqualities&&(n=function(e,t){function r(t,r){let n=rz(e,rD(r));t.map(rD).forEach(t=>{e=rG(e,t,()=>n)})}if(rv(t)){let[n,i]=t;n.forEach(t=>{e=rG(e,rD(t),()=>e)}),i&&rs(i,r)}else rs(t,r);return e}(n,r.referentialEqualities)),n}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}}rJ.defaultInstance=new rJ,rJ.serialize=rJ.defaultInstance.serialize.bind(rJ.defaultInstance),rJ.deserialize=rJ.defaultInstance.deserialize.bind(rJ.defaultInstance),rJ.stringify=rJ.defaultInstance.stringify.bind(rJ.defaultInstance),rJ.parse=rJ.defaultInstance.parse.bind(rJ.defaultInstance),rJ.registerClass=rJ.defaultInstance.registerClass.bind(rJ.defaultInstance),rJ.registerSymbol=rJ.defaultInstance.registerSymbol.bind(rJ.defaultInstance),rJ.registerCustom=rJ.defaultInstance.registerCustom.bind(rJ.defaultInstance),rJ.allowErrorProps=rJ.defaultInstance.allowErrorProps.bind(rJ.defaultInstance),rJ.serialize,rJ.deserialize,rJ.stringify,rJ.parse,rJ.registerClass,rJ.registerCustom,rJ.registerSymbol,rJ.allowErrorProps;var rH=Symbol.for("ApolloSSRDataTransport"),rX={},rZ=(r(24033),{pkg:"@apollo/experimental-nextjs-app-support/ssr",client:"NextSSRApolloClient",cache:"NextSSRInMemoryCache"}),r0=function(e){let t=({makeClient:r,children:n,...i})=>{let o=(0,a.useRef)();if(o.current=window[rn]??=r(),!(o.current instanceof rr))throw Error(`When using \`ApolloClient\` in streaming SSR, you must use the \`${t.info.client}\` export provided by \`"${t.info.pkg}"\`.`);return a.createElement(t1,{client:o.current},a.createElement(e,{onQueryEvent:e=>"started"===e.type?o.current.onQueryStarted(e):o.current.onQueryProgress(e),rerunSimulatedQueries:o.current.rerunSimulatedQueries,registerDispatchRequestStarted:o.current.watchQueryQueue?.register,...i},n))};return t.info=t9,t}(function({children:e,onQueryEvent:t,rerunSimulatedQueries:r}){let n=(0,a.useRef)({});(function({onQueryEvent:e,onRehydrate:t}){!function(e,t){let r=window[e]||[];Array.isArray(r)&&(window[e]={push:(...e)=>{for(let r of e)t(r)}},window[e].push(...r))}(rH,r=>{let n=rJ.deserialize(r);for(let r of(t2.kG.debug("received data from the server:",n),t(n.rehydrate),n.events))e(r)})})({onQueryEvent:t,onRehydrate(e){Object.assign(n.current,e)}}),(0,a.useEffect)(()=>{if("complete"!==document.readyState)return window.addEventListener("load",r,{once:!0}),()=>window.removeEventListener("load",r);r()},[r]);let i=(0,a.useCallback)(function(e){let t=(0,a.useId)(),r=n.current,i=(0,a.useRef)(rX);return i.current===rX&&(r&&t in r?(i.current=r[t],delete r[t]):i.current=e),i},[]);return a.createElement(t8.Provider,{value:(0,a.useMemo)(()=>({useStaticValueRef:i}),[i])},e)});r0.info=rZ;var r1=class extends rr{static info=rZ}},31621:function(e,t,r){"use strict";r.d(t,{w:function(){return f}});var n=r(1235),i=r(32095),o=r(20283),a=r(57164),s=r(2265),u=r(96101),c=r(62677),l=r(57437),f=({children:e,navigate:t,disableAnimation:r,useHref:f,disableRipple:h=!1,skipFramerMotionAnimations:p=r,reducedMotion:d="never",validationBehavior:y,locale:v="en-US",defaultDates:m,createCalendar:g,...b})=>{let _=e;t&&(_=(0,l.jsx)(o.pG,{navigate:t,useHref:f,children:_}));let E=(0,s.useMemo)(()=>(r&&p&&(u.c.skipAnimations=!0),{createCalendar:g,defaultDates:m,disableAnimation:r,disableRipple:h,validationBehavior:y}),[g,null==m?void 0:m.maxDate,null==m?void 0:m.minDate,r,h,y]);return(0,l.jsx)(n.a,{value:E,children:(0,l.jsx)(i.b,{locale:v,children:(0,l.jsx)(c.A,{reducedMotion:d,children:(0,l.jsx)(a.N3,{...b,children:_})})})})}},64565:function(e,t,r){"use strict";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)}}},72074:function(e,t,r){"use strict";function n(){}r.d(t,{k:function(){return s}});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
13,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))}}},36510:function(e,t,r){"use strict";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),s=n.call(r);if(a!==s)return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=u(t),o=u(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 u(e){return Object.keys(e).filter(c,e)}function c(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}},62677:function(e,t,r){"use strict";r.d(t,{A:function(){return u}});var n=r(57437),i=r(2265),o=r(45968),a=r(17587),s=r(10961);function u({children:e,isValidProp:t,...r}){t&&(0,a.K)(t),(r={...(0,i.useContext)(o._),...r}).isStatic=(0,s.h)(()=>r.isStatic);let u=(0,i.useMemo)(()=>r,[JSON.stringify(r.transition),r.transformPagePoint,r.reducedMotion]);return(0,n.jsx)(o._.Provider,{value:u,children:e})}},86771:function(e,t,r){"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{a:function(){return n}})},94775:function(e,t,r){"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";let n=Math.min(10,t.length),i=t.length-n,o=[];for(let i=0;i<n;++i)o.push(e(t[i],r));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);if(0===n.length)return"{}";if(r.length>2)return"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]";let i=n.map(([t,n])=>t+": "+e(n,r));return"{ "+i.join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(e,[])}r.d(t,{X:function(){return n}})},5064:function(e,t,r){"use strict";var n,i;r.d(t,{UG:function(){return u},WU:function(){return o},Ye:function(){return Location},h8:function(){return a},ku:function(){return n}});class Location{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let a={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:[],Float
13Value:[],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"]},s=new Set(Object.keys(a));function u(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},37063:function(e,t,r){"use strict";r.d(t,{LZ:function(){return o},wv:function(){return i}});var n=r(10185);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=function(e){let t=0;for(;t<e.length&&(0,n.FD)(e.charCodeAt(t));)++t;return t}(s);u!==s.length&&(o=null!==(r=o)&&void 0!==r?r:t,a=t,0!==t&&u<i&&(i=u))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.FD)(e.charCodeAt(0))),s=r.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s),h="",p=o&&(0,n.FD)(e.charCodeAt(0));return(f&&!p||a)&&(h+="\n"),h+=r,(f||l)&&(h+="\n"),'"""'+h+'"""'}},10185:function(e,t,r){"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{FD:function(){return n},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},55459:function(e,t,r){"use strict";var n,i;r.d(t,{h:function(){return n}}),(i=n||(n={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},34829:function(e,t,r){"use strict";r.d(t,{$_:function(){return s},Vn:function(){return u}});var n=r(86771),i=r(94775),o=r(5064),a=r(55459);let s=Object.freeze({});
13function u(e,t,r=o.h8){let u,c,l;let f=new Map;for(let e of Object.values(a.h))f.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let h=Array.isArray(e),p=[e],d=-1,y=[],v=e,m=[],g=[];do{var b,_,E;let e;d++;let a=d===p.length,k=a&&0!==y.length;if(a){if(c=0===g.length?void 0:m[m.length-1],v=l,l=g.pop(),k){if(h){v=v.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(v.splice(n,1),e++):v[n]=r}}else for(let[e,t]of(v=Object.defineProperties({},Object.getOwnPropertyDescriptors(v)),y))v[e]=t}d=u.index,p=u.keys,y=u.edits,h=u.inArray,u=u.prev}else if(l){if(null==(v=l[c=h?d:p[d]]))continue;m.push(c)}if(!Array.isArray(v)){(0,o.UG)(v)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(v)}.`);let r=a?null===(b=f.get(v.kind))||void 0===b?void 0:b.leave:null===(_=f.get(v.kind))||void 0===_?void 0:_.enter;if((e=null==r?void 0:r.call(t,v,c,l,m,g))===s)break;if(!1===e){if(!a){m.pop();continue}}else if(void 0!==e&&(y.push([c,e]),!a)){if((0,o.UG)(e))v=e;else{m.pop();continue}}}void 0===e&&k&&y.push([c,v]),a?m.pop():(u={inArray:h,index:d,keys:p,edits:y,prev:u},p=(h=Array.isArray(v))?v:null!==(E=r[v.kind])&&void 0!==E?E:[],d=-1,y=[],l&&g.push(l),l=v)}while(void 0!==u);return 0!==y.length?y[y.length-1][1]:e}},60891:function(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:function(){return n}})},58388:function(e,t,r){"use strict";r.d(t,{ej:function(){return u},kG:function(){return c}});var n,i=r(50044),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=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.__extends)(t,e),t}(Error);function c(e,t){if(!e)throw new u(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=c||(c={})).debug=h("debug"),n.log=h("log"),n.warn=h("warn"),n.error=h("error")},50044:function(e,t,r){"use strict";r.r(t),r.d(t,{__addDisposableResource:function(){return P},__assign:function(){return o},__asyncDelegator:function(){return S},__asyncGenerator:function(){return O},__asyncValues:function(){return T},__await:function(){return w},__awaiter:function(){return d},__classPrivateFieldGet:function(){return R},__classPrivateFieldIn:function(){return F},__classPrivateFieldSet:function(){return C},__createBinding:function(){return v},__decorate:function(){return s},__disposeResources:function(){return M},__esDecorate:function(){return c},__exportStar:function(){return m},__extends:function(){return i},__generator:function(){return y},__importDefault:function(){return A},__importStar:function(){return N}
13,__makeTemplateObject:function(){return I},__metadata:function(){return p},__param:function(){return u},__propKey:function(){return f},__read:function(){return b},__rest:function(){return a},__rewriteRelativeImportExtension:function(){return L},__runInitializers:function(){return l},__setFunctionName:function(){return h},__spread:function(){return _},__spreadArray:function(){return k},__spreadArrays:function(){return E},__values:function(){return g}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t,r,n,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,u=n.kind,c="getter"===u?"get":"setter"===u?"set":"value",l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),h=!1,p=r.length-1;p>=0;p--){var d={};for(var y in n)d[y]="access"===y?{}:n[y];for(var y in n.access)d.access[y]=n.access[y];d.addInitializer=function(e){if(h)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var v=(0,r[p])("accessor"===u?{get:f.get,set:f.set}:f[c],d);if("accessor"===u){if(void 0===v)continue;if(null===v||"object"!=typeof v)throw TypeError("Object expected");(s=a(v.get))&&(f.get=s),(s=a(v.set))&&(f.set=s),(s=a(v.init))&&i.unshift(s)}else(s=a(v))&&("field"===u?i.unshift(s):f[c]=s)}l&&Object.defineProperty(l,n.name,f),h=!0}function l(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function f(e){return"symbol"==typeof e?e:"".concat(e)}function h(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function p(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function y(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}var v=Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
vendor: 4,274 bytes, line 13
13(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function m(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||v(t,e,r)}function g(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function E(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n}function k(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function w(e){return this instanceof w?(this.v=e,this):new w(e)}function O(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,c)}}),n[Symbol.asyncIterator]=function(){return this},n;function a(e,t){i[e]&&(n[e]=function(t){return new Promise(function(r,n){o.push([e,t,r,n])>1||s(e,t)})},t&&(n[e]=t(n[e])))}function s(e,t){try{var r;(r=i[e](t)).value instanceof w?Promise.resolve(r.value.v).then(u,c):l(o[0][2],r)}catch(e){l(o[0][3],e)}}function u(e){s("next",e)}function c(e){s("throw",e)}function l(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function S(e){var t,r;return t={},n("next"),n("throw",function(e){throw e}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:w(e[n](t)),done:!1}:i?i(t):t}:i}}function T(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=g(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise(function(n,i){!function(e,t,r,n){Promise.resolve(n).then(function(t){e({value:t,done:r})},t)}(n,i,(t=e[r](t)).done,t.value)})}}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var D=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},x=function(e){return(x=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)};function N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=x(e),n=0;n<r.length;n++)"default"!==r[n]&&v(t,e,r[n]);return D(t,e),t}function A(e){return e&&e.__esModule?e:{default:e}}function R(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function C(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}function F(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function P(e,t,r){if(null!=t){var n,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");
13if(r){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if("function"!=typeof n)throw TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var j="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var n=Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};function M(e){function t(t){e.error=e.hasError?new j(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,n=0;return function i(){for(;r=e.stack.pop();)try{if(!r.async&&1===n)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else n|=1}catch(e){t(e)}if(1===n)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function L(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,r,n,i,o){return r?t?".jsx":".js":!n||i&&o?n+i+"."+o.toLowerCase()+"js":e}):e}t.default={__extends:i,__assign:o,__rest:a,__decorate:s,__param:u,__esDecorate:c,__runInitializers:l,__propKey:f,__setFunctionName:h,__metadata:p,__awaiter:d,__generator:y,__createBinding:v,__exportStar:m,__values:g,__read:b,__spread:_,__spreadArrays:E,__spreadArray:k,__await:w,__asyncGenerator:O,__asyncDelegator:S,__asyncValues:T,__makeTemplateOb
13ject:I,__importStar:N,__importDefault:A,__classPrivateFieldGet:R,__classPrivateFieldSet:C,__classPrivateFieldIn:F,__addDisposableResource:P,__disposeResources:M,__rewriteRelativeImportExtension:L}},38681:function(e,t,r){"use strict";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 k}});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function p(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:k}function d(e){d.log?d.log(e):setTimeout(function(){throw e})}function y(e){Promise.resolve().then(function(){try{e()}catch(e){d(e)}})}function v(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 g(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?v(e):"running"===e._state&&(e._state="ready")}function b(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}],y(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(g(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});return}g(e,t,r)}}var _=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),v(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){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),k=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,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++]
13))}})}(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 k&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,c)))return new r(function(e){y(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,t);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,t)}}(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){y(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){y(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(k,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.