1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="e6db3609-339d-5e6a-821f-6a1234f14c8e")}catch(e){}}(); 3(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,481661,(e,t,n)=>{"use strict";t.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,t.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,t.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(t.exports,e.r(247472))},887383,e=>{"use strict";e.s(["default",()=>o,"equal",()=>s]);let{toString:t,hasOwnProperty:n}=Object.prototype,i=Function.prototype.toString,r=new Map;function s(e,s){try{return function e(r,s){if(r===s)return!0;let o=t.call(r);if(o!==t.call(s))return!1;switch(o){case"[object Array]":if(r.length!==s.length)break;case"[object Object]":{if(u(r,s))return!0;let t=a(r),i=a(s),o=t.length;if(o!==i.length)return!1;for(let e=0;e<o;++e)if(!n.call(s,t[e]))return!1;for(let n=0;n<o;++n){let i=t[n];if(!e(r[i],s[i]))return!1}return!0}case"[object Error]":return r.name===s.name&&r.message===s.message;case"[object Number]":if(r!=r)return s!=s;case"[object Boolean]":case"[object Date]":return+r==+s;case"[object RegExp]":case"[object String]":return r=="".concat(s);case"[object Map]":case"[object Set]":{if(r.size!==s.size)return!1;if(u(r,s))return!0;let t=r.entries(),n="[object Map]"===o;for(;;){let i=t.next();if(i.done)break;let[r,o]=i.value;if(!s.has(r)||n&&!e(o,s.get(r)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":r=new Uint8Array(r),s=new Uint8Array(s);case"[object DataView]":{let e=r.byteLength;if(e===s.byteLength)for(;e--&&r[e]===s[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=i.call(r);if(e!==i.call(s))return!1;return!function(e,t){let n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(e,c)}}return!1}(e,s)}finally{r.clear()}}let o=s;function a(e){return Object.keys(e).filter(l,e)}function l(e){return void 0!==this[e]}let c="{ [native code] }";function u(e,t){let n=r.get(e);if(n){if(n.has(t))return!0}else r.set(e,n=new Set);return n.add(t),!1}},516837,802132,696481,203262,319024,961721,22460,436434,e=>{"use strict";e.s([],516837),e.s(["invariant",()=>N,"newInvariantError",()=>g],436434),e.s(["InvariantError",()=>s,"default",()=>h,"invariant",()=>o,"setVerbosity",()=>u],802132);var t=e.i(409859),n="Invariant Violation",i=Object.setPrototypeOf,r=void 0===i?function(e,t){return e.__proto__=t,e}:i,s=function(e){function i(t){void 0===t&&(t=n);var s=e.call(this,"number"==typeof t?n+": "+t+" (see https://github.com/apollographql/invariant-packages)":t)||this;return s.framesToPop=1,s.name=n,r(s,i.prototype),s}return(0,t.__extends)(i,e),i}(Error);function o(e,t){if(!e)throw new s(t)}var a=["debug","log","warn","error","silent"],l=a.indexOf("log");function c(e){return function(){if(a.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}function u(e){var t=a[l];return l=Math.max(0,a.indexOf(e)),t}!function(e){e.debug=c("debug"),e.log=c("log"),e.warn=c("warn"),e.error=c("error")}(o||(o={}));let h=o;e.s(["version",()=>d],696481);var d="3.13.8";function p(e){try{return e()}catch(e){}}e.s(["default",()=>f],319024),e.s(["maybe",()=>p],203262);let f=p(function(){return globalThis})||p(function(){return window})||p(function(){return self})||p(function(){return e.g})||p(function(){return p.constructor("return this")()});e.s(["stringifyForDisplay",()=>m],22460),e.s(["makeUniqueId",()=>T],961721);var E=new Map;function T(e){var t=E.get(e)||1;return E.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function m(e,t){void 0===t&&(t=0);var n=T("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?n:t},t).split(JSON.stringify(n)).join("<undefined>")}function y(e){return function(t){for(var n=[],i=1;i<arguments.length;i++)n[i-1]=arguments[i];if("number"==typeof t){var r=t;(t=_(r))||(t=A(r,n),n=[])}e.apply(void 0,[t].concat(n))}}var N=Object.assign(function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];e||o(e,_(t,n)||A(t,n))},{debug:y(o.debug),log:y(o.log),warn:y(o.warn),error:y(o.error)});function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new s(_(e,t)||A(e,t))}var k=Symbol.for("ApolloErrorMessageHandler_"+d);function v(e){if("string"==typeof e)return e;try{return m(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function _(e,t){if(void 0===t&&(t=[]),e)return f[k]&&f[k](e,t.map(v))}function A(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:d,message:e,args:t.map(v)})))}globalThis.__DEV__},694283,366951,315178,484983,551070,e=>{"use strict";function t(){}e.s(["AutoCleanedStrongCache",()=>h,"AutoCleanedWeakCache",()=>u],694283),e.s(["WeakCache",()=>s],366951);let n="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
3,i="undefined"!=typeof WeakMap?WeakMap:Map,r="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:t,unregister:t}};class s{has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.scheduleFinalization(n),this.map.set(e,n),this.size++,n.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}constructor(e=1/0,s=t){this.max=e,this.dispose=s,this.map=new i,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let i=t.key;delete t.key,t.keyRef=new n(i),this.registry.register(i,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new r(this.deleteNode.bind(this))}}function o(){}e.s(["StrongCache",()=>a],315178);class a{has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:n}=t;n&&(n.older=e),e&&(e.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}set(e,t){let n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}constructor(e=1/0,t=o){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}}var l=new WeakSet;function c(e){!(e.size<=(e.max||-1))&&(l.has(e)||(l.add(e),setTimeout(function(){e.clean(),l.delete(e)},100)))}var u=function(e,t){var n=new s(e,t);return n.set=function(e,t){var n=s.prototype.set.call(this,e,t);return c(this),n},n},h=function(e,t){var n=new a(e,t);return n.set=function(e,t){var n=a.prototype.set.call(this,e,t);return c(this),n},n};e.s(["cacheSizes",()=>E],484983);var d=e.i(409859);e.i(516837);var p=e.i(319024),p=p,f=Symbol.for("apollo.cacheSize"),E=(0,d.__assign)({},p.default[f]);e.s(["getApolloCacheMemoryInternals",()=>g,"getApolloClientMemoryInternals",()=>y,"getInMemoryCacheMemoryInternals",()=>N,"registerGlobalCache",()=>m],551070);var T={};function m(e,t){T[e]=t}var y=!1!==globalThis.__DEV__?function(){var e,t,n,i,r;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],n=e[1];return[t,E[t]||n]})),sizes:(0,d.__assign)({print:null==(e=T.print)?void 0:e.call(T),parser:null==(t=T.parser)?void 0:t.call(T),canonicalStringify:null==(n=T.canonicalStringify)?void 0:n.call(T),links:function e(t){var n;return t?(0,d.__spreadArray)((0,d.__spreadArray)([null==(n=null==t?void 0:t.getMemoryInternals)?void 0:n.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(_):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:A(this.queryManager.documentTransform)}},null==(r=(i=this.cache).getMemoryInternals)?void 0:r.call(i))}}:void 0,N=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,d.__assign)((0,d.__assign)({},k.apply(this)),{addTypenameDocumentTransform:A(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:v(this.storeReader.executeSelectionSet),executeSubSelectedArray:v(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:v(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:v(null==e?void 0:e.findFragmentSpreads),lookup:v(null==e?void 0:e.lookup),transform:v(null==e?void 0:e.transform)}})}:void 0,g=!1!==globalThis.__DEV__?k:void 0;function k(){return{cache:{fragmentQueryDocuments:v(this.getFragmentDoc)}}}function v(e){return e&&"dirtyKey"in e?e.size:void 0}function _(e){return null!=e}function A(e){return(function e(t){return t?(0,d.__spreadArray)((0,d.__spreadArray)([v(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(_):[]})(e).map(function(e){return{cache:e}})}},926913,e=>{"use strict";function t(e){return null!==e&&"object"==typeof e}e.s(["isNonNullObject",()=>t])},222368,e=>{"use strict";e.s(["ApolloError",()=>
3a,"PROTOCOL_ERRORS_SYMBOL",()=>i,"graphQLResultHasProtocolErrors",()=>r,"isApolloError",()=>s]);var t=e.i(409859);e.i(516837);var n=e.i(926913),i=Symbol();function r(e){return!!e.extensions&&Array.isArray(e.extensions[i])}function s(e){return e.hasOwnProperty("graphQLErrors")}var o=function(e){var i=(0,t.__spreadArray)((0,t.__spreadArray)((0,t.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&i.push(e.networkError),i.map(function(e){return(0,n.isNonNullObject)(e)&&e.message||"Error message not found."}).join("\n")},a=function(e){function n(i){var r=i.graphQLErrors,s=i.protocolErrors,a=i.clientErrors,l=i.networkError,c=i.errorMessage,u=i.extraInfo,h=e.call(this,c)||this;return h.name="ApolloError",h.graphQLErrors=r||[],h.protocolErrors=s||[],h.clientErrors=a||[],h.networkError=l||null,h.message=c||o(h),h.extraInfo=u,h.cause=(0,t.__spreadArray)((0,t.__spreadArray)((0,t.__spreadArray)([l],r||[],!0),s||[],!0),a||[],!0).find(function(e){return!!e})||null,h.__proto__=n.prototype,h}return(0,t.__extends)(n,e),n}(Error)},317653,e=>{"use strict";e.s(["canUseAsyncIteratorSymbol",()=>o,"canUseDOM",()=>a,"canUseLayoutEffect",()=>c,"canUseSymbol",()=>s,"canUseWeakMap",()=>i,"canUseWeakSet",()=>r]),e.i(516837);var t=e.i(203262),n="ReactNative"==(0,t.maybe)(function(){return navigator.product}),i="function"==typeof WeakMap&&!(n&&!e.g.HermesInternal),r="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,o=s&&Symbol.asyncIterator,a="function"==typeof(0,t.maybe)(function(){return window.document.createElement}),l=(0,t.maybe)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,c=(a||n)&&!l},94363,437243,e=>{"use strict";e.s(["useApolloClient",()=>s],94363),e.i(516837);var t=e.i(436434),n=e.i(481661);e.s(["getApolloContext",()=>r],437243);var i=e.i(317653).canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function r(){(0,t.invariant)("createContext"in n,54);var e=n.createContext[i];return e||(Object.defineProperty(n.createContext,i,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}function s(e){var i=n.useContext(r()),s=e||i.client;return(0,t.invariant)(!!s,58),s}},311160,e=>{"use strict";var t;function n(e){return!!e&&e<7}function i(e){return 7===e||8===e}e.s(["NetworkStatus",()=>t,"isNetworkRequestInFlight",()=>n,"isNetworkRequestSettled",()=>i]),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(t||(t={}))},360397,158294,e=>{"use strict";function t(e,t){if(!e)throw Error(t)}function n(e){return function e(t,n){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?"[function ".concat(t.name,"]"):"[function]";case"object":return function(t,n){if(null===t)return"null";if(n.includes(t))return"[Circular]";let i=[...n,t];if("function"==typeof t.toJSON){let n=t.toJSON();if(n!==t)return"string"==typeof n?n:e(n,i)}else if(Array.isArray(t)){var r=t,s=i;if(0===r.length)return"[]";if(s.length>2)return"[Array]";let n=Math.min(10,r.length),o=r.length-n,a=[];for(let t=0;t<n;++t)a.push(e(r[t],s));return 1===o?a.push("... 1 more item"):o>1&&a.push("... ".concat(o," more items")),"["+a.join(", ")+"]"}var o=t,a=i;let l=Object.entries(o);return 0===l.length?"{}":a.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}(o)+"]":"{ "+l.map(t=>{let[n,i]=t;return n+": "+e(i,a)}).join(", ")+" }"}(t,n);default:return String(t)}}(e,[])}e.s(["devAssert",()=>t],360397),e.s(["inspect",()=>n],158294)},266334,e=>{"use strict";var t;e.s(["Location",()=>n,"OperationTypeNode",()=>t,"QueryDocumentKeys",()=>r,"Token",()=>i,"isNode",()=>o]);class n{get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}constructor(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}}class i{get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}constructor(e,t,n,i,r,s){this.kind=e,this.start=t,this.end=n,this.line=i,this.column=r,this.value=s,this.prev=null,this.next=null}}let r={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:[],Float
3Value:[],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"]},s=new Set(Object.keys(r));function o(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(t||(t={}))},405980,e=>{"use strict";var t;e.s(["Kind",()=>t]),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(t||(t={}))},889496,e=>{"use strict";e.s(["BREAK",()=>s,"getEnterLeaveForKind",()=>l,"getVisitFn",()=>c,"visit",()=>o,"visitInParallel",()=>a]);var t=e.i(360397),n=e.i(158294),i=e.i(266334),r=e.i(405980);let s=Object.freeze({});function o(e,o){let a,c,u,h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i.QueryDocumentKeys,d=new Map;for(let e of Object.values(r.Kind))d.set(e,l(o,e));let p=Array.isArray(e),f=[e],E=-1,T=[],m=e,y=[],N=[];do{var g,k,v;let e,r=++E===f.length,l=r&&0!==T.length;if(r){if(c=0===N.length?void 0:y[y.length-1],m=u,u=N.pop(),l)if(p){m=m.slice();let e=0;for(let[t,n]of T){let i=t-e;null===n?(m.splice(i,1),e++):m[i]=n}}else for(let[e,t]of(m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m)),T))m[e]=t;E=a.index,f=a.keys,T=a.edits,p=a.inArray,a=a.prev}else if(u){if(null==(m=u[c=p?E:f[E]]))continue;y.push(c)}if(!Array.isArray(m)){(0,i.isNode)(m)||(0,t.devAssert)(!1,"Invalid AST Node: ".concat((0,n.inspect)(m),"."));let a=r?null==(g=d.get(m.kind))?void 0:g.leave:null==(k=d.get(m.kind))?void 0:k.enter;if((e=null==a?void 0:a.call(o,m,c,u,y,N))===s)break;if(!1===e){if(!r){y.pop();continue}}else if(void 0!==e&&(T.push([c,e]),!r))if((0,i.isNode)(e))m=e;else{y.pop();continue}}void 0===e&&l&&T.push([c,m]),r?y.pop():(a={inArray:p,index:E,keys:f,edits:T,prev:a},f=(p=Array.isArray(m))?m:null!=(v=h[m.kind])?v:[],E=-1,T=[],u&&N.push(u),u=m)}while(void 0!==a)return 0!==T.length?T[T.length-1][1]:e}function a(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let i of Object.values(r.Kind)){let r=!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}=l(e[t],i);r||(r=null!=n||null!=s),o[t]=n,a[t]=s}if(!r)continue;let c={enter(){for(var n,i=arguments.length,r=Array(i),a=0;a<i;a++)r[a]=arguments[a];let l=r[0];for(let i=0;i<e.length;i++)if(null===t[i]){let a=null==(n=o[i])?void 0:n.apply(e[i],r);if(!1===a)t[i]=l;else if(a===s)t[i]=s;else if(void 0!==a)return a}},leave(){for(var n,i=arguments.length,r=Array(i),o=0;o<i;o++)r[o]=arguments[o];let l=r[0];for(let i=0;i<e.length;i++)if(null===t[i]){let o=null==(n=a[i])?void 0:n.apply(e[i],r);if(o===s)t[i]=s;else if(void 0!==o&&!1!==o)return o}else t[i]===l&&(t[i]=null)}};n[i]=c}return n}function l(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}}
3function c(e,t,n){let{enter:i,leave:r}=l(e,t);return n?r:i}},383722,e=>{"use strict";e.s(["canonicalStringify",()=>s]);var t,n=e.i(694283),i=e.i(484983),r=e.i(551070),s=Object.assign(function(e){return JSON.stringify(e,o)},{reset:function(){t=new n.AutoCleanedStrongCache(i.cacheSizes.canonicalStringify||1e3)}});function o(e,n){if(n&&"object"==typeof n){var i=Object.getPrototypeOf(n);if(i===Object.prototype||null===i){var r=Object.keys(n);if(r.every(a))return n;var s=JSON.stringify(r),o=t.get(s);if(!o){r.sort();var l=JSON.stringify(r);o=t.get(l)||r,t.set(s,o),t.set(l,o)}var c=Object.create(i);return o.forEach(function(e){c[e]=n[e]}),c}}return n}function a(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,r.registerGlobalCache)("canonicalStringify",function(){return t.size}),s.reset()},572421,e=>{"use strict";e.s(["Trie",()=>s]);let t=()=>Object.create(null),{forEach:n,slice:i}=Array.prototype,{hasOwnProperty:r}=Object.prototype;class s{lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return n.call(e,e=>t=t.getChildTrie(e)),r.call(t,"data")?t.data:t.data=this.makeData(i.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,i=e.length;t&&n<i;++n){let i=t.mapFor(e[n],!1);t=i&&i.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let n=e[0],r=this.mapFor(n,!1),s=r&&r.get(n);s&&(t=s.removeArray(i.call(e,1)),s.data||s.weak||s.strong&&s.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),n=t.get(e);return n||t.set(e,n=new s(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}constructor(e=!0,n=t){this.weakness=e,this.makeData=n}}},87273,e=>{"use strict";e.s(["isArray",()=>t,"isNonEmptyArray",()=>n]);var t=Array.isArray;function n(e){return Array.isArray(e)&&e.length>0}},510348,18430,865117,998056,672665,98849,e=>{"use strict";function t(e){return"object"==typeof e&&null!==e}function n(e,t){if(!e)throw Error(null!=t?t:"Unexpected invariant triggered.")}e.s(["syntaxError",()=>d],510348),e.s(["GraphQLError",()=>l,"formatError",()=>h,"printError",()=>u],98849),e.s(["isObjectLike",()=>t],18430),e.s(["getLocation",()=>r],998056),e.s(["invariant",()=>n],865117);let i=/\r\n|[\n\r]/g;function r(e,t){let r=0,s=1;
3for(let o of e.body.matchAll(i)){if("number"==typeof o.index||n(!1),o.index>=t)break;r=o.index+o[0].length,s+=1}return{line:s,column:t+1-r}}function s(e){return o(e.source,r(e.source,e.start))}function o(e,t){let n=e.locationOffset.column-1,i="".padStart(n)+e.body,r=t.line-1,s=e.locationOffset.line-1,o=t.line+s,l=1===t.line?n:0,c=t.column+l,u="".concat(e.name,":").concat(o,":").concat(c,"\n"),h=i.split(/\r\n|[\n\r]/g),d=h[r];if(d.length>120){let e=Math.floor(c/80),t=c%80,n=[];for(let e=0;e<d.length;e+=80)n.push(d.slice(e,e+80));return u+a([["".concat(o," |"),n[0]],...n.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(t)],["|",n[e+1]]])}return u+a([["".concat(o-1," |"),h[r-1]],["".concat(o," |"),d],["|","^".padStart(c)],["".concat(o+1," |"),h[r+1]]])}function a(e){let t=e.filter(e=>{let[t,n]=e;return void 0!==n}),n=Math.max(...t.map(e=>{let[t]=e;return t.length}));return t.map(e=>{let[t,i]=e;return t.padStart(n)+(i?" "+i:"")}).join("\n")}e.s(["printLocation",()=>s,"printSourceLocation",()=>o],672665);class l extends Error{get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let t of this.nodes)t.loc&&(e+="\n\n"+s(t.loc));else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+o(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}constructor(e,...n){var i,s,o;let{nodes:a,source:u,positions:h,path:d,originalError:p,extensions:f}=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}(n);super(e),this.name="GraphQLError",this.path=null!=d?d:void 0,this.originalError=null!=p?p:void 0,this.nodes=c(Array.isArray(a)?a:a?[a]:void 0);let E=c(null==(i=this.nodes)?void 0:i.map(e=>e.loc).filter(e=>null!=e));this.source=null!=u?u:null==E||null==(s=E[0])?void 0:s.source,this.positions=null!=h?h:null==E?void 0:E.map(e=>e.start),this.locations=h&&u?h.map(e=>r(u,e)):null==E?void 0:E.map(e=>r(e.source,e.start));let T=t(null==p?void 0:p.extensions)?null==p?void 0:p.extensions:void 0;this.extensions=null!=(o=null!=f?f:T)?o: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!=p&&p.stack?Object.defineProperty(this,"stack",{value:p.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,l):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}}function c(e){return void 0===e||0===e.length?void 0:e}function u(e){return e.toString()}function h(e){return e.toJSON()}function d(e,t,n){return new l("Syntax Error: ".concat(n),{source:e,positions:[t]})}},825953,e=>{"use strict";var t;e.s(["DirectiveLocation",()=>t]),function(e){e.QUERY="QUERY",e.MUTATION="MUTATION",e.SUBSCRIPTION="SUBSCRIPTION",e.FIELD="FIELD",e.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",e.FRAGMENT_SPREAD="FRAGMENT_SPREAD",e.INLINE_FRAGMENT="INLINE_FRAGMENT",e.VARIABLE_DEFINITION="VARIABLE_DEFINITION",e.SCHEMA="SCHEMA",e.SCALAR="SCALAR",e.OBJECT="OBJECT",e.FIELD_DEFINITION="FIELD_DEFINITION",e.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",e.INTERFACE="INTERFACE",e.UNION="UNION",e.ENUM="ENUM",e.ENUM_VALUE="ENUM_VALUE",e.INPUT_OBJECT="INPUT_OBJECT",e.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION"}(t||(t={}))},463018,273804,e=>{"use strict";function t(e){return 9===e||32===e}function n(e){return e>=48&&e<=57}function i(e){return e>=97&&e<=122||e>=65&&e<=90}function r(e){return i(e)||95===e}function s(e){return i(e)||n(e)||95===e}function o(e){var n,i;let r=Number.MAX_SAFE_INTEGER,s=null,o=-1;for(let n=0;n<e.length;++n){let a=e[n],l=function(e){let n=0;for(;n<e.length&&t(e.charCodeAt(n));)++n;return n}(a);l!==a.length&&(s=null!=(i=s)?i:n,o=n,0!==n&&l<r&&(r=l))}return e.map((e,t)=>0===t?e:e.slice(r)).slice(null!=(n=s)?n:0,o+1)}function a(e){if(""===e)return!0;let t=!0,n=!1,i=!0,r=!1;for(let s=0;s<e.length;++s)switch(e.codePointAt(s)){case 0:case 1:case 2:case 3:case 4:case 5:case
36:case 7:case 8:case 11:case 12:case 14:case 15:case 13:return!1;case 10:if(t&&!r)return!1;r=!0,t=!0,n=!1;break;case 9:case 32:n||(n=t);break;default:i&&(i=n),t=!1}return!t&&(!i||!r)}function l(e,n){let i=e.replace(/"""/g,'\\"""'),r=i.split(/\r\n|[\n\r]/g),s=1===r.length,o=r.length>1&&r.slice(1).every(e=>0===e.length||t(e.charCodeAt(0))),a=i.endsWith('\\"""'),l=e.endsWith('"')&&!a,c=e.endsWith("\\"),u=l||c,h=!(null!=n&&n.minimize)&&(!s||e.length>70||u||o||a),d="",p=s&&t(e.charCodeAt(0));return(h&&!p||o)&&(d+="\n"),d+=i,(h||u)&&(d+="\n"),'"""'+d+'"""'}e.s(["dedentBlockStringLines",()=>o,"isPrintableAsBlockString",()=>a,"printBlockString",()=>l],463018),e.s(["isDigit",()=>n,"isNameContinue",()=>s,"isNameStart",()=>r,"isWhiteSpace",()=>t],273804)},631718,383043,e=>{"use strict";e.s(["Lexer",()=>o,"isPunctuatorTokenKind",()=>a],631718);var t,n=e.i(510348),i=e.i(266334),r=e.i(463018),s=e.i(273804);e.s(["TokenKind",()=>t],383043),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(t||(t={}));class o{get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==t.EOF)do if(e.next)e=e.next;else{let i=function(e,i){let o=e.source.body,a=o.length,m=i;for(;m<a;){let i=o.charCodeAt(m);switch(i){case 65279:case 9:case 32:case 44:++m;continue;case 10:++m,++e.line,e.lineStart=m;continue;case 13:10===o.charCodeAt(m+1)?m+=2:++m,++e.line,e.lineStart=m;continue;case 35:return function(e,n){let i=e.source.body,r=i.length,s=n+1;for(;s<r;){let e=i.charCodeAt(s);if(10===e||13===e)break;if(l(e))++s;else if(c(i,s))s+=2;else break}return p(e,t.COMMENT,n,s,i.slice(n+1,s))}(e,m);case 33:return p(e,t.BANG,m,m+1);case 36:return p(e,t.DOLLAR,m,m+1);case 38:return p(e,t.AMP,m,m+1);case 40:return p(e,t.PAREN_L,m,m+1);case 41:return p(e,t.PAREN_R,m,m+1);case 46:if(46===o.charCodeAt(m+1)&&46===o.charCodeAt(m+2))return p(e,t.SPREAD,m,m+3);break;case 58:return p(e,t.COLON,m,m+1);case 61:return p(e,t.EQUALS,m,m+1);case 64:return p(e,t.AT,m,m+1);case 91:return p(e,t.BRACKET_L,m,m+1);case 93:return p(e,t.BRACKET_R,m,m+1);case 123:return p(e,t.BRACE_L,m,m+1);case 124:return p(e,t.PIPE,m,m+1);case 125:return p(e,t.BRACE_R,m,m+1);case 34:if(34===o.charCodeAt(m+1)&&34===o.charCodeAt(m+2))return function(e,i){let s=e.source.body,o=s.length,a=e.lineStart,u=i+3,h=u,f="",E=[];for(;u<o;){let o=s.charCodeAt(u);if(34===o&&34===s.charCodeAt(u+1)&&34===s.charCodeAt(u+2)){f+=s.slice(h,u),E.push(f);let n=p(e,t.BLOCK_STRING,i,u+3,(0,r.dedentBlockStringLines)(E).join("\n"));return e.line+=E.length-1,e.lineStart=a,n}if(92===o&&34===s.charCodeAt(u+1)&&34===s.charCodeAt(u+2)&&34===s.charCodeAt(u+3)){f+=s.slice(h,u),h=u+1,u+=4;continue}if(10===o||13===o){f+=s.slice(h,u),E.push(f),13===o&&10===s.charCodeAt(u+1)?u+=2:++u,f="",h=u,a=u;continue}if(l(o))++u;else if(c(s,u))u+=2;else throw(0,n.syntaxError)(e.source,u,"Invalid character within String: ".concat(d(e,u),"."))}throw(0,n.syntaxError)(e.source,u,"Unterminated string.")}(e,m);return function(e,i){let r=e.source.body,s=r.length,o=i+1,a=o,f="";for(;o<s;){let s=r.charCodeAt(o);if(34===s)return f+=r.slice(a,o),p(e,t.STRING,i,o+1,f);if(92===s){f+=r.slice(a,o);let t=117===r.charCodeAt(o+1)?123===r.charCodeAt(o+2)?function(e,t){let i=e.source.body,r=0,s=3;for(;s<12;){let e=i.charCodeAt(t+s++);if(125===e){if(s<5||!l(r))break;return{value:String.fromCodePoint(r),size:s}}if((r=r<<4|T(e))<0)break}throw(0,n.syntaxError)(e.source,t,'Invalid Unicode escape sequence: "'.concat(i.slice(t,t+s),'".'))}(e,o):function(e,t){let i=e.source.body,r=E(i,t+2);if(l(r))return{value:String.fromCodePoint(r),size:6};if(u(r)&&92===i.charCodeAt(t+6)&&117===i.charCodeAt(t+7)){let e=E(i,t+8);if(h(e))return{value:String.fromCodePoint(r,e),size:12}}throw(0,n.syntaxError)(e.source,t,'Invalid Unicode escape sequence: "'.concat(i.slice(t,t+6),'".'))}(e,o):function(e,t){let i=e.source.body;switch(i.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,n.syntaxError)(e.source,t,'Invalid character escape sequence: "'.concat(i.slice(t,t+2),'".'))}(e,o);f+=t.value,o+=t.size,a=o;continue}if(10===s||13===s)break;if(l(s))++o;else if(c(r,o))o+=2;else throw(0,n.syntaxError)(e.source,o,"Invalid character within String: ".concat(d(e,o),"."))}throw(0,n.syntaxError)(e.source,o,"Unterminated string.")}(e,m)}if((0,s.isDigit)(i)||45===i)return function(e,i,r){let o=e.source.body,a=i,l=r,c=!1;
3if(45===l&&(l=o.charCodeAt(++a)),48===l){if(l=o.charCodeAt(++a),(0,s.isDigit)(l))throw(0,n.syntaxError)(e.source,a,"Invalid number, unexpected digit after 0: ".concat(d(e,a),"."))}else a=f(e,a,l),l=o.charCodeAt(a);if(46===l&&(c=!0,l=o.charCodeAt(++a),a=f(e,a,l),l=o.charCodeAt(a)),(69===l||101===l)&&(c=!0,(43===(l=o.charCodeAt(++a))||45===l)&&(l=o.charCodeAt(++a)),a=f(e,a,l),l=o.charCodeAt(a)),46===l||(0,s.isNameStart)(l))throw(0,n.syntaxError)(e.source,a,"Invalid number, expected digit but got: ".concat(d(e,a),"."));return p(e,c?t.FLOAT:t.INT,i,a,o.slice(i,a))}(e,m,i);if((0,s.isNameStart)(i))return function(e,n){let i=e.source.body,r=i.length,o=n+1;for(;o<r;){let e=i.charCodeAt(o);if((0,s.isNameContinue)(e))++o;else break}return p(e,t.NAME,n,o,i.slice(n,o))}(e,m);throw(0,n.syntaxError)(e.source,m,39===i?"Unexpected single quote character ('), did you mean to use a double quote (\")?":l(i)||c(o,m)?"Unexpected character: ".concat(d(e,m),"."):"Invalid character: ".concat(d(e,m),"."))}return p(e,t.EOF,a,a)}(this,e.end);e.next=i,i.prev=e,e=i}while(e.kind===t.COMMENT)return e}constructor(e){let n=new i.Token(t.SOF,0,0,0,0);this.source=e,this.lastToken=n,this.token=n,this.line=1,this.lineStart=0}}function a(e){return e===t.BANG||e===t.DOLLAR||e===t.AMP||e===t.PAREN_L||e===t.PAREN_R||e===t.SPREAD||e===t.COLON||e===t.EQUALS||e===t.AT||e===t.BRACKET_L||e===t.BRACKET_R||e===t.BRACE_L||e===t.PIPE||e===t.BRACE_R}function l(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function c(e,t){return u(e.charCodeAt(t))&&h(e.charCodeAt(t+1))}function u(e){return e>=55296&&e<=56319}function h(e){return e>=56320&&e<=57343}function d(e,n){let i=e.source.body.codePointAt(n);if(void 0===i)return t.EOF;if(i>=32&&i<=126){let e=String.fromCodePoint(i);return'"'===e?"'\"'":'"'.concat(e,'"')}return"U+"+i.toString(16).toUpperCase().padStart(4,"0")}function p(e,t,n,r,s){let o=e.line,a=1+n-e.lineStart;return new i.Token(t,n,r,o,a,s)}function f(e,t,i){if(!(0,s.isDigit)(i))throw(0,n.syntaxError)(e.source,t,"Invalid number, expected digit but got: ".concat(d(e,t),"."));let r=e.source.body,o=t+1;for(;(0,s.isDigit)(r.charCodeAt(o));)++o;return o}function E(e,t){return T(e.charCodeAt(t))<<12|T(e.charCodeAt(t+1))<<8|T(e.charCodeAt(t+2))<<4|T(e.charCodeAt(t+3))}function T(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}},770505,658372,202156,e=>{"use strict";e.s(["parse",()=>d,"parseConstValue",()=>f,"parseType",()=>E,"parseValue",()=>p],770505);var t=e.i(510348),n=e.i(266334),i=e.i(825953),r=e.i(405980),s=e.i(631718);e.s(["Source",()=>c,"isSource",()=>u],202156);var o=e.i(360397),a=e.i(158294);e.s(["instanceOf",()=>l],658372),e.i(338064);let l=globalThis.process&&1?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.name)){let t=(0,a.inspect)(e);throw Error("Cannot use ".concat(i,' "').concat(t,'" from another module or realm.\n\nEnsure that there is only one instance of "graphql" in the node_modules\ndirectory. If different versions of "graphql" are the dependencies of other\nrelied on modules, use "resolutions" to ensure only one version is installed.\n\nhttps://yarnpkg.com/en/docs/selective-version-resolutions\n\nDuplicate "graphql" modules cannot be used at the same time since different\nversions may have different capabilities and behavior. The data from one\nversion used in the function from another could produce confusing and\nspurious results.'))}}return!1};class c{get[Symbol.toStringTag](){return"Source"}constructor(e,t="GraphQL request",n={line:1,column:1}){"string"==typeof e||(0,o.devAssert)(!1,"Body must be a string. Received: ".concat((0,a.inspect)(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,o.devAssert)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,o.devAssert)(!1,"column in locationOffset is 1-indexed and must be positive.")}}function u(e){return l(e,c)}var h=e.i(383043);function d(e,t){let n=new T(e,t),i=n.parseDocument();return Object.defineProperty(i,"tokenCount",{enumerable:!1,value:n.tokenCount}),i}function p(e,t){let n=new T(e,t);
3n.expectToken(h.TokenKind.SOF);let i=n.parseValueLiteral(!1);return n.expectToken(h.TokenKind.EOF),i}function f(e,t){let n=new T(e,t);n.expectToken(h.TokenKind.SOF);let i=n.parseConstValueLiteral();return n.expectToken(h.TokenKind.EOF),i}function E(e,t){let n=new T(e,t);n.expectToken(h.TokenKind.SOF);let i=n.parseTypeReference();return n.expectToken(h.TokenKind.EOF),i}class T{get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(h.TokenKind.NAME);return this.node(e,{kind:r.Kind.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:r.Kind.DOCUMENT,definitions:this.many(h.TokenKind.SOF,this.parseDefinition,h.TokenKind.EOF)})}parseDefinition(){if(this.peek(h.TokenKind.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),n=e?this._lexer.lookahead():this._lexer.token;if(n.kind===h.TokenKind.NAME){switch(n.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,t.syntaxError)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(n.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(n)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(h.TokenKind.BRACE_L))return this.node(t,{kind:r.Kind.OPERATION_DEFINITION,operation:n.OperationTypeNode.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let i=this.parseOperationType();return this.peek(h.TokenKind.NAME)&&(e=this.parseName()),this.node(t,{kind:r.Kind.OPERATION_DEFINITION,operation:i,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(h.TokenKind.NAME);switch(e.value){case"query":return n.OperationTypeNode.QUERY;case"mutation":return n.OperationTypeNode.MUTATION;case"subscription":return n.OperationTypeNode.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(h.TokenKind.PAREN_L,this.parseVariableDefinition,h.TokenKind.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:r.Kind.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(h.TokenKind.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(h.TokenKind.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(h.TokenKind.DOLLAR),this.node(e,{kind:r.Kind.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:r.Kind.SELECTION_SET,selections:this.many(h.TokenKind.BRACE_L,this.parseSelection,h.TokenKind.BRACE_R)})}parseSelection(){return this.peek(h.TokenKind.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,n=this._lexer.token,i=this.parseName();return this.expectOptionalToken(h.TokenKind.COLON)?(e=i,t=this.parseName()):t=i,this.node(n,{kind:r.Kind.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(h.TokenKind.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(h.TokenKind.PAREN_L,t,h.TokenKind.PAREN_R)}parseArgument(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._lexer.token,n=this.parseName();return this.expectToken(h.TokenKind.COLON),this.node(t,{kind:r.Kind.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;
3this.expectToken(h.TokenKind.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(h.TokenKind.NAME)?this.node(e,{kind:r.Kind.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:r.Kind.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:r.Kind.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:r.Kind.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 n=this._lexer.token;switch(n.kind){case h.TokenKind.BRACKET_L:return this.parseList(e);case h.TokenKind.BRACE_L:return this.parseObject(e);case h.TokenKind.INT:return this.advanceLexer(),this.node(n,{kind:r.Kind.INT,value:n.value});case h.TokenKind.FLOAT:return this.advanceLexer(),this.node(n,{kind:r.Kind.FLOAT,value:n.value});case h.TokenKind.STRING:case h.TokenKind.BLOCK_STRING:return this.parseStringLiteral();case h.TokenKind.NAME:switch(this.advanceLexer(),n.value){case"true":return this.node(n,{kind:r.Kind.BOOLEAN,value:!0});case"false":return this.node(n,{kind:r.Kind.BOOLEAN,value:!1});case"null":return this.node(n,{kind:r.Kind.NULL});default:return this.node(n,{kind:r.Kind.ENUM,value:n.value})}case h.TokenKind.DOLLAR:if(e){if(this.expectToken(h.TokenKind.DOLLAR),this._lexer.token.kind===h.TokenKind.NAME){let e=this._lexer.token.value;throw(0,t.syntaxError)(this._lexer.source,n.start,'Unexpected variable "$'.concat(e,'" in constant value.'))}throw this.unexpected(n)}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:r.Kind.STRING,value:e.value,block:e.kind===h.TokenKind.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:r.Kind.LIST,values:this.any(h.TokenKind.BRACKET_L,t,h.TokenKind.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:r.Kind.OBJECT,fields:this.any(h.TokenKind.BRACE_L,t,h.TokenKind.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,n=this.parseName();return this.expectToken(h.TokenKind.COLON),this.node(t,{kind:r.Kind.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(h.TokenKind.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(h.TokenKind.AT),this.node(t,{kind:r.Kind.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(h.TokenKind.BRACKET_L)){let n=this.parseTypeReference();this.expectToken(h.TokenKind.BRACKET_R),e=this.node(t,{kind:r.Kind.LIST_TYPE,type:n})}else e=this.parseNamedType();return this.expectOptionalToken(h.TokenKind.BANG)?this.node(t,{kind:r.Kind.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:r.Kind.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(h.TokenKind.STRING)||this.peek(h.TokenKind.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(),i=this.many(h.TokenKind.BRACE_L,this.parseOperationTypeDefinition,h.TokenKind.BRACE_R);return this.node(e,{kind:r.Kind.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();
3this.expectToken(h.TokenKind.COLON);let n=this.parseNamedType();return this.node(e,{kind:r.Kind.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let n=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:r.Kind.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let n=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:r.Kind.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:s,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(h.TokenKind.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseFieldDefinition,h.TokenKind.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),i=this.parseArgumentDefs();this.expectToken(h.TokenKind.COLON);let s=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:r.Kind.FIELD_DEFINITION,description:t,name:n,arguments:i,type:s,directives:o})}parseArgumentDefs(){return this.optionalMany(h.TokenKind.PAREN_L,this.parseInputValueDef,h.TokenKind.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,n=this.parseDescription(),i=this.parseName();this.expectToken(h.TokenKind.COLON);let s=this.parseTypeReference();this.expectOptionalToken(h.TokenKind.EQUALS)&&(e=this.parseConstValueLiteral());let o=this.parseConstDirectives();return this.node(t,{kind:r.Kind.INPUT_VALUE_DEFINITION,description:n,name:i,type:s,defaultValue:e,directives:o})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let n=this.parseName(),i=this.parseImplementsInterfaces(),s=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:r.Kind.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:i,directives:s,fields:o})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let n=this.parseName(),i=this.parseConstDirectives(),s=this.parseUnionMemberTypes();return this.node(e,{kind:r.Kind.UNION_TYPE_DEFINITION,description:t,name:n,directives:i,types:s})}parseUnionMemberTypes(){return this.expectOptionalToken(h.TokenKind.EQUALS)?this.delimitedMany(h.TokenKind.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let n=this.parseName(),i=this.parseConstDirectives(),s=this.parseEnumValuesDefinition();return this.node(e,{kind:r.Kind.ENUM_TYPE_DEFINITION,description:t,name:n,directives:i,values:s})}parseEnumValuesDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseEnumValueDefinition,h.TokenKind.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:r.Kind.ENUM_VALUE_DEFINITION,description:t,name:n,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw(0,t.syntaxError)(this._lexer.source,this._lexer.token.start,"".concat(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(),i=this.parseConstDirectives(),s=this.parseInputFieldsDefinition();return this.node(e,{kind:r.Kind.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:i,fields:s})}parseInputFieldsDefinition(){return this.optionalMany(h.TokenKind.BRACE_L,this.parseInputValueDef,h.TokenKind.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===h.TokenKind.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(h.TokenKind.BRACE_L,this.parseOperationTypeDefinition,h.TokenKind.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:r.Kind.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:r.Kind.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(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===s.length)throw this.unexpected();return this.node(e,{kind:r.Kind.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:s})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),n=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),s=this.parseFieldsDefinition();if(0===n.length&&0===i.length&&0===s.length)throw this.unexpected();return this.node(e,{kind:r.Kind.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:i,fields:s})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:r.Kind.UNION_TYPE_EXTENSION,name:t,directives:n,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:r.Kind.ENUM_TYPE_EXTENSION,name:t,directives:n,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),n=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===n.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:r.Kind.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:i})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();
3this.expectKeyword("directive"),this.expectToken(h.TokenKind.AT);let n=this.parseName(),i=this.parseArgumentDefs(),s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let o=this.parseDirectiveLocations();return this.node(e,{kind:r.Kind.DIRECTIVE_DEFINITION,description:t,name:n,arguments:i,repeatable:s,locations:o})}parseDirectiveLocations(){return this.delimitedMany(h.TokenKind.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(i.DirectiveLocation,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new n.Location(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let n=this._lexer.token;if(n.kind===e)return this.advanceLexer(),n;throw(0,t.syntaxError)(this._lexer.source,n.start,"Expected ".concat(y(e),", found ").concat(m(n),"."))}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let n=this._lexer.token;if(n.kind===h.TokenKind.NAME&&n.value===e)this.advanceLexer();else throw(0,t.syntaxError)(this._lexer.source,n.start,'Expected "'.concat(e,'", found ').concat(m(n),"."))}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===h.TokenKind.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let n=null!=e?e:this._lexer.token;return(0,t.syntaxError)(this._lexer.source,n.start,"Unexpected ".concat(m(n),"."))}any(e,t,n){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(n);)i.push(t.call(this));return i}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 i=[];do i.push(t.call(this));while(!this.expectOptionalToken(n))return i}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,n=this._lexer.advance();if(n.kind!==h.TokenKind.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,t.syntaxError)(this._lexer.source,n.start,"Document contains more that ".concat(e," tokens. Parsing aborted."))}constructor(e,t={}){let n=u(e)?e:new c(e);this._lexer=new s.Lexer(n),this._options=t,this._tokenCounter=0}}function m(e){let t=e.value;return y(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function y(e){return(0,s.isPunctuatorTokenKind)(e)?'"'.concat(e,'"'):e}},252595,e=>{"use strict";e.s(["disableExperimentalFragmentVariables",()=>d,"disableFragmentWarnings",()=>u,"enableExperimentalFragmentVariables",()=>h,"gql",()=>l,"resetCaches",()=>c]);var t=e.i(409859),n=e.i(770505),i=new Map,r=new Map,s=!0,o=!1;function a(e){return e.replace(/[\s,]+/g," ").trim()}function l(e){for(var l=[],c=1;c<arguments.length;c++)l[c-1]=arguments[c];"string"==typeof e&&(e=[e]);var u=e[0];return l.forEach(function(t,n){t&&"Document"===t.kind?u+=t.loc.source.body:u+=t,u+=e[n+1]}),function(e){var l=a(e);if(!i.has(l)){var c,u,h,d,p,f=(0,n.parse)(e,{experimentalFragmentVariables:o,allowLegacyFragmentVariables:o});if(!f||"Document"!==f.kind)throw Error("Not a valid GraphQL document.");i.set(l,((d=new Set((c=new Set,u=[],f.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,i=a((t=e.loc).source.body.substring(t.start,t.end)),o=r.get(n);o&&!o.has(i)?s&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||r.set(n,o=new Set),o.add(i),c.has(i)||(c.add(i),u.push(e))}else u.push(e)}),h=(0,t.__assign)((0,t.__assign)({},f),{definitions:u})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var n=e[t];n&&"object"==typeof n&&d.add(n)})}),(p=h.loc)&&(delete p.startToken,delete p.endToken),h))}return i.get(l)}(u)}function c(){i.clear(),r.clear()}function u(){s=!1}function h(){o=!0}function d(){o=!1}var p={gql:l,resetCaches:c,disableFragmentWarnings:u,enableExperimentalFragmentVariables:h,disableExperimentalFragmentVariables:d};!function(e){e.gql=p.gql,e.resetCaches=p.resetCaches,e.disableFragmentWarnings=p.disableFragmentWarnings,e.enableExperimentalFragmentVariables=p.enableExperimentalFragmentVariables,e.disableExperimentalFragmentVariables=p.disableExperimentalFragmentVariables}(l||(l={})),l.default=l}]); 4 5//# sourceMappingURL=a47fc83b900264c3.js.map 6//# debugId=e6db3609-339d-5e6a-821f-6a1234f14c8e
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.