@drfed/web 0.1.0-dev.565 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/public/.vite/manifest.json +181 -181
- package/.output/public/_build/assets/{ActorDetailQuery.graphql-D96mwq1k.js → ActorDetailQuery.graphql-BifVLgri.js} +1 -1
- package/.output/public/_build/assets/{ActorDetailQuery.graphql-DrxSNh1X.js → ActorDetailQuery.graphql-CCzXciWe.js} +1 -1
- package/.output/public/_build/assets/{CompleteLoginChallenge.graphql-C5Zq3wNh.js → CompleteLoginChallenge.graphql-BuIODTQe.js} +1 -1
- package/.output/public/_build/assets/{CopyButton-B2l484wE.js → CopyButton-BPA_AsfQ.js} +1 -1
- package/.output/public/_build/assets/{CreateInstanceMutation.graphql-B4CRy6cl.js → CreateInstanceMutation.graphql-BeuI_m9K.js} +1 -1
- package/.output/public/_build/assets/{CreateObjectMutation.graphql-B4A01dgV.js → CreateObjectMutation.graphql-slDMnVjt.js} +1 -1
- package/.output/public/_build/assets/{GenerateActorsMutation.graphql-mlHJNIbe.js → GenerateActorsMutation.graphql-vkoqVyL8.js} +1 -1
- package/.output/public/_build/assets/{GetHostQuery.graphql-CuzDdOdW.js → GetHostQuery.graphql-BzusRJ7N.js} +1 -1
- package/.output/public/_build/assets/{GetHostQuery.graphql-o9K0Qkg0.js → GetHostQuery.graphql-CKu9xX8-.js} +1 -1
- package/.output/public/_build/assets/{HomeViewerQuery.graphql-B903WWKs.js → HomeViewerQuery.graphql-BEP_urQ1.js} +1 -1
- package/.output/public/_build/assets/HttpStatusCode-FQmr-LGM.js +1 -0
- package/.output/public/_build/assets/{InstanceActorListQuery.graphql-paa7teUO.js → InstanceActorListQuery.graphql-ADOUh67G.js} +1 -1
- package/.output/public/_build/assets/{InstanceActorListQuery.graphql-DmNwiEhM.js → InstanceActorListQuery.graphql-Dmh71GI5.js} +1 -1
- package/.output/public/_build/assets/{InstanceDetailQuery.graphql-B52nR132.js → InstanceDetailQuery.graphql-BVIsRDhB.js} +1 -1
- package/.output/public/_build/assets/{InstanceDetailQuery.graphql-DSA2BcAV.js → InstanceDetailQuery.graphql-YvCDX6Vx.js} +1 -1
- package/.output/public/_build/assets/JNCCF6MP-C_2GhSaE.js +1 -0
- package/.output/public/_build/assets/{LP6E37CW-Cwv6G3n1.js → LP6E37CW-BBu2j5XX.js} +1 -1
- package/.output/public/_build/assets/{SignInMutation.graphql-BalZYNFu.js → SignInMutation.graphql-D-K99qj-.js} +1 -1
- package/.output/public/_build/assets/TSB6MOZK-D4_kp7T4.js +1 -0
- package/.output/public/_build/assets/Toast-tZxI6Kk3.js +1 -0
- package/.output/public/_build/assets/{WorkspaceQuery.graphql-UoI7QDs4.js → WorkspaceQuery.graphql-9H5uLyBt.js} +1 -1
- package/.output/public/_build/assets/_...404_-DMz-AmEz.js +1 -0
- package/.output/public/_build/assets/{_challengeId_-Dk-0l7zl.js → _challengeId_-BK-xeuYX.js} +1 -1
- package/.output/public/_build/assets/{_id_-bpxdclBj.js → _id_-Q9HBJzaf.js} +1 -1
- package/.output/public/_build/assets/_slug_-DrTnyM7j.js +200 -0
- package/.output/public/_build/assets/{about-DIrbzRsi.js → about-DtTGI6TG.js} +1 -1
- package/.output/public/_build/assets/actors-LmFNJfl8.js +24 -0
- package/.output/public/_build/assets/{client-CGFoRcqH.js → client-BVl87rV7.js} +2 -2
- package/.output/public/_build/assets/{components-5MVu7IcD.js → components-D1sEsgws.js} +1 -1
- package/.output/public/_build/assets/dist-CMub1v5w.js +1 -0
- package/.output/public/_build/assets/{dist-BrJ_B8nU.js → dist-DUCXQy4t.js} +1 -1
- package/.output/public/_build/assets/{dist-WrlGlK67.js → dist-IMcx10bF.js} +1 -1
- package/.output/public/_build/assets/{entry-client-Do7ocrsL.js → entry-client-DyU5h6Kf.js} +3 -3
- package/.output/public/_build/assets/form.module-DZJVksrR.js +1 -0
- package/.output/public/_build/assets/{index-BHn6sAgH.js → index-CsGHD4_w.js} +1 -1
- package/.output/public/_build/assets/{index-BSLqnqN7.js → index-xrNvEFEe.js} +1 -1
- package/.output/public/_build/assets/instance-CD2GuEFF.js +35 -0
- package/.output/public/_build/assets/objects-CSDLRgba.js +25 -0
- package/.output/public/_build/assets/relay-runtime-CW2Fi-vu.js +7 -0
- package/.output/public/_build/assets/routing-BOJUm5FP.js +1 -0
- package/.output/public/_build/assets/sign-in-6aWEq4t1.js +10 -0
- package/.output/public/_build/assets/web-BjwKY0xb.js +1 -0
- package/.output/server/{_...404_-DDEH5apf.mjs → _...404_-DM28Kka3.mjs} +2 -3
- package/.output/server/{_challengeId_-C_n_Bww9.mjs → _challengeId_-CHkjsE_y.mjs} +5 -5
- package/.output/server/_chunks/ssr-renderer.mjs +3 -3
- package/.output/server/{_id_-DqytvZEf.mjs → _id_-BjLFsMir.mjs} +3 -4
- package/.output/server/_libs/@shikijs/core+[...].mjs +24 -22
- package/.output/server/_libs/@shikijs/engine-javascript+[...].mjs +45 -40
- package/.output/server/_libs/faker-js__faker.mjs +6 -12
- package/.output/server/_libs/relay-runtime.mjs +189 -177
- package/.output/server/_libs/seroval-plugins.mjs +45 -43
- package/.output/server/_libs/seroval.mjs +16 -11
- package/.output/server/_libs/solid-js.mjs +28 -19
- package/.output/server/_libs/solid-relay+tiny-invariant.mjs +1 -3
- package/.output/server/_libs/valibot.mjs +5 -44
- package/.output/server/_runtime.mjs +1 -1
- package/.output/server/{_slug_-CBOaSqoF.mjs → _slug_-CamNffYc.mjs} +3 -4
- package/.output/server/_ssr/{LP6E37CW-D2Ih_b_K.mjs → LP6E37CW-Bs07BPsK.mjs} +2 -2
- package/.output/server/_ssr/{TSB6MOZK-D06WZb6o.mjs → TSB6MOZK-Dz16RpiS.mjs} +10 -6
- package/.output/server/_ssr/{about-CD3QIgf_.mjs → about-K4E3_OxN.mjs} +2 -2
- package/.output/server/_ssr/{actors-CMWf-xQU.mjs → actors-DQIzbpiq.mjs} +21 -21
- package/.output/server/_ssr/{form.module-CTvIl1lm.mjs → form.module-B3iJri2-.mjs} +8 -5
- package/.output/server/_ssr/{index-yuhuc6-X.mjs → index-DQYLULEn.mjs} +2 -2
- package/.output/server/_ssr/{index-C4crD6q-.mjs → index-DU0kuIH3.mjs} +2 -3
- package/.output/server/_ssr/{instance-ZYWGeWd3.mjs → instance-BXwV77PI.mjs} +5 -7
- package/.output/server/_ssr/{objects-D5MVukzB.mjs → objects-DNPuxUtN.mjs} +55 -38
- package/.output/server/_ssr/{sign-in-CNHZb_zL.mjs → sign-in-KJ_TNq1o.mjs} +5 -6
- package/.output/server/_ssr/ssr.mjs +2303 -224
- package/.output/server/index.mjs +244 -244
- package/package.json +10 -10
- package/.output/public/_build/assets/HttpStatusCode-bgaVzuLy.js +0 -1
- package/.output/public/_build/assets/JNCCF6MP-CNMywyiC.js +0 -1
- package/.output/public/_build/assets/TSB6MOZK-CpiH97G1.js +0 -1
- package/.output/public/_build/assets/Toast-C1zr9crB.js +0 -1
- package/.output/public/_build/assets/_...404_-WZ8kAljY.js +0 -1
- package/.output/public/_build/assets/_slug_-DXfRknzJ.js +0 -200
- package/.output/public/_build/assets/actors-HfZh_afh.js +0 -24
- package/.output/public/_build/assets/dist-DVo0HS5G.js +0 -1
- package/.output/public/_build/assets/form.module-BecmEfV_.js +0 -1
- package/.output/public/_build/assets/instance-tpMrvJNZ.js +0 -35
- package/.output/public/_build/assets/objects-DR9TfL-V.js +0 -25
- package/.output/public/_build/assets/relay-runtime-BX3uubtA.js +0 -7
- package/.output/public/_build/assets/routing-DMN2NHu6.js +0 -1
- package/.output/public/_build/assets/sign-in-B67sv7z8.js +0 -10
- package/.output/public/_build/assets/web-DB_Nkq2D.js +0 -1
- package/.output/server/_ssr/JNCCF6MP-BAZlBnvx.mjs +0 -419
- package/.output/server/_ssr/Toast-Bb1gcxED.mjs +0 -947
- package/.output/server/_ssr/dist-D6rgyh-L.mjs +0 -81
- package/.output/server/_ssr/routing-DKTLkkbY.mjs +0 -620
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,o)=>(o=n==null?{}:e(i(n)),c(r||!n||!n.__esModule||!a.call(n,`default`)?t(o,`default`,{value:n,enumerable:!0}):o,n)),u=o(((e,t)=>{t.exports={ACTOR_CHANGE:`ActorChange`,CATCH_FIELD:`CatchField`,CONDITION:`Condition`,CLIENT_COMPONENT:`ClientComponent`,CLIENT_EDGE_TO_SERVER_OBJECT:`ClientEdgeToServerObject`,CLIENT_EDGE_TO_CLIENT_OBJECT:`ClientEdgeToClientObject`,CLIENT_EXTENSION:`ClientExtension`,DEFER:`Defer`,CONNECTION:`Connection`,FRAGMENT:`Fragment`,FRAGMENT_SPREAD:`FragmentSpread`,INLINE_DATA_FRAGMENT_SPREAD:`InlineDataFragmentSpread`,INLINE_DATA_FRAGMENT:`InlineDataFragment`,INLINE_FRAGMENT:`InlineFragment`,LINKED_FIELD:`LinkedField`,LINKED_HANDLE:`LinkedHandle`,LITERAL:`Literal`,LIST_VALUE:`ListValue`,LOCAL_ARGUMENT:`LocalArgument`,MODULE_IMPORT:`ModuleImport`,ALIASED_FRAGMENT_SPREAD:`AliasedFragmentSpread`,ALIASED_INLINE_FRAGMENT_SPREAD:`AliasedInlineFragmentSpread`,RELAY_RESOLVER:`RelayResolver`,RELAY_LIVE_RESOLVER:`RelayLiveResolver`,REQUIRED_FIELD:`RequiredField`,OBJECT_VALUE:`ObjectValue`,OPERATION:`Operation`,REQUEST:`Request`,ROOT_ARGUMENT:`RootArgument`,SCALAR_FIELD:`ScalarField`,SCALAR_HANDLE:`ScalarHandle`,SPLIT_OPERATION:`SplitOperation`,STREAM:`Stream`,TYPE_DISCRIMINATOR:`TypeDiscriminator`,UPDATABLE_QUERY:`UpdatableQuery`,VARIABLE:`Variable`}})),d=o(((e,t)=>{t.exports=function(e,t,n,r,i,a,o,s){if(!e){var c;if(t===void 0)c=Error(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var l=[n,r,i,a,o,s],u=0;c=Error(t.replace(/%s/g,function(){return l[u++]})),c.name=`Invariant Violation`}throw c.framesToPop=1,c}}})),f=o(((e,t)=>{function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},t.exports=r})),p=o(((e,t)=>{t.exports=f()})),m=o(((e,t)=>{var n=u(),r=d();p();function i(e){r(!1)}function a(e){var t=e;return typeof t==`function`?t=t():t.default&&(t=t.default),t}function o(e){var t=a(e);return typeof t==`object`&&!!t&&t.kind===n.FRAGMENT}function s(e){var t=a(e);return typeof t==`object`&&!!t&&t.kind===n.REQUEST}function c(e){var t=a(e);return typeof t==`object`&&!!t&&t.kind===n.UPDATABLE_QUERY}function l(e){var t=a(e);return typeof t==`object`&&!!t&&t.kind===n.INLINE_DATA_FRAGMENT}function f(e){var t=a(e);return!o(t)&&r(!1),t}function m(e){var t=f(e),n=t.metadata?.refetch,r=n?.connection;return typeof n!=`object`||!n||typeof r!=`object`||!r?null:t}function h(e){var t=f(e),n=t.metadata?.refetch;return typeof n!=`object`||!n?null:t}function g(e){var t=a(e);return!s(t)&&r(!1),t}function _(e){var t=a(e);return!c(t)&&r(!1),t}function v(e){var t=a(e);return!l(t)&&r(!1),t}t.exports={getFragment:f,getInlineDataFragment:v,getNode:a,getPaginationFragment:m,getRefetchableFragment:h,getRequest:g,getUpdatableQuery:_,graphql:i,isFragment:o,isInlineDataFragment:l,isRequest:s,isUpdatableQuery:c}})),h=o(((e,t)=>{function n(e){return e&&e.__esModule?e:{default:e}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),g=o(((e,t)=>{function n(e){"@babel/helpers - typeof";return t.exports=n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},t.exports.__esModule=!0,t.exports.default=t.exports,n(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),_=o(((e,t)=>{var n=g().default;function r(e,t){if(n(e)!=`object`||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!=`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),v=o(((e,t)=>{var n=g().default,r=_();function i(e){var t=r(e,`string`);return n(t)==`symbol`?t:t+``}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports})),y=o(((e,t)=>{var n=v();function r(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),b=o(((e,t)=>{var n=y();function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]==null?{}:arguments[t];t%2?r(Object(i),!0).forEach(function(t){n(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}t.exports=i,t.exports.__esModule=!0,t.exports.default=t.exports})),x=o(((e,t)=>{function n(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),S=o(((e,t)=>{var n=x();function r(e,t){if(e){if(typeof e==`string`)return n(e,t);var r={}.toString.call(e).slice(8,-1);return r===`Object`&&e.constructor&&(r=e.constructor.name),r===`Map`||r===`Set`?Array.from(e):r===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),C=o(((e,t)=>{var n=S();function r(e,t){var r=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(!r){if(Array.isArray(e)||(r=n(e))||t&&e&&typeof e.length==`number`){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
2
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,s=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){c=!0,o=e},f:function(){try{s||r.return==null||r.return()}finally{if(c)throw o}}}}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),w=o(((e,t)=>{var n=h().default,r=n(b()),i=n(C()),a=d();function o(e,t,n){var o=(0,i.default)(t),c;try{for(o.s();!(c=o.n()).done;){var l=c.value;e.relayFieldLogger((0,r.default)((0,r.default)({},l),{},{uiContext:n}))}}catch(e){o.e(e)}finally{o.f()}var u=(0,i.default)(t),d;try{for(u.s();!(d=u.n()).done;){var f=d.value;if(s(f))switch(f.kind){case`relay_resolver.error`:throw Error(`Relay: Resolver error at path '${f.fieldPath}' in '${f.owner}'. Message: ${f.error.message}`);case`relay_field_payload.error`:throw Error(`Relay: Unexpected response payload - check server logs for details.`);case`missing_expected_data.throw`:throw Error(`Relay: Missing expected data at path '${f.fieldPath}' in '${f.owner}'.`);case`missing_required_field.throw`:throw Error(`Relay: Missing @required value at path '${f.fieldPath}' in '${f.owner}'.`);case`missing_required_field.log`:case`missing_expected_data.log`:break;default:f.kind,a(!1)}}}catch(e){u.e(e)}finally{u.f()}}function s(e){switch(e.kind){case`relay_resolver.error`:case`relay_field_payload.error`:return e.shouldThrow&&!e.handled;case`missing_expected_data.throw`:case`missing_required_field.throw`:return!e.handled;case`missing_required_field.log`:case`missing_expected_data.log`:return!1;default:throw e.kind,Error(`Relay: Unexpected event kind`)}}function c(e,t,n){t!=null&&o(e,t,n)}t.exports={eventShouldThrow:s,handlePotentialSnapshotErrors:c}})),T=o(((e,t)=>{var n=x();function r(e){if(Array.isArray(e))return n(e)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),E=o(((e,t)=>{function n(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),D=o(((e,t)=>{function n(){throw TypeError(`Invalid attempt to spread non-iterable instance.
|
|
3
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),O=o(((e,t)=>{var n=T(),r=E(),i=S(),a=D();function o(e){return n(e)||r(e)||i(e)||a()}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports})),k=o(((e,t)=>{t.exports={DEFAULT_HANDLE_KEY:``}})),A=o(((e,t)=>{var n=k().DEFAULT_HANDLE_KEY,r=d();function i(e,t,i){return t&&t!==n?`__${t}_${e}`:(i??r(!1),`__${i}_${e}`)}t.exports=i})),j=o(((e,t)=>{t.exports={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,LOG_MISSING_RECORDS_IN_PROD:!1,ENABLE_STORE_ID_COLLISION_LOGGING:!1,ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS:!1,ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION:!1,ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES:!1,ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE:!1,PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION:!1,MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD:!1,ENABLE_CYLE_DETECTION_IN_VARIABLES:!1,ENABLE_ACTIVITY_COMPATIBILITY:!0,ENABLE_READ_TIME_RESOLVER_STORAGE_KEY_PREFIX:!0,ENABLE_USE_PAGINATION_IS_LOADING_FIX:!1,DISALLOW_NESTED_UPDATES:!1,ENABLE_TYPENAME_PREFIXED_DATA_ID:!1,ENABLE_UI_CONTEXT_ON_RELAY_LOGGER:!1,CHECK_ALL_FRAGMENTS_FOR_MISSING_CLIENT_EDGES:!1,FILTER_OUT_RELAY_RESOLVER_RECORDS:!1,OPTIMIZE_NOTIFY:!1,ENABLE_FIELD_GRANULAR_NOTIFICATIONS:!1,ENABLE_READER_FRAGMENTS_LOGGING:!1}})),M=o(((e,t)=>{function n(e){if(!e||typeof e!=`object`)return e;if(Array.isArray(e))return e.map(n);for(var t=Object.keys(e).sort(),r={},i=0;i<t.length;i++)r[t[i]]=n(e[t[i]]);return r}function r(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;if(!e||typeof e!=`object`)return!1;if(t.has(e))return!0;var n=new Set(t);return n.add(e),(Array.isArray(e)?e:Object.values(e)).some(function(e){return r(e,n)})}t.exports={hasCycle:r,stableCopy:n}})),N=o(((e,t)=>{var n=h().default,r=n(O()),i=A(),a=u(),o=j(),s=M().stableCopy,c=d(),l=a.VARIABLE,f=a.LITERAL,p=a.OBJECT_VALUE,m=a.LIST_VALUE,g=`__errors`,_=`__fieldGranularNotifications`,v=`__module_component_`,y=`__module_operation_`,b=`$r:`;function x(e,t){if(e.kind===l)return N(e.variableName,t);if(e.kind===f)return e.value;if(e.kind===p){var n={};return e.fields.forEach(function(e){n[e.name]=x(e,t)}),n}if(e.kind===m){var r=[];return e.items.forEach(function(e){e!=null&&r.push(x(e,t))}),r}}function S(e,t,n){var r={};return n&&(r[L.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT]=!0),e&&e.forEach(function(e){r[e.name]=x(e,t)}),r}function C(e,t){var n=e.dynamicKey,a=e.handle,o=e.key,s=e.name,c=e.args,l=e.filters,u=i(a,o,s),d=null;return c&&l&&c.length!==0&&l.length!==0&&(d=c.filter(function(e){return l.indexOf(e.name)>-1})),n&&(d=d==null?[n]:[n].concat((0,r.default)(d))),d===null?u:k(u,S(d,t))}function w(e,t){if(e.storageKey)return e.storageKey;var n=E(e),r=e.name;return n&&n.length!==0?k(r,S(n,t)):r}function T(e,t){var n=w(e,t);return o.ENABLE_READ_TIME_RESOLVER_STORAGE_KEY_PREFIX?`$r:`+n:n}function E(e){return e.kind===`RelayResolver`||e.kind===`RelayLiveResolver`?e.args==null?e.fragment?.args:e.fragment?.args==null?e.args:e.args.concat(e.fragment.args):e.args===void 0?void 0:e.args}function D(e,t){return k(e,s(t))}function k(e,t){if(!t)return e;var n=[];for(var r in t)if(t.hasOwnProperty(r)){var i=t[r];i!=null&&n.push(r+`:`+(JSON.stringify(i)??`undefined`))}return n.length===0?e:e+`(${n.join(`,`)})`}function N(e,t){return!t.hasOwnProperty(e)&&c(!1),s(t[e])}function P(e){return`${v}${e}`}function F(e){return`${y}${e}`}function I(e,t){return`__fn:${e}:${t}`}var L={ACTOR_IDENTIFIER_KEY:`__actorIdentifier`,CLIENT_EDGE_TRAVERSAL_PATH:`__clientEdgeTraversalPath`,FRAGMENTS_KEY:`__fragments`,FRAGMENT_OWNER_KEY:`__fragmentOwner`,FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:`$isWithinUnmatchedTypeRefinement`,FRAGMENT_PROP_NAME_KEY:`__fragmentPropName`,MODULE_COMPONENT_KEY:`__module_component`,ERRORS_KEY:g,FIELD_GRANULAR_NOTIFICATIONS_KEY:_,ID_KEY:`__id`,REF_KEY:`__ref`,REFS_KEY:`__refs`,ROOT_ID:`client:root`,ROOT_TYPE:`__Root`,TYPENAME_KEY:`__typename`,INVALIDATED_AT_KEY:`__invalidated_at`,RELAY_RESOLVER_VALUE_KEY:`__resolverValue`,RELAY_RESOLVER_INVALIDATION_KEY:`__resolverValueMayBeInvalid`,RELAY_RESOLVER_SNAPSHOT_KEY:`__resolverSnapshot`,RELAY_RESOLVER_ERROR_KEY:`__resolverError`,RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:`__resolverOutputTypeRecordIDs`,RELAY_RESOLVER_RECORD_TYPENAME:`__RELAY_RESOLVER__`,RELAY_READ_TIME_RESOLVER_KEY_PREFIX:b,formatStorageKey:k,getArgumentValue:x,getArgumentValues:S,getHandleStorageKey:C,getStorageKey:w,getReadTimeResolverStorageKey:T,getStableStorageKey:D,getModuleComponentKey:P,getModuleOperationKey:F,getFieldNotificationKey:I};t.exports=L})),P=o(((e,t)=>{var n=h().default,r=n(b()),i=N().getArgumentValues,a=d();function o(e,t,n){if(e.argumentDefinitions==null)return n;var i;return e.argumentDefinitions.forEach(function(e){if(!n.hasOwnProperty(e.name))switch(i||=(0,r.default)({},n),e.kind){case`LocalArgument`:i[e.name]=e.defaultValue;break;case`RootArgument`:if(!t.hasOwnProperty(e.name)){i[e.name]=void 0;break}i[e.name]=t[e.name];break;default:a(!1)}}),i||n}function s(e,t,n){var r={};return e.argumentDefinitions.forEach(function(e){var t=e.defaultValue;n[e.name]!=null&&(t=n[e.name]),r[e.name]=t}),t!=null&&Object.keys(t).forEach(function(e){r[e]=t[e].get()}),r}function c(e,t,n){if(t==null)return e;var a=(0,r.default)({},e),o=n?i(n,e):{};return t.forEach(function(e){var t=o[e.name]??e.defaultValue;a[e.name]=t}),a}t.exports={getFragmentVariables:o,getLocalVariables:c,getOperationVariables:s}})),F=o(((e,t)=>{var n=[],r=[];function i(e,t){var i=n.length?n.pop():[],o=r.length?r.pop():[],s=a(e,t,i,o);return i.length=0,o.length=0,n.push(i),r.push(o),s}function a(e,t,n,r){if(e===t)return e!==0||1/e==1/t;if(e==null||t==null||typeof e!=`object`||typeof t!=`object`)return!1;var i=Object.prototype.toString,o=i.call(e);if(o!=i.call(t))return!1;switch(o){case`[object String]`:return e==String(t);case`[object Number]`:return isNaN(e)||isNaN(t)?!1:e==Number(t);case`[object Date]`:case`[object Boolean]`:return+e==+t;case`[object RegExp]`:return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}for(var s=n.length;s--;)if(n[s]==e)return r[s]==t;n.push(e),r.push(t);var c=0;if(o===`[object Array]`){if(c=e.length,c!==t.length)return!1;for(;c--;)if(!a(e[c],t[c],n,r))return!1}else{if(e.constructor!==t.constructor)return!1;if(e.hasOwnProperty(`valueOf`)&&t.hasOwnProperty(`valueOf`))return e.valueOf()==t.valueOf();var l=Object.keys(e);if(l.length!=Object.keys(t).length)return!1;for(var u=0;u<l.length;u++)if(!a(e[l[u]],t[l[u]],n,r))return!1}return n.pop(),r.pop(),!0}t.exports=i})),I=o(((e,t)=>{var n=P().getFragmentVariables,r=N(),i=r.CLIENT_EDGE_TRAVERSAL_PATH,a=r.FRAGMENT_OWNER_KEY,o=r.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,s=r.FRAGMENTS_KEY,c=r.ID_KEY,l=F(),u=d();p();function f(e,t){(typeof t!=`object`||!t||Array.isArray(t))&&u(!1);var r=t[c],l=t[s],d=t[a],f=t[i];if(typeof r==`string`&&typeof l==`object`&&l&&typeof l[e.name]==`object`&&l[e.name]!==null&&typeof d==`object`&&d&&(f==null||Array.isArray(f))){var p=d,m=f,h=l[e.name];return k(e,r,n(e,p.variables,h),p,h[o]===!0,m)}return null}function m(e,t){var n=null;return t.forEach(function(t,r){var i=t==null?null:f(e,t);i!=null&&(n||=[],n.push(i))}),n==null?null:{kind:`PluralReaderSelector`,selectors:n}}function h(e,t){return t==null?t:e.metadata&&e.metadata.plural===!0?(!Array.isArray(t)&&u(!1),m(e,t)):(Array.isArray(t)&&u(!1),f(e,t))}function g(e,t){var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],a=t[r];n[r]=h(i,a)}return n}function _(e,t){var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],a=t[r];n[r]=v(i,a)}return n}function v(e,t){return t==null?t:e.metadata&&e.metadata.plural===!0?(!Array.isArray(t)&&u(!1),y(e,t)):(Array.isArray(t)&&u(!1),b(e,t))}function y(e,t){var n=null;return t.forEach(function(t){var r=t==null?null:b(e,t);r!=null&&(n||=[],n.push(r))}),n}function b(e,t){(typeof t!=`object`||!t||Array.isArray(t))&&u(!1);var n=t[c];return typeof n==`string`?n:null}function x(e,t){var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],a=t[r],o=S(i,a);Object.assign(n,o)}return n}function S(e,t){return t==null?{}:e.metadata?.plural===!0?(!Array.isArray(t)&&u(!1),w(e,t)):(Array.isArray(t)&&u(!1),C(e,t)||{})}function C(e,t){var n=f(e,t);return n?n.variables:null}function w(e,t){var n={};return t.forEach(function(t,r){if(t!=null){var i=C(e,t);i!=null&&Object.assign(n,i)}}),n}function T(e,t){return e.dataID===t.dataID&&e.node===t.node&&l(e.variables,t.variables)&&E(e.owner,t.owner)&&e.isWithinUnmatchedTypeRefinement===t.isWithinUnmatchedTypeRefinement&&D(e.clientEdgeTraversalPath,t.clientEdgeTraversalPath)}function E(e,t){return e===t||e.identifier===t.identifier&&l(e.cacheConfig,t.cacheConfig)}function D(e,t){if(e===t)return!0;if(e==null||t==null||e.length!==t.length)return!1;for(var n=e.length;n--;){var r=e[n],i=t[n];if(r!==i&&(r==null||i==null||r.clientEdgeDestinationID!==i.clientEdgeDestinationID||r.readerClientEdge!==i.readerClientEdge))return!1}return!0}function O(e,t){return e===t?!0:e==null?t==null:t==null?e==null:e.kind===`SingularReaderSelector`&&t.kind===`SingularReaderSelector`?T(e,t):e.kind===`PluralReaderSelector`&&t.kind===`PluralReaderSelector`&&e.selectors.length===t.selectors.length&&e.selectors.every(function(e,n){return T(e,t.selectors[n])})}function k(e,t,n,r){var i=arguments.length>4&&arguments[4]!==void 0&&arguments[4];return{clientEdgeTraversalPath:(arguments.length>5?arguments[5]:void 0)??null,dataID:t,isWithinUnmatchedTypeRefinement:i,kind:`SingularReaderSelector`,node:e,owner:r,variables:n}}function A(e,t,n){return{dataID:t,node:e,variables:n}}t.exports={areEqualSelectors:O,createNormalizationSelector:A,createReaderSelector:k,getDataIDsFromFragment:v,getDataIDsFromObject:_,getPluralSelector:m,getSelector:h,getSelectorsFromObject:g,getSingularSelector:f,getVariablesFromFragment:S,getVariablesFromObject:x,getVariablesFromPluralFragment:w,getVariablesFromSingularFragment:C}})),L=o(((e,t)=>{var n=m().getFragment,r=w().eventShouldThrow,i=I().getSelector,a=d(),o=[];function s(e,t){o.push(e);try{return t()}finally{o.pop()}}function c(e,t){if(!o.length)throw Error(`readFragment should be called only from within a Relay Resolver function.`);var s=o[o.length-1],c=i(n(e),t);c??a(!1),c.kind!==`SingularReaderSelector`&&a(!1);var u=s.getDataForResolverFragment(c,t),d=u.data,f=u.isMissingData,p=u.fieldErrors;if(f||p!=null&&p.some(r))throw l;return d}var l={};t.exports={RESOLVER_FRAGMENT_ERRORED_SENTINEL:l,readFragment:c,withResolverContext:s}})),R=o(((e,t)=>{var n=L().readFragment,r=d();function i(e,t,i,a){var o=t;return function(t,s,c){var l=n(e,t);if(i!=null){if(l==null){if(a===!0)r(!1);else return o(null,s,c)}if(i in l)return a===!0&&(l[i]??r(!1)),o(l[i],s,c);r(!1)}else return o(null,s,c)}}t.exports=i})),z=o(((e,t)=>{function n(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,a){var o=e.apply(t,r);function s(e){n(o,i,a,s,c,`next`,e)}function c(e){n(o,i,a,s,c,`throw`,e)}s(void 0)})}}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),B=o(((e,t)=>{function n(e){return typeof e==`object`&&!!e&&typeof e.then==`function`}t.exports=n})),V=o(((e,t)=>{var n=B(),r=u,i=function(){e.create=function(t){return new e(t)};function e(e){this._source=e}e.onUnhandledError=function(e){r=e},e.from=function(e){return a(e)?o(e):n(e)?s(e):c(e)};var t=e.prototype;return t.catch=function(t){var n=this;return e.create(function(e){var r;return n.subscribe({start:function(e){r=e},next:e.next,complete:e.complete,error:function(n){try{t(n).subscribe({start:function(e){r=e},next:e.next,complete:e.complete,error:e.error})}catch(t){e.error(t,!0)}}}),function(){return r.unsubscribe()}})},t.concat=function(t){var n=this;return e.create(function(e){var r;return n.subscribe({start:function(e){r=e},next:e.next,error:e.error,complete:function(){r=t.subscribe(e)}}),function(){r&&r.unsubscribe()}})},t.do=function(t){var n=this;return e.create(function(e){var i=function(n){return function(){try{t[n]&&t[n].apply(t,arguments)}catch(e){r(e,!0)}e[n]&&e[n].apply(e,arguments)}};return n.subscribe({start:i(`start`),next:i(`next`),error:i(`error`),complete:i(`complete`),unsubscribe:i(`unsubscribe`)})})},t.finally=function(t){var n=this;return e.create(function(e){var r=n.subscribe(e);return function(){r.unsubscribe(),t()}})},t.ifEmpty=function(t){var n=this;return e.create(function(e){var r=!1,i=n.subscribe({next:function(t){r=!0,e.next(t)},error:e.error,complete:function(){r?e.complete():i=t.subscribe(e)}});return function(){i&&i.unsubscribe()}})},t.subscribe=function(e){return l(this._source,e)},t.map=function(t){var n=this;return e.create(function(e){var r=n.subscribe({complete:e.complete,error:e.error,next:function(n){try{var r=t(n);e.next(r)}catch(t){e.error(t,!0)}}});return function(){r.unsubscribe()}})},t.mergeMap=function(t){var n=this;return e.create(function(r){var i=[];function a(e){this._sub=e,i.push(e)}function o(){i.splice(i.indexOf(this._sub),1),i.length===0&&r.complete()}return n.subscribe({start:a,next:function(n){try{r.closed||e.from(t(n)).subscribe({start:a,next:r.next,error:r.error,complete:o})}catch(e){r.error(e,!0)}},error:r.error,complete:o}),function(){i.forEach(function(e){return e.unsubscribe()}),i.length=0}})},t.poll=function(t){var n=this;return e.create(function(e){var r,i;return(function a(){r=n.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(a,t)}})})(),function(){clearTimeout(i),r.unsubscribe()}})},t.toPromise=function(){var e=this;return new Promise(function(t,n){var r=!1;e.subscribe({next:function(e){r||(r=!0,t(e))},error:n,complete:t})})},e}();function a(e){return typeof e==`object`&&!!e&&typeof e.subscribe==`function`}function o(e){return e instanceof i?e:i.create(function(t){return e.subscribe(t)})}function s(e){return i.create(function(t){e.then(function(e){t.next(e),t.complete()},t.error)})}function c(e){return i.create(function(t){t.next(e),t.complete()})}function l(e,t){var n=!1,i,a=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function o(){if(i){if(i.unsubscribe)i.unsubscribe();else try{i()}catch(e){r(e,!0)}i=void 0}}var s=a({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(s)}catch(e){r(e,!0)}finally{o()}}}});try{t.start&&t.start(s)}catch(e){r(e,!0)}if(n)return s;var c=a({next:function(e){if(!n&&t.next)try{t.next(e)}catch(e){r(e,!0)}},error:function(e,i){if(n||!t.error)n=!0,r(e,i||!1),o();else{n=!0;try{t.error(e)}catch(e){r(e,!0)}finally{o()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){r(e,!0)}finally{o()}}}});try{i=e(c)}catch(e){c.error(e,!0)}return n&&o(),s}function u(e,t){}t.exports=i})),H=o(((e,t)=>{var n=h().default,r=n(C()),i=n(y()),a=V(),o=d();t.exports=function(){function e(){var e=this;(0,i.default)(this,`_complete`,!1),(0,i.default)(this,`_events`,[]),(0,i.default)(this,`_sinks`,new Set),(0,i.default)(this,`_subscription`,[]),this._observable=a.create(function(t){e._sinks.add(t);for(var n=e._events,r=0;r<n.length&&!t.closed;r++){var i=n[r];switch(i.kind){case`complete`:t.complete();break;case`error`:t.error(i.error);break;case`next`:t.next(i.data);break;default:i.kind,o(!1)}}return function(){e._sinks.delete(t)}})}var t=e.prototype;return t.complete=function(){this._complete!==!0&&(this._complete=!0,this._events.push({kind:`complete`}),this._sinks.forEach(function(e){return e.complete()}))},t.error=function(e){this._complete!==!0&&(this._complete=!0,this._events.push({error:e,kind:`error`}),this._sinks.forEach(function(t){return t.error(e)}))},t.next=function(e){this._complete!==!0&&(this._events.push({data:e,kind:`next`}),this._sinks.forEach(function(t){return t.next(e)}))},t.subscribe=function(e){var t=this._observable.subscribe(e);return this._subscription.push(t),t},t.unsubscribe=function(){var e=(0,r.default)(this._subscription),t;try{for(e.s();!(t=e.n()).done;)t.value.unsubscribe()}catch(t){e.e(t)}finally{e.f()}this._subscription=[]},t.getObserverCount=function(){return this._sinks.size},e}()})),U=o(((e,t)=>{var n=V(),r=H(),i=d(),a=typeof WeakMap==`function`?new WeakMap:new Map;function o(e,t){return s(e,t.request.identifier,function(){return e.execute({operation:t})})}function s(e,t,a){return n.create(function(n){var o=p(e),s=o.get(t);return s||a().finally(function(){return o.delete(t)}).subscribe({start:function(e){s={identifier:t,subject:new r,subjectForInFlightStatus:new r,subscription:e,promise:null},o.set(t,s)},next:function(e){var n=m(o,t);n.subject.next(e),n.subjectForInFlightStatus.next(e)},error:function(e){var n=m(o,t);n.subject.error(e),n.subjectForInFlightStatus.error(e)},complete:function(){var e=m(o,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var n=m(o,t);n.subject.unsubscribe(),n.subjectForInFlightStatus.unsubscribe()}}),s??i(!1),c(o,s).subscribe(n)})}function c(e,t){return n.create(function(n){var r=t.subject.subscribe(n);return function(){r.unsubscribe();var n=e.get(t.identifier);if(n){var i=n.subscription;i!=null&&n.subject.getObserverCount()===0&&(i.unsubscribe(),e.delete(t.identifier))}}})}function l(e,t,r){return n.create(function(t){var n=r.subjectForInFlightStatus.subscribe({error:t.error,next:function(n){e.isRequestActive(r.identifier)?t.next():t.complete()},complete:t.complete,unsubscribe:t.complete});return function(){n.unsubscribe()}})}function u(e,t){var n=p(e),r=n.get(t.identifier);return!r||!e.isRequestActive(r.identifier)?null:new Promise(function(t,i){var a=!1;l(e,n,r).subscribe({complete:t,error:i,next:function(e){a&&t(e)}}),a=!0})}function f(e,t){var n=p(e),r=n.get(t.identifier);return!r||!e.isRequestActive(r.identifier)?null:l(e,n,r)}function p(e){var t=a.get(e);if(t!=null)return t;var n=new Map;return a.set(e,n),n}function m(e,t){var n=e.get(t);return n??i(!1),n}t.exports={fetchQuery:o,fetchQueryDeduped:s,getPromiseForActiveRequest:u,getObservableForActiveRequest:f}})),W=o(((e,t)=>{var n=h().default,r=z().default,i=n(C()),a=V(),o=U().getObservableForActiveRequest,s=m().getFragment,c=w().handlePotentialSnapshotErrors,l=I().getSelector,u=d();function f(e,t,n){return p.apply(this,arguments)}function p(){return p=r(function*(e,t,n){var r;try{var i,a=yield new Promise(function(i,a){r=g(e,t,n).subscribe({next:function(e){e.state===`ok`?i(e.value):e.state===`error`&&a(e.error)}})});return(i=r)==null||i.unsubscribe(),a}catch(e){var o;throw(o=r)==null||o.unsubscribe(),e}}),p.apply(this,arguments)}function g(e,t,n){var r=s(t),i=l(r,n);switch(i??u(!1),!(r.metadata?.hasClientEdges==null||_(i))&&u(!1),i.kind){case`SingularReaderSelector`:return v(e,t,i);case`PluralReaderSelector`:return y(e,t,i)}u(!1)}function _(e){switch(e?.kind){case`SingularReaderSelector`:return(e.owner.node.operation?.use_exec_time_resolvers??e.owner.node.operation?.exec_time_resolvers_enabled_provider?.get())===!0;case`PluralReaderSelector`:return e.selectors?.every(function(e){return(e.owner.node.operation.use_exec_time_resolvers??e.owner.node.operation?.exec_time_resolvers_enabled_provider?.get())===!0})}return!1}function v(e,t,n){var r=e.lookup(n);return a.create(function(i){i.next(b(e,t,n.owner,r));var a=e.subscribe(r,function(r){i.next(b(e,t,n.owner,r))});return function(){return a.dispose()}})}function y(e,t,n){var r=n.selectors.map(function(t){return e.lookup(t)});return a.create(function(i){var a=r.map(function(r,i){return b(e,t,n.selectors[i].owner,r)});i.next(x(a));var o=r.map(function(r,o){return e.subscribe(r,function(r){a[o]=b(e,t,n.selectors[o].owner,r),i.next(x(a))})});return function(){return o.forEach(function(e){return e.dispose()})}})}function b(e,t,n,r){var i=r.missingLiveResolverFields!=null&&r.missingLiveResolverFields.length>0,a=r.missingClientEdges!=null&&r.missingClientEdges.length>0;if(i||a||r.isMissingData&&(o(e,n)!=null||e.getOperationTracker().getPendingOperationsAffectingOwner(n)!=null))return{state:`loading`};try{c(e,r.fieldErrors)}catch(e){return{error:e,state:`error`}}return r.data??u(!1),{state:`ok`,value:r.data}}function x(e){var t=[],n=(0,i.default)(e),r;try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a.state===`ok`)t.push(a.value);else return a}}catch(e){n.e(e)}finally{n.f()}return{state:`ok`,value:t}}t.exports={observeFragment:g,waitForFragmentData:f}})),ee=o(((e,t)=>{function n(e){return r(e)&&(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var r=e[t];r&&typeof r==`object`&&!Object.isFrozen(r)&&n(r)})),e}function r(e){return e!=null&&(Array.isArray(e)||typeof e==`object`&&e.constructor===Object)}t.exports=n})),te=o(((e,t)=>{var n=M().stableCopy,r=d();function i(e,t){var i=e.cacheID==null?e.id:e.cacheID;return i??r(!1),i+JSON.stringify(n(t))}t.exports=i})),G=o(((e,t)=>{ee();var n=te(),r=j(),i=M().hasCycle,a=P().getOperationVariables,o=I(),s=o.createNormalizationSelector,c=o.createReaderSelector,l=N().ROOT_ID,u=d();function f(e,t,n){var o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:l,d=e.operation,f=a(d,e.params.providedVariables,t);r.ENABLE_CYLE_DETECTION_IN_VARIABLES&&i(f)&&u(!1);var m=p(e,f,n);return{fragment:c(e.fragment,o,f,m),request:m,root:s(d,o,f)}}function p(e,t,r){return{identifier:n(e.params,t),node:e,variables:t,cacheConfig:r}}t.exports={createOperationDescriptor:f,createRequestDescriptor:p}})),K=o(((e,t)=>{var n=h().default,r=n(y()),i=W().observeFragment,a=G().createOperationDescriptor;function o(e,t,n){var o=a(t,n),s={__fragmentOwner:o.request,__fragments:(0,r.default)({},o.fragment.node.name,o.request.variables),__id:o.fragment.dataID},c=o.request.node.fragment;return i(e,c,s)}t.exports={observeQuery:o}})),q=o(((e,t)=>{var n=z().default,r=W().observeFragment;function i(e,t,n){return a.apply(this,arguments)}function a(){return a=n(function*(e,t,n){var i;try{var a,o=yield new Promise(function(a,o){i=r(e,t,n).subscribe({next:function(e){e.state===`ok`?a(e.value):e.state===`error`&&o(e.error)}})});return(a=i)==null||a.unsubscribe(),o}catch(e){var s;throw(s=i)==null||s.unsubscribe(),e}}),a.apply(this,arguments)}t.exports={waitForFragmentData:i}})),ne=o(((e,t)=>{var n=R(),r=W().observeFragment,i=K().observeQuery,a=q().waitForFragmentData;function o(e){return e.ok===!0}function s(e){return e.ok===!1}t.exports={isErrorResult:s,isValueResult:o,observeFragment:r,observeQuery:i,resolverDataInjector:n,waitForFragmentData:a}})),J=o(((e,t)=>{var n=new Map,r=1,i=s(),a=` `,o=`\v`;function s(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}function c(e){return e[0]===a&&i.has(e[1])||e[0]===o?o+e:e}function l(e,t){if(t==null||e.length<t)return c(e);var i=n.get(e);return i??(i=a+r++,n.set(e,i)),i}t.exports={intern:l}})),Y=o(((e,t)=>{var n=j(),r=J().intern,i=`client:`;function a(e,t,a){var o=(n.STRING_INTERN_LEVEL<=0?e:r(e,n.MAX_DATA_ID_LENGTH))+`:`+t;return a!=null&&(o+=`:`+a),o.indexOf(i)!==0&&(o=i+o),o}function o(e){return e.indexOf(i)===0}var s=0;function c(){return`${i}local:${s++}`}function l(e,t,n){var r=`${i}${e}:${t}`;return n!=null&&(r+=`:`+n),r}t.exports={generateClientID:a,generateClientObjectClientID:l,generateUniqueClientID:c,isClientID:o}})),re=o(((e,t)=>{var n={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},r={CURSOR:`cursor`,EDGES:`edges`,END_CURSOR:`endCursor`,HAS_NEXT_PAGE:`hasNextPage`,HAS_PREV_PAGE:`hasPreviousPage`,NODE:`node`,PAGE_INFO_TYPE:`PageInfo`,PAGE_INFO:`pageInfo`,START_CURSOR:`startCursor`};t.exports={inject:function(e){r=e},get:function(){return r},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}}})),ie=o(((e,t)=>{var n=Y().generateClientID,r=N().getStableStorageKey,i=A(),a=re(),o=d();p();var s=`connection`,c=`__connection_next_edge_index`;function l(e,t){var r=e.get(t.dataID);if(r){var i=a.get(),o=i.EDGES,s=i.END_CURSOR,l=i.HAS_NEXT_PAGE,u=i.HAS_PREV_PAGE,d=i.PAGE_INFO,f=i.PAGE_INFO_TYPE,p=i.START_CURSOR,m=r.getLinkedRecord(t.fieldKey),h=m&&m.getLinkedRecord(d);if(!m)r.setValue(null,t.handleKey,void 0,r.getErrors(t.fieldKey));else{var g=n(r.getDataID(),t.handleKey),_=r.getLinkedRecord(t.handleKey),b=_??e.get(g),x=b&&b.getLinkedRecord(d);if(b){_??r.setLinkedRecord(b,t.handleKey);var S=b,C=m.getLinkedRecords(o);C&&=C.map(function(t){return v(e,S,t)});var w=S.getLinkedRecords(o),T=S.getLinkedRecord(d);S.copyFieldsFrom(m),w&&S.setLinkedRecords(w,o),T&&S.setLinkedRecord(T,d);var E=[],D=t.args;if(w&&C){if(D.after!=null){var O=x?.getValue(s),k=h?.getValue(s);if(x&&D.after===O||x&&O===k){var A=new Set;y(w,E,A),y(C,E,A)}else return}else if(D.before!=null){if(x&&D.before===x.getValue(p)){var j=new Set;y(C,E,j),y(w,E,j)}else return}else E=C}else E=C||w;if(E!=null&&E!==w&&S.setLinkedRecords(E,o),x&&h){if(D.after==null&&D.before==null)x.copyFieldsFrom(h);else if(D.before!=null||D.after==null&&D.last){x.setValue(!!h.getValue(u),u);var M=h.getValue(p);typeof M==`string`&&x.setValue(M,p)}else if(D.after!=null||D.before==null&&D.first){x.setValue(!!h.getValue(l),l);var N=h.getValue(s);typeof N==`string`&&x.setValue(N,s)}}}else{var P=e.create(g,m.getType());P.setValue(0,c),P.copyFieldsFrom(m);var F=m.getLinkedRecords(o);F&&(F=F.map(function(t){return v(e,P,t)}),P.setLinkedRecords(F,o)),r.setLinkedRecord(P,t.handleKey),x=e.create(n(P.getDataID(),d),f),x.setValue(!1,l),x.setValue(!1,u),x.setValue(null,s),x.setValue(null,p),h&&x.copyFieldsFrom(h),P.setLinkedRecord(x,d)}}}}function u(e,t,n){var r=i(s,t,null);return e.getLinkedRecord(r,n)}function f(e,t,a){return n(e,r(i(s,t,null),a))}function m(e,t,n){var r=a.get(),i=r.CURSOR,o=r.EDGES,s=e.getLinkedRecords(o);if(!s)e.setLinkedRecords([t],o);else{var c;if(n==null)c=s.concat(t);else{c=[];for(var l=!1,u=0;u<s.length;u++){var d=s[u];c.push(d),d!=null&&n===d.getValue(i)&&(c.push(t),l=!0)}l||c.push(t)}e.setLinkedRecords(c,o)}}function h(e,t,r,i){var o=a.get().NODE,s=n(t.getDataID(),r.getDataID()),c=e.get(s);return c||=e.create(s,i),c.setLinkedRecord(r,o),c.getValue(`cursor`)??c.setValue(null,`cursor`),c}function g(e,t,n){var r=a.get(),i=r.CURSOR,o=r.EDGES,s=e.getLinkedRecords(o);if(!s)e.setLinkedRecords([t],o);else{var c;if(n==null)c=[t].concat(s);else{c=[];for(var l=!1,u=0;u<s.length;u++){var d=s[u];d!=null&&n===d.getValue(i)&&(c.push(t),l=!0),c.push(d)}l||c.unshift(t)}e.setLinkedRecords(c,o)}}function _(e,t){var n=a.get(),r=n.EDGES,i=n.NODE,o=e.getLinkedRecords(r);if(o){for(var s,c=0;c<o.length;c++){var l=o[c],u=l&&l.getLinkedRecord(i);u!=null&&u.getDataID()===t?s===void 0&&(s=o.slice(0,c)):s!==void 0&&s.push(l)}s!==void 0&&e.setLinkedRecords(s,r)}}function v(e,t,r){if(r==null)return r;var i=a.get().EDGES,s=t.getValue(c);typeof s!=`number`&&o(!1);var l=n(t.getDataID(),i,s),u=e.create(l,r.getType());return u.copyFieldsFrom(r),u.getValue(`cursor`)??u.setValue(null,`cursor`),t.setValue(s+1,c),u}function y(e,t,n){for(var r=a.get().NODE,i=0;i<e.length;i++){var o=e[i];if(o){var s=o.getLinkedRecord(r),c=s&&s.getDataID();if(c){if(n.has(c))continue;n.add(c)}t.push(o)}}}t.exports={buildConnectionEdge:v,createEdge:h,deleteNode:_,getConnection:u,getConnectionID:f,insertEdgeAfter:m,insertEdgeBefore:g,update:l}})),ae=o(((e,t)=>{var n=h().default,r=n(C()),i=ie(),a=re(),o=d();p();var s={update:function(e,t){var n=e.get(t.dataID);if(n!=null){var r=n.getValue(t.fieldKey);typeof r==`string`?e.delete(r):Array.isArray(r)&&r.forEach(function(t){typeof t==`string`&&e.delete(t)})}}},c={update:function(e,t){var n=e.get(t.dataID);if(n!=null){var a=t.handleArgs.connections;a??o(!1);var s=n.getValue(t.fieldKey);(Array.isArray(s)?s:[s]).forEach(function(t){if(typeof t==`string`){var n=(0,r.default)(a),o;try{for(n.s();!(o=n.n()).done;){var s=o.value,c=e.get(s);c!=null&&i.deleteNode(c,t)}}catch(e){n.e(e)}finally{n.f()}}})}}},l={update:g(i.insertEdgeAfter)},u={update:g(i.insertEdgeBefore)},f={update:_(i.insertEdgeAfter)},m={update:_(i.insertEdgeBefore)};function g(e){return function(t,n){var s=t.get(n.dataID);if(s!=null){var c=n.handleArgs.connections;c??o(!1);var l,u;try{l=s.getLinkedRecord(n.fieldKey)}catch{}if(!l)try{u=s.getLinkedRecords(n.fieldKey)}catch{}if(l!=null||u!=null){var d=a.get(),f=d.NODE,p=d.EDGES,m=u??[l],h=(0,r.default)(m),g;try{var _=function(){var n=g.value;if(n==null)return`continue`;var a=n.getLinkedRecord(`node`);if(!a)return`continue`;var s=a.getDataID(),l=(0,r.default)(c),u;try{for(l.s();!(u=l.n()).done;){var d=u.value,m=t.get(d);if(m!=null&&!(v=m.getLinkedRecords(p))?.some(function(e){return e?.getLinkedRecord(f)?.getDataID()===s})){var h=i.buildConnectionEdge(t,m,n);h??o(!1),e(m,h)}}}catch(e){l.e(e)}finally{l.f()}};for(h.s();!(g=h.n()).done;){var v;_()}}catch(e){h.e(e)}finally{h.f()}}}}}function _(e){return function(t,n){var s=t.get(n.dataID);if(s!=null){var c=n.handleArgs,l=c.connections,u=c.edgeTypeName;l??o(!1),u??o(!1);var d,f;try{d=s.getLinkedRecord(n.fieldKey)}catch{}if(!d)try{f=s.getLinkedRecords(n.fieldKey)}catch{}if(d!=null||f!=null){var p=a.get(),m=p.NODE,h=p.EDGES,g=f??[d],_=(0,r.default)(g),v;try{var y=function(){var n=v.value;if(n==null)return`continue`;var a=n.getDataID(),s=(0,r.default)(l),c;try{for(s.s();!(c=s.n()).done;){var d=c.value,f=t.get(d);if(f!=null&&!(b=f.getLinkedRecords(h))?.some(function(e){return e?.getLinkedRecord(m)?.getDataID()===a})){var p=i.createEdge(t,f,n,u);p??o(!1),e(f,p)}}}catch(e){s.e(e)}finally{s.f()}};for(_.s();!(v=_.n()).done;){var b;y()}}catch(e){_.e(e)}finally{_.f()}}}}}t.exports={AppendEdgeHandler:l,DeleteRecordHandler:s,PrependEdgeHandler:u,AppendNodeHandler:f,PrependNodeHandler:m,DeleteEdgeHandler:c}})),oe=o(((e,t)=>{var n=ie(),r=ae(),i=d();function a(e){switch(e){case`connection`:return n;case`deleteRecord`:return r.DeleteRecordHandler;case`deleteEdge`:return r.DeleteEdgeHandler;case`appendEdge`:return r.AppendEdgeHandler;case`prependEdge`:return r.PrependEdgeHandler;case`appendNode`:return r.AppendNodeHandler;case`prependNode`:return r.PrependNodeHandler}i(!1)}t.exports=a})),se=o(((e,t)=>{function n(e){return!!(e&&e[`@@RelayModernEnvironment`])}t.exports=n})),ce=o(((e,t)=>{var n=h().default,r=n(C()),i=ie();p();var a=Object.freeze({RANGE_ADD:`RANGE_ADD`,RANGE_DELETE:`RANGE_DELETE`,NODE_DELETE:`NODE_DELETE`}),o=Object.freeze({APPEND:`append`,PREPEND:`prepend`});function s(e,t,n,r){var i=n?[n]:[],a=r?[r]:[];return e.forEach(function(e){switch(e.type){case`NODE_DELETE`:var n=c(e,t);n&&(i.push(n),a.push(n));break;case`RANGE_ADD`:var r=l(e,t);r&&(i.push(r),a.push(r));break;case`RANGE_DELETE`:var o=u(e,t);o&&(i.push(o),a.push(o))}}),{optimisticUpdater:function(e,t){i.forEach(function(n){n(e,t)})},updater:function(e,t){a.forEach(function(n){n(e,t)})}}}function c(e,t){var n=e.deletedIDFieldName,r=f(t);return r?function(e,t){var i=e.getRootField(r);if(i){var a=i.getValue(n);(Array.isArray(a)?a:[a]).forEach(function(t){t&&typeof t==`string`&&e.delete(t)})}}:null}function l(e,t){var n=e.parentID,a=e.connectionInfo,o=e.edgeName;if(!n)return null;var s=f(t);return!a||!s?null:function(e,t){var c=e.get(n);if(c){var l=e.getRootField(s);if(l){var u=l.getLinkedRecord(o),d=(0,r.default)(a),f;try{for(d.s();!(f=d.n()).done;){var p=f.value;if(u){var m=i.getConnection(c,p.key,p.filters);if(m){var h=i.buildConnectionEdge(e,m,u);if(h)switch(p.rangeBehavior){case`append`:i.insertEdgeAfter(m,h);break;case`prepend`:i.insertEdgeBefore(m,h)}}}}}catch(e){d.e(e)}finally{d.f()}}}}}function u(e,t){var n=e.parentID,i=e.connectionKeys,a=e.pathToConnection,o=e.deletedIDFieldName;if(!n)return null;var s=f(t);return s?function(e,t){if(t){var c=[],l=t[s];if(l&&Array.isArray(o)){var u=(0,r.default)(o),f;try{for(u.s();!(f=u.n()).done;){var p=f.value;l&&typeof l==`object`&&(l=l[p])}}catch(e){u.e(e)}finally{u.f()}Array.isArray(l)?l.forEach(function(e){e&&e.id&&typeof e==`object`&&typeof e.id==`string`&&c.push(e.id)}):l&&l.id&&typeof l.id==`string`&&c.push(l.id)}else l&&typeof o==`string`&&typeof l==`object`&&(l=l[o],typeof l==`string`?c.push(l):Array.isArray(l)&&l.forEach(function(e){typeof e==`string`&&c.push(e)}));d(n,i,a,e,c)}}:null}function d(e,t,n,a,o){var s=a.get(e);if(s&&!(n.length<2)){for(var c=s,l=1;l<n.length-1;l++)c&&=c.getLinkedRecord(n[l]);if(t&&c){var u=(0,r.default)(t),d;try{var f=function(){var e=d.value,t=i.getConnection(c,e.key,e.filters);t&&o.forEach(function(e){i.deleteNode(t,e)})};for(u.s();!(d=u.n()).done;)f()}catch(e){u.e(e)}finally{u.f()}}}}function f(e){return e.fragment.selections&&e.fragment.selections.length>0&&e.fragment.selections[0].kind===`LinkedField`?e.fragment.selections[0].name:null}t.exports={MutationTypes:a,RangeOperations:o,convert:s}})),le=o(((e,t)=>{var n=m().getRequest,r=se(),i=G().createOperationDescriptor,a=ce(),o=d();function s(e,t){!r(e)&&o(!1);var s=n(t.mutation);if(s.params.operationKind!==`mutation`)throw Error(`commitMutation: Expected mutation operation`);var c=t.optimisticUpdater,l=t.configs,u=t.optimisticResponse,d=t.variables,f=i(s,d);return l&&(c=a.convert(l,s,c).optimisticUpdater),e.applyMutation({operation:f,response:u,updater:c})}t.exports=s})),ue=o(((e,t)=>{function n(e,t){e.commitUpdate(t)}t.exports=n})),de=o(((e,t)=>{var n=h().default;n(b()),p(),t.exports=function(){}})),fe=o(((e,t)=>{var n=h().default,r=n(O()),i=m().getRequest,a=Y().generateUniqueClientID,o=se(),s=G().createOperationDescriptor,c=ce();de();var l=d();p();function u(e,t){!o(e)&&l(!1);var n=i(t.mutation);if(n.params.operationKind!==`mutation`)throw Error(`commitMutation: Expected mutation operation`);if(n.kind!==`Request`)throw Error(`commitMutation: Expected mutation to be of type request`);var u=t.optimisticResponse,d=t.optimisticUpdater,f=t.updater,p=t.configs,m=t.cacheConfig,h=t.onError,g=t.onUnsubscribe,_=t.variables,v=t.uploadables,y=s(n,_,m,a());if(typeof u==`function`&&(u=u()),p){var b=c.convert(p,n,d,f);d=b.optimisticUpdater,f=b.updater}var x=[];return{dispose:e.executeMutation({operation:y,optimisticResponse:u,optimisticUpdater:d,updater:f,uploadables:v}).subscribe({complete:function(){var n=t.onCompleted;n&&n(e.lookup(y.fragment).data,x.length===0?null:x)},error:h,next:function(e){var n;Array.isArray(e)?e.forEach(function(e){e.errors&&x.push.apply(x,(0,r.default)(e.errors))}):e.errors&&x.push.apply(x,(0,r.default)(e.errors)),(n=t.onNext)==null||n.call(t)},unsubscribe:g}).unsubscribe}}t.exports=u})),pe=o(((e,t)=>{F(),p();var n=typeof WeakMap==`function`?new WeakMap:new Map;function r(e,t){if(t!=null){var r={};return Object.assign(r,e),Object.keys(t).forEach(function(e){var i=t[e].get,a=i();n.has(i)?r[e]=n.get(i):(n.set(i,a),r[e]=a)}),r}return e}r.tests_only_resetDebugCache=void 0,t.exports=r})),me=o(((e,t)=>{var n=V();function r(e){return function(t,r,i,a,o){var s=e(t,r,i,a,o);return s instanceof Error?n.create(function(e){return e.error(s)}):n.from(s)}}t.exports={convertFetch:r}})),he=o(((e,t)=>{var n=pe(),r=me().convertFetch,i=d();function a(e,t){var a=r(e);function o(e,r,o,s,c){var l=n(r,e.providedVariables);if(e.operationKind===`subscription`)return!t&&i(!1),s&&i(!1),t(e,l,o);var u=o.poll;return u==null?a(e,l,o,s,c):(s&&i(!1),a(e,l,{force:!0}).poll(u))}return{execute:o}}t.exports={create:a}})),ge=o(((e,t)=>{var n=h().default,r=n(b()),i=M().stableCopy,a=d(),o=function(){function e(e){var t=e.size,n=e.ttl;!(t>0)&&a(!1),!(n>0)&&a(!1),this._responses=new Map,this._size=t,this._ttl=n}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(e,t){var n=this,i=s(e,t);this._responses.forEach(function(e,t){c(e.fetchTime,n._ttl)||n._responses.delete(t)});var a=this._responses.get(i);return a==null?null:Array.isArray(a.payload)?a.payload.map(function(e){return(0,r.default)((0,r.default)({},e),{},{extensions:(0,r.default)((0,r.default)({},e.extensions),{},{cacheTimestamp:a.fetchTime})})}):(0,r.default)((0,r.default)({},a.payload),{},{extensions:(0,r.default)((0,r.default)({},a.payload.extensions),{},{cacheTimestamp:a.fetchTime})})},t.set=function(e,t,n){var r=Date.now(),i=s(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:r,payload:n}),this._responses.size>this._size){var a=this._responses.keys().next();a.done||this._responses.delete(a.value)}},e}();function s(e,t){return JSON.stringify(i({queryID:e,variables:t}))}function c(e,t){return e+t>=Date.now()}t.exports=o})),_e=o(((e,t)=>{var n=h().default,r=n(b()),i=V(),a=G().createOperationDescriptor,o=w().handlePotentialSnapshotErrors,s=U(),c=m().getRequest,l=d();function u(e,t,n,s){var u=c(t);u.params.operationKind!==`query`&&l(!1);var d=a(u,n,(0,r.default)({force:!0},s?.networkCacheConfig)),p=s?.fetchPolicy??`network-only`;function m(t){return o(e,t.fieldErrors),t.data}switch(p){case`network-only`:return f(e,d).map(m);case`store-or-network`:var h=e.check(d),g=h.status!==`available`,_=g?f(e,d).map(m):i.from(e.lookup(d.fragment)).map(m);return e.__log({name:`fetchquery.fetch`,operation:d,fetchPolicy:p,queryAvailability:h,shouldFetch:g}),_;default:throw Error(`fetchQuery: Invalid fetchPolicy `+p)}}function f(e,t){return s.fetchQuery(e,t).map(function(){return e.lookup(t.fragment)})}t.exports=u})),ve=o(((e,t)=>{var n=G().createOperationDescriptor,r=m().getRequest;function i(e,t,i,a){var o=r(t);if(o.params.operationKind!==`query`)throw Error(`fetchQuery: Expected query operation`);var s=n(o,i,a);return e.execute({operation:s}).map(function(){return e.lookup(s.fragment).data}).toPromise()}t.exports=i})),ye=o(((e,t)=>{t.exports=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var t=e.prototype;return t.set=function(e,t){this._preloadableQueries.set(e,t),this._callbacks.get(e)?.forEach(function(e){try{e(t)}catch(e){setTimeout(function(){throw e},0)}})},t.get=function(e){return this._preloadableQueries.get(e)},t.onLoad=function(e,t){var n=this._callbacks.get(e)??new Set;return n.add(t),this._callbacks.set(e,n),{dispose:function(){n.delete(t)}}},t.clear=function(){this._preloadableQueries.clear()},e}())})),be=o(((e,t)=>{var n=U().getPromiseForActiveRequest;function r(e,t,r){var i=[],a=n(e,r);if(a!=null)i=[r];else{var o=e.getOperationTracker().getPendingOperationsAffectingOwner(r);i=o?.pendingOperations??[],a=o?.promise??null}if(!a)return null;var s=i?.map(function(e){return e.node.params.name}).join(`,`)??null;(s==null||s.length===0)&&(s=`Unknown pending operation`);var c=t.name,l=s===c?`Relay(${s})`:`Relay(${s}:${c})`;return a.displayName=l,e.__log({name:`pendingoperation.found`,fragment:t,fragmentOwner:r,pendingOperations:i}),{promise:a,pendingOperations:i}}t.exports=r})),xe=o(((e,t)=>{function n(e,t){return e===t&&(typeof e!=`object`||!e)}t.exports=n})),Se=o(((e,t)=>{function n(e,t){return r(e,t,!0)}function r(e,t,n){if(e===t||typeof e!=`object`||!e||e.constructor!==Object&&!Array.isArray(e)||typeof t!=`object`||!t||t.constructor!==Object&&!Array.isArray(t))return t;var i=!1,a=Array.isArray(e)?e:null,o=Array.isArray(t)?t:null;if(a&&o){var s=n&&!Object.isFrozen(o);i=o.reduce(function(e,t,n){var i=a[n],c=r(i,t,s);return c!==o[n]&&s&&(o[n]=c),e&&c===a[n]},!0)&&a.length===o.length}else if(!a&&!o){var c=e,l=t,u=Object.keys(c),d=Object.keys(l),f=n&&!Object.isFrozen(l);i=d.reduce(function(e,t){var n=c[t],i=r(n,l[t],f);return i!==l[t]&&f&&(l[t]=i),e&&i===c[t]},!0)&&u.length===d.length}return i?e:t}t.exports=n})),Ce=o(((e,t)=>{var n=h().default,r=n(b()),i=n(y()),a=be(),o=w().handlePotentialSnapshotErrors,s=xe(),c=Se(),l=j(),u=G().createRequestDescriptor,f=I(),m=f.areEqualSelectors,g=f.createReaderSelector,_=f.getSelectorsFromObject,v=F(),x=d();p();var S=function(){function e(e,t,n,r,a){var o=this;(0,i.default)(this,`_onChange`,function(){o._stale=!0,typeof o._callback==`function`&&o._callback()}),this._callback=r,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=a,this.setProps(n)}var t=e.prototype;return t.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&E(this._resolvers[e])},t.resolve=function(){if(this._stale){var e=this._data,t;for(var n in this._resolvers)if(this._resolvers.hasOwnProperty(n)){var i=this._resolvers[n],a=e[n];if(i){var o=i.resolve();(t||o!==a)&&(t||=(0,r.default)({},e),t[n]=o)}else{var c=this._props[n],l=c===void 0?null:c;(t||!s(l,a))&&(t||=(0,r.default)({},e),t[n]=l)}}this._data=t||e,this._stale=!1}return this._data},t.setCallback=function(e,t){this._callback=t,l.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&this.setProps(e)},t.setProps=function(e){this._props={};var t=_(this._fragments,e);for(var n in t)if(t.hasOwnProperty(n)){var r=t[n],i=this._resolvers[n];r==null?(i?.dispose(),i=null):r.kind===`PluralReaderSelector`?i==null?i=new T(this._context.environment,this._rootIsQueryRenderer,r,this._callback!=null,this._onChange):(!(i instanceof T)&&x(!1),i.setSelector(r)):i==null?i=new C(this._context.environment,this._rootIsQueryRenderer,r,this._callback!=null,this._onChange):(!(i instanceof C)&&x(!1),i.setSelector(r)),this._props[n]=e[n],this._resolvers[n]=i}this._stale=!0},t.setVariables=function(e,t){for(var n in this._resolvers)if(this._resolvers.hasOwnProperty(n)){var r=this._resolvers[n];r&&r.setVariables(e,t)}this._stale=!0},e}(),C=function(){function e(e,t,n,r,a){var o=this;(0,i.default)(this,`_onChange`,function(e){o._data=e.data,o._isMissingData=e.isMissingData,o._fieldErrors=e.fieldErrors,o._callback()});var s=e.lookup(n);this._callback=a,this._data=s.data,this._isMissingData=s.isMissingData,this._fieldErrors=s.fieldErrors,this._environment=e,this._rootIsQueryRenderer=t,this._selector=n,l.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?r&&(this._subscription=e.subscribe(s,this._onChange)):this._subscription=e.subscribe(s,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&=(this._subscription.dispose(),null)},t.resolve=function(){if(this._isMissingData===!0){var e=a(this._environment,this._selector.node,this._selector.owner),t=e?.promise;if(t!=null&&!this._rootIsQueryRenderer){var n=e?.pendingOperations??[];throw this._environment.__log({name:`suspense.fragment`,data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:n}),t}}return o(this._environment,this._fieldErrors),this._data},t.setSelector=function(e){if(!(this._subscription!=null&&m(e,this._selector))){this.dispose();var t=this._environment.lookup(e);this._data=c(this._data,t.data),this._isMissingData=t.isMissingData,this._fieldErrors=t.fieldErrors,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!v(e,this._selector.variables)){var n=u(t,e),r=g(this._selector.node,this._selector.dataID,e,n);this.setSelector(r)}},e}(),T=function(){function e(e,t,n,r,a){var o=this;(0,i.default)(this,`_onChange`,function(e){o._stale=!0,o._callback()}),this._callback=a,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=t,this._subscribeOnConstruction=r,this.setSelector(n)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(E)},t.resolve=function(){if(this._stale){for(var e=this._data,t,n=0;n<this._resolvers.length;n++){var r=e[n],i=this._resolvers[n].resolve();(t||i!==r)&&(t||=e.slice(0,n),t.push(i))}!t&&this._resolvers.length!==e.length&&(t=e.slice(0,this._resolvers.length)),this._data=t||e,this._stale=!1}return this._data},t.setSelector=function(e){for(var t=e.selectors;this._resolvers.length>t.length;)this._resolvers.pop().dispose();for(var n=0;n<t.length;n++)n<this._resolvers.length?this._resolvers[n].setSelector(t[n]):this._resolvers[n]=new C(this._environment,this._rootIsQueryRenderer,t[n],this._subscribeOnConstruction,this._onChange);this._stale=!0},t.setVariables=function(e,t){this._resolvers.forEach(function(n){return n.setVariables(e,t)}),this._stale=!0},e}();function E(e){e&&e.dispose()}t.exports=S})),we=o(((e,t)=>{var n=Ce();p();function r(e,t,r,i,a,o){return new n(e,r,i,o,a)}t.exports=r})),Te=o(((e,t)=>{var n=d(),r,i;function a(e){return r||(r=e.createContext(null),i=e),e!==i&&n(!1),r}t.exports=a})),Ee=o(((e,t)=>{var n=d(),r,i;function a(e){return r||(r=e.createContext(null),i=e),e!==i&&n(!1),r}t.exports=a})),De=o(((e,t)=>{var n=Y().generateClientID,r=N().ROOT_ID;t.exports={VIEWER_ID:n(r,`viewer`),VIEWER_TYPE:`Viewer`}})),Oe=o(((e,t)=>{var n=De(),r=n.VIEWER_ID,i=n.VIEWER_TYPE;function a(e,t){return t===i&&e.id==null?r:e.id}t.exports=a})),ke=o(((e,t)=>{var n=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});function r(){return n}function i(e){return e===n}t.exports={isSuspenseSentinel:i,suspenseSentinel:r}})),Ae=o(((e,t)=>{function n(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports})),X=o(((e,t)=>{var n=h().default,r=n(y()),i=n(Ae()),a=n(v()),o=n(b()),s=ee(),c=Y(),l=c.generateClientObjectClientID;c.isClientID;var u=ke().isSuspenseSentinel,f=N(),m=f.ACTOR_IDENTIFIER_KEY,g=f.ERRORS_KEY,_=f.ID_KEY,x=f.INVALIDATED_AT_KEY,S=f.REF_KEY,C=f.REFS_KEY,w=f.RELAY_RESOLVER_VALUE_KEY;f.ROOT_ID;var T=f.TYPENAME_KEY,E=F(),D=d();p();function O(e){return(0,o.default)({},e)}function k(e,t){for(var n in e)e.hasOwnProperty(n)&&n!==_&&n!==T&&(t[n]=e[n])}function A(e,t){var n={};return n[_]=e,n[T]=t,n}function j(e){return e}function M(e){return e[_]}function P(e){return g in e?Object.keys(e).filter(function(e){return e!==g}):Object.keys(e)}function I(e){return e[T]}function L(e,t){return e[g]?.[t]}function R(e,t){var n=e[t];return n&&typeof n==`object`&&(n.hasOwnProperty(S)||n.hasOwnProperty(C))&&D(!1),n}function z(e,t){return t in e}function B(e,t){var n=e[t];if(n==null)return n;var r=n;return!(typeof r==`object`&&r&&typeof r[S]==`string`)&&D(!1),r[S]}function V(e,t){var n=e[t];if(n==null)return!1;var r=n;return typeof r==`object`&&r&&typeof r[S]==`string`}function H(e,t){var n=e[t];return n==null?n:(!(typeof n==`object`&&Array.isArray(n[C]))&&D(!1),n[C])}function U(e,t){var n=e[t];return typeof n==`object`&&!!n&&Array.isArray(n[C])&&n[C].every(function(e){return typeof e==`string`})}function W(e){if(e==null)return null;var t=e[x];return typeof t==`number`?t:null}function te(e,t){var n=e[g],r=t[g],i=null;if(n==null&&r==null){for(var a in t)(i||!E(e[a],t[a]))&&(i=i===null?(0,o.default)({},e):i,i[a]=t[a]);return i??e}for(var s in t)if(s!==g){var c=t[s],l=r?.[s];if(i==null){var u=e[s],d=n?.[s];if(E(u,c)&&E(d,l))continue;i=(0,o.default)({},e),n!=null&&(i[g]=(0,o.default)({},n))}ne(i,s,c),q(i,s,l)}return i??e}function G(e,t){if(g in e||g in t){var n=e[g],r=(0,i.default)(e,[g].map(a.default)),s=t[g],c=(0,i.default)(t,[g].map(a.default)),l=(0,o.default)((0,o.default)({},r),c);if(n==null&&s==null)return l;var u={};for(var d in n)c.hasOwnProperty(d)||(u[d]=n[d]);for(var f in s)u[f]=s[f];for(var p in u){l[g]=u;break}return l}return(0,o.default)((0,o.default)({},e),t)}function K(e){s(e)}function q(e,t,n){var i=e[g];if(n!=null&&n.length>0)i==null?e[g]=(0,r.default)({},t,n):i[t]=n;else if(i!=null&&delete i[t]){for(var a in i)if(i.hasOwnProperty(a))return;delete e[g]}}function ne(e,t,n){e[t]=n}function J(e,t,n){var r={};r[S]=n,e[t]=r}function re(e,t,n){var r={};r[C]=n,e[t]=r}function ie(e,t,n,r){var i={};i[S]=r,i[m]=n,e[t]=i}function ae(e,t){var n=e[t];return n==null?n:((typeof n!=`object`||typeof n[S]!=`string`||n[m]==null)&&D(!1),[n[m],n[S]])}function oe(e,t){var n=R(e,w);return n==null||u(n)?null:(typeof n==`object`&&(n=n.id),typeof n!=`string`&&D(!1),l(t,n))}function se(e,t){var n=R(e,w);return n==null||u(n)?null:(!Array.isArray(n)&&D(!1),n.map(function(e){return e==null?null:(typeof e==`object`&&(e=e.id),typeof e!=`string`&&D(!1),l(t,e))}))}function ce(e,t,n){return!E(e[n],t[n])||!E(e[g]?.[n],t[g]?.[n])}function le(e){return e}t.exports={clone:O,copyFields:k,create:A,freeze:K,fromObject:j,getActorLinkedRecordID:ae,getDataID:M,getErrors:L,getFields:P,getInvalidationEpoch:W,getLinkedRecordID:B,getLinkedRecordIDs:H,getResolverLinkedRecordID:oe,getResolverLinkedRecordIDs:se,getType:I,getValue:R,hasFieldChanged:ce,hasLinkedRecordID:V,hasLinkedRecordIDs:U,hasValue:z,merge:G,setActorLinkedRecordID:ie,setErrors:q,setLinkedRecordID:J,setLinkedRecordIDs:re,setValue:ne,toJSON:le,update:te}})),je=o(((e,t)=>{var n=h().default,r=n(b()),i=n(O()),a=M().stableCopy,o=Y().generateClientID,s=Oe(),c=X(),l=I().createNormalizationSelector,u=N(),d=u.ROOT_ID,f=u.ROOT_TYPE,p=u.getStorageKey;function m(e){var t=Error(e);return t.stack,t}function g(e){return JSON.stringify(a(e))??``}var _=function(){function e(e){this._normalizeResponse=e.normalizeResponse,this._operationLoader=e.operationLoader??null,this._rootSelector={dataID:d,node:e.operation,variables:e.variables},this._options={deferDeduplicatedFields:!1,getDataID:e.getDataID??s,log:null,path:[],treatMissingFieldsAsNull:e.treatMissingFieldsAsNull??!1},this._useExecTimeResolvers=e.operation.use_exec_time_resolvers??e.operation.exec_time_resolvers_enabled_provider?.get()===!0??!1,this._placeholders=new Map,this._bufferedResponses=new Map,this._parentRecords=new Map,this._serverComplete=!1}var t=e.prototype;return t.processResponse=function(e){var t=this._normalizeResponse(e,this._rootSelector,f,this._options,this._useExecTimeResolvers),n=[],i=[];return t.incrementalPlaceholders!=null&&t.incrementalPlaceholders.length>0&&this._registerPlaceholders(t.incrementalPlaceholders,t.source,t.fieldPayloads,n,i),t.followupPayloads!=null&&t.followupPayloads.length>0&&this._processFollowups(t.followupPayloads,n,i),{payloads:[(0,r.default)((0,r.default)({},t),{},{followupPayloads:null,incrementalPlaceholders:null,isFinal:this._computeIsFinal(t.isFinal),isPreNormalized:!0})].concat(n),pendingModules:i}},t.processIncrementalResponse=function(e){var t=e.label,n=e.path;if(t==null||n==null)throw m("NormalizationEngine: Expected incremental response to have `label` and `path` properties.");var r=v(t,t.indexOf(`$defer$`)===-1?n.slice(0,-2).map(String).join(`.`):n.map(String).join(`.`)),i=this._placeholders.get(r);if(i==null){var a=this._bufferedResponses.get(r);return a??(a=[],this._bufferedResponses.set(r,a)),a.push(e),null}return i.kind===`defer`?this._processDefer(e,n,i):this._processStream(e,n,i)},t.setServerComplete=function(){this._serverComplete=!0},t.isFinal=function(){return this._serverComplete&&this._bufferedResponses.size===0&&this._placeholders.size===0},t._processDefer=function(e,t,n){var i=this._normalizeResponse(e,n.selector,n.typeName,(0,r.default)((0,r.default)({},this._options),{},{deferDeduplicatedFields:!0,path:n.path}),this._useExecTimeResolvers),a=[],o=[];i.incrementalPlaceholders!=null&&i.incrementalPlaceholders.length>0&&this._registerPlaceholders(i.incrementalPlaceholders,i.source,i.fieldPayloads,a,o),i.followupPayloads!=null&&i.followupPayloads.length>0&&this._processFollowups(i.followupPayloads,a,o);var s=n.selector.dataID,c=this._parentRecords.get(s),l=i.fieldPayloads;return c!=null&&c.fieldPayloads.length>0&&(l=(l??[]).concat(c.fieldPayloads)),{payloads:[(0,r.default)((0,r.default)({},i),{},{fieldPayloads:l,followupPayloads:null,incrementalPlaceholders:null,isFinal:this._computeIsFinal(i.isFinal),isPreNormalized:!0})].concat(a),pendingModules:o}},t._processStream=function(e,t,n){var a=n.node,o=n.parentID,s=n.variables,c=a.selections[0];if(c==null||c.kind!==`LinkedField`||c.plural!==!0)throw m(`NormalizationEngine: Expected @stream to be used on a plural field.`);var l=this._normalizeStreamItem(e,o,c,s,t,n.path),u=l.fieldPayloads,d=l.itemID,f=l.itemIndex,p=l.prevIDs,h=l.relayPayload,g=l.storageKey,_=function(e){var t=e.get(o);if(t!=null){var n=t.getLinkedRecords(g);if(n!=null&&!(n.length!==p.length||n.some(function(e,t){return p[t]!==(e&&e.getDataID())}))){var r=(0,i.default)(n);r[f]=e.get(d),t.setLinkedRecords(r,g)}}},v=h.fieldPayloads;return u.length>0&&(v=(v??[]).concat(u)),{payloads:[(0,r.default)((0,r.default)({},h),{},{fieldPayloads:v,followupPayloads:null,incrementalPlaceholders:null,isFinal:this._computeIsFinal(h.isFinal),isPreNormalized:!0,storeUpdater:_})],pendingModules:[]}},t._normalizeStreamItem=function(e,t,n,a,s,u){var d=e.data;if(typeof d!=`object`)throw m("NormalizationEngine: Expected the GraphQL @stream payload `data` value to be an object.");var f=n.alias??n.name,h=p(n,a),g=this._parentRecords.get(t);if(g==null)throw m("NormalizationEngine: Expected the parent record `"+t+"` for @stream data to exist.");var _=g.fieldPayloads,v=g.record,y=c.getLinkedRecordIDs(v,h);if(y==null)throw m("NormalizationEngine: Expected record `"+t+"` to have fetched field `"+n.name+"` with @stream.");var b=s[s.length-1],x=parseInt(b,10);if(x!==b||x<0)throw m("NormalizationEngine: Expected path for @stream to end in a positive integer index, got `"+String(b)+"`");var S=n.concreteType??d.__typename;if(typeof S!=`string`)throw m("NormalizationEngine: Expected @stream field `"+n.name+"` to have a __typename.");var C=this._options.getDataID,w=(typeof C==`function`?C(d,S):null)??y?.[x]??o(t,h,x);if(typeof w!=`string`)throw m("NormalizationEngine: Expected id of elements of field `"+h+"` to be strings.");var T=l(n,w,a),E=c.clone(v),D=(0,i.default)(y);return D[x]=w,c.setLinkedRecordIDs(E,h,D),this._parentRecords.set(t,{fieldPayloads:_,record:E}),{fieldPayloads:_,itemID:w,itemIndex:x,prevIDs:y,relayPayload:this._normalizeResponse(e,T,S,(0,r.default)((0,r.default)({},this._options),{},{path:[].concat((0,i.default)(u),[f,String(x)])}),this._useExecTimeResolvers),storageKey:h}},t._registerPlaceholders=function(e,t,n,r,a){for(var s=this,l=function(l){var u=e[l],p=u.label,h=v(p,u.path.map(String).join(`.`));s._placeholders.set(h,u);var _=void 0;_=u.kind===`stream`?u.parentID:u.selector.dataID;var y=t.get(_);if(y==null)throw m("NormalizationEngine: Expected record `"+_+"` to exist.");var b=(n??[]).filter(function(e){var t=o(e.dataID,e.fieldKey);return e.dataID===_||t===_}),x=s._parentRecords.get(_);if(x!=null){for(var S=c.update(x.record,y),C=new Map,w=0;w<x.fieldPayloads.length;w++){var T=x.fieldPayloads[w];C.set(g(T),T)}for(var E=0;E<b.length;E++){var D=b[E];C.set(g(D),D)}s._parentRecords.set(_,{fieldPayloads:Array.from(C.values()),record:S})}else s._parentRecords.set(_,{fieldPayloads:b,record:y});var O=s._bufferedResponses.get(h);if(O!=null){s._bufferedResponses.delete(h);for(var k=0;k<O.length;k++){var A=O[k],j=void 0;j=u.kind===`defer`?s._processDefer(A,(d=A.path)??[],u):s._processStream(A,(f=A.path)??[],u),j!=null&&(r.push.apply(r,(0,i.default)(j.payloads)),a.push.apply(a,(0,i.default)(j.pendingModules)))}}},u=0;u<e.length;u++){var d,f;l(u)}},t._processFollowups=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];i.kind===`ModuleImportPayload`&&this._processModuleImport(i,t,n)}},t._processModuleImport=function(e,t,n){var r=this,a=this._operationLoader;if(a!=null){var o=a.get(e.operationReference);if(o!=null){var s=this._normalizeFollowup(e,o);t.push.apply(t,(0,i.default)(s.payloads)),n.push.apply(n,(0,i.default)(s.pendingModules))}else{var c={payloads:[],pendingModules:[]};n.push(a.load(e.operationReference).then(function(t){return t==null?c:r._normalizeFollowup(e,t)}).catch(function(e){return c}))}}},t._normalizeFollowup=function(e,t){var n=l(t.kind===`SplitOperation`?t:t.operation,e.dataID,e.variables),i=this._normalizeResponse({data:e.data},n,e.typeName,(0,r.default)((0,r.default)({},this._options),{},{path:e.path}),this._useExecTimeResolvers),a=[],o=[];return i.incrementalPlaceholders!=null&&i.incrementalPlaceholders.length>0&&this._registerPlaceholders(i.incrementalPlaceholders,i.source,i.fieldPayloads,a,o),i.followupPayloads!=null&&i.followupPayloads.length>0&&this._processFollowups(i.followupPayloads,a,o),{payloads:[(0,r.default)((0,r.default)({},i),{},{followupPayloads:null,incrementalPlaceholders:null,isFinal:this._computeIsFinal(i.isFinal),isPreNormalized:!0})].concat(a),pendingModules:o}},t._computeIsFinal=function(e){return(e||this._serverComplete)&&this._bufferedResponses.size===0},e}();function v(e,t){return`${e}::${t}`}t.exports=_})),Me=o(((e,t)=>{t.exports={EXISTENT:`EXISTENT`,NONEXISTENT:`NONEXISTENT`,UNKNOWN:`UNKNOWN`}})),Z=o(((e,t)=>{var n=h().default,r=n(C()),i=j(),a=X(),o=Me(),s=N().RELAY_RESOLVER_RECORD_TYPENAME,c=o.EXISTENT,l=o.NONEXISTENT,u=o.UNKNOWN;t.exports=function(){function e(e){var t=this;this._records=new Map,e!=null&&Object.keys(e).forEach(function(n){var r=e[n],i=a.fromObject(r);t._records.set(n,i)})}e.create=function(t){return new e(t)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?this._records.get(e)==null?l:c:u},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e={},t=(0,r.default)(this._records),n;try{for(t.s();!(n=t.n()).done;){var o=n.value,c=o[0],l=o[1];i.FILTER_OUT_RELAY_RESOLVER_RECORDS&&l!=null&&a.getType(l)===s||(e[c]=a.toJSON(l))}}catch(e){t.e(e)}finally{t.f()}return e},e}()})),Ne=o(((e,t)=>{var n=d(),r=`INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE`;function i(e){e!==r&&n(!1)}t.exports={INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:r,assertInternalActorIdentifier:i,getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw Error(`Not Implemented`)}}})),Pe=o(((e,t)=>{var n=`actor_key`,r=Ne().getActorIdentifier;function i(e){if(typeof e==`object`&&e&&typeof e[n]==`string`)return r(e[n])}t.exports={ACTOR_IDENTIFIER_FIELD_NAME:n,getActorIdentifierFromPayload:i}})),Q=o(((e,t)=>{var n=h().default,r=n(b()),i=n(Ae()),a=n(C()),o=n(O()),s=[`path`,`locations`],c=Symbol(`$SELF`);function l(e){if(e==null)return null;var t=new Map,n=(0,a.default)(e),r;try{ERRORS:for(n.s();!(r=n.n()).done;){var o=r.value,l=o.path;o.locations;var u=(0,i.default)(o,s);if(l!=null){var d=l.length;if(d!==0){for(var f=d-1,p=t,m=0;m<f;m++){var h=l[m],g=p.get(h);if(g instanceof Map)p=g;else{var _=new Map;Array.isArray(g)&&_.set(c,g),p.set(h,_),p=_}}var v=l[f],y=p.get(v);y instanceof Map&&(p=y,y=p.get(v),v=c),Array.isArray(y)?y.push(u):p.set(v,[u])}}}}catch(e){n.e(e)}finally{n.f()}return t}function u(e,t){var n=e.get(t);if(n==null)return null;if(Array.isArray(n))return n;var r=[];return d(n,r),r}function d(e,t){var n=(0,a.default)(e),i;try{for(n.s();!(i=n.n()).done;){var s=i.value,l=s[0],u=s[1],f=t.length;if(Array.isArray(u)?t.push.apply(t,(0,o.default)(u)):d(u,t),l!==c)for(var p=t.length,m=f;m<p;m++){var h=t[m];h.path==null?t[m]=(0,r.default)((0,r.default)({},h),{},{path:[l]}):h.path.unshift(l)}}}catch(e){n.e(e)}finally{n.f()}}function f(e,t){var n=e.get(t);return n instanceof Map?n:null}t.exports={SELF:c,buildErrorTrie:l,getErrorsByKey:u,getNestedErrorTrieByKey:f}})),Fe=o(((e,t)=>{var n=`client:__type:`,r=`__TypeSchema`;function i(e){return n+e}function a(e){return e.indexOf(n)===0}t.exports={generateTypeID:i,isTypeID:a,TYPE_SCHEMA_TYPE:r}})),Ie=o(((e,t)=>{var n=h().default,r=n(C()),i=n(O()),a=Pe();a.ACTOR_IDENTIFIER_FIELD_NAME;var o=a.getActorIdentifierFromPayload,s=j(),c=Y(),l=c.generateClientID,u=c.isClientID,f=P().getLocalVariables,m=Q(),g=m.buildErrorTrie,_=m.getErrorsByKey,v=m.getNestedErrorTrieByKey,y=X(),b=I().createNormalizationSelector,x=N(),S=x.ROOT_ID,w=x.ROOT_TYPE,T=x.TYPENAME_KEY,E=x.getArgumentValues,D=x.getHandleStorageKey,k=x.getModuleComponentKey,A=x.getModuleOperationKey,M=x.getStorageKey,L=Fe(),R=L.TYPE_SCHEMA_TYPE,z=L.generateTypeID;F();var B=d();p();function V(e,t,n,r,i,a){var o=t.dataID,s=t.node,c=t.variables;return new H(e,c,r,a??!1).normalizeResponse(s,o,n,i)}var H=function(){function e(e,t,n,r){this._actorIdentifier=n.actorIdentifier,this._getDataId=n.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=n.treatMissingFieldsAsNull,this._deferDeduplicatedFields=n.deferDeduplicatedFields,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._useExecTimeResolvers=r,this._followupPayloads=[],this._path=n.path?(0,i.default)(n.path):[],this._recordSource=e,this._variables=t,this._shouldProcessClientComponents=n.shouldProcessClientComponents,this._log=n.log,this._s2cExecutions=new Map}var t=e.prototype;return t.normalizeResponse=function(e,t,n,r){var i=this._recordSource.get(t);return!i&&B(!1),this._assignClientAbstractTypes(e),this._errorTrie=g(r),this._traverseSelections(e,i,n),{errors:r,fieldPayloads:this._handleFieldPayloads,followupPayloads:this._followupPayloads,incrementalPlaceholders:this._incrementalPlaceholders,isFinal:!1,s2cExecutions:this._s2cExecutions.size>0?Array.from(this._s2cExecutions.entries()).map(function(e){var t=e[0],n=e[1];return{recordID:t,selections:n.selections,typeName:n.typeName}}):void 0,source:this._recordSource}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(t!=null)for(var n=0,i=Object.keys(t);n<i.length;n++){var a=i[n],o=(0,r.default)(t[a]),s;try{for(o.s();!(s=o.n()).done;){var c=s.value,l=z(c),u=this._recordSource.get(l);u??(u=y.create(l,R),this._recordSource.set(l,u)),y.setValue(u,a,!0)}}catch(e){o.e(e)}finally{o.f()}}},t._getVariableValue=function(e){return!this._variables.hasOwnProperty(e)&&B(!1),this._variables[e]},t._getRecordType=function(e){var t=e[T];return t??B(!1),t},t._traverseSelections=function(e,t,n){for(var r=0;r<e.selections.length;r++){var i=e.selections[r];switch(i.kind){case`ScalarField`:case`LinkedField`:this._normalizeField(i,t,n);break;case`Condition`:!!this._getVariableValue(i.condition)===i.passingValue&&this._traverseSelections(i,t,n);break;case`FragmentSpread`:var a=this._variables;this._variables=f(this._variables,i.fragment.argumentDefinitions,i.args),this._traverseSelections(i.fragment,t,n),this._variables=a;break;case`InlineFragment`:this._normalizeInlineFragment(i,t,n);break;case`TypeDiscriminator`:var o=i.abstractKey,s=Object.prototype.hasOwnProperty.call(n,o),c=z(y.getType(t)),l=this._recordSource.get(c);l??(l=y.create(c,R),this._recordSource.set(c,l)),y.setValue(l,o,s);break;case`LinkedHandle`:case`ScalarHandle`:var u=i.args?E(i.args,this._variables):{},d=M(i,this._variables),p=D(i,this._variables);this._handleFieldPayloads.push({args:u,dataID:y.getDataID(t),fieldKey:d,handle:i.handle,handleArgs:i.handleArgs?E(i.handleArgs,this._variables):{},handleKey:p});break;case`ModuleImport`:this._normalizeModuleImport(i,t,n);break;case`Defer`:this._normalizeDefer(i,t,n);break;case`Stream`:this._normalizeStream(i,t,n);break;case`ClientExtension`:var m=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,n),this._isClientExtension=m;break;case`ClientComponent`:if(this._shouldProcessClientComponents===!1)break;this._traverseSelections(i.fragment,t,n);break;case`ActorChange`:this._normalizeActorChange(i,t,n);break;case`RelayResolver`:case`RelayLiveResolver`:this._useExecTimeResolvers?i.resolverInfo?.rootFragment!=null&&this._collectS2CExecution(i,t):this._normalizeResolver(i,t,n);break;case`ClientEdgeToClientObject`:this._useExecTimeResolvers?i.backingField.resolverInfo?.rootFragment!=null&&this._collectS2CExecution(i,t):this._normalizeResolver(i.backingField,t,n);break;default:B(!1)}}},t._normalizeInlineFragment=function(e,t,n){var r=e.abstractKey;if(r==null){var i=y.getType(t);(i===e.type||i===w)&&this._traverseSelections(e,t,n)}else{var a=Object.prototype.hasOwnProperty.call(n,r),o=z(y.getType(t)),s=this._recordSource.get(o);s??(s=y.create(o,R),this._recordSource.set(o,s)),y.setValue(s,r,a),a&&this._traverseSelections(e,t,n)}},t._normalizeResolver=function(e,t,n){e.fragment!=null&&this._normalizeInlineFragment(e.fragment,t,n)},t._collectS2CExecution=function(e,t){var n=y.getDataID(t),r=y.getType(t),i=this._s2cExecutions.get(n);i??(i={selections:[],typeName:r},this._s2cExecutions.set(n,i)),i.selections.push(e)},t._normalizeDefer=function(e,t,n){(e.if===null||this._getVariableValue(e.if))===!1?this._traverseSelections(e,t,n):this._incrementalPlaceholders.push({actorIdentifier:this._actorIdentifier,data:n,kind:`defer`,label:e.label,path:(0,i.default)(this._path),selector:b(e,y.getDataID(t),this._variables),typeName:y.getType(t)})},t._normalizeStream=function(e,t,n){this._traverseSelections(e,t,n),(e.if===null||this._getVariableValue(e.if))===!0&&this._incrementalPlaceholders.push({actorIdentifier:this._actorIdentifier,kind:`stream`,label:e.label,node:e,parentID:y.getDataID(t),path:(0,i.default)(this._path),variables:this._variables})},t._normalizeModuleImport=function(e,t,n){!(typeof n==`object`&&n)&&B(!1);var r=y.getType(t),a=k(e.documentName),o=e.componentModuleProvider||n[a];y.setValue(t,a,o??null);var s=A(e.documentName),c=e.operationModuleProvider||n[s];y.setValue(t,s,c??null),c!=null&&this._followupPayloads.push({actorIdentifier:this._actorIdentifier,args:e.args,data:n,dataID:y.getDataID(t),kind:`ModuleImportPayload`,operationReference:c,path:(0,i.default)(this._path),typeName:r,variables:this._variables})},t._normalizeField=function(e,t,n){!(typeof n==`object`&&n)&&B(!1);var r=e.alias||e.name,i=M(e,this._variables),a=n[r],o=s.ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS&&Array.isArray(a)&&a.length===0;if(a==null||o){if(a===void 0&&(this._isClientExtension||this._isUnmatchedAbstractType||this._deferDeduplicatedFields||!this._treatMissingFieldsAsNull))return;e.kind===`ScalarField`&&this._validateConflictingFieldsWithIdenticalId(t,i,null),o?e.kind===`LinkedField`?y.setLinkedRecordIDs(t,i,[]):y.setValue(t,i,[]):y.setValue(t,i,null);var c=this._errorTrie;if(c!=null){var l=_(c,r);l!=null&&y.setErrors(t,i,l)}}else if(e.kind===`ScalarField`)this._validateConflictingFieldsWithIdenticalId(t,i,a),y.setValue(t,i,a);else if(e.kind===`LinkedField`){this._path.push(r);var u=this._errorTrie;this._errorTrie=u==null?null:v(u,r),e.plural?this._normalizePluralLink(e,t,i,a):this._normalizeLink(e,t,i,a),this._errorTrie=u,this._path.pop()}else B(!1)},t._normalizeActorChange=function(e,t,n){var r=e.linkedField;!(typeof n==`object`&&n)&&B(!1);var a=r.alias||r.name,s=M(r,this._variables),c=n[a];if(c==null){if(c===void 0&&(this._isClientExtension||this._isUnmatchedAbstractType||!this._treatMissingFieldsAsNull))return;y.setValue(t,s,null)}else{var u=o(c);if(u==null)y.setValue(t,s,null);else{var d=r.concreteType??this._getRecordType(c),f=this._getDataId(c,d)||y.getLinkedRecordID(t,s)||l(y.getDataID(t),s);typeof f!=`string`&&B(!1),y.setActorLinkedRecordID(t,s,u,f),this._followupPayloads.push({actorIdentifier:u,data:c,dataID:f,kind:`ActorPayload`,node:r,path:[].concat((0,i.default)(this._path),[a]),typeName:d,variables:this._variables})}}},t._normalizeLink=function(e,t,n,r){!(typeof r==`object`&&r)&&B(!1);var i=this._getDataId(r,e.concreteType??this._getRecordType(r))||y.getLinkedRecordID(t,n)||l(y.getDataID(t),n);typeof i!=`string`&&B(!1),this._validateConflictingLinkedFieldsWithIdenticalId(y.getLinkedRecordID(t,n),i,n),y.setLinkedRecordID(t,n,i);var a=this._recordSource.get(i);if(a)this._validateRecordType(a,e,r);else{var o=e.concreteType||this._getRecordType(r);a=y.create(i,o),this._recordSource.set(i,a)}this._traverseSelections(e,a,r)},t._normalizePluralLink=function(e,t,n,r){var i=this;!Array.isArray(r)&&B(!1);var a=y.getLinkedRecordIDs(t,n),o=[];r.forEach(function(r,s){if(r==null)o.push(r);else{i._path.push(String(s));var c=i._errorTrie;i._errorTrie=c==null?null:v(c,s),typeof r!=`object`&&B(!1);var u=i._getDataId(r,e.concreteType??i._getRecordType(r))||a&&a[s]||l(y.getDataID(t),n,s);typeof u!=`string`&&B(!1),o.push(u);var d=i._recordSource.get(u);if(d)i._validateRecordType(d,e,r);else{var f=e.concreteType||i._getRecordType(r);d=y.create(u,f),i._recordSource.set(u,d)}a&&i._validateConflictingLinkedFieldsWithIdenticalId(a[s],u,n),i._traverseSelections(e,d,r),i._errorTrie=c,i._path.pop()}}),y.setLinkedRecordIDs(t,n,o)},t._validateRecordType=function(e,t,n){if(s.ENABLE_STORE_ID_COLLISION_LOGGING){var r=t.concreteType??this._getRecordType(n),i=y.getDataID(e);if(!(u(i)&&i!==S||y.getType(e)===r)){var a={name:`idCollision.typename`,new_typename:r,previous_typename:y.getType(e)};this._log!=null&&this._log(a)}}},t._validateConflictingFieldsWithIdenticalId=function(e,t,n){},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,n){},e}();t.exports={normalize:V}})),Le=o(((e,t)=>{var n=h().default,r=n(b()),i=n(X()),a=n(Z()),o=n(Ie());function s(e,t,n,s,c){var l=e.data,u=e.errors,d=a.default.create(),f=i.default.create(t.dataID,n);d.set(t.dataID,f);var p=o.default.normalize(d,t,l,s,u,c);return(0,r.default)((0,r.default)({},p),{},{isFinal:e.extensions?.is_final===!0})}t.exports=s})),Re=o(((e,t)=>{var n=m().getInlineDataFragment,r=N().FRAGMENTS_KEY,i=d();function a(e,t){var a=n(e);if(t==null)return t;typeof t!=`object`&&i(!1);var o=t[r]?.[a.name];return o??i(!1),o}t.exports=a})),ze=o(((e,t)=>{var n=1e5;function r(){return n++}t.exports=r})),$=o(((e,t)=>{var n=ze();function r(e,t){return{execute:function(r,i,a,o,s,c,l,u){var d=n();return t.execute(r,i,a,o,function(t){e.__log({name:`network.info`,networkRequestId:d,info:t})},c,l,u).do({start:function(t){e.__log({name:`network.start`,networkRequestId:d,params:r,variables:i,cacheConfig:a})},next:function(t){e.__log({name:`network.next`,networkRequestId:d,response:t})},error:function(t){e.__log({name:`network.error`,networkRequestId:d,error:t})},complete:function(){e.__log({name:`network.complete`,networkRequestId:d})},unsubscribe:function(){e.__log({name:`network.unsubscribe`,networkRequestId:d})}})}}}t.exports=r})),Be=o(((e,t)=>{var n=h().default,r=n(C()),i=d();t.exports=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(t.size!==0){var n=e.identifier,i=new Set,a=(0,r.default)(t),o;try{for(a.s();!(o=a.n()).done;){var s=o.value.identifier,c=this._ownersToPendingOperations.get(s);c==null?(this._ownersToPendingOperations.set(s,new Map([[n,e]])),i.add(s)):c.has(n)||(c.set(n,e),i.add(s))}}catch(e){a.e(e)}finally{a.f()}if(i.size!==0){var l=this._pendingOperationsToOwners.get(n)||new Set,u=(0,r.default)(i),d;try{for(u.s();!(d=u.n()).done;){var f=d.value;this._resolveOwnerResolvers(f),l.add(f)}}catch(e){u.e(e)}finally{u.f()}this._pendingOperationsToOwners.set(n,l)}}},t.complete=function(e){var t=e.identifier,n=this._pendingOperationsToOwners.get(t);if(n!=null){var i=new Set,a=new Set,o=(0,r.default)(n),s;try{for(o.s();!(s=o.n()).done;){var c=s.value,l=this._ownersToPendingOperations.get(c);l&&(l.delete(t),l.size>0?a.add(c):i.add(c))}}catch(e){o.e(e)}finally{o.f()}var u=(0,r.default)(i),d;try{for(u.s();!(d=u.n()).done;){var f=d.value;this._resolveOwnerResolvers(f),this._ownersToPendingOperations.delete(f)}}catch(e){u.e(e)}finally{u.f()}var p=(0,r.default)(a),m;try{for(p.s();!(m=p.n()).done;){var h=m.value;this._resolveOwnerResolvers(h)}}catch(e){p.e(e)}finally{p.f()}this._pendingOperationsToOwners.delete(t)}},t._resolveOwnerResolvers=function(e){this._ownersToPendingPromise.get(e)?.resolve(),this._ownersToPendingPromise.delete(e)},t.getPendingOperationsAffectingOwner=function(e){var t=e.identifier,n=this._ownersToPendingOperations.get(t);if(n==null||n.size===0)return null;var r=this._ownersToPendingPromise.get(t);if(r!=null)return{promise:r.promise,pendingOperations:r.pendingOperations};var a,o=new Promise(function(e){a=e});a??i(!1);var s=Array.from(n.values());return this._ownersToPendingPromise.set(t,{promise:o,resolve:a,pendingOperations:s}),{promise:o,pendingOperations:s}},e}()})),Ve=o(((e,t)=>{function n(e){var t=typeof global<`u`?global:typeof window<`u`?window:void 0,n=t&&t.__RELAY_DEVTOOLS_HOOK__;n&&n.registerEnvironment(e)}t.exports=n})),He=o(((e,t)=>{t.exports=function(e){}})),Ue=o(((e,t)=>{var n=u(),r=n.REQUEST,i=n.SPLIT_OPERATION;function a(e){switch(e.kind){case r:return e.operation;case i:default:return e}}t.exports=a})),We=o(((e,t)=>{function n(e,t,n){var r=[...arguments].slice(3),i=0,a=n.replace(/%s/g,function(){return String(r[i++])}),o=Error(a),s=r[2]??null,c=Object.assign(o,{name:t,messageFormat:n,messageParams:r,type:e,operation:s,taalOpcodes:[2,2]});if(c.stack===void 0)try{throw c}catch{}return c}t.exports={create:function(e,t){var r=[...arguments].slice(2);return n.apply(void 0,[`error`,e,t].concat(r))},createWarning:function(e,t){var r=[...arguments].slice(2);return n.apply(void 0,[`warn`,e,t].concat(r))}}})),Ge=o(((e,t)=>{var n=typeof window<`u`&&typeof window?.performance?.now==`function`;function r(){return n?window.performance.now():Date.now()}function i(e){var t=r(),n=e();return[t,r()-t,n]}t.exports=i})),Ke=o(((e,t)=>{var n=h().default,r=n(C()),i=n(O()),a=V(),o=ze(),s=Ue(),c=We(),l=j(),u=M().stableCopy,f=Ge(),m=Y(),g=m.generateClientID,_=m.generateUniqueClientID,v=P().getLocalVariables,y=X(),b=I(),x=b.createNormalizationSelector,S=b.createReaderSelector,w=Z(),T=N(),E=T.ROOT_TYPE,D=T.TYPENAME_KEY,k=T.getStorageKey,A=d();p();function F(e){return new L(e)}var L=function(){function e(e){var t=this,n=e.actorIdentifier,r=e.getDataID,i=e.getPublishQueue,a=e.getStore,s=e.isClientPayload,c=e.operation,u=e.operationExecutions,d=e.operationLoader,f=e.operationTracker,p=e.optimisticConfig,m=e.scheduler,h=e.shouldProcessClientComponents,g=e.sink,_=e.source,v=e.treatMissingFieldsAsNull,y=e.deferDeduplicatedFields,b=e.updater,x=e.log,S=e.normalizeResponse;this._actorIdentifier=n,this._getDataID=r,this._treatMissingFieldsAsNull=v,this._deferDeduplicatedFields=y,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=x,this._executeId=o(),this._nextSubscriptionId=0,this._operation=c,this._operationExecutions=u,this._operationLoader=d,this._operationTracker=f,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._useExecTimeResolvers=this._operation.request.node.operation.use_exec_time_resolvers??this._operation.request.node.operation.exec_time_resolvers_enabled_provider?.get()===!0??!1,this._execTimeResolverResponseComplete=!1,this._pendingModulePayloadsCount=0,this._getPublishQueue=i,this._scheduler=m,this._sink=g,this._source=new Map,this._state=`started`,this._getStore=a,this._subscriptions=new Map,this._updater=b,this._isClientPayload=s===!0,this._isSubscriptionOperation=this._operation.request.node.params.operationKind===`subscription`,this._shouldProcessClientComponents=h,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[],this._normalizeResponse=S,this._isClientQuery=this._operation.request.node.params.id==null&&this._operation.request.node.params.text==null;var C=this._nextSubscriptionId++;l.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION&&p!=null&&this._processOptimisticResponse(p.response==null?null:{data:p.response},p.updater,!1),_.subscribe({complete:function(){return t._complete(C)},error:function(e){return t._error(e)},next:function(e){try{t._next(C,e)}catch(e){g.error(e)}},start:function(e){t._start(C,e),t._log({cacheConfig:t._operation.request.cacheConfig??{},executeId:t._executeId,name:`execute.start`,params:t._operation.request.node.params,variables:t._operation.request.variables})},unsubscribe:function(){t._log({executeId:t._executeId,name:`execute.unsubscribe`})}}),!l.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION&&p!=null&&this._processOptimisticResponse(p.response==null?null:{data:p.response},p.updater,!1)}var t=e.prototype;return t.cancel=function(){var e=this;if(this._state!==`completed`){this._state=`completed`,this._operationExecutions.delete(this._operation.request.identifier),this._subscriptions.size!==0&&(this._subscriptions.forEach(function(e){return e.unsubscribe()}),this._subscriptions.clear());var t=this._optimisticUpdates;t!==null&&(this._optimisticUpdates=null,t.forEach(function(t){return e._getPublishQueueAndSaveActor().revertUpdate(t)}),this._runPublishQueue()),this._incrementalResults.clear(),this._asyncStoreUpdateDisposable!=null&&(this._asyncStoreUpdateDisposable.dispose(),this._asyncStoreUpdateDisposable=null),this._completeFns=[],this._completeOperationTracker(),this._disposeRetainedData()}},t._updateActiveState=function(){var e;switch(this._state){case`started`:e=`active`;break;case`loading_incremental`:e=`active`;break;case`completed`:e=`inactive`;break;case`loading_final`:e=this._pendingModulePayloadsCount>0||this._useExecTimeResolvers&&!this._execTimeResolverResponseComplete?`active`:`inactive`;break;default:this._state,A(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},t._schedule=function(e,t){var n=this,r=this._scheduler;if(r!=null){var i=this._nextSubscriptionId++;a.create(function(n){var i=r.schedule(function(){try{e(),n.complete()}catch(e){n.error(e)}},t);return function(){return r.cancel(i)}}).subscribe({complete:function(){return n._complete(i)},error:function(e){return n._error(e)},start:function(e){return n._start(i,e)}})}else e()},t._complete=function(e){this._subscriptions.delete(e),this._subscriptions.size===0&&(this.cancel(),this._sink.complete(),this._log({executeId:this._executeId,name:`execute.complete`}))},t._error=function(e){this.cancel(),this._sink.error(e),this._log({error:e,executeId:this._executeId,name:`execute.error`})},t._start=function(e,t){this._subscriptions.set(e,t),this._updateActiveState()},t._next=function(e,t){var n=this,r=this._state===`loading_incremental`?`low`:`default`;this._schedule(function(){if(!Array.isArray(t)&&t.isPreNormalized===!0)n._handlePreNormalizedPayload(t);else{var e=t;n._log({executeId:n._executeId,name:`execute.next.start`,operation:n._operation,response:e}),n._handleNext(e),n._maybeCompleteSubscriptionOperationTracking(),n._log({executeId:n._executeId,name:`execute.next.end`,operation:n._operation,response:e})}},r)},t._handleErrorResponse=function(e){var t=this,n=[];return e.forEach(function(e){if(e.data!==null||e.extensions==null||e.hasOwnProperty(`errors`)){if(e.data==null){var r=e.hasOwnProperty(`errors`)&&e.errors!=null?e.errors:null,i=r?r.map(function(e){return e.message}).join(`
|
|
4
|
+
`):`(No errors)`,a=c.create(`RelayNetwork`,"No data returned for operation `"+t._operation.request.node.params.name+`\`, got error(s):
|
|
5
|
+
`+i+`
|
|
6
|
+
|
|
7
|
+
See the error \`source\` property for more information.`);throw a.source={errors:r,operation:t._operation.request.node,variables:t._operation.request.variables},a.stack,a}var o=e;n.push(o)}}),n},t._handleOptimisticResponses=function(e){if(e.length>1)return e.some(function(e){return e.extensions?.isOptimistic===!0})&&A(!1),!1;var t=e[0],n=t.extensions?.isOptimistic===!0;return n&&this._state!==`started`&&A(!1),n?(this._processOptimisticResponse(t,null,this._treatMissingFieldsAsNull),this._sink.next(t),!0):!1},t._handlePreNormalizedPayload=function(e){var t=this;if(this._state!==`completed`){this._seenActors.clear(),this._optimisticUpdates!==null&&(this._optimisticUpdates.forEach(function(e){return t._getPublishQueueAndSaveActor().revertUpdate(e)}),this._optimisticUpdates=null),this._getPublishQueueAndSaveActor().commitPayload(this._operation,e,e.storeUpdater??this._updater),e.isFinal?this._state=`loading_final`:this._state===`started`&&(this._state=`loading_incremental`);var n=this._runPublishQueue(this._operation);this._updateActiveState(),this._updateOperationTracker(n)}},t._handleNext=function(e){if(this._state!==`completed`){this._seenActors.clear();var t=Array.isArray(e)?e:[e],n=this._handleErrorResponse(t);if(n.length===0){var r=t.some(function(e){return e.extensions?.is_final===!0});r&&(this._useExecTimeResolvers&&this._state!==`loading_final`&&t.some(function(e){return e.extensions?.is_normalized===!0})?(this._execTimeResolverResponseComplete=!0,!this._isClientQuery&&t.some(function(e){return e.extensions?.is_client_only===!0})&&(this._isClientQuery=!0),this._isClientQuery&&(this._state=`loading_final`),this._updateActiveState()):(this._state=`loading_final`,this._updateActiveState(),this._incrementalPayloadsPending=!1)),this._sink.next(e)}else if(!this._handleOptimisticResponses(n)){var i=R(n),a=i[0],o=i[1],s=i[2],c=a.length>0,l=s.length>0;if(c){if(this._isSubscriptionOperation){var u=_();this._operation={fragment:S(this._operation.fragment.node,u,this._operation.fragment.variables,this._operation.fragment.owner),request:this._operation.request,root:x(this._operation.root.node,u,this._operation.root.variables)}}var d=this._processResponses(a);this._processPayloadFollowups(d)}if(l)for(var f=[],p=0;p<s.length;p++){var m=s[p],h=new w(m.data),r=m.extensions?.is_final===!0;m.extensions?.is_client_only===!0&&(this._isClientQuery=!0);var g={errors:[],fieldPayloads:[],followupPayloads:[],incrementalPlaceholders:[],isFinal:r,source:h};this._getPublishQueueAndSaveActor().commitPayload(this._operation,g,this._updater),f.push(g),this._execTimeResolverResponseComplete=r,r&&(this._isClientQuery&&(this._state=`loading_final`),this._updateActiveState())}if(o.length>0){var v=this._processIncrementalResponses(o);this._processPayloadFollowups(v)}this._isSubscriptionOperation&&(n[0].extensions==null?n[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:n[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var y=this._runPublishQueue(c||l?this._operation:void 0);c&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(y),this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,n){var r=this;if(this._optimisticUpdates!==null&&A(!1),e!=null||t!=null){var i=[];if(e){var a=this._normalizeResponse(e,this._operation.root,E,{actorIdentifier:this._actorIdentifier,deferDeduplicatedFields:!1,getDataID:this._getDataID,log:this._log,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:n},this._useExecTimeResolvers);B(a),i.push({operation:this._operation,payload:a,updater:t}),this._processOptimisticFollowups(a,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,followupPayloads:null,incrementalPlaceholders:null,isFinal:!1,source:w.create()},updater:t});this._optimisticUpdates=i,i.forEach(function(e){return r._getPublishQueueAndSaveActor().applyUpdate(e)});var o=this._runPublishQueue();l.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(o)}},t._processOptimisticFollowups=function(e,t){if(e.followupPayloads&&e.followupPayloads.length){var n=e.followupPayloads,a=(0,r.default)(n),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;switch(s.kind){case`ModuleImportPayload`:var c=this._expectOperationLoader().get(s.operationReference);if(c==null)this._processAsyncOptimisticModuleImport(s);else{var l=this._processOptimisticModuleImport(c,s);t.push.apply(t,(0,i.default)(l))}break;case`ActorPayload`:break;default:A(!1)}}}catch(e){a.e(e)}finally{a.f()}}},t._normalizeFollowupPayload=function(e,t){var n=t.kind===`SplitOperation`&&e.kind===`ModuleImportPayload`?v(e.variables,t.argumentDefinitions,e.args):e.variables,r=x(t,e.dataID,n),i={data:e.data,extensions:this._state===`loading_final`?{is_final:!0}:void 0};return this._normalizeResponse(i,r,e.typeName,{actorIdentifier:this._actorIdentifier,deferDeduplicatedFields:!1,getDataID:this._getDataID,log:this._log,path:e.path,shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull},this._useExecTimeResolvers)},t._processOptimisticModuleImport=function(e,t){var n=s(e),r=[],i=this._normalizeFollowupPayload(t,n);return B(i),r.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,r),r},t._processAsyncOptimisticModuleImport=function(e){var t=this;this._expectOperationLoader().load(e.operationReference).then(function(n){if(n!=null&&t._state===`started`){var r=t._processOptimisticModuleImport(n,e);if(r.forEach(function(e){return t._getPublishQueueAndSaveActor().applyUpdate(e)}),t._optimisticUpdates!=null){var a;(a=t._optimisticUpdates).push.apply(a,(0,i.default)(r)),t._runPublishQueue()}}})},t._processResponses=function(e){var t=this;return this._log({name:`execute.normalize.start`,operation:this._operation}),this._optimisticUpdates!==null&&(this._optimisticUpdates.forEach(function(e){t._getPublishQueueAndSaveActor().revertUpdate(e)}),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map(function(e){var n=t._normalizeResponse(e,t._operation.root,E,{actorIdentifier:t._actorIdentifier,deferDeduplicatedFields:!1,getDataID:t._getDataID,log:t._log,path:[],shouldProcessClientComponents:t._shouldProcessClientComponents,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull},t._useExecTimeResolvers);return t._getPublishQueueAndSaveActor().commitPayload(t._operation,n,t._updater),t._log({name:`execute.normalize.end`,operation:t._operation}),n})},t._processPayloadFollowups=function(e){var t=this;this._state!==`completed`&&e.forEach(function(e){var n=e.incrementalPlaceholders,r=e.followupPayloads,i=e.isFinal;if(t._state=i?`loading_final`:`loading_incremental`,t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),r&&r.length!==0&&r.forEach(function(e){var n=t._actorIdentifier;t._actorIdentifier=e.actorIdentifier??t._actorIdentifier,t._processFollowupPayload(e),t._actorIdentifier=n}),n&&n.length!==0&&(t._incrementalPayloadsPending=t._state!==`loading_final`,n.forEach(function(n){var r=t._actorIdentifier;t._actorIdentifier=n.actorIdentifier??t._actorIdentifier,t._processIncrementalPlaceholder(e,n),t._actorIdentifier=r}),t._isClientPayload||t._state===`loading_final`)){var a=[];n.forEach(function(e){e.kind===`defer`&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data,extensions:{is_final:!0}}))}),a.length>0&&t._processPayloadFollowups(a)}})},t._maybeCompleteSubscriptionOperationTracking=function(){(this._isSubscriptionOperation||this._useExecTimeResolvers&&this._execTimeResolverResponseComplete&&this._state===`loading_final`)&&this._pendingModulePayloadsCount===0&&this._incrementalPayloadsPending===!1&&this._completeOperationTracker()},t._processFollowupPayload=function(e){var t=this;switch(e.kind){case`ModuleImportPayload`:var n=this._expectOperationLoader(),r=n.get(e.operationReference);if(r!=null)this._processFollowupPayloadWithNormalizationNode(e,s(r));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var o=function(){t._pendingModulePayloadsCount--,t._maybeCompleteSubscriptionOperationTracking()},c=a.from(new Promise(function(t,r){n.load(e.operationReference).then(t,r)}));a.create(function(n){var r,i=c.subscribe({error:n.error,next:function(i){if(i!=null){var a=function(){try{var r=s(i),a=l.BATCH_ASYNC_MODULE_UPDATES_FN,o=a!=null&&t._pendingModulePayloadsCount>1,c=f(function(){if(t._handleFollowupPayload(e,r),o)t._scheduleAsyncStoreUpdate(a,n.complete);else{var i=t._runPublishQueue();t._updateOperationTracker(i)}});c[0];var u=c[1];t._log({duration:u,executeId:t._executeId,name:`execute.async.module`,operationName:r.name}),o||n.complete()}catch(e){n.error(e)}},o=t._scheduler;o==null?a():r=o.schedule(a)}else n.complete()}});return function(){i.unsubscribe(),t._scheduler!=null&&r!=null&&t._scheduler.cancel(r)}}).subscribe({complete:function(){t._complete(i),o()},error:function(e){t._error(e),o()},start:function(e){return t._start(i,e)}})}break;case`ActorPayload`:this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:A(!1)}},t._processFollowupPayloadWithNormalizationNode=function(e,t){this._handleFollowupPayload(e,t),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(e,t){var n=this._normalizeFollowupPayload(e,t);this._getPublishQueueAndSaveActor().commitPayload(this._operation,n),this._processPayloadFollowups([n])},t._processIncrementalPlaceholder=function(e,t){var n=t.label,r=t.path.map(String).join(`.`),i=this._incrementalResults.get(n);i??(i=new Map,this._incrementalResults.set(n,i));var a=i.get(r),o=a!=null&&a.kind===`response`?a.responses:null;i.set(r,{kind:`placeholder`,placeholder:t});var s;t.kind===`stream`?s=t.parentID:t.kind===`defer`?s=t.selector.dataID:A(!1);var c=e.source.get(s),l=(e.fieldPayloads??[]).filter(function(e){var t=g(e.dataID,e.fieldKey);return e.dataID===s||t===s});c??A(!1);var u,d,f=this._source.get(s);if(f!=null){u=y.update(f.record,c);var p=new Map,m=function(e){var t=z(e);p.set(t,e)};f.fieldPayloads.forEach(m),l.forEach(m),d=Array.from(p.values())}else u=c,d=l;if(this._source.set(s,{fieldPayloads:d,record:u}),o!=null){var h=this._processIncrementalResponses(o);this._processPayloadFollowups(h)}},t._processIncrementalResponses=function(e){var t=this,n=[];return e.forEach(function(e){var r=e.label,i=e.path,a=e.response,o=t._incrementalResults.get(r);if(o??(o=new Map,t._incrementalResults.set(r,o)),r.indexOf(`$defer$`)!==-1){var s=i.map(String).join(`.`),c=o.get(s);if(c==null){c={kind:`response`,responses:[e]},o.set(s,c);return}if(c.kind===`response`){c.responses.push(e);return}var l=c.placeholder;l.kind!==`defer`&&A(!1),n.push(t._processDeferResponse(r,i,l,a))}else{var u=i.slice(0,-2).map(String).join(`.`),d=o.get(u);if(d==null){d={kind:`response`,responses:[e]},o.set(u,d);return}if(d.kind===`response`){d.responses.push(e);return}var f=d.placeholder;f.kind!==`stream`&&A(!1),n.push(t._processStreamResponse(r,i,f,a))}}),n},t._processDeferResponse=function(e,t,n,r){var i=n.selector.dataID,a=this._actorIdentifier;this._actorIdentifier=n.actorIdentifier??this._actorIdentifier;var o=this._normalizeResponse(r,n.selector,n.typeName,{actorIdentifier:this._actorIdentifier,deferDeduplicatedFields:this._deferDeduplicatedFields,getDataID:this._getDataID,log:this._log,path:n.path,shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull},this._useExecTimeResolvers);this._getPublishQueueAndSaveActor().commitPayload(this._operation,o);var s=this._source.get(i);s??A(!1);var c=s.fieldPayloads;if(c.length!==0){var l={errors:null,fieldPayloads:c,followupPayloads:null,incrementalPlaceholders:null,isFinal:r.extensions?.is_final===!0,source:w.create()};this._getPublishQueueAndSaveActor().commitPayload(this._operation,l)}return this._actorIdentifier=a,o},t._processStreamResponse=function(e,t,n,r){var a=n.parentID,o=n.node,s=n.variables,c=n.actorIdentifier,l=this._actorIdentifier;this._actorIdentifier=c??this._actorIdentifier;var u=o.selections[0];(u==null||u.kind!==`LinkedField`||u.plural!==!0)&&A(!1);var d=this._normalizeStreamItem(r,a,u,s,t,n.path),f=d.fieldPayloads,p=d.itemID,m=d.itemIndex,h=d.prevIDs,g=d.relayPayload,_=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,g,function(e){var t=e.get(a);if(t!=null){var n=t.getLinkedRecords(_);if(n!=null&&!(n.length!==h.length||n.some(function(e,t){return h[t]!==(e&&e.getDataID())}))){var r=(0,i.default)(n);r[m]=e.get(p),t.setLinkedRecords(r,_)}}}),f.length!==0){var v={errors:null,fieldPayloads:f,followupPayloads:null,incrementalPlaceholders:null,isFinal:!1,source:w.create()};this._getPublishQueueAndSaveActor().commitPayload(this._operation,v)}return this._actorIdentifier=l,g},t._normalizeStreamItem=function(e,t,n,r,a,o){var s=e.data;typeof s!=`object`&&A(!1);var c=n.alias??n.name,l=k(n,r),u=this._source.get(t);u??A(!1);var d=u.record,f=u.fieldPayloads,p=y.getLinkedRecordIDs(d,l);p??A(!1);var m=a[a.length-1],h=parseInt(m,10);!(h===m&&h>=0)&&A(!1);var _=n.concreteType??s[D];typeof _!=`string`&&A(!1);var v=this._getDataID(s,_)??p?.[h]??g(t,l,h);typeof v!=`string`&&A(!1);var b=x(n,v,r),S=y.clone(d),C=(0,i.default)(p);return C[h]=v,y.setLinkedRecordIDs(S,l,C),this._source.set(t,{fieldPayloads:f,record:S}),{fieldPayloads:f,itemID:v,itemIndex:h,prevIDs:p,relayPayload:this._normalizeResponse(e,b,_,{actorIdentifier:this._actorIdentifier,deferDeduplicatedFields:!1,getDataID:this._getDataID,log:this._log,path:[].concat((0,i.default)(o),[c,String(h)]),shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull},this._useExecTimeResolvers),storageKey:l}},t._scheduleAsyncStoreUpdate=function(e,t){var n=this;this._completeFns.push(t),this._asyncStoreUpdateDisposable??=e(function(){n._asyncStoreUpdateDisposable=null;var e=n._runPublishQueue();n._updateOperationTracker(e);var t=(0,r.default)(n._completeFns),i;try{for(t.s();!(i=t.n()).done;){var a=i.value;a()}}catch(e){t.e(e)}finally{t.f()}n._completeFns=[]})},t._updateOperationTracker=function(e){e!=null&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},t._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},t._getActorsToVisit=function(){return this._seenActors.size===0?new Set([this._actorIdentifier]):this._seenActors},t._runPublishQueue=function(e){var t=new Set,n=(0,r.default)(this._getActorsToVisit()),i;try{for(n.s();!(i=n.n()).done;){var a=i.value;this._getPublishQueue(a).run(e).forEach(function(e){return t.add(e)})}}catch(e){n.e(e)}finally{n.f()}return Array.from(t)},t._retainData=function(){var e=(0,r.default)(this._getActorsToVisit()),t;try{for(e.s();!(t=e.n()).done;){var n=t.value;this._retainDisposables.has(n)||this._retainDisposables.set(n,this._getStore(n).retain(this._operation))}}catch(t){e.e(t)}finally{e.f()}},t._disposeRetainedData=function(){var e=(0,r.default)(this._retainDisposables.values()),t;try{for(e.s();!(t=e.n()).done;)t.value.dispose()}catch(t){e.e(t)}finally{e.f()}this._retainDisposables.clear()},t._expectOperationLoader=function(){var e=this._operationLoader;return!e&&A(!1),e},e}();function R(e){var t=[],n=[],r=[];return e.forEach(function(e){if(e.path!=null||e.label!=null){var i=e.label,a=e.path;(i==null||a==null)&&A(!1),n.push({label:i,path:a,response:e})}else e.extensions?.is_normalized===!0?r.push(e):t.push(e)}),[t,n,r]}function z(e){return JSON.stringify(u(e))??``}function B(e){var t=e.incrementalPlaceholders;t!=null&&t.length!==0&&A(!1)}t.exports={execute:F}})),qe=o(((e,t)=>{var n=Promise.resolve();function r(e){n.then(e).catch(i)}function i(e){setTimeout(function(){throw e},0)}t.exports=r})),Je=o(((e,t)=>{var n=X(),r=Me().EXISTENT,i=d();t.exports=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);return r===void 0?t==null?t:n.clone(t):r===null?null:t==null?n.clone(r):n.update(t,r)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);!r&&i(!1),t=n.create(e,n.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),a=this._base.get(e);!(r||a)&&i(!1);var o=this._getSinkRecord(t);a&&n.copyFields(a,o),r&&n.copyFields(r,o)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===r||this._sink.getStatus(e)===r)&&i(!1);var a=n.create(e,t);this._sink.set(e,a)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return n.getType(r);if(r===null)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getValue(i,t);if(a!==void 0)return a}else if(i===null)return null}},t.setValue=function(e,t,r){var i=this._getSinkRecord(e);n.setValue(i,t,r)},t.getErrors=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getErrors(i,t);if(a!==void 0)return a}else if(i===null)return null}},t.setErrors=function(e,t,r){var i=this._getSinkRecord(e);n.setErrors(i,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordID(i,t);if(a!==void 0)return a}else if(i===null)return null}},t.setLinkedRecordID=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordID(i,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordIDs(i,t);if(a!==void 0)return a}else if(i===null)return null}},t.setLinkedRecordIDs=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordIDs(i,t,r)},e}()})),Ye=o(((e,t)=>{var n=h().default,r=n(C()),i=N().getArgumentValues,a=[`id`,`__id`,`__typename`,`js`];function o(e,t,n,r,i){var a={};return s(a,e,t,n,r,i),a}function s(e,t,n,o,f,p){var h=(0,r.default)(o),g;try{var _=function(){var r=g.value;switch(r.kind){case`LinkedField`:r.plural?Object.defineProperty(e,(v=r.alias)??r.name,{get:u(r,n,t,f,p),set:c(r,n,t,f)}):Object.defineProperty(e,(y=r.alias)??r.name,{get:d(r,n,t,f,p),set:l(r,n,t,f)});break;case`ScalarField`:var o=r.alias??r.name;Object.defineProperty(e,o,{get:function(){var e=i(r.args??[],n),a=t.getValue(r.name,e);return a??=m(r,e,t,f,p),a},set:a.includes(r.name)?void 0:function(e){var a=i(r.args??[],n);t.setValue__UNSAFE(e,r.name,a)}});break;case`InlineFragment`:t.getType()===r.type&&s(e,t,n,r.selections,f,p);break;case`ClientExtension`:s(e,t,n,r.selections,f,p);break;case`FragmentSpread`:break;case`Condition`:case`ActorChange`:case`InlineDataFragmentSpread`:case`AliasedInlineFragmentSpread`:case`ClientEdgeToClientObject`:case`ClientEdgeToServerObject`:case`Defer`:case`ModuleImport`:case`RequiredField`:case`CatchField`:case`Stream`:case`RelayResolver`:case`RelayLiveResolver`:throw Error(`Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.`);default:throw r.kind,Error(`Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.`)}};for(h.s();!(g=h.n()).done;){var v,y;_()}}catch(e){h.e(e)}finally{h.f()}}function c(e,t,n,r){return function(a){var o=i(e.args??[],t);if(a==null)throw Error(`Do not assign null to plural linked fields; assign an empty array instead.`);var s=a.map(function(e){if(e==null)throw Error(`When assigning an array of items, none of the items should be null or undefined.`);var t=e.__id;if(t==null)throw Error(`The __id field must be present on each item passed to the setter. This indicates a bug in Relay.`);var n=r.get(t);if(n==null)throw Error(`Did not find item with data id ${t} in the store.`);return n});n.setLinkedRecords(s,e.name,o)}}function l(e,t,n,r){return function(a){var o=i(e.args??[],t);if(a==null)n.setValue(a,e.name,o);else{var s=a.__id;if(s==null)throw Error(`The __id field must be present on the argument. This indicates a bug in Relay.`);var c=r.get(s);if(c==null)throw Error(`Did not find item with data id ${s} in the store.`);n.setLinkedRecord(c,e.name,o)}}}function u(e,t,n,r,a){return function(){var o=i(e.args??[],t),c=n.getLinkedRecords(e.name,o);return c===void 0&&(c=p(e,o,n,r,a)),c==null?c:c.map(function(n){if(n!=null){var i={};return s(i,n,t,e.selections,r,a),i}return n})}}function d(e,t,n,r,a){return function(){var o=i(e.args??[],t),c=n.getLinkedRecord(e.name,o);if(c===void 0&&(c=f(e,o,n,r,a)),c!=null){var l={};return s(l,c,t,e.selections,r,a),l}return c}}function f(e,t,n,i,a){var o=(0,r.default)(a),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(c.kind===`linked`){var l=c.handle(e,n,t,i);if(l!=null)return i.get(l)}}}catch(e){o.e(e)}finally{o.f()}}function p(e,t,n,i,a){var o=(0,r.default)(a),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(c.kind===`pluralLinked`){var l=c.handle(e,n,t,i);if(l!=null)return l.map(function(e){if(e!=null)return i.get(e)})}}}catch(e){o.e(e)}finally{o.f()}}function m(e,t,n,i,a){var o=(0,r.default)(a),s;try{for(o.s();!(s=o.n()).done;){var c=s.value;if(c.kind===`scalar`){var l=c.handle(e,n,t,i);if(l!==void 0)return l}}}catch(e){o.e(e)}finally{o.f()}}t.exports={createUpdatableProxy:o}})),Xe=o(((e,t)=>{var n=m().getFragment,r=I().getVariablesFromFragment,i=N().ID_KEY,a=Ye().createUpdatableProxy,o=d();function s(e,t,s,c){var l=n(e),u=r(l,t),d=t[i],f=s.get(d);return f??o(!1),{updatableData:a(f,u,l.selections,s,c)}}t.exports={readUpdatableFragment:s}})),Ze=o(((e,t)=>{var n=m().getUpdatableQuery,r=Ye().createUpdatableProxy;function i(e,t,i,a){var o=n(e);return{updatableData:r(i.getRoot(),t,o.fragment.selections,i,a)}}t.exports={readUpdatableQuery:i}})),Qe=o(((e,t)=>{var n=Y().generateClientID,r=N().getStableStorageKey,i=d(),a=function(){function e(e,t,n){this._dataID=n,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return e??i(!1),e},t.getValue=function(e,t){var n=r(e,t);return this._mutator.getValue(this._dataID,n)},t.setValue=function(e,t,n,r){return!o(e)&&i(!1),this.setValue__UNSAFE(e,t,n,r)},t.getErrors=function(e,t){var n=r(e,t);return this._mutator.getErrors(this._dataID,n)},t.setValue__UNSAFE=function(e,t,n,i){var a=r(t,n);return this._mutator.setValue(this._dataID,a,e),i!=null&&(i.length===0?this._mutator.setErrors(this._dataID,a):this._mutator.setErrors(this._dataID,a,i)),this},t.getLinkedRecord=function(e,t){var n=r(e,t),i=this._mutator.getLinkedRecordID(this._dataID,n);return i==null?i:this._source.get(i)},t.setLinkedRecord=function(t,n,a){!(t instanceof e)&&i(!1);var o=r(n,a),s=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,o,s),this},t.getOrCreateLinkedRecord=function(e,t,i){var a=this.getLinkedRecord(e,i);if(!a){var o=r(e,i),s=n(this.getDataID(),o);a=this._source.get(s)??this._source.create(s,t),this.setLinkedRecord(a,e,i)}return a},t.getLinkedRecords=function(e,t){var n=this,i=r(e,t),a=this._mutator.getLinkedRecordIDs(this._dataID,i);return a==null?a:a.map(function(e){return e==null?e:n._source.get(e)})},t.setLinkedRecords=function(e,t,n){!Array.isArray(e)&&i(!1);var a=r(t,n),o=e.map(function(e){return e&&e.getDataID()});return this._mutator.setLinkedRecordIDs(this._dataID,a,o),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function o(e){return typeof e!=`object`||!e||Array.isArray(e)&&e.every(o)}t.exports=a})),$e=o(((e,t)=>{var n=X(),r=Me(),i=r.EXISTENT,a=r.NONEXISTENT,o=N(),s=o.ROOT_ID,c=o.ROOT_TYPE,l=Xe().readUpdatableFragment,u=Ze().readUpdatableQuery,f=Qe(),p=d();t.exports=function(){function e(e,t,n,r,i){this.__mutator=e,this._handlerProvider=n||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=r,this._log=i??function(e){}}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach(function(t){var o=e.getStatus(t);if(o===i){var s=e.get(t);s&&(r.__mutator.getStatus(t)!==i&&r.create(t,n.getType(s)),r.__mutator.copyFieldsFromRecord(s,t))}else o===a&&r.delete(t)}),t&&t.length&&t.forEach(function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);!t&&p(!1),t.update(r,e)})},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var n=this.get(e);return!n&&p(!1),n},t.delete=function(e){e===s&&p(!1),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);t===i?this._proxies[e]=new f(this,this.__mutator,e):this._proxies[e]=t===a?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(s);return e||=this.create(s,c),!(e&&e.getType()===c)&&p(!1),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery=function(e,t){return u(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(e,t){return l(e,t,this,this._missingFieldHandlers)},e}()})),et=o(((e,t)=>{var n=u().LINKED_FIELD,r=N().getHandleStorageKey,i=F(),a=d();function o(e,t,o){var s=t.find(function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&i(t.args,e.args)});!(s&&s.kind===n)&&a(!1);var c=r(e,o);return{kind:`LinkedField`,alias:s.alias,name:c,storageKey:c,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}t.exports=o})),tt=o(((e,t)=>{var n=u().SCALAR_FIELD,r=N().getHandleStorageKey,i=F(),a=d();function o(e,t,o){var s=t.find(function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&i(t.args,e.args)});!(s&&s.kind===n)&&a(!1);var c=r(e,o);return{kind:`ScalarField`,alias:s.alias,name:c,storageKey:c,args:null}}t.exports=o})),nt=o(((e,t)=>{var n=h().default,r=n(C()),i=Je(),a=$e(),o=Ue(),s=Y().isClientID,c=et(),l=tt(),u=P().getLocalVariables,f=X(),p=Me(),m=p.EXISTENT,g=p.UNKNOWN,_=N(),v=Fe(),y=v.TYPE_SCHEMA_TYPE,b=v.generateTypeID,x=d(),S=_.getModuleOperationKey,w=_.getStorageKey,T=_.getArgumentValues;function E(e,t,n,r,i,a,o,s,c,l){c?.({name:`store.datachecker.start`,selector:r});var u=r.dataID,d=r.node,f=r.variables,p=new D(e,t,n,f,i,a,o,s,c,l).check(d,u);return c?.({name:`store.datachecker.end`,selector:r}),p}var D=function(){function e(e,t,n,r,i,a,o,s,c,l){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=o,this._source=e(n),this._mutatorRecordSourceProxyCache=new Map;var u=this._getMutatorAndRecordProxyForActor(n),d=u[0],f=u[1];this._useExecTimeResolvers=l??!1,this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=d,this._operationLoader=a??null,this._recordSourceProxy=f,this._recordWasMissing=!1,this._variables=r,this._shouldProcessClientComponents=s,this._log=c}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(t==null){var n=this._getTargetForActor(e),r=new i(this._getSourceForActor(e),n);t=[r,new a(r,this._getDataID,void 0,this._handlers,this._log)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._assignClientAbstractTypes(e),this._traverse(e,t),this._recordWasMissing===!0?{mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt,status:`missing`}:{mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt,status:`available`}},t._getVariableValue=function(e){return!this._variables.hasOwnProperty(e)&&x(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(e,t){if(!(e.name===`id`&&e.alias==null&&s(t))){var n=e.args==null?{}:T(e.args,this._variables),i=(0,r.default)(this._handlers),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.kind===`scalar`){var c=o.handle(e,this._recordSourceProxy.get(t),n,this._recordSourceProxy);if(c!==void 0)return c}}}catch(e){i.e(e)}finally{i.f()}this._log!=null&&this._log({name:`store.datachecker.missing`,kind:`scalar`,dataID:t,fieldName:e.name,storageKey:w(e,this._variables)}),this._handleMissing()}},t._handleMissingLinkField=function(e,t){var n=e.args==null?{}:T(e.args,this._variables),i=(0,r.default)(this._handlers),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(o.kind===`linked`){var s=o.handle(e,this._recordSourceProxy.get(t),n,this._recordSourceProxy);if(s!==void 0&&(s===null||this._mutator.getStatus(s)===m))return s}}}catch(e){i.e(e)}finally{i.f()}this._log!=null&&this._log({name:`store.datachecker.missing`,kind:`linked`,dataID:t,fieldName:e.name,storageKey:w(e,this._variables)}),this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var n=this,i=e.args==null?{}:T(e.args,this._variables),a=(0,r.default)(this._handlers),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;if(s.kind===`pluralLinked`){var c=s.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(c!=null){if(c.every(function(e){return e!=null&&n._mutator.getStatus(e)===m}))return c}else if(c===null)return null}}}catch(e){a.e(e)}finally{a.f()}this._log!=null&&this._log({name:`store.datachecker.missing`,kind:`pluralLinked`,dataID:t,fieldName:e.name,storageKey:w(e,this._variables)}),this._handleMissing()},t._traverse=function(e,t){var n=this._mutator.getStatus(t);if(n===g&&(this._log!=null&&this._log({name:`store.datachecker.missing`,kind:`unknown_record`,dataID:t}),this._handleMissing()),n===m){var r=this._source.get(t),i=f.getInvalidationEpoch(r);i!=null&&(this._mostRecentlyInvalidatedAt=this._mostRecentlyInvalidatedAt==null?i:Math.max(this._mostRecentlyInvalidatedAt,i)),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var n=this;e.forEach(function(r){switch(r.kind){case`ScalarField`:n._checkScalar(r,t);break;case`LinkedField`:r.plural?n._checkPluralLink(r,t):n._checkLink(r,t);break;case`ActorChange`:n._checkActorChange(r.linkedField,t);break;case`Condition`:!!n._getVariableValue(r.condition)===r.passingValue&&n._traverseSelections(r.selections,t);break;case`InlineFragment`:var i=r.abstractKey;if(i==null)n._mutator.getType(t)===r.type&&n._traverseSelections(r.selections,t);else{var a=n._mutator.getType(t);a??x(!1);var o=b(a),s=n._mutator.getValue(o,i);s===!0?n._traverseSelections(r.selections,t):s??n._handleMissing()}break;case`LinkedHandle`:var d=c(r,e,n._variables);d.plural?n._checkPluralLink(d,t):n._checkLink(d,t);break;case`ScalarHandle`:var f=l(r,e,n._variables);n._checkScalar(f,t);break;case`ModuleImport`:n._checkModuleImport(r,t);break;case`Defer`:case`Stream`:n._traverseSelections(r.selections,t);break;case`FragmentSpread`:var p=n._variables;n._variables=u(n._variables,r.fragment.argumentDefinitions,r.args),n._traverseSelections(r.fragment.selections,t),n._variables=p;break;case`ClientExtension`:var m=n._recordWasMissing;n._traverseSelections(r.selections,t),n._recordWasMissing=m;break;case`TypeDiscriminator`:var h=r.abstractKey,g=n._mutator.getType(t);g??x(!1);var _=b(g);n._mutator.getValue(_,h)??n._handleMissing();break;case`ClientComponent`:if(n._shouldProcessClientComponents===!1)break;n._traverseSelections(r.fragment.selections,t);break;case`RelayResolver`:case`RelayLiveResolver`:n._useExecTimeResolvers||n._checkResolver(r,t);break;case`ClientEdgeToClientObject`:n._useExecTimeResolvers||n._checkResolver(r.backingField,t);break;default:x(!1)}})},t._checkResolver=function(e,t){e.fragment&&this._traverseSelections([e.fragment],t)},t._checkModuleImport=function(e,t){var n=this._operationLoader;n===null&&x(!1);var r=S(e.documentName),i=this._mutator.getValue(t,r);if(i==null)i===void 0&&this._handleMissing();else{var a=n.get(i);if(a!=null){var s=o(a),c=this._variables;this._variables=u(this._variables,s.argumentDefinitions,e.args),this._traverse(s,t),this._variables=c}else this._handleMissing()}},t._checkScalar=function(e,t){var n=w(e,this._variables),r=this._mutator.getValue(t,n);r===void 0&&(r=this._handleMissingScalarField(e,t),r!==void 0&&this._mutator.setValue(t,n,r))},t._checkLink=function(e,t){var n=w(e,this._variables),r=this._mutator.getLinkedRecordID(t,n);r===void 0&&(r=this._handleMissingLinkField(e,t),r==null?r===null&&this._mutator.setValue(t,n,null):this._mutator.setLinkedRecordID(t,n,r)),r!=null&&this._traverse(e,r)},t._checkPluralLink=function(e,t){var n=this,r=w(e,this._variables),i=this._mutator.getLinkedRecordIDs(t,r);i===void 0&&(i=this._handleMissingPluralLinkField(e,t),i==null?i===null&&this._mutator.setValue(t,r,null):this._mutator.setLinkedRecordIDs(t,r,i)),i&&i.forEach(function(t){t!=null&&n._traverse(e,t)})},t._checkActorChange=function(e,t){var n=w(e,this._variables),r=this._source.get(t),i=r==null?r:f.getActorLinkedRecordID(r,n);if(i==null)i===void 0&&this._handleMissing();else{var a=i[0],o=i[1],s=this._source,c=this._mutator,l=this._recordSourceProxy,u=this._getMutatorAndRecordProxyForActor(a),d=u[0],p=u[1];this._source=this._getSourceForActor(a),this._mutator=d,this._recordSourceProxy=p,this._assignClientAbstractTypes(e),this._traverse(e,o),this._source=s,this._mutator=c,this._recordSourceProxy=l}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(t!=null)for(var n=0,i=Object.keys(t);n<i.length;n++){var a=i[n],o=(0,r.default)(t[a]),s;try{for(o.s();!(s=o.n()).done;){var c=s.value,l=b(c);this._source.get(l)??this._mutator.create(l,y),this._mutator.getValue(l,a)??this._mutator.setValue(l,a,!0)}}catch(e){o.e(e)}finally{o.f()}}},e}();t.exports={check:E}})),rt=o(((e,t)=>{t.exports=function(e){typeof e==`object`&&e&&(Array.isArray(e)||e.constructor===Object)&&Object.freeze(e)}})),it=o(((e,t)=>{var n=X(),r=N().RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,i=d();function a(e){var t=n.getValue(e,r);return t==null?null:(!(t instanceof Set)&&i(!1),t)}t.exports=a})),at=o(((e,t)=>{function n(e){return typeof e==`object`&&!!e&&typeof e.read==`function`&&typeof e.subscribe==`function`}t.exports=n})),ot=o(((e,t)=>{var n=h().default,r=n(C()),i=Se(),a=u().RELAY_LIVE_RESOLVER,o=j(),s=rt(),c=Y(),l=c.generateClientID,f=c.generateClientObjectClientID,m=X(),g=I().createNormalizationSelector,_=Z(),v=Ie().normalize,y=N(),b=y.RELAY_RESOLVER_ERROR_KEY,x=y.RELAY_RESOLVER_INVALIDATION_KEY,S=y.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,w=y.RELAY_RESOLVER_RECORD_TYPENAME,T=y.RELAY_RESOLVER_SNAPSHOT_KEY,E=y.RELAY_RESOLVER_VALUE_KEY,D=y.getReadTimeResolverStorageKey,O=y.getStorageKey,k=it(),A=at(),M=ke().isSuspenseSentinel,P=d();p();var F=`__resolverLiveStateSubscription`,L=`__resolverLiveStateValue`,R=`__resolverLiveStateDirty`,z=`__relay_model_instance`;function B(e,t,n){var r=e.get(t);r||(r=new Set,e.set(t,r)),r.add(n)}var V=function(){function e(e,t){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e,this._store=t,this._handlingBatch=!1,this._liveResolverBatchRecordSource=null}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,n,i,o){var s=this._getRecordSource(),c=q(s,e),u=D(t,n),d=m.getLinkedRecordID(c,u),f=d==null?null:s.get(d),p;if(f==null||this._isInvalid(f,o)){f!=null&&K(f),d??=l(e,u),f=m.create(d,w);var h=i();if(m.setValue(f,T,h.snapshot),m.setValue(f,b,h.error),t.kind===a){if(h.resolverResult!=null){h.error!=null&&P(!1);var g=h.resolverResult;p=this._setLiveStateValue(f,d,g,t,n)}}else p=this._setResolverValue(f,h.resolverResult,t,n);s.set(d,f);var _=q(s,e),v=m.clone(_);if(m.setLinkedRecordID(v,u,d),s.set(e,v),t.fragment!=null){var y=l(e,O(t.fragment,n));B(this._resolverIDToRecordIDs,y,d),B(this._recordIDToResolverIDs,e,y);var x=h.snapshot?.seenRecords;if(x!=null){var S=(0,r.default)(x),C;try{for(S.s();!(C=S.n()).done;){var E=C.value;B(this._recordIDToResolverIDs,E,y)}}catch(e){S.e(e)}finally{S.f()}}}}else if(t.kind===a&&m.getValue(f,R)){d??=l(e,u),f=m.clone(f);var k=m.getValue(f,L);A(k)||P(!1),p=this._setLiveResolverValue(f,k,t,n),m.setValue(f,R,!1),s.set(d,f)}var j=this._getResolverValue(f),N=m.getValue(f,T),F=m.getValue(f,b),I=null;return M(j)&&(I=d??l(e,u)),[j,d,F,N,I,p]},t.getLiveResolverPromise=function(e){var t=this._getRecordSource().get(e);t??P(!1);var n=m.getValue(t,L);return new Promise(function(e){var t=n.subscribe(function(){t(),e()})})},t._setLiveStateValue=function(e,t,n,r,i){var a=this._makeLiveStateHandler(t),o=n.subscribe(a);m.setValue(e,L,n);var s=this._setLiveResolverValue(e,n,r,i);return m.setValue(e,R,!1),m.setValue(e,F,o),s},t._makeLiveStateHandler=function(e){var t=this;return function(){var n=t._getRecordSource().get(e);if(n&&m.hasValue(n,L)){var r=m.clone(n);m.setValue(r,R,!0),t._setLiveResolverUpdate(e,r)}}},t._setLiveResolverUpdate=function(e,t){if(this._handlingBatch)this._liveResolverBatchRecordSource??=_.create(),this._liveResolverBatchRecordSource.set(e,t);else{var n=_.create();n.set(e,t),this._store.publish(n),this._store.notify()}},t.batchLiveStateUpdates=function(e){this._handlingBatch&&P(!1),this._handlingBatch=!0;try{e()}finally{this._liveResolverBatchRecordSource!=null&&(this._store.publish(this._liveResolverBatchRecordSource),this._store.notify()),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1}},t.batchLiveStateUpdatesWithoutNotify=function(e){this._handlingBatch&&P(!1),this._handlingBatch=!0;try{e()}finally{var t=this._liveResolverBatchRecordSource!=null;return t&&this._store.publish(this._liveResolverBatchRecordSource),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1,t}},t._setLiveResolverValue=function(e,t,n,r){var i=null,a=null;try{i=t.read()}catch(e){a=e}return m.setValue(e,b,a),this._setResolverValue(e,i,n,r)},t._setResolverValue=function(e,t,n,i){var a=n.normalizationInfo,o=null;if(t!=null&&a!=null&&!M(t)){var c,l=k(e),u=new Set,d=this._getRecordSource();if(a.plural){!Array.isArray(t)&&P(!1),c=[];for(var p=_.create(),h=0;h<t.length;h++){var g=t[h];if(g!=null){typeof g!=`object`&&P(!1);var v=J(a,g),y=f(v,m.getDataID(e),h),b=this._normalizeOutputTypeValue(y,g,i,a,[n.path,String(h)],v),x=(0,r.default)(b.getRecordIDs()),C;try{for(x.s();!(C=x.n()).done;){var w=C.value;p.set(w,q(b,w)),u.add(w)}}catch(e){x.e(e)}finally{x.f()}c.push(y)}}o=H(d,p,l)}else{typeof t!=`object`&&P(!1);var T=J(a,t),D=f(T,m.getDataID(e)),O=this._normalizeOutputTypeValue(D,t,i,a,[n.path],T),A=(0,r.default)(O.getRecordIDs()),j;try{for(A.s();!(j=A.n()).done;){var N=j.value;u.add(N)}}catch(e){A.e(e)}finally{A.f()}c=D,o=H(d,O,l)}m.setValue(e,S,u),s(c),m.setValue(e,E,c)}else s(t),m.setValue(e,E,t),m.setValue(e,S,new Set);return o},t.notifyUpdatedSubscribers=function(e){this._store.__notifyUpdatedSubscribers(e)},t._getResolverValue=function(e){return m.getValue(e,E)},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),n=new Set,i=Array.from(e);i.length;){var a=i.pop();n.add(a),e.add(a);var o=this._recordIDToResolverIDs.get(a);if(o!=null){var s=(0,r.default)(o),c;try{for(s.s();!(c=s.n()).done;){var l=c.value;if(!n.has(l)){n.add(l);var u=this._resolverIDToRecordIDs.get(l);if(u==null)continue;var d=(0,r.default)(u),f;try{for(d.s();!(f=d.n()).done;){var p=f.value;W(p,t),n.has(p)||(n.add(p),i.push(p))}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){s.e(e)}finally{s.f()}}}},t._isInvalid=function(e,t){if(!m.getValue(e,x))return!1;var n=m.getValue(e,T),r=n?.data,a=n?.selector;if(r==null||a==null)return!0;var s=t(a).data;if(i(r,s)!==r)return!0;if(o.MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD){var c=m.clone(e);m.setValue(c,x,!1),this._getRecordSource().set(m.getDataID(e),c)}return!1},t._normalizeOutputTypeValue=function(e,t,n,r,i,a){var o=_.create();switch(r.kind){case`OutputType`:var s=m.create(e,a);return o.set(e,s),v(o,g(r.normalizationNode,e,n),t,this._store.__getNormalizationOptions(i),void 0,!1).source;case`WeakModel`:var c=m.create(e,a);return m.setValue(c,z,t),o.set(e,c),o;default:r.kind,P(!1)}},t.ensureClientRecord=function(e,t){var n=f(t,e),r=this._getRecordSource();if(!r.has(n)){var i=m.create(n,t);m.setValue(i,`id`,e),r.set(n,i)}return n},t.unsubscribeFromLiveResolverRecords=function(e){return te(this._getRecordSource(),e)},t.invalidateResolverRecords=function(e){if(e.size!==0){var t=(0,r.default)(e),n;try{for(t.s();!(n=t.n()).done;){var i=n.value,a=this._getRecordSource().get(i);a!=null&&G(a)&&this._getRecordSource().delete(i)}}catch(e){t.e(e)}finally{t.f()}}},e}();function H(e,t,n){var i=new Set;if(n!=null){var a=(0,r.default)(n),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;t.has(s)||(i.add(s),e.remove(s))}}catch(e){a.e(e)}finally{a.f()}}var c=(0,r.default)(t.getRecordIDs()),l;try{for(c.s();!(l=c.n()).done;){var u=l.value,d=q(t,u);if(e.has(u)){var f=q(e,u),p=m.update(f,d);p!==f&&(i.add(u),e.set(u,p),ee(f,e))}else e.set(u,d)}}catch(e){c.e(e)}finally{c.f()}return i}function U(e){var t=new Set;return m.getFields(e).forEach(function(n){if(m.hasLinkedRecordID(e,n)){var r=m.getLinkedRecordID(e,n);r!=null&&t.add(r)}else if(m.hasLinkedRecordIDs(e,n)){var i;(i=m.getLinkedRecordIDs(e,n))==null||i.forEach(function(e){e!=null&&t.add(e)})}}),t}function W(e,t){var n=t.get(e);if(n){var r=m.clone(n);m.setValue(r,x,!0),t.set(e,r)}}function ee(e,t){var n=U(e),i=(0,r.default)(n),a;try{for(i.s();!(a=i.n()).done;){var o=a.value,s=t.get(o);s!=null&&G(s)&&W(o,t)}}catch(e){i.e(e)}finally{i.f()}}function te(e,t){if(t.size!==0){var n=(0,r.default)(t),i;try{for(n.s();!(i=n.n()).done;){var a=i.value,o=e.get(a);o!=null&&G(o)&&K(o)}}catch(e){n.e(e)}finally{n.f()}}}function G(e){return m.getType(e)===w}function K(e){m.getValue(e,F)?.()}function q(e,t){var n=e.get(t);return n??P(!1),n}function ne(e){return e}function J(e,t){var n=e.concreteType??t.__typename;return n??P(!1),n}t.exports={LiveResolverCache:V,RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY:F,getUpdatedDataIDs:ne}})),st=o(((e,t)=>{var n=h().default,r=n(b()),i=X(),a=Z(),o=d(),s=i.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),c=function(){function e(e){this._base=e,this._sink=a.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==s:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===s?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return t===void 0?`UNKNOWN`:t===null?`NONEXISTENT`:`EXISTENT`},t.clear=function(){this._base=a.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,s)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=(0,r.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach(function(n){var r=e.get(n);r===void 0?delete t[n]:t[n]=i.toJSON(r)}),t},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();function l(e){return new c(e)}function u(e){return!(e instanceof c)&&o(!1),e.getOptimisticRecordIDs()}t.exports={create:l,getOptimisticRecordIDs:u}})),ct=o(((e,t)=>{var n=u().RELAY_LIVE_RESOLVER,r=d();t.exports={NoopResolverCache:function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,i,a,o){t.kind===n&&r(!1);var s=a(),c=s.resolverResult,l=s.snapshot;return[c,void 0,s.error,l,void 0,void 0]},t.invalidateDataIDs=function(e){},t.ensureClientRecord=function(e,t){r(!1)},t.notifyUpdatedSubscribers=function(e){},e}()}})),lt=o(((e,t)=>{var n=h().default,r=n(b()),i=n(y()),a=n(Ae()),o=n(O()),s=[`message`],c=j(),l=ke().isSuspenseSentinel,u=P(),f=X(),p=N(),m=p.CLIENT_EDGE_TRAVERSAL_PATH,g=p.FIELD_GRANULAR_NOTIFICATIONS_KEY,_=p.FRAGMENT_OWNER_KEY,v=p.FRAGMENT_PROP_NAME_KEY,x=p.FRAGMENTS_KEY,S=p.ID_KEY,C=p.MODULE_COMPONENT_KEY,w=p.ROOT_ID,T=p.getArgumentValues,E=p.getFieldNotificationKey,D=p.getModuleComponentKey,k=p.getStorageKey,A=ct().NoopResolverCache,M=L(),F=M.RESOLVER_FRAGMENT_ERRORED_SENTINEL,I=M.withResolverContext,R=Fe().generateTypeID,z=d();function B(e,t,n,r,i){return new V(e,t,n,r??new A,i).read()}var V=function(){function e(e,t,n,r,i){var a;this._clientEdgeTraversalPath=(a=t.clientEdgeTraversalPath)!=null&&a.length?(0,o.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._fieldErrors=null,this._fieldGranularNotificationDataID=null,this._owner=t.owner,this._useExecTimeResolvers=this._owner.node.operation.use_exec_time_resolvers??this._owner.node.operation.exec_time_resolvers_enabled_provider?.get()===!0??!1,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=r,this._fragmentName=t.node.name,this._updatedDataIDs=new Set,this._resolverContext=i,this._log=n}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,n=e.dataID,r=e.isWithinUnmatchedTypeRefinement,i=t.abstractKey,a=this._recordSource.get(n),o=!r;o&&i==null&&a!=null&&(this._recordMatchesTypeCondition(a,t.type)||(o=!1)),o&&i!=null&&a!=null&&this._implementsInterface(a,i)===!1&&(o=!1),this._isWithinUnmatchedTypeRefinement=!o;var s=this._traverse(t,n,null),l=this._selector.node.metadata?.catchTo;if(l!=null&&(s=this._catchErrors(s,l,null)),this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),c.ENABLE_READER_FRAGMENTS_LOGGING){var u;(u=this._log)==null||u.call(this,{name:`reader.read`,selector:this._selector})}return{data:s,fieldErrors:this._fieldErrors,isMissingData:this._isMissingData&&o,missingClientEdges:this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector}},t._maybeAddFieldErrors=function(e,t){var n=f.getErrors(e,t);if(n!=null){var r=this._fragmentName;this._fieldErrors??=[];for(var i=0;i<n.length;i++){var a=n[i];this._fieldErrors.push({error:a,fieldPath:(a.path??[]).join(`.`),handled:!1,kind:`relay_field_payload.error`,owner:r,shouldThrow:this._selector.node.metadata?.throwOnFieldError??!1,uiContext:void 0})}}},t._markDataAsMissing=function(e){if(!this._isWithinUnmatchedTypeRefinement){this._fieldErrors??=[];var t=this._fragmentName;if(this._fieldErrors.push(this._selector.node.metadata?.throwOnFieldError??!1?{fieldPath:e,handled:!1,kind:`missing_expected_data.throw`,owner:t,uiContext:void 0}:{fieldPath:e,kind:`missing_expected_data.log`,owner:t,uiContext:void 0}),this._isMissingData=!0,this._clientEdgeTraversalPath.length){var n=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];n!==null&&this._missingClientEdges.push({clientEdgeDestinationID:n.clientEdgeDestinationID,request:n.readerClientEdge.operation})}}},t._traverse=function(e,t,n){var r=this._recordSource.get(t),i=this._fieldGranularNotificationDataID;if(r!=null&&f.getValue(r,g)?this._fieldGranularNotificationDataID=t:(this._seenRecords.add(t),this._fieldGranularNotificationDataID=null),r==null)return r===void 0&&this._markDataAsMissing(`<record>`),this._fieldGranularNotificationDataID=i,r;var a=n||{},o=this._traverseSelections(e.selections,r,a);return this._fieldGranularNotificationDataID=i,o?a:null},t._getVariableValue=function(e){return!this._variables.hasOwnProperty(e)&&z(!1),this._variables[e]},t._maybeReportUnexpectedNull=function(e){if(e.action!==`NONE`){var t=this._fragmentName;this._fieldErrors??=[];var n=e.field.linkedField==null?e.field.alias??e.field.name:e.field.linkedField.alias??e.field.linkedField.name;switch(e.action){case`THROW`:this._fieldErrors.push({fieldPath:n,handled:!1,kind:`missing_required_field.throw`,owner:t,uiContext:void 0});return;case`LOG`:this._fieldErrors.push({fieldPath:n,kind:`missing_required_field.log`,owner:t,uiContext:void 0});return;default:e.action}}},t._handleRequiredFieldValue=function(e,t){return t!=null||(this._maybeReportUnexpectedNull(e),!1)},t._catchErrors=function(e,t,n){var r=e;switch(t){case`RESULT`:r=this._asResult(e);break;case`NULL`:this._fieldErrors!=null&&this._fieldErrors.length>0&&(r=null)}var i=this._fieldErrors;if(this._fieldErrors=n,i!=null){this._fieldErrors??=[];for(var a=0;a<i.length;a++)this._fieldErrors.push(H(i[a]))}return r},t._asResult=function(e){return this._fieldErrors==null||this._fieldErrors.length===0?{ok:!0,value:e}:{errors:this._fieldErrors.map(function(e){switch(e.kind){case`relay_field_payload.error`:var t=e.error;return t.message,(0,a.default)(t,s);case`missing_expected_data.throw`:case`missing_expected_data.log`:return{path:e.fieldPath.split(`.`)};case`relay_resolver.error`:return{message:`Relay: Error in resolver for field at ${e.fieldPath} in ${e.owner}`};case`missing_required_field.throw`:return{message:`Relay: Missing @required value at path '${e.fieldPath}' in '${e.owner}'.`};case`missing_required_field.log`:return null;default:e.kind,z(!1)}}).filter(Boolean),ok:!1}},t._traverseSelections=function(e,t,n){for(var r=0;r<e.length;r++){var i=e[r];switch(i.kind){case`RequiredField`:var a=this._readClientSideDirectiveField(i,t,n);if(!this._handleRequiredFieldValue(i,a))return!1;break;case`CatchField`:var o=this._fieldErrors;this._fieldErrors=null;var s=this._readClientSideDirectiveField(i,t,n),c=i.field?.backingField??i.field,l=c?.alias??c?.name;l??z(!1),n[l]=this._catchErrors(s,i.to,o);break;case`ScalarField`:this._readScalar(i,t,n);break;case`LinkedField`:i.plural?this._readPluralLink(i,t,n):this._readLink(i,t,n);break;case`Condition`:if(!!this._getVariableValue(i.condition)===i.passingValue&&!this._traverseSelections(i.selections,t,n))return!1;break;case`InlineFragment`:if(this._readInlineFragment(i,t,n,!1)===!1)return!1;break;case`RelayLiveResolver`:case`RelayResolver`:this._useExecTimeResolvers?this._readScalar(i,t,n):this._readResolverField(i,t,n);break;case`FragmentSpread`:this._createFragmentPointer(i,t,n);break;case`AliasedInlineFragmentSpread`:this._readAliasedInlineFragment(i,t,n);break;case`ModuleImport`:this._readModuleImport(i,t,n);break;case`InlineDataFragmentSpread`:this._createInlineDataOrResolverFragmentPointer(i,t,n);break;case`Defer`:case`ClientExtension`:var u=this._isMissingData,d=this._missingClientEdges.length;this._clientEdgeTraversalPath.push(null);var f=this._traverseSelections(i.selections,t,n);if(this._isMissingData=u||this._missingClientEdges.length>d||this._missingLiveResolverFields.length>0,this._clientEdgeTraversalPath.pop(),!f)return!1;break;case`Stream`:if(!this._traverseSelections(i.selections,t,n))return!1;break;case`ActorChange`:this._readActorChange(i,t,n);break;case`ClientEdgeToClientObject`:case`ClientEdgeToServerObject`:if(this._useExecTimeResolvers&&(i.backingField.kind===`RelayResolver`||i.backingField.kind===`RelayLiveResolver`)){var p=i.linkedField;p.plural?this._readPluralLink(p,t,n):this._readLink(p,t,n)}else this._readClientEdge(i,t,n);break;default:z(!1)}}return!0},t._readClientSideDirectiveField=function(e,t,n){switch(e.field.kind){case`ScalarField`:return this._readScalar(e.field,t,n);case`LinkedField`:return e.field.plural?this._readPluralLink(e.field,t,n):this._readLink(e.field,t,n);case`RelayResolver`:case`RelayLiveResolver`:return this._useExecTimeResolvers?this._readScalar(e.field,t,n):this._readResolverField(e.field,t,n);case`ClientEdgeToClientObject`:case`ClientEdgeToServerObject`:if(this._useExecTimeResolvers&&(e.field.backingField.kind===`RelayResolver`||e.field.backingField.kind===`RelayLiveResolver`)){var r=e.field;return r.linkedField.plural?this._readPluralLink(r.linkedField,t,n):this._readLink(r.linkedField,t,n)}return this._readClientEdge(e.field,t,n);case`AliasedInlineFragmentSpread`:return this._readAliasedInlineFragment(e.field,t,n);default:e.field.kind,z(!1)}},t._readResolverField=function(e,t,n){var r=f.getDataID(t),i=this._fieldErrors;this._fieldErrors=null;var a=this._readResolverFieldImpl(e,r),o=e.alias??e.name;return this._prependPreviousErrors(i,o),n[o]=a,a},t._readResolverFieldImpl=function(e,t){var n=this,r=e.fragment,a,s=function(e){return a??=B(n._recordSource,e,null,n._resolverCache,void 0),{data:a.data,fieldErrors:a.fieldErrors,isMissingData:a.isMissingData}},c=this._resolverCache.readFromCacheOrEvaluate(t,e,this._variables,function(){if(r!=null){var c={__fragmentOwner:n._owner,__fragments:(0,i.default)({},r.name,r.args?T(r.args,n._variables):{}),__id:t};return n._clientEdgeTraversalPath.length>0&&n._clientEdgeTraversalPath[n._clientEdgeTraversalPath.length-1]!==null&&(c[m]=(0,o.default)(n._clientEdgeTraversalPath)),I({getDataForResolverFragment:s},function(){var t=U(e,n._variables,c,n._resolverContext),r=t[0];return{error:t[1],resolverResult:r,snapshot:a}})}var l=U(e,n._variables,null,n._resolverContext),u=l[0];return{error:l[1],resolverResult:u,snapshot:void 0}},s),l=c[0],u=c[1],d=c[2],f=c[3],p=c[4],h=c[5];return this._propagateResolverMetadata(e.path,f,d,u,p,h),l},t._propagateResolverMetadata=function(e,t,n,r,i,a){var o=this;if(t!=null){if(t.missingClientEdges!=null)for(var s=0;s<t.missingClientEdges.length;s++){var c=t.missingClientEdges[s];this._missingClientEdges.push(c)}if(t.missingLiveResolverFields!=null){this._isMissingData=this._isMissingData||t.missingLiveResolverFields.length>0;for(var l=0;l<t.missingLiveResolverFields.length;l++){var u=t.missingLiveResolverFields[l];this._missingLiveResolverFields.push(u)}}if(t.fieldErrors!=null){this._fieldErrors??=[];for(var d=0;d<t.fieldErrors.length;d++){var f=t.fieldErrors[d];this._selector.node.metadata?.throwOnFieldError===!0?this._fieldErrors.push(f):this._fieldErrors.push(H(f))}}this._isMissingData=this._isMissingData||t.isMissingData}if(n){var p={error:n,fieldPath:e,handled:!1,kind:`relay_resolver.error`,owner:this._fragmentName,shouldThrow:this._selector.node.metadata?.throwOnFieldError??!1,uiContext:void 0};this._fieldErrors==null?this._fieldErrors=[p]:this._fieldErrors.push(p)}r!=null&&this._seenRecords.add(r),i!=null&&(this._isMissingData=!0,this._missingLiveResolverFields.push(i)),a?.forEach(function(e){o._updatedDataIDs.add(e)})},t._readClientEdge=function(e,t,n){var r=this,i=e.backingField;i.kind===`ClientExtension`&&z(!1);var a=i.alias??i.name,o={};this._traverseSelections([i],t,o);var s=o[a];if(s==null||l(s))return n[a]=s,s;if(e.linkedField.plural){!Array.isArray(s)&&z(!1);var c;e.kind!==`ClientEdgeToClientObject`&&z(!1),c=e.backingField.normalizationInfo==null?s.map(function(t){var n=e.concreteType??t.__typename;typeof n!=`string`&&z(!1);var a=W(t,i.path,r._owner.identifier),o=r._resolverCache.ensureClientRecord(a,n),s=e.modelResolvers;if(s!=null){var c=s[n];return c===void 0&&z(!1),r._readResolverFieldImpl(c,o)==null?null:o}return o}):s.map(function(e){return W(e,i.path,r._owner.identifier)}),this._clientEdgeTraversalPath.push(null);var u=this._readLinkedIds(e.linkedField,c,t,n);return this._clientEdgeTraversalPath.pop(),n[a]=u,u}var d=W(s,i.path,this._owner.identifier),f,p=e.concreteType??s.__typename,m;e.kind===`ClientEdgeToClientObject`?e.backingField.normalizationInfo==null?(typeof p!=`string`&&z(!1),f=this._resolverCache.ensureClientRecord(d,p),m=null):(f=d,m=null):(f=d,m={clientEdgeDestinationID:d,readerClientEdge:e});var h=e.modelResolvers;if(h!=null){typeof p!=`string`&&z(!1);var g=h[p];if(g===void 0&&z(!1),this._readResolverFieldImpl(g,f)==null)return n[a]=null,null}this._clientEdgeTraversalPath.push(m);var _=n[a];_!=null&&typeof _!=`object`&&z(!1);var v=this._fieldErrors;this._fieldErrors=null;var y=this._traverse(e.linkedField,f,_);return this._prependPreviousErrors(v,a),this._clientEdgeTraversalPath.pop(),n[a]=y,y},t._readScalar=function(e,t,n){var r=e.alias??e.name,i=k(e,this._variables);this._fieldGranularNotificationDataID!=null&&this._seenRecords.add(E(this._fieldGranularNotificationDataID,i));var a=f.getValue(t,i);return a===null||c.ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS&&Array.isArray(a)&&a.length===0?this._maybeAddFieldErrors(t,i):a===void 0&&this._markDataAsMissing(r),n[r]=a,a},t._readLink=function(e,t,n){var r=e.alias??e.name,i=k(e,this._variables);this._fieldGranularNotificationDataID!=null&&this._seenRecords.add(E(this._fieldGranularNotificationDataID,i));var a=f.getLinkedRecordID(t,i);if(a==null)return n[r]=a,a===null?this._maybeAddFieldErrors(t,i):a===void 0&&this._markDataAsMissing(r),a;var o=n[r];o!=null&&typeof o!=`object`&&z(!1);var s=this._fieldErrors;this._fieldErrors=null;var c=this._traverse(e,a,o);return this._prependPreviousErrors(s,r),n[r]=c,c},t._prependPreviousErrors=function(e,t){if(this._fieldErrors!=null){for(var n=0;n<this._fieldErrors.length;n++){var r=this._fieldErrors[n];r.owner===this._fragmentName&&(r.kind===`missing_expected_data.throw`||r.kind===`missing_expected_data.log`||r.kind===`missing_required_field.throw`||r.kind===`missing_required_field.log`)&&(r.fieldPath=`${t}.${r.fieldPath}`)}if(e!=null){for(var i=this._fieldErrors.length-1;i>=0;i--)e.push(this._fieldErrors[i]);this._fieldErrors=e}}else this._fieldErrors=e},t._readActorChange=function(e,t,n){var r=e.alias??e.name,i=k(e,this._variables),a=f.getActorLinkedRecordID(t,i);if(a==null)return n[r]=a,a===void 0?this._markDataAsMissing(r):a===null&&this._maybeAddFieldErrors(t,i),n[r];var o=a[0],s=a[1],c={};return this._createFragmentPointer(e.fragmentSpread,f.fromObject({__id:s}),c),n[r]={__fragmentRef:c,__viewer:o},n[r]},t._readPluralLink=function(e,t,n){var r=k(e,this._variables);this._fieldGranularNotificationDataID!=null&&this._seenRecords.add(E(this._fieldGranularNotificationDataID,r));var i=f.getLinkedRecordIDs(t,r);return(i===null||c.ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS&&Array.isArray(i)&&i.length===0)&&this._maybeAddFieldErrors(t,r),this._readLinkedIds(e,i,t,n)},t._readLinkedIds=function(e,t,n,r){var i=this,a=e.alias??e.name;if(t==null)return r[a]=t,t===void 0&&this._markDataAsMissing(a),t;var o=r[a];!(o==null||Array.isArray(o))&&z(!1);var s=this._fieldErrors;this._fieldErrors=null;var c=o||[];return t.forEach(function(t,n){if(t==null)t===void 0&&i._markDataAsMissing(String(n)),c[n]=t;else{var r=c[n];r!=null&&typeof r!=`object`&&z(!1);var a=i._fieldErrors;i._fieldErrors=null,c[n]=i._traverse(e,t,r),i._prependPreviousErrors(a,n)}}),this._prependPreviousErrors(s,a),r[a]=c,c},t._readModuleImport=function(e,t,n){var r=D(e.documentName),i=f.getValue(t,r),a=i===void 0?e.componentModuleProvider:i;a==null?a===void 0&&this._markDataAsMissing(`<module-import>`):(this._createFragmentPointer({args:e.args,kind:`FragmentSpread`,name:e.fragmentName},t,n),n[v]=e.fragmentPropName,n[C]=a)},t._readAliasedInlineFragment=function(e,t,n){var r=this._fieldErrors;this._fieldErrors=null;var i=this._readInlineFragment(e.fragment,t,{},!0);return this._prependPreviousErrors(r,e.name),i===!1&&(i=null),n[e.name]=i,i},t._readInlineFragment=function(e,t,n,r){if(e.type==null){var i=this._traverseSelections(e.selections,t,n);return i!==!1&&n}var a=e.abstractKey;if(a==null){if(this._recordMatchesTypeCondition(t,e.type)){var i=this._traverseSelections(e.selections,t,n);if(!i)return!1}else return null}else{var o=this._implementsInterface(t,a);if(o===!1&&r)return null;var s=this._isMissingData,c=this._isWithinUnmatchedTypeRefinement;this._isWithinUnmatchedTypeRefinement=c||o===!1;var l=this._traverseSelections(e.selections,t,n);if(this._isWithinUnmatchedTypeRefinement=c,o===!1)return this._isMissingData=s,null;if(o==null)return;if(l===!1)return!1}return n},t._recordMatchesTypeCondition=function(e,t){var n=f.getType(e);return n!=null&&n===t||f.getDataID(e)===w},t._createFragmentPointer=function(e,t,n){var r=n[x];r??=n[x]={},(typeof r!=`object`||!r)&&z(!1),n[S]??(n[S]=f.getDataID(t));var i=T(e.args,this._variables,this._isWithinUnmatchedTypeRefinement);if(r[e.name]=i,n[_]=this._owner,this._clientEdgeTraversalPath.length>0&&this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]!==null&&(n[m]=(0,o.default)(this._clientEdgeTraversalPath)),c.ENABLE_READER_FRAGMENTS_LOGGING){var a;(a=this._log)==null||a.call(this,{name:`reader.fragmentSpread`,fragmentName:e.name,data:n})}},t._createInlineDataOrResolverFragmentPointer=function(e,t,n){var r=n[x];r??=n[x]={},(typeof r!=`object`||!r)&&z(!1),n[S]??(n[S]=f.getDataID(t));var i={},a=this._fragmentName;this._fragmentName=e.name;var o=this._variables,s=e.args?T(e.args,this._variables):{};this._variables=u.getFragmentVariables(e,this._owner.variables,s),this._traverseSelections(e.selections,t,i),this._variables=o,this._fragmentName=a,r[e.name]=i},t._implementsInterface=function(e,t){var n=f.getType(e),r=this._recordSource.get(R(n)),i=r==null?null:f.getValue(r,t);return i??this._markDataAsMissing(`<abstract-type-hint>`),i},e}();function H(e){switch(e.kind){case`missing_expected_data.throw`:case`missing_required_field.throw`:case`relay_field_payload.error`:case`relay_resolver.error`:return(0,r.default)((0,r.default)({},e),{},{handled:!0});case`missing_expected_data.log`:case`missing_required_field.log`:return e;default:e.kind,z(!1)}}function U(e,t,n,r){var i=typeof e.resolverModule==`function`?e.resolverModule:e.resolverModule.default,a=null,o=null;try{var s=[];e.fragment!=null&&s.push(n);var c=e.args?T(e.args,t):void 0;s.push(c),s.push(r),a=i.apply(null,s)}catch(e){a=null,e!==F&&(o=e)}return[a,o]}function W(e,t,n){if(typeof e==`string`)return e;if(typeof e==`object`&&e&&typeof e.id==`string`)return e.id;z(!1)}t.exports={read:B}})),ut=o(((e,t)=>{var n=h().default,r=n(C()),i=Ue(),a=et(),o=it(),s=P().getLocalVariables,c=X(),l=N(),u=Fe().generateTypeID,f=d(),p=l.getReadTimeResolverStorageKey,m=l.getStorageKey,g=l.getModuleOperationKey;function _(e,t,n,r,i,a){var o=t.dataID,s=t.node,c=t.variables;new v(e,c,n,r,i,a).mark(s,o)}var v=function(){function e(e,t,n,r,i,a){this._operationLoader=r??null,this._operationName=null,this._useExecTimeResolvers=a??!1,this._recordSource=e,this._references=n,this._variables=t,this._shouldProcessClientComponents=i}var t=e.prototype;return t.mark=function(e,t){(e.kind===`Operation`||e.kind===`SplitOperation`)&&(this._operationName=e.name),this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var n=this._recordSource.get(t);n!=null&&this._traverseSelections(e.selections,n)},t._getVariableValue=function(e){return!this._variables.hasOwnProperty(e)&&f(!1),this._variables[e]},t._traverseSelections=function(e,t){var n=this;e.forEach(function(r){switch(r.kind){case`ActorChange`:n._traverseLink(r.linkedField,t);break;case`LinkedField`:r.plural?n._traversePluralLink(r,t):n._traverseLink(r,t);break;case`Condition`:!!n._getVariableValue(r.condition)===r.passingValue&&n._traverseSelections(r.selections,t);break;case`InlineFragment`:if(r.abstractKey==null){var i=c.getType(t);(i!=null&&i===r.type||i===l.ROOT_TYPE)&&n._traverseSelections(r.selections,t)}else{var o=u(c.getType(t));n._references.add(o),n._traverseSelections(r.selections,t)}break;case`FragmentSpread`:var d=n._variables;n._variables=s(n._variables,r.fragment.argumentDefinitions,r.args),n._traverseSelections(r.fragment.selections,t),n._variables=d;break;case`LinkedHandle`:var p=a(r,e,n._variables);p.plural?n._traversePluralLink(p,t):n._traverseLink(p,t);break;case`Defer`:case`Stream`:n._traverseSelections(r.selections,t);break;case`ScalarField`:case`ScalarHandle`:break;case`TypeDiscriminator`:var m=u(c.getType(t));n._references.add(m);break;case`ModuleImport`:n._traverseModuleImport(r,t);break;case`ClientExtension`:n._traverseSelections(r.selections,t);break;case`ClientComponent`:if(n._shouldProcessClientComponents===!1)break;n._traverseSelections(r.fragment.selections,t);break;case`RelayResolver`:case`RelayLiveResolver`:n._traverseResolverField(r,t);break;case`ClientEdgeToClientObject`:n._traverseClientEdgeToClientObject(r,t);break;default:f(!1)}})},t._traverseClientEdgeToClientObject=function(e,t){if(this._useExecTimeResolvers)this._traverseLink(e.linkedField,t);else{var n=this._traverseResolverField(e.backingField,t);if(n!=null){var i=this._recordSource.get(n);if(i!=null){var a=e.linkedField;if(e.backingField.isOutputType){var s=o(i);if(s!=null){var l=(0,r.default)(s),u;try{for(l.s();!(u=l.n()).done;){var d=u.value;this._references.add(d),this._traverse(a,d)}}catch(e){l.e(e)}finally{l.f()}}}else{var f=a.concreteType;if(f==null)return;if(a.plural){var p=c.getResolverLinkedRecordIDs(i,f);if(p!=null){var m=(0,r.default)(p),h;try{for(m.s();!(h=m.n()).done;){var g=h.value;g!=null&&this._traverse(a,g)}}catch(e){m.e(e)}finally{m.f()}}}else{var _=c.getResolverLinkedRecordID(i,f);_!=null&&this._traverse(a,_)}}}}}},t._traverseResolverField=function(e,t){if(!this._useExecTimeResolvers){var n=p(e,this._variables),r=c.getLinkedRecordID(t,n);r!=null&&this._references.add(r);var i=e.fragment;return i!=null&&this._traverseSelections([i],t),r}},t._traverseModuleImport=function(e,t){var n=this._operationLoader;n===null&&f(!1);var r=g(e.documentName),a=c.getValue(t,r);if(a!=null){var o=n.get(a);if(o!=null){var l=i(o),u=this._variables;this._variables=s(this._variables,l.argumentDefinitions,e.args),this._traverseSelections(l.selections,t),this._variables=u}}},t._traverseLink=function(e,t){var n=m(e,this._variables),r=c.getLinkedRecordID(t,n);r!=null&&this._traverse(e,r)},t._traversePluralLink=function(e,t){var n=this,r=m(e,this._variables);c.getLinkedRecordIDs(t,r)?.forEach(function(t){t!=null&&n._traverse(e,t)})},e}();t.exports={mark:_}})),dt=o(((e,t)=>{var n=Symbol.iterator;function r(e,t){for(var r=e[n](),i=r.next();!i.done;){var a=i.value;if(t.has(a))return!0;i=r.next()}return!1}t.exports=r})),ft=o(((e,t)=>{var n=N().ROOT_ID,r=De().VIEWER_ID,i=Symbol.iterator;function a(e,t){for(var a=e[i](),o=a.next();!o.done;){var s=o.value;if(t.has(s)&&s!==n&&s!==r)return!0;o=a.next()}return!1}t.exports=a})),pt=o(((e,t)=>{ee();var n=Se(),r=j(),i=dt(),a=ft(),o=lt();t.exports=function(){function e(e,t,n){this._subscriptions=new Set,this._staleSubscriptions=new Set,this.__log=e,this._resolverCache=t,this._resolverContext=n}var t=e.prototype;return t.subscribe=function(e,t){var n=this,i={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(i),{dispose:function(){n._subscriptions.delete(i),r.OPTIMIZE_NOTIFY&&i.stale&&n._staleSubscriptions.delete(i)}}},t.snapshotSubscriptions=function(e){var t=this;this._subscriptions.forEach(function(r){if(!r.stale)r.backup=r.snapshot;else{var i=r.snapshot,a=o.read(e,i.selector,t.__log,t._resolverCache,t._resolverContext);a.data=n(i.data,a.data),r.backup=a}})},t.restoreSubscriptions=function(){var e=this;this._subscriptions.forEach(function(t){var n=t.backup;t.backup=null,n?(n.data!==t.snapshot.data&&(t.stale=!0,r.OPTIMIZE_NOTIFY&&e._staleSubscriptions.add(t)),t.snapshot={data:t.snapshot.data,fieldErrors:n.fieldErrors,isMissingData:n.isMissingData,missingClientEdges:n.missingClientEdges,missingLiveResolverFields:n.missingLiveResolverFields,seenRecords:n.seenRecords,selector:n.selector}):(t.stale=!0,r.OPTIMIZE_NOTIFY&&e._staleSubscriptions.add(t))})},t.updateSubscriptions=function(e,t,n,r){var i=this,a=t.size!==0;this._subscriptions.forEach(function(o){var s=i._updateSubscription(e,o,t,a,r);s!=null&&n.push(s)})},t.updateStaleSubscriptions=function(e,t,n,r){var i=this,a=t.size!==0;this._staleSubscriptions.forEach(function(o){var s=i._updateSubscription(e,o,t,a,r);s!=null&&n.push(s)})},t._updateSubscription=function(e,t,s,c,l){var u=t.backup,d=t.callback,f=t.snapshot,p=t.stale,m=c&&i(f.seenRecords,s);if(p||m){var h=m||!u?o.read(e,f.selector,this.__log,this._resolverCache,this._resolverContext):u;if(h={data:n(f.data,h.data),fieldErrors:h.fieldErrors,isMissingData:h.isMissingData,missingClientEdges:h.missingClientEdges,missingLiveResolverFields:h.missingLiveResolverFields,seenRecords:h.seenRecords,selector:h.selector},t.snapshot=h,t.stale=!1,r.OPTIMIZE_NOTIFY&&p&&this._staleSubscriptions.delete(t),h.data!==f.data)return this.__log&&r.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:`store.notify.subscription`,nextSnapshot:h,snapshot:f,sourceOperation:l}),d(h),f.selector.owner;if(r.ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION&&(p||a(f.seenRecords,s)))return f.selector.owner}},t.size=function(){return this._subscriptions.size},e}()})),mt=o(((e,t)=>{var n=h().default,r=n(C()),i=n(y()),a=Ne(),o=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,s=a.assertInternalActorIdentifier;ee();var c=j(),l=qe(),u=nt(),f=Oe(),p=ot(),m=p.LiveResolverCache,g=p.RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY,_=p.getUpdatedDataIDs,v=X(),b=st(),x=lt(),S=ut(),w=pt(),T=N(),E=N(),D=E.FIELD_GRANULAR_NOTIFICATIONS_KEY,O=E.ROOT_ID,k=E.ROOT_TYPE,A=E.getFieldNotificationKey,M=d(),P=10,F=function(){function e(e,t){var n=this;(0,i.default)(this,`_gcStep`,function(){n._gcRun&&(n._gcRun.next().done?n._gcRun=null:n._gcScheduler(n._gcStep))}),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=t?.gcReleaseBufferSize??P,this._shouldRetainWithinTTL_EXPERIMENTAL=t?.shouldRetainWithinTTL_EXPERIMENTAL??!1,this._gcRun=null,this._gcScheduler=t?.gcScheduler??l,this._getDataID=t?.getDataID??f,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=t?.log??null,this._queryCacheExpirationTime=t?.queryCacheExpirationTime,this._operationLoader=t?.operationLoader??null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new m(function(){return n._getMutableRecordSource()},this),this._resolverContext=t?.resolverContext,this._storeSubscriptions=new w(t?.log,this._resolverCache,this._resolverContext),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=t?.shouldProcessClientComponents??!1,this._treatMissingFieldsAsNull=t?.treatMissingFieldsAsNull??!1,this._deferDeduplicatedFields=t?.deferDeduplicatedFields??!1,this._actorIdentifier=t?.actorIdentifier,this._batch=null,I(this._recordSource)}var t=e.prototype;return t.getSource=function(){return this._optimisticSource??this._recordSource},t.getOperationLoader=function(){return this._operationLoader},t._getMutableRecordSource=function(){return this._optimisticSource??this._recordSource},t.getLiveResolverPromise=function(e){return this._resolverCache.getLiveResolverPromise(e)},t.batchLiveStateUpdates=function(e){this.__log!=null&&this.__log({name:`liveresolver.batch.start`});try{this._resolverCache.batchLiveStateUpdates(e)}finally{this.__log!=null&&this.__log({name:`liveresolver.batch.end`})}},t.experimental_batchUpdates=function(e){if(this._batch!=null)throw Error(`RelayModernStore: Cannot batch updates while already batching updates.`);var t=this.__log;t?.({name:`store.batch.start`});var n={sourceOperations:[],invalidateStore:!1};this._batch=n;try{e()}finally{this._batch=null,this.notify(void 0,n.invalidateStore);var i=(0,r.default)(n.sourceOperations),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;this._recordSourceOperation(o)}}catch(e){i.e(e)}finally{i.f()}t?.({name:`store.batch.complete`,sourceOperations:n.sourceOperations,invalidateStore:n.invalidateStore})}},t.batchLiveStateUpdatesWithoutNotify=function(e){this.__log!=null&&this.__log({name:`liveresolver.batch.start`});var t=!1;try{t=this._resolverCache.batchLiveStateUpdatesWithoutNotify(e)}finally{this.__log!=null&&this.__log({name:`liveresolver.batch.end`})}return t},t.check=function(e,t){var n=e.root,r=this._getMutableRecordSource(),i=this._globalInvalidationEpoch,a=e.request.node.operation.use_exec_time_resolvers??e.request.node.operation.exec_time_resolvers_enabled_provider?.get()===!0??!1,c=this._roots.get(e.request.identifier),l=c==null?null:c.epoch;if(i!=null&&(l==null||l<=i))return{status:`stale`};var d=t?.handlers??[],f=t?.getSourceForActor??function(e){return s(e),r},p=t?.getTargetForActor??function(e){return s(e),r};return R(u.check(f,p,t?.defaultActorIdentifier??o,n,d,this._operationLoader,this._getDataID,this._shouldProcessClientComponents,this.__log,a),l,c?.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,n=e.request.identifier,r=!1,i=function(){if(!r){r=!0;var e=t._roots.get(n);if(e!=null&&(e.refCount--,e.refCount===0)){var i=t._queryCacheExpirationTime;if(e.fetchTime!=null&&i!=null&&e.fetchTime<=Date.now()-i)t._shouldRetainWithinTTL_EXPERIMENTAL||t._roots.delete(n),t.scheduleGC();else if(t._releaseBuffer.push(n),t._releaseBuffer.length>t._gcReleaseBufferSize){var a=t._releaseBuffer.shift();t._shouldRetainWithinTTL_EXPERIMENTAL||t._roots.delete(a),t.scheduleGC()}}}},a=this._roots.get(n);return a==null?this._roots.set(n,{operation:e,refCount:1,epoch:null,fetchTime:null}):(a.refCount===0&&(this._releaseBuffer=this._releaseBuffer.filter(function(e){return e!==n})),a.refCount+=1),{dispose:i}},t.lookup=function(e){var t=this.__log;t?.({name:`store.lookup.start`,selector:e});var n=this.getSource(),r=x.read(n,e,t,this._resolverCache,this._resolverContext);return t?.({name:`store.lookup.end`,selector:e}),r},t.notify=function(e,t){var n=this,r=this._batch;if(r!=null)return e!=null&&r.sourceOperations.push(e),t===!0&&(r.invalidateStore=!0),[];var i=this.__log;i?.({name:`store.notify.start`,sourceOperation:e}),c.OPTIMIZE_NOTIFY||(this._currentWriteEpoch++,t===!0&&(this._globalInvalidationEpoch=this._currentWriteEpoch)),(!c.OPTIMIZE_NOTIFY||this._updatedRecordIDs.size>0)&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var a=this.getSource(),o=[];return!c.OPTIMIZE_NOTIFY||this._updatedRecordIDs.size>0?this._storeSubscriptions.updateSubscriptions(a,this._updatedRecordIDs,o,e):this._storeSubscriptions.updateStaleSubscriptions(a,this._updatedRecordIDs,o,e),c.OPTIMIZE_NOTIFY&&(this._updatedRecordIDs.size>0||o.length>0||this._invalidatedRecordIDs.size>0||t===!0||this._globalInvalidationEpoch===this._currentWriteEpoch)&&(this._currentWriteEpoch++,t===!0&&(this._globalInvalidationEpoch=this._currentWriteEpoch)),(!c.OPTIMIZE_NOTIFY||this._invalidatedRecordIDs.size>0||t===!0)&&this._invalidationSubscriptions.forEach(function(e){n._updateInvalidationSubscription(e,t===!0)}),e!=null&&this._recordSourceOperation(e),i?.({name:`store.notify.complete`,sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs,subscriptionsSize:this._storeSubscriptions.size(),updatedOwners:o}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),o},t._recordSourceOperation=function(e){var t=e.request.identifier,n=this._roots.get(t);if(n!=null)n.epoch=this._currentWriteEpoch,n.fetchTime=Date.now();else if(e.request.node.params.operationKind===`query`&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var r={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(t),this._roots.set(t,r)}},t.publish=function(e,t){var n=this._getMutableRecordSource();L(n,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var r=this.__log;r?.({name:`store.publish`,source:e,optimistic:n===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;return this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++,{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,e._gcHoldCounter===0&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return`RelayModernStore()`},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,n=new Map;return e.forEach(function(e){var r=t.getSource().get(e);n.set(e,v.getInvalidationEpoch(r)??null)}),n.set(`global`,this._globalInvalidationEpoch),{dataIDs:e,invalidations:n}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,n=e.invalidations;if(t.get(`global`)!==n.get(`global`))return!0;var i=(0,r.default)(e.dataIDs),a;try{for(i.s();!(a=i.n()).done;){var o=a.value;if(t.get(o)!==n.get(o))return!0}}catch(e){i.e(e)}finally{i.f()}return!1},t.subscribeToInvalidationState=function(e,t){var n=this,r={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(r),{dispose:function(){n._invalidationSubscriptions.delete(r)}}},t._updateInvalidationSubscription=function(e,t){var n=this,r=e.callback,i=e.invalidationState.dataIDs;(t||i.some(function(e){return n._invalidatedRecordIDs.has(e)}))&&r()},t.snapshot=function(){this._optimisticSource!=null&&M(!1);var e=this.__log;e?.({name:`store.snapshot`}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=b.create(this.getSource())},t.restore=function(){var e=this._optimisticSource;!e&&M(!1);var t=this.__log;t?.({name:`store.restore`});var n=b.getOptimisticRecordIDs(e);this._resolverCache.unsubscribeFromLiveResolverRecords(n),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions(),this._resolverCache.invalidateResolverRecords(n)},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(this._optimisticSource==null)for(var e=this._collect();!e.next().done;);},t._collect=function*(){if(!(this._shouldRetainWithinTTL_EXPERIMENTAL&&this._queryCacheExpirationTime==null)){var e=this.__log;top:for(;;){e?.({name:`store.gc.start`});var t=this._currentWriteEpoch,n=new Set,i=(0,r.default)(this._roots.entries()),a;try{for(i.s();!(a=i.n()).done;){var o=a.value,s=o[0],c=o[1],l=c.operation,u=c.refCount,d=c.fetchTime;if(this._shouldRetainWithinTTL_EXPERIMENTAL){var f=this._queryCacheExpirationTime;if(f??M(!1),(d==null||d<=Date.now()-f)&&u===0&&!this._releaseBuffer.includes(s))continue}var p=l.root,m=l.request.node.operation.use_exec_time_resolvers??l.request.node.operation.exec_time_resolvers_enabled_provider?.get()===!0??!1;if(S.mark(this._recordSource,p,n,this._operationLoader,this._shouldProcessClientComponents,m),yield,t!==this._currentWriteEpoch){e?.({name:`store.gc.interrupted`});continue top}}}catch(e){i.e(e)}finally{i.f()}for(var h=this._recordSource.getRecordIDs(),_=0;_<h.length;_++){var y=h[_];if(!n.has(y)){var b=this._recordSource.get(y);b!=null&&v.getValue(b,g)?.(),this._recordSource.remove(y),this._shouldRetainWithinTTL_EXPERIMENTAL&&this._roots.delete(y)}}e?.({name:`store.gc.end`,references:n});return}}},t.__getNormalizationOptions=function(e){return{path:e,getDataID:this._getDataID,log:this.__log,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,deferDeduplicatedFields:this._deferDeduplicatedFields,shouldProcessClientComponents:this._shouldProcessClientComponents,actorIdentifier:this._actorIdentifier}},t.__notifyUpdatedSubscribers=function(e){var t=_(e),n=this._updatedRecordIDs;this._updatedRecordIDs=t,this.notify(),this._updatedRecordIDs=n},e}();function I(e){if(!e.has(O)){var t=v.create(O,k);c.ENABLE_FIELD_GRANULAR_NOTIFICATIONS&&v.setValue(t,D,!0),e.set(O,t)}}function L(e,t,n,r,i,a){r&&r.forEach(function(r){var i=e.get(r),o=t.get(r);if(o!==null){var s=i==null?o==null?null:v.clone(o):v.clone(i);s&&(v.setValue(s,T.INVALIDATED_AT_KEY,n),a.add(r),e.set(r,s))}});for(var o=t.getRecordIDs(),s=0;s<o.length;s++){var c=o[s],l=t.get(c),u=e.get(c);if(l&&u){var d=v.update(u,l);if(d!==u&&(i.add(c),e.set(c,d),v.getValue(d,D)))for(var f=v.getFields(d),p=0;p<f.length;p++){var m=f[p];m.startsWith(`__`)||v.hasFieldChanged(u,d,m)&&i.add(A(c,m))}}else l===null?(e.delete(c),u!==null&&i.add(c)):l&&(e.set(c,l),i.add(c))}}function R(e,t,n,r){var i=e.mostRecentlyInvalidatedAt,a=e.status;return typeof i==`number`&&(t==null||i>t)?{status:`stale`}:a===`missing`?{status:`missing`}:n!=null&&r!=null&&n<=Date.now()-r?{status:`stale`}:{status:`available`,fetchTime:n??null}}t.exports=F})),ht=o(((e,t)=>{var n=N(),r=n.ROOT_TYPE,i=n.getStorageKey,a=Xe().readUpdatableFragment,o=Ze().readUpdatableQuery,s=d();t.exports=function(){function e(e,t,n,r){this.__mutator=e,this.__recordSource=t,this._readSelector=n,this._missingFieldHandlers=r}var t=e.prototype;return t.create=function(e,t){return this.__recordSource.create(e,t)},t.delete=function(e){this.__recordSource.delete(e)},t.get=function(e){return this.__recordSource.get(e)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var e=this.__recordSource.get(this._readSelector.dataID);return e||=this.__recordSource.create(this._readSelector.dataID,r),e},t._getRootField=function(e,t,n){var r=e.node.selections.find(function(e){return e.kind===`LinkedField`&&e.name===t||e.kind===`RequiredField`&&e.field.name===t});return r&&r.kind===`RequiredField`&&(r=r.field),!(r&&r.kind===`LinkedField`)&&s(!1),r.plural!==n&&s(!1),r},t.getRootField=function(e){var t=i(this._getRootField(this._readSelector,e,!1),this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(t)},t.getPluralRootField=function(e){var t=i(this._getRootField(this._readSelector,e,!0),this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(t)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery=function(e,t){return o(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(e,t){return a(e,t,this,this._missingFieldHandlers)},e}()})),gt=o(((e,t)=>{var n=Je(),r=$e(),i=ht(),a=j(),o=lt(),s=Z(),c=d();p();var l=(typeof global<`u`?global:typeof window<`u`?window:void 0)?.ErrorUtils?.applyWithGuard??function(e,t,n,r,i){return e.apply(t,n)},u=function(){function e(e,t,n,r,i){this._hasStoreSnapshot=!1,this._handlerProvider=t||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=n,this._missingFieldHandlers=r,this._log=i}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1),this._pendingOptimisticUpdates.add(e)},t.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(e,t,n){this._pendingBackupRebase=!0,this._pendingData.add({kind:`payload`,operation:e,payload:t,updater:n})},t.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:`updater`,updater:e})},t.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:`source`,source:e})},t.run=function(e){var t=this._appliedOptimisticUpdates===0&&!!this._gcHold,n=!this._pendingBackupRebase&&this._pendingOptimisticUpdates.size===0&&!t;if(a.DISALLOW_NESTED_UPDATES&&this._isRunning===!0&&c(!1),this._isRunning=!0,n)return this._isRunning=!1,[];this._pendingBackupRebase&&(this._hasStoreSnapshot&&=(this._store.restore(),!1));var r=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||=(this._store.snapshot(),!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||=this._store.holdGC():this._gcHold&&=(this._gcHold.dispose(),null),this._isRunning=!1,this._store.notify(e,r)},t._publishSourceFromPayload=function(e){var t=this,a=e.payload,o=e.operation,s=e.updater,l=a.source,u=a.fieldPayloads,d=new n(this._store.getSource(),l),p=new r(d,this._getDataID,this._handlerProvider,this._missingFieldHandlers,this._log);if(u&&u.length&&u.forEach(function(e){var n=t._handlerProvider&&t._handlerProvider(e.handle);!n&&c(!1),n.update(p,e)}),s){var m=o.fragment;m??c(!1),s(new i(d,p,m,this._missingFieldHandlers),f(l,m))}var h=p.getIDsMarkedForInvalidation();return this._store.publish(l,h),p.isStoreMarkedForInvalidation()},t._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var t=!1;return this._pendingData.forEach(function(i){if(i.kind===`payload`){var a=e._publishSourceFromPayload(i);t||=a}else if(i.kind===`source`){var o=i.source;e._store.publish(o)}else{var c=i.updater,u=s.create(),d=new r(new n(e._store.getSource(),u),e._getDataID,e._handlerProvider,e._missingFieldHandlers,e._log);l(c,null,[d],null,`RelayPublishQueue:commitData`),t||=d.isStoreMarkedForInvalidation();var f=d.getIDsMarkedForInvalidation();e._store.publish(u,f)}}),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=s.create(),a=new n(this._store.getSource(),t),o=new r(a,this._getDataID,this._handlerProvider,this._missingFieldHandlers,this._log),c=function(t){if(t.storeUpdater){var n=t.storeUpdater;l(n,null,[o],null,`RelayPublishQueue:applyUpdates`)}else{var r=t.operation,s=t.payload,c=t.updater,u=s.source,d=s.fieldPayloads;if(u&&o.publishSource(u,d),c){var p;u&&(p=f(u,r.fragment)),l(c,null,[new i(a,o,r.fragment,e._missingFieldHandlers),p],null,`RelayPublishQueue:applyUpdates`)}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(c),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach(function(t){c(t),e._appliedOptimisticUpdates.add(t)}),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function f(e,t){return o.read(e,t,null,void 0,void 0).data}t.exports=u})),_t=o(((e,t)=>{var n=h().default,r=n(b()),i=oe(),a=Ne(),o=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,s=a.assertInternalActorIdentifier,c=V(),l=$(),u=Be(),f=Ve(),p=Oe(),m=He(),g=Le(),_=Ke(),v=mt(),y=gt(),x=Z(),S=d(),C=function(){function e(e){var t=this;this.configName=e.configName,this._treatMissingFieldsAsNull=e.treatMissingFieldsAsNull===!0,this._deferDeduplicatedFields=e.deferDeduplicatedFields===!0;var n=e.operationLoader,r=e.store??new v(new x,{getDataID:e.getDataID,log:e.log,operationLoader:e.operationLoader,shouldProcessClientComponents:e.shouldProcessClientComponents});this.__log=e.log??T,this.relayFieldLogger=e.relayFieldLogger??m,this._defaultRenderPolicy=e.UNSTABLE_defaultRenderPolicy??`partial`,this._operationLoader=n,this._operationExecutions=new Map,this._network=l(this,e.network),this._getDataID=e.getDataID??p,this._missingFieldHandlers=e.missingFieldHandlers??[],this._publishQueue=new y(r,e.handlerProvider??i,this._getDataID,this._missingFieldHandlers,this.__log),this._scheduler=e.scheduler??null,this._store=r,this.options=e.options,this._isServer=e.isServer??!1,this._normalizeResponse=e.normalizeResponse??g,this.__setNet=function(e){return t._network=l(t,e)},this._operationTracker=e.operationTracker??new u,this._shouldProcessClientComponents=e.shouldProcessClientComponents,f(this)}var t=e.prototype;return t.getStore=function(){return this._store},t.getNetwork=function(){return this._network},t.getOperationTracker=function(){return this._operationTracker},t.getScheduler=function(){return this._scheduler},t.isRequestActive=function(e){return this._operationExecutions.get(e)===`active`},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(e){var t=this;return this._scheduleUpdates(function(){t._publishQueue.applyUpdate(e),t._publishQueue.run()}),{dispose:function(){t._scheduleUpdates(function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()})}}},t.revertUpdate=function(e){var t=this;this._scheduleUpdates(function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()})},t.replaceUpdate=function(e,t){var n=this;this._scheduleUpdates(function(){n._publishQueue.revertUpdate(e),n._publishQueue.applyUpdate(t),n._publishQueue.run()})},t.applyMutation=function(e){var t=this._execute({createSource:function(){return c.create(function(e){})},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},t.check=function(e){return this._missingFieldHandlers.length===0&&!w(e)?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},t.commitPayload=function(e,t){this._execute({createSource:function(){return c.from({data:t})},isClientPayload:!0,operation:e,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(e){var t=this;this._scheduleUpdates(function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()})},t.lookup=function(e){return this._store.lookup(e)},t.subscribe=function(e,t){return this._store.subscribe(e,t)},t.retain=function(e){return this._store.retain(e)},t.experimental_batchUpdates=function(e){var t=this._store.experimental_batchUpdates;typeof t!=`function`&&S(!1),t.call(this._store,e)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(e,t){var n=this,r=x.create(),i=this._store.getSource(),a=this._store.check(e,{defaultActorIdentifier:o,getSourceForActor:function(e){return s(e),i},getTargetForActor:function(e){return s(e),r},handlers:t});return r.size()>0&&this._scheduleUpdates(function(){n._publishQueue.commitSource(r),n._publishQueue.run()}),a},t._scheduleUpdates=function(e){var t=this._scheduler;t==null?e():t.schedule(e)},t.execute=function(e){var t=this,n=e.operation;return this._execute({createSource:function(){return t.getNetwork().execute(n.request.node.params,n.request.variables,n.request.cacheConfig||{},null,void 0,void 0,void 0,function(){return t.check(n)})},isClientPayload:!1,operation:n,optimisticConfig:null,updater:null})},t.executeSubscription=function(e){var t=this,n=e.operation,r=e.updater;return this._execute({createSource:function(){return t.getNetwork().execute(n.request.node.params,n.request.variables,n.request.cacheConfig||{},null)},isClientPayload:!1,operation:n,optimisticConfig:null,updater:r})},t.executeMutation=function(e){var t=this,n=e.operation,i=e.optimisticResponse,a=e.optimisticUpdater,o=e.updater,s=e.uploadables,c;return(i||a)&&(c={operation:n,response:i,updater:a}),this._execute({createSource:function(){return t.getNetwork().execute(n.request.node.params,n.request.variables,(0,r.default)((0,r.default)({},n.request.cacheConfig),{},{force:!0}),s)},isClientPayload:!1,operation:n,optimisticConfig:c,updater:o})},t.executeWithSource=function(e){var t=e.operation,n=e.source;return this._execute({createSource:function(){return n},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},t.toJSON=function(){return`RelayModernEnvironment(${this.configName??``})`},t._execute=function(e){var t=this,n=e.createSource,r=e.isClientPayload,i=e.operation,a=e.optimisticConfig,l=e.updater,u=this._publishQueue,d=this._store;return c.create(function(e){var c=_.execute({actorIdentifier:o,getDataID:t._getDataID,getPublishQueue:function(e){return s(e),u},getStore:function(e){return s(e),d},isClientPayload:r,log:t.__log,normalizeResponse:t._normalizeResponse,operation:i,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:a,scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:n(),treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,deferDeduplicatedFields:t._deferDeduplicatedFields,updater:l});return function(){return c.cancel()}})},e}();function w(e){return e.root.node.kind===`Operation`&&e.root.node.clientAbstractTypes!=null}C.prototype[`@@RelayModernEnvironment`]=!0;function T(){}t.exports=C})),vt=o(((e,t)=>{var n=ce(),r=m().getRequest,i=G().createOperationDescriptor,a=I().createReaderSelector;p();function o(e,t){var o=r(t.subscription);if(o.params.operationKind!==`subscription`)throw Error(`requestSubscription: Must use Subscription operation`);var s=t.configs,c=t.onCompleted,l=t.onError,u=t.onNext,d=t.variables,f=t.cacheConfig,p=i(o,d,f),m=(s?n.convert(s,o,null,t.updater):t).updater;return{dispose:e.executeSubscription({operation:p,updater:m}).subscribe({complete:c,error:l,next:function(t){if(u!=null){var n=p.fragment,r=Array.isArray(t)?t[0]?.extensions?.__relay_subscription_root_id:t.extensions?.__relay_subscription_root_id;typeof r==`string`&&(n=a(n.node,r,n.variables,n.owner));var i=e.lookup(n).data;u(i)}}}).unsubscribe}}t.exports=o})),yt=o(((e,t)=>{var n=h().default,r=n(b()),i=N(),a=i.getModuleComponentKey,o=i.getModuleOperationKey;function s(e,t,n,i){var s=(0,r.default)({},i);return s[a(e)]=n,s[o(e)]=t,s}t.exports=s})),bt=o(((e,t)=>{var n=Object.prototype.hasOwnProperty;function r(e){for(var t in e)if(n.call(e,t))return!1;return!0}t.exports=r})),xt=o(((e,t)=>{var n=I(),r=n.getDataIDsFromFragment,i=n.getSelector,a=n.getVariablesFromFragment,o=bt(),s=j(),c=M().stableCopy,l=J().intern;function u(e,t){var n=i(e,t),u=n==null?`null`:n.kind===`SingularReaderSelector`?n.owner.identifier:`[`+n.selectors.map(function(e){return e.owner.identifier}).join(`,`)+`]`,d=a(e,t),f=r(e,t);if(s.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var p=f===void 0?`missing`:f==null?`null`:Array.isArray(f)?`[`+f.join(`,`)+`]`:f;return p=s.STRING_INTERN_LEVEL<=1?p:l(p,s.MAX_DATA_ID_LENGTH),u+`/`+e.name+`/`+(d==null||o(d)?`{}`:JSON.stringify(c(d)))+`/`+p}var m=JSON.stringify(f)??`missing`;return m=s.STRING_INTERN_LEVEL<=1?m:l(m,s.MAX_DATA_ID_LENGTH),u+`/`+e.name+`/`+JSON.stringify(c(d))+`/`+m}t.exports=u})),St=o(((e,t)=>{var n=d();function r(e,t){e.metadata?.plural===!0&&n(!1);var r=e.metadata?.refetch;r??n(!1);var i=r.operation.default?r.operation.default:r.operation,a=r.fragmentPathInResult;typeof i==`string`&&n(!1);var o=r.identifierInfo;return o!=null&&(o.identifierField!=null&&typeof o.identifierField!=`string`&&n(!1),o.identifierQueryVariableName!=null&&typeof o.identifierQueryVariableName!=`string`&&n(!1)),{fragmentRefPathInResponse:a,identifierInfo:o,refetchableRequest:i,refetchMetadata:r}}t.exports=r})),Ct=o(((e,t)=>{var n=St(),r=d();function i(e,t){var i=n(e,t),a=i.refetchableRequest,o=i.refetchMetadata,s=o.connection;s??r(!1);var c=s.path,l=(e.metadata?.connection??[])[0];l??r(!1);var u=o.identifierInfo;return u?.identifierField!=null&&typeof u.identifierField!=`string`&&r(!1),{connectionPathInFragmentData:c,identifierField:u?.identifierField,paginationRequest:a,paginationMetadata:s,stream:l.stream===!0}}t.exports=i})),wt=o(((e,t)=>{var n=h().default,r=n(y()),i=n(b()),a=d();p();function o(e,t,n,o,s,c){var l,u=c.backward,d=c.forward;if(e===`backward`){var f;(u==null||u.count==null||u.cursor==null)&&a(!1);var p=(0,i.default)((0,i.default)((0,i.default)({},o),s),{},(f={},(0,r.default)(f,u.cursor,n),(0,r.default)(f,u.count,t),f));return d&&d.cursor&&(p[d.cursor]=null),d&&d.count&&(p[d.count]=null),p}(d==null||d.count==null||d.cursor==null)&&a(!1);var m=(0,i.default)((0,i.default)((0,i.default)({},o),s),{},(l={},(0,r.default)(l,d.cursor,n),(0,r.default)(l,d.count,t),l));return u&&u.cursor&&(m[u.cursor]=null),u&&u.count&&(m[u.count]=null),m}t.exports=o})),Tt=o(((e,t)=>{var n=h().default,r=n(C()),i=d();function a(e,t){var n=e,a=(0,r.default)(t),o;try{for(a.s();!(o=a.n()).done;){var s=o.value;if(n==null)return null;typeof s==`number`?(!Array.isArray(n)&&i(!1),n=n[s]):((typeof n!=`object`||Array.isArray(n))&&i(!1),n=n[s])}}catch(e){a.e(e)}finally{a.f()}return n}t.exports=a})),Et=o(((e,t)=>{var n={},r={stop:function(){}},i={profile:function(e,t){var i=n[e];if(i&&i.length>0){for(var a=[],o=i.length-1;o>=0;o--){var s=i[o](e,t);a.unshift(s)}return{stop:function(e){a.forEach(function(t){return t(e)})}}}return r},attachProfileHandler:function(e,t){n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)},detachProfileHandler:function(e,t){n.hasOwnProperty(e)&&a(n[e],t)}};function a(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1)}t.exports=i})),Dt=o(((e,t)=>{var n=ne(),r=n.isErrorResult,i=n.isValueResult,a=ie(),o=re(),s=ae(),c=oe(),l=le(),d=ue(),f=fe(),p=ce(),h=he(),g=V(),_=ge(),v=_e(),y=ve(),b=U(),x=m(),S=ye(),C=Y(),T=C.generateClientID,E=C.generateUniqueClientID,D=C.isClientID,O=we(),F=Te(),R=Ee(),z=Oe(),W=se(),K=ke(),q=K.isSuspenseSentinel,J=K.suspenseSentinel,de=je(),me=Le(),Ce=Re(),Ae=P(),Me=_t(),Ne=G(),Pe=X(),Q=I(),Fe=mt(),Ie=Be(),ze=Z(),$=N(),Ve=L(),He=De(),Ue=vt(),Ge=yt(),Ke=ee(),qe=xt(),Je=Ct(),Ye=wt(),Xe=be(),Ze=St(),Qe=A(),$e=te(),et=Tt(),tt=w().handlePotentialSnapshotErrors,nt=B(),rt=xe(),it=Se(),at=u(),ot=k(),st=We(),ct=j(),lt=Et(),ut=H(),dt=M(),ft=dt.hasCycle,pt=dt.stableCopy,ht=pe(),gt=Q.areEqualSelectors,bt=Q.createNormalizationSelector,Dt=Q.createReaderSelector,Ot=Q.getDataIDsFromFragment,kt=Q.getDataIDsFromObject,At=Q.getPluralSelector,jt=Q.getSelector,Mt=Q.getSelectorsFromObject,Nt=Q.getSingularSelector,Pt=Q.getVariablesFromFragment,Ft=Q.getVariablesFromObject,It=Q.getVariablesFromPluralFragment,Lt=Q.getVariablesFromSingularFragment,Rt=Ne.createOperationDescriptor,zt=Ne.createRequestDescriptor,Bt=$.getArgumentValues,Vt=$.getModuleComponentKey,Ht=$.getModuleOperationKey,Ut=$.getStorageKey,Wt=$.FRAGMENTS_KEY,Gt=$.FRAGMENT_OWNER_KEY,Kt=$.ID_KEY,qt=$.REF_KEY,Jt=$.REFS_KEY,Yt=$.ROOT_ID,Xt=$.ROOT_TYPE,Zt=$.TYPENAME_KEY,Qt=x.getNode,$t=x.getFragment,en=x.getInlineDataFragment,tn=x.getPaginationFragment,nn=x.getRefetchableFragment,rn=x.getRequest,an=x.graphql,on=x.isFragment,sn=x.isInlineDataFragment,cn=x.isRequest,ln=Ve.readFragment,un=ot.DEFAULT_HANDLE_KEY;t.exports={Environment:Me,Network:h,Observable:g,QueryResponseCache:_,RecordSource:ze,Record:Pe,ReplaySubject:ut,Store:Fe,areEqualSelectors:gt,createFragmentSpecResolver:O,createNormalizationSelector:bt,createOperationDescriptor:Rt,createReaderSelector:Dt,createRequestDescriptor:zt,getArgumentValues:Bt,getDataIDsFromFragment:Ot,getDataIDsFromObject:kt,getNode:Qt,getFragment:$t,getInlineDataFragment:en,getModuleComponentKey:Vt,getModuleOperationKey:Ht,getPaginationFragment:tn,getPluralSelector:At,getRefetchableFragment:nn,getRequest:rn,getRequestIdentifier:$e,getSelector:jt,getSelectorsFromObject:Mt,getSingularSelector:Nt,getStorageKey:Ut,getVariablesFromFragment:Pt,getVariablesFromObject:Ft,getVariablesFromPluralFragment:It,getVariablesFromSingularFragment:Lt,handlePotentialSnapshotErrors:tt,graphql:an,isErrorResult:r,isValueResult:i,isFragment:on,isInlineDataFragment:sn,isSuspenseSentinel:q,suspenseSentinel:J,isRequest:cn,readInlineData:Ce,readFragment:ln,MutationTypes:p.MutationTypes,RangeOperations:p.RangeOperations,DefaultHandlerProvider:c,ConnectionHandler:a,MutationHandlers:s,VIEWER_ID:He.VIEWER_ID,VIEWER_TYPE:He.VIEWER_TYPE,applyOptimisticMutation:l,commitLocalUpdate:d,commitMutation:f,fetchQuery:v,fetchQuery_DEPRECATED:y,isRelayModernEnvironment:W,requestSubscription:Ue,ConnectionInterface:o,PreloadableQueryRegistry:S,RelayProfiler:lt,createPayloadFor3DField:Ge,RelayConcreteNode:at,RelayError:st,RelayFeatureFlags:ct,DEFAULT_HANDLE_KEY:un,FRAGMENTS_KEY:Wt,FRAGMENT_OWNER_KEY:Gt,ID_KEY:Kt,REF_KEY:qt,REFS_KEY:Jt,ROOT_ID:Yt,ROOT_TYPE:Xt,TYPENAME_KEY:Zt,deepFreeze:Ke,generateClientID:T,generateUniqueClientID:E,getRelayHandleKey:Qe,isClientID:D,isPromise:nt,isScalarAndEqual:rt,recycleNodesInto:it,stableCopy:pt,hasCycle:ft,getFragmentIdentifier:qe,getRefetchMetadata:Ze,getPaginationMetadata:Je,getPaginationVariables:Ye,getPendingOperationsForFragment:Xe,getValueAtPath:et,__internal:{ResolverFragments:Ve,OperationTracker:Ie,createRelayContext:F,createRelayLoggingContext:R,defaultGetDataID:z,getOperationVariables:Ae.getOperationVariables,getLocalVariables:Ae.getLocalVariables,fetchQuery:b.fetchQuery,fetchQueryDeduped:b.fetchQueryDeduped,getPromiseForActiveRequest:b.getPromiseForActiveRequest,getObservableForActiveRequest:b.getObservableForActiveRequest,NormalizationEngine:de,normalizeResponse:me,withProvidedVariables:ht}}})),Ot=o(((e,t)=>{t.exports=Dt()}));export{l as a,s as i,ne as n,o as r,Ot as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$ as e,F as t,G as n,H as r,I as i,J as a,N as o,Q as s,Y as c,et as l,j as u,k as d,z as f}from"./web-BjwKY0xb.js";function p(){let e=new Set;function t(t){return e.add(t),()=>e.delete(t)}let n=!1;function r(t,r){if(n)return!(n=!1);let i={to:t,options:r,defaultPrevented:!1,preventDefault:()=>i.defaultPrevented=!0};for(let a of e)a.listener({to:t,options:r,get defaultPrevented(){return i.defaultPrevented},preventDefault:i.preventDefault,from:a.location,retry:e=>{e&&(n=!0),a.navigate(t,{...r,resolve:!1})}});return!i.defaultPrevented}return{subscribe:t,confirm:r}}var m;function h(){(!window.history.state||window.history.state._depth==null)&&window.history.replaceState({...window.history.state,_depth:window.history.length-1},``),m=window.history.state._depth}h();function g(e){return{...e,_depth:window.history.state&&window.history.state._depth}}function _(e,t){let n=!1;return()=>{let r=m;h();let i=r==null?null:m-r;n?n=!1:i&&t(i)?(n=!0,window.history.go(-i)):e()}}var v=/^(?:[a-z0-9]+:)?\/\//i,y=/^\/+|(\/)\/+$/g,b=`http://sr`;function x(e,t=!1){let n=e.replace(y,`$1`);return n?t||/^[?#]/.test(n)?n:`/`+n:``}function S(e,t,n){if(v.test(t))return;let r=x(e),i=n&&x(n),a=``;return a=!i||t.startsWith(`/`)?r:i.toLowerCase().indexOf(r.toLowerCase())===0?i:r+i,(a||`/`)+x(t,!a)}function C(e,t){if(e==null)throw Error(t);return e}function w(e,t){return x(e).replace(/\/*(\*.*)?$/g,``)+x(t)}function T(e){let t={};return e.searchParams.forEach((e,n)=>{n in t?Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]:t[n]=e}),t}function E(e,t,n){let[r,i]=e.split(`/*`,2),a=r.split(`/`).filter(Boolean),o=a.length;return e=>{let r=e.split(`/`);if(r[0]===``&&r.shift(),r.length&&r[r.length-1]===``&&r.pop(),r.includes(``))return null;let s=r.length-o;if(s<0||s>0&&i===void 0&&!t)return null;let c={path:o?``:`/`,params:{}},l=e=>n===void 0?void 0:n[e];for(let e=0;e<o;e++){let t=a[e],n=t[0]===`:`,i=n?r[e]:r[e].toLowerCase(),o=n?t.slice(1):t.toLowerCase();if(n&&D(i,l(o)))c.params[o]=i;else if(n||!D(i,o))return null;c.path+=`/${i}`}if(i){let e=s?r.slice(-s).join(`/`):``;if(D(e,l(i)))c.params[i]=e;else return null}return c}}function D(e,t){let n=t=>t===e;return t===void 0?!0:typeof t==`string`?n(t):typeof t==`function`?t(e):Array.isArray(t)?t.some(n):t instanceof RegExp&&t.test(e)}function O(e){let[t,n]=e.pattern.split(`/*`,2),r=t.split(`/`).filter(Boolean);return r.reduce((e,t)=>e+(t.startsWith(`:`)?2:3),r.length-(n===void 0?0:1))}function k(e){let n=new Map,i=r();return new Proxy({},{get(r,a){return n.has(a)||c(i,()=>n.set(a,t(()=>e()[a]))),n.get(a)()},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},ownKeys(){return Reflect.ownKeys(e())},has(t,n){return n in e()}})}function A(e,t){let n=new URLSearchParams(e);Object.entries(t).forEach(([e,t])=>{t==null||t===``||t instanceof Array&&!t.length?n.delete(e):t instanceof Array?(n.delete(e),t.forEach(t=>{n.append(e,String(t))})):n.set(e,String(t))});let r=n.toString();return r?`?${r}`:``}function j(e){let t=/(\/?\:[^\/]+)\?/.exec(e);if(!t)return[e];let n=e.slice(0,t.index),r=e.slice(t.index+t[0].length),i=[n,n+=t[1]];for(;t=/^(\/\:[^\/]+)\?/.exec(r);)i.push(n+=t[1]),r=r.slice(t[0].length);return j(r).reduce((e,t)=>[...e,...i.map(e=>e+t)],[])}function M(e,t){return Object.defineProperty(e,"name",{value:t,writable:!1,configurable:!1}),e}var N=100,P=o(),F=o(),I=()=>C(l(P),`<A> and 'use' router primitives can be only used inside a Route.`),L=()=>l(F)||I().base,R=e=>{let n=L();return t(()=>n.resolvePath(e()))},z=e=>{let n=I();return t(()=>{let t=e();return t===void 0?t:n.renderPath(t)})},B=()=>I().navigatorFactory(),V=()=>I().location,H=()=>I().params,U=()=>{let t=I(),n=t.location,r=B();return[n.query,(i,a)=>{let o=e(()=>{let e=t.pendingTarget&&new URL(t.pendingTarget.value,`http://sr`),r=e?e.pathname:n.pathname,a=e?e.search:n.search,o=e?e.hash:n.hash;return r+A(a,i)+o});r(o,{scroll:!1,resolve:!1,...a})}]},W=e=>encodeURIComponent(e).replace(/%(2B|40|3A|24|26|2C|3B|3D)/g,e=>decodeURIComponent(e));function G(e,t=``){let{component:n,preload:r,load:i,children:a,info:o}=e,s=!a||Array.isArray(a)&&!a.length,c={key:e,component:n,preload:r||i,info:o};return q(e.path).reduce((n,r)=>{for(let i of j(r)){let a=w(t,i),o=s?a:a.split(`/*`,1)[0];o=o.split(`/`).map(e=>e.startsWith(`:`)||e.startsWith(`*`)?e:W(e)).join(`/`),n.push({...c,originalPath:r,pattern:o,matcher:E(o,!s,e.matchFilters)})}return n},[])}function K(e,t=0){return{routes:e,score:O(e[e.length-1])*1e4-t,matcher(t){let n=[];for(let r=e.length-1;r>=0;r--){let i=e[r],a=i.matcher(t);if(!a)return null;n.unshift({...a,route:i})}return n}}}function q(e){return Array.isArray(e)?e:[e]}function J(e,t=``,n=[],r=[]){let i=q(e);for(let e=0,a=i.length;e<a;e++){let a=i[e];if(a&&typeof a==`object`){a.hasOwnProperty(`path`)||(a.path=``);let e=G(a,t);for(let t of e){n.push(t);let e=Array.isArray(a.children)&&a.children.length===0;if(a.children&&!e)J(a.children,t.pattern,n,r);else{let e=K([...n],r.length);r.push(e)}n.pop()}}}return n.length?r:r.sort((e,t)=>t.score-e.score)}function Y(e,t){for(let n=0,r=e.length;n<r;n++){let r=e[n].matcher(t);if(r)return r}return[]}function X(e,r,i){let a=new URL(b),o=t(t=>{let n=e();try{return new URL(n[0]===`/`?b+n:n,a)}catch{return console.error(`Invalid path ${n}`),t}},a,{equals:(e,t)=>e.href===t.href}),s=t(()=>o().pathname),c=t(()=>o().search,!0),l=t(()=>o().hash),u=()=>``,d=n(c,()=>T(o()));return{get pathname(){return s()},get search(){return c()},get hash(){return l()},get state(){return r()},get key(){return u()},query:i?i(d):k(d)}}var Z;function Q(){return Z}var $=!1;function ee(){return $}function te(e){$=e}function ne(r,o,u,m={}){let{signal:[h,g],utils:_={}}=r,v=_.parsePath||(e=>e),y=_.renderPath||(e=>e),b=_.beforeLeave||p(),x=S(``,m.base||``);if(x===void 0)throw Error(`${x} is not a valid base path`);x&&!h().value&&g({value:x,replace:!0,scroll:!1});let[C,w]=f(!1),E,D=(e,t)=>{(t.value!==O()||t.state!==j())&&(E===void 0&&w(!0),Z=e,E=t,s(()=>{E===t&&(A(E.value),M(E.state),a(),L[1](e=>e.filter(e=>e.pending)))}).finally(()=>{E===t&&d(()=>{Z=void 0,e===`navigate`&&W(E),w(!1),E=void 0})}))},[O,A]=f(h().value),[j,M]=f(h().state),P=X(O,j,_.queryWrapper),I=[],L=f([]),R=t(()=>typeof m.transformUrl==`function`?Y(o(),m.transformUrl(P.pathname)):Y(o(),P.pathname)),z=()=>{let e=R(),t={};for(let n=0;n<e.length;n++)Object.assign(t,e[n].params);return t},B=_.paramsWrapper?_.paramsWrapper(z,o):k(z),V={pattern:x,path:()=>x,outlet:()=>null,resolvePath(e){return S(x,e)}};return i(n(h,e=>D(`native`,e),{defer:!0})),{base:V,location:P,params:B,isRouting:C,get pendingTarget(){return E},renderPath:y,parsePath:v,navigatorFactory:U,matches:R,beforeLeave:b,preloadRoute:G,singleFlight:m.singleFlight===void 0||m.singleFlight,submissions:L};function H(t,n,r){e(()=>{if(typeof n==`number`){n&&(_.go?_.go(n):console.warn(`Router integration does not support relative routing`));return}let e=!n||n[0]===`?`,{replace:i,resolve:a,scroll:o,state:s}={replace:!1,resolve:!e,scroll:!0,...r},c=a?t.resolvePath(n):S(e&&P.pathname||``,n);if(c===void 0)throw Error(`Path '${n}' is not a routable path`);if(I.length>=N)throw Error(`Too many redirects`);let l=O();(c!==l||s!==j())&&b.confirm(c,r)&&(I.push({value:l,replace:i,scroll:o,state:j()}),D(`navigate`,{value:c,state:s}))})}function U(e){return e=e||l(F)||V,(t,n)=>H(e,t,n)}function W(e){let t=I[0];t&&(g({...e,replace:t.replace,scroll:t.scroll}),I.length=0)}function G(e,t){let n=Y(o(),e.pathname),r=Z;Z=`preload`;for(let r in n){let{route:i,params:a}=n[r];i.component&&i.component.preload&&i.component.preload();let{preload:o}=i;$=!0,t&&o&&c(u(),()=>o({params:a,location:{pathname:e.pathname,search:e.search,hash:e.hash,query:T(e),state:null,key:``},intent:`preload`})),$=!1}Z=r}}function re(e,n,r,i){let{base:a,location:o,params:s}=e,{pattern:c,component:l,preload:d}=i().route,f=t(()=>i().path);l&&l.preload&&l.preload(),$=!0;let p=d?d({params:s,location:o,intent:Z||`initial`}):void 0;return $=!1,{parent:n,pattern:c,path:f,outlet:()=>l?u(l,{params:s,location:o,data:p,get children(){return r()}}):r(),resolvePath(e){return S(a.path(),e,f())}}}export{h as C,_ as S,b as _,ne as a,p as b,Y as c,V as d,B as f,U as g,I as h,re as i,te as l,R as m,P as n,ee as o,H as p,J as r,Q as s,F as t,z as u,x as v,g as x,M as y};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{t as e}from"./relay-runtime-CW2Fi-vu.js";import{E as t,I as n,O as r,T as i,W as a,_ as o,j as s,l as c,o as l,r as u,s as d,z as f}from"./web-BjwKY0xb.js";import{n as p}from"./dist-DUCXQy4t.js";import{i as m}from"./dist-CMub1v5w.js";import{B as h,J as g,K as _,Q as v,a as y,i as b,it as x,n as S,rt as C}from"./JNCCF6MP-C_2GhSaE.js";import{n as w,r as T,t as E}from"./dist-IMcx10bF.js";import{t as D}from"./form.module-DZJVksrR.js";import{t as O}from"./TSB6MOZK-D4_kp7T4.js";e();var k=function(){var e=[{defaultValue:null,kind:`LocalArgument`,name:`email`},{defaultValue:null,kind:`LocalArgument`,name:`verifyUrl`}],t=[{alias:null,args:[{kind:`Variable`,name:`email`,variableName:`email`},{kind:`Variable`,name:`verifyUrl`,variableName:`verifyUrl`}],concreteType:`LoginChallenge`,kind:`LinkedField`,name:`loginByEmail`,plural:!1,selections:[{alias:null,args:null,kind:`ScalarField`,name:`challengeId`,storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:e,kind:`Fragment`,metadata:null,name:`SignInMutation`,selections:t,type:`Mutation`,abstractKey:null},kind:`Request`,operation:{argumentDefinitions:e,kind:`Operation`,name:`SignInMutation`,selections:t},params:{cacheID:`37e10229ff566b2aae936dd6e4f5eeba`,id:null,metadata:{},name:`SignInMutation`,operationKind:`mutation`,text:`mutation SignInMutation(
|
|
2
|
+
$email: Email!
|
|
3
|
+
$verifyUrl: URITemplate!
|
|
4
|
+
) {
|
|
5
|
+
loginByEmail(email: $email, verifyUrl: $verifyUrl) {
|
|
6
|
+
challengeId
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
`}}}();k.hash=`8c239b3bc42d23561c6a06c26b528dfd`,b({},{Alert:()=>j,Root:()=>A});function A(e){return s(y,a({as:`div`,role:`alert`},e))}var j=A,M=o(`<main><!$><!/><section aria-labelledby=sign-in-title><header><h1 id=sign-in-title>Sign in</h1><p>Enter your email address to receive a secure sign-in link.</p></header><!$><!/><!$><!/>`),N=o(`<span>Required`),P=o(`<span id=email-error role=alert>`),F=o(`<output>`),I=k,L=g({email:v(C(),x(),_(`Enter a valid email address.`),h(`Enter a valid email address.`))});function R(){let[e,o]=f(),[h,g]=m(I),_=T({schema:L,initialInput:{email:``}}),v=({email:e})=>{let t=`${globalThis.location.origin}/confirm/{challengeId}?code={code}`;o(void 0),h({variables:{email:e,verifyUrl:t},onCompleted:(e,t)=>{let n=t??[];n.length>0?o({message:n.map(e=>e.message).join(`
|
|
10
|
+
`),status:`error`}):o({message:`Check your inbox for a secure sign-in link. You can close this page.`,status:`success`})},onError:e=>{o({message:e.message,status:`error`})}})};return(()=>{var o=l(M),f=o.firstChild,[m,h]=d(f.nextSibling),y=m.nextSibling,b=y.firstChild,x=b.nextSibling,[C,T]=d(x.nextSibling),k=C.nextSibling,[A,I]=d(k.nextSibling);return c(o,s(p,{children:`Sign in — DrFed`}),m,h),c(y,s(w,{get class(){return D.form},of:_,onSubmit:v,get children(){return[s(E,{of:_,path:[`email`],children:e=>s(O,{get class(){return D.field},get name(){return e.props.name},get value(){return e.input??``},required:!0,get children(){return[s(O.Label,{get class(){return D.fieldHeading},get children(){return[`Email address`,(()=>{var e=l(N);return n(()=>u(e,`${D.fieldStatus} ${D.required}`)),e})()]}}),s(O.Input,a(()=>e.props,{get class(){return D.input},type:`email`,autocomplete:`email`,inputMode:`email`,placeholder:`you@example.com`,get"aria-invalid"(){return!!e.errors},get"aria-describedby"(){return e.errors?`email-error`:void 0}})),s(t,{get when(){return e.errors},children:e=>(()=>{var t=l(P);return c(t,()=>e()[0]),n(()=>u(t,`${D.notice} ${D.error}`)),t})()})]}})}),s(S,{get class(){return D.button},type:`submit`,get disabled(){return g()},get children(){return s(t,{get when(){return g()},get fallback(){return e()?.status===`success`?`Resend sign-in link`:`Send sign-in link`},children:`Sending link…`})}})]}}),C,T),c(y,s(t,{get when(){return e()},children:e=>s(r,{get children(){return[s(i,{get when(){return e().status===`error`},get children(){return s(j,{get class(){return`${D.notice} ${D.error}`},get children(){return e().message}})}}),s(i,{get when(){return e().status===`success`},get children(){var t=l(F);return c(t,()=>e().message),n(()=>u(t,`${D.notice} ${D.success}`)),t}})]}})}),A,I),n(e=>{var t=D.page,n=D.panel,r=D.header;return t!==e.e&&u(o,e.e=t),n!==e.t&&u(y,e.t=n),r!==e.a&&u(b,e.a=r),e},{e:void 0,t:void 0,a:void 0}),o})()}export{R as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return t(this.context.count)},getNextContextId(){return t(this.context.count++)}};function t(t){let n=String(t),r=n.length-1;return e.context.id+(r?String.fromCharCode(96+r):``)+n}function n(t){e.context=t}function r(){return{...e.context,id:e.getNextContextId(),count:0}}var i=(e,t)=>e===t,a=Symbol(`solid-proxy`),o=typeof Proxy==`function`,s=Symbol(`solid-track`),c={equals:i},l=null,u=pe,d=1,f=2,p={owned:null,cleanups:null,context:null,owner:null},m={},h=null,g=null,_=null,v=null,y=null,b=0;function x(e,t){let n=_,r=h,i=e.length===0,a=t===void 0?r:t,o=i?p:{owned:null,cleanups:null,context:a?a.context:null,owner:a},s=i?e:()=>e(()=>D(()=>U(o)));h=o,_=null;try{return V(s,!0)}finally{_=n,h=r}}function S(e,t){t=t?Object.assign({},c,t):c;let n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0};return[le.bind(n),e=>(typeof e==`function`&&(e=g&&g.running&&g.sources.has(n)?e(n.tValue):e(n.value)),ue(n,e))]}function ee(e,t,n){R(z(e,t,!0,d))}function C(e,t,n){R(z(e,t,!1,d))}function w(e,t,n){u=me;let r=z(e,t,!1,d),i=L&&F(L);i&&(r.suspense=i),(!n||!n.render)&&(r.user=!0),y?y.push(r):R(r)}function T(e,t,n){n=n?Object.assign({},c,n):c;let r=z(e,t,!0,0);return r.observers=null,r.observerSlots=null,r.comparator=n.equals||void 0,R(r),le.bind(r)}function te(e){return e&&typeof e==`object`&&`then`in e}function E(t,n,r){let i,a,o;typeof n==`function`?(i=t,a=n,o=r||{}):(i=!0,a=t,o=n||{});let s=null,c=m,l=null,u=!1,d=!1,f=`initialValue`in o,p=typeof i==`function`&&T(i),v=new Set,[y,b]=(o.storage||S)(o.initialValue),[x,C]=S(void 0),[w,E]=S(void 0,{equals:!1}),[ne,re]=S(f?`ready`:`unresolved`);h&&k(()=>{for(let e of v.keys())e.decrement();v.clear(),g&&s&&g.promises.delete(s),s=null}),e.context&&(l=e.getNextContextId(),o.ssrLoadFrom===`initial`?c=o.initialValue:e.load&&e.has(l)&&(c=e.load(l)));function O(e,t,n,r){return s===e&&(s=null,r!==void 0&&(f=!0),(e===c||t===c)&&o.onHydrated&&queueMicrotask(()=>o.onHydrated(r,{value:t})),c=m,g&&e&&u?(g.promises.delete(e),u=!1,V(()=>{g.running=!0,ie(t,n)},!1)):ie(t,n)),t}function ie(e,t){V(()=>{t===void 0&&b(()=>e),re(t===void 0?f?`ready`:`unresolved`:`errored`),C(t);for(let e of v.keys())e.decrement();v.clear()},!1)}function A(){let e=L&&F(L),t=y(),n=x();if(n!==void 0&&!s)throw n;return _&&!_.user&&e&&ee(()=>{w(),s&&(e.resolved&&g&&u?g.promises.add(s):v.has(e)||(e.increment(),v.add(e)))}),t}function j(e=!0){if(e!==!1&&d)return;d=!1;let t=p?p():i;if(u=g&&g.running,t==null||t===!1){O(s,D(y));return}g&&s&&g.promises.delete(s);let n,r=c===m?D(()=>{try{return a(t,{value:y(),refetching:e})}catch(e){n=e}}):c;if(n!==void 0)O(s,void 0,W(n),t);else return te(r)?(s=r,`v`in r?(r.s===1?O(s,r.v,void 0,t):O(s,void 0,W(r.v),t),r):(d=!0,queueMicrotask(()=>d=!1),V(()=>{re(f?`refreshing`:`pending`),E()},!1),r.then(e=>O(r,e,void 0,t),e=>O(r,void 0,W(e),t)))):(O(s,r,void 0,t),r)}Object.defineProperties(A,{state:{get:()=>ne()},error:{get:()=>x()},loading:{get(){let e=ne();return e===`pending`||e===`refreshing`}},latest:{get(){if(!f)return A();let e=x();if(e&&!s)throw e;return y()}}});let N=h;return p?ee(()=>(N=h,j(!1))):j(!1),[A,{refetch:e=>M(N,()=>j(e)),mutate:b}]}function ne(e){return V(e,!1)}function D(e){if(_===null)return e();let t=_;_=null;try{return e()}finally{_=t}}function re(e,t,n){let r=Array.isArray(e),i,a=n&&n.defer;return n=>{let o;if(r){o=Array(e.length);for(let t=0;t<e.length;t++)o[t]=e[t]()}else o=e();if(a)return a=!1,n;let s=D(()=>t(o,i,n));return i=o,s}}function O(e){w(()=>D(e))}function k(e){return h===null||(h.cleanups===null?h.cleanups=[e]:h.cleanups.push(e)),e}function ie(e,t){l||=Symbol(`error`),h=z(void 0,void 0,!0),h.context={...h.context,[l]:[t]},g&&g.running&&g.sources.add(h);try{return e()}catch(e){G(e)}finally{h=h.owner}}function A(){return _}function j(){return h}function M(e,t){let n=h,r=_;h=e,_=null;try{return V(t,!0)}catch(e){G(e)}finally{h=n,_=r}}function N(e){if(g&&g.running)return e(),g.done;let t=_,n=h;return Promise.resolve().then(()=>{_=t,h=n;let r;return L&&(r=g||={sources:new Set,effects:[],promises:new Set,disposed:new Set,queue:new Set,running:!0},r.done||(r.done=new Promise(e=>r.resolve=e)),r.running=!0),V(e,!1),_=h=null,r?r.done:void 0})}var[ae,oe]=S(!1);function se(e){y.push.apply(y,e),e.length=0}function P(e,t){let n=Symbol(`context`);return{id:n,Provider:ye(n),defaultValue:e}}function F(e){let t;return h&&h.context&&(t=h.context[e.id])!==void 0?t:e.defaultValue}function I(e){let t=T(e),n=T(()=>ve(t()));return n.toArray=()=>{let e=n();return Array.isArray(e)?e:e==null?[]:[e]},n}var L;function ce(){return L||=P()}function le(){let e=g&&g.running;if(this.sources&&(e?this.tState:this.state)){if((e?this.tState:this.state)===d)R(this);else{let e=v;v=null,V(()=>H(this),!1),v=e}}if(_){let e=this.observers;if(!e||e[e.length-1]!==_){let t=e?e.length:0;_.sources?(_.sources.push(this),_.sourceSlots.push(t)):(_.sources=[this],_.sourceSlots=[t]),e?(e.push(_),this.observerSlots.push(_.sources.length-1)):(this.observers=[_],this.observerSlots=[_.sources.length-1])}}return e&&g.sources.has(this)?this.tValue:this.value}function ue(e,t,n){let r=g&&g.running&&g.sources.has(e)?e.tValue:e.value;if(!e.comparator||!e.comparator(r,t)){if(g){let r=g.running;(r||!n&&g.sources.has(e))&&(g.sources.add(e),e.tValue=t),r||(e.value=t)}else e.value=t;e.observers&&e.observers.length&&V(()=>{for(let t=0;t<e.observers.length;t+=1){let n=e.observers[t],r=g&&g.running;r&&g.disposed.has(n)||((r?!n.tState:!n.state)&&(n.pure?v.push(n):y.push(n),n.observers&&he(n)),r?n.tState=d:n.state=d)}if(v.length>1e6)throw v=[],Error()},!1)}return t}function R(e){if(!e.fn)return;U(e);let t=b;de(e,g&&g.running&&g.sources.has(e)?e.tValue:e.value,t),g&&!g.running&&g.sources.has(e)&&queueMicrotask(()=>{V(()=>{g&&(g.running=!0),_=h=e,de(e,e.tValue,t),_=h=null},!1)})}function de(e,t,n){let r,i=h,a=_;_=h=e;try{r=e.fn(t)}catch(t){return e.pure&&(g&&g.running?(e.tState=d,e.tOwned&&e.tOwned.forEach(U),e.tOwned=void 0):(e.state=d,e.owned&&e.owned.forEach(U),e.owned=null)),e.updatedAt=n+1,G(t)}finally{_=a,h=i}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&`observers`in e?ue(e,r,!0):g&&g.running&&e.pure?(g.sources.has(e)||(e.value=r),g.sources.add(e),e.tValue=r):e.value=r,e.updatedAt=n)}function z(e,t,n,r=d,i){let a={fn:e,state:r,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:h,context:h?h.context:null,pure:n};return g&&g.running&&(a.state=0,a.tState=r),h===null||h!==p&&(g&&g.running&&h.pure?h.tOwned?h.tOwned.push(a):h.tOwned=[a]:h.owned?h.owned.push(a):h.owned=[a]),a}function B(e){let t=g&&g.running;if((t?e.tState:e.state)===0)return;if((t?e.tState:e.state)===f)return H(e);if(e.suspense&&D(e.suspense.inFallback))return e.suspense.effects.push(e);let n=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<b);){if(t&&g.disposed.has(e))return;(t?e.tState:e.state)&&n.push(e)}for(let r=n.length-1;r>=0;r--){if(e=n[r],t){let t=e,i=n[r+1];for(;(t=t.owner)&&t!==i;)if(g.disposed.has(t))return}if((t?e.tState:e.state)===d)R(e);else if((t?e.tState:e.state)===f){let t=v;v=null,V(()=>H(e,n[0]),!1),v=t}}}function V(e,t){if(v)return e();let n=!1;t||(v=[]),y?n=!0:y=[],b++;try{let t=e();return fe(n),t}catch(e){n||(y=null),v=null,G(e)}}function fe(e){if(v&&=(pe(v),null),e)return;let t;if(g){if(!g.promises.size&&!g.queue.size){let e=g.sources,n=g.disposed;y.push.apply(y,g.effects),t=g.resolve;for(let e of y)`tState`in e&&(e.state=e.tState),delete e.tState;g=null,V(()=>{for(let e of n)U(e);for(let t of e){if(t.value=t.tValue,t.owned)for(let e=0,n=t.owned.length;e<n;e++)U(t.owned[e]);t.tOwned&&(t.owned=t.tOwned),delete t.tValue,delete t.tOwned,t.tState=0}oe(!1)},!1)}else if(g.running){g.running=!1,g.effects.push.apply(g.effects,y),y=null,oe(!0);return}}let n=y;y=null,n.length&&V(()=>u(n),!1),t&&t()}function pe(e){for(let t=0;t<e.length;t++)B(e[t])}function me(t){let r,i=0;for(r=0;r<t.length;r++){let e=t[r];e.user?t[i++]=e:B(e)}if(e.context){if(e.count){e.effects||=[],e.effects.push(...t.slice(0,i));return}n()}for(e.effects&&(e.done||!e.count)&&(t=[...e.effects,...t],i+=e.effects.length,delete e.effects),r=0;r<i;r++)B(t[r])}function H(e,t){let n=g&&g.running;n?e.tState=0:e.state=0;for(let r=0;r<e.sources.length;r+=1){let i=e.sources[r];if(i.sources){let e=n?i.tState:i.state;e===d?i!==t&&(!i.updatedAt||i.updatedAt<b)&&B(i):e===f&&H(i,t)}}}function he(e){let t=g&&g.running;for(let n=0;n<e.observers.length;n+=1){let r=e.observers[n];(t?!r.tState:!r.state)&&(t?r.tState=f:r.state=f,r.pure?v.push(r):y.push(r),r.observers&&he(r))}}function U(e){let t;if(e.sources)for(;e.sources.length;){let t=e.sources.pop(),n=e.sourceSlots.pop(),r=t.observers;if(r&&r.length){let e=r.pop(),i=t.observerSlots.pop();n<r.length&&(e.sourceSlots[i]=n,r[n]=e,t.observerSlots[n]=i)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)U(e.tOwned[t]);delete e.tOwned}if(g&&g.running&&e.pure)ge(e,!0);else if(e.owned){for(t=e.owned.length-1;t>=0;t--)U(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}g&&g.running?e.tState=0:e.state=0}function ge(e,t){if(t||(e.tState=0,g.disposed.add(e)),e.owned)for(let t=0;t<e.owned.length;t++)ge(e.owned[t])}function W(e){return e instanceof Error?e:Error(typeof e==`string`?e:`Unknown error`,{cause:e})}function _e(e,t,n){try{for(let n of t)n(e)}catch(e){G(e,n&&n.owner||null)}}function G(e,t=h){let n=l&&t&&t.context&&t.context[l],r=W(e);if(!n)throw r;y?y.push({fn(){_e(r,n,t)},state:d}):_e(r,n,t)}function ve(e){if(typeof e==`function`&&!e.length)return ve(e());if(Array.isArray(e)){let t=[];for(let n=0;n<e.length;n++){let r=ve(e[n]);if(Array.isArray(r)){if(r.length<32768)t.push.apply(t,r);else for(let e=0;e<r.length;e++)t.push(r[e])}else t.push(r)}return t}return e}function ye(e,t){return function(t){let n;return C(()=>n=D(()=>(h.context={...h.context,[e]:t.value},I(()=>t.children))),void 0),n}}var be=Symbol(`fallback`);function K(e){for(let t=0;t<e.length;t++)e[t]()}function xe(e,t,n={}){let r=[],i=[],a=[],o=0,c=t.length>1?[]:null;return k(()=>K(a)),()=>{let l=e()||[],u=l.length,d,f;return l[s],D(()=>{let e,t,s,m,h,g,_,v,y;if(u===0)o!==0&&(K(a),a=[],r=[],i=[],o=0,c&&=[]),n.fallback&&(r=[be],i[0]=x(e=>(a[0]=e,n.fallback())),o=1);else if(o===0){for(i=Array(u),f=0;f<u;f++)r[f]=l[f],i[f]=x(p);o=u}else{for(s=Array(u),m=Array(u),c&&(h=Array(u)),g=0,_=Math.min(o,u);g<_&&r[g]===l[g];g++);for(_=o-1,v=u-1;_>=g&&v>=g&&r[_]===l[v];_--,v--)s[v]=i[_],m[v]=a[_],c&&(h[v]=c[_]);for(e=new Map,t=Array(v+1),f=v;f>=g;f--)y=l[f],d=e.get(y),t[f]=d===void 0?-1:d,e.set(y,f);for(d=g;d<=_;d++)y=r[d],f=e.get(y),f!==void 0&&f!==-1?(s[f]=i[d],m[f]=a[d],c&&(h[f]=c[d]),f=t[f],e.set(y,f)):a[d]();for(f=g;f<u;f++)f in s?(i[f]=s[f],a[f]=m[f],c&&(c[f]=h[f],c[f](f))):i[f]=x(p);i=i.slice(0,o=u),r=l.slice(0)}return i});function p(e){if(a[f]=e,c){let[e,n]=S(f);return c[f]=n,t(l[f],e)}return t(l[f])}}}function Se(e,t,n={}){let r=[],i=[],a=[],o=[],c=0,l;return k(()=>K(a)),()=>{let u=e()||[],d=u.length;return u[s],D(()=>{if(d===0)return c!==0&&(K(a),a=[],r=[],i=[],c=0,o=[]),n.fallback&&(r=[be],i[0]=x(e=>(a[0]=e,n.fallback())),c=1),i;for(r[0]===be&&(a[0](),a=[],r=[],i=[],c=0),l=0;l<d;l++)l<r.length&&r[l]!==u[l]?o[l](()=>u[l]):l>=r.length&&(i[l]=x(f));for(;l<r.length;l++)a[l]();return c=o.length=a.length=d,r=u.slice(0),i=i.slice(0,c)});function f(e){a[l]=e;let[n,r]=S(u[l]);return o[l]=r,t(n,l)}}}var Ce=!1;function we(){Ce=!0}function Te(t,i){if(Ce&&e.context){let a=e.context;n(r());let o=D(()=>t(i||{}));return n(a),o}return D(()=>t(i||{}))}function q(){return!0}var Ee={get(e,t,n){return t===a?n:e.get(t)},has(e,t){return t===a||e.has(t)},set:q,deleteProperty:q,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:q,deleteProperty:q}},ownKeys(e){return e.keys()}};function De(e){return(e=typeof e==`function`?e():e)?e:{}}function Oe(){for(let e=0,t=this.length;e<t;++e){let t=this[e]();if(t!==void 0)return t}}function ke(...e){let t=!1;for(let n=0;n<e.length;n++){let r=e[n];t||=!!r&&a in r,e[n]=typeof r==`function`?(t=!0,T(r)):r}if(o&&t)return new Proxy({get(t){for(let n=e.length-1;n>=0;n--){let r=De(e[n])[t];if(r!==void 0)return r}},has(t){for(let n=e.length-1;n>=0;n--)if(t in De(e[n]))return!0;return!1},keys(){let t=[];for(let n=0;n<e.length;n++)t.push(...Object.keys(De(e[n])));return[...new Set(t)]}},Ee);let n={},r=Object.create(null);for(let t=e.length-1;t>=0;t--){let i=e[t];if(!i)continue;let a=Object.getOwnPropertyNames(i);for(let e=a.length-1;e>=0;e--){let t=a[e];if(t===`__proto__`||t===`constructor`)continue;let o=Object.getOwnPropertyDescriptor(i,t);if(!r[t])r[t]=o.get?{enumerable:!0,configurable:!0,get:Oe.bind(n[t]=[o.get.bind(i)])}:o.value===void 0?void 0:o;else{let e=n[t];e&&(o.get?e.push(o.get.bind(i)):o.value!==void 0&&e.push(()=>o.value))}}}let i={},s=Object.keys(r);for(let e=s.length-1;e>=0;e--){let t=s[e],n=r[t];n&&n.get?Object.defineProperty(i,t,n):i[t]=n?n.value:void 0}return i}function Ae(e,...t){let n=t.length;if(o&&a in e){let r=n>1?t.flat():t[0],i=t.map(t=>new Proxy({get(n){return t.includes(n)?e[n]:void 0},has(n){return t.includes(n)&&n in e},keys(){return t.filter(t=>t in e)}},Ee));return i.push(new Proxy({get(t){return r.includes(t)?void 0:e[t]},has(t){return!r.includes(t)&&t in e},keys(){return Object.keys(e).filter(e=>!r.includes(e))}},Ee)),i}let r=[];for(let e=0;e<=n;e++)r[e]={};for(let i of Object.getOwnPropertyNames(e)){let a=n;for(let e=0;e<t.length;e++)if(t[e].includes(i)){a=e;break}let o=Object.getOwnPropertyDescriptor(e,i);!o.get&&!o.set&&o.enumerable&&o.writable&&o.configurable?r[a][i]=o.value:Object.defineProperty(r[a],i,o)}return r}function je(t){let r,i,a=a=>{let o=e.context;if(o){let[a,s]=S();e.count||=0,e.count++,(i||=t()).then(t=>{!e.done&&n(o),e.count--,s(()=>t.default),n()}),r=a}else if(!r){let[e]=E(()=>(i||=t()).then(e=>e.default));r=e,k(()=>r=void 0)}let s;return T(()=>(s=r?.())?D(()=>{if(!o||e.done)return s(a);let t=e.context;n(o);let r=s(a);return n(t),r}):``)};return a.preload=()=>i||((i=t()).then(e=>r=()=>e.default),i),a}var Me=0;function Ne(){return e.context?e.getNextContextId():`cl-${Me++}`}var Pe=e=>`Stale read from <${e}>.`;function Fe(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return T(xe(()=>e.each,e.children,t||void 0))}function Ie(e){let t=`fallback`in e&&{fallback:()=>e.fallback};return T(Se(()=>e.each,e.children,t||void 0))}function Le(e){let t=e.keyed,n=T(()=>e.when,void 0,void 0),r=t?n:T(n,void 0,{equals:(e,t)=>!e==!t});return T(()=>{let i=r();if(i){let a=e.children;return typeof a==`function`&&a.length>0?D(()=>a(t?i:()=>{if(!D(r))throw Pe(`Show`);return n()})):a}return e.fallback},void 0,void 0)}function Re(e){let t=I(()=>e.children),n=T(()=>{let e=t(),n=Array.isArray(e)?e:[e],r=()=>void 0;for(let e=0;e<n.length;e++){let t=e,i=n[e],a=r,o=T(()=>a()?void 0:i.when,void 0,void 0),s=i.keyed?o:T(o,void 0,{equals:(e,t)=>!e==!t});r=()=>a()||(s()?[t,o,i]:void 0)}return r});return T(()=>{let t=n()();if(!t)return e.fallback;let[r,i,a]=t,o=a.children;return typeof o==`function`&&o.length>0?D(()=>o(a.keyed?i():()=>{if(D(n)()?.[0]!==r)throw Pe(`Match`);return i()})):o},void 0,void 0)}function ze(e){return e}var J;function Be(){J&&[...J].forEach(e=>e())}function Ve(t){let n;e.context&&e.load&&(n=e.load(e.getContextId()));let[r,i]=S(n,void 0);return J||=new Set,J.add(i),k(()=>J.delete(i)),T(()=>{let e;if(e=r()){let n=t.fallback;return typeof n==`function`&&n.length?D(()=>n(e,()=>i())):n}return ie(()=>t.children,i)},void 0,void 0)}var He=P();function Ue(t){let r=0,i,a,o,s,c,[l,u]=S(!1),d=ce(),f={increment:()=>{++r===1&&u(!0)},decrement:()=>{--r===0&&u(!1)},inFallback:l,effects:[],resolved:!1},p=j();if(e.context&&e.load){let t=e.getContextId(),r=e.load(t);if(r&&(typeof r!=`object`||r.s!==1?o=r:e.gather(t)),o&&o!==`$$f`){let[r,i]=S(void 0,{equals:!1});s=r,o.then(()=>{if(e.done)return i();e.gather(t),n(a),i(),n()},e=>{c=e,i()})}}let m=F(He);m&&(i=m.register(f.inFallback));let h;return k(()=>h&&h()),Te(d.Provider,{value:f,get children(){return T(()=>{if(c)throw c;if(a=e.context,s){s(),s=void 0;return}a&&o===`$$f`&&n();let r=T(()=>t.children);return T(e=>{let s=f.inFallback(),{showContent:c=!0,showFallback:l=!0}=i?i():{};if((!s||o&&o!==`$$f`)&&c)return f.resolved=!0,h&&h(),h=a=o=void 0,se(f.effects),r();if(l)return h?e:x(e=>(h=e,a&&=(n({id:a.id+`F`,count:0}),void 0),t.fallback),p)})})}})}var We=new Set([`className`,`value`,`readOnly`,`noValidate`,`formNoValidate`,`isMap`,`noModule`,`playsInline`,`adAuctionHeaders`,`allowFullscreen`,`browsingTopics`,`defaultChecked`,`defaultMuted`,`defaultSelected`,`disablePictureInPicture`,`disableRemotePlayback`,`preservesPitch`,`shadowRootClonable`,`shadowRootCustomElementRegistry`,`shadowRootDelegatesFocus`,`shadowRootSerializable`,`sharedStorageWritable`,...`allowfullscreen.async.alpha.autofocus.autoplay.checked.controls.default.disabled.formnovalidate.hidden.indeterminate.inert.ismap.loop.multiple.muted.nomodule.novalidate.open.playsinline.readonly.required.reversed.seamless.selected.adauctionheaders.browsingtopics.credentialless.defaultchecked.defaultmuted.defaultselected.defer.disablepictureinpicture.disableremoteplayback.preservespitch.shadowrootclonable.shadowrootcustomelementregistry.shadowrootdelegatesfocus.shadowrootserializable.sharedstoragewritable`.split(`.`)]),Ge=new Set([`innerHTML`,`textContent`,`innerText`,`children`]),Ke=Object.assign(Object.create(null),{className:`class`,htmlFor:`for`}),qe=Object.assign(Object.create(null),{class:`className`,novalidate:{$:`noValidate`,FORM:1},formnovalidate:{$:`formNoValidate`,BUTTON:1,INPUT:1},ismap:{$:`isMap`,IMG:1},nomodule:{$:`noModule`,SCRIPT:1},playsinline:{$:`playsInline`,VIDEO:1},readonly:{$:`readOnly`,INPUT:1,TEXTAREA:1},adauctionheaders:{$:`adAuctionHeaders`,IFRAME:1},allowfullscreen:{$:`allowFullscreen`,IFRAME:1},browsingtopics:{$:`browsingTopics`,IMG:1},defaultchecked:{$:`defaultChecked`,INPUT:1},defaultmuted:{$:`defaultMuted`,AUDIO:1,VIDEO:1},defaultselected:{$:`defaultSelected`,OPTION:1},disablepictureinpicture:{$:`disablePictureInPicture`,VIDEO:1},disableremoteplayback:{$:`disableRemotePlayback`,AUDIO:1,VIDEO:1},preservespitch:{$:`preservesPitch`,AUDIO:1,VIDEO:1},shadowrootclonable:{$:`shadowRootClonable`,TEMPLATE:1},shadowrootdelegatesfocus:{$:`shadowRootDelegatesFocus`,TEMPLATE:1},shadowrootserializable:{$:`shadowRootSerializable`,TEMPLATE:1},sharedstoragewritable:{$:`sharedStorageWritable`,IFRAME:1,IMG:1}});function Je(e,t){let n=qe[e];return typeof n==`object`?n[t]?n.$:void 0:n}var Ye=new Set([`beforeinput`,`click`,`dblclick`,`contextmenu`,`focusin`,`focusout`,`input`,`keydown`,`keyup`,`mousedown`,`mousemove`,`mouseout`,`mouseover`,`mouseup`,`pointerdown`,`pointermove`,`pointerout`,`pointerover`,`pointerup`,`touchend`,`touchmove`,`touchstart`]),Xe=new Set(`altGlyph.altGlyphDef.altGlyphItem.animate.animateColor.animateMotion.animateTransform.circle.clipPath.color-profile.cursor.defs.desc.ellipse.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.filter.font.font-face.font-face-format.font-face-name.font-face-src.font-face-uri.foreignObject.g.glyph.glyphRef.hkern.image.line.linearGradient.marker.mask.metadata.missing-glyph.mpath.path.pattern.polygon.polyline.radialGradient.rect.set.stop.svg.switch.symbol.text.textPath.tref.tspan.use.view.vkern`.split(`.`)),Ze={xlink:`http://www.w3.org/1999/xlink`,xml:`http://www.w3.org/XML/1998/namespace`},Qe=e=>T(()=>e());function $e(e,t,n){let r=n.length,i=t.length,a=r,o=0,s=0,c=t[i-1].nextSibling,l=null;for(;o<i||s<a;)if(t[o]===n[s])o++,s++;else{for(;t[i-1]===n[a-1];)i--,a--;if(i===o){let t=a<r?s?n[s-1].nextSibling:n[a-s]:c;for(;s<a;)e.insertBefore(n[s++],t)}else if(a===s)for(;o<i;)(!l||!l.has(t[o]))&&t[o].remove(),o++;else if(t[o]===n[a-1]&&n[s]===t[i-1]){let r=t[--i].nextSibling;e.insertBefore(n[s++],t[o++].nextSibling),e.insertBefore(n[--a],r),t[i]=n[a]}else{if(!l){l=new Map;let e=s;for(;e<a;)l.set(n[e],e++)}let r=l.get(t[o]);if(r!=null){if(s<r&&r<a){let c=o,u=1,d;for(;++c<i&&c<a&&(d=l.get(t[c]))!=null&&d===r+u;)u++;if(u>r-s){let i=t[o];for(;s<r;)e.insertBefore(n[s++],i)}else e.replaceChild(n[s++],t[o++])}else o++}else t[o++].remove()}}}var et=`_$DX_DELEGATE`;function tt(e,t,n,r={}){let i;return x(r=>{i=r,t===document?e():X(t,e(),t.firstChild?null:void 0,n)},r.owner),()=>{i(),t.textContent=``}}function nt(e,t,n,r){let i,a=()=>{let t=r?document.createElementNS(`http://www.w3.org/1998/Math/MathML`,`template`):document.createElement(`template`);return t.innerHTML=e,n?t.content.firstChild.firstChild:r?t.firstChild:t.content.firstChild},o=t?()=>D(()=>document.importNode(i||=a(),!0)):()=>(i||=a()).cloneNode(!0);return o.cloneNode=o,o}function rt(e,t=window.document){let n=t[et]||(t[et]=new Set);for(let r=0,i=e.length;r<i;r++){let i=e[r];n.has(i)||(n.add(i),t.addEventListener(i,xt))}}function it(e,t,n){Z(e)||(e[t]=n)}function Y(e,t,n){Z(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function at(e,t,n,r){Z(e)||(r==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,r))}function ot(e,t,n){Z(e)||(n?e.setAttribute(t,``):e.removeAttribute(t))}function st(e,t){Z(e)||(t==null?e.removeAttribute(`class`):e.className=t)}function ct(e,t,n,r){if(r)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){let r=n[0];e.addEventListener(t,n[0]=t=>r.call(e,n[1],t))}else e.addEventListener(t,n,typeof n!=`function`&&n)}function lt(e,t,n={}){let r=Object.keys(t||{}),i=Object.keys(n),a,o;for(a=0,o=i.length;a<o;a++){let r=i[a];r&&r!==`undefined`&&!t[r]&&(yt(e,r,!1),delete n[r])}for(a=0,o=r.length;a<o;a++){let i=r[a],o=!!t[i];i&&i!==`undefined`&&n[i]!==o&&o&&(yt(e,i,!0),n[i]=o)}return n}function ut(e,t,n){if(!t)return n?Y(e,`style`):t;let r=e.style;if(typeof t==`string`)return r.cssText=t;typeof n==`string`&&(r.cssText=n=void 0),n||={},t||={};let i,a;for(a in n)t[a]??r.removeProperty(a),delete n[a];for(a in t)i=t[a],i!==n[a]&&(r.setProperty(a,i),n[a]=i);return n}function dt(e,t={},n,r){let i={};return r||C(()=>i.children=Q(e,t.children,i.children)),C(()=>typeof t.ref==`function`&&ft(t.ref,e)),C(()=>pt(e,t,n,!0,i,!0)),i}function ft(e,t,n){return D(()=>e(t,n))}function X(e,t,n,r){if(n!==void 0&&!r&&(r=[]),typeof t!=`function`)return Q(e,t,r,n);C(r=>Q(e,t(),r,n),r)}function pt(e,t,n,r,i={},a=!1){t||={};for(let r in i)if(!(r in t)){if(r===`children`)continue;i[r]=bt(e,r,null,i[r],n,a,t)}for(let o in t){if(o===`children`){r||Q(e,t.children);continue}let s=t[o];i[o]=bt(e,o,s,i[o],n,a,t)}}function mt(t,n,r={}){if(globalThis._$HY.done)return tt(t,n,[...n.childNodes],r);e.completed=globalThis._$HY.completed,e.events=globalThis._$HY.events,e.load=e=>globalThis._$HY.r[e],e.has=e=>e in globalThis._$HY.r,e.gather=e=>wt(n,e),e.registry=new Map,e.context={id:r.renderId||``,count:0};try{return wt(n,r.renderId),tt(t,n,[...n.childNodes],r)}finally{e.context=null}}function ht(t){let n,r;return!Z()||!(n=e.registry.get(r=Tt()))?t():(e.completed&&e.completed.add(n),e.registry.delete(r),n)}function gt(e){let t=e,n=0,r=[];if(Z(e))for(;t;){if(t.nodeType===8){let e=t.nodeValue;if(e===`$`)n++;else if(e===`/`){if(n===0)return[t,r];n--}}r.push(t),t=t.nextSibling}return[t,r]}function _t(){e.events&&!e.events.queued&&(queueMicrotask(()=>{let{completed:t,events:n}=e;if(n){for(n.queued=!1;n.length;){let[e,r]=n[0];if(!t.has(e))return;n.shift(),xt(r)}e.done&&(e.events=_$HY.events=null,e.completed=_$HY.completed=null)}}),e.events.queued=!0)}function Z(t){return!!e.context&&!e.done&&(!t||t.isConnected)}function vt(e){return e.toLowerCase().replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}function yt(e,t,n){let r=t.trim().split(/\s+/);for(let t=0,i=r.length;t<i;t++)e.classList.toggle(r[t],n)}function bt(e,t,n,r,i,a,o){let s,c,l,u,d;if(t===`style`)return ut(e,n,r);if(t===`classList`)return lt(e,n,r);if(n===r)return r;if(t===`ref`)a||n(e);else if(t.slice(0,3)===`on:`){let i=t.slice(3);r&&e.removeEventListener(i,r,typeof r!=`function`&&r),n&&e.addEventListener(i,n,typeof n!=`function`&&n)}else if(t.slice(0,10)===`oncapture:`){let i=t.slice(10);r&&e.removeEventListener(i,r,!0),n&&e.addEventListener(i,n,!0)}else if(t.slice(0,2)===`on`){let i=t.slice(2).toLowerCase(),a=Ye.has(i);if(!a&&r){let t=Array.isArray(r)?r[0]:r;e.removeEventListener(i,t)}(a||n)&&(ct(e,i,n,a),a&&rt([i]))}else if(t.slice(0,5)===`attr:`)Y(e,t.slice(5),n);else if(t.slice(0,5)===`bool:`)ot(e,t.slice(5),n);else if((d=t.slice(0,5)===`prop:`)||(l=Ge.has(t))||!i&&((u=Je(t,e.tagName))||(c=We.has(t)))||(s=e.nodeName.includes(`-`)||`is`in o)){if(d)t=t.slice(5),c=!0;else if(Z(e))return n;t===`class`||t===`className`?st(e,n):s&&!c&&!l?e[vt(t)]=n:e[u||t]=n}else{let r=i&&t.indexOf(`:`)>-1&&Ze[t.split(`:`)[0]];r?at(e,r,t,n):Y(e,Ke[t]||t,n)}return n}function xt(t){if(e.registry&&e.events&&e.events.find(([e,n])=>n===t))return;let n=t.target,r=`$$${t.type}`,i=t.target,a=t.currentTarget,o=e=>Object.defineProperty(t,"target",{configurable:!0,value:e}),s=()=>{let e=n[r];if(e&&!n.disabled){let i=n[`${r}Data`];if(i===void 0?e.call(n,t):e.call(n,i,t),t.cancelBubble)return}return n.host&&typeof n.host!=`string`&&!n.host._$host&&n.contains(t.target)&&o(n.host),!0},c=()=>{for(;s()&&(n=n._$host||n.parentNode||n.host););};if(Object.defineProperty(t,"currentTarget",{configurable:!0,get(){return n||document}}),e.registry&&!e.done&&(e.done=_$HY.done=!0),t.composedPath){let e=t.composedPath();o(e[0]);for(let t=0;t<e.length-2&&(n=e[t],s());t++){if(n._$host){n=n._$host,c();break}if(n.parentNode===a)break}}else c();o(i)}function Q(e,t,n,r,i){let a=Z(e);if(a){!n&&(n=[...e.childNodes]);let t=[];for(let e=0;e<n.length;e++){let r=n[e];r.nodeType===8&&r.data.slice(0,2)===`!$`?r.remove():t.push(r)}n=t}for(;typeof n==`function`;)n=n();if(t===n)return n;let o=typeof t,s=r!==void 0;if(e=s&&n[0]&&n[0].parentNode||e,o===`string`||o===`number`){if(a||o===`number`&&(t=t.toString(),t===n))return n;if(s){let i=n[0];i&&i.nodeType===3?i.data!==t&&(i.data=t):i=document.createTextNode(t),n=$(e,n,r,i)}else n=n!==``&&typeof n==`string`?e.firstChild.data=t:e.textContent=t}else if(t==null||o===`boolean`){if(a)return n;n=$(e,n,r)}else if(o===`function`)return C(()=>{let i=t();for(;typeof i==`function`;)i=i();n=Q(e,i,n,r)}),()=>n;else if(Array.isArray(t)){let o=[],c=n&&Array.isArray(n);if(St(o,t,n,i))return C(()=>n=Q(e,o,n,r,!0)),()=>n;if(a){if(!o.length)return n;if(r===void 0)return n=[...e.childNodes];let t=o[0];if(t.parentNode!==e)return n;let i=[t];for(;(t=t.nextSibling)!==r;)i.push(t);return n=i}if(o.length===0){if(n=$(e,n,r),s)return n}else c?n.length===0?Ct(e,o,r):$e(e,n,o):(n&&$(e),Ct(e,o));n=o}else if(t.nodeType){if(a&&t.parentNode)return n=s?[t]:t;if(Array.isArray(n)){if(s)return n=$(e,n,r,t);$(e,n,null,t)}else n==null||n===``||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}return n}function St(e,t,n,r){let i=!1;for(let a=0,o=t.length;a<o;a++){let o=t[a],s=n&&n[e.length],c;if(o!=null&&o!==!0&&o!==!1){if((c=typeof o)==`object`&&o.nodeType)e.push(o);else if(Array.isArray(o))i=St(e,o,s)||i;else if(c===`function`){if(r){for(;typeof o==`function`;)o=o();i=St(e,Array.isArray(o)?o:[o],Array.isArray(s)?s:[s])||i}else e.push(o),i=!0}else{let t=String(o);s&&s.nodeType===3&&s.data===t?e.push(s):e.push(document.createTextNode(t))}}}return i}function Ct(e,t,n=null){for(let r=0,i=t.length;r<i;r++)e.insertBefore(t[r],n)}function $(e,t,n,r){if(n===void 0)return e.textContent=``;let i=r||document.createTextNode(``);if(t.length){let r=!1;for(let a=t.length-1;a>=0;a--){let o=t[a];if(i!==o){let t=o.parentNode===e;!r&&!a?t?e.replaceChild(i,o):e.insertBefore(i,n):t&&o.remove()}else r=!0}}else e.insertBefore(i,n);return[i]}function wt(t,n){let r=t.querySelectorAll(`*[data-hk]`);for(let t=0;t<r.length;t++){let i=r[t],a=i.getAttribute(`data-hk`);(!n||a.startsWith(n))&&!e.registry.has(a)&&e.registry.set(a,i)}}function Tt(){return e.getNextContextId()}var Et=()=>void 0;function Dt(e,...t){}function Ot(e){}var kt=`http://www.w3.org/2000/svg`;function At(e,t=!1,n=void 0){return t?document.createElementNS(kt,e):document.createElement(e,{is:n})}var jt=(...e)=>(we(),mt(...e));function Mt(t){let{useShadow:n}=t,r=document.createTextNode(``),i=()=>t.mount||document.body,a=j(),o,s=!!e.context;return w(()=>{s&&(j().user=s=!1),o||=M(a,()=>T(()=>t.children));let e=i();if(e instanceof HTMLHeadElement){let[t,n]=S(!1);x(n=>X(e,()=>t()?n():o(),null)),k(()=>n(!0))}else{let i=At(t.isSVG?`g`:`div`,t.isSVG),a=n&&i.attachShadow?i.attachShadow({mode:`open`}):i;Object.defineProperty(i,"_$host",{get(){return r.parentNode},configurable:!0}),X(a,o),e.appendChild(i),t.ref&&t.ref(i),k(()=>e.contains(i)&&e.removeChild(i))}},void 0,{render:!s}),r}function Nt(t,n){let r=T(t);return T(()=>{let t=r();switch(typeof t){case`function`:return D(()=>t(n));case`string`:let r=Xe.has(t),i=e.context?ht():At(t,r,D(()=>n.is));return dt(i,n,r),i}})}function Pt(e){let[,t]=Ae(e,[`component`]);return Nt(()=>e.component,t)}export{D as $,I as A,Ne as B,Fe as C,Ue as D,Le as E,T as F,re as G,j as H,C as I,Be as J,k as K,E as L,ee as M,P as N,Re as O,w as P,N as Q,x as R,Ve as S,ze as T,je as U,A as V,ke as W,e as X,M as Y,Ae as Z,nt as _,Ot as a,a as b,jt as c,_t as d,F as et,Y as f,ut as g,Dt as h,rt as i,Te as j,ne as k,X as l,dt as m,Mt as n,ht as o,it as p,O as q,st as r,gt as s,Pt as t,Qe as u,ft as v,Ie as w,s as x,Et as y,S as z};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { N as createComponent, h as ssr, u as escape, v as ssrHydrationKey } from "./_libs/solid-js.mjs";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
//#region node_modules/.nitro/vite/services/ssr/_build/assets/_...404_-DDEH5apf.js
|
|
2
|
+
import { Q as Title, n as HttpStatusCode } from "./_ssr/ssr.mjs";
|
|
3
|
+
//#region node_modules/.nitro/vite/services/ssr/_build/assets/_...404_-DM28Kka3.js
|
|
5
4
|
var _tmpl$ = [
|
|
6
5
|
"<main",
|
|
7
6
|
"><!--$-->",
|