react-relay 14.1.0 → 15.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (194) hide show
  1. package/ReactRelayContainerUtils.js.flow +1 -0
  2. package/ReactRelayContext.js +1 -1
  3. package/ReactRelayContext.js.flow +1 -0
  4. package/ReactRelayFragmentContainer.js.flow +6 -2
  5. package/ReactRelayFragmentMockRenderer.js.flow +1 -0
  6. package/ReactRelayLocalQueryRenderer.js.flow +5 -3
  7. package/ReactRelayPaginationContainer.js.flow +21 -12
  8. package/ReactRelayQueryFetcher.js.flow +19 -5
  9. package/ReactRelayQueryRenderer.js.flow +32 -1
  10. package/ReactRelayQueryRendererContext.js.flow +1 -0
  11. package/ReactRelayRefetchContainer.js.flow +9 -5
  12. package/ReactRelayTestMocker.js.flow +3 -1
  13. package/ReactRelayTypes.js.flow +1 -0
  14. package/RelayContext.js.flow +1 -0
  15. package/__flowtests__/ReactRelayFragmentContainer-flowtest.js.flow +2 -1
  16. package/__flowtests__/ReactRelayPaginationContainer-flowtest.js.flow +1 -0
  17. package/__flowtests__/ReactRelayRefetchContainer-flowtest.js.flow +1 -0
  18. package/__flowtests__/RelayModern-flowtest.js.flow +1 -0
  19. package/__flowtests__/RelayModernFlowtest_badref.graphql.js.flow +1 -0
  20. package/__flowtests__/RelayModernFlowtest_notref.graphql.js.flow +1 -0
  21. package/__flowtests__/RelayModernFlowtest_user.graphql.js.flow +1 -0
  22. package/__flowtests__/RelayModernFlowtest_users.graphql.js.flow +1 -0
  23. package/__flowtests__/__generated__/ReactRelayFragmentContainerFlowtest_viewer.graphql.js.flow +3 -1
  24. package/__flowtests__/__generated__/ReactRelayFragmentContainerFlowtest_viewer2.graphql.js.flow +3 -1
  25. package/__flowtests__/__generated__/ReactRelayPaginationContainerFlowtestQuery.graphql.js.flow +4 -2
  26. package/__flowtests__/__generated__/ReactRelayPaginationContainerFlowtest_viewer.graphql.js.flow +3 -1
  27. package/__flowtests__/__generated__/ReactRelayRefetchContainerFlowtestQuery.graphql.js.flow +4 -2
  28. package/__flowtests__/__generated__/ReactRelayRefetchContainerFlowtest_viewer.graphql.js.flow +3 -1
  29. package/__flowtests__/__generated__/RelayModernFlowtest_badref.graphql.js.flow +4 -2
  30. package/__flowtests__/__generated__/RelayModernFlowtest_notref.graphql.js.flow +4 -2
  31. package/__flowtests__/__generated__/RelayModernFlowtest_user.graphql.js.flow +3 -1
  32. package/__flowtests__/__generated__/RelayModernFlowtest_users.graphql.js.flow +3 -1
  33. package/assertFragmentMap.js.flow +1 -0
  34. package/buildReactRelayContainer.js.flow +7 -5
  35. package/getRootVariablesForFragments.js.flow +1 -1
  36. package/hooks.js +1 -1
  37. package/hooks.js.flow +4 -0
  38. package/index.js +1 -1
  39. package/index.js.flow +4 -0
  40. package/isRelayEnvironment.js.flow +1 -0
  41. package/jest-react/enqueueTask.js.flow +1 -1
  42. package/jest-react/index.js.flow +1 -1
  43. package/jest-react/internalAct.js.flow +1 -1
  44. package/legacy.js +1 -1
  45. package/legacy.js.flow +1 -0
  46. package/lib/ReactRelayContainerUtils.js +2 -2
  47. package/lib/ReactRelayContext.js +3 -3
  48. package/lib/ReactRelayFragmentContainer.js +39 -66
  49. package/lib/ReactRelayFragmentMockRenderer.js +2 -3
  50. package/lib/ReactRelayLocalQueryRenderer.js +18 -30
  51. package/lib/ReactRelayPaginationContainer.js +66 -159
  52. package/lib/ReactRelayQueryFetcher.js +48 -74
  53. package/lib/ReactRelayQueryRenderer.js +62 -82
  54. package/lib/ReactRelayQueryRendererContext.js +2 -1
  55. package/lib/ReactRelayRefetchContainer.js +52 -99
  56. package/lib/ReactRelayTestMocker.js +32 -66
  57. package/lib/ReactRelayTypes.js +2 -0
  58. package/lib/RelayContext.js +4 -6
  59. package/lib/assertFragmentMap.js +3 -4
  60. package/lib/buildReactRelayContainer.js +10 -25
  61. package/lib/getRootVariablesForFragments.js +5 -8
  62. package/lib/hooks.js +5 -17
  63. package/lib/index.js +5 -24
  64. package/lib/isRelayEnvironment.js +5 -3
  65. package/lib/jest-react/enqueueTask.js +5 -9
  66. package/lib/jest-react/index.js +0 -1
  67. package/lib/jest-react/internalAct.js +9 -20
  68. package/lib/legacy.js +2 -7
  69. package/lib/multi-actor/ActorChange.js +2 -5
  70. package/lib/multi-actor/index.js +2 -1
  71. package/lib/multi-actor/useRelayActorEnvironment.js +4 -7
  72. package/lib/relay-hooks/EntryPointContainer.react.js +9 -14
  73. package/lib/relay-hooks/EntryPointTypes.flow.js +5 -2
  74. package/lib/relay-hooks/FragmentResource.js +102 -196
  75. package/lib/relay-hooks/HooksImplementation.js +2 -5
  76. package/lib/relay-hooks/InternalLogger.js +2 -2
  77. package/lib/relay-hooks/LRUCache.js +2 -19
  78. package/lib/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react.js +33 -53
  79. package/lib/relay-hooks/MatchContainer.js +14 -22
  80. package/lib/relay-hooks/ProfilerContext.js +3 -2
  81. package/lib/relay-hooks/QueryResource.js +30 -99
  82. package/lib/relay-hooks/RelayEnvironmentProvider.js +5 -8
  83. package/lib/relay-hooks/SuspenseResource.js +8 -31
  84. package/lib/relay-hooks/loadEntryPoint.js +19 -31
  85. package/lib/relay-hooks/loadQuery.js +41 -77
  86. package/lib/relay-hooks/preloadQuery_DEPRECATED.js +10 -35
  87. package/lib/relay-hooks/prepareEntryPoint_DEPRECATED.js +9 -14
  88. package/lib/relay-hooks/react-cache/RelayReactCache.js +7 -11
  89. package/lib/relay-hooks/react-cache/getQueryResultOrFetchQuery_REACT_CACHE.js +24 -78
  90. package/lib/relay-hooks/react-cache/readFragmentInternal_REACT_CACHE.js +23 -56
  91. package/lib/relay-hooks/react-cache/useFragmentInternal_REACT_CACHE.js +65 -143
  92. package/lib/relay-hooks/react-cache/useFragment_REACT_CACHE.js +5 -14
  93. package/lib/relay-hooks/react-cache/useLazyLoadQuery_REACT_CACHE.js +17 -23
  94. package/lib/relay-hooks/react-cache/usePaginationFragment_REACT_CACHE.js +73 -74
  95. package/lib/relay-hooks/react-cache/usePreloadedQuery_REACT_CACHE.js +24 -38
  96. package/lib/relay-hooks/react-cache/useRefetchableFragmentInternal_REACT_CACHE.js +60 -102
  97. package/lib/relay-hooks/react-cache/useRefetchableFragment_REACT_CACHE.js +7 -15
  98. package/lib/relay-hooks/useBlockingPaginationFragment.js +71 -92
  99. package/lib/relay-hooks/useClientQuery.js +3 -6
  100. package/lib/relay-hooks/useEntryPointLoader.js +17 -36
  101. package/lib/relay-hooks/useFetchTrackingRef.js +10 -11
  102. package/lib/relay-hooks/useFragment.js +8 -18
  103. package/lib/relay-hooks/useFragmentNode.js +20 -31
  104. package/lib/relay-hooks/useIsMountedRef.js +4 -5
  105. package/lib/relay-hooks/useIsOperationNodeActive.js +8 -20
  106. package/lib/relay-hooks/useIsParentQueryActive.js +3 -6
  107. package/lib/relay-hooks/useLazyLoadQuery.js +6 -9
  108. package/lib/relay-hooks/useLazyLoadQueryNode.js +23 -33
  109. package/lib/relay-hooks/useLoadMoreFunction.js +45 -76
  110. package/lib/relay-hooks/useMemoOperationDescriptor.js +6 -14
  111. package/lib/relay-hooks/useMemoVariables.js +15 -33
  112. package/lib/relay-hooks/useMutation.js +8 -25
  113. package/lib/relay-hooks/usePaginationFragment.js +61 -76
  114. package/lib/relay-hooks/usePreloadedQuery.js +12 -29
  115. package/lib/relay-hooks/useQueryLoader.js +23 -47
  116. package/lib/relay-hooks/useRefetchableFragment.js +8 -18
  117. package/lib/relay-hooks/useRefetchableFragmentNode.js +64 -107
  118. package/lib/relay-hooks/useRelayEnvironment.js +4 -7
  119. package/lib/relay-hooks/useStaticFragmentNodeWarning.js +4 -7
  120. package/lib/relay-hooks/useSubscribeToInvalidationState.js +8 -8
  121. package/lib/relay-hooks/useSubscription.js +5 -9
  122. package/lib/relay-hooks/useUnsafeRef_DEPRECATED.js +29 -0
  123. package/multi-actor/ActorChange.js.flow +1 -1
  124. package/multi-actor/index.js.flow +1 -1
  125. package/multi-actor/useRelayActorEnvironment.js.flow +2 -2
  126. package/package.json +2 -2
  127. package/react-relay-hooks.js +2 -2
  128. package/react-relay-hooks.min.js +2 -2
  129. package/react-relay-legacy.js +2 -2
  130. package/react-relay-legacy.min.js +2 -2
  131. package/react-relay.js +2 -2
  132. package/react-relay.min.js +2 -2
  133. package/relay-hooks/EntryPointContainer.react.js.flow +1 -1
  134. package/relay-hooks/EntryPointTypes.flow.js.flow +7 -5
  135. package/relay-hooks/FragmentResource.js.flow +34 -8
  136. package/relay-hooks/HooksImplementation.js.flow +1 -1
  137. package/relay-hooks/InternalLogger.js.flow +1 -1
  138. package/relay-hooks/LRUCache.js.flow +1 -1
  139. package/relay-hooks/LazyLoadEntryPointContainer_DEPRECATED.react.js.flow +15 -8
  140. package/relay-hooks/MatchContainer.js.flow +1 -1
  141. package/relay-hooks/ProfilerContext.js.flow +1 -1
  142. package/relay-hooks/QueryResource.js.flow +25 -5
  143. package/relay-hooks/RelayEnvironmentProvider.js.flow +2 -2
  144. package/relay-hooks/SuspenseResource.js.flow +1 -1
  145. package/relay-hooks/__flowtests__/EntryPointTypes/EntryPointElementConfig-flowtest.js.flow +3 -1
  146. package/relay-hooks/__flowtests__/EntryPointTypes/NestedEntrypoints-flowtest.js.flow +2 -2
  147. package/relay-hooks/__flowtests__/__generated__/useFragmentFlowtest_user.graphql.js.flow +3 -1
  148. package/relay-hooks/__flowtests__/__generated__/useFragmentFlowtest_users.graphql.js.flow +3 -1
  149. package/relay-hooks/__flowtests__/useBlockingPaginationFragment-flowtest.js.flow +35 -33
  150. package/relay-hooks/__flowtests__/useFragment-flowtest.js.flow +1 -1
  151. package/relay-hooks/__flowtests__/usePaginationFragment-flowtest.js.flow +33 -32
  152. package/relay-hooks/__flowtests__/useRefetchableFragment-flowtest.js.flow +18 -18
  153. package/relay-hooks/__flowtests__/utils.js.flow +13 -2
  154. package/relay-hooks/loadEntryPoint.js.flow +11 -6
  155. package/relay-hooks/loadQuery.js.flow +11 -7
  156. package/relay-hooks/preloadQuery_DEPRECATED.js.flow +5 -6
  157. package/relay-hooks/prepareEntryPoint_DEPRECATED.js.flow +13 -8
  158. package/relay-hooks/react-cache/RelayReactCache.js.flow +1 -1
  159. package/relay-hooks/react-cache/getQueryResultOrFetchQuery_REACT_CACHE.js.flow +4 -4
  160. package/relay-hooks/react-cache/readFragmentInternal_REACT_CACHE.js.flow +3 -3
  161. package/relay-hooks/react-cache/useFragmentInternal_REACT_CACHE.js.flow +4 -4
  162. package/relay-hooks/react-cache/useFragment_REACT_CACHE.js.flow +1 -1
  163. package/relay-hooks/react-cache/useLazyLoadQuery_REACT_CACHE.js.flow +1 -1
  164. package/relay-hooks/react-cache/usePaginationFragment_REACT_CACHE.js.flow +41 -22
  165. package/relay-hooks/react-cache/usePreloadedQuery_REACT_CACHE.js.flow +1 -2
  166. package/relay-hooks/react-cache/useRefetchableFragmentInternal_REACT_CACHE.js.flow +11 -5
  167. package/relay-hooks/react-cache/useRefetchableFragment_REACT_CACHE.js.flow +2 -2
  168. package/relay-hooks/useBlockingPaginationFragment.js.flow +85 -56
  169. package/relay-hooks/useClientQuery.js.flow +1 -1
  170. package/relay-hooks/useEntryPointLoader.js.flow +10 -6
  171. package/relay-hooks/useFetchTrackingRef.js.flow +5 -4
  172. package/relay-hooks/useFragment.js.flow +2 -2
  173. package/relay-hooks/useFragmentNode.js.flow +5 -4
  174. package/relay-hooks/useIsMountedRef.js.flow +1 -1
  175. package/relay-hooks/useIsOperationNodeActive.js.flow +1 -1
  176. package/relay-hooks/useIsParentQueryActive.js.flow +1 -1
  177. package/relay-hooks/useLazyLoadQuery.js.flow +2 -2
  178. package/relay-hooks/useLazyLoadQueryNode.js.flow +2 -2
  179. package/relay-hooks/useLoadMoreFunction.js.flow +14 -9
  180. package/relay-hooks/useMemoOperationDescriptor.js.flow +3 -3
  181. package/relay-hooks/useMemoVariables.js.flow +13 -29
  182. package/relay-hooks/useMutation.js.flow +4 -4
  183. package/relay-hooks/usePaginationFragment.js.flow +53 -46
  184. package/relay-hooks/usePreloadedQuery.js.flow +47 -22
  185. package/relay-hooks/useQueryLoader.js.flow +85 -22
  186. package/relay-hooks/useRefetchableFragment.js.flow +64 -33
  187. package/relay-hooks/useRefetchableFragmentNode.js.flow +10 -4
  188. package/relay-hooks/useRelayEnvironment.js.flow +2 -2
  189. package/relay-hooks/useStaticFragmentNodeWarning.js.flow +3 -3
  190. package/relay-hooks/useSubscribeToInvalidationState.js.flow +2 -2
  191. package/relay-hooks/useSubscription.js.flow +1 -1
  192. package/relay-hooks/useUnsafeRef_DEPRECATED.js.flow +25 -0
  193. package/lib/readContext.js +0 -27
  194. package/readContext.js.flow +0 -29
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Relay v14.1.0
2
+ * Relay v15.0.0
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("react-relay/ReactRelayContext"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["react","relay-runtime","@babel/runtime/helpers/interopRequireDefault","invariant","@babel/runtime/helpers/objectSpread2","fbjs/lib/warning","@babel/runtime/helpers/defineProperty","fbjs/lib/areEqual","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/objectWithoutPropertiesLoose","@babel/runtime/helpers/extends","react-relay/ReactRelayContext","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.ReactRelay=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("react-relay/ReactRelayContext"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):e.ReactRelay=t(e.react,e["relay-runtime"],e["@babel/runtime/helpers/interopRequireDefault"],e.invariant,e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/defineProperty"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@babel/runtime/helpers/extends"],e["react-relay/ReactRelayContext"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,n,o,a,i,s,u,l,c,f,d,p,h){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.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 o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));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=39)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t,r){"use strict";var n=r(3),o=r(0).useContext,a=r(27);e.exports=function(){var e=o(a);return null==e&&n(!1),e.environment}},function(e,t){e.exports=a},function(e,t){e.exports=i},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(3),a=r(0),i=r(1),s=i.Observable,u=i.PreloadableQueryRegistry,l=i.RelayFeatureFlags,c=i.ReplaySubject,f=i.__internal.fetchQueryDeduped,d=i.createOperationDescriptor,p=i.getRequest,h=i.getRequestIdentifier,v=(r(6),null),m=100001;e.exports={loadQuery:function(e,t,r,i,v){var _,y,g;null===(_=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===_||null===(y=_.ReactCurrentDispatcher)||void 0===y||y.current,m++;var b,R,C,P,E,S,x=null!==(g=null==i?void 0:i.fetchPolicy)&&void 0!==g?g:"store-or-network",F=(0,n.default)((0,n.default)({},null==i?void 0:i.networkCacheConfig),{},{force:!0}),q=!1,D=function(t,r){return q=!0,e.executeWithSource({operation:t,source:r})},I=new c,O=s.create((function(e){return I.subscribe(e)})),k=null,N=!1,A=function(t){var n;N=!0;var o=new c;if(!0===l.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var a="raw-network-request-"+h(t,r);n=f(e,a,(function(){return e.getNetwork().execute(t,r,F)}))}else{n=e.getNetwork().execute(t,r,F)}var i=n.subscribe({error:function(e){k=e,o.error(e)},next:function(e){o.next(e)},complete:function(){o.complete()}}).unsubscribe;return R=i,s.create((function(e){var t=o.subscribe(e);return function(){t.unsubscribe(),R()}}))},w=function(t,r){!0===l.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(N=!0);var n=f(e,t.request.identifier,r).subscribe({error:function(e){I.error(e)},next:function(e){I.next(e)},complete:function(){I.complete()}});C=n.unsubscribe},Q=function(t){var n=d(t,r,F);(b=e.retain(n),"store-only"!==x)&&(("store-or-network"!==x||"available"!==e.check(n).status)&&w(n,(function(){var e=A(t.params);return D(n,e)})))};if("PreloadableConcreteRequest"===t.kind){null===(S=(P=t.params).id)&&o(!1);var T=u.get(S);if(null!=T)Q(T);else{var M="store-only"===x?null:A(P),U=u.onLoad(S,(function(t){E();var n=d(t,r,F);b=e.retain(n),null!=M&&w(n,(function(){return D(n,M)}))}));E=U.dispose}}else{var L=p(t);S=null!=(P=L.params).cacheID?P.cacheID:P.id,Q(L)}var j=!1,V=!1,W=!1,H=function(){V||(b&&b.dispose(),V=!0)},B=function(){W||(q?C&&C():R&&R(),E&&E(),W=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:v,dispose:function(){j||(H(),B(),j=!0)},releaseQuery:H,cancelNetworkRequest:B,fetchKey:m,id:S,get isDisposed(){return j||V},get networkError(){return k},name:P.name,networkCacheConfig:F,fetchPolicy:x,source:N?O:void 0,variables:r}},useTrackLoadQueryInRender:function(){var e,t;null===v&&(v=null===(e=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(t=e.ReactCurrentDispatcher)||void 0===t?void 0:t.current)}}},function(e,t,r){"use strict";var n=r(0),o=r(1).__internal.createRelayContext;e.exports=o(n)},function(e,t){e.exports=s},function(e,t,r){"use strict";var n=r(0),o=n.useEffect,a=n.useRef;e.exports=function(){var e=a(!0);return o((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},function(e,t){e.exports=u},function(e,t){e.exports=l},function(e,t,r){"use strict";function n(e){return e.displayName||e.name||"Component"}e.exports={getComponentName:n,getContainerName:function(e){return"Relay("+n(e)+")"}}},function(e,t){e.exports=c},function(e,t,r){"use strict";var n=(0,r(2).default)(r(17)),o=r(41),a=r(14),i=a.getComponentName,s=a.getContainerName,u=r(9),l=r(18),c=r(42),f=r(3),d=r(0),p=r(1).getFragment;e.exports=function(e,t,r){var a=s(e);o(i(e),t);var h={};for(var v in t)h[v]=p(t[v]);var m=r(e,h);function _(e,t){var r,o=c(u);null==o&&f(!1);var a=c(l);return d.createElement(m,(0,n.default)({},e,{__relayContext:o,__rootIsQueryRenderer:null!==(r=null==a?void 0:a.rootIsQueryRenderer)&&void 0!==r&&r,componentRef:e.componentRef||t}))}return m.displayName=a,_.displayName=a,d.forwardRef(_)}},function(e,t){e.exports=f},function(e,t,r){"use strict";var n=r(0);e.exports=n.createContext({rootIsQueryRenderer:!1})},function(e,t,r){"use strict";var n=r(43),o=r(3);function a(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&n(e.environment)}e.exports={assertRelayContext:function(e){return a(e)||o(!1),e},isRelayContext:a}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(7)),o=r(3),a=r(1),i=a.__internal.fetchQuery,s=a.createOperationDescriptor,u=a.isRelayModernEnvironment,l=function(){function e(e){(0,n.default)(this,"_selectionReferences",[]),(0,n.default)(this,"_callOnDataChangeWhenSet",!1),null!=e&&(this._cacheSelectionReference=e.cacheSelectionReference,this._selectionReferences=e.selectionReferences)}var t=e.prototype;return t.getSelectionReferences=function(){return{cacheSelectionReference:this._cacheSelectionReference,selectionReferences:this._selectionReferences}},t.lookupInStore=function(e,t,r){return"store-and-network"!==r&&"store-or-network"!==r||"available"!==e.check(t).status?null:(this._retainCachedOperation(e,t),e.lookup(t.fragment))},t.execute=function(e){var t=this,r=e.environment,n=e.operation,o=e.preservePreviousReferences,a=void 0!==o&&o,s=r.retain(n),l=function(){t._selectionReferences=t._selectionReferences.concat(s)},c=function(){a||t.disposeSelectionReferences(),t._selectionReferences=t._selectionReferences.concat(s)},f=function(){t._selectionReferences=t._selectionReferences.concat(s)};return u(r)?i(r,n).do({error:l,complete:c,unsubscribe:f}):r.execute({operation:n}).do({error:l,complete:c,unsubscribe:f})},t.setOnDataChange=function(e){this._fetchOptions||o(!1),"function"==typeof e&&(this._fetchOptions.onDataChangeCallbacks=this._fetchOptions.onDataChangeCallbacks||[],this._fetchOptions.onDataChangeCallbacks.push(e),this._callOnDataChangeWhenSet&&(null!=this._error?e({error:this._error}):null!=this._snapshot&&e({snapshot:this._snapshot})))},t.fetch=function(e,t){var r,n=this,o=e.environment,a=e.operation,i=e.onDataChange,u=!1;this.disposeRequest();var l=this._fetchOptions&&this._fetchOptions.onDataChangeCallbacks;this._fetchOptions={environment:o,onDataChangeCallbacks:l||[],operation:a},i&&-1===this._fetchOptions.onDataChangeCallbacks.indexOf(i)&&this._fetchOptions.onDataChangeCallbacks.push(i);var c=t?s(a.request.node,a.request.variables,t):a,f=this.execute({environment:o,operation:c}).finally((function(){n._pendingRequest=null})).subscribe({next:function(){n._callOnDataChangeWhenSet=!0,n._error=null,n._onQueryDataAvailable({notifyFirstResult:u})},error:function(e){n._callOnDataChangeWhenSet=!0,n._error=e,n._snapshot=null;var t=n._fetchOptions&&n._fetchOptions.onDataChangeCallbacks;u?t&&t.forEach((function(t){t({error:e})})):r=e}});if(this._pendingRequest={dispose:function(){f.unsubscribe()}},u=!0,r)throw r;return this._snapshot},t.retry=function(e){return this._fetchOptions||o(!1),this.fetch({environment:this._fetchOptions.environment,operation:this._fetchOptions.operation,onDataChange:null},e)},t.dispose=function(){this.disposeRequest(),this.disposeSelectionReferences()},t.disposeRequest=function(){this._error=null,this._snapshot=null,this._pendingRequest&&this._pendingRequest.dispose(),this._rootSubscription&&(this._rootSubscription.dispose(),this._rootSubscription=null)},t._retainCachedOperation=function(e,t){this._disposeCacheSelectionReference(),this._cacheSelectionReference=e.retain(t)},t._disposeCacheSelectionReference=function(){this._cacheSelectionReference&&this._cacheSelectionReference.dispose(),this._cacheSelectionReference=null},t.disposeSelectionReferences=function(){this._disposeCacheSelectionReference(),this._selectionReferences.forEach((function(e){return e.dispose()})),this._selectionReferences=[]},t._onQueryDataAvailable=function(e){var t=this,r=e.notifyFirstResult;this._fetchOptions||o(!1);var n=this._fetchOptions,a=n.environment,i=n.onDataChangeCallbacks,s=n.operation;if(!this._snapshot&&(this._snapshot=a.lookup(s.fragment),this._rootSubscription=a.subscribe(this._snapshot,(function(e){if(null!=t._fetchOptions){var r=t._fetchOptions.onDataChangeCallbacks;Array.isArray(r)&&r.forEach((function(t){return t({snapshot:e})}))}})),this._snapshot&&r&&Array.isArray(i))){var u=this._snapshot;i.forEach((function(e){return e({snapshot:u})}))}},e}();e.exports=l},function(e,t,r){"use strict";var n=r(0).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=n},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(7)),i=r(31),s=r(32),u=r(3),l=r(1).isPromise,c=(r(6),"function"==typeof WeakMap);function f(e){return void 0!==e.request.node.params.metadata.live}function d(e,t,r,n,o){var a=null!=r?r:"store-or-network",i=null!=n?n:e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(a,"-").concat(i,"-").concat(t.request.identifier);return null!=o?"".concat(s,"-").concat(o):s}function p(e,t){var r={__id:e.fragment.dataID,__fragments:(0,a.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:t,fragmentNode:e.request.node.fragment,fragmentRef:r,operation:e}}var h=2e5;function v(e,t,r,n,o,a){var i=f(t),u=n,l=o,c=new s((function(e){var r=e.retain(t);return{dispose:function(){i&&null!=l&&l.unsubscribe(),r.dispose(),a(d)}}})),d={cacheIdentifier:e,id:h++,processedPayloadsCount:0,operationAvailability:r,getValue:function(){return u},setValue:function(e){u=e},setNetworkSubscription:function(e){i&&null!=l&&l.unsubscribe(),l=e},temporaryRetain:function(e){return c.temporaryRetain(e)},permanentRetain:function(e){return c.permanentRetain(e)},releaseTemporaryRetain:function(){c.releaseTemporaryRetain()}};return d}var m=function(){function e(e){var t=this;(0,a.default)(this,"_clearCacheEntry",(function(e){t._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=i.create(1e3)}var t=e.prototype;return t.prepare=function(e,t,r,n,o,a,i){var s=d(this._environment,e,r,n,a);return this.prepareWithIdentifier(s,e,t,r,n,o,i)},t.prepareWithIdentifier=function(e,t,r,n,a,i,s){var u=this._environment,c=null!=n?n:"store-or-network",f=null!=a?a:u.UNSTABLE_getDefaultRenderPolicy(),d=this._cache.get(e),p=null,h=null!=d;null==d&&(d=this._fetchAndSaveQuery(e,t,r,c,f,s,(0,o.default)((0,o.default)({},i),{},{unsubscribe:function(e){null!=p&&p.dispose();var t=null==i?void 0:i.unsubscribe;t&&t(e)}}))),p=d.temporaryRetain(u);var v=d.getValue();if(l(v))throw u.__log({name:"suspense.query",fetchPolicy:c,isPromiseCached:h,operation:t,queryAvailability:d.operationAvailability,renderPolicy:f}),v;if(v instanceof Error)throw v;return v},t.retain=function(e,t){var r=this._environment,n=e.cacheIdentifier,o=e.operation,a=this._getOrCreateCacheEntry(n,o,null,e,null),i=a.permanentRetain(r);return r.__log({name:"queryresource.retain",profilerContext:t,resourceID:a.id}),{dispose:function(){i.dispose()}}},t.releaseTemporaryRetain=function(e){var t=this._cache.get(e.cacheIdentifier);null!=t&&t.releaseTemporaryRetain()},t.TESTS_ONLY__getCacheEntry=function(e,t,r,n){var o=d(this._environment,e,t,r,n);return this._cache.get(o)},t._getOrCreateCacheEntry=function(e,t,r,n,o){var a=this._cache.get(e);return null==a&&(a=v(e,t,r,n,o,this._clearCacheEntry),this._cache.set(e,a)),a},t._fetchAndSaveQuery=function(e,t,r,n,a,i,s){var l,c,d=this,h=this._environment,m=h.check(t),_=m.status,y="available"===_,g=y||"partial"===a&&"stale"!==_,b=function(){};switch(n){case"store-only":l=!1,c=!0;break;case"store-or-network":l=!y,c=g;break;case"store-and-network":l=!0,c=g;break;case"network-only":default:l=!0,c=!1}if(c){var R=p(t,e),C=v(e,t,m,R,null,this._clearCacheEntry);this._cache.set(e,C)}if(l){var P,E=p(t,e);r.subscribe({start:function(r){P=r;var n=d._cache.get(e);n&&n.setNetworkSubscription(P);var a=null==s?void 0:s.start;a&&a((0,o.default)((0,o.default)({},r),{},{unsubscribe:function(){f(t)&&r.unsubscribe()}}))},next:function(){var r=d._getOrCreateCacheEntry(e,t,m,E,P);r.processedPayloadsCount+=1,r.setValue(E),b();var n=null==s?void 0:s.next;null!=n&&n(h.lookup(t.fragment))},error:function(r){var n=d._getOrCreateCacheEntry(e,t,m,r,P);0===n.processedPayloadsCount&&n.setValue(r),b(),P=null,n.setNetworkSubscription(null);var o=null==s?void 0:s.error;o&&o(r)},complete:function(){b(),P=null;var t=d._cache.get(e);t&&t.setNetworkSubscription(null);var r=null==s?void 0:s.complete;r&&r()},unsubscribe:null==s?void 0:s.unsubscribe});var S=this._cache.get(e);if(!S){var x=new Promise((function(e){b=e}));x.displayName="Relay("+t.fragment.node.name+")",S=v(e,t,m,x,P,this._clearCacheEntry),this._cache.set(e,S)}}else{var F=null==s?void 0:s.complete;F&&F()}var q=this._cache.get(e);return null==q&&u(!1),h.__log({name:"queryresource.fetch",resourceID:q.id,operation:t,profilerContext:i,fetchPolicy:n,renderPolicy:a,queryAvailability:m,shouldFetch:l}),q},e}();function _(e){return new m(e)}var y=c?new WeakMap:new Map;e.exports={createQueryResource:_,getQueryResourceForEnvironment:function(e){var t=y.get(e);if(t)return t;var r=_(e);return y.set(e,r),r},getQueryCacheIdentifier:d}},function(e,t,r){"use strict";var n=r(34).getFragmentResourceForEnvironment,o=r(5),a=r(0),i=a.useEffect,s=a.useRef,u=a.useState,l=r(1).getFragmentIdentifier;r(6);e.exports=function(e,t,r){var a=o(),c=n(a),f=s(!1),d=u(0)[1],p=l(e,t),h=c.readWithIdentifier(e,t,p,r),v=s(!0);function m(){!1!==f.current&&!1!==v.current&&d((function(e){return e+1}))}return i((function(){f.current=!0;var e=c.subscribe(h,m);return function(){f.current=!1,e.dispose()}}),[a,p]),{data:h.data,disableStoreUpdates:function(){v.current=!1},enableStoreUpdates:function(){v.current=!0,c.checkMissedUpdates(h)[0]&&m()}}}},function(e,t,r){"use strict";r(6);var n=null;e.exports={inject:function(e){n=e},get:function(){return n}}},function(e,t,r){"use strict";r(0).useRef,r(6);e.exports=function(e,t){}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(1).getSelector;e.exports=function(e,t){var r={};return Object.keys(e).forEach((function(a){var i,s,u,l=e[a],c=t[a],f=o(l,c),d=null!=f&&"PluralReaderSelector"===f.kind?null!==(i=null===(s=f.selectors[0])||void 0===s?void 0:s.owner.variables)&&void 0!==i?i:{}:null!==(u=null==f?void 0:f.owner.variables)&&void 0!==u?u:{};r=(0,n.default)((0,n.default)({},r),d)})),r}},function(e,t){e.exports=d},function(e,t,r){"use strict";var n=r(8).loadQuery;e.exports=function e(t,r,o){var a=null;null==r.root.getModuleIfRequired()&&(a=r.root.load());var i=r.getPreloadProps(o),s=i.queries,u=i.entryPoints,l=i.extraProps,c={},f={};null!=s&&Object.keys(s).forEach((function(e){var r=s[e],o=r.environmentProviderOptions,a=r.options,i=r.parameters,u=r.variables,l=t.getEnvironment(o);c[e]=n(l,i,u,{fetchPolicy:null==a?void 0:a.fetchPolicy,networkCacheConfig:null==a?void 0:a.networkCacheConfig,__nameForWarning:"loadEntryPoint"},o)})),null!=u&&Object.keys(u).forEach((function(r){var n=u[r];if(null!=n){var o=n.entryPoint,a=n.entryPointParams;f[r]=e(t,o,a)}}));var d=!1;return{dispose:function(){d||(null!=c&&Object.values(c).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=l?l:null,getComponent:function(){var e,t=r.root.getModuleIfRequired();if(null==t)throw a=null!==(e=a)&&void 0!==e?e:r.root.load();return null!=t.default?t.default:t},get isDisposed(){return d},queries:c,rootModuleID:r.root.getModuleId()}}},function(e,t,r){"use strict";var n=r(8).useTrackLoadQueryInRender,o=r(30),a=r(35),i=r(5),s=r(1).__internal.fetchQuery;e.exports=function(e,t,r){n();var u=i(),l=a(e,t,r&&r.networkCacheConfig?r.networkCacheConfig:{force:!0});return o({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==r?void 0:r.fetchKey,fetchObservable:s(u,l),fetchPolicy:null==r?void 0:r.fetchPolicy,query:l,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy})}},function(e,t,r){"use strict";var n=r(21),o=r(22),a=o.getQueryCacheIdentifier,i=o.getQueryResourceForEnvironment,s=r(33),u=r(23),l=r(5),c=r(0),f=c.useContext,d=c.useEffect,p=c.useState,h=c.useRef;e.exports=function(e){var t=e.query,r=e.componentDisplayName,o=e.fetchObservable,c=e.fetchPolicy,v=e.fetchKey,m=e.renderPolicy,_=l(),y=f(n),g=i(_),b=p(0),R=b[0],C=b[1],P=s(),E=P.startFetch,S=P.completeFetch,x="".concat(R,"-").concat(null!=v?v:""),F=a(_,t,c,m,x),q=y.wrapPrepareQueryResource((function(){return g.prepareWithIdentifier(F,t,o,c,m,{start:E,complete:S,error:S},y)})),D=h(!1);d((function(){return function(){D.current=!0}}),[]),d((function(){if(!0===D.current)return D.current=!1,void C((function(e){return e+1}));var e=g.retain(q,y);return function(){e.dispose()}}),[_,F]),d((function(){g.releaseTemporaryRetain(q)}));var I=q.fragmentNode,O=q.fragmentRef;return u(I,O,r).data}},function(e,t,r){"use strict";var n=r(3),o=function(){function e(e){this._capacity=e,this._capacity>0||n(!1),this._map=new Map}var t=e.prototype;return t.set=function(e,t){if(this._map.delete(e),this._map.set(e,t),this._map.size>this._capacity){var r=this._map.keys().next();r.done||this._map.delete(r.value)}},t.get=function(e){var t=this._map.get(e);return null!=t&&(this._map.delete(e),this._map.set(e,t)),t},t.has=function(e){return this._map.has(e)},t.delete=function(e){this._map.delete(e)},t.size=function(){return this._map.size},t.capacity=function(){return this._capacity-this._map.size},t.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new o(e)}}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(7)),o=r(3),a=function(){function e(e){var t=this;(0,n.default)(this,"_retainCount",0),(0,n.default)(this,"_retainDisposable",null),(0,n.default)(this,"_releaseTemporaryRetain",null),this._retain=function(r){return t._retainCount++,1===t._retainCount&&(t._retainDisposable=e(r)),{dispose:function(){t._retainCount=Math.max(0,t._retainCount-1),0===t._retainCount&&(null==t._retainDisposable&&o(!1),t._retainDisposable.dispose(),t._retainDisposable=null)}}}}var t=e.prototype;return t.temporaryRetain=function(e){var t,r=this;if(e.isServer())return{dispose:function(){}};var n=this._retain(e),o=null,a=function(){clearTimeout(o),o=null,r._releaseTemporaryRetain=null,n.dispose()};return o=setTimeout(a,3e5),null===(t=this._releaseTemporaryRetain)||void 0===t||t.call(this),this._releaseTemporaryRetain=a,{dispose:function(){var e;null===(e=r._releaseTemporaryRetain)||void 0===e||e.call(r)}}},t.permanentRetain=function(e){var t=this._retain(e);return this.releaseTemporaryRetain(),t},t.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},t.getRetainCount=function(){return this._retainCount},e}();e.exports=a},function(e,t,r){"use strict";var n=r(0),o=n.useCallback,a=n.useEffect,i=n.useRef;e.exports=function(){var e=i(null),t=i(!1),r=o((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),t.current=!1}),[]),n=o((function(r){e.current=r,t.current=!0}),[]),s=o((function(){e.current=null,t.current=!1}),[]);return a((function(){return r}),[r]),{isFetchingRef:t,startFetch:n,disposeFetch:r,completeFetch:s}}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(7)),i=n(r(51)),s=r(31),u=r(22).getQueryResourceForEnvironment,l=r(32),c=r(3),f=r(1),d=f.RelayFeatureFlags,p=f.__internal,h=p.fetchQuery,v=p.getPromiseForActiveRequest,m=f.createOperationDescriptor,_=f.getFragmentIdentifier,y=f.getPendingOperationsForFragment,g=f.getSelector,b=f.getVariablesFromFragment,R=f.handlePotentialSnapshotErrors,C=f.isPromise,P=f.recycleNodesInto,E="function"==typeof WeakMap,S=Object.freeze([]);function x(e){return Array.isArray(e)?e.some((function(e){return e.isMissingData})):e.isMissingData}function F(e){return Array.isArray(e)?e.map((function(e){return e.missingLiveResolverFields})).filter(Boolean).flat():e.missingLiveResolverFields}function q(e,t,r){return Array.isArray(t)?{cacheKey:e,snapshot:t,data:t.map((function(e){return e.data})),isMissingData:x(t),storeEpoch:r}:{cacheKey:e,snapshot:t,data:t.data,isMissingData:x(t),storeEpoch:r}}var D=function(){function e(e){(0,a.default)(this,"_cache",new Map),(0,a.default)(this,"_retainCounts",new Map),this._environment=e}var t=e.prototype;return t.get=function(e){var t,r;return null!==(t=null===(r=this._cache.get(e))||void 0===r?void 0:r[0])&&void 0!==t?t:void 0},t.recordQueryResults=function(e,t){var r=this,n=this._cache.get(e);if(n){var o=n[0],a=n[1];t.forEach((function(e){o.push(e)})),a.temporaryRetain(this._environment)}else{var i=new l((function(){return r._retain(e)}));this._cache.set(e,[t,i]),i.temporaryRetain(this._environment)}},t._retain=function(e){var t,r=this,n=(null!==(t=this._retainCounts.get(e))&&void 0!==t?t:0)+1;return this._retainCounts.set(e,n),{dispose:function(){var t,n=(null!==(t=r._retainCounts.get(e))&&void 0!==t?t:0)-1;n>0?r._retainCounts.set(e,n):(r._retainCounts.delete(e),r._cache.delete(e))}}},e}(),I=function(){function e(e){this._environment=e,this._cache=s.create(1e6),d.ENABLE_CLIENT_EDGES&&(this._clientEdgeQueryResultsCache=new D(e))}var t=e.prototype;return t.read=function(e,t,r,n){return this.readWithIdentifier(e,t,_(e,t),r,n)},t.readWithIdentifier=function(e,t,r,n,o){var a,s,l,f,p=this,h=this._environment;if(null==t)return{cacheKey:r,data:null,isMissingData:!1,snapshot:null,storeEpoch:0};var m=h.getStore().getEpoch();if(!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural)&&(Array.isArray(t)||c(!1),0===t.length))return{cacheKey:r,data:S,isMissingData:!1,snapshot:S,storeEpoch:m};var _=this._cache.get(r);if(null!=_){var y;if("pending"===_.kind&&C(_.promise))throw h.__log({name:"suspense.fragment",data:_.result.data,fragment:e,isRelayHooks:!0,isMissingData:_.result.isMissingData,isPromiseCached:!0,pendingOperations:_.pendingOperations}),_.promise;if("done"===_.kind&&_.result.snapshot&&(null===(y=F(_.result.snapshot))||void 0===y||!y.length))return this._handlePotentialSnapshotErrorsInSnapshot(_.result.snapshot),_.result}var b=g(e,t);null==b&&c(!1);var R="PluralReaderSelector"===b.kind?b.selectors.map((function(e){return h.lookup(e)})):h.lookup(b),P=q(r,R,m);if(!P.isMissingData)return this._handlePotentialSnapshotErrorsInSnapshot(R),this._cache.set(r,{kind:"done",result:P}),P;var E=null;if(d.ENABLE_CLIENT_EDGES&&!0===(null===(s=e.metadata)||void 0===s?void 0:s.hasClientEdges)&&function(e){var t,r;return Array.isArray(e)?e.some((function(e){var t,r;return(null!==(t=null===(r=e.missingClientEdges)||void 0===r?void 0:r.length)&&void 0!==t?t:0)>0})):(null!==(t=null===(r=e.missingClientEdges)||void 0===r?void 0:r.length)&&void 0!==t?t:0)>0}(R)){E=[];var x=u(this._environment),D=[];!function(e,t){Array.isArray(e)?e.forEach(t):t(e)}(R,(function(r){var n;null===(n=r.missingClientEdges)||void 0===n||n.forEach((function(r){var n,o=r.request,a=r.clientEdgeDestinationID,i=p._performClientEdgeQuery(x,e,t,o,a),s=i.queryResult,u=i.requestDescriptor;D.push(s),null===(n=E)||void 0===n||n.push(u)}))})),null==this._clientEdgeQueryResultsCache&&c(!1),this._clientEdgeQueryResultsCache.recordQueryResults(r,D)}var I=[];d.ENABLE_CLIENT_EDGES&&E&&(I=E.map((function(e){return v(p._environment,e)})).filter(Boolean));var O="PluralReaderSelector"===b.kind?b.selectors[0].owner:b.owner,k=this._getAndSavePromiseForFragmentRequestInFlight(r,e,O,P),N=null==k?void 0:k.promise,A=null!==(l=null===(f=F(R))||void 0===f?void 0:f.map((function(e){var t=e.liveStateID;return h.getStore().getLiveResolverPromise(t)})))&&void 0!==l?l:[];if(I.length||A.length||C(N)){var w,Q;h.__log({name:"suspense.fragment",data:P.data,fragment:e,isRelayHooks:!0,isPromiseCached:!1,isMissingData:P.isMissingData,pendingOperations:[].concat((0,i.default)(null!==(w=null==k?void 0:k.pendingOperations)&&void 0!==w?w:[]),(0,i.default)(null!==(Q=E)&&void 0!==Q?Q:[]))});var T=[];if(I.length>0&&(T=T.concat(I)),A.length>0&&(T=T.concat(A)),T.length>0)throw N&&T.push(N),Promise.all(T);if(N)throw N}return this._handlePotentialSnapshotErrorsInSnapshot(R),q(r,R,m)},t._performClientEdgeQuery=function(e,t,r,n,a){var i=b(t,r),s=(0,o.default)((0,o.default)({},i),{},{id:a}),u=m(n,s,{}),l=h(this._environment,u),c=e.prepare(u,l);return{requestDescriptor:u.request,queryResult:c}},t._handlePotentialSnapshotErrorsInSnapshot=function(e){var t=this;Array.isArray(e)?e.forEach((function(e){R(t._environment,e.missingRequiredFields,e.relayResolverErrors)})):R(this._environment,e.missingRequiredFields,e.relayResolverErrors)},t.readSpec=function(e,t,r){var n={};for(var o in e)n[o]=this.read(e[o],t[o],r,o);return n},t.subscribe=function(e,t){var r=this,n=this._environment,o=e.cacheKey,a=e.snapshot;if(!a)return{dispose:function(){}};var i=this.checkMissedUpdates(e),s=i[0],l=i[1];s&&t();var f=[];if(Array.isArray(a)?(Array.isArray(l)||c(!1),l.forEach((function(e,a){f.push(n.subscribe(e,(function(e){var i=n.getStore().getEpoch();r._updatePluralSnapshot(o,l,e,a,i),t()})))}))):((null==l||Array.isArray(l))&&c(!1),f.push(n.subscribe(l,(function(e){var a=n.getStore().getEpoch();r._cache.set(o,{kind:"done",result:q(o,e,a)}),t()})))),d.ENABLE_CLIENT_EDGES){var p,h,v=null!==(p=null===(h=this._clientEdgeQueryResultsCache)||void 0===h?void 0:h.get(o))&&void 0!==p?p:void 0;if(null!=v&&v.length){var m=u(this._environment);v.forEach((function(e){f.push(m.retain(e))}))}}return{dispose:function(){f.forEach((function(e){return e.dispose()})),r._cache.delete(o)}}},t.subscribeSpec=function(e,t){var r=this,n=Object.keys(e).map((function(n){return r.subscribe(e[n],t)}));return{dispose:function(){n.forEach((function(e){e.dispose()}))}}},t.checkMissedUpdates=function(e){var t=this._environment,r=e.snapshot;if(!r)return[!1,null];var n;if(n=t.getStore().getEpoch(),e.storeEpoch===n)return[!1,e.snapshot];var a=e.cacheKey;if(Array.isArray(r)){var i=!1,s=[];return r.forEach((function(e,r){var n=t.lookup(e.selector),a=e.data,u=n.data,l=P(a,u);l!==a&&(n=(0,o.default)((0,o.default)({},n),{},{data:l}),i=!0),s[r]=n})),i&&this._cache.set(a,{kind:"done",result:q(a,s,n)}),[i,s]}var u=t.lookup(r.selector),l=r.data,c=u.data,f=P(l,c),d={data:f,isMissingData:u.isMissingData,missingClientEdges:u.missingClientEdges,missingLiveResolverFields:u.missingLiveResolverFields,seenRecords:u.seenRecords,selector:u.selector,missingRequiredFields:u.missingRequiredFields,relayResolverErrors:u.relayResolverErrors};return f!==l&&this._cache.set(a,{kind:"done",result:q(a,d,n)}),[f!==l,d]},t.checkMissedUpdatesSpec=function(e){var t=this;return Object.keys(e).some((function(r){return t.checkMissedUpdates(e[r])[0]}))},t._getAndSavePromiseForFragmentRequestInFlight=function(e,t,r,n){var o=this,a=y(this._environment,t,r);if(null==a)return null;var i=a.promise,s=a.pendingOperations,u=i.then((function(){o._cache.delete(e)})).catch((function(t){o._cache.delete(e)}));return u.displayName=i.displayName,this._cache.set(e,{kind:"pending",pendingOperations:s,promise:u,result:n}),{promise:u,pendingOperations:s}},t._updatePluralSnapshot=function(e,t,r,n,o){var a,s=this._cache.get(e);if(C(s))O(r.selector.node.name);else{var u=null==s||null===(a=s.result)||void 0===a?void 0:a.snapshot;if(!u||Array.isArray(u)){var l=u?(0,i.default)(u):(0,i.default)(t);l[n]=r,this._cache.set(e,{kind:"done",result:q(e,l,o)})}else O(r.selector.node.name)}},e}();function O(e){c(!1)}function k(e){return new I(e)}var N=E?new WeakMap:new Map;e.exports={createFragmentResource:k,getFragmentResourceForEnvironment:function(e){var t=N.get(e);if(t)return t;var r=k(e);return N.set(e,r),r}}},function(e,t,r){"use strict";var n=r(52),o=r(0),a=r(1),i=a.createOperationDescriptor,s=a.getRequest,u=o.useMemo;e.exports=function(e,t,r){var o=n(t)[0],a=n(r||{})[0];return u((function(){return i(s(e),o,a)}),[e,o,a])}},function(e,t){e.exports=p},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(34).getFragmentResourceForEnvironment,a=r(21),i=r(22).getQueryResourceForEnvironment,s=r(23),u=r(11),l=r(38),c=r(5),f=r(3),d=r(0),p=d.useCallback,h=d.useContext,v=d.useReducer,m=r(1),_=m.__internal.fetchQuery,y=m.createOperationDescriptor,g=m.getFragmentIdentifier,b=m.getRefetchMetadata,R=m.getSelector,C=m.getValueAtPath;r(6);function P(e,t){switch(t.type){case"refetch":var r;return(0,n.default)((0,n.default)({},e),{},{fetchPolicy:t.fetchPolicy,mirroredEnvironment:null!==(r=t.refetchEnvironment)&&void 0!==r?r:e.mirroredEnvironment,onComplete:t.onComplete,refetchEnvironment:t.refetchEnvironment,refetchQuery:t.refetchQuery,renderPolicy:t.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:t.environment,mirroredFragmentIdentifier:t.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw t.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}e.exports=function(e,t,r){var d=c(),m=b(e,r),E=m.refetchableRequest,S=m.fragmentRefPathInResponse,x=m.identifierField,F=g(e,t),q=v(P,{fetchPolicy:void 0,mirroredEnvironment:d,mirroredFragmentIdentifier:F,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),D=q[0],I=q[1],O=D.fetchPolicy,k=D.mirroredEnvironment,N=D.mirroredFragmentIdentifier,A=D.onComplete,w=D.refetchEnvironment,Q=D.refetchQuery,T=D.renderPolicy,M=null!=w?w:d,U=i(M),L=o(M),j=h(a),V=M!==k||F!==N,W=l(E),H=W[0],B=W[1],K=W[2],G=t;if(V)I({type:"reset",environment:M,fragmentIdentifier:F}),K();else if(null!=Q&&null!=H){0;var z=function(e){A&&A(null!=e?e:null)},Y=null!=H.source?H.source:_(M,Q),X=j.wrapPrepareQueryResource((function(){return U.prepare(Q,Y,O,T,{error:z,complete:function(){z()}},H.fetchKey,j)})),J=L.read(X.fragmentNode,X.fragmentRef,r).data;null==J&&f(!1),G=C(J,S)}var Z=s(e,G,r),$=Z.data,ee=Z.disableStoreUpdates,te=Z.enableStoreUpdates;return{fragmentData:$,fragmentRef:G,refetch:function(e,t,r,o,a,i,s,l,c,f,d){var h=u(),v=null!=l&&null!=o&&"object"==typeof o?o[l]:null;return p((function(e,o){if(!0!==h.current)return{dispose:function(){}};var a,s,u=null==o?void 0:o.__environment,p=null==o?void 0:o.fetchPolicy,m=null==o?void 0:o.UNSTABLE_renderPolicy,_=null==o?void 0:o.onComplete,g=R(i,f);if(null==g)a={},s={};else if("PluralReaderSelector"===g.kind){var b,C,P,E;a=null!==(b=null===(C=g.selectors[0])||void 0===C?void 0:C.owner.variables)&&void 0!==b?b:{},s=null!==(P=null===(E=g.selectors[0])||void 0===E?void 0:E.variables)&&void 0!==P?P:{}}else a=g.owner.variables,s=g.variables;var S=(0,n.default)((0,n.default)((0,n.default)({},a),s),e);null==l||e.hasOwnProperty("id")||(S.id=v);var x=y(d,S,{force:!0});return c(x.request.variables,{fetchPolicy:p,__environment:u,__nameForWarning:"refetch"}),t({type:"refetch",fetchPolicy:p,onComplete:_,refetchEnvironment:u,refetchQuery:x,renderPolicy:m}),{dispose:r}}),[a,t,r,v,c])}(0,I,K,$,F,e,0,x,B,t,E),disableStoreUpdates:ee,enableStoreUpdates:te}}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(36)),o=r(8),a=o.loadQuery,i=o.useTrackLoadQueryInRender,s=r(11),u=r(5),l=r(0),c=l.useCallback,f=l.useEffect,d=l.useRef,p=l.useState,h=r(1).getRequest,v={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==h(e).params.metadata.live}e.exports=function(e,t){var r=null!=t?t:v,o=u();i();var l=s(),h=d(new Set([r])),_=p((function(){return r})),y=_[0],g=_[1],b=p((function(){return r})),R=b[0],C=b[1];r!==R&&(h.current.add(r),C(r),g(r));var P=c((function(){l.current&&(h.current.add(v),g(v))}),[l]),E=c((function(t,r){var n=null!=r&&r.hasOwnProperty("__environment")?{fetchPolicy:r.fetchPolicy,networkCacheConfig:r.networkCacheConfig,__nameForWarning:r.__nameForWarning}:r;if(l.current){var i,s=a(null!==(i=null==r?void 0:r.__environment)&&void 0!==i?i:o,e,t,n);h.current.add(s),g(s)}}),[o,e,g,l]),S=d(!1);return f((function(){return function(){S.current=!0}}),[]),f((function(){if(!0===S.current)return S.current=!1,void("NullQueryReference"!==y.kind&&E(y.variables,{fetchPolicy:y.fetchPolicy,networkCacheConfig:y.networkCacheConfig}));var t=h.current;if(l.current){var r,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a===y)break;t.delete(a),"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){o.e(e)}finally{o.f()}}}),[y,l,E,e]),f((function(){return function(){var t,r=(0,n.default)(h.current);try{for(r.s();!(t=r.n()).done;){var o=t.value;"NullQueryReference"!==o.kind&&(m(e)?o.dispose&&o.dispose():o.releaseQuery&&o.releaseQuery())}}catch(e){r.e(e)}finally{r.f()}}}),[e]),["NullQueryReference"===y.kind?null:y,E,P]}},function(e,t,r){"use strict";var n=r(9),o=r(40),a=r(44),i=r(45),s=r(46),u=r(47),l=r(48),c=r(28),f=r(8).loadQuery,d=r(49),p=r(50),h=r(53),v=r(54),m=r(29),_=r(55),y=r(56),g=r(59),b=r(38),R=r(60),C=r(5),P=r(61),E=r(62),S=r(1);e.exports={ConnectionHandler:S.ConnectionHandler,QueryRenderer:s,LocalQueryRenderer:a,MutationTypes:S.MutationTypes,RangeOperations:S.RangeOperations,ReactRelayContext:n,applyOptimisticMutation:S.applyOptimisticMutation,commitLocalUpdate:S.commitLocalUpdate,commitMutation:S.commitMutation,createFragmentContainer:o.createContainer,createPaginationContainer:i.createContainer,createRefetchContainer:u.createContainer,fetchQuery_DEPRECATED:S.fetchQuery_DEPRECATED,graphql:S.graphql,readInlineData:S.readInlineData,requestSubscription:S.requestSubscription,EntryPointContainer:l,RelayEnvironmentProvider:d,fetchQuery:S.fetchQuery,loadQuery:f,loadEntryPoint:c,useClientQuery:p,useFragment:v,useLazyLoadQuery:m,useEntryPointLoader:h,useQueryLoader:b,useMutation:_,usePaginationFragment:y,usePreloadedQuery:g,useRefetchableFragment:R,useRelayEnvironment:C,useSubscribeToInvalidationState:P,useSubscription:E}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(15)),i=n(r(12)),s=n(r(13)),u=n(r(7)),l=["componentRef","__relayContext","__rootIsQueryRenderer"],c=r(16),f=r(14).getContainerName,d=r(19).assertRelayContext,p=r(10),h=r(0),v=r(1),m=v.createFragmentSpecResolver,_=v.getDataIDsFromObject,y=v.isScalarAndEqual;function g(e,t){var r,n=f(e);return r=function(r){function c(e){var o,a;a=r.call(this,e)||this,(0,u.default)((0,i.default)(a),"_handleFragmentDataUpdate",(function(){var e=a.state.resolver;a.setState((function(t){return e===t.resolver?{data:t.resolver.resolve(),relayProp:b(t.relayProp.environment)}:null}))}));var s=d(e.__relayContext),l=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o,c=m(s,n,t,e,l);return a.state={data:c.resolve(),prevProps:e,prevPropsContext:s,relayProp:b(s.environment),resolver:c},a}(0,s.default)(c,r),c.getDerivedStateFromProps=function(e,r){var o,a=r.prevProps,i=d(e.__relayContext),s=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o,u=_(t,a),l=_(t,e),c=r.resolver;if(r.prevPropsContext.environment!==i.environment||!p(u,l))return{data:(c=m(i,n,t,e,s)).resolve(),prevPropsContext:i,prevProps:e,relayProp:b(i.environment),resolver:c};c.setProps(e);var f=c.resolve();return f!==r.data?{data:f,prevProps:e,prevPropsContext:i,relayProp:b(i.environment)}:null};var f=c.prototype;return f.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},f.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},f.componentWillUnmount=function(){this.state.resolver.dispose()},f.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevPropsContext.environment!==this.state.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!y(e[a],this.props[a]))return!0}return!1},f._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},f._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},f.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,l));return h.createElement(e,(0,o.default)((0,o.default)((0,o.default)({},n),this.state.data),{},{ref:r,relay:this.state.relayProp}))},c}(h.Component),(0,u.default)(r,"displayName",n),r}function b(e){return{environment:e}}e.exports={createContainer:function(e,t){return c(e,t,g)}}},function(e,t,r){"use strict";var n=r(3);e.exports=function(e,t){for(var r in t&&"object"==typeof t||n(!1),t)if(t.hasOwnProperty(r)){var o=t[r];(!o||"object"!=typeof o&&"function"!=typeof o)&&n(!1)}}},function(e,t,r){"use strict";var n=r(0).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,o=n.ReactCurrentDispatcher,a=n.ReactCurrentOwner;e.exports=function(e){return(null!=o?o.current:a.currentDispatcher).readContext(e)}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.check&&"function"==typeof e.lookup&&"function"==typeof e.retain&&"function"==typeof e.execute&&"function"==typeof e.subscribe}},function(e,t,r){"use strict";var n=r(9),o=r(18),a=r(10),i=r(0),s=r(1),u=s.createOperationDescriptor,l=(s.deepFreeze,s.getRequest),c=i.useLayoutEffect,f=i.useState,d=i.useRef,p=i.useMemo,h={rootIsQueryRenderer:!0};e.exports=function(e){var t,r,s=e.environment,v=e.query,m=e.variables,_=e.render,y=(t=m,r=i.useRef(t),a(r.current,t)||(r.current=t),r.current),g=p((function(){var e=l(v);return u(e,y)}),[v,y]),b=p((function(){return{environment:s}}),[s]),R=d(null),C=f(null)[1],P=d(null),E=p((function(){s.check(g);var e=s.lookup(g.fragment);R.current=e.data;var t=s.retain(g),r=s.subscribe(e,(function(e){R.current=e.data,C(R.current)})),n=!1;return P.current&&P.current(),P.current=function(){n||(n=!0,P.current=null,t.dispose(),r.dispose())},e}),[s,g]);return c((function(){var e=P.current;return function(){e&&e()}}),[E]),i.createElement(n.Provider,{value:b},i.createElement(o.Provider,{value:h},_({props:R.current})))}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(17)),a=n(r(15)),i=n(r(12)),s=n(r(13)),u=n(r(7)),l=n(r(4)),c=["componentRef"],f=["componentRef","__relayContext","__rootIsQueryRenderer"],d=["componentRef","__relayContext","__rootIsQueryRenderer"],p=r(16),h=r(26),v=r(14),m=v.getComponentName,_=v.getContainerName,y=r(9),g=r(20),b=r(19).assertRelayContext,R=r(10),C=r(3),P=r(0),E=r(1),S=E.ConnectionInterface,x=E.Observable,F=E.RelayFeatureFlags,q=E.createFragmentSpecResolver,D=E.createOperationDescriptor,I=E.getDataIDsFromObject,O=E.getRequest,k=E.getVariablesFromObject,N=E.isScalarAndEqual;r(6);function A(e){return"function"==typeof e?{error:e,complete:e,unsubscribe:function(t){"function"==typeof e&&e()}}:e||{}}function w(e,t,r){m(e);var n,p=_(e),v=function(e){var t=null,r=!1;for(var n in e){var o=e[n],a=o.metadata&&o.metadata.connection;void 0!==o.metadata&&(r=!0),a&&(1!==a.length&&C(!1),t&&C(!1),t=(0,l.default)((0,l.default)({},a[0]),{},{fragmentName:n}))}return r&&null===t&&C(!1),t||{}}(t),E=r.getConnectionFromProps||function(e){var t=e.path;return t||C(!1),function(r){for(var n=r[e.fragmentName],o=0;o<t.length;o++){if(!n||"object"!=typeof n)return null;n=n[t[o]]}return n}}(v),w=r.direction||v.direction;w||C(!1);var Q=r.getFragmentVariables||function(e){var t=e.count;return t||C(!1),function(e,r){return(0,l.default)((0,l.default)({},e),{},(0,u.default)({},t,r))}}(v);return n=function(n){function v(e){var r,o;o=n.call(this,e)||this,(0,u.default)((0,i.default)(o),"_handleFragmentDataUpdate",(function(){o.setState({data:o._resolver.resolve()})})),(0,u.default)((0,i.default)(o),"_hasMore",(function(){var e=o._getConnectionData();return!!(e&&e.hasMore&&e.cursor)})),(0,u.default)((0,i.default)(o),"_isLoading",(function(){return!!o._refetchSubscription})),(0,u.default)((0,i.default)(o),"_refetchConnection",(function(e,t,r){if(!o._canFetchPage("refetchConnection"))return{dispose:function(){}};o._refetchVariables=r;var n={count:e,cursor:null,totalCount:e};return{dispose:o._fetchPage(n,A(t),{force:!0}).unsubscribe}})),(0,u.default)((0,i.default)(o),"_loadMore",(function(e,t,r){if(!o._canFetchPage("loadMore"))return{dispose:function(){}};var n=A(t),a=o._getConnectionData();if(!a)return x.create((function(e){return e.complete()})).subscribe(n),null;var i=a.edgeCount+e;if(r&&r.force)return o._refetchConnection(i,t);var s=S.get(),u=(s.END_CURSOR,s.START_CURSOR,{count:e,cursor:a.cursor,totalCount:i});return{dispose:o._fetchPage(u,n,r).unsubscribe}}));var a=b(e.__relayContext),s=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r;return o._isARequestInFlight=!1,o._refetchSubscription=null,o._refetchVariables=null,!0===F.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?o._resolver=q(a,p,t,e,s):o._resolver=q(a,p,t,e,s,o._handleFragmentDataUpdate),o.state={data:o._resolver.resolve(),prevContext:a,contextForChildren:a,relayProp:o._buildRelayProp(a),resolverGeneration:0},o._isUnmounted=!1,o._hasFetched=!1,o}(0,s.default)(v,n);var m=v.prototype;return m.componentDidMount=function(){this._isUnmounted=!1,!0===F.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},m.componentDidUpdate=function(e,t){!0===F.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&(t.resolverGeneration!==this.state.resolverGeneration?this._subscribeToNewResolverAndRerenderIfStoreHasChanged():this._rerenderIfStoreHasChanged())},m.UNSAFE_componentWillReceiveProps=function(e){var r,n=this,o=b(e.__relayContext),a=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r,i=I(t,this.props),s=I(t,e),u=h(t,this.props),l=h(t,e);o.environment===this.state.prevContext.environment&&R(u,l)&&R(i,s)?this._hasFetched||this._resolver.setProps(e):(this._cleanup(),!0===F.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?this._resolver=q(o,p,t,e,a):this._resolver=q(o,p,t,e,a,this._handleFragmentDataUpdate),this.setState((function(e){return{prevContext:o,contextForChildren:o,relayProp:n._buildRelayProp(o),resolverGeneration:e.resolverGeneration+1}})));var c=this._resolver.resolve();c!==this.state.data&&this.setState({data:c})},m.componentWillUnmount=function(){this._isUnmounted=!0,this._cleanup()},m.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp||r.resolverGeneration!==this.state.resolverGeneration)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevContext.environment!==this.state.prevContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!N(e[a],this.props[a]))return!0}return!1},m._buildRelayProp=function(e){return{hasMore:this._hasMore,isLoading:this._isLoading,loadMore:this._loadMore,refetchConnection:this._refetchConnection,environment:e.environment}},m._rerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();e!==t&&this.setState({data:t})},m._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();this._resolver.setCallback(this.props,this._handleFragmentDataUpdate),e!==t&&this.setState({data:t})},m._getConnectionData=function(){var e=this.props,t=(e.componentRef,(0,a.default)(e,c)),r=(0,l.default)((0,l.default)({},t),this.state.data),n=E(r);if(null==n)return null;var o=S.get(),i=o.EDGES,s=o.PAGE_INFO,u=o.HAS_NEXT_PAGE,f=o.HAS_PREV_PAGE,d=o.END_CURSOR,p=o.START_CURSOR;"object"!=typeof n&&C(!1);var h=n[i],v=n[s];if(null==h||null==v)return null;Array.isArray(h)||C(!1),"object"!=typeof v&&C(!1);var m="forward"===w?v[u]:v[f],_="forward"===w?v[d]:v[p];return"boolean"!=typeof m||0!==h.length&&void 0===_?null:{cursor:_,edgeCount:h.length,hasMore:m}},m._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new g),this._queryFetcher},m._canFetchPage=function(e){return!this._isUnmounted},m._fetchPage=function(e,n,o){var i,s=this,u=b(this.props.__relayContext).environment,c=this.props,d=(c.componentRef,c.__relayContext,c.__rootIsQueryRenderer,(0,a.default)(c,f)),p=(0,l.default)((0,l.default)({},d),this.state.data),v=h(t,d);i=k(t,d),i=(0,l.default)((0,l.default)((0,l.default)({},v),i),this._refetchVariables);var m=r.getVariables(p,{count:e.count,cursor:e.cursor},i);("object"!=typeof m||null===m)&&C(!1),m=(0,l.default)((0,l.default)({},m),this._refetchVariables),i=(0,l.default)((0,l.default)({},m),i);var _=o?{force:!!o.force}:void 0;null!=_&&null!=(null==o?void 0:o.metadata)&&(_.metadata=null==o?void 0:o.metadata);var y=O(r.query),g=D(y,m,_),P=null;this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._hasFetched=!0;var E=function(){s._refetchSubscription===P&&(s._refetchSubscription=null,s._isARequestInFlight=!1)};return this._isARequestInFlight=!0,P=this._getQueryFetcher().execute({environment:u,operation:g,preservePreviousReferences:!0}).mergeMap((function(t){return x.create((function(t){!function(t,r){var n=s._resolver.resolve();s._resolver.setVariables(Q(i,e.totalCount),g.request.node);var o=s._resolver.resolve();R(n,o)?r():s.setState({data:o,contextForChildren:{environment:s.props.__relayContext.environment}},r)}(0,(function(){t.next(),t.complete()}))}))})).do({error:E,complete:E,unsubscribe:E}).subscribe(n||{}),this._refetchSubscription=this._isARequestInFlight?P:null,P},m._cleanup=function(){this._resolver.dispose(),this._refetchVariables=null,this._hasFetched=!1,this._refetchSubscription&&(this._refetchSubscription.unsubscribe(),this._refetchSubscription=null,this._isARequestInFlight=!1),this._queryFetcher&&this._queryFetcher.dispose()},m.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,d));return P.createElement(y.Provider,{value:this.state.contextForChildren},P.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:this.state.relayProp})))},v}(P.Component),(0,u.default)(n,"displayName",p),n}e.exports={createContainer:function(e,t,r){return p(e,t,(function(e,t){return w(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(12)),i=n(r(13)),s=n(r(7)),u=r(9),l=r(20),c=r(18),f=r(10),d=r(0),p=r(1),h=p.createOperationDescriptor,v=(p.deepFreeze,p.getRequest),m={},_={rootIsQueryRenderer:!0},y=function(e){function t(t){var r;r=e.call(this,t)||this,(0,s.default)((0,a.default)(r),"_handleDataChange",(function(e){var t=null==e.error?null:e.error,n=null==e.snapshot?null:e.snapshot;r.setState((function(e){var r=e.requestCacheKey;return r&&delete m[r],n===e.snapshot&&t===e.error?null:{renderProps:g(t,n,e.queryFetcher,e.retryCallbacks),snapshot:n,requestCacheKey:null}}))}));var n,i,u={handleDataChange:null,handleRetryAfterError:null};if(t.query){var c=t.query;i=b(v(c).params,t.variables),n=m[i]?m[i].queryFetcher:new l}else n=new l;return r._maybeHiddenOrFastRefresh=!1,r.state=(0,o.default)({prevPropsEnvironment:t.environment,prevPropsVariables:t.variables,prevQuery:t.query,queryFetcher:n,retryCallbacks:u},C(t,n,u,i)),r}(0,i.default)(t,e),t.getDerivedStateFromProps=function(e,t){return t.prevQuery===e.query&&t.prevPropsEnvironment===e.environment&&f(t.prevPropsVariables,e.variables)?null:R(e,t)};var r=t.prototype;return r.componentDidMount=function(){var e=this;if(!0===this._maybeHiddenOrFastRefresh)return this._maybeHiddenOrFastRefresh=!1,void this.setState((function(t){return R(e.props,t)}));var t=this.state,r=t.retryCallbacks,n=t.queryFetcher,o=t.requestCacheKey;o&&delete m[o],r.handleDataChange=this._handleDataChange,r.handleRetryAfterError=function(t){return e.setState((function(e){var t=e.requestCacheKey;return t&&delete m[t],{renderProps:{error:null,props:null,retry:null},requestCacheKey:null}}))},this.props.query&&n.setOnDataChange(this._handleDataChange)},r.componentDidUpdate=function(e,t){var r=this.state,n=r.queryFetcher,o=r.requestCacheKey;o&&(delete m[o],delete this.state.requestCacheKey),this.props.query&&n!==t.queryFetcher&&n.setOnDataChange(this._handleDataChange)},r.componentWillUnmount=function(){this.state.queryFetcher.dispose(),this._maybeHiddenOrFastRefresh=!0},r.shouldComponentUpdate=function(e,t){return e.render!==this.props.render||t.renderProps!==this.state.renderProps},r.render=function(){var e=this.state,t=e.renderProps,r=e.relayContext;return d.createElement(u.Provider,{value:r},d.createElement(c.Provider,{value:_},this.props.render(t)))},t}(d.Component);function g(e,t,r,n){return{error:e||null,props:t?t.data:null,retry:function(t){var o=r.retry(t);o&&"function"==typeof n.handleDataChange?n.handleDataChange({snapshot:o}):e&&"function"==typeof n.handleRetryAfterError&&n.handleRetryAfterError(e)}}}function b(e,t){return JSON.stringify({id:e.cacheID?e.cacheID:e.id,variables:t})}function R(e,t){var r,n=e.query,a=t.queryFetcher.getSelectionReferences();if(t.queryFetcher.disposeRequest(),n){var i=b(v(n).params,e.variables);r=m[i]?m[i].queryFetcher:new l(a)}else r=new l(a);return(0,o.default)({prevQuery:e.query,prevPropsEnvironment:e.environment,prevPropsVariables:e.variables,queryFetcher:r},C(e,r,t.retryCallbacks))}function C(e,t,r,n){var o=e.environment,a=e.query,i=e.variables,s=e.cacheConfig,u=o;if(!a)return t.dispose(),{error:null,relayContext:{environment:u},renderProps:{error:null,props:{},retry:null},requestCacheKey:null};var l=v(a),c=h(l,i,s),f={environment:u};if("string"==typeof n&&m[n]){var d=m[n].snapshot;return d?{error:null,relayContext:f,renderProps:g(null,d,t,r),snapshot:d,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}try{var p=t.lookupInStore(u,c,e.fetchPolicy),_=t.fetch({environment:u,onDataChange:null,operation:c})||p;return n=n||b(l.params,e.variables),m[n]={queryFetcher:t,snapshot:_},_?{error:null,relayContext:f,renderProps:g(null,_,t,r),snapshot:_,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}catch(e){return{error:e,relayContext:f,renderProps:g(e,null,t,r),snapshot:null,requestCacheKey:n}}}e.exports=y},function(e,t,r){"use strict";var n=r(2).default,o=n(r(17)),a=n(r(15)),i=n(r(4)),s=n(r(12)),u=n(r(13)),l=n(r(7)),c=["componentRef","__relayContext","__rootIsQueryRenderer"],f=r(16),d=r(26),p=r(14).getContainerName,h=r(9),v=r(20),m=r(19).assertRelayContext,_=r(10),y=r(0),g=r(1),b=g.Observable,R=g.createFragmentSpecResolver,C=g.createOperationDescriptor,P=g.getDataIDsFromObject,E=g.getRequest,S=g.getVariablesFromObject,x=g.isScalarAndEqual;r(6);function F(e,t){return{environment:e,refetch:t}}e.exports={createContainer:function(e,t,r){return f(e,t,(function(e,t){return function(e,t,r){var n,f=p(e);return n=function(n){function p(e){var o,a;a=n.call(this,e)||this,(0,l.default)((0,s.default)(a),"_handleFragmentDataUpdate",(function(){var e=a.state.resolver;a.setState((function(t){return e===t.resolver?{data:t.resolver.resolve()}:null}))})),(0,l.default)((0,s.default)(a),"_refetch",(function(e,n,o,s){if(a._isUnmounted)return{dispose:function(){}};var u=m(a.props.__relayContext).environment,l=d(t,a.props),c="function"==typeof e?e(a._getFragmentVariables()):e;c=(0,i.default)((0,i.default)({},l),c);var f=n?(0,i.default)((0,i.default)({},c),n):c,p=s?{force:!!s.force}:void 0;null!=p&&null!=(null==s?void 0:s.metadata)&&(p.metadata=null==s?void 0:s.metadata);var h,v="function"==typeof o?{next:o,error:o}:o||{},_=E(r),y=C(_,c,p);return a.state.localVariables=c,a._refetchSubscription&&a._refetchSubscription.unsubscribe(),null!=a._getQueryFetcher().lookupInStore(u,y,null==s?void 0:s.fetchPolicy)?(a.state.resolver.setVariables(f,y.request.node),a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){v.next&&v.next(),v.complete&&v.complete()})),{dispose:function(){}}):(a._getQueryFetcher().execute({environment:u,operation:y,preservePreviousReferences:!0}).mergeMap((function(e){return a.state.resolver.setVariables(f,y.request.node),b.create((function(e){return a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){e.next(),e.complete()}))}))})).finally((function(){a._refetchSubscription===h&&(a._refetchSubscription=null)})).subscribe((0,i.default)((0,i.default)({},v),{},{start:function(e){a._refetchSubscription=h=e,v.start&&v.start(e)}})),{dispose:function(){h&&h.unsubscribe()}})}));var u=m(e.__relayContext),c=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o;a._refetchSubscription=null;var p=R(u,f,t,e,c);return a.state={data:p.resolve(),localVariables:null,prevProps:e,prevPropsContext:u,contextForChildren:u,relayProp:F(u.environment,a._refetch),resolver:p},a._isUnmounted=!1,a}(0,u.default)(p,n);var g=p.prototype;return g.componentDidMount=function(){this._isUnmounted=!1,this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},g.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},p.getDerivedStateFromProps=function(e,r){var n,o=r.prevProps,a=m(e.__relayContext),i=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,s=P(t,o),u=P(t,e),l=d(t,o),c=d(t,e),p=r.resolver;if(r.prevPropsContext.environment!==a.environment||!_(l,c)||!_(s,u))return{data:(p=R(a,f,t,e,i)).resolve(),localVariables:null,prevProps:e,prevPropsContext:a,contextForChildren:a,relayProp:F(a.environment,r.relayProp.refetch),resolver:p};r.localVariables||p.setProps(e);var h=p.resolve();return h!==r.data?{data:h,prevProps:e}:null},g.componentWillUnmount=function(){this._isUnmounted=!0,this.state.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe()},g.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(this.state.prevPropsContext.environment!==r.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!x(e[a],this.props[a]))return!0}return!1},g._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},g._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},g._getFragmentVariables=function(){return S(t,this.props)},g._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new v),this._queryFetcher},g.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,c)),i=this.state,s=i.relayProp,u=i.contextForChildren;return y.createElement(h.Provider,{value:u},y.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:s})))},p}(y.Component),(0,l.default)(n,"displayName",f),n}(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(21),o=r(5),a=r(0),i=r(0),s=i.useContext,u=i.useEffect;r(6);e.exports=function(e){var t=e.entryPointReference,r=e.props,i=t.getComponent,l=t.queries,c=t.entryPoints,f=t.extraProps,d=t.rootModuleID,p=i(),h=s(n),v=o();return u((function(){v.__log({name:"entrypoint.root.consume",profilerContext:h,rootModuleID:d})}),[v,h,d]),a.createElement(p,{entryPoints:c,extraProps:f,props:r,queries:l})}},function(e,t,r){"use strict";var n=r(0),o=r(27),a=n.useMemo;e.exports=function(e){var t=e.children,r=e.environment,i=e.getEnvironmentForActor,s=a((function(){return{environment:r,getEnvironmentForActor:i}}),[r,i]);return n.createElement(o.Provider,{value:s},t)}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(29);e.exports=function(e,t,r){return o(e,t,(0,n.default)((0,n.default)({},r),{},{fetchPolicy:"store-only"}))}},function(e,t){e.exports=h},function(e,t,r){"use strict";var n=r(10),o=r(0),a=o.useMemo,i=o.useRef,s=o.useState;e.exports=function(e){var t,r,o=i(0),u=s(e),l=u[0],c=u[1];return n(e,l)||(o.current=(null!==(r=o.current)&&void 0!==r?r:0)+1,c(e)),[a((function(){return e}),[o.current]),null!==(t=o.current)&&void 0!==t?t:0]}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(36)),o=r(28),a=r(8).useTrackLoadQueryInRender,i=r(11),s=r(0),u=s.useCallback,l=s.useEffect,c=s.useRef,f=s.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,t,r){var s,p,h,v;a();var m=null!==(s=null==r||null===(p=r.TEST_ONLY__initialEntryPointData)||void 0===p?void 0:p.entryPointReference)&&void 0!==s?s:d,_=null!==(h=null==r||null===(v=r.TEST_ONLY__initialEntryPointData)||void 0===v?void 0:v.entryPointParams)&&void 0!==h?h:null,y=i(),g=c(new Set([m])),b=f(m),R=b[0],C=b[1],P=f(_),E=P[0],S=P[1],x=u((function(){if(y.current){var e={kind:"NullEntryPointReference"};g.current.add(e),C(e)}}),[C,y]),F=u((function(r){if(y.current){var n=o(e,t,r);g.current.add(n),C(n),S(r)}}),[e,t,C,y]),q=c(!1);return l((function(){return function(){q.current=!0}}),[]),l((function(){if(!0===q.current)return q.current=!1,void("NullEntryPointReference"!==R.kind&&null!=E&&F(E));var e=g.current;if(y.current){var t,r=(0,n.default)(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o===R)break;e.delete(o),"NullEntryPointReference"!==o.kind&&o.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[R,E,F,y]),l((function(){return function(){var e,t=(0,n.default)(g.current);try{for(t.s();!(e=t.n()).done;){var r=e.value;"NullEntryPointReference"!==r.kind&&r.dispose()}}catch(e){t.e(e)}finally{t.f()}}}),[]),["NullEntryPointReference"===R.kind?null:R,F,x]}},function(e,t,r){"use strict";var n=r(24),o=r(8).useTrackLoadQueryInRender,a=r(23),i=r(25),s=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){var r=n.get();return r?r.useFragment(e,t):function(e,t){o();var r=s(e);return i(r,"first argument of useFragment()"),a(r,t,"useFragment()").data}(e,t)}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(11),a=r(5),i=r(0),s=r(1).commitMutation,u=i.useState,l=i.useEffect,c=i.useRef,f=i.useCallback;e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=a(),i=o(),d=c(r),p=c(e),h=c(new Set),v=u(!1),m=v[0],_=v[1],y=f((function(t){d.current===r&&p.current===e&&(h.current.delete(t),i.current&&_(h.current.size>0))}),[r,i,e]);l((function(){d.current===r&&p.current===e||(h.current=new Set,i.current&&_(!1),d.current=r,p.current=e)}),[r,i,e]);var g=f((function(o){i.current&&_(!0);var a=t(r,(0,n.default)((0,n.default)({},o),{},{mutation:e,onCompleted:function(e,t){var r;y(a),null===(r=o.onCompleted)||void 0===r||r.call(o,e,t)},onError:function(e){var t;y(a),null===(t=o.onError)||void 0===t||t.call(o,e)},onUnsubscribe:function(){var e;y(a),null===(e=o.onUnsubscribe)||void 0===e||e.call(o)},onNext:function(){var e;null===(e=o.onNext)||void 0===e||e.call(o)}}));return h.current.add(a),a}),[y,t,r,i,e]);return[g,m]}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(24),a=r(57),i=r(37),s=r(25),u=r(0),l=u.useCallback,c=(u.useDebugValue,u.useState),f=r(1),d=f.getFragment,p=f.getFragmentIdentifier,h=f.getPaginationMetadata;function v(e){var t=c(!1),r=t[0],o=t[1],i={start:function(){return o(!0)},complete:function(){return o(!1)},error:function(){return o(!1)}},s=a((0,n.default)((0,n.default)({},e),{},{observer:i,onReset:function(){return o(!1)}}));return[s[0],s[1],r,s[2]]}e.exports=function(e,t){var r=o.get();return r?r.usePaginationFragment(e,t):function(e,t){var r=d(e);s(r,"first argument of usePaginationFragment()");var o=h(r,"usePaginationFragment()"),a=o.connectionPathInFragmentData,u=o.paginationRequest,c=o.paginationMetadata,f=o.identifierField,m=i(r,t,"usePaginationFragment()"),_=m.fragmentData,y=m.fragmentRef,g=m.refetch,b=p(r,y),R=v({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:a,direction:"backward",fragmentData:_,fragmentIdentifier:b,fragmentNode:r,fragmentRef:y,identifierField:f,paginationMetadata:c,paginationRequest:u}),C=R[0],P=R[1],E=R[2],S=R[3],x=v({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:a,direction:"forward",fragmentData:_,fragmentIdentifier:b,fragmentNode:r,fragmentRef:y,identifierField:f,paginationMetadata:c,paginationRequest:u}),F=x[0],q=x[1],D=x[2],I=x[3];return{data:_,loadNext:F,loadPrevious:C,hasNext:q,hasPrevious:P,isLoadingNext:D,isLoadingPrevious:E,refetch:l((function(e,t){return I(),S(),g(e,(0,n.default)((0,n.default)({},t),{},{__environment:void 0}))}),[I,S,g])}}(e,t)}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(33),a=r(11),i=r(58),s=r(5),u=r(3),l=r(0),c=l.useCallback,f=l.useEffect,d=l.useState,p=r(1),h=p.ConnectionInterface,v=p.__internal.fetchQuery,m=p.createOperationDescriptor,_=p.getPaginationVariables,y=p.getSelector,g=p.getValueAtPath;r(6);e.exports=function(e){var t=e.direction,r=e.fragmentNode,l=e.fragmentRef,p=e.fragmentIdentifier,b=e.fragmentData,R=e.connectionPathInFragmentData,C=e.paginationRequest,P=e.paginationMetadata,E=e.componentDisplayName,S=e.observer,x=e.onReset,F=e.identifierField,q=s(),D=o(),I=D.isFetchingRef,O=D.startFetch,k=D.disposeFetch,N=D.completeFetch,A=null!=F&&null!=b&&"object"==typeof b?b[F]:null,w=a(),Q=d(q),T=Q[0],M=Q[1],U=d(p),L=U[0],j=U[1],V=i(r,l);(q!==T||p!==L)&&(k(),x(),M(q),j(p));var W=function(e,t,r,n){var o,a,i=h.get(),s=i.EDGES,l=i.PAGE_INFO,c=i.HAS_NEXT_PAGE,f=i.HAS_PREV_PAGE,d=i.END_CURSOR,p=i.START_CURSOR,v=g(r,n);if(null==v)return{cursor:null,hasMore:!1};"object"!=typeof v&&u(!1);var m=v[s],_=v[l];if(null==m||null==_)return{cursor:null,hasMore:!1};Array.isArray(m)||u(!1),"object"!=typeof _&&u(!1);var y,b="forward"===e?null!==(o=_[d])&&void 0!==o?o:null:null!==(a=_[p])&&void 0!==a?a:null;null!==b&&"string"!=typeof b&&u(!1),y="forward"===e?null!=b&&!0===_[c]:null!=b&&!0===_[f];return{cursor:b,hasMore:y}}(t,0,b,R),H=W.cursor,B=W.hasMore;return f((function(){return function(){k()}}),[k]),[c((function(e,o){var a=null==o?void 0:o.onComplete;if(!0!==w.current)return{dispose:function(){}};var i=y(r,l);if(!0===I.current||null==b||V)return a&&a(null),{dispose:function(){}};(null==i||"PluralReaderSelector"===i.kind)&&u(!1);var s=i.owner.variables,c=i.variables,f=null==o?void 0:o.UNSTABLE_extraVariables,d=(0,n.default)((0,n.default)({},s),c),p=_(t,e,H,d,(0,n.default)({},f),P);null!=F&&(p.id=A);var h=m(C,p,{force:!0});return v(q,h).subscribe((0,n.default)((0,n.default)({},S),{},{start:function(e){O(e),S.start&&S.start(e)},complete:function(){N(),S.complete&&S.complete(),a&&a(null)},error:function(e){N(),S.error&&S.error(e),a&&a(e)}})),{dispose:k}}),[q,A,t,H,O,k,N,I,V,b,r.name,l,E]),B,k]}},function(e,t,r){"use strict";var n=r(5),o=r(3),a=r(0),i=r(1),s=i.__internal.getObservableForActiveRequest,u=i.getSelector,l=a.useEffect,c=a.useState,f=a.useMemo;e.exports=function(e,t){var r=n(),a=f((function(){var n=u(e,t);return null==n?null:("SingularReaderSelector"!==n.kind&&o(!1),s(r,n.owner))}),[r,e,t]),i=c(null!=a),d=i[0],p=i[1];return l((function(){var e;if(p(null!=a),null!=a){var t=function(){p(!1)};e=a.subscribe({complete:t,error:t})}return function(){e&&e.unsubscribe()}}),[a]),d}},function(e,t,r){"use strict";var n=r(8).useTrackLoadQueryInRender,o=r(30),a=r(35),i=r(5),s=r(3),u=(r(0).useDebugValue,r(1).__internal),l=u.fetchQueryDeduped,c=u.fetchQuery;r(6);e.exports=function(e,t,r){n();var u,f=i(),d=t.fetchKey,p=t.fetchPolicy,h=t.source,v=t.variables,m=t.networkCacheConfig,_=a(e,v,m);if("PreloadedQuery_DEPRECATED"===t.kind)_.request.node.params.name!==t.name&&s(!1),u={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:l(f,_.request.identifier,(function(){return f===t.environment&&null!=h?f.executeWithSource({operation:_,source:h}):f.execute({operation:_})})),fetchPolicy:p,query:_,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy};else{var y=c(f,_);u={componentDisplayName:"usePreloadedQuery()",fetchObservable:null!=h&&f===t.environment?h.ifEmpty(y):(t.environment,y),fetchKey:d,fetchPolicy:p,query:_,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy}}return o(u)}},function(e,t,r){"use strict";var n=r(24),o=r(37),a=r(25),i=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){var r=n.get();return r?r.useRefetchableFragment(e,t):function(e,t){var r=i(e);a(r,"first argument of useRefetchableFragment()");var n=o(r,t,"useRefetchableFragment()");return[n.fragmentData,n.refetch]}(e,t)}},function(e,t,r){"use strict";var n=r(5),o=r(0),a=o.useEffect,i=o.useRef;e.exports=function(e,t){var r=n(),o=i(null),s=Array.from(e).sort().join("");return a((function(){var n=r.getStore(),a=n.lookupInvalidationState(e),i=n.subscribeToInvalidationState(a,t);return o.current=i,function(){return i.dispose()}}),[s,t,r]),{dispose:function(){null!=o.current&&o.current.dispose()}}}},function(e,t,r){"use strict";var n=r(5),o=r(0).useEffect,a=r(1).requestSubscription;e.exports=function(e,t){var r=null!=t?t:a,i=n();o((function(){return r(i,e).dispose}),[i,e,r])}}])}));
9
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["react","relay-runtime","@babel/runtime/helpers/interopRequireDefault","invariant","@babel/runtime/helpers/objectSpread2","fbjs/lib/warning","@babel/runtime/helpers/defineProperty","fbjs/lib/areEqual","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/objectWithoutPropertiesLoose","@babel/runtime/helpers/extends","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.ReactRelay=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):e.ReactRelay=t(e.react,e["relay-runtime"],e["@babel/runtime/helpers/interopRequireDefault"],e.invariant,e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/defineProperty"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@babel/runtime/helpers/extends"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,n,o,a,i,s,u,l,c,f,d,h){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.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 o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));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=39)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t,r){"use strict";var n=r(7),o=r(3),a=r(0).useContext;e.exports=function(){var e=a(n);return null==e&&o(!1),e.environment}},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(0),o=r(1).__internal.createRelayContext;e.exports=o(n)},function(e,t){e.exports=i},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(3),a=r(0),i=r(1),s=i.__internal.fetchQueryDeduped,u=i.Observable,l=i.PreloadableQueryRegistry,c=i.RelayFeatureFlags,f=i.ReplaySubject,d=i.createOperationDescriptor,h=i.getRequest,p=i.getRequestIdentifier,v=(r(6),null),m=100001;e.exports={loadQuery:function(e,t,r,i,v){var _,y,g;null===(_=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===_||null===(y=_.ReactCurrentDispatcher)||void 0===y||y.current,m++;var b,R,C,E,P,S,F=null!==(g=null==i?void 0:i.fetchPolicy)&&void 0!==g?g:"store-or-network",x=(0,n.default)((0,n.default)({},null==i?void 0:i.networkCacheConfig),{},{force:!0}),q=!1,D=function(t,r){return q=!0,e.executeWithSource({operation:t,source:r})},I=new f,O=u.create((function(e){return I.subscribe(e)})),k=null,N=!1,A=function(t){var n;N=!0;var o=new f;if(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var a="raw-network-request-"+p(t,r);n=s(e,a,(function(){return e.getNetwork().execute(t,r,x)}))}else{n=e.getNetwork().execute(t,r,x)}var i=n.subscribe({error:function(e){k=e,o.error(e)},next:function(e){o.next(e)},complete:function(){o.complete()}}).unsubscribe;return R=i,u.create((function(e){var t=o.subscribe(e);return function(){t.unsubscribe(),R()}}))},w=function(t,r){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(N=!0);var n=s(e,t.request.identifier,r).subscribe({error:function(e){I.error(e)},next:function(e){I.next(e)},complete:function(){I.complete()}});C=n.unsubscribe},Q=function(t){var n=d(t,r,x);(b=e.retain(n),"store-only"!==F)&&(("store-or-network"!==F||"available"!==e.check(n).status)&&w(n,(function(){var e=A(t.params);return D(n,e)})))};if("PreloadableConcreteRequest"===t.kind){null===(S=(E=t.params).id)&&o(!1);var T=l.get(S);if(null!=T)Q(T);else{var M="store-only"===F?null:A(E),U=l.onLoad(S,(function(t){P();var n=d(t,r,x);b=e.retain(n),null!=M&&w(n,(function(){return D(n,M)}))}));P=U.dispose}}else{var L=h(t);S=null!=(E=L.params).cacheID?E.cacheID:E.id,Q(L)}var j=!1,V=!1,H=!1,B=function(){V||(b&&b.dispose(),V=!0)},K=function(){H||(q?C&&C():R&&R(),P&&P(),H=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:v,dispose:function(){j||(B(),K(),j=!0)},releaseQuery:B,cancelNetworkRequest:K,fetchKey:m,id:S,get isDisposed(){return j||V},get networkError(){return k},name:E.name,networkCacheConfig:x,fetchPolicy:F,source:N?O:void 0,variables:r}},useTrackLoadQueryInRender:function(){var e,t;null===v&&(v=null===(e=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(t=e.ReactCurrentDispatcher)||void 0===t?void 0:t.current)}}},function(e,t){e.exports=s},function(e,t,r){"use strict";var n=r(0),o=n.useEffect,a=n.useRef;e.exports=function(){var e=a(!0);return o((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},function(e,t){e.exports=u},function(e,t){e.exports=l},function(e,t,r){"use strict";function n(e){return e.displayName||e.name||"Component"}e.exports={getComponentName:n,getContainerName:function(e){return"Relay("+n(e)+")"}}},function(e,t,r){"use strict";var n=r(0).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=n},function(e,t){e.exports=c},function(e,t,r){"use strict";var n=(0,r(2).default)(r(18)),o=r(41),a=r(14),i=a.getComponentName,s=a.getContainerName,u=r(7),l=r(19),c=r(3),f=r(0),d=r(1).getFragment,h=f.useContext;e.exports=function(e,t,r){var a=s(e);o(i(e),t);var p={};for(var v in t)p[v]=d(t[v]);var m=r(e,p);function _(e,t){var r,o=h(u);null==o&&c(!1);var a=h(l);return f.createElement(m,(0,n.default)({},e,{__relayContext:o,__rootIsQueryRenderer:null!==(r=null==a?void 0:a.rootIsQueryRenderer)&&void 0!==r&&r,componentRef:e.componentRef||t}))}return m.displayName=a,_.displayName=a,f.forwardRef(_)}},function(e,t){e.exports=f},function(e,t,r){"use strict";var n=r(0);e.exports=n.createContext({rootIsQueryRenderer:!1})},function(e,t,r){"use strict";var n=r(42),o=r(3);function a(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&n(e.environment)}e.exports={assertRelayContext:function(e){return a(e)||o(!1),e},isRelayContext:a}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(8)),o=r(3),a=r(1),i=a.__internal.fetchQuery,s=a.createOperationDescriptor,u=a.isRelayModernEnvironment,l=function(){function e(e){(0,n.default)(this,"_selectionReferences",[]),(0,n.default)(this,"_didFetchFinish",!1),null!=e&&(this._cacheSelectionReference=e.cacheSelectionReference,this._selectionReferences=e.selectionReferences)}var t=e.prototype;return t.getSelectionReferences=function(){return{cacheSelectionReference:this._cacheSelectionReference,selectionReferences:this._selectionReferences}},t.lookupInStore=function(e,t,r){return"store-and-network"!==r&&"store-or-network"!==r||"available"!==e.check(t).status?null:(this._retainCachedOperation(e,t),e.lookup(t.fragment))},t.getFetchResult=function(){return this._didFetchFinish?null!=this._error?{error:this._error}:null!=this._snapshot?{snapshot:this._snapshot}:void 0:null},t.execute=function(e){var t=this,r=e.environment,n=e.operation,o=e.preservePreviousReferences,a=void 0!==o&&o,s=r.retain(n),l=function(){t._selectionReferences=t._selectionReferences.concat(s)},c=function(){a||t.disposeSelectionReferences(),t._selectionReferences=t._selectionReferences.concat(s)},f=function(){t._selectionReferences=t._selectionReferences.concat(s)};return u(r)?i(r,n).do({error:l,complete:c,unsubscribe:f}):r.execute({operation:n}).do({error:l,complete:c,unsubscribe:f})},t.setOnDataChange=function(e){this._fetchOptions||o(!1),"function"==typeof e&&(this._fetchOptions.onDataChangeCallbacks=this._fetchOptions.onDataChangeCallbacks||[],this._fetchOptions.onDataChangeCallbacks.push(e),this._didFetchFinish&&(null!=this._error?e({error:this._error}):null!=this._snapshot&&e({snapshot:this._snapshot})))},t.fetch=function(e,t){var r,n=this,o=e.environment,a=e.operation,i=e.onDataChange,u=!1;this.disposeRequest();var l=this._fetchOptions&&this._fetchOptions.onDataChangeCallbacks;this._fetchOptions={environment:o,onDataChangeCallbacks:l||[],operation:a},i&&-1===this._fetchOptions.onDataChangeCallbacks.indexOf(i)&&this._fetchOptions.onDataChangeCallbacks.push(i);var c=t?s(a.request.node,a.request.variables,t):a,f=this.execute({environment:o,operation:c}).finally((function(){n._pendingRequest=null})).subscribe({next:function(){n._didFetchFinish=!0,n._error=null,n._onQueryDataAvailable({notifyFirstResult:u})},error:function(e){n._didFetchFinish=!0,n._error=e,n._snapshot=null;var t=n._fetchOptions&&n._fetchOptions.onDataChangeCallbacks;u?t&&t.forEach((function(t){t({error:e})})):r=e}});if(this._pendingRequest={dispose:function(){f.unsubscribe()}},u=!0,r)throw r;return this._snapshot},t.retry=function(e){return this._fetchOptions||o(!1),this.fetch({environment:this._fetchOptions.environment,operation:this._fetchOptions.operation,onDataChange:null},e)},t.dispose=function(){this.disposeRequest(),this.disposeSelectionReferences()},t.disposeRequest=function(){this._error=null,this._snapshot=null,this._pendingRequest&&this._pendingRequest.dispose(),this._rootSubscription&&(this._rootSubscription.dispose(),this._rootSubscription=null)},t._retainCachedOperation=function(e,t){this._disposeCacheSelectionReference(),this._cacheSelectionReference=e.retain(t)},t._disposeCacheSelectionReference=function(){this._cacheSelectionReference&&this._cacheSelectionReference.dispose(),this._cacheSelectionReference=null},t.disposeSelectionReferences=function(){this._disposeCacheSelectionReference(),this._selectionReferences.forEach((function(e){return e.dispose()})),this._selectionReferences=[]},t._onQueryDataAvailable=function(e){var t=this,r=e.notifyFirstResult;this._fetchOptions||o(!1);var n=this._fetchOptions,a=n.environment,i=n.onDataChangeCallbacks,s=n.operation;if(!this._snapshot&&(this._snapshot=a.lookup(s.fragment),this._rootSubscription=a.subscribe(this._snapshot,(function(e){if(null!=t._fetchOptions){var r=t._fetchOptions.onDataChangeCallbacks;Array.isArray(r)&&r.forEach((function(t){return t({snapshot:e})}))}})),this._snapshot&&r&&Array.isArray(i))){var u=this._snapshot;i.forEach((function(e){return e({snapshot:u})}))}},e}();e.exports=l},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(8)),i=r(31),s=r(32),u=r(3),l=r(1).isPromise,c=(r(6),"function"==typeof WeakMap);function f(e){return void 0!==e.request.node.params.metadata.live}function d(e,t,r,n,o){var a=null!=r?r:f(t)?"store-and-network":"store-or-network",i=null!=n?n:e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(a,"-").concat(i,"-").concat(t.request.identifier);return null!=o?"".concat(s,"-").concat(o):s}function h(e,t){var r={__id:e.fragment.dataID,__fragments:(0,a.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:t,fragmentNode:e.request.node.fragment,fragmentRef:r,operation:e}}var p=2e5;function v(e,t,r,n,o,a){var i=f(t),u=n,l=o,c=new s((function(e){var r=e.retain(t);return{dispose:function(){i&&null!=l&&l.unsubscribe(),r.dispose(),a(d)}}})),d={cacheIdentifier:e,id:p++,processedPayloadsCount:0,operationAvailability:r,getValue:function(){return u},setValue:function(e){u=e},setNetworkSubscription:function(e){i&&null!=l&&l.unsubscribe(),l=e},temporaryRetain:function(e){return c.temporaryRetain(e)},permanentRetain:function(e){return c.permanentRetain(e)},releaseTemporaryRetain:function(){c.releaseTemporaryRetain()}};return d}var m=function(){function e(e){var t=this;(0,a.default)(this,"_clearCacheEntry",(function(e){t._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=i.create(1e3)}var t=e.prototype;return t.prepare=function(e,t,r,n,o,a,i){var s=d(this._environment,e,r,n,a);return this.prepareWithIdentifier(s,e,t,r,n,o,i)},t.prepareWithIdentifier=function(e,t,r,n,a,i,s){var u=this._environment,c=null!=n?n:f(t)?"store-and-network":"store-or-network",d=null!=a?a:u.UNSTABLE_getDefaultRenderPolicy(),h=this._cache.get(e),p=null,v=null!=h;null==h&&(h=this._fetchAndSaveQuery(e,t,r,c,d,s,(0,o.default)((0,o.default)({},i),{},{unsubscribe:function(e){null!=p&&p.dispose();var t=null==i?void 0:i.unsubscribe;t&&t(e)}}))),p=h.temporaryRetain(u);var m=h.getValue();if(l(m))throw u.__log({name:"suspense.query",fetchPolicy:c,isPromiseCached:v,operation:t,queryAvailability:h.operationAvailability,renderPolicy:d}),m;if(m instanceof Error)throw m;return m},t.retain=function(e,t){var r=this._environment,n=e.cacheIdentifier,o=e.operation,a=this._getOrCreateCacheEntry(n,o,null,e,null),i=a.permanentRetain(r);return r.__log({name:"queryresource.retain",profilerContext:t,resourceID:a.id}),{dispose:function(){i.dispose()}}},t.releaseTemporaryRetain=function(e){var t=this._cache.get(e.cacheIdentifier);null!=t&&t.releaseTemporaryRetain()},t.TESTS_ONLY__getCacheEntry=function(e,t,r,n){var o=d(this._environment,e,t,r,n);return this._cache.get(o)},t._getOrCreateCacheEntry=function(e,t,r,n,o){var a=this._cache.get(e);return null==a&&(a=v(e,t,r,n,o,this._clearCacheEntry),this._cache.set(e,a)),a},t._fetchAndSaveQuery=function(e,t,r,n,a,i,s){var l,c,d=this,p=this._environment,m=p.check(t),_=m.status,y="available"===_,g=y||"partial"===a&&"stale"!==_,b=function(){};switch(n){case"store-only":l=!1,c=!0;break;case"store-or-network":l=!y,c=g;break;case"store-and-network":l=!0,c=g;break;case"network-only":default:l=!0,c=!1}if(c){var R=h(t,e),C=v(e,t,m,R,null,this._clearCacheEntry);this._cache.set(e,C)}if(l){var E,P=h(t,e);r.subscribe({start:function(r){E=r;var n=d._cache.get(e);n&&n.setNetworkSubscription(E);var a=null==s?void 0:s.start;a&&a((0,o.default)((0,o.default)({},r),{},{unsubscribe:function(){f(t)&&r.unsubscribe()}}))},next:function(){var r=d._getOrCreateCacheEntry(e,t,m,P,E);r.processedPayloadsCount+=1,r.setValue(P),b();var n=null==s?void 0:s.next;null!=n&&n(p.lookup(t.fragment))},error:function(r){var n=d._getOrCreateCacheEntry(e,t,m,r,E);0===n.processedPayloadsCount&&n.setValue(r),b(),E=null,n.setNetworkSubscription(null);var o=null==s?void 0:s.error;o&&o(r)},complete:function(){b(),E=null;var t=d._cache.get(e);t&&t.setNetworkSubscription(null);var r=null==s?void 0:s.complete;r&&r()},unsubscribe:null==s?void 0:s.unsubscribe});var S=this._cache.get(e);if(!S){var F=new Promise((function(e){b=e}));F.displayName="Relay("+t.fragment.node.name+")",S=v(e,t,m,F,E,this._clearCacheEntry),this._cache.set(e,S)}}else{var x=null==s?void 0:s.complete;x&&x()}var q=this._cache.get(e);return null==q&&u(!1),p.__log({name:"queryresource.fetch",resourceID:q.id,operation:t,profilerContext:i,fetchPolicy:n,renderPolicy:a,queryAvailability:m,shouldFetch:l}),q},e}();function _(e){return new m(e)}var y=c?new WeakMap:new Map;e.exports={createQueryResource:_,getQueryResourceForEnvironment:function(e){var t=y.get(e);if(t)return t;var r=_(e);return y.set(e,r),r},getQueryCacheIdentifier:d}},function(e,t,r){"use strict";var n=r(0).useMemo;e.exports=function(e){return n((function(){return{current:e}}),[])}},function(e,t,r){"use strict";var n=r(34).getFragmentResourceForEnvironment,o=r(5),a=r(23),i=r(0),s=i.useEffect,u=i.useState,l=r(1).getFragmentIdentifier;r(6);e.exports=function(e,t,r){var i=o(),c=n(i),f=a(!1),d=u(0)[1],h=l(e,t),p=c.readWithIdentifier(e,t,h,r),v=a(!0);function m(){!1!==f.current&&!1!==v.current&&d((function(e){return e+1}))}return s((function(){f.current=!0;var e=c.subscribe(p,m);return function(){f.current=!1,e.dispose()}}),[i,h]),{data:p.data,disableStoreUpdates:function(){v.current=!1},enableStoreUpdates:function(){v.current=!0,c.checkMissedUpdates(p)[0]&&m()}}}},function(e,t,r){"use strict";r(6);var n=null;e.exports={inject:function(e){n=e},get:function(){return n}}},function(e,t,r){"use strict";r(23),r(6);e.exports=function(e,t){}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(1).getSelector;e.exports=function(e,t){var r={};return Object.keys(e).forEach((function(a){var i,s,u,l=e[a],c=t[a],f=o(l,c),d=null!=f&&"PluralReaderSelector"===f.kind?null!==(i=null===(s=f.selectors[0])||void 0===s?void 0:s.owner.variables)&&void 0!==i?i:{}:null!==(u=null==f?void 0:f.owner.variables)&&void 0!==u?u:{};r=(0,n.default)((0,n.default)({},r),d)})),r}},function(e,t,r){"use strict";var n=r(9).loadQuery;e.exports=function e(t,r,o){var a=null;null==r.root.getModuleIfRequired()&&(a=r.root.load());var i=r.getPreloadProps(o),s=i.queries,u=i.entryPoints,l=i.extraProps,c={},f={};null!=s&&Object.keys(s).forEach((function(e){var r=s[e],o=r.environmentProviderOptions,a=r.options,i=r.parameters,u=r.variables,l=t.getEnvironment(o);c[e]=n(l,i,u,{fetchPolicy:null==a?void 0:a.fetchPolicy,networkCacheConfig:null==a?void 0:a.networkCacheConfig,__nameForWarning:"loadEntryPoint"},o)})),null!=u&&Object.keys(u).forEach((function(r){var n=u[r];if(null!=n){var o=n.entryPoint,a=n.entryPointParams;f[r]=e(t,o,a)}}));var d=!1;return{dispose:function(){d||(null!=c&&Object.values(c).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=l?l:null,getComponent:function(){var e,t=r.root.getModuleIfRequired();if(null==t)throw a=null!==(e=a)&&void 0!==e?e:r.root.load();return null!=t.default?t.default:t},get isDisposed(){return d},queries:c,rootModuleID:r.root.getModuleId()}}},function(e,t,r){"use strict";var n=r(9).useTrackLoadQueryInRender,o=r(30),a=r(35),i=r(5),s=r(1).__internal.fetchQuery;e.exports=function(e,t,r){n();var u=i(),l=a(e,t,r&&r.networkCacheConfig?r.networkCacheConfig:{force:!0});return o({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==r?void 0:r.fetchKey,fetchObservable:s(u,l),fetchPolicy:null==r?void 0:r.fetchPolicy,query:l,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy})}},function(e,t,r){"use strict";var n=r(15),o=r(22),a=o.getQueryCacheIdentifier,i=o.getQueryResourceForEnvironment,s=r(33),u=r(24),l=r(5),c=r(0),f=c.useContext,d=c.useEffect,h=c.useState,p=c.useRef;e.exports=function(e){var t=e.query,r=e.componentDisplayName,o=e.fetchObservable,c=e.fetchPolicy,v=e.fetchKey,m=e.renderPolicy,_=l(),y=f(n),g=i(_),b=h(0),R=b[0],C=b[1],E=s(),P=E.startFetch,S=E.completeFetch,F="".concat(R,"-").concat(null!=v?v:""),x=a(_,t,c,m,F),q=y.wrapPrepareQueryResource((function(){return g.prepareWithIdentifier(x,t,o,c,m,{start:P,complete:S,error:S},y)})),D=p(!1);d((function(){return function(){D.current=!0}}),[]),d((function(){if(!0===D.current)return D.current=!1,void C((function(e){return e+1}));var e=g.retain(q,y);return function(){e.dispose()}}),[_,x]),d((function(){g.releaseTemporaryRetain(q)}));var I=q.fragmentNode,O=q.fragmentRef;return u(I,O,r).data}},function(e,t,r){"use strict";var n=r(3),o=function(){function e(e){this._capacity=e,this._capacity>0||n(!1),this._map=new Map}var t=e.prototype;return t.set=function(e,t){if(this._map.delete(e),this._map.set(e,t),this._map.size>this._capacity){var r=this._map.keys().next();r.done||this._map.delete(r.value)}},t.get=function(e){var t=this._map.get(e);return null!=t&&(this._map.delete(e),this._map.set(e,t)),t},t.has=function(e){return this._map.has(e)},t.delete=function(e){this._map.delete(e)},t.size=function(){return this._map.size},t.capacity=function(){return this._capacity-this._map.size},t.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new o(e)}}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(8)),o=r(3),a=function(){function e(e){var t=this;(0,n.default)(this,"_retainCount",0),(0,n.default)(this,"_retainDisposable",null),(0,n.default)(this,"_releaseTemporaryRetain",null),this._retain=function(r){return t._retainCount++,1===t._retainCount&&(t._retainDisposable=e(r)),{dispose:function(){t._retainCount=Math.max(0,t._retainCount-1),0===t._retainCount&&(null==t._retainDisposable&&o(!1),t._retainDisposable.dispose(),t._retainDisposable=null)}}}}var t=e.prototype;return t.temporaryRetain=function(e){var t,r=this;if(e.isServer())return{dispose:function(){}};var n=this._retain(e),o=null,a=function(){clearTimeout(o),o=null,r._releaseTemporaryRetain=null,n.dispose()};return o=setTimeout(a,3e5),null===(t=this._releaseTemporaryRetain)||void 0===t||t.call(this),this._releaseTemporaryRetain=a,{dispose:function(){var e;null===(e=r._releaseTemporaryRetain)||void 0===e||e.call(r)}}},t.permanentRetain=function(e){var t=this._retain(e);return this.releaseTemporaryRetain(),t},t.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},t.getRetainCount=function(){return this._retainCount},e}();e.exports=a},function(e,t,r){"use strict";var n=r(23),o=r(0),a=o.useCallback,i=o.useEffect;e.exports=function(){var e=n(null),t=n(!1),r=a((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),t.current=!1}),[]),o=a((function(r){e.current=r,t.current=!0}),[]),s=a((function(){e.current=null,t.current=!1}),[]);return i((function(){return r}),[r]),{isFetchingRef:t,startFetch:o,disposeFetch:r,completeFetch:s}}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(8)),i=n(r(50)),s=r(31),u=r(22).getQueryResourceForEnvironment,l=r(32),c=r(3),f=r(1),d=f.__internal,h=d.fetchQuery,p=d.getPromiseForActiveRequest,v=f.RelayFeatureFlags,m=f.createOperationDescriptor,_=f.getFragmentIdentifier,y=f.getPendingOperationsForFragment,g=f.getSelector,b=f.getVariablesFromFragment,R=f.handlePotentialSnapshotErrors,C=f.isPromise,E=f.recycleNodesInto,P="function"==typeof WeakMap,S=Object.freeze([]);function F(e){return Array.isArray(e)?e.some((function(e){return e.isMissingData})):e.isMissingData}function x(e){return Array.isArray(e)?e.map((function(e){return e.missingLiveResolverFields})).filter(Boolean).flat():e.missingLiveResolverFields}function q(e,t,r){return Array.isArray(t)?{cacheKey:e,snapshot:t,data:t.map((function(e){return e.data})),isMissingData:F(t),storeEpoch:r}:{cacheKey:e,snapshot:t,data:t.data,isMissingData:F(t),storeEpoch:r}}var D=function(){function e(e){(0,a.default)(this,"_cache",new Map),(0,a.default)(this,"_retainCounts",new Map),this._environment=e}var t=e.prototype;return t.get=function(e){var t,r;return null!==(t=null===(r=this._cache.get(e))||void 0===r?void 0:r[0])&&void 0!==t?t:void 0},t.recordQueryResults=function(e,t){var r=this,n=this._cache.get(e);if(n){var o=n[0],a=n[1];t.forEach((function(e){o.push(e)})),a.temporaryRetain(this._environment)}else{var i=new l((function(){return r._retain(e)}));this._cache.set(e,[t,i]),i.temporaryRetain(this._environment)}},t._retain=function(e){var t,r=this,n=(null!==(t=this._retainCounts.get(e))&&void 0!==t?t:0)+1;return this._retainCounts.set(e,n),{dispose:function(){var t,n=(null!==(t=r._retainCounts.get(e))&&void 0!==t?t:0)-1;n>0?r._retainCounts.set(e,n):(r._retainCounts.delete(e),r._cache.delete(e))}}},e}(),I=function(){function e(e){this._environment=e,this._cache=s.create(1e6),v.ENABLE_CLIENT_EDGES&&(this._clientEdgeQueryResultsCache=new D(e))}var t=e.prototype;return t.read=function(e,t,r,n){return this.readWithIdentifier(e,t,_(e,t),r,n)},t.readWithIdentifier=function(e,t,r,n,o){var a,s,l,f,d=this,h=this._environment;if(null==t)return{cacheKey:r,data:null,isMissingData:!1,snapshot:null,storeEpoch:0};var m=h.getStore().getEpoch();if(!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural)&&(Array.isArray(t)||c(!1),0===t.length))return{cacheKey:r,data:S,isMissingData:!1,snapshot:S,storeEpoch:m};var _=this._cache.get(r);if(null!=_){var y;if("pending"===_.kind&&C(_.promise))throw h.__log({name:"suspense.fragment",data:_.result.data,fragment:e,isRelayHooks:!0,isMissingData:_.result.isMissingData,isPromiseCached:!0,pendingOperations:_.pendingOperations}),_.promise;if("done"===_.kind&&_.result.snapshot&&(null===(y=x(_.result.snapshot))||void 0===y||!y.length))return this._throwOrLogErrorsInSnapshot(_.result.snapshot),_.result.isMissingData&&h.__log({name:"fragmentresource.missing_data",data:_.result.data,fragment:e,isRelayHooks:!0,cached:!0}),_.result}var b=g(e,t);null==b&&c(!1);var R="PluralReaderSelector"===b.kind?b.selectors.map((function(e){return h.lookup(e)})):h.lookup(b),E=q(r,R,m);if(!E.isMissingData)return this._throwOrLogErrorsInSnapshot(R),this._cache.set(r,{kind:"done",result:E}),E;var P=null;if(v.ENABLE_CLIENT_EDGES&&!0===(null===(s=e.metadata)||void 0===s?void 0:s.hasClientEdges)&&function(e){var t,r;return Array.isArray(e)?e.some((function(e){var t,r;return(null!==(t=null===(r=e.missingClientEdges)||void 0===r?void 0:r.length)&&void 0!==t?t:0)>0})):(null!==(t=null===(r=e.missingClientEdges)||void 0===r?void 0:r.length)&&void 0!==t?t:0)>0}(R)){P=[];var F=u(this._environment),D=[];!function(e,t){Array.isArray(e)?e.forEach(t):t(e)}(R,(function(r){var n;null===(n=r.missingClientEdges)||void 0===n||n.forEach((function(r){var n,o=r.request,a=r.clientEdgeDestinationID,i=d._performClientEdgeQuery(F,e,t,o,a),s=i.queryResult,u=i.requestDescriptor;D.push(s),null===(n=P)||void 0===n||n.push(u)}))})),null==this._clientEdgeQueryResultsCache&&c(!1),this._clientEdgeQueryResultsCache.recordQueryResults(r,D)}var I=[];v.ENABLE_CLIENT_EDGES&&P&&(I=P.map((function(e){return p(d._environment,e)})).filter(Boolean));var O="PluralReaderSelector"===b.kind?b.selectors[0].owner:b.owner,k=this._getAndSavePromiseForFragmentRequestInFlight(r,e,O,E),N=null==k?void 0:k.promise,A=null!==(l=null===(f=x(R))||void 0===f?void 0:f.map((function(e){var t=e.liveStateID;return h.getStore().getLiveResolverPromise(t)})))&&void 0!==l?l:[];if(I.length||A.length||C(N)){var w,Q;h.__log({name:"suspense.fragment",data:E.data,fragment:e,isRelayHooks:!0,isPromiseCached:!1,isMissingData:E.isMissingData,pendingOperations:[].concat((0,i.default)(null!==(w=null==k?void 0:k.pendingOperations)&&void 0!==w?w:[]),(0,i.default)(null!==(Q=P)&&void 0!==Q?Q:[]))});var T=[];if(I.length>0&&(T=T.concat(I)),A.length>0&&(T=T.concat(A)),T.length>0)throw N&&T.push(N),Promise.all(T);if(N)throw N}return this._throwOrLogErrorsInSnapshot(R),h.__log({name:"fragmentresource.missing_data",data:E.data,fragment:e,isRelayHooks:!0,cached:!1}),q(r,R,m)},t._performClientEdgeQuery=function(e,t,r,n,a){var i=b(t,r),s=(0,o.default)((0,o.default)({},i),{},{id:a}),u=m(n,s,{}),l=h(this._environment,u),c=e.prepare(u,l);return{requestDescriptor:u.request,queryResult:c}},t._throwOrLogErrorsInSnapshot=function(e){var t=this;Array.isArray(e)?e.forEach((function(e){R(t._environment,e.missingRequiredFields,e.relayResolverErrors)})):R(this._environment,e.missingRequiredFields,e.relayResolverErrors)},t.readSpec=function(e,t,r){var n={};for(var o in e)n[o]=this.read(e[o],t[o],r,o);return n},t.subscribe=function(e,t){var r=this,n=this._environment,o=e.cacheKey,a=e.snapshot;if(!a)return{dispose:function(){}};var i=this.checkMissedUpdates(e),s=i[0],l=i[1];s&&t();var f=[];if(Array.isArray(a)?(Array.isArray(l)||c(!1),l.forEach((function(e,a){f.push(n.subscribe(e,(function(e){var i=n.getStore().getEpoch();r._updatePluralSnapshot(o,l,e,a,i),t()})))}))):((null==l||Array.isArray(l))&&c(!1),f.push(n.subscribe(l,(function(e){var a=n.getStore().getEpoch();r._cache.set(o,{kind:"done",result:q(o,e,a)}),t()})))),v.ENABLE_CLIENT_EDGES){var d,h,p=null!==(d=null===(h=this._clientEdgeQueryResultsCache)||void 0===h?void 0:h.get(o))&&void 0!==d?d:void 0;if(null!=p&&p.length){var m=u(this._environment);p.forEach((function(e){f.push(m.retain(e))}))}}return{dispose:function(){f.forEach((function(e){return e.dispose()})),r._cache.delete(o)}}},t.subscribeSpec=function(e,t){var r=this,n=Object.keys(e).map((function(n){return r.subscribe(e[n],t)}));return{dispose:function(){n.forEach((function(e){e.dispose()}))}}},t.checkMissedUpdates=function(e){var t=this._environment,r=e.snapshot;if(!r)return[!1,null];var n;if(n=t.getStore().getEpoch(),e.storeEpoch===n)return[!1,e.snapshot];var a=e.cacheKey;if(Array.isArray(r)){var i=!1,s=[];return r.forEach((function(e,r){var n=t.lookup(e.selector),a=e.data,u=n.data,l=E(a,u);l!==a&&(n=(0,o.default)((0,o.default)({},n),{},{data:l}),i=!0),s[r]=n})),i&&this._cache.set(a,{kind:"done",result:q(a,s,n)}),[i,s]}var u=t.lookup(r.selector),l=r.data,c=u.data,f=E(l,c),d={data:f,isMissingData:u.isMissingData,missingClientEdges:u.missingClientEdges,missingLiveResolverFields:u.missingLiveResolverFields,seenRecords:u.seenRecords,selector:u.selector,missingRequiredFields:u.missingRequiredFields,relayResolverErrors:u.relayResolverErrors};return f!==l&&this._cache.set(a,{kind:"done",result:q(a,d,n)}),[f!==l,d]},t.checkMissedUpdatesSpec=function(e){var t=this;return Object.keys(e).some((function(r){return t.checkMissedUpdates(e[r])[0]}))},t._getAndSavePromiseForFragmentRequestInFlight=function(e,t,r,n){var o=this,a=y(this._environment,t,r);if(null==a)return null;var i=a.promise,s=a.pendingOperations,u=i.then((function(){o._cache.delete(e)})).catch((function(t){o._cache.delete(e)}));return u.displayName=i.displayName,this._cache.set(e,{kind:"pending",pendingOperations:s,promise:u,result:n}),{promise:u,pendingOperations:s}},t._updatePluralSnapshot=function(e,t,r,n,o){var a,s=this._cache.get(e);if(C(s))O(r.selector.node.name);else{var u=null==s||null===(a=s.result)||void 0===a?void 0:a.snapshot;if(!u||Array.isArray(u)){var l=u?(0,i.default)(u):(0,i.default)(t);l[n]=r,this._cache.set(e,{kind:"done",result:q(e,l,o)})}else O(r.selector.node.name)}},e}();function O(e){c(!1)}function k(e){return new I(e)}var N=P?new WeakMap:new Map;e.exports={createFragmentResource:k,getFragmentResourceForEnvironment:function(e){var t=N.get(e);if(t)return t;var r=k(e);return N.set(e,r),r}}},function(e,t,r){"use strict";var n=r(51),o=r(0),a=r(1),i=a.createOperationDescriptor,s=a.getRequest,u=o.useMemo;e.exports=function(e,t,r){var o=n(t),a=n(r||{});return u((function(){return i(s(e),o,a)}),[e,o,a])}},function(e,t){e.exports=d},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(34).getFragmentResourceForEnvironment,a=r(15),i=r(22).getQueryResourceForEnvironment,s=r(24),u=r(11),l=r(38),c=r(5),f=r(3),d=r(0),h=d.useCallback,p=d.useContext,v=d.useReducer,m=r(1),_=m.__internal.fetchQuery,y=m.createOperationDescriptor,g=m.getFragmentIdentifier,b=m.getRefetchMetadata,R=m.getSelector,C=m.getValueAtPath;r(6);function E(e,t){switch(t.type){case"refetch":var r;return(0,n.default)((0,n.default)({},e),{},{fetchPolicy:t.fetchPolicy,mirroredEnvironment:null!==(r=t.refetchEnvironment)&&void 0!==r?r:e.mirroredEnvironment,onComplete:t.onComplete,refetchEnvironment:t.refetchEnvironment,refetchQuery:t.refetchQuery,renderPolicy:t.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:t.environment,mirroredFragmentIdentifier:t.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw t.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}e.exports=function(e,t,r){var d=c(),m=b(e,r),P=m.refetchableRequest,S=m.fragmentRefPathInResponse,F=m.identifierField,x=g(e,t),q=v(E,{fetchPolicy:void 0,mirroredEnvironment:d,mirroredFragmentIdentifier:x,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),D=q[0],I=q[1],O=D.fetchPolicy,k=D.mirroredEnvironment,N=D.mirroredFragmentIdentifier,A=D.onComplete,w=D.refetchEnvironment,Q=D.refetchQuery,T=D.renderPolicy,M=null!=w?w:d,U=i(M),L=o(M),j=p(a),V=M!==k||x!==N,H=l(P),B=H[0],K=H[1],W=H[2],G=t;if(V)I({type:"reset",environment:M,fragmentIdentifier:x}),W();else if(null!=Q&&null!=B){0;var z=function(e){A&&A(null!=e?e:null)},Y=null!=B.source?B.source:_(M,Q),X=j.wrapPrepareQueryResource((function(){return U.prepare(Q,Y,O,T,{error:z,complete:function(){z()}},B.fetchKey,j)})),J=L.read(X.fragmentNode,X.fragmentRef,r).data;null==J&&f(!1),G=C(J,S)}var Z=s(e,G,r),$=Z.data,ee=Z.disableStoreUpdates,te=Z.enableStoreUpdates;return{fragmentData:$,fragmentRef:G,refetch:function(e,t,r,o,a,i,s,l,c,f,d){var p=u(),v=null!=l&&null!=o&&"object"==typeof o?o[l]:null;return h((function(e,o){if(!0!==p.current)return{dispose:function(){}};var a,s,u=null==o?void 0:o.__environment,h=null==o?void 0:o.fetchPolicy,m=null==o?void 0:o.UNSTABLE_renderPolicy,_=null==o?void 0:o.onComplete,g=R(i,f);if(null==g)a={},s={};else if("PluralReaderSelector"===g.kind){var b,C,E,P;a=null!==(b=null===(C=g.selectors[0])||void 0===C?void 0:C.owner.variables)&&void 0!==b?b:{},s=null!==(E=null===(P=g.selectors[0])||void 0===P?void 0:P.variables)&&void 0!==E?E:{}}else a=g.owner.variables,s=g.variables;var S=(0,n.default)((0,n.default)((0,n.default)({},a),s),e);null==l||e.hasOwnProperty("id")||(S.id=v);var F=y(d,S,{force:!0});return c(F.request.variables,{fetchPolicy:h,__environment:u,__nameForWarning:"refetch"}),t({type:"refetch",fetchPolicy:h,onComplete:_,refetchEnvironment:u,refetchQuery:F,renderPolicy:m}),{dispose:r}}),[a,t,r,v,c])}(0,I,W,$,x,e,0,F,K,t,P),disableStoreUpdates:ee,enableStoreUpdates:te}}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(36)),o=r(9),a=o.loadQuery,i=o.useTrackLoadQueryInRender,s=r(11),u=r(5),l=r(0),c=l.useCallback,f=l.useEffect,d=l.useRef,h=l.useState,p=r(1).getRequest,v={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==p(e).params.metadata.live}e.exports=function(e,t){var r=null!=t?t:v,o=u();i();var l=s(),p=d(new Set([r])),_=h((function(){return r})),y=_[0],g=_[1],b=h((function(){return r})),R=b[0],C=b[1];r!==R&&(p.current.add(r),C(r),g(r));var E=c((function(){l.current&&(p.current.add(v),g(v))}),[l]),P=c((function(t,r){var n=null!=r&&r.hasOwnProperty("__environment")?{fetchPolicy:r.fetchPolicy,networkCacheConfig:r.networkCacheConfig,__nameForWarning:r.__nameForWarning}:r;if(l.current){var i,s=a(null!==(i=null==r?void 0:r.__environment)&&void 0!==i?i:o,e,t,n);p.current.add(s),g(s)}}),[o,e,g,l]),S=d(!1);return f((function(){return function(){S.current=!0}}),[]),f((function(){if(!0===S.current)return S.current=!1,void("NullQueryReference"!==y.kind&&P(y.variables,{fetchPolicy:y.fetchPolicy,networkCacheConfig:y.networkCacheConfig}));var t=p.current;if(l.current){var r,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a===y)break;t.delete(a),"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){o.e(e)}finally{o.f()}}}),[y,l,P,e]),f((function(){return function(){var t,r=(0,n.default)(p.current);try{for(r.s();!(t=r.n()).done;){var o=t.value;"NullQueryReference"!==o.kind&&(m(e)?o.dispose&&o.dispose():o.releaseQuery&&o.releaseQuery())}}catch(e){r.e(e)}finally{r.f()}}}),[e]),["NullQueryReference"===y.kind?null:y,P,E]}},function(e,t,r){"use strict";var n=r(7),o=r(40),a=r(43),i=r(44),s=r(45),u=r(46),l=r(47),c=r(28),f=r(9).loadQuery,d=r(15),h=r(48),p=r(49),v=r(52),m=r(53),_=r(29),y=r(54),g=r(55),b=r(58),R=r(38),C=r(59),E=r(5),P=r(60),S=r(61),F=r(1);e.exports={ConnectionHandler:F.ConnectionHandler,QueryRenderer:s,LocalQueryRenderer:a,MutationTypes:F.MutationTypes,RangeOperations:F.RangeOperations,ReactRelayContext:n,applyOptimisticMutation:F.applyOptimisticMutation,commitLocalUpdate:F.commitLocalUpdate,commitMutation:F.commitMutation,createFragmentContainer:o.createContainer,createPaginationContainer:i.createContainer,createRefetchContainer:u.createContainer,fetchQuery_DEPRECATED:F.fetchQuery_DEPRECATED,graphql:F.graphql,readInlineData:F.readInlineData,requestSubscription:F.requestSubscription,EntryPointContainer:l,RelayEnvironmentProvider:h,ProfilerContext:d,fetchQuery:F.fetchQuery,loadQuery:f,loadEntryPoint:c,useClientQuery:p,useFragment:m,useLazyLoadQuery:_,useEntryPointLoader:v,useQueryLoader:R,useMutation:y,usePaginationFragment:g,usePreloadedQuery:b,useRefetchableFragment:C,useRelayEnvironment:E,useSubscribeToInvalidationState:P,useSubscription:S}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(16)),i=n(r(12)),s=n(r(13)),u=n(r(8)),l=["componentRef","__relayContext","__rootIsQueryRenderer"],c=r(17),f=r(14).getContainerName,d=r(20).assertRelayContext,h=r(10),p=r(0),v=r(1),m=v.createFragmentSpecResolver,_=v.getDataIDsFromObject,y=v.isScalarAndEqual;function g(e,t){var r,n=f(e);return r=function(r){function c(e){var o,a;a=r.call(this,e)||this,(0,u.default)((0,i.default)(a),"_handleFragmentDataUpdate",(function(){var e=a.state.resolver;a.setState((function(t){return e===t.resolver?{data:t.resolver.resolve(),relayProp:b(t.relayProp.environment)}:null}))}));var s=d(e.__relayContext),l=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o,c=m(s,n,t,e,l);return a.state={data:c.resolve(),prevProps:e,prevPropsContext:s,relayProp:b(s.environment),resolver:c},a}(0,s.default)(c,r),c.getDerivedStateFromProps=function(e,r){var o,a=r.prevProps,i=d(e.__relayContext),s=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o,u=_(t,a),l=_(t,e),c=r.resolver;if(r.prevPropsContext.environment!==i.environment||!h(u,l))return{data:(c=m(i,n,t,e,s)).resolve(),prevPropsContext:i,prevProps:e,relayProp:b(i.environment),resolver:c};c.setProps(e);var f=c.resolve();return f!==r.data?{data:f,prevProps:e,prevPropsContext:i,relayProp:b(i.environment)}:null};var f=c.prototype;return f.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},f.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},f.componentWillUnmount=function(){this.state.resolver.dispose()},f.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevPropsContext.environment!==this.state.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!y(e[a],this.props[a]))return!0}return!1},f._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},f._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},f.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,l));return p.createElement(e,(0,o.default)((0,o.default)((0,o.default)({},n),this.state.data),{},{ref:r,relay:this.state.relayProp}))},c}(p.Component),(0,u.default)(r,"displayName",n),r}function b(e){return{environment:e}}e.exports={createContainer:function(e,t){return c(e,t,g)}}},function(e,t,r){"use strict";var n=r(3);e.exports=function(e,t){for(var r in t&&"object"==typeof t||n(!1),t)if(t.hasOwnProperty(r)){var o=t[r];(!o||"object"!=typeof o&&"function"!=typeof o)&&n(!1)}}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.check&&"function"==typeof e.lookup&&"function"==typeof e.retain&&"function"==typeof e.execute&&"function"==typeof e.subscribe}},function(e,t,r){"use strict";var n=r(7),o=r(19),a=r(10),i=r(0),s=r(1),u=s.createOperationDescriptor,l=(s.deepFreeze,s.getRequest),c=i.useLayoutEffect,f=i.useState,d=i.useRef,h=i.useMemo,p={rootIsQueryRenderer:!0};e.exports=function(e){var t,r,s=e.environment,v=e.query,m=e.variables,_=e.render,y=(t=m,r=i.useRef(t),a(r.current,t)||(r.current=t),r.current),g=h((function(){var e=l(v);return u(e,y)}),[v,y]),b=h((function(){return{environment:s}}),[s]),R=d(null),C=f(null)[1],E=d(null),P=h((function(){s.check(g);var e=s.lookup(g.fragment);R.current=e.data;var t=s.retain(g),r=s.subscribe(e,(function(e){R.current=e.data,C(R.current)})),n=!1;return E.current&&E.current(),E.current=function(){n||(n=!0,E.current=null,t.dispose(),r.dispose())},e}),[s,g]);return c((function(){var e=E.current;return function(){e&&e()}}),[P]),i.createElement(n.Provider,{value:b},i.createElement(o.Provider,{value:p},_({props:R.current})))}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(18)),a=n(r(16)),i=n(r(12)),s=n(r(13)),u=n(r(8)),l=n(r(4)),c=["componentRef"],f=["componentRef","__relayContext","__rootIsQueryRenderer"],d=["componentRef","__relayContext","__rootIsQueryRenderer"],h=r(17),p=r(27),v=r(14),m=v.getComponentName,_=v.getContainerName,y=r(7),g=r(21),b=r(20).assertRelayContext,R=r(10),C=r(3),E=r(0),P=r(1),S=P.ConnectionInterface,F=P.Observable,x=P.RelayFeatureFlags,q=P.createFragmentSpecResolver,D=P.createOperationDescriptor,I=P.getDataIDsFromObject,O=P.getRequest,k=P.getVariablesFromObject,N=P.isScalarAndEqual;r(6);function A(e){return"function"==typeof e?{error:e,complete:e,unsubscribe:function(t){"function"==typeof e&&e()}}:e||{}}function w(e,t,r){m(e);var n,h=_(e),v=function(e){var t=null,r=!1;for(var n in e){var o=e[n],a=o.metadata&&o.metadata.connection;void 0!==o.metadata&&(r=!0),a&&(1!==a.length&&C(!1),t&&C(!1),t=(0,l.default)((0,l.default)({},a[0]),{},{fragmentName:n}))}return r&&null===t&&C(!1),t||{}}(t),P=r.getConnectionFromProps||function(e){var t=e.path;return t||C(!1),function(r){for(var n=r[e.fragmentName],o=0;o<t.length;o++){if(!n||"object"!=typeof n)return null;n=n[t[o]]}return n}}(v),w=r.direction||v.direction;w||C(!1);var Q=r.getFragmentVariables||function(e){var t=e.count;return t||C(!1),function(e,r){return(0,l.default)((0,l.default)({},e),{},(0,u.default)({},t,r))}}(v);return n=function(n){function v(e){var r,o;o=n.call(this,e)||this,(0,u.default)((0,i.default)(o),"_handleFragmentDataUpdate",(function(){o.setState({data:o._resolver.resolve()})})),(0,u.default)((0,i.default)(o),"_hasMore",(function(){var e=o._getConnectionData();return!!(e&&e.hasMore&&e.cursor)})),(0,u.default)((0,i.default)(o),"_isLoading",(function(){return!!o._refetchSubscription})),(0,u.default)((0,i.default)(o),"_refetchConnection",(function(e,t,r){if(!o._canFetchPage("refetchConnection"))return{dispose:function(){}};o._refetchVariables=r;var n={count:e,cursor:null,totalCount:e};return{dispose:o._fetchPage(n,A(t),{force:!0}).unsubscribe}})),(0,u.default)((0,i.default)(o),"_loadMore",(function(e,t,r){if(!o._canFetchPage("loadMore"))return{dispose:function(){}};var n=A(t),a=o._getConnectionData();if(!a)return F.create((function(e){return e.complete()})).subscribe(n),null;var i=a.edgeCount+e;if(r&&r.force)return o._refetchConnection(i,t);var s=S.get(),u=(s.END_CURSOR,s.START_CURSOR,{count:e,cursor:a.cursor,totalCount:i});return{dispose:o._fetchPage(u,n,r).unsubscribe}}));var a=b(e.__relayContext),s=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r;return o._isARequestInFlight=!1,o._refetchSubscription=null,o._refetchVariables=null,!0===x.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?o._resolver=q(a,h,t,e,s):o._resolver=q(a,h,t,e,s,o._handleFragmentDataUpdate),o.state={data:o._resolver.resolve(),prevContext:a,contextForChildren:a,relayProp:o._buildRelayProp(a),resolverGeneration:0},o._isUnmounted=!1,o._hasFetched=!1,o}(0,s.default)(v,n);var m=v.prototype;return m.componentDidMount=function(){this._isUnmounted=!1,!0===x.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},m.componentDidUpdate=function(e,t){!0===x.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&(t.resolverGeneration!==this.state.resolverGeneration?this._subscribeToNewResolverAndRerenderIfStoreHasChanged():this._rerenderIfStoreHasChanged())},m.UNSAFE_componentWillReceiveProps=function(e){var r,n=this,o=b(e.__relayContext),a=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r,i=I(t,this.props),s=I(t,e),u=p(t,this.props),l=p(t,e);o.environment===this.state.prevContext.environment&&R(u,l)&&R(i,s)?this._hasFetched||this._resolver.setProps(e):(this._cleanup(),!0===x.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?this._resolver=q(o,h,t,e,a):this._resolver=q(o,h,t,e,a,this._handleFragmentDataUpdate),this.setState((function(e){return{prevContext:o,contextForChildren:o,relayProp:n._buildRelayProp(o),resolverGeneration:e.resolverGeneration+1}})));var c=this._resolver.resolve();c!==this.state.data&&this.setState({data:c})},m.componentWillUnmount=function(){this._isUnmounted=!0,this._cleanup()},m.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp||r.resolverGeneration!==this.state.resolverGeneration)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevContext.environment!==this.state.prevContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!N(e[a],this.props[a]))return!0}return!1},m._buildRelayProp=function(e){return{hasMore:this._hasMore,isLoading:this._isLoading,loadMore:this._loadMore,refetchConnection:this._refetchConnection,environment:e.environment}},m._rerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();e!==t&&this.setState({data:t})},m._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();this._resolver.setCallback(this.props,this._handleFragmentDataUpdate),e!==t&&this.setState({data:t})},m._getConnectionData=function(){var e=this.props,t=(e.componentRef,(0,a.default)(e,c)),r=(0,l.default)((0,l.default)({},t),this.state.data),n=P(r);if(null==n)return null;var o=S.get(),i=o.EDGES,s=o.PAGE_INFO,u=o.HAS_NEXT_PAGE,f=o.HAS_PREV_PAGE,d=o.END_CURSOR,h=o.START_CURSOR;"object"!=typeof n&&C(!1);var p=n[i],v=n[s];if(null==p||null==v)return null;Array.isArray(p)||C(!1),"object"!=typeof v&&C(!1);var m="forward"===w?v[u]:v[f],_="forward"===w?v[d]:v[h];return"boolean"!=typeof m||0!==p.length&&void 0===_?null:{cursor:_,edgeCount:p.length,hasMore:m}},m._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new g),this._queryFetcher},m._canFetchPage=function(e){return!this._isUnmounted},m._fetchPage=function(e,n,o){var i,s=this,u=b(this.props.__relayContext).environment,c=this.props,d=(c.componentRef,c.__relayContext,c.__rootIsQueryRenderer,(0,a.default)(c,f)),h=(0,l.default)((0,l.default)({},d),this.state.data),v=p(t,d);i=k(t,d),i=(0,l.default)((0,l.default)((0,l.default)({},v),i),this._refetchVariables);var m=r.getVariables(h,{count:e.count,cursor:e.cursor},i);("object"!=typeof m||null===m)&&C(!1),m=(0,l.default)((0,l.default)({},m),this._refetchVariables),i=(0,l.default)((0,l.default)({},m),i);var _=o?{force:!!o.force}:void 0;null!=_&&null!=(null==o?void 0:o.metadata)&&(_.metadata=null==o?void 0:o.metadata);var y=O(r.query),g=D(y,m,_),E=null;this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._hasFetched=!0;var P=function(){s._refetchSubscription===E&&(s._refetchSubscription=null,s._isARequestInFlight=!1)};return this._isARequestInFlight=!0,E=this._getQueryFetcher().execute({environment:u,operation:g,preservePreviousReferences:!0}).mergeMap((function(t){return F.create((function(t){!function(t,r){var n=s._resolver.resolve();s._resolver.setVariables(Q(i,e.totalCount),g.request.node);var o=s._resolver.resolve();R(n,o)?r():s.setState({data:o,contextForChildren:{environment:s.props.__relayContext.environment}},r)}(0,(function(){t.next(),t.complete()}))}))})).do({error:P,complete:P,unsubscribe:P}).subscribe(n||{}),this._refetchSubscription=this._isARequestInFlight?E:null,E},m._cleanup=function(){this._resolver.dispose(),this._refetchVariables=null,this._hasFetched=!1,this._refetchSubscription&&(this._refetchSubscription.unsubscribe(),this._refetchSubscription=null,this._isARequestInFlight=!1),this._queryFetcher&&this._queryFetcher.dispose()},m.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,d));return E.createElement(y.Provider,{value:this.state.contextForChildren},E.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:this.state.relayProp})))},v}(E.Component),(0,u.default)(n,"displayName",h),n}e.exports={createContainer:function(e,t,r){return h(e,t,(function(e,t){return w(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(2).default,o=n(r(4)),a=n(r(12)),i=n(r(13)),s=n(r(8)),u=r(7),l=r(21),c=r(19),f=r(10),d=r(0),h=r(1).RelayFeatureFlags,p=r(1),v=p.createOperationDescriptor,m=(p.deepFreeze,p.getRequest),_={},y={rootIsQueryRenderer:!0},g=function(e){function t(t){var r;r=e.call(this,t)||this,(0,s.default)((0,a.default)(r),"_handleDataChange",(function(e){var t=null==e.error?null:e.error,n=null==e.snapshot?null:e.snapshot;r.setState((function(e){var r=e.requestCacheKey;return r&&delete _[r],n===e.snapshot&&t===e.error?null:{renderProps:b(t,n,e.queryFetcher,e.retryCallbacks),snapshot:n,requestCacheKey:null}}))}));var n,i,u={handleDataChange:null,handleRetryAfterError:null};if(t.query){var c=t.query;i=R(m(c).params,t.variables),n=_[i]?_[i].queryFetcher:new l}else n=new l;return r._maybeHiddenOrFastRefresh=!1,r.state=(0,o.default)({prevPropsEnvironment:t.environment,prevPropsVariables:t.variables,prevQuery:t.query,queryFetcher:n,retryCallbacks:u},E(t,n,u,i)),r}(0,i.default)(t,e),t.getDerivedStateFromProps=function(e,t){return t.prevQuery===e.query&&t.prevPropsEnvironment===e.environment&&f(t.prevPropsVariables,e.variables)?null:C(e,t)};var r=t.prototype;return r.componentDidMount=function(){var e=this;if(!0===this._maybeHiddenOrFastRefresh)return this._maybeHiddenOrFastRefresh=!1,void this.setState((function(t){var r=C(e.props,t),n=r.requestCacheKey,o=r.queryFetcher;if(null!=n&&null!=_[n])if(h.ENABLE_QUERY_RENDERER_SET_STATE_PREVENTION){var a=o.getFetchResult();if(null!=a){var i,s,u=null!==(i=a.snapshot)&&void 0!==i?i:null,l=null!==(s=a.error)&&void 0!==s?s:null,c=t.requestCacheKey;null!=c&&delete _[c],r.renderProps=b(l,u,o,t.retryCallbacks),r.snapshot=u,r.requestCacheKey=null}else o.setOnDataChange(e._handleDataChange)}else o.setOnDataChange(e._handleDataChange);return r}));var t=this.state,r=t.retryCallbacks,n=t.queryFetcher,o=t.requestCacheKey;o&&delete _[o],r.handleDataChange=this._handleDataChange,r.handleRetryAfterError=function(t){return e.setState((function(e){var t=e.requestCacheKey;return t&&delete _[t],{renderProps:{error:null,props:null,retry:null},requestCacheKey:null}}))},this.props.query&&n.setOnDataChange(this._handleDataChange)},r.componentDidUpdate=function(e,t){var r=this.state,n=r.queryFetcher,o=r.requestCacheKey;o&&(delete _[o],delete this.state.requestCacheKey),this.props.query&&n!==t.queryFetcher&&n.setOnDataChange(this._handleDataChange)},r.componentWillUnmount=function(){this.state.queryFetcher.dispose(),this._maybeHiddenOrFastRefresh=!0},r.shouldComponentUpdate=function(e,t){return e.render!==this.props.render||t.renderProps!==this.state.renderProps},r.render=function(){var e=this.state,t=e.renderProps,r=e.relayContext;return d.createElement(u.Provider,{value:r},d.createElement(c.Provider,{value:y},this.props.render(t)))},t}(d.Component);function b(e,t,r,n){return{error:e||null,props:t?t.data:null,retry:function(t){var o=r.retry(t);o&&"function"==typeof n.handleDataChange?n.handleDataChange({snapshot:o}):e&&"function"==typeof n.handleRetryAfterError&&n.handleRetryAfterError(e)}}}function R(e,t){return JSON.stringify({id:e.cacheID?e.cacheID:e.id,variables:t})}function C(e,t){var r,n=e.query,a=t.queryFetcher.getSelectionReferences();if(t.queryFetcher.disposeRequest(),n){var i=R(m(n).params,e.variables);r=_[i]?_[i].queryFetcher:new l(a)}else r=new l(a);return(0,o.default)({prevQuery:e.query,prevPropsEnvironment:e.environment,prevPropsVariables:e.variables,queryFetcher:r},E(e,r,t.retryCallbacks))}function E(e,t,r,n){var o=e.environment,a=e.query,i=e.variables,s=e.cacheConfig,u=o;if(!a)return t.dispose(),{error:null,relayContext:{environment:u},renderProps:{error:null,props:{},retry:null},requestCacheKey:null};var l=m(a),c=v(l,i,s),f={environment:u};if("string"==typeof n&&_[n]){var d=_[n].snapshot;return d?{error:null,relayContext:f,renderProps:b(null,d,t,r),snapshot:d,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}try{var h=t.lookupInStore(u,c,e.fetchPolicy),p=t.fetch({environment:u,onDataChange:null,operation:c})||h;return n=n||R(l.params,e.variables),_[n]={queryFetcher:t,snapshot:p},p?{error:null,relayContext:f,renderProps:b(null,p,t,r),snapshot:p,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}catch(e){return{error:e,relayContext:f,renderProps:b(e,null,t,r),snapshot:null,requestCacheKey:n}}}e.exports=g},function(e,t,r){"use strict";var n=r(2).default,o=n(r(18)),a=n(r(16)),i=n(r(4)),s=n(r(12)),u=n(r(13)),l=n(r(8)),c=["componentRef","__relayContext","__rootIsQueryRenderer"],f=r(17),d=r(27),h=r(14).getContainerName,p=r(7),v=r(21),m=r(20).assertRelayContext,_=r(10),y=r(0),g=r(1),b=g.Observable,R=g.createFragmentSpecResolver,C=g.createOperationDescriptor,E=g.getDataIDsFromObject,P=g.getRequest,S=g.getVariablesFromObject,F=g.isScalarAndEqual;r(6);function x(e,t){return{environment:e,refetch:t}}e.exports={createContainer:function(e,t,r){return f(e,t,(function(e,t){return function(e,t,r){var n,f=h(e);return n=function(n){function h(e){var o,a;a=n.call(this,e)||this,(0,l.default)((0,s.default)(a),"_handleFragmentDataUpdate",(function(){var e=a.state.resolver;a.setState((function(t){return e===t.resolver?{data:t.resolver.resolve()}:null}))})),(0,l.default)((0,s.default)(a),"_refetch",(function(e,n,o,s){if(a._isUnmounted)return{dispose:function(){}};var u=m(a.props.__relayContext).environment,l=d(t,a.props),c="function"==typeof e?e(a._getFragmentVariables()):e;c=(0,i.default)((0,i.default)({},l),c);var f=n?(0,i.default)((0,i.default)({},c),n):c,h=s?{force:!!s.force}:void 0;null!=h&&null!=(null==s?void 0:s.metadata)&&(h.metadata=null==s?void 0:s.metadata);var p,v="function"==typeof o?{next:o,error:o}:o||{},_=P(r),y=C(_,c,h);return a.state.localVariables=c,a._refetchSubscription&&a._refetchSubscription.unsubscribe(),null!=a._getQueryFetcher().lookupInStore(u,y,null==s?void 0:s.fetchPolicy)?(a.state.resolver.setVariables(f,y.request.node),a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){v.next&&v.next(),v.complete&&v.complete()})),{dispose:function(){}}):(a._getQueryFetcher().execute({environment:u,operation:y,preservePreviousReferences:!0}).mergeMap((function(e){return a.state.resolver.setVariables(f,y.request.node),b.create((function(e){return a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){e.next(),e.complete()}))}))})).finally((function(){a._refetchSubscription===p&&(a._refetchSubscription=null)})).subscribe((0,i.default)((0,i.default)({},v),{},{start:function(e){a._refetchSubscription=p=e,v.start&&v.start(e)}})),{dispose:function(){p&&p.unsubscribe()}})}));var u=m(e.__relayContext),c=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o;a._refetchSubscription=null;var h=R(u,f,t,e,c);return a.state={data:h.resolve(),localVariables:null,prevProps:e,prevPropsContext:u,contextForChildren:u,relayProp:x(u.environment,a._refetch),resolver:h},a._isUnmounted=!1,a}(0,u.default)(h,n);var g=h.prototype;return g.componentDidMount=function(){this._isUnmounted=!1,this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},g.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},h.getDerivedStateFromProps=function(e,r){var n,o=r.prevProps,a=m(e.__relayContext),i=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,s=E(t,o),u=E(t,e),l=d(t,o),c=d(t,e),h=r.resolver;if(r.prevPropsContext.environment!==a.environment||!_(l,c)||!_(s,u))return{data:(h=R(a,f,t,e,i)).resolve(),localVariables:null,prevProps:e,prevPropsContext:a,contextForChildren:a,relayProp:x(a.environment,r.relayProp.refetch),resolver:h};r.localVariables||h.setProps(e);var p=h.resolve();return p!==r.data?{data:p,prevProps:e}:null},g.componentWillUnmount=function(){this._isUnmounted=!0,this.state.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe()},g.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(this.state.prevPropsContext.environment!==r.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!F(e[a],this.props[a]))return!0}return!1},g._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},g._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},g._getFragmentVariables=function(){return S(t,this.props)},g._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new v),this._queryFetcher},g.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,c)),i=this.state,s=i.relayProp,u=i.contextForChildren;return y.createElement(p.Provider,{value:u},y.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:s})))},h}(y.Component),(0,l.default)(n,"displayName",f),n}(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(15),o=r(5),a=r(0),i=r(0),s=i.useContext,u=i.useEffect;r(6);e.exports=function(e){var t=e.entryPointReference,r=e.props,i=t.getComponent,l=t.queries,c=t.entryPoints,f=t.extraProps,d=t.rootModuleID,h=i(),p=s(n),v=o();return u((function(){v.__log({name:"entrypoint.root.consume",profilerContext:p,rootModuleID:d})}),[v,p,d]),a.createElement(h,{entryPoints:c,extraProps:f,props:r,queries:l})}},function(e,t,r){"use strict";var n=r(7),o=r(0),a=o.useMemo;e.exports=function(e){var t=e.children,r=e.environment,i=e.getEnvironmentForActor,s=a((function(){return{environment:r,getEnvironmentForActor:i}}),[r,i]);return o.createElement(n.Provider,{value:s},t)}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(29);e.exports=function(e,t,r){return o(e,t,(0,n.default)((0,n.default)({},r),{},{fetchPolicy:"store-only"}))}},function(e,t){e.exports=h},function(e,t,r){"use strict";var n=r(10),o=r(0).useState;e.exports=function(e){var t=o(e),r=t[0],a=t[1];return n(e,r)?r:(a(e),e)}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(36)),o=r(28),a=r(9).useTrackLoadQueryInRender,i=r(11),s=r(0),u=s.useCallback,l=s.useEffect,c=s.useRef,f=s.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,t,r){var s,h,p,v;a();var m=null!==(s=null==r||null===(h=r.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointReference)&&void 0!==s?s:d,_=null!==(p=null==r||null===(v=r.TEST_ONLY__initialEntryPointData)||void 0===v?void 0:v.entryPointParams)&&void 0!==p?p:null,y=i(),g=c(new Set([m])),b=f(m),R=b[0],C=b[1],E=f(_),P=E[0],S=E[1],F=u((function(){if(y.current){var e={kind:"NullEntryPointReference"};g.current.add(e),C(e)}}),[C,y]),x=u((function(r){if(y.current){var n=o(e,t,r);g.current.add(n),C(n),S(r)}}),[e,t,C,y]),q=c(!1);return l((function(){return function(){q.current=!0}}),[]),l((function(){if(!0===q.current)return q.current=!1,void("NullEntryPointReference"!==R.kind&&null!=P&&x(P));var e=g.current;if(y.current){var t,r=(0,n.default)(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o===R)break;e.delete(o),"NullEntryPointReference"!==o.kind&&o.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[R,P,x,y]),l((function(){return function(){var e,t=(0,n.default)(g.current);try{for(t.s();!(e=t.n()).done;){var r=e.value;"NullEntryPointReference"!==r.kind&&r.dispose()}}catch(e){t.e(e)}finally{t.f()}}}),[]),["NullEntryPointReference"===R.kind?null:R,x,F]}},function(e,t,r){"use strict";var n=r(25),o=r(9).useTrackLoadQueryInRender,a=r(24),i=r(26),s=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){var r=n.get();return r?r.useFragment(e,t):function(e,t){o();var r=s(e);return i(r,"first argument of useFragment()"),a(r,t,"useFragment()").data}(e,t)}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(11),a=r(5),i=r(0),s=r(1).commitMutation,u=i.useState,l=i.useEffect,c=i.useRef,f=i.useCallback;e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=a(),i=o(),d=c(r),h=c(e),p=c(new Set),v=u(!1),m=v[0],_=v[1],y=f((function(t){d.current===r&&h.current===e&&(p.current.delete(t),i.current&&_(p.current.size>0))}),[r,i,e]);l((function(){d.current===r&&h.current===e||(p.current=new Set,i.current&&_(!1),d.current=r,h.current=e)}),[r,i,e]);var g=f((function(o){i.current&&_(!0);var a=t(r,(0,n.default)((0,n.default)({},o),{},{mutation:e,onCompleted:function(e,t){var r;y(a),null===(r=o.onCompleted)||void 0===r||r.call(o,e,t)},onError:function(e){var t;y(a),null===(t=o.onError)||void 0===t||t.call(o,e)},onUnsubscribe:function(){var e;y(a),null===(e=o.onUnsubscribe)||void 0===e||e.call(o)},onNext:function(){var e;null===(e=o.onNext)||void 0===e||e.call(o)}}));return p.current.add(a),a}),[y,t,r,i,e]);return[g,m]}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(25),a=r(56),i=r(37),s=r(26),u=r(0),l=u.useCallback,c=(u.useDebugValue,u.useState),f=r(1),d=f.getFragment,h=f.getFragmentIdentifier,p=f.getPaginationMetadata;function v(e){var t=c(!1),r=t[0],o=t[1],i={start:function(){return o(!0)},complete:function(){return o(!1)},error:function(){return o(!1)}},s=a((0,n.default)((0,n.default)({},e),{},{observer:i,onReset:function(){return o(!1)}}));return[s[0],s[1],r,s[2]]}e.exports=function(e,t){var r=o.get();return r?r.usePaginationFragment(e,t):function(e,t){var r=d(e);s(r,"first argument of usePaginationFragment()");var o=p(r,"usePaginationFragment()"),a=o.connectionPathInFragmentData,u=o.paginationRequest,c=o.paginationMetadata,f=o.identifierField,m=i(r,t,"usePaginationFragment()"),_=m.fragmentData,y=m.fragmentRef,g=m.refetch,b=h(r,y),R=v({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:a,direction:"backward",fragmentData:_,fragmentIdentifier:b,fragmentNode:r,fragmentRef:y,identifierField:f,paginationMetadata:c,paginationRequest:u}),C=R[0],E=R[1],P=R[2],S=R[3],F=v({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:a,direction:"forward",fragmentData:_,fragmentIdentifier:b,fragmentNode:r,fragmentRef:y,identifierField:f,paginationMetadata:c,paginationRequest:u}),x=F[0],q=F[1],D=F[2],I=F[3];return{data:_,loadNext:x,loadPrevious:C,hasNext:q,hasPrevious:E,isLoadingNext:D,isLoadingPrevious:P,refetch:l((function(e,t){return I(),S(),g(e,(0,n.default)((0,n.default)({},t),{},{__environment:void 0}))}),[I,S,g])}}(e,t)}},function(e,t,r){"use strict";var n=(0,r(2).default)(r(4)),o=r(33),a=r(11),i=r(57),s=r(5),u=r(3),l=r(0),c=l.useCallback,f=l.useEffect,d=l.useState,h=r(1),p=h.__internal.fetchQuery,v=h.ConnectionInterface,m=h.createOperationDescriptor,_=h.getPaginationVariables,y=h.getSelector,g=h.getValueAtPath;r(6);e.exports=function(e){var t=e.direction,r=e.fragmentNode,l=e.fragmentRef,h=e.fragmentIdentifier,b=e.fragmentData,R=e.connectionPathInFragmentData,C=e.paginationRequest,E=e.paginationMetadata,P=e.componentDisplayName,S=e.observer,F=e.onReset,x=e.identifierField,q=s(),D=o(),I=D.isFetchingRef,O=D.startFetch,k=D.disposeFetch,N=D.completeFetch,A=null!=x&&null!=b&&"object"==typeof b?b[x]:null,w=a(),Q=d(q),T=Q[0],M=Q[1],U=d(h),L=U[0],j=U[1],V=i(r,l);(q!==T||h!==L)&&(k(),F(),M(q),j(h));var H=function(e,t,r,n){var o,a,i=v.get(),s=i.EDGES,l=i.PAGE_INFO,c=i.HAS_NEXT_PAGE,f=i.HAS_PREV_PAGE,d=i.END_CURSOR,h=i.START_CURSOR,p=g(r,n);if(null==p)return{cursor:null,hasMore:!1};"object"!=typeof p&&u(!1);var m=p[s],_=p[l];if(null==m||null==_)return{cursor:null,hasMore:!1};Array.isArray(m)||u(!1),"object"!=typeof _&&u(!1);var y,b="forward"===e?null!==(o=_[d])&&void 0!==o?o:null:null!==(a=_[h])&&void 0!==a?a:null;null!==b&&"string"!=typeof b&&u(!1),y="forward"===e?null!=b&&!0===_[c]:null!=b&&!0===_[f];return{cursor:b,hasMore:y}}(t,0,b,R),B=H.cursor,K=H.hasMore;return f((function(){return function(){k()}}),[k]),[c((function(e,o){var a=null==o?void 0:o.onComplete;if(!0!==w.current)return{dispose:function(){}};var i=y(r,l);if(!0===I.current||null==b||V)return a&&a(null),{dispose:function(){}};(null==i||"PluralReaderSelector"===i.kind)&&u(!1);var s=i.owner.variables,c=i.variables,f=null==o?void 0:o.UNSTABLE_extraVariables,d=(0,n.default)((0,n.default)({},s),c),h=_(t,e,B,d,(0,n.default)({},f),E);null!=x&&(h.id=A);var v=m(C,h,{force:!0});return p(q,v).subscribe((0,n.default)((0,n.default)({},S),{},{start:function(e){O(e),S.start&&S.start(e)},complete:function(){N(),S.complete&&S.complete(),a&&a(null)},error:function(e){N(),S.error&&S.error(e),a&&a(e)}})),{dispose:k}}),[q,A,t,B,O,k,N,I,V,b,r.name,l,P]),K,k]}},function(e,t,r){"use strict";var n=r(5),o=r(3),a=r(0),i=r(1),s=i.__internal.getObservableForActiveRequest,u=i.getSelector,l=a.useEffect,c=a.useState,f=a.useMemo;e.exports=function(e,t){var r=n(),a=f((function(){var n=u(e,t);return null==n?null:("SingularReaderSelector"!==n.kind&&o(!1),s(r,n.owner))}),[r,e,t]),i=c(null!=a),d=i[0],h=i[1];return l((function(){var e;if(h(null!=a),null!=a){var t=function(){h(!1)};e=a.subscribe({complete:t,error:t})}return function(){e&&e.unsubscribe()}}),[a]),d}},function(e,t,r){"use strict";var n=r(9).useTrackLoadQueryInRender,o=r(30),a=r(35),i=r(5),s=r(3),u=(r(0).useDebugValue,r(1).__internal),l=u.fetchQueryDeduped,c=u.fetchQuery;r(6);e.exports=function(e,t,r){n();var u,f=i(),d=t.fetchKey,h=t.fetchPolicy,p=t.source,v=t.variables,m=t.networkCacheConfig,_=a(e,v,m);if("PreloadedQuery_DEPRECATED"===t.kind)_.request.node.params.name!==t.name&&s(!1),u={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:l(f,_.request.identifier,(function(){return f===t.environment&&null!=p?f.executeWithSource({operation:_,source:p}):f.execute({operation:_})})),fetchPolicy:h,query:_,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy};else{var y=c(f,_);u={componentDisplayName:"usePreloadedQuery()",fetchObservable:null!=p&&f===t.environment?p.ifEmpty(y):(t.environment,y),fetchKey:d,fetchPolicy:h,query:_,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy}}return o(u)}},function(e,t,r){"use strict";var n=r(25),o=r(37),a=r(26),i=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){var r=n.get();return r?r.useRefetchableFragment(e,t):function(e,t){var r=i(e);a(r,"first argument of useRefetchableFragment()");var n=o(r,t,"useRefetchableFragment()");return[n.fragmentData,n.refetch]}(e,t)}},function(e,t,r){"use strict";var n=r(5),o=r(0),a=o.useEffect,i=o.useRef;e.exports=function(e,t){var r=n(),o=i(null),s=Array.from(e).sort().join("");return a((function(){var n=r.getStore(),a=n.lookupInvalidationState(e),i=n.subscribeToInvalidationState(a,t);return o.current=i,function(){return i.dispose()}}),[s,t,r]),{dispose:function(){null!=o.current&&o.current.dispose()}}}},function(e,t,r){"use strict";var n=r(5),o=r(0).useEffect,a=r(1).requestSubscription;e.exports=function(e,t){var r=null!=t?t:a,i=n();o((function(){return r(i,e).dispose}),[i,e,r])}}])}));
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  * @flow strict-local
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
@@ -4,13 +4,15 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  * @flow strict-local
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
13
13
 
