1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[174],{72492:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.devAssert=function(e,t){if(!Boolean(e))throw new Error(t)}},81697:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.inspect=function(e){return i(e,[])};const n=10,r=2;function i(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const o=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:i(t,o)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>r)return"[Array]";const o=Math.min(n,e.length),s=e.length-o,a=[];for(let n=0;n<o;++n)a.push(i(e[n],t));1===s?a.push("... 1 more item"):s>1&&a.push(`... ${s} more items`);return"["+a.join(", ")+"]"}(e,o);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>r)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){const t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return t}(e)+"]";const o=n.map((([e,n])=>e+": "+i(n,t)));return"{ "+o.join(", ")+" }"}(e,o)}(e,t);default:return String(e)}}},26793:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Token=t.QueryDocumentKeys=t.OperationTypeNode=t.Location=void 0,t.isNode=function(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&o.has(t)};class n{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}}}t.Location=n;class r{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}}}t.Token=r;const i={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","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:["description","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","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],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"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]};t.QueryDocumentKeys=i;const o=new Set(Object.keys(i));var s;t.OperationTypeNode=s,function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(s||(t.OperationTypeNode=s={}))},38853:(e,t,n)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),t.dedentBlockStringLines=function(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,o=-1;for(let a=0;a<e.length;++a){var s;const t=e[a],c=i(t);c!==t.length&&(r=null!==(s=r)&&void 0!==s?s:a,o=a,0!==a&&c<n&&(n=c))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,o+1)},t.isPrintableAsBlockString=function(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 6: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}if(t)return!1;if(r&&i)return!1;return!0},t.printBlockString=function(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,s=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.isWhiteSpace)(e.charCodeAt(0)))),a=n.endsWith('\\"""'),c=e.endsWith('"')&&!a,u=e.endsWith("\\"),l=c||u,f=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||l||s||a);let h="";const d=o&&(0,r.isWhiteSpace)(e.charCodeAt(0));(f&&!d||s)&&(h+="\n");h+=n,(f||l)&&(h+="\n");return'"""'+h+'"""'};var r=n(16052);function i(e){let t=0;for(;t<e.length&&(0,r.isWhiteSpace)(e.charCodeAt(t));)++t;return t}},16052:(e,t)=>{function n(e){return e>=48&&e<=57}function r(e){return e>=97&&e<=122||e>=65&&e<=90}Object.defineProperty(t,"__esModule",{value:!0}),t.isDigit=n,t.isLetter=r,t.isNameContinue=function(e){return r(e)||n(e)||95===e},t.isNameStart=function(e){return r(e)||95===e},t.isWhiteSpace=function(e){return 9===e||32===e}},30702:(e,t)=>{var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Kind=void 0,t.Kind=n,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.DIRECTIVE_EXTENSION="DirectiveExtension",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",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(n||(t.Kind=n={}))},85703:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.printString=function(e){return`"${e.replace(n,r)}"`};const n=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function r(e){return i[e.charCodeAt(0)]}const i=["\\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"]},20385:(e,t,n)=>{t.y=function(e){return(0,o.visit)(e,s)};var r=n(38853),i=n(85703),o=n(89583);const s={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>a(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=f(e.variableDefinitions)?u("(\n",a(e.variableDefinitions,"\n"),"\n)"):u("(",a(e.variableDefinitions,", "),")"),n=u("",e.description,"\n")+a([e.operation,a([e.name,t]),a(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>u("",i,"\n")+e+": "+t+u(" = ",n)+u(" ",a(r," "))},SelectionSet:{leave:({selections:e})=>c(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=u("",e,": ")+t;let s=o+u("(",a(n,", "),")");return s.length>80&&(s=o+u("(\n",l(a(n,"\n")),"\n)")),a([s,a(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+u(" ",a(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>a(["...",u("on ",e),a(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:o})=>u("",o,"\n")+`fragment ${e}${u("(",a(n,", "),")")} `+`on ${t} ${u("",a(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,r.printBlockString)(e):(0,i.printString)(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+a(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+a(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+u("(",a(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>u("",e,"\n")+a(["schema",a(t," "),c(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>u("",e,"\n")+a(["scalar",t,a(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>u("",e,"\n")+a(["type",t,u("implements ",a(n," & ")),a(r," "),c(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>u("",e,"\n")+t+(f(n)?u("(\n",l(a(n,"\n")),"\n)"):u("(",a(n,", "),")"))+": "+r+u(" ",a(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>u("",e,"\n")+a([t+": "+n,u("= ",r),a(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>u("",e,"\n")+a(["interface",t,u("implements ",a(n," & ")),a(r," "),c(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>u("",e,"\n")+a(["union",t,a(n," "),u("= ",a(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>u("",e,"\n")+a(["enum",t,a(n," "),c(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>u("",e,"\n")+a([t,a(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>u("",e,"\n")+a(["input",t,a(n," "),c(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,directives:r,repeatable:i,locations:o})=>u("",e,"\n")+"directive @"+t+(f(n)?u("(\n",l(a(n,"\n")),"\n)"):u("(",a(n,", "),")"))+u(" ",a(r," "))+(i?" repeatable":"")+" on "+a(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>a(["extend schema",a(e," "),c(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>a(["extend scalar",e,a(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>a(["extend type",e,u("implements ",a(t," & ")),a(n," "),c(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>a(["extend interface",e,u("implements ",a(t," & ")),a(n," "),c(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>a(["extend union",e,a(t," "),u("= ",a(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>a(["extend enum",e,a(t," "),c(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>a(["extend input",e,a(t," "),c(n)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>a(["extend directive @"+e,a(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>a([e,u(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>a([e,u(".",t),u("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>a(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>a(["@",e,u("(",t,":)")])}};function a(e,t=""){var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function c(e){return u("{\n",l(a(e,"\n")),"\n}")}function u(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function l(e){return u(" ",e.replace(/\n/g,"\n "))}function f(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}},89583:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BREAK=void 0,t.getEnterLeaveForKind=c,t.getVisitFn=function(e,t,n){const{enter:r,leave:i}=c(e,t);return n?i:r},t.visit=function(e,t,n=o.QueryDocumentKeys){const u=new Map;for(const r of Object.values(s.Kind))u.set(r,c(t,r));let l,f,h,d=Array.isArray(e),p=[e],v=-1,y=[],m=e;const b=[],g=[];do{v++;const e=v===p.length,s=e&&0!==y.length;if(e){if(f=0===g.length?void 0:b[b.length-1],m=h,h=g.pop(),s)if(d){m=m.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(m.splice(r,1),e++):m[r]=n}}else{m={...m};for(const[e,t]of y)m[e]=t}
1v=l.index,p=l.keys,y=l.edits,d=l.inArray,l=l.prev}else if(h){if(f=d?v:p[v],m=h[f],null===m||void 0===m)continue;b.push(f)}let c;if(!Array.isArray(m)){var E,T;(0,o.isNode)(m)||(0,r.devAssert)(!1,`Invalid AST Node: ${(0,i.inspect)(m)}.`);const n=e?null===(E=u.get(m.kind))||void 0===E?void 0:E.leave:null===(T=u.get(m.kind))||void 0===T?void 0:T.enter;if(c=null===n||void 0===n?void 0:n.call(t,m,f,h,b,g),c===a)break;if(!1===c){if(!e){b.pop();continue}}else if(void 0!==c&&(y.push([f,c]),!e)){if(!(0,o.isNode)(c)){b.pop();continue}m=c}}var O;if(void 0===c&&s&&y.push([f,m]),e)b.pop();else l={inArray:d,index:v,keys:p,edits:y,prev:l},d=Array.isArray(m),p=d?m:null!==(O=n[m.kind])&&void 0!==O?O:[],v=-1,y=[],h&&g.push(h),h=m}while(void 0!==l);if(0!==y.length)return y[y.length-1][1];return e},t.visitInParallel=function(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const r of Object.values(s.Kind)){let i=!1;const o=new Array(e.length).fill(void 0),s=new Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){const{enter:n,leave:a}=c(e[t],r);i||(i=null!=n||null!=a),o[t]=n,s[t]=a}if(!i)continue;const u={enter(...n){const r=n[0];for(let s=0;s<e.length;s++)if(null===t[s]){var i;const c=null===(i=o[s])||void 0===i?void 0:i.apply(e[s],n);if(!1===c)t[s]=r;else if(c===a)t[s]=a;else if(void 0!==c)return c}},leave(...n){const r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;const r=null===(i=s[o])||void 0===i?void 0:i.apply(e[o],n);if(r===a)t[o]=a;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=u}return n};var r=n(72492),i=n(81697),o=n(26793),s=n(30702);const a=Object.freeze({});function c(e,t){const n=e[t];return"object"===typeof n?n:"function"===typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}t.BREAK=a},61181:(e,t,n)=>{function r(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}n.d(t,{eO:()=>c});const i=/\r\n|[\n\r]/g;function o(e,t){let n=0,o=1;
1for(const s of e.body.matchAll(i)){if("number"===typeof s.index||r(!1),s.index>=t)break;n=s.index+s[0].length,o+=1}return{line:o,column:t+1-n}}function s(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,s=t.line+o,c=1===t.line?n:0,u=t.column+c,l=`${e.name}:${s}:${u}\n`,f=r.split(/\r\n|[\n\r]/g),h=f[i];if(h.length>120){const e=Math.floor(u/80),t=u%80,n=[];for(let r=0;r<h.length;r+=80)n.push(h.slice(r,r+80));return l+a([[`${s} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return l+a([[s-1+" |",f[i-1]],[`${s} |`,h],["|","^".padStart(u)],[`${s+1} |`,f[i+1]]])}function a(e){const 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")}class c extends Error{constructor(e,...t){var n,r,i;const{nodes:s,source:a,positions:l,path:f,originalError:h,extensions:d}=function(e){const 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!==f&&void 0!==f?f:void 0,this.originalError=null!==h&&void 0!==h?h:void 0,this.nodes=u(Array.isArray(s)?s:s?[s]:void 0);const p=u(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==a&&void 0!==a?a:null===p||void 0===p||null===(r=p[0])||void 0===r?void 0:r.source,this.positions=null!==l&&void 0!==l?l:null===p||void 0===p?void 0:p.map((e=>e.start)),this.locations=l&&a?l.map((e=>o(a,e))):null===p||void 0===p?void 0:p.map((e=>o(e.source,e.start)));const v="object"==typeof(y=null===h||void 0===h?void 0:h.extensions)&&null!==y?null===h||void 0===h?void 0:h.extensions:void 0;var y;this.extensions=null!==(i=null!==d&&void 0!==d?d:v)&&void 0!==i?i: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!==h&&void 0!==h&&h.stack?Object.defineProperty(this,"stack",{value:h.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,c):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(const n of this.nodes)n.loc&&(e+="\n\n"+s((t=n.loc).source,o(t.source,t.start)));else if(this.source&&this.locations)for(const n of this.locations)e+="\n\n"+s(this.source,n);var t;return e}toJSON(){const 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 u(e){return void 0===e||0===e.length?void 0:e}},93547:(e,t,n)=>{n.d(t,{I:()=>i});var r=n(61181);function i(e,t,n){return new r.eO(`Syntax Error: ${n}`,{source:e,positions:[t]})}},30599:(e,t,n)=>{function r(e,t){if(!Boolean(e))throw new Error(t)}n.d(t,{U:()=>r})},75640:(e,t,n)=>{n.d(t,{N:()=>o});const r=10,i=2;function o(e){return s(e,[])}function s(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(function(e){return"function"===typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:s(t,n)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>i)return"[Array]";const n=Math.min(r,e.length),o=e.length-n,a=[];for(let r=0;r<n;++r)a.push(s(e[r],t));1===o?a.push("... 1 more item"):o>1&&a.push(`... ${o} more items`);return"["+a.join(", ")+"]"}(e,n);return function(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>i)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){const t=e.constructor.name;if("string"===typeof t&&""!==t)return t}return t}(e)+"]";const r=n.map((([e,n])=>e+": "+s(n,t)));return"{ "+r.join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}},75136:(e,t,n)=>{n.d(t,{Ll:()=>a,aD:()=>o,aZ:()=>r,cE:()=>c,ou:()=>i});
1class r{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 i{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}}}const o={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","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:["description","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","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],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"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},s=new Set(Object.keys(o));function a(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&s.has(t)}var c;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(c||(c={}))},43052:(e,t,n)=>{n.d(t,{OC:()=>i,yo:()=>s});var r=n(50175);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let a=0;a<e.length;++a){var s;const t=e[a],c=o(t);c!==t.length&&(r=null!==(s=r)&&void 0!==s?s:a,i=a,0!==a&&c<n&&(n=c))}return e.map(((e,t)=>0===t?e:e.slice(n))).slice(null!==(t=r)&&void 0!==t?t:0,i+1)}function o(e){let t=0;for(;t<e.length&&(0,r.i0)(e.charCodeAt(t));)++t;return t}function s(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,s=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.i0)(e.charCodeAt(0)))),a=n.endsWith('\\"""'),c=e.endsWith('"')&&!a,u=e.endsWith("\\"),l=c||u,f=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||l||s||a);let h="";const d=o&&(0,r.i0)(e.charCodeAt(0));return(f&&!d||s)&&(h+="\n"),h+=n,(f||l)&&(h+="\n"),'"""'+h+'"""'}},50175:(e,t,n)=>{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 s(e){return o(e)||95===e}function a(e){return o(e)||i(e)||95===e}n.d(t,{i0:()=>r,un:()=>s,xr:()=>a,yp:()=>i})},73061:(e,t,n)=>{var r;n.d(t,{b:()=>r}),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="Str
1ingValue",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.DIRECTIVE_EXTENSION="DirectiveExtension",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",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(r||(r={}))},21238:(e,t,n)=>{n.d(t,{JG:()=>c,Z_:()=>u});var r=n(93547),i=n(75136),o=n(43052),s=n(50175),a=n(24925);class c{constructor(e){const t=new i.ou(a.Y.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(){this.lastToken=this.token;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==a.Y.EOF)do{if(e.next)e=e.next;else{const t=y(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===a.Y.COMMENT);return e}}function u(e){return e===a.Y.BANG||e===a.Y.DOLLAR||e===a.Y.AMP||e===a.Y.PAREN_L||e===a.Y.PAREN_R||e===a.Y.DOT||e===a.Y.SPREAD||e===a.Y.COLON||e===a.Y.EQUALS||e===a.Y.AT||e===a.Y.BRACKET_L||e===a.Y.BRACKET_R||e===a.Y.BRACE_L||e===a.Y.PIPE||e===a.Y.BRACE_R}function l(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function f(e,t){return h(e.charCodeAt(t))&&d(e.charCodeAt(t+1))}function h(e){return e>=55296&&e<=56319}function d(e){return e>=56320&&e<=57343}function p(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return a.Y.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function v(e,t,n,r,o){const s=e.line,a=1+n-e.lineStart;return new i.ou(t,n,r,s,a,o)}function y(e,t){const n=e.source.body,i=n.length;let o=t;for(;o<i;){const t=n.charCodeAt(o);switch(t){case 65279:case 9:case 32:case 44:++o;continue;case 10:++o,++e.line,e.lineStart=o;continue;case 13:10===n.charCodeAt(o+1)?o+=2:++o,++e.line,e.lineStart=o;continue;case 35:return m(e,o);case 33:return v(e,a.Y.BANG,o,o+1);case 36:return v(e,a.Y.DOLLAR,o,o+1);case 38:return v(e,a.Y.AMP,o,o+1);case 40:return v(e,a.Y.PAREN_L,o,o+1);case 41:return v(e,a.Y.PAREN_R,o,o+1);case 46:if(46===n.charCodeAt(o+1)&&46===n.charCodeAt(o+2))return v(e,a.Y.SPREAD,o,o+3);break;case 58:return v(e,a.Y.COLON,o,o+1);case 61:return v(e,a.Y.EQUALS,o,o+1);case 64:return v(e,a.Y.AT,o,o+1);case 91:return v(e,a.Y.BRACKET_L,o,o+1);case 93:return v(e,a.Y.BRACKET_R,o,o+1);case 123:return v(e,a.Y.BRACE_L,o,o+1);case 124:return v(e,a.Y.PIPE,o,o+1);case 125:return v(e,a.Y.BRACE_R,o,o+1);case 34:return 34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)?S(e,o):E(e,o)}if((0,s.yp)(t)||45===t)return b(e,o,t);if((0,s.un)(t))return N(e,o);throw(0,r.I)(e.source,o,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":l(t)||f(n,o)?`Unexpected character: ${p(e,o)}.`:`Invalid character: ${p(e,o)}.`)}return v(e,a.Y.EOF,i,i)}function m(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(10===e||13===e)break;if(l(e))++i;else{if(!f(n,i))break;i+=2}}return v(e,a.Y.COMMENT,t,i,n.slice(t+1,i))}function b(e,t,n){const i=e.source.body;let o=t,c=n,u=!1;if(45===c&&(c=i.charCodeAt(++o)),48===c){if(c=i.charCodeAt(++o),(0,s.yp)(c))throw(0,r.I)(e.source,o,`Invalid number, unexpected digit after 0: ${p(e,o)}.`)}else o=g(e,o,c),c=i.charCodeAt(o);if(46===c&&(u=!0,c=i.charCodeAt(++o),o=g(e,o,c),c=i.charCodeAt(o)),69!==c&&101!==c||(u=!0,c=i.charCodeAt(++o),43!==c&&45!==c||(c=i.charCodeAt(++o)),o=g(e,o,c),c=i.charCodeAt(o)),46===c||(0,s.un)(c))throw(0,r.I)(e.source,o,`Invalid number, expected digit but got: ${p(e,o)}.`);return v(e,u?a.Y.FLOAT:a.Y.INT,t,o,i.slice(t,o))}function g(e,t,n){if(!(0,s.yp)(n))throw(0,r.I)(e.source,t,`Invalid number, expected digit but got: ${p(e,t)}.`);const i=e.source.body;let o=t+1;for(;(0,s.yp)(i.charCodeAt(o));)++o;return o}function E(e,t){const n=e.source.body,i=n.length;let o=t+1,s=o,c="";for(;o<i;){const i=n.charCodeAt(o);if(34===i)return c+=n.slice(s,o),v(e,a.Y.STRING,t,o+1,c);
1if(92!==i){if(10===i||13===i)break;if(l(i))++o;else{if(!f(n,o))throw(0,r.I)(e.source,o,`Invalid character within String: ${p(e,o)}.`);o+=2}}else{c+=n.slice(s,o);const t=117===n.charCodeAt(o+1)?123===n.charCodeAt(o+2)?T(e,o):O(e,o):k(e,o);c+=t.value,o+=t.size,s=o}}throw(0,r.I)(e.source,o,"Unterminated string.")}function T(e,t){const n=e.source.body;let i=0,o=3;for(;o<12;){const e=n.charCodeAt(t+o++);if(125===e){if(o<5||!l(i))break;return{value:String.fromCodePoint(i),size:o}}if(i=i<<4|I(e),i<0)break}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+o)}".`)}function O(e,t){const n=e.source.body,i=C(n,t+2);if(l(i))return{value:String.fromCodePoint(i),size:6};if(h(i)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=C(n,t+8);if(d(e))return{value:String.fromCodePoint(i,e),size:12}}throw(0,r.I)(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function C(e,t){return I(e.charCodeAt(t))<<12|I(e.charCodeAt(t+1))<<8|I(e.charCodeAt(t+2))<<4|I(e.charCodeAt(t+3))}function I(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function k(e,t){const 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:"\t",size:2}}throw(0,r.I)(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function S(e,t){const n=e.source.body,i=n.length;let s=e.lineStart,c=t+3,u=c,h="";const d=[];for(;c<i;){const i=n.charCodeAt(c);if(34===i&&34===n.charCodeAt(c+1)&&34===n.charCodeAt(c+2)){h+=n.slice(u,c),d.push(h);const r=v(e,a.Y.BLOCK_STRING,t,c+3,(0,o.OC)(d).join("\n"));return e.line+=d.length-1,e.lineStart=s,r}if(92!==i||34!==n.charCodeAt(c+1)||34!==n.charCodeAt(c+2)||34!==n.charCodeAt(c+3))if(10!==i&&13!==i)if(l(i))++c;else{if(!f(n,c))throw(0,r.I)(e.source,c,`Invalid character within String: ${p(e,c)}.`);c+=2}else h+=n.slice(u,c),d.push(h),13===i&&10===n.charCodeAt(c+1)?c+=2:++c,h="",u=c,s=c;else h+=n.slice(u,c),u=c+1,c+=4}throw(0,r.I)(e.source,c,"Unterminated string.")}function N(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,s.xr)(e))break;++i}return v(e,a.Y.NAME,t,i,n.slice(t,i))}},1112:(e,t,n)=>{n.d(t,{qg:()=>l});var r,i=n(93547),o=n(75136);!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",e.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION"}(r||(r={}));var s=n(73061),a=n(21238),c=n(71793),u=n(24925);function l(e,t){const n=new f(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}class f{constructor(e,t={}){const{lexer:n,...r}=t;if(n)this._lexer=n;else{const t=(0,c._)(e)?e:new c.k(e);this._lexer=new a.JG(t)}this._options=r,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(u.Y.NAME);return this.node(e,{kind:s.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:s.b.DOCUMENT,definitions:this.many(u.Y.SOF,this.parseDefinition,u.Y.EOF)})}parseDefinition(){if(this.peek(u.Y.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===u.Y.BRACE_L)throw(0,i.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===u.Y.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()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw(0,i.I)(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
1ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(u.Y.BRACE_L))return this.node(e,{kind:s.b.OPERATION_DEFINITION,operation:o.cE.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseDescription(),n=this.parseOperationType();let r;return this.peek(u.Y.NAME)&&(r=this.parseName()),this.node(e,{kind:s.b.OPERATION_DEFINITION,operation:n,description:t,name:r,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(u.Y.NAME);switch(e.value){case"query":return o.cE.QUERY;case"mutation":return o.cE.MUTATION;case"subscription":return o.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(u.Y.PAREN_L,this.parseVariableDefinition,u.Y.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:s.b.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(u.Y.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(u.Y.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(u.Y.DOLLAR),this.node(e,{kind:s.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:s.b.SELECTION_SET,selections:this.many(u.Y.BRACE_L,this.parseSelection,u.Y.BRACE_R)})}parseSelection(){return this.peek(u.Y.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(u.Y.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:s.b.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(u.Y.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(u.Y.PAREN_L,t,u.Y.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(u.Y.COLON),this.node(t,{kind:s.b.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(u.Y.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(u.Y.NAME)?this.node(e,{kind:s.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:s.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token,t=this.parseDescription();return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:s.b.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:s.b.FRAGMENT_DEFINITION,description:t,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){const t=this._lexer.token;switch(t.kind){case u.Y.BRACKET_L:return this.parseList(e);case u.Y.BRACE_L:return this.parseObject(e);case u.Y.INT:return this.advanceLexer(),this.node(t,{kind:s.b.INT,value:t.value});case u.Y.FLOAT:return this.advanceLexer(),this.node(t,{kind:s.b.FLOAT,value:t.value});case u.Y.STRING:case u.Y.BLOCK_STRING:return this.parseStringLiteral();case u.Y.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:s.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:s.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:s.b.NULL});default:return this.node(t,{kind:s.b.ENUM,value:t.value})}case u.Y.DOLLAR:if(e){if(this.expectToken(u.Y.DOLLAR),this._lexer.token.kind===u.Y.NAME){const e=this._lexer.token.value;throw(0,i.I)(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(){const e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:s.b.STRING,value:e.value,block:e.kind===u.Y.BLOCK_STRING})}parseList(e){return this.node(this._lexer.token,{kind:s.b.LIST,values:this.any(u.Y.BRACKET_L,(()=>this.parseValueLiteral(e)),u.Y.BRACKET_R)})}parseObject(e){return this.node(this._lexer.token,{kind:s.b.OBJECT,fields:this.any(u.Y.BRACE_L,(()=>this.parseObjectField(e)),u.Y.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(u.Y.COLON),this.node(t,{kind:s.b.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(u.Y.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(u.Y.AT),this.node(t,{kind:s.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(u.Y.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(u.Y.BRACKET_R),t=this.node(e,{kind:s.b.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(u.Y.BANG)?this.node(e,{kind:s.b.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:s.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(u.Y.STRING)||this.peek(u.Y.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");const n=this.parseConstDirectives(),r=this.many(u.Y.BRACE_L,this.parseOperationTypeDefinition,u.Y.BRACE_R);return this.node(e,{kind:s.b.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(u.Y.COLON);const n=this.parseNamedType();return this.node(e,{kind:s.b.OPERATION_TYPE_DEFINITION,operation:t,type:n})}parseScalarTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");const n=this.parseName(),r=this.parseConstDirectives();return this.node(e,{kind:s.b.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r})}parseObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.b.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(u.Y.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(u.Y.BRACE_L,this.parseFieldDefinition,u.Y.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(u.Y.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:s.b.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(u.Y.PAREN_L,this.parseInputValueDef,u.Y.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(u.Y.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(u.Y.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:s.b.INPUT_VALUE_DEFINITION,description:t,name:n,type:r,defaultValue:i,directives:o})}parseInterfaceTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");const n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),o=this.parseFieldsDefinition();return this.node(e,{kind:s.b.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseUnionTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();return this.node(e,{kind:s.b.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(u.Y.EQUALS)?this.delimitedMany(u.Y.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();return this.node(e,{kind:s.b.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(u.Y.BRACE_L,this.parseEnumValueDefinition,u.Y.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:s.b.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,i.I)(this._lexer.source,this._lexer.token.start,`${h(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");const n=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();return this.node(e,{kind:s.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(u.Y.BRACE_L,this.parseInputValueDef,u.Y.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===u.Y.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();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(u.Y.BRACE_L,this.parseOperationTypeDefinition,u.Y.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.SCHEMA_EXTENSION,directives:t,operationTypes:n})}parseScalarTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.SCALAR_TYPE_EXTENSION,name:t,directives:n})}parseObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");const 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:s.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseInterfaceTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");const 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:s.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i})}parseUnionTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.UNION_TYPE_EXTENSION,name:t,directives:n,types:r})}parseEnumTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r})}parseInputObjectTypeExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");const t=this.parseName(),n=this.parseConstDirectives(),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:s.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinitionExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(u.Y.AT);const t=this.parseName(),n=this.parseConstDirectives();if(0===n.length)throw this.unexpected();return this.node(e,{kind:s.b.DIRECTIVE_EXTENSION,name:t,directives:n})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(u.Y.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const a=this.parseDirectiveLocations();return this.node(e,{kind:s.b.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,directives:i,repeatable:o,locations:a})}parseDirectiveLocations(){return this.delimitedMany(u.Y.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(r,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){const e=this._lexer.token,t=this.expectOptionalToken(u.Y.AT),n=this.parseName();let r,i;return!t&&this.expectOptionalToken(u.Y.DOT)&&(r=this.parseName()),(t||r)&&this.expectOptionalToken(u.Y.PAREN_L)&&(i=this.parseName(),this.expectToken(u.Y.COLON),this.expectToken(u.Y.PAREN_R)),t?i?this.node(e,{kind:s.b.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:i}):this.node(e,{kind:s.b.DIRECTIVE_COORDINATE,name:n}):r?i?this.node(e,{kind:s.b.ARGUMENT_COORDINATE,name:n,fieldName:r,argumentName:i}):this.node(e,{kind:s.b.MEMBER_COORDINATE,name:n,memberName:r}):this.node(e,{kind:s.b.TYPE_COORDINATE,name:n})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new o.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){const t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw(0,i.I)(this._lexer.source,t.start,`Expected ${d(e)}, found ${h(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==u.Y.NAME||t.value!==e)throw(0,i.I)(this._lexer.source,t.start,`Expected "${e}", found ${h(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===u.Y.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return(0,i.I)(this._lexer.source,t.start,`Unexpected ${h(t)}.`)}any(e,t,n){this.expectToken(e);const r=[];for(;!this.expectOptionalToken(n);)r.push(t.call(this));return r}optionalMany(e,t,n){if(this.expectOptionalToken(e)){const e=[];do{e.push(t.call(this))}while(!this.expectOptionalToken(n));return e}return[]}many(e,t,n){this.expectToken(e);const r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}delimitedMany(e,t){this.expectOptionalToken(e);const n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n}advanceLexer(){const{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kin
1d!==u.Y.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw(0,i.I)(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function h(e){const t=e.value;return d(e.kind)+(null!=t?` "${t}"`:"")}function d(e){return(0,a.Z_)(e)?`"${e}"`:e}},75148:(e,t,n)=>{n.d(t,{y:()=>c});var r=n(43052);const i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return s[e.charCodeAt(0)]}const s=["\\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 a=n(11786);function c(e){return(0,a.YR)(e,u)}const u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=p(e.variableDefinitions)?h("(\n",l(e.variableDefinitions,"\n"),"\n)"):h("(",l(e.variableDefinitions,", "),")"),n=h("",e.description,"\n")+l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r,description:i})=>h("",i,"\n")+e+": "+t+h(" = ",n)+h(" ",l(r," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=h("",e,": ")+t;let s=o+h("(",l(n,", "),")");return s.length>80&&(s=o+h("(\n",d(l(n,"\n")),"\n)")),l([s,l(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>l(["...",h("on ",e),l(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i,description:o})=>h("",o,"\n")+`fragment ${e}${h("(",l(n,", "),")")} `+`on ${t} ${h("",l(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.yo)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>h("",e,"\n")+l(["schema",l(t," "),f(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>h("",e,"\n")+l(["scalar",t,l(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>h("",e,"\n")+l(["type",t,h("implements ",l(n," & ")),l(r," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>h("",e,"\n")+t+(p(n)?h("(\n",d(l(n,"\n")),"\n)"):h("(",l(n,", "),")"))+": "+r+h(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>h("",e,"\n")+l([t+": "+n,h("= ",r),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>h("",e,"\n")+l(["interface",t,h("implements ",l(n," & ")),l(r," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>h("",e,"\n")+l(["union",t,l(n," "),h("= ",l(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>h("",e,"\n")+l(["enum",t,l(n," "),f(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>h("",e,"\n")+l([t,l(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>h("",e,"\n")+l(["input",t,l(n," "),f(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,directives:r,repeatable:i,locations:o})=>h("",e,"\n")+"directive @"+t+(p(n)?h("(\n",d(l(n,"\n")),"\n)"):h("(",l(n,", "),")"))+h(" ",l(r," "))+(i?" repeatable":"")+" on "+l(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend type",e,h("implements ",l(t," & ")),l(n," "),f(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend interface",e,h("implements ",l(t," & ")),l(n," "),f(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>l(["extend union",e,l(t," "),h("= ",l(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>l(["extend enum",e,l(t," "),f(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>l(["extend input",e,l(t," "),f(n)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>l(["extend directive @"+e,l(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>l([e,h(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:n})=>l([e,h(".",t),h("(",n,":)")])},DirectiveCoordinate:{leave:({name:e})=>l(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>l(["@",e,h("(",t,":)")])}};function l(e,t=""){var n;return null!==(n=null===e||void 0===e?void 0:e.filter((e=>e)).join(t))&&void 0!==n?n:""}function f(e){return h("{\n",d(l(e,"\n")),"\n}")}function h(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function d(e){return h(" ",e.replace(/\n/g,"\n "))}function p(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}}
1,71793:(e,t,n)=>{n.d(t,{k:()=>s,_:()=>a});var r=n(30599),i=n(75640);const o=globalThis.process&&!0?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"===typeof e&&null!==e){var n;const r=t.prototype[Symbol.toStringTag];if(r===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null===(n=e.constructor)||void 0===n?void 0:n.name)){const t=(0,i.N)(e);throw new Error(`Cannot use ${r} "${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 s{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"===typeof e||(0,r.U)(!1,`Body must be a string. Received: ${(0,i.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,r.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,r.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function a(e){return o(e,s)}},24925:(e,t,n)=>{var r;n.d(t,{Y:()=>r}),function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.DOT=".",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"}(r||(r={}))},11786:(e,t,n)=>{n.d(t,{YR:()=>c,sP:()=>a});var r=n(30599),i=n(75640),o=n(75136),s=n(73061);const a=Object.freeze({});function c(e,t,n=o.aD){const c=new Map;for(const r of Object.values(s.b))c.set(r,u(t,r));let l,f,h,d=Array.isArray(e),p=[e],v=-1,y=[],m=e;const b=[],g=[];do{v++;const e=v===p.length,s=e&&0!==y.length;if(e){if(f=0===g.length?void 0:b[b.length-1],m=h,h=g.pop(),s)if(d){m=m.slice();let e=0;for(const[t,n]of y){const r=t-e;null===n?(m.splice(r,1),e++):m[r]=n}}else{m={...m};for(const[e,t]of y)m[e]=t}v=l.index,p=l.keys,y=l.edits,d=l.inArray,l=l.prev}else if(h){if(f=d?v:p[v],m=h[f],null===m||void 0===m)continue;b.push(f)}let u;if(!Array.isArray(m)){var E,T;(0,o.Ll)(m)||(0,r.U)(!1,`Invalid AST Node: ${(0,i.N)(m)}.`);const n=e?null===(E=c.get(m.kind))||void 0===E?void 0:E.leave:null===(T=c.get(m.kind))||void 0===T?void 0:T.enter;if(u=null===n||void 0===n?void 0:n.call(t,m,f,h,b,g),u===a)break;if(!1===u){if(!e){b.pop();continue}}else if(void 0!==u&&(y.push([f,u]),!e)){if(!(0,o.Ll)(u)){b.pop();continue}m=u}}var O;if(void 0===u&&s&&y.push([f,m]),e)b.pop();else l={inArray:d,index:v,keys:p,edits:y,prev:l},d=Array.isArray(m),p=d?m:null!==(O=n[m.kind])&&void 0!==O?O:[],v=-1,y=[],h&&g.push(h),h=m}while(void 0!==l);return 0!==y.length?y[y.length-1][1]:e}function u(e,t){const n=e[t];return"object"===typeof n?n:"function"===typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}},33968:(e,t,n)=>{n.d(t,{Z:()=>a});var r=n(43052),i=n(21238),o=n(71793),s=n(24925);function a(e){const t=(0,o._)(e)?e:new o.k(e),n=t.body,a=new i.JG(t);let c="",u=!1;for(;a.advance().kind!==s.Y.EOF;){const e=a.token,t=e.kind,o=!(0,i.Z_)(e.kind);u&&(o||e.kind===s.Y.SPREAD)&&(c+=" ");const l=n.slice(e.start,e.end);t===s.Y.BLOCK_STRING?c+=(0,r.yo)(e.value,{minimize:!0}):c+=l,u=o}return c}},60620:(e,t,n)=>{n.d(t,{D:()=>Se});var r=n(8674),i=n(53967),o=n(39335),s=n(54275),a=n(11845),c=n(7970),u=n(82275),l=n(98608),f=n(44146),h=n(55982),d=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(a.ct,{max:c.v["cache.fragmentQueryDocuments"]||1e3,cache:f.l})}return e.prototype.batch=function(e){var t,n=this,r="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(n)}),r),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.Cl)((0,r.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,n=this,i=e.fragment,o=e.fragmentName,s=e.from,a=e.optimistic,c=void 0===a||a,f=(0,r.Tt)(e,["fragment","fragmentName","from","optimistic"]),d=this.getFragmentDoc(i,o),p=(0,r.Cl)((0,r.Cl)({},f),{returnPartialData:!0,id:"undefined"===typeof s||"string"===typeof s?s:this.identify(s),query:d,optimistic:c});return new u.c((function(e){return n.watch((0,r.Cl)((0,r.Cl)({},p),{immediate:!0,callback:function(n){if(!t||!(0,h.a)(d,{data:null===t||void 0===t?void 0:t.result},{data:n.result})){var r={data:n.result,complete:!!n.complete};n.missing&&(r.missing=(0,l.IM)(n.missing.map((function(e){return e.missing})))),t=n,e.next(r)}}}))}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.Cl)((0,r.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,i=(0,r.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,i=e.fragment,o=e.fragmentName,s=(0,r.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(s,{query:this.getFragmentDoc(i,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var i=n.readQuery(e),o=t(i);return void 0===o||null===o?i:(n.writeQuery((0,r.Cl)((0,r.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var i=n.readFragment(e),o=t(i);return void 0===o||null===o?i:(n.writeFragment((0,r.Cl)((0,r.Cl)({},e),{data:o})),o)}})},e}();var p=function(e){function t(n,r,i,o){var s,a=e.call(this,n)||this;if(a.message=n,a.path=r,a.query=i,a.variables=o,Array.isArray(a.path)){a.missing=a.message;for(var c=a.path.length-1;c>=0;--c)a.missing=((s={})[a.path[c]]=a.missing,s)}else a.missing=a.path;return a.__proto__=t.prototype,a}return(0,r.C6)(t,e),t}(Error),v=n(74487),y=n(7152),m=n(57479),b=n(74591),g=n(74048),E=n(73061),T=n(98985),O=n(85275),C=n(97994),I=n(73480),k=n(40291),S=n(3567),N=n(88738),D=n(16002),w=Object.prototype.hasOwnProperty;function x(e){return null===e||void 0===e}function _(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"===typeof n&&(t&&(t.keyObject=x(r)?x(i)?void 0:{_id:i}:{id:r}),x(r)&&!x(i)&&(r=i),!x(r)))return"".concat(n,":").concat("number"===typeof r||"string"===typeof r?r:JSON.stringify(r))}var A={dataIdFromObject:_,addTypename:!0,resultCaching:!0,canonizeResults:!1};function R(e){var t=e.canonizeResults;return void 0===t?A.canonizeResults:t}var F=/^[_a-z][_0-9a-z]*/i;function P(e){var t=e.match(F);return t?t[0]:e}function M(e,t,n){return!!(0,N.U)(t)&&((0,D.c)(t)?t.every((function(t){return M(e,t,n)}
1)):e.selections.every((function(e){if((0,g.dt)(e)&&(0,I.MS)(e,n)){var r=(0,g.ue)(e);return w.call(t,r)&&(!e.selectionSet||M(e.selectionSet,t[r],n))}return!0})))}function L(e){return(0,N.U)(e)&&!(0,g.A_)(e)&&!(0,D.c)(e)}function j(e,t){var n=(0,a.JG)((0,C.zK)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var V=Object.create(null),q=function(){return V},Q=Object.create(null),Y=function(){function e(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,k.G)((0,g.A_)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,g.A_)(e)?n.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return(0,g.WU)(e);if((0,g.A_)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,g.WU)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,r.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),w.call(this.data,e)){var n=this.data[e];if(n&&w.call(n,t))return n[t]}return"__typename"===t&&w.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof K?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),w.call(this.data,e)?this.data[e]:this instanceof K?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,g.A_)(e)&&(e=e.__ref),(0,g.A_)(t)&&(t=t.__ref);var o="string"===typeof e?this.lookup(n=e):e,s="string"===typeof t?this.lookup(n=t):t;if(s){(0,i.V1)("string"===typeof n,1);var a=new l.ZI(G).merge(o,s);if(this.data[n]=a,a!==o&&(delete this.refs[n],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(s).forEach((function(e){if(!o||o[e]!==a[e]){c[e]=1;var t=P(e);t===e||r.policies.hasKeyArgs(a.__typename,t)||(c[t]=1),void 0!==a[e]||r instanceof K||delete a[e]}})),!c.__typename||o&&o.__typename||this.policies.rootTypenamesById[n]!==a.__typename||delete c.__typename,Object.keys(c).forEach((function(e){return r.group.dirty(n,e)}))}}},e.prototype.modify=function(e,t){var n=this,i=this.lookup(e);if(i){var o=Object.create(null),s=!1,a=!0,c={DELETE:V,INVALIDATE:Q,isReference:g.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"===typeof t?{fieldName:t,from:r||(0,g.WU)(e)}:t,{store:n})}};
1if(Object.keys(i).forEach((function(u){var l=P(u),f=i[u];if(void 0!==f){var h="function"===typeof t?t:t[u]||t[l];if(h){var d=h===q?V:h((0,k.G)(f),(0,r.Cl)((0,r.Cl)({},c),{fieldName:l,storeFieldName:u,storage:n.getStorage(e,u)}));if(d===Q)n.group.dirty(e,u);else if(d===V&&(d=void 0),d!==f)o[u]=d,s=!0,f=d}void 0!==f&&(a=!1)}})),s)return this.merge(e,o),a&&(this instanceof K?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),s=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,s?((r={})[s]=q,r):q)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(w.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof K&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){w.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&w.call(e,n)||t.delete(n)})),e){var n=e.__META,i=(0,r.Tt)(e,["__META"]);
1Object.keys(i).forEach((function(e){t.merge(e,i[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof K?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){w.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var i=this;i instanceof K;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!w.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach((function(e){(0,g.A_)(e)&&(t[e.__ref]=!0),(0,N.U)(e)&&Object.keys(e).forEach((function(t){var n=e[t];(0,N.U)(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),U=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new S.b(T.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(B(e,t));var n=P(t);n!==t&&this.d(B(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(B(e,t),"__exists"===t?"forget":"setDirty")},e}();function B(e,t){return t+"#"+e}function z(e,t){J(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,o=t.seed,s=e.call(this,n,new U(i))||this;return s.stump=new W(s),s.storageTrie=new S.b(T.et),o&&s.replace(o),s}return(0,r.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(Y||(Y={}));var K=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,r.C6)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach((function(n){(0,s.L)(r[n],i[n])||t.group.dirty(e,n)}
1)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(n){t.group.dirty(e,n)}))):t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,r.Cl)((0,r.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return w.call(this.data,t)?(0,r.Cl)((0,r.Cl)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Y),W=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new U(t.group.caching,t.group))||this}return(0,r.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(K);function G(e,t,n){var r=e[n],i=t[n];return(0,s.L)(r,i)?r:i}function J(e){return!!(e instanceof Y&&e.group.caching)}var $=function(){function e(){this.known=new(T.En?WeakSet:Set),this.pool=new S.b(T.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,N.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,N.U)(e)){var t=function(e){return(0,N.U)(e)?(0,D.c)(e)?e.slice(0):(0,r.Cl)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,N.U)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var r=e.map(this.admit,this);return(a=this.pool.lookupArray(r)).array||this.known.add(a.array=r),a.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],s=this.sortedKeys(e);o.push(s.json);var a,c=o.length;if(s.sorted.forEach((function(n){o.push(t.admit(e[n]))})),!(a=this.pool.lookupArray(o)).object){var u=a.object=Object.create(i);this.known.add(u),s.sorted.forEach((function(e,t){u[e]=o[c+t]}))}return a.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}();function H(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var X=function(){function e(e){var t=this;this.knownResults=new(T.et?WeakMap:Map),this.config=(0,O.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:R(e)}),this.canon=e.canon||new $,this.executeSelectionSet=(0,o.LV)((function(e){var n,i=e.context.canonizeResults,o=H(e);o[3]=!i;var s=(n=t.executeSelectionSet).peek.apply(n,o);return s?i?(0,r.Cl)((0,r.Cl)({},s),{result:t.canon.admit(s.result)}):s:(z(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:H,makeCacheKey:function(e,t,n,r){if(J(n.store))return n.store.makeCacheKey(e,(0,g.A_)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,o.LV)((function(e){return z(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(J(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new $},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,s=e.variables,a=e.returnPartialData,c=void 0===a||a,u=e.canonizeResults,l=void 0===u?this.config.canonizeResults:u,f=this.config.cache.policies;s=(0,r.Cl)((0,r.Cl)({},(0,C.wY)((0,C.AT)(n))),s);var h,d=(0,g.WU)(o),v=this.executeSelectionSet({selectionSet:(0,C.Vn)(n).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,r.Cl)({store:t,query:n,policies:f,variables:s,varString:(0,m.M)(s),canonizeResults:l},j(n,this.config.fragments))});if(v.missing&&(h=[new p(Z(v.missing),v.missing,n,s)],!c))throw h[0];return{result:v.result,complete:!h,missing:h}},e.prototype.isFresh=function(e,t,n,r){if(J(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,g.A_)(r)&&!s.policies.rootTypenamesById[r.__ref]&&!s.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var c,u=s.variables,f=s.policies,h=s.store.getFieldValue(r,"__typename"),d=[],p=new l.ZI;function v(e,t){var n;return e.missing&&(c=p.merge(c,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"===typeof h&&!f.rootIdsByTypename[h]&&d.push({__typename:h});var m=new Set(n.selections);m.forEach((function(e){var n,l;if((0,I.MS)(e,u))if((0,g.dt)(e)){var b=f.readField({fieldName:e.n
1ame.value,field:e,variables:s.variables,from:r},s),T=(0,g.ue)(e);void 0===b?y.XY.added(e)||(c=p.merge(c,((n={})[T]="Can't find field '".concat(e.name.value,"' on ").concat((0,g.A_)(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):(0,D.c)(b)?b.length>0&&(b=v(t.executeSubSelectedArray({field:e,array:b,enclosingRef:o,context:s}),T)):e.selectionSet?null!=b&&(b=v(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,g.A_)(b)?b:o,context:s}),T)):s.canonizeResults&&(b=t.canon.pass(b)),void 0!==b&&d.push(((l={})[T]=b,l))}else{var O=(0,a.HQ)(e,s.lookupFragment);if(!O&&e.kind===E.b.FRAGMENT_SPREAD)throw(0,i.vA)(9,e.name.value);O&&f.fragmentMatches(O,h)&&O.selectionSet.selections.forEach(m.add,m)}}));var b={result:(0,l.IM)(d),missing:c},T=s.canonizeResults?this.canon.admit(b):(0,k.G)(b);return T.result&&this.knownResults.set(T.result,n),T},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,o=e.enclosingRef,s=e.context,a=new l.ZI;function c(e,n){var r;return e.missing&&(t=a.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(i=i.filter(s.store.canRead)),i=i.map((function(e,t){return null===e?null:(0,D.c)(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:o,context:s}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,g.A_)(e)?e:o,context:s}),t):e})),{result:s.canonizeResults?this.canon.admit(i):i,missing:t}},e}();function Z(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var ee=n(44324),te=Object.create(null);function ne(e){var t=JSON.stringify(e);return te[t]||(te[t]=Object.create(null))}function re(e){var t=ne(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=oe(e,(function(e){var o=ce(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&w.call(t,e[0])&&(o=ce(t,e,ae)),(0,i.V1)(void 0!==o,4,e.join("."),t),o}));return"".concat(n.typename,":").concat(JSON.stringify(o))})}function ie(e){var t=ne(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,s=oe(e,(function(e){var n=e[0],o=n.charAt(0);if("@"!==o)if("$"!==o){if(t)return ce(t,e)}else{var s=n.slice(1);if(i&&w.call(i,s)){var a=e.slice(0);return a[0]=s,ce(i,a)}}else if(r&&(0,D.E)(r.directives)){var c=n.slice(1),u=r.directives.find((function(e){return e.name.value===c})),l=u&&(0,g.MB)(u,i);return l&&ce(l,e.slice(1))}})),a=JSON.stringify(s);return(t||"{}"!==a)&&(o+=":"+a),o})}function oe(e,t){var n=new l.ZI;return se(e).reduce((function(e,r){var i,o=t(r);if(void 0!==o){for(var s=r.length-1;s>=0;--s)(i={})[r[s]]=o,o=i;e=n.merge(e,o)}return e}),Object.create(null))}function se(e){var t=ne(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,i){(0,D.c)(t)?(se(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),(0,D.c)(e[i+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function ae(e,t){return e[t]}function ce(e,t,n){return n=n||ae,ue(t.reduce((function e(t,r){return(0,D.c)(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function ue(e){return(0,N.U)(e)?(0,D.c)(e)?e.map(ue):oe(Object.keys(e).sort(),(function(t){return ce(e,t)})):e}function le(e){return void 0!==e.args?e.args:e.field?(0,g.MB)(e.field,e.variables):null}var fe=function(){},he=function(e,t){return t.fieldName},de=function(e,t,n){return(0,n.mergeObjects)(e,t)},pe=function(e,t){return t},ve=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,r.Cl)({dataIdFromObject:_},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var n,i=this,o=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s,a=t&&t.storeObject||e,c=(0,r.Cl)((0,r.Cl)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=me(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l((0,r.Cl)((0,r.Cl)({},e),a),c);if(!(0,D.c)(f)){s=f;break}l=re(f)}return s=s?String(s):void 0,c.keyObject?[s,c.keyObject]:[s]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var i=e[n],o=i.queryType,s=i.mutationType,a=i.subscriptionType,c=(0,r.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),s&&t.setRootTypename("Mutation",n),a&&t.setRootTypename("Subscription",n),w.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function s(e,t){e.merge="function"===typeof t?t:!0===t?de:!1===t?pe
1:e.merge}s(r,t.merge),r.keyFn=!1===i?fe:(0,D.c)(i)?re(i):"function"===typeof i?i:r.keyFn,o&&Object.keys(o).forEach((function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"===typeof i)r.read=i;else{var a=i.keyArgs,c=i.read,u=i.merge;r.keyFn=!1===a?he:(0,D.c)(a)?ie(a):"function"===typeof a?a:r.keyFn,"function"===typeof c&&(r.read=c),s(r,u)}r.read&&r.merge&&(r.keyFn=r.keyFn||he)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,i.V1)(!r||r===e,5,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(F);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!w.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(n,r){if(n.test(e)){var o=t.supertypeMap.get(r);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,s=(0,r.Tt)(i,["fields"]);Object.assign(n,s),Object.assign(n.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),a=[s],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&a.indexOf(t)<0&&a.push(t)},u=!(!n||!this.fuzzySubtypes.size),l=0;l<a.length;++l){var f=a[l];if(f.has(o))return s.has(o)||s.add(o),!0;f.forEach(c),u&&l===a.length-1&&M(e.selectionSet,n,r)&&(u=!1,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&c(n)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),o=i&&i.keyFn;if(o&&n)for(var s={typename:n,fieldName:r,field:e.field||null,variables:e.variables},a=le(e);o;){var c=o(a,s);if(!(0,D.c)(c)){t=c||r;break}o=ie(c)}return void 0===t&&(t=e.field?(0,g.Ii)(e.field,e.variables):(0,g.o5)(r,le(e))),!1===t?r:r===P(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),o=P(i),s=t.store.getFieldValue(n,i),a=this.getFieldPolicy(e.typename,o,!1),c=a&&a.read;if(c){var u=ye(this,n,e,t,t.store.getStorage((0,g.A_)(n)?n.__ref:n,i));return ee.bl.withValue(this.cache,c,[s,u])}return s}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,s=n.typename,a=n.merge;return a===de?be(r.store)(e,t):a===pe?t:(r.overwrite&&(e=void 0),a(e,t,ye(this,void 0,{typename:s,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function ye(e,t,n,r,i){var o=e.getStoreFieldName(n),s=P(o),a=n.variables||r.variables,c=r.store,u=c.toReference,l=c.canRead;return{args:le(n),field:n.field||null,fieldName:s,storeFieldName:o,variables:a,isReference:g.A_,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(me
1(arguments,t,a),r)},mergeObjects:be(r.store)}}function me(e,t,n){var i,o=e[0],s=e[1],a=e.length;return"string"===typeof o?i={fieldName:o,from:a>1?s:t}:(i=(0,r.Cl)({},o),w.call(i,"from")||(i.from=t)),void 0===i.variables&&(i.variables=n),i}function be(e){return function(t,n){if((0,D.c)(t)||(0,D.c)(n))throw(0,i.vA)(8);if((0,N.U)(t)&&(0,N.U)(n)){var o=e.getFieldValue(t,"__typename"),s=e.getFieldValue(n,"__typename");if(o&&s&&o!==s)return n;if((0,g.A_)(t)&&L(n))return e.merge(t.__ref,n),t;if(L(t)&&(0,g.A_)(n))return e.merge(t,n.__ref),n;if(L(t)&&L(n))return(0,r.Cl)((0,r.Cl)({},t),n)}return n}}function ge(e,t,n){var i="".concat(t).concat(n),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===n?e:(0,r.Cl)((0,r.Cl)({},e),{clientOnly:t,deferred:n})),o}var Ee=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,o=t.query,s=t.result,a=t.dataId,c=t.variables,u=t.overwrite,f=(0,C.Vu)(o),h=new l.ZI;c=(0,r.Cl)((0,r.Cl)({},(0,C.wY)(f)),c);var d=(0,r.Cl)((0,r.Cl)({store:e,written:Object.create(null),merge:function(e,t){return h.merge(e,t)},variables:c,varString:(0,m.M)(c)},j(o,this.fragments)),{overwrite:!!u,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:s||Object.create(null),dataId:a,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,g.A_)(p))throw(0,i.vA)(11,s);return d.incomingById.forEach((function(t,r){var i=t.storeObject,o=t.mergeTree,s=(t.fieldNodeSet,(0,g.WU)(r));if(o&&o.map.size){var a=n.applyMerges(o,s,i,d);if((0,g.A_)(a))return;i=a}e.merge(r,i)})),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,i=e.result,o=e.selectionSet,s=e.context,a=e.mergeTree,c=this.cache.policies,u=Object.create(null),l=n&&c.rootTypenamesById[n]||(0,g.D$)(i,o,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"===typeof l&&(u.__typename=l);var f=function(){var e=me(arguments,u,s.variables);if((0,g.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=c.readField((0,r.Cl)((0,r.Cl)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return c.readField(e,s)},h=new Set;this.flattenFields(o,i,s,l).forEach((function(e,n){var r,o=(0,g.ue)(n),s=i[o];if(h.add(n),void 0!==s){var d=c.getStoreFieldName({typename:l,fieldName:n.name.value,field:n,variables:e.variables}),p=Oe(a,d),v=t.processFieldValue(s,n,n.selectionSet?ge(e,!1,!1):e,p),y=void 0;n.selectionSet&&((0,g.A_)(v)||L(v))&&(y=f("__typename",v));var m=c.getMergeFunction(l,n.name.value,y);m?p.info={field:n,typename:l,merge:m}:ke(a,d),u=e.merge(u,((r={})[d]=v,r))}else 0}));try{var d=c.identify(i,{typename:l,selectionSet:o,fragmentMap:s.fragmentMap,storeObject:u,readField:f}),p=d[0],v=d[1];n=n||p,v&&(u=s.merge(u,v))}catch(E){if(!n)throw E}if("string"===typeof n){var y=(0,g.WU)(n),m=s.written[n]||(s.written[n]=[]);if(m.indexOf(o)>=0)return y;if(m.push(o),this.reader&&this.reader.isFresh(i,y,o,s))return y;var b=s.incomingById.get(n);return b?(b.storeObject=s.merge(b.storeObject,u),b.mergeTree=Ce(b.mergeTree,a),h.forEach((function(e){return b.fieldNodeSet.add(e)}))):s.incomingById.set(n,{storeObject:u,mergeTree:Ie(a)?void 0:a,fieldNodeSet:h}),y}return u},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,D.c)(e)?e.map((function(e,o){var s=i.processFieldValue(e,t,n,Oe(r,o));return ke(r,o),s})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,g.D$)(t,e,n.fragmentMap));var o=new Map,s=this.cache.policies,c=new S.b(!1);return function e(u,l){var f=c.lookup(u,l.clientOnly,l.deferred);f.visited||(f.visited=!0,u.selections.forEach((function(c){if((0,I.MS)(c,n.variables)){var u=l.clientOnly,f=l.deferred;if(u&&f||!(0,D.E)(c.directives)||c.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var r=(0,g.MB)(e,n.variables);r&&!1===r.if||(f=!0)}})),(0,g.dt)(c)){var h=o.get(c);h&&(u=u&&h.clientOnly,f=f&&h.deferred),o.set(c,ge(n,u,f))}else{var d=(0,a.HQ)(c,n.lookupFragment);if(!d&&c.kind===E.b.FRAGMENT_SPREAD)throw(0,i.vA)(13,c.name.value);d&&s.fragmentMatches(d,r,t,n.variables)&&e(d.selectionSet,ge(n,u,f))}}})))}(e,n),o},e.prototype.applyMerges=function(e,t,n,o,s){var a,c=this;if(e.map.size&&!(0,g.A_)(n)){var u,l=(0,D.c)(n)||!(0,g.A_)(t)&&!L(t)?void 0:t,f=n;l&&!s&&(s=[(0,g.A_)(l)?l.__ref:l]);var h=function(e,t){return(0,D.c)(e)?"number"===typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach((function(e,t){var n=h(l,t),r=h(f,t);if(void 0!==r){s&&s.push(t);var a=c.applyMerges(e,n,r,o,s);a!==r&&(u=u||new Map).set(t,a),s&&(0,i.V1)(s.pop()===t)}})),u&&(n=(0,D.c)(f)?f.slice(0):(0,r.Cl)({},f),u.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,o,s&&(a=o.store).getStorage.apply(a,s)):n},e}(),Te=[];function Oe(e,t){var n=e.map;return n.has(t)||n.set(t,Te.pop()||{map:new Map}),n.get(t)}function Ce(e,t){if(e===t||!t||Ie(t))return e;if(!e||Ie(e))return t;var n=e.info&&t.info?(0,r.Cl)((0,r.Cl)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:n,map:i?new Map:e.map.size?e.map:t.map};if(i){var s=new Set(t.map.keys());e.map.forEach((function(e,n){o.map.set(n,Ce(e,t.map.get(n))),s.delete(n)})),s.forEach((function(n){o.map.set(n,Ce(t.map.get(n),e.map.get(n)))}))}return o}function Ie(e){return!e||!(e.info||e.map.size)}function ke(e,t){var n=e.map,r=n.get(t);r&&Ie(r)&&(Te.push(r),n.delete(t))}new Set;var Se=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new v.c(y.XY),n.assumeImmutableResults=!0,n.makeVar=ee.UT,n.txCount=0,n.config=function(e){return(0,O.o)(A,e)}(t),n.addTypename=!!n.config.addTypename,n.policies=new ve({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.C6)(t,e),t.prototype.init=function(){var e=this.data=new Y.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new Ee(this,this.storeReader=new X({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:R(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,o.LV)((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(J(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,m.M)({optimistic:r,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,r.Cl)((0,r.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(i){if(i instanceof p)return null;throw i}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(w.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,r.Cl)((0,r.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,ee.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,ee.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;m.M.reset(),b.y.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var n=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),n},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,g.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){}},t.prototype.evict=function(e){if(!e.id){if(w.call(e,"id"))return!1;e=(0,r.Cl)((0,r.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),m.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,ee.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,n=this,i=e.update,o=e.optimistic,s=void 0===o||o,a=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var r=n,o=r.data,s=r.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=i(n)}finally{--n.txCount,n.data=o,n.optimisticData=s}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,r.Cl)((0,r.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"===typeof s?this.optimisticData=this.optimisticData.addLayer(s,u):!1===s?u(this.data):u(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),c&&l.size?(this.broadcastWatches((0,r.Cl)((0,r.Cl)({},e),{onWatchUpdated:function(e,t){var n=c.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach((function(e){return n.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var n=e.lastDiff,r=this.diff(e);t&&(e.optimistic&&"string"===typeof t.optimistic&&(r.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,r,n))||n&&(0,s.L)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(d)},44324:(e,t,n)=>{n.d(t,{MS:()=>c,UT:()=>u,WR:()=>a,bl:()=>i});var r=n(39335),i=new r.DX,o=new WeakMap;function s(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,r.yN)()}),t}function a(e){s(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){s(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,n=new Set,r=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach((function(e){s(e).dep.dirty(r),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var c=Array.from(n);n.clear(),c.forEach((function(t){return t(e)}))}}else{var u=i.getValue();u&&(o(u),s(u).dep(r))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var o=r.attachCache=function(e){return t.add(e),s(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}},62522:(e,t,n)=>{n.d(t,{R:()=>ce});var r=n(8674),i=n(53967),o=n(47800),s=o.C.execute,a=n(5333),c=n(55462),u=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,(0,c.$)(t).request)||this;return n.options=t,n}return(0,r.C6)(t,e),t}(o.C),l=n(54275),f=n(81819),h=n(73480),d=n(7152),p=n(57479),v=n(74487),y=n(82275);function m(e,t,n){return new y.c((function(r){var i={then:function(e){return new Promise((function(t){return t(e())}))}};function o(e,t){return function(n){if(e){var o=function(){return r.closed?0:e(n)};i=i.then(o,o).then((function(e){return r.next(e)}),(function(e){return r.error(e)}))}else r[t](n)}}var s={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then((function(){return r.complete()}))}},a=e.subscribe(s);return function(){return a.unsubscribe()}}))}var b=n(16002);function g(e){var t=E(e);return(0,b.E)(t)}function E(e){var t=(0,b.E)(e.errors)?e.errors.slice(0):[];return(0,f.ST)(e)&&(0,b.E)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var T=n(97994),O=n(74048),C=n(88738),I=n(52652);function k(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}var S=n(98985);function N(e){function t(t){Object.defineProperty(e,t,{value:y.c})}return S.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function D(e){return e&&"function"===typeof e.then}var w=function(e){function t(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),k(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),k(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources;if(null!==t){var i=(void 0===r?[]:r).shift();i?D(i)?i.then((function(e){return n.sub=e.subscribe(n.handlers)}),n.handlers.error):n.sub=i.subscribe(n.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),k(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.error(e)},n.promise.catch((function(e){})),"function"===typeof t&&(t=[new y.c(t)]),D(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,r.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
1n.size&&(this.nextResultListeners=new Set,n.forEach((function(n){return n(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(n,r){t||(t=!0,e(n,r))}))},t}(y.c);N(w);var x=n(50097),_=n(43933),A=n(85275),R=Object.prototype.toString;function F(e){return P(e)}function P(e,t){switch(R.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=P(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=P(e[n],t)})),r;default:return e}}var M=n(55982),L=Object.assign,j=(Object.hasOwnProperty,function(e){function t(t){var n=t.queryManager,i=t.queryInfo,o=t.options,s=e.call(this,(function(e){try{var n=e._subscription._observer;n&&!n.error&&(n.error=q)}catch(t){}var r=!s.observers.size;s.observers.add(e);var i=s.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.result),r&&s.reobserve().catch((function(){})),function(){s.observers.delete(e)&&!s.observers.size&&s.tearDownQuery()}}))||this;s.observers=new Set,s.subscriptions=new Set,s.queryInfo=i,s.queryManager=n,s.waitForOwnResult=Q(o.fetchPolicy),s.isTornDown=!1,s.subscribeToMore=s.subscribeToMore.bind(s);var a=n.defaultOptions.watchQuery,c=(void 0===a?{}:a).fetchPolicy,u=void 0===c?"cache-first":c,l=o.fetchPolicy,f=void 0===l?u:l,h=o.initialFetchPolicy,d=void 0===h?"standby"===f?u:f:h;s.options=(0,r.Cl)((0,r.Cl)({},o),{initialFetchPolicy:d,fetchPolicy:f}),s.queryId=i.queryId||n.generateQueryId();var p=(0,T.Vu)(s.query);return s.queryName=p&&p.name&&p.name.value,s}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||_.pT.ready,i=(0,r.Cl)((0,r.Cl)({},t),{loading:(0,_.bi)(n),networkStatus:n}),o=this.options.fetchPolicy,s=void 0===o?"cache-first":o;if(Q(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(i.data=a.result),(0,l.L)(i.data,{})&&(i.data=void 0),a.complete?(delete i.partial,!a.complete||i.networkStatus!==_.pT.loading||"cache-first"!==s&&"cache-only"!==s||(i.networkStatus=_.pT.ready,i.loading=!1)):i.partial=!0}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||((this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!(0,M.a)(this.query,this.last.result,e,this.variables):!(0,l.L)(this.last.result,e))||t&&!(0,l.L)(this.last.variables,t))},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,l.L)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},n=this.options.fetchPolicy;return t.fetchPolicy="cache-and-network"===n?n:"no-cache"===n?"no-cache":"network-only",e&&!(0,l.L)(this.options.variables,e)&&(t.variables=this.options.variables=(0,r.Cl)((0,r.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(t,_.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.Cl)((0,r.Cl)({},e.query?e:(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,r.Cl)((0,r.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var s=this.queryInfo,a=s.networkStatus;
1s.networkStatus=_.pT.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var c=new Set,u=null===e||void 0===e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||(0,i.V1)(u,21),this.queryManager.fetchQuery(o,n,_.pT.fetchMore).then((function(i){if(t.queryManager.removeQuery(o),s.networkStatus===_.pT.fetchMore&&(s.networkStatus=a),l)t.queryManager.cache.batch({update:function(r){var o=e.updateQuery;o?r.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:i.data,variables:n.variables})})):r.writeQuery({query:n.query,variables:n.variables,data:i.data})},onWatchUpdated:function(e){c.add(e.query)}});else{var f=t.getLast("result"),h=u(f.data,{fetchMoreResult:i.data,variables:n.variables});t.reportResult((0,r.Cl)((0,r.Cl)({},f),{data:h}),t.variables)}return i})).finally((function(){l&&!c.has(t.query)&&V(t)}))},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,A.o)(this.options,e||{});L(this.options,t)},t.prototype.setVariables=function(e){return(0,l.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},_.pT.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"===typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,n){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(n&&this.hasObservers()){if(!t||t.interval!==n){(0,i.V1)(n,23),(t||(this.pollingInfo={})).interval=n;var r=function(){var t,n;e.pollingInfo&&((0,_.bi)(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},_.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!(0,l.L)(t,this.last.variables)&&(n=void 0),this.last=(0,r.Cl)({result:this.queryManager.assumeImmutableResults?e:F(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var i=t===_.pT.refetch||t===_.pT.fetchMore||t===_.pT.poll,o=this.options.variables,s=this.options.fetchPolicy,a=(0,A.o)(this.options,e||{}),c=i?a:L(this.options,a),u=this.transformDocument(c.query);this.lastQuery=u,i||(this.updatePolling(),!e||!e.variables||(0,l.L)(e.variables,o)||"standby"===c.fetchPolicy||c.fetchPolicy!==s&&"function"!==typeof c.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",c),void 0===t&&(t=_.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Q(c.fetchPolicy));var f=function(){n.concast===p&&(n.waitForOwnResult=!1)},h=c.variables&&(0,r.Cl)({},c.variables),d=this.fetch(c,t,u),p=d.concast,v=d.fromLink,y={next:function(e){(0,l.L)(n.variables,h)&&(f(),n.reportResult(e,h))},error:function(e){(0,l.L)(n.variables,h)&&((0,x.Mn)(e)||(e=new x.K4({networkError:e})),f(),n.reportError(e,h))}};return i||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=y),p.addObserver(y),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&k(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=(0,r.Cl)((0,r.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:_.pT.error,loading:!1});this.updateLastResult(n,t),k(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(y.c));function V(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return this.nextFetchPolicy=r,"function"===typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):n}}):e.reobserve()}function q(e){}function Q(e){return"network-only"===e||"no-cache"===e||"standby"===e}N(j);var Y=n(98608),U=new(S.et?WeakMap:Map);function B(e,t){var n=e[t];"function"===typeof n&&(e[t]=function(){return U.set(e,(U.get(e)+1)%1e15),n.apply(this,arguments)})}function z(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var K=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;U.has(n)||(U.set(n,0),B(n,"evict"),B(n,"modify"),B(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||_.pT.loading;return this.variables&&this.networkStatus!==_.pT.loading&&!(0,l.L)(this.variables,e.variables)&&(t=_.pT.setVariables),(0,l.L)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){z(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,l.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n=this,r=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),this.dirty||(0,l.L)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return n.notify()}),0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():V(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1z(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,_.bi)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var i=(0,r.Cl)((0,r.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,l.L)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===U.get(this.cache)&&(0,l.L)(t,n.variables)&&(0,l.L)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i=this,o=new Y.ZI,s=(0,b.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,b.E)(e.incremental)){var a=(0,f.bd)(this.getDiff().result,e);e.data=a}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=s,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(W(e,n.errorPolicy)?this.cache.performTransaction((function(o){if(i.shouldWrite(e,n.variables))o.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),i.lastWrite={result:e,variables:n.variables,dmCount:U.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var s=i.getDiffOptions(n.variables),a=o.diff(s);!i.stopped&&(0,l.L)(i.variables,n.variables)&&i.updateWatch(n.variables),i.updateLastDiff(a,s),a.complete&&(e.data=a.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=_.pT.ready},e.prototype.markError=function(e){return this.networkStatus=_.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function W(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!g(e);return!r&&n&&e.data&&(r=!0),r}var G=n(74591),J=n(3567),$=n(68233),H=n(7970),X=Object.prototype.hasOwnProperty,Z=Object.create(null),ee=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new $.A(H.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new J.b(!1);var n=new v.c((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults;var r=e.documentTransform;this.documentTransform=r?n.concat(r).concat(n):n,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches((0,i.vA)(26))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,r.sH)(this,arguments,void 0,(function(e){var t,n,o,s,a,c,u,l=e.mutation,f=e.variables,h=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,v=void 0===p?[]:p,y=e.awaitRefetchQueries,b=void 0!==y&&y,T=e.update,O=e.onQueryUpdated,C=e.fetchPolicy,I=void 0===C?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.fetchPolicy)||"network-only":C,k=e.errorPolicy,S=void 0===k?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.errorPolicy)||"none":k,N=e.keepRootFields,D=e.context;return(0,r.YH)(this,(function(e){switch(e.label){case 0:return(0,i.V1)(l,27),(0,i.V1)("network-only"===I||"no-cache"===I,28),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),n=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),n?[4,this.localState.addExportedVariables(l,f,D)]:[3,2];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),s=h&&this.markMutationOptimistic(h,{mutationId:t,document:l,variables:f,fetchPolicy:I,errorPolicy:S,context:D,updateQueries:d,update:T,keepRootFields:N}),this.broadcastQueries(),a=this,[2,new Promise((function(e,n){return m(a.getObservableFromLink(l,(0,r.Cl)((0,r.Cl)({},D),{optimisticResponse:s?h:void 0}),f,{},!1),(function(e){if(g(e)&&"none"===S)throw new x.K4({graphQLErrors:E(e)});o&&(o.loading=!1,o.error=null);var n=(0,r.Cl)({},e);return"function"===typeof v&&(v=v(n)),"ignore"===S&&g(n)&&delete n.errors,a.markMutationResult({mutationId:t,result:n,document:l,variables:f,fetchPolicy:I,errorPolicy:S,context:D,update:T,updateQueries:d,awaitRefetchQueries:b,refetchQueries:v,removeOptimistic:s?t:void 0,onQueryUpdated:O,keepRootFields:N})})).subscribe({next:function(t){a.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){o&&(o.loading=!1,o.error=e),s&&a.cache.removeOptimistic(t),a.broadcastQueries(),n(e instanceof x.K4?e:new x.K4({networkError:e}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var i=e.result,o=[],s="no-cache"===e.fetchPolicy;if(!s&&W(i,e.errorPolicy)){if((0,f.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,f.ST)(i)&&(0,b.E)(i.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),c=void 0;a.result&&(c=(0,f.bd)(a.result,i)),"undefined"!==typeof c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach((function(e,r){var s=e.observableQuery,a=s&&s.queryName;if(a&&X.call(u,a)){var c=u[a],l=n.queries.get(r),f=l.document,h=l.variables,d=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),p=d.result;if(d.complete&&p){var v=c(p,{mutationResult:i,queryName:f&&(0,T.n4)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}}))}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){s||o.forEach((function(e){return t.write(e)}));var a=e.update,c=!(0,f.YX)(i)||(0,f.ST)(i)&&!i.hasNext;if(a){if(!s){var u=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=(0,r.Cl)((0,r.Cl)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&a(t,i,{context:e.context,variables:e.variables})}s||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return l.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var n=this,i="function"===typeof e?e(t.variables,{IGNORE:Z}):e;return i!==Z&&(this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,r.Cl)((0,r.Cl)({},t),{result:{data:i}}),e)}catch(o){}}),t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var n={hasClientExports:(0,h.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,h.d8)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,d.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,T.wY)((0,T.Vu)(e)),asQuery:(0,r.Cl)((0,r.Cl)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.Cl)((0,r.Cl)({},e),{operation:"query"}):e}))})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.Cl)((0,r.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);"undefined"===typeof(e=(0,r.Cl)((0,r.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new K(this),i=new j({queryManager:this,queryInfo:n,options:e});return i.lastQuery=t,this.queries.set(i.queryId,n),n.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,29),(0,i.V1)("Document"===e.query.kind,30),(0,i.V1)(!e.returnPartialData,31),(0,i.V1)(!e.pollInterval,32),this.fetchQuery(t,(0,r.Cl)((0,r.Cl)({},e),{query:this.transform(e.query)})).finally((function(){return n.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,i.vA)(33)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=_.pT.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,o=new Map,s=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?o.set(e,!1):(0,O.Kc)(e)?o.set(t.transform(e),!1):(0,C.U)(e)&&e.query&&s.add(e)})),this.queries.forEach((function(t,r){var i=t.observableQuery,s=t.document;if(i){if("all"===e)return void n.set(r,i);var a=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||a&&o.has(a)||s&&o.has(s))&&(n.set(r,i),a&&o.set(a,!0),s&&o.set(s,!0))}})),s.size&&s.forEach((function(e){var o=(0,I.v)("legacyOneTimeQuery"),s=t.getQuery(o).init({document:e.query,variables:e.variables}),a=new j({queryManager:t,queryInfo:s,options:(0,r.Cl)((0,r.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(a.queryId===o),s.setObservableQuery(a),n.set(o,a)})),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach((function(r,i){var o=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,s=e.variables,a=e.context,c=void 0===a?{}:a,u=e.extensions,l=void 0===u?{}:u;n=this.transform(n),s=this.getVariables(n,s);var f=function(e){return t.getObservableFromLink(n,c,e,l).map((function(i){"no-cache"!==r&&(W(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var s=g(i),a=(0,x.uR)(i);if(s||a){var c={};if(s&&(c.graphQLErrors=i.errors),a&&(c.protocolErrors=i.extensions[x.K$]),"none"===o||a)throw new x.K4(c)}return"ignore"===o&&delete i.errors,i}))};if(this.getDocumentInfo(n).hasClientExports){var h=this.localState.addExportedVariables(n,s,c).then(f);return new y.c((function(e){var t=null;return h.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return f(s)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,i,o){var a,c,u=this;void 0===o&&(o=null!==(a=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==a?a:this.queryDeduplication);var l=this.getDocumentInfo(e),f=l.serverQuery,h=l.clientQuery;if(f){var d=this.inFlightLinkObservables,v=this.link,b={query:f,variables:n,operationName:(0,T.n4)(f)||void 0,context:this.prepareContext((0,r.Cl)((0,r.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=b.context,o){var g=(0,G.y)(f),E=(0,p.M)(n),O=d.lookup(g,E);if(!(c=O.observable)){var C=new w([s(v,b)]);c=O.observable=C,C.beforeNext((function(){d.remove(g,E)}))}}else c=new w([s(v,b)])}else c=new w([y.c.of({data:{}})]),t=this.prepareContext(t);return h&&(c=m(c,(function(e){return u.localState.runResolvers({document:h,remoteResult:e,context:t,variables:n})}))),c},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(n.query);return m(this.getObservableFromLink(i,n.context,n.variables),(function(o){var s=E(o),a=s.length>0,c=n.errorPolicy;if(r>=e.lastRequestId){if(a&&"none"===c)throw e.markError(new x.K4({graphQLErrors:s}));e.markResult(o,i,n,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:_.pT.ready};return a&&"none"===c&&(u.data=void 0),a&&"ignore"!==c&&(u.errors=s,u.networkStatus=_.pT.error),u}),(function(t){var n=(0,x.Mn)(t)?t:new x.K4({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},e.prototype.fetchConcastWithInfo=function(e,t,n,r){var i=this;void 0===n&&(n=_.pT.loading),void 0===r&&(r=t.query);var o,s,a=this.getVariables(r,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,h=t.errorPolicy,d=void 0===h?u&&u.errorPolicy||"none":h,p=t.returnPartialData,v=void 0!==p&&p,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,b=t.context,g=void 0===b?{}:b,E=Object.assign({},t,{query:r,variables:a,fetchPolicy:f,errorPolicy:d,returnPartialData:v,notifyOnNetworkStatusChange:m,context:g}),T=function(e){E.variables=e;var r=i.fetchQueryByPolicy(c,E,n);return"standby"!==E.fetchPolicy&&r.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),r},O=function(){return i.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){O(),setTimeout((function(){return o.cancel(e)}))})),this.getDocumentInfo(E.query).hasClientExports)o=new w(this.localState.addExportedVariables(E.query,E.variables,E.context).then(T).then((function(e){return e.sources}))),s=!0;else{var C=T(E.variables);s=C.fromLink,o=new w(C.sources)}return o.promise.then(O,O),{concast:o,fromLink:s}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,s=e.removeOptimistic,a=void 0===s?o?(0,I.v)("refetchQueries"):void 0:s,c=e.onQueryUpdated,u=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){u.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&a||!1,removeOptimistic:a,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof K&&e.watcher.observableQuery;if(r){if(c){u.delete(r.queryId);var i=c(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==c&&u.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),u.size&&u.forEach((function(e,n){var r,i=e.oq,o=e.lastDiff,s=e.diff;if(c){if(!s){var a=i.queryInfo;a.reset(),s=a.getDiff()}r=c(i,s,o)}c&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),a&&this.cache.removeOptimistic(a),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var i=this,o=t.query,s=t.variables,a=t.fetchPolicy,c=t.refetchWritePolicy,u=t.errorPolicy,l=t.returnPartialData,f=t.context,h=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:s,networkStatus:n});var p=function(){return e.getDiff()},v=function(t,n){void 0===n&&(n=e.networkStatus||_.pT.loading);var a=t.result;var c=function(e){return y.c.of((0,r.Cl)({data:e,loading:(0,_.bi)(n),networkStatus:n},t.complete?null:{partial:!0}))};return a&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:a},context:f,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):"none"===u&&n===_.pT.refetch&&Array.isArray(t.missing)?c(void 0):c(a)},m="no-cache"===a?0:n===_.pT.refetch&&"merge"!==c?1:2,b=function(){return i.getResultsFromLink(e,m,{query:o,variables:s,context:f,fetchPolicy:a,errorPolicy:u})},g=h&&"number"===typeof d&&d!==n&&(0,_.bi)(n);switch(a){default:case"cache-first":return(E=p()).complete?{fromLink:!1,sources:[v(E,e.markReady())]}:l||g?{fromLink:!0,sources:[v(E),b()]}:{fromLink:!0,sources:[b()]};case"cache-and-network":var E;return(E=p()).complete||l||g?{fromLink:!0,sources:[v(E),b()]}:{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[v(p(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[v(p()),b()]}:{fromLink:!0,sources:[b()]};case"no-cache":return g?{fromLink:!0,sources:[v(e.getDiff()),b()]}:{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new K(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),te=n(11786),ne=n(73061);function re(e){return e.kind===ne.b.FIELD||e.kind===ne.b.FRAGMENT_SPREAD||e.kind===ne.b.INLINE_FRAGMENT}var ie=n(11845),oe=n(44324),se=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,Y.D9)(t.resolvers,e)})):this.resolvers=(0,Y.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,r.sH)(this,arguments,void 0,(function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,s=e.onlyRunForcedResolvers,a=void 0!==s&&s;return(0,r.YH)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,a).then((function(e){return(0,r.Cl)((0,r.Cl)({},n),{data:e.result})}))]:[2,n]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,h.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,d.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.Cl)((0,r.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,r.sH)(this,arguments,void 0,(function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.YH)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,r.Cl)((0,r.Cl)({},t),e.exportedVariables)}))]:[2,(0,r.Cl)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,te.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return te.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,d.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,r.sH)(this,arguments,void 0,(function(e,t,n,i,o,s){var a,c,u,l,f,h,d,p,v,y;return void 0===n&&(n={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,r.YH)(this,(function(m){return a=(0,T.Vn)(e),c=(0,T.zK)(e),u=(0,ie.JG)(c),l=this.collectSelectionsToResolve(a,u),f=a.operation,h=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=(d=this).cache,v=d.client,y={fragmentMap:u,context:(0,r.Cl)((0,r.Cl)({}
1,n),{cache:p,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(a.selectionSet,false,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n,o){return(0,r.sH)(this,void 0,void 0,(function(){var s,a,c,u,l,f=this;return(0,r.YH)(this,(function(d){return s=o.fragmentMap,a=o.context,c=o.variables,u=[n],l=function(e){return(0,r.sH)(f,void 0,void 0,(function(){var l,f;return(0,r.YH)(this,(function(r){return(t||o.selectionsToResolve.has(e))&&(0,h.MS)(e,c)?(0,O.dt)(e)?[2,this.resolveField(e,t,n,o).then((function(t){var n;"undefined"!==typeof t&&u.push(((n={})[(0,O.ue)(e)]=t,n))}))]:((0,O.kd)(e)?l=e:(l=s[e.name.value],(0,i.V1)(l,18,e.name.value)),l&&l.typeCondition&&(f=l.typeCondition.name.value,o.fragmentMatcher(n,f,a))?[2,this.resolveSelectionSet(l.selectionSet,t,n,o).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,Y.IM)(u)}))]}))}))},e.prototype.resolveField=function(e,t,n,i){return(0,r.sH)(this,void 0,void 0,(function(){var o,s,a,c,u,l,f,h,d,p=this;return(0,r.YH)(this,(function(r){return n?(o=i.variables,s=e.name.value,a=(0,O.ue)(e),c=s!==a,u=n[a]||n[s],l=Promise.resolve(u),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=n.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[c?s:a])&&(l=Promise.resolve(oe.bl.withValue(this.cache,d,[n,(0,O.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(n){var r,o;if(void 0===n&&(n=u),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=n)}))})),!e.selectionSet)return n;if(null==n)return n;var s=null!==(o=null===(r=e.directives)||void 0===r?void 0:r.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(n)?p.resolveSubSelectedArray(e,t||s,n,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||s,n,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var i=this;return Promise.all(n.map((function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,n,r):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(o){if(!r.has(o)){var s=new Set;r.set(o,s),(0,te.YR)(o,{Directive:function(e,t,r,i,o){"client"===e.name.value&&o.forEach((function(e){n(e)&&re(e)&&s.add(e)}))},FragmentSpread:function(r,o,a,c,u){var l=t[r.name.value];(0,i.V1)(l,19,r.name.value);var f=e(l);f.size>0&&(u.forEach((function(e){n(e)&&re(e)&&s.add(e)})),s.add(r),f.forEach((function(e){s.add(e)})))}})}return r.get(o)}(e)},e}(),ae=n(71866),ce=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(15);var n=e.uri,s=e.credentials,c=e.headers,l=e.cache,f=e.documentTransform,h=e.ssrMode,d=void 0!==h&&h,p=e.ssrForceFetchDelay,v=void 0===p?0:p,y=e.connectToDevTools,m=e.queryDeduplication,b=void 0===m||m,g=e.defaultOptions,E=e.defaultContext,T=e.assumeImmutableResults,O=void 0===T?l.assumeImmutableResults:T,C=e.resolvers,I=e.typeDefs,k=e.fragmentMatcher,S=e.name,N=e.version,D=e.devtools,w=e.link;w||(w=n?new u({uri:n,credentials:s,headers:c}):o.C.empty()),this.link=w,this.cache=l,this.disableNetworkFetches=d||v>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=I,this.devtoolsConfig=(0,r.Cl)((0,r.Cl)({},D),{enabled:(null===D||void 0===D?void 0:D.enabled)||y}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1),v&&setTimeout((function(){return t.disableNetworkFetches=!1}),v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=a.r,this.localState=new se({cache:l,client:this,resolvers:C,fragmentMatcher:k}
1),this.queryManager=new ee({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:E,documentTransform:f,queryDeduplication:b,ssrMode:d,clientAwareness:{name:S,version:N},localState:this.localState,assumeImmutableResults:O,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,ae.l)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,r.Cl)((0,r.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,ae.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.Cl)((0,r.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,ae.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return s(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),n=[],r=[];t.forEach((function(e,t){n.push(t),r.push(e)}));var i=Promise.all(r);return i.queries=n,i.results=r,i.catch((function(e){})),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
1,enumerable:!1,configurable:!0}),e}()},55982:(e,t,n)=>{n.d(t,{a:()=>u});var r=n(8674),i=n(54275),o=n(97994),s=n(11845),a=n(73480),c=n(74048);function u(e,t,n,a){var c=t.data,u=(0,r.Tt)(t,["data"]),f=n.data,h=(0,r.Tt)(n,["data"]);return(0,i.A)(u,h)&&l((0,o.Vn)(e).selectionSet,c,f,{fragmentMap:(0,s.JG)((0,o.zK)(e)),variables:a})}function l(e,t,n,r){if(t===n)return!0;var o=new Set;return e.selections.every((function(e){if(o.has(e))return!0;if(o.add(e),!(0,a.MS)(e,r.variables))return!0;if(f(e))return!0;if((0,c.dt)(e)){var u=(0,c.ue)(e),h=t&&t[u],d=n&&n[u],p=e.selectionSet;if(!p)return(0,i.A)(h,d);var v=Array.isArray(h),y=Array.isArray(d);if(v!==y)return!1;if(v&&y){var m=h.length;if(d.length!==m)return!1;for(var b=0;b<m;++b)if(!l(p,h[b],d[b],r))return!1;return!0}return l(p,h,d,r)}var g=(0,s.HQ)(e,r.fragmentMap);return g?!!f(g)||l(g.selectionSet,t,n,r):void 0}))}function f(e){return!!e.directives&&e.directives.some(h)}function h(e){return"nonreactive"===e.name.value}},43933:(e,t,n)=>{var r;function i(e){return!!e&&e<7}n.d(t,{bi:()=>i,pT:()=>r}),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"}(r||(r={}))},50097:(e,t,n)=>{n.d(t,{K$:()=>o,K4:()=>c,Mn:()=>a,uR:()=>s});var r=n(8674),i=(n(53967),n(88738)),o=Symbol();function s(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function a(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){function t(n){var o=n.graphQLErrors,s=n.protocolErrors,a=n.clientErrors,c=n.networkError,u=n.errorMessage,l=n.extraInfo,f=e.call(this,u)||this;return f.name="ApolloError",f.graphQLErrors=o||[],f.protocolErrors=s||[],f.clientErrors=a||[],f.networkError=c||null,f.message=u||function(e){var t=(0,r.fX)((0,r.fX)((0,r.fX)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map((function(e){return(0,i.U)(e)&&e.message||"Error message not found."})).join("\n")}(f),f.extraInfo=l,f.cause=(0,r.fX)((0,r.fX)((0,r.fX)([c],o||[],!0),s||[],!0),a||[],!0).find((function(e){return!!e}))||null,f.__proto__=t.prototype,f}return(0,r.C6)(t,e),t}(Error)},82253:(e,t,n)=>{n.d(t,{mK:()=>r.m});n(53967);var r=n(92801)},24880:(e,t,n)=>{n.d(t,{z:()=>b});var r=n(8674),i=n(47800),o=n(53967),s=n(73480),a=n(7152),c=n(82275),u=n(9270),l=n(47248),f=n(27905),h=n(68762),d=n(47282),p=function(){function e(e){var t=e.batchDebounce,n=e.batchInterval,r=e.batchMax,i=e.batchHandler,o=e.batchKey;this.batchesByKey=new Map,this.scheduledBatchTimerByKey=new Map,this.batchDebounce=t,this.batchInterval=n,this.batchMax=r||0,this.batchHandler=i,this.batchKey=o||function(){return""}}return e.prototype.enqueueRequest=function(e){var t=this,n=(0,r.Cl)((0,r.Cl)({},e),{next:[],error:[],complete:[],subscribers:new Set}),i=this.batchKey(e.operation);return n.observable||(n.observable=new c.c((function(e){var r=t.batchesByKey.get(i);r||t.batchesByKey.set(i,r=new Set);var o=0===r.size,s=0===n.subscribers.size;return n.subscribers.add(e),s&&r.add(n),e.next&&n.next.push(e.next.bind(e)),e.error&&n.error.push(e.error.bind(e)),e.complete&&n.complete.push(e.complete.bind(e)),(o||t.batchDebounce)&&t.scheduleQueueConsumption(i),r.size===t.batchMax&&t.consumeQueue(i),function(){var o;n.subscribers.delete(e)&&n.subscribers.size<1&&r.delete(n)&&r.size<1&&(t.consumeQueue(i),null===(o=r.subscription)||void 0===o||o.unsubscribe())}}))),n.observable},e.prototype.consumeQueue=function(e){void 0===e&&(e="");var t=this.batchesByKey.get(e);if(this.batchesByKey.delete(e),t&&t.size){var n=[],r=[],i=[],o=[],s=[],a=[];t.forEach((function(e){n.push(e.operation),r.push(e.forward),i.push(e.observable),o.push(e.next),s.push(e.error),a.push(e.complete)}));var u=this.batchHandler(n,r)||c.c.of(),l=function(e){s.forEach((function(t){t&&t.forEach((function(t){return t(e)}))}))};return t.subscription=u.subscribe({next:function(e){if(Array.isArray(e)||(e=[e]),o.length!==e.length){var t=new Error("server returned results with length ".concat(e.length,", expected length of ").concat(o.length));return t.result=e,l(t)}e.forEach((function(e,t){o[t]&&o[t].forEach((function(t){return t(e)}))}))},error:l,complete:function(){a.forEach((function(e){e&&e.forEach((function(e){return e()}))}))}}),i}},e.prototype.scheduleQueueConsumption=function(e){var t=this;clearTimeout(this.scheduledBatchTimerByKey.get(e)),this.scheduledBatchTimerByKey.set(e,setTimeout((function(){t.consumeQueue(e),t.scheduledBatchTimerByKey.delete(e)}),this.batchInterval))},e}(),v=function(e){function t(t){var n=e.call(this)||this,r=t||{},i=r.batchDebounce,o=r.batchInterval,s=void 0===o?10:o,a=r.batchMax,c=void 0===a?0:a,u=r.batchHandler,l=void 0===u?function(){return null}:u,f=r.batchKey,h=void 0===f?function(){return""}:f;return n.batcher=new p({batchDebounce:i,batchInterval:s,batchMax:c,batchHandler:l,batchKey:h}),t.batchHandler.length<=1&&(n.request=function(e){return n.batcher.enqueueRequest({operation:e})}),n}return(0,r.C6)(t,e),t.prototype.request=function(e,t){return this.batcher.enqueueRequest({operation:e,forward:t})},t}(i.C),y=n(44890),m=(0,o.no)((function(){return fetch})),b=function(e){function t(t){var n=e.call(this)||this,i=t||{},p=i.uri,b=void 0===p?"/graphql":p,g=i.fetch,E=i.print,T=void 0===E?l.i1:E,O=i.includeExtensions,C=i.preserveHeaderCase,I=i.batchInterval,k=i.batchDebounce,S=i.batchMax,N=i.batchKey,D=i.includeUnusedVariables,w=void 0!==D&&D,x=(0,r.Tt)(i,["uri","fetch","print","includeExtensions","preserveHeaderCase","batchInterval","batchDebounce","batchMax","batchKey","includeUnusedVariables"]);var _={http:{includeExtensions:O,preserveHeaderCase:C},options:x.fetchOptions,credentials:x.credentials,headers:x.headers};n.batchDebounce=k,n.batchInterval=I||10,n.batchMax=S||10;return N=N||function(e){var t=e.getContext(),n={http:t.http,options:t.fetchOptions,credentials:t.credentials,headers:t.headers};return(0,f.z)(e,b)+JSON.stringify(n)},n.batcher=new v({batchDebounce:n.batchDebounce,batchInterval:n.batchInterval,batchMax:n.batchMax,batchKey:N,batchHandler:function(e){var t=(0,f.z)(e[0],b),n=e[0].getContext(),i={};if(n.clientAwareness){var p=n.clientAwareness,v=p.name,E=p.version;v&&(i["apollographql-client-name"]=v),E&&(i["apollographql-client-version"]=E)}var O={http:n.http,options:n.fetchOptions,credentials:n.credentials,headers:(0,r.Cl)((0,r.Cl)({},i),n.headers)},C=e.map((function(e){var t=e.query;return(0,s.d8)(["client"],t)?(0,a.er)(t):t}));if(C.some((function(e){return!e})))return(0,u.N)(new Error("BatchHttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or enable the `transformOptions.removeClientFields` option."));var I,k=e.map((function(e,t){var n=(0,l.HY)((0,r.Cl)((0,r.Cl)({},e),{query:C[t]}),T,l.R4,_,O);return n.body.variables&&!w&&(n.body.variables=(0,y.X)(n.body.variables,e.query)),n})),S=k.map((function(e){return e.body})),N=k[0].options;if("GET"===N.method)return(0,u.N)(new Error("apollo-link-batch-http does not support GET requests"));try{N.body=(0,h.Y)(S,"Payload")}catch(D){return(0,u.N)(D)}return N.signal||"undefined"===typeof AbortController||(I=new AbortController,N.signal=I.signal),new c.c((function(n){return(g||(0,o.no)((function(){return fetch}))||m)(t,N).then((function(t){return e.forEach((function(e){return e.setContext({response:t})})),t})).then((0,d.OQ)(e)).then((function(e){return I=void 0,n.next(e),n.complete(),e})).catch((function(e){I=void 0,e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e)})),function(){I&&I.abort()}}))}}),n}return(0,r.C6)(t,e),t.prototype.request=function(e){return this.batcher.request(e)},t}(i.C)},69222:(e,t,n)=>{n.d(t,{o:()=>s});var r=n(8674),i=n(47800),o=n(82275);function s(e){return new i.C((function(t,n){var i=(0,r.Tt)(t,[]);return new o.c((function(r){var o,s=!1;return Promise.resolve(i).then((function(n){return e(n,t.getContext())})).then(t.setContext).then((function(){s||(o=n(t).subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}))}
1)).catch(r.error.bind(r)),function(){s=!0,o&&o.unsubscribe()}}))}))}},47800:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(53967),i=n(82275),o=n(8674);var s=n(97994);function a(e,t){return t?t(e):i.c.of()}function c(e){return"function"===typeof e?new l(e):e}function u(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return i.c.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var o,s=c(n),l=c(r||new e(a));return o=u(s)&&u(l)?new e((function(e){return t(e)?s.request(e)||i.c.of():l.request(e)||i.c.of()})):new e((function(e,n){return t(e)?s.request(e,n)||i.c.of():l.request(e,n)||i.c.of()})),Object.assign(o,{left:s,right:l})},e.execute=function(e,t){return e.request(function(e,t){var n=(0,o.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"===typeof e?(0,o.Cl)((0,o.Cl)({},n),e(n)):(0,o.Cl)((0,o.Cl)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},n)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?(0,s.n4)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];if(t.indexOf(o)<0)throw(0,r.vA)(44,o)}return e}(t))))||i.c.of()},e.concat=function(t,n){var r=c(t);if(u(r))return r;var o,s=c(n);return o=u(s)?new e((function(e){return r.request(e,(function(e){return s.request(e)||i.c.of()}))||i.c.of()})):new e((function(e,t){return r.request(e,(function(e){return s.request(e,t)||i.c.of()}))||i.c.of()})),Object.assign(o,{left:r,right:s})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(a)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r.vA)(37)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},43726:(e,t,n)=>{n.d(t,{H:()=>r});var r=n(47800).C.from},15680:(e,t,n)=>{n.d(t,{l:()=>r});var r=n(47800).C.split},69007:(e,t,n)=>{n.d(t,{S:()=>s});var r=n(8674),i=n(82275),o=n(47800);function s(e){return new o.C((function(t,n){return new i.c((function(r){var i,o,s;try{i=n(t).subscribe({next:function(i){i.errors&&(s=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))?o=s.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function(i){(s=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:n}))?o=s.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function(){s||r.complete.bind(r)()}})}catch(a){e({networkError:a,operation:t,forward:n}),r.error(a)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}!function(e){function t(t){var n=e.call(this)||this;return n.link=s(t),n}(0,r.C6)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(o.C)},55462:(e,t,n)=>{n.d(t,{$:()=>m});var r=n(8674),i=n(53967),o=n(47800),s=n(73480),a=n(82275),c=n(68762),u=n(27905),l=n(47282),f=n(47248);var h=n(9270),d=n(44890),p=n(7152),v=n(97994),y=(0,i.no)((function(){return fetch})),m=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,m=e.fetch,b=e.print,g=void 0===b?f.i1:b,E=e.includeExtensions,T=e.preserveHeaderCase,O=e.useGETForQueries,C=e.includeUnusedVariables,I=void 0!==C&&C,k=(0,r.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);var S={http:{includeExtensions:E,preserveHeaderCase:T},options:k.fetchOptions,credentials:k.credentials,headers:k.headers};return new o.C((function(e){var t=(0,u.z)(e,n),o=e.getContext(),b={};if(o.clientAwareness){var E=o.clientAwareness,T=E.name,C=E.version;T&&(b["apollographql-client-name"]=T),C&&(b["apollographql-client-version"]=C)}var k=(0,r.Cl)((0,r.Cl)({},b),o.headers),N={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:k};if((0,s.d8)(["client"],e.query)){var D=(0,p.er)(e.query);if(!D)return(0,h.N)(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=D}var w,x=(0,f.HY)(e,g,f.R4,S,N),_=x.options,A=x.body;A.variables&&!I&&(A.variables=(0,d.X)(A.variables,e.query)),_.signal||"undefined"===typeof AbortController||(w=new AbortController,_.signal=w.signal);var R,F="OperationDefinition"===(R=(0,v.Vn)(e.query)).kind&&"subscription"===R.operation,P=(0,s.d8)(["defer"],e.query);if(O&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(_.method="GET"),P||F){_.headers=_.headers||{};var M="multipart/mixed;";F?M+="boundary=graphql;subscriptionSpec=1.0,application/json":P&&(M+="deferSpec=20220824,application/json"),_.headers.accept=M}if("GET"===_.method){var L=function(e,t){var n=[],r=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=(0,c.Y)(t.variables,"Variables map")}catch(V){return{parseError:V}}r("variables",i)}if(t.extensions){var o=void 0;try{o=(0,c.Y)(t.extensions,"Extensions map")}catch(V){return{parseError:V}}r("extensions",o)}var s="",a=e,u=e.indexOf("#");-1!==u&&(s=e.substr(u),a=e.substr(0,u));var l=-1===a.indexOf("?")?"?":"&";return{newURI:a+l+n.join("&")+s}}(t,A),j=L.newURI,V=L.parseError;if(V)return(0,h.N)(V);t=j}else try{_.body=(0,c.Y)(A,"Payload")}catch(V){return(0,h.N)(V)}return new a.c((function(n){var r=m||(0,i.no)((function(){return fetch}))||y,o=n.next.bind(n);return r(t,_).then((function(t){var n;e.setContext({response:t});var r=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==r&&/^multipart\/mixed/i.test(r)?(0,l.tD)(t,o):(0,l.OQ)(e)(t).then(o)})).then((function(){w=void 0,n.complete()}
1)).catch((function(e){w=void 0,(0,l.H4)(e,n)})),function(){w&&w.abort()}}))}))}},47282:(e,t,n)=>{n.d(t,{H4:()=>v,OQ:()=>y,tD:()=>h});var r=n(8674),i=n(98985);function o(e){var t=null,n=null,r=!1,o=[],s=[];function a(e){if(!n){if(s.length){var t=s.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function c(e){n=e,s.slice().forEach((function(t){t[1](e)})),!t||t()}function u(){r=!0,s.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",c),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",c),e.on("end",u),e.on("finish",u),e.on("close",u);var l={next:function(){return new Promise((function(e,t){return n?t(n):o.length?e({value:o.shift(),done:!1}):r?e({value:void 0,done:!0}):void s.push([e,t])}))}};return i.uJ&&(l[Symbol.asyncIterator]=function(){return this}),l}function s(e){var t={next:function(){return e.read()}};return i.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}function a(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!i.uJ||!e[Symbol.asyncIterator])}(t))return function(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}(t);if(function(e){return!!e.getReader}(t))return s(t.getReader());if(function(e){return!!e.stream}(t))return s(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return function(e){var t=!1,n={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,n){e.then((function(e){t({value:e,done:!1})})).catch(n)})))}};return i.uJ&&(n[Symbol.asyncIterator]=function(){return this}),n}(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return o(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var c=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},u=n(50097),l=n(81819),f=Object.prototype.hasOwnProperty;function h(e,t){return(0,r.sH)(this,void 0,void 0,(function(){var n,i,o,s,c,f,h,v,y,m,b,g,E,T,O,C,I,k,S,N,D,w,x,_;return(0,r.YH)(this,(function(A){switch(A.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),i=null===(_=e.headers)||void 0===_?void 0:_.get("content-type"),o="boundary=",s=(null===i||void 0===i?void 0:i.includes(o))?null===i||void 0===i?void 0:i.substring((null===i||void 0===i?void 0:i.indexOf(o))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",c="\r\n--".concat(s),f="",h=a(e),v=!0,A.label=1;case 1:return v?[4,h.next()]:[3,3];case 2:for(y=A.sent(),m=y.value,b=y.done,g="string"===typeof m?m:n.decode(m),E=f.length-c.length+1,v=!b,T=(f+=g).indexOf(c,E);T>-1;){if(O=void 0,w=[f.slice(0,T),f.slice(T+c.length)],f=w[1],C=(O=w[0]).indexOf("\r\n\r\n"),I=d(O.slice(0,C)),(k=I["content-type"])&&-1===k.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(S=O.slice(C))if(N=p(e,S),Object.keys(N).length>1||"data"in N||"incremental"in N||"errors"in N||"payload"in N)if((0,l.Nw)(N)){if(D={},"payload"in N){if(1===Object.keys(N).length&&null===N.payload)return[2];D=(0,r.Cl)({},N.payload)}"errors"in N&&(D=(0,r.Cl)((0,r.Cl)({},D),{extensions:(0,r.Cl)((0,r.Cl)({},"extensions"in D?D.extensions:null),(x={},x[u.K$]=N.errors,x))})),t(D)}else t(N);else if(1===Object.keys(N).length&&"hasNext"in N&&!N.hasNext)return[2];T=f.indexOf(c)}return[3,1];case 3:return[2]}}
1))}))}function d(e){var t={};return e.split("\n").forEach((function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}})),t}function p(e,t){if(e.status>=300){c(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(r){var n=r;throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function v(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function y(e){return function(t){return t.text().then((function(e){return p(t,e)})).then((function(n){return Array.isArray(n)||f.call(n,"data")||f.call(n,"errors")||c(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),n}))}}},47248:(e,t,n)=>{n.d(t,{HY:()=>a,R4:()=>o,i1:()=>s});var r=n(8674),i=n(74591),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},s=function(e,t){return t(e)};function a(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var s={},a={};n.forEach((function(e){s=(0,r.Cl)((0,r.Cl)((0,r.Cl)({},s),e.options),{headers:(0,r.Cl)((0,r.Cl)({},s.headers),e.headers)}),e.credentials&&(s.credentials=e.credentials),a=(0,r.Cl)((0,r.Cl)({},a),e.http)})),s.headers&&(s.headers=function(e,t){if(!t){var n={};
1return Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]=e[t]})),n}var r={};Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}}));var i={};return Object.keys(r).forEach((function(e){i[r[e].originalName]=r[e].value})),i}(s.headers,a.preserveHeaderCase));var c=e.operationName,u=e.extensions,l=e.variables,f=e.query,h={operationName:c,variables:l};return a.includeExtensions&&(h.extensions=u),a.includeQuery&&(h.query=t(f,i.y)),{options:s,body:h}}},27905:(e,t,n)=>{n.d(t,{z:()=>r});var r=function(e,t){var n=e.getContext().uri;return n||("function"===typeof t?t(e):t||"/graphql")}},68762:(e,t,n)=>{n.d(t,{Y:()=>i});var r=n(53967),i=function(e,t){var n;try{n=JSON.stringify(e)}catch(o){var i=(0,r.vA)(40,t,o.message);throw i.parseError=o,i}return n}},88097:(e,t,n)=>{n.d(t,{e:()=>p});var r=n(8674),i=n(53967),o=n(74591),s=n(47800),a=n(16002),c=n(85275),u=n(82275),l=n(68233),f=n(7970);function h(e){var t=Object.create(null),n=Object.create(null);return(0,a.E)(e)&&e.forEach((function(e){var r;t[e.message]=e,"string"==typeof(null===(r=e.extensions)||void 0===r?void 0:r.code)&&(n[e.extensions.code]=e)})),{persistedQueryNotSupported:!(!t.PersistedQueryNotSupported&&!n.PERSISTED_QUERY_NOT_SUPPORTED),persistedQueryNotFound:!(!t.PersistedQueryNotFound&&!n.PERSISTED_QUERY_NOT_FOUND)}}var d={disable:function(e){return e.meta.persistedQueryNotSupported},retry:function(e){var t=e.meta;return t.persistedQueryNotSupported||t.persistedQueryNotFound},useGETForHashedQueries:!1};var p=function(e){var t;function n(){t=void 0}(0,i.V1)(e&&("function"===typeof e.sha256||"function"===typeof e.generateHash),41);var p=(0,c.o)(d,e),v=p.sha256,y=p.generateHash,m=void 0===y?function(e){return Promise.resolve(v((0,o.y)(e)))}:y,b=p.disable,g=p.retry,E=p.useGETForHashedQueries,T=!0,O=function(e){return new Promise((function(t){return t(m(e))}))};return Object.assign(new s.C((function(e,o){(0,i.V1)(o,42);var s=e.query;return new u.c((function(i){var c,u,d=!1,p=!1,v=function(t,r){var i=t.response,s=t.networkError;if(!d&&(i&&i.errors||s)){d=!0;var l=[],f=i&&i.errors;(0,a.E)(f)&&l.push.apply(l,f);var v=void 0;"string"!==typeof(null===s||void 0===s?void 0:s.result)&&(v=s&&s.result&&s.result.errors),(0,a.E)(v)&&l.push.apply(l,v);var m={response:i,networkError:s,operation:e,graphQLErrors:(0,a.E)(l)?l:void 0,meta:h(l)};if((T=!b(m))||n(),g(m))return c&&c.unsubscribe(),e.setContext({http:{includeQuery:!0,includeExtensions:T},fetchOptions:{method:"POST"}}),p&&e.setContext({fetchOptions:u}),void(c=o(e).subscribe(y))}r()},y={next:function(e){v({response:e},(function(){return i.next(e)}))},error:function(e){v({networkError:e},(function(){return i.error(e)}))},complete:i.complete.bind(i)};return e.setContext({http:{includeQuery:!T,includeExtensions:T}}),E&&T&&!function(e){return e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))}(e)&&(e.setContext((function(e){var t=e.fetchOptions,n=void 0===t?{}:t;return u=n,{fetchOptions:(0,r.Cl)((0,r.Cl)({},n),{method:"GET"})}})),p=!0),T?function(e){if(!e||"object"!==typeof e)return O(e);t||(t=new l.A(f.v["PersistedQueryLink.persistedQueryHashes"]||2e3));var n=t.get(e);return n||t.set(e,n=O(e)),n}(s).then((function(t){e.extensions.persistedQuery={version:1,sha256Hash:t},c=o(e).subscribe(y)})).catch(i.error.bind(i)):c=o(e).subscribe(y),function(){c&&c.unsubscribe()}}))})),{resetHashCache:n},{})}},76719:(e,t,n)=>{n.d(t,{z:()=>a});var r=n(8674),i=n(47800),o=n(82275);var s=function(){function e(e,t,n,i,o){var s=this;this.observer=e,this.operation=t,this.forward=n,this.delayFor=i,this.retryIf=o,this.retryCount=0,this.currentSubscription=null,this.onError=function(e){return(0,r.sH)(s,void 0,void 0,(function(){return(0,r.YH)(this,(function(t){switch(t.label){case 0:return this.retryCount+=1,[4,this.retryIf(this.retryCount,this.operation,e)];case 1:return t.sent()?(this.scheduleRetry(this.delayFor(this.retryCount,this.operation,e)),[2]):(this.observer.error(e),[2])}}))}))},this.try()}return e.prototype.cancel=function(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null},e.prototype.try=function(){this.currentSubscription=this.forward(this.operation).subscribe({next:this.observer.next.bind(this.observer),error:this.onError,complete:this.observer.complete.bind(this.observer)})},e.prototype.scheduleRetry=function(e){var t=this;if(this.timerId)throw new Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout((function(){t.timerId=void 0,t.try()}),e)},e}(),a=function(e){function t(t){var n=e.call(this)||this,r=t||{},i=r.attempts,o=r.delay;return n.delayFor="function"===typeof o?o:function(e){var t=e||{},n=t.initial,r=void 0===n?300:n,i=t.jitter,o=void 0===i||i,s=t.max,a=void 0===s?1/0:s,c=o?r:r/2;return function(e){var t=Math.min(a,c*Math.pow(2,e));return o&&(t=Math.random()*t),t}}(o),n.retryIf="function"===typeof i?i:function(e){var t=e||{},n=t.retryIf,r=t.max,i=void 0===r?5:r;return function(e,t,r){return!(e>=i)&&(n?n(r,t):!!r)}}(i),n}return(0,r.C6)(t,e),t.prototype.request=function(e,t){var n=this;return new o.c((function(r){var i=new s(r,e,t,n.delayFor,n.retryIf);return function(){i.cancel()}}))},t}(i.C)},44890:(e,t,n)=>{n.d(t,{X:()=>o});var r=n(8674),i=n(11786);function o(e,t){var n=(0,r.Cl)({},e),o=new Set(Object.keys(e));return(0,i.YR)(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&o.delete(e.name.value)}}),o.forEach((function(e){delete n[e]})),n}},9270:(e,t,n)=>{n.d(t,{N:()=>i});var r=n(82275);function i(e){return new r.c((function(t){t.error(e)}))}},22107:(e,t,n)=>{var r;n.d(t,{l:()=>c});var i=n(70435),o=n(98985),s=n(53967),a=o.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function c(){(0,s.V1)("createContext"in(r||(r=n.t(i,2))),46);var e=i.createContext[a];return e||(Object.defineProperty(i.createContext,a,{value:e=i.createContext({}
1),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},78939:(e,t,n)=>{n.d(t,{X:()=>a});var r=n(8674),i=n(53967),o=n(70435),s=n(22107),a=function(e){var t=e.client,n=e.children,a=(0,s.l)(),c=o.useContext(a),u=o.useMemo((function(){return(0,r.Cl)((0,r.Cl)({},c),{client:t||c.client})}),[c,t]);return(0,i.V1)(u.client,47),o.createElement(a.Provider,{value:u},n)}},81831:(e,t,n)=>{n.d(t,{E:()=>i});var r=n(70435),i=n(98985).Sw?r.useLayoutEffect:r.useEffect},92801:(e,t,n)=>{n.d(t,{m:()=>s});var r=n(53967),i=n(70435),o=n(22107);function s(e){var t=i.useContext((0,o.l)()),n=e||t.client;return(0,r.V1)(!!n,50),n}},48871:(e,t,n)=>{n.d(t,{_:()=>u});var r=n(8674),i=n(70435),o=n(71866),s=n(60301),a=n(81831),c=["refetch","reobserve","fetchMore","updateQuery","startPolling","stopPolling","subscribeToMore"];function u(e,t){var n,u=i.useRef(),l=i.useRef(),f=i.useRef(),h=(0,o.l)(t,u.current||{}),d=null!==(n=null===h||void 0===h?void 0:h.query)&&void 0!==n?n:e;l.current=t,f.current=d;var p=(0,r.Cl)((0,r.Cl)({},h),{skip:!u.current}),v=(0,s.SX)(d,p),y=v.obsQueryFields,m=v.result,b=v.client,g=v.resultData,E=v.observable,T=v.onQueryExecuted,O=E.options.initialFetchPolicy||(0,s.kk)(p.defaultOptions,b.defaultOptions),C=i.useReducer((function(e){return e+1}),0)[1],I=i.useMemo((function(){for(var e={},t=function(t){var n=y[t];e[t]=function(){return u.current||(u.current=Object.create(null),C()),n.apply(this,arguments)}},n=0,r=c;n<r.length;n++){t(r[n])}return e}),[C,y]),k=!!u.current,S=i.useMemo((function(){return(0,r.Cl)((0,r.Cl)((0,r.Cl)({},m),I),{called:k})}),[m,I,k]),N=i.useCallback((function(e){u.current=e?(0,r.Cl)((0,r.Cl)({},e),{fetchPolicy:e.fetchPolicy||O}):{fetchPolicy:O};var t=(0,o.l)(l.current,(0,r.Cl)({query:f.current},u.current)),n=function(e,t,n,r,i,o){var a=i.query||r,c=(0,s.Er)(n,a,i,!1)(t),u=t.reobserveAsConcast((0,s.t_)(t,n,i,c));return o(c),new Promise((function(r){var i;u.subscribe({next:function(e){i=e},error:function(){r((0,s.$X)(t.getCurrentResult(),e.previousData,t,n))},complete:function(){r((0,s.$X)(i,e.previousData,t,n))}})}))}(g,E,b,d,(0,r.Cl)((0,r.Cl)({},t),{skip:!1}),T).then((function(e){return Object.assign(e,I)}));return n.catch((function(){})),n}),[b,d,I,O,E,g,T]),D=i.useRef(N);(0,a.E)((function(){D.current=N}));var w=i.useCallback((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return D.current.apply(D,e)}),[]);return[w,S]}},74910:(e,t,n)=>{n.d(t,{n:()=>f});var r=n(8674),i=n(70435),o=n(71866),s=n(54275),a=n(68949),c=n(50097),u=n(92801),l=n(81831);function f(e,t){var n=(0,u.m)(null===t||void 0===t?void 0:t.client);(0,a.D$)(e,a.KG.Mutation);var f=i.useState({called:!1,loading:!1,client:n}),h=f[0],d=f[1],p=i.useRef({result:h,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});(0,l.E)((function(){Object.assign(p.current,{client:n,options:t,mutation:e})}));var v=i.useCallback((function(e){void 0===e&&(e={});var t=p.current,n=t.options,i=t.mutation,a=(0,r.Cl)((0,r.Cl)({},n),{mutation:i}),u=e.client||p.current.client;p.current.result.loading||a.ignoreResults||!p.current.isMounted||d(p.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:u});var l=++p.current.mutationId,f=(0,o.l)(a,e);return u.mutate(f).then((function(t){var n,r,i=t.data,o=t.errors,a=o&&o.length>0?new c.K4({graphQLErrors:o}):void 0,h=e.onError||(null===(n=p.current.options)||void 0===n?void 0:n.onError);if(a&&h&&h(a,f),l===p.current.mutationId&&!f.ignoreResults){var v={called:!0,loading:!1,data:i,error:a,client:u};p.current.isMounted&&!(0,s.L)(p.current.result,v)&&d(p.current.result=v)}var y=e.onCompleted||(null===(r=p.current.options)||void 0===r?void 0:r.onCompleted);return a||null===y||void 0===y||y(t.data,f),t})).catch((function(t){var n;if(l===p.current.mutationId&&p.current.isMounted){var r={loading:!1,error:t,data:void 0,called:!0,client:u};(0,s.L)(p.current.result,r)||d(p.current.result=r)}var i=e.onError||(null===(n=p.current.options)||void 0===n?void 0:n.onError);if(i)return i(t,f),{data:void 0,errors:t};throw t}))}),[]),y=i.useCallback((function(){if(p.current.isMounted){var e={called:!1,loading:!1,client:p.current.client};Object.assign(p.current,{mutationId:0,result:e}),d(e)}}),[]);return i.useEffect((function(){var e=p.current;return e.isMounted=!0,function(){e.isMounted=!1}}),[]),[v,(0,r.Cl)({reset:y},h)]}},60301:(e,t,n)=>{n.d(t,{Er:()=>S,kk:()=>x,t_:()=>N,$X:()=>_,IT:()=>C,SX:()=>k});var r=n(8674),i=(n(53967),n(70435)),o=n.t(i,2),s=n(98985),a=o.useSyncExternalStore||function(e,t,n){var r=t();var o=i.useState({inst:{value:r,getSnapshot:t}}),a=o[0].inst,u=o[1];return s.JR?i.useLayoutEffect((function(){Object.assign(a,{value:r,getSnapshot:t}),c(a)&&u({inst:a})}),[e,r,t]):Object.assign(a,{value:r,getSnapshot:t}),i.useEffect((function(){return c(a)&&u({inst:a}),e((function(){c(a)&&u({inst:a})}))}),[e]),r};function c(e){var t=e.value,n=e.getSnapshot;try{return t!==n()}catch(r){return!0}}var u=n(54275),l=n(71866),f=n(22107),h=n(50097),d=n(43933),p=n(68949),v=n(92801),y=n(85275),m=n(16002),b=n(40291),g=Symbol.for("apollo.hook.wrappers");var E=Object.prototype.hasOwnProperty;function T(){}var O=Symbol();function C(e,t){return void 0===t&&(t=Object.create(null)),function(e,t,n){var r=n.queryManager,i=r&&r[g],o=i&&i[e];return o?o(t):t}("useQuery",I,(0,v.m)(t&&t.client))(e,t)}function I(e,t){var n=k(e,t),o=n.result,s=n.obsQueryFields;return i.useMemo((function(){return(0,r.Cl)((0,r.Cl)({},o),s)}),[o,s])}function k(e,t){var n=(0,v.m)(t.client),o=i.useContext((0,f.l)()).renderPromises,s=!!o,c=n.disableNetworkFetches,l=!1!==t.ssr&&!t.skip,h=t.partialRefetch,y=S(n,e,t,s),m=function(e,t,n,o,s){function a(r){var i;return(0,p.D$)(t,p.KG.Query),{client:e,query:t,observable:o&&o.getSSRObservable(s())||e.watchQuery(N(void 0,e,n,s())
1),resultData:{previousData:null===(i=null===r||void 0===r?void 0:r.resultData.current)||void 0===i?void 0:i.data}}}var c=i.useState(a),u=c[0],l=c[1];function f(e){var t,n;Object.assign(u.observable,((t={})[O]=e,t));var i=u.resultData;l((0,r.Cl)((0,r.Cl)({},u),{query:e.query,resultData:Object.assign(i,{previousData:(null===(n=i.current)||void 0===n?void 0:n.data)||i.previousData,current:void 0})}))}if(e!==u.client||t!==u.query){var h=a(u);return l(h),[h,f]}return[u,f]}(n,e,t,o,y),b=m[0],g=b.observable,C=b.resultData,I=m[1],k=y(g);!function(e,t,n,r,i){var o;t[O]&&!(0,u.L)(t[O],i)&&(t.reobserve(N(t,n,r,i)),e.previousData=(null===(o=e.current)||void 0===o?void 0:o.data)||e.previousData,e.current=void 0);t[O]=i}(C,g,n,t,k);var x=i.useMemo((function(){return function(e){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}(g)}),[g]);!function(e,t,n){t&&n&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}(g,o,l);var F=function(e,t,n,r,o,s,c,l,f){var h=i.useRef(f);i.useEffect((function(){h.current=f}));var p=!l&&!s||!1!==r.ssr||r.skip?r.skip||"standby"===o.fetchPolicy?R:void 0:A,v=e.previousData,y=i.useMemo((function(){return p&&_(p,v,t,n)}),[n,t,p,v]);return a(i.useCallback((function(r){if(l)return function(){};var i=function(){var i=e.current,o=t.getCurrentResult();i&&i.loading===o.loading&&i.networkStatus===o.networkStatus&&(0,u.L)(i.data,o.data)||D(o,e,t,n,c,r,h.current)},o=function(a){if(s.current.unsubscribe(),s.current=t.resubscribeAfterError(i,o),!E.call(a,"graphQLErrors"))throw a;var l=e.current;(!l||l&&l.loading||!(0,u.L)(a,l.error))&&D({data:l&&l.data,error:a,loading:!1,networkStatus:d.pT.error},e,t,n,c,r,h.current)},s={current:t.subscribe(i,o)};return function(){setTimeout((function(){return s.current.unsubscribe()}))}}),[s,l,t,e,c,n]),(function(){return y||w(e,t,h.current,c,n)}),(function(){return y||w(e,t,h.current,c,n)}))}(C,g,n,t,k,c,h,s,{onCompleted:t.onCompleted||T,onError:t.onError||T});return{result:F,obsQueryFields:x,observable:g,resultData:C,client:n,onQueryExecuted:I}}function S(e,t,n,i){void 0===n&&(n={});var o=n.skip,s=(n.ssr,n.onCompleted,n.onError,n.defaultOptions),a=(0,r.Tt)(n,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(n){var r=Object.assign(a,{query:t});return!i||"network-only"!==r.fetchPolicy&&"cache-and-network"!==r.fetchPolicy||(r.fetchPolicy="cache-first"),r.variables||(r.variables={}),o?(r.initialFetchPolicy=r.initialFetchPolicy||r.fetchPolicy||x(s,e.defaultOptions),r.fetchPolicy="standby"):r.fetchPolicy||(r.fetchPolicy=(null===n||void 0===n?void 0:n.options.initialFetchPolicy)||x(s,e.defaultOptions)),r}}function N(e,t,n,r){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),n.defaultOptions&&i.push(n.defaultOptions),i.push((0,y.o)(e&&e.options,r)),i.reduce(l.l)}function D(e,t,n,i,o,s,a){var c=t.current;c&&c.data&&(t.previousData=c.data),!e.error&&(0,m.E)(e.errors)&&(e.error=new h.K4({graphQLErrors:e.errors})),t.current=_(function(e,t,n){if(e.partial&&n&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==t.options.fetchPolicy)return t.refetch(),(0,r.Cl)((0,r.Cl)({},e),{loading:!0,networkStatus:d.pT.refetch});return e}(e,n,o),t.previousData,n,i),s(),function(e,t,n){if(!e.loading){var r=function(e){return(0,m.E)(e.errors)?new h.K4({graphQLErrors:e.errors}):e.error}(e);Promise.resolve().then((function(){r?n.onError(r):e.data&&t!==e.networkStatus&&e.networkStatus===d.pT.ready&&n.onCompleted(e.data)})).catch((function(e){}))}}(e,null===c||void 0===c?void 0:c.networkStatus,a)}function w(e,t,n,r,i){return e.current||D(t.getCurrentResult(),e,t,i,r,(function(){}),n),e.current}function x(e,t){var n;return(null===e||void 0===e?void 0:e.fetchPolicy)||(null===(n=null===t||void 0===t?void 0:t.watchQuery)||void 0===n?void 0:n.fetchPolicy)||"cache-first"}function _(e,t,n,i){var o=e.data,s=(e.partial,(0,r.Tt)(e,["data","partial"]));return(0,r.Cl)((0,r.Cl)({data:o},s),{client:i,observable:n,variables:n.variables,called:e!==A&&e!==R,previousData:t})}var A=(0,b.G)({loading:!0,data:void 0,error:void 0,networkStatus:d.pT.loading}),R=(0,b.G)({loading:!1,data:void 0,error:void 0,networkStatus:d.pT.ready})}
1,68949:(e,t,n)=>{n.d(t,{D$:()=>l,KG:()=>r});var r,i,o=n(53967),s=n(68233),a=n(7970);function c(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function u(e){i||(i=new s.A(a.v.parser||1e3));var t,n,c=i.get(e);if(c)return c;(0,o.V1)(!!e&&!!e.kind,62,e);for(var u=[],l=[],f=[],h=[],d=0,p=e.definitions;d<p.length;d++){var v=p[d];if("FragmentDefinition"!==v.kind){if("OperationDefinition"===v.kind)switch(v.operation){case"query":l.push(v);break;case"mutation":f.push(v);break;case"subscription":h.push(v)}}else u.push(v)}(0,o.V1)(!u.length||l.length||f.length||h.length,63),(0,o.V1)(l.length+f.length+h.length<=1,64,e,l.length,h.length,f.length),n=l.length?r.Query:r.Mutation,l.length||f.length||(n=r.Subscription);var y=l.length?l:f.length?f:h;(0,o.V1)(1===y.length,65,e,y.length);var m=y[0];t=m.variableDefinitions||[];var b={name:m.name&&"Name"===m.name.kind?m.name.value:"data",type:n,variables:t};return i.set(e,b),b}function l(e,t){var n=u(e),r=c(t),i=c(n.type);(0,o.V1)(n.type===t,66,r,r,i)}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(r||(r={})),u.resetCache=function(){i=void 0}},68233:(e,t,n)=>{n.d(t,{A:()=>a,V:()=>c});var r=n(44146),i=n(28349),o=new WeakSet;function s(e){e.size<=(e.max||-1)||o.has(e)||(o.add(e),setTimeout((function(){e.clean(),o.delete(e)}),100))}var a=function(e,t){var n=new r.l(e,t);return n.set=function(e,t){var n=r.l.prototype.set.call(this,e,t);return s(this),n},n},c=function(e,t){var n=new i.C(e,t);return n.set=function(e,t){var n=i.C.prototype.set.call(this,e,t);return s(this),n},n}},7970:(e,t,n)=>{n.d(t,{v:()=>s});var r=n(8674),i=n(53967),o=Symbol.for("apollo.cacheSize"),s=(0,r.Cl)({},i.Sf[o])},16002:(e,t,n)=>{n.d(t,{E:()=>i,c:()=>r});var r=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},98985:(e,t,n)=>{n.d(t,{En:()=>s,JR:()=>f,Sw:()=>u,et:()=>o,ol:()=>a,uJ:()=>c});var r=n(53967),i="ReactNative"==(0,r.no)((function(){return navigator.product})),o="function"===typeof WeakMap&&!(i&&!global.HermesInternal),s="function"===typeof WeakSet,a="function"===typeof Symbol&&"function"===typeof Symbol.for,c=a&&Symbol.asyncIterator,u="function"===typeof(0,r.no)((function(){return window.document.createElement})),l=(0,r.no)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,f=(u||i)&&!l},57479:(e,t,n)=>{n.d(t,{M:()=>s});var r,i=n(68233),o=n(7970),s=Object.assign((function(e){return JSON.stringify(e,a)}),{reset:function(){r=new i.V(o.v.canonicalStringify||1e3)}});function a(e,t){if(t&&"object"===typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),s=r.get(o);if(!s){i.sort();var a=JSON.stringify(i);s=r.get(a)||i,r.set(o,s),r.set(a,s)}var u=Object.create(n);return s.forEach((function(e){u[e]=t[e]})),u}}return t}function c(e,t,n){return 0===t||n[t-1]<=e}s.reset()},85275:(e,t,n)=>{function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))})),n}n.d(t,{o:()=>r})},81819:(e,t,n)=>{n.d(t,{Nw:()=>c,ST:()=>s,YX:()=>a,bd:()=>u});var r=n(88738),i=n(16002),o=n(98608);function s(e){return"incremental"in e}function a(e){return s(e)||function(e){return"hasNext"in e&&"data"in e}(e)}function c(e){return(0,r.U)(e)&&"payload"in e}function u(e,t){var n=e,r=new o.ZI;return s(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var s=i[o],a=!isNaN(+s)?[]:{};a[s]=t,t=a}n=r.merge(n,t)})),n}}
1,52652:(e,t,n)=>{n.d(t,{v:()=>i});var r=new Map;function i(e){var t=r.get(e)||1;return r.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},40291:(e,t,n)=>{function r(e){return e}n.d(t,{G:()=>r})},98608:(e,t,n)=>{n.d(t,{D9:()=>s,IM:()=>a,ZI:()=>u});var r=n(8674),i=n(88738),o=Object.prototype.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return a(e)}function a(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new u,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var c=function(e,t,n){return this.merge(e[n],t[n])},u=function(){function e(e){void 0===e&&(e=c),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,s=[],a=2;a<arguments.length;a++)s[a-2]=arguments[a];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach((function(i){if(o.call(e,i)){var a=e[i];if(t[i]!==a){var c=n.reconciler.apply(n,(0,r.fX)([e,t,i],s,!1));c!==a&&((e=n.shallowCopyForMerge(e))[i]=c)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,r.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},71866:(e,t,n)=>{n.d(t,{l:()=>o});var r=n(8674),i=n(85275);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,r.Cl)((0,r.Cl)({},e&&e.variables),t.variables))})}},88738:(e,t,n)=>{function r(e){return null!==e&&"object"===typeof e}n.d(t,{U:()=>r})},53967:(e,t,n)=>{n.d(t,{Sf:()=>p,V1:()=>m,no:()=>d,vA:()=>b});var r=n(8674),i="Invariant Violation",o=Object.setPrototypeOf,s=void 0===o?function(e,t){return e.__proto__=t,e}:o,a=function(e){function t(n){void 0===n&&(n=i);var r=e.call(this,"number"===typeof n?i+": "+n+" (see https://github.com/apollographql/invariant-packages)":n)||this;return r.framesToPop=1,r.name=i,s(r,t.prototype),r}return(0,r.C6)(t,e),t}(Error);function c(e,t){if(!e)throw new a(t)}var u=["debug","log","warn","error","silent"],l=u.indexOf("log");function f(e){return function(){if(u.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(c||(c={}));var h=n(5333);function d(e){try{return e()}catch(o){}}const p=d((function(){return globalThis}))||d((function(){return window}))||d((function(){return self}))||d((function(){return global}))||d((function(){return d.constructor("return this")()}));var v=n(52652);function y(e){return function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if("number"===typeof t){var i=t;(t=T(i))||(t=O(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var m=Object.assign((function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];e||c(e,T(t,n)||O(t,n))}),{debug:y(c.debug),log:y(c.log),warn:y(c.warn),error:y(c.error)});function b(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new a(T(e,t)||O(e,t))}var g=Symbol.for("ApolloErrorMessageHandler_"+h.r);function E(e){if("string"==typeof e)return e;try{return function(e,t){void 0===t&&(t=0);var n=(0,v.v)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?n:t}),t).split(JSON.stringify(n)).join("<undefined>")}(e,2).slice(0,1e3)}catch(o){return"<non-serializable>"}}function T(e,t){if(void 0===t&&(t=[]),e)return p[g]&&p[g](e,t.map(E))}function O(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:h.r,message:e,args:t.map(E)})))}},74487:(e,t,n)=>{n.d(t,{c:()=>f});var r=n(3567),i=n(98985),o=n(97994),s=n(53967),a=n(44146),c=n(39335),u=n(7970);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),Object.assign(new e((function(e){return(t(e)?n:r).transformDocument(e)}),{cache:!1}),{left:n,right:r})},e.prototype.resetCache=function(){var t=this;if(this.cached){var n=new r.b(i.et);this.performWork=(0,c.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,s.V1)(Array.isArray(r),69),n.lookupArray(r)},max:u.v["documentTransform.cache"],cache:a.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var n=this;return Object.assign(new e((function(e){return t.transformDocument(n.transformDocument(e))}
1),{cache:!1}),{left:this,right:t})},e}()},73480:(e,t,n)=>{n.d(t,{MS:()=>o,d8:()=>s,f2:()=>a});var r=n(53967),i=n(11786);function o(e,t){var n=e.directives;return!n||!n.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments,i=e.name.value;(0,r.V1)(n&&1===n.length,71,i);var o=n[0];(0,r.V1)(o.name&&"if"===o.name.value,72,i);var s=o.value;(0,r.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),73,i),t.push({directive:e,ifArgument:o})}}));return t}(n).every((function(e){var n=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,r.V1)(void 0!==o,70,n.name.value)):o=i.value.value,"skip"===n.name.value?!o:o}))}function s(e,t,n){var r=new Set(e),o=r.size;return(0,i.YR)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.sP}}),n?!r.size:r.size<o}function a(e){return e&&s(["client","export"],e,!0)}},11845:(e,t,n)=>{n.d(t,{HQ:()=>a,JG:()=>s,ct:()=>o});var r=n(8674),i=n(53967);function o(e,t){var n=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(74,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),"undefined"===typeof n&&((0,i.V1)(1===o.length,75,o.length),n=o[0].name.value),(0,r.Cl)((0,r.Cl)({},e),{definitions:(0,r.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function a(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"===typeof t)return t(n);var r=t&&t[n];return(0,i.V1)(r,76,n),r||null;default:return null}}},97994:(e,t,n)=>{n.d(t,{AT:()=>u,E4:()=>l,Vn:()=>f,Vu:()=>s,n4:()=>a,sw:()=>o,wY:()=>h,zK:()=>c});var r=n(53967),i=n(74048);function o(e){(0,r.V1)(e&&"Document"===e.kind,77);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,r.vA)(78,e.kind);return e}));return(0,r.V1)(t.length<=1,79,t.length),e}function s(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function a(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function c(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function u(e){var t=s(e);return(0,r.V1)(t&&"query"===t.operation,80),t}function l(e){(0,r.V1)("Document"===e.kind,81),(0,r.V1)(e.definitions.length<=1,82);var t=e.definitions[0];return(0,r.V1)("FragmentDefinition"===t.kind,83),t}function f(e){var t;o(e);for(var n=0,i=e.definitions;n<i.length;n++){var s=i[n];if("OperationDefinition"===s.kind){var a=s.operation;if("query"===a||"mutation"===a||"subscription"===a)return s}"FragmentDefinition"!==s.kind||t||(t=s)}if(t)return t;throw(0,r.vA)(84)}function h(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)})),t}},74591:(e,t,n)=>{n.d(t,{y:()=>a});var r,i=n(75148),o=n(68233),s=n(7970),a=Object.assign((function(e){var t=r.get(e);return t||(t=(0,i.y)(e),r.set(e,t)),t}),{reset:function(){r=new o.A(s.v.print||2e3)}});a.reset()},74048:(e,t,n)=>{n.d(t,{A_:()=>c,D$:()=>m,Ii:()=>f,J:()=>l,Kc:()=>u,MB:()=>v,WU:()=>a,dt:()=>b,kd:()=>g,o5:()=>p,ue:()=>y});var r=n(53967),i=n(88738),o=n(11845),s=n(57479);function a(e){return{__ref:String(e)}}function c(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function u(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,n,i){if(function(e){return"IntValue"===e.kind}(n)||function(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function(e){return"BooleanValue"===e.kind}(n)||function(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function(e){return"ObjectValue"===e.kind}(n)){var o={};n.fields.map((function(e){return l(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(n)){var s=(i||{})[n.name.value];e[t.value]=s}else if(function(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return l(n,t,e,i),n[t.value]}));else if(function(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function(e){return"NullValue"===e.kind}(n))throw(0,r.vA)(85,t.value,n.kind);e[t.value]=null}}function f(e,t){var n=null;e.directives&&(n={}
1,e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,o=r.value;return l(n[e.name.value],i,o,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return l(r,n,i,t)}))),p(e.name.value,r,n)}var h=["connection","include","skip","client","rest","export","nonreactive"],d=s.M,p=Object.assign((function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach((function(e){i[e]=t[e]})),"".concat(n.connection.key,"(").concat(d(i),")")}return n.connection.key}var o=e;if(t){var s=d(t);o+="(".concat(s,")")}return n&&Object.keys(n).forEach((function(e){-1===h.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(d(n[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=d;return d=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return l(n,r,i,t)})),n}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e,t,n){for(var r,i=0,s=t.selections;i<s.length;i++){if(b(u=s[i])){if("__typename"===u.name.value)return e[y(u)]}else r?r.push(u):r=[u]}if("string"===typeof e.__typename)return e.__typename;if(r)for(var a=0,c=r;a<c.length;a++){var u=c[a],l=m(e,(0,o.HQ)(u,n).selectionSet,n);if("string"===typeof l)return l}}function b(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},7152:(e,t,n)=>{n.d(t,{XY:()=>y,er:()=>b,iz:()=>v,zc:()=>m});var r=n(8674),i=(n(53967),n(73061)),o=n(11786),s=n(97994),a=n(74048),c=n(11845),u=n(16002),l={kind:i.b.FIELD,name:{kind:i.b.NAME,value:"__typename"}};function f(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===i.b.FRAGMENT_SPREAD&&f(t[e.name.value],t)}))}function h(e){return f((0,s.Vu)(e)||(0,s.E4)(e),(0,c.JG)((0,s.zK)(e)))?null:e}function d(e){var t=new Map,n=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&n.set(e.test,e))})),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach((function(t,n){n(e)&&(r=t)})),r}}function p(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function v(e,t){(0,s.sw)(t);for(var n=p(""),a=p(""),c=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,u.c)(r)){if(r.kind===i.b.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===i.b.FRAGMENT_DEFINITION)return a(r.name.value)}return null},l=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===i.b.OPERATION_DEFINITION&&++l;var v=d(e),y=function(e){return(0,u.E)(e)&&e.map(v).some((function(e){return e&&e.remove}))},m=new Map,b=!1,g={enter:function(e){if(y(e.directives))return b=!0,null}},E=(0,o.YR)(t,{Field:g,InlineFragment:g,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(y(e.directives))return b=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){m.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===m.get(JSON.stringify(r))?e:l>0&&e.selectionSet.selections.every((function(e){return e.kind===i.b.FIELD&&"__typename"===e.name.value}))?(a(e.name.value).removed=!0,b=!0,null):void 0}},Directive:{leave:function(e){if(v(e))return b=!0,null}}});if(!b)return t;var T=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){T(a(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},O=new Set;E.definitions.forEach((function(e){e.kind===i.b.OPERATION_DEFINITION?T(n(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){O.add(e)})):e.kind!==i.b.FRAGMENT_DEFINITION||0!==l||a(e.name.value).removed||O.add(e.name.value)})),O.forEach((function(e){T(a(e)).fragmentSpreads.forEach((function(e){O.add(e)}))}));
1var C={enter:function(e){if(t=e.name.value,!O.has(t)||a(t).removed)return null;var t}};return h((0,o.YR)(E,{FragmentSpread:C,FragmentDefinition:C,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=T(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.Cl)((0,r.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var y=Object.assign((function(e){return(0,o.YR)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==i.b.OPERATION_DEFINITION){var o=e.selections;if(o)if(!o.some((function(e){return(0,a.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var s=n;if(!((0,a.dt)(s)&&s.directives&&s.directives.some((function(e){return"export"===e.name.value}))))return(0,r.Cl)((0,r.Cl)({},e),{selections:(0,r.fX)((0,r.fX)([],o,!0),[l],!1)})}}}}})}),{added:function(e){return e===l}});function m(e){return"query"===(0,s.Vn)(e).operation?e:(0,o.YR)(e,{OperationDefinition:{enter:function(e){return(0,r.Cl)((0,r.Cl)({},e),{operation:"query"})}}})}function b(e){return(0,s.sw)(e),v([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},5333:(e,t,n)=>{n.d(t,{r:()=>r});var r="3.11.8"},28349:(e,t,n)=>{function r(){}n.d(t,{C:()=>i});class i{constructor(e=1/0,t=r){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{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){const 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)}}},44146:(e,t,n)=>{function r(){}n.d(t,{l:()=>c});const i=r,o="undefined"!==typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},s="undefined"!==typeof WeakMap?WeakMap:Map,a="undefined"!==typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}};class c{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new s,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const n=t.key;delete t.key,t.keyRef=new o(n),this.registry.register(n,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{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--;const 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){const 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))}}},54275:(e,t,n)=>{n.d(t,{A:()=>c,L:()=>a});const{toString:r,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,s=new Map;function a(e,t){try{return u(e,t)}finally{s.clear()}}const c=a;function u(e,t){if(e===t)return!0;const n=r.call(e);
1if(n!==r.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(d(e,t))return!0;const n=l(e),r=l(t),o=n.length;if(o!==r.length)return!1;for(let e=0;e<o;++e)if(!i.call(t,n[e]))return!1;for(let i=0;i<o;++i){const r=n[i];if(!u(e[r],t[r]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(d(e,t))return!0;const r=e.entries(),i="[object Map]"===n;for(;;){const e=r.next();if(e.done)break;const[n,o]=e.value;if(!t.has(n))return!1;if(i&&!u(o,t.get(n)))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]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let n=e.byteLength;if(n===t.byteLength)for(;n--&&e[n]===t[n];);return-1===n}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const n=o.call(e);return n===o.call(t)&&!function(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(n,h)}}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}const h="{ [native code] }";function d(e,t){let n=s.get(e);if(n){if(n.has(t))return!0}else s.set(e,n=new Set);return n.add(t),!1}},3567:(e,t,n)=>{n.d(t,{b:()=>a});const r=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class a{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),s.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=t.mapFor(e[n],!1);t=r&&r.get(e[n])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const n=e[0],r=this.mapFor(n,!1),i=r&&r.get(n);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||r.delete(n))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let n=t.get(e);return n||t.set(e,n=new a(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)}}},39335:(e,t,n)=>{n.d(t,{DX:()=>y,yN:()=>Q,LV:()=>z});const r=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:s}=Object.prototype;class a{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),s.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let n=0,r=e.length;t&&n<r;++n){const r=this.weakness&&c(e[n])?t.weak:t.strong;t=r&&r.get(e[n])}return t&&t.data}getChildTrie(e){const t=this.weakness&&c(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let n=t.get(e);return n||t.set(e,n=new a(this.weakness,this.makeData)),n}}function c(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}var u=n(28349);let l=null;const f={};let h=1;function d(e){try{return e()}catch(t){}}const p="@wry/context:Slot",v=d((()=>globalThis))||d((()=>global))||Object.create(null),y=v[p]||Array[p]||function(e){try{Object.defineProperty(v,p,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",h++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=l;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===f)break;return e!==l&&(l.slots[this.id]=t),!0}return l&&(l.slots[this.id]=f),!1}getValue(){if(this.hasValue())return l.slots[this.id]}withValue(e,t,n,r){const i={__proto__:null,[this.id]:e},o=l;l={parent:o,slots:i};try{return t.apply(r,n)}finally{l=o}}static bind(e){const t=l;return function(){const n=l;try{return l=t,e.apply(this,arguments)}finally{l=n}}}static noContext(e,t,n){if(!l)return e.apply(n,t);{const r=l;try{return l=null,e.apply(n,t)}finally{l=r}}}}),{bind:m,noContext:b}=y;const g=new y;const{hasOwnProperty:E}=Object.prototype,T=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function O(e){const{unsubscribe:t}=e;"function"===typeof t&&(e.unsubscribe=void 0,t())}const C=[];function I(e,t){if(!e)throw new Error(t||"assertion failure")}function k(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function S(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function N(e){return e.slice(0)}class D{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++D.count}peek(){if(1===this.value.length&&!_(this))return w(this),this.value[0]}recompute(e){return I(!this.recomputing,"already recomputing"),w(this),_(this)?function(e,t){j(e),g.withValue(e,x,[e,t]),function(e,t){if("function"===typeof e.subscribe)try{O(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,_(e))return;R(e)}(e);return S(e.value)}(this,e):S(this.value)}setDirty(){this.dirty||(this.dirty=!0,A(this),O(this))}dispose(){this.setDirty(),j(this),F(this,((e,t)=>{e.setDirty(),V(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=C.pop()||new Set),this.deps.add(e)}
1forgetDeps(){this.deps&&(T(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),C.push(this.deps),this.deps=null)}}function w(e){const t=g.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),_(e)?P(t,e):M(t,e),t}function x(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&1===e.value.length&&(r=N(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!k(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(i){}}catch(o){e.value[1]=o}e.recomputing=!1}function _(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function A(e){F(e,P)}function R(e){F(e,M)}function F(e,t){const n=e.parents.size;if(n){const r=T(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function P(e,t){I(e.childValues.has(t)),I(_(t));const n=!_(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=C.pop()||new Set;e.dirtyChildren.add(t),n&&A(e)}function M(e,t){I(e.childValues.has(t)),I(!_(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,N(t.value)):k(n,t.value)||e.setDirty(),L(e,t),_(e)||R(e)}function L(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(C.length<100&&C.push(n),e.dirtyChildren=null))}function j(e){e.childValues.size>0&&e.childValues.forEach(((t,n)=>{V(e,n)})),e.forgetDeps(),I(null===e.dirtyChildren)}function V(e,t){t.parents.delete(e),e.childValues.delete(t),L(e,t)}D.count=0;const q={setDirty:!0,dispose:!0,forget:!0};function Q(e){const t=new Map,n=e&&e.subscribe;function r(e){const r=g.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"===typeof n&&(O(i),i.unsubscribe=n(e))}}return r.dirty=function(e,n){const r=t.get(e);if(r){const i=n&&E.call(q,n)?n:"setDirty";T(r).forEach((e=>e[i]())),t.delete(e),O(r)}},r}let Y;function U(...e){return(Y||(Y=new a("function"===typeof WeakMap))).lookupArray(e)}const B=new Set;function z(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=U,normalizeResult:i,subscribe:o,cache:s=u.C}=Object.create(null)){const a="function"===typeof s?new s(t,(e=>e.dispose())):s,c=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let s=a.get(t);s||(a.set(t,s=new D(e)),s.normalizeResult=i,s.subscribe=o,s.forget=()=>a.delete(t));const c=s.recompute(Array.prototype.slice.call(arguments));return a.set(t,s),B.add(a),g.hasValue()||(B.forEach((e=>e.clean())),B.clear()),c};function l(e){const t=e&&a.get(e);t&&t.setDirty()}function f(e){const t=e&&a.get(e);if(t)return t.peek()}function h(e){return!!e&&a.delete(e)}return Object.defineProperty(c,"size",{get:()=>a.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:i,subscribe:o,cache:a}),c.dirtyKey=l,c.dirty=function(){l(r.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(r.apply(null,arguments))},c.forgetKey=h,c.forget=function(){return h(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}}}]);
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.