1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90571,e=>{"use strict";var t=function(e,n){return(t=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,n)};function n(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function r(e,t,n,i){return new(n||(n=Promise))(function(r,s){function o(e){try{l(i.next(e))}catch(e){s(e)}}function a(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,a)}l((i=i.apply(e,t||[])).next())})}function s(e,t){var n,i,r,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=a(0),o.throw=a(1),o.return=a(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(l){var c=[a,l];if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,c[0]&&(s=0)),s;)try{if(n=1,i&&(r=2&c[0]?i.return:c[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,c[1])).done)return r;switch(i=0,r&&(c=[2&c[0],r.value]),c[0]){case 0:case 1:r=c;break;case 4:return s.label++,{value:c[1],done:!1};case 5:s.label++,i=c[1],c=[0];continue;case 7:c=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===c[0]||2===c[0])){s=0;continue}if(3===c[0]&&(!r||c[1]>r[0]&&c[1]<r[3])){s.label=c[1];break}if(6===c[0]&&s.label<r[1]){s.label=r[1],r=c;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(c);break}r[2]&&s.ops.pop(),s.trys.pop();continue}c=t.call(e,s)}catch(e){c=[6,e],i=0}finally{n=r=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}function o(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function l(e,t,n){if(n||2==arguments.length)for(var i,r=0,s=t.length;r<s;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function c(e){return this instanceof c?(this.v=e,this):new c(e)}function u(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),s=[];return i=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),o("next"),o("throw"),o("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),i[Symbol.asyncIterator]=function(){return this},i;function o(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,i){s.push([e,t,n,i])>1||a(e,t)})},t&&(i[e]=t(i[e])))}function a(e,t){try{var n;(n=r[e](t)).value instanceof c?Promise.resolve(n.value.v).then(l,u):h(s[0][2],n)}catch(e){h(s[0][3],e)}}function l(e){a("next",e)}function u(e){a("throw",e)}function h(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function h(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=o(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise(function(i,r){var s,o,a;s=i,o=r,a=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:a})},o)})}}}
1"function"==typeof SuppressedError&&SuppressedError,e.s(["__assign",()=>i,"__asyncGenerator",()=>u,"__asyncValues",()=>h,"__await",()=>c,"__awaiter",()=>r,"__extends",()=>n,"__generator",()=>s,"__read",()=>a,"__spreadArray",()=>l,"__values",()=>o])},85809,e=>{"use strict";var t,n;(n=t||(t={})).NAME="Name",n.DOCUMENT="Document",n.OPERATION_DEFINITION="OperationDefinition",n.VARIABLE_DEFINITION="VariableDefinition",n.SELECTION_SET="SelectionSet",n.FIELD="Field",n.ARGUMENT="Argument",n.FRAGMENT_SPREAD="FragmentSpread",n.INLINE_FRAGMENT="InlineFragment",n.FRAGMENT_DEFINITION="FragmentDefinition",n.VARIABLE="Variable",n.INT="IntValue",n.FLOAT="FloatValue",n.STRING="StringValue",n.BOOLEAN="BooleanValue",n.NULL="NullValue",n.ENUM="EnumValue",n.LIST="ListValue",n.OBJECT="ObjectValue",n.OBJECT_FIELD="ObjectField",n.DIRECTIVE="Directive",n.NAMED_TYPE="NamedType",n.LIST_TYPE="ListType",n.NON_NULL_TYPE="NonNullType",n.SCHEMA_DEFINITION="SchemaDefinition",n.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",n.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",n.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",n.FIELD_DEFINITION="FieldDefinition",n.INPUT_VALUE_DEFINITION="InputValueDefinition",n.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",n.UNION_TYPE_DEFINITION="UnionTypeDefinition",n.ENUM_TYPE_DEFINITION="EnumTypeDefinition",n.ENUM_VALUE_DEFINITION="EnumValueDefinition",n.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",n.DIRECTIVE_DEFINITION="DirectiveDefinition",n.SCHEMA_EXTENSION="SchemaExtension",n.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",n.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",n.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",n.UNION_TYPE_EXTENSION="UnionTypeExtension",n.ENUM_TYPE_EXTENSION="EnumTypeExtension",n.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",n.TYPE_COORDINATE="TypeCoordinate",n.MEMBER_COORDINATE="MemberCoordinate",n.ARGUMENT_COORDINATE="ArgumentCoordinate",n.DIRECTIVE_COORDINATE="DirectiveCoordinate",n.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate",e.s(["Kind",()=>t])},36535,41888,e=>{"use strict";function t(e,t){if(!e)throw Error(t)}function n(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){let i;if(null===t)return"null";if(n.includes(t))return"[Circular]";let r=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,r)}else if(Array.isArray(t)){var s,o,a=t,l=r;if(0===a.length)return"[]";if(l.length>2)return"[Array]";let n=Math.min(10,a.length),i=a.length-n,c=[];for(let t=0;t<n;++t)c.push(e(a[t],l));return 1===i?c.push("... 1 more item"):i>1&&c.push(`... ${i} more items`),"["+c.join(", ")+"]"}return s=t,o=r,0===(i=Object.entries(s)).length?"{}":o.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)+"]":"{ "+i.map(([t,n])=>t+": "+e(n,o)).join(", ")+" }"}(t,n);default:return String(t)}}(e,[])}e.s(["devAssert",()=>t],36535);e.s(["inspect",()=>n],41888)},20064,e=>{"use strict";var t,n;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}}}
1class r{constructor(e,t,n,i,r,s){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=s,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["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"]},o=new Set(Object.keys(s));function a(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&o.has(t)}(n=t||(t={})).QUERY="query",n.MUTATION="mutation",n.SUBSCRIPTION="subscription",e.s(["Location",()=>i,"OperationTypeNode",()=>t,"QueryDocumentKeys",0,s,"Token",()=>r,"isNode",()=>a])},99074,54335,e=>{"use strict";function t(e){return 9===e||32===e}function n(e){return e>=48&&e<=57}function i(e){return e>=97&&e<=122||e>=65&&e<=90}function r(e){return i(e)||95===e}function s(e){return i(e)||n(e)||95===e}function o(e){var n,i;let r=Number.MAX_SAFE_INTEGER,s=null,o=-1;for(let n=0;n<e.length;++n){let a=e[n],l=function(e){let n=0;for(;n<e.length&&t(e.charCodeAt(n));)++n;return n}(a);l!==a.length&&(s=null!=(i=s)?i:n,o=n,0!==n&&l<r&&(r=l))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!=(n=s)?n:0,o+1)}function a(e,n){let i=e.replace(/"""/g,'\\"""'),r=i.split(/\r\n|[\n\r]/g),s=1===r.length,o=r.length>1&&r.slice(1).every(e=>0===e.length||t(e.charCodeAt(0))),a=i.endsWith('\\"""'),l=e.endsWith('"')&&!a,c=e.endsWith("\\"),u=l||c,h=!(null!=n&&n.minimize)&&(!s||e.length>70||u||o||a),p="",d=s&&t(e.charCodeAt(0));return(h&&!d||o)&&(p+="\n"),p+=i,(h||u)&&(p+="\n"),'"""'+p+'"""'}e.s(["isDigit",()=>n,"isNameContinue",()=>s,"isNameStart",()=>r,"isWhiteSpace",()=>t],54335),e.s(["dedentBlockStringLines",()=>o,"printBlockString",()=>a],99074)},96693,e=>{"use strict";let t=/\r\n|[\n\r]/g;function n(e,n){let i=0,r=1;for(let s of e.body.matchAll(t)){if("number"==typeof s.index||function(e,t){if(!e)throw Error("Unexpected invariant triggered.")}(!1),s.index>=n)break;i=s.index+s[0].length,r+=1}return{line:r,column:n+1-i}}function i(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,s=t.line-1,o=e.locationOffset.line-1,a=t.line+o,l=1===t.line?n:0,c=t.column+l,u=`${e.name}:${a}:${c} 2`,h=i.split(/\r\n|[\n\r]/g),p=h[s];if(p.length>120){let e=Math.floor(c/80),t=[];for(let e=0;e<p.length;e+=80)t.push(p.slice(e,e+80));return u+r([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(c%80)],["|",t[e+1]]])}return u+r([[`${a-1} |`,h[s-1]],[`${a} |`,p],["|","^".padStart(c)],[`${a+1} |`,h[s+1]]])}function r(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")}
2class s extends Error{constructor(e,...t){var i,r,a;const{nodes:l,source:c,positions:u,path:h,originalError:p,extensions:d}=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!=h?h:void 0,this.originalError=null!=p?p:void 0,this.nodes=o(Array.isArray(l)?l:l?[l]:void 0);const T=o(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=null!=c?c:null==T||null==(r=T[0])?void 0:r.source,this.positions=null!=u?u:null==T?void 0:T.map(e=>e.start),this.locations=u&&c?u.map(e=>n(c,e)):null==T?void 0:T.map(e=>n(e.source,e.start));const f=!function(e){return"object"==typeof e&&null!==e}(null==p?void 0:p.extensions)||null==p?void 0:p.extensions;this.extensions=null!=(a=null!=d?d:f)?a: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!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.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 r of this.nodes){var t;r.loc&&(e+="\n\n"+i((t=r.loc).source,n(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+i(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 o(e){return void 0===e||0===e.length?void 0:e}function a(e,t,n){return new s(`Syntax Error: ${n}`,{source:e,positions:[t]})}e.s(["syntaxError",()=>a],96693)},31532,e=>{"use strict";var t,n;(n=t||(t={})).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",e.s(["DirectiveLocation",()=>t])},2134,18895,e=>{"use strict";var t,n,i=e.i(96693),r=e.i(20064),s=e.i(99074),o=e.i(54335);(t=n||(n={})).SOF="<SOF>",t.EOF="<EOF>",t.BANG="!",t.DOLLAR="$",t.AMP="&",t.PAREN_L="(",t.PAREN_R=")",t.DOT=".",t.SPREAD="...",t.COLON=":",t.EQUALS="=",t.AT="@",t.BRACKET_L="[",t.BRACKET_R="]",t.BRACE_L="{",t.PIPE="|",t.BRACE_R="}",t.NAME="Name",t.INT="Int",t.FLOAT="Float",t.STRING="String",t.BLOCK_STRING="BlockString",t.COMMENT="Comment",e.s(["TokenKind",()=>n],18895);class a{constructor(e){const t=new r.Token(n.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!==n.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,a=r.length,l=t;for(;l<a;){let t=r.charCodeAt(l);switch(t){case 65279:case 9:case 32:case 44:++l;continue;case 10:++l,++e.line,e.lineStart=l;continue;case 13:10===r.charCodeAt(l+1)?l+=2:++l,++e.line,e.lineStart=l;continue;case 35:return function(e,t){let i=e.source.body,r=i.length,s=t+1;for(;s<r;){let e=i.charCodeAt(s);if(10===e||13===e)break;if(c(e))++s;else if(u(i,s))s+=2;else break}return T(e,n.COMMENT,t,s,i.slice(t+1,s))}(e,l);case 33:return T(e,n.BANG,l,l+1);case 36:return T(e,n.DOLLAR,l,l+1);case 38:return T(e,n.AMP,l,l+1);case 40:return T(e,n.PAREN_L,l,l+1);case 41:return T(e,n.PAREN_R,l,l+1);case 46:if(46===r.charCodeAt(l+1)&&46===r.charCodeAt(l+2))return T(e,n.SPREAD,l,l+3);break;case 58:return T(e,n.COLON,l,l+1);case 61:return T(e,n.EQUALS,l,l+1);case 64:return T(e,n.AT,l,l+1);case 91:return T(e,n.BRACKET_L,l,l+1);case 93:return T(e,n.BRACKET_R,l,l+1);case 123:return T(e,n.BRACE_L,l,l+1);case 124:return T(e,n.PIPE,l,l+1);case 125:return T(e,n.BRACE_R,l,l+1);case 34:if(34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2))return function(e,t){let r=e.source.body,o=r.length,a=e.lineStart,l=t+3,h=l,p="",f=[];for(;l<o;){let o=r.charCodeAt(l);if(34===o&&34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2)){p+=r.slice(h,l),f.push(p);let i=T(e,n.BLOCK_STRING,t,l+3,(0,s.dedentBlockStringLines)(f).join("\n"));return e.line+=f.length-1,e.lineStart=a,i}if(92===o&&34===r.charCodeAt(l+1)&&34===r.charCodeAt(l+2)&&34===r.charCodeAt(l+3)){p+=r.slice(h,l),h=l+1,l+=4;continue}if(10===o||13===o){p+=r.slice(h,l),f.push(p),13===o&&10===r.charCodeAt(l+1)?l+=2:++l,p="",h=l,a=l;continue}if(c(o))++l;else if(u(r,l))l+=2;else throw(0,i.syntaxError)(e.source,l,`Invalid character within String: ${d(e,l)}.`)}throw(0,i.syntaxError)(e.source,l,"Unterminated string.")}(e,l);return function(e,t){let r=e.source.body,s=r.length,o=t+1,a=o,l="";for(;o<s;){let s=r.charCodeAt(o);if(34===s)return l+=r.slice(a,o),T(e,n.STRING,t,o+1,l);if(92===s){l+=r.slice(a,o);let t=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,t){let n=e.source.body,r=0,s=3;for(;s<12;){let e=n.charCodeAt(t+s++);if(125===e){if(s<5||!c(r))break;return{value:String.fromCodePoint(r),size:s}}if((r=r<<4|N(e))<0)break}throw(0,i.syntaxError)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+s)}".`)}(e,o):function(e,t){let n=e.source.body,r=E(n,t+2);if(c(r))return{value:String.fromCodePoint(r),size:6};if(h(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=E(n,t+8);if(p(e))return{value:String.fromCodePoint(r,e),size:12}}throw(0,i.syntaxError)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,o):function(e,t){let n=e.source.body;switch(n.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(0,i.syntaxError)(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,o);l+=t.value,o+=t.size,a=o;continue}if(10===s||13===s)break;if(c(s))++o;else if(u(r,o))o+=2;else throw(0,i.syntaxError)(e.source,o,`Invalid character within String: ${d(e,o)}.`)}throw(0,i.syntaxError)(e.source,o,"Unterminated string.")}(e,l)}if((0,o.isDigit)(t)||45===t)return function(e,t,r){let s=e.source.body,a=t,l=r,c=!1;if(45===l&&(l=s.charCodeAt(++a)),48===l){if(l=s.charCodeAt(++a),(0,o.isDigit)(l))throw(0,i.syntaxError)(e.source,a,`Invalid number, unexpected digit after 0: ${d(e,a)}.`)}else a=f(e,a,l),l=s.charCodeAt(a);if(46===l&&(c=!0,l=s.charCodeAt(++a),a=f(e,a,l),l=s.charCodeAt(a)),(69===l||101===l)&&(c=!0,(43===(l=s.charCodeAt(++a))||45===l)&&(l=s.charCodeAt(++a)),a=f(e,a,l),l=s.charCodeAt(a)),46===l||(0,o.isNameStart)(l))throw(0,i.syntaxError)(e.source,a,`Invalid number, expected digit but got: ${d(e,a)}.`);return T(e,c?n.FLOAT:n.INT,t,a,s.slice(t,a))}(e,l,t);if((0,o.isNameStart)(t))return function(e,t){let i=e.source.body,r=i.length,s=t+1;for(;s<r;){let e=i.charCodeAt(s);if((0,o.isNameContinue)(e))++s;else break}return T(e,n.NAME,t,s,i.slice(t,s))}(e,l);throw(0,i.syntaxError)(e.source,l,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":c(t)||u(r,l)?`Unexpected character: ${d(e,l)}.`:`Invalid character: ${d(e,l)}.`)}return T(e,n.EOF,a,a)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===n.COMMENT)return e}}function l(e){return e===n.BANG||e===n.DOLLAR||e===n.AMP||e===n.PAREN_L||e===n.PAREN_R||e===n.DOT||e===n.SPREAD||e===n.COLON||e===n.EQUALS||e===n.AT||e===n.BRACKET_L||e===n.BRACKET_R||e===n.BRACE_L||e===n.PIPE||e===n.BRACE_R}function c(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function u(e,t){return h(e.charCodeAt(t))&&p(e.charCodeAt(t+1))}function h(e){return e>=55296&&e<=56319}function p(e){return e>=56320&&e<=57343}function d(e,t){let i=e.source.body.codePointAt(t);if(void 0===i)return n.EOF;
2if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":`"${e}"`}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function T(e,t,n,i,s){let o=e.line,a=1+n-e.lineStart;return new r.Token(t,n,i,o,a,s)}function f(e,t,n){if(!(0,o.isDigit)(n))throw(0,i.syntaxError)(e.source,t,`Invalid number, expected digit but got: ${d(e,t)}.`);let r=e.source.body,s=t+1;for(;(0,o.isDigit)(r.charCodeAt(s));)++s;return s}function E(e,t){return N(e.charCodeAt(t))<<12|N(e.charCodeAt(t+1))<<8|N(e.charCodeAt(t+2))<<4|N(e.charCodeAt(t+3))}function N(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}e.s(["Lexer",()=>a,"isPunctuatorTokenKind",()=>l],2134)},2807,11603,e=>{"use strict";var t,n=e.i(90571),i=e.i(96693),r=e.i(20064),s=e.i(31532),o=e.i(85809),a=e.i(2134),l=e.i(36535),c=e.i(41888);e.i(47167);let u=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 i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(n=e.constructor)?void 0:n.name)){let t=(0,c.inspect)(e);throw Error(`Cannot use ${i} "${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 h{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,l.devAssert)(!1,`Body must be a string. Received: ${(0,c.inspect)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,l.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,l.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function p(e){return u(e,h)}e.s(["Source",()=>h,"isSource",()=>p],11603);var d=e.i(18895);class T{constructor(e,t={}){const{lexer:n,...i}=t;if(n)this._lexer=n;else{const t=p(e)?e:new h(e);this._lexer=new a.Lexer(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(d.TokenKind.NAME);return this.node(e,{kind:o.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:o.Kind.DOCUMENT,definitions:this.many(d.TokenKind.SOF,this.parseDefinition,d.TokenKind.EOF)})}parseDefinition(){if(this.peek(d.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===d.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===d.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(d.TokenKind.BRACE_L))return this.node(t,{kind:o.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(d.TokenKind.NAME)&&(e=this.parseName()),this.node(t,{kind:o.Kind.OPERATION_DEFINITION,operation:i,description:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(d.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(d.TokenKind.PAREN_L,this.parseVariableDefinition,d.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:o.Kind.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(d.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(d.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(d.TokenKind.DOLLAR),this.node(e,{kind:o.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:o.Kind.SELECTION_SET,selections:this.many(d.TokenKind.BRACE_L,this.parseSelection,d.TokenKind.BRACE_R)})}parseSelection(){return this.peek(d.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(d.TokenKind.COLON)?(e=i,t=this.parseName()):t=i,this.node(n,{kind:o.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(d.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(d.TokenKind.PAREN_L,t,d.TokenKind.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(d.TokenKind.COLON),this.node(t,{kind:o.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(d.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(d.TokenKind.NAME)?this.node(e,{kind:o.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:o.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:o.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:o.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 d.TokenKind.BRACKET_L:return this.parseList(e);case d.TokenKind.BRACE_L:return this.parseObject(e);case d.TokenKind.INT:return this.advanceLexer(),this.node(t,{kind:o.Kind.INT,value:t.value});case d.TokenKind.FLOAT:return this.advanceLexer(),this.node(t,{kind:o.Kind.FLOAT,value:t.value});case d.TokenKind.STRING:case d.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case d.TokenKind.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:o.Kind.BOOLEAN,value:!0});case"false":return this.node(t,{kind:o.Kind.BOOLEAN,value:!1});case"null":return this.node(t,{kind:o.Kind.NULL});default:return this.node(t,{kind:o.Kind.ENUM,value:t.value})}case d.TokenKind.DOLLAR:if(e){if(this.expectToken(d.TokenKind.DOLLAR),this._lexer.token.kind===d.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:o.Kind.STRING,value:e.value,block:e.kind===d.TokenKind.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:o.Kind.LIST,values:this.any(d.TokenKind.BRACKET_L,t,d.TokenKind.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:o.Kind.OBJECT,fields:this.any(d.TokenKind.BRACE_L,t,d.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(d.TokenKind.COLON),this.node(t,{kind:o.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(d.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(d.TokenKind.AT),this.node(t,{kind:o.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(d.TokenKind.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(d.TokenKind.BRACKET_R),e=this.node(t,{kind:o.Kind.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(d.TokenKind.BANG)?this.node(t,{kind:o.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:o.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(d.TokenKind.STRING)||this.peek(d.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(d.TokenKind.BRACE_L,this.parseOperationTypeDefinition,d.TokenKind.BRACE_R);return this.node(e,{kind:o.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(d.TokenKind.COLON);let n=this.parseNamedType();return this.node(e,{kind:o.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:o.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(),s=this.parseFieldsDefinition();return this.node(e,{kind:o.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(d.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(d.TokenKind.BRACE_L,this.parseFieldDefinition,d.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(d.TokenKind.COLON);let r=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:o.Kind.FIELD_DEFINITION,description:t,name:n,arguments:i,type:r,directives:s})}parseArgumentDefs(){return this.optionalMany(d.TokenKind.PAREN_L,this.parseInputValueDef,d.TokenKind.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(d.TokenKind.COLON);let r=this.parseTypeReference();this.expectOptionalToken(d.TokenKind.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:o.Kind.INPUT_VALUE_DEFINITION,description:n,name:i,type:r,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:o.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:r,fields:s})}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:o.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:r})}parseUnionMemberTypes(){return this.expectOptionalToken(d.TokenKind.EQUALS)?this.delimitedMany(d.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:o.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:r})}parseEnumValuesDefinition(){return this.optionalMany(d.TokenKind.BRACE_L,this.parseEnumValueDefinition,d.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:o.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,`${f(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:o.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:r})}parseInputFieldsDefinition(){return this.optionalMany(d.TokenKind.BRACE_L,this.parseInputValueDef,d.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===d.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(d.TokenKind.BRACE_L,this.parseOperationTypeDefinition,d.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:o.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:o.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:o.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.pa
13rseConstDirectives(),r=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:o.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:o.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:o.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:o.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(d.TokenKind.AT);let n=this.parseName(),i=this.parseArgumentDefs(),r=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let s=this.parseDirectiveLocations();return this.node(e,{kind:o.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:r,locations:s})}parseDirectiveLocations(){return this.delimitedMany(d.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(s.DirectiveLocation,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,n=this._lexer.token,i=this.expectOptionalToken(d.TokenKind.AT),r=this.parseName();return(!i&&this.expectOptionalToken(d.TokenKind.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(d.TokenKind.PAREN_L)&&(t=this.parseName(),this.expectToken(d.TokenKind.COLON),this.expectToken(d.TokenKind.PAREN_R)),i)?t?this.node(n,{kind:o.Kind.DIRECTIVE_ARGUMENT_COORDINATE,name:r,argumentName:t}):this.node(n,{kind:o.Kind.DIRECTIVE_COORDINATE,name:r}):e?t?this.node(n,{kind:o.Kind.ARGUMENT_COORDINATE,name:r,fieldName:e,argumentName:t}):this.node(n,{kind:o.Kind.MEMBER_COORDINATE,name:r,memberName:e}):this.node(n,{kind:o.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 ${E(e)}, found ${f(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===d.TokenKind.NAME&&t.value===e)this.advanceLexer();else throw(0,i.syntaxError)(this._lexer.source,t.start,`Expected "${e}", found ${f(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===d.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 ${f(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!==d.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 f(e){let t=e.value;return E(e.kind)+(null!=t?` "${t}"`:"")}function E(e){return(0,a.isPunctuatorTokenKind)(e)?`"${e}"`:e}var N=new Map,m=new Map,y=!0,I=!1;function k(e){return e.replace(/[\s,]+/g," ").trim()}function _(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];"string"==typeof e&&(e=[e]);var r=e[0];return t.forEach(function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]}),function(e){var t=k(e);if(!N.has(t)){let c,u;var i,r,s,o,a,l=(Object.defineProperty(u=(c=new T(e,{experimentalFragmentVariables:I,allowLegacyFragmentVariables:I})).parseDocument(),"tokenCount",{enumerable:!1,value:c.tokenCount}),u);if(!l||"Document"!==l.kind)throw Error("Not a valid GraphQL document.");N.set(t,((o=new Set((i=new Set,r=[],l.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,s=k((t=e.loc).source.body.substring(t.start,t.end)),o=m.get(n);o&&!o.has(s)?y&&console.warn("Warning: fragment with name "+n+" 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"):o||m.set(n,o=new Set),o.add(s),i.has(s)||(i.add(s),r.push(e))}else r.push(e)}),s=(0,n.__assign)((0,n.__assign)({},l),{definitions:r}
13)).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&o.add(n)})}),(a=s.loc)&&(delete a.startToken,delete a.endToken),s))}return N.get(t)}(r)}var O=_;(t=_||(_={})).gql=O,t.resetCaches=function(){N.clear(),m.clear()},t.disableFragmentWarnings=function(){y=!1},t.enableExperimentalFragmentVariables=function(){I=!0},t.disableExperimentalFragmentVariables=function(){I=!1},_.default=_,e.s(["gql",()=>_],2807)}]);
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.