1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{1118:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(5621)}])},5621:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return t0}});var n,i,o,a,s=r(5893),u=r(7294);r(3814);var c=r(7582),l=r(9316),f=r(3914),h=r(5317),p=function(e){var t=e.client,r=e.children,n=(0,h.K)(),i=f.useContext(n),o=f.useMemo(function(){return(0,c.pi)((0,c.pi)({},i),{client:t||i.client})},[i,t]);return(0,l.kG)(o.client,71),f.createElement(n.Provider,{value:o},r)},d=r(3457),v=r.n(d),y=r(1785),m=r.n(y),g=r(6275),b=r(20),_=r(3361),w=r(6331),k=r(6765),O=r(8216),E=r(3154),T=Object.prototype.hasOwnProperty;function S(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return D(e)}function D(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new x,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var I=function(e,t,r){return this.merge(e[r],t[r])},x=function(){function e(e){void 0===e&&(e=I),this.reconciler=e,this.isObject=E.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return(0,E.s)(t)&&(0,E.s)(e)?(Object.keys(t).forEach(function(i){if(T.call(e,i)){var o=e[i];if(t[i]!==o){var a=r.reconciler.apply(r,(0,c.ev)([e,t,i],n,!1));a!==o&&((e=r.shallowCopyForMerge(e))[i]=a)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,E.s)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,c.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}(),N=r(9869),R=r(8244),F=r(9613),C=r(7359),P=r(320),M=P.mr?WeakMap:Map,j=P.sy?WeakSet:Set,A=new g.g7,q=!1;function V(){q||(q=!0,!1!==globalThis.__DEV__&&l.kG.warn(64))}var Q=r(8702),L=r(1761),z=r(9065);function G(e,t,r){return A.withValue(!0,function(){var n=function e(t,r,n,i,o){var a,s=n.knownChanged,u=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,n.mutableTargets);if(Array.isArray(t)){for(var c=0,f=Array.from(t.entries());c<f.length;c++){var h=f[c],p=h[0],d=h[1];if(null===d){u[p]=null;continue}var v=e(d,r,n,i,!1!==globalThis.__DEV__?"".concat(o||"","[").concat(p,"]"):void 0);s.has(v)&&s.add(u),u[p]=v}return s.has(u)?u:t}for(var y=0,m=r.selections;y<m.length;y++){var g=m[y],b=void 0;if(i&&s.add(u),g.kind===C.h.FIELD){var _=(0,L.u2)(g),w=g.selectionSet;if(void 0===(b=u[_]||t[_]))continue;if(w&&null!==b){var v=e(t[_],w,n,i,!1!==globalThis.__DEV__?"".concat(o||"",".").concat(_):void 0);s.has(v)&&(b=v)}!1!==globalThis.__DEV__||(u[_]=b),!1!==globalThis.__DEV__&&(!i||"__typename"===_||(null===(a=Object.getOwnPropertyDescriptor(u,_))||void 0===a?void 0:a.value)?(delete u[_],u[_]=b):Object.defineProperty(u,_,function(e,t,r,n,i){var o=function(){return A.getValue()||(!1!==globalThis.__DEV__&&l.kG.warn(60,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(_,b,o||"",n.operationName,n.operationType)))}if(g.kind===C.h.INLINE_FRAGMENT&&(!g.typeCondition||n.cache.fragmentMatches(g,t.__typename))&&(b=e(t,g.selectionSet,n,i,o)),g.kind===C.h.FRAGMENT_SPREAD){var k=g.name.value,O=n.fragmentMap[k]||(n.fragmentMap[k]=n.cache.lookupFragment(k));(0,l.kG)(O,59,k);var E=(0,z.GT)(g);"mask"!==E&&(b=e(t,O.selectionSet,n,"migrate"===E,o))}s.has(b)&&s.add(u)}return"__typename"in t&&!("__typename"in u)&&(u.__typename=t.__typename),Object.keys(u).length!==Object.keys(t).length&&s.add(u),s.has(u)?u:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,Q.J)(n),n})}function B(e,t,r,n){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&V(),e;var i=t.definitions.filter(function(e){return e.kind===C.h.FRAGMENT_DEFINITION});void 0===n&&((0,l.kG)(1===i.length,61,i.length),n=i[0].name.value);var o=i.find(function(e){return e.name.value===n});return((0,l.kG)(!!o,62,n),null==e||(0,b.Z)(e,{}))?e:G(e,o.selectionSet,{operationType:"fragment",operationName:o.name.value,fragmentMap:(0,_.F)((0,k.kU)(t)),cache:r,mutableTargets:new M,knownChanged:new j})}var W=r(2747),U=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,g.re)(_.Yk,{max:w.Q["cache.fragmentQueryDocuments"]||1e3,cache:N.k})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.o
1ptimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,W.MH)(e,"canonizeResults","cache.readQuery"),(0,W.P6)("canonizeResults",function(){return r.read((0,c.pi)((0,c.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,s=(0,c._T)(e,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(n,i),f=void 0===o||"string"==typeof o?o:this.identify(o),h=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var p=i||(0,k.pD)(n).name.value;f||!1===globalThis.__DEV__||l.kG.warn(1,p)}var d=(0,c.pi)((0,c.pi)({},s),{returnPartialData:!0,id:f,query:u,optimistic:void 0===a||a});return new O.y(function(o){return r.watch((0,c.pi)((0,c.pi)({},d),{immediate:!0,callback:function(a){var s=h?B(a.result,n,r,i):a.result;if(!(t&&(0,F.W)(u,{data:t.result},{data:s},e.variables))){var l={data:s,complete:!!a.complete};a.missing&&(l.missing=D(a.missing.map(function(e){return e.missing}))),t=(0,c.pi)((0,c.pi)({},a),{result:s}),o.next(l)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,W.MH)(e,"canonizeResults","cache.readFragment"),(0,W.P6)("canonizeResults",function(){return r.read((0,c.pi)((0,c.pi)({},e),{query:r.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,c._T)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,o=(0,c._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,W.MH)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var n=(0,W.P6)("canonizeResults",function(){return r.readQuery(e)}),i=t(n);return null==i?n:(r.writeQuery((0,c.pi)((0,c.pi)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,W.MH)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var n=(0,W.P6)("canonizeResults",function(){return r.readFragment(e)}),i=t(n);return null==i?n:(r.writeFragment((0,c.pi)((0,c.pi)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(U.prototype.getMemoryInternals=R.Kb);var Y=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,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,c.ZT)(t,e),t}(Error),J=r(5028);function H(e){return e}var K=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=P.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(H,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new J.B(P.mr);this.performWork=(0,g.re)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,l.kG)(Array.isArray(n),104),r.lookupArray(n)},max:w.Q["documentTransform.cache"],cache:N.k})}},e.prototype.performWork=function(e){return(0,k.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 r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}(),$=r(7304),Z=r(1436),X={kind:C.h.FIELD,name:{kind:C.h.NAME,value:"__typename"}};function ee(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function et(e,t){(0,k.A$)(t);for(var r,n,i,o=ee(""),a=ee(""),s=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,Z.k)(r)){if(r.kind===C.h.OPERATION_DEFINITION)return o(r.name&&r.name.value);if(r.kind===C.h.FRAGMENT_DEFINITION)return a(r.name.value)}return!1!==globalThis.__DEV__&&l.kG.error(124),null},u=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===C.h.OPERATION_DEFINITION&&++u;var h=(r=new Map,n=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&n.set(e.test,e))}
1),function(e){var t=r.get(e.name.value);return!t&&n.size&&n.forEach(function(r,n){n(e)&&(t=r)}),t}),p=function(e){return(0,Z.O)(e)&&e.map(h).some(function(e){return e&&e.remove})},d=new Map,v=!1,y={enter:function(e){if(p(e.directives))return v=!0,null}},m=(0,$.Vn)(t,{Field:y,InlineFragment:y,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=s(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(p(e.directives))return v=!0,null;var o=s(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){d.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===d.get(JSON.stringify(n))?e:u>0&&e.selectionSet.selections.every(function(e){return e.kind===C.h.FIELD&&"__typename"===e.name.value})?(a(e.name.value).removed=!0,v=!0,null):void 0}},Directive:{leave:function(e){if(h(e))return v=!0,null}}});if(!v)return t;var g=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){g(a(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},b=new Set;m.definitions.forEach(function(e){e.kind===C.h.OPERATION_DEFINITION?g(o(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){b.add(e)}):e.kind!==C.h.FRAGMENT_DEFINITION||0!==u||a(e.name.value).removed||b.add(e.name.value)}),b.forEach(function(e){g(a(e)).fragmentSpreads.forEach(function(e){b.add(e)})});var w={enter:function(e){var t;if(t=e.name.value,!b.has(t)||a(t).removed)return null}};return i=(0,$.Vn)(m,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=g(o(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,c.pi)((0,c.pi)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===C.h.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,k.$H)(i)||(0,k.pD)(i),(0,_.F)((0,k.kU)(i)))?i:null}var er=Object.assign(function(e){return(0,$.Vn)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==C.h.OPERATION_DEFINITION){var n=e.selections;if(!(!n||n.some(function(e){return(0,L.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,L.My)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,c.pi)((0,c.pi)({},e),{selections:(0,c.ev)((0,c.ev)([],n,!0),[X],!1)})}}}})},{added:function(e){return e===X}});function en(e){return(0,k.A$)(e),et([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var ei=r(5466),eo=r(7392);let ea=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function es(e){return eu[e.charCodeAt(0)]}let eu=["\\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"],ec={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>el(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=ed(e.variableDefinitions)?eh("(\n",el(e.variableDefinitions,"\n"),"\n)"):eh("(",el(e.variableDefinitions,", "),")"),r=eh("",e.description,"\n")+el([e.operation,el([e.name,t]),el(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n,description:i})=>eh("",i,"\n")+e+": "+t+eh(" = ",r)+eh(" ",el(n," "))},SelectionSet:{leave:({selections:e})=>ef(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=eh("",e,": ")+t,a=o+eh("(",el(r,", "),")");return a.length>80&&(a=o+eh("(\n",ep(el(r,"\n")),"\n)")),el([a,el(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+eh(" ",el(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>el(["...",eh("on ",e),el(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i,description:o})=>eh("",o,"\n")+`fragment ${e}${eh("(",el(r,", "),")")} `+`on ${t} ${eh("",el(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,eo.LZ)(e):`"${e.replace(ea,es)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+el(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+el(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+eh("(",el(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>eh("",e,"\n")+el(["schema",el(t," "),ef(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>eh("",e,"\n")+el(["scalar",t,el(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>eh("",e,"\n")+el(["type",t,eh("implements ",el(r," & ")),el(n," "),ef(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>eh("",e,"\n")+t+(ed(r)?eh("(\n",ep(el(r,"\n")),"\n)"):eh("(",el(r,", "),")"))+": "+n+eh(" ",el(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>eh("",e,"\n")+el([t+": "+r,eh("= ",n),el(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>eh("",e,"\n")+el(["interface",t,eh("implements ",el(r," & ")),el(n," "),ef(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>eh("",e,"\n")+el(["union",t,el(r," "),eh("= ",el(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>eh("",e,"\n")+el(["enum",t,el(r," "),ef(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>eh("",e,"\n")+el([t,el(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>eh("",e,"\n")+el(["input",t,el(r," "),ef(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,directives:n,repeatable:i,locations:o})=>eh("",e,"\n")+"directive @"+t+(ed(r)?eh("(\n",ep(el(r,"\n")),"\n)"):eh("(",el(r,", "),")"))+eh(" ",el(n," "))+(i?" repeatable":"")+" on "+el(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>el(["extend schema",el(e," "),ef(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>el(["extend scalar",e,el(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>el(["extend type",e,eh("implements ",el(t," & ")),el(r," "),ef(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>el(["extend interface",e,eh("implements ",el(t," & ")),el(r," "),ef(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>el(["extend union",e,el(t," "),eh("= ",el(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>el(["extend enum",e,el(t," "),ef(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>el(["extend input",e,el(t," "),ef(r)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>el(["extend directive @"+e,el(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>el([e,eh(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>el([e,eh(".",t),eh("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>el(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>el(["@",e,eh("(",t,":)")])}};function el(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function ef(e){return eh("{\n",ep(el(e,"\n")),"\n}")}function eh(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function ep(e){return eh(" ",e.replace(/\n/g,"\n "))}function ed(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var ev=r(8991),ey=Object.assign(function(e){var t=a.get(e);return t||(t=(0,$.Vn)(e,ec),a.set(e,t)),t},{reset:function(){a=new ev.s(w.Q.print||2e3)}});ey.reset(),!1!==globalThis.__DEV__&&(0,R.zP)("print",function(){return a?a.size:0});var em=r(3712),eg=Object.prototype.hasOwnProperty;function eb(e){return null==e}function e_(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=eb(n)?eb(i)?void 0:{_id:i}:{id:n}),eb(n)&&!eb(i)&&(n=i),!eb(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var ew={dataIdFromObject:e_,addTypename:!0,resultCaching:!0,canonizeResults:!1};function ek(e){var t=e.canonizeResults;return void 0===t?ew.canonizeResults:t}var eO=/^[_a-z][_0-9a-z]*/i;function eE(e){var t=e.match(eO);return t?t[0]:e}function eT(e){return(0,E.s)(e)&&!(0,L.Yk)(e)&&!(0,Z.k)(e)}function eS(e,t){var r=(0,_.F)((0,k.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var eD=Object.create(null),eI=function(){return eD},ex=Object.create(null),eN=function(){function e(e,t){var r=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,Q.J)((0,L.Yk
1)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,L.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,L.kQ)(e);if((0,L.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,L.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,c.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),eg.call(this.data,e)){var r=this.data[e];if(r&&eg.call(r,t))return r[t]}return"__typename"===t&&eg.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof eC?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),eg.call(this.data,e))?this.data[e]:this instanceof eC?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,L.Yk)(e)&&(e=e.__ref),(0,L.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,l.kG)("string"==typeof r,2);var a=new x(eM).merge(i,o);if(this.data[r]=a,a!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=eE(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof eC||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),o=!1,a=!0,s={DELETE:eD,INVALIDATE:ex,isReference:L.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,L.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(u){var f=eE(u),h=n[u];if(void 0!==h){var p="function"==typeof t?t:t[u]||t[f];if(p){var d=p===eI?eD:p((0,Q.J)(h),(0,c.pi)((0,c.pi)({},s),{fieldName:f,storeFieldName:u,storage:r.getStorage(e,u)}));if(d===ex)r.group.dirty(e,u);else if(d===eD&&(d=void 0),d!==h&&(i[u]=d,o=!0,h=d,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&l.kG.warn(3,e),!0};if((0,L.Yk)(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,g=0,b=d;g<b.length;g++){var _=b[g];if((0,L.Yk)(_)){if(y=!0,v(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(y&&void 0!==m){!1!==globalThis.__DEV__&&l.kG.warn(4,m);break}}}}void 0!==h&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof eC?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=eI,n):eI)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(eg.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof eC&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){eg.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&eg.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,c._T)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.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 eC?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEac
1h(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){eg.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof eC;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!eg.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,L.Yk)(e)&&(t[e.__ref]=!0),(0,E.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,E.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),eR=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,g.dP)():null,this.keyMaker=new J.B(P.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=eE(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function eF(e,t){ej(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new eR(void 0===n||n))||this;return o.stump=new eP(o),o.storageTrie=new J.B(P.mr),i&&o.replace(i),o}return(0,c.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}(n=eN||(eN={})),n.Root=i;var eC=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,c.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,b.D)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,c.pi)((0,c.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return eg.call(this.data,t)?(0,c.pi)((0,c.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(eN),eP=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new eR(t.group.caching,t.group))||this}return(0,c.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(eC);function eM(e,t,r){var n=e[r],i=t[r];return(0,b.D)(n,i)?n:i}function ej(e){return!!(e instanceof eN&&e.group.caching)}var eA=function(){function e(){this.known=new(P.sy?WeakSet:Set),this.pool=new J.B(P.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,E.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,E.s)(e)){var t=(0,E.s)(e)?(0,Z.k)(e)?e.slice(0):(0,c.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,E.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function eq(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var eV=function(){function e(e){var t=this;this.knownResults=new(P.mr?WeakMap:Map),this.config=(0,em.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:ek(e)}),this.canon=e.canon||new eA,this.executeSelectionSet=(0,g.re)(function(e){var r,n=e.context.canonizeResults,i=eq(e);i[3]=!n;var o=(r=t.executeSelectionSet).peek.apply(r,i);return o?n?(0,c.pi)((0,c.pi)({},o),{result:t.canon.admit(o.result)}):o:(eF(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||w.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:eq,makeCacheKey:function(e,t,r,n){if(ej(r.store))return r.store.makeCacheKey(e,(0,L.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,g.re)(function(e){return eF(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||w.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(ej(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new eA},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,l=void 0===u?this.config.canonizeResults:u,f=this.config.cache.policies;a=(0,c.pi)((0,c.pi)({},(0,k.O4)((0,k.iW)(n))),a);var h=(0,L.kQ)(o),p=this.executeSelectionSet({selectionSet:(0,k.p$)(n).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,c.pi)({store:r,query:n,policies:f,variables:a,varString:(0,ei.B)(a),canonizeResults:l},eS(n,this.config.fragments))});if(p.missing&&(t=[new Y(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(p.missing),p.missing,n,a)],!(void 0===s||s)))throw t[0];return{result:p.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(ej(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if((0,L.Yk)(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,u=a.policies,c=a.store.getFieldValue(i,"__typename"),f=[],h=new x;function p(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof c&&!u.rootIdsByTypename[c]&&f.push({__typename:c}
1);var d=new Set(n.selections);d.forEach(function(e){var n,v;if((0,z.LZ)(e,s)){if((0,L.My)(e)){var y=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),m=(0,L.u2)(e);void 0===y?er.added(e)||(t=h.merge(t,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat((0,L.Yk)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,Z.k)(y)?y.length>0&&(y=p(r.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:a}),m)):e.selectionSet?null!=y&&(y=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:(0,L.Yk)(y)?y:o,context:a}),m)):a.canonizeResults&&(y=r.canon.pass(y)),void 0!==y&&f.push(((v={})[m]=y,v))}else{var g=(0,_.hi)(e,a.lookupFragment);if(!g&&e.kind===C.h.FRAGMENT_SPREAD)throw(0,l._K)(10,e.name.value);g&&u.fragmentMatches(g,c)&&g.selectionSet.selections.forEach(d.add,d)}}});var v={result:D(f),missing:t},y=a.canonizeResults?this.canon.admit(v):(0,Q.J)(v);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new x;function u(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,Z.k)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,L.Yk)(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,E.s)(r)&&((0,l.kG)(!(0,L.Yk)(r),11,(0,L.Yk)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(a.store,n,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),eQ=r(9487),eL=r(3887),ez=new g.g7,eG=new WeakMap;function eB(e){var t=eG.get(e);return t||eG.set(e,t={vars:new Set,dep:(0,g.dP)()}),t}function eW(e){eB(e).vars.forEach(function(t){return t.forgetCache(e)})}function eU(e){var t=new Set,r=new Set,n=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){eB(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var a=Array.from(r);r.clear(),a.forEach(function(t){return t(e)})}}else{var s=ez.getValue();s&&(i(s),eB(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),eB(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var eY=Object.create(null);function eJ(e){var t=JSON.stringify(e);return eY[t]||(eY[t]=Object.create(null))}function eH(e){var t=eJ(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=e$(e,function(e){var i=eX(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&eg.call(t,e[0])&&(i=eX(t,e,eZ)),(0,l.kG)(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function eK(e){var t=eJ(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(e$(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,Z.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,L.NC)(s,i);return u&&eX(u,e.slice(1))}return}if("$"===o){var c=r.slice(1);if(i&&eg.call(i,c)){var l=e.slice(0);return l[0]=c,eX(i,l)}return}if(t)return eX(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function e$(e,t){var r=new x;return(function e(t){var r=eJ(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,Z.k)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,Z.k)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function eZ(e,t){return e[t]}function eX(e,t,r){return r=r||eZ,function e(t){return(0,E.s)(t)?(0,Z.k)(t)?t.map(e):e$(Object.keys(t).sort(),function(e){return eX(t,e)}):t}(t.reduce(function e(t,n){return(0,Z.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}
1function e0(e){return void 0!==e.args?e.args:e.field?(0,L.NC)(e.field,e.variables):null}var e1=function(){},e2=function(e,t){return t.fieldName},e3=function(e,t,r){return(0,r.mergeObjects)(e,t)},e6=function(e,t){return t},e9=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,c.pi)({dataIdFromObject:e_},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 r,n,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a=t&&t.storeObject||e,s=(0,c.pi)((0,c.pi)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=e7(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;return A.withValue(!0,function(){for(;l;){var t=l((0,c.pi)((0,c.pi)({},e),a),s);if((0,Z.k)(t))l=eH(t);else{n=t;break}}}),n=n?String(n):void 0,s.keyObject?[n,s.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,o=n.mutationType,a=n.subscriptionType,s=(0,c._T)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),eg.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]})},e.prototype.updateTypePolicy=function(e,t,r){var n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?e3:!1===t?e6:e.merge}a(n,t.merge),n.keyFn=!1===i?e1:(0,Z.k)(i)?eH(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r[t];n&&(null==n?void 0:n.typename)===e||(n=r[t]={typename:e});var i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?e2:(0,Z.k)(s)?eK(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||e2)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,l.kG)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(eO);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!eg.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,c._T)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach(function(r){t.updateTypePolicy(e,r,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},c=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<s.length;++h){var p=s[h];
1if(p.has(o))return a.has(o)||(f&&!1!==globalThis.__DEV__&&l.kG.warn(7,t,o),a.add(o)),!0;p.forEach(u),c&&h===s.length-1&&function e(t,r,n){return!!(0,E.s)(r)&&((0,Z.k)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,L.My)(t)&&(0,z.LZ)(t,n)){var i=(0,L.u2)(t);return eg.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(c=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=e0(e);o;){var u=o(s,a);if((0,Z.k)(u))o=eK(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,L.vf)(e.field,e.variables):(0,L.PT)(n,e0(e))),!1===t)?n:n===eE(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=eE(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o),u=s&&s.read;if(u){var c=e8(this,r,e,t,t.store.getStorage((0,L.Yk)(r)?r.__ref:r,i));return ez.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===e3?e4(n.store)(e,t):s===e6?t:(n.overwrite&&(e=void 0),s(e,t,e8(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function e8(e,t,r,n,i){var o=e.getStoreFieldName(r),a=eE(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:e0(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:L.Yk,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(e7(arguments,t,s),n)},mergeObjects:e4(n.store)}}function e7(e,t,r){var n,i=e[0],o=e[1],a=e.length;return"string"==typeof i?n={fieldName:i,from:a>1?o:t}:(n=(0,c.pi)({},i),eg.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&l.kG.warn(8,(0,eL.v)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function e4(e){return function(t,r){if((0,Z.k)(t)||(0,Z.k)(r))throw(0,l._K)(9);if((0,E.s)(t)&&(0,E.s)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,L.Yk)(t)&&eT(r))return e.merge(t.__ref,r),t;if(eT(t)&&(0,L.Yk)(r))return e.merge(t,r.__ref),r;if(eT(t)&&eT(r))return(0,c.pi)((0,c.pi)({},t),r)}return r}}function e5(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,c.pi)((0,c.pi)({},e),{clientOnly:t,deferred:r})),i}var te=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,u=(0,k.$H)(n),f=new x;a=(0,c.pi)((0,c.pi)({},(0,k.O4)(u)),a);var h=(0,c.pi)((0,c.pi)({store:e,written:Object.create(null),merge:function(e,t){return f.merge(e,t)},variables:a,varString:(0,ei.B)(a)},eS(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,L.Yk)(p))throw(0,l._K)(12,i);return h.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=(0,L.kQ)(n);if(o&&o.map.size){var u=r.applyMerges(o,s,i,h);if((0,L.Yk)(u))return;i=u}if(!1!==globalThis.__DEV__&&!h.overwrite){var f=Object.create(null);a.forEach(function(e){e.selectionSet&&(f[e.name.value]=!0)});var p=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};
1Object.keys(i).forEach(function(e){!0!==f[eE(e)]||p(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||(0,L.Yk)(o)||(0,b.D)(o,a)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(a,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),u=eE(r),f="".concat(s,".").concat(u);if(!to.has(f)){to.add(f);var h=[];(0,Z.k)(o)||(0,Z.k)(a)||[o,a].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&l.kG.warn(15,u,s,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",f,(0,c.pi)({},o),(0,c.pi)({},a))}}}}(s,i,e,h.store)})}e.merge(n,i)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,u=Object.create(null),f=r&&s.rootTypenamesById[r]||(0,L.qw)(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof f&&(u.__typename=f);var h=function(){var e=e7(arguments,u,o.variables);if((0,L.Yk)(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var r=s.readField((0,c.pi)((0,c.pi)({},e),{from:t.storeObject}),o);if(void 0!==r)return r}}return s.readField(e,o)},p=new Set;this.flattenFields(i,n,o,f).forEach(function(e,r){var i,o=n[(0,L.u2)(r)];if(p.add(r),void 0!==o){var c=s.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),d=tr(a,c),v=t.processFieldValue(o,r,r.selectionSet?e5(e,!1,!1):e,d),y=void 0;r.selectionSet&&((0,L.Yk)(v)||eT(v))&&(y=h("__typename",v));var m=s.getMergeFunction(f,r.name.value,y);m?d.info={field:r,typename:f,merge:m}:ti(a,c),u=e.merge(u,((i={})[c]=v,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||er.added(r)||s.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||l.kG.error(13,(0,L.u2)(r),n)});try{var d=s.identify(n,{typename:f,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:u,readField:h}),v=d[0],y=d[1];r=r||v,y&&(u=o.merge(u,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,L.kQ)(r),g=o.written[r]||(o.written[r]=[]);if(g.indexOf(i)>=0||(g.push(i),this.reader&&this.reader.isFresh(n,m,i,o)))return m;var b=o.incomingById.get(r);return b?(b.storeObject=o.merge(b.storeObject,u),b.mergeTree=function e(t,r){if(t===r||!r||tn(r))return t;if(!t||tn(t))return r;var n=t.info&&r.info?(0,c.pi)((0,c.pi)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,o={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var a=new Set(r.map.keys());t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),a.delete(n)}),a.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(b.mergeTree,a),p.forEach(function(e){return b.fieldNodeSet.add(e)})):o.incomingById.set(r,{storeObject:u,mergeTree:tn(a)?void 0:a,fieldNodeSet:p}),m}return u},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,Z.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,tr(n,o));return ti(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,eQ.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,L.qw)(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,a=new J.B(!1);return function e(s,u){var c=a.lookup(s,u.clientOnly,u.deferred);c.visited||(c.visited=!0,s.selections.forEach(function(a){if((0,z.LZ)(a,r.variables)){var s=u.clientOnly,c=u.deferred;if(!(s&&c)&&(0,Z.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=(0,L.NC)(e,r.variables);n&&!1===n.if||(c=!0)}}),(0,L.My)(a)){var f=i.get(a);f&&(s=s&&f.clientOnly,c=c&&f.deferred),i.set(a,e5(r,s,c))}else{var h=(0,_.hi)(a,r.lookupFragment);if(!h&&a.kind===C.h.FRAGMENT_SPREAD)throw(0,l._K)(14,a.name.value);h&&o.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,e5(r,s,c))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var o=this;if(e.map.size&&!(0,L.Yk)(r)){var a,s,u=!(0,Z.k)(r)&&((0,L.Yk)(t)||eT(t))?t:void 0,f=r;u&&!i&&(i=[(0,L.Yk)(u)?u.__ref:u]);var h=function(e,t){return(0,Z.k)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=h(u,t),a=h(f,t);if(void 0!==a){i&&i.push(t);var c=o.applyMerges(e,r,a,n,i);c!==a&&(s=s||new Map).set(t,c),i&&(0,l.kG)(i.pop()===t)}}),s&&(r=(0,Z.k)(f)?f.slice(0):(0,c.pi)({},f),s.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(a=n.store).getStorage.apply(a,i)):r},e}(),tt=[];function tr(e,t){var r=e.map;return r.has(t)||r.set(t,tt.pop()||{map:new Map}),r.get(t)}function tn(e){return!e||!(e.info||e.map.size)}function ti(e,t){var r=e.map,n=r.get(t);n&&tn(n)&&(tt.push(n),r.delete(t))}var to=new Set,ta=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new K(er),n.assumeImmutableResults=!0,n.makeVar=eU,n.txCount=0,!1!==globalThis.__DEV__&&((0,W.MH)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,W.MH)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),n.config=(r=t,(0,em.o)(ew,r)),n.addTypename=!!n.config.addTypename,n.policies=new e9({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,c.ZT)(t,e),t.prototype.init=function(){var e=this.data=new eN.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.addTypenameTransform.resetCache(),null==n||n.resetCaches(),this.storeWriter=new te(this,this.storeReader=new eV({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:ek(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,g.re)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||w.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(ej(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,ei.B)({optimistic:n,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){!1!==globalThis.__DEV__&&(0,W.MH)(e,"canonizeResults","cache.read");var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,c.pi)((0,c.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof Y)return null;throw e}},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(eg.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!1!==globalThis.__DEV__&&(0,W.MH)(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,c.pi)((0,c.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||function(e){eB(e).vars.forEach(function(t){return t.attachCache(e)})}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&eW(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,W.MH)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),ei.B.reset(),ey.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},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,L.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&l.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(eg.call(e,"id"))return!1;e=(0,c.pi)((0,c.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(),ei.B.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),eW(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,r=this,n=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},l=new Set;return s&&!this.txCount&&this.broadcastWatches((0,c.pi)((0,c.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&l.size?(this.broadcastWatches((0,c.pi)((0,c.pi)({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.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;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,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 r=this,n=e.lastDiff,i=(0,W.P6)("canonizeResults",function(){return r.diff(e)});(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,n)))&&(n&&(0,b.D)(n.result,i.result)||e.callback(e.lastDiff=i,n))},t}(U);function ts(e,t){return t?t(e):O.y.of()}function tu(e){return"function"==typeof e?new tl(e):e}function tc(e){return e.request.length<=1}!1!==globalThis.__DEV__&&(ta.prototype.getMemoryInternals=R.q4);var tl=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return O.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(tu).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=tu(r),o=tu(n||new e(ts));return Object.assign(new e(tc(i)&&tc(o)?function(e){return t(e)?i.request(e)||O.y.of():o.request(e)||O.y.of()}:function(e,r){return t(e)?i.request(e,r)||O.y.of():o.request(e,r)||O.y.of()}),{left:i,right:o})},e.execute=function(e,t){var r,n,i,o;return e.request((i=t.context,(n={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(0>t.indexOf(i))throw(0,l._K)(58,i)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(n.operationName="string"!=typeof n.query?(0,k.rY)(n.query)||void 0:""),o=(0,c.pi)({},i),Object.defineProperty(n,"setContext",{enumerable:!1,value:function(e){o="function"==typeof e?(0,c.pi)((0,c.pi)({},o),e(o)):(0,c.pi)((0,c.pi)({},o),e)}}),Object.defineProperty(n,"getContext",{enumerable:!1,value:function(){return(0,c.pi)({},o)}}),n))||O.y.of()},e.concat=function(t,r){var n=tu(t);if(tc(n))return!1!==globalThis.__DEV__&&l.kG.warn(47,n),n;var i=tu(r);return Object.assign(new e(tc(i)?function(e){return n.request(e,function(e){return i.request(e)||O.y.of()})||O.y.of()}:function(e,t){return n.request(e,function(e){return i.request(e,t)||O.y.of()})||O.y.of()}),{left:n,right:i})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(ts)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,l._K)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,W.Jp)("onError",function(){!1!==globalThis.__DEV__&&l.kG.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&l.kG.warn(50),this.onError=e,this},e}(),tf=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,l._K)(54,t,e.message);throw n.parseError=e,n}return r};function th(e){var t={next:function(){return e.read()}};return P.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var tp=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},td=r(990);function tv(e){return"incremental"in e}function ty(e,t){var r=e,n=new x;return tv(t)&&(0,Z.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=isNaN(+a)?{}:[];s[a]=t,t=s}
1r=n.merge(r,t)}),r}var tm=Object.prototype.hasOwnProperty;function tg(e,t){e.status>=300&&tp(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var tb=function(e){if(!e&&"undefined"==typeof fetch)throw(0,l._K)(51)},t_={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},tw=function(e,t){return t(e)};function tk(e){return new O.y(function(t){t.error(e)})}var tO=(0,l.wY)(function(){return fetch}),tE=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,o=void 0===i?tw:i,a=e.includeExtensions,s=e.preserveHeaderCase,u=e.useGETForQueries,f=e.includeUnusedVariables,h=void 0!==f&&f,p=(0,c._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&tb(n||tO);var d={http:{includeExtensions:a,preserveHeaderCase:s},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new tl(function(e){var t,i,a,s,f,p,v,y,m=(t=e,i=r,t.getContext().uri||("function"==typeof i?i(t):i||"/graphql")),g=e.getContext(),b={};if(g.clientAwareness){var _=g.clientAwareness,w=_.name,T=_.version;w&&(b["apollographql-client-name"]=w),T&&(b["apollographql-client-version"]=T)}var S=(0,c.pi)((0,c.pi)({},b),g.headers),D={http:g.http,options:g.fetchOptions,credentials:g.credentials,headers:S};if((0,z.FS)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&l.kG.warn(52);var I=en(e.query);if(!I)return tk(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=I}var x=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};r.forEach(function(e){i=(0,c.pi)((0,c.pi)((0,c.pi)({},i),e.options),{headers:(0,c.pi)((0,c.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,c.pi)((0,c.pi)({},o),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,l=e.query,f={operationName:a,variables:u};return o.includeExtensions&&(f.extensions=s),o.includeQuery&&(f.query=t(l,ey)),{options:i,body:f}}(e,o,t_,d,D),N=x.options,R=x.body;R.variables&&!h&&(R.variables=(a=R.variables,s=e.query,f=(0,c.pi)({},a),p=new Set(Object.keys(a)),(0,$.Vn)(s,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&p.delete(e.name.value)}}),p.forEach(function(e){delete f[e]}),f)),N.signal||"undefined"==typeof AbortController||(y=new AbortController,N.signal=y.signal);var F="OperationDefinition"===(v=(0,k.p$)(e.query)).kind&&"subscription"===v.operation,C=(0,z.FS)(["defer"],e.query);if(u&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(N.method="GET"),C||F){N.headers=N.headers||{};var M="multipart/mixed;";F&&C&&!1!==globalThis.__DEV__&&l.kG.warn(53),F?M+="boundary=graphql;subscriptionSpec=1.0,application/json":C&&(M+="deferSpec=20220824,application/json"),N.headers.accept=M}if("GET"===N.method){var j=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=tf(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=tf(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}(m,R),A=j.newURI,q=j.parseError;if(q)return tk(q);m=A}else try{N.body=tf(R,"Payload")}catch(e){return tk(e)}return new O.y(function(t){var r=n||(0,l.wY)(function(){return fetch})||tO,i=t.next.bind(t);return r(m,N).then(function(t){e.setContext({response:t});var r,n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?function(e,t){return(0,c.mG)(this,void 0,void 0,function(){var r,n,i,o,a,s,u,l,f,h,p,d,v,y,m,g,b,_,w,k,O,T,S;return(0,c.Jh)(this,function(D){switch(D.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),n=null===(S=e.headers)||void 0===S?void 0:S.get("content-type"),i="boundary=",o=(null==n?void 0:n.includes(i))?null==n?void 0:n.substring((null==n?void 0:n.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),s="",u=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,P.DN&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return th(s.getReader());if(s.stream)return th(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},P.DN&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){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){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&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 c={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return P.DN&&(c[Symbol.asyncIterator]=function(){return this}),c}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),l=!0,D.label=1;case 1:if(!l)return[3,3];return[4,u.next()];
1case 2:for(h=(f=D.sent()).value,p=f.done,d="string"==typeof h?h:r.decode(h),v=s.length-a.length+1,l=!p,s+=d,y=s.indexOf(a,v);y>-1;){if(m=void 0,m=(O=[s.slice(0,y),s.slice(y+a.length)])[0],s=O[1],g=m.indexOf("\r\n\r\n"),(b=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(m.slice(0,g))["content-type"])&&-1===b.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(_=m.slice(g)){if(Object.keys(w=tg(e,_)).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w){if((0,E.s)(w)&&"payload"in w){if(k={},"payload"in w){if(1===Object.keys(w).length&&null===w.payload)return[2];k=(0,c.pi)({},w.payload)}"errors"in w&&(k=(0,c.pi)((0,c.pi)({},k),{extensions:(0,c.pi)((0,c.pi)({},"extensions"in k?k.extensions:null),((T={})[td.YG]=w.errors,T))})),t(k)}else t(w)}else if(1===Object.keys(w).length&&"hasNext"in w&&!w.hasNext)return[2]}y=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,i):t.text().then(function(e){return tg(t,e)}).then(function(r){return Array.isArray(r)||tm.call(r,"data")||tm.call(r,"errors")||tp(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r}).then(i)}).then(function(){y=void 0,t.complete()}).catch(function(e){y=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){y&&y.abort()}})})},tT=tl.execute,tS=r(9379),tD=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,tE(t).request)||this;return r.options=t,r}return(0,c.ZT)(t,e),t}(tl);function tI(e,t,r){return new O.y(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function tx(e){var t=tN(e);return(0,Z.O)(t)}function tN(e){var t=(0,Z.O)(e.errors)?e.errors.slice(0):[];return tv(e)&&(0,Z.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var tR=r(897),tF=r(8263),tC=r(6403);function tP(e){return e&&"function"==typeof e.then}var tM=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,tF.p)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,tF.p)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?tP(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,tF.p)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new O.y(t)]),tP(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,c.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],r=e[t];r&&r.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 r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}
1(O.y);(0,tC.D)(tM);var tj=r(2599),tA=r(1644),tq=new(P.mr?WeakMap:Map);function tV(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return tq.set(e,(tq.get(e)+1)%1e15),r.apply(this,arguments)})}var tQ=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 r=this.cache=e.cache;tq.has(r)||(tq.set(r,0),tV(r,"evict"),tV(r,"modify"),tV(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||tA.Ie.loading;return this.variables&&this.networkStatus!==tA.Ie.loading&&!(0,b.D)(this.variables,e.variables)&&(t=tA.Ie.setVariables),(0,b.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,t=this.getDiffOptions();if(this.lastDiff&&(0,b.D)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=(0,W.P6)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(n,t),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,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(0,W.P6)("getLastError",function(){var e;return null===(e=r.observableQuery)||void 0===e?void 0:e.getLastError()}))&&(this.updateLastDiff(e),(0,b.D)(n&&n.result,e&&e.result)||null===(t=this.observableQuery)||void 0===t||t.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 r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,c.pi)((0,c.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,b.D)(n,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===tq.get(this.cache)&&(0,b.D)(t,r.variables)&&(0,b.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,o=this,a=new x,s=(0,Z.O)(e.errors)?e.errors.slice(0):[];if(null===(i=this.observableQuery)||void 0===i||i.resetNotifications(),"incremental"in e&&(0,Z.O)(e.incremental)){var u=ty(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=a.merge(c.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(tL(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),o.lastWrite={result:e,variables:r.variables,dmCount:tq.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(r.variables),s=(0,W.P6)("canonizeResults",function(){return i.diff(a)});!o.stopped&&(0,b.D)(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=tA.Ie.ready},e.prototype.markError=function(e){var t;return this.networkStatus=tA.Ie.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 tL(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!tx(e);return!n&&r&&e.data&&(n=!0),n}var tz=Object.prototype.hasOwnProperty,tG=Object.create(null),tB=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new ev.s(w.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new J.B(!1),this.noCacheWarningsByQueryId=new Set;var r=new K(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 n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;
1this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,l._K)(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,c.mG)(this,arguments,void 0,function(e){var t,r,n,i,o,a,s,u=e.mutation,f=e.variables,h=e.optimisticResponse,p=e.updateQueries,d=e.refetchQueries,v=void 0===d?[]:d,y=e.awaitRefetchQueries,m=void 0!==y&&y,g=e.update,b=e.onQueryUpdated,_=e.fetchPolicy,w=void 0===_?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":_,k=e.errorPolicy,O=void 0===k?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":k,E=e.keepRootFields,T=e.context;return(0,c.Jh)(this,function(e){switch(e.label){case 0:if((0,l.kG)(u,36),(0,l.kG)("network-only"===w||"no-cache"===w,37),t=this.generateMutationId(),u=this.cache.transformForLink(this.transform(u)),r=this.getDocumentInfo(u).hasClientExports,f=this.getVariables(u,f),!r)return[3,2];return[4,this.localState.addExportedVariables(u,f,T)];case 1:f=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:u,variables:f,loading:!0,error:null}),i=h&&this.markMutationOptimistic(h,{mutationId:t,document:u,variables:f,fetchPolicy:w,errorPolicy:O,context:T,updateQueries:p,update:g,keepRootFields:E}),this.broadcastQueries(),o=this,[2,new Promise(function(e,r){return tI(o.getObservableFromLink(u,(0,c.pi)((0,c.pi)({},T),{optimisticResponse:i?h:void 0}),f,{},!1),function(e){if(tx(e)&&"none"===O)throw new td.cA({graphQLErrors:tN(e)});n&&(n.loading=!1,n.error=null);var r=(0,c.pi)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===O&&tx(r)&&delete r.errors,o.markMutationResult({mutationId:t,result:r,document:u,variables:f,fetchPolicy:w,errorPolicy:O,context:T,update:g,updateQueries:p,awaitRefetchQueries:m,refetchQueries:v,removeOptimistic:i?t:void 0,onQueryUpdated:b,keepRootFields:E})}).subscribe({next:function(r){o.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,c.pi)((0,c.pi)({},r),{data:o.maskOperation({document:u,data:r.data,fetchPolicy:w,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),r(e instanceof td.cA?e:new td.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&tL(n,e.errorPolicy)){if(tv(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),tv(n)&&(0,Z.O)(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;a.result&&(s=ty(a.result,n)),void 0!==s&&(n.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&tz.call(u,s)){var c=u[s],l=r.queries.get(o),f=l.document,h=l.variables,p=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),d=p.result;if(p.complete&&d){var v=c(d,{mutationResult:n,queryName:f&&(0,k.rY)(f)||void 0,queryVariables:h});v&&i.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a,s=e.update,u=!(tv(a=n)||"hasNext"in a&&"data"in a)||tv(n)&&!n.hasNext;if(s){if(!o){var l=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(n=(0,c.pi)((0,c.pi)({},n),{data:l.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}u&&s(t,n,{context:e.context,variables:e.variables})}o||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}
1).forEach(function(e){return l.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:tG}):e;return n!==tG&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,c.pi)((0,c.pi)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&l.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={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 r={hasClientExports:(0,z.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,z.FS)(["nonreactive"],e),nonReactiveQuery:((0,k.A$)(e),(0,$.Vn)(e,{FragmentSpread:function(e){var t;if(null===(t=e.directives)||void 0===t||!t.some(function(e){return"unmask"===e.name.value}))return(0,c.pi)((0,c.pi)({},e),{directives:(0,c.ev)((0,c.ev)([],e.directives||[],!0),[{kind:C.h.DIRECTIVE,name:{kind:C.h.NAME,value:"nonreactive"}}
1],!1)})}})),clientQuery:this.localState.clientQuery(e),serverQuery:et([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,k.O4)((0,k.$H)(e)),asQuery:(0,c.pi)((0,c.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,c.pi)((0,c.pi)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,c.pi)((0,c.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,c.pi)((0,c.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new tQ(this),n=new tj.u({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,tj.u.inactiveOnCreation.getValue()||this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,l.kG)(e.query,38),(0,l.kG)("Document"===e.query.kind,39),(0,l.kG)(!e.returnPartialData,40),(0,l.kG)(!e.pollInterval,41);var n=this.transform(e.query);return this.fetchQuery(t,(0,c.pi)((0,c.pi)({},e),{query:n})).then(function(i){return i&&(0,c.pi)((0,c.pi)({},i),{data:r.maskOperation({document:n,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.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}),this.cancelPendingFetches((0,l._K)(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=tA.Ie.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 r=new Map,n=new Map,i=new Map,o=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)n.set(e,e),i.set(e,!1);else if((0,L.JW)(e)){var r=ey(t.transform(e));n.set(r,(0,k.rY)(e)),i.set(r,!1)}else(0,E.s)(e)&&e.query&&o.add(e)}),this.queries.forEach(function(t,n){var o=t.observableQuery,a=t.document;if(o){if("all"===e){r.set(n,o);return}var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&i.has(s)||a&&i.has(ey(a)))&&(r.set(n,o),s&&i.set(s,!0),a&&i.set(ey(a),!0))}}),o.size&&o.forEach(function(e){var n=(0,tR.X)("legacyOneTimeQuery"),i=t.getOrCreateQuery(n).init({document:e.query,variables:e.variables}),o=new tj.u({queryManager:t,queryInfo:i,options:(0,c.pi)((0,c.pi)({},e),{fetchPolicy:"network-only"})});(0,l.kG)(o.queryId===n),i.setObservableQuery(o),r.set(n,o)}),!1!==globalThis.__DEV__&&i.size&&i.forEach(function(e,t){if(!e){var r=n.get(t);r?!1!==globalThis.__DEV__&&l.kG.warn(43,r):!1!==globalThis.__DEV__&&l.kG.warn(44)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;(0,W.P6)("resetLastResults",function(){return n.resetLastResults()}),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=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;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,u,e,l).map(function(n){"no-cache"!==i&&(tL(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=tx(n),s=(0,td.ls)(n);if(o||s){var u={};if(o&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[td.YG]),"none"===a||s)throw new td.cA(u)}return"ignore"===a&&delete n.errors,n})};
1if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,u).then(f);return new O.y(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},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,r,n,i){var o,a,s=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.getDocumentInfo(e),l=u.serverQuery,f=u.clientQuery;if(l){var h=this.inFlightLinkObservables,p=this.link,d={query:l,variables:r,operationName:(0,k.rY)(l)||void 0,context:this.prepareContext((0,c.pi)((0,c.pi)({},t),{forceFetch:!i})),extensions:n};if(t=d.context,i){var v=ey(l),y=(0,ei.B)(r),m=h.lookup(v,y);if(!(a=m.observable)){var g=new tM([tT(p,d)]);a=m.observable=g,g.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?g.beforeNext(e):h.remove(v,y)})}}else a=new tM([tT(p,d)])}else a=new tM([O.y.of({data:{}})]),t=this.prepareContext(t);return f&&(a=tI(a,function(e){return s.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return tI(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=tN(o),s=a.length>0,u=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===u)throw e.markError(new td.cA({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:tA.Ie.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=tA.Ie.error),c},function(t){var r=(0,td.MS)(t)?t:new td.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=tA.Ie.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,l=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=t.errorPolicy,h=void 0===f?u&&u.errorPolicy||"none":f,p=t.returnPartialData,d=t.notifyOnNetworkStatusChange,v=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:h,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==d&&d,context:void 0===v?{}:v}),m=function(n){y.variables=n;var i=a.fetchQueryByPolicy(e,y,r);return"standby"!==y.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},g=function(){return a.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new tM(this.localState.addExportedVariables(y.query,y.variables,y.context).then(m).then(function(e){return e.sources})),o=!0;else{var b=m(y.variables);o=b.fromLink,i=new tM(b.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,tR.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof tQ&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}
1),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;u&&(a||(a=(0,W.P6)("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),n=u(i,a,o)),u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,o=e.data;if(!1!==globalThis.__DEV__){var a=e.fetchPolicy,s=e.id,u=null===(t=(0,k.$H)(i))||void 0===t?void 0:t.operation,c=(null!==(r=null==u?void 0:u[0])&&void 0!==r?r:"o")+s;!this.dataMasking||"no-cache"!==a||(0,_.YU)(i)||this.noCacheWarningsByQueryId.has(c)||(this.noCacheWarningsByQueryId.add(c),!1!==globalThis.__DEV__&&l.kG.warn(45,null!==(n=(0,k.rY)(i))&&void 0!==n?n:"Unnamed ".concat(null!=u?u:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&V(),e;var n,i=(0,k.$H)(t);return((0,l.kG)(i,63),null==e)?e:G(e,i.selectionSet,{operationType:i.operation,operationName:null===(n=i.name)||void 0===n?void 0:n.value,fragmentMap:(0,_.F)((0,k.kU)(t)),cache:r,mutableTargets:new M,knownChanged:new j})}(o,i,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?B(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,l=t.returnPartialData,f=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:r});var d=function(){return e.getDiff()},v=function(t,r){void 0===r&&(r=e.networkStatus||tA.Ie.loading);var a=t.result;!1===globalThis.__DEV__||l||(0,b.D)(a,{})||(0,tj.D)(t.missing);var s=function(e){return O.y.of((0,c.pi)({data:e,loading:(0,tA.Oj)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:a},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===u&&r===tA.Ie.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},y="no-cache"===a?0:r===tA.Ie.refetch&&"merge"!==s?1:2,m=function(){return n.getResultsFromLink(e,y,{query:i,variables:o,context:f,fetchPolicy:a,errorPolicy:u})},g=h&&"number"==typeof p&&p!==r&&(0,tA.Oj)(r);switch(a){default:case"cache-first":var _=d();if(_.complete)return{fromLink:!1,sources:[v(_,e.markReady())]};if(l||g)return{fromLink:!0,sources:[v(_),m()]};return{fromLink:!0,sources:[m()]};case"cache-and-network":var _=d();if(_.complete||l||g)return{fromLink:!0,sources:[v(_),m()]};return{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[v(d(),e.markReady())]};case"network-only":if(g)return{fromLink:!0,sources:[v(d()),m()]};return{fromLink:!0,sources:[m()]};case"no-cache":if(g)return{fromLink:!0,sources:[v(e.getDiff()),m()]};return{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new tQ(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,c.pi)((0,c.pi)((0,c.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function tW(e){return e.kind===C.h.FIELD||e.kind===C.h.FRAGMENT_SPREAD||e.kind===C.h.INLINE_FRAGMENT}var tU=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),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=S(t.resolvers,e)}):this.resolvers=S(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,c.mG)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,c.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then(function(e){return(0,c.pi)((0,c.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,z.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return en(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,c.pi)((0,c.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,c.mG)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,c.Jh)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,c.pi)((0,c.pi)({},t),e.exportedVariables)})]:[2,(0,c.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,$.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 $.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===(0,k.p$)(e).operation?e:(0,$.Vn)(e,{OperationDefinition:{enter:function(e){return(0,c.pi)((0,c.pi)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,c.mG)(this,arguments,void 0,function(e,t,r,n,i,o){var a,s,u,l,f,h,p,d,v,y;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,c.Jh)(this,function(m){return a=(0,k.p$)(e),s=(0,k.
1kU)(e),u=(0,_.F)(s),l=this.collectSelectionsToResolve(a,u),h=(f=a.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,d=p.cache,v=p.client,y={fragmentMap:u,context:(0,c.pi)((0,c.pi)({},r),{cache:d,client:v}),variables:n,fragmentMatcher:i,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,c.mG)(this,void 0,void 0,function(){var i,o,a,s,u,f=this;return(0,c.Jh)(this,function(h){return i=n.fragmentMap,o=n.context,a=n.variables,s=[r],u=function(e){return(0,c.mG)(f,void 0,void 0,function(){var u,f;return(0,c.Jh)(this,function(c){return(t||n.selectionsToResolve.has(e))&&(0,z.LZ)(e,a)?(0,L.My)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&s.push(((r={})[(0,L.u2)(e)]=t,r))})]:((0,L.Ao)(e)?u=e:(u=i[e.name.value],(0,l.kG)(u,21,e.name.value)),u&&u.typeCondition&&(f=u.typeCondition.name.value,n.fragmentMatcher(r,f,o)))?[2,this.resolveSelectionSet(u.selectionSet,t,r,n).then(function(e){s.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return D(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,c.mG)(this,void 0,void 0,function(){var i,o,a,s,u,l,f,h,p,d=this;return(0,c.Jh)(this,function(c){return r?(i=n.variables,s=(o=e.name.value)!==(a=(0,L.u2)(e)),l=Promise.resolve(u=r[a]||r[o]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[s?o:a])&&(l=Promise.resolve(ez.withValue(this.cache,p,[r,(0,L.NC)(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,o,a=null!==(o=null===(i=e.directives)||void 0===i?void 0:i.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var o=new Set;n.set(i,o),(0,$.Vn)(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&tW(e)&&o.add(e)})},FragmentSpread:function(n,i,a,s,u){var c=t[n.name.value];(0,l.kG)(c,22,n.name.value);var f=e(c);f.size>0&&(u.forEach(function(e){r(e)&&tW(e)&&o.add(e)}),o.add(n),f.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),tY=r(4012),tJ=!1,tH=function(){function e(e){var t,r,n,i=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,l._K)(16);var o=e.uri,a=e.credentials,s=e.headers,u=e.cache,f=e.documentTransform,h=e.ssrMode,p=void 0!==h&&h,d=e.ssrForceFetchDelay,v=void 0===d?0:d,y=e.connectToDevTools,m=e.queryDeduplication,g=void 0===m||m,b=e.defaultOptions,_=e.defaultContext,w=e.assumeImmutableResults,k=void 0===w?u.assumeImmutableResults:w,O=e.resolvers,E=e.typeDefs,T=e.fragmentMatcher,S=e.clientAwareness,D=e.name,I=e.version,x=e.devtools,N=e.dataMasking;!1===globalThis.__DEV__||((0,W.MH)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,W.MH)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,W.MH)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,W.MH)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,W.MH)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,W.MH)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,W.MH)(e,"typeDefs","ApolloClient"),e.link||!1===globalThis.__DEV__||l.kG.warn(17));var R=e.link;R||(R=o?new tD({uri:o,credentials:a,headers:s}):tl.empty()),this.link=R,this.cache=u,this.disableNetworkFetches=p||v>0,this.queryDeduplication=g,this.defaultOptions=b||Object.create(null),this.typeDefs=E,this.devtoolsConfig=(0,c.pi)((0,c.pi)({},x),{enabled:null!==(t=null==x?void 0:x.enabled)&&void 0!==t?t:y}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),v&&setTimeout(function(){return i.disableNetworkFetches=!1},v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=tS.i,this.localState=new tU({cache:u,client:this,resolvers:O,fragmentMatcher:T}),this.queryManager=new tB({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:f,queryDeduplication:g,ssrMode:p,dataMasking:!!N,clientAwareness:{name:null!==(r=null==S?void 0:S.name)&&void 0!==r?r:D,version:null!==(n=null==S?void 0:S.version)&&void 0!==n?n:I},localState:this.localState,assumeImmutableResults:k,onBroadcast:this.devtoolsConfig.enabled?function(){i.devToolsHookCb&&i.devToolsHookCb({action:{},state:{queries:i.queryManager.getQueryStore(),mutations:i.queryManager.mutationStore||{}},dataWithOptimisticResults:i.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e}
1,enumerable:!1,configurable:!0}),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,!tJ&&!1!==globalThis.__DEV__&&(tJ=!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,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&l.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,tY.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,c.pi)((0,c.pi)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,W.MH)(e,"canonizeResults","client.watchQuery"),(0,W.MH)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,tY.J)(this.defaultOptions.query,e)),(0,l.kG)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,c.pi)((0,c.pi)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,W.MH)(e,"canonizeResults","client.query"),(0,W.MH)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&l.kG.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,tY.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return(0,c.pi)((0,c.pi)({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},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,c.pi)((0,c.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 tT(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),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&l.kG.debug(20,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext}
1,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(tH.prototype.getMemoryInternals=R.su);let tK=new ta,t$=tE({uri:"https://room.markplusinc.com/graphql"}),tZ=(o=(e,t)=>{let{headers:r}=t;return{headers:{...r}}},new tl(function(e,t){var r=(0,c._T)(e,[]);return new O.y(function(n){var i,a=!1;return Promise.resolve(r).then(function(t){return o(t,e.getContext())}).then(e.setContext).then(function(){a||(i=t(e).subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}))}).catch(n.error.bind(n)),function(){a=!0,i&&i.unsubscribe()}})})),tX=new tH({link:tZ.concat(t$),cache:tK,defaultOptions:{watchQuery:{fetchPolicy:"no-cache",errorPolicy:"ignore"},query:{fetchPolicy:"no-cache",errorPolicy:"all"}}});function t0(e){let{Component:t,pageProps:r}=e;return(0,u.useEffect)(()=>{m().initialize({gtmId:"GTM-NJBP2MDL"})},[]),(0,s.jsxs)(p,{client:tX,children:[(0,s.jsx)(v(),{color:"#075985",startPosition:.3,stopDelayMs:200,height:2,showOnShallow:!0,options:{showSpinner:!1}}),(0,s.jsx)(t,{...r})]})}},3814:function(){},1163:function(e,t,r){e.exports=r(6885)},3457:function(e,t,r){var n,i=Object.create,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,l=e=>o(e,"__esModule",{value:!0}),f=(e,t)=>o(e,"name",{value:t,configurable:!0}),h=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))!c.call(e,i)&&(r||"default"!==i)&&o(e,i,{get:()=>t[i],enumerable:!(n=a(t,i))||n.enumerable});return e},p=(e,t)=>h(l(o(null!=e?i(u(e)):{},"default",!t&&e&&e.__esModule?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),d=(n="undefined"!=typeof WeakMap?new WeakMap:0,(e,t)=>n&&n.get(e)||(t=h(l({}),e,1),n&&n.set(e,t),t)),v={};((e,t)=>{for(var r in t)o(e,r,{get:t[r],enumerable:!0})})(v,{default:()=>w});var y=p(r(1163)),m=p(r(4865)),g=p(r(5697)),b=p(r(7294)),_=f(({color:e="#29D",startPosition:t=.3,stopDelayMs:r=200,height:n=3,showOnShallow:i=!0,options:o,nonce:a,transformCSS:s=f(e=>b.createElement("style",{nonce:a},e),"transformCSS")})=>{let u=null;b.useEffect(()=>(o&&m.configure(o),y.default.events.on("routeChangeStart",c),y.default.events.on("routeChangeComplete",l),y.default.events.on("routeChangeError",h),()=>{y.default.events.off("routeChangeStart",c),y.default.events.off("routeChangeComplete",l),y.default.events.off("routeChangeError",h)}),[]);let c=f((e,{shallow:r})=>{(!r||i)&&(m.set(t),m.start())},"routeChangeStart"),l=f((e,{shallow:t})=>{(!t||i)&&(u&&clearTimeout(u),u=setTimeout(()=>{m.done(!0)},r))},"routeChangeEnd"),h=f((e,t,{shallow:n})=>{(!n||i)&&(u&&clearTimeout(u),u=setTimeout(()=>{m.done(!0)},r))},"routeChangeError");return s(` 2 #nprogress { 3 pointer-events: none; 4 } 5 #nprogress .bar { 6 background: ${e}; 7 position: fixed; 8 z-index: 9999; 9 top: 0; 10 left: 0; 11 width: 100%; 12 height: ${n}px; 13 } 14 #nprogress .peg { 15 display: block; 16 position: absolute; 17 right: 0px; 18 width: 100px; 19 height: 100%; 20 box-shadow: 0 0 10px ${e}, 0 0 5px ${e}; 21 opacity: 1; 22 -webkit-transform: rotate(3deg) translate(0px, -4px); 23 -ms-transform: rotate(3deg) translate(0px, -4px); 24 transform: rotate(3deg) translate(0px, -4px); 25 } 26 #nprogress .spinner { 27 display: block; 28 position: fixed; 29 z-index: 1031; 30 top: 15px; 31 right: 15px; 32 } 33 #nprogress .spinner-icon { 34 width: 18px; 35 height: 18px; 36 box-sizing: border-box; 37 border: solid 2px transparent; 38 border-top-color: ${e}; 39 border-left-color: ${e}; 40 border-radius: 50%; 41 -webkit-animation: nprogresss-spinner 400ms linear infinite; 42 animation: nprogress-spinner 400ms linear infinite; 43 } 44 .nprogress-custom-parent { 45 overflow: hidden; 46 position: relative; 47 } 48 .nprogress-custom-parent #nprogress .spinner, 49 .nprogress-custom-parent #nprogress .bar { 50 position: absolute; 51 } 52 @-webkit-keyframes nprogress-spinner { 53 0% { 54 -webkit-transform: rotate(0deg); 55 } 56 100% { 57 -webkit-transform: rotate(360deg); 58 } 59 }
60 @keyframes nprogress-spinner { 61 0% { 62 transform: rotate(0deg); 63 } 64 100% { 65 transform: rotate(360deg); 66 } 67 } 68 `)},"NextNProgress");_.propTypes={color:g.string,startPosition:g.number,stopDelayMs:g.number,height:g.number,showOnShallow:g.bool,options:g.object,nonce:g.string,transformCSS:g.func};var w=b.memo(_);e.exports=d(v)},4865:function(e,t,r){var n,i;void 0!==(i="function"==typeof(n=function(){var e,t,r,n={};n.version="0.2.0";var i=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,r){return e<t?t:e>r?r:e}n.configure=function(e){var t,r;for(t in e)void 0!==(r=e[t])&&e.hasOwnProperty(t)&&(i[t]=r);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,i.minimum,1),n.status=1===e?null:e;var r=n.render(!t),u=r.querySelector(i.barSelector),c=i.speed,l=i.easing;return r.offsetWidth,a(function(t){var o,a;""===i.positionUsing&&(i.positionUsing=n.getPositioningCSS()),s(u,(o=e,(a="translate3d"===i.positionUsing?{transform:"translate3d("+(-1+o)*100+"%,0,0)"}:"translate"===i.positionUsing?{transform:"translate("+(-1+o)*100+"%,0)"}:{"margin-left":(-1+o)*100+"%"}).transition="all "+c+"ms "+l,a)),1===e?(s(r,{transition:"none",opacity:1}),r.offsetWidth,setTimeout(function(){s(r,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){n.remove(),t()},c)},c)):setTimeout(t,c)}),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout(function(){n.status&&(n.trickle(),e())},i.trickleSpeed)};return i.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*i.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()&&(0===t&&n.start(),e++,t++,r.always(function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=i.template;var r,o,a=t.querySelector(i.barSelector),u=e?"-100":(-1+(n.status||0))*100,l=document.querySelector(i.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+u+"%,0,0)"}),!i.showSpinner&&(o=t.querySelector(i.spinnerSelector))&&h(o),l!=document.body&&c(l,"nprogress-custom-parent"),l.appendChild(t),t},n.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(i.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&h(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective" in e?"translate3d":t+"Transform" in e?"translate":"margin"};var a=(r=[],function(e){r.push(e),1==r.length&&function e(){var t=r.shift();t&&t(e)}()}),s=function(){var e=["Webkit","O","Moz","ms"],t={};function r(r,n,i){var o;n=t[o=(o=n).replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]||(t[o]=function(t){var r=document.body.style;if(t in r)return t;for(var n,i=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);i--;)if((n=e[i]+o)in r)return n;return t}(o)),r.style[n]=i}return function(e,t){var n,i,o=arguments;if(2==o.length)for(n in t)void 0!==(i=t[n])&&t.hasOwnProperty(n)&&r(e,n,i);else r(e,o[1],o[2])}}();function u(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function c(e,t){var r=f(e),n=r+t;u(r,t)||(e.className=n.substring(1))}function l(e,t){var r,n=f(e);u(e,t)&&(r=n.replace(" "+t+" "," "),e.className=r.substring(1,r.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function h(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n})?n.call(t,r,t,e):n)&&(e.exports=i)},2703:function(e,t,r){"use strict";var n=r(414);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,o,a){if(a!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
68:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return r.PropTypes=r,r}},5697:function(e,t,r){e.exports=r(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6421:function(e,t,r){"use strict";var n,i=(n=r(6425))&&n.__esModule?n:{default:n};e.exports={tags:function(e){var t=e.id,r=e.events,n=e.dataLayer,o=e.dataLayerName,a=e.preview,s=">m_auth="+e.auth,u=">m_preview="+a;t||(0,i.default)("GTM Id is required");var c="\n (function(w,d,s,l,i){w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js', "+JSON.stringify(r).slice(1,-1)+"});\n var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl+'"+s+u+">m_cookies_win=x';\n f.parentNode.insertBefore(j,f);\n })(window,document,'script','"+o+"','"+t+"');";return{iframe:'\n <iframe src="https://www.googletagmanager.com/ns.html?id='+t+s+u+'>m_cookies_win=x"\n height="0" width="0" style="display:none;visibility:hidden" id="tag-manager"></iframe>',script:c,dataLayerVar:this.dataLayer(n,o)}},dataLayer:function(e,t){return"\n window."+t+" = window."+t+" || [];\n window."+t+".push("+JSON.stringify(e)+")"}}},8676:function(e,t,r){"use strict";var n,i=(n=r(6421))&&n.__esModule?n:{default:n};e.exports={dataScript:function(e){var t=document.createElement("script");return t.innerHTML=e,t},gtm:function(e){var t=i.default.tags(e);return{noScript:function(){var e=document.createElement("noscript");return e.innerHTML=t.iframe,e},script:function(){var e=document.createElement("script");return e.innerHTML=t.script,e},dataScript:this.dataScript(t.dataLayerVar)}},initialize:function(e){var t=e.gtmId,r=e.events,n=e.dataLayer,i=e.dataLayerName,o=e.auth,a=e.preview,s=this.gtm({id:t,events:void 0===r?{}:r,dataLayer:n||void 0,dataLayerName:void 0===i?"dataLayer":i,auth:void 0===o?"":o,preview:void 0===a?"":a});n&&document.head.appendChild(s.dataScript),document.head.insertBefore(s.script(),document.head.childNodes[0]),document.body.insertBefore(s.noScript(),document.body.childNodes[0])},dataLayer:function(e){var t=e.dataLayer,r=e.dataLayerName,n=void 0===r?"dataLayer":r;if(window[n])return window[n].push(t);var o=i.default.dataLayer(t,n),a=this.dataScript(o);document.head.insertBefore(a,document.head.childNodes[0])}}},1785:function(e,t,r){"use strict";var n,i=(n=r(8676))&&n.__esModule?n:{default:n};e.exports=i.default},6425:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){console.warn("[react-gtm]",e)}},3914:function(e,t,r){"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(7294))},2599:function(e,t,r){"use strict";r.d(t,{u:function(){return b},D:function(){return w}});var n=r(7582),i=r(9316),o=r(20),a=r(1644),s=r(6765),u=r(3712),c=r(9487),l=r(8263),f=r(8216),h=r(6403),p=r(990),d=r(9613),v=r(6275),y=r(2747),m=Object.assign,g=Object.hasOwnProperty,b=function(e){function t(r){var i=r.queryManager,o=r.queryInfo,a=r.options,u=this,c=t.inactiveOnCreation.getValue();(u=e.call(this,function(e){u._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=_)}catch(e){}var r=!u.observers.size;u.observers.add(e);var n=u.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(u.maskResult(n.result)),r&&u.reobserve().catch(function(){}),function(){u.observers.delete(e)&&!u.observers.size&&u.tearDownQuery()}})||this).observers=new Set,u.subscriptions=new Set,u.dirty=!1,u._getOrCreateQuery=function(){return c&&(i.queries.set(u.queryId,o),c=!1),u.queryManager.getOrCreateQuery(u.queryId)},u.queryInfo=o,u.queryManager=i,u.waitForOwnResult=k(a.fetchPolicy),u.isTornDown=!1,u.subscribeToMore=u.subscribeToMore.bind(u),u.maskResult=u.maskResult.bind(u);var l=i.defaultOptions.watchQuery,f=(void 0===l?{}:l).fetchPolicy,h=void 0===f?"cache-first":f,p=a.fetchPolicy,d=void 0===p?h:p,v=a.initialFetchPolicy,y=void 0===v?"standby"===d?h:d:v;u.options=(0,n.pi)((0,n.pi)({},a),{initialFetchPolicy:y,fetchPolicy:d}),u.queryId=o.queryId||i.generateQueryId();var m=(0,s.$H)(u.query);return u.queryName=m&&m.name&&m.name.value,u}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query}
68,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!1!==globalThis.__DEV__&&(0,y.Jp)("observableQuery.result",function(){!1!==globalThis.__DEV__&&i.kG.warn(23)}),new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var r=(0,y.P6)("getLastResult",function(){return t.getLastResult(!0)}),i=this.queryInfo.networkStatus||r&&r.networkStatus||a.Ie.ready,s=(0,n.pi)((0,n.pi)({},r),{loading:(0,a.Oj)(i),networkStatus:i}),u=this.options.fetchPolicy,c=void 0===u?"cache-first":u;if(k(c)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),(0,o.D)(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,l.complete&&s.networkStatus===a.Ie.loading&&("cache-first"===c||"cache-only"===c)&&(s.networkStatus=a.Ie.ready,s.loading=!1)):s.partial=!0,s.networkStatus===a.Ie.ready&&(s.error||s.errors)&&(s.networkStatus=a.Ie.error),!1===globalThis.__DEV__||l.complete||this.options.partialRefetch||s.loading||s.data||s.error||w(l.missing)}return e&&this.updateLastResult(s),s},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 r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,d.W)(i,this.last.result,e,this.variables):!(0,o.D)(this.last.result,e))||t&&!(0,o.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.D)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&(0,y.Jp)("getLastResult",function(){!1!==globalThis.__DEV__&&i.kG.warn(24)}),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&(0,y.Jp)("getLastError",function(){!1!==globalThis.__DEV__&&i.kG.warn(25)}),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&(0,y.Jp)("resetLastResults",function(){!1!==globalThis.__DEV__&&i.kG.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.kG.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0};if("no-cache"===this.options.fetchPolicy?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&g.call(e,"variables")){var u=(0,s.iW)(this.query),c=u.variableDefinitions;c&&c.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.kG.warn(28,e,(null===(t=u.name)||void 0===t?void 0:t.value)||u)}return e&&!(0,o.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)((0,n.pi)({},this.options),{query:this.options.query}),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,u=s.networkStatus;
68s.networkStatus=a.Ie.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,i.kG)(l,29),this.queryManager.fetchQuery(o,r,a.Ie.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.Ie.fetchMore&&(s.networkStatus=u),f)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){c.add(e.query)}});else{var h=t.getLast("result"),p=l(h.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.pi)((0,n.pi)({},h),{networkStatus:u,loading:(0,a.Oj)(u),data:p}),t.variables)}return t.maskResult(i)}).finally(function(){f&&!c.has(t.query)&&t.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery(function(e,t){return i(e,(0,n.pi)({subscriptionData:r},t))})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&i.kG.error(30,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&((0,y.MH)(e,"canonizeResults","setOptions"),(0,y.Jp)("setOptions",function(){!1!==globalThis.__DEV__&&i.kG.warn(31)})),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,u.o)(this.options,e||{});m(this.options,t)},t.prototype.setVariables=function(e){var t=this;return(0,o.D)(this.variables,e)?this.observers.size?(0,y.P6)("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});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 r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){var n=this._getOrCreateQuery();return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,i.kG)(r,32),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,a.Oj)(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.Ie.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){var r=this;void 0===t&&(t=this.variables);var i=(0,y.P6)("getLastError",function(){return r.getLastError()});return i&&this.last&&!(0,o.D)(t,this.last.variables)&&(i=void 0),this.last=(0,n.pi)({result:this.queryManager.assumeImmutableResults?e:(0,
68c.X)(e),variables:t},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.Ie.refetch||t===a.Ie.fetchMore||t===a.Ie.poll,s=this.options.variables,c=this.options.fetchPolicy,l=(0,u.o)(this.options,e||{}),f=i?l:m(this.options,l),h=this.transformDocument(f.query);this.lastQuery=h,!i&&(this.updatePolling(),e&&e.variables&&!(0,o.D)(e.variables,s)&&"standby"!==f.fetchPolicy&&(f.fetchPolicy===c||"function"==typeof f.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.Ie.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=k(f.fetchPolicy));var d=function(){r.concast===g&&(r.waitForOwnResult=!1)},v=f.variables&&(0,n.pi)({},f.variables),y=this.fetch(f,t,h),g=y.concast,b=y.fromLink,_={next:function(e){(0,o.D)(r.variables,v)&&(d(),r.reportResult(e,v))},error:function(e){(0,o.D)(r.variables,v)&&((0,p.MS)(e)||(e=new p.cA({networkError:e})),d(),r.reportError(e,v))}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=g,this.observer=_),g.addObserver(_),g},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.last;(0,y.P6)("resetLastResults",function(){return e.resetLastResults()});var i=this.subscribe.apply(this,t);return this.last=n,i},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this,n=(0,y.P6)("getLastError",function(){return r.getLastError()}),i=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||i)&&(0,l.p)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=this,i=(0,n.pi)((0,n.pi)({},(0,y.P6)("getLastResult",function(){return r.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:a.Ie.error,loading:!1});this.updateLastResult(i,t),(0,l.p)(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,n.pi)((0,n.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(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!(0,a.Oj)(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,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,n):t}}):this.reobserve()},t.inactiveOnCreation=new v.g7,t}(f.y);function _(e){!1!==globalThis.__DEV__&&i.kG.error(33,e.message,e.stack)}function w(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(34,e)}function k(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,h.D)(b)},9613:function(e,t,r){"use strict";r.d(t,{W:function(){return c}});var n=r(7582),i=r(20),o=r(6765),a=r(3361),s=r(9065),u=r(1761);function c(e,t,r,c){var f=t.data,h=(0,n._T)(t,["data"]),p=r.data,d=(0,n._T)(r,["data"]);return(0,i.Z)(h,d)&&function e(t,r,n,o){if(r===n)return!0;var c=new Set;return t.selections.every(function(t){if(c.has(t)||(c.add(t),!(0,s.LZ)(t,o.variables)||l(t)))return!0;
68if((0,u.My)(t)){var f=(0,u.u2)(t),h=r&&r[f],p=n&&n[f],d=t.selectionSet;if(!d)return(0,i.Z)(h,p);var v=Array.isArray(h),y=Array.isArray(p);if(v!==y)return!1;if(v&&y){var m=h.length;if(p.length!==m)return!1;for(var g=0;g<m;++g)if(!e(d,h[g],p[g],o))return!1;return!0}return e(d,h,p,o)}var b=(0,a.hi)(t,o.fragmentMap);if(b)return!!l(b)||e(b.selectionSet,r,n,o)})}((0,o.p$)(e).selectionSet,f,p,{fragmentMap:(0,a.F)((0,o.kU)(e)),variables:c})}function l(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},1644:function(e,t,r){"use strict";var n,i;function o(e){return!!e&&e<7}r.d(t,{Ie:function(){return n},Oj:function(){return o}}),(i=n||(n={}))[i.loading=1]="loading",i[i.setVariables=2]="setVariables",i[i.fetchMore=3]="fetchMore",i[i.refetch=4]="refetch",i[i.poll=6]="poll",i[i.ready=7]="ready",i[i.error=8]="error"},990:function(e,t,r){"use strict";r.d(t,{MS:function(){return s},YG:function(){return o},cA:function(){return c},ls:function(){return a}});var n=r(7582);r(9316);var i=r(3154),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,n.ev)((0,n.ev)((0,n.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.s)(e)&&e.message||"Error message not found."}).join("\n")},c=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,c=r.errorMessage,l=r.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=c||u(f),f.extraInfo=l,f.cause=(0,n.ev)((0,n.ev)((0,n.ev)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,n.ZT)(t,e),t}(Error)},5317:function(e,t,r){"use strict";r.d(t,{K:function(){return u}});var n,i=r(3914),o=r(320),a=r(9316),s=o.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.kG)("createContext"in(n||(n=r.t(i,2))),69);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},8991:function(e,t,r){"use strict";r.d(t,{L:function(){return u},s:function(){return s}});var n=r(9869),i=r(2379),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 r=new n.k(e,t);return r.set=function(e,t){var r=n.k.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new i.e(e,t);return r.set=function(e,t){var r=i.e.prototype.set.call(this,e,t);return a(this),r},r}},8244:function(e,t,r){"use strict";r.d(t,{Kb:function(){return c},q4:function(){return u},su:function(){return s},zP:function(){return a}});var n=r(7582),i=r(6331),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!(!1!==globalThis.__DEV__))throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.Q[t]||r]})),sizes:(0,n.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===(r=o.canonicalStringify)||void 0===r?void 0:r.call(o),links:function e(t){var r;return t?(0,n.ev)((0,n.ev)([null===(r=null==t?void 0:t.getMemoryInternals)||void 0===r?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:p(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.pi)((0,n.pi)({},l.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function h(e){return null!=e}function p(e){return(function e(t){return t?(0,n.ev)((0,n.ev)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]})(e).map(function(e){return{cache:e}})}},6331:function(e,t,r){"use strict";r.d(t,{Q:function(){return a}});var n=r(7582),i=r(9316),o=Symbol.for("apollo.cacheSize"),a=(0,n.pi)({},i.CO[o])},1436:function(e,t,r){"use strict";r.d(t,{O:function(){return i},k:function(){return n}});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},320:function(e,t,r){"use strict";r.d(t,{DN:function(){return u},JC:function(){return f},Nq:function(){return c},aS:function(){return s},mr:function(){return o},sy:function(){return a}});var n=r(9316),i="ReactNative"==(0,n.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,n.wY)(function(){return window.document.createElement}),l=(0,n.wY)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},5466:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});var n,i=r(8991),o=r(6331),a=r(8244),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){n=new i.L(o.Q.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.zP)("canonicalStringify",function(){return n.size}),s.reset()},9487:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);
68return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},3712:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:function(){return n}})},897:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},8702:function(e,t,r){"use strict";r.d(t,{J:function(){return i}});var n=r(3154);function i(e){if(!1!==globalThis.__DEV__){var t;(t=new Set([e])).forEach(function(e){(0,n.s)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.s)(e[r])&&t.add(e[r])})})}return e}},4012:function(e,t,r){"use strict";r.d(t,{J:function(){return o}});var n=r(7582),i=r(3712);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.pi)((0,n.pi)({},e&&e.variables),t.variables))})}},3154:function(e,t,r){"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{s:function(){return n}})},3887:function(e,t,r){"use strict";r.d(t,{v:function(){return i}});var n=r(897);function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},2747:function(e,t,r){"use strict";r.d(t,{Jp:function(){return p},MH:function(){return h},P6:function(){return f}});var n,i=r(7582),o=r(6275),a=r(9316),s=Symbol.for("apollo.deprecations"),u=Symbol.for("apollo.deprecations.slot"),c=a.CO,l=null!==(n=c[u])&&void 0!==n?n:c[u]=new o.g7;function f(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return l.withValue.apply(l,(0,i.ev)([Array.isArray(e)?e:[e]],t,!1))}function h(e,t,r,n){void 0===n&&(n="Please remove this option."),p(t,function(){t in e&&!1!==globalThis.__DEV__&&a.kG.warn(103,r,t,n)})}function p(e,t){c[s]||(l.getValue()||[]).includes(e)||t()}},4229:function(e,t,r){"use strict";var n=r(6970);t.Z=(0,n.w)(function(){return globalThis})||(0,n.w)(function(){return window})||(0,n.w)(function(){return self})||(0,n.w)(function(){return global})||(0,n.w)(function(){return n.w.constructor("return this")()})},9316:function(e,t,r){"use strict";r.d(t,{CO:function(){return o.Z},_K:function(){return n._K},kG:function(){return n.kG},wY:function(){return i.w}});var n=r(3801),i=r(6970),o=r(4229)},3801:function(e,t,r){"use strict";r.d(t,{kG:function(){return m},_K:function(){return g}});var n,i=r(7582),o="Invariant Violation",a=Object.setPrototypeOf,s=void 0===a?function(e,t){return e.__proto__=t,e}:a,u=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,"number"==typeof r?o+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=o,s(n,t.prototype),n}return(0,i.ZT)(t,e),t}(Error);function c(e,t){if(!e)throw new u(t)}var l=["debug","log","warn","error","silent"],f=l.indexOf("log");function h(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}(n=c||(c={})).debug=h("debug"),n.log=h("log"),n.warn=h("warn"),n.error=h("error");var p=r(9379),d=r(4229),v=r(3887);function y(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=w(i))||(t=k(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var m=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||c(e,w(t,r)||k(t,r))},{debug:y(c.debug),log:y(c.log),warn:y(c.warn),error:y(c.error)});function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new u(w(e,t)||k(e,t))}var b=Symbol.for("ApolloErrorMessageHandler_"+p.i);function _(e){if("string"==typeof e)return e;try{return(0,v.v)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function w(e,t){if(void 0===t&&(t=[]),e)return d.Z[b]&&d.Z[b](e,t.map(_))}function k(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:p.i,message:e,args:t.map(_)})))}},6970:function(e,t,r){"use strict";function n(e){try{return e()}catch(e){}}r.d(t,{w:function(){return n}})},9065:function(e,t,r){"use strict";r.d(t,{FS:function(){return s},GT:function(){return c},LZ:function(){return a},mj:function(){return u}});var n=r(9316),i=r(7304),o=r(7359);function a(e,t){var r,i=e.directives;
68return!i||!i.length||(r=[],i&&i.length&&i.forEach(function(e){var t;if("skip"===(t=e.name.value)||"include"===t){var i=e.arguments,o=e.name.value;(0,n.kG)(i&&1===i.length,106,o);var a=i[0];(0,n.kG)(a.name&&"if"===a.name.value,107,o);var s=a.value;(0,n.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),108,o),r.push({directive:e,ifArgument:a})}}),r).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.kG)(void 0!==o,105,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.Vn)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.$_}}),r?!n.size:n.size<o}function u(e){return e&&s(["client","export"],e,!0)}function c(e){var t,r,i=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null===(r=i.arguments)||void 0===r?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.h.VARIABLE?!1!==globalThis.__DEV__&&n.kG.warn(109):a.value.kind!==o.h.STRING?!1!==globalThis.__DEV__&&n.kG.warn(110):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.kG.warn(111,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},3361:function(e,t,r){"use strict";r.d(t,{F:function(){return s},YU:function(){return c},Yk:function(){return a},hi:function(){return u}});var n=r(7582),i=r(9316),o=r(7304);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(112,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.kG)(1===o.length,113,o.length),r=o[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],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 r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.kG)(n,114,r),n||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}},6765:function(e,t,r){"use strict";r.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return h},iW:function(){return c},kU:function(){return u},p$:function(){return f},pD:function(){return l},rY:function(){return s}});var n=r(9316),i=r(1761);function o(e){(0,n.kG)(e&&"Document"===e.kind,115);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n._K)(116,e.kind);return e});return(0,n.kG)(t.length<=1,117,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,n.kG)(t&&"query"===t.operation,118),t}function l(e){(0,n.kG)("Document"===e.kind,119),(0,n.kG)(e.definitions.length<=1,120);var t=e.definitions[0];return(0,n.kG)("FragmentDefinition"===t.kind,121),t}function f(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];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,n._K)(122)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)}),t}},1761:function(e,t,r){"use strict";r.d(t,{Ao:function(){return g},JW:function(){return c},My:function(){return m},NC:function(){return v},PT:function(){return d},Yk:function(){return u},kQ:function(){return s},qw:function(){return function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var u=s[a];if(m(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,o.hi)(u,n).selectionSet,n);if("string"==typeof f)return f}}},u2:function(){return y},vb:function(){return l},vf:function(){return f}});var n=r(9316),i=r(3154),o=r(3361),a=r(5466);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}
68function l(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return l(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return l(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n._K)(123,t.value,r.kind)}function f(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){return l(n,e.name,e.value,t)})),d(e.name.value,n,r)}var h=["connection","include","skip","client","rest","export","nonreactive"],p=a.B,d=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(p(i),")")}var o=e;if(t){var a=p(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===h.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(p(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=p;return p=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return l(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},8263:function(e,t,r){"use strict";function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}r.d(t,{p:function(){return n}})},6403:function(e,t,r){"use strict";r.d(t,{D:function(){return o}});var n=r(8216),i=r(320);function o(e){function t(t){Object.defineProperty(e,t,{value:n.y})}return i.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}},9379:function(e,t,r){"use strict";r.d(t,{i:function(){return n}});var n="3.14.1"},2379:function(e,t,r){"use strict";function n(){}r.d(t,{e:function(){return i}});class i{constructor(e=1/0,t=n){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){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}},9869:function(e,t,r){"use strict";function n(){}r.d(t,{k:function(){return s}});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},20:function(e,t,r){"use strict";r.d(t,{D:function(){return s}});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t),s=n.call(r);if(a!==s)return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(f(t,r))return!0;let n=u(t),o=u(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(f(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))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]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,l)}}return!1}(e,t)}finally{a.clear()}}function u(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}t.Z=s;let l="{ [native code] }";function f(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},5028:function(e,t,r){"use strict";r.d(t,{B:function(){return s}});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){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 r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);!i||(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},7826:function(e,t,r){"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{a:function(){return n}})},7820:function(e,t,r){"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";let n=Math.min(10,t.length),i=t.length-n,o=[];for(let i=0;i<n;++i)o.push(e(t[i],r));return 1===i?o.push("... 1 more item"):i>1&&o.push(`... ${i} more items`),"["+o.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);if(0===n.length)return"{}";if(r.length>2)return"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]";let i=n.map(([t,n])=>t+": "+e(n,r));return"{ "+i.join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(e,[])}r.d(t,{X:function(){return n}})},2380:function(e,t,r){"use strict";var n,i;r.d(t,{UG:function(){return c},WU:function(){return a},Ye:function(){return o},h8:function(){return s},ku:function(){return n}});class o{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class a{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let s={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
68Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","directives","locations"],SchemaExtension:["directives","operationTypes"],DirectiveExtension:["name","directives"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},u=new Set(Object.keys(s));function c(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&u.has(t)}(i=n||(n={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription"},7392:function(e,t,r){"use strict";r.d(t,{LZ:function(){return o},wv:function(){return i}});var n=r(8297);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=function(e){let t=0;for(;t<e.length&&(0,n.FD)(e.charCodeAt(t));)++t;return t}(s);u!==s.length&&(o=null!==(r=o)&&void 0!==r?r:t,a=t,0!==t&&u<i&&(i=u))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!==(t=o)&&void 0!==t?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.FD)(e.charCodeAt(0))),s=r.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s),h="",p=o&&(0,n.FD)(e.charCodeAt(0));return(f&&!p||a)&&(h+="\n"),h+=r,(f||l)&&(h+="\n"),'"""'+h+'"""'}},8297:function(e,t,r){"use strict";function n(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}r.d(t,{FD:function(){return n},HQ:function(){return s},LQ:function(){return a},X1:function(){return i}})},7359:function(e,t,r){"use strict";var n,i;r.d(t,{h:function(){return n}}),(i=n||(n={})).NAME="Name",i.DOCUMENT="Document",i.OPERATION_DEFINITION="OperationDefinition",i.VARIABLE_DEFINITION="VariableDefinition",i.SELECTION_SET="SelectionSet",i.FIELD="Field",i.ARGUMENT="Argument",i.FRAGMENT_SPREAD="FragmentSpread",i.INLINE_FRAGMENT="InlineFragment",i.FRAGMENT_DEFINITION="FragmentDefinition",i.VARIABLE="Variable",i.INT="IntValue",i.FLOAT="FloatValue",i.STRING="StringValue",i.BOOLEAN="BooleanValue",i.NULL="NullValue",i.ENUM="EnumValue",i.LIST="ListValue",i.OBJECT="ObjectValue",i.OBJECT_FIELD="ObjectField",i.DIRECTIVE="Directive",i.NAMED_TYPE="NamedType",i.LIST_TYPE="ListType",i.NON_NULL_TYPE="NonNullType",i.SCHEMA_DEFINITION="SchemaDefinition",i.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",i.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",i.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",i.FIELD_DEFINITION="FieldDefinition",i.INPUT_VALUE_DEFINITION="InputValueDefinition",i.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",i.UNION_TYPE_DEFINITION="UnionTypeDefinition",i.ENUM_TYPE_DEFINITION="EnumTypeDefinition",i.ENUM_VALUE_DEFINITION="EnumValueDefinition",i.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",i.DIRECTIVE_DEFINITION="DirectiveDefinition",i.SCHEMA_EXTENSION="SchemaExtension",i.DIRECTIVE_EXTENSION="DirectiveExtension",i.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",i.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",i.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",i.UNION_TYPE_EXTENSION="UnionTypeExtension",i.ENUM_TYPE_EXTENSION="EnumTypeExtension",i.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",i.TYPE_COORDINATE="TypeCoordinate",i.MEMBER_COORDINATE="MemberCoordinate",i.ARGUMENT_COORDINATE="ArgumentCoordinate",i.DIRECTIVE_COORDINATE="DirectiveCoordinate",i.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"},7304:function(e,t,r){"use strict";r.d(t,{$_:function(){return s},Vn:function(){return u}});var n=r(7826),i=r(7820),o=r(2380),a=r(7359);let s=Object.freeze({});
68function u(e,t,r=o.h8){let u,c,l;let f=new Map;for(let e of Object.values(a.h))f.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let h=Array.isArray(e),p=[e],d=-1,v=[],y=e,m=[],g=[];do{var b,_,w;let e;d++;let a=d===p.length,k=a&&0!==v.length;if(a){if(c=0===g.length?void 0:m[m.length-1],y=l,l=g.pop(),k){if(h){y=y.slice();let e=0;for(let[t,r]of v){let n=t-e;null===r?(y.splice(n,1),e++):y[n]=r}}else for(let[e,t]of(y={...y},v))y[e]=t}d=u.index,p=u.keys,v=u.edits,h=u.inArray,u=u.prev}else if(l){if(null==(y=l[c=h?d:p[d]]))continue;m.push(c)}if(!Array.isArray(y)){(0,o.UG)(y)||(0,n.a)(!1,`Invalid AST Node: ${(0,i.X)(y)}.`);let r=a?null===(b=f.get(y.kind))||void 0===b?void 0:b.leave:null===(_=f.get(y.kind))||void 0===_?void 0:_.enter;if((e=null==r?void 0:r.call(t,y,c,l,m,g))===s)break;if(!1===e){if(!a){m.pop();continue}}else if(void 0!==e&&(v.push([c,e]),!a)){if((0,o.UG)(e))y=e;else{m.pop();continue}}}void 0===e&&k&&v.push([c,y]),a?m.pop():(u={inArray:h,index:d,keys:p,edits:v,prev:u},p=(h=Array.isArray(y))?y:null!==(w=r[y.kind])&&void 0!==w?w:[],d=-1,v=[],l&&g.push(l),l=y)}while(void 0!==u);return 0!==v.length?v[v.length-1][1]:e}},6275:function(e,t,r){"use strict";let n;r.d(t,{g7:function(){return h},dP:function(){return P},re:function(){return A}});var i=r(5028),o=r(2379);let a=null,s={},u=1;function c(e){try{return e()}catch(e){}}let l="@wry/context:Slot",f=c(()=>globalThis)||c(()=>global)||Object.create(null),h=f[l]||Array[l]||function(e){try{Object.defineProperty(f,l,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(n,r)}finally{a=o}}static bind(e){let t=a;return function(){let r=a;try{return a=t,e.apply(this,arguments)}finally{a=r}}}static noContext(e,t,r){if(!a)return e.apply(r,t);{let n=a;try{return a=null,e.apply(r,t)}finally{a=n}}}}),{bind:p,noContext:d}=h,v=new h,{hasOwnProperty:y}=Object.prototype,m=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function g(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let b=[];function _(e,t){if(!e)throw Error(t||"assertion failure")}function w(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function k(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class O{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,++O.count}peek(){if(1===this.value.length&&!S(this))return E(this),this.value[0]}recompute(e){var t;return _(!this.recomputing,"already recomputing"),E(this),S(this)&&(R(this),v.withValue(this,T,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{g(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,S(this)||(t=this,D(t,x)))),k(this.value)}setDirty(){this.dirty||(this.dirty=!0,D(this,I),g(this))}dispose(){this.setDirty(),R(this),D(this,(e,t)=>{e.setDirty(),F(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(m(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),b.push(this.deps),this.deps=null)}}function E(e){let t=v.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),S(e)?I(t,e):x(t,e),t}function T(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!w(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function S(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function D(e,t){let r=e.parents.size;if(r){let n=m(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function I(e,t){_(e.childValues.has(t)),_(S(t));let r=!S(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),r&&D(e,I)}function x(e,t){_(e.childValues.has(t)),_(!S(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):w(r,t.value)||e.setDirty(),N(e,t),S(e)||D(e,x)}function N(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function R(e){e.childValues.size>
680&&e.childValues.forEach((t,r)=>{F(e,r)}),e.forgetDeps(),_(null===e.dirtyChildren)}function F(e,t){t.parents.delete(e),e.childValues.delete(t),N(e,t)}O.count=0;let C={setDirty:!0,dispose:!0,forget:!0};function P(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=v.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(g(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&y.call(C,r)?r:"setDirty";m(n).forEach(e=>e[i]()),t.delete(e),g(n)}},n}function M(...e){let t=n||(n=new i.B("function"==typeof WeakMap));return t.lookupArray(e)}let j=new Set;function A(e,{max:t=65536,keyArgs:r,makeCacheKey:n=M,normalizeResult:i,subscribe:a,cache:s=o.e}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,c=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new O(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return u.set(t,o),j.add(u),v.hasValue()||(j.forEach(e=>e.clean()),j.clear()),s};function l(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function h(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:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:u}),c.dirtyKey=l,c.dirty=function(){l(n.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(n.apply(null,arguments))},c.forgetKey=h,c.forget=function(){return h(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}},7582:function(e,t,r){"use strict";r.d(t,{Jh:function(){return u},ZT:function(){return i},_T:function(){return a},ev:function(){return c},mG:function(){return s},pi:function(){return o}});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},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(s){return function(u){return function(s){if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function c(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError},8216:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{y:function(){return k}});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function p(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:k}function d(e){d.log?d.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){d(e)}})}function y(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var r=h(t,"unsubscribe");r&&r.call(t)}}catch(e){d(e)}}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,r){e._state="running";var n=e._observer;try{var i=h(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(m(e),i)i.call(n,r);else throw r;break;case"complete":m(e),i&&i.call(n)}}catch(e){d(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],v(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(g(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});return}g(e,t,r)}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new w(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),w=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),k=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e){n(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=p(this);return new i(function(t){var n,o=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
68))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=h(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof k&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,c)))return new r(function(e){v(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(k,Symbol("extensions"),{value:{symbol:l,hostReportError:d},configurable:!0})}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(1118),t(6885)}),_N_E=e.O()}]);
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.