PageSourceSearch

https://www.clubmed.co.uk/assets/_next/static/chunks/3984-17a058c7c8303b62.js

js clubmed.co.uk collected 2026-09-24 21:43:40 UTC 188,342 bytes, 13 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3984],{431:(e,t,r)=>{r.d(t,{U:()=>i});function i(e,t){if(!e)throw Error(t)}},488:(e,t,r)=>{r.d(t,{R:()=>eq});var i,n,s=r(18778),a=r(7456),o=r(16567),l=r(91182);class u{isIncrementalResult(e){return!1}prepareRequest(e){return(0,l.V1)(!(0,o.d)(["defer","stream"],e.query),67),e}extractErrors(){}startRequest=void 0}let c=r(92200).C.execute;var h=r(75016),d=r(54548),f=r(36653),p=r(51929),m=r(74180),y=r(37840),v=r(84062),b=r(18064);function g(e){return(0,b.YR)(e,{FragmentSpread(e){if(!e.directives?.some(({name:e})=>"unmask"===e.value))return null}})}var E=r(28402),w=r(83786),k=r(75524),O=r(13211),T=r(31927),S=r(8193);function _(e,t){var r=(0,S.T)(e)?e:function(){return e},i=function(e){return e.error(r())};return new T.c(t?function(e){return t.schedule(i,0,e)}:i)}var N=r(37014),x=r(17964),I=(r(45837),r(6376));function D(e,t,r){return(void 0===r&&(r=1/0),(0,S.T)(t))?D(function(r,i){return(0,a.T)(function(e,n){return t(r,e,i,n)})((0,N.Tg)(e(r,i)))},r):("number"==typeof t&&(r=t),(0,x.N)(function(t,i){var n,s,a,o,l,u,c,h;return n=r,s=[],a=0,o=0,l=!1,u=function(){!l||s.length||a||i.complete()},c=function(e){return a<n?h(e):s.push(e)},h=function(t){a++;var r=!1;(0,N.Tg)(e(t,o++)).subscribe((0,I._)(i,function(e){i.next(e)},function(){r=!0},void 0,function(){if(r)try{for(a--;s.length&&a<n;)!function(){var e=s.shift();h(e)}();u()}catch(e){i.error(e)}}))},t.subscribe((0,I._)(i,c,function(){l=!0,u()})),function(){}}))}var C=r(41512),A=(0,r(14155).L)(function(e){return function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}}),R=r(34403);function F(e){return(0,x.N)(function(t,r){var i,n=null,s=!1;n=t.subscribe((0,I._)(r,void 0,void 0,function(a){i=(0,N.Tg)(e(a,F(e)(t))),n?(n.unsubscribe(),n=null,i.subscribe(r)):s=!0})),s&&(n.unsubscribe(),n=null,i.subscribe(r))})}var M=r(76500),P=r(16161),V=r(27994),L=r(64558),j=r(10675);(i=n||(n={})).NEXT="N",i.ERROR="E",i.COMPLETE="C";var q=function(){function e(e,t,r){this.kind=e,this.value=t,this.error=r,this.hasValue="N"===e}return e.prototype.observe=function(e){return function(e,t){var r,i,n,s=e.kind,a=e.value,o=e.error;if("string"!=typeof s)throw TypeError('Invalid notification, missing "kind"');"N"===s?null==(r=t.next)||r.call(t,a):"E"===s?null==(i=t.error)||i.call(t,o):null==(n=t.complete)||n.call(t)}(this,e)},e.prototype.do=function(e,t,r){var i=this.kind,n=this.value,s=this.error;return"N"===i?null==e?void 0:e(n):"E"===i?null==t?void 0:t(s):null==r?void 0:r()},e.prototype.accept=function(e,t,r){return(0,S.T)(null==e?void 0:e.next)?this.observe(e):this.do(e,t,r)},e.prototype.toObservable=function(){var e=this.kind,t=this.value,r=this.error,i="N"===e?(0,R.of)(t):"E"===e?_(function(){return r}):"C"===e?j.w:0;if(!i)throw TypeError("Unexpected notification kind "+e);return i},e.createNext=function(t){return new e("N",t)},e.createError=function(t){return new e("E",void 0,t)},e.createComplete=function(){return e.completeNotification},e.completeNotification=new e("C"),e}(),U=r(33379),B=r(54452);function Q(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return D(U.D,1)((0,C.H)(e,(0,B.lI)(e)))}var z=r(24055),W=r(31432),$=r(53159);function K(e){return e.filter(e=>e).map(e=>e.message||"Error message not found.").join("\n")}class Y extends Error{static is(e){return(0,$.t)(e,"CombinedGraphQLErrors")}static formatMessage=K;errors;data;extensions;constructor(e,t=e.errors||[]){super(Y.formatMessage(t,{result:e,defaultFormatMessage:K})),this.errors=t,this.data=e.data,this.extensions=e.extensions,this.name="CombinedGraphQLErrors",(0,$.w)(this),Object.setPrototypeOf(this,Y.prototype)}}var G=r(41376);let J=new WeakSet;var H=r(48987),X=r(4679),Z=r(92853),ee=r(36983),et=r(8262),er=r(82040);function ei(e,t,r){return er.y.withValue(!0,()=>{let i=function e(t,r,i,n,s){let{knownChanged:a}=i,o=function(e,t){if(t.has(e))return t.get(e);let r=Array.isArray(e)?[]:{};return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(let[l,u]of Array.from(t.entries())){if(null===u){o[l]=null;continue}let t=e(u,r,i,n,d.g?`${s||""}[${l}]`:void 0);a.has(t)&&a.add(o),o[l]=t}return a.has(o)?o:t}for(let u of r.selections){let r;if(n&&a.add(o),u.kind===O.b.FIELD){let c=(0,et.u)(u),h=u.selectionSet;if(void 0===(r=o[c]||t[c]))continue;if(h&&null!==r){let o=e(t[c],h,i,n,d.g?`${s||""}.${c}`:void 0);a.has(o)&&(r=o)}d.g||(o[c]=r),d.g&&(n&&"__typename"!==c&&!Object.getOwnPropertyDescriptor(o,c)?.value?Object.defineProperty(o,c,function(e,t,r,i,n){let s=()=>(er.y.getValue()||(d.g&&l.V1.warn(40,i?`${n} '${i}'`:`anonymous ${n}`,`${r}.${e}`.replace(/^\./,"")),s=()=>t),t);return{get:()=>s(),set(e){s=()=>e},enumerable:!0,configurable:!0}}(c,r,s||"",i.operationName,i.operationType)):(delete o[c],o[c]=r))}if(u.kind===O.b.INLINE_FRAGMENT&&(!u.typeCondition||i.cache.fragmentMatches(u,t.__typename))&&(r=e(t,u.selectionSet,i,n,s)),u.kind===O.b.FRAGMENT_SPREAD){let n=u.name.value,a=i.fragmentMap[n]||(i.fragmentMap[n]=i.
1cache.lookupFragment(n));(0,l.V1)(a,39,n);let o=(0,er.s)(u);"mask"!==o&&(r=e(t,a.selectionSet,i,"migrate"===o,s))}a.has(r)&&a.add(o)}return"__typename"in t&&!("__typename"in o)&&(o.__typename=t.__typename),Object.keys(o).length!==Object.keys(t).length&&a.add(o),a.has(o)?o:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,ee.G)(i),i})}var en=r(83348),es=r(64773),ea=r(61829);function eo(e){return 7===e||8===e}function el(e){return!!e.errors?.length}function eu(e,t=()=>void 0){return r=>new T.c(i=>{let n=t();return r.subscribe({next(t){let r;try{r=e(t,n)}catch(e){i.error(e)}void 0!==r&&i.next(r)},error(e){i.error(e)},complete(){i.complete()}})})}function ec(e){let t={data:e.data};return e.error&&(t.error=e.error),t}var eh=r(48672),ed=r(80912),ef=r(80188),ep=r(41692),em=r(97528),ey=r(14455),ev=r(29518),eb=r(32978),eg=function(e){function t(t){var r=e.call(this)||this;return r._value=t,r}return(0,eb.C6)(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var r=e.prototype._subscribe.call(this,t);return r.closed||t.next(this._value),r},t.prototype.getValue=function(){var e=this.hasError,t=this.thrownError,r=this._value;if(e)throw t;return this._throwIfClosed(),r},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(L.B),eE=r(79004),ew=r(36458),ek=r(27705);let{assign:eO,hasOwnProperty:eT}=Object,eS={loading:!0,networkStatus:ev.p.loading,data:void 0,dataState:"empty",partial:!0},e_={loading:!1,networkStatus:ev.p.ready,data:void 0,dataState:"empty",partial:!0};class eN{options;queryName;variablesUnknown=!1;_lastWrite;get query(){return this.lastQuery}get variables(){return this.options.variables}unsubscribeFromCache;input;subject;isTornDown;queryManager;subscriptions=new Set;waitForNetworkResult;lastQuery;linkSubscription;pollingInfo;get networkStatus(){return this.subject.getValue().result.networkStatus}get cache(){return this.queryManager.cache}constructor({queryManager:e,options:t,transformedQuery:r=e.transform(t.query)}){this.queryManager=e,this.waitForNetworkResult="network-only"===t.fetchPolicy,this.isTornDown=!1,this.subscribeToMore=this.subscribeToMore.bind(this),this.maskResult=this.maskResult.bind(this);const{watchQuery:{fetchPolicy:i="cache-first"}={}}=e.defaultOptions,{fetchPolicy:n=i,initialFetchPolicy:s="standby"===n?i:n}=t;t[em._K]&&((0,l.V1)("standby"===n,82),this.variablesUnknown=!0),this.lastQuery=r,this.options={...t,initialFetchPolicy:s,fetchPolicy:n,variables:this.getVariablesWithDefaults(t.variables)},this.initializeObservablesQueue(),this["@@observable"]=()=>this,Symbol.observable&&(this[Symbol.observable]=()=>this);const a=(0,H.V)(this.query);this.queryName=a&&a.name&&a.name.value}initializeObservablesQueue(){this.subject=new eg({query:this.query,variables:this.variables,result:eS,meta:{}});let e=this.subject.pipe((0,z.M)({subscribe:()=>{this.subject.observed||(this.reobserve(),setTimeout(()=>this.updatePolling()))},unsubscribe:()=>{this.subject.observed||this.tearDownQuery()}}),eu(({query:e,variables:t,result:r,meta:i},n)=>{let{shouldEmit:s}=i;if(r===eS&&(n.previous=void 0,n.previousVariables=void 0),"standby"===this.options.fetchPolicy||2===s)return;if(1===s)return l();let{previous:a,previousVariables:o}=n;if(a){let i=this.queryManager.getDocumentInfo(e),n=this.queryManager.dataMasking,s=n?i.nonReactiveQuery:e;if((n||i.hasNonreactiveDirective?(0,eE.a)(s,a,r,t):(0,en.L)(a,r))&&(0,en.L)(o,t))return}if(!(3===s&&(!this.options.notifyOnNetworkStatusChange||(0,en.L)(a,r))))return l();function l(){return n.previous=r,n.previousVariables=t,r}},()=>({})));this.pipe=e.pipe.bind(e),this.subscribe=e.subscribe.bind(e),this.input=new L.B,this.input.complete=()=>{},this.input.pipe(this.operator).subscribe(this.subject)}subscribe;pipe;[Symbol.observable];"@@observable";getCacheDiff({optimistic:e=!0}={}){return this.cache.diff({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:e})}getInitialResult(e){let t=e||this.options.fetchPolicy;this.queryManager.prioritizeCacheValues&&("network-only"===t||"cache-and-network"===t)&&(t="
1cache-first");let r=()=>{let e=this.getCacheDiff(),t=this.options.returnPartialData||e.complete?e.result??void 0:void 0;return this.maskResult({data:t,dataState:e.complete?"complete":void 0===t?"empty":"partial",loading:!e.complete,networkStatus:e.complete?ev.p.ready:ev.p.loading,partial:!e.complete})};switch(t){case"cache-only":return{...r(),loading:!1,networkStatus:ev.p.ready};case"cache-first":return r();case"cache-and-network":return{...r(),loading:!0,networkStatus:ev.p.loading};case"standby":return e_;default:return eS}}resubscribeCache(){let{variables:e,fetchPolicy:t}=this.options,r=this.query,i="standby"===t||"no-cache"===t||this.waitForNetworkResult,n=!ex({query:r,variables:e},this.unsubscribeFromCache)&&!this.waitForNetworkResult;if((i||n)&&this.unsubscribeFromCache?.(),i||!n)return;let s={query:r,variables:e,optimistic:!0,watcher:this,callback:e=>{let t=this.queryManager.getDocumentInfo(r);if((t.hasClientExports||t.hasForcedResolvers)&&(s.lastDiff=void 0),s.lastOwnDiff===e)return;let{result:i}=this.subject.getValue();(e.complete||!i.error&&i!==eS&&i!==e_)&&((0,en.L)(i.data,e.result)||this.scheduleNotify())}},a=this.cache.watch(s);this.unsubscribeFromCache=Object.assign(()=>{this.unsubscribeFromCache=void 0,a()},{query:r,variables:e})}stableLastResult;getCurrentResult(){let{result:e}=this.subject.getValue(),t=e.networkStatus===ev.p.error||this.hasObservers()||"no-cache"===this.options.fetchPolicy?e:this.getInitialResult();return t===eS&&(t=this.getInitialResult()),(0,en.L)(this.stableLastResult,t)||(this.stableLastResult=t),this.stableLastResult}refetch(e){let{fetchPolicy:t}=this.options,r={pollInterval:0};if("no-cache"===t?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",d.g&&e&&eT.call(e,"variables")){let t=(0,ew.A)(this.query),r=t.variableDefinitions;r&&r.some(e=>"variables"===e.variable.name.value)||!d.g||l.V1.warn(83,e,t.name?.value||t)}return e&&!(0,en.L)(this.variables,e)&&(r.variables=this.options.variables=this.getVariablesWithDefaults({...this.variables,...e})),this._lastWrite=void 0,this._reobserve(r,{newNetworkStatus:ev.p.refetch})}fetchMore({query:e,variables:t,context:r,errorPolicy:i,updateQuery:n}){(0,l.V1)("cache-only"!==this.options.fetchPolicy,84,(0,p.n)(this.query,"(anonymous)"));let s={...(0,m.o)(this.options,{errorPolicy:"none"},{query:e,context:r,errorPolicy:i}),variables:e?t:{...this.variables,...t},fetchPolicy:"no-cache",notifyOnNetworkStatusChange:this.options.notifyOnNetworkStatusChange};s.query=this.transformDocument(s.query),this.lastQuery=e?this.transformDocument(this.options.query):s.query;let a=!1,o="no-cache"!==this.options.fetchPolicy;o||(0,l.V1)(n,85);let{finalize:u,pushNotification:c}=this.pushOperation(ev.p.fetchMore);c({source:"newNetworkStatus",kind:"N",value:{}},{shouldEmit:3});let{promise:h,operator:d}=eI(),{observable:f}=this.queryManager.fetchObservableWithInfo(s,{networkStatus:ev.p.fetchMore,exposeExtensions:!0}),y=f.pipe(d,(0,M.p)(e=>"N"===e.kind&&"network"===e.source)).subscribe({next:e=>{a=!1;let t=e.value,r=t[em.X];if(eo(e.value.networkStatus)&&u(),o){let e=this.getCacheDiff();this.cache.batch({update:e=>{n?e.updateQuery({query:this.query,variables:this.variables,returnPartialData:!0,optimistic:!1,extensions:r},e=>n(e,{fetchMoreResult:t.data,variables:s.variables})):e.writeQuery({query:s.query,variables:s.variables,data:t.data,extensions:r})},onWatchUpdated:(r,i)=>{if(r.watcher===this&&!(0,en.L)(i.result,e.result)){a=!0;let e=this.getCurrentResult();eo(t.networkStatus)||c({kind:"N",source:"network",value:{...e,networkStatus:t.networkStatus===ev.p.error?ev.p.ready:t.networkStatus,loading:!1,data:i.result,dataState:"streaming"===t.dataState?"streaming":"complete"}})}}})}else{let e=this.getCurrentResult(),r=n(e.data,{fetchMoreResult:t.data,variables:s.variables});c({kind:"N",value:{...e,networkStatus:ev.p.ready,loading:!1,data:r,dataState:"streaming"===e.dataState?"streaming":"complete"},source:"network"})}}});return(0,ek.X)(h.then(e=>ec(this.maskResult(e))).finally(()=>{if(y.unsubscribe(),u(),o&&!a){let e=this.getCurrentResult();"streaming"===e.dataState?c({kind:"N",source:"network",value:{...e,dataState:"complete",networkStatus:ev.p.ready}}):c({kind:"N",source:"newNetworkStatus",value:{}},{shouldEmit:1})}}))}subscribeToMore(e){let t=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:t=>{let{updateQuery:r,onError:i}=e,{error:n}=t;n?i?i(n):l.V1.error(86,n):r&&this.updateQuery((e,i)=>r(e,{subscriptionData:t,...i}))}});return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)&&t.unsubscribe()}}applyOptions(e){let t=(0,m.o)(this.options,e||{});eO(this.options,t),this.updatePolling()}async setVariables(e){return(e=this.getVariablesWithDefaults(e),(0,en.L)(this.variables,e))?ec(this.getCurrentResult()):(this.options.variables=e,this.hasObservers())?this._reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},{newNetworkStatus:ev.p.setVariables}):ec(this.getCurrentResult())}updateQuery(e){let{queryManager:t}=this,{result:r,complete:i}=this.getCacheDiff({optimistic:!1}),n=e(r,{variables:this.variables,complete:!!i,previousData:r});n&&(this.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())}startPolling(e){this.options.pollInterval=e,this.updatePolling()}stopPolling(){this.options.pollInterval=0,this.updatePolling()}applyNextFetchPolicy(e,t){if(t.nextFetchPolicy){let{fetchPolicy:r="cache-first",initialFetchPolicy:i=r}=t;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy.call(t,r,{reason:e,options:t,observable:this,initialFetchPolicy:i}):"variables-changed"===e?t.fetchPolicy=i:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy}fetch(e,t,r,i){let n=this.options.fetchPolicy;e.context??={};let s=!1,a=e=>new T.c(r=>{try{return e.subscribe({next(e){s=!0,r.next(e)},error:e=>r.error(e),complete:()=>r.complete()})}finally{s||(h.override=t,this.input.next({kind:"N",source:"newNetworkStatus",value:{resetError:!0},query:u,variables:c,meta:{shouldEmit:3,fetchPolicy:n}}))}}),{observable:o,fromLink:l}=this.queryManager.fetchObservableWithInfo(e,{networkStatus:t,query:r,onCacheHit:()=>{s=!0},fetchQueryOperator:a,observableQuery:this}),{query:u,variables:c}=this,h={abort:()=>{f.unsubscribe()},query:u,variables:c};this.activeOperations.add(h);let d=t==ev.p.refetch||t==ev.p.setVariables,f=(o=o.pipe(i,(0,P.u)())).pipe((0,z.M)({next:e=>{"newNetworkStatus"===e.source||"N"===e.kind&&e.value.loading?h.override=t:delete h.override},finalize:()=>this.activeOperations.delete(h)})).subscribe({next:e=>{let t={};d&&"N"===e.kind&&"loading"in e.value&&!e.value.loading&&(d=!1,t.shouldEmit=1),this.input.next({...e,query:u,variables:c,meta:t})}});return{fromLink:l,subscription:f,observable:o}}didWarnCacheOnlyPolling=!1;updatePolling(){if(this.queryManager.ssrMode)return;let{pollingInfo:e,options:{fetchPolicy:t,pollInterval:r}}=this,i=()=>{let{options:e}=this;
1return!e.pollInterval||!this.hasObservers()||"cache-only"===e.fetchPolicy||"standby"===e.fetchPolicy};if(i()){d.g&&!this.didWarnCacheOnlyPolling&&r&&"cache-only"===t&&(d.g&&l.V1.warn(87,(0,p.n)(this.query,"(anonymous)")),this.didWarnCacheOnlyPolling=!0),this.cancelPolling();return}if(e?.interval===r)return;(e||(this.pollingInfo={})).interval=r;let n=()=>{if(i())return this.cancelPolling();this.pollingInfo&&(!eo(this.networkStatus)||this.options.skipPollAttempt?.()?s():this._reobserve({fetchPolicy:"no-cache"===this.options.initialFetchPolicy?"no-cache":"network-only"},{newNetworkStatus:ev.p.poll}).then(s,s))},s=()=>{let e=this.pollingInfo;e&&(clearTimeout(e.timeout),e.timeout=setTimeout(n,e.interval))};s()}cancelPolling(){this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),delete this.pollingInfo)}reobserve(e){return this._reobserve(e)}_reobserve(e,t){this.isTornDown=!1;let{newNetworkStatus:r}=t||{};this.queryManager.obsQueries.add(this);let i=r===ev.p.refetch||r===ev.p.poll,n=this.variables,s=this.options.fetchPolicy,a=(0,m.o)(this.options,e||{});this.variablesUnknown&&="standby"===a.fetchPolicy;let o=i?a:eO(this.options,a),l=this.transformDocument(o.query);this.lastQuery=l,e&&"variables"in e&&(o.variables=this.getVariablesWithDefaults(e.variables)),!i&&(this.updatePolling(),e&&e.variables&&!(0,en.L)(e.variables,n)&&"standby"!==o.fetchPolicy&&(o.fetchPolicy===s||"function"==typeof o.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",o),void 0===r&&(r=ev.p.setVariables)));let u=this.networkStatus;r||(r=ev.p.loading,u!==ev.p.loading&&e?.variables&&!(0,en.L)(e.variables,n)&&(r=ev.p.setVariables),"standby"===o.fetchPolicy&&(r=ev.p.ready)),"standby"===o.fetchPolicy&&this.cancelPolling(),this.resubscribeCache();let{promise:c,operator:h}=eI("standby"===o.fetchPolicy?{data:void 0}:void 0),{subscription:d,observable:f,fromLink:p}=this.fetch(o,r,l,h);i||!p&&this.linkSubscription||(this.linkSubscription&&this.linkSubscription.unsubscribe(),this.linkSubscription=d);let y=Object.assign((0,ek.X)(c.then(e=>ec(this.maskResult(e))).finally(()=>{this.hasObservers()||0!==this.activeOperations.size||this.tearDownQuery()})),{retain:()=>{let e=f.subscribe({}),t=()=>e.unsubscribe();return c.then(t,t),y}});return y}hasObservers(){return this.subject.observed}stop(){this.subject.complete(),this.initializeObservablesQueue(),this.tearDownQuery()}tearDownQuery(){this.isTornDown||(this.resetNotifications(),this.unsubscribeFromCache?.(),this.linkSubscription&&(this.linkSubscription.unsubscribe(),delete this.linkSubscription),this.stopPolling(),this.subscriptions.forEach(e=>e.unsubscribe()),this.subscriptions.clear(),this.queryManager.obsQueries.delete(this),this.isTornDown=!0,this.abortActiveOperations(),this._lastWrite=void 0)}transformDocument(e){return this.queryManager.transform(e)}maskResult(e){let t=this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,cause:this});return t===e.data?e:{...e,data:t}}dirty=!1;notifyTimeout;resetNotifications(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0),this.dirty=!1}scheduleNotify(){!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(()=>this.notify(!0),0)))}notify(e=!1){if(!e){let e=this.queryManager.getDocumentInfo(this.query);if(e.hasClientExports||e.hasForcedResolvers)return}let{dirty:t}=this;if(this.resetNotifications(),t&&("cache-only"===this.options.fetchPolicy||"cache-and-network"===this.options.fetchPolicy||!this.activeOperations.size)){let e=this.getCacheDiff();(0,en.L)(e.result,this.getCacheDiff({optimistic:!1}).result)?this.reobserveCacheFirst():this.input.next({kind:"N",value:{data:e.result,dataState:e.complete?"complete":e.result?"partial":"empty",networkStatus:ev.p.ready,loading:!1,error:void 0,partial:!e.complete},source:"cache",query:this.query,variables:this.variables,meta:{}})}}activeOperations=new Set;pushOperation(e){let t=!1,{query:r,variables:i}=this,n=()=>{this.activeOperations.delete(s)},s={override:e,abort:()=>{t=!0,n()},query:r,variables:i};return this.activeOperations.add(s),{finalize:n,pushNotification:(e,n)=>{t||this.input.next({...e,query:r,variables:i,meta:{...n}})}}}calculateNetworkStatus(e){if(e===ev.p.streaming)return e;let t=Array.from(this.activeOperations.values()).reverse().find(e=>ex(e,this)&&void 0!==e.override);return t?.override??e}
1abortActiveOperations(){this.activeOperations.forEach(e=>e.abort())}reset(){let e="cache-only"===this.options.fetchPolicy;this.setResult(e?e_:eS,{shouldEmit:e?1:2}),this.abortActiveOperations()}setResult(e,t){this.input.next({source:"setResult",kind:"N",value:e,query:this.query,variables:this.variables,meta:{...t}})}operator=eu(e=>{let t,{query:r,meta:i}=e;if("setResult"===e.source)return{query:r,variables:this.variables,result:e.value,meta:i};if("C"===e.kind)return;let n="resolvedVariables"in e?e.resolvedVariables:void 0;if(e.query!==this.query)return;if(!(0,en.L)(n,this.variables)){if(!(0,en.L)(e.variables,this.variables))return;n&&(this.options.variables=n,this.resubscribeCache())}let s=this.variables,a=this.subject.getValue();if("cache"===e.source){if((t=e.value).networkStatus===ev.p.ready&&t.partial&&(!this.options.returnPartialData||a.result.networkStatus===ev.p.error)&&"cache-only"!==this.options.fetchPolicy)return}else if("network"===e.source)this.waitForNetworkResult&&(this.waitForNetworkResult=!1,this.resubscribeCache()),t="E"===e.kind?{...ex(a,e)||n&&(0,en.L)(n,a.variables)?a.result:{data:void 0,dataState:"empty",partial:!0},error:e.error,networkStatus:ev.p.error,loading:!1}:e.value,"E"===e.kind&&"streaming"===t.dataState&&(t.dataState="complete"),t.error&&(i.shouldEmit=1);else if("newNetworkStatus"===e.source){let r=ex(a,e)?a.result:this.getInitialResult(i.fetchPolicy),{resetError:n}=e.value,s=n?void 0:r.error,o=s?ev.p.error:ev.p.ready;t={...r,error:s,networkStatus:o}}return(0,l.V1)(t),t.error||delete t.error,t.networkStatus=this.calculateNetworkStatus(t.networkStatus),t.loading=!eo(t.networkStatus),t=this.maskResult(t),void 0!==a.result.data&&t.data!==a.result.data&&(0,en.L)(t.data,a.result.data)&&(t.data=a.result.data),{query:r,variables:s,result:t,meta:i}});reobserveCacheFirst(){let{fetchPolicy:e,nextFetchPolicy:t}=this.options;"cache-and-network"===e||"network-only"===e?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy(r,i){return(this.nextFetchPolicy=t,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(r,i):e}}):this.reobserve()}getVariablesWithDefaults(e){return this.queryManager.getVariables(this.query,e)}}function ex(e,t){return!!(e&&t&&e.query===t.query&&(0,en.L)(e.variables,t.variables))}function eI(e){let t=e,r,i;return{promise:new Promise((e,t)=>{r=e,i=t}),operator:(0,z.M)({next(e){if("E"===e.kind)return i(e.error);"N"!==e.kind||"newNetworkStatus"===e.source||e.value.loading||(t=e.value)},finalize:()=>{if(t)r(t);else{let e="The operation was aborted.",t="AbortError";i("u">typeof DOMException?new DOMException(e,t):Object.assign(Error(e),{name:t}))}}})}}let eD={},eC=new WeakMap;function eA(e,t){let r=e[t];"function"==typeof r&&(e[t]=function(){return eC.set(e,(eC.get(e)+1)%1e15),r.apply(this,arguments)})}let eR=new WeakMap;class eF{cache;queryManager;id;observableQuery;incremental;constructor(e,t){const r=this.cache=e.cache,i=(eR.get(e)||0)+1;eR.set(e,i),this.id=i+"",this.observableQuery=t,this.queryManager=e,eC.has(r)||(eC.set(r,0),eA(r,"evict"),eA(r,"modify"),eA(r,"reset"))}_lastWrite;get lastWrite(){return(this.observableQuery||this)._lastWrite}set lastWrite(e){(this.observableQuery||this)._lastWrite=e}resetLastWrite(){this.lastWrite=void 0}shouldWrite(e,t){let{lastWrite:r}=this;return!(r&&r.dmCount===eC.get(this.cache)&&(0,en.L)(t,r.variables)&&(0,en.L)(e.data,r.result.data)&&e.extensions?.[em.DH]===r.result.extensions?.[em.DH])}get hasNext(){return!!this.incremental&&this.incremental.hasNext}maybeHandleIncrementalResult(e,t,r){let{incrementalHandler:i}=this.queryManager;return i.isIncrementalResult(t)?(this.incremental||=i.startRequest({query:r}),this.incremental.handle(e,t)):t}markQueryResult(e,{document:t,variables:r,errorPolicy:i,cacheWriteBehavior:n}){let s={query:t,variables:r,returnPartialData:!0,optimistic:!0};this.observableQuery?.resetNotifications();let a=0===n,o=a?void 0:this.cache.diff(s),u=this.maybeHandleIncrementalResult(o?.result,e,t);if(a)return u;if(eM(u,i)){let e=!1;this.cache.batch({onWatchUpdated:(e,t)=>{e.watcher===this.observableQuery&&(e.lastOwnDiff=t)}
1,update:i=>{var a,c,h;if(this.shouldWrite(u,r))i.writeQuery({query:t,data:u.data,variables:r,overwrite:1===n,extensions:u.extensions}),e=!0,this.lastWrite={result:u,variables:r,dmCount:eC.get(this.cache)};else if(o&&o.complete){u={...u,data:o.result};return}let f=i.diff(s);f.complete?u={...u,data:f.result}:d.g&&e&&!this.hasNext&&(a=t,c=u.data,h=f,d.g&&l.V1.warn(89,(0,p.n)(a,"(anonymous)"),h.missing?.missing,c,h.result))}})}else this.lastWrite=void 0;return u}markMutationResult(e,t,r=this.cache){let i=[],n=0===t.cacheWriteBehavior,s=this.maybeHandleIncrementalResult(n?void 0:r.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0}).result,e,t.document);if("ignore"===t.errorPolicy&&(s={...s,errors:[]}),el(s)&&"none"===t.errorPolicy)return Promise.resolve(s);let a=()=>({...s,dataState:this.hasNext?"streaming":"complete"});if(!n&&eM(s,t.errorPolicy)){i.push({result:s.data,dataId:"ROOT_MUTATION",query:t.document,variables:t.variables,extensions:s.extensions});let{updateQueries:e}=t;e&&this.queryManager.getObservableQueries("all").forEach(t=>{let r=t&&t.queryName;if(!r||!Object.hasOwnProperty.call(e,r))return;let n=e[r],{query:s,variables:o}=t,{result:l,complete:u}=t.getCacheDiff({optimistic:!1});if(u&&l){let e=n(l,{mutationResult:a(),queryName:s&&(0,p.n)(s)||void 0,queryVariables:o});e&&i.push({result:e,dataId:"ROOT_QUERY",query:s,variables:o})}})}let o=t.refetchQueries;if("function"==typeof o&&(o=o(a())),i.length>0||(o||"").length>0||t.update||t.onQueryUpdated||t.removeOptimistic){let e=[];
1if(this.queryManager.refetchQueries({updateCache:e=>{n||i.forEach(t=>e.write(t));let{update:r}=t;if(r){if(!n){let r=e.diff({id:"ROOT_MUTATION",query:this.queryManager.getDocumentInfo(t.document).asQuery,variables:t.variables,optimistic:!1,returnPartialData:!0});r.complete&&(s={...s,data:r.result})}this.hasNext||r(e,s,{context:t.context,variables:t.variables})}n||t.keepRootFields||this.hasNext||e.modify({id:"ROOT_MUTATION",fields:(e,{fieldName:t,DELETE:r})=>"__typename"===t?e:r})},include:o,optimistic:!1,removeOptimistic:t.removeOptimistic,onQueryUpdated:t.onQueryUpdated||null}).forEach(t=>e.push(t)),t.awaitRefetchQueries||t.onQueryUpdated)return Promise.all(e).then(()=>s)}return Promise.resolve(s)}markMutationOptimistic(e,t){let r="function"==typeof e?e(t.variables,{IGNORE:eD}):e;return r!==eD&&(this.cache.recordOptimisticTransaction(e=>{try{this.markMutationResult({data:r},t,e)}catch(e){l.V1.error(e)}},this.id),!0)}markSubscriptionResult(e,{document:t,variables:r,errorPolicy:i,cacheWriteBehavior:n}){0!==n&&(eM(e,i)&&this.cache.write({query:t,result:e.data,dataId:"ROOT_SUBSCRIPTION",variables:r,extensions:e.extensions}),this.queryManager.broadcastQueries())}}function eM(e,t="none"){let r=!el(e);return!r&&("ignore"===t||"all"===t)&&e.data&&(r=!0),r}class eP{defaultOptions;client;clientOptions;assumeImmutableResults;documentTransform;ssrMode;defaultContext;dataMasking;incrementalHandler;localState;queryDeduplication;prioritizeCacheValues=!1;onBroadcast;mutationStore;obsQueries=new Set;fetchCancelFns=new Map;constructor(e){const t=new h.c(e=>this.cache.transformDocument(e),{cache:!1});this.client=e.client,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientOptions=e.clientOptions,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking,this.localState=e.localState,this.incrementalHandler=e.incrementalHandler;const r=e.documentTransform;this.documentTransform=r?t.concat(r).concat(t):t,this.defaultContext=e.defaultContext||{},(this.onBroadcast=e.onBroadcast)&&(this.mutationStore={})}get link(){return this.client.link}get cache(){return this.client.cache}stop(){this.obsQueries.forEach(e=>e.stop()),this.cancelPendingFetches((0,l.vA)(90))}cancelPendingFetches(e){this.fetchCancelFns.forEach(t=>t(e)),this.fetchCancelFns.clear()}async mutate({mutation:e,variables:t,optimisticResponse:r,updateQueries:i,refetchQueries:n=[],awaitRefetchQueries:s=!1,update:o,onQueryUpdated:u,fetchPolicy:c,errorPolicy:h,keepRootFields:f,context:m}){let y=new eF(this);e=this.cache.transformForLink(this.transform(e));let{hasClientExports:v}=this.getDocumentInfo(e);t=this.getVariables(e,t),v&&(d.g&&(0,l.V1)(this.localState,91,(0,p.n)(e,"(anonymous)")),t=await this.localState.getExportedVariables({client:this.client,document:e,variables:t,context:m}));let b=this.mutationStore&&(this.mutationStore[y.id]={mutation:e,variables:t,loading:!0,error:null}),g=r&&y.markMutationOptimistic(r,{document:e,variables:t,cacheWriteBehavior:2*("no-cache"!==c),errorPolicy:h,context:m,updateQueries:i,update:o,keepRootFields:f});return this.broadcastQueries(),new Promise((l,d)=>{let p={};return this.getObservableFromLink(e,{...m,optimisticResponse:g?r:void 0},t,c,{},!1).observable.pipe(eV(),D(r=>{let a={...r};return(0,C.H)(y.markMutationResult(a,{document:e,variables:t,cacheWriteBehavior:2*("no-cache"!==c),errorPolicy:h,context:m,update:o,updateQueries:i,awaitRefetchQueries:s,refetchQueries:n,removeOptimistic:g?y.id:void 0,onQueryUpdated:u,keepRootFields:f}))})).pipe((0,a.T)(e=>{if(el(e)&&"none"===h)throw new Y(eL(e));return b&&(b.loading=!1,b.error=null),e})).subscribe({next:t=>{if(this.broadcastQueries(),!y.hasNext){let r={data:this.maskOperation({document:e,data:t.data,fetchPolicy:c,cause:p})};el(t)&&(r.error=new Y(t)),Object.keys(t.extensions||{}).length&&(r.extensions=t.extensions),l(r)}},error:e=>(b&&(b.loading=!1,b.error=e),g&&this.cache.removeOptimistic(y.id),this.broadcastQueries(),"ignore"===h)?l({data:void 0}):"all"===h?l({data:void 0,error:e}):void d(e)})})}fetchQuery(e,t){return(0,y.s)(e.query,s.cE.QUERY),(async()=>{var r,i,n;return r=this.fetchObservableWithInfo(e,{networkStatus:t}
1).observable.pipe(eu(e=>{switch(e.kind){case"E":throw e.error;case"N":if("newNetworkStatus"!==e.source)return ec(e.value)}})),n="object"==typeof(i={defaultValue:{data:void 0}}),new Promise(function(e,t){var s,a=!1;r.subscribe({next:function(e){s=e,a=!0},error:t,complete:function(){a?e(s):n?e(i.defaultValue):t(new A)}})})})()}transform(e){return this.documentTransform.transformDocument(e)}transformCache=new eh.A(es.v["queryManager.getDocumentInfo"]||2e3);getDocumentInfo(e){let{transformCache:t}=this;if(!t.has(e)){var r;let i,n=(0,H.V)(e),s={hasClientExports:(0,o.d)(["client","export"],e,!0),hasForcedResolvers:(i=!1,(0,b.YR)(e,{Directive:{enter(e){if("client"===e.name.value&&e.arguments&&(i=e.arguments.some(e=>"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value)))return b.sP}}}),i),hasNonreactiveDirective:(0,o.d)(["nonreactive"],e),hasIncrementalDirective:(0,o.d)(["defer"],e),nonReactiveQuery:(r=e,(0,b.YR)(r,{FragmentSpread:e=>{if(!e.directives?.some(e=>"unmask"===e.name.value))return{...e,directives:[...e.directives||[],{kind:O.b.DIRECTIVE,name:{kind:O.b.NAME,value:"nonreactive"}}
1]}}})),clientQuery:(0,o.d)(["client"],e)?e:null,serverQuery:(0,ed.i)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),operationType:n?.operation,defaultVars:(0,ef.w)(n),asQuery:{...e,definitions:e.definitions.map(e=>"OperationDefinition"===e.kind&&"query"!==e.operation?{...e,operation:"query"}:e)}};t.set(e,s)}let i=t.get(e);if(i.violation)throw i.violation;return i}getVariables(e,t){let r=this.getDocumentInfo(e).defaultVars,i=Object.entries(t??{}).map(([e,t])=>[e,void 0===t?r[e]:t]);return{...r,...Object.fromEntries(i)}}watchQuery(e){(0,y.s)(e.query,s.cE.QUERY);let t=this.transform(e.query);return void 0===(e={...e,variables:this.getVariables(t,e.variables)}).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!0),new eN({queryManager:this,options:e,transformedQuery:t})}query(e){let t=this.transform(e.query);return this.fetchQuery({...e,query:t}).then(r=>({...r,data:this.maskOperation({document:t,data:r?.data,fetchPolicy:e.fetchPolicy})}))}clearStore(e={discardWatches:!0}){return this.cancelPendingFetches((0,l.vA)(92)),this.obsQueries.forEach(e=>{e.reset()}),this.mutationStore&&(this.mutationStore={}),this.cache.reset(e)}getObservableQueries(e="active"){let t=new Set,r=new Map,i=new Map,n=new Set;return Array.isArray(e)&&e.forEach(e=>{if("string"==typeof e)r.set(e,e),i.set(e,!1);else if((0,ep.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)){let t=(0,ea.y)(this.transform(e));r.set(t,(0,p.n)(e)),i.set(t,!1)}else(0,ep.U)(e)&&e.query&&n.add(e)}),this.obsQueries.forEach(r=>{let n=(0,ea.y)(this.transform(r.options.query));if("all"===e)return void t.add(r);let{queryName:s,options:{fetchPolicy:a}}=r;("active"!==e||"standby"!==a)&&("active"===e||s&&i.has(s)||n&&i.has(n))&&(t.add(r),s&&i.set(s,!0),n&&i.set(n,!0))}),n.size&&n.forEach(e=>{let r=new eN({queryManager:this,options:{...(0,f.l)(this.defaultOptions.watchQuery,e),fetchPolicy:"network-only"}});t.add(r)}),d.g&&i.size&&i.forEach((e,t)=>{if(!e){let e=r.get(t);e?d.g&&l.V1.warn(93,e):d.g&&l.V1.warn(94)}}),t}refetchObservableQueries(e=!1){let t=[];return this.getObservableQueries(e?"all":"active").forEach(r=>{let{fetchPolicy:i}=r.options;(e||"standby"!==i)&&"cache-only"!==i&&t.push(r.refetch())}),this.broadcastQueries(),Promise.all(t)}startGraphQLSubscription(e){let t,{query:r,variables:i}=e,{fetchPolicy:n="cache-first",errorPolicy:o="none",context:u={},extensions:c={}}=e;return(0,y.s)(r,s.cE.SUBSCRIPTION),r=this.transform(r),i=this.getVariables(r,i),d.g&&(0,l.V1)(!this.getDocumentInfo(r).hasClientExports||this.localState,95,(0,p.n)(r,"(anonymous)")),Object.assign((this.getDocumentInfo(r).hasClientExports?(0,C.H)(this.localState.getExportedVariables({client:this.client,document:r,variables:i,context:u})):(0,R.of)(i)).pipe(D(e=>{let{observable:i,restart:s}=this.getObservableFromLink(r,u,e,n,c),l=new eF(this);return t=s,i.pipe((0,a.T)(t=>{l.markSubscriptionResult(t,{document:r,variables:e,errorPolicy:o,cacheWriteBehavior:2*("no-cache"!==n)});let i={data:t.data??void 0};return el(t)?i.error=new Y(t):(0,G.uR)(t)&&(i.error=t.extensions[G.K$],delete t.extensions[G.K$]),t.extensions&&Object.keys(t.extensions).length&&(i.extensions=t.extensions),i.error&&"none"===o&&(i.data=void 0),"ignore"===o&&delete i.error,i}),F(e=>"ignore"===o?(0,R.of)({data:void 0}):(0,R.of)({data:void 0,error:e})),(0,M.p)(e=>!!(e.data||e.error)))})),{restart:()=>t?.()})}broadcastQueries(){this.onBroadcast&&this.onBroadcast(),this.obsQueries.forEach(e=>e.notify())}inFlightLinkObservables=new k.b(!1);getObservableFromLink(e,t,r,i,n,a=t?.queryDeduplication??this.queryDeduplication){let o={},{serverQuery:u,clientQuery:h,operationType:f,hasIncrementalDirective:m}=this.getDocumentInfo(e),y=(0,p.n)(e),v={client:this.client};if(u){let{inFlightLinkObservables:e,link:i}=this;try{let l=this.incrementalHandler.prepareRequest({query:u,variables:r,context:{...this.defaultContext,...t,queryDeduplication:a},extensions:n});function b(e){return new T.c(t=>{function r(){return e.subscribe({next:t.next.bind(t),complete:t.complete.bind(t),error:t.error.bind(t)})}let i=r();return o.restart||=()=>{i.unsubscribe(),i=r()},()=>{i.unsubscribe(),o.restart=void 0}})}if(t=l.context,a){var g;let t=(0,ea.y)(u),n=(0,W.M)(r);(o=e.lookup(t,n)).observable||(o.observable=c(i,l,v).pipe(b,(g=()=>{e.peek(t,n)===o&&e.remove(t,n)},(0,x.N)(function(e,t){try{e.subscribe(t)}finally{t.add(g)}}
1)),f===s.cE.SUBSCRIPTION?(0,P.u)():(0,V.t)({refCount:!0})))}else o.observable=c(i,l,v).pipe(b)}catch(e){o.observable=_(()=>e)}}else o.observable=(0,R.of)({data:{}});if(h){let{operation:n}=(0,H.V)(e);d.g&&(0,l.V1)(this.localState,96,n[0].toUpperCase()+n.slice(1),y??"(anonymous)"),(0,l.V1)(!m,97,n[0].toUpperCase()+n.slice(1),y??"(anonymous)"),o.observable=o.observable.pipe(D(e=>(0,C.H)(this.localState.execute({client:this.client,document:h,remoteResult:e,context:t,variables:r,fetchPolicy:i}))))}return{restart:()=>o.restart?.(),observable:o.observable.pipe(F(e=>{var t;throw t=e=(0,G.$b)(e),J.add(t),e}))}}getResultsFromLink(e,{queryInfo:t,cacheWriteBehavior:r,observableQuery:i,exposeExtensions:n}){let{errorPolicy:s}=e,o=this.cache.transformForLink(e.query);return this.getObservableFromLink(o,e.context,e.variables,e.fetchPolicy).observable.pipe((0,a.T)(a=>{let l=t.markQueryResult(a,{...e,document:o,cacheWriteBehavior:r}),u=el(l);if(u&&"none"===s)throw t.resetLastWrite(),i?.resetNotifications(),new Y(eL(l));let c={data:l.data,...t.hasNext?{loading:!0,networkStatus:ev.p.streaming,dataState:"streaming",partial:!0}:{dataState:l.data?"complete":"empty",loading:!1,networkStatus:ev.p.ready,partial:!l.data}};return n&&"extensions"in l&&(c[em.X]=l.extensions),u&&("none"===s&&(c.data=void 0,c.dataState="empty"),"ignore"!==s&&(c.error=new Y(eL(l)),"streaming"!==c.dataState&&(c.networkStatus=ev.p.error))),c}),F(e=>{if("none"===s)throw t.resetLastWrite(),i?.resetNotifications(),e;let r={data:void 0,dataState:"empty",loading:!1,networkStatus:ev.p.ready,partial:!0};return"ignore"!==s&&(r.error=e,r.networkStatus=ev.p.error),(0,R.of)(r)}))}fetchObservableWithInfo(e,{networkStatus:t=ev.p.loading,query:r=e.query,fetchQueryOperator:i=e=>e,onCacheHit:n=()=>{},observableQuery:s,exposeExtensions:a}){let o,u,c=this.getVariables(r,e.variables),{fetchPolicy:h="cache-first",errorPolicy:f="none",returnPartialData:m=!1,notifyOnNetworkStatusChange:y=!0,context:v={}}=e;this.prioritizeCacheValues&&("network-only"===h||"cache-and-network"===h)&&(h="cache-first");let b=Object.assign({},e,{query:r,variables:c,fetchPolicy:h,errorPolicy:f,returnPartialData:m,notifyOnNetworkStatusChange:y,context:v}),g=new eF(this,s),E=r=>{b.variables=r;let o="no-cache"===h?0:t===ev.p.refetch&&"merge"!==b.refetchWritePolicy?1:2,l=this.fetchQueryByPolicy(b,{queryInfo:g,cacheWriteBehavior:o,onCacheHit:n,observableQuery:s,exposeExtensions:a});return l.observable=l.observable.pipe(i),"standby"!==b.fetchPolicy&&s?.applyNextFetchPolicy("after-fetch",e),l},w=()=>{this.fetchCancelFns.delete(g.id)};this.fetchCancelFns.set(g.id,e=>{k.next({kind:"E",error:e,source:"network"})});let k=new L.B;if(this.getDocumentInfo(b.query).hasClientExports)d.g&&(0,l.V1)(this.localState,98,(0,p.n)(b.query,"(anonymous)")),o=(0,C.H)(this.localState.getExportedVariables({client:this.client,document:b.query,variables:b.variables,context:b.context})).pipe(D(e=>E(e).observable)),u=!0;else{let e=E(b.variables);u=e.fromLink,o=e.observable}return{observable:new T.c(e=>{e.add(w),o.subscribe(e),k.subscribe(e)}).pipe((0,P.u)()),fromLink:u}}refetchQueries({updateCache:e,include:t,optimistic:r=!1,removeOptimistic:i=r?(0,ey.v)("refetchQueries"):void 0,onQueryUpdated:n}){let s=new Map;t&&this.getObservableQueries(t).forEach(e=>{if("cache-only"===e.options.fetchPolicy||e.variablesUnknown)return;let t=e.getCurrentResult();s.set(e,{oq:e,lastDiff:{result:t?.data,complete:!t?.partial}})});let a=new Map;if(e){let t=new Set;this.cache.batch({update:e,optimistic:r&&i||!1,removeOptimistic:i,onWatchUpdated(e,r,i){let o=e.watcher;if(o instanceof eN&&!t.has(o)){if(t.add(o),n){s.delete(o);let e=n(o,r,i);return!0===e&&(e=o.refetch().retain()),!1!==e&&a.set(o,e),e}null!==n&&"cache-only"!==o.options.fetchPolicy&&s.set(o,{oq:o,lastDiff:i,diff:r})}}})}return s.size&&s.forEach(({oq:e,lastDiff:t,diff:r})=>{let i;n&&(r||(r=e.getCacheDiff()),i=n(e,r,t)),n&&!0!==i||(i=e.refetch().retain()),!1!==i&&a.set(e,i)}),i&&this.cache.removeOptimistic(i),a}noCacheWarningsByCause=new WeakSet;maskOperation(e){var t,r;let i,{document:n,data:s}=e;if(d.g){let t,{fetchPolicy:i,cause:s={}}=e,a=(0,H.V)(n)?.operation;this.dataMasking&&"no-cache"===i&&(r=n,t=!0,(0,b.YR)(r,{FragmentSpread:e=>{if(!(t=!!e.directives&&e.directives.some(e=>"unmask"===e.name.value)))return b.sP}}),!t)&&!this.noCacheWarningsByCause.has(s)&&(this.noCacheWarningsByCause.add(s),d.g&&l.V1.warn(99,(0,p.n)(n,`Unnamed ${a??"operation"}`)))}return this.dataMasking?(t=this.cache,i=(0,H.V)(n),((0,l.V1)(i,43),null==s)?s:ei(s,i.selectionSet,{operationType:i.operation,operationName:i.name?.value,fragmentMap:(0,X.J)((0,Z.z)(n)),cache:t,mutableTargets:new WeakMap,knownChanged:new WeakSet})):s}maskFragment(e){var t,r;let i,n,{data:s,fragment:a,fragmentName:o}=e;return this.dataMasking?(t=this.cache,r=o,i=a.definitions.filter(e=>e.kind===O.b.FRAGMENT_DEFINITION),void 0===r&&((0,l.V1)(1===i.length,41,i.length),r=i[0].name.value),n=i.find(e=>e.name.value===r),((0,l.V1)(!!n,42,r),null==s||(0,en.L)(s,{}))?s:ei(s,n.selectionSet,{operationType:"fragment",operationName:n.name.value,fragmentMap:(0,X.J)((0,Z.z)(a)),cache:t,mutableTargets:new WeakMap,knownChanged:new WeakSet})):s}fetchQueryByPolicy({query:e,variables:t,fetchPolicy:r,errorPolicy:i,returnPartialData:n,context:s},{cacheWriteBehavior:o,onCacheHit:u,queryInfo:c,observableQuery:h,exposeExtensions:f}){let m=()=>this.cache.diff({query:e,variables:t,returnPartialData:!0,optimistic:!0}),y=(a,o)=>{var c;let h=a.result;d.g&&!n&&null!==h&&(c=a.missing,d.g&&c&&d.g&&l.V1.debug(88,c));let f=e=>(a.complete||n||(e=void 0),{data:e,dataState:a.complete?"complete":e?"partial":"empty",loading:!eo(o),networkStatus:o,partial:!a.complete}),m=e=>(0,R.of)({kind:"N",value:f(e),resolvedVariables:t,source:"cache"});return(a.complete||n)&&this.getDocumentInfo(e).hasForcedResolvers?(d.g&&(0,l.V1)(this.localState,100,(0,p.n)(e,"(anonymous)")),u(),(0,C.H)(this.localState.execute({client:this.client,document:e,remoteResult:h?{data:h}:void 0,context:s,variables:t,onlyRunForcedResolvers:!0,returnPartialData:!0,fetchPolicy:r}).then(e=>({kind:"N",value:f(e.data||void 0),resolvedVariables:t,source:"cache"})))):m("none"===i&&o===ev.p.refetch&&a.missing?void 0:h||void 0)},v=()=>this.getResultsFromLink({query:e,variables:t,context:s,fetchPolicy:r,errorPolicy:i}
1,{cacheWriteBehavior:o,queryInfo:c,observableQuery:h,exposeExtensions:f}).pipe(eV(),(0,x.N)(function(e,t){e.subscribe((0,I._)(t,function(e){t.next(q.createNext(e))},function(){t.next(q.createComplete()),t.complete()},function(e){t.next(q.createError(e)),t.complete()}))}),(0,a.T)(e=>({...e,resolvedVariables:t,source:"network"})));switch(r){default:case"cache-first":{let e=m();if(e.complete)return{fromLink:!1,observable:y(e,ev.p.ready)};if(n)return{fromLink:!0,observable:Q(y(e,ev.p.loading),v())};return{fromLink:!0,observable:v()}}case"cache-and-network":{let e=m();if(e.complete||n)return{fromLink:!0,observable:Q(y(e,ev.p.loading),v())};return{fromLink:!0,observable:v()}}case"cache-only":return{fromLink:!1,observable:Q(y(m(),ev.p.ready))};case"network-only":case"no-cache":return{fromLink:!0,observable:v()};case"standby":return{fromLink:!1,observable:j.w}}}}function eV(){let e=!1;return(0,z.M)({next(){e=!0},complete(){(0,l.V1)(e,101)}})}function eL(e){if(e.extensions?.[em.DH]==null)return e;let{extensions:{[em.DH]:t,...r},...i}=e;return Object.keys(r).length>0&&(i.extensions=r),i}let ej=!1;class eq{link;cache;disableNetworkFetches;set prioritizeCacheValues(e){this.queryManager.prioritizeCacheValues=e}get prioritizeCacheValues(){return this.queryManager.prioritizeCacheValues}version;queryDeduplication;defaultOptions;devtoolsConfig;refetchEventManager;queryManager;devToolsHookCb;resetStoreCallbacks=[];clearStoreCallbacks=[];constructor(e){d.g&&((0,l.V1)(e.cache,68),(0,l.V1)(e.link,69));const{cache:t,documentTransform:r,ssrMode:i=!1,ssrForceFetchDelay:n=0,queryDeduplication:s=!0,defaultOptions:a,defaultContext:o,assumeImmutableResults:c=t.assumeImmutableResults,localState:h,devtools:f,dataMasking:p,link:m,incrementalHandler:y=new u,experiments:v=[],refetchEventManager:b}=e;this.link=m,this.cache=t,this.queryDeduplication=s,this.defaultOptions=a||{},this.devtoolsConfig={...f,enabled:f?.enabled??d.g},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=this.refetchObservableQueries.bind(this),this.version=w.r,this.queryManager=new eP({client:this,defaultOptions:this.defaultOptions,defaultContext:o,documentTransform:r,queryDeduplication:s,ssrMode:i,dataMasking:!!p,clientOptions:e,incrementalHandler:y,assumeImmutableResults:c,onBroadcast:this.devtoolsConfig.enabled?()=>{this.devToolsHookCb&&this.devToolsHookCb()}:void 0,localState:h}),this.prioritizeCacheValues=i||n>0,n&&setTimeout(()=>{this.prioritizeCacheValues=!1},n),this.devtoolsConfig.enabled&&this.connectToDevTools(),v.forEach(t=>t.call(this,e)),this.refetchEventManager=b,this.refetchEventManager?.connect(this)}connectToDevTools(){if("u"<typeof window)return;let e=window,t=Symbol.for("apollo.devtools");if((e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!ej&&d.g){let e;ej=!0;let t=window,r=t.navigator.userAgent;"string"==typeof r&&(r.indexOf("Chrome/")>-1?e="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":r.indexOf("Firefox/")>-1&&(e="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),t.document&&t.top===t.self&&/^(https?|file):$/.test(t.location.protocol)&&e&&setTimeout(()=>{!t.__APOLLO_DEVTOOLS_GLOBAL_HOOK__&&d.g&&l.V1.log("Download the Apollo DevTools for a better development experience: %s",e)},1e4)}}get documentTransform(){return this.queryManager.documentTransform}get localState(){return this.queryManager.localState}set localState(e){this.queryManager.localState=e}stop(){this.queryManager.stop(),this.refetchEventManager?.disconnect(this)}watchQuery(e){let{refetchOn:t}=e;if(this.defaultOptions.watchQuery){let r,i=this.defaultOptions.watchQuery.refetchOn;t&&"object"==typeof t&&("object"==typeof i?r={...i,...t}:null!=i&&(r=e=>{let r=t[e.source]??i;return"function"==typeof r?r(e):r})),e=(0,f.l)(this.defaultOptions.watchQuery,e),r&&(e.refetchOn=r)}if(d.g){let{query:r}=e,{refetchEventManager:i}=this;if(t){let e=(0,p.n)(r,"(anonymous)");i?"object"==typeof t&&Object.keys(t).forEach(t=>{!i.hasSource(t)&&d.g&&l.V1.warn(71,t,e)}):d.g&&l.V1.warn(70,e)}}return this.queryManager.watchQuery(e)}query=e=>(this.defaultOptions.query&&(e=(0,f.l)(this.defaultOptions.query,e)),d.g&&((0,l.V1)("cache-and-network"!==e.fetchPolicy,72),(0,l.V1)("standby"!==e.fetchPolicy,73),(0,l.V1)(e.query,74),(0,l.V1)("Document"===e.query.kind,75),(0,l.V1)(!e.returnPartialData,76),(0,l.V1)(!e.pollInterval,77),(0,l.V1)(!e.notifyOnNetworkStatusChange,78)),this.queryManager.query(e));mutate=e=>{let t=(0,f.l)((0,m.o)({fetchPolicy:"network-only",errorPolicy:"none"},this.defaultOptions.mutate),e);return d.g&&((0,l.V1)(t.mutation,79),(0,l.V1)("network-only"===t.fetchPolicy||"no-cache"===t.fetchPolicy,80)),(0,y.s)(t.mutation,s.cE.MUTATION),this.queryManager.mutate(t)};subscribe(e){let t={},r=this.queryManager.startGraphQLSubscription(e);return Object.assign(r.pipe((0,a.T)(r=>({...r,data:this.queryManager.maskOperation({document:e.query,data:r.data,fetchPolicy:e.fetchPolicy,cause:t})}))),{restart:r.restart})}readQuery(e,t=!!e.optimistic){return this.cache.readQuery({...e,query:this.transform(e.query)},t)}watchFragment(e){let t=this.queryManager.dataMasking,r=this.cache.watchFragment({...e,fragment:this.transform(e.fragment,t)});return d.g?(0,v.Q)(r,Symbol.for("apollo.transform.dev.mask"),t=>({...t,data:this.queryManager.maskFragment({...e,data:t.data})})):r}
1readFragment(e,t=!!e.optimistic){return this.cache.readFragment({...e,fragment:this.transform(e.fragment)},t)}writeQuery(e){let t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}writeFragment(e){let t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t}__actionHookForDevTools(e){this.devToolsHookCb=e}__requestRaw(e){return c(this.link,e,{client:this})}resetStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!1})).then(()=>Promise.all(this.resetStoreCallbacks.map(e=>e()))).then(()=>this.refetchObservableQueries())}clearStore(){return Promise.resolve().then(()=>this.queryManager.clearStore({discardWatches:!0})).then(()=>Promise.all(this.clearStoreCallbacks.map(e=>e())))}onResetStore(e){return this.resetStoreCallbacks.push(e),()=>{this.resetStoreCallbacks=this.resetStoreCallbacks.filter(t=>t!==e)}}onClearStore(e){return this.clearStoreCallbacks.push(e),()=>{this.clearStoreCallbacks=this.clearStoreCallbacks.filter(t=>t!==e)}}reFetchObservableQueries;refetchObservableQueries(e){return this.queryManager.refetchObservableQueries(e)}refetchQueries(e){let t=this.queryManager.refetchQueries(e),r=[],i=[];t.forEach((e,t)=>{r.push(t),i.push(e)});let n=Promise.all(i);return n.queries=r,n.results=i,n.catch(e=>{d.g&&l.V1.debug(81,e)}),n}getObservableQueries(e="active"){return this.queryManager.getObservableQueries(e)}extract(e){return this.cache.extract(e)}restore(e){return this.cache.restore(e)}setLink(e){this.link=e}get defaultContext(){return this.queryManager.defaultContext}maskedFragmentTransform=new h.c(g);transform(e,t=!1){let r=this.queryManager.transform(e);return t?this.maskedFragmentTransform.transformDocument(r):r}}d.g&&(eq.prototype.getMemoryInternals=E.ep)},681:(e,t,r)=>{function i(){}r.d(t,{l:()=>o});let n="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},s="u">typeof WeakMap?WeakMap:Map,a="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:i,unregister:i}};class o{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new s,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{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 n(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))}}},1080:(e,t,r)=>{r.d(t,{Y:()=>s,l:()=>a});var i=r(33470),n=null;function s(e){if(i.$.useDeprecatedSynchronousErrorHandling){var t=!n;if(t&&(n={errorThrown:!1,error:null}),e(),t){var r=n,s=r.errorThrown,a=r.error;if(n=null,s)throw a}}else e()}function a(e){i.$.useDeprecatedSynchronousErrorHandling&&n&&(n.errorThrown=!0,n.error=e)}},3072:(e,t,r)=>{r.d(t,{s:()=>i});var i="function"==typeof Symbol&&Symbol.observable||"@@observable"},4679:(e,t,r)=>{r.d(t,{J:()=>i});function i(e=[]){let t={};
1return e.forEach(e=>{t[e.name.value]=e}),t}},6376:(e,t,r)=>{r.d(t,{_:()=>n});var i=r(32978);function n(e,t,r,i,n){return new s(e,t,r,i,n)}var s=function(e){function t(t,r,i,n,s,a){var o=e.call(this,t)||this;return o.onFinalize=s,o.shouldUnsubscribe=a,o._next=r?function(e){try{r(e)}catch(e){t.error(e)}}:e.prototype._next,o._error=n?function(e){try{n(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,o._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,o}return(0,i.C6)(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var r=this.closed;e.prototype.unsubscribe.call(this),r||null==(t=this.onFinalize)||t.call(this)}},t}(r(12917).vU)},7456:(e,t,r)=>{r.d(t,{T:()=>s});var i=r(17964),n=r(6376);function s(e,t){return(0,i.N)(function(r,i){var s=0;r.subscribe((0,n._)(i,function(r){i.next(e.call(t,r,s++))}))})}},8193:(e,t,r)=>{r.d(t,{T:()=>i});function i(e){return"function"==typeof e}},8262:(e,t,r)=>{r.d(t,{u:()=>i});function i(e){return e.alias?e.alias.value:e.name.value}},9413:(e,t,r)=>{r.d(t,{D:()=>ti});var i=r(83348),n=r(78373),s=r(75016),a=r(13211),o=r(18064);let l={kind:a.b.FIELD,name:{kind:a.b.NAME,value:"__typename"}},u=Object.assign(function(e){return(0,o.YR)(e,{SelectionSet:{enter(e,t,r){if(r&&r.kind===a.b.OPERATION_DEFINITION)return;let{selections:i}=e;if(!(!i||i.some(e=>e.kind===a.b.FIELD&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))))&&!(r.kind===a.b.FIELD&&r.directives&&r.directives.some(e=>"export"===e.name.value)))return{...e,selections:[...i,l]}}}})},{added:e=>e===l});var c=r(64773),h=r(31432),d=r(61829);function f(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}var p=r(54548),m=r(28402),y=r(91182),v=r(681),b=r(75524),g=r(7456),E=r(24055),w=r(27994),k=r(31927),O=r(33379),T=r(17964),S=r(6376);function _(e,t){return e===t}var N=r(16161),x=r(22257),I=r(26855),D=new(r(9832)).q(I.R),C=(r(91374),r(36232)),A=r(84062),R=r(10675),F=r(79004);function M(e,t){let r=t,i=[];return e.definitions.forEach(e=>{if("OperationDefinition"===e.kind)throw(0,y.vA)(10,e.operation,e.name?` named '${e.name.value}'`:"");"FragmentDefinition"===e.kind&&i.push(e)}),void 0===r&&((0,y.V1)(1===i.length,11,i.length),r=i[0].name.value),{...e,definitions:[{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}},...e.definitions]}}class P{assumeImmutableResults=!1;lookupFragment(e){return null}batch(e){let t,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(()=>t=e.update(this),r),t}recordOptimisticTransaction(e,t){this.performTransaction(e,t)}transformDocument(e){return e}transformForLink(e){return e}identify(e){}gc(){return[]}modify(e){return!1}readQuery(e,t=!!e.optimistic){return this.read({...e,rootId:e.id||"ROOT_QUERY",optimistic:t})}fragmentWatches=new b.b(!0);watchFragment(e){let t,{fragment:r,fragmentName:n,from:s}=e,a=this.getFragmentDoc(r,n),o=(Array.isArray(s)?s:[s]).map(e=>{let t=null==e?e:this.toCacheId(e);if(p.g){let e=n||(0,C.E)(r).name.value;void 0===t&&p.g&&y.V1.warn(119,e)}return t});if(!Array.isArray(s)){let t=this.watchSingleFragment(o[0],a,e);return null===s?t:(0,A.Q)(t,Symbol.for("apollo.transform.individualResult"),e=>({...e,data:e.data??{}}))}function l(e){let r=e.reduce((e,t,r)=>(e.data.push(t.data),e.complete&&=t.complete,e.dataState=e.complete?"complete":"partial",t.missing&&(e.missing||={},e.missing[r]=t.missing),e),{data:[],dataState:"complete",complete:!0});return(0,i.L)(t,r)||(t=r),t}if(0===o.length)return q;let u=!1,c=o.map(t=>this.watchSingleFragment(t,a,e));return Object.assign((0===c.length?R.w:new k.c(e=>{let t,{length:r}=c,i=Array(r),n=new Map;c.forEach((e,t)=>{n.has(e)||n.set(e,new Set),n.get(e).add(t)});let s=n.size,a=n.size;n.forEach((r,n)=>{let o=!1,l=n.subscribe({next:s=>{r.forEach(e=>i[e]=s),!o&&(o=!0,a--),!a&&((t||=new Set(c.filter(e=>e.dirty))).delete(n),t.size||(e.next(i.slice()),t=void 0))},complete:()=>{--s||e.complete()},error:e.error.bind(e)});e.add(l)})})).pipe((0,g.T)(l),(0,E.M)({subscribe:()=>u=!0,unsubscribe:()=>u=!1}),(0,w.t)({bufferSize:1,refCount:!0})),{getCurrentResult:()=>u&&t?t:l(c.map(e=>e.getCurrentResult()))})}onAfterBroadcast=e=>e();watchSingleFragment(e,t,r){if(null===e)return L;let{optimistic:i=!0,variables:n}=r,s=[t,(0,h.M)({id:e,optimistic:i,variables:n})],a=this.fragmentWatches.lookupArray(s);if(!a.observable){var o,l;
1let c,h=!1;function u(e){let i=e.result;return c&&(0,F.a)(t,{data:c.data},{data:i},r.variables)||(c={data:i,dataState:e.complete?"complete":"partial",complete:e.complete},e.missing&&(c.missing=e.missing.missing)),c}let d=new k.c(r=>{h=!0;let a=this.watch({variables:n,returnPartialData:!0,id:e,query:t,optimistic:i,immediate:!0,callback:e=>{d.dirty=!0,this.onAfterBroadcast(()=>{r.next(u(e)),d.dirty=!1})}});return()=>{h=!1,a(),this.fragmentWatches.removeArray(s)}}).pipe((void 0===l&&(l=O.D),o=null!=o?o:_,(0,T.N)(function(e,t){var r,i=!0;e.subscribe((0,S._)(t,function(e){var n=l(e);(i||!o(r,n))&&(i=!1,r=n,t.next(e))}))})),(0,N.u)({connector:()=>new x.m(1),resetOnRefCountZero:()=>{var e;return void 0===e&&(e=D),new k.c(function(t){var r=0;r<0&&(r=0);var i=0;return e.schedule(function(){t.closed||(t.next(i++),t.complete())},r)})}}));a.observable=Object.assign(d,{dirty:!1,getCurrentResult:()=>h&&c?c:u(this.diff({id:e,query:t,returnPartialData:!0,optimistic:i,variables:n}))})}return a.observable}getFragmentDoc=(0,n.LV)(M,{max:c.v["cache.fragmentQueryDocuments"]||1e3,cache:v.l,makeCacheKey:function(...e){return n.NS.bind(null,...e)}(this)});readFragment(e,t=!!e.optimistic){let r=void 0!==e.from?this.toCacheId(e.from):e.id;return this.read({...e,query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:r,optimistic:t})}writeQuery({id:e,data:t,...r}){return this.write(Object.assign(r,{dataId:e||"ROOT_QUERY",result:t}))}writeFragment({data:e,fragment:t,fragmentName:r,...i}){let n=void 0!==i.from?this.toCacheId(i.from):i.id;return this.write(Object.assign(i,{query:this.getFragmentDoc(t,r),dataId:n,result:e}))}updateQuery(e,t){return this.batch({update(r){let i=r.readQuery(e),n=t(i);return null==n?i:(r.writeQuery({...e,data:n}),n)}})}updateFragment(e,t){return this.batch({update(r){let i=r.readFragment(e),n=t(i);return null==n?i:(r.writeFragment({...e,data:n}),n)}})}toCacheId(e){return"string"==typeof e?e:this.identify(e)}}p.g&&(P.prototype.getMemoryInternals=m.tQ);let V=Object.freeze({data:null,dataState:"complete",complete:!0}),L=Object.assign(new k.c(e=>{e.next(V)}),{dirty:!1,getCurrentResult:()=>V}),j=Object.freeze({data:[],dataState:"complete",complete:!0}),q=Object.assign(new k.c(e=>{e.next(j)}),{getCurrentResult:()=>j});var U=r(41692);let{hasOwnProperty:B}=Object.prototype,Q=function(e,t,r){return this.merge(e[r],t[r])},z=e=>isNaN(+e)?{}:[];class W{options;reconciler;constructor(e={}){this.options=e,this.reconciler=e.reconciler||Q}merge(e,t,r={}){let i=r.atPath;if(i?.length){let[n,...s]=i;void 0===e&&(e=z(n));let a=e[n];void 0===a&&s.length&&(a=z(s[0]));let o=this.merge(a,t,{...r,atPath:s});return a!==o&&((e=this.shallowCopyForMerge(e))[n]=o),e}return(Array.isArray(e)&&Array.isArray(t)&&"truncate"===this.options.arrayMerge&&e.length>t.length&&(e=e.slice(0,t.length),this.pastCopies.add(e)),(0,U.U)(t)&&(0,U.U)(e))?(Object.keys(t).forEach(r=>{if(B.call(e,r)){let i=e[r];if(t[r]!==i){let n=this.reconciler(e,t,r);n!==i&&((e=this.shallowCopyForMerge(e))[r]=n)}}else(e=this.shallowCopyForMerge(e))[r]=t[r]}),e):t}isObject=U.U;pastCopies=new Set;shallowCopyForMerge(e){return(0,U.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):{__proto__:Object.getPrototypeOf(e),...e},this.pastCopies.add(e)),e}}function $(e){return{__ref:String(e)}}var K=r(36983),Y=r(74180),G=r(58828),J=r(96705),H=r(55936),X=r(8262),Z=r(4679),ee=r(92853);let{hasOwnProperty:et}=Object.prototype;function er({__typename:e,id:t,_id:r},i){if("string"==typeof e&&(i&&(i.keyObject=null!=t?{id:t}:null!=r?{_id:r}:void 0),null==t&&null!=r&&(t=r),null!=t))return`${e}:${"number"==typeof t||"string"==typeof t?t:JSON.stringify(t)}`}let ei={dataIdFromObject:er,resultCaching:!0},en=/^[_a-z][_0-9a-z]*/i;function es(e){let t=e.match(en);return t?t[0]:e}function ea(e){return(0,U.U)(e)&&!f(e)&&!(0,G.c)(e)}function eo(e,t){let r=(0,Z.J)((0,ee.z)(e));return{fragmentMap:r,lookupFragment(e){let i=r[e];return!i&&t&&(i=t.lookup(e)),i||null}}}let el={},eu=()=>el,ec={};class eh{policies;group;data={};constructor(e,t){this.policies=e,this.group=t}toObject(){return{...this.data}}has(e){return void 0!==this.lookup(e,!0)}get(e,t){if(this.group.depend(e,t),et.call(this.data,e)){let r=this.data[e];if(r&&et.call(r,t))return r[t]}return"__typename"===t&&et.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof em?this.parent.get(e,t):void 0}lookup(e,t){return(t&&this.group.depend(e,"__exists"),et.call(this.data,e))?this.data[e]:this instanceof em?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?{}:void 0}merge(e,t){let r;f(e)&&(e=e.__ref),f(t)&&(t=t.__ref);let i="string"==typeof e?this.lookup(r=e):e,n="string"==typeof t?this.lookup(r=t):t;if(!n)return;(0,y.V1)("string"==typeof r,105);let s=new W({reconciler:ev}).merge(i,n);if(this.data[r]=s,s!==i&&(delete this.refs[r],this.group.caching)){let e={};
1i||(e.__exists=1),Object.keys(n).forEach(t=>{if(!i||i[t]!==s[t]){e[t]=1;let r=es(t);r===t||this.policies.hasKeyArgs(s.__typename,r)||(e[r]=1),void 0!==s[t]||this instanceof em||delete s[t]}}),e.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete e.__typename,Object.keys(e).forEach(e=>this.group.dirty(r,e))}}modify(e,t,r){let i=this.lookup(e);if(i){let n={},s=!1,a=!0,o={DELETE:el,INVALIDATE:ec,isReference:f,toReference:this.toReference,canRead:this.canRead,readField:(t,r)=>this.policies.readField("string"==typeof t?{fieldName:t,from:r||$(e)}:t,{store:this})};if(Object.keys(i).forEach(l=>{let u=es(l),c=i[l];if(void 0===c)return;let h="function"==typeof t?t:t[l]||(r?void 0:t[u]);if(h){let t=h===eu?el:h((0,K.G)(c),{...o,fieldName:u,storeFieldName:l,storage:this.getStorage(e,l)});if(t===ec)this.group.dirty(e,l);else if(t===el&&(t=void 0),t!==c&&(n[l]=t,s=!0,c=t,p.g)){let e=e=>{if(void 0===this.lookup(e.__ref))return p.g&&y.V1.warn(106,e),!0};if(f(t))e(t);else if(Array.isArray(t)){let r,i=!1;for(let n of t){if(f(n)){if(i=!0,e(n))break}else if("object"==typeof n&&n){let[e]=this.policies.identify(n);e&&(r=n)}if(i&&void 0!==r){p.g&&y.V1.warn(107,r);break}}}}}void 0!==c&&(a=!1)}),s)return this.merge(e,n),a&&(this instanceof em?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1}delete(e,t,r){let i=this.lookup(e);if(i){let n=this.getFieldValue(i,"__typename"),s=t&&r?this.policies.getStoreFieldName({typename:n,fieldName:t,args:r}):t;return this.modify(e,s?{[s]:eu}:eu,!!r)}return!1}evict(e,t){let r=!1;return e.id&&(et.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof em&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r}clear(){this.replace(null)}extract(){let e=this.toObject(),t=[];return this.getRootIdSet().forEach(e=>{et.call(this.policies.rootTypenamesById,e)||t.push(e)}),t.length&&(e.__META={extraRootIds:t.sort()}),e}replace(e){if(Object.keys(this.data).forEach(t=>{e&&et.call(e,t)||this.delete(t)}),e){let{__META:t,...r}=e;Object.keys(r).forEach(e=>{this.merge(e,r[e])}),t&&t.extraRootIds.forEach(this.retain,this)}}rootIds={};retain(e){return this.rootIds[e]=(this.rootIds[e]||0)+1}release(e){if(this.rootIds[e]>0){let t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0}getRootIdSet(e=new Set){return Object.keys(this.rootIds).forEach(e.add,e),this instanceof em?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e}gc(){let e=this.getRootIdSet(),t=this.toObject();e.forEach(r=>{et.call(t,r)&&(Object.keys(this.findChildRefIds(r)).forEach(e.add,e),delete t[r])});let r=Object.keys(t);if(r.length){let e=this;for(;e instanceof em;)e=e.parent;r.forEach(t=>e.delete(t))}return r}refs={};findChildRefIds(e){if(!et.call(this.refs,e)){let t=this.refs[e]={},r=this.data[e];if(!r)return t;let i=new Set([r]);i.forEach(e=>{f(e)&&(t[e.__ref]=!0),(0,U.U)(e)&&Object.keys(e).forEach(t=>{let r=e[t];(0,U.U)(r)&&i.add(r)})})}return this.refs[e]}makeCacheKey(){return this.group.keyMaker.lookupArray(arguments)}getFieldValue=(e,t)=>(0,K.G)(f(e)?this.get(e.__ref,t):e&&e[t]);canRead=e=>f(e)?this.has(e.__ref):"object"==typeof e;toReference=(e,t)=>{if("string"==typeof e)return $(e);if(f(e))return e;let[r]=this.policies.identify(e);if(r){let i=$(r);return t&&this.merge(r,e),i}};get supportsResultCaching(){return this.group.caching}}class ed{caching;parent;d=null;keyMaker;constructor(e,t=null){this.caching=e,this.parent=t,this.resetCaching()}resetCaching(){this.d=this.caching?(0,n.yN)():null,this.keyMaker=new b.b}depend(e,t){if(this.d){this.d(t+"#"+e);let r=es(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}}dirty(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")}}function ef(e,t){eb(e)&&e.group.depend(t,"__exists")}class ep extends eh{constructor({policies:e,resultCaching:t=!0,seed:r}){super(e,new ed(t)),r&&this.replace(r)}stump=new ey(this);addLayer(e,t){return this.stump.addLayer(e,t)}removeLayer(){return this}storageTrie=new b.b;getStorage(){return this.storageTrie.lookupArray(arguments)}}eh.Root=ep;class em extends eh{id;parent;replay;group;
1constructor(e,t,r,i){super(t.policies,i),this.id=e,this.parent=t,this.replay=r,this.group=i,r(this)}addLayer(e,t){return new em(e,this,t,this.group)}removeLayer(e){let t=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(e=>{let r=this.data[e],n=t.lookup(e);n?r?r!==n&&Object.keys(r).forEach(t=>{(0,i.L)(r[t],n[t])||this.group.dirty(e,t)}):(this.group.dirty(e,"__exists"),Object.keys(n).forEach(t=>{this.group.dirty(e,t)})):this.delete(e)}),t):t===this.parent?this:t.addLayer(this.id,this.replay)}toObject(){return{...this.parent.toObject(),...this.data}}findChildRefIds(e){let t=this.parent.findChildRefIds(e);return et.call(this.data,e)?{...t,...super.findChildRefIds(e)}:t}getStorage(...e){let t=this.parent;for(;t.parent;)t=t.parent;return t.getStorage(...e)}}class ey extends em{constructor(e){super("EntityStore.Stump",e,()=>{},new ed(e.group.caching,e.group))}removeLayer(){return this}merge(e,t){return this.parent.merge(e,t)}}function ev(e,t,r){let n=e[r],s=t[r];return(0,i.L)(n,s)?n:s}function eb(e){return!!(e&&e.supportsResultCaching)}var eg=r(82040),eE=r(97528),ew=r(87455);function ek(e,t){if(e.arguments&&e.arguments.length){let r={};return e.arguments.forEach(({name:e,value:i})=>(0,ew.J)(r,e,i,t)),r}return null}let eO=["connection","include","skip","client","rest","export","nonreactive","stream"],eT=h.M,eS=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){let e=r.connection.filter?r.connection.filter:[];e.sort();let i={};e.forEach(e=>{i[e]=t[e]});let n=eT(i);if("{}"!==n)return`${r.connection.key}(${n})`}return r.connection.key}let i=e;if(t){let e=eT(t);"{}"!==e&&(i+=`(${e})`)}return r&&Object.keys(r).forEach(e=>{-1===eO.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?i+=`@${e}(${eT(r[e])})`:i+=`@${e}`)}),i},{setStringify(e){let t=eT;return eT=e,t}});var e_=r(66319),eN=r(64564);let ex={};function eI(e){let t=JSON.stringify(e);return ex[t]||(ex[t]={})}function eD(e){let t=eI(e);return t.keyFieldsFn||(t.keyFieldsFn=(t,r)=>{let i=(e,t)=>r.readField(t,e),n=r.keyObject=eA(e,e=>{let n=eF(r.storeObject,e,i);return void 0===n&&t!==r.storeObject&&et.call(t,e[0])&&(n=eF(t,e,eR)),(0,y.V1)(void 0!==n,108,e.join("."),t),n});return`${r.typename}:${JSON.stringify(n)}`})}function eC(e){let t=eI(e);return t.keyArgsFn||(t.keyArgsFn=(t,{field:r,variables:i,fieldName:n})=>{let s=JSON.stringify(eA(e,e=>{let n=e[0],s=n.charAt(0);if("@"===s){if(r&&(0,eN.E)(r.directives)){let t=n.slice(1),s=r.directives.find(e=>e.name.value===t),a=s&&ek(s,i);return a&&eF(a,e.slice(1))}return}if("$"===s){let t=n.slice(1);if(i&&et.call(i,t)){let r=e.slice(0);return r[0]=t,eF(i,r)}return}if(t)return eF(t,e)}));return(t||"{}"!==s)&&(n+=":"+s),n})}function eA(e,t){let r=new W;return(function e(t){let r=eI(t);if(!r.paths){let i=r.paths=[],n=[];t.forEach((r,s)=>{(0,G.c)(r)?(e(r).forEach(e=>i.push(n.concat(e))),n.length=0):(n.push(r),(0,G.c)(t[s+1])||(i.push(n.slice(0)),n.length=0))})}return r.paths})(e).reduce((e,i)=>{let n=t(i);if(void 0!==n){for(let e=i.length-1;e>=0;--e)n={[i[e]]:n};e=r.merge(e,n)}return e},{})}function eR(e,t){return e[t]}function eF(e,t,r){return r=r||eR,function e(t){return(0,U.U)(t)?(0,G.c)(t)?t.map(e):eA(Object.keys(t).sort(),e=>eF(t,e)):t}(t.reduce(function e(t,i){return(0,G.c)(t)?t.map(t=>e(t,i)):t&&r(t,i)},e))}let eM=new n.DX,eP=new WeakMap;function eV(e){let t=eP.get(e);return t||eP.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function eL(e){eV(e).vars.forEach(t=>t.forgetCache(e))}function ej(e){let t=new Set,r=new Set,i=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(e=>{var t;eV(e).dep.dirty(i),(t=e).broadcastWatches&&t.broadcastWatches()});let n=Array.from(r);r.clear(),n.forEach(t=>t(e))}}else{let e=eM.getValue();e&&(n(e),eV(e).dep(i))}return e};i.onNextChange=e=>(r.add(e),()=>{r.delete(e)});let n=i.attachCache=e=>(t.add(e),eV(e).vars.add(i),i);return i.forgetCache=e=>t.delete(e),i}function eq(e){return void 0!==e.args?e.args:e.field?ek(e.field,e.variables):null}let eU=()=>void 0,eB=(e,t)=>t.fieldName,eQ=(e,t,{mergeObjects:r})=>r(e,t),ez=(e,t)=>t,eW=(e,t,{streamFieldInfo:r,existingData:i})=>{if(!e&&!i)return t;let n=[],s=e??i,a=r?.isLastChunk?t.length:Math.max(s.length,t.length);for(let e=0;e<a;e++)n[e]=void 0===t[e]?s[e]:t[e];return n};class e${config;typePolicies={};toBeAdded={};supertypeMap=new Map;fuzzySubtypes=new Map;cache;rootIdsByTypename={};rootTypenamesById={};usingPossibleTypes=!1;constructor(e){this.config=e,this.config={dataIdFromObject:er,...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)}identify(e,t){let r,i=this,n=t&&(t.typename||t.storeObject?.__typename)||e.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];let s=t&&t.storeObject||e,a={...t,typename:n,storeObject:s,readField:t&&t.readField||((...e)=>{let t=eY(e,s);return i.readField(t,{store:i.cache.data,variables:t.variables})})},o=n&&this.getTypePolicy(n),l=o&&o.keyFn||this.config.dataIdFromObject;return eg.y.withValue(!0,()=>{for(;l;){let t=l({...e,...s},a);if((0,G.c)(t))l=eD(t);else{r=t;break}}}),r=r?String(r):void 0,a.keyObject?[r,a.keyObject]:[r]}addTypePolicies(e){Object.keys(e).forEach(t=>{let{queryType:r,mutationType:i,subscriptionType:n,...s}=e[t];r&&this.setRootTypename("Query",t),i&&this.setRootTypename("Mutation",t),n&&this.setRootTypename("Subscription",t),et.call(this.toBeAdded,t)?this.toBeAdded[t].push(s):this.toBeAdded[t]=[s]})}updateTypePolicy(e,t,r){let i=this.getTypePolicy(e),{keyFields:n,fields:s}=t;function a(e,t){e.merge="function"==typeof t?t:!0===t?eQ:!1===t?ez:e.merge}a(i,t.merge),i.keyFn=!1===n?eU:(0,G.c)(n)?eD(n):"function"==typeof n?n:i.keyFn,s&&Object.keys(s).forEac
1h(t=>{let i=r[t];i&&i?.typename===e||(i=r[t]={typename:e});let n=s[t];if("function"==typeof n)i.read=n;else{let{keyArgs:e,read:t,merge:r}=n;i.keyFn=!1===e?eB:(0,G.c)(e)?eC(e):"function"==typeof e?e:i.keyFn,"function"==typeof t&&(i.read=t),a(i,r)}i.read&&i.merge&&(i.keyFn=i.keyFn||eB)})}setRootTypename(e,t=e){let r="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[r];t!==i&&((0,y.V1)(!i||i===e,109,e),i&&delete this.rootIdsByTypename[i],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)}addPossibleTypes(e){this.usingPossibleTypes=!0,Object.keys(e).forEach(t=>{this.getSupertypeSet(t,!0),e[t].forEach(e=>{this.getSupertypeSet(e,!0).add(t);let r=e.match(en);r&&r[0]===e||this.fuzzySubtypes.set(e,new RegExp(e))})})}getTypePolicy(e){if(!et.call(this.typePolicies,e)){let t=this.typePolicies[e]={};t.fields={};let r=this.supertypeMap.get(e);!r&&this.fuzzySubtypes.size&&(r=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((t,i)=>{if(t.test(e)){let e=this.supertypeMap.get(i);e&&e.forEach(e=>r.add(e))}})),r&&r.size&&r.forEach(e=>{let{fields:r,...i}=this.getTypePolicy(e);Object.assign(t,i),Object.assign(t.fields,r)})}let t=this.toBeAdded[e];return t&&t.length&&t.splice(0).forEach(t=>{this.updateTypePolicy(e,t,this.typePolicies[e].fields)}),this.typePolicies[e]}getFieldPolicy(e,t){if(e)return this.getTypePolicy(e).fields[t]}getSupertypeSet(e,t){let r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r}fragmentMatches(e,t,r,i){if(!e.typeCondition)return!0;if(!t)return!1;let n=e.typeCondition.name.value;if(t===n)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(n)){let s=this.getSupertypeSet(t,!0),a=[s],o=e=>{let t=this.getSupertypeSet(e,!1);t&&t.size&&0>a.indexOf(t)&&a.push(t)},l=!!(r&&this.fuzzySubtypes.size),u=!1;for(let c=0;c<a.length;++c){let h=a[c];if(h.has(n))return s.has(n)||(u&&p.g&&y.V1.warn(110,t,n),s.add(n)),!0;h.forEach(o),l&&c===a.length-1&&function e(t,r,i){return!!(0,U.U)(r)&&((0,G.c)(r)?r.every(r=>e(t,r,i)):t.selections.every(t=>{if((0,J.d)(t)&&(0,H.M)(t,i)){let n=(0,X.u)(t);return et.call(r,n)&&(!t.selectionSet||e(t.selectionSet,r[n],i))}return!0}))}(e.selectionSet,r,i)&&(l=!1,u=!0,this.fuzzySubtypes.forEach((e,r)=>{let i=t.match(e);i&&i[0]===t&&o(r)}))}}return!1}hasKeyArgs(e,t){let r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)}getStoreFieldName(e){var t,r;let i,n,s,{typename:a,fieldName:o}=e,l=this.getFieldPolicy(a,o),u=l&&l.keyFn;if(u&&a){let t={typename:a,fieldName:o,field:e.field||null,variables:e.variables},r=eq(e);for(;u;){let e=u(r,t);if((0,G.c)(e))u=eC(e);else{i=e||o;break}}}return(void 0===i&&(i=e.field?(t=e.field,r=e.variables,n=null,t.directives&&(n={},t.directives.forEach(e=>{n[e.name.value]={},e.arguments&&e.arguments.forEach(({name:t,value:i})=>(0,ew.J)(n[e.name.value],t,i,r))})),s=null,t.arguments&&t.arguments.length&&(s={},t.arguments.forEach(({name:e,value:t})=>(0,ew.J)(s,e,t,r))),eS(t.name.value,s,n)):eS(o,eq(e))),!1===i)?o:o===es(i)?i:o+":"+i}readField(e,t){let r=e.from;if(!r||!(e.field||e.fieldName))return;if(void 0===e.typename){let i=t.store.getFieldValue(r,"__typename");i&&(e.typename=i)}let i=this.getStoreFieldName(e),n=es(i),s=t.store.getFieldValue(r,i),a=this.getFieldPolicy(e.typename,n),o=a&&a.read;if(o){let n=eK(this,r,e,t,t.store.getStorage(f(r)?r.__ref:r,i));return eM.withValue(this.cache,o,[s,n])}return s}getReadFunction(e,t){let r=this.getFieldPolicy(e,t);return r&&r.read}getMergeFunction(e,t,r){let i=this.getFieldPolicy(e,t),n=i&&i.merge;return!n&&r&&(n=(i=this.getTypePolicy(r))&&i.merge),n}runMergeFunction(e,t,{field:r,typename:n,merge:s,path:a},o,l){let u=e;if(s===eQ)return eG(o.store)(e,t);if(s===ez)return t;o.overwrite&&(e=void 0);let c=o.extensions?.[eE.DH]?.deref()?.peekArray(a);if(c){let{current:e,previous:r}=c;if(r&&(0,i.L)(r.incoming,t)&&(0,i.L)(r.streamFieldInfo,e))return r.result}let h=s(e,t,function(e,t,r,i,n,s){let a={...eK(e,t,r,i,n),extensions:i.extensions,existingData:s},o=i.extensions;if(o&&eE.DH in o){let{[eE.DH]:e,...t}=o,i=e?.deref()?.peekArray(r.path);i&&(a.streamFieldInfo=i.current),a.extensions=0===Object.keys(t).length?void 0:t}return a}(this,void 0,{typename:n,fieldName:r.name.value,field:r,variables:o.variables,path:a},o,l||{},u));return c&&(c.previous={incoming:t,streamFieldInfo:c.current,result:h}),h}}function eK(e,t,r,i,n){let s=e.getStoreFieldName(r),a=es(s),o=r.variables||i.variables,{toReference:l,canRead:u}=i.store;return{args:eq(r),field:r.field||null,fieldName:a,storeFieldName:s,variables:o,isReference:f,toReference:l,storage:n,cache:e.cache,canRead:u,readField:(...r)=>e.readField(eY(r,t,o),i),mergeObjects:eG(i.store)}}
1function eY(e,t,r){let i,{0:n,1:s,length:a}=e;return"string"==typeof n?i={fieldName:n,from:a>1?s:t}:(i={...n},et.call(i,"from")||(i.from=t)),p.g&&void 0===i.from&&p.g&&y.V1.warn(111,(0,e_.p)(Array.from(e))),void 0===i.variables&&(i.variables=r),i}function eG(e){return function(t,r){if((0,G.c)(t)||(0,G.c)(r))throw(0,y.vA)(112);if((0,U.U)(t)&&(0,U.U)(r)){let i=e.getFieldValue(t,"__typename"),n=e.getFieldValue(r,"__typename");if(i&&n&&i!==n)return r;if(f(t)&&ea(r))return e.merge(t.__ref,r),t;if(ea(t)&&f(r))return e.merge(t,r.__ref),r;if(ea(t)&&ea(r))return{...t,...r}}return r}}var eJ=r(80188),eH=r(36458),eX=r(98553),eZ=r(56769);class e0 extends Error{message;path;query;variables;constructor(e,t,r,i){if(super(e),this.message=e,this.path=t,this.query=r,this.variables=i,this.name="MissingFieldError",Array.isArray(this.path)){this.missing=this.message;for(let e=this.path.length-1;e>=0;--e)this.missing={[this.path[e]]:this.missing}}else this.missing=this.path;this.__proto__=e0.prototype}missing}function e1(e){return[e.selectionSet,e.objectOrReference,e.context]}class e8{executeSelectionSet;executeSubSelectedArray;config;knownResults=new WeakMap;constructor(e){this.config=e,this.executeSelectionSet=(0,n.LV)(e=>{let t=e1(e),r=this.executeSelectionSet.peek(...t);return r||(ef(e.context.store,e.enclosingRef.__ref),this.execSelectionSetImpl(e))},{max:c.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:e1,makeCacheKey(e,t,r){if(eb(r.store))return r.store.makeCacheKey(e,f(t)?t.__ref:t,r.varString)}}),this.executeSubSelectedArray=(0,n.LV)(e=>(ef(e.context.store,e.enclosingRef.__ref),this.execSubSelectedArrayImpl(e)),{max:c.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey({field:e,array:t,context:r}){if(eb(r.store))return r.store.makeCacheKey(e,t,r.varString)}})}diffQueryAgainstStore({store:e,query:t,rootId:r="ROOT_QUERY",variables:i,returnPartialData:n=!0}){let s,a=this.config.cache.policies;i=(0,Y.o)((0,eJ.w)((0,eH.A)(t)),i);let o=$(r),l=this.executeSelectionSet({selectionSet:(0,eX.V)(t).selectionSet,objectOrReference:o,enclosingRef:o,context:{store:e,query:t,policies:a,variables:i,varString:(0,h.M)(i),...eo(t,this.config.fragments)}});l.missing&&(s=new e0(function(e){try{JSON.stringify(e,(e,t)=>{if("string"==typeof t)throw t;return t})}catch(e){return e}}(l.missing),l.missing,t,i));let u=!s,{result:c}=l;return{result:u?c:n?0===Object.keys(c).length?null:c:null,complete:u,missing:s}}isFresh(e,t,r,i){if(eb(i.store)&&this.knownResults.get(e)===r){let n=this.executeSelectionSet.peek(r,t,i);if(n&&e===n.result)return!0}return!1}execSelectionSetImpl({selectionSet:e,objectOrReference:t,enclosingRef:r,context:i}){let n;if(f(t)&&!i.policies.rootTypenamesById[t.__ref]&&!i.store.has(t.__ref))return{result:{},missing:`Dangling reference to missing ${t.__ref} object`};let{variables:s,policies:o,store:l}=i,c=l.getFieldValue(t,"__typename"),h=[],d=new W;function p(e,t){return e.missing&&(n=d.merge(n,{[t]:e.missing})),e.result}"string"!=typeof c||o.rootIdsByTypename[c]||h.push({__typename:c});let m=new Set(e.selections);m.forEach(e=>{if((0,H.M)(e,s))if((0,J.d)(e)){let s=o.readField({fieldName:e.name.value,field:e,variables:i.variables,from:t},i),a=(0,X.u)(e);void 0===s?u.added(e)||(n=d.merge(n,{[a]:`Can't find field '${e.name.value}' on ${f(t)?t.__ref+" object":"object "+JSON.stringify(t,null,2)}`})):(0,G.c)(s)?s.length>0&&(s=p(this.executeSubSelectedArray({field:e,array:s,enclosingRef:r,context:i}),a)):e.selectionSet&&null!=s&&(s=p(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:s,enclosingRef:f(s)?s:r,context:i}),a)),void 0!==s&&h.push({[a]:s})}else{let t=(0,eZ.H)(e,i.lookupFragment);if(!t&&e.kind===a.b.FRAGMENT_SPREAD)throw(0,y.vA)(113,e.name.value);t&&o.fragmentMatches(t,c)&&t.selectionSet.selections.forEach(m.add,m)}});let v={result:function(e){let t=e[0]||{},r=e.length;if(r>1){let i=new W;for(let n=1;n<r;++n)t=i.merge(t,e[n])}return t}(h),missing:n},b=(0,K.G)(v);return b.result&&this.knownResults.set(b.result,e),b}execSubSelectedArrayImpl({field:e,array:t,enclosingRef:r,context:i}){let n,s=new W;
1function a(e,t){return e.missing&&(n=s.merge(n,{[t]:e.missing})),e.result}return e.selectionSet&&(t=t.filter(e=>void 0===e||i.store.canRead(e))),{result:t=t.map((t,n)=>null===t?null:(0,G.c)(t)?a(this.executeSubSelectedArray({field:e,array:t,enclosingRef:r,context:i}),n):e.selectionSet?a(this.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:t,enclosingRef:f(t)?t:r,context:i}),n):(p.g&&function(e,t,r){if(!t.selectionSet){let i=new Set([r]);i.forEach(r=>{(0,U.U)(r)&&((0,y.V1)(!f(r),114,f(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(i.add,i))})}}(i.store,e,t),t)),missing:n}}}var e3=r(48987);let{toString:e4}=Object.prototype;function e2(e,t,r){let i=`${t}${r}`,n=e.flavors.get(i);return n||e.flavors.set(i,n=e.clientOnly===t&&e.deferred===r?e:{...e,clientOnly:t,deferred:r}),n}class e5{cache;reader;fragments;constructor(e,t,r){this.cache=e,this.reader=t,this.fragments=r}writeToStore(e,t){let{query:r,result:n,dataId:s,variables:a,overwrite:o,extensions:l}=t,u=(0,e3.V)(r),c=new W,d={store:e,written:{},merge:(e,t)=>c.merge(e,t),variables:a={...(0,eJ.w)(u),...a},varString:(0,h.M)(a),...eo(r,this.fragments),overwrite:!!o,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,extensions:l},m=this.processSelectionSet({result:n||{},dataId:s,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:d,path:[]});if(!f(m))throw(0,y.vA)(115,n);return d.incomingById.forEach((t,r)=>{let{storeObject:n,mergeTree:s,fieldNodeSet:a}=t,o=$(r);if(s&&s.map.size){let e=this.applyMerges(s,o,n,d);if(f(e))return;n=e}if(p.g&&!d.overwrite){let e={};a.forEach(t=>{t.selectionSet&&(e[t.name.value]=!0)}),Object.keys(n).forEach(t=>{let r;!0!==e[es(t)]||(r=s&&s.map.get(t))&&r.info&&r.info.merge||function(e,t,r,n){let s=e=>{let t=n.getFieldValue(e,r);return"object"==typeof t&&t},a=s(e);if(!a)return;let o=s(t);if(!o||f(a)||(0,i.L)(a,o)||Object.keys(a).every(e=>void 0!==n.getFieldValue(o,e)))return;let l=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),u=es(r),c=`${l}.${u}`;if(tt.has(c))return;tt.add(c);let h=[];(0,G.c)(a)||(0,G.c)(o)||[a,o].forEach(e=>{let t=n.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),p.g&&y.V1.warn(118,u,l,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",c,Array.isArray(a)?[...a]:{...a},Array.isArray(o)?[...o]:{...o})}(o,n,t,d.store)})}e.merge(r,n)}),e.retain(m.__ref),m}processSelectionSet(e){let{dataId:t,result:r,selectionSet:i,context:n,mergeTree:s,path:a}=e,{policies:o}=this.cache,l={},c=t&&o.rootTypenamesById[t]||tr(r,i,n.fragmentMap)||t&&n.store.get(t,"__typename");"string"==typeof c&&(l.__typename=c);let h=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=eY(t,l,n.variables);if(f(i.from)){let e=n.incomingById.get(i.from.__ref);if(e){let t=o.readField({...i,from:e.storeObject},n);if(void 0!==t)return t}}return o.readField(i,n)},d=new Set;this.flattenFields(i,r,n,c).forEach((e,t)=>{let i=r[(0,X.u)(t)],n=[...a,t.name.value];if(d.add(t),void 0!==i){var m;let r,a=o.getStoreFieldName({typename:c,fieldName:t.name.value,field:t,variables:e.variables}),u=e7(s,a),d=this.processFieldValue(i,t,t.selectionSet?e2(e,!1,!1):e,u,n);t.selectionSet&&(f(d)||ea(d))&&(r=h("__typename",d));let p=o.getMergeFunction(c,t.name.value,r);p?u.info={field:t,typename:c,merge:p,path:n}:e.extensions?.[eE.DH]&&Array.isArray(d)&&(m=t).directives&&m.directives.some(e=>"stream"===e.name.value)?u.info={field:t,typename:c,merge:eW,path:n}:te(s,a),l=e.merge(l,{[a]:d})}else!p.g||e.clientOnly||e.deferred||u.added(t)||o.getReadFunction(c,t.name.value)||y.V1.error(116,(0,X.u)(t),r)});try{let[e,s]=o.identify(r,{typename:c,selectionSet:i,fragmentMap:n.fragmentMap,storeObject:l,readField:h});t=t||e,s&&(l=n.merge(l,s))}catch(e){if(!t)throw e}if("string"==typeof t){let e=$(t),a=n.written[t]||(n.written[t]=[]);if(a.indexOf(i)>=0||(a.push(i),this.reader&&this.reader.isFresh(r,e,i,n)))return e;let o=n.incomingById.get(t);return o?(o.storeObject=n.merge(o.storeObject,l),o.mergeTree=function e(t,r){if(t===r||!r||e6(r))return t;if(!t||e6(t))return r;let i=t.info&&r.info?{...t.info,...r.info}:t.info||r.info,n=t.map.size&&r.map.size,s={info:i,map:n?new Map:t.map.size?t.map:r.map};if(n){let i=new Set(r.map.keys());
1t.map.forEach((t,n)=>{s.map.set(n,e(t,r.map.get(n))),i.delete(n)}),i.forEach(i=>{s.map.set(i,e(r.map.get(i),t.map.get(i)))})}return s}(o.mergeTree,s),d.forEach(e=>o.fieldNodeSet.add(e))):n.incomingById.set(t,{storeObject:l,mergeTree:e6(s)?void 0:s,fieldNodeSet:d}),e}return l}processFieldValue(e,t,r,i,n){return t.selectionSet&&null!==e?(0,G.c)(e)?e.map((e,s)=>{let a=this.processFieldValue(e,t,r,e7(i,s),[...n,s]);return te(i,s),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:i,path:n}):p.g?function e(t,r){switch(e4.call(t)){case"[object Array]":{if((r=r||new Map).has(t))return r.get(t);let i=t.slice(0);return 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);let i=Object.create(Object.getPrototypeOf(t));return r.set(t,i),Object.keys(t).forEach(n=>{i[n]=e(t[n],r)}),i}default:return t}}(e):e}flattenFields(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:tr(t,e,r.fragmentMap),n=new Map,{policies:s}=this.cache,o=new b.b(!1);return!function e(l,u){let c=o.lookup(l,u.clientOnly,u.deferred);c.visited||(c.visited=!0,l.selections.forEach(o=>{if(!(0,H.M)(o,r.variables))return;let{clientOnly:l,deferred:c}=u;if(!(l&&c)&&(0,eN.E)(o.directives)&&o.directives.forEach(e=>{let t=e.name.value;if("client"===t&&(l=!0),"defer"===t){let t=ek(e,r.variables);t&&!1===t.if||(c=!0)}}),(0,J.d)(o)){let e=n.get(o);e&&(l=l&&e.clientOnly,c=c&&e.deferred),n.set(o,e2(r,l,c))}else{let n=(0,eZ.H)(o,r.lookupFragment);if(!n&&o.kind===a.b.FRAGMENT_SPREAD)throw(0,y.vA)(117,o.name.value);n&&s.fragmentMatches(n,i,t,r.variables)&&e(n.selectionSet,e2(r,l,c))}}))}(e,r),n}applyMerges(e,t,r,i,n){if(e.map.size&&!f(r)){let s,a=!(0,G.c)(r)&&(f(t)||ea(t))?t:void 0,o=r;a&&!n&&(n=[f(a)?a.__ref:a]);let l=(e,t)=>(0,G.c)(e)?"number"==typeof t?e[t]:void 0:i.store.getFieldValue(e,String(t));e.map.forEach((e,t)=>{let r=l(a,t),u=l(o,t);if(void 0===u)return;n&&n.push(t);let c=this.applyMerges(e,r,u,i,n);c!==u&&(s=s||new Map).set(t,c),n&&(0,y.V1)(n.pop()===t)}),s&&(r=(0,G.c)(o)?o.slice(0):{...o},s.forEach((e,t)=>{r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,i,n&&i.store.getStorage(...n)):r}}let e9=[];function e7(e,t){let{map:r}=e;return r.has(t)||r.set(t,e9.pop()||{map:new Map}),r.get(t)}function e6(e){return!e||!(e.info||e.map.size)}function te(e,t){let{map:r}=e,i=r.get(t);i&&e6(i)&&(e9.push(i),r.delete(t))}let tt=new Set;function tr(e,t,r){let i;for(let r of t.selections)if((0,J.d)(r)){if("__typename"===r.name.value)return e[(0,X.u)(r)]}else i?i.push(r):i=[r];if("string"==typeof e.__typename)return e.__typename;if(i)for(let t of i){let i=tr(e,(0,eZ.H)(t,r).selectionSet,r);if("string"==typeof i)return i}}class ti extends P{data;optimisticData;config;watches=new Set;storeReader;storeWriter;addTypenameTransform=new s.c(u);maybeBroadcastWatch;assumeImmutableResults=!0;policies;makeVar=ej;constructor(e={}){super(),this.config=function(e){return(0,Y.o)(ei,e)}(e),this.policies=new e$({cache:this,dataIdFromObject:this.config.dataIdFromObject,possibleTypes:this.config.possibleTypes,typePolicies:this.config.typePolicies}),this.init()}init(){let e=this.data=new eh.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()}resetResultCache(){let{fragments:e}=this.config;this.addTypenameTransform.resetCache(),e?.resetCaches(),this.storeWriter=new e5(this,this.storeReader=new e8({cache:this,fragments:e}),e),this.maybeBroadcastWatch=(0,n.LV)((e,t)=>this.broadcastWatch(e,t),{max:c.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:e=>{let t=e.optimistic?this.optimisticData:this.data;if(eb(t)){let{optimistic:r,id:i,variables:n}=e;return t.makeCacheKey(e.query,e.callback,(0,h.M)({optimistic:r,id:i,variables:n}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(e=>e.resetCaching())}restore(e){return this.init(),e&&this.data.replace(e),this}extract(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(e?this.optimisticData:this.data).extract()}read(e){let{returnPartialData:t=!1}=e;return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:t}).result}write(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}modify(e){if(et.call(e,"id")&&!e.id)return!1;let t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields,!1)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}diff(e){return this.storeReader.diffQueryAgainstStore({...e,store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config})}watch(e){var t;
1return this.watches.size||(t=this,eV(t).vars.forEach(e=>e.attachCache(t))),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),()=>{this.watches.delete(e)&&!this.watches.size&&eL(this),this.maybeBroadcastWatch.forget(e)}}gc(e){h.M.reset(),d.y.reset();let t=this.optimisticData.gc();return e&&!this.txCount&&e.resetResultCache&&this.resetResultCache(),t}retain(e,t){return(t?this.optimisticData:this.data).retain(e)}release(e,t){return(t?this.optimisticData:this.data).release(e)}identify(e){if(f(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){p.g&&y.V1.warn(e)}}evict(e){if(!e.id){if(et.call(e,"id"))return!1;e={...e,id:"ROOT_QUERY"}}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}}reset(e){return this.init(),h.M.reset(),e&&e.discardWatches?(this.watches.forEach(e=>this.maybeBroadcastWatch.forget(e)),this.watches.clear(),eL(this)):this.broadcastWatches(),Promise.resolve()}removeOptimistic(e){let t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())}txCount=0;batch(e){let t,{update:r,optimistic:i=!0,removeOptimistic:n,onWatchUpdated:s}=e,a=e=>{let{data:i,optimisticData:n}=this;++this.txCount,e&&(this.data=this.optimisticData=e);try{return t=r(this)}finally{--this.txCount,this.data=i,this.optimisticData=n}},o=new Set;return s&&!this.txCount&&this.broadcastWatches({...e,onWatchUpdated:e=>
1(o.add(e),!1)}),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,a):!1===i?a(this.data):a(),"string"==typeof n&&(this.optimisticData=this.optimisticData.removeLayer(n)),s&&o.size?(this.broadcastWatches({...e,onWatchUpdated(e,t){let r=s.call(this,e,t);return!1!==r&&o.delete(e),r}}),o.size&&o.forEach(e=>this.maybeBroadcastWatch.dirty(e))):this.broadcastWatches(e),t}performTransaction(e,t){return this.batch({update:e,optimistic:t||null!==t})}transformDocument(e){return this.addTypenameTransform.transformDocument(this.addFragmentsToDocument(e))}fragmentMatches(e,t){return this.policies.fragmentMatches(e,t)}lookupFragment(e){return this.config.fragments?.lookup(e)||null}resolvesClientField(e,t){return!!this.policies.getReadFunction(e,t)}broadcastWatches(e){if(!this.txCount){let t=this.onAfterBroadcast,r=new Set;this.onAfterBroadcast=e=>{r.add(e)};try{this.watches.forEach(t=>this.maybeBroadcastWatch(t,e)),r.forEach(e=>e())}finally{this.onAfterBroadcast=t}}}addFragmentsToDocument(e){let{fragments:t}=this.config;return t?t.transform(e):e}broadcastWatch(e,t){let{lastDiff:r}=e,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,i.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))}}p.g&&(ti.prototype.getMemoryInternals=m.cM)},9702:(e,t,r)=>{r.d(t,{m:()=>a});var i=r(7620),n=r(91182),s=r(92892);function a(e){let t=i.useContext((0,s.l)()),r=e||t.client;return(0,n.V1)(!!r,28),r}},9832:(e,t,r)=>{r.d(t,{q:()=>a});var i=r(32978),n=r(78959),s=function(){function e(t,r){void 0===r&&(r=e.now),this.schedulerActionCtor=t,this.now=r}return e.prototype.schedule=function(e,t,r){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(r,t)},e.now=n.U.now,e}(),a=function(e){function t(t,r){void 0===r&&(r=s.now);var i=e.call(this,t,r)||this;return i.actions=[],i._active=!1,i}return(0,i.C6)(t,e),t.prototype.flush=function(e){var t,r=this.actions;if(this._active)return void r.push(e);this._active=!0;do if(t=e.execute(e.state,e.delay))break;while(e=r.shift());if(this._active=!1,t){for(;e=r.shift();)e.unsubscribe();throw t}},t}(s)},10675:(e,t,r)=>{r.d(t,{w:()=>i});var i=new(r(31927)).c(function(e){return e.complete()})},12917:(e,t,r)=>{r.d(t,{Ms:()=>v,vU:()=>f});var i=r(32978),n=r(8193),s=r(44355),a=r(33470),o=r(41060);function l(){}var u=c("C",void 0,void 0);function c(e,t,r){return{kind:e,value:t,error:r}}var h=r(38360),d=r(1080),f=function(e){function t(t){var r=e.call(this)||this;return r.isStopped=!1,t?(r.destination=t,(0,s.Uv)(t)&&t.add(r)):r.destination=E,r}return(0,i.C6)(t,e),t.create=function(e,t,r){return new v(e,t,r)},t.prototype.next=function(e){this.isStopped?g(c("N",e,void 0),this):this._next(e)},t.prototype.error=function(e){this.isStopped?g(c("E",void 0,e),this):(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped?g(u,this):(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(s.yU),p=Function.prototype.bind;function m(e,t){return p.call(e,t)}var y=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){b(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){b(e)}else b(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){b(e)}},e}(),v=function(e){function t(t,r,i){var s,o,l=e.call(this)||this;return(0,n.T)(t)||!t?s={next:null!=t?t:void 0,error:null!=r?r:void 0,complete:null!=i?i:void 0}:l&&a.$.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return l.unsubscribe()},s={next:t.next&&m(t.next,o),error:t.error&&m(t.error,o),complete:t.complete&&m(t.complete,o)}):s=t,l.destination=new y(s),l}return(0,i.C6)(t,e),t}(f);function b(e){a.$.useDeprecatedSynchronousErrorHandling?(0,d.l)(e):(0,o.m)(e)}function g(e,t){var r=a.$.onStoppedNotification;r&&h.f.setTimeout(function(){return r(e,t)})}var E={closed:!0,next:l,error:function(e){throw e},complete:l}},13211:(e,t,r)=>{var i,n;r.d(t,{b:()=>i}),(n=i||(i={})).NAME="Name",n.DOCUMENT="Document",n.OPERATION_DEFINITION="OperationDefinition",n.VARIABLE_DEFINITION="VariableDefinition",n.SELECTION_SET="SelectionSet",n.FIELD="Field",n.ARGUMENT="Argument",n.FRAGMENT_SPREAD="FragmentSpread",n.INLINE_FRAGMENT="InlineFragment",n.FRAGMENT_DEFINITION="FragmentDefinition",n.VARIABLE="Variable",n.INT="IntValue",n.FLOAT="FloatValue",n.STRING="Str
1ingValue",n.BOOLEAN="BooleanValue",n.NULL="NullValue",n.ENUM="EnumValue",n.LIST="ListValue",n.OBJECT="ObjectValue",n.OBJECT_FIELD="ObjectField",n.DIRECTIVE="Directive",n.NAMED_TYPE="NamedType",n.LIST_TYPE="ListType",n.NON_NULL_TYPE="NonNullType",n.SCHEMA_DEFINITION="SchemaDefinition",n.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",n.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",n.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",n.FIELD_DEFINITION="FieldDefinition",n.INPUT_VALUE_DEFINITION="InputValueDefinition",n.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",n.UNION_TYPE_DEFINITION="UnionTypeDefinition",n.ENUM_TYPE_DEFINITION="EnumTypeDefinition",n.ENUM_VALUE_DEFINITION="EnumValueDefinition",n.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",n.DIRECTIVE_DEFINITION="DirectiveDefinition",n.SCHEMA_EXTENSION="SchemaExtension",n.DIRECTIVE_EXTENSION="DirectiveExtension",n.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",n.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",n.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",n.UNION_TYPE_EXTENSION="UnionTypeExtension",n.ENUM_TYPE_EXTENSION="EnumTypeExtension",n.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",n.TYPE_COORDINATE="TypeCoordinate",n.MEMBER_COORDINATE="MemberCoordinate",n.ARGUMENT_COORDINATE="ArgumentCoordinate",n.DIRECTIVE_COORDINATE="DirectiveCoordinate",n.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"},14155:(e,t,r)=>{r.d(t,{L:()=>i});function i(e){var t=e(function(e){Error.call(e),e.stack=Error().stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}},14455:(e,t,r)=>{r.d(t,{v:()=>n});let i=new Map;function n(e){let t=i.get(e)||1;return i.set(e,t+1),`${e}:${t}:${Math.random().toString(36).slice(2)}`}},16161:(e,t,r)=>{r.d(t,{u:()=>l});var i=r(32978),n=r(37014),s=r(64558),a=r(12917),o=r(17964);function l(e){void 0===e&&(e={});var t=e.connector,r=void 0===t?function(){return new s.B}:t,i=e.resetOnError,l=void 0===i||i,c=e.resetOnComplete,h=void 0===c||c,d=e.resetOnRefCountZero,f=void 0===d||d;return function(e){var t,i,s,c=0,d=!1,p=!1,m=function(){null==i||i.unsubscribe(),i=void 0},y=function(){m(),t=s=void 0,d=p=!1},v=function(){var e=t;y(),null==e||e.unsubscribe()};return(0,o.N)(function(e,o){c++,p||d||m();var b=s=null!=s?s:r();o.add(function(){0!=--c||p||d||(i=u(v,f))}),b.subscribe(o),!t&&c>0&&(t=new a.Ms({next:function(e){return b.next(e)},error:function(e){p=!0,m(),i=u(y,l,e),b.error(e)},complete:function(){d=!0,m(),i=u(y,h),b.complete()}}),(0,n.Tg)(e).subscribe(t))})(e)}}function u(e,t){for(var r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];if(!0===t)return void e();if(!1!==t){var o=new a.Ms({next:function(){o.unsubscribe(),e()}});return(0,n.Tg)(t.apply(void 0,(0,i.fX)([],(0,i.zs)(r)))).subscribe(o)}}},16567:(e,t,r)=>{r.d(t,{d:()=>n});var i=r(18064);function n(e,t,r){let n=new Set(e),s=n.size;return(0,i.YR)(t,{Directive(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<s}},17564:(e,t,r)=>{r.d(t,{Fq:()=>i}),TransformStream;var i=class extends TransformStream{constructor(){super({transform(e,t){"string"!=typeof e&&(e=new TextDecoder().decode(e)),t.enqueue(JSON.parse(e))}})}}},17964:(e,t,r)=>{r.d(t,{N:()=>n});var i=r(8193);function n(e){return function(t){if((0,i.T)(null==t?void 0:t.lift))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw TypeError("Unable to lift unknown Observable type")}}},18064:(e,t,r)=>{r.d(t,{YR:()=>l,sP:()=>o});var i=r(431),n=r(36688),s=r(18778),a=r(13211);let o=Object.freeze({});function l(e,t,r=s.aD){let u,c,h,d=new Map;for(let e of Object.values(a.b))d.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 f=Array.isArray(e),p=[e],m=-1,y=[],v=e,b=[],g=[];do{var E,w,k;let e,a=++m===p.length,l=a&&0!==y.length;if(a){if(c=0===g.length?void 0:b[b.length-1],v=h,h=g.pop(),l)if(f){v=v.slice();let e=0;for(let[t,r]of y){let i=t-e;null===r?(v.splice(i,1),e++):v[i]=r}}else for(let[e,t]of(v={...v},y))v[e]=t;m=u.index,p=u.keys,y=u.edits,f=u.inArray,u=u.prev}else if(h){if(null==(v=h[c=f?m:p[m]]))continue;b.push(c)}if(!Array.isArray(v)){(0,s.Ll)(v)||(0,i.U)(!1,`Invalid AST Node: ${(0,n.N)(v)}.`);let r=a?null==(E=d.get(v.kind))?void 0:E.leave:null==(w=d.get(v.kind))?void 0:w.enter;if((e=null==r?void 0:r.call(t,v,c,h,b,g))===o)break;if(!1===e){if(!a){b.pop();continue}}else if(void 0!==e&&(y.push([c,e]),!a))if((0,s.Ll)(e))v=e;else{b.pop();continue}}void 0===e&&l&&y.push([c,v]),a?b.pop():(u={inArray:f,index:m,keys:p,edits:y,prev:u},p=(f=Array.isArray(v))?v:null!=(k=r[v.kind])?k:[],m=-1,y=[],h&&g.push(h),h=v)}while(void 0!==u);return 0!==y.length?y[y.length-1][1]:e}},18778:(e,t,r)=>{var i,n;r.d(t,{Ll:()=>u,aD:()=>o,aZ:()=>s,cE:()=>i,ou:()=>a});class s{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,i,n,s){this.kind=e,this.start=t,this.end=r,this.line=i,this.column=n,this.value=s,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 o={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
1Value:[],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"]},l=new Set(Object.keys(o));function u(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&l.has(t)}(n=i||(i={})).QUERY="query",n.MUTATION="mutation",n.SUBSCRIPTION="subscription"},22257:(e,t,r)=>{r.d(t,{m:()=>a});var i=r(32978),n=r(64558),s=r(78959),a=function(e){function t(t,r,i){void 0===t&&(t=1/0),void 0===r&&(r=1/0),void 0===i&&(i=s.U);var n=e.call(this)||this;return n._bufferSize=t,n._windowTime=r,n._timestampProvider=i,n._buffer=[],n._infiniteTimeWindow=!0,n._infiniteTimeWindow=r===1/0,n._bufferSize=Math.max(1,t),n._windowTime=Math.max(1,r),n}return(0,i.C6)(t,e),t.prototype.next=function(t){var r=this.isStopped,i=this._buffer,n=this._infiniteTimeWindow,s=this._timestampProvider,a=this._windowTime;!r&&(i.push(t),n||i.push(s.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),r=this._infiniteTimeWindow,i=this._buffer.slice(),n=0;n<i.length&&!e.closed;n+=r?1:2)e.next(i[n]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this._bufferSize,t=this._timestampProvider,r=this._buffer,i=this._infiniteTimeWindow,n=(i?1:2)*e;if(e<1/0&&n<r.length&&r.splice(0,r.length-n),!i){for(var s=t.now(),a=0,o=1;o<r.length&&r[o]<=s;o+=2)a=o;a&&r.splice(0,a+1)}},t}(n.B)},24055:(e,t,r)=>{r.d(t,{M:()=>o});var i=r(8193),n=r(17964),s=r(6376),a=r(33379);function o(e,t,r){var o=(0,i.T)(e)||t||r?{next:e,error:t,complete:r}:e;return o?(0,n.N)(function(e,t){null==(r=o.subscribe)||r.call(o);var r,i=!0;e.subscribe((0,s._)(t,function(e){var r;null==(r=o.next)||r.call(o,e),t.next(e)},function(){var e;i=!1,null==(e=o.complete)||e.call(o),t.complete()},function(e){var r;i=!1,null==(r=o.error)||r.call(o,e),t.error(e)},function(){var e,t;i&&(null==(e=o.unsubscribe)||e.call(o)),null==(t=o.finalize)||t.call(o)}))}):a.D}},24820:(e,t,r)=>{r.d(t,{Hp:()=>f,Fd:()=>c,CY:()=>h,Qh:()=>u});var i=r(83348),n=r(76500),s=r(81343),a=r(52401);let o=Symbol.for("apollo.internal.queryRef"),l=Symbol.for("apollo.internal.refPromise");function u(e){return{[o]:e,[l]:e.promise}}function c(e){return e[o]}function h(e,t){e[l]=t}let d=["context","errorPolicy","fetchPolicy","refetchOn","refetchWritePolicy","returnPartialData"];class f{result;key={};observable;promise;queue;subscription;listeners=new Set;autoDisposeTimeoutId;resolve;reject;references=0;softReferences=0;constructor(e,t){this.handleNext=this.handleNext.bind(this),this.dispose=this.dispose.bind(this),this.observable=e,t.onDispose&&(this.onDispose=t.onDispose),this.setResult(),this.subscribeToQuery();const r=()=>{this.references||(this.autoDisposeTimeoutId=setTimeout(this.dispose,t.autoDisposeTimeoutMs??3e4))};this.promise.then(r,r)}get disposed(){return this.subscription.closed}get watchQueryOptions(){return this.observable.options}reinitialize(){let{observable:e}=this,t=this.watchQueryOptions.fetchPolicy,r="no-cache"===t||"standby"===t;try{r?e.applyOptions({fetchPolicy:"standby"}):(e.reset(),e.applyOptions({fetchPolicy:"cache-first"})),r||this.setResult(),this.subscribeToQuery()}finally{e.applyOptions({fetchPolicy:t})}}retain(){this.references++,clearTimeout(this.autoDisposeTimeoutId);let e=!1;return()=>{e||(e=!0,this.references--,setTimeout(()=>{this.references||this.dispose()}))}}softRetain(){this.softReferences++;let e=!1;return()=>{e||(e=!0,this.softReferences--,setTimeout(()=>{this.softReferences||this.references||this.dispose()}))}}didChangeOptions(e){return d.some(t=>t in e&&!(0,i.L)(this.watchQueryOptions[t],e[t]))}applyOptions(e){let{fetchPolicy:t}=this.watchQueryOptions;return"standby"===t&&t!==e.fetchPolicy?this.initiateFetch(this.observable.reobserve(e)):this.observable.applyOptions(e),this.promise}listen(e){return this.listeners.add(e),this.queue&&(this.deliver(this.queue),this.queue=void 0),()=>{this.listeners.delete(e)}}refetch(e){return this.initiateFetch(this.observable.refetch(e))}fetchMore(e){return this.initiateFetch(this.observable.fetchMore(e))}dispose(){this.subscription.unsubscribe()}onDispose(){}handleNext(e){if("pending"===this.promise.status)void 0===e.data&&(e.data=this.result.data,e.data&&(e.dataState="complete")),this.shouldReject(e)?this.reject?.(e.error):(this.result=e,this.resolve?.(e));else{if(e.data===this.result.data&&e.networkStatus===this.result.networkStatus)return;if(void 0===e.data&&(e.data=this.result.data),this.shouldReject(e)){var t;let r;this.promise=((r=Promise.reject(t=e.error)).catch(()=>{}),r.status="rejected",r.reason=t,r),this.deliver(this.promise)}else this.result=e,this.promise=(0,s.$)(e),this.deliver(this.promise)}}deliver(e){0===this.listeners.size&&(this.queue=e),this.listeners.forEac
1h(t=>t(e))}initiateFetch(e){return this.promise=this.createPendingPromise(),this.promise.catch(()=>{}),e.then(()=>{setTimeout(()=>{"pending"===this.promise.status&&(this.result=this.observable.getCurrentResult(),this.resolve?.(this.result))})}).catch(e=>this.reject?.(e)),e}subscribeToQuery(){this.subscription=this.observable.pipe((0,n.p)(e=>!(0,i.L)(e,this.result))).subscribe(this.handleNext),this.subscription.add(this.onDispose)}setResult(){let e=this.observable.getCurrentResult();(0,i.L)(e,this.result)||(this.result=e,this.promise=e.data?(0,s.$)(e):this.createPendingPromise())}shouldReject(e){let{errorPolicy:t="none"}=this.watchQueryOptions;return e.error&&"none"===t}createPendingPromise(){return(0,a.b)(new Promise((e,t)=>{this.resolve=e,this.reject=t}))}}},26855:(e,t,r)=>{r.d(t,{R:()=>o});var i=r(32978),n=function(e){function t(t,r){return e.call(this)||this}return(0,i.C6)(t,e),t.prototype.schedule=function(e,t){return void 0===t&&(t=0),this},t}(r(44355).yU),s={setInterval:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var a=s.delegate;return(null==a?void 0:a.setInterval)?a.setInterval.apply(a,(0,i.fX)([e,t],(0,i.zs)(r))):setInterval.apply(void 0,(0,i.fX)([e,t],(0,i.zs)(r)))},clearInterval:function(e){var t=s.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},a=r(62660),o=function(e){function t(t,r){var i=e.call(this,t,r)||this;
1return i.scheduler=t,i.work=r,i.pending=!1,i}return(0,i.C6)(t,e),t.prototype.schedule=function(e,t){if(void 0===t&&(t=0),this.closed)return this;this.state=e;var r,i=this.id,n=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(n,i,t)),this.pending=!0,this.delay=t,this.id=null!=(r=this.id)?r:this.requestAsyncId(n,this.id,t),this},t.prototype.requestAsyncId=function(e,t,r){return void 0===r&&(r=0),s.setInterval(e.flush.bind(e,this),r)},t.prototype.recycleAsyncId=function(e,t,r){if(void 0===r&&(r=0),null!=r&&this.delay===r&&!1===this.pending)return t;null!=t&&s.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return Error("executing a cancelled action");this.pending=!1;var r=this._execute(e,t);if(r)return r;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var r,i=!1;try{this.work(e)}catch(e){i=!0,r=e||Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),r},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,r=this.scheduler,i=r.actions;this.work=this.state=this.scheduler=null,this.pending=!1,(0,a.o)(i,this),null!=t&&(this.id=this.recycleAsyncId(r,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(n)},27705:(e,t,r)=>{r.d(t,{X:()=>i});function i(e){return e.catch(()=>{}),e}},27994:(e,t,r)=>{r.d(t,{t:()=>s});var i=r(22257),n=r(16161);function s(e,t,r){var s,a,o,l,u=!1;return e&&"object"==typeof e?(l=void 0===(s=e.bufferSize)?1/0:s,t=void 0===(a=e.windowTime)?1/0:a,u=void 0!==(o=e.refCount)&&o,r=e.scheduler):l=null!=e?e:1/0,(0,n.u)({connector:function(){return new i.m(l,t,r)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:u})}},28402:(e,t,r)=>{function i(){throw Error("only supported in development mode")}r.d(t,{cM:()=>a,ep:()=>s,tQ:()=>n});let n=i,s=i,a=i},29518:(e,t,r)=>{var i,n;r.d(t,{p:()=>i}),(n=i||(i={}))[n.loading=1]="loading",n[n.setVariables=2]="setVariables",n[n.fetchMore=3]="fetchMore",n[n.refetch=4]="refetch",n[n.poll=6]="poll",n[n.ready=7]="ready",n[n.error=8]="error",n[n.streaming=9]="streaming"},31432:(e,t,r)=>{let i;r.d(t,{M:()=>l});var n=r(54548),s=r(64773),a=r(48672),o=r(65444);let l=Object.assign(function(e){return JSON.stringify(e,u)},{reset(){i=new a.V(s.v.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){let e=Object.getPrototypeOf(t);if(e===Object.prototype||null===e){let r=Object.keys(t);if(r.every(c))return t;let n=JSON.stringify(r),s=i.get(n);if(!s){r.sort();let e=JSON.stringify(r);s=i.get(e)||r,i.set(n,s),i.set(e,s)}let a=Object.create(e);return s.forEach(e=>{a[e]=t[e]}),a}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}n.g&&(0,o.D_)("canonicalStringify",()=>i.size),l.reset()},31927:(e,t,r)=>{r.d(t,{c:()=>c});var i=r(12917),n=r(44355),s=r(3072),a=r(33379),o=r(33470),l=r(8193),u=r(1080),c=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(e,t,r){var s=this,a=!function(e){return e&&e instanceof i.vU||e&&(0,l.T)(e.next)&&(0,l.T)(e.error)&&(0,l.T)(e.complete)&&(0,n.Uv)(e)}(e)?new i.Ms(e,t,r):e;return(0,u.Y)(function(){var e=s.operator,t=s.source;a.add(e?e.call(a,t):t?s._subscribe(a):s._trySubscribe(a))}),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var r=this;return new(t=h(t))(function(t,n){var s=new i.Ms({next:function(t){try{e(t)}catch(e){n(e),s.unsubscribe()}},error:n,complete:t});r.subscribe(s)})},e.prototype._subscribe=function(e){var t;return null==(t=this.source)?void 0:t.subscribe(e)},e.prototype[s.s]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return(0===e.length?a.D:1===e.length?e[0]:function(t){return e.reduce(function(e,t){return t(e)},t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=h(e))(function(e,r){var i;t.subscribe(function(e){return i=e},function(e){return r(e)},function(){return e(i)})})},e.create=function(t){return new e(t)},e}();function h(e){var t;return null!=(t=null!=e?e:o.$.Promise)?t:Promise}},33242:(e,t,r)=>{r.d(t,{J1:()=>B});var i,n,s,a,o,l=r(32978);let u=/\r\n|[\n\r]/g;function c(e,t){let r=0,i=1;for(let n of e.body.matchAll(u)){if("number"==typeof n.index||function(e){if(!e)throw Error("Unexpected invariant triggered.")}(!1),n.index>=t)break;r=n.index+n[0].length,i+=1}return{line:i,column:t+1-r}}function h(e,t){let r=e.locationOffset.column-1,i="".padStart(r)+e.body,n=t.line-1,s=e.locationOffset.line-1,a=t.line+s,o=1===t.line?r:0,l=t.column+o,u=`${e.name}:${a}:${l}
2`,c=i.split(/\r\n|[\n\r]/g),h=c[n];if(h.length>120){let e=Math.floor(l/80),t=[];for(let e=0;e<h.length;e+=80)t.push(h.slice(e,e+80));return u+d([[`${a} |`,t[0]],...t.slice(1,e+1).map(e=>["|",e]),["|","^".padStart(l%80)],["|",t[e+1]]])}return u+d([[`${a-1} |`,c[n-1]],[`${a} |`,h],["|","^".padStart(l)],[`${a+1} |`,c[n+1]]])}function d(e){let t=e.filter(([e,t])=>void 0!==t),r=Math.max(...t.map(([e])=>e.length));return t.map(([e,t])=>e.padStart(r)+(t?" "+t:"")).join("\n")}
2class f extends Error{constructor(e,...t){var r,i,n;const{nodes:s,source:a,positions:o,path:l,originalError:u,extensions:h}=function(e){let t=e[0];return null==t||"kind"in t||"length"in t?{nodes:t,source:e[1],positions:e[2],path:e[3],originalError:e[4],extensions:e[5]}:t}(t);super(e),this.name="GraphQLError",this.path=null!=l?l:void 0,this.originalError=null!=u?u:void 0,this.nodes=p(Array.isArray(s)?s:s?[s]:void 0);const d=p(null==(r=this.nodes)?void 0:r.map(e=>e.loc).filter(e=>null!=e));this.source=null!=a?a:null==d||null==(i=d[0])?void 0:i.source,this.positions=null!=o?o:null==d?void 0:d.map(e=>e.start),this.locations=o&&a?o.map(e=>c(a,e)):null==d?void 0:d.map(e=>c(e.source,e.start));const m=!function(e){return"object"==typeof e&&null!==e}(null==u?void 0:u.extensions)||null==u?void 0:u.extensions;this.extensions=null!=(n=null!=h?h:m)?n:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),null!=u&&u.stack?Object.defineProperty(this,"stack",{value:u.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,f):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes){var t;r.loc&&(e+="\n\n"+h((t=r.loc).source,c(t.source,t.start)))}else if(this.source&&this.locations)for(let t of this.locations)e+="\n\n"+h(this.source,t);return e}toJSON(){let e={message:this.message};return null!=this.locations&&(e.locations=this.locations),null!=this.path&&(e.path=this.path),null!=this.extensions&&Object.keys(this.extensions).length>0&&(e.extensions=this.extensions),e}}function p(e){return void 0===e||0===e.length?void 0:e}function m(e,t,r){return new f(`Syntax Error: ${r}`,{source:e,positions:[t]})}var y=r(18778);(i=a||(a={})).QUERY="QUERY",i.MUTATION="MUTATION",i.SUBSCRIPTION="SUBSCRIPTION",i.FIELD="FIELD",i.FRAGMENT_DEFINITION="FRAGMENT_DEFINITION",i.FRAGMENT_SPREAD="FRAGMENT_SPREAD",i.INLINE_FRAGMENT="INLINE_FRAGMENT",i.VARIABLE_DEFINITION="VARIABLE_DEFINITION",i.SCHEMA="SCHEMA",i.SCALAR="SCALAR",i.OBJECT="OBJECT",i.FIELD_DEFINITION="FIELD_DEFINITION",i.ARGUMENT_DEFINITION="ARGUMENT_DEFINITION",i.INTERFACE="INTERFACE",i.UNION="UNION",i.ENUM="ENUM",i.ENUM_VALUE="ENUM_VALUE",i.INPUT_OBJECT="INPUT_OBJECT",i.INPUT_FIELD_DEFINITION="INPUT_FIELD_DEFINITION",i.DIRECTIVE_DEFINITION="DIRECTIVE_DEFINITION";var v=r(13211),b=r(75882),g=r(97551);(n=o||(o={})).SOF="<SOF>",n.EOF="<EOF>",n.BANG="!",n.DOLLAR="$",n.AMP="&",n.PAREN_L="(",n.PAREN_R=")",n.DOT=".",n.SPREAD="...",n.COLON=":",n.EQUALS="=",n.AT="@",n.BRACKET_L="[",n.BRACKET_R="]",n.BRACE_L="{",n.PIPE="|",n.BRACE_R="}",n.NAME="Name",n.INT="Int",n.FLOAT="Float",n.STRING="String",n.BLOCK_STRING="BlockString",n.COMMENT="Comment";class E{constructor(e){const t=new y.ou(o.SOF,0,0,0,0);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}get[Symbol.toStringTag](){return"Lexer"}advance(){return this.lastToken=this.token,this.token=this.lookahead()}lookahead(){let e=this.token;if(e.kind!==o.EOF)do if(e.next)e=e.next;else{let t=function(e,t){let r=e.source.body,i=r.length,n=t;for(;n<i;){let t=r.charCodeAt(n);switch(t){case 65279:case 9:case 32:case 44:++n;continue;case 10:++n,++e.line,e.lineStart=n;continue;case 13:10===r.charCodeAt(n+1)?n+=2:++n,++e.line,e.lineStart=n;continue;case 35:return function(e,t){let r=e.source.body,i=r.length,n=t+1;for(;n<i;){let e=r.charCodeAt(n);if(10===e||13===e)break;if(w(e))++n;else if(k(r,n))n+=2;else break}return _(e,o.COMMENT,t,n,r.slice(t+1,n))}(e,n);case 33:return _(e,o.BANG,n,n+1);case 36:return _(e,o.DOLLAR,n,n+1);case 38:return _(e,o.AMP,n,n+1);case 40:return _(e,o.PAREN_L,n,n+1);case 41:return _(e,o.PAREN_R,n,n+1);case 46:if(46===r.charCodeAt(n+1)&&46===r.charCodeAt(n+2))return _(e,o.SPREAD,n,n+3);break;case 58:return _(e,o.COLON,n,n+1);case 61:return _(e,o.EQUALS,n,n+1);case 64:return _(e,o.AT,n,n+1);case 91:return _(e,o.BRACKET_L,n,n+1);case 93:return _(e,o.BRACKET_R,n,n+1);case 123:return _(e,o.BRACE_L,n,n+1);case 124:return _(e,o.PIPE,n,n+1);case 125:return _(e,o.BRACE_R,n,n+1);case 34:if(34===r.charCodeAt(n+1)&&34===r.charCodeAt(n+2))return function(e,t){let r=e.source.body,i=r.length,n=e.lineStart,s=t+3,a=s,l="",u=[];for(;s<i;){let i=r.charCodeAt(s);if(34===i&&34===r.charCodeAt(s+1)&&34===r.charCodeAt(s+2)){l+=r.slice(a,s),u.push(l);let i=_(e,o.BLOCK_STRING,t,s+3,(0,b.OC)(u).join("\n"));return e.line+=u.length-1,e.lineStart=n,i}if(92===i&&34===r.charCodeAt(s+1)&&34===r.charCodeAt(s+2)&&34===r.charCodeAt(s+3)){l+=r.slice(a,s),a=s+1,s+=4;continue}if(10===i||13===i){l+=r.slice(a,s),u.push(l),13===i&&10===r.charCodeAt(s+1)?s+=2:++s,l="",a=s,n=s;continue}if(w(i))++s;else if(k(r,s))s+=2;else throw m(e.source,s,`Invalid character within String: ${S(e,s)}.`)}throw m(e.source,s,"Unterminated string.")}(e,n);return function(e,t){let r=e.source.body,i=r.length,n=t+1,s=n,a="";for(;n<i;){let i=r.charCodeAt(n);if(34===i)return a+=r.slice(s,n),_(e,o.STRING,t,n+1,a);if(92===i){a+=r.slice(s,n);let t=117===r.charCodeAt(n+1)?123===r.charCodeAt(n+2)?function(e,t){let r=e.source.body,i=0,n=3;for(;n<12;){let e=r.charCodeAt(t+n++);if(125===e){if(n<5||!w(i))break;return{value:String.fromCodePoint(i),size:n}}if((i=i<<4|I(e))<0)break}throw m(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+n)}".`)}(e,n):function(e,t){let r=e.source.body,i=x(r,t+2);if(w(i))return{value:String.fromCodePoint(i),size:6};if(O(i)&&92===r.charCodeAt(t+6)&&117===r.charCodeAt(t+7)){let e=x(r,t+8);
2if(T(e))return{value:String.fromCodePoint(i,e),size:12}}throw m(e.source,t,`Invalid Unicode escape sequence: "${r.slice(t,t+6)}".`)}(e,n):function(e,t){let r=e.source.body;switch(r.charCodeAt(t+1)){case 34:return{value:'"',size:2};case 92:return{value:"\\",size:2};case 47:return{value:"/",size:2};case 98:return{value:"\b",size:2};case 102:return{value:"\f",size:2};case 110:return{value:"\n",size:2};case 114:return{value:"\r",size:2};case 116:return{value:"	",size:2}}throw m(e.source,t,`Invalid character escape sequence: "${r.slice(t,t+2)}".`)}(e,n);a+=t.value,n+=t.size,s=n;continue}if(10===i||13===i)break;if(w(i))++n;else if(k(r,n))n+=2;else throw m(e.source,n,`Invalid character within String: ${S(e,n)}.`)}throw m(e.source,n,"Unterminated string.")}(e,n)}if((0,g.yp)(t)||45===t)return function(e,t,r){let i=e.source.body,n=t,s=r,a=!1;if(45===s&&(s=i.charCodeAt(++n)),48===s){if(s=i.charCodeAt(++n),(0,g.yp)(s))throw m(e.source,n,`Invalid number, unexpected digit after 0: ${S(e,n)}.`)}else n=N(e,n,s),s=i.charCodeAt(n);if(46===s&&(a=!0,s=i.charCodeAt(++n),n=N(e,n,s),s=i.charCodeAt(n)),(69===s||101===s)&&(a=!0,(43===(s=i.charCodeAt(++n))||45===s)&&(s=i.charCodeAt(++n)),n=N(e,n,s),s=i.charCodeAt(n)),46===s||(0,g.un)(s))throw m(e.source,n,`Invalid number, expected digit but got: ${S(e,n)}.`);return _(e,a?o.FLOAT:o.INT,t,n,i.slice(t,n))}(e,n,t);if((0,g.un)(t))return function(e,t){let r=e.source.body,i=r.length,n=t+1;for(;n<i;){let e=r.charCodeAt(n);if((0,g.xr)(e))++n;else break}return _(e,o.NAME,t,n,r.slice(t,n))}(e,n);throw m(e.source,n,39===t?"Unexpected single quote character ('), did you mean to use a double quote (\")?":w(t)||k(r,n)?`Unexpected character: ${S(e,n)}.`:`Invalid character: ${S(e,n)}.`)}return _(e,o.EOF,i,i)}(this,e.end);e.next=t,t.prev=e,e=t}while(e.kind===o.COMMENT);return e}}function w(e){return e>=0&&e<=55295||e>=57344&&e<=1114111}function k(e,t){return O(e.charCodeAt(t))&&T(e.charCodeAt(t+1))}function O(e){return e>=55296&&e<=56319}function T(e){return e>=56320&&e<=57343}function S(e,t){let r=e.source.body.codePointAt(t);if(void 0===r)return o.EOF;if(r>=32&&r<=126){let e=String.fromCodePoint(r);return'"'===e?"'\"'":`"${e}"`}return"U+"+r.toString(16).toUpperCase().padStart(4,"0")}function _(e,t,r,i,n){let s=e.line,a=1+r-e.lineStart;return new y.ou(t,r,i,s,a,n)}function N(e,t,r){if(!(0,g.yp)(r))throw m(e.source,t,`Invalid number, expected digit but got: ${S(e,t)}.`);let i=e.source.body,n=t+1;for(;(0,g.yp)(i.charCodeAt(n));)++n;return n}function x(e,t){return I(e.charCodeAt(t))<<12|I(e.charCodeAt(t+1))<<8|I(e.charCodeAt(t+2))<<4|I(e.charCodeAt(t+3))}function I(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}var D=r(431),C=r(36688);let A=globalThis.process&&1?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;if("object"==typeof e&&null!==e){var r;let i=t.prototype[Symbol.toStringTag];if(i===(Symbol.toStringTag in e?e[Symbol.toStringTag]:null==(r=e.constructor)?void 0:r.name)){let t=(0,C.N)(e);throw Error(`Cannot use ${i} "${t}" from another module or realm.
3
4Ensure that there is only one instance of "graphql" in the node_modules
5directory. If different versions of "graphql" are the dependencies of other
6relied on modules, use "resolutions" to ensure only one version is installed.
7
8https://yarnpkg.com/en/docs/selective-version-resolutions
9
10Duplicate "graphql" modules cannot be used at the same time since different
11versions may have different capabilities and behavior. The data from one
12version used in the function from another could produce confusing and
13spurious results.`)}}return!1};class R{constructor(e,t="GraphQL request",r={line:1,column:1}){"string"==typeof e||(0,D.U)(!1,`Body must be a string. Received: ${(0,C.N)(e)}.`),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,D.U)(!1,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,D.U)(!1,"column in locationOffset is 1-indexed and must be positive.")}get[Symbol.toStringTag](){return"Source"}}class F{constructor(e,t={}){const{lexer:r,...i}=t;if(r)this._lexer=r;else{const t=!function(e){return A(e,R)}(e)?new R(e):e;this._lexer=new E(t)}this._options=i,this._tokenCounter=0}get tokenCount(){return this._tokenCounter}parseName(){let e=this.expectToken(o.NAME);return this.node(e,{kind:v.b.NAME,value:e.value})}parseDocument(){return this.node(this._lexer.token,{kind:v.b.DOCUMENT,definitions:this.many(o.SOF,this.parseDefinition,o.EOF)})}parseDefinition(){if(this.peek(o.BRACE_L))return this.parseOperationDefinition();let e=this.peekDescription(),t=e?this._lexer.lookahead():this._lexer.token;if(e&&t.kind===o.BRACE_L)throw m(this._lexer.source,this._lexer.token.start,"Unexpected description, descriptions are not supported on shorthand queries.");if(t.kind===o.NAME){switch(t.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}switch(t.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition()}if(e)throw m(this._lexer.source,this._lexer.token.start,"Unexpected description, only GraphQL definitions supp
13ort descriptions.");if("extend"===t.value)return this.parseTypeSystemExtension()}throw this.unexpected(t)}parseOperationDefinition(){let e,t=this._lexer.token;if(this.peek(o.BRACE_L))return this.node(t,{kind:v.b.OPERATION_DEFINITION,operation:y.cE.QUERY,description:void 0,name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet()});let r=this.parseDescription(),i=this.parseOperationType();return this.peek(o.NAME)&&(e=this.parseName()),this.node(t,{kind:v.b.OPERATION_DEFINITION,operation:i,description:r,name:e,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseOperationType(){let e=this.expectToken(o.NAME);switch(e.value){case"query":return y.cE.QUERY;case"mutation":return y.cE.MUTATION;case"subscription":return y.cE.SUBSCRIPTION}throw this.unexpected(e)}parseVariableDefinitions(){return this.optionalMany(o.PAREN_L,this.parseVariableDefinition,o.PAREN_R)}parseVariableDefinition(){return this.node(this._lexer.token,{kind:v.b.VARIABLE_DEFINITION,description:this.parseDescription(),variable:this.parseVariable(),type:(this.expectToken(o.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(o.EQUALS)?this.parseConstValueLiteral():void 0,directives:this.parseConstDirectives()})}parseVariable(){let e=this._lexer.token;return this.expectToken(o.DOLLAR),this.node(e,{kind:v.b.VARIABLE,name:this.parseName()})}parseSelectionSet(){return this.node(this._lexer.token,{kind:v.b.SELECTION_SET,selections:this.many(o.BRACE_L,this.parseSelection,o.BRACE_R)})}parseSelection(){return this.peek(o.SPREAD)?this.parseFragment():this.parseField()}parseField(){let e,t,r=this._lexer.token,i=this.parseName();return this.expectOptionalToken(o.COLON)?(e=i,t=this.parseName()):t=i,this.node(r,{kind:v.b.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(o.BRACE_L)?this.parseSelectionSet():void 0})}parseArguments(e){let t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(o.PAREN_L,t,o.PAREN_R)}parseArgument(e=!1){let t=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:v.b.ARGUMENT,name:r,value:this.parseValueLiteral(e)})}parseConstArgument(){return this.parseArgument(!0)}parseFragment(){let e=this._lexer.token;this.expectToken(o.SPREAD);let t=this.expectOptionalKeyword("on");return!t&&this.peek(o.NAME)?this.node(e,{kind:v.b.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1)}):this.node(e,{kind:v.b.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentDefinition(){let e=this._lexer.token,t=this.parseDescription();return(this.expectKeyword("fragment"),!0===this._options.allowLegacyFragmentVariables)?this.node(e,{kind:v.b.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()}):this.node(e,{kind:v.b.FRAGMENT_DEFINITION,description:t,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet()})}parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()}parseValueLiteral(e){let t=this._lexer.token;switch(t.kind){case o.BRACKET_L:return this.parseList(e);case o.BRACE_L:return this.parseObject(e);case o.INT:return this.advanceLexer(),this.node(t,{kind:v.b.INT,value:t.value});case o.FLOAT:return this.advanceLexer(),this.node(t,{kind:v.b.FLOAT,value:t.value});case o.STRING:case o.BLOCK_STRING:return this.parseStringLiteral();case o.NAME:switch(this.advanceLexer(),t.value){case"true":return this.node(t,{kind:v.b.BOOLEAN,value:!0});case"false":return this.node(t,{kind:v.b.BOOLEAN,value:!1});case"null":return this.node(t,{kind:v.b.NULL});default:return this.node(t,{kind:v.b.ENUM,value:t.value})}case o.DOLLAR:if(e){if(this.expectToken(o.DOLLAR),this._lexer.token.kind===o.NAME){let e=this._lexer.token.value;throw m(this._lexer.source,t.start,`Unexpected variable "$${e}" in constant value.`)}throw this.unexpected(t)}return this.parseVariable();default:throw this.unexpected()}}parseConstValueLiteral(){return this.parseValueLiteral(!0)}parseStringLiteral(){let e=this._lexer.token;return this.advanceLexer(),this.node(e,{kind:v.b.STRING,value:e.value,block:e.kind===o.BLOCK_STRING})}parseList(e){let t=()=>this.parseValueLiteral(e);return this.node(this._lexer.token,{kind:v.b.LIST,values:this.any(o.BRACKET_L,t,o.BRACKET_R)})}parseObject(e){let t=()=>this.parseObjectField(e);return this.node(this._lexer.token,{kind:v.b.OBJECT,fields:this.any(o.BRACE_L,t,o.BRACE_R)})}parseObjectField(e){let t=this._lexer.token,r=this.parseName();return this.expectToken(o.COLON),this.node(t,{kind:v.b.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e)})}parseDirectives(e){let t=[];for(;this.peek(o.AT);)t.push(this.parseDirective(e));return t}parseConstDirectives(){return this.parseDirectives(!0)}parseDirective(e){let t=this._lexer.token;return this.expectToken(o.AT),this.node(t,{kind:v.b.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e)})}parseTypeReference(){let e,t=this._lexer.token;if(this.expectOptionalToken(o.BRACKET_L)){let r=this.parseTypeReference();this.expectToken(o.BRACKET_R),e=this.node(t,{kind:v.b.LIST_TYPE,type:r})}else e=this.parseNamedType();return this.expectOptionalToken(o.BANG)?this.node(t,{kind:v.b.NON_NULL_TYPE,type:e}):e}parseNamedType(){return this.node(this._lexer.token,{kind:v.b.NAMED_TYPE,name:this.parseName()})}peekDescription(){return this.peek(o.STRING)||this.peek(o.BLOCK_STRING)}parseDescription(){if(this.peekDescription())return this.parseStringLiteral()}parseSchemaDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");let r=this.parseConstDirectives(),i=this.many(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);return this.node(e,{kind:v.b.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:i})}parseOperationTypeDefinition(){let e=this._lexer.token,t=this.parseOperationType();this.expectToken(o.COLON);let r=this.parseNamedType();return this.node(e,{kind:v.b.OPERATION_TYPE_DEFINITION,operation:t,type:r})}parseScalarTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");let r=this.parseName(),i=this.parseConstDirectives();return this.node(e,{kind:v.b.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:i})}parseObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");let r=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:v.b.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:i,directives:n,fields:s})}parseImplementsInterfaces(){return this.expectOptionalKeyword("implements")?this.delimitedMany(o.AMP,this.parseNamedType):[]}parseFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseFieldDefinition,o.BRACE_R)}parseFieldDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),i=this.parseArgumentDefs();this.expectToken(o.COLON);let n=this.parseTypeReference(),s=this.parseConstDirectives();return this.node(e,{kind:v.b.FIELD_DEFINITION,description:t,name:r,arguments:i,type:n,directives:s})}parseArgumentDefs(){return this.optionalMany(o.PAREN_L,this.parseInputValueDef,o.PAREN_R)}parseInputValueDef(){let e,t=this._lexer.token,r=this.parseDescription(),i=this.parseName();this.expectToken(o.COLON);let n=this.parseTypeReference();this.expectOptionalToken(o.EQUALS)&&(e=this.parseConstValueLiteral());let s=this.parseConstDirectives();return this.node(t,{kind:v.b.INPUT_VALUE_DEFINITION,description:r,name:i,type:n,defaultValue:e,directives:s})}parseInterfaceTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");let r=this.parseName(),i=this.parseImplementsInterfaces(),n=this.parseConstDirectives(),s=this.parseFieldsDefinition();return this.node(e,{kind:v.b.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:i,directives:n,fields:s})}parseUnionTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseUnionMemberTypes();return this.node(e,{kind:v.b.UNION_TYPE_DEFINITION,description:t,name:r,directives:i,types:n})}parseUnionMemberTypes(){return this.expectOptionalToken(o.EQUALS)?this.delimitedMany(o.PIPE,this.parseNamedType):[]}parseEnumTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseEnumValuesDefinition();return this.node(e,{kind:v.b.ENUM_TYPE_DEFINITION,description:t,name:r,directives:i,values:n})}parseEnumValuesDefinition(){return this.optionalMany(o.BRACE_L,this.parseEnumValueDefinition,o.BRACE_R)}parseEnumValueDefinition(){let e=this._lexer.token,t=this.parseDescription(),r=this.parseEnumValueName(),i=this.parseConstDirectives();return this.node(e,{kind:v.b.ENUM_VALUE_DEFINITION,description:t,name:r,directives:i})}parseEnumValueName(){if("true"===this._lexer.token.value||"false"===this._lexer.token.value||"null"===this._lexer.token.value)throw m(this._lexer.source,this._lexer.token.start,`${M(this._lexer.token)} is reserved and cannot be used for an enum value.`);return this.parseName()}parseInputObjectTypeDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");let r=this.parseName(),i=this.parseConstDirectives(),n=this.parseInputFieldsDefinition();return this.node(e,{kind:v.b.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:i,fields:n})}parseInputFieldsDefinition(){return this.optionalMany(o.BRACE_L,this.parseInputValueDef,o.BRACE_R)}parseTypeSystemExtension(){let e=this._lexer.lookahead();if(e.kind===o.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension();case"directive":if(this._options.experimentalDirectivesOnDirectiveDefinitions)return this.parseDirectiveDefinitionExtension()}throw this.unexpected(e)}parseSchemaExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");let t=this.parseConstDirectives(),r=this.optionalMany(o.BRACE_L,this.parseOperationTypeDefinition,o.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return this.node(e,{kind:v.b.SCHEMA_EXTENSION,directives:t,operationTypes:r})}parseScalarTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:v.b.SCALAR_TYPE_EXTENSION,name:t,directives:r})}parseObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");let t=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.b.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:i,fields:n})}parseInterfaceTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");let t=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseConstDirectives(),n=this.parseFieldsDefinition();if(0===r.length&&0===i.length&&0===n.length)throw this.unexpected();return this.node(e,{kind:v.b.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:i,fields:n})}parseUnionTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseUnionMemberTypes();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.b.UNION_TYPE_EXTENSION,name:t,directives:r,types:i})}parseEnumTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseEnumValuesDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.b.ENUM_TYPE_EXTENSION,name:t,directives:r,values:i})}parseInputObjectTypeExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");let t=this.parseName(),r=this.parseConstDirectives(),i=this.parseInputFieldsDefinition();if(0===r.length&&0===i.length)throw this.unexpected();return this.node(e,{kind:v.b.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:i})}parseDirectiveDefinitionExtension(){let e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("directive"),this.expectToken(o.AT);let t=this.parseName(),r=this.parseConstDirectives();if(0===r.length)throw this.unexpected();return this.node(e,{kind:v.b.DIRECTIVE_EXTENSION,name:t,directives:r})}parseDirectiveDefinition(){let e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(o.AT);let r=this.parseName(),i=this.parseArgumentDefs(),n=this._options.experimentalDirectivesOnDirectiveDefinitions?this.parseConstDirectives():[],s=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");let a=this.parseDirectiveLocations();return this.node(e,{kind:v.b.DIRECTIVE_DEFINITION,description:t,name:r,arguments:i,directives:n,repeatable:s,locations:a})}parseDirectiveLocations(){return this.delimitedMany(o.PIPE,this.parseDirectiveLocation)}parseDirectiveLocation(){let e=this._lexer.token,t=this.parseName();if(Object.prototype.hasOwnProperty.call(a,t.value))return t;throw this.unexpected(e)}parseSchemaCoordinate(){let e,t,r=this._lexer.token,i=this.expectOptionalToken(o.AT),n=this.parseName();return(!i&&this.expectOptionalToken(o.DOT)&&(e=this.parseName()),(i||e)&&this.expectOptionalToken(o.PAREN_L)&&(t=this.parseName(),this.expectToken(o.COLON),this.expectToken(o.PAREN_R)),i)?t?this.node(r,{kind:v.b.DIRECTIVE_ARGUMENT_COORDINATE,name:n,argumentName:t}):this.node(r,{kind:v.b.DIRECTIVE_COORDINATE,name:n}):e?t?this.node(r,{kind:v.b.ARGUMENT_COORDINATE,name:n,fieldName:e,argumentName:t}):this.node(r,{kind:v.b.MEMBER_COORDINATE,name:n,memberName:e}):this.node(r,{kind:v.b.TYPE_COORDINATE,name:n})}node(e,t){return!0!==this._options.noLocation&&(t.loc=new y.aZ(e,this._lexer.lastToken,this._lexer.source)),t}peek(e){return this._lexer.token.kind===e}expectToken(e){let t=this._lexer.token;if(t.kind===e)return this.advanceLexer(),t;throw m(this._lexer.source,t.start,`Expected ${P(e)}, found ${M(t)}.`)}expectOptionalToken(e){return this._lexer.token.kind===e&&(this.advanceLexer(),!0)}expectKeyword(e){let t=this._lexer.token;if(t.kind===o.NAME&&t.value===e)this.advanceLexer();else throw m(this._lexer.source,t.start,`Expected "${e}", found ${M(t)}.`)}expectOptionalKeyword(e){let t=this._lexer.token;return t.kind===o.NAME&&t.value===e&&(this.advanceLexer(),!0)}unexpected(e){let t=null!=e?e:this._lexer.token;return m(this._lexer.source,t.start,`Unexpected ${M(t)}.`)}any(e,t,r){this.expectToken(e);let i=[];for(;!this.expectOptionalToken(r);)i.push(t.call(this));return i}optionalMany(e,t,r){if(this.expectOptionalToken(e)){let e=[];do e.push(t.call(this));while(!this.expectOptionalToken(r));return e}return[]}many(e,t,r){this.expectToken(e);let i=[];do i.push(t.call(this));while(!this.expectOptionalToken(r));return i}delimitedMany(e,t){this.expectOptionalToken(e);let r=[];do r.push(t.call(this));while(this.expectOptionalToken(e));return r}advanceLexer(){let{maxTokens:e}=this._options,t=this._lexer.advance();if(t.kind!==o.EOF&&(++this._tokenCounter,void 0!==e&&this._tokenCounter>e))throw m(this._lexer.source,t.start,`Document contains more that ${e} tokens. Parsing aborted.`)}}function M(e){let t=e.value;return P(e.kind)+(null!=t?` "${t}"`:"")}function P(e){return e===o.BANG||e===o.DOLLAR||e===o.AMP||e===o.PAREN_L||e===o.PAREN_R||e=
13==o.DOT||e===o.SPREAD||e===o.COLON||e===o.EQUALS||e===o.AT||e===o.BRACKET_L||e===o.BRACKET_R||e===o.BRACE_L||e===o.PIPE||e===o.BRACE_R?`"${e}"`:e}var V=new Map,L=new Map,j=!0,q=!1;function U(e){return e.replace(/[\s,]+/g," ").trim()}function B(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];"string"==typeof e&&(e=[e]);var i=e[0];return t.forEach(function(t,r){t&&"Document"===t.kind?i+=t.loc.source.body:i+=t,i+=e[r+1]}),function(e){var t=U(e);if(!V.has(t)){let u,c;var r,i,n,s,a,o=(Object.defineProperty(c=(u=new F(e,{experimentalFragmentVariables:q,allowLegacyFragmentVariables:q})).parseDocument(),"tokenCount",{enumerable:!1,value:u.tokenCount}),c);if(!o||"Document"!==o.kind)throw Error("Not a valid GraphQL document.");V.set(t,((s=new Set((r=new Set,i=[],o.definitions.forEach(function(e){if("FragmentDefinition"===e.kind){var t,n=e.name.value,s=U((t=e.loc).source.body.substring(t.start,t.end)),a=L.get(n);a&&!a.has(s)?j&&console.warn("Warning: fragment with name "+n+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):a||L.set(n,a=new Set),a.add(s),r.has(s)||(r.add(s),i.push(e))}else i.push(e)}),n=(0,l.Cl)((0,l.Cl)({},o),{definitions:i})).definitions)).forEach(function(e){e.loc&&delete e.loc,Object.keys(e).forEach(function(t){var r=e[t];r&&"object"==typeof r&&s.add(r)})}),(a=n.loc)&&(delete a.startToken,delete a.endToken),n))}return V.get(t)}(i)}var Q=B;(s=B||(B={})).gql=Q,s.resetCaches=function(){V.clear(),L.clear()},s.disableFragmentWarnings=function(){j=!1},s.enableExperimentalFragmentVariables=function(){q=!0},s.disableExperimentalFragmentVariables=function(){q=!1},B.default=B},33379:(e,t,r)=>{r.d(t,{D:()=>i});function i(e){return e}},33470:(e,t,r)=>{r.d(t,{$:()=>i});var i={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},34403:(e,t,r)=>{r.d(t,{of:()=>s});var i=r(54452),n=r(41512);function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=(0,i.lI)(e);return(0,n.H)(e,r)}},34758:(e,t,r)=>{r.d(t,{n:()=>i});function i(e){try{return e()}catch{}}},36232:(e,t,r)=>{r.d(t,{E:()=>n});var i=r(91182);function n(e){(0,i.V1)("Document"===e.kind,6),(0,i.V1)(e.definitions.length<=1,7);let t=e.definitions[0];return(0,i.V1)("FragmentDefinition"===t.kind,8),t}},36458:(e,t,r)=>{r.d(t,{A:()=>s});var i=r(91182),n=r(48987);function s(e){let t=(0,n.V)(e);return(0,i.V1)(t&&"query"===t.operation,13),t}},36653:(e,t,r)=>{r.d(t,{l:()=>n});var i=r(74180);function n(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)({...e&&e.variables,...t.variables})})}},36688:(e,t,r)=>{function i(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){let i;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)){var s,a,o=t,l=n;if(0===o.length)return"[]";if(l.length>2)return"[Array]";let r=Math.min(10,o.length),i=o.length-r,u=[];for(let t=0;t<r;++t)u.push(e(o[t],l));return 1===i?u.push("... 1 more item"):i>1&&u.push(`... ${i} more items`),"["+u.join(", ")+"]"}return s=t,a=n,0===(i=Object.entries(s)).length?"{}":a.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(s)+"]":"{ "+i.map(([t,r])=>t+": "+e(r,a)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}r.d(t,{N:()=>i})},36983:(e,t,r)=>{r.d(t,{G:()=>s});var i=r(54548),n=r(41692);function s(e){let t;return i.g&&(t=new Set([e])).forEach(e=>{(0,n.U)(e)&&function(e){if(i.g&&!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(r=>{(0,n.U)(e[r])&&t.add(e[r])})}),e}},37014:(e,t,r)=>{r.d(t,{Tg:()=>m});var i=r(32978),n=r(86937),s=r(88358),a=r(31927),o=r(91911),l=r(89585),u=r(89850),c=r(44859),h=r(55102),d=r(8193),f=r(41060),p=r(3072);function m(e){if(e instanceof a.c)return e;if(null!=e){var t,r,m,v,b;if((0,o.l)(e)){return t=e,new a.c(function(e){var r=t[p.s]();if((0,d.T)(r.subscribe))return r.subscribe(e);throw TypeError("Provided object does not correctly implement Symbol.observable")})}if((0,n.X)(e)){return r=e,new a.c(function(e){for(var t=0;t<r.length&&!e.closed;t++)e.next(r[t]);e.complete()})}if((0,s.y)(e)){return m=e,new a.c(function(e){m.then(function(t){e.closed||(e.next(t),e.complete())},function(t){return e.error(t)}).then(null,f.m)})}if((0,l.T)(e))return y(e);if((0,c.x)(e)){return v=e,new a.c(function(e){var t,r;try{for(var n=(0,i.Ju)(v),s=n.next();!s.done;s=n.next()){var a=s.value;if(e.next(a),e.closed)return}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}e.complete()})}if((0,h.U)(e)){return b=e,y((0,h.C)(b))}}throw(0,u.L)(e)}function y(e){return new a.c(function(t){(function(e,t){var r,n,s,a;return(0,i.sH)(this,void 0,void 0,function(){var o;return(0,i.YH)(this,function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),r=(0,i.xN)(e),l.label=1;case 1:return[4,r.next()];case 2:if((n=l.sent()).done)return[3,4];if(o=n.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return s={error:l.sent()},[3,11];case 6:if(l.trys.push([6,,9,10]),!(n&&!n.done&&(a=r.return)))return[3,8];return[4,a.call(r)];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];
13case 10:return[7];case 11:return t.complete(),[2]}})})})(e,t).catch(function(e){return t.error(e)})})}},37840:(e,t,r)=>{r.d(t,{s:()=>u});var i=r(18064),n=r(13211),s=r(54548),a=r(91182),o=r(64773),l=r(51929);let u=(0,r(68245).B)((e,t)=>{(0,a.V1)(e&&"Document"===e.kind,1);let r=e.definitions.filter(e=>"OperationDefinition"===e.kind);s.g&&(e.definitions.forEach(e=>{if("OperationDefinition"!==e.kind&&"FragmentDefinition"!==e.kind)throw(0,a.vA)(2,e.kind)}),(0,a.V1)(r.length<=1,3,r.length)),t&&(0,a.V1)(1==r.length&&r[0].operation===t,4,t,t,r[0].operation),(0,i.YR)(e,{Field(t,i,s,o){if(t.alias&&("__typename"===t.alias.value||t.alias.value.startsWith("__ac_"))&&t.alias.value!==t.name.value){let i=e,s=[];for(let e of o)(i=i[e]).kind===n.b.FIELD&&s.push(i.alias?.value||i.name.value);throw s.splice(-1,1,t.name.value),(0,a.vA)(5,t.alias.value,s.join("."),r[0].operation,(0,l.n)(e,"(anonymous)"))}}})},{max:o.v.checkDocument||2e3})},38360:(e,t,r)=>{r.d(t,{f:()=>n});var i=r(32978),n={setTimeout:function(e,t){for(var r=[],s=2;s<arguments.length;s++)r[s-2]=arguments[s];var a=n.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,(0,i.fX)([e,t],(0,i.zs)(r))):setTimeout.apply(void 0,(0,i.fX)([e,t],(0,i.zs)(r)))},clearTimeout:function(e){var t=n.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},41060:(e,t,r)=>{r.d(t,{m:()=>s});var i=r(33470),n=r(38360);function s(e){n.f.setTimeout(function(){var t=i.$.onUnhandledError;if(t)t(e);else throw e})}},41376:(e,t,r)=>{r.d(t,{K$:()=>a,uR:()=>o,$b:()=>l});var i=r(47550),n=r(53159);class s extends Error{static is(e){return(0,n.t)(e,"UnconventionalError")}constructor(e){super("An error of unexpected shape occurred.",{cause:e}),this.name="UnconventionalError",(0,n.w)(this),Object.setPrototypeOf(this,s.prototype)}}let a=Symbol();function o(e){return"extensions"in e&&i.d.is(e.extensions[a])}function l(e){return null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name&&("string"==typeof e.stack||void 0===e.stack)?e:"string"==typeof e?Error(e,{cause:e}):new s(e)}},41512:(e,t,r)=>{r.d(t,{H:()=>g});var i=r(37014),n=r(78807),s=r(17964);function a(e,t){return void 0===t&&(t=0),(0,s.N)(function(r,i){i.add(e.schedule(function(){return r.subscribe(i)},t))})}var o=r(31927),l=r(98851),u=r(8193),c=r(45837);function h(e,t){if(!e)throw Error("Iterable cannot be null");return new o.c(function(r){(0,c.N)(r,t,function(){var i=e[Symbol.asyncIterator]();(0,c.N)(r,t,function(){i.next().then(function(e){e.done?r.complete():r.next(e.value)})},0,!0)})})}var d=r(91911),f=r(88358),p=r(86937),m=r(44859),y=r(89585),v=r(89850),b=r(55102);function g(e,t){return t?function(e,t){if(null!=e){if((0,d.l)(e))return(0,i.Tg)(e).pipe(a(t),(0,n.Q)(t));if((0,p.X)(e))return new o.c(function(r){var i=0;return t.schedule(function(){i===e.length?r.complete():(r.next(e[i++]),r.closed||this.schedule())})});if((0,f.y)(e))return(0,i.Tg)(e).pipe(a(t),(0,n.Q)(t));if((0,y.T)(e))return h(e,t);if((0,m.x)(e))return new o.c(function(r){var i;return(0,c.N)(r,t,function(){i=e[l.l](),(0,c.N)(r,t,function(){var e,t,n;try{t=(e=i.next()).value,n=e.done}catch(e){r.error(e);return}n?r.complete():r.next(t)},0,!0)}),function(){return(0,u.T)(null==i?void 0:i.return)&&i.return()}});if((0,b.U)(e))return h((0,b.C)(e),t)}throw(0,v.L)(e)}(e,t):(0,i.Tg)(e)}},41692:(e,t,r)=>{r.d(t,{U:()=>i});function i(e){return null!==e&&"object"==typeof e}},44355:(e,t,r)=>{r.d(t,{Kn:()=>l,yU:()=>o,Uv:()=>u});var i=r(32978),n=r(8193),s=(0,r(14155).L)(function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map(function(e,t){return t+1+") "+e.toString()}).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}}),a=r(62660),o=function(){var e;function t(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){if(!this.closed){this.closed=!0;var e,t,r,a,o,l=this._parentage;if(l)if(this._parentage=null,Array.isArray(l))try{for(var u=(0,i.Ju)(l),h=u.next();!h.done;h=u.next())h.value.remove(this)}catch(t){e={error:t}}finally{try{h&&!h.done&&(t=u.return)&&t.call(u)}finally{if(e)throw e.error}}else l.remove(this);var d=this.initialTeardown;
13if((0,n.T)(d))try{d()}catch(e){o=e instanceof s?e.errors:[e]}var f=this._finalizers;if(f){this._finalizers=null;try{for(var p=(0,i.Ju)(f),m=p.next();!m.done;m=p.next()){var y=m.value;try{c(y)}catch(e){o=null!=o?o:[],e instanceof s?o=(0,i.fX)((0,i.fX)([],(0,i.zs)(o)),(0,i.zs)(e.errors)):o.push(e)}}}catch(e){r={error:e}}finally{try{m&&!m.done&&(a=p.return)&&a.call(p)}finally{if(r)throw r.error}}}if(o)throw new s(o)}},t.prototype.add=function(e){var r;if(e&&e!==this)if(this.closed)c(e);else{if(e instanceof t){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!=(r=this._finalizers)?r:[]).push(e)}},t.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},t.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},t.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&(0,a.o)(t,e)},t.prototype.remove=function(e){var r=this._finalizers;r&&(0,a.o)(r,e),e instanceof t&&e._removeParent(this)},(e=new t).closed=!0,t.EMPTY=e,t}
13(),l=o.EMPTY;function u(e){return e instanceof o||e&&"closed"in e&&(0,n.T)(e.remove)&&(0,n.T)(e.add)&&(0,n.T)(e.unsubscribe)}function c(e){(0,n.T)(e)?e():e.unsubscribe()}},44859:(e,t,r)=>{r.d(t,{x:()=>s});var i=r(98851),n=r(8193);function s(e){return(0,n.T)(null==e?void 0:e[i.l])}},45837:(e,t,r)=>{r.d(t,{N:()=>i});function i(e,t,r,i,n){void 0===i&&(i=0),void 0===n&&(n=!1);var s=t.schedule(function(){r(),n?e.add(this.schedule(null,i)):this.unsubscribe()},i);if(e.add(s),!n)return s}},46489:(e,t,r)=>{r.d(t,{A:()=>n});var i=r(34758);let n=(0,i.n)(()=>globalThis)||(0,i.n)(()=>window)||(0,i.n)(()=>self)||(0,i.n)(()=>global)||(0,i.n)(function(){return i.n.constructor("return this")()})},47550:(e,t,r)=>{r.d(t,{d:()=>s});var i=r(53159);function n(e){return e.map(e=>e.message||"Error message not found.").join("\n")}class s extends Error{static is(e){return(0,i.t)(e,"CombinedProtocolErrors")}static formatMessage=n;errors;constructor(e){super(s.formatMessage(e,{defaultFormatMessage:n})),this.name="CombinedProtocolErrors",this.errors=e,(0,i.w)(this),Object.setPrototypeOf(this,s.prototype)}}},48672:(e,t,r)=>{r.d(t,{A:()=>o,V:()=>l});var i=r(681),n=r(92926);let s=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(s.has(e)||(s.add(e),setTimeout(()=>{e.clean(),s.delete(e)},100)))}let o=function(e,t){let r=new i.l(e,t);return r.set=function(e,t){let r=i.l.prototype.set.call(this,e,t);return a(this),r},r},l=function(e,t){let r=new n.C(e,t);return r.set=function(e,t){let r=n.C.prototype.set.call(this,e,t);return a(this),r},r}},48987:(e,t,r)=>{r.d(t,{V:()=>n});var i=r(37840);function n(e){return(0,i.s)(e),e.definitions.filter(e=>"OperationDefinition"===e.kind)[0]}},51929:(e,t,r)=>{r.d(t,{n:()=>i});function i(e,t){return e.definitions.find(e=>"OperationDefinition"===e.kind&&!!e.name)?.name.value??t}},52401:(e,t,r)=>{r.d(t,{b:()=>i});function i(e){return"status"in e||(e.status="pending",e.then(t=>{"pending"===e.status&&(e.status="fulfilled",e.value=t)},t=>{"pending"===e.status&&(e.status="rejected",e.reason=t)})),e}},53159:(e,t,r)=>{function i(e,t){return"object"==typeof e&&null!==e&&e[Symbol.for("apollo.error")]===t}function n(e){Object.defineProperty(e,Symbol.for("apollo.error"),{value:e.name,enumerable:!1,writable:!1,configurable:!1})}r.d(t,{t:()=>i,w:()=>n})},54452:(e,t,r)=>{r.d(t,{lI:()=>n});var i=r(91374);function n(e){return(0,i.m)(e[e.length-1])?e.pop():void 0}},54548:(e,t,r)=>{r.d(t,{g:()=>i});let i=!1},55102:(e,t,r)=>{r.d(t,{C:()=>s,U:()=>a});var i=r(32978),n=r(8193);function s(e){return(0,i.AQ)(this,arguments,function(){var t,r,n;return(0,i.YH)(this,function(s){switch(s.label){case 0:t=e.getReader(),s.label=1;case 1:s.trys.push([1,,9,10]),s.label=2;case 2:return[4,(0,i.N3)(t.read())];case 3:if(n=(r=s.sent()).value,!r.done)return[3,5];return[4,(0,i.N3)(void 0)];case 4:return[2,s.sent()];case 5:return[4,(0,i.N3)(n)];case 6:return[4,s.sent()];case 7:return s.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}})})}function a(e){return(0,n.T)(null==e?void 0:e.getReader)}},55936:(e,t,r)=>{r.d(t,{M:()=>n});var i=r(91182);function n({directives:e},t){var r;let s;return!e||!e.length||(s=[],(r=e)&&r.length&&r.forEach(e=>{if(!function({name:{value:e}}){return"skip"===e||"include"===e}(e))return;let t=e.arguments,r=e.name.value;(0,i.V1)(t&&1===t.length,16,r);let n=t[0];(0,i.V1)(n.name&&"if"===n.name.value,17,r);let a=n.value;(0,i.V1)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),18,r),s.push({directive:e,ifArgument:n})}),s).every(({directive:e,ifArgument:r})=>{let n=!1;return"Variable"===r.value.kind?(n=t&&t[r.value.name.value],(0,i.V1)(void 0!==n,15,e.name.value)):n=r.value.value,"skip"===e.name.value?!n:n})}},56769:(e,t,r)=>{r.d(t,{H:()=>n});var i=r(91182);function n(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":{let r=e.name.value;if("function"==typeof t)return t(r);let n=t&&t[r];return(0,i.V1)(n,9,r),n||null}default:return null}}},58828:(e,t,r)=>{r.d(t,{c:()=>i});let i=Array.isArray},61829:(e,t,r)=>{let i;r.d(t,{y:()=>g});var n=r(75882);let s=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return o[e.charCodeAt(0)]}let o=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var l=r(18064);let u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=p(e.variableDefinitions)?d("(\n",c(e.variableDefinitions,"\n"),"\n)"):d("(",c(e.variableDefinitions,", "),")"),r=d("",e.de
13scription,"\n")+c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:i,description:n})=>d("",n,"\n")+e+": "+t+d(" = ",r)+d(" ",c(i," "))},SelectionSet:{leave:({selections:e})=>h(e)},Field:{leave({alias:e,name:t,arguments:r,directives:i,selectionSet:n}){let s=d("",e,": ")+t,a=s+d("(",c(r,", "),")");return a.length>80&&(a=s+d("(\n",f(c(r,"\n")),"\n)")),c([a,c(i," "),n]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+d(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>c(["...",d("on ",e),c(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:i,selectionSet:n,description:s})=>d("",s,"\n")+`fragment ${e}${d("(",c(r,", "),")")} `+`on ${t} ${d("",c(i," ")," ")}`+n},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.yo)(e):`"${e.replace(s,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+d("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>d("",e,"\n")+c(["schema",c(t," "),h(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>d("",e,"\n")+c(["scalar",t,c(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:i,fields:n})=>d("",e,"\n")+c(["type",t,d("implements ",c(r," & ")),c(i," "),h(n)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:i,directives:n})=>d("",e,"\n")+t+(p(r)?d("(\n",f(c(r,"\n")),"\n)"):d("(",c(r,", "),")"))+": "+i+d(" ",c(n," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:i,directives:n})=>d("",e,"\n")+c([t+": "+r,d("= ",i),c(n," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:i,fields:n})=>d("",e,"\n")+c(["interface",t,d("implements ",c(r," & ")),c(i," "),h(n)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:i})=>d("",e,"\n")+c(["union",t,c(r," "),d("= ",c(i," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:i})=>d("",e,"\n")+c(["enum",t,c(r," "),h(i)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>d("",e,"\n")+c([t,c(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:i})=>d("",e,"\n")+c(["input",t,c(r," "),h(i)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,directives:i,repeatable:n,locations:s})=>d("",e,"\n")+"directive @"+t+(p(r)?d("(\n",f(c(r,"\n")),"\n)"):d("(",c(r,", "),")"))+d(" ",c(i," "))+(n?" repeatable":"")+" on "+c(s," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),h(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:i})=>c(["extend type",e,d("implements ",c(t," & ")),c(r," "),h(i)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:i})=>c(["extend interface",e,d("implements ",c(t," & ")),c(r," "),h(i)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>c(["extend union",e,c(t," "),d("= ",c(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>c(["extend enum",e,c(t," "),h(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>c(["extend input",e,c(t," "),h(r)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>c(["extend directive @"+e,c(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>c([e,d(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>c([e,d(".",t),d("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>c(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>c(["@",e,d("(",t,":)")])}};function c(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function h(e){return d("{\n",f(c(e,"\n")),"\n}")}function d(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function f(e){return d("  ",e.replace(/\n/g,"\n  "))}function p(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var m=r(54548),y=r(48672),v=r(65444),b=r(64773);let g=Object.assign(e=>{let t=i.get(e);!t&&(t=(0,l.YR)(e,u),i.set(e,t));return t},{reset(){i=new y.A(b.v.print||2e3)}});g.reset(),m.g&&(0,v.D_)("print",()=>i?i.size:0)},62660:(e,t,r)=>{r.d(t,{o:()=>i});function i(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}},64558:(e,t,r)=>{r.d(t,{B:()=>u});var i=r(32978),n=r(31927),s=r(44355),a=(0,r(14155).L)(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),o=r(62660),l=r(1080),u=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return(0,i.C6)(t,e),t.prototype.lift=function(e){var t=new c(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new a},t.prototype.next=function(e){var t=this;(0,l.Y)(function(){var r,n;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var s=(0,i.Ju)(t.currentObservers),a=s.next();!a.done;a=s.next())a.value.next(e)}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}}})},t.prototype.error=function(e){var t=this;(0,l.Y)(function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var r=t.observers;r.length;)r.shift().error(e)}})},t.prototype.complete=function(){var e=this;(0,l.Y)(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null==(e=this.observers)?void 0:e.length)>0}
13,enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,r=this.hasError,i=this.isStopped,n=this.observers;return r||i?s.Kn:(this.currentObservers=null,n.push(e),new s.yU(function(){t.currentObservers=null,(0,o.o)(n,e)}))},t.prototype._checkFinalizedStatuses=function(e){var t=this.hasError,r=this.thrownError,i=this.isStopped;t?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new n.c;return e.source=this,e},t.create=function(e,t){return new c(e,t)},t}(n.c),c=function(e){function t(t,r){var i=e.call(this)||this;return i.destination=t,i.source=r,i}return(0,i.C6)(t,e),t.prototype.next=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.next)||r.call(t,e)},t.prototype.error=function(e){var t,r;null==(r=null==(t=this.destination)?void 0:t.error)||r.call(t,e)},t.prototype.complete=function(){var e,t;null==(t=null==(e=this.destination)?void 0:e.complete)||t.call(e)},t.prototype._subscribe=function(e){var t,r;return null!=(r=null==(t=this.source)?void 0:t.subscribe(e))?r:s.Kn},t}(u)},64564:(e,t,r)=>{r.d(t,{E:()=>i});function i(e){return Array.isArray(e)&&e.length>0}},64773:(e,t,r)=>{r.d(t,{v:()=>s});var i=r(46489);let n=Symbol.for("apollo.cacheSize"),s={...i.A[n]}},65444:(e,t,r)=>{r.d(t,{D_:()=>n});let i={};function n(e,t){i[e]=t}},66319:(e,t,r)=>{r.d(t,{p:()=>n});var i=r(14455);function n(e,t=0){let r=(0,i.v)("stringifyForDisplay");return JSON.stringify(e,(e,t)=>void 0===t?r:t,t).split(JSON.stringify(r)).join("<undefined>")}},68245:(e,t,r)=>{r.d(t,{B:()=>s});var i=r(75524),n=r(48672);function s(e,{max:t,makeCacheKey:r=e=>e}){let a=new i.b(!0),o=new n.A(t);return(...t)=>{let i=a.lookupArray(r(t)),n=o.get(i);if(n){if(n.error)throw n.error;return n.result}let s=o.set(i,{});try{return s.result=e(...t)}catch(e){throw s.error=e,e}}}},74180:(e,t,r)=>{r.d(t,{o:()=>i});function i(...e){let t={};return e.forEach(e=>{e&&Reflect.ownKeys(e).forEach(r=>{let i=e[r];void 0!==i&&(t[r]=i)})}),t}},75016:(e,t,r)=>{r.d(t,{c:()=>c});var i=r(681),n=r(75524),s=r(78373),a=r(37840),o=r(91182),l=r(64773);function u(e){return e}class c{transform;cached;resultCache=new WeakSet;getCacheKey(e){return[e]}static identity(){return new c(u,{cache:!1})}static split(e,t,r=c.identity()){return Object.assign(new c(i=>(e(i)?t:r).transformDocument(i),{cache:!1}),{left:t,right:r})}constructor(e,t={}){this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}resetCache(){if(this.cached){let e=new n.b;this.performWork=(0,s.LV)(c.prototype.performWork.bind(this),{makeCacheKey:t=>{let r=this.getCacheKey(t);if(r)return(0,o.V1)(Array.isArray(r),20),e.lookupArray(r)},max:l.v["documentTransform.cache"],cache:i.l})}}performWork(e){return(0,a.s)(e),this.transform(e)}transformDocument(e){if(this.resultCache.has(e))return e;let t=this.performWork(e);return this.resultCache.add(t),t}concat(e){return Object.assign(new c(t=>e.transformDocument(this.transformDocument(t)),{cache:!1}),{left:this,right:e})}left;right}},75524:(e,t,r)=>{r.d(t,{b:()=>o});let i=()=>Object.create(null),{forEach:n,slice:s}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class o{constructor(e=!0,t=i){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return n.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(s.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,i=e.length;t&&r<i;++r){let i=t.mapFor(e[r],!1);t=i&&i.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],i=this.mapFor(r,!1),n=i&&i.get(r);n&&(t=n.removeArray(s.call(e,1)),n.data||n.weak||n.strong&&n.strong.size||i.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 o(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)}}},75882:(e,t,r)=>{r.d(t,{OC:()=>n,yo:()=>s});var i=r(97551);function n(e){var t,r;let n=Number.MAX_SAFE_INTEGER,s=null,a=-1;for(let t=0;t<e.length;++t){let o=e[t],l=function(e){let t=0;for(;t<e.length&&(0,i.i0)(e.charCodeAt(t));)++t;return t}(o);l!==o.length&&(s=null!=(r=s)?r:t,a=t,0!==t&&l<n&&(n=l))}return e.map((e,t)=>0===t?e:e.slice(n)).slice(null!=(t=s)?t:0,a+1)}function s(e,t){let r=e.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),s=1===n.length,a=n.length>1&&n.slice(1).every(e=>0===e.length||(0,i.i0)(e.charCodeAt(0))),o=r.endsWith('\\"""'),l=e.endsWith('"')&&!o,u=e.endsWith("\\"),c=l||u,h=!(null!=t&&t.minimize)&&(!s||e.length>70||c||a||o),d="",f=s&&(0,i.i0)(e.charCodeAt(0));
13return(h&&!f||a)&&(d+="\n"),d+=r,(h||c)&&(d+="\n"),'"""'+d+'"""'}},76500:(e,t,r)=>{r.d(t,{p:()=>s});var i=r(17964),n=r(6376);function s(e,t){return(0,i.N)(function(r,i){var s=0;r.subscribe((0,n._)(i,function(r){return e.call(t,r,s++)&&i.next(r)}))})}},78373:(e,t,r)=>{let i;r.d(t,{DX:()=>d,NS:()=>M,yN:()=>F,LV:()=>V});var n=r(75524),s=r(92926);let a=null,o={},l=1;function u(e){try{return e()}catch(e){}}let c="@wry/context:Slot",h=u(()=>globalThis)||u(()=>global)||Object.create(null),d=h[c]||Array[c]||function(e){try{Object.defineProperty(h,c,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",l++,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===o)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=o),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,i){let n={__proto__:null,[this.id]:e},s=a;a={parent:s,slots:n};try{return t.apply(i,r)}finally{a=s}}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 i=a;try{return a=null,e.apply(r,t)}finally{a=i}}}}),{bind:f,noContext:p}=d,m=new d,{hasOwnProperty:y}=Object.prototype,v=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function b(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let g=[];function E(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&&!_(this))return T(this),this.value[0]}recompute(e){var t,r,i;return E(!this.recomputing,"already recomputing"),T(this),_(this)?(t=this,r=e,C(t),m.withValue(t,S,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{b(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((i=t).dirty=!1,_(i)||function(e){N(e,I)}(i)),k(t.value)):k(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,N(e,x),b(this))}dispose(){this.setDirty(),C(this),N(this,(e,t)=>{e.setDirty(),A(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=g.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(v(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),g.push(this.deps),this.deps=null)}}function T(e){let t=m.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),_(e)?x(t,e):I(t,e),t}function S(e,t){let r;e.recomputing=!0;let{normalizeResult:i}=e;i&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),i&&r&&!w(r,e.value))try{e.value[0]=i(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function _(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}O.count=0;function N(e,t){let r=e.parents.size;if(r){let i=v(e.parents);for(let n=0;n<r;++n)t(i[n],e)}}function x(e,t){E(e.childValues.has(t)),E(_(t));let r=!_(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=g.pop()||new Set;e.dirtyChildren.add(t),r&&N(e,x)}function I(e,t){E(e.childValues.has(t)),E(!_(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):w(r,t.value)||e.setDirty(),D(e,t),_(e)||N(e,I)}function D(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(g.length<100&&g.push(r),e.dirtyChildren=null))}function C(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{A(e,r)}),e.forgetDeps(),E(null===e.dirtyChildren)}function A(e,t){t.parents.delete(e),e.childValues.delete(t),D(e,t)}let R={setDirty:!0,dispose:!0,forget:!0};function F(e){let t=new Map,r=e&&e.subscribe;function i(e){let i=m.getValue();if(i){let n=t.get(e);n||t.set(e,n=new Set),i.dependOn(n),"function"==typeof r&&(b(n),n.unsubscribe=r(e))}}return i.dirty=function(e,r){let i=t.get(e);if(i){let n=r&&y.call(R,r)?r:"setDirty";
13v(i).forEach(e=>e[n]()),t.delete(e),b(i)}},i}function M(...e){return(i||(i=new n.b("function"==typeof WeakMap))).lookupArray(e)}let P=new Set;function V(e,{max:t=65536,keyArgs:r,makeCacheKey:i=M,normalizeResult:n,subscribe:a,cache:o=s.C}=Object.create(null)){let l="function"==typeof o?new o(t,e=>e.dispose()):o,u=function(){let t=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let s=l.get(t);s||(l.set(t,s=new O(e)),s.normalizeResult=n,s.subscribe=a,s.forget=()=>l.delete(t));let o=s.recompute(Array.prototype.slice.call(arguments));return l.set(t,s),P.add(l),m.hasValue()||(P.forEach(e=>e.clean()),P.clear()),o};function c(e){let t=e&&l.get(e);t&&t.setDirty()}function h(e){let t=e&&l.get(e);if(t)return t.peek()}function d(e){return!!e&&l.delete(e)}return Object.defineProperty(u,"size",{get:()=>l.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:r,makeCacheKey:i,normalizeResult:n,subscribe:a,cache:l}),u.dirtyKey=c,u.dirty=function(){c(i.apply(null,arguments))},u.peekKey=h,u.peek=function(){return h(i.apply(null,arguments))},u.forgetKey=d,u.forget=function(){return d(i.apply(null,arguments))},u.makeCacheKey=i,u.getKey=r?function(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(u)}},78807:(e,t,r)=>{r.d(t,{Q:()=>a});var i=r(45837),n=r(17964),s=r(6376);function a(e,t){return void 0===t&&(t=0),(0,n.N)(function(r,n){r.subscribe((0,s._)(n,function(r){return(0,i.N)(n,e,function(){return n.next(r)},t)},function(){return(0,i.N)(n,e,function(){return n.complete()},t)},function(r){return(0,i.N)(n,e,function(){return n.error(r)},t)}))})}},78959:(e,t,r)=>{r.d(t,{U:()=>i});var i={now:function(){return(i.delegate||Date).now()},delegate:void 0}},79004:(e,t,r)=>{r.d(t,{a:()=>h});var i=r(83348),n=r(4679),s=r(92853),a=r(56769),o=r(98553),l=r(96705),u=r(8262),c=r(55936);function h(e,{data:t,...r},{data:f,...p},m){return(0,i.L)(r,p)&&function e(t,r,n,s){if(r===n)return!0;let o=new Set;return t.selections.every(t=>{if(o.has(t)||(o.add(t),!(0,c.M)(t,s.variables)||d(t)))return!0;if((0,l.d)(t)){let a=(0,u.u)(t),o=r&&r[a],l=n&&n[a],c=t.selectionSet;if(!c)return(0,i.L)(o,l);let h=Array.isArray(o),d=Array.isArray(l);if(h!==d)return!1;if(h&&d){let t=o.length;if(l.length!==t)return!1;for(let r=0;r<t;++r)if(!e(c,o[r],l[r],s))return!1;return!0}return e(c,o,l,s)}{let i=(0,a.H)(t,s.fragmentMap);if(i)return!!d(i)||e(i.selectionSet,r,n,s)}})}((0,o.V)(e).selectionSet,t,f,{fragmentMap:(0,n.J)((0,s.z)(e)),variables:m})}function d(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}},80188:(e,t,r)=>{r.d(t,{w:()=>n});var i=r(87455);function n(e){let t={},r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(e=>{e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},80912:(e,t,r)=>{r.d(t,{i:()=>f});var i=r(13211),n=r(18064),s=r(91182),a=r(37840),o=r(4679),l=r(36232),u=r(92853),c=r(48987),h=r(58828),d=r(64564);function f(e,t){var r,f;let m,y;(0,a.s)(t);let v=p(""),b=p(""),g=e=>{for(let t=0,r;t<e.length&&(r=e[t]);++t)if(!(0,h.c)(r)){if(r.kind===i.b.OPERATION_DEFINITION)return v(r.name&&r.name.value);if(r.kind===i.b.FRAGMENT_DEFINITION)return b(r.name.value)}return s.V1.error(14),null},E=0;for(let e=t.definitions.length-1;e>=0;--e)t.definitions[e].kind===i.b.OPERATION_DEFINITION&&++E;let w=(r=e,m=new Map,y=new Map,r.forEach(e=>{e&&(e.name?m.set(e.name,e):e.test&&y.set(e.test,e))}),e=>{let t=m.get(e.name.value);return!t&&y.size&&y.forEach((r,i)=>{i(e)&&(t=r)}),t}),k=e=>(0,d.E)(e)&&e.map(w).some(e=>e&&e.remove),O=new Map,T=!1,S={enter(e){if(k(e.directives))return T=!0,null}},_=(0,n.YR)(t,{Field:S,InlineFragment:S,VariableDefinition:{enter:()=>!1},Variable:{enter(e,t,r,i,n){let s=g(n);s&&s.variables.add(e.name.value)}},FragmentSpread:{enter(e,t,r,i,n){if(k(e.directives))return T=!0,null;let s=g(n);s&&s.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter(e,t,r,i){O.set(JSON.stringify(i),e)},leave:(e,t,r,n)=>e===O.get(JSON.stringify(n))?e:E>0&&e.selectionSet.selections.every(e=>e.kind===i.b.FIELD&&"__typename"===e.name.value)?(b(e.name.value).removed=!0,T=!0,null):void 0},Directive:{leave(e){if(w(e))return T=!0,null}}});if(!T)return t;let N=e=>(!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(t=>
13{N(b(t)).transitiveVars.forEach(t=>{e.transitiveVars.add(t)})})),e),x=new Set;_.definitions.forEach(e=>{e.kind===i.b.OPERATION_DEFINITION?N(v(e.name&&e.name.value)).fragmentSpreads.forEach(e=>{x.add(e)}):e.kind!==i.b.FRAGMENT_DEFINITION||0!==E||b(e.name.value).removed||x.add(e.name.value)}),x.forEach(e=>{N(b(e)).fragmentSpreads.forEach(e=>{x.add(e)})});let I={enter(e){let t;if(t=e.name.value,!x.has(t)||b(t).removed)return null}};return f=(0,n.YR)(_,{FragmentSpread:I,FragmentDefinition:I,OperationDefinition:{leave(e){if(e.variableDefinitions){let t=N(v(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return{...e,variableDefinitions:e.variableDefinitions.filter(e=>t.has(e.variable.name.value))}}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(t=>t.kind===i.b.FRAGMENT_SPREAD&&e(r[t.name.value],r))}((0,c.V)(f)||(0,l.E)(f),(0,o.J)((0,u.z)(f)))?f:null}function p(e){let t=new Map;return function(r=e){let i=t.get(r);return i||t.set(r,i={variables:new Set,fragmentSpreads:new Set}),i}}},81343:(e,t,r)=>{r.d(t,{$:()=>i});function i(e){let t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}},82040:(e,t,r)=>{r.d(t,{s:()=>l,y:()=>o});var i=r(13211),n=r(78373),s=r(54548),a=r(91182);let o=new n.DX;function l(e){let t=e.directives?.find(({name:e})=>"unmask"===e.value);if(!t)return"mask";let r=t.arguments?.find(({name:e})=>"mode"===e.value);return(s.g&&r&&(r.value.kind===i.b.VARIABLE?s.g&&a.V1.warn(44):r.value.kind!==i.b.STRING?s.g&&a.V1.warn(45):"migrate"!==r.value.value&&s.g&&a.V1.warn(46,r.value.value)),r&&"value"in r.value&&"migrate"===r.value.value)?"migrate":"unmask"}},83348:(e,t,r)=>{r.d(t,{L:()=>o});let{toString:i,hasOwnProperty:n}=Object.prototype,s=Function.prototype.toString,a=new Map;function o(e,t){try{return function e(t,r){if(t===r)return!0;let a=i.call(t);if(a!==i.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(h(t,r))return!0;let i=l(t),s=l(r),a=i.length;if(a!==s.length)return!1;for(let e=0;e<a;++e)if(!n.call(r,i[e]))return!1;for(let n=0;n<a;++n){let s=i[n];if(!e(t[s],r[s]))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(h(t,r))return!0;let i=t.entries(),n="[object Map]"===a;for(;;){let t=i.next();if(t.done)break;let[s,a]=t.value;if(!r.has(s)||n&&!e(a,r.get(s)))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]":{var o,u;let e,i=s.call(t);if(i!==s.call(r))return!1;return o=i,u=c,!((e=o.length-u.length)>=0)||o.indexOf(u,e)!==e}}return!1}(e,t)}finally{a.clear()}}function l(e){return Object.keys(e).filter(u,e)}function u(e){return void 0!==this[e]}let c="{ [native code] }";function h(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}},83786:(e,t,r)=>{r.d(t,{r:()=>i});let i="4.2.12"},84062:(e,t,r)=>{r.d(t,{Q:()=>s});var i=r(7456),n=r(27994);let s=(0,r(68245).B)(function(e,t,r){let s,a;function o(e){return e!==s&&(a=r(s=e)),a}return Object.assign(e.pipe((0,i.T)(o),(0,n.t)({bufferSize:1,refCount:!0})),{getCurrentResult:()=>o(e.getCurrentResult())})},{max:1,makeCacheKey:e=>e.slice(0,2)})},86937:(e,t,r)=>{r.d(t,{X:()=>i});var i=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},87455:(e,t,r)=>{r.d(t,{J:()=>function e(t,r,s,a){if(s.kind===i.b.INT||s.kind===i.b.FLOAT)t[r.value]=Number(s.value);else if(s.kind===i.b.BOOLEAN||s.kind===i.b.STRING)t[r.value]=s.value;else if(s.kind===i.b.OBJECT){let i={};s.fields.map(t=>e(i,t.name,t.value,a)),t[r.value]=i}else if(s.kind===i.b.VARIABLE){let e=(a||{})[s.name.value];t[r.value]=e}else if(s.kind===i.b.LIST)t[r.value]=s.values.map(t=>{let i={};return e(i,r,t,a),i[r.value]});else if(s.kind===i.b.ENUM)t[r.value]=s.value;else if(s.kind===i.b.NULL)t[r.value]=null;else throw(0,n.vA)(19,r.value,s.kind)}});var i=r(13211),n=r(91182)},88358:(e,t,r)=>{r.d(t,{y:()=>n});var i=r(8193);function n(e){return(0,i.T)(null==e?void 0:e.then)}},89585:(e,t,r)=>{r.d(t,{T:()=>n});var i=r(8193);function n(e){return Symbol.asyncIterator&&(0,i.T)(null==e?void 0:e[Symbol.asyncIterator])}},89850:(e,t,r)=>{r.d(t,{L:()=>i});function i(e){return TypeError("You provided "+(null!==e&&"object"==typeof e?"an invali
13d object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}},91182:(e,t,r)=>{r.d(t,{V1:()=>h,vA:()=>f});var i=r(54548),n=r(46489),s=r(83786),a=r(66319);let o="Invariant Violation";class l extends Error{constructor(e=o){super(e),this.name=o,Object.setPrototypeOf(this,l.prototype)}}let u=["debug","log","warn","error","silent"],c=u.indexOf(i.g?"log":"silent");function h(e,...t){if(!e)throw f(...t)}function d(e){return function(t,...r){if(u.indexOf(e)>=c){let i=console[e]||console.log;if("number"==typeof t){let e=t;(t=y(e))||(t=v(e,r),r=[])}i(t,...r)}}}function f(e,...t){return new l(y(e,t)||v(e,t))}h.debug=d("debug"),h.log=d("log"),h.warn=d("warn"),h.error=d("error");let p=Symbol.for("ApolloErrorMessageHandler_"+s.r);function m(e){if("string"==typeof e)return e;try{return(0,a.p)(e,2).slice(0,1e3)}catch{return"<non-serializable>"}}function y(e,t=[]){if(e)return n.A[p]&&n.A[p](e,t.map(m))}function v(e,t=[]){if(e)return"string"==typeof e?t.reduce((e,t)=>e.replace(/%[sdfo]/,m(t)),e):`An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#${encodeURIComponent(JSON.stringify({version:s.r,message:e,args:t.map(m)}))}`}},91374:(e,t,r)=>{r.d(t,{m:()=>n});var i=r(8193);function n(e){return e&&(0,i.T)(e.schedule)}},91911:(e,t,r)=>{r.d(t,{l:()=>s});var i=r(3072),n=r(8193);function s(e){return(0,n.T)(e[i.s])}},92200:(e,t,r)=>{r.d(t,{C:()=>l});var i=r(10675),n=r(51929),s=r(48987),a=r(54548),o=r(91182);class l{static empty(){return new l(()=>i.w)}static from(e){if(0===e.length)return l.empty();let[t,...r]=e;return t.concat(...r)}static split(e,t,r=new l((e,t)=>t(e))){return Object.assign(new l((i,n)=>{let s=e(i);return a.g&&"boolean"!=typeof s&&a.g&&o.V1.warn(63,s),s?t.request(i,n):r.request(i,n)}),{left:t,right:r})}static execute(e,t,r){return e.request(function(e,{client:t}){let r={query:e.query,variables:e.variables||{},extensions:e.extensions||{},operationName:(0,n.n)(e.query),operationType:(0,s.V)(e.query).operation},i={...e.context},a=()=>Object.freeze({...i});return Object.defineProperty(r,"setContext",{enumerable:!1,value:e=>{i="function"==typeof e?{...i,...e(a())}:{...i,...e}}}),Object.defineProperty(r,"getContext",{enumerable:!1,value:a}),Object.defineProperty(r,"client",{enumerable:!1,value:t}),r}(t,r),()=>(a.g&&a.g&&o.V1.warn(64),i.w))}static concat(...e){return l.from(e)}constructor(e){e&&(this.request=e)}split(e,t,r){return this.concat(l.split(e,t,r))}concat(...e){return 0===e.length?this:e.reduce(this.combine.bind(this),this)}combine(e,t){return Object.assign(new l((r,i)=>e.request(r,e=>t.request(e,i))),{left:e,right:t})}request(e,t){throw(0,o.vA)(65)}left;right}},92853:(e,t,r)=>{r.d(t,{z:()=>i});function i(e){return e.definitions.filter(e=>"FragmentDefinition"===e.kind)}},92892:(e,t,r)=>{r.d(t,{l:()=>a});var i=r(7620),n=r(91182);let s=Symbol.for("__APOLLO_CONTEXT__");function a(){(0,n.V1)(!0,37);let 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}},92926:(e,t,r)=>{function i(){}r.d(t,{C:()=>n});class n{constructor(e=1/0,t=i){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)}}},96705:(e,t,r)=>{r.d(t,{d:()=>i});function i(e){return"Field"===e.kind}},97528:(e,t,r)=>{r.d(t,{DH:()=>n,X:()=>i,_K:()=>s});let i=Symbol.for("apollo.result.extensions"),n=Symbol.for("apollo.result.streamInfo"),s=Symbol.for("apollo.observableQuery.variablesUnknown")},97551:(e,t,r)=>{function i(e){return 9===e||32===e}function n(e){return e>=48&&e<=57}function s(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return s(e)||95===e}function o(e){return s(e)||n(e)||95===e}r.d(t,{i0:()=>i,un:()=>a,xr:()=>o,yp:()=>n})},98553:(e,t,r)=>{r.d(t,{V:()=>s});var i=r(91182),n=r(37840);function s(e){let t;for(let r of((0,n.s)(e),e.definitions)){if("OperationDefinition"===r.kind)return r;"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw(0,i.vA)(12)}},98851:(e,t,r)=>{r.d(t,{l:()=>i});var i="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}}]);

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.