altair-static 5.1.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var w,dt={53201:(w,Y,_)=>{const se=Symbol("Comlink.proxy"),X=Symbol("Comlink.endpoint"),z=Symbol("Comlink.releaseProxy"),ne=Symbol("Comlink.thrown"),he=e=>"object"==typeof e&&null!==e||"function"==typeof e,mt=new Map([["proxy",{canHandle:e=>he(e)&&e[se],serialize(e){const{port1:n,port2:t}=new MessageChannel;return jn(e,n),[t,[t]]},deserialize:e=>(e.start(),function Bn(e,n){return Gn(e,[],n)}(e))}],["throw",{canHandle:e=>he(e)&&ne in e,serialize({value:e}){let n;return n=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[n,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}}]]);function jn(e,n=self){n.addEventListener("message",function t(r){if(!r||!r.data)return;const{id:i,type:a,path:s}=Object.assign({path:[]},r.data),o=(r.data.argumentList||[]).map(Ve);let u;try{const c=s.slice(0,-1).reduce((p,v)=>p[v],e),l=s.reduce((p,v)=>p[v],e);switch(a){case 0:u=l;break;case 1:c[s.slice(-1)[0]]=Ve(r.data.value),u=!0;break;case 2:u=l.apply(c,o);break;case 3:u=function ni(e){return Object.assign(e,{[se]:!0})}(new l(...o));break;case 4:{const{port1:p,port2:v}=new MessageChannel;jn(e,v),u=function ei(e,n){return Et.set(e,n),e}(p,[p])}break;case 5:u=void 0}}catch(c){u={value:c,[ne]:0}}Promise.resolve(u).catch(c=>({value:c,[ne]:0})).then(c=>{const[l,p]=Kn(c);n.postMessage(Object.assign(Object.assign({},l),{id:i}),p),5===a&&(n.removeEventListener("message",t),yt(n))})}),n.start&&n.start()}function yt(e){(function Zr(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function hn(e){if(e)throw new Error("Proxy has been released and is not useable")}function Gn(e,n=[],t=function(){}){let r=!1;const i=new Proxy(t,{get(a,s){if(hn(r),s===z)return()=>qe(e,{type:5,path:n.map(o=>o.toString())}).then(()=>{yt(e),r=!0});if("then"===s){if(0===n.length)return{then:()=>i};const o=qe(e,{type:0,path:n.map(u=>u.toString())}).then(Ve);return o.then.bind(o)}return Gn(e,[...n,s])},set(a,s,o){hn(r);const[u,c]=Kn(o);return qe(e,{type:1,path:[...n,s].map(l=>l.toString()),value:u},c).then(Ve)},apply(a,s,o){hn(r);const u=n[n.length-1];if(u===X)return qe(e,{type:4}).then(Ve);if("bind"===u)return Gn(e,n.slice(0,-1));const[c,l]=Tt(o);return qe(e,{type:2,path:n.map(p=>p.toString()),argumentList:c},l).then(Ve)},construct(a,s){hn(r);const[o,u]=Tt(s);return qe(e,{type:3,path:n.map(c=>c.toString()),argumentList:o},u).then(Ve)}});return i}function $r(e){return Array.prototype.concat.apply([],e)}function Tt(e){const n=e.map(Kn);return[n.map(t=>t[0]),$r(n.map(t=>t[1]))]}const Et=new WeakMap;function Kn(e){for(const[n,t]of mt)if(t.canHandle(e)){const[r,i]=t.serialize(e);return[{type:3,name:n,value:r},i]}return[{type:0,value:e},Et.get(e)||[]]}function Ve(e){switch(e.type){case 3:return mt.get(e.name).deserialize(e.value);case 0:return e.value}}function qe(e,n,t){return new Promise(r=>{const i=function ti(){return new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-")}();e.addEventListener("message",function a(s){!s.data||!s.data.id||s.data.id!==i||(e.removeEventListener("message",a),r(s.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:i},n),t)})}var Yn=_(48309),ri=_(10777);function k(e,n){if(!Boolean(e))throw new Error(n)}var f=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function mn(e){return(mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Ue(e){return"object"==mn(e)&&null!==e}var gt="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",ce=("function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol,"function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag");function Qn(e,n){for(var a,t=/\r\n|[\n\r]/g,r=1,i=n+1;(a=t.exec(e.body))&&a.index<n;)r+=1,i=n+1-(a.index+a[0].length);return{line:r,column:i}}function ii(e){return Nt(e.source,Qn(e.source,e.start))}function Nt(e,n){var t=e.locationOffset.column-1,r=yn(t)+e.body,i=n.line-1,s=n.line+(e.locationOffset.line-1),u=n.column+(1===n.line?t:0),c="".concat(e.name,":").concat(s,":").concat(u,"\n"),l=r.split(/\r\n|[\n\r]/g),p=l[i];if(p.length>120){for(var v=Math.floor(u/80),h=u%80,m=[],T=0;T<p.length;T+=80)m.push(p.slice(T,T+80));return c+It([["".concat(s),m[0]]].concat(m.slice(1,v+1).map(function(N){return["",N]}),[[" ",yn(h-1)+"^"],["",m[v+1]]]))}return c+It([["".concat(s-1),l[i-1]],["".concat(s),p],["",yn(u-1)+"^"],["".concat(s+1),l[i+1]]])}function It(e){var n=e.filter(function(r){return void 0!==r[1]}),t=Math.max.apply(Math,n.map(function(r){return r[0].length}));return n.map(function(r){var a=r[1];return function ai(e,n){return yn(e-n.length)+n}(t,r[0])+(a?" | "+a:" |")}).join("\n")}function yn(e){return Array(e+1).join(" ")}function Tn(e){return(Tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Ot(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bt(e,n){return!n||"object"!==Tn(n)&&"function"!=typeof n?nn(e):n}function nn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jn(e){var n="function"==typeof Map?new Map:void 0;return Jn=function(r){if(null===r||!function li(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(r))return n.get(r);n.set(r,i)}function i(){return En(r,arguments,rn(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),tn(i,r)},Jn(e)}function En(e,n,t){return(En=St()?Reflect.construct:function(i,a,s){var o=[null];o.push.apply(o,a);var c=new(Function.bind.apply(i,o));return s&&tn(c,s.prototype),c}).apply(null,arguments)}function St(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function tn(e,n){return(tn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r})(e,n)}function rn(e){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}var E=function(e){!function ui(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&tn(e,n)}(t,e);var n=function ci(e){var n=St();return function(){var i,r=rn(e);if(n){var a=rn(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return bt(this,i)}}(t);function t(r,i,a,s,o,u,c){var l,p,v,h,m;(function si(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")})(this,t),m=n.call(this,r);var O,T=Array.isArray(i)?0!==i.length?i:void 0:i?[i]:void 0,N=a;!N&&T&&(N=null===(O=T[0].loc)||void 0===O?void 0:O.source);var M,L=s;!L&&T&&(L=T.reduce(function(K,$){return $.loc&&K.push($.loc.start),K},[])),L&&0===L.length&&(L=void 0),s&&a?M=s.map(function(K){return Qn(a,K)}):T&&(M=T.reduce(function(K,$){return $.loc&&K.push(Qn($.loc.source,$.loc.start)),K},[]));var P=c;if(null==P&&null!=u){var G=u.extensions;Ue(G)&&(P=G)}return Object.defineProperties(nn(m),{name:{value:"GraphQLError"},message:{value:r,enumerable:!0,writable:!0},locations:{value:null!==(l=M)&&void 0!==l?l:void 0,enumerable:null!=M},path:{value:o??void 0,enumerable:null!=o},nodes:{value:T??void 0},source:{value:null!==(p=N)&&void 0!==p?p:void 0},positions:{value:null!==(v=L)&&void 0!==v?v:void 0},originalError:{value:u},extensions:{value:null!==(h=P)&&void 0!==h?h:void 0,enumerable:null!=P}}),null!=u&&u.stack?(Object.defineProperty(nn(m),"stack",{value:u.stack,writable:!0,configurable:!0}),bt(m)):(Error.captureStackTrace?Error.captureStackTrace(nn(m),t):Object.defineProperty(nn(m),"stack",{value:Error().stack,writable:!0,configurable:!0}),m)}return function oi(e,n,t){n&&Ot(e.prototype,n),t&&Ot(e,t)}(t,[{key:"toString",value:function(){return function fi(e){var n=e.message;if(e.nodes)for(var t=0,r=e.nodes;t<r.length;t++){var i=r[t];i.loc&&(n+="\n\n"+ii(i.loc))}else if(e.source&&e.locations)for(var a=0,s=e.locations;a<s.length;a++)n+="\n\n"+Nt(e.source,s[a]);return n}(this)}},{key:ce,get:function(){return"Object"}}]),t}(Jn(Error));function oe(e,n,t){return new E("Syntax Error: ".concat(t),void 0,e,[n])}function le(e,n){if(!Boolean(e))throw new Error(n??"Unexpected invariant triggered.")}const qn="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function me(e){var n=e.prototype.toJSON;"function"==typeof n||le(0),e.prototype.inspect=n,qn&&(e.prototype[qn]=n)}var Dt=function(){function e(t,r,i){this.start=t.start,this.end=r.end,this.startToken=t,this.endToken=r,this.source=i}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();me(Dt);var J=function(){function e(t,r,i,a,s,o,u){this.kind=t,this.start=r,this.end=i,this.line=a,this.column=s,this.value=u,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function wt(e){return null!=e&&"string"==typeof e.kind}me(J);var d=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 gn(e){return(gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}var vi=10,At=2;function D(e){return Nn(e,[])}function Nn(e,n){switch(gn(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function di(e,n){if(-1!==n.indexOf(e))return"[Circular]";var t=[].concat(n,[e]),r=function yi(e){var n=e[String(qn)];return"function"==typeof n?n:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:Nn(i,t)}else if(Array.isArray(e))return function mi(e,n){if(0===e.length)return"[]";if(n.length>At)return"[Array]";for(var t=Math.min(vi,e.length),r=e.length-t,i=[],a=0;a<t;++a)i.push(Nn(e[a],n));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(e,t);return function hi(e,n){var t=Object.keys(e);if(0===t.length)return"{}";if(n.length>At)return"["+function Ti(e){var n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){var t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return n}(e)+"]";var r=t.map(function(i){return i+": "+Nn(e[i],n)});return"{ "+r.join(", ")+" }"}(e,t)}(e,n);default:return String(e)}}const Ie=function(n,t){return n instanceof t};function _t(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Lt=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof n||k(0,"Body must be a string. Received: ".concat(D(n),".")),this.body=n,this.name=t,this.locationOffset=r,this.locationOffset.line>0||k(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||k(0,"column in locationOffset is 1-indexed and must be positive.")}return function Ei(e,n,t){n&&_t(e.prototype,n),t&&_t(e,t)}(e,[{key:ce,get:function(){return"Source"}}]),e}(),A=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 Ft(e){var n=e.split(/\r\n|[\n\r]/g),t=function Ni(e){for(var n,t=!0,r=!0,i=0,a=null,s=0;s<e.length;++s)switch(e.charCodeAt(s)){case 13:10===e.charCodeAt(s+1)&&++s;case 10:t=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!t&&(null===a||i<a)&&(a=i),r=!1}return null!==(n=a)&&void 0!==n?n:0}(e);if(0!==t)for(var r=1;r<n.length;r++)n[r]=n[r].slice(t);for(var i=0;i<n.length&&xt(n[i]);)++i;for(var a=n.length;a>i&&xt(n[a-1]);)--a;return n.slice(i,a).join("\n")}function xt(e){for(var n=0;n<e.length;++n)if(" "!==e[n]&&"\t"!==e[n])return!1;return!0}var Oi=function(){function e(t){var r=new J(d.SOF,0,0,0,0,null);this.source=t,this.lastToken=r,this.token=r,this.line=1,this.lineStart=0}var n=e.prototype;return n.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},n.lookahead=function(){var r=this.token;if(r.kind!==d.EOF)do{var i;r=null!==(i=r.next)&&void 0!==i?i:r.next=Si(this,r)}while(r.kind===d.COMMENT);return r},e}();function je(e){return isNaN(e)?d.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function Si(e,n){for(var t=e.source,r=t.body,i=r.length,a=n.end;a<i;){var s=r.charCodeAt(a),o=e.line,u=1+a-e.lineStart;switch(s){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++e.line,e.lineStart=a;continue;case 13:10===r.charCodeAt(a+1)?a+=2:++a,++e.line,e.lineStart=a;continue;case 33:return new J(d.BANG,a,a+1,o,u,n);case 35:return wi(t,a,o,u,n);case 36:return new J(d.DOLLAR,a,a+1,o,u,n);case 38:return new J(d.AMP,a,a+1,o,u,n);case 40:return new J(d.PAREN_L,a,a+1,o,u,n);case 41:return new J(d.PAREN_R,a,a+1,o,u,n);case 46:if(46===r.charCodeAt(a+1)&&46===r.charCodeAt(a+2))return new J(d.SPREAD,a,a+3,o,u,n);break;case 58:return new J(d.COLON,a,a+1,o,u,n);case 61:return new J(d.EQUALS,a,a+1,o,u,n);case 64:return new J(d.AT,a,a+1,o,u,n);case 91:return new J(d.BRACKET_L,a,a+1,o,u,n);case 93:return new J(d.BRACKET_R,a,a+1,o,u,n);case 123:return new J(d.BRACE_L,a,a+1,o,u,n);case 124:return new J(d.PIPE,a,a+1,o,u,n);case 125:return new J(d.BRACE_R,a,a+1,o,u,n);case 34:return 34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)?Li(t,a,o,u,n,e):_i(t,a,o,u,n);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Ai(t,a,s,o,u,n);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 xi(t,a,o,u,n)}throw oe(t,a,Di(s))}return new J(d.EOF,i,i,e.line,1+a-e.lineStart,n)}function Di(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(je(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(je(e),".")}function wi(e,n,t,r,i){var s,a=e.body,o=n;do{s=a.charCodeAt(++o)}while(!isNaN(s)&&(s>31||9===s));return new J(d.COMMENT,n,o,t,r,i,a.slice(n+1,o))}function Ai(e,n,t,r,i,a){var s=e.body,o=t,u=n,c=!1;if(45===o&&(o=s.charCodeAt(++u)),48===o){if((o=s.charCodeAt(++u))>=48&&o<=57)throw oe(e,u,"Invalid number, unexpected digit after 0: ".concat(je(o),"."))}else u=zn(e,u,o),o=s.charCodeAt(u);if(46===o&&(c=!0,o=s.charCodeAt(++u),u=zn(e,u,o),o=s.charCodeAt(u)),(69===o||101===o)&&(c=!0,(43===(o=s.charCodeAt(++u))||45===o)&&(o=s.charCodeAt(++u)),u=zn(e,u,o),o=s.charCodeAt(u)),46===o||function ki(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(o))throw oe(e,u,"Invalid number, expected digit but got: ".concat(je(o),"."));return new J(c?d.FLOAT:d.INT,n,u,r,i,a,s.slice(n,u))}function zn(e,n,t){var r=e.body,i=n,a=t;if(a>=48&&a<=57){do{a=r.charCodeAt(++i)}while(a>=48&&a<=57);return i}throw oe(e,i,"Invalid number, expected digit but got: ".concat(je(a),"."))}function _i(e,n,t,r,i){for(var a=e.body,s=n+1,o=s,u=0,c="";s<a.length&&!isNaN(u=a.charCodeAt(s))&&10!==u&&13!==u;){if(34===u)return c+=a.slice(o,s),new J(d.STRING,n,s+1,t,r,i,c);if(u<32&&9!==u)throw oe(e,s,"Invalid character within String: ".concat(je(u),"."));if(++s,92===u){switch(c+=a.slice(o,s-1),u=a.charCodeAt(s)){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+="\n";break;case 114:c+="\r";break;case 116:c+="\t";break;case 117:var l=Fi(a.charCodeAt(s+1),a.charCodeAt(s+2),a.charCodeAt(s+3),a.charCodeAt(s+4));if(l<0){var p=a.slice(s+1,s+5);throw oe(e,s,"Invalid character escape sequence: \\u".concat(p,"."))}c+=String.fromCharCode(l),s+=4;break;default:throw oe(e,s,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}o=++s}}throw oe(e,s,"Unterminated string.")}function Li(e,n,t,r,i,a){for(var s=e.body,o=n+3,u=o,c=0,l="";o<s.length&&!isNaN(c=s.charCodeAt(o));){if(34===c&&34===s.charCodeAt(o+1)&&34===s.charCodeAt(o+2))return l+=s.slice(u,o),new J(d.BLOCK_STRING,n,o+3,t,r,i,Ft(l));if(c<32&&9!==c&&10!==c&&13!==c)throw oe(e,o,"Invalid character within String: ".concat(je(c),"."));10===c?(++o,++a.line,a.lineStart=o):13===c?(10===s.charCodeAt(o+1)?o+=2:++o,++a.line,a.lineStart=o):92===c&&34===s.charCodeAt(o+1)&&34===s.charCodeAt(o+2)&&34===s.charCodeAt(o+3)?(l+=s.slice(u,o)+'"""',u=o+=4):++o}throw oe(e,o,"Unterminated string.")}function Fi(e,n,t,r){return In(e)<<12|In(n)<<8|In(t)<<4|In(r)}function In(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function xi(e,n,t,r,i){for(var a=e.body,s=a.length,o=n+1,u=0;o!==s&&!isNaN(u=a.charCodeAt(o))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++o;return new J(d.NAME,n,o,t,r,i,a.slice(n,o))}var Hn=function(){function e(t,r){var i=function gi(e){return Ie(e,Lt)}(t)?t:new Lt(t);this._lexer=new Oi(i),this._options=r}var n=e.prototype;return n.parseName=function(){var r=this.expectToken(d.NAME);return{kind:f.NAME,value:r.value,loc:this.loc(r)}},n.parseDocument=function(){var r=this._lexer.token;return{kind:f.DOCUMENT,definitions:this.many(d.SOF,this.parseDefinition,d.EOF),loc:this.loc(r)}},n.parseDefinition=function(){if(this.peek(d.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(d.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},n.parseOperationDefinition=function(){var r=this._lexer.token;if(this.peek(d.BRACE_L))return{kind:f.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(r)};var a,i=this.parseOperationType();return this.peek(d.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(r)}},n.parseOperationType=function(){var r=this.expectToken(d.NAME);switch(r.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(r)},n.parseVariableDefinitions=function(){return this.optionalMany(d.PAREN_L,this.parseVariableDefinition,d.PAREN_R)},n.parseVariableDefinition=function(){var r=this._lexer.token;return{kind:f.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(d.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(d.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(r)}},n.parseVariable=function(){var r=this._lexer.token;return this.expectToken(d.DOLLAR),{kind:f.VARIABLE,name:this.parseName(),loc:this.loc(r)}},n.parseSelectionSet=function(){var r=this._lexer.token;return{kind:f.SELECTION_SET,selections:this.many(d.BRACE_L,this.parseSelection,d.BRACE_R),loc:this.loc(r)}},n.parseSelection=function(){return this.peek(d.SPREAD)?this.parseFragment():this.parseField()},n.parseField=function(){var a,s,r=this._lexer.token,i=this.parseName();return this.expectOptionalToken(d.COLON)?(a=i,s=this.parseName()):s=i,{kind:f.FIELD,alias:a,name:s,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(d.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},n.parseArguments=function(r){return this.optionalMany(d.PAREN_L,r?this.parseConstArgument:this.parseArgument,d.PAREN_R)},n.parseArgument=function(){var r=this._lexer.token,i=this.parseName();return this.expectToken(d.COLON),{kind:f.ARGUMENT,name:i,value:this.parseValueLiteral(!1),loc:this.loc(r)}},n.parseConstArgument=function(){var r=this._lexer.token;return{kind:f.ARGUMENT,name:this.parseName(),value:(this.expectToken(d.COLON),this.parseValueLiteral(!0)),loc:this.loc(r)}},n.parseFragment=function(){var r=this._lexer.token;this.expectToken(d.SPREAD);var i=this.expectOptionalKeyword("on");return!i&&this.peek(d.NAME)?{kind:f.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(r)}:{kind:f.INLINE_FRAGMENT,typeCondition:i?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(r)}},n.parseFragmentDefinition=function(){var r,i=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(r=this._options)||void 0===r?void 0:r.experimentalFragmentVariables)?{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)}},n.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},n.parseValueLiteral=function(r){var i=this._lexer.token;switch(i.kind){case d.BRACKET_L:return this.parseList(r);case d.BRACE_L:return this.parseObject(r);case d.INT:return this._lexer.advance(),{kind:f.INT,value:i.value,loc:this.loc(i)};case d.FLOAT:return this._lexer.advance(),{kind:f.FLOAT,value:i.value,loc:this.loc(i)};case d.STRING:case d.BLOCK_STRING:return this.parseStringLiteral();case d.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 d.DOLLAR:if(!r)return this.parseVariable()}throw this.unexpected()},n.parseStringLiteral=function(){var r=this._lexer.token;return this._lexer.advance(),{kind:f.STRING,value:r.value,block:r.kind===d.BLOCK_STRING,loc:this.loc(r)}},n.parseList=function(r){var i=this,a=this._lexer.token;return{kind:f.LIST,values:this.any(d.BRACKET_L,function(){return i.parseValueLiteral(r)},d.BRACKET_R),loc:this.loc(a)}},n.parseObject=function(r){var i=this,a=this._lexer.token;return{kind:f.OBJECT,fields:this.any(d.BRACE_L,function(){return i.parseObjectField(r)},d.BRACE_R),loc:this.loc(a)}},n.parseObjectField=function(r){var i=this._lexer.token,a=this.parseName();return this.expectToken(d.COLON),{kind:f.OBJECT_FIELD,name:a,value:this.parseValueLiteral(r),loc:this.loc(i)}},n.parseDirectives=function(r){for(var i=[];this.peek(d.AT);)i.push(this.parseDirective(r));return i},n.parseDirective=function(r){var i=this._lexer.token;return this.expectToken(d.AT),{kind:f.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(r),loc:this.loc(i)}},n.parseTypeReference=function(){var i,r=this._lexer.token;return this.expectOptionalToken(d.BRACKET_L)?(i=this.parseTypeReference(),this.expectToken(d.BRACKET_R),i={kind:f.LIST_TYPE,type:i,loc:this.loc(r)}):i=this.parseNamedType(),this.expectOptionalToken(d.BANG)?{kind:f.NON_NULL_TYPE,type:i,loc:this.loc(r)}:i},n.parseNamedType=function(){var r=this._lexer.token;return{kind:f.NAMED_TYPE,name:this.parseName(),loc:this.loc(r)}},n.parseTypeSystemDefinition=function(){var r=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(r.kind===d.NAME)switch(r.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(r)},n.peekDescription=function(){return this.peek(d.STRING)||this.peek(d.BLOCK_STRING)},n.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},n.parseSchemaDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("schema");var a=this.parseDirectives(!0),s=this.many(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);return{kind:f.SCHEMA_DEFINITION,description:i,directives:a,operationTypes:s,loc:this.loc(r)}},n.parseOperationTypeDefinition=function(){var r=this._lexer.token,i=this.parseOperationType();this.expectToken(d.COLON);var a=this.parseNamedType();return{kind:f.OPERATION_TYPE_DEFINITION,operation:i,type:a,loc:this.loc(r)}},n.parseScalarTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("scalar");var a=this.parseName(),s=this.parseDirectives(!0);return{kind:f.SCALAR_TYPE_DEFINITION,description:i,name:a,directives:s,loc:this.loc(r)}},n.parseObjectTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("type");var a=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),u=this.parseFieldsDefinition();return{kind:f.OBJECT_TYPE_DEFINITION,description:i,name:a,interfaces:s,directives:o,fields:u,loc:this.loc(r)}},n.parseImplementsInterfaces=function(){var r;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(r=this._options)||void 0===r?void 0:r.allowLegacySDLImplementsInterfaces)){var i=[];this.expectOptionalToken(d.AMP);do{i.push(this.parseNamedType())}while(this.expectOptionalToken(d.AMP)||this.peek(d.NAME));return i}return this.delimitedMany(d.AMP,this.parseNamedType)},n.parseFieldsDefinition=function(){var r;return!0===(null===(r=this._options)||void 0===r?void 0:r.allowLegacySDLEmptyFields)&&this.peek(d.BRACE_L)&&this._lexer.lookahead().kind===d.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(d.BRACE_L,this.parseFieldDefinition,d.BRACE_R)},n.parseFieldDefinition=function(){var r=this._lexer.token,i=this.parseDescription(),a=this.parseName(),s=this.parseArgumentDefs();this.expectToken(d.COLON);var o=this.parseTypeReference(),u=this.parseDirectives(!0);return{kind:f.FIELD_DEFINITION,description:i,name:a,arguments:s,type:o,directives:u,loc:this.loc(r)}},n.parseArgumentDefs=function(){return this.optionalMany(d.PAREN_L,this.parseInputValueDef,d.PAREN_R)},n.parseInputValueDef=function(){var r=this._lexer.token,i=this.parseDescription(),a=this.parseName();this.expectToken(d.COLON);var o,s=this.parseTypeReference();this.expectOptionalToken(d.EQUALS)&&(o=this.parseValueLiteral(!0));var u=this.parseDirectives(!0);return{kind:f.INPUT_VALUE_DEFINITION,description:i,name:a,type:s,defaultValue:o,directives:u,loc:this.loc(r)}},n.parseInterfaceTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("interface");var a=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),u=this.parseFieldsDefinition();return{kind:f.INTERFACE_TYPE_DEFINITION,description:i,name:a,interfaces:s,directives:o,fields:u,loc:this.loc(r)}},n.parseUnionTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("union");var a=this.parseName(),s=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:f.UNION_TYPE_DEFINITION,description:i,name:a,directives:s,types:o,loc:this.loc(r)}},n.parseUnionMemberTypes=function(){return this.expectOptionalToken(d.EQUALS)?this.delimitedMany(d.PIPE,this.parseNamedType):[]},n.parseEnumTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("enum");var a=this.parseName(),s=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:f.ENUM_TYPE_DEFINITION,description:i,name:a,directives:s,values:o,loc:this.loc(r)}},n.parseEnumValuesDefinition=function(){return this.optionalMany(d.BRACE_L,this.parseEnumValueDefinition,d.BRACE_R)},n.parseEnumValueDefinition=function(){var r=this._lexer.token,i=this.parseDescription(),a=this.parseName(),s=this.parseDirectives(!0);return{kind:f.ENUM_VALUE_DEFINITION,description:i,name:a,directives:s,loc:this.loc(r)}},n.parseInputObjectTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("input");var a=this.parseName(),s=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:f.INPUT_OBJECT_TYPE_DEFINITION,description:i,name:a,directives:s,fields:o,loc:this.loc(r)}},n.parseInputFieldsDefinition=function(){return this.optionalMany(d.BRACE_L,this.parseInputValueDef,d.BRACE_R)},n.parseTypeSystemExtension=function(){var r=this._lexer.lookahead();if(r.kind===d.NAME)switch(r.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(r)},n.parseSchemaExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var i=this.parseDirectives(!0),a=this.optionalMany(d.BRACE_L,this.parseOperationTypeDefinition,d.BRACE_R);if(0===i.length&&0===a.length)throw this.unexpected();return{kind:f.SCHEMA_EXTENSION,directives:i,operationTypes:a,loc:this.loc(r)}},n.parseScalarTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var i=this.parseName(),a=this.parseDirectives(!0);if(0===a.length)throw this.unexpected();return{kind:f.SCALAR_TYPE_EXTENSION,name:i,directives:a,loc:this.loc(r)}},n.parseObjectTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var i=this.parseName(),a=this.parseImplementsInterfaces(),s=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===a.length&&0===s.length&&0===o.length)throw this.unexpected();return{kind:f.OBJECT_TYPE_EXTENSION,name:i,interfaces:a,directives:s,fields:o,loc:this.loc(r)}},n.parseInterfaceTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var i=this.parseName(),a=this.parseImplementsInterfaces(),s=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===a.length&&0===s.length&&0===o.length)throw this.unexpected();return{kind:f.INTERFACE_TYPE_EXTENSION,name:i,interfaces:a,directives:s,fields:o,loc:this.loc(r)}},n.parseUnionTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var i=this.parseName(),a=this.parseDirectives(!0),s=this.parseUnionMemberTypes();if(0===a.length&&0===s.length)throw this.unexpected();return{kind:f.UNION_TYPE_EXTENSION,name:i,directives:a,types:s,loc:this.loc(r)}},n.parseEnumTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var i=this.parseName(),a=this.parseDirectives(!0),s=this.parseEnumValuesDefinition();if(0===a.length&&0===s.length)throw this.unexpected();return{kind:f.ENUM_TYPE_EXTENSION,name:i,directives:a,values:s,loc:this.loc(r)}},n.parseInputObjectTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var i=this.parseName(),a=this.parseDirectives(!0),s=this.parseInputFieldsDefinition();if(0===a.length&&0===s.length)throw this.unexpected();return{kind:f.INPUT_OBJECT_TYPE_EXTENSION,name:i,directives:a,fields:s,loc:this.loc(r)}},n.parseDirectiveDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("directive"),this.expectToken(d.AT);var a=this.parseName(),s=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var u=this.parseDirectiveLocations();return{kind:f.DIRECTIVE_DEFINITION,description:i,name:a,arguments:s,repeatable:o,locations:u,loc:this.loc(r)}},n.parseDirectiveLocations=function(){return this.delimitedMany(d.PIPE,this.parseDirectiveLocation)},n.parseDirectiveLocation=function(){var r=this._lexer.token,i=this.parseName();if(void 0!==A[i.value])return i;throw this.unexpected(r)},n.loc=function(r){var i;if(!0!==(null===(i=this._options)||void 0===i?void 0:i.noLocation))return new Dt(r,this._lexer.lastToken,this._lexer.source)},n.peek=function(r){return this._lexer.token.kind===r},n.expectToken=function(r){var i=this._lexer.token;if(i.kind===r)return this._lexer.advance(),i;throw oe(this._lexer.source,i.start,"Expected ".concat(kt(r),", found ").concat(Wn(i),"."))},n.expectOptionalToken=function(r){var i=this._lexer.token;if(i.kind===r)return this._lexer.advance(),i},n.expectKeyword=function(r){var i=this._lexer.token;if(i.kind!==d.NAME||i.value!==r)throw oe(this._lexer.source,i.start,'Expected "'.concat(r,'", found ').concat(Wn(i),"."));this._lexer.advance()},n.expectOptionalKeyword=function(r){var i=this._lexer.token;return i.kind===d.NAME&&i.value===r&&(this._lexer.advance(),!0)},n.unexpected=function(r){var i=r??this._lexer.token;return oe(this._lexer.source,i.start,"Unexpected ".concat(Wn(i),"."))},n.any=function(r,i,a){this.expectToken(r);for(var s=[];!this.expectOptionalToken(a);)s.push(i.call(this));return s},n.optionalMany=function(r,i,a){if(this.expectOptionalToken(r)){var s=[];do{s.push(i.call(this))}while(!this.expectOptionalToken(a));return s}return[]},n.many=function(r,i,a){this.expectToken(r);var s=[];do{s.push(i.call(this))}while(!this.expectOptionalToken(a));return s},n.delimitedMany=function(r,i){this.expectOptionalToken(r);var a=[];do{a.push(i.call(this))}while(this.expectOptionalToken(r));return a},e}();function Wn(e){var n=e.value;return kt(e.kind)+(null!=n?' "'.concat(n,'"'):"")}function kt(e){return function bi(e){return e===d.BANG||e===d.DOLLAR||e===d.AMP||e===d.PAREN_L||e===d.PAREN_R||e===d.SPREAD||e===d.COLON||e===d.EQUALS||e===d.AT||e===d.BRACKET_L||e===d.BRACKET_R||e===d.BRACE_L||e===d.PIPE||e===d.BRACE_R}(e)?'"'.concat(e,'"'):e}var Mi={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},an=Object.freeze({});function Rt(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Mi,r=void 0,i=Array.isArray(e),a=[e],s=-1,o=[],u=void 0,c=void 0,l=void 0,p=[],v=[],h=e;do{var m=++s===a.length,T=m&&0!==o.length;if(m){if(c=0===v.length?void 0:p[p.length-1],u=l,l=v.pop(),T){if(i)u=u.slice();else{for(var N={},O=0,L=Object.keys(u);O<L.length;O++){var M=L[O];N[M]=u[M]}u=N}for(var P=0,G=0;G<o.length;G++){var K=o[G][0],$=o[G][1];i&&(K-=P),i&&null===$?(u.splice(K,1),P++):u[K]=$}}s=r.index,a=r.keys,o=r.edits,i=r.inArray,r=r.prev}else{if(c=l?i?s:a[s]:void 0,null==(u=l?l[c]:h))continue;l&&p.push(c)}var Fe,te=void 0;if(!Array.isArray(u)){if(!wt(u))throw new Error("Invalid AST Node: ".concat(D(u),"."));var Pe=Zn(n,u.kind,m);if(Pe){if((te=Pe.call(n,u,c,l,p,v))===an)break;if(!1===te){if(!m){p.pop();continue}}else if(void 0!==te&&(o.push([c,te]),!m)){if(!wt(te)){p.pop();continue}u=te}}}void 0===te&&T&&o.push([c,u]),m?p.pop():(r={inArray:i,index:s,keys:a,edits:o,prev:r},a=(i=Array.isArray(u))?u:null!==(Fe=t[u.kind])&&void 0!==Fe?Fe:[],s=-1,o=[],l&&v.push(l),l=u)}while(void 0!==r);return 0!==o.length&&(h=o[o.length-1][1]),h}function Zn(e,n,t){var r=e[n];if(r){if(!t&&"function"==typeof r)return r;var i=t?r.leave:r.enter;if("function"==typeof i)return i}else{var a=t?e.leave:e.enter;if(a){if("function"==typeof a)return a;var s=a[n];if("function"==typeof s)return s}}}function Mt(e){return e.kind===f.OPERATION_DEFINITION||e.kind===f.FRAGMENT_DEFINITION}function sn(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 $n(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 Bi=5;function xe(e,n){var t="string"==typeof e?[e,n]:[void 0,e],r=t[0],a=" Did you mean ";r&&(a+=r+" ");var s=t[1].map(function(c){return'"'.concat(c,'"')});switch(s.length){case 0:return"";case 1:return a+s[0]+"?";case 2:return a+s[0]+" or "+s[1]+"?"}var o=s.slice(0,Bi),u=o.pop();return a+o.join(", ")+", or "+u+"?"}function Vt(e,n){for(var t=0,r=0;t<e.length&&r<n.length;){var i=e.charCodeAt(t),a=n.charCodeAt(r);if(On(i)&&On(a)){var s=0;do{++t,s=10*s+i-et,i=e.charCodeAt(t)}while(On(i)&&s>0);var o=0;do{++r,o=10*o+a-et,a=n.charCodeAt(r)}while(On(a)&&o>0);if(s<o)return-1;if(s>o)return 1}else{if(i<a)return-1;if(i>a)return 1;++t,++r}}return e.length-n.length}var et=48,Gi=57;function On(e){return!isNaN(e)&&et<=e&&e<=Gi}function Be(e,n){for(var t=Object.create(null),r=new Ki(e),i=Math.floor(.4*e.length)+1,a=0;a<n.length;a++){var s=n[a],o=r.measure(s,i);void 0!==o&&(t[s]=o)}return Object.keys(t).sort(function(u,c){var l=t[u]-t[c];return 0!==l?l:Vt(u,c)})}var Ki=function(){function e(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=Ut(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)]}return e.prototype.measure=function(r,i){if(this._input===r)return 0;var a=r.toLowerCase();if(this._inputLowerCase===a)return 1;var s=Ut(a),o=this._inputArray;if(s.length<o.length){var u=s;s=o,o=u}var c=s.length,l=o.length;if(!(c-l>i)){for(var p=this._rows,v=0;v<=l;v++)p[0][v]=v;for(var h=1;h<=c;h++){for(var m=p[(h-1)%3],T=p[h%3],N=T[0]=h,O=1;O<=l;O++){var M=Math.min(m[O]+1,T[O-1]+1,m[O-1]+(s[h-1]===o[O-1]?0:1));h>1&&O>1&&s[h-1]===o[O-2]&&s[h-2]===o[O-1]&&(M=Math.min(M,p[(h-2)%3][O-2]+1)),M<N&&(N=M),T[O]=M}if(N>i)return}var G=p[c%3][l];return G<=i?G:void 0}},e}();function Ut(e){for(var n=e.length,t=new Array(n),r=0;r<n;++r)t[r]=e.charCodeAt(r);return t}const on=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},bn=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function W(e){return Rt(e,{leave:qi})}var qi={Name:function(n){return n.value},Variable:function(n){return"$"+n.name},Document:function(n){return I(n.definitions,"\n\n")+"\n"},OperationDefinition:function(n){var t=n.operation,r=n.name,i=Q("(",I(n.variableDefinitions,", "),")"),a=I(n.directives," "),s=n.selectionSet;return r||a||i||"query"!==t?I([t,I([r,i]),a,s]," "):s},VariableDefinition:function(n){var a=n.directives;return n.variable+": "+n.type+Q(" = ",n.defaultValue)+Q(" ",I(a," "))},SelectionSet:function(n){return Te(n.selections)},Field:function(n){var r=n.name,i=n.arguments,a=n.directives,s=n.selectionSet,o=Q("",n.alias,": ")+r,u=o+Q("(",I(i,", "),")");return u.length>80&&(u=o+Q("(\n",Sn(I(i,"\n")),"\n)")),I([u,I(a," "),s]," ")},Argument:function(n){return n.name+": "+n.value},FragmentSpread:function(n){return"..."+n.name+Q(" ",I(n.directives," "))},InlineFragment:function(n){var r=n.directives,i=n.selectionSet;return I(["...",Q("on ",n.typeCondition),I(r," "),i]," ")},FragmentDefinition:function(n){var r=n.typeCondition,i=n.variableDefinitions,a=n.directives,s=n.selectionSet;return"fragment ".concat(n.name).concat(Q("(",I(i,", "),")")," ")+"on ".concat(r," ").concat(Q("",I(a," ")," "))+s},IntValue:function(n){return n.value},FloatValue:function(n){return n.value},StringValue:function(n,t){var r=n.value;return n.block?function Ii(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),o=!r||'"'===e[e.length-1]||"\\"===e[e.length-1]||t,u="";return o&&!(r&&(" "===e[0]||"\t"===e[0]))&&(u+="\n"+n),u+=n?e.replace(/\n/g,"\n"+n):e,o&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(n){return n.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(n){return n.value},ListValue:function(n){return"["+I(n.values,", ")+"]"},ObjectValue:function(n){return"{"+I(n.fields,", ")+"}"},ObjectField:function(n){return n.name+": "+n.value},Directive:function(n){return"@"+n.name+Q("(",I(n.arguments,", "),")")},NamedType:function(n){return n.name},ListType:function(n){return"["+n.type+"]"},NonNullType:function(n){return n.type+"!"},SchemaDefinition:ye(function(e){var t=e.operationTypes;return I(["schema",I(e.directives," "),Te(t)]," ")}),OperationTypeDefinition:function(n){return n.operation+": "+n.type},ScalarTypeDefinition:ye(function(e){return I(["scalar",e.name,I(e.directives," ")]," ")}),ObjectTypeDefinition:ye(function(e){var r=e.directives,i=e.fields;return I(["type",e.name,Q("implements ",I(e.interfaces," & ")),I(r," "),Te(i)]," ")}),FieldDefinition:ye(function(e){var t=e.arguments,r=e.type,i=e.directives;return e.name+(jt(t)?Q("(\n",Sn(I(t,"\n")),"\n)"):Q("(",I(t,", "),")"))+": "+r+Q(" ",I(i," "))}),InputValueDefinition:ye(function(e){var i=e.directives;return I([e.name+": "+e.type,Q("= ",e.defaultValue),I(i," ")]," ")}),InterfaceTypeDefinition:ye(function(e){var r=e.directives,i=e.fields;return I(["interface",e.name,Q("implements ",I(e.interfaces," & ")),I(r," "),Te(i)]," ")}),UnionTypeDefinition:ye(function(e){var r=e.types;return I(["union",e.name,I(e.directives," "),r&&0!==r.length?"= "+I(r," | "):""]," ")}),EnumTypeDefinition:ye(function(e){var r=e.values;return I(["enum",e.name,I(e.directives," "),Te(r)]," ")}),EnumValueDefinition:ye(function(e){return I([e.name,I(e.directives," ")]," ")}),InputObjectTypeDefinition:ye(function(e){var r=e.fields;return I(["input",e.name,I(e.directives," "),Te(r)]," ")}),DirectiveDefinition:ye(function(e){var t=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+e.name+(jt(t)?Q("(\n",Sn(I(t,"\n")),"\n)"):Q("(",I(t,", "),")"))+(r?" repeatable":"")+" on "+I(i," | ")}),SchemaExtension:function(n){var r=n.operationTypes;return I(["extend schema",I(n.directives," "),Te(r)]," ")},ScalarTypeExtension:function(n){return I(["extend scalar",n.name,I(n.directives," ")]," ")},ObjectTypeExtension:function(n){var i=n.directives,a=n.fields;return I(["extend type",n.name,Q("implements ",I(n.interfaces," & ")),I(i," "),Te(a)]," ")},InterfaceTypeExtension:function(n){var i=n.directives,a=n.fields;return I(["extend interface",n.name,Q("implements ",I(n.interfaces," & ")),I(i," "),Te(a)]," ")},UnionTypeExtension:function(n){var i=n.types;return I(["extend union",n.name,I(n.directives," "),i&&0!==i.length?"= "+I(i," | "):""]," ")},EnumTypeExtension:function(n){var i=n.values;return I(["extend enum",n.name,I(n.directives," "),Te(i)]," ")},InputObjectTypeExtension:function(n){var i=n.fields;return I(["extend input",n.name,I(n.directives," "),Te(i)]," ")}};function ye(e){return function(n){return I([n.description,e(n)],"\n")}}function I(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=e?.filter(function(r){return r}).join(t))&&void 0!==n?n:""}function Te(e){return Q("{\n",Sn(I(e,"\n")),"\n}")}function Q(e,n){return null!=n&&""!==n?e+n+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function Sn(e){return Q(" ",e.replace(/\n/g,"\n "))}function Xi(e){return-1!==e.indexOf("\n")}function jt(e){return null!=e&&e.some(Xi)}const Xe=Object.entries||function(e){return Object.keys(e).map(function(n){return[n,e[n]]})};function Se(e,n){return e.reduce(function(t,r){return t[n(r)]=r,t},Object.create(null))}function De(e,n){for(var t=Object.create(null),r=0,i=Xe(e);r<i.length;r++){var a=i[r],s=a[0];t[s]=n(a[1],s)}return t}function ue(e){if(null===Object.getPrototypeOf(e))return e;for(var n=Object.create(null),t=0,r=Xe(e);t<r.length;t++){var i=r[t];n[i[0]]=i[1]}return n}function nt(e,n,t){return e.reduce(function(r,i){return r[n(i)]=t(i),r},Object.create(null))}function Bt(e){return e}function tt(e,n){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 tt(t,n)});case f.OBJECT:return nt(e.fields,function(t){return t.name.value},function(t){return tt(t.value,n)});case f.VARIABLE:return n?.[e.name.value]}le(0,"Unexpected value node: "+D(e))}function Gt(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,n,t){return n&&Gt(e.prototype,n),t&&Gt(e,t),e}function rt(e){return we(e)||ee(e)||H(e)||fe(e)||pe(e)||ie(e)||ae(e)||B(e)}function we(e){return Ie(e,_e)}function ee(e){return Ie(e,ve)}function H(e){return Ie(e,un)}function fe(e){return Ie(e,An)}function pe(e){return Ie(e,Ke)}function ie(e){return Ie(e,Ln)}function ae(e){return Ie(e,Z)}function B(e){return Ie(e,F)}function it(e){return we(e)||pe(e)||ie(e)||Dn(e)&&it(e.ofType)}function ke(e){return we(e)||pe(e)}function He(e){return ee(e)||H(e)||fe(e)}function Ge(e){return H(e)||fe(e)}function Z(e){if(!(this instanceof Z))return new Z(e);this.ofType=function Hi(e){if(!rt(e))throw new Error("Expected ".concat(D(e)," to be a GraphQL type."));return e}(e)}function F(e){if(!(this instanceof F))return new F(e);this.ofType=function Zi(e){if(!function Wi(e){return rt(e)&&!B(e)}(e))throw new Error("Expected ".concat(D(e)," to be a GraphQL nullable type."));return e}(e)}function Dn(e){return ae(e)||B(e)}function Ae(e){if(e){for(var n=e;Dn(n);)n=n.ofType;return n}}function wn(e){return"function"==typeof e?e():e}function We(e){return e&&e.length>0?e:void 0}Z.prototype.toString=function(){return"["+String(this.ofType)+"]"},Z.prototype.toJSON=function(){return this.toString()},Object.defineProperty(Z.prototype,ce,{get:function(){return"GraphQLList"}}),me(Z),F.prototype.toString=function(){return String(this.ofType)+"!"},F.prototype.toJSON=function(){return this.toString()},Object.defineProperty(F.prototype,ce,{get:function(){return"GraphQLNonNull"}}),me(F);var _e=function(){function e(t){var r,i,a,s=null!==(r=t.parseValue)&&void 0!==r?r:Bt;this.name=t.name,this.description=t.description,this.specifiedByUrl=t.specifiedByUrl,this.serialize=null!==(i=t.serialize)&&void 0!==i?i:Bt,this.parseValue=s,this.parseLiteral=null!==(a=t.parseLiteral)&&void 0!==a?a:function(o,u){return s(tt(o,u))},this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),"string"==typeof t.name||k(0,"Must provide name."),null==t.specifiedByUrl||"string"==typeof t.specifiedByUrl||k(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(D(t.specifiedByUrl),".")),null==t.serialize||"function"==typeof t.serialize||k(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&&("function"==typeof t.parseValue&&"function"==typeof t.parseLiteral||k(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var n=e.prototype;return n.toConfig=function(){var r;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:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLScalarType"}}]),e}();me(_e);var ve=function(){function e(t){this.name=t.name,this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._fields=Qt.bind(void 0,t),this._interfaces=Yt.bind(void 0,t),"string"==typeof t.name||k(0,"Must provide name."),null==t.isTypeOf||"function"==typeof t.isTypeOf||k(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(D(t.isTypeOf),"."))}var n=e.prototype;return n.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},n.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},n.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Jt(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLObjectType"}}]),e}();function Yt(e){var n,t=null!==(n=wn(e.interfaces))&&void 0!==n?n:[];return Array.isArray(t)||k(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),t}function Qt(e){var n=wn(e.fields);return Ze(n)||k(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),De(n,function(t,r){var i;Ze(t)||k(0,"".concat(e.name,".").concat(r," field config must be an object.")),!("isDeprecated"in t)||k(0,"".concat(e.name,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||k(0,"".concat(e.name,".").concat(r," field resolver must be a function if ")+"provided, but got: ".concat(D(t.resolve),"."));var a=null!==(i=t.args)&&void 0!==i?i:{};Ze(a)||k(0,"".concat(e.name,".").concat(r," args must be an object with argument names as keys."));var s=Xe(a).map(function(o){var c=o[1];return{name:o[0],description:c.description,type:c.type,defaultValue:c.defaultValue,deprecationReason:c.deprecationReason,extensions:c.extensions&&ue(c.extensions),astNode:c.astNode}});return{name:r,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&ue(t.extensions),astNode:t.astNode}})}function Ze(e){return Ue(e)&&!Array.isArray(e)}function Jt(e){return De(e,function(n){return{description:n.description,type:n.type,args:qt(n.args),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}})}function qt(e){return nt(e,function(n){return n.name},function(n){return{description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}})}function Xt(e){return B(e.type)&&void 0===e.defaultValue}me(ve);var un=function(){function e(t){this.name=t.name,this.description=t.description,this.resolveType=t.resolveType,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._fields=Qt.bind(void 0,t),this._interfaces=Yt.bind(void 0,t),"string"==typeof t.name||k(0,"Must provide name."),null==t.resolveType||"function"==typeof t.resolveType||k(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(D(t.resolveType),"."))}var n=e.prototype;return n.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},n.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},n.toConfig=function(){var r;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:Jt(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLInterfaceType"}}]),e}();me(un);var An=function(){function e(t){this.name=t.name,this.description=t.description,this.resolveType=t.resolveType,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._types=na.bind(void 0,t),"string"==typeof t.name||k(0,"Must provide name."),null==t.resolveType||"function"==typeof t.resolveType||k(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(D(t.resolveType),"."))}var n=e.prototype;return n.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},n.toConfig=function(){var r;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLUnionType"}}]),e}();function na(e){var n=wn(e.types);return Array.isArray(n)||k(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),n}me(An);var Ke=function(){function e(t){this.name=t.name,this.description=t.description,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._values=function ta(e,n){return Ze(n)||k(0,"".concat(e," values must be an object with value names as keys.")),Xe(n).map(function(t){var r=t[0],i=t[1];return Ze(i)||k(0,"".concat(e,".").concat(r,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(D(i),".")),!("isDeprecated"in i)||k(0,"".concat(e,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),{name:r,description:i.description,value:void 0!==i.value?i.value:r,isDeprecated:null!=i.deprecationReason,deprecationReason:i.deprecationReason,extensions:i.extensions&&ue(i.extensions),astNode:i.astNode}})}(this.name,t.values),this._valueLookup=new Map(this._values.map(function(r){return[r.value,r]})),this._nameLookup=Se(this._values,function(r){return r.name}),"string"==typeof t.name||k(0,"Must provide name.")}var n=e.prototype;return n.getValues=function(){return this._values},n.getValue=function(r){return this._nameLookup[r]},n.serialize=function(r){var i=this._valueLookup.get(r);if(void 0===i)throw new E('Enum "'.concat(this.name,'" cannot represent value: ').concat(D(r)));return i.name},n.parseValue=function(r){if("string"!=typeof r){var i=D(r);throw new E('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(i,".")+_n(this,i))}var a=this.getValue(r);if(null==a)throw new E('Value "'.concat(r,'" does not exist in "').concat(this.name,'" enum.')+_n(this,r));return a.value},n.parseLiteral=function(r,i){if(r.kind!==f.ENUM){var a=W(r);throw new E('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(a,".")+_n(this,a),r)}var s=this.getValue(r.value);if(null==s){var o=W(r);throw new E('Value "'.concat(o,'" does not exist in "').concat(this.name,'" enum.')+_n(this,o),r)}return s.value},n.toConfig=function(){var r,i=nt(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:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLEnumType"}}]),e}();function _n(e,n){return xe("the enum value",Be(n,e.getValues().map(function(i){return i.name})))}me(Ke);var Ln=function(){function e(t){this.name=t.name,this.description=t.description,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._fields=ra.bind(void 0,t),"string"==typeof t.name||k(0,"Must provide name.")}var n=e.prototype;return n.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},n.toConfig=function(){var r,i=De(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:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLInputObjectType"}}]),e}();function ra(e){var n=wn(e.fields);return Ze(n)||k(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),De(n,function(t,r){return!("resolve"in t)||k(0,"".concat(e.name,".").concat(r," field has a resolve property, but Input Types cannot define resolvers.")),{name:r,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&ue(t.extensions),astNode:t.astNode}})}function zt(e){return B(e.type)&&void 0===e.defaultValue}me(Ln);var at=2147483647,st=-2147483648,Ht=new _e({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:function ia(e){var n=cn(e);if("boolean"==typeof n)return n?1:0;var t=n;if("string"==typeof n&&""!==n&&(t=Number(n)),!bn(t))throw new E("Int cannot represent non-integer value: ".concat(D(n)));if(t>at||t<st)throw new E("Int cannot represent non 32-bit signed integer value: "+D(n));return t},parseValue:function aa(e){if(!bn(e))throw new E("Int cannot represent non-integer value: ".concat(D(e)));if(e>at||e<st)throw new E("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(n){if(n.kind!==f.INT)throw new E("Int cannot represent non-integer value: ".concat(W(n)),n);var t=parseInt(n.value,10);if(t>at||t<st)throw new E("Int cannot represent non 32-bit signed integer value: ".concat(n.value),n);return t}}),ua=new _e({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:function sa(e){var n=cn(e);if("boolean"==typeof n)return n?1:0;var t=n;if("string"==typeof n&&""!==n&&(t=Number(n)),!on(t))throw new E("Float cannot represent non numeric value: ".concat(D(n)));return t},parseValue:function oa(e){if(!on(e))throw new E("Float cannot represent non numeric value: ".concat(D(e)));return e},parseLiteral:function(n){if(n.kind!==f.FLOAT&&n.kind!==f.INT)throw new E("Float cannot represent non numeric value: ".concat(W(n)),n);return parseFloat(n.value)}});function cn(e){if(Ue(e)){if("function"==typeof e.valueOf){var n=e.valueOf();if(!Ue(n))return n}if("function"==typeof e.toJSON)return e.toJSON()}return e}var q=new _e({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:function ca(e){var n=cn(e);if("string"==typeof n)return n;if("boolean"==typeof n)return n?"true":"false";if(on(n))return n.toString();throw new E("String cannot represent value: ".concat(D(e)))},parseValue:function la(e){if("string"!=typeof e)throw new E("String cannot represent a non string value: ".concat(D(e)));return e},parseLiteral:function(n){if(n.kind!==f.STRING)throw new E("String cannot represent a non string value: ".concat(W(n)),n);return n.value}}),de=new _e({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function fa(e){var n=cn(e);if("boolean"==typeof n)return n;if(on(n))return 0!==n;throw new E("Boolean cannot represent a non boolean value: ".concat(D(n)))},parseValue:function pa(e){if("boolean"!=typeof e)throw new E("Boolean cannot represent a non boolean value: ".concat(D(e)));return e},parseLiteral:function(n){if(n.kind!==f.BOOLEAN)throw new E("Boolean cannot represent a non boolean value: ".concat(W(n)),n);return n.value}}),Wt=new _e({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:function va(e){var n=cn(e);if("string"==typeof n)return n;if(bn(n))return String(n);throw new E("ID cannot represent value: ".concat(D(e)))},parseValue:function da(e){if("string"==typeof e)return e;if(bn(e))return e.toString();throw new E("ID cannot represent value: ".concat(D(e)))},parseLiteral:function(n){if(n.kind!==f.STRING&&n.kind!==f.INT)throw new E("ID cannot represent a non-string and non-integer value: "+W(n),n);return n.value}}),ot=Object.freeze([q,Ht,ua,de,Wt]);const Oe=Object.values||function(e){return Object.keys(e).map(function(n){return e[n]})};function Fn(e){return(Fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function be(e,n){if(B(n)){var t=be(e,n.ofType);return t?.kind===f.NULL?null:t}if(null===e)return{kind:f.NULL};if(void 0===e)return null;if(ae(n)){var r=n.ofType,i=function ya(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(l){return l};if(null==e||"object"!==Fn(e))return null;if(Array.isArray(e))return e.map(n);var t=e[gt];if("function"==typeof t){for(var a,r=t.call(e),i=[],s=0;!(a=r.next()).done;++s)i.push(n(a.value,s));return i}var o=e.length;if("number"==typeof o&&o>=0&&o%1==0){for(var u=[],c=0;c<o;++c){if(!Object.prototype.hasOwnProperty.call(e,c))return null;u.push(n(e[String(c)],c))}return u}return null}(e);if(null!=i){for(var a=[],s=0;s<i.length;s++){var u=be(i[s],r);null!=u&&a.push(u)}return{kind:f.LIST,values:a}}return be(e,r)}if(ie(n)){if(!Ue(e))return null;for(var c=[],l=0,p=Oe(n.getFields());l<p.length;l++){var v=p[l],h=be(e[v.name],v.type);h&&c.push({kind:f.OBJECT_FIELD,name:{kind:f.NAME,value:v.name},value:h})}return{kind:f.OBJECT,fields:c}}if(ke(n)){var m=n.serialize(e);if(null==m)return null;if("boolean"==typeof m)return{kind:f.BOOLEAN,value:m};if("number"==typeof m&&on(m)){var T=String(m);return Zt.test(T)?{kind:f.INT,value:T}:{kind:f.FLOAT,value:T}}if("string"==typeof m)return pe(n)?{kind:f.ENUM,value:m}:n===Wt&&Zt.test(m)?{kind:f.INT,value:m}:{kind:f.STRING,value:m};throw new TypeError("Cannot convert value to AST: ".concat(D(m),"."))}le(0,"Unexpected input type: "+D(n))}var Zt=/^-?(?:0|[1-9][0-9]*)$/,ut=new ve({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:q,resolve:function(t){return t.description}},types:{description:"A list of all types supported by this server.",type:new F(new Z(new F(Ee))),resolve:function(t){return Oe(t.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new F(Ee),resolve:function(t){return t.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Ee,resolve:function(t){return t.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Ee,resolve:function(t){return t.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new F(new Z(new F($t))),resolve:function(t){return t.getDirectives()}}}}}),$t=new ve({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn 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 F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},isRepeatable:{type:new F(de),resolve:function(t){return t.isRepeatable}},locations:{type:new F(new Z(new F(er))),resolve:function(t){return t.locations}},args:{type:new F(new Z(new F(xn))),resolve:function(t){return t.args}}}}}),er=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:A.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:A.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:A.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:A.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:A.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:A.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:A.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:A.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:A.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:A.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:A.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:A.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:A.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:A.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:A.UNION,description:"Location adjacent to a union definition."},ENUM:{value:A.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:A.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:A.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:A.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Ee=new ve({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 F(rr),resolve:function(t){return we(t)?re.SCALAR:ee(t)?re.OBJECT:H(t)?re.INTERFACE:fe(t)?re.UNION:pe(t)?re.ENUM:ie(t)?re.INPUT_OBJECT:ae(t)?re.LIST:B(t)?re.NON_NULL:void le(0,'Unexpected type: "'.concat(D(t),'".'))}},name:{type:q,resolve:function(t){return void 0!==t.name?t.name:void 0}},description:{type:q,resolve:function(t){return void 0!==t.description?t.description:void 0}},specifiedByUrl:{type:q,resolve:function(t){return void 0!==t.specifiedByUrl?t.specifiedByUrl:void 0}},fields:{type:new Z(new F(nr)),args:{includeDeprecated:{type:de,defaultValue:!1}},resolve:function(t,r){var i=r.includeDeprecated;if(ee(t)||H(t)){var a=Oe(t.getFields());return i?a:a.filter(function(s){return null==s.deprecationReason})}}},interfaces:{type:new Z(new F(Ee)),resolve:function(t){if(ee(t)||H(t))return t.getInterfaces()}},possibleTypes:{type:new Z(new F(Ee)),resolve:function(t,r,i,a){var s=a.schema;if(Ge(t))return s.getPossibleTypes(t)}},enumValues:{type:new Z(new F(tr)),args:{includeDeprecated:{type:de,defaultValue:!1}},resolve:function(t,r){var i=r.includeDeprecated;if(pe(t)){var a=t.getValues();return i?a:a.filter(function(s){return null==s.deprecationReason})}}},inputFields:{type:new Z(new F(xn)),args:{includeDeprecated:{type:de,defaultValue:!1}},resolve:function(t,r){var i=r.includeDeprecated;if(ie(t)){var a=Oe(t.getFields());return i?a:a.filter(function(s){return null==s.deprecationReason})}}},ofType:{type:Ee,resolve:function(t){return void 0!==t.ofType?t.ofType:void 0}}}}}),nr=new ve({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 F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},args:{type:new F(new Z(new F(xn))),args:{includeDeprecated:{type:de,defaultValue:!1}},resolve:function(t,r){return r.includeDeprecated?t.args:t.args.filter(function(a){return null==a.deprecationReason})}},type:{type:new F(Ee),resolve:function(t){return t.type}},isDeprecated:{type:new F(de),resolve:function(t){return null!=t.deprecationReason}},deprecationReason:{type:q,resolve:function(t){return t.deprecationReason}}}}}),xn=new ve({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 F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},type:{type:new F(Ee),resolve:function(t){return t.type}},defaultValue:{type:q,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(t){var a=be(t.defaultValue,t.type);return a?W(a):null}},isDeprecated:{type:new F(de),resolve:function(t){return null!=t.deprecationReason}},deprecationReason:{type:q,resolve:function(t){return t.deprecationReason}}}}}),tr=new ve({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 F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},isDeprecated:{type:new F(de),resolve:function(t){return null!=t.deprecationReason}},deprecationReason:{type:q,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"}),rr=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."}}}),ct=(new F(ut),new F(q),new F(q),Object.freeze([ut,$t,er,Ee,nr,xn,tr,rr]));function ir(e){for(var n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),r=Object.create(null),i=0,a=e.getDocument().definitions;i<a.length;i++){var s=a[i];sn(s)&&(r[s.name.value]=!0)}var o=Object.keys(t).concat(Object.keys(r));return{NamedType:function(c,l,p,v,h){var m=c.name.value;if(!t[m]&&!r[m]){var T,N=null!==(T=h[2])&&void 0!==T?T:p,O=null!=N&&function ga(e){return!Array.isArray(e)&&(function Ct(e){return e.kind===f.SCHEMA_DEFINITION||sn(e)||e.kind===f.DIRECTIVE_DEFINITION}(e)||function Pt(e){return e.kind===f.SCHEMA_EXTENSION||$n(e)}(e))}(N);if(O&&function Ea(e){return-1!==ar.indexOf(e)}(m))return;var L=Be(m,O?ar.concat(o):o);e.reportError(new E('Unknown type "'.concat(m,'".')+xe(L),c))}}}}var ar=[].concat(ot,ct).map(function(e){return e.name});function Le(e,n){var t;return n.kind===f.LIST_TYPE?(t=Le(e,n.type))&&new Z(t):n.kind===f.NON_NULL_TYPE?(t=Le(e,n.type))&&new F(t):n.kind===f.NAMED_TYPE?e.getType(n.name.value):void le(0,"Unexpected type node: "+D(n))}const sr=Array.from||function(e,n,t){if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r=e[gt];if("function"==typeof r){for(var s,i=r.call(e),a=[],o=0;!(s=i.next()).done;++o)if(a.push(n.call(t,s.value,o)),o>9999999)throw new TypeError("Near-infinite iteration.");return a}var u=e.length;if("number"==typeof u&&u>=0&&u%1==0){for(var c=[],l=0;l<u;++l)Object.prototype.hasOwnProperty.call(e,l)&&c.push(n.call(t,e[l],l));return c}return[]};function ln(e,n,t){return n===t||(B(t)?!!B(n)&&ln(e,n.ofType,t.ofType):B(n)?ln(e,n.ofType,t):ae(t)?!!ae(n)&&ln(e,n.ofType,t.ofType):!ae(n)&&Ge(t)&&(H(n)||ee(n))&&e.isSubType(t,n))}function ur(e,n,t){return n===t||(Ge(n)?Ge(t)?e.getPossibleTypes(n).some(function(r){return e.isSubType(t,r)}):e.isSubType(n,t):!!Ge(t)&&e.isSubType(t,n))}function cr(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function lr(e){return Ie(e,Re)}var Re=function(){function e(t){var r,i;this.name=t.name,this.description=t.description,this.locations=t.locations,this.isRepeatable=null!==(r=t.isRepeatable)&&void 0!==r&&r,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,t.name||k(0,"Directive must be named."),Array.isArray(t.locations)||k(0,"@".concat(t.name," locations must be an Array."));var a=null!==(i=t.args)&&void 0!==i?i:{};Ue(a)&&!Array.isArray(a)||k(0,"@".concat(t.name," args must be an object with argument names as keys.")),this.args=Xe(a).map(function(s){var u=s[1];return{name:s[0],description:u.description,type:u.type,defaultValue:u.defaultValue,deprecationReason:u.deprecationReason,extensions:u.extensions&&ue(u.extensions),astNode:u.astNode}})}var n=e.prototype;return n.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:qt(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},n.toString=function(){return"@"+this.name},n.toJSON=function(){return this.toString()},function Pa(e,n,t){n&&cr(e.prototype,n),t&&cr(e,t)}(e,[{key:ce,get:function(){return"GraphQLDirective"}}]),e}();me(Re);var Va=new Re({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[A.FIELD,A.FRAGMENT_SPREAD,A.INLINE_FRAGMENT],args:{if:{type:new F(de),description:"Included when true."}}}),Ua=new Re({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[A.FIELD,A.FRAGMENT_SPREAD,A.INLINE_FRAGMENT],args:{if:{type:new F(de),description:"Skipped when true."}}}),fr=new Re({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[A.FIELD_DEFINITION,A.ARGUMENT_DEFINITION,A.INPUT_FIELD_DEFINITION,A.ENUM_VALUE],args:{reason:{type:q,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:"No longer supported"}}}),pr=new Re({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[A.SCALAR],args:{url:{type:new F(q),description:"The URL that specifies the behaviour of this scalar."}}}),Me=Object.freeze([Va,Ua,fr,pr]);function vr(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=a.locations}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];u.kind===f.DIRECTIVE_DEFINITION&&(n[u.name.value]=u.locations.map(function(c){return c.value}))}return{Directive:function(l,p,v,h,m){var T=l.name.value,N=n[T];if(N){var O=function Ba(e){var n=e[e.length-1];switch(!Array.isArray(n)||le(0),n.kind){case f.OPERATION_DEFINITION:return function Ga(e){switch(e){case"query":return A.QUERY;case"mutation":return A.MUTATION;case"subscription":return A.SUBSCRIPTION}le(0,"Unexpected operation: "+D(e))}(n.operation);case f.FIELD:return A.FIELD;case f.FRAGMENT_SPREAD:return A.FRAGMENT_SPREAD;case f.INLINE_FRAGMENT:return A.INLINE_FRAGMENT;case f.FRAGMENT_DEFINITION:return A.FRAGMENT_DEFINITION;case f.VARIABLE_DEFINITION:return A.VARIABLE_DEFINITION;case f.SCHEMA_DEFINITION:case f.SCHEMA_EXTENSION:return A.SCHEMA;case f.SCALAR_TYPE_DEFINITION:case f.SCALAR_TYPE_EXTENSION:return A.SCALAR;case f.OBJECT_TYPE_DEFINITION:case f.OBJECT_TYPE_EXTENSION:return A.OBJECT;case f.FIELD_DEFINITION:return A.FIELD_DEFINITION;case f.INTERFACE_TYPE_DEFINITION:case f.INTERFACE_TYPE_EXTENSION:return A.INTERFACE;case f.UNION_TYPE_DEFINITION:case f.UNION_TYPE_EXTENSION:return A.UNION;case f.ENUM_TYPE_DEFINITION:case f.ENUM_TYPE_EXTENSION:return A.ENUM;case f.ENUM_VALUE_DEFINITION:return A.ENUM_VALUE;case f.INPUT_OBJECT_TYPE_DEFINITION:case f.INPUT_OBJECT_TYPE_EXTENSION:return A.INPUT_OBJECT;case f.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===f.INPUT_OBJECT_TYPE_DEFINITION?A.INPUT_FIELD_DEFINITION:A.ARGUMENT_DEFINITION}}(m);O&&-1===N.indexOf(O)&&e.reportError(new E('Directive "@'.concat(T,'" may not be used on ').concat(O,"."),l))}else e.reportError(new E('Unknown directive "@'.concat(T,'".'),l))}}}function dr(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=!a.isRepeatable}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];u.kind===f.DIRECTIVE_DEFINITION&&(n[u.name.value]=!u.repeatable)}var c=Object.create(null),l=Object.create(null);return{enter:function(v){if(null!=v.directives){var h;if(v.kind===f.SCHEMA_DEFINITION||v.kind===f.SCHEMA_EXTENSION)h=c;else if(sn(v)||$n(v)){var m=v.name.value;void 0===(h=l[m])&&(l[m]=h=Object.create(null))}else h=Object.create(null);for(var T=0,N=v.directives;T<N.length;T++){var O=N[T],L=O.name.value;n[L]&&(h[L]?e.reportError(new E('The directive "@'.concat(L,'" can only be used once at this location.'),[h[L],O])):h[L]=O)}}}}}function hr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function mr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?hr(Object(t),!0).forEach(function(r){Ka(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):hr(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Ka(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function yr(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=a.args.map(function(p){return p.name})}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];if(u.kind===f.DIRECTIVE_DEFINITION){var c,l=null!==(c=u.arguments)&&void 0!==c?c:[];n[u.name.value]=l.map(function(p){return p.name.value})}}return{Directive:function(v){var h=v.name.value,m=n[h];if(v.arguments&&m)for(var T=0,N=v.arguments;T<N.length;T++){var O=N[T],L=O.name.value;if(-1===m.indexOf(L)){var M=Be(L,m);e.reportError(new E('Unknown argument "'.concat(L,'" on directive "@').concat(h,'".')+xe(M),O))}}return!1}}}function Tr(e){var n=Object.create(null);return{Field:function(){n=Object.create(null)},Directive:function(){n=Object.create(null)},Argument:function(r){var i=r.name.value;return n[i]?e.reportError(new E('There can be only one argument named "'.concat(i,'".'),[n[i],r.name])):n[i]=r.name,!1}}}function Ye(e,n){var t=e.getInputType();if(t){var r=Ae(t);if(!ke(r)){var i=D(t);return void e.reportError(new E('Expected value of type "'.concat(i,'", found ').concat(W(n),"."),n))}try{if(void 0===r.parseLiteral(n,void 0)){var s=D(t);e.reportError(new E('Expected value of type "'.concat(s,'", found ').concat(W(n),"."),n))}}catch(u){var o=D(t);e.reportError(u instanceof E?u:new E('Expected value of type "'.concat(o,'", found ').concat(W(n),"; ")+u.message,n,void 0,void 0,void 0,u))}}}function Er(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function gr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Er(Object(t),!0).forEach(function(r){Ja(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Er(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Ja(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Nr(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=Se(a.args.filter(Xt),function(p){return p.name})}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];if(u.kind===f.DIRECTIVE_DEFINITION){var c,l=null!==(c=u.arguments)&&void 0!==c?c:[];n[u.name.value]=Se(l.filter(Xa),function(p){return p.name.value})}}return{Directive:{leave:function(v){var h=v.name.value,m=n[h];if(m)for(var T,O=Se(null!==(T=v.arguments)&&void 0!==T?T:[],function($){return $.name.value}),L=0,M=Object.keys(m);L<M.length;L++){var P=M[L];if(!O[P]){var G=m[P].type,K=rt(G)?D(G):W(G);e.reportError(new E('Directive "@'.concat(h,'" argument "').concat(P,'" of type "').concat(K,'" is required, but it was not provided.'),v))}}}}}}function Xa(e){return e.type.kind===f.NON_NULL_TYPE&&null==e.defaultValue}function Ha(e,n,t,r,i){return B(r)&&!B(n)?(null!=t&&t.kind!==f.NULL||void 0!==i)&&ln(e,n,r.ofType):ln(e,n,r)}const lt=Array.prototype.find?function(e,n){return Array.prototype.find.call(e,n)}:function(e,n){for(var t=0;t<e.length;t++){var r=e[t];if(n(r))return r}};function Ir(e){return Array.isArray(e)?e.map(function(n){var r=n[1];return'subfields "'.concat(n[0],'" conflict because ')+Ir(r)}).join(" and "):e}function kn(e,n,t,r,i,a,s){var o=e.getFragment(s);if(o){var u=vt(e,t,o),c=u[0],l=u[1];if(a!==c){ft(e,n,t,r,i,a,c);for(var p=0;p<l.length;p++)kn(e,n,t,r,i,a,l[p])}}}function Rn(e,n,t,r,i,a,s){if(a!==s&&!r.has(a,s,i)){r.add(a,s,i);var o=e.getFragment(a),u=e.getFragment(s);if(o&&u){var c=vt(e,t,o),l=c[0],p=c[1],v=vt(e,t,u),m=v[1];ft(e,n,t,r,i,l,v[0]);for(var T=0;T<m.length;T++)Rn(e,n,t,r,i,a,m[T]);for(var N=0;N<p.length;N++)Rn(e,n,t,r,i,p[N],s)}}}function ft(e,n,t,r,i,a,s){for(var o=0,u=Object.keys(a);o<u.length;o++){var c=u[o],l=s[c];if(l)for(var p=a[c],v=0;v<p.length;v++)for(var h=0;h<l.length;h++){var m=Or(e,t,r,i,c,p[v],l[h]);m&&n.push(m)}}}function Or(e,n,t,r,i,a,s){var o=a[0],u=a[1],c=a[2],l=s[0],p=s[1],v=s[2],h=r||o!==l&&ee(o)&&ee(l);if(!h){var m,T,N=u.name.value,O=p.name.value;if(N!==O)return[[i,'"'.concat(N,'" and "').concat(O,'" are different fields')],[u],[p]];if(!function ts(e,n){return e.length===n.length&&e.every(function(t){var r=lt(n,function(i){return i.name.value===t.name.value});return!!r&&function rs(e,n){return W(e)===W(n)}(t.value,r.value)})}(null!==(m=u.arguments)&&void 0!==m?m:[],null!==(T=p.arguments)&&void 0!==T?T:[]))return[[i,"they have differing arguments"],[u],[p]]}var P=c?.type,G=v?.type;if(P&&G&&pt(P,G))return[[i,'they return conflicting types "'.concat(D(P),'" and "').concat(D(G),'"')],[u],[p]];var K=u.selectionSet,$=p.selectionSet;if(K&&$){var te=function es(e,n,t,r,i,a,s,o){var u=[],c=Mn(e,n,i,a),l=c[0],p=c[1],v=Mn(e,n,s,o),h=v[0],m=v[1];if(ft(e,u,n,t,r,l,h),0!==m.length)for(var T=0;T<m.length;T++)kn(e,u,n,t,r,l,m[T]);if(0!==p.length)for(var N=0;N<p.length;N++)kn(e,u,n,t,r,h,p[N]);for(var O=0;O<p.length;O++)for(var L=0;L<m.length;L++)Rn(e,u,n,t,r,p[O],m[L]);return u}(e,n,t,h,Ae(P),K,Ae(G),$);return function is(e,n,t,r){if(e.length>0)return[[n,e.map(function(i){return i[0]})],e.reduce(function(i,a){return i.concat(a[1])},[t]),e.reduce(function(i,a){return i.concat(a[2])},[r])]}(te,i,u,p)}}function pt(e,n){return ae(e)?!ae(n)||pt(e.ofType,n.ofType):!!ae(n)||(B(e)?!B(n)||pt(e.ofType,n.ofType):!!B(n)||!(!ke(e)&&!ke(n))&&e!==n)}function Mn(e,n,t,r){var i=n.get(r);if(!i){var a=Object.create(null),s=Object.create(null);br(e,t,r,a,s),i=[a,Object.keys(s)],n.set(r,i)}return i}function vt(e,n,t){var r=n.get(t.selectionSet);if(r)return r;var i=Le(e.getSchema(),t.typeCondition);return Mn(e,n,i,t.selectionSet)}function br(e,n,t,r,i){for(var a=0,s=t.selections;a<s.length;a++){var o=s[a];switch(o.kind){case f.FIELD:var u=o.name.value,c=void 0;(ee(n)||H(n))&&(c=n.getFields()[u]);var l=o.alias?o.alias.value:u;r[l]||(r[l]=[]),r[l].push([n,o,c]);break;case f.FRAGMENT_SPREAD:i[o.name.value]=!0;break;case f.INLINE_FRAGMENT:var p=o.typeCondition,v=p?Le(e.getSchema(),p):n;br(e,v,o.selectionSet,r,i)}}}var Ce,as=function(){function e(){this._data=Object.create(null)}var n=e.prototype;return n.has=function(r,i,a){var s=this._data[r],o=s&&s[i];return void 0!==o&&(!1!==a||!1===o)},n.add=function(r,i,a){this._pairSetAdd(r,i,a),this._pairSetAdd(i,r,a)},n._pairSetAdd=function(r,i,a){var s=this._data[r];s||(this._data[r]=s=Object.create(null)),s[i]=a},e}();function Sr(e){var n=[],t=Object.create(null);return{ObjectValue:{enter:function(){n.push(t),t=Object.create(null)},leave:function(){t=n.pop()}},ObjectField:function(i){var a=i.name.value;t[a]?e.reportError(new E('There can be only one input field named "'.concat(a,'".'),[t[a],i.name])):t[a]=i.name}}}function fs(e,n){return!!(ee(e)||H(e)||ie(e))&&null!=e.getFields()[n]}function $e(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var ds=($e(Ce={},f.SCALAR_TYPE_DEFINITION,f.SCALAR_TYPE_EXTENSION),$e(Ce,f.OBJECT_TYPE_DEFINITION,f.OBJECT_TYPE_EXTENSION),$e(Ce,f.INTERFACE_TYPE_DEFINITION,f.INTERFACE_TYPE_EXTENSION),$e(Ce,f.UNION_TYPE_DEFINITION,f.UNION_TYPE_EXTENSION),$e(Ce,f.ENUM_TYPE_DEFINITION,f.ENUM_TYPE_EXTENSION),$e(Ce,f.INPUT_OBJECT_TYPE_DEFINITION,f.INPUT_OBJECT_TYPE_EXTENSION),Ce);Object.freeze([function Pi(e){return{Document:function(t){for(var r=0,i=t.definitions;r<i.length;r++){var a=i[r];Mt(a)||e.reportError(new E("The ".concat(a.kind===f.SCHEMA_DEFINITION||a.kind===f.SCHEMA_EXTENSION?"schema":'"'+a.name.value+'"'," definition is not executable."),a))}return!1}}},function Vi(e){var n=Object.create(null);return{OperationDefinition:function(r){var i=r.name;return i&&(n[i.value]?e.reportError(new E('There can be only one operation named "'.concat(i.value,'".'),[n[i.value],i])):n[i.value]=i),!1},FragmentDefinition:function(){return!1}}},function Ui(e){var n=0;return{Document:function(r){n=r.definitions.filter(function(i){return i.kind===f.OPERATION_DEFINITION}).length},OperationDefinition:function(r){!r.name&&n>1&&e.reportError(new E("This anonymous operation must be the only defined operation.",r))}}},function ji(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new E(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)))}}},ir,function Na(e){return{InlineFragment:function(t){var r=t.typeCondition;if(r){var i=Le(e.getSchema(),r);if(i&&!He(i)){var a=W(r);e.reportError(new E('Fragment cannot condition on non composite type "'.concat(a,'".'),r))}}},FragmentDefinition:function(t){var r=Le(e.getSchema(),t.typeCondition);if(r&&!He(r)){var i=W(t.typeCondition);e.reportError(new E('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(i,'".'),t.typeCondition))}}}},function Ia(e){return{VariableDefinition:function(t){var r=Le(e.getSchema(),t.type);if(r&&!it(r)){var i=t.variable.name.value,a=W(t.type);e.reportError(new E('Variable "$'.concat(i,'" cannot be non-input type "').concat(a,'".'),t.type))}}}},function Oa(e){return{Field:function(t){var r=e.getType(),i=t.selectionSet;if(r)if(ke(Ae(r))){if(i){var a=t.name.value,s=D(r);e.reportError(new E('Field "'.concat(a,'" must not have a selection since type "').concat(s,'" has no subfields.'),i))}}else if(!i){var o=t.name.value,u=D(r);e.reportError(new E('Field "'.concat(o,'" of type "').concat(u,'" must have a selection of subfields. Did you mean "').concat(o,' { ... }"?'),t))}}}},function Sa(e){return{Field:function(t){var r=e.getParentType();if(r&&!e.getFieldDef()){var a=e.getSchema(),s=t.name.value,o=xe("to use an inline fragment on",function Da(e,n,t){if(!Ge(n))return[];for(var r=new Set,i=Object.create(null),a=0,s=e.getPossibleTypes(n);a<s.length;a++){var o=s[a];if(o.getFields()[t]){r.add(o),i[o.name]=1;for(var u=0,c=o.getInterfaces();u<c.length;u++){var l,p=c[u];p.getFields()[t]&&(r.add(p),i[p.name]=(null!==(l=i[p.name])&&void 0!==l?l:0)+1)}}}return sr(r).sort(function(v,h){var m=i[h.name]-i[v.name];return 0!==m?m:H(v)&&e.isSubType(v,h)?-1:H(h)&&e.isSubType(h,v)?1:Vt(v.name,h.name)}).map(function(v){return v.name})}(a,r,s));""===o&&(o=xe(function wa(e,n){return ee(e)||H(e)?Be(n,Object.keys(e.getFields())):[]}(r,s))),e.reportError(new E('Cannot query field "'.concat(s,'" on type "').concat(r.name,'".')+o,t))}}}},function Aa(e){var n=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(r){var i=r.name.value;return n[i]?e.reportError(new E('There can be only one fragment named "'.concat(i,'".'),[n[i],r.name])):n[i]=r.name,!1}}},function _a(e){return{FragmentSpread:function(t){var r=t.name.value;e.getFragment(r)||e.reportError(new E('Unknown fragment "'.concat(r,'".'),t.name))}}},function La(e){var n=[],t=[];return{OperationDefinition:function(i){return n.push(i),!1},FragmentDefinition:function(i){return t.push(i),!1},Document:{leave:function(){for(var i=Object.create(null),a=0;a<n.length;a++)for(var o=0,u=e.getRecursivelyReferencedFragments(n[a]);o<u.length;o++)i[u[o].name.value]=!0;for(var l=0;l<t.length;l++){var p=t[l],v=p.name.value;!0!==i[v]&&e.reportError(new E('Fragment "'.concat(v,'" is never used.'),p))}}}}},function Fa(e){return{InlineFragment:function(t){var r=e.getType(),i=e.getParentType();if(He(r)&&He(i)&&!ur(e.getSchema(),r,i)){var a=D(i),s=D(r);e.reportError(new E('Fragment cannot be spread here as objects of type "'.concat(a,'" can never be of type "').concat(s,'".'),t))}},FragmentSpread:function(t){var r=t.name.value,i=function xa(e,n){var t=e.getFragment(n);if(t){var r=Le(e.getSchema(),t.typeCondition);if(He(r))return r}}(e,r),a=e.getParentType();if(i&&a&&!ur(e.getSchema(),i,a)){var s=D(a),o=D(i);e.reportError(new E('Fragment "'.concat(r,'" cannot be spread here as objects of type "').concat(s,'" can never be of type "').concat(o,'".'),t))}}}},function ka(e){var n=Object.create(null),t=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(s){return i(s),!1}};function i(a){if(!n[a.name.value]){var s=a.name.value;n[s]=!0;var o=e.getFragmentSpreads(a.selectionSet);if(0!==o.length){r[s]=t.length;for(var u=0;u<o.length;u++){var c=o[u],l=c.name.value,p=r[l];if(t.push(c),void 0===p){var v=e.getFragment(l);v&&i(v)}else{var h=t.slice(p),m=h.slice(0,-1).map(function(T){return'"'+T.name.value+'"'}).join(", ");e.reportError(new E('Cannot spread fragment "'.concat(l,'" within itself')+(""!==m?" via ".concat(m,"."):"."),h))}t.pop()}r[s]=void 0}}}},function Ra(e){var n=Object.create(null);return{OperationDefinition:function(){n=Object.create(null)},VariableDefinition:function(r){var i=r.variable.name.value;n[i]?e.reportError(new E('There can be only one variable named "$'.concat(i,'".'),[n[i],r.variable.name])):n[i]=r.variable.name}}},function Ma(e){var n=Object.create(null);return{OperationDefinition:{enter:function(){n=Object.create(null)},leave:function(r){for(var i=e.getRecursiveVariableUsages(r),a=0;a<i.length;a++){var o=i[a].node,u=o.name.value;!0!==n[u]&&e.reportError(new E(r.name?'Variable "$'.concat(u,'" is not defined by operation "').concat(r.name.value,'".'):'Variable "$'.concat(u,'" is not defined.'),[o,r]))}}},VariableDefinition:function(r){n[r.variable.name.value]=!0}}},function Ca(e){var n=[];return{OperationDefinition:{enter:function(){n=[]},leave:function(r){for(var i=Object.create(null),a=e.getRecursiveVariableUsages(r),s=0;s<a.length;s++)i[a[s].node.name.value]=!0;for(var c=0,l=n;c<l.length;c++){var p=l[c],v=p.variable.name.value;!0!==i[v]&&e.reportError(new E(r.name?'Variable "$'.concat(v,'" is never used in operation "').concat(r.name.value,'".'):'Variable "$'.concat(v,'" is never used.'),p))}}},VariableDefinition:function(r){n.push(r)}}},vr,dr,function Ya(e){return mr(mr({},yr(e)),{},{Argument:function(t){var r=e.getArgument(),i=e.getFieldDef(),a=e.getParentType();if(!r&&i&&a){var s=t.name.value,u=Be(s,i.args.map(function(c){return c.name}));e.reportError(new E('Unknown argument "'.concat(s,'" on field "').concat(a.name,".").concat(i.name,'".')+xe(u),t))}}})},Tr,function Qa(e){return{ListValue:function(t){if(!ae(function $i(e){if(e)return B(e)?e.ofType:e}(e.getParentInputType())))return Ye(e,t),!1},ObjectValue:function(t){var r=Ae(e.getInputType());if(!ie(r))return Ye(e,t),!1;for(var i=Se(t.fields,function(l){return l.name.value}),a=0,s=Oe(r.getFields());a<s.length;a++){var o=s[a];if(!i[o.name]&&zt(o)){var c=D(o.type);e.reportError(new E('Field "'.concat(r.name,".").concat(o.name,'" of required type "').concat(c,'" was not provided.'),t))}}},ObjectField:function(t){var r=Ae(e.getParentInputType());if(!e.getInputType()&&ie(r)){var a=Be(t.name.value,Object.keys(r.getFields()));e.reportError(new E('Field "'.concat(t.name.value,'" is not defined by type "').concat(r.name,'".')+xe(a),t))}},NullValue:function(t){var r=e.getInputType();B(r)&&e.reportError(new E('Expected value of type "'.concat(D(r),'", found ').concat(W(t),"."),t))},EnumValue:function(t){return Ye(e,t)},IntValue:function(t){return Ye(e,t)},FloatValue:function(t){return Ye(e,t)},StringValue:function(t){return Ye(e,t)},BooleanValue:function(t){return Ye(e,t)}}},function qa(e){return gr(gr({},Nr(e)),{},{Field:{leave:function(t){var r,i=e.getFieldDef();if(!i)return!1;for(var s=Se(null!==(r=t.arguments)&&void 0!==r?r:[],function(v){return v.name.value}),o=0,u=i.args;o<u.length;o++){var c=u[o];if(!s[c.name]&&Xt(c)){var p=D(c.type);e.reportError(new E('Field "'.concat(i.name,'" argument "').concat(c.name,'" of type "').concat(p,'" is required, but it was not provided.'),t))}}}}})},function za(e){var n=Object.create(null);return{OperationDefinition:{enter:function(){n=Object.create(null)},leave:function(r){for(var i=e.getRecursiveVariableUsages(r),a=0;a<i.length;a++){var s=i[a],o=s.node,u=s.type,c=s.defaultValue,l=o.name.value,p=n[l];if(p&&u){var v=e.getSchema(),h=Le(v,p.type);if(h&&!Ha(v,h,p.defaultValue,u,c)){var m=D(h),T=D(u);e.reportError(new E('Variable "$'.concat(l,'" of type "').concat(m,'" used in position expecting type "').concat(T,'".'),[p,o]))}}}}},VariableDefinition:function(r){n[r.variable.name.value]=r}}},function Za(e){var n=new as,t=new Map;return{SelectionSet:function(i){for(var a=function $a(e,n,t,r,i){var a=[],s=Mn(e,n,r,i),o=s[0],u=s[1];if(function ns(e,n,t,r,i){for(var a=0,s=Xe(i);a<s.length;a++){var o=s[a],u=o[0],c=o[1];if(c.length>1)for(var l=0;l<c.length;l++)for(var p=l+1;p<c.length;p++){var v=Or(e,t,r,!1,u,c[l],c[p]);v&&n.push(v)}}}(e,a,n,t,o),0!==u.length)for(var c=0;c<u.length;c++){kn(e,a,n,t,!1,o,u[c]);for(var l=c+1;l<u.length;l++)Rn(e,a,n,t,!1,u[c],u[l])}return a}(e,t,n,e.getParentType(),i),s=0;s<a.length;s++){var o=a[s],u=o[0],c=u[0],p=o[1],v=o[2],h=Ir(u[1]);e.reportError(new E('Fields "'.concat(c,'" conflict because ').concat(h,". Use different aliases on the fields to fetch both if this was intentional."),p.concat(v)))}}}},Sr]);var ys=Object.freeze([function ss(e){var n,t,r,i=e.getSchema(),a=null!==(n=null!==(t=null!==(r=i?.astNode)&&void 0!==r?r:i?.getQueryType())&&void 0!==t?t:i?.getMutationType())&&void 0!==n?n:i?.getSubscriptionType(),s=0;return{SchemaDefinition:function(u){a?e.reportError(new E("Cannot define a new schema within a schema extension.",u)):(s>0&&e.reportError(new E("Must provide only one schema definition.",u)),++s)}}},function os(e){var n=e.getSchema(),t=Object.create(null),r=n?{query:n.getQueryType(),mutation:n.getMutationType(),subscription:n.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(a){for(var s,o=null!==(s=a.operationTypes)&&void 0!==s?s:[],u=0;u<o.length;u++){var c=o[u],l=c.operation,p=t[l];r[l]?e.reportError(new E("Type for ".concat(l," already defined in the schema. It cannot be redefined."),c)):p?e.reportError(new E("There can be only one ".concat(l," type in schema."),[p,c])):t[l]=c}return!1}},function us(e){var n=Object.create(null),t=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(i){var a=i.name.value;if(null==t||!t.getType(a))return n[a]?e.reportError(new E('There can be only one type named "'.concat(a,'".'),[n[a],i.name])):n[a]=i.name,!1;e.reportError(new E('Type "'.concat(a,'" already exists in the schema. It cannot also be defined in this type definition.'),i.name))}},function cs(e){var n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(a){var s,o=a.name.value;r[o]||(r[o]=Object.create(null));for(var u=null!==(s=a.values)&&void 0!==s?s:[],c=r[o],l=0;l<u.length;l++){var p=u[l],v=p.name.value,h=t[o];pe(h)&&h.getValue(v)?e.reportError(new E('Enum value "'.concat(o,".").concat(v,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[v]?e.reportError(new E('Enum value "'.concat(o,".").concat(v,'" can only be defined once.'),[c[v],p.name])):c[v]=p.name}return!1}},function ls(e){var n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(a){var s,o=a.name.value;r[o]||(r[o]=Object.create(null));for(var u=null!==(s=a.fields)&&void 0!==s?s:[],c=r[o],l=0;l<u.length;l++){var p=u[l],v=p.name.value;fs(t[o],v)?e.reportError(new E('Field "'.concat(o,".").concat(v,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[v]?e.reportError(new E('Field "'.concat(o,".").concat(v,'" can only be defined once.'),[c[v],p.name])):c[v]=p.name}return!1}},function ps(e){var n=Object.create(null),t=e.getSchema();return{DirectiveDefinition:function(i){var a=i.name.value;if(null==t||!t.getDirective(a))return n[a]?e.reportError(new E('There can be only one directive named "@'.concat(a,'".'),[n[a],i.name])):n[a]=i.name,!1;e.reportError(new E('Directive "@'.concat(a,'" already exists in the schema. It cannot be redefined.'),i.name))}}},ir,vr,dr,function vs(e){for(var n=e.getSchema(),t=Object.create(null),r=0,i=e.getDocument().definitions;r<i.length;r++){var a=i[r];sn(a)&&(t[a.name.value]=a)}return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(o){var p,u=o.name.value,c=t[u],l=n?.getType(u);if(c?p=ds[c.kind]:l&&(p=function hs(e){return we(e)?f.SCALAR_TYPE_EXTENSION:ee(e)?f.OBJECT_TYPE_EXTENSION:H(e)?f.INTERFACE_TYPE_EXTENSION:fe(e)?f.UNION_TYPE_EXTENSION:pe(e)?f.ENUM_TYPE_EXTENSION:ie(e)?f.INPUT_OBJECT_TYPE_EXTENSION:void le(0,"Unexpected type: "+D(e))}(l)),p){if(p!==o.kind){var v=function ms(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"}le(0,"Unexpected kind: "+D(e))}(o.kind);e.reportError(new E("Cannot extend non-".concat(v,' type "').concat(u,'".'),c?[c,o]:o))}}else{var h=Object.keys(t);n&&(h=h.concat(Object.keys(n.getTypeMap())));var m=Be(u,h);e.reportError(new E('Cannot extend type "'.concat(u,'" because it is not defined.')+xe(m),o.name))}}},yr,Tr,Sr,Nr]),gs=function(e){function n(r,i,a){var s;return(s=e.call(this,r,a)||this)._schema=i,s}return function Ts(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}(n,e),n.prototype.getSchema=function(){return this._schema},n}(function(){function e(t,r){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=r}var n=e.prototype;return n.reportError=function(r){this._onError(r)},n.getDocument=function(){return this._ast},n.getFragment=function(r){var i=this._fragments;return i||(this._fragments=i=this.getDocument().definitions.reduce(function(a,s){return s.kind===f.FRAGMENT_DEFINITION&&(a[s.name.value]=s),a},Object.create(null))),i[r]},n.getFragmentSpreads=function(r){var i=this._fragmentSpreads.get(r);if(!i){i=[];for(var a=[r];0!==a.length;)for(var o=0,u=a.pop().selections;o<u.length;o++){var c=u[o];c.kind===f.FRAGMENT_SPREAD?i.push(c):c.selectionSet&&a.push(c.selectionSet)}this._fragmentSpreads.set(r,i)}return i},n.getRecursivelyReferencedFragments=function(r){var i=this._recursivelyReferencedFragments.get(r);if(!i){i=[];for(var a=Object.create(null),s=[r.selectionSet];0!==s.length;)for(var o=s.pop(),u=0,c=this.getFragmentSpreads(o);u<c.length;u++){var p=c[u].name.value;if(!0!==a[p]){a[p]=!0;var v=this.getFragment(p);v&&(i.push(v),s.push(v.selectionSet))}}this._recursivelyReferencedFragments.set(r,i)}return i},e}());function wr(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ar=function(){function e(t){var r;this.__validationErrors=!0===t.assumeValid?[]:void 0,Ue(t)||k(0,"Must provide configuration object."),!t.types||Array.isArray(t.types)||k(0,'"types" must be Array if provided but got: '.concat(D(t.types),".")),!t.directives||Array.isArray(t.directives)||k(0,'"directives" must be Array if provided but got: '+"".concat(D(t.directives),".")),this.description=t.description,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=t.extensionASTNodes,this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=null!==(r=t.directives)&&void 0!==r?r:Me;var i=new Set(t.types);if(null!=t.types)for(var a=0,s=t.types;a<s.length;a++){var o=s[a];i.delete(o),ge(o,i)}null!=this._queryType&&ge(this._queryType,i),null!=this._mutationType&&ge(this._mutationType,i),null!=this._subscriptionType&&ge(this._subscriptionType,i);for(var u=0,c=this._directives;u<c.length;u++){var l=c[u];if(lr(l))for(var p=0,v=l.args;p<v.length;p++)ge(v[p].type,i)}ge(ut,i),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var m=0,T=sr(i);m<T.length;m++){var N=T[m];if(null!=N){var O=N.name;if(O||k(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[O])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(O,'".'));if(this._typeMap[O]=N,H(N))for(var L=0,M=N.getInterfaces();L<M.length;L++){var P=M[L];if(H(P)){var G=this._implementationsMap[P.name];void 0===G&&(G=this._implementationsMap[P.name]={objects:[],interfaces:[]}),G.interfaces.push(N)}}else if(ee(N))for(var K=0,$=N.getInterfaces();K<$.length;K++){var te=$[K];if(H(te)){var Pe=this._implementationsMap[te.name];void 0===Pe&&(Pe=this._implementationsMap[te.name]={objects:[],interfaces:[]}),Pe.objects.push(N)}}}}}var n=e.prototype;return n.getQueryType=function(){return this._queryType},n.getMutationType=function(){return this._mutationType},n.getSubscriptionType=function(){return this._subscriptionType},n.getTypeMap=function(){return this._typeMap},n.getType=function(r){return this.getTypeMap()[r]},n.getPossibleTypes=function(r){return fe(r)?r.getTypes():this.getImplementations(r).objects},n.getImplementations=function(r){return this._implementationsMap[r.name]??{objects:[],interfaces:[]}},n.isPossibleType=function(r,i){return this.isSubType(r,i)},n.isSubType=function(r,i){var a=this._subTypeMap[r.name];if(void 0===a){if(a=Object.create(null),fe(r))for(var s=0,o=r.getTypes();s<o.length;s++)a[o[s].name]=!0;else{for(var c=this.getImplementations(r),l=0,p=c.objects;l<p.length;l++)a[p[l].name]=!0;for(var h=0,m=c.interfaces;h<m.length;h++)a[m[h].name]=!0}this._subTypeMap[r.name]=a}return void 0!==a[i.name]},n.getDirectives=function(){return this._directives},n.getDirective=function(r){return lt(this.getDirectives(),function(i){return i.name===r})},n.toConfig=function(){var r;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Oe(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[],assumeValid:void 0!==this.__validationErrors}},function Is(e,n,t){n&&wr(e.prototype,n),t&&wr(e,t)}(e,[{key:ce,get:function(){return"GraphQLSchema"}}]),e}();function ge(e,n){var t=Ae(e);if(!n.has(t))if(n.add(t),fe(t))for(var r=0,i=t.getTypes();r<i.length;r++)ge(i[r],n);else if(ee(t)||H(t)){for(var s=0,o=t.getInterfaces();s<o.length;s++)ge(o[s],n);for(var c=0,l=Oe(t.getFields());c<l.length;c++){var p=l[c];ge(p.type,n);for(var v=0,h=p.args;v<h.length;v++)ge(h[v].type,n)}}else if(ie(t))for(var T=0,N=Oe(t.getFields());T<N.length;T++)ge(N[T].type,n);return n}function Qe(e,n,t){if(e){if(e.kind===f.VARIABLE){var r=e.name.value;if(null==t||void 0===t[r])return;var i=t[r];return null===i&&B(n)?void 0:i}if(B(n))return e.kind===f.NULL?void 0:Qe(e,n.ofType,t);if(e.kind===f.NULL)return null;if(ae(n)){var a=n.ofType;if(e.kind===f.LIST){for(var s=[],o=0,u=e.values;o<u.length;o++){var c=u[o];if(_r(c,t)){if(B(a))return;s.push(null)}else{var l=Qe(c,a,t);if(void 0===l)return;s.push(l)}}return s}var p=Qe(e,a,t);return void 0===p?void 0:[p]}if(ie(n)){if(e.kind!==f.OBJECT)return;for(var v=Object.create(null),h=Se(e.fields,function(P){return P.name.value}),m=0,T=Oe(n.getFields());m<T.length;m++){var N=T[m],O=h[N.name];if(O&&!_r(O.value,t)){var L=Qe(O.value,N.type,t);if(void 0===L)return;v[N.name]=L}else if(void 0!==N.defaultValue)v[N.name]=N.defaultValue;else if(B(N.type))return}return v}if(ke(n)){var M;try{M=n.parseLiteral(e,t)}catch{return}return void 0===M?void 0:M}le(0,"Unexpected input type: "+D(n))}}function _r(e,n){return e.kind===f.VARIABLE&&(null==n||void 0===n[e.name.value])}function Lr(e,n,t){var r=n.directives&&lt(n.directives,function(i){return i.name.value===e.name});if(r)return function Ss(e,n,t){for(var r,i={},s=Se(null!==(r=n.arguments)&&void 0!==r?r:[],function(O){return O.name.value}),o=0,u=e.args;o<u.length;o++){var c=u[o],l=c.name,p=c.type,v=s[l];if(v){var h=v.value,m=h.kind===f.NULL;if(h.kind===f.VARIABLE){var T=h.name.value;if(null==t||!Fr(t,T)){if(void 0!==c.defaultValue)i[l]=c.defaultValue;else if(B(p))throw new E('Argument "'.concat(l,'" of required type "').concat(D(p),'" ')+'was provided the variable "$'.concat(T,'" which was not provided a runtime value.'),h);continue}m=null==t[T]}if(m&&B(p))throw new E('Argument "'.concat(l,'" of non-null type "').concat(D(p),'" ')+"must not be null.",h);var N=Qe(h,p,t);if(void 0===N)throw new E('Argument "'.concat(l,'" has invalid value ').concat(W(h),"."),h);i[l]=N}else if(void 0!==c.defaultValue)i[l]=c.defaultValue;else if(B(p))throw new E('Argument "'.concat(l,'" of required type "').concat(D(p),'" ')+"was not provided.",n)}return i}(e,r,t)}function Fr(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function xr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function C(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?xr(Object(t),!0).forEach(function(r){Ds(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xr(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Ds(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Rr=Se(ot.concat(ct),function(e){return e.name});function Cn(e){return Lr(fr,e)?.reason}function Mr(e){return Lr(pr,e)?.url}function en(e,n){if(e.description)return e.description.value;if(!0===n?.commentDescriptions){var t=function ws(e){var n=e.loc;if(n){for(var t=[],r=n.startToken.prev;null!=r&&r.kind===d.COMMENT&&r.next&&r.prev&&r.line+1===r.next.line&&r.line!==r.prev.line;){var i=String(r.value);t.push(i),r=r.prev}return t.length>0?t.reverse().join("\n"):void 0}}(e);if(void 0!==t)return Ft("\n"+t)}}function As(e,n){null!=e&&e.kind===f.DOCUMENT||k(0,"Must provide valid Document AST."),!0!==n?.assumeValid&&!0!==n?.assumeValidSDL&&function Ns(e){var n=function Dr(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ys,r=[],i=new gs(e,n,function(s){r.push(s)});return Rt(e,function Ci(e){var n=new Array(e.length);return{enter:function(r){for(var i=0;i<e.length;i++)if(null==n[i]){var a=Zn(e[i],r.kind,!1);if(a){var s=a.apply(e[i],arguments);if(!1===s)n[i]=r;else if(s===an)n[i]=an;else if(void 0!==s)return s}}},leave:function(r){for(var i=0;i<e.length;i++)if(null==n[i]){var a=Zn(e[i],r.kind,!0);if(a){var s=a.apply(e[i],arguments);if(s===an)n[i]=an;else if(void 0!==s&&!1!==s)return s}}else n[i]===r&&(n[i]=null)}}}(t.map(function(s){return s(i)}))),r}(e);if(0!==n.length)throw new Error(n.map(function(t){return t.message}).join("\n\n"))}(e);var r=function kr(e,n,t){for(var r,i,a,s,l,o=[],u=Object.create(null),c=[],p=[],v=0,h=n.definitions;v<h.length;v++){var m=h[v];if(m.kind===f.SCHEMA_DEFINITION)l=m;else if(m.kind===f.SCHEMA_EXTENSION)p.push(m);else if(sn(m))o.push(m);else if($n(m)){var T=m.name.value,N=u[T];u[T]=N?N.concat([m]):[m]}else m.kind===f.DIRECTIVE_DEFINITION&&c.push(m)}if(0===Object.keys(u).length&&0===o.length&&0===c.length&&0===p.length&&null==l)return e;for(var O=Object.create(null),L=0,M=e.types;L<M.length;L++){var P=M[L];O[P.name]=function Ta(e){return ct.some(function(n){return e.name===n.name})}(y=P)||function ha(e){return ot.some(function(n){return e.name===n.name})}(y)?y:we(y)?function Js(y){for(var S,g=y.toConfig(),b=null!==(S=u[g.name])&&void 0!==S?S:[],R=g.specifiedByUrl,V=0;V<b.length;V++){var U;R=null!==(U=Mr(b[V]))&&void 0!==U?U:R}return new _e(C(C({},g),{},{specifiedByUrl:R,extensionASTNodes:g.extensionASTNodes.concat(b)}))}(y):ee(y)?function qs(y){var S,g=y.toConfig(),b=null!==(S=u[g.name])&&void 0!==S?S:[];return new ve(C(C({},g),{},{interfaces:function(){return[].concat(y.getInterfaces().map(Je),Un(b))},fields:function(){return C(C({},De(g.fields,Gr)),Vn(b))},extensionASTNodes:g.extensionASTNodes.concat(b)}))}(y):H(y)?function Xs(y){var S,g=y.toConfig(),b=null!==(S=u[g.name])&&void 0!==S?S:[];return new un(C(C({},g),{},{interfaces:function(){return[].concat(y.getInterfaces().map(Je),Un(b))},fields:function(){return C(C({},De(g.fields,Gr)),Vn(b))},extensionASTNodes:g.extensionASTNodes.concat(b)}))}(y):fe(y)?function zs(y){var S,g=y.toConfig(),b=null!==(S=u[g.name])&&void 0!==S?S:[];return new An(C(C({},g),{},{types:function(){return[].concat(y.getTypes().map(Je),Xr(b))},extensionASTNodes:g.extensionASTNodes.concat(b)}))}(y):pe(y)?function Qs(y){var S,g=y.toConfig(),b=null!==(S=u[y.name])&&void 0!==S?S:[];return new Ke(C(C({},g),{},{values:C(C({},g.values),qr(b)),extensionASTNodes:g.extensionASTNodes.concat(b)}))}(y):ie(y)?function Ys(y){var S,g=y.toConfig(),b=null!==(S=u[g.name])&&void 0!==S?S:[];return new Ln(C(C({},g),{},{fields:function(){return C(C({},De(g.fields,function(V){return C(C({},V),{},{type:Fe(V.type)})})),Jr(b))},extensionASTNodes:g.extensionASTNodes.concat(b)}))}(y):void le(0,"Unexpected type: "+D(y))}for(var y,G=0;G<o.length;G++){var K,$=o[G],te=$.name.value;O[te]=null!==(K=Rr[te])&&void 0!==K?K:Ws($)}var Pe=C(C({query:e.query&&Je(e.query),mutation:e.mutation&&Je(e.mutation),subscription:e.subscription&&Je(e.subscription)},l&&Yr([l])),Yr(p));return C(C({description:null===(r=l)||void 0===r||null===(i=r.description)||void 0===i?void 0:i.value},Pe),{},{types:Oe(O),directives:[].concat(e.directives.map(function Gs(y){var S=y.toConfig();return new Re(C(C({},S),{},{args:De(S.args,Kr)}))}),c.map(function Hs(y){var S=y.locations.map(function(g){return g.value});return new Re({name:y.name.value,description:en(y,t),locations:S,isRepeatable:y.repeatable,args:Qr(y.arguments),astNode:y})})),extensions:void 0,astNode:null!==(a=l)&&void 0!==a?a:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(p),assumeValid:null!==(s=t?.assumeValid)&&void 0!==s&&s});function Fe(y){return ae(y)?new Z(Fe(y.ofType)):B(y)?new F(Fe(y.ofType)):Je(y)}function Je(y){return O[y.name]}function Gr(y){return C(C({},y),{},{type:Fe(y.type),args:De(y.args,Kr)})}function Kr(y){return C(C({},y),{},{type:Fe(y.type)})}function Yr(y){for(var S={},g=0;g<y.length;g++)for(var b,V=null!==(b=y[g].operationTypes)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U];S[j.operation]=Pn(j.type)}return S}function Pn(y){var S,g=y.name.value,b=null!==(S=Rr[g])&&void 0!==S?S:O[g];if(void 0===b)throw new Error('Unknown type: "'.concat(g,'".'));return b}function fn(y){return y.kind===f.LIST_TYPE?new Z(fn(y.type)):y.kind===f.NON_NULL_TYPE?new F(fn(y.type)):Pn(y)}function Vn(y){for(var S=Object.create(null),g=0;g<y.length;g++)for(var b,V=null!==(b=y[g].fields)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U];S[j.name.value]={type:fn(j.type),description:en(j,t),args:Qr(j.arguments),deprecationReason:Cn(j),astNode:j}}return S}function Qr(y){for(var S=y??[],g=Object.create(null),b=0;b<S.length;b++){var R=S[b],V=fn(R.type);g[R.name.value]={type:V,description:en(R,t),defaultValue:Qe(R.defaultValue,V),deprecationReason:Cn(R),astNode:R}}return g}function Jr(y){for(var S=Object.create(null),g=0;g<y.length;g++)for(var b,V=null!==(b=y[g].fields)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U],pn=fn(j.type);S[j.name.value]={type:pn,description:en(j,t),defaultValue:Qe(j.defaultValue,pn),deprecationReason:Cn(j),astNode:j}}return S}function qr(y){for(var S=Object.create(null),g=0;g<y.length;g++)for(var b,V=null!==(b=y[g].values)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U];S[j.name.value]={description:en(j,t),deprecationReason:Cn(j),astNode:j}}return S}function Un(y){for(var S=[],g=0;g<y.length;g++)for(var b,V=null!==(b=y[g].interfaces)&&void 0!==b?b:[],U=0;U<V.length;U++)S.push(Pn(V[U]));return S}function Xr(y){for(var S=[],g=0;g<y.length;g++)for(var b,V=null!==(b=y[g].types)&&void 0!==b?b:[],U=0;U<V.length;U++)S.push(Pn(V[U]));return S}function Ws(y){var S,g=y.name.value,b=en(y,t),R=null!==(S=u[g])&&void 0!==S?S:[];switch(y.kind){case f.OBJECT_TYPE_DEFINITION:var V=R,U=[y].concat(V);return new ve({name:g,description:b,interfaces:function(){return Un(U)},fields:function(){return Vn(U)},astNode:y,extensionASTNodes:V});case f.INTERFACE_TYPE_DEFINITION:var j=R,pn=[y].concat(j);return new un({name:g,description:b,interfaces:function(){return Un(pn)},fields:function(){return Vn(pn)},astNode:y,extensionASTNodes:j});case f.ENUM_TYPE_DEFINITION:var zr=R,Zs=[y].concat(zr);return new Ke({name:g,description:b,values:qr(Zs),astNode:y,extensionASTNodes:zr});case f.UNION_TYPE_DEFINITION:var Hr=R,$s=[y].concat(Hr);return new An({name:g,description:b,types:function(){return Xr($s)},astNode:y,extensionASTNodes:Hr});case f.SCALAR_TYPE_DEFINITION:var eo=R;return new _e({name:g,description:b,specifiedByUrl:Mr(y),astNode:y,extensionASTNodes:eo});case f.INPUT_OBJECT_TYPE_DEFINITION:var Wr=R,no=[y].concat(Wr);return new Ln({name:g,description:b,fields:function(){return Jr(no)},astNode:y,extensionASTNodes:Wr})}le(0,"Unexpected type definition node: "+D(y))}}({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,n);if(null==r.astNode)for(var i=0,a=r.types;i<a.length;i++){var s=a[i];switch(s.name){case"Query":r.query=s;break;case"Mutation":r.mutation=s;break;case"Subscription":r.subscription=s}}for(var o=r.directives,u=function(p){var v=Me[p];o.every(function(h){return h.name!==v.name})&&o.push(v)},c=0;c<Me.length;c++)u(c);return new Ar(r)}const Ms=function(){var e=(0,Yn.Z)(function*(n,t=2){const r=yield _.e(679).then(_.t.bind(_,36679,23)),i=yield _.e(244).then(_.t.bind(_,62244,23));return r.format(n,{parser:"graphql",plugins:[i],tabWidth:t})});return function(t){return e.apply(this,arguments)}}(),Cs=function(){var e=(0,Yn.Z)(function*(n,t,r,{maxDepth:i=2,tabSize:a=2}={}){const s=n.getType(r);if(!(s instanceof ve))return{generated:"",metas:[]};const o=s.getFields()[t];if(!o)return{generated:"",metas:[]};const u=Ps(n,s),{node:c,metas:l}=Ur(o,{maxDepth:i,currentDepth:0}),p={kind:f.SELECTION_SET,selections:[c]},v={kind:f.DOCUMENT,definitions:[u?Vs(u,p):Us(s,p)]};return{generated:yield Ms(W(v),a),metas:l}});return function(t,r,i){return e.apply(this,arguments)}}(),Ps=(e,n)=>new Map([[e.getQueryType(),"query"],[e.getMutationType(),"mutation"],[e.getSubscriptionType(),"subscription"]]).get(n),Vs=(e,n)=>({kind:f.OPERATION_DEFINITION,operation:e,name:void 0,variableDefinitions:[],directives:[],selectionSet:n}),Us=(e,n)=>({kind:f.FRAGMENT_DEFINITION,name:{kind:f.NAME,value:"____"},variableDefinitions:[],directives:[],typeCondition:{kind:f.NAMED_TYPE,name:{kind:f.NAME,value:e.name}},selectionSet:n}),Ur=(e,{maxDepth:n=1,currentDepth:t=0}={})=>{const r=e.args.map(o=>({kind:f.ARGUMENT,name:{kind:f.NAME,value:o.name},value:jr(o.type,o.defaultValue)})),{selectionSet:i,metas:a}=((e,{maxDepth:n=1,currentDepth:t=0}={})=>{let r=[];const i={kind:f.SELECTION_SET,selections:[]};if(!e)return{selectionSet:i,metas:r};const a=Ae(e);if(!(a instanceof ve||a instanceof un))return{selectionSet:i,metas:r};if(ke(e))return{selectionSet:i,metas:r};if(t>=n)return{selectionSet:i,metas:r};const s=a&&a.getFields();return i.selections=Object.entries(s).map(([o,u])=>{const{node:c,metas:l}=Ur(u,{maxDepth:n,currentDepth:t});return r=[...r,...l],c}),{selectionSet:i,metas:r}})(e.type,{maxDepth:n,currentDepth:t+1});return{node:{kind:f.FIELD,alias:void 0,name:{kind:f.NAME,value:e.name},arguments:r,directives:[],selectionSet:i},metas:[{hasArgs:!!r.length},...a]}},jr=(e,n,{currentDepth:t=0,maxDepth:r=2}={})=>Br(e,n,{currentDepth:t,maxDepth:r})??{kind:f.STRING,value:"_____"},Br=(e,n,{currentDepth:t=0,maxDepth:r=2}={})=>{const i=be(n,e);if(i)return i;if(B(e)&&(e=e.ofType),ae(e))return{kind:f.LIST,values:[jr(e.ofType,void 0,{currentDepth:t+1,maxDepth:r})]};if(ee(e)||ie(e)){if(t>=r)return;const s=[];for(const o of Object.values(e.getFields()))if(zt(o)){const u=Br(o.type,void 0,{currentDepth:t+1,maxDepth:r});u&&s.push({kind:f.OBJECT_FIELD,name:{kind:f.NAME,value:o.name},value:u})}return{kind:f.OBJECT,fields:s}}if(e instanceof Ke){const s=e.getValues()[0];return s?be(s.name,e):void 0}switch((e=>Ae(e).toString())(e)){case"String":return be("string",q);case"Boolean":return be(!0,de);case"Int":return be(1,Ht)}};jn(class Bs{constructor(n){this.searchIndex=[],n&&this.updateSchema(n)}updateSchema(n){this.schema=function _s(e,n){var t=function Ri(e,n){return new Hn(e,n).parseDocument()}(e,{noLocation:n?.noLocation,allowLegacySDLEmptyFields:n?.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:n?.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:n?.experimentalFragmentVariables});return As(t,{commentDescriptions:n?.commentDescriptions,assumeValidSDL:n?.assumeValidSDL,assumeValid:n?.assumeValid})}(n)}generateSearchIndex(){if(!this.schema)return[];let n=[];var e;(e=this.schema,[e.getQueryType(),e.getMutationType(),e.getSubscriptionType()].filter(Boolean)).forEach(i=>{n=[...n,...this.getTypeIndices(i,!0,n)]});const r=this.schema.getTypeMap();return Object.keys(r).forEach(i=>{/^__/.test(i)||(n=[...n,...this.getTypeIndices(r[i],!1,n)])}),this.searchIndex=n,n}getFieldsIndices(n,t,r,i){let a=[];return Object.entries(n).forEach(([s,o])=>{const u={search:o.name,name:o.name,description:o.description?o.description:"",args:o.args?.map(c=>({name:c.name,description:c.description??""})),cat:"field",type:t.name,isQuery:r,highlight:"field"};a=[...a,u],o.args&&o.args.length&&o.args.forEach(c=>{a=[...a,{...u,search:c.name,highlight:"argument"}]}),o.type&&(a=[...a,...this.getTypeIndices(o.type,!1,[...i,...a]).filter(c=>!!c)])}),a}getTypeIndices(n,t,r){let i;if(!n.name)return[];if(r.some(s=>s.name===n.name&&"type"===s.cat))return[];n.getFields&&(i=n.getFields());const a=[{search:n.name,name:n.name,cat:"type",description:n.description?n.description:"",isRoot:t,highlight:"type"}];return i?[...a,...this.getFieldsIndices(i,n,t,[...r,...a]).filter(s=>!!s)]:a}searchDocs(n){return this.searchIndex.length?new ri.Z(this.searchIndex,{keys:["search"],threshold:.4}).search(n).map(r=>r.item):[]}generateQueryV2(n,t,r){var i=this;return(0,Yn.Z)(function*(){if(!i.schema)return;const a=yield Cs(i.schema,n,t,{maxDepth:r.addQueryDepthLimit,tabSize:r.tabSize});return{query:a.generated,meta:a.metas.find(s=>s.hasArgs)||{}}})()}cleanName(n){return n.replace(/[[\]!]/g,"")}})}},ht={};function x(w){var Y=ht[w];if(void 0!==Y)return Y.exports;var _=ht[w]={exports:{}};return dt[w].call(_.exports,_,_.exports,x),_.exports}x.m=dt,x.x=()=>{var w=x.O(void 0,[777,592],()=>x(53201));return x.O(w)},w=[],x.O=(Y,_,se,X)=>{if(!_){var ne=1/0;for(z=0;z<w.length;z++){for(var[_,se,X]=w[z],he=!0,Ne=0;Ne<_.length;Ne++)(!1&X||ne>=X)&&Object.keys(x.O).every(Bn=>x.O[Bn](_[Ne]))?_.splice(Ne--,1):(he=!1,X<ne&&(ne=X));if(he){w.splice(z--,1);var dn=se();void 0!==dn&&(Y=dn)}}return Y}X=X||0;for(var z=w.length;z>0&&w[z-1][2]>X;z--)w[z]=w[z-1];w[z]=[_,se,X]},(()=>{var Y,w=Object.getPrototypeOf?_=>Object.getPrototypeOf(_):_=>_.__proto__;x.t=function(_,se){if(1&se&&(_=this(_)),8&se||"object"==typeof _&&_&&(4&se&&_.__esModule||16&se&&"function"==typeof _.then))return _;var X=Object.create(null);x.r(X);var z={};Y=Y||[null,w({}),w([]),w(w)];for(var ne=2&se&&_;"object"==typeof ne&&!~Y.indexOf(ne);ne=w(ne))Object.getOwnPropertyNames(ne).forEach(he=>z[he]=()=>_[he]);return z.default=()=>_,x.d(X,z),X}})(),x.d=(w,Y)=>{for(var _ in Y)x.o(Y,_)&&!x.o(w,_)&&Object.defineProperty(w,_,{enumerable:!0,get:Y[_]})},x.f={},x.e=w=>Promise.all(Object.keys(x.f).reduce((Y,_)=>(x.f[_](w,Y),Y),[])),x.u=w=>(592===w?"common":w)+".js",x.miniCssF=w=>{},x.o=(w,Y)=>Object.prototype.hasOwnProperty.call(w,Y),x.r=w=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(w,"__esModule",{value:!0})},(()=>{var w;x.tt=()=>(void 0===w&&(w={createScriptURL:Y=>Y},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(w=trustedTypes.createPolicy("angular#bundler",w))),w)})(),x.tu=w=>x.tt().createScriptURL(w),x.p="",(()=>{var w={201:1};x.f.i=(X,z)=>{w[X]||importScripts(x.tu(x.p+x.u(X)))};var _=self.webpackChunkaltair=self.webpackChunkaltair||[],se=_.push.bind(_);_.push=X=>{var[z,ne,he]=X;for(var Ne in ne)x.o(ne,Ne)&&(x.m[Ne]=ne[Ne]);for(he&&he(x);z.length;)w[z.pop()]=1;se(X)}})(),(()=>{var w=x.x;x.x=()=>Promise.all([x.e(777),x.e(592)]).then(w)})(),x.x()})();
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var __webpack_modules__={72425:(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{var _home_runner_work_altair_altair_node_modules_angular_devkit_build_angular_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(48309),uuid__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(73726),_events__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(31313),_helpers__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(69659);onmessage=function(){var e=(0,_home_runner_work_altair_altair_node_modules_angular_devkit_build_angular_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.Z)(function*(n){if(n.data.type===_events__WEBPACK_IMPORTED_MODULE_2__.Jk)try{yield initExecute(n.data.payload)}catch(_){makeCall("scriptError",_)}});return function(_){return e.apply(this,arguments)}}();const workerHandlerNames=["setCookie","request","getStorageItem","setStorageItem"],initExecute=function(){var _ref2=(0,_home_runner_work_altair_altair_node_modules_angular_devkit_build_angular_node_modules_babel_runtime_helpers_esm_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_1__.Z)(function*(payload){const[script,data]=payload,res=yield new Promise((resolve,reject)=>{self.addEventListener("unhandledrejection",e=>(e.preventDefault(),reject(e.reason)));const clonedMutableData=JSON.parse(JSON.stringify(data)),handlers=workerHandlerNames.reduce((e,n)=>(e[n]=(..._)=>makeCall(n,..._),e),{}),context={altair:(0,_helpers__WEBPACK_IMPORTED_MODULE_0__.IL)(clonedMutableData,handlers),alert},contextEntries=Object.entries(context);try{const res=function(){return eval(`\n (async(${contextEntries.map(e=>e[0]).join(",")}) => {\n ${script};\n return altair.data;\n })(...this.__ctxE.map(e => e[1]));\n `)}.call({__ctxE:contextEntries});return resolve(res)}catch(e){return reject(e)}});makeCall("executeComplete",res)});return function e(n){return _ref2.apply(this,arguments)}}(),alert=e=>makeCall("alert",e),makeCall=(e,...n)=>new Promise((_,a)=>{const r=(0,uuid__WEBPACK_IMPORTED_MODULE_3__.Z)(),o={type:e,payload:{id:r,args:n}};addEventListener("message",u=>{switch(u.data.type){case`${e}_response`:return u.data.payload.id!==r?void 0:_(u.data.payload.response);case`${e}_error`:return u.data.payload.id!==r?void 0:a(u.data.payload.error)}}),self.postMessage(o)})},31313:(e,n,_)=>{_.d(n,{Jk:()=>a});const a="init_execute"},69659:(e,n,_)=>{_.d(n,{IL:()=>s});var a=_(48309),r=(()=>{return(t=r||(r={})).INTROSPECTION="introspection",t.QUERY="query",t.SUBSCRIPTION="subscription",r;var t})();const o={atob:{exec:()=>(0,a.Z)(function*(){return(yield _.e(629).then(_.t.bind(_,17629,23))).atob})()},btoa:{exec:()=>(0,a.Z)(function*(){return(yield _.e(629).then(_.t.bind(_,17629,23))).btoa})()},"crypto-js":{exec:()=>(0,a.Z)(function*(){return(yield _.e(789).then(_.t.bind(_,3789,23))).default})()}},u=t=>{if(t.response)return{body:t.response.response.body,requestType:t.requestType||r.QUERY,responseTime:t.response.meta.responseTime,statusCode:t.response.response.status,headers:t.response.meta.headers}},p=function(){var t=(0,a.Z)(function*(c){const i=o[c];if(!i)throw new Error(`No request script module found matching "${c}"`);return i.exec()});return function(i){return t.apply(this,arguments)}}(),s=(t,c)=>{return{data:t,helpers:{getEnvironment:i=>t.environment[i],setEnvironment:(i,l,d=!1)=>{t.environment[i]=l,d&&(t.__toSetActiveEnvironment=t.__toSetActiveEnvironment??{},t.__toSetActiveEnvironment[i]=l)},getCookie:i=>t.__cookieJar?.[i]??"",setCookie:(i,l,d)=>{c.setCookie(i,l,d)},request:(i=(0,a.Z)(function*(l,d,f){return c.request(l,d,f)}),function(d,f,b){return i.apply(this,arguments)})},storage:{get:i=>c.getStorageItem(i),set:(i,l)=>c.setStorageItem(i,l)},importModule:i=>p(i),response:u(t),log:i=>{t.requestScriptLogs=t.requestScriptLogs??[],t.requestScriptLogs.push({time:Date.now(),text:JSON.stringify(i,null,2),source:"Request script"})}};var i}},68428:(e,n,_)=>{_.d(n,{Z:()=>o});var a,r=new Uint8Array(16);function o(){if(!a&&!(a=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(r)}},81398:(e,n,_)=>{_.d(n,{Z:()=>p});for(var a=_(12255),r=[],o=0;o<256;++o)r.push((o+256).toString(16).substr(1));const p=function u(s){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,c=(r[s[t+0]]+r[s[t+1]]+r[s[t+2]]+r[s[t+3]]+"-"+r[s[t+4]]+r[s[t+5]]+"-"+r[s[t+6]]+r[s[t+7]]+"-"+r[s[t+8]]+r[s[t+9]]+"-"+r[s[t+10]]+r[s[t+11]]+r[s[t+12]]+r[s[t+13]]+r[s[t+14]]+r[s[t+15]]).toLowerCase();if(!(0,a.Z)(c))throw TypeError("Stringified UUID is invalid");return c}},73726:(e,n,_)=>{_.d(n,{Z:()=>u});var a=_(68428),r=_(81398);const u=function o(p,s,t){var c=(p=p||{}).random||(p.rng||a.Z)();if(c[6]=15&c[6]|64,c[8]=63&c[8]|128,s){t=t||0;for(var i=0;i<16;++i)s[t+i]=c[i];return s}return(0,r.Z)(c)}},12255:(e,n,_)=>{_.d(n,{Z:()=>o});const a=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,o=function r(u){return"string"==typeof u&&a.test(u)}}},__webpack_module_cache__={},e;function __webpack_require__(e){var n=__webpack_module_cache__[e];if(void 0!==n)return n.exports;var _=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(_.exports,_,_.exports,__webpack_require__),_.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.x=()=>{var e=__webpack_require__.O(void 0,[592],()=>__webpack_require__(72425));return __webpack_require__.O(e)},e=[],__webpack_require__.O=(n,_,a,r)=>{if(!_){var u=1/0;for(o=0;o<e.length;o++){for(var[_,a,r]=e[o],p=!0,s=0;s<_.length;s++)(!1&r||u>=r)&&Object.keys(__webpack_require__.O).every(f=>__webpack_require__.O[f](_[s]))?_.splice(s--,1):(p=!1,r<u&&(u=r));if(p){e.splice(o--,1);var t=a();void 0!==t&&(n=t)}}return n}r=r||0;for(var o=e.length;o>0&&e[o-1][2]>r;o--)e[o]=e[o-1];e[o]=[_,a,r]},(()=>{var n,e=Object.getPrototypeOf?_=>Object.getPrototypeOf(_):_=>_.__proto__;__webpack_require__.t=function(_,a){if(1&a&&(_=this(_)),8&a||"object"==typeof _&&_&&(4&a&&_.__esModule||16&a&&"function"==typeof _.then))return _;var r=Object.create(null);__webpack_require__.r(r);var o={};n=n||[null,e({}),e([]),e(e)];for(var u=2&a&&_;"object"==typeof u&&!~n.indexOf(u);u=e(u))Object.getOwnPropertyNames(u).forEach(p=>o[p]=()=>_[p]);return o.default=()=>_,__webpack_require__.d(r,o),r}})(),__webpack_require__.d=(e,n)=>{for(var _ in n)__webpack_require__.o(n,_)&&!__webpack_require__.o(e,_)&&Object.defineProperty(e,_,{enumerable:!0,get:n[_]})},__webpack_require__.f={},__webpack_require__.e=e=>Promise.all(Object.keys(__webpack_require__.f).reduce((n,_)=>(__webpack_require__.f[_](e,n),n),[])),__webpack_require__.u=e=>(592===e?"common":e)+".js",__webpack_require__.miniCssF=e=>{},__webpack_require__.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),__webpack_require__.r=e=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;__webpack_require__.tt=()=>(void 0===e&&(e={createScriptURL:n=>n},typeof trustedTypes<"u"&&trustedTypes.createPolicy&&(e=trustedTypes.createPolicy("angular#bundler",e))),e)})(),__webpack_require__.tu=e=>__webpack_require__.tt().createScriptURL(e),__webpack_require__.p="",(()=>{var e={425:1};__webpack_require__.f.i=(r,o)=>{e[r]||importScripts(__webpack_require__.tu(__webpack_require__.p+__webpack_require__.u(r)))};var _=self.webpackChunkaltair=self.webpackChunkaltair||[],a=_.push.bind(_);_.push=r=>{var[o,u,p]=r;for(var s in u)__webpack_require__.o(u,s)&&(__webpack_require__.m[s]=u[s]);for(p&&p(__webpack_require__);o.length;)e[o.pop()]=1;a(r)}})(),(()=>{var e=__webpack_require__.x;__webpack_require__.x=()=>__webpack_require__.e(592).then(e)})();var __webpack_exports__=__webpack_require__.x()})();
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkaltair=self.webpackChunkaltair||[]).push([[592],{48309:(p,_,f)=>{function i(o,s,c,t,a,u,n){try{var r=o[u](n),e=r.value}catch(l){return void c(l)}r.done?s(e):Promise.resolve(e).then(t,a)}function h(o){return function(){var s=this,c=arguments;return new Promise(function(t,a){var u=o.apply(s,c);function n(e){i(u,t,a,n,r,"next",e)}function r(e){i(u,t,a,n,r,"throw",e)}n(void 0)})}}f.d(_,{Z:()=>h})}}]);