if (self.CavalryLogger) { CavalryLogger.start_js(["iHVnD"]); } __d("BladeRunnerDeferredClient",["Promise","nullthrows","requireDeferred"],(function(a,b,c,d,e,f){a=function(){function a(){this.$1=null}var c=a.prototype;c.requestStream=function(a,c,d,e){this.$2();return b("nullthrows")(this.$1).then(function(b){return b.requestStream(a,c,d,e)})};c.logInfo=function(a){this.$2();return b("nullthrows")(this.$1).then(function(b){b.logInfo(a)})};c.bumpCounter=function(a){this.$2();return b("nullthrows")(this.$1).then(function(b){b.bumpCounter(a)})};c.$2=function(){this.$1==null&&(this.$1=new(b("Promise"))(function(a){b("requireDeferred")("BladeRunnerClient").onReady(function(b){a(new b())})}))};return a}();c=new a();e.exports=c}),null); __d("BladeRunnerStreamHandler",[],(function(a,b,c,d,e,f){a=function(){function a(a,b,c,d,e){this.$1=a,this.$2=b,this.$3=c||function(a){},this.$4=d||function(a){},this.$5=e||function(a){}}var b=a.prototype;b.onData=function(a){var b=this.$1,c=this.$2;if(b!=null)b(a.decodeData());else if(c!=null){b=atob(a.rawData());a=new Uint8Array(b.length);for(var d=0;d=1e4?Math.round(Math.min(a/1e4,6))*10:Math.round(Math.min(a/1e3,10));b("BladeRunnerDeferredClient").bumpCounter("status_latency."+this.$BladeRunnerInstrumentedStreamHandler2+"."+c+".s")}};return c}(b("BladeRunnerStreamHandler"));e.exports=a}),null); __d("clearImmediatePolyfill",["ImmediateImplementation"],(function(a,b,c,d,e,f){c=a.clearImmediate||b("ImmediateImplementation").clearImmediate;e.exports=c}),null); __d("isPromise",[],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a){return!!a&&typeof a.then==="function"}}),null); __d("stableStringify",[],(function(a,b,c,d,e,f){"use strict";e.exports=h;function g(a){return a!==null&&Object.prototype.toString.call(a)==="[object Object]"}function h(a){var b=Array.isArray(a),c=g(a);if(b||c){c=Object.keys(a);if(c.length){c=c.sort().map(function(b){var c=a[b],d;g(c)||Array.isArray(c)?d=h(c):d=JSON.stringify(c);return b+":"+d});if(b)return"["+c.join(",")+"]";else return"{"+c.join(",")+"}"}}return JSON.stringify(a)}}),null); __d("CurrentLocale",["LocaleInitialData"],(function(a,b,c,d,e,f){a={};a.get=function(){return b("LocaleInitialData").locale};c=a;e.exports=c}),null); __d("getSamplingPolicyConfig_DO_NOT_USE",["FalcoJSLoggerSamplingPolicies"],(function(a,b,c,d,e,f){"use strict";function a(a,c){switch(a){case"falco":return{__type:a,e:c,r:b("FalcoJSLoggerSamplingPolicies").rates[c]||0};default:return a}}e.exports=a}),null); __d("processRelaySRPayload",["HasteResponse","ifRequireable"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,c){var d=a.ddd;if(!d){c&&c();return}var e=function(){return b("HasteResponse").handle(babelHelpers["extends"]({},d.sr,{jsmods:d.js}),c)};b("ifRequireable")("JSScheduler",function(a){return a.runWithPriority(a.priorities.unstable_UserBlocking,e)},e)}}),null); __d("FalcoBanzaiTransport",["AnalyticsCoreData","Banzai","WebSession"],(function(a,b,c,d,e,f){"use strict";var g="falco:";function h(a,c){var d;b("Banzai").post(g+a.name,(d={},d.e=a.extra,d.r=a.rate,d.d=b("AnalyticsCoreData").device_id,d.s=b("WebSession").getId(),d),c)}a={log:function(a){h(a,b("Banzai").BASIC)},logImmediately:function(a){h(a,b("Banzai").VITAL)},logCritical:function(a){h(a,{signal:!0,retry:!0})}};e.exports=a}),null); __d("JSResource",["JSResourceReference"],(function(a,b,c,d,e,f){e.exports=a;var g={};function h(a,b){g[a]=b}function i(a){return g[a]}function a(a){a=a;var c=i(a);if(c)return c;c=new(b("JSResourceReference"))(a);h(a,c);return c}a.Reference=b("JSResourceReference");a.loadAll=b("JSResourceReference").loadAll}),null); __d("FalcoTransport",["AnalyticsCoreData","BladeRunnerTypes","FalcoBanzaiTransport","FalcoJSLoggerSamplingPolicies","JSResource","Queue","qex"],(function(a,b,c,d,e,f){"use strict";var g=b("BladeRunnerTypes").StreamStatus;c=(a=b("qex")._("1495392"))!=null?a:"br";var h=c+"_test",i=c+"_control",j=new Set(((d=b("qex")._("1505135"))!=null?d:"").split(",")),k=new Set(b("FalcoJSLoggerSamplingPolicies").events_eligible_for_stateless_processig),l=new(b("Queue"))(),m=new(b("Queue"))(),n=!1;function o(a){return Object.freeze({deviceId:b("AnalyticsCoreData").device_id,sessionId:a,appId:b("AnalyticsCoreData").app_id})}function p(a){l.start(function(b){return b(a)})}function q(){if(n)return;b("JSResource").loadAll([b("JSResource")("BladeRunnerClient").__setRef("FalcoTransport"),b("JSResource")("BladeRunnerStreamHandler").__setRef("FalcoTransport"),b("JSResource")("FalcoBladeRunnerTransport").__setRef("FalcoTransport"),b("JSResource")("WebSession").__setRef("FalcoTransport")],function(a,c,d,e){a=new a();var f=a.requestStream({method:"Falco"},JSON.stringify(o(e.getId())),new c(function(a){m.enqueue(a)},null,function(a){switch(a){case g.REJECTED:l.start(function(a){return a(b("FalcoBanzaiTransport"))});break;case g.STARTED:p(new d(f,m));break;case g.CLOSED:l.stop(!0);n=!1;break}},function(a){},function(a){}))});n=!0}function r(a,b){return{name:b+"$"+a.name,extra:a.extra,rate:a.rate,time:a.time}}var s;switch(c){case"double_br":s={log:function(a){b("FalcoBanzaiTransport").log(r(a,i)),q(),l.enqueue(function(b){return b.log(r(a,h))})},logImmediately:function(a){b("FalcoBanzaiTransport").logImmediately(r(a,i)),q(),l.enqueue(function(b){return b.logImmediately(r(a,h))})},logCritical:function(a){b("FalcoBanzaiTransport").logCritical(r(a,i)),q(),l.enqueue(function(b){return b.logCritical(r(a,h))})}};break;case"partial_br":s={log:function(a){j.has(a.name)?(q(),l.enqueue(function(b){return b.log(a)})):b("FalcoBanzaiTransport").log(a)},logImmediately:function(a){j.has(a.name)?(q(),l.enqueue(function(b){return b.logImmediately(a)})):b("FalcoBanzaiTransport").log(a)},logCritical:function(a){j.has(a.name)?(q(),l.enqueue(function(b){return b.logCritical(a)})):b("FalcoBanzaiTransport").logCritical(a)}};break;case"br":s={log:function(a){k.has(a.name)?(q(),l.enqueue(function(b){return b.log(a)})):b("FalcoBanzaiTransport").log(a)},logImmediately:function(a){k.has(a.name)?(q(),l.enqueue(function(b){return b.logImmediately(a)})):b("FalcoBanzaiTransport").logImmediately(a)},logCritical:function(a){k.has(a.name)?(q(),l.enqueue(function(b){return b.logCritical(a)})):b("FalcoBanzaiTransport").logCritical(a)}};break;case"banzai":default:s=b("FalcoBanzaiTransport");break}e.exports=s}),null); __d("FalcoLoggerInternal",["regeneratorRuntime","gkx","FalcoTransport","FalcoBanzaiTransport","Random","isPromise","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";var g;a=b("gkx")("1458993");var h=a?b("FalcoTransport"):b("FalcoBanzaiTransport");function i(a,c,d){var e,f;return b("regeneratorRuntime").async(function(g){while(1)switch(g.prev=g.next){case 0:if(!b("Random").coinflip(a)){g.next=10;break}e=c();if(!b("isPromise")(e)){g.next=8;break}g.next=5;return b("regeneratorRuntime").awrap(e);case 5:f=g.sent;g.next=9;break;case 8:f=e;case 9:d(f);case 10:case"end":return g.stop()}},null,this)}function j(a,c,d){var e=(g||(g=b("performanceAbsoluteNow")))();return{name:a,time:e,rate:c,extra:d}}e.exports={create:function(a){var b=a.e,c=a.r;return{log:function(a){i(c,a,function(a){return h.log(j(b,c,a))})},logAsync:function(a){i(c,a,function(a){return h.log(j(b,c,a))})},logImmediately:function(a){i(c,a,function(a){return h.logImmediately(j(b,c,a))})},logCritical:function(a){i(c,a,function(a){return h.logCritical(j(b,c,a))})}}}}}),null); __d("RealtimeFrameworksCounterFalcoEvent",["FalcoLoggerInternal","getSamplingPolicyConfig_DO_NOT_USE"],(function(a,b,c,d,e,f){"use strict";a=b("getSamplingPolicyConfig_DO_NOT_USE")("falco","realtime_frameworks_counter");c=b("FalcoLoggerInternal").create(a);e.exports=c}),null); __d("GraphQLSubscriptionsTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:GraphQLSubscriptionsLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:GraphQLSubscriptionsLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:GraphQLSubscriptionsLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setAppBackgrounded=function(a){this.$1.app_backgrounded=a;return this};c.setAppState=function(a){this.$1.app_state=a;return this};c.setAppID=function(a){this.$1.appid=a;return this};c.setAppversion=function(a){this.$1.appversion=a;return this};c.setAttemptCount=function(a){this.$1.attempt_count=a;return this};c.setClientSampleWeight=function(a){this.$1.client_sample_weight=a;return this};c.setClientUserID=function(a){this.$1.client_userid=a;return this};c.setClienttime=function(a){this.$1.clienttime=a;return this};c.setDebugData=function(a){this.$1.debug_data=a;return this};c.setDeltaTime=function(a){this.$1.delta_time=a;return this};c.setErrorRecoveryPolicyName=function(a){this.$1.error_recovery_policy_name=a;return this};c.setErrorRetriesEnabled=function(a){this.$1.error_retries_enabled=a;return this};c.setEvent=function(a){this.$1.event=a;return this};c.setExceptionCategory=function(a){this.$1.exception_category=a;return this};c.setExceptionData=function(a){this.$1.exception_data=a;return this};c.setExceptionType=function(a){this.$1.exception_type=a;return this};c.setFilterChain=function(a){this.$1.filter_chain=a;return this};c.setForceLogContext=function(a){this.$1.force_log_context=a;return this};c.setHandleType=function(a){this.$1.handle_type=a;return this};c.setHeartbeatInterval=function(a){this.$1.heartbeat_interval=a;return this};c.setHeartbeatSequenceID=function(a){this.$1.heartbeat_sequence_id=a;return this};c.setIsemployee=function(a){this.$1.isemployee=a;return this};c.setMqttClientCheckpoint=function(a){this.$1.mqtt_client_checkpoint=a;return this};c.setMqttState=function(a){this.$1.mqtt_state=a;return this};c.setMutationType=function(a){this.$1.mutation_type=a;return this};c.setName=function(a){this.$1.name=a;return this};c.setPublishCluster=function(a){this.$1.publish_cluster=a;return this};c.setPublishID=function(a){this.$1.publish_id=a;return this};c.setPublishTimeMs=function(a){this.$1.publish_time_ms=a;return this};c.setQueryID=function(a){this.$1.query_id=a;return this};c.setQueryParams=function(a){this.$1.query_params=b("GeneratedLoggerUtils").serializeMap(a);return this};c.setRawclienttime=function(a){this.$1.rawclienttime=a;return this};c.setReason=function(a){this.$1.reason=a;return this};c.setResult=function(a){this.$1.result=a;return this};c.setSessionID=function(a){this.$1.session_id=a;return this};c.setShadowingPayloadCount=function(a){this.$1.shadowing_payload_count=a;return this};c.setSubscriptionCall=function(a){this.$1.subscription_call=a;return this};c.setSubscriptionLeg=function(a){this.$1.subscription_leg=a;return this};c.setSubscriptionPayloadCount=function(a){this.$1.subscription_payload_count=a;return this};c.setTimeSinceLastWindowShownMs=function(a){this.$1.time_since_last_window_shown_ms=a;return this};c.setTopic=function(a){this.$1.topic=a;return this};c.setTopicData=function(a){this.$1.topic_data=b("GeneratedLoggerUtils").serializeMap(a);return this};return a}();c={app_backgrounded:!0,app_state:!0,appid:!0,appversion:!0,attempt_count:!0,client_sample_weight:!0,client_userid:!0,clienttime:!0,debug_data:!0,delta_time:!0,error_recovery_policy_name:!0,error_retries_enabled:!0,event:!0,exception_category:!0,exception_data:!0,exception_type:!0,filter_chain:!0,force_log_context:!0,handle_type:!0,heartbeat_interval:!0,heartbeat_sequence_id:!0,isemployee:!0,mqtt_client_checkpoint:!0,mqtt_state:!0,mutation_type:!0,name:!0,publish_cluster:!0,publish_id:!0,publish_time_ms:!0,query_id:!0,query_params:!0,rawclienttime:!0,reason:!0,result:!0,session_id:!0,shadowing_payload_count:!0,subscription_call:!0,subscription_leg:!0,subscription_payload_count:!0,time_since_last_window_shown_ms:!0,topic:!0,topic_data:!0};e.exports=a}),null); __d("generateLiteTypedLogger",["Banzai","getDataWithLoggerOptions"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a){return{log:function(c,d){b("Banzai").post(a,b("getDataWithLoggerOptions")(c,d),b("Banzai").BASIC)},logVital:function(c,d){b("Banzai").post(a,b("getDataWithLoggerOptions")(c,d),b("Banzai").VITAL)},logImmediately:function(c,d){b("Banzai").post(a,b("getDataWithLoggerOptions")(c,d),{signal:!0})}}}}),null); __d("clearImmediate",["TimerStorage","TimeSlice","clearImmediatePolyfill"],(function(a,b,c,d,e,f){e.exports=a;var g=b("TimerStorage").IMMEDIATE;function a(a){if(a!=null){b("TimerStorage").unset(b("TimerStorage").IMMEDIATE,a);var c=g+String(a);b("TimeSlice").cancelWithToken(c)}b("clearImmediatePolyfill")(a)}}),null); __d("ReactDOMComet",["requireCond","cr:1108857","cr:1294159"],(function(a,b,c,d,e,f){a=b("cr:1294159").createPortal;f.createPortal=a;c=b("cr:1294159").unstable_batchedUpdates;f.unstable_batchedUpdates=c;d=b("cr:1294159").flushSync;f.flushSync=d;e=b("cr:1294159").createRoot;f.createRoot=e;a=b("cr:1294159").createBlockingRoot;f.createBlockingRoot=a;c=b("cr:1294159").unstable_discreteUpdates;f.unstable_discreteUpdates=c;d=b("cr:1294159").unstable_flushDiscreteUpdates;f.unstable_flushDiscreteUpdates=d;e=b("cr:1294159").unstable_flushControlled;f.unstable_flushControlled=e;a=b("cr:1294159").unstable_scheduleHydration;f.unstable_scheduleHydration=a;c=b("cr:1294159").unstable_createEventHandle;f.unstable_createEventHandle=c}),null); __d("BladeRunnerWWWRolloutUtils",["BladeRunnerWWWExternSubscriptionsWhitelist"],(function(a,b,c,d,e,f){a={inRolloutWhitelist:"in_rollout_whitelist",notInRolloutWhitelist:"not_in_rollout_whitelist",topicInWhitelist:function(a){for(var c=b("BladeRunnerWWWExternSubscriptionsWhitelist").externSubscriptionsWhitelist,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=c.length)break;f=c[e++]}else{e=c.next();if(e.done)break;f=e.value}f=f;if(a.startsWith(f))return!0}return!1},getRolloutPositionForSubscription:function(a){if(this.topicInWhitelist(a))return this.inRolloutWhitelist;else return this.notInRolloutWhitelist}};e.exports=a}),null); __d("BladeRunnerWhitelist",["BladeRunnerGeneratedWhitelist","BladeRunnerWWWRolloutUtils","gkx"],(function(a,b,c,d,e,f){function g(a){return"FBGQLS:"+a.toUpperCase()}f.getGqlsMethodNameFromUseCase=g;function h(a){a=a.split("/");return a.length>2?g(a[1]):null}f.getGqlsMethodNameFor=h;var i=["gqls/test_actualized_subscribe/"];function a(a){if(b("gkx")("1628407")){if(!a.startsWith("gqls/"))return null;for(var c=0;c=d.length)break;f=d[e++]}else{e=d.next();if(e.done)break;f=e.value}f=f;if(a.startsWith(f))return h(a)}if(a.startsWith("gqls/comment_create_subscribe/")||a.startsWith("gqls/feedback_like_subscribe/")||a.startsWith("gqls/live_video_comment_create_subscribe/")||a.startsWith("gqls/stories_tray_subscribe/"))return h(a);if(a.startsWith("gqls/live_video_currently_watching_subscribe/"))return b("gkx")("1278737")?h(a):null;if(a.startsWith("gqls/living_room_video_state_subscribe/"))return b("gkx")("1278738")?h(a):null;if(a.startsWith("gqls/living_room_presence_subscribe/"))return b("gkx")("1278740")?h(a):null;return b("BladeRunnerWWWRolloutUtils").getRolloutPositionForSubscription(a)==b("BladeRunnerWWWRolloutUtils").inRolloutWhitelist?h(a):null}f.getRequestStreamMethodIfSupported=a}),null); __d("StreamStateMachineConstants",[],(function(a,b,c,d,e,f){"use strict";a={GQLS_STATE_CREATED:"created",GQLS_STATE_ACTIVE:"active",GQLS_STATE_PAUSED:"paused",GQLS_STATE_TERMINATED:"terminated"};f.states=a;b={GQLS_STATE_TRANSIT_ON_CREATE:"onCreated",GQLS_STATE_TRANSIT_ON_ACTIVE:"onActive",GQLS_STATE_TRANSIT_ON_PAUSE:"onPause",GQLS_STATE_TRANSIT_ON_RESUME:"onResume",GQLS_STATE_TRANSIT_ON_TERMINATE:"onTerminate"};f.events=b}),null); __d("SkywalkerManager",["regeneratorRuntime","Promise","BladeRunnerDeferredClient","BladeRunnerInstrumentedStreamHandler","BladeRunnerStreamHandler","BladeRunnerTypes","BladeRunnerWhitelist","Bootloader","StreamStateMachineConstants","nullthrows","promiseDone","requireDeferred"],(function(a,b,c,d,e,f){var g="request_stream",h="mqtt_skywalker",i=babelHelpers["extends"]({},b("StreamStateMachineConstants").events,{GQLS_STATE_TRANSIT_ON_REJECT:"onReject"});a=function(){function a(){}var c=a.prototype;c.subscribeViaRequestStreamWithMobileStyleTopicTransform=function(a,c,d){d===void 0&&(d={});var e=this.$3(b("BladeRunnerWhitelist").getGqlsMethodNameFromUseCase(a),null,c,d);b("promiseDone")(e);return{getTopic:function(){throw new Error("Unimplemented getTopic called for mobile style GQLS")},getContext:function(){throw new Error("Unimplemented getContext called for mobile style GQLS")},isUnsubscribed:function(){return this.$4},unsubscribe:function(){this.$4=!0;return e.then(function(a){return a.unsubscribe()})},$4:!1}};c.subscribe=function(a,c,d){d===void 0&&(d={});var e=this.$5(a,c,d);b("promiseDone")(e);return{getTopic:function(){return a},getContext:function(){return d.context},isUnsubscribed:function(){return this.$4},unsubscribe:function(){this.$4=!0;return e.then(function(a){return a.unsubscribe()})},$4:!1}};c.getSubscriptionType=function(a){return this.$6(a)?g:h};c.getSubscriptions=function(){var a=[],b=this.$1;b!=null&&(a=b.getSubscriptions().map(function(a){return{getTopic:function(){return a.getTopic()},getMessageListener:function(){return a.getMessageListener()},getCreationTime:function(){return a.getCreationTime()},isUnsubscribed:function(){return!b.isSubscribed(a)}}}));return a};c.$5=function(a,c,d){var e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:e=this.getSubscriptionType(a);if(!(e===g)){f.next=5;break}return f.abrupt("return",this.$3(b("nullthrows")(b("BladeRunnerWhitelist").getRequestStreamMethodIfSupported(a)),a,c,d));case 5:return f.abrupt("return",this.$7(a,c,d));case 6:case"end":return f.stop()}},null,this)};c.$7=function(a,c,d){var e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:f.next=2;return b("regeneratorRuntime").awrap(this.$8());case 2:e=f.sent;return f.abrupt("return",e.subscribe(a,c,d));case 4:case"end":return f.stop()}},null,this)};c.$6=function(a){return b("BladeRunnerWhitelist").getRequestStreamMethodIfSupported(a)!=null};c.$3=function(a,c,d,e){var f,g,h,j;return b("regeneratorRuntime").async(function(k){while(1)switch(k.prev=k.next){case 0:k.next=2;return b("regeneratorRuntime").awrap(this.$9());case 2:f=k.sent;g=f.patchContext(e.context);h=babelHelpers["extends"]({},e.headers||{},{method:a});c!=null&&(h.topic=c);k.next=8;return b("regeneratorRuntime").awrap(b("BladeRunnerDeferredClient").requestStream(h,JSON.stringify(g),new(b("BladeRunnerInstrumentedStreamHandler"))(new(b("BladeRunnerStreamHandler"))(function(a){a=JSON.parse(a);var b=c!=null?c:a.topic;d({topic:b,payload:a.payload})},null,function(a){if(e.gqlsLifecycleHandler){var c="";switch(a){case b("BladeRunnerTypes").StreamStatus.ACCEPTED:c=i.GQLS_STATE_TRANSIT_ON_CREATE;break;case b("BladeRunnerTypes").StreamStatus.REJECTED:c=i.GQLS_STATE_TRANSIT_ON_REJECT;break;case b("BladeRunnerTypes").StreamStatus.STARTED:c=i.GQLS_STATE_TRANSIT_ON_ACTIVE;break;case b("BladeRunnerTypes").StreamStatus.PAUSED:c=i.GQLS_STATE_TRANSIT_ON_PAUSE;break;case b("BladeRunnerTypes").StreamStatus.CLOSED:c=i.GQLS_STATE_TRANSIT_ON_TERMINATE;break}e.gqlsLifecycleHandler(c)}},function(a){}),a),e.instrumentationData));case 8:j=k.sent;e.onSubscribe&&e.onSubscribe({data:{},error:null});return k.abrupt("return",{unsubscribe:function(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:e.onUnsubscribeEager&&e.onUnsubscribeEager(),j.cancel(),e.onUnsubscribe&&e.onUnsubscribe({data:{},error:null});case 3:case"end":return a.stop()}},null,this)}});case 11:case"end":return k.stop()}},null,this)};c.$8=function(){var a,c;return b("regeneratorRuntime").async(function(d){while(1)switch(d.prev=d.next){case 0:if(!(this.$1!=null)){d.next=2;break}return d.abrupt("return",this.$1);case 2:a=new(b("Promise"))(function(a){b("Bootloader").loadModules(["MqttSkywalkerManager"],a,"SkywalkerManager")});d.next=5;return b("regeneratorRuntime").awrap(a);case 5:c=d.sent;this.$1=c;return d.abrupt("return",c);case 8:case"end":return d.stop()}},null,this)};c.$9=function(){var a,c;return b("regeneratorRuntime").async(function(d){while(1)switch(d.prev=d.next){case 0:if(!(this.$2!=null)){d.next=2;break}return d.abrupt("return",this.$2);case 2:a=new(b("Promise"))(function(a){b("requireDeferred")("SkywalkerUtils").onReady(function(b){a(b)})});d.next=5;return b("regeneratorRuntime").awrap(a);case 5:c=d.sent;this.$2=c;return d.abrupt("return",c);case 8:case"end":return d.stop()}},null,this)};return a}();c=new a();e.exports=c}),null); __d("relay-runtime/handlers/connection/ConnectionInterface",[],(function(a,b,c,d,e,f){"use strict";var g={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},h={CLIENT_MUTATION_ID:"clientMutationId",CURSOR:"cursor",EDGES:"edges",END_CURSOR:"endCursor",HAS_NEXT_PAGE:"hasNextPage",HAS_PREV_PAGE:"hasPreviousPage",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"pageInfo",START_CURSOR:"startCursor"};a={inject:function(a){h=a},get:function(){return h},isConnectionCall:function(a){return Object.prototype.hasOwnProperty.call(g,a.name)}};e.exports=a}),null); __d("relay-runtime/store/ClientID",[],(function(a,b,c,d,e,f){"use strict";var g="client:";function a(a,b,c){a=a+":"+b;c!=null&&(a+=":"+c);a.indexOf(g)!==0&&(a=g+a);return a}function b(a){return a.indexOf(g)===0}var h=0;function c(){return g+"local:"+h++}e.exports={generateClientID:a,generateUniqueClientID:c,isClientID:b}}),null); __d("relay-runtime/util/RelayDefaultHandleKey",[],(function(a,b,c,d,e,f){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}}),null); __d("relay-runtime/util/getRelayHandleKey",["invariant","relay-runtime/util/RelayDefaultHandleKey"],(function(a,b,c,d,e,f,g){"use strict";var h=b("relay-runtime/util/RelayDefaultHandleKey").DEFAULT_HANDLE_KEY;function a(a,b,c){if(b&&b!==h)return"__"+b+"_"+a;c!=null||g(0,3311);return"__"+c+"_"+a}e.exports=a}),null); __d("relay-runtime/handlers/connection/ConnectionHandler",["invariant","relay-runtime/handlers/connection/ConnectionInterface","relay-runtime/util/getRelayHandleKey","warning","relay-runtime/store/ClientID"],(function(a,b,c,d,e,f,g){"use strict";var h=b("relay-runtime/store/ClientID").generateClientID,i="connection",j="__connection_next_edge_index";function a(a,c){var d,e=a.get(c.dataID);if(!e)return;var f=b("relay-runtime/handlers/connection/ConnectionInterface").get(),g=f.EDGES,i=f.END_CURSOR,k=f.HAS_NEXT_PAGE,l=f.HAS_PREV_PAGE,o=f.PAGE_INFO,p=f.PAGE_INFO_TYPE;f=f.START_CURSOR;var q=e.getLinkedRecord(c.fieldKey),r=q&&q.getLinkedRecord(o);if(!q){e.setValue(null,c.handleKey);return}var s=h(e.getDataID(),c.handleKey),t=e.getLinkedRecord(c.handleKey);d=(d=t)!=null?d:a.get(s);var u=d&&d.getLinkedRecord(o);if(!d){var v=a.create(s,q.getType());v.setValue(0,j);v.copyFieldsFrom(q);s=q.getLinkedRecords(g);s&&(s=s.map(function(b){return m(a,v,b)}),v.setLinkedRecords(s,g));e.setLinkedRecord(v,c.handleKey);u=a.create(h(v.getDataID(),o),p);u.setValue(!1,k);u.setValue(!1,l);u.setValue(null,i);u.setValue(null,f);r&&u.copyFieldsFrom(r);v.setLinkedRecord(u,o)}else{t==null&&e.setLinkedRecord(d,c.handleKey);var w=d;s=q.getLinkedRecords(g);s&&(s=s.map(function(b){return m(a,w,b)}));p=w.getLinkedRecords(g);t=w.getLinkedRecord(o);w.copyFieldsFrom(q);p&&w.setLinkedRecords(p,g);t&&w.setLinkedRecord(t,o);e=[];d=c.args;if(p&&s)if(d.after!=null)if(u&&d.after===u.getValue(i)){q=new Set();n(p,e,q);n(s,e,q)}else{b("warning")(!1,"Relay: Unexpected after cursor `%s`, edges must be fetched from the end of the list (`%s`).",d.after,u&&u.getValue(i));return}else if(d.before!=null)if(u&&d.before===u.getValue(f)){t=new Set();n(s,e,t);n(p,e,t)}else{b("warning")(!1,"Relay: Unexpected before cursor `%s`, edges must be fetched from the beginning of the list (`%s`).",d.before,u&&u.getValue(f));return}else e=s;else s?e=s:e=p;e!=null&&e!==p&&w.setLinkedRecords(e,g);if(u&&r)if(d.after==null&&d.before==null)u.copyFieldsFrom(r);else if(d.before!=null||d.after==null&&d.last){u.setValue(!!r.getValue(l),l);o=r.getValue(f);typeof o==="string"&&u.setValue(o,f)}else if(d.after!=null||d.before==null&&d.first){u.setValue(!!r.getValue(k),k);c=r.getValue(i);typeof c==="string"&&u.setValue(c,i)}}}function c(a,c,d){c=b("relay-runtime/util/getRelayHandleKey")(i,c,null);return a.getLinkedRecord(c,d)}function d(a,c,d){var e=b("relay-runtime/handlers/connection/ConnectionInterface").get(),f=e.CURSOR;e=e.EDGES;var g=a.getLinkedRecords(e);if(!g){a.setLinkedRecords([c],e);return}var h;if(d==null)h=g.concat(c);else{h=[];var i=!1;for(var j=0;j=d.length)break;i=d[h++]}else{h=d.next();if(h.done)break;i=h.value}i=i;var j=c.get(i);if(j==null){b("warning")(!1,"[Relay][Mutation] The connection with id '"+i+"' doesn't exist.");continue}i=b("relay-runtime/handlers/connection/ConnectionHandler").buildConnectionEdge(c,j,e);i!=null||g(0,23071);a(j,i)}}}e.exports={AppendEdgeHandler:d,DeleteRecordHandler:c,PrependEdgeHandler:f}}),null); __d("relay-runtime/handlers/RelayDefaultHandlerProvider",["invariant","relay-runtime/handlers/connection/ConnectionHandler","relay-runtime/handlers/connection/MutationHandlers"],(function(a,b,c,d,e,f,g){"use strict";function a(a){switch(a){case"connection":return b("relay-runtime/handlers/connection/ConnectionHandler");case"deleteRecord":return b("relay-runtime/handlers/connection/MutationHandlers").DeleteRecordHandler;case"appendEdge":return b("relay-runtime/handlers/connection/MutationHandlers").AppendEdgeHandler;case"prependEdge":return b("relay-runtime/handlers/connection/MutationHandlers").PrependEdgeHandler}g(0,4515,a)}e.exports=a}),null); __d("relay-runtime/mutations/RelayDeclarativeMutationConfig",["relay-runtime/handlers/connection/ConnectionHandler","warning"],(function(a,b,c,d,e,f){"use strict";c=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"});d=Object.freeze({APPEND:"append",PREPEND:"prepend"});function a(a,b,c,d){var e=c?[c]:[],f=d?[d]:[];a.forEach(function(a){switch(a.type){case"NODE_DELETE":var c=g(a,b);c&&(e.push(c),f.push(c));break;case"RANGE_ADD":c=h(a,b);c&&(e.push(c),f.push(c));break;case"RANGE_DELETE":c=i(a,b);c&&(e.push(c),f.push(c));break}});return{optimisticUpdater:function(a,b){e.forEach(function(c){c(a,b)})},updater:function(a,b){f.forEach(function(c){c(a,b)})}}}function g(a,b){var c=a.deletedIDFieldName,d=k(b);return!d?null:function(a,b){b=a.getRootField(d);if(!b)return;b=b.getValue(c);b=Array.isArray(b)?b:[b];b.forEach(function(b){b&&typeof b==="string"&&a["delete"](b)})}}function h(a,c){var d=a.parentID,e=a.connectionInfo,f=a.edgeName;if(!d){b("warning")(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_ADD to work you must include a parentID");return null}var g=k(c);return!e||!g?null:function(a,c){c=a.get(d);if(!c)return;var h=a.getRootField(g);if(!h)return;h=h.getLinkedRecord(f);for(var i=e,j=Array.isArray(i),k=0,i=j?i:i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var l;if(j){if(k>=i.length)break;l=i[k++]}else{k=i.next();if(k.done)break;l=k.value}l=l;if(!h)continue;var m=b("relay-runtime/handlers/connection/ConnectionHandler").getConnection(c,l.key,l.filters);if(!m)continue;var n=b("relay-runtime/handlers/connection/ConnectionHandler").buildConnectionEdge(a,m,h);if(!n)continue;switch(l.rangeBehavior){case"append":b("relay-runtime/handlers/connection/ConnectionHandler").insertEdgeAfter(m,n);break;case"prepend":b("relay-runtime/handlers/connection/ConnectionHandler").insertEdgeBefore(m,n);break;default:b("warning")(!1,"RelayDeclarativeMutationConfig: RANGE_ADD range behavior `%s` will not work as expected in RelayModern, supported range behaviors are 'append', 'prepend'.",l.rangeBehavior);break}}}}function i(a,c){var d=a.parentID,e=a.connectionKeys,f=a.pathToConnection,g=a.deletedIDFieldName;if(!d){b("warning")(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_DELETE to work you must include a parentID");return null}var h=k(c);return!h?null:function(a,b){if(!b)return;var c=[];b=b[h];if(b&&Array.isArray(g)){for(var i=g,k=Array.isArray(i),l=0,i=k?i:i[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var m;if(k){if(l>=i.length)break;m=i[l++]}else{l=i.next();if(l.done)break;m=l.value}m=m;b&&typeof b==="object"&&(b=b[m])}Array.isArray(b)?b.forEach(function(a){a&&a.id&&typeof a==="object"&&typeof a.id==="string"&&c.push(a.id)}):b&&b.id&&typeof b.id==="string"&&c.push(b.id)}else b&&typeof g==="string"&&typeof b==="object"&&(b=b[g],typeof b==="string"?c.push(b):Array.isArray(b)&&b.forEach(function(a){typeof a==="string"&&c.push(a)}));j(d,e,f,a,c)}}function j(a,c,d,e,f){b("warning")(c!=null,"RelayDeclarativeMutationConfig: RANGE_DELETE must provide a connectionKeys");e=e.get(a);if(!e)return;if(d.length<2){b("warning")(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection must include at least parent and connection");return}var g=e;for(var e=1;e=h.length)return"break";e=h[j++]}else{j=h.next();if(j.done)return"break";e=j.value}var a=e,c=b("relay-runtime/handlers/connection/ConnectionHandler").getConnection(g,a.key,a.filters);c&&f.forEach(function(a){b("relay-runtime/handlers/connection/ConnectionHandler").deleteNode(c,a)})};for(var h=c,i=Array.isArray(h),j=0,h=i?h:h[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){d=a();if(d==="break")break}}function k(a){return a.fragment.selections&&a.fragment.selections.length>0&&a.fragment.selections[0].kind==="LinkedField"?a.fragment.selections[0].name:null}e.exports={MutationTypes:c,RangeOperations:d,convert:a}}),null); __d("relay-runtime/util/RelayConcreteNode",[],(function(a,b,c,d,e,f){"use strict";a={CONDITION:"Condition",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",VARIABLE:"Variable"};e.exports=a}),null); __d("relay-runtime/query/GraphQLTag",["invariant","relay-runtime/util/RelayConcreteNode","warning"],(function(a,b,c,d,e,f,g){"use strict";function a(a){g(0,3805)}function h(a){a=a;typeof a==="function"?(a=a(),b("warning")(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.",a.kind==="Fragment"?a.name:a.operation.name)):a["default"]&&(a=a["default"]);return a}function i(a){a=h(a);return typeof a==="object"&&a!==null&&a.kind===b("relay-runtime/util/RelayConcreteNode").FRAGMENT}function j(a){a=h(a);return typeof a==="object"&&a!==null&&a.kind===b("relay-runtime/util/RelayConcreteNode").REQUEST}function k(a){a=h(a);return typeof a==="object"&&a!==null&&a.kind===b("relay-runtime/util/RelayConcreteNode").INLINE_DATA_FRAGMENT}function l(a){a=h(a);i(a)||g(0,20130,JSON.stringify(a));return a}function c(a){var b;a=l(a);b=(b=a.metadata)==null?void 0:b.refetch;var c=b==null?void 0:b.connection;return b===null||typeof b!=="object"||c===null||typeof c!=="object"?null:a}function d(a){var b;a=l(a);b=(b=a.metadata)==null?void 0:b.refetch;return b===null||typeof b!=="object"?null:a}function f(a){a=h(a);j(a)||g(0,20129,JSON.stringify(a));return a}function m(a){a=h(a);k(a)||g(0,20131,JSON.stringify(a));return a}e.exports={getFragment:l,getPaginationFragment:c,getRefetchableFragment:d,getRequest:f,getInlineDataFragment:m,graphql:a,isFragment:i,isRequest:j,isInlineDataFragment:k}}),null); __d("relay-runtime/store/RelayConcreteVariables",["invariant"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b,c){var d;a.argumentDefinitions.forEach(function(e){if(Object.prototype.hasOwnProperty.call(c,e.name))return;d=d||babelHelpers["extends"]({},c);switch(e.kind){case"LocalArgument":d[e.name]=e.defaultValue;break;case"RootArgument":if(!Object.prototype.hasOwnProperty.call(b,e.name)){d[e.name]=void 0;break}d[e.name]=b[e.name];break;default:e,g(0,3322,e.kind,a.name)}});return d||c}function b(a,b){var c={};a.argumentDefinitions.forEach(function(a){var d=a.defaultValue;b[a.name]!=null&&(d=b[a.name]);c[a.name]=d});return c}e.exports={getFragmentVariables:a,getOperationVariables:b}}),null); __d("relay-runtime/util/stableCopy",[],(function(a,b,c,d,e,f){"use strict";function g(a){if(!a||typeof a!=="object")return a;if(Array.isArray(a))return a.map(g);var b=Object.keys(a).sort(),c={};for(var d=0;d-1}));d&&(e=e!=null?[d].concat(e):[d]);if(e===null)return a;else return r(a,q(e,c))}function c(a,b){if(a.storageKey)return a.storageKey;var c=a.args;a=a.name;return c&&c.length!==0?r(a,q(c,b)):a}function d(a,c){return r(a,(h||(h=b("relay-runtime/util/stableCopy")))(c))}function r(a,b){if(!b)return a;var c=[];for(var d in b)if(Object.prototype.hasOwnProperty.call(b,d)){var e=b[d];if(e!=null){c.push(d+":"+((e=JSON.stringify(e))!=null?e:"undefined"))}}return c.length===0?a:a+("("+c.join(",")+")")}function s(a,c){Object.prototype.hasOwnProperty.call(c,a)||g(0,5557,a);return(h||(h=b("relay-runtime/util/stableCopy")))(c[a])}function f(a){return""+n+a}function t(a){return""+o+a}i={FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",formatStorageKey:r,getArgumentValue:p,getArgumentValues:q,getHandleStorageKey:a,getStorageKey:c,getStableStorageKey:d,getModuleComponentKey:f,getModuleOperationKey:t};e.exports=i}),null); __d("relay-runtime/store/RelayModernSelector",["invariant","areEqual","warning","relay-runtime/store/RelayConcreteVariables","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=b("relay-runtime/store/RelayConcreteVariables").getFragmentVariables,k=(i=b("relay-runtime/store/RelayStoreUtils")).FRAGMENT_OWNER_KEY,l=i.FRAGMENTS_KEY,m=i.ID_KEY,n=i.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT;function o(a,b){typeof b==="object"&&b!==null&&!Array.isArray(b)||g(0,4618,a.name,JSON.stringify(b));var c=b[m],d=b[l],e=b[k];b=b[n]===!0;if(typeof c==="string"&&typeof d==="object"&&d!==null&&typeof d[a.name]==="object"&&d[a.name]!==null&&typeof e==="object"&&e!==null){e=e;d=d[a.name];d=j(a,e.variables,d);return x(a,c,d,e,b)}return null}function p(a,b){var c=null;b.forEach(function(b,d){d=b!=null?o(a,b):null;d!=null&&(c=c||[],c.push(d))});if(c==null)return null;else return{kind:"PluralReaderSelector",selectors:c}}function q(a,b){if(b==null)return b;else if(a.metadata&&a.metadata.plural===!0){Array.isArray(b)||g(0,13882,a.name,JSON.stringify(b),a.name);return p(a,b)}else{Array.isArray(b)&&g(0,13879,a.name,JSON.stringify(b),a.name);return o(a,b)}}function a(a,b){var c={};for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=a[d],f=b[d];c[d]=q(e,f)}return c}function c(a,b){var c={};for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=a[d],f=b[d];c[d]=r(e,f)}return c}function r(a,b){if(b==null)return b;else if(a.metadata&&a.metadata.plural===!0){Array.isArray(b)||g(0,13882,a.name,JSON.stringify(b),a.name);return s(a,b)}else{Array.isArray(b)&&g(0,13881,a.name,JSON.stringify(b),a.name);return t(a,b)}}function s(a,b){var c=null;b.forEach(function(b){b=b!=null?t(a,b):null;b!=null&&(c=c||[],c.push(b))});return c}function t(a,c){typeof c==="object"&&c!==null&&!Array.isArray(c)||g(0,4618,a.name,JSON.stringify(c));var d=c[m];if(typeof d==="string")return d;b("warning")(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`, or `null` is passed as the fragment reference for `%s` if it's conditonally included and the condition isn't met.",a.name,JSON.stringify(c),a.name,a.name);return null}function d(a,b){var c={};for(var d in a)if(Object.prototype.hasOwnProperty.call(a,d)){var e=a[d],f=b[d];e=u(e,f);Object.assign(c,e)}return c}function u(a,b){var c;if(b==null)return{};else if(((c=a.metadata)==null?void 0:c.plural)===!0){Array.isArray(b)||g(0,13882,a.name,JSON.stringify(b),a.name);return w(a,b)}else{Array.isArray(b)&&g(0,13881,a.name,JSON.stringify(b),a.name);return v(a,b)||{}}}function v(a,b){a=o(a,b);return!a?null:a.variables}function w(a,b){var c={};b.forEach(function(b,d){if(b!=null){d=v(a,b);d!=null&&Object.assign(c,d)}});return c}function f(a,c){return a.owner===c.owner&&a.dataID===c.dataID&&a.node===c.node&&(h||(h=b("areEqual")))(a.variables,c.variables)}function x(a,b,c,d,e){e===void 0&&(e=!1);return{kind:"SingularReaderSelector",dataID:b,isWithinUnmatchedTypeRefinement:e,node:a,variables:c,owner:d}}function y(a,b,c){return{dataID:b,node:a,variables:c}}e.exports={areEqualSelectors:f,createReaderSelector:x,createNormalizationSelector:y,getDataIDsFromFragment:r,getDataIDsFromObject:c,getSingularSelector:o,getPluralSelector:p,getSelector:q,getSelectorsFromObject:a,getVariablesFromSingularFragment:v,getVariablesFromPluralFragment:w,getVariablesFromFragment:u,getVariablesFromObject:d}}),null); __d("relay-runtime/util/deepFreeze",[],(function(a,b,c,d,e,f){"use strict";function g(a){Object.freeze(a);Object.getOwnPropertyNames(a).forEach(function(b){b=a[b];b&&typeof b==="object"&&!Object.isFrozen(b)&&g(b)});return a}e.exports=g}),null); __d("relay-runtime/util/getRequestIdentifier",["invariant","relay-runtime/util/stableCopy"],(function(a,b,c,d,e,f,g){"use strict";var h;function a(a,c){var d=a.cacheID!=null?a.cacheID:a.id;d!=null||g(0,22755,a.name);return d+JSON.stringify((h||(h=b("relay-runtime/util/stableCopy")))(c))}e.exports=a}),null); __d("relay-runtime/store/RelayModernOperationDescriptor",["relay-runtime/util/deepFreeze","relay-runtime/util/getRequestIdentifier","relay-runtime/store/RelayConcreteVariables","relay-runtime/store/RelayModernSelector","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f){"use strict";var g,h=b("relay-runtime/store/RelayConcreteVariables").getOperationVariables,i=b("relay-runtime/store/RelayModernSelector").createNormalizationSelector,j=b("relay-runtime/store/RelayModernSelector").createReaderSelector,k=b("relay-runtime/store/RelayStoreUtils").ROOT_ID;function a(a,b,c){c===void 0&&(c=k);var d=a.operation;b=h(d,b);var e=l(a,b);a={fragment:j(a.fragment,c,b,e),request:e,root:i(d,c,b)};return a}function l(a,c){a={identifier:b("relay-runtime/util/getRequestIdentifier")(a.params,c),node:a,variables:c};return a}e.exports={createOperationDescriptor:a,createRequestDescriptor:l}}),null); __d("relay-runtime/store/isRelayModernEnvironment",[],(function(a,b,c,d,e,f){"use strict";function a(a){return Boolean(a&&a["@@RelayModernEnvironment"])}e.exports=a}),null); __d("relay-runtime/mutations/applyOptimisticMutation",["invariant","relay-runtime/mutations/RelayDeclarativeMutationConfig","relay-runtime/store/isRelayModernEnvironment","relay-runtime/query/GraphQLTag","relay-runtime/store/RelayModernOperationDescriptor"],(function(a,b,c,d,e,f,g){"use strict";var h=b("relay-runtime/query/GraphQLTag").getRequest,i=b("relay-runtime/store/RelayModernOperationDescriptor").createOperationDescriptor;function a(a,c){b("relay-runtime/store/isRelayModernEnvironment")(a)||g(0,18234);var d=h(c.mutation);if(d.params.operationKind!=="mutation")throw new Error("commitMutation: Expected mutation operation");var e=c.optimisticUpdater,f=c.configs,j=c.optimisticResponse;c=c.variables;c=i(d,c);if(f){f=b("relay-runtime/mutations/RelayDeclarativeMutationConfig").convert(f,d,e);e=f.optimisticUpdater}return a.applyMutation({operation:c,response:j,updater:e})}e.exports=a}),null); __d("relay-runtime/mutations/commitLocalUpdate",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){a.commitUpdate(b)}e.exports=a}),null); __d("relay-runtime/mutations/validateMutation",["warning"],(function(a,b,c,d,e,f){"use strict";a=function(){};e.exports=a}),null); __d("relay-runtime/util/RelayFeatureFlags",[],(function(a,b,c,d,e,f){"use strict";a={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!1,ENABLE_RELAY_CONTAINERS_SUSPENSE:!1,ENABLE_PRECISE_TYPE_REFINEMENT:!1,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_REQUIRED_DIRECTIVES:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1};e.exports=a}),null); __d("relay-runtime/mutations/commitMutation",["invariant","relay-runtime/mutations/RelayDeclarativeMutationConfig","relay-runtime/util/RelayFeatureFlags","relay-runtime/store/isRelayModernEnvironment","relay-runtime/mutations/validateMutation","warning","relay-runtime/query/GraphQLTag","relay-runtime/store/ClientID","relay-runtime/store/RelayModernOperationDescriptor"],(function(a,b,c,d,e,f,g){"use strict";var h=b("relay-runtime/query/GraphQLTag").getRequest,i=b("relay-runtime/store/ClientID").generateUniqueClientID,j=b("relay-runtime/store/RelayModernOperationDescriptor").createOperationDescriptor;function a(a,c){b("relay-runtime/store/isRelayModernEnvironment")(a)||g(0,18234);var d=h(c.mutation);if(d.params.operationKind!=="mutation")throw new Error("commitMutation: Expected mutation operation");if(d.kind!=="Request")throw new Error("commitMutation: Expected mutation to be of type request");var e=c.optimisticResponse,f=c.optimisticUpdater,k=c.updater,l=c.configs,m=c.cacheConfig,n=c.onError,o=c.onUnsubscribe,p=c.variables,q=c.uploadables,r=j(d,p,i());typeof e==="function"&&(e=e(),b("warning")(!1,"commitMutation: Expected `optimisticResponse` to be an object, received a function."));if(l){p=b("relay-runtime/mutations/RelayDeclarativeMutationConfig").convert(l,d,f,k);f=p.optimisticUpdater;k=p.updater}var s=[];l=a.executeMutation({cacheConfig:m,operation:r,optimisticResponse:e,optimisticUpdater:f,updater:k,uploadables:q}).subscribe({next:function(a){Array.isArray(a)?a.forEach(function(a){a.errors&&s.push.apply(s,a.errors)}):a.errors&&s.push.apply(s,a.errors)},complete:function(){var b=c.onCompleted;if(b){var d=a.lookup(r.fragment);b(d.data,s.length!==0?s:null)}},error:n,unsubscribe:o});return{dispose:l.unsubscribe}}e.exports=a}),null); __d("relay-runtime/util/isPromise",[],(function(a,b,c,d,e,f){"use strict";function a(a){return!!a&&typeof a.then==="function"}e.exports=a}),null); __d("relay-runtime/network/RelayObservable",["Promise","relay-runtime/util/isPromise"],(function(a,b,c,d,e,f){"use strict";var g=a,h=function(){a.create=function(b){return new a(b)};function a(a){this.$1=a}a.onUnhandledError=function(a){g=a};a.from=function(a){return i(a)?j(a):b("relay-runtime/util/isPromise")(a)?k(a):l(a)};var c=a.prototype;c["catch"]=function(b){var c=this;return a.create(function(a){var d;c.subscribe({start:function(a){d=a},next:a.next,complete:a.complete,error:function(c){try{b(c).subscribe({start:function(a){d=a},next:a.next,complete:a.complete,error:a.error})}catch(b){a.error(b,!0)}}});return function(){return d.unsubscribe()}})};c.concat=function(b){var c=this;return a.create(function(a){var d;c.subscribe({start:function(a){d=a},next:a.next,error:a.error,complete:function(){d=b.subscribe(a)}});return function(){d&&d.unsubscribe()}})};c["do"]=function(b){var c=this;return a.create(function(a){var d=function(c){return function(){try{b[c]&&b[c].apply(b,arguments)}catch(a){g(a,!0)}a[c]&&a[c].apply(a,arguments)}};return c.subscribe({start:d("start"),next:d("next"),error:d("error"),complete:d("complete"),unsubscribe:d("unsubscribe")})})};c["finally"]=function(b){var c=this;return a.create(function(a){var d=c.subscribe(a);return function(){d.unsubscribe(),b()}})};c.ifEmpty=function(b){var c=this;return a.create(function(a){var d=!1,e=c.subscribe({next:function(b){d=!0,a.next(b)},error:a.error,complete:function(){d?a.complete():e=b.subscribe(a)}});return function(){e.unsubscribe()}})};c.subscribe=function(a){return m(this.$1,a)};c.map=function(b){var c=this;return a.create(function(a){var d=c.subscribe({complete:a.complete,error:a.error,next:function(c){try{c=b(c);a.next(c)}catch(b){a.error(b,!0)}}});return function(){d.unsubscribe()}})};c.mergeMap=function(b){var c=this;return a.create(function(d){var e=[];function f(a){this.$2=a,e.push(a)}function g(){e.splice(e.indexOf(this.$2),1),e.length===0&&d.complete()}c.subscribe({start:f,next:function(c){try{d.closed||a.from(b(c)).subscribe({start:f,next:d.next,error:d.error,complete:g})}catch(a){d.error(a,!0)}},error:d.error,complete:g});return function(){e.forEach(function(a){return a.unsubscribe()}),e.length=0}})};c.poll=function(b){var c=this;return a.create(function(a){var d,e,f=function f(){d=c.subscribe({next:a.next,error:a.error,complete:function(){e=setTimeout(f,b)}})};f();return function(){clearTimeout(e),d.unsubscribe()}})};c.toPromise=function(){var a=this;return new(b("Promise"))(function(b,c){var d=!1;a.subscribe({next:function(a){d||(d=!0,b(a))},error:c,complete:b})})};return a}();function i(a){return typeof a==="object"&&a!==null&&typeof a.subscribe==="function"}function j(a){return a instanceof h?a:h.create(function(b){return a.subscribe(b)})}function k(a){return h.create(function(b){a.then(function(a){b.next(a),b.complete()},b.error)})}function l(a){return h.create(function(b){b.next(a),b.complete()})}function m(a,b){var c=!1,d,e=function(a){return Object.defineProperty(a,"closed",{get:function(){return c}})};function f(){if(d){if(d.unsubscribe)d.unsubscribe();else try{d()}catch(a){g(a,!0)}d=void 0}}var h=e({unsubscribe:function(){if(!c){c=!0;try{b.unsubscribe&&b.unsubscribe(h)}catch(a){g(a,!0)}finally{f()}}}});try{b.start&&b.start(h)}catch(a){g(a,!0)}if(c)return h;e=e({next:function(a){if(!c&&b.next)try{b.next(a)}catch(a){g(a,!0)}},error:function(a,d){if(c||!b.error)c=!0,g(a,d||!1),f();else{c=!0;try{b.error(a)}catch(a){g(a,!0)}finally{f()}}},complete:function(){if(!c){c=!0;try{b.complete&&b.complete()}catch(a){g(a,!0)}finally{f()}}}});try{d=a(e)}catch(a){e.error(a,!0)}c&&f();return h}function a(a,b){}e.exports=h}),null); __d("relay-runtime/network/ConvertToExecuteFunction",["relay-runtime/network/RelayObservable"],(function(a,b,c,d,e,f){"use strict";function a(a){return function(c,d,e,f,g){var h=a(c,d,e,f,g);return h instanceof Error?b("relay-runtime/network/RelayObservable").create(function(a){return a.error(h)}):b("relay-runtime/network/RelayObservable").from(h)}}e.exports={convertFetch:a}}),null); __d("relay-runtime/network/RelayNetwork",["invariant","relay-runtime/network/ConvertToExecuteFunction"],(function(a,b,c,d,e,f,g){"use strict";var h=b("relay-runtime/network/ConvertToExecuteFunction").convertFetch;function a(a,b){var c=h(a);function d(a,d,e,f,h){if(a.operationKind==="subscription"){b||g(0,5158);f&&g(0,5159);return b(a,d,e)}var i=e.poll;if(i!=null){f&&g(0,5160);return c(a,d,{force:!0}).poll(i)}return c(a,d,e,f,h)}return{execute:d}}e.exports={create:a}}),null); __d("relay-runtime/network/RelayQueryResponseCache",["invariant","relay-runtime/util/stableCopy"],(function(a,b,c,d,e,f,g){"use strict";var h;a=function(){function a(a){var b=a.size;a=a.ttl;b>0||g(0,1167,b);a>0||g(0,1168,a);this.$1=new Map();this.$2=b;this.$3=a}var b=a.prototype;b.clear=function(){this.$1.clear()};b.get=function(a,b){var c=this;a=i(a,b);this.$1.forEach(function(a,b){j(a.fetchTime,c.$3)||c.$1["delete"](b)});b=this.$1.get(a);return b!=null?babelHelpers["extends"]({},b.payload,{extensions:babelHelpers["extends"]({},b.payload.extensions,{cacheTimestamp:b.fetchTime})}):null};b.set=function(a,b,c){var d=Date.now();a=i(a,b);this.$1["delete"](a);this.$1.set(a,{fetchTime:d,payload:c});if(this.$1.size>this.$2){b=this.$1.keys().next();b.done||this.$1["delete"](b.value)}};return a}();function i(a,c){return JSON.stringify((h||(h=b("relay-runtime/util/stableCopy")))({queryID:a,variables:c}))}function j(a,b){return a+b>=Date.now()}e.exports=a}),null); __d("relay-runtime/query/PreloadableQueryRegistry",[],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1=new Map(),this.$2=new Map()}var b=a.prototype;b.set=function(a,b){this.$1.set(a,b);a=this.$2.get(a);a!=null&&a.forEach(function(a){try{a(b)}catch(a){setTimeout(function(){throw a},0)}})};b.get=function(a){return this.$1.get(a)};b.onLoad=function(a,b){var c,d=(c=this.$2.get(a))!=null?c:new Set();d.add(b);c=function(){d["delete"](b)};this.$2.set(a,d);return{dispose:c}};b.clear=function(){this.$1.clear()};return a}();b=new a();e.exports=b}),null); __d("relay-runtime/query/fetchQuery",["relay-runtime/store/RelayModernOperationDescriptor","relay-runtime/query/GraphQLTag"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime/store/RelayModernOperationDescriptor").createOperationDescriptor,h=b("relay-runtime/query/GraphQLTag").getRequest;function a(a,b,c,d){b=h(b);if(b.params.operationKind!=="query")throw new Error("fetchQuery: Expected query operation");var e=g(b,c);return a.execute({operation:e,cacheConfig:d}).map(function(){return a.lookup(e.fragment).data}).toPromise()}e.exports=a}),null); __d("relay-runtime/util/RelayReplaySubject",["invariant","relay-runtime/network/RelayObservable"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){var a=this;this.$1=!1;this.$2=[];this.$3=new Set();this.$5=null;this.$4=b("relay-runtime/network/RelayObservable").create(function(b){a.$3.add(b);var c=a.$2;for(var d=0;d=b.length)break;e=b[d++]}else{d=b.next();if(d.done)break;e=d.value}e=e;var f=e[0];e=e[1];a[f]=e}return a};return a}();e.exports=a}),null); __d("relay-runtime/store/RelayRecordSource",["relay-runtime/store/RelayRecordSourceMapImpl"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(b){return a.create(b)}a.create=function(a){return new(b("relay-runtime/store/RelayRecordSourceMapImpl"))(a)};return a}();e.exports=a}),null); __d("relay-runtime/store/ReactFlight",["invariant","relay-runtime/store/RelayModernRecord"],(function(a,b,c,d,e,f,g){"use strict";var h,i=(h||b("relay-runtime/store/RelayModernRecord")).getType;d="queries";var j="tree",k="ReactFlightComponent";function a(a){return a==null||typeof a!=="object"||!Array.isArray(a.tree)||!Array.isArray(a.queries)?null:a}function c(a){i(a)===k||g(0,23728,a);a=a[j];return a!=null?a:null}e.exports={REACT_FLIGHT_QUERIES_STORAGE_KEY:d,REACT_FLIGHT_TREE_STORAGE_KEY:j,REACT_FLIGHT_TYPE_NAME:k,getReactFlightClientResponse:c,refineToReactFlightPayloadData:a}}),null); __d("relay-runtime/store/TypeID",[],(function(a,b,c,d,e,f){"use strict";var g="client:__type:";c="__TypeSchema";function a(a){return g+a}function b(a){return a.indexOf(g)===0}e.exports={generateTypeID:a,isTypeID:b,TYPE_SCHEMA_TYPE:c}}),null); __d("relay-runtime/util/RelayProfiler",[],(function(a,b,c,d,e,f){"use strict";function g(){}var h={"*":[]},i={"*":[]},j={},k={stop:g},l=function(a){return a.charAt(0)!=="@"},m={instrumentMethods:function(a,b){for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&(typeof a[c]==="function"&&(a[c]=m.instrument(b[c],a[c])))},instrument:function(a,b){if(!l(a)){b.attachHandler=g;b.detachHandler=g;return b}Object.prototype.hasOwnProperty.call(h,a)||(h[a]=[]);var c=h["*"],d=h[a],e=[],f=[],i=function g(){var h=f[f.length-1];h[0]?(h[0]--,c[h[0]](a,g)):h[1]?(h[1]--,d[h[1]](a,g)):h[2]?(h[2]--,e[h[2]](a,g)):h[5]=b.apply(h[3],h[4])},k=function(){var a;if(d.length===0&&e.length===0&&c.length===0)a=b.apply(this,arguments);else{f.push([c.length,d.length,e.length,this,arguments,j]);i();var g=f.pop();a=g[5];if(a===j)throw new Error("RelayProfiler: Handler did not invoke original function.")}return a};k.attachHandler=function(a){e.push(a)};k.detachHandler=function(a){n(e,a)};k.displayName="(instrumented "+a+")";return k},attachAggregateHandler:function(a,b){l(a)&&(Object.prototype.hasOwnProperty.call(h,a)||(h[a]=[]),h[a].push(b))},detachAggregateHandler:function(a,b){l(a)&&(Object.prototype.hasOwnProperty.call(h,a)&&n(h[a],b))},profile:function(a,b){var c=i["*"].length>0,d=Object.prototype.hasOwnProperty.call(i,a);if(d||c){c=d&&c?i[a].concat(i["*"]):d?i[a]:i["*"];var e;for(var d=c.length-1;d>=0;d--){var f=c[d];f=f(a,b);e=e||[];e.unshift(f)}return{stop:function(a){e&&e.forEach(function(b){return b(a)})}}}return k},attachProfileHandler:function(a,b){l(a)&&(Object.prototype.hasOwnProperty.call(i,a)||(i[a]=[]),i[a].push(b))},detachProfileHandler:function(a,b){l(a)&&(Object.prototype.hasOwnProperty.call(i,a)&&n(i[a],b))}};function n(a,b){b=a.indexOf(b);b!==-1&&a.splice(b,1)}e.exports=m}),null); __d("relay-runtime/store/RelayResponseNormalizer",["invariant","relay-runtime/util/RelayFeatureFlags","relay-runtime/store/RelayModernRecord","relay-runtime/util/RelayProfiler","areEqual","warning","relay-runtime/util/RelayConcreteNode","relay-runtime/store/ClientID","relay-runtime/store/ReactFlight","relay-runtime/store/RelayModernSelector","relay-runtime/store/RelayStoreUtils","relay-runtime/store/TypeID"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=(c=b("relay-runtime/util/RelayConcreteNode")).CONDITION,k=c.CLIENT_EXTENSION,l=c.DEFER,m=c.FLIGHT_FIELD,n=c.INLINE_FRAGMENT,o=c.LINKED_FIELD,p=c.LINKED_HANDLE,q=c.MODULE_IMPORT,r=c.SCALAR_FIELD,s=c.SCALAR_HANDLE,t=c.STREAM,u=c.TYPE_DISCRIMINATOR,v=b("relay-runtime/store/ClientID").generateClientID,w=b("relay-runtime/store/ClientID").isClientID,x=(d=b("relay-runtime/store/ReactFlight")).REACT_FLIGHT_QUERIES_STORAGE_KEY,y=d.REACT_FLIGHT_TREE_STORAGE_KEY,z=d.REACT_FLIGHT_TYPE_NAME,A=d.refineToReactFlightPayloadData,B=b("relay-runtime/store/RelayModernSelector").createNormalizationSelector,C=(f=b("relay-runtime/store/RelayStoreUtils")).getArgumentValues,D=f.getHandleStorageKey,E=f.getModuleComponentKey,F=f.getModuleOperationKey,G=f.getStorageKey,H=f.TYPENAME_KEY,I=f.ROOT_ID,J=f.ROOT_TYPE,K=b("relay-runtime/store/TypeID").generateTypeID,L=b("relay-runtime/store/TypeID").TYPE_SCHEMA_TYPE;function a(a,b,c,d){var e=b.dataID,f=b.node;b=b.variables;a=new M(a,b,d);return a.normalizeResponse(f,e,c)}var M=function(){function a(a,b,c){this.$1=c.getDataID,this.$2=[],this.$3=c.treatMissingFieldsAsNull,this.$4=[],this.$5=!1,this.$6=!1,this.$7=[],this.$8=c.path?[].concat(c.path):[],this.$9=a,this.$10=b,this.$11=c.reactFlightPayloadDeserializer}var c=a.prototype;c.normalizeResponse=function(a,b,c){var d=this.$9.get(b);d||g(0,3565,b);this.$12(a,d,c);return{errors:null,fieldPayloads:this.$2,incrementalPlaceholders:this.$4,moduleImportPayloads:this.$7,source:this.$9,isFinal:!1}};c.$13=function(a){Object.prototype.hasOwnProperty.call(this.$10,a)||g(0,3566,a);return this.$10[a]};c.$14=function(a){var b=a[H];b!=null||g(0,3567,JSON.stringify(a,null,2));return b};c.$12=function(a,c,d){for(var e=0;e=a.length)break;l=a[k++]}else{k=a.next();if(k.done)break;l=k.value}l=l;l.response.data!=null&&this.$7.push({data:l.response.data,dataID:I,operationReference:l.module,path:[],typeName:J,variables:l.variables});e.push({module:l.module,variables:l.variables})}h.setValue(i,x,e);h.setLinkedRecordID(d,f,c)};c.$22=function(a,c,d,e){var f;typeof e==="object"&&e||g(0,3571,d);f=this.$1(e,(f=a.concreteType)!=null?f:this.$14(e))||(h||(h=b("relay-runtime/store/RelayModernRecord"))).getLinkedRecordID(c,d)||v((h||(h=b("relay-runtime/store/RelayModernRecord"))).getDataID(c),d);typeof f==="string"||g(0,3572,d);(h||(h=b("relay-runtime/store/RelayModernRecord"))).setLinkedRecordID(c,d,f);c=this.$9.get(f);if(!c){d=a.concreteType||this.$14(e);c=(h||(h=b("relay-runtime/store/RelayModernRecord"))).create(f,d);this.$9.set(f,c)}this.$12(a,c,e)};c.$21=function(a,c,d,e){var f=this;Array.isArray(e)||g(0,3573,d);var i=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getLinkedRecordIDs(c,d),j=[];e.forEach(function(e,k){var l;if(e==null){j.push(e);return}f.$8.push(String(k));typeof e==="object"||g(0,3574,d);l=f.$1(e,(l=a.concreteType)!=null?l:f.$14(e))||i&&i[k]||v((h||(h=b("relay-runtime/store/RelayModernRecord"))).getDataID(c),d,k);typeof l==="string"||g(0,3575,d);j.push(l);k=f.$9.get(l);if(!k){var m=a.concreteType||f.$14(e);k=(h||(h=b("relay-runtime/store/RelayModernRecord"))).create(l,m);f.$9.set(l,k)}f.$12(a,k,e);f.$8.pop()});h.setLinkedRecordIDs(c,d,j)};c.$24=function(a,c,d){c=(c=c.concreteType)!=null?c:this.$14(d);d=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getDataID(a);b("warning")(w(d)&&d!==I||(h||(h=b("relay-runtime/store/RelayModernRecord"))).getType(a)===c,"RelayResponseNormalizer: Invalid record `%s`. Expected %s to be consistent, but the record was assigned conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",d,H,h.getType(a),c)};c.$20=function(a,b,c){};c.$23=function(a,b,c,d){};return a}();c=b("relay-runtime/util/RelayProfiler").instrument("RelayResponseNormalizer.normalize",a);e.exports={normalize:c}}),null); __d("relay-runtime/util/RelayError",[],(function(a,b,c,d,e,f){"use strict";function g(a,b,c){for(var d=arguments.length,e=new Array(d>3?d-3:0),f=3;f2?c-2:0),e=2;e2?c-2:0),e=2;e0?"active":"inactive";break;default:this.$18,g(0,20930)}this.$7.set(this.$6.request.identifier,a)};c.$31=function(a){var c=this,d=this.$15;if(d!=null){var e=this.$5++;b("relay-runtime/network/RelayObservable").create(function(b){var c=d.schedule(function(){try{a(),b.complete()}catch(a){b.error(a)}});return function(){return d.cancel(c)}}).subscribe({complete:function(){return c.$24(e)},error:function(a){return c.$25(a)},start:function(a){return c.$27(e,a)}})}else a()};c.$24=function(a){this.$20["delete"](a),this.$20.size===0&&(this.cancel(),this.$16.complete())};c.$25=function(a){this.cancel(),this.$16.error(a)};c.$27=function(a,b){this.$20.set(a,b),this.$30()};c.$26=function(a,b){var c=this;this.$31(function(){c.$32(b),c.$33()})};c.$34=function(a){var c=this,d=[];a.forEach(function(a){if(a.data===null&&a.extensions!=null&&!Object.prototype.hasOwnProperty.call(a,"errors"))return;else if(a.data==null){var e=Object.prototype.hasOwnProperty.call(a,"errors")&&a.errors!=null?a.errors:null,f=e?e.map(function(a){a=a.message;return a}).join("\n"):"(No errors)";f=b("relay-runtime/util/RelayError").create("RelayNetwork","No data returned for operation `"+c.$6.request.node.params.name+"`, got error(s):\n"+f+"\n\nSee the error `source` property for more information.");f.source={errors:e,operation:c.$6.request.node,variables:c.$6.request.variables};f.stack;throw f}else{e=a;d.push(e)}});return d};c.$35=function(a){var b;if(a.length>1){a.some(function(a){return((a=a.extensions)==null?void 0:a.isOptimistic)===!0})&&g(0,20658);return!1}a=a[0];b=((b=a.extensions)==null?void 0:b.isOptimistic)===!0;b&&this.$18!=="started"&&g(0,13474);if(b){this.$28(a,null,this.$2);this.$16.next(a);return!0}return!1};c.$32=function(a){if(this.$18==="completed")return;var b=Array.isArray(a)?a:[a],c=this.$34(b);if(c.length===0){b=b.some(function(a){return((a=a.extensions)==null?void 0:a.is_final)===!0});b&&(this.$18="loading_final",this.$30(),this.$3=!1);this.$16.next(a);return}b=this.$35(c);if(b)return;b=p(c);c=b[0];b=b[1];if(c.length>0){c=this.$36(c);var d=this.$13.run(this.$6);this.$37(d);this.$38(c);this.$3&&!this.$22&&(this.$22=this.$19.retain(this.$6))}if(b.length>0){d=this.$39(b);c=this.$13.run();this.$37(c);this.$38(d)}this.$16.next(a)};c.$28=function(a,c,d){var e=this;this.$11===null||g(0,11400);if(a==null&&c==null)return;var f=[];if(a){a=q(a,this.$6.root,l,{getDataID:this.$1,path:[],reactFlightPayloadDeserializer:this.$14,treatMissingFieldsAsNull:d});s(a);f.push({operation:this.$6,payload:a,updater:c});this.$40(a,f)}else c&&f.push({operation:this.$6,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,moduleImportPayloads:null,source:b("relay-runtime/store/RelayRecordSource").create(),isFinal:!1},updater:c});this.$11=f;f.forEach(function(a){return e.$13.applyUpdate(a)});this.$13.run()};c.$40=function(a,b){if(a.moduleImportPayloads&&a.moduleImportPayloads.length){a=a.moduleImportPayloads;var c=this.$8;c||g(0,12578);for(var a=a,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;var h=c.get(f.operationReference);if(h==null)this.$41(c,f);else{h=this.$42(h,f);b.push.apply(b,h)}}}};c.$43=function(a,b){b=k(b,a.dataID,a.variables);return q({data:a.data},b,a.typeName,{getDataID:this.$1,path:a.path,reactFlightPayloadDeserializer:this.$14,treatMissingFieldsAsNull:this.$2})};c.$42=function(a,c){a=b("relay-runtime/util/getOperation")(a);var d=[];c=this.$43(c,a);s(c);d.push({operation:this.$6,payload:c,updater:null});this.$40(c,d);return d};c.$41=function(a,c){var d=this;a.load(c.operationReference).then(function(a){if(a==null||d.$18!=="started")return;a=d.$42(a,c);a.forEach(function(a){return d.$13.applyUpdate(a)});if(d.$11==null)b("warning")(!1,"RelayModernQueryExecutor: Unexpected ModuleImport optimisitc update in operation %s."+d.$6.request.node.params.name);else{var e;(e=d.$11).push.apply(e,a);d.$13.run()}})};c.$36=function(a){var b=this;this.$11!==null&&(this.$11.forEach(function(a){return b.$13.revertUpdate(a)}),this.$11=null);this.$3=!1;this.$4.clear();this.$17.clear();return a.map(function(a){a=q(a,b.$6.root,l,{getDataID:b.$1,path:[],reactFlightPayloadDeserializer:b.$14,treatMissingFieldsAsNull:b.$2});b.$13.commitPayload(b.$6,a,b.$21);return a})};c.$38=function(a){var c=this;if(this.$18==="completed")return;a.forEach(function(a){var d=a.incrementalPlaceholders,e=a.moduleImportPayloads,f=a.isFinal;c.$18=f?"loading_final":"loading_incremental";c.$30();f&&(c.$3=!1);if(e&&e.length!==0){var h=c.$8;h||g(0,12578);e.forEach(function(a){c.$44(a,h)})}if(d&&d.length!==0){c.$3=c.$18!=="loading_final";d.forEach(function(b){c.$45(a,b)});if(c.$23||c.$18==="loading_final"){b("warning")(c.$23,"RelayModernEnvironment: Operation `%s` contains @defer/@stream directives but was executed in non-streaming mode. See https://fburl.com/relay-incremental-delivery-non-streaming-warning.",c.$6.request.node.params.name);var i=[];d.forEach(function(a){a.kind==="defer"&&i.push(c.$46(a.label,a.path,a,{data:a.data}))});if(i.length>0){f=c.$13.run();c.$37(f);c.$38(i)}}}})};c.$33=function(){var a=this.$6.request.node.params.operationKind==="subscription";if(!a)return;this.$12===0&&this.$3===!1&&this.$29()};c.$44=function(a,c){var d=this,e=c.get(a.operationReference);if(e!=null){e=b("relay-runtime/util/getOperation")(e);this.$47(a,e);this.$33()}else{var f=this.$5++;this.$12++;var g=function(){d.$12--,d.$33()};b("relay-runtime/network/RelayObservable").from(new(b("Promise"))(function(b,d){c.load(a.operationReference).then(b,d)})).map(function(c){c!=null&&d.$31(function(){d.$47(a,b("relay-runtime/util/getOperation")(c))})}).subscribe({complete:function(){d.$24(f),g()},error:function(a){d.$25(a),g()},start:function(a){return d.$27(f,a)}})}};c.$47=function(a,b){a=this.$43(a,b);this.$13.commitPayload(this.$6,a);b=this.$13.run();this.$37(b);this.$38([a])};c.$45=function(a,c){var d=c.label,e=c.path;e=e.map(String).join(".");var f=this.$4.get(d);f==null&&(f=new Map(),this.$4.set(d,f));d=f.get(e);d=d!=null&&d.kind==="response"?d.responses:null;f.set(e,{kind:"placeholder",placeholder:c});var i;c.kind==="stream"?i=c.parentID:c.kind==="defer"?i=c.selector.dataID:(c,g(0,19159,c.kind));f=a.source.get(i);c=((e=a.fieldPayloads)!=null?e:[]).filter(function(a){var b=j(a.dataID,a.fieldKey);return a.dataID===i||b===i});f!=null||g(0,17119,i);a=this.$17.get(i);if(a!=null){e=(h||(h=b("relay-runtime/store/RelayModernRecord"))).update(a.record,f);var k=new Map(),l=function(a){var b=r(a);k.set(b,a)};a.fieldPayloads.forEach(l);c.forEach(l);a=Array.from(k.values())}else e=f,a=c;this.$17.set(i,{record:e,fieldPayloads:a});if(d!=null){l=this.$39(d);f=this.$13.run();this.$37(f);this.$38(l)}};c.$39=function(a){var b=this,c=[];a.forEach(function(a){var d=a.label,e=a.path,f=a.response,h=b.$4.get(d);h==null&&(h=new Map(),b.$4.set(d,h));if(d.indexOf("$defer$")!==-1){var i=e.map(String).join("."),j=h.get(i);if(j==null){j={kind:"response",responses:[a]};h.set(i,j);return}else if(j.kind==="response"){j.responses.push(a);return}j=j.placeholder;j.kind==="defer"||g(0,13870,i,d,j.kind);c.push(b.$46(d,e,j,f))}else{i=e.slice(0,-2).map(String).join(".");j=h.get(i);if(j==null){j={kind:"response",responses:[a]};h.set(i,j);return}else if(j.kind==="response"){j.responses.push(a);return}h=j.placeholder;h.kind==="stream"||g(0,13871,i,d,h.kind);c.push(b.$48(d,e,h,f))}});return c};c.$46=function(a,c,d,e){a=d.selector.dataID;c=q(e,d.selector,d.typeName,{getDataID:this.$1,path:d.path,reactFlightPayloadDeserializer:this.$14,treatMissingFieldsAsNull:this.$2});this.$13.commitPayload(this.$6,c);d=this.$17.get(a);d!=null||g(0,14147,a);a=d.fieldPayloads;if(a.length!==0){a={errors:null,fieldPayloads:a,incrementalPlaceholders:null,moduleImportPayloads:null,source:b("relay-runtime/store/RelayRecordSource").create(),isFinal:((d=e.extensions)==null?void 0:d.is_final)===!0};this.$13.commitPayload(this.$6,a)}return c};c.$48=function(a,c,d,e){var f=d.parentID;a=d.node;var h=d.variables;a=a.selections[0];a!=null&&a.kind==="LinkedField"&&a.plural===!0||g(0,13873);e=this.$49(e,f,a,h,c,d.path);a=e.fieldPayloads;var i=e.itemID,j=e.itemIndex,k=e.prevIDs;h=e.relayPayload;var l=e.storageKey;this.$13.commitPayload(this.$6,h,function(a){var b=a.get(f);if(b==null)return;var c=b.getLinkedRecords(l);if(c==null)return;if(c.length!==k.length||c.some(function(a,b){return k[b]!==(a&&a.getDataID())}))return;c=[].concat(c);c[j]=a.get(i);b.setLinkedRecords(c,l)});if(a.length!==0){c={errors:null,fieldPayloads:a,incrementalPlaceholders:null,moduleImportPayloads:null,source:b("relay-runtime/store/RelayRecordSource").create(),isFinal:!1};this.$13.commitPayload(this.$6,c)}return h};c.$49=function(a,c,d,e,f,i){var l,o=a.data;typeof o==="object"||g(0,13872);l=(l=d.alias)!=null?l:d.name;var p=n(d,e),r=this.$17.get(c);r!=null||g(0,13875,c);var s=r.record;r=r.fieldPayloads;var t=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getLinkedRecordIDs(s,p);t!=null||g(0,13868,c,d.name);f=f[f.length-1];var u=parseInt(f,10);u===f&&u>=0||g(0,13876,f);f=(f=d.concreteType)!=null?f:o[m];typeof f==="string"||g(0,13866,d.name);o=((o=this.$1(o,f))!=null?o:t&&t[u])||j(c,p,u);typeof o==="string"||g(0,13865,p);d=k(d,o,e);e=h.clone(s);s=[].concat(t);s[u]=o;h.setLinkedRecordIDs(e,p,s);this.$17.set(c,{record:e,fieldPayloads:r});s=q(a,d,f,{getDataID:this.$1,path:[].concat(i,[l,String(u)]),reactFlightPayloadDeserializer:this.$14,treatMissingFieldsAsNull:this.$2});return{fieldPayloads:r,itemID:o,itemIndex:u,prevIDs:t,relayPayload:s,storageKey:p}};c.$37=function(a){this.$9!=null&&a!=null&&a.length>0&&this.$9.update(this.$6.request,new Set(a))};c.$29=function(){this.$9!=null&&this.$9.complete(this.$6.request)};return a}();function p(a){var b=[],c=[];a.forEach(function(a){if(a.path!=null||a.label!=null){var d=a.label,e=a.path;(d==null||e==null)&&g(0,13539);c.push({label:d,path:e,response:a})}else b.push(a)});return[b,c]}function q(a,c,d,e){var f=a.data,g=a.errors,i=b("relay-runtime/store/RelayRecordSource").create();d=(h||(h=b("relay-runtime/store/RelayModernRecord"))).create(c.dataID,d);i.set(c.dataID,d);d=b("relay-runtime/store/RelayResponseNormalizer").normalize(i,c,f,e);return babelHelpers["extends"]({},d,{errors:g,isFinal:((i=a.extensions)==null?void 0:i.is_final)===!0})}function r(a){return(a=JSON.stringify((i||(i=b("relay-runtime/util/stableCopy")))(a)))!=null?a:""}function s(a){a=a.incrementalPlaceholders;a!=null&&a.length!==0&&g(0,18487)}e.exports={execute:a}}),null); __d("relay-runtime/store/RelayOperationTracker",["invariant","Promise"],(function(a,b,c,d,e,f,g){"use strict";a=function(){function a(){this.$1=new Map(),this.$2=new Map(),this.$3=new Map()}var c=a.prototype;c.update=function(a,b){if(b.size===0)return;var c=new Set();for(var b=b,d=Array.isArray(b),e=0,b=d?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=b.length)break;f=b[e++]}else{e=b.next();if(e.done)break;f=e.value}f=f;var g=this.$1.get(f);g!=null?g.has(a)||(g.add(a),c.add(f)):(this.$1.set(f,new Set([a])),c.add(f))}if(c.size===0)return;g=this.$2.get(a)||new Set();for(var f=c,e=Array.isArray(f),d=0,f=e?f:f[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(e){if(d>=f.length)break;b=f[d++]}else{d=f.next();if(d.done)break;b=d.value}c=b;this.$4(c);g.add(c)}this.$2.set(a,g)};c.complete=function(a){var b=this.$2.get(a);if(b==null)return;var c=new Set(),d=new Set();for(var b=b,e=Array.isArray(b),f=0,b=e?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=b.length)break;g=b[f++]}else{f=b.next();if(f.done)break;g=f.value}g=g;var h=this.$1.get(g);if(!h)continue;h["delete"](a);h.size>0?d.add(g):c.add(g)}for(var h=c,g=Array.isArray(h),f=0,h=g?h:h[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(g){if(f>=h.length)break;e=h[f++]}else{f=h.next();if(f.done)break;e=f.value}b=e;this.$4(b);this.$1["delete"](b)}for(var c=d,e=Array.isArray(c),b=0,c=e?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){if(e){if(b>=c.length)break;f=c[b++]}else{b=c.next();if(b.done)break;f=b.value}g=f;this.$4(g)}this.$2["delete"](a)};c.$4=function(a){var b=this.$3.get(a);b!=null&&b.resolve();this.$3["delete"](a)};c.getPromiseForPendingOperationsAffectingOwner=function(a){if(!this.$1.has(a))return null;var c=this.$3.get(a);if(c!=null)return c.promise;var d;c=new(b("Promise"))(function(a){d=a});d!=null||g(0,16524);this.$3.set(a,{promise:c,resolve:d});return c};return a}();e.exports=a}),null); __d("relay-runtime/mutations/RelayRecordSourceMutator",["invariant","relay-runtime/store/RelayModernRecord","relay-runtime/store/RelayRecordState"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("relay-runtime/store/RelayRecordState").EXISTENT;a=function(){function a(a,b){this.__sources=[b,a],this.$1=a,this.$2=b}var c=a.prototype;c.unstable_getRawRecordWithChanges=function(a){var c=this.$1.get(a);a=this.$2.get(a);if(a===void 0){if(c==null)return c;var d=(h||(h=b("relay-runtime/store/RelayModernRecord"))).clone(c);return d}else if(a===null)return null;else if(c!=null){d=(h||(h=b("relay-runtime/store/RelayModernRecord"))).update(c,a);return d}else{c=(h||(h=b("relay-runtime/store/RelayModernRecord"))).clone(a);return c}};c.$3=function(a){var c=this.$2.get(a);if(!c){var d=this.$1.get(a);d||g(0,977,a);c=(h||(h=b("relay-runtime/store/RelayModernRecord"))).create(a,h.getType(d));this.$2.set(a,c)}return c};c.copyFields=function(a,c){var d=this.$2.get(a),e=this.$1.get(a);d||e||g(0,978,a);a=this.$3(c);e&&(h||(h=b("relay-runtime/store/RelayModernRecord"))).copyFields(e,a);d&&(h||(h=b("relay-runtime/store/RelayModernRecord"))).copyFields(d,a)};c.copyFieldsFromRecord=function(a,c){c=this.$3(c);(h||(h=b("relay-runtime/store/RelayModernRecord"))).copyFields(a,c)};c.create=function(a,c){this.$1.getStatus(a)!==i&&this.$2.getStatus(a)!==i||g(0,979,a);c=(h||(h=b("relay-runtime/store/RelayModernRecord"))).create(a,c);this.$2.set(a,c)};c["delete"]=function(a){this.$2["delete"](a)};c.getStatus=function(a){return this.$2.has(a)?this.$2.getStatus(a):this.$1.getStatus(a)};c.getType=function(a){for(var c=0;c0?this.$9||(this.$9=this.$1.holdGC()):this.$9&&(this.$9.dispose(),this.$9=null);return this.$1.notify(a,b)};c.$13=function(a){var c=this,d=a.payload,e=a.operation;a=a.updater;var f=d.source;d=d.fieldPayloads;var h=new(b("relay-runtime/mutations/RelayRecordSourceMutator"))(this.$1.getSource(),f),i=new(b("relay-runtime/mutations/RelayRecordSourceProxy"))(h,this.$3);d&&d.length&&d.forEach(function(a){var b=c.$2&&c.$2(a.handle);b||g(0,681,a.handle);b.update(i,a)});if(a){d=e.fragment;d!=null||g(0,12580);e=new(b("relay-runtime/mutations/RelayRecordSourceSelectorProxy"))(h,i,d);h=j(f,d);a(e,h)}d=i.getIDsMarkedForInvalidation();this.$1.publish(f,d);return i.isStoreMarkedForInvalidation()};c.$11=function(){var a=this;if(!this.$6.size)return!1;var c=!1;this.$6.forEach(function(d){if(d.kind==="payload"){var e=a.$13(d);c=c||e}else if(d.kind==="source"){e=d.source;a.$1.publish(e)}else{e=d.updater;d=b("relay-runtime/store/RelayRecordSource").create();var f=new(b("relay-runtime/mutations/RelayRecordSourceMutator"))(a.$1.getSource(),d);f=new(b("relay-runtime/mutations/RelayRecordSourceProxy"))(f,a.$3);(h||(h=b("ErrorUtils"))).applyWithGuard(e,null,[f],null,"RelayPublishQueue:commitData");c=c||f.isStoreMarkedForInvalidation();e=f.getIDsMarkedForInvalidation();a.$1.publish(d,e)}});this.$6.clear();return c};c.$12=function(){var a=this,c=b("relay-runtime/store/RelayRecordSource").create(),d=new(b("relay-runtime/mutations/RelayRecordSourceMutator"))(this.$1.getSource(),c),e=new(b("relay-runtime/mutations/RelayRecordSourceProxy"))(d,this.$3,this.$2),f=function(a){if(a.storeUpdater){var c=a.storeUpdater;(h||(h=b("ErrorUtils"))).applyWithGuard(c,null,[e],null,"RelayPublishQueue:applyUpdates")}else{c=a.operation;var f=a.payload;a=a.updater;var g=f.source;f=f.fieldPayloads;var i=new(b("relay-runtime/mutations/RelayRecordSourceSelectorProxy"))(d,e,c.fragment),k;g&&(e.publishSource(g,f),k=j(g,c.fragment));a&&(h||(h=b("ErrorUtils"))).applyWithGuard(a,null,[i,k],null,"RelayPublishQueue:applyUpdates")}};this.$5&&this.$8.size&&this.$8.forEach(f);this.$7.size&&(this.$7.forEach(function(b){f(b),a.$8.add(b)}),this.$7.clear());this.$1.publish(c)};return a}();function j(a,c){a=b("relay-runtime/store/RelayReader").read(a,c).data;return a}e.exports=a}),null); __d("relay-runtime/store/StoreInspector",[],(function(a,b,c,d,e,f){"use strict";a=function(){};e.exports={inspect:a}}),null); __d("relay-runtime/store/ViewerPattern",["relay-runtime/store/ClientID","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f){"use strict";a=b("relay-runtime/store/ClientID").generateClientID;c=b("relay-runtime/store/RelayStoreUtils").ROOT_ID;d=a(c,"viewer");f="Viewer";e.exports={VIEWER_ID:d,VIEWER_TYPE:f}}),null); __d("relay-runtime/store/defaultGetDataID",["relay-runtime/store/ViewerPattern"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime/store/ViewerPattern").VIEWER_ID,h=b("relay-runtime/store/ViewerPattern").VIEWER_TYPE;function a(a,b){return b===h?a.id==null?g:a.id:a.id}e.exports=a}),null); __d("relay-runtime/util/generateID",[],(function(a,b,c,d,e,f){"use strict";var g=1e5;function a(){return g++}e.exports=a}),null); __d("relay-runtime/store/RelayModernEnvironment",["invariant","relay-runtime/handlers/RelayDefaultHandlerProvider","relay-runtime/util/RelayFeatureFlags","relay-runtime/store/RelayModernQueryExecutor","relay-runtime/network/RelayObservable","relay-runtime/store/RelayOperationTracker","relay-runtime/store/RelayPublishQueue","relay-runtime/store/RelayRecordSource","relay-runtime/store/defaultGetDataID","relay-runtime/util/generateID","relay-runtime/store/StoreInspector"],(function(a,b,c,d,e,f,g){"use strict";c=function(){function c(c){var d,e=this;this.configName=c.configName;var f=c.handlerProvider?c.handlerProvider:b("relay-runtime/handlers/RelayDefaultHandlerProvider");this.$11=c.treatMissingFieldsAsNull===!0;var g=c.operationLoader,i=c.reactFlightPayloadDeserializer;this.__log=(d=c.log)!=null?d:h;this.$1=((d=c.UNSTABLE_defaultRenderPolicy)!=null?d:b("relay-runtime/util/RelayFeatureFlags").ENABLE_PARTIAL_RENDERING_DEFAULT===!0)?"partial":"full";this.$2=g;this.$12=new Map();this.$4=c.network;this.$10=(d=c.UNSTABLE_DO_NOT_USE_getDataID)!=null?d:b("relay-runtime/store/defaultGetDataID");this.$5=new(b("relay-runtime/store/RelayPublishQueue"))(c.store,f,this.$10);this.$6=(g=c.scheduler)!=null?g:null;this.$7=c.store;this.options=c.options;this.$13=(d=c.isServer)!=null?d:!1;this.__setNet=function(a){return e.$4=a};f=typeof a!=="undefined"?a:typeof window!=="undefined"?window:void 0;g=f&&f.__RELAY_DEVTOOLS_HOOK__;g&&g.registerEnvironment(this);this.$8=c.missingFieldHandlers;this.$9=(d=c.operationTracker)!=null?d:new(b("relay-runtime/store/RelayOperationTracker"))();this.$3=i}var d=c.prototype;d.getStore=function(){return this.$7};d.getNetwork=function(){return this.$4};d.getOperationTracker=function(){return this.$9};d.isRequestActive=function(a){a=this.$12.get(a);return a==="active"};d.UNSTABLE_getDefaultRenderPolicy=function(){return this.$1};d.applyUpdate=function(a){var b=this,c=function(){b.$14(function(){b.$5.revertUpdate(a),b.$5.run()})};this.$14(function(){b.$5.applyUpdate(a),b.$5.run()});return{dispose:c}};d.revertUpdate=function(a){var b=this;this.$14(function(){b.$5.revertUpdate(a),b.$5.run()})};d.replaceUpdate=function(a,b){var c=this;this.$14(function(){c.$5.revertUpdate(a),c.$5.applyUpdate(b),c.$5.run()})};d.applyMutation=function(a){var c=this,d=b("relay-runtime/network/RelayObservable").create(function(d){var e=b("relay-runtime/network/RelayObservable").create(function(a){}),f=b("relay-runtime/store/RelayModernQueryExecutor").execute({operation:a.operation,operationExecutions:c.$12,operationLoader:c.$2,optimisticConfig:a,publishQueue:c.$5,reactFlightPayloadDeserializer:c.$3,scheduler:c.$6,sink:d,source:e,store:c.$7,updater:null,operationTracker:c.$9,getDataID:c.$10,treatMissingFieldsAsNull:c.$11});return function(){return f.cancel()}}).subscribe({});return{dispose:function(){return d.unsubscribe()}}};d.check=function(a){return this.$8==null||this.$8.length===0?this.$7.check(a):this.$15(a,this.$8)};d.commitPayload=function(a,c){var d=this;b("relay-runtime/network/RelayObservable").create(function(e){var f=b("relay-runtime/store/RelayModernQueryExecutor").execute({operation:a,operationExecutions:d.$12,operationLoader:d.$2,optimisticConfig:null,publishQueue:d.$5,reactFlightPayloadDeserializer:d.$3,scheduler:d.$6,sink:e,source:b("relay-runtime/network/RelayObservable").from({data:c}),store:d.$7,updater:null,operationTracker:d.$9,getDataID:d.$10,isClientPayload:!0,treatMissingFieldsAsNull:d.$11});return function(){return f.cancel()}}).subscribe({})};d.commitUpdate=function(a){var b=this;this.$14(function(){b.$5.commitUpdate(a),b.$5.run()})};d.lookup=function(a){return this.$7.lookup(a)};d.subscribe=function(a,b){return this.$7.subscribe(a,b)};d.retain=function(a){return this.$7.retain(a)};d.isServer=function(){return this.$13};d.$15=function(a,c){var d=this,e=b("relay-runtime/store/RelayRecordSource").create();a=this.$7.check(a,{target:e,handlers:c});e.size()>0&&this.$14(function(){d.$5.commitSource(e),d.$5.run()});return a};d.$14=function(a){var b=this.$6;b!=null?b.schedule(a):a()};d.execute=function(a){var c=this,d=a.operation,e=a.cacheConfig,f=a.updater;a=this.__createLogObserver(d.request.node.params,d.request.variables);var g=a[0],h=a[1];return b("relay-runtime/network/RelayObservable").create(function(a){var i=c.$4.execute(d.request.node.params,d.request.variables,e||{},null,h)["do"](g),j=b("relay-runtime/store/RelayModernQueryExecutor").execute({operation:d,operationExecutions:c.$12,operationLoader:c.$2,optimisticConfig:null,publishQueue:c.$5,reactFlightPayloadDeserializer:c.$3,scheduler:c.$6,sink:a,source:i,store:c.$7,updater:f,operationTracker:c.$9,getDataID:c.$10,treatMissingFieldsAsNull:c.$11});return function(){return j.cancel()}})};d.executeMutation=function(a){var c=this,d=a.cacheConfig,e=a.operation,f=a.optimisticResponse,g=a.optimisticUpdater,h=a.updater,i=a.uploadables;a=this.__createLogObserver(e.request.node.params,e.request.variables);var j=a[0],k=a[1];return b("relay-runtime/network/RelayObservable").create(function(a){var l;(f||g)&&(l={operation:e,response:f,updater:g});var m=c.$4.execute(e.request.node.params,e.request.variables,babelHelpers["extends"]({},d,{force:!0}),i,k)["do"](j),n=b("relay-runtime/store/RelayModernQueryExecutor").execute({operation:e,operationExecutions:c.$12,operationLoader:c.$2,optimisticConfig:l,publishQueue:c.$5,reactFlightPayloadDeserializer:c.$3,scheduler:c.$6,sink:a,source:m,store:c.$7,updater:h,operationTracker:c.$9,getDataID:c.$10,treatMissingFieldsAsNull:c.$11});return function(){return n.cancel()}})};d.executeWithSource=function(a){var c=this,d=a.operation,e=a.source;return b("relay-runtime/network/RelayObservable").create(function(a){var f=b("relay-runtime/store/RelayModernQueryExecutor").execute({operation:d,operationExecutions:c.$12,operationLoader:c.$2,operationTracker:c.$9,optimisticConfig:null,publishQueue:c.$5,reactFlightPayloadDeserializer:c.$3,scheduler:c.$6,sink:a,source:e,store:c.$7,getDataID:c.$10,treatMissingFieldsAsNull:c.$11});return function(){return f.cancel()}})};d.toJSON=function(){var a;return"RelayModernEnvironment("+((a=this.configName)!=null?a:"")+")"};d.__createLogObserver=function(a,c){var d=b("relay-runtime/util/generateID")(),e=this.__log,f={start:function(b){e({name:"execute.start",transactionID:d,params:a,variables:c})},next:function(a){e({name:"execute.next",transactionID:d,response:a})},error:function(a){e({name:"execute.error",transactionID:d,error:a})},complete:function(){e({name:"execute.complete",transactionID:d})},unsubscribe:function(){e({name:"execute.unsubscribe",transactionID:d})}},g=function(a){e({name:"execute.info",transactionID:d,info:a})};return[f,g]};return c}();c.prototype["@@RelayModernEnvironment"]=!0;function h(){}e.exports=c}),null); __d("relay-runtime/store/cloneRelayHandleSourceField",["invariant","areEqual","relay-runtime/util/RelayConcreteNode","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("relay-runtime/util/RelayConcreteNode").LINKED_FIELD,j=b("relay-runtime/store/RelayStoreUtils").getHandleStorageKey;function a(a,c,d){c=c.find(function(c){return c.kind===i&&c.name===a.name&&c.alias===a.alias&&(h||(h=b("areEqual")))(c.args,a.args)});c&&c.kind===i||g(0,2847,a.handle);d=j(a,d);return{kind:"LinkedField",alias:c.alias,name:d,storageKey:d,args:null,concreteType:c.concreteType,plural:c.plural,selections:c.selections}}e.exports=a}),null); __d("relay-runtime/store/cloneRelayScalarHandleSourceField",["invariant","areEqual","relay-runtime/util/RelayConcreteNode","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("relay-runtime/util/RelayConcreteNode").SCALAR_FIELD,j=b("relay-runtime/store/RelayStoreUtils").getHandleStorageKey;function a(a,c,d){c=c.find(function(c){return c.kind===i&&c.name===a.name&&c.alias===a.alias&&(h||(h=b("areEqual")))(c.args,a.args)});c&&c.kind===i||g(0,23146,a.handle);d=j(a,d);return{kind:"ScalarField",alias:c.alias,name:d,storageKey:d,args:null}}e.exports=a}),null); __d("relay-runtime/store/DataChecker",["invariant","relay-runtime/util/RelayConcreteNode","relay-runtime/util/RelayFeatureFlags","relay-runtime/store/RelayModernRecord","relay-runtime/mutations/RelayRecordSourceMutator","relay-runtime/mutations/RelayRecordSourceProxy","relay-runtime/store/RelayStoreUtils","relay-runtime/store/cloneRelayHandleSourceField","relay-runtime/store/cloneRelayScalarHandleSourceField","relay-runtime/util/getOperation","relay-runtime/store/ClientID","relay-runtime/store/ReactFlight","relay-runtime/store/RelayRecordState","relay-runtime/store/TypeID"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("relay-runtime/store/ClientID").isClientID,j=b("relay-runtime/store/ReactFlight").REACT_FLIGHT_TREE_STORAGE_KEY,k=b("relay-runtime/store/ReactFlight").REACT_FLIGHT_QUERIES_STORAGE_KEY,l=b("relay-runtime/store/RelayRecordState").EXISTENT,m=b("relay-runtime/store/RelayRecordState").UNKNOWN,n=b("relay-runtime/store/TypeID").generateTypeID,o=(c=b("relay-runtime/util/RelayConcreteNode")).CONDITION,p=c.CLIENT_EXTENSION,q=c.DEFER,r=c.FLIGHT_FIELD,s=c.FRAGMENT_SPREAD,t=c.INLINE_FRAGMENT,u=c.LINKED_FIELD,v=c.LINKED_HANDLE,w=c.MODULE_IMPORT,x=c.SCALAR_FIELD,y=c.SCALAR_HANDLE,z=c.STREAM,A=c.TYPE_DISCRIMINATOR,B=(d=b("relay-runtime/store/RelayStoreUtils")).ROOT_ID,C=d.getModuleOperationKey,D=d.getStorageKey,E=d.getArgumentValues;function a(a,b,c,d,e,f){var g=c.dataID,h=c.node;c=c.variables;a=new F(a,b,c,d,e,f);return a.check(h,g)}var F=function(){function a(a,c,d,e,f,g){c=new(b("relay-runtime/mutations/RelayRecordSourceMutator"))(a,c);this.$2=null;this.$1=e;this.$3=c;this.$4=(e=f)!=null?e:null;this.$6=new(b("relay-runtime/mutations/RelayRecordSourceProxy"))(c,g);this.$7=!1;this.$8=a;this.$9=d}var c=a.prototype;c.check=function(a,b){this.$10(a,b);return this.$7===!0?{status:"missing",mostRecentlyInvalidatedAt:this.$2}:{status:"available",mostRecentlyInvalidatedAt:this.$2}};c.$11=function(a){Object.prototype.hasOwnProperty.call(this.$9,a)||g(0,2044,a);return this.$9[a]};c.$12=function(){this.$7=!0};c.$13=function(a,b){return{args:a.args?E(a.args,this.$9):{},record:this.$8.get(b)}};c.$14=function(a,b){if(a.name==="id"&&a.alias==null&&i(b))return void 0;b=this.$13(a,b);var c=b.args;b=b.record;for(var d=this.$1,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=d.length)break;g=d[f++]}else{f=d.next();if(f.done)break;g=f.value}g=g;if(g.kind==="scalar"){g=g.handle(a,b,c,this.$6);if(g!==void 0)return g}}this.$12()};c.$15=function(a,b){b=this.$13(a,b);var c=b.args;b=b.record;for(var d=this.$1,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=d.length)break;g=d[f++]}else{f=d.next();if(f.done)break;g=f.value}g=g;if(g.kind==="linked"){g=g.handle(a,b,c,this.$6);if(g!==void 0&&(g===null||this.$3.getStatus(g)===l))return g}}this.$12()};c.$16=function(a,b){var c=this;b=this.$13(a,b);var d=b.args;b=b.record;for(var e=this.$1,f=Array.isArray(e),g=0,e=f?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(f){if(g>=e.length)break;h=e[g++]}else{g=e.next();if(g.done)break;h=g.value}h=h;if(h.kind==="pluralLinked"){h=h.handle(a,b,d,this.$6);if(h!=null){var i=h.every(function(a){return a!=null&&c.$3.getStatus(a)===l});if(i)return h}else if(h===null)return null}}this.$12()};c.$10=function(a,c){var d=this.$3.getStatus(c);d===m&&this.$12();if(d===l){d=this.$8.get(c);d=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getInvalidationEpoch(d);d!=null&&(this.$2=this.$2!=null?Math.max(this.$2,d):d);this.$17(a.selections,c)}};c.$17=function(a,c){var d=this;a.forEach(function(e){switch(e.kind){case x:d.$18(e,c);break;case u:e.plural?d.$19(e,c):d.$20(e,c);break;case o:var f=d.$11(e.condition);f===e.passingValue&&d.$17(e.selections,c);break;case t:f=e.abstractKey;if(f==null){var h=d.$3.getType(c);h===e.type&&d.$17(e.selections,c)}else if(b("relay-runtime/util/RelayFeatureFlags").ENABLE_PRECISE_TYPE_REFINEMENT){h=d.$3.getType(c);h!=null||g(0,22686,c);h=n(h);h=d.$3.getValue(h,f);h===!0?d.$17(e.selections,c):h==null&&d.$12()}else d.$17(e.selections,c);break;case v:f=b("relay-runtime/store/cloneRelayHandleSourceField")(e,a,d.$9);f.plural?d.$19(f,c):d.$20(f,c);break;case y:h=b("relay-runtime/store/cloneRelayScalarHandleSourceField")(e,a,d.$9);d.$18(h,c);break;case w:d.$21(e,c);break;case q:case z:d.$17(e.selections,c);break;case s:g(0,2045,e.kind);break;case p:f=d.$7;d.$17(e.selections,c);d.$7=f;break;case A:if(b("relay-runtime/util/RelayFeatureFlags").ENABLE_PRECISE_TYPE_REFINEMENT){h=e.abstractKey;f=d.$3.getType(c);f!=null||g(0,22686,c);f=n(f);f=d.$3.getValue(f,h);f==null&&d.$12()}break;case r:if(b("relay-runtime/util/RelayFeatureFlags").ENABLE_REACT_FLIGHT_COMPONENT_FIELD)d.$22(e,c);else throw new Error("Flight fields are not yet supported.");break;default:e,g(0,2045,e.kind)}})};c.$21=function(a,c){var d=this.$4;d!==null||g(0,13642);a=C(a.documentName);a=this.$3.getValue(c,a);if(a==null){a===void 0&&this.$12();return}d=d.get(a);if(d!=null){a=b("relay-runtime/util/getOperation")(d);this.$10(a,c)}else this.$12()};c.$18=function(a,b){var c=D(a,this.$9),d=this.$3.getValue(b,c);d===void 0&&(d=this.$14(a,b),d!==void 0&&this.$3.setValue(b,c,d))};c.$20=function(a,b){var c=D(a,this.$9),d=this.$3.getLinkedRecordID(b,c);d===void 0&&(d=this.$15(a,b),d!=null?this.$3.setLinkedRecordID(b,c,d):d===null&&this.$3.setValue(b,c,null));d!=null&&this.$10(a,d)};c.$19=function(a,b){var c=this,d=D(a,this.$9),e=this.$3.getLinkedRecordIDs(b,d);e===void 0&&(e=this.$16(a,b),e!=null?this.$3.setLinkedRecordIDs(b,d,e):e===null&&this.$3.setValue(b,d,null));e&&e.forEach(function(b){b!=null&&c.$10(a,b)})};c.$22=function(a,c){a=D(a,this.$9);c=this.$3.getLinkedRecordID(c,a);if(c==null){if(c===void 0){this.$12();return}return}a=this.$3.getValue(c,j);c=this.$3.getValue(c,k);if(a==null||!Array.isArray(c)){this.$12();return}a=this.$4;a!==null||g(0,23899);var d=this.$9;for(var c=c,e=Array.isArray(c),f=0,c=e?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(e){if(f>=c.length)break;h=c[f++]}else{f=c.next();if(f.done)break;h=f.value}h=h;this.$9=h.variables;h=a.get(h.module);if(h!=null){h=b("relay-runtime/util/getOperation")(h);this.$17(h.selections,B)}else this.$12()}this.$9=d};return a}();e.exports={check:a}}),null); __d("relay-runtime/store/RelayOptimisticRecordSource",["relay-runtime/store/RelayRecordSource"],(function(a,b,c,d,e,f){"use strict";var g=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),h=function(){function a(a){this.$1=a,this.$2=b("relay-runtime/store/RelayRecordSource").create()}var c=a.prototype;c.has=function(a){if(this.$2.has(a)){var b=this.$2.get(a);return b!==g}else return this.$1.has(a)};c.get=function(a){if(this.$2.has(a)){var b=this.$2.get(a);if(b===g)return void 0;else return b}else return this.$1.get(a)};c.getStatus=function(a){a=this.get(a);if(a===void 0)return"UNKNOWN";else if(a===null)return"NONEXISTENT";else return"EXISTENT"};c.clear=function(){this.$1=b("relay-runtime/store/RelayRecordSource").create(),this.$2.clear()};c["delete"]=function(a){this.$2["delete"](a)};c.remove=function(a){this.$2.set(a,g)};c.set=function(a,b){this.$2.set(a,b)};c.getRecordIDs=function(){return Object.keys(this.toJSON())};c.size=function(){return Object.keys(this.toJSON()).length};c.toJSON=function(){var a=this,b=babelHelpers["extends"]({},this.$1.toJSON());this.$2.getRecordIDs().forEach(function(c){var d=a.get(c);d===void 0?delete b[c]:b[c]=d});return b};return a}();function a(a){return new h(a)}e.exports={create:a}}),null); __d("relay-runtime/store/RelayReferenceMarker",["invariant","relay-runtime/util/RelayConcreteNode","relay-runtime/util/RelayFeatureFlags","relay-runtime/store/RelayModernRecord","relay-runtime/store/RelayStoreUtils","relay-runtime/store/cloneRelayHandleSourceField","relay-runtime/util/getOperation","relay-runtime/store/ReactFlight","relay-runtime/store/TypeID"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("relay-runtime/store/ReactFlight").REACT_FLIGHT_QUERIES_STORAGE_KEY,j=b("relay-runtime/store/TypeID").generateTypeID,k=(c=b("relay-runtime/util/RelayConcreteNode")).CONDITION,l=c.CLIENT_EXTENSION,m=c.DEFER,n=c.FLIGHT_FIELD,o=c.FRAGMENT_SPREAD,p=c.INLINE_FRAGMENT,q=c.LINKED_FIELD,r=c.MODULE_IMPORT,s=c.LINKED_HANDLE,t=c.SCALAR_FIELD,u=c.SCALAR_HANDLE,v=c.STREAM,w=c.TYPE_DISCRIMINATOR,x=b("relay-runtime/store/RelayStoreUtils").ROOT_ID,y=b("relay-runtime/store/RelayStoreUtils").getStorageKey,z=b("relay-runtime/store/RelayStoreUtils").getModuleOperationKey;function a(a,b,c,d){var e=b.dataID,f=b.node;b=b.variables;a=new A(a,b,c,d);a.mark(f,e)}var A=function(){function a(a,b,c,d){this.$1=(d=d)!=null?d:null;this.$2=null;this.$3=a;this.$4=c;this.$5=b}var c=a.prototype;c.mark=function(a,b){(a.kind==="Operation"||a.kind==="SplitOperation")&&(this.$2=a.name),this.$6(a,b)};c.$6=function(a,b){this.$4.add(b);b=this.$3.get(b);if(b==null)return;this.$7(a.selections,b)};c.$8=function(a){Object.prototype.hasOwnProperty.call(this.$5,a)||g(0,5170,a);return this.$5[a]};c.$7=function(a,c){var d=this;a.forEach(function(e){switch(e.kind){case q:e.plural?d.$9(e,c):d.$10(e,c);break;case k:var f=d.$8(e.condition);f===e.passingValue&&d.$7(e.selections,c);break;case p:if(e.abstractKey==null){f=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getType(c);f!=null&&f===e.type&&d.$7(e.selections,c)}else if(b("relay-runtime/util/RelayFeatureFlags").ENABLE_PRECISE_TYPE_REFINEMENT){f=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getType(c);f=j(f);d.$4.add(f);d.$7(e.selections,c)}else d.$7(e.selections,c);break;case o:g(0,5171,e.name);case s:f=b("relay-runtime/store/cloneRelayHandleSourceField")(e,a,d.$5);f.plural?d.$9(f,c):d.$10(f,c);break;case m:case v:d.$7(e.selections,c);break;case t:case u:break;case w:if(b("relay-runtime/util/RelayFeatureFlags").ENABLE_PRECISE_TYPE_REFINEMENT){f=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getType(c);f=j(f);d.$4.add(f)}break;case r:d.$11(e,c);break;case l:d.$7(e.selections,c);break;case n:if(b("relay-runtime/util/RelayFeatureFlags").ENABLE_REACT_FLIGHT_COMPONENT_FIELD)d.$12(e,c);else throw new Error("Flight fields are not yet supported.");break;default:e,g(0,5172,e)}})};c.$11=function(a,c){var d,e=this.$1;e!==null||g(0,23904,a.fragmentName,(d=this.$2)!=null?d:"(unknown)");d=z(a.documentName);a=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getValue(c,d);if(a==null)return;d=e.get(a);if(d!=null){e=b("relay-runtime/util/getOperation")(d).selections;this.$7(e,c)}};c.$10=function(a,c){var d=y(a,this.$5);c=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getLinkedRecordID(c,d);if(c==null)return;this.$6(a,c)};c.$9=function(a,c){var d=this,e=y(a,this.$5);c=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getLinkedRecordIDs(c,e);if(c==null)return;c.forEach(function(b){b!=null&&d.$6(a,b)})};c.$12=function(a,c){a=y(a,this.$5);c=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getLinkedRecordID(c,a);if(c==null)return;this.$4.add(c);a=this.$3.get(c);if(a==null)return;c=h.getValue(a,i);if(!Array.isArray(c))return;a=this.$1;a!==null||g(0,23917);var d=this.$5;for(var c=c,e=Array.isArray(c),f=0,c=e?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var j;if(e){if(f>=c.length)break;j=c[f++]}else{f=c.next();if(f.done)break;j=f.value}j=j;this.$5=j.variables;j=j.module;j=a.get(j);if(j!=null){j=b("relay-runtime/util/getOperation")(j);this.$6(j,x)}}this.$5=d};return a}();e.exports={mark:a}}),null); __d("relay-runtime/store/hasOverlappingIDs",[],(function(a,b,c,d,e,f){"use strict";var g=Object.prototype.hasOwnProperty;function a(a,b){for(var c in a)if(g.call(a,c)&&g.call(b,c))return!0;return!1}e.exports=a}),null); __d("relay-runtime/util/recycleNodesInto",[],(function(a,b,c,d,e,f){"use strict";function g(a,b){if(a===b||typeof a!=="object"||!a||typeof b!=="object"||!b)return b;var c=!1,d=Array.isArray(a)?a:null,e=Array.isArray(b)?b:null;if(d&&e)c=e.reduce(function(a,b,c){var f=d[c];f=g(f,b);f!==e[c]&&(e[c]=f);return a&&f===d[c]},!0)&&d.length===e.length;else if(!d&&!e){var f=a,h=b,i=Object.keys(f),j=Object.keys(h);c=j.reduce(function(a,b){var c=f[b];c=g(c,h[b]);c!==h[b]&&(h[b]=c);return a&&c===f[b]},!0)&&i.length===j.length}return c?a:b}e.exports=g}),null); __d("relay-runtime/util/resolveImmediate",["Promise"],(function(a,b,c,d,e,f){"use strict";var g=b("Promise").resolve();function a(a){g.then(a)["catch"](h)}function h(a){setTimeout(function(){throw a},0)}e.exports=a}),null); __d("relay-runtime/store/RelayModernStore",["invariant","regeneratorRuntime","relay-runtime/store/DataChecker","relay-runtime/store/RelayModernRecord","relay-runtime/store/RelayOptimisticRecordSource","relay-runtime/util/RelayProfiler","relay-runtime/store/RelayReader","relay-runtime/store/RelayReferenceMarker","relay-runtime/store/RelayStoreUtils","relay-runtime/util/deepFreeze","relay-runtime/store/defaultGetDataID","relay-runtime/store/hasOverlappingIDs","relay-runtime/util/recycleNodesInto","relay-runtime/util/resolveImmediate"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j,k=b("relay-runtime/store/RelayStoreUtils").ROOT_ID,l=b("relay-runtime/store/RelayStoreUtils").ROOT_TYPE,m=0;a=function(){function a(a,c){var d=this,e;this.$23=function(){d.$4&&(d.$4.next().done?d.$4=null:d.$5(d.$23))};this.$1=0;this.$2=0;this.$3=(e=c==null?void 0:c.gcReleaseBufferSize)!=null?e:m;this.$4=null;this.$5=(e=c==null?void 0:c.gcScheduler)!=null?e:b("relay-runtime/util/resolveImmediate");this.$6=(e=c==null?void 0:c.UNSTABLE_DO_NOT_USE_getDataID)!=null?e:b("relay-runtime/store/defaultGetDataID");this.$7=null;this.$8=new Set();this.$9=new Set();this.__log=(e=c==null?void 0:c.log)!=null?e:null;this.$10=c==null?void 0:c.queryCacheExpirationTime;this.$11=(e=c==null?void 0:c.operationLoader)!=null?e:null;this.$12=null;this.$13=a;this.$14=[];this.$15=new Map();this.$16=!1;this.$17=new Set();this.$18={};n(this.$13)}var c=a.prototype;c.getSource=function(){var a;return(a=this.$12)!=null?a:this.$13};c.check=function(a,c){var d,e=a.root;d=(d=this.$12)!=null?d:this.$13;var f=this.$7;a=this.$15.get(a.request.identifier);var g=a!=null?a.epoch:null;if(f!=null&&(g==null||g<=f))return{status:"stale"};f=(f=c==null?void 0:c.target)!=null?f:d;c=(c=c==null?void 0:c.handlers)!=null?c:[];d=b("relay-runtime/store/DataChecker").check(d,f,e,c,this.$11,this.$6);return p(d,g,a==null?void 0:a.fetchTime,this.$10)};c.retain=function(a){var b=this,c=a.request.identifier,d=!1,e=function(){if(d)return;d=!0;var a=b.$15.get(c);if(a==null)return;a.refCount--;if(a.refCount===0){var e=b.$10;a=a.fetchTime!=null&&e!=null&&a.fetchTime<=Date.now()-e;if(a)b.$15["delete"](c),b.$19();else{b.$14.push(c);if(b.$14.length>b.$3){e=b.$14.shift();b.$15["delete"](e);b.$19()}}}},f=this.$15.get(c);f!=null?(f.refCount===0&&(this.$14=this.$14.filter(function(a){return a!==c})),f.refCount+=1):this.$15.set(c,{operation:a,refCount:1,epoch:null,fetchTime:null});return{dispose:e}};c.lookup=function(a){var c=this.getSource();c=b("relay-runtime/store/RelayReader").read(c,a);return c};c.notify=function(a,b){var c=this,d=this.__log;d!=null&&d({name:"store.notify.start"});this.$1++;b===!0&&(this.$7=this.$1);var e=this.getSource(),f=[];this.$17.forEach(function(a){a=c.$20(e,a);a!=null&&f.push(a)});this.$8.forEach(function(a){c.$21(a,b===!0)});d!=null&&d({name:"store.notify.complete",updatedRecordIDs:this.$18,invalidatedRecordIDs:this.$9});this.$18={};this.$9.clear();if(a!=null){d=a.request.identifier;var g=this.$15.get(d);if(g!=null)g.epoch=this.$1,g.fetchTime=Date.now();else if(a.request.node.params.operationKind==="query"&&this.$3>0&&this.$14.length0&&(a.$2--,a.$2===0&&a.$16&&(a.$19(),a.$16=!1))};return{dispose:b}};c.toJSON=function(){return"RelayModernStore()"};c.__getUpdatedRecordIDs=function(){return this.$18};c.$20=function(a,c){var d=c.backup,e=c.callback,f=c.snapshot,g=c.stale,h=(j||(j=b("relay-runtime/store/hasOverlappingIDs")))(f.seenRecords,this.$18);if(!g&&!h)return;g=h||!d?b("relay-runtime/store/RelayReader").read(a,f.selector):d;h=b("relay-runtime/util/recycleNodesInto")(f.data,g.data);g={data:h,isMissingData:g.isMissingData,seenRecords:g.seenRecords,selector:g.selector,missingRequiredFields:g.missingRequiredFields};c.snapshot=g;c.stale=!1;if(g.data!==f.data){e(g);return f.selector.owner}};c.lookupInvalidationState=function(a){var c=this,d=new Map();a.forEach(function(a){var e=c.getSource().get(a);d.set(a,(a=(h||(h=b("relay-runtime/store/RelayModernRecord"))).getInvalidationEpoch(e))!=null?a:null)});d.set("global",this.$7);return{dataIDs:a,invalidations:d}};c.checkInvalidationState=function(a){var b=this.lookupInvalidationState(a.dataIDs);b=b.invalidations;var c=a.invalidations;if(b.get("global")!==c.get("global"))return!0;for(var a=a.dataIDs,d=Array.isArray(a),e=0,a=d?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var f;if(d){if(e>=a.length)break;f=a[e++]}else{e=a.next();if(e.done)break;f=e.value}f=f;if(b.get(f)!==c.get(f))return!0}return!1};c.subscribeToInvalidationState=function(a,b){var c=this,d={callback:b,invalidationState:a};b=function(){c.$8["delete"](d)};this.$8.add(d);return{dispose:b}};c.$21=function(a,b){var c=this,d=a.callback;a=a.invalidationState;a=a.dataIDs;b=b||a.some(function(a){return c.$9.has(a)});if(!b)return;d()};c.snapshot=function(){var a=this;this.$12==null||g(0,19004);var c=this.__log;c!=null&&c({name:"store.snapshot"});this.$17.forEach(function(c){if(!c.stale){c.backup=c.snapshot;return}var d=c.snapshot,e=b("relay-runtime/store/RelayReader").read(a.getSource(),d.selector);d=b("relay-runtime/util/recycleNodesInto")(d.data,e.data);e.data=d;c.backup=e});this.$4&&(this.$4=null,this.$16=!0);this.$12=b("relay-runtime/store/RelayOptimisticRecordSource").create(this.getSource())};c.restore=function(){this.$12!=null||g(0,19005);var a=this.__log;a!=null&&a({name:"store.restore"});this.$12=null;this.$16&&this.$19();this.$17.forEach(function(a){var b=a.backup;a.backup=null;b?(b.data!==a.snapshot.data&&(a.stale=!0),a.snapshot={data:a.snapshot.data,isMissingData:b.isMissingData,seenRecords:b.seenRecords,selector:b.selector,missingRequiredFields:b.missingRequiredFields}):a.stale=!0})};c.$19=function(){if(this.$2>0){this.$16=!0;return}if(this.$4)return;this.$4=this.$22();this.$5(this.$23)};c.__gc=function(){if(this.$12!=null)return;var a=this.$22();while(!a.next().done);};c.$22=b("regeneratorRuntime").mark(function a(){var c,d,e,f,g,h,i,j,k,l,m,n,o;return b("regeneratorRuntime").wrap(function(a){while(1)switch(a.prev=a.next){case 0:c=this.$1,d=new Set(),(e=this.$15.values(),f=Array.isArray(e),g=0,e=f?e:e[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]());case 4:if(!f){a.next=10;break}if(!(g>=e.length)){a.next=7;break}return a.abrupt("break",24);case 7:h=e[g++];a.next=14;break;case 10:g=e.next();if(!g.done){a.next=13;break}return a.abrupt("break",24);case 13:h=g.value;case 14:i=h;j=i.operation;k=j.root;b("relay-runtime/store/RelayReferenceMarker").mark(this.$13,k,d,this.$11);a.next=20;return;case 20:if(!(c!==this.$1)){a.next=22;break}return a.abrupt("continue",0);case 22:a.next=4;break;case 24:l=this.__log;l!=null&&l({name:"store.gc",references:d});if(d.size===0)this.$13.clear();else{m=this.$13.getRecordIDs();for(n=0;nb))return{status:"stale"};if(a==="missing")return{status:"missing"};if(c!=null&&d!=null){e=c<=Date.now()-d;if(e)return{status:"stale"}}return{status:"available",fetchTime:(b=c)!=null?b:null}}b("relay-runtime/util/RelayProfiler").instrumentMethods(a.prototype,{lookup:"RelayModernStore.prototype.lookup"});e.exports=a}),null); __d("relay-runtime/util/isScalarAndEqual",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){return a===b&&(a===null||typeof a!=="object")}e.exports=a}),null); __d("relay-runtime/store/RelayModernFragmentSpecResolver",["invariant","relay-runtime/util/RelayFeatureFlags","areEqual","relay-runtime/util/isScalarAndEqual","warning","relay-runtime/query/fetchQueryInternal","relay-runtime/store/RelayModernOperationDescriptor","relay-runtime/store/RelayModernSelector"],(function(a,b,c,d,e,f,g){"use strict";var h,i=b("relay-runtime/query/fetchQueryInternal").getPromiseForActiveRequest,j=b("relay-runtime/store/RelayModernOperationDescriptor").createRequestDescriptor,k=b("relay-runtime/store/RelayModernSelector").areEqualSelectors,l=b("relay-runtime/store/RelayModernSelector").createReaderSelector,m=b("relay-runtime/store/RelayModernSelector").getSelectorsFromObject;a=function(){function a(a,b,c,d){var e=this;this.$8=function(){e.$7=!0,typeof e.$1==="function"&&e.$1()};this.$1=d;this.$2=a;this.$3={};this.$4=b;this.$5={};this.$6={};this.$7=!1;this.setProps(c)}var c=a.prototype;c.dispose=function(){for(var a in this.$6)Object.prototype.hasOwnProperty.call(this.$6,a)&&p(this.$6[a])};c.resolve=function(){if(this.$7){var a=this.$3,c;for(var d in this.$6)if(Object.prototype.hasOwnProperty.call(this.$6,d)){var e=this.$6[d],f=a[d];if(e){e=e.resolve();(c||e!==f)&&(c=c||babelHelpers["extends"]({},a),c[d]=e)}else{e=this.$5[d];e=e!==void 0?e:null;(c||!b("relay-runtime/util/isScalarAndEqual")(e,f))&&(c=c||babelHelpers["extends"]({},a),c[d]=e)}}this.$3=c||a;this.$7=!1}return this.$3};c.setCallback=function(a){this.$1=a};c.setProps=function(a){var b=m(this.$4,a);this.$5={};for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c],e=this.$6[c];d==null?(e!=null&&e.dispose(),e=null):d.kind==="PluralReaderSelector"?e==null?e=new o(this.$2.environment,d,this.$8):(e instanceof o||g(0,4761,c),e.setSelector(d)):e==null?e=new n(this.$2.environment,d,this.$8):(e instanceof n||g(0,4762,c),e.setSelector(d));this.$5[c]=a[c];this.$6[c]=e}this.$7=!0};c.setVariables=function(a,b){for(var c in this.$6)if(Object.prototype.hasOwnProperty.call(this.$6,c)){var d=this.$6[c];d&&d.setVariables(a,b)}this.$7=!0};return a}();var n=function(){function a(a,b,c){var d=this;this.$8=function(a){d.$2=a.data,d.$4=a.isMissingData,d.$5=a.missingRequiredFields,d.$1()};var e=a.lookup(b);this.$1=c;this.$2=e.data;this.$4=e.isMissingData;this.$5=e.missingRequiredFields;this.$3=a;this.$6=b;this.$7=a.subscribe(e,this.$8)}var c=a.prototype;c.dispose=function(){this.$7&&(this.$7.dispose(),this.$7=null)};c.resolve=function(){this.$5!=null&&this.$9(this.$5);if(b("relay-runtime/util/RelayFeatureFlags").ENABLE_RELAY_CONTAINERS_SUSPENSE===!0&&this.$4===!0){var a;a=(a=i(this.$3,this.$6.owner))!=null?a:this.$3.getOperationTracker().getPromiseForPendingOperationsAffectingOwner(this.$6.owner);if(a!=null){b("warning")(!1,"Relay: Relay Container for fragment `%s` suspended. When using features such as @defer or @module, use `useFragment` instead of a Relay Container.",this.$6.node.name);throw a}}return this.$2};c.$9=function(a){var b=this;switch(a.action){case"THROW":var c=a.field,d=c.path;c=c.owner;throw new Error("Relay: Missing @required value at path '"+d+"' in '"+c+"'.");case"LOG":a.fields.forEach(function(c){var a=c.path;c=c.owner;b.$3.__log({name:"read.missing_required_field",owner:c,fieldPath:a})});break;default:a.action}};c.setSelector=function(a){if(this.$7!=null&&k(a,this.$6))return;this.dispose();var b=this.$3.lookup(a);this.$2=b.data;this.$4=b.isMissingData;this.$5=b.missingRequiredFields;this.$6=a;this.$7=this.$3.subscribe(b,this.$8)};c.setVariables=function(a,c){if((h||(h=b("areEqual")))(a,this.$6.variables))return;c=j(c,a);a=l(this.$6.node,this.$6.dataID,a,c);this.setSelector(a)};return a}(),o=function(){function a(a,b,c){var d=this;this.$6=function(a){d.$5=!0,d.$1()};this.$1=c;this.$2=[];this.$3=a;this.$4=[];this.$5=!0;this.setSelector(b)}var b=a.prototype;b.dispose=function(){this.$4.forEach(p)};b.resolve=function(){if(this.$5){var a=this.$2,b;for(var c=0;ca.length){var b=this.$4.pop();b.dispose()}for(var b=0;b=100&&b<200)return h;else if(b>=200&&b<300)return null;else if(b>=400&&b<500)return g;else if(b>=500&&b<600)return i;else if(b>=12001&&b<12156)return j;else return k}}),null); __d("xhrSimpleDataSerializer",[],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a){var b=[];for(var c in a)b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")}}),null); __d("XHRRequest",["invariant","DTSG","DTSG_ASYNC","DTSGUtils","Env","ErrorGuard","ErrorXFBDebug","FBLogger","Log","LSD","NetworkStatus","ResourceTimingsStore","ResourceTypes","SprinkleConfig","TimeSlice","URI","XHRHttpError","ZeroRewrites","getAsyncHeaders","xhrSimpleDataSerializer"],(function(a,b,c,d,e,f,g){var h,i,j,k={loadedBytes:0,totalBytes:0};function l(a){return b("ZeroRewrites").rewriteURI(new(h||(h=b("URI")))(a))}a=function(){"use strict";function a(a){this.$3=function(){return null},this.$19=l(a),this.$7="POST",this.$6={},this.setResponseType(null),this.setTransportBuilder(b("ZeroRewrites").getTransportBuilderForURI(this.getURI())),this.setDataSerializer(b("xhrSimpleDataSerializer")),this.$11=b("ResourceTimingsStore").getUID(b("ResourceTypes").XHR,a!=null?a.toString():"")}var c=a.prototype;c.setURI=function(a){this.$19=l(a);return this};c.getURI=function(){return this.$19};c.setResponseType=function(a){this.$13=a;return this};c.setMethod=function(a){this.$7=a;return this};c.getMethod=function(){return this.$7};c.setData=function(a){this.$2=a;return this};c.getData=function(){return this.$2};c.setRawData=function(a){this.$10=a;return this};c.setRequestHeader=function(a,b){this.$6[a]=b;return this};c.setTimeout=function(a){this.$14=a;return this};c.getTimeout=function(){return this.$14};c.setResponseHandler=function(a){this.$12=a;return this};c.getResponseHandler=function(){return this.$12};c.setErrorHandler=function(a){this.$5=a;return this};c.getErrorHandler=function(){return this.$5};c.setNetworkFailureHandler=function(a){this.$8=a;return this};c.getNetworkFailureHandler=function(){return this.$8};c.getResponseHeader=function(a){var b=this.$9;return b?b.getResponseHeader(a):null};c.setAbortHandler=function(a){this.$1=a;return this};c.getAbortHandler=function(){return this.$1};c.setTimeoutHandler=function(a){this.$15=a;return this};c.getTimeoutHandler=function(){return this.$15};c.setUploadProgressHandler=function(a){this.$18=a;return this};c.setDownloadProgressHandler=function(a){this.$4=a;return this};c.setTransportBuilder=function(a){!this.$17||!b("ZeroRewrites").isRewritten(this.$19)?this.$17=a:b("FBLogger")("iorg-FOS").blameToPreviousFile().mustfix("can not set new TransportBuilder for the request %s",String(this.getURI()));return this};c.setDataSerializer=function(a){this.$3=a;return this};c.send=function(){var a=this.$14,c=this.$17;if(!c)return;var d=c();c=this.getURI();if(c.toString().includes("/../")||c.toString().includes("/..\\")||c.toString().includes("\\../")||c.toString().includes("\\..\\")){b("Log").error("XHRRequest.send(): path traversal is not allowed.");return!1}var e=new(h||(h=b("URI")))(c).getQualifiedURI().toString(),f=this.$11;b("ResourceTimingsStore").updateURI(b("ResourceTypes").XHR,f,e);b("ResourceTimingsStore").measureRequestSent(b("ResourceTypes").XHR,f);this.$9=d;this.$7==="POST"||!this.$10||g(0,2346,this.$10,c);e=(i||(i=b("Env"))).force_param;e&&(this.$2=babelHelpers["extends"]({},this.getData()||{},e));if(this.$7==="GET"&&b("DTSGUtils").shouldAppendToken(c)){e=b("DTSG_ASYNC").getCachedToken?b("DTSG_ASYNC").getCachedToken():b("DTSG_ASYNC").getToken();e&&(this.$2?this.$2.fb_dtsg_ag=e:this.$2={fb_dtsg_ag:e},b("SprinkleConfig").param_name&&(this.$2[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(e)))}if(this.$7==="POST"&&b("DTSGUtils").shouldAppendToken(c)){e=b("DTSG").getCachedToken?b("DTSG").getCachedToken():b("DTSG").getToken();e&&(this.$2?this.$2.fb_dtsg=e:this.$2={fb_dtsg:e},b("SprinkleConfig").param_name&&(this.$2[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(e)));b("LSD").token&&(this.$2?this.$2.lsd=b("LSD").token:this.$2={lsd:b("LSD").token},b("SprinkleConfig").param_name&&!e&&(this.$2[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(b("LSD").token)))}this.$7==="GET"||this.$10?(c.addQueryData(this.$2),e=this.$10):e=this.$3(this.$2);function j(a){b("ResourceTimingsStore").measureResponseReceived(b("ResourceTypes").XHR,f);for(var c=arguments.length,d=new Array(c>1?c-1:0),e=1;e1?b-1:0),d=1;d=2){var g=f===4;g&&b("ErrorXFBDebug").addFromXHR(e);var h=c.getURI();h=b("XHRHttpError").getErrorCode(h,e.status);var i=c.$12;if(h!=null){if(g){var k={errorCode:h,errorMsg:c.$28(e),errorRawTransport:e.constructor.name,errorRawTransportStatus:e.status,errorRawResponseHeaders:i&&i.includeHeaders?e.getAllResponseHeaders():null,errorType:e.status?"HTTP "+e.status:"HTTP"};c.$5?(j||(j=b("ErrorGuard"))).applyWithGuard(a.bind(void 0,c.$5),null,[k],{name:"XHRRequest:_errorHandler"}):a(function(){})}}else if(i){if(g||i.parseStreaming&&f===3){k=g?a:d;f=(i==null?void 0:i.includeHeaders)?e.getAllResponseHeaders():null;(j||(j=b("ErrorGuard"))).applyWithGuard(k.bind(void 0,i),null,[c.$28(e),f,g],{name:"XHRRequest:handler"})}}else g&&a(function(){});g&&(h!="HTTP_TRANSPORT_ERROR"&&b("NetworkStatus").reportSuccess(),c.$27())}}};c.$23=function(a){k.loadedBytes=a.loaded,k.totalBytes=a.total,this.$18&&(j||(j=b("ErrorGuard"))).applyWithGuard(this.$18,null,[k],{name:"XHRRequest:_uploadProgressHandler"})};c.$24=function(a){a={loadedBytes:a.loaded,totalBytes:a.total};this.$4&&(j||(j=b("ErrorGuard"))).applyWithGuard(this.$4,null,[a],{name:"XHRRequest:_downloadProgressHandler"})};c.$27=function(){clearTimeout(this.$16),delete this.$9};return a}();e.exports=a}),null); __d("createChunkedResponseParser",["invariant"],(function(a,b,c,d,e,f,g){"use strict";e.exports=a;var h="\r\n",i=2;function a(a,b){var c=0,d=function(d,e,f){b&&(d=b(d),d==null||typeof d==="string"||g(0,4071));if(d){var j=d.length;while(c=j)}}else f&&a("",e,!0)};d.parseStreaming=!0;return d}}),null); __d("getRelayAPIRequestHandler",["ifRequireable","requireCond","cr:696703"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a){var c=a;if(b("cr:696703")){var d=b("cr:696703").getUserBlockingRunAtCurrentPriCallbackScheduler_DO_NOT_USE();c=function(){for(var c=arguments.length,e=new Array(c),f=0;f=0||g(0,14878,b);var c=this.$3(a);if(c.status!==h)return;var d=c.events.length;if(b===d){var e=c.observers;c.status=j;c.events.push({kind:"complete",sequenceNumber:b});c.observers=new Map();e.forEach(function(a){return a.complete()})}else b>d&&!Object.prototype.hasOwnProperty.call(c.pendingEvents,b)||g(0,14879,b,a),c.status=i,c.pendingEvents[b]={kind:"complete",sequenceNumber:b}};b.error=function(a,b,c){Number.isInteger(c)&&c>=0||g(0,14878,c);var d=this.$3(a);if(d.status!==h)return;var e=d.events.length;if(c===e){var f=d.observers;d.status=j;d.events.push({kind:"error",error:b,sequenceNumber:c});d.observers=new Map();f.forEach(function(a){return a.error(b)})}else c>e&&!Object.prototype.hasOwnProperty.call(d.pendingEvents,c)||g(0,14879,c,a),d.status=i,d.pendingEvents[c]={kind:"error",error:b,sequenceNumber:c}};b.next=function(a,b,c){Number.isInteger(c)&&c>=0||g(0,14878,c);var d=this.$3(a);if(d.status===j)return;var e=d.events.length;if(c===e){var f=d.observers;d.events.push({kind:"next",data:b,sequenceNumber:c});f.forEach(function(a){return a.next(b)});var h=d.pendingEvents,i=function(b){var c=h[b];if(c==null)return"break";d.events.push(c);switch(c.kind){case"complete":d.status=j;d.observers=new Map();f.forEach(function(a){return a.complete()});return{v:void 0};case"error":d.status=j;d.observers=new Map();f.forEach(function(a){return a.error(c.error)});return{v:void 0};case"next":f.forEach(function(a){return a.next(c.data)});break;default:c.kind,g(0,14593,c.kind,a)}};_loop:for(var k=e+1;ke&&!Object.prototype.hasOwnProperty.call(d.pendingEvents,c)||g(0,14879,c,a),d.pendingEvents[c]={kind:"next",data:b,sequenceNumber:c}};b.clear=function(a){this.$2["delete"](a)};b.has=function(a){return this.$2.has(a)};b.subscribe=function(a,b){var c=this.$3(a),d=this.$1++,e=c.events;e.length!==0&&e.forEach(function(c){switch(c.kind){case"complete":b.complete();break;case"error":b.error(c.error);break;case"next":b.next(c.data);break;default:c.kind,g(0,14593,c.kind,a)}});var f=c.observers;f.set(d,b);e={unsubscribe:function(){f["delete"](d)}};b.start(e);return e};b.$3=function(a){var b=this.$2.get(a);b==null&&(b={status:h,events:[],observers:new Map(),pendingEvents:[]},this.$2.set(a,b));return b};return a}();e.exports=a}),null); __d("stableStringifyPrefetchedRelayVariablesWithActor",["stableStringify"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,c){a=["$actorID:"+a];var d=Object.keys(c).sort();for(var e=0;e0){var j;d=Object.keys(h[c]);b("FBLogger")("RelayQueryPreloader").addMetadata("RELAY_PRELOADER","QUERY_ID",c).addMetadata("RELAY_PRELOADER","QUERY_NAME",(j=f)!=null?j:"unknown").addToCategoryKey((j=f)!=null?j:c).warn("RelayPrefetchedStreamCache.subscribe(): Could not find preloader for query with actor ID and variables: `%s`\n\nbut had data for that query with actorID/variables:\n `%s`\n",a,d.join("||"))}if(!b("ExecutionEnvironment").canUseDOM){b("FBLogger")("RelayQueryPreloader").addMetadata("RELAY_PRELOADER","QUERY_ID",c).addMetadata("RELAY_PRELOADER","QUERY_NAME",(j=f)!=null?j:"unknown").addToCategoryKey((d=f)!=null?d:c).mustfix("RelayPrefetchedStreamCache:.get: Missing relay query preloader for query: %s with actorID and variables %s. Make sure your relay preloaders are configured. https://fburl.com/comet_preloading",f!=null?f:c,a)}j=!1;d={unsubscribe:function(){j=!0}};e.start(d);j||e.complete();return d}function d(a,c){var d=null,e=0,f=null;if(c!=null){var h;d=c.result;e=(h=c.sequence_number)!=null?h:0;f=c.complete;typeof f!=="boolean"&&b("FBLogger")("RelayQueryPreloader").mustfix("RelayPrefetchedStreamCache:.next: Expected GraphQL preloader `complete` field to be a boolean, got `%s` for preloader `%s`.",String(f),a)}d!=null&&g.next(a,d,e);h=d==null||f!==!1;h&&g.complete(a,e+1)}function e(a,b,c){c===void 0&&(c=0),c===0?g.forceError(a,b):g.error(a,b,c)}function r(a,c,d,e){var f=b("stableStringifyPrefetchedRelayVariablesWithActor")(e,d);n(c,f);var h=p(c,f);h!=null&&(b("FBLogger")("RelayQueryPreloader").addMetadata("RELAY_PRELOADER","QUERY_ID",c).warn("RelayPrefetchedStreamCache::registerPreloader(): You must not register more than one preloader for the query with ID `%s` and actorID/variables `%s`. This could result in stale data.",c,b("stableStringifyPrefetchedRelayVariablesWithActor")(e,d)),g.forceComplete(h),m(c,f));q(c,f,a)}}),null); __d("RelayPrefetchedResponseProvider",["RelayGraphQLRequestUtils","RelayPrefetchedStreamCache","RelayRuntime"],(function(a,b,c,d,e,f){"use strict";var g=b("RelayRuntime").Observable;a={get:function(a,c,d,e){return g.create(function(f){var g=function(a){if(!a){f.complete();return}if(a.errors)for(var c=a.errors,d=Array.isArray(c),e=0,c=d?c:c[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(d){if(e>=c.length)break;g=c[e++]}else{e=c.next();if(e.done)break;g=e.value}g=g;if(g.severity==="CRITICAL"){f.error(b("RelayGraphQLRequestUtils").createErrorFromPayload(g));return}}f.next(a)},h=b("RelayPrefetchedStreamCache").subscribe(a,c,d,{complete:f.complete,error:function(a){return f.complete()},next:g,start:function(){}},e);return function(){h!=null&&(h.unsubscribe(),h=null),b("RelayPrefetchedStreamCache").clear(a,c,d)}})}};e.exports=a}),null); __d("getAnalyticsTags",["relay-runtime","requireWeak"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(){var a=[];b("requireWeak")("QPLUserFlow",function(b){b=b.getActiveFlowIDs();b.length>0&&a.push("qpl_active_flow_ids="+b.sort().join(","))});return b("relay-runtime").Observable.from(a)}}),null); __d("createRelayFBNetworkFetch",["invariant","RelayAPIConfig","RelayAPIRequest","RelayGraphQLRequestUtils","RelayPrefetchedResponseProvider","getAnalyticsTags","getAsyncParams","getCrossOriginTransport","getSameOriginTransport","nullthrows","RelayRuntime"],(function(a,b,c,d,e,f,g){"use strict";var h=b("RelayRuntime").Observable,i=b("RelayRuntime").RelayError,j=b("RelayRuntime").RelayProfiler;function k(a){return a.operationKind==="mutation"}function l(a){return a.operationKind==="query"}function m(b,c){a.FormData!=null||g(0,19002);var d=new FormData();for(var e in b)Object.prototype.hasOwnProperty.call(b,e)&&d.append(e,b[e]);for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&d.append(f,c[f]);return d}function n(a){a=a.cacheID?a.cacheID:a.id;a!=null||g(0,22754);return a}function c(a){var c=a.graphURI,d=a.transportBuilder,e=a.getAdditionalData,f=a.getAdditionalHeaders,h=a.queryResponseCache,i=a.whitelistMutationsForResponseCache,j=a.liveQueryFetchFn,k=a.wrapObservableFn,l=a.accessToken,m=a.actorID,n=a.customHeaders,t=a.fetchTimeout,u=a.getAnalyticsTags,v=u===void 0?b("getAnalyticsTags"):u,w=a.retryDelays,x=a.userAgent,y=a.xhrEncoding,z=a.useXController,A=a.tokenProxy;return function(a,u,B,C,D){var E,F,G,H,I,J;E=(E=c)!=null?E:b("RelayAPIConfig").graphURI;var K=h;F=(F=m)!=null?F:b("RelayAPIConfig").actorID;G=(G=l)!=null?G:b("RelayAPIConfig").accessToken;H=(H=z)!=null?H:b("RelayAPIConfig").useXController;I=(I=d)!=null?I:H?b("getSameOriginTransport"):b("RelayAPIConfig").withCredentials?b("getCrossOriginTransport").withCredentials:b("getCrossOriginTransport");H=e?e():H?{av:F}:{access_token:G};J=f?f():b("RelayGraphQLRequestUtils").getRelayAPIConfigHeaders((J=n)!=null?J:b("RelayAPIConfig").customHeaders,(J=y)!=null?J:b("RelayAPIConfig").xhrEncoding,(J=x)!=null?J:b("RelayAPIConfig").userAgent);var L={queryName:a.name,usedCache:!1,usedPrefetcher:!1,serverTimestamp:null},M=null;B.liveConfigId!=null&&(j!=null||g(0,17355,B.liveConfigId),M=j(a,u,{actor_id:F,access_token:G,config_id:B.liveConfigId}));I=s(E,I,J,a,u,C,H,v,(G=w)!=null?G:b("RelayAPIConfig").retryDelays,(E=t)!=null?E:b("RelayAPIConfig").fetchTimeout,A);K&&(I=r(I,a,u,K,i));J=p(a,u,L,K,B,F,D);C=M?J.concat(M):J;if(K){H=q(a,u,L,B,K,D);C=C.ifEmpty(H)}C=C.ifEmpty(I);G=k!=null?k(C):C;return o(L,G)}}function o(a,b){var c;return b["do"]({start:function(){c=j.profile("fetchRelayQuery",a)},next:function(b){var d;if(!Array.isArray(b)&&((d=b.extensions)==null?void 0:d.server_metadata)!=null&&((d=b.extensions.server_metadata)==null?void 0:d.request_start_time_ms)!=null&&((d=b.extensions.server_metadata)==null?void 0:d.time_at_flush_ms)!=null){d=b.extensions.server_metadata;b=d.request_start_time_ms;d=d.time_at_flush_ms;a.serverTimestamp={startTime:Number(b),endTime:Number(d)}}c.stop()},error:function(a){c.stop(a)}})}function p(a,c,d,e,f,i,j){if(!l(a))return h.create(function(a){return a.complete()});var k=n(a);f=f!=null&&f.metadata!=null&&f.metadata.prefetchedResponseProvider||void 0;f!=null&&(typeof f.get==="function"||g(0,2666),f=f);f=(f=f)!=null?f:b("RelayPrefetchedResponseProvider");f=f.get(i,k,c,a.name);return f.map(function(a){j!=null&&j({prefetched:!0});d.usedPrefetcher=!0;e&&e.set(k,c,a);return a})}function q(a,b,c,d,e,f){return h.create(function(g){if(l(a)&&!d.force){var h=e.get(n(a),b);h&&(f!=null&&f({cached:!0}),c.usedCache=!0,g.next(h))}g.complete()})}function r(a,b,c,d,e){return a["do"]({next:function(a){if(k(b)){var f=b.name;(e==null||!e[f])&&d.clear()}else Array.isArray(a)||d.set(n(b),c,a)}})}function s(a,c,d,e,f,g,j,l,n,o,p){p===void 0&&(p=!1);return h.create(function(q){(!k(e)||l==null)&&(l=function(){return h.from(null)}),l().subscribe({next:function(h){var l=new(b("RelayAPIRequest"))(a,n,o).setMethod("POST").setSkipRetry(k(e)).setTrackingName("RelayFBNetwork_"+e.name).setTransportBuilder(c).setErrorHandler(function(a){var c;q.error(b("RelayGraphQLRequestUtils").createErrorFromXHR(a,"Network request encountered error "+(((c=a.errorType)!=null?c:"")+" ")+(((c=a.errorCode)!=null?c:"")+": "+((c=a.errorMsg)!=null?c:""))))}).setTimeoutHandler(function(){q.error(i.createWarning("NetworkTimeoutError","Network request timed out."))}).setResponseChunkHandler(function(a,c,d){try{c=b("RelayGraphQLRequestUtils").parsePayload(a)}catch(a){return q.error(a)}if(!c)return q.error(i.createWarning("EmptyResponseError","Parsed network response is empty"));if(c.errors)for(var a=c.errors,e=Array.isArray(a),f=0,a=e?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;if(e){if(f>=a.length)break;g=a[f++]}else{f=a.next();if(f.done)break;g=f.value}g=g;if(g.severity==="CRITICAL")return q.error(b("RelayGraphQLRequestUtils").createErrorFromPayload(g))}q.next(c);d&&q.complete()}),r=babelHelpers["extends"]({},j,b("getAsyncParams")("POST"),{fb_api_caller_class:"RelayModern",fb_api_req_friendly_name:e.name,variables:JSON.stringify(f),server_timestamps:!0});p&&delete r.__csr;e.id?r.doc_id=e.id:r.doc=b("nullthrows")(e.text,"RelayFBNetwork: A query should have either an id or text, found neither.");h!=null&&h.length>0&&(r.fb_api_analytics_tags=JSON.stringify(h));g!=null?l.setRawData(m(g,r)):l.setData(r).setRequestHeaders(babelHelpers["extends"]({"Content-Type":"application/x-www-form-urlencoded"},d));return l.send().abort}})})}e.exports=c}),null); __d("RelayRTIGraphQLSubscriptionTopicProvider",["FBLogger","RelayRuntime","relay-runtime/query/GraphQLTag"],(function(a,b,c,d,e,f){"use strict";var g=b("RelayRuntime").getRequest,h=b("relay-runtime/query/GraphQLTag").isRequest;a=function(){function a(){this.$1={}}var c=a.prototype;c.registerProvider=function(a,c){if(Object.prototype.hasOwnProperty.call(this.$1,a)){b("FBLogger")("relay").mustfix("Multiple RTIGraphQLSubscription topic providers were registered for the query: %s",a);return}this.$1[a]=c};c.clearProvider=function(a){Object.prototype.hasOwnProperty.call(this.$1,a)&&delete this.$1[a]};c.registerProviderForQuery=function(a,c){if(h(a)===!1){b("FBLogger")("relay").warn("The `subscription` passed to `registerProvider()` must be a `ConcreteRequest`.");return}a=g(a);a=a.params.id;typeof a==="string"&&this.registerProvider(a,c)};c.clearProviderForQuery=function(a){a=g(a);a=a.params.id;typeof a==="string"&&this.clearProvider(a)};c.getTopicForQuery=function(a,c){var d=this.$1[a]||null;if(d==null)return null;var e=null;try{e=d(c)}catch(c){b("FBLogger")("relay").catching(c).mustfix("TopicProvider for queryID %s threw an unexpected exception",a)}return(d=e)!=null?d:null};return a}();e.exports=new a()}),null); __d("ChannelClientID",["MqttWebDeviceID","uuid"],(function(a,b,c,d,e,f){"use strict";var g=(a=b("MqttWebDeviceID")==null?void 0:b("MqttWebDeviceID").clientID)!=null?a:b("uuid")();c={getID:function(){return g}};e.exports=c}),null); __d("RelayFBEnvironment",["requireCond","cr:1385201"],(function(a,b,c,d,e,f){"use strict";a=b("cr:1385201");e.exports=a}),null); __d("str2rstr",[],(function(a,b,c,d,e,f){function a(a){var b="",c,d;for(var e=0;e>>6&31,128|c&63):c<=65535?b+=String.fromCharCode(224|c>>>12&15,128|c>>>6&63,128|c&63):c<=2097151&&(b+=String.fromCharCode(240|c>>>18&7,128|c>>>12&63,128|c>>>6&63,128|c&63));return b}e.exports=a}),null); __d("md5",["str2rstr"],(function(a,b,c,d,e,f){function g(a,b){var c=a[0],d=a[1],e=a[2],f=a[3];c=i(c,d,e,f,b[0],7,-680876936);f=i(f,c,d,e,b[1],12,-389564586);e=i(e,f,c,d,b[2],17,606105819);d=i(d,e,f,c,b[3],22,-1044525330);c=i(c,d,e,f,b[4],7,-176418897);f=i(f,c,d,e,b[5],12,1200080426);e=i(e,f,c,d,b[6],17,-1473231341);d=i(d,e,f,c,b[7],22,-45705983);c=i(c,d,e,f,b[8],7,1770035416);f=i(f,c,d,e,b[9],12,-1958414417);e=i(e,f,c,d,b[10],17,-42063);d=i(d,e,f,c,b[11],22,-1990404162);c=i(c,d,e,f,b[12],7,1804603682);f=i(f,c,d,e,b[13],12,-40341101);e=i(e,f,c,d,b[14],17,-1502002290);d=i(d,e,f,c,b[15],22,1236535329);c=j(c,d,e,f,b[1],5,-165796510);f=j(f,c,d,e,b[6],9,-1069501632);e=j(e,f,c,d,b[11],14,643717713);d=j(d,e,f,c,b[0],20,-373897302);c=j(c,d,e,f,b[5],5,-701558691);f=j(f,c,d,e,b[10],9,38016083);e=j(e,f,c,d,b[15],14,-660478335);d=j(d,e,f,c,b[4],20,-405537848);c=j(c,d,e,f,b[9],5,568446438);f=j(f,c,d,e,b[14],9,-1019803690);e=j(e,f,c,d,b[3],14,-187363961);d=j(d,e,f,c,b[8],20,1163531501);c=j(c,d,e,f,b[13],5,-1444681467);f=j(f,c,d,e,b[2],9,-51403784);e=j(e,f,c,d,b[7],14,1735328473);d=j(d,e,f,c,b[12],20,-1926607734);c=k(c,d,e,f,b[5],4,-378558);f=k(f,c,d,e,b[8],11,-2022574463);e=k(e,f,c,d,b[11],16,1839030562);d=k(d,e,f,c,b[14],23,-35309556);c=k(c,d,e,f,b[1],4,-1530992060);f=k(f,c,d,e,b[4],11,1272893353);e=k(e,f,c,d,b[7],16,-155497632);d=k(d,e,f,c,b[10],23,-1094730640);c=k(c,d,e,f,b[13],4,681279174);f=k(f,c,d,e,b[0],11,-358537222);e=k(e,f,c,d,b[3],16,-722521979);d=k(d,e,f,c,b[6],23,76029189);c=k(c,d,e,f,b[9],4,-640364487);f=k(f,c,d,e,b[12],11,-421815835);e=k(e,f,c,d,b[15],16,530742520);d=k(d,e,f,c,b[2],23,-995338651);c=l(c,d,e,f,b[0],6,-198630844);f=l(f,c,d,e,b[7],10,1126891415);e=l(e,f,c,d,b[14],15,-1416354905);d=l(d,e,f,c,b[5],21,-57434055);c=l(c,d,e,f,b[12],6,1700485571);f=l(f,c,d,e,b[3],10,-1894986606);e=l(e,f,c,d,b[10],15,-1051523);d=l(d,e,f,c,b[1],21,-2054922799);c=l(c,d,e,f,b[8],6,1873313359);f=l(f,c,d,e,b[15],10,-30611744);e=l(e,f,c,d,b[6],15,-1560198380);d=l(d,e,f,c,b[13],21,1309151649);c=l(c,d,e,f,b[4],6,-145523070);f=l(f,c,d,e,b[11],10,-1120210379);e=l(e,f,c,d,b[2],15,718787259);d=l(d,e,f,c,b[9],21,-343485551);a[0]=r(c,a[0]);a[1]=r(d,a[1]);a[2]=r(e,a[2]);a[3]=r(f,a[3])}function h(a,b,c,d,e,f){b=r(r(b,a),r(d,f));return r(b<>>32-e,c)}function i(a,b,c,d,e,f,g){return h(b&c|~b&d,a,b,e,f,g)}function j(a,b,c,d,e,f,g){return h(b&d|c&~d,a,b,e,f,g)}function k(a,b,c,d,e,f,g){return h(b^c^d,a,b,e,f,g)}function l(a,b,c,d,e,f,g){return h(c^(b|~d),a,b,e,f,g)}function m(a){var b=a.length,c=[1732584193,-271733879,-1732584194,271733878],d;for(d=64;d<=a.length;d+=64)g(c,n(a.substring(d-64,d)));a=a.substring(d-64);var e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(d=0;d>2]|=a.charCodeAt(d)<<((d&3)<<3);e[d>>2]|=128<<((d&3)<<3);if(d>55){g(c,e);for(d=0;d<16;d++)e[d]=0}e[14]=b*8;g(c,e);return c}function n(a){var b=[],c=0;while(c<64)b[c>>2]=a.charCodeAt(c++)|a.charCodeAt(c++)<<8|a.charCodeAt(c++)<<16|a.charCodeAt(c++)<<24;return b}var o="0123456789abcdef".split("");function p(a){var b="",c=0;for(;c<4;c++)b+=o[a>>(c<<3)+4&15]+o[a>>(c<<3)&15];return b}function q(a){var b=[];for(var c=0;c"\x7f"){a=b("str2rstr")(a);break}return q(m(a))}a("hello")!="5d41402abc4b2a76b9719d911017c592"&&(r=function(a,b){var c=(a&65535)+(b&65535);a=(a>>16)+(b>>16)+(c>>16);return a<<16|c&65535});e.exports=a}),null); __d("RelayRTIUtils",["invariant","Promise","ActorURI","BanzaiODS","ChannelClientID","CSRFGuard","CurrentLocale","CurrentUser","FBLogger","GraphQLSubscriptionsTypedLogger","Random","RealtimeFrameworksCounterFalcoEvent","RelayAPIConfig","RelayFBEnvironment","XHRRequest","getAsyncParams","getCrossOriginTransport","gkx","md5","requireDeferred"],(function(a,b,c,d,e,f,g){"use strict";f.maybeLaunchGraphQLSubscriptionsFleetBeacon=a;f.logSubscriptionEvent=c;f.extractUseCaseFromTopic=n;f.getTopicAndTransformContext_DEPRECATED=d;f.computeRoutingHint=e;var h=b("requireDeferred")("FleetBeaconSubscriptionLauncher"),i=1e4,j=1,k=1e4,l="155160167952447";f.GRAPH_SERVICES_SDK_APP_ID=l;var m="test_fleet_beacon_subscribe";function a(a){if(!b("gkx")("1344998"))return!1;if(a==m)return!1;if(!b("Random").coinflip(k))return!1;h.onReady(function(c){var d=c.CreateFleetBeaconTestSubscription;c=c.LaunchFleetBeaconTestSubscription;var e=b("RelayFBEnvironment");d=d(e,a,function(a){});c(d)});return!0}function c(a,c,d,e,f,g){if(b("gkx")("1358838")){var h=null;switch(a){case"client_subscribe":h="client_subscribe";break;case"client_unsubscribe":h="client_unsubscribe";break;case"receivepayload":h="client_received_payload";break}h!==null&&b("RealtimeFrameworksCounterFalcoEvent").log(function(){var a;return{event:(a=h)!=null?a:"",event_detail:"null",use_case:c,use_case_type:"gqls"}})}var k=b("gkx")("1243442")||e!=null?j:i;if(!b("Random").coinflip(k))return;var l=new(b("GraphQLSubscriptionsTypedLogger"))();l.setSubscriptionCall(c).setQueryParams({input:JSON.stringify(d.input)}).setForceLogContext(e).setEvent(a).setHandleType(f).setClienttime(Date.now()/1e3).setClientSampleWeight(k).setQueryID(g).setSessionID(b("ChannelClientID").getID()).log()}function n(a){return a.split("/").reverse()[1]}function o(a,c,d){return{locale:b("CurrentLocale").get(),queryID:String(a),serializedQueryParameters:JSON.stringify(c),viewerID:b("CurrentUser").getID(),pageID:d==b("CurrentUser").getID()?null:d,useOSSResponseFormat:!0,appID:l}}function d(a,c,d,e,f,h){if(d!=null&&f!=null){var i={locale:b("CurrentLocale").get(),queryID:String(d),serializedQueryParameters:JSON.stringify(e),viewerID:b("CurrentUser").getID(),pageID:h==b("CurrentUser").getID()?null:h,useOSSResponseFormat:!0,appID:l};if(b("gkx")("1291126")){var j=o(String(d),e,h);i.viewerID!=j.viewerID?b("FBLogger")("rti_frameworks_user_mismatch_from_client").warn("viewer ID %d doesn't match client ID %d",i.viewerID,j.viewerID):i=j}return b("Promise").resolve({topic:f,transformContext:i,useCase:n(f)})}c!=null||d!=null||g(0,271);return new(b("Promise"))(function(f,g){var i,j;i=babelHelpers["extends"]((j={},j[b("ActorURI").PARAMETER_ACTOR]=(i=h)!=null?i:b("RelayAPIConfig").actorID,j.query_params=JSON.stringify(e),j),b("getAsyncParams")("POST"));d!=null&&(i.doc_id=d);c!=null&&(i.query=c);j=new(b("XHRRequest"))(a).setTransportBuilder(b("getCrossOriginTransport").withCredentials).setMethod("POST").setData(i).setErrorHandler(function(a){g(new Error("getTopicAndTransformContext: Unable to retrieve topicID for subscription. HTTP Error ["+a.errorCode+"] "+a.errorType+" "+a.errorMsg))}).setResponseHandler(function(a){try{var c=JSON.parse(b("CSRFGuard").clean(a)),h=c.payload.topic||c.payload.payload.topic;c=JSON.parse(c.payload.transform_context||c.payload.payload.transform_context);if(b("gkx")("1291126")){var i=o(String(d),e);c.viewerID!=i.viewerID?b("FBLogger")("rti_frameworks_user_mismatch_from_server").warn("viewer ID %d doesn't match client ID %d",c.viewerID,i.viewerID):c=i}f({topic:h,transformContext:c,useCase:n(h)})}catch(b){g(new Error("getTopicAndTransformContext: encountered error "+b+" during "+("parsing, raw response is \n"+a)))}});j.send()})}function e(a,c){c=Object.assign({},c);delete c.client_subscription_id;c=(JSON.stringify(c).match(/[a-zA-Z0-9\-_]+/g)||[]).concat(a).sort().join(":");return b("md5")(c)}}),null); __d("RelayRTIGraphQLSubscriber",["invariant","FBLogger","Random","RelayRTIGraphQLSubscriptionTopicProvider","RelayRTIUtils","RelayRuntime","SkywalkerManager","gkx","nullthrows"],(function(a,b,c,d,e,f,g){"use strict";var h=(c=b("RelayRTIUtils")).computeRoutingHint,i=c.getTopicAndTransformContext_DEPRECATED,j=c.logSubscriptionEvent,k=c.maybeLaunchGraphQLSubscriptionsFleetBeacon,l=b("RelayRuntime").Observable,m="no_logging",n="custom_logging",o="workplace_logging",p="gqls_workplace_logging",q="default_logging",r="gqls_default_logging",s=1e3,t=100;new Set();var u="155160167952447";function a(a,b,c,d,e){return v(a,b,c,e)["do"]({next:function(){d&&d.clear()}})}function v(a,c,d,e){var f,h=(f=c.metadata)==null?void 0:f.subscriptionName;typeof h==="string"||g(0,13280,c.name);f="gqls/"+h+"/";var i=b("SkywalkerManager").getSubscriptionType(f);f=d.input["%options"];var l=f==null?void 0:f.client_logged_context;f=l==null?m:n;f===m&&(b("gkx")("1383502")&&b("Random").coinflip(t)&&(f=o,l=p));f===m&&((b("gkx")("1388683")||b("gkx")("1382775")&&b("Random").coinflip(s))&&(f=q,l=r));k(h);return D(a,c,d,f,e)["do"]({start:function(){j("client_subscribe",h,d,l,i,c.id)},next:function(){j("receivepayload",h,d,l,i,c.id)},unsubscribe:function(){j("client_unsubscribe",h,d,l,i,c.id)}})}var w=new Set([]);function x(a){a=a.metadata.subscriptionName;if(typeof a!=="string")return!1;return a==="feedback_typing_subscribe"&&b("gkx")("1604051")?!0:!w.has(a)&&b("gkx")("1293002")}function y(a,b,c){if(a!=null){a=h(a,b.input);a!=null&&(c.routing_hint=a)}b.input.client_subscription_id!=null&&(c.requestId=b.input.client_subscription_id)}function z(a,b){return a==null?null:{requestId:b,forceLogContext:a}}function A(a,c,d){return l.create(function(e){var f,g=a.id;if(typeof g!="string")throw new Error("Found illegal docID in subscribeWithMobileStyleTopicTransform");g={doc_id:g};var h=a.metadata.subscriptionName;if(typeof h!="string")throw new Error("Found null useCase in subscribeWithMobileStyleTopicTransform");y(h,c,g);f=(f=c["%options"])!=null?f:{};f.useOSSResponseFormat=!0;d!=null&&(f.client_logged_context=d);f.client_has_ods_usecase_counters=!0;g=babelHelpers["extends"]({context:babelHelpers["extends"]({},c,{"%options":f})},g?{headers:g}:{});f=z(f.forceLogContext,c.input.client_subscription_id);f!=null&&(g=babelHelpers["extends"]({},g,{instrumentationData:f}));var i=b("SkywalkerManager").subscribeViaRequestStreamWithMobileStyleTopicTransform(h,function(a){try{a=JSON.parse(a.payload);e.next(a)}catch(a){e.error(a)}},g);return function(){return i&&i.unsubscribe()}})}function B(a){var b=a.input;a=babelHelpers.objectWithoutPropertiesLoose(a,["input"]);b["%options"];b=babelHelpers.objectWithoutPropertiesLoose(b,["%options"]);return babelHelpers["extends"]({},a,{input:b})}function C(a,b){var c=null;a==o?c=p:a==q?c=r:a==n&&(c=b.input["%options"].client_logged_context);return c}function D(a,c,d,e,f){var g=B(d),h=C(e,d);return x(c)?A(c,g,h):l.create(function(e){var j,k=c.id,l=k!=null?b("RelayRTIGraphQLSubscriptionTopicProvider").getTopicForQuery(k,g):null;i(a,null,k,g,l,f).then(function(c){var a=c.topic,f=c.transformContext;c=c.useCase;if(e.closed)return;f.appID=u;f.serializedQueryParameters!=null&&(h!=null&&(f.serializedQueryParameters=E(f.serializedQueryParameters,h)),f.serializedQueryParameters=F(f.serializedQueryParameters));var g={};y(c,d,g);c=babelHelpers["extends"]({context:{transformContext:JSON.stringify(f)}},g?{headers:g}:{});g=z(h,d.input.client_subscription_id);g!=null&&(c=babelHelpers["extends"]({},c,{instrumentationData:g}));j=b("SkywalkerManager").subscribe(b("nullthrows")(a),function(a){if(f==null?void 0:f.useOSSResponseFormat)try{var b=JSON.parse(a.payload);e.next(b)}catch(a){e.error(a)}else e.next({data:JSON.parse(a.payload)})},c)})["catch"](e.error);return function(){return j&&j.unsubscribe()}})}function E(a,c){try{var d=JSON.parse(a);if(d!=null){d["%options"]!=null?d["%options"].client_logged_context=c:d["%options"]={client_logged_context:c};return JSON.stringify(d)}else return a}catch(c){b("FBLogger")("GraphQLSubscriptions").catching(c).mustfix("serializedQueryParameters is invalid JSON when setting forceLogContext in RelayRTIGraphQLSubscriber");return a}}function F(a){try{var c=JSON.parse(a);if(c!=null){c["%options"]!=null?c["%options"].client_has_ods_usecase_counters=!0:c["%options"]={client_has_ods_usecase_counters:!0};return JSON.stringify(c)}else return a}catch(c){b("FBLogger")("GraphQLSubscriptions").catching(c).mustfix("serializedQueryParameters is invalid JSON when setting clientHasUsecaseCounters in RelayRTIGraphQLSubscriber");return a}}e.exports=a}),null); __d("RelayFBSubscribeFunction",["GQLSHeartbeatConfig","RelayAPIConfig","RelayRTIGraphQLSubscriber","RelayRuntime"],(function(a,b,c,d,e,f){"use strict";var g=b("GQLSHeartbeatConfig").heartbeat_interval;b("RelayRuntime").Observable;function a(a,c,d,e){if(b("RelayAPIConfig").subscriptionTopicURI==null)throw new Error("RelayFBSubscribeFunction: `RelayAPIConfig.subscriptionTopicURI` should not be null on www");c["%options"]&&c["%options"].heartbeat&&(c["%options"].heartbeat={interval:g});return b("RelayRTIGraphQLSubscriber")(b("RelayAPIConfig").subscriptionTopicURI,a,c,d,e)}e.exports=a}),null); __d("createRelayFBSubscribeFunction",["RelayFBSubscribeFunction"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=a.queryResponseCache,d=a.actorID;return function(a,e){return b("RelayFBSubscribeFunction")(a,e,c,d)}}e.exports=a}),null); __d("getRelayFBMissingFieldHandlers",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime").ROOT_TYPE;function a(){return[{kind:"linked",handle:function(a,b,c){if(b!=null&&b.__typename===g&&a.name==="node"&&Object.prototype.hasOwnProperty.call(c,"id"))return c.id}},{kind:"linked",handle:function(a,b,c,d){if(b!=null&&b.__typename===g&&a.name.startsWith("fetch__")&&Object.prototype.hasOwnProperty.call(c,"id")){b=c.id;c=d.get(b);if(c!=null&&c.getType()===a.name.substr(7))return b}}},{kind:"pluralLinked",handle:function(a,b,c){if(b!=null&&b.__typename===g&&a.name==="nodes"&&Object.prototype.hasOwnProperty.call(c,"ids"))return c.ids}}]}e.exports=a}),null); __d("relayFBGetDataID",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime").VIEWER_ID,h=b("relay-runtime").VIEWER_TYPE;function a(a,b){if(b===h)return g;return b==="MessagingParticipant"||b==="BlockedUser"||b==="SRTUser"?a.id==null?null:b+":"+a.id:a.id}e.exports=a}),null); __d("RelayFBEnvironmentDefinitions",["RelayFBConsoleLog","RelayFBGCScheduler","RelayFBHandlerProvider","RelayFBOperationLoader","RelayFBScheduler","createRelayFBNetwork","createRelayFBNetworkFetch","createRelayFBSubscribeFunction","getRelayFBMissingFieldHandlers","relayFBGetDataID","RelayFBEnvironmentActorID","relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g=b("RelayFBEnvironmentActorID").getActorID,h=(c=b("relay-runtime")).Environment,i=c.RecordSource,j=c.Store,k=c.QueryResponseCache;function l(a){var c=a.actorID,d=a.handlerProvider;d=d===void 0?b("RelayFBHandlerProvider"):d;var e=a.log;e=e===void 0?b("RelayFBConsoleLog"):e;var f=a.missingFieldHandlers;f=f===void 0?b("getRelayFBMissingFieldHandlers")():f;var g=a.operationLoader;g=g===void 0?b("RelayFBOperationLoader"):g;var l=a.store;l=l===void 0?new j(new i(),{UNSTABLE_DO_NOT_USE_getDataID:b("relayFBGetDataID"),gcReleaseBufferSize:10,gcScheduler:b("RelayFBGCScheduler"),operationLoader:b("RelayFBOperationLoader"),queryCacheExpirationTime:5*60*1e3}):l;var m=a.scheduler;m=m===void 0?b("RelayFBScheduler"):m;var n=a.UNSTABLE_DO_NOT_USE_getDataID;n=n===void 0?b("relayFBGetDataID"):n;a=babelHelpers.objectWithoutPropertiesLoose(a,["actorID","handlerProvider","log","missingFieldHandlers","operationLoader","store","scheduler","UNSTABLE_DO_NOT_USE_getDataID"]);var o={actorID:c};if(a.network)return new h(babelHelpers["extends"]({},a,{handlerProvider:d,log:e,missingFieldHandlers:f,operationLoader:g,store:l,options:o,scheduler:m,UNSTABLE_DO_NOT_USE_getDataID:n}));else{var p,q=a.networkConfig;a=babelHelpers.objectWithoutPropertiesLoose(a,["networkConfig"]);p=(p=q==null?void 0:q.queryResponseCache)!=null?p:new k({size:10,ttl:5*60*1e3});q=b("createRelayFBNetwork")(b("createRelayFBNetworkFetch")(babelHelpers["extends"]({},q,{queryResponseCache:p,actorID:c})),b("createRelayFBSubscribeFunction")({queryResponseCache:p,actorID:c}));return new h(babelHelpers["extends"]({},a,{handlerProvider:d,log:e,missingFieldHandlers:f,operationLoader:g,store:l,network:q,options:o,scheduler:m,UNSTABLE_DO_NOT_USE_getDataID:n}))}}function a(a){var b=new Map();return{getForActorID:function(c,d){var e;e=c+JSON.stringify((e=d)!=null?e:{});var f=b.get(e);f||(f=l(a(c,d)),b.set(e,f));return f},commitLocalUpdateForEachEnvironment:function(a){var c=function(){if(e){if(f>=d.length)return"break";h=d[f++]}else{f=d.next();if(f.done)return"break";h=f.value}var b=h,c=b[1];c.commitUpdate(function(b){a(g(c),c,b)})};for(var d=b,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h,i=c();if(i==="break")break}}}}e.exports={createEnvironment:l,createEnvironmentFactory:a}}),null); __d("configureRelayForFB",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime").ConnectionInterface;function a(){g.inject({CLIENT_MUTATION_ID:"client_mutation_id",CURSOR:"cursor",EDGES:"edges",END_CURSOR:"end_cursor",HAS_NEXT_PAGE:"has_next_page",HAS_PREV_PAGE:"has_previous_page",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"page_info",START_CURSOR:"start_cursor"})}e.exports=a}),null); __d("RelayFBMutations",["RelayAPIConfig","warning"],(function(a,b,c,d,e,f){"use strict";var g=1;function a(a){return function(c,d,e){var f=d.variables.input||{};b("warning")(!("client_mutation_id"in f),"RelayFBMutations: Found `client_mutation_id` in mutation input`. In the Facebook context, `client_mutation_id` and `actor_id` are added automatically.");var h;c.options!=null&&c.options.actorID!=null?h=c.options.actorID:(h=b("RelayAPIConfig").actorID,b("warning")(!1,"RelayFBMutations: Expected ActorID to be set on the Relay environment. Please use `createEnvironment` from `RelayModern` to create an environment with actorID."));h=babelHelpers["extends"]({},d.variables,{input:babelHelpers["extends"]({client_mutation_id:""+g++,actor_id:h},f)});return a(c,{configs:d.configs,mutation:d.mutation,variables:h,onCompleted:d.onCompleted,onError:d.onError,optimisticUpdater:d.optimisticUpdater,optimisticResponse:d.optimisticResponse,updater:d.updater,uploadables:d.uploadables},e)}}e.exports={addFBisms:a}}),null); __d("RelayMutationQueue",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime").commitMutation,h=b("relay-runtime").createOperationDescriptor,i=b("relay-runtime").getRequest;a=function(){function a(a){this.$2=null,this.$3=new Set(),this.$1=a}var b=a.prototype;b.getQueuedMutations=function(){return this.$3};b.push=function(a){var b=this,c;(a.optimisticResponse||a.optimisticUpdater)&&(c=this.$1.applyMutation(this.$4(a)));var d=function(a){a===void 0&&(a=function(){}),b.$2=null,c&&c.dispose(),a(),b.$5()},e={configs:a.configs,mutation:a.mutation,uploadables:a.uploadables,updater:a.updater,variables:a.variables,onCompleted:function(b){d(function(){a.onCompleted&&a.onCompleted(b)})},onError:function(b){d(function(){a.onError&&a.onError(b)})}};this.$3.add(e);this.$5();return{dispose:function(){if(b.$2&&b.$2.config===e){b.$2.disposable.dispose();d();return}var a=b.$3.has(e);a&&(b.$3["delete"](e),c&&c.dispose())}}};b.$5=function(){if(this.$2)return;var a=j(this.$3);if(a===void 0)return;this.$2={config:a,disposable:this.$6(a)}};b.$6=function(a){return g(this.$1,a)};b.$7=function(a){var b=i(a.mutation);if(b.params.operationKind!=="mutation")throw TypeError("enqueueMutation: Expected a mutation");if(b.kind!=="Request")throw TypeError("enqueueMutation: Expected mutation to be of type request");return h(b,a.variables)};b.$4=function(a){return{operation:this.$7(a),response:a.optimisticResponse,updater:a.optimisticUpdater}};return a}();function j(a){var b=a.values();b=b.next();if(b.done)return;a["delete"](b.value);return b.value}e.exports=a}),null); __d("enqueueMutation",["RelayMutationQueue"],(function(a,b,c,d,e,f){"use strict";var g=a();function a(){if(typeof WeakMap==="function")return new WeakMap();if(typeof Map==="function")return new Map();throw ReferenceError("Cannot use enqueueMutation in this environment. Either WeakMap or Map must be defined to use enqueueMutation.")}function c(a,c){var d=g.get(a);d||(d=new(b("RelayMutationQueue"))(a),g.set(a,d));return d.push(c)}function d(a){return g.get(a)}e.exports={enqueueMutation:c,__internal:{getMutationQueue:d}}}),null); __d("RelayFBSubscription",["ClientIDs","warning"],(function(a,b,c,d,e,f){"use strict";function a(a){return function(c,d){var e=d.variables.input,f="client_subscription_id"in e;b("warning")(!f,"RelayFBSubscription: found `client_subscription_id` in `input`. In the Facebook context, `client_subscription_id` are added automatically.");f=babelHelpers["extends"]({},d.variables,{input:babelHelpers["extends"]({},e,{client_subscription_id:b("ClientIDs").getNewClientID()})});return a(c,{variables:f,subscription:d.subscription,onCompleted:d.onCompleted,onError:d.onError,onNext:d.onNext,updater:d.updater,configs:d.configs})}}e.exports={addFBisms:a}}),null); __d("react-relay/ReactRelayContainerUtils",[],(function(a,b,c,d,e,f){"use strict";function g(a){return a.displayName||a.name||"Component"}function a(a){return"Relay("+g(a)+")"}e.exports={getComponentName:g,getContainerName:a}}),null); __d("react-relay/isRelayEnvironment",[],(function(a,b,c,d,e,f){"use strict";function a(a){return typeof a==="object"&&a!==null&&typeof a.check==="function"&&typeof a.lookup==="function"&&typeof a.retain==="function"&&typeof a.execute==="function"&&typeof a.subscribe==="function"}e.exports=a}),null); __d("react-relay/RelayContext",["invariant","react-relay/isRelayEnvironment"],(function(a,b,c,d,e,f,g){"use strict";function a(a){h(a)||g(0,6172,a);return a}function h(a){return typeof a==="object"&&a!==null&&!Array.isArray(a)&&b("react-relay/isRelayEnvironment")(a.environment)}e.exports={assertRelayContext:a,isRelayContext:h}}),null); __d("react-relay/assertFragmentMap",["invariant"],(function(a,b,c,d,e,f,g){"use strict";function a(a,b){b&&typeof b==="object"||g(0,5879,a,b);for(var c in b)if(Object.prototype.hasOwnProperty.call(b,c)){var d=b[c];d&&(typeof d==="object"||typeof d==="function")||g(0,5880,a,c,d)}}e.exports=a}),null); __d("react-relay/readContext",["react"],(function(a,b,c,d,e,f){"use strict";var g;c=g||b("react");d=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;var h=d.ReactCurrentDispatcher,i=d.ReactCurrentOwner;function a(a){var b=h!=null?h.current:i.currentDispatcher;return b.readContext(a)}e.exports=a}),null); __d("react-relay/buildReactRelayContainer",["invariant","react","react-relay/ReactRelayContext","react-relay/assertFragmentMap","mapObject","react-relay/readContext","react-relay/ReactRelayContainerUtils","relay-runtime"],(function(a,b,c,d,e,f,g){"use strict";var h,i,j=h||b("react"),k=b("react-relay/ReactRelayContainerUtils").getComponentName,l=b("react-relay/ReactRelayContainerUtils").getContainerName,m=b("relay-runtime").getFragment;function a(a,c,d){var e=l(a);b("react-relay/assertFragmentMap")(k(a),c);c=(i||(i=b("mapObject")))(c,m);var f=d(a,c);f.displayName=e;function h(a,c){var d=b("react-relay/readContext")(b("react-relay/ReactRelayContext"));d!=null||g(0,18241,e,e);return j.jsx(f,babelHelpers["extends"]({},a,{__relayContext:d,componentRef:a.componentRef||c}))}h.displayName=e;d=j.forwardRef(h);return d}e.exports=a}),null); __d("react-relay/getRootVariablesForFragments",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime").getSelector;function a(a,b){var c={};Object.keys(a).forEach(function(d){var e=a[d];d=b[d];e=g(e,d);e=e!=null&&e.kind==="PluralReaderSelector"?(d=(d=e.selectors[0])==null?void 0:d.owner.variables)!=null?d:{}:(d=e==null?void 0:e.owner.variables)!=null?d:{};c=babelHelpers["extends"]({},c,e)});return c}e.exports=a}),null); __d("react-relay/ReactRelayFragmentContainer",["react","areEqual","react-relay/buildReactRelayContainer","react-relay/getRootVariablesForFragments","react-relay/ReactRelayContainerUtils","react-relay/RelayContext","relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g,h,i=g||b("react"),j=b("react-relay/ReactRelayContainerUtils").getContainerName,k=b("react-relay/RelayContext").assertRelayContext,l=b("relay-runtime").createFragmentSpecResolver,m=b("relay-runtime").getDataIDsFromObject,n=b("relay-runtime").isScalarAndEqual;function o(a,c){var d,e,f=j(a);return e=d=function(d){babelHelpers.inheritsLoose(e,d);function e(a){var b;b=d.call(this,a)||this;b.$3=function(){var a=b.state.resolver;b.setState(function(b){return a===b.resolver?{data:b.resolver.resolve(),relayProp:p(b.relayProp.environment)}:null})};var e=k(a.__relayContext),g=l(e,f,c,a);b.state={data:g.resolve(),prevProps:a,prevPropsContext:e,relayProp:p(e.environment),resolver:g};return b}e.getDerivedStateFromProps=function(a,d){var e=d.prevProps,g=k(a.__relayContext);e=m(c,e);var i=m(c,a),j=d.resolver;if(d.prevPropsContext.environment!==g.environment||!(h||(h=b("areEqual")))(e,i)){j=l(g,f,c,a);return{data:j.resolve(),prevPropsContext:g,prevProps:a,relayProp:p(g.environment),resolver:j}}else{j.setProps(a);e=j.resolve();if(e!==d.data)return{data:e,prevProps:a,prevPropsContext:g,relayProp:p(g.environment)}}return null};var g=e.prototype;g.componentDidMount=function(){this.$1(),this.$2()};g.componentDidUpdate=function(a,b){this.state.resolver!==b.resolver&&(b.resolver.dispose(),this.$1()),this.$2()};g.componentWillUnmount=function(){this.state.resolver.dispose()};g.shouldComponentUpdate=function(a,b){if(b.data!==this.state.data)return!0;var d=Object.keys(a);for(var e=0;e