Dot_Files/.config/raycast/extensions/46fa7071-8491-4a13-99f1-25dae0015432/event_my.js

221 lines
803 KiB
JavaScript
Raw Normal View History

var Ih=Object.create;var Jp=Object.defineProperty;var Lh=Object.getOwnPropertyDescriptor;var Ph=Object.getOwnPropertyNames;var Rh=Object.getPrototypeOf,Ah=Object.prototype.hasOwnProperty;var nf=e=>Jp(e,"__esModule",{value:!0});var g=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kh=(e,t)=>{for(var r in t)Jp(e,r,{get:t[r],enumerable:!0})},pf=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ph(t))!Ah.call(e,n)&&(r||n!=="default")&&Jp(e,n,{get:()=>t[n],enumerable:!(a=Lh(t,n))||a.enumerable});return e},nr=(e,t)=>pf(nf(Jp(e!=null?Ih(Rh(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),Fh=(e=>(t,r)=>e&&e.get(t)||(r=pf(nf({}),t,1),e&&e.set(t,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var kt=g((SV,Xp)=>{var of,sf,uf,df,lf,cf,ff,mf,vf,$p,Xs,hf,yf,gf,ln,bf,_f,Tf,wf,Of,Ef,Sf,Nf,Hp;(function(e){var t=typeof global=="object"?global:typeof self=="object"?self:typeof this=="object"?this:{};typeof define=="function"&&define.amd?define("tslib",["exports"],function(a){e(r(t,r(a)))}):typeof Xp=="object"&&typeof Xp.exports=="object"?e(r(t,r(Xp.exports))):e(r(t));function r(a,n){return a!==t&&(typeof Object.create=="function"?Object.defineProperty(a,"__esModule",{value:!0}):a.__esModule=!0),function(i,p){return a[i]=n?n(i,p):p}}})(function(e){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,n){a.__proto__=n}||function(a,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(a[i]=n[i])};of=function(a,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");t(a,n);function i(){this.constructor=a}a.prototype=n===null?Object.create(n):(i.prototype=n.prototype,new i)},sf=Object.assign||function(a){for(var n,i=1,p=arguments.length;i<p;i++){n=arguments[i];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(a[o]=n[o])}return a},uf=function(a,n){var i={};for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&n.indexOf(p)<0&&(i[p]=a[p]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,p=Object.getOwnPropertySymbols(a);o<p.length;o++)n.indexOf(p[o])<0&&Object.prototype.propertyIsEnumerable.call(a,p[o])&&(i[p[o]]=a[p[o]]);return i},df=function(a,n,i,p){var o=arguments.length,s=o<3?n:p===null?p=Object.getOwnPropertyDescriptor(n,i):p,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(a,n,i,p);else for(var d=a.length-1;d>=0;d--)(u=a[d])&&(s=(o<3?u(s):o>3?u(n,i,s):u(n,i))||s);return o>3&&s&&Object.defineProperty(n,i,s),s},lf=function(a,n){return function(i,p){n(i,p,a)}},cf=function(a,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,n)},ff=function(a,n,i,p){function o(s){return s instanceof i?s:new i(function(u){u(s)})}return new(i||(i=Promise))(function(s,u){function d(f){try{c(p.next(f))}catch(m){u(m)}}function l(f){try{c(p.throw(f))}catch(m){u(m)}}function c(f){f.done?s(f.value):o(f.value).then(d,l)}c((p=p.apply(a,n||[])).next())})},mf=function(a,n){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},p,o,s,u;return u={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function d(c){return function(f){return l([c,f])}}function l(c){if(p)throw new TypeError("Generator is already executing.");for(;i;)try{if(p=1,o&&(s=c[0]&2?o.return:c[0]?o.throw||((s=o.return)&&s.call(o),0):o.next)&&!(s=s.call(o,c[1])).done)return s;switch(o=0,s&&(c=[c[0]&2,s.value]),c[0]){case 0:case 1:s=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,o=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(s=i.trys,!(s=s.length>0&&s[s.length-1])&&(c[0]===6||c[0]===2)){i=0;continue}if(c[0]===3&&(!s||c[1]>s[0]&&c[1]<s[3])){i.label=c[1];break}if(c[0]===6&&i.label<s[1]){i.label=s[1],s=c;break}if(s&&i.label<s[2]){i.label=s[2],i.ops.push(c);break}s[2]&&i.ops.pop(),i.trys.pop();continue}c=n.call(a,i)}catch(f){c=[6,f],o=0}finally{p=s=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:
`),d=a.split(/\r\n|[\n\r]/g),l=d[n];if(l.length>120){for(var c=Math.floor(s/80),f=s%80,m=[],v=0;v<l.length;v+=80)m.push(l.slice(v,v+80));return u+kf([["".concat(p),m[0]]].concat(m.slice(1,c+1).map(function(h){return["",h]}),[[" ",po(f-1)+"^"],["",m[c+1]]]))}return u+kf([["".concat(p-1),d[n-1]],["".concat(p),l],["",po(s-1)+"^"],["".concat(p+1),d[n+1]]])}function kf(e){var t=e.filter(function(a){var n=a[0],i=a[1];return i!==void 0}),r=Math.max.apply(Math,t.map(function(a){var n=a[0];return n.length}));return t.map(function(a){var n=a[0],i=a[1];return $h(r,n)+(i?" | "+i:" |")}).join(`
`)}function po(e){return Array(e+1).join(" ")}function $h(e,t){return po(e-t.length)+t}});var B=g(Ni=>{"use strict";function so(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?so=function(r){return typeof r}:so=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},so(e)}Object.defineProperty(Ni,"__esModule",{value:!0});Ni.printError=Cf;Ni.GraphQLError=void 0;var Hh=Zh(ir()),Xh=pr(),Ff=io(),Vf=ou();function Zh(e){return e&&e.__esModule?e:{default:e}}function ey(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qf(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ty(e,t,r){return t&&qf(e.prototype,t),r&&qf(e,r),e}function ry(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ei(e,t)}function ay(e){var t=jf();return function(){var a=Si(e),n;if(t){var i=Si(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return Mf(this,n)}}function Mf(e,t){return t&&(so(t)==="object"||typeof t=="function")?t:Oi(e)}function Oi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function su(e){var t=typeof Map=="function"?new Map:void 0;return su=function(a){if(a===null||!ny(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(a))return t.get(a);t.set(a,n)}function n(){return uo(a,arguments,Si(this).constructor)}return n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Ei(n,a)},su(e)}function uo(e,t,r){return jf()?uo=Reflect.construct:uo=function(n,i,p){var o=[null];o.push.apply(o,i);var s=Function.bind.apply(n,o),u=new s;return p&&Ei(u,p.prototype),u},uo.apply(null,arguments)}function jf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ny(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ei(e,t){return Ei=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a},Ei(e,t)}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Si(e)}var iy=function(e){ry(r,e);var t=ay(r);function r(a,n,i,p,o,s,u){var d,l,c,f,m;ey(this,r),m=t.call(this,a);var v=Array.isArray(n)?n.length!==0?n:void 0:n?[n]:void 0,h=i;if(!h&&v){var y;h=(y=v[0].loc)===null||y===void 0?void 0:y.source}var T=p;!T&&v&&(T=v.reduce(function(D,L){return L.loc&&D.push(L.loc.start),D},[])),T&&T.length===0&&(T=void 0);var w;p&&i?w=p.map(function(D){return(0,Ff.getLocation)(i,D)}):v&&(w=v.reduce(function(D,L){return L.loc&&D.push((0,Ff.getLocation)(L.loc.source,L.loc.start)),D},[]));var O=u;if(O==null&&s!=null){var E=s.extensions;(0,Hh.default)(E)&&(O=E)}return Object.defineProperties(Oi(m),{name:{value:"GraphQLError"},message:{value:a,enumerable:!0,writable:!0},locations:{value:(d=w)!==null&&d!==void 0?d:void 0,enumerable:w!=null},path:{value:o??void 0,enumerable:o!=null},nodes:{value:v??void 0},source:{value:(l=h)!==null&&l!==void 0?l:void 0},positions:{value:(c=T)!==null&&c!==void 0?c:void 0},originalError:{value:s},extensions:{value:(f=O)!==null&&f!==void 0?f:void 0,enumerable:O!=null}}),s!=null&&s.stack?(Object.defineProperty(Oi(m),"stack",{value:s.stack,writable:!0,configurable:!0}),Mf(m)):(Error.captureStackTrace?Error.captureStackTrace(Oi(m),r):Object.defineProperty(Oi(m),"stack",{value:Error().stack,writable:!0,configurable:!0}),m)}return ty(r,[{key:"toString",value:function(){return Cf(this)}},{key:Xh.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}]),r}(su(Error));Ni.GraphQL
`+(0,Vf.printLocation)(n.loc))}else if(e.source&&e.locations)for(var i=0,p=e.locations;i<p.length;i++){var o=p[i];t+=`
`+(0,Vf.printSourceLocation)(e.source,o)}return t}});var lo=g(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.syntaxError=oy;var py=B();function oy(e,t,r){return new py.GraphQLError("Syntax Error: ".concat(r),void 0,e,[t])}});var _e=g(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.Kind=void 0;var sy=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"});co.Kind=sy});var et=g(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.default=uy;function uy(e,t){var r=Boolean(e);if(!r)throw new Error(t??"Unexpected invariant triggered.")}});var lu=g(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var dy=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):void 0,ly=dy;fo.default=ly});var mo=g(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.default=fy;var cy=Qf(et()),xf=Qf(lu());function Qf(e){return e&&e.__esModule?e:{default:e}}function fy(e){var t=e.prototype.toJSON;typeof t=="function"||(0,cy.default)(0),e.prototype.inspect=t,xf.default&&(e.prototype[xf.default]=t)}});var mn=g(Ia=>{"use strict";Object.defineProperty(Ia,"__esModule",{value:!0});Ia.isNode=vy;Ia.Token=Ia.Location=void 0;var Uf=my(mo());function my(e){return e&&e.__esModule?e:{default:e}}var Gf=function(){function e(r,a,n){this.start=r.start,this.end=a.end,this.startToken=r,this.endToken=a,this.source=n}var t=e.prototype;return t.toJSON=function(){return{start:this.start,end:this.end}},e}();Ia.Location=Gf;(0,Uf.default)(Gf);var Kf=function(){function e(r,a,n,i,p,o,s){this.kind=r,this.start=a,this.end=n,this.line=i,this.column=p,this.value=s,this.prev=o,this.next=null}var t=e.prototype;return t.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();Ia.Token=Kf;(0,Uf.default)(Kf);function vy(e){return e!=null&&typeof e.kind=="string"}});var vn=g(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.TokenKind=void 0;var hy=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"});vo.TokenKind=hy});var se=g(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.default=_y;var yy=gy(lu());function gy(e){return e&&e.__esModule?e:{default:e}}function ho(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ho=function(r){return typeof r}:ho=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!=
Ensure that there is only one instance of "graphql" in the node_modules
directory. If different versions of "graphql" are the dependencies of other
relied on modules, use "resolutions" to ensure only one version is installed.
https://yarnpkg.com/en/docs/selective-version-resolutions
Duplicate "graphql" modules cannot be used at the same time since different
versions may have different capabilities and behavior. The data from one
version used in the function from another could produce confusing and
spurious results.`))}}return!1};bo.default=Ly});var _o=g(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.isSource=Fy;Ii.Source=void 0;var Py=pr(),Ry=hu(se()),vu=hu(Ft()),Ay=hu(Di());function hu(e){return e&&e.__esModule?e:{default:e}}function zf(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function ky(e,t,r){return t&&zf(e.prototype,t),r&&zf(e,r),e}var Yf=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"GraphQL request",a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{line:1,column:1};typeof t=="string"||(0,vu.default)(0,"Body must be a string. Received: ".concat((0,Ry.default)(t),".")),this.body=t,this.name=r,this.locationOffset=a,this.locationOffset.line>0||(0,vu.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,vu.default)(0,"column in locationOffset is 1-indexed and must be positive.")}return ky(e,[{key:Py.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}]),e}();Ii.Source=Yf;function Fy(e){return(0,Ay.default)(e,Yf)}});var hn=g(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.DirectiveLocation=void 0;var Vy=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"});To.DirectiveLocation=Vy});var yn=g(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Li.dedentBlockStringValue=qy;Li.getBlockStringIndentation=Jf;Li.printBlockString=My;function qy(e){var t=e.split(/\r\n|[\n\r]/g),r=Jf(e);if(r!==0)for(var a=1;a<t.length;a++)t[a]=t[a].slice(r);for(var n=0;n<t.length&&Wf(t[n]);)++n;for(var i=t.length;i>n&&Wf(t[i-1]);)--i;return t.slice(n,i).join(`
`)}function Wf(e){for(var t=0;t<e.length;++t)if(e[t]!==" "&&e[t]!==" ")return!1;return!0}function Jf(e){for(var t,r=!0,a=!0,n=0,i=null,p=0;p<e.length;++p)switch(e.charCodeAt(p)){case 13:e.charCodeAt(p+1)===10&&++p;case 10:r=!1,a=!0,n=0;break;case 9:case 32:++n;break;default:a&&!r&&(i===null||n<i)&&(i=n),a=!1}return(t=i)!==null&&t!==void 0?t:0}function My(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=e.indexOf(`
`)===-1,n=e[0]===" "||e[0]===" ",i=e[e.length-1]==='"',p=e[e.length-1]==="\\",o=!a||i||p||r,s="";return o&&!(a&&n)&&(s+=`
`+t),s+=t?e.replace(/\n/g,`
`+t):e,o&&(s+=`
`),'"""'+s.replace(/"""/g,'\\"""')+'"""'}});var Oo=g(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.isPunctuatorTokenKind=xy;Pi.Lexer=void 0;var or=lo(),Ue=mn(),X=vn(),jy=yn(),Cy=function(){function e(r){var a=new Ue.Token(X.TokenKind.SOF,0,0,0,0,null);this.source=r,this.lastToken=a,this.token=a,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){this.lastToken=this.token;var a=this.token=this.lookahead();return a},t.lookahead=function(){var a=this.token;if(a.kind!==X.TokenKind.EOF)do{var n;a=(n=a.next)!==null&&n!==void 0?n:a.next=Qy(this,a)}while(a.kind===X.TokenKind.COMMENT);return a},e}();Pi.Lexer=Cy;function xy(e){return e===X.TokenKind.BANG||e===X.TokenKind.DOLLAR||e===X.TokenKind.AMP||e===X.TokenKind.PAREN_L||e===X.TokenKind.PAREN_R||e===X.TokenKind.SPREAD||e===X.TokenKind.COLON||e===X.TokenKind.EQUALS||e===X.TokenKind.AT||e===X.TokenKind.BRACKET_L||e===X.TokenKind.BRACKET_R||e===X.TokenKind.BRACE_L||e===X.TokenKind.PIPE||e===X.TokenKind.BRACE_R}function La(e){return isNaN(e)?X.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function Qy(e,t){for(var r=e.source,a=r.body,n=a.length,i=t.end;i<n;){var p=a.charCodeAt(i),o=e.line,s=1+i-e.lineStart;switch(p){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:a.charCodeAt(i+1)===10?i+=2:++i,++e.line,e.lineStart=i;continue;case 33:return new Ue.Token(X.TokenKind.BANG,i,i+1,o,s,t);case 35:return Gy(r,i,o,s,t);case 36:return new Ue.Token(X.TokenKind.DOLLAR,i,i+1,o,s,t);case 38:return new Ue.Token(X.TokenKind.AMP,i,i+1,o,s,t);case 40:return new Ue.Token(X.TokenKind.PAREN_L,i,i+1,o,s,t);case 41:return new Ue.Token(X.TokenKind.PAREN_R,i,i+1,o,s,t);case 46:if(a.charCodeAt(i+1)===46&&a.charCodeAt(i+2)===46)return new Ue.Token(X.TokenKind.SPREAD,i,i+3,o,s,t);break;case 58:return new Ue.Token(X.TokenKind.COLON,i,i+1,o,s,t);case 61:return new Ue.Token(X.TokenKind.EQUALS,i,i+1,o,s,t);case 64:return new Ue.Token(X.TokenKind.AT,i,i+1,o,s,t);case 91:return new Ue.Token(X.TokenKind.BRACKET_L,i,i+1,o,s,t);case 93:return new Ue.Token(X.TokenKind.BRACKET_R,i,i+1,o,s,t);case 123:return new Ue.Token(X.TokenKind.BRACE_L,i,i+1,o,s,t);case 124:return new Ue.Token(X.TokenKind.PIPE,i,i+1,o,s,t);case 125:return new Ue.Token(X.TokenKind.BRACE_R,i,i+1,o,s,t);case 34:return a.charCodeAt(i+1)===34&&a.charCodeAt(i+2)===34?zy(r,i,o,s,t,e):By(r,i,o,s,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return Ky(r,i,p,o,s,t);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 Wy(r,i,o,s,t)}throw(0,or.syntaxError)(r,i,Uy(p))}var u=e.line,d=1+i-e.lineStart;return new Ue.Token(X.TokenKind.EOF,n,n,u,d,t)}function Uy(e){return e<32&&e!==9&&e!==10&&e!==13?"Cannot contain the invalid character ".concat(La(e),"."):e===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:"Cannot parse the unexpected character ".concat(La(e),".")}function Gy(e,t,r,a,n){var i=e.body,p,o=t;do p=i.charCodeAt(++o);while(!isNaN(p)&&(p>31||p===9));return new Ue.Token(X.TokenKind.COMMENT,t,o,r,a,n,i.slice(t+1,o))}function Ky(e,t,r,a,n,i){var p=e.body,o=r,s=t,u=!1;if(o===45&&(o=p.charCodeAt(++s)),o===48){if(o=p.charCodeAt(++s),o>=48&&o<=57)throw(0,or.syntaxError)(e,s,"Invalid number, unexpected digit after 0: ".concat(La(o),"."))}else s=yu(e,s,o),o=p.charCodeAt(s);if(o===46&&(u=!0,o=p.charCodeAt(++s),s=yu(e,s,o),o=p.charCodeAt(s)),(o===69||o===101)&&(u=!0,o=p.charCodeAt(++s),(o===43||o===45)&&(o=p.charCodeAt(++s)),s=yu(e,s,o),o=p.charCodeAt(s)),o===46||Jy(o))throw(0,or.syntaxError)(e,s,"Invalid number, expecte
`;break;case 114:u+="\r";break;case 116:u+=" ";break;case 117:{var d=Yy(i.charCodeAt(p+1),i.charCodeAt(p+2),i.charCodeAt(p+3),i.charCodeAt(p+4));if(d<0){var l=i.slice(p+1,p+5);throw(0,or.syntaxError)(e,p,"Invalid character escape sequence: \\u".concat(l,"."))}u+=String.fromCharCode(d),p+=4;break}default:throw(0,or.syntaxError)(e,p,"Invalid character escape sequence: \\".concat(String.fromCharCode(s),"."))}++p,o=p}}throw(0,or.syntaxError)(e,p,"Unterminated string.")}function zy(e,t,r,a,n,i){for(var p=e.body,o=t+3,s=o,u=0,d="";o<p.length&&!isNaN(u=p.charCodeAt(o));){if(u===34&&p.charCodeAt(o+1)===34&&p.charCodeAt(o+2)===34)return d+=p.slice(s,o),new Ue.Token(X.TokenKind.BLOCK_STRING,t,o+3,r,a,n,(0,jy.dedentBlockStringValue)(d));if(u<32&&u!==9&&u!==10&&u!==13)throw(0,or.syntaxError)(e,o,"Invalid character within String: ".concat(La(u),"."));u===10?(++o,++i.line,i.lineStart=o):u===13?(p.charCodeAt(o+1)===10?o+=2:++o,++i.line,i.lineStart=o):u===92&&p.charCodeAt(o+1)===34&&p.charCodeAt(o+2)===34&&p.charCodeAt(o+3)===34?(d+=p.slice(s,o)+'"""',o+=4,s=o):++o}throw(0,or.syntaxError)(e,o,"Unterminated string.")}function Yy(e,t,r,a){return wo(e)<<12|wo(t)<<8|wo(r)<<4|wo(a)}function wo(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Wy(e,t,r,a,n){for(var i=e.body,p=i.length,o=t+1,s=0;o!==p&&!isNaN(s=i.charCodeAt(o))&&(s===95||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122);)++o;return new Ue.Token(X.TokenKind.NAME,t,o,r,a,n,i.slice(t,o))}function Jy(e){return e===95||e>=65&&e<=90||e>=97&&e<=122}});var gn=g(Pa=>{"use strict";Object.defineProperty(Pa,"__esModule",{value:!0});Pa.parse=Xy;Pa.parseValue=Zy;Pa.parseType=eg;Pa.Parser=void 0;var gu=lo(),Y=_e(),$y=mn(),k=vn(),$f=_o(),Hy=hn(),Hf=Oo();function Xy(e,t){var r=new Eo(e,t);return r.parseDocument()}function Zy(e,t){var r=new Eo(e,t);r.expectToken(k.TokenKind.SOF);var a=r.parseValueLiteral(!1);return r.expectToken(k.TokenKind.EOF),a}function eg(e,t){var r=new Eo(e,t);r.expectToken(k.TokenKind.SOF);var a=r.parseTypeReference();return r.expectToken(k.TokenKind.EOF),a}var Eo=function(){function e(r,a){var n=(0,$f.isSource)(r)?r:new $f.Source(r);this._lexer=new Hf.Lexer(n),this._options=a}var t=e.prototype;return t.parseName=function(){var a=this.expectToken(k.TokenKind.NAME);return{kind:Y.Kind.NAME,value:a.value,loc:this.loc(a)}},t.parseDocument=function(){var a=this._lexer.token;return{kind:Y.Kind.DOCUMENT,definitions:this.many(k.TokenKind.SOF,this.parseDefinition,k.TokenKind.EOF),loc:this.loc(a)}},t.parseDefinition=function(){if(this.peek(k.TokenKind.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(k.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var a=this._lexer.token;if(this.peek(k.TokenKind.BRACE_L))return{kind:Y.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(a)};var n=this.parseOperationType(),i;return this.peek(k.TokenKind.NAME)&&(i=this.parseName()),{kind:Y.Kind.OPERATION_DEFINITION,operation:n,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(a)}},t.parseOperationType=function(){var a=this.expectToken(k.TokenKind.NAME);switch(a.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(a)},t.parseVariableDefinitions=function(){return this.optionalMany(k.TokenKind.PAREN_L,this.parseVariableDefinition,k.TokenKind.PAREN_R)},t.parseVariableDefinition=function(){var a=this._lexer.token;return{kind:Y.Kind.VARIABLE_DEFINITION,varia
`)+`
`},OperationDefinition:function(t){var r=t.operation,a=t.name,n=Re("(",q(t.variableDefinitions,", "),")"),i=q(t.directives," "),p=t.selectionSet;return!a&&!i&&!n&&r==="query"?p:q([r,q([a,n]),i,p]," ")},VariableDefinition:function(t){var r=t.variable,a=t.type,n=t.defaultValue,i=t.directives;return r+": "+a+Re(" = ",n)+Re(" ",q(i," "))},SelectionSet:function(t){var r=t.selections;return Bt(r)},Field:function(t){var r=t.alias,a=t.name,n=t.arguments,i=t.directives,p=t.selectionSet,o=Re("",r,": ")+a,s=o+Re("(",q(n,", "),")");return s.length>Cg&&(s=o+Re(`(
`,Ao(q(n,`
`)),`
)`)),q([s,q(i," "),p]," ")},Argument:function(t){var r=t.name,a=t.value;return r+": "+a},FragmentSpread:function(t){var r=t.name,a=t.directives;return"..."+r+Re(" ",q(a," "))},InlineFragment:function(t){var r=t.typeCondition,a=t.directives,n=t.selectionSet;return q(["...",Re("on ",r),q(a," "),n]," ")},FragmentDefinition:function(t){var r=t.name,a=t.typeCondition,n=t.variableDefinitions,i=t.directives,p=t.selectionSet;return"fragment ".concat(r).concat(Re("(",q(n,", "),")")," ")+"on ".concat(a," ").concat(Re("",q(i," ")," "))+p},IntValue:function(t){var r=t.value;return r},FloatValue:function(t){var r=t.value;return r},StringValue:function(t,r){var a=t.value,n=t.block;return n?(0,Mg.printBlockString)(a,r==="description"?"":" "):JSON.stringify(a)},BooleanValue:function(t){var r=t.value;return r?"true":"false"},NullValue:function(){return"null"},EnumValue:function(t){var r=t.value;return r},ListValue:function(t){var r=t.values;return"["+q(r,", ")+"]"},ObjectValue:function(t){var r=t.fields;return"{"+q(r,", ")+"}"},ObjectField:function(t){var r=t.name,a=t.value;return r+": "+a},Directive:function(t){var r=t.name,a=t.arguments;return"@"+r+Re("(",q(a,", "),")")},NamedType:function(t){var r=t.name;return r},ListType:function(t){var r=t.type;return"["+r+"]"},NonNullType:function(t){var r=t.type;return r+"!"},SchemaDefinition:Kt(function(e){var t=e.directives,r=e.operationTypes;return q(["schema",q(t," "),Bt(r)]," ")}),OperationTypeDefinition:function(t){var r=t.operation,a=t.type;return r+": "+a},ScalarTypeDefinition:Kt(function(e){var t=e.name,r=e.directives;return q(["scalar",t,q(r," ")]," ")}),ObjectTypeDefinition:Kt(function(e){var t=e.name,r=e.interfaces,a=e.directives,n=e.fields;return q(["type",t,Re("implements ",q(r," & ")),q(a," "),Bt(n)]," ")}),FieldDefinition:Kt(function(e){var t=e.name,r=e.arguments,a=e.type,n=e.directives;return t+(im(r)?Re(`(
`,Ao(q(r,`
`)),`
)`):Re("(",q(r,", "),")"))+": "+a+Re(" ",q(n," "))}),InputValueDefinition:Kt(function(e){var t=e.name,r=e.type,a=e.defaultValue,n=e.directives;return q([t+": "+r,Re("= ",a),q(n," ")]," ")}),InterfaceTypeDefinition:Kt(function(e){var t=e.name,r=e.interfaces,a=e.directives,n=e.fields;return q(["interface",t,Re("implements ",q(r," & ")),q(a," "),Bt(n)]," ")}),UnionTypeDefinition:Kt(function(e){var t=e.name,r=e.directives,a=e.types;return q(["union",t,q(r," "),a&&a.length!==0?"= "+q(a," | "):""]," ")}),EnumTypeDefinition:Kt(function(e){var t=e.name,r=e.directives,a=e.values;return q(["enum",t,q(r," "),Bt(a)]," ")}),EnumValueDefinition:Kt(function(e){var t=e.name,r=e.directives;return q([t,q(r," ")]," ")}),InputObjectTypeDefinition:Kt(function(e){var t=e.name,r=e.directives,a=e.fields;return q(["input",t,q(r," "),Bt(a)]," ")}),DirectiveDefinition:Kt(function(e){var t=e.name,r=e.arguments,a=e.repeatable,n=e.locations;return"directive @"+t+(im(r)?Re(`(
`,Ao(q(r,`
`)),`
)`):Re("(",q(r,", "),")"))+(a?" repeatable":"")+" on "+q(n," | ")}),SchemaExtension:function(t){var r=t.directives,a=t.operationTypes;return q(["extend schema",q(r," "),Bt(a)]," ")},ScalarTypeExtension:function(t){var r=t.name,a=t.directives;return q(["extend scalar",r,q(a," ")]," ")},ObjectTypeExtension:function(t){var r=t.name,a=t.interfaces,n=t.directives,i=t.fields;return q(["extend type",r,Re("implements ",q(a," & ")),q(n," "),Bt(i)]," ")},InterfaceTypeExtension:function(t){var r=t.name,a=t.interfaces,n=t.directives,i=t.fields;return q(["extend interface",r,Re("implements ",q(a," & ")),q(n," "),Bt(i)]," ")},UnionTypeExtension:function(t){var r=t.name,a=t.directives,n=t.types;return q(["extend union",r,q(a," "),n&&n.length!==0?"= "+q(n," | "):""]," ")},EnumTypeExtension:function(t){var r=t.name,a=t.directives,n=t.values;return q(["extend enum",r,q(a," "),Bt(n)]," ")},InputObjectTypeExtension:function(t){var r=t.name,a=t.directives,n=t.fields;return q(["extend input",r,q(a," "),Bt(n)]," ")}};function Kt(e){return function(t){return q([t.description,e(t)],`
`)}}function q(e){var t,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return(t=e==null?void 0:e.filter(function(a){return a}).join(r))!==null&&t!==void 0?t:""}function Bt(e){return Re(`{
`,Ao(q(e,`
`)),`
}`)}function Re(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return t!=null&&t!==""?e+t+r:""}function Ao(e){return Re(" ",e.replace(/\n/g,`
`))}function Qg(e){return e.indexOf(`
`)!==-1}function im(e){return e!=null&&e.some(Qg)}});var qu=g(Vu=>{"use strict";Object.defineProperty(Vu,"__esModule",{value:!0});Vu.valueFromASTUntyped=Fu;var Ug=ku(se()),Gg=ku(et()),Kg=ku(Ai()),Sr=_e();function ku(e){return e&&e.__esModule?e:{default:e}}function Fu(e,t){switch(e.kind){case Sr.Kind.NULL:return null;case Sr.Kind.INT:return parseInt(e.value,10);case Sr.Kind.FLOAT:return parseFloat(e.value);case Sr.Kind.STRING:case Sr.Kind.ENUM:case Sr.Kind.BOOLEAN:return e.value;case Sr.Kind.LIST:return e.values.map(function(r){return Fu(r,t)});case Sr.Kind.OBJECT:return(0,Kg.default)(e.fields,function(r){return r.name.value},function(r){return Fu(r.value,t)});case Sr.Kind.VARIABLE:return t==null?void 0:t[e.name.value]}(0,Gg.default)(0,"Unexpected value node: "+(0,Ug.default)(e))}});var pe=g(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});G.isType=Mu;G.assertType=lm;G.isScalarType=Ra;G.assertScalarType=Hg;G.isObjectType=On;G.assertObjectType=Xg;G.isInterfaceType=Aa;G.assertInterfaceType=Zg;G.isUnionType=ka;G.assertUnionType=eb;G.isEnumType=Fa;G.assertEnumType=tb;G.isInputObjectType=Vi;G.assertInputObjectType=rb;G.isListType=Fo;G.assertListType=ab;G.isNonNullType=Hr;G.assertNonNullType=nb;G.isInputType=ju;G.assertInputType=ib;G.isOutputType=Cu;G.assertOutputType=pb;G.isLeafType=cm;G.assertLeafType=ob;G.isCompositeType=fm;G.assertCompositeType=sb;G.isAbstractType=mm;G.assertAbstractType=ub;G.GraphQLList=Xr;G.GraphQLNonNull=Zr;G.isWrappingType=qi;G.assertWrappingType=db;G.isNullableType=vm;G.assertNullableType=hm;G.getNullableType=lb;G.isNamedType=ym;G.assertNamedType=cb;G.getNamedType=fb;G.argsToArgsConfig=Tm;G.isRequiredArgument=mb;G.isRequiredInputField=gb;G.GraphQLInputObjectType=G.GraphQLEnumType=G.GraphQLUnionType=G.GraphQLInterfaceType=G.GraphQLObjectType=G.GraphQLScalarType=void 0;var pm=Tt(Tn()),Wr=pr(),Ee=Tt(se()),Bg=Tt(Br()),ko=Tt(Eu()),sr=Tt(Po()),De=Tt(Ft()),om=Tt(Ai()),Jr=Tt(Di()),zg=Tt(zr()),Yg=Tt(ir()),sm=Tt(am()),$r=Tt(mo()),Wg=Tt(Yr()),Fi=B(),Jg=_e(),um=_t(),$g=qu();function Tt(e){return e&&e.__esModule?e:{default:e}}function dm(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function wn(e,t,r){return t&&dm(e.prototype,t),r&&dm(e,r),e}function Mu(e){return Ra(e)||On(e)||Aa(e)||ka(e)||Fa(e)||Vi(e)||Fo(e)||Hr(e)}function lm(e){if(!Mu(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL type."));return e}function Ra(e){return(0,Jr.default)(e,xu)}function Hg(e){if(!Ra(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Scalar type."));return e}function On(e){return(0,Jr.default)(e,Qu)}function Xg(e){if(!On(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Object type."));return e}function Aa(e){return(0,Jr.default)(e,Uu)}function Zg(e){if(!Aa(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Interface type."));return e}function ka(e){return(0,Jr.default)(e,Gu)}function eb(e){if(!ka(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Union type."));return e}function Fa(e){return(0,Jr.default)(e,Ku)}function tb(e){if(!Fa(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Enum type."));return e}function Vi(e){return(0,Jr.default)(e,Bu)}function rb(e){if(!Vi(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Input Object type."));return e}function Fo(e){return(0,Jr.default)(e,Xr)}function ab(e){if(!Fo(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL List type."));return e}function Hr(e){return(0,Jr.default)(e,Zr)}function nb(e){if(!Hr(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Non-Null type."));return e}function ju(e){return Ra(e)||Fa(e)||Vi(e)||qi(e)&&ju(e.ofType)}function ib(e){if(!ju(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL input type."));return e}function Cu(e){return Ra(e)||On(e)||Aa(e)||ka(e)||Fa(e)||qi(e)&&Cu(e.ofType)}function pb(e){if(!Cu(
In some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.`,fields:function(){return{name:{type:new M.GraphQLNonNull(Te.GraphQLString),resolve:function(r){return r.name}},description:{type:Te.GraphQLString,resolve:function(r){return r.description}},isRepeatable:{type:new M.GraphQLNonNull(Te.GraphQLBoolean),resolve:function(r){return r.isRepeatable}},locations:{type:new M.GraphQLNonNull(new M.GraphQLList(new M.GraphQLNonNull(ad))),resolve:function(r){return r.locations}},args:{type:new M.GraphQLNonNull(new M.GraphQLList(new M.GraphQLNonNull(Bi))),args:{includeDeprecated:{type:Te.GraphQLBoolean,defaultValue:!1}},resolve:function(r,a){var n=a.includeDeprecated;return n?r.args:r.args.filter(function(i){return i.deprecationReason==null})}}}}});ye.__Directive=rd;var ad=new M.GraphQLEnumType({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:Ye.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:Ye.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:Ye.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:Ye.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:Ye.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:Ye.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:Ye.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:Ye.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:Ye.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:Ye.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:Ye.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:Ye.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:Ye.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:Ye.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:Ye.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:Ye.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:Ye.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:Ye.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:Ye.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}});ye.__DirectiveLocation=ad;var qt=new M.GraphQLObjectType({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 M.GraphQLNonNull(pd),resolve:function(r){if((0,M.isScalarType)(r))return tt.SCALAR;if((0,M.isObjectType)(r))return tt.OBJECT;if((0,M.is
`))}var E_=function(){function e(r){this._errors=[],this.schema=r}var t=e.prototype;return t.reportError=function(a,n){var i=Array.isArray(n)?n.filter(Boolean):n;this.addError(new g_.GraphQLError(a,i))},t.addError=function(a){this._errors.push(a)},t.getErrors=function(){return this._errors},e}();function S_(e){var t=e.schema,r=t.getQueryType();if(!r)e.reportError("Query root type must be provided.",t.astNode);else if(!(0,Ge.isObjectType)(r)){var a;e.reportError("Query root type must be Object type, it cannot be ".concat((0,it.default)(r),"."),(a=ld(t,"query"))!==null&&a!==void 0?a:r.astNode)}var n=t.getMutationType();if(n&&!(0,Ge.isObjectType)(n)){var i;e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat((0,it.default)(n),"."),(i=ld(t,"mutation"))!==null&&i!==void 0?i:n.astNode)}var p=t.getSubscriptionType();if(p&&!(0,Ge.isObjectType)(p)){var o;e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat((0,it.default)(p),"."),(o=ld(t,"subscription"))!==null&&o!==void 0?o:p.astNode)}}function ld(e,t){for(var r=cd(e,function(i){return i.operationTypes}),a=0;a<r.length;a++){var n=r[a];if(n.operation===t)return n.type}}function N_(e){for(var t=0,r=e.schema.getDirectives();t<r.length;t++){var a=r[t];if(!(0,Wm.isDirective)(a)){e.reportError("Expected directive but got: ".concat((0,it.default)(a),"."),a==null?void 0:a.astNode);continue}Ca(e,a);for(var n=0,i=a.args;n<i.length;n++){var p=i[n];if(Ca(e,p),(0,Ge.isInputType)(p.type)||e.reportError("The type of @".concat(a.name,"(").concat(p.name,":) must be Input Type ")+"but got: ".concat((0,it.default)(p.type),"."),p.astNode),(0,Ge.isRequiredArgument)(p)&&p.deprecationReason!=null){var o;e.reportError("Required argument @".concat(a.name,"(").concat(p.name,":) cannot be deprecated."),[fd(p.astNode),(o=p.astNode)===null||o===void 0?void 0:o.type])}}}}function Ca(e,t){var r=(0,__.isValidNameError)(t.name);r&&e.addError((0,b_.locatedError)(r,t.astNode))}function D_(e){for(var t=k_(e),r=e.schema.getTypeMap(),a=0,n=(0,zi.default)(r);a<n.length;a++){var i=n[a];if(!(0,Ge.isNamedType)(i)){e.reportError("Expected GraphQL named type but got: ".concat((0,it.default)(i),"."),i.astNode);continue}(0,w_.isIntrospectionType)(i)||Ca(e,i),(0,Ge.isObjectType)(i)||(0,Ge.isInterfaceType)(i)?($m(e,i),Hm(e,i)):(0,Ge.isUnionType)(i)?P_(e,i):(0,Ge.isEnumType)(i)?R_(e,i):(0,Ge.isInputObjectType)(i)&&(A_(e,i),t(i))}}function $m(e,t){var r=(0,zi.default)(t.getFields());r.length===0&&e.reportError("Type ".concat(t.name," must define one or more fields."),In(t));for(var a=0;a<r.length;a++){var n=r[a];if(Ca(e,n),!(0,Ge.isOutputType)(n.type)){var i;e.reportError("The type of ".concat(t.name,".").concat(n.name," must be Output Type ")+"but got: ".concat((0,it.default)(n.type),"."),(i=n.astNode)===null||i===void 0?void 0:i.type)}for(var p=0,o=n.args;p<o.length;p++){var s=o[p],u=s.name;if(Ca(e,s),!(0,Ge.isInputType)(s.type)){var d;e.reportError("The type of ".concat(t.name,".").concat(n.name,"(").concat(u,":) must be Input ")+"Type but got: ".concat((0,it.default)(s.type),"."),(d=s.astNode)===null||d===void 0?void 0:d.type)}if((0,Ge.isRequiredArgument)(s)&&s.deprecationReason!=null){var l;e.reportError("Required argument ".concat(t.name,".").concat(n.name,"(").concat(u,":) cannot be deprecated."),[fd(s.astNode),(l=s.astNode)===null||l===void 0?void 0:l.type])}}}}function Hm(e,t){for(var r=Object.create(null),a=0,n=t.getInterfaces();a<n.length;a++){var i=n[a];if(!(0,Ge.isInterfaceType)(i)){e.reportError("Type ".concat((0,it.default)(t)," must only implement Interface types, ")+"it cannot implement ".concat((0,it.default)(i),"."),Yi(t,i));continue}if(t===i){e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),Yi(t,i));continue}if(r[i.name]){e.reportError("Type ".concat(t.name," can only implement ").concat(i.name," once."),Yi(t,i));continue}r[i.name]=!0,L_(e,t,i),I_(e,t,i)}}function I_(e,t,r){for(var a=t.getFields(),n=0,i=(0,zi.default)(r.getFields());n<i.length;n++){var p=i[n],o=p.name
`))}function PO(e,t){var r=xl(e,t);if(r.length!==0)throw new Error(r.map(function(a){return a.message}).join(`
`))}});var h4=g(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.default=RO;function RO(e){var t;return function(a,n,i){t||(t=new WeakMap);var p=t.get(a),o;if(p){if(o=p.get(n),o){var s=o.get(i);if(s!==void 0)return s}}else p=new WeakMap,t.set(a,p);o||(o=new WeakMap,p.set(n,o));var u=e(a,n,i);return o.set(i,u),u}}});var y4=g(Ul=>{"use strict";Object.defineProperty(Ul,"__esModule",{value:!0});Ul.default=FO;var AO=kO(ao());function kO(e){return e&&e.__esModule?e:{default:e}}function FO(e,t,r){return e.reduce(function(a,n){return(0,AO.default)(a)?a.then(function(i){return t(i,n)}):t(a,n)},r)}});var g4=g(Gl=>{"use strict";Object.defineProperty(Gl,"__esModule",{value:!0});Gl.default=VO;function VO(e){var t=Object.keys(e),r=t.map(function(a){return e[a]});return Promise.all(r).then(function(a){return a.reduce(function(n,i,p){return n[t[p]]=i,n},Object.create(null))})}});var Zi=g(s1=>{"use strict";Object.defineProperty(s1,"__esModule",{value:!0});s1.addPath=qO;s1.pathToArray=MO;function qO(e,t,r){return{prev:e,key:t,typename:r}}function MO(e){for(var t=[],r=e;r;)t.push(r.key),r=r.prev;return t.reverse()}});var d1=g(Kl=>{"use strict";Object.defineProperty(Kl,"__esModule",{value:!0});Kl.getOperationRootType=jO;var u1=B();function jO(e,t){if(t.operation==="query"){var r=e.getQueryType();if(!r)throw new u1.GraphQLError("Schema does not define the required query root type.",t);return r}if(t.operation==="mutation"){var a=e.getMutationType();if(!a)throw new u1.GraphQLError("Schema is not configured for mutations.",t);return a}if(t.operation==="subscription"){var n=e.getSubscriptionType();if(!n)throw new u1.GraphQLError("Schema is not configured for subscriptions.",t);return n}throw new u1.GraphQLError("Can only have query, mutation and subscription operations.",t)}});var zl=g(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.default=CO;function CO(e){return e.map(function(t){return typeof t=="number"?"["+t.toString()+"]":"."+t}).join("")}});var tp=g(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.valueFromAST=ep;var xO=l1(bt()),QO=l1(Br()),UO=l1(se()),GO=l1(et()),Vn=_e(),Ga=pe();function l1(e){return e&&e.__esModule?e:{default:e}}function ep(e,t,r){if(!!e){if(e.kind===Vn.Kind.VARIABLE){var a=e.name.value;if(r==null||r[a]===void 0)return;var n=r[a];return n===null&&(0,Ga.isNonNullType)(t)?void 0:n}if((0,Ga.isNonNullType)(t))return e.kind===Vn.Kind.NULL?void 0:ep(e,t.ofType,r);if(e.kind===Vn.Kind.NULL)return null;if((0,Ga.isListType)(t)){var i=t.ofType;if(e.kind===Vn.Kind.LIST){for(var p=[],o=0,s=e.values;o<s.length;o++){var u=s[o];if(b4(u,r)){if((0,Ga.isNonNullType)(i))return;p.push(null)}else{var d=ep(u,i,r);if(d===void 0)return;p.push(d)}}return p}var l=ep(e,i,r);return l===void 0?void 0:[l]}if((0,Ga.isInputObjectType)(t)){if(e.kind!==Vn.Kind.OBJECT)return;for(var c=Object.create(null),f=(0,QO.default)(e.fields,function(O){return O.name.value}),m=0,v=(0,xO.default)(t.getFields());m<v.length;m++){var h=v[m],y=f[h.name];if(!y||b4(y.value,r)){if(h.defaultValue!==void 0)c[h.name]=h.defaultValue;else if((0,Ga.isNonNullType)(h.type))return;continue}var T=ep(y.value,h.type,r);if(T===void 0)return;c[h.name]=T}return c}if((0,Ga.isLeafType)(t)){var w;try{w=t.parseLiteral(e,r)}catch{return}return w===void 0?void 0:w}(0,GO.default)(0,"Unexpected input type: "+(0,UO.default)(t))}}function b4(e,t){return e.kind===Vn.Kind.VARIABLE&&(t==null||t[e.name.value]===void 0)}});var Jl=g(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl.coerceInputValue=HO;var KO=aa(bt()),c1=aa(se()),BO=aa(et()),zO=aa(zr()),YO=aa(ir()),WO=aa(Qo()),JO=aa(Yr()),$O=aa(zl()),Nr=Zi(),Ka=B(),rp=pe();function aa(e){return e&&e.__esModule?e:{default:e}}function HO(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:XO;return ap(e,t,r)}function XO(e,t,r){var a="Invalid value "+(0,c1.default)(t);throw e.length>0&&(a+=' at "value'.concat((0,$O.default)(e),'"')),r.message=a+": "+r.message,r}function ap(e,t,r,a){if((0,rp.isNonNullType)(t)){if(e!=null)return ap(e,t.ofType,r,a);r((0,Nr.pat
query IntrospectionQuery {
__schema {
`.concat(i,`
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
`).concat(r,`
`).concat(n,`
locations
args`).concat(p("(includeDeprecated: true)"),` {
...InputValue
}
}
}
}
fragment FullType on __Type {
kind
name
`).concat(r,`
`).concat(a,`
fields(includeDeprecated: true) {
name
`).concat(r,`
args`).concat(p("(includeDeprecated: true)"),` {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields`).concat(p("(includeDeprecated: true)"),` {
...InputValue
}
interfaces {
...TypeRef
}
enumValues(includeDeprecated: true) {
name
`).concat(r,`
isDeprecated
deprecationReason
}
possibleTypes {
...TypeRef
}
}
fragment InputValue on __InputValue {
name
`).concat(r,`
type { ...TypeRef }
defaultValue
`).concat(p("isDeprecated"),`
`).concat(p("deprecationReason"),`
}
fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
}
}
`)}});var f9=g(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});mc.getOperationAST=XS;var HS=_e();function XS(e,t){for(var r=null,a=0,n=e.definitions;a<n.length;a++){var i=n[a];if(i.kind===HS.Kind.OPERATION_DEFINITION){var p;if(t==null){if(r)return null;r=i}else if(((p=i.name)===null||p===void 0?void 0:p.value)===t)return i}}return r}});var v9=g(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.introspectionFromSchema=pN;var ZS=aN(et()),eN=gn(),tN=up(),rN=fc();function aN(e){return e&&e.__esModule?e:{default:e}}function m9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function nN(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?m9(Object(r),!0).forEach(function(a){iN(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m9(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function iN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pN(e,t){var r=nN({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),a=(0,eN.parse)((0,rN.getIntrospectionQuery)(r)),n=(0,tN.executeSync)({schema:e,document:a});return!n.errors&&n.data||(0,ZS.default)(0),n.data}});var y9=g(hc=>{"use strict";Object.defineProperty(hc,"__esModule",{value:!0});hc.buildClientSchema=mN;var oN=lp(bt()),Ot=lp(se()),sN=lp(Ft()),O1=lp(Ai()),h9=lp(ir()),uN=gn(),dN=ja(),lN=ct(),cN=ur(),mr=Mt(),Et=pe(),fN=tp();function lp(e){return e&&e.__esModule?e:{default:e}}function mN(e,t){(0,h9.default)(e)&&(0,h9.default)(e.__schema)||(0,sN.default)(0,'Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: '.concat((0,Ot.default)(e),"."));for(var r=e.__schema,a=(0,O1.default)(r.types,function(S){return S.name},function(S){return v(S)}),n=0,i=[].concat(cN.specifiedScalarTypes,mr.introspectionTypes);n<i.length;n++){var p=i[n];a[p.name]&&(a[p.name]=p)}var o=r.queryType?f(r.queryType):null,s=r.mutationType?f(r.mutationType):null,u=r.subscriptionType?f(r.subscriptionType):null,d=r.directives?r.directives.map(Qe):[];return new dN.GraphQLSchema({description:r.description,query:o,mutation:s,subscription:u,types:(0,oN.default)(a),directives:d,assumeValid:t==null?void 0:t.assumeValid});function l(S){if(S.kind===mr.TypeKind.LIST){var z=S.ofType;if(!z)throw new Error("Decorated type deeper than introspection query.");return new Et.GraphQLList(l(z))}if(S.kind===mr.TypeKind.NON_NULL){var fe=S.ofType;if(!fe)throw new Error("Decorated type deeper than introspection query.");var Pe=l(fe);return new Et.GraphQLNonNull((0,Et.assertNullableType)(Pe))}return c(S)}function c(S){var z=S.name;if(!z)throw new Error("Unknown type reference: ".concat((0,Ot.default)(S),"."));var fe=a[z];if(!fe)throw new Error("Invalid or incomplete schema, unknown type: ".concat(z,". Ensure that a full introspection query is used in order to build a client schema."));return fe}function f(S){return(0,Et.assertObjectType)(c(S))}function m(S){return(0,Et.assertInterfaceType)(c(S))}function v(S){if(S!=null&&S.name!=null&&S.kind!=null)switch(S.kind){case mr.TypeKind.SCALAR:return h(S);case mr.TypeKind.OBJECT:return T(S);case mr.TypeKind.INTERFACE:return w(S);case mr.TypeKind.UNION:return O(S);case mr.TypeKind.ENUM:return E(S);case mr.TypeKind.INPUT_OBJECT:return D(S)}var z=(0,Ot.default)(S);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(z,"."))}function h(S){return new Et.GraphQLScalarType({name:S.name,description:S.description,specifiedByUrl:S.specifiedByUrl})}function y(S){if(S.interfaces===null&&S.kind===mr.TypeKind.INTERFACE)return[];if(!S.interfaces){var z=(0,Ot.default)(S);t
`+r)}}function ON(e){var t=e.loc;if(!!t){for(var r=[],a=t.startToken.prev;a!=null&&a.kind===gN.TokenKind.COMMENT&&a.next&&a.prev&&a.line+1===a.next.line&&a.line!==a.prev.line;){var n=String(a.value);r.push(n),a=a.prev}return r.length>0?r.reverse().join(`
`):void 0}}});var A9=g(N1=>{"use strict";Object.defineProperty(N1,"__esModule",{value:!0});N1.buildASTSchema=R9;N1.buildSchema=RN;var EN=PN(Ft()),SN=_e(),NN=gn(),DN=Fn(),IN=ja(),P9=ct(),LN=yc();function PN(e){return e&&e.__esModule?e:{default:e}}function R9(e,t){e!=null&&e.kind===SN.Kind.DOCUMENT||(0,EN.default)(0,"Must provide valid Document AST."),(t==null?void 0:t.assumeValid)!==!0&&(t==null?void 0:t.assumeValidSDL)!==!0&&(0,DN.assertValidSDL)(e);var r={description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},a=(0,LN.extendSchemaImpl)(r,e,t);if(a.astNode==null)for(var n=0,i=a.types;n<i.length;n++){var p=i[n];switch(p.name){case"Query":a.query=p;break;case"Mutation":a.mutation=p;break;case"Subscription":a.subscription=p;break}}for(var o=a.directives,s=function(l){var c=P9.specifiedDirectives[l];o.every(function(f){return f.name!==c.name})&&o.push(c)},u=0;u<P9.specifiedDirectives.length;u++)s(u);return new IN.GraphQLSchema(a)}function RN(e,t){var r=(0,NN.parse)(e,{noLocation:t==null?void 0:t.noLocation,allowLegacySDLEmptyFields:t==null?void 0:t.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:t==null?void 0:t.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:t==null?void 0:t.experimentalFragmentVariables});return R9(r,{commentDescriptions:t==null?void 0:t.commentDescriptions,assumeValidSDL:t==null?void 0:t.assumeValidSDL,assumeValid:t==null?void 0:t.assumeValid})}});var F9=g(_c=>{"use strict";Object.defineProperty(_c,"__esModule",{value:!0});_c.lexicographicSortSchema=QN;var AN=mp(bt()),kN=mp(se()),FN=mp(et()),VN=mp(Ai()),qN=mp(ki()),MN=ja(),jN=ct(),CN=Mt(),dt=pe();function mp(e){return e&&e.__esModule?e:{default:e}}function k9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function Be(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?k9(Object(r),!0).forEach(function(a){xN(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k9(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function xN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function QN(e){var t=e.toConfig(),r=(0,VN.default)(gc(t.types),function(c){return c.name},l);return new MN.GraphQLSchema(Be(Be({},t),{},{types:(0,AN.default)(r),directives:gc(t.directives).map(p),query:i(t.query),mutation:i(t.mutation),subscription:i(t.subscription)}));function a(c){return(0,dt.isListType)(c)?new dt.GraphQLList(a(c.ofType)):(0,dt.isNonNullType)(c)?new dt.GraphQLNonNull(a(c.ofType)):n(c)}function n(c){return r[c.name]}function i(c){return c&&n(c)}function p(c){var f=c.toConfig();return new jN.GraphQLDirective(Be(Be({},f),{},{locations:bc(f.locations,function(m){return m}),args:o(f.args)}))}function o(c){return D1(c,function(f){return Be(Be({},f),{},{type:a(f.type)})})}function s(c){return D1(c,function(f){return Be(Be({},f),{},{type:a(f.type),args:o(f.args)})})}function u(c){return D1(c,function(f){return Be(Be({},f),{},{type:a(f.type)})})}function d(c){return gc(c).map(n)}function l(c){if((0,dt.isScalarType)(c)||(0,CN.isIntrospectionType)(c))return c;if((0,dt.isObjectType)(c)){var f=c.toConfig();return new dt.GraphQLObjectType(Be(Be({},f),{},{interfaces:function(){return d(f.interfaces)},fields:function(){return s(f.fields)}}))}if((0,dt.isInterfaceType)(c)){var m=c.toConfig();return new dt.GraphQLInterfaceType(Be(Be({},m),{},{interfaces:function(){return d(m.interfaces)},fields:function(){return s(m.fields)}}))}if((0,dt.isUnionType)(c)){var v=c.toConfig();return new dt.GraphQLUnionType(Be(Be({},v),{},{types:function(){return d(v.types)}}))}if((0,dt.isEnumType)(c)){var h=c.toConfig();return new dt.GraphQLEnumType(Be(Be({},h),{},{values:D1(h.values)}))}if((0,dt.isInputObjectType)(c)){var y=c.toConfig();return new dt.GraphQLInputObjectType(Be(Be(
`)+`
`}function YN(e){if(!(e.description==null&&WN(e))){var t=[],r=e.getQueryType();r&&t.push(" query: ".concat(r.name));var a=e.getMutationType();a&&t.push(" mutation: ".concat(a.name));var n=e.getSubscriptionType();return n&&t.push(" subscription: ".concat(n.name)),xt({},e)+`schema {
`.concat(t.join(`
`),`
}`)}}function WN(e){var t=e.getQueryType();if(t&&t.name!=="Query")return!1;var r=e.getMutationType();if(r&&r.name!=="Mutation")return!1;var a=e.getSubscriptionType();return!(a&&a.name!=="Subscription")}function j9(e,t){if((0,Un.isScalarType)(e))return JN(e,t);if((0,Un.isObjectType)(e))return $N(e,t);if((0,Un.isInterfaceType)(e))return HN(e,t);if((0,Un.isUnionType)(e))return XN(e,t);if((0,Un.isEnumType)(e))return ZN(e,t);if((0,Un.isInputObjectType)(e))return eD(e,t);(0,V9.default)(0,"Unexpected type: "+(0,UN.default)(e))}function JN(e,t){return xt(t,e)+"scalar ".concat(e.name)+rD(e)}function C9(e){var t=e.getInterfaces();return t.length?" implements "+t.map(function(r){return r.name}).join(" & "):""}function $N(e,t){return xt(t,e)+"type ".concat(e.name)+C9(e)+x9(t,e)}function HN(e,t){return xt(t,e)+"interface ".concat(e.name)+C9(e)+x9(t,e)}function XN(e,t){var r=e.getTypes(),a=r.length?" = "+r.join(" | "):"";return xt(t,e)+"union "+e.name+a}function ZN(e,t){var r=e.getValues().map(function(a,n){return xt(t,a," ",!n)+" "+a.name+Lc(a.deprecationReason)});return xt(t,e)+"enum ".concat(e.name)+Dc(r)}function eD(e,t){var r=(0,Tc.default)(e.getFields()).map(function(a,n){return xt(t,a," ",!n)+" "+Ic(a)});return xt(t,e)+"input ".concat(e.name)+Dc(r)}function x9(e,t){var r=(0,Tc.default)(t.getFields()).map(function(a,n){return xt(e,a," ",!n)+" "+a.name+Q9(e,a.args," ")+": "+String(a.type)+Lc(a.deprecationReason)});return Dc(r)}function Dc(e){return e.length!==0?` {
`+e.join(`
`)+`
}`:""}function Q9(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return t.length===0?"":t.every(function(a){return!a.description})?"("+t.map(Ic).join(", ")+")":`(
`+t.map(function(a,n){return xt(e,a," "+r,!n)+" "+r+Ic(a)}).join(`
`)+`
`+r+")"}function Ic(e){var t=(0,Sc.astFromValue)(e.defaultValue,e.type),r=e.name+": "+String(e.type);return t&&(r+=" = ".concat((0,wc.print)(t))),r+Lc(e.deprecationReason)}function tD(e,t){return xt(t,e)+"directive @"+e.name+Q9(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}function Lc(e){if(e==null)return"";var t=(0,Sc.astFromValue)(e,Oc.GraphQLString);return t&&e!==Ec.DEFAULT_DEPRECATION_REASON?" @deprecated(reason: "+(0,wc.print)(t)+")":" @deprecated"}function rD(e){if(e.specifiedByUrl==null)return"";var t=e.specifiedByUrl,r=(0,Sc.astFromValue)(t,Oc.GraphQLString);return r||(0,V9.default)(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+(0,wc.print)(r)+")"}function xt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"",a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,n=t.description;if(n==null)return"";if((e==null?void 0:e.commentDescriptions)===!0)return aD(n,r,a);var i=n.length>70,p=(0,GN.printBlockString)(n,"",i),o=r&&!a?`
`+r:r;return o+p.replace(/\n/g,`
`+r)+`
`}function aD(e,t,r){var a=t&&!r?`
`:"",n=e.split(`
`).map(function(i){return t+(i!==""?"# "+i:"#")}).join(`
`);return a+n+`
`}});var G9=g(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.concatAST=nD;function nD(e){for(var t=[],r=0;r<e.length;r++){var a=e[r];t=t.concat(a.definitions)}return{kind:"Document",definitions:t}}});var z9=g(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.separateOperations=pD;var I1=_e(),iD=Kr();function pD(e){for(var t=[],r=Object.create(null),a=0,n=e.definitions;a<n.length;a++){var i=n[a];switch(i.kind){case I1.Kind.OPERATION_DEFINITION:t.push(i);break;case I1.Kind.FRAGMENT_DEFINITION:r[i.name.value]=B9(i.selectionSet);break}}for(var p=Object.create(null),o=function(d){for(var l=t[d],c=new Set,f=0,m=B9(l.selectionSet);f<m.length;f++){var v=m[f];K9(c,r,v)}var h=l.name?l.name.value:"";p[h]={kind:I1.Kind.DOCUMENT,definitions:e.definitions.filter(function(y){return y===l||y.kind===I1.Kind.FRAGMENT_DEFINITION&&c.has(y.name.value)})}},s=0;s<t.length;s++)o(s);return p}function K9(e,t,r){if(!e.has(r)){e.add(r);var a=t[r];if(a!==void 0)for(var n=0;n<a.length;n++){var i=a[n];K9(e,t,i)}}}function B9(e){var t=[];return(0,iD.visit)(e,{FragmentSpread:function(a){t.push(a.name.value)}}),t}});var $9=g(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.stripIgnoredCharacters=oD;var Y9=_o(),Ac=vn(),W9=Oo(),J9=yn();function oD(e){for(var t=(0,Y9.isSource)(e)?e:new Y9.Source(e),r=t.body,a=new W9.Lexer(t),n="",i=!1;a.advance().kind!==Ac.TokenKind.EOF;){var p=a.token,o=p.kind,s=!(0,W9.isPunctuatorTokenKind)(p.kind);i&&(s||p.kind===Ac.TokenKind.SPREAD)&&(n+=" ");var u=r.slice(p.start,p.end);o===Ac.TokenKind.BLOCK_STRING?n+=sD(u):n+=u,i=s}return n}function sD(e){var t=e.slice(3,-3),r=(0,J9.dedentBlockStringValue)(t);(0,J9.getBlockStringIndentation)(r)>0&&(r=`
`+r);var a=r[r.length-1],n=a==='"'&&r.slice(-4)!=='\\"""';return(n||a==="\\")&&(r+=`
`),'"""'+r+'"""'}});var p3=g(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.findBreakingChanges=hD;ia.findDangerousChanges=yD;ia.DangerousChangeType=ia.BreakingChangeType=void 0;var Gn=hp(bt()),H9=hp(Br()),uD=hp(se()),X9=hp(et()),dD=hp(ki()),lD=_t(),cD=Kr(),fD=ur(),le=pe(),mD=Ki();function hp(e){return e&&e.__esModule?e:{default:e}}function Z9(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,a)}return r}function e3(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Z9(Object(r),!0).forEach(function(a){vD(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Z9(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function vD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ze=Object.freeze({TYPE_REMOVED:"TYPE_REMOVED",TYPE_CHANGED_KIND:"TYPE_CHANGED_KIND",TYPE_REMOVED_FROM_UNION:"TYPE_REMOVED_FROM_UNION",VALUE_REMOVED_FROM_ENUM:"VALUE_REMOVED_FROM_ENUM",REQUIRED_INPUT_FIELD_ADDED:"REQUIRED_INPUT_FIELD_ADDED",IMPLEMENTED_INTERFACE_REMOVED:"IMPLEMENTED_INTERFACE_REMOVED",FIELD_REMOVED:"FIELD_REMOVED",FIELD_CHANGED_KIND:"FIELD_CHANGED_KIND",REQUIRED_ARG_ADDED:"REQUIRED_ARG_ADDED",ARG_REMOVED:"ARG_REMOVED",ARG_CHANGED_KIND:"ARG_CHANGED_KIND",DIRECTIVE_REMOVED:"DIRECTIVE_REMOVED",DIRECTIVE_ARG_REMOVED:"DIRECTIVE_ARG_REMOVED",REQUIRED_DIRECTIVE_ARG_ADDED:"REQUIRED_DIRECTIVE_ARG_ADDED",DIRECTIVE_REPEATABLE_REMOVED:"DIRECTIVE_REPEATABLE_REMOVED",DIRECTIVE_LOCATION_REMOVED:"DIRECTIVE_LOCATION_REMOVED"});ia.BreakingChangeType=ze;var Rr=Object.freeze({VALUE_ADDED_TO_ENUM:"VALUE_ADDED_TO_ENUM",TYPE_ADDED_TO_UNION:"TYPE_ADDED_TO_UNION",OPTIONAL_INPUT_FIELD_ADDED:"OPTIONAL_INPUT_FIELD_ADDED",OPTIONAL_ARG_ADDED:"OPTIONAL_ARG_ADDED",IMPLEMENTED_INTERFACE_ADDED:"IMPLEMENTED_INTERFACE_ADDED",ARG_DEFAULT_VALUE_CHANGE:"ARG_DEFAULT_VALUE_CHANGE"});ia.DangerousChangeType=Rr;function hD(e,t){var r=t3(e,t).filter(function(a){return a.type in ze});return r}function yD(e,t){var r=t3(e,t).filter(function(a){return a.type in Rr});return r}function t3(e,t){return[].concat(bD(e,t),gD(e,t))}function gD(e,t){for(var r=[],a=Ar(e.getDirectives(),t.getDirectives()),n=0,i=a.removed;n<i.length;n++){var p=i[n];r.push({type:ze.DIRECTIVE_REMOVED,description:"".concat(p.name," was removed.")})}for(var o=0,s=a.persisted;o<s.length;o++){for(var u=s[o],d=u[0],l=u[1],c=Ar(d.args,l.args),f=0,m=c.added;f<m.length;f++){var v=m[f];(0,le.isRequiredArgument)(v)&&r.push({type:ze.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(v.name," on directive ").concat(d.name," was added.")})}for(var h=0,y=c.removed;h<y.length;h++){var T=y[h];r.push({type:ze.DIRECTIVE_ARG_REMOVED,description:"".concat(T.name," was removed from ").concat(d.name,".")})}d.isRepeatable&&!l.isRepeatable&&r.push({type:ze.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(d.name,".")});for(var w=0,O=d.locations;w<O.length;w++){var E=O[w];l.locations.indexOf(E)===-1&&r.push({type:ze.DIRECTIVE_LOCATION_REMOVED,description:"".concat(E," was removed from ").concat(d.name,".")})}}return r}function bD(e,t){for(var r=[],a=Ar((0,Gn.default)(e.getTypeMap()),(0,Gn.default)(t.getTypeMap())),n=0,i=a.removed;n<i.length;n++){var p=i[n];r.push({type:ze.TYPE_REMOVED,description:(0,fD.isSpecifiedScalarType)(p)?"Standard scalar ".concat(p.name," was removed because it is not referenced anymore."):"".concat(p.name," was removed.")})}for(var o=0,s=a.persisted;o<s.length;o++){var u=s[o],d=u[0],l=u[1];(0,le.isEnumType)(d)&&(0,le.isEnumType)(l)?r.push.apply(r,wD(d,l)):(0,le.isUnionType)(d)&&(0,le.isUnionType)(l)?r.push.apply(r,TD(d,l)):(0,le.isInputObjectType)(d)&&(0,le.isInputObjectType)(l)?r.push.apply(r,_D(d,l)):(0,le.isObjectType)(d)&&(0,le.isObjectType)(l)||(0,le.isInterfaceType)(d)&&(0,le.isInterfaceType)
"fetch" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:
import fetch from 'cross-fetch';
import { ApolloClient, HttpLink } from '@apollo/client';
const client = new ApolloClient({
link: new HttpLink({ uri: '/graphql', fetch })
});
`):new C1.InvariantError(22)},l5=function(){if(typeof AbortController=="undefined")return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},c5=function(e,t){var r=e.getContext(),a=r.uri;return a||(typeof t=="function"?t(e):t||"/graphql")};function f5(e,t){var r=[],a=function(l,c){r.push(l+"="+encodeURIComponent(c))};if("query"in t&&a("query",t.query),t.operationName&&a("operationName",t.operationName),t.variables){var n=void 0;try{n=Q1(t.variables,"Variables map")}catch(l){return{parseError:l}}a("variables",n)}if(t.extensions){var i=void 0;try{i=Q1(t.extensions,"Extensions map")}catch(l){return{parseError:l}}a("extensions",i)}var p="",o=e,s=e.indexOf("#");s!==-1&&(p=e.substr(s),o=e.substr(0,s));var u=o.indexOf("?")===-1?"?":"&",d=o+u+r.join("&")+p;return{newURI:d}}var m5=o0.maybe(function(){return fetch}),v5=function(e){e===void 0&&(e={});var t=e.uri,r=t===void 0?"/graphql":t,a=e.fetch,n=e.includeExtensions,i=e.useGETForQueries,p=e.includeUnusedVariables,o=p===void 0?!1:p,s=vt.__rest(e,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&d5(a||m5);var u={http:{includeExtensions:n},options:s.fetchOptions,credentials:s.credentials,headers:s.headers};return new i5.ApolloLink(function(d){var l=c5(d,r),c=d.getContext(),f={};if(c.clientAwareness){var m=c.clientAwareness,v=m.name,h=m.version;v&&(f["apollographql-client-name"]=v),h&&(f["apollographql-client-version"]=h)}var y=vt.__assign(vt.__assign({},f),c.headers),T={http:c.http,options:c.fetchOptions,credentials:c.credentials,headers:y},w=u5(d,s5,u,T),O=w.options,E=w.body;if(E.variables&&!o){var D=new Set(Object.keys(E.variables));n5.visit(d.query,{Variable:function(Pe,At,ke){ke&&ke.kind!=="VariableDefinition"&&D.delete(Pe.name.value)}}),D.size&&(E.variables=vt.__assign({},E.variables),D.forEach(function(Pe){delete E.variables[Pe]}))}var L;if(!O.signal){var P=l5(),K=P.controller,be=P.signal;L=K,L&&(O.signal=be)}var Qe=function(Pe){return Pe.kind==="OperationDefinition"&&Pe.operation==="mutation"};if(i&&!d.query.definitions.some(Qe)&&(O.method="GET"),O.method==="GET"){var S=f5(l,E),z=S.newURI,fe=S.parseError;if(fe)return x1.fromError(fe);l=z}else try{O.body=Q1(E,"Payload")}catch(Pe){return x1.fromError(Pe)}return new o0.Observable(function(Pe){var At=a||o0.maybe(function(){return fetch})||m5;return At(l,O).then(function(ke){return d.setContext({response:ke}),ke}).then(o5(d)).then(function(ke){return Pe.next(ke),Pe.complete(),ke}).catch(function(ke){ke.name!=="AbortError"&&(ke.result&&ke.result.errors&&ke.result.data&&Pe.next(ke.result),Pe.error(ke))}),function(){L&&L.abort()}})})},fL=function(e){vt.__extends(t,e);function t(r){r===void 0&&(r={});var a=e.call(this,v5(r).request)||this;return a.options=r,a}return t}(i5.ApolloLink);Qt.HttpLink=fL;Qt.checkFetcher=d5;Qt.createHttpLink=v5;Qt.createSignalIfSupported=l5;Qt.fallbackHttpConfig=s5;Qt.parseAndCheckHttpResponse=o5;Qt.rewriteURIForGET=f5;Qt.selectHttpOptionsAndBody=u5;Qt.selectURI=c5;Qt.serializeFetchParameter=Q1});var Ep=g(U1=>{"use strict";Object.defineProperty(U1,"__esModule",{value:!0});var y5=Object.prototype,g5=y5.toString,mL=y5.hasOwnProperty,b5=Function.prototype.toString,s0=new Map;function _5(e,t){try{return u0(e,t)}finally{s0.clear()}}function u0(e,t){if(e===t)return!0;var r=g5.call(e),a=g5.call(t);if(r!==a)return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(w5(e,t))return!0;var n=T5(e),i=T5(t),p=n.length;if(p!==i.length)return!1;for(var o=0;o<p;++o)if(!mL.call(t,n[o]))return!1;for(var o=0;o<p;++o){var s=n[o];if(!u0(e[s],t[s]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==""+t;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(w5(e,t))return!0;for(var u=e.entries(),d=r==="[object Map]";;){var l=u.next();if(l.done)break;var c=l.value,f=c[0],m=c[1];if(!t.has(f)||d&&!u0(m,t.get(f
To address this problem (which is not a bug in Apollo Client), `+(d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"")+"define a custom merge function for the "+u+` field, so InMemoryCache can safely merge these objects:
existing: `+JSON.stringify(i).slice(0,1e3)+`
incoming: `+JSON.stringify(p).slice(0,1e3)+`
For more information about these options, please refer to the documentation:
* Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers
* Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects
`)}}}}var L0=new KL.Slot,Z5=new WeakMap;function Lp(e){var t=Z5.get(e);return t||Z5.set(e,t={vars:new Set,dep:Xn.dep()}),t}function e8(e){Lp(e).vars.forEach(function(t){return t.forgetCache(e)})}function tP(e){Lp(e).vars.forEach(function(t){return t.attachCache(e)})}function t8(e){var t=new Set,r=new Set,a=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach(function(s){Lp(s).dep.dirty(a),rP(s)});var p=Array.from(r);r.clear(),p.forEach(function(s){return s(e)})}}else{var o=L0.getValue();o&&(n(o),Lp(o).dep(a))}return e};a.onNextChange=function(i){return r.add(i),function(){r.delete(i)}};var n=a.attachCache=function(i){return t.add(i),Lp(i).vars.add(a),a};return a.forgetCache=function(i){return t.delete(i)},a}function rP(e){e.broadcastWatches&&e.broadcastWatches()}I.getStoreKeyName.setStringify(Za);function P0(e){return e.args!==void 0?e.args:e.field?I.argumentsObjectFromField(e.field,e.variables):null}var aP=function(){},r8=function(e,t){return t.fieldName},a8=function(e,t,r){var a=r.mergeObjects;return a(e,t)},n8=function(e,t){return t},i8=function(){function e(t){this.config=t,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=J.__assign({dataIdFromObject:T0},t),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),t.possibleTypes&&this.addPossibleTypes(t.possibleTypes),t.typePolicies&&this.addTypePolicies(t.typePolicies)}return e.prototype.identify=function(t,r,a){var n=r&&a?I.getTypenameFromResult(t,r,a):t.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i={typename:n,selectionSet:r,fragmentMap:a},p,o=n&&this.getTypePolicy(n),s=o&&o.keyFn||this.config.dataIdFromObject;s;){var u=s(t,i);if(Array.isArray(u))s=u8(u);else{p=u;break}}return p=p?String(p):void 0,i.keyObject?[p,i.keyObject]:[p]},e.prototype.addTypePolicies=function(t){var r=this;Object.keys(t).forEach(function(a){var n=t[a],i=n.queryType,p=n.mutationType,o=n.subscriptionType,s=J.__rest(n,["queryType","mutationType","subscriptionType"]);i&&r.setRootTypename("Query",a),p&&r.setRootTypename("Mutation",a),o&&r.setRootTypename("Subscription",a),at.call(r.toBeAdded,a)?r.toBeAdded[a].push(s):r.toBeAdded[a]=[s]})},e.prototype.updateTypePolicy=function(t,r){var a=this,n=this.getTypePolicy(t),i=r.keyFields,p=r.fields;function o(s,u){s.merge=typeof u=="function"?u:u===!0?a8:u===!1?n8:s.merge}o(n,r.merge),n.keyFn=i===!1?aP:Array.isArray(i)?u8(i):typeof i=="function"?i:n.keyFn,p&&Object.keys(p).forEach(function(s){var u=a.getFieldPolicy(t,s,!0),d=p[s];if(typeof d=="function")u.read=d;else{var l=d.keyArgs,c=d.read,f=d.merge;u.keyFn=l===!1?r8:Array.isArray(l)?s8(l):typeof l=="function"?l:u.keyFn,typeof c=="function"&&(u.read=c),o(u,f)}u.read&&u.merge&&(u.keyFn=u.keyFn||r8)})},e.prototype.setRootTypename=function(t,r){r===void 0&&(r=t);var a="ROOT_"+t.toUpperCase(),n=this.rootTypenamesById[a];r!==n&&(__DEV__?Ne.invariant(!n||n===t,"Cannot change root "+t+" __typename more than once"):Ne.invariant(!n||n===t,2),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[r]=a,this.rootTypenamesById[a]=r)},e.prototype.addPossibleTypes=function(t){var r=this;this.usingPossibleTypes=!0,Object.keys(t).forEach(function(a){r.getSupertypeSet(a,!0),t[a].forEach(function(n){r.getSupertypeSet(n,!0).add(a);var i=n.match(U5);(!i||i[0]!==n)&&r.fuzzySubtypes.set(n,new RegExp(n))})})},e.prototype.getTypePolicy=function(t){var r=this;if(!at.call(this.typePolicies,t)){var a=this.typePolicies[t]=Object.create(null);a.fields=Object.create(null);var n=this.supertypeMap.get(t);n&&n.size&&n.forEach(function(p){var o=r.getTypePolicy(p),s=o.fields,u=J.__rest(o,["fields"]);Object.assign(a,u),Object.assign(a.fields,s)})}var i=this.toBeAdded[t];return i&&i.length&&i.splice(0).forEach(function(p){r.updateTypePolicy(t,p)}),this.typePolicies[t]},e.prototype.getFieldPolicy=function(t,r,a){if(t){var n=
`})}return e.networkError&&(t+=e.networkError.message+`
`),t=t.replace(/\n$/,""),t},sP=function(e){iP.__extends(t,e);function t(r){var a=r.graphQLErrors,n=r.clientErrors,i=r.networkError,p=r.errorMessage,o=r.extraInfo,s=e.call(this,p)||this;return s.graphQLErrors=a||[],s.clientErrors=n||[],s.networkError=i||null,s.message=p||oP(s),s.extraInfo=o,s.__proto__=t.prototype,s}return t}(Error);$1.ApolloError=sP;$1.isApolloError=pP});var m8=g((H1,f8)=>{(function(e,t){typeof H1=="object"&&typeof f8!="undefined"?t(H1,kt(),Bn()):typeof define=="function"&&define.amd?define(["exports","tslib","graphql"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e["graphql-tag"]={},e.tslib,e.graphql))})(H1,function(e,t,r){"use strict";var a=new Map,n=new Map,i=!0,p=!1;function o(w){return w.replace(/[\s,]+/g," ").trim()}function s(w){return o(w.source.body.substring(w.start,w.end))}function u(w){var O=new Set,E=[];return w.definitions.forEach(function(D){if(D.kind==="FragmentDefinition"){var L=D.name.value,P=s(D.loc),K=n.get(L);K&&!K.has(P)?i&&console.warn("Warning: fragment with name "+L+` already exists.
graphql-tag enforces all fragment names across your application to be unique; read more about
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`):K||n.set(L,K=new Set),K.add(P),O.has(P)||(O.add(P),E.push(D))}else E.push(D)}),t.__assign(t.__assign({},w),{definitions:E})}function d(w){var O=new Set(w.definitions);O.forEach(function(D){D.loc&&delete D.loc,Object.keys(D).forEach(function(L){var P=D[L];P&&typeof P=="object"&&O.add(P)})});var E=w.loc;return E&&(delete E.startToken,delete E.endToken),w}function l(w){var O=o(w);if(!a.has(O)){var E=r.parse(w,{experimentalFragmentVariables:p});if(!E||E.kind!=="Document")throw new Error("Not a valid GraphQL document.");a.set(O,d(u(E)))}return a.get(O)}function c(w){for(var O=[],E=1;E<arguments.length;E++)O[E-1]=arguments[E];typeof w=="string"&&(w=[w]);var D=w[0];return O.forEach(function(L,P){L&&L.kind==="Document"?D+=L.loc.source.body:D+=L,D+=w[P+1]}),l(D)}function f(){a.clear(),n.clear()}function m(){i=!1}function v(){p=!0}function h(){p=!1}var y={gql:c,resetCaches:f,disableFragmentWarnings:m,enableExperimentalFragmentVariables:v,disableExperimentalFragmentVariables:h};(function(w){w.gql=y.gql,w.resetCaches=y.resetCaches,w.disableFragmentWarnings=y.disableFragmentWarnings,w.enableExperimentalFragmentVariables=y.enableExperimentalFragmentVariables,w.disableExperimentalFragmentVariables=y.disableExperimentalFragmentVariables})(c||(c={})),c.default=c;var T=c;e.default=T,e.disableExperimentalFragmentVariables=h,e.disableFragmentWarnings=m,e.enableExperimentalFragmentVariables=v,e.gql=c,e.resetCaches=f,Object.defineProperty(e,"__esModule",{value:!0})})});var h8=g((sj,v8)=>{v8.exports=m8().gql});var M0=g(U=>{"use strict";Object.defineProperty(U,"__esModule",{value:!0});var ie=St(),F=kt(),Zn=p0(),x=oa(),k0=h5(),ht=Ep(),ca=l8(),qr=A0(),y8=Bn(),X1=M1(),g8=tu(),Pp=h8(),uP="3.4.16";U.NetworkStatus=void 0;(function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"})(U.NetworkStatus||(U.NetworkStatus={}));function Rp(e){return e?e<7:!1}var dP=Object.assign,lP=Object.hasOwnProperty,b8=!1,Z1=function(e){F.__extends(t,e);function t(r){var a=r.queryManager,n=r.queryInfo,i=r.options,p=e.call(this,function(s){try{var u=s._subscription._observer;u&&!u.error&&(u.error=cP)}catch{}var d=!p.observers.size;p.observers.add(s);var l=p.last;return l&&l.error?s.error&&s.error(l.error):l&&l.result&&s.next&&s.next(l.result),d&&p.reobserve().catch(function(){}),function(){p.observers.delete(s)&&!p.observers.size&&p.tearDownQuery()}})||this;p.observers=new Set,p.subscriptions=new Set,p.isTornDown=!1,p.options=i,p.queryId=n.queryId||a.generateQueryId();var o=x.getOperationDefinition(i.query);return p.queryName=o&&o.name&&o.name.value,p.initialFetchPolicy=i.fetchPolicy||"cache-first",p.queryManager=a,p.queryInfo=n,p}return Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var r=this;return new Promise(function(a,n){var i={next:function(o){a(o),r.observers.delete(i),r.observers.size||r.queryManager.removeQuery(r.queryId),setTimeout(function(){p.unsubscribe()},0)},error:n},p=r.subscribe(i)})},t.prototype.getCurrentResult=function(r){r===void 0&&(r=!0);var a=this.getLastResult(!0),n=this.queryInfo.networkStatus||a&&a.networkStatus||U.NetworkStatus.ready,i=F.__assign(F.__assign({},a),{loading:Rp(n),networkStatus:n}),p=this.options.fetchPolicy,o=p===void 0?"cache-first":p,s=a||o!=="network-only"&&o!=="no-cache"&&o!=="standby";if(s&&!this.queryManager.transform(this.options.query).hasForcedResolvers){var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(i.data=u.result),ht.equal(i.data,{})&&(i.data=void 0),u.complete?(i.networkStatus===U.NetworkStatus.loading&&(o==="cache-first"||o==="cache-only")&&(i.networkStatus=U.NetworkStatus.ready,i.loading=!1),delete i.partial):o!=="no-cache"&&(i.partial=!0),__DEV__&&!u.complete&&!this.options.partialRefetch&&!i.loading&&!i.data&&!i.error&&_8(u.missing)}return r&&this.updateLastResult(i),i},t
Did you mean to call refetch(variables) instead of refetch({ variables })?`)}return r&&!ht.equal(this.options.variables,r)&&(n.variables=this.options.variables=F.__assign(F.__assign({},this.options.variables),r)),this.queryInfo.resetLastWrite(),this.reobserve(n,U.NetworkStatus.refetch)},t.prototype.fetchMore=function(r){var a=this,n=F.__assign(F.__assign({},r.query?r:F.__assign(F.__assign(F.__assign({},this.options),r),{variables:F.__assign(F.__assign({},this.options.variables),r.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=U.NetworkStatus.fetchMore,this.observe()),this.queryManager.fetchQuery(i,n,U.NetworkStatus.fetchMore).then(function(p){var o=p.data,s=r.updateQuery;return s?(__DEV__&&!b8&&(__DEV__&&ie.invariant.warn(`The updateQuery callback for fetchMore is deprecated, and will be removed
in the next major version of Apollo Client.
Please convert updateQuery functions to field policies with appropriate
read and merge functions, or use/adapt a helper function (such as
concatPagination, offsetLimitPagination, or relayStylePagination) from
@apollo/client/utilities.
The field policy system handles pagination more effectively than a
hand-written updateQuery function, and you only need to define the policy
once, rather than every time you call fetchMore.`),b8=!0),a.updateQuery(function(u){return s(u,{fetchMoreResult:o,variables:n.variables})})):a.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:o}),p}).finally(function(){a.queryManager.stopQuery(i),a.reobserve()})},t.prototype.subscribeToMore=function(r){var a=this,n=this.queryManager.startGraphQLSubscription({query:r.document,variables:r.variables,context:r.context}).subscribe({next:function(i){var p=r.updateQuery;p&&a.updateQuery(function(o,s){var u=s.variables;return p(o,{subscriptionData:i,variables:u})})},error:function(i){if(r.onError){r.onError(i);return}__DEV__&&ie.invariant.error("Unhandled GraphQL subscription error",i)}});return this.subscriptions.add(n),function(){a.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(r){return this.reobserve(r)},t.prototype.setVariables=function(r){return ht.equal(this.variables,r)?this.observers.size?this.result():Promise.resolve():(this.options.variables=r,this.observers.size?this.reobserve({fetchPolicy:this.initialFetchPolicy,variables:r},U.NetworkStatus.setVariables):Promise.resolve())},t.prototype.updateQuery=function(r){var a=this.queryManager,n=a.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,i=r(n,{variables:this.variables});i&&(a.cache.writeQuery({query:this.options.query,data:i,variables:this.variables}),a.broadcastQueries())},t.prototype.startPolling=function(r){this.options.pollInterval=r,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.fetch=function(r,a){return this.queryManager.setObservableQuery(this),this.queryManager.fetchQueryObservable(this.queryId,r,a)},t.prototype.updatePolling=function(){var r=this;if(!this.queryManager.ssrMode){var a=this,n=a.pollingInfo,i=a.options.pollInterval;if(!i){n&&(clearTimeout(n.timeout),delete this.pollingInfo);return}if(!(n&&n.interval===i)){__DEV__?ie.invariant(i,"Attempted to start a polling query without a polling interval."):ie.invariant(i,12);var p=n||(this.pollingInfo={});p.interval=i;var o=function(){r.pollingInfo&&(Rp(r.queryInfo.networkStatus)?s():r.reobserve({fetchPolicy:"network-only"},U.NetworkStatus.poll).then(s,s))},s=function(){var u=r.pollingInfo;u&&(clearTimeout(u.timeout),u.timeout=setTimeout(o,u.interval))};s()}}},t.prototype.updateLastResult=function(r,a){return a===void 0&&(a=this.variables),this.last=F.__assign(F.__assign({},this.last),{result:this.queryManager.assumeImmutableResults?r:x.cloneDeep(r),variables:a}),x.isNonEmptyArray(r.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(r,a){var n=this;this.isTornDown=!1;var i=a===U.NetworkStatus.refetch||a===U.NetworkStatus.fetchMore||a===U.NetworkStatus.poll,p=this.options.variables,o=i?x.compact(this.options,r):dP(this.options,x.compact(r));i||(this.updatePolling(),r&&r.variables&&!r.fetchPolicy&&!ht.equal(r.variables,p)&&(o.fetchPolicy=this.initialFetchPolicy,a===void 0&&(a=U.NetworkStatus.setVariables)));var s=o.variables&&F.__assign({},o.variables),u=this.fetch(o,a),d={next:function(l){n.reportResult(l,s)},error:function(l){n.reportError(l,s)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer,!0),this.concast=u,this.observer=d),u.addObserver(d),u.promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(r,a){(this.getLastError()||this.isDifferentFromLastResult(r))&&(this.updateLastResult(r,a),x.iterateObserversSafely(this.observers,"next",r))},t.prototype.reportError=function(r,a){var n=F.__assign(F.__assign({},this.getLastResult()),{error:r,errors:r.graphQLErrors,networkStatus:U.NetworkStatus.error,loading:!1});this.updateLastResult(n,a),x.iterateObserversSafely(this.observers,"error",this.last.error=r)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),del
For more information, please visit: https://go.apollo.dev/c/docs`):new ie.InvariantError(9);if(this.link=L,this.cache=p,this.disableNetworkFetches=s||d>0,this.queryDeduplication=m,this.defaultOptions=v||{},this.typeDefs=w,d&&setTimeout(function(){return r.disableNetworkFetches=!1},d),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),c&&typeof window=="object"&&(window.__APOLLO_CLIENT__=this),!E8&&__DEV__&&(E8=!0,typeof window!="undefined"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var P=window.navigator,K=P&&P.userAgent,be=void 0;typeof K=="string"&&(K.indexOf("Chrome/")>-1?be="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":K.indexOf("Firefox/")>-1&&(be="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),be&&__DEV__&&ie.invariant.log("Download the Apollo DevTools for a better development experience: "+be)}this.version=uP,this.localState=new w8({cache:p,client:this,resolvers:T,fragmentMatcher:O}),this.queryManager=new mP({cache:this.cache,link:this.link,queryDeduplication:m,ssrMode:s,clientAwareness:{name:E,version:D},localState:this.localState,assumeImmutableResults:y,onBroadcast:c?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(t){return this.defaultOptions.watchQuery&&(t=es(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=F.__assign(F.__assign({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=es(this.defaultOptions.query,t)),__DEV__?ie.invariant(t.fetchPolicy!=="cache-and-network","The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):ie.invariant(t.fetchPolicy!=="cache-and-network",10),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=F.__assign(F.__assign({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=es(this.defaultOptions.mutate,t)),this.queryManager.mutate(t)},e.prototype.subscribe=function(t){return this.queryManager.startGraphQLSubscription(t)},e.prototype.readQuery=function(t,r){return r===void 0&&(r=!1),this.cache.readQuery(t,r)},e.prototype.readFragment=function(t,r){return r===void 0&&(r=!1),this.cache.readFragment(t,r)},e.prototype.writeQuery=function(t){this.cache.writeQuery(t),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(t){this.cache.writeFragment(t),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(t){this.devToolsHookCb=t},e.prototype.__requestRaw=function(t){return Zn.execute(this.link,t)},e.prototype.resetStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(t.resetStoreCallbacks.map(function(r){return r()}))}).then(function(){return t.reFetchObservableQueries()})},e.prototype.clearStore=function(){var t=this;return Promise.resolve().then(function(){return t.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(t.clearStoreCallbacks.map(function(r){return r()}))})},e.prototype.onResetStore=function(t){var r=this;return this.resetStoreCallbacks.push(t),function(){r.resetStoreCallbacks=r.resetStoreCallbacks.filter(function(a){return a!==t})}},e.prototype.onClearStore=functi
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qr(e){return Array.isArray?Array.isArray(e):Nv(e)==="[object Array]"}var VR=1/0;function qR(e){if(typeof e=="string")return e;var t=e+"";return t=="0"&&1/e==-VR?"-0":t}function MR(e){return e==null?"":qR(e)}function Ur(e){return typeof e=="string"}function Ev(e){return typeof e=="number"}function jR(e){return e===!0||e===!1||CR(e)&&Nv(e)=="[object Boolean]"}function Sv(e){return ls(e)==="object"}function CR(e){return Sv(e)&&e!==null}function Lt(e){return e!=null}function i2(e){return!e.trim().length}function Nv(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var xR="Incorrect 'index' type",QR=function(t){return"Invalid value for key ".concat(t)},UR=function(t){return"Pattern length exceeds max of ".concat(t,".")},GR=function(t){return"Missing ".concat(t," property in key")},KR=function(t){return"Property 'weight' in key '".concat(t,"' must be a positive integer")},Dv=Object.prototype.hasOwnProperty,BR=function(){function e(t){var r=this;yt(this,e),this._keys=[],this._keyMap={};var a=0;t.forEach(function(n){var i=Iv(n);a+=i.weight,r._keys.push(i),r._keyMap[i.id]=i,a+=i.weight}),this._keys.forEach(function(n){n.weight/=a})}return gt(e,[{key:"get",value:function(r){return this._keyMap[r]}},{key:"keys",value:function(){return this._keys}},{key:"toJSON",value:function(){return JSON.stringify(this._keys)}}]),e}();function Iv(e){var t=null,r=null,a=null,n=1;if(Ur(e)||Qr(e))a=e,t=Lv(e),r=p2(e);else{if(!Dv.call(e,"name"))throw new Error(GR("name"));var i=e.name;if(a=i,Dv.call(e,"weight")&&(n=e.weight,n<=0))throw new Error(KR(i));t=Lv(i),r=p2(i)}return{path:t,id:r,weight:n,src:a}}function Lv(e){return Qr(e)?e:e.split(".")}function p2(e){return Qr(e)?e.join("."):e}function zR(e,t){var r=[],a=!1,n=function i(p,o,s){if(!!Lt(p))if(!o[s])r.push(p);else{var u=o[s],d=p[u];if(!Lt(d))return;if(s===o.length-1&&(Ur(d)||Ev(d)||jR(d)))r.push(MR(d));else if(Qr(d)){a=!0;for(var l=0,c=d.length;l<c;l+=1)i(d[l],o,s+1)}else o.length&&i(d,o,s+1)}};return n(e,Ur(t)?t.split("."):t,0),a?r:r[0]}var YR={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},WR={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:function(t,r){return t.score===r.score?t.idx<r.idx?-1:1:t.score<r.score?-1:1}},JR={location:0,threshold:.6,distance:100},$R={useExtendedSearch:!1,getFn:zR,ignoreLocation:!1,ignoreFieldNorm:!1},$=Ov({},WR,{},YR,{},JR,{},$R),HR=/[^ ]+/g;function XR(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:3,t=new Map,r=Math.pow(10,e);return{get:function(n){var i=n.match(HR).length;if(t.has(i))return t.get(i);var p=1/Math.sqrt(i),o=parseFloat(Math.round(p*r)/r);return t.set(i,o),o},clear:function(){t.clear()}}}var o2=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.getFn,a=r===void 0?$.getFn:r;yt(this,e),this.norm=XR(3),this.getFn=a,this.isCreated=!1,this.setIndexRecords()}return gt(e,[{key:"setSources",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.docs=r}},{key:"setIndexRecords",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.records=r}},{key:"setKeys",value:function(){var r=this,a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this.keys=a,this._keysMap={},a.forEach(function(n,i){r._keysMap[n.id]=i})}},{key:"create",value:function(){var r=this;this.isCreated||!this.docs.length||(this.isCreated=!0,Ur(this.docs[0])?this.docs.forEach(function(a,n){r._addString(a,n)}):this.docs.forEach(function(a,n){r._addObject(a,n)}),this.norm.clear())}},{key:"add",value:function(r){var a=this.size();Ur(r)?this._addString(r,a):this._addObject(r,a)}},{key:"removeAt",value:function(r){this.records.splice(r,1);for(var a=r,n=this.size();a<n;a+=1)this.records[a].i-=1}},{key:"getValueForItemAtKeyId",value:function(r,a){return r[this._keysMap[a]]}},{key:"size",value:function(){return this.records.length}},{key:"_addString",value:function(r,a){if(!(!Lt(r)||i2(r))){var n={v:r,i:a,n:t
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */