if (self.CavalryLogger) { CavalryLogger.start_js(["H56\/n"]); } __d("ChannelClientID",[],(function(a,b,c,d,e,f){var g=(Math.random()*2147483648|0).toString(16);a={getID:function(){return g}};e.exports=a}),null); __d("destroyOnUnload",["Run"],(function(a,b,c,d,e,f){function a(a){return b("Run").onLeave(a)}e.exports=a}),null); __d("GraphQLSubscriptionsTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(){this.clear()}a.prototype.log=function(){b("GeneratedLoggerUtils").log("logger:GraphQLSubscriptionsLoggerConfig",this.$1,b("Banzai").BASIC)};a.prototype.logVital=function(){b("GeneratedLoggerUtils").log("logger:GraphQLSubscriptionsLoggerConfig",this.$1,b("Banzai").VITAL)};a.prototype.logImmediately=function(){b("GeneratedLoggerUtils").log("logger:GraphQLSubscriptionsLoggerConfig",this.$1,{signal:!0})};a.prototype.clear=function(){this.$1={};return this};a.prototype.getData=function(){return babelHelpers["extends"]({},this.$1)};a.prototype.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};a.prototype.setAppState=function(a){this.$1.app_state=a;return this};a.prototype.setAppID=function(a){this.$1.appid=a;return this};a.prototype.setAppversion=function(a){this.$1.appversion=a;return this};a.prototype.setClientSampleWeight=function(a){this.$1.client_sample_weight=a;return this};a.prototype.setClientUserID=function(a){this.$1.client_userid=a;return this};a.prototype.setClienttime=function(a){this.$1.clienttime=a;return this};a.prototype.setDebugData=function(a){this.$1.debug_data=a;return this};a.prototype.setErrorRecoveryPolicyName=function(a){this.$1.error_recovery_policy_name=a;return this};a.prototype.setErrorRetriesEnabled=function(a){this.$1.error_retries_enabled=a;return this};a.prototype.setEvent=function(a){this.$1.event=a;return this};a.prototype.setExceptionData=function(a){this.$1.exception_data=a;return this};a.prototype.setExceptionType=function(a){this.$1.exception_type=a;return this};a.prototype.setForceLogContext=function(a){this.$1.force_log_context=a;return this};a.prototype.setHandleType=function(a){this.$1.handle_type=a;return this};a.prototype.setHeartbeatInterval=function(a){this.$1.heartbeat_interval=a;return this};a.prototype.setHeartbeatSequenceID=function(a){this.$1.heartbeat_sequence_id=a;return this};a.prototype.setIsemployee=function(a){this.$1.isemployee=a;return this};a.prototype.setMechanism=function(a){this.$1.mechanism=a;return this};a.prototype.setMqttClientCheckpoint=function(a){this.$1.mqtt_client_checkpoint=a;return this};a.prototype.setMqttState=function(a){this.$1.mqtt_state=a;return this};a.prototype.setMutationType=function(a){this.$1.mutation_type=a;return this};a.prototype.setName=function(a){this.$1.name=a;return this};a.prototype.setPublishCluster=function(a){this.$1.publish_cluster=a;return this};a.prototype.setPublishID=function(a){this.$1.publish_id=a;return this};a.prototype.setPublishTimeMs=function(a){this.$1.publish_time_ms=a;return this};a.prototype.setQueryID=function(a){this.$1.query_id=a;return this};a.prototype.setQueryParams=function(a){this.$1.query_params=b("GeneratedLoggerUtils").serializeMap(a);return this};a.prototype.setRawclienttime=function(a){this.$1.rawclienttime=a;return this};a.prototype.setReason=function(a){this.$1.reason=a;return this};a.prototype.setSessionID=function(a){this.$1.session_id=a;return this};a.prototype.setSubscriptionCall=function(a){this.$1.subscription_call=a;return this};a.prototype.setSubscriptionLeg=function(a){this.$1.subscription_leg=a;return this};a.prototype.setTime=function(a){this.$1.time=a;return this};a.prototype.setTopic=function(a){this.$1.topic=a;return this};a.prototype.setTopicData=function(a){this.$1.topic_data=b("GeneratedLoggerUtils").serializeMap(a);return this};a.prototype.setVC=function(a){this.$1.vc=a;return this};a.prototype.setWeight=function(a){this.$1.weight=a;return this};c={app_state:!0,appid:!0,appversion:!0,client_sample_weight:!0,client_userid:!0,clienttime:!0,debug_data:!0,error_recovery_policy_name:!0,error_retries_enabled:!0,event:!0,exception_data:!0,exception_type:!0,force_log_context:!0,handle_type:!0,heartbeat_interval:!0,heartbeat_sequence_id:!0,isemployee:!0,mechanism:!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,session_id:!0,subscription_call:!0,subscription_leg:!0,time:!0,topic:!0,topic_data:!0,vc:!0,weight:!0};e.exports=a}),null); __d("XHPTemplate",["DataStore","DOM","HTML","XHPTemplateProcessor"],(function(a,b,c,d,e,f){__p&&__p();var g=b("XHPTemplateProcessor").processor;function h(a){"use strict";g instanceof Function&&(a=g(a)),this._model=a}h.prototype.render=function(){"use strict";b("HTML").isHTML(this._model)&&(this._model=b("DOM").setContent(document.createDocumentFragment(),this._model)[0]);return this._model.cloneNode(!0)};h.prototype.build=function(){"use strict";return new i(this.render())};h.getNode=function(a,b){"use strict";return h.getNodes(a)[b]};h.getNodes=function(a){"use strict";__p&&__p();var c=b("DataStore").get(a,"XHPTemplate:nodes");if(!c){c={};var d=b("DOM").scry(a,"[data-jsid]");d.push(a);var e=d.length;while(e--){var f=d[e];c[f.getAttribute("data-jsid")]=f;f.removeAttribute("data-jsid")}b("DataStore").set(a,"XHPTemplate:nodes",c)}return c};function i(a){"use strict";this._root=a,this._populateNodes()}i.prototype._populateNodes=function(){"use strict";this._nodes={};this._leaves={};var a=this._root.getElementsByTagName("*");for(var b=0,c=a.length;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}};e.exports=a}),null); __d("xhrSimpleDataSerializer",[],(function(a,b,c,d,e,f){"use strict";function a(a){var b=[];for(var c in a)b.push(encodeURIComponent(c)+"="+encodeURIComponent(a[c]));return b.join("&")}e.exports=a}),null); __d("XHRRequest",["invariant","Env","ErrorUtils","ResourceTimingsStore","ResourceTypes","TimeSlice","URI","XHRHttpError","ZeroRewrites","getAsyncHeaders","ifRequired","xhrSimpleDataSerializer"],(function(a,b,c,d,e,f,g){__p&&__p();var h={loadedBytes:null,totalBytes:null};function a(a){"use strict";this.setURI(a),this.setResponseType(null),this.setMethod("POST"),this.setTransportBuilder(b("ZeroRewrites").getTransportBuilderForURI(this.getURI())),this.setDataSerializer(b("xhrSimpleDataSerializer")),this.$1=b("ResourceTimingsStore").getUID(b("ResourceTypes").XHR,a!=null?a.toString():"")}a.prototype.setURI=function(a){"use strict";this.$2=b("ZeroRewrites").rewriteURI(new(b("URI"))(a));return this};a.prototype.getURI=function(){"use strict";return this.$2};a.prototype.setResponseType=function(a){"use strict";this.$3=a;return this};a.prototype.setMethod=function(a){"use strict";this.$4=a;return this};a.prototype.getMethod=function(){"use strict";return this.$4};a.prototype.setData=function(a){"use strict";this.$5=a;return this};a.prototype.getData=function(){"use strict";return this.$5};a.prototype.setRawData=function(a){"use strict";this.$6=a;return this};a.prototype.setRequestHeader=function(a,b){"use strict";this.$7||(this.$7={});this.$7[a]=b;return this};a.prototype.setTimeout=function(a){"use strict";this.$8=a;return this};a.prototype.getTimeout=function(){"use strict";return this.$8};a.prototype.setResponseHandler=function(a){"use strict";this.$9=a;return this};a.prototype.getResponseHandler=function(){"use strict";return this.$9};a.prototype.setErrorHandler=function(a){"use strict";this.$10=a;return this};a.prototype.getErrorHandler=function(){"use strict";return this.$10};a.prototype.setNetworkFailureHandler=function(a){"use strict";this.$11=a;return this};a.prototype.getNetworkFailureHandler=function(){"use strict";return this.$11};a.prototype.setAbortHandler=function(a){"use strict";this.$12=a;return this};a.prototype.getAbortHandler=function(){"use strict";return this.$12};a.prototype.setTimeoutHandler=function(a){"use strict";this.$13=a;return this};a.prototype.getTimeoutHandler=function(){"use strict";return this.$13};a.prototype.setUploadProgressHandler=function(a){"use strict";this.$14=a;return this};a.prototype.setDownloadProgressHandler=function(a){"use strict";this.$15=a;return this};a.prototype.setTransportBuilder=function(a){"use strict";this.$16=a;return this};a.prototype.setDataSerializer=function(a){"use strict";this.$17=a;return this};a.prototype.send=function(){"use strict";__p&&__p();var a=this.$8,c=this.$16(),d=this.getURI(),e=new(b("URI"))(d).getQualifiedURI().toString(),f=this.$1;b("ResourceTimingsStore").updateURI(b("ResourceTypes").XHR,f,e);b("ResourceTimingsStore").measureRequestSent(b("ResourceTypes").XHR,f);this.$18=c;this.$4==="POST"||!this.$6||g(0,2346,this.$6,d);b("Env").force_param&&Object.assign(this.$5,b("Env").force_param);this.$4==="GET"||this.$6?(d.addQueryData(this.$5),e=this.$6):e=this.$17(this.$5);function h(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 f=e===4,g=this.getURI();g=b("XHRHttpError").getErrorCode(g,d.status);var h=this.$9;if(g!==null){if(f){g={errorCode:g,errorMsg:this.$28(d),errorRawTransport:d.constructor.name,errorRawTransportStatus:d.status,errorType:d.status?"HTTP "+d.status:"HTTP"};this.$10?b("ErrorUtils").applyWithGuard(a.bind(undefined,this.$10),null,[g],null,"XHRRequest:_errorHandler"):a(function(){})}}else if(h){g=null;h.includeHeaders&&(g=d.getAllResponseHeaders());if(f||h.parseStreaming&&e===3){e=f?a:c;b("ErrorUtils").applyWithGuard(e.bind(undefined,h),null,[this.$28(d),g,f],null,"XHRRequest:handler")}}else f&&a(function(){});f&&this.$27()}}.bind(this)};a.prototype.$21=function(a){"use strict";h.loadedBytes=a.loaded,h.totalBytes=a.total,this.$14&&b("ErrorUtils").applyWithGuard(this.$14,null,[h],null,"XHRRequest:_uploadProgressHandler")};a.prototype.$22=function(a){"use strict";a={loadedBytes:a.loaded,totalBytes:a.total};this.$15&&b("ErrorUtils").applyWithGuard(this.$15,null,[a],null,"XHRRequest:_downloadProgressHandler")};a.prototype.$27=function(){"use strict";clearTimeout(this.$23),delete this.$18};e.exports=a}),null); __d("SimpleFBAuthenticatedXHRRequest",["invariant","CurrentUser","DTSG","DTSGUtils","ServerJSDefine","SprinkleConfig","XHRRequest","isFacebookURI"],(function(a,b,c,d,e,f,g){__p&&__p();var h,i=1;a=babelHelpers.inherits(j,b("XHRRequest"));h=a&&a.prototype;function j(a,c){"use strict";h.constructor.call(this,a);a={__dyn:b("ServerJSDefine").getLoadedModuleHash(),__req:(i++).toString(36),__ajax__:1,__a:1,__user:b("CurrentUser").getID()};h.setData.call(this,babelHelpers["extends"]({},c,a))}j.prototype.send=function(){"use strict";__p&&__p();if(!b("isFacebookURI")(this.getURI()))return h.send.call(this);if(b("DTSG").getCachedToken){var a=b("DTSG").getCachedToken();if(a)return this.sendOnDTSGToken(a);else{b("DTSG").getToken().done(function(a){return this.sendOnDTSGToken(a)}.bind(this));return this}}else this.sendOnDTSGToken(b("DTSG").getToken())};j.prototype.sendOnDTSGToken=function(a){"use strict";if(a){h.setData.call(this,babelHelpers["extends"]({},this.getData(),{fb_dtsg:a}));if(b("SprinkleConfig").param_name){var c;h.setData.call(this,babelHelpers["extends"]({},this.getData(),(c={},c[b("SprinkleConfig").param_name]=b("DTSGUtils").getNumericValue(a),c)))}}return h.send.call(this)};j.prototype.setData=function(a){"use strict";g(0,5518)};j.parseResponse=function(a){"use strict";return JSON.parse(a.substr(9))};j.getPayload=function(a){"use strict";a=j.parseResponse(a).payload;return a.payload?a.payload:a};e.exports=j}),null); __d("XFantailLogController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/ajax/fantail/",{service:{type:"String",required:!0}})}),null); __d("FantailLogQueue",["ChannelClientID","CircularBuffer","FantailConfig","PHPQuerySerializer","SimpleFBAuthenticatedXHRRequest","XFantailLogController","destroyOnUnload","setIntervalAcrossTransitions","sprintf"],(function(a,b,c,d,e,f){__p&&__p();var g={DEBUG:"debug",INFO:"info",WARN:"warn",ERROR:"error"};function h(a){"use strict";this.$2=a,this.$3=new(b("CircularBuffer"))(200),b("setIntervalAcrossTransitions")(this.$4.bind(this),30*1e3),b("destroyOnUnload")(this.$4.bind(this))}h.get=function(a){"use strict";h.$1=h.$1||{};h.$1[a]=h.$1[a]||new h(a);return h.$1[a]};h.prototype.debug=function(a){"use strict";for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d1?b-1:0),d=1;d2?d-2:0),f=2;f0){var c={log_time:[],log:[],severity:[],device_id:[]};a.forEach(function(a){c.log_time.push(a.log_time),c.log.push(a.log),c.severity.push(a.severity),c.device_id.push(a.device_id)});this.$3.clear();a=b("XFantailLogController").getURIBuilder().setString("service",this.$2).getURI();new(b("SimpleFBAuthenticatedXHRRequest"))(a,c).setMethod("POST").setDataSerializer(b("PHPQuerySerializer").serialize).setRequestHeader("Content-Type","application/x-www-form-urlencoded").send()}};e.exports=h}),null); __d("GraphQLSubscriptionsLoggerEvent",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({SYSTEM_SUBSCRIBE:"subscribe",SYSTEM_UNSUBSCRIBE:"unsubscribe",CLIENT_SUBSCRIBE:"client_subscribe",CLIENT_UNSUBSCRIBE:"client_unsubscribe",PUBLISH:"publish",SEND:"send",GENPAYLOAD:"genpayload",GENTOPIC:"gentopic",RECEIVEPAYLOAD:"receivepayload",RECEIVE_HEARTBEAT:"receive_heartbeat",RECEIVE_DEEP_ACK:"receive_deep_ack",CLIENT_RESUBSCRIBE:"client_resubscribe",REACH_MQTT_CLIENT_CHECKPOINT:"reach_mqtt_client_checkpoint",STATE_MACHINE_START:"state_start",STATE_MACHINE_RESUME:"state_resume",STATE_MACHINE_PAUSE:"state_pause",STATE_MACHINE_TERMINATE:"state_terminate"})}),null); __d("GraphQLSubscriptionsMechanism",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({SKYWALKER:"skywalker"})}),null); __d("QuickLogConfigHelper",["QuickLogConfig"],(function(a,b,c,d,e,f){a.prototype.getEventDetails=function(a){"use strict";var c=null;b("QuickLogConfig").qpl_events?c=b("QuickLogConfig").qpl_events[a]:b("QuickLogConfig").qpl_events_static&&(c=b("QuickLogConfig").qpl_events_static[a]);return c};function a(){"use strict"}e.exports=new a()}),null); __d("QuickLogEvents",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({655575:{moduleName:"FEED",name:"CONSUMPTION_RESTORATION_WWW",sampleRate:1},655576:{moduleName:"FEED",name:"IMAGE_LOAD_WWW",sampleRate:5e3},655584:{moduleName:"FEED",name:"NOTIFICATION_INTERACTION_WWW",sampleRate:1},655585:{moduleName:"FEED",name:"COMMENT_TTL_WWW",sampleRate:250},655595:{moduleName:"FEED",name:"MAIN_THREAD_PERFORMANCE",sampleRate:1},655596:{moduleName:"FEED",name:"LOAD_ANY_DESTINATION_FROM_NOTIFICATIONS_WWW",sampleRate:50},655597:{moduleName:"FEED",name:"LOAD_STORY_PERMALINK_FROM_ANYWHERE_WWW",sampleRate:100},3735589:{moduleName:"UFI",name:"UFI_OPTIMISTIC_COMMENT",sampleRate:100},3735590:{moduleName:"UFI",name:"UFI2_OPTIMISTIC_COMMENT",sampleRate:1},3735591:{moduleName:"UFI",name:"UFI_PERSISTED_COMMENT",sampleRate:100},3735592:{moduleName:"UFI",name:"UFI2_PERSISTED_COMMENT",sampleRate:1},3735593:{moduleName:"UFI",name:"UFI2_OPTIMISTIC_COMMENT_EDIT",sampleRate:1},3735594:{moduleName:"UFI",name:"UFI2_PERSISTED_COMMENT_EDIT",sampleRate:1},3735595:{moduleName:"UFI",name:"UFI_TOP_LEVEL_COMMENTS_PAGINATION",sampleRate:100},3735596:{moduleName:"UFI",name:"UFI2_TOP_LEVEL_COMMENTS_PAGINATION",sampleRate:1},3735597:{moduleName:"UFI",name:"UFI2_REPLY_COMMENTS_PAGINATION",sampleRate:1},3735598:{moduleName:"UFI",name:"UFI_SHARE_DIALOG_OPENS",sampleRate:100},3735599:{moduleName:"UFI",name:"UFI2_SHARE_DIALOG_OPENS",sampleRate:1},3735600:{moduleName:"UFI",name:"UFI_COMPOSER_INPUT_FOCUS",sampleRate:100},3735601:{moduleName:"UFI",name:"UFI_STORY_REACTION",sampleRate:100},3735602:{moduleName:"UFI",name:"UFI2_STORY_REACTION",sampleRate:1},3735603:{moduleName:"UFI",name:"UFI2_COMMENT_REACTION",sampleRate:1},3735604:{moduleName:"UFI",name:"UFI_COMMENT_REACTION",sampleRate:100},3735605:{moduleName:"UFI",name:"UFI_COMPOSER_KEYPRESS_LATENCY",sampleRate:100},3735606:{moduleName:"UFI",name:"UFI2_COMPOSER_KEYPRESS_LATENCY",sampleRate:1},7733270:{moduleName:"ADS_MANAGER",name:"ADS_CHANGE_LEVEL_WWW",sampleRate:null},7733271:{moduleName:"ADS_MANAGER",name:"OPTIMAL_STRATEGY_ELIGIBLE_CAMPAIGNS_TTI",sampleRate:1},7995396:{moduleName:"RELAY",name:"UNSAFE_SUBSCRIPTIONS_TEST",sampleRate:100},7995398:{moduleName:"RELAY",name:"UNSAFE_SYNC_TEST",sampleRate:100},7995399:{moduleName:"RELAY",name:"UNSAFE_ASYNC_TEST",sampleRate:100},7995400:{moduleName:"RELAY",name:"RUNTIME_SUBSCRIPTIONS",sampleRate:1},7995401:{moduleName:"RELAY",name:"NETWORK_FETCH_QUERY",sampleRate:1},7995402:{moduleName:"RELAY",name:"RUNTIME_GC",sampleRate:1},7995403:{moduleName:"RELAY",name:"RUNTIME_NOTIFY",sampleRate:100},7995404:{moduleName:"RELAY",name:"RESPONSE_NORMALIZER_NORMALIZE",sampleRate:100},7995408:{moduleName:"RELAY",name:"LOAD_ALL_PROJECTS_AIP",sampleRate:100},11075606:{moduleName:"MARKETPLACE",name:"REACT_TTI_WWW",sampleRate:100},11075638:{moduleName:"MARKETPLACE",name:"BROWSE_FEED_PAGINATION_WWW",sampleRate:1},12517384:{moduleName:"ABOUTPAGE",name:"Z_AMPERANDY_TEST_WWW",sampleRate:0},12845073:{moduleName:"NATIVE_TEMPLATES",name:"MTOUCH_REACT_RENDER",sampleRate:1},12845074:{moduleName:"NATIVE_TEMPLATES",name:"MTOUCH_REACT_ASYNC_ACTION",sampleRate:1},12845075:{moduleName:"NATIVE_TEMPLATES",name:"MTOUCH_ASYNC_ACTION",sampleRate:null},13238313:{moduleName:"STORIES",name:"STORY_VIEWER_LOAD_TTI_WWW",sampleRate:100},13238314:{moduleName:"STORIES",name:"STORY_VIEWER_LOAD_FIRST_TIME_WWW",sampleRate:100},14549005:{moduleName:"LIVE",name:"VIDEO_COMPONENT_TTL",sampleRate:null},19202053:{moduleName:"PAGES_INSIGHTS",name:"OVERVIEW_CARD_WWW",sampleRate:100},19202054:{moduleName:"PAGES_INSIGHTS",name:"OVERVIEW_TAB_PAGE_SUMMARY_WWW",sampleRate:10},19202055:{moduleName:"PAGES_INSIGHTS",name:"OVERVIEW_TAB_MOST_RECENT_POST_WWW",sampleRate:10},19202056:{moduleName:"PAGES_INSIGHTS",name:"POSTS_TAB_ALL_POSTS_PUBLISHED_WWW",sampleRate:10},19202057:{moduleName:"PAGES_INSIGHTS",name:"POSTS_TAB_WHEN_FANS_ONLINE_WWW",sampleRate:10},19202058:{moduleName:"PAGES_INSIGHTS",name:"POSTS_TAB_BEST_POSTS_WWW",sampleRate:10},19202059:{moduleName:"PAGES_INSIGHTS",name:"POST_TAB_PAGE_YOU_WATCH_WWW",sampleRate:10},19202060:{moduleName:"PAGES_INSIGHTS",name:"LIKES_TAB_LOAD_WWW",sampleRate:10},19202061:{moduleName:"PAGES_INSIGHTS",name:"LIKES_TAB_UPDATE_WWW",sampleRate:10},19202062:{moduleName:"PAGES_INSIGHTS",name:"REACH_TAB_LOAD_WWW",sampleRate:10},19202063:{moduleName:"PAGES_INSIGHTS",name:"REACH_TAB_UPDATE_WWW",sampleRate:10},19202064:{moduleName:"PAGES_INSIGHTS",name:"REACH_TAB_REACTION_LOAD_WWW",sampleRate:10},19202065:{moduleName:"PAGES_INSIGHTS",name:"REACH_TAB_REACTION_UPDATE_WWW",sampleRate:10},19202066:{moduleName:"PAGES_INSIGHTS",name:"POSTS_TAB_ALL_POSTS_SEE_MORE_WWW",sampleRate:10},20578316:{moduleName:"GROUPS_ADMIN",name:"MEMBER_REQUESTS_TTI_WWW",sampleRate:0},22347782:{moduleName:"STORIES_ARCHIVE",name:"ARCHIVE_GRID_TTI_WWW",sampleRate:100},23265284:{moduleName:"CHECKOUT_PURCHASE_EXPERIENCES",name:"CHECKOUT_FLOW_WWW",sampleRate:1},23265285:{moduleName:"CHECKOUT_PURCHASE_EXPERIENCES",name:"CHECKOUT_LAUNCH_BY_PRODUCT_WWW",sampleRate:1},23265286:{moduleName:"CHECKOUT_PURCHASE_EXPERIENCES",name:"PAY_FLOW_WWW",sampleRate:1},23855105:{moduleName:"UNIDASH",name:"INIT_LOAD_WWW",sampleRate:1},23855106:{moduleName:"UNIDASH",name:"WIDGET_LOAD_START_WWW",sampleRate:1},23855107:{moduleName:"UNIDASH",name:"WIDGET_LOAD_END_WWW",sampleRate:1},23855108:{moduleName:"UNIDASH",name:"PAGE_LOAD_END_WWW",sampleRate:1},23855109:{moduleName:"UNIDASH",name:"TAB_NAV_START_WWW",sampleRate:1},23855110:{moduleName:"UNIDASH",name:"CLEAN_LOAD_WWW",sampleRate:1},23855111:{moduleName:"UNIDASH",name:"WIDGET_LOAD_WWW",sampleRate:1},23855112:{moduleName:"UNIDASH",name:"TAB_NAV_WWW",sampleRate:1},24117249:{moduleName:"SRT",name:"TIME_TO_FIRST_JOB_WWW",sampleRate:1},24117250:{moduleName:"SRT",name:"PAGE_NAVIGATION_START_WWW",sampleRate:0},24117251:{moduleName:"SRT",name:"TIME_TO_NEXT_JOB_WWW",sampleRate:1},25296897:{moduleName:"MESSENGER_WEB",name:"FIRSTCHATTABOPEN_WWW",sampleRate:1},25296898:{moduleName:"MESSENGER_WEB",name:"GROUP_INPUT_TAB_OPEN_WWW",sampleRate:0},25296899:{moduleName:"MESSENGER_WEB",name:"GROUP_INPUT_INDIVIDUAL_TAB_OPEN_WWW",sampleRate:null},25296900:{moduleName:"MESSENGER_WEB",name:"COMPOSER_INTERACTION",sampleRate:null},25296901:{moduleName:"MESSENGER_WEB",name:"PAGE_LOAD_MDOTCOM_WWW",sampleRate:1},25296902:{moduleName:"MESSENGER_WEB",name:"THREAD_LOAD_MDOTCOM_WWW",sampleRate:1},25493505:{moduleName:"TAHOE",name:"TAHOE_MEDIA_DONE",sampleRate:null},25493506:{moduleName:"TAHOE",name:"TAHOE_DISPLAY_DONE",sampleRate:null},25952260:{moduleName:"NAVIGATION",name:"ASYNC_NAVIGATION_MTOUCH",sampleRate:10},26476545:{moduleName:"WWW_PROFILE",name:"TIMELINE_TAIL_LOAD_WWW",sampleRate:1},26804227:{moduleName:"WIKTORK_TEST",name:"WIKTORK_TEST_THREE",sampleRate:0},26869761:{moduleName:"CREATOR_STUDIO",name:"CREATOR_STUDIO_INITIAL_LOAD",sampleRate:1},26869762:{moduleName:"CREATOR_STUDIO",name:"CREATOR_STUDIO_FEED_LOAD",sampleRate:1},26869763:{moduleName:"CREATOR_STUDIO",name:"CREATOR_STUDIO_CONTEXT_SWITCH",sampleRate:1},26869764:{moduleName:"CREATOR_STUDIO",name:"CREATOR_STUDIO_LOADING_EVENT",sampleRate:1},27459585:{moduleName:"IG_WEB",name:"IG_FEED_LOAD",sampleRate:1e4},27459586:{moduleName:"IG_WEB",name:"IG_FEED_LOAD_MORE",sampleRate:1e4},27459587:{moduleName:"IG_WEB",name:"EMBED_LOAD",sampleRate:1e4},27459588:{moduleName:"IG_WEB",name:"APP_START",sampleRate:1e4},27983873:{moduleName:"COMET_VISUAL_COMPLETION",name:"COMET_VISUALLY_COMPLETE_WWW",sampleRate:1},27983874:{moduleName:"COMET_VISUAL_COMPLETION",name:"COMET_SPEED_INDEX_WWW",sampleRate:1},27983875:{moduleName:"COMET_VISUAL_COMPLETION",name:"BLUE_VISUALLY_COMPLETE_WWW",sampleRate:1},27983876:{moduleName:"COMET_VISUAL_COMPLETION",name:"BLUE_SPEED_INDEX_WWW",sampleRate:1},28377089:{moduleName:"DELTOID_METRIC_MONITOR",name:"QUERY_RESULTS",sampleRate:1},28770305:{moduleName:"NEWPULSE",name:"THRIFT_CALL_WWW",sampleRate:0},29294593:{moduleName:"QE",name:"QE2_LOAD",sampleRate:1},29818881:{moduleName:"COMET_STARTUP",name:"INITIAL_LOAD",sampleRate:1},29818882:{moduleName:"COMET_STARTUP",name:"NAVIGATION",sampleRate:1},29818883:{moduleName:"COMET_STARTUP",name:"INITIAL_LOAD_SERVER",sampleRate:1},29949953:{moduleName:"ADS_INTEGRATION_PORTAL",name:"LOAD_ALL_PROJECTS_WWW",sampleRate:1},29949954:{moduleName:"ADS_INTEGRATION_PORTAL",name:"LOAD_ALL_PROJCTS_WWW",sampleRate:1},29949955:{moduleName:"ADS_INTEGRATION_PORTAL",name:"LOAD_PROJECTS_TABLE_WWW",sampleRate:1}})}),null); __d("QuickPerformanceLoggerBase",["Arbiter","Banzai","Bootloader","Env","PerfXSharedFields","QuickLogConfig","QuickLogConfigHelper","Random","gkx","performanceAbsoluteNow","performanceNavigationStart","requireCond","cr:682175"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("cr:682175").v,h=b("performanceAbsoluteNow")();function a(a){a===void 0&&(a={}),this.$1={},this.$2={},this.$3=100,this.loomProviderId="QPL",this.$4=a,g&&g.addProvider(this)}a.prototype.$7=function(a,c){if(b("QuickLogConfig").killswitch)return null;a=this.$1[a];if(!a)return null;a=a[c];return!a?null:a};a.prototype.markerStart=function(a,c,d){__p&&__p();c===void 0&&(c=0);d===void 0&&(d=this.currentTimestamp());if(b("QuickLogConfig").killswitch)return;var e=b("QuickLogConfigHelper").getEventDetails(a);if(!e)return;if(g&&!this.$5){var f=a+"_"+c,h=new Set(["QPL"]);g.startTrace(f,h)}this.$5&&this.$5.buffer.addEvent({type:"QPL_START",action:"START",markerId:a,instanceKey:c},d);f=this.$6===a?1:this.$2[a]||e.sampleRate||this.$3;if(!b("Env").enable_qplinspector&&!b("Random").coinflip(f))return;h=this.$1[a];h||(this.$1[a]={});this.$1[a][c]={timestamp:d,sampleRate:f,points:{}};e=this.$4.onMarkerStart;e&&e(a,c,d)};a.prototype.markerStartFromNavStart=function(a,c){c===void 0&&(c=0);var d=b("performanceNavigationStart")();this.markerStart(a,c,d);if(b("performanceNavigationStart").isPolyfilled){d=this.$7(a,c);d&&(d.timestampIsApproximate=!0)}};a.prototype.annotateMarkerString=function(a,b,c,d){d===void 0&&(d=0);var e=this.$5;e&&e.buffer.addEvent({type:"QPL_ANNOTATION",markerId:a,instanceKey:d,annotationKey:b,annotationValue:c});e=this.$7(a,d);if(!e)return;a=e.annotations||{};a[b]=c;e.annotations=a};a.prototype.annotateMarkerStringArray=function(a,b,c,d){d===void 0&&(d=0);var e=this.$5;e&&e.buffer.addEvent({type:"QPL_ANNOTATION",markerId:a,instanceKey:d,annotationKey:b,annotationValue:c});e=this.$7(a,d);if(!e)return;a=e.annotationsStringArray||{};a[b]=c;e.annotationsStringArray=a};a.prototype.annotateMarkerInt=function(a,b,c,d){d===void 0&&(d=0);var e=this.$5;e&&e.buffer.addEvent({type:"QPL_ANNOTATION",markerId:a,instanceKey:d,annotationKey:b,annotationValue:c});e=this.$7(a,d);if(!e)return;a=e.annotationsInt||{};a[b]=c;e.annotationsInt=a};a.prototype.annotateMarkerIntArray=function(a,b,c,d){d===void 0&&(d=0);var e=this.$5;e&&e.buffer.addEvent({type:"QPL_ANNOTATION",markerId:a,instanceKey:d,annotationKey:b,annotationValue:c});e=this.$7(a,d);if(!e)return;a=e.annotationsIntArray||{};a[b]=c;e.annotationsIntArray=a};a.prototype.annotateMarkerDouble=function(a,b,c,d){d===void 0&&(d=0);var e=this.$5;e&&e.buffer.addEvent({type:"QPL_ANNOTATION",markerId:a,instanceKey:d,annotationKey:b,annotationValue:c});e=this.$7(a,d);if(!e)return;a=e.annotationsDouble||{};a[b]=c;e.annotationsDouble=a};a.prototype.annotateMarkerDoubleArray=function(a,b,c,d){d===void 0&&(d=0);var e=this.$5;e&&e.buffer.addEvent({type:"QPL_ANNOTATION",markerId:a,instanceKey:d,annotationKey:b,annotationValue:c});e=this.$7(a,d);if(!e)return;a=e.annotationsDoubleArray||{};a[b]=c;e.annotationsDoubleArray=a};a.prototype.markerPoint=function(a,b,c,d,e){d===void 0&&(d=0);e===void 0&&(e=this.currentTimestamp());a=this.$7(a,d);if(!a)return;a.points[b]={data:c,timeSinceStart:e-a.timestamp}};a.prototype.markerEnd=function(a,c,d,e){__p&&__p();d===void 0&&(d=0);e===void 0&&(e=this.currentTimestamp());var f=Date.now(),i=b("QuickLogConfigHelper").getEventDetails(a);if(!i)return;var j=this.$5;if(j){j.buffer.addEvent({type:"QPL_END",action:c,markerId:a,instanceKey:d},e);var k=a+"_"+d;g&&j.triggerId===k&&g.endTraceWithTimeout(k,3e4)}j=this.$7(a,d);if(!j)return;k=this.$4.onMarkerEnd;k&&k(a,d,e);k=e-j.timestamp;f=f-k;var l=j.points;this.$8({event_is_intermediate_marker:"false",instance_id:d,quicklog_module:i.moduleName,quicklog_event:i.name,quicklog_action:c,sample_rate:j.sampleRate,trace_tags:"",value:j.timestampIsApproximate?null:k,annotations:j.annotations,annotations_double:j.annotationsDouble,annotations_double_array:j.annotationsDoubleArray,annotations_int:j.annotationsInt,annotations_int_array:j.annotationsIntArray,annotations_string_array:j.annotationsStringArray,points:Object.keys(l).map(function(a){return{data:l[a].data,name:a,timeSinceStart:l[a].timeSinceStart}}),metadata:{application_analytics:{time_since_qpl_module_init:e-h}}},f);this.$6===a&&(console.timeStamp("QPLDebug MarkerEnd, "+this.currentTimestamp()+", "+f+", "+k),b("Arbiter").inform("qpl_debugger_finished"));delete this.$1[a][d]};a.prototype.markerDrop=function(a,b){b===void 0&&(b=0);a=this.$1[a];a&&delete a[b]};a.prototype.dropAllMarkers=function(){this.$1={}};a.prototype.setAlwaysOnSampleRate=function(a,b){this.$2[a]=b};a.prototype.setSampleRateForInstance=function(a,b,c){c===void 0&&(c=0);a=this.$1[a][c];a&&(a.sampleRate=b)};a.prototype.currentTimestamp=function(){return b("performanceAbsoluteNow")()};a.prototype.$8=function(event,a){event=this.$9(event);var c=this.$10(event,a);b("Env").enable_qplinspector&&b("Bootloader").loadModules(["QPLInspector"],function(a){a.appendLog(c)},"QuickPerformanceLoggerBase");b("gkx")("708253")?b("Banzai").post("perf",c,b("Banzai").VITAL):b("Banzai").post("perf",c)};a.prototype.$9=function(event){var a=b("PerfXSharedFields").getCommonData();event.metadata=babelHelpers["extends"]({},event.metadata,{memory_stats:{total_mem:a.ram_gb?a.ram_gb*1073741824:null},network_stats:{downlink_megabits:a.downlink_megabits,network_subtype:a.effective_connection_type,rtt_ms:a.rtt_ms}});return event};a.prototype.$10=function(event,a){a=Math.floor(a/1e3);return{appversion:"0 (web)",clienttime:a,rawclienttime:a,deviceid:"0",extra:event}};a.prototype.loomTraceDidBegin=function(a){this.$5=a};a.prototype.loomTraceWillEnd=function(){this.$5=null};a.prototype.enableDebug=function(a){this.$6=parseInt(a,10)};a.prototype.disableDebug=function(){this.$6=null};e.exports=a}),null); __d("QuickPerformanceLoggerImpl",["EventProfiler","QuickLogConfig","QuickPerformanceLoggerBase"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h={},i={onMarkerStart:function(a,c,d){var e=b("QuickLogConfig").qpl_to_interaction[a];if(e){a=a+" : "+c;h[a]=b("EventProfiler").markManualStart([e.name],e.eventType,d)}},onMarkerEnd:function(a,b,c){a=a+" : "+b;h[a]&&h[a].markManualEnd(c)}};c=babelHelpers.inherits(a,b("QuickPerformanceLoggerBase"));g=c&&c.prototype;function a(){g.constructor.call(this,i)}e.exports=new a()}),null); __d("SkywalkerManager",["regeneratorRuntime","Promise","BladeRunnerDeferredClient","BladeRunnerStreamHandler","Bootloader","gkx","nullthrows","promiseDone"],(function(a,b,c,d,e,f){__p&&__p();var g="request_stream",h="cp_skywalker",i="mqtt_skywalker";function a(){"use strict";this.$1=new(b("BladeRunnerDeferredClient"))(),this.$4=!1}a.prototype.subscribe=function(a,c,d){__p&&__p();d===void 0&&(d={});var e=this.$6(a,c,d);b("promiseDone")(e);return{getTopic:function(){return a},getContext:function(){return d.context},isUnsubscribed:function(){return this.$7},unsubscribe:function(){this.$7=!0;return e.then(function(a){return a.unsubscribe()})},$7:!1}};a.prototype.$6=function(a,c,d){"use strict";__p&&__p();var e;return b("regeneratorRuntime").async(function(b){__p&&__p();while(1)switch(b.prev=b.next){case 0:e=this.getSubscriptionType(a);if(!(e===g)){b.next=5;break}return b.abrupt("return",this.$8(a,c,d));case 5:if(!(e===i)){b.next=9;break}return b.abrupt("return",this.$9(a,c,d));case 9:return b.abrupt("return",this.$10(a,c,d));case 10:case"end":return b.stop()}},null,this)};a.prototype.getSubscriptionType=function(a){"use strict";if(this.$11(a))return g;else if(this.$12(a))return i;return h};a.prototype.$9=function(a,c,d){"use strict";__p&&__p();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.$13());case 2:e=f.sent;return f.abrupt("return",e.subscribe(a,c,d));case 4:case"end":return f.stop()}},null,this)};a.prototype.$10=function(a,c,d){"use strict";__p&&__p();var e,f;return b("regeneratorRuntime").async(function(g){while(1)switch(g.prev=g.next){case 0:g.next=2;return b("regeneratorRuntime").awrap(this.$14());case 2:e=g.sent;f=e.subscribe(a,c,d.context,d.onSubscribe,d.onUnsubscribeEager,d.onUnsubscribe);d.gqlsLifecycleHandler&&f.handleLifecycles(d.gqlsLifecycleHandler);return g.abrupt("return",f);case 6:case"end":return g.stop()}},null,this)};a.prototype.$12=function(a){"use strict";return!this.$4&&j()&&b("gkx")("678255")&&!a.startsWith("gqls/")};a.prototype.$11=function(a){"use strict";return j()&&this.$15(a)!=null};a.prototype.$15=function(a){"use strict";if(a.startsWith("gqls/feedback_like_subscribe"))return b("gkx")("683301")?"GqlsFeedbackLikeSubscribe":null;return a.startsWith("gqls/live_video_comment_create_subscribe")?b("gkx")("688302")&&b("gkx")("688303")?"GqlsLiveVideoCommentCreateSubscribe":null:null};a.prototype.$8=function(a,c,d){"use strict";__p&&__p();var e,f,g,h;return b("regeneratorRuntime").async(function(i){__p&&__p();while(1)switch(i.prev=i.next){case 0:e=b("nullthrows")(this.$15(a));i.next=3;return b("regeneratorRuntime").awrap(this.$16());case 3:f=i.sent;g=f.patchContext(d.context);i.next=7;return b("regeneratorRuntime").awrap(this.$1.requestStream({method:e,topic:a},JSON.stringify(g),new(b("BladeRunnerStreamHandler"))(function(b){this.$1.bumpCounter("received_data."+e);b=JSON.parse(b);c({topic:a,payload:b.payload})}.bind(this),function(a){this.$1.bumpCounter("received_status_"+a+"."+e)}.bind(this),function(a){})));case 7:h=i.sent;d.onSubscribe&&d.onSubscribe({data:{},error:null});return i.abrupt("return",{unsubscribe:function(){return b("regeneratorRuntime").async(function(a){while(1)switch(a.prev=a.next){case 0:d.onUnsubscribeEager&&d.onUnsubscribeEager(),h.cancel(),d.onUnsubscribe&&d.onUnsubscribe({data:{},error:null});case 3:case"end":return a.stop()}},null,this)}});case 10:case"end":return i.stop()}},null,this)};a.prototype.$14=function(){"use strict";__p&&__p();var a,c;return b("regeneratorRuntime").async(function(d){__p&&__p();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("Bootloader").loadModules(["ChannelManager","RTISubscriptionManager"],function(b,c){b.startChannelManager(),a(c)},"SkywalkerManager")});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)};a.prototype.$13=function(){"use strict";__p&&__p();var a,c;return b("regeneratorRuntime").async(function(d){__p&&__p();while(1)switch(d.prev=d.next){case 0:if(!(this.$3!=null)){d.next=2;break}return d.abrupt("return",this.$3);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.$3=c;this.$3.setOnMqttError(function(){this.$4=!0}.bind(this));return d.abrupt("return",c);case 9:case"end":return d.stop()}},null,this)};a.prototype.$16=function(){"use strict";__p&&__p();var a,c;return b("regeneratorRuntime").async(function(d){__p&&__p();while(1)switch(d.prev=d.next){case 0:if(!(this.$5!=null)){d.next=2;break}return d.abrupt("return",this.$5);case 2:a=new(b("Promise"))(function(a){b("Bootloader").loadModules(["SkywalkerUtils"],a,"SkywalkerManager")});d.next=5;return b("regeneratorRuntime").awrap(a);case 5:c=d.sent;this.$5=c;return d.abrupt("return",c);case 8:case"end":return d.stop()}},null,this)};function j(){return"WebSocket"in window}e.exports=new a()}),null); __d("RelayAPIConfig",["RelayAPIConfigDefaults"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=babelHelpers["extends"]({},b("RelayAPIConfigDefaults"),{setActorID:function(a){g.actorID=a},setCSRFToken:function(a){g.graphBatchURI.setQueryData({fb_dtsg:a}),g.graphURI.setQueryData({fb_dtsg:a})},setAPIVersion:function(a){g.graphBatchURI.setPath("/"+a+"/graphqlbatch"),g.graphURI.setPath("/"+a+"/graphql")},setSandbox:function(a){a=a==="prod"?"graph":"graph."+a;g.graphBatchURI.setSubdomain(a);g.graphURI.setSubdomain(a)},setWithCredentials:function(a){g.withCredentials=a}});e.exports=g}),null); __d("relay-runtime/handlers/connection/RelayConnectionInterface",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},h={find:!0,first:!0,last:!0},i={CLIENT_MUTATION_ID:"clientMutationId",CURSOR:"cursor",EDGES_HAVE_SOURCE_FIELD:!1,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){i=a},get:function(){return i},isConnectionCall:function(a){return Object.prototype.hasOwnProperty.call(g,a.name)},hasRangeCalls:function(a){return a.some(function(a){return Object.prototype.hasOwnProperty.call(h,a.name)})},getDefaultPageInfo:function(){var a;return a={},a[i.END_CURSOR]=null,a[i.HAS_NEXT_PAGE]=!1,a[i.HAS_PREV_PAGE]=!1,a[i.START_CURSOR]=null,a}};e.exports=a}),null); __d("relay-runtime/store/generateRelayClientID",[],(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}e.exports=a}),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/RelayConnectionHandler",["invariant","relay-runtime/handlers/connection/RelayConnectionInterface","relay-runtime/store/generateRelayClientID","relay-runtime/util/getRelayHandleKey","warning"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h="connection",i="__connection_next_edge_index";function a(a,c){__p&&__p();var d=a.get(c.dataID);if(!d)return;var e=b("relay-runtime/handlers/connection/RelayConnectionInterface").get(),f=e.EDGES,g=e.END_CURSOR,h=e.HAS_NEXT_PAGE,j=e.HAS_PREV_PAGE,k=e.PAGE_INFO,n=e.PAGE_INFO_TYPE;e=e.START_CURSOR;var o=d.getLinkedRecord(c.fieldKey),p=o&&o.getLinkedRecord(k);if(!o){d.setValue(null,c.handleKey);return}var q=d.getLinkedRecord(c.handleKey),r=q&&q.getLinkedRecord(k);if(!q){var s=a.create(b("relay-runtime/store/generateRelayClientID")(d.getDataID(),c.handleKey),o.getType());s.setValue(0,i);s.copyFieldsFrom(o);var t=o.getLinkedRecords(f);t&&(t=t.map(function(b){return l(a,s,b)}),s.setLinkedRecords(t,f));d.setLinkedRecord(s,c.handleKey);r=a.create(b("relay-runtime/store/generateRelayClientID")(s.getDataID(),k),n);r.setValue(!1,h);r.setValue(!1,j);r.setValue(null,g);r.setValue(null,e);p&&r.copyFieldsFrom(p);s.setLinkedRecord(r,k)}else{var u=q;t=o.getLinkedRecords(f);t&&(t=t.map(function(b){return l(a,u,b)}));d=u.getLinkedRecords(f);n=u.getLinkedRecord(k);u.copyFieldsFrom(o);d&&u.setLinkedRecords(d,f);n&&u.setLinkedRecord(n,k);q=[];o=c.args;if(d&&t)if(o.after!=null)if(r&&o.after===r.getValue(g)){n=new Set();m(d,q,n);m(t,q,n)}else{b("warning")(!1,"RelayConnectionHandler: Unexpected after cursor `%s`, edges must be fetched from the end of the list (`%s`).",o.after,r&&r.getValue(g));return}else if(o.before!=null)if(r&&o.before===r.getValue(e)){k=new Set();m(t,q,k);m(d,q,k)}else{b("warning")(!1,"RelayConnectionHandler: Unexpected before cursor `%s`, edges must be fetched from the beginning of the list (`%s`).",o.before,r&&r.getValue(e));return}else q=t;else t?q=t:q=d;q!=null&&q!==d&&u.setLinkedRecords(q,f);if(r&&p)if(o.after==null&&o.before==null)r.copyFieldsFrom(p);else if(o.before!=null||o.after==null&&o.last){r.setValue(!!p.getValue(j),j);c=p.getValue(e);typeof c==="string"&&r.setValue(c,e)}else if(o.after!=null||o.before==null&&o.first){r.setValue(!!p.getValue(h),h);n=p.getValue(g);typeof n==="string"&&r.setValue(n,g)}}}function c(a,c,d){c=b("relay-runtime/util/getRelayHandleKey")(h,c,null);return a.getLinkedRecord(c,d)}function d(a,c,d){__p&&__p();var e=b("relay-runtime/handlers/connection/RelayConnectionInterface").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-1});return j(a,i(d,c))}function c(a,b){if(a.storageKey)return a.storageKey;var c=a.args;a=a.name;return c&&c.length!==0?j(a,i(c,b)):a}function d(a,c){return j(a,b("relay-runtime/util/stableCopy")(c))}function j(a,b){if(!b)return a;var c=[];for(var d in b)if(Object.prototype.hasOwnProperty.call(b,d)){var e=b[d];e!=null&&c.push(d+":"+JSON.stringify(e))}return c.length===0?a:a+("("+c.join(",")+")")}function k(a,c){Object.prototype.hasOwnProperty.call(c,a)||g(0,5557,a);return b("relay-runtime/util/stableCopy")(c[a])}f={FRAGMENTS_KEY:"__fragments",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",UNPUBLISH_RECORD_SENTINEL:Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),UNPUBLISH_FIELD_SENTINEL:Object.freeze({__UNPUBLISH_FIELD_SENTINEL:!0}),getArgumentValues:i,getHandleStorageKey:a,getStorageKey:c,getStableStorageKey:d};e.exports=f}),null); __d("relay-runtime/handlers/viewer/RelayViewerHandler",["relay-runtime/store/generateRelayClientID","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f){"use strict";__p&&__p();c=b("relay-runtime/store/RelayStoreUtils").ROOT_ID;var g=b("relay-runtime/store/generateRelayClientID")(c,"viewer"),h="Viewer";function a(a,b){__p&&__p();var c=a.get(b.dataID);if(!c)return;var d=c.getLinkedRecord(b.fieldKey);if(!d)return;if(d.getDataID()===g){c.setValue(null,b.fieldKey);c.setLinkedRecord(d,b.handleKey);return}var e=a.get(g)||a.create(g,h);e.copyFieldsFrom(d);c.setValue(null,b.fieldKey);c.setLinkedRecord(e,b.handleKey);d=a.getRoot();d.setLinkedRecord(e,b.handleKey)}e.exports={VIEWER_ID:g,update:a}}),null); __d("relay-runtime/handlers/RelayDefaultHandlerProvider",["invariant","relay-runtime/handlers/connection/RelayConnectionHandler","relay-runtime/handlers/viewer/RelayViewerHandler"],(function(a,b,c,d,e,f,g){"use strict";function a(a){switch(a){case"connection":return b("relay-runtime/handlers/connection/RelayConnectionHandler");case"viewer":return b("relay-runtime/handlers/viewer/RelayViewerHandler")}g(0,4515,a)}e.exports=a}),null); __d("relay-runtime/mutations/RelayDeclarativeMutationConfig",["relay-runtime/handlers/connection/RelayConnectionHandler","warning"],(function(a,b,c,d,e,f){"use strict";__p&&__p();c=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE",FIELDS_CHANGE:"FIELDS_CHANGE",REQUIRED_CHILDREN:"REQUIRED_CHILDREN"});d=Object.freeze({APPEND:"append",IGNORE:"ignore",PREPEND:"prepend",REFETCH:"refetch",REMOVE:"remove"});function a(a,b,c,d){__p&&__p();var e=c?[c]:[],f=d?[d]:[];a.forEach(function(a){__p&&__p();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){__p&&__p();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){__p&&__p();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/RelayConnectionHandler").getConnection(c,l.key,l.filters);if(!m)continue;var n=b("relay-runtime/handlers/connection/RelayConnectionHandler").buildConnectionEdge(a,m,h);if(!n)continue;switch(l.rangeBehavior){case"append":b("relay-runtime/handlers/connection/RelayConnectionHandler").insertEdgeAfter(m,n);break;case"ignore":break;case"prepend":b("relay-runtime/handlers/connection/RelayConnectionHandler").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', and 'ignore'.",l.rangeBehavior);break}}}}function i(a,c){__p&&__p();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){__p&&__p();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){__p&&__p();b("warning")(c,"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/RelayConnectionHandler").getConnection(g,a.key,a.filters);c&&f.forEach(function(a){b("relay-runtime/handlers/connection/RelayConnectionHandler").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/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/applyRelayModernOptimisticMutation",["invariant","relay-runtime/mutations/RelayDeclarativeMutationConfig","relay-runtime/store/isRelayModernEnvironment"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,c){__p&&__p();b("relay-runtime/store/isRelayModernEnvironment")(a)||g(0,727);var d=a.unstable_internal,e=d.createOperationSelector;d=d.getRequest;d=d(c.mutation);if(d.operationKind!=="mutation")throw new Error("commitRelayModernMutation: Expected mutation operation");var f=c.optimisticUpdater,h=c.configs,i=c.optimisticResponse;c=c.variables;e=e(d,c);if(h){c=b("relay-runtime/mutations/RelayDeclarativeMutationConfig").convert(h,d,f);f=c.optimisticUpdater}return a.applyUpdate({operation:e,selectorStoreUpdater:f,response:i})}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/mutations/commitRelayModernMutation",["invariant","relay-runtime/mutations/RelayDeclarativeMutationConfig","relay-runtime/store/isRelayModernEnvironment","relay-runtime/mutations/validateMutation","warning"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,c){__p&&__p();b("relay-runtime/store/isRelayModernEnvironment")(a)||g(0,727);var d=a.unstable_internal,e=d.createOperationSelector;d=d.getRequest;d=d(c.mutation);if(d.operationKind!=="mutation")throw new Error("commitRelayModernMutation: Expected mutation operation");if(d.kind!=="Request")throw new Error("commitRelayModernMutation: Expected mutation to be of type request");var f=c.optimisticResponse,h=c.optimisticUpdater,i=c.updater,j=c.configs,k=c.onError,l=c.variables,m=c.uploadables,n=e(d,l);typeof f==="function"&&(f=f(),b("warning")(!1,"commitRelayModernMutation: Expected `optimisticResponse` to be an object, received a function."));if(j){e=b("relay-runtime/mutations/RelayDeclarativeMutationConfig").convert(j,d,h,i);h=e.optimisticUpdater;i=e.updater}return a.executeMutation({operation:n,optimisticResponse:f,optimisticUpdater:h,updater:i,uploadables:m}).subscribeLegacy({onNext:function(b){var d=c.onCompleted;if(d){var e=a.lookup(n.fragment);d(e.data,b.response.errors)}},onError:k})}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";__p&&__p();var g=a;h.create=function(a){return new h(a)};function h(a){this.$1=a}h.onUnhandledError=function(a){g=a};h.from=function(a){return i(a)?j(a):b("relay-runtime/util/isPromise")(a)?k(a):l(a)};h.fromLegacy=function(a){return h.create(function(b){var c=a({onNext:b.next,onError:b.error,onCompleted:b.complete});return i(c)?c.subscribe(b):function(){return c.dispose()}})};h.prototype["catch"]=function(a){__p&&__p();return h.create(function(b){__p&&__p();var c;this.subscribe({start:function(a){c=a},next:b.next,complete:b.complete,error:function(a){function b(b){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(function(d){try{a(d).subscribe({start:function(a){c=a},next:b.next,complete:b.complete,error:b.error})}catch(a){b.error(a,!0)}})});return function(){return c.unsubscribe()}}.bind(this))};h.prototype["do"]=function(a){return h.create(function(b){var c=function(c){return function(){try{a[c]&&a[c].apply(a,arguments)}catch(a){g(a,!0)}b[c]&&b[c].apply(b,arguments)}};return this.subscribe({start:c("start"),next:c("next"),error:c("error"),complete:c("complete"),unsubscribe:c("unsubscribe")})}.bind(this))};h.prototype["finally"]=function(a){return h.create(function(b){var c=this.subscribe(b);return function(){c.unsubscribe(),a()}}.bind(this))};h.prototype.ifEmpty=function(a){return h.create(function(b){var c=!1,d=this.subscribe({next:function(a){c=!0,b.next(a)},error:b.error,complete:function(){c?b.complete():d=a.subscribe(b)}});return function(){d.unsubscribe()}}.bind(this))};h.prototype.subscribe=function(a){return m(this.$1,a)};h.prototype.subscribeLegacy=function(a){a=this.subscribe({next:a.onNext,error:a.onError,complete:a.onCompleted});return{dispose:a.unsubscribe}};h.prototype.map=function(a){return this.mergeMap(function(b){return l(a(b))})};h.prototype.mergeMap=function(a){__p&&__p();return h.create(function(b){__p&&__p();var c=[];function d(a){this.$2=a,c.push(a)}function e(){c.splice(c.indexOf(this.$2),1),c.length===0&&b.complete()}this.subscribe({start:d,next:function(c){try{b.closed||h.from(a(c)).subscribe({start:d,next:b.next,error:b.error,complete:e})}catch(a){b.error(a,!0)}},error:b.error,complete:e});return function(){c.forEach(function(a){return a.unsubscribe()}),c.length=0}}.bind(this))};h.prototype.poll=function(a){return h.create(function(b){var c,d,e=function(){c=this.subscribe({next:b.next,error:b.error,complete:function(){d=setTimeout(e,a)}})}.bind(this);e();return function(){clearTimeout(d),c.unsubscribe()}}.bind(this))};h.prototype.toPromise=function(){return new(b("Promise"))(function(a,b){var c;this.subscribe({start:function(a){c=a},next:function(b){a(b),c.unsubscribe()},error:b,complete:a})}.bind(this))};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){__p&&__p();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=undefined}}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){function b(b,c){return a.apply(this,arguments)}b.toString=function(){return a.toString()};return b}(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";__p&&__p();function g(a){return b("relay-runtime/network/RelayObservable").create(function(b){return a.subscribe({next:function(a){a.kind==="data"&&b.next(a)},error:b.error,complete:b.complete})})}function a(a){return function(c,d,e,f){var i=a(c,d,e,f);if(i instanceof Error)return g(b("relay-runtime/network/RelayObservable").create(function(a){return a.error(i)}));e=b("relay-runtime/network/RelayObservable").from(i).map(function(a){return h(c,d,a)});return g(e)}}function c(a){return function(c,d,e){var f=b("relay-runtime/network/RelayObservable").fromLegacy(function(b){return a(c,d,e,b)}).map(function(a){return h(c,d,a)});return g(f)}}function d(a){return function(c,d,e){return b("relay-runtime/network/RelayObservable").fromLegacy(function(b){return a(c,d,e,b)}).map(function(a){return h(c,d,a)})}}function h(a,b,c){if(!c.data&&!c.errors&&c.response)return{kind:"data",response:c.response,isOptimistic:c.isOptimistic===!0};else if(!c.data&&!c.errors&&c.kind==="event")return c;else return{kind:"data",response:c,isOptimistic:!1}}e.exports={convertFetch:a,convertSubscribe:c,convertSubscribeWithEvents:d}}),null); __d("relay-runtime/network/RelayNetwork",["invariant","relay-runtime/network/RelayObservable","relay-runtime/network/ConvertToExecuteFunction"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("relay-runtime/network/ConvertToExecuteFunction").convertFetch,i=b("relay-runtime/network/ConvertToExecuteFunction").convertSubscribe,j=b("relay-runtime/network/ConvertToExecuteFunction").convertSubscribeWithEvents;function a(a,b){__p&&__p();var c=h(a),d=b?i(b):undefined,e=b?j(b):undefined;function f(a,b,e,f){__p&&__p();if(a.operationKind==="subscription"){d||g(0,5158);f&&g(0,5159);return d(a,b,e)}var h=e.poll;if(h!=null){f&&g(0,5160);return c(a,b,{force:!0}).poll(h)}return c(a,b,e,f)}function k(a,b,d,f){__p&&__p();if(a.operationKind==="subscription"){e||g(0,5158);f&&g(0,5159);return e(a,b,d)}var h=d.poll;if(h!=null){f&&g(0,5160);return c(a,b,{force:!0}).poll(h)}return c(a,b,d,f)}return{execute:f,executeWithEvents:k}}e.exports={create:a}}),null); __d("relay-runtime/network/RelayNetworkLoggerTransaction",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=1;function a(a){var b=a.request,c=a.variables,d=a.cacheConfig;a=a.uploadables;this.$2=!1;this.$4=[];this.$1=d;this.$3=h++;this.$5=b;this.$6=a;this.$7=c}a.prototype.addLog=function(a){for(var b=arguments.length,c=new Array(b>1?b-1:0),d=1;d0||g(0,1167,b);a>0||g(0,1168,a);this.$1=new Map();this.$2=b;this.$3=a}a.prototype.clear=function(){this.$1.clear()};a.prototype.get=function(a,b){a=h(a,b);this.$1.forEach(function(a,b){i(a.fetchTime,this.$3)||this.$1["delete"](b)}.bind(this));b=this.$1.get(a);return b!=null?b.payload:null};a.prototype.set=function(a,b,c){var d=Date.now();a=h(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)}};function h(a,c){return JSON.stringify(b("relay-runtime/util/stableCopy")({queryID:a,variables:c}))}function i(a,b){return a+b>=Date.now()}e.exports=a}),null); __d("relay-runtime/network/createRelayNetworkLogger",["relay-runtime/util/RelayConcreteNode","relay-runtime/network/ConvertToExecuteFunction"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("relay-runtime/network/ConvertToExecuteFunction").convertFetch,h=b("relay-runtime/network/ConvertToExecuteFunction").convertSubscribe;function a(a){return{wrapFetch:function(b,c){return function(d,e,f,h){var j=i(g(b),a,c);return j(d,e,f,h)}},wrapSubscribe:function(b,c){return function(d,e,f){var g=i(h(b),a,c);return g(d,e,f)}}}}function i(a,c,d){__p&&__p();return function(e,f,g,h){__p&&__p();var i;function j(a,c,h){d&&e.kind===b("relay-runtime/util/RelayConcreteNode").REQUEST&&i.addLog("GraphiQL",d(e,f)),i.addLog("Cache Config",g),i.addLog("Variables",JSON.stringify(f,null,2)),h&&i.addLog("Status",h),a&&i.addLog("Error",a),c&&i.addLog("Response",c)}function k(a,b,c){j(a,b,c),i.flushLogs(a,b,c)}function l(a,b,c){j(a,b,c),i.commitLogs(a,b,c)}var m=a(e,f,g,h),n=e.operationKind==="subscription";return m["do"]({start:function(){i=new c({request:e,variables:f,cacheConfig:g,uploadables:h}),console.time&&console.time(i.getIdentifier()),n&&k(null,null,"subscription is sent.")},next:function(a){k(null,a),console.time&&console.time(i.getIdentifier())},error:function(a){return l(a,null,null)},complete:function(){n?l(null,null,"subscription was closed."):i.markCommitted()},unsubscribe:function(){return l(null,null,n?"subscription is unsubscribed.":"execution is unsubscribed.")}})}}e.exports=a}),null); __d("relay-runtime/query/RelayModernGraphQLTag",["invariant","relay-runtime/util/RelayConcreteNode"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a){g(0,3805)}function h(a){var b=typeof a==="function"?a:a.modern;if(typeof b!=="function")return a;a=b();return a["default"]?a["default"]: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 c(a){a=h(a);i(a)||g(0,3806,JSON.stringify(a));return a}function d(a){a=h(a);j(a)||g(0,3807,JSON.stringify(a));return a}e.exports={getFragment:c,getRequest:d,graphql:a,isFragment:i,isRequest:j}}),null); __d("relay-runtime/query/fetchRelayModernQuery",["invariant","relay-runtime/util/RelayConcreteNode"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,b,c,d){a.unstable_internal||g(0,2027,a);var e=a.unstable_internal,f=e.createOperationSelector;e=e.getRequest;e=e(b);if(e.operationKind!=="query")throw new Error("fetchRelayModernQuery: Expected query operation");var h=f(e,c);return a.execute({operation:h,cacheConfig:d}).map(function(){return a.lookup(h.fragment).data}).toPromise()}e.exports=a}),null); __d("relay-runtime/store/RelayConcreteVariables",["invariant","warning"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,b,c){__p&&__p();var d;a.argumentDefinitions.forEach(function(e){__p&&__p();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))break;d[e.name]=b[e.name];break;default: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/store/RelayModernSelector",["invariant","areEqual","warning","relay-runtime/store/RelayConcreteVariables","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("relay-runtime/store/RelayConcreteVariables").getFragmentVariables,i=b("relay-runtime/store/RelayStoreUtils").FRAGMENTS_KEY,j=b("relay-runtime/store/RelayStoreUtils").ID_KEY;function k(a,c,d){typeof d==="object"&&d!==null&&!Array.isArray(d)||g(0,4618,c.name,JSON.stringify(d));var e=d[j],f=d[i];if(typeof e==="string"&&typeof f==="object"&&f!==null&&typeof f[c.name]==="object"&&f[c.name]!==null){f=f[c.name];a=h(c,a,f);return{dataID:e,node:c,variables:a}}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)`.",c.name,JSON.stringify(d),c.name);return null}function l(a,b,c){var d=null;c.forEach(function(c){c=c!=null?k(a,b,c):null;c!=null&&(d=d||[],d.push(c))});return d}function a(a,b,c){var d={};for(var e in b)if(Object.prototype.hasOwnProperty.call(b,e)){var f=b[e],h=c[e];h==null?d[e]=h:f.metadata&&f.metadata.plural===!0?(Array.isArray(h)||g(0,4619,e,JSON.stringify(h),f.name),d[e]=l(a,f,h)):(Array.isArray(h)&&g(0,4620,e,JSON.stringify(h),f.name),d[e]=k(a,f,h))}return d}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];f==null?c[d]=f:e.metadata&&e.metadata.plural===!0?(Array.isArray(f)||g(0,4619,d,JSON.stringify(f),e.name),c[d]=m(e,f)):(Array.isArray(f)&&g(0,4620,d,JSON.stringify(f),e.name),c[d]=n(e,f))}return c}function m(a,b){var c;b.forEach(function(b){b=b!=null?n(a,b):null;b!=null&&(c=c||[],c.push(b))});return c||null}function n(a,c){typeof c==="object"&&c!==null&&!Array.isArray(c)||g(0,4618,a.name,JSON.stringify(c));var d=c[j];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)`.",a.name,JSON.stringify(c),a.name);return null}function d(a,b,c){__p&&__p();var d={};for(var e in b)if(Object.prototype.hasOwnProperty.call(b,e)){var f=function(){__p&&__p();var f=b[e],h=c[e];if(h==null)return"continue";else if(f.metadata&&f.metadata.plural===!0)Array.isArray(h)||g(0,4619,e,JSON.stringify(h),f.name),h.forEach(function(b){if(b!=null){b=o(a,f,b);b&&Object.assign(d,b)}});else{Array.isArray(h)&&g(0,4620,e,JSON.stringify(h),f.name);h=o(a,f,h);h&&Object.assign(d,h)}}();if(f==="continue")continue}return d}function o(a,b,c){a=k(a,b,c);return a?a.variables:null}function f(a,c){return a.dataID===c.dataID&&a.node===c.node&&b("areEqual")(a.variables,c.variables)}e.exports={areEqualSelectors:f,getDataIDsFromObject:c,getSelector:k,getSelectorList:l,getSelectorsFromObject:a,getVariablesFromObject:d}}),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/isScalarAndEqual","relay-runtime/store/RelayModernSelector"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("relay-runtime/store/RelayModernSelector").areEqualSelectors,i=b("relay-runtime/store/RelayModernSelector").getSelectorsFromObject;function a(a,b,c,d){this.$8=function(){this.$7=!0,typeof this.$1==="function"&&this.$1()}.bind(this),this.$1=d,this.$2=a,this.$3={},this.$4=b,this.$5=c,this.$6={},this.$7=!1,this.setProps(c)}a.prototype.dispose=function(){for(var a in this.$6)Object.prototype.hasOwnProperty.call(this.$6,a)&&l(this.$6[a])};a.prototype.resolve=function(){__p&&__p();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!==undefined?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};a.prototype.setCallback=function(a){this.$1=a};a.prototype.setProps=function(a){var b=i(this.$2.variables,this.$4,a);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):Array.isArray(d)?e==null?e=new k(this.$2.environment,d,this.$8):(e instanceof k||g(0,4761,c),e.setSelectors(d)):e==null?e=new j(this.$2.environment,d,this.$8):(e instanceof j||g(0,4762,c),e.setSelector(d));this.$6[c]=e}this.$5=a;this.$7=!0};a.prototype.setVariables=function(a){for(var b in this.$6)if(Object.prototype.hasOwnProperty.call(this.$6,b)){var c=this.$6[b];c&&c.setVariables(a)}this.$7=!0};function j(a,b,c){this.$6=function(a){this.$2=a.data,this.$1()}.bind(this);var d=a.lookup(b);this.$1=c;this.$2=d.data;this.$3=a;this.$4=b;this.$5=a.subscribe(d,this.$6)}j.prototype.dispose=function(){this.$5&&(this.$5.dispose(),this.$5=null)};j.prototype.resolve=function(){return this.$2};j.prototype.setSelector=function(a){if(this.$5!=null&&h(a,this.$4))return;this.dispose();var b=this.$3.lookup(a);this.$2=b.data;this.$4=a;this.$5=this.$3.subscribe(b,this.$6)};j.prototype.setVariables=function(a){a=babelHelpers["extends"]({},this.$4,{variables:a});this.setSelector(a)};function k(a,b,c){this.$6=function(a){this.$5=!0,this.$1()}.bind(this),this.$1=c,this.$2=[],this.$3=a,this.$4=[],this.$5=!0,this.setSelectors(b)}k.prototype.dispose=function(){this.$4.forEach(l)};k.prototype.resolve=function(){__p&&__p();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=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);if(g!==undefined)return g}}this.$9()};q.prototype.$12=function(a,b){__p&&__p();b=this.$10(a,b);var c=b.args;b=b.record;for(var d=this.$6,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);if(g!=null&&this.$3.getStatus(g)===h)return g}}this.$9()};q.prototype.$13=function(a,b){__p&&__p();b=this.$10(a,b);var c=b.args;b=b.record;for(var d=this.$6,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==="pluralLinked"){g=g.handle(a,b,c);if(g!=null)return g.filter(function(a){return a!=null&&this.$3.getStatus(a)===h}.bind(this))}}this.$9()};q.prototype.$7=function(a,b){var c=this.$3.getStatus(b);c===i&&this.$9();c===h&&this.$14(a.selections,b)};q.prototype.$14=function(a,c){__p&&__p();a.every(function(d){__p&&__p();switch(d.kind){case n:this.$15(d,c);break;case l:d.plural?this.$16(d,c):this.$17(d,c);break;case j:var e=this.$8(d.condition);e===d.passingValue&&this.$14(d.selections,c);break;case k:e=this.$3.getType(c);e!=null&&e===d.type&&this.$14(d.selections,c);break;case m:e=b("relay-runtime/store/cloneRelayHandleSourceField")(d,a,this.$4);e.plural?this.$16(e,c):this.$17(e,c);break;default:d.kind===n||g(0,2045,d.kind)}return!this.$1}.bind(this))};q.prototype.$15=function(a,b){var c=o(a,this.$4),d=this.$3.getValue(b,c);d===undefined&&(d=this.$11(a,b),d!==undefined&&this.$3.setValue(b,c,d))};q.prototype.$17=function(a,b){var c=o(a,this.$4),d=this.$3.getLinkedRecordID(b,c);d===undefined&&(d=this.$12(a,b),d!=null&&this.$3.setLinkedRecordID(b,c,d));d!=null&&this.$7(a,d)};q.prototype.$16=function(a,b){var c=o(a,this.$4),d=this.$3.getLinkedRecordIDs(b,c);d===undefined&&(d=this.$13(a,b),d!=null&&this.$3.setLinkedRecordIDs(b,c,d));d&&d.forEach(function(b){b!=null&&this.$7(a,b)}.bind(this))};e.exports={check:a}}),null); __d("relay-runtime/store/RelayReader",["invariant","relay-runtime/store/RelayModernRecord","relay-runtime/util/RelayConcreteNode","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("relay-runtime/util/RelayConcreteNode").CONDITION,i=b("relay-runtime/util/RelayConcreteNode").FRAGMENT_SPREAD,j=b("relay-runtime/util/RelayConcreteNode").INLINE_FRAGMENT,k=b("relay-runtime/util/RelayConcreteNode").LINKED_FIELD,l=b("relay-runtime/util/RelayConcreteNode").SCALAR_FIELD,m=b("relay-runtime/store/RelayStoreUtils").FRAGMENTS_KEY,n=b("relay-runtime/store/RelayStoreUtils").ID_KEY,o=b("relay-runtime/store/RelayStoreUtils").getArgumentValues,p=b("relay-runtime/store/RelayStoreUtils").getStorageKey;function a(a,b){var c=b.dataID,d=b.node;b=b.variables;a=new q(a,b);return a.read(d,c)}function q(a,b){this.$1=a,this.$2={},this.$4=!1,this.$3=b}q.prototype.read=function(a,b){var c=this.$5(a,b,null);return{data:c,dataID:b,node:a,seenRecords:this.$2,variables:this.$3,isMissingData:this.$4}};q.prototype.$5=function(a,b,c){var d=this.$1.get(b);this.$2[b]=d;if(d==null){d===undefined&&(this.$4=!0);return d}b=c||{};this.$6(a.selections,d,b);return b};q.prototype.$7=function(a){Object.prototype.hasOwnProperty.call(this.$3,a)||g(0,1306,a);return this.$3[a]};q.prototype.$6=function(a,c,d){__p&&__p();a.forEach(function(a){__p&&__p();if(a.kind===l)this.$8(a,c,d);else if(a.kind===k)a.plural?this.$9(a,c,d):this.$10(a,c,d);else if(a.kind===h){var e=this.$7(a.condition);e===a.passingValue&&this.$6(a.selections,c,d)}else if(a.kind===j){e=b("relay-runtime/store/RelayModernRecord").getType(c);e!=null&&e===a.type&&this.$6(a.selections,c,d)}else a.kind===i?this.$11(a,c,d,this.$3):g(0,1307,a.kind)}.bind(this))};q.prototype.$8=function(a,c,d){var e;e=(e=a.alias)!=null?e:a.name;a=p(a,this.$3);c=b("relay-runtime/store/RelayModernRecord").getValue(c,a);c===undefined&&(this.$4=!0);d[e]=c};q.prototype.$10=function(a,c,d){__p&&__p();var e;e=(e=a.alias)!=null?e:a.name;var f=p(a,this.$3);f=b("relay-runtime/store/RelayModernRecord").getLinkedRecordID(c,f);if(f==null){d[e]=f;f===undefined&&(this.$4=!0);return}var h=d[e];h==null||typeof h==="object"||g(0,1308,e,b("relay-runtime/store/RelayModernRecord").getDataID(c),h);d[e]=this.$5(a,f,h)};q.prototype.$9=function(a,c,d){__p&&__p();var e,f=(e=a.alias)!=null?e:a.name;e=p(a,this.$3);e=b("relay-runtime/store/RelayModernRecord").getLinkedRecordIDs(c,e);if(e==null){d[f]=e;e===undefined&&(this.$4=!0);return}var h=d[f];h==null||Array.isArray(h)||g(0,1309,f,b("relay-runtime/store/RelayModernRecord").getDataID(c),h);var i=h||[];e.forEach(function(d,e){if(d==null){d===undefined&&(this.$4=!0);i[e]=d;return}var h=i[e];h==null||typeof h==="object"||g(0,1308,f,b("relay-runtime/store/RelayModernRecord").getDataID(c),h);i[e]=this.$5(a,d,h)}.bind(this));d[f]=i};q.prototype.$11=function(a,c,d,e){var f=d[m];f==null&&(f=d[m]={});typeof f==="object"&&f||g(0,1310,f);d[n]=(d=d[n])!=null?d:b("relay-runtime/store/RelayModernRecord").getDataID(c);f[a.name]=a.args?o(a.args,e):{}};e.exports={read:a}}),null); __d("relay-runtime/store/RelayReferenceMarker",["invariant","relay-runtime/util/RelayConcreteNode","relay-runtime/store/RelayModernRecord","relay-runtime/store/RelayStoreUtils","relay-runtime/store/cloneRelayHandleSourceField"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("relay-runtime/util/RelayConcreteNode").CONDITION,i=b("relay-runtime/util/RelayConcreteNode").FRAGMENT_SPREAD,j=b("relay-runtime/util/RelayConcreteNode").INLINE_FRAGMENT,k=b("relay-runtime/util/RelayConcreteNode").LINKED_FIELD,l=b("relay-runtime/util/RelayConcreteNode").LINKED_HANDLE,m=b("relay-runtime/util/RelayConcreteNode").SCALAR_FIELD,n=b("relay-runtime/util/RelayConcreteNode").SCALAR_HANDLE,o=b("relay-runtime/store/RelayStoreUtils").getStorageKey;function a(a,b,c){var d=b.dataID,e=b.node;b=b.variables;a=new p(a,b,c);a.mark(e,d)}function p(a,b,c){this.$2=c,this.$1=a,this.$3=b}p.prototype.mark=function(a,b){this.$4(a,b)};p.prototype.$4=function(a,b){this.$2.add(b);b=this.$1.get(b);if(b==null)return;this.$5(a.selections,b)};p.prototype.$6=function(a){Object.prototype.hasOwnProperty.call(this.$3,a)||g(0,5170,a);return this.$3[a]};p.prototype.$5=function(a,c){__p&&__p();a.forEach(function(d){__p&&__p();switch(d.kind){case k:d.plural?this.$7(d,c):this.$8(d,c);break;case h:var e=this.$6(d.condition);e===d.passingValue&&this.$5(d.selections,c);break;case j:e=b("relay-runtime/store/RelayModernRecord").getType(c);e!=null&&e===d.type&&this.$5(d.selections,c);break;case i:g(0,5171,d.name);case l:e=b("relay-runtime/store/cloneRelayHandleSourceField")(d,a,this.$3);e.plural?this.$7(e,c):this.$8(e,c);break;case m:case n:break;default:d,g(0,5172,d)}}.bind(this))};p.prototype.$8=function(a,c){var d=o(a,this.$3);c=b("relay-runtime/store/RelayModernRecord").getLinkedRecordID(c,d);if(c==null)return;this.$4(a,c)};p.prototype.$7=function(a,c){var d=o(a,this.$3);c=b("relay-runtime/store/RelayModernRecord").getLinkedRecordIDs(c,d);if(c==null)return;c.forEach(function(b){b!=null&&this.$4(a,b)}.bind(this))};e.exports={mark:a}}),null); __d("relay-runtime/store/hasOverlappingIDs",[],(function(a,b,c,d,e,f){"use strict";function a(a,b){a=Object.keys(a.seenRecords);for(var c=0;c0,d=Object.prototype.hasOwnProperty.call(h,a);if(d||c){c=d&&c?h[a].concat(h["*"]):d?h[a]:h["*"];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 j},attachProfileHandler:function(a,b){k(a)&&(Object.prototype.hasOwnProperty.call(h,a)||(h[a]=[]),h[a].push(b))},detachProfileHandler:function(a,c){k(a)&&(Object.prototype.hasOwnProperty.call(h,a)&&b("removeFromArray")(h[a],c))}};e.exports=l}),null); __d("relay-runtime/util/recycleNodesInto",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a,b){__p&&__p();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&&e[c]===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&&h[b]===f[b]},!0)&&i.length===j.length}return c?a:b}e.exports=g}),null); __d("relay-runtime/store/RelayMarkSweepStore",["relay-runtime/store/RelayDataLoader","relay-runtime/store/RelayModernRecord","relay-runtime/util/RelayProfiler","relay-runtime/store/RelayReader","relay-runtime/store/RelayReferenceMarker","relay-runtime/util/deepFreeze","relay-runtime/store/hasOverlappingIDs","relay-runtime/util/recycleNodesInto","resolveImmediate","relay-runtime/store/RelayStoreUtils"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("relay-runtime/store/RelayStoreUtils").UNPUBLISH_RECORD_SENTINEL;function a(a,c){c===void 0&&(c=b("resolveImmediate")),this.$1=!0,this.$2=c,this.$3=!1,this.$4=0,this.$5=a,this.$6=new Map(),this.$7=new Set(),this.$8={},this.$9=0,this.$10=!1}a.prototype.getSource=function(){return this.$5};a.prototype.check=function(a){return b("relay-runtime/store/RelayDataLoader").check(this.$5,this.$5,a,[])};a.prototype.retain=function(a){var b=this.$4++,c=function(){this.$6["delete"](b),this.$11()}.bind(this);this.$6.set(b,a);return{dispose:c}};a.prototype.lookup=function(a){a=b("relay-runtime/store/RelayReader").read(this.$5,a);return a};a.prototype.notify=function(){this.$7.forEach(function(a){this.$12(a)}.bind(this)),this.$8={}};a.prototype.publish=function(a){h(this.$5,a,this.$8)};a.prototype.subscribe=function(a,b){var c={callback:b,snapshot:a};b=function(){this.$7["delete"](c)}.bind(this);this.$7.add(c);return{dispose:b}};a.prototype.holdGC=function(){this.$9++;var a=function(){this.$9>0&&(this.$9--,this.$9===0&&this.$10&&(this.$11(),this.$10=!1))}.bind(this);return{dispose:a}};a.prototype.__getUpdatedRecordIDs=function(){return this.$8};a.prototype.$12=function(a){var c=a.callback,d=a.snapshot;if(!b("relay-runtime/store/hasOverlappingIDs")(d,this.$8))return;var e=b("relay-runtime/store/RelayReader").read(this.$5,d),f=e.data;e=e.seenRecords;f=b("relay-runtime/util/recycleNodesInto")(d.data,f);f=babelHelpers["extends"]({},d,{data:f,seenRecords:e});a.snapshot=f;f.data!==d.data&&c(f)};a.prototype.$11=function(){if(this.$9>0){this.$10=!0;return}if(!this.$1||this.$3)return;this.$3=!0;this.$2(function(){this.__gc(),this.$3=!1}.bind(this))};a.prototype.__gc=function(){__p&&__p();var a=new Set();this.$6.forEach(function(c){b("relay-runtime/store/RelayReferenceMarker").mark(this.$5,c,a)}.bind(this));if(!a.size){this.$5.clear();return}var c=this.$5.getRecordIDs();for(var d=0;d0?this.$9||(this.$9=this.$1.holdGC()):this.$9&&(this.$9.dispose(),this.$9=null),this.$1.notify()};a.prototype.$13=function(a){__p&&__p();var c=a.fieldPayloads,d=a.operation,e=a.source;a=a.updater;var f=new(b("relay-runtime/mutations/RelayRecordSourceMutator"))(this.$1.getSource(),e),i=new(b("relay-runtime/mutations/RelayRecordSourceProxy"))(f);f=new(b("relay-runtime/mutations/RelayRecordSourceSelectorProxy"))(i,d.fragment);c&&c.length&&c.forEach(function(a){var b=this.$2&&this.$2(a.handle);b||g(0,681,a.handle);b.update(i,a)}.bind(this));if(a){c=h(e,d.fragment);a(f,c)}return e};a.prototype.$10=function(){if(!this.$5.size)return;this.$5.forEach(function(a){var b;a.kind==="payload"?b=this.$13(a.payload):b=a.source;this.$1.publish(b)}.bind(this));this.$5.clear()};a.prototype.$11=function(){if(!this.$6.size)return;var a=new(b("relay-runtime/store/RelayInMemoryRecordSource"))();this.$6.forEach(function(c){var d=new(b("relay-runtime/mutations/RelayRecordSourceMutator"))(this.$1.getSource(),a);d=new(b("relay-runtime/mutations/RelayRecordSourceProxy"))(d);b("ErrorUtils").applyWithGuard(c,null,[d],null,"RelayPublishQueue:commitUpdaters")}.bind(this));this.$1.publish(a);this.$6.clear()};a.prototype.$12=function(){__p&&__p();if(this.$7.size||this.$4&&this.$8.size){var a=new(b("relay-runtime/store/RelayInMemoryRecordSource"))(),c=new(b("relay-runtime/mutations/RelayRecordSourceMutator"))(this.$1.getSource(),a,this.$3),d=new(b("relay-runtime/mutations/RelayRecordSourceProxy"))(c,this.$2);this.$4&&this.$8.size&&this.$8.forEach(function(a){__p&&__p();if(a.operation){var c=a.selectorStoreUpdater,e=a.operation,f=a.response,g=d.commitPayload(e,f),i;if(f){f=b("relay-runtime/store/normalizeRelayPayload")(e.root,f);f=f.source;i=h(f,e.fragment)}c&&b("ErrorUtils").applyWithGuard(c,null,[g,i],null,"RelayPublishQueue:applyUpdates")}else if(a.storeUpdater){f=a.storeUpdater;b("ErrorUtils").applyWithGuard(f,null,[d],null,"RelayPublishQueue:applyUpdates")}else{e=a.source;c=a.fieldPayloads;d.publishSource(e,c)}});this.$7.size&&(this.$7.forEach(function(a){__p&&__p();if(a.operation){var c=a.selectorStoreUpdater,e=a.operation,f=a.response,g=d.commitPayload(e,f),i;if(f){f=b("relay-runtime/store/normalizeRelayPayload")(e.root,f);f=f.source;i=h(f,e.fragment)}c&&b("ErrorUtils").applyWithGuard(c,null,[g,i],null,"RelayPublishQueue:applyUpdates")}else if(a.storeUpdater){f=a.storeUpdater;b("ErrorUtils").applyWithGuard(f,null,[d],null,"RelayPublishQueue:applyUpdates")}else{e=a.source;c=a.fieldPayloads;d.publishSource(e,c)}this.$8.add(a)}.bind(this)),this.$7.clear());this.$1.publish(a)}};function h(a,c){a=b("relay-runtime/store/RelayReader").read(a,c).data;return a}e.exports=a}),null); __d("relay-runtime/util/RelayError",["sprintf"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a={create:function(a,b){for(var c=arguments.length,d=new Array(c>2?c-2:0),e=2;e2?c-2:0),e=2;e0&&(this.$2.commitSource(d),this.$2.run());return a};c.prototype.execute=function(a){var c=a.operation,d=a.cacheConfig,e=a.updater,f;return this.$1.execute(c.node,c.variables,d||{})["do"]({next:function(a){var d=b("relay-runtime/store/normalizePayload")(c,a),h=d.source,i=d.fieldPayloads;a.isOptimistic?(f==null||g(0,11400),f={source:h,fieldPayloads:i},this.$2.applyUpdate(f),this.$2.run()):(f&&(this.$2.revertUpdate(f),f=undefined),this.$2.commitPayload(c,d,e),this.$2.run())}.bind(this)})["finally"](function(){f&&(this.$2.revertUpdate(f),f=undefined,this.$2.run())}.bind(this))};c.prototype.executeWithEvents=function(a){var c=a.operation,d=a.cacheConfig,e=a.updater,f;return this.$1.executeWithEvents(c.node,c.variables,d||{})["do"]({next:function(a){if(a.kind!=="data")return;var d=b("relay-runtime/store/normalizePayload")(c,a),h=d.source,i=d.fieldPayloads;a.isOptimistic?(f==null||g(0,11400),f={source:h,fieldPayloads:i},this.$2.applyUpdate(f),this.$2.run()):(f&&(this.$2.revertUpdate(f),f=undefined),this.$2.commitPayload(c,d,e),this.$2.run())}.bind(this)})["finally"](function(){f&&(this.$2.revertUpdate(f),f=undefined,this.$2.run())}.bind(this))};c.prototype.executeMutation=function(a){var c=a.operation,d=a.optimisticResponse,e=a.optimisticUpdater,f=a.updater;a=a.uploadables;var g;(d||e)&&(g={operation:c,selectorStoreUpdater:e,response:d||null});return this.$1.execute(c.node,c.variables,{force:!0},a)["do"]({start:function(){g&&(this.$2.applyUpdate(g),this.$2.run())}.bind(this),next:function(a){g&&(this.$2.revertUpdate(g),g=undefined),this.$2.commitPayload(c,b("relay-runtime/store/normalizePayload")(c,a),f),this.$2.run()}.bind(this),error:function(a){g&&(this.$2.revertUpdate(g),g=undefined,this.$2.run())}.bind(this),unsubscribe:function(){g&&(this.$2.revertUpdate(g),g=undefined,this.$2.run())}.bind(this)})};c.prototype.sendQuery=function(a){var c=a.cacheConfig,d=a.onCompleted,e=a.onError,f=a.onNext;a=a.operation;b("warning")(!1,"environment.sendQuery() is deprecated. Update to the latest version of react-relay, and use environment.execute().");return this.execute({operation:a,cacheConfig:c}).subscribeLegacy({onNext:f,onError:e,onCompleted:d})};c.prototype.sendMutation=function(a){var c=a.onCompleted,d=a.onError,e=a.operation,f=a.optimisticResponse,g=a.optimisticUpdater,h=a.updater;a=a.uploadables;b("warning")(!1,"environment.sendMutation() is deprecated. Update to the latest version of react-relay, and use environment.executeMutation().");return this.executeMutation({operation:e,optimisticResponse:f,optimisticUpdater:g,updater:h,uploadables:a}).subscribeLegacy({onNext:function(a){c&&c(a.response.errors)},onError:d,onCompleted:c})};c.prototype["@@RelayModernEnvironment"]=!0;e.exports=c}),null); __d("relay-runtime/subscription/requestRelaySubscription",["relay-runtime/mutations/RelayDeclarativeMutationConfig","warning"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(a,c){__p&&__p();var d=a.unstable_internal,e=d.createOperationSelector;d=d.getRequest;d=d(c.subscription);if(d.operationKind!=="subscription")throw new Error("requestRelaySubscription: Must use Subscription operation");var f=c.configs,g=c.onCompleted,h=c.onError,i=c.onNext,j=c.variables,k=c.receiveEvents,l=e(d,j);b("warning")(!(c.updater&&f),"requestRelaySubscription: Expected only one of `updater` and `configs` to be provided");e=f?b("relay-runtime/mutations/RelayDeclarativeMutationConfig").convert(f,d,null,c.updater):c;j=e.updater;if(k)return a.executeWithEvents({operation:l,updater:j,cacheConfig:{force:!0}}).subscribeLegacy({onNext:function(b){function a(a){return b.apply(this,arguments)}a.toString=function(){return b.toString()};return a}(function(b){if(i)if(b.kind==="event")i(b);else{b=a.lookup(l.fragment).data;i(babelHelpers["extends"]({kind:"data"},b))}}),onError:h,onCompleted:g});else return a.execute({operation:l,updater:j,cacheConfig:{force:!0}}).map(function(){return a.lookup(l.fragment).data}).subscribeLegacy({onNext:i,onError:h,onCompleted:g})}e.exports=a}),null); __d("relay-runtime/util/simpleClone",["mapObject"],(function(a,b,c,d,e,f){"use strict";function g(a){if(Array.isArray(a))return a.map(g);else if(a&&typeof a==="object")return b("mapObject")(a,g);else return a}e.exports=g}),null); __d("relay-runtime",["Promise","relay-runtime/util/RelayConcreteNode","relay-runtime/store/RelayConcreteVariables","relay-runtime/handlers/connection/RelayConnectionHandler","relay-runtime/handlers/connection/RelayConnectionInterface","relay-runtime/store/RelayCore","relay-runtime/mutations/RelayDeclarativeMutationConfig","relay-runtime/util/RelayDefaultHandleKey","relay-runtime/handlers/RelayDefaultHandlerProvider","relay-runtime/util/RelayError","relay-runtime/store/RelayInMemoryRecordSource","relay-runtime/store/RelayMarkSweepStore","relay-runtime/store/RelayModernEnvironment","relay-runtime/query/RelayModernGraphQLTag","relay-runtime/network/RelayNetwork","relay-runtime/network/RelayNetworkLoggerTransaction","relay-runtime/network/RelayObservable","relay-runtime/util/RelayProfiler","relay-runtime/network/RelayQueryResponseCache","relay-runtime/store/RelayStoreUtils","relay-runtime/handlers/viewer/RelayViewerHandler","relay-runtime/mutations/applyRelayModernOptimisticMutation","relay-runtime/mutations/commitLocalUpdate","relay-runtime/mutations/commitRelayModernMutation","relay-runtime/network/createRelayNetworkLogger","relay-runtime/util/deepFreeze","relay-runtime/query/fetchRelayModernQuery","relay-runtime/store/generateRelayClientID","relay-runtime/util/getRelayHandleKey","relay-runtime/store/isRelayModernEnvironment","relay-runtime/util/isScalarAndEqual","relay-runtime/util/recycleNodesInto","relay-runtime/subscription/requestRelaySubscription","relay-runtime/util/simpleClone","relay-runtime/util/stableCopy","warning"],(function(a,b,c,d,e,f){"use strict";e.exports={Environment:b("relay-runtime/store/RelayModernEnvironment"),Network:b("relay-runtime/network/RelayNetwork"),Observable:b("relay-runtime/network/RelayObservable"),QueryResponseCache:b("relay-runtime/network/RelayQueryResponseCache"),RecordSource:b("relay-runtime/store/RelayInMemoryRecordSource"),Store:b("relay-runtime/store/RelayMarkSweepStore"),areEqualSelectors:b("relay-runtime/store/RelayCore").areEqualSelectors,createFragmentSpecResolver:b("relay-runtime/store/RelayCore").createFragmentSpecResolver,createOperationSelector:b("relay-runtime/store/RelayCore").createOperationSelector,getDataIDsFromObject:b("relay-runtime/store/RelayCore").getDataIDsFromObject,getFragment:b("relay-runtime/query/RelayModernGraphQLTag").getFragment,getRequest:b("relay-runtime/query/RelayModernGraphQLTag").getRequest,getOperation:function(){return b("relay-runtime/query/RelayModernGraphQLTag").getRequest.apply(null,arguments)},getSelector:b("relay-runtime/store/RelayCore").getSelector,getSelectorList:b("relay-runtime/store/RelayCore").getSelectorList,getSelectorsFromObject:b("relay-runtime/store/RelayCore").getSelectorsFromObject,getStorageKey:b("relay-runtime/store/RelayStoreUtils").getStorageKey,getVariablesFromObject:b("relay-runtime/store/RelayCore").getVariablesFromObject,graphql:b("relay-runtime/query/RelayModernGraphQLTag").graphql,MutationTypes:b("relay-runtime/mutations/RelayDeclarativeMutationConfig").MutationTypes,RangeOperations:b("relay-runtime/mutations/RelayDeclarativeMutationConfig").RangeOperations,DefaultHandlerProvider:b("relay-runtime/handlers/RelayDefaultHandlerProvider"),ConnectionHandler:b("relay-runtime/handlers/connection/RelayConnectionHandler"),ViewerHandler:b("relay-runtime/handlers/viewer/RelayViewerHandler"),applyOptimisticMutation:b("relay-runtime/mutations/applyRelayModernOptimisticMutation"),commitLocalUpdate:b("relay-runtime/mutations/commitLocalUpdate"),commitMutation:b("relay-runtime/mutations/commitRelayModernMutation"),fetchQuery:b("relay-runtime/query/fetchRelayModernQuery"),isRelayModernEnvironment:b("relay-runtime/store/isRelayModernEnvironment"),requestSubscription:b("relay-runtime/subscription/requestRelaySubscription"),ConnectionInterface:b("relay-runtime/handlers/connection/RelayConnectionInterface"),RelayProfiler:b("relay-runtime/util/RelayProfiler"),RelayConcreteNode:b("relay-runtime/util/RelayConcreteNode"),RelayError:b("relay-runtime/util/RelayError"),RelayNetworkLoggerTransaction:b("relay-runtime/network/RelayNetworkLoggerTransaction"),DEFAULT_HANDLE_KEY:b("relay-runtime/util/RelayDefaultHandleKey").DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:b("relay-runtime/store/RelayStoreUtils").FRAGMENTS_KEY,ID_KEY:b("relay-runtime/store/RelayStoreUtils").ID_KEY,REF_KEY:b("relay-runtime/store/RelayStoreUtils").REF_KEY,REFS_KEY:b("relay-runtime/store/RelayStoreUtils").REFS_KEY,ROOT_ID:b("relay-runtime/store/RelayStoreUtils").ROOT_ID,ROOT_TYPE:b("relay-runtime/store/RelayStoreUtils").ROOT_TYPE,createRelayNetworkLogger:b("relay-runtime/network/createRelayNetworkLogger"),deepFreeze:b("relay-runtime/util/deepFreeze"),generateClientID:b("relay-runtime/store/generateRelayClientID"),getRelayHandleKey:b("relay-runtime/util/getRelayHandleKey"),isScalarAndEqual:b("relay-runtime/util/isScalarAndEqual"),recycleNodesInto:b("relay-runtime/util/recycleNodesInto"),simpleClone:b("relay-runtime/util/simpleClone"),stableCopy:b("relay-runtime/util/stableCopy"),__internal:{getModernOperationVariables:b("relay-runtime/store/RelayConcreteVariables").getOperationVariables}}}),null); __d("RelayRuntime",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";e.exports=b("relay-runtime")}),null); __d("RelayGraphQLRequestUtils",["RelayAPIConfig","XHRHttpError","getAsyncParams","getCrossOriginTransport","getSameOriginTransport","RelayRuntime"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RelayRuntime").RelayError,h={createErrorFromPayload:function(a){var b;typeof a==="object"?a.code||a.description?b=g.create("GraphQLError","GraphQL server responded with error %s: %s\n%s",a.code,a.description,a.debug_info||""):b=g.create("GraphQLError","GraphQL server responded with error: %s",JSON.stringify(a)):b=g.create("GraphQLError","GraphQL server responded with an error: %s",a);b=b;b.source=a;typeof a==="object"&&(b.code=a.code,b.description=a.description,b.summary=a.summary,b.debug_info=a.debug_info);return b},createErrorFromXHR:function(a,c){var d;for(var e=arguments.length,f=new Array(e>2?e-2:0),h=2;h=j)}}else f&&a("",e,!0)};d.parseStreaming=!0;return d}e.exports=a}),null); __d("RelayAPIRequest",["invariant","RelayAPIConfig","URI","XHRHttpError","XHRRequest","createChunkedResponseParser","forEachObject","getSameOriginTransport","warning"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function h(a){return a===b("XHRHttpError").HTTP_TRANSPORT_ERROR||a===b("XHRHttpError").HTTP_SERVER_ERROR}function a(a){this.$1=!1,this.setURI(a),this.setMethod("POST"),this.setTransportBuilder(b("getSameOriginTransport"))}a.prototype.setURI=function(a){this.$1&&g(0,2124);this.$2=new(b("URI"))(a);return this};a.prototype.setMethod=function(a){this.$1&&g(0,2125);this.$3=a;return this};a.prototype.setData=function(a){this.$1&&g(0,2126);this.$4=a;return this};a.prototype.setRawData=function(a){this.$1&&g(0,2127);this.$5=a;return this};a.prototype.setTrackingName=function(a){this.$8=a;return this};a.prototype.setRequestHeaders=function(a){this.$1&&g(0,2128);this.$6=a;return this};a.prototype.setTransportBuilder=function(a){this.$1&&g(0,2129);var b=a;this.$9=function(){var a=b();a.setTrackingName&&a.setTrackingName(this.$8);return a}.bind(this);return this};a.prototype.setResponseFilter=function(a){this.$1&&g(0,2130);this.$10=a;return this};a.prototype.setResponseChunkHandler=function(a){this.$1&&g(0,2131);this.$11=a;return this};a.prototype.setErrorHandler=function(a){this.$1&&g(0,2132);this.$12=a;return this};a.prototype.setTimeoutHandler=function(a){this.$1&&g(0,2133);this.$13=a;return this};a.prototype.setSkipRetry=function(a){this.$7=a;return this};a.prototype.send=function(){__p&&__p();this.$1&&g(0,2134);this.$1=!0;if(!this.$2||!this.$2.toString()){this.$12&&this.$12({errorCode:"HTTP_CLIENT_ERROR",errorType:"HTTP",errorMsg:"No uri provided - make sure RelayAPIConfig is properly setup."});return{abort:function(){}}}var a,c=0,d=0,e=function(){return!this.$7&&c<=b("RelayAPIConfig").retryDelays.length}.bind(this);function f(){var e=b("RelayAPIConfig").retryDelays[c-1];e=d+e;var f=setTimeout(function(){a=i()},e-Date.now());a={abort:function(){clearTimeout(f)}}}var i=function(){__p&&__p();c++;d=Date.now();var a;this.$11&&(a=b("createChunkedResponseParser")(this.$11,this.$10));var g=this.$12,i=function(a){e()&&h(a.errorCode)?(b("warning")(!1,"RelayAPIRequest: Transient HTTP error, retrying. %s %s %s",a.errorType||"",a.errorCode||"",a.errorMsg||""),f()):g&&g(a)},j=this.$13,k=function(){e()?(b("warning")(!1,"RelayAPIRequest: HTTP timeout, retrying."),f()):j&&j()};b("warning")(this.$8,"All requests should have setTrackingName invoked for analytics and debugging.");var l=new(b("XHRRequest"))(this.$2).setMethod(this.$3).setData(this.$4).setTransportBuilder(this.$9).setErrorHandler(i).setResponseHandler(a).setTimeout(b("RelayAPIConfig").fetchTimeout).setTimeoutHandler(k);this.$5!=null&&l.setRawData(this.$5);this.$6&&b("forEachObject")(this.$6,function(a,b){l.setRequestHeader(b,a)});l.send();return l}.bind(this);a=i();return{abort:function(){a&&a.abort()}}};e.exports=a}),null); __d("RelayFBResponseCache",["RelayRuntime"],(function(a,b,c,d,e,f){"use strict";a=b("RelayRuntime").QueryResponseCache;c=10;d=5*60*1e3;e.exports=new a({size:c,ttl:d})}),null); __d("RelayFBNetworkLoggerTransaction",["RelayRuntime"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g,h;c=b("RelayRuntime").RelayNetworkLoggerTransaction;g=babelHelpers.inherits(a,c);h=g&&g.prototype;a.prototype.commitLogs=function(a,b,c){h.commitLogs.call(this,a,b,c),b&&delete b.__prefetched};a.prototype.flushLogs=function(a,b,c){h.flushLogs.call(this,a,b,c),b&&delete b.__prefetched};a.prototype.getLogsToPrint=function(a,b,c){a=h.getLogsToPrint.call(this,a,b,c);c=this.getRequest();if(c.operationKind==="query"){c=b&&b.__prefetched;a.push({label:"Prefetched",values:[c==null?"unknown":c]})}return a};function a(){g.apply(this,arguments)}e.exports=a}),null); __d("RelayFBNetworkLogger",["RelayFBNetworkLoggerTransaction","RelayRuntime"],(function(a,b,c,d,e,f){"use strict";a=b("RelayRuntime").createRelayNetworkLogger;e.exports=a(b("RelayFBNetworkLoggerTransaction"))}),null); __d("createRelayFBGraphiQLPrinter",["URI"],(function(a,b,c,d,e,f){"use strict";function a(a){return function(c,d){var e=new(b("URI"))("http://our.intern.facebook.com");a?e.setPath("/intern/graphiql/"+a+"/"):e.setPath("/intern/graphiql/");c.id?e.addQueryData("query_id",c.id):e.addQueryData("query",c.text);e.addQueryData("variables",JSON.stringify(d));return e.toString()}}e.exports=a}),null); __d("withLive",["invariant"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,b){__p&&__p();var c=a.metadata;c=c.live;if(c!=null&&typeof c==="object"){c=h(a);a=i(a);c==null||a==null||g(0,45,c,a);c!=null||a!=null||g(0,46);if(c!=null){var d=b.poll;d==null||d===c||g(0,47,d,c);return babelHelpers["extends"]({},b,{poll:c})}if(a!=null){d=b.liveConfigId;d==null||d===a||g(0,48,d,a);return babelHelpers["extends"]({},b,{liveConfigId:a})}}return b}function h(a){a=a.metadata;a=a.live;if(a!=null&&typeof a==="object"){a.polling_interval==null||typeof a.polling_interval==="number"||g(0,49);return a.polling_interval}return null}function i(a){a=a.metadata;a=a.live;if(a!=null&&typeof a==="object"){a.config_id==null||typeof a.config_id==="string"||g(0,50);return a.config_id}return null}e.exports=a}),null); __d("createRelayFBNetwork",["RelayAPIConfig","withLive","RelayRuntime","RelayFBNetworkLogger","createRelayFBGraphiQLPrinter"],(function(a,b,c,d,e,f){"use strict";__p&&__p();var g=b("RelayRuntime").Network;function a(a,c){var d=g.create(a,c);return{execute:function(a,c,e,f){return d.execute(a,c,b("withLive")(a,e),f)},executeWithEvents:function(a,c,e,f){return d.executeWithEvents(a,h(c),b("withLive")(a,e),f)}}}function h(a){return babelHelpers["extends"]({},a,{"%options":{heartbeat:{}}})}e.exports=a}),null); __d("react-relay/classic/query/stableStringify",[],(function(a,b,c,d,e,f){"use strict";__p&&__p();function g(a){return a!==null&&Object.prototype.toString.call(a)==="[object Object]"}function h(a){__p&&__p();var b=Array.isArray(a),c=g(a);if(b||c){c=Object.keys(a);if(c.length){var d=[];c.sort();for(var e=0;e=c.length)break;g=c[f++]}else{f=c.next();if(f.done)break;g=f.value}g=g;if(g.severity==="CRITICAL"){d.error(b("RelayGraphQLRequestUtils").createErrorFromPayload(g));return}}d.next(a);d.complete()},f=b("RelayPrefetchedResponseCache").get(a,c);f?b("isPromise")(f)?f.then(e)["catch"](function(){return d.complete()}):e(f):d.complete()})},registerPreloader:function(a,c,d){return b("RelayPrefetchedResponseCache").registerPreloader(a,c,d)},stableStringify:b("react-relay/classic/query/stableStringify")};e.exports=a}),null); __d("createRelayFBNetworkFetch",["invariant","RelayAPIConfig","RelayAPIRequest","RelayFBResponseCache","RelayGraphQLRequestUtils","RelayPrefetchedResponseProvider","getAsyncParams","nullthrows","RelayRuntime"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("RelayRuntime").Observable,i=b("RelayRuntime").RelayConcreteNode,j=b("RelayRuntime").RelayError,k=b("RelayRuntime").RelayProfiler;function l(a){return a.operationKind==="mutation"}function m(a){return a.operationKind==="query"}function n(b){if(!a.FormData)throw new Error("Uploading files without `FormData` not supported.");var c=new FormData();for(var d in b)Object.prototype.hasOwnProperty.call(b,d)&&c.append(d,b[d]);return c}function o(a,b){if(b!=null)for(var c in b)Object.prototype.hasOwnProperty.call(b,c)&&a.append(c,b[c]);return a}function p(a){var b=a.id;a=a.text;b=b||a;b!=null||g(0,2664);return b}function c(a){var c=a.graphURI,d=a.graphBatchURI,e=a.transportBuilder,f=a.getAdditionalData,g=a.getAdditionalHeaders,h=a.queryResponseCache,i=a.whitelistMutationsForResponseCache,j=a.observeGraphQLLiveQueryRequestFn;return function(a,k,l,m){var n=c||b("RelayAPIConfig").graphURI,o=d||b("RelayAPIConfig").graphBatchURI,p=h||b("RelayFBResponseCache"),t=e||b("RelayGraphQLRequestUtils").getTransportBuilder(),v=f?f():b("RelayGraphQLRequestUtils").getRelayAPIConfigAuthenticationData(),w=g?g():b("RelayGraphQLRequestUtils").getRelayAPIConfigHeaders(),x={queryName:a.name,usedCache:!1,usedPrefetcher:!1};n=u(n,o,t,w,a,k,l,p,m,v,i,j);o=r(a,k,x,p,l);t=s(a,k,x,l,p);w=o.ifEmpty(t).ifEmpty(n);return q(x,w)}}function q(a,b){var c;return b["do"]({start:function(){c=k.profile("fetchRelayQuery",a)},next:function(){c.stop()},error:function(a){c.stop(a)}})}function r(a,c,d,e,f){__p&&__p();if(!m(a))return h.create(function(a){return a.complete()});var i=p(a);f=f!=null&&f.metadata!=null&&f.metadata.prefetchedResponseProvider||undefined;f!=null&&(typeof f.get==="function"||g(0,2666),f=f);f=f||b("RelayPrefetchedResponseProvider");f=f.get(i,c,a.name);return f.map(function(a){d.usedPrefetcher=!0;e.set(i,c,a);a={kind:"data",response:a,isOptimistic:!1};return a})}function s(a,b,c,d,e){return h.create(function(f){if(m(a)&&!d.force){var g=e.get(p(a),b);g&&(c.usedCache=!0,f.next({kind:"data",response:g,isOptimistic:!1}))}f.complete()})}function t(a,c){var d=a.id;a=a.text;d||a||g(0,2664);c=JSON.stringify(c);return d?{variables:c,doc_id:d}:{variables:c,doc:b("nullthrows")(a)}}function u(a,b,c,d,e,f,h,j,k,m,o,q){b=k?n(k):null;h.liveConfigId!=null?(q!=null||g(0,2668),k=q(e,f,h,t(e,f),b,m)):k=v(a,c,d,e,f,t(e,f),b,m);q=k["do"]({next:function(a){if(l(e)){var b=e.name;(o==null||!o[b])&&j.clear()}else e.kind===i.REQUEST&&j.set(p(e),f,a.response)}});return q}function v(a,c,d,e,f,g,i,k){__p&&__p();return h.create(function(f){__p&&__p();var m=b("RelayAPIConfig").getAnalyticsTags;(!l(e)||m==null)&&(m=function(){return h.from(null)});m().subscribe({next:function(h){__p&&__p();var m=new(b("RelayAPIRequest"))(a).setMethod("POST").setSkipRetry(l(e)).setTrackingName("RelayFBNetwork_"+e.name).setTransportBuilder(c).setErrorHandler(function(a){f.error(b("RelayGraphQLRequestUtils").createErrorFromXHR(a,"Network request encountered error %s %s: %s",a.errorType,a.errorCode,a.errorMsg))}).setTimeoutHandler(function(){f.error(j.createWarning("NetworkTimeoutError","Network request timed out."))}).setResponseChunkHandler(function(a,c,d){__p&&__p();try{c=b("RelayGraphQLRequestUtils").parsePayload(a)}catch(a){return f.error(a)}if(!c)return f.error(j.createWarning("EmptyResponseError","Parsed network response is empty"));if(c.errors)for(var a=c.errors,e=Array.isArray(a),g=0,a=e?a:a[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var h;if(e){if(g>=a.length)break;h=a[g++]}else{g=a.next();if(g.done)break;h=g.value}h=h;if(h.severity==="CRITICAL")return f.error(b("RelayGraphQLRequestUtils").createErrorFromPayload(h))}f.next({kind:"data",response:c,isOptimistic:!1});d&&f.complete()}),n=babelHelpers["extends"]({},k,b("getAsyncParams")("POST"),{fb_api_caller_class:"RelayModern"},g);h!=null&&h.length>0&&(n.fb_api_analytics_tags=JSON.stringify(h));i!=null?m.setRawData(o(i,n)):m.setData(n).setRequestHeaders(babelHelpers["extends"]({"Content-Type":"application/x-www-form-urlencoded"},d));return m.send().abort}})})}e.exports=c}),null); __d("RelayRTIGraphQLSubscriberUtils",["invariant","Promise","ActorURI","CSRFGuard","CurrentLocale","CurrentUser","RelayAPIConfig","URI","XHRRequest","getAsyncParams","getCrossOriginTransport"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();function a(a,c,d,e,f){__p&&__p();if(d!=null&&f!=null){var h={locale:b("CurrentLocale").get(),queryID:d,serializedQueryParameters:JSON.stringify(e),viewerID:b("CurrentUser").getID()};return b("Promise").resolve({topic:f,transformContext:h})}c!=null||d!=null||g(0,271);return new(b("Promise"))(function(f,g){__p&&__p();var h;h=babelHelpers["extends"]((h={},h[b("ActorURI").PARAMETER_ACTOR]=b("RelayAPIConfig").actorID,h.query_params=JSON.stringify(e),h),b("getAsyncParams")("POST"));d!=null&&(h.doc_id=d);c!=null&&(h.query=c);h=new(b("XHRRequest"))(a).setTransportBuilder(b("getCrossOriginTransport").withCredentials).setMethod("POST").setData(h).setResponseHandler(function(a){try{var c=JSON.parse(b("CSRFGuard").clean(a));f({topic:c.payload.topic,transformContext:JSON.parse(c.payload.transform_context)})}catch(b){g(new Error("getTopicAndTransformContext: encountered error "+b+" during "+("parsing, raw response is \n"+a)))}});h.send()})}e.exports={getTopicAndTransformContext:a}}),null); __d("RelayRTIGraphQLSubscriptionTopicProvider",["FBLogger"],(function(a,b,c,d,e,f){"use strict";__p&&__p();function a(){this.$1={}}a.prototype.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};a.prototype.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};e.exports=new a()}),null); __d("RelayRTIGraphQLSubscriber",["invariant","regeneratorRuntime","GraphQLSubscriptionsLoggerEvent","GraphQLSubscriptionsMechanism","GraphQLSubscriptionsTypedLogger","RelayRTIGraphQLSubscriberUtils","RelayRTIGraphQLSubscriptionTopicProvider","RelayRuntime","SkywalkerManager","gkx","nullthrows"],(function(a,b,c,d,e,f,g){"use strict";__p&&__p();var h=b("RelayRTIGraphQLSubscriberUtils").getTopicAndTransformContext;b("RelayRuntime").RelayConcreteNode;var i=b("RelayRuntime").Observable;new Set();var j=155160167952447;function a(a,b,c,d){return k(a,b,c)["do"]({next:function(){d&&d.clear()}})}function k(a,c,d){var e,f=(e=c)!=null?(e=e.operation)!=null?(e=e.selections)!=null?e[0]:e:e:e;f&&f.kind==="LinkedField"||g(0,6091,c.name);var h=function(event){new(b("GraphQLSubscriptionsTypedLogger"))().setSubscriptionCall(f.name).setQueryParams({input:JSON.stringify(d.input)}).setMechanism(b("GraphQLSubscriptionsMechanism").SKYWALKER).setEvent(event).log()};return l(a,c,d)["do"]({start:function(){h(b("GraphQLSubscriptionsLoggerEvent").CLIENT_SUBSCRIBE)},next:function(){h(b("GraphQLSubscriptionsLoggerEvent").RECEIVEPAYLOAD)},unsubscribe:function(){h(b("GraphQLSubscriptionsLoggerEvent").CLIENT_UNSUBSCRIBE)}})}function l(a,c,d){__p&&__p();return i.create(function(e){__p&&__p();var f,g=c.id,i=g?b("RelayRTIGraphQLSubscriptionTopicProvider").getTopicForQuery(g,d):null;h(a,null,g,d,i).then(function(c){__p&&__p();var a=c.topic;c=c.transformContext;if(e.closed)return;c.appID=j;var g={};g.context={transformContext:JSON.stringify(c)};b("gkx")("676931")&&d["%options"]&&d["%options"].heartbeat&&d["%options"].heartbeat.interval&&(g.gqlsLifecycleHandler=function(a){return b("regeneratorRuntime").async(function(b){while(1)switch(b.prev=b.next){case 0:e.next({kind:"event",event:a});case 1:case"end":return b.stop()}},null,this)});f=b("SkywalkerManager").subscribe(b("nullthrows")(a),function(a){return e.next({kind:"data",response:{data:JSON.parse(a.payload)},isOptimistic:!1})},g)})["catch"](e.error);return function(){return f&&f.unsubscribe()}})}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){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.exports=a}),null); __d("createRelayFBSubscribeFunction",["RelayFBSubscribeFunction"],(function(a,b,c,d,e,f){"use strict";function a(a){var c=a.queryResponseCache;return function(a,d){return b("RelayFBSubscribeFunction")(a,d,c)}}e.exports=a}),null); __d("RelayFBNetwork",["RelayFBResponseCache","createRelayFBNetwork","createRelayFBNetworkFetch","createRelayFBSubscribeFunction"],(function(a,b,c,d,e,f){"use strict";e.exports=b("createRelayFBNetwork")(b("createRelayFBNetworkFetch")({queryResponseCache:b("RelayFBResponseCache")}),b("createRelayFBSubscribeFunction")({queryResponseCache:b("RelayFBResponseCache")}))}),null); __d("RelayFBMissingFieldHandlers",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";var g=b("relay-runtime").ROOT_TYPE;a=[{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:"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("RelayFBDefaultEnvironment",["FBLogger","RelayFBMissingFieldHandlers","RelayRuntime","RelayFBNetwork"],(function(a,b,c,d,e,f){"use strict";__p&&__p();a=b("RelayRuntime").Environment;c=b("RelayRuntime").Observable;d=b("RelayRuntime").RecordSource;f=b("RelayRuntime").Store;c.onUnhandledError(function(a,c){var d=b("FBLogger")("relay");a instanceof Error?(d.catching(a),c?d.mustfix("An uncaught error was thrown inside `RelayObservable`."):d.warn("An error was caught inside `RelayObservable`.")):c?d.mustfix("An uncaught error was thrown inside `RelayObservable` but it was not an instance of `Error`. Please change your code so that it throws a bonafide `Error` object instead of `%s`.",a):d.warn("An error was caught inside `RelayObservable` but it was not aninstance of `Error`. Please change your code so that it throws a bonafide `Error` object instead of `%s`.",a)});c=new d();d=new f(c);f=new a({network:b("RelayFBNetwork"),store:d,missingFieldHandlers:b("RelayFBMissingFieldHandlers")});e.exports=f}),null); __d("XRelayBootloadController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/relay/bootload/",{component:{type:"String",required:!0},params:{type:"String",required:!0},route:{type:"String",required:!0},uri:{type:"String",required:!0}})}),null);