1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2965],{34491:(e,t,i)=>{i.d(t,{E:()=>r});var n=i(12115);let r=i(63453).S?n.useLayoutEffect:n.useEffect},44573:(e,t,i)=>{i.d(t,{J1:()=>Q});var n,r=i(49303);let s=/\r\n|[\n\r]/g;function a(e,t){let i=0,n=1;for(let r of e.body.matchAll(s)){if("number"!=typeof r.index&&function(e){if(!e)throw Error((void 0)??"Unexpected invariant triggered.")}(!1),r.index>=t)break;i=r.index+r[0].length,n+=1}return{line:n,column:t+1-i}}function o(e,t){let i=e.locationOffset.column-1,n="".padStart(i)+e.body,r=t.line-1,s=e.locationOffset.line-1,a=t.line+s,o=1===t.line?i:0,c=t.column+o,l=`${e.name}:${a}:${c} 2`,p=n.split(/\r\n|[\n\r]/g),u=p[r];if(u.length>120){let e=Math.floor(c/80),t=[];for(let e=0;e<u.length;e+=80)t.push(u.slice(e,e+80));return l+h([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(c%80)],["|",t[e+1]]])}return l+h([[`${a-1} |`,p[r-1]],[`${a} |`,u],["|","^".padStart(c)],[`${a+1} |`,p[r+1]]])}function h(e){let t=e.filter(([e,t])=>void 0!==t),i=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(i)+(t?" "+t:"")).join("\n")}class c extends Error{constructor(e,t={}){const{nodes:i,source:n,positions:r,path:s,originalError:o,cause:h,extensions:p}=t,u="cause"in t,d=u?h:o;super(e,u||null!=o?{cause:d}:void 0),this.name="GraphQLError",this.path=s??void 0;const f=o??(h instanceof Error?h:void 0);this.originalError=f,this.nodes=l(Array.isArray(i)?i:i?[i]:void 0);const x=l(this.nodes?.map(e=>e.loc).filter(e=>null!=e));this.source=n??x?.[0]?.source,this.positions=r??x?.map(e=>e.start),this.locations=r&&n?r.map(e=>a(n,e)):x?.map(e=>a(e.source,e.start));const E=!function(e){return"object"==typeof e&&null!==e}(f?.extensions)?void 0:f.extensions;this.extensions=p??E??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}}),o?.stack!=null?Object.defineProperty(this,"stack",{value:o.stack,writable:!0,configurable:!0}):null!=Error.captureStackTrace?Error.captureStackTrace(this,c):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 i of this.nodes){var t;i.loc&&(e+="\n\n"+o((t=i.loc).source,a(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+o(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 l(e){return void 0===e||0===e.length?void 0:e}function p(e,t,i){return new c(`Syntax Error: ${i}`,{source:e,positions:[t]})}let u=function(){let e;try{let t=globalThis.process;"function"==typeof t?.getBuiltinModule&&(e=t.getBuiltinModule("node:diagnostics_channel"))}catch{}return e}(),d=u?.tracingChannel("graphql:parse");u?.tracingChannel("graphql:validate"),u?.tracingChannel("graphql:execute"),u?.tracingChannel("graphql:execute:variableCoercion"),u?.tracingChannel("graphql:execute:rootSelectionSet"),u?.tracingChannel("graphql:subscribe"),u?.tracingChannel("graphql:resolve");let f=["start","end","asyncStart","asyncEnd","error"];var x=i(23061);let E={QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",FRAGMENT_VARIABLE_DEFINITION:"FRAGMENT_VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION",DIRECTIVE_DEFINITION:"DIRECTIVE_DEFINITION"};var m=i(35021),k=i(70081),T=i(60290);let I="<SOF>",N="<EOF>",v="Name",D="Float",_="String",y="BlockString",O="Comment";
2class g{constructor(e){const t=new x.ou(I,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==N)do if(e.next)e=e.next;else{let t=function(e,t){let i=e.source.body,n=i.length,r=t;for(;r<n;){let t=i.charCodeAt(r);switch(t){case 65279:case 9:case 32:case 44:++r;continue;case 10:++r,++e.line,e.lineStart=r;continue;case 13:10===i.charCodeAt(r+1)?r+=2:++r,++e.line,e.lineStart=r;continue;case 35:return function(e,t){let i=e.source.body,n=i.length,r=t+1;for(;r<n;){let e=i.charCodeAt(r);if(10===e||13===e)break;if(C(e))++r;else if(A(i,r))r+=2;else break}return F(e,O,t,r,i.slice(t+1,r))}(e,r);case 33:return F(e,"!",r,r+1);case 36:return F(e,"$",r,r+1);case 38:return F(e,"&",r,r+1);case 40:return F(e,"(",r,r+1);case 41:return F(e,")",r,r+1);case 46:{let t=i.charCodeAt(r+1);if(46===t&&46===i.charCodeAt(r+2))return F(e,"...",r,r+3);if(46===t)throw p(e.source,r,'Unexpected "..", did you mean "..."?');if((0,T.yp)(t)){let i=e.source.body.slice(r+1,L(e,r+1,t));throw p(e.source,r,`Invalid number, expected digit before ".", did you mean "0.${i}"?`)}break}case 58:return F(e,":",r,r+1);case 61:return F(e,"=",r,r+1);case 64:return F(e,"@",r,r+1);case 91:return F(e,"[",r,r+1);case 93:return F(e,"]",r,r+1);case 123:return F(e,"{",r,r+1);case 124:return F(e,"|",r,r+1);case 125:return F(e,"}",r,r+1);case 34:if(34===i.charCodeAt(r+1)&&34===i.charCodeAt(r+2))return function(e,t){let i=e.source.body,n=i.length,r=e.lineStart,s=t+3,a=s,o="",h=[];for(;s<n;){let n=i.charCodeAt(s);if(34===n&&34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)){o+=i.slice(a,s),h.push(o);let n=F(e,y,t,s+3,(0,k.OC)(h).join("\n"));return e.line+=h.length-1,e.lineStart=r,n}if(92===n&&34===i.charCodeAt(s+1)&&34===i.charCodeAt(s+2)&&34===i.charCodeAt(s+3)){o+=i.slice(a,s),a=s+1,s+=4;continue}if(10===n||13===n){o+=i.slice(a,s),h.push(o),13===n&&10===i.charCodeAt(s+1)?s+=2:++s,o="",a=s,r=s;continue}if(C(n))++s;else if(A(i,s))s+=2;else throw p(e.source,s,`Invalid character within String: ${w(e,s)}.`)}throw p(e.source,s,"Unterminated string.")}(e,r);return function(e,t){let i=e.source.body,n=i.length,r=t+1,s=r,a="";for(;r<n;){let n=i.charCodeAt(r);if(34===n)return a+=i.slice(s,r),F(e,_,t,r+1,a);if(92===n){a+=i.slice(s,r);let t=117===i.charCodeAt(r+1)?123===i.charCodeAt(r+2)?function(e,t){let i=e.source.body,n=0,r=3;for(;r<12;){let e=i.charCodeAt(t+r++);if(125===e){if(r<5||!C(n))break;return{value:String.fromCodePoint(n),size:r}}if((n=n<<4|U(e))<0)break}throw p(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+r)}".`)}(e,r):function(e,t){let i=e.source.body,n=R(i,t+2);if(C(n))return{value:String.fromCodePoint(n),size:6};if(b(n)&&92===i.charCodeAt(t+6)&&117===i.charCodeAt(t+7)){let e=R(i,t+8);if(S(e))return{value:String.fromCodePoint(n,e),size:12}}throw p(e.source,t,`Invalid Unicode escape sequence: "${i.slice(t,t+6)}".`)}(e,r):function(e,t){let i=e.source.body;switch(i.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:" ",size:2}}throw p(e.source,t,`Invalid character escape sequence: "${i.slice(t,t+2)}".`)}(e,r);a+=t.value,r+=t.size,s=r;continue}if(10===n||13===n)break;if(C(n))++r;else if(A(i,r))r+=2;else throw p(e.source,r,`Invalid character within String: ${w(e,r)}.`)}throw p(e.source,r,"Unterminated string.")}(e,r)}if((0,T.yp)(t)||45===t)return function(e,t,i){let n=e.source.body,r=t,s=i,a=!1;if(45===s&&(s=n.charCodeAt(++r)),48===s){if(s=n.charCodeAt(++r),(0,T.yp)(s))throw p(e.source,r,`Invalid number, unexpected digit after 0: ${w(e,r)}.`)}else r=L(e,r,s),s=n.charCodeAt(r);if(46===s&&(a=!0,s=n.charCodeAt(++r),r=L(e,r,s),s=n.charCodeAt(r)),(69===s||101===s)&&(a=!0,(43===(s=n.charCodeAt(++r))||45===s)&&(s=n.charCodeAt(++r)),r=L(e,r,s),s=n.charCodeAt(r)),46===s||(0,T.un)(s))throw p(e.source,r,`Invalid number, expected digit but got: ${w(e,r)}.`);return F(e,a?D:"Int",t,r,n.slice(t,r))}(e,r,t);if((0,T.un)(t))return function(e,t){let i=e.source.body,n=i.length,r=t+1;for(;r<n;){let e=i.charCodeAt(r);if((0,T.xr)(e))++r;else break}return F(e,v,t,r,i.slice(t,r))}(e,r);throw p(e.source,r,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":C(t)||A(i,r)?`Unexpected character: ${w(e,r)}.`:`Invalid character: ${w(e,r)}.`)}return F(e,N,n,n)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===O);return e}}function C(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function A(e,t){return b(e.charCodeAt(t))&&S(e.charCodeAt(t+1))}function b(e){return e>=55296&&e<=56319}function S(e){return e>=56320&&e<=57343}function w(e,t){let i=e.source.body.codePointAt(t);if(void 0===i)return N;if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":`"${e}"`}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function F(e,t,i,n,r){let s=e.line,a=1+i-e.lineStart;return new x.ou(t,i,n,s,a,r)}function L(e,t,i){if(!(0,T.yp)(i))throw p(e.source,t,`Invalid number, expected digit but got: ${w(e,t)}.`);let n=e.source.body,r=t+1;for(;(0,T.yp)(n.charCodeAt(r));)++r;return r}function R(e,t){return U(e.charCodeAt(t))<<12|U(e.charCodeAt(t+1))<<8|U(e.charCodeAt(t+2))<<4|U(e.charCodeAt(t+3))}function U(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var M=i(45866);let V=Symbol("Source");class P{constructor(e,t="GraphQL request",i={line:1,column:1}){this.__kind=V,this.body=e,this.name=t,this.locationOffset=i,this.locationOffset.line>0||(0,M.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,M.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function $(e,t){let i=new K(e,t),n=i.parseDocument();return Object.defineProperty(n,"tokenCount",{enumerable:!1,value:i.tokenCount}),n}class K{constructor(e,t={}){const{lexer:i,...n}=t;if(i)this._lexer=i;else{const t=!function(e){return e?.__kind===V}(e)?new P(e):e;this._lexer=new g(t)}this._options=n,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(v);return this.node(e,{kind:m.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:m.DOCUMENT,definitions:this.many(I,this.parseDefinition,N)})}parseDefinition(){if(this.peek("{"))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&"{"===t.kind)throw p(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===v){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()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw p(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
2ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek("{"))return this.node(t,{kind:m.OPERATION_DEFINITION,operation:x.cE.QUERY,description:void 0,name:void 0,variableDefinitions:void 0,directives:void 0,selectionSet:this.parseSelectionSet()});let i=this.parseDescription(),n=this.parseOperationType();return this.peek(v)&&(e=this.parseName()),this.node(t,{kind:m.OPERATION_DEFINITION,operation:n,description:i,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(v);switch(e.value){case"query":return x.cE.QUERY;case"mutation":return x.cE.MUTATION;case"subscription":return x.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany("(",this.parseVariableDefinition,")")}parseVariableDefinition(){return this.node(this._lexer.token,{kind:m.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(":"),this.parseTypeReference()),defaultValue:this.expectOptionalToken("=")?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken("$"),this.node(e,{kind:m.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:m.SELECTION_SET,selections:this.many("{",this.parseSelection,"}")})}parseSelection(){return this.peek("...")?this.parseFragment():this.parseField()}parseField(){let e,t,i=this._lexer.token,n=this.parseName();return this.expectOptionalToken(":")?(e=n,t=this.parseName()):t=n,this.node(i,{kind:m.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek("{")?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany("(",t,")")}parseFragmentArguments(){let e=this.parseFragmentArgument;return this.optionalMany("(",e,")")}parseArgument(e=!1){let t=this._lexer.token,i=this.parseName();return this.expectToken(":"),this.node(t,{kind:m.ARGUMENT,name:i,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragmentArgument(){let e=this._lexer.token,t=this.parseName();return this.expectToken(":"),this.node(e,{kind:m.FRAGMENT_ARGUMENT,name:t,value:this.parseValueLiteral(!1)})}parseFragment(){let e=this._lexer.token;this.expectToken("...");let t=this.expectOptionalKeyword("on");if(!t&&this.peek(v)){let t=this.parseFragmentName();return this.peek("(")&&this._options.experimentalFragmentArguments?this.node(e,{kind:m.FRAGMENT_SPREAD,name:t,arguments:this.parseFragmentArguments(),directives:this.parseDirectives(!1)}):this.node(e,{kind:m.FRAGMENT_SPREAD,name:t,directives:this.parseDirectives(!1)})}return this.node(e,{kind:m.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.experimentalFragmentArguments)?this.node(e,{kind:m.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:m.FRAGMENT_DEFINITION,description:t,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"[":return this.parseList(e);case"{":return this.parseObject(e);case"Int":return this.advanceLexer(),this.node(t,{kind:m.INT,value:t.value});case D:return this.advanceLexer(),this.node(t,{kind:m.FLOAT,value:t.value});case _:case y:return this.parseStringLiteral();case v:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:m.BOOLEAN,value:!0});case"false":return this.node(t,{kind:m.BOOLEAN,value:!1});case"null":return this.node(t,{kind:m.NULL});default:return this.node(t,{kind:m.ENUM,value:t.value})}case"$":if(e){if(this.expectToken("$"),this._lexer.token.kind===v){let e=this._lexer.token.value;throw p(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.STRING,value:e.value,block:e.kind===y})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:m.LIST,values:this.any("[",t,"]")})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:m.OBJECT,fields:this.any("{",t,"}")})}parseObjectField(e){let t=this._lexer.token,i=this.parseName();return this.expectToken(":"),this.node(t,{kind:m.OBJECT_FIELD,name:i,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek("@");)t.push(this.parseDirective(e));if(t.length)return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken("@"),this.node(t,{kind:m.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken("[")){let i=this.parseTypeReference();this.expectToken("]"),e=this.node(t,{kind:m.LIST_TYPE,type:i})}else e=this.parseNamedType();return this.expectOptionalToken("!")?this.node(t,{kind:m.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:m.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(_)||this.peek(y)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let i=this.parseConstDirectives(),n=this.many("{",this.parseOperationTypeDefinition,"}");return this.node(e,{kind:m.SCHEMA_DEFINITION,description:t,directives:i,operationTypes:n})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(":");let i=this.parseNamedType();
2return this.node(e,{kind:m.OPERATION_TYPE_DEFINITION,operation:t,type:i})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let i=this.parseName(),n=this.parseConstDirectives();return this.node(e,{kind:m.SCALAR_TYPE_DEFINITION,description:t,name:i,directives:n})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:m.OBJECT_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany("&",this.parseNamedType):void 0}parseFieldsDefinition(){return this.optionalMany("{",this.parseFieldDefinition,"}")}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseName(),n=this.parseArgumentDefs();this.expectToken(":");let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:m.FIELD_DEFINITION,description:t,name:i,arguments:n,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany("(",this.parseInputValueDef,")")}parseInputValueDef(){let e,t=this._lexer.token,i=this.parseDescription(),n=this.parseName();this.expectToken(":");let r=this.parseTypeReference();this.expectOptionalToken("=")&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:m.INPUT_VALUE_DEFINITION,description:i,name:n,type:r,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let i=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:m.INTERFACE_TYPE_DEFINITION,description:t,name:i,interfaces:n,directives:r,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:m.UNION_TYPE_DEFINITION,description:t,name:i,directives:n,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken("=")?this.delimitedMany("|",this.parseNamedType):void 0}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let i=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:m.ENUM_TYPE_DEFINITION,description:t,name:i,directives:n,values:r})}parseEnumValuesDefinition(){return this.optionalMany("{",this.parseEnumValueDefinition,"}")}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),i=this.parseEnumValueName(),n=this.parseConstDirectives();return this.node(e,{kind:m.ENUM_VALUE_DEFINITION,description:t,name:i,directives:n})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw p(this._lexer.source,this._lexer.token.start,`${G(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 i=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:m.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:i,directives:n,fields:r})}parseInputFieldsDefinition(){return this.optionalMany("{",this.parseInputValueDef,"}")}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===v)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();case"directive":return this.parseDirectiveExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),i=this.optionalMany("{",this.parseOperationTypeDefinition,"}");if(void 0===t&&void 0===i)throw this.unexpected();return this.node(e,{kind:m.SCHEMA_EXTENSION,directives:t,operationTypes:i})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),i=this.parseConstDirectives();if(void 0===i)throw this.unexpected();return this.node(e,{kind:m.SCALAR_TYPE_EXTENSION,name:t,directives:i})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(void 0===i&&void 0===n&&void 0===r)throw this.unexpected();return this.node(e,{kind:m.OBJECT_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(void 0===i&&void 0===n&&void 0===r)throw this.unexpected();return this.node(e,{kind:m.INTERFACE_TYPE_EXTENSION,name:t,interfaces:i,directives:n,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();if(void 0===i&&void 0===n)throw this.unexpected();return this.node(e,{kind:m.UNION_TYPE_EXTENSION,name:t,directives:i,types:n})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();if(void 0===i&&void 0===n)throw this.unexpected();return this.node(e,{kind:m.ENUM_TYPE_EXTENSION,name:t,directives:i,values:n})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();if(void 0===i&&void 0===n)throw this.unexpected();return this.node(e,{kind:m.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:i,fields:n})}parseDirectiveExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken("@");let t=this.parseName(),i=this.parseConstDirectives();if(void 0===i)throw this.unexpected();return this.node(e,{kind:m.DIRECTIVE_EXTENSION,name:t,directives:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken("@");let i=this.parseName(),n=this.parseArgumentDefs(),r=this.parseConstDirectives(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:m.DIRECTIVE_DEFINITION,description:t,name:i,arguments:n,directives:r,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany("|",this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.hasOwn(E,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,i=this._lexer.token,n=this.expectOptionalToken("@"),r=this.parseName();return(!n&&this.expectOptionalToken(".")&&(e=this.parseName()),(n||e)&&this.expectOptionalToken("(")&&(t=this.parseName(),this.expectToken(":"),this.expectToken(")")),n)?t?this.node(i,{kind:m.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(i,{kind:m.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(i,{kind:m.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(i,{kind:m.MEMBER_COORDINATE,name:r,memberName:e}):this.node(i,{kind:m.TYPE_COORDINATE,name:r})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new x.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw p(this._lexer.source,t.start,`Expected ${B(e)}, found ${G(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===v&&t.value===e)this.advanceLexer();else throw p(this._lexer.source,t.start,`Expected "${e}", found ${G(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===v&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=e??this._lexer.token;return p(this._lexer.source,t.start,`Unexpected ${G(t)}.`)}any(e,t,i){this.expectToken(e);let n=[];for(;!this.expectOptionalToken(i);)n.push(t.call(this));return n}optionalMany(e,t,i){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(i));return e}}many(e,t,i){this.expectToken(e);let n=[];do n.push(t.call(this));while(!this.expectOptionalToken(i));return n}delimitedMany(e,t){this.expectOptionalToken(e);let i=[];do i.push(t.call(this));while(this.expectOptionalToken(e));return i}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==N&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw p(this._lexer.source,t.start,`Document contains more than ${e} tokens. Parsing aborted.`)}}function G(e){let t=e.value;return B(e.kind)+(null!=t?` "${t}"`:"")}function B(e){return"!"===e||"$"===e||"&"===e||"("===e||")"===e||"."===e||"..."===e||":"===e||"="===e||"@"===e||"["===e||"]"===e||"{"===e||"|"===e||"}"===e?`"${e}"`:e}var j=new Map,Y=new Map,q=!0,J=!1;function z(e){return e.replace(/[\s,]+/g," ").trim()}function Q(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var n=e[0];return t.forEach(function(t,i){t&&"Document"===t.kind?n+=t.loc.source.body:n+=t,n+=e[i+1]}),function(e){var t=z(e);
2if(!j.has(t)){var i,n,s,a,o,h,c=(i={experimentalFragmentVariables:J,allowLegacyFragmentVariables:J,experimentalFragmentArguments:J},!function(e){if(null==e)return!1;let t=e.hasSubscribers;if(void 0!==t)return t;for(let t of f)if(e[t].hasSubscribers)return!0;return!1}(d)?$(e,i):d.traceSync(()=>$(e,i),{source:e}));if(!c||"Document"!==c.kind)throw Error("Not a valid GraphQL document.");j.set(t,((o=new Set((n=new Set,s=[],c.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,i=e.name.value,r=z((t=e.loc).source.body.substring(t.start,t.end)),a=Y.get(i);a&&!a.has(r)?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||Y.set(i,a=new Set),a.add(r),n.has(r)||(n.add(r),s.push(e))}else s.push(e)}),a=(0,r.Cl)((0,r.Cl)({},c),{definitions:s})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var i=e[t];i&&"object"==typeof i&&o.add(i)})}),(h=a.loc)&&(delete h.startToken,delete h.endToken),a))}return j.get(t)}(n)}var X=Q;(n=Q||(Q={})).gql=X,n.resetCaches=function(){j.clear(),Y.clear()},n.disableFragmentWarnings=function(){q=!1},n.enableExperimentalFragmentVariables=function(){J=!0},n.disableExperimentalFragmentVariables=function(){J=!1},Q.default=Q},63453:(e,t,i)=>{i.d(t,{S:()=>n});let n="function"==typeof(0,i(22873).n)(()=>window.document.createElement)},99807:(e,t,i)=>{i.d(t,{m:()=>a});var n=i(12115),r=i(46231),s=i(91789);function a(e){let t=n.useContext((0,s.l)()),i=e||t.client;return(0,r.V1)(!!i,30),i}}}]);
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.