(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[43630],{61232:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===u[0]||2===u[0])){s=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lexer=void 0,t.createToken=f,t.isPunctuatorTokenKind=function(e){return e===a.TokenKind.BANG||e===a.TokenKind.DOLLAR||e===a.TokenKind.AMP||e===a.TokenKind.PAREN_L||e===a.TokenKind.PAREN_R||e===a.TokenKind.DOT||e===a.TokenKind.SPREAD||e===a.TokenKind.COLON||e===a.TokenKind.EQUALS||e===a.TokenKind.AT||e===a.TokenKind.BRACKET_L||e===a.TokenKind.BRACKET_R||e===a.TokenKind.BRACE_L||e===a.TokenKind.PIPE||e===a.TokenKind.BRACE_R},t.printCodePointAt=h,t.readName=E;var i=n(741757),r=n(287232),o=n(322948),s=n(832329),a=n(691287);class u{constructor(e){let t=new r.Token(a.TokenKind.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==a.TokenKind.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,r=n.length,u=t;for(;u=0&&e<=55295||e>=57344&&e<=1114111}function c(e,t){return d(e.charCodeAt(t))&&p(e.charCodeAt(t+1))}function d(e){return e>=55296&&e<=56319}function p(e){return e>=56320&&e<=57343}function h(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return a.TokenKind.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function f(e,t,n,i,o){let s=e.line,a=1+n-e.lineStart;return new r.Token(t,n,i,s,a,o)}function T(e,t,n){if(!(0,s.isDigit)(n))throw(0,i.syntaxError)(e.source,t,`Invalid number, expected digit but got: ${h(e,t)}.`);let r=e.source.body,o=t+1;for(;(0,s.isDigit)(r.charCodeAt(o));)++o;return o}function v(e,t){return y(e.charCodeAt(t))<<12|y(e.charCodeAt(t+1))<<8|y(e.charCodeAt(t+2))<<4|y(e.charCodeAt(t+3))}function y(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function E(e,t){let n=e.source.body,i=n.length,r=t+1;for(;r{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inspect=function(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){if(null===t)return"null";if(n.includes(t))return"[Circular]";let i=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,i)}else if(Array.isArray(t)){var r=t,o=i;if(0===r.length)return"[]";if(o.length>2)return"[Array]";let n=Math.min(10,r.length),s=r.length-n,a=[];for(let t=0;t1&&a.push(`... ${s} more items`),"["+a.join(", ")+"]"}var s=t,a=i;let u=Object.entries(s);return 0===u.length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(s)+"]":"{ "+u.map(([t,n])=>t+": "+e(n,a)).join(", ")+" }"}(t,n);default:return String(t)}}(e,[])}},206015:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=void 0,t.Kind=n,function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(n||(t.Kind=n={}))},213145:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SchemaCoordinateLexer=void 0;var i=n(741757),r=n(287232),o=n(832329),s=n(69470),a=n(691287);class u{line=1;lineStart=0;constructor(e){let t=new r.Token(a.TokenKind.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t}get[Symbol.toStringTag](){return"SchemaCoordinateLexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==a.TokenKind.EOF){let t=function(e,t){let n=e.source.body,r=n.length;if(t{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Token=t.QueryDocumentKeys=t.OperationTypeNode=t.Location=void 0,t.isNode=function(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)};class i{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}t.Location=i;class r{constructor(e,t,n,i,r,o){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,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}}}t.Token=r;let o={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","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:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]};t.QueryDocumentKeys=o;let s=new Set(Object.keys(o));t.OperationTypeNode=n,function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(t.OperationTypeNode=n={}))},287455:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLError=void 0,t.formatError=function(e){return e.toJSON()},t.printError=function(e){return e.toString()};var i=n(569568),r=n(970651),o=n(654264);class s extends Error{constructor(e,...t){var n,o,u;let{nodes:l,source:c,positions:d,path:p,originalError:h,extensions:f}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=p?p:void 0,this.originalError=null!=h?h:void 0,this.nodes=a(Array.isArray(l)?l:l?[l]:void 0);let T=a(null==(n=this.nodes)?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=c?c:null==T||null==(o=T[0])?void 0:o.source,this.positions=null!=d?d:null==T?void 0:T.map(e=>e.start),this.locations=d&&c?d.map(e=>(0,r.getLocation)(c,e)):null==T?void 0:T.map(e=>(0,r.getLocation)(e.source,e.start));let v=(0,i.isObjectLike)(null==h?void 0:h.extensions)?null==h?void 0:h.extensions:void 0;this.extensions=null!=(u=null!=f?f:v)?u: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!=h&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,s):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 t of this.nodes)t.loc&&(e+="\n\n"+(0,o.printLocation)(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+(0,o.printSourceLocation)(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 a(e){return void 0===e||0===e.length?void 0:e}t.GraphQLError=s},298734:function(e,t,n){"use strict";var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])&&(6===u[0]||2===u[0])){s=0;continue}if(3===u[0]&&(!r||u[1]>r[0]&&u[1]t.indexOf(i)&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GraphQLWebSocketClient=t.gql=t.resolveRequestDocument=t.batchRequests=t.request=t.rawRequest=t.GraphQLClient=t.ClientError=void 0;var d=s(n(478640)),p=n(787151),h=n(778152),f=c(n(913031)),T=n(734873),v=n(923356),y=n(538259);Object.defineProperty(t,"ClientError",{enumerable:!0,get:function(){return y.ClientError}});var E=function(e){var t,n={};return e&&("undefined"!=typeof Headers&&e instanceof Headers||d&&d.Headers&&e instanceof d.Headers?(t={},e.forEach(function(e,n){t[n]=e}),n=t):Array.isArray(e)?e.forEach(function(e){var t=e[0],i=e[1];n[t]=i}):n=e),n},m=function(e){return e.replace(/([\s,]|#[^\n\r]+)+/g," ").trim()},k=function(e){var t=e.query,n=e.variables,i=e.operationName,r=e.jsonSerializer;if(!Array.isArray(t)){var o=["query="+encodeURIComponent(m(t))];return n&&o.push("variables="+encodeURIComponent(r.stringify(n))),i&&o.push("operationName="+encodeURIComponent(i)),o.join("&")}if(void 0!==n&&!Array.isArray(n))throw Error("Cannot create query with given variable type, array expected");var s=t.reduce(function(e,t,i){return e.push({query:m(t),variables:n?r.stringify(n[i]):void 0}),e},[]);return"query="+encodeURIComponent(r.stringify(s))},N=function(e){var t=e.url,n=e.query,r=e.variables,o=e.operationName,s=e.headers,l=e.fetch,c=e.fetchOptions,d=e.middleware;return a(void 0,void 0,void 0,function(){var e,a;return u(this,function(u){switch(u.label){case 0:if(e=f.default(n,r,o,c.jsonSerializer),a=i({method:"POST",headers:i(i({},"string"==typeof e?{"Content-Type":"application/json"}:{}),s),body:e},c),!d)return[3,2];return[4,Promise.resolve(d(a))];case 1:a=u.sent(),u.label=2;case 2:return[4,l(t,a)];case 3:return[2,u.sent()]}})})},O=function(e){var t=e.url,n=e.query,r=e.variables,o=e.operationName,s=e.headers,l=e.fetch,c=e.fetchOptions,d=e.middleware;return a(void 0,void 0,void 0,function(){var e,a;return u(this,function(u){switch(u.label){case 0:if(e=k({query:n,variables:r,operationName:o,jsonSerializer:c.jsonSerializer}),a=i({method:"GET",headers:s},c),!d)return[3,2];return[4,Promise.resolve(d(a))];case 1:a=u.sent(),u.label=2;case 2:return[4,l(t+"?"+e,a)];case 3:return[2,u.sent()]}})})},_=function(){function e(e,t){void 0===t&&(t={}),this.url=e,this.options=t}return e.prototype.rawRequest=function(e,t,n){return a(this,void 0,void 0,function(){var r,o,s,a,c,p,h,f,T,y,m,k;return u(this,function(u){return r=v.parseRawRequestArgs(e,t,n),s=(o=this.options).headers,c=void 0===(a=o.fetch)?d.default:a,h=void 0===(p=o.method)?"POST":p,f=o.requestMiddleware,T=o.responseMiddleware,y=l(o,["headers","fetch","method","requestMiddleware","responseMiddleware"]),m=this.url,void 0!==r.signal&&(y.signal=r.signal),k=A(r.query).operationName,[2,b({url:m,query:r.query,variables:r.variables,headers:i(i({},E(I(s))),E(r.requestHeaders)),operationName:k,fetch:c,method:h,fetchOptions:y,middleware:f}).then(function(e){return T&&T(e),e}).catch(function(e){throw T&&T(e),e})]})})},e.prototype.request=function(e){for(var t=[],n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringLines=function(e){var t,n;let r=Number.MAX_SAFE_INTEGER,o=null,s=-1;for(let t=0;t0===t?e:e.slice(r)).slice(null!=(t=o)?t:0,s+1)},t.isPrintableAsBlockString=function(e){if(""===e)return!0;let t=!0,n=!1,i=!0,r=!1;for(let o=0;o1&&r.slice(1).every(e=>0===e.length||(0,i.isWhiteSpace)(e.charCodeAt(0))),a=n.endsWith('\\"""'),u=e.endsWith('"')&&!a,l=e.endsWith("\\"),c=u||l,d=!(null!=t&&t.minimize)&&(!o||e.length>70||c||s||a),p="",h=o&&(0,i.isWhiteSpace)(e.charCodeAt(0));return(d&&!h||s)&&(p+="\n"),p+=n,(d||c)&&(p+="\n"),'"""'+p+'"""'};var i=n(832329)},358242:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printString=function(e){return`"${e.replace(n,i)}"`};let n=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function i(e){return r[e.charCodeAt(0)]}let r=["\\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"]},538259:function(e,t){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)});Object.defineProperty(t,"__esModule",{value:!0}),t.ClientError=void 0,t.ClientError=function(e){function t(n,i){var r=this,o=t.extractMessage(n)+": "+JSON.stringify({response:n,request:i});return Object.setPrototypeOf(r=e.call(this,o)||this,t.prototype),r.response=n,r.request=i,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(r,t),r}return i(t,e),t.extractMessage=function(e){try{return e.errors[0].message}catch(t){return"GraphQL Error (Code: "+e.status+")"}},t}(Error)},559896:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.invariant=function(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}},569568:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isObjectLike=function(e){return"object"==typeof e&&null!==e}},577713:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.devAssert=function(e,t){if(!e)throw Error(t)}},654264:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printLocation=function(e){return r(e.source,(0,i.getLocation)(e.source,e.start))},t.printSourceLocation=r;var i=n(970651);function r(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,a=t.line+s,u=1===t.line?n:0,l=t.column+u,c=`${e.name}:${a}:${l} `,d=i.split(/\r\n|[\n\r]/g),p=d[r];if(p.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+o([[`${a-1} |`,d[r-1]],[`${a} |`,p],["|","^".padStart(l)],[`${a+1} |`,d[r+1]]])}function o(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}},691287:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.TokenKind=void 0,t.TokenKind=n,function(e){e.SOF="",e.EOF="",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(n||(t.TokenKind=n={}))},734873:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultJsonSerializer=void 0,t.defaultJsonSerializer={parse:JSON.parse,stringify:JSON.stringify}},737866:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.instanceOf=void 0;var i=n(106664);t.instanceOf=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=(0,i.inspect)(e);throw Error(`Cannot use ${r} "${t}" from another module or realm. Ensure that there is only one instance of "graphql" in the node_modules directory. If different versions of "graphql" are the dependencies of other relied on modules, use "resolutions" to ensure only one version is installed. https://yarnpkg.com/en/docs/selective-version-resolutions Duplicate "graphql" modules cannot be used at the same time since different versions may have different capabilities and behavior. The data from one version used in the function from another could produce confusing and spurious results.`)}}return!1}},738770:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.DirectiveLocation=void 0,t.DirectiveLocation=n,function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(n||(t.DirectiveLocation=n={}))},741757:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.syntaxError=function(e,t,n){return new i.GraphQLError(`Syntax Error: ${n}`,{source:e,positions:[t]})};var i=n(287455)},778152:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=function(e){return(0,o.visit)(e,s)};var i=n(322948),r=n(358242),o=n(838170);let s={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>a(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=d(e.variableDefinitions)?l("(\n",a(e.variableDefinitions,"\n"),"\n)"):l("(",a(e.variableDefinitions,", "),")"),n=l("",e.description,"\n")+a([e.operation,a([e.name,t]),a(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:i,description:r})=>l("",r,"\n")+e+": "+t+l(" = ",n)+l(" ",a(i," "))},SelectionSet:{leave:({selections:e})=>u(e)},Field:{leave({alias:e,name:t,arguments:n,directives:i,selectionSet:r}){let o=l("",e,": ")+t,s=o+l("(",a(n,", "),")");return s.length>80&&(s=o+l("(\n",c(a(n,"\n")),"\n)")),a([s,a(i," "),r]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+l(" ",a(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>a(["...",l("on ",e),a(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:i,selectionSet:r,description:o})=>l("",o,"\n")+`fragment ${e}${l("(",a(n,", "),")")} `+`on ${t} ${l("",a(i," ")," ")}`+r},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,i.printBlockString)(e):(0,r.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+a(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+a(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+l("(",a(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>l("",e,"\n")+a(["schema",a(t," "),u(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>l("",e,"\n")+a(["scalar",t,a(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:r})=>l("",e,"\n")+a(["type",t,l("implements ",a(n," & ")),a(i," "),u(r)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:i,directives:r})=>l("",e,"\n")+t+(d(n)?l("(\n",c(a(n,"\n")),"\n)"):l("(",a(n,", "),")"))+": "+i+l(" ",a(r," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:i,directives:r})=>l("",e,"\n")+a([t+": "+n,l("= ",i),a(r," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:i,fields:r})=>l("",e,"\n")+a(["interface",t,l("implements ",a(n," & ")),a(i," "),u(r)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:i})=>l("",e,"\n")+a(["union",t,a(n," "),l("= ",a(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:i})=>l("",e,"\n")+a(["enum",t,a(n," "),u(i)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>l("",e,"\n")+a([t,a(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:i})=>l("",e,"\n")+a(["input",t,a(n," "),u(i)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:i,locations:r})=>l("",e,"\n")+"directive @"+t+(d(n)?l("(\n",c(a(n,"\n")),"\n)"):l("(",a(n,", "),")"))+(i?" repeatable":"")+" on "+a(r," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>a(["extend schema",a(e," "),u(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>a(["extend scalar",e,a(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>a(["extend type",e,l("implements ",a(t," & ")),a(n," "),u(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:i})=>a(["extend interface",e,l("implements ",a(t," & ")),a(n," "),u(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>a(["extend union",e,a(t," "),l("= ",a(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>a(["extend enum",e,a(t," "),u(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>a(["extend input",e,a(t," "),u(n)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>a([e,l(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>a([e,l(".",t),l("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>a(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>a(["@",e,l("(",t,":)")])}};function a(e,t=""){var n;return null!=(n=null==e?void 0:e.filter(e=>e).join(t))?n:""}function u(e){return l("{\n",c(a(e,"\n")),"\n}")}function l(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function c(e){return l(" ",e.replace(/\n/g,"\n "))}function d(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}},787151:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Parser=void 0,t.parse=function(e,t){let n=new d(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i},t.parseConstValue=function(e,t){let n=new d(e,t);n.expectToken(c.TokenKind.SOF);let i=n.parseConstValueLiteral();return n.expectToken(c.TokenKind.EOF),i},t.parseSchemaCoordinate=function(e){let t=(0,l.isSource)(e)?e:new l.Source(e),n=new d(e,{lexer:new u.SchemaCoordinateLexer(t)});n.expectToken(c.TokenKind.SOF);let i=n.parseSchemaCoordinate();return n.expectToken(c.TokenKind.EOF),i},t.parseType=function(e,t){let n=new d(e,t);n.expectToken(c.TokenKind.SOF);let i=n.parseTypeReference();return n.expectToken(c.TokenKind.EOF),i},t.parseValue=function(e,t){let n=new d(e,t);n.expectToken(c.TokenKind.SOF);let i=n.parseValueLiteral(!1);return n.expectToken(c.TokenKind.EOF),i};var i=n(741757),r=n(287232),o=n(738770),s=n(206015),a=n(69470),u=n(213145),l=n(867417),c=n(691287);class d{constructor(e,t={}){let{lexer:n,...i}=t;if(n)this._lexer=n;else{let t=(0,l.isSource)(e)?e:new l.Source(e);this._lexer=new a.Lexer(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(c.TokenKind.NAME);return this.node(e,{kind:s.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:s.Kind.DOCUMENT,definitions:this.many(c.TokenKind.SOF,this.parseDefinition,c.TokenKind.EOF)})}parseDefinition(){if(this.peek(c.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===c.TokenKind.BRACE_L)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===c.TokenKind.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()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions support descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(c.TokenKind.BRACE_L))return this.node(t,{kind:s.Kind.OPERATION_DEFINITION,operation:r.OperationTypeNode.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseDescription(),i=this.parseOperationType();return this.peek(c.TokenKind.NAME)&&(e=this.parseName()),this.node(t,{kind:s.Kind.OPERATION_DEFINITION,operation:i,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(c.TokenKind.NAME);switch(e.value){case"query":return r.OperationTypeNode.QUERY;case"mutation":return r.OperationTypeNode.MUTATION;case"subscription":return r.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseVariableDefinition,c.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:s.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(c.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(c.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(c.TokenKind.DOLLAR),this.node(e,{kind:s.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:s.Kind.SELECTION_SET,selections:this.many(c.TokenKind.BRACE_L,this.parseSelection,c.TokenKind.BRACE_R)})}parseSelection(){return this.peek(c.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(c.TokenKind.COLON)?(e=i,t=this.parseName()):t=i,this.node(n,{kind:s.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(c.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(c.TokenKind.PAREN_L,t,c.TokenKind.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(c.TokenKind.COLON),this.node(t,{kind:s.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(c.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(c.TokenKind.NAME)?this.node(e,{kind:s.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:s.Kind.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.allowLegacyFragmentVariables)?this.node(e,{kind:s.Kind.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:s.Kind.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 c.TokenKind.BRACKET_L:return this.parseList(e);case c.TokenKind.BRACE_L:return this.parseObject(e);case c.TokenKind.INT:return this.advanceLexer(),this.node(t,{kind:s.Kind.INT,value:t.value});case c.TokenKind.FLOAT:return this.advanceLexer(),this.node(t,{kind:s.Kind.FLOAT,value:t.value});case c.TokenKind.STRING:case c.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case c.TokenKind.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:s.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:s.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:s.Kind.NULL});default:return this.node(t,{kind:s.Kind.ENUM,value:t.value})}case c.TokenKind.DOLLAR:if(e){if(this.expectToken(c.TokenKind.DOLLAR),this._lexer.token.kind===c.TokenKind.NAME){let e=this._lexer.token.value;throw(0,i.syntaxError)(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:s.Kind.STRING,value:e.value,block:e.kind===c.TokenKind.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:s.Kind.LIST,values:this.any(c.TokenKind.BRACKET_L,()=>this.parseValueLiteral(e),c.TokenKind.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:s.Kind.OBJECT,fields:this.any(c.TokenKind.BRACE_L,()=>this.parseObjectField(e),c.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(c.TokenKind.COLON),this.node(t,{kind:s.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(c.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(c.TokenKind.AT),this.node(t,{kind:s.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(c.TokenKind.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(c.TokenKind.BRACKET_R),e=this.node(t,{kind:s.Kind.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(c.TokenKind.BANG)?this.node(t,{kind:s.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:s.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(c.TokenKind.STRING)||this.peek(c.TokenKind.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),i=this.many(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);return this.node(e,{kind:s.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(c.TokenKind.COLON);let n=this.parseNamedType();return this.node(e,{kind:s.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:s.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(c.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseFieldDefinition,c.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(c.TokenKind.COLON);let r=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:s.Kind.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:o})}parseArgumentDefs(){return this.optionalMany(c.TokenKind.PAREN_L,this.parseInputValueDef,c.TokenKind.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(c.TokenKind.COLON);let r=this.parseTypeReference();this.expectOptionalToken(c.TokenKind.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:s.Kind.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseUnionMemberTypes();return this.node(e,{kind:s.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(c.TokenKind.EQUALS)?this.delimitedMany(c.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();return this.node(e,{kind:s.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseEnumValueDefinition,c.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:s.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,i.syntaxError)(this._lexer.source,this._lexer.token.start,`${p(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),i=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();return this.node(e,{kind:s.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(c.TokenKind.BRACE_L,this.parseInputValueDef,c.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===c.TokenKind.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(),n=this.optionalMany(c.TokenKind.BRACE_L,this.parseOperationTypeDefinition,c.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:s.Kind.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:s.Kind.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:r})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:s.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(c.TokenKind.AT);let n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:s.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:o})}parseDirectiveLocations(){return this.delimitedMany(c.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(o.DirectiveLocation,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,i=this.expectOptionalToken(c.TokenKind.AT),r=this.parseName();return(!i&&this.expectOptionalToken(c.TokenKind.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(c.TokenKind.PAREN_L)&&(t=this.parseName(),this.expectToken(c.TokenKind.COLON),this.expectToken(c.TokenKind.PAREN_R)),i)?t?this.node(n,{kind:s.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(n,{kind:s.Kind.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(n,{kind:s.Kind.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(n,{kind:s.Kind.MEMBER_COORDINATE,name:r,memberName:e}):this.node(n,{kind:s.Kind.TYPE_COORDINATE,name:r})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new r.Location(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(0,i.syntaxError)(this._lexer.source,t.start,`Expected ${h(e)}, found ${p(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===c.TokenKind.NAME&&t.value===e)this.advanceLexer();else throw(0,i.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${p(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===c.TokenKind.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,i.syntaxError)(this._lexer.source,t.start,`Unexpected ${p(t)}.`)}any(e,t,n){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(n));return i}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==c.TokenKind.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,i.syntaxError)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function p(e){let t=e.value;return h(e.kind)+(null!=t?` "${t}"`:"")}function h(e){return(0,a.isPunctuatorTokenKind)(e)?`"${e}"`:e}t.Parser=d},832329:(e,t)=>{"use strict";function n(e){return e>=48&&e<=57}function i(e){return e>=97&&e<=122||e>=65&&e<=90}Object.defineProperty(t,"__esModule",{value:!0}),t.isDigit=n,t.isLetter=i,t.isNameContinue=function(e){return i(e)||n(e)||95===e},t.isNameStart=function(e){return i(e)||95===e},t.isWhiteSpace=function(e){return 9===e||32===e}},838170:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BREAK=void 0,t.getEnterLeaveForKind=u,t.getVisitFn=function(e,t,n){let{enter:i,leave:r}=u(e,t);return n?r:i},t.visit=function(e,t,n=o.QueryDocumentKeys){let l,c,d,p=new Map;for(let e of Object.values(s.Kind))p.set(e,u(t,e));let h=Array.isArray(e),f=[e],T=-1,v=[],y=e,E=[],m=[];do{var k,N,O;let e,s=++T===f.length,u=s&&0!==v.length;if(s){if(c=0===m.length?void 0:E[E.length-1],y=d,d=m.pop(),u)if(h){y=y.slice();let e=0;for(let[t,n]of v){let i=t-e;null===n?(y.splice(i,1),e++):y[i]=n}}else for(let[e,t]of(y={...y},v))y[e]=t;T=l.index,f=l.keys,v=l.edits,h=l.inArray,l=l.prev}else if(d){if(null==(y=d[c=h?T:f[T]]))continue;E.push(c)}if(!Array.isArray(y)){(0,o.isNode)(y)||(0,i.devAssert)(!1,`Invalid AST Node: ${(0,r.inspect)(y)}.`);let n=s?null==(k=p.get(y.kind))?void 0:k.leave:null==(N=p.get(y.kind))?void 0:N.enter;if((e=null==n?void 0:n.call(t,y,c,d,E,m))===a)break;if(!1===e){if(!s){E.pop();continue}}else if(void 0!==e&&(v.push([c,e]),!s))if((0,o.isNode)(e))y=e;else{E.pop();continue}}void 0===e&&u&&v.push([c,y]),s?E.pop():(l={inArray:h,index:T,keys:f,edits:v,prev:l},f=(h=Array.isArray(y))?y:null!=(O=n[y.kind])?O:[],T=-1,v=[],d&&m.push(d),d=y)}while(void 0!==l);return 0!==v.length?v[v.length-1][1]:e},t.visitInParallel=function(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let i of Object.values(s.Kind)){let r=!1,o=Array(e.length).fill(void 0),s=Array(e.length).fill(void 0);for(let t=0;t{e.exports="object"==typeof self?self.FormData:window.FormData},850857:(e,t,n)=>{"use strict";n.d(t,{eO:()=>a}