PageSourceSearch

https://mainnet.oneworldchain.org/_next/static/chunks/6911.23ac5c43658b7312.js

js oneworldchain.org collected 2026-09-29 23:16:11 UTC 224,339 bytes, 129 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6911],{93232:function(e,t,n){"use strict";n.d(t,{nq:function(){return T}});var r=n(77304),i=new TextDecoder;async function o(e,t){if(!e.ok||!e.body||e.bodyUsed)return e;let n=e.headers.get("content-type");if(!n||!~n.indexOf("multipart/mixed"))return e;let r=n.indexOf("boundary="),o=r+9,a=n.indexOf(";",o);return async function*(e,t,n){let r=e.getReader(),o=!n||!n.multiple,a=t.length,s="",u=!0,l=[];try{let e;e:for(;!(e=await r.read()).done;){let n=i.decode(e.value),r=n.indexOf(t),c=s.length;for(s+=n,~r?c+=r:c=s.indexOf(t),l=[];~c;){let e=s.substring(0,c),n=s.substring(c+a);if(u)u=!1,t="\r\n"+t,a+=2;else{let t;let r={},i=e.indexOf("\r\n\r\n")+4,a=String(s.slice(0,i)).trim().split("\r\n");for(;t=a.shift();)r[(t=t.split(": ")).shift().toLowerCase()]=t.join(": ");let u=e.lastIndexOf("\r\n",i),c=e.substring(i,u>-1?void 0:u),p=!1;if((t=r["content-type"])&&~t.indexOf("application/json"))try{c=JSON.parse(c),p=!0}catch(e){}if(t={headers:r,body:c,json:p},o?yield t:l.push(t),"--"===n.substring(0,2))break e}c=(s=n).indexOf(t)}l.length&&(yield l)}}finally{l.length&&(yield l),await r.cancel()}}(e.body,`--${~r?n.substring(o,a>-1?a:void 0).replace(/['"]/g,"").trim():"-"}`,t)}function a(){let e={};return e.promise=new Promise((t,n)=>{e.resolve=t,e.reject=n}),e}let s=e=>{let t;let{pushValue:n,asyncIterableIterator:r}=function(){let e={type:"running"},t=a(),n=[];return{pushValue:function(r){"running"===e.type&&(n.push(r),t.resolve(),t=a())},asyncIterableIterator:function(e,t,n){let r=async function*(){yield*e}(),i=r.return.bind(r);if(t&&(r.return=(...e)=>(t(),i(...e))),n){let e=r.throw.bind(r);r.throw=t=>(n(t),e(t))}return r}(async function*(){for(;;)if(n.length>0)yield n.shift();else{if("error"===e.type)throw e.error;if("finished"===e.type)return;await t.promise}}(),()=>{"running"===e.type&&(e={type:"finished"},t.resolve())},n=>{"running"===e.type&&(e={type:"error",error:n},t.resolve())})}}(),i=e({next:e=>{n(e)},complete:()=>{r.return()},error:e=>{r.throw(e)}}),o=r.return;return r.return=()=>(void 0===t&&(i(),t=o()),t),r};var u=function(e){return this instanceof u?(this.v=e,this):new u(e)},l=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}},c=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{var n;(n=i[e](t)).value instanceof u?Promise.resolve(n.value.v).then(l,c):p(o[0][2],n)}catch(e){p(o[0][3],e)}}function l(e){s("next",e)}function c(e){s("throw",e)}function p(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}};let p=e=>"object"==typeof e&&null!==e&&"code"in e,d=(e,t)=>{let n=!1;return(0,r.Vn)(e,{OperationDefinition(e){var r;t===(null===(r=e.name)||void 0===r?void 0:r.value)&&"subscription"===e.operation&&(n=!0)}}),n},f=(e,t)=>(n,r)=>{var i,o,a,s;return i=void 0,o=void 0,a=void 0,s=function*(){return(yield t(e.url,{method:"POST",body:JSON.stringify(n),headers:Object.assign(Object.assign({"content-type":"application/json"},e.headers),null==r?void 0:r.headers)})).json()},new(a||(a=Promise))(function(e,t){function n(e){try{u(s.next(e))}catch(e){t(e)}}function r(e){try{u(s.throw(e))}catch(e){t(e)}}function u(t){var i;t.done?e(t.value):((i=t.value)instanceof a?i:new a(function(e){e(i)})).then(n,r)}u((s=s.apply(i,o||[])).next())})},h=(e,t)=>{let r;try{let{createClient:i}=n(31458);return r=i({url:e,connectionParams:t}),m(r)}catch(t){if(p(t)&&"MODULE_NOT_FOUND"===t.code)throw Error("You need to install the 'graphql-ws' package to use websockets when passing a 'subscriptionUrl'");console.error(`Error creating websocket client for:
2${e}
3
4${t}`)}},m=e=>t=>s(n=>e.subscribe(t,Object.assign(Object.assign({},n),{error:e=>{e instanceof CloseEvent?n.error(Error(`Socket closed with event ${e.code} ${e.reason||""}`.trim())):n.error(e)}}))),y=e=>t=>{let n=e.request(t);return s(e=>n.subscribe(e).unsubscribe)},E=(e,t)=>function(n,r){return c(this,arguments,function*(){let i=yield u(t(e.url,{method:"POST",body:JSON.stringify(n),headers:Object.assign(Object.assign({"content-type":"application/json",accept:"application/json, multipart/mixed"},e.headers),null==r?void 0:r.headers)}).then(e=>o(e,{multiple:!0})));if(!("object"==typeof i&&null!==i&&("AsyncGenerator"===i[Symbol.toStringTag]||Symbol.asyncIterator&&Symbol.asyncIterator in i)))return yield u((yield yield u(i.json())));try{for(var a,s,c,p=l(i);!(c=yield u(p.next())).done;){let e=c.value;if(e.some(e=>!e.json)){let t=e.map(e=>`Headers::
5${e.headers}
6
7Body::
8${e.body}`);throw Error(`Expected multipart chunks to be of json type. got:
9${t}`)}yield yield u(e.map(e=>e.body))}}catch(e){a={error:e}}finally{try{c&&!c.done&&(s=p.return)&&(yield u(s.call(p)))}finally{if(a)throw a.error}}})},v=(e,t)=>
9{if(e.wsClient)return m(e.wsClient);if(e.subscriptionUrl)return h(e.subscriptionUrl,Object.assign(Object.assign({},e.wsConnectionParams),null==t?void 0:t.headers));let n=e.legacyClient||e.legacyWsClient;if(n)return y(n)};function T(e){let t;if("undefined"!=typeof window&&window.fetch&&(t=window.fetch),((null==e?void 0:e.enableIncrementalDelivery)===null||!1!==e.enableIncrementalDelivery)&&(e.enableIncrementalDelivery=!0),e.fetch&&(t=e.fetch),!t)throw Error("No valid fetcher implementation available");let n=f(e,t),r=e.enableIncrementalDelivery?E(e,t):n;return(t,i)=>{if("IntrospectionQuery"===t.operationName)return(e.schemaFetcher||n)(t,i);if(null!=i&&i.documentAST&&d(i.documentAST,t.operationName||void 0)){let n=v(e,i);if(!n)throw Error(`Your GraphiQL createFetcher is not properly configured for websocket subscriptions yet. ${e.subscriptionUrl?`Provided URL ${e.subscriptionUrl} failed`:"Please provide subscriptionUrl, wsClient or legacyClient option first."}`);return n(t)}return r(t,i)}}},37253:function(e,t,n){"use strict";n.d(t,{yB:function(){return u}});var r=n(67294),i=n(59361);n(73935);var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},s=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};if(16>parseInt(r.version.slice(0,2),10))throw Error("GraphiQL 0.18.0 and after is not compatible with React 15 or below.\nIf you are using a CDN source (jsdelivr, unpkg, etc), follow this example:\nhttps://github.com/graphql/graphiql/blob/master/examples/graphiql-cdn/index.html#L49");function u(e){var t=e.dangerouslyAssumeSchemaIsValid,n=e.defaultQuery,s=e.defaultTabs,u=e.externalFragments,c=e.fetcher,p=e.getDefaultFieldNames,d=e.headers,f=e.initialTabs,h=e.inputValueDeprecation,m=e.introspectionQueryName,y=e.maxHistoryLength,E=e.onEditOperationName,v=e.onSchemaChange,T=e.onTabChange,g=e.onTogglePluginVisibility,N=e.operationName,_=e.plugins,b=e.query,I=e.response,O=e.schema,S=e.schemaDescription,w=e.shouldPersistHeaders,D=e.storage,A=e.validationRules,R=e.variables,k=e.visiblePlugin,x=e.defaultHeaders,L=a(e,["dangerouslyAssumeSchemaIsValid","defaultQuery","defaultTabs","externalFragments","fetcher","getDefaultFieldNames","headers","initialTabs","inputValueDeprecation","introspectionQueryName","maxHistoryLength","onEditOperationName","onSchemaChange","onTabChange","onTogglePluginVisibility","operationName","plugins","query","response","schema","schemaDescription","shouldPersistHeaders","storage","validationRules","variables","visiblePlugin","defaultHeaders"]);if("function"!=typeof c)throw TypeError("The `GraphiQL` component requires a `fetcher` function to be passed as prop.");return r.createElement(i.M,{getDefaultFieldNames:p,dangerouslyAssumeSchemaIsValid:t,defaultQuery:n,defaultHeaders:x,defaultTabs:s,externalFragments:u,fetcher:c,headers:d,initialTabs:f,inputValueDeprecation:h,introspectionQueryName:m,maxHistoryLength:y,onEditOperationName:E,onSchemaChange:v,onTabChange:T,onTogglePluginVisibility:g,plugins:_,visiblePlugin:k,operationName:N,query:b,response:I,schema:O,schemaDescription:S,shouldPersistHeaders:w,storage:D,validationRules:A,variables:R},r.createElement(l,o({},L)))}function l(e){var t,n,o,a=null===(t=e.isHeadersEditorEnabled)||void 0===t||t,l=(0,i.d)({nonNull:!0}),c=(0,i.m)({nonNull:!0}),p=(0,i.U)({nonNull:!0}),d=(0,i.Y)(),h=(0,i.L)(),m=(0,i.b)({onCopyQuery:e.onCopyQuery}
9),y=(0,i.f)(),E=(0,i.g)(),v=(0,i.Z)(),T=v.theme,g=v.setTheme,N=null===(n=null==h?void 0:h.visiblePlugin)||void 0===n?void 0:n.content,_=(0,i._)({defaultSizeRelation:1/3,direction:"horizontal",initiallyHidden:(null==h?void 0:h.visiblePlugin)?void 0:"first",onHiddenElementChange:function(e){"first"===e&&(null==h||h.setVisiblePlugin(null))},sizeThresholdSecond:200,storageKey:"docExplorerFlex"}),b=(0,i._)({direction:"horizontal",storageKey:"editorFlex"}),I=(0,i._)({defaultSizeRelation:3,direction:"vertical",initiallyHidden:"variables"===e.defaultEditorToolsVisibility||"headers"===e.defaultEditorToolsVisibility?void 0:"boolean"==typeof e.defaultEditorToolsVisibility?e.defaultEditorToolsVisibility?void 0:"second":l.initialVariables||l.initialHeaders?void 0:"second",sizeThresholdSecond:60,storageKey:"secondaryEditorFlex"}),O=s((0,r.useState)(function(){return"variables"===e.defaultEditorToolsVisibility||"headers"===e.defaultEditorToolsVisibility?e.defaultEditorToolsVisibility:!l.initialVariables&&l.initialHeaders&&a?"headers":"variables"}),2),S=O[0],w=O[1],D=s((0,r.useState)(null),2),A=D[0],R=D[1],k=s((0,r.useState)(null),2),x=k[0],L=k[1],C=r.Children.toArray(e.children),$=C.find(function(e){return f(e,u.Logo)})||r.createElement(u.Logo,null),F=C.find(function(e){return f(e,u.Toolbar)})||r.createElement(r.Fragment,null,r.createElement(i.aE,{onClick:function(){return E()},label:"Prettify query (Shift-Ctrl-P)"},r.createElement(i.al,{className:"graphiql-toolbar-icon","aria-hidden":"true"})),r.createElement(i.aE,{onClick:function(){return y()},label:"Merge fragments into query (Shift-Ctrl-M)"},r.createElement(i.ah,{className:"graphiql-toolbar-icon","aria-hidden":"true"})),r.createElement(i.aE,{onClick:function(){return m()},label:"Copy query (Shift-Ctrl-C)"},r.createElement(i.a4,{className:"graphiql-toolbar-icon","aria-hidden":"true"})),(null===(o=e.toolbar)||void 0===o?void 0:o.additionalContent)?e.toolbar.additionalContent:null),M=C.find(function(e){return f(e,u.Footer)}),V=function(){"first"===_.hiddenElement&&_.setHiddenElement(null)},P=0===window.navigator.platform.toLowerCase().indexOf("mac")?r.createElement("code",{className:"graphiql-key"},"Cmd"):r.createElement("code",{className:"graphiql-key"},"Ctrl");return r.createElement("div",{"data-testid":"graphiql-container",className:"graphiql-container"},r.createElement("div",{className:"graphiql-sidebar"},r.createElement("div",{className:"graphiql-sidebar-section"},null==h?void 0:h.plugins.map(function(e){var t=e===h.visiblePlugin,n="".concat(t?"Hide":"Show"," ").concat(e.title),o=e.icon;return r.createElement(i.aD,{key:e.title,label:n},r.createElement(i.at,{type:"button",className:t?"active":"",onClick:function(){t?(h.setVisiblePlugin(null),_.setHiddenElement("first")):(h.setVisiblePlugin(e),_.setHiddenElement(null))},"aria-label":n},r.createElement(o,{"aria-hidden":"true"})))})),r.createElement("div",{className:"graphiql-sidebar-section"},r.createElement(i.aD,{label:"Re-fetch GraphQL schema"},r.createElement(i.at,{type:"button",disabled:p.isFetching,onClick:function(){return p.introspect()},"aria-label":"Re-fetch GraphQL schema"},r.createElement(i.am,{className:p.isFetching?"graphiql-spin":"","aria-hidden":"true"}))),r.createElement(i.aD,{label:"Open short keys dialog"},r.createElement(i.at,{type:"button",onClick:function(){return R("short-keys")},"aria-label":"Open short keys dialog"},r.createElement(i.af,{"aria-hidden":"true"}))),r.createElement(i.aD,{label:"Open settings dialog"},r.createElement(i.at,{type:"button",onClick:function(){return R("settings")},"aria-label":"Open settings dialog"},r.createElement(i.ao,{"aria-hidden":"true"}))))),r.createElement("div",{className:"graphiql-main"},r.createElement("div",{ref:_.firstRef,style:{minWidth:"200px"}},r.createElement("div",{className:"graphiql-plugin"},N?r.createElement(N,null):null)),r.createElement("div",{ref:_.dragBarRef},(null==h?void 0:h.visiblePlugin)?r.createElement("div",{className:"graphiql-horizontal-drag-bar"}):null),r.createElement("div",{ref:_.secondRef,style:{minWidth:0}},r.createElement("div",{className:"graphiql-sessions"},r.createElement("div",{className:"graphiql-session-header"},r.createElement(i.aC,{"aria-label":"Select active operation"},l.tabs.length>1?r.createElement(r.Fragment,null,l.tabs.map(function(e,t){return r.createElement(i.aB,{key:e.id,isActive:t===l.activeTabIndex},r.createElement(i.aB.Button,{"aria-controls":"graphiql-session",id:"graphiql-session-tab-".concat(t),onClick:function(){c.stop(),l.changeTab(t)}},e.title),r.createElement(i.aB.Close,{onClick:function(){l.activeTabIndex===t&&c.stop(),l.closeTab(t)}}))}),r.createElement("div",null,r.createElement(i.aD,{label:"Add tab"},r.createElement(i.at,{type:"button",className:"graphiql-tab-add",onClick:function(){return l.addTab()},"aria-label":"Add tab"},r.createElement(i.ak,{"aria-hidden":"true"}))))):null),r.createElement("div",{className:"graphiql-session-header-right"},1===l.tabs.length?r.createElement("div",{className:"graphiql-add-tab-wrapper"},r.createElement(i.aD,{label:"Add tab"},r.createElement(i.at,{type:"button",className:"graphiql-tab-add",onClick:function(){return l.addTab()},"aria-label":"Add tab"},r.createElement(i.ak,{"aria-hidden":"true"})))):null,$)),r.createElement("div",{role:"tabpanel",id:"graphiql-session",className:"graphiql-session","aria-labelledby":"graphiql-session-tab-".concat(l.activeTabIndex)},r.createElement("div",{ref:b.firstRef},r.createElement("div",{className:"graphiql-editors".concat(1===l.tabs.length?" full-height":"")},r.createElement("div",{ref:I.firstRef},r.createElement("section",{className:"graphiql-query-editor","aria-label":"Query Editor"},r.createElement("div",{className:"graphiql-query-editor-wrapper"},r.createElement(i.Q,{editorTheme:e.editorTheme,keyMap:e.keyMap,onClickReference:V,onCopyQuery:e.onCopyQuery,onEdit:e.onEditQuery,readOnly:e.readOnly})),r.createElement("div",{className:"graphiql-toolbar",role:"toolbar","aria-label":"Editor Commands"},r.createElement(i.aF,null),F))),r.createElement("div",{ref:I.dragBarRef},r.createElement("div",{className:"graphiql-editor-tools"},r.createElement("div",{className:"graphiql-editor-tools-tabs"},r.createElement(i.at,{type:"button",className:"variables"===S&&"second"!==I.hiddenElement?"active":"",onClick:function(){"second"===I.hiddenElement&&I.setHiddenElement(null),w("variables")}
9},"Variables"),a?r.createElement(i.at,{type:"button",className:"headers"===S&&"second"!==I.hiddenElement?"active":"",onClick:function(){"second"===I.hiddenElement&&I.setHiddenElement(null),w("headers")}},"Headers"):null),r.createElement(i.aD,{label:"second"===I.hiddenElement?"Show editor tools":"Hide editor tools"},r.createElement(i.at,{type:"button",onClick:function(){I.setHiddenElement("second"===I.hiddenElement?null:"second")},"aria-label":"second"===I.hiddenElement?"Show editor tools":"Hide editor tools"},"second"===I.hiddenElement?r.createElement(i.a2,{className:"graphiql-chevron-icon","aria-hidden":"true"}):r.createElement(i.a0,{className:"graphiql-chevron-icon","aria-hidden":"true"}))))),r.createElement("div",{ref:I.secondRef},r.createElement("section",{className:"graphiql-editor-tool","aria-label":"variables"===S?"Variables":"Headers"},r.createElement(i.V,{editorTheme:e.editorTheme,isHidden:"variables"!==S,keyMap:e.keyMap,onEdit:e.onEditVariables,onClickReference:V,readOnly:e.readOnly}),a&&r.createElement(i.H,{editorTheme:e.editorTheme,isHidden:"headers"!==S,keyMap:e.keyMap,onEdit:e.onEditHeaders,readOnly:e.readOnly}))))),r.createElement("div",{ref:b.dragBarRef},r.createElement("div",{className:"graphiql-horizontal-drag-bar"})),r.createElement("div",{ref:b.secondRef},r.createElement("div",{className:"graphiql-response"},c.isFetching?r.createElement(i.aA,null):null,r.createElement(i.R,{editorTheme:e.editorTheme,responseTooltip:e.responseTooltip,keyMap:e.keyMap}),M)))))),r.createElement(i.aw,{isOpen:"short-keys"===A,onDismiss:function(){return R(null)}},r.createElement("div",{className:"graphiql-dialog-header"},r.createElement("div",{className:"graphiql-dialog-title"},"Short Keys"),r.createElement(i.aw.Close,{onClick:function(){return R(null)}})),r.createElement("div",{className:"graphiql-dialog-section"},r.createElement("div",null,r.createElement("table",{className:"graphiql-table"},r.createElement("thead",null,r.createElement("tr",null,r.createElement("th",
9null,"Short key"),r.createElement("th",null,"Function"))),r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",null,P," + ",r.createElement("code",{className:"graphiql-key"},"F")),r.createElement("td",null,"Search in editor")),r.createElement("tr",null,r.createElement("td",null,P," + ",r.createElement("code",{className:"graphiql-key"},"K")),r.createElement("td",null,"Search in documentation")),r.createElement("tr",null,r.createElement("td",null,P," + ",r.createElement("code",{className:"graphiql-key"},"Enter")),r.createElement("td",null,"Execute query")),r.createElement("tr",null,r.createElement("td",null,r.createElement("code",{className:"graphiql-key"},"Ctrl")," + ",r.createElement("code",{className:"graphiql-key"},"Shift")," + ",r.createElement("code",{className:"graphiql-key"},"P")),r.createElement("td",null,"Prettify editors")),r.createElement("tr",null,r.createElement("td",null,r.createElement("code",{className:"graphiql-key"},"Ctrl")," + ",r.createElement("code",{className:"graphiql-key"},"Shift")," + ",r.createElement("code",{className:"graphiql-key"},"M")),r.createElement("td",null,"Merge fragments definitions into operation definition")),r.createElement("tr",null,r.createElement("td",null,r.createElement("code",{className:"graphiql-key"},"Ctrl")," + ",r.createElement("code",{className:"graphiql-key"},"Shift")," + ",r.createElement("code",{className:"graphiql-key"},"C")),r.createElement("td",null,"Copy query")),r.createElement("tr",null,r.createElement("td",null,r.createElement("code",{className:"graphiql-key"},"Ctrl")," + ",r.createElement("code",{className:"graphiql-key"},"Shift")," + ",r.createElement("code",{className:"graphiql-key"},"R")),r.createElement("td",null,"Re-fetch schema using introspection")))),r.createElement("p",null,"The editors use"," ",r.createElement("a",{href:"https://codemirror.net/5/doc/manual.html#keymaps",target:"_blank",rel:"noopener noreferrer"},"CodeMirror Key Maps")," ","that add more short keys. This instance of Graph",r.createElement("em",null,"i"),"QL uses"," ",r.createElement("code",null,e.keyMap||"sublime"),".")))),r.createElement(i.aw,{isOpen:"settings"===A,onDismiss:function(){R(null),L(null)}},r.createElement("div",{className:"graphiql-dialog-header"},r.createElement("div",{className:"graphiql-dialog-title"},"Settings"),r.createElement(i.aw.Close,{onClick:function(){R(null),L(null)}})),r.createElement("div",{className:"graphiql-dialog-section"},r.createElement("div",null,r.createElement("div",{className:"graphiql-dialog-section-title"},"Theme"),r.createElement("div",{className:"graphiql-dialog-section-caption"},"Adjust how the interface looks like.")),r.createElement("div",null,r.createElement(i.av,null,r.createElement(i.au,{type:"button",className:null===T?"active":"",onClick:function(){return g(null)}},"System"),r.createElement(i.au,{type:"button",className:"light"===T?"active":"",onClick:function(){return g("light")}},"Light"),r.createElement(i.au,{type:"button",className:"dark"===T?"active":"",onClick:function(){return g("dark")}},"Dark")))),d?r.createElement("div",{className:"graphiql-dialog-section"},r.createElement("div",null,r.createElement("div",{className:"graphiql-dialog-section-title"},"Clear storage"),r.createElement("div",{className:"graphiql-dialog-section-caption"},"Remove all locally stored data and start fresh.")),r.createElement("div",null,r.createElement(i.au,{type:"button",state:x||void 0,disabled:"success"===x,onClick:function(){try{null==d||d.clear(),L("success")}catch(e){L("error")}}},"success"===x?"Cleared data":"error"===x?"Failed":"Clear data"))):null))}function c(e){return r.createElement("div",{className:"graphiql-logo"},e.children||r.createElement("a",{className:"graphiql-logo-link",href:"https://github.com/graphql/graphiql",target:"_blank",rel:"noreferrer"},"Graph",r.createElement("em",null,"i"),"QL"))}function p(e){return r.createElement(r.Fragment,null,e.children)}function d(e){return r.createElement("div",{className:"graphiql-footer"},e.children)}function f(e,t){var n;return null!==(n=null==e?void 0:e.type)&&void 0!==n&&!!n.displayName&&e.type.displayName===t.displayName||e.type===t}u.Logo=c,u.Toolbar=p,u.Footer=d,c.displayName="GraphiQLLogo",p.displayName="GraphiQLToolbar",d.displayName="GraphiQLFooter"},22451:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
9(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.createClient=void 0;let o=n(1655),a=n(77315);function s(e){return(0,a.isObject)(e)&&"code"in e&&"reason"in e}i(n(1655),t),t.createClient=function(e){let t;let{url:r,connectionParams:i,lazy:u=!0,onNonLazyError:l=console.error,lazyCloseTimeout:c=0,keepAlive:p=0,disablePong:d,connectionAckWaitTimeout:f=0,retryAttempts:h=5,retryWait:m=async function(e){let t=1e3;for(let n=0;n<e;n++)t*=2;await new Promise(e=>setTimeout(e,t+Math.floor(2700*Math.random()+300)))},shouldRetry:y=s,isFatalConnectionProblem:E,on:v,webSocketImpl:T,generateID:g=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},jsonMessageReplacer:N,jsonMessageReviver:_}=e;if(T){if(!("function"==typeof T&&"constructor"in T&&"CLOSED"in T&&"CLOSING"in T&&"CONNECTING"in T&&"OPEN"in T))throw Error("Invalid WebSocket implementation provided");t=T}else"undefined"!=typeof WebSocket?t=WebSocket:void 0!==n.g?t=n.g.WebSocket||n.g.MozWebSocket:"undefined"!=typeof window&&(t=window.WebSocket||window.MozWebSocket);if(!t)throw Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");let b=t,I=(()=>{let e=(()=>{let e={};return{on:(t,n)=>(e[t]=n,()=>{delete e[t]}),emit(t){var n;"id"in t&&(null===(n=e[t.id])||void 0===n||n.call(e,t))}}})(),t={connecting:(null==v?void 0:v.connecting)?[v.connecting]:[],opened:(null==v?void 0:v.opened)?[v.opened]:[],connected:(null==v?void 0:v.connected)?[v.connected]:[],ping:(null==v?void 0:v.ping)?[v.ping]:[],pong:(null==v?void 0:v.pong)?[v.pong]:[],message:(null==v?void 0:v.message)?[e.emit,v.message]:[e.emit],closed:(null==v?void 0:v.closed)?[v.closed]:[],error:(null==v?void 0:v.error)?[v.error]:[]};return{onMessage:e.on,on(e,n){let r=t[e];return r.push(n),()=>{r.splice(r.indexOf(n),1)}},emit(e,...n){for(let r of[...t[e]])r(...n)}}})();function O(e){let t=[I.on("error",n=>{t.forEach(e=>e()),e(n)}),I.on("closed",n=>{t.forEach(e=>e()),e(n)})]}let S,w=0,D,A=!1,R=0,k=!1;async function x(){clearTimeout(D);let[e,t]=await (null!=S?S:S=new Promise((e,t)=>(async()=>{let n,u;if(A){if(await m(R),!w)return S=void 0,t({code:1e3,reason:"All Subscriptions Gone"});R++}I.emit("connecting");let l=new b("function"==typeof r?await r():r,o.GRAPHQL_TRANSPORT_WS_PROTOCOL);function c(){isFinite(p)&&p>0&&(clearTimeout(u),u=setTimeout(()=>{l.readyState===b.OPEN&&(l.send((0,o.stringifyMessage)({type:o.MessageType.Ping})),I.emit("ping",!1,void 0))},p))}O(e=>{S=void 0,clearTimeout(n),clearTimeout(u),t(e),s(e)&&4499===e.code&&(l.close(4499,"Terminated"),l.onerror=null,l.onclose=null)}),l.onerror=e=>I.emit("error",e),l.onclose=e=>I.emit("closed",e),l.onopen=async()=>{try{I.emit("opened",l);let e="function"==typeof i?await i():i;if(l.readyState!==b.OPEN)return;l.send((0,o.stringifyMessage)(e?{type:o.MessageType.ConnectionInit,payload:e}:{type:o.MessageType.ConnectionInit},N)),isFinite(f)&&f>0&&(n=setTimeout(()=>{l.close(o.CloseCode.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},f)),c()}catch(e){I.emit("error",e),l.close(o.CloseCode.InternalClientError,(0,a.limitCloseReason)(e instanceof Error?e.message:Error(e).message,"Internal client error"))}};let h=!1;l.onmessage=({data:t})=>{try{let r=(0,o.parseMessage)(t,_);
9if(I.emit("message",r),"ping"===r.type||"pong"===r.type){I.emit(r.type,!0,r.payload),"pong"===r.type?c():d||(l.send((0,o.stringifyMessage)(r.payload?{type:o.MessageType.Pong,payload:r.payload}:{type:o.MessageType.Pong})),I.emit("pong",!1,r.payload));return}if(h)return;if(r.type!==o.MessageType.ConnectionAck)throw Error(`First message cannot be of type ${r.type}`);clearTimeout(n),h=!0,I.emit("connected",l,r.payload),A=!1,R=0,e([l,new Promise((e,t)=>O(t))])}catch(e){l.onmessage=null,I.emit("error",e),l.close(o.CloseCode.BadResponse,(0,a.limitCloseReason)(e instanceof Error?e.message:Error(e).message,"Bad response"))}}})()));e.readyState===b.CLOSING&&await t;let n=()=>{},u=new Promise(e=>n=e);return[e,n,Promise.race([u.then(()=>{if(!w){let t=()=>e.close(1e3,"Normal Closure");isFinite(c)&&c>0?D=setTimeout(()=>{e.readyState===b.OPEN&&t()},c):t()}}),t])]}function L(e){var t;if(s(e)&&(![1e3,1001,1006,1005,1012,1013,1013].includes(t=e.code)&&t>=1e3&&t<=1999||[o.CloseCode.InternalServerError,o.CloseCode.InternalClientError,o.CloseCode.BadRequest,o.CloseCode.BadResponse,o.CloseCode.Unauthorized,o.CloseCode.SubprotocolNotAcceptable,o.CloseCode.SubscriberAlreadyExists,o.CloseCode.TooManyInitialisationRequests].includes(e.code)))throw e;if(k)return!1;if(s(e)&&1e3===e.code)return w>0;if(!h||R>=h||!y(e)||(null==E?void 0:E(e)))throw e;return A=!0}return u||(async()=>{for(w++;;)try{let[,,e]=await x();await e}catch(e){try{if(!L(e))return}catch(e){return null==l?void 0:l(e)}}})(),{on:I.on,subscribe(e,t){let n=g(e),r=!1,i=!1,a=()=>{w--,r=!0};return(async()=>{for(w++;;)try{let[s,u,l]=await x();if(r)return u();let c=I.onMessage(n,e=>{switch(e.type){case o.MessageType.Next:t.next(e.payload);return;case o.MessageType.Error:i=!0,r=!0,t.error(e.payload),a();return;case o.MessageType.Complete:r=!0,a();return}});s.send((0,o.stringifyMessage)({id:n,type:o.MessageType.Subscribe,payload:e},N)),a=()=>{r||s.readyState!==b.OPEN||s.send((0,o.stringifyMessage)({id:n,type:o.MessageType.Complete},N)),w--,r=!0,u()},await l.finally(c);return}catch(e){if(!L(e))return}})().then(()=>{i||t.complete()}).catch(e=>{t.error(e)}),()=>{r||a()}},async dispose(){if(k=!0,S){let[e]=await S;e.close(1e3,"Normal Closure")}},terminate(){S&&I.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}}},1655:function(e,t,n){"use strict";var r,i,o;Object.defineProperty(t,"__esModule",{value:!0}),t.stringifyMessage=t.parseMessage=t.isMessage=t.validateMessage=t.MessageType=t.CloseCode=t.DEPRECATED_GRAPHQL_WS_PROTOCOL=t.GRAPHQL_TRANSPORT_WS_PROTOCOL=void 0;let a=n(77315);function s(e){if(!(0,a.isObject)(e))throw Error(`Message is expected to be an object, but got ${(0,a.extendedTypeof)(e)}`);if(!e.type)throw Error("Message is missing the 'type' property");if("string"!=typeof e.type)throw Error(`Message is expects the 'type' property to be a string, but got ${(0,a.extendedTypeof)(e.type)}`);switch(e.type){case r.ConnectionInit:case r.ConnectionAck:case r.Ping:case r.Pong:if("payload"in e&&!(0,a.isObject)(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object or missing, but got "${e.payload}"`);break;case r.Subscribe:if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${(0,a.extendedTypeof)(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!(0,a.isObject)(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${(0,a.extendedTypeof)(e.payload)}`);if("string"!=typeof e.payload.query)throw Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${(0,a.extendedTypeof)(e.payload.query)}`);if(null!=e.payload.variables&&!(0,a.isObject)(e.payload.variables))throw Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${(0,a.extendedTypeof)(e.payload.variables)}`);if(null!=e.payload.operationName&&"string"!==(0,a.extendedTypeof)(e.payload.operationName))throw Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${(0,a.extendedTypeof)(e.payload.operationName)}`);if(null!=e.payload.extensions&&!(0,a.isObject)(e.payload.extensions))throw Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${(0,a.extendedTypeof)(e.payload.extensions)}`);break;case r.Next:if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${(0,a.extendedTypeof)(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);
9if(!(0,a.isObject)(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${(0,a.extendedTypeof)(e.payload)}`);break;case r.Error:if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${(0,a.extendedTypeof)(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);if(!(0,a.areGraphQLErrors)(e.payload))throw Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break;case r.Complete:if("string"!=typeof e.id)throw Error(`"${e.type}" message expects the 'id' property to be a string, but got ${(0,a.extendedTypeof)(e.id)}`);if(!e.id)throw Error(`"${e.type}" message requires a non-empty 'id' property`);break;default:throw Error(`Invalid message 'type' property "${e.type}"`)}return e}t.GRAPHQL_TRANSPORT_WS_PROTOCOL="graphql-transport-ws",t.DEPRECATED_GRAPHQL_WS_PROTOCOL="graphql-ws",(i=t.CloseCode||(t.CloseCode={}))[i.InternalServerError=4500]="InternalServerError",i[i.InternalClientError=4005]="InternalClientError",i[i.BadRequest=4400]="BadRequest",i[i.BadResponse=4004]="BadResponse",i[i.Unauthorized=4401]="Unauthorized",i[i.Forbidden=4403]="Forbidden",i[i.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",i[i.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",i[i.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",i[i.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",i[i.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",(o=r=t.MessageType||(t.MessageType={})).ConnectionInit="connection_init",o.ConnectionAck="connection_ack",o.Ping="ping",o.Pong="pong",o.Subscribe="subscribe",o.Next="next",o.Error="error",o.Complete="complete",t.validateMessage=s,t.isMessage=function(e){try{return s(e),!0}catch(e){return!1}},t.parseMessage=function(e,t){return s("string"==typeof e?JSON.parse(e,t):e)},t.stringifyMessage=function(e,t){return s(e),JSON.stringify(e,t)}},31458:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),i(n(22451),t),i(n(89299),t),i(n(1655),t)},89299:function(e,t,n){"use strict";var r=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}};Object.defineProperty(t,"__esModule",{value:!0}),t.handleProtocols=t.makeServer=void 0;let i=n(34356),o=n(1655),a=n(77315);t.makeServer=function(e){let{schema:t,context:n,roots:s,validate:u,execute:l,subscribe:c,connectionInitWaitTimeout:p=3e3,onConnect:d,onDisconnect:f,onClose:h,onSubscribe:m,onOperation:y,onNext:E,onError:v,onComplete:T,jsonMessageReviver:g,jsonMessageReplacer:N}=e;return{opened(e,_){let b={connectionInitReceived:!1,acknowledged:!1,subscriptions:{},extra:_};if(e.protocol!==o.GRAPHQL_TRANSPORT_WS_PROTOCOL)return e.close(o.CloseCode.SubprotocolNotAcceptable,"Subprotocol not acceptable"),async(e,t)=>{await (null==h?void 0:h(b,e,t))};let I=p>0&&isFinite(p)?setTimeout(()=>{b.connectionInitReceived||e.close(o.CloseCode.ConnectionInitialisationTimeout,"Connection initialisation timeout")},p):null;return e.onMessage(async function(p){let f;try{f=(0,o.parseMessage)(p,g)}catch(t){return e.close(o.CloseCode.BadRequest,"Invalid message received")}switch(f.type){case o.MessageType.ConnectionInit:{if(b.connectionInitReceived)return e.close(o.CloseCode.TooManyInitialisationRequests,"Too many initialisation requests");b.connectionInitReceived=!0,(0,a.isObject)(f.payload)&&(b.connectionParams=f.payload);let t=await (null==d?void 0:d(b));if(!1===t)return e.close(o.CloseCode.Forbidden,"Forbidden");await e.send((0,o.stringifyMessage)((0,a.isObject)(t)?{type:o.MessageType.ConnectionAck,payload:t}:{type:o.MessageType.ConnectionAck},N)),b.acknowledged=!0;return}case o.MessageType.Ping:if(e.onPing)return await e.onPing(f.payload);await e.send((0,o.stringifyMessage)(f.payload?{type:o.MessageType.Pong,payload:f.payload}:{type:o.MessageType.Pong}));return;case o.MessageType.Pong:return await (null===(S=e.onPong)||void 0===S?void 0:S.call(e,f.payload));case o.MessageType.Subscribe:{if(!b.acknowledged)return e.close(o.CloseCode.Unauthorized,"Unauthorized");let{id:p,payload:d}=f;if(p in b.subscriptions)return e.close(o.CloseCode.SubscriberAlreadyExists,`Subscriber for ${p} already exists`);b.subscriptions[p]=null;let g={next:async(t,n)=>{let r={id:p,type:o.MessageType.Next,payload:t},i=await (null==E?void 0:E(b,r,n,t));i&&(r=Object.assign(Object.assign({},r),{payload:i})),await e.send((0,o.stringifyMessage)(r,N))},error:async t=>{let n={id:p,type:o.MessageType.Error,payload:t},r=await (null==v?void 0:v(b,n,t));r&&(n=Object.assign(Object.assign({},n),{payload:r})),await e.send((0,o.stringifyMessage)(n,N))},complete:async t=>{let n={id:p,type:o.MessageType.Complete};await (null==T?void 0:T(b,n)),t&&await e.send((0,o.stringifyMessage)(n,N))}};try{let e,o;let E=await (null==m?void 0:m(b,f));if(E){if((0,a.areGraphQLErrors)(E))return await g.error(E);if(Array.isArray(E))throw Error("Invalid return value from onSubscribe hook, expected an array of GraphQLError objects");e=E}else{if(!t)throw Error("The GraphQL schema is not provided");let n={operationName:d.operationName,document:(0,i.parse)(d.query),variableValues:d.variables};e=Object.assign(Object.assign({},n),{schema:"function"==typeof t?await t(b,f,n):t});let r=(null!=u?u:i.validate)(e.schema,e.document);if(r.length>0)return await g.error(r)}let v=(0,i.getOperationAST)(e.document,e.operationName);if(!v)return await g.error([new i.GraphQLError("Unable to identify operation")]);"rootValue"in e||(e.rootValue=null==s?void 0:s[v.operation]),"contextValue"in e||(e.contextValue="function"==typeof n?await n(b,f,e):n),o="subscription"===v.operation?await (null!=c?c:i.subscribe)(e):await (null!=l?l:i.execute)(e);let T=await (null==y?void 0:y(b,f,e,o));if(T&&(o=T),(0,a.isAsyncIterable)(o)){if(p in b.subscriptions){b.subscriptions[p]=o;try{for(var h,_,I,O,S,w,D=!0,A=r(o);!(h=(w=await A.next()).done);){O=w.value,D=!1;try{await g.next(O,e)}finally{D=!0}}}catch(e){_={error:e}}finally{try{!D&&!h&&(I=A.return)&&await I.call(A)}finally{if(_)throw _.error}}}else(0,a.isAsyncGenerator)(o)&&o.return(void 0)}else p in b.subscriptions&&await g.next(o,e);await g.complete(p in b.subscriptions)}finally{delete b.subscriptions[p]}return}case o.MessageType.Complete:{let e=b.subscriptions[f.id];delete b.subscriptions[f.id],(0,a.isAsyncGenerator)(e)&&await e.return(void 0);return}default:throw Error(`Unexpected message of type ${f.type} received`)}}),async(e,t)=>{for(let e of(I&&clearTimeout(I),Object.values(b.subscriptions)))(0,a.isA
9syncGenerator)(e)&&await e.return(void 0);b.acknowledged&&await (null==f?void 0:f(b,e,t)),await (null==h?void 0:h(b,e,t))}}}},t.handleProtocols=function(e){switch(!0){case e instanceof Set&&e.has(o.GRAPHQL_TRANSPORT_WS_PROTOCOL):case Array.isArray(e)&&e.includes(o.GRAPHQL_TRANSPORT_WS_PROTOCOL):case"string"==typeof e&&e.split(",").map(e=>e.trim()).includes(o.GRAPHQL_TRANSPORT_WS_PROTOCOL):return o.GRAPHQL_TRANSPORT_WS_PROTOCOL;default:return!1}}},77315:function(e,t){"use strict";function n(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function r(e){return"object"===n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.limitCloseReason=t.areGraphQLErrors=t.isAsyncGenerator=t.isAsyncIterable=t.isObject=t.extendedTypeof=void 0,t.extendedTypeof=n,t.isObject=r,t.isAsyncIterable=function(e){return"function"==typeof Object(e)[Symbol.asyncIterator]},t.isAsyncGenerator=function(e){return r(e)&&"function"==typeof Object(e)[Symbol.asyncIterator]&&"function"==typeof e.return},t.areGraphQLErrors=function(e){return Array.isArray(e)&&e.length>0&&e.every(e=>"message"in e)},t.limitCloseReason=function(e,t){return e.length<124?e:t}},29150:function(){},28087:function(e,t,n){"use strict";n.d(t,{OS:function(){return u},Z:function(){return l},__:function(){return a}});var r=n(88495),i=n(57867),o=n(90850);class a extends Error{constructor(e,...t){var n,o,u;let{nodes:l,source:c,positions:p,path:d,originalError:f,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=d?d:void 0,this.originalError=null!=f?f:void 0,this.nodes=s(Array.isArray(l)?l:l?[l]:void 0);let m=s(null===(n=this.nodes)||void 0===n?void 0:n.map(e=>e.loc).filter(e=>null!=e));this.source=null!=c?c:null==m?void 0:null===(o=m[0])||void 0===o?void 0:o.source,this.positions=null!=p?p:null==m?void 0:m.map(e=>e.start),this.locations=p&&c?p.map(e=>(0,i.k)(c,e)):null==m?void 0:m.map(e=>(0,i.k)(e.source,e.start));let y=(0,r.y)(null==f?void 0:f.extensions)?null==f?void 0:f.extensions:void 0;this.extensions=null!==(u=null!=h?h:y)&&void 0!==u?u:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=f&&f.stack?Object.defineProperty(this,"stack",{value:f.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,a):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+(0,o.Q)(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+(0,o.z)(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function s(e){return void 0===e||0===e.length?void 0:e}function u(e){return e.toString()}function l(e){return e.toJSON()}},45219:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(28087);function i(e,t,n){return new r.__(`Syntax Error: ${n}`,{source:e,positions:[t]})}},97677:function(e,t,n){"use strict";n.d(t,{g:function(){return u},w:function(){return l}});var r=n(97359),i=n(4454),o=n(68238),a=n(30077),s=n(66422);function u(e,t,n,r,i){let o=new Map;return c(e,t,n,r,i,o,new Set),o}function l(e,t,n,r,i){let o=new Map,a=new Set;for(let s of i)s.selectionSet&&c(e,t,n,r,s.selectionSet,o,a);return o}function c(e,t,n,i,o,a,s){for(let u of o.selections)switch(u.kind){case r.h.FIELD:{if(!p(n,u))continue;let e=u.alias?u.alias.value:u.name.value,t=a.get(e);void 0!==t?t.push(u):a.set(e,[u]);break}case r.h.INLINE_FRAGMENT:if(!p(n,u)||!d(e,u,i))continue;c(e,t,n,i,u.selectionSet,a,s);break;case r.h.FRAGMENT_SPREAD:{let r=u.name.value;if(s.has(r)||!p(n,u))continue;s.add(r);let o=t[r];if(!o||!d(e,o,i))continue;c(e,t,n,i,o.selectionSet,a,s)}}}function p(e,t){let n=(0,s.zu)(o.QE,t,e);if((null==n?void 0:n.if)===!0)return!1;let r=(0,s.zu)(o.Yf,t,e);return(null==r?void 0:r.if)!==!1}function d(e,t,n){let r=t.typeCondition;if(!r)return!0;let o=(0,a._)(e,r);return o===n||!!(0,i.m0)(o)&&e.isSubType(o,n)}},66422:function(e,t,n){"use strict";n.d(t,{LX:function(){return h},QF:function(){return f},zu:function(){return m}});var r=n(47820),i=n(73498),o=n(94244),a=n(28087),s=n(97359),u=n(16918),l=n(4454),c=n(27816),p=n(30077),d=n(58081);function f(e,t,n,i){let s=[],f=null==i?void 0:i.maxErrors;try{let i=function(e,t,n,i){let s={};for(let f of t){let t=f.variable.name.value,h=(0,p._)(e,f.type);if(!(0,l.j$)(h)){let e=(0,u.S)(f.type);i(new a.__(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:f.type}));continue}if(!y(n,t)){if(f.defaultValue)s[t]=(0,d.u)(f.defaultValue,h);else if((0,l.zM)(h)){let e=(0,r.X)(h);i(new a.__(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:f}))}continue}let m=n[t];if(null===m&&(0,l.zM)(h)){let e=(0,r.X)(h);i(new a.__(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:f}));continue}s[t]=(0,c.K)(m,h,(e,n,s)=>{let u=`Variable "$${t}" got invalid value `+(0,r.X)(n);e.length>0&&(u+=` at "${t}${(0,o.F)(e)}"`),i(new a.__(u+"; "+s.message,{nodes:f,originalError:s}))})}return s}(e,t,n,e=>{if(null!=f&&s.length>=f)throw new a.__("Too many errors processing variables, error limit reached. Execution aborted.");s.push(e)});if(0===s.length)return{coerced:i}}catch(e){s.push(e)}return{errors:s}}function h(e,t,n){var o;let c={},p=null!==(o=t.arguments)&&void 0!==o?o:[],f=(0,i.P)(p,e=>e.name.value);for(let i of e.args){let e=i.name,o=i.type,p=f[e];if(!p){if(void 0!==i.defaultValue)c[e]=i.defaultValue;else if((0,l.zM)(o))throw new a.__(`Argument "${e}" of required type "${(0,r.X)(o)}" was not provided.`,{nodes:t});continue}let h=p.value,m=h.kind===s.h.NULL;if(h.kind===s.h.VARIABLE){let t=h.name.value;if(null==n||!y(n,t)){if(void 0!==i.defaultValue)c[e]=i.defaultValue;else if((0,l.zM)(o))throw new a.__(`Argument "${e}" of required type "${(0,r.X)(o)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:h});continue}m=null==n[t]}if(m&&(0,l.zM)(o))throw new a.__(`Argument "${e}" of non-null type "${(0,r.X)(o)}" must not be null.`,{nodes:h});let E=(0,d.u)(h,o,n);if(void 0===E)throw new a.__(`Argument "${e}
9" has invalid value ${(0,u.S)(h)}.`,{nodes:h});c[e]=E}return c}function m(e,t,n){var r;let i=null===(r=t.directives)||void 0===r?void 0:r.find(t=>t.name.value===e.name);if(i)return h(e,i,n)}function y(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},34356:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{BREAK:function(){return es.$_},BreakingChangeType:function(){return l},DEFAULT_DEPRECATION_REASON:function(){return W.SY},DangerousChangeType:function(){return c},DirectiveLocation:function(){return eu.B},ExecutableDefinitionsRule:function(){return eE.i},FieldsOnCorrectTypeRule:function(){return ev.A},FragmentsOnCompositeTypesRule:function(){return eT.T},GRAPHQL_MAX_INT:function(){return Z.HI},GRAPHQL_MIN_INT:function(){return Z.st},GraphQLBoolean:function(){return Z.EZ},GraphQLDeprecatedDirective:function(){return W.fg},GraphQLDirective:function(){return W.NZ},GraphQLEnumType:function(){return w.mR},GraphQLError:function(){return _.__},GraphQLFloat:function(){return Z.av},GraphQLID:function(){return Z.km},GraphQLIncludeDirective:function(){return W.Yf},GraphQLInputObjectType:function(){return w.sR},GraphQLInt:function(){return Z._o},GraphQLInterfaceType:function(){return w.oW},GraphQLList:function(){return w.p2},GraphQLNonNull:function(){return w.bM},GraphQLObjectType:function(){return w.h6},GraphQLScalarType:function(){return w.n2},GraphQLSchema:function(){return K.XO},GraphQLSkipDirective:function(){return W.QE},GraphQLSpecifiedByDirective:function(){return W.df},GraphQLString:function(){return Z.kH},GraphQLUnionType:function(){return w.Gp},Kind:function(){return S.h},KnownArgumentNamesRule:function(){return eg.e},KnownDirectivesRule:function(){return eN.J},KnownFragmentNamesRule:function(){return e_.a},KnownTypeNamesRule:function(){return eb.I},Lexer:function(){return ei.h},Location:function(){return O.Ye},LoneAnonymousOperationRule:function(){return eI.F},LoneSchemaDefinitionRule:function(){return eB.t},NoDeprecatedCustomRule:function(){return eK.r},NoFragmentCyclesRule:function(){return eO.H},NoSchemaIntrospectionCustomRule:function(){return eh},NoUndefinedVariablesRule:function(){return eS.$},NoUnusedFragmentsRule:function(){return ew.J},NoUnusedVariablesRule:function(){return eD.p},OperationTypeNode:function(){return O.ku},OverlappingFieldsCanBeMergedRule:function(){return eA.y},PossibleFragmentSpreadsRule:function(){return eR.a},PossibleTypeExtensionsRule:function(){return eJ.g},ProvidedRequiredArgumentsRule:function(){return ek.s},ScalarLeafsRule:function(){return ex.O},SchemaMetaFieldDef:function(){return D.Az},SingleFieldSubscriptionsRule:function(){return eL.Z},Source:function(){return et.H},Token:function(){return O.WU},TokenKind:function(){return eo.T},TypeInfo:function(){return tG.a},TypeKind:function(){return D.zU},TypeMetaFieldDef:function(){return D.tF},TypeNameMetaFieldDef:function(){return D.hU},UniqueArgumentDefinitionNamesRule:function(){return ez.L},UniqueArgumentNamesRule:function(){return eC.L},UniqueDirectiveNamesRule:function(){return eY.o},UniqueDirectivesPerLocationRule:function(){return e$.k},UniqueEnumValueNamesRule:function(){return eQ.L},UniqueFieldDefinitionNamesRule:function(){return eH.y},UniqueFragmentNamesRule:function(){return eF.N},UniqueInputFieldNamesRule:function(){return eM.P},UniqueOperationNamesRule:function(){return eV.H},UniqueOperationTypesRule:function(){return eq.q},UniqueTypeNamesRule:function(){return eX.P},UniqueVariableNamesRule:function(){return eP.H},ValidationContext:function(){return em._t},ValuesOfCorrectTypeRule:function(){return ej.j},VariablesAreInputTypesRule:function(){return eU.I},VariablesInAllowedPositionRule:function(){return eG.w},__Directive:function(){return D.l3},__DirectiveLocation:function(){return D.x2},__EnumValue:function(){return D.jT},__Field:function(){return D.e_},__InputValue:function(){return D.XQ},__Schema:function(){return D.TK},__Type:function(){return D.qz},__TypeKind:function(){return D.PX},assertAbstractType:function(){return w.fU},assertCompositeType:function(){return w.M_},assertDirective:function(){return W.CO},assertEnumType:function(){return w.Zu},assertEnumValueName:function(){return ee.g},assertInputObjectType:function(){return w.U8},assertInputType:function(){return w.qT},assertInterfaceType:function(){return w.k2},assertLeafType:function(){return w.H5},assertListType:function(){return w.kS},assertName:function(){return ee.i},assertNamedType:function(){return w.rM},assertNonNullType:function(){return w.E$},assertNullableType:function(){return w.i_},assertObjectType:function(){return w.Z6},assertOutputType:function(){return w.Gt},assertScalarType:function(){return w.Pt},assertSchema:function(){return K.EO},assertType:function(){return w.p_},assertUnionType:function(){return w.rc},assertValidName:function(){return tw},assertValidSchema:function(){return h.J},assertWrappingType:function(){return w.vX},astFromValue:function(){return tc.J},buildASTSchema:function(){return tt},buildClientSchema:function(){return tP.Z},buildSchema:function(){return tn},coerceInputValue:function(){return tB.K},concatAST:function(){return tb},createSourceEventStream:function(){return ed},defaultFieldResolver:function(){return Q},defaultTypeResolver:function(){return X},doTypesOverlap:function(){return tq.zR},execute:function(){return x},executeSync:function(){return L},extendSchema:function(){return e3},findBreakingChanges:function(){return tR},findDangerousChanges:function(){return tk},formatError:function(){return _.Z},getArgumentValues:function(){return R.LX},getDirectiveValues:function(){return R.zu},getEnterLeaveForKind:function(){return es.Eu},getIntrospectionQuery:function(){return e1.K},getLocation:function(){return en.k},getNamedType:function(){return w.xC},getNullableType:function(){return w.tf},getOperationAST:function(){return eZ},getOperationRootType:function(){return e0},getVariableValues:function(){return R.QF},getVisitFn:function(){return es.CK},graphql:function(){return z},graphqlSync:function(){return Y},introspectionFromSchema:function(){return e2},introspectionTypes:function(){return D.nL},isAbstractType:function(){return w.m0},isCompositeType:function(){return w.Gv},isConstValueNode:function(){return el.Of},isDefinitionNode:function(){return el.Ir},isDirective:function(){return W.wX},isEnumType:function(){return w.EM},isEqualType:function(){return tq._7},isExecutableDefinitionNode:function(){return el.Wk},isInputObjectType:function(){return w.hL},isInputType:function(){return w.j$},isInterfaceType:function(){return w.oT},isIntrospectionType:function(){return D.s9},isLeafType:function(){return w.UT},isListType:function(){return w.HG},isNamedType:function(){return w.Zs},isNonNullType:function(){return w.zM},isNullableType:function(){return w.zP},isObjectType:function(){return w.lp},isOutputType:function(){return w.SZ},isRequiredArgument:function(){return w.dK},isRequiredInputField:function(){return w.Wd},isScalarType:function(){return w.KA},isSchema:function(){return K.nN},isSelectionNode:function(){return el.pO},isSpecifiedDirective:function(){return W.xg},isSpecifiedScalarType:function(){return Z.u1},isType:function(){return w.P9},isTypeDefinitionNode:function(){return el.zT},isTypeExtensionNode:function(){return el.D$},isTypeNode:function(){return el.VB},isTypeSubTypeOf:function(){return tq.uJ},isTypeSystemDefinitionNode:function(){return el.G4},isTypeSystemExtensionNode:function(){return el.aU},isUnionType:function(){return w.EN},isValidNameError:function(){return tD},isValueNode:function(){return el.nr},isWrappingType:function(){return w.fw},lexicographicSortSchema:function(){return to},locatedError:function(){return I},parse:function(){return f.Qc},parseConstValue:function(){return f.tl},parseType:function(){return f.gZ},parseValue:function(){return f.H2},print:function(){return ea.S},printError:function(){return _.OS},printIntrospectionSchema:function(){return td},printLocation:function(){return er.Q},printSchema:function(){return tp}
9,printSourceLocation:function(){return er.z},printType:function(){return tm},resolveObjMapThunk:function(){return w.WB},resolveReadonlyArrayThunk:function(){return w._9},responsePathAsArray:function(){return g.N},separateOperations:function(){return tI},specifiedDirectives:function(){return W.V4},specifiedRules:function(){return ey.i},specifiedScalarTypes:function(){return Z.HS},stripIgnoredCharacters:function(){return tS},subscribe:function(){return ep},syntaxError:function(){return eW.h},typeFromAST:function(){return tj._},validate:function(){return m.Gu},validateSchema:function(){return h.F},valueFromAST:function(){return e7.u},valueFromASTUntyped:function(){return tU.M},version:function(){return i},versionInfo:function(){return o},visit:function(){return es.Vn},visitInParallel:function(){return es.j1},visitWithTypeInfo:function(){return tG.y}});let i="16.8.1",o=Object.freeze({major:16,minor:8,patch:1,preReleaseTag:null});var a,s,u,l,c,p=n(37826);function d(e){return"function"==typeof(null==e?void 0:e.then)}var f=n(84275),h=n(19655),m=n(24635),y=n(47820),E=n(29551),v=n(93831),T=n(88495),g=n(79380);function N(e){return Promise.all(Object.values(e)).then(t=>{let n=Object.create(null);for(let[r,i]of Object.keys(e).entries())n[i]=t[r];return n})}var _=n(28087);class b extends Error{constructor(e){super("Unexpected error value: "+(0,y.X)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function I(e,t,n){var r;let i=e instanceof Error?e:new b(e);return Array.isArray(i.path)?i:new _.__(i.message,{nodes:null!==(r=i.nodes)&&void 0!==r?r:t,source:i.source,positions:i.positions,path:n,originalError:i})}var O=n(72380),S=n(97359),w=n(4454),D=n(52433),A=n(97677),R=n(66422);let k=(a=(e,t,n)=>(0,A.w)(e.schema,e.fragments,e.variableValues,t,n),function(e,t,n){void 0===r&&(r=new WeakMap);let i=r.get(e);void 0===i&&(i=new WeakMap,r.set(e,i));let o=i.get(t);void 0===o&&(o=new WeakMap,i.set(t,o));let s=o.get(n);return void 0===s&&(s=a(e,t,n),o.set(n,s)),s});function x(e){arguments.length<2||(0,p.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:t,document:n,variableValues:r,rootValue:i}=e;$(t,n,r);let o=F(e);if(!("schema"in o))return{errors:o};try{let{operation:e}=o,t=function(e,t,n){let r=e.schema.getRootType(t.operation);if(null==r)throw new _.__(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});let i=(0,A.g)(e.schema,e.fragments,e.variableValues,r,t.selectionSet),o=void 0;switch(t.operation){case O.ku.QUERY:return M(e,r,n,o,i);case O.ku.MUTATION:return function(e,t,n){let r=n;for(let n of e)r=d(r)?r.then(e=>t(e,n)):t(r,n);return r}(i.entries(),(t,[i,a])=>{let s=(0,g.Q)(o,i,r.name),u=V(e,r,n,a,s);return void 0===u?t:d(u)?u.then(e=>(t[i]=e,t)):(t[i]=u,t)},Object.create(null));case O.ku.SUBSCRIPTION:return M(e,r,n,o,i)}}(o,e,i);if(d(t))return t.then(e=>C(e,o.errors),e=>(o.errors.push(e),C(null,o.errors)));return C(t,o.errors)}catch(e){return o.errors.push(e),C(null,o.errors)}}function L(e){let t=x(e);if(d(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function C(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function $(e,t,n){t||(0,p.a)(!1,"Must provide document."),(0,h.J)(e),null==n||(0,T.y)(n)||(0,p.a)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function F(e){var t,n;let r;let{schema:i,document:o,rootValue:a,contextValue:s,variableValues:u,operationName:l,fieldResolver:c,typeResolver:p,subscribeFieldResolver:d}=e,f=Object.create(null);for(let e of o.definitions)switch(e.kind){case S.h.OPERATION_DEFINITION:if(null==l){if(void 0!==r)return[new _.__("Must provide operation name if query contains multiple operations.")];r=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===l&&(r=e);break;case S.h.FRAGMENT_DEFINITION:f[e.name.value]=e}if(!r)return null!=l?[new _.__(`Unknown operation named "${l}".`)]:[new _.__("Must provide an operation.")];let h=null!==(n=r.variableDefinitions)&&void 0!==n?n:[],m=(0,R.QF)(i,h,null!=u?u:{},{maxErrors:50});return m.errors?m.errors:{schema:i,fragments:f,rootValue:a,contextValue:s,operation:r,variableValues:m.coerced,fieldResolver:null!=c?c:Q,typeResolver:null!=p?p:X,subscribeFieldResolver:null!=d?d:Q,errors:[]}}function M(e,t,n,r,i){let o=Object.create(null),a=!1;try{for(let[s,u]of i.entries()){let i=(0,g.Q)(r,s,t.name),l=V(e,t,n,u,i);void 0!==l&&(o[s]=l,d(l)&&(a=!0))}}catch(e){if(a)return N(o).finally(()=>{throw e});throw e}return a?N(o):o}function V(e,t,n,r,i){var o;let a=H(e.schema,t,r[0]);if(!a)return;let s=a.type,u=null!==(o=a.resolve)&&void 0!==o?o:e.fieldResolver,l=P(e,a,r,t,i);try{let t;let o=(0,R.LX)(a,r[0],e.variableValues),c=e.contextValue,p=u(n,o,c,l);if(t=d(p)?p.then(t=>U(e,s,r,l,i,t)):U(e,s,r,l,i,p),d(t))return t.then(void 0,t=>{let n=I(t,r,(0,g.N)(i));return j(n,s,e)});return t}catch(t){return j(I(t,r,(0,g.N)(i)),s,e)}}function P(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function j(e,t,n){if((0,w.zM)(t))throw e;return n.errors.push(e),null}function U(e,t,n,r,i,o){if(o instanceof Error)throw o;if((0,w.zM)(t)){let a=U(e,t.ofType,n,r,i,o);if(null===a)throw Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);return a}return null==o?null:(0,w.HG)(t)?function(e,t,n,r,i,o){if(!(0,v.i)(o))throw new _.__(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);let a=t.ofType,s=!1,u=Array.from(o,(t,o)=>{let u=(0,g.Q)(i,o,void 0);try{let i;if(i=d(t)?t.then(t=>U(e,a,n,r,u,t)):U(e,a,n,r,u,t),d(i))return s=!0,i.then(void 0,t=>{let r=I(t,n,(0,g.N)(u));return j(r,a,e)});return i}catch(t){return j(I(t,n,(0,g.N)(u)),a,e)}});return s?Promise.all(u):u}(e,t,n,r,i,o):(0,w.UT)(t)?function(e,t){let n=e.serialize(t);if(null==n)throw Error(`Expected \`${(0,y.X)(e)}.serialize(${(0,y.X)(t)})\` to return non-nullable value, returned: ${(0,y.X)(n)}`);return n}(t,o):(0,w.m0)(t)?function(e,t,n,r,i,o){var a;let s=(null!==(a=t.resolveType)&&void 0!==a?a:e.typeResolver)(o,e.contextValue,r,t);return d(s)?s.then(a=>B(e,G(a,e,t,n,r,o),n,r,i,o)):B(e,G(s,e,t,n,r,o),n,r,i,o)}(e,t,n,r,i,o):(0,w.lp)(t)?B(e,t,n,r,i,o):void(0,E.k)(!1,"Cannot complete value of unexpected output type: "+(0,y.X)(t))}function G(e,t,n,r,i,o){if(null==e)throw new _.__(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,r);if((0,w.lp)(e))throw new _.__("Support for returning GraphQLObjectType from resolveType was removed in [email protected] please return type name instead.");if("string"!=typeof e)throw new _.__(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${(0,y.X)(o)}, received "${(0,y.X)(e)}".`);let a=t.schema.getType(e);if(null==a)throw new _.__(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:r});if(!(0,w.lp)(a))throw new _.__(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:r});if(!t.schema.isSubType(n,a))throw new _.__(`Runtime Object type "${a.name}" is not a possible type for "${n.name}".`,{nodes:r});return a}function B(e,t,n,r,i,o){let a=k(e,t,n);if(t.isTypeOf){let s=t.isTypeOf(o,e.contextValue,r);if(d(s))return s.then(r=>{if(!r)throw q(t,o,n);return M(e,t,o,i,a)});if(!s)throw q(t,o,n)}return M(e,t,o,i,a)}function q(e,t,n){return new _.__(`Expected value of type "${e.name}" but got: ${(0,y.X)(t)}.`,{nodes:n})}let X=function(e,t,n,r){if((0,T.y)(e)&&"string"==typeof e.__typename)return e.__typename;let i=n.schema.getPossibleTypes(r),o=[];for(let r=0;r<i.length;r++){let a=i[r];if(a.isTypeOf){let i=a.isTypeOf(e,t,n);if(d(i))o[r]=i;else if(i)return a.name}}if(o.length)return Promise.all(o).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name})},Q=function(e,t,n,r){if((0,T.y)(e)||"function"==typeof e){let i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function H(e,t,n){let r=n.name.value;return r===D.Az.name&&e.getQueryType()===t?D.Az:r===D.tF.name&&e.getQueryType()===t?D.tF:r===D.hU.name?D.hU:t.getFields()[r]}function z(e){return new Promise(t=>t(J(e)))}function Y(e){let t=J(e);if(d(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function J(e){let t;arguments.length<2||(0,p.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:n,source:r,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:u,typeResolver:l}=e,c=(0,h.F)(n);if(c.length>0)return{errors:c};try{t=(0,f.Qc)(r)}catch(e){return{errors:[e]}}let d=(0,m.Gu)(n,t);return d.length>0?{errors:d}
9:x({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:u,typeResolver:l})}var K=n(59678),W=n(68238),Z=n(3801),ee=n(96303),et=n(7926),en=n(57867),er=n(90850),ei=n(92105),eo=n(74635),ea=n(16918),es=n(77304),eu=n(99878),el=n(75844);function ec(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function ep(e){arguments.length<2||(0,p.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let t=await ed(e);return ec(t)?function(e,t){let n=e[Symbol.asyncIterator]();async function r(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(e){if("function"==typeof n.return)try{await n.return()}catch(e){}throw e}}return{next:async()=>r(await n.next()),return:async()=>"function"==typeof n.return?r(await n.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof n.throw)return r(await n.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(t,t=>x({...e,rootValue:t})):t}async function ed(...e){let t=function(e){let t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:n,document:r,variableValues:i}=t;$(n,r,i);let o=F(t);if(!("schema"in o))return{errors:o};try{let e=await ef(o);if(!ec(e))throw Error(`Subscription field must return Async Iterable. Received: ${(0,y.X)(e)}.`);return e}catch(e){if(e instanceof _.__)return{errors:[e]};throw e}}async function ef(e){let{schema:t,fragments:n,operation:r,variableValues:i,rootValue:o}=e,a=t.getSubscriptionType();if(null==a)throw new _.__("Schema is not configured to execute subscription operation.",{nodes:r});let[s,u]=[...(0,A.g)(t,n,i,a,r.selectionSet).entries()][0],l=H(t,a,u[0]);if(!l){let e=u[0].name.value;throw new _.__(`The subscription field "${e}" is not defined.`,{nodes:u})}let c=(0,g.Q)(void 0,s,a.name),p=P(e,l,u,a,c);try{var d;let t=(0,R.LX)(l,u[0],i),n=e.contextValue,r=null!==(d=l.subscribe)&&void 0!==d?d:e.subscribeFieldResolver,a=await r(o,t,n,p);if(a instanceof Error)throw a;return a}catch(e){throw I(e,u,(0,g.N)(c))}}function eh(e){return{Field(t){let n=(0,w.xC)(e.getType());n&&(0,D.s9)(n)&&e.reportError(new _.__(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}var em=n(32734),ey=n(24196),eE=n(88081),ev=n(48741),eT=n(77143),eg=n(47815),eN=n(84873),e_=n(5311),eb=n(25580),eI=n(27898),eO=n(91422),eS=n(14790),ew=n(81294),eD=n(72283),eA=n(54203),eR=n(63259),ek=n(61967),ex=n(41954),eL=n(10423),eC=n(42266),e$=n(96300),eF=n(45591),eM=n(92767),eV=n(82621),eP=n(1564),ej=n(19831),eU=n(45972),eG=n(9701),eB=n(52877),eq=n(77990),eX=n(69538),eQ=n(93201),eH=n(22618),ez=n(12337),eY=n(53274),eJ=n(34800),eK=n(15394),eW=n(45219);function eZ(e,t){let n=null;for(let i of e.definitions)if(i.kind===S.h.OPERATION_DEFINITION){var r;if(null==t){if(n)return null;n=i}else if((null===(r=i.name)||void 0===r?void 0:r.value)===t)return i}return n}function e0(e,t){if("query"===t.operation){let n=e.getQueryType();if(!n)throw new _.__("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){let n=e.getMutationType();if(!n)throw new _.__("Schema is not configured for mutations.",{nodes:t});return n}if("subscription"===t.operation){let n=e.getSubscriptionType();if(!n)throw new _.__("Schema is not configured for subscriptions.",{nodes:t});return n}throw new _.__("Can only have query, mutation and subscription operations.",{nodes:t})}var e1=n(82254);function e2(e,t){let n={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...t},r=L({schema:e,document:(0,f.Qc)((0,e1.K)(n))});return!r.errors&&r.data||(0,E.k)(!1),r.data}var e8=n(73498),e4=n(95723),e7=n(58081);function e3(e,t,n){(0,K.EO)(e),null!=t&&t.kind===S.h.DOCUMENT||(0,p.a)(!1,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&(0,m.ED)(t,e);let r=e.toConfig(),i=e9(r,t,n);return r===i?e:new K.XO(i)}function e9(e,t,n){var r,i,o,a,s;let u;let l=[],c=Object.create(null),p=[],d=[];for(let e of t.definitions)if(e.kind===S.h.SCHEMA_DEFINITION)u=e;else if(e.kind===S.h.SCHEMA_EXTENSION)d.push(e);else if((0,el.zT)(e))l.push(e);else if((0,el.D$)(e)){let t=e.name.value,n=c[t];c[t]=n?n.concat([e]):[e]}else e.kind===S.h.DIRECTIVE_DEFINITION&&p.push(e);if(0===Object.keys(c).length&&0===l.length&&0===p.length&&0===d.length&&null==u)return e;let f=Object.create(null);for(let t of e.types)f[t.name]=(0,D.s9)(t)||(0,Z.u1)(t)?t:(0,w.KA)(t)?function(e){var t,n;let r=e.toConfig(),i=null!==(t=c[r.name])&&void 0!==t?t:[],o=r.specifiedByURL;for(let e of i)o=null!==(n=te(e))&&void 0!==n?n:o;return new w.n2({...r,specifiedByURL:o,extensionASTNodes:r.extensionASTNodes.concat(i)})}(t):(0,w.lp)(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new w.h6({...n,interfaces:()=>[...e.getInterfaces().map(v),...k(r)],fields:()=>({...(0,e4.j)(n.fields,T),...I(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):(0,w.oT)(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new w.oW({...n,interfaces:()=>[...e.getInterfaces().map(v),...k(r)],fields:()=>({...(0,e4.j)(n.fields,T),...I(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):(0,w.EN)(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new w.Gp({...n,types:()=>[...e.getTypes().map(v),...x(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):(0,w.EM)(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[e.name])&&void 0!==t?t:[];return new w.mR({...n,values:{...n.values,...R(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):(0,w.hL)(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=c[n.name])&&void 0!==t?t:[];return new w.sR({...n,fields:()=>({...(0,e4.j)(n.fields,e=>({...e,type:m(e.type)})),...A(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):void(0,E.k)(!1,"Unexpected type: "+(0,y.X)(t));for(let e of l){let t=e.name.value;f[t]=null!==(s=e5[t])&&void 0!==s?s:function(e){var t,n,r,i,o,a,s;let u=e.name.value,l=null!==(t=c[u])&&void 0!==t?t:[];switch(e.kind){case S.h.OBJECT_TYPE_DEFINITION:{let t=[e,...l];return new w.h6({name:u,description:null===(n=e.description)||void 0===n?void 0:n.value,interfaces:()=>k(t),fields:()=>I(t),astNode:e,extensionASTNodes:l})}case S.h.INTERFACE_TYPE_DEFINITION:{let t=[e,...l];return new w.oW({name:u,description:null===(r=e.description)||void 0===r?void 0:r.value,interfaces:()=>k(t),fields:()=>I(t),astNode:e,extensionASTNodes:l})}case S.h.ENUM_TYPE_DEFINITION:{let t=[e,...l];return new w.mR({name:u,description:null===(i=e.description)||void 0===i?void 0:i.value,values:R(t),astNode:e,extensionASTNodes:l})}case S.h.UNION_TYPE_DEFINITION:{let t=[e,...l];return new w.Gp({name:u,description:null===(o=e.description)||void 0===o?void 0:o.value,types:()=>x(t),astNode:e,extensionASTNodes:l})}case S.h.SCALAR_TYPE_DEFINITION:return new w.n2({name:u,description:null===(a=e.description)||void 0===a?void 0:a.value,specifiedByURL:te(e),astNode:e,extensionASTNodes:l});case S.h.INPUT_OBJECT_TYPE_DEFINITION:{let t=[e,...l];return new w.sR({name:u,description:null===(s=e.description)||void 0===s?void 0:s.value,fields:()=>A(t),astNode:e,extensionASTNodes:l})}}}(e)}let h={query:e.query&&v(e.query),mutation:e.mutation&&v(e.mutation),subscription:e.subscription&&v(e.subscription),...u&&N([u]),...N(d)};return{description:null===(r=u)||void 0===r?void 0:null===(i=r.description)||void 0===i?void 0:i.value,...h,types:Object.values(f),directives:[...e.directives.map(function(e){let t=e.toConfig();return new W.NZ({...t,args:(0,e4.j)(t.args,g)})}),...p.map(function(e){var t;return new W.NZ({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:O(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!==(o=u)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(d),assumeValid:null!==(a=null==n?void 0:n.assumeValid)&&void 0!==a&&a};function m(e){return(0,w.HG)(e)?new w.p2(m(e.ofType)):(0,w.zM)(e)?new w.bM(m(e.ofType)):v(e)}function v(e){return f[e.name]}function T(e){return{...e,type:m(e.type),args:e.args&&(0,e4.j)(e.args,g)}}function g(e){return{...e,type:m(e.type)}}function N(e){let t={};for(let r of e){var n;for(let e of null!==(n=r.operationTypes)&&void 0!==n?n:[])t[e.operation]=_(e.type)}return t}function _(e){var t;let n=e.name.value,r=null!==(t=e5[n])&&void 0!==t?t:f[n];if(void 0===r)throw Error(`Unknown type: "${n}".`);return r}function b(e){return e.kind===S.h.LIST_TYPE?new w.p2(b(e.type)):e.kind===S.h.NON_NULL_TYPE?new w.bM(b(e.type)):_(e)}function I(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[])t[e.name.value]={type:b(e.type),description:null===(r=e.description)||void 0===r?void 0:r.value,args:O(e.arguments),deprecationReason:e6(e),astNode:e}}return t}function O(e){let t=Object.create(null);for(let r of null!=e?e:[]){var n;let e=b(r.type);t[r.name.value]={type:e,description:null===(n=r.description)||void 0===n?void 0:n.value,defaultValue:(0,e7.u)(r.defaultValue,e),deprecationReason:e6(r),astNode:r}}return t}function A(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[]){let n=b(e.type);t[e.name.value]={type:n,description:null===(r=e.description)||void 0===r?void 0:r.value,defaultValue:(0,e7.u)(e.defaultValue,n),deprecationReason:e6(e),astNode:e}}}return t}function R(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.values)&&void 0!==n?n:[])t[e.name.value]={description:null===(r=e.description)||void 0===r?void 0:r.value,deprecationReason:e6(e),astNode:e}}return t}function k(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.interfaces)||void 0===n?void 0:n.map(_))&&void 0!==t?t:[]})}function x(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.types)||void 0===n?void 0:n.map(_))&&void 0!==t?t:[]})}}let e5=(0,e8.P)([...Z.HS,...D.nL],e=>e.name);function e6(e){let t=(0,R.zu)(W.fg,e);return null==t?void 0:t.reason}function te(e){let t=(0,R.zu)(W.df,e);return null==t?void 0:t.url}function tt(e,t){null!=e&&e.kind===S.h.DOCUMENT||(0,p.a)(!1,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&(0,m.zo)(e);let n=e9({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(let e of n.types)switch(e.name){case"Query":n.query=e;break;case"Mutation":n.mutation=e;break;case"Subscription":n.subscription=e}let r=[...n.directives,...W.V4.filter(e=>n.directives.every(t=>t.name!==e.name))];return new K.XO({...n,directives:r})}function tn(e,t){return tt((0,f.Qc)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}var tr=n(54950),ti=n(8224);function to(e){var t,n,r;let i=e.toConfig(),o=(0,tr.w)(ts(i.types),e=>e.name,function(e){if((0,w.KA)(e)||(0,D.s9)(e))return e;if((0,w.lp)(e)){let t=e.toConfig();return new w.h6({...t,interfaces:()=>c(t.interfaces),fields:()=>l(t.fields)})}if((0,w.oT)(e)){let t=e.toConfig();return new w.oW({...t,interfaces:()=>c(t.interfaces),fields:()=>l(t.fields)})}if((0,w.EN)(e)){let t=e.toConfig();return new w.Gp({...t,types:()=>c(t.types)})}if((0,w.EM)(e)){let t=e.toConfig();return new w.mR({...t,values:ta(t.values,e=>e)})}if((0,w.hL)(e)){let t=e.toConfig();return new w.sR({...t,fields:()=>ta(t.fields,e=>({...e,type:a(e.type)}))})}(0,E.k)(!1,"Unexpected type: "+(0,y.X)(e))});return new K.XO({...i,types:Object.values(o),directives:ts(i.directives).map(function(e){let t=e.toConfig();return new W.NZ({...t,locations:tu(t.locations,e=>e),args:u(t.args)})}),query:(t=i.query)&&s(t),mutation:(n=i.mutation)&&s(n),subscription:(r=i.subscription)&&s(r)});function a(e){return(0,w.HG)(e)?new w.p2(a(e.ofType)):(0,w.zM)(e)?new w.bM(a(e.ofType)):s(e)}function s(e){return o[e.name]}function u(e){return ta(e,e=>({...e,type:a(e.type)}))}function l(e){return ta(e,e=>({...e,type:a(e.type),args:e.args&&u(e.args)}))}function c(e){return ts(e).map(s)}}function ta(e,t){let n=Object.create(null);for(let r of Object.keys(e).sort(ti.K))n[r]=t(e[r]);return n}function ts(e){return tu(e,e=>e.name)}
9function tu(e,t){return e.slice().sort((e,n)=>{let r=t(e),i=t(n);return(0,ti.K)(r,i)})}var tl=n(87392),tc=n(78631);function tp(e){return th(e,e=>!(0,W.xg)(e),tf)}function td(e){return th(e,W.xg,D.s9)}function tf(e){return!(0,Z.u1)(e)&&!(0,D.s9)(e)}function th(e,t,n){let r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[function(e){if(null==e.description&&function(e){let t=e.getQueryType();if(t&&"Query"!==t.name)return!1;let n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;let r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e))return;let t=[],n=e.getQueryType();n&&t.push(`  query: ${n.name}`);let r=e.getMutationType();r&&t.push(`  mutation: ${r.name}`);let i=e.getSubscriptionType();return i&&t.push(`  subscription: ${i.name}`),t_(e)+`schema {
10${t.join("\n")}
11}`}(e),...r.map(e=>t_(e)+"directive @"+e.name+tT(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")),...i.map(e=>tm(e))].filter(Boolean).join("\n\n")}function tm(e){return(0,w.KA)(e)?t_(e)+`scalar ${e.name}`+function(e){if(null==e.specifiedByURL)return"";let t=(0,ea.S)({kind:S.h.STRING,value:e.specifiedByURL});return` @specifiedBy(url: ${t})`}(e):(0,w.lp)(e)?t_(e)+`type ${e.name}`+ty(e)+tE(e):(0,w.oT)(e)?t_(e)+`interface ${e.name}`+ty(e)+tE(e):(0,w.EN)(e)?function(e){let t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return t_(e)+"union "+e.name+n}(e):(0,w.EM)(e)?function(e){let t=e.getValues().map((e,t)=>t_(e,"  ",!t)+"  "+e.name+tN(e.deprecationReason));return t_(e)+`enum ${e.name}`+tv(t)}(e):(0,w.hL)(e)?function(e){let t=Object.values(e.getFields()).map((e,t)=>t_(e,"  ",!t)+"  "+tg(e));return t_(e)+`input ${e.name}`+tv(t)}(e):void(0,E.k)(!1,"Unexpected type: "+(0,y.X)(e))}function ty(e){let t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function tE(e){return tv(Object.values(e.getFields()).map((e,t)=>t_(e,"  ",!t)+"  "+e.name+tT(e.args,"  ")+": "+String(e.type)+tN(e.deprecationReason)))}function tv(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function tT(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(tg).join(", ")+")":"(\n"+e.map((e,n)=>t_(e,"  "+t,!n)+"  "+t+tg(e)).join("\n")+"\n"+t+")"}function tg(e){let t=(0,tc.J)(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=` = ${(0,ea.S)(t)}`),n+tN(e.deprecationReason)}function tN(e){if(null==e)return"";if(e!==W.SY){let t=(0,ea.S)({kind:S.h.STRING,value:e});return` @deprecated(reason: ${t})`}return" @deprecated"}function t_(e,t="",n=!0){let{description:r}=e;return null==r?"":(t&&!n?"\n"+t:t)+(0,ea.S)({kind:S.h.STRING,value:r,block:(0,tl.MZ)(r)}).replace(/\n/g,"\n"+t)+"\n"}function tb(e){let t=[];for(let n of e)t.push(...n.definitions);return{kind:S.h.DOCUMENT,definitions:t}}function tI(e){let t=[],n=Object.create(null);for(let r of e.definitions)switch(r.kind){case S.h.OPERATION_DEFINITION:t.push(r);break;case S.h.FRAGMENT_DEFINITION:n[r.name.value]=tO(r.selectionSet)}let r=Object.create(null);for(let i of t){let t=new Set;for(let e of tO(i.selectionSet))!function e(t,n,r){if(!t.has(r)){t.add(r);let i=n[r];if(void 0!==i)for(let r of i)e(t,n,r)}}(t,n,e);r[i.name?i.name.value:""]={kind:S.h.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===S.h.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return r}function tO(e){let t=[];return(0,es.Vn)(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function tS(e){let t=(0,et.T)(e)?e:new et.H(e),n=t.body,r=new ei.h(t),i="",o=!1;for(;r.advance().kind!==eo.T.EOF;){let e=r.token,t=e.kind,a=!(0,ei.u)(e.kind);o&&(a||e.kind===eo.T.SPREAD)&&(i+=" ");let s=n.slice(e.start,e.end);t===eo.T.BLOCK_STRING?i+=(0,tl.LZ)(e.value,{minimize:!0}):i+=s,o=a}return i}function tw(e){let t=tD(e);if(t)throw t;return e}function tD(e){if("string"==typeof e||(0,p.a)(!1,"Expected name to be a string."),e.startsWith("__"))return new _.__(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{(0,ee.i)(e)}catch(e){return e}}var tA=n(38360);function tR(e,t){return tx(e,t).filter(e=>e.type in l)}function tk(e,t){return tx(e,t).filter(e=>e.type in c)}function tx(e,t){return[...function(e,t){let n=[],r=tV(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(let e of r.removed)n.push({type:l.TYPE_REMOVED,description:(0,Z.u1)(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(let[e,t]of r.persisted)(0,w.EM)(e)&&(0,w.EM)(t)?n.push(...function(e,t){let n=[],r=tV(e.getValues(),t.getValues());for(let t of r.added)n.push({type:c.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(let t of r.removed)n.push({type:l.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return n}(e,t)):(0,w.EN)(e)&&(0,w.EN)(t)?n.push(...function(e,t){let n=[],r=tV(e.getTypes(),t.getTypes());for(let t of r.added)n.push({type:c.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(let t of r.removed)n.push({type:l.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return n}(e,t)):(0,w.hL)(e)&&(0,w.hL)(t)?n.push(...function(e,t){let n=[],r=tV(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.added)(0,w.Wd)(t)?n.push({type:l.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):n.push({type:c.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(let t of r.removed)n.push({type:l.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)t$(t.type,i.type)||n.push({type:l.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}(e,t)):(0,w.lp)(e)&&(0,w.lp)(t)?n.push(...tC(e,t),...tL(e,t)):(0,w.oT)(e)&&(0,w.oT)(t)?n.push(...tC(e,t),...tL(e,t)):e.constructor!==t.constructor&&n.push({type:l.TYPE_CHANGED_KIND,description:`${e.name} changed from ${tF(e)} to ${tF(t)}.`});return n}(e,t),...function(e,t){let n=[],r=tV(e.getDirectives(),t.getDirectives());for(let e of r.removed)n.push({type:l.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(let[e,t]of r.persisted){let r=tV(e.args,t.args);for(let t of r.added)(0,w.dK)(t)&&n.push({type:l.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(let t of r.removed)n.push({type:l.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});for(let r of(e.isRepeatable&&!t.isRepeatable&&n.push({type:l.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`}),e.locations))t.locations.includes(r)||n.push({type:l.DIRECTIVE_LOCATION_REMOVED,description:`${r} was removed from ${e.name}.`})}return n}(e,t)]}function tL(e,t){let n=[],r=tV(e.getInterfaces(),t.getInterfaces());
11for(let t of r.added)n.push({type:c.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(let t of r.removed)n.push({type:l.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return n}function tC(e,t){let n=[],r=tV(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.removed)n.push({type:l.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)n.push(...function(e,t,n){let r=[],i=tV(t.args,n.args);for(let n of i.removed)r.push({type:l.ARG_REMOVED,description:`${e.name}.${t.name} arg ${n.name} was removed.`});for(let[n,o]of i.persisted)if(t$(n.type,o.type)){if(void 0!==n.defaultValue){if(void 0===o.defaultValue)r.push({type:c.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} defaultValue was removed.`});else{let i=tM(n.defaultValue,n.type),a=tM(o.defaultValue,o.type);i!==a&&r.push({type:c.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} has changed defaultValue from ${i} to ${a}.`})}}}else r.push({type:l.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${n.name} has changed type from ${String(n.type)} to ${String(o.type)}.`});for(let n of i.added)(0,w.dK)(n)?r.push({type:l.REQUIRED_ARG_ADDED,description:`A required arg ${n.name} on ${e.name}.${t.name} was added.`}):r.push({type:c.OPTIONAL_ARG_ADDED,description:`An optional arg ${n.name} on ${e.name}.${t.name} was added.`});return r}(e,t,i)),!function e(t,n){return(0,w.HG)(t)?(0,w.HG)(n)&&e(t.ofType,n.ofType)||(0,w.zM)(n)&&e(t,n.ofType):(0,w.zM)(t)?(0,w.zM)(n)&&e(t.ofType,n.ofType):(0,w.Zs)(n)&&t.name===n.name||(0,w.zM)(n)&&e(t,n.ofType)}(t.type,i.type)&&n.push({type:l.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}function t$(e,t){return(0,w.HG)(e)?(0,w.HG)(t)&&t$(e.ofType,t.ofType):(0,w.zM)(e)?(0,w.zM)(t)&&t$(e.ofType,t.ofType)||!(0,w.zM)(t)&&t$(e.ofType,t):(0,w.Zs)(t)&&e.name===t.name}function tF(e){return(0,w.KA)(e)?"a Scalar type":(0,w.lp)(e)?"an Object type":(0,w.oT)(e)?"an Interface type":(0,w.EN)(e)?"a Union type":(0,w.EM)(e)?"an Enum type":(0,w.hL)(e)?"an Input type":void(0,E.k)(!1,"Unexpected type: "+(0,y.X)(e))}function tM(e,t){let n=(0,tc.J)(e,t);return null!=n||(0,E.k)(!1),(0,ea.S)((0,tA.n)(n))}function tV(e,t){let n=[],r=[],i=[],o=(0,e8.P)(e,({name:e})=>e),a=(0,e8.P)(t,({name:e})=>e);for(let t of e){let e=a[t.name];void 0===e?r.push(t):i.push([t,e])}for(let e of t)void 0===o[e.name]&&n.push(e);return{added:n,persisted:i,removed:r}}(s=l||(l={})).TYPE_REMOVED="TYPE_REMOVED",s.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",s.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",s.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",s.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",s.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",s.FIELD_REMOVED="FIELD_REMOVED",s.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",s.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",s.ARG_REMOVED="ARG_REMOVED",s.ARG_CHANGED_KIND="ARG_CHANGED_KIND",s.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",s.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",s.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",s.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",s.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED",(u=c||(c={})).VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",u.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",u.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",u.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",u.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",u.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE";
11var tP=n(99120),tj=n(30077),tU=n(12319),tG=n(22676),tB=n(27816),tq=n(90316)},79380:function(e,t,n){"use strict";function r(e,t,n){return{prev:e,key:t,typename:n}}function i(e){let t=[],n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}n.d(t,{N:function(){return i},Q:function(){return r}})},37826:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error(t)}n.d(t,{a:function(){return r}})},53177:function(e,t,n){"use strict";function r(e,t){let[n,r]=t?[e,t]:[void 0,e],i=" Did you mean ";n&&(i+=n+" ");let o=r.map(e=>`"${e}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}let a=o.slice(0,5),s=a.pop();return i+a.join(", ")+", or "+s+"?"}n.d(t,{l:function(){return r}})},3231:function(e,t,n){"use strict";function r(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}n.d(t,{v:function(){return r}})},47820:function(e,t,n){"use strict";function r(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,n){if(null===t)return"null";if(n.includes(t))return"[Circular]";let r=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,r)}else if(Array.isArray(t))return function(t,n){if(0===t.length)return"[]";if(n.length>2)return"[Array]";let r=Math.min(10,t.length),i=t.length-r,o=[];for(let i=0;i<r;++i)o.push(e(t[i],n));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,r);return function(t,n){let r=Object.entries(t);return 0===r.length?"{}":n.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+r.map(([t,r])=>t+": "+e(r,n)).join(", ")+" }"}(t,r)}(t,n);default:return String(t)}}(e,[])}n.d(t,{X:function(){return r}})},8306:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=n(47820);let i=globalThis.process&&"production"===globalThis.process.env.NODE_ENV?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var n;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){let t=(0,r.X)(e);throw Error(`Cannot use ${i} "${t}" from another module or realm.
12
13Ensure that there is only one instance of "graphql" in the node_modules
14directory. If different versions of "graphql" are the dependencies of other
15relied on modules, use "resolutions" to ensure only one version is installed.
16
17https://yarnpkg.com/en/docs/selective-version-resolutions
18
19Duplicate "graphql" modules cannot be used at the same time since different
20versions may have different capabilities and behavior. The data from one
21version used in the function from another could produce confusing and
22spurious results.`)}}return!1}},29551:function(e,t,n){"use strict";function r(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{k:function(){return r}})},93831:function(e,t,n){"use strict";function r(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}n.d(t,{i:function(){return r}})},88495:function(e,t,n){"use strict";function r(e){return"object"==typeof e&&null!==e}n.d(t,{y:function(){return r}})},73498:function(e,t,n){"use strict";function r(e,t){let n=Object.create(null);for(let r of e)n[t(r)]=r;return n}n.d(t,{P:function(){return r}})},54950:function(e,t,n){"use strict";function r(e,t,n){let r=Object.create(null);for(let i of e)r[t(i)]=n(i);return r}n.d(t,{w:function(){return r}})},95723:function(e,t,n){"use strict";function r(e,t){let n=Object.create(null);for(let r of Object.keys(e))n[r]=t(e[r],r);return n}n.d(t,{j:function(){return r}})},8224:function(e,t,n){"use strict";function r(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let a=e.charCodeAt(n),s=t.charCodeAt(r);if(o(a)&&o(s)){let u=0;do++n,u=10*u+a-i,a=e.charCodeAt(n);while(o(a)&&u>0);let l=0;do++r,l=10*l+s-i,s=t.charCodeAt(r);while(o(s)&&l>0);if(u<l)return -1;if(u>l)return 1}else{if(a<s)return -1;if(a>s)return 1;++n,++r}}return e.length-t.length}n.d(t,{K:function(){return r}});let i=48;function o(e){return!isNaN(e)&&i<=e&&e<=57}},94244:function(e,t,n){"use strict";function r(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}n.d(t,{F:function(){return r}})},3294:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r=n(8224);function i(e,t){let n=Object.create(null),i=new o(e),a=Math.floor(.4*e.length)+1;for(let e of t){let t=i.measure(e,a);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>
22{let i=n[e]-n[t];return 0!==i?i:(0,r.K)(e,t)})}class o{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=a(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=a(n),i=this._inputArray;if(r.length<i.length){let e=r;r=i,i=e}let o=r.length,s=i.length;if(o-s>t)return;let u=this._rows;for(let e=0;e<=s;e++)u[0][e]=e;for(let e=1;e<=o;e++){let n=u[(e-1)%3],o=u[e%3],a=o[0]=e;for(let t=1;t<=s;t++){let s=r[e-1]===i[t-1]?0:1,l=Math.min(n[t]+1,o[t-1]+1,n[t-1]+s);e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]&&(l=Math.min(l,u[(e-2)%3][t-2]+1)),l<a&&(a=l),o[t]=l}if(a>t)return}let l=u[o%3][s];return l<=t?l:void 0}}function a(e){let t=e.length,n=Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}},28824:function(e,t,n){"use strict";function r(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;let t=Object.create(null);for(let[n,r]of Object.entries(e))t[n]=r;return t}n.d(t,{u:function(){return r}})},72380:function(e,t,n){"use strict";var r,i;n.d(t,{UG:function(){return l},WU:function(){return a},Ye:function(){return o},h8:function(){return s},ku:function(){return r}});class o{constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,n,r,i,o){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={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"]},u=new Set(Object.keys(s));function l(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&u.has(t)}(i=r||(r={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},87392:function(e,t,n){"use strict";n.d(t,{LZ:function(){return a},MZ:function(){return o},wv:function(){return i}});var r=n(68297);function i(e){var t,n;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=function(e){let t=0;for(;t<e.length&&(0,r.FD)(e.charCodeAt(t));)++t;return t}(s);u!==s.length&&(o=null!==(n=o)&&void 0!==n?n:t,a=t,0!==t&&u<i&&(i=u))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function o(e){if(""===e)return!0;let t=!0,n=!1,r=!0,i=!1;for(let o=0;o<e.length;++o)switch(e.codePointAt(o)){case 0:case 1:case 2:case 3:case 4:case 5:case 
226:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!i)return!1;i=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:r&&(r=n),t=!1}return!t&&(!r||!i)}function a(e,t){let n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,r.FD)(e.charCodeAt(0))),s=n.endsWith('\\"""'),u=e.endsWith('"')&&!s,l=e.endsWith("\\"),c=u||l,p=!(null!=t&&t.minimize)&&(!o||e.length>70||c||a||s),d="",f=o&&(0,r.FD)(e.charCodeAt(0));return(p&&!f||a)&&(d+="\n"),d+=n,(p||c)&&(d+="\n"),'"""'+d+'"""'}},68297:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},99878:function(e,t,n){"use strict";var r,i;n.d(t,{B:function(){return r}}),(i=r||(r={})).QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"},97359:function(e,t,n){"use strict";var r,i;n.d(t,{h:function(){return r}}),(i=r||(r={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"},92105:function(e,t,n){"use strict";n.d(t,{h:function(){return u},u:function(){return l}});var r=n(45219),i=n(72380),o=n(87392),a=n(68297),s=n(74635);class u{constructor(e){let t=new i.WU(s.T.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==s.T.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let n=e.source.body,i=n.length,u=t;for(;u<i;){let t=n.charCodeAt(u);switch(t){case 65279:case 9:case 32:case 44:++u;continue;case 10:++u,++e.line,e.lineStart=u;continue;case 13:10===n.charCodeAt(u+1)?u+=2:++u,++e.line,e.lineStart=u;continue;case 35:return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if(10===e||13===e)break;if(c(e))++i;else if(p(n,i))i+=2;else break}return m(e,s.T.COMMENT,t,i,n.slice(t+1,i))}(e,u);case 33:return m(e,s.T.BANG,u,u+1);case 36:return m(e,s.T.DOLLAR,u,u+1);case 38:return m(e,s.T.AMP,u,u+1);case 40:return m(e,s.T.PAREN_L,u,u+1);case 41:return m(e,s.T.PAREN_R,u,u+1);case 46:if(46===n.charCodeAt(u+1)&&46===n.charCodeAt(u+2))return m(e,s.T.SPREAD,u,u+3);break;case 58:return m(e,s.T.COLON,u,u+1);case 61:return m(e,s.T.EQUALS,u,u+1);case 64:return m(e,s.T.AT,u,u+1);case 91:return m(e,s.T.BRACKET_L,u,u+1);case 93:return m(e,s.T.BRACKET_R,u,u+1);case 123:return m(e,s.T.BRACE_L,u,u+1);case 124:return m(e,s.T.PIPE,u,u+1);case 125:return m(e,s.T.BRACE_R,u,u+1);case 34:if(34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2))return function(e,t){let n=e.source.body,i=n.length,a=e.lineStart,u=t+3,l=u,d="",f=[];for(;u<i;){let i=n.charCodeAt(u);if(34===i&&34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2)){d+=n.slice(l,u),f.push(d);let r=m(e,s.T.BLOCK_STRING,t,u+3,(0,o.wv)(f).join("\n"));return e.line+=f.length-1,e.lineStart=a,r}if(92===i&&34===n.charCodeAt(u+1)&&34===n.charCodeAt(u+2)&&34===n.charCodeAt(u+3)){d+=n.slice(l,u),l=u+1,u+=4;continue}if(10===i||13===i){d+=n.slice(l,u),f.push(d),13===i&&10===n.charCodeAt(u+1)?u+=2:++u,d="",l=u,a=u;continue}if(c(i))++u;else if(p(n,u))u+=2;else throw(0,r.h)(e.source,u,`Invalid character within String: ${h(e,u)}.`)}throw(0,r.h)(e.source,u,"Unterminated string.")}(e,u);return function(e,t){let n=e.source.body,i=n.length,o=t+1,a=o,u="";for(;o<i;){let i=n.charCodeAt(o);if(34===i)return u+=n.slice(a,o),m(e,s.T.STRING,t,o+1,u);if(92===i){u+=n.slice(a,o);let t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?function(e,t){let n=e.source.body,i=0,o=3;for(;o<12;){let e=n.charCodeAt(t+o++);if(125===e){if(o<5||!c(i))break;return{value:String.fromCodePoint(i),size:o}}if((i=i<<4|v(e))<0)break}throw(0,r.h)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}(e,o):function(e,t){let n=e.source.body,i=E(n,t+2);if(c(i))return{value:String.fromCodePoint(i),size:6};if(d(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){let e=E(n,t+8);if(f(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,r.h)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}(e,o):function(e,t){let n=e.source.body;switch(n.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw(0,r.h)(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}(e,o);u+=t.value,o+=t.size,a=o;continue}if(10===i||13===i)break;if(c(i))++o;else if(p(n,o))o+=2;else throw(0,r.h)(e.source,o,`Invalid character within String: ${h(e,o)}.`)}throw(0,r.h)(e.source,o,"Unterminated string.")}(e,u)}if((0,a.X1)(t)||45===t)return function(e,t,n){let i=e.source.body,o=t,u=n,l=!1;if(45===u&&(u=i.charCodeAt(++o)),48===u){if(u=i.charCodeAt(++o),(0,a.X1)(u))throw(0,r.h)(e.source,o,`Invalid number, unexpected digit after 0: ${h(e,o)}.`)}else o=y(e,o,u),u=i.charCodeAt(o);if(46===u&&(l=!0,u=i.charCodeAt(++o),o=y(e,o,u),u=i.charCodeAt(o)),(69===u||101===u)&&(l=!0,(43===(u
22=i.charCodeAt(++o))||45===u)&&(u=i.charCodeAt(++o)),o=y(e,o,u),u=i.charCodeAt(o)),46===u||(0,a.LQ)(u))throw(0,r.h)(e.source,o,`Invalid number, expected digit but got: ${h(e,o)}.`);return m(e,l?s.T.FLOAT:s.T.INT,t,o,i.slice(t,o))}(e,u,t);if((0,a.LQ)(t))return function(e,t){let n=e.source.body,r=n.length,i=t+1;for(;i<r;){let e=n.charCodeAt(i);if((0,a.HQ)(e))++i;else break}return m(e,s.T.NAME,t,i,n.slice(t,i))}(e,u);throw(0,r.h)(e.source,u,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":c(t)||p(n,u)?`Unexpected character: ${h(e,u)}.`:`Invalid character: ${h(e,u)}.`)}return m(e,s.T.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===s.T.COMMENT);return e}}function l(e){return e===s.T.BANG||e===s.T.DOLLAR||e===s.T.AMP||e===s.T.PAREN_L||e===s.T.PAREN_R||e===s.T.SPREAD||e===s.T.COLON||e===s.T.EQUALS||e===s.T.AT||e===s.T.BRACKET_L||e===s.T.BRACKET_R||e===s.T.BRACE_L||e===s.T.PIPE||e===s.T.BRACE_R}function c(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function p(e,t){return d(e.charCodeAt(t))&&f(e.charCodeAt(t+1))}function d(e){return e>=55296&&e<=56319}function f(e){return e>=56320&&e<=57343}function h(e,t){let n=e.source.body.codePointAt(t);if(void 0===n)return s.T.EOF;if(n>=32&&n<=126){let e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function m(e,t,n,r,o){let a=e.line,s=1+n-e.lineStart;return new i.WU(t,n,r,a,s,o)}function y(e,t,n){if(!(0,a.X1)(n))throw(0,r.h)(e.source,t,`Invalid number, expected digit but got: ${h(e,t)}.`);let i=e.source.body,o=t+1;for(;(0,a.X1)(i.charCodeAt(o));)++o;return o}function E(e,t){return v(e.charCodeAt(t))<<12|v(e.charCodeAt(t+1))<<8|v(e.charCodeAt(t+2))<<4|v(e.charCodeAt(t+3))}function v(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}},57867:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(29551);let i=/\r\n|[\n\r]/g;function o(e,t){let n=0,o=1;
22for(let a of e.body.matchAll(i)){if("number"==typeof a.index||(0,r.k)(!1),a.index>=t)break;n=a.index+a[0].length,o+=1}return{line:o,column:t+1-n}}},84275:function(e,t,n){"use strict";n.d(t,{H2:function(){return p},Qc:function(){return c},gZ:function(){return f},tl:function(){return d}});var r=n(45219),i=n(72380),o=n(99878),a=n(97359),s=n(92105),u=n(7926),l=n(74635);function c(e,t){return new h(e,t).parseDocument()}function p(e,t){let n=new h(e,t);n.expectToken(l.T.SOF);let r=n.parseValueLiteral(!1);return n.expectToken(l.T.EOF),r}function d(e,t){let n=new h(e,t);n.expectToken(l.T.SOF);let r=n.parseConstValueLiteral();return n.expectToken(l.T.EOF),r}function f(e,t){let n=new h(e,t);n.expectToken(l.T.SOF);let r=n.parseTypeReference();return n.expectToken(l.T.EOF),r}class h{constructor(e,t={}){let n=(0,u.T)(e)?e:new u.H(e);this._lexer=new s.h(n),this._options=t,this._tokenCounter=0}parseName(){let e=this.expectToken(l.T.NAME);return this.node(e,{kind:a.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:a.h.DOCUMENT,definitions:this.many(l.T.SOF,this.parseDefinition,l.T.EOF)})}parseDefinition(){if(this.peek(l.T.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===l.T.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()}if(e)throw(0,r.h)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){let e;let t=this._lexer.token;if(this.peek(l.T.BRACE_L))return this.node(t,{kind:a.h.OPERATION_DEFINITION,operation:i.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let n=this.parseOperationType();return this.peek(l.T.NAME)&&(e=this.parseName()),this.node(t,{kind:a.h.OPERATION_DEFINITION,operation:n,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(l.T.NAME);switch(e.value){case"query":return i.ku.QUERY;case"mutation":return i.ku.MUTATION;case"subscription":return i.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(l.T.PAREN_L,this.parseVariableDefinition,l.T.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:a.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(l.T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(l.T.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(l.T.DOLLAR),this.node(e,{kind:a.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:a.h.SELECTION_SET,selections:this.many(l.T.BRACE_L,this.parseSelection,l.T.BRACE_R)})}parseSelection(){return this.peek(l.T.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t;let n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(l.T.COLON)?(e=r,t=this.parseName()):t=r,this.node(n,{kind:a.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(l.T.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(l.T.PAREN_L,t,l.T.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,n=this.parseName();return this.expectToken(l.T.COLON),this.node(t,{kind:a.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(l.T.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(l.T.NAME)?this.node(e,{kind:a.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:a.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token;return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:a.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:a.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case l.T.BRACKET_L:return this.parseList(e);case l.T.BRACE_L:return this.parseObject(e);case l.T.INT:return this.advanceLexer(),this.node(t,{kind:a.h.INT,value:t.value});case l.T.FLOAT:return this.advanceLexer(),this.node(t,{kind:a.h.FLOAT,value:t.value});case l.T.STRING:case l.T.BLOCK_STRING:return this.parseStringLiteral();case l.T.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:a.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:a.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:a.h.NULL});default:return this.node(t,{kind:a.h.ENUM,value:t.value})}case l.T.DOLLAR:if(e){if(this.expectToken(l.T.DOLLAR),this._lexer.token.kind===l.T.NAME){let e=this._lexer.token.value;throw(0,r.h)(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:a.h.STRING,value:e.value,block:e.kind===l.T.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:a.h.LIST,values:this.any(l.T.BRACKET_L,()=>this.parseValueLiteral(e),l.T.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:a.h.OBJECT,fields:this.any(l.T.BRACE_L,()=>this.parseObjectField(e),l.T.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(l.T.COLON),this.node(t,{kind:a.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(l.T.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(l.T.AT),this.node(t,{kind:a.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e;let t=this._lexer.token;if(this.expectOptionalToken(l.T.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(l.T.BRACKET_R),e=this.node(t,{kind:a.h.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(l.T.BANG)?this.node(t,{kind:a.h.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:a.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(l.T.STRING)||this.peek(l.T.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let n=this.parseConstDirectives(),r=this.many(l.T.BRACE_L,this.parseOperationTypeDefinition,l.T.BRACE_R);return this.node(e,{kind:a.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(l.T.COLON);let n=this.parseNamedType();return this.node(e,{kind:a.h.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:a.h.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(l.T.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(l.T.BRACE_L,this.parseFieldDefinition,l.T.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(l.T.COLON);let i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:a.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(l.T.PAREN_L,this.parseInputValueDef,l.T.PAREN_R)}parseInputValueDef(){let e;let t=this._lexer.token,n=this.parseDescription(),r=this.parseName();this.expectToken(l.T.COLON);let i=this.parseTypeReference();this.expectOptionalToken(l.T.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:a.h.INPUT_VALUE_DEFINITION,description:n,name:r,type:i,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:a.h.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:a.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(l.T.EQUALS)?this.delimitedMany(l.T.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:a.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(l.T.BRACE_L,this.parseEnumValueDefinition,l.T.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:a.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,r.h)(this._lexer.source,this._lexer.token.start,`${m(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:a.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(l.T.BRACE_L,this.parseInputValueDef,l.T.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===l.T.NAME)switch(e.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(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),n=this.optionalMany(l.T.BRACE_L,this.parseOperationTypeDefinition,l.T.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:a.h.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:a.h.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseConstDirectives(),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:a.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.h.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.h.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:a.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(l.T.AT);let n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:a.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(l.T.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(o.B,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new i.Ye(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,r.h)(this._lexer.source,t.start,`Expected ${y(e)}, found ${m(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===l.T.NAME&&t.value===e)this.advanceLexer();else throw(0,r.h)(this._lexer.source,t.start,`Expected "${e}", found ${m(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===l.T.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return(0,r.h)(this._lexer.source,t.start,`Unexpected ${m(t)}.`)}any(e,t,n){this.
22expectToken(e);let r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);let r=[];do r.push(t.call(this));while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);let n=[];do n.push(t.call(this));while(this.expectOptionalToken(e));return n}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(void 0!==e&&t.kind!==l.T.EOF&&(++this._tokenCounter,this._tokenCounter>e))throw(0,r.h)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function m(e){let t=e.value;return y(e.kind)+(null!=t?` "${t}"`:"")}function y(e){return(0,s.u)(e)?`"${e}"`:e}},75844:function(e,t,n){"use strict";n.d(t,{D$:function(){return d},G4:function(){return l},Ir:function(){return i},Of:function(){return function e(t){return s(t)&&(t.kind===r.h.LIST?t.values.some(e):t.kind===r.h.OBJECT?t.fields.some(t=>e(t.value)):t.kind!==r.h.VARIABLE)}},VB:function(){return u},Wk:function(){return o},aU:function(){return p},nr:function(){return s},pO:function(){return a},zT:function(){return c}});var r=n(97359);function i(e){return o(e)||l(e)||p(e)}function o(e){return e.kind===r.h.OPERATION_DEFINITION||e.kind===r.h.FRAGMENT_DEFINITION}function a(e){return e.kind===r.h.FIELD||e.kind===r.h.FRAGMENT_SPREAD||e.kind===r.h.INLINE_FRAGMENT}function s(e){return e.kind===r.h.VARIABLE||e.kind===r.h.INT||e.kind===r.h.FLOAT||e.kind===r.h.STRING||e.kind===r.h.BOOLEAN||e.kind===r.h.NULL||e.kind===r.h.ENUM||e.kind===r.h.LIST||e.kind===r.h.OBJECT}function u(e){return e.kind===r.h.NAMED_TYPE||e.kind===r.h.LIST_TYPE||e.kind===r.h.NON_NULL_TYPE}function l(e){return e.kind===r.h.SCHEMA_DEFINITION||c(e)||e.kind===r.h.DIRECTIVE_DEFINITION}function c(e){return e.kind===r.h.SCALAR_TYPE_DEFINITION||e.kind===r.h.OBJECT_TYPE_DEFINITION||e.kind===r.h.INTERFACE_TYPE_DEFINITION||e.kind===r.h.UNION_TYPE_DEFINITION||e.kind===r.h.ENUM_TYPE_DEFINITION||e.kind===r.h.INPUT_OBJECT_TYPE_DEFINITION}function p(e){return e.kind===r.h.SCHEMA_EXTENSION||d(e)}function d(e){return e.kind===r.h.SCALAR_TYPE_EXTENSION||e.kind===r.h.OBJECT_TYPE_EXTENSION||e.kind===r.h.INTERFACE_TYPE_EXTENSION||e.kind===r.h.UNION_TYPE_EXTENSION||e.kind===r.h.ENUM_TYPE_EXTENSION||e.kind===r.h.INPUT_OBJECT_TYPE_EXTENSION}},90850:function(e,t,n){"use strict";n.d(t,{Q:function(){return i},z:function(){return o}});var r=n(57867);function i(e){return o(e.source,(0,r.k)(e.source,e.start))}function o(e,t){let n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,u=1===t.line?n:0,l=t.column+u,c=`${e.name}:${s}:${l}
23`,p=r.split(/\r\n|[\n\r]/g),d=p[i];if(d.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<d.length;e+=80)t.push(d.slice(e,e+80));return c+a([[`${s} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return c+a([[`${s-1} |`,p[i-1]],[`${s} |`,d],["|","^".padStart(l)],[`${s+1} |`,p[i+1]]])}function a(e){let t=e.filter(([e,t])=>void 0!==t),n=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(n)+(t?" "+t:"")).join("\n")}},16918:function(e,t,n){"use strict";n.d(t,{S:function(){return u}});var r=n(87392);let i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return a[e.charCodeAt(0)]}let a=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var s=n(77304);function u(e){return(0,s.Vn)(e,l)}let l={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=d("(",c(e.variableDefinitions,", "),")"),n=c([e.o
23peration,c([e.name,t]),c(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+d(" = ",n)+d(" ",c(r," "))},SelectionSet:{leave:({selections:e})=>p(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=d("",e,": ")+t,a=o+d("(",c(n,", "),")");return a.length>80&&(a=o+d("(\n",f(c(n,"\n")),"\n)")),c([a,c(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+d(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>c(["...",d("on ",e),c(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${d("(",c(n,", "),")")} on ${t} ${d("",c(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.LZ)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+d("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>d("",e,"\n")+c(["schema",c(t," "),p(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>d("",e,"\n")+c(["scalar",t,c(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>d("",e,"\n")+c(["type",t,d("implements ",c(n," & ")),c(r," "),p(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>d("",e,"\n")+t+(h(n)?d("(\n",f(c(n,"\n")),"\n)"):d("(",c(n,", "),")"))+": "+r+d(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>d("",e,"\n")+c([t+": "+n,d("= ",r),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>d("",e,"\n")+c(["interface",t,d("implements ",c(n," & ")),c(r," "),p(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>d("",e,"\n")+c(["union",t,c(n," "),d("= ",c(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>d("",e,"\n")+c(["enum",t,c(n," "),p(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>d("",e,"\n")+c([t,c(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>d("",e,"\n")+c(["input",t,c(n," "),p(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>d("",e,"\n")+"directive @"+t+(h(n)?d("(\n",f(c(n,"\n")),"\n)"):d("(",c(n,", "),")"))+(r?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),p(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>c(["extend type",e,d("implements ",c(t," & ")),c(n," "),p(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>c(["extend interface",e,d("implements ",c(t," & ")),c(n," "),p(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>c(["extend union",e,c(t," "),d("= ",c(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>c(["extend enum",e,c(t," "),p(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>c(["extend input",e,c(t," "),p(n)]," ")}};function c(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function p(e){return d("{\n",f(c(e,"\n")),"\n}")}function d(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function f(e){return d("  ",e.replace(/\n/g,"\n  "))}function h(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}},7926:function(e,t,n){"use strict";n.d(t,{H:function(){return a},T:function(){return s}});var r=n(37826),i=n(47820),o=n(8306);class a{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,r.a)(!1,`Body must be a string. Received: ${(0,i.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function s(e){return(0,o.n)(e,a)}},74635:function(e,t,n){"use strict";var r,i;n.d(t,{T:function(){return r}}),(i=r||(r={})).SOF="<SOF>",i.EOF="<EOF>",i.BANG="!",i.DOLLAR="$",i.AMP="&",i.PAREN_L="(",i.PAREN_R=")",i.SPREAD="...",i.COLON=":",i.EQUALS="=",i.AT="@",i.BRACKET_L="[",i.BRACKET_R="]",i.BRACE_L="{",i.PIPE="|",i.BRACE_R="}
23",i.NAME="Name",i.INT="Int",i.FLOAT="Float",i.STRING="String",i.BLOCK_STRING="BlockString",i.COMMENT="Comment"},77304:function(e,t,n){"use strict";n.d(t,{$_:function(){return s},CK:function(){return p},Eu:function(){return c},Vn:function(){return u},j1:function(){return l}});var r=n(37826),i=n(47820),o=n(72380),a=n(97359);let s=Object.freeze({});function u(e,t,n=o.h8){let u,l,p;let d=new Map;for(let e of Object.values(a.h))d.set(e,c(t,e));let f=Array.isArray(e),h=[e],m=-1,y=[],E=e,v=[],T=[];do{var g,N,_;let e;let a=++m===h.length,c=a&&0!==y.length;if(a){if(l=0===T.length?void 0:v[v.length-1],E=p,p=T.pop(),c){if(f){E=E.slice();let e=0;for(let[t,n]of y){let r=t-e;null===n?(E.splice(r,1),e++):E[r]=n}}else for(let[e,t]of(E=Object.defineProperties({},Object.getOwnPropertyDescriptors(E)),y))E[e]=t}m=u.index,h=u.keys,y=u.edits,f=u.inArray,u=u.prev}else if(p){if(null==(E=p[l=f?m:h[m]]))continue;v.push(l)}if(!Array.isArray(E)){(0,o.UG)(E)||(0,r.a)(!1,`Invalid AST Node: ${(0,i.X)(E)}.`);let n=a?null===(g=d.get(E.kind))||void 0===g?void 0:g.leave:null===(N=d.get(E.kind))||void 0===N?void 0:N.enter;if((e=null==n?void 0:n.call(t,E,l,p,v,T))===s)break;if(!1===e){if(!a){v.pop();continue}}else if(void 0!==e&&(y.push([l,e]),!a)){if((0,o.UG)(e))E=e;else{v.pop();continue}}}void 0===e&&c&&y.push([l,E]),a?v.pop():(u={inArray:f,index:m,keys:h,edits:y,prev:u},h=(f=Array.isArray(E))?E:null!==(_=n[E.kind])&&void 0!==_?_:[],m=-1,y=[],p&&T.push(p),p=E)}while(void 0!==u);return 0!==y.length?y[y.length-1][1]:e}function l(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(a.h)){let i=!1,o=Array(e.length).fill(void 0),a=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:s}=c(e[t],r);i||(i=null!=n||null!=s),o[t]=n,a[t]=s}if(!i)continue;let u={enter(...n){let r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let u=null===(i=o[a])||void 0===i?void 0:i.apply(e[a],n);if(!1===u)t[a]=r;else if(u===s)t[a]=s;else if(void 0!==u)return u}},leave(...n){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let r=null===(i=a[o])||void 0===i?void 0:i.apply(e[o],n);if(r===s)t[o]=s;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=u}return n}function c(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function p(e,t,n){let{enter:r,leave:i}=c(e,t);return n?i:r}},96303:function(e,t,n){"use strict";n.d(t,{g:function(){return s},i:function(){return a}});var r=n(37826),i=n(28087),o=n(68297);function a(e){if(null!=e||(0,r.a)(!1,"Must provide name."),"string"==typeof e||(0,r.a)(!1,"Expected name to be a string."),0===e.length)throw new i.__("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,o.HQ)(e.charCodeAt(t)))throw new i.__(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,o.LQ)(e.charCodeAt(0)))throw new i.__(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function s(e){if("true"===e||"false"===e||"null"===e)throw new i.__(`Enum values cannot be named: ${e}`);return a(e)}},4454:function(e,t,n){"use strict";n.d(t,{mR:function(){return eE},sR:function(){return eT},oW:function(){return eh},p2:function(){return H},bM:function(){return z},h6:function(){return ea},n2:function(){return eo},Gp:function(){return em},DM:function(){return ed},fU:function(){return Q},M_:function(){return q},Zu:function(){return R},U8:function(){return x},qT:function(){return V},k2:function(){return S},H5:function(){return G},kS:function(){return C},rM:function(){return et},E$:function(){return F},i_:function(){return W},Z6:function(){return I},Gt:function(){return j},Pt:function(){return _},p_:function(){return g},rc:function(){return D},vX:function(){return J},WO:function(){return el},xC:function(){return en},tf:function(){return Z},m0:function(){return X},Gv:function(){return B},EM:function(){return A},hL:function(){return k},j$:function(){return M},oT:function(){return O},UT:function(){return U},HG:function(){return L},Zs:function(){return ee},zM:function(){return $},zP:function(){return K},lp:function(){return b},SZ:function(){return P},dK:function(){return ef},Wd:function(){return eN},KA:function(){return N},P9:function(){return T},EN:function(){return w},fw:function(){return Y},WB:function(){return ei},_9:function(){return er}});var r=n(37826),i=n(53177);function o(e){return e}var a=n(47820),s=n(8306),u=n(88495),l=n(73498),c=n(54950),p=n(95723),d=n(3294),f=n(28824),h=n(28087),m=n(97359),y=n(16918),E=n(12319),v=n(96303);function T(e){return N(e)||b(e)||O(e)||w(e)||A(e)||k(e)||L(e)||$(e)}function g(e){if(!T(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL type.`);return e}function N(e){return(0,s.n)(e,eo)}function _(e){if(!N(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL Scalar type.`);return e}function b(e){return(0,s.n)(e,ea)}function I(e){if(!b(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL Object type.`);return e}function O(e){return(0,s.n)(e,eh)}function S(e){if(!O(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL Interface type.`);return e}function w(e){return(0,s.n)(e,em)}function D(e){if(!w(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL Union type.`);return e}function A(e){return(0,s.n)(e,eE)}function R(e){if(!A(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL Enum type.`);return e}function k(e){return(0,s.n)(e,eT)}function x(e){if(!k(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL Input Object type.`);return e}function L(e){return(0,s.n)(e,H)}function C(e){if(!L(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL List type.`);return e}function $(e){return(0,s.n)(e,z)}function F(e){if(!$(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL Non-Null type.`);return e}function M(e){return N(e)||A(e)||k(e)||Y(e)&&M(e.ofType)}function V(e){if(!M(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL input type.`);return e}function P(e){return N(e)||b(e)||O(e)||w(e)||A(e)||Y(e)&&P(e.ofType)}function j(e){if(!P(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL output type.`);return e}function U(e){return N(e)||A(e)}function G(e){if(!U(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL leaf type.`);return e}function B(e){return b(e)||O(e)||w(e)}function q(e){if(!B(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL composite type.`);return e}function X(e){return O(e)||w(e)}function Q(e){if(!X(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL abstract type.`);return e}class H{constructor(e){T(e)||(0,r.a)(!1,`Expected ${(0,a.X)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class z{constructor(e){K(e)||(0,r.a)(!1,`Expected ${(0,a.X)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function Y(e){return L(e)||$(e)}function J(e){if(!Y(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL wrapping type.`);return e}function K(e){return T(e)&&!$(e)}function W(e){if(!K(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL nullable type.`);return e}function Z(e){if(e)return $(e)?e.ofType:e}function ee(e){return N(e)||b(e)||O(e)||w(e)||A(e)||k(e)}function et(e){if(!ee(e))throw Error(`Expected ${(0,a.X)(e)} to be a GraphQL named type.`);return e}function en(e){if(e){let t=e;for(;Y(t);)t=t.ofType;return t}}function er(e){return"function"==typeof e?e():e}function ei(e){return"function"==typeof e?e():e}class eo{constructor(e){var t,n,i,s;let u=null!==(t=e.parseValue)&&void 0!==t?t:o;this.name=(0,v.i)(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:o,this.parseValue=u,this.parseLiteral=null!==(i=e.parseLiteral)&&void 0!==i?i:(e,t)=>u((0,E.M)(e,t)),this.extensions=(0,f.u)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(s=e.extensionASTNodes)&&void 0!==s?s:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,r.a)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,a.X)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,r.a)(!1,`${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.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,r.a)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){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:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class ea{constructor(e){var t;this.name=(0,v.i)(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=(0,f.u)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>eu(e),this._interfaces=()=>es(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,r.a)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,a.X)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}
23getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:ep(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function es(e){var t;let n=er(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||(0,r.a)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function eu(e){let t=ei(e.fields);return ec(t)||(0,r.a)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,p.j)(t,(t,n)=>{var i;ec(t)||(0,r.a)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,r.a)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,a.X)(t.resolve)}.`);let o=null!==(i=t.args)&&void 0!==i?i:{};return ec(o)||(0,r.a)(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:(0,v.i)(n),description:t.description,type:t.type,args:el(o),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:(0,f.u)(t.extensions),astNode:t.astNode}})}function el(e){return Object.entries(e).map(([e,t])=>({name:(0,v.i)(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,f.u)(t.extensions),astNode:t.astNode}))}function ec(e){return(0,u.y)(e)&&!Array.isArray(e)}function ep(e){return(0,p.j)(e,e=>({description:e.description,type:e.type,args:ed(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function ed(e){return(0,c.w)(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function ef(e){return $(e.type)&&void 0===e.defaultValue}class eh{constructor(e){var t;this.name=(0,v.i)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,f.u)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=eu.bind(void 0,e),this._interfaces=es.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,r.a)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,a.X)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:ep(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class em{constructor(e){var t;this.name=(0,v.i)(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=(0,f.u)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=ey.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,r.a)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,a.X)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ey(e){let t=er(e.types);return Array.isArray(t)||(0,r.a)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class eE{constructor(e){var t,n,i;this.name=(0,v.i)(e.name),this.description=e.description,this.extensions=(0,f.u)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values=(n=this.name,ec(i=e.values)||(0,r.a)(!1,`${n} values must be an object with value names as keys.`),Object.entries(i).map(([e,t])=>(ec(t)||(0,r.a)(!1,`${n}.${e} must refer to an object with a "value" key representing an internal value but got: ${(0,a.X)(t)}.`),{name:(0,v.g)(e),description:t.description,value:void 0!==t.value?t.value:e,deprecationReason:t.deprecationReason,extensions:(0,f.u)(t.extensions),astNode:t.astNode}))),this._valueLookup=new Map(this._values.map(e=>[e.value,e])),this._nameLookup=(0,l.P)(this._values,e=>e.name)}
23get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){let t=this._valueLookup.get(e);if(void 0===t)throw new h.__(`Enum "${this.name}" cannot represent value: ${(0,a.X)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){let t=(0,a.X)(e);throw new h.__(`Enum "${this.name}" cannot represent non-string value: ${t}.`+ev(this,t))}let t=this.getValue(e);if(null==t)throw new h.__(`Value "${e}" does not exist in "${this.name}" enum.`+ev(this,e));return t.value}parseLiteral(e,t){if(e.kind!==m.h.ENUM){let t=(0,y.S)(e);throw new h.__(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+ev(this,t),{nodes:e})}let n=this.getValue(e.value);if(null==n){let t=(0,y.S)(e);throw new h.__(`Value "${t}" does not exist in "${this.name}" enum.`+ev(this,t),{nodes:e})}return n.value}toConfig(){let e=(0,c.w)(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function ev(e,t){let n=e.getValues().map(e=>e.name),r=(0,d.D)(t,n);return(0,i.l)("the enum value",r)}class eT{constructor(e){var t;this.name=(0,v.i)(e.name),this.description=e.description,this.extensions=(0,f.u)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=eg.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){let e=(0,p.j)(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eg(e){let t=ei(e.fields);return ec(t)||(0,r.a)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),(0,p.j)(t,(t,n)=>("resolve"in t&&(0,r.a)(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:(0,v.i)(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:(0,f.u)(t.extensions),astNode:t.astNode}))}function eN(e){return $(e.type)&&void 0===e.defaultValue}},68238:function(e,t,n){"use strict";n.d(t,{CO:function(){return f},NZ:function(){return h},QE:function(){return y},SY:function(){return E},V4:function(){return g},Yf:function(){return m},df:function(){return T},fg:function(){return v},wX:function(){return d},xg:function(){return N}});var r=n(37826),i=n(47820),o=n(8306),a=n(88495),s=n(28824),u=n(99878),l=n(96303),c=n(4454),p=n(3801);function d(e){return(0,o.n)(e,h)}function f(e){if(!d(e))throw Error(`Expected ${(0,i.X)(e)} to be a GraphQL directive.`);return e}class h{constructor(e){var t,n;this.name=(0,l.i)(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=(0,s.u)(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,r.a)(!1,`@${e.name} locations must be an Array.`);let i=null!==(n=e.args)&&void 0!==n?n:{};(0,a.y)(i)&&!Array.isArray(i)||(0,r.a)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=(0,c.WO)(i)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:(0,c.DM)(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}let m=new h({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[u.B.FIELD,u.B.FRAGMENT_SPREAD,u.B.INLINE_FRAGMENT],args:{if:{type:new c.bM(p.EZ),description:"Included when true."}}}),y=new h({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[u.B.FIELD,u.B.FRAGMENT_SPREAD,u.B.INLINE_FRAGMENT],args:{if:{type:new c.bM(p.EZ),description:"Skipped when true."}}}),E="No longer supported",v=new h({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[u.B.FIELD_DEFINITION,u.B.ARGUMENT_DEFINITION,u.B.INPUT_FIELD_DEFINITION,u.B.ENUM_VALUE],args:{reason:{type:p.kH,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:E}}}),T=new h({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[u.B.SCALAR],args:{url:{type:new c.bM(p.kH),description:"The URL that specifies the behavior of this scalar."}}}),g=Object.freeze([m,y,v,T]);function N(e){return g.some(({name:t})=>t===e.name)}},52433:function(e,t,n){"use strict";n.d(t,{Az:function(){return g},PX:function(){return T},TK:function(){return d},XQ:function(){return E},e_:function(){return y},hU:function(){return _},jT:function(){return v},l3:function(){return f},nL:function(){return b},qz:function(){return m},s9:function(){return I},tF:function(){return N},x2:function(){return h},zU:function(){return i}});var r,i,o=n(47820),a=n(29551),s=n(99878),u=n(16918),l=n(78631),c=n(4454),p=n(3801);let d=new c.h6({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:()=>({description:{type:p.kH,resolve:e=>e.description}
23,types:{description:"A list of all types supported by this server.",type:new c.bM(new c.p2(new c.bM(m))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new c.bM(m),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:m,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:m,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new c.bM(new c.p2(new c.bM(f))),resolve:e=>e.getDirectives()}})}),f=new c.h6({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:()=>({name:{type:new c.bM(p.kH),resolve:e=>e.name},description:{type:p.kH,resolve:e=>e.description},isRepeatable:{type:new c.bM(p.EZ),resolve:e=>e.isRepeatable},locations:{type:new c.bM(new c.p2(new c.bM(h))),resolve:e=>e.locations},args:{type:new c.bM(new c.p2(new c.bM(E))),args:{includeDeprecated:{type:p.EZ,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),h=new c.mR({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:s.B.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:s.B.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:s.B.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:s.B.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:s.B.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:s.B.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:s.B.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:s.B.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:s.B.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:s.B.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:s.B.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:s.B.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:s.B.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:s.B.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:s.B.UNION,description:"Location adjacent to a union definition."},ENUM:{value:s.B.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:s.B.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:s.B.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:s.B.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),m=new c.h6({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:()=>({kind:{type:new c.bM(T),resolve:e=>(0,c.KA)(e)?i.SCALAR:(0,c.lp)(e)?i.OBJECT:(0,c.oT)(e)?i.INTERFACE:(0,c.EN)(e)?i.UNION:(0,c.EM)(e)?i.ENUM:(0,c.hL)(e)?i.INPUT_OBJECT:(0,c.HG)(e)?i.LIST:(0,c.zM)(e)?i.NON_NULL:void(0,a.k)(!1,`Unexpected type: "${(0,o.X)(e)}".`)},name:{type:p.kH,resolve:e=>"name"in e?e.name:void 0},description:{type:p.kH,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:p.kH,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new c.p2(new c.bM(y)),args:{includeDeprecated:{type:p.EZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,c.lp)(e)||(0,c.oT)(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new c.p2(new c.bM(m)),resolve(e){if((0,c.lp)(e)||(0,c.oT)(e))return e.getInterfaces()}},possibleTypes:{type:new c.p2(new c.bM(m)),resolve(e,t,n,{schema:r}){if((0,c.m0)(e))return r.getPossibleTypes(e)}},enumValues:{type:new c.p2(new c.bM(v)),args:{includeDeprecated:{type:p.EZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,c.EM)(e)){let n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new c.p2(new c.bM(E)),args:{includeDeprecated:{type:p.EZ,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if((0,c.hL)(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:m,resolve:e=>
23"ofType"in e?e.ofType:void 0}})}),y=new c.h6({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:()=>({name:{type:new c.bM(p.kH),resolve:e=>e.name},description:{type:p.kH,resolve:e=>e.description},args:{type:new c.bM(new c.p2(new c.bM(E))),args:{includeDeprecated:{type:p.EZ,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new c.bM(m),resolve:e=>e.type},isDeprecated:{type:new c.bM(p.EZ),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:p.kH,resolve:e=>e.deprecationReason}})}),E=new c.h6({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:()=>({name:{type:new c.bM(p.kH),resolve:e=>e.name},description:{type:p.kH,resolve:e=>e.description},type:{type:new c.bM(m),resolve:e=>e.type},defaultValue:{type:p.kH,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,r=(0,l.J)(n,t);return r?(0,u.S)(r):null}},isDeprecated:{type:new c.bM(p.EZ),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:p.kH,resolve:e=>e.deprecationReason}})}),v=new c.h6({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:()=>({name:{type:new c.bM(p.kH),resolve:e=>e.name},description:{type:p.kH,resolve:e=>e.description},isDeprecated:{type:new c.bM(p.EZ),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:p.kH,resolve:e=>e.deprecationReason}})});(r=i||(i={})).SCALAR="SCALAR",r.OBJECT="OBJECT",r.INTERFACE="INTERFACE",r.UNION="UNION",r.ENUM="ENUM",r.INPUT_OBJECT="INPUT_OBJECT",r.LIST="LIST",r.NON_NULL="NON_NULL";let T=new c.mR({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:i.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:i.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:i.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:i.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:i.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:i.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:i.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:i.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),g={name:"__schema",type:new c.bM(d),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},N={name:"__type",type:m,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new c.bM(p.kH),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},_={name:"__typename",type:new c.bM(p.kH),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},b=Object.freeze([d,f,h,m,y,E,v,T]);function I(e){return b.some(({name:t})=>e.name===t)}},3801:function(e,t,n){"use strict";n.d(t,{EZ:function(){return h},HI:function(){return l},HS:function(){return y},_o:function(){return p},av:function(){return d},kH:function(){return f},km:function(){return m},st:function(){return c},u1:function(){return E}});var r=n(47820),i=n(88495),o=n(28087),a=n(97359),s=n(16918),u=n(4454);let l=2147483647,c=-2147483648,p=new u.n2({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(e){let t=v(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new o.__(`Int cannot represent non-integer value: ${(0,r.X)(t)}`);if(n>l||n<c)throw new o.__("Int cannot represent non 32-bit signed integer value: "+(0,r.X)(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new o.__(`Int cannot represent non-integer value: ${(0,r.X)(e)}`);
23if(e>l||e<c)throw new o.__(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==a.h.INT)throw new o.__(`Int cannot represent non-integer value: ${(0,s.S)(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>l||t<c)throw new o.__(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),d=new u.n2({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(e){let t=v(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new o.__(`Float cannot represent non numeric value: ${(0,r.X)(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new o.__(`Float cannot represent non numeric value: ${(0,r.X)(e)}`);return e},parseLiteral(e){if(e.kind!==a.h.FLOAT&&e.kind!==a.h.INT)throw new o.__(`Float cannot represent non numeric value: ${(0,s.S)(e)}`,e);return parseFloat(e.value)}}),f=new u.n2({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(e){let t=v(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new o.__(`String cannot represent value: ${(0,r.X)(e)}`)},parseValue(e){if("string"!=typeof e)throw new o.__(`String cannot represent a non string value: ${(0,r.X)(e)}`);return e},parseLiteral(e){if(e.kind!==a.h.STRING)throw new o.__(`String cannot represent a non string value: ${(0,s.S)(e)}`,{nodes:e});return e.value}}),h=new u.n2({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=v(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new o.__(`Boolean cannot represent a non boolean value: ${(0,r.X)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new o.__(`Boolean cannot represent a non boolean value: ${(0,r.X)(e)}`);return e},parseLiteral(e){if(e.kind!==a.h.BOOLEAN)throw new o.__(`Boolean cannot represent a non boolean value: ${(0,s.S)(e)}`,{nodes:e});return e.value}}),m=new u.n2({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(e){let t=v(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new o.__(`ID cannot represent value: ${(0,r.X)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new o.__(`ID cannot represent value: ${(0,r.X)(e)}`)},parseLiteral(e){if(e.kind!==a.h.STRING&&e.kind!==a.h.INT)throw new o.__("ID cannot represent a non-string and non-integer value: "+(0,s.S)(e),{nodes:e});return e.value}}),y=Object.freeze([f,p,d,h,m]);function E(e){return y.some(({name:t})=>e.name===t)}function v(e){if((0,i.y)(e)){if("function"==typeof e.valueOf){let t=e.valueOf();if(!(0,i.y)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}},59678:function(e,t,n){"use strict";n.d(t,{EO:function(){return f},XO:function(){return h},nN:function(){return d}});var r=n(37826),i=n(47820),o=n(8306),a=n(88495),s=n(28824),u=n(72380),l=n(4454),c=n(68238),p=n(52433);function d(e){return(0,o.n)(e,h)}function f(e){if(!d(e))throw Error(`Expected ${(0,i.X)(e)} to be a GraphQL schema.`);return e}class h{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,a.y)(e)||(0,r.a)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,r.a)(!1,`"types" must be Array if provided but got: ${(0,i.X)(e.types)}
23.`),!e.directives||Array.isArray(e.directives)||(0,r.a)(!1,`"directives" must be Array if provided but got: ${(0,i.X)(e.directives)}.`),this.description=e.description,this.extensions=(0,s.u)(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(n=e.directives)&&void 0!==n?n:c.V4;let o=new Set(e.types);if(null!=e.types)for(let t of e.types)o.delete(t),m(t,o);for(let e of(null!=this._queryType&&m(this._queryType,o),null!=this._mutationType&&m(this._mutationType,o),null!=this._subscriptionType&&m(this._subscriptionType,o),this._directives))if((0,c.wX)(e))for(let t of e.args)m(t.type,o);for(let e of(m(p.TK,o),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null),o)){if(null==e)continue;let t=e.name;if(t||(0,r.a)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,(0,l.oT)(e)){for(let t of e.getInterfaces())if((0,l.oT)(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if((0,l.lp)(e)){for(let t of e.getInterfaces())if((0,l.oT)(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.objects.push(e)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case u.ku.QUERY:return this.getQueryType();case u.ku.MUTATION:return this.getMutationType();case u.ku.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return(0,l.EN)(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),(0,l.EN)(e))for(let t of e.getTypes())n[t.name]=!0;else{let t=this.getImplementations(e);for(let e of t.objects)n[e.name]=!0;for(let e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function m(e,t){let n=(0,l.xC)(e);if(!t.has(n)){if(t.add(n),(0,l.EN)(n))for(let e of n.getTypes())m(e,t);else if((0,l.lp)(n)||(0,l.oT)(n)){for(let e of n.getInterfaces())m(e,t);for(let e of Object.values(n.getFields()))for(let n of(m(e.type,t),e.args))m(n.type,t)}else if((0,l.hL)(n))for(let e of Object.values(n.getFields()))m(e.type,t)}return t}},19655:function(e,t,n){"use strict";n.d(t,{F:function(){return p},J:function(){return d}});var r=n(47820),i=n(28087),o=n(72380),a=n(90316),s=n(4454),u=n(68238),l=n(52433),c=n(59678);function p(e){if((0,c.EO)(e),e.__validationErrors)return e.__validationErrors;let t=new f(e);(function(e){var t,n,i;let a=e.schema,u=a.getQueryType();u?(0,s.lp)(u)||e.reportError(`Query root type must be Object type, it cannot be ${(0,r.X)(u)}.`,null!==(t=h(a,o.ku.QUERY))&&void 0!==t?t:u.astNode):e.reportError("Query root type must be provided.",a.astNode);let l=a.getMutationType();l&&!(0,s.lp)(l)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,r.X)(l)}.`,null!==(n=h(a,o.ku.MUTATION))&&void 0!==n?n:l.astNode);let c=a.getSubscriptionType();c&&!(0,s.lp)(c)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,r.X)(c)}.`,null!==(i=h(a,o.ku.SUBSCRIPTION))&&void 0!==i?i:c.astNode)})(t),function(e){for(let n of e.schema.getDirectives()){if(!(0,u.wX)(n)){e.reportError(`Expected directive but got: ${(0,r.X)(n)}.`,null==n?void 0:n.astNode);continue}for(let i of(m(e,n),n.args))if(m(e,i),(0,s.j$)(i.type)||e.reportError(`The type of @${n.name}(${i.name}:) must be Input Type but got: ${(0,r.X)(i.type)}.`,i.astNode),(0,s.dK)(i)&&null!=i.deprecationReason){var t;e.reportError(`Required argument @${n.name}(${i.name}:) cannot be deprecated.`,[g(i.astNode),null===(t=i.astNode)||void 0===t?void 0:t.type])}}}(t),function(e){let t=function(e){let t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(!t[o.name]){for(let a of(t[o.name]=!0,r[o.name]=n.length,Object.values(o.getFields())))if((0,s.zM)(a.type)&&(0,s.hL)(a.type.ofType)){let t=a.type.ofType,o=r[t.name];if(n.push(a),void 0===o)i(t);else{let r=n.slice(o),i=r.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${t.name}" within itself through a series of non-null fields: "${i}".`,r.map(e=>e.astNode))}n.pop()}r[o.name]=void 0}}}(e);for(let n of Object.values(e.schema.getTypeMap())){if(!(0,s.Zs)(n)){e.reportError(`Expected GraphQL named type but got: ${(0,r.X)(n)}.`,n.astNode);continue}(0,l.s9)(n)||m(e,n),(0,s.lp)(n)?(y(e,n),E(e,n)):(0,s.oT)(n)?(y(e,n),E(e,n)):(0,s.EN)(n)?function(e,t){let n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let i=Object.create(null);for(let o of n){if(i[o.name]){e.reportError(`Union type ${t.name} can only include type ${o.name} once.`,T(t,o.name));continue}i[o.name]=!0,(0,s.lp)(o)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,r.X)(o)}.`,T(t,String(o)))}}(e,n):(0,s.EM)(n)?function(e,t){let n=t.getValues();for(let r of(0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]),n))m(e,r)}(e,n):(0,s.hL)(n)&&(function(e,t){let n=Object.values(t.getFields());for(let a of(0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var i,o;m(e,a),(0,s.j$)(a.type)||e.reportError(`The type of ${t.name}.${a.name} must be Input Type but got: ${(0,r.X)(a.type)}.`,null===(i=a.astNode)||void 0===i?void 0:i.type),(0,s.Wd)(a)&&null!=a.deprecationReason&&e.reportError(`Required input field ${t.name}.${a.name} cannot be deprecated.`,[g(a.astNode),null===(o=a.astNode)||void 0===o?void 0:o.type])}}(e,n),t(n))}}(t);let n=t.getErrors();return e.__validationErrors=n,n}function d(e){let t=p(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}class f{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new i.__(e,{nodes:n}))}getErrors(){return this._errors}}function h(e,t){var n;return null===(n=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var t;return null!==(t=null==e?void 0:e.operationTypes)&&void 0!==t?t:[]}).find(e=>e.operation===t))||void 0===n?void 0:n.type}function m(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function y(e,t){let n=Object.values(t.getFields());for(let u of(0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var i,o,a;for(let n of(m(e,u),(0,s.SZ)(u.type)||e.reportError(`The type of ${t.name}.${u.name} must be Output Type but got: ${(0,r.X)(u.type)}.`,null===(i=u.astNode)||void 0===i?void 0:i.type),u.args)){let i=n.name;m(e,n),(0,s.j$)(n.type)||e.reportError(`The type of ${t.name}.${u.name}(${i}:) must be Input Type but got: ${(0,r.X)(n.type)}.`,null===(o=n.astNode)||void 0===o?void 0:o.type),(0,s.dK)(n)&&null!=n.deprecationReason&&e.reportError(`Required argument ${t.name}.${u.name}(${i}:) cannot be deprecated.`,[g(n.astNode),null===(a=n.astNode)||void 0===a?void 0:a.type])}}}function E(e,t){let n=Object.create(null);for(let i of t.getInterfaces()){if(!(0,s.oT)(i)){e.reportError(`Type ${(0,r.X)(t)} must only implement Interface types, it cannot implement ${(0,r.X)(i)}.`,v(t,i));continue}if(t===i){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,v(t,i));continue}if(n[i.name]){e.reportError(`Type ${t.name} can only implement ${i.name} once.`,v(t,i));continue}n[i.name]=!0,function(e,t,n){let r=t.getInterfaces();for(let i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...v(n,i),...v(t,n)])}(e,t,i),function(e,t,n){let i=t.getFields();for(let p of Object.values(n.getFields())){var o,u,l,c;let d=p.name,f=i[d];if(!f){e.reportError(`Interface field ${n.name}.${d} expected but ${t.name} does not provide it.`,[p.astNode,t.astNode,...t.extensionASTNodes]);continue}for(let i of((0,a.uJ)(e.schema,f.type,p.type)||e.reportError(`Interface field ${n.name}.${d} expects type ${(0,r.X)(p.type)} but ${t.name}.${d} is type ${(0,r.X)(f.type)}.`,[null===(o=p.astNode)||void 0===o?void 0:o.type,null===(u=f.astNode)||void 0===u?void 0:u.type]),p.args)){let o=i.name,s=f.args.find(e=>e.name===o);if(!s){e.reportError(`Interface field argument ${n.name}.${d}(${o}:) expected but ${t.name}.${d} does not provide it.`,[i.astNode,f.astNode]);continue}(0,a._7)(i.type,s.type)||e.reportError(`Interface field argument ${n.name}.${d}(${o}:) expects type ${(0,r.X)(i.type)} but ${t.name}.${d}(${o}:) is type ${(0,r.X)(s.type)}.`,[null===(l=i.astNode)||void 0===l?void 0:l.type,null===(c=s.astNode)||void 0===c?void 0:c.type])}for(let r of f.args){let i=r.name;!p.args.find(e=>e.name===i)&&(0,s.dK)(r)&&e.reportError(`Object field ${t.name}.${d} includes required argument ${i} that is missing from the Interface field ${n.name}.${d}.`,[r.astNode,p.astNode])}}}(e,t,i)}}function v(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]}).filter(e=>e.name.value===t.name)}function T(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]}).filter(e=>e.name.value===t)}function g(e){var t;return null==e?void 0:null===(t=e.directives)||void 0===t?void 0:t.find(e=>e.name.value===u.fg.name)}},22676:function(e,t,n){"use strict";n.d(t,{a:function(){return l},y:function(){return p}});var r=n(72380),i=n(97359),o=n(77304),a=n(4454),s=n(52433),u=n(30077);class l{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=n?n:c,t&&((0,a.j$)(t)&&this._inputTypeStack.push(t),(0,a.Gv)(t)&&this._parentTypeStack.push(t),(0,a.SZ)(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}
23getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){let t=this._schema;switch(e.kind){case i.h.SELECTION_SET:{let e=(0,a.xC)(this.getType());this._parentTypeStack.push((0,a.Gv)(e)?e:void 0);break}case i.h.FIELD:{let n,r;let i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(r=n.type),this._fieldDefStack.push(n),this._typeStack.push((0,a.SZ)(r)?r:void 0);break}case i.h.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case i.h.OPERATION_DEFINITION:{let n=t.getRootType(e.operation);this._typeStack.push((0,a.lp)(n)?n:void 0);break}case i.h.INLINE_FRAGMENT:case i.h.FRAGMENT_DEFINITION:{let n=e.typeCondition,r=n?(0,u._)(t,n):(0,a.xC)(this.getType());this._typeStack.push((0,a.SZ)(r)?r:void 0);break}case i.h.VARIABLE_DEFINITION:{let n=(0,u._)(t,e.type);this._inputTypeStack.push((0,a.j$)(n)?n:void 0);break}case i.h.ARGUMENT:{var n;let t,r;let i=null!==(n=this.getDirective())&&void 0!==n?n:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value))&&(r=t.type),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push((0,a.j$)(r)?r:void 0);break}case i.h.LIST:{let e=(0,a.tf)(this.getInputType()),t=(0,a.HG)(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push((0,a.j$)(t)?t:void 0);break}case i.h.OBJECT_FIELD:{let t,n;let r=(0,a.xC)(this.getInputType());(0,a.hL)(r)&&(n=r.getFields()[e.name.value])&&(t=n.type),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push((0,a.j$)(t)?t:void 0);break}case i.h.ENUM:{let t;let n=(0,a.xC)(this.getInputType());(0,a.EM)(n)&&(t=n.getValue(e.value)),this._enumValue=t}}}leave(e){switch(e.kind){case i.h.SELECTION_SET:this._parentTypeStack.pop();break;case i.h.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case i.h.DIRECTIVE:this._directive=null;break;case i.h.OPERATION_DEFINITION:case i.h.INLINE_FRAGMENT:case i.h.FRAGMENT_DEFINITION:this._typeStack.pop();break;case i.h.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case i.h.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.h.LIST:case i.h.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case i.h.ENUM:this._enumValue=null}}}function c(e,t,n){let r=n.name.value;return r===s.Az.name&&e.getQueryType()===t?s.Az:r===s.tF.name&&e.getQueryType()===t?s.tF:r===s.hU.name&&(0,a.Gv)(t)?s.hU:(0,a.lp)(t)||(0,a.oT)(t)?t.getFields()[r]:void 0}function p(e,t){return{enter(...n){let i=n[0];e.enter(i);let a=(0,o.Eu)(t,i.kind).enter;if(a){let o=a.apply(t,n);return void 0!==o&&(e.leave(i),(0,r.UG)(o)&&e.enter(o)),o}},leave(...n){let r;let i=n[0],a=(0,o.Eu)(t,i.kind).leave;return a&&(r=a.apply(t,n)),e.leave(i),r}}}},78631:function(e,t,n){"use strict";n.d(t,{J:function(){return function e(t,n){if((0,u.zM)(n)){let r=e(t,n.ofType);return(null==r?void 0:r.kind)===s.h.NULL?null:r}if(null===t)return{kind:s.h.NULL};if(void 0===t)return null;if((0,u.HG)(n)){let r=n.ofType;if((0,o.i)(t)){let n=[];for(let i of t){let t=e(i,r);null!=t&&n.push(t)}return{kind:s.h.LIST,values:n}}return e(t,r)}if((0,u.hL)(n)){if(!(0,a.y)(t))return null;let r=[];for(let i of Object.values(n.getFields())){let n=e(t[i.name],i.type);n&&r.push({kind:s.h.OBJECT_FIELD,name:{kind:s.h.NAME,value:i.name},value:n})}return{kind:s.h.OBJECT,fields:r}}if((0,u.UT)(n)){let e=n.serialize(t);if(null==e)return null;if("boolean"==typeof e)return{kind:s.h.BOOLEAN,value:e};if("number"==typeof e&&Number.isFinite(e)){let t=String(e);return c.test(t)?{kind:s.h.INT,value:t}:{kind:s.h.FLOAT,value:t}}if("string"==typeof e)return(0,u.EM)(n)?{kind:s.h.ENUM,value:e}:n===l.km&&c.test(e)?{kind:s.h.INT,value:e}:{kind:s.h.STRING,value:e};throw TypeError(`Cannot convert value to AST: ${(0,r.X)(e)}.`)}(0,i.k)(!1,"Unexpected input type: "+(0,r.X)(n))}}});var r=n(47820),i=n(29551),o=n(93831),a=n(88495),s=n(97359),u=n(4454),l=n(3801);let c=/^-?(?:0|[1-9][0-9]*)$/},99120:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(37826),i=n(47820),o=n(88495),a=n(54950),s=n(84275),u=n(4454),l=n(68238),c=n(52433),p=n(3801),d=n(59678),f=n(58081);function h(e,t){(0,o.y)(e)&&(0,o.y)(e.__schema)||(0,r.a)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,i.X)(e)}.`);let n=e.__schema,h=(0,a.w)(n.types,e=>e.name,e=>(function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case c.zU.SCALAR:return new u.n2({name:e.name,description:e.description,specifiedByURL:e.specifiedByURL});case c.zU.OBJECT:return new u.h6({name:e.name,description:e.description,interfaces:()=>b(e),fields:()=>I(e)});case c.zU.INTERFACE:return new u.oW({name:e.name,description:e.description,interfaces:()=>b(e),fields:()=>I(e)});case c.zU.UNION:return function(e){if(!e.possibleTypes){let t=(0,i.X)(e);throw Error(`Introspection result missing possibleTypes: ${t}.`)}return new u.Gp({name:e.name,description:e.description,types:()=>e.possibleTypes.map(N)})}(e);case c.zU.ENUM:return function(e){if(!e.enumValues){let t=(0,i.X)(e);throw Error(`Introspection result missing enumValues: ${t}.`)}return new u.mR({name:e.name,description:e.description,values:(0,a.w)(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case c.zU.INPUT_OBJECT:return function(e){if(!e.inputFields){let t=(0,i.X)(e);throw Error(`Introspection result missing inputFields: ${t}.`)}return new u.sR({name:e.name,description:e.description,fields:()=>S(e.inputFields)})}(e)}let t=(0,i.X)(e);throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${t}.`)})(e));for(let e of[...p.HS,...c.nL])h[e.name]&&(h[e.name]=e);let m=n.queryType?N(n.queryType):null,y=n.mutationType?N(n.mutationType):null,E=n.subscriptionType?N(n.subscriptionType):null,v=n.directives?n.directives.map(function(e){if(!e.args){let t=(0,i.X)(e);throw Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){let t=(0,i.X)(e);throw Error(`Introspection result missing directive locations: ${t}.`)}return new l.NZ({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:S(e.args)})}):[];return new d.XO({description:n.description,query:m,mutation:y,subscription:E,types:Object.values(h),directives:v,assumeValid:null==t?void 0:t.assumeValid});function T(e){if(e.kind===c.zU.LIST){let t=e.ofType;
23if(!t)throw Error("Decorated type deeper than introspection query.");return new u.p2(T(t))}if(e.kind===c.zU.NON_NULL){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");let n=T(t);return new u.bM((0,u.i_)(n))}return g(e)}function g(e){let t=e.name;if(!t)throw Error(`Unknown type reference: ${(0,i.X)(e)}.`);let n=h[t];if(!n)throw Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return n}function N(e){return(0,u.Z6)(g(e))}function _(e){return(0,u.k2)(g(e))}function b(e){if(null===e.interfaces&&e.kind===c.zU.INTERFACE)return[];if(!e.interfaces){let t=(0,i.X)(e);throw Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(_)}function I(e){if(!e.fields)throw Error(`Introspection result missing fields: ${(0,i.X)(e)}.`);return(0,a.w)(e.fields,e=>e.name,O)}function O(e){let t=T(e.type);if(!(0,u.SZ)(t)){let e=(0,i.X)(t);throw Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){let t=(0,i.X)(e);throw Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:S(e.args)}}function S(e){return(0,a.w)(e,e=>e.name,w)}function w(e){let t=T(e.type);if(!(0,u.j$)(t)){let e=(0,i.X)(t);throw Error(`Introspection must provide input type for arguments, but received: ${e}.`)}let n=null!=e.defaultValue?(0,f.u)((0,s.H2)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}},27816:function(e,t,n){"use strict";n.d(t,{K:function(){return f}});var r=n(53177),i=n(47820),o=n(29551),a=n(93831),s=n(88495),u=n(79380),l=n(94244),c=n(3294),p=n(28087),d=n(4454);function f(e,t,n=h){return function e(t,n,l,f){if((0,d.zM)(n))return null!=t?e(t,n.ofType,l,f):void l((0,u.N)(f),t,new p.__(`Expected non-nullable type "${(0,i.X)(n)}" not to be null.`));if(null==t)return null;if((0,d.HG)(n)){let r=n.ofType;return(0,a.i)(t)?Array.from(t,(t,n)=>e(t,r,l,(0,u.Q)(f,n,void 0))):[e(t,r,l,f)]}if((0,d.hL)(n)){if(!(0,s.y)(t)){l((0,u.N)(f),t,new p.__(`Expected type "${n.name}" to be an object.`));return}let o={},a=n.getFields();for(let r of Object.values(a)){let a=t[r.name];if(void 0===a){if(void 0!==r.defaultValue)o[r.name]=r.defaultValue;else if((0,d.zM)(r.type)){let e=(0,i.X)(r.type);l((0,u.N)(f),t,new p.__(`Field "${r.name}" of required type "${e}" was not provided.`))}continue}o[r.name]=e(a,r.type,l,(0,u.Q)(f,r.name,n.name))}for(let e of Object.keys(t))if(!a[e]){let i=(0,c.D)(e,Object.keys(n.getFields()));l((0,u.N)(f),t,new p.__(`Field "${e}" is not defined by type "${n.name}".`+(0,r.l)(i)))}return o}if((0,d.UT)(n)){let e;try{e=n.parseValue(t)}catch(e){e instanceof p.__?l((0,u.N)(f),t,e):l((0,u.N)(f),t,new p.__(`Expected type "${n.name}". `+e.message,{originalError:e}));return}return void 0===e&&l((0,u.N)(f),t,new p.__(`Expected type "${n.name}".`)),e}(0,o.k)(!1,"Unexpected input type: "+(0,i.X)(n))}(e,t,n,void 0)}function h(e,t,n){let r="Invalid value "+(0,i.X)(t);throw e.length>0&&(r+=` at "value${(0,l.F)(e)}"`),n.message=r+": "+n.message,n}},82254:function(e,t,n){"use strict";function r(e){let t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(e){return t.inputValueDeprecation?e:""}return`
24    query IntrospectionQuery {
25      __schema {
26        ${o}
27        queryType { name }
28        mutationType { name }
29        subscriptionType { name }
30        types {
31          ...FullType
32        }
33        directives {
34          name
35          ${n}
36          ${i}
37          locations
38          args${a("(includeDeprecated: true)")} {
39            ...InputValue
40          }
41        }
42      }
43    }
44
45    fragment FullType on __Type {
46      kind
47      name
48      ${n}
49      ${r}
50      fields(includeDeprecated: true) {
51        name
52        ${n}
53        args${a("(includeDeprecated: true)")} {
54          ...InputValue
55        }
56        type {
57          ...TypeRef
58        }
59        isDeprecated
60        deprecationReason
61      }
62      inputFields${a("(includeDeprecated: true)")} {
63        ...InputValue
64      }
65      interfaces {
66        ...TypeRef
67      }
68      enumValues(includeDeprecated: true) {
69        name
70        ${n}
71        isDeprecated
72        deprecationReason
73      }
74      possibleTypes {
75        ...TypeRef
76      }
77    }
78
79    fragment InputValue on __InputValue {
80      name
81      ${n}
82      type { ...TypeRef }
83      defaultValue
84      ${a("isDeprecated")}
85      ${a("deprecationReason")}
86    }
87
88    fragment TypeRef on __Type {
89      kind
90      name
91      ofType {
92        kind
93        name
94        ofType {
95          kind
96          name
97          ofType {
98            kind
99            name
100            ofType {
101              kind
102              name
103              ofType {
104                kind
105                name
106                ofType {
107                  kind
108                  name
109                  ofType {
110                    kind
111                    name
112                    ofType {
113                      kind
114                      name
115                      ofType {
116                        kind
117                        name
118                      }
119                    }
120                  }
121                }
122              }
123            }
124          }
125        }
126      }
127    }
128  `}n.d(t,{K:function(){return r}})},38360:function(e,t,n){"use strict";n.d(t,{n:function(){return function e(t){switch(t.kind){case i.h.OBJECT:return{...t,fields:t.fields.map(t=>({...t,value:e(t.value)})).sort((e,t)=>
128(0,r.K)(e.name.value,t.name.value))};case i.h.LIST:return{...t,values:t.values.map(e)};case i.h.INT:case i.h.FLOAT:case i.h.STRING:case i.h.BOOLEAN:case i.h.NULL:case i.h.ENUM:case i.h.VARIABLE:return t}}}});var r=n(8224),i=n(97359)},90316:function(e,t,n){"use strict";n.d(t,{_7:function(){return function e(t,n){return t===n||!!((0,r.zM)(t)&&(0,r.zM)(n)||(0,r.HG)(t)&&(0,r.HG)(n))&&e(t.ofType,n.ofType)}},uJ:function(){return function e(t,n,i){return n===i||((0,r.zM)(i)?!!(0,r.zM)(n)&&e(t,n.ofType,i.ofType):(0,r.zM)(n)?e(t,n.ofType,i):(0,r.HG)(i)?!!(0,r.HG)(n)&&e(t,n.ofType,i.ofType):!(0,r.HG)(n)&&(0,r.m0)(i)&&((0,r.oT)(n)||(0,r.lp)(n))&&t.isSubType(i,n))}},zR:function(){return i}});var r=n(4454);function i(e,t,n){return t===n||((0,r.m0)(t)?(0,r.m0)(n)?e.getPossibleTypes(t).some(t=>e.isSubType(n,t)):e.isSubType(t,n):!!(0,r.m0)(n)&&e.isSubType(n,t))}},30077:function(e,t,n){"use strict";n.d(t,{_:function(){return function e(t,n){switch(n.kind){case r.h.LIST_TYPE:{let r=e(t,n.type);return r&&new i.p2(r)}case r.h.NON_NULL_TYPE:{let r=e(t,n.type);return r&&new i.bM(r)}case r.h.NAMED_TYPE:return t.getType(n.name.value)}}}});var r=n(97359),i=n(4454)},58081:function(e,t,n){"use strict";n.d(t,{u:function(){return function e(t,n,l){if(t){if(t.kind===a.h.VARIABLE){let e=t.name.value;if(null==l||void 0===l[e])return;let r=l[e];if(null===r&&(0,s.zM)(n))return;return r}if((0,s.zM)(n)){if(t.kind===a.h.NULL)return;return e(t,n.ofType,l)}if(t.kind===a.h.NULL)return null;if((0,s.HG)(n)){let r=n.ofType;if(t.kind===a.h.LIST){let n=[];for(let i of t.values)if(u(i,l)){if((0,s.zM)(r))return;n.push(null)}else{let t=e(i,r,l);if(void 0===t)return;n.push(t)}return n}let i=e(t,r,l);if(void 0===i)return;return[i]}if((0,s.hL)(n)){if(t.kind!==a.h.OBJECT)return;let r=Object.create(null),i=(0,o.P)(t.fields,e=>e.name.value);for(let t of Object.values(n.getFields())){let n=i[t.name];if(!n||u(n.value,l)){if(void 0!==t.defaultValue)r[t.name]=t.defaultValue;else if((0,s.zM)(t.type))return;continue}let o=e(n.value,t.type,l);if(void 0===o)return;r[t.name]=o}return r}if((0,s.UT)(n)){let e;try{e=n.parseLiteral(t,l)}catch(e){return}if(void 0===e)return;return e}(0,i.k)(!1,"Unexpected input type: "+(0,r.X)(n))}}}});var r=n(47820),i=n(29551),o=n(73498),a=n(97359),s=n(4454);function u(e,t){return e.kind===a.h.VARIABLE&&(null==t||void 0===t[e.name.value])}},12319:function(e,t,n){"use strict";n.d(t,{M:function(){return function e(t,n){switch(t.kind){case i.h.NULL:return null;case i.h.INT:return parseInt(t.value,10);case i.h.FLOAT:return parseFloat(t.value);case i.h.STRING:case i.h.ENUM:case i.h.BOOLEAN:return t.value;case i.h.LIST:return t.values.map(t=>e(t,n));case i.h.OBJECT:return(0,r.w)(t.fields,e=>e.name.value,t=>e(t.value,n));case i.h.VARIABLE:return null==n?void 0:n[t.name.value]}}}});var r=n(54950),i=n(97359)},32734:function(e,t,n){"use strict";n.d(t,{_t:function(){return u},yv:function(){return s}});var r=n(97359),i=n(77304),o=n(22676);class a{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{for(let e of(t=Object.create(null),this.getDocument().definitions))e.kind===r.h.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){let n;t=[];let i=[e];for(;n=i.pop();)for(let e of n.selections)e.kind===r.h.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&i.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){let n;t=[];let r=Object.create(null),i=[e.selectionSet];for(;n=i.pop();)for(let e of this.getFragmentSpreads(n)){let n=e.name.value;if(!0!==r[n]){r[n]=!0;let e=this.getFragment(n);e&&(t.push(e),i.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class s extends a{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class u extends a{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){let n=[],r=new o.a(this._schema);(0,i.Vn)(e,(0,o.y)(r,{VariableDefinition:()=>!1,Variable(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){for(let n of(t=this.getVariableUsages(e),this.getRecursivelyReferencedFragments(e)))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}},88081:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var r=n(28087),i=n(97359),o=n(75844);function a(e){return{Document(t){for(let n of t.definitions)if(!(0,o.Wk)(n)){let t=n.kind===i.h.SCHEMA_DEFINITION||n.kind===i.h.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new r.__(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}},48741:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(53177),i=n(8224),o=n(3294),a=n(28087),s=n(4454);function u(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let u=e.getSchema(),l=t.name.value,c=(0,r.l)("to use an inline fragment on",function(e,t,n){if(!(0,s.m0)(t))return[];let r=new Set,o=Object.create(null);for(let i of e.getPossibleTypes(t))if(i.getFields()[n])for(let e of(r.add(i),o[i.name]=1,i.getInterfaces())){var a;e.getFields()[n]&&(r.add(e),o[e.name]=(null!==(a=o[e.name])&&void 0!==a?a:0)+1)}return[...r].sort((t,n)=>{let r=o[n.name]-o[t.name];return 0!==r?r:(0,s.oT)(t)&&e.isSubType(t,n)?-1:(0,s.oT)(n)&&e.isSubType(n,t)?1:(0,i.K)(t.name,n.name)}).map(e=>e.name)}
128(u,n,l));""===c&&(c=(0,r.l)(function(e,t){if((0,s.lp)(e)||(0,s.oT)(e)){let n=Object.keys(e.getFields());return(0,o.D)(t,n)}return[]}(n,l))),e.reportError(new a.__(`Cannot query field "${l}" on type "${n.name}".`+c,{nodes:t}))}}}}},77143:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var r=n(28087),i=n(16918),o=n(4454),a=n(30077);function s(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let t=(0,a._)(e.getSchema(),n);if(t&&!(0,o.Gv)(t)){let t=(0,i.S)(n);e.reportError(new r.__(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){let n=(0,a._)(e.getSchema(),t.typeCondition);if(n&&!(0,o.Gv)(n)){let n=(0,i.S)(t.typeCondition);e.reportError(new r.__(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}},47815:function(e,t,n){"use strict";n.d(t,{e:function(){return u},o:function(){return l}});var r=n(53177),i=n(3294),o=n(28087),a=n(97359),s=n(68238);function u(e){return{...l(e),Argument(t){let n=e.getArgument(),a=e.getFieldDef(),s=e.getParentType();if(!n&&a&&s){let n=t.name.value,u=a.args.map(e=>e.name),l=(0,i.D)(n,u);e.reportError(new o.__(`Unknown argument "${n}" on field "${s.name}.${a.name}".`+(0,r.l)(l),{nodes:t}))}}}}function l(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():s.V4)t[e.name]=e.args.map(e=>e.name);for(let n of e.getDocument().definitions)if(n.kind===a.h.DIRECTIVE_DEFINITION){var u;let e=null!==(u=n.arguments)&&void 0!==u?u:[];t[n.name.value]=e.map(e=>e.name.value)}return{Directive(n){let a=n.name.value,s=t[a];if(n.arguments&&s)for(let t of n.arguments){let n=t.name.value;if(!s.includes(n)){let u=(0,i.D)(n,s);e.reportError(new o.__(`Unknown argument "${n}" on directive "@${a}".`+(0,r.l)(u),{nodes:t}))}}return!1}}}},84873:function(e,t,n){"use strict";n.d(t,{J:function(){return c}});var r=n(47820),i=n(29551),o=n(28087),a=n(72380),s=n(99878),u=n(97359),l=n(68238);function c(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():l.V4)t[e.name]=e.locations;for(let n of e.getDocument().definitions)n.kind===u.h.DIRECTIVE_DEFINITION&&(t[n.name.value]=n.locations.map(e=>e.value));return{Directive(n,l,c,p,d){let f=n.name.value,h=t[f];if(!h){e.reportError(new o.__(`Unknown directive "@${f}".`,{nodes:n}));return}let m=function(e){let t=e[e.length-1];switch("kind"in t||(0,i.k)(!1),t.kind){case u.h.OPERATION_DEFINITION:return function(e){switch(e){case a.ku.QUERY:return s.B.QUERY;case a.ku.MUTATION:return s.B.MUTATION;case a.ku.SUBSCRIPTION:return s.B.SUBSCRIPTION}}(t.operation);case u.h.FIELD:return s.B.FIELD;case u.h.FRAGMENT_SPREAD:return s.B.FRAGMENT_SPREAD;case u.h.INLINE_FRAGMENT:return s.B.INLINE_FRAGMENT;case u.h.FRAGMENT_DEFINITION:return s.B.FRAGMENT_DEFINITION;case u.h.VARIABLE_DEFINITION:return s.B.VARIABLE_DEFINITION;case u.h.SCHEMA_DEFINITION:case u.h.SCHEMA_EXTENSION:return s.B.SCHEMA;case u.h.SCALAR_TYPE_DEFINITION:case u.h.SCALAR_TYPE_EXTENSION:return s.B.SCALAR;case u.h.OBJECT_TYPE_DEFINITION:case u.h.OBJECT_TYPE_EXTENSION:return s.B.OBJECT;case u.h.FIELD_DEFINITION:return s.B.FIELD_DEFINITION;case u.h.INTERFACE_TYPE_DEFINITION:case u.h.INTERFACE_TYPE_EXTENSION:return s.B.INTERFACE;case u.h.UNION_TYPE_DEFINITION:case u.h.UNION_TYPE_EXTENSION:return s.B.UNION;case u.h.ENUM_TYPE_DEFINITION:case u.h.ENUM_TYPE_EXTENSION:return s.B.ENUM;case u.h.ENUM_VALUE_DEFINITION:return s.B.ENUM_VALUE;case u.h.INPUT_OBJECT_TYPE_DEFINITION:case u.h.INPUT_OBJECT_TYPE_EXTENSION:return s.B.INPUT_OBJECT;case u.h.INPUT_VALUE_DEFINITION:{let t=e[e.length-3];return"kind"in t||(0,i.k)(!1),t.kind===u.h.INPUT_OBJECT_TYPE_DEFINITION?s.B.INPUT_FIELD_DEFINITION:s.B.ARGUMENT_DEFINITION}default:(0,i.k)(!1,"Unexpected kind: "+(0,r.X)(t.kind))}}(d);m&&!h.includes(m)&&e.reportError(new o.__(`Directive "@${f}" may not be used on ${m}.`,{nodes:n}))}}}},5311:function(e,t,n){"use strict";n.d(t,{a:function(){return i}});var r=n(28087);function i(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new r.__(`Unknown fragment "${n}".`,{nodes:t.name}))}}}},25580:function(e,t,n){"use strict";n.d(t,{I:function(){return u}});var r=n(53177),i=n(3294),o=n(28087),a=n(75844),s=n(52433);function u(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),s=Object.create(null);for(let t of e.getDocument().definitions)(0,a.zT)(t)&&(s[t.name.value]=!0);let u=[...Object.keys(n),...Object.keys(s)];return{NamedType(t,c,p,d,f){let h=t.name.value;if(!n[h]&&!s[h]){var m,y;let n=null!==(m=f[2])&&void 0!==m?m:p,s=null!=n&&"kind"in(y=n)&&((0,a.G4)(y)||(0,a.aU)(y));if(s&&l.includes(h))return;let c=(0,i.D)(h,s?l.concat(u):u);e.reportError(new o.__(`Unknown type "${h}".`+(0,r.l)(c),{nodes:t}))}}}}let l=[...n(3801).HS,...s.nL].map(e=>e.name)}
128,27898:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(28087),i=n(97359);function o(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===i.h.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new r.__("This anonymous operation must be the only defined operation.",{nodes:n}))}}}},52877:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(28087);function i(e){var t,n,i;let o=e.getSchema(),a=null!==(t=null!==(n=null!==(i=null==o?void 0:o.astNode)&&void 0!==i?i:null==o?void 0:o.getQueryType())&&void 0!==n?n:null==o?void 0:o.getMutationType())&&void 0!==t?t:null==o?void 0:o.getSubscriptionType(),s=0;return{SchemaDefinition(t){if(a){e.reportError(new r.__("Cannot define a new schema within a schema extension.",{nodes:t}));return}s>0&&e.reportError(new r.__("Must provide only one schema definition.",{nodes:t})),++s}}}},91422:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(28087);function i(e){let t=Object.create(null),n=[],i=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:o=>((function o(a){if(t[a.name.value])return;let s=a.name.value;t[s]=!0;let u=e.getFragmentSpreads(a.selectionSet);if(0!==u.length){for(let t of(i[s]=n.length,u)){let a=t.name.value,s=i[a];if(n.push(t),void 0===s){let t=e.getFragment(a);t&&o(t)}else{let t=n.slice(s),i=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new r.__(`Cannot spread fragment "${a}" within itself`+(""!==i?` via ${i}.`:"."),{nodes:t}))}n.pop()}i[s]=void 0}})(o),!1)}}},14790:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(28087);function i(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:i}of e.getRecursiveVariableUsages(n)){let o=i.name.value;!0!==t[o]&&e.reportError(new r.__(n.name?`Variable "$${o}" is not defined by operation "${n.name.value}".`:`Variable "$${o}" is not defined.`,{nodes:[i,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}},81294:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(28087);function i(e){let t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){let i=Object.create(null);for(let n of t)for(let t of e.getRecursivelyReferencedFragments(n))i[t.name.value]=!0;for(let t of n){let n=t.name.value;!0!==i[n]&&e.reportError(new r.__(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}},72283:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(28087);function i(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let i=Object.create(null);for(let{node:t}of e.getRecursiveVariableUsages(n))i[t.name.value]=!0;for(let o of t){let t=o.variable.name.value;!0!==i[t]&&e.reportError(new r.__(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:o}))}}},VariableDefinition(e){t.push(e)}}}},54203:function(e,t,n){"use strict";n.d(t,{y:function(){return c}});var r=n(47820),i=n(28087),o=n(97359),a=n(16918),s=n(4454),u=n(38360),l=n(30077);function c(e){let t=new v,n=new Map;return{SelectionSet(r){for(let[[o,a],s,u]of function(e,t,n,r,i){let o=[],[a,s]=y(e,t,r,i);if(function(e,t,n,r,i){for(let[o,a]of Object.entries(i))if(a.length>1)for(let i=0;i<a.length;i++)for(let s=i+1;s<a.length;s++){let u=h(e,n,r,!1,o,a[i],a[s]);u&&t.push(u)}}(e,o,t,n,a),0!==s.length)for(let r=0;r<s.length;r++){p(e,o,t,n,!1,a,s[r]);for(let i=r+1;i<s.length;i++)d(e,o,t,n,!1,s[r],s[i])}return o}(e,n,t,e.getParentType(),r)){let t=function e(t){return Array.isArray(t)?t.map(([t,n])=>`subfields "${t}" conflict because `+e(n)).join(" and "):t}(a);e.reportError(new i.__(`Fields "${o}" conflict because ${t}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:s.concat(u)}))}}}}function p(e,t,n,r,i,o,a){let s=e.getFragment(a);if(!s)return;let[u,l]=E(e,n,s);if(o!==u)for(let s of(f(e,t,n,r,i,o,u),l))r.has(s,a,i)||(r.add(s,a,i),p(e,t,n,r,i,o,s))}function d(e,t,n,r,i,o,a){if(o===a||r.has(o,a,i))return;r.add(o,a,i);let s=e.getFragment(o),u=e.getFragment(a);if(!s||!u)return;let[l,c]=E(e,n,s),[p,h]=E(e,n,u);for(let a of(f(e,t,n,r,i,l,p),h))d(e,t,n,r,i,o,a);for(let o of c)d(e,t,n,r,i,o,a)}function f(e,t,n,r,i,o,a){for(let[s,u]of Object.entries(o)){let o=a[s];if(o)for(let a of u)for(let u of o){let o=h(e,n,r,i,s,a,u);o&&t.push(o)}}}function h(e,t,n,i,o,a,u){let[l,c,h]=a,[E,v,T]=u,g=i||l!==E&&(0,s.lp)(l)&&(0,s.lp)(E);if(!g){let e=c.name.value,t=v.name.value;if(e!==t)return[[o,`"${e}" and "${t}" are different fields`],[c],[v]];if(!function(e,t){let n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length||n.length!==r.length)return!1;let i=new Map(r.map(({name:e,value:t})=>[e.value,t]));return n.every(e=>{let t=e.value,n=i.get(e.name.value);return void 0!==n&&m(t)===m(n)})}(c,v))return[[o,"they have differing arguments"],[c],[v]]}let N=null==h?void 0:h.type,_=null==T?void 0:T.type;if(N&&_&&function e(t,n){return(0,s.HG)(t)?!(0,s.HG)(n)||e(t.ofType,n.ofType):!!(0,s.HG)(n)||((0,s.zM)(t)?!(0,s.zM)(n)||e(t.ofType,n.ofType):!!(0,s.zM)(n)||!!((0,s.UT)(t)||(0,s.UT)(n))&&t!==n)}(N,_))return[[o,`they return conflicting types "${(0,r.X)(N)}" and "${(0,r.X)(_)}"`],[c],[v]];let b=c.selectionSet,I=v.selectionSet;if(b&&I)return function(e,t,n,r){if(e.length>0)return[[t,e.map(([e])=>e)],[n,...e.map(([,e])=>e).flat()],[r,...e.map(([,,e])=>e).flat()]]}(function(e,t,n,r,i,o,a,s){let u=[],[l,c]=y(e,t,i,o),[h,m]=y(e,t,a,s);for(let i of(f(e,u,t,n,r,l,h),m))p(e,u,t,n,r,l,i);for(let i of c)p(e,u,t,n,r,h,i);for(let i of c)for(let o of m)d(e,u,t,n,r,i,o);return u}(e,t,n,g,(0,s.xC)(N),b,(0,s.xC)(_),I),o,c,v)}function m(e){return(0,a.S)((0,u.n)(e))}function y(e,t,n,r){let i=t.get(r);if(i)return i;let a=Object.create(null),u=Object.create(null);!function e(t,n,r,i,a){for(let u of r.selections)switch(u.kind){case o.h.FIELD:{let e;let t=u.name.value;((0,s.lp)(n)||(0,s.oT)(n))&&(e=n.getFields()[t]);let r=u.alias?u.alias.value:t;i[r]||(i[r]=[]),i[r].push([n,u,e]);break}case o.h.FRAGMENT_SPREAD:a[u.name.value]=!0;break;case o.h.INLINE_FRAGMENT:{let r=u.typeCondition,o=r?(0,l._)(t.getSchema(),r):n;e(t,o,u.selectionSet,i,a)}}}(e,n,r,a,u);let c=[a,Object.keys(u)];return t.set(r,c),c}function E(e,t,n){let r=t.get(n.selectionSet);if(r)return r;let i=(0,l._)(e.getSchema(),n.typeCondition);return y(e,t,i,n.selectionSet)}class v{constructor(){this._data=new Map}has(e,t,n){var r;let[i,o]=e<t?[e,t]:[t,e],a=null===(r=this._data.get(i))||void 0===r?void 0:r.get(o);return void 0!==a&&(!!n||n===a)}add(e,t,n){let[r,i]=e<t?[e,t]:[t,e],o=this._data.get(r);void 0===o?this._data.set(r,new Map([[i,n]])):o.set(i,n)}}},63259:function(e,t,n){"use strict";n.d(t,{a:function(){return u}});var r=n(47820),i=n(28087),o=n(4454),a=n(90316),s=n(30077);function u(e){return{InlineFragment(t){let n=e.getType(),s=e.getParentType();
128if((0,o.Gv)(n)&&(0,o.Gv)(s)&&!(0,a.zR)(e.getSchema(),n,s)){let o=(0,r.X)(s),a=(0,r.X)(n);e.reportError(new i.__(`Fragment cannot be spread here as objects of type "${o}" can never be of type "${a}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,u=function(e,t){let n=e.getFragment(t);if(n){let t=(0,s._)(e.getSchema(),n.typeCondition);if((0,o.Gv)(t))return t}}(e,n),l=e.getParentType();if(u&&l&&!(0,a.zR)(e.getSchema(),u,l)){let o=(0,r.X)(l),a=(0,r.X)(u);e.reportError(new i.__(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${a}".`,{nodes:t}))}}}}},34800:function(e,t,n){"use strict";n.d(t,{g:function(){return p}});var r=n(53177),i=n(47820),o=n(29551),a=n(3294),s=n(28087),u=n(97359),l=n(75844),c=n(4454);function p(e){let t=e.getSchema(),n=Object.create(null);for(let t of e.getDocument().definitions)(0,l.zT)(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:p,ObjectTypeExtension:p,InterfaceTypeExtension:p,UnionTypeExtension:p,EnumTypeExtension:p,InputObjectTypeExtension:p};function p(l){let p;let f=l.name.value,h=n[f],m=null==t?void 0:t.getType(f);if(h?p=d[h.kind]:m&&(p=(0,c.KA)(m)?u.h.SCALAR_TYPE_EXTENSION:(0,c.lp)(m)?u.h.OBJECT_TYPE_EXTENSION:(0,c.oT)(m)?u.h.INTERFACE_TYPE_EXTENSION:(0,c.EN)(m)?u.h.UNION_TYPE_EXTENSION:(0,c.EM)(m)?u.h.ENUM_TYPE_EXTENSION:(0,c.hL)(m)?u.h.INPUT_OBJECT_TYPE_EXTENSION:void(0,o.k)(!1,"Unexpected type: "+(0,i.X)(m))),p){if(p!==l.kind){let t=function(e){switch(e){case u.h.SCALAR_TYPE_EXTENSION:return"scalar";case u.h.OBJECT_TYPE_EXTENSION:return"object";case u.h.INTERFACE_TYPE_EXTENSION:return"interface";case u.h.UNION_TYPE_EXTENSION:return"union";case u.h.ENUM_TYPE_EXTENSION:return"enum";case u.h.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,o.k)(!1,"Unexpected kind: "+(0,i.X)(e))}}(l.kind);e.reportError(new s.__(`Cannot extend non-${t} type "${f}".`,{nodes:h?[h,l]:l}))}}else{let i=Object.keys({...n,...null==t?void 0:t.getTypeMap()}),o=(0,a.D)(f,i);e.reportError(new s.__(`Cannot extend type "${f}" because it is not defined.`+(0,r.l)(o),{nodes:l.name}))}}}let d={[u.h.SCALAR_TYPE_DEFINITION]:u.h.SCALAR_TYPE_EXTENSION,[u.h.OBJECT_TYPE_DEFINITION]:u.h.OBJECT_TYPE_EXTENSION,[u.h.INTERFACE_TYPE_DEFINITION]:u.h.INTERFACE_TYPE_EXTENSION,[u.h.UNION_TYPE_DEFINITION]:u.h.UNION_TYPE_EXTENSION,[u.h.ENUM_TYPE_DEFINITION]:u.h.ENUM_TYPE_EXTENSION,[u.h.INPUT_OBJECT_TYPE_DEFINITION]:u.h.INPUT_OBJECT_TYPE_EXTENSION}},61967:function(e,t,n){"use strict";n.d(t,{c:function(){return p},s:function(){return c}});var r=n(47820),i=n(73498),o=n(28087),a=n(97359),s=n(16918),u=n(4454),l=n(68238);function c(e){return{...p(e),Field:{leave(t){var n;let i=e.getFieldDef();if(!i)return!1;let a=new Set(null===(n=t.arguments)||void 0===n?void 0:n.map(e=>e.name.value));for(let n of i.args)if(!a.has(n.name)&&(0,u.dK)(n)){let a=(0,r.X)(n.type);e.reportError(new o.__(`Field "${i.name}" argument "${n.name}" of type "${a}" is required, but it was not provided.`,{nodes:t}))}}}}}function p(e){var t,n;let c=Object.create(null),p=e.getSchema();for(let e of null!==(t=null==p?void 0:p.getDirectives())&&void 0!==t?t:l.V4)c[e.name]=(0,i.P)(e.args.filter(u.dK),e=>e.name);for(let t of e.getDocument().definitions)if(t.kind===a.h.DIRECTIVE_DEFINITION){let e=null!==(n=t.arguments)&&void 0!==n?n:[];c[t.name.value]=(0,i.P)(e.filter(d),e=>e.name.value)}return{Directive:{leave(t){let n=t.name.value,i=c[n];if(i){var a;let l=new Set((null!==(a=t.arguments)&&void 0!==a?a:[]).map(e=>e.name.value));for(let[a,c]of Object.entries(i))if(!l.has(a)){let i=(0,u.P9)(c.type)?(0,r.X)(c.type):(0,s.S)(c.type);e.reportError(new o.__(`Directive "@${n}" argument "${a}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}}function d(e){return e.type.kind===a.h.NON_NULL_TYPE&&null==e.defaultValue}},41954:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(47820),i=n(28087),o=n(4454);function a(e){return{Field(t){let n=e.getType(),a=t.selectionSet;if(n){if((0,o.UT)((0,o.xC)(n))){if(a){let o=t.name.value,s=(0,r.X)(n);e.reportError(new i.__(`Field "${o}" must not have a selection since type "${s}" has no subfields.`,{nodes:a}))}}else if(!a){let o=t.name.value,a=(0,r.X)(n);e.reportError(new i.__(`Field "${o}" of type "${a}" must have a selection of subfields. Did you mean "${o} { ... }"?`,{nodes:t}))}}}}}},10423:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(28087),i=n(97359),o=n(97677);function a(e){return{OperationDefinition(t){if("subscription"===t.operation){let n=e.getSchema(),a=n.get
128SubscriptionType();if(a){let s=t.name?t.name.value:null,u=Object.create(null),l=e.getDocument(),c=Object.create(null);for(let e of l.definitions)e.kind===i.h.FRAGMENT_DEFINITION&&(c[e.name.value]=e);let p=(0,o.g)(n,c,u,a,t.selectionSet);if(p.size>1){let t=[...p.values()].slice(1).flat();e.reportError(new r.__(null!=s?`Subscription "${s}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(let t of p.values())t[0].name.value.startsWith("__")&&e.reportError(new r.__(null!=s?`Subscription "${s}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}},12337:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(3231),i=n(28087);function o(e){return{DirectiveDefinition(e){var t;let r=null!==(t=e.arguments)&&void 0!==t?t:[];return n(`@${e.name.value}`,r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t,r;let i=e.name.value;for(let o of null!==(t=e.fields)&&void 0!==t?t:[]){let e=o.name.value;n(`${i}.${e}`,null!==(r=o.arguments)&&void 0!==r?r:[])}return!1}function n(t,n){for(let[o,a]of(0,r.v)(n,e=>e.name.value))a.length>1&&e.reportError(new i.__(`Argument "${t}(${o}:)" can only be defined once.`,{nodes:a.map(e=>e.name)}));return!1}}},42266:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(3231),i=n(28087);function o(e){return{Field:t,Directive:t};function t(t){var n;let o=null!==(n=t.arguments)&&void 0!==n?n:[];for(let[t,n]of(0,r.v)(o,e=>e.name.value))n.length>1&&e.reportError(new i.__(`There can be only one argument named "${t}".`,{nodes:n.map(e=>e.name)}))}}},53274:function(e,t,n){"use strict";n.d(t,{o:function(){return i}});var r=n(28087);function i(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(i){let o=i.name.value;if(null!=n&&n.getDirective(o)){e.reportError(new r.__(`Directive "@${o}" already exists in the schema. It cannot be redefined.`,{nodes:i.name}));return}return t[o]?e.reportError(new r.__(`There can be only one directive named "@${o}".`,{nodes:[t[o],i.name]})):t[o]=i.name,!1}}}},96300:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(28087),i=n(97359),o=n(75844),a=n(68238);function s(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():a.V4)t[e.name]=!e.isRepeatable;for(let n of e.getDocument().definitions)n.kind===i.h.DIRECTIVE_DEFINITION&&(t[n.name.value]=!n.repeatable);let s=Object.create(null),u=Object.create(null);return{enter(n){let a;if("directives"in n&&n.directives){if(n.kind===i.h.SCHEMA_DEFINITION||n.kind===i.h.SCHEMA_EXTENSION)a=s;else if((0,o.zT)(n)||(0,o.D$)(n)){let e=n.name.value;void 0===(a=u[e])&&(u[e]=a=Object.create(null))}else a=Object.create(null);for(let i of n.directives){let n=i.name.value;t[n]&&(a[n]?e.reportError(new r.__(`The directive "@${n}" can only be used once at this location.`,{nodes:[a[n],i]})):a[n]=i)}}}}}},93201:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var r=n(28087),i=n(4454);function o(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{EnumTypeDefinition:a,EnumTypeExtension:a};function a(t){var a;let s=t.name.value;o[s]||(o[s]=Object.create(null));let u=null!==(a=t.values)&&void 0!==a?a:[],l=o[s];for(let t of u){let o=t.name.value,a=n[s];(0,i.EM)(a)&&a.getValue(o)?e.reportError(new r.__(`Enum value "${s}.${o}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):l[o]?e.reportError(new r.__(`Enum value "${s}.${o}" can only be defined once.`,{nodes:[l[o],t.name]})):l[o]=t.name}return!1}}},22618:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(28087),i=n(4454);function o(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),o=Object.create(null);return{InputObjectTypeDefinition:a,InputObjectTypeExtension:a,InterfaceTypeDefinition:a,InterfaceTypeExtension:a,ObjectTypeDefinition:a,ObjectTypeExtension:a};function a(t){var a,s;let u=t.name.value;o[u]||(o[u]=Object.create(null));let l=null!==(a=t.fields)&&void 0!==a?a:[],c=o[u];for(let t of l){let o=t.name.value;(s=n[u],((0,i.lp)(s)||(0,i.oT)(s)||(0,i.hL)(s))&&null!=s.getFields()[o])?e.reportError(new r.__(`Field "${u}.${o}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):c[o]?e.reportError(new r.__(`Field "${u}.${o}" can only be defined once.`,{nodes:[c[o],t.name]})):c[o]=t.name}return!1}}},45591:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var r=n(28087);function i(e){let t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){let i=n.name.value;return t[i]?e.reportError(new r.__(`There can be only one fragment named "${i}".`,{nodes:[t[i],n.name]})):t[i]=n.name,!1}}}},92767:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var r=n(29551),i=n(28087);function o(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let e=t.pop();e||(0,r.k)(!1),n=e}},ObjectField(t){let r=t.name.value;n[r]?e.reportError(new i.__(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}},82621:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(28087);function i(e){let t=Object.create(null);return{OperationDefinition(n){let i=n.name;return i&&(t[i.value]?e.reportError(new r.__(`There can be only one operation named "${i.value}".`,{nodes:[t[i.value],i]})):t[i.value]=i),!1},FragmentDefinition:()=>!1}}},77990:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(28087);function i(e){let t=e.getSchema(),n=Object.create(null),i=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:o,SchemaExtension:o};function o(t){var o;for(let a of null!==(o=t.operationTypes)&&void 0!==o?o:[]){let t=a.operation,o=n[t];i[t]?e.reportError(new r.__(`Type for ${t} already defined in the schema. It cannot be redefined.`,{nodes:a})):o?e.reportError(new r.__(`There can be only one ${t} type in schema.`,{nodes:[o,a]})):n[t]=a}return!1}}},69538:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(28087);function i(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:i,ObjectTypeDefinition:i,InterfaceTypeDefinition:i,UnionTypeDefinition:i,EnumTypeDefinition:i,InputObjectTypeDefinition:i};function i(i){let o=i.name.value;if(null!=n&&n.getType(o)){e.reportError(new r.__(`Type "${o}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:i.name}));return}return t[o]?e.reportError(new r.__(`There can be only one type named "${o}".`,{nodes:[t[o],i.name]})):t[o]=i.name,!1}}},1564:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(3231),i=n(28087);function o(e){return{OperationDefinition(t){var n;let o=null!==(n=t.variableDefinitions)&&void 0!==n?n:[];for(let[t,n]of(0,r.v)(o,e=>e.variable.name.value))n.length>1&&e.reportError(new i.__(`There can be only one variable named "$${t}".`,{nodes:n.map(e=>e.variable.name)}))}}}},19831:function(e,t,n){"use strict";n.d(t,{j:function(){return c}});var r=n(53177),i=n(47820),o=n(73498),a=n(3294),s=n(28087),u=n(16918),l=n(4454);function c(e){return{ListValue(t){let n=(0,l.tf)(e.getParentInputType());if(!(0,l.HG)(n))return p(e,t),!1},ObjectValue(t){let n=(0,l.xC)(e.getInputType());if(!(0,l.hL)(n))return p(e,t),!1;let r=(0,o.P)(t.fields,e=>e.name.value);for(let o of Object.values(n.getFields()))if(!r[o.name]&&(0,l.Wd)(o)){let r=(0,i.X)(o.type);e.reportError(new s.__(`Field "${n.name}.${o.name}" of required type "${r}" was not provided.`,{nodes:t}))}},ObjectField(t){let n=(0,l.xC)(e.getParentInputType());if(!e.getInputType()&&(0,l.hL)(n)){let i=(0,a.D)(t.name.value,Object.keys(n.getFields()));e.reportError(new s.__(`Field "${t.name.value}" is not defined by type "${n.name}".`+(0,r.l)(i),{nodes:t}))}}
128,NullValue(t){let n=e.getInputType();(0,l.zM)(n)&&e.reportError(new s.__(`Expected value of type "${(0,i.X)(n)}", found ${(0,u.S)(t)}.`,{nodes:t}))},EnumValue:t=>p(e,t),IntValue:t=>p(e,t),FloatValue:t=>p(e,t),StringValue:t=>p(e,t),BooleanValue:t=>p(e,t)}}function p(e,t){let n=e.getInputType();if(!n)return;let r=(0,l.xC)(n);if(!(0,l.UT)(r)){let r=(0,i.X)(n);e.reportError(new s.__(`Expected value of type "${r}", found ${(0,u.S)(t)}.`,{nodes:t}));return}try{let o=r.parseLiteral(t,void 0);if(void 0===o){let r=(0,i.X)(n);e.reportError(new s.__(`Expected value of type "${r}", found ${(0,u.S)(t)}.`,{nodes:t}))}}catch(o){let r=(0,i.X)(n);o instanceof s.__?e.reportError(o):e.reportError(new s.__(`Expected value of type "${r}", found ${(0,u.S)(t)}; `+o.message,{nodes:t,originalError:o}))}}},45972:function(e,t,n){"use strict";n.d(t,{I:function(){return s}});var r=n(28087),i=n(16918),o=n(4454),a=n(30077);function s(e){return{VariableDefinition(t){let n=(0,a._)(e.getSchema(),t.type);if(void 0!==n&&!(0,o.j$)(n)){let n=t.variable.name.value,o=(0,i.S)(t.type);e.reportError(new r.__(`Variable "$${n}" cannot be non-input type "${o}".`,{nodes:t.type}))}}}}},9701:function(e,t,n){"use strict";n.d(t,{w:function(){return l}});var r=n(47820),i=n(28087),o=n(97359),a=n(4454),s=n(90316),u=n(30077);function l(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:l,type:c,defaultValue:p}of e.getRecursiveVariableUsages(n)){let n=l.name.value,d=t[n];if(d&&c){let t=e.getSchema(),f=(0,u._)(t,d.type);if(f&&!function(e,t,n,r,i){if((0,a.zM)(r)&&!(0,a.zM)(t)){if(!(null!=n&&n.kind!==o.h.NULL)&&!(void 0!==i))return!1;let a=r.ofType;return(0,s.uJ)(e,t,a)}return(0,s.uJ)(e,t,r)}(t,f,d.defaultValue,c,p)){let t=(0,r.X)(f),o=(0,r.X)(c);e.reportError(new i.__(`Variable "$${n}" of type "${t}" used in position expecting type "${o}".`,{nodes:[d,l]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}},15394:function(e,t,n){"use strict";n.d(t,{r:function(){return a}});var r=n(29551),i=n(28087),o=n(4454);function a(e){return{Field(t){let n=e.getFieldDef(),o=null==n?void 0:n.deprecationReason;if(n&&null!=o){let a=e.getParentType();null!=a||(0,r.k)(!1),e.reportError(new i.__(`The field ${a.name}.${n.name} is deprecated. ${o}`,{nodes:t}))}},Argument(t){let n=e.getArgument(),o=null==n?void 0:n.deprecationReason;if(n&&null!=o){let a=e.getDirective();if(null!=a)e.reportError(new i.__(`Directive "@${a.name}" argument "${n.name}" is deprecated. ${o}`,{nodes:t}));else{let a=e.getParentType(),s=e.getFieldDef();null!=a&&null!=s||(0,r.k)(!1),e.reportError(new i.__(`Field "${a.name}.${s.name}" argument "${n.name}" is deprecated. ${o}`,{nodes:t}))}}},ObjectField(t){let n=(0,o.xC)(e.getParentInputType());if((0,o.hL)(n)){let r=n.getFields()[t.name.value],o=null==r?void 0:r.deprecationReason;null!=o&&e.reportError(new i.__(`The input field ${n.name}.${r.name} is deprecated. ${o}`,{nodes:t}))}},EnumValue(t){let n=e.getEnumValue(),a=null==n?void 0:n.deprecationReason;if(n&&null!=a){let s=(0,o.xC)(e.getInputType());null!=s||(0,r.k)(!1),e.reportError(new i.__(`The enum value "${s.name}.${n.name}" is deprecated. ${a}`,{nodes:t}))}}}}},24196:function(e,t,n){"use strict";n.d(t,{M:function(){return V},i:function(){return M}});var r=n(88081),i=n(48741),o=n(77143),a=n(47815),s=n(84873),u=n(5311),l=n(25580),c=n(27898),p=n(52877),d=n(91422),f=n(14790),h=n(81294),m=n(72283),y=n(54203),E=n(63259),v=n(34800),T=n(61967),g=n(41954),N=n(10423),_=n(12337),b=n(42266),I=n(53274),O=n(96300),S=n(93201),w=n(22618),D=n(45591),A=n(92767),R=n(82621),k=n(77990),x=n(69538),L=n(1564),C=n(19831),$=n(45972),F=n(9701);let M=Object.freeze([r.i,R.H,c.F,N.Z,l.I,o.T,$.I,g.O,i.A,D.N,u.a,h.J,E.a,d.H,L.H,f.$,m.p,s.J,O.k,a.e,b.L,C.j,T.s,F.w,y.y,A.P]),V=Object.freeze([p.t,k.q,x.P,S.L,w.y,_.L,I.o,l.I,s.J,O.k,v.g,a.o,b.L,A.P,T.c])},24635:function(e,t,n){"use strict";n.d(t,{ED:function(){return f},Gu:function(){return c},zo:function(){return d}});var r=n(37826),i=n(28087),o=n(77304),a=n(19655),s=n(22676),u=n(24196),l=n(32734);function c(e,t,n=u.i,c,p=new s.a(e)){var d;let f=null!==(d=null==c?void 0:c.maxErrors)&&void 0!==d?d:100;t||(0,r.a)(!1,"Must provide document."),(0,a.J)(e);let h=Object.freeze({}),m=[],y=new l._t(e,t,p,e=>{if(m.length>=f)throw m.push(new i.__("Too many validation errors, error limit reached. Validation aborted.")),h;m.push(e)}),E=(0,o.j1)(n.map(e=>e(y)));try{(0,o.Vn)(t,(0,s.y)(p,E))}catch(e){if(e!==h)throw e}return m}function p(e,t,n=u.M){let r=[],i=new l.yv(e,t,e=>{r.push(e)}),a=n.map(e=>e(i));return(0,o.Vn)(e,(0,o.j1)(a)),r}function d(e){let t=p(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}function f(e,t){let n=p(e,t);if(0!==n.length)throw Error(n.map(e=>e.message).join("\n\n"))}}}]);
129//# sourceMappingURL=6911.23ac5c43658b7312.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.