altair-static 4.1.0 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/build/dist/100.js +1 -0
  2. package/build/dist/108.js +1 -0
  3. package/build/dist/267.js +1 -0
  4. package/build/dist/379.js +1 -0
  5. package/build/dist/3rdpartylicenses.txt +844 -93
  6. package/build/dist/471.js +1 -0
  7. package/build/dist/527.js +1 -0
  8. package/build/dist/604.js +1 -0
  9. package/build/dist/729.js +1 -0
  10. package/build/dist/747.js +1 -0
  11. package/build/dist/790.js +1 -0
  12. package/build/dist/794.js +1 -0
  13. package/build/dist/873.js +1 -0
  14. package/build/dist/929.js +1 -0
  15. package/build/dist/934.js +1 -0
  16. package/build/dist/assets/i18n/ach-UG.json +157 -153
  17. package/build/dist/assets/i18n/cs-CZ.json +4 -0
  18. package/build/dist/assets/i18n/da-DK.json +4 -0
  19. package/build/dist/assets/i18n/de-DE.json +4 -0
  20. package/build/dist/assets/i18n/default.json +10 -1
  21. package/build/dist/assets/i18n/en-US.json +4 -0
  22. package/build/dist/assets/i18n/es-ES.json +4 -0
  23. package/build/dist/assets/i18n/fi-FI.json +4 -0
  24. package/build/dist/assets/i18n/fr-FR.json +4 -0
  25. package/build/dist/assets/i18n/hu-HU.json +4 -0
  26. package/build/dist/assets/i18n/it-IT.json +4 -0
  27. package/build/dist/assets/i18n/ja-JP.json +4 -0
  28. package/build/dist/assets/i18n/ko-KR.json +4 -0
  29. package/build/dist/assets/i18n/nl-NL.json +4 -0
  30. package/build/dist/assets/i18n/no-NO.json +4 -0
  31. package/build/dist/assets/i18n/pl-PL.json +4 -0
  32. package/build/dist/assets/i18n/pt-BR.json +4 -0
  33. package/build/dist/assets/i18n/pt-PT.json +4 -0
  34. package/build/dist/assets/i18n/ro-RO.json +4 -0
  35. package/build/dist/assets/i18n/ru-RU.json +30 -26
  36. package/build/dist/assets/i18n/sr-SP.json +4 -0
  37. package/build/dist/assets/i18n/sv-SE.json +4 -0
  38. package/build/dist/assets/i18n/tr-TR.json +4 -0
  39. package/build/dist/assets/i18n/uk-UA.json +4 -0
  40. package/build/dist/assets/i18n/vi-VN.json +4 -0
  41. package/build/dist/assets/i18n/zh-CN.json +12 -8
  42. package/build/dist/assets/i18n/zh-TW.json +4 -0
  43. package/build/dist/index.html +3 -3
  44. package/build/dist/main.js +1 -0
  45. package/build/dist/polyfills.js +1 -0
  46. package/build/dist/runtime.js +1 -0
  47. package/build/dist/styles.css +2 -2
  48. package/build/index.d.ts +1 -0
  49. package/build/index.js +4 -1
  50. package/build/index.test.d.ts +1 -0
  51. package/build/index.test.js +17 -6
  52. package/build/utils/get-altair-html.d.ts +1 -0
  53. package/build/utils/get-dist.d.ts +1 -0
  54. package/package.json +4 -4
  55. package/src/index.test.ts +21 -6
  56. package/src/index.ts +6 -3
  57. package/tsconfig.json +1 -0
  58. package/build/dist/108-es2018.js +0 -1
  59. package/build/dist/108-es5.js +0 -1
  60. package/build/dist/283-es2018.js +0 -1
  61. package/build/dist/283-es5.js +0 -1
  62. package/build/dist/379-es2018.js +0 -1
  63. package/build/dist/379-es5.js +0 -1
  64. package/build/dist/471-es2018.js +0 -1
  65. package/build/dist/471-es5.js +0 -1
  66. package/build/dist/527-es2018.js +0 -1
  67. package/build/dist/527-es5.js +0 -1
  68. package/build/dist/604-es2018.js +0 -1
  69. package/build/dist/604-es5.js +0 -1
  70. package/build/dist/672-es2018.js +0 -1
  71. package/build/dist/672-es5.js +0 -1
  72. package/build/dist/709-es2018.js +0 -1
  73. package/build/dist/709-es5.js +0 -1
  74. package/build/dist/729-es2018.js +0 -1
  75. package/build/dist/729-es5.js +0 -1
  76. package/build/dist/747-es2018.js +0 -1
  77. package/build/dist/747-es5.js +0 -1
  78. package/build/dist/790-es2018.js +0 -1
  79. package/build/dist/790-es5.js +0 -1
  80. package/build/dist/794-es2018.js +0 -1
  81. package/build/dist/794-es5.js +0 -1
  82. package/build/dist/866-es2018.js +0 -1
  83. package/build/dist/866-es5.js +0 -1
  84. package/build/dist/873-es2018.js +0 -1
  85. package/build/dist/873-es5.js +0 -1
  86. package/build/dist/934-es2018.js +0 -1
  87. package/build/dist/934-es5.js +0 -1
  88. package/build/dist/main-es2018.js +0 -1
  89. package/build/dist/main-es5.js +0 -1
  90. package/build/dist/polyfills-es2018.js +0 -1
  91. package/build/dist/polyfills-es5.js +0 -1
  92. package/build/dist/runtime-es2018.js +0 -1
  93. package/build/dist/runtime-es5.js +0 -1
  94. package/build/index.js.map +0 -1
  95. package/build/index.test.js.map +0 -1
  96. package/build/utils/get-altair-html.js.map +0 -1
  97. package/build/utils/get-dist.js.map +0 -1
  98. package/scripts/prepare_dist.js +0 -77
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[100],{22100:(se,Q,S)=>{S.r(Q),S.d(Q,{GraphQLWsSubscriptionProvider:()=>_});var H=S(71251),J=S(82475),h=S(8239);const E=Object.prototype.hasOwnProperty;function C(e){return"object"==typeof e&&null!==e}function O(e,n){return E.call(e,n)}function A(e,n){return E.call(e,n)&&C(e[n])}function w(e,n){return E.call(e,n)&&"string"==typeof e[n]}const K="graphql-transport-ws";var s=(()=>{return(e=s||(s={})).ConnectionInit="connection_init",e.ConnectionAck="connection_ack",e.Ping="ping",e.Pong="pong",e.Subscribe="subscribe",e.Next="next",e.Error="error",e.Complete="complete",s;var e})();function G(e){if(C(e)){if(!w(e,"type"))return!1;switch(e.type){case s.ConnectionInit:return!O(e,"payload")||void 0===e.payload||C(e.payload);case s.ConnectionAck:case s.Ping:case s.Pong:return!O(e,"payload")||void 0===e.payload||C(e.payload);case s.Subscribe:return w(e,"id")&&A(e,"payload")&&(!O(e.payload,"operationName")||null==e.payload.operationName||"string"==typeof e.payload.operationName)&&w(e.payload,"query")&&(!O(e.payload,"variables")||null==e.payload.variables||A(e.payload,"variables"))&&(!O(e.payload,"extensions")||null==e.payload.extensions||A(e.payload,"extensions"));case s.Next:return w(e,"id")&&A(e,"payload");case s.Error:return w(e,"id")&&function(e){return Array.isArray(e)&&e.length>0&&e.every(n=>"message"in n)}(e.payload);case s.Complete:return w(e,"id");default:return!1}}return!1}function V(e,n){if(G(e))return e;if("string"!=typeof e)throw new Error("Message not parsable");const c=JSON.parse(e,n);if(!G(c))throw new Error("Invalid message");return c}function N(e,n){if(!G(e))throw new Error("Cannot stringify invalid message");return JSON.stringify(e,n)}function v(e){return C(e)&&"code"in e&&"reason"in e}class _ extends H.q{createClient(){this.client=function(e){const{url:n,connectionParams:c,lazy:y=!0,onNonLazyError:R=console.error,lazyCloseTimeout:M=0,keepAlive:T=0,disablePong:ee,retryAttempts:q=5,retryWait:ne=function(){var t=(0,h.Z)(function*(a){let i=1e3;for(let o=0;o<a;o++)i*=2;yield new Promise(o=>setTimeout(o,i+Math.floor(2700*Math.random()+300)))});return function(a){return t.apply(this,arguments)}}(),isFatalConnectionProblem:te=(t=>!v(t)),on:r,webSocketImpl:Z,generateID:re=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,u=>{const a=16*Math.random()|0;return("x"==u?a:3&a|8).toString(16)})},jsonMessageReplacer:z,jsonMessageReviver:oe}=e;let b;if(Z){if(!function(e){return"function"==typeof e&&"constructor"in e&&"CLOSED"in e&&"CLOSING"in e&&"CONNECTING"in e&&"OPEN"in e}(Z))throw new Error("Invalid WebSocket implementation provided");b=Z}else"undefined"!=typeof WebSocket?b=WebSocket:"undefined"!=typeof global?b=global.WebSocket||global.MozWebSocket:"undefined"!=typeof window&&(b=window.WebSocket||window.MozWebSocket);if(!b)throw new Error("WebSocket implementation missing");const k=b,p=(()=>{const t=(()=>{const a={};return{on:(i,o)=>(a[i]=o,()=>{delete a[i]}),emit(i){var o;"id"in i&&(null===(o=a[i.id])||void 0===o||o.call(a,i))}}})(),u={connecting:(null==r?void 0:r.connecting)?[r.connecting]:[],connected:(null==r?void 0:r.connected)?[r.connected]:[],ping:(null==r?void 0:r.ping)?[r.ping]:[],pong:(null==r?void 0:r.pong)?[r.pong]:[],message:(null==r?void 0:r.message)?[t.emit,r.message]:[t.emit],closed:(null==r?void 0:r.closed)?[r.closed]:[],error:(null==r?void 0:r.error)?[r.error]:[]};return{onMessage:t.on,on(a,i){const o=u[a];return o.push(i),()=>{o.splice(o.indexOf(i),1)}},emit(a,...i){for(const o of u[a])o(...i)}}})();let m,g=0,F=!1,I=0,U=!1;function j(){return D.apply(this,arguments)}function D(){return(D=(0,h.Z)(function*(){const[t,u]=yield null!=m?m:m=new Promise((o,x)=>(0,h.Z)(function*(){if(F){if(yield ne(I),!g)return m=void 0,x({code:1e3,reason:"All Subscriptions Gone"});I++}p.emit("connecting");const l=new k("function"==typeof n?yield n():n,K);let P;function W(){isFinite(T)&&T>0&&(clearTimeout(P),P=setTimeout(()=>{l.readyState===k.OPEN&&(l.send(N({type:s.Ping})),p.emit("ping",!1,void 0))},T))}l.onerror=f=>{p.emit("error",f)},l.onclose=f=>{m=void 0,clearTimeout(P),p.emit("closed",f),x(f)},l.onopen=(0,h.Z)(function*(){try{l.send(N({type:s.ConnectionInit,payload:"function"==typeof c?yield c():c},z)),W()}catch(f){l.close(4400,f instanceof Error?f.message:new Error(f).message)}});let L=!1;l.onmessage=({data:f})=>{try{const d=V(f,oe);if(p.emit("message",d),"ping"===d.type||"pong"===d.type)return p.emit(d.type,!0,d.payload),void("pong"===d.type?W():ee||(l.send(N(d.payload?{type:s.Pong,payload:d.payload}:{type:s.Pong})),p.emit("pong",!1,d.payload)));if(L)return;if(d.type!==s.ConnectionAck)throw new Error(`First message cannot be of type ${d.type}`);L=!0,p.emit("connected",l,d.payload),F=!1,I=0,o([l,new Promise((le,ie)=>l.addEventListener("close",ie))])}catch(d){l.close(4400,d instanceof Error?d.message:new Error(d).message)}}})());t.readyState===k.CLOSING&&(yield u);let a=()=>{};const i=new Promise(o=>a=o);return[t,a,Promise.race([i.then(()=>{if(!g){const o=()=>t.close(1e3,"Normal Closure");isFinite(M)&&M>0?setTimeout(()=>{!g&&t.readyState===k.OPEN&&o()},M):o()}}),u])]})).apply(this,arguments)}function B(t){if(v(t)&&[1002,1011,4400,4401,4409,4429].includes(t.code))throw t;if(U)return!1;if(v(t)&&1e3===t.code)return g>0;if(!q||I>=q||te(t))throw t;return F=!0}return y||(0,h.Z)(function*(){for(g++;;)try{const[,,t]=yield j();yield t}catch(t){try{if(!B(t))return}catch(u){return null==R?void 0:R(u)}}})(),{on:p.on,subscribe(t,u){const a=re();let i=!1,o=!1,x=()=>{g--,i=!0};return(0,h.Z)(function*(){for(g++;;)try{const[l,P,W]=yield j();if(i)return P();const L=p.onMessage(a,f=>{switch(f.type){case s.Next:return void u.next(f.payload);case s.Error:return o=!0,i=!0,u.error(f.payload),void x();case s.Complete:return i=!0,void x()}});return l.send(N({id:a,type:s.Subscribe,payload:t},z)),x=()=>{!i&&l.readyState===k.OPEN&&l.send(N({id:a,type:s.Complete},z)),g--,i=!0,P()},void(yield W.finally(L))}catch(l){if(!B(l))return}})().catch(u.error).then(()=>{o||u.complete()}),()=>{i||x()}},dispose:()=>(0,h.Z)(function*(){if(U=!0,m){const[t]=yield m;t.close(1e3,"Normal Closure")}})()}}({url:this.subscriptionUrl,connectionParams:this.connectionParams,on:{connected:()=>{var n,c;null==(c=null==(n=this.extraOptions)?void 0:n.onConnected)||c.call(n,void 0,void 0)},error:n=>{var c,y;null==(y=null==(c=this.extraOptions)?void 0:c.onConnected)||y.call(c,n,void 0)}}})}execute(n){if(this.createClient(),!this.client)throw new Error("Could not create subscription client!");return new J.y(c=>{this.cleanup=this.client.subscribe({query:n.query,variables:n.variables,operationName:n.operationName},{next:(...y)=>c.next(...y),error:(...y)=>c.error(...y),complete:()=>c.complete()})})}close(){var n,c;null==(n=this.cleanup)||n.call(this),this.cleanup=void 0,null==(c=this.client)||c.dispose(),this.client=void 0}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[108],{52108:function(Ce){Ce.exports=function(){"use strict";function L(e){var n={exports:{}};return e(n,n.exports),n.exports}function fe(e){return(fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var je=Object.defineProperty({default:function(e){return"object"==fe(e)&&null!==e}},"__esModule",{value:!0}),he=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.SYMBOL_TO_STRING_TAG=n.SYMBOL_ASYNC_ITERATOR=n.SYMBOL_ITERATOR=void 0;var o="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator";n.SYMBOL_ITERATOR=o;var c="function"==typeof Symbol&&null!=Symbol.asyncIterator?Symbol.asyncIterator:"@@asyncIterator";n.SYMBOL_ASYNC_ITERATOR=c;var f="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";n.SYMBOL_TO_STRING_TAG=f}),q=Object.defineProperty({getLocation:function(e,n){for(var o,c=/\r\n|[\n\r]/g,f=1,T=n+1;(o=c.exec(e.body))&&o.index<n;)f+=1,T=n+1-(o.index+o[0].length);return{line:f,column:T}}},"__esModule",{value:!0});function Te(e,n){var o=e.locationOffset.column-1,c=H(o)+e.body,f=n.line-1,r=n.line+(e.locationOffset.line-1),i=n.column+(1===n.line?o:0),a="".concat(e.name,":").concat(r,":").concat(i,"\n"),l=c.split(/\r\n|[\n\r]/g),v=l[f];if(v.length>120){for(var b=Math.floor(i/80),d=i%80,E=[],m=0;m<v.length;m+=80)E.push(v.slice(m,m+80));return a+ve([["".concat(r),E[0]]].concat(E.slice(1,b+1).map(function(y){return["",y]}),[[" ",H(d-1)+"^"],["",E[b+1]]]))}return a+ve([["".concat(r-1),l[f-1]],["".concat(r),v],["",H(i-1)+"^"],["".concat(r+1),l[f+1]]])}function ve(e){var n=e.filter(function(c){return void 0!==c[1]}),o=Math.max.apply(Math,n.map(function(c){return c[0].length}));return n.map(function(c){var f,r=c[1];return H(o-(f=c[0]).length)+f+(r?" | "+r:" |")}).join("\n")}function H(e){return Array(e+1).join(" ")}var W,z=Object.defineProperty({printLocation:function(e){return Te(e.source,(0,q.getLocation)(e.source,e.start))},printSourceLocation:Te},"__esModule",{value:!0}),$=L(function(e,n){function o(m){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(y){return typeof y}:function(y){return y&&"function"==typeof Symbol&&y.constructor===Symbol&&y!==Symbol.prototype?"symbol":typeof y})(m)}Object.defineProperty(n,"__esModule",{value:!0}),n.printError=E,n.GraphQLError=void 0;var c,f=(c=je)&&c.__esModule?c:{default:c};function T(m,y){for(var _=0;_<y.length;_++){var u=y[_];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(m,u.key,u)}}function r(m,y){return!y||"object"!==o(y)&&"function"!=typeof y?t(m):y}function t(m){if(void 0===m)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function i(m){var y="function"==typeof Map?new Map:void 0;return(i=function(_){if(null===_||-1===Function.toString.call(_).indexOf("[native code]"))return _;if("function"!=typeof _)throw new TypeError("Super expression must either be null or a function");if(void 0!==y){if(y.has(_))return y.get(_);y.set(_,O)}function O(){return a(_,arguments,b(this).constructor)}return O.prototype=Object.create(_.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),v(O,_)})(m)}function a(m,y,_){return(a=l()?Reflect.construct:function(u,O,p){var N=[null];N.push.apply(N,O);var D=new(Function.bind.apply(u,N));return p&&v(D,p.prototype),D}).apply(null,arguments)}function l(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(m){return!1}}function v(m,y){return(v=Object.setPrototypeOf||function(_,u){return _.__proto__=u,_})(m,y)}function b(m){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(y){return y.__proto__||Object.getPrototypeOf(y)})(m)}var d=function(m){!function(I,g){if("function"!=typeof g&&null!==g)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(g&&g.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),g&&v(I,g)}(D,m);var y,_,u,O,N=(y=D,_=l(),function(){var I,g=b(y);if(_){var S=b(this).constructor;I=Reflect.construct(g,arguments,S)}else I=g.apply(this,arguments);return r(this,I)});function D(I,g,S,K,M,P,ne){var Y,w,J,ue,G;(function(B,U){if(!(B instanceof U))throw new TypeError("Cannot call a class as a function")})(this,D),G=N.call(this,I);var le,V=Array.isArray(g)?0!==g.length?g:void 0:g?[g]:void 0,de=S;!de&&V&&(de=null===(le=V[0].loc)||void 0===le?void 0:le.source);var te,X=K;!X&&V&&(X=V.reduce(function(B,U){return U.loc&&B.push(U.loc.start),B},[])),X&&0===X.length&&(X=void 0),K&&S?te=K.map(function(B){return(0,q.getLocation)(S,B)}):V&&(te=V.reduce(function(B,U){return U.loc&&B.push((0,q.getLocation)(U.loc.source,U.loc.start)),B},[]));var ie=ne;if(null==ie&&null!=P){var Pe=P.extensions;(0,f.default)(Pe)&&(ie=Pe)}return Object.defineProperties(t(G),{name:{value:"GraphQLError"},message:{value:I,enumerable:!0,writable:!0},locations:{value:null!==(Y=te)&&void 0!==Y?Y:void 0,enumerable:null!=te},path:{value:null!=M?M:void 0,enumerable:null!=M},nodes:{value:null!=V?V:void 0},source:{value:null!==(w=de)&&void 0!==w?w:void 0},positions:{value:null!==(J=X)&&void 0!==J?J:void 0},originalError:{value:P},extensions:{value:null!==(ue=ie)&&void 0!==ue?ue:void 0,enumerable:null!=ie}}),null!=P&&P.stack?(Object.defineProperty(t(G),"stack",{value:P.stack,writable:!0,configurable:!0}),r(G)):(Error.captureStackTrace?Error.captureStackTrace(t(G),D):Object.defineProperty(t(G),"stack",{value:Error().stack,writable:!0,configurable:!0}),G)}return u=D,(O=[{key:"toString",value:function(){return E(this)}},{key:he.SYMBOL_TO_STRING_TAG,get:function(){return"Object"}}])&&T(u.prototype,O),D}(i(Error));function E(m){var y=m.message;if(m.nodes)for(var _=0,u=m.nodes;_<u.length;_++){var O=u[_];O.loc&&(y+="\n\n"+(0,z.printLocation)(O.loc))}else if(m.source&&m.locations)for(var p=0,N=m.locations;p<N.length;p++)y+="\n\n"+(0,z.printSourceLocation)(m.source,N[p]);return y}n.GraphQLError=d}),R=Object.defineProperty({syntaxError:function(e,n,o){return new $.GraphQLError("Syntax Error: ".concat(o),void 0,e,[n])}},"__esModule",{value:!0}),Ee=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;n.default=o}),Je=(W=Ee)&&W.__esModule?W:{default:W};function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}function Z(e,n){switch(ye(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(o,c){if(-1!==c.indexOf(o))return"[Circular]";var t,i,f=[].concat(c,[o]),T="function"==typeof(i=(t=o)[String(Je.default)])?i:"function"==typeof t.inspect?t.inspect:void 0;if(void 0!==T){var r=T.call(o);if(r!==o)return"string"==typeof r?r:Z(r,f)}else if(Array.isArray(o))return function(t,i){if(0===t.length)return"[]";if(i.length>2)return"[Array]";for(var a=Math.min(10,t.length),l=t.length-a,v=[],b=0;b<a;++b)v.push(Z(t[b],i));return 1===l?v.push("... 1 more item"):l>1&&v.push("... ".concat(l," more items")),"["+v.join(", ")+"]"}(o,f);return function(t,i){var a=Object.keys(t);return 0===a.length?"{}":i.length>2?"["+function(l){var v=Object.prototype.toString.call(l).replace(/^\[object /,"").replace(/]$/,"");if("Object"===v&&"function"==typeof l.constructor){var b=l.constructor.name;if("string"==typeof b&&""!==b)return b}return v}(t)+"]":"{ "+a.map(function(l){return l+": "+Z(t[l],i)}).join(", ")+" }"}(o,f)}(e,n);default:return String(e)}}var e,oe=Object.defineProperty({default:function(e){return Z(e,[])}},"__esModule",{value:!0}),Qe=(e=oe)&&e.__esModule?e:{default:e},qe=Object.defineProperty({locatedError:function(e,n,o){var c,f=e instanceof Error?e:new Error("Unexpected error value: "+(0,Qe.default)(e));return Array.isArray(f.path)?f:new $.GraphQLError(f.message,null!==(c=f.nodes)&&void 0!==c?c:n,f.source,f.positions,o,f)}},"__esModule",{value:!0}),me=Object.defineProperty({default:function(e,n){if(!Boolean(e))throw new Error(n)}},"__esModule",{value:!0}),$e=function(e){return e&&e.__esModule?e:{default:e}}(me),We=Object.defineProperty({formatError:function(e){var n;e||(0,$e.default)(0,"Received null or undefined error.");var o=null!==(n=e.message)&&void 0!==n?n:"An unknown error occurred.",c=e.locations,f=e.path,T=e.extensions;return T?{message:o,locations:c,path:f,extensions:T}:{message:o,locations:c,path:f}}},"__esModule",{value:!0}),Ze=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"GraphQLError",{enumerable:!0,get:function(){return $.GraphQLError}}),Object.defineProperty(n,"printError",{enumerable:!0,get:function(){return $.printError}}),Object.defineProperty(n,"syntaxError",{enumerable:!0,get:function(){return R.syntaxError}}),Object.defineProperty(n,"locatedError",{enumerable:!0,get:function(){return qe.locatedError}}),Object.defineProperty(n,"formatError",{enumerable:!0,get:function(){return We.formatError}})}),en=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,n.default=function(o,c){return o instanceof c}}),ae=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isSource=function(i){return(0,f.default)(i,t)},n.Source=void 0;var o=T(oe),c=T(me),f=T(en);function T(i){return i&&i.__esModule?i:{default:i}}function r(i,a){for(var l=0;l<a.length;l++){var v=a[l];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(i,v.key,v)}}var t=function(){function i(b){var d=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",E=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof b||(0,c.default)(0,"Body must be a string. Received: ".concat((0,o.default)(b),".")),this.body=b,this.name=d,this.locationOffset=E,this.locationOffset.line>0||(0,c.default)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,c.default)(0,"column in locationOffset is 1-indexed and must be positive.")}var a,l;return a=i,(l=[{key:he.SYMBOL_TO_STRING_TAG,get:function(){return"Source"}}])&&r(a.prototype,l),i}();n.Source=t}),h=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.Kind=void 0;var o=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"});n.Kind=o}),s=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.TokenKind=void 0;var o=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"});n.TokenKind=o}),rn=ke(Object.defineProperty({default:function(e,n){if(!Boolean(e))throw new Error(null!=n?n:"Unexpected invariant triggered.")}},"__esModule",{value:!0})),Ne=ke(Ee);function ke(e){return e&&e.__esModule?e:{default:e}}var on=Object.defineProperty({default:function(e){var n=e.prototype.toJSON;"function"==typeof n||(0,rn.default)(0),e.prototype.inspect=n,Ne.default&&(e.prototype[Ne.default]=n)}},"__esModule",{value:!0}),x=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isNode=function(T){return null!=T&&"string"==typeof T.kind},n.Token=n.Location=void 0;var T,o=(T=on)&&T.__esModule?T:{default:T},c=function(){function T(r,t,i){this.start=r.start,this.end=t.end,this.startToken=r,this.endToken=t,this.source=i}return T.prototype.toJSON=function(){return{start:this.start,end:this.end}},T}();n.Location=c,(0,o.default)(c);var f=function(){function T(r,t,i,a,l,v,b){this.kind=r,this.start=t,this.end=i,this.line=a,this.column=l,this.value=b,this.prev=v,this.next=null}return T.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},T}();n.Token=f,(0,o.default)(f)});function _e(e){for(var n=0;n<e.length;++n)if(" "!==e[n]&&"\t"!==e[n])return!1;return!0}function Oe(e){for(var n,o=!0,c=!0,f=0,T=null,r=0;r<e.length;++r)switch(e.charCodeAt(r)){case 13:10===e.charCodeAt(r+1)&&++r;case 10:o=!1,c=!0,f=0;break;case 9:case 32:++f;break;default:c&&!o&&(null===T||f<T)&&(T=f),c=!1}return null!==(n=T)&&void 0!==n?n:0}var Ie=Object.defineProperty({dedentBlockStringValue:function(e){var n=e.split(/\r\n|[\n\r]/g),o=Oe(e);if(0!==o)for(var c=1;c<n.length;c++)n[c]=n[c].slice(o);for(var f=0;f<n.length&&_e(n[f]);)++f;for(var T=n.length;T>f&&_e(n[T-1]);)--T;return n.slice(f,T).join("\n")},getBlockStringIndentation:Oe,printBlockString:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],c=-1===e.indexOf("\n"),t=!c||'"'===e[e.length-1]||"\\"===e[e.length-1]||o,i="";return!t||c&&(" "===e[0]||"\t"===e[0])||(i+="\n"+n),i+=n?e.replace(/\n/g,"\n"+n):e,t&&(i+="\n"),'"""'+i.replace(/"""/g,'\\"""')+'"""'}},"__esModule",{value:!0}),se=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.isPunctuatorTokenKind=function(d){return d===s.TokenKind.BANG||d===s.TokenKind.DOLLAR||d===s.TokenKind.AMP||d===s.TokenKind.PAREN_L||d===s.TokenKind.PAREN_R||d===s.TokenKind.SPREAD||d===s.TokenKind.COLON||d===s.TokenKind.EQUALS||d===s.TokenKind.AT||d===s.TokenKind.BRACKET_L||d===s.TokenKind.BRACKET_R||d===s.TokenKind.BRACE_L||d===s.TokenKind.PIPE||d===s.TokenKind.BRACE_R},n.Lexer=void 0;var o=function(){function d(m){var y=new x.Token(s.TokenKind.SOF,0,0,0,0,null);this.source=m,this.lastToken=y,this.token=y,this.line=1,this.lineStart=0}var E=d.prototype;return E.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},E.lookahead=function(){var m=this.token;if(m.kind!==s.TokenKind.EOF)do{var y;m=null!==(y=m.next)&&void 0!==y?y:m.next=f(this,m)}while(m.kind===s.TokenKind.COMMENT);return m},d}();function c(d){return isNaN(d)?s.TokenKind.EOF:d<127?JSON.stringify(String.fromCharCode(d)):'"\\u'.concat(("00"+d.toString(16).toUpperCase()).slice(-4),'"')}function f(d,E){for(var m=d.source,y=m.body,_=y.length,u=E.end;u<_;){var O=y.charCodeAt(u),p=d.line,N=1+u-d.lineStart;switch(O){case 65279:case 9:case 32:case 44:++u;continue;case 10:++u,++d.line,d.lineStart=u;continue;case 13:10===y.charCodeAt(u+1)?u+=2:++u,++d.line,d.lineStart=u;continue;case 33:return new x.Token(s.TokenKind.BANG,u,u+1,p,N,E);case 35:return r(m,u,p,N,E);case 36:return new x.Token(s.TokenKind.DOLLAR,u,u+1,p,N,E);case 38:return new x.Token(s.TokenKind.AMP,u,u+1,p,N,E);case 40:return new x.Token(s.TokenKind.PAREN_L,u,u+1,p,N,E);case 41:return new x.Token(s.TokenKind.PAREN_R,u,u+1,p,N,E);case 46:if(46===y.charCodeAt(u+1)&&46===y.charCodeAt(u+2))return new x.Token(s.TokenKind.SPREAD,u,u+3,p,N,E);break;case 58:return new x.Token(s.TokenKind.COLON,u,u+1,p,N,E);case 61:return new x.Token(s.TokenKind.EQUALS,u,u+1,p,N,E);case 64:return new x.Token(s.TokenKind.AT,u,u+1,p,N,E);case 91:return new x.Token(s.TokenKind.BRACKET_L,u,u+1,p,N,E);case 93:return new x.Token(s.TokenKind.BRACKET_R,u,u+1,p,N,E);case 123:return new x.Token(s.TokenKind.BRACE_L,u,u+1,p,N,E);case 124:return new x.Token(s.TokenKind.PIPE,u,u+1,p,N,E);case 125:return new x.Token(s.TokenKind.BRACE_R,u,u+1,p,N,E);case 34:return 34===y.charCodeAt(u+1)&&34===y.charCodeAt(u+2)?l(m,u,p,N,E,d):a(m,u,p,N,E);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t(m,u,O,p,N,E);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 b(m,u,p,N,E)}throw(0,R.syntaxError)(m,u,T(O))}return new x.Token(s.TokenKind.EOF,_,_,d.line,1+u-d.lineStart,E)}function T(d){return d<32&&9!==d&&10!==d&&13!==d?"Cannot contain the invalid character ".concat(c(d),"."):39===d?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(c(d),".")}function r(d,E,m,y,_){var u,O=d.body,p=E;do{u=O.charCodeAt(++p)}while(!isNaN(u)&&(u>31||9===u));return new x.Token(s.TokenKind.COMMENT,E,p,m,y,_,O.slice(E+1,p))}function t(d,E,m,y,_,u){var I,O=d.body,p=m,N=E,D=!1;if(45===p&&(p=O.charCodeAt(++N)),48===p){if((p=O.charCodeAt(++N))>=48&&p<=57)throw(0,R.syntaxError)(d,N,"Invalid number, unexpected digit after 0: ".concat(c(p),"."))}else N=i(d,N,p),p=O.charCodeAt(N);if(46===p&&(D=!0,p=O.charCodeAt(++N),N=i(d,N,p),p=O.charCodeAt(N)),69!==p&&101!==p||(D=!0,43!==(p=O.charCodeAt(++N))&&45!==p||(p=O.charCodeAt(++N)),N=i(d,N,p),p=O.charCodeAt(N)),46===p||95===(I=p)||I>=65&&I<=90||I>=97&&I<=122)throw(0,R.syntaxError)(d,N,"Invalid number, expected digit but got: ".concat(c(p),"."));return new x.Token(D?s.TokenKind.FLOAT:s.TokenKind.INT,E,N,y,_,u,O.slice(E,N))}function i(d,E,m){var y=d.body,_=E,u=m;if(u>=48&&u<=57){do{u=y.charCodeAt(++_)}while(u>=48&&u<=57);return _}throw(0,R.syntaxError)(d,_,"Invalid number, expected digit but got: ".concat(c(u),"."))}function a(d,E,m,y,_){for(var u,O,p,N,D=d.body,I=E+1,g=I,S=0,K="";I<D.length&&!isNaN(S=D.charCodeAt(I))&&10!==S&&13!==S;){if(34===S)return K+=D.slice(g,I),new x.Token(s.TokenKind.STRING,E,I+1,m,y,_,K);if(S<32&&9!==S)throw(0,R.syntaxError)(d,I,"Invalid character within String: ".concat(c(S),"."));if(++I,92===S){switch(K+=D.slice(g,I-1),S=D.charCodeAt(I)){case 34:K+='"';break;case 47:K+="/";break;case 92:K+="\\";break;case 98:K+="\b";break;case 102:K+="\f";break;case 110:K+="\n";break;case 114:K+="\r";break;case 116:K+="\t";break;case 117:var M=(u=D.charCodeAt(I+1),O=D.charCodeAt(I+2),p=D.charCodeAt(I+3),N=D.charCodeAt(I+4),v(u)<<12|v(O)<<8|v(p)<<4|v(N));if(M<0){var P=D.slice(I+1,I+5);throw(0,R.syntaxError)(d,I,"Invalid character escape sequence: \\u".concat(P,"."))}K+=String.fromCharCode(M),I+=4;break;default:throw(0,R.syntaxError)(d,I,"Invalid character escape sequence: \\".concat(String.fromCharCode(S),"."))}g=++I}}throw(0,R.syntaxError)(d,I,"Unterminated string.")}function l(d,E,m,y,_,u){for(var O=d.body,p=E+3,N=p,D=0,I="";p<O.length&&!isNaN(D=O.charCodeAt(p));){if(34===D&&34===O.charCodeAt(p+1)&&34===O.charCodeAt(p+2))return I+=O.slice(N,p),new x.Token(s.TokenKind.BLOCK_STRING,E,p+3,m,y,_,(0,Ie.dedentBlockStringValue)(I));if(D<32&&9!==D&&10!==D&&13!==D)throw(0,R.syntaxError)(d,p,"Invalid character within String: ".concat(c(D),"."));10===D?(++p,++u.line,u.lineStart=p):13===D?(10===O.charCodeAt(p+1)?p+=2:++p,++u.line,u.lineStart=p):92===D&&34===O.charCodeAt(p+1)&&34===O.charCodeAt(p+2)&&34===O.charCodeAt(p+3)?(I+=O.slice(N,p)+'"""',N=p+=4):++p}throw(0,R.syntaxError)(d,p,"Unterminated string.")}function v(d){return d>=48&&d<=57?d-48:d>=65&&d<=70?d-55:d>=97&&d<=102?d-87:-1}function b(d,E,m,y,_){for(var u=d.body,O=u.length,p=E+1,N=0;p!==O&&!isNaN(N=u.charCodeAt(p))&&(95===N||N>=48&&N<=57||N>=65&&N<=90||N>=97&&N<=122);)++p;return new x.Token(s.TokenKind.NAME,E,p,m,y,_,u.slice(E,p))}n.Lexer=o}),be=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.DirectiveLocation=void 0;var o=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"});n.DirectiveLocation=o}),ce=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.parse=function(T,r){return new o(T,r).parseDocument()},n.parseValue=function(T,r){var t=new o(T,r);t.expectToken(s.TokenKind.SOF);var i=t.parseValueLiteral(!1);return t.expectToken(s.TokenKind.EOF),i},n.parseType=function(T,r){var t=new o(T,r);t.expectToken(s.TokenKind.SOF);var i=t.parseTypeReference();return t.expectToken(s.TokenKind.EOF),i},n.Parser=void 0;var o=function(){function T(t,i){var a=(0,ae.isSource)(t)?t:new ae.Source(t);this._lexer=new se.Lexer(a),this._options=i}var r=T.prototype;return r.parseName=function(){var t=this.expectToken(s.TokenKind.NAME);return{kind:h.Kind.NAME,value:t.value,loc:this.loc(t)}},r.parseDocument=function(){var t=this._lexer.token;return{kind:h.Kind.DOCUMENT,definitions:this.many(s.TokenKind.SOF,this.parseDefinition,s.TokenKind.EOF),loc:this.loc(t)}},r.parseDefinition=function(){if(this.peek(s.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(s.TokenKind.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},r.parseOperationDefinition=function(){var t=this._lexer.token;if(this.peek(s.TokenKind.BRACE_L))return{kind:h.Kind.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(t)};var i,a=this.parseOperationType();return this.peek(s.TokenKind.NAME)&&(i=this.parseName()),{kind:h.Kind.OPERATION_DEFINITION,operation:a,name:i,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},r.parseOperationType=function(){var t=this.expectToken(s.TokenKind.NAME);switch(t.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(t)},r.parseVariableDefinitions=function(){return this.optionalMany(s.TokenKind.PAREN_L,this.parseVariableDefinition,s.TokenKind.PAREN_R)},r.parseVariableDefinition=function(){var t=this._lexer.token;return{kind:h.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(s.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(s.TokenKind.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(t)}},r.parseVariable=function(){var t=this._lexer.token;return this.expectToken(s.TokenKind.DOLLAR),{kind:h.Kind.VARIABLE,name:this.parseName(),loc:this.loc(t)}},r.parseSelectionSet=function(){var t=this._lexer.token;return{kind:h.Kind.SELECTION_SET,selections:this.many(s.TokenKind.BRACE_L,this.parseSelection,s.TokenKind.BRACE_R),loc:this.loc(t)}},r.parseSelection=function(){return this.peek(s.TokenKind.SPREAD)?this.parseFragment():this.parseField()},r.parseField=function(){var t,i,a=this._lexer.token,l=this.parseName();return this.expectOptionalToken(s.TokenKind.COLON)?(t=l,i=this.parseName()):i=l,{kind:h.Kind.FIELD,alias:t,name:i,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(s.TokenKind.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(a)}},r.parseArguments=function(t){return this.optionalMany(s.TokenKind.PAREN_L,t?this.parseConstArgument:this.parseArgument,s.TokenKind.PAREN_R)},r.parseArgument=function(){var t=this._lexer.token,i=this.parseName();return this.expectToken(s.TokenKind.COLON),{kind:h.Kind.ARGUMENT,name:i,value:this.parseValueLiteral(!1),loc:this.loc(t)}},r.parseConstArgument=function(){var t=this._lexer.token;return{kind:h.Kind.ARGUMENT,name:this.parseName(),value:(this.expectToken(s.TokenKind.COLON),this.parseValueLiteral(!0)),loc:this.loc(t)}},r.parseFragment=function(){var t=this._lexer.token;this.expectToken(s.TokenKind.SPREAD);var i=this.expectOptionalKeyword("on");return!i&&this.peek(s.TokenKind.NAME)?{kind:h.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(t)}:{kind:h.Kind.INLINE_FRAGMENT,typeCondition:i?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},r.parseFragmentDefinition=function(){var t,i=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(t=this._options)||void 0===t?void 0:t.experimentalFragmentVariables)?{kind:h.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}:{kind:h.Kind.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}},r.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},r.parseValueLiteral=function(t){var i=this._lexer.token;switch(i.kind){case s.TokenKind.BRACKET_L:return this.parseList(t);case s.TokenKind.BRACE_L:return this.parseObject(t);case s.TokenKind.INT:return this._lexer.advance(),{kind:h.Kind.INT,value:i.value,loc:this.loc(i)};case s.TokenKind.FLOAT:return this._lexer.advance(),{kind:h.Kind.FLOAT,value:i.value,loc:this.loc(i)};case s.TokenKind.STRING:case s.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case s.TokenKind.NAME:switch(this._lexer.advance(),i.value){case"true":return{kind:h.Kind.BOOLEAN,value:!0,loc:this.loc(i)};case"false":return{kind:h.Kind.BOOLEAN,value:!1,loc:this.loc(i)};case"null":return{kind:h.Kind.NULL,loc:this.loc(i)};default:return{kind:h.Kind.ENUM,value:i.value,loc:this.loc(i)}}case s.TokenKind.DOLLAR:if(!t)return this.parseVariable()}throw this.unexpected()},r.parseStringLiteral=function(){var t=this._lexer.token;return this._lexer.advance(),{kind:h.Kind.STRING,value:t.value,block:t.kind===s.TokenKind.BLOCK_STRING,loc:this.loc(t)}},r.parseList=function(t){var i=this,a=this._lexer.token;return{kind:h.Kind.LIST,values:this.any(s.TokenKind.BRACKET_L,function(){return i.parseValueLiteral(t)},s.TokenKind.BRACKET_R),loc:this.loc(a)}},r.parseObject=function(t){var i=this,a=this._lexer.token;return{kind:h.Kind.OBJECT,fields:this.any(s.TokenKind.BRACE_L,function(){return i.parseObjectField(t)},s.TokenKind.BRACE_R),loc:this.loc(a)}},r.parseObjectField=function(t){var i=this._lexer.token,a=this.parseName();return this.expectToken(s.TokenKind.COLON),{kind:h.Kind.OBJECT_FIELD,name:a,value:this.parseValueLiteral(t),loc:this.loc(i)}},r.parseDirectives=function(t){for(var i=[];this.peek(s.TokenKind.AT);)i.push(this.parseDirective(t));return i},r.parseDirective=function(t){var i=this._lexer.token;return this.expectToken(s.TokenKind.AT),{kind:h.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(t),loc:this.loc(i)}},r.parseTypeReference=function(){var t,i=this._lexer.token;return this.expectOptionalToken(s.TokenKind.BRACKET_L)?(t=this.parseTypeReference(),this.expectToken(s.TokenKind.BRACKET_R),t={kind:h.Kind.LIST_TYPE,type:t,loc:this.loc(i)}):t=this.parseNamedType(),this.expectOptionalToken(s.TokenKind.BANG)?{kind:h.Kind.NON_NULL_TYPE,type:t,loc:this.loc(i)}:t},r.parseNamedType=function(){var t=this._lexer.token;return{kind:h.Kind.NAMED_TYPE,name:this.parseName(),loc:this.loc(t)}},r.parseTypeSystemDefinition=function(){var t=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(t.kind===s.TokenKind.NAME)switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(t)},r.peekDescription=function(){return this.peek(s.TokenKind.STRING)||this.peek(s.TokenKind.BLOCK_STRING)},r.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},r.parseSchemaDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("schema");var a=this.parseDirectives(!0),l=this.many(s.TokenKind.BRACE_L,this.parseOperationTypeDefinition,s.TokenKind.BRACE_R);return{kind:h.Kind.SCHEMA_DEFINITION,description:i,directives:a,operationTypes:l,loc:this.loc(t)}},r.parseOperationTypeDefinition=function(){var t=this._lexer.token,i=this.parseOperationType();this.expectToken(s.TokenKind.COLON);var a=this.parseNamedType();return{kind:h.Kind.OPERATION_TYPE_DEFINITION,operation:i,type:a,loc:this.loc(t)}},r.parseScalarTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("scalar");var a=this.parseName(),l=this.parseDirectives(!0);return{kind:h.Kind.SCALAR_TYPE_DEFINITION,description:i,name:a,directives:l,loc:this.loc(t)}},r.parseObjectTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("type");var a=this.parseName(),l=this.parseImplementsInterfaces(),v=this.parseDirectives(!0),b=this.parseFieldsDefinition();return{kind:h.Kind.OBJECT_TYPE_DEFINITION,description:i,name:a,interfaces:l,directives:v,fields:b,loc:this.loc(t)}},r.parseImplementsInterfaces=function(){var t;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLImplementsInterfaces)){var i=[];this.expectOptionalToken(s.TokenKind.AMP);do{i.push(this.parseNamedType())}while(this.expectOptionalToken(s.TokenKind.AMP)||this.peek(s.TokenKind.NAME));return i}return this.delimitedMany(s.TokenKind.AMP,this.parseNamedType)},r.parseFieldsDefinition=function(){var t;return!0===(null===(t=this._options)||void 0===t?void 0:t.allowLegacySDLEmptyFields)&&this.peek(s.TokenKind.BRACE_L)&&this._lexer.lookahead().kind===s.TokenKind.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(s.TokenKind.BRACE_L,this.parseFieldDefinition,s.TokenKind.BRACE_R)},r.parseFieldDefinition=function(){var t=this._lexer.token,i=this.parseDescription(),a=this.parseName(),l=this.parseArgumentDefs();this.expectToken(s.TokenKind.COLON);var v=this.parseTypeReference(),b=this.parseDirectives(!0);return{kind:h.Kind.FIELD_DEFINITION,description:i,name:a,arguments:l,type:v,directives:b,loc:this.loc(t)}},r.parseArgumentDefs=function(){return this.optionalMany(s.TokenKind.PAREN_L,this.parseInputValueDef,s.TokenKind.PAREN_R)},r.parseInputValueDef=function(){var t=this._lexer.token,i=this.parseDescription(),a=this.parseName();this.expectToken(s.TokenKind.COLON);var l,v=this.parseTypeReference();this.expectOptionalToken(s.TokenKind.EQUALS)&&(l=this.parseValueLiteral(!0));var b=this.parseDirectives(!0);return{kind:h.Kind.INPUT_VALUE_DEFINITION,description:i,name:a,type:v,defaultValue:l,directives:b,loc:this.loc(t)}},r.parseInterfaceTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("interface");var a=this.parseName(),l=this.parseImplementsInterfaces(),v=this.parseDirectives(!0),b=this.parseFieldsDefinition();return{kind:h.Kind.INTERFACE_TYPE_DEFINITION,description:i,name:a,interfaces:l,directives:v,fields:b,loc:this.loc(t)}},r.parseUnionTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("union");var a=this.parseName(),l=this.parseDirectives(!0),v=this.parseUnionMemberTypes();return{kind:h.Kind.UNION_TYPE_DEFINITION,description:i,name:a,directives:l,types:v,loc:this.loc(t)}},r.parseUnionMemberTypes=function(){return this.expectOptionalToken(s.TokenKind.EQUALS)?this.delimitedMany(s.TokenKind.PIPE,this.parseNamedType):[]},r.parseEnumTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("enum");var a=this.parseName(),l=this.parseDirectives(!0),v=this.parseEnumValuesDefinition();return{kind:h.Kind.ENUM_TYPE_DEFINITION,description:i,name:a,directives:l,values:v,loc:this.loc(t)}},r.parseEnumValuesDefinition=function(){return this.optionalMany(s.TokenKind.BRACE_L,this.parseEnumValueDefinition,s.TokenKind.BRACE_R)},r.parseEnumValueDefinition=function(){var t=this._lexer.token,i=this.parseDescription(),a=this.parseName(),l=this.parseDirectives(!0);return{kind:h.Kind.ENUM_VALUE_DEFINITION,description:i,name:a,directives:l,loc:this.loc(t)}},r.parseInputObjectTypeDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("input");var a=this.parseName(),l=this.parseDirectives(!0),v=this.parseInputFieldsDefinition();return{kind:h.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:i,name:a,directives:l,fields:v,loc:this.loc(t)}},r.parseInputFieldsDefinition=function(){return this.optionalMany(s.TokenKind.BRACE_L,this.parseInputValueDef,s.TokenKind.BRACE_R)},r.parseTypeSystemExtension=function(){var t=this._lexer.lookahead();if(t.kind===s.TokenKind.NAME)switch(t.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(t)},r.parseSchemaExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var i=this.parseDirectives(!0),a=this.optionalMany(s.TokenKind.BRACE_L,this.parseOperationTypeDefinition,s.TokenKind.BRACE_R);if(0===i.length&&0===a.length)throw this.unexpected();return{kind:h.Kind.SCHEMA_EXTENSION,directives:i,operationTypes:a,loc:this.loc(t)}},r.parseScalarTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var i=this.parseName(),a=this.parseDirectives(!0);if(0===a.length)throw this.unexpected();return{kind:h.Kind.SCALAR_TYPE_EXTENSION,name:i,directives:a,loc:this.loc(t)}},r.parseObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var i=this.parseName(),a=this.parseImplementsInterfaces(),l=this.parseDirectives(!0),v=this.parseFieldsDefinition();if(0===a.length&&0===l.length&&0===v.length)throw this.unexpected();return{kind:h.Kind.OBJECT_TYPE_EXTENSION,name:i,interfaces:a,directives:l,fields:v,loc:this.loc(t)}},r.parseInterfaceTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var i=this.parseName(),a=this.parseImplementsInterfaces(),l=this.parseDirectives(!0),v=this.parseFieldsDefinition();if(0===a.length&&0===l.length&&0===v.length)throw this.unexpected();return{kind:h.Kind.INTERFACE_TYPE_EXTENSION,name:i,interfaces:a,directives:l,fields:v,loc:this.loc(t)}},r.parseUnionTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var i=this.parseName(),a=this.parseDirectives(!0),l=this.parseUnionMemberTypes();if(0===a.length&&0===l.length)throw this.unexpected();return{kind:h.Kind.UNION_TYPE_EXTENSION,name:i,directives:a,types:l,loc:this.loc(t)}},r.parseEnumTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var i=this.parseName(),a=this.parseDirectives(!0),l=this.parseEnumValuesDefinition();if(0===a.length&&0===l.length)throw this.unexpected();return{kind:h.Kind.ENUM_TYPE_EXTENSION,name:i,directives:a,values:l,loc:this.loc(t)}},r.parseInputObjectTypeExtension=function(){var t=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var i=this.parseName(),a=this.parseDirectives(!0),l=this.parseInputFieldsDefinition();if(0===a.length&&0===l.length)throw this.unexpected();return{kind:h.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:i,directives:a,fields:l,loc:this.loc(t)}},r.parseDirectiveDefinition=function(){var t=this._lexer.token,i=this.parseDescription();this.expectKeyword("directive"),this.expectToken(s.TokenKind.AT);var a=this.parseName(),l=this.parseArgumentDefs(),v=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var b=this.parseDirectiveLocations();return{kind:h.Kind.DIRECTIVE_DEFINITION,description:i,name:a,arguments:l,repeatable:v,locations:b,loc:this.loc(t)}},r.parseDirectiveLocations=function(){return this.delimitedMany(s.TokenKind.PIPE,this.parseDirectiveLocation)},r.parseDirectiveLocation=function(){var t=this._lexer.token,i=this.parseName();if(void 0!==be.DirectiveLocation[i.value])return i;throw this.unexpected(t)},r.loc=function(t){var i;if(!0!==(null===(i=this._options)||void 0===i?void 0:i.noLocation))return new x.Location(t,this._lexer.lastToken,this._lexer.source)},r.peek=function(t){return this._lexer.token.kind===t},r.expectToken=function(t){var i=this._lexer.token;if(i.kind===t)return this._lexer.advance(),i;throw(0,R.syntaxError)(this._lexer.source,i.start,"Expected ".concat(f(t),", found ").concat(c(i),"."))},r.expectOptionalToken=function(t){var i=this._lexer.token;if(i.kind===t)return this._lexer.advance(),i},r.expectKeyword=function(t){var i=this._lexer.token;if(i.kind!==s.TokenKind.NAME||i.value!==t)throw(0,R.syntaxError)(this._lexer.source,i.start,'Expected "'.concat(t,'", found ').concat(c(i),"."));this._lexer.advance()},r.expectOptionalKeyword=function(t){var i=this._lexer.token;return i.kind===s.TokenKind.NAME&&i.value===t&&(this._lexer.advance(),!0)},r.unexpected=function(t){var i=null!=t?t:this._lexer.token;return(0,R.syntaxError)(this._lexer.source,i.start,"Unexpected ".concat(c(i),"."))},r.any=function(t,i,a){this.expectToken(t);for(var l=[];!this.expectOptionalToken(a);)l.push(i.call(this));return l},r.optionalMany=function(t,i,a){if(this.expectOptionalToken(t)){var l=[];do{l.push(i.call(this))}while(!this.expectOptionalToken(a));return l}return[]},r.many=function(t,i,a){this.expectToken(t);var l=[];do{l.push(i.call(this))}while(!this.expectOptionalToken(a));return l},r.delimitedMany=function(t,i){this.expectOptionalToken(t);var a=[];do{a.push(i.call(this))}while(this.expectOptionalToken(t));return a},T}();function c(T){var r=T.value;return f(T.kind)+(null!=r?' "'.concat(r,'"'):"")}function f(T){return(0,se.isPunctuatorTokenKind)(T)?'"'.concat(T,'"'):T}n.Parser=o}),Q=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),n.visit=function(r,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c,a=void 0,l=Array.isArray(r),v=[r],b=-1,d=[],E=void 0,m=void 0,y=void 0,_=[],u=[],O=r;do{var p=++b===v.length,N=p&&0!==d.length;if(p){if(m=0===u.length?void 0:_[_.length-1],E=y,y=u.pop(),N){if(l)E=E.slice();else{for(var D={},I=0,g=Object.keys(E);I<g.length;I++){var S=g[I];D[S]=E[S]}E=D}for(var K=0,M=0;M<d.length;M++){var P=d[M][0],ne=d[M][1];l&&(P-=K),l&&null===ne?(E.splice(P,1),K++):E[P]=ne}}b=a.index,v=a.keys,d=a.edits,l=a.inArray,a=a.prev}else{if(m=y?l?b:v[b]:void 0,null==(E=y?y[m]:O))continue;y&&_.push(m)}var Y,w=void 0;if(!Array.isArray(E)){if(!(0,x.isNode)(E))throw new Error("Invalid AST Node: ".concat((0,o.default)(E),"."));var J=T(t,E.kind,p);if(J){if((w=J.call(t,E,m,y,_,u))===f)break;if(!1===w){if(!p){_.pop();continue}}else if(void 0!==w&&(d.push([m,w]),!p)){if(!(0,x.isNode)(w)){_.pop();continue}E=w}}}void 0===w&&N&&d.push([m,E]),p?_.pop():(a={inArray:l,index:b,keys:v,edits:d,prev:a},v=(l=Array.isArray(E))?E:null!==(Y=i[E.kind])&&void 0!==Y?Y:[],b=-1,d=[],y&&u.push(y),y=E)}while(void 0!==a);return 0!==d.length&&(O=d[d.length-1][1]),O},n.visitInParallel=function(r){var t=new Array(r.length);return{enter:function(i){for(var a=0;a<r.length;a++)if(null==t[a]){var l=T(r[a],i.kind,!1);if(l){var v=l.apply(r[a],arguments);if(!1===v)t[a]=i;else if(v===f)t[a]=f;else if(void 0!==v)return v}}},leave:function(i){for(var a=0;a<r.length;a++)if(null==t[a]){var l=T(r[a],i.kind,!0);if(l){var v=l.apply(r[a],arguments);if(v===f)t[a]=f;else if(void 0!==v&&!1!==v)return v}}else t[a]===i&&(t[a]=null)}}},n.getVisitFn=T,n.BREAK=n.QueryDocumentKeys=void 0;var r,o=(r=oe)&&r.__esModule?r:{default:r},c={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};n.QueryDocumentKeys=c;var f=Object.freeze({});function T(r,t,i){var a=r[t];if(a){if(!i&&"function"==typeof a)return a;var l=i?a.leave:a.enter;if("function"==typeof l)return l}else{var v=i?r.leave:r.enter;if(v){if("function"==typeof v)return v;var b=v[t];if("function"==typeof b)return b}}}n.BREAK=f}),ln={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return k(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var n=e.operation,o=e.name,c=A("(",k(e.variableDefinitions,", "),")"),f=k(e.directives," "),T=e.selectionSet;return o||f||c||"query"!==n?k([n,k([o,c]),f,T]," "):T},VariableDefinition:function(e){var f=e.directives;return e.variable+": "+e.type+A(" = ",e.defaultValue)+A(" ",k(f," "))},SelectionSet:function(e){return F(e.selections)},Field:function(e){var o=e.name,c=e.arguments,f=e.directives,T=e.selectionSet,r=A("",e.alias,": ")+o,t=r+A("(",k(c,", "),")");return t.length>80&&(t=r+A("(\n",ee(k(c,"\n")),"\n)")),k([t,k(f," "),T]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+A(" ",k(e.directives," "))},InlineFragment:function(e){var o=e.directives,c=e.selectionSet;return k(["...",A("on ",e.typeCondition),k(o," "),c]," ")},FragmentDefinition:function(e){var o=e.typeCondition,c=e.variableDefinitions,f=e.directives,T=e.selectionSet;return"fragment ".concat(e.name).concat(A("(",k(c,", "),")")," ")+"on ".concat(o," ").concat(A("",k(f," ")," "))+T},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,n){var o=e.value;return e.block?(0,Ie.printBlockString)(o,"description"===n?"":" "):JSON.stringify(o)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+k(e.values,", ")+"]"},ObjectValue:function(e){return"{"+k(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+A("(",k(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:C(function(e){var o=e.operationTypes;return k(["schema",k(e.directives," "),F(o)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:C(function(e){return k(["scalar",e.name,k(e.directives," ")]," ")}),ObjectTypeDefinition:C(function(e){var c=e.directives,f=e.fields;return k(["type",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")}),FieldDefinition:C(function(e){var o=e.arguments,c=e.type,f=e.directives;return e.name+(De(o)?A("(\n",ee(k(o,"\n")),"\n)"):A("(",k(o,", "),")"))+": "+c+A(" ",k(f," "))}),InputValueDefinition:C(function(e){var f=e.directives;return k([e.name+": "+e.type,A("= ",e.defaultValue),k(f," ")]," ")}),InterfaceTypeDefinition:C(function(e){var c=e.directives,f=e.fields;return k(["interface",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")}),UnionTypeDefinition:C(function(e){var c=e.types;return k(["union",e.name,k(e.directives," "),c&&0!==c.length?"= "+k(c," | "):""]," ")}),EnumTypeDefinition:C(function(e){var c=e.values;return k(["enum",e.name,k(e.directives," "),F(c)]," ")}),EnumValueDefinition:C(function(e){return k([e.name,k(e.directives," ")]," ")}),InputObjectTypeDefinition:C(function(e){var c=e.fields;return k(["input",e.name,k(e.directives," "),F(c)]," ")}),DirectiveDefinition:C(function(e){var o=e.arguments,c=e.repeatable,f=e.locations;return"directive @"+e.name+(De(o)?A("(\n",ee(k(o,"\n")),"\n)"):A("(",k(o,", "),")"))+(c?" repeatable":"")+" on "+k(f," | ")}),SchemaExtension:function(e){var o=e.operationTypes;return k(["extend schema",k(e.directives," "),F(o)]," ")},ScalarTypeExtension:function(e){return k(["extend scalar",e.name,k(e.directives," ")]," ")},ObjectTypeExtension:function(e){var c=e.directives,f=e.fields;return k(["extend type",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")},InterfaceTypeExtension:function(e){var c=e.directives,f=e.fields;return k(["extend interface",e.name,A("implements ",k(e.interfaces," & ")),k(c," "),F(f)]," ")},UnionTypeExtension:function(e){var c=e.types;return k(["extend union",e.name,k(e.directives," "),c&&0!==c.length?"= "+k(c," | "):""]," ")},EnumTypeExtension:function(e){var c=e.values;return k(["extend enum",e.name,k(e.directives," "),F(c)]," ")},InputObjectTypeExtension:function(e){var c=e.fields;return k(["extend input",e.name,k(e.directives," "),F(c)]," ")}};function C(e){return function(n){return k([n.description,e(n)],"\n")}}function k(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=null==e?void 0:e.filter(function(c){return c}).join(o))&&void 0!==n?n:""}function F(e){return A("{\n",ee(k(e,"\n")),"\n}")}function A(e,n){return null!=n&&""!==n?e+n+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function ee(e){return A(" ",e.replace(/\n/g,"\n "))}function dn(e){return-1!==e.indexOf("\n")}function De(e){return null!=e&&e.some(dn)}var pn=Object.defineProperty({print:function(e){return(0,Q.visit)(e,{leave:ln})}},"__esModule",{value:!0});function xe(e){return e.kind===h.Kind.OPERATION_DEFINITION||e.kind===h.Kind.FRAGMENT_DEFINITION}function Ae(e){return e.kind===h.Kind.SCHEMA_DEFINITION||ge(e)||e.kind===h.Kind.DIRECTIVE_DEFINITION}function ge(e){return e.kind===h.Kind.SCALAR_TYPE_DEFINITION||e.kind===h.Kind.OBJECT_TYPE_DEFINITION||e.kind===h.Kind.INTERFACE_TYPE_DEFINITION||e.kind===h.Kind.UNION_TYPE_DEFINITION||e.kind===h.Kind.ENUM_TYPE_DEFINITION||e.kind===h.Kind.INPUT_OBJECT_TYPE_DEFINITION}function Se(e){return e.kind===h.Kind.SCHEMA_EXTENSION||Ke(e)}function Ke(e){return e.kind===h.Kind.SCALAR_TYPE_EXTENSION||e.kind===h.Kind.OBJECT_TYPE_EXTENSION||e.kind===h.Kind.INTERFACE_TYPE_EXTENSION||e.kind===h.Kind.UNION_TYPE_EXTENSION||e.kind===h.Kind.ENUM_TYPE_EXTENSION||e.kind===h.Kind.INPUT_OBJECT_TYPE_EXTENSION}var j=Object.defineProperty({isDefinitionNode:function(e){return xe(e)||Ae(e)||Se(e)},isExecutableDefinitionNode:xe,isSelectionNode:function(e){return e.kind===h.Kind.FIELD||e.kind===h.Kind.FRAGMENT_SPREAD||e.kind===h.Kind.INLINE_FRAGMENT},isValueNode:function(e){return e.kind===h.Kind.VARIABLE||e.kind===h.Kind.INT||e.kind===h.Kind.FLOAT||e.kind===h.Kind.STRING||e.kind===h.Kind.BOOLEAN||e.kind===h.Kind.NULL||e.kind===h.Kind.ENUM||e.kind===h.Kind.LIST||e.kind===h.Kind.OBJECT},isTypeNode:function(e){return e.kind===h.Kind.NAMED_TYPE||e.kind===h.Kind.LIST_TYPE||e.kind===h.Kind.NON_NULL_TYPE},isTypeSystemDefinitionNode:Ae,isTypeDefinitionNode:ge,isTypeSystemExtensionNode:Se,isTypeExtensionNode:Ke},"__esModule",{value:!0}),_n=L(function(e,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Source",{enumerable:!0,get:function(){return ae.Source}}),Object.defineProperty(n,"getLocation",{enumerable:!0,get:function(){return q.getLocation}}),Object.defineProperty(n,"printLocation",{enumerable:!0,get:function(){return z.printLocation}}),Object.defineProperty(n,"printSourceLocation",{enumerable:!0,get:function(){return z.printSourceLocation}}),Object.defineProperty(n,"Kind",{enumerable:!0,get:function(){return h.Kind}}),Object.defineProperty(n,"TokenKind",{enumerable:!0,get:function(){return s.TokenKind}}),Object.defineProperty(n,"Lexer",{enumerable:!0,get:function(){return se.Lexer}}),Object.defineProperty(n,"parse",{enumerable:!0,get:function(){return ce.parse}}),Object.defineProperty(n,"parseValue",{enumerable:!0,get:function(){return ce.parseValue}}),Object.defineProperty(n,"parseType",{enumerable:!0,get:function(){return ce.parseType}}),Object.defineProperty(n,"print",{enumerable:!0,get:function(){return pn.print}}),Object.defineProperty(n,"visit",{enumerable:!0,get:function(){return Q.visit}}),Object.defineProperty(n,"visitInParallel",{enumerable:!0,get:function(){return Q.visitInParallel}}),Object.defineProperty(n,"getVisitFn",{enumerable:!0,get:function(){return Q.getVisitFn}}),Object.defineProperty(n,"BREAK",{enumerable:!0,get:function(){return Q.BREAK}}),Object.defineProperty(n,"Location",{enumerable:!0,get:function(){return x.Location}}),Object.defineProperty(n,"Token",{enumerable:!0,get:function(){return x.Token}}),Object.defineProperty(n,"isDefinitionNode",{enumerable:!0,get:function(){return j.isDefinitionNode}}),Object.defineProperty(n,"isExecutableDefinitionNode",{enumerable:!0,get:function(){return j.isExecutableDefinitionNode}}),Object.defineProperty(n,"isSelectionNode",{enumerable:!0,get:function(){return j.isSelectionNode}}),Object.defineProperty(n,"isValueNode",{enumerable:!0,get:function(){return j.isValueNode}}),Object.defineProperty(n,"isTypeNode",{enumerable:!0,get:function(){return j.isTypeNode}}),Object.defineProperty(n,"isTypeSystemDefinitionNode",{enumerable:!0,get:function(){return j.isTypeSystemDefinitionNode}}),Object.defineProperty(n,"isTypeDefinitionNode",{enumerable:!0,get:function(){return j.isTypeDefinitionNode}}),Object.defineProperty(n,"isTypeSystemExtensionNode",{enumerable:!0,get:function(){return j.isTypeSystemExtensionNode}}),Object.defineProperty(n,"isTypeExtensionNode",{enumerable:!0,get:function(){return j.isTypeExtensionNode}}),Object.defineProperty(n,"DirectiveLocation",{enumerable:!0,get:function(){return be.DirectiveLocation}})});const{hasPragma:On}={hasPragma:function(e){return/^\s*#[^\S\n]*@(format|prettier)\s*(\n|$)/.test(e)},insertPragma:function(e){return"# @format\n\n"+e}},{locStart:In,locEnd:bn}={locStart:function(e){return"number"==typeof e.start?e.start:e.loc&&e.loc.start},locEnd:function(e){return"number"==typeof e.end?e.end:e.loc&&e.loc.end}};function Le(e){if(e&&"object"==typeof e){delete e.startToken,delete e.endToken,delete e.prev,delete e.next;for(const n in e)Le(e[n])}return e}const Re={allowLegacySDLImplementsInterfaces:!1,experimentalFragmentVariables:!0};function Dn(e){const{GraphQLError:n}=Ze;if(e instanceof n){const{message:o,locations:[c]}=e;return function(e,n){const o=new SyntaxError(e+" ("+n.start.line+":"+n.start.column+")");return o.loc=n,o}(o,{start:c})}return e}return{parsers:{graphql:{parse:function(e){const{parse:n}=_n,{result:o,error:c}=function(...e){let n;for(const[o,c]of e.entries())try{return{result:c()}}catch(f){0===o&&(n=f)}return{error:n}}(()=>n(e,Object.assign({},Re)),()=>n(e,Object.assign({},Re,{allowLegacySDLImplementsInterfaces:!0})));if(!o)throw Dn(c);return o.comments=function(f){const T=[],{startToken:r}=f.loc;let{next:t}=r;for(;"<EOF>"!==t.kind;)"Comment"===t.kind&&(Object.assign(t,{column:t.column-1}),T.push(t)),t=t.next;return T}(o),Le(o),o},astFormat:"graphql",hasPragma:On,locStart:In,locEnd:bn}}}}()}}]);
@@ -0,0 +1 @@
1
+ (()=>{"use strict";var L,vt={89267:(L,Y,w)=>{const se=Symbol("Comlink.proxy"),X=Symbol("Comlink.endpoint"),z=Symbol("Comlink.releaseProxy"),ne=Symbol("Comlink.thrown"),he=e=>"object"==typeof e&&null!==e||"function"==typeof e,mt=new Map([["proxy",{canHandle:e=>he(e)&&e[se],serialize(e){const{port1:n,port2:t}=new MessageChannel;return jn(e,n),[t,[t]]},deserialize:e=>(e.start(),function(e,n){return Gn(e,[],void 0)}(e))}],["throw",{canHandle:e=>he(e)&&ne in e,serialize({value:e}){let n;return n=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[n,[]]},deserialize(e){throw e.isError?Object.assign(new Error(e.value.message),e.value):e.value}}]]);function jn(e,n=self){n.addEventListener("message",function t(r){if(!r||!r.data)return;const{id:i,type:a,path:s}=Object.assign({path:[]},r.data),o=(r.data.argumentList||[]).map(Ve);let u;try{const c=s.slice(0,-1).reduce((p,d)=>p[d],e),l=s.reduce((p,d)=>p[d],e);switch(a){case 0:u=l;break;case 1:c[s.slice(-1)[0]]=Ve(r.data.value),u=!0;break;case 2:u=l.apply(c,o);break;case 3:u=function(e){return Object.assign(e,{[se]:!0})}(new l(...o));break;case 4:{const{port1:p,port2:d}=new MessageChannel;jn(e,d),u=function(e,n){return Et.set(e,n),e}(p,[p])}break;case 5:u=void 0}}catch(c){u={value:c,[ne]:0}}Promise.resolve(u).catch(c=>({value:c,[ne]:0})).then(c=>{const[l,p]=Kn(c);n.postMessage(Object.assign(Object.assign({},l),{id:i}),p),5===a&&(n.removeEventListener("message",t),yt(n))})}),n.start&&n.start()}function yt(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function vn(e){if(e)throw new Error("Proxy has been released and is not useable")}function Gn(e,n=[],t=function(){}){let r=!1;const i=new Proxy(t,{get(a,s){if(vn(r),s===z)return()=>qe(e,{type:5,path:n.map(o=>o.toString())}).then(()=>{yt(e),r=!0});if("then"===s){if(0===n.length)return{then:()=>i};const o=qe(e,{type:0,path:n.map(u=>u.toString())}).then(Ve);return o.then.bind(o)}return Gn(e,[...n,s])},set(a,s,o){vn(r);const[u,c]=Kn(o);return qe(e,{type:1,path:[...n,s].map(l=>l.toString()),value:u},c).then(Ve)},apply(a,s,o){vn(r);const u=n[n.length-1];if(u===X)return qe(e,{type:4}).then(Ve);if("bind"===u)return Gn(e,n.slice(0,-1));const[c,l]=Tt(o);return qe(e,{type:2,path:n.map(p=>p.toString()),argumentList:c},l).then(Ve)},construct(a,s){vn(r);const[o,u]=Tt(s);return qe(e,{type:3,path:n.map(c=>c.toString()),argumentList:o},u).then(Ve)}});return i}function ei(e){return Array.prototype.concat.apply([],e)}function Tt(e){const n=e.map(Kn);return[n.map(t=>t[0]),ei(n.map(t=>t[1]))]}const Et=new WeakMap;function Kn(e){for(const[n,t]of mt)if(t.canHandle(e)){const[r,i]=t.serialize(e);return[{type:3,name:n,value:r},i]}return[{type:0,value:e},Et.get(e)||[]]}function Ve(e){switch(e.type){case 3:return mt.get(e.name).deserialize(e.value);case 0:return e.value}}function qe(e,n,t){return new Promise(r=>{const i=new Array(4).fill(0).map(()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16)).join("-");e.addEventListener("message",function a(s){!s.data||!s.data.id||s.data.id!==i||(e.removeEventListener("message",a),r(s.data))}),e.start&&e.start(),e.postMessage(Object.assign({id:i},n),t)})}function gt(e,n,t,r,i,a,s){try{var o=e[a](s),u=o.value}catch(c){return void t(c)}o.done?n(u):Promise.resolve(u).then(r,i)}function Yn(e){return function(){var n=this,t=arguments;return new Promise(function(r,i){var a=e.apply(n,t);function s(u){gt(a,r,i,s,o,"next",u)}function o(u){gt(a,r,i,s,o,"throw",u)}s(void 0)})}}var ii=w(67729);function R(e,n){if(!Boolean(e))throw new Error(n)}var f=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});function hn(e){return(hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function Ue(e){return"object"==hn(e)&&null!==e}var Nt="function"==typeof Symbol&&null!=Symbol.iterator?Symbol.iterator:"@@iterator",ce=("function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol,"function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag");function Qn(e,n){for(var a,t=/\r\n|[\n\r]/g,r=1,i=n+1;(a=t.exec(e.body))&&a.index<n;)r+=1,i=n+1-(a.index+a[0].length);return{line:r,column:i}}function ai(e){return It(e.source,Qn(e.source,e.start))}function It(e,n){var t=e.locationOffset.column-1,r=mn(t)+e.body,i=n.line-1,s=n.line+(e.locationOffset.line-1),u=n.column+(1===n.line?t:0),c="".concat(e.name,":").concat(s,":").concat(u,"\n"),l=r.split(/\r\n|[\n\r]/g),p=l[i];if(p.length>120){for(var d=Math.floor(u/80),v=u%80,m=[],T=0;T<p.length;T+=80)m.push(p.slice(T,T+80));return c+Ot([["".concat(s),m[0]]].concat(m.slice(1,d+1).map(function(g){return["",g]}),[[" ",mn(v-1)+"^"],["",m[d+1]]]))}return c+Ot([["".concat(s-1),l[i-1]],["".concat(s),p],["",mn(u-1)+"^"],["".concat(s+1),l[i+1]]])}function Ot(e){var n=e.filter(function(r){return void 0!==r[1]}),t=Math.max.apply(Math,n.map(function(r){return r[0].length}));return n.map(function(r){var a=r[1];return function(e,n){return mn(e-n.length)+n}(t,r[0])+(a?" | "+a:" |")}).join("\n")}function mn(e){return Array(e+1).join(" ")}function yn(e){return(yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function bt(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function St(e,n){return!n||"object"!==yn(n)&&"function"!=typeof n?nn(e):n}function nn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jn(e){var n="function"==typeof Map?new Map:void 0;return(Jn=function(r){if(null===r||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(r))return r;if("function"!=typeof r)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(r))return n.get(r);n.set(r,i)}function i(){return Tn(r,arguments,rn(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),tn(i,r)})(e)}function Tn(e,n,t){return(Tn=Dt()?Reflect.construct:function(i,a,s){var o=[null];o.push.apply(o,a);var c=new(Function.bind.apply(i,o));return s&&tn(c,s.prototype),c}).apply(null,arguments)}function Dt(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function tn(e,n){return(tn=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r})(e,n)}function rn(e){return(rn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}var E=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&tn(e,n)}(t,e);var n=function(e){var n=Dt();return function(){var i,r=rn(e);if(n){var a=rn(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return St(this,i)}}(t);function t(r,i,a,s,o,u,c){var l,p,d,v,m;(function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")})(this,t),m=n.call(this,r);var N,T=Array.isArray(i)?0!==i.length?i:void 0:i?[i]:void 0,g=a;!g&&T&&(g=null===(N=T[0].loc)||void 0===N?void 0:N.source);var x,_=s;!_&&T&&(_=T.reduce(function(K,$){return $.loc&&K.push($.loc.start),K},[])),_&&0===_.length&&(_=void 0),s&&a?x=s.map(function(K){return Qn(a,K)}):T&&(x=T.reduce(function(K,$){return $.loc&&K.push(Qn($.loc.source,$.loc.start)),K},[]));var P=c;if(null==P&&null!=u){var G=u.extensions;Ue(G)&&(P=G)}return Object.defineProperties(nn(m),{name:{value:"GraphQLError"},message:{value:r,enumerable:!0,writable:!0},locations:{value:null!==(l=x)&&void 0!==l?l:void 0,enumerable:null!=x},path:{value:null!=o?o:void 0,enumerable:null!=o},nodes:{value:null!=T?T:void 0},source:{value:null!==(p=g)&&void 0!==p?p:void 0},positions:{value:null!==(d=_)&&void 0!==d?d:void 0},originalError:{value:u},extensions:{value:null!==(v=P)&&void 0!==v?v:void 0,enumerable:null!=P}}),null!=u&&u.stack?(Object.defineProperty(nn(m),"stack",{value:u.stack,writable:!0,configurable:!0}),St(m)):(Error.captureStackTrace?Error.captureStackTrace(nn(m),t):Object.defineProperty(nn(m),"stack",{value:Error().stack,writable:!0,configurable:!0}),m)}return function(e,n,t){n&&bt(e.prototype,n)}(t,[{key:"toString",value:function(){return function(e){var n=e.message;if(e.nodes)for(var t=0,r=e.nodes;t<r.length;t++){var i=r[t];i.loc&&(n+="\n\n"+ai(i.loc))}else if(e.source&&e.locations)for(var a=0,s=e.locations;a<s.length;a++)n+="\n\n"+It(e.source,s[a]);return n}(this)}},{key:ce,get:function(){return"Object"}}]),t}(Jn(Error));function oe(e,n,t){return new E("Syntax Error: ".concat(t),void 0,e,[n])}function le(e,n){if(!Boolean(e))throw new Error(null!=n?n:"Unexpected invariant triggered.")}const qn="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function me(e){var n=e.prototype.toJSON;"function"==typeof n||le(0),e.prototype.inspect=n,qn&&(e.prototype[qn]=n)}var At=function(){function e(t,r,i){this.start=t.start,this.end=r.end,this.startToken=t,this.endToken=r,this.source=i}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();me(At);var J=function(){function e(t,r,i,a,s,o,u){this.kind=t,this.start=r,this.end=i,this.line=a,this.column=s,this.value=u,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function wt(e){return null!=e&&"string"==typeof e.kind}me(J);var h=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function En(e){return(En="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function D(e){return gn(e,[])}function gn(e,n){switch(En(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,n){if(-1!==n.indexOf(e))return"[Circular]";var t=[].concat(n,[e]),r=function(e){var n=e[String(qn)];return"function"==typeof n?n:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"==typeof i?i:gn(i,t)}else if(Array.isArray(e))return function(e,n){if(0===e.length)return"[]";if(n.length>2)return"[Array]";for(var t=Math.min(10,e.length),r=e.length-t,i=[],a=0;a<t;++a)i.push(gn(e[a],n));return 1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items")),"["+i.join(", ")+"]"}(e,t);return function(e,n){var t=Object.keys(e);return 0===t.length?"{}":n.length>2?"["+function(e){var n=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===n&&"function"==typeof e.constructor){var t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return n}(e)+"]":"{ "+t.map(function(i){return i+": "+gn(e[i],n)}).join(", ")+" }"}(e,t)}(e,n);default:return String(e)}}const Ie=function(n,t){return n instanceof t};function Lt(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var Ft=function(){function e(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof n||R(0,"Body must be a string. Received: ".concat(D(n),".")),this.body=n,this.name=t,this.locationOffset=r,this.locationOffset.line>0||R(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||R(0,"column in locationOffset is 1-indexed and must be positive.")}return function(e,n,t){n&&Lt(e.prototype,n)}(e,[{key:ce,get:function(){return"Source"}}]),e}(),A=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function kt(e){var n=e.split(/\r\n|[\n\r]/g),t=function(e){for(var n,t=!0,r=!0,i=0,a=null,s=0;s<e.length;++s)switch(e.charCodeAt(s)){case 13:10===e.charCodeAt(s+1)&&++s;case 10:t=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!t&&(null===a||i<a)&&(a=i),r=!1}return null!==(n=a)&&void 0!==n?n:0}(e);if(0!==t)for(var r=1;r<n.length;r++)n[r]=n[r].slice(t);for(var i=0;i<n.length&&xt(n[i]);)++i;for(var a=n.length;a>i&&xt(n[a-1]);)--a;return n.slice(i,a).join("\n")}function xt(e){for(var n=0;n<e.length;++n)if(" "!==e[n]&&"\t"!==e[n])return!1;return!0}var bi=function(){function e(t){var r=new J(h.SOF,0,0,0,0,null);this.source=t,this.lastToken=r,this.token=r,this.line=1,this.lineStart=0}var n=e.prototype;return n.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},n.lookahead=function(){var r=this.token;if(r.kind!==h.EOF)do{var i;r=null!==(i=r.next)&&void 0!==i?i:r.next=Di(this,r)}while(r.kind===h.COMMENT);return r},e}();function je(e){return isNaN(e)?h.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function Di(e,n){for(var t=e.source,r=t.body,i=r.length,a=n.end;a<i;){var s=r.charCodeAt(a),o=e.line,u=1+a-e.lineStart;switch(s){case 65279:case 9:case 32:case 44:++a;continue;case 10:++a,++e.line,e.lineStart=a;continue;case 13:10===r.charCodeAt(a+1)?a+=2:++a,++e.line,e.lineStart=a;continue;case 33:return new J(h.BANG,a,a+1,o,u,n);case 35:return wi(t,a,o,u,n);case 36:return new J(h.DOLLAR,a,a+1,o,u,n);case 38:return new J(h.AMP,a,a+1,o,u,n);case 40:return new J(h.PAREN_L,a,a+1,o,u,n);case 41:return new J(h.PAREN_R,a,a+1,o,u,n);case 46:if(46===r.charCodeAt(a+1)&&46===r.charCodeAt(a+2))return new J(h.SPREAD,a,a+3,o,u,n);break;case 58:return new J(h.COLON,a,a+1,o,u,n);case 61:return new J(h.EQUALS,a,a+1,o,u,n);case 64:return new J(h.AT,a,a+1,o,u,n);case 91:return new J(h.BRACKET_L,a,a+1,o,u,n);case 93:return new J(h.BRACKET_R,a,a+1,o,u,n);case 123:return new J(h.BRACE_L,a,a+1,o,u,n);case 124:return new J(h.PIPE,a,a+1,o,u,n);case 125:return new J(h.BRACE_R,a,a+1,o,u,n);case 34:return 34===r.charCodeAt(a+1)&&34===r.charCodeAt(a+2)?Fi(t,a,o,u,n,e):Li(t,a,o,u,n);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return _i(t,a,s,o,u,n);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return xi(t,a,o,u,n)}throw oe(t,a,Ai(s))}return new J(h.EOF,i,i,e.line,1+a-e.lineStart,n)}function Ai(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(je(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(je(e),".")}function wi(e,n,t,r,i){var s,a=e.body,o=n;do{s=a.charCodeAt(++o)}while(!isNaN(s)&&(s>31||9===s));return new J(h.COMMENT,n,o,t,r,i,a.slice(n+1,o))}function _i(e,n,t,r,i,a){var s=e.body,o=t,u=n,c=!1;if(45===o&&(o=s.charCodeAt(++u)),48===o){if((o=s.charCodeAt(++u))>=48&&o<=57)throw oe(e,u,"Invalid number, unexpected digit after 0: ".concat(je(o),"."))}else u=zn(e,u,o),o=s.charCodeAt(u);if(46===o&&(c=!0,o=s.charCodeAt(++u),u=zn(e,u,o),o=s.charCodeAt(u)),(69===o||101===o)&&(c=!0,(43===(o=s.charCodeAt(++u))||45===o)&&(o=s.charCodeAt(++u)),u=zn(e,u,o),o=s.charCodeAt(u)),46===o||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(o))throw oe(e,u,"Invalid number, expected digit but got: ".concat(je(o),"."));return new J(c?h.FLOAT:h.INT,n,u,r,i,a,s.slice(n,u))}function zn(e,n,t){var r=e.body,i=n,a=t;if(a>=48&&a<=57){do{a=r.charCodeAt(++i)}while(a>=48&&a<=57);return i}throw oe(e,i,"Invalid number, expected digit but got: ".concat(je(a),"."))}function Li(e,n,t,r,i){for(var a=e.body,s=n+1,o=s,u=0,c="";s<a.length&&!isNaN(u=a.charCodeAt(s))&&10!==u&&13!==u;){if(34===u)return c+=a.slice(o,s),new J(h.STRING,n,s+1,t,r,i,c);if(u<32&&9!==u)throw oe(e,s,"Invalid character within String: ".concat(je(u),"."));if(++s,92===u){switch(c+=a.slice(o,s-1),u=a.charCodeAt(s)){case 34:c+='"';break;case 47:c+="/";break;case 92:c+="\\";break;case 98:c+="\b";break;case 102:c+="\f";break;case 110:c+="\n";break;case 114:c+="\r";break;case 116:c+="\t";break;case 117:var l=ki(a.charCodeAt(s+1),a.charCodeAt(s+2),a.charCodeAt(s+3),a.charCodeAt(s+4));if(l<0){var p=a.slice(s+1,s+5);throw oe(e,s,"Invalid character escape sequence: \\u".concat(p,"."))}c+=String.fromCharCode(l),s+=4;break;default:throw oe(e,s,"Invalid character escape sequence: \\".concat(String.fromCharCode(u),"."))}o=++s}}throw oe(e,s,"Unterminated string.")}function Fi(e,n,t,r,i,a){for(var s=e.body,o=n+3,u=o,c=0,l="";o<s.length&&!isNaN(c=s.charCodeAt(o));){if(34===c&&34===s.charCodeAt(o+1)&&34===s.charCodeAt(o+2))return l+=s.slice(u,o),new J(h.BLOCK_STRING,n,o+3,t,r,i,kt(l));if(c<32&&9!==c&&10!==c&&13!==c)throw oe(e,o,"Invalid character within String: ".concat(je(c),"."));10===c?(++o,++a.line,a.lineStart=o):13===c?(10===s.charCodeAt(o+1)?o+=2:++o,++a.line,a.lineStart=o):92===c&&34===s.charCodeAt(o+1)&&34===s.charCodeAt(o+2)&&34===s.charCodeAt(o+3)?(l+=s.slice(u,o)+'"""',u=o+=4):++o}throw oe(e,o,"Unterminated string.")}function ki(e,n,t,r){return Nn(e)<<12|Nn(n)<<8|Nn(t)<<4|Nn(r)}function Nn(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function xi(e,n,t,r,i){for(var a=e.body,s=a.length,o=n+1,u=0;o!==s&&!isNaN(u=a.charCodeAt(o))&&(95===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122);)++o;return new J(h.NAME,n,o,t,r,i,a.slice(n,o))}var Hn=function(){function e(t,r){var i=function(e){return Ie(e,Ft)}(t)?t:new Ft(t);this._lexer=new bi(i),this._options=r}var n=e.prototype;return n.parseName=function(){var r=this.expectToken(h.NAME);return{kind:f.NAME,value:r.value,loc:this.loc(r)}},n.parseDocument=function(){var r=this._lexer.token;return{kind:f.DOCUMENT,definitions:this.many(h.SOF,this.parseDefinition,h.EOF),loc:this.loc(r)}},n.parseDefinition=function(){if(this.peek(h.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(h.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},n.parseOperationDefinition=function(){var r=this._lexer.token;if(this.peek(h.BRACE_L))return{kind:f.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(r)};var a,i=this.parseOperationType();return this.peek(h.NAME)&&(a=this.parseName()),{kind:f.OPERATION_DEFINITION,operation:i,name:a,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(r)}},n.parseOperationType=function(){var r=this.expectToken(h.NAME);switch(r.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(r)},n.parseVariableDefinitions=function(){return this.optionalMany(h.PAREN_L,this.parseVariableDefinition,h.PAREN_R)},n.parseVariableDefinition=function(){var r=this._lexer.token;return{kind:f.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(h.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(h.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(r)}},n.parseVariable=function(){var r=this._lexer.token;return this.expectToken(h.DOLLAR),{kind:f.VARIABLE,name:this.parseName(),loc:this.loc(r)}},n.parseSelectionSet=function(){var r=this._lexer.token;return{kind:f.SELECTION_SET,selections:this.many(h.BRACE_L,this.parseSelection,h.BRACE_R),loc:this.loc(r)}},n.parseSelection=function(){return this.peek(h.SPREAD)?this.parseFragment():this.parseField()},n.parseField=function(){var a,s,r=this._lexer.token,i=this.parseName();return this.expectOptionalToken(h.COLON)?(a=i,s=this.parseName()):s=i,{kind:f.FIELD,alias:a,name:s,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(h.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},n.parseArguments=function(r){return this.optionalMany(h.PAREN_L,r?this.parseConstArgument:this.parseArgument,h.PAREN_R)},n.parseArgument=function(){var r=this._lexer.token,i=this.parseName();return this.expectToken(h.COLON),{kind:f.ARGUMENT,name:i,value:this.parseValueLiteral(!1),loc:this.loc(r)}},n.parseConstArgument=function(){var r=this._lexer.token;return{kind:f.ARGUMENT,name:this.parseName(),value:(this.expectToken(h.COLON),this.parseValueLiteral(!0)),loc:this.loc(r)}},n.parseFragment=function(){var r=this._lexer.token;this.expectToken(h.SPREAD);var i=this.expectOptionalKeyword("on");return!i&&this.peek(h.NAME)?{kind:f.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(r)}:{kind:f.INLINE_FRAGMENT,typeCondition:i?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(r)}},n.parseFragmentDefinition=function(){var r,i=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(r=this._options)||void 0===r?void 0:r.experimentalFragmentVariables)?{kind:f.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}:{kind:f.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(i)}},n.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},n.parseValueLiteral=function(r){var i=this._lexer.token;switch(i.kind){case h.BRACKET_L:return this.parseList(r);case h.BRACE_L:return this.parseObject(r);case h.INT:return this._lexer.advance(),{kind:f.INT,value:i.value,loc:this.loc(i)};case h.FLOAT:return this._lexer.advance(),{kind:f.FLOAT,value:i.value,loc:this.loc(i)};case h.STRING:case h.BLOCK_STRING:return this.parseStringLiteral();case h.NAME:switch(this._lexer.advance(),i.value){case"true":return{kind:f.BOOLEAN,value:!0,loc:this.loc(i)};case"false":return{kind:f.BOOLEAN,value:!1,loc:this.loc(i)};case"null":return{kind:f.NULL,loc:this.loc(i)};default:return{kind:f.ENUM,value:i.value,loc:this.loc(i)}}case h.DOLLAR:if(!r)return this.parseVariable()}throw this.unexpected()},n.parseStringLiteral=function(){var r=this._lexer.token;return this._lexer.advance(),{kind:f.STRING,value:r.value,block:r.kind===h.BLOCK_STRING,loc:this.loc(r)}},n.parseList=function(r){var i=this,a=this._lexer.token;return{kind:f.LIST,values:this.any(h.BRACKET_L,function(){return i.parseValueLiteral(r)},h.BRACKET_R),loc:this.loc(a)}},n.parseObject=function(r){var i=this,a=this._lexer.token;return{kind:f.OBJECT,fields:this.any(h.BRACE_L,function(){return i.parseObjectField(r)},h.BRACE_R),loc:this.loc(a)}},n.parseObjectField=function(r){var i=this._lexer.token,a=this.parseName();return this.expectToken(h.COLON),{kind:f.OBJECT_FIELD,name:a,value:this.parseValueLiteral(r),loc:this.loc(i)}},n.parseDirectives=function(r){for(var i=[];this.peek(h.AT);)i.push(this.parseDirective(r));return i},n.parseDirective=function(r){var i=this._lexer.token;return this.expectToken(h.AT),{kind:f.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(r),loc:this.loc(i)}},n.parseTypeReference=function(){var i,r=this._lexer.token;return this.expectOptionalToken(h.BRACKET_L)?(i=this.parseTypeReference(),this.expectToken(h.BRACKET_R),i={kind:f.LIST_TYPE,type:i,loc:this.loc(r)}):i=this.parseNamedType(),this.expectOptionalToken(h.BANG)?{kind:f.NON_NULL_TYPE,type:i,loc:this.loc(r)}:i},n.parseNamedType=function(){var r=this._lexer.token;return{kind:f.NAMED_TYPE,name:this.parseName(),loc:this.loc(r)}},n.parseTypeSystemDefinition=function(){var r=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(r.kind===h.NAME)switch(r.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(r)},n.peekDescription=function(){return this.peek(h.STRING)||this.peek(h.BLOCK_STRING)},n.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},n.parseSchemaDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("schema");var a=this.parseDirectives(!0),s=this.many(h.BRACE_L,this.parseOperationTypeDefinition,h.BRACE_R);return{kind:f.SCHEMA_DEFINITION,description:i,directives:a,operationTypes:s,loc:this.loc(r)}},n.parseOperationTypeDefinition=function(){var r=this._lexer.token,i=this.parseOperationType();this.expectToken(h.COLON);var a=this.parseNamedType();return{kind:f.OPERATION_TYPE_DEFINITION,operation:i,type:a,loc:this.loc(r)}},n.parseScalarTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("scalar");var a=this.parseName(),s=this.parseDirectives(!0);return{kind:f.SCALAR_TYPE_DEFINITION,description:i,name:a,directives:s,loc:this.loc(r)}},n.parseObjectTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("type");var a=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),u=this.parseFieldsDefinition();return{kind:f.OBJECT_TYPE_DEFINITION,description:i,name:a,interfaces:s,directives:o,fields:u,loc:this.loc(r)}},n.parseImplementsInterfaces=function(){var r;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(r=this._options)||void 0===r?void 0:r.allowLegacySDLImplementsInterfaces)){var i=[];this.expectOptionalToken(h.AMP);do{i.push(this.parseNamedType())}while(this.expectOptionalToken(h.AMP)||this.peek(h.NAME));return i}return this.delimitedMany(h.AMP,this.parseNamedType)},n.parseFieldsDefinition=function(){var r;return!0===(null===(r=this._options)||void 0===r?void 0:r.allowLegacySDLEmptyFields)&&this.peek(h.BRACE_L)&&this._lexer.lookahead().kind===h.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(h.BRACE_L,this.parseFieldDefinition,h.BRACE_R)},n.parseFieldDefinition=function(){var r=this._lexer.token,i=this.parseDescription(),a=this.parseName(),s=this.parseArgumentDefs();this.expectToken(h.COLON);var o=this.parseTypeReference(),u=this.parseDirectives(!0);return{kind:f.FIELD_DEFINITION,description:i,name:a,arguments:s,type:o,directives:u,loc:this.loc(r)}},n.parseArgumentDefs=function(){return this.optionalMany(h.PAREN_L,this.parseInputValueDef,h.PAREN_R)},n.parseInputValueDef=function(){var r=this._lexer.token,i=this.parseDescription(),a=this.parseName();this.expectToken(h.COLON);var o,s=this.parseTypeReference();this.expectOptionalToken(h.EQUALS)&&(o=this.parseValueLiteral(!0));var u=this.parseDirectives(!0);return{kind:f.INPUT_VALUE_DEFINITION,description:i,name:a,type:s,defaultValue:o,directives:u,loc:this.loc(r)}},n.parseInterfaceTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("interface");var a=this.parseName(),s=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),u=this.parseFieldsDefinition();return{kind:f.INTERFACE_TYPE_DEFINITION,description:i,name:a,interfaces:s,directives:o,fields:u,loc:this.loc(r)}},n.parseUnionTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("union");var a=this.parseName(),s=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:f.UNION_TYPE_DEFINITION,description:i,name:a,directives:s,types:o,loc:this.loc(r)}},n.parseUnionMemberTypes=function(){return this.expectOptionalToken(h.EQUALS)?this.delimitedMany(h.PIPE,this.parseNamedType):[]},n.parseEnumTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("enum");var a=this.parseName(),s=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:f.ENUM_TYPE_DEFINITION,description:i,name:a,directives:s,values:o,loc:this.loc(r)}},n.parseEnumValuesDefinition=function(){return this.optionalMany(h.BRACE_L,this.parseEnumValueDefinition,h.BRACE_R)},n.parseEnumValueDefinition=function(){var r=this._lexer.token,i=this.parseDescription(),a=this.parseName(),s=this.parseDirectives(!0);return{kind:f.ENUM_VALUE_DEFINITION,description:i,name:a,directives:s,loc:this.loc(r)}},n.parseInputObjectTypeDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("input");var a=this.parseName(),s=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:f.INPUT_OBJECT_TYPE_DEFINITION,description:i,name:a,directives:s,fields:o,loc:this.loc(r)}},n.parseInputFieldsDefinition=function(){return this.optionalMany(h.BRACE_L,this.parseInputValueDef,h.BRACE_R)},n.parseTypeSystemExtension=function(){var r=this._lexer.lookahead();if(r.kind===h.NAME)switch(r.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(r)},n.parseSchemaExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var i=this.parseDirectives(!0),a=this.optionalMany(h.BRACE_L,this.parseOperationTypeDefinition,h.BRACE_R);if(0===i.length&&0===a.length)throw this.unexpected();return{kind:f.SCHEMA_EXTENSION,directives:i,operationTypes:a,loc:this.loc(r)}},n.parseScalarTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var i=this.parseName(),a=this.parseDirectives(!0);if(0===a.length)throw this.unexpected();return{kind:f.SCALAR_TYPE_EXTENSION,name:i,directives:a,loc:this.loc(r)}},n.parseObjectTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var i=this.parseName(),a=this.parseImplementsInterfaces(),s=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===a.length&&0===s.length&&0===o.length)throw this.unexpected();return{kind:f.OBJECT_TYPE_EXTENSION,name:i,interfaces:a,directives:s,fields:o,loc:this.loc(r)}},n.parseInterfaceTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var i=this.parseName(),a=this.parseImplementsInterfaces(),s=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===a.length&&0===s.length&&0===o.length)throw this.unexpected();return{kind:f.INTERFACE_TYPE_EXTENSION,name:i,interfaces:a,directives:s,fields:o,loc:this.loc(r)}},n.parseUnionTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var i=this.parseName(),a=this.parseDirectives(!0),s=this.parseUnionMemberTypes();if(0===a.length&&0===s.length)throw this.unexpected();return{kind:f.UNION_TYPE_EXTENSION,name:i,directives:a,types:s,loc:this.loc(r)}},n.parseEnumTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var i=this.parseName(),a=this.parseDirectives(!0),s=this.parseEnumValuesDefinition();if(0===a.length&&0===s.length)throw this.unexpected();return{kind:f.ENUM_TYPE_EXTENSION,name:i,directives:a,values:s,loc:this.loc(r)}},n.parseInputObjectTypeExtension=function(){var r=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var i=this.parseName(),a=this.parseDirectives(!0),s=this.parseInputFieldsDefinition();if(0===a.length&&0===s.length)throw this.unexpected();return{kind:f.INPUT_OBJECT_TYPE_EXTENSION,name:i,directives:a,fields:s,loc:this.loc(r)}},n.parseDirectiveDefinition=function(){var r=this._lexer.token,i=this.parseDescription();this.expectKeyword("directive"),this.expectToken(h.AT);var a=this.parseName(),s=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var u=this.parseDirectiveLocations();return{kind:f.DIRECTIVE_DEFINITION,description:i,name:a,arguments:s,repeatable:o,locations:u,loc:this.loc(r)}},n.parseDirectiveLocations=function(){return this.delimitedMany(h.PIPE,this.parseDirectiveLocation)},n.parseDirectiveLocation=function(){var r=this._lexer.token,i=this.parseName();if(void 0!==A[i.value])return i;throw this.unexpected(r)},n.loc=function(r){var i;if(!0!==(null===(i=this._options)||void 0===i?void 0:i.noLocation))return new At(r,this._lexer.lastToken,this._lexer.source)},n.peek=function(r){return this._lexer.token.kind===r},n.expectToken=function(r){var i=this._lexer.token;if(i.kind===r)return this._lexer.advance(),i;throw oe(this._lexer.source,i.start,"Expected ".concat(Rt(r),", found ").concat(Wn(i),"."))},n.expectOptionalToken=function(r){var i=this._lexer.token;if(i.kind===r)return this._lexer.advance(),i},n.expectKeyword=function(r){var i=this._lexer.token;if(i.kind!==h.NAME||i.value!==r)throw oe(this._lexer.source,i.start,'Expected "'.concat(r,'", found ').concat(Wn(i),"."));this._lexer.advance()},n.expectOptionalKeyword=function(r){var i=this._lexer.token;return i.kind===h.NAME&&i.value===r&&(this._lexer.advance(),!0)},n.unexpected=function(r){var i=null!=r?r:this._lexer.token;return oe(this._lexer.source,i.start,"Unexpected ".concat(Wn(i),"."))},n.any=function(r,i,a){this.expectToken(r);for(var s=[];!this.expectOptionalToken(a);)s.push(i.call(this));return s},n.optionalMany=function(r,i,a){if(this.expectOptionalToken(r)){var s=[];do{s.push(i.call(this))}while(!this.expectOptionalToken(a));return s}return[]},n.many=function(r,i,a){this.expectToken(r);var s=[];do{s.push(i.call(this))}while(!this.expectOptionalToken(a));return s},n.delimitedMany=function(r,i){this.expectOptionalToken(r);var a=[];do{a.push(i.call(this))}while(this.expectOptionalToken(r));return a},e}();function Wn(e){var n=e.value;return Rt(e.kind)+(null!=n?' "'.concat(n,'"'):"")}function Rt(e){return function(e){return e===h.BANG||e===h.DOLLAR||e===h.AMP||e===h.PAREN_L||e===h.PAREN_R||e===h.SPREAD||e===h.COLON||e===h.EQUALS||e===h.AT||e===h.BRACKET_L||e===h.BRACKET_R||e===h.BRACE_L||e===h.PIPE||e===h.BRACE_R}(e)?'"'.concat(e,'"'):e}var Ci={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},an=Object.freeze({});function Mt(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ci,r=void 0,i=Array.isArray(e),a=[e],s=-1,o=[],u=void 0,c=void 0,l=void 0,p=[],d=[],v=e;do{var m=++s===a.length,T=m&&0!==o.length;if(m){if(c=0===d.length?void 0:p[p.length-1],u=l,l=d.pop(),T){if(i)u=u.slice();else{for(var g={},N=0,_=Object.keys(u);N<_.length;N++){var x=_[N];g[x]=u[x]}u=g}for(var P=0,G=0;G<o.length;G++){var K=o[G][0],$=o[G][1];i&&(K-=P),i&&null===$?(u.splice(K,1),P++):u[K]=$}}s=r.index,a=r.keys,o=r.edits,i=r.inArray,r=r.prev}else{if(c=l?i?s:a[s]:void 0,null==(u=l?l[c]:v))continue;l&&p.push(c)}var Fe,te=void 0;if(!Array.isArray(u)){if(!wt(u))throw new Error("Invalid AST Node: ".concat(D(u),"."));var Pe=Zn(n,u.kind,m);if(Pe){if((te=Pe.call(n,u,c,l,p,d))===an)break;if(!1===te){if(!m){p.pop();continue}}else if(void 0!==te&&(o.push([c,te]),!m)){if(!wt(te)){p.pop();continue}u=te}}}void 0===te&&T&&o.push([c,u]),m?p.pop():(r={inArray:i,index:s,keys:a,edits:o,prev:r},a=(i=Array.isArray(u))?u:null!==(Fe=t[u.kind])&&void 0!==Fe?Fe:[],s=-1,o=[],l&&d.push(l),l=u)}while(void 0!==r);return 0!==o.length&&(v=o[o.length-1][1]),v}function Pi(e){var n=new Array(e.length);return{enter:function(r){for(var i=0;i<e.length;i++)if(null==n[i]){var a=Zn(e[i],r.kind,!1);if(a){var s=a.apply(e[i],arguments);if(!1===s)n[i]=r;else if(s===an)n[i]=an;else if(void 0!==s)return s}}},leave:function(r){for(var i=0;i<e.length;i++)if(null==n[i]){var a=Zn(e[i],r.kind,!0);if(a){var s=a.apply(e[i],arguments);if(s===an)n[i]=an;else if(void 0!==s&&!1!==s)return s}}else n[i]===r&&(n[i]=null)}}}function Zn(e,n,t){var r=e[n];if(r){if(!t&&"function"==typeof r)return r;var i=t?r.leave:r.enter;if("function"==typeof i)return i}else{var a=t?e.leave:e.enter;if(a){if("function"==typeof a)return a;var s=a[n];if("function"==typeof s)return s}}}function Ct(e){return e.kind===f.OPERATION_DEFINITION||e.kind===f.FRAGMENT_DEFINITION}function sn(e){return e.kind===f.SCALAR_TYPE_DEFINITION||e.kind===f.OBJECT_TYPE_DEFINITION||e.kind===f.INTERFACE_TYPE_DEFINITION||e.kind===f.UNION_TYPE_DEFINITION||e.kind===f.ENUM_TYPE_DEFINITION||e.kind===f.INPUT_OBJECT_TYPE_DEFINITION}function $n(e){return e.kind===f.SCALAR_TYPE_EXTENSION||e.kind===f.OBJECT_TYPE_EXTENSION||e.kind===f.INTERFACE_TYPE_EXTENSION||e.kind===f.UNION_TYPE_EXTENSION||e.kind===f.ENUM_TYPE_EXTENSION||e.kind===f.INPUT_OBJECT_TYPE_EXTENSION}function ke(e,n){var t="string"==typeof e?[e,n]:[void 0,e],r=t[0],a=" Did you mean ";r&&(a+=r+" ");var s=t[1].map(function(c){return'"'.concat(c,'"')});switch(s.length){case 0:return"";case 1:return a+s[0]+"?";case 2:return a+s[0]+" or "+s[1]+"?"}var o=s.slice(0,5),u=o.pop();return a+o.join(", ")+", or "+u+"?"}function Ut(e,n){for(var t=0,r=0;t<e.length&&r<n.length;){var i=e.charCodeAt(t),a=n.charCodeAt(r);if(In(i)&&In(a)){var s=0;do{++t,s=10*s+i-et,i=e.charCodeAt(t)}while(In(i)&&s>0);var o=0;do{++r,o=10*o+a-et,a=n.charCodeAt(r)}while(In(a)&&o>0);if(s<o)return-1;if(s>o)return 1}else{if(i<a)return-1;if(i>a)return 1;++t,++r}}return e.length-n.length}var et=48;function In(e){return!isNaN(e)&&et<=e&&e<=57}function Be(e,n){for(var t=Object.create(null),r=new Yi(e),i=Math.floor(.4*e.length)+1,a=0;a<n.length;a++){var s=n[a],o=r.measure(s,i);void 0!==o&&(t[s]=o)}return Object.keys(t).sort(function(u,c){var l=t[u]-t[c];return 0!==l?l:Ut(u,c)})}var Yi=function(){function e(t){this._input=t,this._inputLowerCase=t.toLowerCase(),this._inputArray=jt(this._inputLowerCase),this._rows=[new Array(t.length+1).fill(0),new Array(t.length+1).fill(0),new Array(t.length+1).fill(0)]}return e.prototype.measure=function(r,i){if(this._input===r)return 0;var a=r.toLowerCase();if(this._inputLowerCase===a)return 1;var s=jt(a),o=this._inputArray;if(s.length<o.length){var u=s;s=o,o=u}var c=s.length,l=o.length;if(!(c-l>i)){for(var p=this._rows,d=0;d<=l;d++)p[0][d]=d;for(var v=1;v<=c;v++){for(var m=p[(v-1)%3],T=p[v%3],g=T[0]=v,N=1;N<=l;N++){var x=Math.min(m[N]+1,T[N-1]+1,m[N-1]+(s[v-1]===o[N-1]?0:1));v>1&&N>1&&s[v-1]===o[N-2]&&s[v-2]===o[N-1]&&(x=Math.min(x,p[(v-2)%3][N-2]+1)),x<g&&(g=x),T[N]=x}if(g>i)return}var G=p[c%3][l];return G<=i?G:void 0}},e}();function jt(e){for(var n=e.length,t=new Array(n),r=0;r<n;++r)t[r]=e.charCodeAt(r);return t}const on=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},On=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function W(e){return Mt(e,{leave:Xi})}var Xi={Name:function(n){return n.value},Variable:function(n){return"$"+n.name},Document:function(n){return O(n.definitions,"\n\n")+"\n"},OperationDefinition:function(n){var t=n.operation,r=n.name,i=Q("(",O(n.variableDefinitions,", "),")"),a=O(n.directives," "),s=n.selectionSet;return r||a||i||"query"!==t?O([t,O([r,i]),a,s]," "):s},VariableDefinition:function(n){var a=n.directives;return n.variable+": "+n.type+Q(" = ",n.defaultValue)+Q(" ",O(a," "))},SelectionSet:function(n){return Te(n.selections)},Field:function(n){var r=n.name,i=n.arguments,a=n.directives,s=n.selectionSet,o=Q("",n.alias,": ")+r,u=o+Q("(",O(i,", "),")");return u.length>80&&(u=o+Q("(\n",bn(O(i,"\n")),"\n)")),O([u,O(a," "),s]," ")},Argument:function(n){return n.name+": "+n.value},FragmentSpread:function(n){return"..."+n.name+Q(" ",O(n.directives," "))},InlineFragment:function(n){var r=n.directives,i=n.selectionSet;return O(["...",Q("on ",n.typeCondition),O(r," "),i]," ")},FragmentDefinition:function(n){var r=n.typeCondition,i=n.variableDefinitions,a=n.directives,s=n.selectionSet;return"fragment ".concat(n.name).concat(Q("(",O(i,", "),")")," ")+"on ".concat(r," ").concat(Q("",O(a," ")," "))+s},IntValue:function(n){return n.value},FloatValue:function(n){return n.value},StringValue:function(n,t){var r=n.value;return n.block?function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],a='"'===e[e.length-1],s="\\"===e[e.length-1],o=!r||a||s||t,u="";return o&&!(r&&i)&&(u+="\n"+n),u+=n?e.replace(/\n/g,"\n"+n):e,o&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(n){return n.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(n){return n.value},ListValue:function(n){return"["+O(n.values,", ")+"]"},ObjectValue:function(n){return"{"+O(n.fields,", ")+"}"},ObjectField:function(n){return n.name+": "+n.value},Directive:function(n){return"@"+n.name+Q("(",O(n.arguments,", "),")")},NamedType:function(n){return n.name},ListType:function(n){return"["+n.type+"]"},NonNullType:function(n){return n.type+"!"},SchemaDefinition:ye(function(e){var t=e.operationTypes;return O(["schema",O(e.directives," "),Te(t)]," ")}),OperationTypeDefinition:function(n){return n.operation+": "+n.type},ScalarTypeDefinition:ye(function(e){return O(["scalar",e.name,O(e.directives," ")]," ")}),ObjectTypeDefinition:ye(function(e){var r=e.directives,i=e.fields;return O(["type",e.name,Q("implements ",O(e.interfaces," & ")),O(r," "),Te(i)]," ")}),FieldDefinition:ye(function(e){var t=e.arguments,r=e.type,i=e.directives;return e.name+(Bt(t)?Q("(\n",bn(O(t,"\n")),"\n)"):Q("(",O(t,", "),")"))+": "+r+Q(" ",O(i," "))}),InputValueDefinition:ye(function(e){var i=e.directives;return O([e.name+": "+e.type,Q("= ",e.defaultValue),O(i," ")]," ")}),InterfaceTypeDefinition:ye(function(e){var r=e.directives,i=e.fields;return O(["interface",e.name,Q("implements ",O(e.interfaces," & ")),O(r," "),Te(i)]," ")}),UnionTypeDefinition:ye(function(e){var r=e.types;return O(["union",e.name,O(e.directives," "),r&&0!==r.length?"= "+O(r," | "):""]," ")}),EnumTypeDefinition:ye(function(e){var r=e.values;return O(["enum",e.name,O(e.directives," "),Te(r)]," ")}),EnumValueDefinition:ye(function(e){return O([e.name,O(e.directives," ")]," ")}),InputObjectTypeDefinition:ye(function(e){var r=e.fields;return O(["input",e.name,O(e.directives," "),Te(r)]," ")}),DirectiveDefinition:ye(function(e){var t=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+e.name+(Bt(t)?Q("(\n",bn(O(t,"\n")),"\n)"):Q("(",O(t,", "),")"))+(r?" repeatable":"")+" on "+O(i," | ")}),SchemaExtension:function(n){var r=n.operationTypes;return O(["extend schema",O(n.directives," "),Te(r)]," ")},ScalarTypeExtension:function(n){return O(["extend scalar",n.name,O(n.directives," ")]," ")},ObjectTypeExtension:function(n){var i=n.directives,a=n.fields;return O(["extend type",n.name,Q("implements ",O(n.interfaces," & ")),O(i," "),Te(a)]," ")},InterfaceTypeExtension:function(n){var i=n.directives,a=n.fields;return O(["extend interface",n.name,Q("implements ",O(n.interfaces," & ")),O(i," "),Te(a)]," ")},UnionTypeExtension:function(n){var i=n.types;return O(["extend union",n.name,O(n.directives," "),i&&0!==i.length?"= "+O(i," | "):""]," ")},EnumTypeExtension:function(n){var i=n.values;return O(["extend enum",n.name,O(n.directives," "),Te(i)]," ")},InputObjectTypeExtension:function(n){var i=n.fields;return O(["extend input",n.name,O(n.directives," "),Te(i)]," ")}};function ye(e){return function(n){return O([n.description,e(n)],"\n")}}function O(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(n=null==e?void 0:e.filter(function(r){return r}).join(t))&&void 0!==n?n:""}function Te(e){return Q("{\n",bn(O(e,"\n")),"\n}")}function Q(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=n&&""!==n?e+n+t:""}function bn(e){return Q(" ",e.replace(/\n/g,"\n "))}function zi(e){return-1!==e.indexOf("\n")}function Bt(e){return null!=e&&e.some(zi)}const Xe=Object.entries||function(e){return Object.keys(e).map(function(n){return[n,e[n]]})};function Se(e,n){return e.reduce(function(t,r){return t[n(r)]=r,t},Object.create(null))}function De(e,n){for(var t=Object.create(null),r=0,i=Xe(e);r<i.length;r++){var a=i[r],s=a[0];t[s]=n(a[1],s)}return t}function ue(e){if(null===Object.getPrototypeOf(e))return e;for(var n=Object.create(null),t=0,r=Xe(e);t<r.length;t++){var i=r[t];n[i[0]]=i[1]}return n}function nt(e,n,t){return e.reduce(function(r,i){return r[n(i)]=t(i),r},Object.create(null))}function Gt(e){return e}function tt(e,n){switch(e.kind){case f.NULL:return null;case f.INT:return parseInt(e.value,10);case f.FLOAT:return parseFloat(e.value);case f.STRING:case f.ENUM:case f.BOOLEAN:return e.value;case f.LIST:return e.values.map(function(t){return tt(t,n)});case f.OBJECT:return nt(e.fields,function(t){return t.name.value},function(t){return tt(t.value,n)});case f.VARIABLE:return null==n?void 0:n[e.name.value]}le(0,"Unexpected value node: "+D(e))}function Kt(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ze(e,n,t){return n&&Kt(e.prototype,n),t&&Kt(e,t),e}function rt(e){return Ae(e)||ee(e)||H(e)||fe(e)||pe(e)||ie(e)||ae(e)||B(e)}function Ae(e){return Ie(e,_e)}function ee(e){return Ie(e,de)}function H(e){return Ie(e,An)}function fe(e){return Ie(e,wn)}function pe(e){return Ie(e,Ke)}function ie(e){return Ie(e,Ln)}function ae(e){return Ie(e,Z)}function B(e){return Ie(e,F)}function it(e){return Ae(e)||pe(e)||ie(e)||Sn(e)&&it(e.ofType)}function xe(e){return Ae(e)||pe(e)}function He(e){return ee(e)||H(e)||fe(e)}function Ge(e){return H(e)||fe(e)}function Z(e){if(!(this instanceof Z))return new Z(e);this.ofType=function(e){if(!rt(e))throw new Error("Expected ".concat(D(e)," to be a GraphQL type."));return e}(e)}function F(e){if(!(this instanceof F))return new F(e);this.ofType=function(e){if(!function(e){return rt(e)&&!B(e)}(e))throw new Error("Expected ".concat(D(e)," to be a GraphQL nullable type."));return e}(e)}function Sn(e){return ae(e)||B(e)}function we(e){if(e){for(var n=e;Sn(n);)n=n.ofType;return n}}function Dn(e){return"function"==typeof e?e():e}function We(e){return e&&e.length>0?e:void 0}Z.prototype.toString=function(){return"["+String(this.ofType)+"]"},Z.prototype.toJSON=function(){return this.toString()},Object.defineProperty(Z.prototype,ce,{get:function(){return"GraphQLList"}}),me(Z),F.prototype.toString=function(){return String(this.ofType)+"!"},F.prototype.toJSON=function(){return this.toString()},Object.defineProperty(F.prototype,ce,{get:function(){return"GraphQLNonNull"}}),me(F);var _e=function(){function e(t){var r,i,a,s=null!==(r=t.parseValue)&&void 0!==r?r:Gt;this.name=t.name,this.description=t.description,this.specifiedByUrl=t.specifiedByUrl,this.serialize=null!==(i=t.serialize)&&void 0!==i?i:Gt,this.parseValue=s,this.parseLiteral=null!==(a=t.parseLiteral)&&void 0!==a?a:function(o,u){return s(tt(o,u))},this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),"string"==typeof t.name||R(0,"Must provide name."),null==t.specifiedByUrl||"string"==typeof t.specifiedByUrl||R(0,"".concat(this.name,' must provide "specifiedByUrl" as a string, ')+"but got: ".concat(D(t.specifiedByUrl),".")),null==t.serialize||"function"==typeof t.serialize||R(0,"".concat(this.name,' must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.')),t.parseLiteral&&("function"==typeof t.parseValue&&"function"==typeof t.parseLiteral||R(0,"".concat(this.name,' must provide both "parseValue" and "parseLiteral" functions.')))}var n=e.prototype;return n.toConfig=function(){var r;return{name:this.name,description:this.description,specifiedByUrl:this.specifiedByUrl,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLScalarType"}}]),e}();me(_e);var de=function(){function e(t){this.name=t.name,this.description=t.description,this.isTypeOf=t.isTypeOf,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._fields=Jt.bind(void 0,t),this._interfaces=Qt.bind(void 0,t),"string"==typeof t.name||R(0,"Must provide name."),null==t.isTypeOf||"function"==typeof t.isTypeOf||R(0,"".concat(this.name,' must provide "isTypeOf" as a function, ')+"but got: ".concat(D(t.isTypeOf),"."))}var n=e.prototype;return n.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},n.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},n.toConfig=function(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:qt(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes||[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLObjectType"}}]),e}();function Qt(e){var n,t=null!==(n=Dn(e.interfaces))&&void 0!==n?n:[];return Array.isArray(t)||R(0,"".concat(e.name," interfaces must be an Array or a function which returns an Array.")),t}function Jt(e){var n=Dn(e.fields);return Ze(n)||R(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),De(n,function(t,r){var i;Ze(t)||R(0,"".concat(e.name,".").concat(r," field config must be an object.")),!("isDeprecated"in t)||R(0,"".concat(e.name,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),null==t.resolve||"function"==typeof t.resolve||R(0,"".concat(e.name,".").concat(r," field resolver must be a function if ")+"provided, but got: ".concat(D(t.resolve),"."));var a=null!==(i=t.args)&&void 0!==i?i:{};Ze(a)||R(0,"".concat(e.name,".").concat(r," args must be an object with argument names as keys."));var s=Xe(a).map(function(o){var c=o[1];return{name:o[0],description:c.description,type:c.type,defaultValue:c.defaultValue,deprecationReason:c.deprecationReason,extensions:c.extensions&&ue(c.extensions),astNode:c.astNode}});return{name:r,description:t.description,type:t.type,args:s,resolve:t.resolve,subscribe:t.subscribe,isDeprecated:null!=t.deprecationReason,deprecationReason:t.deprecationReason,extensions:t.extensions&&ue(t.extensions),astNode:t.astNode}})}function Ze(e){return Ue(e)&&!Array.isArray(e)}function qt(e){return De(e,function(n){return{description:n.description,type:n.type,args:Xt(n.args),resolve:n.resolve,subscribe:n.subscribe,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}})}function Xt(e){return nt(e,function(n){return n.name},function(n){return{description:n.description,type:n.type,defaultValue:n.defaultValue,deprecationReason:n.deprecationReason,extensions:n.extensions,astNode:n.astNode}})}function zt(e){return B(e.type)&&void 0===e.defaultValue}me(de);var An=function(){function e(t){this.name=t.name,this.description=t.description,this.resolveType=t.resolveType,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._fields=Jt.bind(void 0,t),this._interfaces=Qt.bind(void 0,t),"string"==typeof t.name||R(0,"Must provide name."),null==t.resolveType||"function"==typeof t.resolveType||R(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(D(t.resolveType),"."))}var n=e.prototype;return n.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},n.getInterfaces=function(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces},n.toConfig=function(){var r;return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:qt(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLInterfaceType"}}]),e}();me(An);var wn=function(){function e(t){this.name=t.name,this.description=t.description,this.resolveType=t.resolveType,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._types=ta.bind(void 0,t),"string"==typeof t.name||R(0,"Must provide name."),null==t.resolveType||"function"==typeof t.resolveType||R(0,"".concat(this.name,' must provide "resolveType" as a function, ')+"but got: ".concat(D(t.resolveType),"."))}var n=e.prototype;return n.getTypes=function(){return"function"==typeof this._types&&(this._types=this._types()),this._types},n.toConfig=function(){var r;return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLUnionType"}}]),e}();function ta(e){var n=Dn(e.types);return Array.isArray(n)||R(0,"Must provide Array of types or a function which returns such an array for Union ".concat(e.name,".")),n}me(wn);var Ke=function(){function e(t){this.name=t.name,this.description=t.description,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._values=function(e,n){return Ze(n)||R(0,"".concat(e," values must be an object with value names as keys.")),Xe(n).map(function(t){var r=t[0],i=t[1];return Ze(i)||R(0,"".concat(e,".").concat(r,' must refer to an object with a "value" key ')+"representing an internal value but got: ".concat(D(i),".")),!("isDeprecated"in i)||R(0,"".concat(e,".").concat(r,' should provide "deprecationReason" instead of "isDeprecated".')),{name:r,description:i.description,value:void 0!==i.value?i.value:r,isDeprecated:null!=i.deprecationReason,deprecationReason:i.deprecationReason,extensions:i.extensions&&ue(i.extensions),astNode:i.astNode}})}(this.name,t.values),this._valueLookup=new Map(this._values.map(function(r){return[r.value,r]})),this._nameLookup=Se(this._values,function(r){return r.name}),"string"==typeof t.name||R(0,"Must provide name.")}var n=e.prototype;return n.getValues=function(){return this._values},n.getValue=function(r){return this._nameLookup[r]},n.serialize=function(r){var i=this._valueLookup.get(r);if(void 0===i)throw new E('Enum "'.concat(this.name,'" cannot represent value: ').concat(D(r)));return i.name},n.parseValue=function(r){if("string"!=typeof r){var i=D(r);throw new E('Enum "'.concat(this.name,'" cannot represent non-string value: ').concat(i,".")+_n(this,i))}var a=this.getValue(r);if(null==a)throw new E('Value "'.concat(r,'" does not exist in "').concat(this.name,'" enum.')+_n(this,r));return a.value},n.parseLiteral=function(r,i){if(r.kind!==f.ENUM){var a=W(r);throw new E('Enum "'.concat(this.name,'" cannot represent non-enum value: ').concat(a,".")+_n(this,a),r)}var s=this.getValue(r.value);if(null==s){var o=W(r);throw new E('Value "'.concat(o,'" does not exist in "').concat(this.name,'" enum.')+_n(this,o),r)}return s.value},n.toConfig=function(){var r,i=nt(this.getValues(),function(a){return a.name},function(a){return{description:a.description,value:a.value,deprecationReason:a.deprecationReason,extensions:a.extensions,astNode:a.astNode}});return{name:this.name,description:this.description,values:i,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLEnumType"}}]),e}();function _n(e,n){return ke("the enum value",Be(n,e.getValues().map(function(i){return i.name})))}me(Ke);var Ln=function(){function e(t){this.name=t.name,this.description=t.description,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=We(t.extensionASTNodes),this._fields=ia.bind(void 0,t),"string"==typeof t.name||R(0,"Must provide name.")}var n=e.prototype;return n.getFields=function(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields},n.toConfig=function(){var r,i=De(this.getFields(),function(a){return{description:a.description,type:a.type,defaultValue:a.defaultValue,extensions:a.extensions,astNode:a.astNode}});return{name:this.name,description:this.description,fields:i,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[]}},n.toString=function(){return this.name},n.toJSON=function(){return this.toString()},ze(e,[{key:ce,get:function(){return"GraphQLInputObjectType"}}]),e}();function ia(e){var n=Dn(e.fields);return Ze(n)||R(0,"".concat(e.name," fields must be an object with field names as keys or a function which returns such an object.")),De(n,function(t,r){return!("resolve"in t)||R(0,"".concat(e.name,".").concat(r," field has a resolve property, but Input Types cannot define resolvers.")),{name:r,description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:t.extensions&&ue(t.extensions),astNode:t.astNode}})}function Ht(e){return B(e.type)&&void 0===e.defaultValue}me(Ln);var at=2147483647,st=-2147483648,Wt=new _e({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize:function(e){var n=un(e);if("boolean"==typeof n)return n?1:0;var t=n;if("string"==typeof n&&""!==n&&(t=Number(n)),!On(t))throw new E("Int cannot represent non-integer value: ".concat(D(n)));if(t>at||t<st)throw new E("Int cannot represent non 32-bit signed integer value: "+D(n));return t},parseValue:function(e){if(!On(e))throw new E("Int cannot represent non-integer value: ".concat(D(e)));if(e>at||e<st)throw new E("Int cannot represent non 32-bit signed integer value: ".concat(e));return e},parseLiteral:function(n){if(n.kind!==f.INT)throw new E("Int cannot represent non-integer value: ".concat(W(n)),n);var t=parseInt(n.value,10);if(t>at||t<st)throw new E("Int cannot represent non 32-bit signed integer value: ".concat(n.value),n);return t}}),ca=new _e({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize:function(e){var n=un(e);if("boolean"==typeof n)return n?1:0;var t=n;if("string"==typeof n&&""!==n&&(t=Number(n)),!on(t))throw new E("Float cannot represent non numeric value: ".concat(D(n)));return t},parseValue:function(e){if(!on(e))throw new E("Float cannot represent non numeric value: ".concat(D(e)));return e},parseLiteral:function(n){if(n.kind!==f.FLOAT&&n.kind!==f.INT)throw new E("Float cannot represent non numeric value: ".concat(W(n)),n);return parseFloat(n.value)}});function un(e){if(Ue(e)){if("function"==typeof e.valueOf){var n=e.valueOf();if(!Ue(n))return n}if("function"==typeof e.toJSON)return e.toJSON()}return e}var q=new _e({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize:function(e){var n=un(e);if("string"==typeof n)return n;if("boolean"==typeof n)return n?"true":"false";if(on(n))return n.toString();throw new E("String cannot represent value: ".concat(D(e)))},parseValue:function(e){if("string"!=typeof e)throw new E("String cannot represent a non string value: ".concat(D(e)));return e},parseLiteral:function(n){if(n.kind!==f.STRING)throw new E("String cannot represent a non string value: ".concat(W(n)),n);return n.value}}),ve=new _e({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize:function(e){var n=un(e);if("boolean"==typeof n)return n;if(on(n))return 0!==n;throw new E("Boolean cannot represent a non boolean value: ".concat(D(n)))},parseValue:function(e){if("boolean"!=typeof e)throw new E("Boolean cannot represent a non boolean value: ".concat(D(e)));return e},parseLiteral:function(n){if(n.kind!==f.BOOLEAN)throw new E("Boolean cannot represent a non boolean value: ".concat(W(n)),n);return n.value}}),Zt=new _e({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize:function(e){var n=un(e);if("string"==typeof n)return n;if(On(n))return String(n);throw new E("ID cannot represent value: ".concat(D(e)))},parseValue:function(e){if("string"==typeof e)return e;if(On(e))return e.toString();throw new E("ID cannot represent value: ".concat(D(e)))},parseLiteral:function(n){if(n.kind!==f.STRING&&n.kind!==f.INT)throw new E("ID cannot represent a non-string and non-integer value: "+W(n),n);return n.value}}),ot=Object.freeze([q,Wt,ca,ve,Zt]);const Oe=Object.values||function(e){return Object.keys(e).map(function(n){return e[n]})};function Fn(e){return(Fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function be(e,n){if(B(n)){var t=be(e,n.ofType);return(null==t?void 0:t.kind)===f.NULL?null:t}if(null===e)return{kind:f.NULL};if(void 0===e)return null;if(ae(n)){var r=n.ofType,i=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(l){return l};if(null==e||"object"!==Fn(e))return null;if(Array.isArray(e))return e.map(n);var t=e[Nt];if("function"==typeof t){for(var a,r=t.call(e),i=[],s=0;!(a=r.next()).done;++s)i.push(n(a.value,s));return i}var o=e.length;if("number"==typeof o&&o>=0&&o%1==0){for(var u=[],c=0;c<o;++c){if(!Object.prototype.hasOwnProperty.call(e,c))return null;u.push(n(e[String(c)],c))}return u}return null}(e);if(null!=i){for(var a=[],s=0;s<i.length;s++){var u=be(i[s],r);null!=u&&a.push(u)}return{kind:f.LIST,values:a}}return be(e,r)}if(ie(n)){if(!Ue(e))return null;for(var c=[],l=0,p=Oe(n.getFields());l<p.length;l++){var d=p[l],v=be(e[d.name],d.type);v&&c.push({kind:f.OBJECT_FIELD,name:{kind:f.NAME,value:d.name},value:v})}return{kind:f.OBJECT,fields:c}}if(xe(n)){var m=n.serialize(e);if(null==m)return null;if("boolean"==typeof m)return{kind:f.BOOLEAN,value:m};if("number"==typeof m&&on(m)){var T=String(m);return $t.test(T)?{kind:f.INT,value:T}:{kind:f.FLOAT,value:T}}if("string"==typeof m)return pe(n)?{kind:f.ENUM,value:m}:n===Zt&&$t.test(m)?{kind:f.INT,value:m}:{kind:f.STRING,value:m};throw new TypeError("Cannot convert value to AST: ".concat(D(m),"."))}le(0,"Unexpected input type: "+D(n))}var $t=/^-?(?:0|[1-9][0-9]*)$/,ut=new de({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:function(){return{description:{type:q,resolve:function(t){return t.description}},types:{description:"A list of all types supported by this server.",type:new F(new Z(new F(Ee))),resolve:function(t){return Oe(t.getTypeMap())}},queryType:{description:"The type that query operations will be rooted at.",type:new F(Ee),resolve:function(t){return t.getQueryType()}},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:Ee,resolve:function(t){return t.getMutationType()}},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:Ee,resolve:function(t){return t.getSubscriptionType()}},directives:{description:"A list of all directives supported by this server.",type:new F(new Z(new F(er))),resolve:function(t){return t.getDirectives()}}}}}),er=new de({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:function(){return{name:{type:new F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},isRepeatable:{type:new F(ve),resolve:function(t){return t.isRepeatable}},locations:{type:new F(new Z(new F(nr))),resolve:function(t){return t.locations}},args:{type:new F(new Z(new F(kn))),resolve:function(t){return t.args}}}}}),nr=new Ke({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:A.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:A.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:A.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:A.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:A.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:A.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:A.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:A.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:A.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:A.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:A.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:A.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:A.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:A.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:A.UNION,description:"Location adjacent to a union definition."},ENUM:{value:A.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:A.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:A.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:A.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),Ee=new de({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByUrl`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:function(){return{kind:{type:new F(ir),resolve:function(t){return Ae(t)?re.SCALAR:ee(t)?re.OBJECT:H(t)?re.INTERFACE:fe(t)?re.UNION:pe(t)?re.ENUM:ie(t)?re.INPUT_OBJECT:ae(t)?re.LIST:B(t)?re.NON_NULL:void le(0,'Unexpected type: "'.concat(D(t),'".'))}},name:{type:q,resolve:function(t){return void 0!==t.name?t.name:void 0}},description:{type:q,resolve:function(t){return void 0!==t.description?t.description:void 0}},specifiedByUrl:{type:q,resolve:function(t){return void 0!==t.specifiedByUrl?t.specifiedByUrl:void 0}},fields:{type:new Z(new F(tr)),args:{includeDeprecated:{type:ve,defaultValue:!1}},resolve:function(t,r){var i=r.includeDeprecated;if(ee(t)||H(t)){var a=Oe(t.getFields());return i?a:a.filter(function(s){return null==s.deprecationReason})}}},interfaces:{type:new Z(new F(Ee)),resolve:function(t){if(ee(t)||H(t))return t.getInterfaces()}},possibleTypes:{type:new Z(new F(Ee)),resolve:function(t,r,i,a){var s=a.schema;if(Ge(t))return s.getPossibleTypes(t)}},enumValues:{type:new Z(new F(rr)),args:{includeDeprecated:{type:ve,defaultValue:!1}},resolve:function(t,r){var i=r.includeDeprecated;if(pe(t)){var a=t.getValues();return i?a:a.filter(function(s){return null==s.deprecationReason})}}},inputFields:{type:new Z(new F(kn)),args:{includeDeprecated:{type:ve,defaultValue:!1}},resolve:function(t,r){var i=r.includeDeprecated;if(ie(t)){var a=Oe(t.getFields());return i?a:a.filter(function(s){return null==s.deprecationReason})}}},ofType:{type:Ee,resolve:function(t){return void 0!==t.ofType?t.ofType:void 0}}}}}),tr=new de({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:function(){return{name:{type:new F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},args:{type:new F(new Z(new F(kn))),args:{includeDeprecated:{type:ve,defaultValue:!1}},resolve:function(t,r){return r.includeDeprecated?t.args:t.args.filter(function(a){return null==a.deprecationReason})}},type:{type:new F(Ee),resolve:function(t){return t.type}},isDeprecated:{type:new F(ve),resolve:function(t){return null!=t.deprecationReason}},deprecationReason:{type:q,resolve:function(t){return t.deprecationReason}}}}}),kn=new de({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:function(){return{name:{type:new F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},type:{type:new F(Ee),resolve:function(t){return t.type}},defaultValue:{type:q,description:"A GraphQL-formatted string representing the default value for this input value.",resolve:function(t){var a=be(t.defaultValue,t.type);return a?W(a):null}},isDeprecated:{type:new F(ve),resolve:function(t){return null!=t.deprecationReason}},deprecationReason:{type:q,resolve:function(t){return t.deprecationReason}}}}}),rr=new de({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:function(){return{name:{type:new F(q),resolve:function(t){return t.name}},description:{type:q,resolve:function(t){return t.description}},isDeprecated:{type:new F(ve),resolve:function(t){return null!=t.deprecationReason}},deprecationReason:{type:q,resolve:function(t){return t.deprecationReason}}}}}),re=Object.freeze({SCALAR:"SCALAR",OBJECT:"OBJECT",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",INPUT_OBJECT:"INPUT_OBJECT",LIST:"LIST",NON_NULL:"NON_NULL"}),ir=new Ke({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:re.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:re.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:re.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:re.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:re.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:re.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:re.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:re.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),ct=(new F(ut),new F(q),new F(q),Object.freeze([ut,er,nr,Ee,tr,kn,rr,ir]));function ar(e){for(var n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),r=Object.create(null),i=0,a=e.getDocument().definitions;i<a.length;i++){var s=a[i];sn(s)&&(r[s.name.value]=!0)}var o=Object.keys(t).concat(Object.keys(r));return{NamedType:function(c,l,p,d,v){var m=c.name.value;if(!t[m]&&!r[m]){var T,g=null!==(T=v[2])&&void 0!==T?T:p,N=null!=g&&function(e){return!Array.isArray(e)&&(function(e){return e.kind===f.SCHEMA_DEFINITION||sn(e)||e.kind===f.DIRECTIVE_DEFINITION}(e)||function(e){return e.kind===f.SCHEMA_EXTENSION||$n(e)}(e))}(g);if(N&&function(e){return-1!==sr.indexOf(e)}(m))return;var _=Be(m,N?sr.concat(o):o);e.reportError(new E('Unknown type "'.concat(m,'".')+ke(_),c))}}}}var sr=[].concat(ot,ct).map(function(e){return e.name});function Le(e,n){var t;return n.kind===f.LIST_TYPE?(t=Le(e,n.type))&&new Z(t):n.kind===f.NON_NULL_TYPE?(t=Le(e,n.type))&&new F(t):n.kind===f.NAMED_TYPE?e.getType(n.name.value):void le(0,"Unexpected type node: "+D(n))}const or=Array.from||function(e,n,t){if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r=e[Nt];if("function"==typeof r){for(var s,i=r.call(e),a=[],o=0;!(s=i.next()).done;++o)if(a.push(n.call(t,s.value,o)),o>9999999)throw new TypeError("Near-infinite iteration.");return a}var u=e.length;if("number"==typeof u&&u>=0&&u%1==0){for(var c=[],l=0;l<u;++l)Object.prototype.hasOwnProperty.call(e,l)&&c.push(n.call(t,e[l],l));return c}return[]};function cn(e,n,t){return n===t||(B(t)?!!B(n)&&cn(e,n.ofType,t.ofType):B(n)?cn(e,n.ofType,t):ae(t)?!!ae(n)&&cn(e,n.ofType,t.ofType):!ae(n)&&Ge(t)&&(H(n)||ee(n))&&e.isSubType(t,n))}function cr(e,n,t){return n===t||(Ge(n)?Ge(t)?e.getPossibleTypes(n).some(function(r){return e.isSubType(t,r)}):e.isSubType(n,t):!!Ge(t)&&e.isSubType(t,n))}function lr(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function fr(e){return Ie(e,Re)}var Re=function(){function e(t){var r,i;this.name=t.name,this.description=t.description,this.locations=t.locations,this.isRepeatable=null!==(r=t.isRepeatable)&&void 0!==r&&r,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,t.name||R(0,"Directive must be named."),Array.isArray(t.locations)||R(0,"@".concat(t.name," locations must be an Array."));var a=null!==(i=t.args)&&void 0!==i?i:{};Ue(a)&&!Array.isArray(a)||R(0,"@".concat(t.name," args must be an object with argument names as keys.")),this.args=Xe(a).map(function(s){var u=s[1];return{name:s[0],description:u.description,type:u.type,defaultValue:u.defaultValue,deprecationReason:u.deprecationReason,extensions:u.extensions&&ue(u.extensions),astNode:u.astNode}})}var n=e.prototype;return n.toConfig=function(){return{name:this.name,description:this.description,locations:this.locations,args:Xt(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}},n.toString=function(){return"@"+this.name},n.toJSON=function(){return this.toString()},function(e,n,t){n&&lr(e.prototype,n)}(e,[{key:ce,get:function(){return"GraphQLDirective"}}]),e}();me(Re);var Ua=new Re({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[A.FIELD,A.FRAGMENT_SPREAD,A.INLINE_FRAGMENT],args:{if:{type:new F(ve),description:"Included when true."}}}),ja=new Re({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[A.FIELD,A.FRAGMENT_SPREAD,A.INLINE_FRAGMENT],args:{if:{type:new F(ve),description:"Skipped when true."}}}),pr=new Re({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[A.FIELD_DEFINITION,A.ARGUMENT_DEFINITION,A.INPUT_FIELD_DEFINITION,A.ENUM_VALUE],args:{reason:{type:q,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:"No longer supported"}}}),dr=new Re({name:"specifiedBy",description:"Exposes a URL that specifies the behaviour of this scalar.",locations:[A.SCALAR],args:{url:{type:new F(q),description:"The URL that specifies the behaviour of this scalar."}}}),Me=Object.freeze([Ua,ja,pr,dr]);function vr(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=a.locations}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];u.kind===f.DIRECTIVE_DEFINITION&&(n[u.name.value]=u.locations.map(function(c){return c.value}))}return{Directive:function(l,p,d,v,m){var T=l.name.value,g=n[T];if(g){var N=function(e){var n=e[e.length-1];switch(!Array.isArray(n)||le(0),n.kind){case f.OPERATION_DEFINITION:return function(e){switch(e){case"query":return A.QUERY;case"mutation":return A.MUTATION;case"subscription":return A.SUBSCRIPTION}le(0,"Unexpected operation: "+D(e))}(n.operation);case f.FIELD:return A.FIELD;case f.FRAGMENT_SPREAD:return A.FRAGMENT_SPREAD;case f.INLINE_FRAGMENT:return A.INLINE_FRAGMENT;case f.FRAGMENT_DEFINITION:return A.FRAGMENT_DEFINITION;case f.VARIABLE_DEFINITION:return A.VARIABLE_DEFINITION;case f.SCHEMA_DEFINITION:case f.SCHEMA_EXTENSION:return A.SCHEMA;case f.SCALAR_TYPE_DEFINITION:case f.SCALAR_TYPE_EXTENSION:return A.SCALAR;case f.OBJECT_TYPE_DEFINITION:case f.OBJECT_TYPE_EXTENSION:return A.OBJECT;case f.FIELD_DEFINITION:return A.FIELD_DEFINITION;case f.INTERFACE_TYPE_DEFINITION:case f.INTERFACE_TYPE_EXTENSION:return A.INTERFACE;case f.UNION_TYPE_DEFINITION:case f.UNION_TYPE_EXTENSION:return A.UNION;case f.ENUM_TYPE_DEFINITION:case f.ENUM_TYPE_EXTENSION:return A.ENUM;case f.ENUM_VALUE_DEFINITION:return A.ENUM_VALUE;case f.INPUT_OBJECT_TYPE_DEFINITION:case f.INPUT_OBJECT_TYPE_EXTENSION:return A.INPUT_OBJECT;case f.INPUT_VALUE_DEFINITION:return e[e.length-3].kind===f.INPUT_OBJECT_TYPE_DEFINITION?A.INPUT_FIELD_DEFINITION:A.ARGUMENT_DEFINITION}}(m);N&&-1===g.indexOf(N)&&e.reportError(new E('Directive "@'.concat(T,'" may not be used on ').concat(N,"."),l))}else e.reportError(new E('Unknown directive "@'.concat(T,'".'),l))}}}function hr(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=!a.isRepeatable}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];u.kind===f.DIRECTIVE_DEFINITION&&(n[u.name.value]=!u.repeatable)}var c=Object.create(null),l=Object.create(null);return{enter:function(d){if(null!=d.directives){var v;if(d.kind===f.SCHEMA_DEFINITION||d.kind===f.SCHEMA_EXTENSION)v=c;else if(sn(d)||$n(d)){var m=d.name.value;void 0===(v=l[m])&&(l[m]=v=Object.create(null))}else v=Object.create(null);for(var T=0,g=d.directives;T<g.length;T++){var N=g[T],_=N.name.value;n[_]&&(v[_]?e.reportError(new E('The directive "@'.concat(_,'" can only be used once at this location.'),[v[_],N])):v[_]=N)}}}}}function mr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function yr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?mr(Object(t),!0).forEach(function(r){Ya(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):mr(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function Ya(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Tr(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=a.args.map(function(p){return p.name})}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];if(u.kind===f.DIRECTIVE_DEFINITION){var c,l=null!==(c=u.arguments)&&void 0!==c?c:[];n[u.name.value]=l.map(function(p){return p.name.value})}}return{Directive:function(d){var v=d.name.value,m=n[v];if(d.arguments&&m)for(var T=0,g=d.arguments;T<g.length;T++){var N=g[T],_=N.name.value;if(-1===m.indexOf(_)){var x=Be(_,m);e.reportError(new E('Unknown argument "'.concat(_,'" on directive "@').concat(v,'".')+ke(x),N))}}return!1}}}function Er(e){var n=Object.create(null);return{Field:function(){n=Object.create(null)},Directive:function(){n=Object.create(null)},Argument:function(r){var i=r.name.value;return n[i]?e.reportError(new E('There can be only one argument named "'.concat(i,'".'),[n[i],r.name])):n[i]=r.name,!1}}}function Ye(e,n){var t=e.getInputType();if(t){var r=we(t);if(!xe(r)){var i=D(t);return void e.reportError(new E('Expected value of type "'.concat(i,'", found ').concat(W(n),"."),n))}try{if(void 0===r.parseLiteral(n,void 0)){var s=D(t);e.reportError(new E('Expected value of type "'.concat(s,'", found ').concat(W(n),"."),n))}}catch(u){var o=D(t);e.reportError(u instanceof E?u:new E('Expected value of type "'.concat(o,'", found ').concat(W(n),"; ")+u.message,n,void 0,void 0,void 0,u))}}}function gr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function Nr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?gr(Object(t),!0).forEach(function(r){qa(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gr(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function qa(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Ir(e){for(var n=Object.create(null),t=e.getSchema(),r=t?t.getDirectives():Me,i=0;i<r.length;i++){var a=r[i];n[a.name]=Se(a.args.filter(zt),function(p){return p.name})}for(var s=e.getDocument().definitions,o=0;o<s.length;o++){var u=s[o];if(u.kind===f.DIRECTIVE_DEFINITION){var c,l=null!==(c=u.arguments)&&void 0!==c?c:[];n[u.name.value]=Se(l.filter(za),function(p){return p.name.value})}}return{Directive:{leave:function(d){var v=d.name.value,m=n[v];if(m)for(var T,N=Se(null!==(T=d.arguments)&&void 0!==T?T:[],function($){return $.name.value}),_=0,x=Object.keys(m);_<x.length;_++){var P=x[_];if(!N[P]){var G=m[P].type,K=rt(G)?D(G):W(G);e.reportError(new E('Directive "@'.concat(v,'" argument "').concat(P,'" of type "').concat(K,'" is required, but it was not provided.'),d))}}}}}}function za(e){return e.type.kind===f.NON_NULL_TYPE&&null==e.defaultValue}function Wa(e,n,t,r,i){return B(r)&&!B(n)?(null!=t&&t.kind!==f.NULL||void 0!==i)&&cn(e,n,r.ofType):cn(e,n,r)}const lt=Array.prototype.find?function(e,n){return Array.prototype.find.call(e,n)}:function(e,n){for(var t=0;t<e.length;t++){var r=e[t];if(n(r))return r}};function Or(e){return Array.isArray(e)?e.map(function(n){var r=n[1];return'subfields "'.concat(n[0],'" conflict because ')+Or(r)}).join(" and "):e}function xn(e,n,t,r,i,a,s){var o=e.getFragment(s);if(o){var u=dt(e,t,o),c=u[0],l=u[1];if(a!==c){ft(e,n,t,r,i,a,c);for(var p=0;p<l.length;p++)xn(e,n,t,r,i,a,l[p])}}}function Rn(e,n,t,r,i,a,s){if(a!==s&&!r.has(a,s,i)){r.add(a,s,i);var o=e.getFragment(a),u=e.getFragment(s);if(o&&u){var c=dt(e,t,o),l=c[0],p=c[1],d=dt(e,t,u),m=d[1];ft(e,n,t,r,i,l,d[0]);for(var T=0;T<m.length;T++)Rn(e,n,t,r,i,a,m[T]);for(var g=0;g<p.length;g++)Rn(e,n,t,r,i,p[g],s)}}}function ft(e,n,t,r,i,a,s){for(var o=0,u=Object.keys(a);o<u.length;o++){var c=u[o],l=s[c];if(l)for(var p=a[c],d=0;d<p.length;d++)for(var v=0;v<l.length;v++){var m=br(e,t,r,i,c,p[d],l[v]);m&&n.push(m)}}}function br(e,n,t,r,i,a,s){var o=a[0],u=a[1],c=a[2],l=s[0],p=s[1],d=s[2],v=r||o!==l&&ee(o)&&ee(l);if(!v){var m,T,g=u.name.value,N=p.name.value;if(g!==N)return[[i,'"'.concat(g,'" and "').concat(N,'" are different fields')],[u],[p]];if(!function(e,n){return e.length===n.length&&e.every(function(t){var r=lt(n,function(i){return i.name.value===t.name.value});return!!r&&function(e,n){return W(e)===W(n)}(t.value,r.value)})}(null!==(m=u.arguments)&&void 0!==m?m:[],null!==(T=p.arguments)&&void 0!==T?T:[]))return[[i,"they have differing arguments"],[u],[p]]}var P=null==c?void 0:c.type,G=null==d?void 0:d.type;if(P&&G&&pt(P,G))return[[i,'they return conflicting types "'.concat(D(P),'" and "').concat(D(G),'"')],[u],[p]];var K=u.selectionSet,$=p.selectionSet;return K&&$?function(e,n,t,r){if(e.length>0)return[[n,e.map(function(i){return i[0]})],e.reduce(function(i,a){return i.concat(a[1])},[t]),e.reduce(function(i,a){return i.concat(a[2])},[r])]}(function(e,n,t,r,i,a,s,o){var u=[],c=Mn(e,n,i,a),l=c[0],p=c[1],d=Mn(e,n,s,o),v=d[0],m=d[1];if(ft(e,u,n,t,r,l,v),0!==m.length)for(var T=0;T<m.length;T++)xn(e,u,n,t,r,l,m[T]);if(0!==p.length)for(var g=0;g<p.length;g++)xn(e,u,n,t,r,v,p[g]);for(var N=0;N<p.length;N++)for(var _=0;_<m.length;_++)Rn(e,u,n,t,r,p[N],m[_]);return u}(e,n,t,v,we(P),K,we(G),$),i,u,p):void 0}function pt(e,n){return ae(e)?!ae(n)||pt(e.ofType,n.ofType):!!ae(n)||(B(e)?!B(n)||pt(e.ofType,n.ofType):!!B(n)||!(!xe(e)&&!xe(n))&&e!==n)}function Mn(e,n,t,r){var i=n.get(r);if(!i){var a=Object.create(null),s=Object.create(null);Sr(e,t,r,a,s),i=[a,Object.keys(s)],n.set(r,i)}return i}function dt(e,n,t){var r=n.get(t.selectionSet);if(r)return r;var i=Le(e.getSchema(),t.typeCondition);return Mn(e,n,i,t.selectionSet)}function Sr(e,n,t,r,i){for(var a=0,s=t.selections;a<s.length;a++){var o=s[a];switch(o.kind){case f.FIELD:var u=o.name.value,c=void 0;(ee(n)||H(n))&&(c=n.getFields()[u]);var l=o.alias?o.alias.value:u;r[l]||(r[l]=[]),r[l].push([n,o,c]);break;case f.FRAGMENT_SPREAD:i[o.name.value]=!0;break;case f.INLINE_FRAGMENT:var p=o.typeCondition,d=p?Le(e.getSchema(),p):n;Sr(e,d,o.selectionSet,r,i)}}}var Ce,ss=function(){function e(){this._data=Object.create(null)}var n=e.prototype;return n.has=function(r,i,a){var s=this._data[r],o=s&&s[i];return void 0!==o&&(!1!==a||!1===o)},n.add=function(r,i,a){this._pairSetAdd(r,i,a),this._pairSetAdd(i,r,a)},n._pairSetAdd=function(r,i,a){var s=this._data[r];s||(s=Object.create(null),this._data[r]=s),s[i]=a},e}();function Dr(e){var n=[],t=Object.create(null);return{ObjectValue:{enter:function(){n.push(t),t=Object.create(null)},leave:function(){t=n.pop()}},ObjectField:function(i){var a=i.name.value;t[a]?e.reportError(new E('There can be only one input field named "'.concat(a,'".'),[t[a],i.name])):t[a]=i.name}}}function ps(e,n){return!!(ee(e)||H(e)||ie(e))&&null!=e.getFields()[n]}function $e(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var hs=($e(Ce={},f.SCALAR_TYPE_DEFINITION,f.SCALAR_TYPE_EXTENSION),$e(Ce,f.OBJECT_TYPE_DEFINITION,f.OBJECT_TYPE_EXTENSION),$e(Ce,f.INTERFACE_TYPE_DEFINITION,f.INTERFACE_TYPE_EXTENSION),$e(Ce,f.UNION_TYPE_DEFINITION,f.UNION_TYPE_EXTENSION),$e(Ce,f.ENUM_TYPE_DEFINITION,f.ENUM_TYPE_EXTENSION),$e(Ce,f.INPUT_OBJECT_TYPE_DEFINITION,f.INPUT_OBJECT_TYPE_EXTENSION),Ce);Object.freeze([function(e){return{Document:function(t){for(var r=0,i=t.definitions;r<i.length;r++){var a=i[r];Ct(a)||e.reportError(new E("The ".concat(a.kind===f.SCHEMA_DEFINITION||a.kind===f.SCHEMA_EXTENSION?"schema":'"'+a.name.value+'"'," definition is not executable."),a))}return!1}}},function(e){var n=Object.create(null);return{OperationDefinition:function(r){var i=r.name;return i&&(n[i.value]?e.reportError(new E('There can be only one operation named "'.concat(i.value,'".'),[n[i.value],i])):n[i.value]=i),!1},FragmentDefinition:function(){return!1}}},function(e){var n=0;return{Document:function(r){n=r.definitions.filter(function(i){return i.kind===f.OPERATION_DEFINITION}).length},OperationDefinition:function(r){!r.name&&n>1&&e.reportError(new E("This anonymous operation must be the only defined operation.",r))}}},function(e){return{OperationDefinition:function(t){"subscription"===t.operation&&1!==t.selectionSet.selections.length&&e.reportError(new E(t.name?'Subscription "'.concat(t.name.value,'" must select only one top level field.'):"Anonymous Subscription must select only one top level field.",t.selectionSet.selections.slice(1)))}}},ar,function(e){return{InlineFragment:function(t){var r=t.typeCondition;if(r){var i=Le(e.getSchema(),r);if(i&&!He(i)){var a=W(r);e.reportError(new E('Fragment cannot condition on non composite type "'.concat(a,'".'),r))}}},FragmentDefinition:function(t){var r=Le(e.getSchema(),t.typeCondition);if(r&&!He(r)){var i=W(t.typeCondition);e.reportError(new E('Fragment "'.concat(t.name.value,'" cannot condition on non composite type "').concat(i,'".'),t.typeCondition))}}}},function(e){return{VariableDefinition:function(t){var r=Le(e.getSchema(),t.type);if(r&&!it(r)){var i=t.variable.name.value,a=W(t.type);e.reportError(new E('Variable "$'.concat(i,'" cannot be non-input type "').concat(a,'".'),t.type))}}}},function(e){return{Field:function(t){var r=e.getType(),i=t.selectionSet;if(r)if(xe(we(r))){if(i){var a=t.name.value,s=D(r);e.reportError(new E('Field "'.concat(a,'" must not have a selection since type "').concat(s,'" has no subfields.'),i))}}else if(!i){var o=t.name.value,u=D(r);e.reportError(new E('Field "'.concat(o,'" of type "').concat(u,'" must have a selection of subfields. Did you mean "').concat(o,' { ... }"?'),t))}}}},function(e){return{Field:function(t){var r=e.getParentType();if(r&&!e.getFieldDef()){var a=e.getSchema(),s=t.name.value,o=ke("to use an inline fragment on",function(e,n,t){if(!Ge(n))return[];for(var r=new Set,i=Object.create(null),a=0,s=e.getPossibleTypes(n);a<s.length;a++){var o=s[a];if(o.getFields()[t]){r.add(o),i[o.name]=1;for(var u=0,c=o.getInterfaces();u<c.length;u++){var l,p=c[u];!p.getFields()[t]||(r.add(p),i[p.name]=(null!==(l=i[p.name])&&void 0!==l?l:0)+1)}}}return or(r).sort(function(d,v){var m=i[v.name]-i[d.name];return 0!==m?m:H(d)&&e.isSubType(d,v)?-1:H(v)&&e.isSubType(v,d)?1:Ut(d.name,v.name)}).map(function(d){return d.name})}(a,r,s));""===o&&(o=ke(function(e,n){return ee(e)||H(e)?Be(n,Object.keys(e.getFields())):[]}(r,s))),e.reportError(new E('Cannot query field "'.concat(s,'" on type "').concat(r.name,'".')+o,t))}}}},function(e){var n=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(r){var i=r.name.value;return n[i]?e.reportError(new E('There can be only one fragment named "'.concat(i,'".'),[n[i],r.name])):n[i]=r.name,!1}}},function(e){return{FragmentSpread:function(t){var r=t.name.value;e.getFragment(r)||e.reportError(new E('Unknown fragment "'.concat(r,'".'),t.name))}}},function(e){var n=[],t=[];return{OperationDefinition:function(i){return n.push(i),!1},FragmentDefinition:function(i){return t.push(i),!1},Document:{leave:function(){for(var i=Object.create(null),a=0;a<n.length;a++)for(var o=0,u=e.getRecursivelyReferencedFragments(n[a]);o<u.length;o++)i[u[o].name.value]=!0;for(var l=0;l<t.length;l++){var p=t[l],d=p.name.value;!0!==i[d]&&e.reportError(new E('Fragment "'.concat(d,'" is never used.'),p))}}}}},function(e){return{InlineFragment:function(t){var r=e.getType(),i=e.getParentType();if(He(r)&&He(i)&&!cr(e.getSchema(),r,i)){var a=D(i),s=D(r);e.reportError(new E('Fragment cannot be spread here as objects of type "'.concat(a,'" can never be of type "').concat(s,'".'),t))}},FragmentSpread:function(t){var r=t.name.value,i=function(e,n){var t=e.getFragment(n);if(t){var r=Le(e.getSchema(),t.typeCondition);if(He(r))return r}}(e,r),a=e.getParentType();if(i&&a&&!cr(e.getSchema(),i,a)){var s=D(a),o=D(i);e.reportError(new E('Fragment "'.concat(r,'" cannot be spread here as objects of type "').concat(s,'" can never be of type "').concat(o,'".'),t))}}}},function(e){var n=Object.create(null),t=[],r=Object.create(null);return{OperationDefinition:function(){return!1},FragmentDefinition:function(s){return i(s),!1}};function i(a){if(!n[a.name.value]){var s=a.name.value;n[s]=!0;var o=e.getFragmentSpreads(a.selectionSet);if(0!==o.length){r[s]=t.length;for(var u=0;u<o.length;u++){var c=o[u],l=c.name.value,p=r[l];if(t.push(c),void 0===p){var d=e.getFragment(l);d&&i(d)}else{var v=t.slice(p),m=v.slice(0,-1).map(function(T){return'"'+T.name.value+'"'}).join(", ");e.reportError(new E('Cannot spread fragment "'.concat(l,'" within itself')+(""!==m?" via ".concat(m,"."):"."),v))}t.pop()}r[s]=void 0}}}},function(e){var n=Object.create(null);return{OperationDefinition:function(){n=Object.create(null)},VariableDefinition:function(r){var i=r.variable.name.value;n[i]?e.reportError(new E('There can be only one variable named "$'.concat(i,'".'),[n[i],r.variable.name])):n[i]=r.variable.name}}},function(e){var n=Object.create(null);return{OperationDefinition:{enter:function(){n=Object.create(null)},leave:function(r){for(var i=e.getRecursiveVariableUsages(r),a=0;a<i.length;a++){var o=i[a].node,u=o.name.value;!0!==n[u]&&e.reportError(new E(r.name?'Variable "$'.concat(u,'" is not defined by operation "').concat(r.name.value,'".'):'Variable "$'.concat(u,'" is not defined.'),[o,r]))}}},VariableDefinition:function(r){n[r.variable.name.value]=!0}}},function(e){var n=[];return{OperationDefinition:{enter:function(){n=[]},leave:function(r){for(var i=Object.create(null),a=e.getRecursiveVariableUsages(r),s=0;s<a.length;s++)i[a[s].node.name.value]=!0;for(var c=0,l=n;c<l.length;c++){var p=l[c],d=p.variable.name.value;!0!==i[d]&&e.reportError(new E(r.name?'Variable "$'.concat(d,'" is never used in operation "').concat(r.name.value,'".'):'Variable "$'.concat(d,'" is never used.'),p))}}},VariableDefinition:function(r){n.push(r)}}},vr,hr,function(e){return yr(yr({},Tr(e)),{},{Argument:function(t){var r=e.getArgument(),i=e.getFieldDef(),a=e.getParentType();if(!r&&i&&a){var s=t.name.value,u=Be(s,i.args.map(function(c){return c.name}));e.reportError(new E('Unknown argument "'.concat(s,'" on field "').concat(a.name,".").concat(i.name,'".')+ke(u),t))}}})},Er,function(e){return{ListValue:function(t){if(!ae(function(e){if(e)return B(e)?e.ofType:e}(e.getParentInputType())))return Ye(e,t),!1},ObjectValue:function(t){var r=we(e.getInputType());if(!ie(r))return Ye(e,t),!1;for(var i=Se(t.fields,function(l){return l.name.value}),a=0,s=Oe(r.getFields());a<s.length;a++){var o=s[a];if(!i[o.name]&&Ht(o)){var c=D(o.type);e.reportError(new E('Field "'.concat(r.name,".").concat(o.name,'" of required type "').concat(c,'" was not provided.'),t))}}},ObjectField:function(t){var r=we(e.getParentInputType());if(!e.getInputType()&&ie(r)){var a=Be(t.name.value,Object.keys(r.getFields()));e.reportError(new E('Field "'.concat(t.name.value,'" is not defined by type "').concat(r.name,'".')+ke(a),t))}},NullValue:function(t){var r=e.getInputType();B(r)&&e.reportError(new E('Expected value of type "'.concat(D(r),'", found ').concat(W(t),"."),t))},EnumValue:function(t){return Ye(e,t)},IntValue:function(t){return Ye(e,t)},FloatValue:function(t){return Ye(e,t)},StringValue:function(t){return Ye(e,t)},BooleanValue:function(t){return Ye(e,t)}}},function(e){return Nr(Nr({},Ir(e)),{},{Field:{leave:function(t){var r,i=e.getFieldDef();if(!i)return!1;for(var s=Se(null!==(r=t.arguments)&&void 0!==r?r:[],function(d){return d.name.value}),o=0,u=i.args;o<u.length;o++){var c=u[o];if(!s[c.name]&&zt(c)){var p=D(c.type);e.reportError(new E('Field "'.concat(i.name,'" argument "').concat(c.name,'" of type "').concat(p,'" is required, but it was not provided.'),t))}}}}})},function(e){var n=Object.create(null);return{OperationDefinition:{enter:function(){n=Object.create(null)},leave:function(r){for(var i=e.getRecursiveVariableUsages(r),a=0;a<i.length;a++){var s=i[a],o=s.node,u=s.type,c=s.defaultValue,l=o.name.value,p=n[l];if(p&&u){var d=e.getSchema(),v=Le(d,p.type);if(v&&!Wa(d,v,p.defaultValue,u,c)){var m=D(v),T=D(u);e.reportError(new E('Variable "$'.concat(l,'" of type "').concat(m,'" used in position expecting type "').concat(T,'".'),[p,o]))}}}}},VariableDefinition:function(r){n[r.variable.name.value]=r}}},function(e){var n=new ss,t=new Map;return{SelectionSet:function(i){for(var a=function(e,n,t,r,i){var a=[],s=Mn(e,n,r,i),o=s[0],u=s[1];if(function(e,n,t,r,i){for(var a=0,s=Xe(i);a<s.length;a++){var o=s[a],u=o[0],c=o[1];if(c.length>1)for(var l=0;l<c.length;l++)for(var p=l+1;p<c.length;p++){var d=br(e,t,r,!1,u,c[l],c[p]);d&&n.push(d)}}}(e,a,n,t,o),0!==u.length)for(var c=0;c<u.length;c++){xn(e,a,n,t,!1,o,u[c]);for(var l=c+1;l<u.length;l++)Rn(e,a,n,t,!1,u[c],u[l])}return a}(e,t,n,e.getParentType(),i),s=0;s<a.length;s++){var o=a[s],u=o[0],c=u[0],p=o[1],d=o[2],v=Or(u[1]);e.reportError(new E('Fields "'.concat(c,'" conflict because ').concat(v,". Use different aliases on the fields to fetch both if this was intentional."),p.concat(d)))}}}},Dr]);var Ts=Object.freeze([function(e){var n,t,r,i=e.getSchema(),a=null!==(n=null!==(t=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==t?t:null==i?void 0:i.getMutationType())&&void 0!==n?n:null==i?void 0:i.getSubscriptionType(),s=0;return{SchemaDefinition:function(u){a?e.reportError(new E("Cannot define a new schema within a schema extension.",u)):(s>0&&e.reportError(new E("Must provide only one schema definition.",u)),++s)}}},function(e){var n=e.getSchema(),t=Object.create(null),r=n?{query:n.getQueryType(),mutation:n.getMutationType(),subscription:n.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(a){for(var s,o=null!==(s=a.operationTypes)&&void 0!==s?s:[],u=0;u<o.length;u++){var c=o[u],l=c.operation,p=t[l];r[l]?e.reportError(new E("Type for ".concat(l," already defined in the schema. It cannot be redefined."),c)):p?e.reportError(new E("There can be only one ".concat(l," type in schema."),[p,c])):t[l]=c}return!1}},function(e){var n=Object.create(null),t=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(i){var a=i.name.value;if(null==t||!t.getType(a))return n[a]?e.reportError(new E('There can be only one type named "'.concat(a,'".'),[n[a],i.name])):n[a]=i.name,!1;e.reportError(new E('Type "'.concat(a,'" already exists in the schema. It cannot also be defined in this type definition.'),i.name))}},function(e){var n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(a){var s,o=a.name.value;r[o]||(r[o]=Object.create(null));for(var u=null!==(s=a.values)&&void 0!==s?s:[],c=r[o],l=0;l<u.length;l++){var p=u[l],d=p.name.value,v=t[o];pe(v)&&v.getValue(d)?e.reportError(new E('Enum value "'.concat(o,".").concat(d,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[d]?e.reportError(new E('Enum value "'.concat(o,".").concat(d,'" can only be defined once.'),[c[d],p.name])):c[d]=p.name}return!1}},function(e){var n=e.getSchema(),t=n?n.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(a){var s,o=a.name.value;r[o]||(r[o]=Object.create(null));for(var u=null!==(s=a.fields)&&void 0!==s?s:[],c=r[o],l=0;l<u.length;l++){var p=u[l],d=p.name.value;ps(t[o],d)?e.reportError(new E('Field "'.concat(o,".").concat(d,'" already exists in the schema. It cannot also be defined in this type extension.'),p.name)):c[d]?e.reportError(new E('Field "'.concat(o,".").concat(d,'" can only be defined once.'),[c[d],p.name])):c[d]=p.name}return!1}},function(e){var n=Object.create(null),t=e.getSchema();return{DirectiveDefinition:function(i){var a=i.name.value;if(null==t||!t.getDirective(a))return n[a]?e.reportError(new E('There can be only one directive named "@'.concat(a,'".'),[n[a],i.name])):n[a]=i.name,!1;e.reportError(new E('Directive "@'.concat(a,'" already exists in the schema. It cannot be redefined.'),i.name))}}},ar,vr,hr,function(e){for(var n=e.getSchema(),t=Object.create(null),r=0,i=e.getDocument().definitions;r<i.length;r++){var a=i[r];sn(a)&&(t[a.name.value]=a)}return{ScalarTypeExtension:s,ObjectTypeExtension:s,InterfaceTypeExtension:s,UnionTypeExtension:s,EnumTypeExtension:s,InputObjectTypeExtension:s};function s(o){var p,u=o.name.value,c=t[u],l=null==n?void 0:n.getType(u);if(c?p=hs[c.kind]:l&&(p=function(e){return Ae(e)?f.SCALAR_TYPE_EXTENSION:ee(e)?f.OBJECT_TYPE_EXTENSION:H(e)?f.INTERFACE_TYPE_EXTENSION:fe(e)?f.UNION_TYPE_EXTENSION:pe(e)?f.ENUM_TYPE_EXTENSION:ie(e)?f.INPUT_OBJECT_TYPE_EXTENSION:void le(0,"Unexpected type: "+D(e))}(l)),p){if(p!==o.kind){var d=function(e){switch(e){case f.SCALAR_TYPE_EXTENSION:return"scalar";case f.OBJECT_TYPE_EXTENSION:return"object";case f.INTERFACE_TYPE_EXTENSION:return"interface";case f.UNION_TYPE_EXTENSION:return"union";case f.ENUM_TYPE_EXTENSION:return"enum";case f.INPUT_OBJECT_TYPE_EXTENSION:return"input object"}le(0,"Unexpected kind: "+D(e))}(o.kind);e.reportError(new E("Cannot extend non-".concat(d,' type "').concat(u,'".'),c?[c,o]:o))}}else{var v=Object.keys(t);n&&(v=v.concat(Object.keys(n.getTypeMap())));var m=Be(u,v);e.reportError(new E('Cannot extend type "'.concat(u,'" because it is not defined.')+ke(m),o.name))}}},Tr,Er,Dr,Ir]),Ns=function(e){function n(r,i,a){var s;return(s=e.call(this,r,a)||this)._schema=i,s}return function(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n}(n,e),n.prototype.getSchema=function(){return this._schema},n}(function(){function e(t,r){this._ast=t,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=r}var n=e.prototype;return n.reportError=function(r){this._onError(r)},n.getDocument=function(){return this._ast},n.getFragment=function(r){var i=this._fragments;return i||(this._fragments=i=this.getDocument().definitions.reduce(function(a,s){return s.kind===f.FRAGMENT_DEFINITION&&(a[s.name.value]=s),a},Object.create(null))),i[r]},n.getFragmentSpreads=function(r){var i=this._fragmentSpreads.get(r);if(!i){i=[];for(var a=[r];0!==a.length;)for(var o=0,u=a.pop().selections;o<u.length;o++){var c=u[o];c.kind===f.FRAGMENT_SPREAD?i.push(c):c.selectionSet&&a.push(c.selectionSet)}this._fragmentSpreads.set(r,i)}return i},n.getRecursivelyReferencedFragments=function(r){var i=this._recursivelyReferencedFragments.get(r);if(!i){i=[];for(var a=Object.create(null),s=[r.selectionSet];0!==s.length;)for(var o=s.pop(),u=0,c=this.getFragmentSpreads(o);u<c.length;u++){var p=c[u].name.value;if(!0!==a[p]){a[p]=!0;var d=this.getFragment(p);d&&(i.push(d),s.push(d.selectionSet))}}this._recursivelyReferencedFragments.set(r,i)}return i},e}());function wr(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var _r=function(){function e(t){var r;this.__validationErrors=!0===t.assumeValid?[]:void 0,Ue(t)||R(0,"Must provide configuration object."),!t.types||Array.isArray(t.types)||R(0,'"types" must be Array if provided but got: '.concat(D(t.types),".")),!t.directives||Array.isArray(t.directives)||R(0,'"directives" must be Array if provided but got: '+"".concat(D(t.directives),".")),this.description=t.description,this.extensions=t.extensions&&ue(t.extensions),this.astNode=t.astNode,this.extensionASTNodes=t.extensionASTNodes,this._queryType=t.query,this._mutationType=t.mutation,this._subscriptionType=t.subscription,this._directives=null!==(r=t.directives)&&void 0!==r?r:Me;var i=new Set(t.types);if(null!=t.types)for(var a=0,s=t.types;a<s.length;a++){var o=s[a];i.delete(o),ge(o,i)}null!=this._queryType&&ge(this._queryType,i),null!=this._mutationType&&ge(this._mutationType,i),null!=this._subscriptionType&&ge(this._subscriptionType,i);for(var u=0,c=this._directives;u<c.length;u++){var l=c[u];if(fr(l))for(var p=0,d=l.args;p<d.length;p++)ge(d[p].type,i)}ge(ut,i),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null);for(var m=0,T=or(i);m<T.length;m++){var g=T[m];if(null!=g){var N=g.name;if(N||R(0,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[N])throw new Error('Schema must contain uniquely named types but contains multiple types named "'.concat(N,'".'));if(this._typeMap[N]=g,H(g))for(var _=0,x=g.getInterfaces();_<x.length;_++){var P=x[_];if(H(P)){var G=this._implementationsMap[P.name];void 0===G&&(G=this._implementationsMap[P.name]={objects:[],interfaces:[]}),G.interfaces.push(g)}}else if(ee(g))for(var K=0,$=g.getInterfaces();K<$.length;K++){var te=$[K];if(H(te)){var Pe=this._implementationsMap[te.name];void 0===Pe&&(Pe=this._implementationsMap[te.name]={objects:[],interfaces:[]}),Pe.objects.push(g)}}}}}var n=e.prototype;return n.getQueryType=function(){return this._queryType},n.getMutationType=function(){return this._mutationType},n.getSubscriptionType=function(){return this._subscriptionType},n.getTypeMap=function(){return this._typeMap},n.getType=function(r){return this.getTypeMap()[r]},n.getPossibleTypes=function(r){return fe(r)?r.getTypes():this.getImplementations(r).objects},n.getImplementations=function(r){var i=this._implementationsMap[r.name];return null!=i?i:{objects:[],interfaces:[]}},n.isPossibleType=function(r,i){return this.isSubType(r,i)},n.isSubType=function(r,i){var a=this._subTypeMap[r.name];if(void 0===a){if(a=Object.create(null),fe(r))for(var s=0,o=r.getTypes();s<o.length;s++)a[o[s].name]=!0;else{for(var c=this.getImplementations(r),l=0,p=c.objects;l<p.length;l++)a[p[l].name]=!0;for(var v=0,m=c.interfaces;v<m.length;v++)a[m[v].name]=!0}this._subTypeMap[r.name]=a}return void 0!==a[i.name]},n.getDirectives=function(){return this._directives},n.getDirective=function(r){return lt(this.getDirectives(),function(i){return i.name===r})},n.toConfig=function(){var r;return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Oe(this.getTypeMap()),directives:this.getDirectives().slice(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:null!==(r=this.extensionASTNodes)&&void 0!==r?r:[],assumeValid:void 0!==this.__validationErrors}},function(e,n,t){n&&wr(e.prototype,n)}(e,[{key:ce,get:function(){return"GraphQLSchema"}}]),e}();function ge(e,n){var t=we(e);if(!n.has(t))if(n.add(t),fe(t))for(var r=0,i=t.getTypes();r<i.length;r++)ge(i[r],n);else if(ee(t)||H(t)){for(var s=0,o=t.getInterfaces();s<o.length;s++)ge(o[s],n);for(var c=0,l=Oe(t.getFields());c<l.length;c++){var p=l[c];ge(p.type,n);for(var d=0,v=p.args;d<v.length;d++)ge(v[d].type,n)}}else if(ie(t))for(var T=0,g=Oe(t.getFields());T<g.length;T++)ge(g[T].type,n);return n}function Qe(e,n,t){if(e){if(e.kind===f.VARIABLE){var r=e.name.value;if(null==t||void 0===t[r])return;var i=t[r];return null===i&&B(n)?void 0:i}if(B(n))return e.kind===f.NULL?void 0:Qe(e,n.ofType,t);if(e.kind===f.NULL)return null;if(ae(n)){var a=n.ofType;if(e.kind===f.LIST){for(var s=[],o=0,u=e.values;o<u.length;o++){var c=u[o];if(Lr(c,t)){if(B(a))return;s.push(null)}else{var l=Qe(c,a,t);if(void 0===l)return;s.push(l)}}return s}var p=Qe(e,a,t);return void 0===p?void 0:[p]}if(ie(n)){if(e.kind!==f.OBJECT)return;for(var d=Object.create(null),v=Se(e.fields,function(P){return P.name.value}),m=0,T=Oe(n.getFields());m<T.length;m++){var g=T[m],N=v[g.name];if(N&&!Lr(N.value,t)){var _=Qe(N.value,g.type,t);if(void 0===_)return;d[g.name]=_}else if(void 0!==g.defaultValue)d[g.name]=g.defaultValue;else if(B(g.type))return}return d}if(xe(n)){var x;try{x=n.parseLiteral(e,t)}catch(P){return}return void 0===x?void 0:x}le(0,"Unexpected input type: "+D(n))}}function Lr(e,n){return e.kind===f.VARIABLE&&(null==n||void 0===n[e.name.value])}function Fr(e,n,t){var r=n.directives&&lt(n.directives,function(i){return i.name.value===e.name});if(r)return function(e,n,t){for(var r,i={},s=Se(null!==(r=n.arguments)&&void 0!==r?r:[],function(N){return N.name.value}),o=0,u=e.args;o<u.length;o++){var c=u[o],l=c.name,p=c.type,d=s[l];if(d){var v=d.value,m=v.kind===f.NULL;if(v.kind===f.VARIABLE){var T=v.name.value;if(null==t||!kr(t,T)){if(void 0!==c.defaultValue)i[l]=c.defaultValue;else if(B(p))throw new E('Argument "'.concat(l,'" of required type "').concat(D(p),'" ')+'was provided the variable "$'.concat(T,'" which was not provided a runtime value.'),v);continue}m=null==t[T]}if(m&&B(p))throw new E('Argument "'.concat(l,'" of non-null type "').concat(D(p),'" ')+"must not be null.",v);var g=Qe(v,p,t);if(void 0===g)throw new E('Argument "'.concat(l,'" has invalid value ').concat(W(v),"."),v);i[l]=g}else if(void 0!==c.defaultValue)i[l]=c.defaultValue;else if(B(p))throw new E('Argument "'.concat(l,'" of required type "').concat(D(p),'" ')+"was not provided.",n)}return i}(e,r,t)}function kr(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function xr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),t.push.apply(t,r)}return t}function C(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?xr(Object(t),!0).forEach(function(r){As(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):xr(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}function As(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Mr=Se(ot.concat(ct),function(e){return e.name});function Cn(e){var n=Fr(pr,e);return null==n?void 0:n.reason}function Cr(e){var n=Fr(dr,e);return null==n?void 0:n.url}function en(e,n){if(e.description)return e.description.value;if(!0===(null==n?void 0:n.commentDescriptions)){var t=function(e){var n=e.loc;if(n){for(var t=[],r=n.startToken.prev;null!=r&&r.kind===h.COMMENT&&r.next&&r.prev&&r.line+1===r.next.line&&r.line!==r.prev.line;){var i=String(r.value);t.push(i),r=r.prev}return t.length>0?t.reverse().join("\n"):void 0}}(e);if(void 0!==t)return kt("\n"+t)}}function _s(e,n){null!=e&&e.kind===f.DOCUMENT||R(0,"Must provide valid Document AST."),!0!==(null==n?void 0:n.assumeValid)&&!0!==(null==n?void 0:n.assumeValidSDL)&&function(e){var n=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ts,r=[],i=new Ns(e,n,function(s){r.push(s)}),a=t.map(function(s){return s(i)});return Mt(e,Pi(a)),r}(e);if(0!==n.length)throw new Error(n.map(function(t){return t.message}).join("\n\n"))}(e);var r=function(e,n,t){for(var r,i,a,s,l,o=[],u=Object.create(null),c=[],p=[],d=0,v=n.definitions;d<v.length;d++){var m=v[d];if(m.kind===f.SCHEMA_DEFINITION)l=m;else if(m.kind===f.SCHEMA_EXTENSION)p.push(m);else if(sn(m))o.push(m);else if($n(m)){var T=m.name.value,g=u[T];u[T]=g?g.concat([m]):[m]}else m.kind===f.DIRECTIVE_DEFINITION&&c.push(m)}if(0===Object.keys(u).length&&0===o.length&&0===c.length&&0===p.length&&null==l)return e;for(var N=Object.create(null),_=0,x=e.types;_<x.length;_++){var P=x[_];N[P.name]=function(e){return ct.some(function(n){return e.name===n.name})}(y=P)||function(e){return ot.some(function(n){return e.name===n.name})}(y)?y:Ae(y)?function(y){for(var S,I=y.toConfig(),b=null!==(S=u[I.name])&&void 0!==S?S:[],M=I.specifiedByUrl,V=0;V<b.length;V++){var U;M=null!==(U=Cr(b[V]))&&void 0!==U?U:M}return new _e(C(C({},I),{},{specifiedByUrl:M,extensionASTNodes:I.extensionASTNodes.concat(b)}))}(y):ee(y)?function(y){var S,I=y.toConfig(),b=null!==(S=u[I.name])&&void 0!==S?S:[];return new de(C(C({},I),{},{interfaces:function(){return[].concat(y.getInterfaces().map(Je),Un(b))},fields:function(){return C(C({},De(I.fields,Kr)),Vn(b))},extensionASTNodes:I.extensionASTNodes.concat(b)}))}(y):H(y)?function(y){var S,I=y.toConfig(),b=null!==(S=u[I.name])&&void 0!==S?S:[];return new An(C(C({},I),{},{interfaces:function(){return[].concat(y.getInterfaces().map(Je),Un(b))},fields:function(){return C(C({},De(I.fields,Kr)),Vn(b))},extensionASTNodes:I.extensionASTNodes.concat(b)}))}(y):fe(y)?function(y){var S,I=y.toConfig(),b=null!==(S=u[I.name])&&void 0!==S?S:[];return new wn(C(C({},I),{},{types:function(){return[].concat(y.getTypes().map(Je),zr(b))},extensionASTNodes:I.extensionASTNodes.concat(b)}))}(y):pe(y)?function(y){var S,I=y.toConfig(),b=null!==(S=u[y.name])&&void 0!==S?S:[];return new Ke(C(C({},I),{},{values:C(C({},I.values),Xr(b)),extensionASTNodes:I.extensionASTNodes.concat(b)}))}(y):ie(y)?function(y){var S,I=y.toConfig(),b=null!==(S=u[I.name])&&void 0!==S?S:[];return new Ln(C(C({},I),{},{fields:function(){return C(C({},De(I.fields,function(V){return C(C({},V),{},{type:Fe(V.type)})})),qr(b))},extensionASTNodes:I.extensionASTNodes.concat(b)}))}(y):void le(0,"Unexpected type: "+D(y))}for(var y,G=0;G<o.length;G++){var K,$=o[G],te=$.name.value;N[te]=null!==(K=Mr[te])&&void 0!==K?K:Zs($)}var Pe=C(C({query:e.query&&Je(e.query),mutation:e.mutation&&Je(e.mutation),subscription:e.subscription&&Je(e.subscription)},l&&Qr([l])),Qr(p));return C(C({description:null===(r=l)||void 0===r||null===(i=r.description)||void 0===i?void 0:i.value},Pe),{},{types:Oe(N),directives:[].concat(e.directives.map(function(y){var S=y.toConfig();return new Re(C(C({},S),{},{args:De(S.args,Yr)}))}),c.map(function(y){var S=y.locations.map(function(I){return I.value});return new Re({name:y.name.value,description:en(y,t),locations:S,isRepeatable:y.repeatable,args:Jr(y.arguments),astNode:y})})),extensions:void 0,astNode:null!==(a=l)&&void 0!==a?a:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(p),assumeValid:null!==(s=null==t?void 0:t.assumeValid)&&void 0!==s&&s});function Fe(y){return ae(y)?new Z(Fe(y.ofType)):B(y)?new F(Fe(y.ofType)):Je(y)}function Je(y){return N[y.name]}function Kr(y){return C(C({},y),{},{type:Fe(y.type),args:De(y.args,Yr)})}function Yr(y){return C(C({},y),{},{type:Fe(y.type)})}function Qr(y){for(var S={},I=0;I<y.length;I++)for(var b,V=null!==(b=y[I].operationTypes)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U];S[j.operation]=Pn(j.type)}return S}function Pn(y){var S,I=y.name.value,b=null!==(S=Mr[I])&&void 0!==S?S:N[I];if(void 0===b)throw new Error('Unknown type: "'.concat(I,'".'));return b}function ln(y){return y.kind===f.LIST_TYPE?new Z(ln(y.type)):y.kind===f.NON_NULL_TYPE?new F(ln(y.type)):Pn(y)}function Vn(y){for(var S=Object.create(null),I=0;I<y.length;I++)for(var b,V=null!==(b=y[I].fields)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U];S[j.name.value]={type:ln(j.type),description:en(j,t),args:Jr(j.arguments),deprecationReason:Cn(j),astNode:j}}return S}function Jr(y){for(var S=null!=y?y:[],I=Object.create(null),b=0;b<S.length;b++){var M=S[b],V=ln(M.type);I[M.name.value]={type:V,description:en(M,t),defaultValue:Qe(M.defaultValue,V),deprecationReason:Cn(M),astNode:M}}return I}function qr(y){for(var S=Object.create(null),I=0;I<y.length;I++)for(var b,V=null!==(b=y[I].fields)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U],fn=ln(j.type);S[j.name.value]={type:fn,description:en(j,t),defaultValue:Qe(j.defaultValue,fn),deprecationReason:Cn(j),astNode:j}}return S}function Xr(y){for(var S=Object.create(null),I=0;I<y.length;I++)for(var b,V=null!==(b=y[I].values)&&void 0!==b?b:[],U=0;U<V.length;U++){var j=V[U];S[j.name.value]={description:en(j,t),deprecationReason:Cn(j),astNode:j}}return S}function Un(y){for(var S=[],I=0;I<y.length;I++)for(var b,V=null!==(b=y[I].interfaces)&&void 0!==b?b:[],U=0;U<V.length;U++)S.push(Pn(V[U]));return S}function zr(y){for(var S=[],I=0;I<y.length;I++)for(var b,V=null!==(b=y[I].types)&&void 0!==b?b:[],U=0;U<V.length;U++)S.push(Pn(V[U]));return S}function Zs(y){var S,I=y.name.value,b=en(y,t),M=null!==(S=u[I])&&void 0!==S?S:[];switch(y.kind){case f.OBJECT_TYPE_DEFINITION:var V=M,U=[y].concat(V);return new de({name:I,description:b,interfaces:function(){return Un(U)},fields:function(){return Vn(U)},astNode:y,extensionASTNodes:V});case f.INTERFACE_TYPE_DEFINITION:var j=M,fn=[y].concat(j);return new An({name:I,description:b,interfaces:function(){return Un(fn)},fields:function(){return Vn(fn)},astNode:y,extensionASTNodes:j});case f.ENUM_TYPE_DEFINITION:var Hr=M,$s=[y].concat(Hr);return new Ke({name:I,description:b,values:Xr($s),astNode:y,extensionASTNodes:Hr});case f.UNION_TYPE_DEFINITION:var Wr=M,eo=[y].concat(Wr);return new wn({name:I,description:b,types:function(){return zr(eo)},astNode:y,extensionASTNodes:Wr});case f.SCALAR_TYPE_DEFINITION:var no=M;return new _e({name:I,description:b,specifiedByUrl:Cr(y),astNode:y,extensionASTNodes:no});case f.INPUT_OBJECT_TYPE_DEFINITION:var Zr=M,to=[y].concat(Zr);return new Ln({name:I,description:b,fields:function(){return qr(to)},astNode:y,extensionASTNodes:Zr})}le(0,"Unexpected type definition node: "+D(y))}}({description:void 0,types:[],directives:[],extensions:void 0,extensionASTNodes:[],assumeValid:!1},e,n);if(null==r.astNode)for(var i=0,a=r.types;i<a.length;i++){var s=a[i];switch(s.name){case"Query":r.query=s;break;case"Mutation":r.mutation=s;break;case"Subscription":r.subscription=s}}for(var o=r.directives,u=function(p){var d=Me[p];o.every(function(v){return v.name!==d.name})&&o.push(d)},c=0;c<Me.length;c++)u(c);return new _r(r)}const Cs=function(){var e=Yn(function*(n,t=2){const r=yield w.e(379).then(w.t.bind(w,48379,23)),i=yield w.e(108).then(w.t.bind(w,52108,23));return r.format(n,{parser:"graphql",plugins:[i],tabWidth:t})});return function(t){return e.apply(this,arguments)}}(),Ps=function(){var e=Yn(function*(n,t,r,{maxDepth:i=2,tabSize:a=2}={}){const s=n.getType(r);if(!(s instanceof de))return{generated:"",metas:[]};const o=s.getFields()[t];if(!o)return{generated:"",metas:[]};const u=Vs(n,s),{node:c,metas:l}=jr(o,{maxDepth:i,currentDepth:0}),p={kind:f.SELECTION_SET,selections:[c]},d={kind:f.DOCUMENT,definitions:[u?Us(u,p):js(s,p)]};return{generated:yield Cs(W(d),a),metas:l}});return function(t,r,i){return e.apply(this,arguments)}}(),Vs=(e,n)=>new Map([[e.getQueryType(),"query"],[e.getMutationType(),"mutation"],[e.getSubscriptionType(),"subscription"]]).get(n),Us=(e,n)=>({kind:f.OPERATION_DEFINITION,operation:e,name:void 0,variableDefinitions:[],directives:[],selectionSet:n}),js=(e,n)=>({kind:f.FRAGMENT_DEFINITION,name:{kind:f.NAME,value:"____"},variableDefinitions:[],directives:[],typeCondition:{kind:f.NAMED_TYPE,name:{kind:f.NAME,value:e.name}},selectionSet:n}),jr=(e,{maxDepth:n=1,currentDepth:t=0}={})=>{const r=e.args.map(o=>({kind:f.ARGUMENT,name:{kind:f.NAME,value:o.name},value:Br(o.type,o.defaultValue)})),{selectionSet:i,metas:a}=((e,{maxDepth:n=1,currentDepth:t=0}={})=>{let r=[];const i={kind:f.SELECTION_SET,selections:[]};if(!e)return{selectionSet:i,metas:r};const a=we(e);if(!(a instanceof de))return{selectionSet:i,metas:r};if(xe(e))return{selectionSet:i,metas:r};if(t>=n)return{selectionSet:i,metas:r};const s=a&&a.getFields();return i.selections=Object.keys(s).map(o=>{const u=s[o],{node:c,metas:l}=jr(u,{maxDepth:n,currentDepth:t});return r=[...r,...l],c}),{selectionSet:i,metas:r}})(e.type,{maxDepth:n,currentDepth:t+1});return{node:{kind:f.FIELD,alias:void 0,name:{kind:f.NAME,value:e.name},arguments:r,directives:[],selectionSet:i},metas:[{hasArgs:!!r.length},...a]}},Br=(e,n,{currentDepth:t=0,maxDepth:r=2}={})=>{var i;return null!==(i=Gr(e,n,{currentDepth:t,maxDepth:r}))&&void 0!==i?i:{kind:f.STRING,value:"_____"}},Gr=(e,n,{currentDepth:t=0,maxDepth:r=2}={})=>{const i=be(n,e);if(i)return i;if(B(e)&&(e=e.ofType),ae(e))return{kind:f.LIST,values:[Br(e.ofType,void 0,{currentDepth:t+1,maxDepth:r})]};if(ee(e)||ie(e)){if(t>=r)return;const s=[];for(const o of Object.values(e.getFields()))if(Ht(o)){const u=Gr(o.type,void 0,{currentDepth:t+1,maxDepth:r});u&&s.push({kind:f.OBJECT_FIELD,name:{kind:f.NAME,value:o.name},value:u})}return{kind:f.OBJECT,fields:s}}if(e instanceof Ke)return be(e.getValues()[0].name,e);switch((e=>we(e).toString())(e)){case"String":return be("string",q);case"Boolean":return be(!0,ve);case"Int":return be(1,Wt)}};jn(class{constructor(n){this.searchIndex=[],n&&this.updateSchema(n)}updateSchema(n){this.schema=function(e,n){return _s(function(e,n){return new Hn(e,n).parseDocument()}(e,{noLocation:null==n?void 0:n.noLocation,allowLegacySDLEmptyFields:null==n?void 0:n.allowLegacySDLEmptyFields,allowLegacySDLImplementsInterfaces:null==n?void 0:n.allowLegacySDLImplementsInterfaces,experimentalFragmentVariables:null==n?void 0:n.experimentalFragmentVariables}),{commentDescriptions:null==n?void 0:n.commentDescriptions,assumeValidSDL:null==n?void 0:n.assumeValidSDL,assumeValid:null==n?void 0:n.assumeValid})}(n)}generateSearchIndex(){if(!this.schema)return[];let n=[];var e;(e=this.schema,[e.getQueryType(),e.getMutationType(),e.getSubscriptionType()].filter(Boolean)).forEach(i=>{n=[...n,...this.getTypeIndices(i,!0,n)]});const r=this.schema.getTypeMap();return Object.keys(r).forEach(i=>{/^__/.test(i)||(n=[...n,...this.getTypeIndices(r[i],!1,n)])}),this.searchIndex=n,n}getFieldsIndices(n,t,r,i){let a=[];return Object.keys(n).forEach(s=>{const o=n[s],u={search:o.name,name:o.name,description:o.description?o.description:"",args:o.args?o.args.map(c=>({name:c.name,description:c.description})):[],cat:"field",type:t.name,isQuery:r,highlight:"field"};a=[...a,u],o.args&&o.args.length&&o.args.forEach(c=>{a=[...a,{...u,search:c.name,highlight:"argument"}]}),o.type&&(a=[...a,...this.getTypeIndices(o.type,!1,[...i,...a]).filter(c=>!!c)])}),a}getTypeIndices(n,t,r){let i=null;if(!n.name)return[];if(r.some(s=>s.name===n.name&&"type"===s.cat))return[];n.getFields&&(i=n.getFields());const a=[{search:n.name,name:n.name,cat:"type",description:n.description?n.description:"",isRoot:t,highlight:"type"}];return i?[...a,...this.getFieldsIndices(i,n,t,[...r,...a]).filter(s=>!!s)]:a}searchDocs(n){return this.searchIndex.length?new ii.Z(this.searchIndex,{keys:["search"],threshold:.4}).search(n).map(r=>r.item):[]}generateQuery(n,t,r){let i="",a=!1;if(!this.schema)return;switch(t){case this.schema.getQueryType()&&this.schema.getQueryType().name:i+="query";break;case this.schema.getMutationType()&&this.schema.getMutationType().name:i+="mutation";break;case this.schema.getSubscriptionType()&&this.schema.getSubscriptionType().name:i+="subscription";break;default:i+=`fragment _____ on ${t}`,a=!0}const s=this.generateFieldData(n,t,[],1,r);if(!s)return;i+=`{\n${s.query}\n}`;const o={...s.meta};return o.hasArgs=a||o.hasArgs,{query:i,meta:o}}generateQueryV2(n,t,r){var i=this;return Yn(function*(){if(!i.schema)return;const a=yield Ps(i.schema,n,t,{maxDepth:r.addQueryDepthLimit,tabSize:r.tabSize});return{query:a.generated,meta:a.metas.find(s=>s.hasArgs)||{}}})()}cleanName(n){return n.replace(/[\[\]!]/g,"")}generateFieldData(n,t,r,i,a={}){if(!(n&&t&&r&&this.schema))return{query:"",meta:{}};const s=a.tabSize||2,o=this.schema.getType(t),u=o&&o.getFields()[n];if(!u)return{query:"",meta:{}};const c={hasArgs:!1};let l=" ".repeat(i*s)+u.name;u.args&&u.args.length&&(c.hasArgs=!0,l+=`(${u.args.reduce((g,N)=>g+", "+N.name+": ______","").substring(2)})`);const p=this.cleanName(u.type.inspect()),d=this.schema.getType(p);if(r.filter(T=>T.type===p).length)return{query:"",meta:{}};if(i>=(a.addQueryDepthLimit||0))return{query:"",meta:{}};const v=d&&d.getFields&&d.getFields();let m="";return v&&(m=Object.keys(v).reduce((T,g)=>{if(r.filter(x=>x.name===g&&x.type===p).length)return"";const N=this.generateFieldData(g,p,[...r,{name:n,type:p}],i+1,a);if(!N)return T;const _=N.query;return c.hasArgs=c.hasArgs||N.meta.hasArgs||!1,_?T+"\n"+_:T},"").substring(1)),m&&(l+=`{\n${m}\n`,l+=" ".repeat(i*s)+"}"),{query:l,meta:c}}})}},ht={};function k(L){var Y=ht[L];if(void 0!==Y)return Y.exports;var w=ht[L]={exports:{}};return vt[L].call(w.exports,w,w.exports,k),w.exports}k.m=vt,k.x=()=>{var L=k.O(void 0,[729],()=>k(89267));return k.O(L)},L=[],k.O=(Y,w,se,X)=>{if(!w){var ne=1/0;for(z=0;z<L.length;z++){for(var[w,se,X]=L[z],he=!0,Ne=0;Ne<w.length;Ne++)(!1&X||ne>=X)&&Object.keys(k.O).every(Bn=>k.O[Bn](w[Ne]))?w.splice(Ne--,1):(he=!1,X<ne&&(ne=X));if(he){L.splice(z--,1);var dn=se();void 0!==dn&&(Y=dn)}}return Y}X=X||0;for(var z=L.length;z>0&&L[z-1][2]>X;z--)L[z]=L[z-1];L[z]=[w,se,X]},(()=>{var Y,L=Object.getPrototypeOf?w=>Object.getPrototypeOf(w):w=>w.__proto__;k.t=function(w,se){if(1&se&&(w=this(w)),8&se||"object"==typeof w&&w&&(4&se&&w.__esModule||16&se&&"function"==typeof w.then))return w;var X=Object.create(null);k.r(X);var z={};Y=Y||[null,L({}),L([]),L(L)];for(var ne=2&se&&w;"object"==typeof ne&&!~Y.indexOf(ne);ne=L(ne))Object.getOwnPropertyNames(ne).forEach(he=>z[he]=()=>w[he]);return z.default=()=>w,k.d(X,z),X}})(),k.d=(L,Y)=>{for(var w in Y)k.o(Y,w)&&!k.o(L,w)&&Object.defineProperty(L,w,{enumerable:!0,get:Y[w]})},k.f={},k.e=L=>Promise.all(Object.keys(k.f).reduce((Y,w)=>(k.f[w](L,Y),Y),[])),k.u=L=>L+".js",k.miniCssF=L=>{},k.o=(L,Y)=>Object.prototype.hasOwnProperty.call(L,Y),k.r=L=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(L,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(L,"__esModule",{value:!0})},(()=>{var L;k.tu=Y=>(void 0===L&&(L={createScriptURL:w=>w},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(L=trustedTypes.createPolicy("angular#bundler",L))),L.createScriptURL(Y))})(),k.p="",(()=>{var L={267:1};k.f.i=(X,z)=>{L[X]||importScripts(k.tu(k.p+k.u(X)))};var w=self.webpackChunkaltair_app=self.webpackChunkaltair_app||[],se=w.push.bind(w);w.push=X=>{var[z,ne,he]=X;for(var Ne in ne)k.o(ne,Ne)&&(k.m[Ne]=ne[Ne]);for(he&&he(k);z.length;)L[z.pop()]=1;se(X)}})(),(()=>{var L=k.x;k.x=()=>k.e(729).then(L)})(),k.x()})();