relay-runtime 13.0.3 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.js.flow +4 -2
- package/lib/index.js +3 -3
- package/lib/mutations/readUpdatableQuery_EXPERIMENTAL.js +3 -4
- package/lib/query/GraphQLTag.js +13 -0
- package/lib/query/fetchQuery.js +2 -5
- package/lib/store/RelayModernEnvironment.js +3 -3
- package/lib/store/RelayModernFragmentSpecResolver.js +6 -6
- package/lib/store/RelayModernSelector.js +16 -2
- package/lib/store/RelayReader.js +71 -6
- package/lib/store/RelayStoreSubscriptions.js +4 -2
- package/lib/store/RelayStoreUtils.js +1 -0
- package/lib/store/ResolverCache.js +25 -13
- package/lib/store/experimental-live-resolvers/LiveResolverCache.js +316 -0
- package/lib/store/experimental-live-resolvers/LiveResolverStore.js +787 -0
- package/lib/store/hasOverlappingIDs.js +1 -1
- package/lib/util/RelayConcreteNode.js +2 -0
- package/lib/util/RelayFeatureFlags.js +0 -3
- package/lib/util/handlePotentialSnapshotErrors.js +73 -0
- package/mutations/RelayRecordSourceProxy.js.flow +7 -3
- package/mutations/RelayRecordSourceSelectorProxy.js.flow +7 -3
- package/mutations/readUpdatableQuery_EXPERIMENTAL.js.flow +14 -12
- package/network/RelayNetworkTypes.js.flow +1 -1
- package/package.json +1 -1
- package/query/GraphQLTag.js.flow +38 -3
- package/query/fetchQuery.js.flow +6 -4
- package/relay-runtime.js +2 -2
- package/relay-runtime.min.js +2 -2
- package/store/RelayModernEnvironment.js.flow +3 -3
- package/store/RelayModernFragmentSpecResolver.js.flow +11 -7
- package/store/RelayModernSelector.js.flow +32 -8
- package/store/RelayReader.js.flow +65 -23
- package/store/RelayResponseNormalizer.js.flow +1 -1
- package/store/RelayStoreSubscriptions.js.flow +2 -0
- package/store/RelayStoreTypes.js.flow +22 -8
- package/store/RelayStoreUtils.js.flow +2 -1
- package/store/ResolverCache.js.flow +45 -10
- package/store/defaultGetDataID.js.flow +1 -1
- package/store/experimental-live-resolvers/LiveResolverCache.js.flow +410 -0
- package/store/experimental-live-resolvers/LiveResolverStore.js.flow +822 -0
- package/store/hasOverlappingIDs.js.flow +1 -1
- package/util/ReaderNode.js.flow +17 -1
- package/util/RelayConcreteNode.js.flow +9 -1
- package/util/RelayFeatureFlags.js.flow +0 -6
- package/util/RelayRuntimeTypes.js.flow +20 -1
- package/util/deepFreeze.js.flow +1 -1
- package/util/handlePotentialSnapshotErrors.js.flow +63 -0
- package/util/isEmptyObject.js.flow +1 -1
- package/lib/util/reportMissingRequiredFields.js +0 -48
- package/util/reportMissingRequiredFields.js.flow +0 -51
package/relay-runtime.min.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Relay v13.0
|
|
2
|
+
* Relay v13.2.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/objectSpread2","fbjs/lib/areEqual","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.RelayRuntime=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):e.RelayRuntime=t(e.invariant,e["@babel/runtime/helpers/interopRequireDefault"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,n,i,a,s,o){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=58)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";var n=r(1)(r(18)),i=r(27),a=r(7),s=r(16),o=r(0),l=a.VARIABLE,u=a.LITERAL,c=a.OBJECT_VALUE,d=a.LIST_VALUE;function h(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||o(!1),s(t[e])}(e.variableName,t);if(e.kind===u)return e.value;if(e.kind===c){var r={};return e.fields.forEach((function(e){r[e.name]=h(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(h(e,t))})),n}}function _(e,t){var r={};return e.forEach((function(e){r[e.name]=h(e,t)})),r}function f(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,a=t[n];if(null!=a)r.push(n+":"+(null!==(i=JSON.stringify(a))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var p={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_INPUTS_KEY:"__resolverInputValues",RELAY_RESOLVER_READER_SELECTOR_KEY:"__resolverReaderSelector",RELAY_RESOLVER_MISSING_REQUIRED_FIELDS_KEY:"__resolverMissingRequiredFields",formatStorageKey:f,getArgumentValue:h,getArgumentValues:_,getHandleStorageKey:function(e,t){var r=e.dynamicKey,a=e.handle,s=e.key,o=e.name,l=e.args,u=e.filters,c=i(a,s,o),d=null;return l&&u&&0!==l.length&&0!==u.length&&(d=l.filter((function(e){return u.indexOf(e.name)>-1}))),r&&(d=null!=d?[r].concat((0,n.default)(d)):[r]),null===d?c:f(c,_(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=void 0===e.args?void 0:e.args,n=e.name;return r&&0!==r.length?f(n,_(r,t)):n},getStableStorageKey:function(e,t){return f(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=p},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";e.exports={DELAY_CLEANUP_OF_PENDING_PRELOAD_QUERIES:!1,ENABLE_CLIENT_EDGES:!1,ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!0,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,ENABLE_QUERY_RENDERER_OFFSCREEN_SUPPORT:!1,MAX_DATA_ID_LENGTH:null,REFACTOR_SUSPENSE_RESOURCE:!0,STRING_INTERN_LEVEL:0,USE_REACT_CACHE:!1}},function(e,t,r){"use strict";var n=r(5),i=r(35).intern;var a=0;e.exports={generateClientID:function(e,t,r){var a=(n.STRING_INTERN_LEVEL<=0?e:i(e,n.MAX_DATA_ID_LENGTH))+":"+t;return null!=r&&(a+=":"+r),0!==a.indexOf("client:")&&(a="client:"+a),a},generateUniqueClientID:function(){return"".concat("client:","local:").concat(a++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE:"ClientEdge",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",RELAY_RESOLVER:"RelayResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",VARIABLE:"Variable"}},function(e,t){e.exports=i},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(19),a=(r(6).isClientID,r(2)),s=a.ACTOR_IDENTIFIER_KEY,o=a.ID_KEY,l=a.INVALIDATED_AT_KEY,u=a.REF_KEY,c=a.REFS_KEY,d=(a.ROOT_ID,a.TYPENAME_KEY),h=r(14),_=r(0);r(3);e.exports={clone:function(e){return(0,n.default)({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==o&&r!==d&&(t[r]=e[r])},create:function(e,t){var r={};return r[o]=e,r[d]=t,r},freeze:function(e){i(e)},getDataID:function(e){return e[o]},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[l];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&r&&"string"==typeof r[u]||_(!1),r[u])},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[c])||_(!1),r[c])},getType:function(e){return e[d]},getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(u)||r.hasOwnProperty(c))&&_(!1),r},merge:function(e,t){return Object.assign({},e,t)},setValue:function(e,t,r){e[t]=r},setLinkedRecordID:function(e,t,r){var n={};n[u]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[c]=r,e[t]=n},update:function(e,t){for(var r=null,i=Object.keys(t),a=0;a<i.length;a++){var s=i[a];!r&&h(e[s],t[s])||((r=null!==r?r:(0,n.default)({},e))[s]=t[s])}return null!==r?r:e},getActorLinkedRecordID:function(e,t){var r=e[t];return null==r?r:(("object"!=typeof r||"string"!=typeof r[u]||null==r[s])&&_(!1),[r[s],r[u]])},setActorLinkedRecordID:function(e,t,r,n){var i={};i[u]=n,i[s]=r,e[t]=i}}},function(e,t,r){"use strict";var n=r(7),i=r(0);r(3);function a(e){var t=e;return"function"==typeof t?t=t():t.default&&(t=t.default),t}function s(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function o(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}function l(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.INLINE_DATA_FRAGMENT}function u(e){var t=a(e);return s(t)||i(!1),t}e.exports={getFragment:u,getNode:a,getPaginationFragment:function(e){var t,r=u(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch,i=null==n?void 0:n.connection;return null===n||"object"!=typeof n||null===i||"object"!=typeof i?null:r},getRefetchableFragment:function(e){var t,r=u(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch;return null===n||"object"!=typeof n?null:r},getRequest:function(e){var t=a(e);return o(t)||i(!1),t},getInlineDataFragment:function(e){var t=a(e);return l(t)||i(!1),t},graphql:function(e){i(!1)},isFragment:s,isRequest:o,isInlineDataFragment:l}},function(e,t,r){"use strict";var n=r(13).getFragmentVariables,i=r(2),a=i.CLIENT_EDGE_TRAVERSAL_PATH,s=i.FRAGMENT_OWNER_KEY,o=i.FRAGMENTS_KEY,l=i.ID_KEY,u=i.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,c=r(14),d=r(0);r(3);function h(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1);var r=t[l],i=t[o],c=t[s],h=!0===t[u],_=t[a];if("string"==typeof r&&"object"==typeof i&&null!==i&&"object"==typeof i[e.name]&&null!==i[e.name]&&"object"==typeof c&&null!==c&&(null==_||Array.isArray(_))){var f=c,p=_,v=i[e.name];return y(e,r,n(e,f.variables,v),f,h,p)}return null}function _(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?h(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function f(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1),_(e,t)):(Array.isArray(t)&&d(!1),h(e,t))}function p(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1),function(e,t){var r=null;return t.forEach((function(t){var n=null!=t?v(e,t):null;null!=n&&(r=r||[]).push(n)})),r}(e,t)):(Array.isArray(t)&&d(!1),v(e,t))}function v(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1);var r=t[l];return"string"==typeof r?r:null}function g(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||d(!1),E(e,t)):(Array.isArray(t)&&d(!1),m(e,t)||{})}function m(e,t){var r=h(e,t);return r?r.variables:null}function E(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=m(e,t);null!=i&&Object.assign(r,i)}})),r}function y(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:i,clientEdgeTraversalPath:null!=a?a:null,node:e,variables:r,owner:n}}e.exports={areEqualSelectors:function(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&c(e.variables,t.variables)},createReaderSelector:y,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:p,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=p(i,a)}return r},getSingularSelector:h,getPluralSelector:_,getSelector:f,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=f(i,a)}return r},getVariablesFromSingularFragment:m,getVariablesFromPluralFragment:E,getVariablesFromFragment:g,getVariablesFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=g(e[n],t[n]);Object.assign(r,i)}return r}}},function(e,t,r){"use strict";r(19);var n=r(39),i=r(13).getOperationVariables,a=r(11),s=a.createNormalizationSelector,o=a.createReaderSelector,l=r(2).ROOT_ID;function u(e,t,r){return{identifier:n(e.params,t),node:e,variables:t,cacheConfig:r}}e.exports={createOperationDescriptor:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,a=e.operation,c=i(a,e.params.providedVariables,t),d=u(e,c,r),h={fragment:o(e.fragment,n,c,d),request:d,root:s(a,n,c)};return h},createRequestDescriptor:u}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(2).getArgumentValues,a=r(0);e.exports={getLocalVariables:function(e,t,r){if(null==t)return e;var a=(0,n.default)({},e),s=r?i(r,e):{};return t.forEach((function(e){var t,r=null!==(t=s[e.name])&&void 0!==t?t:e.defaultValue;a[e.name]=r})),a},getFragmentVariables:function(e,t,r){var i;return e.argumentDefinitions.forEach((function(e){if(!r.hasOwnProperty(e.name))switch(i=i||(0,n.default)({},r),e.kind){case"LocalArgument":i[e.name]=e.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(e.name)){i[e.name]=void 0;break}i[e.name]=t[e.name];break;default:a(!1)}})),i||r},getOperationVariables:function(e,t,r){var n={};return e.argumentDefinitions.forEach((function(e){var t=e.defaultValue;null!=r[e.name]&&(t=r[e.name]),n[e.name]=t})),null!=t&&Object.keys(t).forEach((function(e){n[e]=t[e].get()})),n}}},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(41),i=function(e,t){},a=function(){function e(e){this._source=e}e.create=function(t){return new e(t)},e.onUnhandledError=function(e){i=e},e.from=function(e){return function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.subscribe}(e)?s(e):n(e)?o(e):l(e)};var t=e.prototype;return t.catch=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:function(r){try{t(r).subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:e.error})}catch(t){e.error(t,!0)}}}),function(){return n.unsubscribe()}}))},t.concat=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,error:e.error,complete:function(){n=t.subscribe(e)}}),function(){n&&n.unsubscribe()}}))},t.do=function(t){var r=this;return e.create((function(e){var n=function(r){return function(){try{t[r]&&t[r].apply(t,arguments)}catch(e){i(e,!0)}e[r]&&e[r].apply(e,arguments)}};return r.subscribe({start:n("start"),next:n("next"),error:n("error"),complete:n("complete"),unsubscribe:n("unsubscribe")})}))},t.finally=function(t){var r=this;return e.create((function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),t()}}))},t.ifEmpty=function(t){var r=this;return e.create((function(e){var n=!1,i=r.subscribe({next:function(t){n=!0,e.next(t)},error:e.error,complete:function(){n?e.complete():i=t.subscribe(e)}});return function(){i.unsubscribe()}}))},t.subscribe=function(e){return function(e,t){var r,n=!1,a=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function s(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var o=a({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(o)}catch(e){i(e,!0)}finally{s()}}}});try{t.start&&t.start(o)}catch(e){i(e,!0)}if(n)return o;var l=a({next:function(e){if(!n&&t.next)try{t.next(e)}catch(e){i(e,!0)}},error:function(e,r){if(n||!t.error)n=!0,i(e,r||!1),s();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{s()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{s()}}}});try{r=e(l)}catch(e){l.error(e,!0)}0;n&&s();return o}(this._source,e)},t.map=function(t){var r=this;return e.create((function(e){var n=r.subscribe({complete:e.complete,error:e.error,next:function(r){try{var n=t(r);e.next(n)}catch(t){e.error(t,!0)}}});return function(){n.unsubscribe()}}))},t.mergeMap=function(t){var r=this;return e.create((function(n){var i=[];function a(e){this._sub=e,i.push(e)}function s(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:a,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:a,next:n.next,error:n.error,complete:s})}catch(e){n.error(e,!0)}},error:n.error,complete:s}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;return e.create((function(e){var n,i;return function a(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(a,t)}})}(),function(){clearTimeout(i),n.unsubscribe()}}))},t.toPromise=function(){var e=this;return new Promise((function(t,r){var n=!1;e.subscribe({next:function(e){n||(n=!0,t(e))},error:r,complete:t})}))},e}();function s(e){return e instanceof a?e:a.create((function(t){return e.subscribe(t)}))}function o(e){return a.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function l(e){return a.create((function(t){t.next(e),t.complete()}))}e.exports=a},function(e,t,r){"use strict";e.exports=function e(t){if(!t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(e);for(var r=Object.keys(t).sort(),n={},i=0;i<r.length;i++)n[r[i]]=e(t[r[i]]);return n}},function(e,t){e.exports=s},function(e,t){e.exports=o},function(e,t,r){"use strict";e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(r){var n=t[r];n&&"object"==typeof n&&!Object.isFrozen(n)&&e(n)})),t}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(25),a=i.EXISTENT,s=i.NONEXISTENT,o=i.UNKNOWN,l=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(r){t._records.set(r,e[r])}))}e.create=function(t){return new e(t)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:a:o},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},r=(0,n.default)(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,a=i[0],s=i[1];t[a]=s}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=l},function(e,t,r){"use strict";var n=r(9).getType,i=r(0);e.exports={REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY:"executableDefinitions",REACT_FLIGHT_TREE_STORAGE_KEY:"tree",REACT_FLIGHT_TYPE_NAME:"ReactFlightComponent",getReactFlightClientResponse:function(e){return"ReactFlightComponent"!==n(e)&&i(!1),e.tree},refineToReactFlightPayloadData:function(e){return null!=e&&"object"==typeof e&&"string"==typeof e.status&&(Array.isArray(e.tree)||null===e.tree)&&Array.isArray(e.queries)&&Array.isArray(e.fragments)&&Array.isArray(e.errors)?e:null}}},function(e,t,r){"use strict";var n=r(6).generateClientID,i=r(2).getStableStorageKey,a=r(27),s=r(28),o=r(0);r(3);function l(e,t,r){if(null==r)return r;var i=s.get().EDGES,a=t.getValue("__connection_next_edge_index");"number"!=typeof a&&o(!1);var l=n(t.getDataID(),i,a),u=e.create(l,r.getType());return u.copyFieldsFrom(r),null==u.getValue("cursor")&&u.setValue(null,"cursor"),t.setValue(a+1,"__connection_next_edge_index"),u}function u(e,t,r){for(var n=s.get().NODE,i=0;i<e.length;i++){var a=e[i];if(a){var o=a.getLinkedRecord(n),l=o&&o.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(a)}}}e.exports={buildConnectionEdge:l,createEdge:function(e,t,r,i){var a=s.get().NODE,o=n(t.getDataID(),r.getDataID()),l=e.get(o);return l||(l=e.create(o,i)),l.setLinkedRecord(r,a),null==l.getValue("cursor")&&l.setValue(null,"cursor"),l},deleteNode:function(e,t){var r=s.get(),n=r.EDGES,i=r.NODE,a=e.getLinkedRecords(n);if(a){for(var o,l=0;l<a.length;l++){var u=a[l],c=u&&u.getLinkedRecord(i);null!=c&&c.getDataID()===t?void 0===o&&(o=a.slice(0,l)):void 0!==o&&o.push(u)}void 0!==o&&e.setLinkedRecords(o,n)}},getConnection:function(e,t,r){var n=a("connection",t,null);return e.getLinkedRecord(n,r)},getConnectionID:function(e,t,r){var s=a("connection",t,null),o=i(s,r);return n(e,o)},insertEdgeAfter:function(e,t,r){var n=s.get(),i=n.CURSOR,a=n.EDGES,o=e.getLinkedRecords(a);if(o){var l;if(null==r)l=o.concat(t);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(l.push(d),null!=d)r===d.getValue(i)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var n=s.get(),i=n.CURSOR,a=n.EDGES,o=e.getLinkedRecords(a);if(o){var l;if(null==r)l=[t].concat(o);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(null!=d)r===d.getValue(i)&&(l.push(t),u=!0);l.push(d)}u||l.unshift(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},update:function(e,t){var r=e.get(t.dataID);if(r){var i=s.get(),a=i.EDGES,o=i.END_CURSOR,c=i.HAS_NEXT_PAGE,d=i.HAS_PREV_PAGE,h=i.PAGE_INFO,_=i.PAGE_INFO_TYPE,f=i.START_CURSOR,p=r.getLinkedRecord(t.fieldKey),v=p&&p.getLinkedRecord(h);if(p){var g=n(r.getDataID(),t.handleKey),m=r.getLinkedRecord(t.handleKey),E=null!=m?m:e.get(g),y=E&&E.getLinkedRecord(h);if(E){null==m&&r.setLinkedRecord(E,t.handleKey);var b=E,R=p.getLinkedRecords(a);R&&(R=R.map((function(t){return l(e,b,t)})));var I=b.getLinkedRecords(a),D=b.getLinkedRecord(h);b.copyFieldsFrom(p),I&&b.setLinkedRecords(I,a),D&&b.setLinkedRecord(D,h);var S=[],A=t.args;if(I&&R)if(null!=A.after){if(!y||A.after!==y.getValue(o))return;var T=new Set;u(I,S,T),u(R,S,T)}else if(null!=A.before){if(!y||A.before!==y.getValue(f))return;var F=new Set;u(R,S,F),u(I,S,F)}else S=R;else S=R||I;if(null!=S&&S!==I&&b.setLinkedRecords(S,a),y&&v)if(null==A.after&&null==A.before)y.copyFieldsFrom(v);else if(null!=A.before||null==A.after&&A.last){y.setValue(!!v.getValue(d),d);var k=v.getValue(f);"string"==typeof k&&y.setValue(k,f)}else if(null!=A.after||null==A.before&&A.first){y.setValue(!!v.getValue(c),c);var N=v.getValue(o);"string"==typeof N&&y.setValue(N,o)}}else{var O=e.create(g,p.getType());O.setValue(0,"__connection_next_edge_index"),O.copyFieldsFrom(p);var P=p.getLinkedRecords(a);P&&(P=P.map((function(t){return l(e,O,t)})),O.setLinkedRecords(P,a)),r.setLinkedRecord(O,t.handleKey),(y=e.create(n(O.getDataID(),h),_)).setValue(!1,c),y.setValue(!1,d),y.setValue(null,o),y.setValue(null,f),v&&y.copyFieldsFrom(v),O.setLinkedRecord(y,h)}}else r.setValue(null,t.handleKey)}}}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(22),a=(r(3),Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"})),s=Object.freeze({APPEND:"append",PREPEND:"prepend"});function o(e){return e.fragment.selections&&e.fragment.selections.length>0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:a,RangeOperations:s,convert:function(e,t,r,a){var s=r?[r]:[],l=a?[a]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=o(t);if(!n)return null;return function(e,t){var i=e.getRootField(n);if(i){var a=i.getValue(r);(Array.isArray(a)?a:[a]).forEach((function(t){t&&"string"==typeof t&&e.delete(t)}))}}}(e,t);r&&(s.push(r),l.push(r));break;case"RANGE_ADD":var a=function(e,t){var r=e.parentID,a=e.connectionInfo,s=e.edgeName;if(!r)return null;var l=o(t);if(!a||!l)return null;return function(e,t){var o=e.get(r);if(o){var u=e.getRootField(l);if(u){var c,d=u.getLinkedRecord(s),h=(0,n.default)(a);try{for(h.s();!(c=h.n()).done;){var _=c.value;if(d){var f=i.getConnection(o,_.key,_.filters);if(f){var p=i.buildConnectionEdge(e,f,d);if(p)switch(_.rangeBehavior){case"append":i.insertEdgeAfter(f,p);break;case"prepend":i.insertEdgeBefore(f,p)}}}}}catch(e){h.e(e)}finally{h.f()}}}}}(e,t);a&&(s.push(a),l.push(a));break;case"RANGE_DELETE":var u=function(e,t){var r=e.parentID,a=e.connectionKeys,s=e.pathToConnection,l=e.deletedIDFieldName;if(!r)return null;var u=o(t);if(!u)return null;return function(e,t){if(t){var o=[],c=t[u];if(c&&Array.isArray(l)){var d,h=(0,n.default)(l);try{for(h.s();!(d=h.n()).done;){var _=d.value;c&&"object"==typeof c&&(c=c[_])}}catch(e){h.e(e)}finally{h.f()}Array.isArray(c)?c.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&o.push(e.id)})):c&&c.id&&"string"==typeof c.id&&o.push(c.id)}else c&&"string"==typeof l&&"object"==typeof c&&("string"==typeof(c=c[l])?o.push(c):Array.isArray(c)&&c.forEach((function(e){"string"==typeof e&&o.push(e)})));!function(e,t,r,a,s){var o=a.get(e);if(!o)return;if(r.length<2)return;for(var l=o,u=1;u<r.length-1;u++)l&&(l=l.getLinkedRecord(r[u]));if(!t||!l)return;var c,d=(0,n.default)(t);try{var h=function(){var e=c.value,t=i.getConnection(l,e.key,e.filters);t&&s.forEach((function(e){i.deleteNode(t,e)}))};for(d.s();!(c=d.n()).done;)h()}catch(e){d.e(e)}finally{d.f()}}(r,a,s,e,o)}}}(e,t);u&&(s.push(u),l.push(u))}})),{optimisticUpdater:function(e,t){s.forEach((function(r){r(e,t)}))},updater:function(e,t){l.forEach((function(r){r(e,t)}))}}}}},function(e,t,r){"use strict";var n="undefined"!=typeof WeakSet,i="undefined"!=typeof WeakMap;e.exports=function e(t,r){if(t===r||"object"!=typeof t||t instanceof Set||t instanceof Map||n&&t instanceof WeakSet||i&&t instanceof WeakMap||!t||"object"!=typeof r||r instanceof Set||r instanceof Map||n&&r instanceof WeakSet||i&&r instanceof WeakMap||!r)return r;var a=!1,s=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(s&&o)a=o.reduce((function(t,r,n){var i=e(s[n],r);return i!==o[n]&&(o[n]=i),t&&i===s[n]}),!0)&&s.length===o.length;else if(!s&&!o){var l=t,u=r,c=Object.keys(l),d=Object.keys(u);a=d.reduce((function(t,r){var n=e(l[r],u[r]);return n!==u[r]&&(u[r]=n),t&&n===l[r]}),!0)&&c.length===d.length}return a?t:r}},function(e,t,r){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},function(e,t,r){"use strict";e.exports={generateTypeID:function(e){return"client:__type:"+e},isTypeID:function(e){return 0===e.indexOf("client:__type:")},TYPE_SCHEMA_TYPE:"__TypeSchema"}},function(e,t,r){"use strict";var n=r(36).DEFAULT_HANDLE_KEY,i=r(0);e.exports=function(e,t,r){return t&&t!==n?"__".concat(t,"_").concat(e):(null==r&&i(!1),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";var n={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},i={CLIENT_MUTATION_ID:"clientMutationId",CURSOR:"cursor",EDGES:"edges",END_CURSOR:"endCursor",HAS_NEXT_PAGE:"hasNextPage",HAS_PREV_PAGE:"hasPreviousPage",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"pageInfo",START_CURSOR:"startCursor"},a={inject:function(e){i=e},get:function(){return i},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}};e.exports=a},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},function(e,t,r){"use strict";e.exports=function(e,t){switch(t.action){case"THROW":var r=t.field,n=r.path,i=r.owner;throw e.requiredFieldLogger({kind:"missing_field.throw",owner:i,fieldPath:n}),new Error("Relay: Missing @required value at path '".concat(n,"' in '").concat(i,"'."));case"LOG":t.fields.forEach((function(t){var r=t.path,n=t.owner;e.requiredFieldLogger({kind:"missing_field.log",owner:n,fieldPath:r})}));break;default:t.action}}},function(e,t,r){"use strict";var n=r(15),i=r(42),a=r(0),s="function"==typeof WeakMap?new WeakMap:new Map;function o(e,t,r){return n.create((function(s){var o=u(e),l=o.get(t);return l||r().finally((function(){return o.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e},o.set(t,l)},next:function(e){var r=c(o,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=c(o,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=c(o,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=c(o,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&a(!1),function(e,t){return n.create((function(r){var n=t.subject.subscribe(r);return function(){n.unsubscribe();var r=e.get(t.identifier);if(r){var i=r.subscription;null!=i&&0===r.subject.getObserverCount()&&(i.unsubscribe(),e.delete(t.identifier))}}}))}(o,l).subscribe(s)}))}function l(e,t,r){return n.create((function(t){var n=r.subjectForInFlightStatus.subscribe({error:t.error,next:function(n){e.isRequestActive(r.identifier)?t.next():t.complete()},complete:t.complete,unsubscribe:t.complete});return function(){n.unsubscribe()}}))}function u(e){var t=s.get(e);if(null!=t)return t;var r=new Map;return s.set(e,r),r}function c(e,t){var r=e.get(t);return null==r&&a(!1),r}e.exports={fetchQuery:function(e,t){return o(e,t.request.identifier,(function(){return e.execute({operation:t})}))},fetchQueryDeduped:o,getPromiseForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?new Promise((function(t,r){var i=!1;l(e,0,n).subscribe({complete:t,error:r,next:function(e){i&&t(e)}}),i=!0})):null},getObservableForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?l(e,0,n):null}}},function(e,t,r){"use strict";var n=r(0);e.exports={assertInternalActorIndentifier:function(e){"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"!==e&&n(!1)},getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"}},function(e,t,r){"use strict";var n=r(7),i=n.REQUEST,a=n.SPLIT_OPERATION;e.exports=function(e){switch(e.kind){case i:return e.operation;case a:default:return e}}},function(e,t,r){"use strict";var n=r(1),i=n(r(17)),a=n(r(18)),s=r(7),o=s.ACTOR_CHANGE,l=s.CLIENT_EDGE,u=s.CLIENT_EXTENSION,c=s.CONDITION,d=s.DEFER,h=s.FLIGHT_FIELD,_=s.FRAGMENT_SPREAD,f=s.INLINE_DATA_FRAGMENT_SPREAD,p=s.INLINE_FRAGMENT,v=s.LINKED_FIELD,g=s.MODULE_IMPORT,m=s.RELAY_RESOLVER,E=s.REQUIRED_FIELD,y=s.SCALAR_FIELD,b=s.STREAM,R=r(5),I=r(6),D=r(9),S=r(21).getReactFlightClientResponse,A=r(2),T=A.CLIENT_EDGE_TRAVERSAL_PATH,F=A.FRAGMENT_OWNER_KEY,k=A.FRAGMENT_PROP_NAME_KEY,N=A.FRAGMENTS_KEY,O=A.ID_KEY,P=A.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,L=A.MODULE_COMPONENT_KEY,C=A.ROOT_ID,w=A.getArgumentValues,M=A.getModuleComponentKey,x=A.getStorageKey,V=r(54).NoopResolverCache,U=r(55).withResolverContext,q=r(26).generateTypeID,K=r(0);var H=function(){function e(e,t,r){var n;this._clientEdgeTraversalPath=R.ENABLE_CLIENT_EDGES&&(null===(n=t.clientEdgeTraversalPath)||void 0===n?void 0:n.length)?(0,a.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._owner=t.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=r,this._fragmentName=t.node.name}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,n=e.isWithinUnmatchedTypeRefinement,i=t.abstractKey,a=this._recordSource.get(r),s=!n;s&&null==i&&null!=a&&(D.getType(a)!==t.type&&r!==C&&(s=!1));if(s&&null!=i&&null!=a){var o=D.getType(a),l=q(o),u=this._recordSource.get(l),c=null!=u?D.getValue(u,i):null;!1===c?s=!1:null==c&&(this._isMissingData=!0)}return this._isWithinUnmatchedTypeRefinement=!s,{data:this._traverse(t,r,null),isMissingData:this._isMissingData&&s,missingClientEdges:R.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields}},t._markDataAsMissing=function(){if(this._isMissingData=!0,R.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords.add(t),null==n)return void 0===n&&this._markDataAsMissing(),n;var i=r||{};return this._traverseSelections(e.selections,n,i)?i:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||K(!1),this._variables[e]},t._maybeReportUnexpectedNull=function(e,t,r){var n;if("THROW"!==(null===(n=this._missingRequiredFields)||void 0===n?void 0:n.action)){var i=this._fragmentName;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:i}});case"LOG":return void(null==this._missingRequiredFields?this._missingRequiredFields={action:t,fields:[{path:e,owner:i}]}:this._missingRequiredFields={action:t,fields:[].concat((0,a.default)(this._missingRequiredFields.fields),[{path:e,owner:i}])})}}},t._traverseSelections=function(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];switch(i.kind){case E:if(null==this._readRequiredField(i,t,r)){var a=i.action;return"NONE"!==a&&this._maybeReportUnexpectedNull(i.path,a,t),!1}break;case y:this._readScalar(i,t,r);break;case v:i.plural?this._readPluralLink(i,t,r):this._readLink(i,t,r);break;case c:if(Boolean(this._getVariableValue(i.condition))===i.passingValue)if(!this._traverseSelections(i.selections,t,r))return!1;break;case p:var s=i.abstractKey;if(null==s){var I=D.getType(t);if(null!=I&&I===i.type)if(!this._traverseSelections(i.selections,t,r))return!1}else{var S=this._isMissingData,A=this._isWithinUnmatchedTypeRefinement,T=D.getType(t),F=q(T),k=this._recordSource.get(F),N=null!=k?D.getValue(k,s):null;this._isWithinUnmatchedTypeRefinement=A||!1===N,this._traverseSelections(i.selections,t,r),this._isWithinUnmatchedTypeRefinement=A,!1===N?this._isMissingData=S:null==N&&this._markDataAsMissing()}break;case m:if(!R.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(i,t,r);break;case _:this._createFragmentPointer(i,t,r);break;case g:this._readModuleImport(i,t,r);break;case f:this._createInlineDataOrResolverFragmentPointer(i,t,r);break;case d:case u:var O=this._isMissingData,P=this._missingClientEdges.length;R.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.push(null);var L=this._traverseSelections(i.selections,t,r);if(this._isMissingData=O||this._missingClientEdges.length>P,R.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!L)return!1;break;case b:if(!this._traverseSelections(i.selections,t,r))return!1;break;case h:if(!R.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._readFlightField(i,t,r);break;case o:this._readActorChange(i,t,r);break;case l:if(!R.ENABLE_CLIENT_EDGES)throw new Error("Client edges are not yet supported.");this._readClientEdge(i,t,r);break;default:K(!1)}}return!0},t._readRequiredField=function(e,t,r){switch(e.field.kind){case y:return this._readScalar(e.field,t,r);case v:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);case m:if(!R.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,t,r);default:e.field.kind,K(!1)}},t._readResolverField=function(e,t,r){var n,a,s,o,l,u=this,c=e.resolverModule,d=e.fragment,h=x(e,this._variables),_=I.generateClientID(D.getDataID(t),h),f=new Set,p=function(e){if(null!=a)return a;s=e;var r=u._seenRecords;try{var n;u._seenRecords=f;var i={};return l=u._missingRequiredFields,u._missingRequiredFields=null,u._createInlineDataOrResolverFragmentPointer(e.node,t,i),o=u._missingRequiredFields,("object"!=typeof(a=null===(n=i[N])||void 0===n?void 0:n[d.name])||null===a)&&K(!1),a}finally{u._seenRecords=r,u._missingRequiredFields=l}},v={getDataForResolverFragment:p},g=this._resolverCache.readFromCacheOrEvaluate(t,e,this._variables,(function(){var e={__id:D.getDataID(t),__fragmentOwner:u._owner,__fragments:(0,i.default)({},d.name,{})};return U(v,(function(){return{resolverResult:c(e),fragmentValue:a,resolverID:_,seenRecordIDs:f,readerSelector:s,missingRequiredFields:o}}))}),p),m=g[0],E=g[1],y=g[2];return null!=y&&this._addMissingRequiredFields(y),null!=E&&this._seenRecords.add(E),r[null!==(n=e.alias)&&void 0!==n?n:e.name]=m,m},t._readClientEdge=function(e,t,r){var n,i=e.backingField;"ClientExtension"===i.kind&&K(!1);var a=null!==(n=i.alias)&&void 0!==n?n:i.name,s={};this._traverseSelections([i],t,s);var o=s[a];if(null!=o){"string"!=typeof o&&K(!1),this._clientEdgeTraversalPath.push({readerClientEdge:e,clientEdgeDestinationID:o});var l=r[a];null!=l&&"object"!=typeof l&&K(!1);var u=this._traverse(e.linkedField,o,l);r[a]=u,this._clientEdgeTraversalPath.pop()}else r[a]=o},t._readFlightField=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=x(e,this._variables),s=D.getLinkedRecordID(t,a);if(null==s)return r[i]=s,void 0===s&&this._markDataAsMissing(),s;var o=this._recordSource.get(s);if(this._seenRecords.add(s),null==o)return r[i]=o,void 0===o&&this._markDataAsMissing(),o;var l=S(o);return r[i]=l,l},t._readScalar=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=x(e,this._variables),s=D.getValue(t,a);return void 0===s&&this._markDataAsMissing(),r[i]=s,s},t._readLink=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=x(e,this._variables),s=D.getLinkedRecordID(t,a);if(null==s)return r[i]=s,void 0===s&&this._markDataAsMissing(),s;var o=r[i];null!=o&&"object"!=typeof o&&K(!1);var l=this._traverse(e,s,o);return r[i]=l,l},t._readActorChange=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=x(e,this._variables),s=D.getActorLinkedRecordID(t,a);if(null==s)return r[i]=s,void 0===s&&this._markDataAsMissing(),r[i];var o=s[0],l=s[1],u={};return this._createFragmentPointer(e.fragmentSpread,{__id:l},u),r[i]={__fragmentRef:u,__viewer:o},r[i]},t._readPluralLink=function(e,t,r){var n,i=this,a=null!==(n=e.alias)&&void 0!==n?n:e.name,s=x(e,this._variables),o=D.getLinkedRecordIDs(t,s);if(null==o)return r[a]=o,void 0===o&&this._markDataAsMissing(),o;var l=r[a];null==l||Array.isArray(l)||K(!1);var u=l||[];return o.forEach((function(t,r){if(null==t)return void 0===t&&i._markDataAsMissing(),void(u[r]=t);var n=u[r];null!=n&&"object"!=typeof n&&K(!1),u[r]=i._traverse(e,t,n)})),r[a]=u,u},t._readModuleImport=function(e,t,r){var n=M(e.documentName),i=D.getValue(t,n);null!=i?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,r),r[k]=e.fragmentPropName,r[L]=i):void 0===i&&this._markDataAsMissing()},t._createFragmentPointer=function(e,t,r){var n=r[N];null==n&&(n=r[N]={}),("object"!=typeof n||null==n)&&K(!1),null==r[O]&&(r[O]=D.getDataID(t)),n[e.name]=e.args?w(e.args,this._variables):{},r[F]=this._owner,r[P]=this._isWithinUnmatchedTypeRefinement,R.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(r[T]=(0,a.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var n=r[N];null==n&&(n=r[N]={}),("object"!=typeof n||null==n)&&K(!1),null==r[O]&&(r[O]=D.getDataID(t));var i={},a=this._fragmentName;this._fragmentName=e.name,this._traverseSelections(e.selections,t,i),this._fragmentName=a,n[e.name]=i},t._addMissingRequiredFields=function(e){null!=this._missingRequiredFields?"THROW"!==this._missingRequiredFields.action&&("THROW"!==e.action?this._missingRequiredFields={action:"LOG",fields:[].concat((0,a.default)(this._missingRequiredFields.fields),(0,a.default)(e.fields))}:this._missingRequiredFields=e):this._missingRequiredFields=e},e}();e.exports={read:function(e,t,r){return new H(e,t,null!=r?r:new V).read()}}},function(e,t,r){"use strict";var n=new Map,i=1,a=function(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}();e.exports={intern:function(e,t){if(null==t||e.length<t)return function(e){return"\t"===e[0]&&a.has(e[1])||"\v"===e[0]?"\v"+e:e}(e);var r=n.get(e);return null!=r||(r="\t"+i++,n.set(e,r)),r}}},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(22),a=r(28),s=r(0),o=(r(3),{update:function(e,t){var r=e.get(t.dataID);if(null!=r){var n=r.getValue(t.fieldKey);"string"==typeof n?e.delete(n):Array.isArray(n)&&n.forEach((function(t){"string"==typeof t&&e.delete(t)}))}}}),l={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var a=t.handleArgs.connections;null==a&&s(!1);var o=r.getValue(t.fieldKey);(Array.isArray(o)?o:[o]).forEach((function(t){if("string"==typeof t){var r,s=(0,n.default)(a);try{for(s.s();!(r=s.n()).done;){var o=r.value,l=e.get(o);null!=l&&i.deleteNode(l,t)}}catch(e){s.e(e)}finally{s.f()}}}))}}},u={update:_(i.insertEdgeAfter)},c={update:_(i.insertEdgeBefore)},d={update:f(i.insertEdgeAfter)},h={update:f(i.insertEdgeBefore)};function _(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs.connections;null==d&&s(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var h,_=a.get(),f=_.NODE,p=_.EDGES,v=null!==(o=c)&&void 0!==o?o:[u],g=(0,n.default)(v);try{var m=function(){var r=h.value;if(null==r)return"continue";var a=r.getLinkedRecord("node");if(!a)return"continue";var o,l=a.getDataID(),u=(0,n.default)(d);try{for(u.s();!(o=u.n()).done;){var c=o.value,_=t.get(c);if(null!=_)if(!(null===(E=_.getLinkedRecords(p))||void 0===E?void 0:E.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(f))||void 0===t?void 0:t.getDataID())===l})))){var v=i.buildConnectionEdge(t,_,r);null==v&&s(!1),e(_,v)}}}catch(e){u.e(e)}finally{u.f()}};for(g.s();!(h=g.n()).done;){var E;m()}}catch(e){g.e(e)}finally{g.f()}}}}}function f(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs,h=d.connections,_=d.edgeTypeName;null==h&&s(!1),null==_&&s(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var f,p=a.get(),v=p.NODE,g=p.EDGES,m=null!==(o=c)&&void 0!==o?o:[u],E=(0,n.default)(m);try{var y=function(){var r=f.value;if(null==r)return"continue";var a,o=r.getDataID(),l=(0,n.default)(h);try{for(l.s();!(a=l.n()).done;){var u=a.value,c=t.get(u);if(null!=c)if(!(null===(b=c.getLinkedRecords(g))||void 0===b?void 0:b.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(v))||void 0===t?void 0:t.getDataID())===o})))){var d=i.createEdge(t,c,r,_);null==d&&s(!1),e(c,d)}}}catch(e){l.e(e)}finally{l.f()}};for(E.s();!(f=E.n()).done;){var b;y()}}catch(e){E.e(e)}finally{E.f()}}}}}e.exports={AppendEdgeHandler:u,DeleteRecordHandler:o,PrependEdgeHandler:c,AppendNodeHandler:d,PrependNodeHandler:h,DeleteEdgeHandler:l}},function(e,t,r){"use strict";var n=r(22),i=r(37),a=r(0);e.exports=function(e){switch(e){case"connection":return n;case"deleteRecord":return i.DeleteRecordHandler;case"deleteEdge":return i.DeleteEdgeHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler;case"appendNode":return i.AppendNodeHandler;case"prependNode":return i.PrependNodeHandler}a(!1)}},function(e,t,r){"use strict";var n=r(16),i=r(0);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&i(!1),r+JSON.stringify(n(t))}},function(e,t,r){"use strict";r(14),r(3);var n="function"==typeof WeakMap?new WeakMap:new Map;e.exports=function(e,t){if(null!=t){var r={};return Object.assign(r,e),Object.keys(t).forEach((function(e){var i=t[e].get,a=i();if(n.has(i)){var s=n.get(i);0,r[e]=s}else n.set(i,a),r[e]=a})),r}return e}},function(e,t,r){"use strict";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(17)),s=r(15),o=r(0),l=function(){function e(){var e=this;(0,a.default)(this,"_complete",!1),(0,a.default)(this,"_events",[]),(0,a.default)(this,"_sinks",new Set),(0,a.default)(this,"_subscription",[]),this._observable=s.create((function(t){e._sinks.add(t);for(var r=e._events,n=0;n<r.length&&!t.closed;n++){var i=r[n];switch(i.kind){case"complete":t.complete();break;case"error":t.error(i.error);break;case"next":t.next(i.data);break;default:i.kind,o(!1)}}return function(){e._sinks.delete(t)}}))}var t=e.prototype;return t.complete=function(){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach((function(e){return e.complete()})))},t.error=function(e){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"error",error:e}),this._sinks.forEach((function(t){return t.error(e)})))},t.next=function(e){!0!==this._complete&&(this._events.push({kind:"next",data:e}),this._sinks.forEach((function(t){return t.next(e)})))},t.subscribe=function(e){var t=this._observable.subscribe(e);return this._subscription.push(t),t},t.unsubscribe=function(){var e,t=(0,i.default)(this._subscription);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(e){t.e(e)}finally{t.f()}this._subscription=[]},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=l},function(e,t,r){"use strict";var n=r(31).getPromiseForActiveRequest;e.exports=function(e,t,r){var i,a,s=[],o=n(e,r);if(null!=o)s=[r];else{var l,u,c=e.getOperationTracker().getPendingOperationsAffectingOwner(r);s=null!==(l=null==c?void 0:c.pendingOperations)&&void 0!==l?l:[],o=null!==(u=null==c?void 0:c.promise)&&void 0!==u?u:null}if(!o)return null;var d=null!==(i=null===(a=s)||void 0===a?void 0:a.map((function(e){return e.node.params.name})).join(","))&&void 0!==i?i:null;null!=d&&0!==d.length||(d="Unknown pending operation");var h=t.name,_=d===h?"Relay(".concat(d,")"):"Relay(".concat(d,":").concat(h,")");return o.displayName=_,{promise:o,pendingOperations:s}}},function(e,t,r){"use strict";e.exports=function(e,t){return e===t&&(null===e||"object"!=typeof e)}},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(0),a=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=e.identifier,a=new Set,s=(0,n.default)(t);try{for(s.s();!(r=s.n()).done;){var o=r.value.identifier,l=this._ownersToPendingOperations.get(o);null!=l?l.has(i)||(l.set(i,e),a.add(o)):(this._ownersToPendingOperations.set(o,new Map([[i,e]])),a.add(o))}}catch(e){s.e(e)}finally{s.f()}if(0!==a.size){var u,c=this._pendingOperationsToOwners.get(i)||new Set,d=(0,n.default)(a);try{for(d.s();!(u=d.n()).done;){var h=u.value;this._resolveOwnerResolvers(h),c.add(h)}}catch(e){d.e(e)}finally{d.f()}this._pendingOperationsToOwners.set(i,c)}}},t.complete=function(e){var t=e.identifier,r=this._pendingOperationsToOwners.get(t);if(null!=r){var i,a=new Set,s=new Set,o=(0,n.default)(r);try{for(o.s();!(i=o.n()).done;){var l=i.value,u=this._ownersToPendingOperations.get(l);u&&(u.delete(t),u.size>0?s.add(l):a.add(l))}}catch(e){o.e(e)}finally{o.f()}var c,d=(0,n.default)(a);try{for(d.s();!(c=d.n()).done;){var h=c.value;this._resolveOwnerResolvers(h),this._ownersToPendingOperations.delete(h)}}catch(e){d.e(e)}finally{d.f()}var _,f=(0,n.default)(s);try{for(f.s();!(_=f.n()).done;){var p=_.value;this._resolveOwnerResolvers(p)}}catch(e){f.e(e)}finally{f.f()}this._pendingOperationsToOwners.delete(t)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPendingPromise.get(e);null!=t&&t.resolve(),this._ownersToPendingPromise.delete(e)},t.getPendingOperationsAffectingOwner=function(e){var t=e.identifier,r=this._ownersToPendingOperations.get(t);if(null==r||0===r.size)return null;var n,a=this._ownersToPendingPromise.get(t);if(null!=a)return{promise:a.promise,pendingOperations:a.pendingOperations};var s=new Promise((function(e){n=e}));null==n&&i(!1);var o=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:s,resolve:n,pendingOperations:o}),{promise:s,pendingOperations:o}},e}();e.exports=a},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";var n=r(49),i=n.VIEWER_ID,a=n.VIEWER_TYPE;e.exports=function(e,t){return t===a&&null==e.id?i:e.id}},function(e,t,r){"use strict";var n=(0,r(6).generateClientID)(r(2).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";function n(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];var s=0,o=r.replace(/%s/g,(function(){return String(i[s++])})),l=new Error(o),u=Object.assign(l,{name:t,messageFormat:r,messageParams:i,type:e,taalOpcodes:[2,2]});if(void 0===u.stack)try{throw u}catch(e){}return u}e.exports={create:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return n.apply(void 0,["error",e,t].concat(i))},createWarning:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return n.apply(void 0,["warn",e,t].concat(i))}}},function(e,t,r){"use strict";var n=r(9),i=r(25).EXISTENT,a=r(0),s=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);return void 0===r?null==t?t:n.clone(t):null===r?null:null!=t?n.update(t,r):n.clone(r)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||a(!1),t=n.create(e,n.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),i=this._base.get(e);r||i||a(!1);var s=this._getSinkRecord(t);i&&n.copyFields(i,s),r&&n.copyFields(r,s)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===i||this._sink.getStatus(e)===i)&&a(!1);var r=n.create(e,t);this._sink.set(e,r)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return n.getType(r);if(null===r)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getValue(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setValue=function(e,t,r){var i=this._getSinkRecord(e);n.setValue(i,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordID(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordID=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordID(i,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordIDs(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordIDs=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordIDs(i,t,r)},e}();e.exports=s},function(e,t,r){"use strict";var n=r(9),i=r(25),a=i.EXISTENT,s=i.NONEXISTENT,o=r(2),l=o.ROOT_ID,u=o.ROOT_TYPE,c=r(53).readUpdatableQuery_EXPERIMENTAL,d=r(82),h=r(0),_=function(){function e(e,t,r){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach((function(t){var i=e.getStatus(t);if(i===a){var o=e.get(t);o&&(r.__mutator.getStatus(t)!==a&&r.create(t,n.getType(o)),r.__mutator.copyFieldsFromRecord(o,t))}else i===s&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||h(!1),t.update(r,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var r=this.get(e);return r||h(!1),r},t.delete=function(e){e===l&&h(!1),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===a?new d(this,this.__mutator,e):t===s?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(l);return e||(e=this.create(l,u)),e&&e.getType()===u||h(!1),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return c(e,t,this)},e}();e.exports=_},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(10).getRequest,a=r(2).getArgumentValues,s=["id","__id","__typename","js"];function o(e,t,r,i,h){var _,f,p=(0,n.default)(i);try{var v=function(){var n=f.value;switch(n.kind){case"LinkedField":n.plural?Object.defineProperty(e,null!==(g=n.alias)&&void 0!==g?g:n.name,{get:c(n,r,t,h),set:l(n,r,t,h)}):Object.defineProperty(e,null!==(m=n.alias)&&void 0!==m?m:n.name,{get:d(n,r,t,h),set:u(n,r,t,h)});break;case"ScalarField":var i=null!==(_=n.alias)&&void 0!==_?_:n.name;Object.defineProperty(e,i,{get:function(){var e,i=a(null!==(e=n.args)&&void 0!==e?e:[],r);return t.getValue(n.name,i)},set:s.includes(n.name)?void 0:function(e){var i,s=a(null!==(i=n.args)&&void 0!==i?i:[],r);t.setValue(e,n.name,s)}});break;case"InlineFragment":t.getType()===n.type&&o(e,t,r,n.selections,h);break;case"ClientExtension":o(e,t,r,n.selections,h);break;case"FragmentSpread":break;default:throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(p.s();!(f=p.n()).done;){var g,m;v()}}catch(e){p.e(e)}finally{p.f()}}function l(e,t,r,n){return function(i){var s,o=a(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==i)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var l=i.map((function(e){if(null==e)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var t=e.__id;if(null==t)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var r=n.get(t);if(null==r)throw new Error("Did not find item with data id ".concat(t," in the store."));return r}));r.setLinkedRecords(l,e.name,o)}}function u(e,t,r,n){return function(i){var s,o=a(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==i)r.setValue(i,e.name,o);else{var l=i.__id;if(null==l)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=n.get(l);if(null==u)throw new Error("Did not find item with data id ".concat(l," in the store."));r.setLinkedRecord(u,e.name,o)}}}function c(e,t,r,n){return function(){var i,s=a(null!==(i=e.args)&&void 0!==i?i:[],t),l=r.getLinkedRecords(e.name,s);return null!=l?l.map((function(r){if(null!=r){var i={};return o(i,r,t,e.selections,n),i}return r})):l}}function d(e,t,r,n){return function(){var i,s=a(null!==(i=e.args)&&void 0!==i?i:[],t),l=r.getLinkedRecord(e.name,s);if(null!=l){var u={};return o(u,l,t,e.selections,n),u}return l}}e.exports={readUpdatableQuery_EXPERIMENTAL:function(e,t,r){var n=i(e),a={};return o(a,r.getRoot(),t,n.fragment.selections,r),a}}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(24),a=r(6).generateClientID,s=r(9),o=r(2),l=o.RELAY_RESOLVER_INPUTS_KEY,u=o.RELAY_RESOLVER_INVALIDATION_KEY,c=o.RELAY_RESOLVER_MISSING_REQUIRED_FIELDS_KEY,d=o.RELAY_RESOLVER_READER_SELECTOR_KEY,h=o.RELAY_RESOLVER_VALUE_KEY,_=o.getStorageKey,f=(r(3),new Set),p=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,i){var a=n();return[a.resolverResult,void 0,a.missingRequiredFields]},t.invalidateDataIDs=function(e){},e}();function v(e,t,r){var n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(r)}var g=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,i,o){var u=this._getRecordSource(),f=s.getDataID(e),p=_(t,r),g=s.getLinkedRecordID(e,p),m=null==g?null:u.get(g);if(null==m||this._isInvalid(m,o)){var E;g=null!==(E=g)&&void 0!==E?E:a(f,p),m=s.create(g,"__RELAY_RESOLVER__");var y=i();s.setValue(m,h,y.resolverResult),s.setValue(m,l,y.fragmentValue),s.setValue(m,d,y.readerSelector),s.setValue(m,c,y.missingRequiredFields),u.set(g,m);var b=s.clone(e);s.setLinkedRecordID(b,p,g),u.set(s.getDataID(b),b);var R=y.resolverID;v(this._resolverIDToRecordIDs,R,g),v(this._recordIDToResolverIDs,f,R);var I,D=(0,n.default)(y.seenRecordIDs);try{for(D.s();!(I=D.n()).done;){var S=I.value;v(this._recordIDToResolverIDs,S,R)}}catch(e){D.e(e)}finally{D.f()}}return[m[h],g,m[c]]},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,i=Array.from(e);i.length;){var a=i.pop();e.add(a);var s,o=(0,n.default)(null!==(l=this._recordIDToResolverIDs.get(a))&&void 0!==l?l:f);try{for(o.s();!(s=o.n()).done;){var l,u=s.value;if(!r.has(u)){var c,d=(0,n.default)(null!==(h=this._resolverIDToRecordIDs.get(u))&&void 0!==h?h:f);try{for(d.s();!(c=d.n()).done;){var h,_=c.value;this._markInvalidatedResolverRecord(_,t,e),r.has(_)||i.push(_)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){o.e(e)}finally{o.f()}}},t._markInvalidatedResolverRecord=function(e,t,r){var n=t.get(e);if(n){var i=s.clone(n);s.setValue(i,u,!0),t.set(e,i)}},t._isInvalid=function(e,t){if(!s.getValue(e,u))return!1;var r=s.getValue(e,l),n=s.getValue(e,d);if(null==r||null==n)return!0;var a=t(n);return i(r,a)!==r},e}();e.exports={NoopResolverCache:p,RecordResolverCache:g}},function(e,t,r){"use strict";var n=r(10).getFragment,i=r(11).getSelector,a=r(0),s=[];e.exports={readFragment:function(e,t){if(!s.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var r=s[s.length-1],o=n(e),l=i(o,t);return null==l&&a(!1),"SingularReaderSelector"!==l.kind&&a(!1),r.getDataForResolverFragment(l,t)},withResolverContext:function(e,t){s.push(e);try{return t()}finally{s.pop()}}}},function(e,t,r){"use strict";var n=r(7).LINKED_FIELD,i=r(2).getHandleStorageKey,a=r(14),s=r(0);e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));o&&o.kind===n||s(!1);var l=i(e,r);return{kind:"LinkedField",alias:o.alias,name:l,storageKey:l,args:null,concreteType:o.concreteType,plural:o.plural,selections:o.selections}}},function(e,t,r){"use strict";var n=r(0);e.exports=function(e,t){var r,i;!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)&&n(!1);var a=null===(i=e.metadata)||void 0===i?void 0:i.refetch;null==a&&n(!1);var s=a.operation.default?a.operation.default:a.operation,o=a.fragmentPathInResult;"string"==typeof s&&n(!1);var l=a.identifierField;return null!=l&&"string"!=typeof l&&n(!1),{fragmentRefPathInResponse:o,identifierField:l,refetchableRequest:s,refetchMetadata:a}}},function(e,t,r){"use strict";var n=r(22),i=r(28),a=r(37),s=r(38),o=r(59),l=r(60),u=r(61),c=r(23),d=r(63),h=r(15),_=r(65),f=r(66),p=r(67),v=r(31),g=r(10),m=r(68),E=r(6),y=E.generateClientID,b=E.generateUniqueClientID,R=E.isClientID,I=r(69),D=r(71),S=r(29),A=r(72),T=r(13),F=r(73),k=r(12),N=r(9),O=r(11),P=r(84),L=r(46),C=r(20),w=r(2),M=r(55),x=r(49),V=r(92),U=r(93),q=r(19),K=r(94),H=r(96),G=r(97),j=r(43),Y=r(57),z=r(27),B=r(39),Q=r(98),W=r(41),X=r(44),J=r(24),Z=r(7),$=r(36),ee=r(50),te=r(5),re=r(99),ne=r(42),ie=r(30),ae=r(16),se=r(40);e.exports={Environment:F,Network:d,Observable:h,QueryResponseCache:_,RecordSource:C,Record:N,ReplaySubject:ne,Store:P,areEqualSelectors:O.areEqualSelectors,createFragmentSpecResolver:I,createNormalizationSelector:O.createNormalizationSelector,createOperationDescriptor:k.createOperationDescriptor,createReaderSelector:O.createReaderSelector,createRequestDescriptor:k.createRequestDescriptor,getDataIDsFromFragment:O.getDataIDsFromFragment,getDataIDsFromObject:O.getDataIDsFromObject,getNode:g.getNode,getFragment:g.getFragment,getInlineDataFragment:g.getInlineDataFragment,getModuleComponentKey:w.getModuleComponentKey,getModuleOperationKey:w.getModuleOperationKey,getPaginationFragment:g.getPaginationFragment,getPluralSelector:O.getPluralSelector,getRefetchableFragment:g.getRefetchableFragment,getRequest:g.getRequest,getRequestIdentifier:B,getSelector:O.getSelector,getSelectorsFromObject:O.getSelectorsFromObject,getSingularSelector:O.getSingularSelector,getStorageKey:w.getStorageKey,getVariablesFromFragment:O.getVariablesFromFragment,getVariablesFromObject:O.getVariablesFromObject,getVariablesFromPluralFragment:O.getVariablesFromPluralFragment,getVariablesFromSingularFragment:O.getVariablesFromSingularFragment,reportMissingRequiredFields:ie,graphql:g.graphql,isFragment:g.isFragment,isInlineDataFragment:g.isInlineDataFragment,isRequest:g.isRequest,readInlineData:A,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:s,ConnectionHandler:n,MutationHandlers:a,VIEWER_ID:x.VIEWER_ID,VIEWER_TYPE:x.VIEWER_TYPE,applyOptimisticMutation:o,commitLocalUpdate:l,commitMutation:u,fetchQuery:f,fetchQuery_DEPRECATED:p,isRelayModernEnvironment:S,requestSubscription:V,ConnectionInterface:i,PreloadableQueryRegistry:m,RelayProfiler:re,createPayloadFor3DField:U,RelayConcreteNode:Z,RelayError:ee,RelayFeatureFlags:te,DEFAULT_HANDLE_KEY:$.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:w.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:w.FRAGMENT_OWNER_KEY,ID_KEY:w.ID_KEY,REF_KEY:w.REF_KEY,REFS_KEY:w.REFS_KEY,ROOT_ID:w.ROOT_ID,ROOT_TYPE:w.ROOT_TYPE,TYPENAME_KEY:w.TYPENAME_KEY,deepFreeze:q,generateClientID:y,generateUniqueClientID:b,getRelayHandleKey:z,isClientID:R,isPromise:W,isScalarAndEqual:X,recycleNodesInto:J,stableCopy:ae,getFragmentIdentifier:K,getRefetchMetadata:Y,getPaginationMetadata:H,getPaginationVariables:G,getPendingOperationsForFragment:j,getValueAtPath:Q,__internal:{ResolverFragments:M,OperationTracker:L,createRelayContext:D,getOperationVariables:T.getOperationVariables,fetchQuery:v.fetchQuery,fetchQueryDeduped:v.fetchQueryDeduped,getPromiseForActiveRequest:v.getPromiseForActiveRequest,getObservableForActiveRequest:v.getObservableForActiveRequest,withProvidedVariables:se}}},function(e,t,r){"use strict";var n=r(10).getRequest,i=r(29),a=r(12).createOperationDescriptor,s=r(23),o=r(0);e.exports=function(e,t){i(e)||o(!1);var r=n(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");var l=t.optimisticUpdater,u=t.configs,c=t.optimisticResponse,d=t.variables,h=a(r,d);return u&&(l=s.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:h,response:c,updater:l})}},function(e,t,r){"use strict";e.exports=function(e,t){e.commitUpdate(t)}},function(e,t,r){"use strict";var n=r(1)(r(18)),i=r(10).getRequest,a=r(6).generateUniqueClientID,s=r(29),o=r(12).createOperationDescriptor,l=r(23),u=(r(62),r(0));r(3);e.exports=function(e,t){s(e)||u(!1);var r=i(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");if("Request"!==r.kind)throw new Error("commitMutation: Expected mutation to be of type request");var c=t.optimisticResponse,d=t.optimisticUpdater,h=t.updater,_=t.configs,f=t.cacheConfig,p=t.onError,v=t.onUnsubscribe,g=t.variables,m=t.uploadables,E=o(r,g,f,a());if("function"==typeof c&&(c=c()),_){var y=l.convert(_,r,d,h);d=y.optimisticUpdater,h=y.updater}var b=[];return{dispose:e.executeMutation({operation:E,optimisticResponse:c,optimisticUpdater:d,updater:h,uploadables:m}).subscribe({next:function(e){var r;Array.isArray(e)?e.forEach((function(e){e.errors&&b.push.apply(b,(0,n.default)(e.errors))})):e.errors&&b.push.apply(b,(0,n.default)(e.errors)),null===(r=t.onNext)||void 0===r||r.call(t)},complete:function(){var r=t.onCompleted;r&&r(e.lookup(E.fragment).data,0!==b.length?b:null)},error:p,unsubscribe:v}).unsubscribe}}},function(e,t,r){"use strict";r(1)(r(8));var n=r(7);n.ACTOR_CHANGE,n.CLIENT_COMPONENT,n.CLIENT_EXTENSION,n.CONDITION,n.DEFER,n.FLIGHT_FIELD,n.FRAGMENT_SPREAD,n.INLINE_FRAGMENT,n.LINKED_FIELD,n.LINKED_HANDLE,n.MODULE_IMPORT,n.SCALAR_FIELD,n.SCALAR_HANDLE,n.STREAM,n.TYPE_DISCRIMINATOR,r(3),Object.prototype.hasOwnProperty;e.exports=function(){}},function(e,t,r){"use strict";var n=r(40),i=r(64).convertFetch,a=r(0);e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,s,o,l){var u=n(i,e.providedVariables);if("subscription"===e.operationKind)return t||a(!1),o&&a(!1),t(e,u,s);var c=s.poll;return null!=c?(o&&a(!1),r(e,u,{force:!0}).poll(c)):r(e,u,s,o,l)}}}}},function(e,t,r){"use strict";var n=r(15);e.exports={convertFetch:function(e){return function(t,r,i,a,s){var o=e(t,r,i,a,s);return o instanceof Error?n.create((function(e){return e.error(o)})):n.from(o)}}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(16),a=r(0),s=function(){function e(e){var t=e.size,r=e.ttl;t>0||a(!1),r>0||a(!1),this._responses=new Map,this._size=t,this._ttl=r}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(e,t){var r=this,i=o(e,t);this._responses.forEach((function(e,t){var n,i;n=e.fetchTime,i=r._ttl,n+i>=Date.now()||r._responses.delete(t)}));var a=this._responses.get(i);return null==a?null:Array.isArray(a.payload)?a.payload.map((function(e){return(0,n.default)((0,n.default)({},e),{},{extensions:(0,n.default)((0,n.default)({},e.extensions),{},{cacheTimestamp:a.fetchTime})})})):(0,n.default)((0,n.default)({},a.payload),{},{extensions:(0,n.default)((0,n.default)({},a.payload.extensions),{},{cacheTimestamp:a.fetchTime})})},t.set=function(e,t,r){var n=Date.now(),i=o(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var a=this._responses.keys().next();a.done||this._responses.delete(a.value)}},e}();function o(e,t){return JSON.stringify(i({queryID:e,variables:t}))}e.exports=s},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(15),a=r(12).createOperationDescriptor,s=r(30),o=r(31),l=r(10).getRequest,u=r(0);function c(e,t){return o.fetchQuery(e,t).map((function(){return e.lookup(t.fragment)}))}e.exports=function(e,t,r,o){var d,h=l(t);"query"!==h.params.operationKind&&u(!1);var _=(0,n.default)({force:!0},null==o?void 0:o.networkCacheConfig),f=a(h,r,_),p=null!==(d=null==o?void 0:o.fetchPolicy)&&void 0!==d?d:"network-only";function v(t){return null!=t.missingRequiredFields&&s(e,t.missingRequiredFields),t.data}switch(p){case"network-only":return c(e,f).map(v);case"store-or-network":return"available"===e.check(f).status?i.from(e.lookup(f.fragment)).map(v):c(e,f).map(v);default:throw new Error("fetchQuery: Invalid fetchPolicy "+p)}}},function(e,t,r){"use strict";var n=r(12).createOperationDescriptor,i=r(10).getRequest;e.exports=function(e,t,r,a){var s=i(t);if("query"!==s.params.operationKind)throw new Error("fetchQuery: Expected query operation");var o=n(s,r,a);return e.execute({operation:o}).map((function(){return e.lookup(o.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var t=e.prototype;return t.set=function(e,t){this._preloadableQueries.set(e,t);var r=this._callbacks.get(e);null!=r&&r.forEach((function(e){try{e(t)}catch(e){setTimeout((function(){throw e}),0)}}))},t.get=function(e){return this._preloadableQueries.get(e)},t.onLoad=function(e,t){var r,n=null!==(r=this._callbacks.get(e))&&void 0!==r?r:new Set;n.add(t);return this._callbacks.set(e,n),{dispose:function(){n.delete(t)}}},t.clear=function(){this._preloadableQueries.clear()},e}());e.exports=n},function(e,t,r){"use strict";var n=r(70);r(3);e.exports=function(e,t,r,i,a,s){return new n(e,r,i,s,a)}},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),a=n(r(17)),s=r(43),o=r(44),l=r(24),u=r(5),c=r(30),d=r(12).createRequestDescriptor,h=r(11),_=h.areEqualSelectors,f=h.createReaderSelector,p=h.getSelectorsFromObject,v=r(14),g=r(0),m=(r(3),function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(){s._stale=!0,"function"==typeof s._callback&&s._callback()})),this._callback=n,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=i,this.setProps(r)}var t=e.prototype;return t.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&b(this._resolvers[e])},t.resolve=function(){if(this._stale){var e,t=this._data;for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r],a=t[r];if(n){var s=n.resolve();(e||s!==a)&&((e=e||(0,i.default)({},t))[r]=s)}else{var l=this._props[r],u=void 0!==l?l:null;!e&&o(u,a)||((e=e||(0,i.default)({},t))[r]=u)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e,t){this._callback=t,!0===u.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},t.setProps=function(e){this._props={};var t=p(this._fragments,e);for(var r in t)if(t.hasOwnProperty(r)){var n=t[r],i=this._resolvers[r];null==n?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===n.kind?null==i?i=new y(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof y||g(!1),i.setSelector(n)):null==i?i=new E(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof E||g(!1),i.setSelector(n)),this._props[r]=e[r],this._resolvers[r]=i}this._stale=!0},t.setVariables=function(e,t){for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r];n&&n.setVariables(e,t)}this._stale=!0},e}()),E=function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(e){s._data=e.data,s._isMissingData=e.isMissingData,s._missingRequiredFields=e.missingRequiredFields,s._callback()}));var o=e.lookup(r);this._callback=i,this._data=o.data,this._isMissingData=o.isMissingData,this._missingRequiredFields=o.missingRequiredFields,this._environment=e,this._rootIsQueryRenderer=t,this._selector=r,!0===u.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?n&&(this._subscription=e.subscribe(o,this._onChange)):this._subscription=e.subscribe(o,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){if(!0===this._isMissingData){var e=s(this._environment,this._selector.node,this._selector.owner),t=null==e?void 0:e.promise;if(null!=t&&!this._rootIsQueryRenderer){var r,n=null!==(r=null==e?void 0:e.pendingOperations)&&void 0!==r?r:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:n}),t}}return null!=this._missingRequiredFields&&c(this._environment,this._missingRequiredFields),this._data},t.setSelector=function(e){if(null==this._subscription||!_(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=l(this._data,t.data),this._isMissingData=t.isMissingData,this._missingRequiredFields=t.missingRequiredFields,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!v(e,this._selector.variables)){var r=d(t,e),n=f(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),y=function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(e){s._stale=!0,s._callback()})),this._callback=i,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=t,this._subscribeOnConstruction=n,this.setSelector(r)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(b)},t.resolve=function(){if(this._stale){for(var e,t=this._data,r=0;r<this._resolvers.length;r++){var n=t[r],i=this._resolvers[r].resolve();(e||i!==n)&&(e=e||t.slice(0,r)).push(i)}e||this._resolvers.length===t.length||(e=t.slice(0,this._resolvers.length)),this._data=e||t,this._stale=!1}return this._data},t.setSelector=function(e){for(var t=e.selectors;this._resolvers.length>t.length;){this._resolvers.pop().dispose()}for(var r=0;r<t.length;r++)r<this._resolvers.length?this._resolvers[r].setSelector(t[r]):this._resolvers[r]=new E(this._environment,this._rootIsQueryRenderer,t[r],this._subscribeOnConstruction,this._onChange);this._stale=!0},t.setVariables=function(e,t){this._resolvers.forEach((function(r){return r.setVariables(e,t)})),this._stale=!0},e}();function b(e){e&&e.dispose()}e.exports=m},function(e,t,r){"use strict";var n,i,a=r(0);e.exports=function(e){return n||(n=e.createContext(null),i=e),e!==i&&a(!1),n}},function(e,t,r){"use strict";var n=r(10).getInlineDataFragment,i=r(2).FRAGMENTS_KEY,a=r(0);e.exports=function(e,t){var r,s=n(e);if(null==t)return t;"object"!=typeof t&&a(!1);var o=null===(r=t[i])||void 0===r?void 0:r[s.name];return null==o&&a(!1),o}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(38),a=r(32),s=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,o=a.assertInternalActorIndentifier,l=r(15),u=r(74),c=r(46),d=r(75),h=r(5),_=r(48),f=r(76),p=r(77),v=r(81),g=r(20),m=(r(0),function(){function e(e){var t,r,n,a,s,o,l,p,g=this;this.configName=e.configName,this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var m=e.operationLoader,y=e.reactFlightPayloadDeserializer,b=e.reactFlightServerErrorHandler;this.__log=null!==(t=e.log)&&void 0!==t?t:E,this.requiredFieldLogger=null!==(r=e.requiredFieldLogger)&&void 0!==r?r:f,this._defaultRenderPolicy=(null!==(n=e.UNSTABLE_defaultRenderPolicy)&&void 0!==n?n:!0===h.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=m,this._operationExecutions=new Map,this._network=u(this,e.network),this._getDataID=null!==(a=e.getDataID)&&void 0!==a?a:_,this._publishQueue=new v(e.store,null!==(s=e.handlerProvider)&&void 0!==s?s:i,this._getDataID),this._scheduler=null!==(o=e.scheduler)&&void 0!==o?o:null,this._store=e.store,this.options=e.options,this._isServer=null!==(l=e.isServer)&&void 0!==l&&l,this.__setNet=function(e){return g._network=u(g,e)},this._missingFieldHandlers=e.missingFieldHandlers,this._operationTracker=null!==(p=e.operationTracker)&&void 0!==p?p:new c,this._reactFlightPayloadDeserializer=y,this._reactFlightServerErrorHandler=b,this._shouldProcessClientComponents=e.shouldProcessClientComponents,d(this)}var t=e.prototype;return t.getStore=function(){return this._store},t.getNetwork=function(){return this._network},t.getOperationTracker=function(){return this._operationTracker},t.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(e){var t=this;return this._scheduleUpdates((function(){t._publishQueue.applyUpdate(e),t._publishQueue.run()})),{dispose:function(){t._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))}}},t.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},t.replaceUpdate=function(e,t){var r=this;this._scheduleUpdates((function(){r._publishQueue.revertUpdate(e),r._publishQueue.applyUpdate(t),r._publishQueue.run()}))},t.applyMutation=function(e){var t=this._execute({createSource:function(){return l.create((function(e){}))},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},t.check=function(e){return null==this._missingFieldHandlers||0===this._missingFieldHandlers.length?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},t.commitPayload=function(e,t){this._execute({createSource:function(){return l.from({data:t})},isClientPayload:!0,operation:e,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},t.lookup=function(e){return this._store.lookup(e)},t.subscribe=function(e,t){return this._store.subscribe(e,t)},t.retain=function(e){return this._store.retain(e)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(e,t){var r=this,n=g.create(),i=this._store.getSource(),a=this._store.check(e,{handlers:t,defaultActorIdentifier:s,getSourceForActor:function(e){return o(e),i},getTargetForActor:function(e){return o(e),n}});return n.size()>0&&this._scheduleUpdates((function(){r._publishQueue.commitSource(n),r._publishQueue.run()})),a},t._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},t.execute=function(e){var t=this,r=e.operation;return this._execute({createSource:function(){return t._network.execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:null})},t.executeSubscription=function(e){var t=this,r=e.operation,n=e.updater;return this._execute({createSource:function(){return t._network.execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:n})},t.executeMutation=function(e){var t,r=this,i=e.operation,a=e.optimisticResponse,s=e.optimisticUpdater,o=e.updater,l=e.uploadables;return(a||s)&&(t={operation:i,response:a,updater:s}),this._execute({createSource:function(){return r._network.execute(i.request.node.params,i.request.variables,(0,n.default)((0,n.default)({},i.request.cacheConfig),{},{force:!0}),l)},isClientPayload:!1,operation:i,optimisticConfig:t,updater:o})},t.executeWithSource=function(e){var t=e.operation,r=e.source;return this._execute({createSource:function(){return r},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},t.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},t._execute=function(e){var t=this,r=e.createSource,n=e.isClientPayload,i=e.operation,a=e.optimisticConfig,u=e.updater,c=this._publishQueue,d=this._store;return l.create((function(e){var l=p.execute({actorIdentifier:s,getDataID:t._getDataID,isClientPayload:n,log:t.__log,operation:i,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:a,getPublishQueue:function(e){return o(e),c},reactFlightPayloadDeserializer:t._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:r(),getStore:function(e){return o(e),d},treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,updater:u});return function(){return l.cancel()}}))},e}());function E(){}m.prototype["@@RelayModernEnvironment"]=!0,e.exports=m},function(e,t,r){"use strict";var n=r(45);e.exports=function(e,t){return{execute:function(r,i,a,s){var o=n(),l={start:function(t){e.__log({name:"network.start",networkRequestId:o,params:r,variables:i,cacheConfig:a})},next:function(t){e.__log({name:"network.next",networkRequestId:o,response:t})},error:function(t){e.__log({name:"network.error",networkRequestId:o,error:t})},complete:function(){e.__log({name:"network.complete",networkRequestId:o})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:o})}};return t.execute(r,i,a,s,(function(t){e.__log({name:"network.info",networkRequestId:o,info:t})})).do(l)}}}},function(e,t,r){"use strict";(function(t){e.exports=function(e){var r=void 0!==t?t:"undefined"!=typeof window?window:void 0,n=r&&r.__RELAY_DEVTOOLS_HOOK__;n&&n.registerEnvironment(e)}}).call(this,r(47))},function(e,t,r){"use strict";e.exports=function(e){0}},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),a=n(r(4)),s=n(r(17)),o=n(r(18)),l=r(15),u=r(45),c=r(33),d=r(50),h=r(5),_=r(16),f=r(78),p=r(6),v=p.generateClientID,g=p.generateUniqueClientID,m=r(13).getLocalVariables,E=r(9),y=r(11),b=y.createNormalizationSelector,R=y.createReaderSelector,I=r(20),D=r(79),S=r(2),A=S.ROOT_TYPE,T=S.TYPENAME_KEY,F=S.getStorageKey,k=r(0);r(3);var N=function(){function e(e){var t=this,r=e.actorIdentifier,n=e.getDataID,i=e.getPublishQueue,a=e.getStore,o=e.isClientPayload,l=e.operation,c=e.operationExecutions,d=e.operationLoader,h=e.operationTracker,_=e.optimisticConfig,p=e.reactFlightPayloadDeserializer,v=e.reactFlightServerErrorHandler,g=e.scheduler,m=e.shouldProcessClientComponents,E=e.sink,y=e.source,b=e.treatMissingFieldsAsNull,R=e.updater,I=e.log;(0,s.default)(this,"_deserializeReactFlightPayloadWithLogging",(function(e){var r=t._reactFlightPayloadDeserializer;"function"!=typeof r&&k(!1);var n=f((function(){return r(e)})),i=n[0],a=n[1];return t._log({name:"execute.flight.payload_deserialize",executeId:t._executeId,operationName:t._operation.request.node.params.name,duration:i}),a})),this._actorIdentifier=r,this._getDataID=n,this._treatMissingFieldsAsNull=b,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=I,this._executeId=u(),this._nextSubscriptionId=0,this._operation=l,this._operationExecutions=c,this._operationLoader=d,this._operationTracker=h,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._getPublishQueue=i,this._scheduler=g,this._sink=E,this._source=new Map,this._state="started",this._getStore=a,this._subscriptions=new Map,this._updater=R,this._isClientPayload=!0===o,this._reactFlightPayloadDeserializer=p,this._reactFlightServerErrorHandler=v,this._isSubscriptionOperation="subscription"===this._operation.request.node.params.operationKind,this._shouldProcessClientComponents=m,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[];var D=this._nextSubscriptionId++;y.subscribe({complete:function(){return t._complete(D)},error:function(e){return t._error(e)},next:function(e){try{t._next(D,e)}catch(e){E.error(e)}},start:function(e){var r;t._start(D,e),t._log({name:"execute.start",executeId:t._executeId,params:t._operation.request.node.params,variables:t._operation.request.variables,cacheConfig:null!==(r=t._operation.request.cacheConfig)&&void 0!==r?r:{}})}}),null!=_&&this._processOptimisticResponse(null!=_.response?{data:_.response}:null,_.updater,!1)}var t=e.prototype;return t.cancel=function(){var e=this;if("completed"!==this._state){this._state="completed",this._operationExecutions.delete(this._operation.request.identifier),0!==this._subscriptions.size&&(this._subscriptions.forEach((function(e){return e.unsubscribe()})),this._subscriptions.clear());var t=this._optimisticUpdates;null!==t&&(this._optimisticUpdates=null,t.forEach((function(t){return e._getPublishQueueAndSaveActor().revertUpdate(t)})),this._runPublishQueue()),this._incrementalResults.clear(),null!=this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable.dispose(),this._asyncStoreUpdateDisposable=null),this._completeFns=[],this._completeOperationTracker(),this._disposeRetainedData()}},t._updateActiveState=function(){var e;switch(this._state){case"started":case"loading_incremental":e="active";break;case"completed":e="inactive";break;case"loading_final":e=this._pendingModulePayloadsCount>0?"active":"inactive";break;default:this._state,k(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},t._schedule=function(e){var t=this,r=this._scheduler;if(null!=r){var n=this._nextSubscriptionId++;l.create((function(t){var n=r.schedule((function(){try{e(),t.complete()}catch(e){t.error(e)}}));return function(){return r.cancel(n)}})).subscribe({complete:function(){return t._complete(n)},error:function(e){return t._error(e)},start:function(e){return t._start(n,e)}})}else e()},t._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},t._error=function(e){this.cancel(),this._sink.error(e),this._log({name:"execute.error",executeId:this._executeId,error:e})},t._start=function(e,t){this._subscriptions.set(e,t),this._updateActiveState()},t._next=function(e,t){var r=this;this._schedule((function(){var e=f((function(){r._handleNext(t),r._maybeCompleteSubscriptionOperationTracking()}))[0];r._log({name:"execute.next",executeId:r._executeId,response:t,duration:e})}))},t._handleErrorResponse=function(e){var t=this,r=[];return e.forEach((function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var n=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,i=n?n.map((function(e){return e.message})).join("\n"):"(No errors)",a=d.create("RelayNetwork","No data returned for operation `"+t._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw a.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},a.stack,a}var s=e;r.push(s)}})),r},t._handleOptimisticResponses=function(e){var t;if(e.length>1)return e.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.isOptimistic)}))&&k(!1),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&k(!1),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var t=Array.isArray(e)?e:[e],r=this._handleErrorResponse(t);if(0===r.length)return t.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.is_final)}))&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),void this._sink.next(e);if(!this._handleOptimisticResponses(r)){var n=function(e){var t=[],r=[];return e.forEach((function(e){if(null!=e.path||null!=e.label){var n=e.label,i=e.path;null!=n&&null!=i||k(!1),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],a=n[1],s=i.length>0;if(s){if(this._isSubscriptionOperation){var o=g();this._operation={request:this._operation.request,fragment:R(this._operation.fragment.node,o,this._operation.fragment.variables,this._operation.fragment.owner),root:b(this._operation.root.node,o,this._operation.root.variables)}}var l=this._processResponses(i);this._processPayloadFollowups(l)}if(a.length>0){var u=this._processIncrementalResponses(a);this._processPayloadFollowups(u)}this._isSubscriptionOperation&&(null==r[0].extensions?r[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:r[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var c=this._runPublishQueue(s?this._operation:void 0);s&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(c),this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&k(!1),null!=e||null!=t){var i=[];if(e){var a=O(e,this._operation.root,A,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:r});P(a),i.push({operation:this._operation,payload:a,updater:t}),this._processOptimisticFollowups(a,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._getPublishQueueAndSaveActor().applyUpdate(e)})),this._runPublishQueue()}},t._processOptimisticFollowups=function(e,t){if(e.followupPayloads&&e.followupPayloads.length){var r,n=e.followupPayloads,i=(0,a.default)(n);try{for(i.s();!(r=i.n()).done;){var s=r.value;switch(s.kind){case"ModuleImportPayload":var l=this._expectOperationLoader().get(s.operationReference);if(null==l)this._processAsyncOptimisticModuleImport(s);else{var u=this._processOptimisticModuleImport(l,s);t.push.apply(t,(0,o.default)(u))}break;case"ActorPayload":break;default:k(!1)}}}catch(e){i.e(e)}finally{i.f()}}},t._normalizeFollowupPayload=function(e,t){var r;r="SplitOperation"===t.kind&&"ModuleImportPayload"===e.kind?m(e.variables,t.argumentDefinitions,e.args):e.variables;var n=b(t,e.dataID,r);return O({data:e.data},n,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(e,t){var r=c(e),n=[],i=this._normalizeFollowupPayload(t,r);return P(i),n.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,n),n},t._processAsyncOptimisticModuleImport=function(e){var t=this;this._expectOperationLoader().load(e.operationReference).then((function(r){if(null!=r&&"started"===t._state){var n,i=t._processOptimisticModuleImport(r,e);if(i.forEach((function(e){return t._getPublishQueueAndSaveActor().applyUpdate(e)})),null==t._optimisticUpdates);else(n=t._optimisticUpdates).push.apply(n,(0,o.default)(i)),t._runPublishQueue()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){t._getPublishQueueAndSaveActor().revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var r=O(e,t._operation.root,A,{actorIdentifier:t._actorIdentifier,getDataID:t._getDataID,path:[],reactFlightPayloadDeserializer:null!=t._reactFlightPayloadDeserializer?t._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,shouldProcessClientComponents:t._shouldProcessClientComponents});return t._getPublishQueueAndSaveActor().commitPayload(t._operation,r,t._updater),r}))},t._processPayloadFollowups=function(e){var t=this;"completed"!==this._state&&e.forEach((function(e){var r=e.incrementalPlaceholders,n=e.followupPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length&&n.forEach((function(e){var r,n=t._actorIdentifier;t._actorIdentifier=null!==(r=e.actorIdentifier)&&void 0!==r?r:t._actorIdentifier,t._processFollowupPayload(e),t._actorIdentifier=n})),r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){var n,i=t._actorIdentifier;t._actorIdentifier=null!==(n=r.actorIdentifier)&&void 0!==n?n:t._actorIdentifier,t._processIncrementalPlaceholder(e,r),t._actorIdentifier=i})),t._isClientPayload||"loading_final"===t._state)){var a=[];r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0&&t._processPayloadFollowups(a)}}))},t._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processFollowupPayload=function(e){var t=this;switch(e.kind){case"ModuleImportPayload":var r=this._expectOperationLoader(),n=r.get(e.operationReference);if(null!=n)this._processFollowupPayloadWithNormalizationNode(e,c(n));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var a=function(){t._pendingModulePayloadsCount--,t._maybeCompleteSubscriptionOperationTracking()},s=l.from(new Promise((function(t,n){r.load(e.operationReference).then(t,n)})));l.create((function(r){var n,i=s.subscribe({next:function(i){if(null!=i){var a=function(){try{var n=c(i),a=h.BATCH_ASYNC_MODULE_UPDATES_FN,s=null!=a&&t._pendingModulePayloadsCount>1,o=f((function(){if(t._handleFollowupPayload(e,n),s)t._scheduleAsyncStoreUpdate(a,r.complete);else{var i=t._runPublishQueue();t._updateOperationTracker(i)}}))[0];t._log({name:"execute.async.module",executeId:t._executeId,operationName:n.name,duration:o}),s||r.complete()}catch(e){r.error(e)}},s=t._scheduler;null==s?a():n=s.schedule(a)}else r.complete()},error:r.error});return function(){i.unsubscribe(),null!=t._scheduler&&null!=n&&t._scheduler.cancel(n)}})).subscribe({complete:function(){t._complete(i),a()},error:function(e){t._error(e),a()},start:function(e){return t._start(i,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:k(!1)}},t._processFollowupPayloadWithNormalizationNode=function(e,t){this._handleFollowupPayload(e,t),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(e,t){var r=this._normalizeFollowupPayload(e,t);this._getPublishQueueAndSaveActor().commitPayload(this._operation,r),this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=t.label,i=t.path.map(String).join("."),a=this._incrementalResults.get(n);null==a&&(a=new Map,this._incrementalResults.set(n,a));var s,o=a.get(i),l=null!=o&&"response"===o.kind?o.responses:null;a.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?s=t.parentID:"defer"===t.kind?s=t.selector.dataID:k(!1);var u,c,d=e.source.get(s),h=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=v(e.dataID,e.fieldKey);return e.dataID===s||t===s}));null==d&&k(!1);var f=this._source.get(s);if(null!=f){u=E.update(f.record,d);var p=new Map,g=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(_(t)))&&void 0!==r?r:"");p.set(n,e)};f.fieldPayloads.forEach(g),h.forEach(g),c=Array.from(p.values())}else u=d,c=h;if(this._source.set(s,{record:u,fieldPayloads:c}),null!=l){var m=this._processIncrementalResponses(l);this._processPayloadFollowups(m)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,a=e.response,s=t._incrementalResults.get(n);if(null==s&&(s=new Map,t._incrementalResults.set(n,s)),-1!==n.indexOf("$defer$")){var o=i.map(String).join("."),l=s.get(o);if(null==l)return l={kind:"response",responses:[e]},void s.set(o,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&k(!1),r.push(t._processDeferResponse(n,i,u,a))}else{var c=i.slice(0,-2).map(String).join("."),d=s.get(c);if(null==d)return d={kind:"response",responses:[e]},void s.set(c,d);if("response"===d.kind)return void d.responses.push(e);var h=d.placeholder;"stream"!==h.kind&&k(!1),r.push(t._processStreamResponse(n,i,h,a))}})),r},t._processDeferResponse=function(e,t,r,n){var i,a=r.selector.dataID,s=this._actorIdentifier;this._actorIdentifier=null!==(i=r.actorIdentifier)&&void 0!==i?i:this._actorIdentifier;var o=O(n,r.selector,r.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:r.path,reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,o);var l=this._source.get(a);null==l&&k(!1);var u=l.fieldPayloads;if(0!==u.length){var c,d={errors:null,fieldPayloads:u,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!0===(null===(c=n.extensions)||void 0===c?void 0:c.is_final)};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=s,o},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,a=r.node,s=r.variables,l=r.actorIdentifier,u=this._actorIdentifier;this._actorIdentifier=null!=l?l:this._actorIdentifier;var c=a.selections[0];(null==c||"LinkedField"!==c.kind||!0!==c.plural)&&k(!1);var d=this._normalizeStreamItem(n,i,c,s,t,r.path),h=d.fieldPayloads,_=d.itemID,f=d.itemIndex,p=d.prevIDs,v=d.relayPayload,g=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===p.length&&!r.some((function(e,t){return p[t]!==(e&&e.getDataID())}))){var n=(0,o.default)(r);n[f]=e.get(_),t.setLinkedRecords(n,g)}}})),0!==h.length){var m={errors:null,fieldPayloads:h,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,m)}return this._actorIdentifier=u,v},t._normalizeStreamItem=function(e,t,r,n,i,a){var s,l,u,c=e.data;"object"!=typeof c&&k(!1);var d=null!==(s=r.alias)&&void 0!==s?s:r.name,h=F(r,n),_=this._source.get(t);null==_&&k(!1);var f=_.record,p=_.fieldPayloads,g=E.getLinkedRecordIDs(f,h);null==g&&k(!1);var m=i[i.length-1],y=parseInt(m,10);y===m&&y>=0||k(!1);var R=null!==(l=r.concreteType)&&void 0!==l?l:c[T];"string"!=typeof R&&k(!1);var I=(null!==(u=this._getDataID(c,R))&&void 0!==u?u:g&&g[y])||v(t,h,y);"string"!=typeof I&&k(!1);var D=b(r,I,n),S=E.clone(f),A=(0,o.default)(g);return A[y]=I,E.setLinkedRecordIDs(S,h,A),this._source.set(t,{record:S,fieldPayloads:p}),{fieldPayloads:p,itemID:I,itemIndex:y,prevIDs:g,relayPayload:O(e,D,R,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,o.default)(a),[d,String(y)]),reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents}),storageKey:h}},t._scheduleAsyncStoreUpdate=function(e,t){var r=this;this._completeFns.push(t),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e((function(){r._asyncStoreUpdateDisposable=null;var e=r._runPublishQueue();r._updateOperationTracker(e);var t,n=(0,a.default)(r._completeFns);try{for(n.s();!(t=n.n()).done;){(0,t.value)()}}catch(e){n.e(e)}finally{n.f()}r._completeFns=[]})))},t._updateOperationTracker=function(e){null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},t._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},t._getActorsToVisit=function(){return 0===this._seenActors.size?new Set([this._actorIdentifier]):this._seenActors},t._runPublishQueue=function(e){var t,r=new Set,n=(0,a.default)(this._getActorsToVisit());try{for(n.s();!(t=n.n()).done;){var i=t.value;this._getPublishQueue(i).run(e).forEach((function(e){return r.add(e)}))}}catch(e){n.e(e)}finally{n.f()}return Array.from(r)},t._retainData=function(){var e,t=(0,a.default)(this._getActorsToVisit());try{for(t.s();!(e=t.n()).done;){var r=e.value;this._retainDisposables.has(r)||this._retainDisposables.set(r,this._getStore(r).retain(this._operation))}}catch(e){t.e(e)}finally{t.f()}},t._disposeRetainedData=function(){var e,t=(0,a.default)(this._retainDisposables.values());try{for(t.s();!(e=t.n()).done;){e.value.dispose()}}catch(e){t.e(e)}finally{t.f()}this._retainDisposables.clear()},t._expectOperationLoader=function(){var e=this._operationLoader;return e||k(!1),e},e}();function O(e,t,r,n){var a,s=e.data,o=e.errors,l=I.create(),u=E.create(t.dataID,r);l.set(t.dataID,u);var c=D.normalize(l,t,s,n);return(0,i.default)((0,i.default)({},c),{},{errors:o,isFinal:!0===(null===(a=e.extensions)||void 0===a?void 0:a.is_final)})}function P(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&k(!1)}e.exports={execute:function(e){return new N(e)}}},function(e,t,r){"use strict";var n,i,a="undefined"!=typeof window&&"function"==typeof(null===(n=window)||void 0===n||null===(i=n.performance)||void 0===i?void 0:i.now);function s(){return a?window.performance.now():Date.now()}e.exports=function(e){var t=s(),r=e();return[s()-t,r]}},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(18)),s=r(80),o=(s.ACTOR_IDENTIFIER_FIELD_NAME,s.getActorIdentifierFromPayload),l=r(7),u=l.ACTOR_CHANGE,c=l.CLIENT_COMPONENT,d=l.CLIENT_EXTENSION,h=l.CONDITION,_=l.DEFER,f=l.FLIGHT_FIELD,p=l.FRAGMENT_SPREAD,v=l.INLINE_FRAGMENT,g=l.LINKED_FIELD,m=l.LINKED_HANDLE,E=l.MODULE_IMPORT,y=l.SCALAR_FIELD,b=l.SCALAR_HANDLE,R=l.STREAM,I=l.TYPE_DISCRIMINATOR,D=r(5),S=r(6),A=S.generateClientID,T=(S.isClientID,r(13).getLocalVariables),F=r(9),k=r(11).createNormalizationSelector,N=r(21),O=N.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY,P=N.REACT_FLIGHT_TREE_STORAGE_KEY,L=N.REACT_FLIGHT_TYPE_NAME,C=N.refineToReactFlightPayloadData,w=r(2),M=w.ROOT_ID,x=w.ROOT_TYPE,V=w.TYPENAME_KEY,U=w.getArgumentValues,q=w.getHandleStorageKey,K=w.getModuleComponentKey,H=w.getModuleOperationKey,G=w.getStorageKey,j=r(26),Y=j.TYPE_SCHEMA_TYPE,z=j.generateTypeID,B=(r(14),r(0));r(3);var Q=function(){function e(e,t,r){this._actorIdentifier=r.actorIdentifier,this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=r.path?(0,a.default)(r.path):[],this._recordSource=e,this._variables=t,this._reactFlightPayloadDeserializer=r.reactFlightPayloadDeserializer,this._reactFlightServerErrorHandler=r.reactFlightServerErrorHandler,this._shouldProcessClientComponents=r.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var n=this._recordSource.get(t);return n||B(!1),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||B(!1),this._variables[e]},t._getRecordType=function(e){var t=e[V];return null==t&&B(!1),t},t._traverseSelections=function(e,t,r){for(var n=0;n<e.selections.length;n++){var i=e.selections[n];switch(i.kind){case y:case g:this._normalizeField(e,i,t,r);break;case h:Boolean(this._getVariableValue(i.condition))===i.passingValue&&this._traverseSelections(i,t,r);break;case p:var a=this._variables;this._variables=T(this._variables,i.fragment.argumentDefinitions,i.args),this._traverseSelections(i.fragment,t,r),this._variables=a;break;case v:var s=i.abstractKey;if(null==s){F.getType(t)===i.type&&this._traverseSelections(i,t,r)}else{var o=r.hasOwnProperty(s),l=F.getType(t),S=z(l),A=this._recordSource.get(S);null==A&&(A=F.create(S,Y),this._recordSource.set(S,A)),F.setValue(A,s,o),o&&this._traverseSelections(i,t,r)}break;case I:var k=i.abstractKey,N=r.hasOwnProperty(k),O=F.getType(t),P=z(O),L=this._recordSource.get(P);null==L&&(L=F.create(P,Y),this._recordSource.set(P,L)),F.setValue(L,k,N);break;case m:case b:var C=i.args?U(i.args,this._variables):{},w=G(i,this._variables),M=q(i,this._variables);this._handleFieldPayloads.push({args:C,dataID:F.getDataID(t),fieldKey:w,handle:i.handle,handleKey:M,handleArgs:i.handleArgs?U(i.handleArgs,this._variables):{}});break;case E:this._normalizeModuleImport(e,i,t,r);break;case _:this._normalizeDefer(i,t,r);break;case R:this._normalizeStream(i,t,r);break;case d:var x=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,r),this._isClientExtension=x;break;case c:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(i.fragment,t,r);break;case f:if(!D.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._normalizeFlightField(e,i,t,r);break;case u:this._normalizeActorChange(e,i,t,r);break;default:B(!1)}}},t._normalizeDefer=function(e,t,r){!1===(null===e.if||this._getVariableValue(e.if))?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,a.default)(this._path),selector:k(e,F.getDataID(t),this._variables),typeName:F.getType(t),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r),!0===(null===e.if||this._getVariableValue(e.if))&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,a.default)(this._path),parentID:F.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,r,n){"object"==typeof n&&n||B(!1);var i=F.getType(r),s=K(t.documentName),o=n[s];F.setValue(r,s,null!=o?o:null);var l=H(t.documentName),u=n[l];F.setValue(r,l,null!=u?u:null),null!=u&&this._followupPayloads.push({kind:"ModuleImportPayload",args:t.args,data:n,dataID:F.getDataID(r),operationReference:u,path:(0,a.default)(this._path),typeName:i,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(e,t,r,n){"object"==typeof n&&n||B(!1);var i=t.alias||t.name,a=G(t,this._variables),s=n[i];if(null!=s)t.kind===y?F.setValue(r,a,s):t.kind===g?(this._path.push(i),t.plural?this._normalizePluralLink(t,r,a,s):this._normalizeLink(t,r,a,s),this._path.pop()):B(!1);else{if(void 0===s){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}F.setValue(r,a,null)}},t._normalizeActorChange=function(e,t,r,n){var i,s=t.linkedField;"object"==typeof n&&n||B(!1);var l=s.alias||s.name,u=G(s,this._variables),c=n[l];if(null!=c){var d=o(c);if(null!=d){var h=null!==(i=s.concreteType)&&void 0!==i?i:this._getRecordType(c),_=this._getDataId(c,h)||F.getLinkedRecordID(r,u)||A(F.getDataID(r),u);"string"!=typeof _&&B(!1),F.setActorLinkedRecordID(r,u,d,_),this._followupPayloads.push({kind:"ActorPayload",data:c,dataID:_,path:[].concat((0,a.default)(this._path),[l]),typeName:h,variables:this._variables,node:s,actorIdentifier:d})}else F.setValue(r,u,null)}else{if(void 0===c){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}F.setValue(r,u,null)}},t._normalizeFlightField=function(e,t,r,n){var a=t.alias||t.name,s=G(t,this._variables),o=n[a];if(null!=o){var l=C(o),u=this._reactFlightPayloadDeserializer;null==l&&B(!1),"function"!=typeof u&&B(!1),l.errors.length>0&&"function"==typeof this._reactFlightServerErrorHandler&&this._reactFlightServerErrorHandler(l.status,l.errors);var c=A(F.getDataID(r),G(t,this._variables)),d=this._recordSource.get(c);if(null==d&&(d=F.create(c,L),this._recordSource.set(c,d)),null==l.tree)return F.setValue(d,P,null),F.setValue(d,O,[]),void F.setLinkedRecordID(r,s,c);var h=u(l.tree);F.setValue(d,P,h);var _,f=[],p=(0,i.default)(l.queries);try{for(p.s();!(_=p.n()).done;){var v=_.value;null!=v.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:v.response.data,dataID:M,operationReference:v.module,path:[],typeName:x,variables:v.variables,actorIdentifier:this._actorIdentifier}),f.push({module:v.module,variables:v.variables})}}catch(e){p.e(e)}finally{p.f()}var g,m=(0,i.default)(l.fragments);try{for(m.s();!(g=m.n()).done;){var E=g.value;null!=E.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:E.response.data,dataID:E.__id,operationReference:E.module,path:[],typeName:E.__typename,variables:E.variables,actorIdentifier:this._actorIdentifier}),f.push({module:E.module,variables:E.variables})}}catch(e){m.e(e)}finally{m.f()}F.setValue(d,O,f),F.setLinkedRecordID(r,s,c)}else{if(void 0===o){if(this._isUnmatchedAbstractType)return;this._treatMissingFieldsAsNull||B(!1)}F.setValue(r,s,null)}},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||B(!1);var a=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||F.getLinkedRecordID(t,r)||A(F.getDataID(t),r);"string"!=typeof a&&B(!1),F.setLinkedRecordID(t,r,a);var s=this._recordSource.get(a);if(s)0;else{var o=e.concreteType||this._getRecordType(n);s=F.create(a,o),this._recordSource.set(a,s)}this._traverseSelections(e,s,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||B(!1);var a=F.getLinkedRecordIDs(t,r),s=[];n.forEach((function(n,o){var l;if(null!=n){i._path.push(String(o)),"object"!=typeof n&&B(!1);var u=i._getDataId(n,null!==(l=e.concreteType)&&void 0!==l?l:i._getRecordType(n))||a&&a[o]||A(F.getDataID(t),r,o);"string"!=typeof u&&B(!1),s.push(u);var c=i._recordSource.get(u);if(c)0;else{var d=e.concreteType||i._getRecordType(n);c=F.create(u,d),i._recordSource.set(u,c)}0,i._traverseSelections(e,c,n),i._path.pop()}else s.push(n)})),F.setLinkedRecordIDs(t,r,s)},t._validateRecordType=function(e,t,r){var n;null!==(n=t.concreteType)&&void 0!==n||this._getRecordType(r),F.getDataID(e)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,n){0},e}();e.exports={normalize:function(e,t,r,n){var i=t.dataID,a=t.node,s=t.variables;return new Q(e,s,n).normalizeResponse(a,i,r)}}},function(e,t,r){"use strict";var n=r(32).getActorIdentifier;e.exports={ACTOR_IDENTIFIER_FIELD_NAME:"actor_key",getActorIdentifierFromPayload:function(e){if(null!=e&&"object"==typeof e&&"string"==typeof e.actor_key)return n(e.actor_key)}}},function(e,t,r){"use strict";(function(t){var n,i,a=r(51),s=r(52),o=r(83),l=r(34),u=r(20),c=r(0),d=(r(3),void 0!==t?t:"undefined"!=typeof window?window:void 0),h=null!==(n=null==d||null===(i=d.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==n?n:function(e,t,r,n,i){return e.apply(t,r)},_=function(){function e(e,t,r){this._hasStoreSnapshot=!1,this._handlerProvider=t||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=r}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1),this._pendingOptimisticUpdates.add(e)},t.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(e,t,r){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:t,updater:r})},t.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},t.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},t.run=function(e){var t=0===this._appliedOptimisticUpdates&&!!this._gcHold;if(!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!t)return[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var r=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._store.notify(e,r)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,l=r.source,u=r.fieldPayloads,d=new a(this._store.getSource(),l),h=new s(d,this._getDataID);if(u&&u.length&&u.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||c(!1),r.update(h,e)})),i){var _=n.fragment;null==_&&c(!1),i(new o(d,h,_),f(l,_))}var p=h.getIDsMarkedForInvalidation();return this._store.publish(l,p),h.isStoreMarkedForInvalidation()},t._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var t=!1;return this._pendingData.forEach((function(r){if("payload"===r.kind){var n=e._publishSourceFromPayload(r);t=t||n}else if("source"===r.kind){var i=r.source;e._store.publish(i)}else{var o=r.updater,l=u.create(),c=new a(e._store.getSource(),l),d=new s(c,e._getDataID);h(o,null,[d],null,"RelayPublishQueue:commitData"),t=t||d.isStoreMarkedForInvalidation();var _=d.getIDsMarkedForInvalidation();e._store.publish(l,_)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=u.create(),r=new a(this._store.getSource(),t),n=new s(r,this._getDataID,this._handlerProvider),i=function(e){if(e.storeUpdater){var t=e.storeUpdater;h(t,null,[n],null,"RelayPublishQueue:applyUpdates")}else{var i=e.operation,a=e.payload,s=e.updater,l=a.source,u=a.fieldPayloads;if(l&&n.publishSource(l,u),s){var c;l&&(c=f(l,i.fragment));var d=new o(r,n,i.fragment);h(s,null,[d,c],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(i),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){i(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function f(e,t){return l.read(e,t).data}e.exports=_}).call(this,r(47))},function(e,t,r){"use strict";var n=r(6).generateClientID,i=r(2).getStableStorageKey,a=r(0),s=function(){function e(e,t,r){this._dataID=r,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&a(!1),e},t.getValue=function(e,t){var r=i(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){o(e)||a(!1);var n=i(t,r);return this._mutator.setValue(this._dataID,n,e),this},t.getLinkedRecord=function(e,t){var r=i(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,n){t instanceof e||a(!1);var s=i(r,n),o=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,s,o),this},t.getOrCreateLinkedRecord=function(e,t,r){var a=this.getLinkedRecord(e,r);if(!a){var s,o=i(e,r),l=n(this.getDataID(),o);a=null!==(s=this._source.get(l))&&void 0!==s?s:this._source.create(l,t),this.setLinkedRecord(a,e,r)}return a},t.getLinkedRecords=function(e,t){var r=this,n=i(e,t),a=this._mutator.getLinkedRecordIDs(this._dataID,n);return null==a?a:a.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||a(!1);var n=i(t,r),s=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,n,s),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function o(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(o)}e.exports=s},function(e,t,r){"use strict";var n=r(2),i=n.ROOT_TYPE,a=n.getStorageKey,s=r(53).readUpdatableQuery_EXPERIMENTAL,o=r(0),l=function(){function e(e,t,r){this.__mutator=e,this.__recordSource=t,this._readSelector=r}var t=e.prototype;return t.create=function(e,t){return this.__recordSource.create(e,t)},t.delete=function(e){this.__recordSource.delete(e)},t.get=function(e){return this.__recordSource.get(e)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var e=this.__recordSource.get(this._readSelector.dataID);return e||(e=this.__recordSource.create(this._readSelector.dataID,i)),e},t._getRootField=function(e,t,r){var n=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t||"RequiredField"===e.kind&&e.field.name===t}));return n&&"RequiredField"===n.kind&&(n=n.field),n&&"LinkedField"===n.kind||o(!1),n.plural!==r&&o(!1),n},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return s(e,t,this)},e}();e.exports=l},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(17)),s=r(32),o=s.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=s.assertInternalActorIndentifier,u=(r(19),r(5)),c=r(85),d=r(86),h=r(48),_=r(9),f=r(88),p=r(34),v=r(89),g=r(21),m=r(90),E=r(2),y=r(2),b=y.ROOT_ID,R=y.ROOT_TYPE,I=r(54).RecordResolverCache,D=r(0),S=function(){function e(e,t){var r,n,i,s,o,l=this;(0,a.default)(this,"_gcStep",(function(){l._gcRun&&(l._gcRun.next().done?l._gcRun=null:l._gcScheduler(l._gcStep))})),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:10,this._gcRun=null,this._gcScheduler=null!==(n=null==t?void 0:t.gcScheduler)&&void 0!==n?n:c,this._getDataID=null!==(i=null==t?void 0:t.getDataID)&&void 0!==i?i:h,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(s=null==t?void 0:t.log)&&void 0!==s?s:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(o=null==t?void 0:t.operationLoader)&&void 0!==o?o:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new I((function(){return l._getMutableRecordSource()})),this._storeSubscriptions=new m(null==t?void 0:t.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null==t?void 0:t.shouldProcessClientComponents,function(e){if(!e.has(b)){var t=_.create(b,R);e.set(b,t)}}(this._recordSource)}var t=e.prototype;return t.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t.check=function(e,t){var r,n,i,a,s=e.root,u=this._getMutableRecordSource(),c=this._globalInvalidationEpoch,h=this._roots.get(e.request.identifier),_=null!=h?h.epoch:null;if(null!=c&&(null==_||_<=c))return{status:"stale"};var f=null!==(r=null==t?void 0:t.handlers)&&void 0!==r?r:[],p=null!==(n=null==t?void 0:t.getSourceForActor)&&void 0!==n?n:function(e){return l(e),u},v=null!==(i=null==t?void 0:t.getTargetForActor)&&void 0!==i?i:function(e){return l(e),u};return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,a=e.status;if("number"==typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===a)return{status:"missing"};if(null!=r&&null!=n){if(r<=Date.now()-n)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(d.check(p,v,null!==(a=null==t?void 0:t.defaultActorIdentifier)&&void 0!==a?a:o,s,f,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),_,null==h?void 0:h.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,r=e.request.identifier,n=!1,i=this._roots.get(r);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==r}))),i.refCount+=1):this._roots.set(r,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!n){n=!0;var e=t._roots.get(r);if(null!=e&&(e.refCount--,0===e.refCount)){var i=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)t._roots.delete(r),t.scheduleGC();else if(t._releaseBuffer.push(r),t._releaseBuffer.length>t._gcReleaseBufferSize){var a=t._releaseBuffer.shift();t._roots.delete(a),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource();return p.read(t,e,this._resolverCache)},t.notify=function(e,t){var r=this,n=this.__log;null!=n&&n({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch),u.ENABLE_RELAY_RESOLVERS&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var i=this.getSource(),a=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,a,e),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=n&&n({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var s=e.request.identifier,o=this._roots.get(s);if(null!=o)o.epoch=this._currentWriteEpoch,o.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var l={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(s),this._roots.set(s,l)}}return a},t.publish=function(e,t){var r=this._getMutableRecordSource();!function(e,t,r,n,i,a){n&&n.forEach((function(n){var i,s=e.get(n),o=t.get(n);null!==o&&((i=null!=s?_.clone(s):null!=o?_.clone(o):null)&&(_.setValue(i,E.INVALIDATED_AT_KEY,r),a.add(n),e.set(n,i)))}));for(var s=t.getRecordIDs(),o=0;o<s.length;o++){var l=s[o],u=t.get(l),c=e.get(l);if(u&&c){var d=_.getType(c)===g.REACT_FLIGHT_TYPE_NAME?u:_.update(c,u);d!==c&&(i.add(l),e.set(l,d))}else null===u?(e.delete(l),null!==c&&i.add(l)):u&&(e.set(l,u),i.add(l))}}(r,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var n=this.__log;null!=n&&n({name:"store.publish",source:e,optimistic:r===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;return{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"RelayModernStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,r=new Map;return e.forEach((function(e){var n,i=t.getSource().get(e);r.set(e,null!==(n=_.getInvalidationEpoch(i))&&void 0!==n?n:null)})),r.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:r}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,r=e.invalidations;if(t.get("global")!==r.get("global"))return!0;var n,a=(0,i.default)(e.dataIDs);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(t.get(s)!==r.get(s))return!0}}catch(e){a.e(e)}finally{a.f()}return!1},t.subscribeToInvalidationState=function(e,t){var r=this,n={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(n),{dispose:function(){r._invalidationSubscriptions.delete(n)}}},t._updateInvalidationSubscription=function(e,t){var r=this,n=e.callback,i=e.invalidationState.dataIDs;(t||i.some((function(e){return r._invalidatedRecordIDs.has(e)})))&&n()},t.snapshot=function(){null!=this._optimisticSource&&D(!1);var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=f.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&D(!1);var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions()},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},t._collect=function*(){e:for(;;){var e,t=this._currentWriteEpoch,r=new Set,n=(0,i.default)(this._roots.values());try{for(n.s();!(e=n.n()).done;){var a=e.value.operation.root;if(v.mark(this._recordSource,a,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.f()}var s=this.__log;if(null!=s&&s({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var o=this._recordSource.getRecordIDs(),l=0;l<o.length;l++){var u=o[l];r.has(u)||this._recordSource.remove(u)}return}},e}();e.exports=S},function(e,t,r){"use strict";var n=Promise.resolve();function i(e){setTimeout((function(){throw e}),0)}e.exports=function(e){n.then(e).catch(i)}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(51),a=r(52),s=r(33),o=r(7),l=r(5),u=r(6).isClientID,c=r(56),d=r(87),h=r(13).getLocalVariables,_=r(9),f=r(25),p=f.EXISTENT,v=f.UNKNOWN,g=r(21),m=r(2),E=r(26).generateTypeID,y=r(0),b=o.ACTOR_CHANGE,R=o.CONDITION,I=o.CLIENT_COMPONENT,D=o.CLIENT_EXTENSION,S=o.DEFER,A=o.FLIGHT_FIELD,T=o.FRAGMENT_SPREAD,F=o.INLINE_FRAGMENT,k=o.LINKED_FIELD,N=o.LINKED_HANDLE,O=o.MODULE_IMPORT,P=o.SCALAR_FIELD,L=o.SCALAR_HANDLE,C=o.STREAM,w=o.TYPE_DISCRIMINATOR,M=m.ROOT_ID,x=m.getModuleOperationKey,V=m.getStorageKey,U=m.getArgumentValues;var q=function(){function e(e,t,r,n,i,a,s,o){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=s,this._source=e(r),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(r),u=l[0],c=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=u,this._operationLoader=null!=a?a:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=n,this._shouldProcessClientComponents=o}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(null==t){var r=this._getTargetForActor(e),n=new i(this._getSourceForActor(e),r);t=[n,new a(n,this._getDataID)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||y(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._getDataForHandlers=function(e,t){return{args:e.args?U(e.args,this._variables):{},record:this._source.get(t)}},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!u(t)){var r,i=this._getDataForHandlers(e,t),a=i.args,s=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("scalar"===l.kind){var c=l.handle(e,s,a,this._recordSourceProxy);if(void 0!==c)return c}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=this._getDataForHandlers(e,t),a=i.args,s=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("linked"===l.kind){var u=l.handle(e,s,a,this._recordSourceProxy);if(void 0!==u&&(null===u||this._mutator.getStatus(u)===p))return u}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,a=this._getDataForHandlers(e,t),s=a.args,o=a.record,l=(0,n.default)(this._handlers);try{for(l.s();!(r=l.n()).done;){var u=r.value;if("pluralLinked"===u.kind){var c=u.handle(e,o,s,this._recordSourceProxy);if(null!=c){if(c.every((function(e){return null!=e&&i._mutator.getStatus(e)===p})))return c}else if(null===c)return null}}}catch(e){l.e(e)}finally{l.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===v&&this._handleMissing(),r===p){var n=this._source.get(t),i=_.getInvalidationEpoch(n);null!=i&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,i):i),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case P:r._checkScalar(n,t);break;case k:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case b:r._checkActorChange(n.linkedField,t);break;case R:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case F:var i=n.abstractKey;if(null==i){r._mutator.getType(t)===n.type&&r._traverseSelections(n.selections,t)}else{var a=r._mutator.getType(t);null==a&&y(!1);var s=E(a),o=r._mutator.getValue(s,i);!0===o?r._traverseSelections(n.selections,t):null==o&&r._handleMissing()}break;case N:var u=c(n,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case L:var _=d(n,e,r._variables);r._checkScalar(_,t);break;case O:r._checkModuleImport(n,t);break;case S:case C:r._traverseSelections(n.selections,t);break;case T:var f=r._variables;r._variables=h(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=f;break;case D:var p=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=p;break;case w:var v=n.abstractKey,g=r._mutator.getType(t);null==g&&y(!1);var m=E(g);null==r._mutator.getValue(m,v)&&r._handleMissing();break;case A:if(!l.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._checkFlightField(n,t);break;case I:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:y(!1)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&y(!1);var n=x(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var a=r.get(i);if(null!=a){var o=s(a),l=this._variables;this._variables=h(this._variables,o.argumentDefinitions,e.args),this._traverse(o,t),this._variables=l}else this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=V(e,this._variables),n=this._mutator.getValue(t,r);void 0===n&&void 0!==(n=this._handleMissingScalarField(e,t))&&this._mutator.setValue(t,r,n)},t._checkLink=function(e,t){var r=V(e,this._variables),n=this._mutator.getLinkedRecordID(t,r);void 0===n&&(null!=(n=this._handleMissingLinkField(e,t))?this._mutator.setLinkedRecordID(t,r,n):null===n&&this._mutator.setValue(t,r,null)),null!=n&&this._traverse(e,n)},t._checkPluralLink=function(e,t){var r=this,n=V(e,this._variables),i=this._mutator.getLinkedRecordIDs(t,n);void 0===i&&(null!=(i=this._handleMissingPluralLinkField(e,t))?this._mutator.setLinkedRecordIDs(t,n,i):null===i&&this._mutator.setValue(t,n,null)),i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._checkActorChange=function(e,t){var r=V(e,this._variables),n=this._source.get(t),i=null!=n?_.getActorLinkedRecordID(n,r):n;if(null==i)void 0===i&&this._handleMissing();else{var a=i[0],s=i[1],o=this._source,l=this._mutator,u=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(a),d=c[0],h=c[1];this._source=this._getSourceForActor(a),this._mutator=d,this._recordSourceProxy=h,this._traverse(e,s),this._source=o,this._mutator=l,this._recordSourceProxy=u}},t._checkFlightField=function(e,t){var r=V(e,this._variables),i=this._mutator.getLinkedRecordID(t,r);if(null==i)return void 0===i?void this._handleMissing():void 0;var a=this._mutator.getValue(i,g.REACT_FLIGHT_TREE_STORAGE_KEY),o=this._mutator.getValue(i,g.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(null!=a&&Array.isArray(o)){var l=this._operationLoader;null===l&&y(!1);var u,c=this._variables,d=(0,n.default)(o);try{for(d.s();!(u=d.n()).done;){var h=u.value;this._variables=h.variables;var _=l.get(h.module);if(null!=_){var f=s(_);this._traverseSelections(f.selections,M)}else this._handleMissing()}}catch(e){d.e(e)}finally{d.f()}this._variables=c}else this._handleMissing()},e}();e.exports={check:function(e,t,r,n,i,a,s,o){var l=n.dataID,u=n.node,c=n.variables;return new q(e,t,r,c,i,a,s,o).check(u,l)}}},function(e,t,r){"use strict";var n=r(7).SCALAR_FIELD,i=r(2).getHandleStorageKey,a=r(14),s=r(0);e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));o&&o.kind===n||s(!1);var l=i(e,r);return{kind:"ScalarField",alias:o.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(20),a=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),s=function(){function e(e){this._base=e,this._sink=i.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==a:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===a?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return void 0===t?"UNKNOWN":null===t?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=i.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,a)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=(0,n.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach((function(r){var n=e.get(r);void 0===n?delete t[r]:t[r]=n})),t},e}();e.exports={create:function(e){return new s(e)}}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(33),a=r(7),s=r(5),o=r(56),l=r(13).getLocalVariables,u=r(9),c=r(21),d=r(2),h=r(26).generateTypeID,_=r(0),f=a.ACTOR_CHANGE,p=a.CONDITION,v=a.CLIENT_COMPONENT,g=a.CLIENT_EXTENSION,m=a.DEFER,E=a.FLIGHT_FIELD,y=a.FRAGMENT_SPREAD,b=a.INLINE_FRAGMENT,R=a.LINKED_FIELD,I=a.MODULE_IMPORT,D=a.LINKED_HANDLE,S=a.SCALAR_FIELD,A=a.SCALAR_HANDLE,T=a.STREAM,F=a.TYPE_DISCRIMINATOR,k=d.ROOT_ID,N=d.getStorageKey,O=d.getModuleOperationKey;var P=function(){function e(e,t,r,n,i){this._operationLoader=null!=n?n:null,this._operationName=null,this._recordSource=e,this._references=r,this._variables=t,this._shouldProcessClientComponents=i}var t=e.prototype;return t.mark=function(e,t){"Operation"!==e.kind&&"SplitOperation"!==e.kind||(this._operationName=e.name),this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var r=this._recordSource.get(t);null!=r&&this._traverseSelections(e.selections,r)},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||_(!1),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case f:r._traverseLink(n.linkedField,t);break;case R:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case p:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case b:if(null==n.abstractKey){var i=u.getType(t);null!=i&&i===n.type&&r._traverseSelections(n.selections,t)}else{var a=u.getType(t),c=h(a);r._references.add(c),r._traverseSelections(n.selections,t)}break;case y:var d=r._variables;r._variables=l(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=d;break;case D:var k=o(n,e,r._variables);k.plural?r._traversePluralLink(k,t):r._traverseLink(k,t);break;case m:case T:r._traverseSelections(n.selections,t);break;case S:case A:break;case F:var N=u.getType(t),O=h(N);r._references.add(O);break;case I:r._traverseModuleImport(n,t);break;case g:r._traverseSelections(n.selections,t);break;case E:if(!s.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._traverseFlightField(n,t);break;case v:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:_(!1)}}))},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&_(!1);var n=O(e.documentName),a=u.getValue(t,n);if(null!=a){var s=r.get(a);if(null!=s){var o=i(s),c=this._variables;this._variables=l(this._variables,o.argumentDefinitions,e.args),this._traverseSelections(o.selections,t),this._variables=c}}},t._traverseLink=function(e,t){var r=N(e,this._variables),n=u.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=N(e,this._variables),i=u.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._traverseFlightField=function(e,t){var r=N(e,this._variables),a=u.getLinkedRecordID(t,r);if(null!=a){this._references.add(a);var s=this._recordSource.get(a);if(null!=s){var o=u.getValue(s,c.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(Array.isArray(o)){var l=this._operationLoader;null===l&&_(!1);var d,h=this._variables,f=(0,n.default)(o);try{for(f.s();!(d=f.n()).done;){var p=d.value;this._variables=p.variables;var v=p.module,g=l.get(v);if(null!=g){var m=i(g);this._traverse(m,k)}}}catch(e){f.e(e)}finally{f.f()}this._variables=h}}}},e}();e.exports={mark:function(e,t,r,n,i){var a=t.dataID,s=t.node,o=t.variables;new P(e,o,r,n,i).mark(s,a)}}},function(e,t,r){"use strict";r(19);var n=r(24),i=r(5),a=r(91),s=r(34),o=function(){function e(e,t){this._subscriptions=new Set,this.__log=e,this._resolverCache=t}var t=e.prototype;return t.subscribe=function(e,t){var r=this,n={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(n),{dispose:function(){r._subscriptions.delete(n)}}},t.snapshotSubscriptions=function(e){var t=this;this._subscriptions.forEach((function(r){if(r.stale){var i=r.snapshot,a=s.read(e,i.selector,t._resolverCache),o=n(i.data,a.data);a.data=o,r.backup=a}else r.backup=r.snapshot}))},t.restoreSubscriptions=function(){this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,n){var i=this,a=0!==t.size;this._subscriptions.forEach((function(s){var o=i._updateSubscription(e,s,t,a,n);null!=o&&r.push(o)}))},t._updateSubscription=function(e,t,r,o,l){var u=t.backup,c=t.callback,d=t.snapshot,h=t.stale,_=o&&a(d.seenRecords,r);if(h||_){var f=_||!u?s.read(e,d.selector,this._resolverCache):u;return f={data:n(d.data,f.data),isMissingData:f.isMissingData,missingClientEdges:f.missingClientEdges,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields},t.snapshot=f,t.stale=!1,f.data!==d.data?(this.__log&&i.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:l,snapshot:d,nextSnapshot:f}),c(f),d.selector.owner):void 0}},e}();e.exports=o},function(e,t,r){"use strict";var n=Symbol.iterator;e.exports=function(e,t){for(var r=e[n](),i=r.next();!i.done;){var a=i.value;if(t.has(a))return!0;i=r.next()}return!1}},function(e,t,r){"use strict";var n=r(23),i=r(10).getRequest,a=r(12).createOperationDescriptor,s=r(11).createReaderSelector;r(3);e.exports=function(e,t){var r=i(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var o=t.configs,l=t.onCompleted,u=t.onError,c=t.onNext,d=t.variables,h=t.cacheConfig,_=a(r,d,h),f=(o?n.convert(o,r,null,t.updater):t).updater;return{dispose:e.executeSubscription({operation:_,updater:f}).subscribe({next:function(t){if(null!=c){var r,n,i,a,o=_.fragment;if(Array.isArray(t))r=null===(n=t[0])||void 0===n||null===(i=n.extensions)||void 0===i?void 0:i.__relay_subscription_root_id;else r=null===(a=t.extensions)||void 0===a?void 0:a.__relay_subscription_root_id;"string"==typeof r&&(o=s(o.node,r,o.variables,o.owner));var l=e.lookup(o).data;c(l)}},error:u,complete:l}).unsubscribe}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(2),a=i.getModuleComponentKey,s=i.getModuleOperationKey;e.exports=function(e,t,r,i){var o=(0,n.default)({},i);return o[a(e)]=r,o[s(e)]=t,o}},function(e,t,r){"use strict";var n=r(11),i=n.getDataIDsFromFragment,a=n.getSelector,s=n.getVariablesFromFragment,o=r(95),l=r(5),u=r(16),c=r(35).intern;e.exports=function(e,t){var r=a(e,t),n=null==r?"null":"SingularReaderSelector"===r.kind?r.owner.identifier:"["+r.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",d=s(e,t),h=i(e,t);if(l.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var _=void 0===h?"missing":null==h?"null":Array.isArray(h)?"["+h.join(",")+"]":h;return _=l.STRING_INTERN_LEVEL<=1?_:c(_,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+(null==d||o(d)?"{}":JSON.stringify(u(d)))+"/"+_}var f,p=null!==(f=JSON.stringify(h))&&void 0!==f?f:"missing";return p=l.STRING_INTERN_LEVEL<=1?p:c(p,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+JSON.stringify(u(d))+"/"+p}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t in e)if(n.call(e,t))return!1;return!0}},function(e,t,r){"use strict";var n=r(57),i=r(0);e.exports=function(e,t){var r,a,s=n(e,t),o=s.refetchableRequest,l=s.refetchMetadata,u=l.connection;null==u&&i(!1);var c=u.path,d=(null!==(r=null===(a=e.metadata)||void 0===a?void 0:a.connection)&&void 0!==r?r:[])[0];null==d&&i(!1);var h=l.identifierField;return null!=h&&"string"!=typeof h&&i(!1),{connectionPathInFragmentData:c,identifierField:h,paginationRequest:o,paginationMetadata:u,stream:!0===d.stream}}},function(e,t,r){"use strict";var n=r(1),i=n(r(17)),a=n(r(8)),s=r(0);r(3);e.exports=function(e,t,r,n,o,l){var u,c=l.backward,d=l.forward;if("backward"===e){var h;(null==c||null==c.count||null==c.cursor)&&s(!1);var _=(0,a.default)((0,a.default)((0,a.default)({},n),o),{},(h={},(0,i.default)(h,c.cursor,r),(0,i.default)(h,c.count,t),h));return d&&d.cursor&&(_[d.cursor]=null),d&&d.count&&(_[d.count]=null),_}(null==d||null==d.count||null==d.cursor)&&s(!1);var f=(0,a.default)((0,a.default)((0,a.default)({},n),o),{},(u={},(0,i.default)(u,d.cursor,r),(0,i.default)(u,d.count,t),u));return c&&c.cursor&&(f[c.cursor]=null),c&&c.count&&(f[c.count]=null),f}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(0);e.exports=function(e,t){var r,a=e,s=(0,n.default)(t);try{for(s.s();!(r=s.n()).done;){var o=r.value;if(null==a)return null;"number"==typeof o?(Array.isArray(a)||i(!1),a=a[o]):(("object"!=typeof a||Array.isArray(a))&&i(!1),a=a[o])}}catch(e){s.e(e)}finally{s.f()}return a}},function(e,t,r){"use strict";var n={},i={stop:function(){}},a={profile:function(e,t){var r=n[e];if(r&&r.length>0){for(var a=[],s=r.length-1;s>=0;s--){var o=r[s](e,t);a.unshift(o)}return{stop:function(e){a.forEach((function(t){return t(e)}))}}}return i},attachProfileHandler:function(e,t){n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)},detachProfileHandler:function(e,t){var r,i,a;n.hasOwnProperty(e)&&(r=n[e],i=t,-1!==(a=r.indexOf(i))&&r.splice(a,1))}};e.exports=a}])}));
|
|
9
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/objectSpread2","fbjs/lib/areEqual","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.RelayRuntime=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):e.RelayRuntime=t(e.invariant,e["@babel/runtime/helpers/interopRequireDefault"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,n,i,a,s,o){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=58)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";var n=r(1)(r(18)),i=r(27),a=r(6),s=r(16),o=r(0),l=a.VARIABLE,u=a.LITERAL,c=a.OBJECT_VALUE,d=a.LIST_VALUE;function h(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||o(!1),s(t[e])}(e.variableName,t);if(e.kind===u)return e.value;if(e.kind===c){var r={};return e.fields.forEach((function(e){r[e.name]=h(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(h(e,t))})),n}}function _(e,t){var r={};return e.forEach((function(e){r[e.name]=h(e,t)})),r}function f(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,a=t[n];if(null!=a)r.push(n+":"+(null!==(i=JSON.stringify(a))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var p={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_INPUTS_KEY:"__resolverInputValues",RELAY_RESOLVER_READER_SELECTOR_KEY:"__resolverReaderSelector",RELAY_RESOLVER_MISSING_REQUIRED_FIELDS_KEY:"__resolverMissingRequiredFields",RELAY_RESOLVER_ERROR_KEY:"__resolverError",formatStorageKey:f,getArgumentValue:h,getArgumentValues:_,getHandleStorageKey:function(e,t){var r=e.dynamicKey,a=e.handle,s=e.key,o=e.name,l=e.args,u=e.filters,c=i(a,s,o),d=null;return l&&u&&0!==l.length&&0!==u.length&&(d=l.filter((function(e){return u.indexOf(e.name)>-1}))),r&&(d=null!=d?[r].concat((0,n.default)(d)):[r]),null===d?c:f(c,_(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=void 0===e.args?void 0:e.args,n=e.name;return r&&0!==r.length?f(n,_(r,t)):n},getStableStorageKey:function(e,t){return f(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=p},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";e.exports={ENABLE_CLIENT_EDGES:!1,ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!0,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,USE_REACT_CACHE:!1}},function(e,t,r){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE:"ClientEdge",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},function(e,t,r){"use strict";var n=r(5),i=r(35).intern;var a=0;e.exports={generateClientID:function(e,t,r){var a=(n.STRING_INTERN_LEVEL<=0?e:i(e,n.MAX_DATA_ID_LENGTH))+":"+t;return null!=r&&(a+=":"+r),0!==a.indexOf("client:")&&(a="client:"+a),a},generateUniqueClientID:function(){return"".concat("client:","local:").concat(a++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t){e.exports=i},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(19),a=(r(7).isClientID,r(2)),s=a.ACTOR_IDENTIFIER_KEY,o=a.ID_KEY,l=a.INVALIDATED_AT_KEY,u=a.REF_KEY,c=a.REFS_KEY,d=(a.ROOT_ID,a.TYPENAME_KEY),h=r(14),_=r(0);r(3);e.exports={clone:function(e){return(0,n.default)({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==o&&r!==d&&(t[r]=e[r])},create:function(e,t){var r={};return r[o]=e,r[d]=t,r},freeze:function(e){i(e)},getDataID:function(e){return e[o]},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[l];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&r&&"string"==typeof r[u]||_(!1),r[u])},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[c])||_(!1),r[c])},getType:function(e){return e[d]},getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(u)||r.hasOwnProperty(c))&&_(!1),r},merge:function(e,t){return Object.assign({},e,t)},setValue:function(e,t,r){e[t]=r},setLinkedRecordID:function(e,t,r){var n={};n[u]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[c]=r,e[t]=n},update:function(e,t){for(var r=null,i=Object.keys(t),a=0;a<i.length;a++){var s=i[a];!r&&h(e[s],t[s])||((r=null!==r?r:(0,n.default)({},e))[s]=t[s])}return null!==r?r:e},getActorLinkedRecordID:function(e,t){var r=e[t];return null==r?r:(("object"!=typeof r||"string"!=typeof r[u]||null==r[s])&&_(!1),[r[s],r[u]])},setActorLinkedRecordID:function(e,t,r,n){var i={};i[u]=n,i[s]=r,e[t]=i}}},function(e,t,r){"use strict";var n=r(6),i=r(0);r(3);function a(e){var t=e;return"function"==typeof t?t=t():t.default&&(t=t.default),t}function s(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function o(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}function l(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.UPDATABLE_QUERY}function u(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.INLINE_DATA_FRAGMENT}function c(e){var t=a(e);return s(t)||i(!1),t}e.exports={getFragment:c,getNode:a,getPaginationFragment:function(e){var t,r=c(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch,i=null==n?void 0:n.connection;return null===n||"object"!=typeof n||null===i||"object"!=typeof i?null:r},getRefetchableFragment:function(e){var t,r=c(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch;return null===n||"object"!=typeof n?null:r},getRequest:function(e){var t=a(e);return o(t)||i(!1),t},getUpdatableQuery:function(e){var t=a(e);return l(t)||i(!1),t},getInlineDataFragment:function(e){var t=a(e);return u(t)||i(!1),t},graphql:function(e){i(!1)},isFragment:s,isRequest:o,isUpdatableQuery:l,isInlineDataFragment:u}},function(e,t,r){"use strict";var n=r(13).getFragmentVariables,i=r(2),a=i.CLIENT_EDGE_TRAVERSAL_PATH,s=i.FRAGMENT_OWNER_KEY,o=i.FRAGMENTS_KEY,l=i.ID_KEY,u=i.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,c=r(14),d=r(0);r(3);function h(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1);var r=t[l],i=t[o],c=t[s],h=!0===t[u],_=t[a];if("string"==typeof r&&"object"==typeof i&&null!==i&&"object"==typeof i[e.name]&&null!==i[e.name]&&"object"==typeof c&&null!==c&&(null==_||Array.isArray(_))){var f=c,p=_,v=i[e.name];return R(e,r,n(e,f.variables,v),f,h,p)}return null}function _(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?h(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function f(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1),_(e,t)):(Array.isArray(t)&&d(!1),h(e,t))}function p(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1),function(e,t){var r=null;return t.forEach((function(t){var n=null!=t?v(e,t):null;null!=n&&(r=r||[]).push(n)})),r}(e,t)):(Array.isArray(t)&&d(!1),v(e,t))}function v(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1);var r=t[l];return"string"==typeof r?r:null}function g(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||d(!1),m(e,t)):(Array.isArray(t)&&d(!1),E(e,t)||{})}function E(e,t){var r=h(e,t);return r?r.variables:null}function m(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=E(e,t);null!=i&&Object.assign(r,i)}})),r}function y(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&c(e.variables,t.variables)}function R(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:i,clientEdgeTraversalPath:null!=a?a:null,node:e,variables:r,owner:n}}e.exports={areEqualSelectors:function(e,t){return"SingularReaderSelector"===(null==e?void 0:e.kind)&&"SingularReaderSelector"===(null==t?void 0:t.kind)?y(e,t):"PluralReaderSelector"===(null==e?void 0:e.kind)&&"PluralReaderSelector"===(null==t?void 0:t.kind)?e.selectors.length===t.selectors.length&&e.selectors.every((function(e,r){return y(e,t.selectors[r])})):null==e&&null==t},createReaderSelector:R,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:p,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=p(i,a)}return r},getSingularSelector:h,getPluralSelector:_,getSelector:f,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=f(i,a)}return r},getVariablesFromSingularFragment:E,getVariablesFromPluralFragment:m,getVariablesFromFragment:g,getVariablesFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=g(e[n],t[n]);Object.assign(r,i)}return r}}},function(e,t,r){"use strict";r(19);var n=r(39),i=r(13).getOperationVariables,a=r(11),s=a.createNormalizationSelector,o=a.createReaderSelector,l=r(2).ROOT_ID;function u(e,t,r){return{identifier:n(e.params,t),node:e,variables:t,cacheConfig:r}}e.exports={createOperationDescriptor:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,a=e.operation,c=i(a,e.params.providedVariables,t),d=u(e,c,r),h={fragment:o(e.fragment,n,c,d),request:d,root:s(a,n,c)};return h},createRequestDescriptor:u}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(2).getArgumentValues,a=r(0);e.exports={getLocalVariables:function(e,t,r){if(null==t)return e;var a=(0,n.default)({},e),s=r?i(r,e):{};return t.forEach((function(e){var t,r=null!==(t=s[e.name])&&void 0!==t?t:e.defaultValue;a[e.name]=r})),a},getFragmentVariables:function(e,t,r){var i;return e.argumentDefinitions.forEach((function(e){if(!r.hasOwnProperty(e.name))switch(i=i||(0,n.default)({},r),e.kind){case"LocalArgument":i[e.name]=e.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(e.name)){i[e.name]=void 0;break}i[e.name]=t[e.name];break;default:a(!1)}})),i||r},getOperationVariables:function(e,t,r){var n={};return e.argumentDefinitions.forEach((function(e){var t=e.defaultValue;null!=r[e.name]&&(t=r[e.name]),n[e.name]=t})),null!=t&&Object.keys(t).forEach((function(e){n[e]=t[e].get()})),n}}},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(41),i=function(e,t){},a=function(){function e(e){this._source=e}e.create=function(t){return new e(t)},e.onUnhandledError=function(e){i=e},e.from=function(e){return function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.subscribe}(e)?s(e):n(e)?o(e):l(e)};var t=e.prototype;return t.catch=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:function(r){try{t(r).subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:e.error})}catch(t){e.error(t,!0)}}}),function(){return n.unsubscribe()}}))},t.concat=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,error:e.error,complete:function(){n=t.subscribe(e)}}),function(){n&&n.unsubscribe()}}))},t.do=function(t){var r=this;return e.create((function(e){var n=function(r){return function(){try{t[r]&&t[r].apply(t,arguments)}catch(e){i(e,!0)}e[r]&&e[r].apply(e,arguments)}};return r.subscribe({start:n("start"),next:n("next"),error:n("error"),complete:n("complete"),unsubscribe:n("unsubscribe")})}))},t.finally=function(t){var r=this;return e.create((function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),t()}}))},t.ifEmpty=function(t){var r=this;return e.create((function(e){var n=!1,i=r.subscribe({next:function(t){n=!0,e.next(t)},error:e.error,complete:function(){n?e.complete():i=t.subscribe(e)}});return function(){i.unsubscribe()}}))},t.subscribe=function(e){return function(e,t){var r,n=!1,a=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function s(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var o=a({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(o)}catch(e){i(e,!0)}finally{s()}}}});try{t.start&&t.start(o)}catch(e){i(e,!0)}if(n)return o;var l=a({next:function(e){if(!n&&t.next)try{t.next(e)}catch(e){i(e,!0)}},error:function(e,r){if(n||!t.error)n=!0,i(e,r||!1),s();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{s()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{s()}}}});try{r=e(l)}catch(e){l.error(e,!0)}0;n&&s();return o}(this._source,e)},t.map=function(t){var r=this;return e.create((function(e){var n=r.subscribe({complete:e.complete,error:e.error,next:function(r){try{var n=t(r);e.next(n)}catch(t){e.error(t,!0)}}});return function(){n.unsubscribe()}}))},t.mergeMap=function(t){var r=this;return e.create((function(n){var i=[];function a(e){this._sub=e,i.push(e)}function s(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:a,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:a,next:n.next,error:n.error,complete:s})}catch(e){n.error(e,!0)}},error:n.error,complete:s}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;return e.create((function(e){var n,i;return function a(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(a,t)}})}(),function(){clearTimeout(i),n.unsubscribe()}}))},t.toPromise=function(){var e=this;return new Promise((function(t,r){var n=!1;e.subscribe({next:function(e){n||(n=!0,t(e))},error:r,complete:t})}))},e}();function s(e){return e instanceof a?e:a.create((function(t){return e.subscribe(t)}))}function o(e){return a.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function l(e){return a.create((function(t){t.next(e),t.complete()}))}e.exports=a},function(e,t,r){"use strict";e.exports=function e(t){if(!t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(e);for(var r=Object.keys(t).sort(),n={},i=0;i<r.length;i++)n[r[i]]=e(t[r[i]]);return n}},function(e,t){e.exports=s},function(e,t){e.exports=o},function(e,t,r){"use strict";e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(r){var n=t[r];n&&"object"==typeof n&&!Object.isFrozen(n)&&e(n)})),t}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(25),a=i.EXISTENT,s=i.NONEXISTENT,o=i.UNKNOWN,l=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(r){t._records.set(r,e[r])}))}e.create=function(t){return new e(t)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:a:o},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},r=(0,n.default)(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,a=i[0],s=i[1];t[a]=s}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=l},function(e,t,r){"use strict";var n=r(9).getType,i=r(0);e.exports={REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY:"executableDefinitions",REACT_FLIGHT_TREE_STORAGE_KEY:"tree",REACT_FLIGHT_TYPE_NAME:"ReactFlightComponent",getReactFlightClientResponse:function(e){return"ReactFlightComponent"!==n(e)&&i(!1),e.tree},refineToReactFlightPayloadData:function(e){return null!=e&&"object"==typeof e&&"string"==typeof e.status&&(Array.isArray(e.tree)||null===e.tree)&&Array.isArray(e.queries)&&Array.isArray(e.fragments)&&Array.isArray(e.errors)?e:null}}},function(e,t,r){"use strict";var n=r(7).generateClientID,i=r(2).getStableStorageKey,a=r(27),s=r(28),o=r(0);r(3);function l(e,t,r){if(null==r)return r;var i=s.get().EDGES,a=t.getValue("__connection_next_edge_index");"number"!=typeof a&&o(!1);var l=n(t.getDataID(),i,a),u=e.create(l,r.getType());return u.copyFieldsFrom(r),null==u.getValue("cursor")&&u.setValue(null,"cursor"),t.setValue(a+1,"__connection_next_edge_index"),u}function u(e,t,r){for(var n=s.get().NODE,i=0;i<e.length;i++){var a=e[i];if(a){var o=a.getLinkedRecord(n),l=o&&o.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(a)}}}e.exports={buildConnectionEdge:l,createEdge:function(e,t,r,i){var a=s.get().NODE,o=n(t.getDataID(),r.getDataID()),l=e.get(o);return l||(l=e.create(o,i)),l.setLinkedRecord(r,a),null==l.getValue("cursor")&&l.setValue(null,"cursor"),l},deleteNode:function(e,t){var r=s.get(),n=r.EDGES,i=r.NODE,a=e.getLinkedRecords(n);if(a){for(var o,l=0;l<a.length;l++){var u=a[l],c=u&&u.getLinkedRecord(i);null!=c&&c.getDataID()===t?void 0===o&&(o=a.slice(0,l)):void 0!==o&&o.push(u)}void 0!==o&&e.setLinkedRecords(o,n)}},getConnection:function(e,t,r){var n=a("connection",t,null);return e.getLinkedRecord(n,r)},getConnectionID:function(e,t,r){var s=a("connection",t,null),o=i(s,r);return n(e,o)},insertEdgeAfter:function(e,t,r){var n=s.get(),i=n.CURSOR,a=n.EDGES,o=e.getLinkedRecords(a);if(o){var l;if(null==r)l=o.concat(t);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(l.push(d),null!=d)r===d.getValue(i)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var n=s.get(),i=n.CURSOR,a=n.EDGES,o=e.getLinkedRecords(a);if(o){var l;if(null==r)l=[t].concat(o);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(null!=d)r===d.getValue(i)&&(l.push(t),u=!0);l.push(d)}u||l.unshift(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},update:function(e,t){var r=e.get(t.dataID);if(r){var i=s.get(),a=i.EDGES,o=i.END_CURSOR,c=i.HAS_NEXT_PAGE,d=i.HAS_PREV_PAGE,h=i.PAGE_INFO,_=i.PAGE_INFO_TYPE,f=i.START_CURSOR,p=r.getLinkedRecord(t.fieldKey),v=p&&p.getLinkedRecord(h);if(p){var g=n(r.getDataID(),t.handleKey),E=r.getLinkedRecord(t.handleKey),m=null!=E?E:e.get(g),y=m&&m.getLinkedRecord(h);if(m){null==E&&r.setLinkedRecord(m,t.handleKey);var R=m,b=p.getLinkedRecords(a);b&&(b=b.map((function(t){return l(e,R,t)})));var I=R.getLinkedRecords(a),D=R.getLinkedRecord(h);R.copyFieldsFrom(p),I&&R.setLinkedRecords(I,a),D&&R.setLinkedRecord(D,h);var S=[],A=t.args;if(I&&b)if(null!=A.after){if(!y||A.after!==y.getValue(o))return;var T=new Set;u(I,S,T),u(b,S,T)}else if(null!=A.before){if(!y||A.before!==y.getValue(f))return;var F=new Set;u(b,S,F),u(I,S,F)}else S=b;else S=b||I;if(null!=S&&S!==I&&R.setLinkedRecords(S,a),y&&v)if(null==A.after&&null==A.before)y.copyFieldsFrom(v);else if(null!=A.before||null==A.after&&A.last){y.setValue(!!v.getValue(d),d);var k=v.getValue(f);"string"==typeof k&&y.setValue(k,f)}else if(null!=A.after||null==A.before&&A.first){y.setValue(!!v.getValue(c),c);var N=v.getValue(o);"string"==typeof N&&y.setValue(N,o)}}else{var O=e.create(g,p.getType());O.setValue(0,"__connection_next_edge_index"),O.copyFieldsFrom(p);var P=p.getLinkedRecords(a);P&&(P=P.map((function(t){return l(e,O,t)})),O.setLinkedRecords(P,a)),r.setLinkedRecord(O,t.handleKey),(y=e.create(n(O.getDataID(),h),_)).setValue(!1,c),y.setValue(!1,d),y.setValue(null,o),y.setValue(null,f),v&&y.copyFieldsFrom(v),O.setLinkedRecord(y,h)}}else r.setValue(null,t.handleKey)}}}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(22),a=(r(3),Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"})),s=Object.freeze({APPEND:"append",PREPEND:"prepend"});function o(e){return e.fragment.selections&&e.fragment.selections.length>0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:a,RangeOperations:s,convert:function(e,t,r,a){var s=r?[r]:[],l=a?[a]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=o(t);if(!n)return null;return function(e,t){var i=e.getRootField(n);if(i){var a=i.getValue(r);(Array.isArray(a)?a:[a]).forEach((function(t){t&&"string"==typeof t&&e.delete(t)}))}}}(e,t);r&&(s.push(r),l.push(r));break;case"RANGE_ADD":var a=function(e,t){var r=e.parentID,a=e.connectionInfo,s=e.edgeName;if(!r)return null;var l=o(t);if(!a||!l)return null;return function(e,t){var o=e.get(r);if(o){var u=e.getRootField(l);if(u){var c,d=u.getLinkedRecord(s),h=(0,n.default)(a);try{for(h.s();!(c=h.n()).done;){var _=c.value;if(d){var f=i.getConnection(o,_.key,_.filters);if(f){var p=i.buildConnectionEdge(e,f,d);if(p)switch(_.rangeBehavior){case"append":i.insertEdgeAfter(f,p);break;case"prepend":i.insertEdgeBefore(f,p)}}}}}catch(e){h.e(e)}finally{h.f()}}}}}(e,t);a&&(s.push(a),l.push(a));break;case"RANGE_DELETE":var u=function(e,t){var r=e.parentID,a=e.connectionKeys,s=e.pathToConnection,l=e.deletedIDFieldName;if(!r)return null;var u=o(t);if(!u)return null;return function(e,t){if(t){var o=[],c=t[u];if(c&&Array.isArray(l)){var d,h=(0,n.default)(l);try{for(h.s();!(d=h.n()).done;){var _=d.value;c&&"object"==typeof c&&(c=c[_])}}catch(e){h.e(e)}finally{h.f()}Array.isArray(c)?c.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&o.push(e.id)})):c&&c.id&&"string"==typeof c.id&&o.push(c.id)}else c&&"string"==typeof l&&"object"==typeof c&&("string"==typeof(c=c[l])?o.push(c):Array.isArray(c)&&c.forEach((function(e){"string"==typeof e&&o.push(e)})));!function(e,t,r,a,s){var o=a.get(e);if(!o)return;if(r.length<2)return;for(var l=o,u=1;u<r.length-1;u++)l&&(l=l.getLinkedRecord(r[u]));if(!t||!l)return;var c,d=(0,n.default)(t);try{var h=function(){var e=c.value,t=i.getConnection(l,e.key,e.filters);t&&s.forEach((function(e){i.deleteNode(t,e)}))};for(d.s();!(c=d.n()).done;)h()}catch(e){d.e(e)}finally{d.f()}}(r,a,s,e,o)}}}(e,t);u&&(s.push(u),l.push(u))}})),{optimisticUpdater:function(e,t){s.forEach((function(r){r(e,t)}))},updater:function(e,t){l.forEach((function(r){r(e,t)}))}}}}},function(e,t,r){"use strict";var n="undefined"!=typeof WeakSet,i="undefined"!=typeof WeakMap;e.exports=function e(t,r){if(t===r||"object"!=typeof t||t instanceof Set||t instanceof Map||n&&t instanceof WeakSet||i&&t instanceof WeakMap||!t||"object"!=typeof r||r instanceof Set||r instanceof Map||n&&r instanceof WeakSet||i&&r instanceof WeakMap||!r)return r;var a=!1,s=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(s&&o)a=o.reduce((function(t,r,n){var i=e(s[n],r);return i!==o[n]&&(o[n]=i),t&&i===s[n]}),!0)&&s.length===o.length;else if(!s&&!o){var l=t,u=r,c=Object.keys(l),d=Object.keys(u);a=d.reduce((function(t,r){var n=e(l[r],u[r]);return n!==u[r]&&(u[r]=n),t&&n===l[r]}),!0)&&c.length===d.length}return a?t:r}},function(e,t,r){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},function(e,t,r){"use strict";e.exports={generateTypeID:function(e){return"client:__type:"+e},isTypeID:function(e){return 0===e.indexOf("client:__type:")},TYPE_SCHEMA_TYPE:"__TypeSchema"}},function(e,t,r){"use strict";var n=r(36).DEFAULT_HANDLE_KEY,i=r(0);e.exports=function(e,t,r){return t&&t!==n?"__".concat(t,"_").concat(e):(null==r&&i(!1),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";var n={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},i={CLIENT_MUTATION_ID:"clientMutationId",CURSOR:"cursor",EDGES:"edges",END_CURSOR:"endCursor",HAS_NEXT_PAGE:"hasNextPage",HAS_PREV_PAGE:"hasPreviousPage",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"pageInfo",START_CURSOR:"startCursor"},a={inject:function(e){i=e},get:function(){return i},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}};e.exports=a},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},function(e,t,r){"use strict";var n=r(1)(r(4));e.exports=function(e,t,r){var i,a=(0,n.default)(r);try{for(a.s();!(i=a.n()).done;){var s=i.value;e.requiredFieldLogger({kind:"relay_resolver.error",owner:s.field.owner,fieldPath:s.field.path,error:s.error})}}catch(e){a.e(e)}finally{a.f()}if(null!=t)switch(t.action){case"THROW":var o=t.field,l=o.path,u=o.owner;throw e.requiredFieldLogger({kind:"missing_field.throw",owner:u,fieldPath:l}),new Error("Relay: Missing @required value at path '".concat(l,"' in '").concat(u,"'."));case"LOG":t.fields.forEach((function(t){var r=t.path,n=t.owner;e.requiredFieldLogger({kind:"missing_field.log",owner:n,fieldPath:r})}));break;default:t.action}}},function(e,t,r){"use strict";var n=r(15),i=r(42),a=r(0),s="function"==typeof WeakMap?new WeakMap:new Map;function o(e,t,r){return n.create((function(s){var o=u(e),l=o.get(t);return l||r().finally((function(){return o.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e},o.set(t,l)},next:function(e){var r=c(o,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=c(o,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=c(o,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=c(o,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&a(!1),function(e,t){return n.create((function(r){var n=t.subject.subscribe(r);return function(){n.unsubscribe();var r=e.get(t.identifier);if(r){var i=r.subscription;null!=i&&0===r.subject.getObserverCount()&&(i.unsubscribe(),e.delete(t.identifier))}}}))}(o,l).subscribe(s)}))}function l(e,t,r){return n.create((function(t){var n=r.subjectForInFlightStatus.subscribe({error:t.error,next:function(n){e.isRequestActive(r.identifier)?t.next():t.complete()},complete:t.complete,unsubscribe:t.complete});return function(){n.unsubscribe()}}))}function u(e){var t=s.get(e);if(null!=t)return t;var r=new Map;return s.set(e,r),r}function c(e,t){var r=e.get(t);return null==r&&a(!1),r}e.exports={fetchQuery:function(e,t){return o(e,t.request.identifier,(function(){return e.execute({operation:t})}))},fetchQueryDeduped:o,getPromiseForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?new Promise((function(t,r){var i=!1;l(e,0,n).subscribe({complete:t,error:r,next:function(e){i&&t(e)}}),i=!0})):null},getObservableForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?l(e,0,n):null}}},function(e,t,r){"use strict";var n=r(0);e.exports={assertInternalActorIndentifier:function(e){"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"!==e&&n(!1)},getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"}},function(e,t,r){"use strict";var n=r(6),i=n.REQUEST,a=n.SPLIT_OPERATION;e.exports=function(e){switch(e.kind){case i:return e.operation;case a:default:return e}}},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(17)),s=n(r(18)),o=r(6),l=o.ACTOR_CHANGE,u=o.CLIENT_EDGE,c=o.CLIENT_EXTENSION,d=o.CONDITION,h=o.DEFER,_=o.FLIGHT_FIELD,f=o.FRAGMENT_SPREAD,p=o.INLINE_DATA_FRAGMENT_SPREAD,v=o.INLINE_FRAGMENT,g=o.LINKED_FIELD,E=o.MODULE_IMPORT,m=o.RELAY_LIVE_RESOLVER,y=o.RELAY_RESOLVER,R=o.REQUIRED_FIELD,b=o.SCALAR_FIELD,I=o.STREAM,D=r(5),S=r(7),A=r(9),T=r(21).getReactFlightClientResponse,F=r(2),k=F.CLIENT_EDGE_TRAVERSAL_PATH,N=F.FRAGMENT_OWNER_KEY,O=F.FRAGMENT_PROP_NAME_KEY,P=F.FRAGMENTS_KEY,L=F.ID_KEY,C=F.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,w=F.MODULE_COMPONENT_KEY,M=F.ROOT_ID,x=F.getArgumentValues,V=F.getModuleComponentKey,U=F.getStorageKey,q=r(54).NoopResolverCache,K=r(55).withResolverContext,H=r(26).generateTypeID,G=r(0);var Y=function(){function e(e,t,r){var n;this._clientEdgeTraversalPath=D.ENABLE_CLIENT_EDGES&&(null===(n=t.clientEdgeTraversalPath)||void 0===n?void 0:n.length)?(0,s.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._owner=t.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=r,this._resolverErrors=[],this._fragmentName=t.node.name}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,n=e.isWithinUnmatchedTypeRefinement,i=t.abstractKey,a=this._recordSource.get(r),s=!n;s&&null==i&&null!=a&&(A.getType(a)!==t.type&&r!==M&&(s=!1));if(s&&null!=i&&null!=a){var o=A.getType(a),l=H(o),u=this._recordSource.get(l),c=null!=u?A.getValue(u,i):null;!1===c?s=!1:null==c&&(this._isMissingData=!0)}return this._isWithinUnmatchedTypeRefinement=!s,{data:this._traverse(t,r,null),isMissingData:this._isMissingData&&s,missingClientEdges:D.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors}},t._markDataAsMissing=function(){if(this._isMissingData=!0,D.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords.add(t),null==n)return void 0===n&&this._markDataAsMissing(),n;var i=r||{};return this._traverseSelections(e.selections,n,i)?i:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||G(!1),this._variables[e]},t._maybeReportUnexpectedNull=function(e,t,r){var n;if("THROW"!==(null===(n=this._missingRequiredFields)||void 0===n?void 0:n.action)){var i=this._fragmentName;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:i}});case"LOG":return void(null==this._missingRequiredFields?this._missingRequiredFields={action:t,fields:[{path:e,owner:i}]}:this._missingRequiredFields={action:t,fields:[].concat((0,s.default)(this._missingRequiredFields.fields),[{path:e,owner:i}])})}}},t._traverseSelections=function(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];switch(i.kind){case R:if(null==this._readRequiredField(i,t,r)){var a=i.action;return"NONE"!==a&&this._maybeReportUnexpectedNull(i.path,a,t),!1}break;case b:this._readScalar(i,t,r);break;case g:i.plural?this._readPluralLink(i,t,r):this._readLink(i,t,r);break;case d:if(Boolean(this._getVariableValue(i.condition))===i.passingValue)if(!this._traverseSelections(i.selections,t,r))return!1;break;case v:var s=i.abstractKey;if(null==s){var o=A.getType(t);if(null!=o&&o===i.type)if(!this._traverseSelections(i.selections,t,r))return!1}else{var S=this._isMissingData,T=this._isWithinUnmatchedTypeRefinement,F=A.getType(t),k=H(F),N=this._recordSource.get(k),O=null!=N?A.getValue(N,s):null;this._isWithinUnmatchedTypeRefinement=T||!1===O,this._traverseSelections(i.selections,t,r),this._isWithinUnmatchedTypeRefinement=T,!1===O?this._isMissingData=S:null==O&&this._markDataAsMissing()}break;case m:case y:if(!D.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(i,t,r);break;case f:this._createFragmentPointer(i,t,r);break;case E:this._readModuleImport(i,t,r);break;case p:this._createInlineDataOrResolverFragmentPointer(i,t,r);break;case h:case c:var P=this._isMissingData,L=this._missingClientEdges.length;D.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.push(null);var C=this._traverseSelections(i.selections,t,r);if(this._isMissingData=P||this._missingClientEdges.length>L,D.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!C)return!1;break;case I:if(!this._traverseSelections(i.selections,t,r))return!1;break;case _:if(!D.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._readFlightField(i,t,r);break;case l:this._readActorChange(i,t,r);break;case u:if(!D.ENABLE_CLIENT_EDGES)throw new Error("Client edges are not yet supported.");this._readClientEdge(i,t,r);break;default:G(!1)}}return!0},t._readRequiredField=function(e,t,r){switch(e.field.kind){case b:return this._readScalar(e.field,t,r);case g:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);case y:case m:if(!D.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,t,r);default:e.field.kind,G(!1)}},t._readResolverField=function(e,t,r){var n,s,o,l,u,c,d,h,_=this,f=e.resolverModule,p=e.fragment,v=U(e,this._variables),g=S.generateClientID(A.getDataID(t),v),E=new Set,m=function(e){if(null!=s)return s;o=e;var r=_._seenRecords;try{var n;_._seenRecords=E;var i={};return u=_._missingRequiredFields,_._missingRequiredFields=null,d=_._resolverErrors,_._resolverErrors=[],_._createInlineDataOrResolverFragmentPointer(e.node,t,i),l=_._missingRequiredFields,c=_._resolverErrors,("object"!=typeof(s=null===(n=i[P])||void 0===n?void 0:n[p.name])||null===s)&&G(!1),s}finally{_._seenRecords=r,_._missingRequiredFields=u,_._resolverErrors=d}},y={getDataForResolverFragment:m},R=this._resolverCache.readFromCacheOrEvaluate(t,e,this._variables,(function(){var r={__id:A.getDataID(t),__fragmentOwner:_._owner,__fragments:(0,a.default)({},p.name,{})};return K(y,(function(){var t=null;try{t=f(r)}catch(t){var n,i=null!==(n=e.path)&&void 0!==n?n:"[UNKNOWN]";c.push({field:{path:i,owner:_._fragmentName},error:t})}return{resolverResult:t,errors:c,fragmentValue:s,resolverID:g,seenRecordIDs:E,readerSelector:o,missingRequiredFields:l}}))}),m),b=R[0],I=R[1],D=R[2],T=R[3],F=(0,i.default)(D);try{for(F.s();!(h=F.n()).done;){var k=h.value;this._resolverErrors.push(k)}}catch(e){F.e(e)}finally{F.f()}return null!=T&&this._addMissingRequiredFields(T),null!=I&&this._seenRecords.add(I),r[null!==(n=e.alias)&&void 0!==n?n:e.name]=b,b},t._readClientEdge=function(e,t,r){var n,i=e.backingField;"ClientExtension"===i.kind&&G(!1);var a=null!==(n=i.alias)&&void 0!==n?n:i.name,s={};this._traverseSelections([i],t,s);var o=s[a];if(null!=o){"string"!=typeof o&&G(!1),this._clientEdgeTraversalPath.push({readerClientEdge:e,clientEdgeDestinationID:o});var l=r[a];null!=l&&"object"!=typeof l&&G(!1);var u=this._traverse(e.linkedField,o,l);r[a]=u,this._clientEdgeTraversalPath.pop()}else r[a]=o},t._readFlightField=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=U(e,this._variables),s=A.getLinkedRecordID(t,a);if(null==s)return r[i]=s,void 0===s&&this._markDataAsMissing(),s;var o=this._recordSource.get(s);if(this._seenRecords.add(s),null==o)return r[i]=o,void 0===o&&this._markDataAsMissing(),o;var l=T(o);return r[i]=l,l},t._readScalar=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=U(e,this._variables),s=A.getValue(t,a);return void 0===s&&this._markDataAsMissing(),r[i]=s,s},t._readLink=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=U(e,this._variables),s=A.getLinkedRecordID(t,a);if(null==s)return r[i]=s,void 0===s&&this._markDataAsMissing(),s;var o=r[i];null!=o&&"object"!=typeof o&&G(!1);var l=this._traverse(e,s,o);return r[i]=l,l},t._readActorChange=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=U(e,this._variables),s=A.getActorLinkedRecordID(t,a);if(null==s)return r[i]=s,void 0===s&&this._markDataAsMissing(),r[i];var o=s[0],l=s[1],u={};return this._createFragmentPointer(e.fragmentSpread,{__id:l},u),r[i]={__fragmentRef:u,__viewer:o},r[i]},t._readPluralLink=function(e,t,r){var n,i=this,a=null!==(n=e.alias)&&void 0!==n?n:e.name,s=U(e,this._variables),o=A.getLinkedRecordIDs(t,s);if(null==o)return r[a]=o,void 0===o&&this._markDataAsMissing(),o;var l=r[a];null==l||Array.isArray(l)||G(!1);var u=l||[];return o.forEach((function(t,r){if(null==t)return void 0===t&&i._markDataAsMissing(),void(u[r]=t);var n=u[r];null!=n&&"object"!=typeof n&&G(!1),u[r]=i._traverse(e,t,n)})),r[a]=u,u},t._readModuleImport=function(e,t,r){var n=V(e.documentName),i=A.getValue(t,n);null!=i?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,r),r[O]=e.fragmentPropName,r[w]=i):void 0===i&&this._markDataAsMissing()},t._createFragmentPointer=function(e,t,r){var n=r[P];null==n&&(n=r[P]={}),("object"!=typeof n||null==n)&&G(!1),null==r[L]&&(r[L]=A.getDataID(t)),n[e.name]=e.args?x(e.args,this._variables):{},r[N]=this._owner,r[C]=this._isWithinUnmatchedTypeRefinement,D.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(r[k]=(0,s.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var n=r[P];null==n&&(n=r[P]={}),("object"!=typeof n||null==n)&&G(!1),null==r[L]&&(r[L]=A.getDataID(t));var i={},a=this._fragmentName;this._fragmentName=e.name,this._traverseSelections(e.selections,t,i),this._fragmentName=a,n[e.name]=i},t._addMissingRequiredFields=function(e){null!=this._missingRequiredFields?"THROW"!==this._missingRequiredFields.action&&("THROW"!==e.action?this._missingRequiredFields={action:"LOG",fields:[].concat((0,s.default)(this._missingRequiredFields.fields),(0,s.default)(e.fields))}:this._missingRequiredFields=e):this._missingRequiredFields=e},e}();e.exports={read:function(e,t,r){return new Y(e,t,null!=r?r:new q).read()}}},function(e,t,r){"use strict";var n=new Map,i=1,a=function(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}();e.exports={intern:function(e,t){if(null==t||e.length<t)return function(e){return"\t"===e[0]&&a.has(e[1])||"\v"===e[0]?"\v"+e:e}(e);var r=n.get(e);return null!=r||(r="\t"+i++,n.set(e,r)),r}}},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(22),a=r(28),s=r(0),o=(r(3),{update:function(e,t){var r=e.get(t.dataID);if(null!=r){var n=r.getValue(t.fieldKey);"string"==typeof n?e.delete(n):Array.isArray(n)&&n.forEach((function(t){"string"==typeof t&&e.delete(t)}))}}}),l={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var a=t.handleArgs.connections;null==a&&s(!1);var o=r.getValue(t.fieldKey);(Array.isArray(o)?o:[o]).forEach((function(t){if("string"==typeof t){var r,s=(0,n.default)(a);try{for(s.s();!(r=s.n()).done;){var o=r.value,l=e.get(o);null!=l&&i.deleteNode(l,t)}}catch(e){s.e(e)}finally{s.f()}}}))}}},u={update:_(i.insertEdgeAfter)},c={update:_(i.insertEdgeBefore)},d={update:f(i.insertEdgeAfter)},h={update:f(i.insertEdgeBefore)};function _(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs.connections;null==d&&s(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var h,_=a.get(),f=_.NODE,p=_.EDGES,v=null!==(o=c)&&void 0!==o?o:[u],g=(0,n.default)(v);try{var E=function(){var r=h.value;if(null==r)return"continue";var a=r.getLinkedRecord("node");if(!a)return"continue";var o,l=a.getDataID(),u=(0,n.default)(d);try{for(u.s();!(o=u.n()).done;){var c=o.value,_=t.get(c);if(null!=_)if(!(null===(m=_.getLinkedRecords(p))||void 0===m?void 0:m.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(f))||void 0===t?void 0:t.getDataID())===l})))){var v=i.buildConnectionEdge(t,_,r);null==v&&s(!1),e(_,v)}}}catch(e){u.e(e)}finally{u.f()}};for(g.s();!(h=g.n()).done;){var m;E()}}catch(e){g.e(e)}finally{g.f()}}}}}function f(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs,h=d.connections,_=d.edgeTypeName;null==h&&s(!1),null==_&&s(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var f,p=a.get(),v=p.NODE,g=p.EDGES,E=null!==(o=c)&&void 0!==o?o:[u],m=(0,n.default)(E);try{var y=function(){var r=f.value;if(null==r)return"continue";var a,o=r.getDataID(),l=(0,n.default)(h);try{for(l.s();!(a=l.n()).done;){var u=a.value,c=t.get(u);if(null!=c)if(!(null===(R=c.getLinkedRecords(g))||void 0===R?void 0:R.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(v))||void 0===t?void 0:t.getDataID())===o})))){var d=i.createEdge(t,c,r,_);null==d&&s(!1),e(c,d)}}}catch(e){l.e(e)}finally{l.f()}};for(m.s();!(f=m.n()).done;){var R;y()}}catch(e){m.e(e)}finally{m.f()}}}}}e.exports={AppendEdgeHandler:u,DeleteRecordHandler:o,PrependEdgeHandler:c,AppendNodeHandler:d,PrependNodeHandler:h,DeleteEdgeHandler:l}},function(e,t,r){"use strict";var n=r(22),i=r(37),a=r(0);e.exports=function(e){switch(e){case"connection":return n;case"deleteRecord":return i.DeleteRecordHandler;case"deleteEdge":return i.DeleteEdgeHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler;case"appendNode":return i.AppendNodeHandler;case"prependNode":return i.PrependNodeHandler}a(!1)}},function(e,t,r){"use strict";var n=r(16),i=r(0);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&i(!1),r+JSON.stringify(n(t))}},function(e,t,r){"use strict";r(14),r(3);var n="function"==typeof WeakMap?new WeakMap:new Map;e.exports=function(e,t){if(null!=t){var r={};return Object.assign(r,e),Object.keys(t).forEach((function(e){var i=t[e].get,a=i();if(n.has(i)){var s=n.get(i);0,r[e]=s}else n.set(i,a),r[e]=a})),r}return e}},function(e,t,r){"use strict";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(17)),s=r(15),o=r(0),l=function(){function e(){var e=this;(0,a.default)(this,"_complete",!1),(0,a.default)(this,"_events",[]),(0,a.default)(this,"_sinks",new Set),(0,a.default)(this,"_subscription",[]),this._observable=s.create((function(t){e._sinks.add(t);for(var r=e._events,n=0;n<r.length&&!t.closed;n++){var i=r[n];switch(i.kind){case"complete":t.complete();break;case"error":t.error(i.error);break;case"next":t.next(i.data);break;default:i.kind,o(!1)}}return function(){e._sinks.delete(t)}}))}var t=e.prototype;return t.complete=function(){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach((function(e){return e.complete()})))},t.error=function(e){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"error",error:e}),this._sinks.forEach((function(t){return t.error(e)})))},t.next=function(e){!0!==this._complete&&(this._events.push({kind:"next",data:e}),this._sinks.forEach((function(t){return t.next(e)})))},t.subscribe=function(e){var t=this._observable.subscribe(e);return this._subscription.push(t),t},t.unsubscribe=function(){var e,t=(0,i.default)(this._subscription);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(e){t.e(e)}finally{t.f()}this._subscription=[]},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=l},function(e,t,r){"use strict";var n=r(31).getPromiseForActiveRequest;e.exports=function(e,t,r){var i,a,s=[],o=n(e,r);if(null!=o)s=[r];else{var l,u,c=e.getOperationTracker().getPendingOperationsAffectingOwner(r);s=null!==(l=null==c?void 0:c.pendingOperations)&&void 0!==l?l:[],o=null!==(u=null==c?void 0:c.promise)&&void 0!==u?u:null}if(!o)return null;var d=null!==(i=null===(a=s)||void 0===a?void 0:a.map((function(e){return e.node.params.name})).join(","))&&void 0!==i?i:null;null!=d&&0!==d.length||(d="Unknown pending operation");var h=t.name,_=d===h?"Relay(".concat(d,")"):"Relay(".concat(d,":").concat(h,")");return o.displayName=_,{promise:o,pendingOperations:s}}},function(e,t,r){"use strict";e.exports=function(e,t){return e===t&&(null===e||"object"!=typeof e)}},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(0),a=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=e.identifier,a=new Set,s=(0,n.default)(t);try{for(s.s();!(r=s.n()).done;){var o=r.value.identifier,l=this._ownersToPendingOperations.get(o);null!=l?l.has(i)||(l.set(i,e),a.add(o)):(this._ownersToPendingOperations.set(o,new Map([[i,e]])),a.add(o))}}catch(e){s.e(e)}finally{s.f()}if(0!==a.size){var u,c=this._pendingOperationsToOwners.get(i)||new Set,d=(0,n.default)(a);try{for(d.s();!(u=d.n()).done;){var h=u.value;this._resolveOwnerResolvers(h),c.add(h)}}catch(e){d.e(e)}finally{d.f()}this._pendingOperationsToOwners.set(i,c)}}},t.complete=function(e){var t=e.identifier,r=this._pendingOperationsToOwners.get(t);if(null!=r){var i,a=new Set,s=new Set,o=(0,n.default)(r);try{for(o.s();!(i=o.n()).done;){var l=i.value,u=this._ownersToPendingOperations.get(l);u&&(u.delete(t),u.size>0?s.add(l):a.add(l))}}catch(e){o.e(e)}finally{o.f()}var c,d=(0,n.default)(a);try{for(d.s();!(c=d.n()).done;){var h=c.value;this._resolveOwnerResolvers(h),this._ownersToPendingOperations.delete(h)}}catch(e){d.e(e)}finally{d.f()}var _,f=(0,n.default)(s);try{for(f.s();!(_=f.n()).done;){var p=_.value;this._resolveOwnerResolvers(p)}}catch(e){f.e(e)}finally{f.f()}this._pendingOperationsToOwners.delete(t)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPendingPromise.get(e);null!=t&&t.resolve(),this._ownersToPendingPromise.delete(e)},t.getPendingOperationsAffectingOwner=function(e){var t=e.identifier,r=this._ownersToPendingOperations.get(t);if(null==r||0===r.size)return null;var n,a=this._ownersToPendingPromise.get(t);if(null!=a)return{promise:a.promise,pendingOperations:a.pendingOperations};var s=new Promise((function(e){n=e}));null==n&&i(!1);var o=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:s,resolve:n,pendingOperations:o}),{promise:s,pendingOperations:o}},e}();e.exports=a},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";var n=r(49),i=n.VIEWER_ID,a=n.VIEWER_TYPE;e.exports=function(e,t){return t===a&&null==e.id?i:e.id}},function(e,t,r){"use strict";var n=(0,r(7).generateClientID)(r(2).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";function n(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];var s=0,o=r.replace(/%s/g,(function(){return String(i[s++])})),l=new Error(o),u=Object.assign(l,{name:t,messageFormat:r,messageParams:i,type:e,taalOpcodes:[2,2]});if(void 0===u.stack)try{throw u}catch(e){}return u}e.exports={create:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return n.apply(void 0,["error",e,t].concat(i))},createWarning:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return n.apply(void 0,["warn",e,t].concat(i))}}},function(e,t,r){"use strict";var n=r(9),i=r(25).EXISTENT,a=r(0),s=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);return void 0===r?null==t?t:n.clone(t):null===r?null:null!=t?n.update(t,r):n.clone(r)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||a(!1),t=n.create(e,n.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),i=this._base.get(e);r||i||a(!1);var s=this._getSinkRecord(t);i&&n.copyFields(i,s),r&&n.copyFields(r,s)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===i||this._sink.getStatus(e)===i)&&a(!1);var r=n.create(e,t);this._sink.set(e,r)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return n.getType(r);if(null===r)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getValue(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setValue=function(e,t,r){var i=this._getSinkRecord(e);n.setValue(i,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordID(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordID=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordID(i,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordIDs(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordIDs=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordIDs(i,t,r)},e}();e.exports=s},function(e,t,r){"use strict";var n=r(9),i=r(25),a=i.EXISTENT,s=i.NONEXISTENT,o=r(2),l=o.ROOT_ID,u=o.ROOT_TYPE,c=r(53).readUpdatableQuery_EXPERIMENTAL,d=r(82),h=r(0),_=function(){function e(e,t,r){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach((function(t){var i=e.getStatus(t);if(i===a){var o=e.get(t);o&&(r.__mutator.getStatus(t)!==a&&r.create(t,n.getType(o)),r.__mutator.copyFieldsFromRecord(o,t))}else i===s&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||h(!1),t.update(r,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var r=this.get(e);return r||h(!1),r},t.delete=function(e){e===l&&h(!1),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===a?new d(this,this.__mutator,e):t===s?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(l);return e||(e=this.create(l,u)),e&&e.getType()===u||h(!1),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return c(e,t,this)},e}();e.exports=_},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(10).getUpdatableQuery,a=r(2).getArgumentValues,s=["id","__id","__typename","js"];function o(e,t,r,i,h){var _,f,p=(0,n.default)(i);try{var v=function(){var n=f.value;switch(n.kind){case"LinkedField":n.plural?Object.defineProperty(e,null!==(g=n.alias)&&void 0!==g?g:n.name,{get:c(n,r,t,h),set:l(n,r,t,h)}):Object.defineProperty(e,null!==(E=n.alias)&&void 0!==E?E:n.name,{get:d(n,r,t,h),set:u(n,r,t,h)});break;case"ScalarField":var i=null!==(_=n.alias)&&void 0!==_?_:n.name;Object.defineProperty(e,i,{get:function(){var e,i=a(null!==(e=n.args)&&void 0!==e?e:[],r);return t.getValue(n.name,i)},set:s.includes(n.name)?void 0:function(e){var i,s=a(null!==(i=n.args)&&void 0!==i?i:[],r);t.setValue(e,n.name,s)}});break;case"InlineFragment":t.getType()===n.type&&o(e,t,r,n.selections,h);break;case"ClientExtension":o(e,t,r,n.selections,h);break;case"FragmentSpread":break;default:throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(p.s();!(f=p.n()).done;){var g,E;v()}}catch(e){p.e(e)}finally{p.f()}}function l(e,t,r,n){return function(i){var s,o=a(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==i)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var l=i.map((function(e){if(null==e)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var t=e.__id;if(null==t)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var r=n.get(t);if(null==r)throw new Error("Did not find item with data id ".concat(t," in the store."));return r}));r.setLinkedRecords(l,e.name,o)}}function u(e,t,r,n){return function(i){var s,o=a(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==i)r.setValue(i,e.name,o);else{var l=i.__id;if(null==l)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=n.get(l);if(null==u)throw new Error("Did not find item with data id ".concat(l," in the store."));r.setLinkedRecord(u,e.name,o)}}}function c(e,t,r,n){return function(){var i,s=a(null!==(i=e.args)&&void 0!==i?i:[],t),l=r.getLinkedRecords(e.name,s);return null!=l?l.map((function(r){if(null!=r){var i={};return o(i,r,t,e.selections,n),i}return r})):l}}function d(e,t,r,n){return function(){var i,s=a(null!==(i=e.args)&&void 0!==i?i:[],t),l=r.getLinkedRecord(e.name,s);if(null!=l){var u={};return o(u,l,t,e.selections,n),u}return l}}e.exports={readUpdatableQuery_EXPERIMENTAL:function(e,t,r){var n=i(e),a={};return o(a,r.getRoot(),t,n.fragment.selections,r),a}}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(24),a=r(6).RELAY_LIVE_RESOLVER,s=r(7).generateClientID,o=r(9),l=r(2),u=l.RELAY_RESOLVER_ERROR_KEY,c=l.RELAY_RESOLVER_INPUTS_KEY,d=l.RELAY_RESOLVER_INVALIDATION_KEY,h=l.RELAY_RESOLVER_MISSING_REQUIRED_FIELDS_KEY,_=l.RELAY_RESOLVER_READER_SELECTOR_KEY,f=l.RELAY_RESOLVER_VALUE_KEY,p=l.getStorageKey,v=r(0),g=(r(3),new Set),E=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,i){t.kind===a&&v(!1);var s=n(),o=s.resolverResult,l=s.missingRequiredFields;return[o,void 0,s.errors,l]},t.invalidateDataIDs=function(e){},e}();function m(e,t,r){var n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(r)}var y=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,i,a){var l=this._getRecordSource(),d=o.getDataID(e),v=p(t,r),g=o.getLinkedRecordID(e,v),E=null==g?null:l.get(g);if(null==E||this._isInvalid(E,a)){var y;g=null!==(y=g)&&void 0!==y?y:s(d,v),E=o.create(g,"__RELAY_RESOLVER__");var R=i();o.setValue(E,f,R.resolverResult),o.setValue(E,c,R.fragmentValue),o.setValue(E,_,R.readerSelector),o.setValue(E,h,R.missingRequiredFields),o.setValue(E,u,R.errors),l.set(g,E);var b=o.clone(e);o.setLinkedRecordID(b,v,g),l.set(o.getDataID(b),b);var I=R.resolverID;m(this._resolverIDToRecordIDs,I,g),m(this._recordIDToResolverIDs,d,I);var D,S=(0,n.default)(R.seenRecordIDs);try{for(S.s();!(D=S.n()).done;){var A=D.value;m(this._recordIDToResolverIDs,A,I)}}catch(e){S.e(e)}finally{S.f()}}var T=E[f],F=E[h];return[T,g,E[u],F]},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,i=Array.from(e);i.length;){var a=i.pop();e.add(a);var s,o=(0,n.default)(null!==(l=this._recordIDToResolverIDs.get(a))&&void 0!==l?l:g);try{for(o.s();!(s=o.n()).done;){var l,u=s.value;if(!r.has(u)){var c,d=(0,n.default)(null!==(h=this._resolverIDToRecordIDs.get(u))&&void 0!==h?h:g);try{for(d.s();!(c=d.n()).done;){var h,_=c.value;this._markInvalidatedResolverRecord(_,t,e),r.has(_)||i.push(_)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){o.e(e)}finally{o.f()}}},t._markInvalidatedResolverRecord=function(e,t,r){var n=t.get(e);if(n){var i=o.clone(n);o.setValue(i,d,!0),t.set(e,i)}},t._isInvalid=function(e,t){if(!o.getValue(e,d))return!1;var r=o.getValue(e,c),n=o.getValue(e,_);if(null==r||null==n)return!0;var a=t(n);return i(r,a)!==r},e}();e.exports={NoopResolverCache:E,RecordResolverCache:y}},function(e,t,r){"use strict";var n=r(10).getFragment,i=r(11).getSelector,a=r(0),s=[];e.exports={readFragment:function(e,t){if(!s.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var r=s[s.length-1],o=n(e),l=i(o,t);return null==l&&a(!1),"SingularReaderSelector"!==l.kind&&a(!1),r.getDataForResolverFragment(l,t)},withResolverContext:function(e,t){s.push(e);try{return t()}finally{s.pop()}}}},function(e,t,r){"use strict";var n=r(6).LINKED_FIELD,i=r(2).getHandleStorageKey,a=r(14),s=r(0);e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));o&&o.kind===n||s(!1);var l=i(e,r);return{kind:"LinkedField",alias:o.alias,name:l,storageKey:l,args:null,concreteType:o.concreteType,plural:o.plural,selections:o.selections}}},function(e,t,r){"use strict";var n=r(0);e.exports=function(e,t){var r,i;!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)&&n(!1);var a=null===(i=e.metadata)||void 0===i?void 0:i.refetch;null==a&&n(!1);var s=a.operation.default?a.operation.default:a.operation,o=a.fragmentPathInResult;"string"==typeof s&&n(!1);var l=a.identifierField;return null!=l&&"string"!=typeof l&&n(!1),{fragmentRefPathInResponse:o,identifierField:l,refetchableRequest:s,refetchMetadata:a}}},function(e,t,r){"use strict";var n=r(22),i=r(28),a=r(37),s=r(38),o=r(59),l=r(60),u=r(61),c=r(23),d=r(63),h=r(15),_=r(65),f=r(66),p=r(67),v=r(31),g=r(10),E=r(68),m=r(7),y=m.generateClientID,R=m.generateUniqueClientID,b=m.isClientID,I=r(69),D=r(71),S=r(29),A=r(72),T=r(13),F=r(73),k=r(12),N=r(9),O=r(11),P=r(84),L=r(46),C=r(20),w=r(2),M=r(55),x=r(49),V=r(92),U=r(93),q=r(19),K=r(94),H=r(96),G=r(97),Y=r(43),j=r(57),z=r(27),B=r(39),Q=r(98),W=r(30),X=r(41),J=r(44),Z=r(24),$=r(6),ee=r(36),te=r(50),re=r(5),ne=r(99),ie=r(42),ae=r(16),se=r(40);e.exports={Environment:F,Network:d,Observable:h,QueryResponseCache:_,RecordSource:C,Record:N,ReplaySubject:ie,Store:P,areEqualSelectors:O.areEqualSelectors,createFragmentSpecResolver:I,createNormalizationSelector:O.createNormalizationSelector,createOperationDescriptor:k.createOperationDescriptor,createReaderSelector:O.createReaderSelector,createRequestDescriptor:k.createRequestDescriptor,getDataIDsFromFragment:O.getDataIDsFromFragment,getDataIDsFromObject:O.getDataIDsFromObject,getNode:g.getNode,getFragment:g.getFragment,getInlineDataFragment:g.getInlineDataFragment,getModuleComponentKey:w.getModuleComponentKey,getModuleOperationKey:w.getModuleOperationKey,getPaginationFragment:g.getPaginationFragment,getPluralSelector:O.getPluralSelector,getRefetchableFragment:g.getRefetchableFragment,getRequest:g.getRequest,getRequestIdentifier:B,getSelector:O.getSelector,getSelectorsFromObject:O.getSelectorsFromObject,getSingularSelector:O.getSingularSelector,getStorageKey:w.getStorageKey,getVariablesFromFragment:O.getVariablesFromFragment,getVariablesFromObject:O.getVariablesFromObject,getVariablesFromPluralFragment:O.getVariablesFromPluralFragment,getVariablesFromSingularFragment:O.getVariablesFromSingularFragment,handlePotentialSnapshotErrors:W,graphql:g.graphql,isFragment:g.isFragment,isInlineDataFragment:g.isInlineDataFragment,isRequest:g.isRequest,readInlineData:A,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:s,ConnectionHandler:n,MutationHandlers:a,VIEWER_ID:x.VIEWER_ID,VIEWER_TYPE:x.VIEWER_TYPE,applyOptimisticMutation:o,commitLocalUpdate:l,commitMutation:u,fetchQuery:f,fetchQuery_DEPRECATED:p,isRelayModernEnvironment:S,requestSubscription:V,ConnectionInterface:i,PreloadableQueryRegistry:E,RelayProfiler:ne,createPayloadFor3DField:U,RelayConcreteNode:$,RelayError:te,RelayFeatureFlags:re,DEFAULT_HANDLE_KEY:ee.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:w.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:w.FRAGMENT_OWNER_KEY,ID_KEY:w.ID_KEY,REF_KEY:w.REF_KEY,REFS_KEY:w.REFS_KEY,ROOT_ID:w.ROOT_ID,ROOT_TYPE:w.ROOT_TYPE,TYPENAME_KEY:w.TYPENAME_KEY,deepFreeze:q,generateClientID:y,generateUniqueClientID:R,getRelayHandleKey:z,isClientID:b,isPromise:X,isScalarAndEqual:J,recycleNodesInto:Z,stableCopy:ae,getFragmentIdentifier:K,getRefetchMetadata:j,getPaginationMetadata:H,getPaginationVariables:G,getPendingOperationsForFragment:Y,getValueAtPath:Q,__internal:{ResolverFragments:M,OperationTracker:L,createRelayContext:D,getOperationVariables:T.getOperationVariables,fetchQuery:v.fetchQuery,fetchQueryDeduped:v.fetchQueryDeduped,getPromiseForActiveRequest:v.getPromiseForActiveRequest,getObservableForActiveRequest:v.getObservableForActiveRequest,withProvidedVariables:se}}},function(e,t,r){"use strict";var n=r(10).getRequest,i=r(29),a=r(12).createOperationDescriptor,s=r(23),o=r(0);e.exports=function(e,t){i(e)||o(!1);var r=n(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");var l=t.optimisticUpdater,u=t.configs,c=t.optimisticResponse,d=t.variables,h=a(r,d);return u&&(l=s.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:h,response:c,updater:l})}},function(e,t,r){"use strict";e.exports=function(e,t){e.commitUpdate(t)}},function(e,t,r){"use strict";var n=r(1)(r(18)),i=r(10).getRequest,a=r(7).generateUniqueClientID,s=r(29),o=r(12).createOperationDescriptor,l=r(23),u=(r(62),r(0));r(3);e.exports=function(e,t){s(e)||u(!1);var r=i(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");if("Request"!==r.kind)throw new Error("commitMutation: Expected mutation to be of type request");var c=t.optimisticResponse,d=t.optimisticUpdater,h=t.updater,_=t.configs,f=t.cacheConfig,p=t.onError,v=t.onUnsubscribe,g=t.variables,E=t.uploadables,m=o(r,g,f,a());if("function"==typeof c&&(c=c()),_){var y=l.convert(_,r,d,h);d=y.optimisticUpdater,h=y.updater}var R=[];return{dispose:e.executeMutation({operation:m,optimisticResponse:c,optimisticUpdater:d,updater:h,uploadables:E}).subscribe({next:function(e){var r;Array.isArray(e)?e.forEach((function(e){e.errors&&R.push.apply(R,(0,n.default)(e.errors))})):e.errors&&R.push.apply(R,(0,n.default)(e.errors)),null===(r=t.onNext)||void 0===r||r.call(t)},complete:function(){var r=t.onCompleted;r&&r(e.lookup(m.fragment).data,0!==R.length?R:null)},error:p,unsubscribe:v}).unsubscribe}}},function(e,t,r){"use strict";r(1)(r(8));var n=r(6);n.ACTOR_CHANGE,n.CLIENT_COMPONENT,n.CLIENT_EXTENSION,n.CONDITION,n.DEFER,n.FLIGHT_FIELD,n.FRAGMENT_SPREAD,n.INLINE_FRAGMENT,n.LINKED_FIELD,n.LINKED_HANDLE,n.MODULE_IMPORT,n.SCALAR_FIELD,n.SCALAR_HANDLE,n.STREAM,n.TYPE_DISCRIMINATOR,r(3),Object.prototype.hasOwnProperty;e.exports=function(){}},function(e,t,r){"use strict";var n=r(40),i=r(64).convertFetch,a=r(0);e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,s,o,l){var u=n(i,e.providedVariables);if("subscription"===e.operationKind)return t||a(!1),o&&a(!1),t(e,u,s);var c=s.poll;return null!=c?(o&&a(!1),r(e,u,{force:!0}).poll(c)):r(e,u,s,o,l)}}}}},function(e,t,r){"use strict";var n=r(15);e.exports={convertFetch:function(e){return function(t,r,i,a,s){var o=e(t,r,i,a,s);return o instanceof Error?n.create((function(e){return e.error(o)})):n.from(o)}}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(16),a=r(0),s=function(){function e(e){var t=e.size,r=e.ttl;t>0||a(!1),r>0||a(!1),this._responses=new Map,this._size=t,this._ttl=r}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(e,t){var r=this,i=o(e,t);this._responses.forEach((function(e,t){var n,i;n=e.fetchTime,i=r._ttl,n+i>=Date.now()||r._responses.delete(t)}));var a=this._responses.get(i);return null==a?null:Array.isArray(a.payload)?a.payload.map((function(e){return(0,n.default)((0,n.default)({},e),{},{extensions:(0,n.default)((0,n.default)({},e.extensions),{},{cacheTimestamp:a.fetchTime})})})):(0,n.default)((0,n.default)({},a.payload),{},{extensions:(0,n.default)((0,n.default)({},a.payload.extensions),{},{cacheTimestamp:a.fetchTime})})},t.set=function(e,t,r){var n=Date.now(),i=o(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var a=this._responses.keys().next();a.done||this._responses.delete(a.value)}},e}();function o(e,t){return JSON.stringify(i({queryID:e,variables:t}))}e.exports=s},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(15),a=r(12).createOperationDescriptor,s=r(30),o=r(31),l=r(10).getRequest,u=r(0);function c(e,t){return o.fetchQuery(e,t).map((function(){return e.lookup(t.fragment)}))}e.exports=function(e,t,r,o){var d,h=l(t);"query"!==h.params.operationKind&&u(!1);var _=(0,n.default)({force:!0},null==o?void 0:o.networkCacheConfig),f=a(h,r,_),p=null!==(d=null==o?void 0:o.fetchPolicy)&&void 0!==d?d:"network-only";function v(t){return s(e,t.missingRequiredFields,t.relayResolverErrors),t.data}switch(p){case"network-only":return c(e,f).map(v);case"store-or-network":return"available"===e.check(f).status?i.from(e.lookup(f.fragment)).map(v):c(e,f).map(v);default:throw new Error("fetchQuery: Invalid fetchPolicy "+p)}}},function(e,t,r){"use strict";var n=r(12).createOperationDescriptor,i=r(10).getRequest;e.exports=function(e,t,r,a){var s=i(t);if("query"!==s.params.operationKind)throw new Error("fetchQuery: Expected query operation");var o=n(s,r,a);return e.execute({operation:o}).map((function(){return e.lookup(o.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var t=e.prototype;return t.set=function(e,t){this._preloadableQueries.set(e,t);var r=this._callbacks.get(e);null!=r&&r.forEach((function(e){try{e(t)}catch(e){setTimeout((function(){throw e}),0)}}))},t.get=function(e){return this._preloadableQueries.get(e)},t.onLoad=function(e,t){var r,n=null!==(r=this._callbacks.get(e))&&void 0!==r?r:new Set;n.add(t);return this._callbacks.set(e,n),{dispose:function(){n.delete(t)}}},t.clear=function(){this._preloadableQueries.clear()},e}());e.exports=n},function(e,t,r){"use strict";var n=r(70);r(3);e.exports=function(e,t,r,i,a,s){return new n(e,r,i,s,a)}},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),a=n(r(17)),s=r(43),o=r(30),l=r(44),u=r(24),c=r(5),d=r(12).createRequestDescriptor,h=r(11),_=h.areEqualSelectors,f=h.createReaderSelector,p=h.getSelectorsFromObject,v=r(14),g=r(0),E=(r(3),function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(){s._stale=!0,"function"==typeof s._callback&&s._callback()})),this._callback=n,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=i,this.setProps(r)}var t=e.prototype;return t.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&R(this._resolvers[e])},t.resolve=function(){if(this._stale){var e,t=this._data;for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r],a=t[r];if(n){var s=n.resolve();(e||s!==a)&&((e=e||(0,i.default)({},t))[r]=s)}else{var o=this._props[r],u=void 0!==o?o:null;!e&&l(u,a)||((e=e||(0,i.default)({},t))[r]=u)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e,t){this._callback=t,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},t.setProps=function(e){this._props={};var t=p(this._fragments,e);for(var r in t)if(t.hasOwnProperty(r)){var n=t[r],i=this._resolvers[r];null==n?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===n.kind?null==i?i=new y(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof y||g(!1),i.setSelector(n)):null==i?i=new m(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof m||g(!1),i.setSelector(n)),this._props[r]=e[r],this._resolvers[r]=i}this._stale=!0},t.setVariables=function(e,t){for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r];n&&n.setVariables(e,t)}this._stale=!0},e}()),m=function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(e){s._data=e.data,s._isMissingData=e.isMissingData,s._missingRequiredFields=e.missingRequiredFields,s._relayResolverErrors=e.relayResolverErrors,s._callback()}));var o=e.lookup(r);this._callback=i,this._data=o.data,this._isMissingData=o.isMissingData,this._missingRequiredFields=o.missingRequiredFields,this._relayResolverErrors=o.relayResolverErrors,this._environment=e,this._rootIsQueryRenderer=t,this._selector=r,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?n&&(this._subscription=e.subscribe(o,this._onChange)):this._subscription=e.subscribe(o,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){if(!0===this._isMissingData){var e=s(this._environment,this._selector.node,this._selector.owner),t=null==e?void 0:e.promise;if(null!=t&&!this._rootIsQueryRenderer){var r,n=null!==(r=null==e?void 0:e.pendingOperations)&&void 0!==r?r:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:n}),t}}return o(this._environment,this._missingRequiredFields,this._relayResolverErrors),this._data},t.setSelector=function(e){if(null==this._subscription||!_(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=u(this._data,t.data),this._isMissingData=t.isMissingData,this._missingRequiredFields=t.missingRequiredFields,this._relayResolverErrors=t.relayResolverErrors,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!v(e,this._selector.variables)){var r=d(t,e),n=f(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),y=function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(e){s._stale=!0,s._callback()})),this._callback=i,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=t,this._subscribeOnConstruction=n,this.setSelector(r)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(R)},t.resolve=function(){if(this._stale){for(var e,t=this._data,r=0;r<this._resolvers.length;r++){var n=t[r],i=this._resolvers[r].resolve();(e||i!==n)&&(e=e||t.slice(0,r)).push(i)}e||this._resolvers.length===t.length||(e=t.slice(0,this._resolvers.length)),this._data=e||t,this._stale=!1}return this._data},t.setSelector=function(e){for(var t=e.selectors;this._resolvers.length>t.length;){this._resolvers.pop().dispose()}for(var r=0;r<t.length;r++)r<this._resolvers.length?this._resolvers[r].setSelector(t[r]):this._resolvers[r]=new m(this._environment,this._rootIsQueryRenderer,t[r],this._subscribeOnConstruction,this._onChange);this._stale=!0},t.setVariables=function(e,t){this._resolvers.forEach((function(r){return r.setVariables(e,t)})),this._stale=!0},e}();function R(e){e&&e.dispose()}e.exports=E},function(e,t,r){"use strict";var n,i,a=r(0);e.exports=function(e){return n||(n=e.createContext(null),i=e),e!==i&&a(!1),n}},function(e,t,r){"use strict";var n=r(10).getInlineDataFragment,i=r(2).FRAGMENTS_KEY,a=r(0);e.exports=function(e,t){var r,s=n(e);if(null==t)return t;"object"!=typeof t&&a(!1);var o=null===(r=t[i])||void 0===r?void 0:r[s.name];return null==o&&a(!1),o}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(38),a=r(32),s=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,o=a.assertInternalActorIndentifier,l=r(15),u=r(74),c=r(46),d=r(75),h=r(5),_=r(48),f=r(76),p=r(77),v=r(81),g=r(20),E=(r(0),function(){function e(e){var t,r,n,a,s,o,l,p,g=this;this.configName=e.configName,this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var E=e.operationLoader,y=e.reactFlightPayloadDeserializer,R=e.reactFlightServerErrorHandler;this.__log=null!==(t=e.log)&&void 0!==t?t:m,this.requiredFieldLogger=null!==(r=e.requiredFieldLogger)&&void 0!==r?r:f,this._defaultRenderPolicy=(null!==(n=e.UNSTABLE_defaultRenderPolicy)&&void 0!==n?n:!0===h.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=E,this._operationExecutions=new Map,this._network=u(this,e.network),this._getDataID=null!==(a=e.getDataID)&&void 0!==a?a:_,this._publishQueue=new v(e.store,null!==(s=e.handlerProvider)&&void 0!==s?s:i,this._getDataID),this._scheduler=null!==(o=e.scheduler)&&void 0!==o?o:null,this._store=e.store,this.options=e.options,this._isServer=null!==(l=e.isServer)&&void 0!==l&&l,this.__setNet=function(e){return g._network=u(g,e)},this._missingFieldHandlers=e.missingFieldHandlers,this._operationTracker=null!==(p=e.operationTracker)&&void 0!==p?p:new c,this._reactFlightPayloadDeserializer=y,this._reactFlightServerErrorHandler=R,this._shouldProcessClientComponents=e.shouldProcessClientComponents,d(this)}var t=e.prototype;return t.getStore=function(){return this._store},t.getNetwork=function(){return this._network},t.getOperationTracker=function(){return this._operationTracker},t.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(e){var t=this;return this._scheduleUpdates((function(){t._publishQueue.applyUpdate(e),t._publishQueue.run()})),{dispose:function(){t._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))}}},t.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},t.replaceUpdate=function(e,t){var r=this;this._scheduleUpdates((function(){r._publishQueue.revertUpdate(e),r._publishQueue.applyUpdate(t),r._publishQueue.run()}))},t.applyMutation=function(e){var t=this._execute({createSource:function(){return l.create((function(e){}))},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},t.check=function(e){return null==this._missingFieldHandlers||0===this._missingFieldHandlers.length?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},t.commitPayload=function(e,t){this._execute({createSource:function(){return l.from({data:t})},isClientPayload:!0,operation:e,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},t.lookup=function(e){return this._store.lookup(e)},t.subscribe=function(e,t){return this._store.subscribe(e,t)},t.retain=function(e){return this._store.retain(e)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(e,t){var r=this,n=g.create(),i=this._store.getSource(),a=this._store.check(e,{handlers:t,defaultActorIdentifier:s,getSourceForActor:function(e){return o(e),i},getTargetForActor:function(e){return o(e),n}});return n.size()>0&&this._scheduleUpdates((function(){r._publishQueue.commitSource(n),r._publishQueue.run()})),a},t._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},t.execute=function(e){var t=this,r=e.operation;return this._execute({createSource:function(){return t.getNetwork().execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:null})},t.executeSubscription=function(e){var t=this,r=e.operation,n=e.updater;return this._execute({createSource:function(){return t.getNetwork().execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:n})},t.executeMutation=function(e){var t,r=this,i=e.operation,a=e.optimisticResponse,s=e.optimisticUpdater,o=e.updater,l=e.uploadables;return(a||s)&&(t={operation:i,response:a,updater:s}),this._execute({createSource:function(){return r.getNetwork().execute(i.request.node.params,i.request.variables,(0,n.default)((0,n.default)({},i.request.cacheConfig),{},{force:!0}),l)},isClientPayload:!1,operation:i,optimisticConfig:t,updater:o})},t.executeWithSource=function(e){var t=e.operation,r=e.source;return this._execute({createSource:function(){return r},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},t.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},t._execute=function(e){var t=this,r=e.createSource,n=e.isClientPayload,i=e.operation,a=e.optimisticConfig,u=e.updater,c=this._publishQueue,d=this._store;return l.create((function(e){var l=p.execute({actorIdentifier:s,getDataID:t._getDataID,isClientPayload:n,log:t.__log,operation:i,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:a,getPublishQueue:function(e){return o(e),c},reactFlightPayloadDeserializer:t._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:r(),getStore:function(e){return o(e),d},treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,updater:u});return function(){return l.cancel()}}))},e}());function m(){}E.prototype["@@RelayModernEnvironment"]=!0,e.exports=E},function(e,t,r){"use strict";var n=r(45);e.exports=function(e,t){return{execute:function(r,i,a,s){var o=n(),l={start:function(t){e.__log({name:"network.start",networkRequestId:o,params:r,variables:i,cacheConfig:a})},next:function(t){e.__log({name:"network.next",networkRequestId:o,response:t})},error:function(t){e.__log({name:"network.error",networkRequestId:o,error:t})},complete:function(){e.__log({name:"network.complete",networkRequestId:o})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:o})}};return t.execute(r,i,a,s,(function(t){e.__log({name:"network.info",networkRequestId:o,info:t})})).do(l)}}}},function(e,t,r){"use strict";(function(t){e.exports=function(e){var r=void 0!==t?t:"undefined"!=typeof window?window:void 0,n=r&&r.__RELAY_DEVTOOLS_HOOK__;n&&n.registerEnvironment(e)}}).call(this,r(47))},function(e,t,r){"use strict";e.exports=function(e){0}},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),a=n(r(4)),s=n(r(17)),o=n(r(18)),l=r(15),u=r(45),c=r(33),d=r(50),h=r(5),_=r(16),f=r(78),p=r(7),v=p.generateClientID,g=p.generateUniqueClientID,E=r(13).getLocalVariables,m=r(9),y=r(11),R=y.createNormalizationSelector,b=y.createReaderSelector,I=r(20),D=r(79),S=r(2),A=S.ROOT_TYPE,T=S.TYPENAME_KEY,F=S.getStorageKey,k=r(0);r(3);var N=function(){function e(e){var t=this,r=e.actorIdentifier,n=e.getDataID,i=e.getPublishQueue,a=e.getStore,o=e.isClientPayload,l=e.operation,c=e.operationExecutions,d=e.operationLoader,h=e.operationTracker,_=e.optimisticConfig,p=e.reactFlightPayloadDeserializer,v=e.reactFlightServerErrorHandler,g=e.scheduler,E=e.shouldProcessClientComponents,m=e.sink,y=e.source,R=e.treatMissingFieldsAsNull,b=e.updater,I=e.log;(0,s.default)(this,"_deserializeReactFlightPayloadWithLogging",(function(e){var r=t._reactFlightPayloadDeserializer;"function"!=typeof r&&k(!1);var n=f((function(){return r(e)})),i=n[0],a=n[1];return t._log({name:"execute.flight.payload_deserialize",executeId:t._executeId,operationName:t._operation.request.node.params.name,duration:i}),a})),this._actorIdentifier=r,this._getDataID=n,this._treatMissingFieldsAsNull=R,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=I,this._executeId=u(),this._nextSubscriptionId=0,this._operation=l,this._operationExecutions=c,this._operationLoader=d,this._operationTracker=h,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._getPublishQueue=i,this._scheduler=g,this._sink=m,this._source=new Map,this._state="started",this._getStore=a,this._subscriptions=new Map,this._updater=b,this._isClientPayload=!0===o,this._reactFlightPayloadDeserializer=p,this._reactFlightServerErrorHandler=v,this._isSubscriptionOperation="subscription"===this._operation.request.node.params.operationKind,this._shouldProcessClientComponents=E,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[];var D=this._nextSubscriptionId++;y.subscribe({complete:function(){return t._complete(D)},error:function(e){return t._error(e)},next:function(e){try{t._next(D,e)}catch(e){m.error(e)}},start:function(e){var r;t._start(D,e),t._log({name:"execute.start",executeId:t._executeId,params:t._operation.request.node.params,variables:t._operation.request.variables,cacheConfig:null!==(r=t._operation.request.cacheConfig)&&void 0!==r?r:{}})}}),null!=_&&this._processOptimisticResponse(null!=_.response?{data:_.response}:null,_.updater,!1)}var t=e.prototype;return t.cancel=function(){var e=this;if("completed"!==this._state){this._state="completed",this._operationExecutions.delete(this._operation.request.identifier),0!==this._subscriptions.size&&(this._subscriptions.forEach((function(e){return e.unsubscribe()})),this._subscriptions.clear());var t=this._optimisticUpdates;null!==t&&(this._optimisticUpdates=null,t.forEach((function(t){return e._getPublishQueueAndSaveActor().revertUpdate(t)})),this._runPublishQueue()),this._incrementalResults.clear(),null!=this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable.dispose(),this._asyncStoreUpdateDisposable=null),this._completeFns=[],this._completeOperationTracker(),this._disposeRetainedData()}},t._updateActiveState=function(){var e;switch(this._state){case"started":case"loading_incremental":e="active";break;case"completed":e="inactive";break;case"loading_final":e=this._pendingModulePayloadsCount>0?"active":"inactive";break;default:this._state,k(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},t._schedule=function(e){var t=this,r=this._scheduler;if(null!=r){var n=this._nextSubscriptionId++;l.create((function(t){var n=r.schedule((function(){try{e(),t.complete()}catch(e){t.error(e)}}));return function(){return r.cancel(n)}})).subscribe({complete:function(){return t._complete(n)},error:function(e){return t._error(e)},start:function(e){return t._start(n,e)}})}else e()},t._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},t._error=function(e){this.cancel(),this._sink.error(e),this._log({name:"execute.error",executeId:this._executeId,error:e})},t._start=function(e,t){this._subscriptions.set(e,t),this._updateActiveState()},t._next=function(e,t){var r=this;this._schedule((function(){var e=f((function(){r._handleNext(t),r._maybeCompleteSubscriptionOperationTracking()}))[0];r._log({name:"execute.next",executeId:r._executeId,response:t,duration:e})}))},t._handleErrorResponse=function(e){var t=this,r=[];return e.forEach((function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var n=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,i=n?n.map((function(e){return e.message})).join("\n"):"(No errors)",a=d.create("RelayNetwork","No data returned for operation `"+t._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw a.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},a.stack,a}var s=e;r.push(s)}})),r},t._handleOptimisticResponses=function(e){var t;if(e.length>1)return e.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.isOptimistic)}))&&k(!1),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&k(!1),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var t=Array.isArray(e)?e:[e],r=this._handleErrorResponse(t);if(0===r.length)return t.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.is_final)}))&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),void this._sink.next(e);if(!this._handleOptimisticResponses(r)){var n=function(e){var t=[],r=[];return e.forEach((function(e){if(null!=e.path||null!=e.label){var n=e.label,i=e.path;null!=n&&null!=i||k(!1),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],a=n[1],s=i.length>0;if(s){if(this._isSubscriptionOperation){var o=g();this._operation={request:this._operation.request,fragment:b(this._operation.fragment.node,o,this._operation.fragment.variables,this._operation.fragment.owner),root:R(this._operation.root.node,o,this._operation.root.variables)}}var l=this._processResponses(i);this._processPayloadFollowups(l)}if(a.length>0){var u=this._processIncrementalResponses(a);this._processPayloadFollowups(u)}this._isSubscriptionOperation&&(null==r[0].extensions?r[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:r[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var c=this._runPublishQueue(s?this._operation:void 0);s&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(c),this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&k(!1),null!=e||null!=t){var i=[];if(e){var a=O(e,this._operation.root,A,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:r});P(a),i.push({operation:this._operation,payload:a,updater:t}),this._processOptimisticFollowups(a,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._getPublishQueueAndSaveActor().applyUpdate(e)})),this._runPublishQueue()}},t._processOptimisticFollowups=function(e,t){if(e.followupPayloads&&e.followupPayloads.length){var r,n=e.followupPayloads,i=(0,a.default)(n);try{for(i.s();!(r=i.n()).done;){var s=r.value;switch(s.kind){case"ModuleImportPayload":var l=this._expectOperationLoader().get(s.operationReference);if(null==l)this._processAsyncOptimisticModuleImport(s);else{var u=this._processOptimisticModuleImport(l,s);t.push.apply(t,(0,o.default)(u))}break;case"ActorPayload":break;default:k(!1)}}}catch(e){i.e(e)}finally{i.f()}}},t._normalizeFollowupPayload=function(e,t){var r;r="SplitOperation"===t.kind&&"ModuleImportPayload"===e.kind?E(e.variables,t.argumentDefinitions,e.args):e.variables;var n=R(t,e.dataID,r);return O({data:e.data},n,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(e,t){var r=c(e),n=[],i=this._normalizeFollowupPayload(t,r);return P(i),n.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,n),n},t._processAsyncOptimisticModuleImport=function(e){var t=this;this._expectOperationLoader().load(e.operationReference).then((function(r){if(null!=r&&"started"===t._state){var n,i=t._processOptimisticModuleImport(r,e);if(i.forEach((function(e){return t._getPublishQueueAndSaveActor().applyUpdate(e)})),null==t._optimisticUpdates);else(n=t._optimisticUpdates).push.apply(n,(0,o.default)(i)),t._runPublishQueue()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){t._getPublishQueueAndSaveActor().revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var r=O(e,t._operation.root,A,{actorIdentifier:t._actorIdentifier,getDataID:t._getDataID,path:[],reactFlightPayloadDeserializer:null!=t._reactFlightPayloadDeserializer?t._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,shouldProcessClientComponents:t._shouldProcessClientComponents});return t._getPublishQueueAndSaveActor().commitPayload(t._operation,r,t._updater),r}))},t._processPayloadFollowups=function(e){var t=this;"completed"!==this._state&&e.forEach((function(e){var r=e.incrementalPlaceholders,n=e.followupPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length&&n.forEach((function(e){var r,n=t._actorIdentifier;t._actorIdentifier=null!==(r=e.actorIdentifier)&&void 0!==r?r:t._actorIdentifier,t._processFollowupPayload(e),t._actorIdentifier=n})),r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){var n,i=t._actorIdentifier;t._actorIdentifier=null!==(n=r.actorIdentifier)&&void 0!==n?n:t._actorIdentifier,t._processIncrementalPlaceholder(e,r),t._actorIdentifier=i})),t._isClientPayload||"loading_final"===t._state)){var a=[];r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0&&t._processPayloadFollowups(a)}}))},t._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processFollowupPayload=function(e){var t=this;switch(e.kind){case"ModuleImportPayload":var r=this._expectOperationLoader(),n=r.get(e.operationReference);if(null!=n)this._processFollowupPayloadWithNormalizationNode(e,c(n));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var a=function(){t._pendingModulePayloadsCount--,t._maybeCompleteSubscriptionOperationTracking()},s=l.from(new Promise((function(t,n){r.load(e.operationReference).then(t,n)})));l.create((function(r){var n,i=s.subscribe({next:function(i){if(null!=i){var a=function(){try{var n=c(i),a=h.BATCH_ASYNC_MODULE_UPDATES_FN,s=null!=a&&t._pendingModulePayloadsCount>1,o=f((function(){if(t._handleFollowupPayload(e,n),s)t._scheduleAsyncStoreUpdate(a,r.complete);else{var i=t._runPublishQueue();t._updateOperationTracker(i)}}))[0];t._log({name:"execute.async.module",executeId:t._executeId,operationName:n.name,duration:o}),s||r.complete()}catch(e){r.error(e)}},s=t._scheduler;null==s?a():n=s.schedule(a)}else r.complete()},error:r.error});return function(){i.unsubscribe(),null!=t._scheduler&&null!=n&&t._scheduler.cancel(n)}})).subscribe({complete:function(){t._complete(i),a()},error:function(e){t._error(e),a()},start:function(e){return t._start(i,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:k(!1)}},t._processFollowupPayloadWithNormalizationNode=function(e,t){this._handleFollowupPayload(e,t),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(e,t){var r=this._normalizeFollowupPayload(e,t);this._getPublishQueueAndSaveActor().commitPayload(this._operation,r),this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=t.label,i=t.path.map(String).join("."),a=this._incrementalResults.get(n);null==a&&(a=new Map,this._incrementalResults.set(n,a));var s,o=a.get(i),l=null!=o&&"response"===o.kind?o.responses:null;a.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?s=t.parentID:"defer"===t.kind?s=t.selector.dataID:k(!1);var u,c,d=e.source.get(s),h=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=v(e.dataID,e.fieldKey);return e.dataID===s||t===s}));null==d&&k(!1);var f=this._source.get(s);if(null!=f){u=m.update(f.record,d);var p=new Map,g=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(_(t)))&&void 0!==r?r:"");p.set(n,e)};f.fieldPayloads.forEach(g),h.forEach(g),c=Array.from(p.values())}else u=d,c=h;if(this._source.set(s,{record:u,fieldPayloads:c}),null!=l){var E=this._processIncrementalResponses(l);this._processPayloadFollowups(E)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,a=e.response,s=t._incrementalResults.get(n);if(null==s&&(s=new Map,t._incrementalResults.set(n,s)),-1!==n.indexOf("$defer$")){var o=i.map(String).join("."),l=s.get(o);if(null==l)return l={kind:"response",responses:[e]},void s.set(o,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&k(!1),r.push(t._processDeferResponse(n,i,u,a))}else{var c=i.slice(0,-2).map(String).join("."),d=s.get(c);if(null==d)return d={kind:"response",responses:[e]},void s.set(c,d);if("response"===d.kind)return void d.responses.push(e);var h=d.placeholder;"stream"!==h.kind&&k(!1),r.push(t._processStreamResponse(n,i,h,a))}})),r},t._processDeferResponse=function(e,t,r,n){var i,a=r.selector.dataID,s=this._actorIdentifier;this._actorIdentifier=null!==(i=r.actorIdentifier)&&void 0!==i?i:this._actorIdentifier;var o=O(n,r.selector,r.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:r.path,reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,o);var l=this._source.get(a);null==l&&k(!1);var u=l.fieldPayloads;if(0!==u.length){var c,d={errors:null,fieldPayloads:u,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!0===(null===(c=n.extensions)||void 0===c?void 0:c.is_final)};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=s,o},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,a=r.node,s=r.variables,l=r.actorIdentifier,u=this._actorIdentifier;this._actorIdentifier=null!=l?l:this._actorIdentifier;var c=a.selections[0];(null==c||"LinkedField"!==c.kind||!0!==c.plural)&&k(!1);var d=this._normalizeStreamItem(n,i,c,s,t,r.path),h=d.fieldPayloads,_=d.itemID,f=d.itemIndex,p=d.prevIDs,v=d.relayPayload,g=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===p.length&&!r.some((function(e,t){return p[t]!==(e&&e.getDataID())}))){var n=(0,o.default)(r);n[f]=e.get(_),t.setLinkedRecords(n,g)}}})),0!==h.length){var E={errors:null,fieldPayloads:h,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,E)}return this._actorIdentifier=u,v},t._normalizeStreamItem=function(e,t,r,n,i,a){var s,l,u,c=e.data;"object"!=typeof c&&k(!1);var d=null!==(s=r.alias)&&void 0!==s?s:r.name,h=F(r,n),_=this._source.get(t);null==_&&k(!1);var f=_.record,p=_.fieldPayloads,g=m.getLinkedRecordIDs(f,h);null==g&&k(!1);var E=i[i.length-1],y=parseInt(E,10);y===E&&y>=0||k(!1);var b=null!==(l=r.concreteType)&&void 0!==l?l:c[T];"string"!=typeof b&&k(!1);var I=(null!==(u=this._getDataID(c,b))&&void 0!==u?u:g&&g[y])||v(t,h,y);"string"!=typeof I&&k(!1);var D=R(r,I,n),S=m.clone(f),A=(0,o.default)(g);return A[y]=I,m.setLinkedRecordIDs(S,h,A),this._source.set(t,{record:S,fieldPayloads:p}),{fieldPayloads:p,itemID:I,itemIndex:y,prevIDs:g,relayPayload:O(e,D,b,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,o.default)(a),[d,String(y)]),reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents}),storageKey:h}},t._scheduleAsyncStoreUpdate=function(e,t){var r=this;this._completeFns.push(t),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e((function(){r._asyncStoreUpdateDisposable=null;var e=r._runPublishQueue();r._updateOperationTracker(e);var t,n=(0,a.default)(r._completeFns);try{for(n.s();!(t=n.n()).done;){(0,t.value)()}}catch(e){n.e(e)}finally{n.f()}r._completeFns=[]})))},t._updateOperationTracker=function(e){null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},t._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},t._getActorsToVisit=function(){return 0===this._seenActors.size?new Set([this._actorIdentifier]):this._seenActors},t._runPublishQueue=function(e){var t,r=new Set,n=(0,a.default)(this._getActorsToVisit());try{for(n.s();!(t=n.n()).done;){var i=t.value;this._getPublishQueue(i).run(e).forEach((function(e){return r.add(e)}))}}catch(e){n.e(e)}finally{n.f()}return Array.from(r)},t._retainData=function(){var e,t=(0,a.default)(this._getActorsToVisit());try{for(t.s();!(e=t.n()).done;){var r=e.value;this._retainDisposables.has(r)||this._retainDisposables.set(r,this._getStore(r).retain(this._operation))}}catch(e){t.e(e)}finally{t.f()}},t._disposeRetainedData=function(){var e,t=(0,a.default)(this._retainDisposables.values());try{for(t.s();!(e=t.n()).done;){e.value.dispose()}}catch(e){t.e(e)}finally{t.f()}this._retainDisposables.clear()},t._expectOperationLoader=function(){var e=this._operationLoader;return e||k(!1),e},e}();function O(e,t,r,n){var a,s=e.data,o=e.errors,l=I.create(),u=m.create(t.dataID,r);l.set(t.dataID,u);var c=D.normalize(l,t,s,n);return(0,i.default)((0,i.default)({},c),{},{errors:o,isFinal:!0===(null===(a=e.extensions)||void 0===a?void 0:a.is_final)})}function P(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&k(!1)}e.exports={execute:function(e){return new N(e)}}},function(e,t,r){"use strict";var n,i,a="undefined"!=typeof window&&"function"==typeof(null===(n=window)||void 0===n||null===(i=n.performance)||void 0===i?void 0:i.now);function s(){return a?window.performance.now():Date.now()}e.exports=function(e){var t=s(),r=e();return[s()-t,r]}},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(18)),s=r(80),o=(s.ACTOR_IDENTIFIER_FIELD_NAME,s.getActorIdentifierFromPayload),l=r(6),u=l.ACTOR_CHANGE,c=l.CLIENT_COMPONENT,d=l.CLIENT_EXTENSION,h=l.CONDITION,_=l.DEFER,f=l.FLIGHT_FIELD,p=l.FRAGMENT_SPREAD,v=l.INLINE_FRAGMENT,g=l.LINKED_FIELD,E=l.LINKED_HANDLE,m=l.MODULE_IMPORT,y=l.SCALAR_FIELD,R=l.SCALAR_HANDLE,b=l.STREAM,I=l.TYPE_DISCRIMINATOR,D=r(5),S=r(7),A=S.generateClientID,T=(S.isClientID,r(13).getLocalVariables),F=r(9),k=r(11).createNormalizationSelector,N=r(21),O=N.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY,P=N.REACT_FLIGHT_TREE_STORAGE_KEY,L=N.REACT_FLIGHT_TYPE_NAME,C=N.refineToReactFlightPayloadData,w=r(2),M=w.ROOT_ID,x=w.ROOT_TYPE,V=w.TYPENAME_KEY,U=w.getArgumentValues,q=w.getHandleStorageKey,K=w.getModuleComponentKey,H=w.getModuleOperationKey,G=w.getStorageKey,Y=r(26),j=Y.TYPE_SCHEMA_TYPE,z=Y.generateTypeID,B=(r(14),r(0));r(3);var Q=function(){function e(e,t,r){this._actorIdentifier=r.actorIdentifier,this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=r.path?(0,a.default)(r.path):[],this._recordSource=e,this._variables=t,this._reactFlightPayloadDeserializer=r.reactFlightPayloadDeserializer,this._reactFlightServerErrorHandler=r.reactFlightServerErrorHandler,this._shouldProcessClientComponents=r.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var n=this._recordSource.get(t);return n||B(!1),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||B(!1),this._variables[e]},t._getRecordType=function(e){var t=e[V];return null==t&&B(!1),t},t._traverseSelections=function(e,t,r){for(var n=0;n<e.selections.length;n++){var i=e.selections[n];switch(i.kind){case y:case g:this._normalizeField(e,i,t,r);break;case h:Boolean(this._getVariableValue(i.condition))===i.passingValue&&this._traverseSelections(i,t,r);break;case p:var a=this._variables;this._variables=T(this._variables,i.fragment.argumentDefinitions,i.args),this._traverseSelections(i.fragment,t,r),this._variables=a;break;case v:var s=i.abstractKey;if(null==s){F.getType(t)===i.type&&this._traverseSelections(i,t,r)}else{var o=r.hasOwnProperty(s),l=F.getType(t),S=z(l),A=this._recordSource.get(S);null==A&&(A=F.create(S,j),this._recordSource.set(S,A)),F.setValue(A,s,o),o&&this._traverseSelections(i,t,r)}break;case I:var k=i.abstractKey,N=r.hasOwnProperty(k),O=F.getType(t),P=z(O),L=this._recordSource.get(P);null==L&&(L=F.create(P,j),this._recordSource.set(P,L)),F.setValue(L,k,N);break;case E:case R:var C=i.args?U(i.args,this._variables):{},w=G(i,this._variables),M=q(i,this._variables);this._handleFieldPayloads.push({args:C,dataID:F.getDataID(t),fieldKey:w,handle:i.handle,handleKey:M,handleArgs:i.handleArgs?U(i.handleArgs,this._variables):{}});break;case m:this._normalizeModuleImport(e,i,t,r);break;case _:this._normalizeDefer(i,t,r);break;case b:this._normalizeStream(i,t,r);break;case d:var x=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,r),this._isClientExtension=x;break;case c:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(i.fragment,t,r);break;case f:if(!D.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._normalizeFlightField(e,i,t,r);break;case u:this._normalizeActorChange(e,i,t,r);break;default:B(!1)}}},t._normalizeDefer=function(e,t,r){!1===(null===e.if||this._getVariableValue(e.if))?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,a.default)(this._path),selector:k(e,F.getDataID(t),this._variables),typeName:F.getType(t),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r),!0===(null===e.if||this._getVariableValue(e.if))&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,a.default)(this._path),parentID:F.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,r,n){"object"==typeof n&&n||B(!1);var i=F.getType(r),s=K(t.documentName),o=n[s];F.setValue(r,s,null!=o?o:null);var l=H(t.documentName),u=n[l];F.setValue(r,l,null!=u?u:null),null!=u&&this._followupPayloads.push({kind:"ModuleImportPayload",args:t.args,data:n,dataID:F.getDataID(r),operationReference:u,path:(0,a.default)(this._path),typeName:i,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(e,t,r,n){"object"==typeof n&&n||B(!1);var i=t.alias||t.name,a=G(t,this._variables),s=n[i];if(null!=s)t.kind===y?F.setValue(r,a,s):t.kind===g?(this._path.push(i),t.plural?this._normalizePluralLink(t,r,a,s):this._normalizeLink(t,r,a,s),this._path.pop()):B(!1);else{if(void 0===s){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}F.setValue(r,a,null)}},t._normalizeActorChange=function(e,t,r,n){var i,s=t.linkedField;"object"==typeof n&&n||B(!1);var l=s.alias||s.name,u=G(s,this._variables),c=n[l];if(null!=c){var d=o(c);if(null!=d){var h=null!==(i=s.concreteType)&&void 0!==i?i:this._getRecordType(c),_=this._getDataId(c,h)||F.getLinkedRecordID(r,u)||A(F.getDataID(r),u);"string"!=typeof _&&B(!1),F.setActorLinkedRecordID(r,u,d,_),this._followupPayloads.push({kind:"ActorPayload",data:c,dataID:_,path:[].concat((0,a.default)(this._path),[l]),typeName:h,variables:this._variables,node:s,actorIdentifier:d})}else F.setValue(r,u,null)}else{if(void 0===c){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}F.setValue(r,u,null)}},t._normalizeFlightField=function(e,t,r,n){var a=t.alias||t.name,s=G(t,this._variables),o=n[a];if(null!=o){var l=C(o),u=this._reactFlightPayloadDeserializer;null==l&&B(!1),"function"!=typeof u&&B(!1),l.errors.length>0&&"function"==typeof this._reactFlightServerErrorHandler&&this._reactFlightServerErrorHandler(l.status,l.errors);var c=A(F.getDataID(r),G(t,this._variables)),d=this._recordSource.get(c);if(null==d&&(d=F.create(c,L),this._recordSource.set(c,d)),null==l.tree)return F.setValue(d,P,null),F.setValue(d,O,[]),void F.setLinkedRecordID(r,s,c);var h=u(l.tree);F.setValue(d,P,h);var _,f=[],p=(0,i.default)(l.queries);try{for(p.s();!(_=p.n()).done;){var v=_.value;null!=v.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:v.response.data,dataID:M,operationReference:v.module,path:[],typeName:x,variables:v.variables,actorIdentifier:this._actorIdentifier}),f.push({module:v.module,variables:v.variables})}}catch(e){p.e(e)}finally{p.f()}var g,E=(0,i.default)(l.fragments);try{for(E.s();!(g=E.n()).done;){var m=g.value;null!=m.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:m.response.data,dataID:m.__id,operationReference:m.module,path:[],typeName:m.__typename,variables:m.variables,actorIdentifier:this._actorIdentifier}),f.push({module:m.module,variables:m.variables})}}catch(e){E.e(e)}finally{E.f()}F.setValue(d,O,f),F.setLinkedRecordID(r,s,c)}else{if(void 0===o){if(this._isUnmatchedAbstractType)return;this._treatMissingFieldsAsNull||B(!1)}F.setValue(r,s,null)}},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||B(!1);var a=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||F.getLinkedRecordID(t,r)||A(F.getDataID(t),r);"string"!=typeof a&&B(!1),F.setLinkedRecordID(t,r,a);var s=this._recordSource.get(a);if(s)0;else{var o=e.concreteType||this._getRecordType(n);s=F.create(a,o),this._recordSource.set(a,s)}this._traverseSelections(e,s,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||B(!1);var a=F.getLinkedRecordIDs(t,r),s=[];n.forEach((function(n,o){var l;if(null!=n){i._path.push(String(o)),"object"!=typeof n&&B(!1);var u=i._getDataId(n,null!==(l=e.concreteType)&&void 0!==l?l:i._getRecordType(n))||a&&a[o]||A(F.getDataID(t),r,o);"string"!=typeof u&&B(!1),s.push(u);var c=i._recordSource.get(u);if(c)0;else{var d=e.concreteType||i._getRecordType(n);c=F.create(u,d),i._recordSource.set(u,c)}0,i._traverseSelections(e,c,n),i._path.pop()}else s.push(n)})),F.setLinkedRecordIDs(t,r,s)},t._validateRecordType=function(e,t,r){var n;null!==(n=t.concreteType)&&void 0!==n||this._getRecordType(r),F.getDataID(e)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,n){0},e}();e.exports={normalize:function(e,t,r,n){var i=t.dataID,a=t.node,s=t.variables;return new Q(e,s,n).normalizeResponse(a,i,r)}}},function(e,t,r){"use strict";var n=r(32).getActorIdentifier;e.exports={ACTOR_IDENTIFIER_FIELD_NAME:"actor_key",getActorIdentifierFromPayload:function(e){if(null!=e&&"object"==typeof e&&"string"==typeof e.actor_key)return n(e.actor_key)}}},function(e,t,r){"use strict";(function(t){var n,i,a=r(51),s=r(52),o=r(83),l=r(34),u=r(20),c=r(0),d=(r(3),void 0!==t?t:"undefined"!=typeof window?window:void 0),h=null!==(n=null==d||null===(i=d.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==n?n:function(e,t,r,n,i){return e.apply(t,r)},_=function(){function e(e,t,r){this._hasStoreSnapshot=!1,this._handlerProvider=t||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=r}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1),this._pendingOptimisticUpdates.add(e)},t.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(e,t,r){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:t,updater:r})},t.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},t.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},t.run=function(e){var t=0===this._appliedOptimisticUpdates&&!!this._gcHold;if(!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!t)return[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var r=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._store.notify(e,r)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,l=r.source,u=r.fieldPayloads,d=new a(this._store.getSource(),l),h=new s(d,this._getDataID);if(u&&u.length&&u.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||c(!1),r.update(h,e)})),i){var _=n.fragment;null==_&&c(!1),i(new o(d,h,_),f(l,_))}var p=h.getIDsMarkedForInvalidation();return this._store.publish(l,p),h.isStoreMarkedForInvalidation()},t._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var t=!1;return this._pendingData.forEach((function(r){if("payload"===r.kind){var n=e._publishSourceFromPayload(r);t=t||n}else if("source"===r.kind){var i=r.source;e._store.publish(i)}else{var o=r.updater,l=u.create(),c=new a(e._store.getSource(),l),d=new s(c,e._getDataID);h(o,null,[d],null,"RelayPublishQueue:commitData"),t=t||d.isStoreMarkedForInvalidation();var _=d.getIDsMarkedForInvalidation();e._store.publish(l,_)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=u.create(),r=new a(this._store.getSource(),t),n=new s(r,this._getDataID,this._handlerProvider),i=function(e){if(e.storeUpdater){var t=e.storeUpdater;h(t,null,[n],null,"RelayPublishQueue:applyUpdates")}else{var i=e.operation,a=e.payload,s=e.updater,l=a.source,u=a.fieldPayloads;if(l&&n.publishSource(l,u),s){var c;l&&(c=f(l,i.fragment));var d=new o(r,n,i.fragment);h(s,null,[d,c],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(i),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){i(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function f(e,t){return l.read(e,t).data}e.exports=_}).call(this,r(47))},function(e,t,r){"use strict";var n=r(7).generateClientID,i=r(2).getStableStorageKey,a=r(0),s=function(){function e(e,t,r){this._dataID=r,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&a(!1),e},t.getValue=function(e,t){var r=i(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){o(e)||a(!1);var n=i(t,r);return this._mutator.setValue(this._dataID,n,e),this},t.getLinkedRecord=function(e,t){var r=i(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,n){t instanceof e||a(!1);var s=i(r,n),o=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,s,o),this},t.getOrCreateLinkedRecord=function(e,t,r){var a=this.getLinkedRecord(e,r);if(!a){var s,o=i(e,r),l=n(this.getDataID(),o);a=null!==(s=this._source.get(l))&&void 0!==s?s:this._source.create(l,t),this.setLinkedRecord(a,e,r)}return a},t.getLinkedRecords=function(e,t){var r=this,n=i(e,t),a=this._mutator.getLinkedRecordIDs(this._dataID,n);return null==a?a:a.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||a(!1);var n=i(t,r),s=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,n,s),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function o(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(o)}e.exports=s},function(e,t,r){"use strict";var n=r(2),i=n.ROOT_TYPE,a=n.getStorageKey,s=r(53).readUpdatableQuery_EXPERIMENTAL,o=r(0),l=function(){function e(e,t,r){this.__mutator=e,this.__recordSource=t,this._readSelector=r}var t=e.prototype;return t.create=function(e,t){return this.__recordSource.create(e,t)},t.delete=function(e){this.__recordSource.delete(e)},t.get=function(e){return this.__recordSource.get(e)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var e=this.__recordSource.get(this._readSelector.dataID);return e||(e=this.__recordSource.create(this._readSelector.dataID,i)),e},t._getRootField=function(e,t,r){var n=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t||"RequiredField"===e.kind&&e.field.name===t}));return n&&"RequiredField"===n.kind&&(n=n.field),n&&"LinkedField"===n.kind||o(!1),n.plural!==r&&o(!1),n},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return s(e,t,this)},e}();e.exports=l},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(17)),s=r(32),o=s.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=s.assertInternalActorIndentifier,u=(r(19),r(5)),c=r(85),d=r(86),h=r(48),_=r(9),f=r(88),p=r(34),v=r(89),g=r(21),E=r(90),m=r(2),y=r(2),R=y.ROOT_ID,b=y.ROOT_TYPE,I=r(54).RecordResolverCache,D=r(0),S=function(){function e(e,t){var r,n,i,s,o,l=this;(0,a.default)(this,"_gcStep",(function(){l._gcRun&&(l._gcRun.next().done?l._gcRun=null:l._gcScheduler(l._gcStep))})),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:10,this._gcRun=null,this._gcScheduler=null!==(n=null==t?void 0:t.gcScheduler)&&void 0!==n?n:c,this._getDataID=null!==(i=null==t?void 0:t.getDataID)&&void 0!==i?i:h,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(s=null==t?void 0:t.log)&&void 0!==s?s:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(o=null==t?void 0:t.operationLoader)&&void 0!==o?o:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new I((function(){return l._getMutableRecordSource()})),this._storeSubscriptions=new E(null==t?void 0:t.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null==t?void 0:t.shouldProcessClientComponents,function(e){if(!e.has(R)){var t=_.create(R,b);e.set(R,t)}}(this._recordSource)}var t=e.prototype;return t.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t.check=function(e,t){var r,n,i,a,s=e.root,u=this._getMutableRecordSource(),c=this._globalInvalidationEpoch,h=this._roots.get(e.request.identifier),_=null!=h?h.epoch:null;if(null!=c&&(null==_||_<=c))return{status:"stale"};var f=null!==(r=null==t?void 0:t.handlers)&&void 0!==r?r:[],p=null!==(n=null==t?void 0:t.getSourceForActor)&&void 0!==n?n:function(e){return l(e),u},v=null!==(i=null==t?void 0:t.getTargetForActor)&&void 0!==i?i:function(e){return l(e),u};return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,a=e.status;if("number"==typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===a)return{status:"missing"};if(null!=r&&null!=n){if(r<=Date.now()-n)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(d.check(p,v,null!==(a=null==t?void 0:t.defaultActorIdentifier)&&void 0!==a?a:o,s,f,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),_,null==h?void 0:h.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,r=e.request.identifier,n=!1,i=this._roots.get(r);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==r}))),i.refCount+=1):this._roots.set(r,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!n){n=!0;var e=t._roots.get(r);if(null!=e&&(e.refCount--,0===e.refCount)){var i=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)t._roots.delete(r),t.scheduleGC();else if(t._releaseBuffer.push(r),t._releaseBuffer.length>t._gcReleaseBufferSize){var a=t._releaseBuffer.shift();t._roots.delete(a),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource();return p.read(t,e,this._resolverCache)},t.notify=function(e,t){var r=this,n=this.__log;null!=n&&n({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch),u.ENABLE_RELAY_RESOLVERS&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var i=this.getSource(),a=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,a,e),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=n&&n({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var s=e.request.identifier,o=this._roots.get(s);if(null!=o)o.epoch=this._currentWriteEpoch,o.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var l={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(s),this._roots.set(s,l)}}return a},t.publish=function(e,t){var r=this._getMutableRecordSource();!function(e,t,r,n,i,a){n&&n.forEach((function(n){var i,s=e.get(n),o=t.get(n);null!==o&&((i=null!=s?_.clone(s):null!=o?_.clone(o):null)&&(_.setValue(i,m.INVALIDATED_AT_KEY,r),a.add(n),e.set(n,i)))}));for(var s=t.getRecordIDs(),o=0;o<s.length;o++){var l=s[o],u=t.get(l),c=e.get(l);if(u&&c){var d=_.getType(c)===g.REACT_FLIGHT_TYPE_NAME?u:_.update(c,u);d!==c&&(i.add(l),e.set(l,d))}else null===u?(e.delete(l),null!==c&&i.add(l)):u&&(e.set(l,u),i.add(l))}}(r,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var n=this.__log;null!=n&&n({name:"store.publish",source:e,optimistic:r===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;return{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"RelayModernStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,r=new Map;return e.forEach((function(e){var n,i=t.getSource().get(e);r.set(e,null!==(n=_.getInvalidationEpoch(i))&&void 0!==n?n:null)})),r.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:r}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,r=e.invalidations;if(t.get("global")!==r.get("global"))return!0;var n,a=(0,i.default)(e.dataIDs);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(t.get(s)!==r.get(s))return!0}}catch(e){a.e(e)}finally{a.f()}return!1},t.subscribeToInvalidationState=function(e,t){var r=this,n={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(n),{dispose:function(){r._invalidationSubscriptions.delete(n)}}},t._updateInvalidationSubscription=function(e,t){var r=this,n=e.callback,i=e.invalidationState.dataIDs;(t||i.some((function(e){return r._invalidatedRecordIDs.has(e)})))&&n()},t.snapshot=function(){null!=this._optimisticSource&&D(!1);var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=f.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&D(!1);var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions()},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},t._collect=function*(){e:for(;;){var e,t=this._currentWriteEpoch,r=new Set,n=(0,i.default)(this._roots.values());try{for(n.s();!(e=n.n()).done;){var a=e.value.operation.root;if(v.mark(this._recordSource,a,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.f()}var s=this.__log;if(null!=s&&s({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var o=this._recordSource.getRecordIDs(),l=0;l<o.length;l++){var u=o[l];r.has(u)||this._recordSource.remove(u)}return}},e}();e.exports=S},function(e,t,r){"use strict";var n=Promise.resolve();function i(e){setTimeout((function(){throw e}),0)}e.exports=function(e){n.then(e).catch(i)}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(51),a=r(52),s=r(33),o=r(6),l=r(5),u=r(7).isClientID,c=r(56),d=r(87),h=r(13).getLocalVariables,_=r(9),f=r(25),p=f.EXISTENT,v=f.UNKNOWN,g=r(21),E=r(2),m=r(26).generateTypeID,y=r(0),R=o.ACTOR_CHANGE,b=o.CONDITION,I=o.CLIENT_COMPONENT,D=o.CLIENT_EXTENSION,S=o.DEFER,A=o.FLIGHT_FIELD,T=o.FRAGMENT_SPREAD,F=o.INLINE_FRAGMENT,k=o.LINKED_FIELD,N=o.LINKED_HANDLE,O=o.MODULE_IMPORT,P=o.SCALAR_FIELD,L=o.SCALAR_HANDLE,C=o.STREAM,w=o.TYPE_DISCRIMINATOR,M=E.ROOT_ID,x=E.getModuleOperationKey,V=E.getStorageKey,U=E.getArgumentValues;var q=function(){function e(e,t,r,n,i,a,s,o){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=s,this._source=e(r),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(r),u=l[0],c=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=u,this._operationLoader=null!=a?a:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=n,this._shouldProcessClientComponents=o}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(null==t){var r=this._getTargetForActor(e),n=new i(this._getSourceForActor(e),r);t=[n,new a(n,this._getDataID)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||y(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._getDataForHandlers=function(e,t){return{args:e.args?U(e.args,this._variables):{},record:this._source.get(t)}},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!u(t)){var r,i=this._getDataForHandlers(e,t),a=i.args,s=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("scalar"===l.kind){var c=l.handle(e,s,a,this._recordSourceProxy);if(void 0!==c)return c}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=this._getDataForHandlers(e,t),a=i.args,s=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("linked"===l.kind){var u=l.handle(e,s,a,this._recordSourceProxy);if(void 0!==u&&(null===u||this._mutator.getStatus(u)===p))return u}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,a=this._getDataForHandlers(e,t),s=a.args,o=a.record,l=(0,n.default)(this._handlers);try{for(l.s();!(r=l.n()).done;){var u=r.value;if("pluralLinked"===u.kind){var c=u.handle(e,o,s,this._recordSourceProxy);if(null!=c){if(c.every((function(e){return null!=e&&i._mutator.getStatus(e)===p})))return c}else if(null===c)return null}}}catch(e){l.e(e)}finally{l.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===v&&this._handleMissing(),r===p){var n=this._source.get(t),i=_.getInvalidationEpoch(n);null!=i&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,i):i),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case P:r._checkScalar(n,t);break;case k:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case R:r._checkActorChange(n.linkedField,t);break;case b:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case F:var i=n.abstractKey;if(null==i){r._mutator.getType(t)===n.type&&r._traverseSelections(n.selections,t)}else{var a=r._mutator.getType(t);null==a&&y(!1);var s=m(a),o=r._mutator.getValue(s,i);!0===o?r._traverseSelections(n.selections,t):null==o&&r._handleMissing()}break;case N:var u=c(n,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case L:var _=d(n,e,r._variables);r._checkScalar(_,t);break;case O:r._checkModuleImport(n,t);break;case S:case C:r._traverseSelections(n.selections,t);break;case T:var f=r._variables;r._variables=h(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=f;break;case D:var p=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=p;break;case w:var v=n.abstractKey,g=r._mutator.getType(t);null==g&&y(!1);var E=m(g);null==r._mutator.getValue(E,v)&&r._handleMissing();break;case A:if(!l.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._checkFlightField(n,t);break;case I:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:y(!1)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&y(!1);var n=x(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var a=r.get(i);if(null!=a){var o=s(a),l=this._variables;this._variables=h(this._variables,o.argumentDefinitions,e.args),this._traverse(o,t),this._variables=l}else this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=V(e,this._variables),n=this._mutator.getValue(t,r);void 0===n&&void 0!==(n=this._handleMissingScalarField(e,t))&&this._mutator.setValue(t,r,n)},t._checkLink=function(e,t){var r=V(e,this._variables),n=this._mutator.getLinkedRecordID(t,r);void 0===n&&(null!=(n=this._handleMissingLinkField(e,t))?this._mutator.setLinkedRecordID(t,r,n):null===n&&this._mutator.setValue(t,r,null)),null!=n&&this._traverse(e,n)},t._checkPluralLink=function(e,t){var r=this,n=V(e,this._variables),i=this._mutator.getLinkedRecordIDs(t,n);void 0===i&&(null!=(i=this._handleMissingPluralLinkField(e,t))?this._mutator.setLinkedRecordIDs(t,n,i):null===i&&this._mutator.setValue(t,n,null)),i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._checkActorChange=function(e,t){var r=V(e,this._variables),n=this._source.get(t),i=null!=n?_.getActorLinkedRecordID(n,r):n;if(null==i)void 0===i&&this._handleMissing();else{var a=i[0],s=i[1],o=this._source,l=this._mutator,u=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(a),d=c[0],h=c[1];this._source=this._getSourceForActor(a),this._mutator=d,this._recordSourceProxy=h,this._traverse(e,s),this._source=o,this._mutator=l,this._recordSourceProxy=u}},t._checkFlightField=function(e,t){var r=V(e,this._variables),i=this._mutator.getLinkedRecordID(t,r);if(null==i)return void 0===i?void this._handleMissing():void 0;var a=this._mutator.getValue(i,g.REACT_FLIGHT_TREE_STORAGE_KEY),o=this._mutator.getValue(i,g.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(null!=a&&Array.isArray(o)){var l=this._operationLoader;null===l&&y(!1);var u,c=this._variables,d=(0,n.default)(o);try{for(d.s();!(u=d.n()).done;){var h=u.value;this._variables=h.variables;var _=l.get(h.module);if(null!=_){var f=s(_);this._traverseSelections(f.selections,M)}else this._handleMissing()}}catch(e){d.e(e)}finally{d.f()}this._variables=c}else this._handleMissing()},e}();e.exports={check:function(e,t,r,n,i,a,s,o){var l=n.dataID,u=n.node,c=n.variables;return new q(e,t,r,c,i,a,s,o).check(u,l)}}},function(e,t,r){"use strict";var n=r(6).SCALAR_FIELD,i=r(2).getHandleStorageKey,a=r(14),s=r(0);e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));o&&o.kind===n||s(!1);var l=i(e,r);return{kind:"ScalarField",alias:o.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(20),a=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),s=function(){function e(e){this._base=e,this._sink=i.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==a:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===a?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return void 0===t?"UNKNOWN":null===t?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=i.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,a)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=(0,n.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach((function(r){var n=e.get(r);void 0===n?delete t[r]:t[r]=n})),t},e}();e.exports={create:function(e){return new s(e)}}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(33),a=r(6),s=r(5),o=r(56),l=r(13).getLocalVariables,u=r(9),c=r(21),d=r(2),h=r(26).generateTypeID,_=r(0),f=a.ACTOR_CHANGE,p=a.CONDITION,v=a.CLIENT_COMPONENT,g=a.CLIENT_EXTENSION,E=a.DEFER,m=a.FLIGHT_FIELD,y=a.FRAGMENT_SPREAD,R=a.INLINE_FRAGMENT,b=a.LINKED_FIELD,I=a.MODULE_IMPORT,D=a.LINKED_HANDLE,S=a.SCALAR_FIELD,A=a.SCALAR_HANDLE,T=a.STREAM,F=a.TYPE_DISCRIMINATOR,k=d.ROOT_ID,N=d.getStorageKey,O=d.getModuleOperationKey;var P=function(){function e(e,t,r,n,i){this._operationLoader=null!=n?n:null,this._operationName=null,this._recordSource=e,this._references=r,this._variables=t,this._shouldProcessClientComponents=i}var t=e.prototype;return t.mark=function(e,t){"Operation"!==e.kind&&"SplitOperation"!==e.kind||(this._operationName=e.name),this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var r=this._recordSource.get(t);null!=r&&this._traverseSelections(e.selections,r)},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||_(!1),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case f:r._traverseLink(n.linkedField,t);break;case b:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case p:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case R:if(null==n.abstractKey){var i=u.getType(t);null!=i&&i===n.type&&r._traverseSelections(n.selections,t)}else{var a=u.getType(t),c=h(a);r._references.add(c),r._traverseSelections(n.selections,t)}break;case y:var d=r._variables;r._variables=l(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=d;break;case D:var k=o(n,e,r._variables);k.plural?r._traversePluralLink(k,t):r._traverseLink(k,t);break;case E:case T:r._traverseSelections(n.selections,t);break;case S:case A:break;case F:var N=u.getType(t),O=h(N);r._references.add(O);break;case I:r._traverseModuleImport(n,t);break;case g:r._traverseSelections(n.selections,t);break;case m:if(!s.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._traverseFlightField(n,t);break;case v:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:_(!1)}}))},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&_(!1);var n=O(e.documentName),a=u.getValue(t,n);if(null!=a){var s=r.get(a);if(null!=s){var o=i(s),c=this._variables;this._variables=l(this._variables,o.argumentDefinitions,e.args),this._traverseSelections(o.selections,t),this._variables=c}}},t._traverseLink=function(e,t){var r=N(e,this._variables),n=u.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=N(e,this._variables),i=u.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._traverseFlightField=function(e,t){var r=N(e,this._variables),a=u.getLinkedRecordID(t,r);if(null!=a){this._references.add(a);var s=this._recordSource.get(a);if(null!=s){var o=u.getValue(s,c.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(Array.isArray(o)){var l=this._operationLoader;null===l&&_(!1);var d,h=this._variables,f=(0,n.default)(o);try{for(f.s();!(d=f.n()).done;){var p=d.value;this._variables=p.variables;var v=p.module,g=l.get(v);if(null!=g){var E=i(g);this._traverse(E,k)}}}catch(e){f.e(e)}finally{f.f()}this._variables=h}}}},e}();e.exports={mark:function(e,t,r,n,i){var a=t.dataID,s=t.node,o=t.variables;new P(e,o,r,n,i).mark(s,a)}}},function(e,t,r){"use strict";r(19);var n=r(24),i=r(5),a=r(91),s=r(34),o=function(){function e(e,t){this._subscriptions=new Set,this.__log=e,this._resolverCache=t}var t=e.prototype;return t.subscribe=function(e,t){var r=this,n={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(n),{dispose:function(){r._subscriptions.delete(n)}}},t.snapshotSubscriptions=function(e){var t=this;this._subscriptions.forEach((function(r){if(r.stale){var i=r.snapshot,a=s.read(e,i.selector,t._resolverCache),o=n(i.data,a.data);a.data=o,r.backup=a}else r.backup=r.snapshot}))},t.restoreSubscriptions=function(){this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,n){var i=this,a=0!==t.size;this._subscriptions.forEach((function(s){var o=i._updateSubscription(e,s,t,a,n);null!=o&&r.push(o)}))},t._updateSubscription=function(e,t,r,o,l){var u=t.backup,c=t.callback,d=t.snapshot,h=t.stale,_=o&&a(d.seenRecords,r);if(h||_){var f=_||!u?s.read(e,d.selector,this._resolverCache):u;return f={data:n(d.data,f.data),isMissingData:f.isMissingData,missingClientEdges:f.missingClientEdges,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields,relayResolverErrors:f.relayResolverErrors},t.snapshot=f,t.stale=!1,f.data!==d.data?(this.__log&&i.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:l,snapshot:d,nextSnapshot:f}),c(f),d.selector.owner):void 0}},e}();e.exports=o},function(e,t,r){"use strict";var n=Symbol.iterator;e.exports=function(e,t){for(var r=e[n](),i=r.next();!i.done;){var a=i.value;if(t.has(a))return!0;i=r.next()}return!1}},function(e,t,r){"use strict";var n=r(23),i=r(10).getRequest,a=r(12).createOperationDescriptor,s=r(11).createReaderSelector;r(3);e.exports=function(e,t){var r=i(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var o=t.configs,l=t.onCompleted,u=t.onError,c=t.onNext,d=t.variables,h=t.cacheConfig,_=a(r,d,h),f=(o?n.convert(o,r,null,t.updater):t).updater;return{dispose:e.executeSubscription({operation:_,updater:f}).subscribe({next:function(t){if(null!=c){var r,n,i,a,o=_.fragment;if(Array.isArray(t))r=null===(n=t[0])||void 0===n||null===(i=n.extensions)||void 0===i?void 0:i.__relay_subscription_root_id;else r=null===(a=t.extensions)||void 0===a?void 0:a.__relay_subscription_root_id;"string"==typeof r&&(o=s(o.node,r,o.variables,o.owner));var l=e.lookup(o).data;c(l)}},error:u,complete:l}).unsubscribe}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(2),a=i.getModuleComponentKey,s=i.getModuleOperationKey;e.exports=function(e,t,r,i){var o=(0,n.default)({},i);return o[a(e)]=r,o[s(e)]=t,o}},function(e,t,r){"use strict";var n=r(11),i=n.getDataIDsFromFragment,a=n.getSelector,s=n.getVariablesFromFragment,o=r(95),l=r(5),u=r(16),c=r(35).intern;e.exports=function(e,t){var r=a(e,t),n=null==r?"null":"SingularReaderSelector"===r.kind?r.owner.identifier:"["+r.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",d=s(e,t),h=i(e,t);if(l.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var _=void 0===h?"missing":null==h?"null":Array.isArray(h)?"["+h.join(",")+"]":h;return _=l.STRING_INTERN_LEVEL<=1?_:c(_,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+(null==d||o(d)?"{}":JSON.stringify(u(d)))+"/"+_}var f,p=null!==(f=JSON.stringify(h))&&void 0!==f?f:"missing";return p=l.STRING_INTERN_LEVEL<=1?p:c(p,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+JSON.stringify(u(d))+"/"+p}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t in e)if(n.call(e,t))return!1;return!0}},function(e,t,r){"use strict";var n=r(57),i=r(0);e.exports=function(e,t){var r,a,s=n(e,t),o=s.refetchableRequest,l=s.refetchMetadata,u=l.connection;null==u&&i(!1);var c=u.path,d=(null!==(r=null===(a=e.metadata)||void 0===a?void 0:a.connection)&&void 0!==r?r:[])[0];null==d&&i(!1);var h=l.identifierField;return null!=h&&"string"!=typeof h&&i(!1),{connectionPathInFragmentData:c,identifierField:h,paginationRequest:o,paginationMetadata:u,stream:!0===d.stream}}},function(e,t,r){"use strict";var n=r(1),i=n(r(17)),a=n(r(8)),s=r(0);r(3);e.exports=function(e,t,r,n,o,l){var u,c=l.backward,d=l.forward;if("backward"===e){var h;(null==c||null==c.count||null==c.cursor)&&s(!1);var _=(0,a.default)((0,a.default)((0,a.default)({},n),o),{},(h={},(0,i.default)(h,c.cursor,r),(0,i.default)(h,c.count,t),h));return d&&d.cursor&&(_[d.cursor]=null),d&&d.count&&(_[d.count]=null),_}(null==d||null==d.count||null==d.cursor)&&s(!1);var f=(0,a.default)((0,a.default)((0,a.default)({},n),o),{},(u={},(0,i.default)(u,d.cursor,r),(0,i.default)(u,d.count,t),u));return c&&c.cursor&&(f[c.cursor]=null),c&&c.count&&(f[c.count]=null),f}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(0);e.exports=function(e,t){var r,a=e,s=(0,n.default)(t);try{for(s.s();!(r=s.n()).done;){var o=r.value;if(null==a)return null;"number"==typeof o?(Array.isArray(a)||i(!1),a=a[o]):(("object"!=typeof a||Array.isArray(a))&&i(!1),a=a[o])}}catch(e){s.e(e)}finally{s.f()}return a}},function(e,t,r){"use strict";var n={},i={stop:function(){}},a={profile:function(e,t){var r=n[e];if(r&&r.length>0){for(var a=[],s=r.length-1;s>=0;s--){var o=r[s](e,t);a.unshift(o)}return{stop:function(e){a.forEach((function(t){return t(e)}))}}}return i},attachProfileHandler:function(e,t){n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)},detachProfileHandler:function(e,t){var r,i,a;n.hasOwnProperty(e)&&(r=n[e],i=t,-1!==(a=r.indexOf(i))&&r.splice(a,1))}};e.exports=a}])}));
|