14
+ /* eslint-disable no-unused-vars */
15
+
14
16
  import type {JSResourceReference} from 'JSResourceReference';
15
17
  import type {AbstractComponent, ElementConfig} from 'React';
16
18
  import type {
@@ -51,7 +53,7 @@ export type PreloadableConcreteRequest<TQuery: OperationType> = {
51
53
  params: RequestParameters,
52
54
  };
53
55
 
54
- export type EnvironmentProviderOptions = {[string]: mixed, ...};
56
+ export type EnvironmentProviderOptions = {+[string]: mixed, ...};
55
57
 
56
58
  export type PreloadedQuery<
57
59
  TQuery: OperationType,
@@ -130,7 +132,7 @@ TExtraProps - a bag of extra props that you may define in `entrypoint` file
130
132
  and they will be passed to the EntryPointComponent as `extraProps`
131
133
  */
132
134
  type InternalEntryPointRepresentation<
133
- TEntryPointParams,
135
+ +TEntryPointParams,
134
136
  TPreloadedQueries,
135
137
  TPreloadedEntryPoints,
136
138
  TRuntimeProps,
@@ -184,7 +186,7 @@ export type EntryPointComponent<
184
186
 
185
187
  // Return type of the `getPreloadProps(...)` of the entry point
186
188
  export type PreloadProps<
187
- TPreloadParams,
189
+ +TPreloadParams,
188
190
  TPreloadedQueries: {...},
189
191
  TPreloadedEntryPoints: {...},
190
192
  TExtraProps = null,
@@ -255,7 +257,7 @@ export type ExtractEntryPointTypeHelper = <
255
257
  EntryPoint<TEntryPointParams, TEntryPointComponent>,
256
258
  >;
257
259
 
258
- export type EntryPoint<TEntryPointParams, +TEntryPointComponent> =
260
+ export type EntryPoint<+TEntryPointParams, +TEntryPointComponent> =
259
261
  InternalEntryPointRepresentation<
260
262
  TEntryPointParams,
261
263
  ElementConfig<TEntryPointComponent>['queries'],
@@ -5,8 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @flow strict-local
8
- * @emails oncall+relay
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
@@ -29,8 +29,8 @@ const {getQueryResourceForEnvironment} = require('./QueryResource');
29
29
  const SuspenseResource = require('./SuspenseResource');
30
30
  const invariant = require('invariant');
31
31
  const {
32
- RelayFeatureFlags,
33
32
  __internal: {fetchQuery, getPromiseForActiveRequest},
33
+ RelayFeatureFlags,
34
34
  createOperationDescriptor,
35
35
  getFragmentIdentifier,
36
36
  getPendingOperationsForFragment,
@@ -75,7 +75,7 @@ opaque type FragmentResult: {data: mixed, ...} = {
75
75
  const CACHE_CAPACITY = 1000000;
76
76
 
77
77
  // this is frozen so that users don't accidentally push data into the array
78
- const CONSTANT_READONLY_EMPTY_ARRAY = Object.freeze([]);
78
+ const CONSTANT_READONLY_EMPTY_ARRAY: Array<$FlowFixMe> = Object.freeze([]);
79
79
 
80
80
  function isMissingData(snapshot: SingularOrPluralSnapshot): boolean {
81
81
  if (Array.isArray(snapshot)) {
@@ -304,9 +304,23 @@ class FragmentResourceImpl {
304
304
  cachedValue.result.snapshot &&
305
305
  !missingLiveResolverFields(cachedValue.result.snapshot)?.length
306
306
  ) {
307
- this._handlePotentialSnapshotErrorsInSnapshot(
307
+ this._throwOrLogErrorsInSnapshot(
308
+ // $FlowFixMe[incompatible-call]
308
309
  cachedValue.result.snapshot,
309
310
  );
311
+
312
+ // This cache gets populated directly whenever the store notifies us of
313
+ // an update. That mechanism does not check for missing data, or
314
+ // in-flight requests.
315
+ if (cachedValue.result.isMissingData) {
316
+ environment.__log({
317
+ name: 'fragmentresource.missing_data',
318
+ data: cachedValue.result.data,
319
+ fragment: fragmentNode,
320
+ isRelayHooks: true,
321
+ cached: true,
322
+ });
323
+ }
310
324
  return cachedValue.result;
311
325
  }
312
326
  }
@@ -345,7 +359,7 @@ class FragmentResourceImpl {
345
359
  storeEpoch,
346
360
  );
347
361
  if (!fragmentResult.isMissingData) {
348
- this._handlePotentialSnapshotErrorsInSnapshot(snapshot);
362
+ this._throwOrLogErrorsInSnapshot(snapshot);
349
363
 
350
364
  this._cache.set(fragmentIdentifier, {
351
365
  kind: 'done',
@@ -469,7 +483,19 @@ class FragmentResourceImpl {
469
483
  }
470
484
  }
471
485
 
472
- this._handlePotentialSnapshotErrorsInSnapshot(snapshot);
486
+ this._throwOrLogErrorsInSnapshot(snapshot);
487
+
488
+ // At this point, there's nothing we can do. We don't have all the expected
489
+ // data, but there's no indication the missing data will be fulfilled. So we
490
+ // choose to return potentially non-typesafe data. The data returned here
491
+ // might not match the generated types for this fragment/operation.
492
+ environment.__log({
493
+ name: 'fragmentresource.missing_data',
494
+ data: fragmentResult.data,
495
+ fragment: fragmentNode,
496
+ isRelayHooks: true,
497
+ cached: false,
498
+ });
473
499
  return getFragmentResult(fragmentIdentifier, snapshot, storeEpoch);
474
500
  }
475
501
 
@@ -505,7 +531,7 @@ class FragmentResourceImpl {
505
531
  };
506
532
  }
507
533
 
508
- _handlePotentialSnapshotErrorsInSnapshot(snapshot: SingularOrPluralSnapshot) {
534
+ _throwOrLogErrorsInSnapshot(snapshot: SingularOrPluralSnapshot) {
509
535
  if (Array.isArray(snapshot)) {
510
536
  snapshot.forEach(s => {
511
537
  handlePotentialSnapshotErrors(
@@ -736,7 +762,7 @@ class FragmentResourceImpl {
736
762
  .then(() => {
737
763
  this._cache.delete(cacheKey);
738
764
  })
739
- .catch((error: Error) => {
765
+ .catch<void>((error: Error) => {
740
766
  this._cache.delete(cacheKey);
741
767
  });
742
768
  // $FlowExpectedError[prop-missing] Expando to annotate Promises.
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  * @flow strict-local
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  * @flow strict-local
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
@@ -5,8 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
7
  * @flow strict-local
8
- * @emails oncall+relay
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
@@ -4,13 +4,13 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  * @flow strict-local
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
13
-
13
+ import type {OperationType} from '../../relay-runtime/util/RelayRuntimeTypes';
14
14
  import type {
15
15
  EntryPoint,
16
16
  EntryPointComponent,
@@ -97,7 +97,10 @@ function prepareEntryPoint<
97
97
  environmentProviderOptions,
98
98
  );
99
99
 
100
- preloadedQueries[queryPropName] = preloadQuery_DEPRECATED(
100
+ preloadedQueries[queryPropName] = preloadQuery_DEPRECATED<
101
+ OperationType,
102
+ mixed,
103
+ >(
101
104
  environment,
102
105
  parameters,
103
106
  variables,
@@ -116,11 +119,15 @@ function prepareEntryPoint<
116
119
  }
117
120
  const {entryPoint: nestedEntryPoint, entryPointParams: nestedParams} =
118
121
  entryPointDescription;
119
- preloadedEntryPoints[entryPointPropName] = prepareEntryPoint(
120
- environmentProvider,
121
- nestedEntryPoint,
122
- nestedParams,
123
- );
122
+ preloadedEntryPoints[entryPointPropName] = prepareEntryPoint<
123
+ _,
124
+ {...},
125
+ {...},
126
+ {...},
127
+ mixed,
128
+ EntryPointComponent<{...}, {...}, {...}, mixed>,
129
+ _,
130
+ >(environmentProvider, nestedEntryPoint, nestedParams);
124
131
  });
125
132
  }
126
133
  return {
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  * @flow strict-local
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  'use strict';
@@ -4,9 +4,9 @@
4
4
  * This source code is licensed under the MIT license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  *
7
- * @emails oncall+relay
8
7
  * @flow strict-local
9
8
  * @format
9
+ * @oncall relay
10
10
  */
11
11
 
12
12
  // This contextual profiler can be used to wrap a react sub-tree. It will bind