UNPKG

altair-static

Version:

Static package for altair graphql client

142 lines • 179 kB
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e1ae743b-6feb-5f5f-a0c0-2f6d6cad9287")}catch(e){}}();
import{A as Oc,a as f,b as ae,c as q,d as xe,e as nr,f as gs,g as Ht,h as oe,i as Ns,j as ci,k as y,l as te,m as st,n as Is,o as bs,p as pi,q as $i,r as Ye,s as ut,t as ct,u as pt,v as Q,x as Je,y as ea}from"./chunk-ZYOLZTH5.js";import{e as g,g as Es}from"./chunk-B7YGBANW.js";function fi(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fi=function(t){return typeof t}:fi=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fi(e)}function ce(e){return fi(e)=="object"&&e!==null}var fr=g(()=>{"use strict"});var li,Wt,Ie,lr=g(()=>{"use strict";li=typeof Symbol=="function"&&Symbol.iterator!=null?Symbol.iterator:"@@iterator",Wt=typeof Symbol=="function"&&Symbol.asyncIterator!=null?Symbol.asyncIterator:"@@asyncIterator",Ie=typeof Symbol=="function"&&Symbol.toStringTag!=null?Symbol.toStringTag:"@@toStringTag"});function Rr(e,r){for(var t=/\r\n|[\n\r]/g,n=1,i=r+1,a;(a=t.exec(e.body))&&a.index<r;)n+=1,i=r+1-(a.index+a[0].length);return{line:n,column:i}}var mi=g(()=>{"use strict"});function Zt(e){return ft(e.source,Rr(e.source,e.start))}function ft(e,r){var t=e.locationOffset.column-1,n=vi(t)+e.body,i=r.line-1,a=e.locationOffset.line-1,o=r.line+a,s=r.line===1?t:0,u=r.column+s,c="".concat(e.name,":").concat(o,":").concat(u,`
`),p=n.split(/\r\n|[\n\r]/g),l=p[i];if(l.length>120){for(var m=Math.floor(u/80),d=u%80,h=[],E=0;E<l.length;E+=80)h.push(l.slice(E,E+80));return c+Os([["".concat(o),h[0]]].concat(h.slice(1,m+1).map(function(I){return["",I]}),[[" ",vi(d-1)+"^"],["",h[m+1]]]))}return c+Os([["".concat(o-1),p[i-1]],["".concat(o),l],["",vi(u-1)+"^"],["".concat(o+1),p[i+1]]])}function Os(e){var r=e.filter(function(n){var i=n[0],a=n[1];return a!==void 0}),t=Math.max.apply(Math,r.map(function(n){var i=n[0];return i.length}));return r.map(function(n){var i=n[0],a=n[1];return Dc(t,i)+(a?" | "+a:" |")}).join(`
`)}function vi(e){return Array(e+1).join(" ")}function Dc(e,r){return vi(e-r.length)+r}var ra=g(()=>{"use strict";mi()});function di(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?di=function(t){return typeof t}:di=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},di(e)}function Sc(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function Ds(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lc(e,r,t){return r&&Ds(e.prototype,r),t&&Ds(e,t),e}function Ac(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),r&&en(e,r)}function Rc(e){var r=Ls();return function(){var n=rn(e),i;if(r){var a=rn(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Ss(this,i)}}function Ss(e,r){return r&&(di(r)==="object"||typeof r=="function")?r:$t(e)}function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ta(e){var r=typeof Map=="function"?new Map:void 0;return ta=function(n){if(n===null||!wc(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(n))return r.get(n);r.set(n,i)}function i(){return hi(n,arguments,rn(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),en(i,n)},ta(e)}function hi(e,r,t){return Ls()?hi=Reflect.construct:hi=function(i,a,o){var s=[null];s.push.apply(s,a);var u=Function.bind.apply(i,s),c=new u;return o&&en(c,o.prototype),c},hi.apply(null,arguments)}function Ls(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function wc(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function en(e,r){return en=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},en(e,r)}function rn(e){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},rn(e)}function yi(e){var r=e.message;if(e.nodes)for(var t=0,n=e.nodes;t<n.length;t++){var i=n[t];i.loc&&(r+=`

`+Zt(i.loc))}else if(e.source&&e.locations)for(var a=0,o=e.locations;a<o.length;a++){var s=o[a];r+=`

`+ft(e.source,s)}return r}var v,F=g(()=>{"use strict";fr();lr();mi();ra();v=(function(e){Ac(t,e);var r=Rc(t);function t(n,i,a,o,s,u,c){var p,l,m,d,h;Sc(this,t),h=r.call(this,n);var E=Array.isArray(i)?i.length!==0?i:void 0:i?[i]:void 0,I=a;if(!I&&E){var O;I=(O=E[0].loc)===null||O===void 0?void 0:O.source}var D=o;!D&&E&&(D=E.reduce(function(J,H){return H.loc&&J.push(H.loc.start),J},[])),D&&D.length===0&&(D=void 0);var V;o&&a?V=o.map(function(J){return Rr(a,J)}):E&&(V=E.reduce(function(J,H){return H.loc&&J.push(Rr(H.loc.source,H.loc.start)),J},[]));var P=c;if(P==null&&u!=null){var U=u.extensions;ce(U)&&(P=U)}return Object.defineProperties($t(h),{name:{value:"GraphQLError"},message:{value:n,enumerable:!0,writable:!0},locations:{value:(p=V)!==null&&p!==void 0?p:void 0,enumerable:V!=null},path:{value:s??void 0,enumerable:s!=null},nodes:{value:E??void 0},source:{value:(l=I)!==null&&l!==void 0?l:void 0},positions:{value:(m=D)!==null&&m!==void 0?m:void 0},originalError:{value:u},extensions:{value:(d=P)!==null&&d!==void 0?d:void 0,enumerable:P!=null}}),u!=null&&u.stack?(Object.defineProperty($t(h),"stack",{value:u.stack,writable:!0,configurable:!0}),Ss(h)):(Error.captureStackTrace?Error.captureStackTrace($t(h),t):Object.defineProperty($t(h),"stack",{value:Error().stack,writable:!0,configurable:!0}),h)}return Lc(t,[{key:"toString",value:function(){return yi(this)}},{key:Ie,get:function(){return"Object"}}]),t})(ta(Error))});function ge(e,r,t){return new v("Syntax Error: ".concat(t),void 0,e,[r])}var Ti=g(()=>{"use strict";F()});var T,lt=g(()=>{"use strict";T=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})});function x(e,r){var t=!!e;if(!t)throw new Error(r)}var Xe=g(()=>{"use strict"});var _e,tn=g(()=>{"use strict";_e=function(r,t){return r instanceof t}});function As(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xc(e,r,t){return r&&As(e.prototype,r),t&&As(e,t),e}function Ei(e){return _e(e,wr)}var wr,gi=g(()=>{"use strict";lr();te();Xe();tn();wr=(function(){function e(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"GraphQL request",n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{line:1,column:1};typeof r=="string"||x(0,"Body must be a string. Received: ".concat(y(r),".")),this.body=r,this.name=t,this.locationOffset=n,this.locationOffset.line>0||x(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||x(0,"column in locationOffset is 1-indexed and must be positive.")}return xc(e,[{key:Ie,get:function(){return"Source"}}]),e})()});var w,mt=g(()=>{"use strict";w=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})});function Ii(e){return e===T.BANG||e===T.DOLLAR||e===T.AMP||e===T.PAREN_L||e===T.PAREN_R||e===T.SPREAD||e===T.COLON||e===T.EQUALS||e===T.AT||e===T.BRACKET_L||e===T.BRACKET_R||e===T.BRACE_L||e===T.PIPE||e===T.BRACE_R}function Gr(e){return isNaN(e)?T.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function _c(e,r){for(var t=e.source,n=t.body,i=n.length,a=r.end;a<i;){var o=n.charCodeAt(a),s=e.line,u=1+a-e.lineStart;switch(o){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++e.line,e.lineStart=a;continue;case 13:n.charCodeAt(a+1)===10?a+=2:++a,++e.line,e.lineStart=a;continue;case 33:return new oe(T.BANG,a,a+1,s,u,r);case 35:return kc(t,a,s,u,r);case 36:return new oe(T.DOLLAR,a,a+1,s,u,r);case 38:return new oe(T.AMP,a,a+1,s,u,r);case 40:return new oe(T.PAREN_L,a,a+1,s,u,r);case 41:return new oe(T.PAREN_R,a,a+1,s,u,r);case 46:if(n.charCodeAt(a+1)===46&&n.charCodeAt(a+2)===46)return new oe(T.SPREAD,a,a+3,s,u,r);break;case 58:return new oe(T.COLON,a,a+1,s,u,r);case 61:return new oe(T.EQUALS,a,a+1,s,u,r);case 64:return new oe(T.AT,a,a+1,s,u,r);case 91:return new oe(T.BRACKET_L,a,a+1,s,u,r);case 93:return new oe(T.BRACKET_R,a,a+1,s,u,r);case 123:return new oe(T.BRACE_L,a,a+1,s,u,r);case 124:return new oe(T.PIPE,a,a+1,s,u,r);case 125:return new oe(T.BRACE_R,a,a+1,s,u,r);case 34:return n.charCodeAt(a+1)===34&&n.charCodeAt(a+2)===34?Pc(t,a,s,u,r,e):Mc(t,a,s,u,r);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Vc(t,a,o,s,u,r);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return Cc(t,a,s,u,r)}throw ge(t,a,Fc(o))}var c=e.line,p=1+a-e.lineStart;return new oe(T.EOF,i,i,c,p,r)}function Fc(e){return e<32&&e!==9&&e!==10&&e!==13?"Cannot contain the invalid character ".concat(Gr(e),"."):e===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:"Cannot parse the unexpected character ".concat(Gr(e),".")}function kc(e,r,t,n,i){var a=e.body,o,s=r;do o=a.charCodeAt(++s);while(!isNaN(o)&&(o>31||o===9));return new oe(T.COMMENT,r,s,t,n,i,a.slice(r+1,s))}function Vc(e,r,t,n,i,a){var o=e.body,s=t,u=r,c=!1;if(s===45&&(s=o.charCodeAt(++u)),s===48){if(s=o.charCodeAt(++u),s>=48&&s<=57)throw ge(e,u,"Invalid number, unexpected digit after 0: ".concat(Gr(s),"."))}else u=na(e,u,s),s=o.charCodeAt(u);if(s===46&&(c=!0,s=o.charCodeAt(++u),u=na(e,u,s),s=o.charCodeAt(u)),(s===69||s===101)&&(c=!0,s=o.charCodeAt(++u),(s===43||s===45)&&(s=o.charCodeAt(++u)),u=na(e,u,s),s=o.charCodeAt(u)),s===46||jc(s))throw ge(e,u,"Invalid number, expected digit but got: ".concat(Gr(s),"."));return new oe(c?T.FLOAT:T.INT,r,u,n,i,a,o.slice(r,u))}function na(e,r,t){var n=e.body,i=r,a=t;if(a>=48&&a<=57){do a=n.charCodeAt(++i);while(a>=48&&a<=57);return i}throw ge(e,i,"Invalid number, expected digit but got: ".concat(Gr(a),"."))}function Mc(e,r,t,n,i){for(var a=e.body,o=r+1,s=o,u=0,c="";o<a.length&&!isNaN(u=a.charCodeAt(o))&&u!==10&&u!==13;){if(u===34)return c+=a.slice(s,o),new oe(T.STRING,r,o+1,t,n,i,c);if(u<32&&u!==9)throw ge(e,o,"Invalid character within String: ".concat(Gr(u),"."));if(++o,u===92){switch(c+=a.slice(s,o-1),u=a.charCodeAt(o),u){case 34:c+='"';break;case 47:c+="/";break;case 92:c+="\\";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+=`
`;break;case 114:c+="\r";break;case 116:c+="	";break;case 117:{var p=Uc(a.charCodeAt(o+1),a.charCodeAt(o+2),a.charCodeAt(o+3),a.charCodeAt(o+4));if(p<0){var l=a.slice(o+1,o+5);throw ge(e,o,"Invalid character escape sequence: \\u".concat(l,"."))}c+=String.fromCharCode(p),o+=4;break}default:throw ge(e,o,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}++o,s=o}}throw ge(e,o,"Unterminated string.")}function Pc(e,r,t,n,i,a){for(var o=e.body,s=r+3,u=s,c=0,p="";s<o.length&&!isNaN(c=o.charCodeAt(s));){if(c===34&&o.charCodeAt(s+1)===34&&o.charCodeAt(s+2)===34)return p+=o.slice(u,s),new oe(T.BLOCK_STRING,r,s+3,t,n,i,st(p));if(c<32&&c!==9&&c!==10&&c!==13)throw ge(e,s,"Invalid character within String: ".concat(Gr(c),"."));c===10?(++s,++a.line,a.lineStart=s):c===13?(o.charCodeAt(s+1)===10?s+=2:++s,++a.line,a.lineStart=s):c===92&&o.charCodeAt(s+1)===34&&o.charCodeAt(s+2)===34&&o.charCodeAt(s+3)===34?(p+=o.slice(u,s)+'"""',s+=4,u=s):++s}throw ge(e,s,"Unterminated string.")}function Uc(e,r,t,n){return Ni(e)<<12|Ni(r)<<8|Ni(t)<<4|Ni(n)}function Ni(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Cc(e,r,t,n,i){for(var a=e.body,o=a.length,s=r+1,u=0;s!==o&&!isNaN(u=a.charCodeAt(s))&&(u===95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new oe(T.NAME,r,s,t,n,i,a.slice(r,s))}function jc(e){return e===95||e>=65&&e<=90||e>=97&&e<=122}var Qr,bi=g(()=>{"use strict";Ti();ci();lt();pi();Qr=(function(){function e(t){var n=new oe(T.SOF,0,0,0,0,null);this.source=t,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}var r=e.prototype;return r.advance=function(){this.lastToken=this.token;var n=this.token=this.lookahead();return n},r.lookahead=function(){var n=this.token;if(n.kind!==T.EOF)do{var i;n=(i=n.next)!==null&&i!==void 0?i:n.next=_c(this,n)}while(n.kind===T.COMMENT);return n},e})()});function Nr(e,r){var t=new oa(e,r);return t.parseDocument()}function nn(e,r){var t=new oa(e,r);t.expectToken(T.SOF);var n=t.parseValueLiteral(!1);return t.expectToken(T.EOF),n}function aa(e,r){var t=new oa(e,r);t.expectToken(T.SOF);var n=t.parseTypeReference();return t.expectToken(T.EOF),n}function ia(e){var r=e.value;return Rs(e.kind)+(r!=null?' "'.concat(r,'"'):"")}function Rs(e){return Ii(e)?'"'.concat(e,'"'):e}var oa,vt=g(()=>{"use strict";Ti();ae();ci();lt();gi();mt();bi();oa=(function(){function e(t,n){var i=Ei(t)?t:new wr(t);this._lexer=new Qr(i),this._options=n}var r=e.prototype;return r.parseName=function(){var n=this.expectToken(T.NAME);return{kind:f.NAME,value:n.value,loc:this.loc(n)}},r.parseDocument=function(){var n=this._lexer.token;return{kind:f.DOCUMENT,definitions:this.many(T.SOF,this.parseDefinition,T.EOF),loc:this.loc(n)}},r.parseDefinition=function(){if(this.peek(T.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(T.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},r.parseOperationDefinition=function(){var n=this._lexer.token;if(this.peek(T.BRACE_L))return{kind:f.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(n)};var i=this.parseOperationType(),a;return this.peek(T.NAME)&&(a=this.parseName()),{kind:f.OPERATION_DEFINITION,operation:i,name:a,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}},r.parseOperationType=function(){var n=this.expectToken(T.NAME);switch(n.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(n)},r.parseVariableDefinitions=function(){return this.optionalMany(T.PAREN_L,this.parseVariableDefinition,T.PAREN_R)},r.parseVariableDefinition=function(){var n=this._lexer.token;return{kind:f.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(T.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(n)}},r.parseVariable=function(){var n=this._lexer.token;return this.expectToken(T.DOLLAR),{kind:f.VARIABLE,name:this.parseName(),loc:this.loc(n)}},r.parseSelectionSet=function(){var n=this._lexer.token;return{kind:f.SELECTION_SET,selections:this.many(T.BRACE_L,this.parseSelection,T.BRACE_R),loc:this.loc(n)}},r.parseSelection=function(){return this.peek(T.SPREAD)?this.parseFragment():this.parseField()},r.parseField=function(){var n=this._lexer.token,i=this.parseName(),a,o;return this.expectOptionalToken(T.COLON)?(a=i,o=this.parseName()):o=i,{kind:f.FIELD,alias:a,name:o,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(T.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},r.parseArguments=function(n){var i=n?this.parseConstArgument:this.parseArgument;return this.optionalMany(T.PAREN_L,i,T.PAREN_R)},r.parseArgument=function(){var n=this._lexer.token,i=this.parseName();return this.expectToken(T.COLON),{kind:f.ARGUMENT,name:i,value:this.parseValueLiteral(!1),loc:this.loc(n)}},r.parseConstArgument=function(){var n=this._lexer.token;return{kind:f.ARGUMENT,name:this.parseName(),value:(this.expectToken(T.COLON),this.parseValueLiteral(!0)),loc:this.loc(n)}},r.parseFragment=function(){var n=this._lexer.token;this.expectToken(T.SPREAD);var i=this.expectOptionalKeyword("on");return!i&&this.peek(T.NAME)?{kind:f.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(n)}:{kind:f.INLINE_FRAGMENT,typeCondition:i?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(n)}},r.parseFragmentDefinition=function(){var n,i=this._lexer.token;return this.expectKeyword("fragment"),((n=this._options)===null||n===void 0?void 0:n.experimentalFragmentVariables)===!0?{kind:f.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}:{kind:f.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}},r.parseFragmentName=function(){if(this._lexer.token.value==="on")throw this.unexpected();return this.parseName()},r.parseValueLiteral=function(n){var i=this._lexer.token;switch(i.kind){case T.BRACKET_L:return this.parseList(n);case T.BRACE_L:return this.parseObject(n);case T.INT:return this._lexer.advance(),{kind:f.INT,value:i.value,loc:this.loc(i)};case T.FLOAT:return this._lexer.advance(),{kind:f.FLOAT,value:i.value,loc:this.loc(i)};case T.STRING:case T.BLOCK_STRING:return this.parseStringLiteral();case T.NAME:switch(this._lexer.advance(),i.value){case"true":return{kind:f.BOOLEAN,value:!0,loc:this.loc(i)};case"false":return{kind:f.BOOLEAN,value:!1,loc:this.loc(i)};case"null":return{kind:f.NULL,loc:this.loc(i)};default:return{kind:f.ENUM,value:i.value,loc:this.loc(i)}}case T.DOLLAR:if(!n)return this.parseVariable();break}throw this.unexpected()},r.parseStringLiteral=function(){var n=this._lexer.token;return this._lexer.advance(),{kind:f.STRING,value:n.value,block:n.kind===T.BLOCK_STRING,loc:this.loc(n)}},r.parseList=function(n){var i=this,a=this._lexer.token,o=function(){return i.parseValueLiteral(n)};return{kind:f.LIST,values:this.any(T.BRACKET_L,o,T.BRACKET_R),loc:this.loc(a)}},r.parseObject=function(n){var i=this,a=this._lexer.token,o=function(){return i.parseObjectField(n)};return{kind:f.OBJECT,fields:this.any(T.BRACE_L,o,T.BRACE_R),loc:this.loc(a)}},r.parseObjectField=function(n){var i=this._lexer.token,a=this.parseName();return this.expectToken(T.COLON),{kind:f.OBJECT_FIELD,name:a,value:this.parseValueLiteral(n),loc:this.loc(i)}},r.parseDirectives=function(n){for(var i=[];this.peek(T.AT);)i.push(this.parseDirective(n));return i},r.parseDirective=function(n){var i=this._lexer.token;return this.expectToken(T.AT),{kind:f.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(n),loc:this.loc(i)}},r.parseTypeReference=function(){var n=this._lexer.token,i;return this.expectOptionalToken(T.BRACKET_L)?(i=this.parseTypeReference(),this.expectToken(T.BRACKET_R),i={kind:f.LIST_TYPE,type:i,loc:this.loc(n)}):i=this.parseNamedType(),this.expectOptionalToken(T.BANG)?{kind:f.NON_NULL_TYPE,type:i,loc:this.loc(n)}:i},r.parseNamedType=function(){var n=this._lexer.token;return{kind:f.NAMED_TYPE,name:this.parseName(),loc:this.loc(n)}},r.parseTypeSystemDefinition=function(){var n=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(n.kind===T.NAME)switch(n.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(n)},r.peekDescription=function(){return this.peek(T.STRING)||this.peek(T.BLOCK_STRING)},r.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},r.parseSchemaDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("schema");var a=this.parseDirectives(!0),o=this.many(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);return{kind:f.SCHEMA_DEFINITION,description:i,directives:a,operationTypes:o,loc:this.loc(n)}},r.parseOperationTypeDefinition=function(){var n=this._lexer.token,i=this.parseOperationType();this.expectToken(T.COLON);var a=this.parseNamedType();return{kind:f.OPERATION_TYPE_DEFINITION,operation:i,type:a,loc:this.loc(n)}},r.parseScalarTypeDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("scalar");var a=this.parseName(),o=this.parseDirectives(!0);return{kind:f.SCALAR_TYPE_DEFINITION,description:i,name:a,directives:o,loc:this.loc(n)}},r.parseObjectTypeDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("type");var a=this.parseName(),o=this.parseImplementsInterfaces(),s=this.parseDirectives(!0),u=this.parseFieldsDefinition();return{kind:f.OBJECT_TYPE_DEFINITION,description:i,name:a,interfaces:o,directives:s,fields:u,loc:this.loc(n)}},r.parseImplementsInterfaces=function(){var n;if(!this.expectOptionalKeyword("implements"))return[];if(((n=this._options)===null||n===void 0?void 0:n.allowLegacySDLImplementsInterfaces)===!0){var i=[];this.expectOptionalToken(T.AMP);do i.push(this.parseNamedType());while(this.expectOptionalToken(T.AMP)||this.peek(T.NAME));return i}return this.delimitedMany(T.AMP,this.parseNamedType)},r.parseFieldsDefinition=function(){var n;return((n=this._options)===null||n===void 0?void 0:n.allowLegacySDLEmptyFields)===!0&&this.peek(T.BRACE_L)&&this._lexer.lookahead().kind===T.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(T.BRACE_L,this.parseFieldDefinition,T.BRACE_R)},r.parseFieldDefinition=function(){var n=this._lexer.token,i=this.parseDescription(),a=this.parseName(),o=this.parseArgumentDefs();this.expectToken(T.COLON);var s=this.parseTypeReference(),u=this.parseDirectives(!0);return{kind:f.FIELD_DEFINITION,description:i,name:a,arguments:o,type:s,directives:u,loc:this.loc(n)}},r.parseArgumentDefs=function(){return this.optionalMany(T.PAREN_L,this.parseInputValueDef,T.PAREN_R)},r.parseInputValueDef=function(){var n=this._lexer.token,i=this.parseDescription(),a=this.parseName();this.expectToken(T.COLON);var o=this.parseTypeReference(),s;this.expectOptionalToken(T.EQUALS)&&(s=this.parseValueLiteral(!0));var u=this.parseDirectives(!0);return{kind:f.INPUT_VALUE_DEFINITION,description:i,name:a,type:o,defaultValue:s,directives:u,loc:this.loc(n)}},r.parseInterfaceTypeDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("interface");var a=this.parseName(),o=this.parseImplementsInterfaces(),s=this.parseDirectives(!0),u=this.parseFieldsDefinition();return{kind:f.INTERFACE_TYPE_DEFINITION,description:i,name:a,interfaces:o,directives:s,fields:u,loc:this.loc(n)}},r.parseUnionTypeDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("union");var a=this.parseName(),o=this.parseDirectives(!0),s=this.parseUnionMemberTypes();return{kind:f.UNION_TYPE_DEFINITION,description:i,name:a,directives:o,types:s,loc:this.loc(n)}},r.parseUnionMemberTypes=function(){return this.expectOptionalToken(T.EQUALS)?this.delimitedMany(T.PIPE,this.parseNamedType):[]},r.parseEnumTypeDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("enum");var a=this.parseName(),o=this.parseDirectives(!0),s=this.parseEnumValuesDefinition();return{kind:f.ENUM_TYPE_DEFINITION,description:i,name:a,directives:o,values:s,loc:this.loc(n)}},r.parseEnumValuesDefinition=function(){return this.optionalMany(T.BRACE_L,this.parseEnumValueDefinition,T.BRACE_R)},r.parseEnumValueDefinition=function(){var n=this._lexer.token,i=this.parseDescription(),a=this.parseName(),o=this.parseDirectives(!0);return{kind:f.ENUM_VALUE_DEFINITION,description:i,name:a,directives:o,loc:this.loc(n)}},r.parseInputObjectTypeDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("input");var a=this.parseName(),o=this.parseDirectives(!0),s=this.parseInputFieldsDefinition();return{kind:f.INPUT_OBJECT_TYPE_DEFINITION,description:i,name:a,directives:o,fields:s,loc:this.loc(n)}},r.parseInputFieldsDefinition=function(){return this.optionalMany(T.BRACE_L,this.parseInputValueDef,T.BRACE_R)},r.parseTypeSystemExtension=function(){var n=this._lexer.lookahead();if(n.kind===T.NAME)switch(n.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(n)},r.parseSchemaExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var i=this.parseDirectives(!0),a=this.optionalMany(T.BRACE_L,this.parseOperationTypeDefinition,T.BRACE_R);if(i.length===0&&a.length===0)throw this.unexpected();return{kind:f.SCHEMA_EXTENSION,directives:i,operationTypes:a,loc:this.loc(n)}},r.parseScalarTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var i=this.parseName(),a=this.parseDirectives(!0);if(a.length===0)throw this.unexpected();return{kind:f.SCALAR_TYPE_EXTENSION,name:i,directives:a,loc:this.loc(n)}},r.parseObjectTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var i=this.parseName(),a=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),s=this.parseFieldsDefinition();if(a.length===0&&o.length===0&&s.length===0)throw this.unexpected();return{kind:f.OBJECT_TYPE_EXTENSION,name:i,interfaces:a,directives:o,fields:s,loc:this.loc(n)}},r.parseInterfaceTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var i=this.parseName(),a=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),s=this.parseFieldsDefinition();if(a.length===0&&o.length===0&&s.length===0)throw this.unexpected();return{kind:f.INTERFACE_TYPE_EXTENSION,name:i,interfaces:a,directives:o,fields:s,loc:this.loc(n)}},r.parseUnionTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var i=this.parseName(),a=this.parseDirectives(!0),o=this.parseUnionMemberTypes();if(a.length===0&&o.length===0)throw this.unexpected();return{kind:f.UNION_TYPE_EXTENSION,name:i,directives:a,types:o,loc:this.loc(n)}},r.parseEnumTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var i=this.parseName(),a=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();if(a.length===0&&o.length===0)throw this.unexpected();return{kind:f.ENUM_TYPE_EXTENSION,name:i,directives:a,values:o,loc:this.loc(n)}},r.parseInputObjectTypeExtension=function(){var n=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var i=this.parseName(),a=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();if(a.length===0&&o.length===0)throw this.unexpected();return{kind:f.INPUT_OBJECT_TYPE_EXTENSION,name:i,directives:a,fields:o,loc:this.loc(n)}},r.parseDirectiveDefinition=function(){var n=this._lexer.token,i=this.parseDescription();this.expectKeyword("directive"),this.expectToken(T.AT);var a=this.parseName(),o=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var u=this.parseDirectiveLocations();return{kind:f.DIRECTIVE_DEFINITION,description:i,name:a,arguments:o,repeatable:s,locations:u,loc:this.loc(n)}},r.parseDirectiveLocations=function(){return this.delimitedMany(T.PIPE,this.parseDirectiveLocation)},r.parseDirectiveLocation=function(){var n=this._lexer.token,i=this.parseName();if(w[i.value]!==void 0)return i;throw this.unexpected(n)},r.loc=function(n){var i;if(((i=this._options)===null||i===void 0?void 0:i.noLocation)!==!0)return new Ht(n,this._lexer.lastToken,this._lexer.source)},r.peek=function(n){return this._lexer.token.kind===n},r.expectToken=function(n){var i=this._lexer.token;if(i.kind===n)return this._lexer.advance(),i;throw ge(this._lexer.source,i.start,"Expected ".concat(Rs(n),", found ").concat(ia(i),"."))},r.expectOptionalToken=function(n){var i=this._lexer.token;if(i.kind===n)return this._lexer.advance(),i},r.expectKeyword=function(n){var i=this._lexer.token;if(i.kind===T.NAME&&i.value===n)this._lexer.advance();else throw ge(this._lexer.source,i.start,'Expected "'.concat(n,'", found ').concat(ia(i),"."))},r.expectOptionalKeyword=function(n){var i=this._lexer.token;return i.kind===T.NAME&&i.value===n?(this._lexer.advance(),!0):!1},r.unexpected=function(n){var i=n??this._lexer.token;return ge(this._lexer.source,i.start,"Unexpected ".concat(ia(i),"."))},r.any=function(n,i,a){this.expectToken(n);for(var o=[];!this.expectOptionalToken(a);)o.push(i.call(this));return o},r.optionalMany=function(n,i,a){if(this.expectOptionalToken(n)){var o=[];do o.push(i.call(this));while(!this.expectOptionalToken(a));return o}return[]},r.many=function(n,i,a){this.expectToken(n);var o=[];do o.push(i.call(this));while(!this.expectOptionalToken(a));return o},r.delimitedMany=function(n,i){this.expectOptionalToken(n);var a=[];do a.push(i.call(this));while(this.expectOptionalToken(n));return a},e})()});function sa(e){return dt(e)||ht(e)||yt(e)}function dt(e){return e.kind===f.OPERATION_DEFINITION||e.kind===f.FRAGMENT_DEFINITION}function ua(e){return e.kind===f.FIELD||e.kind===f.FRAGMENT_SPREAD||e.kind===f.INLINE_FRAGMENT}function ca(e){return e.kind===f.VARIABLE||e.kind===f.INT||e.kind===f.FLOAT||e.kind===f.STRING||e.kind===f.BOOLEAN||e.kind===f.NULL||e.kind===f.ENUM||e.kind===f.LIST||e.kind===f.OBJECT}function pa(e){return e.kind===f.NAMED_TYPE||e.kind===f.LIST_TYPE||e.kind===f.NON_NULL_TYPE}function ht(e){return e.kind===f.SCHEMA_DEFINITION||ze(e)||e.kind===f.DIRECTIVE_DEFINITION}function ze(e){return e.kind===f.SCALAR_TYPE_DEFINITION||e.kind===f.OBJECT_TYPE_DEFINITION||e.kind===f.INTERFACE_TYPE_DEFINITION||e.kind===f.UNION_TYPE_DEFINITION||e.kind===f.ENUM_TYPE_DEFINITION||e.kind===f.INPUT_OBJECT_TYPE_DEFINITION}function yt(e){return e.kind===f.SCHEMA_EXTENSION||xr(e)}function xr(e){return e.kind===f.SCALAR_TYPE_EXTENSION||e.kind===f.OBJECT_TYPE_EXTENSION||e.kind===f.INTERFACE_TYPE_EXTENSION||e.kind===f.UNION_TYPE_EXTENSION||e.kind===f.ENUM_TYPE_EXTENSION||e.kind===f.INPUT_OBJECT_TYPE_EXTENSION}var Br=g(()=>{"use strict";ae()});var ws=g(()=>{"use strict";gi();mi();ra();ae();lt();bi();vt();Je();pt();ci();Br();mt()});var Gc,ir,Tt=g(()=>{"use strict";Gc=Array.prototype.find?function(e,r){return Array.prototype.find.call(e,r)}:function(e,r){for(var t=0;t<e.length;t++){var n=e[t];if(r(n))return n}},ir=Gc});var Qc,j,Ge=g(()=>{"use strict";Qc=Object.values||function(e){return Object.keys(e).map(function(r){return e[r]})},j=Qc});function Qe(e,r,t){var n,i=e instanceof Error?e:new Error("Unexpected error value: "+y(e));return Array.isArray(i.path)?i:new v(i.message,(n=i.nodes)!==null&&n!==void 0?n:r,i.source,i.positions,t,i)}var an=g(()=>{"use strict";te();F()});function fa(e){var r=Et(e);if(r)throw r;return e}function Et(e){if(typeof e=="string"||x(0,"Expected name to be a string."),e.length>1&&e[0]==="_"&&e[1]==="_")return new v('Name "'.concat(e,'" must not begin with "__", which is reserved by GraphQL introspection.'));if(!Bc.test(e))return new v('Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but "'.concat(e,'" does not.'))}var Bc,la=g(()=>{"use strict";Xe();F();Bc=/^[_a-zA-Z][_a-zA-Z0-9]*$/});var qc,ar,gt=g(()=>{"use strict";qc=Object.entries||function(e){return Object.keys(e).map(function(r){return[r,e[r]]})},ar=qc});function de(e,r){return e.reduce(function(t,n){return t[r(n)]=n,t},Object.create(null))}var _r=g(()=>{"use strict"});function He(e,r){for(var t=Object.create(null),n=0,i=ar(e);n<i.length;n++){var a=i[n],o=a[0],s=a[1];t[o]=r(s,o)}return t}var ma=g(()=>{"use strict";gt()});function be(e){if(Object.getPrototypeOf(e)===null)return e;for(var r=Object.create(null),t=0,n=ar(e);t<n.length;t++){var i=n[t],a=i[0],o=i[1];r[a]=o}return r}var Oi=g(()=>{"use strict";gt()});function Be(e,r,t){return e.reduce(function(n,i){return n[r(i)]=t(i),n},Object.create(null))}var on=g(()=>{"use strict"});function Oe(e,r){var t=typeof e=="string"?[e,r]:[void 0,e],n=t[0],i=t[1],a=" Did you mean ";n&&(a+=n+" ");var o=i.map(function(c){return'"'.concat(c,'"')});switch(o.length){case 0:return"";case 1:return a+o[0]+"?";case 2:return a+o[0]+" or "+o[1]+"?"}var s=o.slice(0,Kc),u=s.pop();return a+s.join(", ")+", or "+u+"?"}var Kc,Fr=g(()=>{"use strict";Kc=5});function Di(e){return e}var xs=g(()=>{"use strict"});function Ir(e,r){for(var t=0,n=0;t<e.length&&n<r.length;){var i=e.charCodeAt(t),a=r.charCodeAt(n);if(Si(i)&&Si(a)){var o=0;do++t,o=o*10+i-va,i=e.charCodeAt(t);while(Si(i)&&o>0);var s=0;do++n,s=s*10+a-va,a=r.charCodeAt(n);while(Si(a)&&s>0);if(o<s)return-1;if(o>s)return 1}else{if(i<a)return-1;if(i>a)return 1;++t,++n}}return e.length-r.length}function Si(e){return!isNaN(e)&&va<=e&&e<=Yc}var va,Yc,sn=g(()=>{"use strict";va=48,Yc=57});function Se(e,r){for(var t=Object.create(null),n=new Jc(e),i=Math.floor(e.length*.4)+1,a=0;a<r.length;a++){var o=r[a],s=n.measure(o,i);s!==void 0&&(t[o]=s)}return Object.keys(t).sort(function(u,c){var p=t[u]-t[c];return p!==0?p:Ir(u,c)})}function _s(e){for(var r=e.length,t=new Array(r),n=0;n<r;++n)t[n]=e.charCodeAt(n);return t}var Jc,kr=g(()=>{"use strict";sn();Jc=(function(){function e(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=_s(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}var r=e.prototype;return r.measure=function(n,i){if(this._input===n)return 0;var a=n.toLowerCase();if(this._inputLowerCase===a)return 1;var o=_s(a),s=this._inputArray;if(o.length<s.length){var u=o;o=s,s=u}var c=o.length,p=s.length;if(!(c-p>i)){for(var l=this._rows,m=0;m<=p;m++)l[0][m]=m;for(var d=1;d<=c;d++){for(var h=l[(d-1)%3],E=l[d%3],I=E[0]=d,O=1;O<=p;O++){var D=o[d-1]===s[O-1]?0:1,V=Math.min(h[O]+1,E[O-1]+1,h[O-1]+D);if(d>1&&O>1&&o[d-1]===s[O-2]&&o[d-2]===s[O-1]){var P=l[(d-2)%3][O-2];V=Math.min(V,P+1)}V<I&&(I=V),E[O]=V}if(I>i)return}var U=l[c%3][p];return U<=i?U:void 0}},e})()});function qr(e,r){switch(e.kind){case f.NULL:return null;case f.INT:return parseInt(e.value,10);case f.FLOAT:return parseFloat(e.value);case f.STRING:case f.ENUM:case f.BOOLEAN:return e.value;case f.LIST:return e.values.map(function(t){return qr(t,r)});case f.OBJECT:return Be(e.fields,function(t){return t.name.value},function(t){return qr(t.value,r)});case f.VARIABLE:return r?.[e.name.value]}q(0,"Unexpected value node: "+y(e))}var da=g(()=>{"use strict";te();xe();on();ae()});function Fs(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function It(e,r,t){return r&&Fs(e.prototype,r),t&&Fs(e,t),e}function Kr(e){return fe(e)||k(e)||M(e)||ne(e)||X(e)||C(e)||G(e)||A(e)}function Ai(e){if(!Kr(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL type."));return e}function fe(e){return _e(e,Ae)}function ha(e){if(!fe(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL Scalar type."));return e}function k(e){return _e(e,ye)}function un(e){if(!k(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL Object type."));return e}function M(e){return _e(e,We)}function cn(e){if(!M(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL Interface type."));return e}function ne(e){return _e(e,Ze)}function ya(e){if(!ne(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL Union type."));return e}function X(e){return _e(e,ke)}function Ta(e){if(!X(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL Enum type."));return e}function C(e){return _e(e,$e)}function Ea(e){if(!C(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL Input Object type."));return e}function G(e){return _e(e,ee)}function ga(e){if(!G(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL List type."));return e}function A(e){return _e(e,_)}function Na(e){if(!A(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL Non-Null type."));return e}function le(e){return fe(e)||X(e)||C(e)||Yr(e)&&le(e.ofType)}function Ia(e){if(!le(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL input type."));return e}function qe(e){return fe(e)||k(e)||M(e)||ne(e)||X(e)||Yr(e)&&qe(e.ofType)}function ba(e){if(!qe(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL output type."));return e}function he(e){return fe(e)||X(e)}function Oa(e){if(!he(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL leaf type."));return e}function Fe(e){return k(e)||M(e)||ne(e)}function Da(e){if(!Fe(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL composite type."));return e}function Le(e){return M(e)||ne(e)}function Sa(e){if(!Le(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL abstract type."));return e}function ee(e){if(this instanceof ee)this.ofType=Ai(e);else return new ee(e)}function _(e){if(this instanceof _)this.ofType=bt(e);else return new _(e)}function Yr(e){return G(e)||A(e)}function La(e){if(!Yr(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL wrapping type."));return e}function Ri(e){return Kr(e)&&!A(e)}function bt(e){if(!Ri(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL nullable type."));return e}function Jr(e){if(e)return A(e)?e.ofType:e}function or(e){return fe(e)||k(e)||M(e)||ne(e)||X(e)||C(e)}function Aa(e){if(!or(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL named type."));return e}function se(e){if(e){for(var r=e;Yr(r);)r=r.ofType;return r}}function wi(e){return typeof e=="function"?e():e}function Ot(e){return e&&e.length>0?e:void 0}function ks(e){var r,t=(r=wi(e.interfaces))!==null&&r!==void 0?r:[];return Array.isArray(t)||x(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),t}function Vs(e){var r=wi(e.fields);return Nt(r)||x(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),He(r,function(t,n){var i;Nt(t)||x(0,"".concat(e.name,".").concat(n," field config must be an object.")),!("isDeprecated"in t)||x(0,"".concat(e.name,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),t.resolve==null||typeof t.resolve=="function"||x(0,"".concat(e.name,".").concat(n," field resolver must be a function if ")+"provided, but got: ".concat(y(t.resolve),"."));var a=(i=t.args)!==null&&i!==void 0?i:{};Nt(a)||x(0,"".concat(e.name,".").concat(n," args must be an object with argument names as keys."));var o=ar(a).map(function(s){var u=s[0],c=s[1];return{name:u,description:c.description,type:c.type,defaultValue:c.defaultValue,deprecationReason:c.deprecationReason,extensions:c.extensions&&be(c.extensions),astNode:c.astNode}});return{name:n,description:t.description,type:t.type,args:o,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:t.deprecationReason!=null,deprecationReason:t.deprecationReason,extensions:t.extensions&&be(t.extensions),astNode:t.astNode}})}function Nt(e){return ce(e)&&!Array.isArray(e)}function Ms(e){return He(e,function(r){return{description:r.description,type:r.type,args:Ra(r.args),resolve:r.resolve,subscribe:r.subscribe,deprecationReason:r.deprecationReason,extensions:r.extensions,astNode:r.astNode}})}function Ra(e){return Be(e,function(r){return r.name},function(r){return{description:r.description,type:r.type,defaultValue:r.defaultValue,deprecationReason:r.deprecationReason,extensions:r.extensions,astNode:r.astNode}})}function Ke(e){return A(e.type)&&e.defaultValue===void 0}function Xc(e){var r=wi(e.types);return Array.isArray(r)||x(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),r}function Li(e,r){var t=e.getValues().map(function(i){return i.name}),n=Se(r,t);return Oe("the enum value",n)}function zc(e,r){return Nt(r)||x(0,"".concat(e," values must be an object with value names as keys.")),ar(r).map(function(t){var n=t[0],i=t[1];return Nt(i)||x(0,"".concat(e,".").concat(n,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(y(i),".")),!("isDeprecated"in i)||x(0,"".concat(e,".").concat(n,' should provide "deprecationReason" instead of "isDeprecated".')),{name:n,description:i.description,value:i.value!==void 0?i.value:n,isDeprecated:i.deprecationReason!=null,deprecationReason:i.deprecationReason,extensions:i.extensions&&be(i.extensions),astNode:i.astNode}})}function Hc(e){var r=wi(e.fields);return Nt(r)||x(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),He(r,function(t,n){return!("resolve"in t)||x(0,"".concat(e.name,".").concat(n," field has a resolve property, but Input Types cannot define resolvers.")),{name:n,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&be(t.extensions),astNode:t.astNode}})}function br(e){return A(e.type)&&e.defaultValue===void 0}var Ae,ye,We,Ze,ke,$e,Y=g(()=>{"use strict";gt();lr();te();_r();ma();Oi();Xe();on();tn();Fr();fr();xs();gs();kr();F();ae();Je();da();ee.prototype.toString=function(){return"["+String(this.ofType)+"]"};ee.prototype.toJSON=function(){return this.toString()};Object.defineProperty(ee.prototype,Ie,{get:function(){return"GraphQLList"}});nr(ee);_.prototype.toString=function(){return String(this.ofType)+"!"};_.prototype.toJSON=function(){return this.toString()};Object.defineProperty(_.prototype,Ie,{get:function(){return"GraphQLNonNull"}});nr(_);Ae=(function(){function e(t){var n,i,a,o=(n=t.parseValue)!==null&&n!==void 0?n:Di;this.name=t.name,this.description=t.description,this.specifiedByUrl=t.specifiedByUrl,this.serialize=(i=t.serialize)!==null&&i!==void 0?i:Di,this.parseValue=o,this.parseLiteral=(a=t.parseLiteral)!==null&&a!==void 0?a:function(s,u){return o(qr(s,u))},this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=Ot(t.extensionASTNodes),typeof t.name=="string"||x(0,"Must provide name."),t.specifiedByUrl==null||typeof t.specifiedByUrl=="string"||x(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(y(t.specifiedByUrl),".")),t.serialize==null||typeof t.serialize=="function"||x(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),t.parseLiteral&&(typeof t.parseValue=="function"&&typeof t.parseLiteral=="function"||x(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var r=e.prototype;return r.toConfig=function(){var n;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(n=this.extensionASTNodes)!==null&&n!==void 0?n:[]}},r.toString=function(){return this.name},r.toJSON=function(){return this.toString()},It(e,[{key:Ie,get:function(){return"GraphQLScalarType"}}]),e})();nr(Ae);ye=(function(){function e(t){this.name=t.name,this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=Ot(t.extensionASTNodes),this._fields=Vs.bind(void 0,t),this._interfaces=ks.bind(void 0,t),typeof t.name=="string"||x(0,"Must provide name."),t.isTypeOf==null||typeof t.isTypeOf=="function"||x(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(y(t.isTypeOf),"."))}var r=e.prototype;return r.getFields=function(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields},r.getInterfaces=function(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces},r.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Ms(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},r.toString=function(){return this.name},r.toJSON=function(){return this.toString()},It(e,[{key:Ie,get:function(){return"GraphQLObjectType"}}]),e})();nr(ye);We=(function(){function e(t){this.name=t.name,this.description=t.description,this.resolveType=t.resolveType,this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=Ot(t.extensionASTNodes),this._fields=Vs.bind(void 0,t),this._interfaces=ks.bind(void 0,t),typeof t.name=="string"||x(0,"Must provide name."),t.resolveType==null||typeof t.resolveType=="function"||x(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(y(t.resolveType),"."))}var r=e.prototype;return r.getFields=function(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields},r.getInterfaces=function(){return typeof this._interfaces=="function"&&(this._interfaces=this._interfaces()),this._interfaces},r.toConfig=function(){var n;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Ms(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(n=this.extensionASTNodes)!==null&&n!==void 0?n:[]}},r.toString=function(){return this.name},r.toJSON=function(){return this.toString()},It(e,[{key:Ie,get:function(){return"GraphQLInterfaceType"}}]),e})();nr(We);Ze=(function(){function e(t){this.name=t.name,this.description=t.description,this.resolveType=t.resolveType,this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=Ot(t.extensionASTNodes),this._types=Xc.bind(void 0,t),typeof t.name=="string"||x(0,"Must provide name."),t.resolveType==null||typeof t.resolveType=="function"||x(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(y(t.resolveType),"."))}var r=e.prototype;return r.getTypes=function(){return typeof this._types=="function"&&(this._types=this._types()),this._types},r.toConfig=function(){var n;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(n=this.extensionASTNodes)!==null&&n!==void 0?n:[]}},r.toString=function(){return this.name},r.toJSON=function(){return this.toString()},It(e,[{key:Ie,get:function(){return"GraphQLUnionType"}}]),e})();nr(Ze);ke=(function(){function e(t){this.name=t.name,this.description=t.description,this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=Ot(t.extensionASTNodes),this._values=zc(this.name,t.values),this._valueLookup=new Map(this._values.map(function(n){return[n.value,n]})),this._nameLookup=de(this._values,function(n){return n.name}),typeof t.name=="string"||x(0,"Must provide name.")}var r=e.prototype;return r.getValues=function(){return this._values},r.getValue=function(n){return this._nameLookup[n]},r.serialize=function(n){var i=this._valueLookup.get(n);if(i===void 0)throw new v('Enum "'.concat(this.name,'" cannot represent value: ').concat(y(n)));return i.name},r.parseValue=function(n){if(typeof n!="string"){var i=y(n);throw new v('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(i,".")+Li(this,i))}var a=this.getValue(n);if(a==null)throw new v('Value "'.concat(n,'" does not exist in "').concat(this.name,'" enum.')+Li(this,n));return a.value},r.parseLiteral=function(n,i){if(n.kind!==f.ENUM){var a=Q(n);throw new v('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(a,".")+Li(this,a),n)}var o=this.getValue(n.value);if(o==null){var s=Q(n);throw new v('Value "'.concat(s,'" does not exist in "').concat(this.name,'" enum.')+Li(this,s),n)}return o.value},r.toConfig=function(){var n,i=Be(this.getValues(),function(a){return a.name},function(a){return{description:a.description,value:a.value,deprecationReason:a.deprecationReason,extensions:a.extensions,astNode:a.astNode}});return{name:this.name,description:this.description,values:i,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(n=this.extensionASTNodes)!==null&&n!==void 0?n:[]}},r.toString=function(){return this.name},r.toJSON=function(){return this.toString()},It(e,[{key:Ie,get:function(){return"GraphQLEnumType"}}]),e})();nr(ke);$e=(function(){function e(t){this.name=t.name,this.description=t.description,this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=Ot(t.extensionASTNodes),this._fields=Hc.bind(void 0,t),typeof t.name=="string"||x(0,"Must provide name.")}var r=e.prototype;return r.getFields=function(){return typeof this._fields=="function"&&(this._fields=this._fields()),this._fields},r.toConfig=function(){var n,i=He(this.getFields(),function(a){return{description:a.description,type:a.type,defaultValue:a.defaultValue,extensions:a.extensions,astNode:a.astNode}});return{name:this.name,description:this.description,fields:i,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(n=this.extensionASTNodes)!==null&&n!==void 0?n:[]}},r.toString=function(){return this.name},r.toJSON=function(){return this.toString()},It(e,[{key:Ie,get:function(){return"GraphQLInputObjectType"}}]),e})();nr($e)});function Xr(e,r){return e===r?!0:A(e)&&A(r)||G(e)&&G(r)?Xr(e.ofType,r.ofType):!1}function sr(e,r,t){return r===t?!0:A(t)?A(r)?sr(e,r.ofType,t.ofType):!1:A(r)?sr(e,r.ofType,t):G(t)?G(r)?sr(e,r.ofType,t.ofType):!1:G(r)?!1:Le(t)&&(M(r)||k(r))&&e.isSubType(t,r)}function Dt(e,r,t){return r===t?!0:Le(r)?Le(t)?e.getPossibleTypes(r).some(function(n){return e.isSubType(t,n)}):e.isSubType(r,t):Le(t)?e.isSubType(t,r):!1}var pn=g(()=>{"use strict";Y()});var Wc,xi,wa=g(()=>{"use strict";lr();Wc=Array.from||function(e,r,t){if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n=e[li];if(typeof n=="function"){for(var i=n.call(e),a=[],o,s=0;!(o=i.next()).done;++s)if(a.push(r.call(t,o.value,s)),s>9999999)throw new TypeError("Near-infinite iteration.");return a}var u=e.length;if(typeof u=="number"&&u>=0&&u%1===0){for(var c=[],p=0;p<u;++p)Object.prototype.hasOwnProperty.call(e,p)&&c.push(r.call(t,e[p],p));return c}return[]},xi=Wc});var Zc,zr,xa=g(()=>{"use strict";Zc=Number.isFinite||function(e){return typeof e=="number"&&isFinite(e)},zr=Zc});function _i(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_i=function(t){return typeof t}:_i=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_i(e)}function Hr(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(p){return p};if(e==null||_i(e)!=="object")return null;if(Array.isArray(e))return e.map(r);var t=e[li];if(typeof t=="function"){for(var n=t.call(e),i=[],a,o=0;!(a=n.next()).done;++o)i.push(r(a.value,o));return i}var s=e.length;if(typeof s=="number"&&s>=0&&s%1===0){for(var u=[],c=0;c<s;++c){if(!Object.prototype.hasOwnProperty.call(e,c))return null;u.push(r(e[String(c)],c))}return u}return null}var Fi=g(()=>{"use strict";lr()});var $c,fn,Ps=g(()=>{"use strict";$c=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},fn=$c});function ep(e){var r=ln(e);if(typeof r=="boolean")return r?1:0;var t=r;if(typeof r=="string"&&r!==""&&(t=Number(r)),!fn(t))throw new v("Int cannot represent non-integer value: ".concat(y(r)));if(t>_a||t<Fa)throw new v("Int cannot represent non 32-bit signed integer value: "+y(r));return t}function rp(e){if(!fn(e))throw new v("Int cannot represent non-integer value: ".concat(y(e)));if(e>_a||e<Fa)throw new v("Int cannot represent non 32-bit signed integer value: ".concat(e));return e}function tp(e){var r=ln(e);if(typeof r=="boolean")return r?1:0;var t=r;if(typeof r=="string"&&r!==""&&(t=Number(r)),!zr(t))throw new v("Float cannot represent non numeric value: ".concat(y(r)));return t}function np(e){if(!zr(e))throw new v("Float cannot represent non numeric value: ".concat(y(e)));return e}function ln(e){if(ce(e)){if(typeof e.valueOf=="function"){var r=e.valueOf();if(!ce(r))return r}if(typeof e.toJSON=="function")return e.toJSON()}return e}function ip(e){var r=ln(e);if(typeof r=="string")return r;if(typeof r=="boolean")return r?"true":"false";if(zr(r))return r.toString();throw new v("String cannot represent value: ".concat(y(e)))}function ap(e){if(typeof e!="string")throw new v("String cannot represent a non string value: ".concat(y(e)));return e}function op(e){var r=ln(e);if(typeof r=="boolean")return r;if(zr(r))return r!==0;throw new v("Boolean cannot represent a non boolean value: ".concat(y(r)))}function sp(e){if(typeof e!="boolean")throw new v("Boolean cannot represent a non boolean value: ".concat(y(e)));return e}function up(e){var r=ln(e);if(typeof r=="string")return r;if(fn(r))return String(r);throw new v("ID cannot represent value: ".concat(y(e)))}function cp(e){if(typeof e=="string")return e;if(fn(e))return e.toString();throw new v("ID cannot represent value: ".concat(y(e)))}function Or(e){return mr.some(function(r){var t=r.name;return e.name===t})}var _a,Fa,ki,Vi,ie,Re,St,mr,vr=g(()=>{"use strict";xa();Ps();te();fr();ae();Je();F();Y();_a=2147483647,Fa=-2147483648;ki=new Ae({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:ep,parseValue:rp,parseLiteral:function(r){if(r.kind!==f.INT)throw new v("Int cannot represent non-integer value: ".concat(Q(r)),r);var t=parseInt(r.value,10);if(t>_a||t<Fa)throw new v("Int cannot represent non 32-bit signed integer value: ".concat(r.value),r);return t}});Vi=new Ae({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:tp,parseValue:np,parseLiteral:function(r){if(r.kind!==f.FLOAT&&r.kind!==f.INT)throw new v("Float cannot represent non numeric value: ".concat(Q(r)),r);return parseFloat(r.value)}});ie=new Ae({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:ip,parseValue:ap,parseLiteral:function(r){if(r.kind!==f.STRING)throw new v("String cannot represent a non string value: ".concat(Q(r)),r);return r.value}});Re=new Ae({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:op,parseValue:sp,parseLiteral:function(r){if(r.kind!==f.BOOLEAN)throw new v("Boolean cannot represent a non boolean value: ".concat(Q(r)),r);return r.value}});St=new Ae({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:up,parseValue:cp,parseLiteral:function(r){if(r.kind!==f.STRING&&r.kind!==f.INT)throw new v("ID cannot represent a non-string and non-integer value: "+Q(r),r);return r.value}}),mr=Object.freeze([ie,ki,Vi,Re,St])});function Ve(e,r){if(A(r)){var t=Ve(e,r.ofType);return t?.kind===f.NULL?null:t}if(e===null)return{kind:f.NULL};if(e===void 0)return null;if(G(r)){var n=r.ofType,i=Hr(e);if(i!=null){for(var a=[],o=0;o<i.length;o++){var s=i[o],u=Ve(s,n);u!=null&&a.push(u)}return{kind:f.LIST,values:a}}return Ve(e,n)}if(C(r)){if(!ce(e))return null;for(var c=[],p=0,l=j(r.getFields());p<l.length;p++){var m=l[p],d=Ve(e[m.name],m.type);d&&c.push({kind:f.OBJECT_FIELD,name:{kind:f.NAME,value:m.name},value:d})}return{kind:f.OBJECT,fields:c}}if(he(r)){var h=r.serialize(e);if(h==null)return null;if(typeof h=="boolean")return{kind:f.BOOLEAN,value:h};if(typeof h=="number"&&zr(h)){var E=String(h);return Us.test(E)?{kind:f.INT,value:E}:{kind:f.FLOAT,value:E}}if(typeof h=="string")return X(r)?{kind:f.ENUM,value:h}:r===St&&Us.test(h)?{kind:f.INT,value:h}:{kind:f.STRING,value:h};throw new TypeError("Cannot convert value to AST: ".concat(y(h),"."))}q(0,"Unexpected input type: "+y(r))}var Us,mn=g(()=>{"use strict";xa();Ge();te();xe();fr();Fi();ae();vr();Y();Us=/^-?(?:0|[1-9][0-9]*)$/});var pp={};Es(pp,{SchemaMetaFieldDef:()=>dr,TypeKind:()=>re,TypeMetaFieldDef:()=>hr,TypeNameMetaFieldDef:()=>yr,__Directive:()=>Lt,__DirectiveLocation:()=>At,__EnumValue:()=>wt,__Field:()=>Rt,__InputValue:()=>Mr,__Schema:()=>Vr,__Type:()=>Me,__TypeKind:()=>xt,introspectionTypes:()=>ur,isIntrospectionType:()=>Pe});function Pe(e){return ur.some(function(r){var t=r.name;return e.name===t})}var Vr,Lt,At,Me,Rt,Mr,wt,re,xt,dr,hr,yr,ur,er=g(()=>{"use strict";Ge();te();xe();Je();mt();mn();vr();Y();Vr=new ye({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:ie,resolve:function(t){return t.description}},types:{description:"A list of all types supported by this server.",type:new _(new ee(new _(Me))),resolve:function(t){return j(t.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new _(Me),resolve:function(t){return t.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Me,resolve:function(t){return t.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Me,resolve:function(t){return t.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new _(new ee(new _(Lt))),resolve:function(t){return t.getDirectives()}}}}}),Lt=new ye({name:"__Directive",description:`A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.

In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:function(){return{name:{type:new _(ie),resolve:function(t){return t.name}},description:{type:ie,resolve:function(t){return t.description}},isRepeatable:{type:new _(Re),resolve:function(t){return t.isRepeatable}},locations:{type:new _(new ee(new _(At))),resolve:function(t){return t.locations}},args:{type:new _(new ee(new _(Mr))),resolve:function(t){return t.args}}}}}),At=new ke({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:w.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:w.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:w.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:w.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:w.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:w.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:w.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:w.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:w.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:w.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:w.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:w.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:w.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:w.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:w.UNION,description:"Location adjacent to a union definition."},ENUM:{value:w.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:w.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:w.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:w.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Me=new ye({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new _(xt),resolve:function(t){if(fe(t))return re.SCALAR;if(k(t))return re.OBJECT;if(M(t))return re.INTERFACE;if(ne(t))return re.UNION;if(X(t))return re.ENUM;if(C(t))return re.INPUT_OBJECT;if(G(t))return re.LIST;if(A(t))return re.NON_NULL;q(0,'Unexpected type: "'.concat(y(t),'".'))}},name:{type:ie,resolve:function(t){return t.name!==void 0?t.name:void 0}},description:{type:ie,resolve:function(t){return t.description!==void 0?t.description:void 0}},specifiedByUrl:{type:ie,resolve:function(t){return t.specifiedByUrl!==void 0?t.specifiedByUrl:void 0}},fields:{type:new ee(new _(Rt)),args:{includeDeprecated:{type:Re,defaultValue:!1}},resolve:function(t,n){var i=n.includeDeprecated;if(k(t)||M(t)){var a=j(t.getFields());return i?a:a.filter(function(o){return o.deprecationReason==null})}}},interfaces:{type:new ee(new _(Me)),resolve:function(t){if(k(t)||M(t))return t.getInterfaces()}},possibleTypes:{type:new ee(new _(Me)),resolve:function(t,n,i,a){var o=a.schema;if(Le(t))return o.getPossibleTypes(t)}},enumValues:{type:new ee(new _(wt)),args:{includeDeprecated:{type:Re,defaultValue:!1}},resolve:function(t,n){var i=n.includeDeprecated;if(X(t)){var a=t.getValues();return i?a:a.filter(function(o){return o.deprecationReason==null})}}},inputFields:{type:new ee(new _(Mr)),args:{includeDeprecated:{type:Re,defaultValue:!1}},resolve:function(t,n){var i=n.includeDeprecated;if(C(t)){var a=j(t.getFields());return i?a:a.filter(function(o){return o.deprecationReason==null})}}},ofType:{type:Me,resolve:function(t){return t.ofType!==void 0?t.ofType:void 0}}}}}),Rt=new ye({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new _(ie),resolve:function(t){return t.name}},description:{type:ie,resolve:function(t){return t.description}},args:{type:new _(new ee(new _(Mr))),args:{includeDeprecated:{type:Re,defaultValue:!1}},resolve:function(t,n){var i=n.includeDeprecated;return i?t.args:t.args.filter(function(a){return a.deprecationReason==null})}},type:{type:new _(Me),resolve:function(t){return t.type}},isDeprecated:{type:new _(Re),resolve:function(t){return t.deprecationReason!=null}},deprecationReason:{type:ie,resolve:function(t){return t.deprecationReason}}}}}),Mr=new ye({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new _(ie),resolve:function(t){return t.name}},description:{type:ie,resolve:function(t){return t.description}},type:{type:new _(Me),resolve:function(t){return t.type}},defaultValue:{type:ie,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(t){var n=t.type,i=t.defaultValue,a=Ve(i,n);return a?Q(a):null}},isDeprecated:{type:new _(Re),resolve:function(t){return t.deprecationReason!=null}},deprecationReason:{type:ie,resolve:function(t){return t.deprecationReason}}}}}),wt=new ye({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new _(ie),resolve:function(t){return t.name}},description:{type:ie,resolve:function(t){return t.description}},isDeprecated:{type:new _(Re),resolve:function(t){return t.deprecationReason!=null}},deprecationReason:{type:ie,resolve:function(t){return t.deprecationReason}}}}}),re=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),xt=new ke({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:re.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:re.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:re.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:re.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:re.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:re.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:re.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:re.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),dr={name:"__schema",type:new _(Vr),description:"Access the current type schema of this server.",args:[],resolve:function(r,t,n,i){var a=i.schema;return a},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},hr={name:"__type",type:Me,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new _(ie),defaultValue:void 0,deprecationReason:void 0,extensions:void 0,astNode:void 0}],resolve:function(r,t,n,i){var a=t.name,o=i.schema;return o.getType(a)},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},yr={name:"__typename",type:new _(ie),description:"The name of the current Object type at runtime.",args:[],resolve:function(r,t,n,i){var a=i.parentType;return a.name},isDeprecated:!1,deprecationReason:void 0,extensions:void 0,astNode:void 0},ur=Object.freeze([Vr,Lt,At,Me,Rt,Mr,wt,xt])});function Cs(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fp(e,r,t){return r&&Cs(e.prototype,r),t&&Cs(e,t),e}function Pr(e){return _e(e,we)}function ka(e){if(!Pr(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL directive."));return e}function Mt(e){return De.some(function(r){var t=r.name;return t===e.name})}var we,_t,Ft,kt,Ur,Vt,De,Ce=g(()=>{"use strict";gt();lr();te();Oi();Xe();tn();fr();gs();mt();vr();Y();we=(function(){function e(t){var n,i;this.name=t.name,this.description=t.description,this.locations=t.locations,this.isRepeatable=(n=t.isRepeatable)!==null&&n!==void 0?n:!1,this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,t.name||x(0,"Directive must be named."),Array.isArray(t.locations)||x(0,"@".concat(t.name," locations must be an Array."));var a=(i=t.args)!==null&&i!==void 0?i:{};ce(a)&&!Array.isArray(a)||x(0,"@".concat(t.name," args must be an object with argument names as keys.")),this.args=ar(a).map(function(o){var s=o[0],u=o[1];return{name:s,description:u.description,type:u.type,defaultValue:u.defaultValue,deprecationReason:u.deprecationReason,extensions:u.extensions&&be(u.extensions),astNode:u.astNode}})}var r=e.prototype;return r.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Ra(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},r.toString=function(){return"@"+this.name},r.toJSON=function(){return this.toString()},fp(e,[{key:Ie,get:function(){return"GraphQLDirective"}}]),e})();nr(we);_t=new we({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[w.FIELD,w.FRAGMENT_SPREAD,w.INLINE_FRAGMENT],args:{if:{type:new _(Re),description:"Included when true."}}}),Ft=new we({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[w.FIELD,w.FRAGMENT_SPREAD,w.INLINE_FRAGMENT],args:{if:{type:new _(Re),description:"Skipped when true."}}}),kt="No longer supported",Ur=new we({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[w.FIELD_DEFINITION,w.ARGUMENT_DEFINITION,w.INPUT_FIELD_DEFINITION,w.ENUM_VALUE],args:{reason:{type:ie,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:kt}}}),Vt=new we({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[w.SCALAR],args:{url:{type:new _(ie),description:"The URL that specifies the behaviour of this scalar."}}}),De=Object.freeze([_t,Ft,Ur,Vt])});function js(e,r){for(var t=0;t<r.length;t++){var n=r[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lp(e,r,t){return r&&js(e.prototype,r),t&&js(e,t),e}function Mi(e){return _e(e,rr)}function Wr(e){if(!Mi(e))throw new Error("Expected ".concat(y(e)," to be a GraphQL schema."));return e}function cr(e,r){var t=se(e);if(!r.has(t)){if(r.add(t),ne(t))for(var n=0,i=t.getTypes();n<i.length;n++){var a=i[n];cr(a,r)}else if(k(t)||M(t)){for(var o=0,s=t.getInterfaces();o<s.length;o++){var u=s[o];cr(u,r)}for(var c=0,p=j(t.getFields());c<p.length;c++){var l=p[c];cr(l.type,r);for(var m=0,d=l.args;m<d.length;m++){var h=d[m];cr(h.type,r)}}}else if(C(t))for(var E=0,I=j(t.getFields());E<I.length;E++){var O=I[E];cr(O.type,r)}}return r}var rr,Zr=g(()=>{"use strict";Tt();wa();Ge();lr();te();Oi();Xe();tn();fr();er();Ce();Y();rr=(function(){function e(t){var n;this.__validationErrors=t.assumeValid===!0?[]:void 0,ce(t)||x(0,"Must provide configuration object."),!t.types||Array.isArray(t.types)||x(0,'"types" must be Array if provided but got: '.concat(y(t.types),".")),!t.directives||Array.isArray(t.directives)||x(0,'"directives" must be Array if provided but got: '+"".concat(y(t.directives),".")),this.description=t.description,this.extensions=t.extensions&&be(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=t.extensionASTNodes,this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=(n=t.directives)!==null&&n!==void 0?n:De;var i=new Set(t.types);if(t.types!=null)for(var a=0,o=t.types;a<o.length;a++){var s=o[a];i.delete(s),cr(s,i)}this._queryType!=null&&cr(this._queryType,i),this._mutationType!=null&&cr(this._mutationType,i),this._subscriptionType!=null&&cr(this._subscriptionType,i);for(var u=0,c=this._directives;u<c.length;u++){var p=c[u];if(Pr(p))for(var l=0,m=p.args;l<m.length;l++){var d=m[l];cr(d.type,i)}}cr(Vr,i),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var h=0,E=xi(i);h<E.length;h++){var I=E[h];if(I!=null){var O=I.name;if(O||x(0,"One of the provided types for building the Schema is missing a name."),this._typeMap[O]!==void 0)throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(O,'".'));if(this._typeMap[O]=I,M(I))for(var D=0,V=I.getInterfaces();D<V.length;D++){var P=V[D];if(M(P)){var U=this._implementationsMap[P.name];U===void 0&&(U=this._implementationsMap[P.name]={objects:[],interfaces:[]}),U.interfaces.push(I)}}else if(k(I))for(var J=0,H=I.getInterfaces();J<H.length;J++){var Ee=H[J];if(M(Ee)){var je=this._implementationsMap[Ee.name];je===void 0&&(je=this._implementationsMap[Ee.name]={objects:[],interfaces:[]}),je.objects.push(I)}}}}}var r=e.prototype;return r.getQueryType=function(){return this._queryType},r.getMutationType=function(){return this._mutationType},r.getSubscriptionType=function(){return this._subscriptionType},r.getTypeMap=function(){return this._typeMap},r.getType=function(n){return this.getTypeMap()[n]},r.getPossibleTypes=function(n){return ne(n)?n.getTypes():this.getImplementations(n).objects},r.getImplementations=function(n){var i=this._implementationsMap[n.name];return i??{objects:[],interfaces:[]}},r.isPossibleType=function(n,i){return this.isSubType(n,i)},r.isSubType=function(n,i){var a=this._subTypeMap[n.name];if(a===void 0){if(a=Object.create(null),ne(n))for(var o=0,s=n.getTypes();o<s.length;o++){var u=s[o];a[u.name]=!0}else{for(var c=this.getImplementations(n),p=0,l=c.objects;p<l.length;p++){var m=l[p];a[m.name]=!0}for(var d=0,h=c.interfaces;d<h.length;d++){var E=h[d];a[E.name]=!0}}this._subTypeMap[n.name]=a}return a[i.name]!==void 0},r.getDirectives=function(){return this._directives},r.getDirective=function(n){return ir(this.getDirectives(),function(i){return i.name===n})},r.toConfig=function(){var n;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:j(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:(n=this.extensionASTNodes)!==null&&n!==void 0?n:[],assumeValid:this.__validationErrors!==void 0}},lp(e,[{key:Ie,get:function(){return"GraphQLSchema"}}]),e})()});function Pt(e){if(Wr(e),e.__validationErrors)return e.__validationErrors;var r=new mp(e);vp(r),dp(r),hp(r);var t=r.getErrors();return e.__validationErrors=t,t}function et(e){var r=Pt(e);if(r.length!==0)throw new Error(r.map(function(t){return t.message}).join(`

`))}function vp(e){var r=e.schema,t=r.getQueryType();if(!t)e.reportError("Query root type must be provided.",r.astNode);else if(!k(t)){var n;e.reportError("Query root type must be Object type, it cannot be ".concat(y(t),"."),(n=Va(r,"query"))!==null&&n!==void 0?n:t.astNode)}var i=r.getMutationType();if(i&&!k(i)){var a;e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat(y(i),"."),(a=Va(r,"mutation"))!==null&&a!==void 0?a:i.astNode)}var o=r.getSubscriptionType();if(o&&!k(o)){var s;e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat(y(o),"."),(s=Va(r,"subscription"))!==null&&s!==void 0?s:o.astNode)}}function Va(e,r){for(var t=Ma(e,function(a){return a.operationTypes}),n=0;n<t.length;n++){var i=t[n];if(i.operation===r)return i.type}}function dp(e){for(var r=0,t=e.schema.getDirectives();r<t.length;r++){var n=t[r];if(!Pr(n)){e.reportError("Expected directive but got: ".concat(y(n),"."),n?.astNode);continue}$r(e,n);for(var i=0,a=n.args;i<a.length;i++){var o=a[i];if($r(e,o),le(o.type)||e.reportError("The type of @".concat(n.name,"(").concat(o.name,":) must be Input Type ")+"but got: ".concat(y(o.type),"."),o.astNode),Ke(o)&&o.deprecationReason!=null){var s;e.reportError("Required argument @".concat(n.name,"(").concat(o.name,":) cannot be deprecated."),[Pa(o.astNode),(s=o.astNode)===null||s===void 0?void 0:s.type])}}}}function $r(e,r){var t=Et(r.name);t&&e.addError(Qe(t,r.astNode))}function hp(e){for(var r=Ip(e),t=e.schema.getTypeMap(),n=0,i=j(t);n<i.length;n++){var a=i[n];if(!or(a)){e.reportError("Expected GraphQL named type but got: ".concat(y(a),"."),a.astNode);continue}Pe(a)||$r(e,a),k(a)||M(a)?(Gs(e,a),Qs(e,a)):ne(a)?Ep(e,a):X(a)?gp(e,a):C(a)&&(Np(e,a),r(a))}}function Gs(e,r){var t=j(r.getFields());t.length===0&&e.reportError("Type ".concat(r.name," must define one or more fields."),Ut(r));for(var n=0;n<t.length;n++){var i=t[n];if($r(e,i),!qe(i.type)){var a;e.reportError("The type of ".concat(r.name,".").concat(i.name," must be Output Type ")+"but got: ".concat(y(i.type),"."),(a=i.astNode)===null||a===void 0?void 0:a.type)}for(var o=0,s=i.args;o<s.length;o++){var u=s[o],c=u.name;if($r(e,u),!le(u.type)){var p;e.reportError("The type of ".concat(r.name,".").concat(i.name,"(").concat(c,":) must be Input ")+"Type but got: ".concat(y(u.type),"."),(p=u.astNode)===null||p===void 0?void 0:p.type)}if(Ke(u)&&u.deprecationReason!=null){var l;e.reportError("Required argument ".concat(r.name,".").concat(i.name,"(").concat(c,":) cannot be deprecated."),[Pa(u.astNode),(l=u.astNode)===null||l===void 0?void 0:l.type])}}}}function Qs(e,r){for(var t=Object.create(null),n=0,i=r.getInterfaces();n<i.length;n++){var a=i[n];if(!M(a)){e.reportError("Type ".concat(y(r)," must only implement Interface types, ")+"it cannot implement ".concat(y(a),"."),vn(r,a));continue}if(r===a){e.reportError("Type ".concat(r.name," cannot implement itself because it would create a circular reference."),vn(r,a));continue}if(t[a.name]){e.reportError("Type ".concat(r.name," can only implement ").concat(a.name," once."),vn(r,a));continue}t[a.name]=!0,Tp(e,r,a),yp(e,r,a)}}function yp(e,r,t){for(var n=r.getFields(),i=0,a=j(t.getFields());i<a.length;i++){var o=a[i],s=o.name,u=n[s];if(!u){e.reportError("Interface field ".concat(t.name,".").concat(s," expected but ").concat(r.name," does not provide it."),[o.astNode].concat(Ut(r)));continue}if(!sr(e.schema,u.type,o.type)){var c,p;e.reportError("Interface field ".concat(t.name,".").concat(s," expects type ")+"".concat(y(o.type)," but ").concat(r.name,".").concat(s," ")+"is type ".concat(y(u.type),"."),[(c=o.astNode)===null||c===void 0?void 0:c.type,(p=u.astNode)===null||p===void 0?void 0:p.type])}for(var l=function(V,P){var U=P[V],J=U.name,H=ir(u.args,function(Er){return Er.name===J});if(!H)return e.reportError("Interface field argument ".concat(t.name,".").concat(s,"(").concat(J,":) expected but ").concat(r.name,".").concat(s," does not provide it."),[U.astNode,u.astNode]),"continue";if(!Xr(U.type,H.type)){var Ee,je;e.reportError("Interface field argument ".concat(t.name,".").concat(s,"(").concat(J,":) ")+"expects type ".concat(y(U.type)," but ")+"".concat(r.name,".").concat(s,"(").concat(J,":) is type ")+"".concat(y(H.type),"."),[(Ee=U.astNode)===null||Ee===void 0?void 0:Ee.type,(je=H.astNode)===null||je===void 0?void 0:je.type])}},m=0,d=o.args;m<d.length;m++)var h=l(m,d);for(var E=function(V,P){var U=P[V],J=U.name,H=ir(o.args,function(Ee){return Ee.name===J});!H&&Ke(U)&&e.reportError("Object field ".concat(r.name,".").concat(s," includes required argument ").concat(J," that is missing from the Interface field ").concat(t.name,".").concat(s,"."),[U.astNode,o.astNode])},I=0,O=u.args;I<O.length;I++)E(I,O)}}function Tp(e,r,t){for(var n=r.getInterfaces(),i=0,a=t.getInterfaces();i<a.length;i++){var o=a[i];n.indexOf(o)===-1&&e.reportError(o===r?"Type ".concat(r.name," cannot implement ").concat(t.name," because it would create a circular reference."):"Type ".concat(r.name," must implement ").concat(o.name," because it is implemented by ").concat(t.name,"."),[].concat(vn(t,o),vn(r,t)))}}function Ep(e,r){var t=r.getTypes();t.length===0&&e.reportError("Union type ".concat(r.name," must define one or more member types."),Ut(r));for(var n=Object.create(null),i=0;i<t.length;i++){var a=t[i];if(n[a.name]){e.reportError("Union type ".concat(r.name," can only include type ").concat(a.name," once."),Bs(r,a.name));continue}n[a.name]=!0,k(a)||e.reportError("Union type ".concat(r.name," can only include Object types, ")+"it cannot include ".concat(y(a),"."),Bs(r,String(a)))}}function gp(e,r){var t=r.getValues();t.length===0&&e.reportError("Enum type ".concat(r.name," must define one or more values."),Ut(r));for(var n=0;n<t.length;n++){var i=t[n],a=i.name;$r(e,i),(a==="true"||a==="false"||a==="null")&&e.reportError("Enum type ".concat(r.name," cannot include value: ").concat(a,"."),i.astNode)}}function Np(e,r){var t=j(r.getFields());t.length===0&&e.reportError("Input Object type ".concat(r.name," must define one or more fields."),Ut(r));for(var n=0;n<t.length;n++){var i=t[n];if($r(e,i),!le(i.type)){var a;e.reportError("The type of ".concat(r.name,".").concat(i.name," must be Input Type ")+"but got: ".concat(y(i.type),"."),(a=i.astNode)===null||a===void 0?void 0:a.type)}if(br(i)&&i.deprecationReason!=null){var o;e.reportError("Required input field ".concat(r.name,".").concat(i.name," cannot be deprecated."),[Pa(i.astNode),(o=i.astNode)===null||o===void 0?void 0:o.type])}}}function Ip(e){var r=Object.create(null),t=[],n=Object.create(null);return i;function i(a){if(!r[a.name]){r[a.name]=!0,n[a.name]=t.length;for(var o=j(a.getFields()),s=0;s<o.length;s++){var u=o[s];if(A(u.type)&&C(u.type.ofType)){var c=u.type.ofType,p=n[c.name];if(t.push(u),p===void 0)i(c);else{var l=t.slice(p),m=l.map(function(d){return d.name}).join(".");e.reportError('Cannot reference Input Object "'.concat(c.name,'" within itself through a series of non-null fields: "').concat(m,'".'),l.map(function(d){return d.astNode}))}t.pop()}}n[a.name]=void 0}}}function Ut(e){var r=e.astNode,t=e.extensionASTNodes;return r?t?[r].concat(t):[r]:t??[]}function Ma(e,r){for(var t=[],n=0,i=Ut(e);n<i.length;n++){var a,o=i[n];t=t.concat((a=r(o))!==null&&a!==void 0?a:[])}return t}function vn(e,r){return Ma(e,function(t){return t.interfaces}).filter(function(t){return t.name.value===r.name})}function Bs(e,r){return Ma(e,function(t){return t.types}).filter(function(t){return t.name.value===r})}function Pa(e){var r;return e==null||(r=e.directives)===null||r===void 0?void 0:r.find(function(t){return t.name.value===Ur.name})}var mp,dn=g(()=>{"use strict";Tt();Ge();te();F();an();la();pn();Zr();er();Ce();Y();mp=(function(){function e(t){this._errors=[],this.schema=t}var r=e.prototype;return r.reportError=function(n,i){var a=Array.isArray(i)?i.filter(Boolean):i;this.addError(new v(n,a))},r.addError=function(n){this._errors.push(n)},r.getErrors=function(){return this._errors},e})()});function ue(e,r){var t;if(r.kind===f.LIST_TYPE)return t=ue(e,r.type),t&&new ee(t);if(r.kind===f.NON_NULL_TYPE)return t=ue(e,r.type),t&&new _(t);if(r.kind===f.NAMED_TYPE)return e.getType(r.name.value);q(0,"Unexpected type node: "+y(r))}var Tr=g(()=>{"use strict";te();xe();ae();Y()});function bp(e,r,t){var n=t.name.value;if(n===dr.name&&e.getQueryType()===r)return dr;if(n===hr.name&&e.getQueryType()===r)return hr;if(n===yr.name&&Fe(r))return yr;if(k(r)||M(r))return r.getFields()[n]}function tt(e,r){return{enter:function(n){e.enter(n);var i=ct(r,n.kind,!1);if(i){var a=i.apply(r,arguments);return a!==void 0&&(e.leave(n),Ns(a)&&e.enter(a)),a}},leave:function(n){var i=ct(r,n.kind,!0),a;return i&&(a=i.apply(r,arguments)),e.leave(n),a}}}var rt,Pi=g(()=>{"use strict";Tt();ae();ci();pt();Y();er();Tr();rt=(function(){function e(t,n,i){this._schema=t,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=n??bp,i&&(le(i)&&this._inputTypeStack.push(i),Fe(i)&&this._parentTypeStack.push(i),qe(i)&&this._typeStack.push(i))}var r=e.prototype;return r.getType=function(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]},r.getParentType=function(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]},r.getInputType=function(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]},r.getParentInputType=function(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]},r.getFieldDef=function(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]},r.getDefaultValue=function(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]},r.getDirective=function(){return this._directive},r.getArgument=function(){return this._argument},r.getEnumValue=function(){return this._enumValue},r.enter=function(n){var i=this._schema;switch(n.kind){case f.SELECTION_SET:{var a=se(this.getType());this._parentTypeStack.push(Fe(a)?a:void 0);break}case f.FIELD:{var o=this.getParentType(),s,u;o&&(s=this._getFieldDef(i,o,n),s&&(u=s.type)),this._fieldDefStack.push(s),this._typeStack.push(qe(u)?u:void 0);break}case f.DIRECTIVE:this._directive=i.getDirective(n.name.value);break;case f.OPERATION_DEFINITION:{var c;switch(n.operation){case"query":c=i.getQueryType();break;case"mutation":c=i.getMutationType();break;case"subscription":c=i.getSubscriptionType();break}this._typeStack.push(k(c)?c:void 0);break}case f.INLINE_FRAGMENT:case f.FRAGMENT_DEFINITION:{var p=n.typeCondition,l=p?ue(i,p):se(this.getType());this._typeStack.push(qe(l)?l:void 0);break}case f.VARIABLE_DEFINITION:{var m=ue(i,n.type);this._inputTypeStack.push(le(m)?m:void 0);break}case f.ARGUMENT:{var d,h,E,I=(d=this.getDirective())!==null&&d!==void 0?d:this.getFieldDef();I&&(h=ir(I.args,function(Ee){return Ee.name===n.name.value}),h&&(E=h.type)),this._argument=h,this._defaultValueStack.push(h?h.defaultValue:void 0),this._inputTypeStack.push(le(E)?E:void 0);break}case f.LIST:{var O=Jr(this.getInputType()),D=G(O)?O.ofType:O;this._defaultValueStack.push(void 0),this._inputTypeStack.push(le(D)?D:void 0);break}case f.OBJECT_FIELD:{var V=se(this.getInputType()),P,U;C(V)&&(U=V.getFields()[n.name.value],U&&(P=U.type)),this._defaultValueStack.push(U?U.defaultValue:void 0),this._inputTypeStack.push(le(P)?P:void 0);break}case f.ENUM:{var J=se(this.getInputType()),H;X(J)&&(H=J.getValue(n.value)),this._enumValue=H;break}}},r.leave=function(n){switch(n.kind){case f.SELECTION_SET:this._parentTypeStack.pop();break;case f.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case f.DIRECTIVE:this._directive=null;break;case f.OPERATION_DEFINITION:case f.INLINE_FRAGMENT:case f.FRAGMENT_DEFINITION:this._typeStack.pop();break;case f.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case f.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case f.LIST:case f.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case f.ENUM:this._enumValue=null;break}},e})()});function hn(e){return{Document:function(t){for(var n=0,i=t.definitions;n<i.length;n++){var a=i[n];if(!dt(a)){var o=a.kind===f.SCHEMA_DEFINITION||a.kind===f.SCHEMA_EXTENSION?"schema":'"'+a.name.value+'"';e.reportError(new v("The ".concat(o," definition is not executable."),a))}}return!1}}}var Ua=g(()=>{"use strict";F();ae();Br()});function yn(e){var r=Object.create(null);return{OperationDefinition:function(n){var i=n.name;return i&&(r[i.value]?e.reportError(new v('There can be only one operation named "'.concat(i.value,'".'),[r[i.value],i])):r[i.value]=i),!1},FragmentDefinition:function(){return!1}}}var Ca=g(()=>{"use strict";F()});function Tn(e){var r=0;return{Document:function(n){r=n.definitions.filter(function(i){return i.kind===f.OPERATION_DEFINITION}).length},OperationDefinition:function(n){!n.name&&r>1&&e.reportError(new v("This anonymous operation must be the only defined operation.",n))}}}var ja=g(()=>{"use strict";F();ae()});function En(e){return{OperationDefinition:function(t){t.operation==="subscription"&&t.selectionSet.selections.length!==1&&e.reportError(new v(t.name?'Subscription "'.concat(t.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}}var Ga=g(()=>{"use strict";F()});function Ct(e){for(var r=e.getSchema(),t=r?r.getTypeMap():Object.create(null),n=Object.create(null),i=0,a=e.getDocument().definitions;i<a.length;i++){var o=a[i];ze(o)&&(n[o.name.value]=!0)}var s=Object.keys(t).concat(Object.keys(n));return{NamedType:function(c,p,l,m,d){var h=c.name.value;if(!t[h]&&!n[h]){var E,I=(E=d[2])!==null&&E!==void 0?E:l,O=I!=null&&Dp(I);if(O&&Op(h))return;var D=Se(h,O?qs.concat(s):s);e.reportError(new v('Unknown type "'.concat(h,'".')+Oe(D),c))}}}}function Op(e){return qs.indexOf(e)!==-1}function Dp(e){return!Array.isArray(e)&&(ht(e)||yt(e))}var qs,Qa=g(()=>{"use strict";Fr();kr();F();Br();vr();er();qs=[].concat(mr,ur).map(function(e){return e.name})});function gn(e){return{InlineFragment:function(t){var n=t.typeCondition;if(n){var i=ue(e.getSchema(),n);if(i&&!Fe(i)){var a=Q(n);e.reportError(new v('Fragment cannot condition on non composite type "'.concat(a,'".'),n))}}},FragmentDefinition:function(t){var n=ue(e.getSchema(),t.typeCondition);if(n&&!Fe(n)){var i=Q(t.typeCondition);e.reportError(new v('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(i,'".'),t.typeCondition))}}}}var Ba=g(()=>{"use strict";F();Je();Y();Tr()});function Nn(e){return{VariableDefinition:function(t){var n=ue(e.getSchema(),t.type);if(n&&!le(n)){var i=t.variable.name.value,a=Q(t.type);e.reportError(new v('Variable "$'.concat(i,'" cannot be non-input type "').concat(a,'".'),t.type))}}}}var qa=g(()=>{"use strict";F();Je();Y();Tr()});function In(e){return{Field:function(t){var n=e.getType(),i=t.selectionSet;if(n){if(he(se(n))){if(i){var a=t.name.value,o=y(n);e.reportError(new v('Field "'.concat(a,'" must not have a selection since type "').concat(o,'" has no subfields.'),i))}}else if(!i){var s=t.name.value,u=y(n);e.reportError(new v('Field "'.concat(s,'" of type "').concat(u,'" must have a selection of subfields. Did you mean "').concat(s,' { ... }"?'),t))}}}}}var Ka=g(()=>{"use strict";te();F();Y()});function bn(e){return{Field:function(t){var n=e.getParentType();if(n){var i=e.getFieldDef();if(!i){var a=e.getSchema(),o=t.name.value,s=Oe("to use an inline fragment on",Sp(a,n,o));s===""&&(s=Oe(Lp(n,o))),e.reportError(new v('Cannot query field "'.concat(o,'" on type "').concat(n.name,'".')+s,t))}}}}}function Sp(e,r,t){if(!Le(r))return[];for(var n=new Set,i=Object.create(null),a=0,o=e.getPossibleTypes(r);a<o.length;a++){var s=o[a];if(s.getFields()[t]){n.add(s),i[s.name]=1;for(var u=0,c=s.getInterfaces();u<c.length;u++){var p,l=c[u];l.getFields()[t]&&(n.add(l),i[l.name]=((p=i[l.name])!==null&&p!==void 0?p:0)+1)}}}return xi(n).sort(function(m,d){var h=i[d.name]-i[m.name];return h!==0?h:M(m)&&e.isSubType(m,d)?-1:M(d)&&e.isSubType(d,m)?1:Ir(m.name,d.name)}).map(function(m){return m.name})}function Lp(e,r){if(k(e)||M(e)){var t=Object.keys(e.getFields());return Se(r,t)}return[]}var Ya=g(()=>{"use strict";wa();Fr();kr();sn();F();Y()});function On(e){var r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(n){var i=n.name.value;return r[i]?e.reportError(new v('There can be only one fragment named "'.concat(i,'".'),[r[i],n.name])):r[i]=n.name,!1}}}var Ja=g(()=>{"use strict";F()});function Dn(e){return{FragmentSpread:function(t){var n=t.name.value,i=e.getFragment(n);i||e.reportError(new v('Unknown fragment "'.concat(n,'".'),t.name))}}}var Xa=g(()=>{"use strict";F()});function Sn(e){var r=[],t=[];return{OperationDefinition:function(i){return r.push(i),!1},FragmentDefinition:function(i){return t.push(i),!1},Document:{leave:function(){for(var i=Object.create(null),a=0;a<r.length;a++)for(var o=r[a],s=0,u=e.getRecursivelyReferencedFragments(o);s<u.length;s++){var c=u[s];i[c.name.value]=!0}for(var p=0;p<t.length;p++){var l=t[p],m=l.name.value;i[m]!==!0&&e.reportError(new v('Fragment "'.concat(m,'" is never used.'),l))}}}}}var za=g(()=>{"use strict";F()});function Ln(e){return{InlineFragment:function(t){var n=e.getType(),i=e.getParentType();if(Fe(n)&&Fe(i)&&!Dt(e.getSchema(),n,i)){var a=y(i),o=y(n);e.reportError(new v('Fragment cannot be spread here as objects of type "'.concat(a,'" can never be of type "').concat(o,'".'),t))}},FragmentSpread:function(t){var n=t.name.value,i=Ap(e,n),a=e.getParentType();if(i&&a&&!Dt(e.getSchema(),i,a)){var o=y(a),s=y(i);e.reportError(new v('Fragment "'.concat(n,'" cannot be spread here as objects of type "').concat(o,'" can never be of type "').concat(s,'".'),t))}}}}function Ap(e,r){var t=e.getFragment(r);if(t){var n=ue(e.getSchema(),t.typeCondition);if(Fe(n))return n}}var Ha=g(()=>{"use strict";te();F();Y();Tr();pn()});function An(e){var r=Object.create(null),t=[],n=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(o){return i(o),!1}};function i(a){if(!r[a.name.value]){var o=a.name.value;r[o]=!0;var s=e.getFragmentSpreads(a.selectionSet);if(s.length!==0){n[o]=t.length;for(var u=0;u<s.length;u++){var c=s[u],p=c.name.value,l=n[p];if(t.push(c),l===void 0){var m=e.getFragment(p);m&&i(m)}else{var d=t.slice(l),h=d.slice(0,-1).map(function(E){return'"'+E.name.value+'"'}).join(", ");e.reportError(new v('Cannot spread fragment "'.concat(p,'" within itself')+(h!==""?" via ".concat(h,"."):"."),d))}t.pop()}n[o]=void 0}}}}var Wa=g(()=>{"use strict";F()});function Rn(e){var r=Object.create(null);return{OperationDefinition:function(){r=Object.create(null)},VariableDefinition:function(n){var i=n.variable.name.value;r[i]?e.reportError(new v('There can be only one variable named "$'.concat(i,'".'),[r[i],n.variable.name])):r[i]=n.variable.name}}}var Za=g(()=>{"use strict";F()});function wn(e){var r=Object.create(null);return{OperationDefinition:{enter:function(){r=Object.create(null)},leave:function(n){for(var i=e.getRecursiveVariableUsages(n),a=0;a<i.length;a++){var o=i[a],s=o.node,u=s.name.value;r[u]!==!0&&e.reportError(new v(n.name?'Variable "$'.concat(u,'" is not defined by operation "').concat(n.name.value,'".'):'Variable "$'.concat(u,'" is not defined.'),[s,n]))}}},VariableDefinition:function(n){r[n.variable.name.value]=!0}}}var $a=g(()=>{"use strict";F()});function xn(e){var r=[];return{OperationDefinition:{enter:function(){r=[]},leave:function(n){for(var i=Object.create(null),a=e.getRecursiveVariableUsages(n),o=0;o<a.length;o++){var s=a[o],u=s.node;i[u.name.value]=!0}for(var c=0,p=r;c<p.length;c++){var l=p[c],m=l.variable.name.value;i[m]!==!0&&e.reportError(new v(n.name?'Variable "$'.concat(m,'" is never used in operation "').concat(n.name.value,'".'):'Variable "$'.concat(m,'" is never used.'),l))}}},VariableDefinition:function(n){r.push(n)}}}var eo=g(()=>{"use strict";F()});function jt(e){for(var r=Object.create(null),t=e.getSchema(),n=t?t.getDirectives():De,i=0;i<n.length;i++){var a=n[i];r[a.name]=a.locations}for(var o=e.getDocument().definitions,s=0;s<o.length;s++){var u=o[s];u.kind===f.DIRECTIVE_DEFINITION&&(r[u.name.value]=u.locations.map(function(c){return c.value}))}return{Directive:function(p,l,m,d,h){var E=p.name.value,I=r[E];if(!I){e.reportError(new v('Unknown directive "@'.concat(E,'".'),p));return}var O=Rp(h);O&&I.indexOf(O)===-1&&e.reportError(new v('Directive "@'.concat(E,'" may not be used on ').concat(O,"."),p))}}}function Rp(e){var r=e[e.length-1];switch(!Array.isArray(r)||q(0),r.kind){case f.OPERATION_DEFINITION:return wp(r.operation);case f.FIELD:return w.FIELD;case f.FRAGMENT_SPREAD:return w.FRAGMENT_SPREAD;case f.INLINE_FRAGMENT:return w.INLINE_FRAGMENT;case f.FRAGMENT_DEFINITION:return w.FRAGMENT_DEFINITION;case f.VARIABLE_DEFINITION:return w.VARIABLE_DEFINITION;case f.SCHEMA_DEFINITION:case f.SCHEMA_EXTENSION:return w.SCHEMA;case f.SCALAR_TYPE_DEFINITION:case f.SCALAR_TYPE_EXTENSION:return w.SCALAR;case f.OBJECT_TYPE_DEFINITION:case f.OBJECT_TYPE_EXTENSION:return w.OBJECT;case f.FIELD_DEFINITION:return w.FIELD_DEFINITION;case f.INTERFACE_TYPE_DEFINITION:case f.INTERFACE_TYPE_EXTENSION:return w.INTERFACE;case f.UNION_TYPE_DEFINITION:case f.UNION_TYPE_EXTENSION:return w.UNION;case f.ENUM_TYPE_DEFINITION:case f.ENUM_TYPE_EXTENSION:return w.ENUM;case f.ENUM_VALUE_DEFINITION:return w.ENUM_VALUE;case f.INPUT_OBJECT_TYPE_DEFINITION:case f.INPUT_OBJECT_TYPE_EXTENSION:return w.INPUT_OBJECT;case f.INPUT_VALUE_DEFINITION:{var t=e[e.length-3];return t.kind===f.INPUT_OBJECT_TYPE_DEFINITION?w.INPUT_FIELD_DEFINITION:w.ARGUMENT_DEFINITION}}}function wp(e){switch(e){case"query":return w.QUERY;case"mutation":return w.MUTATION;case"subscription":return w.SUBSCRIPTION}q(0,"Unexpected operation: "+y(e))}var ro=g(()=>{"use strict";te();xe();F();ae();mt();Ce()});function Gt(e){for(var r=Object.create(null),t=e.getSchema(),n=t?t.getDirectives():De,i=0;i<n.length;i++){var a=n[i];r[a.name]=!a.isRepeatable}for(var o=e.getDocument().definitions,s=0;s<o.length;s++){var u=o[s];u.kind===f.DIRECTIVE_DEFINITION&&(r[u.name.value]=!u.repeatable)}var c=Object.create(null),p=Object.create(null);return{enter:function(m){if(m.directives!=null){var d;if(m.kind===f.SCHEMA_DEFINITION||m.kind===f.SCHEMA_EXTENSION)d=c;else if(ze(m)||xr(m)){var h=m.name.value;d=p[h],d===void 0&&(p[h]=d=Object.create(null))}else d=Object.create(null);for(var E=0,I=m.directives;E<I.length;E++){var O=I[E],D=O.name.value;r[D]&&(d[D]?e.reportError(new v('The directive "@'.concat(D,'" can only be used once at this location.'),[d[D],O])):d[D]=O)}}}}}var to=g(()=>{"use strict";F();ae();Br();Ce()});function Ks(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function Ys(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Ks(Object(t),!0).forEach(function(n){xp(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ks(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function xp(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function _n(e){return Ys(Ys({},no(e)),{},{Argument:function(t){var n=e.getArgument(),i=e.getFieldDef(),a=e.getParentType();if(!n&&i&&a){var o=t.name.value,s=i.args.map(function(c){return c.name}),u=Se(o,s);e.reportError(new v('Unknown argument "'.concat(o,'" on field "').concat(a.name,".").concat(i.name,'".')+Oe(u),t))}}})}function no(e){for(var r=Object.create(null),t=e.getSchema(),n=t?t.getDirectives():De,i=0;i<n.length;i++){var a=n[i];r[a.name]=a.args.map(function(l){return l.name})}for(var o=e.getDocument().definitions,s=0;s<o.length;s++){var u=o[s];if(u.kind===f.DIRECTIVE_DEFINITION){var c,p=(c=u.arguments)!==null&&c!==void 0?c:[];r[u.name.value]=p.map(function(l){return l.name.value})}}return{Directive:function(m){var d=m.name.value,h=r[d];if(m.arguments&&h)for(var E=0,I=m.arguments;E<I.length;E++){var O=I[E],D=O.name.value;if(h.indexOf(D)===-1){var V=Se(D,h);e.reportError(new v('Unknown argument "'.concat(D,'" on directive "@').concat(d,'".')+Oe(V),O))}}return!1}}}var io=g(()=>{"use strict";Fr();kr();F();ae();Ce()});function Qt(e){var r=Object.create(null);return{Field:function(){r=Object.create(null)},Directive:function(){r=Object.create(null)},Argument:function(n){var i=n.name.value;return r[i]?e.reportError(new v('There can be only one argument named "'.concat(i,'".'),[r[i],n.name])):r[i]=n.name,!1}}}var ao=g(()=>{"use strict";F()});function Fn(e){return{ListValue:function(t){var n=Jr(e.getParentInputType());if(!G(n))return nt(e,t),!1},ObjectValue:function(t){var n=se(e.getInputType());if(!C(n))return nt(e,t),!1;for(var i=de(t.fields,function(p){return p.name.value}),a=0,o=j(n.getFields());a<o.length;a++){var s=o[a],u=i[s.name];if(!u&&br(s)){var c=y(s.type);e.reportError(new v('Field "'.concat(n.name,".").concat(s.name,'" of required type "').concat(c,'" was not provided.'),t))}}},ObjectField:function(t){var n=se(e.getParentInputType()),i=e.getInputType();if(!i&&C(n)){var a=Se(t.name.value,Object.keys(n.getFields()));e.reportError(new v('Field "'.concat(t.name.value,'" is not defined by type "').concat(n.name,'".')+Oe(a),t))}},NullValue:function(t){var n=e.getInputType();A(n)&&e.reportError(new v('Expected value of type "'.concat(y(n),'", found ').concat(Q(t),"."),t))},EnumValue:function(t){return nt(e,t)},IntValue:function(t){return nt(e,t)},FloatValue:function(t){return nt(e,t)},StringValue:function(t){return nt(e,t)},BooleanValue:function(t){return nt(e,t)}}}function nt(e,r){var t=e.getInputType();if(t){var n=se(t);if(!he(n)){var i=y(t);e.reportError(new v('Expected value of type "'.concat(i,'", found ').concat(Q(r),"."),r));return}try{var a=n.parseLiteral(r,void 0);if(a===void 0){var o=y(t);e.reportError(new v('Expected value of type "'.concat(o,'", found ').concat(Q(r),"."),r))}}catch(u){var s=y(t);u instanceof v?e.reportError(u):e.reportError(new v('Expected value of type "'.concat(s,'", found ').concat(Q(r),"; ")+u.message,r,void 0,void 0,void 0,u))}}}var oo=g(()=>{"use strict";Ge();_r();te();Fr();kr();F();Je();Y()});function Js(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function Xs(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Js(Object(t),!0).forEach(function(n){_p(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Js(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function _p(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function kn(e){return Xs(Xs({},so(e)),{},{Field:{leave:function(t){var n,i=e.getFieldDef();if(!i)return!1;for(var a=(n=t.arguments)!==null&&n!==void 0?n:[],o=de(a,function(m){return m.name.value}),s=0,u=i.args;s<u.length;s++){var c=u[s],p=o[c.name];if(!p&&Ke(c)){var l=y(c.type);e.reportError(new v('Field "'.concat(i.name,'" argument "').concat(c.name,'" of type "').concat(l,'" is required, but it was not provided.'),t))}}}}})}function so(e){for(var r=Object.create(null),t=e.getSchema(),n=t?t.getDirectives():De,i=0;i<n.length;i++){var a=n[i];r[a.name]=de(a.args.filter(Ke),function(l){return l.name})}for(var o=e.getDocument().definitions,s=0;s<o.length;s++){var u=o[s];if(u.kind===f.DIRECTIVE_DEFINITION){var c,p=(c=u.arguments)!==null&&c!==void 0?c:[];r[u.name.value]=de(p.filter(Fp),function(l){return l.name.value})}}return{Directive:{leave:function(m){var d=m.name.value,h=r[d];if(h)for(var E,I=(E=m.arguments)!==null&&E!==void 0?E:[],O=de(I,function(H){return H.name.value}),D=0,V=Object.keys(h);D<V.length;D++){var P=V[D];if(!O[P]){var U=h[P].type,J=Kr(U)?y(U):Q(U);e.reportError(new v('Directive "@'.concat(d,'" argument "').concat(P,'" of type "').concat(J,'" is required, but it was not provided.'),m))}}}}}}function Fp(e){return e.type.kind===f.NON_NULL_TYPE&&e.defaultValue==null}var uo=g(()=>{"use strict";te();_r();F();ae();Je();Ce();Y()});function Vn(e){var r=Object.create(null);return{OperationDefinition:{enter:function(){r=Object.create(null)},leave:function(n){for(var i=e.getRecursiveVariableUsages(n),a=0;a<i.length;a++){var o=i[a],s=o.node,u=o.type,c=o.defaultValue,p=s.name.value,l=r[p];if(l&&u){var m=e.getSchema(),d=ue(m,l.type);if(d&&!kp(m,d,l.defaultValue,u,c)){var h=y(d),E=y(u);e.reportError(new v('Variable "$'.concat(p,'" of type "').concat(h,'" used in position expecting type "').concat(E,'".'),[l,s]))}}}}},VariableDefinition:function(n){r[n.variable.name.value]=n}}}function kp(e,r,t,n,i){if(A(n)&&!A(r)){var a=t!=null&&t.kind!==f.NULL,o=i!==void 0;if(!a&&!o)return!1;var s=n.ofType;return sr(e,r,s)}return sr(e,r,n)}var co=g(()=>{"use strict";te();F();ae();Y();Tr();pn()});function zs(e){return Array.isArray(e)?e.map(function(r){var t=r[0],n=r[1];return'subfields "'.concat(t,'" conflict because ')+zs(n)}).join(" and "):e}function Mn(e){var r=new Gp,t=new Map;return{SelectionSet:function(i){for(var a=Vp(e,t,r,e.getParentType(),i),o=0;o<a.length;o++){var s=a[o],u=s[0],c=u[0],p=u[1],l=s[1],m=s[2],d=zs(p);e.reportError(new v('Fields "'.concat(c,'" conflict because ').concat(d,". Use different aliases on the fields to fetch both if this was intentional."),l.concat(m)))}}}}function Vp(e,r,t,n,i){var a=[],o=ji(e,r,n,i),s=o[0],u=o[1];if(Pp(e,a,r,t,s),u.length!==0)for(var c=0;c<u.length;c++){Ui(e,a,r,t,!1,s,u[c]);for(var p=c+1;p<u.length;p++)Ci(e,a,r,t,!1,u[c],u[p])}return a}function Ui(e,r,t,n,i,a,o){var s=e.getFragment(o);if(s){var u=fo(e,t,s),c=u[0],p=u[1];if(a!==c){lo(e,r,t,n,i,a,c);for(var l=0;l<p.length;l++)Ui(e,r,t,n,i,a,p[l])}}}function Ci(e,r,t,n,i,a,o){if(a!==o&&!n.has(a,o,i)){n.add(a,o,i);var s=e.getFragment(a),u=e.getFragment(o);if(!(!s||!u)){var c=fo(e,t,s),p=c[0],l=c[1],m=fo(e,t,u),d=m[0],h=m[1];lo(e,r,t,n,i,p,d);for(var E=0;E<h.length;E++)Ci(e,r,t,n,i,a,h[E]);for(var I=0;I<l.length;I++)Ci(e,r,t,n,i,l[I],o)}}}function Mp(e,r,t,n,i,a,o,s){var u=[],c=ji(e,r,i,a),p=c[0],l=c[1],m=ji(e,r,o,s),d=m[0],h=m[1];if(lo(e,u,r,t,n,p,d),h.length!==0)for(var E=0;E<h.length;E++)Ui(e,u,r,t,n,p,h[E]);if(l.length!==0)for(var I=0;I<l.length;I++)Ui(e,u,r,t,n,d,l[I]);for(var O=0;O<l.length;O++)for(var D=0;D<h.length;D++)Ci(e,u,r,t,n,l[O],h[D]);return u}function Pp(e,r,t,n,i){for(var a=0,o=ar(i);a<o.length;a++){var s=o[a],u=s[0],c=s[1];if(c.length>1)for(var p=0;p<c.length;p++)for(var l=p+1;l<c.length;l++){var m=Hs(e,t,n,!1,u,c[p],c[l]);m&&r.push(m)}}}function lo(e,r,t,n,i,a,o){for(var s=0,u=Object.keys(a);s<u.length;s++){var c=u[s],p=o[c];if(p)for(var l=a[c],m=0;m<l.length;m++)for(var d=0;d<p.length;d++){var h=Hs(e,t,n,i,c,l[m],p[d]);h&&r.push(h)}}}function Hs(e,r,t,n,i,a,o){var s=a[0],u=a[1],c=a[2],p=o[0],l=o[1],m=o[2],d=n||s!==p&&k(s)&&k(p);if(!d){var h,E,I=u.name.value,O=l.name.value;if(I!==O)return[[i,'"'.concat(I,'" and "').concat(O,'" are different fields')],[u],[l]];var D=(h=u.arguments)!==null&&h!==void 0?h:[],V=(E=l.arguments)!==null&&E!==void 0?E:[];if(!Up(D,V))return[[i,"they have differing arguments"],[u],[l]]}var P=c?.type,U=m?.type;if(P&&U&&po(P,U))return[[i,'they return conflicting types "'.concat(y(P),'" and "').concat(y(U),'"')],[u],[l]];var J=u.selectionSet,H=l.selectionSet;if(J&&H){var Ee=Mp(e,r,t,d,se(P),J,se(U),H);return jp(Ee,i,u,l)}}function Up(e,r){return e.length!==r.length?!1:e.every(function(t){var n=ir(r,function(i){return i.name.value===t.name.value});return n?Cp(t.value,n.value):!1})}function Cp(e,r){return Q(e)===Q(r)}function po(e,r){return G(e)?G(r)?po(e.ofType,r.ofType):!0:G(r)?!0:A(e)?A(r)?po(e.ofType,r.ofType):!0:A(r)?!0:he(e)||he(r)?e!==r:!1}function ji(e,r,t,n){var i=r.get(n);if(!i){var a=Object.create(null),o=Object.create(null);Ws(e,t,n,a,o),i=[a,Object.keys(o)],r.set(n,i)}return i}function fo(e,r,t){var n=r.get(t.selectionSet);if(n)return n;var i=ue(e.getSchema(),t.typeCondition);return ji(e,r,i,t.selectionSet)}function Ws(e,r,t,n,i){for(var a=0,o=t.selections;a<o.length;a++){var s=o[a];switch(s.kind){case f.FIELD:{var u=s.name.value,c=void 0;(k(r)||M(r))&&(c=r.getFields()[u]);var p=s.alias?s.alias.value:u;n[p]||(n[p]=[]),n[p].push([r,s,c]);break}case f.FRAGMENT_SPREAD:i[s.name.value]=!0;break;case f.INLINE_FRAGMENT:{var l=s.typeCondition,m=l?ue(e.getSchema(),l):r;Ws(e,m,s.selectionSet,n,i);break}}}}function jp(e,r,t,n){if(e.length>0)return[[r,e.map(function(i){var a=i[0];return a})],e.reduce(function(i,a){var o=a[1];return i.concat(o)},[t]),e.reduce(function(i,a){var o=a[2];return i.concat(o)},[n])]}var Gp,mo=g(()=>{"use strict";Tt();gt();te();F();ae();Je();Y();Tr();Gp=(function(){function e(){this._data=Object.create(null)}var r=e.prototype;return r.has=function(n,i,a){var o=this._data[n],s=o&&o[i];return s===void 0?!1:a===!1?s===!1:!0},r.add=function(n,i,a){this._pairSetAdd(n,i,a),this._pairSetAdd(i,n,a)},r._pairSetAdd=function(n,i,a){var o=this._data[n];o||(o=Object.create(null),this._data[n]=o),o[i]=a},e})()});function Bt(e){var r=[],t=Object.create(null);return{ObjectValue:{enter:function(){r.push(t),t=Object.create(null)},leave:function(){t=r.pop()}},ObjectField:function(i){var a=i.name.value;t[a]?e.reportError(new v('There can be only one input field named "'.concat(a,'".'),[t[a],i.name])):t[a]=i.name}}}var vo=g(()=>{"use strict";F()});function Pn(e){var r,t,n,i=e.getSchema(),a=(r=(t=(n=i?.astNode)!==null&&n!==void 0?n:i?.getQueryType())!==null&&t!==void 0?t:i?.getMutationType())!==null&&r!==void 0?r:i?.getSubscriptionType(),o=0;return{SchemaDefinition:function(u){if(a){e.reportError(new v("Cannot define a new schema within a schema extension.",u));return}o>0&&e.reportError(new v("Must provide only one schema definition.",u)),++o}}}var ho=g(()=>{"use strict";F()});function Un(e){var r=e.getSchema(),t=Object.create(null),n=r?{query:r.getQueryType(),mutation:r.getMutationType(),subscription:r.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(a){for(var o,s=(o=a.operationTypes)!==null&&o!==void 0?o:[],u=0;u<s.length;u++){var c=s[u],p=c.operation,l=t[p];n[p]?e.reportError(new v("Type for ".concat(p," already defined in the schema. It cannot be redefined."),c)):l?e.reportError(new v("There can be only one ".concat(p," type in schema."),[l,c])):t[p]=c}return!1}}var yo=g(()=>{"use strict";F()});function Cn(e){var r=Object.create(null),t=e.getSchema();return{ScalarTypeDefinition:n,ObjectTypeDefinition:n,InterfaceTypeDefinition:n,UnionTypeDefinition:n,EnumTypeDefinition:n,InputObjectTypeDefinition:n};function n(i){var a=i.name.value;if(t!=null&&t.getType(a)){e.reportError(new v('Type "'.concat(a,'" already exists in the schema. It cannot also be defined in this type definition.'),i.name));return}return r[a]?e.reportError(new v('There can be only one type named "'.concat(a,'".'),[r[a],i.name])):r[a]=i.name,!1}}var To=g(()=>{"use strict";F()});function jn(e){var r=e.getSchema(),t=r?r.getTypeMap():Object.create(null),n=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(a){var o,s=a.name.value;n[s]||(n[s]=Object.create(null));for(var u=(o=a.values)!==null&&o!==void 0?o:[],c=n[s],p=0;p<u.length;p++){var l=u[p],m=l.name.value,d=t[s];X(d)&&d.getValue(m)?e.reportError(new v('Enum value "'.concat(s,".").concat(m,'" already exists in the schema. It cannot also be defined in this type extension.'),l.name)):c[m]?e.reportError(new v('Enum value "'.concat(s,".").concat(m,'" can only be defined once.'),[c[m],l.name])):c[m]=l.name}return!1}}var Eo=g(()=>{"use strict";F();Y()});function Gn(e){var r=e.getSchema(),t=r?r.getTypeMap():Object.create(null),n=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(a){var o,s=a.name.value;n[s]||(n[s]=Object.create(null));for(var u=(o=a.fields)!==null&&o!==void 0?o:[],c=n[s],p=0;p<u.length;p++){var l=u[p],m=l.name.value;Qp(t[s],m)?e.reportError(new v('Field "'.concat(s,".").concat(m,'" already exists in the schema. It cannot also be defined in this type extension.'),l.name)):c[m]?e.reportError(new v('Field "'.concat(s,".").concat(m,'" can only be defined once.'),[c[m],l.name])):c[m]=l.name}return!1}}function Qp(e,r){return k(e)||M(e)||C(e)?e.getFields()[r]!=null:!1}var go=g(()=>{"use strict";F();Y()});function Qn(e){var r=Object.create(null),t=e.getSchema();return{DirectiveDefinition:function(i){var a=i.name.value;if(t!=null&&t.getDirective(a)){e.reportError(new v('Directive "@'.concat(a,'" already exists in the schema. It cannot be redefined.'),i.name));return}return r[a]?e.reportError(new v('There can be only one directive named "@'.concat(a,'".'),[r[a],i.name])):r[a]=i.name,!1}}}var No=g(()=>{"use strict";F()});function qt(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Bn(e){for(var r=e.getSchema(),t=Object.create(null),n=0,i=e.getDocument().definitions;n<i.length;n++){var a=i[n];ze(a)&&(t[a.name.value]=a)}return{ScalarTypeExtension:o,ObjectTypeExtension:o,InterfaceTypeExtension:o,UnionTypeExtension:o,EnumTypeExtension:o,InputObjectTypeExtension:o};function o(s){var u=s.name.value,c=t[u],p=r?.getType(u),l;if(c?l=Bp[c.kind]:p&&(l=qp(p)),l){if(l!==s.kind){var m=Kp(s.kind);e.reportError(new v("Cannot extend non-".concat(m,' type "').concat(u,'".'),c?[c,s]:s))}}else{var d=Object.keys(t);r&&(d=d.concat(Object.keys(r.getTypeMap())));var h=Se(u,d);e.reportError(new v('Cannot extend type "'.concat(u,'" because it is not defined.')+Oe(h),s.name))}}}function qp(e){if(fe(e))return f.SCALAR_TYPE_EXTENSION;if(k(e))return f.OBJECT_TYPE_EXTENSION;if(M(e))return f.INTERFACE_TYPE_EXTENSION;if(ne(e))return f.UNION_TYPE_EXTENSION;if(X(e))return f.ENUM_TYPE_EXTENSION;if(C(e))return f.INPUT_OBJECT_TYPE_EXTENSION;q(0,"Unexpected type: "+y(e))}function Kp(e){switch(e){case f.SCALAR_TYPE_EXTENSION:return"scalar";case f.OBJECT_TYPE_EXTENSION:return"object";case f.INTERFACE_TYPE_EXTENSION:return"interface";case f.UNION_TYPE_EXTENSION:return"union";case f.ENUM_TYPE_EXTENSION:return"enum";case f.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}q(0,"Unexpected kind: "+y(e))}var Cr,Bp,Io=g(()=>{"use strict";te();xe();Fr();kr();F();ae();Br();Y();Bp=(Cr={},qt(Cr,f.SCALAR_TYPE_DEFINITION,f.SCALAR_TYPE_EXTENSION),qt(Cr,f.OBJECT_TYPE_DEFINITION,f.OBJECT_TYPE_EXTENSION),qt(Cr,f.INTERFACE_TYPE_DEFINITION,f.INTERFACE_TYPE_EXTENSION),qt(Cr,f.UNION_TYPE_DEFINITION,f.UNION_TYPE_EXTENSION),qt(Cr,f.ENUM_TYPE_DEFINITION,f.ENUM_TYPE_EXTENSION),qt(Cr,f.INPUT_OBJECT_TYPE_DEFINITION,f.INPUT_OBJECT_TYPE_EXTENSION),Cr)});var qn,Zs,bo=g(()=>{"use strict";Ua();Ca();ja();Ga();Qa();Ba();qa();Ka();Ya();Ja();Xa();za();Ha();Wa();Za();$a();eo();ro();to();io();ao();oo();uo();co();mo();vo();ho();yo();To();Eo();go();No();Io();qn=Object.freeze([hn,yn,Tn,En,Ct,gn,Nn,In,bn,On,Dn,Sn,Ln,An,Rn,wn,xn,jt,Gt,_n,Qt,Fn,kn,Vn,Mn,Bt]),Zs=Object.freeze([Pn,Un,Cn,jn,Gn,Qn,Ct,jt,Gt,Bn,no,Qt,Bt,so])});function $s(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,e.__proto__=r}var eu,ru,Kn,Oo=g(()=>{"use strict";ae();pt();Pi();eu=(function(){function e(t,n){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=n}var r=e.prototype;return r.reportError=function(n){this._onError(n)},r.getDocument=function(){return this._ast},r.getFragment=function(n){var i=this._fragments;return i||(this._fragments=i=this.getDocument().definitions.reduce(function(a,o){return o.kind===f.FRAGMENT_DEFINITION&&(a[o.name.value]=o),a},Object.create(null))),i[n]},r.getFragmentSpreads=function(n){var i=this._fragmentSpreads.get(n);if(!i){i=[];for(var a=[n];a.length!==0;)for(var o=a.pop(),s=0,u=o.selections;s<u.length;s++){var c=u[s];c.kind===f.FRAGMENT_SPREAD?i.push(c):c.selectionSet&&a.push(c.selectionSet)}this._fragmentSpreads.set(n,i)}return i},r.getRecursivelyReferencedFragments=function(n){var i=this._recursivelyReferencedFragments.get(n);if(!i){i=[];for(var a=Object.create(null),o=[n.selectionSet];o.length!==0;)for(var s=o.pop(),u=0,c=this.getFragmentSpreads(s);u<c.length;u++){var p=c[u],l=p.name.value;if(a[l]!==!0){a[l]=!0;var m=this.getFragment(l);m&&(i.push(m),o.push(m.selectionSet))}}this._recursivelyReferencedFragments.set(n,i)}return i},e})(),ru=(function(e){$s(r,e);function r(n,i,a){var o;return o=e.call(this,n,a)||this,o._schema=i,o}var t=r.prototype;return t.getSchema=function(){return this._schema},r})(eu),Kn=(function(e){$s(r,e);function r(n,i,a,o){var s;return s=e.call(this,i,o)||this,s._schema=n,s._typeInfo=a,s._variableUsages=new Map,s._recursiveVariableUsages=new Map,s}var t=r.prototype;return t.getSchema=function(){return this._schema},t.getVariableUsages=function(i){var a=this._variableUsages.get(i);if(!a){var o=[],s=new rt(this._schema);Ye(i,tt(s,{VariableDefinition:function(){return!1},Variable:function(c){o.push({node:c,type:s.getInputType(),defaultValue:s.getDefaultValue()})}})),a=o,this._variableUsages.set(i,a)}return a},t.getRecursiveVariableUsages=function(i){var a=this._recursiveVariableUsages.get(i);if(!a){a=this.getVariableUsages(i);for(var o=0,s=this.getRecursivelyReferencedFragments(i);o<s.length;o++){var u=s[o];a=a.concat(this.getVariableUsages(u))}this._recursiveVariableUsages.set(i,a)}return a},t.getType=function(){return this._typeInfo.getType()},t.getParentType=function(){return this._typeInfo.getParentType()},t.getInputType=function(){return this._typeInfo.getInputType()},t.getParentInputType=function(){return this._typeInfo.getParentInputType()},t.getFieldDef=function(){return this._typeInfo.getFieldDef()},t.getDirective=function(){return this._typeInfo.getDirective()},t.getArgument=function(){return this._typeInfo.getArgument()},t.getEnumValue=function(){return this._typeInfo.getEnumValue()},r})(eu)});function it(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:qn,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:new rt(e),i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{maxErrors:void 0};r||x(0,"Must provide document."),et(e);var a=Object.freeze({}),o=[],s=new Kn(e,r,n,function(c){if(i.maxErrors!=null&&o.length>=i.maxErrors)throw o.push(new v("Too many validation errors, error limit reached. Validation aborted.")),a;o.push(c)}),u=ut(t.map(function(c){return c(s)}));try{Ye(r,tt(n,u))}catch(c){if(c!==a)throw c}return o}function tu(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Zs,n=[],i=new ru(e,r,function(o){n.push(o)}),a=t.map(function(o){return o(i)});return Ye(e,ut(a)),n}function nu(e){var r=tu(e);if(r.length!==0)throw new Error(r.map(function(t){return t.message}).join(`

`))}function iu(e,r){var t=tu(e,r);if(t.length!==0)throw new Error(t.map(function(n){return n.message}).join(`

`))}var Kt=g(()=>{"use strict";Xe();F();pt();dn();Pi();bo();Oo()});function Yn(e){return e.map(function(r){return typeof r=="number"?"["+r.toString()+"]":"."+r}).join("")}var Do=g(()=>{"use strict"});function Ue(e,r,t){if(e){if(e.kind===f.VARIABLE){var n=e.name.value;if(t==null||t[n]===void 0)return;var i=t[n];return i===null&&A(r)?void 0:i}if(A(r))return e.kind===f.NULL?void 0:Ue(e,r.ofType,t);if(e.kind===f.NULL)return null;if(G(r)){var a=r.ofType;if(e.kind===f.LIST){for(var o=[],s=0,u=e.values;s<u.length;s++){var c=u[s];if(au(c,t)){if(A(a))return;o.push(null)}else{var p=Ue(c,a,t);if(p===void 0)return;o.push(p)}}return o}var l=Ue(e,a,t);return l===void 0?void 0:[l]}if(C(r)){if(e.kind!==f.OBJECT)return;for(var m=Object.create(null),d=de(e.fields,function(P){return P.name.value}),h=0,E=j(r.getFields());h<E.length;h++){var I=E[h],O=d[I.name];if(!O||au(O.value,t)){if(I.defaultValue!==void 0)m[I.name]=I.defaultValue;else if(A(I.type))return;continue}var D=Ue(O.value,I.type,t);if(D===void 0)return;m[I.name]=D}return m}if(he(r)){var V;try{V=r.parseLiteral(e,t)}catch{return}return V===void 0?void 0:V}q(0,"Unexpected input type: "+y(r))}}function au(e,r){return e.kind===f.VARIABLE&&(r==null||r[e.name.value]===void 0)}var Jn=g(()=>{"use strict";Ge();_r();te();xe();ae();Y()});function Dr(e,r,t){return{prev:e,key:r,typename:t}}function Te(e){for(var r=[],t=e;t;)r.push(t.key),t=t.prev;return r.reverse()}var Xn=g(()=>{"use strict"});function Hn(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yp;return zn(e,r,t)}function Yp(e,r,t){var n="Invalid value "+y(r);throw e.length>0&&(n+=' at "value'.concat(Yn(e),'"')),t.message=n+": "+t.message,t}function zn(e,r,t,n){if(A(r)){if(e!=null)return zn(e,r.ofType,t,n);t(Te(n),e,new v('Expected non-nullable type "'.concat(y(r),'" not to be null.')));return}if(e==null)return null;if(G(r)){var i=r.ofType,a=Hr(e,function(D,V){var P=Dr(n,V,void 0);return zn(D,i,t,P)});return a??[zn(e,i,t,n)]}if(C(r)){if(!ce(e)){t(Te(n),e,new v('Expected type "'.concat(r.name,'" to be an object.')));return}for(var o={},s=r.getFields(),u=0,c=j(s);u<c.length;u++){var p=c[u],l=e[p.name];if(l===void 0){if(p.defaultValue!==void 0)o[p.name]=p.defaultValue;else if(A(p.type)){var m=y(p.type);t(Te(n),e,new v('Field "'.concat(p.name,'" of required type "').concat(m,'" was not provided.')))}continue}o[p.name]=zn(l,p.type,t,Dr(n,p.name,r.name))}for(var d=0,h=Object.keys(e);d<h.length;d++){var E=h[d];if(!s[E]){var I=Se(E,Object.keys(r.getFields()));t(Te(n),e,new v('Field "'.concat(E,'" is not defined by type "').concat(r.name,'".')+Oe(I)))}}return o}if(he(r)){var O;try{O=r.parseValue(e)}catch(D){D instanceof v?t(Te(n),e,D):t(Te(n),e,new v('Expected type "'.concat(r.name,'". ')+D.message,void 0,void 0,void 0,void 0,D));return}return O===void 0&&t(Te(n),e,new v('Expected type "'.concat(r.name,'".'))),O}q(0,"Unexpected input type: "+y(r))}var So=g(()=>{"use strict";Ge();te();xe();Fr();fr();Fi();kr();Do();Xn();F();Y()});function ou(e,r,t,n){var i=[],a=n?.maxErrors;try{var o=Jp(e,r,t,function(s){if(a!=null&&i.length>=a)throw new v("Too many errors processing variables, error limit reached. Execution aborted.");i.push(s)});if(i.length===0)return{coerced:o}}catch(s){i.push(s)}return{errors:i}}function Jp(e,r,t,n){for(var i={},a=function(c){var p=r[c],l=p.variable.name.value,m=ue(e,p.type);if(!le(m)){var d=Q(p.type);return n(new v('Variable "$'.concat(l,'" expected value of type "').concat(d,'" which cannot be used as an input type.'),p.type)),"continue"}if(!su(t,l)){if(p.defaultValue)i[l]=Ue(p.defaultValue,m);else if(A(m)){var h=y(m);n(new v('Variable "$'.concat(l,'" of required type "').concat(h,'" was not provided.'),p))}return"continue"}var E=t[l];if(E===null&&A(m)){var I=y(m);return n(new v('Variable "$'.concat(l,'" of non-null type "').concat(I,'" must not be null.'),p)),"continue"}i[l]=Hn(E,m,function(O,D,V){var P='Variable "$'.concat(l,'" got invalid value ')+y(D);O.length>0&&(P+=' at "'.concat(l).concat(Yn(O),'"')),n(new v(P+"; "+V.message,p,void 0,void 0,void 0,V.originalError))})},o=0;o<r.length;o++)var s=a(o);return i}function Wn(e,r,t){for(var n,i={},a=(n=r.arguments)!==null&&n!==void 0?n:[],o=de(a,function(O){return O.name.value}),s=0,u=e.args;s<u.length;s++){var c=u[s],p=c.name,l=c.type,m=o[p];if(!m){if(c.defaultValue!==void 0)i[p]=c.defaultValue;else if(A(l))throw new v('Argument "'.concat(p,'" of required type "').concat(y(l),'" ')+"was not provided.",r);continue}var d=m.value,h=d.kind===f.NULL;if(d.kind===f.VARIABLE){var E=d.name.value;if(t==null||!su(t,E)){if(c.defaultValue!==void 0)i[p]=c.defaultValue;else if(A(l))throw new v('Argument "'.concat(p,'" of required type "').concat(y(l),'" ')+'was provided the variable "$'.concat(E,'" which was not provided a runtime value.'),d);continue}h=t[E]==null}if(h&&A(l))throw new v('Argument "'.concat(p,'" of non-null type "').concat(y(l),'" ')+"must not be null.",d);var I=Ue(d,l,t);if(I===void 0)throw new v('Argument "'.concat(p,'" has invalid value ').concat(Q(d),"."),d);i[p]=I}return i}function Sr(e,r,t){var n=r.directives&&ir(r.directives,function(i){return i.name.value===e.name});if(n)return Wn(e,n,t)}function su(e,r){return Object.prototype.hasOwnProperty.call(e,r)}var Zn=g(()=>{"use strict";Tt();_r();te();Do();F();ae();Je();Y();Tr();Jn();So()});function uu(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function z(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?uu(Object(t),!0).forEach(function(n){Xp(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uu(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Xp(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Lo(e,r,t){Wr(e),r!=null&&r.kind===f.DOCUMENT||x(0,"Must provide valid Document AST."),t?.assumeValid!==!0&&t?.assumeValidSDL!==!0&&iu(r,e);var n=e.toConfig(),i=Ao(n,r,t);return n===i?e:new rr(i)}function Ao(e,r,t){for(var n,i,a,o,s=[],u=Object.create(null),c=[],p,l=[],m=0,d=r.definitions;m<d.length;m++){var h=d[m];if(h.kind===f.SCHEMA_DEFINITION)p=h;else if(h.kind===f.SCHEMA_EXTENSION)l.push(h);else if(ze(h))s.push(h);else if(xr(h)){var E=h.name.value,I=u[E];u[E]=I?I.concat([h]):[h]}else h.kind===f.DIRECTIVE_DEFINITION&&c.push(h)}if(Object.keys(u).length===0&&s.length===0&&c.length===0&&l.length===0&&p==null)return e;for(var O=Object.create(null),D=0,V=e.types;D<V.length;D++){var P=V[D];O[P.name]=B(P)}for(var U=0;U<s.length;U++){var J,H=s[U],Ee=H.name.value;O[Ee]=(J=cu[Ee])!==null&&J!==void 0?J:Ec(H)}var je=z(z({query:e.query&&gr(e.query),mutation:e.mutation&&gr(e.mutation),subscription:e.subscription&&gr(e.subscription)},p&&fs([p])),fs(l));return z(z({description:(n=p)===null||n===void 0||(i=n.description)===null||i===void 0?void 0:i.value},je),{},{types:j(O),directives:[].concat(e.directives.map(b),c.map(Tc)),extensions:void 0,astNode:(a=p)!==null&&a!==void 0?a:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(l),assumeValid:(o=t?.assumeValid)!==null&&o!==void 0?o:!1});function Er(N){return G(N)?new ee(Er(N.ofType)):A(N)?new _(Er(N.ofType)):gr(N)}function gr(N){return O[N.name]}function b(N){var R=N.toConfig();return new we(z(z({},R),{},{args:He(R.args,ps)}))}function B(N){if(Pe(N)||Or(N))return N;if(fe(N))return vc(N);if(k(N))return dc(N);if(M(N))return hc(N);if(ne(N))return yc(N);if(X(N))return jr(N);if(C(N))return me(N);q(0,"Unexpected type: "+y(N))}function me(N){var R,S=N.toConfig(),L=(R=u[S.name])!==null&&R!==void 0?R:[];return new $e(z(z({},S),{},{fields:function(){return z(z({},He(S.fields,function(W){return z(z({},W),{},{type:Er(W.type)})})),ms(L))},extensionASTNodes:S.extensionASTNodes.concat(L)}))}function jr(N){var R,S=N.toConfig(),L=(R=u[N.name])!==null&&R!==void 0?R:[];return new ke(z(z({},S),{},{values:z(z({},S.values),vs(L)),extensionASTNodes:S.extensionASTNodes.concat(L)}))}function vc(N){for(var R,S=N.toConfig(),L=(R=u[S.name])!==null&&R!==void 0?R:[],K=S.specifiedByUrl,W=0;W<L.length;W++){var Z,$=L[W];K=(Z=pu($))!==null&&Z!==void 0?Z:K}return new Ae(z(z({},S),{},{specifiedByUrl:K,extensionASTNodes:S.extensionASTNodes.concat(L)}))}function dc(N){var R,S=N.toConfig(),L=(R=u[S.name])!==null&&R!==void 0?R:[];return new ye(z(z({},S),{},{interfaces:function(){return[].concat(N.getInterfaces().map(gr),ui(L))},fields:function(){return z(z({},He(S.fields,cs)),si(L))},extensionASTNodes:S.extensionASTNodes.concat(L)}))}function hc(N){var R,S=N.toConfig(),L=(R=u[S.name])!==null&&R!==void 0?R:[];return new We(z(z({},S),{},{interfaces:function(){return[].concat(N.getInterfaces().map(gr),ui(L))},fields:function(){return z(z({},He(S.fields,cs)),si(L))},extensionASTNodes:S.extensionASTNodes.concat(L)}))}function yc(N){var R,S=N.toConfig(),L=(R=u[S.name])!==null&&R!==void 0?R:[];return new Ze(z(z({},S),{},{types:function(){return[].concat(N.getTypes().map(gr),ds(L))},extensionASTNodes:S.extensionASTNodes.concat(L)}))}function cs(N){return z(z({},N),{},{type:Er(N.type),args:He(N.args,ps)})}function ps(N){return z(z({},N),{},{type:Er(N.type)})}function fs(N){for(var R={},S=0;S<N.length;S++)for(var L,K=N[S],W=(L=K.operationTypes)!==null&&L!==void 0?L:[],Z=0;Z<W.length;Z++){var $=W[Z];R[$.operation]=oi($.type)}return R}function oi(N){var R,S=N.name.value,L=(R=cu[S])!==null&&R!==void 0?R:O[S];if(L===void 0)throw new Error('Unknown type: "'.concat(S,'".'));return L}function Jt(N){return N.kind===f.LIST_TYPE?new ee(Jt(N.type)):N.kind===f.NON_NULL_TYPE?new _(Jt(N.type)):oi(N)}function Tc(N){var R=N.locations.map(function(S){var L=S.value;return L});return new we({name:N.name.value,description:Lr(N,t),locations:R,isRepeatable:N.repeatable,args:ls(N.arguments),astNode:N})}function si(N){for(var R=Object.create(null),S=0;S<N.length;S++)for(var L,K=N[S],W=(L=K.fields)!==null&&L!==void 0?L:[],Z=0;Z<W.length;Z++){var $=W[Z];R[$.name.value]={type:Jt($.type),description:Lr($,t),args:ls($.arguments),deprecationReason:Gi($),astNode:$}}return R}function ls(N){for(var R=N??[],S=Object.create(null),L=0;L<R.length;L++){var K=R[L],W=Jt(K.type);S[K.name.value]={type:W,description:Lr(K,t),defaultValue:Ue(K.defaultValue,W),deprecationReason:Gi(K),astNode:K}}return S}function ms(N){for(var R=Object.create(null),S=0;S<N.length;S++)for(var L,K=N[S],W=(L=K.fields)!==null&&L!==void 0?L:[],Z=0;Z<W.length;Z++){var $=W[Z],Xt=Jt($.type);R[$.name.value]={type:Xt,description:Lr($,t),defaultValue:Ue($.defaultValue,Xt),deprecationReason:Gi($),astNode:$}}return R}function vs(N){for(var R=Object.create(null),S=0;S<N.length;S++)for(var L,K=N[S],W=(L=K.values)!==null&&L!==void 0?L:[],Z=0;Z<W.length;Z++){var $=W[Z];R[$.name.value]={description:Lr($,t),deprecationReason:Gi($),astNode:$}}return R}function ui(N){for(var R=[],S=0;S<N.length;S++)for(var L,K=N[S],W=(L=K.interfaces)!==null&&L!==void 0?L:[],Z=0;Z<W.length;Z++){var $=W[Z];R.push(oi($))}return R}function ds(N){for(var R=[],S=0;S<N.length;S++)for(var L,K=N[S],W=(L=K.types)!==null&&L!==void 0?L:[],Z=0;Z<W.length;Z++){var $=W[Z];R.push(oi($))}return R}function Ec(N){var R,S=N.name.value,L=Lr(N,t),K=(R=u[S])!==null&&R!==void 0?R:[];switch(N.kind){case f.OBJECT_TYPE_DEFINITION:{var W=K,Z=[N].concat(W);return new ye({name:S,description:L,interfaces:function(){return ui(Z)},fields:function(){return si(Z)},astNode:N,extensionASTNodes:W})}case f.INTERFACE_TYPE_DEFINITION:{var $=K,Xt=[N].concat($);return new We({name:S,description:L,interfaces:function(){return ui(Xt)},fields:function(){return si(Xt)},astNode:N,extensionASTNodes:$})}case f.ENUM_TYPE_DEFINITION:{var hs=K,gc=[N].concat(hs);return new ke({name:S,description:L,values:vs(gc),astNode:N,extensionASTNodes:hs})}case f.UNION_TYPE_DEFINITION:{var ys=K,Nc=[N].concat(ys);return new Ze({name:S,description:L,types:function(){return ds(Nc)},astNode:N,extensionASTNodes:ys})}case f.SCALAR_TYPE_DEFINITION:{var Ic=K;return new Ae({name:S,description:L,specifiedByUrl:pu(N),astNode:N,extensionASTNodes:Ic})}case f.INPUT_OBJECT_TYPE_DEFINITION:{var Ts=K,bc=[N].concat(Ts);return new $e({name:S,description:L,fields:function(){return ms(bc)},astNode:N,extensionASTNodes:Ts})}}q(0,"Unexpected type definition node: "+y(N))}}function Gi(e){var r=Sr(Ur,e);return r?.reason}function pu(e){var r=Sr(Vt,e);return r?.url}function Lr(e,r){if(e.description)return e.description.value;if(r?.commentDescriptions===!0){var t=zp(e);if(t!==void 0)return st(`
`+t)}}function zp(e){var r=e.loc;if(r){for(var t=[],n=r.startToken.prev;n!=null&&n.kind===T.COMMENT&&n.next&&n.prev&&n.line+1===n.next.line&&n.line!==n.prev.line;){var i=String(n.value);t.push(i),n=n.prev}return t.length>0?t.reverse().join(`
`):void 0}}var cu,Ro=g(()=>{"use strict";Ge();_r();te();ma();xe();Xe();ae();lt();pi();Br();Kt();Zn();Zr();vr();er();Ce();Y();Jn();cu=de(mr.concat(ur),function(e){return e.name})});function Qi(e,r){e!=null&&e.kind===f.DOCUMENT||x(0,"Must provide valid Document AST."),r?.assumeValid!==!0&&r?.assumeValidSDL!==!0&&nu(e);var t={description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},n=Ao(t,e,r);if(n.astNode==null)for(var i=0,a=n.types;i<a.length;i++){var o=a[i];switch(o.name){case"Query":n.query=o;break;case"Mutation":n.mutation=o;break;case"Subscription":n.subscription=o;break}}for(var s=n.directives,u=function(l){var m=De[l];s.every(function(d){return d.name!==m.name})&&s.push(m)},c=0;c<De.length;c++)u(c);return new rr(n)}function wo(e,r){var t=Nr(e,{noLocation:r?.noLocation,allowLegacySDLEmptyFields:r?.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:r?.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:r?.experimentalFragmentVariables});return Qi(t,{commentDescriptions:r?.commentDescriptions,assumeValidSDL:r?.assumeValidSDL,assumeValid:r?.assumeValid})}var fu=g(()=>{"use strict";Xe();ae();vt();Kt();Zr();Ce();Ro()});function lu(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function Hp(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?lu(Object(t),!0).forEach(function(n){Wp(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):lu(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Wp(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function $n(e){var r=Hp({descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1},e),t=r.descriptions?"description":"",n=r.specifiedByUrl?"specifiedByUrl":"",i=r.directiveIsRepeatable?"isRepeatable":"",a=r.schemaDescription?t:"";function o(s){return r.inputValueDeprecation?s:""}return`
    query IntrospectionQuery {
      __schema {
        `.concat(a,`
        queryType { name }
        mutationType { name }
        subscriptionType { name }
        types {
          ...FullType
        }
        directives {
          name
          `).concat(t,`
          `).concat(i,`
          locations
          args`).concat(o("(includeDeprecated: true)"),` {
            ...InputValue
          }
        }
      }
    }

    fragment FullType on __Type {
      kind
      name
      `).concat(t,`
      `).concat(n,`
      fields(includeDeprecated: true) {
        name
        `).concat(t,`
        args`).concat(o("(includeDeprecated: true)"),` {
          ...InputValue
        }
        type {
          ...TypeRef
        }
        isDeprecated
        deprecationReason
      }
      inputFields`).concat(o("(includeDeprecated: true)"),` {
        ...InputValue
      }
      interfaces {
        ...TypeRef
      }
      enumValues(includeDeprecated: true) {
        name
        `).concat(t,`
        isDeprecated
        deprecationReason
      }
      possibleTypes {
        ...TypeRef
      }
    }

    fragment InputValue on __InputValue {
      name
      `).concat(t,`
      type { ...TypeRef }
      defaultValue
      `).concat(o("isDeprecated"),`
      `).concat(o("deprecationReason"),`
    }

    fragment TypeRef on __Type {
      kind
      name
      ofType {
        kind
        name
        ofType {
          kind
          name
          ofType {
            kind
            name
            ofType {
              kind
              name
              ofType {
                kind
                name
                ofType {
                  kind
                  name
                  ofType {
                    kind
                    name
                  }
                }
              }
            }
          }
        }
      }
    }
  `)}var xo=g(()=>{"use strict"});function at(e,r){if(r.operation==="query"){var t=e.getQueryType();if(!t)throw new v("Schema does not define the required query root type.",r);return t}if(r.operation==="mutation"){var n=e.getMutationType();if(!n)throw new v("Schema is not configured for mutations.",r);return n}if(r.operation==="subscription"){var i=e.getSubscriptionType();if(!i)throw new v("Schema is not configured for subscriptions.",r);return i}throw new v("Can only have query, mutation and subscription operations.",r)}var Bi=g(()=>{"use strict";F()});function _o(e){var r;return function(n,i,a){r||(r=new WeakMap);var o=r.get(n),s;if(o){if(s=o.get(i),s){var u=s.get(a);if(u!==void 0)return u}}else o=new WeakMap,r.set(n,o);s||(s=new WeakMap,o.set(i,s));var c=e(n,i,a);return s.set(a,c),c}}var mu=g(()=>{"use strict"});function Ne(e){return typeof e?.then=="function"}var qi=g(()=>{"use strict"});function Fo(e,r,t){return e.reduce(function(n,i){return Ne(n)?n.then(function(a){return r(a,i)}):r(n,i)},t)}var vu=g(()=>{"use strict";qi()});function ko(e){var r=Object.keys(e),t=r.map(function(n){return e[n]});return Promise.all(t).then(function(n){return n.reduce(function(i,a,o){return i[r[o]]=a,i},Object.create(null))})}var du=g(()=>{"use strict"});function ot(e,r,t,n,i,a,o,s){return arguments.length===1?Mo(e):Mo({schema:e,document:r,rootValue:t,contextValue:n,variableValues:i,operationName:a,fieldResolver:o,typeResolver:s})}function ri(e){var r=Mo(e);if(Ne(r))throw new Error("GraphQL execution failed to complete synchronously.");return r}function Mo(e){var r=e.schema,t=e.document,n=e.rootValue,i=e.contextValue,a=e.variableValues,o=e.operationName,s=e.fieldResolver,u=e.typeResolver;Uo(r,t,a);var c=Co(r,t,n,i,a,o,s,u);if(Array.isArray(c))return{errors:c};var p=Zp(c,c.operation,n);return gu(c,p)}function gu(e,r){return Ne(r)?r.then(function(t){return gu(e,t)}):e.errors.length===0?{data:r}:{errors:e.errors,data:r}}function Uo(e,r,t){r||x(0,"Must provide document."),et(e),t==null||ce(t)||x(0,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function Co(e,r,t,n,i,a,o,s){for(var u,c,p,l=Object.create(null),m=0,d=r.definitions;m<d.length;m++){var h=d[m];switch(h.kind){case f.OPERATION_DEFINITION:if(a==null){if(p!==void 0)return[new v("Must provide operation name if query contains multiple operations.")];p=h}else((u=h.name)===null||u===void 0?void 0:u.value)===a&&(p=h);break;case f.FRAGMENT_DEFINITION:l[h.name.value]=h;break}}if(!p)return a!=null?[new v('Unknown operation named "'.concat(a,'".'))]:[new v("Must provide an operation.")];var E=(c=p.variableDefinitions)!==null&&c!==void 0?c:[],I=ou(e,E,i??{},{maxErrors:50});return I.errors?I.errors:{schema:e,fragments:l,rootValue:t,contextValue:n,operation:p,variableValues:I.coerced,fieldResolver:o??Ji,typeResolver:s??Yi,errors:[]}}function Zp(e,r,t){var n=at(e.schema,r),i=Yt(e,n,r.selectionSet,Object.create(null),Object.create(null)),a=void 0;try{var o=r.operation==="mutation"?$p(e,n,t,a,i):Nu(e,n,t,a,i);return Ne(o)?o.then(void 0,function(s){return e.errors.push(s),Promise.resolve(null)}):o}catch(s){return e.errors.push(s),null}}function $p(e,r,t,n,i){return Fo(Object.keys(i),function(a,o){var s=i[o],u=Dr(n,o,r.name),c=Iu(e,r,t,s,u);return c===void 0?a:Ne(c)?c.then(function(p){return a[o]=p,a}):(a[o]=c,a)},Object.create(null))}function Nu(e,r,t,n,i){for(var a=Object.create(null),o=!1,s=0,u=Object.keys(i);s<u.length;s++){var c=u[s],p=i[c],l=Dr(n,c,r.name),m=Iu(e,r,t,p,l);m!==void 0&&(a[c]=m,Ne(m)&&(o=!0))}return o?ko(a):a}function Yt(e,r,t,n,i){for(var a=0,o=t.selections;a<o.length;a++){var s=o[a];switch(s.kind){case f.FIELD:{if(!Vo(e,s))continue;var u=ef(s);n[u]||(n[u]=[]),n[u].push(s);break}case f.INLINE_FRAGMENT:{if(!Vo(e,s)||!hu(e,s,r))continue;Yt(e,r,s.selectionSet,n,i);break}case f.FRAGMENT_SPREAD:{var c=s.name.value;if(i[c]||!Vo(e,s))continue;i[c]=!0;var p=e.fragments[c];if(!p||!hu(e,p,r))continue;Yt(e,r,p.selectionSet,n,i);break}}}return n}function Vo(e,r){var t=Sr(Ft,r,e.variableValues);if(t?.if===!0)return!1;var n=Sr(_t,r,e.variableValues);return n?.if!==!1}function hu(e,r,t){var n=r.typeCondition;if(!n)return!0;var i=ue(e.schema,n);return i===t?!0:Le(i)?e.schema.isSubType(i,t):!1}function ef(e){return e.alias?e.alias.value:e.name.value}function Iu(e,r,t,n,i){var a,o=n[0],s=o.name.value,u=Go(e.schema,r,s);if(u){var c=u.type,p=(a=u.resolve)!==null&&a!==void 0?a:e.fieldResolver,l=jo(e,u,n,r,i);try{var m=Wn(u,n[0],e.variableValues),d=e.contextValue,h=p(t,m,d,l),E;return Ne(h)?E=h.then(function(O){return ei(e,c,n,l,i,O)}):E=ei(e,c,n,l,i,h),Ne(E)?E.then(void 0,function(O){var D=Qe(O,n,Te(i));return Ki(D,c,e)}):E}catch(O){var I=Qe(O,n,Te(i));return Ki(I,c,e)}}}function jo(e,r,t,n,i){return{fieldName:r.name,fieldNodes:t,returnType:r.type,parentType:n,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function Ki(e,r,t){if(A(r))throw e;return t.errors.push(e),null}function ei(e,r,t,n,i,a){if(a instanceof Error)throw a;if(A(r)){var o=ei(e,r.ofType,t,n,i,a);if(o===null)throw new Error("Cannot return null for non-nullable field ".concat(n.parentType.name,".").concat(n.fieldName,"."));return o}if(a==null)return null;if(G(r))return rf(e,r,t,n,i,a);if(he(r))return tf(r,a);if(Le(r))return nf(e,r,t,n,i,a);if(k(r))return Po(e,r,t,n,i,a);q(0,"Cannot complete value of unexpected output type: "+y(r))}function rf(e,r,t,n,i,a){var o=r.ofType,s=!1,u=Hr(a,function(c,p){var l=Dr(i,p,void 0);try{var m;return Ne(c)?m=c.then(function(h){return ei(e,o,t,n,l,h)}):m=ei(e,o,t,n,l,c),Ne(m)?(s=!0,m.then(void 0,function(h){var E=Qe(h,t,Te(l));return Ki(E,o,e)})):m}catch(h){var d=Qe(h,t,Te(l));return Ki(d,o,e)}});if(u==null)throw new v('Expected Iterable, but did not find one for field "'.concat(n.parentType.name,".").concat(n.fieldName,'".'));return s?Promise.all(u):u}function tf(e,r){var t=e.serialize(r);if(t===void 0)throw new Error('Expected a value of type "'.concat(y(e),'" but ')+"received: ".concat(y(r)));return t}function nf(e,r,t,n,i,a){var o,s=(o=r.resolveType)!==null&&o!==void 0?o:e.typeResolver,u=e.contextValue,c=s(a,u,n,r);return Ne(c)?c.then(function(p){return Po(e,yu(p,e,r,t,n,a),t,n,i,a)}):Po(e,yu(c,e,r,t,n,a),t,n,i,a)}function yu(e,r,t,n,i,a){if(e==null)throw new v('Abstract type "'.concat(t.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'". Either the "').concat(t.name,'" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.'),n);var o=or(e)?e.name:e;if(typeof o!="string")throw new v('Abstract type "'.concat(t.name,'" must resolve to an Object type at runtime for field "').concat(i.parentType.name,".").concat(i.fieldName,'" with ')+"value ".concat(y(a),', received "').concat(y(e),'".'));var s=r.schema.getType(o);if(s==null)throw new v('Abstract type "'.concat(t.name,'" was resolve to a type "').concat(o,'" that does not exist inside schema.'),n);if(!k(s))throw new v('Abstract type "'.concat(t.name,'" was resolve to a non-object type "').concat(o,'".'),n);if(!r.schema.isSubType(t,s))throw new v('Runtime Object type "'.concat(s.name,'" is not a possible type for "').concat(t.name,'".'),n);return s}function Po(e,r,t,n,i,a){if(r.isTypeOf){var o=r.isTypeOf(a,e.contextValue,n);if(Ne(o))return o.then(function(s){if(!s)throw Tu(r,a,t);return Eu(e,r,t,i,a)});if(!o)throw Tu(r,a,t)}return Eu(e,r,t,i,a)}function Tu(e,r,t){return new v('Expected value of type "'.concat(e.name,'" but got: ').concat(y(r),"."),t)}function Eu(e,r,t,n,i){var a=af(e,r,t);return Nu(e,r,i,n,a)}function of(e,r,t){for(var n=Object.create(null),i=Object.create(null),a=0;a<t.length;a++){var o=t[a];o.selectionSet&&(n=Yt(e,r,o.selectionSet,n,i))}return n}function Go(e,r,t){return t===dr.name&&e.getQueryType()===r?dr:t===hr.name&&e.getQueryType()===r?hr:t===yr.name?yr:r.getFields()[t]}var af,Yi,Ji,ti=g(()=>{"use strict";te();mu();xe();Xe();qi();fr();Fi();vu();du();Xn();F();an();ae();dn();er();Ce();Y();Tr();Bi();Zn();af=_o(of);Yi=function(r,t,n,i){if(ce(r)&&typeof r.__typename=="string")return r.__typename;for(var a=n.schema.getPossibleTypes(i),o=[],s=0;s<a.length;s++){var u=a[s];if(u.isTypeOf){var c=u.isTypeOf(r,t,n);if(Ne(c))o[s]=c;else if(c)return u.name}}if(o.length)return Promise.all(o).then(function(p){for(var l=0;l<p.length;l++)if(p[l])return a[l].name})},Ji=function(r,t,n,i){if(ce(r)||typeof r=="function"){var a=r[i.fieldName];return typeof a=="function"?r[i.fieldName](t,n,i):a}}});function bu(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function sf(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?bu(Object(t),!0).forEach(function(n){uf(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):bu(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function uf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Qo(e,r){var t=sf({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},r),n=Nr($n(t)),i=ri({schema:e,document:n});return!i.errors&&i.data||q(0),i.data}var Ou=g(()=>{"use strict";xe();vt();ti();xo()});function Bo(e,r){ce(e)&&ce(e.__schema)||x(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat(y(e),"."));for(var t=e.__schema,n=Be(t.types,function(b){return b.name},function(b){return E(b)}),i=0,a=[].concat(mr,ur);i<a.length;i++){var o=a[i];n[o.name]&&(n[o.name]=o)}var s=t.queryType?d(t.queryType):null,u=t.mutationType?d(t.mutationType):null,c=t.subscriptionType?d(t.subscriptionType):null,p=t.directives?t.directives.map(gr):[];return new rr({description:t.description,query:s,mutation:u,subscription:c,types:j(n),directives:p,assumeValid:r?.assumeValid});function l(b){if(b.kind===re.LIST){var B=b.ofType;if(!B)throw new Error("Decorated type deeper than introspection query.");return new ee(l(B))}if(b.kind===re.NON_NULL){var me=b.ofType;if(!me)throw new Error("Decorated type deeper than introspection query.");var jr=l(me);return new _(bt(jr))}return m(b)}function m(b){var B=b.name;if(!B)throw new Error("Unknown type reference: ".concat(y(b),"."));var me=n[B];if(!me)throw new Error("Invalid or incomplete schema, unknown type: ".concat(B,". Ensure that a full introspection query is used in order to build a client schema."));return me}function d(b){return un(m(b))}function h(b){return cn(m(b))}function E(b){if(b!=null&&b.name!=null&&b.kind!=null)switch(b.kind){case re.SCALAR:return I(b);case re.OBJECT:return D(b);case re.INTERFACE:return V(b);case re.UNION:return P(b);case re.ENUM:return U(b);case re.INPUT_OBJECT:return J(b)}var B=y(b);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(B,"."))}function I(b){return new Ae({name:b.name,description:b.description,specifiedByUrl:b.specifiedByUrl})}function O(b){if(b.interfaces===null&&b.kind===re.INTERFACE)return[];if(!b.interfaces){var B=y(b);throw new Error("Introspection result missing interfaces: ".concat(B,"."))}return b.interfaces.map(h)}function D(b){return new ye({name:b.name,description:b.description,interfaces:function(){return O(b)},fields:function(){return H(b)}})}function V(b){return new We({name:b.name,description:b.description,interfaces:function(){return O(b)},fields:function(){return H(b)}})}function P(b){if(!b.possibleTypes){var B=y(b);throw new Error("Introspection result missing possibleTypes: ".concat(B,"."))}return new Ze({name:b.name,description:b.description,types:function(){return b.possibleTypes.map(d)}})}function U(b){if(!b.enumValues){var B=y(b);throw new Error("Introspection result missing enumValues: ".concat(B,"."))}return new ke({name:b.name,description:b.description,values:Be(b.enumValues,function(me){return me.name},function(me){return{description:me.description,deprecationReason:me.deprecationReason}})})}function J(b){if(!b.inputFields){var B=y(b);throw new Error("Introspection result missing inputFields: ".concat(B,"."))}return new $e({name:b.name,description:b.description,fields:function(){return je(b.inputFields)}})}function H(b){if(!b.fields)throw new Error("Introspection result missing fields: ".concat(y(b),"."));return Be(b.fields,function(B){return B.name},Ee)}function Ee(b){var B=l(b.type);if(!qe(B)){var me=y(B);throw new Error("Introspection must provide output type for fields, but received: ".concat(me,"."))}if(!b.args){var jr=y(b);throw new Error("Introspection result missing field args: ".concat(jr,"."))}return{description:b.description,deprecationReason:b.deprecationReason,type:B,args:je(b.args)}}function je(b){return Be(b,function(B){return B.name},Er)}function Er(b){var B=l(b.type);if(!le(B)){var me=y(B);throw new Error("Introspection must provide input type for arguments, but received: ".concat(me,"."))}var jr=b.defaultValue!=null?Ue(nn(b.defaultValue),B):void 0;return{description:b.description,type:B,defaultValue:jr,deprecationReason:b.deprecationReason}}function gr(b){if(!b.args){var B=y(b);throw new Error("Introspection result missing directive args: ".concat(B,"."))}if(!b.locations){var me=y(b);throw new Error("Introspection result missing directive locations: ".concat(me,"."))}return new we({name:b.name,description:b.description,isRepeatable:b.isRepeatable,locations:b.locations.slice(),args:je(b.args)})}}var Du=g(()=>{"use strict";Ge();te();Xe();on();fr();vt();Zr();Ce();vr();er();Y();Jn()});function Su(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function ve(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Su(Object(t),!0).forEach(function(n){cf(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Su(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function cf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function Ko(e){var r=e.toConfig(),t=Be(qo(r.types),function(m){return m.name},l);return new rr(ve(ve({},r),{},{types:j(t),directives:qo(r.directives).map(o),query:a(r.query),mutation:a(r.mutation),subscription:a(r.subscription)}));function n(m){return G(m)?new ee(n(m.ofType)):A(m)?new _(n(m.ofType)):i(m)}function i(m){return t[m.name]}function a(m){return m&&i(m)}function o(m){var d=m.toConfig();return new we(ve(ve({},d),{},{locations:Yo(d.locations,function(h){return h}),args:s(d.args)}))}function s(m){return Xi(m,function(d){return ve(ve({},d),{},{type:n(d.type)})})}function u(m){return Xi(m,function(d){return ve(ve({},d),{},{type:n(d.type),args:s(d.args)})})}function c(m){return Xi(m,function(d){return ve(ve({},d),{},{type:n(d.type)})})}function p(m){return qo(m).map(i)}function l(m){if(fe(m)||Pe(m))return m;if(k(m)){var d=m.toConfig();return new ye(ve(ve({},d),{},{interfaces:function(){return p(d.interfaces)},fields:function(){return u(d.fields)}}))}if(M(m)){var h=m.toConfig();return new We(ve(ve({},h),{},{interfaces:function(){return p(h.interfaces)},fields:function(){return u(h.fields)}}))}if(ne(m)){var E=m.toConfig();return new Ze(ve(ve({},E),{},{types:function(){return p(E.types)}}))}if(X(m)){var I=m.toConfig();return new ke(ve(ve({},I),{},{values:Xi(I.values)}))}if(C(m)){var O=m.toConfig();return new $e(ve(ve({},O),{},{fields:function(){return c(O.fields)}}))}q(0,"Unexpected type: "+y(m))}}function Xi(e,r){for(var t=Object.create(null),n=Yo(Object.keys(e),function(s){return s}),i=0;i<n.length;i++){var a=n[i],o=e[a];t[a]=r?r(o):o}return t}function qo(e){return Yo(e,function(r){return r.name})}function Yo(e,r){return e.slice().sort(function(t,n){var i=r(t),a=r(n);return Ir(i,a)})}var Lu=g(()=>{"use strict";Ge();te();xe();on();sn();Zr();Ce();er();Y()});function Xo(e,r){return Au(e,function(t){return!Mt(t)},pf,r)}function zo(e,r){return Au(e,Mt,Pe,r)}function pf(e){return!Or(e)&&!Pe(e)}function Au(e,r,t,n){var i=e.getDirectives().filter(r),a=j(e.getTypeMap()).filter(t);return[ff(e)].concat(i.map(function(o){return Ef(o,n)}),a.map(function(o){return zi(o,n)})).filter(Boolean).join(`

`)+`
`}function ff(e){if(!(e.description==null&&lf(e))){var r=[],t=e.getQueryType();t&&r.push("  query: ".concat(t.name));var n=e.getMutationType();n&&r.push("  mutation: ".concat(n.name));var i=e.getSubscriptionType();return i&&r.push("  subscription: ".concat(i.name)),tr({},e)+`schema {
`.concat(r.join(`
`),`
}`)}}function lf(e){var r=e.getQueryType();if(r&&r.name!=="Query")return!1;var t=e.getMutationType();if(t&&t.name!=="Mutation")return!1;var n=e.getSubscriptionType();return!(n&&n.name!=="Subscription")}function zi(e,r){if(fe(e))return mf(e,r);if(k(e))return vf(e,r);if(M(e))return df(e,r);if(ne(e))return hf(e,r);if(X(e))return yf(e,r);if(C(e))return Tf(e,r);q(0,"Unexpected type: "+y(e))}function mf(e,r){return tr(r,e)+"scalar ".concat(e.name)+gf(e)}function Ru(e){var r=e.getInterfaces();return r.length?" implements "+r.map(function(t){return t.name}).join(" & "):""}function vf(e,r){return tr(r,e)+"type ".concat(e.name)+Ru(e)+wu(r,e)}function df(e,r){return tr(r,e)+"interface ".concat(e.name)+Ru(e)+wu(r,e)}function hf(e,r){var t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return tr(r,e)+"union "+e.name+n}function yf(e,r){var t=e.getValues().map(function(n,i){return tr(r,n,"  ",!i)+"  "+n.name+Wo(n.deprecationReason)});return tr(r,e)+"enum ".concat(e.name)+Ho(t)}function Tf(e,r){var t=j(e.getFields()).map(function(n,i){return tr(r,n,"  ",!i)+"  "+Jo(n)});return tr(r,e)+"input ".concat(e.name)+Ho(t)}function wu(e,r){var t=j(r.getFields()).map(function(n,i){return tr(e,n,"  ",!i)+"  "+n.name+xu(e,n.args,"  ")+": "+String(n.type)+Wo(n.deprecationReason)});return Ho(t)}function Ho(e){return e.length!==0?` {
`+e.join(`
`)+`
}`:""}function xu(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return r.length===0?"":r.every(function(n){return!n.description})?"("+r.map(Jo).join(", ")+")":`(
`+r.map(function(n,i){return tr(e,n,"  "+t,!i)+"  "+t+Jo(n)}).join(`
`)+`
`+t+")"}function Jo(e){var r=Ve(e.defaultValue,e.type),t=e.name+": "+String(e.type);return r&&(t+=" = ".concat(Q(r))),t+Wo(e.deprecationReason)}function Ef(e,r){return tr(r,e)+"directive @"+e.name+xu(r,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}function Wo(e){if(e==null)return"";var r=Ve(e,ie);return r&&e!==kt?" @deprecated(reason: "+Q(r)+")":" @deprecated"}function gf(e){if(e.specifiedByUrl==null)return"";var r=e.specifiedByUrl,t=Ve(r,ie);return t||q(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+Q(t)+")"}function tr(e,r){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=r.description;if(i==null)return"";if(e?.commentDescriptions===!0)return Nf(i,t,n);var a=i.length>70,o=bs(i,"",a),s=t&&!n?`
`+t:t;return s+o.replace(/\n/g,`
`+t)+`
`}function Nf(e,r,t){var n=r&&!t?`
`:"",i=e.split(`
`).map(function(a){return r+(a!==""?"# "+a:"#")}).join(`
`);return n+i+`
`}var _u=g(()=>{"use strict";Ge();te();xe();Je();pi();er();vr();Ce();Y();mn()});function Zo(e){for(var r=[],t=0;t<e.length;t++){var n=e[t];r=r.concat(n.definitions)}return{kind:"Document",definitions:r}}var Fu=g(()=>{"use strict"});function $o(e){for(var r=[],t=Object.create(null),n=0,i=e.definitions;n<i.length;n++){var a=i[n];switch(a.kind){case f.OPERATION_DEFINITION:r.push(a);break;case f.FRAGMENT_DEFINITION:t[a.name.value]=ku(a.selectionSet);break}}for(var o=Object.create(null),s=function(p){for(var l=r[p],m=new Set,d=0,h=ku(l.selectionSet);d<h.length;d++){var E=h[d];Vu(m,t,E)}var I=l.name?l.name.value:"";o[I]={kind:f.DOCUMENT,definitions:e.definitions.filter(function(O){return O===l||O.kind===f.FRAGMENT_DEFINITION&&m.has(O.name.value)})}},u=0;u<r.length;u++)s(u);return o}function Vu(e,r,t){if(!e.has(t)){e.add(t);var n=r[t];if(n!==void 0)for(var i=0;i<n.length;i++){var a=n[i];Vu(e,r,a)}}}function ku(e){var r=[];return Ye(e,{FragmentSpread:function(n){r.push(n.name.value)}}),r}var Mu=g(()=>{"use strict";ae();pt()});function es(e){for(var r=Ei(e)?e:new wr(e),t=r.body,n=new Qr(r),i="",a=!1;n.advance().kind!==T.EOF;){var o=n.token,s=o.kind,u=!Ii(o.kind);a&&(u||o.kind===T.SPREAD)&&(i+=" ");var c=t.slice(o.start,o.end);s===T.BLOCK_STRING?i+=If(c):i+=c,a=u}return i}function If(e){var r=e.slice(3,-3),t=st(r);Is(t)>0&&(t=`
`+t);var n=t[t.length-1],i=n==='"'&&t.slice(-4)!=='\\"""';return(i||n==="\\")&&(t+=`
`),'"""'+t+'"""'}var Pu=g(()=>{"use strict";gi();lt();bi();pi()});function Uu(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,n)}return t}function Cu(e){for(var r=1;r<arguments.length;r++){var t=arguments[r]!=null?arguments[r]:{};r%2?Uu(Object(t),!0).forEach(function(n){bf(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Uu(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function bf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function rs(e,r){var t=qu(e,r).filter(function(n){return n.type in pe});return t}function ts(e,r){var t=qu(e,r).filter(function(n){return n.type in pr});return t}function qu(e,r){return[].concat(Df(e,r),Of(e,r))}function Of(e,r){for(var t=[],n=Ar(e.getDirectives(),r.getDirectives()),i=0,a=n.removed;i<a.length;i++){var o=a[i];t.push({type:pe.DIRECTIVE_REMOVED,description:"".concat(o.name," was removed.")})}for(var s=0,u=n.persisted;s<u.length;s++){for(var c=u[s],p=c[0],l=c[1],m=Ar(p.args,l.args),d=0,h=m.added;d<h.length;d++){var E=h[d];Ke(E)&&t.push({type:pe.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(E.name," on directive ").concat(p.name," was added.")})}for(var I=0,O=m.removed;I<O.length;I++){var D=O[I];t.push({type:pe.DIRECTIVE_ARG_REMOVED,description:"".concat(D.name," was removed from ").concat(p.name,".")})}p.isRepeatable&&!l.isRepeatable&&t.push({type:pe.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(p.name,".")});for(var V=0,P=p.locations;V<P.length;V++){var U=P[V];l.locations.indexOf(U)===-1&&t.push({type:pe.DIRECTIVE_LOCATION_REMOVED,description:"".concat(U," was removed from ").concat(p.name,".")})}}return t}function Df(e,r){for(var t=[],n=Ar(j(e.getTypeMap()),j(r.getTypeMap())),i=0,a=n.removed;i<a.length;i++){var o=a[i];t.push({type:pe.TYPE_REMOVED,description:Or(o)?"Standard scalar ".concat(o.name," was removed because it is not referenced anymore."):"".concat(o.name," was removed.")})}for(var s=0,u=n.persisted;s<u.length;s++){var c=u[s],p=c[0],l=c[1];X(p)&&X(l)?t.push.apply(t,Af(p,l)):ne(p)&&ne(l)?t.push.apply(t,Lf(p,l)):C(p)&&C(l)?t.push.apply(t,Sf(p,l)):k(p)&&k(l)||M(p)&&M(l)?t.push.apply(t,Gu(p,l).concat(ju(p,l))):p.constructor!==l.constructor&&t.push({type:pe.TYPE_CHANGED_KIND,description:"".concat(p.name," changed from ")+"".concat(Qu(p)," to ").concat(Qu(l),".")})}return t}function Sf(e,r){for(var t=[],n=Ar(j(e.getFields()),j(r.getFields())),i=0,a=n.added;i<a.length;i++){var o=a[i];br(o)?t.push({type:pe.REQUIRED_INPUT_FIELD_ADDED,description:"A required field ".concat(o.name," on input type ").concat(e.name," was added.")}):t.push({type:pr.OPTIONAL_INPUT_FIELD_ADDED,description:"An optional field ".concat(o.name," on input type ").concat(e.name," was added.")})}for(var s=0,u=n.removed;s<u.length;s++){var c=u[s];t.push({type:pe.FIELD_REMOVED,description:"".concat(e.name,".").concat(c.name," was removed.")})}for(var p=0,l=n.persisted;p<l.length;p++){var m=l[p],d=m[0],h=m[1],E=ii(d.type,h.type);E||t.push({type:pe.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(d.name," changed type from ")+"".concat(String(d.type)," to ").concat(String(h.type),".")})}return t}function Lf(e,r){for(var t=[],n=Ar(e.getTypes(),r.getTypes()),i=0,a=n.added;i<a.length;i++){var o=a[i];t.push({type:pr.TYPE_ADDED_TO_UNION,description:"".concat(o.name," was added to union type ").concat(e.name,".")})}for(var s=0,u=n.removed;s<u.length;s++){var c=u[s];t.push({type:pe.TYPE_REMOVED_FROM_UNION,description:"".concat(c.name," was removed from union type ").concat(e.name,".")})}return t}function Af(e,r){for(var t=[],n=Ar(e.getValues(),r.getValues()),i=0,a=n.added;i<a.length;i++){var o=a[i];t.push({type:pr.VALUE_ADDED_TO_ENUM,description:"".concat(o.name," was added to enum type ").concat(e.name,".")})}for(var s=0,u=n.removed;s<u.length;s++){var c=u[s];t.push({type:pe.VALUE_REMOVED_FROM_ENUM,description:"".concat(c.name," was removed from enum type ").concat(e.name,".")})}return t}function ju(e,r){for(var t=[],n=Ar(e.getInterfaces(),r.getInterfaces()),i=0,a=n.added;i<a.length;i++){var o=a[i];t.push({type:pr.IMPLEMENTED_INTERFACE_ADDED,description:"".concat(o.name," added to interfaces implemented by ").concat(e.name,".")})}for(var s=0,u=n.removed;s<u.length;s++){var c=u[s];t.push({type:pe.IMPLEMENTED_INTERFACE_REMOVED,description:"".concat(e.name," no longer implements interface ").concat(c.name,".")})}return t}function Gu(e,r){for(var t=[],n=Ar(j(e.getFields()),j(r.getFields())),i=0,a=n.removed;i<a.length;i++){var o=a[i];t.push({type:pe.FIELD_REMOVED,description:"".concat(e.name,".").concat(o.name," was removed.")})}for(var s=0,u=n.persisted;s<u.length;s++){var c=u[s],p=c[0],l=c[1];t.push.apply(t,Rf(e,p,l));var m=ni(p.type,l.type);m||t.push({type:pe.FIELD_CHANGED_KIND,description:"".concat(e.name,".").concat(p.name," changed type from ")+"".concat(String(p.type)," to ").concat(String(l.type),".")})}return t}function Rf(e,r,t){for(var n=[],i=Ar(r.args,t.args),a=0,o=i.removed;a<o.length;a++){var s=o[a];n.push({type:pe.ARG_REMOVED,description:"".concat(e.name,".").concat(r.name," arg ").concat(s.name," was removed.")})}for(var u=0,c=i.persisted;u<c.length;u++){var p=c[u],l=p[0],m=p[1],d=ii(l.type,m.type);if(!d)n.push({type:pe.ARG_CHANGED_KIND,description:"".concat(e.name,".").concat(r.name," arg ").concat(l.name," has changed type from ")+"".concat(String(l.type)," to ").concat(String(m.type),".")});else if(l.defaultValue!==void 0)if(m.defaultValue===void 0)n.push({type:pr.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(r.name," arg ").concat(l.name," defaultValue was removed.")});else{var h=Bu(l.defaultValue,l.type),E=Bu(m.defaultValue,m.type);h!==E&&n.push({type:pr.ARG_DEFAULT_VALUE_CHANGE,description:"".concat(e.name,".").concat(r.name," arg ").concat(l.name," has changed defaultValue from ").concat(h," to ").concat(E,".")})}}for(var I=0,O=i.added;I<O.length;I++){var D=O[I];Ke(D)?n.push({type:pe.REQUIRED_ARG_ADDED,description:"A required arg ".concat(D.name," on ").concat(e.name,".").concat(r.name," was added.")}):n.push({type:pr.OPTIONAL_ARG_ADDED,description:"An optional arg ".concat(D.name," on ").concat(e.name,".").concat(r.name," was added.")})}return n}function ni(e,r){return G(e)?G(r)&&ni(e.ofType,r.ofType)||A(r)&&ni(e,r.ofType):A(e)?A(r)&&ni(e.ofType,r.ofType):or(r)&&e.name===r.name||A(r)&&ni(e,r.ofType)}function ii(e,r){return G(e)?G(r)&&ii(e.ofType,r.ofType):A(e)?A(r)&&ii(e.ofType,r.ofType)||!A(r)&&ii(e.ofType,r):or(r)&&e.name===r.name}function Qu(e){if(fe(e))return"a Scalar type";if(k(e))return"an Object type";if(M(e))return"an Interface type";if(ne(e))return"a Union type";if(X(e))return"an Enum type";if(C(e))return"an Input type";q(0,"Unexpected type: "+y(e))}function Bu(e,r){var t=Ve(e,r);t!=null||q(0);var n=Ye(t,{ObjectValue:function(a){var o=[].concat(a.fields);return o.sort(function(s,u){return Ir(s.name.value,u.name.value)}),Cu(Cu({},a),{},{fields:o})}});return Q(n)}function Ar(e,r){for(var t=[],n=[],i=[],a=de(e,function(m){var d=m.name;return d}),o=de(r,function(m){var d=m.name;return d}),s=0;s<e.length;s++){var u=e[s],c=o[u.name];c===void 0?n.push(u):i.push([u,c])}for(var p=0;p<r.length;p++){var l=r[p];a[l.name]===void 0&&t.push(l)}return{added:t,persisted:i,removed:n}}var pe,pr,Ku=g(()=>{"use strict";Ge();_r();te();xe();sn();Je();pt();vr();Y();mn();pe=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"}),pr=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"})});function ai(e){return{Field:function(t){var n=e.getFieldDef(),i=n?.deprecationReason;if(n&&i!=null){var a=e.getParentType();a!=null||q(0),e.reportError(new v("The field ".concat(a.name,".").concat(n.name," is deprecated. ").concat(i),t))}},Argument:function(t){var n=e.getArgument(),i=n?.deprecationReason;if(n&&i!=null){var a=e.getDirective();if(a!=null)e.reportError(new v('Directive "@'.concat(a.name,'" argument "').concat(n.name,'" is deprecated. ').concat(i),t));else{var o=e.getParentType(),s=e.getFieldDef();o!=null&&s!=null||q(0),e.reportError(new v('Field "'.concat(o.name,".").concat(s.name,'" argument "').concat(n.name,'" is deprecated. ').concat(i),t))}}},ObjectField:function(t){var n=se(e.getParentInputType());if(C(n)){var i=n.getFields()[t.name.value],a=i?.deprecationReason;a!=null&&e.reportError(new v("The input field ".concat(n.name,".").concat(i.name," is deprecated. ").concat(a),t))}},EnumValue:function(t){var n=e.getEnumValue(),i=n?.deprecationReason;if(n&&i!=null){var a=se(e.getInputType());a!=null||q(0),e.reportError(new v('The enum value "'.concat(a.name,".").concat(n.name,'" is deprecated. ').concat(i),t))}}}}var ns=g(()=>{"use strict";xe();F();Y()});function is(e,r){return it(e,r,[ai])}var Yu=g(()=>{"use strict";Kt();ns()});var Ju=g(()=>{"use strict";xo();Oc();Bi();Ou();Du();fu();Ro();Lu();_u();Tr();Jn();da();mn();Pi();So();Fu();Mu();Pu();pn();la();Ku();Yu()});var Xu,zu,Hu=g(()=>{"use strict";Xu="15.5.1",zu=Object.freeze({major:15,minor:5,patch:1,preReleaseTag:null})});function Wu(e,r,t,n,i,a,o,s){var u=arguments;return new Promise(function(c){return c(u.length===1?Hi(e):Hi({schema:e,source:r,rootValue:t,contextValue:n,variableValues:i,operationName:a,fieldResolver:o,typeResolver:s}))})}function Zu(e,r,t,n,i,a,o,s){var u=arguments.length===1?Hi(e):Hi({schema:e,source:r,rootValue:t,contextValue:n,variableValues:i,operationName:a,fieldResolver:o,typeResolver:s});if(Ne(u))throw new Error("GraphQL execution failed to complete synchronously.");return u}function Hi(e){var r=e.schema,t=e.source,n=e.rootValue,i=e.contextValue,a=e.variableValues,o=e.operationName,s=e.fieldResolver,u=e.typeResolver,c=Pt(r);if(c.length>0)return{errors:c};var p;try{p=Nr(t)}catch(m){return{errors:[m]}}var l=it(r,p);return l.length>0?{errors:l}:ot({schema:r,document:p,rootValue:n,contextValue:i,variableValues:a,operationName:o,fieldResolver:s,typeResolver:u})}var $u=g(()=>{"use strict";qi();vt();Kt();dn();ti()});var ec=g(()=>{"use strict";Zr();Y();Ce();vr();er();dn()});var rc=g(()=>{"use strict";Xn();ti();Zn()});function Wi(e){return typeof e?.[Wt]=="function"}var tc=g(()=>{"use strict";lr()});function wf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function as(e,r,t){var n=e[Wt],i=n.call(e),a,o;typeof i.return=="function"&&(a=i.return,o=function(l){var m=function(){return Promise.reject(l)};return a.call(i).then(m,m)});function s(p){return p.done?p:nc(p.value,r).then(ic,o)}var u;if(t){var c=t;u=function(l){return nc(l,c).then(ic,o)}}return wf({next:function(){return i.next().then(s,u)},return:function(){return a?a.call(i).then(s,u):Promise.resolve({value:void 0,done:!0})},throw:function(l){return typeof i.throw=="function"?i.throw(l).then(s,u):Promise.reject(l).catch(o)}},Wt,function(){return this})}function nc(e,r){return new Promise(function(t){return t(r(e))})}function ic(e){return{value:e,done:!1}}var ac=g(()=>{"use strict";lr()});function os(e,r,t,n,i,a,o,s){return arguments.length===1?oc(e):oc({schema:e,document:r,rootValue:t,contextValue:n,variableValues:i,operationName:a,fieldResolver:o,subscribeFieldResolver:s})}function sc(e){if(e instanceof v)return{errors:[e]};throw e}function oc(e){var r=e.schema,t=e.document,n=e.rootValue,i=e.contextValue,a=e.variableValues,o=e.operationName,s=e.fieldResolver,u=e.subscribeFieldResolver,c=Zi(r,t,n,i,a,o,u),p=function(m){return ot({schema:r,document:t,rootValue:m,contextValue:i,variableValues:a,operationName:o,fieldResolver:s})};return c.then(function(l){return Wi(l)?as(l,p,sc):l})}function Zi(e,r,t,n,i,a,o){return Uo(e,r,i),new Promise(function(s){var u=Co(e,r,t,n,i,a,o);s(Array.isArray(u)?{errors:u}:xf(u))}).catch(sc)}function xf(e){var r=e.schema,t=e.operation,n=e.variableValues,i=e.rootValue,a=at(r,t),o=Yt(e,a,t.selectionSet,Object.create(null),Object.create(null)),s=Object.keys(o),u=s[0],c=o[u],p=c[0],l=p.name.value,m=Go(r,a,l);if(!m)throw new v('The subscription field "'.concat(l,'" is not defined.'),c);var d=Dr(void 0,u,a.name),h=jo(e,m,c,a,d);return new Promise(function(E){var I,O=Wn(m,c[0],n),D=e.contextValue,V=(I=m.subscribe)!==null&&I!==void 0?I:e.fieldResolver;E(V(i,O,D,h))}).then(function(E){if(E instanceof Error)throw Qe(E,c,Te(d));if(!Wi(E))throw new Error("Subscription field must return Async Iterable. "+"Received: ".concat(y(E),"."));return E},function(E){throw Qe(E,c,Te(d))})}var uc=g(()=>{"use strict";te();tc();Xn();F();an();Zn();ti();Bi();ac()});var cc=g(()=>{"use strict";uc()});function ss(e){return{Field:function(t){var n=se(e.getType());n&&Pe(n)&&e.reportError(new v('GraphQL introspection has been disabled, but the requested query contained the field "'.concat(t.name.value,'".'),t))}}}var pc=g(()=>{"use strict";F();Y();er()});var fc=g(()=>{"use strict";Kt();Oo();bo();Ua();Ya();Ba();io();ro();Xa();Qa();ja();Wa();$a();za();eo();mo();Ha();uo();Ka();Ga();ao();to();Ja();vo();Ca();Za();oo();qa();co();ho();yo();To();Eo();go();No();Io();ns();pc()});function us(e){var r;e||x(0,"Received null or undefined error.");var t=(r=e.message)!==null&&r!==void 0?r:"An unknown error occurred.",n=e.locations,i=e.path,a=e.extensions;return a?{message:t,locations:n,path:i,extensions:a}:{message:t,locations:n,path:i}}var lc=g(()=>{"use strict";Xe()});var mc=g(()=>{"use strict";F();Ti();an();lc()});var _f={};Es(_f,{BREAK:()=>$i,BreakingChangeType:()=>pe,DEFAULT_DEPRECATION_REASON:()=>kt,DangerousChangeType:()=>pr,DirectiveLocation:()=>w,ExecutableDefinitionsRule:()=>hn,FieldsOnCorrectTypeRule:()=>bn,FragmentsOnCompositeTypesRule:()=>gn,GraphQLBoolean:()=>Re,GraphQLDeprecatedDirective:()=>Ur,GraphQLDirective:()=>we,GraphQLEnumType:()=>ke,GraphQLError:()=>v,GraphQLFloat:()=>Vi,GraphQLID:()=>St,GraphQLIncludeDirective:()=>_t,GraphQLInputObjectType:()=>$e,GraphQLInt:()=>ki,GraphQLInterfaceType:()=>We,GraphQLList:()=>ee,GraphQLNonNull:()=>_,GraphQLObjectType:()=>ye,GraphQLScalarType:()=>Ae,GraphQLSchema:()=>rr,GraphQLSkipDirective:()=>Ft,GraphQLSpecifiedByDirective:()=>Vt,GraphQLString:()=>ie,GraphQLUnionType:()=>Ze,Kind:()=>f,KnownArgumentNamesRule:()=>_n,KnownDirectivesRule:()=>jt,KnownFragmentNamesRule:()=>Dn,KnownTypeNamesRule:()=>Ct,Lexer:()=>Qr,Location:()=>Ht,LoneAnonymousOperationRule:()=>Tn,LoneSchemaDefinitionRule:()=>Pn,NoDeprecatedCustomRule:()=>ai,NoFragmentCyclesRule:()=>An,NoSchemaIntrospectionCustomRule:()=>ss,NoUndefinedVariablesRule:()=>wn,NoUnusedFragmentsRule:()=>Sn,NoUnusedVariablesRule:()=>xn,OverlappingFieldsCanBeMergedRule:()=>Mn,PossibleFragmentSpreadsRule:()=>Ln,PossibleTypeExtensionsRule:()=>Bn,ProvidedRequiredArgumentsRule:()=>kn,ScalarLeafsRule:()=>In,SchemaMetaFieldDef:()=>dr,SingleFieldSubscriptionsRule:()=>En,Source:()=>wr,Token:()=>oe,TokenKind:()=>T,TypeInfo:()=>rt,TypeKind:()=>re,TypeMetaFieldDef:()=>hr,TypeNameMetaFieldDef:()=>yr,UniqueArgumentNamesRule:()=>Qt,UniqueDirectiveNamesRule:()=>Qn,UniqueDirectivesPerLocationRule:()=>Gt,UniqueEnumValueNamesRule:()=>jn,UniqueFieldDefinitionNamesRule:()=>Gn,UniqueFragmentNamesRule:()=>On,UniqueInputFieldNamesRule:()=>Bt,UniqueOperationNamesRule:()=>yn,UniqueOperationTypesRule:()=>Un,UniqueTypeNamesRule:()=>Cn,UniqueVariableNamesRule:()=>Rn,ValidationContext:()=>Kn,ValuesOfCorrectTypeRule:()=>Fn,VariablesAreInputTypesRule:()=>Nn,VariablesInAllowedPositionRule:()=>Vn,__Directive:()=>Lt,__DirectiveLocation:()=>At,__EnumValue:()=>wt,__Field:()=>Rt,__InputValue:()=>Mr,__Schema:()=>Vr,__Type:()=>Me,__TypeKind:()=>xt,assertAbstractType:()=>Sa,assertCompositeType:()=>Da,assertDirective:()=>ka,assertEnumType:()=>Ta,assertInputObjectType:()=>Ea,assertInputType:()=>Ia,assertInterfaceType:()=>cn,assertLeafType:()=>Oa,assertListType:()=>ga,assertNamedType:()=>Aa,assertNonNullType:()=>Na,assertNullableType:()=>bt,assertObjectType:()=>un,assertOutputType:()=>ba,assertScalarType:()=>ha,assertSchema:()=>Wr,assertType:()=>Ai,assertUnionType:()=>ya,assertValidName:()=>fa,assertValidSchema:()=>et,assertWrappingType:()=>La,astFromValue:()=>Ve,buildASTSchema:()=>Qi,buildClientSchema:()=>Bo,buildSchema:()=>wo,coerceInputValue:()=>Hn,concatAST:()=>Zo,createSourceEventStream:()=>Zi,defaultFieldResolver:()=>Ji,defaultTypeResolver:()=>Yi,doTypesOverlap:()=>Dt,execute:()=>ot,executeSync:()=>ri,extendSchema:()=>Lo,findBreakingChanges:()=>rs,findDangerousChanges:()=>ts,findDeprecatedUsages:()=>is,formatError:()=>us,getDescription:()=>Lr,getDirectiveValues:()=>Sr,getIntrospectionQuery:()=>$n,getLocation:()=>Rr,getNamedType:()=>se,getNullableType:()=>Jr,getOperationAST:()=>ea,getOperationRootType:()=>at,getVisitFn:()=>ct,graphql:()=>Wu,graphqlSync:()=>Zu,introspectionFromSchema:()=>Qo,introspectionTypes:()=>ur,isAbstractType:()=>Le,isCompositeType:()=>Fe,isDefinitionNode:()=>sa,isDirective:()=>Pr,isEnumType:()=>X,isEqualType:()=>Xr,isExecutableDefinitionNode:()=>dt,isInputObjectType:()=>C,isInputType:()=>le,isInterfaceType:()=>M,isIntrospectionType:()=>Pe,isLeafType:()=>he,isListType:()=>G,isNamedType:()=>or,isNonNullType:()=>A,isNullableType:()=>Ri,isObjectType:()=>k,isOutputType:()=>qe,isRequiredArgument:()=>Ke,isRequiredInputField:()=>br,isScalarType:()=>fe,isSchema:()=>Mi,isSelectionNode:()=>ua,isSpecifiedDirective:()=>Mt,isSpecifiedScalarType:()=>Or,isType:()=>Kr,isTypeDefinitionNode:()=>ze,isTypeExtensionNode:()=>xr,isTypeNode:()=>pa,isTypeSubTypeOf:()=>sr,isTypeSystemDefinitionNode:()=>ht,isTypeSystemExtensionNode:()=>yt,isUnionType:()=>ne,isValidNameError:()=>Et,isValueNode:()=>ca,isWrappingType:()=>Yr,lexicographicSortSchema:()=>Ko,locatedError:()=>Qe,parse:()=>Nr,parseType:()=>aa,parseValue:()=>nn,print:()=>Q,printError:()=>yi,printIntrospectionSchema:()=>zo,printLocation:()=>Zt,printSchema:()=>Xo,printSourceLocation:()=>ft,printType:()=>zi,responsePathAsArray:()=>Te,separateOperations:()=>$o,specifiedDirectives:()=>De,specifiedRules:()=>qn,specifiedScalarTypes:()=>mr,stripIgnoredCharacters:()=>es,subscribe:()=>os,syntaxError:()=>ge,typeFromAST:()=>ue,validate:()=>it,validateSchema:()=>Pt,valueFromAST:()=>Ue,valueFromASTUntyped:()=>qr,version:()=>Xu,versionInfo:()=>zu,visit:()=>Ye,visitInParallel:()=>ut,visitWithTypeInfo:()=>tt});var Ff=g(()=>{"use strict";Hu();$u();ec();ws();rc();cc();fc();mc();Ju()});export{v as a,w as b,mt as c,Nr as d,nn as e,vt as f,de as g,_r as h,Be as i,on as j,qr as k,fe as l,k as m,un as n,M as o,cn as p,ne as q,X as r,C as s,G as t,A as u,le as v,qe as w,he as x,Fe as y,Le as z,Sa as A,ee as B,_ as C,Ri as D,bt as E,Jr as F,se as G,Ae as H,ye as I,We as J,Ze as K,ke as L,$e as M,br as N,Y as O,Dt as P,ki as Q,ie as R,Re as S,mr as T,Or as U,vr as V,Ve as W,re as X,dr as Y,hr as Z,yr as _,ur as $,pp as aa,er as ba,we as ca,Ce as da,rr as ea,Zr as fa,Pt as ga,rt as ha,tt as ia,hn as ja,Ct as ka,Dn as la,Sn as ma,jt as na,Gt as oa,Qt as pa,Bt as qa,Pn as ra,Un as sa,Cn as ta,jn as ua,Gn as va,Qn as wa,Bn as xa,qn as ya,it as za,Ue as Aa,Jn as Ba,ai as Ca,$n as Da,Bo as Ea,wo as Fa,Xo as Ga,Ju as Ha,_f as Ia,Ff as Ja};
//# sourceMappingURL=chunk-PJ3NZ7HS.js.map

//# debugId=e1ae743b-6feb-5f5f-a0c0-2f6d6cad9287