relay-runtime 10.0.0 → 10.0.1

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/relay-runtime.js CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Relay v10.0.0
2
+ * Relay v10.0.1
3
3
  */
4
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("fbjs/lib/invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/ErrorUtils")):"function"==typeof define&&define.amd?define(["fbjs/lib/invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","fbjs/lib/ErrorUtils"],t):"object"==typeof exports?exports.RelayRuntime=t(require("fbjs/lib/invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/ErrorUtils")):e.RelayRuntime=t(e["fbjs/lib/invariant"],e["@babel/runtime/helpers/interopRequireDefault"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["fbjs/lib/ErrorUtils"])}(window,(function(e,t,r,n,i,o,a){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=44)}([function(t,r){t.exports=e},function(e,t,r){"use strict";var n=r(2)(r(14)),i=r(6),o=r(22),a=r(0),s=r(10),l=i.VARIABLE,u=i.LITERAL,c=i.OBJECT_VALUE,d=i.LIST_VALUE;function f(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||a(!1,"getVariableValue(): Undefined variable `%s`.",e),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]=f(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(f(e,t))})),n}}function p(e,t){var r={};return e.forEach((function(e){r[e.name]=f(e,t)})),r}function h(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,o=t[n];if(null!=o)r.push(n+":"+(null!==(i=JSON.stringify(o))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var _={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",formatStorageKey:h,getArgumentValue:f,getArgumentValues:p,getHandleStorageKey:function(e,t){var r=e.dynamicKey,i=e.handle,a=e.key,s=e.name,l=e.args,u=e.filters,c=o(i,a,s),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:h(c,p(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=e.args,n=e.name;return r&&0!==r.length?h(n,p(r,t)):n},getStableStorageKey:function(e,t){return h(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=_},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";var n=0;e.exports={generateClientID:function(e,t,r){var n=e+":"+t;return null!=r&&(n+=":"+r),0!==n.indexOf("client:")&&(n="client:"+n),n},generateUniqueClientID:function(){return"".concat("client:","local:").concat(n++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";e.exports={CONDITION:"Condition",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",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",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,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(15),s=r(16),l=r(0),u=r(3),c=r(5).isClientID,d=r(1),f=d.ID_KEY,p=d.REF_KEY,h=d.REFS_KEY,_=d.TYPENAME_KEY,v=d.INVALIDATED_AT_KEY,g=d.ROOT_ID;function y(e){return e[f]}function m(e){return e[_]}e.exports={clone:function(e){return o({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==f&&r!==_&&(t[r]=e[r])},create:function(e,t){var r={};return r[f]=e,r[_]=t,r},freeze:function(e){s(e)},getDataID:y,getInvalidationEpoch:function(e){if(null==e)return null;var t=e[v];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[p]||l(!1,"RelayModernRecord.getLinkedRecordID(): Expected `%s.%s` to be a linked ID, was `%s`.",e[f],t,JSON.stringify(r)),r[p])},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[h])||l(!1,"RelayModernRecord.getLinkedRecordIDs(): Expected `%s.%s` to contain an array of linked IDs, got `%s`.",e[f],t,JSON.stringify(r)),r[h])},getType:m,getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(p)||r.hasOwnProperty(h))&&l(!1,"RelayModernRecord.getValue(): Expected a scalar (non-link) value for `%s.%s` but found %s.",e[f],t,r.hasOwnProperty(p)?"a linked record":"plural linked records"),r},merge:function(e,t){var r,n,i=y(e),o=y(t);u(i===o,"RelayModernRecord: Invalid record merge, expected both versions of the record to have the same id, got `%s` and `%s`.",i,o);var a=null!==(r=m(e))&&void 0!==r?r:null,s=null!==(n=m(t))&&void 0!==n?n:null;return u(c(o)&&o!==g||a===s,"RelayModernRecord: Invalid record merge, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",i,_,a,s),Object.assign({},e,t)},setValue:function(e,t,r){var n=y(e);if(t===f)u(n===r,"RelayModernRecord: Invalid field update, expected both versions of the record to have the same id, got `%s` and `%s`.",n,r);else if(t===_){var i,o=null!==(i=m(e))&&void 0!==i?i:null,a=null!=r?r:null;u(c(y(e))&&y(e)!==g||o===a,"RelayModernRecord: Invalid field update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",n,_,o,a)}e[t]=r},setLinkedRecordID:function(e,t,r){var n={};n[p]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[h]=r,e[t]=n},update:function(e,t){var r,n,i=y(e),s=y(t);u(i===s,"RelayModernRecord: Invalid record update, expected both versions of the record to have the same id, got `%s` and `%s`.",i,s);var l=null!==(r=m(e))&&void 0!==r?r:null,d=null!==(n=m(t))&&void 0!==n?n:null;u(c(s)&&s!==g||l===d,"RelayModernRecord: Invalid record update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",i,_,l,d);for(var f=null,p=Object.keys(t),h=0;h<p.length;h++){var v=p[h];!f&&a(e[v],t[v])||((f=null!==f?f:o({},e))[v]=t[v])}return null!==f?f:e}}},function(e,t,r){"use strict";e.exports={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!1,ENABLE_RELAY_CONTAINERS_SUSPENSE:!1,ENABLE_PRECISE_TYPE_REFINEMENT:!1}},function(e,t,r){"use strict";var n=r(6),i=r(0),o=r(3);function a(e){var t=e;return"function"==typeof t?(t=t(),o(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.","Fragment"===t.kind?t.name:t.operation.name)):t.default&&(t=t.default),t}function s(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function l(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}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,"GraphQLTag: Expected a fragment, got `%s`.",JSON.stringify(t)),t}e.exports={getFragment:c,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 l(t)||i(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getInlineDataFragment:function(e){var t=a(e);return u(t)||i(!1,"GraphQLTag: Expected an inline data fragment, got `%s`.",JSON.stringify(t)),t},graphql:function(e){i(!1,"graphql: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `graphql`.")},isFragment:s,isRequest:l,isInlineDataFragment:u}},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,r){"use strict";var n=r(31),i=function(e,t){},o=function(){function e(e){if(!e||"function"!=typeof e)throw new Error("Source must be a Function: "+String(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)?a(e):n(e)?s(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){if(!e||"object"!=typeof e)throw new Error("Observer must be an Object with callbacks: "+String(e));return function(e,t){var r,n=!1,o=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function a(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var s=o({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(s)}catch(e){i(e,!0)}finally{a()}}}});try{t.start&&t.start(s)}catch(e){i(e,!0)}if(n)return s;var l=o({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),a();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{a()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{a()}}}});try{r=e(l)}catch(e){l.error(e,!0)}if(void 0!==r&&"function"!=typeof r&&(!r||"function"!=typeof r.unsubscribe))throw new Error("Returned cleanup function which cannot be called: "+String(r));n&&a();return s}(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 o(e){this._sub=e,i.push(e)}function a(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:o,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:o,next:n.next,error:n.error,complete:a})}catch(e){n.error(e,!0)}},error:n.error,complete:a}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;if("number"!=typeof t||t<=0)throw new Error("RelayObservable: Expected pollInterval to be positive, got: "+t);return e.create((function(e){var n,i;return function o(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(o,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 a(e){return e instanceof o?e:o.create((function(t){return e.subscribe(t)}))}function s(e){return o.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function l(e){return o.create((function(t){t.next(e),t.complete()}))}o.onUnhandledError((function(e,t){"function"==typeof fail?fail(String(e)):t?setTimeout((function(){throw e})):"undefined"!=typeof console&&console.error("RelayObservable: Unhandled Error",e)})),e.exports=o},function(e,t,r){"use strict";var n=r(15),i=r(0),o=r(3),a=r(23).getFragmentVariables,s=r(1),l=s.FRAGMENT_OWNER_KEY,u=s.FRAGMENTS_KEY,c=s.ID_KEY,d=s.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT;function f(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[c],n=t[u],s=t[l],f=!0===t[d];if("string"==typeof r&&"object"==typeof n&&null!==n&&"object"==typeof n[e.name]&&null!==n[e.name]&&"object"==typeof s&&null!==s){var p=s,h=n[e.name];return b(e,r,a(e,p.variables,h),p,f)}var _=JSON.stringify(t);return _.length>499&&(_=_.substr(0,498)+"…"),o(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`.",e.name,_,e.name),null}function p(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?f(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function h(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),p(e,t)):(Array.isArray(t)&&i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),f(e,t))}function _(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),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)&&i(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),v(e,t))}function v(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[c];return"string"==typeof r?r:(o(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`, or `null` is passed as the fragment reference for `%s` if it's conditonally included and the condition isn't met.",e.name,JSON.stringify(t),e.name,e.name),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)||i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),m(e,t)):(Array.isArray(t)&&i(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),y(e,t)||{})}function y(e,t){var r=f(e,t);return r?r.variables:null}function m(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=y(e,t);null!=i&&Object.assign(r,i)}})),r}function b(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:i,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&&n(e.variables,t.variables)},createReaderSelector:b,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:_,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=t[n];r[n]=_(i,o)}return r},getSingularSelector:f,getPluralSelector:p,getSelector:h,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=t[n];r[n]=h(i,o)}return r},getVariablesFromSingularFragment:y,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";var n=r(16),i=r(38),o=r(23).getOperationVariables,a=r(12),s=a.createNormalizationSelector,l=a.createReaderSelector,u=r(1).ROOT_ID;function c(e,t){var r={identifier:i(e.params,t),node:e,variables:t};return n(t),Object.freeze(e),Object.freeze(r),r}e.exports={createOperationDescriptor:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,n=e.operation,i=o(n,t),a=c(e,i),d={fragment:l(e.fragment,r,i,a),request:a,root:s(n,r,i)};return Object.freeze(d.fragment),Object.freeze(d.root),Object.freeze(d),d},createRequestDescriptor:c}},function(e,t){e.exports=i},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(49),i=function(){function e(t){return e.create(t)}return e.create=function(e){return new n(e)},e}();e.exports=i},function(e,t,r){"use strict";var n=r(26),i=r(22),o=r(0),a=r(3),s=r(5).generateClientID,l="__connection_next_edge_index";function u(e,t,r){if(null==r)return r;var i=n.get().EDGES,a=t.getValue(l);"number"!=typeof a&&o(!1,"ConnectionHandler: Expected %s to be a number, got `%s`.",l,a);var u=s(t.getDataID(),i,a),c=e.create(u,r.getType());return c.copyFieldsFrom(r),t.setValue(a+1,l),c}function c(e,t,r){for(var i=n.get().NODE,o=0;o<e.length;o++){var a=e[o];if(a){var s=a.getLinkedRecord(i),l=s&&s.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(a)}}}e.exports={buildConnectionEdge:u,createEdge:function(e,t,r,i){var o=n.get().NODE,a=s(t.getDataID(),r.getDataID()),l=e.get(a);return l||(l=e.create(a,i)),l.setLinkedRecord(r,o),l},deleteNode:function(e,t){var r=n.get(),i=r.EDGES,o=r.NODE,a=e.getLinkedRecords(i);if(a){for(var s,l=0;l<a.length;l++){var u=a[l],c=u&&u.getLinkedRecord(o);null!=c&&c.getDataID()===t?void 0===s&&(s=a.slice(0,l)):void 0!==s&&s.push(u)}void 0!==s&&e.setLinkedRecords(s,i)}},getConnection:function(e,t,r){var n=i("connection",t,null);return e.getLinkedRecord(n,r)},insertEdgeAfter:function(e,t,r){var i=n.get(),o=i.CURSOR,a=i.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=s.concat(t);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];if(l.push(d),null!=d)r===d.getValue(o)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var i=n.get(),o=i.CURSOR,a=i.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=[t].concat(s);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];if(null!=d)r===d.getValue(o)&&(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=n.get(),o=i.EDGES,d=i.END_CURSOR,f=i.HAS_NEXT_PAGE,p=i.HAS_PREV_PAGE,h=i.PAGE_INFO,_=i.PAGE_INFO_TYPE,v=i.START_CURSOR,g=r.getLinkedRecord(t.fieldKey),y=g&&g.getLinkedRecord(h);if(g){var m=s(r.getDataID(),t.handleKey),b=r.getLinkedRecord(t.handleKey),E=null!=b?b:e.get(m),R=E&&E.getLinkedRecord(h);if(E){null==b&&r.setLinkedRecord(E,t.handleKey);var D=E,S=g.getLinkedRecords(o);S&&(S=S.map((function(t){return u(e,D,t)})));var O=D.getLinkedRecords(o),I=D.getLinkedRecord(h);D.copyFieldsFrom(g),O&&D.setLinkedRecords(O,o),I&&D.setLinkedRecord(I,h);var k=[],P=t.args;if(O&&S)if(null!=P.after){if(!R||P.after!==R.getValue(d))return void a(!1,"Relay: Unexpected after cursor `%s`, edges must be fetched from the end of the list (`%s`).",P.after,R&&R.getValue(d));var T=new Set;c(O,k,T),c(S,k,T)}else if(null!=P.before){if(!R||P.before!==R.getValue(v))return void a(!1,"Relay: Unexpected before cursor `%s`, edges must be fetched from the beginning of the list (`%s`).",P.before,R&&R.getValue(v));var w=new Set;c(S,k,w),c(O,k,w)}else k=S;else k=S||O;if(null!=k&&k!==O&&D.setLinkedRecords(k,o),R&&y)if(null==P.after&&null==P.before)R.copyFieldsFrom(y);else if(null!=P.before||null==P.after&&P.last){R.setValue(!!y.getValue(p),p);var x=y.getValue(v);"string"==typeof x&&R.setValue(x,v)}else if(null!=P.after||null==P.before&&P.first){R.setValue(!!y.getValue(f),f);var A=y.getValue(d);"string"==typeof A&&R.setValue(A,d)}}else{var N=e.create(m,g.getType());N.setValue(0,l),N.copyFieldsFrom(g);var M=g.getLinkedRecords(o);M&&(M=M.map((function(t){return u(e,N,t)})),N.setLinkedRecords(M,o)),r.setLinkedRecord(N,t.handleKey),(R=e.create(s(N.getDataID(),h),_)).setValue(!1,f),R.setValue(!1,p),R.setValue(null,d),R.setValue(null,v),y&&R.copyFieldsFrom(y),N.setLinkedRecord(R,h)}}else r.setValue(null,t.handleKey)}}}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(18),a=r(3),s=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"}),l=Object.freeze({APPEND:"append",PREPEND:"prepend"});function u(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:s,RangeOperations:l,convert:function(e,t,r,i){var s=r?[r]:[],l=i?[i]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=u(t);if(!n)return null;return function(e,t){var i=e.getRootField(n);if(i){var o=i.getValue(r);(Array.isArray(o)?o:[o]).forEach((function(t){t&&"string"==typeof t&&e.delete(t)}))}}}(e,t);r&&(s.push(r),l.push(r));break;case"RANGE_ADD":var i=function(e,t){var r=e.parentID,i=e.connectionInfo,s=e.edgeName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_ADD to work you must include a parentID"),null;var l=u(t);if(!i||!l)return null;return function(e,t){var u=e.get(r);if(u){var c=e.getRootField(l);if(c){var d,f=c.getLinkedRecord(s),p=n(i);try{for(p.s();!(d=p.n()).done;){var h=d.value;if(f){var _=o.getConnection(u,h.key,h.filters);if(_){var v=o.buildConnectionEdge(e,_,f);if(v)switch(h.rangeBehavior){case"append":o.insertEdgeAfter(_,v);break;case"prepend":o.insertEdgeBefore(_,v);break;default:a(!1,"RelayDeclarativeMutationConfig: RANGE_ADD range behavior `%s` will not work as expected in RelayModern, supported range behaviors are 'append', 'prepend'.",h.rangeBehavior)}}}}}catch(e){p.e(e)}finally{p.f()}}}}}(e,t);i&&(s.push(i),l.push(i));break;case"RANGE_DELETE":var c=function(e,t){var r=e.parentID,i=e.connectionKeys,s=e.pathToConnection,l=e.deletedIDFieldName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_DELETE to work you must include a parentID"),null;var c=u(t);if(!c)return null;return function(e,t){if(t){var u=[],d=t[c];if(d&&Array.isArray(l)){var f,p=n(l);try{for(p.s();!(f=p.n()).done;){var h=f.value;d&&"object"==typeof d&&(d=d[h])}}catch(e){p.e(e)}finally{p.f()}Array.isArray(d)?d.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&u.push(e.id)})):d&&d.id&&"string"==typeof d.id&&u.push(d.id)}else d&&"string"==typeof l&&"object"==typeof d&&("string"==typeof(d=d[l])?u.push(d):Array.isArray(d)&&d.forEach((function(e){"string"==typeof e&&u.push(e)})));!function(e,t,r,i,s){a(null!=t,"RelayDeclarativeMutationConfig: RANGE_DELETE must provide a connectionKeys");var l=i.get(e);if(!l)return;if(r.length<2)return void a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection must include at least parent and connection");for(var u=l,c=1;c<r.length-1;c++)u&&(u=u.getLinkedRecord(r[c]));if(!t||!u)return void a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection is incorrect. Unable to find connection with parentID: %s and path: %s",e,r.toString());var d,f=n(t);try{var p=function(){var e=d.value,t=o.getConnection(u,e.key,e.filters);t&&s.forEach((function(e){o.deleteNode(t,e)}))};for(f.s();!(d=f.n()).done;)p()}catch(e){f.e(e)}finally{f.f()}}(r,i,s,e,u)}}}(e,t);c&&(s.push(c),l.push(c))}})),{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";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(0),i=r(27).DEFAULT_HANDLE_KEY;e.exports=function(e,t,r){return t&&t!==i?"__".concat(t,"_").concat(e):(null==r&&n(!1,"getRelayHandleKey: Expected either `fieldName` or `key` in `handle` to be provided"),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(0);e.exports={getFragmentVariables:function(e,t,r){var a;return e.argumentDefinitions.forEach((function(s){if(!r.hasOwnProperty(s.name))switch(a=a||function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r),s.kind){case"LocalArgument":a[s.name]=s.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(s.name)){a[s.name]=void 0;break}a[s.name]=t[s.name];break;default:o(!1,"RelayConcreteVariables: Unexpected node kind `%s` in fragment `%s`.",s.kind,e.name)}})),a||r},getOperationVariables:function(e,t){var r={};return e.argumentDefinitions.forEach((function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n})),r}}},function(e,t,r){"use strict";function n(){}var i={"*":[]},o={"*":[]},a={},s={stop:n},l={instrumentMethods:function(e,t){for(var r in t)t.hasOwnProperty(r)&&"function"==typeof e[r]&&(e[r]=l.instrument(t[r],e[r]))},instrument:function(e,t){i.hasOwnProperty(e)||(i[e]=[]);var r=i["*"],n=i[e],o=[],s=[],l=function i(){var a=s[s.length-1];a[0]?(a[0]--,r[a[0]](e,i)):a[1]?(a[1]--,n[a[1]](e,i)):a[2]?(a[2]--,o[a[2]](e,i)):a[5]=t.apply(a[3],a[4])},c=function(){var e;if(0===n.length&&0===o.length&&0===r.length)e=t.apply(this,arguments);else{s.push([r.length,n.length,o.length,this,arguments,a]),l();var i=s.pop();if((e=i[5])===a)throw new Error("RelayProfiler: Handler did not invoke original function.")}return e};return c.attachHandler=function(e){o.push(e)},c.detachHandler=function(e){u(o,e)},c.displayName="(instrumented "+e+")",c},attachAggregateHandler:function(e,t){i.hasOwnProperty(e)||(i[e]=[]),i[e].push(t)},detachAggregateHandler:function(e,t){i.hasOwnProperty(e)&&u(i[e],t)},profile:function(e,t){var r=o["*"].length>0,n=o.hasOwnProperty(e);if(n||r){for(var i,a=n&&r?o[e].concat(o["*"]):n?o[e]:o["*"],l=a.length-1;l>=0;l--){var u=(0,a[l])(e,t);(i=i||[]).unshift(u)}return{stop:function(e){i&&i.forEach((function(t){return t(e)}))}}}return s},attachProfileHandler:function(e,t){o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)},detachProfileHandler:function(e,t){o.hasOwnProperty(e)&&u(o[e],t)}};function u(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}e.exports=l},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},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"},o={inject:function(e){i=e},get:function(){return i},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}};e.exports=o},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(18),a=r(0),s=r(3),l={update:c(o.insertEdgeAfter)},u={update:c(o.insertEdgeBefore)};function c(e){return function(t,r){var i=t.get(r.dataID);if(null!=i){var l=r.handleArgs.connections;null==l&&a(!1,"MutationHandlers: Expected connection IDs to be specified.");var u,c=i.getLinkedRecord(r.fieldKey,r.args),d=n(l);try{for(d.s();!(u=d.n()).done;){var f=u.value,p=t.get(f);if(null!=p){var h=o.buildConnectionEdge(t,p,c);null==h&&a(!1,"MutationHandlers: Failed to build the edge."),e(p,h)}else s(!1,"[Relay][Mutation] The connection with id '".concat(f,"' doesn't exist."))}}catch(e){d.e(e)}finally{d.f()}}}}e.exports={AppendEdgeHandler:l,DeleteRecordHandler:{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)}}},PrependEdgeHandler:u}},function(e,t,r){"use strict";var n=r(18),i=r(28),o=r(0);e.exports=function(e){switch(e){case"connection":return n;case"deleteRecord":return i.DeleteRecordHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler}o(!1,"RelayDefaultHandlerProvider: No handler provided for `%s`.",e)}},function(e,t,r){"use strict";function n(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),o=3;o<n;o++)i[o-3]=arguments[o];var a=0,s=r.replace(/%s/g,(function(){return String(i[a++])})),l=new Error(s),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),o=2;o<r;o++)i[o-2]=arguments[o];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),o=2;o<r;o++)i[o-2]=arguments[o];return n.apply(void 0,["warn",e,t].concat(i))}}},function(e,t,r){"use strict";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(0),a=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=new Set,o=n(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=this._ownersToPendingOperations.get(a);null!=s?s.has(e)||(s.add(e),i.add(a)):(this._ownersToPendingOperations.set(a,new Set([e])),i.add(a))}}catch(e){o.e(e)}finally{o.f()}if(0!==i.size){var l,u=this._pendingOperationsToOwners.get(e)||new Set,c=n(i);try{for(c.s();!(l=c.n()).done;){var d=l.value;this._resolveOwnerResolvers(d),u.add(d)}}catch(e){c.e(e)}finally{c.f()}this._pendingOperationsToOwners.set(e,u)}}},t.complete=function(e){var t=this._pendingOperationsToOwners.get(e);if(null!=t){var r,i=new Set,o=new Set,a=n(t);try{for(a.s();!(r=a.n()).done;){var s=r.value,l=this._ownersToPendingOperations.get(s);l&&(l.delete(e),l.size>0?o.add(s):i.add(s))}}catch(e){a.e(e)}finally{a.f()}var u,c=n(i);try{for(c.s();!(u=c.n()).done;){var d=u.value;this._resolveOwnerResolvers(d),this._ownersToPendingOperations.delete(d)}}catch(e){c.e(e)}finally{c.f()}var f,p=n(o);try{for(p.s();!(f=p.n()).done;){var h=f.value;this._resolveOwnerResolvers(h)}}catch(e){p.e(e)}finally{p.f()}this._pendingOperationsToOwners.delete(e)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPromise.get(e);null!=t&&t.resolve(),this._ownersToPromise.delete(e)},t.getPromiseForPendingOperationsAffectingOwner=function(e){if(!this._ownersToPendingOperations.has(e))return null;var t,r=this._ownersToPromise.get(e);if(null!=r)return r.promise;var n=new Promise((function(e){t=e}));return null==t&&o(!1,"RelayOperationTracker: Expected resolver to be defined. If youare seeing this, it is likely a bug in Relay."),this._ownersToPromise.set(e,{promise:n,resolve:t}),n},e}();e.exports=a},function(e,t,r){"use strict";var n=r(8),i=r(7),o=r(0),a=r(6),s=a.CLIENT_EXTENSION,l=a.CONDITION,u=a.DEFER,c=a.FRAGMENT_SPREAD,d=a.INLINE_DATA_FRAGMENT_SPREAD,f=a.INLINE_FRAGMENT,p=a.LINKED_FIELD,h=a.MODULE_IMPORT,_=a.SCALAR_FIELD,v=a.STREAM,g=r(1),y=g.FRAGMENTS_KEY,m=g.FRAGMENT_OWNER_KEY,b=g.FRAGMENT_PROP_NAME_KEY,E=g.ID_KEY,R=g.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,D=g.MODULE_COMPONENT_KEY,S=g.ROOT_ID,O=g.getArgumentValues,I=g.getStorageKey,k=g.getModuleComponentKey,P=r(21).generateTypeID;var T=function(){function e(e,t){this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._owner=t.owner,this._recordSource=e,this._seenRecords={},this._selector=t,this._variables=t.variables}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,o=e.isWithinUnmatchedTypeRefinement,a=t.abstractKey,s=this._recordSource.get(r),l=!o;l&&null==a&&null!=s&&(i.getType(s)!==t.type&&r!==S&&(l=!1));if(l&&null!=a&&null!=s&&n.ENABLE_PRECISE_TYPE_REFINEMENT){var u=i.getType(s),c=P(u),d=this._recordSource.get(c),f=null!=d?i.getValue(d,a):null;!1===f?l=!1:null==f&&(this._isMissingData=!0)}return this._isWithinUnmatchedTypeRefinement=!l,{data:this._traverse(t,r,null),isMissingData:this._isMissingData&&l,seenRecords:this._seenRecords,selector:this._selector}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords[t]=n,null==n)return void 0===n&&(this._isMissingData=!0),n;var i=r||{};return this._traverseSelections(e.selections,n,i),i},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||o(!1,"RelayReader(): Undefined variable `%s`.",e),this._variables[e]},t._traverseSelections=function(e,t,r){for(var a=0;a<e.length;a++){var g=e[a];switch(g.kind){case _:this._readScalar(g,t,r);break;case p:g.plural?this._readPluralLink(g,t,r):this._readLink(g,t,r);break;case l:this._getVariableValue(g.condition)===g.passingValue&&this._traverseSelections(g.selections,t,r);break;case f:var y=g.abstractKey;if(null==y){var m=i.getType(t);null!=m&&m===g.type&&this._traverseSelections(g.selections,t,r)}else if(n.ENABLE_PRECISE_TYPE_REFINEMENT){var b=this._isMissingData,E=this._isWithinUnmatchedTypeRefinement,R=i.getType(t),D=P(R),S=this._recordSource.get(D),O=null!=S?i.getValue(S,y):null;this._isWithinUnmatchedTypeRefinement=E||!1===O,this._traverseSelections(g.selections,t,r),this._isWithinUnmatchedTypeRefinement=E,!1===O?this._isMissingData=b:null==O&&(this._isMissingData=!0)}else this._traverseSelections(g.selections,t,r);break;case c:this._createFragmentPointer(g,t,r);break;case h:this._readModuleImport(g,t,r);break;case d:this._createInlineDataFragmentPointer(g,t,r);break;case u:case s:var I=this._isMissingData;this._traverseSelections(g.selections,t,r),this._isMissingData=I;break;case v:this._traverseSelections(g.selections,t,r);break;default:o(!1,"RelayReader(): Unexpected ast kind `%s`.",g.kind)}}},t._readScalar=function(e,t,r){var n,o=null!==(n=e.alias)&&void 0!==n?n:e.name,a=I(e,this._variables),s=i.getValue(t,a);void 0===s&&(this._isMissingData=!0),r[o]=s},t._readLink=function(e,t,r){var n,a=null!==(n=e.alias)&&void 0!==n?n:e.name,s=I(e,this._variables),l=i.getLinkedRecordID(t,s);if(null==l)return r[a]=l,void(void 0===l&&(this._isMissingData=!0));var u=r[a];null!=u&&"object"!=typeof u&&o(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",a,i.getDataID(t),u),r[a]=this._traverse(e,l,u)},t._readPluralLink=function(e,t,r){var n,a=this,s=null!==(n=e.alias)&&void 0!==n?n:e.name,l=I(e,this._variables),u=i.getLinkedRecordIDs(t,l);if(null==u)return r[s]=u,void(void 0===u&&(this._isMissingData=!0));var c=r[s];null==c||Array.isArray(c)||o(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an array, got `%s`.",s,i.getDataID(t),c);var d=c||[];u.forEach((function(r,n){if(null==r)return void 0===r&&(a._isMissingData=!0),void(d[n]=r);var l=d[n];null!=l&&"object"!=typeof l&&o(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",s,i.getDataID(t),l),d[n]=a._traverse(e,r,l)})),r[s]=d},t._readModuleImport=function(e,t,r){var n=k(e.documentName),o=i.getValue(t,n);null!=o?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:null},t,r),r[b]=e.fragmentPropName,r[D]=o):void 0===o&&(this._isMissingData=!0)},t._createFragmentPointer=function(e,t,r){var a=r[y];null==a&&(a=r[y]={}),("object"!=typeof a||null==a)&&o(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a),null==r[E]&&(r[E]=i.getDataID(t)),a[e.name]=e.args?O(e.args,this._variables):{},r[m]=this._owner,n.ENABLE_PRECISE_TYPE_REFINEMENT&&(r[R]=this._isWithinUnmatchedTypeRefinement)},t._createInlineDataFragmentPointer=function(e,t,r){var n=r[y];null==n&&(n=r[y]={}),("object"!=typeof n||null==n)&&o(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",n),null==r[E]&&(r[E]=i.getDataID(t));var a={};this._traverseSelections(e.selections,t,a),n[e.name]=a},e}();e.exports={read:function(e,t){return new T(e,t).read()}}},function(e,t,r){"use strict";var n=r(7),i=r(0),o=r(20).EXISTENT,a=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);if(void 0===r){if(null==t)return t;var i=n.clone(t);return n.freeze(i),i}if(null===r)return null;if(null!=t){var o=n.update(t,r);return o!==t&&n.freeze(o),o}var a=n.clone(r);return n.freeze(a),a},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||i(!1,"RelayRecordSourceMutator: Cannot modify non-existent record `%s`.",e),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),o=this._base.get(e);r||o||i(!1,"RelayRecordSourceMutator#copyFields(): Cannot copy fields from non-existent record `%s`.",e);var a=this._getSinkRecord(t);o&&n.copyFields(o,a),r&&n.copyFields(r,a)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===o||this._sink.getStatus(e)===o)&&i(!1,"RelayRecordSourceMutator#create(): Cannot create a record with id `%s`, this record already exists.",e);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 o=n.getValue(i,t);if(void 0!==o)return o}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 o=n.getLinkedRecordID(i,t);if(void 0!==o)return o}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 o=n.getLinkedRecordIDs(i,t);if(void 0!==o)return o}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=a},function(e,t,r){"use strict";var n=r(7),i=r(53),o=r(0),a=r(20),s=a.EXISTENT,l=a.NONEXISTENT,u=r(1),c=u.ROOT_ID,d=u.ROOT_TYPE,f=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===s){var o=e.get(t);o&&(r.__mutator.getStatus(t)!==s&&r.create(t,n.getType(o)),r.__mutator.copyFieldsFromRecord(o,t))}else i===l&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||o(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),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||o(!1,"RelayRecordSourceProxy#create(): Expected the created record to exist."),r},t.delete=function(e){e===c&&o(!1,"RelayRecordSourceProxy#delete(): Cannot delete the root record."),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===s?new i(this,this.__mutator,e):t===l?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(c);return e||(e=this.create(c,d)),e&&e.getType()===d||o(!1,"RelayRecordSourceProxy#getRoot(): Expected the source to contain a root record, %s.",null==e?"no root record found":"found a root record of type `".concat(e.getType(),"`")),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},e}();e.exports=f},function(e,t,r){"use strict";var n=r(37),i=n.VIEWER_ID,o=n.VIEWER_TYPE;e.exports=function(e,t){return t===o&&null==e.id?i:e.id}},function(e,t,r){"use strict";var n=(0,r(5).generateClientID)(r(1).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";var n=r(0),i=r(10);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&n(!1,"getRequestIdentifier: Expected request `%s` to have either a valid `id` or `cacheID` property",e.name),r+JSON.stringify(i(t))}},function(e,t,r){"use strict";var n=r(15),i=r(0),o=r(6).LINKED_FIELD,a=r(1).getHandleStorageKey;e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===o&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));s&&s.kind===o||i(!1,"cloneRelayHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=a(e,r);return{kind:"LinkedField",alias:s.alias,name:l,storageKey:l,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r||"object"!=typeof t||!t||"object"!=typeof r||!r)return r;var n=!1,i=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(i&&o)n=o.reduce((function(t,r,n){var a=e(i[n],r);return a!==o[n]&&(Object.isFrozen(o)||(o[n]=a)),t&&a===i[n]}),!0)&&i.length===o.length;else if(!i&&!o){var a=t,s=r,l=Object.keys(a),u=Object.keys(s);n=u.reduce((function(t,r){var n=e(a[r],s[r]);return n!==s[r]&&(Object.isFrozen(s)||(s[r]=n)),t&&n===a[r]}),!0)&&l.length===u.length}return n?t:r}},function(e,t,r){"use strict";var n=r(2)(r(4)),i=r(11),o=r(0),a=function(){function e(){var e=this;(0,n.default)(this,"_complete",!1),(0,n.default)(this,"_events",[]),(0,n.default)(this,"_sinks",new Set),(0,n.default)(this,"_subscription",null),this._observable=i.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,"RelayReplaySubject: Unknown event kind `%s`.",i.kind)}}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){return this._subscription=this._observable.subscribe(e),this._subscription},t.unsubscribe=function(){this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=a},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=r(11),i=r(41),o=r(0),a="function"==typeof WeakMap?new WeakMap:new Map;function s(e,t,r){return n.create((function(a){var s=u(e),l=s.get(t);return l||r().finally((function(){return s.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e},s.set(t,l)},next:function(e){var r=c(s,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=c(s,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=c(s,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=c(s,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&o(!1,"[fetchQueryInternal] fetchQueryDeduped: Expected `start` to be called synchronously"),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))}}}))}(s,l).subscribe(a)}))}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=a.get(e);if(null!=t)return t;var r=new Map;return a.set(e,r),r}function c(e,t){var r=e.get(t);return null==r&&o(!1,"[fetchQueryInternal] getCachedRequest: Expected request to be cached"),r}e.exports={fetchQuery:function(e,t,r){return s(e,t.request.identifier,(function(){return e.execute({operation:t,cacheConfig:null==r?void 0:r.networkCacheConfig})}))},fetchQueryDeduped:s,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(18),i=r(26),o=r(9),a=r(28),s=r(45),l=r(6),u=r(23),c=r(19),d=r(27),f=r(29),p=r(30),h=r(8),_=r(46),v=r(13),g=r(7),y=r(12),m=r(57),b=r(64),E=r(11),R=r(32),D=r(24),S=r(66),O=r(17),I=r(41),k=r(1),P=r(37),T=r(67),w=r(68),x=r(69),A=r(71),N=r(73),M=r(74),F=r(16),j=r(75),L=r(43),C=r(76),U=r(22),V=r(38),K=r(31),q=r(25),z=r(42),Y=r(77),G=r(40),Q=r(78),H=r(10),B=r(5),W=B.generateClientID,J=B.generateUniqueClientID,X=B.isClientID,$="function"!=typeof Map?"Map":null,Z="function"!=typeof Set?"Set":null,ee="function"!=typeof Promise?"Promise":null,te="function"!=typeof Object.assign?"Object.assign":null;if($||Z||ee||te)throw new Error("relay-runtime requires ".concat([$,Z,ee,te].filter(Boolean).join(", and ")," to exist. ")+"Use a polyfill to provide these for older browsers.");e.exports={Environment:_,Network:b,Observable:E,QueryResponseCache:S,RecordSource:O,Record:g,ReplaySubject:I,Store:m,areEqualSelectors:y.areEqualSelectors,createFragmentSpecResolver:A,createNormalizationSelector:y.createNormalizationSelector,createOperationDescriptor:v.createOperationDescriptor,createReaderSelector:y.createReaderSelector,createRequestDescriptor:v.createRequestDescriptor,getDataIDsFromFragment:y.getDataIDsFromFragment,getDataIDsFromObject:y.getDataIDsFromObject,getFragment:o.getFragment,getInlineDataFragment:o.getInlineDataFragment,getModuleComponentKey:k.getModuleComponentKey,getModuleOperationKey:k.getModuleOperationKey,getPaginationFragment:o.getPaginationFragment,getPluralSelector:y.getPluralSelector,getRefetchableFragment:o.getRefetchableFragment,getRequest:o.getRequest,getRequestIdentifier:V,getSelector:y.getSelector,getSelectorsFromObject:y.getSelectorsFromObject,getSingularSelector:y.getSingularSelector,getStorageKey:k.getStorageKey,getVariablesFromFragment:y.getVariablesFromFragment,getVariablesFromObject:y.getVariablesFromObject,getVariablesFromPluralFragment:y.getVariablesFromPluralFragment,getVariablesFromSingularFragment:y.getVariablesFromSingularFragment,graphql:o.graphql,readInlineData:Y,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:f,ConnectionHandler:n,MutationHandlers:a,VIEWER_ID:P.VIEWER_ID,VIEWER_TYPE:P.VIEWER_TYPE,applyOptimisticMutation:T,commitLocalUpdate:w,commitMutation:x,fetchQuery:j,isRelayModernEnvironment:q,requestSubscription:Q,ConnectionInterface:i,PreloadableQueryRegistry:s,RelayProfiler:D,createPayloadFor3DField:N,RelayConcreteNode:l,RelayError:p,RelayFeatureFlags:h,DEFAULT_HANDLE_KEY:d.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:k.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:k.FRAGMENT_OWNER_KEY,ID_KEY:k.ID_KEY,REF_KEY:k.REF_KEY,REFS_KEY:k.REFS_KEY,ROOT_ID:k.ROOT_ID,ROOT_TYPE:k.ROOT_TYPE,TYPENAME_KEY:k.TYPENAME_KEY,deepFreeze:F,generateClientID:W,generateUniqueClientID:J,getRelayHandleKey:U,isClientID:X,isPromise:K,isScalarAndEqual:z,recycleNodesInto:G,stableCopy:H,getFragmentIdentifier:C,__internal:{OperationTracker:R,createRelayContext:M,getOperationVariables:u.getOperationVariables,fetchQuery:L.fetchQuery,fetchQueryDeduped:L.fetchQueryDeduped,getPromiseForActiveRequest:L.getPromiseForActiveRequest,getObservableForActiveRequest:L.getObservableForActiveRequest}}},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";(function(t){var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(29),a=r(8),s=r(48),l=r(11),u=r(32),c=r(51),d=r(17),f=r(36),p=r(55),h=r(0),_=function(){function e(e){var n,i,s,l,d,p,_=this;this.configName=e.configName;var g=e.handlerProvider?e.handlerProvider:o;this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var y=e.operationLoader;null!=y&&("object"!=typeof y||"function"!=typeof y.get||"function"!=typeof y.load)&&h(!1,"RelayModernEnvironment: Expected `operationLoader` to be an object with get() and load() functions, got `%s`.",y),this.__log=null!==(n=e.log)&&void 0!==n?n:v,this._defaultRenderPolicy=(null!==(i=e.UNSTABLE_defaultRenderPolicy)&&void 0!==i?i:!0===a.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=y,this._operationExecutions=new Map,this._network=e.network,this._getDataID=null!==(s=e.UNSTABLE_DO_NOT_USE_getDataID)&&void 0!==s?s:f,this._publishQueue=new c(e.store,g,this._getDataID),this._scheduler=null!==(l=e.scheduler)&&void 0!==l?l:null,this._store=e.store,this.options=e.options,this._isServer=null!==(d=e.isServer)&&void 0!==d&&d,this.__setNet=function(e){return _._network=e};var m=r(56).inspect;this.DEBUG_inspect=function(e){return m(_,e)};var b=void 0!==t?t:"undefined"!=typeof window?window:void 0,E=b&&b.__RELAY_DEVTOOLS_HOOK__;E&&E.registerEnvironment(this),this._missingFieldHandlers=e.missingFieldHandlers,this._operationTracker=null!==(p=e.operationTracker)&&void 0!==p?p:new u}var _=e.prototype;return _.getStore=function(){return this._store},_.getNetwork=function(){return this._network},_.getOperationTracker=function(){return this._operationTracker},_.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},_.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},_.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()}))}}},_.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},_.replaceUpdate=function(e,t){var r=this;this._scheduleUpdates((function(){r._publishQueue.revertUpdate(e),r._publishQueue.applyUpdate(t),r._publishQueue.run()}))},_.applyMutation=function(e){var t=this,r=l.create((function(r){var n=l.create((function(e){})),i=s.execute({operation:e.operation,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:e,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:r,source:n,store:t._store,updater:null,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return i.cancel()}})).subscribe({});return{dispose:function(){return r.unsubscribe()}}},_.check=function(e){return null==this._missingFieldHandlers||0===this._missingFieldHandlers.length?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},_.commitPayload=function(e,t){var r=this;l.create((function(n){var i=s.execute({operation:e,operationExecutions:r._operationExecutions,operationLoader:r._operationLoader,optimisticConfig:null,publishQueue:r._publishQueue,scheduler:r._scheduler,sink:n,source:l.from({data:t}),store:r._store,updater:null,operationTracker:r._operationTracker,getDataID:r._getDataID,isClientPayload:!0,treatMissingFieldsAsNull:r._treatMissingFieldsAsNull});return function(){return i.cancel()}})).subscribe({})},_.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},_.lookup=function(e){return this._store.lookup(e)},_.subscribe=function(e,t){return this._store.subscribe(e,t)},_.retain=function(e){return this._store.retain(e)},_.isServer=function(){return this._isServer},_._checkSelectorAndHandleMissingFields=function(e,t){var r=this,n=d.create(),i=this._store.check(e,{target:n,handlers:t});return n.size()>0&&this._scheduleUpdates((function(){r._publishQueue.commitSource(n),r._publishQueue.run()})),i},_._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},_.execute=function(e){var t=this,r=e.operation,n=e.cacheConfig,i=e.updater,o=this.__createLogObserver(r.request.node.params,r.request.variables),a=o[0],u=o[1];return l.create((function(e){var o=t._network.execute(r.request.node.params,r.request.variables,n||{},null,u).do(a),l=s.execute({operation:r,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:null,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:o,store:t._store,updater:i,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return l.cancel()}}))},_.executeMutation=function(e){var t=this,r=e.cacheConfig,o=e.operation,a=e.optimisticResponse,u=e.optimisticUpdater,c=e.updater,d=e.uploadables,f=this.__createLogObserver(o.request.node.params,o.request.variables),p=f[0],h=f[1];return l.create((function(e){var l;(a||u)&&(l={operation:o,response:a,updater:u});var f=t._network.execute(o.request.node.params,o.request.variables,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{force:!0}),d,h).do(p),_=s.execute({operation:o,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:l,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:f,store:t._store,updater:c,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return _.cancel()}}))},_.executeWithSource=function(e){var t=this,r=e.operation,n=e.source;return l.create((function(e){var i=s.execute({operation:r,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:null,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:n,store:t._store,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return i.cancel()}}))},_.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},_.__createLogObserver=function(e,t){var r=p(),n=this.__log;return[{start:function(i){n({name:"execute.start",transactionID:r,params:e,variables:t})},next:function(e){n({name:"execute.next",transactionID:r,response:e})},error:function(e){n({name:"execute.error",transactionID:r,error:e})},complete:function(){n({name:"execute.complete",transactionID:r})},unsubscribe:function(){n({name:"execute.unsubscribe",transactionID:r})}},function(e){n({name:"execute.info",transactionID:r,info:e})}]},e}();function v(){}_.prototype["@@RelayModernEnvironment"]=!0,e.exports=_}).call(this,r(47))},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(2),i=n(r(4)),o=n(r(14));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=r(30),c=r(7),d=r(11),f=r(17),p=r(50),h=r(0),_=r(10),v=r(3),g=r(5).generateClientID,y=r(12).createNormalizationSelector,m=r(1),b=m.ROOT_TYPE,E=m.TYPENAME_KEY,R=m.getStorageKey;var D=function(){function e(e){var t=this,r=e.operation,n=e.operationExecutions,i=e.operationLoader,o=e.optimisticConfig,a=e.publishQueue,s=e.scheduler,l=e.sink,u=e.source,c=e.store,d=e.updater,f=e.operationTracker,p=e.treatMissingFieldsAsNull,h=e.getDataID,_=e.isClientPayload;this._getDataID=h,this._treatMissingFieldsAsNull=p,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._nextSubscriptionId=0,this._operation=r,this._operationExecutions=n,this._operationLoader=i,this._operationTracker=f,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._publishQueue=a,this._scheduler=s,this._sink=l,this._source=new Map,this._state="started",this._store=c,this._subscriptions=new Map,this._updater=d,this._isClientPayload=!0===_;var v=this._nextSubscriptionId++;u.subscribe({complete:function(){return t._complete(v)},error:function(e){return t._error(e)},next:function(e){try{t._next(v,e)}catch(e){l.error(e)}},start:function(e){return t._start(v,e)}}),null!=o&&this._processOptimisticResponse(null!=o.response?{data:o.response}:null,o.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._publishQueue.revertUpdate(t)})),this._publishQueue.run()),this._incrementalResults.clear(),this._completeOperationTracker()}},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,h(!1,"RelayModernQueryExecutor: invalid executor state.")}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++;d.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())},t._error=function(e){this.cancel(),this._sink.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(){r._handleNext(t),r._maybeCompleteSubscriptionOperationTracking()}))},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)",o=u.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 o.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},o.stack,o}var a=e;r.push(a)}})),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)}))&&h(!1,"Optimistic responses cannot be batched."),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&h(!1,"RelayModernQueryExecutor: optimistic payload received after server payload."),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){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||h(!1,"RelayModernQueryExecutor: invalid incremental payload, expected `path` and `label` to either both be null/undefined, or `path` to be an `Array<string | number>` and `label` to be a `string`."),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],o=n[1];if(i.length>0){var a=this._processResponses(i),s=this._publishQueue.run(this._operation);this._updateOperationTracker(s),this._processPayloadFollowups(a)}if(o.length>0){var l=this._processIncrementalResponses(o),u=this._publishQueue.run();this._updateOperationTracker(u),this._processPayloadFollowups(l)}this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&h(!1,"environment.execute: only support one optimistic response per execute."),null!=e||null!=t){var i=[];if(e){var o=S(e,this._operation.root,b,{getDataID:this._getDataID,path:[],treatMissingFieldsAsNull:r});O(o),i.push({operation:this._operation,payload:o,updater:t}),this._processOptimisticFollowups(o,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,moduleImportPayloads:null,source:f.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._publishQueue.applyUpdate(e)})),this._publishQueue.run()}},t._processOptimisticFollowups=function(e,t){if(e.moduleImportPayloads&&e.moduleImportPayloads.length){var r=e.moduleImportPayloads,n=this._operationLoader;n||h(!1,"RelayModernEnvironment: Expected an operationLoader to be configured when using `@match`.");var i,a=s(r);try{for(a.s();!(i=a.n()).done;){var l=i.value,u=n.get(l.operationReference);if(null==u)this._processAsyncOptimisticModuleImport(n,l);else{var c=this._processOptimisticModuleImport(u,l);t.push.apply(t,(0,o.default)(c))}}}catch(e){a.e(e)}finally{a.f()}}},t._normalizeModuleImport=function(e,t){var r=y(t,e.dataID,e.variables);return S({data:e.data},r,e.typeName,{getDataID:this._getDataID,path:e.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull})},t._processOptimisticModuleImport=function(e,t){var r=[],n=this._normalizeModuleImport(t,e);return O(n),r.push({operation:this._operation,payload:n,updater:null}),this._processOptimisticFollowups(n,r),r},t._processAsyncOptimisticModuleImport=function(e,t){var r=this;e.load(t.operationReference).then((function(e){if(null!=e&&"started"===r._state){var n,i=r._processOptimisticModuleImport(e,t);if(i.forEach((function(e){return r._publishQueue.applyUpdate(e)})),null==r._optimisticUpdates)v(!1,"RelayModernQueryExecutor: Unexpected ModuleImport optimisitc update in operation %s."+r._operation.request.node.params.name);else(n=r._optimisticUpdates).push.apply(n,(0,o.default)(i)),r._publishQueue.run()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){return t._publishQueue.revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var r=S(e,t._operation.root,b,{getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,path:[]});return t._publishQueue.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.moduleImportPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length){var o=t._operationLoader;o||h(!1,"RelayModernEnvironment: Expected an operationLoader to be configured when using `@match`."),n.forEach((function(e){t._processModuleImportPayload(e,o)}))}if(r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){t._processIncrementalPlaceholder(e,r)})),t._isClientPayload||"loading_final"===t._state)){v(t._isClientPayload,"RelayModernEnvironment: Operation `%s` contains @defer/@stream directives but was executed in non-streaming mode. See https://fburl.com/relay-incremental-delivery-non-streaming-warning.",t._operation.request.node.params.name);var a=[];if(r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0){var s=t._publishQueue.run();t._updateOperationTracker(s),t._processPayloadFollowups(a)}}}))},t._maybeCompleteSubscriptionOperationTracking=function(){"subscription"===this._operation.request.node.params.operationKind&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processModuleImportPayload=function(e,t){var r=this,n=t.get(e.operationReference);if(null!=n)this._handleModuleImportPayload(e,n),this._maybeCompleteSubscriptionOperationTracking();else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var o=function(){r._pendingModulePayloadsCount--,r._maybeCompleteSubscriptionOperationTracking()};d.from(new Promise((function(r,n){t.load(e.operationReference).then(r,n)}))).map((function(t){null!=t&&r._schedule((function(){r._handleModuleImportPayload(e,t)}))})).subscribe({complete:function(){r._complete(i),o()},error:function(e){r._error(e),o()},start:function(e){return r._start(i,e)}})}},t._handleModuleImportPayload=function(e,t){var r=this._normalizeModuleImport(e,t);this._publishQueue.commitPayload(this._operation,r);var n=this._publishQueue.run();this._updateOperationTracker(n),this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=t.label,i=t.path.map(String).join("."),o=this._incrementalResults.get(n);null==o&&(o=new Map,this._incrementalResults.set(n,o));var a,s=o.get(i),l=null!=s&&"response"===s.kind?s.responses:null;o.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?a=t.parentID:"defer"===t.kind?a=t.selector.dataID:h(!1,"Unsupported incremental placeholder kind `%s`.",t.kind);var u,d,f=e.source.get(a),p=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=g(e.dataID,e.fieldKey);return e.dataID===a||t===a}));null==f&&h(!1,"RelayModernEnvironment: Expected record `%s` to exist.",a);var v=this._source.get(a);if(null!=v){u=c.update(v.record,f);var y=new Map,m=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(_(t)))&&void 0!==r?r:"");y.set(n,e)};v.fieldPayloads.forEach(m),p.forEach(m),d=Array.from(y.values())}else u=f,d=p;if(this._source.set(a,{record:u,fieldPayloads:d}),null!=l){var b=this._processIncrementalResponses(l),E=this._publishQueue.run();this._updateOperationTracker(E),this._processPayloadFollowups(b)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,o=e.response,a=t._incrementalResults.get(n);if(null==a&&(a=new Map,t._incrementalResults.set(n,a)),-1!==n.indexOf("$defer$")){var s=i.map(String).join("."),l=a.get(s);if(null==l)return l={kind:"response",responses:[e]},void a.set(s,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&h(!1,"RelayModernEnvironment: Expected data for path `%s` for label `%s` to be data for @defer, was `@%s`.",s,n,u.kind),r.push(t._processDeferResponse(n,i,u,o))}else{var c=i.slice(0,-2).map(String).join("."),d=a.get(c);if(null==d)return d={kind:"response",responses:[e]},void a.set(c,d);if("response"===d.kind)return void d.responses.push(e);var f=d.placeholder;"stream"!==f.kind&&h(!1,"RelayModernEnvironment: Expected data for path `%s` for label `%s` to be data for @stream, was `@%s`.",c,n,f.kind),r.push(t._processStreamResponse(n,i,f,o))}})),r},t._processDeferResponse=function(e,t,r,n){var i=r.selector.dataID,o=S(n,r.selector,r.typeName,{getDataID:this._getDataID,path:r.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull});this._publishQueue.commitPayload(this._operation,o);var a=this._source.get(i);null==a&&h(!1,"RelayModernEnvironment: Expected the parent record `%s` for @defer data to exist.",i);var s=a.fieldPayloads;if(0!==s.length){var l,u={errors:null,fieldPayloads:s,incrementalPlaceholders:null,moduleImportPayloads:null,source:f.create(),isFinal:!0===(null===(l=n.extensions)||void 0===l?void 0:l.is_final)};this._publishQueue.commitPayload(this._operation,u)}return o},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,a=r.node,s=r.variables,l=a.selections[0];(null==l||"LinkedField"!==l.kind||!0!==l.plural)&&h(!1,"RelayModernEnvironment: Expected @stream to be used on a plural field.");var u=this._normalizeStreamItem(n,i,l,s,t,r.path),c=u.fieldPayloads,d=u.itemID,p=u.itemIndex,_=u.prevIDs,v=u.relayPayload,g=u.storageKey;if(this._publishQueue.commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===_.length&&!r.some((function(e,t){return _[t]!==(e&&e.getDataID())}))){var n=(0,o.default)(r);n[p]=e.get(d),t.setLinkedRecords(n,g)}}})),0!==c.length){var y={errors:null,fieldPayloads:c,incrementalPlaceholders:null,moduleImportPayloads:null,source:f.create(),isFinal:!1};this._publishQueue.commitPayload(this._operation,y)}return v},t._normalizeStreamItem=function(e,t,r,n,i,a){var s,l,u,d=e.data;"object"!=typeof d&&h(!1,"RelayModernEnvironment: Expected the GraphQL @stream payload `data` value to be an object.");var f=null!==(s=r.alias)&&void 0!==s?s:r.name,p=R(r,n),_=this._source.get(t);null==_&&h(!1,"RelayModernEnvironment: Expected the parent record `%s` for @stream data to exist.",t);var v=_.record,m=_.fieldPayloads,b=c.getLinkedRecordIDs(v,p);null==b&&h(!1,"RelayModernEnvironment: Expected record `%s` to have fetched field `%s` with @stream.",t,r.name);var D=i[i.length-1],O=parseInt(D,10);O===D&&O>=0||h(!1,"RelayModernEnvironment: Expected path for @stream to end in a positive integer index, got `%s`",D);var I=null!==(l=r.concreteType)&&void 0!==l?l:d[E];"string"!=typeof I&&h(!1,"RelayModernEnvironment: Expected @stream field `%s` to have a __typename.",r.name);var k=(null!==(u=this._getDataID(d,I))&&void 0!==u?u:b&&b[O])||g(t,p,O);"string"!=typeof k&&h(!1,"RelayModernEnvironment: Expected id of elements of field `%s` to be strings.",p);var P=y(r,k,n),T=c.clone(v),w=(0,o.default)(b);return w[O]=k,c.setLinkedRecordIDs(T,p,w),this._source.set(t,{record:T,fieldPayloads:m}),{fieldPayloads:m,itemID:k,itemIndex:O,prevIDs:b,relayPayload:S(e,P,I,{getDataID:this._getDataID,path:[].concat((0,o.default)(a),[f,String(O)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull}),storageKey:p}},t._updateOperationTracker=function(e){null!=this._operationTracker&&null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){null!=this._operationTracker&&this._operationTracker.complete(this._operation.request)},e}();function S(e,t,r,n){var o,s=e.data,l=e.errors,u=f.create(),d=c.create(t.dataID,r);return u.set(t.dataID,d),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},p.normalize(u,t,s,n),{errors:l,isFinal:!0===(null===(o=e.extensions)||void 0===o?void 0:o.is_final)})}function O(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&h(!1,"RelayModernQueryExecutor: optimistic responses cannot be returned for operations that use incremental data delivery (@defer, @stream, and @stream_connection).")}e.exports={execute:function(e){return new D(e)}}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(20),a=o.EXISTENT,s=o.NONEXISTENT,l=o.UNKNOWN,u=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])}))}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:l},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=n(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,o=i[0],a=i[1];t[o]=a}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=u},function(e,t,r){"use strict";var n=r(2)(r(14)),i=r(8),o=r(7),a=r(24),s=r(0),l=r(3),u=r(6),c=u.CONDITION,d=u.CLIENT_EXTENSION,f=u.DEFER,p=u.INLINE_FRAGMENT,h=u.LINKED_FIELD,_=u.LINKED_HANDLE,v=u.MODULE_IMPORT,g=u.SCALAR_FIELD,y=u.SCALAR_HANDLE,m=u.STREAM,b=u.TYPE_DISCRIMINATOR,E=r(5),R=E.generateClientID,D=E.isClientID,S=r(12).createNormalizationSelector,O=r(1),I=O.getArgumentValues,k=O.getHandleStorageKey,P=O.getModuleComponentKey,T=O.getModuleOperationKey,w=O.getStorageKey,x=O.TYPENAME_KEY,A=O.ROOT_ID,N=r(21),M=N.generateTypeID,F=N.TYPE_SCHEMA_TYPE;var j=function(){function e(e,t,r){this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._moduleImportPayloads=[],this._path=r.path?(0,n.default)(r.path):[],this._recordSource=e,this._variables=t}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var n=this._recordSource.get(t);return n||s(!1,"RelayResponseNormalizer(): Expected root record `%s` to exist.",t),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,moduleImportPayloads:this._moduleImportPayloads,source:this._recordSource,isFinal:!1}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||s(!1,"RelayResponseNormalizer(): Undefined variable `%s`.",e),this._variables[e]},t._getRecordType=function(e){var t=e[x];return null==t&&s(!1,"RelayResponseNormalizer(): Expected a typename for record `%s`.",JSON.stringify(e,null,2)),t},t._traverseSelections=function(e,t,r){for(var n=0;n<e.selections.length;n++){var a=e.selections[n];switch(a.kind){case g:case h:this._normalizeField(e,a,t,r);break;case c:this._getVariableValue(a.condition)===a.passingValue&&this._traverseSelections(a,t,r);break;case p:var l=a.abstractKey;if(null==l)o.getType(t)===a.type&&this._traverseSelections(a,t,r);else if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var u=r.hasOwnProperty(l),E=o.getType(t),R=M(E),D=this._recordSource.get(R);null==D&&(D=o.create(R,F),this._recordSource.set(R,D)),o.setValue(D,l,u),u&&this._traverseSelections(a,t,r)}else{var S=r.hasOwnProperty(l),O=this._isUnmatchedAbstractType;this._isUnmatchedAbstractType=this._isUnmatchedAbstractType||!S,this._traverseSelections(a,t,r),this._isUnmatchedAbstractType=O}break;case b:if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var P=a.abstractKey,T=r.hasOwnProperty(P),x=o.getType(t),A=M(x),N=this._recordSource.get(A);null==N&&(N=o.create(A,F),this._recordSource.set(A,N)),o.setValue(N,P,T)}break;case _:case y:var j=a.args?I(a.args,this._variables):{},L=w(a,this._variables),C=k(a,this._variables);this._handleFieldPayloads.push({args:j,dataID:o.getDataID(t),fieldKey:L,handle:a.handle,handleKey:C,handleArgs:a.handleArgs?I(a.handleArgs,this._variables):{}});break;case v:this._normalizeModuleImport(e,a,t,r);break;case f:this._normalizeDefer(a,t,r);break;case m:this._normalizeStream(a,t,r);break;case d:var U=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(a,t,r),this._isClientExtension=U;break;default:s(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s`.",a.kind)}}},t._normalizeDefer=function(e,t,r){var i=null===e.if||this._getVariableValue(e.if);l("boolean"==typeof i,"RelayResponseNormalizer: Expected value for @defer `if` argument to be a boolean, got `%s`.",i),!1===i?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,n.default)(this._path),selector:S(e,o.getDataID(t),this._variables),typeName:o.getType(t)})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r);var i=null===e.if||this._getVariableValue(e.if);l("boolean"==typeof i,"RelayResponseNormalizer: Expected value for @stream `if` argument to be a boolean, got `%s`.",i),!0===i&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,n.default)(this._path),parentID:o.getDataID(t),node:e,variables:this._variables})},t._normalizeModuleImport=function(e,t,r,i){"object"==typeof i&&i||s(!1,"RelayResponseNormalizer: Expected data for @module to be an object.");var a=o.getType(r),l=P(t.documentName),u=i[l];o.setValue(r,l,null!=u?u:null);var c=T(t.documentName),d=i[c];o.setValue(r,c,null!=d?d:null),null!=d&&this._moduleImportPayloads.push({data:i,dataID:o.getDataID(r),operationReference:d,path:(0,n.default)(this._path),typeName:a,variables:this._variables})},t._normalizeField=function(e,t,r,n){"object"==typeof n&&n||s(!1,"writeField(): Expected data for field `%s` to be an object.",t.name);var i=t.alias||t.name,a=w(t,this._variables),u=n[i];if(null==u){if(void 0===u){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void l(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",i,a)}return t.kind===g&&this._validateConflictingFieldsWithIdenticalId(r,a,u),void o.setValue(r,a,null)}t.kind===g?(this._validateConflictingFieldsWithIdenticalId(r,a,u),o.setValue(r,a,u)):t.kind===h?(this._path.push(i),t.plural?this._normalizePluralLink(t,r,a,u):this._normalizeLink(t,r,a,u),this._path.pop()):s(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s` during normalization.",t.kind)},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||s(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an object.",r);var a=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||o.getLinkedRecordID(t,r)||R(o.getDataID(t),r);"string"!=typeof a&&s(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",r),this._validateConflictingLinkedFieldsWithIdenticalId(t,o.getLinkedRecordID(t,r),a,r),o.setLinkedRecordID(t,r,a);var l=this._recordSource.get(a);if(l)this._validateRecordType(l,e,n);else{var u=e.concreteType||this._getRecordType(n);l=o.create(a,u),this._recordSource.set(a,l)}this._traverseSelections(e,l,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||s(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an array of objects.",r);var a=o.getLinkedRecordIDs(t,r),l=[];n.forEach((function(n,u){var c;if(null!=n){i._path.push(String(u)),"object"!=typeof n&&s(!1,"RelayResponseNormalizer: Expected elements for field `%s` to be objects.",r);var d=i._getDataId(n,null!==(c=e.concreteType)&&void 0!==c?c:i._getRecordType(n))||a&&a[u]||R(o.getDataID(t),r,u);"string"!=typeof d&&s(!1,"RelayResponseNormalizer: Expected id of elements of field `%s` to be strings.",r),l.push(d);var f=i._recordSource.get(d);if(f)i._validateRecordType(f,e,n);else{var p=e.concreteType||i._getRecordType(n);f=o.create(d,p),i._recordSource.set(d,f)}a&&i._validateConflictingLinkedFieldsWithIdenticalId(t,a[u],d,r),i._traverseSelections(e,f,n),i._path.pop()}else l.push(n)})),o.setLinkedRecordIDs(t,r,l)},t._validateRecordType=function(e,t,r){var n,i=null!==(n=t.concreteType)&&void 0!==n?n:this._getRecordType(r),a=o.getDataID(e);l(D(a)&&a!==A||o.getType(e)===i,"RelayResponseNormalizer: Invalid record `%s`. Expected %s to be consistent, but the record was assigned conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",a,x,o.getType(e),i)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){var n=o.getDataID(e),i=o.getValue(e,t);l(t===x||void 0===i||i===r,"RelayResponseNormalizer: Invalid record. The record contains two instances of the same id: `%s` with conflicting field, %s and its values: %s and %s.If two fields are different but sharethe same id, one field will overwrite the other.",n,t,i,r)},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,n){l(void 0===t||t===r,"RelayResponseNormalizer: Invalid record. The record contains references to the conflicting field, %s and its id values: %s and %s. We need to make sure that the record the field points to remains consistent or one field will overwrite the other.",n,t,r)},e}(),L=a.instrument("RelayResponseNormalizer.normalize",(function(e,t,r,n){var i=t.dataID,o=t.node,a=t.variables;return new j(e,a,n).normalizeResponse(o,i,r)}));e.exports={normalize:L}},function(e,t,r){"use strict";var n=r(52),i=r(33),o=r(17),a=r(34),s=r(35),l=r(54),u=r(0),c=r(3),d=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))&&u(!1,"RelayPublishQueue: Cannot apply the same update function more than once concurrently."),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){c(!0!==this._isRunning,"A store update was detected within another store update. Please make sure new store updates aren’t being executed within an updater function for a different update."),this._isRunning=!0,this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var t=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._isRunning=!1,this._store.notify(e,t)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,o=r.source,c=r.fieldPayloads,d=new a(this._store.getSource(),o),p=new s(d,this._getDataID);if(c&&c.length&&c.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||u(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),r.update(p,e)})),i){var h=n.fragment;null==h&&u(!1,"RelayModernEnvironment: Expected a selector to be provided with updater function."),i(new l(d,p,h),f(o,h))}var _=p.getIDsMarkedForInvalidation();return this._store.publish(o,_),p.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 i=e._publishSourceFromPayload(r);t=t||i}else if("source"===r.kind){var l=r.source;e._store.publish(l)}else{var u=r.updater,c=o.create(),d=new a(e._store.getSource(),c),f=new s(d,e._getDataID);n.applyWithGuard(u,null,[f],null,"RelayPublishQueue:commitData"),t=t||f.isStoreMarkedForInvalidation();var p=f.getIDsMarkedForInvalidation();e._store.publish(c,p)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=o.create(),r=new a(this._store.getSource(),t),i=new s(r,this._getDataID,this._handlerProvider),u=function(e){if(e.storeUpdater){var t=e.storeUpdater;n.applyWithGuard(t,null,[i],null,"RelayPublishQueue:applyUpdates")}else{var o,a=e.operation,s=e.payload,u=e.updater,c=s.source,d=s.fieldPayloads,p=new l(r,i,a.fragment);c&&(i.publishSource(c,d),o=f(c,a.fragment)),u&&n.applyWithGuard(u,null,[p,o],null,"RelayPublishQueue:applyUpdates")}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(u),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){u(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function f(e,t){var n=i.read(e,t).data,o=r(16);return n&&o(n),n}e.exports=d},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(0),i=r(5).generateClientID,o=r(1).getStableStorageKey,a=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&&n(!1,"RelayRecordProxy: Cannot get the type of deleted record `%s`.",this._dataID),e},t.getValue=function(e,t){var r=o(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){s(e)||n(!1,"RelayRecordProxy#setValue(): Expected a scalar or array of scalars, got `%s`.",JSON.stringify(e));var i=o(t,r);return this._mutator.setValue(this._dataID,i,e),this},t.getLinkedRecord=function(e,t){var r=o(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,i){t instanceof e||n(!1,"RelayRecordProxy#setLinkedRecord(): Expected a record, got `%s`.",t);var a=o(r,i),s=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,a,s),this},t.getOrCreateLinkedRecord=function(e,t,r){var n=this.getLinkedRecord(e,r);if(!n){var a,s=o(e,r),l=i(this.getDataID(),s);n=null!==(a=this._source.get(l))&&void 0!==a?a:this._source.create(l,t),this.setLinkedRecord(n,e,r)}return n},t.getLinkedRecords=function(e,t){var r=this,n=o(e,t),i=this._mutator.getLinkedRecordIDs(this._dataID,n);return null==i?i:i.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||n(!1,"RelayRecordProxy#setLinkedRecords(): Expected records to be an array, got `%s`.",e);var i=o(t,r),a=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,i,a),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function s(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(s)}e.exports=a},function(e,t,r){"use strict";var n=r(0),i=r(1),o=i.getStorageKey,a=i.ROOT_TYPE,s=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,a)),e},t._getRootField=function(e,t,r){var i=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t}));return i&&"LinkedField"===i.kind||n(!1,"RelayRecordSourceSelectorProxy#getRootField(): Cannot find root field `%s`, no such field is defined on GraphQL document `%s`.",t,e.node.name),i.plural!==r&&n(!1,"RelayRecordSourceSelectorProxy#getRootField(): Expected root field `%s` to be %s.",t,r?"plural":"singular"),i},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},e}();e.exports=s},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";var n=r(2),i=n(r(4)),o=n(r(14));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var s=function(){},l=!1,u=function(){var e={style:"list-style-type: none; padding: 0; margin: 0 0 0 12px; font-style: normal"},t={style:"rgb(136, 19, 145)"},r={style:"color: #777"},n=function(e){return["span",{style:"font-style: italic"},e.__typename,["span",r,' {id: "',e.__id,'", …}']]},i=function(e){return null!=e&&"string"==typeof e.__id},a=function(e,t){this.key=e,this.value=t},s=function(t){var r=Object.keys(t).map((function(e){return["li",{},["object",{object:new a(e,t[e])}]]}));return["ol",e].concat((0,o.default)(r))};return[{header:function(e){return i(e)?n(e):null},hasBody:function(e){return!0},body:function(e){return s(e)}},{header:function(e){if(e instanceof a){var o=i(e.value)?n(e.value):null==(s=e.value)?["span",r,"undefined"]:["object",{object:s,config:l}];return["span",t,e.key,": ",o]}var s,l;return null},hasBody:function(e){return i(e.value)},body:function(e){return s(e.value)}}]},c=function e(t,r){var n=t.get(r);return null==n?n:new Proxy(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n),{get:function(r,n){var i=r[n];if(null==i)return i;if("object"==typeof i){if("string"==typeof i.__ref)return e(t,i.__ref);if(Array.isArray(i.__refs))return i.__refs.map((function(r){return e(t,r)}))}return i}})};s=function(e,t){var r;return l||(l=!0,null==window.devtoolsFormatters&&(window.devtoolsFormatters=[]),Array.isArray(window.devtoolsFormatters)&&(console.info('Make sure to select "Enable custom formatters" in the Chrome Developer Tools settings, tab "Preferences" under the "Console" section.'),(r=window.devtoolsFormatters).push.apply(r,(0,o.default)(u())))),c(e.getStore().getSource(),null!=t?t:"client:root")},e.exports={inspect:s}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=r(58),s=r(7),l=r(60),u=r(24),c=r(33),d=r(61),f=r(1),p=r(16),h=r(36),_=r(62),v=r(0),g=r(40),y=r(63),m=r(1),b=m.ROOT_ID,E=m.ROOT_TYPE,R=function(){function e(e,t){var r,i,o,a,l,u=this;(0,n.default)(this,"_gcStep",(function(){u._gcRun&&(u._gcRun.next().done?u._gcRun=null:u._gcScheduler(u._gcStep))}));for(var c=e.getRecordIDs(),d=0;d<c.length;d++){var f=e.get(c[d]);f&&s.freeze(f)}this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:0,this._gcRun=null,this._gcScheduler=null!==(i=null==t?void 0:t.gcScheduler)&&void 0!==i?i:y,this._getDataID=null!==(o=null==t?void 0:t.UNSTABLE_DO_NOT_USE_getDataID)&&void 0!==o?o:h,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this._log=null!==(a=null==t?void 0:t.log)&&void 0!==a?a:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(l=null==t?void 0:t.operationLoader)&&void 0!==l?l:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._subscriptions=new Set,this._updatedRecordIDs={},function(e){if(!e.has(b)){var t=s.create(b,E);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.check=function(e,t){var r,n,i,o=e.root,s=null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource,l=this._globalInvalidationEpoch,u=this._roots.get(e.request.identifier),c=null!=u?u.epoch:null;if(null!=l&&(null==c||c<=l))return{status:"stale"};var d=null!==(n=null==t?void 0:t.target)&&void 0!==n?n:s,f=null!==(i=null==t?void 0:t.handlers)&&void 0!==i?i:[];return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,o=e.status;if("number"==typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===o)return{status:"missing"};if(null!=r&&null!=n){if(r<=Date.now()-n)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(a.check(s,d,o,f,this._operationLoader,this._getDataID),c,null==u?void 0:u.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 o=t._releaseBuffer.shift();t._roots.delete(o),t._scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource(),r=c.read(t,e);return p(r),r},t.notify=function(e,t){var r=this,n=this._log;null!=n&&n({name:"store.notify.start"}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch);var i=this.getSource(),o=[];if(this._subscriptions.forEach((function(e){var t=r._updateSubscription(i,e);null!=t&&o.push(t)})),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=n&&n({name:"store.notify.complete",updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs={},this._invalidatedRecordIDs.clear(),null!=e){var a=e.request.identifier,s=this._roots.get(a);if(null!=s)s.epoch=this._currentWriteEpoch,s.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(a),this._roots.set(a,l)}}return o},t.publish=function(e,t){var r,n=null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource;!function(e,t,r,n,i,o){n&&n.forEach((function(n){var i,a=e.get(n),l=t.get(n);null!==l&&((i=null!=a?s.clone(a):null!=l?s.clone(l):null)&&(s.setValue(i,f.INVALIDATED_AT_KEY,r),o.add(n),e.set(n,i)))}));for(var a=t.getRecordIDs(),l=0;l<a.length;l++){var u=a[l],c=t.get(u),d=e.get(u);if(c&&s.freeze(c),c&&d){var p=s.update(d,c);p!==d&&(s.freeze(p),i[u]=!0,e.set(u,p))}else null===c?(e.delete(u),null!==d&&(i[u]=!0)):c&&(e.set(u,c),i[u]=!0)}}(n,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var i=this._log;null!=i&&i({name:"store.publish",source:e,optimistic:n===this._optimisticSource})},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.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.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t._updateSubscription=function(e,t){var r=t.backup,n=t.callback,i=t.snapshot,o=t.stale,a=_(i.seenRecords,this._updatedRecordIDs);if(o||a){var s=a||!r?c.read(e,i.selector):r;return s={data:g(i.data,s.data),isMissingData:s.isMissingData,seenRecords:s.seenRecords,selector:s.selector},p(s),t.snapshot=s,t.stale=!1,s.data!==i.data?(n(s),i.selector.owner):void 0}},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=s.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,o=i(e.dataIDs);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(t.get(a)!==r.get(a))return!0}}catch(e){o.e(e)}finally{o.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(){var e=this;null!=this._optimisticSource&&v(!1,"RelayModernStore: Unexpected call to snapshot() while a previous snapshot exists.");var t=this._log;null!=t&&t({name:"store.snapshot"}),this._subscriptions.forEach((function(t){if(t.stale){var r=t.snapshot,n=c.read(e.getSource(),r.selector),i=g(r.data,n.data);n.data=i,t.backup=n}else t.backup=t.snapshot})),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=l.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&v(!1,"RelayModernStore: Unexpected call to restore(), expected a snapshot to exist (make sure to call snapshot()).");var e=this._log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this._scheduleGC(),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,seenRecords:t.seenRecords,selector:t.selector}):e.stale=!0}))},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=i(this._roots.values());try{for(n.s();!(e=n.n()).done;){var o=e.value.operation.root;if(d.mark(this._recordSource,o,r,this._operationLoader),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.f()}var a=this._log;if(null!=a&&a({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var s=this._recordSource.getRecordIDs(),l=0;l<s.length;l++){var u=s[l];r.has(u)||this._recordSource.remove(u)}return}},e}();u.instrumentMethods(R.prototype,{lookup:"RelayModernStore.prototype.lookup"}),e.exports=R},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(6),a=r(8),s=r(7),l=r(34),u=r(35),c=r(1),d=r(39),f=r(59),p=r(0),h=r(5).isClientID,_=r(20),v=_.EXISTENT,g=_.UNKNOWN,y=r(21).generateTypeID,m=o.CONDITION,b=o.CLIENT_EXTENSION,E=o.DEFER,R=o.FRAGMENT_SPREAD,D=o.INLINE_FRAGMENT,S=o.LINKED_FIELD,O=o.LINKED_HANDLE,I=o.MODULE_IMPORT,k=o.SCALAR_FIELD,P=o.SCALAR_HANDLE,T=o.STREAM,w=o.TYPE_DISCRIMINATOR,x=c.getModuleOperationKey,A=c.getStorageKey,N=c.getArgumentValues;var M=function(){function e(e,t,r,n,i,o){var a=new l(e,t);this._mostRecentlyInvalidatedAt=null,this._handlers=n,this._mutator=a,this._operationLoader=null!=i?i:null,this._recordSourceProxy=new u(a,o),this._recordWasMissing=!1,this._source=e,this._variables=r}var t=e.prototype;return 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)||p(!1,"RelayAsyncLoader(): Undefined variable `%s`.",e),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._getDataForHandlers=function(e,t){return{args:e.args?N(e.args,this._variables):{},record:this._source.get(t)}},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!h(t)){var r,i=this._getDataForHandlers(e,t),o=i.args,a=i.record,s=n(this._handlers);try{for(s.s();!(r=s.n()).done;){var l=r.value;if("scalar"===l.kind){var u=l.handle(e,a,o,this._recordSourceProxy);if(void 0!==u)return u}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=this._getDataForHandlers(e,t),o=i.args,a=i.record,s=n(this._handlers);try{for(s.s();!(r=s.n()).done;){var l=r.value;if("linked"===l.kind){var u=l.handle(e,a,o,this._recordSourceProxy);if(void 0!==u&&(null===u||this._mutator.getStatus(u)===v))return u}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,o=this._getDataForHandlers(e,t),a=o.args,s=o.record,l=n(this._handlers);try{for(l.s();!(r=l.n()).done;){var u=r.value;if("pluralLinked"===u.kind){var c=u.handle(e,s,a,this._recordSourceProxy);if(null!=c){if(c.every((function(e){return null!=e&&i._mutator.getStatus(e)===v})))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===g&&this._handleMissing(),r===v){var n=this._source.get(t),i=s.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 k:r._checkScalar(n,t);break;case S:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case m:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case D:var i=n.abstractKey;if(null==i)r._mutator.getType(t)===n.type&&r._traverseSelections(n.selections,t);else if(a.ENABLE_PRECISE_TYPE_REFINEMENT){var o=r._mutator.getType(t);null==o&&p(!1,"DataChecker: Expected record `%s` to have a known type",t);var s=y(o),l=r._mutator.getValue(s,i);!0===l?r._traverseSelections(n.selections,t):null==l&&r._handleMissing()}else r._traverseSelections(n.selections,t);break;case O:var u=d(n,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case P:var c=f(n,e,r._variables);r._checkScalar(c,t);break;case I:r._checkModuleImport(n,t);break;case E:case T:r._traverseSelections(n.selections,t);break;case R:p(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",n.kind);break;case b:var h=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=h;break;case w:if(a.ENABLE_PRECISE_TYPE_REFINEMENT){var _=n.abstractKey,v=r._mutator.getType(t);null==v&&p(!1,"DataChecker: Expected record `%s` to have a known type",t);var g=y(v);null==r._mutator.getValue(g,_)&&r._handleMissing()}break;default:p(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",n.kind)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&p(!1,"DataChecker: Expected an operationLoader to be configured when using `@module`.");var n=x(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var o=r.get(i);null!=o?this._traverse(o,t):this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=A(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=A(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=A(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)}))},e}();e.exports={check:function(e,t,r,n,i,o){var a=r.dataID,s=r.node,l=r.variables;return new M(e,t,l,n,i,o).check(s,a)}}},function(e,t,r){"use strict";var n=r(15),i=r(0),o=r(6).SCALAR_FIELD,a=r(1).getHandleStorageKey;e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===o&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));s&&s.kind===o||i(!1,"cloneRelayScalarHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=a(e,r);return{kind:"ScalarField",alias:s.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(17),a=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),s=function(){function e(e){this._base=e,this._sink=o.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=o.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=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},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(6),i=r(8),o=r(7),a=r(1),s=r(39),l=r(0),u=r(21).generateTypeID,c=n.CONDITION,d=n.CLIENT_EXTENSION,f=n.DEFER,p=n.FRAGMENT_SPREAD,h=n.INLINE_FRAGMENT,_=n.LINKED_FIELD,v=n.MODULE_IMPORT,g=n.LINKED_HANDLE,y=n.SCALAR_FIELD,m=n.SCALAR_HANDLE,b=n.STREAM,E=n.TYPE_DISCRIMINATOR,R=a.getStorageKey,D=a.getModuleOperationKey;var S=function(){function e(e,t,r,n){this._operationLoader=null!=n?n:null,this._recordSource=e,this._references=r,this._variables=t}var t=e.prototype;return t.mark=function(e,t){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)||l(!1,"RelayReferenceMarker(): Undefined variable `%s`.",e),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case _:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case c:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case h:if(null==n.abstractKey){var a=o.getType(t);null!=a&&a===n.type&&r._traverseSelections(n.selections,t)}else if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var R=o.getType(t),D=u(R);r._references.add(D),r._traverseSelections(n.selections,t)}else r._traverseSelections(n.selections,t);break;case p:l(!1,"RelayReferenceMarker(): Unexpected fragment spread `...%s`, expected all fragments to be inlined.",n.name);case g:var S=s(n,e,r._variables);S.plural?r._traversePluralLink(S,t):r._traverseLink(S,t);break;case f:case b:r._traverseSelections(n.selections,t);break;case y:case m:break;case E:if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var O=o.getType(t),I=u(O);r._references.add(I)}break;case v:r._traverseModuleImport(n,t);break;case d:r._traverseSelections(n.selections,t);break;default:l(!1,"RelayReferenceMarker: Unknown AST node `%s`.",n)}}))},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&l(!1,"RelayReferenceMarker: Expected an operationLoader to be configured when using `@module`.");var n=D(e.documentName),i=o.getValue(t,n);if(null!=i){var a=r.get(i);null!=a&&this._traverseSelections(a.selections,t)}},t._traverseLink=function(e,t){var r=R(e,this._variables),n=o.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=R(e,this._variables),i=o.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},e}();e.exports={mark:function(e,t,r,n){var i=t.dataID,o=t.node,a=t.variables;new S(e,a,r,n).mark(o,i)}}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){for(var r in e)if(n.call(e,r)&&n.call(t,r))return!0;return!1}},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(0),i=r(65).convertFetch;e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,o,a,s){if("subscription"===e.operationKind)return t||n(!1,"RelayNetwork: This network layer does not support Subscriptions. To use Subscriptions, provide a custom network layer."),a&&n(!1,"RelayNetwork: Cannot provide uploadables while subscribing."),t(e,i,o);var l=o.poll;return null!=l?(a&&n(!1,"RelayNetwork: Cannot provide uploadables while polling."),r(e,i,{force:!0}).poll(l)):r(e,i,o,a,s)}}}}},function(e,t,r){"use strict";var n=r(11);e.exports={convertFetch:function(e){return function(t,r,i,o,a){var s=e(t,r,i,o,a);return s instanceof Error?n.create((function(e){return e.error(s)})):n.from(s)}}}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(0),s=r(10),l=function(){function e(e){var t=e.size,r=e.ttl;t>0||a(!1,"RelayQueryResponseCache: Expected the max cache size to be > 0, got `%s`.",t),r>0||a(!1,"RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.",r),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,n=u(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 i=this._responses.get(n);return null!=i?o({},i.payload,{extensions:o({},i.payload.extensions,{cacheTimestamp:i.fetchTime})}):null},t.set=function(e,t,r){var n=Date.now(),i=u(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var o=this._responses.keys().next();o.done||this._responses.delete(o.value)}},e}();function u(e,t){return JSON.stringify(s({queryID:e,variables:t}))}e.exports=l},function(e,t,r){"use strict";var n=r(19),i=r(0),o=r(25),a=r(9).getRequest,s=r(13).createOperationDescriptor;e.exports=function(e,t){o(e)||i(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=a(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,f=s(r,d);return u&&(l=n.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:f,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(2)(r(14)),i=r(19),o=(r(8),r(0)),a=r(25),s=r(70),l=r(3),u=r(9).getRequest,c=r(5).generateUniqueClientID,d=r(13).createOperationDescriptor;e.exports=function(e,t){a(e)||o(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=u(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 f=t.optimisticResponse,p=t.optimisticUpdater,h=t.updater,_=t.configs,v=t.cacheConfig,g=t.onError,y=t.onUnsubscribe,m=t.variables,b=t.uploadables,E=d(r,m,c());if("function"==typeof f&&(f=f(),l(!1,"commitMutation: Expected `optimisticResponse` to be an object, received a function.")),f instanceof Object&&s(f,r,m),_){var R=i.convert(_,r,p,h);p=R.optimisticUpdater,h=R.updater}var D=[];return{dispose:e.executeMutation({cacheConfig:v,operation:E,optimisticResponse:f,optimisticUpdater:p,updater:h,uploadables:b}).subscribe({next:function(e){Array.isArray(e)?e.forEach((function(e){e.errors&&D.push.apply(D,(0,n.default)(e.errors))})):e.errors&&D.push.apply(D,(0,n.default)(e.errors))},complete:function(){var r=t.onCompleted;r&&r(e.lookup(E.fragment).data,0!==D.length?D:null)},error:g,unsubscribe:y}).unsubscribe}}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(3),s=function(){},l=function(e,t,r){var n=t;e.split(".").forEach((function(e,t,i){null==n[e]&&(n[e]={}),r&&t===i.length-1&&(n[e]="<scalar>"),n=n[e]}))};s=function(e,t,r){var n=t.operation.name,i={path:"ROOT",visitedPaths:new Set,variables:r||{},missingDiff:{},extraDiff:{}};u(e,t.operation.selections,i),f(e,i),a(null==i.missingDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please define fields for all of\n%s",n,JSON.stringify(i.missingDiff.ROOT,null,2)),a(null==i.extraDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please remove all fields of\n%s",n,JSON.stringify(i.extraDiff.ROOT,null,2))};var u=function(e,t,r){t.forEach((function(t){return c(e,t,r)}))},c=function e(t,r,n){switch(r.kind){case"Condition":return void u(t,r.selections,n);case"ScalarField":case"LinkedField":return d(t,r,n);case"InlineFragment":var i=r.type,o=null==r.abstractKey;return void r.selections.forEach((function(r){o&&t.__typename!==i||e(t,r,n)}));case"ClientExtension":return void r.selections.forEach((function(r){e(t,r,n)}));case"ModuleImport":case"LinkedHandle":case"ScalarHandle":case"Defer":case"Stream":case"TypeDiscriminator":default:return}},d=function(e,t,r){var n=t.alias||t.name,i="".concat(r.path,".").concat(n);switch(r.visitedPaths.add(i),t.kind){case"ScalarField":return void(!1===e.hasOwnProperty(n)&&l(i,r.missingDiff,!0));case"LinkedField":var a=t.selections;if(null===e[n]||Object.hasOwnProperty(n)&&void 0===e[n])return;return t.plural?Array.isArray(e[n])?void e[n].forEach((function(e){null!==e&&u(e,a,o({},r,{path:i}))})):void l(i,r.missingDiff):e[n]instanceof Object?void u(e[n],a,o({},r,{path:i})):void l(i,r.missingDiff)}},f=function e(t,r){Array.isArray(t)?t.forEach((function(t){t instanceof Object&&e(t,r)})):Object.keys(t).forEach((function(n){var i=t[n],a="".concat(r.path,".").concat(n);r.visitedPaths.has(a)?i instanceof Object&&e(i,o({},r,{path:a})):l(a,r.extraDiff)}))};e.exports=s},function(e,t,r){"use strict";var n=r(72),i=r(3);e.exports=function(e,t,r,o,a){return Object.keys(r).forEach((function(e){var r=o[e];i(void 0!==r,"createFragmentSpecResolver: Expected prop `%s` to be supplied to `%s`, but got `undefined`. Pass an explicit `null` if this is intentional.",e,t)})),new n(e,r,o,a)}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(8),s=r(15),l=r(0),u=r(42),c=r(3),d=r(43).getPromiseForActiveRequest,f=r(13).createRequestDescriptor,p=r(12),h=p.areEqualSelectors,_=p.createReaderSelector,v=p.getSelectorsFromObject,g=function(){function e(e,t,r,i){var o=this;(0,n.default)(this,"_onChange",(function(){o._stale=!0,"function"==typeof o._callback&&o._callback()})),this._callback=i,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,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],i=t[r];if(n){var a=n.resolve();(e||a!==i)&&((e=e||o({},t))[r]=a)}else{var s=this._props[r],l=void 0!==s?s:null;!e&&u(l,i)||((e=e||o({},t))[r]=l)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e){this._callback=e},t.setProps=function(e){var t=v(this._fragments,e);for(var r in this._props={},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 m(this._context.environment,n,this._onChange):(i instanceof m||l(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an array.",r),i.setSelector(n)):null==i?i=new y(this._context.environment,n,this._onChange):(i instanceof y||l(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an object.",r),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}(),y=function(){function e(e,t,r){var i=this;(0,n.default)(this,"_onChange",(function(e){i._data=e.data,i._isMissingData=e.isMissingData,i._callback()}));var o=e.lookup(t);this._callback=r,this._data=o.data,this._isMissingData=o.isMissingData,this._environment=e,this._selector=t,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===a.ENABLE_RELAY_CONTAINERS_SUSPENSE&&!0===this._isMissingData){var e,t=null!==(e=d(this._environment,this._selector.owner))&&void 0!==e?e:this._environment.getOperationTracker().getPromiseForPendingOperationsAffectingOwner(this._selector.owner);if(null!=t)throw c(!1,"Relay: Relay Container for fragment `%s` suspended. When using features such as @defer or @module, use `useFragment` instead of a Relay Container.",this._selector.node.name),t}return this._data},t.setSelector=function(e){if(null==this._subscription||!h(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=t.data,this._isMissingData=t.isMissingData,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!s(e,this._selector.variables)){var r=f(t,e),n=_(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),m=function(){function e(e,t,r){var i=this;(0,n.default)(this,"_onChange",(function(e){i._stale=!0,i._callback()})),this._callback=r,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this.setSelector(t)}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 y(this._environment,t[r],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=g},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(1),a=o.getModuleComponentKey,s=o.getModuleOperationKey;e.exports=function(e,t,r,o){var l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},o);return l[a(e)]=r,l[s(e)]=t,l}},function(e,t,r){"use strict";var n,i,o=r(0);e.exports=function(e){return n||(n=e.createContext(null),i=e),e!==i&&o(!1,"[createRelayContext]: You passing a different instance of React",e.version),n}},function(e,t,r){"use strict";var n=r(13).createOperationDescriptor,i=r(9).getRequest;e.exports=function(e,t,r,o){var a=i(t);if("query"!==a.params.operationKind)throw new Error("fetchQuery: Expected query operation");var s=n(a,r);return e.execute({operation:s,cacheConfig:o}).map((function(){return e.lookup(s.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=r(10),i=r(12),o=i.getDataIDsFromFragment,a=i.getVariablesFromFragment,s=i.getSelector;e.exports=function(e,t){var r,i=s(e,t),l=null==i?"null":"SingularReaderSelector"===i.kind?i.owner.identifier:"["+i.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",u=a(e,t),c=o(e,t);return l+"/"+e.name+"/"+JSON.stringify(n(u))+"/"+(null!==(r=JSON.stringify(c))&&void 0!==r?r:"missing")}},function(e,t,r){"use strict";var n=r(0),i=r(9).getInlineDataFragment,o=r(1).FRAGMENTS_KEY;e.exports=function(e,t){var r,a=i(e);if(null==t)return t;"object"!=typeof t&&n(!1,"readInlineData(): Expected an object, got `%s`.",typeof t);var s=null===(r=t[o])||void 0===r?void 0:r[a.name];return null==s&&n(!1,"readInlineData(): Expected fragment `%s` to be spread in the parent fragment.",a.name),s}},function(e,t,r){"use strict";var n=r(19),i=r(3),o=r(9).getRequest,a=r(13).createOperationDescriptor;e.exports=function(e,t){var r=o(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var s=t.configs,l=t.onCompleted,u=t.onError,c=t.onNext,d=t.variables,f=t.cacheConfig,p=a(r,d);i(!(t.updater&&s),"requestSubscription: Expected only one of `updater` and `configs` to be provided");var h=(s?n.convert(s,r,null,t.updater):t).updater;return{dispose:e.execute({operation:p,updater:h,cacheConfig:f}).map((function(){return e.lookup(p.fragment).data})).subscribe({next:c,error:u,complete:l}).unsubscribe}}}])}));
4
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("fbjs/lib/invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/ErrorUtils")):"function"==typeof define&&define.amd?define(["fbjs/lib/invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","fbjs/lib/ErrorUtils"],t):"object"==typeof exports?exports.RelayRuntime=t(require("fbjs/lib/invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/ErrorUtils")):e.RelayRuntime=t(e["fbjs/lib/invariant"],e["@babel/runtime/helpers/interopRequireDefault"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["fbjs/lib/ErrorUtils"])}(window,(function(e,t,r,n,i,o,a){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=44)}([function(t,r){t.exports=e},function(e,t,r){"use strict";var n=r(2)(r(14)),i=r(6),o=r(22),a=r(0),s=r(10),l=i.VARIABLE,u=i.LITERAL,c=i.OBJECT_VALUE,d=i.LIST_VALUE;function f(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||a(!1,"getVariableValue(): Undefined variable `%s`.",e),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]=f(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(f(e,t))})),n}}function p(e,t){var r={};return e.forEach((function(e){r[e.name]=f(e,t)})),r}function h(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,o=t[n];if(null!=o)r.push(n+":"+(null!==(i=JSON.stringify(o))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var _={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",formatStorageKey:h,getArgumentValue:f,getArgumentValues:p,getHandleStorageKey:function(e,t){var r=e.dynamicKey,i=e.handle,a=e.key,s=e.name,l=e.args,u=e.filters,c=o(i,a,s),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:h(c,p(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=e.args,n=e.name;return r&&0!==r.length?h(n,p(r,t)):n},getStableStorageKey:function(e,t){return h(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=_},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";var n=0;e.exports={generateClientID:function(e,t,r){var n=e+":"+t;return null!=r&&(n+=":"+r),0!==n.indexOf("client:")&&(n="client:"+n),n},generateUniqueClientID:function(){return"".concat("client:","local:").concat(n++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";e.exports={CONDITION:"Condition",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",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",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,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(15),s=r(16),l=r(0),u=r(3),c=r(5).isClientID,d=r(1),f=d.ID_KEY,p=d.REF_KEY,h=d.REFS_KEY,_=d.TYPENAME_KEY,v=d.INVALIDATED_AT_KEY,g=d.ROOT_ID;function y(e){return e[f]}function m(e){return e[_]}e.exports={clone:function(e){return o({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==f&&r!==_&&(t[r]=e[r])},create:function(e,t){var r={};return r[f]=e,r[_]=t,r},freeze:function(e){s(e)},getDataID:y,getInvalidationEpoch:function(e){if(null==e)return null;var t=e[v];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[p]||l(!1,"RelayModernRecord.getLinkedRecordID(): Expected `%s.%s` to be a linked ID, was `%s`.",e[f],t,JSON.stringify(r)),r[p])},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[h])||l(!1,"RelayModernRecord.getLinkedRecordIDs(): Expected `%s.%s` to contain an array of linked IDs, got `%s`.",e[f],t,JSON.stringify(r)),r[h])},getType:m,getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(p)||r.hasOwnProperty(h))&&l(!1,"RelayModernRecord.getValue(): Expected a scalar (non-link) value for `%s.%s` but found %s.",e[f],t,r.hasOwnProperty(p)?"a linked record":"plural linked records"),r},merge:function(e,t){var r,n,i=y(e),o=y(t);u(i===o,"RelayModernRecord: Invalid record merge, expected both versions of the record to have the same id, got `%s` and `%s`.",i,o);var a=null!==(r=m(e))&&void 0!==r?r:null,s=null!==(n=m(t))&&void 0!==n?n:null;return u(c(o)&&o!==g||a===s,"RelayModernRecord: Invalid record merge, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",i,_,a,s),Object.assign({},e,t)},setValue:function(e,t,r){var n=y(e);if(t===f)u(n===r,"RelayModernRecord: Invalid field update, expected both versions of the record to have the same id, got `%s` and `%s`.",n,r);else if(t===_){var i,o=null!==(i=m(e))&&void 0!==i?i:null,a=null!=r?r:null;u(c(y(e))&&y(e)!==g||o===a,"RelayModernRecord: Invalid field update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",n,_,o,a)}e[t]=r},setLinkedRecordID:function(e,t,r){var n={};n[p]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[h]=r,e[t]=n},update:function(e,t){var r,n,i=y(e),s=y(t);u(i===s,"RelayModernRecord: Invalid record update, expected both versions of the record to have the same id, got `%s` and `%s`.",i,s);var l=null!==(r=m(e))&&void 0!==r?r:null,d=null!==(n=m(t))&&void 0!==n?n:null;u(c(s)&&s!==g||l===d,"RelayModernRecord: Invalid record update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",i,_,l,d);for(var f=null,p=Object.keys(t),h=0;h<p.length;h++){var v=p[h];!f&&a(e[v],t[v])||((f=null!==f?f:o({},e))[v]=t[v])}return null!==f?f:e}}},function(e,t,r){"use strict";e.exports={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!1,ENABLE_RELAY_CONTAINERS_SUSPENSE:!1,ENABLE_PRECISE_TYPE_REFINEMENT:!1}},function(e,t,r){"use strict";var n=r(6),i=r(0),o=r(3);function a(e){var t=e;return"function"==typeof t?(t=t(),o(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.","Fragment"===t.kind?t.name:t.operation.name)):t.default&&(t=t.default),t}function s(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function l(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}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,"GraphQLTag: Expected a fragment, got `%s`.",JSON.stringify(t)),t}e.exports={getFragment:c,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 l(t)||i(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getInlineDataFragment:function(e){var t=a(e);return u(t)||i(!1,"GraphQLTag: Expected an inline data fragment, got `%s`.",JSON.stringify(t)),t},graphql:function(e){i(!1,"graphql: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `graphql`.")},isFragment:s,isRequest:l,isInlineDataFragment:u}},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,r){"use strict";var n=r(31),i=function(e,t){},o=function(){function e(e){if(!e||"function"!=typeof e)throw new Error("Source must be a Function: "+String(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)?a(e):n(e)?s(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){if(!e||"object"!=typeof e)throw new Error("Observer must be an Object with callbacks: "+String(e));return function(e,t){var r,n=!1,o=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function a(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var s=o({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(s)}catch(e){i(e,!0)}finally{a()}}}});try{t.start&&t.start(s)}catch(e){i(e,!0)}if(n)return s;var l=o({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),a();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{a()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{a()}}}});try{r=e(l)}catch(e){l.error(e,!0)}if(void 0!==r&&"function"!=typeof r&&(!r||"function"!=typeof r.unsubscribe))throw new Error("Returned cleanup function which cannot be called: "+String(r));n&&a();return s}(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 o(e){this._sub=e,i.push(e)}function a(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:o,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:o,next:n.next,error:n.error,complete:a})}catch(e){n.error(e,!0)}},error:n.error,complete:a}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;if("number"!=typeof t||t<=0)throw new Error("RelayObservable: Expected pollInterval to be positive, got: "+t);return e.create((function(e){var n,i;return function o(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(o,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 a(e){return e instanceof o?e:o.create((function(t){return e.subscribe(t)}))}function s(e){return o.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function l(e){return o.create((function(t){t.next(e),t.complete()}))}o.onUnhandledError((function(e,t){"function"==typeof fail?fail(String(e)):t?setTimeout((function(){throw e})):"undefined"!=typeof console&&console.error("RelayObservable: Unhandled Error",e)})),e.exports=o},function(e,t,r){"use strict";var n=r(15),i=r(0),o=r(3),a=r(23).getFragmentVariables,s=r(1),l=s.FRAGMENT_OWNER_KEY,u=s.FRAGMENTS_KEY,c=s.ID_KEY,d=s.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT;function f(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[c],n=t[u],s=t[l],f=!0===t[d];if("string"==typeof r&&"object"==typeof n&&null!==n&&"object"==typeof n[e.name]&&null!==n[e.name]&&"object"==typeof s&&null!==s){var p=s,h=n[e.name];return b(e,r,a(e,p.variables,h),p,f)}var _=JSON.stringify(t);return _.length>499&&(_=_.substr(0,498)+"…"),o(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`.",e.name,_,e.name),null}function p(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?f(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function h(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),p(e,t)):(Array.isArray(t)&&i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),f(e,t))}function _(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),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)&&i(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),v(e,t))}function v(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[c];return"string"==typeof r?r:(o(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`, or `null` is passed as the fragment reference for `%s` if it's conditonally included and the condition isn't met.",e.name,JSON.stringify(t),e.name,e.name),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)||i(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),m(e,t)):(Array.isArray(t)&&i(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),y(e,t)||{})}function y(e,t){var r=f(e,t);return r?r.variables:null}function m(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=y(e,t);null!=i&&Object.assign(r,i)}})),r}function b(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:i,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&&n(e.variables,t.variables)},createReaderSelector:b,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:_,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=t[n];r[n]=_(i,o)}return r},getSingularSelector:f,getPluralSelector:p,getSelector:h,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=t[n];r[n]=h(i,o)}return r},getVariablesFromSingularFragment:y,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";var n=r(16),i=r(38),o=r(23).getOperationVariables,a=r(12),s=a.createNormalizationSelector,l=a.createReaderSelector,u=r(1).ROOT_ID;function c(e,t){var r={identifier:i(e.params,t),node:e,variables:t};return n(t),Object.freeze(e),Object.freeze(r),r}e.exports={createOperationDescriptor:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,n=e.operation,i=o(n,t),a=c(e,i),d={fragment:l(e.fragment,r,i,a),request:a,root:s(n,r,i)};return Object.freeze(d.fragment),Object.freeze(d.root),Object.freeze(d),d},createRequestDescriptor:c}},function(e,t){e.exports=i},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(49),i=function(){function e(t){return e.create(t)}return e.create=function(e){return new n(e)},e}();e.exports=i},function(e,t,r){"use strict";var n=r(26),i=r(22),o=r(0),a=r(3),s=r(5).generateClientID,l="__connection_next_edge_index";function u(e,t,r){if(null==r)return r;var i=n.get().EDGES,a=t.getValue(l);"number"!=typeof a&&o(!1,"ConnectionHandler: Expected %s to be a number, got `%s`.",l,a);var u=s(t.getDataID(),i,a),c=e.create(u,r.getType());return c.copyFieldsFrom(r),t.setValue(a+1,l),c}function c(e,t,r){for(var i=n.get().NODE,o=0;o<e.length;o++){var a=e[o];if(a){var s=a.getLinkedRecord(i),l=s&&s.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(a)}}}e.exports={buildConnectionEdge:u,createEdge:function(e,t,r,i){var o=n.get().NODE,a=s(t.getDataID(),r.getDataID()),l=e.get(a);return l||(l=e.create(a,i)),l.setLinkedRecord(r,o),l},deleteNode:function(e,t){var r=n.get(),i=r.EDGES,o=r.NODE,a=e.getLinkedRecords(i);if(a){for(var s,l=0;l<a.length;l++){var u=a[l],c=u&&u.getLinkedRecord(o);null!=c&&c.getDataID()===t?void 0===s&&(s=a.slice(0,l)):void 0!==s&&s.push(u)}void 0!==s&&e.setLinkedRecords(s,i)}},getConnection:function(e,t,r){var n=i("connection",t,null);return e.getLinkedRecord(n,r)},insertEdgeAfter:function(e,t,r){var i=n.get(),o=i.CURSOR,a=i.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=s.concat(t);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];if(l.push(d),null!=d)r===d.getValue(o)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var i=n.get(),o=i.CURSOR,a=i.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=[t].concat(s);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];if(null!=d)r===d.getValue(o)&&(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=n.get(),o=i.EDGES,d=i.END_CURSOR,f=i.HAS_NEXT_PAGE,p=i.HAS_PREV_PAGE,h=i.PAGE_INFO,_=i.PAGE_INFO_TYPE,v=i.START_CURSOR,g=r.getLinkedRecord(t.fieldKey),y=g&&g.getLinkedRecord(h);if(g){var m=s(r.getDataID(),t.handleKey),b=r.getLinkedRecord(t.handleKey),E=null!=b?b:e.get(m),R=E&&E.getLinkedRecord(h);if(E){null==b&&r.setLinkedRecord(E,t.handleKey);var D=E,S=g.getLinkedRecords(o);S&&(S=S.map((function(t){return u(e,D,t)})));var O=D.getLinkedRecords(o),I=D.getLinkedRecord(h);D.copyFieldsFrom(g),O&&D.setLinkedRecords(O,o),I&&D.setLinkedRecord(I,h);var k=[],P=t.args;if(O&&S)if(null!=P.after){if(!R||P.after!==R.getValue(d))return void a(!1,"Relay: Unexpected after cursor `%s`, edges must be fetched from the end of the list (`%s`).",P.after,R&&R.getValue(d));var T=new Set;c(O,k,T),c(S,k,T)}else if(null!=P.before){if(!R||P.before!==R.getValue(v))return void a(!1,"Relay: Unexpected before cursor `%s`, edges must be fetched from the beginning of the list (`%s`).",P.before,R&&R.getValue(v));var w=new Set;c(S,k,w),c(O,k,w)}else k=S;else k=S||O;if(null!=k&&k!==O&&D.setLinkedRecords(k,o),R&&y)if(null==P.after&&null==P.before)R.copyFieldsFrom(y);else if(null!=P.before||null==P.after&&P.last){R.setValue(!!y.getValue(p),p);var x=y.getValue(v);"string"==typeof x&&R.setValue(x,v)}else if(null!=P.after||null==P.before&&P.first){R.setValue(!!y.getValue(f),f);var A=y.getValue(d);"string"==typeof A&&R.setValue(A,d)}}else{var N=e.create(m,g.getType());N.setValue(0,l),N.copyFieldsFrom(g);var M=g.getLinkedRecords(o);M&&(M=M.map((function(t){return u(e,N,t)})),N.setLinkedRecords(M,o)),r.setLinkedRecord(N,t.handleKey),(R=e.create(s(N.getDataID(),h),_)).setValue(!1,f),R.setValue(!1,p),R.setValue(null,d),R.setValue(null,v),y&&R.copyFieldsFrom(y),N.setLinkedRecord(R,h)}}else r.setValue(null,t.handleKey)}}}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(18),a=r(3),s=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"}),l=Object.freeze({APPEND:"append",PREPEND:"prepend"});function u(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:s,RangeOperations:l,convert:function(e,t,r,i){var s=r?[r]:[],l=i?[i]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=u(t);if(!n)return null;return function(e,t){var i=e.getRootField(n);if(i){var o=i.getValue(r);(Array.isArray(o)?o:[o]).forEach((function(t){t&&"string"==typeof t&&e.delete(t)}))}}}(e,t);r&&(s.push(r),l.push(r));break;case"RANGE_ADD":var i=function(e,t){var r=e.parentID,i=e.connectionInfo,s=e.edgeName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_ADD to work you must include a parentID"),null;var l=u(t);if(!i||!l)return null;return function(e,t){var u=e.get(r);if(u){var c=e.getRootField(l);if(c){var d,f=c.getLinkedRecord(s),p=n(i);try{for(p.s();!(d=p.n()).done;){var h=d.value;if(f){var _=o.getConnection(u,h.key,h.filters);if(_){var v=o.buildConnectionEdge(e,_,f);if(v)switch(h.rangeBehavior){case"append":o.insertEdgeAfter(_,v);break;case"prepend":o.insertEdgeBefore(_,v);break;default:a(!1,"RelayDeclarativeMutationConfig: RANGE_ADD range behavior `%s` will not work as expected in RelayModern, supported range behaviors are 'append', 'prepend'.",h.rangeBehavior)}}}}}catch(e){p.e(e)}finally{p.f()}}}}}(e,t);i&&(s.push(i),l.push(i));break;case"RANGE_DELETE":var c=function(e,t){var r=e.parentID,i=e.connectionKeys,s=e.pathToConnection,l=e.deletedIDFieldName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_DELETE to work you must include a parentID"),null;var c=u(t);if(!c)return null;return function(e,t){if(t){var u=[],d=t[c];if(d&&Array.isArray(l)){var f,p=n(l);try{for(p.s();!(f=p.n()).done;){var h=f.value;d&&"object"==typeof d&&(d=d[h])}}catch(e){p.e(e)}finally{p.f()}Array.isArray(d)?d.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&u.push(e.id)})):d&&d.id&&"string"==typeof d.id&&u.push(d.id)}else d&&"string"==typeof l&&"object"==typeof d&&("string"==typeof(d=d[l])?u.push(d):Array.isArray(d)&&d.forEach((function(e){"string"==typeof e&&u.push(e)})));!function(e,t,r,i,s){a(null!=t,"RelayDeclarativeMutationConfig: RANGE_DELETE must provide a connectionKeys");var l=i.get(e);if(!l)return;if(r.length<2)return void a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection must include at least parent and connection");for(var u=l,c=1;c<r.length-1;c++)u&&(u=u.getLinkedRecord(r[c]));if(!t||!u)return void a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection is incorrect. Unable to find connection with parentID: %s and path: %s",e,r.toString());var d,f=n(t);try{var p=function(){var e=d.value,t=o.getConnection(u,e.key,e.filters);t&&s.forEach((function(e){o.deleteNode(t,e)}))};for(f.s();!(d=f.n()).done;)p()}catch(e){f.e(e)}finally{f.f()}}(r,i,s,e,u)}}}(e,t);c&&(s.push(c),l.push(c))}})),{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";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(0),i=r(27).DEFAULT_HANDLE_KEY;e.exports=function(e,t,r){return t&&t!==i?"__".concat(t,"_").concat(e):(null==r&&n(!1,"getRelayHandleKey: Expected either `fieldName` or `key` in `handle` to be provided"),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(0);e.exports={getFragmentVariables:function(e,t,r){var a;return e.argumentDefinitions.forEach((function(s){if(!r.hasOwnProperty(s.name))switch(a=a||function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r),s.kind){case"LocalArgument":a[s.name]=s.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(s.name)){a[s.name]=void 0;break}a[s.name]=t[s.name];break;default:o(!1,"RelayConcreteVariables: Unexpected node kind `%s` in fragment `%s`.",s.kind,e.name)}})),a||r},getOperationVariables:function(e,t){var r={};return e.argumentDefinitions.forEach((function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n})),r}}},function(e,t,r){"use strict";function n(){}var i={"*":[]},o={"*":[]},a={},s={stop:n},l={instrumentMethods:function(e,t){for(var r in t)t.hasOwnProperty(r)&&"function"==typeof e[r]&&(e[r]=l.instrument(t[r],e[r]))},instrument:function(e,t){i.hasOwnProperty(e)||(i[e]=[]);var r=i["*"],n=i[e],o=[],s=[],l=function i(){var a=s[s.length-1];a[0]?(a[0]--,r[a[0]](e,i)):a[1]?(a[1]--,n[a[1]](e,i)):a[2]?(a[2]--,o[a[2]](e,i)):a[5]=t.apply(a[3],a[4])},c=function(){var e;if(0===n.length&&0===o.length&&0===r.length)e=t.apply(this,arguments);else{s.push([r.length,n.length,o.length,this,arguments,a]),l();var i=s.pop();if((e=i[5])===a)throw new Error("RelayProfiler: Handler did not invoke original function.")}return e};return c.attachHandler=function(e){o.push(e)},c.detachHandler=function(e){u(o,e)},c.displayName="(instrumented "+e+")",c},attachAggregateHandler:function(e,t){i.hasOwnProperty(e)||(i[e]=[]),i[e].push(t)},detachAggregateHandler:function(e,t){i.hasOwnProperty(e)&&u(i[e],t)},profile:function(e,t){var r=o["*"].length>0,n=o.hasOwnProperty(e);if(n||r){for(var i,a=n&&r?o[e].concat(o["*"]):n?o[e]:o["*"],l=a.length-1;l>=0;l--){var u=(0,a[l])(e,t);(i=i||[]).unshift(u)}return{stop:function(e){i&&i.forEach((function(t){return t(e)}))}}}return s},attachProfileHandler:function(e,t){o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t)},detachProfileHandler:function(e,t){o.hasOwnProperty(e)&&u(o[e],t)}};function u(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}e.exports=l},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},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"},o={inject:function(e){i=e},get:function(){return i},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}};e.exports=o},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(18),a=r(0),s=r(3),l={update:c(o.insertEdgeAfter)},u={update:c(o.insertEdgeBefore)};function c(e){return function(t,r){var i=t.get(r.dataID);if(null!=i){var l=r.handleArgs.connections;null==l&&a(!1,"MutationHandlers: Expected connection IDs to be specified.");var u,c=i.getLinkedRecord(r.fieldKey,r.args),d=n(l);try{for(d.s();!(u=d.n()).done;){var f=u.value,p=t.get(f);if(null!=p){var h=o.buildConnectionEdge(t,p,c);null==h&&a(!1,"MutationHandlers: Failed to build the edge."),e(p,h)}else s(!1,"[Relay][Mutation] The connection with id '".concat(f,"' doesn't exist."))}}catch(e){d.e(e)}finally{d.f()}}}}e.exports={AppendEdgeHandler:l,DeleteRecordHandler:{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)}}},PrependEdgeHandler:u}},function(e,t,r){"use strict";var n=r(18),i=r(28),o=r(0);e.exports=function(e){switch(e){case"connection":return n;case"deleteRecord":return i.DeleteRecordHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler}o(!1,"RelayDefaultHandlerProvider: No handler provided for `%s`.",e)}},function(e,t,r){"use strict";function n(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),o=3;o<n;o++)i[o-3]=arguments[o];var a=0,s=r.replace(/%s/g,(function(){return String(i[a++])})),l=new Error(s),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),o=2;o<r;o++)i[o-2]=arguments[o];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),o=2;o<r;o++)i[o-2]=arguments[o];return n.apply(void 0,["warn",e,t].concat(i))}}},function(e,t,r){"use strict";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(0),a=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=new Set,o=n(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=this._ownersToPendingOperations.get(a);null!=s?s.has(e)||(s.add(e),i.add(a)):(this._ownersToPendingOperations.set(a,new Set([e])),i.add(a))}}catch(e){o.e(e)}finally{o.f()}if(0!==i.size){var l,u=this._pendingOperationsToOwners.get(e)||new Set,c=n(i);try{for(c.s();!(l=c.n()).done;){var d=l.value;this._resolveOwnerResolvers(d),u.add(d)}}catch(e){c.e(e)}finally{c.f()}this._pendingOperationsToOwners.set(e,u)}}},t.complete=function(e){var t=this._pendingOperationsToOwners.get(e);if(null!=t){var r,i=new Set,o=new Set,a=n(t);try{for(a.s();!(r=a.n()).done;){var s=r.value,l=this._ownersToPendingOperations.get(s);l&&(l.delete(e),l.size>0?o.add(s):i.add(s))}}catch(e){a.e(e)}finally{a.f()}var u,c=n(i);try{for(c.s();!(u=c.n()).done;){var d=u.value;this._resolveOwnerResolvers(d),this._ownersToPendingOperations.delete(d)}}catch(e){c.e(e)}finally{c.f()}var f,p=n(o);try{for(p.s();!(f=p.n()).done;){var h=f.value;this._resolveOwnerResolvers(h)}}catch(e){p.e(e)}finally{p.f()}this._pendingOperationsToOwners.delete(e)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPromise.get(e);null!=t&&t.resolve(),this._ownersToPromise.delete(e)},t.getPromiseForPendingOperationsAffectingOwner=function(e){if(!this._ownersToPendingOperations.has(e))return null;var t,r=this._ownersToPromise.get(e);if(null!=r)return r.promise;var n=new Promise((function(e){t=e}));return null==t&&o(!1,"RelayOperationTracker: Expected resolver to be defined. If youare seeing this, it is likely a bug in Relay."),this._ownersToPromise.set(e,{promise:n,resolve:t}),n},e}();e.exports=a},function(e,t,r){"use strict";var n=r(8),i=r(7),o=r(0),a=r(6),s=a.CLIENT_EXTENSION,l=a.CONDITION,u=a.DEFER,c=a.FRAGMENT_SPREAD,d=a.INLINE_DATA_FRAGMENT_SPREAD,f=a.INLINE_FRAGMENT,p=a.LINKED_FIELD,h=a.MODULE_IMPORT,_=a.SCALAR_FIELD,v=a.STREAM,g=r(1),y=g.FRAGMENTS_KEY,m=g.FRAGMENT_OWNER_KEY,b=g.FRAGMENT_PROP_NAME_KEY,E=g.ID_KEY,R=g.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,D=g.MODULE_COMPONENT_KEY,S=g.ROOT_ID,O=g.getArgumentValues,I=g.getStorageKey,k=g.getModuleComponentKey,P=r(21).generateTypeID;var T=function(){function e(e,t){this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._owner=t.owner,this._recordSource=e,this._seenRecords={},this._selector=t,this._variables=t.variables}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,o=e.isWithinUnmatchedTypeRefinement,a=t.abstractKey,s=this._recordSource.get(r),l=!o;l&&null==a&&null!=s&&(i.getType(s)!==t.type&&r!==S&&(l=!1));if(l&&null!=a&&null!=s&&n.ENABLE_PRECISE_TYPE_REFINEMENT){var u=i.getType(s),c=P(u),d=this._recordSource.get(c),f=null!=d?i.getValue(d,a):null;!1===f?l=!1:null==f&&(this._isMissingData=!0)}return this._isWithinUnmatchedTypeRefinement=!l,{data:this._traverse(t,r,null),isMissingData:this._isMissingData&&l,seenRecords:this._seenRecords,selector:this._selector}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords[t]=n,null==n)return void 0===n&&(this._isMissingData=!0),n;var i=r||{};return this._traverseSelections(e.selections,n,i),i},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||o(!1,"RelayReader(): Undefined variable `%s`.",e),this._variables[e]},t._traverseSelections=function(e,t,r){for(var a=0;a<e.length;a++){var g=e[a];switch(g.kind){case _:this._readScalar(g,t,r);break;case p:g.plural?this._readPluralLink(g,t,r):this._readLink(g,t,r);break;case l:this._getVariableValue(g.condition)===g.passingValue&&this._traverseSelections(g.selections,t,r);break;case f:var y=g.abstractKey;if(null==y){var m=i.getType(t);null!=m&&m===g.type&&this._traverseSelections(g.selections,t,r)}else if(n.ENABLE_PRECISE_TYPE_REFINEMENT){var b=this._isMissingData,E=this._isWithinUnmatchedTypeRefinement,R=i.getType(t),D=P(R),S=this._recordSource.get(D),O=null!=S?i.getValue(S,y):null;this._isWithinUnmatchedTypeRefinement=E||!1===O,this._traverseSelections(g.selections,t,r),this._isWithinUnmatchedTypeRefinement=E,!1===O?this._isMissingData=b:null==O&&(this._isMissingData=!0)}else this._traverseSelections(g.selections,t,r);break;case c:this._createFragmentPointer(g,t,r);break;case h:this._readModuleImport(g,t,r);break;case d:this._createInlineDataFragmentPointer(g,t,r);break;case u:case s:var I=this._isMissingData;this._traverseSelections(g.selections,t,r),this._isMissingData=I;break;case v:this._traverseSelections(g.selections,t,r);break;default:o(!1,"RelayReader(): Unexpected ast kind `%s`.",g.kind)}}},t._readScalar=function(e,t,r){var n,o=null!==(n=e.alias)&&void 0!==n?n:e.name,a=I(e,this._variables),s=i.getValue(t,a);void 0===s&&(this._isMissingData=!0),r[o]=s},t._readLink=function(e,t,r){var n,a=null!==(n=e.alias)&&void 0!==n?n:e.name,s=I(e,this._variables),l=i.getLinkedRecordID(t,s);if(null==l)return r[a]=l,void(void 0===l&&(this._isMissingData=!0));var u=r[a];null!=u&&"object"!=typeof u&&o(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",a,i.getDataID(t),u),r[a]=this._traverse(e,l,u)},t._readPluralLink=function(e,t,r){var n,a=this,s=null!==(n=e.alias)&&void 0!==n?n:e.name,l=I(e,this._variables),u=i.getLinkedRecordIDs(t,l);if(null==u)return r[s]=u,void(void 0===u&&(this._isMissingData=!0));var c=r[s];null==c||Array.isArray(c)||o(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an array, got `%s`.",s,i.getDataID(t),c);var d=c||[];u.forEach((function(r,n){if(null==r)return void 0===r&&(a._isMissingData=!0),void(d[n]=r);var l=d[n];null!=l&&"object"!=typeof l&&o(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",s,i.getDataID(t),l),d[n]=a._traverse(e,r,l)})),r[s]=d},t._readModuleImport=function(e,t,r){var n=k(e.documentName),o=i.getValue(t,n);null!=o?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:null},t,r),r[b]=e.fragmentPropName,r[D]=o):void 0===o&&(this._isMissingData=!0)},t._createFragmentPointer=function(e,t,r){var a=r[y];null==a&&(a=r[y]={}),("object"!=typeof a||null==a)&&o(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a),null==r[E]&&(r[E]=i.getDataID(t)),a[e.name]=e.args?O(e.args,this._variables):{},r[m]=this._owner,n.ENABLE_PRECISE_TYPE_REFINEMENT&&(r[R]=this._isWithinUnmatchedTypeRefinement)},t._createInlineDataFragmentPointer=function(e,t,r){var n=r[y];null==n&&(n=r[y]={}),("object"!=typeof n||null==n)&&o(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",n),null==r[E]&&(r[E]=i.getDataID(t));var a={};this._traverseSelections(e.selections,t,a),n[e.name]=a},e}();e.exports={read:function(e,t){return new T(e,t).read()}}},function(e,t,r){"use strict";var n=r(7),i=r(0),o=r(20).EXISTENT,a=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);if(void 0===r){if(null==t)return t;var i=n.clone(t);return n.freeze(i),i}if(null===r)return null;if(null!=t){var o=n.update(t,r);return o!==t&&n.freeze(o),o}var a=n.clone(r);return n.freeze(a),a},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||i(!1,"RelayRecordSourceMutator: Cannot modify non-existent record `%s`.",e),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),o=this._base.get(e);r||o||i(!1,"RelayRecordSourceMutator#copyFields(): Cannot copy fields from non-existent record `%s`.",e);var a=this._getSinkRecord(t);o&&n.copyFields(o,a),r&&n.copyFields(r,a)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===o||this._sink.getStatus(e)===o)&&i(!1,"RelayRecordSourceMutator#create(): Cannot create a record with id `%s`, this record already exists.",e);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 o=n.getValue(i,t);if(void 0!==o)return o}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 o=n.getLinkedRecordID(i,t);if(void 0!==o)return o}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 o=n.getLinkedRecordIDs(i,t);if(void 0!==o)return o}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=a},function(e,t,r){"use strict";var n=r(7),i=r(53),o=r(0),a=r(20),s=a.EXISTENT,l=a.NONEXISTENT,u=r(1),c=u.ROOT_ID,d=u.ROOT_TYPE,f=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===s){var o=e.get(t);o&&(r.__mutator.getStatus(t)!==s&&r.create(t,n.getType(o)),r.__mutator.copyFieldsFromRecord(o,t))}else i===l&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||o(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),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||o(!1,"RelayRecordSourceProxy#create(): Expected the created record to exist."),r},t.delete=function(e){e===c&&o(!1,"RelayRecordSourceProxy#delete(): Cannot delete the root record."),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===s?new i(this,this.__mutator,e):t===l?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(c);return e||(e=this.create(c,d)),e&&e.getType()===d||o(!1,"RelayRecordSourceProxy#getRoot(): Expected the source to contain a root record, %s.",null==e?"no root record found":"found a root record of type `".concat(e.getType(),"`")),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},e}();e.exports=f},function(e,t,r){"use strict";var n=r(37),i=n.VIEWER_ID,o=n.VIEWER_TYPE;e.exports=function(e,t){return t===o&&null==e.id?i:e.id}},function(e,t,r){"use strict";var n=(0,r(5).generateClientID)(r(1).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";var n=r(0),i=r(10);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&n(!1,"getRequestIdentifier: Expected request `%s` to have either a valid `id` or `cacheID` property",e.name),r+JSON.stringify(i(t))}},function(e,t,r){"use strict";var n=r(15),i=r(0),o=r(6).LINKED_FIELD,a=r(1).getHandleStorageKey;e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===o&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));s&&s.kind===o||i(!1,"cloneRelayHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=a(e,r);return{kind:"LinkedField",alias:s.alias,name:l,storageKey:l,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r||"object"!=typeof t||!t||"object"!=typeof r||!r)return r;var n=!1,i=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(i&&o)n=o.reduce((function(t,r,n){var a=e(i[n],r);return a!==o[n]&&(Object.isFrozen(o)||(o[n]=a)),t&&a===i[n]}),!0)&&i.length===o.length;else if(!i&&!o){var a=t,s=r,l=Object.keys(a),u=Object.keys(s);n=u.reduce((function(t,r){var n=e(a[r],s[r]);return n!==s[r]&&(Object.isFrozen(s)||(s[r]=n)),t&&n===a[r]}),!0)&&l.length===u.length}return n?t:r}},function(e,t,r){"use strict";var n=r(2)(r(4)),i=r(11),o=r(0),a=function(){function e(){var e=this;(0,n.default)(this,"_complete",!1),(0,n.default)(this,"_events",[]),(0,n.default)(this,"_sinks",new Set),(0,n.default)(this,"_subscription",null),this._observable=i.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,"RelayReplaySubject: Unknown event kind `%s`.",i.kind)}}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){return this._subscription=this._observable.subscribe(e),this._subscription},t.unsubscribe=function(){this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=a},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=r(11),i=r(41),o=r(0),a="function"==typeof WeakMap?new WeakMap:new Map;function s(e,t,r){return n.create((function(a){var s=u(e),l=s.get(t);return l||r().finally((function(){return s.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e},s.set(t,l)},next:function(e){var r=c(s,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=c(s,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=c(s,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=c(s,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&o(!1,"[fetchQueryInternal] fetchQueryDeduped: Expected `start` to be called synchronously"),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))}}}))}(s,l).subscribe(a)}))}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=a.get(e);if(null!=t)return t;var r=new Map;return a.set(e,r),r}function c(e,t){var r=e.get(t);return null==r&&o(!1,"[fetchQueryInternal] getCachedRequest: Expected request to be cached"),r}e.exports={fetchQuery:function(e,t,r){return s(e,t.request.identifier,(function(){return e.execute({operation:t,cacheConfig:null==r?void 0:r.networkCacheConfig})}))},fetchQueryDeduped:s,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(18),i=r(26),o=r(9),a=r(28),s=r(45),l=r(6),u=r(23),c=r(19),d=r(27),f=r(29),p=r(30),h=r(8),_=r(46),v=r(13),g=r(7),y=r(12),m=r(57),b=r(64),E=r(11),R=r(32),D=r(24),S=r(66),O=r(17),I=r(41),k=r(1),P=r(37),T=r(67),w=r(68),x=r(69),A=r(71),N=r(73),M=r(74),F=r(16),j=r(75),L=r(43),C=r(76),U=r(22),V=r(38),K=r(31),q=r(25),z=r(42),Y=r(77),G=r(40),Q=r(78),H=r(10),B=r(5),W=B.generateClientID,J=B.generateUniqueClientID,X=B.isClientID,$="function"!=typeof Map?"Map":null,Z="function"!=typeof Set?"Set":null,ee="function"!=typeof Promise?"Promise":null,te="function"!=typeof Object.assign?"Object.assign":null;if($||Z||ee||te)throw new Error("relay-runtime requires ".concat([$,Z,ee,te].filter(Boolean).join(", and ")," to exist. ")+"Use a polyfill to provide these for older browsers.");e.exports={Environment:_,Network:b,Observable:E,QueryResponseCache:S,RecordSource:O,Record:g,ReplaySubject:I,Store:m,areEqualSelectors:y.areEqualSelectors,createFragmentSpecResolver:A,createNormalizationSelector:y.createNormalizationSelector,createOperationDescriptor:v.createOperationDescriptor,createReaderSelector:y.createReaderSelector,createRequestDescriptor:v.createRequestDescriptor,getDataIDsFromFragment:y.getDataIDsFromFragment,getDataIDsFromObject:y.getDataIDsFromObject,getFragment:o.getFragment,getInlineDataFragment:o.getInlineDataFragment,getModuleComponentKey:k.getModuleComponentKey,getModuleOperationKey:k.getModuleOperationKey,getPaginationFragment:o.getPaginationFragment,getPluralSelector:y.getPluralSelector,getRefetchableFragment:o.getRefetchableFragment,getRequest:o.getRequest,getRequestIdentifier:V,getSelector:y.getSelector,getSelectorsFromObject:y.getSelectorsFromObject,getSingularSelector:y.getSingularSelector,getStorageKey:k.getStorageKey,getVariablesFromFragment:y.getVariablesFromFragment,getVariablesFromObject:y.getVariablesFromObject,getVariablesFromPluralFragment:y.getVariablesFromPluralFragment,getVariablesFromSingularFragment:y.getVariablesFromSingularFragment,graphql:o.graphql,readInlineData:Y,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:f,ConnectionHandler:n,MutationHandlers:a,VIEWER_ID:P.VIEWER_ID,VIEWER_TYPE:P.VIEWER_TYPE,applyOptimisticMutation:T,commitLocalUpdate:w,commitMutation:x,fetchQuery:j,isRelayModernEnvironment:q,requestSubscription:Q,ConnectionInterface:i,PreloadableQueryRegistry:s,RelayProfiler:D,createPayloadFor3DField:N,RelayConcreteNode:l,RelayError:p,RelayFeatureFlags:h,DEFAULT_HANDLE_KEY:d.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:k.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:k.FRAGMENT_OWNER_KEY,ID_KEY:k.ID_KEY,REF_KEY:k.REF_KEY,REFS_KEY:k.REFS_KEY,ROOT_ID:k.ROOT_ID,ROOT_TYPE:k.ROOT_TYPE,TYPENAME_KEY:k.TYPENAME_KEY,deepFreeze:F,generateClientID:W,generateUniqueClientID:J,getRelayHandleKey:U,isClientID:X,isPromise:K,isScalarAndEqual:z,recycleNodesInto:G,stableCopy:H,getFragmentIdentifier:C,__internal:{OperationTracker:R,createRelayContext:M,getOperationVariables:u.getOperationVariables,fetchQuery:L.fetchQuery,fetchQueryDeduped:L.fetchQueryDeduped,getPromiseForActiveRequest:L.getPromiseForActiveRequest,getObservableForActiveRequest:L.getObservableForActiveRequest}}},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";(function(t){var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(29),a=r(8),s=r(48),l=r(11),u=r(32),c=r(51),d=r(17),f=r(36),p=r(55),h=r(0),_=function(){function e(e){var n,i,s,l,d,p,_=this;this.configName=e.configName;var g=e.handlerProvider?e.handlerProvider:o;this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var y=e.operationLoader;null!=y&&("object"!=typeof y||"function"!=typeof y.get||"function"!=typeof y.load)&&h(!1,"RelayModernEnvironment: Expected `operationLoader` to be an object with get() and load() functions, got `%s`.",y),this.__log=null!==(n=e.log)&&void 0!==n?n:v,this._defaultRenderPolicy=(null!==(i=e.UNSTABLE_defaultRenderPolicy)&&void 0!==i?i:!0===a.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=y,this._operationExecutions=new Map,this._network=e.network,this._getDataID=null!==(s=e.UNSTABLE_DO_NOT_USE_getDataID)&&void 0!==s?s:f,this._publishQueue=new c(e.store,g,this._getDataID),this._scheduler=null!==(l=e.scheduler)&&void 0!==l?l:null,this._store=e.store,this.options=e.options,this._isServer=null!==(d=e.isServer)&&void 0!==d&&d,this.__setNet=function(e){return _._network=e};var m=r(56).inspect;this.DEBUG_inspect=function(e){return m(_,e)};var b=void 0!==t?t:"undefined"!=typeof window?window:void 0,E=b&&b.__RELAY_DEVTOOLS_HOOK__;E&&E.registerEnvironment(this),this._missingFieldHandlers=e.missingFieldHandlers,this._operationTracker=null!==(p=e.operationTracker)&&void 0!==p?p:new u}var _=e.prototype;return _.getStore=function(){return this._store},_.getNetwork=function(){return this._network},_.getOperationTracker=function(){return this._operationTracker},_.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},_.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},_.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()}))}}},_.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},_.replaceUpdate=function(e,t){var r=this;this._scheduleUpdates((function(){r._publishQueue.revertUpdate(e),r._publishQueue.applyUpdate(t),r._publishQueue.run()}))},_.applyMutation=function(e){var t=this,r=l.create((function(r){var n=l.create((function(e){})),i=s.execute({operation:e.operation,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:e,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:r,source:n,store:t._store,updater:null,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return i.cancel()}})).subscribe({});return{dispose:function(){return r.unsubscribe()}}},_.check=function(e){return null==this._missingFieldHandlers||0===this._missingFieldHandlers.length?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},_.commitPayload=function(e,t){var r=this;l.create((function(n){var i=s.execute({operation:e,operationExecutions:r._operationExecutions,operationLoader:r._operationLoader,optimisticConfig:null,publishQueue:r._publishQueue,scheduler:r._scheduler,sink:n,source:l.from({data:t}),store:r._store,updater:null,operationTracker:r._operationTracker,getDataID:r._getDataID,isClientPayload:!0,treatMissingFieldsAsNull:r._treatMissingFieldsAsNull});return function(){return i.cancel()}})).subscribe({})},_.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},_.lookup=function(e){return this._store.lookup(e)},_.subscribe=function(e,t){return this._store.subscribe(e,t)},_.retain=function(e){return this._store.retain(e)},_.isServer=function(){return this._isServer},_._checkSelectorAndHandleMissingFields=function(e,t){var r=this,n=d.create(),i=this._store.check(e,{target:n,handlers:t});return n.size()>0&&this._scheduleUpdates((function(){r._publishQueue.commitSource(n),r._publishQueue.run()})),i},_._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},_.execute=function(e){var t=this,r=e.operation,n=e.cacheConfig,i=e.updater,o=this.__createLogObserver(r.request.node.params,r.request.variables),a=o[0],u=o[1];return l.create((function(e){var o=t._network.execute(r.request.node.params,r.request.variables,n||{},null,u).do(a),l=s.execute({operation:r,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:null,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:o,store:t._store,updater:i,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return l.cancel()}}))},_.executeMutation=function(e){var t=this,r=e.cacheConfig,o=e.operation,a=e.optimisticResponse,u=e.optimisticUpdater,c=e.updater,d=e.uploadables,f=this.__createLogObserver(o.request.node.params,o.request.variables),p=f[0],h=f[1];return l.create((function(e){var l;(a||u)&&(l={operation:o,response:a,updater:u});var f=t._network.execute(o.request.node.params,o.request.variables,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{force:!0}),d,h).do(p),_=s.execute({operation:o,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:l,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:f,store:t._store,updater:c,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return _.cancel()}}))},_.executeWithSource=function(e){var t=this,r=e.operation,n=e.source;return l.create((function(e){var i=s.execute({operation:r,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:null,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:n,store:t._store,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return i.cancel()}}))},_.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},_.__createLogObserver=function(e,t){var r=p(),n=this.__log;return[{start:function(i){n({name:"execute.start",transactionID:r,params:e,variables:t})},next:function(e){n({name:"execute.next",transactionID:r,response:e})},error:function(e){n({name:"execute.error",transactionID:r,error:e})},complete:function(){n({name:"execute.complete",transactionID:r})},unsubscribe:function(){n({name:"execute.unsubscribe",transactionID:r})}},function(e){n({name:"execute.info",transactionID:r,info:e})}]},e}();function v(){}_.prototype["@@RelayModernEnvironment"]=!0,e.exports=_}).call(this,r(47))},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(2),i=n(r(4)),o=n(r(14));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var u=r(30),c=r(7),d=r(11),f=r(17),p=r(50),h=r(0),_=r(10),v=r(3),g=r(5).generateClientID,y=r(12).createNormalizationSelector,m=r(1),b=m.ROOT_TYPE,E=m.TYPENAME_KEY,R=m.getStorageKey;var D=function(){function e(e){var t=this,r=e.operation,n=e.operationExecutions,i=e.operationLoader,o=e.optimisticConfig,a=e.publishQueue,s=e.scheduler,l=e.sink,u=e.source,c=e.store,d=e.updater,f=e.operationTracker,p=e.treatMissingFieldsAsNull,h=e.getDataID,_=e.isClientPayload;this._getDataID=h,this._treatMissingFieldsAsNull=p,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._nextSubscriptionId=0,this._operation=r,this._operationExecutions=n,this._operationLoader=i,this._operationTracker=f,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._publishQueue=a,this._scheduler=s,this._sink=l,this._source=new Map,this._state="started",this._store=c,this._subscriptions=new Map,this._updater=d,this._isClientPayload=!0===_;var v=this._nextSubscriptionId++;u.subscribe({complete:function(){return t._complete(v)},error:function(e){return t._error(e)},next:function(e){try{t._next(v,e)}catch(e){l.error(e)}},start:function(e){return t._start(v,e)}}),null!=o&&this._processOptimisticResponse(null!=o.response?{data:o.response}:null,o.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._publishQueue.revertUpdate(t)})),this._publishQueue.run()),this._incrementalResults.clear(),this._completeOperationTracker()}},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,h(!1,"RelayModernQueryExecutor: invalid executor state.")}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++;d.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())},t._error=function(e){this.cancel(),this._sink.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(){r._handleNext(t),r._maybeCompleteSubscriptionOperationTracking()}))},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)",o=u.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 o.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},o.stack,o}var a=e;r.push(a)}})),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)}))&&h(!1,"Optimistic responses cannot be batched."),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&h(!1,"RelayModernQueryExecutor: optimistic payload received after server payload."),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){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||h(!1,"RelayModernQueryExecutor: invalid incremental payload, expected `path` and `label` to either both be null/undefined, or `path` to be an `Array<string | number>` and `label` to be a `string`."),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],o=n[1];if(i.length>0){var a=this._processResponses(i),s=this._publishQueue.run(this._operation);this._updateOperationTracker(s),this._processPayloadFollowups(a)}if(o.length>0){var l=this._processIncrementalResponses(o),u=this._publishQueue.run();this._updateOperationTracker(u),this._processPayloadFollowups(l)}this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&h(!1,"environment.execute: only support one optimistic response per execute."),null!=e||null!=t){var i=[];if(e){var o=S(e,this._operation.root,b,{getDataID:this._getDataID,path:[],treatMissingFieldsAsNull:r});O(o),i.push({operation:this._operation,payload:o,updater:t}),this._processOptimisticFollowups(o,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,moduleImportPayloads:null,source:f.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._publishQueue.applyUpdate(e)})),this._publishQueue.run()}},t._processOptimisticFollowups=function(e,t){if(e.moduleImportPayloads&&e.moduleImportPayloads.length){var r=e.moduleImportPayloads,n=this._operationLoader;n||h(!1,"RelayModernEnvironment: Expected an operationLoader to be configured when using `@match`.");var i,a=s(r);try{for(a.s();!(i=a.n()).done;){var l=i.value,u=n.get(l.operationReference);if(null==u)this._processAsyncOptimisticModuleImport(n,l);else{var c=this._processOptimisticModuleImport(u,l);t.push.apply(t,(0,o.default)(c))}}}catch(e){a.e(e)}finally{a.f()}}},t._normalizeModuleImport=function(e,t){var r=y(t,e.dataID,e.variables);return S({data:e.data},r,e.typeName,{getDataID:this._getDataID,path:e.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull})},t._processOptimisticModuleImport=function(e,t){var r=[],n=this._normalizeModuleImport(t,e);return O(n),r.push({operation:this._operation,payload:n,updater:null}),this._processOptimisticFollowups(n,r),r},t._processAsyncOptimisticModuleImport=function(e,t){var r=this;e.load(t.operationReference).then((function(e){if(null!=e&&"started"===r._state){var n,i=r._processOptimisticModuleImport(e,t);if(i.forEach((function(e){return r._publishQueue.applyUpdate(e)})),null==r._optimisticUpdates)v(!1,"RelayModernQueryExecutor: Unexpected ModuleImport optimisitc update in operation %s."+r._operation.request.node.params.name);else(n=r._optimisticUpdates).push.apply(n,(0,o.default)(i)),r._publishQueue.run()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){return t._publishQueue.revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var r=S(e,t._operation.root,b,{getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,path:[]});return t._publishQueue.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.moduleImportPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length){var o=t._operationLoader;o||h(!1,"RelayModernEnvironment: Expected an operationLoader to be configured when using `@match`."),n.forEach((function(e){t._processModuleImportPayload(e,o)}))}if(r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){t._processIncrementalPlaceholder(e,r)})),t._isClientPayload||"loading_final"===t._state)){v(t._isClientPayload,"RelayModernEnvironment: Operation `%s` contains @defer/@stream directives but was executed in non-streaming mode. See https://fburl.com/relay-incremental-delivery-non-streaming-warning.",t._operation.request.node.params.name);var a=[];if(r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0){var s=t._publishQueue.run();t._updateOperationTracker(s),t._processPayloadFollowups(a)}}}))},t._maybeCompleteSubscriptionOperationTracking=function(){"subscription"===this._operation.request.node.params.operationKind&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processModuleImportPayload=function(e,t){var r=this,n=t.get(e.operationReference);if(null!=n)this._handleModuleImportPayload(e,n),this._maybeCompleteSubscriptionOperationTracking();else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var o=function(){r._pendingModulePayloadsCount--,r._maybeCompleteSubscriptionOperationTracking()};d.from(new Promise((function(r,n){t.load(e.operationReference).then(r,n)}))).map((function(t){null!=t&&r._schedule((function(){r._handleModuleImportPayload(e,t)}))})).subscribe({complete:function(){r._complete(i),o()},error:function(e){r._error(e),o()},start:function(e){return r._start(i,e)}})}},t._handleModuleImportPayload=function(e,t){var r=this._normalizeModuleImport(e,t);this._publishQueue.commitPayload(this._operation,r);var n=this._publishQueue.run();this._updateOperationTracker(n),this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=t.label,i=t.path.map(String).join("."),o=this._incrementalResults.get(n);null==o&&(o=new Map,this._incrementalResults.set(n,o));var a,s=o.get(i),l=null!=s&&"response"===s.kind?s.responses:null;o.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?a=t.parentID:"defer"===t.kind?a=t.selector.dataID:h(!1,"Unsupported incremental placeholder kind `%s`.",t.kind);var u,d,f=e.source.get(a),p=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=g(e.dataID,e.fieldKey);return e.dataID===a||t===a}));null==f&&h(!1,"RelayModernEnvironment: Expected record `%s` to exist.",a);var v=this._source.get(a);if(null!=v){u=c.update(v.record,f);var y=new Map,m=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(_(t)))&&void 0!==r?r:"");y.set(n,e)};v.fieldPayloads.forEach(m),p.forEach(m),d=Array.from(y.values())}else u=f,d=p;if(this._source.set(a,{record:u,fieldPayloads:d}),null!=l){var b=this._processIncrementalResponses(l),E=this._publishQueue.run();this._updateOperationTracker(E),this._processPayloadFollowups(b)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,o=e.response,a=t._incrementalResults.get(n);if(null==a&&(a=new Map,t._incrementalResults.set(n,a)),-1!==n.indexOf("$defer$")){var s=i.map(String).join("."),l=a.get(s);if(null==l)return l={kind:"response",responses:[e]},void a.set(s,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&h(!1,"RelayModernEnvironment: Expected data for path `%s` for label `%s` to be data for @defer, was `@%s`.",s,n,u.kind),r.push(t._processDeferResponse(n,i,u,o))}else{var c=i.slice(0,-2).map(String).join("."),d=a.get(c);if(null==d)return d={kind:"response",responses:[e]},void a.set(c,d);if("response"===d.kind)return void d.responses.push(e);var f=d.placeholder;"stream"!==f.kind&&h(!1,"RelayModernEnvironment: Expected data for path `%s` for label `%s` to be data for @stream, was `@%s`.",c,n,f.kind),r.push(t._processStreamResponse(n,i,f,o))}})),r},t._processDeferResponse=function(e,t,r,n){var i=r.selector.dataID,o=S(n,r.selector,r.typeName,{getDataID:this._getDataID,path:r.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull});this._publishQueue.commitPayload(this._operation,o);var a=this._source.get(i);null==a&&h(!1,"RelayModernEnvironment: Expected the parent record `%s` for @defer data to exist.",i);var s=a.fieldPayloads;if(0!==s.length){var l,u={errors:null,fieldPayloads:s,incrementalPlaceholders:null,moduleImportPayloads:null,source:f.create(),isFinal:!0===(null===(l=n.extensions)||void 0===l?void 0:l.is_final)};this._publishQueue.commitPayload(this._operation,u)}return o},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,a=r.node,s=r.variables,l=a.selections[0];(null==l||"LinkedField"!==l.kind||!0!==l.plural)&&h(!1,"RelayModernEnvironment: Expected @stream to be used on a plural field.");var u=this._normalizeStreamItem(n,i,l,s,t,r.path),c=u.fieldPayloads,d=u.itemID,p=u.itemIndex,_=u.prevIDs,v=u.relayPayload,g=u.storageKey;if(this._publishQueue.commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===_.length&&!r.some((function(e,t){return _[t]!==(e&&e.getDataID())}))){var n=(0,o.default)(r);n[p]=e.get(d),t.setLinkedRecords(n,g)}}})),0!==c.length){var y={errors:null,fieldPayloads:c,incrementalPlaceholders:null,moduleImportPayloads:null,source:f.create(),isFinal:!1};this._publishQueue.commitPayload(this._operation,y)}return v},t._normalizeStreamItem=function(e,t,r,n,i,a){var s,l,u,d=e.data;"object"!=typeof d&&h(!1,"RelayModernEnvironment: Expected the GraphQL @stream payload `data` value to be an object.");var f=null!==(s=r.alias)&&void 0!==s?s:r.name,p=R(r,n),_=this._source.get(t);null==_&&h(!1,"RelayModernEnvironment: Expected the parent record `%s` for @stream data to exist.",t);var v=_.record,m=_.fieldPayloads,b=c.getLinkedRecordIDs(v,p);null==b&&h(!1,"RelayModernEnvironment: Expected record `%s` to have fetched field `%s` with @stream.",t,r.name);var D=i[i.length-1],O=parseInt(D,10);O===D&&O>=0||h(!1,"RelayModernEnvironment: Expected path for @stream to end in a positive integer index, got `%s`",D);var I=null!==(l=r.concreteType)&&void 0!==l?l:d[E];"string"!=typeof I&&h(!1,"RelayModernEnvironment: Expected @stream field `%s` to have a __typename.",r.name);var k=(null!==(u=this._getDataID(d,I))&&void 0!==u?u:b&&b[O])||g(t,p,O);"string"!=typeof k&&h(!1,"RelayModernEnvironment: Expected id of elements of field `%s` to be strings.",p);var P=y(r,k,n),T=c.clone(v),w=(0,o.default)(b);return w[O]=k,c.setLinkedRecordIDs(T,p,w),this._source.set(t,{record:T,fieldPayloads:m}),{fieldPayloads:m,itemID:k,itemIndex:O,prevIDs:b,relayPayload:S(e,P,I,{getDataID:this._getDataID,path:[].concat((0,o.default)(a),[f,String(O)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull}),storageKey:p}},t._updateOperationTracker=function(e){null!=this._operationTracker&&null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){null!=this._operationTracker&&this._operationTracker.complete(this._operation.request)},e}();function S(e,t,r,n){var o,s=e.data,l=e.errors,u=f.create(),d=c.create(t.dataID,r);return u.set(t.dataID,d),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},p.normalize(u,t,s,n),{errors:l,isFinal:!0===(null===(o=e.extensions)||void 0===o?void 0:o.is_final)})}function O(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&h(!1,"RelayModernQueryExecutor: optimistic responses cannot be returned for operations that use incremental data delivery (@defer, @stream, and @stream_connection).")}e.exports={execute:function(e){return new D(e)}}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(20),a=o.EXISTENT,s=o.NONEXISTENT,l=o.UNKNOWN,u=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])}))}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:l},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=n(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,o=i[0],a=i[1];t[o]=a}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=u},function(e,t,r){"use strict";var n=r(2)(r(14)),i=r(8),o=r(7),a=r(24),s=r(0),l=r(3),u=r(6),c=u.CONDITION,d=u.CLIENT_EXTENSION,f=u.DEFER,p=u.INLINE_FRAGMENT,h=u.LINKED_FIELD,_=u.LINKED_HANDLE,v=u.MODULE_IMPORT,g=u.SCALAR_FIELD,y=u.SCALAR_HANDLE,m=u.STREAM,b=u.TYPE_DISCRIMINATOR,E=r(5),R=E.generateClientID,D=E.isClientID,S=r(12).createNormalizationSelector,O=r(1),I=O.getArgumentValues,k=O.getHandleStorageKey,P=O.getModuleComponentKey,T=O.getModuleOperationKey,w=O.getStorageKey,x=O.TYPENAME_KEY,A=O.ROOT_ID,N=r(21),M=N.generateTypeID,F=N.TYPE_SCHEMA_TYPE;var j=function(){function e(e,t,r){this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._moduleImportPayloads=[],this._path=r.path?(0,n.default)(r.path):[],this._recordSource=e,this._variables=t}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var n=this._recordSource.get(t);return n||s(!1,"RelayResponseNormalizer(): Expected root record `%s` to exist.",t),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,moduleImportPayloads:this._moduleImportPayloads,source:this._recordSource,isFinal:!1}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||s(!1,"RelayResponseNormalizer(): Undefined variable `%s`.",e),this._variables[e]},t._getRecordType=function(e){var t=e[x];return null==t&&s(!1,"RelayResponseNormalizer(): Expected a typename for record `%s`.",JSON.stringify(e,null,2)),t},t._traverseSelections=function(e,t,r){for(var n=0;n<e.selections.length;n++){var a=e.selections[n];switch(a.kind){case g:case h:this._normalizeField(e,a,t,r);break;case c:this._getVariableValue(a.condition)===a.passingValue&&this._traverseSelections(a,t,r);break;case p:var l=a.abstractKey;if(null==l)o.getType(t)===a.type&&this._traverseSelections(a,t,r);else if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var u=r.hasOwnProperty(l),E=o.getType(t),R=M(E),D=this._recordSource.get(R);null==D&&(D=o.create(R,F),this._recordSource.set(R,D)),o.setValue(D,l,u),u&&this._traverseSelections(a,t,r)}else{var S=r.hasOwnProperty(l),O=this._isUnmatchedAbstractType;this._isUnmatchedAbstractType=this._isUnmatchedAbstractType||!S,this._traverseSelections(a,t,r),this._isUnmatchedAbstractType=O}break;case b:if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var P=a.abstractKey,T=r.hasOwnProperty(P),x=o.getType(t),A=M(x),N=this._recordSource.get(A);null==N&&(N=o.create(A,F),this._recordSource.set(A,N)),o.setValue(N,P,T)}break;case _:case y:var j=a.args?I(a.args,this._variables):{},L=w(a,this._variables),C=k(a,this._variables);this._handleFieldPayloads.push({args:j,dataID:o.getDataID(t),fieldKey:L,handle:a.handle,handleKey:C,handleArgs:a.handleArgs?I(a.handleArgs,this._variables):{}});break;case v:this._normalizeModuleImport(e,a,t,r);break;case f:this._normalizeDefer(a,t,r);break;case m:this._normalizeStream(a,t,r);break;case d:var U=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(a,t,r),this._isClientExtension=U;break;default:s(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s`.",a.kind)}}},t._normalizeDefer=function(e,t,r){var i=null===e.if||this._getVariableValue(e.if);l("boolean"==typeof i,"RelayResponseNormalizer: Expected value for @defer `if` argument to be a boolean, got `%s`.",i),!1===i?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,n.default)(this._path),selector:S(e,o.getDataID(t),this._variables),typeName:o.getType(t)})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r);var i=null===e.if||this._getVariableValue(e.if);l("boolean"==typeof i,"RelayResponseNormalizer: Expected value for @stream `if` argument to be a boolean, got `%s`.",i),!0===i&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,n.default)(this._path),parentID:o.getDataID(t),node:e,variables:this._variables})},t._normalizeModuleImport=function(e,t,r,i){"object"==typeof i&&i||s(!1,"RelayResponseNormalizer: Expected data for @module to be an object.");var a=o.getType(r),l=P(t.documentName),u=i[l];o.setValue(r,l,null!=u?u:null);var c=T(t.documentName),d=i[c];o.setValue(r,c,null!=d?d:null),null!=d&&this._moduleImportPayloads.push({data:i,dataID:o.getDataID(r),operationReference:d,path:(0,n.default)(this._path),typeName:a,variables:this._variables})},t._normalizeField=function(e,t,r,n){"object"==typeof n&&n||s(!1,"writeField(): Expected data for field `%s` to be an object.",t.name);var i=t.alias||t.name,a=w(t,this._variables),u=n[i];if(null==u){if(void 0===u){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void l(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",i,a)}return t.kind===g&&this._validateConflictingFieldsWithIdenticalId(r,a,u),void o.setValue(r,a,null)}t.kind===g?(this._validateConflictingFieldsWithIdenticalId(r,a,u),o.setValue(r,a,u)):t.kind===h?(this._path.push(i),t.plural?this._normalizePluralLink(t,r,a,u):this._normalizeLink(t,r,a,u),this._path.pop()):s(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s` during normalization.",t.kind)},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||s(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an object.",r);var a=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||o.getLinkedRecordID(t,r)||R(o.getDataID(t),r);"string"!=typeof a&&s(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",r),this._validateConflictingLinkedFieldsWithIdenticalId(t,o.getLinkedRecordID(t,r),a,r),o.setLinkedRecordID(t,r,a);var l=this._recordSource.get(a);if(l)this._validateRecordType(l,e,n);else{var u=e.concreteType||this._getRecordType(n);l=o.create(a,u),this._recordSource.set(a,l)}this._traverseSelections(e,l,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||s(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an array of objects.",r);var a=o.getLinkedRecordIDs(t,r),l=[];n.forEach((function(n,u){var c;if(null!=n){i._path.push(String(u)),"object"!=typeof n&&s(!1,"RelayResponseNormalizer: Expected elements for field `%s` to be objects.",r);var d=i._getDataId(n,null!==(c=e.concreteType)&&void 0!==c?c:i._getRecordType(n))||a&&a[u]||R(o.getDataID(t),r,u);"string"!=typeof d&&s(!1,"RelayResponseNormalizer: Expected id of elements of field `%s` to be strings.",r),l.push(d);var f=i._recordSource.get(d);if(f)i._validateRecordType(f,e,n);else{var p=e.concreteType||i._getRecordType(n);f=o.create(d,p),i._recordSource.set(d,f)}a&&i._validateConflictingLinkedFieldsWithIdenticalId(t,a[u],d,r),i._traverseSelections(e,f,n),i._path.pop()}else l.push(n)})),o.setLinkedRecordIDs(t,r,l)},t._validateRecordType=function(e,t,r){var n,i=null!==(n=t.concreteType)&&void 0!==n?n:this._getRecordType(r),a=o.getDataID(e);l(D(a)&&a!==A||o.getType(e)===i,"RelayResponseNormalizer: Invalid record `%s`. Expected %s to be consistent, but the record was assigned conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",a,x,o.getType(e),i)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){var n=o.getDataID(e),i=o.getValue(e,t);l(t===x||void 0===i||i===r,"RelayResponseNormalizer: Invalid record. The record contains two instances of the same id: `%s` with conflicting field, %s and its values: %s and %s. If two fields are different but share the same id, one field will overwrite the other.",n,t,i,r)},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,n){l(void 0===t||t===r,"RelayResponseNormalizer: Invalid record. The record contains references to the conflicting field, %s and its id values: %s and %s. We need to make sure that the record the field points to remains consistent or one field will overwrite the other.",n,t,r)},e}(),L=a.instrument("RelayResponseNormalizer.normalize",(function(e,t,r,n){var i=t.dataID,o=t.node,a=t.variables;return new j(e,a,n).normalizeResponse(o,i,r)}));e.exports={normalize:L}},function(e,t,r){"use strict";var n=r(52),i=r(33),o=r(17),a=r(34),s=r(35),l=r(54),u=r(0),c=r(3),d=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))&&u(!1,"RelayPublishQueue: Cannot apply the same update function more than once concurrently."),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){c(!0!==this._isRunning,"A store update was detected within another store update. Please make sure new store updates aren’t being executed within an updater function for a different update."),this._isRunning=!0,this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var t=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._isRunning=!1,this._store.notify(e,t)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,o=r.source,c=r.fieldPayloads,d=new a(this._store.getSource(),o),p=new s(d,this._getDataID);if(c&&c.length&&c.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||u(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),r.update(p,e)})),i){var h=n.fragment;null==h&&u(!1,"RelayModernEnvironment: Expected a selector to be provided with updater function."),i(new l(d,p,h),f(o,h))}var _=p.getIDsMarkedForInvalidation();return this._store.publish(o,_),p.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 i=e._publishSourceFromPayload(r);t=t||i}else if("source"===r.kind){var l=r.source;e._store.publish(l)}else{var u=r.updater,c=o.create(),d=new a(e._store.getSource(),c),f=new s(d,e._getDataID);n.applyWithGuard(u,null,[f],null,"RelayPublishQueue:commitData"),t=t||f.isStoreMarkedForInvalidation();var p=f.getIDsMarkedForInvalidation();e._store.publish(c,p)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=o.create(),r=new a(this._store.getSource(),t),i=new s(r,this._getDataID,this._handlerProvider),u=function(e){if(e.storeUpdater){var t=e.storeUpdater;n.applyWithGuard(t,null,[i],null,"RelayPublishQueue:applyUpdates")}else{var o,a=e.operation,s=e.payload,u=e.updater,c=s.source,d=s.fieldPayloads,p=new l(r,i,a.fragment);c&&(i.publishSource(c,d),o=f(c,a.fragment)),u&&n.applyWithGuard(u,null,[p,o],null,"RelayPublishQueue:applyUpdates")}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(u),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){u(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function f(e,t){var n=i.read(e,t).data,o=r(16);return n&&o(n),n}e.exports=d},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(0),i=r(5).generateClientID,o=r(1).getStableStorageKey,a=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&&n(!1,"RelayRecordProxy: Cannot get the type of deleted record `%s`.",this._dataID),e},t.getValue=function(e,t){var r=o(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){s(e)||n(!1,"RelayRecordProxy#setValue(): Expected a scalar or array of scalars, got `%s`.",JSON.stringify(e));var i=o(t,r);return this._mutator.setValue(this._dataID,i,e),this},t.getLinkedRecord=function(e,t){var r=o(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,i){t instanceof e||n(!1,"RelayRecordProxy#setLinkedRecord(): Expected a record, got `%s`.",t);var a=o(r,i),s=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,a,s),this},t.getOrCreateLinkedRecord=function(e,t,r){var n=this.getLinkedRecord(e,r);if(!n){var a,s=o(e,r),l=i(this.getDataID(),s);n=null!==(a=this._source.get(l))&&void 0!==a?a:this._source.create(l,t),this.setLinkedRecord(n,e,r)}return n},t.getLinkedRecords=function(e,t){var r=this,n=o(e,t),i=this._mutator.getLinkedRecordIDs(this._dataID,n);return null==i?i:i.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||n(!1,"RelayRecordProxy#setLinkedRecords(): Expected records to be an array, got `%s`.",e);var i=o(t,r),a=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,i,a),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function s(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(s)}e.exports=a},function(e,t,r){"use strict";var n=r(0),i=r(1),o=i.getStorageKey,a=i.ROOT_TYPE,s=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,a)),e},t._getRootField=function(e,t,r){var i=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t}));return i&&"LinkedField"===i.kind||n(!1,"RelayRecordSourceSelectorProxy#getRootField(): Cannot find root field `%s`, no such field is defined on GraphQL document `%s`.",t,e.node.name),i.plural!==r&&n(!1,"RelayRecordSourceSelectorProxy#getRootField(): Expected root field `%s` to be %s.",t,r?"plural":"singular"),i},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},e}();e.exports=s},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";var n=r(2),i=n(r(4)),o=n(r(14));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var s=function(){},l=!1,u=function(){var e={style:"list-style-type: none; padding: 0; margin: 0 0 0 12px; font-style: normal"},t={style:"rgb(136, 19, 145)"},r={style:"color: #777"},n=function(e){return["span",{style:"font-style: italic"},e.__typename,["span",r,' {id: "',e.__id,'", …}']]},i=function(e){return null!=e&&"string"==typeof e.__id},a=function(e,t){this.key=e,this.value=t},s=function(t){var r=Object.keys(t).map((function(e){return["li",{},["object",{object:new a(e,t[e])}]]}));return["ol",e].concat((0,o.default)(r))};return[{header:function(e){return i(e)?n(e):null},hasBody:function(e){return!0},body:function(e){return s(e)}},{header:function(e){if(e instanceof a){var o=i(e.value)?n(e.value):null==(s=e.value)?["span",r,"undefined"]:["object",{object:s,config:l}];return["span",t,e.key,": ",o]}var s,l;return null},hasBody:function(e){return i(e.value)},body:function(e){return s(e.value)}}]},c=function e(t,r){var n=t.get(r);return null==n?n:new Proxy(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},n),{get:function(r,n){var i=r[n];if(null==i)return i;if("object"==typeof i){if("string"==typeof i.__ref)return e(t,i.__ref);if(Array.isArray(i.__refs))return i.__refs.map((function(r){return e(t,r)}))}return i}})};s=function(e,t){var r;return l||(l=!0,null==window.devtoolsFormatters&&(window.devtoolsFormatters=[]),Array.isArray(window.devtoolsFormatters)&&(console.info('Make sure to select "Enable custom formatters" in the Chrome Developer Tools settings, tab "Preferences" under the "Console" section.'),(r=window.devtoolsFormatters).push.apply(r,(0,o.default)(u())))),c(e.getStore().getSource(),null!=t?t:"client:root")},e.exports={inspect:s}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var a=r(58),s=r(7),l=r(60),u=r(24),c=r(33),d=r(61),f=r(1),p=r(16),h=r(36),_=r(62),v=r(0),g=r(40),y=r(63),m=r(1),b=m.ROOT_ID,E=m.ROOT_TYPE,R=function(){function e(e,t){var r,i,o,a,l,u=this;(0,n.default)(this,"_gcStep",(function(){u._gcRun&&(u._gcRun.next().done?u._gcRun=null:u._gcScheduler(u._gcStep))}));for(var c=e.getRecordIDs(),d=0;d<c.length;d++){var f=e.get(c[d]);f&&s.freeze(f)}this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:0,this._gcRun=null,this._gcScheduler=null!==(i=null==t?void 0:t.gcScheduler)&&void 0!==i?i:y,this._getDataID=null!==(o=null==t?void 0:t.UNSTABLE_DO_NOT_USE_getDataID)&&void 0!==o?o:h,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(a=null==t?void 0:t.log)&&void 0!==a?a:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(l=null==t?void 0:t.operationLoader)&&void 0!==l?l:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._subscriptions=new Set,this._updatedRecordIDs={},function(e){if(!e.has(b)){var t=s.create(b,E);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.check=function(e,t){var r,n,i,o=e.root,s=null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource,l=this._globalInvalidationEpoch,u=this._roots.get(e.request.identifier),c=null!=u?u.epoch:null;if(null!=l&&(null==c||c<=l))return{status:"stale"};var d=null!==(n=null==t?void 0:t.target)&&void 0!==n?n:s,f=null!==(i=null==t?void 0:t.handlers)&&void 0!==i?i:[];return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,o=e.status;if("number"==typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===o)return{status:"missing"};if(null!=r&&null!=n){if(r<=Date.now()-n)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(a.check(s,d,o,f,this._operationLoader,this._getDataID),c,null==u?void 0:u.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 o=t._releaseBuffer.shift();t._roots.delete(o),t._scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource(),r=c.read(t,e);return p(r),r},t.notify=function(e,t){var r=this,n=this.__log;null!=n&&n({name:"store.notify.start"}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch);var i=this.getSource(),o=[];if(this._subscriptions.forEach((function(e){var t=r._updateSubscription(i,e);null!=t&&o.push(t)})),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=n&&n({name:"store.notify.complete",updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs={},this._invalidatedRecordIDs.clear(),null!=e){var a=e.request.identifier,s=this._roots.get(a);if(null!=s)s.epoch=this._currentWriteEpoch,s.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(a),this._roots.set(a,l)}}return o},t.publish=function(e,t){var r,n=null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource;!function(e,t,r,n,i,o){n&&n.forEach((function(n){var i,a=e.get(n),l=t.get(n);null!==l&&((i=null!=a?s.clone(a):null!=l?s.clone(l):null)&&(s.setValue(i,f.INVALIDATED_AT_KEY,r),o.add(n),e.set(n,i)))}));for(var a=t.getRecordIDs(),l=0;l<a.length;l++){var u=a[l],c=t.get(u),d=e.get(u);if(c&&s.freeze(c),c&&d){var p=s.update(d,c);p!==d&&(s.freeze(p),i[u]=!0,e.set(u,p))}else null===c?(e.delete(u),null!==d&&(i[u]=!0)):c&&(e.set(u,c),i[u]=!0)}}(n,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var i=this.__log;null!=i&&i({name:"store.publish",source:e,optimistic:n===this._optimisticSource})},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.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.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t._updateSubscription=function(e,t){var r=t.backup,n=t.callback,i=t.snapshot,o=t.stale,a=_(i.seenRecords,this._updatedRecordIDs);if(o||a){var s=a||!r?c.read(e,i.selector):r;return s={data:g(i.data,s.data),isMissingData:s.isMissingData,seenRecords:s.seenRecords,selector:s.selector},p(s),t.snapshot=s,t.stale=!1,s.data!==i.data?(n(s),i.selector.owner):void 0}},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=s.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,o=i(e.dataIDs);try{for(o.s();!(n=o.n()).done;){var a=n.value;if(t.get(a)!==r.get(a))return!0}}catch(e){o.e(e)}finally{o.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(){var e=this;null!=this._optimisticSource&&v(!1,"RelayModernStore: Unexpected call to snapshot() while a previous snapshot exists.");var t=this.__log;null!=t&&t({name:"store.snapshot"}),this._subscriptions.forEach((function(t){if(t.stale){var r=t.snapshot,n=c.read(e.getSource(),r.selector),i=g(r.data,n.data);n.data=i,t.backup=n}else t.backup=t.snapshot})),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=l.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&v(!1,"RelayModernStore: Unexpected call to restore(), expected a snapshot to exist (make sure to call snapshot()).");var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this._scheduleGC(),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,seenRecords:t.seenRecords,selector:t.selector}):e.stale=!0}))},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=i(this._roots.values());try{for(n.s();!(e=n.n()).done;){var o=e.value.operation.root;if(d.mark(this._recordSource,o,r,this._operationLoader),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.f()}var a=this.__log;if(null!=a&&a({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var s=this._recordSource.getRecordIDs(),l=0;l<s.length;l++){var u=s[l];r.has(u)||this._recordSource.remove(u)}return}},e}();u.instrumentMethods(R.prototype,{lookup:"RelayModernStore.prototype.lookup"}),e.exports=R},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(6),a=r(8),s=r(7),l=r(34),u=r(35),c=r(1),d=r(39),f=r(59),p=r(0),h=r(5).isClientID,_=r(20),v=_.EXISTENT,g=_.UNKNOWN,y=r(21).generateTypeID,m=o.CONDITION,b=o.CLIENT_EXTENSION,E=o.DEFER,R=o.FRAGMENT_SPREAD,D=o.INLINE_FRAGMENT,S=o.LINKED_FIELD,O=o.LINKED_HANDLE,I=o.MODULE_IMPORT,k=o.SCALAR_FIELD,P=o.SCALAR_HANDLE,T=o.STREAM,w=o.TYPE_DISCRIMINATOR,x=c.getModuleOperationKey,A=c.getStorageKey,N=c.getArgumentValues;var M=function(){function e(e,t,r,n,i,o){var a=new l(e,t);this._mostRecentlyInvalidatedAt=null,this._handlers=n,this._mutator=a,this._operationLoader=null!=i?i:null,this._recordSourceProxy=new u(a,o),this._recordWasMissing=!1,this._source=e,this._variables=r}var t=e.prototype;return 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)||p(!1,"RelayAsyncLoader(): Undefined variable `%s`.",e),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._getDataForHandlers=function(e,t){return{args:e.args?N(e.args,this._variables):{},record:this._source.get(t)}},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!h(t)){var r,i=this._getDataForHandlers(e,t),o=i.args,a=i.record,s=n(this._handlers);try{for(s.s();!(r=s.n()).done;){var l=r.value;if("scalar"===l.kind){var u=l.handle(e,a,o,this._recordSourceProxy);if(void 0!==u)return u}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=this._getDataForHandlers(e,t),o=i.args,a=i.record,s=n(this._handlers);try{for(s.s();!(r=s.n()).done;){var l=r.value;if("linked"===l.kind){var u=l.handle(e,a,o,this._recordSourceProxy);if(void 0!==u&&(null===u||this._mutator.getStatus(u)===v))return u}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,o=this._getDataForHandlers(e,t),a=o.args,s=o.record,l=n(this._handlers);try{for(l.s();!(r=l.n()).done;){var u=r.value;if("pluralLinked"===u.kind){var c=u.handle(e,s,a,this._recordSourceProxy);if(null!=c){if(c.every((function(e){return null!=e&&i._mutator.getStatus(e)===v})))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===g&&this._handleMissing(),r===v){var n=this._source.get(t),i=s.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 k:r._checkScalar(n,t);break;case S:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case m:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case D:var i=n.abstractKey;if(null==i)r._mutator.getType(t)===n.type&&r._traverseSelections(n.selections,t);else if(a.ENABLE_PRECISE_TYPE_REFINEMENT){var o=r._mutator.getType(t);null==o&&p(!1,"DataChecker: Expected record `%s` to have a known type",t);var s=y(o),l=r._mutator.getValue(s,i);!0===l?r._traverseSelections(n.selections,t):null==l&&r._handleMissing()}else r._traverseSelections(n.selections,t);break;case O:var u=d(n,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case P:var c=f(n,e,r._variables);r._checkScalar(c,t);break;case I:r._checkModuleImport(n,t);break;case E:case T:r._traverseSelections(n.selections,t);break;case R:p(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",n.kind);break;case b:var h=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=h;break;case w:if(a.ENABLE_PRECISE_TYPE_REFINEMENT){var _=n.abstractKey,v=r._mutator.getType(t);null==v&&p(!1,"DataChecker: Expected record `%s` to have a known type",t);var g=y(v);null==r._mutator.getValue(g,_)&&r._handleMissing()}break;default:p(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",n.kind)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&p(!1,"DataChecker: Expected an operationLoader to be configured when using `@module`.");var n=x(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var o=r.get(i);null!=o?this._traverse(o,t):this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=A(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=A(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=A(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)}))},e}();e.exports={check:function(e,t,r,n,i,o){var a=r.dataID,s=r.node,l=r.variables;return new M(e,t,l,n,i,o).check(s,a)}}},function(e,t,r){"use strict";var n=r(15),i=r(0),o=r(6).SCALAR_FIELD,a=r(1).getHandleStorageKey;e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===o&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));s&&s.kind===o||i(!1,"cloneRelayScalarHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=a(e,r);return{kind:"ScalarField",alias:s.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(17),a=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),s=function(){function e(e){this._base=e,this._sink=o.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=o.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=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},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(6),i=r(8),o=r(7),a=r(1),s=r(39),l=r(0),u=r(21).generateTypeID,c=n.CONDITION,d=n.CLIENT_EXTENSION,f=n.DEFER,p=n.FRAGMENT_SPREAD,h=n.INLINE_FRAGMENT,_=n.LINKED_FIELD,v=n.MODULE_IMPORT,g=n.LINKED_HANDLE,y=n.SCALAR_FIELD,m=n.SCALAR_HANDLE,b=n.STREAM,E=n.TYPE_DISCRIMINATOR,R=a.getStorageKey,D=a.getModuleOperationKey;var S=function(){function e(e,t,r,n){this._operationLoader=null!=n?n:null,this._recordSource=e,this._references=r,this._variables=t}var t=e.prototype;return t.mark=function(e,t){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)||l(!1,"RelayReferenceMarker(): Undefined variable `%s`.",e),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case _:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case c:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case h:if(null==n.abstractKey){var a=o.getType(t);null!=a&&a===n.type&&r._traverseSelections(n.selections,t)}else if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var R=o.getType(t),D=u(R);r._references.add(D),r._traverseSelections(n.selections,t)}else r._traverseSelections(n.selections,t);break;case p:l(!1,"RelayReferenceMarker(): Unexpected fragment spread `...%s`, expected all fragments to be inlined.",n.name);case g:var S=s(n,e,r._variables);S.plural?r._traversePluralLink(S,t):r._traverseLink(S,t);break;case f:case b:r._traverseSelections(n.selections,t);break;case y:case m:break;case E:if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var O=o.getType(t),I=u(O);r._references.add(I)}break;case v:r._traverseModuleImport(n,t);break;case d:r._traverseSelections(n.selections,t);break;default:l(!1,"RelayReferenceMarker: Unknown AST node `%s`.",n)}}))},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&l(!1,"RelayReferenceMarker: Expected an operationLoader to be configured when using `@module`.");var n=D(e.documentName),i=o.getValue(t,n);if(null!=i){var a=r.get(i);null!=a&&this._traverseSelections(a.selections,t)}},t._traverseLink=function(e,t){var r=R(e,this._variables),n=o.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=R(e,this._variables),i=o.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},e}();e.exports={mark:function(e,t,r,n){var i=t.dataID,o=t.node,a=t.variables;new S(e,a,r,n).mark(o,i)}}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){for(var r in e)if(n.call(e,r)&&n.call(t,r))return!0;return!1}},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(0),i=r(65).convertFetch;e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,o,a,s){if("subscription"===e.operationKind)return t||n(!1,"RelayNetwork: This network layer does not support Subscriptions. To use Subscriptions, provide a custom network layer."),a&&n(!1,"RelayNetwork: Cannot provide uploadables while subscribing."),t(e,i,o);var l=o.poll;return null!=l?(a&&n(!1,"RelayNetwork: Cannot provide uploadables while polling."),r(e,i,{force:!0}).poll(l)):r(e,i,o,a,s)}}}}},function(e,t,r){"use strict";var n=r(11);e.exports={convertFetch:function(e){return function(t,r,i,o,a){var s=e(t,r,i,o,a);return s instanceof Error?n.create((function(e){return e.error(s)})):n.from(s)}}}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(0),s=r(10),l=function(){function e(e){var t=e.size,r=e.ttl;t>0||a(!1,"RelayQueryResponseCache: Expected the max cache size to be > 0, got `%s`.",t),r>0||a(!1,"RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.",r),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,n=u(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 i=this._responses.get(n);return null!=i?o({},i.payload,{extensions:o({},i.payload.extensions,{cacheTimestamp:i.fetchTime})}):null},t.set=function(e,t,r){var n=Date.now(),i=u(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var o=this._responses.keys().next();o.done||this._responses.delete(o.value)}},e}();function u(e,t){return JSON.stringify(s({queryID:e,variables:t}))}e.exports=l},function(e,t,r){"use strict";var n=r(19),i=r(0),o=r(25),a=r(9).getRequest,s=r(13).createOperationDescriptor;e.exports=function(e,t){o(e)||i(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=a(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,f=s(r,d);return u&&(l=n.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:f,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(2)(r(14)),i=r(19),o=(r(8),r(0)),a=r(25),s=r(70),l=r(3),u=r(9).getRequest,c=r(5).generateUniqueClientID,d=r(13).createOperationDescriptor;e.exports=function(e,t){a(e)||o(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=u(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 f=t.optimisticResponse,p=t.optimisticUpdater,h=t.updater,_=t.configs,v=t.cacheConfig,g=t.onError,y=t.onUnsubscribe,m=t.variables,b=t.uploadables,E=d(r,m,c());if("function"==typeof f&&(f=f(),l(!1,"commitMutation: Expected `optimisticResponse` to be an object, received a function.")),f instanceof Object&&s(f,r,m),_){var R=i.convert(_,r,p,h);p=R.optimisticUpdater,h=R.updater}var D=[];return{dispose:e.executeMutation({cacheConfig:v,operation:E,optimisticResponse:f,optimisticUpdater:p,updater:h,uploadables:b}).subscribe({next:function(e){Array.isArray(e)?e.forEach((function(e){e.errors&&D.push.apply(D,(0,n.default)(e.errors))})):e.errors&&D.push.apply(D,(0,n.default)(e.errors))},complete:function(){var r=t.onCompleted;r&&r(e.lookup(E.fragment).data,0!==D.length?D:null)},error:g,unsubscribe:y}).unsubscribe}}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(3),s=function(){},l=function(e,t,r){var n=t;e.split(".").forEach((function(e,t,i){null==n[e]&&(n[e]={}),r&&t===i.length-1&&(n[e]="<scalar>"),n=n[e]}))};s=function(e,t,r){var n=t.operation.name,i={path:"ROOT",visitedPaths:new Set,variables:r||{},missingDiff:{},extraDiff:{}};u(e,t.operation.selections,i),f(e,i),a(null==i.missingDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please define fields for all of\n%s",n,JSON.stringify(i.missingDiff.ROOT,null,2)),a(null==i.extraDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please remove all fields of\n%s",n,JSON.stringify(i.extraDiff.ROOT,null,2))};var u=function(e,t,r){t.forEach((function(t){return c(e,t,r)}))},c=function e(t,r,n){switch(r.kind){case"Condition":return void u(t,r.selections,n);case"ScalarField":case"LinkedField":return d(t,r,n);case"InlineFragment":var i=r.type,o=null==r.abstractKey;return void r.selections.forEach((function(r){o&&t.__typename!==i||e(t,r,n)}));case"ClientExtension":return void r.selections.forEach((function(r){e(t,r,n)}));case"ModuleImport":case"LinkedHandle":case"ScalarHandle":case"Defer":case"Stream":case"TypeDiscriminator":default:return}},d=function(e,t,r){var n=t.alias||t.name,i="".concat(r.path,".").concat(n);switch(r.visitedPaths.add(i),t.kind){case"ScalarField":return void(!1===e.hasOwnProperty(n)&&l(i,r.missingDiff,!0));case"LinkedField":var a=t.selections;if(null===e[n]||Object.hasOwnProperty(n)&&void 0===e[n])return;return t.plural?Array.isArray(e[n])?void e[n].forEach((function(e){null!==e&&u(e,a,o({},r,{path:i}))})):void l(i,r.missingDiff):e[n]instanceof Object?void u(e[n],a,o({},r,{path:i})):void l(i,r.missingDiff)}},f=function e(t,r){Array.isArray(t)?t.forEach((function(t){t instanceof Object&&e(t,r)})):Object.keys(t).forEach((function(n){var i=t[n],a="".concat(r.path,".").concat(n);r.visitedPaths.has(a)?i instanceof Object&&e(i,o({},r,{path:a})):l(a,r.extraDiff)}))};e.exports=s},function(e,t,r){"use strict";var n=r(72),i=r(3);e.exports=function(e,t,r,o,a){return Object.keys(r).forEach((function(e){var r=o[e];i(void 0!==r,"createFragmentSpecResolver: Expected prop `%s` to be supplied to `%s`, but got `undefined`. Pass an explicit `null` if this is intentional.",e,t)})),new n(e,r,o,a)}},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(8),s=r(15),l=r(0),u=r(42),c=r(3),d=r(43).getPromiseForActiveRequest,f=r(13).createRequestDescriptor,p=r(12),h=p.areEqualSelectors,_=p.createReaderSelector,v=p.getSelectorsFromObject,g=function(){function e(e,t,r,i){var o=this;(0,n.default)(this,"_onChange",(function(){o._stale=!0,"function"==typeof o._callback&&o._callback()})),this._callback=i,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,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],i=t[r];if(n){var a=n.resolve();(e||a!==i)&&((e=e||o({},t))[r]=a)}else{var s=this._props[r],l=void 0!==s?s:null;!e&&u(l,i)||((e=e||o({},t))[r]=l)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e){this._callback=e},t.setProps=function(e){var t=v(this._fragments,e);for(var r in this._props={},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 m(this._context.environment,n,this._onChange):(i instanceof m||l(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an array.",r),i.setSelector(n)):null==i?i=new y(this._context.environment,n,this._onChange):(i instanceof y||l(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an object.",r),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}(),y=function(){function e(e,t,r){var i=this;(0,n.default)(this,"_onChange",(function(e){i._data=e.data,i._isMissingData=e.isMissingData,i._callback()}));var o=e.lookup(t);this._callback=r,this._data=o.data,this._isMissingData=o.isMissingData,this._environment=e,this._selector=t,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===a.ENABLE_RELAY_CONTAINERS_SUSPENSE&&!0===this._isMissingData){var e,t=null!==(e=d(this._environment,this._selector.owner))&&void 0!==e?e:this._environment.getOperationTracker().getPromiseForPendingOperationsAffectingOwner(this._selector.owner);if(null!=t)throw c(!1,"Relay: Relay Container for fragment `%s` suspended. When using features such as @defer or @module, use `useFragment` instead of a Relay Container.",this._selector.node.name),t}return this._data},t.setSelector=function(e){if(null==this._subscription||!h(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=t.data,this._isMissingData=t.isMissingData,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!s(e,this._selector.variables)){var r=f(t,e),n=_(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),m=function(){function e(e,t,r){var i=this;(0,n.default)(this,"_onChange",(function(e){i._stale=!0,i._callback()})),this._callback=r,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this.setSelector(t)}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 y(this._environment,t[r],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=g},function(e,t,r){"use strict";var n=r(2)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(1),a=o.getModuleComponentKey,s=o.getModuleOperationKey;e.exports=function(e,t,r,o){var l=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},o);return l[a(e)]=r,l[s(e)]=t,l}},function(e,t,r){"use strict";var n,i,o=r(0);e.exports=function(e){return n||(n=e.createContext(null),i=e),e!==i&&o(!1,"[createRelayContext]: You passing a different instance of React",e.version),n}},function(e,t,r){"use strict";var n=r(13).createOperationDescriptor,i=r(9).getRequest;e.exports=function(e,t,r,o){var a=i(t);if("query"!==a.params.operationKind)throw new Error("fetchQuery: Expected query operation");var s=n(a,r);return e.execute({operation:s,cacheConfig:o}).map((function(){return e.lookup(s.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=r(10),i=r(12),o=i.getDataIDsFromFragment,a=i.getVariablesFromFragment,s=i.getSelector;e.exports=function(e,t){var r,i=s(e,t),l=null==i?"null":"SingularReaderSelector"===i.kind?i.owner.identifier:"["+i.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",u=a(e,t),c=o(e,t);return l+"/"+e.name+"/"+JSON.stringify(n(u))+"/"+(null!==(r=JSON.stringify(c))&&void 0!==r?r:"missing")}},function(e,t,r){"use strict";var n=r(0),i=r(9).getInlineDataFragment,o=r(1).FRAGMENTS_KEY;e.exports=function(e,t){var r,a=i(e);if(null==t)return t;"object"!=typeof t&&n(!1,"readInlineData(): Expected an object, got `%s`.",typeof t);var s=null===(r=t[o])||void 0===r?void 0:r[a.name];return null==s&&n(!1,"readInlineData(): Expected fragment `%s` to be spread in the parent fragment.",a.name),s}},function(e,t,r){"use strict";var n=r(19),i=r(3),o=r(9).getRequest,a=r(13).createOperationDescriptor;e.exports=function(e,t){var r=o(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var s=t.configs,l=t.onCompleted,u=t.onError,c=t.onNext,d=t.variables,f=t.cacheConfig,p=a(r,d);i(!(t.updater&&s),"requestSubscription: Expected only one of `updater` and `configs` to be provided");var h=(s?n.convert(s,r,null,t.updater):t).updater;return{dispose:e.execute({operation:p,updater:h,cacheConfig:f}).map((function(){return e.lookup(p.fragment).data})).subscribe({next:c,error:u,complete:l}).unsubscribe}}}])}));