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

221 lines
857 KiB
JavaScript
Raw Normal View History

var iy=Object.create;var sp=Object.defineProperty;var oy=Object.getOwnPropertyDescriptor;var py=Object.getOwnPropertyNames;var sy=Object.getPrototypeOf,uy=Object.prototype.hasOwnProperty;var O2=e=>sp(e,"__esModule",{value:!0});var _=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),dy=(e,t)=>{for(var r in t)sp(e,r,{get:t[r],enumerable:!0})},E2=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of py(t))!uy.call(e,n)&&(r||n!=="default")&&sp(e,n,{get:()=>t[n],enumerable:!(a=oy(t,n))||a.enumerable});return e},sr=(e,t)=>E2(O2(sp(e!=null?iy(sy(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),ly=(e=>(t,r)=>e&&e.get(t)||(r=E2(O2({}),t,1),e&&e.set(t,r),r))(typeof WeakMap!="undefined"?new WeakMap:0);var Mt=_((U1e,lp)=>{var N2,D2,I2,P2,R2,L2,k2,A2,F2,up,su,V2,q2,M2,hn,j2,x2,C2,Q2,U2,G2,K2,B2,dp;(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 lp=="object"&&typeof lp.exports=="object"?e(r(t,r(lp.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,o){return a[i]=n?n(i,o):o}}})(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])};N2=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)},D2=Object.assign||function(a){for(var n,i=1,o=arguments.length;i<o;i++){n=arguments[i];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(a[s]=n[s])}return a},I2=function(a,n){var i={};for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&n.indexOf(o)<0&&(i[o]=a[o]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,o=Object.getOwnPropertySymbols(a);s<o.length;s++)n.indexOf(o[s])<0&&Object.prototype.propertyIsEnumerable.call(a,o[s])&&(i[o[s]]=a[o[s]]);return i},P2=function(a,n,i,o){var s=arguments.length,u=s<3?n:o===null?o=Object.getOwnPropertyDescriptor(n,i):o,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")u=Reflect.decorate(a,n,i,o);else for(var l=a.length-1;l>=0;l--)(d=a[l])&&(u=(s<3?d(u):s>3?d(n,i,u):d(n,i))||u);return s>3&&u&&Object.defineProperty(n,i,u),u},R2=function(a,n){return function(i,o){n(i,o,a)}},L2=function(a,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(a,n)},k2=function(a,n,i,o){function s(u){return u instanceof i?u:new i(function(d){d(u)})}return new(i||(i=Promise))(function(u,d){function l(m){try{f(o.next(m))}catch(v){d(v)}}function c(m){try{f(o.throw(m))}catch(v){d(v)}}function f(m){m.done?u(m.value):s(m.value).then(l,c)}f((o=o.apply(a,n||[])).next())})},A2=function(a,n){var i={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},o,s,u,d;return d={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function l(f){return function(m){return c([f,m])}}function c(f){if(o)throw new TypeError("Generator is already executing.");for(;i;)try{if(o=1,s&&(u=f[0]&2?s.return:f[0]?s.throw||((u=s.return)&&u.call(s),0):s.next)&&!(u=u.call(s,f[1])).done)return u;switch(s=0,u&&(f=[f[0]&2,u.value]),f[0]){case 0:case 1:u=f;break;case 4:return i.label++,{value:f[1],done:!1};case 5:i.label++,s=f[1],f=[0];continue;case 7:f=i.ops.pop(),i.trys.pop();continue;default:if(u=i.trys,!(u=u.length>0&&u[u.length-1])&&(f[0]===6||f[0]===2)){i=0;continue}if(f[0]===3&&(!u||f[1]>u[0]&&f[1]<u[3])){i.label=f[1];break}if(f[0]===6&&i.label<u[1]){i.label=u[1],u=f;break}if(u&&i.label<u[2]){i.label=u[2],i.ops.push(f);break}u[2]&&i.ops.pop(),i.trys.pop();continue}f=n.call(a,i)}catch(m){f=[6,m],s=0}finally{o=u=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]
`),l=a.split(/\r\n|[\n\r]/g),c=l[n];if(c.length>120){for(var f=Math.floor(u/80),m=u%80,v=[],h=0;h<c.length;h+=80)v.push(c.slice(h,h+80));return d+X2([["".concat(o),v[0]]].concat(v.slice(1,f+1).map(function(y){return["",y]}),[[" ",_p(m-1)+"^"],["",v[f+1]]]))}return d+X2([["".concat(o-1),l[n-1]],["".concat(o),c],["",_p(u-1)+"^"],["".concat(o+1),l[n+1]]])}function X2(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 Dy(r,n)+(i?" | "+i:" |")}).join(`
`)}function _p(e){return Array(e+1).join(" ")}function Dy(e,t){return _p(e-t.length)+t}});var Y=_(Fi=>{"use strict";function wp(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?wp=function(r){return typeof r}:wp=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},wp(e)}Object.defineProperty(Fi,"__esModule",{value:!0});Fi.printError=nm;Fi.GraphQLError=void 0;var Iy=Ry(ur()),Py=dr(),Z2=gp(),em=yu();function Ry(e){return e&&e.__esModule?e:{default:e}}function Ly(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(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&&tm(e.prototype,t),r&&tm(e,r),e}function Ay(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&&ki(e,t)}function Fy(e){var t=am();return function(){var a=Ai(e),n;if(t){var i=Ai(this).constructor;n=Reflect.construct(a,arguments,i)}else n=a.apply(this,arguments);return rm(this,n)}}function rm(e,t){return t&&(wp(t)==="object"||typeof t=="function")?t:Li(e)}function Li(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gu(e){var t=typeof Map=="function"?new Map:void 0;return gu=function(a){if(a===null||!Vy(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 Tp(a,arguments,Ai(this).constructor)}return n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),ki(n,a)},gu(e)}function Tp(e,t,r){return am()?Tp=Reflect.construct:Tp=function(n,i,o){var s=[null];s.push.apply(s,i);var u=Function.bind.apply(n,s),d=new u;return o&&ki(d,o.prototype),d},Tp.apply(null,arguments)}function am(){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 Vy(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ki(e,t){return ki=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a},ki(e,t)}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}var qy=function(e){Ay(r,e);var t=Fy(r);function r(a,n,i,o,s,u,d){var l,c,f,m,v;Ly(this,r),v=t.call(this,a);var h=Array.isArray(n)?n.length!==0?n:void 0:n?[n]:void 0,y=i;if(!y&&h){var g;y=(g=h[0].loc)===null||g===void 0?void 0:g.source}var T=o;!T&&h&&(T=h.reduce(function(I,R){return R.loc&&I.push(R.loc.start),I},[])),T&&T.length===0&&(T=void 0);var S;o&&i?S=o.map(function(I){return(0,Z2.getLocation)(i,I)}):h&&(S=h.reduce(function(I,R){return R.loc&&I.push((0,Z2.getLocation)(R.loc.source,R.loc.start)),I},[]));var O=d;if(O==null&&u!=null){var E=u.extensions;(0,Iy.default)(E)&&(O=E)}return Object.defineProperties(Li(v),{name:{value:"GraphQLError"},message:{value:a,enumerable:!0,writable:!0},locations:{value:(l=S)!==null&&l!==void 0?l:void 0,enumerable:S!=null},path:{value:s??void 0,enumerable:s!=null},nodes:{value:h??void 0},source:{value:(c=y)!==null&&c!==void 0?c:void 0},positions:{value:(f=T)!==null&&f!==void 0?f:void 0},originalError:{value:u},extensions:{value:(m=O)!==null&&m!==void 0?m:void 0,enumerable:O!=null}}),u!=null&&u.stack?(Object.defineProperty(Li(v),"stack",{value:u.stack,writable:!0,configurable:!0}),rm(v)):(Error.captureStackTrace?Error.captureStackTrace(Li(v),r):Object.defineProperty(Li(v),"stack",{value:Error().stack,writable:!0,configurable:!0}),v)}return ky(r,[{key:"toString",value:function(){return nm(this)}},{key:Py.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}]),r}(gu(Error));Fi.GraphQL
`+(0,em.printLocation)(n.loc))}else if(e.source&&e.locations)for(var i=0,o=e.locations;i<o.length;i++){var s=o[i];t+=`
`+(0,em.printSourceLocation)(e.source,s)}return t}});var Sp=_(_u=>{"use strict";Object.defineProperty(_u,"__esModule",{value:!0});_u.syntaxError=jy;var My=Y();function jy(e,t,r){return new My.GraphQLError("Syntax Error: ".concat(r),void 0,e,[t])}});var we=_(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.Kind=void 0;var xy=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"});Op.Kind=xy});var at=_(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.default=Cy;function Cy(e,t){var r=Boolean(e);if(!r)throw new Error(t??"Unexpected invariant triggered.")}});var wu=_(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.default=void 0;var Qy=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):void 0,Uy=Qy;Ep.default=Uy});var Np=_(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=Ky;var Gy=om(at()),im=om(wu());function om(e){return e&&e.__esModule?e:{default:e}}function Ky(e){var t=e.prototype.toJSON;typeof t=="function"||(0,Gy.default)(0),e.prototype.inspect=t,im.default&&(e.prototype[im.default]=t)}});var _n=_(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.isNode=zy;Aa.Token=Aa.Location=void 0;var pm=By(Np());function By(e){return e&&e.__esModule?e:{default:e}}var sm=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}();Aa.Location=sm;(0,pm.default)(sm);var um=function(){function e(r,a,n,i,o,s,u){this.kind=r,this.start=a,this.end=n,this.line=i,this.column=o,this.value=u,this.prev=s,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}();Aa.Token=um;(0,pm.default)(um);function zy(e){return e!=null&&typeof e.kind=="string"}});var bn=_(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.TokenKind=void 0;var Yy=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"});Dp.TokenKind=Yy});var ue=_(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.default=$y;var Jy=Wy(wu());function Wy(e){return e&&e.__esModule?e:{default:e}}function Ip(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ip=function(r){return typeof r}:Ip=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};Lp.default=og});var kp=_(qi=>{"use strict";Object.defineProperty(qi,"__esModule",{value:!0});qi.isSource=lg;qi.Source=void 0;var pg=dr(),sg=Nu(ue()),Eu=Nu(jt()),ug=Nu(Vi());function Nu(e){return e&&e.__esModule?e:{default:e}}function lm(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 dg(e,t,r){return t&&lm(e.prototype,t),r&&lm(e,r),e}var cm=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,Eu.default)(0,"Body must be a string. Received: ".concat((0,sg.default)(t),".")),this.body=t,this.name=r,this.locationOffset=a,this.locationOffset.line>0||(0,Eu.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,Eu.default)(0,"column in locationOffset is 1-indexed and must be positive.")}return dg(e,[{key:pg.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}]),e}();qi.Source=cm;function lg(e){return(0,ug.default)(e,cm)}});var wn=_(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.DirectiveLocation=void 0;var cg=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"});Ap.DirectiveLocation=cg});var Tn=_(Mi=>{"use strict";Object.defineProperty(Mi,"__esModule",{value:!0});Mi.dedentBlockStringValue=fg;Mi.getBlockStringIndentation=mm;Mi.printBlockString=mg;function fg(e){var t=e.split(/\r\n|[\n\r]/g),r=mm(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&&fm(t[n]);)++n;for(var i=t.length;i>n&&fm(t[i-1]);)--i;return t.slice(n,i).join(`
`)}function fm(e){for(var t=0;t<e.length;++t)if(e[t]!==" "&&e[t]!==" ")return!1;return!0}function mm(e){for(var t,r=!0,a=!0,n=0,i=null,o=0;o<e.length;++o)switch(e.charCodeAt(o)){case 13:e.charCodeAt(o+1)===10&&++o;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 mg(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]==='"',o=e[e.length-1]==="\\",s=!a||i||o||r,u="";return s&&!(a&&n)&&(u+=`
`+t),u+=t?e.replace(/\n/g,`
`+t):e,s&&(u+=`
`),'"""'+u.replace(/"""/g,'\\"""')+'"""'}});var Vp=_(ji=>{"use strict";Object.defineProperty(ji,"__esModule",{value:!0});ji.isPunctuatorTokenKind=yg;ji.Lexer=void 0;var lr=Sp(),Ke=_n(),ee=bn(),vg=Tn(),hg=function(){function e(r){var a=new Ke.Token(ee.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!==ee.TokenKind.EOF)do{var n;a=(n=a.next)!==null&&n!==void 0?n:a.next=gg(this,a)}while(a.kind===ee.TokenKind.COMMENT);return a},e}();ji.Lexer=hg;function yg(e){return e===ee.TokenKind.BANG||e===ee.TokenKind.DOLLAR||e===ee.TokenKind.AMP||e===ee.TokenKind.PAREN_L||e===ee.TokenKind.PAREN_R||e===ee.TokenKind.SPREAD||e===ee.TokenKind.COLON||e===ee.TokenKind.EQUALS||e===ee.TokenKind.AT||e===ee.TokenKind.BRACKET_L||e===ee.TokenKind.BRACKET_R||e===ee.TokenKind.BRACE_L||e===ee.TokenKind.PIPE||e===ee.TokenKind.BRACE_R}function Fa(e){return isNaN(e)?ee.TokenKind.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function gg(e,t){for(var r=e.source,a=r.body,n=a.length,i=t.end;i<n;){var o=a.charCodeAt(i),s=e.line,u=1+i-e.lineStart;switch(o){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 Ke.Token(ee.TokenKind.BANG,i,i+1,s,u,t);case 35:return bg(r,i,s,u,t);case 36:return new Ke.Token(ee.TokenKind.DOLLAR,i,i+1,s,u,t);case 38:return new Ke.Token(ee.TokenKind.AMP,i,i+1,s,u,t);case 40:return new Ke.Token(ee.TokenKind.PAREN_L,i,i+1,s,u,t);case 41:return new Ke.Token(ee.TokenKind.PAREN_R,i,i+1,s,u,t);case 46:if(a.charCodeAt(i+1)===46&&a.charCodeAt(i+2)===46)return new Ke.Token(ee.TokenKind.SPREAD,i,i+3,s,u,t);break;case 58:return new Ke.Token(ee.TokenKind.COLON,i,i+1,s,u,t);case 61:return new Ke.Token(ee.TokenKind.EQUALS,i,i+1,s,u,t);case 64:return new Ke.Token(ee.TokenKind.AT,i,i+1,s,u,t);case 91:return new Ke.Token(ee.TokenKind.BRACKET_L,i,i+1,s,u,t);case 93:return new Ke.Token(ee.TokenKind.BRACKET_R,i,i+1,s,u,t);case 123:return new Ke.Token(ee.TokenKind.BRACE_L,i,i+1,s,u,t);case 124:return new Ke.Token(ee.TokenKind.PIPE,i,i+1,s,u,t);case 125:return new Ke.Token(ee.TokenKind.BRACE_R,i,i+1,s,u,t);case 34:return a.charCodeAt(i+1)===34&&a.charCodeAt(i+2)===34?Sg(r,i,s,u,t,e):Tg(r,i,s,u,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return wg(r,i,o,s,u,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 Eg(r,i,s,u,t)}throw(0,lr.syntaxError)(r,i,_g(o))}var d=e.line,l=1+i-e.lineStart;return new Ke.Token(ee.TokenKind.EOF,n,n,d,l,t)}function _g(e){return e<32&&e!==9&&e!==10&&e!==13?"Cannot contain the invalid character ".concat(Fa(e),"."):e===39?`Unexpected single quote character ('), did you mean to use a double quote (")?`:"Cannot parse the unexpected character ".concat(Fa(e),".")}function bg(e,t,r,a,n){var i=e.body,o,s=t;do o=i.charCodeAt(++s);while(!isNaN(o)&&(o>31||o===9));return new Ke.Token(ee.TokenKind.COMMENT,t,s,r,a,n,i.slice(t+1,s))}function wg(e,t,r,a,n,i){var o=e.body,s=r,u=t,d=!1;if(s===45&&(s=o.charCodeAt(++u)),s===48){if(s=o.charCodeAt(++u),s>=48&&s<=57)throw(0,lr.syntaxError)(e,u,"Invalid number, unexpected digit after 0: ".concat(Fa(s),"."))}else u=Du(e,u,s),s=o.charCodeAt(u);if(s===46&&(d=!0,s=o.charCodeAt(++u),u=Du(e,u,s),s=o.charCodeAt(u)),(s===69||s===101)&&(d=!0,s=o.charCodeAt(++u),(s===43||s===45)&&(s=o.charCodeAt(++u)),u=Du(e,u,s),s=o.charCodeAt(u)),s===46||Ng(s))throw(0,lr.syntax
`;break;case 114:d+="\r";break;case 116:d+=" ";break;case 117:{var l=Og(i.charCodeAt(o+1),i.charCodeAt(o+2),i.charCodeAt(o+3),i.charCodeAt(o+4));if(l<0){var c=i.slice(o+1,o+5);throw(0,lr.syntaxError)(e,o,"Invalid character escape sequence: \\u".concat(c,"."))}d+=String.fromCharCode(l),o+=4;break}default:throw(0,lr.syntaxError)(e,o,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}++o,s=o}}throw(0,lr.syntaxError)(e,o,"Unterminated string.")}function Sg(e,t,r,a,n,i){for(var o=e.body,s=t+3,u=s,d=0,l="";s<o.length&&!isNaN(d=o.charCodeAt(s));){if(d===34&&o.charCodeAt(s+1)===34&&o.charCodeAt(s+2)===34)return l+=o.slice(u,s),new Ke.Token(ee.TokenKind.BLOCK_STRING,t,s+3,r,a,n,(0,vg.dedentBlockStringValue)(l));if(d<32&&d!==9&&d!==10&&d!==13)throw(0,lr.syntaxError)(e,s,"Invalid character within String: ".concat(Fa(d),"."));d===10?(++s,++i.line,i.lineStart=s):d===13?(o.charCodeAt(s+1)===10?s+=2:++s,++i.line,i.lineStart=s):d===92&&o.charCodeAt(s+1)===34&&o.charCodeAt(s+2)===34&&o.charCodeAt(s+3)===34?(l+=o.slice(u,s)+'"""',s+=4,u=s):++s}throw(0,lr.syntaxError)(e,s,"Unterminated string.")}function Og(e,t,r,a){return Fp(e)<<12|Fp(t)<<8|Fp(r)<<4|Fp(a)}function Fp(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function Eg(e,t,r,a,n){for(var i=e.body,o=i.length,s=t+1,u=0;s!==o&&!isNaN(u=i.charCodeAt(s))&&(u===95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++s;return new Ke.Token(ee.TokenKind.NAME,t,s,r,a,n,i.slice(t,s))}function Ng(e){return e===95||e>=65&&e<=90||e>=97&&e<=122}});var Sn=_(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Va.parse=Pg;Va.parseValue=Rg;Va.parseType=Lg;Va.Parser=void 0;var Iu=Sp(),W=we(),Dg=_n(),F=bn(),vm=kp(),Ig=wn(),hm=Vp();function Pg(e,t){var r=new qp(e,t);return r.parseDocument()}function Rg(e,t){var r=new qp(e,t);r.expectToken(F.TokenKind.SOF);var a=r.parseValueLiteral(!1);return r.expectToken(F.TokenKind.EOF),a}function Lg(e,t){var r=new qp(e,t);r.expectToken(F.TokenKind.SOF);var a=r.parseTypeReference();return r.expectToken(F.TokenKind.EOF),a}var qp=function(){function e(r,a){var n=(0,vm.isSource)(r)?r:new vm.Source(r);this._lexer=new hm.Lexer(n),this._options=a}var t=e.prototype;return t.parseName=function(){var a=this.expectToken(F.TokenKind.NAME);return{kind:W.Kind.NAME,value:a.value,loc:this.loc(a)}},t.parseDocument=function(){var a=this._lexer.token;return{kind:W.Kind.DOCUMENT,definitions:this.many(F.TokenKind.SOF,this.parseDefinition,F.TokenKind.EOF),loc:this.loc(a)}},t.parseDefinition=function(){if(this.peek(F.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(F.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(F.TokenKind.BRACE_L))return{kind:W.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(F.TokenKind.NAME)&&(i=this.parseName()),{kind:W.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(F.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(F.TokenKind.PAREN_L,this.parseVariableDefinition,F.TokenKind.PAREN_R)},t.parseVariableDefinition=function(){var a=this._lexer.token;return{kind:W.Kind.VARIABLE_DEFINITION,var
`)+`
`},OperationDefinition:function(t){var r=t.operation,a=t.name,n=ke("(",M(t.variableDefinitions,", "),")"),i=M(t.directives," "),o=t.selectionSet;return!a&&!i&&!n&&r==="query"?o:M([r,M([a,n]),i,o]," ")},VariableDefinition:function(t){var r=t.variable,a=t.type,n=t.defaultValue,i=t.directives;return r+": "+a+ke(" = ",n)+ke(" ",M(i," "))},SelectionSet:function(t){var r=t.selections;return Wt(r)},Field:function(t){var r=t.alias,a=t.name,n=t.arguments,i=t.directives,o=t.selectionSet,s=ke("",r,": ")+a,u=s+ke("(",M(n,", "),")");return u.length>h_&&(u=s+ke(`(
`,Kp(M(n,`
`)),`
)`)),M([u,M(i," "),o]," ")},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+ke(" ",M(a," "))},InlineFragment:function(t){var r=t.typeCondition,a=t.directives,n=t.selectionSet;return M(["...",ke("on ",r),M(a," "),n]," ")},FragmentDefinition:function(t){var r=t.name,a=t.typeCondition,n=t.variableDefinitions,i=t.directives,o=t.selectionSet;return"fragment ".concat(r).concat(ke("(",M(n,", "),")")," ")+"on ".concat(a," ").concat(ke("",M(i," ")," "))+o},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,m_.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"["+M(r,", ")+"]"},ObjectValue:function(t){var r=t.fields;return"{"+M(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+ke("(",M(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:Jt(function(e){var t=e.directives,r=e.operationTypes;return M(["schema",M(t," "),Wt(r)]," ")}),OperationTypeDefinition:function(t){var r=t.operation,a=t.type;return r+": "+a},ScalarTypeDefinition:Jt(function(e){var t=e.name,r=e.directives;return M(["scalar",t,M(r," ")]," ")}),ObjectTypeDefinition:Jt(function(e){var t=e.name,r=e.interfaces,a=e.directives,n=e.fields;return M(["type",t,ke("implements ",M(r," & ")),M(a," "),Wt(n)]," ")}),FieldDefinition:Jt(function(e){var t=e.name,r=e.arguments,a=e.type,n=e.directives;return t+(Om(r)?ke(`(
`,Kp(M(r,`
`)),`
)`):ke("(",M(r,", "),")"))+": "+a+ke(" ",M(n," "))}),InputValueDefinition:Jt(function(e){var t=e.name,r=e.type,a=e.defaultValue,n=e.directives;return M([t+": "+r,ke("= ",a),M(n," ")]," ")}),InterfaceTypeDefinition:Jt(function(e){var t=e.name,r=e.interfaces,a=e.directives,n=e.fields;return M(["interface",t,ke("implements ",M(r," & ")),M(a," "),Wt(n)]," ")}),UnionTypeDefinition:Jt(function(e){var t=e.name,r=e.directives,a=e.types;return M(["union",t,M(r," "),a&&a.length!==0?"= "+M(a," | "):""]," ")}),EnumTypeDefinition:Jt(function(e){var t=e.name,r=e.directives,a=e.values;return M(["enum",t,M(r," "),Wt(a)]," ")}),EnumValueDefinition:Jt(function(e){var t=e.name,r=e.directives;return M([t,M(r," ")]," ")}),InputObjectTypeDefinition:Jt(function(e){var t=e.name,r=e.directives,a=e.fields;return M(["input",t,M(r," "),Wt(a)]," ")}),DirectiveDefinition:Jt(function(e){var t=e.name,r=e.arguments,a=e.repeatable,n=e.locations;return"directive @"+t+(Om(r)?ke(`(
`,Kp(M(r,`
`)),`
)`):ke("(",M(r,", "),")"))+(a?" repeatable":"")+" on "+M(n," | ")}),SchemaExtension:function(t){var r=t.directives,a=t.operationTypes;return M(["extend schema",M(r," "),Wt(a)]," ")},ScalarTypeExtension:function(t){var r=t.name,a=t.directives;return M(["extend scalar",r,M(a," ")]," ")},ObjectTypeExtension:function(t){var r=t.name,a=t.interfaces,n=t.directives,i=t.fields;return M(["extend type",r,ke("implements ",M(a," & ")),M(n," "),Wt(i)]," ")},InterfaceTypeExtension:function(t){var r=t.name,a=t.interfaces,n=t.directives,i=t.fields;return M(["extend interface",r,ke("implements ",M(a," & ")),M(n," "),Wt(i)]," ")},UnionTypeExtension:function(t){var r=t.name,a=t.directives,n=t.types;return M(["extend union",r,M(a," "),n&&n.length!==0?"= "+M(n," | "):""]," ")},EnumTypeExtension:function(t){var r=t.name,a=t.directives,n=t.values;return M(["extend enum",r,M(a," "),Wt(n)]," ")},InputObjectTypeExtension:function(t){var r=t.name,a=t.directives,n=t.fields;return M(["extend input",r,M(a," "),Wt(n)]," ")}};function Jt(e){return function(t){return M([t.description,e(t)],`
`)}}function M(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 Wt(e){return ke(`{
`,Kp(M(e,`
`)),`
}`)}function ke(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";return t!=null&&t!==""?e+t+r:""}function Kp(e){return ke(" ",e.replace(/\n/g,`
`))}function g_(e){return e.indexOf(`
`)!==-1}function Om(e){return e!=null&&e.some(g_)}});var zu=_(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.valueFromASTUntyped=Ku;var __=Gu(ue()),b_=Gu(at()),w_=Gu(Ci()),Pr=we();function Gu(e){return e&&e.__esModule?e:{default:e}}function Ku(e,t){switch(e.kind){case Pr.Kind.NULL:return null;case Pr.Kind.INT:return parseInt(e.value,10);case Pr.Kind.FLOAT:return parseFloat(e.value);case Pr.Kind.STRING:case Pr.Kind.ENUM:case Pr.Kind.BOOLEAN:return e.value;case Pr.Kind.LIST:return e.values.map(function(r){return Ku(r,t)});case Pr.Kind.OBJECT:return(0,w_.default)(e.fields,function(r){return r.name.value},function(r){return Ku(r.value,t)});case Pr.Kind.VARIABLE:return t==null?void 0:t[e.name.value]}(0,b_.default)(0,"Unexpected value node: "+(0,__.default)(e))}});var pe=_(K=>{"use strict";Object.defineProperty(K,"__esModule",{value:!0});K.isType=Yu;K.assertType=Rm;K.isScalarType=qa;K.assertScalarType=I_;K.isObjectType=In;K.assertObjectType=P_;K.isInterfaceType=Ma;K.assertInterfaceType=R_;K.isUnionType=ja;K.assertUnionType=L_;K.isEnumType=xa;K.assertEnumType=k_;K.isInputObjectType=Gi;K.assertInputObjectType=A_;K.isListType=zp;K.assertListType=F_;K.isNonNullType=ra;K.assertNonNullType=V_;K.isInputType=Ju;K.assertInputType=q_;K.isOutputType=Wu;K.assertOutputType=M_;K.isLeafType=Lm;K.assertLeafType=j_;K.isCompositeType=km;K.assertCompositeType=x_;K.isAbstractType=Am;K.assertAbstractType=C_;K.GraphQLList=aa;K.GraphQLNonNull=na;K.isWrappingType=Ki;K.assertWrappingType=Q_;K.isNullableType=Fm;K.assertNullableType=Vm;K.getNullableType=U_;K.isNamedType=qm;K.assertNamedType=G_;K.getNamedType=K_;K.argsToArgsConfig=Cm;K.isRequiredArgument=B_;K.isRequiredInputField=W_;K.GraphQLInputObjectType=K.GraphQLEnumType=K.GraphQLUnionType=K.GraphQLInterfaceType=K.GraphQLObjectType=K.GraphQLScalarType=void 0;var Em=Et(Nn()),Zr=dr(),Ee=Et(ue()),T_=Et(Hr()),Bp=Et(Fu()),cr=Et(Up()),Ie=Et(jt()),Nm=Et(Ci()),ea=Et(Vi()),S_=Et($r()),O_=Et(ur()),Dm=Et(Tm()),ta=Et(Np()),E_=Et(Xr()),Ui=Y(),N_=we(),Im=Ot(),D_=zu();function Et(e){return e&&e.__esModule?e:{default:e}}function Pm(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 Dn(e,t,r){return t&&Pm(e.prototype,t),r&&Pm(e,r),e}function Yu(e){return qa(e)||In(e)||Ma(e)||ja(e)||xa(e)||Gi(e)||zp(e)||ra(e)}function Rm(e){if(!Yu(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL type."));return e}function qa(e){return(0,ea.default)(e,Hu)}function I_(e){if(!qa(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Scalar type."));return e}function In(e){return(0,ea.default)(e,$u)}function P_(e){if(!In(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Object type."));return e}function Ma(e){return(0,ea.default)(e,Xu)}function R_(e){if(!Ma(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Interface type."));return e}function ja(e){return(0,ea.default)(e,Zu)}function L_(e){if(!ja(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Union type."));return e}function xa(e){return(0,ea.default)(e,ed)}function k_(e){if(!xa(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Enum type."));return e}function Gi(e){return(0,ea.default)(e,td)}function A_(e){if(!Gi(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Input Object type."));return e}function zp(e){return(0,ea.default)(e,aa)}function F_(e){if(!zp(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL List type."));return e}function ra(e){return(0,ea.default)(e,na)}function V_(e){if(!ra(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL Non-Null type."));return e}function Ju(e){return qa(e)||xa(e)||Gi(e)||Ki(e)&&Ju(e.ofType)}function q_(e){if(!Ju(e))throw new Error("Expected ".concat((0,Ee.default)(e)," to be a GraphQL input type."));return e}function Wu(e){return qa(e)||In(e)||Ma(e)||ja(e)||xa(e)||Ki(e)&&Wu(e.ofType)}function M_(e){if(!Wu(
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 j.GraphQLNonNull(Te.GraphQLString),resolve:function(r){return r.name}},description:{type:Te.GraphQLString,resolve:function(r){return r.description}},isRepeatable:{type:new j.GraphQLNonNull(Te.GraphQLBoolean),resolve:function(r){return r.isRepeatable}},locations:{type:new j.GraphQLNonNull(new j.GraphQLList(new j.GraphQLNonNull(fd))),resolve:function(r){return r.locations}},args:{type:new j.GraphQLNonNull(new j.GraphQLList(new j.GraphQLNonNull(Zi))),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})}}}}});ge.__Directive=cd;var fd=new j.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:He.DirectiveLocation.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:He.DirectiveLocation.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:He.DirectiveLocation.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:He.DirectiveLocation.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:He.DirectiveLocation.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:He.DirectiveLocation.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:He.DirectiveLocation.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:He.DirectiveLocation.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:He.DirectiveLocation.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:He.DirectiveLocation.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:He.DirectiveLocation.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:He.DirectiveLocation.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:He.DirectiveLocation.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:He.DirectiveLocation.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:He.DirectiveLocation.UNION,description:"Location adjacent to a union definition."},ENUM:{value:He.DirectiveLocation.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:He.DirectiveLocation.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:He.DirectiveLocation.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:He.DirectiveLocation.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}});ge.__DirectiveLocation=fd;var Ct=new j.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 j.GraphQLNonNull(hd),resolve:function(r){if((0,j.isScalarType)(r))return nt.SCALAR;if((0,j.isObjectType)(r))return nt.OBJECT;if((0,j.is
`))}var tw=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 Wb.GraphQLError(a,i))},t.addError=function(a){this._errors.push(a)},t.getErrors=function(){return this._errors},e}();function rw(e){var t=e.schema,r=t.getQueryType();if(!r)e.reportError("Query root type must be provided.",t.astNode);else if(!(0,Be.isObjectType)(r)){var a;e.reportError("Query root type must be Object type, it cannot be ".concat((0,st.default)(r),"."),(a=wd(t,"query"))!==null&&a!==void 0?a:r.astNode)}var n=t.getMutationType();if(n&&!(0,Be.isObjectType)(n)){var i;e.reportError("Mutation root type must be Object type if provided, it cannot be "+"".concat((0,st.default)(n),"."),(i=wd(t,"mutation"))!==null&&i!==void 0?i:n.astNode)}var o=t.getSubscriptionType();if(o&&!(0,Be.isObjectType)(o)){var s;e.reportError("Subscription root type must be Object type if provided, it cannot be "+"".concat((0,st.default)(o),"."),(s=wd(t,"subscription"))!==null&&s!==void 0?s:o.astNode)}}function wd(e,t){for(var r=Td(e,function(i){return i.operationTypes}),a=0;a<r.length;a++){var n=r[a];if(n.operation===t)return n.type}}function aw(e){for(var t=0,r=e.schema.getDirectives();t<r.length;t++){var a=r[t];if(!(0,f6.isDirective)(a)){e.reportError("Expected directive but got: ".concat((0,st.default)(a),"."),a==null?void 0:a.astNode);continue}Ka(e,a);for(var n=0,i=a.args;n<i.length;n++){var o=i[n];if(Ka(e,o),(0,Be.isInputType)(o.type)||e.reportError("The type of @".concat(a.name,"(").concat(o.name,":) must be Input Type ")+"but got: ".concat((0,st.default)(o.type),"."),o.astNode),(0,Be.isRequiredArgument)(o)&&o.deprecationReason!=null){var s;e.reportError("Required argument @".concat(a.name,"(").concat(o.name,":) cannot be deprecated."),[Sd(o.astNode),(s=o.astNode)===null||s===void 0?void 0:s.type])}}}}function Ka(e,t){var r=(0,$b.isValidNameError)(t.name);r&&e.addError((0,Hb.locatedError)(r,t.astNode))}function nw(e){for(var t=dw(e),r=e.schema.getTypeMap(),a=0,n=(0,eo.default)(r);a<n.length;a++){var i=n[a];if(!(0,Be.isNamedType)(i)){e.reportError("Expected GraphQL named type but got: ".concat((0,st.default)(i),"."),i.astNode);continue}(0,Zb.isIntrospectionType)(i)||Ka(e,i),(0,Be.isObjectType)(i)||(0,Be.isInterfaceType)(i)?(v6(e,i),h6(e,i)):(0,Be.isUnionType)(i)?pw(e,i):(0,Be.isEnumType)(i)?sw(e,i):(0,Be.isInputObjectType)(i)&&(uw(e,i),t(i))}}function v6(e,t){var r=(0,eo.default)(t.getFields());r.length===0&&e.reportError("Type ".concat(t.name," must define one or more fields."),An(t));for(var a=0;a<r.length;a++){var n=r[a];if(Ka(e,n),!(0,Be.isOutputType)(n.type)){var i;e.reportError("The type of ".concat(t.name,".").concat(n.name," must be Output Type ")+"but got: ".concat((0,st.default)(n.type),"."),(i=n.astNode)===null||i===void 0?void 0:i.type)}for(var o=0,s=n.args;o<s.length;o++){var u=s[o],d=u.name;if(Ka(e,u),!(0,Be.isInputType)(u.type)){var l;e.reportError("The type of ".concat(t.name,".").concat(n.name,"(").concat(d,":) must be Input ")+"Type but got: ".concat((0,st.default)(u.type),"."),(l=u.astNode)===null||l===void 0?void 0:l.type)}if((0,Be.isRequiredArgument)(u)&&u.deprecationReason!=null){var c;e.reportError("Required argument ".concat(t.name,".").concat(n.name,"(").concat(d,":) cannot be deprecated."),[Sd(u.astNode),(c=u.astNode)===null||c===void 0?void 0:c.type])}}}}function h6(e,t){for(var r=Object.create(null),a=0,n=t.getInterfaces();a<n.length;a++){var i=n[a];if(!(0,Be.isInterfaceType)(i)){e.reportError("Type ".concat((0,st.default)(t)," must only implement Interface types, ")+"it cannot implement ".concat((0,st.default)(i),"."),to(t,i));continue}if(t===i){e.reportError("Type ".concat(t.name," cannot implement itself because it would create a circular reference."),to(t,i));continue}if(r[i.name]){e.reportError("Type ".concat(t.name," can only implement ").concat(i.name," once."),to(t,i));continue}r[i.name]=!0,ow(e,t,i),iw(e,t,i)}}function iw(e,t,r){for(var a=t.getFields(),n=0,i=(0,eo.default)(r.getFields());n<i.length;n++){var o=i[n],s=o.name
`))}function pO(e,t){var r=Hl(e,t);if(r.length!==0)throw new Error(r.map(function(a){return a.message}).join(`
`))}});var V4=_($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});$l.default=sO;function sO(e){var t;return function(a,n,i){t||(t=new WeakMap);var o=t.get(a),s;if(o){if(s=o.get(n),s){var u=s.get(i);if(u!==void 0)return u}}else o=new WeakMap,t.set(a,o);s||(s=new WeakMap,o.set(n,s));var d=e(a,n,i);return s.set(i,d),d}}});var q4=_(Xl=>{"use strict";Object.defineProperty(Xl,"__esModule",{value:!0});Xl.default=lO;var uO=dO(hp());function dO(e){return e&&e.__esModule?e:{default:e}}function lO(e,t,r){return e.reduce(function(a,n){return(0,uO.default)(a)?a.then(function(i){return t(i,n)}):t(a,n)},r)}});var M4=_(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.default=cO;function cO(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,o){return n[t[o]]=i,n},Object.create(null))})}});var po=_(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.addPath=fO;bs.pathToArray=mO;function fO(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 Ts=_(ec=>{"use strict";Object.defineProperty(ec,"__esModule",{value:!0});ec.getOperationRootType=vO;var ws=Y();function vO(e,t){if(t.operation==="query"){var r=e.getQueryType();if(!r)throw new ws.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 ws.GraphQLError("Schema is not configured for mutations.",t);return a}if(t.operation==="subscription"){var n=e.getSubscriptionType();if(!n)throw new ws.GraphQLError("Schema is not configured for subscriptions.",t);return n}throw new ws.GraphQLError("Can only have query, mutation and subscription operations.",t)}});var rc=_(tc=>{"use strict";Object.defineProperty(tc,"__esModule",{value:!0});tc.default=hO;function hO(e){return e.map(function(t){return typeof t=="number"?"["+t.toString()+"]":"."+t}).join("")}});var uo=_(ac=>{"use strict";Object.defineProperty(ac,"__esModule",{value:!0});ac.valueFromAST=so;var yO=Ss(St()),gO=Ss(Hr()),_O=Ss(ue()),bO=Ss(at()),Cn=we(),Ja=pe();function Ss(e){return e&&e.__esModule?e:{default:e}}function so(e,t,r){if(!!e){if(e.kind===Cn.Kind.VARIABLE){var a=e.name.value;if(r==null||r[a]===void 0)return;var n=r[a];return n===null&&(0,Ja.isNonNullType)(t)?void 0:n}if((0,Ja.isNonNullType)(t))return e.kind===Cn.Kind.NULL?void 0:so(e,t.ofType,r);if(e.kind===Cn.Kind.NULL)return null;if((0,Ja.isListType)(t)){var i=t.ofType;if(e.kind===Cn.Kind.LIST){for(var o=[],s=0,u=e.values;s<u.length;s++){var d=u[s];if(j4(d,r)){if((0,Ja.isNonNullType)(i))return;o.push(null)}else{var l=so(d,i,r);if(l===void 0)return;o.push(l)}}return o}var c=so(e,i,r);return c===void 0?void 0:[c]}if((0,Ja.isInputObjectType)(t)){if(e.kind!==Cn.Kind.OBJECT)return;for(var f=Object.create(null),m=(0,gO.default)(e.fields,function(O){return O.name.value}),v=0,h=(0,yO.default)(t.getFields());v<h.length;v++){var y=h[v],g=m[y.name];if(!g||j4(g.value,r)){if(y.defaultValue!==void 0)f[y.name]=y.defaultValue;else if((0,Ja.isNonNullType)(y.type))return;continue}var T=so(g.value,y.type,r);if(T===void 0)return;f[y.name]=T}return f}if((0,Ja.isLeafType)(t)){var S;try{S=t.parseLiteral(e,r)}catch{return}return S===void 0?void 0:S}(0,bO.default)(0,"Unexpected input type: "+(0,_O.default)(t))}}function j4(e,t){return e.kind===Cn.Kind.VARIABLE&&(t==null||t[e.name.value]===void 0)}});var ic=_(nc=>{"use strict";Object.defineProperty(nc,"__esModule",{value:!0});nc.coerceInputValue=IO;var wO=sa(St()),Os=sa(ue()),TO=sa(at()),SO=sa($r()),OO=sa(ur()),EO=sa(Zp()),NO=sa(Xr()),DO=sa(rc()),Rr=po(),Wa=Y(),lo=pe();function sa(e){return e&&e.__esModule?e:{default:e}}function IO(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:PO;return co(e,t,r)}function PO(e,t,r){var a="Invalid value "+(0,Os.default)(t);throw e.length>0&&(a+=' at "value'.concat((0,DO.default)(e),'"')),r.message=a+": "+r.message,r}function co(e,t,r,a){if((0,lo.isNonNullType)(t)){if(e!=null)return co(e,t.ofType,r,a);r((0,Rr.pat
query IntrospectionQuery {
__schema {
`.concat(i,`
queryType { name }
mutationType { name }
subscriptionType { name }
types {
...FullType
}
directives {
name
`).concat(r,`
`).concat(n,`
locations
args`).concat(o("(includeDeprecated: true)"),` {
...InputValue
}
}
}
}
fragment FullType on __Type {
kind
name
`).concat(r,`
`).concat(a,`
fields(includeDeprecated: true) {
name
`).concat(r,`
args`).concat(o("(includeDeprecated: true)"),` {
...InputValue
}
type {
...TypeRef
}
isDeprecated
deprecationReason
}
inputFields`).concat(o("(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(o("isDeprecated"),`
`).concat(o("deprecationReason"),`
}
fragment TypeRef on __Type {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
ofType {
kind
name
}
}
}
}
}
}
}
}
`)}});var k9=_(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.getOperationAST=PN;var IN=we();function PN(e,t){for(var r=null,a=0,n=e.definitions;a<n.length;a++){var i=n[a];if(i.kind===IN.Kind.OPERATION_DEFINITION){var o;if(t==null){if(r)return null;r=i}else if(((o=i.name)===null||o===void 0?void 0:o.value)===t)return i}}return r}});var F9=_(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});Ec.introspectionFromSchema=MN;var RN=FN(at()),LN=Sn(),kN=go(),AN=Sc();function FN(e){return e&&e.__esModule?e:{default:e}}function A9(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 VN(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?A9(Object(r),!0).forEach(function(a){qN(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A9(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function qN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MN(e,t){var r=VN({specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0},t),a=(0,LN.parse)((0,AN.getIntrospectionQuery)(r)),n=(0,kN.executeSync)({schema:e,document:a});return!n.errors&&n.data||(0,RN.default)(0),n.data}});var q9=_(Nc=>{"use strict";Object.defineProperty(Nc,"__esModule",{value:!0});Nc.buildClientSchema=BN;var jN=bo(St()),Dt=bo(ue()),xN=bo(jt()),Vs=bo(Ci()),V9=bo(ur()),CN=Sn(),QN=Ga(),UN=ht(),GN=fr(),gr=Qt(),It=pe(),KN=uo();function bo(e){return e&&e.__esModule?e:{default:e}}function BN(e,t){(0,V9.default)(e)&&(0,V9.default)(e.__schema)||(0,xN.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,Dt.default)(e),"."));for(var r=e.__schema,a=(0,Vs.default)(r.types,function(N){return N.name},function(N){return h(N)}),n=0,i=[].concat(GN.specifiedScalarTypes,gr.introspectionTypes);n<i.length;n++){var o=i[n];a[o.name]&&(a[o.name]=o)}var s=r.queryType?m(r.queryType):null,u=r.mutationType?m(r.mutationType):null,d=r.subscriptionType?m(r.subscriptionType):null,l=r.directives?r.directives.map(Ge):[];return new QN.GraphQLSchema({description:r.description,query:s,mutation:u,subscription:d,types:(0,jN.default)(a),directives:l,assumeValid:t==null?void 0:t.assumeValid});function c(N){if(N.kind===gr.TypeKind.LIST){var J=N.ofType;if(!J)throw new Error("Decorated type deeper than introspection query.");return new It.GraphQLList(c(J))}if(N.kind===gr.TypeKind.NON_NULL){var me=N.ofType;if(!me)throw new Error("Decorated type deeper than introspection query.");var Le=c(me);return new It.GraphQLNonNull((0,It.assertNullableType)(Le))}return f(N)}function f(N){var J=N.name;if(!J)throw new Error("Unknown type reference: ".concat((0,Dt.default)(N),"."));var me=a[J];if(!me)throw new Error("Invalid or incomplete schema, unknown type: ".concat(J,". Ensure that a full introspection query is used in order to build a client schema."));return me}function m(N){return(0,It.assertObjectType)(f(N))}function v(N){return(0,It.assertInterfaceType)(f(N))}function h(N){if(N!=null&&N.name!=null&&N.kind!=null)switch(N.kind){case gr.TypeKind.SCALAR:return y(N);case gr.TypeKind.OBJECT:return T(N);case gr.TypeKind.INTERFACE:return S(N);case gr.TypeKind.UNION:return O(N);case gr.TypeKind.ENUM:return E(N);case gr.TypeKind.INPUT_OBJECT:return I(N)}var J=(0,Dt.default)(N);throw new Error("Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ".concat(J,"."))}function y(N){return new It.GraphQLScalarType({name:N.name,description:N.description,specifiedByUrl:N.specifiedByUrl})}function g(N){if(N.interfaces===null&&N.kind===gr.TypeKind.INTERFACE)return[];if(!N.interfaces){var J=(0,Dt.default)(N);t
`+r)}}function eD(e){var t=e.loc;if(!!t){for(var r=[],a=t.startToken.prev;a!=null&&a.kind===WN.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 $9=_(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js.buildASTSchema=H9;js.buildSchema=sD;var tD=pD(jt()),rD=we(),aD=Sn(),nD=xn(),iD=Ga(),W9=ht(),oD=Dc();function pD(e){return e&&e.__esModule?e:{default:e}}function H9(e,t){e!=null&&e.kind===rD.Kind.DOCUMENT||(0,tD.default)(0,"Must provide valid Document AST."),(t==null?void 0:t.assumeValid)!==!0&&(t==null?void 0:t.assumeValidSDL)!==!0&&(0,nD.assertValidSDL)(e);var r={description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},a=(0,oD.extendSchemaImpl)(r,e,t);if(a.astNode==null)for(var n=0,i=a.types;n<i.length;n++){var o=i[n];switch(o.name){case"Query":a.query=o;break;case"Mutation":a.mutation=o;break;case"Subscription":a.subscription=o;break}}for(var s=a.directives,u=function(c){var f=W9.specifiedDirectives[c];s.every(function(m){return m.name!==f.name})&&s.push(f)},d=0;d<W9.specifiedDirectives.length;d++)u(d);return new iD.GraphQLSchema(a)}function sD(e,t){var r=(0,aD.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 H9(r,{commentDescriptions:t==null?void 0:t.commentDescriptions,assumeValidSDL:t==null?void 0:t.assumeValidSDL,assumeValid:t==null?void 0:t.assumeValid})}});var Z9=_(Rc=>{"use strict";Object.defineProperty(Rc,"__esModule",{value:!0});Rc.lexicographicSortSchema=gD;var uD=So(St()),dD=So(ue()),lD=So(at()),cD=So(Ci()),fD=So(Qi()),mD=Ga(),vD=ht(),hD=Qt(),ft=pe();function So(e){return e&&e.__esModule?e:{default:e}}function X9(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 Je(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?X9(Object(r),!0).forEach(function(a){yD(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X9(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function yD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gD(e){var t=e.toConfig(),r=(0,cD.default)(Ic(t.types),function(f){return f.name},c);return new mD.GraphQLSchema(Je(Je({},t),{},{types:(0,uD.default)(r),directives:Ic(t.directives).map(o),query:i(t.query),mutation:i(t.mutation),subscription:i(t.subscription)}));function a(f){return(0,ft.isListType)(f)?new ft.GraphQLList(a(f.ofType)):(0,ft.isNonNullType)(f)?new ft.GraphQLNonNull(a(f.ofType)):n(f)}function n(f){return r[f.name]}function i(f){return f&&n(f)}function o(f){var m=f.toConfig();return new vD.GraphQLDirective(Je(Je({},m),{},{locations:Pc(m.locations,function(v){return v}),args:s(m.args)}))}function s(f){return xs(f,function(m){return Je(Je({},m),{},{type:a(m.type)})})}function u(f){return xs(f,function(m){return Je(Je({},m),{},{type:a(m.type),args:s(m.args)})})}function d(f){return xs(f,function(m){return Je(Je({},m),{},{type:a(m.type)})})}function l(f){return Ic(f).map(n)}function c(f){if((0,ft.isScalarType)(f)||(0,hD.isIntrospectionType)(f))return f;if((0,ft.isObjectType)(f)){var m=f.toConfig();return new ft.GraphQLObjectType(Je(Je({},m),{},{interfaces:function(){return l(m.interfaces)},fields:function(){return u(m.fields)}}))}if((0,ft.isInterfaceType)(f)){var v=f.toConfig();return new ft.GraphQLInterfaceType(Je(Je({},v),{},{interfaces:function(){return l(v.interfaces)},fields:function(){return u(v.fields)}}))}if((0,ft.isUnionType)(f)){var h=f.toConfig();return new ft.GraphQLUnionType(Je(Je({},h),{},{types:function(){return l(h.types)}}))}if((0,ft.isEnumType)(f)){var y=f.toConfig();return new ft.GraphQLEnumType(Je(Je({},y),{},{values:xs(y.values)}))}if((0,ft.isInputObjectType)(f)){var g=f.toConfig();return new ft.GraphQLInputObjectType(Je(Je(
`)+`
`}function OD(e){if(!(e.description==null&&ED(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)),Kt({},e)+`schema {
`.concat(t.join(`
`),`
}`)}}function ED(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 a3(e,t){if((0,Yn.isScalarType)(e))return ND(e,t);if((0,Yn.isObjectType)(e))return DD(e,t);if((0,Yn.isInterfaceType)(e))return ID(e,t);if((0,Yn.isUnionType)(e))return PD(e,t);if((0,Yn.isEnumType)(e))return RD(e,t);if((0,Yn.isInputObjectType)(e))return LD(e,t);(0,e3.default)(0,"Unexpected type: "+(0,_D.default)(e))}function ND(e,t){return Kt(t,e)+"scalar ".concat(e.name)+AD(e)}function n3(e){var t=e.getInterfaces();return t.length?" implements "+t.map(function(r){return r.name}).join(" & "):""}function DD(e,t){return Kt(t,e)+"type ".concat(e.name)+n3(e)+i3(t,e)}function ID(e,t){return Kt(t,e)+"interface ".concat(e.name)+n3(e)+i3(t,e)}function PD(e,t){var r=e.getTypes(),a=r.length?" = "+r.join(" | "):"";return Kt(t,e)+"union "+e.name+a}function RD(e,t){var r=e.getValues().map(function(a,n){return Kt(t,a," ",!n)+" "+a.name+xc(a.deprecationReason)});return Kt(t,e)+"enum ".concat(e.name)+Mc(r)}function LD(e,t){var r=(0,Lc.default)(e.getFields()).map(function(a,n){return Kt(t,a," ",!n)+" "+jc(a)});return Kt(t,e)+"input ".concat(e.name)+Mc(r)}function i3(e,t){var r=(0,Lc.default)(t.getFields()).map(function(a,n){return Kt(e,a," ",!n)+" "+a.name+o3(e,a.args," ")+": "+String(a.type)+xc(a.deprecationReason)});return Mc(r)}function Mc(e){return e.length!==0?` {
`+e.join(`
`)+`
}`:""}function o3(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(jc).join(", ")+")":`(
`+t.map(function(a,n){return Kt(e,a," "+r,!n)+" "+r+jc(a)}).join(`
`)+`
`+r+")"}function jc(e){var t=(0,Vc.astFromValue)(e.defaultValue,e.type),r=e.name+": "+String(e.type);return t&&(r+=" = ".concat((0,kc.print)(t))),r+xc(e.deprecationReason)}function kD(e,t){return Kt(t,e)+"directive @"+e.name+o3(t,e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")}function xc(e){if(e==null)return"";var t=(0,Vc.astFromValue)(e,Ac.GraphQLString);return t&&e!==Fc.DEFAULT_DEPRECATION_REASON?" @deprecated(reason: "+(0,kc.print)(t)+")":" @deprecated"}function AD(e){if(e.specifiedByUrl==null)return"";var t=e.specifiedByUrl,r=(0,Vc.astFromValue)(t,Ac.GraphQLString);return r||(0,e3.default)(0,"Unexpected null value returned from `astFromValue` for specifiedByUrl")," @specifiedBy(url: "+(0,kc.print)(r)+")"}function Kt(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 FD(n,r,a);var i=n.length>70,o=(0,bD.printBlockString)(n,"",i),s=r&&!a?`
`+r:r;return s+o.replace(/\n/g,`
`+r)+`
`}function FD(e,t,r){var a=t&&!r?`
`:"",n=e.split(`
`).map(function(i){return t+(i!==""?"# "+i:"#")}).join(`
`);return a+n+`
`}});var s3=_(Cc=>{"use strict";Object.defineProperty(Cc,"__esModule",{value:!0});Cc.concatAST=VD;function VD(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 l3=_(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.separateOperations=MD;var Cs=we(),qD=Wr();function MD(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 Cs.Kind.OPERATION_DEFINITION:t.push(i);break;case Cs.Kind.FRAGMENT_DEFINITION:r[i.name.value]=d3(i.selectionSet);break}}for(var o=Object.create(null),s=function(l){for(var c=t[l],f=new Set,m=0,v=d3(c.selectionSet);m<v.length;m++){var h=v[m];u3(f,r,h)}var y=c.name?c.name.value:"";o[y]={kind:Cs.Kind.DOCUMENT,definitions:e.definitions.filter(function(g){return g===c||g.kind===Cs.Kind.FRAGMENT_DEFINITION&&f.has(g.name.value)})}},u=0;u<t.length;u++)s(u);return o}function u3(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];u3(e,t,i)}}}function d3(e){var t=[];return(0,qD.visit)(e,{FragmentSpread:function(a){t.push(a.name.value)}}),t}});var v3=_(Gc=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});Gc.stripIgnoredCharacters=jD;var c3=kp(),Uc=bn(),f3=Vp(),m3=Tn();function jD(e){for(var t=(0,c3.isSource)(e)?e:new c3.Source(e),r=t.body,a=new f3.Lexer(t),n="",i=!1;a.advance().kind!==Uc.TokenKind.EOF;){var o=a.token,s=o.kind,u=!(0,f3.isPunctuatorTokenKind)(o.kind);i&&(u||o.kind===Uc.TokenKind.SPREAD)&&(n+=" ");var d=r.slice(o.start,o.end);s===Uc.TokenKind.BLOCK_STRING?n+=xD(d):n+=d,i=u}return n}function xD(e){var t=e.slice(3,-3),r=(0,m3.dedentBlockStringValue)(t);(0,m3.getBlockStringIndentation)(r)>0&&(r=`
`+r);var a=r[r.length-1],n=a==='"'&&r.slice(-4)!=='\\"""';return(n||a==="\\")&&(r+=`
`),'"""'+r+'"""'}});var E3=_(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.findBreakingChanges=YD;da.findDangerousChanges=JD;da.DangerousChangeType=da.BreakingChangeType=void 0;var Jn=Eo(St()),h3=Eo(Hr()),CD=Eo(ue()),y3=Eo(at()),QD=Eo(Qi()),UD=Ot(),GD=Wr(),KD=fr(),ce=pe(),BD=Xi();function Eo(e){return e&&e.__esModule?e:{default:e}}function g3(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 _3(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?g3(Object(r),!0).forEach(function(a){zD(e,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g3(Object(r)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(r,a))})}return e}function zD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var We=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"});da.BreakingChangeType=We;var Vr=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"});da.DangerousChangeType=Vr;function YD(e,t){var r=b3(e,t).filter(function(a){return a.type in We});return r}function JD(e,t){var r=b3(e,t).filter(function(a){return a.type in Vr});return r}function b3(e,t){return[].concat(HD(e,t),WD(e,t))}function WD(e,t){for(var r=[],a=qr(e.getDirectives(),t.getDirectives()),n=0,i=a.removed;n<i.length;n++){var o=i[n];r.push({type:We.DIRECTIVE_REMOVED,description:"".concat(o.name," was removed.")})}for(var s=0,u=a.persisted;s<u.length;s++){for(var d=u[s],l=d[0],c=d[1],f=qr(l.args,c.args),m=0,v=f.added;m<v.length;m++){var h=v[m];(0,ce.isRequiredArgument)(h)&&r.push({type:We.REQUIRED_DIRECTIVE_ARG_ADDED,description:"A required arg ".concat(h.name," on directive ").concat(l.name," was added.")})}for(var y=0,g=f.removed;y<g.length;y++){var T=g[y];r.push({type:We.DIRECTIVE_ARG_REMOVED,description:"".concat(T.name," was removed from ").concat(l.name,".")})}l.isRepeatable&&!c.isRepeatable&&r.push({type:We.DIRECTIVE_REPEATABLE_REMOVED,description:"Repeatable flag was removed from ".concat(l.name,".")});for(var S=0,O=l.locations;S<O.length;S++){var E=O[S];c.locations.indexOf(E)===-1&&r.push({type:We.DIRECTIVE_LOCATION_REMOVED,description:"".concat(E," was removed from ").concat(l.name,".")})}}return r}function HD(e,t){for(var r=[],a=qr((0,Jn.default)(e.getTypeMap()),(0,Jn.default)(t.getTypeMap())),n=0,i=a.removed;n<i.length;n++){var o=i[n];r.push({type:We.TYPE_REMOVED,description:(0,KD.isSpecifiedScalarType)(o)?"Standard scalar ".concat(o.name," was removed because it is not referenced anymore."):"".concat(o.name," was removed.")})}for(var s=0,u=a.persisted;s<u.length;s++){var d=u[s],l=d[0],c=d[1];(0,ce.isEnumType)(l)&&(0,ce.isEnumType)(c)?r.push.apply(r,ZD(l,c)):(0,ce.isUnionType)(l)&&(0,ce.isUnionType)(c)?r.push.apply(r,XD(l,c)):(0,ce.isInputObjectType)(l)&&(0,ce.isInputObjectType)(c)?r.push.apply(r,$D(l,c)):(0,ce.isObjectType)(l)&&(0,ce.isObjectType)(c)||(0,ce.isInterfaceType)(l)&&(0,ce.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 $s.InvariantError(22)},R5=function(){if(typeof AbortController=="undefined")return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},L5=function(e,t){var r=e.getContext(),a=r.uri;return a||(typeof t=="function"?t(e):t||"/graphql")};function k5(e,t){var r=[],a=function(c,f){r.push(c+"="+encodeURIComponent(f))};if("query"in t&&a("query",t.query),t.operationName&&a("operationName",t.operationName),t.variables){var n=void 0;try{n=Zs(t.variables,"Variables map")}catch(c){return{parseError:c}}a("variables",n)}if(t.extensions){var i=void 0;try{i=Zs(t.extensions,"Extensions map")}catch(c){return{parseError:c}}a("extensions",i)}var o="",s=e,u=e.indexOf("#");u!==-1&&(o=e.substr(u),s=e.substr(0,u));var d=s.indexOf("?")===-1?"?":"&",l=s+d+r.join("&")+o;return{newURI:l}}var A5=y0.maybe(function(){return fetch}),F5=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,o=e.includeUnusedVariables,s=o===void 0?!1:o,u=_t.__rest(e,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);__DEV__&&P5(a||A5);var d={http:{includeExtensions:n},options:u.fetchOptions,credentials:u.credentials,headers:u.headers};return new O5.ApolloLink(function(l){var c=L5(l,r),f=l.getContext(),m={};if(f.clientAwareness){var v=f.clientAwareness,h=v.name,y=v.version;h&&(m["apollographql-client-name"]=h),y&&(m["apollographql-client-version"]=y)}var g=_t.__assign(_t.__assign({},m),f.headers),T={http:f.http,options:f.fetchOptions,credentials:f.credentials,headers:g},S=I5(l,D5,d,T),O=S.options,E=S.body;if(E.variables&&!s){var I=new Set(Object.keys(E.variables));S5.visit(l.query,{Variable:function(Le,qt,Fe){Fe&&Fe.kind!=="VariableDefinition"&&I.delete(Le.name.value)}}),I.size&&(E.variables=_t.__assign({},E.variables),I.forEach(function(Le){delete E.variables[Le]}))}var R;if(!O.signal){var L=R5(),B=L.controller,be=L.signal;R=B,R&&(O.signal=be)}var Ge=function(Le){return Le.kind==="OperationDefinition"&&Le.operation==="mutation"};if(i&&!l.query.definitions.some(Ge)&&(O.method="GET"),O.method==="GET"){var N=k5(c,E),J=N.newURI,me=N.parseError;if(me)return Xs.fromError(me);c=J}else try{O.body=Zs(E,"Payload")}catch(Le){return Xs.fromError(Le)}return new y0.Observable(function(Le){var qt=a||y0.maybe(function(){return fetch})||A5;return qt(c,O).then(function(Fe){return l.setContext({response:Fe}),Fe}).then(N5(l)).then(function(Fe){return Le.next(Fe),Le.complete(),Fe}).catch(function(Fe){Fe.name!=="AbortError"&&(Fe.result&&Fe.result.errors&&Fe.result.data&&Le.next(Fe.result),Le.error(Fe))}),function(){R&&R.abort()}})})},KP=function(e){_t.__extends(t,e);function t(r){r===void 0&&(r={});var a=e.call(this,F5(r).request)||this;return a.options=r,a}return t}(O5.ApolloLink);Bt.HttpLink=KP;Bt.checkFetcher=P5;Bt.createHttpLink=F5;Bt.createSignalIfSupported=R5;Bt.fallbackHttpConfig=D5;Bt.parseAndCheckHttpResponse=N5;Bt.rewriteURIForGET=k5;Bt.selectHttpOptionsAndBody=I5;Bt.selectURI=L5;Bt.serializeFetchParameter=Zs});var Ao=_(e1=>{"use strict";Object.defineProperty(e1,"__esModule",{value:!0});var q5=Object.prototype,M5=q5.toString,BP=q5.hasOwnProperty,j5=Function.prototype.toString,g0=new Map;function x5(e,t){try{return _0(e,t)}finally{g0.clear()}}function _0(e,t){if(e===t)return!0;var r=M5.call(e),a=M5.call(t);if(r!==a)return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(Q5(e,t))return!0;var n=C5(e),i=C5(t),o=n.length;if(o!==i.length)return!1;for(var s=0;s<o;++s)if(!BP.call(t,n[s]))return!1;for(var s=0;s<o;++s){var u=n[s];if(!_0(e[u],t[u]))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(Q5(e,t))return!0;for(var d=e.entries(),l=r==="[object Map]";;){var c=d.next();if(c.done)break;var f=c.value,m=f[0],v=f[1];if(!t.has(m)||l&&!_0(v,t.get(m
To address this problem (which is not a bug in Apollo Client), `+(l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"")+"define a custom merge function for the "+d+` field, so InMemoryCache can safely merge these objects:
existing: `+JSON.stringify(i).slice(0,1e3)+`
incoming: `+JSON.stringify(o).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 x0=new wR.Slot,g8=new WeakMap;function jo(e){var t=g8.get(e);return t||g8.set(e,t={vars:new Set,dep:ai.dep()}),t}function _8(e){jo(e).vars.forEach(function(t){return t.forgetCache(e)})}function kR(e){jo(e).vars.forEach(function(t){return t.attachCache(e)})}function b8(e){var t=new Set,r=new Set,a=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach(function(u){jo(u).dep.dirty(a),AR(u)});var o=Array.from(r);r.clear(),o.forEach(function(u){return u(e)})}}else{var s=x0.getValue();s&&(n(s),jo(s).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),jo(i).vars.add(a),a};return a.forgetCache=function(i){return t.delete(i)},a}function AR(e){e.broadcastWatches&&e.broadcastWatches()}P.getStoreKeyName.setStringify(nn);function C0(e){return e.args!==void 0?e.args:e.field?P.argumentsObjectFromField(e.field,e.variables):null}var FR=function(){},w8=function(e,t){return t.fieldName},T8=function(e,t,r){var a=r.mergeObjects;return a(e,t)},S8=function(e,t){return t},O8=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=$.__assign({dataIdFromObject:L0},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?P.getTypenameFromResult(t,r,a):t.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i={typename:n,selectionSet:r,fragmentMap:a},o,s=n&&this.getTypePolicy(n),u=s&&s.keyFn||this.config.dataIdFromObject;u;){var d=u(t,i);if(Array.isArray(d))u=I8(d);else{o=d;break}}return o=o?String(o):void 0,i.keyObject?[o,i.keyObject]:[o]},e.prototype.addTypePolicies=function(t){var r=this;Object.keys(t).forEach(function(a){var n=t[a],i=n.queryType,o=n.mutationType,s=n.subscriptionType,u=$.__rest(n,["queryType","mutationType","subscriptionType"]);i&&r.setRootTypename("Query",a),o&&r.setRootTypename("Mutation",a),s&&r.setRootTypename("Subscription",a),ot.call(r.toBeAdded,a)?r.toBeAdded[a].push(u):r.toBeAdded[a]=[u]})},e.prototype.updateTypePolicy=function(t,r){var a=this,n=this.getTypePolicy(t),i=r.keyFields,o=r.fields;function s(u,d){u.merge=typeof d=="function"?d:d===!0?T8:d===!1?S8:u.merge}s(n,r.merge),n.keyFn=i===!1?FR:Array.isArray(i)?I8(i):typeof i=="function"?i:n.keyFn,o&&Object.keys(o).forEach(function(u){var d=a.getFieldPolicy(t,u,!0),l=o[u];if(typeof l=="function")d.read=l;else{var c=l.keyArgs,f=l.read,m=l.merge;d.keyFn=c===!1?w8:Array.isArray(c)?D8(c):typeof c=="function"?c:d.keyFn,typeof f=="function"&&(d.read=f),s(d,m)}d.read&&d.merge&&(d.keyFn=d.keyFn||w8)})},e.prototype.setRootTypename=function(t,r){r===void 0&&(r=t);var a="ROOT_"+t.toUpperCase(),n=this.rootTypenamesById[a];r!==n&&(__DEV__?De.invariant(!n||n===t,"Cannot change root "+t+" __typename more than once"):De.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(p8);(!i||i[0]!==n)&&r.fuzzySubtypes.set(n,new RegExp(n))})})},e.prototype.getTypePolicy=function(t){var r=this;if(!ot.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(o){var s=r.getTypePolicy(o),u=s.fields,d=$.__rest(s,["fields"]);Object.assign(a,d),Object.assign(a.fields,u)})}var i=this.toBeAdded[t];return i&&i.length&&i.splice(0).forEach(function(o){r.updateTypePolicy(t,o)}),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},xR=function(e){qR.__extends(t,e);function t(r){var a=r.graphQLErrors,n=r.clientErrors,i=r.networkError,o=r.errorMessage,s=r.extraInfo,u=e.call(this,o)||this;return u.graphQLErrors=a||[],u.clientErrors=n||[],u.networkError=i||null,u.message=o||jR(u),u.extraInfo=s,u.__proto__=t.prototype,u}return t}(Error);s1.ApolloError=xR;s1.isApolloError=MR});var A8=_((u1,k8)=>{(function(e,t){typeof u1=="object"&&typeof k8!="undefined"?t(u1,Mt(),Hn()):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))})(u1,function(e,t,r){"use strict";var a=new Map,n=new Map,i=!0,o=!1;function s(S){return S.replace(/[\s,]+/g," ").trim()}function u(S){return s(S.source.body.substring(S.start,S.end))}function d(S){var O=new Set,E=[];return S.definitions.forEach(function(I){if(I.kind==="FragmentDefinition"){var R=I.name.value,L=u(I.loc),B=n.get(R);B&&!B.has(L)?i&&console.warn("Warning: fragment with name "+R+` 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`):B||n.set(R,B=new Set),B.add(L),O.has(L)||(O.add(L),E.push(I))}else E.push(I)}),t.__assign(t.__assign({},S),{definitions:E})}function l(S){var O=new Set(S.definitions);O.forEach(function(I){I.loc&&delete I.loc,Object.keys(I).forEach(function(R){var L=I[R];L&&typeof L=="object"&&O.add(L)})});var E=S.loc;return E&&(delete E.startToken,delete E.endToken),S}function c(S){var O=s(S);if(!a.has(O)){var E=r.parse(S,{experimentalFragmentVariables:o});if(!E||E.kind!=="Document")throw new Error("Not a valid GraphQL document.");a.set(O,l(d(E)))}return a.get(O)}function f(S){for(var O=[],E=1;E<arguments.length;E++)O[E-1]=arguments[E];typeof S=="string"&&(S=[S]);var I=S[0];return O.forEach(function(R,L){R&&R.kind==="Document"?I+=R.loc.source.body:I+=R,I+=S[L+1]}),c(I)}function m(){a.clear(),n.clear()}function v(){i=!1}function h(){o=!0}function y(){o=!1}var g={gql:f,resetCaches:m,disableFragmentWarnings:v,enableExperimentalFragmentVariables:h,disableExperimentalFragmentVariables:y};(function(S){S.gql=g.gql,S.resetCaches=g.resetCaches,S.disableFragmentWarnings=g.disableFragmentWarnings,S.enableExperimentalFragmentVariables=g.enableExperimentalFragmentVariables,S.disableExperimentalFragmentVariables=g.disableExperimentalFragmentVariables})(f||(f={})),f.default=f;var T=f;e.default=T,e.disableExperimentalFragmentVariables=y,e.disableFragmentWarnings=v,e.enableExperimentalFragmentVariables=h,e.gql=f,e.resetCaches=m,Object.defineProperty(e,"__esModule",{value:!0})})});var V8=_((Ele,F8)=>{F8.exports=A8().gql});var Y0=_(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});var oe=Pt(),V=Mt(),ni=h0(),Q=ca(),G0=V5(),bt=Ao(),ya=R8(),Cr=U0(),q8=Hn(),d1=Ws(),M8=lu(),xo=V8(),CR="3.4.16";G.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"})(G.NetworkStatus||(G.NetworkStatus={}));function Co(e){return e?e<7:!1}var QR=Object.assign,UR=Object.hasOwnProperty,j8=!1,l1=function(e){V.__extends(t,e);function t(r){var a=r.queryManager,n=r.queryInfo,i=r.options,o=e.call(this,function(u){try{var d=u._subscription._observer;d&&!d.error&&(d.error=GR)}catch{}var l=!o.observers.size;o.observers.add(u);var c=o.last;return c&&c.error?u.error&&u.error(c.error):c&&c.result&&u.next&&u.next(c.result),l&&o.reobserve().catch(function(){}),function(){o.observers.delete(u)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.isTornDown=!1,o.options=i,o.queryId=n.queryId||a.generateQueryId();var s=Q.getOperationDefinition(i.query);return o.queryName=s&&s.name&&s.name.value,o.initialFetchPolicy=i.fetchPolicy||"cache-first",o.queryManager=a,o.queryInfo=n,o}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(s){a(s),r.observers.delete(i),r.observers.size||r.queryManager.removeQuery(r.queryId),setTimeout(function(){o.unsubscribe()},0)},error:n},o=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||G.NetworkStatus.ready,i=V.__assign(V.__assign({},a),{loading:Co(n),networkStatus:n}),o=this.options.fetchPolicy,s=o===void 0?"cache-first":o,u=a||s!=="network-only"&&s!=="no-cache"&&s!=="standby";if(u&&!this.queryManager.transform(this.options.query).hasForcedResolvers){var d=this.queryInfo.getDiff();(d.complete||this.options.returnPartialData)&&(i.data=d.result),bt.equal(i.data,{})&&(i.data=void 0),d.complete?(i.networkStatus===G.NetworkStatus.loading&&(s==="cache-first"||s==="cache-only")&&(i.networkStatus=G.NetworkStatus.ready,i.loading=!1),delete i.partial):s!=="no-cache"&&(i.partial=!0),__DEV__&&!d.complete&&!this.options.partialRefetch&&!i.loading&&!i.data&&!i.error&&x8(d.missing)}return r&&this.updateLastResult(i),i},
Did you mean to call refetch(variables) instead of refetch({ variables })?`)}return r&&!bt.equal(this.options.variables,r)&&(n.variables=this.options.variables=V.__assign(V.__assign({},this.options.variables),r)),this.queryInfo.resetLastWrite(),this.reobserve(n,G.NetworkStatus.refetch)},t.prototype.fetchMore=function(r){var a=this,n=V.__assign(V.__assign({},r.query?r:V.__assign(V.__assign(V.__assign({},this.options),r),{variables:V.__assign(V.__assign({},this.options.variables),r.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=G.NetworkStatus.fetchMore,this.observe()),this.queryManager.fetchQuery(i,n,G.NetworkStatus.fetchMore).then(function(o){var s=o.data,u=r.updateQuery;return u?(__DEV__&&!j8&&(__DEV__&&oe.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.`),j8=!0),a.updateQuery(function(d){return u(d,{fetchMoreResult:s,variables:n.variables})})):a.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:s}),o}).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 o=r.updateQuery;o&&a.updateQuery(function(s,u){var d=u.variables;return o(s,{subscriptionData:i,variables:d})})},error:function(i){if(r.onError){r.onError(i);return}__DEV__&&oe.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 bt.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},G.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__?oe.invariant(i,"Attempted to start a polling query without a polling interval."):oe.invariant(i,12);var o=n||(this.pollingInfo={});o.interval=i;var s=function(){r.pollingInfo&&(Co(r.queryInfo.networkStatus)?u():r.reobserve({fetchPolicy:"network-only"},G.NetworkStatus.poll).then(u,u))},u=function(){var d=r.pollingInfo;d&&(clearTimeout(d.timeout),d.timeout=setTimeout(s,d.interval))};u()}}},t.prototype.updateLastResult=function(r,a){return a===void 0&&(a=this.variables),this.last=V.__assign(V.__assign({},this.last),{result:this.queryManager.assumeImmutableResults?r:Q.cloneDeep(r),variables:a}),Q.isNonEmptyArray(r.errors)||delete this.last.error,this.last},t.prototype.reobserve=function(r,a){var n=this;this.isTornDown=!1;var i=a===G.NetworkStatus.refetch||a===G.NetworkStatus.fetchMore||a===G.NetworkStatus.poll,o=this.options.variables,s=i?Q.compact(this.options,r):QR(this.options,Q.compact(r));i||(this.updatePolling(),r&&r.variables&&!r.fetchPolicy&&!bt.equal(r.variables,o)&&(s.fetchPolicy=this.initialFetchPolicy,a===void 0&&(a=G.NetworkStatus.setVariables)));var u=s.variables&&V.__assign({},s.variables),d=this.fetch(s,a),l={next:function(c){n.reportResult(c,u)},error:function(c){n.reportError(c,u)}};return i||(this.concast&&this.observer&&this.concast.removeObserver(this.observer,!0),this.concast=d,this.observer=l),d.addObserver(l),d.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),Q.iterateObserversSafely(this.observers,"next",r))},t.prototype.reportError=function(r,a){var n=V.__assign(V.__assign({},this.getLastResult()),{error:r,errors:r.graphQLErrors,networkStatus:G.NetworkStatus.error,loading:!1});this.updateLastResult(n,a),Q.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 oe.InvariantError(9);if(this.link=R,this.cache=o,this.disableNetworkFetches=u||l>0,this.queryDeduplication=v,this.defaultOptions=h||{},this.typeDefs=S,l&&setTimeout(function(){return r.disableNetworkFetches=!1},l),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),f&&typeof window=="object"&&(window.__APOLLO_CLIENT__=this),!G8&&__DEV__&&(G8=!0,typeof window!="undefined"&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var L=window.navigator,B=L&&L.userAgent,be=void 0;typeof B=="string"&&(B.indexOf("Chrome/")>-1?be="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":B.indexOf("Firefox/")>-1&&(be="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),be&&__DEV__&&oe.invariant.log("Download the Apollo DevTools for a better development experience: "+be)}this.version=CR,this.localState=new Q8({cache:o,client:this,resolvers:T,fragmentMatcher:O}),this.queryManager=new BR({cache:this.cache,link:this.link,queryDeduplication:v,ssrMode:u,clientAwareness:{name:E,version:I},localState:this.localState,assumeImmutableResults:g,onBroadcast:f?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=c1(this.defaultOptions.watchQuery,t)),this.disableNetworkFetches&&(t.fetchPolicy==="network-only"||t.fetchPolicy==="cache-and-network")&&(t=V.__assign(V.__assign({},t),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(t)},e.prototype.query=function(t){return this.defaultOptions.query&&(t=c1(this.defaultOptions.query,t)),__DEV__?oe.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."):oe.invariant(t.fetchPolicy!=="cache-and-network",10),this.disableNetworkFetches&&t.fetchPolicy==="network-only"&&(t=V.__assign(V.__assign({},t),{fetchPolicy:"cache-first"})),this.queryManager.query(t)},e.prototype.mutate=function(t){return this.defaultOptions.mutate&&(t=c1(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 ni.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 Br(e){return Array.isArray?Array.isArray(e):Bv(e)==="[object Array]"}var ck=1/0;function fk(e){if(typeof e=="string")return e;var t=e+"";return t=="0"&&1/e==-ck?"-0":t}function mk(e){return e==null?"":fk(e)}function zr(e){return typeof e=="string"}function Gv(e){return typeof e=="number"}function vk(e){return e===!0||e===!1||hk(e)&&Bv(e)=="[object Boolean]"}function Kv(e){return S1(e)==="object"}function hk(e){return Kv(e)&&e!==null}function At(e){return e!=null}function hf(e){return!e.trim().length}function Bv(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var yk="Incorrect 'index' type",gk=function(t){return"Invalid value for key ".concat(t)},_k=function(t){return"Pattern length exceeds max of ".concat(t,".")},bk=function(t){return"Missing ".concat(t," property in key")},wk=function(t){return"Property 'weight' in key '".concat(t,"' must be a positive integer")},zv=Object.prototype.hasOwnProperty,Tk=function(){function e(t){var r=this;wt(this,e),this._keys=[],this._keyMap={};var a=0;t.forEach(function(n){var i=Yv(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 Tt(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 Yv(e){var t=null,r=null,a=null,n=1;if(zr(e)||Br(e))a=e,t=Jv(e),r=yf(e);else{if(!zv.call(e,"name"))throw new Error(bk("name"));var i=e.name;if(a=i,zv.call(e,"weight")&&(n=e.weight,n<=0))throw new Error(wk(i));t=Jv(i),r=yf(i)}return{path:t,id:r,weight:n,src:a}}function Jv(e){return Br(e)?e:e.split(".")}function yf(e){return Br(e)?e.join("."):e}function Sk(e,t){var r=[],a=!1,n=function i(o,s,u){if(!!At(o))if(!s[u])r.push(o);else{var d=s[u],l=o[d];if(!At(l))return;if(u===s.length-1&&(zr(l)||Gv(l)||vk(l)))r.push(mk(l));else if(Br(l)){a=!0;for(var c=0,f=l.length;c<f;c+=1)i(l[c],s,u+1)}else s.length&&i(l,s,u+1)}};return n(e,zr(t)?t.split("."):t,0),a?r:r[0]}var Ok={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},Ek={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}},Nk={location:0,threshold:.6,distance:100},Dk={useExtendedSearch:!1,getFn:Sk,ignoreLocation:!1,ignoreFieldNorm:!1},X=Uv({},Ek,{},Ok,{},Nk,{},Dk),Ik=/[^ ]+/g;function Pk(){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(Ik).length;if(t.has(i))return t.get(i);var o=1/Math.sqrt(i),s=parseFloat(Math.round(o*r)/r);return t.set(i,s),s},clear:function(){t.clear()}}}var gf=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.getFn,a=r===void 0?X.getFn:r;wt(this,e),this.norm=Pk(3),this.getFn=a,this.isCreated=!1,this.setIndexRecords()}return Tt(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,zr(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();zr(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(!(!At(r)||hf(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.
***************************************************************************** */