1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[64],{51079:function(e,t,n){"use strict";n.d(t,{Ps:function(){return fe}});var r=n(47925);function i(e){return"object"==typeof e&&null!==e}function o(e,t){const n=undefined;if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}const a=/\r\n|[\n\r]/g;function s(e,t){let n=0,r=1;for(const i of e.body.matchAll(a)){if("number"===typeof i.index||o(!1),i.index>=t)break;n=i.index+i[0].length,r+=1}return{line:r,column:t+1-n}}function u(e){return c(e.source,s(e.source,e.start))}function c(e,t){const n=e.locationOffset.column-1,r="".padStart(n)+e.body,i=t.line-1,o=e.locationOffset.line-1,a=t.line+o,s=1===t.line?n:0,u=t.column+s,c=`${e.name}:${a}:${u}\n`,f=r.split(/\r\n|[\n\r]/g),p=f[i];if(p.length>120){const e=Math.floor(u/80),t=u%80,n=[];for(let r=0;r<p.length;r+=80)n.push(p.slice(r,r+80));return c+l([[`${a} |`,n[0]],...n.slice(1,e+1).map((e=>["|",e])),["|","^".padStart(t)],["|",n[e+1]]])}return c+l([[a-1+" |",f[i-1]],[`${a} |`,p],["|","^".padStart(u)],[`${a+1} |`,f[i+1]]])}function l(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")}function f(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}
1class p extends Error{constructor(e,...t){var n,r,o;const{nodes:a,source:u,positions:c,path:l,originalError:d,extensions:v}=f(t);super(e),this.name="GraphQLError",this.path=null!==l&&void 0!==l?l:void 0,this.originalError=null!==d&&void 0!==d?d:void 0,this.nodes=h(Array.isArray(a)?a:a?[a]:void 0);const y=h(null===(n=this.nodes)||void 0===n?void 0:n.map((e=>e.loc)).filter((e=>null!=e)));this.source=null!==u&&void 0!==u?u:null===y||void 0===y||null===(r=y[0])||void 0===r?void 0:r.source,this.positions=null!==c&&void 0!==c?c:null===y||void 0===y?void 0:y.map((e=>e.start)),this.locations=c&&u?c.map((e=>s(u,e))):null===y||void 0===y?void 0:y.map((e=>s(e.source,e.start)));const m=i(null===d||void 0===d?void 0:d.extensions)?null===d||void 0===d?void 0:d.extensions:void 0;this.extensions=null!==(o=null!==v&&void 0!==v?v:m)&&void 0!==o?o:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!==d&&void 0!==d&&d.stack?Object.defineProperty(this,"stack",{value:d.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,p):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 t of this.nodes)t.loc&&(e+="\n\n"+u(t.loc));else if(this.source&&this.locations)for(const t of this.locations)e+="\n\n"+c(this.source,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 h(e){return void 0===e||0===e.length?void 0:e}function d(e){return e.toString()}function v(e){return e.toJSON()}function y(e,t,n){return new p(`Syntax Error: ${n}`,{source:e,positions:[t]})}var m=n(40662),b;!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"}(b||(b={}));var g=n(94816),w=n(60833),E=n(52819),k;!function(e){e.SOF="<SOF>",e.EOF="<EOF>",e.BANG="!",e.DOLLAR="$",e.AMP="&",e.PAREN_L="(",e.PAREN_R=")",e.SPREAD="...",e.COLON=":",e.EQUALS="=",e.AT="@",e.BRACKET_L="[",e.BRACKET_R="]",e.BRACE_L="{",e.PIPE="|",e.BRACE_R="}",e.NAME="Name",e.INT="Int",e.FLOAT="Float",e.STRING="String",e.BLOCK_STRING="BlockString",e.COMMENT="Comment"}(k||(k={}));class O{constructor(e){const t=new m.WU(k.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;const e=undefined;return this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==k.EOF)do{if(e.next)e=e.next;else{const t=R(this,e.end);e.next=t,t.prev=e,e=t}}while(e.kind===k.COMMENT);return e}}function _(e){return e===k.BANG||e===k.DOLLAR||e===k.AMP||e===k.PAREN_L||e===k.PAREN_R||e===k.SPREAD||e===k.COLON||e===k.EQUALS||e===k.AT||e===k.BRACKET_L||e===k.BRACKET_R||e===k.BRACE_L||e===k.PIPE||e===k.BRACE_R}function S(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function T(e,t){return I(e.charCodeAt(t))&&x(e.charCodeAt(t+1))}function I(e){return e>=55296&&e<=56319}function x(e){return e>=56320&&e<=57343}function D(e,t){const n=e.source.body.codePointAt(t);if(void 0===n)return k.EOF;if(n>=32&&n<=126){const e=String.fromCodePoint(n);return'"'===e?"'\"'":`"${e}"`}return"U+"+n.toString(16).toUpperCase().padStart(4,"0")}function N(e,t,n,r,i){const o=e.line,a=1+n-e.lineStart;return new m.WU(t,n,r,o,a,i)}function R(e,t){const n=e.source.body,r=n.length;let i=t;for(;i<r;){const t=n.charCodeAt(i);switch(t){case 65279:case 9:case 32:case 44:++i;continue;case 10:++i,++e.line,e.lineStart=i;continue;case 13:10===n.charCodeAt(i+1)?i+=2:++i,++e.line,e.lineStart=i;continue;case 35:return C(e,i);case 33:return N(e,k.BANG,i,i+1);case 36:return N(e,k.DOLLAR,i,i+1);case 38:return N(e,k.AMP,i,i+1);case 40:return N(e,k.PAREN_L,i,i+1);case 41:return N(e,k.PAREN_R,i,i+1);case 46:if(46===n.charCodeAt(i+1)&&46===n.charCodeAt(i+2))return N(e,k.SPREAD,i,i+3);break;case 58:return N(e,k.COLON,i,i+1);case 61:return N(e,k.EQUALS,i,i+1);case 64:return N(e,k.AT,i,i+1);case 91:return N(e,k.BRACKET_L,i,i+1);case 93:return N(e,k.BRACKET_R,i,i+1);case 123:return N(e,k.BRACE_L,i,i+1);case 124:return N(e,k.PIPE,i,i+1);case 125:return N(e,k.BRACE_R,i,i+1);case 34:return 34===n.charCodeAt(i+1)&&34===n.charCodeAt(i+2)?Q(e,i):M(e,i)}if((0,E.X1)(t)||45===t)return P(e,i,t);
1if((0,E.LQ)(t))return z(e,i);throw y(e.source,i,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":S(t)||T(n,i)?`Unexpected character: ${D(e,i)}.`:`Invalid character: ${D(e,i)}.`)}return N(e,k.EOF,r,r)}function C(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(S(e))++i;else{if(!T(n,i))break;i+=2}}return N(e,k.COMMENT,t,i,n.slice(t+1,i))}function P(e,t,n){const r=e.source.body;let i=t,o=n,a=!1;if(45===o&&(o=r.charCodeAt(++i)),48===o){if(o=r.charCodeAt(++i),(0,E.X1)(o))throw y(e.source,i,`Invalid number, unexpected digit after 0: ${D(e,i)}.`)}else i=A(e,i,o),o=r.charCodeAt(i);if(46===o&&(a=!0,o=r.charCodeAt(++i),i=A(e,i,o),o=r.charCodeAt(i)),69!==o&&101!==o||(a=!0,o=r.charCodeAt(++i),43!==o&&45!==o||(o=r.charCodeAt(++i)),i=A(e,i,o),o=r.charCodeAt(i)),46===o||(0,E.LQ)(o))throw y(e.source,i,`Invalid number, expected digit but got: ${D(e,i)}.`);return N(e,a?k.FLOAT:k.INT,t,i,r.slice(t,i))}function A(e,t,n){if(!(0,E.X1)(n))throw y(e.source,t,`Invalid number, expected digit but got: ${D(e,t)}.`);const r=e.source.body;let i=t+1;for(;(0,E.X1)(r.charCodeAt(i));)++i;return i}function M(e,t){const n=e.source.body,r=n.length;let i=t+1,o=i,a="";for(;i<r;){const r=n.charCodeAt(i);if(34===r)return a+=n.slice(o,i),N(e,k.STRING,t,i+1,a);if(92!==r){if(10===r||13===r)break;if(S(r))++i;else{if(!T(n,i))throw y(e.source,i,`Invalid character within String: ${D(e,i)}.`);i+=2}}else{a+=n.slice(o,i);const t=117===n.charCodeAt(i+1)?123===n.charCodeAt(i+2)?F(e,i):j(e,i):q(e,i);a+=t.value,i+=t.size,o=i}}throw y(e.source,i,"Unterminated string.")}function F(e,t){const n=e.source.body;let r=0,i=3;for(;i<12;){const e=n.charCodeAt(t+i++);if(125===e){if(i<5||!S(r))break;return{value:String.fromCodePoint(r),size:i}}if(r=r<<4|V(e),r<0)break}throw y(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+i)}".`)}function j(e,t){const n=e.source.body,r=L(n,t+2);if(S(r))return{value:String.fromCodePoint(r),size:6};if(I(r)&&92===n.charCodeAt(t+6)&&117===n.charCodeAt(t+7)){const e=L(n,t+8);if(x(e))return{value:String.fromCodePoint(r,e),size:12}}throw y(e.source,t,`Invalid Unicode escape sequence: "${n.slice(t,t+6)}".`)}function L(e,t){return V(e.charCodeAt(t))<<12|V(e.charCodeAt(t+1))<<8|V(e.charCodeAt(t+2))<<4|V(e.charCodeAt(t+3))}function V(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function q(e,t){const n=e.source.body,r=undefined;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 y(e.source,t,`Invalid character escape sequence: "${n.slice(t,t+2)}".`)}function Q(e,t){const n=e.source.body,r=n.length;let i=e.lineStart,o=t+3,a=o,s="";const u=[];for(;o<r;){const r=n.charCodeAt(o);if(34===r&&34===n.charCodeAt(o+1)&&34===n.charCodeAt(o+2)){s+=n.slice(a,o),u.push(s);const r=N(e,k.BLOCK_STRING,t,o+3,(0,w.wv)(u).join("\n"));return e.line+=u.length-1,e.lineStart=i,r}if(92!==r||34!==n.charCodeAt(o+1)||34!==n.charCodeAt(o+2)||34!==n.charCodeAt(o+3))if(10!==r&&13!==r)if(S(r))++o;else{if(!T(n,o))throw y(e.source,o,`Invalid character within String: ${D(e,o)}.`);o+=2}else s+=n.slice(a,o),u.push(s),13===r&&10===n.charCodeAt(o+1)?o+=2:++o,s="",a=o,i=o;else s+=n.slice(a,o),a=o+1,o+=4}throw y(e.source,o,"Unterminated string.")}function z(e,t){const n=e.source.body,r=n.length;let i=t+1;for(;i<r;){const e=n.charCodeAt(i);if(!(0,E.HQ)(e))break;++i}return N(e,k.NAME,t,i,n.slice(t,i))}var B=n(82264),U=n(18601);const W=undefined,G=globalThis.process&&!0?function e(t,n){return t instanceof n}:function e(t,n){if(t instanceof n)return!0;if("object"===typeof t&&null!==t){var r;const e=n.prototype[Symbol.toStringTag],i=undefined;if(e===(Symbol.toStringTag in t?t[Symbol.toStringTag]:null===(r=t.constructor)||void 0===r?void 0:r.name)){const n=(0,U.X)(t);throw new Error(`Cannot use ${e} "${n}" 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 K{constructor(e,t="GraphQL request",n={line:1,column:1}){"string"===typeof e||(0,B.a)(!1,`Body must be a string. Received: ${(0,U.X)(e)}.`),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||(0,B.a)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,B.a)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}function Y(e){return G(e,K)}function $(e,t){const n=new Z(e,t),r=n.parseDocument();return Object.defineProperty(r,"tokenCount",{enumerable:!1,value:n.tokenCount}),r}function H(e,t){const n=new Z(e,t);n.expectToken(TokenKind.SOF);const r=n.parseValueLiteral(!1);return n.expectToken(TokenKind.EOF),r}function J(e,t){const n=new Z(e,t);n.expectToken(TokenKind.SOF);const r=n.parseConstValueLiteral();return n.expectToken(TokenKind.EOF),r}function X(e,t){const n=new Z(e,t);n.expectToken(TokenKind.SOF);const r=n.parseTypeReference();return n.expectToken(TokenKind.EOF),r}class Z{constructor(e,t={}){const n=Y(e)?e:new K(e);this._lexer=new O(n),this._options=t,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){const e=this.expectToken(k.NAME);return this.node(e,{kind:g.h.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:g.h.DOCUMENT,definitions:this.many(k.SOF,this.parseDefinition,k.EOF)})}parseDefinition(){if(this.peek(k.BRACE_L))return this.parseOperationDefinition();const e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(t.kind===k.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}if(e)throw y(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are supported only on type definitions.");switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"extend":return this.parseTypeSystemExtension()}}throw this.unexpected(t)}parseOperationDefinition(){const e=this._lexer.token;if(this.peek(k.BRACE_L))return this.node(e,{kind:g.h.OPERATION_DEFINITION,operation:m.ku.QUERY,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});const t=this.parseOperationType();let n;return this.peek(k.NAME)&&(n=this.parseName()),this.node(e,{kind:g.h.OPERATION_DEFINITION,operation:t,name:n,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){const e=this.expectToken(k.NAME);switch(e.value){case"query":return m.ku.QUERY;case"mutation":return m.ku.MUTATION;case"subscription":return m.ku.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(k.PAREN_L,this.parseVariableDefinition,k.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:g.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(k.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(k.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){const e=this._lexer.token;return this.expectToken(k.DOLLAR),this.node(e,{kind:g.h.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:g.h.SELECTION_SET,selections:this.many(k.BRACE_L,this.parseSelection,k.BRACE_R)})}parseSelection(){return this.peek(k.SPREAD)?this.parseFragment():this.parseField()}parseField(){const e=this._lexer.token,t=this.parseName();let n,r;return this.expectOptionalToken(k.COLON)?(n=t,r=this.parseName()):r=t,this.node(e,{kind:g.h.FIELD,alias:n,name:r,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(k.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){const t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(k.PAREN_L,t,k.PAREN_R)}parseArgument(e=!1){const t=this._lexer.token,n=this.parseName();return this.expectToken(k.COLON),this.node(t,{kind:g.h.ARGUMENT,name:n,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){const e=this._lexer.token;this.expectToken(k.SPREAD);const t=this.expectOptionalKeyword("on");return!t&&this.peek(k.NAME)?this.node(e,{kind:g.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:g.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){const e=this._lexer.token;return this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables?this.node(e,{kind:g.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:g.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){const t=this._lexer.token;switch(t.kind){case k.BRACKET_L:return this.parseList(e);case k.BRACE_L:return this.parseObject(e);case k.INT:return this.advanceLexer(),this.node(t,{kind:g.h.INT,value:t.value});case k.FLOAT:return this.advanceLexer(),this.node(t,{kind:g.h.FLOAT,value:t.value});case k.STRING:case k.BLOCK_STRING:return this.parseStringLiteral();case k.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:g.h.BOOLEAN,value:!0});case"false":return this.node(t,{kind:g.h.BOOLEAN,value:!1});case"null":return this.node(t,{kind:g.h.NULL});default:return this.node(t,{kind:g.h.ENUM,value:t.value})}case k.DOLLAR:if(e){if(this.expectToken(k.DOLLAR),this._lexer.token.kind===k.NAME){const e=this._lexer.token.value;throw y(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:g.h.STRING,value:e.value,block:e.kind===k.BLOCK_STRING})}parseList(e){const t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:g.h.LIST,values:this.any(k.BRACKET_L,t,k.BRACKET_R)})}parseObject(e){const t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:g.h.OBJECT,fields:this.any(k.BRACE_L,t,k.BRACE_R)})}parseObjectField(e){const t=this._lexer.token,n=this.parseName();return this.expectToken(k.COLON),this.node(t,{kind:g.h.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e)})}parseDirectives(e){const t=[];for(;this.peek(k.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){const t=this._lexer.token;return this.expectToken(k.AT),this.node(t,{kind:g.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){const e=this._lexer.token;let t;if(this.expectOptionalToken(k.BRACKET_L)){const n=this.parseTypeReference();this.expectToken(k.BRACKET_R),t=this.node(e,{kind:g.h.LIST_TYPE,type:n})}else t=this.parseNamedType();return this.expectOptionalToken(k.BANG)?this.node(e,{kind:g.h.NON_NULL_TYPE,type:t}):t}parseNamedType(){return this.node(this._lexer.token,{kind:g.h.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(k.STRING)||this.peek(k.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(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);return this.node(e,{kind:g.h.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r})}parseOperationTypeDefinition(){const e=this._lexer.token,t=this.parseOperationType();this.expectToken(k.COLON);const n=this.parseNamedType();return this.node(e,{kind:g.h.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:g.h.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:g.h.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:o})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(k.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseFieldDefinition,k.BRACE_R)}parseFieldDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(k.COLON);const i=this.parseTypeReference(),o=this.parseConstDirectives();return this.node(e,{kind:g.h.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:o})}parseArgumentDefs(){return this.optionalMany(k.PAREN_L,this.parseInputValueDef,k.PAREN_R)}parseInputValueDef(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(k.COLON);const r=this.parseTypeReference();let i;this.expectOptionalToken(k.EQUALS)&&(i=this.parseConstValueLiteral());const o=this.parseConstDirectives();return this.node(e,{kind:g.h.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();
1return this.node(e,{kind:g.h.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:g.h.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i})}parseUnionMemberTypes(){return this.expectOptionalToken(k.EQUALS)?this.delimitedMany(k.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:g.h.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i})}parseEnumValuesDefinition(){return this.optionalMany(k.BRACE_L,this.parseEnumValueDefinition,k.BRACE_R)}parseEnumValueDefinition(){const e=this._lexer.token,t=this.parseDescription(),n=this.parseEnumValueName(),r=this.parseConstDirectives();return this.node(e,{kind:g.h.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw y(this._lexer.source,this._lexer.token.start,`${ee(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:g.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i})}parseInputFieldsDefinition(){return this.optionalMany(k.BRACE_L,this.parseInputValueDef,k.BRACE_R)}parseTypeSystemExtension(){const e=this._lexer.lookahead();if(e.kind===k.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)}parseSchemaExtension(){const e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");const t=this.parseConstDirectives(),n=this.optionalMany(k.BRACE_L,this.parseOperationTypeDefinition,k.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:g.h.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:g.h.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:g.h.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();
1return this.node(e,{kind:g.h.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:g.h.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:g.h.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:g.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r})}parseDirectiveDefinition(){const e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(k.AT);const n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");const o=this.parseDirectiveLocations();return this.node(e,{kind:g.h.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:o})}parseDirectiveLocations(){return this.delimitedMany(k.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){const e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(b,t.value))return t;throw this.unexpected(e)}node(e,t){return!0!==this._options.noLocation&&(t.loc=new m.Ye(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 y(this._lexer.source,t.start,`Expected ${te(e)}, found ${ee(t)}.`)}expectOptionalToken(e){const t=undefined;return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){const t=this._lexer.token;if(t.kind!==k.NAME||t.value!==e)throw y(this._lexer.source,t.start,`Expected "${e}", found ${ee(t)}.`);this.advanceLexer()}expectOptionalKeyword(e){const t=this._lexer.token;return t.kind===k.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){const t=null!==e&&void 0!==e?e:this._lexer.token;return y(this._lexer.source,t.start,`Unexpected ${ee(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.kind!==k.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw y(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function ee(e){const t=e.value;return te(e.kind)+(null!=t?` "${t}"`:"")}function te(e){return _(e)?`"${e}"`:e}var ne=new Map,re=new Map,ie=!0,oe=!1;function ae(e){return e.replace(/[\s,]+/g," ").trim()}function se(e){return ae(e.source.body.substring(e.start,e.end))}function ue(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=se(e.loc),o=re.get(r);o&&!o.has(i)?ie&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):o||re.set(r,o=new Set),o.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e)})),(0,r.pi)((0,r.pi)({},e),{definitions:n})}function ce(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"===typeof r&&t.add(r)}))}
1));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}function le(e){var t=ae(e);if(!ne.has(t)){var n=$(e,{experimentalFragmentVariables:oe,allowLegacyFragmentVariables:oe});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");ne.set(t,ce(ue(n)))}return ne.get(t)}function fe(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"===typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),le(r)}function pe(){ne.clear(),re.clear()}function he(){ie=!1}function de(){oe=!0}function ve(){oe=!1}var ye=fe,me=pe,be=he,ge=de,we=ve,Ee;(Ee=fe||(fe={})).gql=ye,Ee.resetCaches=me,Ee.disableFragmentWarnings=be,Ee.enableExperimentalFragmentVariables=ge,Ee.disableExperimentalFragmentVariables=we,fe.default=fe;var ke=null},70616:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=t},19202:function(e,t,n){var r=n(61157);function i(e,t){var n;return!!(null==e?0:e.length)&&r(e,t,0)>-1}e.exports=i},96307:function(e){function t(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}e.exports=t},23163:function(e,t,n){var r=n(69710);function i(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=i},5332:function(e,t,n){var r=n(298),i=n(90208);function o(e,t,n,a,s){var u=-1,c=e.length;for(n||(n=i),s||(s=[]);++u<c;){var l=e[u];t>0&&n(l)?t>1?o(l,t-1,n,a,s):r(s,l):a||(s[s.length]=l)}return s}e.exports=o},61157:function(e,t,n){var r=n(59151),i=n(57698),o=n(4102);function a(e,t,n){return t===t?o(e,t,n):r(e,i,n)}e.exports=a},57698:function(e){function t(e){return e!==e}e.exports=t},34834:function(e,t,n){var r=n(63378),i=n(19202),o=n(96307),a=n(10248),s=n(94910),u=n(33200),c=200;function l(e,t,n){var l=-1,f=i,p=e.length,h=!0,d=[],v=d;if(n)h=!1,f=o;else if(p>=c){var y=t?null:s(e);if(y)return u(y);h=!1,f=a,v=new r}else v=t?[]:d;e:for(;++l<p;){var m=e[l],b=t?t(m):m;if(m=n||0!==m?m:0,h&&b===b){for(var g=v.length;g--;)if(v[g]===b)continue e;t&&v.push(b),d.push(m)}else f(v,b,n)||(v!==d&&v.push(b),d.push(m))}return d}e.exports=l},46475:function(e,t,n){var r=n(47860);function i(e,t){return r(t,(function(t){return e[t]}))}e.exports=i},68287:function(e,t,n){var r=n(60100);function i(e){return"function"==typeof e?e:r}e.exports=i},94910:function(e,t,n){var r=n(86197),i=n(95844),o=n(33200),a=1/0,s=r&&1/o(new r([,-0]))[1]==a?function(e){return new r(e)}:i;e.exports=s},69710:function(e,t,n){var r=n(1530),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=i},90208:function(e,t,n){var r=n(27665),i=n(74223),o=n(73370),a=r?r.isConcatSpreadable:void 0;function s(e){return o(e)||i(e)||!!(a&&e&&e[a])}
1e.exports=s},4102:function(e){function t(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}e.exports=t},76133:function(e){function t(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}e.exports=t},58158:function(e,t,n){var r=n(5332);function i(e){var t;return(null==e?0:e.length)?r(e,1):[]}e.exports=i},10237:function(e,t,n){var r=n(70616),i=n(20120),o=n(68287),a=n(73370);function s(e,t){var n;return(a(e)?r:i)(e,o(t))}e.exports=s},86415:function(e,t,n){var r=n(47860),i=n(65109),o=n(44802),a=n(73370);function s(e,t){var n;return(a(e)?r:o)(e,i(t,3))}e.exports=s},56540:function(e,t,n){var r=n(23163),i=n(58780),o=n(65109);function a(e,t){var n={};return t=o(t,3),i(e,(function(e,i,o){r(n,i,t(e,i,o))})),n}e.exports=a},95844:function(e){function t(){}e.exports=t},90731:function(e,t,n){var r=n(65109),i=n(34834);function o(e,t){return e&&e.length?i(e,r(t,2)):[]}e.exports=o},11258:function(e,t,n){var r=n(46475),i=n(80412);function o(e){return null==e?[]:r(e,i(e))}e.exports=o},40346:function(e,t,n){"use strict";var r=n(56168),i=function(){return(i=Object.assign||function e(t){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var a=function(){return Math.random().toString(36).substring(6)},s=function(e){var t=e.animate,n=void 0===t||t,s=e.animateBegin,u=e.backgroundColor,c=void 0===u?"#f5f6f7":u,l=e.backgroundOpacity,f=void 0===l?1:l,p=e.baseUrl,h=void 0===p?"":p,d=e.children,v=e.foregroundColor,y=void 0===v?"#eee":v,m=e.foregroundOpacity,b=void 0===m?1:m,g=e.gradientRatio,w=void 0===g?2:g,E=e.gradientDirection,k=void 0===E?"left-right":E,O=e.uniqueKey,_=e.interval,S=void 0===_?.25:_,T=e.rtl,I=void 0!==T&&T,x=e.speed,D=void 0===x?1.2:x,N=e.style,R=void 0===N?{}:N,C=e.title,P=void 0===C?"Loading...":C,A=e.beforeMask,M=void 0===A?null:A,F=o(e,["animate","animateBegin","backgroundColor","backgroundOpacity","baseUrl","children","foregroundColor","foregroundOpacity","gradientRatio","gradientDirection","uniqueKey","interval","rtl","speed","style","title","beforeMask"]),j=O||a(),L=j+"-diff",V=j+"-animated-diff",q=j+"-aria",Q=I?{transform:"scaleX(-1)"}:null,z="0; "+S+"; 1",B=D+"s",U="top-bottom"===k?"rotate(90)":void 0;return(0,r.createElement)("svg",i({"aria-labelledby":q,role:"img",style:i(i({},R),Q)},F),P?(0,r.createElement)("title",{id:q},P):null,M&&(0,r.isValidElement)(M)?M:null,(0,r.createElement)("rect",{role:"presentation",x:"0",y:"0",width:"100%",height:"100%",clipPath:"url("+h+"#"+L+")",style:{fill:"url("+h+"#"+V+")"}}),(0,r.createElement)("defs",null,(0,r.createElement)("clipPath",{id:L},d),(0,r.createElement)("linearGradient",{id:V,gradientTransform:U},(0,r.createElement)("stop",{offset:"0%",stopColor:c,stopOpacity:f},n&&(0,r.createElement)("animate",{attributeName:"offset",values:-w+"; "+-w+"; 1",keyTimes:z,dur:B,repeatCount:"indefinite",begin:s})),(0,r.createElement)("stop",{offset:"50%",stopColor:y,stopOpacity:b},n&&(0,r.createElement)("animate",{attributeName:"offset",values:-w/2+"; "+-w/2+"; "+(1+w/2),keyTimes:z,dur:B,repeatCount:"indefinite",begin:s})),(0,r.createElement)("stop",{offset:"100%",stopColor:c,stopOpacity:f},n&&(0,r.createElement)("animate",{attributeName:"offset",values:"0; 0; "+(1+w),keyTimes:z,dur:B,repeatCount:"indefinite",begin:s})))))},u=function(e){return e.children?(0,r.createElement)(s,i({},e)):(0,r.createElement)(c,i({},e))},c=function(e){return(0,r.createElement)(u,i({viewBox:"0 0 476 124"},e),(0,r.createElement)("rect",{x:"48",y:"8",width:"88",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"48",y:"26",width:"52",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"56",width:"410",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"72",width:"380",height:"6",rx:"3"}),(0,r.createElement)("rect",{x:"0",y:"88",width:"178",height:"6",rx:"3"}),(0,r.createElement)("circle",{cx:"20",cy:"20",r:"20"}))},l=function(e){return createElement(u,i({viewBox:"0 0 400 460"},e),createElement("circle",{cx:"31",cy:"31",r:"15"}),createElement("rect",{x:"58",y:"18",rx:"2",ry:"2",width:"140",height:"10"}),createElement("rect",{x:"58",y:"34",rx:"2",ry:"2",width:"140",height:"10"}),createElement("rect",{x:"0",y:"60",rx:"2",ry:"2",width:"400",height:"400"}))},f=function(e){return createElement(u,i({viewBox:"0 0 340 84"},e),createElement("rect",{x:"0",y:"0",width:"67",height:"11",rx:"3"}),createElement("rect",{x:"76",y:"0",width:"140",height:"11",rx:"3"}),createElement("rect",{x:"127",y:"48",width:"53",height:"11",rx:"3"}
1),createElement("rect",{x:"187",y:"48",width:"72",height:"11",rx:"3"}),createElement("rect",{x:"18",y:"48",width:"100",height:"11",rx:"3"}),createElement("rect",{x:"0",y:"71",width:"37",height:"11",rx:"3"}),createElement("rect",{x:"18",y:"23",width:"140",height:"11",rx:"3"}),createElement("rect",{x:"166",y:"23",width:"173",height:"11",rx:"3"}))},p=function(e){return createElement(u,i({viewBox:"0 0 400 110"},e),createElement("rect",{x:"0",y:"0",rx:"3",ry:"3",width:"250",height:"10"}),createElement("rect",{x:"20",y:"20",rx:"3",ry:"3",width:"220",height:"10"}),createElement("rect",{x:"20",y:"40",rx:"3",ry:"3",width:"170",height:"10"}),createElement("rect",{x:"0",y:"60",rx:"3",ry:"3",width:"250",height:"10"}),createElement("rect",{x:"20",y:"80",rx:"3",ry:"3",width:"200",height:"10"}),createElement("rect",{x:"20",y:"100",rx:"3",ry:"3",width:"80",height:"10"}))},h=function(e){return createElement(u,i({viewBox:"0 0 245 125"},e),createElement("circle",{cx:"10",cy:"20",r:"8"}),createElement("rect",{x:"25",y:"15",rx:"5",ry:"5",width:"220",height:"10"}),createElement("circle",{cx:"10",cy:"50",r:"8"}),createElement("rect",{x:"25",y:"45",rx:"5",ry:"5",width:"220",height:"10"}),createElement("circle",{cx:"10",cy:"80",r:"8"}),createElement("rect",{x:"25",y:"75",rx:"5",ry:"5",width:"220",height:"10"}),createElement("circle",{cx:"10",cy:"110",r:"8"}),createElement("rect",{x:"25",y:"105",rx:"5",ry:"5",width:"220",height:"10"}))};t.ZP=u},4439:function(e,t,n){var r,i,o;!function(a,s){var u;i=[t,n(9164)],void 0===(o="function"===typeof(r=s)?r.apply(t,i):r)||(e.exports=o)}(this,(function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(t);function r(e){return e&&e.__esModule?e:{default:e}}e.default=n.default}))},9164:function(e,t,n){var r,i,o;!function(a,s){var u;i=[t,n(56168),n(50862)],void 0===(o="function"===typeof(r=s)?r.apply(t,i):r)||(e.exports=o)}(this,(function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=h;var r=o(t),i=o(n);function o(e){return e&&e.__esModule?e:{default:e}}var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function s(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function f(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=!1;function h(e){p=e}try{addEventListener("test",null,Object.defineProperty({},"capture",{get:function e(){h(!0)}}))}catch(m){}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return p?e:e.capture}function v(e){if("touches"in e){var t=e.touches[0],n,r;return{x:t.pageX,y:t.pageY}}var i,o;return{x:e.screenX,y:e.screenY}}var y=function(e){function t(){var e;u(this,t);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(r)));return o._handleSwipeStart=o._handleSwipeStart.bind(o),o._handleSwipeMove=o._handleSwipeMove.bind(o),o._handleSwipeEnd=o._handleSwipeEnd.bind(o),o._onMouseDown=o._onMouseDown.bind(o),o._onMouseMove=o._onMouseMove.bind(o),o._onMouseUp=o._onMouseUp.bind(o),o._setSwiperRef=o._setSwiperRef.bind(o),o}return f(t,e),c(t,[{key:"componentDidMount",value:function e(){this.swiper&&this.swiper.addEventListener("touchmove",this._handleSwipeMove,d({capture:!0,passive:!1}))}},{key:"componentWillUnmount",value:function e(){this.swiper&&this.swiper.removeEventListener("touchmove",this._handleSwipeMove,d({capture:!0,passive:!1}))}},{key:"_onMouseDown",value:function e(t){this.props.allowMouseEvents&&(this.mouseDown=!0,document.addEventListener("mouseup",this._onMouseUp),document.addEventListener("mousemove",this._onMouseMove),this._handleSwipeStart(t))}},{key:"_onMouseMove",value:function e(t){this.mouseDown&&this._handleSwipeMove(t)}},{key:"_onMouseUp",value:function e(t){this.mouseDown=!1,document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("mousemove",this._onMouseMove),this._handleSwipeEnd(t)}},{key:"_handleSwipeStart",value:function e(t){var n=v(t),r=n.x,i=n.y;this.moveStart={x:r,y:i},this.props.onSwipeStart(t)}},{key:"_handleSwipeMove",value:function e(t){if(this.moveStart){var n=v(t),r=n.x,i=n.y,o=r-this.moveStart.x,a=i-this.moveStart.y,s;this.moving=!0,this.props.onSwipeMove({x:o,y:a},t)&&t.cancelable&&t.preventDefault(),this.movePosition={deltaX:o,deltaY:a}}}},{key:"_handleSwipeEnd",value:function e(t){this.props.onSwipeEnd(t);var n=this.props.tolerance;this.moving&&this.movePosition&&(this.movePosition.deltaX<-n?this.props.onSwipeLeft(1,t):this.movePosition.deltaX>n&&this.props.onSwipeRight(1,t),this.movePosition.deltaY<-n?this.props.onSwipeUp(1,t):this.movePosition.deltaY>n&&this.props.onSwipeDown(1,t)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function e(t){this.swiper=t,this.props.innerRef(t)}},{key:"render",value:function e(){var t=this.props,n=t.tagName,i=t.className,o=t.style,u=t.children,c=t.allowMouseEvents,l=t.onSwipeUp,f=t.onSwipeDown,p=t.onSwipeLeft,h=t.onSwipeRight,d=t.onSwipeStart,v=t.onSwipeMove,y=t.onSwipeEnd,m=t.innerRef,b=t.tolerance,g=s(t,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]);return r.default.createElement(this.props.tagName,a({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:i,style:o},g),u)}}]),t}(t.Component);y.displayName="ReactSwipe",y.propTypes={tagName:i.default.string,className:i.default.string,style:i.default.object,children:i.default.node,allowMouseEvents:i.default.bool,onSwipeUp:i.default.func,onSwipeDown:i.default.func,onSwipeLeft:i.default.func,onSwipeRight:i.default.func,onSwipeStart:i.default.func,onSwipeMove:i.default.func,onSwipeEnd:i.default.func,innerRef:i.default.func,tolerance:i.default.number.isRequired},y.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function e(){},onSwipeDown:function e(){},onSwipeLeft:function e(){},onSwipeRight:function e(){},onSwipeStart:function e(){},onSwipeMove:function e(){},onSwipeEnd:function e(){},innerRef:function e(){},tolerance:0},e.default=y}))},65035:function(e,t,n){"use strict";n.d(t,{YD:function(){return w}});var r=n(56168);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}
1function a(e,t){return(a=Object.setPrototypeOf||function e(t,n){return t.__proto__=n,t})(e,t)}function s(e,t){if(null==e)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],t.indexOf(i)>=0||(n[i]=e[i]);return n}var u=new Map,c=new WeakMap,l=0,f=void 0;function p(e){f=e}function h(e){return e?(c.has(e)||(l+=1,c.set(e,l.toString())),c.get(e)):"0"}function d(e){return Object.keys(e).sort().filter((function(t){return void 0!==e[t]})).map((function(t){return t+"_"+("root"===t?h(e.root):e[t])})).toString()}function v(e){var t=d(e),n=u.get(t);if(!n){var r=new Map,i,o=new IntersectionObserver((function(t){t.forEach((function(t){var n,o=t.isIntersecting&&i.some((function(e){return t.intersectionRatio>=e}));e.trackVisibility&&"undefined"===typeof t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach((function(e){e(o,t)}))}))}),e);i=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:o,elements:r},u.set(t,n)}return n}function y(e,t,n,r){if(void 0===n&&(n={}),void 0===r&&(r=f),"undefined"===typeof window.IntersectionObserver&&void 0!==r){var i=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"===typeof n.threshold?n.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),function(){}}var o=v(n),a=o.id,s=o.observer,c=o.elements,l=c.get(e)||[];return c.has(e)||c.set(e,l),l.push(t),s.observe(e),function n(){l.splice(l.indexOf(t),1),0===l.length&&(c.delete(e),s.unobserve(e)),0===c.size&&(s.disconnect(),u.delete(a))}}var m=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function b(e){return"function"!==typeof e.children}var g=function(e){function t(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){n.node&&(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),b(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}o(t,e);var n=t.prototype;return n.componentDidUpdate=function e(t){t.rootMargin===this.props.rootMargin&&t.root===this.props.root&&t.threshold===this.props.threshold&&t.skip===this.props.skip&&t.trackVisibility===this.props.trackVisibility&&t.delay===this.props.delay||(this.unobserve(),this.observeNode())},n.componentWillUnmount=function e(){this.unobserve(),this.node=null},n.observeNode=function e(){if(this.node&&!this.props.skip){var t=this.props,n=t.threshold,r=t.root,i=t.rootMargin,o=t.trackVisibility,a=t.delay,s=t.fallbackInView;this._unobserveCb=y(this.node,this.handleChange,{threshold:n,root:r,rootMargin:i,trackVisibility:o,delay:a},s)}},n.unobserve=function e(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},n.render=function e(){if(!b(this.props)){var t=this.state,n=t.inView,o=t.entry;return this.props.children({inView:n,entry:o,ref:this.handleNode})}var a=this.props,u=a.children,c=a.as,l=s(a,m);return r.createElement(c||"div",i({ref:this.handleNode},l),u)},t}(r.Component);function w(e){var t=void 0===e?{}:e,n=t.threshold,i=t.delay,o=t.trackVisibility,a=t.rootMargin,s=t.root,u=t.triggerOnce,c=t.skip,l=t.initialInView,f=t.fallbackInView,p=r.useRef(),h=r.useState({inView:!!l}),d=h[0],v=h[1],m=r.useCallback((function(e){void 0!==p.current&&(p.current(),p.current=void 0),c||e&&(p.current=y(e,(function(e,t){v({inView:e,entry:t}),t.isIntersecting&&u&&p.current&&(p.current(),p.current=void 0)}),{root:s,rootMargin:a,threshold:n,trackVisibility:o,delay:i},f))}),[Array.isArray(n)?n.toString():n,s,a,u,c,o,f,i]);(0,r.useEffect)((function(){p.current||!d.entry||u||c||v({inView:!!l})}));var b=[m,d.inView,d.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}g.displayName="InView",g.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}},51686:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function e(t,n,r){var i=0===t?t:t+n,o,a,s;return"translate3d"+("("+("horizontal"===r?[i,0,0]:[0,i,0]).join(",")+")")};t.default=n},72670:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.fadeAnimationHandler=t.slideStopSwipingHandler=t.slideSwipeAnimationHandler=t.slideAnimationHandler=void 0;var r=n(56168),i=a(n(51686)),o=n(2058);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function e(t,n){var a={},s=n.selectedItem,c=s,l=r.Children.count(t.children)-1,f;if(t.infiniteLoop&&(s<0||s>l))return c<0?t.centerMode&&t.centerSlidePercentage&&"horizontal"===t.axis?a.itemListStyle=(0,o.setPosition)(-(l+2)*t.centerSlidePercentage-(100-t.centerSlidePercentage)/2,t.axis):a.itemListStyle=(0,o.setPosition)(100*-(l+2),t.axis):c>l&&(a.itemListStyle=(0,o.setPosition)(0,t.axis)),a;var p=(0,o.getPosition)(s,t),h=(0,i.default)(p,"%",t.axis),d=t.transitionTime+"ms";return a.itemListStyle={WebkitTransform:h,msTransform:h,OTransform:h,transform:h},n.swiping||(a.itemListStyle=u(u({},a.itemListStyle),{},{WebkitTransitionDuration:d,MozTransitionDuration:d,OTransitionDuration:d,transitionDuration:d,msTransitionDuration:d})),a};t.slideAnimationHandler=l;var f=function e(t,n,i,a){var s={},u="horizontal"===n.axis,c=r.Children.count(n.children),l=0,f=(0,o.getPosition)(i.selectedItem,n),p=n.infiniteLoop?(0,o.getPosition)(c-1,n)-100:(0,o.getPosition)(c-1,n),h=u?t.x:t.y,d=h;0===f&&h>0&&(d=0),f===p&&h<0&&(d=0);var v=f+100/(i.itemSize/d),y=Math.abs(h)>n.swipeScrollTolerance;return n.infiniteLoop&&y&&(0===i.selectedItem&&v>-100?v-=100*c:i.selectedItem===c-1&&v<100*-c&&(v+=100*c)),(!n.preventMovementUntilSwipeScrollTolerance||y||i.swipeMovementStarted)&&(i.swipeMovementStarted||a({swipeMovementStarted:!0}),s.itemListStyle=(0,o.setPosition)(v,n.axis)),y&&!i.cancelClick&&a({cancelClick:!0}),s};t.slideSwipeAnimationHandler=f;var p=function e(t,n){var r=(0,o.getPosition)(n.selectedItem,t),i;return{itemListStyle:(0,o.setPosition)(r,t.axis)}};t.slideStopSwipingHandler=p;var h=function e(t,n){var r=t.transitionTime+"ms",i="ease-in-out",o={position:"absolute",display:"block",zIndex:-2,minHeight:"100%",opacity:0,top:0,right:0,left:0,bottom:0,transitionTimingFunction:i,msTransitionTimingFunction:i,MozTransitionTimingFunction:i,WebkitTransitionTimingFunction:i,OTransitionTimingFunction:i};return n.swiping||(o=u(u({},o),{},{WebkitTransitionDuration:r,MozTransitionDuration:r,OTransitionDuration:r,transitionDuration:r,msTransitionDuration:r})),{slideStyle:o,selectedStyle:u(u({},o),{},{opacity:1,position:"relative"}),prevStyle:u({},o)}};t.fadeAnimationHandler=h},4121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(56168)),i=f(n(4439)),o=f(n(42344)),a=f(n(63932)),s=f(n(58512)),u=f(n(19824)),c=n(2058),l=n(72670);function f(e){return e&&e.__esModule?e:{default:e}}function p(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return p=function t(){return e},e}function h(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!==typeof e)return{default:e};var t=p();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function d(e){return(d="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function e(t){return typeof t}:function e(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?y(Object(n),!0).forEach((function(t){x(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function E(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k(e,t)}function k(e,t){return(k=Object.setPrototypeOf||function e(t,n){return t.__proto__=n,t})(e,t)}function O(e){var t=T();return function n(){var r=I(e),i;if(t){var o=I(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return _(this,i)}}function _(e,t){return!t||"object"!==d(t)&&"function"!==typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=function(e){E(n,e);var t=O(n);function n(e){var i;b(this,n),x(S(i=t.call(this,e)),"thumbsRef",void 0),x(S(i),"carouselWrapperRef",void 0),x(S(i),"listRef",void 0),x(S(i),"itemsRef",void 0),x(S(i),"timer",void 0),x(S(i),"animationHandler",void 0),x(S(i),"setThumbsRef",(function(e){i.thumbsRef=e})),x(S(i),"setCarouselWrapperRef",(function(e){i.carouselWrapperRef=e})),x(S(i),"setListRef",(function(e){i.listRef=e})),x(S(i),"setItemsRef",(function(e,t){i.itemsRef||(i.itemsRef=[]),i.itemsRef[t]=e})),x(S(i),"autoPlay",(function(){r.Children.count(i.props.children)<=1||(i.clearAutoPlay(),i.props.autoPlay&&(i.timer=setTimeout((function(){i.increment()}),i.props.interval)))})),x(S(i),"clearAutoPlay",(function(){i.timer&&clearTimeout(i.timer)})),x(S(i),"resetAutoPlay",(function(){i.clearAutoPlay(),i.autoPlay()})),x(S(i),"stopOnHover",(function(){i.setState({isMouseEntered:!0},i.clearAutoPlay)})),x(S(i),"startOnLeave",(function(){i.setState({isMouseEntered:!1},i.autoPlay)})),x(S(i),"isFocusWithinTheCarousel",(function(){return!!i.carouselWrapperRef&&!((0,s.default)().activeElement!==i.carouselWrapperRef&&!i.carouselWrapperRef.contains((0,s.default)().activeElement))})),x(S(i),"navigateWithKeyboard",(function(e){if(i.isFocusWithinTheCarousel()){var t,n="horizontal"===i.props.axis,r,o,a,s,u,c=n?37:38;
vendor: 11,356 bytes, line 1
1(n?39:40)===e.keyCode?i.increment():c===e.keyCode&&i.decrement()}})),x(S(i),"updateSizes",(function(){if(i.state.initialized&&i.itemsRef&&0!==i.itemsRef.length){var e="horizontal"===i.props.axis,t=i.itemsRef[0];if(t){var n=e?t.clientWidth:t.clientHeight;i.setState({itemSize:n}),i.thumbsRef&&i.thumbsRef.updateSizes()}}})),x(S(i),"setMountState",(function(){i.setState({hasMount:!0}),i.updateSizes()})),x(S(i),"handleClickItem",(function(e,t){0!==r.Children.count(i.props.children)&&(i.state.cancelClick?i.setState({cancelClick:!1}):(i.props.onClickItem(e,t),e!==i.state.selectedItem&&i.setState({selectedItem:e})))})),x(S(i),"handleOnChange",(function(e,t){r.Children.count(i.props.children)<=1||i.props.onChange(e,t)})),x(S(i),"handleClickThumb",(function(e,t){i.props.onClickThumb(e,t),i.moveTo(e)})),x(S(i),"onSwipeStart",(function(e){i.setState({swiping:!0}),i.props.onSwipeStart(e)})),x(S(i),"onSwipeEnd",(function(e){i.setState({swiping:!1,cancelClick:!1,swipeMovementStarted:!1}),i.props.onSwipeEnd(e),i.clearAutoPlay(),i.state.autoPlay&&i.autoPlay()})),x(S(i),"onSwipeMove",(function(e,t){i.props.onSwipeMove(t);var n=i.props.swipeAnimationHandler(e,i.props,i.state,i.setState.bind(S(i)));return i.setState(m({},n)),!!Object.keys(n).length})),x(S(i),"decrement",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;i.moveTo(i.state.selectedItem-("number"===typeof e?e:1))})),x(S(i),"increment",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;i.moveTo(i.state.selectedItem+("number"===typeof e?e:1))})),x(S(i),"moveTo",(function(e){if("number"===typeof e){var t=r.Children.count(i.props.children)-1;e<0&&(e=i.props.infiniteLoop?t:0),e>t&&(e=i.props.infiniteLoop?0:t),i.selectItem({selectedItem:e}),i.state.autoPlay&&!1===i.state.isMouseEntered&&i.resetAutoPlay()}})),x(S(i),"onClickNext",(function(){i.increment(1)})),x(S(i),"onClickPrev",(function(){i.decrement(1)})),x(S(i),"onSwipeForward",(function(){i.increment(1),i.props.emulateTouch&&i.setState({cancelClick:!0})})),x(S(i),"onSwipeBackwards",(function(){i.decrement(1),i.props.emulateTouch&&i.setState({cancelClick:!0})})),x(S(i),"changeItem",(function(e){return function(t){(0,c.isKeyboardEvent)(t)&&"Enter"!==t.key||i.moveTo(e)}})),x(S(i),"selectItem",(function(e){i.setState(m({previousItem:i.state.selectedItem},e),(function(){i.setState(i.animationHandler(i.props,i.state))})),i.handleOnChange(e.selectedItem,r.Children.toArray(i.props.children)[e.selectedItem])})),x(S(i),"getInitialImage",(function(){var e=i.props.selectedItem,t=i.itemsRef&&i.itemsRef[e],n;return(t&&t.getElementsByTagName("img")||[])[0]})),x(S(i),"getVariableItemHeight",(function(e){var t=i.itemsRef&&i.itemsRef[e];if(i.state.hasMount&&t&&t.children.length){var n=t.children[0].getElementsByTagName("img")||[];if(n.length>0){var r=n[0];if(!r.complete){var o=function e(){i.forceUpdate(),r.removeEventListener("load",e)};r.addEventListener("load",o)}}var a,s=(n[0]||t.children[0]).clientHeight;return s>0?s:null}return null}));var o={initialized:!1,previousItem:e.selectedItem,selectedItem:e.selectedItem,hasMount:!1,isMouseEntered:!1,autoPlay:e.autoPlay,swiping:!1,swipeMovementStarted:!1,cancelClick:!1,itemSize:1,itemListStyle:{},slideStyle:{},selectedStyle:{},prevStyle:{}};return i.animationHandler="function"===typeof e.animationHandler&&e.animationHandler||"fade"===e.animationHandler&&l.fadeAnimationHandler||l.slideAnimationHandler,i.state=m(m({},o),i.animationHandler(e,o)),i}return w(n,[{key:"componentDidMount",value:function e(){this.props.children&&this.setupCarousel()}},{key:"componentDidUpdate",value:function e(t,n){t.children||!this.props.children||this.state.initialized||this.setupCarousel(),!t.autoFocus&&this.props.autoFocus&&this.forceFocus(),n.swiping&&!this.state.swiping&&this.setState(m({},this.props.stopSwipingHandler(this.props,this.state))),t.selectedItem===this.props.selectedItem&&t.centerMode===this.props.centerMode||(this.updateSizes(),this.moveTo(this.props.selectedItem)),t.autoPlay!==this.props.autoPlay&&(this.props.autoPlay?this.setupAutoPlay():this.destroyAutoPlay(),this.setState({autoPlay:this.props.autoPlay}))}},{key:"componentWillUnmount",value:function e(){this.destroyCarousel()}},{key:"setupCarousel",value:function e(){var t=this;this.bindEvents(),this.state.autoPlay&&r.Children.count(this.props.children)>1&&this.setupAutoPlay(),this.props.autoFocus&&this.forceFocus(),this.setState({initialized:!0},(function(){var e=t.getInitialImage();e&&!e.complete?e.addEventListener("load",t.setMountState):t.setMountState()}))}},{key:"destroyCarousel",value:function e(){this.state.initialized&&(this.unbindEvents(),this.destroyAutoPlay())}},{key:"setupAutoPlay",value:function e(){this.autoPlay();var t=this.carouselWrapperRef;this.props.stopOnHover&&t&&(t.addEventListener("mouseenter",this.stopOnHover),t.addEventListener("mouseleave",this.startOnLeave))}},{key:"destroyAutoPlay",value:function e(){this.clearAutoPlay();var t=this.carouselWrapperRef;this.props.stopOnHover&&t&&(t.removeEventListener("mouseenter",this.stopOnHover),t.removeEventListener("mouseleave",this.startOnLeave))}},{key:"bindEvents",value:function e(){(0,u.default)().addEventListener("resize",this.updateSizes),(0,u.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.props.useKeyboardArrows&&(0,s.default)().addEventListener("keydown",this.navigateWithKeyboard)}},{key:"unbindEvents",value:function e(){(0,u.default)().removeEventListener("resize",this.updateSizes),(0,u.default)().removeEventListener("DOMContentLoaded",this.updateSizes);var t=this.getInitialImage();t&&t.removeEventListener("load",this.setMountState),this.props.useKeyboardArrows&&(0,s.default)().removeEventListener("keydown",this.navigateWithKeyboard)}},{key:"forceFocus",value:function e(){var t;null===(t=this.carouselWrapperRef)||void 0===t||t.focus()}},{key:"renderItems",value:function e(t){var n=this;return this.props.children?r.Children.map(this.props.children,(function(e,i){var a=i===n.state.selectedItem,s=i===n.state.previousItem,u=a&&n.state.selectedStyle||s&&n.state.prevStyle||n.state.slideStyle||{};n.props.centerMode&&"horizontal"===n.props.axis&&(u=m(m({},u),{},{minWidth:n.props.centerSlidePercentage+"%"})),n.state.swiping&&n.state.swipeMovementStarted&&(u=m(m({},u),{},{pointerEvents:"none"}));var c={ref:function e(t){return n.setItemsRef(t,i)},key:"itemKey"+i+(t?"clone":""),className:o.default.ITEM(!0,i===n.state.selectedItem,i===n.state.previousItem),onClick:n.handleClickItem.bind(n,i,e),style:u};return r.default.createElement("li",c,n.props.renderItem(e,{isSelected:i===n.state.selectedItem,isPrevious:i===n.state.previousItem}))})):[]}},{key:"renderControls",value:function e(){var t=this,n=this.props,i=n.showIndicators,o=n.labels,a=n.renderIndicator,s=n.children;return i?r.default.createElement("ul",{className:"control-dots"},r.Children.map(s,(function(e,n){return a&&a(t.changeItem(n),n===t.state.selectedItem,n,o.item)}))):null}},{key:"renderStatus",value:function e(){return this.props.showStatus?r.default.createElement("p",{className:"carousel-status"},this.props.statusFormatter(this.state.selectedItem+1,r.Children.count(this.props.children))):null}},{key:"renderThumbs",value:function e(){return this.props.showThumbs&&this.props.children&&0!==r.Children.count(this.props.children)?r.default.createElement(a.default,{ref:this.setThumbsRef,onSelectItem:this.handleClickThumb,selectedItem:this.state.selectedItem,transitionTime:this.props.transitionTime,thumbWidth:this.props.thumbWidth,labels:this.props.labels,emulateTouch:this.props.emulateTouch},this.props.renderThumbs(this.props.children)):null}},{key:"render",value:function e(){var t=this;if(!this.props.children||0===r.Children.count(this.props.children))return null;var n=this.props.swipeable&&r.Children.count(this.props.children)>1,a="horizontal"===this.props.axis,s=this.props.showArrows&&r.Children.count(this.props.children)>1,u=s&&(this.state.selectedItem>0||this.props.infiniteLoop)||!1,c=s&&(this.state.selectedItem<r.Children.count(this.props.children)-1||this.props.infiniteLoop)||!1,l=this.renderItems(!0),f=l.shift(),p=l.pop(),h={className:o.default.SLIDER(!0,this.state.swiping),onSwipeMove:this.onSwipeMove,onSwipeStart:this.onSwipeStart,onSwipeEnd:this.onSwipeEnd,style:this.state.itemListStyle,tolerance:this.props.swipeScrollTolerance},d={};if(a){if(h.onSwipeLeft=this.onSwipeForward,h.onSwipeRight=this.onSwipeBackwards,this.props.dynamicHeight){var y=this.getVariableItemHeight(this.state.selectedItem);d.height=y||"auto"}}else h.onSwipeUp="natural"===this.props.verticalSwipe?this.onSwipeBackwards:this.onSwipeForward,h.onSwipeDown="natural"===this.props.verticalSwipe?this.onSwipeForward:this.onSwipeBackwards,h.style=m(m({},h.style),{},{height:this.state.itemSize}),d.height=this.state.itemSize;return r.default.createElement("div",{"aria-label":this.props.ariaLabel,className:o.default.ROOT(this.props.className),ref:this.setCarouselWrapperRef,tabIndex:this.props.useKeyboardArrows?0:void 0},r.default.createElement("div",{className:o.default.CAROUSEL(!0),style:{width:this.props.width}},this.renderControls(),this.props.renderArrowPrev(this.onClickPrev,u,this.props.labels.leftArrow),r.default.createElement("div",{className:o.default.WRAPPER(!0,this.props.axis),style:d},n?r.default.createElement(i.default,v({tagName:"ul",innerRef:this.setListRef},h,{allowMouseEvents:this.props.emulateTouch}),this.props.infiniteLoop&&p,this.renderItems(),this.props.infiniteLoop&&f):r.default.createElement("ul",{className:o.default.SLIDER(!0,this.state.swiping),ref:function e(n){return t.setListRef(n)},style:this.state.itemListStyle||{}},this.props.infiniteLoop&&p,this.renderItems(),this.props.infiniteLoop&&f)),this.props.renderArrowNext(this.onClickNext,c,this.props.labels.rightArrow),this.renderStatus()),this.renderThumbs())}}]),n}(r.default.Component);t.default=D,x(D,"displayName","Carousel"),x(D,"defaultProps",{ariaLabel:void 0,axis:"horizontal",centerSlidePercentage:80,interval:3e3,labels:{leftArrow:"previous slide / item",rightArrow:"next slide / item",item:"slide item"},onClickItem:c.noop,onClickThumb:c.noop,onChange:c.noop,onSwipeStart:function e(){},onSwipeEnd:function e(){},onSwipeMove:function e(){return!1},preventMovementUntilSwipeScrollTolerance:!1,renderArrowPrev:function e(t,n,i){return r.default.createElement("button",{type:"button","aria-label":i,className:o.default.ARROW_PREV(!n),onClick:t})},renderArrowNext:function e(t,n,i){return r.default.createElement("button",{type:"button","aria-label":i,className:o.default.ARROW_NEXT(!n),onClick:t})},renderIndicator:function e(t,n,i,a){return r.default.createElement("li",{className:o.default.DOT(n),onClick:t,onKeyDown:t,value:i,key:i,role:"button",tabIndex:0,"aria-label":"".concat(a," ").concat(i+1)})},renderItem:function e(t){return t},renderThumbs:function e(t){var n=r.Children.map(t,(function(e){var t=e;if("img"!==e.type&&(t=r.Children.toArray(e.props.children).find((function(e){return"img"===e.type}))),t)return t}));return 0===n.filter((function(e){return e})).length?(console.warn("No images found! Can't build the thumb list without images. If you don't need thumbs, set showThumbs={false} in the Carousel. Note that it's not possible to get images rendered inside custom components. More info at https://github.com/leandrowd/react-responsive-carou
1sel/blob/master/TROUBLESHOOTING.md"),[]):n},statusFormatter:c.defaultStatusFormatter,selectedItem:0,showArrows:!0,showIndicators:!0,showStatus:!0,showThumbs:!0,stopOnHover:!0,swipeScrollTolerance:5,swipeable:!0,transitionTime:350,verticalSwipe:"standard",width:"100%",animationHandler:"slide",swipeAnimationHandler:l.slideSwipeAnimationHandler,stopSwipingHandler:l.slideStopSwipingHandler})},98178:function(){},2058:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setPosition=t.getPosition=t.isKeyboardEvent=t.defaultStatusFormatter=t.noop=void 0;var r=n(56168),i=o(n(51686));function o(e){return e&&e.__esModule?e:{default:e}}var a=function e(){};t.noop=a;var s=function e(t,n){return"".concat(t," of ").concat(n)};t.defaultStatusFormatter=s;var u=function e(t){return!!t&&t.hasOwnProperty("key")};t.isKeyboardEvent=u;var c=function e(t,n){if(n.infiniteLoop&&++t,0===t)return 0;var i=r.Children.count(n.children);if(n.centerMode&&"horizontal"===n.axis){var o=-t*n.centerSlidePercentage,a=i-1;return t&&(t!==a||n.infiniteLoop)?o+=(100-n.centerSlidePercentage)/2:t===a&&(o+=100-n.centerSlidePercentage),o}return 100*-t};t.getPosition=c;var l=function e(t,n){var r={};return["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach((function(e){r[e]=(0,i.default)(t,"%",n)})),r};t.setPosition=l},63932:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(56168)),i=c(n(42344)),o=n(62781),a=c(n(51686)),s=c(n(4439)),u=c(n(19824));function c(e){return e&&e.__esModule?e:{default:e}}function l(){if("function"!==typeof WeakMap)return null;var e=new WeakMap;return l=function t(){return e},e}function f(e){if(e&&e.__esModule)return e;if(null===e||"object"!==p(e)&&"function"!==typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=r?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(n,i,o):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function p(e){return(p="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function e(t){return typeof t}:function e(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function m(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}function b(e,t){return(b=Object.setPrototypeOf||function e(t,n){return t.__proto__=n,t})(e,t)}function g(e){var t=k();return function n(){var r=O(e),i;if(t){var o=O(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return w(this,i)}}function w(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?E(e):t}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function e(t){return t.__proto__||Object.getPrototypeOf(t)})(e)}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S=function e(t){return t.hasOwnProperty("key")},T=function(e){m(n,e);var t=g(n);function n(e){var i;return d(this,n),_(E(i=t.call(this,e)),"itemsWrapperRef",void 0),_(E(i),"itemsListRef",void 0),_(E(i),"thumbsRef",void 0),_(E(i),"setItemsWrapperRef",(function(e){i.itemsWrapperRef=e})),_(E(i),"setItemsListRef",(function(e){i.itemsListRef=e})),_(E(i),"setThumbsRef",(function(e,t){i.thumbsRef||(i.thumbsRef=[]),i.thumbsRef[t]=e})),_(E(i),"updateSizes",(function(){if(i.props.children&&i.itemsWrapperRef&&i.thumbsRef){var e=r.Children.count(i.props.children),t=i.itemsWrapperRef.clientWidth,n=i.props.thumbWidth?i.props.thumbWidth:(0,o.outerWidth)(i.thumbsRef[0]),a=Math.floor(t/n),s=a<e,u=s?e-a:0;i.setState((function(e,t){return{itemSize:n,visibleItems:a,firstItem:s?i.getFirstItem(t.selectedItem):0,lastPosition:u,showArrows:s}}))}})),_(E(i),"handleClickItem",(function(e,t,n){if(!S(n)||"Enter"===n.key){var r=i.props.onSelectItem;"function"===typeof r&&r(e,t)}})),_(E(i),"onSwipeStart",(function(){i.setState({swiping:!0})}
1)),_(E(i),"onSwipeEnd",(function(){i.setState({swiping:!1})})),_(E(i),"onSwipeMove",(function(e){var t=e.x;if(!i.state.itemSize||!i.itemsWrapperRef||!i.state.visibleItems)return!1;var n=0,o=r.Children.count(i.props.children),s=-100*i.state.firstItem/i.state.visibleItems,u,c;0===s&&t>0&&(t=0),s===100*-Math.max(o-i.state.visibleItems,0)/i.state.visibleItems&&t<0&&(t=0);var l,f=s+100/(i.itemsWrapperRef.clientWidth/t);return i.itemsListRef&&["WebkitTransform","MozTransform","MsTransform","OTransform","transform","msTransform"].forEach((function(e){i.itemsListRef.style[e]=(0,a.default)(f,"%",i.props.axis)})),!0})),_(E(i),"slideRight",(function(e){i.moveTo(i.state.firstItem-("number"===typeof e?e:1))})),_(E(i),"slideLeft",(function(e){i.moveTo(i.state.firstItem+("number"===typeof e?e:1))})),_(E(i),"moveTo",(function(e){e=(e=e<0?0:e)>=i.state.lastPosition?i.state.lastPosition:e,i.setState({firstItem:e})})),i.state={selectedItem:e.selectedItem,swiping:!1,showArrows:!1,firstItem:0,visibleItems:0,lastPosition:0},i}return y(n,[{key:"componentDidMount",value:function e(){this.setupThumbs()}},{key:"componentDidUpdate",value:function e(t){this.props.selectedItem!==this.state.selectedItem&&this.setState({selectedItem:this.props.selectedItem,firstItem:this.getFirstItem(this.props.selectedItem)}),this.props.children!==t.children&&this.updateSizes()}},{key:"componentWillUnmount",value:function e(){this.destroyThumbs()}},{key:"setupThumbs",value:function e(){(0,u.default)().addEventListener("resize",this.updateSizes),(0,u.default)().addEventListener("DOMContentLoaded",this.updateSizes),this.updateSizes()}},{key:"destroyThumbs",value:function e(){(0,u.default)().removeEventListener("resize",this.updateSizes),(0,u.default)().removeEventListener("DOMContentLoaded",this.updateSizes)}},{key:"getFirstItem",value:function e(t){var n=t;return t>=this.state.lastPosition&&(n=this.state.lastPosition),t<this.state.firstItem+this.state.visibleItems&&(n=this.state.firstItem),t<this.state.firstItem&&(n=t),n}},{key:"renderItems",value:function e(){var t=this;return this.props.children.map((function(e,n){var o=i.default.ITEM(!1,n===t.state.selectedItem),a={key:n,ref:function e(r){return t.setThumbsRef(r,n)},className:o,onClick:t.handleClickItem.bind(t,n,t.props.children[n]),onKeyDown:t.handleClickItem.bind(t,n,t.props.children[n]),"aria-label":"".concat(t.props.labels.item," ").concat(n+1),style:{width:t.props.thumbWidth}};return r.default.createElement("li",h({},a,{role:"button",tabIndex:0}),e)}))}},{key:"render",value:function e(){var t=this;if(!this.props.children)return null;var n=r.Children.count(this.props.children)>1,o=this.state.showArrows&&this.state.firstItem>0,u=this.state.showArrows&&this.state.firstItem<this.state.lastPosition,c={},l=-this.state.firstItem*(this.state.itemSize||0),f=(0,a.default)(l,"px",this.props.axis),p=this.props.transitionTime+"ms";return c={WebkitTransform:f,MozTransform:f,MsTransform:f,OTransform:f,transform:f,msTransform:f,WebkitTransitionDuration:p,MozTransitionDuration:p,MsTransitionDuration:p,OTransitionDuration:p,transitionDuration:p,msTransitionDuration:p},r.default.createElement("div",{className:i.default.CAROUSEL(!1)},r.default.createElement("div",{className:i.default.WRAPPER(!1),ref:this.setItemsWrapperRef},r.default.createElement("button",{type:"button",className:i.default.ARROW_PREV(!o),onClick:function e(){return t.slideRight()},"aria-label":this.props.labels.leftArrow}),n?r.default.createElement(s.default,{tagName:"ul",className:i.default.SLIDER(!1,this.state.swiping),onSwipeLeft:this.slideLeft,onSwipeRight:this.slideRight,onSwipeMove:this.onSwipeMove,onSwipeStart:this.onSwipeStart,onSwipeEnd:this.onSwipeEnd,style:c,innerRef:this.setItemsListRef,allowMouseEvents:this.props.emulateTouch},this.renderItems()):r.default.createElement("ul",{className:i.default.SLIDER(!1,this.state.swiping),ref:function e(n){return t.setItemsListRef(n)},style:c},this.renderItems()),r.default.createElement("button",{type:"button",className:i.default.ARROW_NEXT(!u),onClick:function e(){return t.slideLeft()},"aria-label":this.props.labels.rightArrow})))}}]),n}(r.Component);t.default=T,_(T,"displayName","Thumbs"),_(T,"defaultProps",{axis:"horizontal",labels:{leftArrow:"previous slide / item",rightArrow:"next slide / item",item:"slide item"},selectedItem:0,thumbWidth:80,transitionTime:350})},42344:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(60113));function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a={ROOT:function e(t){return(0,r.default)(o({"carousel-root":!0},t||"",!!t))},CAROUSEL:function e(t){return(0,r.default)({carousel:!0,"carousel-slider":t})},WRAPPER:function e(t,n){return(0,r.default)({"thumbs-wrapper":!t,"slider-wrapper":t,"axis-horizontal":"horizontal"===n,"axis-vertical":"horizontal"!==n})},SLIDER:function e(t,n){return(0,r.default)({thumbs:!t,slider:t,animated:!n})},ITEM:function e(t,n,i){return(0,r.default)({thumb:!t,slide:t,selected:n,previous:i})},ARROW_PREV:function e(t){return(0,r.default)({"control-arrow control-prev":!0,"control-disabled":t})},ARROW_NEXT:function e(t){return(0,r.default)({"control-arrow control-next":!0,"control-disabled":t})},DOT:function e(t){return(0,r.default)({dot:!0,selected:t})}};t.default=a},62781:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.outerWidth=void 0;var n=function e(t){var n=t.offsetWidth,r=getComputedStyle(t);return n+=parseInt(r.marginLeft)+parseInt(r.marginRight)};t.outerWidth=n},87508:function(e,t,n){"use strict";var r;r={value:!0},Object.defineProperty(t,"lr",{enumerable:!0,get:function e(){return i.default}}),r={enumerable:!0,get:function e(){return o.CarouselProps}},r={enumerable:!0,get:function e(){return a.default}};var i=s(n(4121)),o=n(98178),a=s(n(63932));function s(e){return e&&e.__esModule?e:{default:e}}},58512:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function e(){return document};t.default=n},19824:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function e(){return window};t.default=n},60113:function(e,t){var n,r;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,a(n)))}return e}function a(e){if("string"===typeof e||"number"===typeof e)return e;if("object"!==typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,n=[]))||(e.exports=r)}()},98522:function(e,t,n){"use strict";n.d(t,{h:function(){return Le}});var r=n(47925),i=n(76104),o=n(21139),a=n(68815),s=n(82746),u=n(32350),c=n(31975),l=n(7528),f=n(47039),p=n(10184),h=n(68624),d=n(94252),v=n(59016),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.re)(s.Yk,{max:u.Q["cache.fragmentQueryDocuments"]||1e3,cache:p.k})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t=this,n="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0,r;return this.performTransaction((function(){return r=e.update(t)}),n),r},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.pi)((0,r.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t=this,n=e.fragment,o=e.fragmentName,a=e.from,s=e.optimistic,u=void 0===s||s,p=(0,r._T)(e,["fragment","fragmentName","from","optimistic"]),h=this.getFragmentDoc(n,o),y="undefined"===typeof a||"string"===typeof a?a:this.identify(a),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var b=o||(0,c.pD)(n).name.value;y||!1!==globalThis.__DEV__&&i.kG.warn(1,b)}var g=(0,r.pi)((0,r.pi)({},p),{returnPartialData:!0,id:y,query:h,optimistic:u}),w;return new l.y((function(i){return t.watch((0,r.pi)((0,r.pi)({},g),{immediate:!0,callback:function(a){var s=m?(0,v.r)(a.result,n,t,o):a.result;if(!w||!(0,d.W)(h,{data:w.result},{data:s},e.variables)){var u={data:s,complete:!!a.complete};a.missing&&(u.missing=(0,f.bw)(a.missing.map((function(e){return e.missing})))),w=(0,r.pi)((0,r.pi)({},a),{result:s}),i.next(u)}}}))}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.pi)((0,r.pi)({},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._T)(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,a=(0,r._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{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.pi)((0,r.pi)({},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.pi)((0,r.pi)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=h.Kb);var m=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,r.ZT)(t,e),t}(Error),b=n(73678),g=n(40644),w=n(51439),E=n(84031),k=n(257),O=n(94816),_=n(54410),S=n(55550),T=n(99542),I=n(29442),x=n(50539),D=n(53553),N=n(62718),R=Object.prototype.hasOwnProperty;function C(e){return null===e||void 0===e}function P(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"===typeof n&&(t&&(t.keyObject=C(r)?C(i)?void 0:{_id:i}:{id:r}),C(r)&&!C(i)&&(r=i),!C(r)))return"".concat(n,":").concat("number"===typeof r||"string"===typeof r?r:JSON.stringify(r))}var A={dataIdFromObject:P,addTypename:!0,resultCaching:!0,canonizeResults:!1};function M(e){return(0,S.o)(A,e)}function F(e){var t=e.canonizeResults;return void 0===t?A.canonizeResults:t}function j(e,t){return(0,k.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var L=/^[_a-z][_0-9a-z]*/i;function V(e){var t=e.match(L);return t?t[0]:e}function q(e,t,n){return!!(0,x.s)(t)&&((0,N.k)(t)?t.every((function(t){return q(e,t,n)})):e.selections.every((function(e){if((0,k.My)(e)&&(0,T.LZ)(e,n)){var r=(0,k.u2)(e);return R.call(t,r)&&(!e.selectionSet||q(e.selectionSet,t[r],n))}return!0})))}function Q(e){return(0,x.s)(e)&&!(0,k.Yk)(e)&&!(0,N.k)(e)}function z(){return new f.w0}function B(e,t){var n=(0,s.F)((0,c.kU)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}var U=Object.create(null),W=function(){return U},G=Object.create(null),K=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,I.J)((0,k.Yk)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,k.Yk)(e)?n.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return(0,k.kQ)(e);if((0,k.Yk)(e))return e;var r=n.policies.identify(e)[0];
1if(r){var i=(0,k.kQ)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,r.pi)({},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),R.call(this.data,e)){var n=this.data[e];if(n&&R.call(n,t))return n[t]}return"__typename"===t&&R.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof J?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),R.call(this.data,e)?this.data[e]:this instanceof J?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n=this,r;(0,k.Yk)(e)&&(e=e.__ref),(0,k.Yk)(t)&&(t=t.__ref);var o="string"===typeof e?this.lookup(r=e):e,a="string"===typeof t?this.lookup(r=t):t;if(a){(0,i.kG)("string"===typeof r,2);var s=new f.w0(Z).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach((function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=V(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof J||delete s[e]}})),!u.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete u.__typename,Object.keys(u).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var n=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,u=!0,c={DELETE:U,INVALIDATE:G,isReference:k.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"===typeof t?{fieldName:t,from:r||(0,k.kQ)(e)}:t,{store:n})}};if(Object.keys(o).forEach((function(l){var f=V(l),p=o[l];if(void 0!==p){var h="function"===typeof t?t:t[l]||t[f];if(h){var d=h===W?U:h((0,I.J)(p),(0,r.pi)((0,r.pi)({},c),{fieldName:f,storeFieldName:l,storage:n.getStorage(e,l)}));if(d===G)n.group.dirty(e,l);else if(d===U&&(d=void 0),d!==p&&(a[l]=d,s=!0,p=d,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===n.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.kG.warn(3,e),!0};if((0,k.Yk)(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,b=0,g=d;b<g.length;b++){var w=g[b],E;if((0,k.Yk)(w)){if(y=!0,v(w))break}else if("object"===typeof w&&w)n.policies.identify(w)[0]&&(m=w);if(y&&void 0!==m){!1!==globalThis.__DEV__&&i.kG.warn(4,m);break}}}}void 0!==p&&(u=!1)}})),s)return this.merge(e,a),u&&(this instanceof J?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"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=W,r):W)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(R.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof J&&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){R.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&&R.call(e,n)||t.delete(n)})),e){var n=e.__META,i=(0,r._T)(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 J?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){R.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 J;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},e.prototype.findChildRefIds=function(e){if(!R.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,k.Yk)(e)&&(t[e.__ref]=!0),(0,x.s)(e)&&Object.keys(e).forEach((function(t){var n=e[t];(0,x.s)(n)&&r.add(n)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),Y=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.dP)():null,this.keyMaker=new D.B(_.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d($(e,t));var n=V(t);n!==t&&this.d($(e,n)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty($(e,t),"__exists"===t?"forget":"setDirty")},e}();function $(e,t){return t+"#"+e}function H(e,t){ee(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,a=e.call(this,n,new Y(i))||this;return a.stump=new X(a),a.storageTrie=new D.B(_.mr),o&&a.replace(o),a}return(0,r.ZT)(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}(K||(K={}));var J=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.ZT)(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,a.D)(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.pi)((0,r.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return R.call(this.data,t)?(0,r.pi)((0,r.pi)({},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}(K),X=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new Y(t.group.caching,t.group))||this}return(0,r.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(J);function Z(e,t,n){var r=e[n],i=t[n];return(0,a.D)(r,i)?r:i}function ee(e){return!!(e instanceof K&&e.group.caching)}function te(e){return(0,x.s)(e)?(0,N.k)(e)?e.slice(0):(0,r.pi)({__proto__:Object.getPrototypeOf(e)},e):e}var ne=function(){function e(){this.known=new(_.sy?WeakSet:Set),this.pool=new D.B(_.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,x.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,x.s)(e)){var t=te(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,x.s)(e)){var n=this.passes.get(e),r;if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var i=e.map(this.admit,this),o;return(o=this.pool.lookupArray(i)).array||(this.known.add(o.array=i),!1!==globalThis.__DEV__&&Object.freeze(i)),o.array;case null:case Object.prototype:if(this.known.has(e))return e;var a=Object.getPrototypeOf(e),s=[a],u=this.sortedKeys(e);s.push(u.json);var c=s.length,o;if(u.sorted.forEach((function(n){s.push(t.admit(e[n]))})),!(o=this.pool.lookupArray(s)).object){var l=o.object=Object.create(a);this.known.add(l),u.sorted.forEach((function(e,t){l[e]=s[c+t]})),!1!==globalThis.__DEV__&&Object.freeze(l)}return o.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 re(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var ie=function(){function e(e){var t=this;this.knownResults=new(_.mr?WeakMap:Map),this.config=(0,S.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:F(e)}),this.canon=e.canon||new ne,this.executeSelectionSet=(0,o.re)((function(e){var n,i=e.context.canonizeResults,o=re(e);o[3]=!i;var a=(n=t.executeSelectionSet).peek.apply(n,o);return a?i?(0,r.pi)((0,r.pi)({},a),{result:t.canon.admit(a.result)}):a:(H(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize||u.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:re,makeCacheKey:function(e,t,n,r){if(ee(n.store))return n.store.makeCacheKey(e,(0,k.Yk)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,o.re)((function(e){return H(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize||u.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if(ee(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new ne},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,u=void 0===s||s,l=e.canonizeResults,f=void 0===l?this.config.canonizeResults:l,p=this.config.cache.policies;a=(0,r.pi)((0,r.pi)({},(0,c.O4)((0,c.iW)(n))),a);var h=(0,k.kQ)(o),d=this.executeSelectionSet({selectionSet:(0,c.p$)(n).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,r.pi)({store:t,query:n,policies:p,variables:a,varString:(0,w.B)(a),canonizeResults:f},B(n,this.config.fragments))}),v;if(d.missing&&(v=[new m(oe(d.missing),d.missing,n,a)],!u))throw v[0];return{result:d.result,complete:!v,missing:v}},e.prototype.isFresh=function(e,t,n,r){if(ee(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,a=e.context;if((0,k.Yk)(r)&&!a.policies.rootTypenamesById[r.__ref]&&!a.store.has(r.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(r.__ref," object")};var u=a.variables,c=a.policies,l,p=a.store.getFieldValue(r,"__typename"),h=[],d,v=new f.w0;function y(e,t){var n;return e.missing&&(d=v.merge(d,((n={})[t]=e.missing,n))),e.result}this.config.addTypename&&"string"===typeof p&&!c.rootIdsByTypename[p]&&h.push({__typename:p});var m=new Set(n.selections);m.forEach((function(e){var n,l;if((0,T.LZ)(e,u))if((0,k.My)(e)){var f=c.readField({fieldName:e.n
1ame.value,field:e,variables:a.variables,from:r},a),b=(0,k.u2)(e);void 0===f?g.Gw.added(e)||(d=v.merge(d,((n={})[b]="Can't find field '".concat(e.name.value,"' on ").concat((0,k.Yk)(r)?r.__ref+" object":"object "+JSON.stringify(r,null,2)),n))):(0,N.k)(f)?f.length>0&&(f=y(t.executeSubSelectedArray({field:e,array:f,enclosingRef:o,context:a}),b)):e.selectionSet?null!=f&&(f=y(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:f,enclosingRef:(0,k.Yk)(f)?f:o,context:a}),b)):a.canonizeResults&&(f=t.canon.pass(f)),void 0!==f&&h.push(((l={})[b]=f,l))}else{var w=(0,s.hi)(e,a.lookupFragment);if(!w&&e.kind===O.h.FRAGMENT_SPREAD)throw(0,i._K)(10,e.name.value);w&&c.fragmentMatches(w,p)&&w.selectionSet.selections.forEach(m.add,m)}}));var b,w={result:(0,f.bw)(h),missing:d},E=a.canonizeResults?this.canon.admit(w):(0,I.J)(w);return E.result&&this.knownResults.set(E.result,n),E},e.prototype.execSubSelectedArrayImpl=function(e){var t=this,n=e.field,r=e.array,i=e.enclosingRef,o=e.context,a,s=new f.w0;function u(e,t){var n;return e.missing&&(a=s.merge(a,((n={})[t]=e.missing,n))),e.result}return n.selectionSet&&(r=r.filter(o.store.canRead)),r=r.map((function(e,r){return null===e?null:(0,N.k)(e)?u(t.executeSubSelectedArray({field:n,array:e,enclosingRef:i,context:o}),r):n.selectionSet?u(t.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,k.Yk)(e)?e:i,context:o}),r):(!1!==globalThis.__DEV__&&ae(o.store,n,e),e)})),{result:o.canonizeResults?this.canon.admit(r):r,missing:a}},e}();function oe(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}function ae(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach((function(n){(0,x.s)(n)&&((0,i.kG)(!(0,k.Yk)(n),11,j(e,n),t.name.value),Object.values(n).forEach(r.add,r))}))}}var se=n(3793),ue=n(67742),ce=n(552),le=Object.create(null);function fe(e){var t=JSON.stringify(e);return le[t]||(le[t]=Object.create(null))}function pe(e){var t=fe(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=de(e,(function(e){var o=me(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&R.call(t,e[0])&&(o=me(t,e,ye)),(0,i.kG)(void 0!==o,5,e.join("."),t),o}));return"".concat(n.typename,":").concat(JSON.stringify(o))})}function he(e){var t=fe(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,o=n.fieldName,a=de(e,(function(e){var n=e[0],o=n.charAt(0);if("@"!==o)if("$"!==o){if(t)return me(t,e)}else{var a=n.slice(1);if(i&&R.call(i,a)){var s=e.slice(0);return s[0]=a,me(i,s)}}else if(r&&(0,N.O)(r.directives)){var u=n.slice(1),c=r.directives.find((function(e){return e.name.value===u})),l=c&&(0,k.NC)(c,i);return l&&me(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(o+=":"+s),o})}function de(e,t){var n=new f.w0;return ve(e).reduce((function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e}),Object.create(null))}function ve(e){var t=fe(e);if(!t.paths){var n=t.paths=[],r=[];e.forEach((function(t,i){(0,N.k)(t)?(ve(t).forEach((function(e){return n.push(r.concat(e))})),r.length=0):(r.push(t),(0,N.k)(e[i+1])||(n.push(r.slice(0)),r.length=0))}))}return t.paths}function ye(e,t){return e[t]}function me(e,t,n){return n=n||ye,be(t.reduce((function e(t,r){return(0,N.k)(t)?t.map((function(t){return e(t,r)})):t&&n(t,r)}),e))}function be(e){return(0,x.s)(e)?(0,N.k)(e)?e.map(be):de(Object.keys(e).sort(),(function(t){return me(e,t)})):e}var ge=n(82361);function we(e){return void 0!==e.args?e.args:e.field?(0,k.NC)(e.field,e.variables):null}var Ee=function(){},ke=function(e,t){return t.fieldName},Oe=function(e,t,n){var r;return(0,n.mergeObjects)(e,t)},_e=function(e,t){return t},Se=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.pi)({dataIdFromObject:P},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"];var a=t&&t.storeObject||e,s=(0,r.pi)((0,r.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=Ie(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u,c=o&&this.getTypePolicy(o),l=c&&c.keyFn||this.config.dataIdFromObject;return ge.Os.withValue(!0,(function(){for(;l;){var t=l((0,r.pi)((0,r.pi)({},e),a),s);if(!(0,N.k)(t)){u=t;break}l=pe(t)}})),u=u?String(u):void 0,s.keyObject?[u,s.keyObject]:[u]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var i=e[n],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=(0,r._T)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),R.call(t.toBeAdded,n)?t.toBeAdded[n].push(u):t.toBeAdded[n]=[u]}))},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"===typeof t?t:!0===t?Oe:!1===t?_e:e.merge}a(r,t.merge),r.keyFn=!1===i?Ee:(0,N.k)(i)?pe(i):"function"===typeof i?i:r.keyFn,o&&Object.keys(o).forEac
1h((function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"===typeof i)r.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;r.keyFn=!1===s?ke:(0,N.k)(s)?he(s):"function"===typeof s?s:r.keyFn,"function"===typeof u&&(r.read=u),a(r,c)}r.read&&r.merge&&(r.keyFn=r.keyFn||ke)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,i.kG)(!r||r===e,6,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(L);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!R.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,a=(0,r._T)(i,["fields"]);Object.assign(n,a),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 o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},l=!(!n||!this.fuzzySubtypes.size),f=!1,p=0;p<u.length;++p){var h=u[p];if(h.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.kG.warn(7,t,a),s.add(a)),!0;h.forEach(c),l&&p===u.length-1&&q(e.selectionSet,n,r)&&(l=!1,f=!0,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=e.typename,n=e.fieldName,r=this.getFieldPolicy(t,n,!1),i,o=r&&r.keyFn;if(o&&t)for(var a={typename:t,fieldName:n,field:e.field||null,variables:e.variables},s=we(e);o;){var u=o(s,a);if(!(0,N.k)(u)){i=u||n;break}o=he(u)}return void 0===i&&(i=e.field?(0,k.vf)(e.field,e.variables):(0,k.PT)(n,we(e))),!1===i?n:n===V(i)?i:n+":"+i},e.prototype.readField=function(e,t){var n=e.from,r;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var i=t.store.getFieldValue(n,"__typename");i&&(e.typename=i)}var o=this.getStoreFieldName(e),a=V(o),s=t.store.getFieldValue(n,o),u=this.getFieldPolicy(e.typename,a,!1),c=u&&u.read;if(c){var l=Te(this,n,e,t,t.store.getStorage((0,k.Yk)(n)?n.__ref:n,o));return ce.ab.withValue(this.cache,c,[s,l])}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,a=n.typename,s=n.merge;return s===Oe?xe(r.store)(e,t):s===_e?t:(r.overwrite&&(e=void 0),s(e,t,Te(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function Te(e,t,n,r,i){var o=e.getStoreFieldName(n),a=V(o),s=n.variables||r.variables,u=r.store,c=u.toReference,l=u.canRead;return{args:we(n),field:n.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:k.Yk,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(Ie(arguments,t,s),r)},mergeObjects:xe(r.store)}}function Ie(e,t,n){var o=e[0],a=e[1],s=e.length,u;return"string"===typeof o?u={fieldName:o,from:s>1?a:t}:(u=(0,r.pi)({},o),R.call(u,"from")||(u.from=t)),!1!==globalThis.__DEV__&&void 0===u.from&&!1!==globalThis.__DEV__&&i.kG.warn(8,(0,ue.v)(Array.from(e))),void 0===u.variables&&(u.variables=n),u}function xe(e){return function t(n,o){if((0,N.k)(n)||(0,N.k)(o))throw(0,i._K)(9);
1if((0,x.s)(n)&&(0,x.s)(o)){var a=e.getFieldValue(n,"__typename"),s=e.getFieldValue(o,"__typename"),u;if(a&&s&&a!==s)return o;if((0,k.Yk)(n)&&Q(o))return e.merge(n.__ref,o),n;if(Q(n)&&(0,k.Yk)(o))return e.merge(n,o.__ref),o;if(Q(n)&&Q(o))return(0,r.pi)((0,r.pi)({},n),o)}return o}}function De(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.pi)((0,r.pi)({},e),{clientOnly:t,deferred:n})),o}var Ne=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,a=t.result,s=t.dataId,u=t.variables,l=t.overwrite,f=(0,c.$H)(o),p=z();u=(0,r.pi)((0,r.pi)({},(0,c.O4)(f)),u);var h=(0,r.pi)((0,r.pi)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:u,varString:(0,w.B)(u)},B(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),d=this.processSelectionSet({result:a||Object.create(null),dataId:s,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,k.Yk)(d))throw(0,i._K)(12,a);return h.incomingById.forEach((function(t,r){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=(0,k.kQ)(r);if(o&&o.map.size){var u=n.applyMerges(o,s,i,h);if((0,k.Yk)(u))return;i=u}if(!1!==globalThis.__DEV__&&!h.overwrite){var c=Object.create(null);a.forEach((function(e){e.selectionSet&&(c[e.name.value]=!0)}));var l=function(e){return!0===c[V(e)]},f=function(e){var t=o&&o.map.get(e);return Boolean(t&&t.info&&t.info.merge)};
1Object.keys(i).forEach((function(e){l(e)&&!f(e)&&je(s,i,e,h.store)}))}e.merge(r,i)})),e.retain(d.__ref),d},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=n&&c.rootTypenamesById[n]||(0,k.qw)(o,a,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"===typeof f&&(l.__typename=f);var p=function(){var e=Ie(arguments,l,s.variables);if((0,k.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var n=c.readField((0,r.pi)((0,r.pi)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return c.readField(e,s)},h=new Set;this.flattenFields(a,o,s,f).forEach((function(e,n){var r,a=(0,k.u2)(n),s=o[a];if(h.add(n),void 0!==s){var d=c.getStoreFieldName({typename:f,fieldName:n.name.value,field:n,variables:e.variables}),v=Ce(u,d),y=t.processFieldValue(s,n,n.selectionSet?De(e,!1,!1):e,v),m=void 0;n.selectionSet&&((0,k.Yk)(y)||Q(y))&&(m=p("__typename",y));var b=c.getMergeFunction(f,n.name.value,m);b?v.info={field:n,typename:f,merge:b}:Me(u,d),l=e.merge(l,((r={})[d]=y,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||g.Gw.added(n)||c.getReadFunction(f,n.name.value)||!1!==globalThis.__DEV__&&i.kG.error(13,(0,k.u2)(n),o)}));try{var d=c.identify(o,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:l,readField:p}),v=d[0],y=d[1];n=n||v,y&&(l=s.merge(l,y))}catch(E){if(!n)throw E}if("string"===typeof n){var m=(0,k.kQ)(n),b=s.written[n]||(s.written[n]=[]);if(b.indexOf(a)>=0)return m;if(b.push(a),this.reader&&this.reader.isFresh(o,m,a,s))return m;var w=s.incomingById.get(n);return w?(w.storeObject=s.merge(w.storeObject,l),w.mergeTree=Pe(w.mergeTree,u),h.forEach((function(e){return w.fieldNodeSet.add(e)}))):s.incomingById.set(n,{storeObject:l,mergeTree:Ae(u)?void 0:u,fieldNodeSet:h}),m}return l},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,N.k)(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,n,Ce(r,o));return Me(r,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,se.X)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,k.qw)(t,e,n.fragmentMap));var o=new Map,a=this.cache.policies,u=new D.B(!1);return function e(c,l){var f=u.lookup(c,l.clientOnly,l.deferred);f.visited||(f.visited=!0,c.selections.forEach((function(u){if((0,T.LZ)(u,n.variables)){var c=l.clientOnly,f=l.deferred;if(c&&f||!(0,N.O)(u.directives)||u.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var r=(0,k.NC)(e,n.variables);r&&!1===r.if||(f=!0)}})),(0,k.My)(u)){var p=o.get(u);p&&(c=c&&p.clientOnly,f=f&&p.deferred),o.set(u,De(n,c,f))}else{var h=(0,s.hi)(u,n.lookupFragment);if(!h&&u.kind===O.h.FRAGMENT_SPREAD)throw(0,i._K)(14,u.name.value);h&&a.fragmentMatches(h,r,t,n.variables)&&e(h.selectionSet,De(n,c,f))}}})))}(e,n),o},e.prototype.applyMerges=function(e,t,n,o,a){var s,u=this;if(e.map.size&&!(0,k.Yk)(n)){var c=(0,N.k)(n)||!(0,k.Yk)(t)&&!Q(t)?void 0:t,l=n,f;c&&!a&&(a=[(0,k.Yk)(c)?c.__ref:c]);var p=function(e,t){return(0,N.k)(e)?"number"===typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var n=p(c,t),r=p(l,t);if(void 0!==r){a&&a.push(t);var s=u.applyMerges(e,n,r,o,a);s!==r&&(f=f||new Map).set(t,s),a&&(0,i.kG)(a.pop()===t)}})),f&&(n=(0,N.k)(l)?l.slice(0):(0,r.pi)({},l),f.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,o,a&&(s=o.store).getStorage.apply(s,a)):n},e}(),Re=[];function Ce(e,t){var n=e.map;return n.has(t)||n.set(t,Re.pop()||{map:new Map}),n.get(t)}function Pe(e,t){if(e===t||!t||Ae(t))return e;if(!e||Ae(e))return t;var n=e.info&&t.info?(0,r.pi)((0,r.pi)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o,a={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){a.map.set(n,Pe(e,t.map.get(n))),s.delete(n)})),s.forEach((function(n){a.map.set(n,Pe(t.map.get(n),e.map.get(n)))}))}return a}function Ae(e){return!e||!(e.info||e.map.size)}function Me(e,t){var n=e.map,r=n.get(t);r&&Ae(r)&&(Re.push(r),n.delete(t))}var Fe=new Set;function je(e,t,n,o){var s=function(e){var t=o.getFieldValue(e,n);return"object"===typeof t&&t},u=s(e);if(u){var c=s(t);if(c&&!(0,k.Yk)(u)&&!(0,a.D)(u,c)&&!Object.keys(u).every((function(e){return void 0!==o.getFieldValue(c,e)}))){var l=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=V(n),p="".concat(l,".").concat(f);if(!Fe.has(p)){Fe.add(p);var h=[];
1(0,N.k)(u)||(0,N.k)(c)||[u,c].forEach((function(e){var t=o.getFieldValue(e,"__typename");"string"!==typeof t||h.includes(t)||h.push(t)})),!1!==globalThis.__DEV__&&i.kG.warn(15,f,l,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",p,(0,r.pi)({},u),(0,r.pi)({},c))}}}}var Le=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new b.A(g.Gw),n.assumeImmutableResults=!0,n.makeVar=ce.QS,n.txCount=0,n.config=M(t),n.addTypename=!!n.config.addTypename,n.policies=new Se({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.ZT)(t,e),t.prototype.init=function(){var e=this.data=new K.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 Ne(this,this.storeReader=new ie({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:F(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,o.re)((function(e,n){return t.broadcastWatch(e,n)}),{max:this.config.resultCacheMaxSize||u.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if(ee(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,w.B)({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.pi)((0,r.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:n})).result||null}catch(i){if(i instanceof m)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(R.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.pi)((0,r.pi)({},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,ce._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,ce.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;w.B.reset(),E.S.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,k.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&i.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(R.call(e,"id"))return!1;e=(0,r.pi)((0,r.pi)({},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(),w.B.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,ce.li)(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=this,n=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,u,c=function(e){var r=t,i=r.data,o=r.optimisticData;++t.txCount,e&&(t.data=t.optimisticData=e);try{return u=n(t)}finally{--t.txCount,t.data=i,t.optimisticData=o}},l=new Set;return s&&!this.txCount&&this.broadcastWatches((0,r.pi)((0,r.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"===typeof o?this.optimisticData=this.optimisticData.addLayer(o,c):!1===o?c(this.data):c(),"string"===typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&l.size?(this.broadcastWatches((0,r.pi)((0,r.pi)({},e),{onWatchUpdated:function(e,t){var n=s.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach((function(e){return t.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),u},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.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;
1this.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,a.D)(n.result,r.result)||e.callback(e.lastDiff=r,n)},t}(y);!1!==globalThis.__DEV__&&(Le.prototype.getMemoryInternals=h.q4)},552:function(e,t,n){"use strict";n.d(t,{ab:function(){return i},li:function(){return s},_v:function(){return u},QS:function(){return c}});var r=n(21139),i=new r.g7,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,r.dP)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function u(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function c(e){var t=new Set,n=new Set,r=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(r),l(e)}));var u=Array.from(n);n.clear(),u.forEach((function(t){return t(e)}))}}else{var c=i.getValue();c&&(o(c),a(c).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),a(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function l(e){e.broadcastWatches&&e.broadcastWatches()}},73853:function(e,t,n){"use strict";n.d(t,{f:function(){return _e}});var r=n(47925),i=n(76104),o=n(74929),a=o.i.execute,s=n(17972),u=n(3566),c=n(68815),l=n(1613),f=n(99542),p=n(40644),h=n(82746),d=n(51439),v=n(73678),y=n(7528);function m(e,t,n){return new y.y((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 a={next:o(t,"next"),error:o(n,"error"),complete:function(){i.then((function(){return r.complete()}))}},s=e.subscribe(a);return function(){return s.unsubscribe()}}))}var b=n(62718);function g(e){var t=w(e);return(0,b.O)(t)}function w(e){var t=(0,b.O)(e.errors)?e.errors.slice(0):[];return(0,l.GG)(e)&&(0,b.O)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var E=n(31975),k=n(257),O=n(50539),_=n(20182);function S(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}var T=n(54410);function I(e){function t(t){Object.defineProperty(e,t,{value:y.y})}return T.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function x(e){return e&&"function"===typeof e.then}var D=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),S(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),S(n.observers,"error",e))},complete:function(){var e=n,t=e.sub,r=e.sources,i;if(null!==t){var o=(void 0===r?[]:r).shift();o?x(o)?o.then((function(e){return n.sub=e.subscribe(n.handlers)}),n.handlers.error):n.sub=o.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"),S(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.y(t)]),x(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,r.ZT)(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.y);I(D);var N=n(89225),R;function C(e){return!!e&&e<7}function P(e){return 7===e||8===e}!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={}));var A=n(55550),M=n(3793);function F(e){return e.catch((function(){})),e}var j=n(94252),L=n(21139),V=Object.assign,q=Object.hasOwnProperty,Q=function(e){function t(n){var i=n.queryManager,o=n.queryInfo,a=n.options,s=this,u=t.inactiveOnCreation.getValue();(s=e.call(this,(function(e){u&&(i.queries.set(s.queryId,o),u=!1);try{var t=e._subscription._observer;t&&!t.error&&(t.error=z)}catch(n){}var r=!s.observers.size;s.observers.add(e);var a=s.last;return a&&a.error?e.error&&e.error(a.error):a&&a.result&&e.next&&e.next(s.maskResult(a.result)),r&&s.reobserve().catch((function(){})),function(){s.observers.delete(e)&&!s.observers.size&&s.tearDownQuery()}}))||this).observers=new Set,s.subscriptions=new Set,s.dirty=!1,s.queryInfo=o,s.queryManager=i,s.waitForOwnResult=U(a.fetchPolicy),s.isTornDown=!1,s.subscribeToMore=s.subscribeToMore.bind(s),s.maskResult=s.maskResult.bind(s);var c=i.defaultOptions.watchQuery,l,f=(void 0===c?{}:c).fetchPolicy,p=void 0===f?"cache-first":f,h=a.fetchPolicy,d=void 0===h?p:h,v=a.initialFetchPolicy,y=void 0===v?"standby"===d?p:d:v;s.options=(0,r.pi)((0,r.pi)({},a),{initialFetchPolicy:y,fetchPolicy:d}),s.queryId=o.queryId||i.generateQueryId();var m=(0,E.$H)(s.query);return s.queryName=m&&m.name&&m.name.value,s}return(0,r.ZT)(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.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||R.ready,i=(0,r.pi)((0,r.pi)({},t),{loading:C(n),networkStatus:n}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if(U(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,c.D)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,!s.complete||i.networkStatus!==R.loading||"cache-first"!==a&&"cache-only"!==a||(i.networkStatus=R.ready,i.loading=!1)):i.partial=!0,i.networkStatus===R.ready&&(i.error||i.errors)&&(i.networkStatus=R.error),!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||B(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var n=this.queryManager.getDocumentInfo(this.query),r=this.queryManager.dataMasking,i=r?n.nonReactiveQuery:this.query,o;return(r||n.hasNonreactiveDirective?!(0,j.W)(i,this.last.result,e,this.variables):!(0,c.D)(this.last.result,e))||t&&!(0,c.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,c.D)(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,n={pollInterval:0},o=this.options.fetchPolicy;if(n.fetchPolicy="no-cache"===o?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&q.call(e,"variables")){var a=(0,E.iW)(this.query),s=a.variableDefinitions;s&&s.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&i.kG.warn(21,e,(null===(t=a.name)||void 0===t?void 0:t.value)||a)}return e&&!(0,c.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.pi)((0,r.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,R.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.pi)((0,r.pi)({},e.query?e:(0,r.pi)((0,r.pi)((0,r.pi)((0,r.pi)({},this.options),{query:this.options.query}),e),{variables:(0,r.pi)((0,r.pi)({},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 a=this.queryInfo,s=a.networkStatus;a.networkStatus=R.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var u=new Set,c=null===e||void 0===e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||(0,i.kG)(c,22),this.queryManager.fetchQuery(o,n,R.fetchMore).then((function(i){if(t.queryManager.removeQuery(o),a.networkStatus===R.fetchMore&&(a.networkStatus=s),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){u.add(e.query)}});else{var f=t.getLast("result"),p=c(f.data,{fetchMoreResult:i.data,variables:n.variables});t.reportResult((0,r.pi)((0,r.pi)({},f),{networkStatus:s,loading:C(s),data:p}),t.variables)}return t.maskResult(i)})).finally((function(){l&&!u.has(t.query)&&t.reobserveCacheFirst()}))},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 i=e.updateQuery;i&&t.updateQuery((function(e,t){return i(e,(0,r.pi)({subscriptionData:n},t))}))},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&i.kG.error(23,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||{});V(this.options,t)},t.prototype.setVariables=function(e){return(0,c.D)(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},R.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,n=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),r=n.result,i=n.complete,o=e(r,{variables:this.variables,complete:!!i,previousData:r});o&&(t.cache.writeQuery({query:this.options.query,data:o,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){var r=this.queryManager.getOrCreateQuery(this.queryId);return r.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(r,e,t,n)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this,n=t.pollingInfo,r=t.options.pollInterval;if(r&&this.hasObservers()){if(!n||n.interval!==r){var o;(0,i.kG)(r,24),(n||(this.pollingInfo={})).interval=r;var a=function(){var t,n;e.pollingInfo&&(C(e.queryInfo.networkStatus)||(null===(n=(t=e.options).skipPollAttempt)||void 0===n?void 0:n.call(t))?s():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},R.poll).then(s,s))},s=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(a,t.interval))};s()}}else n&&(clearTimeout(n.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,c.D)(t,this.last.variables)&&(n=void 0),this.last=(0,r.pi)({result:this.queryManager.assumeImmutableResults?e:(0,M.X)(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var i=t===R.refetch||t===R.fetchMore||t===R.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,A.o)(this.options,e||{}),u=i?s:V(this.options,s),l=this.transformDocument(u.query);
1this.lastQuery=l,i||(this.updatePolling(),!e||!e.variables||(0,c.D)(e.variables,o)||"standby"===u.fetchPolicy||u.fetchPolicy!==a&&"function"!==typeof u.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=R.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=U(u.fetchPolicy));var f=function(){n.concast===d&&(n.waitForOwnResult=!1)},p=u.variables&&(0,r.pi)({},u.variables),h=this.fetch(u,t,l),d=h.concast,v=h.fromLink,y={next:function(e){(0,c.D)(n.variables,p)&&(f(),n.reportResult(e,p))},error:function(e){(0,c.D)(n.variables,p)&&((0,N.MS)(e)||(e=new N.cA({networkError:e})),f(),n.reportError(e,p))}};return i||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=y),d.addObserver(y),d},t.prototype.reobserve=function(e,t){return F(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},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.getCurrentFullResult(!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)&&S(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var n=(0,r.pi)((0,r.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:R.error,loading:!1});this.updateLastResult(n,t),S(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.prototype.maskResult=function(e){return e&&"data"in e?(0,r.pi)((0,r.pi)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return e.notify()}),0)))},t.prototype.notify=function(){var e;(this.cancelNotifyTimeout(),this.dirty)&&("cache-only"!=this.options.fetchPolicy&&"cache-and-network"!=this.options.fetchPolicy&&C(this.queryInfo.networkStatus)||(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()));this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,n=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,r){return this.nextFetchPolicy=n,"function"===typeof this.nextFetchPolicy?this.nextFetchPolicy(e,r):t}}):this.reobserve()},t.inactiveOnCreation=new L.g7,t}(y.y);function z(e){!1!==globalThis.__DEV__&&i.kG.error(25,e.message,e.stack)}function B(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(26,e)}function U(e){return"network-only"===e||"no-cache"===e||"standby"===e}I(Q);var W=n(47039),G=new(T.mr?WeakMap:Map);function K(e,t){var n=e[t];"function"===typeof n&&(e[t]=function(){return G.set(e,(G.get(e)+1)%1e15),n.apply(this,arguments)})}var Y=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var n=this.cache=e.cache;G.has(n)||(G.set(n,0),K(n,"evict"),K(n,"modify"),K(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||R.loading;return this.variables&&this.networkStatus!==R.loading&&!(0,c.D)(this.variables,e.variables)&&(t=R.setVariables),(0,c.D)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),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.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,c.D)(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,r=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),(0,c.D)(r&&r.result,e&&e.result)||null===(n=this.observableQuery)||void 0===n||n.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null===(e=this.observableQuery)||void 0===e||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null===(e=this.cancelWatch)||void 0===e||e.call(this),this.cancelWatch=void 0},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.pi)((0,r.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,c.D)(i,this.lastWatch)||(this.cancel(),this.cancelWatch=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===G.get(this.cache)&&(0,c.D)(t,n.variables)&&(0,c.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i=this,o,a=new W.w0,s=(0,b.O)(e.errors)?e.errors.slice(0):[];if(null===(o=this.observableQuery)||void 0===o||o.resetNotifications(),"incremental"in e&&(0,b.O)(e.incremental)){var u=(0,l.mT)(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var f=this.getDiff();e.data=a.merge(f.result,e.data)}this.graphQLErrors=s,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&($(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:G.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var a=i.getDiffOptions(n.variables),s=o.diff(a);!i.stopped&&(0,c.D)(i.variables,n.variables)&&i.updateWatch(n.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=R.ready},e.prototype.markError=function(e){var t;return this.networkStatus=R.error,this.lastWrite=void 0,null===(t=this.observableQuery)||void 0===t||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function $(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 H=n(84031),J=n(53553),X=n(22330),Z=n(32350),ee=n(77973),te=n(82361);function ne(e,t,n){var r;if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,te.Kk)(),e;var o=(0,E.$H)(t);return(0,i.kG)(o,51),null==e?e:(0,ee.K)(e,o.selectionSet,{operationType:o.operation,operationName:null===(r=o.name)||void 0===r?void 0:r.value,fragmentMap:(0,h.F)((0,E.kU)(t)),cache:n,mutableTargets:new te.Td,knownChanged:new te.wd})}var re=n(59016),ie=Object.prototype.hasOwnProperty,oe=Object.create(null),ae=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new X.s(Z.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new J.B(!1),this.noCacheWarningsByQueryId=new Set;var n=new v.A((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,this.dataMasking=e.dataMasking;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._K)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,r.mG)(this,arguments,void 0,(function(e){var t,n,o,a,s,u,c,l=e.mutation,f=e.variables,p=e.optimisticResponse,h=e.updateQueries,d=e.refetchQueries,v=void 0===d?[]:d,y=e.awaitRefetchQueries,b=void 0!==y&&y,E=e.update,k=e.onQueryUpdated,O=e.fetchPolicy,_=void 0===O?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.fetchPolicy)||"network-only":O,S=e.errorPolicy,T=void 0===S?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.errorPolicy)||"none":S,I=e.keepRootFields,x=e.context;return(0,r.Jh)(this,(function(e){switch(e.label){case 0:return(0,i.kG)(l,28),(0,i.kG)("network-only"===_||"no-cache"===_,29),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,x)]:[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}),a=p&&this.markMutationOptimistic(p,{mutationId:t,document:l,variables:f,fetchPolicy:_,errorPolicy:T,context:x,updateQueries:h,update:E,keepRootFields:I}),this.broadcastQueries(),s=this,[2,new Promise((function(e,n){return m(s.getObservableFromLink(l,(0,r.pi)((0,r.pi)({},x),{optimisticResponse:a?p:void 0}),f,{},!1),(function(e){if(g(e)&&"none"===T)throw new N.cA({graphQLErrors:w(e)});o&&(o.loading=!1,o.error=null);var n=(0,r.pi)({},e);return"function"===typeof v&&(v=v(n)),"ignore"===T&&g(n)&&delete n.errors,s.markMutationResult({mutationId:t,result:n,document:l,variables:f,fetchPolicy:_,errorPolicy:T,context:x,update:E,updateQueries:h,awaitRefetchQueries:b,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:k,keepRootFields:I})})).subscribe({next:function(n){s.broadcastQueries(),"hasNext"in n&&!1!==n.hasNext||e((0,r.pi)((0,r.pi)({},n),{data:s.maskOperation({document:l,data:n.data,fetchPolicy:_,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),n(e instanceof N.cA?e:new N.cA({networkError:e}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&$(i,e.errorPolicy)){if((0,l.GG)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,l.GG)(i)&&(0,b.O)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),u=void 0;s.result&&(u=(0,l.mT)(s.result,i)),"undefined"!==typeof u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach((function(e,r){var a=e.observableQuery,s=a&&a.queryName;if(s&&ie.call(c,s)){var u=c[s],l=n.queries.get(r),f=l.document,p=l.variables,h=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),d=h.result,v;if(h.complete&&d){var y=u(d,{mutationResult:i,queryName:f&&(0,E.rY)(f)||void 0,queryVariables:p});y&&o.push({result:y,dataId:"ROOT_QUERY",query:f,variables:p})}}}))}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach((function(e){return t.write(e)}));var s=e.update,u=!(0,l.M0)(i)||(0,l.GG)(i)&&!i.hasNext;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(i=(0,r.pi)((0,r.pi)({},i),{data:c.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||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 f.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var n=this,o="function"===typeof e?e(t.variables,{IGNORE:oe}):e;return o!==oe&&(this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,r.pi)((0,r.pi)({},t),{result:{data:o}}),e)}catch(a){!1!==globalThis.__DEV__&&i.kG.error(a)}}),t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(this.getOrCreateQuery(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,f.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.FS)(["nonreactive"],e),nonReactiveQuery:(0,p.UU)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,p.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,E.O4)((0,E.$H)(e)),asQuery:(0,r.pi)((0,r.pi)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.pi)((0,r.pi)({},e),{operation:"query"}):e}))})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.pi)((0,r.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);"undefined"===typeof(e=(0,r.pi)((0,r.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new Y(this),i=new Q({queryManager:this,queryInfo:n,options:e});return i.lastQuery=t,Q.inactiveOnCreation.getValue()||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;void 0===t&&(t=this.generateQueryId()),(0,i.kG)(e.query,30),(0,i.kG)("Document"===e.query.kind,31),(0,i.kG)(!e.returnPartialData,32),(0,i.kG)(!e.pollInterval,33);var o=this.transform(e.query);return this.fetchQuery(t,(0,r.pi)((0,r.pi)({},e),{query:o})).then((function(i){return i&&(0,r.pi)((0,r.pi)({},i),{data:n.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})})).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._K)(34)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=R.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,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach((function(e){if("string"===typeof e)o.set(e,e),a.set(e,!1);else if((0,k.JW)(e)){var n=(0,H.S)(t.transform(e));o.set(n,(0,E.rY)(e)),a.set(n,!1)}else(0,O.s)(e)&&e.query&&s.add(e)})),this.queries.forEach((function(t,r){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void n.set(r,i);var s=i.queryName,u;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,H.S)(o)))&&(n.set(r,i),s&&a.set(s,!0),o&&a.set((0,H.S)(o),!0))}})),s.size&&s.forEach((function(e){var o=(0,_.X)("legacyOneTimeQuery"),a=t.getOrCreateQuery(o).init({document:e.query,variables:e.variables}),s=new Q({queryManager:t,queryInfo:a,options:(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),n.set(o,s)})),!1!==globalThis.__DEV__&&a.size&&a.forEach((function(e,t){if(!e){var n=o.get(t);n?!1!==globalThis.__DEV__&&i.kG.warn(35,n):!1!==globalThis.__DEV__&&i.kG.warn(36)}})),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.queries.get(i)||r.queryInfo).setDiff(null)})),this.broadcastQueries(),Promise.all(n)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;n=this.transform(n),r=this.getVariables(n,r);var f=function(e){return t.getObservableFromLink(n,u,e,l).map((function(r){"no-cache"!==i&&($(r,a)&&t.cache.write({query:n,result:r.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=g(r),s=(0,N.ls)(r);if(o||s){var u={};if(o&&(u.graphQLErrors=r.errors),s&&(u.protocolErrors=r.extensions[N.YG]),"none"===a||s)throw new N.cA(u)}return"ignore"===a&&delete r.errors,r}))};if(this.getDocumentInfo(n).hasClientExports){var p=this.localState.addExportedVariables(n,r,u).then(f);return new y.y((function(e){var t=null;return p.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return f(r)},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){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null===(t=this.queries.get(e))||void 0===t||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){var t;return null===(t=e.observableQuery)||void 0===t?void 0:t.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,i,o){var s=this,u,c;void 0===o&&(o=null!==(u=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==u?u:this.queryDeduplication);var l=this.getDocumentInfo(e),f=l.serverQuery,p=l.clientQuery;if(f){var h=this,v=h.inFlightLinkObservables,b=h.link,g={query:f,variables:n,operationName:(0,E.rY)(f)||void 0,context:this.prepareContext((0,r.pi)((0,r.pi)({},t),{forceFetch:!o})),extensions:i};if(t=g.context,o){var w=(0,H.S)(f),k=(0,d.B)(n),O=v.lookup(w,k);if(!(c=O.observable)){var _=new D([a(b,g)]);c=O.observable=_,_.beforeNext((function e(t,n){"next"===t&&"hasNext"in n&&n.hasNext?_.beforeNext(e):v.remove(w,k)}))}}else c=new D([a(b,g)])}else c=new D([y.y.of({data:{}})]),t=this.prepareContext(t);return p&&(c=m(c,(function(e){return s.localState.runResolvers({document:p,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 a=w(o),s=a.length>0,u=n.errorPolicy;if(r>
1=e.lastRequestId){if(s&&"none"===u)throw e.markError(new N.cA({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:R.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=R.error),c}),(function(t){var n=(0,N.MS)(t)?t:new N.cA({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=R.loading),void 0===r&&(r=t.query);var o=this.getVariables(r,t.variables),a=this.defaultOptions.watchQuery,s=t.fetchPolicy,u=void 0===s?a&&a.fetchPolicy||"cache-first":s,c=t.errorPolicy,l=void 0===c?a&&a.errorPolicy||"none":c,f=t.returnPartialData,p=void 0!==f&&f,h=t.notifyOnNetworkStatusChange,d=void 0!==h&&h,v=t.context,y=void 0===v?{}:v,m=Object.assign({},t,{query:r,variables:o,fetchPolicy:u,errorPolicy:l,returnPartialData:p,notifyOnNetworkStatusChange:d,context:y}),b=function(r){m.variables=r;var o=i.fetchQueryByPolicy(e,m,n);return"standby"!==m.fetchPolicy&&o.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),o},g=function(){return i.fetchCancelFns.delete(e.queryId)},w,E;if(this.fetchCancelFns.set(e.queryId,(function(e){g(),setTimeout((function(){return w.cancel(e)}))})),this.getDocumentInfo(m.query).hasClientExports)w=new D(this.localState.addExportedVariables(m.query,m.variables,m.context).then(b).then((function(e){return e.sources}))),E=!0;else{var k=b(m.variables);E=k.fromLink,w=new D(k.sources)}return w.promise.then(g,g),{concast:w,fromLink:E}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,_.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach((function(e,n){c.set(n,{oq:e,lastDiff:(t.queries.get(n)||e.queryInfo).getDiff()})}));var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof Y&&e.watcher.observableQuery;if(r){if(u){c.delete(r.queryId);var i=u(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==u&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach((function(e,n){var r=e.oq,i=e.lastDiff,o=e.diff,a;u&&(o||(o=t.cache.diff(r.queryInfo.getDiffOptions())),a=u(r,o,i)),u&&!0!==a||(a=r.refetch()),!1!==a&&l.set(r,a),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)})),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,n,r,o=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,u=e.id,c=null===(t=(0,E.$H)(o))||void 0===t?void 0:t.operation,l=(null!==(n=null===c||void 0===c?void 0:c[0])&&void 0!==n?n:"o")+u;!this.dataMasking||"no-cache"!==s||(0,h.YU)(o)||this.noCacheWarningsByQueryId.has(l)||(this.noCacheWarningsByQueryId.add(l),!1!==globalThis.__DEV__&&i.kG.warn(37,null!==(r=(0,E.rY)(o))&&void 0!==r?r:"Unnamed ".concat(null!==c&&void 0!==c?c:"operation")))}return this.dataMasking?ne(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,n=e.fragment,r=e.fragmentName;return this.dataMasking?(0,re.r)(t,n,this.cache,r):t},e.prototype.fetchQueryByPolicy=function(e,t,n){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,h=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:a,networkStatus:n});var v=function(){return e.getDiff()},m=function(t,n){void 0===n&&(n=e.networkStatus||R.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,c.D)(s,{})||B(t.missing);var u=function(e){return y.y.of((0,r.pi)({data:e,loading:C(n),networkStatus:n},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return u(e.data||void 0)})):"none"===l&&n===R.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},b="no-cache"===s?0:n===R.refetch&&"merge"!==u?1:2,g=function(){return i.getResultsFromLink(e,b,{query:o,variables:a,context:p,fetchPolicy:s,errorPolicy:l})},w=h&&"number"===typeof d&&d!==n&&C(n);switch(s){default:case"cache-first":var E;return(E=v()).complete?{fromLink:!1,sources:[m(E,e.markReady())]}:f||w?{fromLink:!0,sources:[m(E),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var E;return(E=v()).complete||f||w?{fromLink:!0,sources:[m(E),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(v(),e.markReady())]};case"network-only":return w?{fromLink:!0,sources:[m(v()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return w?{fromLink:!0,sources:[m(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Y(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.pi)((0,r.pi)((0,r.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),se=n(79041),ue=n(94816);function ce(e){return le(e)||ve(e)||me(e)}function le(e){return e.kind===Kind.OPERATION_DEFINITION||e.kind===Kind.FRAGMENT_DEFINITION}function fe(e){return e.kind===ue.h.FIELD||e.kind===ue.h.FRAGMENT_SPREAD||e.kind===ue.h.INLINE_FRAGMENT}function pe(e){return e.kind===Kind.VARIABLE||e.kind===Kind.INT||e.kind===Kind.FLOAT||e.kind===Kind.STRING||e.kind===Kind.BOOLEAN||e.kind===Kind.NULL||e.kind===Kind.ENUM||e.kind===Kind.LIST||e.kind===Kind.OBJECT}function he(e){return pe(e)&&(e.kind===Kind.LIST?e.values.some(he):e.kind===Kind.OBJECT?e.fields.some((e=>he(e.value))):e.kind!==Kind.VARIABLE)}function de(e){return e.kind===Kind.NAMED_TYPE||e.kind===Kind.LIST_TYPE||e.kind===Kind.NON_NULL_TYPE}function ve(e){return e.kind===Kind.SCHEMA_DEFINITION||ye(e)||e.kind===Kind.DIRECTIVE_DEFINITION}function ye(e){return e.kind===Kind.SCALAR_TYPE_DEFINITION||e.kind===Kind.OBJECT_TYPE_DEFINITION||e.kind===Kind.INTERFACE_TYPE_DEFINITION||e.kind===Kind.UNION_TYPE_DEFINITION||e.kind===Kind.ENUM_TYPE_DEFINITION||e.kind===Kind.INPUT_OBJECT_TYPE_DEFINITION}function me(e){return e.kind===Kind.SCHEMA_EXTENSION||be(e)}function be(e){return e.kind===Kind.SCALAR_TYPE_EXTENSION||e.kind===Kind.OBJECT_TYPE_EXTENSION||e.kind===Kind.INTERFACE_TYPE_EXTENSION||e.kind===Kind.UNION_TYPE_EXTENSION||e.kind===Kind.ENUM_TYPE_EXTENSION||e.kind===Kind.INPUT_OBJECT_TYPE_EXTENSION}var ge=n(552),we=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,W.Ee)(t.resolvers,e)})):this.resolvers=(0,W.Ee)(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.mG)(this,arguments,void 0,(function(e){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,r.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,r.pi)((0,r.pi)({},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,f.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,p.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.pi)((0,r.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,r.mG)(this,arguments,void 0,(function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,r.pi)((0,r.pi)({},t),e.exportedVariables)}))]:[2,(0,r.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,se.Vn)(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 se.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,p.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,r.mG)(this,arguments,void 0,(function(e,t,n,i,o,a){var s,u,c,l,f,p,d,v,y,m,b;return void 0===n&&(n={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,r.Jh)(this,(function(g){return s=(0,E.p$)(e),u=(0,E.kU)(e),c=(0,h.F)(u),l=this.collectSelectionsToResolve(s,c),f=s.operation,p=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",v=(d=this).cache,y=d.client,m={fragmentMap:c,context:(0,r.pi)((0,r.pi)({}
1,n),{cache:v,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},b=!1,[2,this.resolveSelectionSet(s.selectionSet,b,t,m).then((function(e){return{result:e,exportedVariables:m.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,n,o){return(0,r.mG)(this,void 0,void 0,(function(){var a,s,u,c,l,p=this;return(0,r.Jh)(this,(function(h){return a=o.fragmentMap,s=o.context,u=o.variables,c=[n],l=function(e){return(0,r.mG)(p,void 0,void 0,(function(){var l,p;return(0,r.Jh)(this,(function(r){return(t||o.selectionsToResolve.has(e))&&(0,f.LZ)(e,u)?(0,k.My)(e)?[2,this.resolveField(e,t,n,o).then((function(t){var n;"undefined"!==typeof t&&c.push(((n={})[(0,k.u2)(e)]=t,n))}))]:((0,k.Ao)(e)?l=e:(l=a[e.name.value],(0,i.kG)(l,19,e.name.value)),l&&l.typeCondition&&(p=l.typeCondition.name.value,o.fragmentMatcher(n,p,s))?[2,this.resolveSelectionSet(l.selectionSet,t,n,o).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,W.bw)(c)}))]}))}))},e.prototype.resolveField=function(e,t,n,i){return(0,r.mG)(this,void 0,void 0,(function(){var o,a,s,u,c,l,f,p,h,d=this;return(0,r.Jh)(this,(function(r){return n?(o=i.variables,a=e.name.value,s=(0,k.u2)(e),u=a!==s,c=n[s]||n[a],l=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=n.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[f])&&(h=p[u?a:s])&&(l=Promise.resolve(ge.ab.withValue(this.cache,h,[n,(0,k.NC)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(n){var r,o;if(void 0===n&&(n=c),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 a=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)?d.resolveSubSelectedArray(e,t||a,n,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,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;function o(e){if(!r.has(e)){var a=new Set;r.set(e,a),(0,se.Vn)(e,{Directive:function(e,t,r,i,o){"client"===e.name.value&&o.forEach((function(e){n(e)&&fe(e)&&a.add(e)}))},FragmentSpread:function(e,r,s,u,c){var l=t[e.name.value];(0,i.kG)(l,20,e.name.value);var f=o(l);f.size>0&&(c.forEach((function(e){n(e)&&fe(e)&&a.add(e)})),a.add(e),f.forEach((function(e){a.add(e)})))}})}return r.get(e)}return o(e)},e}();function Ee(e,t){return(0,A.o)(e,t,t.variables&&{variables:(0,A.o)((0,r.pi)((0,r.pi)({},e&&e.variables),t.variables))})}var ke=n(68624),Oe=!1,_e=function(){function e(e){var t=this,n;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i._K)(16);var a=e.uri,c=e.credentials,l=e.headers,f=e.cache,p=e.documentTransform,h=e.ssrMode,d=void 0!==h&&h,v=e.ssrForceFetchDelay,y=void 0===v?0:v,m=e.connectToDevTools,b=e.queryDeduplication,g=void 0===b||b,w=e.defaultOptions,E=e.defaultContext,k=e.assumeImmutableResults,O=void 0===k?f.assumeImmutableResults:k,_=e.resolvers,S=e.typeDefs,T=e.fragmentMatcher,I=e.name,x=e.version,D=e.devtools,N=e.dataMasking,R=e.link;R||(R=a?new u.u({uri:a,credentials:c,headers:l}):o.i.empty()),this.link=R,this.cache=f,this.disableNetworkFetches=d||y>0,this.queryDeduplication=g,this.defaultOptions=w||Object.create(null),this.typeDefs=S,this.devtoolsConfig=(0,r.pi)((0,r.pi)({},D),{enabled:null!==(n=null===D||void 0===D?void 0:D.enabled)&&void 0!==n?n:m}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),y&&setTimeout((function(){return t.disableNetworkFetches=!1}),y),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=s.i,this.localState=new we({cache:f,client:this,resolvers:_,fragmentMatcher:T}),this.queryManager=new ae({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:E,documentTransform:p,queryDeduplication:g,ssrMode:d,dataMasking:!!N,clientAwareness:{name:I,version:x},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,Oe||!1===globalThis.__DEV__||(Oe=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout((function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"===typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: %s",n)}}),1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Ee(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Ee(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.pi)((0,r.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Ee(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,n=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map((function(i){return(0,r.pi)((0,r.pi)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:n})})}))},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,r.pi)((0,r.pi)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},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 a(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 o=Promise.all(r);return o.queries=n,o.results=r,o.catch((function(e){!1!==globalThis.__DEV__&&i.kG.debug(18,e)})),o},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},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(_e.prototype.getMemoryInternals=ke.su)},94252:function(e,t,n){"use strict";n.d(t,{W:function(){return c}});var r=n(47925),i=n(68815),o=n(31975),a=n(82746),s=n(99542),u=n(257);function c(e,t,n,s){var u=t.data,c=(0,r._T)(t,["data"]),f=n.data,p=(0,r._T)(n,["data"]);return(0,i.Z)(c,p)&&l((0,o.p$)(e).selectionSet,u,f,{fragmentMap:(0,a.F)((0,o.kU)(e)),variables:s})}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;
1if(o.add(e),!(0,s.LZ)(e,r.variables))return!0;if(f(e))return!0;if((0,u.My)(e)){var c=(0,u.u2)(e),p=t&&t[c],h=n&&n[c],d=e.selectionSet;if(!d)return(0,i.Z)(p,h);var v=Array.isArray(p),y=Array.isArray(h);if(v!==y)return!1;if(v&&y){var m=p.length;if(h.length!==m)return!1;for(var b=0;b<m;++b)if(!l(d,p[b],h[b],r))return!1;return!0}return l(d,p,h,r)}var g=(0,a.hi)(e,r.fragmentMap);return g?!!f(g)||l(g.selectionSet,t,n,r):void 0}))}function f(e){return!!e.directives&&e.directives.some(p)}function p(e){return"nonreactive"===e.name.value}},89225:function(e,t,n){"use strict";n.d(t,{YG:function(){return a},ls:function(){return s},MS:function(){return u},cA:function(){return l}});var r=n(47925),i=n(76104),o=n(50539),a=Symbol();function s(e){return!!e.extensions&&Array.isArray(e.extensions[a])}function u(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){var t=(0,r.ev)((0,r.ev)((0,r.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map((function(e){return(0,o.s)(e)&&e.message||"Error message not found."})).join("\n")},l=function(e){function t(n){var i=n.graphQLErrors,o=n.protocolErrors,a=n.clientErrors,s=n.networkError,u=n.errorMessage,l=n.extraInfo,f=e.call(this,u)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=u||c(f),f.extraInfo=l,f.cause=(0,r.ev)((0,r.ev)((0,r.ev)([s],i||[],!0),o||[],!0),a||[],!0).find((function(e){return!!e}))||null,f.__proto__=t.prototype,f}return(0,r.ZT)(t,e),t}(Error)},74929:function(e,t,n){"use strict";n.d(t,{i:function(){return h}});var r=n(76104),i=n(7528),o=n(47925);function a(e,t){var n=(0,o.pi)({},e),r=function(e){n="function"===typeof e?(0,o.pi)((0,o.pi)({},n),e(n)):(0,o.pi)((0,o.pi)({},n),e)},i=function(){return(0,o.pi)({},n)};return Object.defineProperty(t,"setContext",{enumerable:!1,value:r}),Object.defineProperty(t,"getContext",{enumerable:!1,value:i}),t}var s=n(31975);function u(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.rY)(t.query)||void 0:""),t}function c(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._K)(46,o)}return e}function l(e,t){return t?t(e):i.y.of()}function f(e){return"function"===typeof e?new h(e):e}function p(e){return e.request.length<=1}var h=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return i.y.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(f).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,n,r){var o=f(n),a=f(r||new e(l)),s;return s=p(o)&&p(a)?new e((function(e){return t(e)?o.request(e)||i.y.of():a.request(e)||i.y.of()})):new e((function(e,n){return t(e)?o.request(e,n)||i.y.of():a.request(e,n)||i.y.of()})),Object.assign(s,{left:o,right:a})},e.execute=function(e,t){return e.request(a(t.context,u(c(t))))||i.y.of()},e.concat=function(t,n){var o=f(t);if(p(o))return!1!==globalThis.__DEV__&&r.kG.warn(38,o),o;var a=f(n),s;return s=p(a)?new e((function(e){return o.request(e,(function(e){return a.request(e)||i.y.of()}))||i.y.of()})):new e((function(e,t){return o.request(e,(function(e){return a.request(e,t)||i.y.of()}))||i.y.of()})),Object.assign(s,{left:o,right:a})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(l)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r._K)(39)},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}()},4460:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var r,i=n(74929).i.from},3566:function(e,t,n){"use strict";n.d(t,{u:function(){return $}});var r=n(47925),i=n(74929),o=n(76104),a=n(99542),s=n(7528),u=function(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=(0,o._K)(42,t,i.message);throw r.parseError=i,r}return n},c=function(e,t){var n,r=e.getContext().uri;return r||("function"===typeof t?t(e):t||"/graphql")},l=n(54410);function f(e){var t,n=e[Symbol.asyncIterator]();return(t={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},t}function p(e){var t=null,n=null,r=!1,i=[],o=[];
1function a(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){var r;n=e,o.slice().forEach((function(t){t[1](e)})),!t||t()}function u(){var e;r=!0,o.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}function c(){return new Promise((function(e,t){return n?t(n):i.length?e({value:i.shift(),done:!1}):r?e({value:void 0,done:!0}):void o.push([e,t])}))}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var f={next:function(){return c()}};return l.DN&&(f[Symbol.asyncIterator]=function(){return this}),f}function h(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 l.DN&&(n[Symbol.asyncIterator]=function(){return this}),n}function d(e){var t={next:function(){return e.read()}};return l.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function v(e){return!!e.body}function y(e){return!!e.getReader}function m(e){return!(!l.DN||!e[Symbol.asyncIterator])}function b(e){return!!e.stream}function g(e){return!!e.arrayBuffer}function w(e){return!!e.pipe}function E(e){var t=e;if(v(e)&&(t=e.body),m(t))return f(t);if(y(t))return d(t.getReader());if(b(t))return d(t.stream().getReader());if(g(t))return h(t.arrayBuffer());if(w(t))return p(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var k=function(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},O=n(89225),_=n(1613),S=Object.prototype.hasOwnProperty;function T(e,t){return(0,r.mG)(this,void 0,void 0,(function(){var n,i,o,a,s,u,c,l,f,p,h,d,v,y,m,b,g,w,k,S,T,D,N,R;return(0,r.Jh)(this,(function(C){switch(C.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===(R=e.headers)||void 0===R?void 0:R.get("content-type"),o="boundary=",a=(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))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",c=E(e),l=!0,C.label=1;case 1:return l?[4,c.next()]:[3,3];case 2:for(f=C.sent(),p=f.value,h=f.done,d="string"===typeof p?p:n.decode(p),v=u.length-s.length+1,l=!h,y=(u+=d).indexOf(s,v);y>-1;){if(m=void 0,D=[u.slice(0,y),u.slice(y+s.length)],u=D[1],b=(m=D[0]).indexOf("\r\n\r\n"),g=I(m.slice(0,b)),(w=g["content-type"])&&-1===w.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(k=m.slice(b))if(S=x(e,k),Object.keys(S).length>1||"data"in S||"incremental"in S||"errors"in S||"payload"in S)if((0,_.yU)(S)){if(T={},"payload"in S){if(1===Object.keys(S).length&&null===S.payload)return[2];T=(0,r.pi)({},S.payload)}"errors"in S&&(T=(0,r.pi)((0,r.pi)({},T),{extensions:(0,r.pi)((0,r.pi)({},"extensions"in T?T.extensions:null),(N={},N[O.YG]=S.errors,N))})),t(T)}else t(S);else if(1===Object.keys(S).length&&"hasNext"in S&&!S.hasNext)return[2];y=u.indexOf(s)}return[3,1];case 3:return[2]}}
1))}))}function I(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 x(e,t){var n;e.status>=300&&k(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(i){var r=i;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function D(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function N(e){return function(t){return t.text().then((function(e){return x(t,e)})).then((function(n){return Array.isArray(n)||S.call(n,"data")||S.call(n,"errors")||k(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),n}))}}var R=function(e){if(!e&&"undefined"===typeof fetch)throw(0,o._K)(40)},C=n(84031),P,A,M,F={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},j=function(e,t){return t(e)};function L(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return n.unshift(t),V.apply(void 0,__spreadArray([e,j],n,!1))}function V(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o={},a={};n.forEach((function(e){o=(0,r.pi)((0,r.pi)((0,r.pi)({},o),e.options),{headers:(0,r.pi)((0,r.pi)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,r.pi)((0,r.pi)({},a),e.http)})),o.headers&&(o.headers=q(o.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(l,C.S)),{options:o,body:f}}function q(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}function Q(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=u(t.variables,"Variables map")}catch(p){return{parseError:p}}r("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(p){return{parseError:p}}r("extensions",o)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var l=-1===s.indexOf("?")?"?":"&",f;return{newURI:s+l+n.join("&")+a}}function z(e){return new s.y((function(t){t.error(e)}))}var B=n(79041);function U(e,t){var n=(0,r.pi)({},e),i=new Set(Object.keys(e));return(0,B.Vn)(t,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&i.delete(e.name.value)}}
1),i.forEach((function(e){delete n[e]})),n}var W=n(40644),G=n(31975),K=(0,o.wY)((function(){return fetch})),Y=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,l=e.fetch,f=e.print,p=void 0===f?j:f,h=e.includeExtensions,d=e.preserveHeaderCase,v=e.useGETForQueries,y=e.includeUnusedVariables,m=void 0!==y&&y,b=(0,r._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&R(l||K);var g={http:{includeExtensions:h,preserveHeaderCase:d},options:b.fetchOptions,credentials:b.credentials,headers:b.headers};return new i.i((function(e){var t=c(e,n),i=e.getContext(),f={};if(i.clientAwareness){var h=i.clientAwareness,d=h.name,y=h.version;d&&(f["apollographql-client-name"]=d),y&&(f["apollographql-client-version"]=y)}var b=(0,r.pi)((0,r.pi)({},f),i.headers),w={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:b};if((0,a.FS)(["client"],e.query)){var E=(0,W.ob)(e.query);if(!E)return z(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=E}var k=V(e,p,F,g,w),O=k.options,_=k.body,S;_.variables&&!m&&(_.variables=U(_.variables,e.query)),O.signal||"undefined"===typeof AbortController||(S=new AbortController,O.signal=S.signal);var I=function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation},x,R=function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}((0,G.p$)(e.query)),C=(0,a.FS)(["defer"],e.query);if(v&&!e.query.definitions.some(I)&&(O.method="GET"),C||R){O.headers=O.headers||{};var P="multipart/mixed;";R&&C&&!1!==globalThis.__DEV__&&o.kG.warn(41),R?P+="boundary=graphql;subscriptionSpec=1.0,application/json":C&&(P+="deferSpec=20220824,application/json"),O.headers.accept=P}if("GET"===O.method){var A=Q(t,_),M=A.newURI,j=A.parseError;if(j)return z(j);t=M}else try{O.body=u(_,"Payload")}catch(j){return z(j)}return new s.y((function(n){var r=l||(0,o.wY)((function(){return fetch}))||K,i=n.next.bind(n);return r(t,O).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)?T(t,i):N(e)(t).then(i)})).then((function(){S=void 0,n.complete()})).catch((function(e){S=void 0,D(e,n)})),function(){S&&S.abort()}}))}))},$=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,Y(t).request)||this;return n.options=t,n}return(0,r.ZT)(t,e),t}(i.i)},77973:function(e,t,n){"use strict";n.d(t,{K:function(){return c}});var r=n(94816),i=n(29442),o=n(257),a=n(99542),s=n(82361),u=n(76104);function c(e,t,n){return s.Os.withValue(!0,(function(){var r=f(e,t,n,!1);return Object.isFrozen(e)&&(0,i.J)(r),r}))}function l(e,t){if(t.has(e))return t.get(e);var n=Array.isArray(e)?[]:Object.create(null);return t.set(e,n),n}function f(e,t,n,i,s){var c,h=n.knownChanged,d=l(e,n.mutableTargets);if(Array.isArray(e)){for(var v=0,y=Array.from(e.entries());v<y.length;v++){var m=y[v],b=m[0],g=m[1];if(null!==g){var w=f(g,t,n,i,!1!==globalThis.__DEV__?"".concat(s||"","[").concat(b,"]"):void 0);h.has(w)&&h.add(d),d[b]=w}else d[b]=null}return h.has(d)?d:e}for(var E=0,k=t.selections;E<k.length;E++){var O=k[E],_=void 0;if(i&&h.add(d),O.kind===r.h.FIELD){var S=(0,o.u2)(O),T=O.selectionSet;if(void 0===(_=d[S]||e[S]))continue;if(T&&null!==_){var w=f(e[S],T,n,i,!1!==globalThis.__DEV__?"".concat(s||"",".").concat(S):void 0);h.has(w)&&(_=w)}!1===globalThis.__DEV__&&(d[S]=_),!1!==globalThis.__DEV__&&(i&&"__typename"!==S&&!(null===(c=Object.getOwnPropertyDescriptor(d,S))||void 0===c?void 0:c.value)?Object.defineProperty(d,S,p(S,_,s||"",n.operationName,n.operationType)):(delete d[S],d[S]=_))}if(O.kind!==r.h.INLINE_FRAGMENT||O.typeCondition&&!n.cache.fragmentMatches(O,e.__typename)||(_=f(e,O.selectionSet,n,i,s)),O.kind===r.h.FRAGMENT_SPREAD){var I=O.name.value,x=n.fragmentMap[I]||(n.fragmentMap[I]=n.cache.lookupFragment(I));(0,u.kG)(x,47,I);var D=(0,a.GT)(O);"mask"!==D&&(_=f(e,x.selectionSet,n,"migrate"===D,s))}h.has(_)&&h.add(d)}return"__typename"in e&&!("__typename"in d)&&(d.__typename=e.__typename),Object.keys(d).length!==Object.keys(e).length&&h.add(d),h.has(d)?d:e}function p(e,t,n,r,i){var o=function(){return s.Os.getValue()||(!1!==globalThis.__DEV__&&u.kG.warn(48,r?"".concat(i," '").concat(r,"'"):"anonymous ".concat(i),"".concat(n,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}},59016:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var r=n(94816),i=n(82361),o=n(76104),a=n(68815),s=n(77973),u=n(82746),c=n(31975);function l(e,t,n,l){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Kk)(),e;var f=t.definitions.filter((function(e){return e.kind===r.h.FRAGMENT_DEFINITION}));"undefined"===typeof l&&((0,o.kG)(1===f.length,49,f.length),l=f[0].name.value);var p=f.find((function(e){return e.name.value===l}));return(0,o.kG)(!!p,50,l),null==e||(0,a.Z)(e,{})?e:(0,s.K)(e,p.selectionSet,{operationType:"fragment",operationName:p.name.value,fragmentMap:(0,u.F)((0,c.kU)(t)),cache:n,mutableTargets:new i.Td,knownChanged:new i.wd})}},82361:function(e,t,n){"use strict";n.d(t,{Td:function(){return a},wd:function(){return s},Os:function(){return u},Kk:function(){return l}});var r=n(21139),i=n(76104),o=n(54410),a=o.mr?WeakMap:Map,s=o.sy?WeakSet:Set,u=ne
1w r.g7,c=!1;function l(){c||(c=!0,!1!==globalThis.__DEV__&&i.kG.warn(52))}},22330:function(e,t,n){"use strict";n.d(t,{s:function(){return s},L:function(){return u}});var r=n(10184),i=n(89134),o=new WeakSet;function a(e){e.size<=(e.max||-1)||o.has(e)||(o.add(e),setTimeout((function(){e.clean(),o.delete(e)}),100))}var s=function(e,t){var n=new r.k(e,t);return n.set=function(e,t){var n=r.k.prototype.set.call(this,e,t);return a(this),n},n},u=function(e,t){var n=new i.e(e,t);return n.set=function(e,t){var n=i.e.prototype.set.call(this,e,t);return a(this),n},n}},68624:function(e,t,n){"use strict";n.d(t,{zP:function(){return a},su:function(){return s},q4:function(){return u},Kb:function(){return c}});var r=n(47925),i=n(32350),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?f:void 0,u=!1!==globalThis.__DEV__?h:void 0,c=!1!==globalThis.__DEV__?p:void 0;function l(){var e={parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4};return Object.fromEntries(Object.entries(e).map((function(e){var t=e[0],n=e[1];return[t,i.Q[t]||n]})))}function f(){var e,t,n,i,a;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:l(),sizes:(0,r.pi)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(n=o.canonicalStringify)||void 0===n?void 0:n.call(o),links:g(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:m(this.queryManager.documentTransform)}},null===(a=(i=this.cache).getMemoryInternals)||void 0===a?void 0:a.call(i))}}function p(){return{cache:{fragmentQueryDocuments:v(this.getFragmentDoc)}}}function h(){var e=this.config.fragments;return(0,r.pi)((0,r.pi)({},p.apply(this)),{addTypenameDocumentTransform:m(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:v(this.storeReader.executeSelectionSet),executeSubSelectedArray:v(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:v(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:v(null===e||void 0===e?void 0:e.findFragmentSpreads),lookup:v(null===e||void 0===e?void 0:e.lookup),transform:v(null===e||void 0===e?void 0:e.transform)}})}function d(e){return!!e&&"dirtyKey"in e}function v(e){return d(e)?e.size:void 0}function y(e){return null!=e}function m(e){return b(e).map((function(e){return{cache:e}}))}function b(e){return e?(0,r.ev)((0,r.ev)([v(null===e||void 0===e?void 0:e.performWork)],b(null===e||void 0===e?void 0:e.left),!0),b(null===e||void 0===e?void 0:e.right),!0).filter(y):[]}function g(e){var t;return e?(0,r.ev)((0,r.ev)([null===(t=null===e||void 0===e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],g(null===e||void 0===e?void 0:e.left),!0),g(null===e||void 0===e?void 0:e.right),!0).filter(y):[]}},32350:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(47925),i=n(76104),o=Symbol.for("apollo.cacheSize"),a=(0,r.pi)({},i.CO[o])},62718:function(e,t,n){"use strict";n.d(t,{k:function(){return r},O:function(){return i}});var r=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},54410:function(e,t,n){"use strict";n.d(t,{mr:function(){return o},sy:function(){return a},aS:function(){return s},DN:function(){return u}});var r=n(76104),i="ReactNative"==(0,r.wY)((function(){return navigator.product})),o="function"===typeof WeakMap&&!(i&&!global.HermesInternal),a="function"===typeof WeakSet,s="function"===typeof Symbol&&"function"===typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"===typeof(0,r.wY)((function(){return window.document.createElement})),l=(0,r.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,f=(c||i)&&!l},51439:function(e,t,n){"use strict";n.d(t,{B:function(){return a}});var r=n(22330),i=n(32350),o=n(68624),a=Object.assign((function e(t){return JSON.stringify(t,u)}),{reset:function(){s=new r.L(i.Q.canonicalStringify||1e3)}}),s;function u(e,t){if(t&&"object"===typeof t){var n=Object.getPrototypeOf(t);if(n===Object.prototype||null===n){var r=Object.keys(t);if(r.every(c))return t;var i=JSON.stringify(r),o=s.get(i);if(!o){r.sort();var a=JSON.stringify(r);o=s.get(a)||r,s.set(i,o),s.set(a,o)}var u=Object.create(n);return o.forEach((function(e){u[e]=t[e]})),u}}return t}
1function c(e,t,n){return 0===t||n[t-1]<=e}!1!==globalThis.__DEV__&&(0,o.zP)("canonicalStringify",(function(){return s.size})),a.reset()},3793:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=Object.prototype.toString;function i(e){return o(e)}function o(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]=o(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(n){i[n]=o(e[n],t)})),i;default:return e}}},55550:function(e,t,n){"use strict";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:function(){return r}})},1613:function(e,t,n){"use strict";n.d(t,{GG:function(){return a},M0:function(){return u},yU:function(){return c},mT:function(){return l}});var r=n(50539),i=n(62718),o=n(47039);function a(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function u(e){return a(e)||s(e)}function c(e){return(0,r.s)(e)&&"payload"in e}function l(e,t){var n=e,r=new o.w0;return a(t)&&(0,i.O)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s,u=!isNaN(+a)?[]:{};u[a]=t,t=u}n=r.merge(n,t)})),n}},20182:function(e,t,n){"use strict";n.d(t,{X:function(){return 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))}},29442:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(50539);function i(e){var t=new Set([e]);return t.forEach((function(e){(0,r.s)(e)&&o(e)===e&&Object.getOwnPropertyNames(e).forEach((function(n){(0,r.s)(e[n])&&t.add(e[n])}))})),e}function o(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}function a(e){return!1!==globalThis.__DEV__&&i(e),e}},47039:function(e,t,n){"use strict";n.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return c}});var r=n(47925),i=n(50539),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new c,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var u=function(e,t,n){return this.merge(e[n],t[n])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach((function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=n.reconciler.apply(n,(0,r.ev)([e,t,i],a,!1));u!==s&&((e=n.shallowCopyForMerge(e))[i]=u)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,r.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},50539:function(e,t,n){"use strict";function r(e){return null!==e&&"object"===typeof e}function i(e){return null!==e&&"object"===typeof e&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}n.d(t,{s:function(){return r}})},67742:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(20182);function i(e,t){void 0===t&&(t=0);var n=(0,r.X)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?n:t}),t).split(JSON.stringify(n)).join("<undefined>")}},76104:function(e,t,n){"use strict";n.d(t,{CO:function(){return y},kG:function(){return g},wY:function(){return v},_K:function(){return w}});var r=n(47925),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=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,a(r,t.prototype),r}return(0,r.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}
1var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=l){var t=console[e]||console.log;return t.apply(console,arguments)}}}function p(e){var t=c[l];return l=Math.max(0,c.indexOf(e)),t}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var h=null,d=n(17972);function v(e){try{return e()}catch(o){}}var y=v((function(){return globalThis}))||v((function(){return window}))||v((function(){return self}))||v((function(){return global}))||v((function(){return v.constructor("return this")()})),m=n(67742);function b(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=O(i))||(t=_(i,n),n=[])}e.apply(void 0,[t].concat(n))}}var g=Object.assign((function e(t,n){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];t||u(t,O(n,r)||_(n,r))}),{debug:b(u.debug),log:b(u.log),warn:b(u.warn),error:b(u.error)});function w(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new s(O(e,t)||_(e,t))}var E=Symbol.for("ApolloErrorMessageHandler_"+d.i);function k(e){if("string"==typeof e)return e;try{return(0,m.v)(e,2).slice(0,1e3)}catch(o){return"<non-serializable>"}}function O(e,t){if(void 0===t&&(t=[]),e)return y[E]&&y[E](e,t.map(k))}function _(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:d.i,message:e,args:t.map(k)})))}var S=!1!==globalThis.__DEV__},73678:function(e,t,n){"use strict";n.d(t,{A:function(){return f}});var r=n(53553),i=n(54410),o=n(31975),a=n(76104),s=n(10184),u=n(21139),c=n(32350);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.sy?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){var i;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.mr);this.performWork=(0,u.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var r=t.getCacheKey(e);if(r)return(0,a.kG)(Array.isArray(r),77),n.lookupArray(r)},max:c.Q["documentTransform.cache"],cache:s.k})}},e.prototype.performWork=function(e){return(0,o.A$)(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))}),{cache:!1}),{left:this,right:t})},e}()},99542:function(e,t,n){"use strict";n.d(t,{LZ:function(){return a},FS:function(){return l},mj:function(){return f},GT:function(){return d}});var r=n(76104),i=n(79041),o=n(94816);function a(e,t){var n=e.directives;return!n||!n.length||h(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.kG)(void 0!==o,78,n.name.value)):o=i.value.value,"skip"===n.name.value?!o:o}))}function s(e){var t=[];return visit(e,{Directive:function(e){t.push(e.name.value)}}),t}var u=function(e,t){return l(e,t,!1)},c=function(e,t){return l(e,t,!0)};function l(e,t,n){var r=new Set(e),o=r.size;return(0,i.Vn)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.$_}}),n?!r.size:r.size<o}function f(e){return e&&l(["client","export"],e,!0)}function p(e){var t=e.name.value;return"skip"===t||"include"===t}function h(e){var t=[];return e&&e.length&&e.forEach((function(e){if(p(e)){var n=e.arguments,i=e.name.value;(0,r.kG)(n&&1===n.length,79,i);var o=n[0];(0,r.kG)(o.name&&"if"===o.name.value,80,i);var a=o.value;(0,r.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),81,i),t.push({directive:e,ifArgument:o})}})),t}function d(e){var t,n,i=null===(t=e.directives)||void 0===t?void 0:t.find((function(e){var t;return"unmask"===e.name.value}));if(!i)return"mask";var a=null===(n=i.arguments)||void 0===n?void 0:n.find((function(e){var t;return"mode"===e.name.value}));return!1!==globalThis.__DEV__&&a&&(a.value.kind===o.h.VARIABLE?!1!==globalThis.__DEV__&&r.kG.warn(82):a.value.kind!==o.h.STRING?!1!==globalThis.__DEV__&&r.kG.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&r.kG.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value?"migrate":"unmask"}},82746:function(e,t,n){"use strict";n.d(t,{Yk:function(){return a},F:function(){return s},hi:function(){return u},YU:function(){return c}});var r=n(47925),i=n(76104),o=n(79041);function a(e,t){var n=t,o=[],a;return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),"undefined"===typeof n&&((0,i.kG)(1===o.length,86,o.length),n=o[0].name.value),(0,r.pi)((0,r.pi)({},e),{definitions:(0,r.ev)([{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 u(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.kG)(r,87,n),r||null;default:return null}}function c(e){var t=!0;return(0,o.Vn)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some((function(e){return"unmask"===e.name.value}))))return o.$_}}),t}},31975:function(e,t,n){"use strict";n.d(t,{A$:function(){return o},$H:function(){return a},rY:function(){return s},kU:function(){return u},iW:function(){return c},pD:function(){return l},p$:function(){return f},O4:function(){return p}});var r=n(76104),i=n(257);function o(e){(0,r.kG)(e&&"Document"===e.kind,88);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,r._K)(89,e.kind);return e}));return(0,r.kG)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function s(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function u(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function c(e){var t=a(e);return(0,r.kG)(t&&"query"===t.operation,91),t}function l(e){(0,r.kG)("Document"===e.kind,92),(0,r.kG)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,r.kG)("FragmentDefinition"===t.kind,94),t}function f(e){var t;o(e);for(var n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r._K)(95)}function p(e){var t=Object.create(null),n=e&&e.variableDefinitions;
1return n&&n.length&&n.forEach((function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)})),t}},84031:function(e,t,n){"use strict";n.d(t,{S:function(){return E}});var r=n(60833);function i(e){return`"${e.replace(o,a)}"`}const o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(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 u=n(79041);function c(e){return(0,u.Vn)(e,f)}const l=80,f={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>p(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=d("(",p(e.variableDefinitions,", "),")"),n=p([e.operation,p([e.name,t]),p(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+d(" = ",n)+d(" ",p(r," "))},SelectionSet:{leave:({selections:e})=>h(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){const o=d("",e,": ")+t;let a=o+d("(",p(n,", "),")");return a.length>l&&(a=o+d("(\n",v(p(n,"\n")),"\n)")),p([a,p(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+d(" ",p(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>p(["...",d("on ",e),p(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${d("(",p(n,", "),")")} on ${t} ${d("",p(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,r.LZ)(e):i(e)},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+p(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+p(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+d("(",p(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>d("",e,"\n")+p(["schema",p(t," "),h(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>d("",e,"\n")+p(["scalar",t,p(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>d("",e,"\n")+p(["type",t,d("implements ",p(n," & ")),p(r," "),h(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>d("",e,"\n")+t+(y(n)?d("(\n",v(p(n,"\n")),"\n)"):d("(",p(n,", "),")"))+": "+r+d(" ",p(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>d("",e,"\n")+p([t+": "+n,d("= ",r),p(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>d("",e,"\n")+p(["interface",t,d("implements ",p(n," & ")),p(r," "),h(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>d("",e,"\n")+p(["union",t,p(n," "),d("= ",p(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>d("",e,"\n")+p(["enum",t,p(n," "),h(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>d("",e,"\n")+p([t,p(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>d("",e,"\n")+p(["input",t,p(n," "),h(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>d("",e,"\n")+"directive @"+t+(y(n)?d("(\n",v(p(n,"\n")),"\n)"):d("(",p(n,", "),")"))+(r?" repeatable":"")+" on "+p(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>p(["extend schema",p(e," "),h(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>
1p(["extend scalar",e,p(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>p(["extend type",e,d("implements ",p(t," & ")),p(n," "),h(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>p(["extend interface",e,d("implements ",p(t," & ")),p(n," "),h(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>p(["extend union",e,p(t," "),d("= ",p(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>p(["extend enum",e,p(t," "),h(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>p(["extend input",e,p(t," "),h(n)]," ")}};function p(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 h(e){return d("{\n",v(p(e,"\n")),"\n}")}function d(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function v(e){return d(" ",e.replace(/\n/g,"\n "))}function y(e){var t;return null!==(t=null===e||void 0===e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var m=n(22330),b=n(32350),g=n(68624),w,E=Object.assign((function(e){var t=w.get(e);return t||(t=c(e),w.set(e,t)),t}),{reset:function(){w=new m.s(b.Q.print||2e3)}});E.reset(),!1!==globalThis.__DEV__&&(0,g.zP)("print",(function(){return w?w.size:0}))},257:function(e,t,n){"use strict";n.d(t,{kQ:function(){return s},Yk:function(){return u},JW:function(){return c},vb:function(){return g},vf:function(){return w},PT:function(){return O},NC:function(){return _},u2:function(){return S},qw:function(){return T},My:function(){return I},Ao:function(){return x}});var r=n(76104),i=n(50539),o=n(82746),a=n(51439);function s(e){return{__ref:String(e)}}function u(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function c(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e){return"StringValue"===e.kind}function f(e){return"BooleanValue"===e.kind}function p(e){return"IntValue"===e.kind}function h(e){return"FloatValue"===e.kind}function d(e){return"Variable"===e.kind}function v(e){return"ObjectValue"===e.kind}function y(e){return"ListValue"===e.kind}function m(e){return"EnumValue"===e.kind}function b(e){return"NullValue"===e.kind}function g(e,t,n,i){if(p(n)||h(n))e[t.value]=Number(n.value);else if(f(n)||l(n))e[t.value]=n.value;else if(v(n)){var o={};n.fields.map((function(e){return g(o,e.name,e.value,i)})),e[t.value]=o}else if(d(n)){var a=(i||{})[n.name.value];e[t.value]=a}else if(y(n))e[t.value]=n.values.map((function(e){var n={};return g(n,t,e,i),n[t.value]}));else if(m(n))e[t.value]=n.value;else{if(!b(n))throw(0,r._K)(96,t.value,n.kind);e[t.value]=null}}function w(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,o=r.value;return g(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 g(r,n,i,t)}))),O(e.name.value,r,n)}var E=["connection","include","skip","client","rest","export","nonreactive"],k=a.B,O=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(k(i),")")}return n.connection.key}var o=e;if(t){var a=k(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach((function(e){-1===E.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(k(n[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=k;return k=e,t}});function _(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return g(n,r,i,t)})),n}return null}function S(e){return e.alias?e.alias.value:e.name.value}function T(e,t,n){for(var r,i=0,a=t.selections;i<a.length;i++){var s;if(I(s=a[i])){if("__typename"===s.name.value)return e[S(s)]}else r?r.push(s):r=[s]}if("string"===typeof e.__typename)return e.__typename;if(r)for(var u=0,c=r;u<c.length;u++){var s=c[u],l=T(e,(0,o.hi)(s,n).selectionSet,n);if("string"===typeof l)return l}}function I(e){return"Field"===e.kind}function x(e){return"InlineFragment"===e.kind}},40644:function(e,t,n){"use strict";n.d(t,{bi:function(){return y},Gw:function(){return m},aL:function(){return S},ob:function(){return T},UU:function(){return I}});var r=n(47925),i=n(76104),o=n(94816),a=n(79041),s=n(31975),u=n(257),c=n(82746),l=n(62718),f={kind:o.h.FIELD,name:{kind:o.h.NAME,value:"__typename"}};function p(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===o.h.FRAGMENT_SPREAD&&p(t[e.name.value],t)}))}function h(e){return p((0,s.$H)(e)||(0,s.pD)(e),(0,c.F)((0,s.kU)(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))}
1)),function(e){var r=t.get(e.name.value);return!r&&n.size&&n.forEach((function(t,n){n(e)&&(r=t)})),r}}function v(e){var t=new Map;return function n(r){void 0===r&&(r=e);var i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}function y(e,t){(0,s.A$)(t);for(var n=v(""),u=v(""),c=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,l.k)(r)){if(r.kind===o.h.OPERATION_DEFINITION)return n(r.name&&r.name.value);if(r.kind===o.h.FRAGMENT_DEFINITION)return u(r.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(97),null},f=0,p=t.definitions.length-1;p>=0;--p)t.definitions[p].kind===o.h.OPERATION_DEFINITION&&++f;var y=d(e),m=function(e){return(0,l.O)(e)&&e.map(y).some((function(e){return e&&e.remove}))},b=new Map,g=!1,w={enter:function(e){if(m(e.directives))return g=!0,null}},E=(0,a.Vn)(t,{Field:w,InlineFragment:w,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(m(e.directives))return g=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){b.set(JSON.stringify(r),e)},leave:function(e,t,n,r){var i;return e===b.get(JSON.stringify(r))?e:f>0&&e.selectionSet.selections.every((function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value}))?(u(e.name.value).removed=!0,g=!0,null):void 0}},Directive:{leave:function(e){if(y(e))return g=!0,null}}});if(!g)return t;var k=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){k(u(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},O=new Set;E.definitions.forEach((function(e){e.kind===o.h.OPERATION_DEFINITION?k(n(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){O.add(e)})):e.kind!==o.h.FRAGMENT_DEFINITION||0!==f||u(e.name.value).removed||O.add(e.name.value)})),O.forEach((function(e){k(u(e)).fragmentSpreads.forEach((function(e){O.add(e)}))}));var _=function(e){return!(O.has(e)&&!u(e).removed)},S={enter:function(e){if(_(e.name.value))return null}};return h((0,a.Vn)(E,{FragmentSpread:S,FragmentDefinition:S,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=k(n(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.pi)((0,r.pi)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var m=Object.assign((function(e){return(0,a.Vn)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==o.h.OPERATION_DEFINITION){var i=e.selections,a;if(i)if(!i.some((function(e){return(0,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var s=n;if(!((0,u.My)(s)&&s.directives&&s.directives.some((function(e){return"export"===e.name.value}))))return(0,r.pi)((0,r.pi)({},e),{selections:(0,r.ev)((0,r.ev)([],i,!0),[f],!1)})}}}}})}),{added:function(e){return e===f}}),b={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||!1!==globalThis.__DEV__&&i.kG.warn(98)),t}};function g(e){return y([b],checkDocument(e))}function w(e,t,n){return void 0===n&&(n=!0),!!t&&t.selections&&t.selections.some((function(t){return E(e,t,n)}))}function E(e,t,n){return void 0===n&&(n=!0),!isField(t)||!!t.directives&&(t.directives.some(d(e))||n&&w(e,t.selectionSet,n))}function k(e){return function t(n){return e.some((function(e){return n.value&&n.value.kind===Kind.VARIABLE&&n.value.name&&(e.name===n.value.name.value||e.test&&e.test(n))}))}}function O(e,t){var n=k(e);return h(visit(t,{OperationDefinition:{enter:function(t){return __assign(__assign({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function(t){var r;if(e.some((function(e){return e.remove}))){var i=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(i+=1)})),1===i)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}function _(e,t){function n(t){if(e.some((function(e){return e.name===t.name.value})))return null}return h(visit(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}function S(e){var t,n,i;
1return"query"===(0,s.p$)(e).operation?e:(0,a.Vn)(e,{OperationDefinition:{enter:function(e){return(0,r.pi)((0,r.pi)({},e),{operation:"query"})}}})}function T(e){var t;return(0,s.A$)(e),y([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function I(e){return(0,s.A$)(e),(0,a.Vn)(e,{FragmentSpread:function(e){var t;if(!(null===(t=e.directives)||void 0===t?void 0:t.some((function(e){return"unmask"===e.name.value}))))return(0,r.pi)((0,r.pi)({},e),{directives:(0,r.ev)((0,r.ev)([],e.directives||[],!0),[{kind:o.h.DIRECTIVE,name:{kind:o.h.NAME,value:"nonreactive"}}],!1)})}})}},17972:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="3.13.8"},89134:function(e,t,n){"use strict";function r(){}n.d(t,{e:function(){return 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)}}},10184:function(e,t,n){"use strict";function r(){}n.d(t,{k:function(){return c}});const i=r,o="undefined"!==typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="undefined"!==typeof WeakMap?WeakMap:Map,s="undefined"!==typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:r,unregister:r}},u=10024;class c{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new a,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<u;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 s(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))}}},68815:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});const{toString:r,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return u(e,t)}finally{a.clear()}}function u(e,t){if(e===t)return!0;const n=r.call(e),a=undefined;if(n!==r.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(h(e,t))return!0;const n=c(e),r=c(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(h(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)&&!p(n,f)}}return!1}function c(e){return Object.keys(e).filter(l,e)}function l(e){return void 0!==this[e]}t.Z=s;const f="{ [native code] }";function p(e,t){const n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}function h(e,t){let n=a.get(e);if(n){if(n.has(t))return!0}else a.set(e,n=new Set);return n.add(t),!1}},53553:function(e,t,n){"use strict";n.d(t,{B:function(){return s}});const r=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{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))),a.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 s(this.weakness,this.makeData)),n}mapFor(e,t){return this.weakness&&u(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}function u(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}},82264:function(e,t,n){"use strict";function r(e,t){const n=undefined;if(!Boolean(e))throw new Error(t)}n.d(t,{a:function(){return r}})},18601:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});const r=10,i=2;function o(e){return a(e,[])}function a(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return s(e,t);default:return String(e)}}function s(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const n=[...t,e];if(u(e)){const t=e.toJSON();if(t!==e)return"string"===typeof t?t:a(t,n)}else if(Array.isArray(e))return l(e,n);return c(e,n)}function u(e){return"function"===typeof e.toJSON}function c(e,t){const n=Object.entries(e);if(0===n.length)return"{}";if(t.length>2)return"["+f(e)+"]";const r=undefined;return"{ "+n.map((([e,n])=>e+": "+a(n,t))).join(", ")+" }"}function l(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const n=Math.min(r,e.length),i=e.length-n,o=[];for(let r=0;r<n;++r)o.push(a(e[r],t));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}function f(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}},40662:function(e,t,n){"use strict";n.d(t,{Ye:function(){return r},WU:function(){return i},h8:function(){return o},UG:function(){return s},ku:function(){return u}});
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:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=new Set(Object.keys(o));function s(e){const t=null===e||void 0===e?void 0:e.kind;return"string"===typeof t&&a.has(t)}var u;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(u||(u={}))},60833:function(e,t,n){"use strict";n.d(t,{wv:function(){return i},LZ:function(){return s}});var r=n(52819);function i(e){var t;let n=Number.MAX_SAFE_INTEGER,r=null,i=-1;for(let s=0;s<e.length;++s){var a;const t=e[s],u=o(t);u!==t.length&&(r=null!==(a=r)&&void 0!==a?a:s,i=s,0!==s&&u<n&&(n=u))}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.FD)(e.charCodeAt(t));)++t;return t}function a(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}return!t&&(!r||!i)}function s(e,t){const n=e.replace(/"""/g,'\\"""'),i=n.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every((e=>0===e.length||(0,r.FD)(e.charCodeAt(0)))),s=n.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!==t&&void 0!==t&&t.minimize)&&(!o||e.length>70||l||a||s);let p="";const h=o&&(0,r.FD)(e.charCodeAt(0));return(f&&!h||a)&&(p+="\n"),p+=n,(f||l)&&(p+="\n"),'"""'+p+'"""'}},52819:function(e,t,n){"use strict";function r(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}n.d(t,{FD:function(){return r},X1:function(){return i},LQ:function(){return a},HQ:function(){return s}})},94816:function(e,t,n){"use strict";var r;n.d(t,{h:function(){return 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.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"}(r||(r={}))},79041:function(e,t,n){"use strict";n.d(t,{$_:function(){return s},Vn:function(){return u}});var r=n(82264),i=n(18601),o=n(40662),a=n(94816);const s=Object.freeze({});function u(e,t,n=o.h8){const u=new Map;for(const r of Object.values(a.h))u.set(r,l(t,r));let c,f=Array.isArray(e),p=[e],h=-1,d=[],v=e,y,m;const b=[],g=[];do{h++;const e=h===p.length,a=e&&0!==d.length;if(e){if(y=0===g.length?void 0:b[b.length-1],v=m,m=g.pop(),a)if(f){v=v.slice();let e=0;for(const[t,n]of d){const r=t-e;null===n?(v.splice(r,1),e++):v[r]=n}}else{v={...v};for(const[e,t]of d)v[e]=t}h=c.index,p=c.keys,d=c.edits,f=c.inArray,c=c.prev}else if(m){if(y=f?h:p[h],v=m[y],null===v||void 0===v)continue;b.push(y)}let l;if(!Array.isArray(v)){var w,E;(0,o.UG)(v)||(0,r.a)(!1,`Invalid AST Node: ${(0,i.X)(v)}.`);const n=e?null===(w=u.get(v.kind))||void 0===w?void 0:w.leave:null===(E=u.get(v.kind))||void 0===E?void 0:E.enter;if(l=null===n||void 0===n?void 0:n.call(t,v,y,m,b,g),l===s)break;if(!1===l){if(!e){b.pop();continue}}else if(void 0!==l&&(d.push([y,l]),!e)){if(!(0,o.UG)(l)){b.pop();continue}v=l}}var k;if(void 0===l&&a&&d.push([y,v]),e)b.pop();else c={inArray:f,index:h,keys:p,edits:d,prev:c},f=Array.isArray(v),p=f?v:null!==(k=n[v.kind])&&void 0!==k?k:[],h=-1,d=[],m&&g.push(m),m=v}while(void 0!==c);return 0!==d.length?d[d.length-1][1]:e}function c(e){const t=new Array(e.length).fill(null),n=Object.create(null);for(const r of Object.values(Kind)){let i=!1;const o=new Array(e.length).fill(void 0),a=new Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){const{enter:n,leave:s}=l(e[t],r);i||(i=null!=n||null!=s),o[t]=n,a[t]=s}if(!i)continue;const u={enter(...n){const r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;const u=null===(i=o[a])||void 0===i?void 0:i.apply(e[a],n);if(!1===u)t[a]=r;else if(u===s)t[a]=s;else if(void 0!==u)return u}},leave(...n){const r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;const r=null===(i=a[o])||void 0===i?void 0:i.apply(e[o],n);if(r===s)t[o]=s;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=u}return n}function l(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}}function f(e,t,n){const{enter:r,leave:i}=l(e,t);return n?i:r}},21139:function(e,t,n){"use strict";n.d(t,{g7:function(){return h},dP:function(){return Y},re:function(){return X}});var r=n(53553),i=n(89134);let o=null;const a={};let s=1;const u=()=>class e{constructor(){this.id=["slot",s++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=o;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===a)break;return e!==o&&(o.slots[this.id]=t),!0}return o&&(o.slots[this.id]=a),!1}getValue(){if(this.hasValue())return o.slots[this.id]}withValue(e,t,n,r){const i={__proto__:null,[this.id]:e},a=o;o={parent:a,slots:i};try{return t.apply(r,n)}finally{o=a}}static bind(e){const t=o;return function(){const n=o;try{return o=t,e.apply(this,arguments)}finally{o=n}}}static noContext(e,t,n){if(!o)return e.apply(n,t);{const r=o;try{return o=null,e.apply(n,t)}finally{o=r}}}};function c(e){try{return e()}catch(t){}}const l="@wry/context:Slot",f=undefined,p=c((()=>globalThis))||c((()=>global))||Object.create(null),h=p[l]||Array[l]||function(e){try{Object.defineProperty(p,l,{value:e,enumerable:!1,writable:!1,
1configurable:!0})}finally{return e}}(u()),{bind:d,noContext:v}=h;function y(e,t){return setTimeout(d(e),t)}function m(e){return function(){const t=e.apply(this,arguments),n=d(t.next),r=d(t.throw);return new Promise(((e,i)=>{function o(n,r){try{var o=n.call(t,r)}catch(c){return i(c)}const u=o.done?e:a;b(o.value)?o.value.then(u,o.done?i:s):u(o.value)}const a=e=>o(n,e),s=e=>o(r,e);a()}))}}function b(e){return e&&"function"===typeof e.then}const g=null;function w(e){if(g.indexOf(e)<0){const t=(e,t)=>{const n=e[t];e[t]=function(){return v(n,arguments,this)}};t(e,"yield"),t(e.prototype,"run"),t(e.prototype,"throwInto"),g.push(e)}return e}const E=new h;function k(e){return E.withValue(void 0,e)}const{hasOwnProperty:O}=Object.prototype,_=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function S(e){const{unsubscribe:t}=e;"function"===typeof t&&(e.unsubscribe=void 0,t())}const T=[],I=100;function x(e,t){if(!e)throw new Error(t||"assertion failure")}function D(e,t){const n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}function N(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function R(e){return e.slice(0)}class C{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,++C.count}peek(){if(1===this.value.length&&!F(this))return P(this),this.value[0]}recompute(e){return x(!this.recomputing,"already recomputing"),P(this),F(this)?A(this,e):N(this.value)}setDirty(){this.dirty||(this.dirty=!0,L(this),S(this))}dispose(){this.setDirty(),U(this),q(this,((e,t)=>{e.setDirty(),W(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=T.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(_(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),T.push(this.deps),this.deps=null)}}function P(e){const t=E.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),F(e)?Q(t,e):z(t,e),t}function A(e,t){return U(e),E.withValue(e,M,[e,t]),G(e,t)&&j(e),N(e.value)}function M(e,t){e.recomputing=!0;const{normalizeResult:n}=e;let r;n&&1===e.value.length&&(r=R(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!D(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 F(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function j(e){e.dirty=!1,F(e)||V(e)}function L(e){q(e,Q)}function V(e){q(e,z)}function q(e,t){const n=e.parents.size;if(n){const r=_(e.parents);for(let i=0;i<n;++i)t(r[i],e)}}function Q(e,t){x(e.childValues.has(t)),x(F(t));const n=!F(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=T.pop()||new Set;e.dirtyChildren.add(t),n&&L(e)}function z(e,t){x(e.childValues.has(t)),x(!F(t));const n=e.childValues.get(t);0===n.length?e.childValues.set(t,R(t.value)):D(n,t.value)||e.setDirty(),B(e,t),F(e)||V(e)}function B(e,t){const n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(T.length<I&&T.push(n),e.dirtyChildren=null))}function U(e){e.childValues.size>0&&e.childValues.forEach(((t,n)=>{W(e,n)})),e.forgetDeps(),x(null===e.dirtyChildren)}function W(e,t){t.parents.delete(e),e.childValues.delete(t),B(e,t)}function G(e,t){if("function"===typeof e.subscribe)try{S(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}C.count=0;const K={setDirty:!0,dispose:!0,forget:!0};function Y(e){const t=new Map,n=e&&e.subscribe;function r(e){const r=E.getValue();if(r){let i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"===typeof n&&(S(i),i.unsubscribe=n(e))}}return r.dirty=function e(n,r){const i=t.get(n);if(i){const e=r&&O.call(K,r)?r:"setDirty";_(i).forEach((t=>t[e]())),t.delete(n),S(i)}},r}let $;function H(...e){const t=undefined;return($||($=new r.B("function"===typeof WeakMap))).lookupArray(e)}const J=new Set;function X(e,{max:t=Math.pow(2,16),keyArgs:n,makeCacheKey:r=H,normalizeResult:o,subscribe:a,cache:s=i.e}=Object.create(null)){const u="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 i=u.get(t);i||(u.set(t,i=new C(e)),i.normalizeResult=o,i.subscribe=a,i.forget=()=>u.delete(t));const s=i.recompute(Array.prototype.slice.call(arguments));return u.set(t,i),J.add(u),E.hasValue()||(J.forEach((e=>e.clean())),J.clear()),s};function l(e){const t=e&&u.get(e);t&&t.setDirty()}function f(e){const t=e&&u.get(e);if(t)return t.peek()}function p(e){return!!e&&u.delete(e)}return Object.defineProperty(c,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:n,makeCacheKey:r,normalizeResult:o,subscribe:a,cache:u}),c.dirtyKey=l,c.dirty=function e(){l(r.apply(null,arguments))},c.peekKey=f,c.peek=function e(){return f(r.apply(null,arguments))},c.forgetKey=p,c.forget=function e(){return p(r.apply(null,arguments))},c.makeCacheKey=r,c.getKey=n?function e(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(c)}},47925:function(e,t,n){"use strict";n.d(t,{ZT:function(){return i},pi:function(){return o},_T:function(){return a},mG:function(){return d},Jh:function(){return v},ev:function(){return k}});var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function e(t){for(var n,r=1,i=arguments.length;r<i;r++)for(var o in n=arguments[r])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i=arguments.length,o=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r,a;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(a=e[s])&&(o=(i<3?a(o):i>3?a(t,n,o):a(t,n))||o);return i>3&&o&&Object.defineProperty(t,n,o),o}function u(e,t){return function(n,r){t(n,r,e)}}function c(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!==typeof e)throw new TypeError("Function expected");return e}for(var s=r.kind,u="getter"===s?"get":"setter"===s?"set":"value",c=!t&&e?r.static?e:e.prototype:null,l=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f,p=!1,h=n.length-1;h>=0;h--){var d={};for(var v in r)d[v]="access"===v?{}:r[v];for(var v in r.access)d.access[v]=r.access[v];d.addInitializer=function(e){if(p)throw new TypeError("Cannot add initializer
1s after decoration has completed");o.push(a(e||null))};var y=(0,n[h])("accessor"===s?{get:l.get,set:l.set}:l[u],d);if("accessor"===s){if(void 0===y)continue;if(null===y||"object"!==typeof y)throw new TypeError("Object expected");(f=a(y.get))&&(l.get=f),(f=a(y.set))&&(l.set=f),(f=a(y.init))&&i.unshift(f)}else(f=a(y))&&("field"===s?i.unshift(f):l[u]=f)}c&&Object.defineProperty(c,r.name,l),p=!0}function l(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function f(e){return"symbol"===typeof e?e:"".concat(e)}function p(e,t,n){return"symbol"===typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,n,r){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function a(e){try{u(r.next(e))}catch(t){o(t)}}function s(e){try{u(r.throw(e))}catch(t){o(t)}}function u(e){e.done?n(e.value):i(e.value).then(a,s)}u((r=r.apply(e,t||[])).next())}))}function v(e,t){var n={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},r,i,o,a=Object.create(("function"===typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return u([e,t])}}function u(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(n=0)),n;)try{if(r=1,i&&(o=2&s[0]?i.return:s[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;switch(i=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return n.label++,{value:s[1],done:!1};case 5:n.label++,i=s[1],s=[0];continue;case 7:s=n.ops.pop(),n.trys.pop();continue;default:if(!(o=(o=n.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){n=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){n.label=s[1];break}if(6===s[0]&&n.label<o[1]){n.label=o[1],o=s;break}if(o&&n.label<o[2]){n.label=o[2],n.ops.push(s);break}o[2]&&n.ops.pop(),n.trys.pop();continue}s=t.call(e,n)}catch(u){s=[6,u],i=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var y=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function m(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||y(t,e,n)}function b(e){var t="function"===typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,o=[],a;try{for(;(void 0===t||t-- >0)&&!(i=r.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return o}function w(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function E(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function k(e,t,n){if(n||2===arguments.length)for(var r=0,i=t.length,o;r<i;r++)!o&&r in t||(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}
1function O(e){return this instanceof O?(this.v=e,this):new O(e)}function _(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,t||[]),i,o=[];return i=Object.create(("function"===typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(e){return function(t){return Promise.resolve(t).then(e,f)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise((function(n,r){o.push([e,t,n,r])>1||u(e,t)}))},t&&(i[e]=t(i[e])))}function u(e,t){try{c(r[e](t))}catch(n){p(o[0][3],n)}}function c(e){e.value instanceof O?Promise.resolve(e.value.v).then(l,f):p(o[0][2],e)}function l(e){u("next",e)}function f(e){u("throw",e)}function p(e,t){e(t),o.shift(),o.length&&u(o[0][0],o[0][1])}}function S(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:O(e[r](t)),done:!1}:i?i(t):t}:i}}function T(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=b(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise((function(r,o){i(r,o,(n=e[t](n)).done,n.value)}))}}function i(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var x=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},D=function(e){return(D=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function N(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=D(e),r=0;r<n.length;r++)"default"!==n[r]&&y(t,e,n[r]);return x(t,e),t}function R(e){return e&&e.__esModule?e:{default:e}}function C(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"===typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function P(e,t,n,r,i){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"===typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function A(e,t){if(null===t||"object"!==typeof t&&"function"!==typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"===typeof e?t===e:e.has(t)}function M(e,t,n){if(null!==t&&void 0!==t){if("object"!==typeof t&&"function"!==typeof t)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!==typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var F="function"===typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function j(e){function t(t){e.error=e.hasError?new F(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,(function(e){return t(e),i()}))}else r|=1}catch(a){t(a)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function L(e,t){return"string"===typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,(function(e,n,r,i,o){return n?t?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":e})):e}var V=i,q=o,Q=a,z=s,B=u,U=c,W=l,G=f,K=p,Y=h,$=d,H=v,J=y,X=m,Z=b,ee=g,te=w,ne=E,re=k,ie=O,oe=_,ae=S,se=T,ue=I,ce=N,le=R,fe=C,pe=P,he=A,de=M,ve=j,ye=L},7528:function(e,t,n){"use strict";function r(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=i(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"===typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{y:function(){return T}});var u=function(){return"function"===typeof Symbol},c=function(e){return u()&&Boolean(Symbol[e])},l=function(e){return c(e)?Symbol[e]:"@@"+e};u()&&!c("observable")&&(Symbol.observable=Symbol("observable"));var f=l("iterator"),p=l("observable"),h=l("species");function d(e,t){var n=e[t];if(null!=n){if("function"!==typeof n)throw new TypeError(n+" is not a function");return n}}function v(e){var t=e.constructor;return void 0!==t&&null===(t=t[h])&&(t=void 0),void 0!==t?t:T}function y(e){return e instanceof T}function m(e){m.log?m.log(e):setTimeout((function(){throw e}))}function b(e){Promise.resolve().then((function(){try{e()}catch(t){m(t)}}))}function g(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"===typeof t)t();else{var n=d(t,"unsubscribe");n&&n.call(t)}}catch(r){m(r)}}function w(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function E(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(k(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}
1function k(e,t,n){e._state="running";var r=e._observer;try{var i=d(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(w(e),!i)throw n;i.call(r,n);break;case"complete":w(e),i&&i.call(r)}}catch(o){m(o)}"closed"===e._state?g(e):"running"===e._state&&(e._state="ready")}function O(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void b((function(){return E(e)}))):void k(e,t,n);e._queue.push({type:t,value:n})}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new S(this);try{this._cleanup=t.call(void 0,n)}catch(r){n.error(r)}"initializing"===this._state&&(this._state="ready")}var t;return e.prototype.unsubscribe=function e(){"closed"!==this._state&&(w(this),g(this))},s(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),S=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function e(t){O(this._subscription,"next",t)},t.error=function e(t){O(this._subscription,"error",t)},t.complete=function e(){O(this._subscription,"complete")},s(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),T=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!==typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function e(t){return"object"===typeof t&&null!==t||(t={next:t,error:arguments[1],complete:arguments[2]}),new _(t,this._subscriber)},t.forEach=function e(t){var n=this;return new Promise((function(e,r){if("function"===typeof t)var i=n.subscribe({next:function(e){try{t(e,o)}catch(n){r(n),i.unsubscribe()}},error:r,complete:e});else r(new TypeError(t+" is not a function"));function o(){i.unsubscribe(),e()}}))},t.map=function e(t){var n=this,r;if("function"!==typeof t)throw new TypeError(t+" is not a function");return new(v(this))((function(e){return n.subscribe({next:function(n){try{n=t(n)}catch(r){return e.error(r)}e.next(n)},error:function(t){e.error(t)},complete:function(){e.complete()}})}))},t.filter=function e(t){var n=this,r;if("function"!==typeof t)throw new TypeError(t+" is not a function");return new(v(this))((function(e){return n.subscribe({next:function(n){try{if(!t(n))return}catch(r){return e.error(r)}e.next(n)},error:function(t){e.error(t)},complete:function(){e.complete()}})}))},t.reduce=function e(t){var n=this;if("function"!==typeof t)throw new TypeError(t+" is not a function");var r=v(this),i=arguments.length>1,o=!1,a=arguments[1],s=a;return new r((function(e){return n.subscribe({next:function(n){var r=!o;if(o=!0,!r||i)try{s=t(s,n)}catch(a){return e.error(a)}else s=n},error:function(t){e.error(t)},complete:function(){if(!o&&!i)return e.error(new TypeError("Cannot reduce an empty sequence"));e.next(s),e.complete()}})}))},t.concat=function e(){for(var t=this,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=v(this);return new o((function(e){var n,i=0;function a(t){n=t.subscribe({next:function(t){e.next(t)},error:function(t){e.error(t)},complete:function(){i===r.length?(n=void 0,e.complete()):a(o.from(r[i++]))}})}return a(t),function(){n&&(n.unsubscribe(),n=void 0)}}))},t.flatMap=function e(t){var n=this;if("function"!==typeof t)throw new TypeError(t+" is not a function");var r=v(this);return new r((function(e){var i=[],o=n.subscribe({next:function(n){if(t)try{n=t(n)}catch(s){return e.error(s)}var o=r.from(n).subscribe({next:function(t){e.next(t)},error:function(t){e.error(t)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(t){e.error(t)},complete:function(){a()}});function a(){o.closed&&0===i.length&&e.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[p]=function(){return this},e.from=function t(n){var i="function"===typeof this?this:e;if(null==n)throw new TypeError(n+" is not an object");var o=d(n,p);if(o){var a=o.call(n);if(Object(a)!==a)throw new TypeError(a+" is not an object");return y(a)&&a.constructor===i?a:new i((function(e){return a.subscribe(e)}))}if(c("iterator")&&(o=d(n,f)))return new i((function(e){b((function(){if(!e.closed){for(var t=r(o.call(n)),i;!(i=t()).done;){var a=i.value;if(e.next(a),e.closed)return}e.complete()}}))}));if(Array.isArray(n))return new i((function(e){b((function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}}))}));throw new TypeError(n+" is not observable")},e.of=function t(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];var o="function"===typeof this?this:e;return new o((function(e){b((function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}}))}))},s(e,null,[{key:h,get:function(){return this}}]),e}();u()&&Object.defineProperty(T,Symbol("extensions"),{value:{symbol:p,hostReportError:m},configurable:!0})}}]);
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.