7899241745592be7cf861879bee03505b2ecb0be4bb9eb4cf96bac14638a6ca0

Source Code:

if (self.CavalryLogger) { CavalryLogger.start_js(["ObUAz"]); }

__d("useJoinableVideoChatsDidViewEducationalQPMutation.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"input"}],b=[{alias:null,args:[{kind:"Variable",name:"data",variableName:"input"}],concreteType:"JoinableVideoChatsDidViewEducationalQpResponsePayload",kind:"LinkedField",name:"joinable_video_chats_did_view_educational_qp",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"client_mutation_id",storageKey:null}],storageKey:null}];return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"useJoinableVideoChatsDidViewEducationalQPMutation",selections:b,type:"Mutation",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"useJoinableVideoChatsDidViewEducationalQPMutation",selections:b},params:{id:"2786793821356319",metadata:{},name:"useJoinableVideoChatsDidViewEducationalQPMutation",operationKind:"mutation",text:null}}}();e.exports=a}),null);
__d("VideoChatHomeContainerCometQuery$Parameters",[],(function(a,b,c,d,e,f){"use strict";a={kind:"PreloadableConcreteRequest",params:{id:"2573350832767544",metadata:{relayPreloadable:!0},name:"VideoChatHomeContainerCometQuery",operationKind:"query",text:null}};e.exports=a}),null);
__d("VideoChatHomeContainerCometQuery.graphql",["relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"scale"},{defaultValue:!1,kind:"LocalArgument",name:"show_with_active_room"}],b={alias:null,args:null,kind:"ScalarField",name:"should_show_educational_qp",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"should_collapse_tray",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},e=[{kind:"Literal",name:"supported",value:["MessengerRoomsStatusTrayRenderingStrategy"]}],f={kind:"InlineFragment",selections:[{documentName:"VideoChatHomeContainerCometQuery",fragmentName:"RoomsTrayRoot_messengeTrayRenderingStrategy",fragmentPropName:"messengeTrayRenderingStrategy",kind:"ModuleImport"}],type:"MessengerRoomsStatusTrayRenderingStrategy",abstractKey:null},g=[{kind:"Literal",name:"supported",value:["MessengerRoomsStatusOptInPromotionRenderingStrategy"]}],h={kind:"InlineFragment",selections:[{documentName:"VideoChatHomeContainerCometQuery_2",fragmentName:"RoomsQuickPromotionComet_messengerRoomsStatusOptInPromotionRenderingStrategy",fragmentPropName:"messengerRoomsStatusOptInPromotionRenderingStrategy",kind:"ModuleImport"}],type:"MessengerRoomsStatusOptInPromotionRenderingStrategy",abstractKey:null},i=[{alias:null,args:null,kind:"ScalarField",name:"text",storageKey:null}],j={alias:"promotion_title",args:[{kind:"Literal",name:"type",value:"FEED_UPSELL_TITLE"}],concreteType:"TextWithEntities",kind:"LinkedField",name:"joinable_video_chats_string",plural:!1,selections:i,storageKey:'joinable_video_chats_string(type:"FEED_UPSELL_TITLE")'},k={alias:"promotion_content",args:[{kind:"Literal",name:"type",value:"FEED_UPSELL_CONTENT"}],concreteType:"TextWithEntities",kind:"LinkedField",name:"joinable_video_chats_string",plural:!1,selections:i,storageKey:'joinable_video_chats_string(type:"FEED_UPSELL_CONTENT")'},l={alias:"promotion_primary_button_text",args:[{kind:"Literal",name:"type",value:"FEED_UPSELL_BUTTON_STRING"}],concreteType:"TextWithEntities",kind:"LinkedField",name:"joinable_video_chats_string",plural:!1,selections:i,storageKey:'joinable_video_chats_string(type:"FEED_UPSELL_BUTTON_STRING")'},m={alias:"promotion_secondary_button_text",args:[{kind:"Literal",name:"type",value:"FEED_UPSELL_SECONDARY_BUTTON_STRING"}],concreteType:"TextWithEntities",kind:"LinkedField",name:"joinable_video_chats_string",plural:!1,selections:i,storageKey:'joinable_video_chats_string(type:"FEED_UPSELL_SECONDARY_BUTTON_STRING")'},n={alias:"rooms_currently_not_available_title",args:[{kind:"Literal",name:"type",value:"ROOMS_CURRENTLY_NOT_AVAILABLE_TITLE"}],concreteType:"TextWithEntities",kind:"LinkedField",name:"joinable_video_chats_string",plural:!1,selections:i,storageKey:'joinable_video_chats_string(type:"ROOMS_CURRENTLY_NOT_AVAILABLE_TITLE")'};i={alias:"rooms_currently_not_available_description",args:[{kind:"Literal",name:"type",value:"ROOMS_CURRENTLY_NOT_AVAILABLE_DESCRIPTION"}],concreteType:"TextWithEntities",kind:"LinkedField",name:"joinable_video_chats_string",plural:!1,selections:i,storageKey:'joinable_video_chats_string(type:"ROOMS_CURRENTLY_NOT_AVAILABLE_DESCRIPTION")'};var o={condition:"show_with_active_room",kind:"Condition",passingValue:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"has_active_rooms",storageKey:null}]},p={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"VideoChatHomeContainerCometQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"JoinableVideoChatsViewerFields",kind:"LinkedField",name:"joinable_video_chats",plural:!1,selections:[b,c,{alias:null,args:null,concreteType:"MessengerRoomsSection",kind:"LinkedField",name:"messenger_rooms_section",plural:!1,selections:[d,{alias:"tray_section",args:e,concreteType:null,kind:"LinkedField",name:"status_renderer_strategies",plural:!1,selections:[f],storageKey:'status_renderer_strategies(supported:["MessengerRoomsStatusTrayRenderingStrategy"])'},{alias:"qp_section",args:g,concreteType:null,kind:"LinkedField",name:"status_renderer_strategies",plural:!1,selections:[h],storageKey:'status_renderer_strategies(supported:["MessengerRoomsStatusOptInPromotionRenderingStrategy"])'}],storageKey:null},j,k,l,m,n,i,o],storageKey:null},{args:null,kind:"FragmentSpread",name:"RoomsTrayRoot_viewer"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"VideoChatHomeContainerCometQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"surface_nux_id",value:8001}],concreteType:"ViewerEligibleQuickPromotionsConnection",kind:"LinkedField",name:"eligible_promotions",plural:!1,selections:[{alias:null,args:null,concreteType:"ViewerEligibleQuickPromotionsEdge",kind:"LinkedField",name:"edges",plural:!0,selections:[{alias:null,args:null,concreteType:"QuickPromotion",kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,concreteType:"CometQuickPromotionSections",kind:"LinkedField",name:"comet_qp_sections",plural:!1,selections:[{alias:null,args:[{kind:"Literal",name:"supported",value:["CometQuickPromotionRoomsTrayWideCardRendererStrategy","CometQuickPromotionRoomsTrayCardRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsWideTemplateRendererStrategy","CometQuickPromotionRoomsTraySocialNormsTemplateRendererStrategy"]}],concreteType:null,kind:"LinkedField",name:"renderer_strategy",plural:!1,selections:[p,{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"VideoChatTrayWideEduTile_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTrayWideCardRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"VideoChatTrayEduTile_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTrayCardRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"RoomsTrayQuickPromotionEidRoomTileCard_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTrayCardSocialNormsRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"RoomsTrayQuickPromotionEidRoomWideTileCard_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTrayCardSocialNormsWideRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"RoomsTrayQuickPromotionHappyHourTileCard_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTraySocialNormsHappyHourRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"RoomsTrayQuickPromotionHappyHourWideTileCard_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTraySocialNormsHappyHourWideRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"RoomsTrayQuickPromotionSocialNormsWideTemplateTileCard_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTraySocialNormsWideTemplateRendererStrategy",abstractKey:null},{kind:"InlineFragment",selections:[{documentName:"useRoomsTrayQuickPromotion_viewer",fragmentName:"RoomsTrayQuickPromotionSocialNormsTemplateTileCard_quickPromotion",fragmentPropName:"quickPromotion",kind:"ModuleImport"}],type:"CometQuickPromotionRoomsTraySocialNormsTemplateRendererStrategy",abstractKey:null}],storageKey:'renderer_strategy(supported:["CometQuickPromotionRoomsTrayWideCardRendererStrategy","CometQuickPromotionRoomsTrayCardRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsWideTemplateRendererStrategy","CometQuickPromotionRoomsTraySocialNormsTemplateRendererStrategy"])'},{alias:"rendererStrategyTypeName",args:[{kind:"Literal",name:"supported",value:["CometQuickPromotionRoomsTrayCardRendererStrategy","CometQuickPromotionRoomsTrayWideCardRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsTemplateRendererStrategy","CometQuickPromotionRoomsTraySocialNormsWideTemplateRendererStrategy"]}],concreteType:null,kind:"LinkedField",name:"renderer_strategy",plural:!1,selections:[p],storageKey:'renderer_strategy(supported:["CometQuickPromotionRoomsTrayCardRendererStrategy","CometQuickPromotionRoomsTrayWideCardRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsRendererStrategy","CometQuickPromotionRoomsTrayCardSocialNormsWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourRendererStrategy","CometQuickPromotionRoomsTraySocialNormsHappyHourWideRendererStrategy","CometQuickPromotionRoomsTraySocialNormsTemplateRendererStrategy","CometQuickPromotionRoomsTraySocialNormsWideTemplateRendererStrategy"])'}],storageKey:null},d],storageKey:null}],storageKey:null}],storageKey:"eligible_promotions(surface_nux_id:8001)"},{alias:null,args:null,concreteType:"JoinableVideoChatsViewerFields",kind:"LinkedField",name:"joinable_video_chats",plural:!1,selections:[b,c,{alias:null,args:null,concreteType:"MessengerRoomsSection",kind:"LinkedField",name:"messenger_rooms_section",plural:!1,selections:[d,{alias:"tray_section",args:e,concreteType:null,kind:"LinkedField",name:"status_renderer_strategies",plural:!1,selections:[p,f],storageKey:'status_renderer_strategies(supported:["MessengerRoomsStatusTrayRenderingStrategy"])'},{alias:"qp_section",args:g,concreteType:null,kind:"LinkedField",name:"status_renderer_strategies",plural:!1,selections:[p,h],storageKey:'status_renderer_strategies(supported:["MessengerRoomsStatusOptInPromotionRenderingStrategy"])'}],storageKey:null},j,k,l,m,n,i,o],storageKey:null}],storageKey:null}]},params:{id:"2573350832767544",metadata:{relayPreloadable:!0},name:"VideoChatHomeContainerCometQuery",operationKind:"query",text:null}}}();a.params.id!=null&&b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
__d("BaseAsyncLoader",["KeyedCallbackManager","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){var g={};function h(a,c,d){var e=new(b("KeyedCallbackManager"))(),f=!1,g=[];function h(){if(!g.length||f)return;f=!0;b("setTimeoutAcrossTransitions")(j,0)}function i(a){f=!1,a.forEach(e.unsubscribe.bind(e)),h()}function j(){var b={},c=[];g=g.filter(function(a){var d=e.getUnavailableResources(a);if(d.length){d.forEach(function(a){b[a]=!0});c.push(a);return!0}return!1});var h=Object.keys(b);h.length?d(a,h,c,k.bind(null,c),l.bind(null,c)):f=!1}function k(a,b){b=b.payload[c]||b.payload;e.addResourcesAndExecute(b);i(a)}function l(a){i(a)}return{get:function(a,b){a=e.executeOrEnqueue(a,b);b=e.getUnavailableResources(a);b.length&&(g.push(a),h())},getCachedKeys:function(){return Object.keys(e.getAllResources())},getNow:function(a){return e.getResource(a)||null},set:function(a){e.addResourcesAndExecute(a)}}}function a(a,b){throw new Error("BaseAsyncLoader can't be instantiated")}Object.assign(a.prototype,{_getLoader:function(){g[this._endpoint]||(g[this._endpoint]=h(this._endpoint,this._type,this.send));return g[this._endpoint]},get:function(a,b){return this._getLoader().get(a,b)},getCachedKeys:function(){return this._getLoader().getCachedKeys()},getNow:function(a){return this._getLoader().getNow(a)},reset:function(){g[this._endpoint]=null},set:function(a){this._getLoader().set(a)}});e.exports=a}),null);
__d("AjaxLoader",["AsyncRequest","BaseAsyncLoader","LogHistory"],(function(a,b,c,d,e,f){var g=b("LogHistory").getInstance("ajax_loader");function a(a,b){this._endpoint=a,this._type=b}Object.assign(a.prototype,b("BaseAsyncLoader").prototype);a.prototype.send=function(a,c,d,e,f){new(b("AsyncRequest"))().setURI(a).setData({ids:c}).setMethod("POST").setReadOnly(!0).setAllowCrossPageTransition(!0).setHandler(function(a){e(a)}).setTimeoutHandler(10*1e3,function(a){f(),g.error("fetch_timeout","{}")}).setErrorHandler(function(a){f(),g.error("fetch_error",JSON.stringify({error_type:a.errorSummary,error_text:a.errorDescription}))}).send()};e.exports=a}),null);
__d("AsyncLoader",["AsyncRequest","BaseAsyncLoader"],(function(a,b,c,d,e,f){function a(a,b){this._endpoint=a,this._type=b}Object.assign(a.prototype,b("BaseAsyncLoader").prototype);a.prototype.send=function(a,c,d,e,f){new(b("AsyncRequest"))(a).setData({ids:c}).setHandler(e).setErrorHandler(f).setAllowCrossPageTransition(!0).setMethod("GET").setReadOnly(!0).send()};e.exports=a}),null);
__d("ChatHovercard",["Arbiter","AsyncLoader","Bootloader","TimeSlice","debounce","emptyFunction","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){var g=5,h=new(b("AsyncLoader"))("/ajax/chat/hovercard/sidebar.php","hover");b("Arbiter").subscribe("Hovercard/dirty",h.reset.bind(h));function i(a,c){var d=function(){h.get(a,c)};b("TimeSlice").guard(d,"superfluous request to first open DD",{propagationType:b("TimeSlice").PropagationType.ORPHAN})()}function j(a,c){if(!a)return;i(a,function(d){b("setTimeoutAcrossTransitions")(function(){if(!d)return;b("Bootloader").loadModules(["Hovercard"],function(b){b=b.getDialog(d);if(!b)return;a==c.getActiveID()&&c.showHovercard(a,b)},"ChatHovercard")},0)})}function k(a,b){var c=[];function d(b){b>=0&&b<a.length&&c.push(a[b])}b=a.indexOf(b);if(b>-1){d(b);for(var e=1;e<g;e++)d(b+e),d(b-e)}return c.filter(function(a){return a})}function l(a,c){c=c.getActiveID();if(c){a=a.getShowingUsers();a=k(a,c);i(a,b("emptyFunction"))}}function a(a){var c=a.getHoverController();c.registerDefault(j);c.subscribe("hover",b("debounce")(l.bind(null,a,c),100))}e.exports=a}),null);
__d("BanzaiScuba",["Banzai","FBLogger"],(function(a,b,c,d,e,f){var g="scuba_sample";a=function(){"use strict";function a(a,c,d){this.posted=!1,a||b("FBLogger")("BanzaiScuba").warn("Can't post a sample without a dataset"),this.dataset=a,this.$1=c,this.options=d}var c=a.prototype;c.$2=function(a,c,d){if(this.posted){b("FBLogger")("BanzaiScuba").warn("Trying to add to an already posted sample");return a}a=a||{};a[c]=d;return a};c.addNormal=function(a,b){this.normal=this.$2(this.normal,a,b);return this};c.addInteger=function(a,b){this["int"]=this.$2(this["int"],a,b);return this};c.addDenorm=function(a,b){this.denorm=this.$2(this.denorm,a,b);return this};c.addTagSet=function(a,b){this.tags=this.$2(this.tags,a,b);return this};c.addNormVector=function(a,b){this.normvector=this.$2(this.normvector,a,b);return this};c.post=function(a){if(this.posted){b("FBLogger")("BanzaiScuba").warn("Trying to re-post");return}if(!this.dataset)return;var c={};c._ds=this.dataset;c._options=this.options;this.normal&&(c.normal=this.normal);this["int"]&&(c["int"]=this["int"]);this.denorm&&(c.denorm=this.denorm);this.tags&&(c.tags=this.tags);this.normvector&&(c.normvector=this.normvector);this.$1!==null&&this.$1!==""&&this.$1!==void 0&&(c._lid=this.$1);b("Banzai").post(g,c,a);this.posted=!0};return a}();e.exports=a}),null);
__d("monitorCodeUse",["invariant","BanzaiScuba","ErrorNormalizeUtils","ScriptPath","SiteData","forEachObject","gkx","ReactCurrentOwner"],(function(a,b,c,d,e,f,g){var h;function i(a){a=a.type;if(typeof a==="string")return a;return typeof a==="function"?a.displayName||a.name:null}function j(a){var b=1e3,c=[];while(a&&c.length<b)c.push(i(a)||""),typeof a.tag==="number"?a=a["return"]:a=a._currentElement&&a._currentElement._owner;return c}function k(a){return Array.isArray(a)?"[...]":l(a)}function l(a){if(a==null)return""+String(a);if(Array.isArray(a)){if(a.length>10){var b=a.slice(0,5).map(k);return"["+b.join(", ")+", ...]"}b=a.map(k);return"["+b.join(", ")+"]"}if(typeof a==="string")return"'"+a+"'";if(typeof a==="object"){b=Object.keys(a).map(function(a){return a+"=..."});return"{"+b.join(", ")+"}"}return String(a)}function m(a){return a.identifier||""}function n(a){var b;return((b=a.script)!=null?b:"")+"  "+((b=a.line)!=null?b:"")+":"+((b=a.column)!=null?b:"")}var o;function a(a,c,d){c===void 0&&(c={});d===void 0&&(d={});a&&!/[^a-z0-9_]/.test(a)||g(0,2789);var e={};d.sampleRate!=null&&(e.sampleRate=d.sampleRate);var f=new(b("BanzaiScuba"))("core_monitor",null,e);f.addNormal("event",a);o===void 0&&(o=b("gkx")("708253"));f.addNormal("is_comet",o);e=h||(h=b("ReactCurrentOwner"));f.addNormVector("owners",j(e.current));f.addNormal("uri",window.location.href);f.addNormal("script_path",b("ScriptPath").getScriptPath());f.addNormal("devserver_username",b("SiteData").devserver_username||"");e=!1;d.forceIncludeStackTrace&&(e=!0);if(e)try{d=new Error(a);d.framesToPop=1;e=b("ErrorNormalizeUtils").normalizeError(d).stackFrames;a=e.map(m);d=e.map(n).join("\n");f.addNormVector("stacktrace",a);f.addDenorm("stack",d)}catch(a){}b("forEachObject")(c,function(a,b,c){typeof a==="string"?f.addNormal(b,a):typeof a==="number"&&(a|0)===a?f.addInteger(b,a):Array.isArray(a)?f.addNormVector(b,a.map(l)):f.addNormal(b,l(a))});f.post()}e.exports=a}),null);
__d("Dispatcher_DEPRECATED",["invariant","FBLogger","monitorCodeUse"],(function(a,b,c,d,e,f,g){"use strict";var h="ID_";a=function(){function a(){this.$1=new Map(),this.$2=!1,this.$3=new Map(),this.$4=new Map(),this.$5=1}var b=a.prototype;b.register=function(a,b){b=this.__genID(b);this.$1.set(b,a);return b};b.unregister=function(a){this.$1.get(a)||g(0,1331,a),this.$1["delete"](a)};b.waitFor=function(a){this.$2||g(0,1332);for(var b=0;b<a.length;b++){var c=a[b];if(this.$4.get(c)){this.$3.get(c)||g(0,2380,c);continue}this.$1.get(c)||g(0,2381,c);this.$7(c)}};b.dispatch=function(a){var b=this;j(this.$2,this.$6,a);this.$8(a);try{this.$1.forEach(function(a,c){if(b.$4.get(c))return;b.$7(c)})}finally{this.$9()}};b.isDispatching=function(){return this.$2};b.$7=function(a){this.$4.set(a,!0);var b=this.$1.get(a);b&&this.__invokeCallback(a,b,this.$6);this.$3.set(a,!0)};b.__invokeCallback=function(a,b,c){b(c)};b.$8=function(a){for(var b=this.$1.keys(),c=Array.isArray(b),d=0,b=c?b:b[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var e;if(c){if(d>=b.length)break;e=b[d++]}else{d=b.next();if(d.done)break;e=d.value}e=e;this.$4.set(e,!1);this.$3.set(e,!1)}this.$6=a;this.$2=!0};b.$9=function(){delete this.$6,this.$2=!1};b.__genID=function(a){var b=a?a+"_":h;a=a||b+this.$5++;while(this.$1.get(a))a=b+this.$5++;return a};return a}();function i(a){var b="<unknown>";if(!a)return b;if(typeof a.type==="string")return a.type;if(typeof a.actionType==="string")return a.actionType;if(!a.action)return b;if(typeof a.action.type==="string")return a.action.type;return typeof a.action.actionType==="string"?a.action.actionType:b}function j(a,c,d){if(a){a=new Error("Cannot dispatch in the middle of a dispatch");b("FBLogger")("flux_dispatcher").catching(a).mustfix("Tried to dispatch action %s while already dispatching %s",i(d),i(c));throw a}}e.exports=a}),null);
__d("ChatSidebarActionTypes",["keyMirror"],(function(a,b,c,d,e,f){"use strict";e.exports=b("keyMirror")({AFTER_DOM_LOAD:null,INIT:null,LOADED:null,SET_ENABLED:null,SHOW:null})}),null);
__d("ChatSidebarPresencePrivacyActions",["keyMirror"],(function(a,b,c,d,e,f){"use strict";a=b("keyMirror")({PRIVACY_CHANGED:null,USER_PRESENCE_CHANGED:null});e.exports=a}),null);
__d("ChatSidebarRecentCallsActions",["keyMirror"],(function(a,b,c,d,e,f){"use strict";a=b("keyMirror")({RECENT_CALLS_UPDATED:null});e.exports=a}),null);
__d("ChatSidebarActions",["ChatDispatcher","ChatSidebarActionTypes","ChatSidebarPresencePrivacyActions","ChatSidebarRecentCallsActions"],(function(a,b,c,d,e,f){"use strict";a={init:function(){b("ChatDispatcher").dispatch({type:b("ChatSidebarActionTypes").INIT})},afterDomLoad:function(){b("ChatDispatcher").dispatch({type:b("ChatSidebarActionTypes").AFTER_DOM_LOAD})},loaded:function(){b("ChatDispatcher").dispatch({type:b("ChatSidebarActionTypes").LOADED})},disable:function(){b("ChatDispatcher").dispatch({type:b("ChatSidebarActionTypes").SET_ENABLED,enabled:!1,sidebarType:"buddylist"})},enable:function(a){b("ChatDispatcher").dispatch({type:b("ChatSidebarActionTypes").SET_ENABLED,enabled:!0,sidebarType:a})},show:function(a){b("ChatDispatcher").dispatch({type:b("ChatSidebarActionTypes").SHOW,sidebarType:a})},userPresenceChanged:function(){b("ChatDispatcher").dispatch({type:b("ChatSidebarPresencePrivacyActions").USER_PRESENCE_CHANGED})},privacyChanged:function(){b("ChatDispatcher").dispatch({type:b("ChatSidebarPresencePrivacyActions").PRIVACY_CHANGED})},recentCallsUpdated:function(a){b("ChatDispatcher").dispatch({type:b("ChatSidebarRecentCallsActions").RECENT_CALLS_UPDATED,calls:a})}};e.exports=a}),null);
__d("ChatSidebarDropdownConstants",[],(function(a,b,c,d,e,f){a=Object.freeze({SOUND:"sound",ADVANCED_SETTINGS:"advanced_settings",BLOCK_SETTINGS:"block_settings",TURN_OFF_DIALOG:"turn_off_dialog",CLOSE_ALL_TABS:"close_all_tabs",LOWER_ALL_TABS:"lower_all_tabs",TOGGLE_DISCOVER_BOTS:"toggle_discover_bots",SIDEBAR:"sidebar",HIDE_GROUPS:"hide_groups",ONLINE:"online",VIDEOCALL_ON:"videoon",VIDEOCALL_OFF:"videooff",PAUSE:"pause",SHOW_APPS:"show_apps",HIDE_APPS:"hide_apps",HIDE_MARKETPLACE:"hide_marketplace",SHOW_TICKER:"show_ticker",HIDE_TICKER:"hide_ticker",HIDE_ADMINED_PAGES:"hide_admined_pages",HIDE_BUSINESSES:"hide_businesses",EMOJI_SETTINGS:"emoji_settings",TURN_OFF_CHAT_TABS:"turn_off_chat_tabs",SOLID_REACTION:"solid_reaction"});e.exports=a}),null);
__d("FBRTCDispatcher",["Dispatcher_DEPRECATED"],(function(a,b,c,d,e,f){"use strict";e.exports=new(b("Dispatcher_DEPRECATED"))()}),null);
__d("FBRTCStore",["FBRTCDispatcher","FluxStore"],(function(a,b,c,d,e,f){"use strict";a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.call(this,b("FBRTCDispatcher"))||this}var d=c.prototype;d.__emitChange=function(){this.__emitter.emit(this.__changeEvent)};return c}(b("FluxStore"));a.__moduleID=e.id;e.exports=a}),null);
__d("FBRTCCallBlockingStore",["Arbiter","AsyncRequest","Bootloader","ChannelConstants","FBRTCDispatcher","FBRTCStore","clearTimeout","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";var g=!1,h=0,i=null,j="call_block_setting_changed";a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.init=function(a){this.$FBRTCCallBlockingStore1(a),b("Arbiter").subscribe(b("ChannelConstants").getArbiterType("videocall_block_setting"),this.$FBRTCCallBlockingStore2.bind(this))};d.__onDispatch=function(a){if(a.type!==j)return;this.$FBRTCCallBlockingStore1(a.data)};d.$FBRTCCallBlockingStore1=function(a){switch(a){case 0:g=!1;this.$FBRTCCallBlockingStore3();break;case-1:g=!0;this.$FBRTCCallBlockingStore3();break;default:g=!0,this.$FBRTCCallBlockingStore4(a)}this.__emitChange()};d.$FBRTCCallBlockingStore4=function(a){i===null&&(i=b("setTimeoutAcrossTransitions")(this.turnOnVideoCalling.bind(this),a*1e3))};d.getBlockingStatus=function(){return g};d.turnOnVideoCalling=function(){new(b("AsyncRequest"))("/ajax/chat/settings.php").setHandler(this.$FBRTCCallBlockingStore5.bind(this)).setData({call_blocked_until:0}).send()};d.turnOffVideoCalling=function(a){h=a,new(b("AsyncRequest"))("/ajax/chat/settings.php").setHandler(this.$FBRTCCallBlockingStore6.bind(this)).setData({call_blocked_until:a}).send()};d.$FBRTCCallBlockingStore3=function(){i&&(b("clearTimeout")(i),i=null)};d.$FBRTCCallBlockingStore5=function(){b("FBRTCDispatcher").dispatch({type:j,data:0}),b("Bootloader").loadModules(["RTWebUserActionLogger"],function(a){a.logCheckpoint({checkpoint:"rtc_enabled"})},"FBRTCCallBlockingStore")};d.$FBRTCCallBlockingStore6=function(){b("FBRTCDispatcher").dispatch({type:j,data:h}),b("Bootloader").loadModules(["RTWebUserActionLogger"],function(a){a.logCheckpoint({checkpoint:h===-1?"rtc_disabled_permanently":"rtc_disabled_temporarily"})},"FBRTCCallBlockingStore")};d.$FBRTCCallBlockingStore2=function(a,c){b("FBRTCDispatcher").dispatch({type:j,data:c.obj.value})};return c}(b("FBRTCStore"));e.exports=new a()}),null);
__d("ChatOptions",["Arbiter","ArbiterMixin","Bootloader","ChannelConstants","ChatSidebarActions","ChatSidebarDropdownConstants","FBRTCCallBlockingStore","PresenceUtil","mixin","ChatOptionsInitialData"],(function(a,b,c,d,e,f){var g={};(function(){var a=b("ChatOptionsInitialData");for(var c in a){var d=a[c];switch(c){case"call_blocked_until":b("FBRTCCallBlockingStore").init(d);break;case b("ChatSidebarDropdownConstants").TURN_OFF_CHAT_TABS:d!==-1&&(g[c]=!!d);break;default:g[c]=!!d}}})();a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.getSetting=function(a){return g[a]};d.setSetting=function(a,c,d){if(a==="sidebar_mode"){b("Bootloader").loadModules(["ChatSidebarVisibility"],function(a){return a.shouldShowSidebarIgnoreEnabled(null,function(a,d){c?b("ChatSidebarActions").enable(a?"sidebar":"buddylist"):b("ChatSidebarActions").disable()})},"ChatOptions");return}if(this.getSetting(a)==c)return;g[a]=!!c;b("Arbiter").inform("chat/option-changed",{name:a,value:c})};return c}(b("mixin")(b("ArbiterMixin")));b("Arbiter").subscribe(b("ChannelConstants").getArbiterType("setting"),function(a,c){a=c.obj;if(a.window_id===b("PresenceUtil").getSessionID())return;h.setSetting(a.setting,!!a.value,"channel")});var h=new a();e.exports=h}),null);
__d("ChatReliabilityEvents",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({ERROR:"error",CHANNEL_DISCONNECT:"channel_disconnect",CHANNEL_CONNECT:"channel_connect",CHANNEL_INIT:"channel_init",CHANNEL_NOCONFIG:"channel_noconfig",CHANNEL_HISTORY_INVALID:"channel_history_invalid",CHANNEL_STALLED:"channel_stalled",MESSAGE_RECEIVED:"msg_received",MESSAGE_SEND_START:"msg_send_start",THREAD_INFO_ENDPOINT_FATAL:"thread_info_fatal",DFF_ENDPOINT_FATAL:"invalidate_global_state_fatal",DFF_DELTA_INIT:"dff_initiated_by_delta",DFF_HOLE_INIT:"dff_initiated_by_hole",FETCHING_MANY_MESSAGES:"fetching_many_messages",THREAD_INFO_MISSING:"thread_info_missing",SET_THREAD_ID_MAP:"set_thread_id_map",DELETE_THREAD:"delete_thread",PROCESS_DELTA:"process_delta",RTI_SESSION:"chatproxy_rti_session",ON_INVALID_HISTORY:"chatproxy_on_invalid_history",GET_DEBUG_PRESENCE:"chatproxy_get_debug_presence"})}),null);
__d("ChatReliabilityTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:ChatReliabilityLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:ChatReliabilityLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:ChatReliabilityLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setEvent=function(a){this.$1.event=a;return this};c.setEventData=function(a){this.$1.event_data=a;return this};return a}();c={event:!0,event_data:!0};e.exports=a}),null);
__d("ChatReliabilityInstrumentation",["ChatReliabilityEvents","ChatReliabilityTypedLogger","gkx"],(function(a,b,c,d,e,f){"use strict";var g=function(a,c){if(!b("gkx")("678576"))return;new(b("ChatReliabilityTypedLogger"))().setEvent(a).setEventData(c).log()};a={logERROR:function(a){g(b("ChatReliabilityEvents").ERROR,a)},logCHANNEL_DISCONNECT:function(a){g(b("ChatReliabilityEvents").CHANNEL_DISCONNECT,a)},logCHANNEL_CONNECT:function(a){g(b("ChatReliabilityEvents").CHANNEL_CONNECT,a)},logCHANNEL_HISTORY_INVALID:function(a){g(b("ChatReliabilityEvents").CHANNEL_HISTORY_INVALID,a)},logMESSAGE_RECEIVED:function(a){g(b("ChatReliabilityEvents").MESSAGE_RECEIVED,a)},logMESSAGE_SEND_START:function(a){g(b("ChatReliabilityEvents").MESSAGE_SEND_START,a)},logCHANNEL_STALLED:function(a){g(b("ChatReliabilityEvents").CHANNEL_STALLED,a)},logCHANNEL_INIT:function(a){g(b("ChatReliabilityEvents").CHANNEL_INIT,a)},logCHANNEL_NOCONFIG:function(a){g(b("ChatReliabilityEvents").CHANNEL_NOCONFIG,a)},logDFF_DELTA_INIT:function(a){g(b("ChatReliabilityEvents").DFF_DELTA_INIT,a)},logDFF_HOLE_INIT:function(a){g(b("ChatReliabilityEvents").DFF_HOLE_INIT,a)},logFETCHING_MANY_MESSAGES:function(a){g(b("ChatReliabilityEvents").FETCHING_MANY_MESSAGES,a)},logPROCESS_DELTA:function(a){g(b("ChatReliabilityEvents").PROCESS_DELTA,a)},logTHREAD_INFO_MISSING:function(a){g(b("ChatReliabilityEvents").THREAD_INFO_MISSING,a)},logSET_THREAD_ID_MAP:function(a){g(b("ChatReliabilityEvents").SET_THREAD_ID_MAP,a)},logDELETE_THREAD:function(a){g(b("ChatReliabilityEvents").DELETE_THREAD,a)},logCHATPROXY_EVENT:function(a){g(a)}};e.exports=a}),null);
__d("TypingStates",[],(function(a,b,c,d,e,f){a=Object.freeze({INACTIVE:0,TYPING:1,QUITTING:2});e.exports=a}),null);
__d("ChatOrderedListHover",["csx","ArbiterMixin","CSS","ErrorUtils","Event","LayerHideOnBlur","Parent","clearTimeout","gkx","mixin","setTimeoutAcrossTransitions","shield"],(function(a,b,c,d,e,f,g){var h;function i(a){b("CSS").addClass(a,"fetching")}function j(a){b("CSS").removeClass(a,"fetching")}a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(c){var d;d=a.call(this)||this;d._orderedList=c;d._root=c.getRoot();b("Event").listen(d._root,"mouseover",d._mouseOver.bind(babelHelpers.assertThisInitialized(d)));b("Event").listen(d._root,"mouseleave",d._mouseLeave.bind(babelHelpers.assertThisInitialized(d)));c.subscribe("click",b("shield")(d._hide,babelHelpers.assertThisInitialized(d)));return d}var d=c.prototype;d._mouseOver=function(a){if(this._paused)return;a=a.getTarget();a=b("Parent").bySelector(a,"._42fz")||b("Parent").bySelector(a,"._5a58");a&&this._setActiveItem(a)};d._mouseLeave=function(a){this._setActiveItem(null)};d._clearTimeouts=function(){this._showTimeout&&b("clearTimeout")(this._showTimeout),this._showTimeout=null,this._hideTimeout&&b("clearTimeout")(this._hideTimeout),this._hideTimeout=null,this._hoverTimeout&&b("clearTimeout")(this._hoverTimeout),this._hoverTimeout=null};d._hide=function(){this._showingDialog&&(this._showingDialog.hide(),this._showingDialog=null,this._showingID=null)};d._show=function(){var a=this.getActiveID(),c=!1;this._defaultHandler&&(c=!0,(h||(h=b("ErrorUtils"))).applyWithGuard(this._defaultHandler,{},[a,this]));c&&this._showingID!=this.getActiveID()&&i(this._activeItem)};d._setActiveItem=function(a){var c=this;if(a!=this._activeItem){this._clearTimeouts();this._activeItem&&j(this._activeItem);if(a){this._activeItem=a;a=b("gkx")("1353340");var d=a?1100:this._showingDialog?0:600;this._showTimeout=b("setTimeoutAcrossTransitions")(function(){return c._show()},d);a?this._hoverTimeout=b("setTimeoutAcrossTransitions")(function(){c.inform("hover")},1e3):this.inform("hover")}else this._activeItem=null,this._hideTimeout=b("setTimeoutAcrossTransitions")(function(){return c._hide()},10),this.inform("leave")}};d.registerDefault=function(a){this._defaultHandler=a};d.getActiveID=function(){var a=this._activeItem&&this._orderedList.getUserForNode(this._activeItem);return a||null};d.showHovercard=function(a,c){if(a==this.getActiveID()&&a!=this._showingID){this._clearTimeouts();j(this._activeItem);this._hide();this._showingDialog=c;this._showingID=a;var d=c.subscribe("mouseenter",this._setActiveItem.bind(this,this._activeItem)),e=c.subscribe("mouseleave",function(){d.unsubscribe(),this._setActiveItem(null)}.bind(this)),f=c.subscribe("hide",function(){this.inform("hovercard_hide"),d.unsubscribe(),e.unsubscribe(),f.unsubscribe()}.bind(this));c.enableBehavior(b("LayerHideOnBlur")).setContext(this._activeItem).setPosition("left").show();this.inform("hovercard_show")}};return c}(b("mixin")(b("ArbiterMixin")));Object.assign(a.prototype,{_root:null,_activeItem:null,_hideTimeout:null,_showTimeout:null,_hoverTimeout:null,_showingDialog:null,_showingID:null,_defaultHandler:null});e.exports=a}),null);
__d("ChatSidebarConstants",[],(function(a,b,c,d,e,f){"use strict";var g={IMAGE_SIZE:32,getImageSize:function(){return g.IMAGE_SIZE},getItemHeight:function(){return g.IMAGE_SIZE+8}};e.exports=g}),null);
__d("ChatSidebarPreloadStore",["InitialChatFriendsList"],(function(a,b,c,d,e,f){"use strict";a={onLoaded:function(a){a({buddies:(a=b("InitialChatFriendsList")).list,groups:a.groups,shortProfiles:a.shortProfiles,nearby:a.nearby,adminedPages:a.adminedPages,marketplaceThreads:a.marketplaceThreads,pageListModule:a.pageListModule,pymmList:b("InitialChatFriendsList").pymmList||{},recentPageList:b("InitialChatFriendsList").recentPageList,profiles:[]})}};e.exports=a}),null);
__d("ChatUnreadCountActionTypes",["keyMirror"],(function(a,b,c,d,e,f){"use strict";e.exports=b("keyMirror")({COUNT_UPDATED:null})}),null);
__d("XChatUserInfoAllAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/chat/user_info_all/",{viewer:{type:"Int",required:!0}})}),null);
__d("ShortProfilesBootstrapper",["Promise","AsyncRequest","BanzaiODS","CurrentUser","XChatUserInfoAllAsyncController"],(function(a,b,c,d,e,f){"use strict";var g=5,h=1e4,i=b("XChatUserInfoAllAsyncController").getURIBuilder().setInt("viewer",b("CurrentUser").getID()).getURI();a=function(){function a(a){var c=this;this.$1=a;this.$2=new(b("Promise"))(function(a,b){c.$3=a,c.$4=b});this.$5=!1;this.$6=null;this.$7=0;this.$8=0;this.$9=0;this.$10=!1;this.$11=!1}var c=a.prototype;c.fetchAll=function(){var a=this;this.$12();if(this.$5||this.$6)return this.$2;if(this.$7>=g){this.$13();return this.$2}this.$7++;this.$14();this.$6=new(b("AsyncRequest"))(i).setHandler(function(b){a.$6=null,a.$5=!0,a.$15(),a.$1(b.payload),a.$3()}).setErrorHandler(function(){a.$6=null,a.$8++,a.$16()}).setTimeoutHandler(h,function(){a.$6=null,a.$9++,a.$17(),a.fetchAll()}).setAllowCrossPageTransition(!0);this.$6.send();return this.$2};c.isBootstrapped=function(){return this.$5};c.isBootstrapping=function(){return!!this.$6};c.getAttemptCount=function(){return this.$7};c.getErrorCount=function(){return this.$8};c.getTimeoutCount=function(){return this.$9};c.$12=function(){this.$10||(b("BanzaiODS").bumpEntityKey(3303,"chat.web","typeahead.bootstrap.starts"),this.$10=!0)};c.$14=function(){b("BanzaiODS").bumpEntityKey(3303,"chat.web","typeahead.bootstrap.attempts")};c.$15=function(){b("BanzaiODS").bumpEntityKey(3303,"chat.web","typeahead.bootstrap.successes"),this.$7>1&&b("BanzaiODS").bumpEntityKey(3303,"chat.web","typeahead.bootstrap.successes_after_retries")};c.$16=function(){b("BanzaiODS").bumpEntityKey(3303,"chat.web","typeahead.bootstrap.errors")};c.$17=function(){b("BanzaiODS").bumpEntityKey(3303,"chat.web","typeahead.bootstrap.timeouts")};c.$13=function(){this.$11||(b("BanzaiODS").bumpEntityKey(3303,"chat.web","typeahead.bootstrap.giveups"),this.$11=!0,this.$4())};return a}();e.exports=a}),null);
__d("XChatUserInfoAsyncController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/chat/user_info/",{ids:{type:"IntVector",defaultValue:[]}})}),null);
__d("ShortProfiles",["AjaxLoader","CurrentUser","ShortProfilesBootstrapper","URI","XChatUserInfoAsyncController","emptyFunction"],(function(a,b,c,d,e,f){"use strict";var g,h=null,i=new(b("AjaxLoader"))(b("XChatUserInfoAsyncController").getURIBuilder().getURI().toString(),"profiles"),j={get:function(a,b){this.getMulti([a],function(c){return b(c[a],a)})},getMulti:function(a,c){i.get(a,c||b("emptyFunction"))},getNow:function(a){return i.getNow(a)||null},getMultiNow:function(a){var b={};a.forEach(function(a){return b[a]=j.getNow(a)});return b},getCachedProfileIDs:function(){return i.getCachedKeys()},hasAll:function(){return!!h&&h.isBootstrapped()},fetchAll:function(){h||(h=new(b("ShortProfilesBootstrapper"))(function(a){i.set(a)}));return h.fetchAll()},set:function(a,b){var c={};c[a]=b;this.setMulti(c)},setMulti:function(a){if(b("CurrentUser").isWorkUser()){var c={};Object.keys(a).forEach(function(d){var e=a[d];(e.type!=="fb4c"||!e.uri)&&(c[d]=e);var f=new(g||(g=b("URI")))(e.uri).setDomain("").setProtocol("").toString();c[d]=babelHelpers["extends"]({},e,{uri:f})});a=c}i.set(a)}};e.exports=j}),null);
__d("ChatSortUsers",["ShortProfiles","TokenizeUtil"],(function(a,b,c,d,e,f){var g={};function h(a){if(g[a])return g[a];var c=(b("ShortProfiles").getNow(a)||{}).name;return c?g[a]=b("TokenizeUtil").flatten(c):"~"}a={sortAlphabetical:function(a,b){a=h(a);b=h(b);return a!==b?a<b?-1:1:0}};e.exports=a}),null);
__d("PresenceOrderedList",["ChatSidebarPreloadStore","ChatSortUsers","PresencePrivacy","PresenceStatus"],(function(a,b,c,d,e,f){function g(a){return a.map(function(a){var b=a.slice(0,-2);a=Number(a.slice(-1));return[b,a]})}function h(a,c){var d=[];a.forEach(function(a){var e=a[0];a=a[1];if(d.length>=c)return;if(b("PresencePrivacy").getFriendVisibility(e)==b("PresencePrivacy").BLACKLISTED)return;a==b("PresenceStatus").get(e)&&d.push(e)});return d}a=function(){"use strict";function a(){this.$1=null}var c=a.prototype;c.getSorted=function(a,c){var d=this;if(this.$1){c(h(this.$1,a));return}b("ChatSidebarPreloadStore").onLoaded(function(b){b=b.buddies;d.$1=g(b);c(h(d.$1,a))})};c.getAvailableSorted=function(a){var c=b("PresenceStatus").getOnlineIDs();a&&(c=c.filter(function(b){return a&&a.indexOf(b)===-1}));return c.sort(b("ChatSortUsers").sortAlphabetical)};c.getAllSorted=function(a){var c=[],d=this.$1||[];b("PresenceStatus").getAllIDs().concat(d.map(function(a){return a[0]})).forEach(function(a){return c.indexOf(a)===-1&&c.push(a)});a&&(c=c.filter(function(b){return a&&a.indexOf(b)===-1}));return c.sort(b("ChatSortUsers").sortAlphabetical)};return a}();e.exports=new a()}),null);
__d("PresenceStatusStore",["ChatDispatcher","FluxStore","PresenceStatus","PresenceStatusActionTypes"],(function(a,b,c,d,e,f){"use strict";a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.call(this,b("ChatDispatcher"))||this}var d=c.prototype;d.__onDispatch=function(a){a=a.type;switch(a){case b("PresenceStatusActionTypes").AVAILABILITY_CHANGED:this.__emitChange();break;default:break}};d.get=function(a){return b("PresenceStatus").get(a)};d.getIsPlaying=function(a){return b("PresenceStatus").isPlayingCanvasGameUser(a)};return c}(b("FluxStore"));a.__moduleID=e.id;e.exports=new a()}),null);
__d("ShortProfilesActionTypes",["keyMirror"],(function(a,b,c,d,e,f){"use strict";e.exports=b("keyMirror")({PROFILE_UPDATED:null})}),null);
__d("ChatProfileStore",["ChatSidebarPreloadStore"],(function(a,b,c,d,e,f){"use strict";var g={};a={init:function(){b("ChatSidebarPreloadStore").onLoaded(function(a){var b=a.profiles,c=a.nearby;return b.filter(function(a){return!c||c.indexOf(a.id)===-1}).forEach(function(a){var b=new Date();b=a.birthdate&&b.getDate()===a.birthdate.day&&b.getMonth()+1===a.birthdate.month;var c=a.profile_picture&&a.profile_picture.uri?a.profile_picture.uri:null;g[a.id]={id:a.id,is_birthday:b,thumbSrc:c,name:a.name,is_messenger_only:!!a.is_messenger_only}})})},get:function(a){return g[a]}};e.exports=a}),null);
__d("ShortProfilesStore",["ChatDispatcher","ChatProfileStore","FluxStore","ShortProfiles","ShortProfilesActionTypes"],(function(a,b,c,d,e,f){"use strict";a=function(a){babelHelpers.inheritsLoose(c,a);function c(){return a.call(this,b("ChatDispatcher"))||this}var d=c.prototype;d.__onDispatch=function(a){a=a.type;switch(a){case b("ShortProfilesActionTypes").PROFILE_UPDATED:this.__emitChange();break;default:break}};d.getNow=function(a){var c=b("ChatProfileStore").get(a);c||(c=b("ShortProfiles").getNow(a));return c};d.getMulti=function(a){b("ShortProfiles").getMulti(a,this.$ShortProfilesStore1)};d.$ShortProfilesStore1=function(a){b("ChatDispatcher").dispatch({type:b("ShortProfilesActionTypes").PROFILE_UPDATED})};return c}(b("FluxStore"));a.__moduleID=e.id;e.exports=new a()}),null);
__d("ChatSidebarStore",["AvailableListConstants","ChatConfig","ChatDispatcher","ChatOptions","ChatOptionsInitialData","ChatSidebarActionTypes","ChatUnreadCountActionTypes","CurrentUser","FluxStore","InitialChatFriendsList","PresenceOrderedList","PresencePrivacy","PresenceStatus","PresenceStatusActionTypes","PresenceStatusStore","ShortProfiles","ShortProfilesActionTypes","ShortProfilesStore","gkx","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";var g;function h(a){return a.map(function(a){var b=a.slice(0,-2);a=Number(a.slice(-1));return[b,a]})}function i(a,c,d){d===void 0&&(d=[]);return a.reduce(function(a,e){var f=e[0];e=e[1];a.length<c&&b("PresencePrivacy").getFriendVisibility(f)!==b("PresencePrivacy").BLACKLISTED&&e===b("PresenceStatus").get(f)&&!d.includes(f)&&a.push(f);return a},[])}function j(a){return b("PresencePrivacy").getVisibility()==b("PresencePrivacy").ONLINE?a.filter(function(a){return b("PresencePrivacy").allows(a)}):a}a=function(a){babelHelpers.inheritsLoose(c,a);function c(){var c;c=a.call(this,b("ChatDispatcher"))||this;c.$ChatSidebarStore2={enabled:!1,initTime:0,initialized:!1,isAfterDomLoad:!1,loaded:!1,visible:null};c.setupShortProfiles();c.$ChatSidebarStore3={enabled:!!b("ChatOptionsInitialData").sidebar_mode,initTime:(g||(g=b("performanceAbsoluteNow")))(),initialized:!1,isAfterDomLoad:!1,loaded:!1,visible:null};return c}var d=c.prototype;d.setupShortProfiles=function(){var a=b("InitialChatFriendsList").shortProfiles;a&&b("ShortProfiles").setMulti(a)};d.__onDispatch=function(a){var c=a.type;this.$ChatSidebarStore2=babelHelpers["extends"]({},this.$ChatSidebarStore3);switch(c){case b("ChatSidebarActionTypes").INIT:this.$ChatSidebarStore2.initialized||(this.$ChatSidebarStore3=babelHelpers["extends"]({},this.$ChatSidebarStore3,{initTime:(g||(g=b("performanceAbsoluteNow")))()}));this.$ChatSidebarStore3=babelHelpers["extends"]({},this.$ChatSidebarStore3,{initialized:!0});break;case b("ChatSidebarActionTypes").AFTER_DOM_LOAD:this.$ChatSidebarStore3=babelHelpers["extends"]({},this.$ChatSidebarStore3,{isAfterDomLoad:!0});break;case b("ChatSidebarActionTypes").LOADED:this.$ChatSidebarStore3=babelHelpers["extends"]({},this.$ChatSidebarStore3,{loaded:!0});break;case b("ChatSidebarActionTypes").SHOW:this.$ChatSidebarStore3=babelHelpers["extends"]({},this.$ChatSidebarStore3,{visible:a.sidebarType});break;case b("ChatSidebarActionTypes").SET_ENABLED:this.$ChatSidebarStore3=babelHelpers["extends"]({},this.$ChatSidebarStore3,{enabled:a.enabled,visible:a.sidebarType});break}if(b("gkx")("678655")&&(c===b("PresenceStatusActionTypes").AVAILABILITY_CHANGED||c===b("ShortProfilesActionTypes").PROFILE_UPDATED||c===b("ChatUnreadCountActionTypes").COUNT_UPDATED)){this.__emitChange();return}for(var d in this.$ChatSidebarStore3)if(Object.prototype.hasOwnProperty.call(this.$ChatSidebarStore3,d)&&this.$ChatSidebarStore3[d]!==this.$ChatSidebarStore2[d]){this.__emitChange();break}};d.getPrevState=function(){return this.$ChatSidebarStore2};d.getState=function(){return this.$ChatSidebarStore3};d.isInitialized=function(){return this.$ChatSidebarStore3.initialized};d.isLoaded=function(){return this.$ChatSidebarStore3.loaded};d.isAfterDomLoad=function(){return this.$ChatSidebarStore3.isAfterDomLoad};d.isEnabled=function(){return this.$ChatSidebarStore3.enabled};d.getInitTime=function(){return this.$ChatSidebarStore3.initTime};d.getVisibleType=function(){return this.$ChatSidebarStore3.visible};d.getUsersData=function(a){a=this.getOrderedPresenceUserList(a);var c=b("InitialChatFriendsList").nearby,d=b("CurrentUser").isWorkUser()?b("PresenceOrderedList").getAllSorted(a.concat(c)).filter(function(a){a=b("ShortProfilesStore").getNow(a);return!a||a.type==="fb4c"}):b("PresenceOrderedList").getAvailableSorted(a.concat(c)),e=b("CurrentUser").isWorkUser()?b("PresenceOrderedList").getAllSorted(a.concat(c)).filter(function(a){a=b("ShortProfilesStore").getNow(a);return a&&a.type!=="fb4c"}):[];a=a.filter(function(a){return!c||c.indexOf(a)===-1});var f=j(a);a=b("PresencePrivacy").getOnlinePolicy()===b("PresencePrivacy").ONLINE_TO_WHITELIST&&b("PresencePrivacy").getVisibility()?a.filter(function(a){return!b("PresencePrivacy").allows(a)}):[];return{availableUsers:d,topUsers:f,workOthers:e,offlineUsers:a}};d.getExtraData=function(a){var c,d=(c=b("InitialChatFriendsList")).groups,e=c.nearby,f=c.adminedPages,g=c.marketplaceThreads,h=c.pageListModule;c=c.pymmList;a--;b("ChatConfig").get("show_header")&&a--;var i=!b("ChatOptions").getSetting("hide_businesses")&&c&&c.pages;i&&(a-=3);f=b("ChatOptions").getSetting("hide_admined_pages")?[]:f;f.length&&(a-=f.length+1);var k=a,l=a;d=this.getGroupsToShow(d);var m=d.length;m===0&&!b("ChatOptions").getSetting("hide_groups")&&m++;m>0&&(l-=m+1);b("ChatConfig").get("nearby_friends_www_chatbar")&&e.length>0&&(l-=e.length+1);b("ChatConfig").get("show_admined_pages")&&f.length>0&&(l-=f.length+1);m=i&&c?c:{pages:[]};b("ChatConfig").get("show_businesses")&&m.pages.length>0&&(l-=2);l=Math.min(a,Math.max(l,b("ChatConfig").get("min_top_friends")||0));i=j(e);return{isUserOffline:b("PresencePrivacy").isUserOffline(),groups:d,numTopFriends:l,nearby:i,marketplaceThreads:g,maxThreadSlots:k,adminedPages:f,pageListModule:h,pymmList:m}};d.getGroupsToShow=function(a){if(b("ChatOptions").getSetting("hide_groups"))return[];return a.length>1?a.sort(function(a,c){return b("PresenceStatus").getGroup(c.mercury_thread.participants)-b("PresenceStatus").getGroup(a.mercury_thread.participants)}).slice(0,b("ChatConfig").getNumber("num_groups_to_show")):a};d.getOrderedPresenceUserList=function(a){if(this.$ChatSidebarStore1&&Array.isArray(this.$ChatSidebarStore1))return i(this.$ChatSidebarStore1,a);this.$ChatSidebarStore1=h(b("InitialChatFriendsList").list)||[];return i(this.$ChatSidebarStore1,a)};d.getStatusMap=function(a,c){var d={},e={};a.forEach(function(a){if(c){var f=b("PresenceStatusStore").getIsPlaying(a);d[a]=f}f=b("PresenceStatusStore").get(a);f===b("AvailableListConstants").ACTIVE&&(e[a]=f)});return{statusMap:e,playingMap:d}};return c}(b("FluxStore"));a.__moduleID=e.id;e.exports=new a()}),null);
__d("ChatSidebarUserDetailsFactory",["AvailableListConstants","LastActiveTimes","PresencePrivacy","PresenceStatusStore","ShortProfilesStore"],(function(a,b,c,d,e,f){"use strict";var g={getUsersDetailedData:function(a,c){var d={},e=[];a.forEach(function(a){if(!Object.prototype.hasOwnProperty.call(d,a)){var b=g._getDetailsForUserId(a,c);d[a]=b;b||e.push(a)}});e.length>0&&b("ShortProfilesStore").getMulti(e);return d},_getDetailsForUserId:function(a,c){var d=b("ShortProfilesStore").getNow(a);if(d){var e=b("PresenceStatusStore").get(a);return{shortProfile:d,presencePrivacyAllows:b("PresencePrivacy").allows(a),lastActiveTime:b("LastActiveTimes").getShortDisplay(a),unreadCount:0,isPlaying:c?b("PresenceStatusStore").getIsPlaying(a):!1,status:e===b("AvailableListConstants").ACTIVE?e:null}}return null}};e.exports=g}),null);
__d("MessengerDivebarSizingTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:MessengerDivebarSizingLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:MessengerDivebarSizingLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:MessengerDivebarSizingLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setMaxItemSlots=function(a){this.$1.max_item_slots=a;return this};c.setNumAdminedPages=function(a){this.$1.num_admined_pages=a;return this};c.setNumGroups=function(a){this.$1.num_groups=a;return this};c.setNumNearby=function(a){this.$1.num_nearby=a;return this};c.setNumPymm=function(a){this.$1.num_pymm=a;return this};c.setNumRecents=function(a){this.$1.num_recents=a;return this};c.setNumTopFriends=function(a){this.$1.num_top_friends=a;return this};c.setNumTopFriendsShown=function(a){this.$1.num_top_friends_shown=a;return this};c.setSidebarType=function(a){this.$1.sidebar_type=a;return this};c.updateExtraData=function(a){a=b("nullthrows")(b("GeneratedLoggerUtils").serializeMap(a));b("GeneratedLoggerUtils").checkExtraDataFieldNames(a,g);this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.addToExtraData=function(a,b){var c={};c[a]=b;return this.updateExtraData(c)};return a}();var g={max_item_slots:!0,num_admined_pages:!0,num_groups:!0,num_nearby:!0,num_pymm:!0,num_recents:!0,num_top_friends:!0,num_top_friends_shown:!0,sidebar_type:!0};e.exports=a}),null);
__d("ChatOrderedList",["csx","Arbiter","ArbiterMixin","AvailableList","AvailableListConstants","Bootloader","ChatConfig","ChatHovercard","ChatOptions","ChatOrderedListHover","ChatSidebarConstants","ChatSidebarPreloadStore","ChatSidebarStore","ChatSidebarUserDetailsFactory","CSS","CurrentUser","DataStore","DOM","Event","MessengerDivebarSizingTypedLogger","Parent","PresenceOrderedList","PresencePrivacy","React","ReactDOM","ShortProfilesStore","debounceAcrossTransitions","emptyFunction","gkx","mixin","onAfterDisplay","qex"],(function(a,b,c,d,e,f,g){var h=b("React");a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(c,d,e,f,g){var i;i=a.call(this)||this;i._debouncedRender=b("emptyFunction");i._render=function(){if(!i._isVisible||i._isHovering){i._isHovering&&(i._skippedRenderDuringHover=!0);return}b("PresenceOrderedList").getSorted(i._numTopFriends,function(a){var c=b("CurrentUser").isWorkUser()?b("PresenceOrderedList").getAllSorted(a.concat(i._nearby)).filter(function(a){a=b("ShortProfilesStore").getNow(a);return!a||a.type==="fb4c"}):b("PresenceOrderedList").getAvailableSorted(a.concat(i._nearby)),d=b("CurrentUser").isWorkUser()?b("PresenceOrderedList").getAllSorted(a.concat(i._nearby)).filter(function(a){a=b("ShortProfilesStore").getNow(a);return a&&a.type!=="fb4c"}):[];a=a.filter(function(a){return!i._nearby||i._nearby.indexOf(a)===-1});var e=b("PresencePrivacy").getVisibility()==b("PresencePrivacy").ONLINE?i._nearby.filter(function(a){return b("PresencePrivacy").allows(a)}):i._nearby,f=b("PresencePrivacy").getVisibility()==b("PresencePrivacy").ONLINE?a.filter(function(a){return b("PresencePrivacy").allows(a)}):a;a=b("PresencePrivacy").getOnlinePolicy()===b("PresencePrivacy").ONLINE_TO_WHITELIST&&b("PresencePrivacy").getVisibility()?a.filter(function(a){return!b("PresencePrivacy").allows(a)}):[];var g=b("ChatSidebarStore").isAfterDomLoad(),j=i._chatSidebarRecentCallsStore?i._chatSidebarRecentCallsStore.getState():{},k=i._chatSidebarRecentCallsStore?i._chatSidebarRecentCallsStore.getParticipants():[];k=b("ChatSidebarUserDetailsFactory").getUsersDetailedData([].concat(c,e,a,f,k,d),g);g=i._orderedListComponent;b("ReactDOM").render(h.jsx(g,{adminedPages:i._adminedPages,availableUsers:c,groups:i._groups,isAfterDomLoad:b("ChatSidebarStore").isAfterDomLoad(),isSidebar:i._isSidebar,isUserOffline:b("PresencePrivacy").isUserOffline(),marketplaceThreads:i._marketplaceThreads,maxItemSlots:i._maxItemSlots+1,nearby:e,offlineUsers:a,pageListModule:i._pageListModule,pymmList:i._pymmList,recentCalls:j,scrollContainer:i._scrollContainer,topUsers:f,usersDetailedData:k,workOthers:d}),i._orderedList);i.inform("render")})};i._debouncedRender=b("debounceAcrossTransitions")(i._render,300);i._typeAheadActive=!1;i._root=d;i._isVisible=!1;i._excludedIds={};i._numTopFriends=5;i._adminedPages=[];i._marketplaceThreads=[];i._pageListModule=null;i._pymmList={config:null,pages:[]};i._groups=[];i._nearby=[];i._hoverController=null;i._isHovering=!1;i._skippedRenderDuringHover=!1;i._isSidebar=c;i._maxItemSlots=0;i._orderedListComponent=g;i._chatSidebarRecentCallsStore=null;i._orderedList=b("DOM").find(i._root,".fbChatOrderedList");b("Event").listen(i._orderedList,"mouseover",function(){i.isSidebar&&(i._isHovering=!0)});b("Event").listen(i._orderedList,"mouseout",function(){i._isHovering=!1,i._skippedRenderDuringHover&&(i._skippedRenderDuringHover=!1,i._debouncedRender())});i._scrollableOrderedList=b("Parent").byClass(i._root,"scrollableOrderedList");i._scrollableArea=b("Parent").byClass(i._root,"scrollable");c&&new(b("ChatHovercard"))(babelHelpers.assertThisInitialized(i));b("Arbiter").subscribe("jslogger/dump",function(a,c){i.getSortedList(function(a){c.chat_lists=c.chat_lists||{sorted_list:a,available_list:b("PresenceOrderedList").getAvailableSorted(),excluded_list:i._excludedIds}})});b("Arbiter").subscribe("sidebar/typeahead/active",function(a,b){i._typeAheadActive=b,i._render()});b("ShortProfilesStore").addListener(function(){return i._debouncedRender()});b("ChatSidebarStore").addListener(function(){return i._debouncedRender()});e=b("qex")._("698066");e&&b("Bootloader").loadModules(["ChatSidebarRecentCallsStore"],function(a){i._chatSidebarRecentCallsStore=a,a.addListener(function(){return i._debouncedRender()})},"ChatOrderedList");b("gkx")("678257")?b("onAfterDisplay")(function(){b("PresencePrivacy").subscribe("privacy-user-presence-changed",function(){return i._debouncedRender()}),b("AvailableList").subscribe(b("AvailableListConstants").ON_AVAILABILITY_CHANGED,function(){return i._debouncedRender()})}):(b("PresencePrivacy").subscribe("privacy-user-presence-changed",function(){return i._debouncedRender()}),b("AvailableList").subscribe(b("AvailableListConstants").ON_AVAILABILITY_CHANGED,function(){return i._debouncedRender()}));return i}var d=c.prototype;d.getShowingUsers=function(){return b("DOM").scry(this._root,"li._42fz,li._5a58").map(this.getUserForNode)};d.getUserForNode=function(a){return b("DataStore").get(a,"id")||b("DataStore").get(a,"serverthreadid")};d.getHoverController=function(){this._hoverController||(this._hoverController=new(b("ChatOrderedListHover"))(this));return this._hoverController};d.getItemHeight=function(){return b("ChatSidebarConstants").getItemHeight()};d.getRoot=function(){return this._root};d.getSortedList=function(a){b("PresenceOrderedList").getSorted(this._numTopFriends,function(b){return a(b)})};d.hide=function(){if(!this._isVisible)return;this._isVisible=!1;b("CSS").hide(this._scrollableOrderedList||this._root);this.inform("hide")};d.setNumTopFriends=function(a,c,d){var e=this;b("ChatSidebarPreloadStore").onLoaded(function(f){var g=f.groups,h=f.nearby,i=f.adminedPages,j=f.marketplaceThreads,k=f.pageListModule;f=f.pymmList;var l=new(b("MessengerDivebarSizingTypedLogger"))();l.setMaxItemSlots(a).setSidebarType(d);a--;b("ChatConfig").get("show_header")&&a--;var m=b("gkx")("678259"),n=!b("ChatOptions").getSetting("hide_businesses")&&f.pages&&d!=="buddylist";m&&n&&(a-=3);i=b("ChatOptions").getSetting("hide_admined_pages")?[]:i;m&&i.length&&d!=="buddylist"&&(a-=i.length+1);m=(j==null?void 0:j.length)&&!b("ChatOptions").getSetting("hide_marketplace");m&&b("qex")._("690094")&&d!=="buddylist"&&(e._marketplaceThreads=j,a-=j.length);e._maxItemSlots=a;m=a;j=b("ChatSidebarStore").getGroupsToShow(g||[])||[];g=n?f:{config:null,pages:[]};n=j.length;n===0&&b("gkx")("678261")&&!b("ChatOptions").getSetting("hide_groups")&&n++;n>0&&(m-=n+1);b("ChatConfig").get("nearby_friends_www_chatbar")&&h.length>0&&(m-=h.length+1);b("ChatConfig").get("show_admined_pages")&&i.length>0&&d!=="buddylist"&&(m-=i.length+1);b("ChatConfig").get("show_businesses")&&g.pages.length>0&&d!=="buddylist"&&(m-=2);f=m;m=Math.min(a,Math.max(m,b("ChatConfig").get("min_top_friends")||0));if(m!==e._numTopFriends||j.length!==e._groups.length||h.length!==e._nearby.length||i.length!==e._adminedPages.length||g.pages.length!==e._pymmList.pages.length){e._groups=j;e._numTopFriends=m;e._nearby=h;e._adminedPages=i;e._pageListModule=k;e._pymmList=g;l.setNumTopFriends(m).setNumNearby(h.length).setNumGroups(j.length).setNumAdminedPages(i.length).setNumPymm(g.pages.length);n=0;d==="buddylist"&&i.length>0&&(n+=i.length+1,l.setNumAdminedPages(0));d==="buddylist"&&g.pages.length>0&&(l.setNumPymm(0),n+=2);f+=n;m>f&&(f+=1);l.setNumTopFriendsShown(Math.max(f,0));b("ChatSidebarStore").getVisibleType()===d&&l.log();c?(typeof e._debouncedRender.reset==="function"&&e._debouncedRender.reset(),e._render()):e._debouncedRender()}})};d.show=function(){if(this._isVisible)return;this._isVisible=!0;b("CSS").show(this._scrollableOrderedList||this._root);this._render();this.inform("show")};d.isVisible=function(){return this._isVisible};d.setScrollContainer=function(a){b("DOM").contains(a,this._root)&&(this._scrollContainer=a)};return c}(b("mixin")(b("ArbiterMixin")));e.exports=a}),null);
__d("RTWebIncomingRingConfiguration",["UserAgent","gkx"],(function(a,b,c,d,e,f){"use strict";f.isSupportedClientForProtocol=a;function a(a){if(a==="p2p")return b("UserAgent").isBrowser("Chrome >= 49")||b("UserAgent").isBrowser("Firefox >= 52")||b("UserAgent").isBrowser("Edge >= 15.15042")&&!b("gkx")("1154135")||b("UserAgent").isBrowser("Edge (Chromium Based) >= 74.1")||b("UserAgent").isBrowser("Opera >= 58")||b("UserAgent").isBrowser("Oculus Browser >= 6")&&b("gkx")("1188589");else if(a==="mw")return b("UserAgent").isBrowser("Chrome >= 49")||b("UserAgent").isBrowser("Edge (Chromium Based) >= 74.1")||b("UserAgent").isBrowser("Opera >= 58")||b("UserAgent").isBrowser("Oculus Browser >= 6")&&b("gkx")("1188589");return!1}}),null);
__d("MercuryBootloadOnInteraction.react",["React","createCancelableFunction","promiseDone"],(function(a,b,c,d,e,f){"use strict";var g=b("React");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.state={Component:null},d.$2=function(a){a=d.state.interactionType==="click"?"click":a.type;d.setState({interactionType:a},function(){b("promiseDone")(d.props.loader.load(),function(a){d.props.takeOverRender?d.props.takeOverRender(function(){return d.$1(a)}):d.$1(a)})})},d.$3=function(a){d.setState({Component:a})},d.$4=function(a){d.state.interactionType!=="click"&&d.setState({interactionType:void 0})},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.componentDidMount=function(){this.$1=b("createCancelableFunction")(this.$3)};d.componentWillUnmount=function(){this.$1.cancel()};d.render=function(){var a={onFocus:this.$2,onMouseOver:this.$2,onClick:this.$2,onBlur:this.$4};if(!this.state.Component)return g.cloneElement(this.props.placeholder,a);a=this.state.Component;var b={};switch(this.state.interactionType){case"focus":b.autoFocus=!0;break;case"click":b.clicked=!0;break}return g.cloneElement(this.props.component,babelHelpers["extends"]({},b,{LazyLoadedComponent:a}))};return c}(g.PureComponent);e.exports=a}),null);
__d("ChatTypeaheadCore",["csx","cx","fbt","Bootloader","BootloadOnRender.react","CurrentUser","DOM","JSResource","LazyComponent.react","MeetupExperiments","MercuryBootloadOnInteraction.react","React","ReactDOM","WorkSMBHelpSidebar","emptyFunction","ge","gkx","onAfterDisplay"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=b("React"),k=b("WorkSMBHelpSidebar").module,l=b("gkx")("678264")?b("MercuryBootloadOnInteraction.react"):b("BootloadOnRender.react"),m,n="",o=[],p={search:"._58al",settings:"._5vmb",compose:"._5q85",groupcreate:"._1-4-",startvideocall:"._8_v6"},q=!1,r=b("emptyFunction"),s=b("MeetupExperiments").supportLinkCreation();a={_handleInteraction:function(a,c){if(!b("gkx")("678264"))return;o.push(a);a==="search"&&(n=c?c:"")},_handleCompositionStart:function(){q=!0},_handleCompositionEnd:function(){q=!1,r(),r=b("emptyFunction")},takeOverRender:function(a){!q?a():r===b("emptyFunction")&&(r=a)},processInteractionsQueue:function(){o.forEach(function(a){if(!p[a])return;var c=b("DOM").scry(b("ge")("chatsearch"),p[a]);c&&c[0]&&(a!=="search"?c[0].click():m=c[0],c[0].focus())})},focusSearchField:function(a,c){if(!m){a=b("DOM").scry(a,"._3rhb input");a.length>0&&(m=a[0])}m&&(m.focus(),c.prevent())},getLastSearchQuery:function(){return n},deferRenderChatSidebarSheet:function(a){b("onAfterDisplay")(function(){b("Bootloader").loadModules(["ChatSidebarSheet.react"],function(c){var d=b("ge")("chatsidebarsheet");b("ReactDOM").render(j.jsx(c,{className:"fbChatSidebarMessage",viewer:b("CurrentUser").getID(),isSideBar:a}),d)},"ChatTypeaheadCore")})},init:function(a,c,d){var e=this;b("gkx")("678264")&&this.deferRenderChatSidebarSheet(d);var f=j.jsx("a",{href:"#",className:"_3a-4 _5q85",onClick:function(){return e._handleInteraction("compose")}}),g=j.jsx("div",{className:"_46fv",children:j.jsx("a",{href:"#",className:"_1-4-",onClick:function(){return e._handleInteraction("groupcreate")}})}),h=s?j.jsx("a",{href:"#",className:"_918g",onClick:function(){return e._handleInteraction("startvideocall")}}):null,m=j.jsx("div",{className:"_5qth _6a _6e",children:j.jsx("a",{href:"#",className:"button _5vmb",onClick:function(){return e._handleInteraction("settings")}})});b("ReactDOM").render(j.jsxs("div",{children:[j.jsx("div",{id:"chatsidebarsheet"}),j.jsx(l,{loader:b("JSResource")("ChatTypeaheadWrapper.react").__setRef("ChatTypeaheadCore"),placeholder:j.jsxs("div",{children:[k&&j.jsx(k,{}),j.jsx("div",{className:"_1nq2",children:j.jsx("div",{className:"_5iwm _5iwn _62it",children:j.jsx("label",{className:"_58ak _3rhb",children:j.jsx("input",{className:"_58al",type:"text",onChange:function(a){return e._handleInteraction("search",a.target.value)},onFocus:function(a){return e._handleInteraction("search",a.target.value)},onCompositionStart:this._handleCompositionStart,onCompositionEnd:this._handleCompositionEnd,placeholder:i._("\u691c\u7d22")})})})}),d?s?j.jsxs("div",{className:"_531b",children:[f,g,h,m]}):j.jsxs("div",{className:"_531b",children:[m,f,g]}):null]}),takeOverRender:this.takeOverRender,component:j.jsx(b("LazyComponent.react"),{id:c,isSidebar:d})})]}),a)}};e.exports=a}),null);
__d("CometSuspenseList.react",["React"],(function(a,b,c,d,e,f){"use strict";a=b("React");c=a.SuspenseList;e.exports=c}),null);
__d("CometBlueBridgeKeyCommandListener.react",["BaseKeyCommandListener.react","CometGlobalKeyCommandWidget","CometLayerKeyCommandWrapper.react","React"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function a(a){return g.jsx(b("CometGlobalKeyCommandWidget").Wrapper,{debugName:"global",children:g.jsx(b("BaseKeyCommandListener.react"),{observersEnabled:!1,children:g.jsx(b("CometLayerKeyCommandWrapper.react"),{debugName:"Comet blue bridge layer",children:a.children})})})}}),null);
__d("CometBlueBridgeContext",["React"],(function(a,b,c,d,e,f){"use strict";a=b("React");c=a.createContext(!1);e.exports=c}),null);
__d("CometToasterStateManagerContext.react",["CometToasterStateManager","React"],(function(a,b,c,d,e,f){"use strict";a=b("React");c=a.createContext(b("CometToasterStateManager").getInstance());e.exports=c}),null);
__d("useToasterStateManager",["CometToasterStateManagerContext.react","React"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function a(){return g.useContext(b("CometToasterStateManagerContext.react"))}}),null);
__d("CometLazyToasterView_DO_NOT_USE.react",["CometPlaceholder.react","React","deferredLoadComponent","requireDeferred","useToasterStateManager"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");c=b("requireDeferred")("CometToasterView_DO_NOT_USE.react");var h=b("deferredLoadComponent")(c);function i(a){return Object.keys(a).length>0}function a(a){var c=a.maxVisible;c=c===void 0?1:c;a=babelHelpers.objectWithoutPropertiesLoose(a,["maxVisible"]);var d=b("useToasterStateManager")(),e=g.useState(function(){return i(d.getState())}),f=e[0],j=e[1];g.useEffect(function(){var a=d.addListener(function(){a.remove(),j(!0)});return a.remove},[d]);return f?g.jsx(b("CometPlaceholder.react"),{fallback:null,children:g.jsx(h,babelHelpers["extends"]({loadImmediately:!0,maxVisible:c},a))}):null}}),null);
__d("CometOnBlueHeroTracing",["CometHeroInteractionLoggerAPIType","CometHeroLogging","CometOnBlueHeroTracingBootstrap","HeroInteractionTracing","HeroTracingMetrics","performanceNow","requireCond","uuid","cr:1431365","cr:1602403"],(function(a,b,c,d,e,f){"use strict";f.startInteraction=i;f.init=a;var g,h={defaultTracePolicy:"comet.comet_on_blue",interactionClass:"contingent",qplAction:48758786};function i(a){var c,d=(c=a.interactionID)!=null?c:b("uuid")();c=(c=a.startTime)!=null?c:(g||(g=b("performanceNow")))();var e=a.traceType==="INITIAL_LOAD"?0:c,f=h.defaultTracePolicy,i=h.interactionClass,j=h.qplAction;if(b("cr:1431365")){var k;k=b("cr:1431365").trace(j,i,(k=a.tracePolicy)!=null?k:f,d,e);k.onComplete(function(c){if(c){var f=b("HeroTracingMetrics").get(d);f&&(c.annotations.forEach(function(a,b){f.metadata[b]=a}),c.markerPoints.forEach(function(a,b){var c=a.data;a=a.timestamp;f.markerPoints[b]={data:c,timestamp:a+f.start,type:"VisualCompletion"}}),b("cr:1602403")&&(f.markerPoints.visuallyComplete&&b("cr:1602403").measureModern("VisuallyComplete("+a.traceType+")",{end:f.markerPoints.visuallyComplete.timestamp,start:e}),f.markerPoints.vcWithoutImage&&b("cr:1602403").measureModern("VCWithoutImage("+a.traceType+")",{end:f.markerPoints.vcWithoutImage.timestamp,start:e})))}b("HeroInteractionTracing").end(d,b("CometHeroInteractionLoggerAPIType").InteractionOutcome.Successful)})}b("HeroTracingMetrics").start(d,e,a.traceType,i,j,(k=a.tracePolicy)!=null?k:f);i=b("CometHeroLogging").genCometHeroInteractionUUIDAndMarkStart(d,c);return i}function a(){b("CometOnBlueHeroTracingBootstrap").inject(i)}}),null);
__d("CometOnBlueHiddenSubtreePassiveContextProvider.react",["Arbiter","HiddenSubtreeContext","HiddenSubtreePassiveContext","React","removeFromArray","useLayoutEffect_SAFE_FOR_SSR"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function h(a,b){return a.length>0||b}function a(a){a=a.children;var c=g.useRef([]),d=g.useRef([]),e=g.useContext(b("HiddenSubtreePassiveContext")),f=g.useRef(e.getCurrentState()),i=g.useState(h(c.current,f.current.hiddenOrBackgrounded_FIXME)),j=i[0],k=i[1],l=g.useMemo(function(){return{backgrounded:j,hidden:j,hiddenOrBackgrounded:j,hiddenOrBackgrounded_FIXME:j}},[j]);b("useLayoutEffect_SAFE_FOR_SSR")(function(){var a=Array.from(d.current);a.forEach(function(a){a(l)})},[l]);g.useEffect(function(){var a=b("Arbiter").subscribe("layer_shown",function(a){a=(a=a==null?void 0:a.type)!=null?a:"UNKNOWN";c.current.push(a);k(h(c.current,f.current.hiddenOrBackgrounded_FIXME))}),d=b("Arbiter").subscribe("layer_hidden",function(a){a=(a=a==null?void 0:a.type)!=null?a:"UNKNOWN";a=c.current.lastIndexOf(a);c.current=c.current.slice(0,a);k(h(c.current,f.current.hiddenOrBackgrounded_FIXME))}),g=e.subscribeToChanges(function(a){f.current=a,k(h(c.current,f.current.hiddenOrBackgrounded_FIXME))});return function(){a.unsubscribe(),d.unsubscribe(),g.remove()}},[e]);i=g.useMemo(function(){return{getCurrentState:function(){var a=h(c.current,f.current.hiddenOrBackgrounded_FIXME);return{backgrounded:a,hidden:a,hiddenOrBackgrounded:a,hiddenOrBackgrounded_FIXME:a}},subscribeToChanges:function(a){var c=d.current;c.push(a);return{remove:function(){b("removeFromArray")(c,a)}}}}},[]);return g.jsx(b("HiddenSubtreeContext").Provider,{value:l,children:g.jsx(b("HiddenSubtreePassiveContext").Provider,{value:i,children:a})})}}),null);
__d("shallowEqual",[],(function(a,b,c,d,e,f){"use strict";var g=Object.prototype.hasOwnProperty;function h(a,b){if(a===b)return a!==0||b!==0||1/a===1/b;else return a!==a&&b!==b}function a(a,b){if(h(a,b))return!0;if(typeof a!=="object"||a===null||typeof b!=="object"||b===null)return!1;var c=Object.keys(a),d=Object.keys(b);if(c.length!==d.length)return!1;for(var d=0;d<c.length;d++)if(!g.call(b,c[d])||!h(a[c[d]],b[c[d]]))return!1;return!0}e.exports=a}),null);
__d("CometOnBlueViewPortMarginsProvider.react",["CometViewportMarginsContext","React","ViewportBounds","shallowEqual"],(function(a,b,c,d,e,f){"use strict";var g=b("React");c=b("React");var h=c.useEffect,i=c.useState;function j(){var a;return{bottom:(a=b("ViewportBounds")).getBottom(),left:a.getLeft(),right:a.getRight(),top:a.getTop()}}function a(a){a=a.children;var c=i(function(){return j()}),d=c[0],e=c[1];h(function(){var a=b("ViewportBounds").subscribe("change",function(){e(function(a){var c=j();return b("shallowEqual")(c,a)?a:c})});return function(){a.unsubscribe()}},[]);return g.jsx(b("CometViewportMarginsContext").Provider,{value:d,children:a})}e.exports=a}),null);
__d("CometToasterStateManagerProvider.react",["CometToasterStateManager","CometToasterStateManagerContext.react","React"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React"),h=b("CometToasterStateManager").getInstance();function a(a){a=a.children;return g.jsx(b("CometToasterStateManagerContext.react").Provider,{value:h,children:a})}}),null);
__d("ShowAllReactWarnings",["React"],(function(a,b,c,d,e,f){"use strict";b("React");function a(a){a=a.children;return a}e.exports=a}),null);
__d("SimpleCometOnBlueRouterDispatcher.react",["CometRouterDispatcherContext","React","goURI"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React"),h={go:function(a,c){b("goURI")(a,!1,c.replace)},goBack:function(){window.navigation.back()},goTo:function(a,c){b("goURI")(a.url,!1,c.replace)},popPushView:function(){window.navigation.back()},prefetchRouteQueries:function(a,b){return{cancel:function(){}}},preloadRoute:function(a,b){},withContext:function(){return h}};function a(a){a=a.children;var c=g.useContext(b("CometRouterDispatcherContext"));return g.jsx(b("CometRouterDispatcherContext").Provider,{value:(c=c)!=null?c:h,children:a})}}),null);
__d("StrictMode",["React","ShowAllReactWarnings"],(function(a,b,c,d,e,f){"use strict";var g=b("React");function a(a){a=a.children;return g.jsx(b("ShowAllReactWarnings"),{children:g.jsx(g.StrictMode,{children:a})})}e.exports=a}),null);
__d("CometBlueBridge.react",["Actor","CometBlueBridgeContext","CometBlueBridgeKeyCommandListener.react","CometContextualLayerAnchorRoot.react","CometErrorProjectContext","CometHeroInteractionWithDiv.react","CometLazyToasterView_DO_NOT_USE.react","CometOnBlueHeroTracing","CometOnBlueHiddenSubtreePassiveContextProvider.react","CometOnBlueViewPortMarginsProvider.react","CometToasterStateManagerProvider.react","CometTransientDialogProvider.react","CurrentUser","React","ReactXHPContext","ShowAllReactWarnings","SimpleCometOnBlueRouterDispatcher.react","StrictMode","gkx","recoverableViolation"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");b("CometOnBlueHeroTracing").init();var h=b("gkx")("1401837")?b("StrictMode"):g.Fragment;function a(a){var c=a.children,d=g.useContext(b("ReactXHPContext"));d=d==null?void 0:d.interactionID;a=(a=a.actorID)!=null?a:b("CurrentUser").getID();b("gkx")("708253")&&b("recoverableViolation")("CometBlueBridge should not be rendered in Comet","comet_infra");return g.jsx(b("ShowAllReactWarnings"),{children:g.jsxs(h,{children:[g.jsx(b("CometLazyToasterView_DO_NOT_USE.react"),{}),g.jsx(b("SimpleCometOnBlueRouterDispatcher.react"),{children:g.jsx(b("CometErrorProjectContext").Provider,{value:"comet_infra",children:g.jsx(b("Actor").ActorProvider,{initialActorID:a,readonly:!0,children:g.jsx(b("CometBlueBridgeContext").Provider,{value:!0,children:g.jsx(b("CometOnBlueViewPortMarginsProvider.react"),{children:g.jsx(b("CometToasterStateManagerProvider.react"),{children:g.jsx(b("CometBlueBridgeKeyCommandListener.react"),{children:g.jsx(b("CometContextualLayerAnchorRoot.react"),{children:g.jsx(b("CometTransientDialogProvider.react"),{children:g.jsx(b("CometOnBlueHiddenSubtreePassiveContextProvider.react"),{children:g.jsx(b("CometHeroInteractionWithDiv.react"),{interactionDesc:"CometBlueBridge Navigation",interactionUUID:d,children:c})})})})})})})})})})})]})})}}),null);
__d("CometFocusTableContext",["React"],(function(a,b,c,d,e,f){"use strict";a=b("React");c=a.createContext({FocusCell:null,FocusRow:null,FocusTable:null});e.exports=c}),null);
__d("useCometLazyDialog",["CometDialogContext","CometSuspendedDialogImpl.react","React","lazyLoadComponent"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function a(a,c){var d=g.useRef(null),e=g.useContext(b("CometDialogContext")),f=g.useCallback(function(d,f){var g=b("lazyLoadComponent")(a);e(b("CometSuspendedDialogImpl.react"),{dialog:g,dialogProps:d,fallback:c},f)},[e,a,c]),h=g.useCallback(function(){a.preload()},[a]);return[f,d,h]}}),null);
__d("CometSVGIcon.react",["React","stylex","useCometUniqueID"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=b("React");function a(a){var c=a.children,d=a.color,e=a.inline;e=e===void 0?!1:e;var f=a.shadow;f=f===void 0?!1:f;var i=a.size;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","color","inline","shadow","size"]);var j=b("useCometUniqueID")(),k=[],l;d!=null&&typeof d!=="string"&&h.isValidElement(d)&&(k.push(h.cloneElement(d,{id:j,key:j,suppressHydrationWarning:!0})),l="url(#"+j+")");return h.jsxs("svg",babelHelpers["extends"]({},a,{className:(g||(g=b("stylex"))).dedupe({"display-1":"a8c37x1j","transition-duration-1":"ms05siws","transition-property-1":"hwsy1cff","transition-timing-function-1":"b7h9ocf4"},e?{"display-1":"q9uorilb"}:null,f?{"filter-1":"p7y8hdfn"}:null,d==="active-tab"?{"fill-1":"aaxa7vy3"}:null,d==="disabled"?{"fill-1":"crt8y2ji"}:null,d==="highlight"?{"fill-1":"eltiug27"}:null,d==="inactive-tab"?{"fill-1":"em6zcovv"}:null,d==="primary"?{"fill-1":"fzdkajry"}:null,d==="secondary"?{"fill-1":"em6zcovv"}:null,d==="tertiary"?{"fill-1":"m50y4xls"}:null,d==="white"?{"fill-1":"p361ku9c"}:null),fill:l,height:i,suppressHydrationWarning:!0,width:i,children:[k.length>0?h.jsx("defs",{children:k}):void 0,c]}))}}),null);
__d("CometIconAppFacebookCircleFilled.react",["CometSVGIcon.react","React","stylex"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function a(a){return g.jsxs(b("CometSVGIcon.react"),babelHelpers["extends"]({},a,{viewBox:"0 0 36 36",children:[g.jsx("path",{d:"M15 35.8C6.5 34.3 0 26.9 0 18 0 8.1 8.1 0 18 0s18 8.1 18 18c0 8.9-6.5 16.3-15 17.8l-1-.8h-4l-1 .8z"}),g.jsx("path",{className:"p361ku9c",d:"M25 23l.8-5H21v-3.5c0-1.4.5-2.5 2.7-2.5H26V7.4c-1.3-.2-2.7-.4-4-.4-4.1 0-7 2.5-7 7v4h-4.5v5H15v12.7c1 .2 2 .3 3 .3s2-.1 3-.3V23h4z"})]}))}}),null);
__d("CometIconLogoFlat.react",["React","requireCond","cr:1242743"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function a(a){a.color;a=babelHelpers.objectWithoutPropertiesLoose(a,["color"]);return g.jsx(b("cr:1242743"),babelHelpers["extends"]({},a,{color:"active-tab"}))}}),null);
__d("TetraButton.react",["BaseRow.react","BaseRowItem.react","CometPressable.react","CometTheme.react","CometTooltip.react","React","TetraIcon.react","TetraText.react","mergeRefs","stylex"],(function(a,b,c,d,e,f){"use strict";var g=b("React"),h=.96,i=10,j={button:{borderTop:"gcieejh5",borderEnd:"bn081pho",borderBottom:"humdl8nn",borderStart:"izx4hr6d",borderTopStartRadius:"beltcj47",borderTopEndRadius:"p86d2i9g",borderBottomEndRadius:"aot14ch1",borderBottomStartRadius:"kzx2olss",boxSizing:"rq0escxv",display:"j83agx80",flexDirection:"cbu4d94t",justifyContent:"taijpn5t",overflowX:"ni8dbmo4",overflowY:"stjgntxs",paddingEnd:"d1544ag0",paddingStart:"tw6a2znq",position:"l9j0dhe7",width:"k4urcfbm"},content:{marginEnd:"c4xchbtz",marginStart:"by2jbhx6"},contentDisabled:{opacity:"akz8cqyu"},disabled:{backgroundColor:"c98fg2ug"},fdsOverrideBlack:{backgroundColor:"tqsryivl"},fdsOverrideCollaborativePostCTA:{backgroundColor:"q2y6ezfg",mixBlendMode:"br5bkhab"},fdsOverrideCrisis:{backgroundColor:"g9oj0nva"},fdsOverrideNegative:{backgroundColor:"l44iypv3"},fdsOverridePositive:{backgroundColor:"jllm4f4h"},item:{display:"j83agx80",marginEnd:"j5wkysh0",marginStart:"hytbnt81"},overlay:{backgroundColor:"q2y6ezfg"},overlayDeemphasized:{backgroundColor:"ha302278"},overlayDeemphasizedOverlayPressed:{backgroundColor:"d8lclj6v"},overlayDisabled:{backgroundColor:"gx53z0jk"},overlayOverlayPressed:{backgroundColor:"ayatsz66"},paddingIconOnly:{paddingEnd:"hv4rvrfc",paddingStart:"dati1w0a"},paddingWide:{paddingEnd:"tkv8g59h",paddingStart:"fl8dtwsd"},primary:{backgroundColor:"s1i5eluu"},primaryDeemphasized:{backgroundColor:"oo1teu6h"},primaryDeemphasizedOverlayPressed:{backgroundColor:"l4sirx1s"},primaryOverlayPressed:{backgroundColor:"ik0dy8ru"},secondary:{backgroundColor:"tdjehn4e"},secondaryDeemphasized:{backgroundColor:"g5ia77u1"},secondaryDeemphasizedOverlayPressed:{backgroundColor:"l4sirx1s"},secondaryOverlayPressed:{backgroundColor:"cohv6imn"},sizeLarge:{height:"qypqp5cg"},sizeMedium:{height:"tv7at329"}},k={iconColor:"white",overlayPressedStyle:j.primaryOverlayPressed,textColor:"white",":deemphasized":{iconColor:"highlight",overlayPressedStyle:j.primaryDeemphasizedOverlayPressed,textColor:"highlight"},":disabled":{iconColor:"disabled",textColor:"disabled"}},l={iconColor:"primary",overlayPressedStyle:j.secondaryOverlayPressed,textColor:"primary",":deemphasized":{iconColor:"highlight",overlayPressedStyle:j.secondaryDeemphasizedOverlayPressed,textColor:"highlight"},":disabled":{iconColor:"disabled",textColor:"disabled"}},m={iconColor:"primary",overlayPressedStyle:j.overlayOverlayPressed,textColor:"primary",":deemphasized":{iconColor:"white",overlayPressedStyle:j.overlayDeemphasizedOverlayPressed,textColor:"white"},":disabled":{iconColor:"white",textColor:"white"}};function n(a){switch(a){case"fdsOverride_collaborativePostCTA":case"secondary":return l;case"overlay":return m;case"primary":default:return k}}function o(a,b){var c=b.disabled;b=b.reduceEmphasis;a=n(a);return(c?a[":disabled"]:null)||(b?a[":deemphasized"]:null)||a}function a(a,c){var d=a.addOnPrimary,e=a.addOnSecondary,f=a.disabled,k=f===void 0?!1:f,l=a.icon,m=a.label;f=a.labelIsHidden;var n=f===void 0?!1:f;f=a.linkProps;var p=a.onFocusIn,q=a.onFocusOut,r=a.onHoverIn,s=a.onHoverOut,t=a.onPress,u=a.onPressIn,v=a.onPressOut,w=a.padding,x=w===void 0?"normal":w;w=a.reduceEmphasis;var y=w===void 0?!1:w;w=a.size;var z=w===void 0?"medium":w;w=a.testid;w=a.testOnly_pressed;w=w===void 0?!1:w;var A=a.tooltip,B=a.type,C=B===void 0?"primary":B;B=babelHelpers.objectWithoutPropertiesLoose(a,["addOnPrimary","addOnSecondary","disabled","icon","label","labelIsHidden","linkProps","onFocusIn","onFocusOut","onHoverIn","onHoverOut","onPress","onPressIn","onPressOut","padding","reduceEmphasis","size","testid","testOnly_pressed","tooltip","type"]);a=o(C,{disabled:k,reduceEmphasis:y});var D=a.iconColor,E=a.overlayPressedStyle,F=a.textColor,G=g.useRef(null);a=function(a){if(G.current!=null){var b=G.current;b.style.transform="scale("+Math.max(h,(b.offsetWidth-i)/b.offsetWidth)+")"}typeof u==="function"&&u(a)};var H=function(a){if(G.current!=null){var b=G.current;b.style.transform="none"}typeof v==="function"&&v(a)},I=function(a){return g.jsxs(b("BaseRow.react"),{align:"center",verticalAlign:"center",xstyle:[j.content,C==="overlay"&&k&&j.contentDisabled,a],children:[d!=null?g.jsx(b("BaseRowItem.react"),{useDeprecatedStyles:!0,xstyle:j.item,children:d}):l!=null?g.jsx(b("BaseRowItem.react"),{useDeprecatedStyles:!0,xstyle:j.item,children:g.jsx(b("TetraIcon.react"),{color:D,icon:l,size:16})}):null,n?null:g.jsx(b("BaseRowItem.react"),{useDeprecatedStyles:!0,xstyle:j.item,children:g.jsx(b("TetraText.react"),{color:F,numberOfLines:1,type:z==="large"?"button1":"button2",children:m})}),e!=null?g.jsx(b("BaseRowItem.react"),{useDeprecatedStyles:!0,xstyle:j.item,children:e}):null]})};B=g.jsx(b("CometPressable.react"),babelHelpers["extends"]({},B,{disabled:k,display:"inline",label:m,linkProps:f,onFocusIn:p,onFocusOut:q,onHoverIn:r,onHoverOut:s,onPress:t,onPressIn:a,onPressOut:H,overlayPressedStyle:E,ref:b("mergeRefs")(G,c),testOnly_pressed:w,testid:void 0,xstyle:function(){return[j.button,C==="primary"&&j.primary,C==="primary"&&y&&j.primaryDeemphasized,C==="secondary"&&j.secondary,C==="secondary"&&y&&j.secondaryDeemphasized,C==="fdsOverride_black"&&j.fdsOverrideBlack,C==="fdsOverride_negative"&&j.fdsOverrideNegative,C==="fdsOverride_crisis"&&j.fdsOverrideCrisis,C==="fdsOverride_positive"&&j.fdsOverridePositive,C==="fdsOverride_collaborativePostCTA"&&j.fdsOverrideCollaborativePostCTA,C==="overlay"&&j.overlay,C==="overlay"&&y&&j.overlayDeemphasized,l!=null&&n&&j.paddingIconOnly,x==="wide"&&j.paddingWide,z==="medium"&&j.sizeMedium,z==="large"&&j.sizeLarge,k&&j.disabled,C==="overlay"&&k&&j.overlayDisabled]},children:C==="overlay"?g.jsx(b("CometTheme.react"),{theme:"light",children:I}):I()}));return A!=null?g.jsx(b("CometTooltip.react"),{position:"above",tooltip:A,children:B}):B}c=g.forwardRef(a);e.exports=c}),null);
__d("TetraButtonGroup.react",["CometFocusTableContext","CometRow.react","CometRowItem.react","React","TetraButton.react","stylex"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=b("React"),i={hiddenButton:{height:"do00u71z",visibility:"kr9hpln1"},resetFlexBasis:{flexBasis:"mg4g778l"}};function j(a){var c=h.useContext(b("CometFocusTableContext"));c=c.FocusCell;a=a.children;return c!=null?h.jsx(c,{children:h.jsx("div",{role:"gridcell",children:a})}):a}function a(a){var c=a.align,d=c===void 0?"justify":c;c=a.direction;c=c===void 0?"forward":c;var e=a.paddingHorizontal,f=a.paddingTop,k=a.primary,l=a.secondary,m=a.size,n=a.wrap;n=n===void 0?"none":n;var o=[],p=[],q=k.ref,r=k.testid;r=babelHelpers.objectWithoutPropertiesLoose(k,["ref","testid"]);k=h.jsx(j,{children:h.jsx(b("TetraButton.react"),babelHelpers["extends"]({},r,{ref:q,size:m,testid:void 0}))});o.push({hidden:h.jsx(b("TetraButton.react"),babelHelpers["extends"]({},r,{disabled:!0,padding:"normal",size:m})),visible:k});if(l!=null){q=l.ref;r=l.testid;r=babelHelpers.objectWithoutPropertiesLoose(l,["ref","testid"]);o.push({hidden:h.jsx(b("TetraButton.react"),babelHelpers["extends"]({},r,{disabled:!0,padding:"normal",size:m,type:"secondary"})),visible:h.jsx(j,{children:h.jsx(b("TetraButton.react"),babelHelpers["extends"]({},r,{ref:q,size:m,testid:void 0,type:"secondary"}))})})}else if(a.secondaryIcon!=null)p.push(h.jsx(b("CometRowItem.react"),{children:h.jsx(j,{children:h.jsx(b("TetraButton.react"),babelHelpers["extends"]({},a.secondaryIcon,{labelIsHidden:!0,size:m,type:"secondary"}))})},"secondary-icon"));else if(a.secondaryIconGroup!=null){l=a.secondaryIconGroup;r=l.primaryIcon;q=l.secondaryIcon;p.push(h.jsx(b("CometRowItem.react"),{children:h.jsx(j,{children:h.jsx(b("TetraButton.react"),babelHelpers["extends"]({},r,{labelIsHidden:!0,size:m,type:"secondary"}))})},"secondary-icon-1"),h.jsx(b("CometRowItem.react"),{children:h.jsx(j,{children:h.jsx(b("TetraButton.react"),babelHelpers["extends"]({},q,{labelIsHidden:!0,size:m,type:"secondary"}))})},"secondary-icon-2"))}a=o.map(function(a,c){return h.jsx(b("CometRowItem.react"),{expanding:d==="justify",xstyle:i.resetFlexBasis,children:o.map(function(a,d){return h.jsx(h.Fragment,{children:c!==d?h.jsx("div",{"aria-hidden":!0,className:(g||(g=b("stylex")))(i.hiddenButton),children:a.hidden}):a.visible},d)})},c)});l=[h.jsx(b("CometRowItem.react"),{expanding:d==="justify",xstyle:i.resetFlexBasis,children:k},"primary")].concat(p);r=o.length===2;return h.jsx(b("CometRow.react"),{align:d,direction:c,paddingHorizontal:e,paddingTop:f,spacing:8,wrap:n,children:r?a:l})}}),null);
__d("CometPagelet.react",["CometBackupPlaceholder.react","CometPlaceholder.react","CometSuspenseList.react","LegacyHidden","React","requireCond","cr:1191379"],(function(a,b,c,d,e,f){"use strict";var g,h=b("React");e=h.forwardRef(function(a,b){a=a.children;return h.jsxs(h.Fragment,{children:[" ",a(b,function(){return null})," "]})});var i=(g=b("cr:1191379"))!=null?g:e;function a(a,c){var d=a.children,e=a.className,f=a.fallback,g=a.hidden,j=a.name,k=a.position;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","className","fallback","hidden","name","position"]);var l=j;k!=null&&k<2?l+="_"+k:k!=null&&(l+="_{n}");return h.jsx(i,babelHelpers["extends"]({},a,{name:l,position:k,ref:c,children:function(a,c){return h.jsxs(b("CometPlaceholder.react"),{fallback:f,children:[h.jsx(c,{}),h.jsx(b("LegacyHidden"),{htmlAttributes:{className:e,"data-pagelet":l},mode:g===!0?"hidden":"visible",ref:a,children:d})]})}}))}function c(a,c){var d=a.children,e=a.className,f=a.fallback,g=a.hidden,j=a.name,k=a.position;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","className","fallback","hidden","name","position"]);var l=j;k!=null&&k<2?l+="_"+k:k!=null&&(l+="_{n}");return h.jsx(i,babelHelpers["extends"]({},a,{name:l,position:k,ref:c,children:function(a,c){return h.jsxs(b("CometBackupPlaceholder.react"),{fallback:f,children:[h.jsx(c,{}),h.jsx(b("LegacyHidden"),{ref:a,mode:g===!0?"hidden":"visible",htmlAttributes:{className:e,"data-pagelet":l},children:d})]})}}))}function d(a,c){var d=a.children,e=a.className,f=a.hidden,g=a.name,j=a.position,k=a.revealOrder,l=a.tail;a=babelHelpers.objectWithoutPropertiesLoose(a,["children","className","hidden","name","position","revealOrder","tail"]);var m=g;j!=null&&j<2?m+="_"+j:j!=null&&(m+="_{n}");return h.jsx(i,babelHelpers["extends"]({},a,{name:m,position:j,ref:c,children:function(a,c){return h.jsxs(b("LegacyHidden"),{htmlAttributes:{className:e,"data-pagelet":m},mode:f===!0?"hidden":"visible",ref:a,children:[h.jsx(c,{}),h.jsx(b("CometSuspenseList.react"),{revealOrder:k,tail:l,children:d})]})}}))}g=h.forwardRef(c);f.BackupPlaceholder=g;e=h.forwardRef(a);f.Placeholder=e;c=h.forwardRef(d);f.SuspenseList=c}),null);
__d("createUseMutation",["Promise","CometRelay","React"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function a(a,c,d,e){return function(){var f=b("CometRelay").useRelayEnvironment();return g.useCallback(function(g,h,i){return new(b("Promise"))(function(j,k){return b("CometRelay").enqueueMutation(f,{mutation:a,onCompleted:function(a,b){b&&b.length?k(b):j(a)},onError:function(a){return k([a])},optimisticResponse:c?c(g,h,i):null,optimisticUpdater:d?d(g,h,i):null,updater:e?e(g,h,i):null,variables:babelHelpers["extends"]({input:g},h)})})},[f])}}}),null);
__d("useJoinableVideoChatsDidViewEducationalQPMutation",["CometRelay","createUseMutation","useJoinableVideoChatsDidViewEducationalQPMutation.graphql"],(function(a,b,c,d,e,f){"use strict";var g;a=g!==void 0?g:g=b("useJoinableVideoChatsDidViewEducationalQPMutation.graphql");c=b("createUseMutation")(a);e.exports=c}),null);
__d("RoomsQuickPromotionPlaceholder.react",["ix","fbt","CometAspectRatioContainer.react","CometCard.react","CometIconLogoFlat.react","React","TetraButtonGroup.react","TetraCircleButton.react","TetraText.react","fbicon","stylex"],(function(a,b,c,d,e,f,g,h){"use strict";e.exports=a;var i=b("React");function j(a,b){a=a;b=b;return a/b}function a(a){var c=a.content,d=a.primaryButtonTitle,e=a.secondaryButtonTitle;a=a.title;var f=500,k=218;return i.jsx("div",{className:"k4urcfbm sjgh65i0",children:i.jsxs(b("CometCard.react"),{background:"white",dropShadow:1,children:[i.jsxs("div",{className:"l9j0dhe7 eg9m0zos d76ob5m9 g6srhlxm",children:[i.jsx(b("CometAspectRatioContainer.react"),{aspectRatio:j(f,k)}),i.jsxs("div",{className:"kr520xx4 j9ispegn pmk7jnqg n7fi1qx3 rq0escxv i09qtzwb",children:[i.jsx("div",{className:"j9ispegn pmk7jnqg dati1w0a f10w8fjw rz4wbd8a pybr56ya",children:i.jsx(b("CometIconLogoFlat.react"),{size:32})}),i.jsx("span",{className:"pmk7jnqg hv4rvrfc a8nywdso f10w8fjw pybr56ya n7fi1qx3",children:i.jsx(b("TetraCircleButton.react"),{color:"white",icon:b("fbicon")._(g("478233"),20),label:h._("\u9589\u3058\u308b"),size:32,type:"dark-overlay"})})]})]}),i.jsx("div",{className:"dhix69tm oygrvhab wkznzc2l tr9rh885 cbu4d94t j83agx80",children:i.jsxs("div",{children:[i.jsx("div",{className:"f10w8fjw",children:i.jsx(b("TetraText.react"),{type:"headlineEmphasized2",children:a})}),i.jsx(b("TetraText.react"),{type:"body3",children:c})]})}),i.jsx("div",{className:"f10w8fjw",children:i.jsx(b("TetraButtonGroup.react"),{direction:"backward",primary:{label:d,reduceEmphasis:!0},secondary:{label:e}})})]})})}}),null);
__d("VideoChatHomeContainerBlue.entrypoint",["JSResource","VideoChatHomeContainerCometQuery$Parameters","WebPixelRatio"],(function(a,b,c,d,e,f){"use strict";a={getPreloadProps:function(){return{queries:{queryReference:{parameters:b("VideoChatHomeContainerCometQuery$Parameters"),variables:{scale:b("WebPixelRatio").get()}}}}},root:b("JSResource")("VideoChatHomeContainerBlue.react").__setRef("VideoChatHomeContainerBlue.entrypoint")};e.exports=a}),null);
__d("CometThrottle",["clearTimeout","setTimeout","unrecoverableViolation"],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(a,c,d){d=d===void 0?{}:d;var e=d.leading,f=d.trailing,g,h,i,j=null,k=0,l=function(){var c=g;g=null;var d=h;h=null;if(c==null)throw b("unrecoverableViolation")("It should be impossible for `cachedArgs` to be `null` at the moment we invoke the throttled function. Investigate why this is the case.","comet_infra");else return a.apply(d,c)},m=function(){k=e===!1?0:new Date(),j=null,i=l()};d=function(){g=h=null,j!=null&&(b("clearTimeout")(j),j=null)};function n(){var a=new Date();!k&&e===!1&&(k=a);var d=c-(a-k);d<=0?(b("clearTimeout")(j),j=null,k=a,g=arguments,h=this,i=l()):!j&&f!==!1&&(g=arguments,h=this,j=b("setTimeout")(m,d));return i}n.cancel=d;return n}}),null);
__d("useRoomsTofuTrayMaxWidth",[],(function(a,b,c,d,e,f){"use strict";e.exports=a;function a(){var a=562;return a}}),null);
__d("VideoChatTrayPlaceholder.react",["BaseLoadingStateElement.react","CometCard.react","React","VideoChatTrayTilePlaceholder.react","gkx","stylex","useRoomsTofuTrayMaxWidth"],(function(a,b,c,d,e,f){"use strict";var g,h=b("React"),i={cardContainer:{alignItems:"gs1a9yip",boxSizing:"rq0escxv",display:"j83agx80",flexGrow:"buofh1pr",flexShrink:"pfnyh3mw",marginEnd:"cgat1ltu",marginStart:"kkf49tns"},container:{display:"j83agx80",flexDirection:"btwxx1t3",justifyContent:"i1fnvgqd",paddingTop:"pybr56ya",paddingEnd:"d1544ag0",paddingBottom:"f10w8fjw",paddingStart:"tw6a2znq",width:"g2wf7z4h"},marginBottom10:{marginBottom:"oud54xpy"},root:{alignItems:"bp9cbjyn",display:"j83agx80",flexDirection:"cbu4d94t",justifyContent:"jifvfom9",marginBottom:"sjgh65i0",overflowX:"ni8dbmo4",overflowY:"stjgntxs",width:"k4urcfbm"}},j=(c={},c[0]={width:"sb3ic3sl","@media (max-width: 299px)":{width:"tfksjxg8"}},c[404]={width:"gppcmqpj","@media (min-width: 404px) and (max-width: 561px)":{width:"g5egk45q"}},c[562]={width:"exqoj0th","@media (min-width: 562px) and (max-width: 719px)":{width:"m8vaowjb"}},c[720]={width:"tsqz73po","@media (min-width: 720px) and (max-width: 877px)":{width:"jcu8m7xq"}},c);function a(a,c){var d=b("useRoomsTofuTrayMaxWidth")();a=b("gkx")("708253");var e=Object.keys(j).filter(function(a){return a<=d}).map(function(a){return j[a]}),f=5;return h.jsx("div",{role:"article",children:h.jsx(b("BaseLoadingStateElement.react"),{ref:c,xstyle:[i.root,a===!1&&i.marginBottom10],children:h.jsx(b("CometCard.react"),{background:"white",dropShadow:1,children:h.jsx("div",{className:(g||(g=b("stylex")))(i.container),children:Array(f).fill().map(function(a,c){return h.jsx("div",{className:(g||(g=b("stylex")))([i.cardContainer].concat(e)),children:h.jsx(b("VideoChatTrayTilePlaceholder.react"),{},c)},c)})})})})})}d=h.forwardRef(a);e.exports=d}),null);
__d("VideoChatHomeContainerComet.react",["CometErrorBoundary.react","CometPagelet.react","CometRelay","CometThrottle","JSResource","React","RoomCollapsedTrayPlaceholder.react","RoomsQuickPromotionPlaceholder.react","VideoChatTrayPlaceholder.react","promiseDone","unrecoverableViolation","useCometLazyDialog","useJoinableVideoChatsDidViewEducationalQPMutation","VideoChatHomeContainerCometQuery.graphql"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g,h=b("React"),i=b("JSResource")("RoomsNotAvailableErrorStateDialog.react").__setRef("VideoChatHomeContainerComet.react"),j=g!==void 0?g:g=b("VideoChatHomeContainerCometQuery.graphql"),k=!1;function a(a){var c,d,e,f,g,l,m,n=a.joinableVideoChatsQueryReference,o=a.showCollapsedTray,p=a.showPromotionalUnit;a=a.showWithActiveRoom;var q=b("CometRelay").useQueryLoader(j),r=q[0],s=q[1],t=(q=r)!=null?q:n;r=b("CometRelay").usePreloadedQuery(j,t);var u=r==null?void 0:(q=r.viewer)==null?void 0:(n=q.joinable_video_chats)==null?void 0:n.should_show_educational_qp;q=r==null?void 0:(q=r.viewer)==null?void 0:(n=q.joinable_video_chats)==null?void 0:n.should_collapse_tray;n=r==null?void 0:(n=r.viewer)==null?void 0:(n=n.joinable_video_chats)==null?void 0:(n=n.messenger_rooms_section)==null?void 0:n.id;c=r==null?void 0:(c=r.viewer)==null?void 0:(c=c.joinable_video_chats)==null?void 0:c.has_active_rooms;if(n==null)throw b("unrecoverableViolation")("Expected ID of the room settings object to be non-null","rooms");var v=function(){return s(t.variables,{fetchPolicy:"network-only"})},w=b("useJoinableVideoChatsDidViewEducationalQPMutation")();h.useEffect(function(){if(k||u===!1)return;var a=b("CometThrottle")(function(){var a=w({});if(a==null)return;b("promiseDone")(a,function(){k=!0})},1e3,{leading:!0});a()},[w,u]);b("CometRelay").useSubscribeToInvalidationState([n],function(){v()});var x=b("useCometLazyDialog")(i),y=x[0];x=x[1];d=r==null?void 0:(d=r.viewer)==null?void 0:d.joinable_video_chats;e=(e=d==null?void 0:(e=d.promotion_title)==null?void 0:e.text)!=null?e:"Video Chat in Messenger Rooms";f=(f=d==null?void 0:(f=d.promotion_content)==null?void 0:f.text)!=null?f:"Create a room to hang out with people on video.";g=(g=d==null?void 0:(g=d.promotion_primary_button_text)==null?void 0:g.text)!=null?g:"Create Room";l=(l=d==null?void 0:(l=d.promotion_secondary_button_text)==null?void 0:l.text)!=null?l:"Learn More";var z=(m=d==null?void 0:(m=d.rooms_currently_not_available_title)==null?void 0:m.text)!=null?m:"Rooms Isn't Available Right Now",A=(d=d==null?void 0:(m=d.rooms_currently_not_available_description)==null?void 0:m.text)!=null?d:"This may be because of a technical error we're working to fix.";p=(d=(m=p)!=null?m:u)!=null?d:!1;o=(d=(m=o)!=null?m:q)!=null?d:!1;m=h.useState(!1);q=m[0];var B=m[1];return a===!0&&c===!1?null:h.jsx("div",{ref:x,children:h.jsx(b("CometErrorBoundary.react"),{context:{project:"rooms"},fallback:function(a){y({body:A,title:z},void 0);return null},children:h.jsx(b("CometPagelet.react").Placeholder,{fallback:p?h.jsx(b("RoomsQuickPromotionPlaceholder.react"),{content:f,primaryButtonTitle:g,secondaryButtonTitle:l,title:e}):o===!0?h.jsx(b("RoomCollapsedTrayPlaceholder.react"),{}):h.jsx(b("VideoChatTrayPlaceholder.react"),{}),name:"VideoChatHomeUnit",children:h.jsx(b("CometRelay").MatchContainer,{match:p&&!q?r==null?void 0:(d=r.viewer)==null?void 0:(m=d.joinable_video_chats)==null?void 0:(a=m.messenger_rooms_section)==null?void 0:a.qp_section:r==null?void 0:(c=r.viewer)==null?void 0:(x=c.joinable_video_chats)==null?void 0:(f=x.messenger_rooms_section)==null?void 0:f.tray_section,props:{onDismiss:function(){B(!0)},shouldShowCollapsedTray:o,viewerRef:r==null?void 0:r.viewer}})})},n)})}}),null);
__d("VideoChatHomeContainerBlue.react",["React","VideoChatHomeContainerComet.react"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");function a(a){var c=a.props;a=a.queries;return g.jsx(b("VideoChatHomeContainerComet.react"),{joinableVideoChatsQueryReference:a.queryReference,showCollapsedTray:c.showCollapsedTray,showPromotionalUnit:c.showPromotionalUnit})}}),null);
__d("VideoChatHomeContainerBlueRoot.react",["CometBlueBridge.react","CometErrorBoundary.react","CometPlaceholder.react","CometRelay","React","RelayFBDefaultEnvironment","relay-experimental/LazyLoadEntryPointContainer_DEPRECATED.react","requireCond","cr:1374862","VideoChatHomeContainerBlue.react","VideoChatHomeContainerBlue.entrypoint"],(function(a,b,c,d,e,f){"use strict";e.exports=a;var g=b("React");b("VideoChatHomeContainerBlue.react");function a(a){var c=a.showCollapsedTray;a=a.showPromotionalUnit;return g.jsx(b("CometRelay").RelayEnvironmentProvider,{environment:b("RelayFBDefaultEnvironment"),children:g.jsx(b("cr:1374862"),{children:g.jsx(b("CometBlueBridge.react"),{children:g.jsx(b("CometErrorBoundary.react"),{fallback:null,children:g.jsx(b("CometPlaceholder.react"),{fallback:null,children:g.jsx(b("relay-experimental/LazyLoadEntryPointContainer_DEPRECATED.react"),{entryPoint:b("VideoChatHomeContainerBlue.entrypoint"),entryPointParams:{},props:{showCollapsedTray:c,showPromotionalUnit:a}})})})})})})}}),null);
__d("RTWebCallWindowControllerLoader",["regeneratorRuntime","Promise","FBLogger","JSResource","requireDeferred"],(function(a,b,c,d,e,f){"use strict";var g=b("requireDeferred")("RTWebCallWindowOpener"),h=b("requireDeferred")("ZenonCallWindowController"),i=function(b){babelHelpers.inheritsLoose(a,b);function a(){return b.apply(this,arguments)||this}return a}(babelHelpers.wrapNativeSuper(Error));a=function(){function a(a,b){this.$1=null,this.$2=a,this.$3=b}var c=a.prototype;c.init=function(){var a,c,d;return b("regeneratorRuntime").async(function(e){while(1)switch(e.prev=e.next){case 0:e.prev=0;e.next=3;return b("regeneratorRuntime").awrap(b("Promise").all([h.load(),g.load()]));case 3:a=e.sent;c=a[0];d=a[1];this.$1=new c(this.$2,{callWindowInitializerResource:this.$3,callWindowOpener:new d(),uriBuilderResource:b("JSResource")("ZenonUriBuilder").__setRef("RTWebCallWindowControllerLoader")});e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),b("FBLogger")("rtc_www").catching(e.t0).warn("Failed to initialize call window controller");case 12:case"end":return e.stop()}},null,this,[[0,9]])};c.initCall=function(a){if(this.$1)return this.$1.initCall(a);else throw new i()};return a}();e.exports=a;a.ResourceNotReadyError=i}),null);
__d("ZenonCallInviteModelLoader",["regeneratorRuntime","Promise","BaseEventEmitter","emptyFunction","requireDeferred"],(function(a,b,c,d,e,f){"use strict";var g=b("requireDeferred")("ZenonCallInviteModel"),h=b("requireDeferred")("delegateZenonCallInviteModel");a=function(a){babelHelpers.inheritsLoose(c,a);function c(c){var d;d=a.call(this)||this;d.$ZenonCallInviteModelLoader1=null;d.getCurrentInvite=function(){return null};d.startListening=function(a){this.$ZenonCallInviteModelLoader1=a};d.stopListening=function(){this.$ZenonCallInviteModelLoader1=null};d.dismiss=b("emptyFunction");d.accept=b("emptyFunction");d.decline=b("emptyFunction");d.$ZenonCallInviteModelLoader2=c;return d}var d=c.prototype;d.init=function(){var a,c,d,e;return b("regeneratorRuntime").async(function(f){while(1)switch(f.prev=f.next){case 0:f.next=2;return b("regeneratorRuntime").awrap(b("Promise").all([g.load(),h.load()]));case 2:a=f.sent,c=a[0],d=a[1],e=new c(this.$ZenonCallInviteModelLoader2),d(this,e),this.$ZenonCallInviteModelLoader1!==null&&e.startListening(this.$ZenonCallInviteModelLoader1);case 8:case"end":return f.stop()}},null,this)};return c}(b("BaseEventEmitter"));e.exports=a}),null);
__d("ZenonIncomingRingSDK",["requireDeferred","BaseEventEmitter"],(function(a,b,c,d,e,f){"use strict";var g=b("requireDeferred")("ZenonParentCallsManager");a=function(a){babelHelpers.inheritsLoose(b,a);function b(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.$ZenonIncomingRingSDK1=[],c.$ZenonIncomingRingSDK2=[],b)||babelHelpers.assertThisInitialized(c)}var c=b.prototype;c.init=function(a){var b=this;this.$ZenonIncomingRingSDK3=a;g.onReady(function(c){b.callsManager==null&&(b.callsManager=new c(a));c=b.callsManager;c.addListener("unsupportedRing",function(a){return b.emit("unsupportedRing",a)});c.addListener("incomingRing",function(a){return b.emit("incomingRing",a)});c.addListener("ringCancel",function(a){return b.emit("ringCancel",a)});c.initListeners(b.$ZenonIncomingRingSDK1);while(b.$ZenonIncomingRingSDK2.length>0){var d=b.$ZenonIncomingRingSDK2.shift();c.startOutgoingCallIntent(d.nonce,d.callSummaryParams)}})};c.initListeners=function(a){var b=this.callsManager;if(b!=null)b.initListeners(a);else{(b=this.$ZenonIncomingRingSDK1).push.apply(b,a)}};c.removeListeners=function(a){var b=this;if(this.callsManager!=null)this.callsManager.removeListeners(a);else{var c=function(){if(e){if(f>=d.length)return"break";g=d[f++]}else{f=d.next();if(f.done)return"break";g=f.value}var a=g;b.$ZenonIncomingRingSDK1=b.$ZenonIncomingRingSDK1.filter(function(b){return b!==a})};for(var d=a,e=Array.isArray(d),f=0,d=e?d:d[typeof Symbol==="function"?Symbol.iterator:"@@iterator"]();;){var g;a=c();if(a==="break")break}}};c.isCallSupported=function(a){if(this.$ZenonIncomingRingSDK3)switch(a.type){case"thread":if(a.threadType===1)return this.$ZenonIncomingRingSDK3.isSupportedClientForProtocol("p2p");else if(a.threadType===2)return this.$ZenonIncomingRingSDK3.isSupportedClientForProtocol("mw");break;default:return!1}return!1};c.startCallIntent=function(a,b){this.callsManager?this.callsManager.startOutgoingCallIntent(a,b):this.$ZenonIncomingRingSDK2.push({callSummaryParams:b,nonce:a})};return b}(b("BaseEventEmitter"));e.exports=a}),null);
__d("RTWebPreCallContextSingleton",["requireDeferred","FBLogger","JSResource","RTWebCallWindowControllerLoader","RTWebIncomingRingConfiguration","ZenonCallInviteModelLoader","ZenonIncomingRingSDK","promiseDone"],(function(a,b,c,d,e,f){"use strict";var g=b("requireDeferred")("RTWebSignalingListener"),h=!1,i;a={create:function(a){if(i!=null)return i;try{var c=new(b("ZenonIncomingRingSDK"))();i={callInviteModel:new(b("ZenonCallInviteModelLoader"))(c),callWindowController:new(b("RTWebCallWindowControllerLoader"))(a,b("JSResource")("RTWebMercuryCallWindowInitializer").__setRef("RTWebPreCallContextSingleton")),incomingRingSDK:c};return i}catch(a){b("FBLogger")("rtc_www").catching(a).mustfix("Pre-call context initialization failed! This breaks all calling!");return null}},init:function(){if(h)return i;h=!0;i.callInviteModel.init();i.callWindowController.init();i.incomingRingSDK.init({isSupportedClientForProtocol:b("RTWebIncomingRingConfiguration").isSupportedClientForProtocol});b("promiseDone")(g.load(),function(a){i.incomingRingSDK.initListeners([new a()])});return i},get:function(){return i}};e.exports=a}),null);
__d("BootloaderGamesPresenceIconContainer.react",["BootloadOnRender.react","JSResource","LazyComponent.react","React"],(function(a,b,c,d,e,f){"use strict";var g=b("React");function a(a){return g.jsx(b("BootloadOnRender.react"),{component:g.jsx(b("LazyComponent.react"),{userID:a.userID}),loader:b("JSResource")("GamesPresenceIconContainer.react").__setRef("BootloaderGamesPresenceIconContainer.react"),placeholder:g.jsx("div",{})})}e.exports=a}),null);
__d("ChatPerfTypedLogger",["Banzai","GeneratedLoggerUtils","nullthrows"],(function(a,b,c,d,e,f){"use strict";a=function(){function a(){this.$1={}}var c=a.prototype;c.log=function(a){b("GeneratedLoggerUtils").log("logger:ChatPerfLoggerConfig",this.$1,b("Banzai").BASIC,a)};c.logVital=function(a){b("GeneratedLoggerUtils").log("logger:ChatPerfLoggerConfig",this.$1,b("Banzai").VITAL,a)};c.logImmediately=function(a){b("GeneratedLoggerUtils").log("logger:ChatPerfLoggerConfig",this.$1,{signal:!0},a)};c.clear=function(){this.$1={};return this};c.getData=function(){return babelHelpers["extends"]({},this.$1)};c.updateData=function(a){this.$1=babelHelpers["extends"]({},this.$1,a);return this};c.setDuration=function(a){this.$1.duration=a;return this};c.setEndpoint=function(a){this.$1.endpoint=a;return this};c.setEvent=function(a){this.$1.event=a;return this};c.setTabsOpen=function(a){this.$1.tabs_open=a;return this};return a}();c={duration:!0,endpoint:!0,event:!0,tabs_open:!0};e.exports=a}),null);
__d("FantaConst",[],(function(a,b,c,d,e,f){"use strict";var g={DEFAULT_ALLOWED_RAISED_TABS:2,DEFAULT_MESSAGE_COUNT:10,cookieIDs:{PERSONAL_COOKIE_ID:"t3",PERSONAL_FOCUS_COOKIE_ID:"lm3",PERSONAL_TIME_COOKIE_ID:"utc3",WORK_COOKIE_ID:"t3w",WORK_FOCUS_COOKIE_ID:"lm3w",WORK_TIME_COOKIE_ID:"utc3w"},getCookieIDs:function(){return[g.cookieIDs.PERSONAL_COOKIE_ID,g.cookieIDs.PERSONAL_FOCUS_COOKIE_ID,g.cookieIDs.PERSONAL_TIME_COOKIE_ID,g.cookieIDs.WORK_COOKIE_ID,g.cookieIDs.WORK_FOCUS_COOKIE_ID,g.cookieIDs.WORK_TIME_COOKIE_ID]}};e.exports=g}),null);
__d("Dcode",[],(function(a,b,c,d,e,f){var g,h={},i={_:"%",A:"%2",B:"000",C:"%7d",D:"%7b%22",E:"%2c%22",F:"%22%3a",G:"%2c%22ut%22%3a1",H:"%2c%22bls%22%3a",I:"%2c%22n%22%3a%22%",J:"%22%3a%7b%22i%22%3a0%7d",K:"%2c%22pt%22%3a0%2c%22vis%22%3a",L:"%2c%22ch%22%3a%7b%22h%22%3a%22",M:"%7b%22v%22%3a2%2c%22time%22%3a1",N:".channel%22%2c%22sub%22%3a%5b",O:"%2c%22sb%22%3a1%2c%22t%22%3a%5b",P:"%2c%22ud%22%3a100%2c%22lc%22%3a0",Q:"%5d%2c%22f%22%3anull%2c%22uct%22%3a",R:".channel%22%2c%22sub%22%3a%5b1%5d",S:"%22%2c%22m%22%3a0%7d%2c%7b%22i%22%3a",T:"%2c%22blc%22%3a1%2c%22snd%22%3a1%2c%22ct%22%3a",U:"%2c%22blc%22%3a0%2c%22snd%22%3a1%2c%22ct%22%3a",V:"%2c%22blc%22%3a0%2c%22snd%22%3a0%2c%22ct%22%3a",W:"%2c%22s%22%3a0%2c%22blo%22%3a0%7d%2c%22bl%22%3a%7b%22ac%22%3a",X:"%2c%22ri%22%3a0%7d%2c%22state%22%3a%7b%22p%22%3a0%2c%22ut%22%3a1",Y:"%2c%22pt%22%3a0%2c%22vis%22%3a1%2c%22bls%22%3a0%2c%22blc%22%3a0%2c%22snd%22%3a1%2c%22ct%22%3a",Z:"%2c%22sb%22%3a1%2c%22t%22%3a%5b%5d%2c%22f%22%3anull%2c%22uct%22%3a0%2c%22s%22%3a0%2c%22blo%22%3a0%7d%2c%22bl%22%3a%7b%22ac%22%3a"};(function(){var a=[];for(var b in i)h[i[b]]=b,a.push(i[b]);a.reverse();g=new RegExp(a.join("|"),"g")})();a={encode:function(a){return encodeURIComponent(a).replace(/([_A-Z])|%../g,function(a,b){return b?"%"+b.charCodeAt(0).toString(16):a}).toLowerCase().replace(g,function(a){return h[a]})},decode:function(a){return decodeURIComponent(a.replace(/[_A-Z]/g,function(a){return i[a]}))}};e.exports=a}),null);
__d("PresenceCookieManager",["Cookie","CurrentUser","Dcode","ErrorUtils","PresenceInitialData","PresenceUtil","WebStorage"],(function(a,b,c,d,e,f){var g,h,i=b("PresenceInitialData").cookieVersion,j="presence",k={},l=null,m=null;function n(a){var c=b("Cookie").get(j)||"";if(c.length===0)return null;return c[0]!==a?null:c.substring(1)}function o(a,c){b("Cookie").set(j,a+c)}function p(){return!(b("PresenceInitialData").useWebStorage||!1)?null:(g||(g=b("WebStorage"))).getSessionStorage()}function q(){var a=p();a=a!=null?a.getItem(j):null;return a!=null?a.substring(1):null}function r(a){var b=p();if(b==null)return!1;b.setItem(j,"E"+a);return!0}function s(){var a=q();return a!=null?a:n("E")}function t(a){a=a.state;if(a==null)return"";var c=n("S")||"",d=b("CurrentUser").isWorkUser()?"w":"f";a=b("CurrentUser").isWorkUser()?a.t3w:a.t3;a=a!=null?a.length>0:!1;var e=c.indexOf(d)!==-1;e&&!a&&(c=c.replace(d,""));!e&&a&&(c+=d);return c}function u(a,b){var c=r(a);c?o("S",b):o("E",a)}function v(){try{var a=s();l!==a&&(l=a,m=null,a&&(a=b("Dcode").decode(a),m=JSON.parse(a)));if(m){if(m.user&&m.user!==b("CurrentUser").getID())return null;return m.v!==i?null:m}}catch(a){}return null}function w(){return{v:i,time:x(),user:b("CurrentUser").getID()}}function x(){return parseInt(Date.now()/1e3,10)}function y(a){var c=b("Dcode").encode(JSON.stringify(a));b("PresenceUtil").hasUserCookie()&&u(c,t(a))}var z={register:function(a,b){k[a]=b},store:function(){var a=v();if(a&&a.v&&i<a.v)return;var c=w();for(var d in k)c[d]=(h||(h=b("ErrorUtils"))).applyWithGuard(k[d],k,[a&&a[d]],function(a){a.presence_subcookie=d});y(c)},clear:function(){var a=z.getSubCookie("state");b("Cookie").clear(j);var c=(g||(g=b("WebStorage"))).getSessionStorage();c!=null&&c.removeItem(j);if(a){c=w();c.state=a;y(c)}},getSubCookie:function(a){var b=v();return!b?null:b[a]}};e.exports=z}),null);
__d("PresenceState",["ErrorUtils","FantaConst","PresenceCookieManager","PresenceInitialData","debounceAcrossTransitions","setIntervalAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";var g,h=b("PresenceInitialData").cookiePollInterval||2e3,i=b("PresenceInitialData").shouldSuppress||!1,j=[],k=[],l=null,m=null,n=0,o=null,p=0,q=["sb2","tr","tw","at","wml"].concat(b("FantaConst").getCookieIDs());function r(){return b("PresenceCookieManager").getSubCookie("state")}function s(){n=Date.now(),b("PresenceCookieManager").store(),w(m)}var t=b("debounceAcrossTransitions")(s,0);function u(a){(a==void 0||isNaN(a)||a==Number.POSITIVE_INFINITY||a==Number.NEGATIVE_INFINITY)&&(a=0);return a}function v(a){var c={};a&&q.forEach(function(b){a&&a[b]&&(c[b]=a[b])});c.ut=n;for(var d=0,e=j.length;d<e;d++)(g||(g=b("ErrorUtils"))).applyWithGuard(j[d],null,[c]);m=c;return m}function w(a){p++;n=u(a&&a.ut);l||(l=b("setIntervalAcrossTransitions")(z,h));m=a;o===null&&(o=a);for(var c=0,d=k.length;c<d;c++)(g||(g=b("ErrorUtils"))).applyWithGuard(k[c],null,[a]);p--}function x(a){return a&&a.ut&&n<a.ut?!0:!1}function y(){var a=r();x(a)&&(m=a);return m}function z(){var a=r();x(a)&&w(a)}b("PresenceCookieManager").register("state",v);(function(){var a=y();if(a)w(a);else{w(v());return}})();a={doSync:function(a){if(p)return;a?s():t()},registerStateStorer:function(a){j.push(a)},registerStateLoader:function(a){k.push(a)},get:function(){return y()},getInitial:function(){return o},shouldSuppress:function(){return i},verifyNumber:u};e.exports=a}),null);
__d("ChatPerfInstrumentation",["Promise","BaseEventEmitter","ChatPerfTypedLogger","CurrentUser","FantaConst","PresenceState","emptyFunction","performanceAbsoluteNow"],(function(a,b,c,d,e,f){"use strict";var g;a=b("CurrentUser").isWorkUser();c=a?b("FantaConst").cookieIDs.WORK_COOKIE_ID:b("FantaConst").cookieIDs.PERSONAL_COOKIE_ID;d=b("PresenceState").getInitial();var h=d&&d[c]?d[c].length:0,i;f={_startTime:Number,_sidebarStartTime:Number,init:function(){this._startTime=(g||(g=b("performanceAbsoluteNow")))();return new(b("Promise"))(function(a){return a()})},initDivebar:function(){this._sidebarStartTime=(g||(g=b("performanceAbsoluteNow")))()},_log:function(a,c){c=(g||(g=b("performanceAbsoluteNow")))()-(c||this._startTime);i&&i.emit(a,c);var d=new(b("ChatPerfTypedLogger"))();d.setEvent(a).setDuration(c);d.setTabsOpen(h);d.log()},addPerfTimingsListener:function(a,c){i||(i=new(b("BaseEventEmitter"))());return i.once(a,c)},logInitStores:function(){this.logInitStores=b("emptyFunction"),this._log("chat_init_stores")},logInitData:function(){this.logInitData=b("emptyFunction"),this._log("chat_init_data")},logInitUI:function(){this.logInitUI=b("emptyFunction"),this._log("chat_init_ui")},logInitSound:function(){this.logInitSound=b("emptyFunction"),this._log("chat_init_sound")},logDisplayDone:function(){this.logDisplayDone=b("emptyFunction"),this._log("chat_display_done")},logTTI:function(){this.logTTI=b("emptyFunction"),this._log("tti")},logCHAT_CONVERSATION_TTI:function(){this.logCHAT_CONVERSATION_TTI=b("emptyFunction"),this._log("chat_conversation_tti")},logSIDEBAR_FROM_CLIENT_TTI:function(){this.logSIDEBAR_FROM_CLIENT_TTI=b("emptyFunction"),this._log("sidebar_from_client_tti",this._sidebarStartTime)},logSIDEBAR_DISPLAY_DONE:function(){this.logSIDEBAR_DISPLAY_DONE=b("emptyFunction"),this._log("sidebar_display_done",this._sidebarStartTime)}};e.exports=f}),null);
__d("ChatSidebarHeader.react",["cx","React","joinClasses"],(function(a,b,c,d,e,f,g){var h=b("React");a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){return h.jsx("div",{onClick:this.props.onClick,className:b("joinClasses")(this.props.className,"_55ob"),children:h.jsx("div",{className:"_55oc",children:this.props.children})})};return c}(h.Component);e.exports=a}),null);
__d("XPagesBrowserController",["XController"],(function(a,b,c,d,e,f){e.exports=b("XController").create("/pages/",{category:{type:"String"},ref:{type:"String"},cityid:{type:"Int"},similar:{type:"Int"},frompageid:{type:"Int"},actAsPageID:{type:"Int"},source:{type:"String"},pyml:{type:"Int"},viewallpywo:{type:"Bool",defaultValue:!1},notif_id:{type:"Int"},notif_page_id:{type:"Int"}})}),null);
__d("ChatSidebarAdminedPagesSection.react",["cx","fbt","ChatSidebarHeader.react","LeftRight.react","React","SRLink.react","XPagesBrowserController"],(function(a,b,c,d,e,f,g,h){"use strict";var i=b("React"),j=3;function a(a){var c=null;if(a.adminedPages.length>=j){var d=b("XPagesBrowserController").getURIBuilder().setString("category","your_pages").setString("ref",a.adminedPages[0].ref).getURI();c=i.jsx(b("SRLink.react"),{className:"_2l56",href:d,target:"_blank",children:h._("\u3059\u3079\u3066\u898b\u308b")})}d=a.pageListModule;return i.jsxs(i.Fragment,{children:[i.jsx(b("ChatSidebarHeader.react"),{className:"_4kqp",children:i.jsxs(b("LeftRight.react"),{children:[h._("\u30da\u30fc\u30b8"),c]})}),i.jsx(d,{adminedPages:a.adminedPages,onMouseEnter:a.onMouseEnterItem})]})}e.exports=a}),null);
__d("ChatSidebarCreateNewGroupItem.react",["ix","cx","fbt","Bootloader","Image.react","MercuryConfig","QE2Logger","React","SRLink.react","TooltipData","XWorkSaveGroupPurposeController","asset","prop-types"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=b("React");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.$2=function(a){b("QE2Logger").logExposureForUser("workchat_synced_groups_universe");if(b("MercuryConfig").WorkSyncedGroupAutoCreateEnabled)return;var c=d.props,e=c.slot,f=c.slotOffset,g=c.totalSlots;b("Bootloader").loadModules(["MessengerChatSidebarSlotsTypedLogger","MessengerGCFJewelNewGroupButtonInit"],function(a,b){new a().setSlotClicked(f+e).setSlotsVisibleBeforeScrolling(g).setRelativeSlotClicked(e).setSidebarSection("groups").log(),b.onLinkClick()},"ChatSidebarCreateNewGroupItem.react");a.preventDefault()},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){var a=i._("\u65b0\u3057\u3044\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210"),c=g("492281"),d=20,e="_55ln _qhr",f=b("MercuryConfig").WorkSyncedGroupAutoCreateEnabled?b("XWorkSaveGroupPurposeController").getURIBuilder().setString("purpose","work_team").setString("ref","group_creation_button_on_chat_sidebar").setBool("back_disallowed",!0).getURI():"#",h=b("MercuryConfig").WorkSyncedGroupAutoCreateEnabled?"dialog":"ignore";return j.jsx("div",babelHelpers["extends"]({},b("TooltipData").propsFor(this.$1()),{children:j.jsx(b("SRLink.react"),{className:e,href:f,onClick:this.$2,rel:h,children:j.jsxs("div",{className:"_55lp",children:[j.jsx("div",{className:"_55lq _tt_","aria-hidden":!0,children:j.jsx(b("Image.react"),{className:"_tu0",src:c,width:d,height:d,alt:""})}),j.jsx("div",{className:"_55lr",children:a})]})})}))};d.$1=function(){return i._("\u65b0\u3057\u3044\u30b0\u30eb\u30fc\u30d7\u3092\u4f5c\u6210")};return c}(j.PureComponent);a.propTypes={slot:b("prop-types").number,slotOffset:b("prop-types").number,totalSlots:b("prop-types").number};e.exports=a}),null);
__d("ChatSidebarNameWithGameInfo.react",["BootloadOnRender.react","JSResource","LazyComponent.react","React","TextWithEmoticons.react"],(function(a,b,c,d,e,f){"use strict";var g=b("React");function a(a){var c=a.name,d=a.userID;a=a.nameCanHaveEmoji!=null&&a.nameCanHaveEmoji;var e=a?g.jsx(b("TextWithEmoticons.react"),{renderEmoticons:!0,renderEmoji:!0,text:c}):c;return g.jsx(b("BootloadOnRender.react"),{component:g.jsx(b("LazyComponent.react"),{originalElement:e,userID:d}),loader:b("JSResource")("ChatSidebarItemUserPlayingGameInfoContainer.react").__setRef("ChatSidebarNameWithGameInfo.react"),placeholder:a?e:g.jsx("div",{children:c})})}e.exports=a}),null);
__d("ChatSidebarProfile.react",["cx","Image.react","React","SplitImage.react"],(function(a,b,c,d,e,f,g){var h=b("React");function i(a,c,d){d=Math.round(c/3);d=c-d;return h.jsxs("div",{className:"_44yp",style:{height:c,width:c},children:[h.jsx("div",{className:"_1gyw",children:h.jsx(b("Image.react"),{src:a[0],width:d,height:d,alt:""})}),h.jsx("div",{className:"_1gyw",children:h.jsx(b("Image.react"),{src:a[1],width:d,height:d,alt:""})})]})}a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props,c=a.images,d=a.imageSize,e=a.isActive;a=a.showMultiCompany;var f=c.length>1;c=f?i(c,d):h.jsx(b("SplitImage.react"),{className:"_1gyw",size:d,srcs:c});return h.jsxs("div",{"aria-hidden":!0,className:"_7049 _6--1"+(f?" _44yq":""),style:{height:d,width:d},children:[c,a===!0?h.jsx("div",{className:"_4rwy"}):e?h.jsx("div",{className:"_1gyx"}):null]})};return c}(h.PureComponent);e.exports=a}),null);
__d("ChatSidebarStatus.react",["cssVar","cx","fbt","ix","Image.react","React","asset"],(function(a,b,c,d,e,f,g,h,i,j){var k=b("React");a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){return a.apply(this,arguments)||this}var d=c.prototype;d.render=function(){var a=this.props,b=this.renderStatusIcon();if(b==null&&a.statusTime==null)return null;var c=!0,d=a.unreadCount;d!=null&&d>0&&(b=a.statusTime!=null?null:b,c=!1);a.showingPresenceOnProfile===!1&&a.isDoNotDisturb===!0&&a.isWorkUser&&(c=!1);return k.jsxs("div",{className:"_568z"+(a.showRelationshipIndicator?" _2oov":""),children:[c?this.renderLastActiveTime():null,b]})};d.renderStatusIcon=function(){var a=this.props;if(a.isMessengerOnlyContact===!0)return k.jsx(b("Image.react"),{alt:i._("Facebook\u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u4f7f\u7528\u305b\u305a\u306bMessenger\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059"),className:"_568_",src:j("28076")});else if(a.showingPresenceOnProfile===!1&&a.isDoNotDisturb===!0&&a.isWorkUser)return k.jsx("span",{"aria-label":i._("\u901a\u77e5\u3092\u30df\u30e5\u30fc\u30c8"),className:"_3zdc"});else if(a.isMultiCompany===!0&&a.isWorkUser)return k.jsx("div",{"aria-label":i._("\u4f1a\u793e\u9593\u30c1\u30e3\u30c3\u30c8"),className:"_6p8n"});else if(a.status===2)if(a.showRelationshipIndicator===!0)return k.jsx(b("Image.react"),{src:j("593722"),alt:i._("\u30cf\u30fc\u30c8\u306e\u30a2\u30a4\u30b3\u30f3")});else if(a.showingPresenceOnProfile===!1)return k.jsx("span",{"aria-label":i._("\u30c1\u30e3\u30c3\u30c8\u4e2d"),style:{background:"#42b72a",borderRadius:"50%",display:"inline-block",height:"6px",marginLeft:"4px",veritcalAlign:"middle",width:"6px"}});return null};d.renderLastActiveTime=function(){return k.jsx("div",{className:"_568-",children:this.props.statusTime})};return c}(k.PureComponent);e.exports=a}),null);
__d("RenderOnClient.react",["React"],(function(a,b,c,d,e,f){"use strict";a=b("React");c=function(a){babelHelpers.inheritsLoose(b,a);function b(){return a.apply(this,arguments)||this}var c=b.prototype;c.render=function(){return this.props.component};return b}(a.Component);e.exports=c}),null);
__d("ChatSidebarItem.react",["cx","ix","BootloaderGamesPresenceIconContainer.react","ChatSidebarConstants","ChatSidebarNameWithGameInfo.react","ChatSidebarProfile.react","ChatSidebarStatus.react","CurrentUser","ErrorBoundary.react","Image.react","JSResource","React","RenderOnClient.react","ShortProfiles","SRLink.react","SRXUIBadge.react","TextWithEmoticons.react","gkx","isFalsey","lazyLoadComponent","qex"],(function(a,b,c,d,e,f,g,h){"use strict";var i=b("React"),j=b("lazyLoadComponent")(b("JSResource")("ChatSidebarCallButtons.react").__setRef("ChatSidebarItem.react")),k=b("gkx")("865973");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={hasHovered:!1,hover:!1},c.$2=function(){c.setState({hasHovered:!0,hover:!0}),c.props.onMouseEnter!=null&&c.props.onMouseEnter()},c.$3=function(){c.setState({hover:!1})},b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.render=function(){var a,c="_55ln"+(this.props.context?" _55lo":"")+" _qhr",d=this.props.nameCanHaveEmoji===!0?i.jsx(b("RenderOnClient.react"),{component:i.jsx(b("TextWithEmoticons.react"),{renderEmoticons:!0,renderEmoji:!0,text:this.props.name})}):this.props.name,e=b("ShortProfiles").getNow(this.props.userID||"");a=(a=b("qex")._("1442119")||b("qex")._("1442118"))!=null?a:!1;return k&&(e==null?void 0:e.is_blocked)?null:i.jsx(b("ErrorBoundary.react"),{fallbackComponent:this.$1,children:i.jsx(b("SRLink.react"),{className:c,href:this.props.href,onClick:this.props.onClick,onMouseEnter:this.$2,onMouseLeave:this.$3,rel:"ignore",children:i.jsxs("div",{className:"_55lp",children:[this.$4(),i.jsxs("div",{className:"_5bon",children:[a?this.renderRtcCallButtons():null,this.renderPlayingGame(),this.renderBirthday(),this.renderUnreadCount(),this.renderStatus()]}),i.jsx("div",{className:"_55lr",children:this.props.isPlayingGame===!0&&this.props.userID!=null&&this.props.statusTime===null&&this.props.birthday!==!0?this.$5():d}),i.jsx("div",{className:"_55ls",children:this.props.context})]})})})};d.renderUnreadCount=function(){var a=this.props.unreadCount;return b("isFalsey")(a)?null:i.jsx(b("SRXUIBadge.react"),{count:a,maxcount:9})};d.renderStatus=function(){return i.jsx(b("ChatSidebarStatus.react"),{isMessengerOnlyContact:this.props.isMessengerOnlyContact,isDoNotDisturb:this.props.isDoNotDisturb,isWorkUser:b("CurrentUser").isWorkUser(),isMultiCompany:this.props.isMultiCompany,showingPresenceOnProfile:!1,showRelationshipIndicator:this.props.showRelationshipIndicator,status:this.props.status,unreadCount:this.props.unreadCount,statusTime:this.props.statusTime})};d.renderRtcCallButtons=function(){var a=this,c=b("ShortProfiles").getNow(this.props.userID||"");if(k&&(c==null?void 0:c.is_blocked)||this.props.threadID==null)return null;return!this.state.hasHovered?null:i.jsx(i.Suspense,{fallback:null,children:i.jsx(j,{onMouseLeave:function(){a.setState({hover:!1})},hover:this.state.hover,profilePicture:this.props.image,shortName:c==null?void 0:c.firstName,threadID:this.props.threadID})})};d.renderBirthday=function(){if(this.props.birthday!==!0)return null;var a="_5dv3",c=h("74517");return i.jsx(b("Image.react"),{className:a,src:c})};d.renderPlayingGame=function(){return this.props.statusTime!=null||this.props.birthday===!0||this.props.isPlayingGame!==!0?null:i.jsx(b("RenderOnClient.react"),{component:i.jsx(b("BootloaderGamesPresenceIconContainer.react"),{userID:this.props.userID})})};d.$1=function(){return i.jsx(b("SRLink.react"),{"aria-hidden":!0,tabIndex:-1})};d.$4=function(){var a=this.props.imageSize,c=this.props.image,d=this.props.images;a=a!=null?a:b("ChatSidebarConstants").getImageSize();var e=[];c!=null?e=[c]:d!=null&&(e=d);return i.jsx(b("ChatSidebarProfile.react"),{showingPresenceOnProfile:!1,imageSize:a,isActive:!1,images:e})};d.$5=function(){return i.jsx(b("RenderOnClient.react"),{component:i.jsx(b("ChatSidebarNameWithGameInfo.react"),{name:this.props.name,nameCanHaveEmoji:this.props.nameCanHaveEmoji,userID:this.props.userID})})};return c}(i.PureComponent);e.exports=a}),null);
__d("WorkForeignEntityType",[],(function(a,b,c,d,e,f){e.exports=Object.freeze({FOREIGN:"FOREIGN",NOT_FOREIGN:"NOT_FOREIGN"})}),null);
__d("ChatSidebarThread.react",["Bootloader","ChatSidebarItem.react","ChatSidebarParticipantTooltipBuilder","MercuryIDs","MercuryParticipantListRenderer","React","TooltipData","WebMessengerThreadPermalinks","WorkForeignEntityInfo.bs","prop-types","requireWeak"],(function(a,b,c,d,e,f){"use strict";var g=b("React");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.$2=function(a){var c=d.props,e=c.slot,f=c.slotOffset,g=c.threadFBID,h=c.totalSlots;g&&b("requireWeak")("FantaTabActions",function(a){a.openTab(d.props.numOtherParticipants===1?b("MercuryIDs").getThreadIDFromUserID(g):b("MercuryIDs").getThreadIDFromThreadFBID(g),["divebar_groups"])});b("Bootloader").loadModules(["MessengerChatSidebarSlotsTypedLogger","ChatOpenTabEventLogger"],function(a,b){new a().setSlotClicked(f+e).setSlotsVisibleBeforeScrolling(h).setRelativeSlotClicked(e).setSidebarSection("groups").log(),g&&b.logClickOpen(d.props.referrer,g)},"ChatSidebarThread.react");a.preventDefault()},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){var a=this.props.name,c=h(this.props.threadFBID,this.props.participants,this.props.numOtherParticipants),d=a?c:void 0,e=this.props.image?[]:i(this.props.participants);a=a?a:c;c=!b("WorkForeignEntityInfo.bs").areAllCoworkers(this.props.participants);return g.jsx("div",babelHelpers["extends"]({},b("TooltipData").propsFor(this.$1()),{children:g.jsx(b("ChatSidebarItem.react"),{birthday:this.props.birthday,context:d,href:this.props.threadFBID&&b("WebMessengerThreadPermalinks").getThreadURIFromServerID(this.props.threadFBID),imageSize:this.props.imageSize,image:this.props.image,images:e,isDoNotDisturb:this.props.isDoNotDisturb,isMultiCompany:c,name:a,nameCanHaveEmoji:!0,onClick:this.$2,referrer:this.props.referrer,status:this.props.status,threadID:this.props.threadFBID&&b("MercuryIDs").getThreadIDFromThreadFBID(this.props.threadFBID),unreadCount:this.props.unreadCount,showRelationshipIndicator:!1})}))};d.$1=function(){return b("ChatSidebarParticipantTooltipBuilder").buildParticipantsTooltip(this.props.participants,this.props.numOtherParticipants)};return c}(g.PureComponent);a.propTypes={birthday:(c=b("prop-types")).bool,image:c.string,imageSize:c.number,name:c.string,participants:c.array.isRequired,numOtherParticipants:c.number.isRequired,referrer:c.string,slot:c.number,slotOffset:c.number,status:c.number,threadFBID:c.string,totalSlots:c.number,unreadCount:c.number};a.defaultProps={numOtherParticipants:b("ChatSidebarParticipantTooltipBuilder").MAX_NUM_PARTICIPANTS_TO_RENDER};function h(a,c,d){return new(b("MercuryParticipantListRenderer"))().setIsNewThread(!a).setUseShortName(d>1).setTotalParticipantCount(d).renderParticipantList(c).toString()}function i(a){return a.map(function(a){return a.image_src}).filter(function(a){return a})}e.exports=a}),null);
__d("ChatSidebarGroupThreadsGroup.react",["cx","ChatSidebarConstants","ChatSidebarThread.react","MercuryIDs","PresencePrivacy","PresenceStatus","React","prop-types"],(function(a,b,c,d,e,f,g){"use strict";var h=b("React");a=function(a){babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.$1=function(a,c){var e=a.mercury_thread.participants;e=e.map(function(a){return typeof a==="string"&&b("MercuryIDs").isValid(a)?b("MercuryIDs").getUserIDFromParticipantID(a):a});var f=d.props.isDisconnected||b("PresencePrivacy").isUserOffline();return h.jsx("li",{className:"_42fz"+(f?" _570-":""),"data-id":a.uid,children:h.jsx(b("ChatSidebarThread.react"),{image:a.mercury_thread.image_src,imageSize:b("ChatSidebarConstants").getImageSize(),name:a.mercury_thread.name,participants:a.participants_to_render,numOtherParticipants:e.length-1,referrer:"ordered_list",slot:c,slotOffset:d.props.slotOffset,status:b("PresenceStatus").getGroup(e),threadFBID:a.uid,totalSlots:d.props.totalSlots})},a.uid)},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){return h.jsx("ul",{children:this.props.groups.map(this.$1)})};return c}(h.Component);a.propTypes={groups:(c=b("prop-types")).array.isRequired,isDisconnected:c.bool,slotOffset:c.number,totalSlots:c.number};e.exports=a}),null);
__d("ChatSidebarItemPlaceholder.react",["cx","React"],(function(a,b,c,d,e,f,g){"use strict";var h=b("React");function a(a){var b=50+Math.ceil(50-2*(Math.pow(7+a.slot,2)%10));return h.jsx("li",{className:"_42fz"+(a.isDisconnected?" _570-":""),children:h.jsx("div",{className:"_55ln _qhr",children:h.jsxs("div",{className:"_55lp",children:[h.jsx("span",{className:"_1qh _55lq"}),h.jsx("span",{className:"_55lr",children:h.jsx("span",{className:"_1qh",style:{width:String(b)+"px"}})})]})})})}e.exports=a}),null);
__d("ChatSidebarMarketplaceSectionLazy.react",["ErrorBoundary.react","JSResource","React","lazyLoadComponent"],(function(a,b,c,d,e,f){"use strict";var g=b("React"),h=b("lazyLoadComponent")(b("JSResource")("ChatSidebarMarketplaceSection.react").__setRef("ChatSidebarMarketplaceSectionLazy.react"));function a(a){return g.jsx(b("ErrorBoundary.react"),{children:g.jsx(g.Suspense,{fallback:null,children:g.jsx(h,{marketplaceThreads:a.marketplaceThreads})})})}e.exports=a}),null);
__d("ChatSidebarOfflineOverlayWrapper.react",["BootloadOnRender.react","JSResource","LazyComponent.react","React"],(function(a,b,c,d,e,f){"use strict";var g=b("React");function a(a){return g.jsx(b("BootloadOnRender.react"),{component:g.jsx(b("LazyComponent.react"),{}),loader:b("JSResource")("ChatOfflineOverlay.react").__setRef("ChatSidebarOfflineOverlayWrapper.react"),placeholder:g.jsx("div",{})})}e.exports=a}),null);
__d("ChatSidebarPymmListSection.react",["BootloadOnRender.react","JSResource","LazyComponent.react","React"],(function(a,b,c,d,e,f){"use strict";var g=b("React");function a(a){return g.jsx(b("BootloadOnRender.react"),{loader:b("JSResource")("ChatSidebarPymmListContainer.react").__setRef("ChatSidebarPymmListSection.react"),placeholder:g.jsx("div",{}),component:g.jsx(b("LazyComponent.react"),{pymmList:a.pymmList})})}e.exports=a}),null);
__d("ChatSidebarUser.react",["Bootloader","ChatSidebarItem.react","MercuryIDs","React","WebMessengerThreadPermalinks","requireWeak"],(function(a,b,c,d,e,f){var g=b("React");a=function(a){"use strict";babelHelpers.inheritsLoose(c,a);function c(){var c,d;for(var e=arguments.length,f=new Array(e),g=0;g<e;g++)f[g]=arguments[g];return(c=d=a.call.apply(a,[this].concat(f))||this,d.handleMouseEnter=function(){var a=d.props.userID;d.props.onMouseEnter&&d.props.onMouseEnter(a)},d.$1=function(a){var c=d.props,e=c.sectionName,f=c.slot,g=c.slotOffset,h=c.totalSlots,i=c.userID,j=b("MercuryIDs").getThreadIDFromUserID(i);b("requireWeak")("FantaTabActions",function(a){a.openTab(j,["divebar_"+e])});b("Bootloader").loadModules(["MessengerChatSidebarSlotsTypedLogger","ChatOpenTabEventLogger"],function(a,b){new a().setSlotClicked(g+f).setSlotsVisibleBeforeScrolling(h).setRelativeSlotClicked(f).setSidebarSection(e).log(),b.logUserClickOpen(e,i,{global_slot:f})},"ChatSidebarUser.react");a.preventDefault()},c)||babelHelpers.assertThisInitialized(d)}var d=c.prototype;d.render=function(){var a=b("WebMessengerThreadPermalinks").getThreadURIFromUserID(this.props.userID);return g.jsx(b("ChatSidebarItem.react"),{onClick:this.$1,onMouseEnter:this.handleMouseEnter,href:a,imageSize:this.props.imageSize,image:this.props.image,isDoNotDisturb:this.props.isDoNotDisturb,isPlayingGame:this.props.isPlayingGame,name:this.props.name,nameCanHaveEmoji:!1,showRelationshipIndicator:this.props.showRelationshipIndicator,status:this.props.status,birthday:this.props.birthday,statusTime:this.props.statusTime,context:this.props.context,unreadCount:this.props.unreadCount,isMessengerOnlyContact:this.props.isMessengerOnlyContact,userID:this.props.userID,threadID:b("MercuryIDs").getThreadIDFromUserID(this.props.userID)})};return c}(g.PureComponent);e.exports=a}),null);
__d("ChatSidebarUserGroupProfile.react",["cx","ChatSidebarItemPlaceholder.react","ChatSidebarUser.react","React"],(function(a,b,c,d,e,f,g){"use strict";var h=b("React");function a(a){var c=a.slot,d=a.profileData;if(d==null)return h.jsx(b("ChatSidebarItemPlaceholder.react"),{isDisconnected:a.isDisconnected,slot:c},"placeholder"+c);var e=d.shortProfile;if(!e.id)return null;var f=d.status,g=f!==2?d.lastActiveTime:null,i=a.isDisconnected||d.presencePrivacyAllows!==!0,j=a.sectionName==="nearby"?e.location:null;return h.jsx("li",{className:"_42fz"+(i?" _570-":""),"data-id":e.id,children:h.jsx(b("ChatSidebarUser.react"),{birthday:e.is_birthday,image:e.thumbSrc,imageSize:a.imageSize,isDoNotDisturb:a.doNotDisturbMap[e.id]===!0,isPlayingGame:d.isPlaying===!0,name:e.name,onMouseEnter:a.onMouseEnter,showHoverCard:a.showHoverCard,showRelationshipIndicator:e.show_relationship_indicator,sectionName:a.sectionName,slot:c,slotOffset:a.slotOffset,status:f,statusTime:g,totalSlots:a.totalSlots,userID:e.id,unreadCount:d.unreadCount,isMessengerOnlyContact:e.is_messenger_only,context:j})},e.id)}e.exports=a}),null);
__d("ChatSidebarUserGroupContainer.react",["ChatSidebarUserGroupProfile.react","CurrentUser","React","WorkChatAvailabilityStatusLoader","clearTimeout","emptyFunction","onAfterLoadSafe","promiseDone","requireWeak","setTimeoutAcrossTransitions"],(function(a,b,c,d,e,f){"use strict";var g=b("React"),h=400,i=5e3;a=function(a){babelHelpers.inheritsLoose(c,a);function c(c){var d;d=a.call(this,c)||this;d.$1=null;d.$2={};d.state={doNotDisturbMap:{}};d.$6=function(){d.$3||(d.$3=b("setTimeoutAcrossTransitions")(function(){b("requireWeak")("FantaTabsEagerBootloader",function(a){return a.bootload()}),d.$6=b("emptyFunction")},h))};d.$7=function(){b("clearTimeout")(d.$3),d.$3=null};d.$4();return d}var d=c.prototype;d.componentDidMount=function(){var a=this;b("onAfterLoadSafe")(function(){b("CurrentUser").isWorkUser()&&b("promiseDone")(b("WorkChatAvailabilityStatusLoader").load(),function(b){var c=b.store;a.props.ids.forEach(function(b){c.subscribeUser(b,a)});a.setState({doNotDisturbMap:a.$5(a.props.ids)});c.fetchUsers(a.props.ids);a.$1=c.addListener(function(){a.setState({doNotDisturbMap:a.$5(a.props.ids)})})})})};d.componentDidUpdate=function(){this.$4()};d.componentWillUnmount=function(){this.$1&&this.$1.remove()};d.UNSAFE_componentDidReceiveProps=function(a){var c=this;if(b("CurrentUser").isWorkUser()&&b("WorkChatAvailabilityStatusLoader").isLoaded()){var d=b("WorkChatAvailabilityStatusLoader").getStoreEnforce();d.fetchUsers(a.ids.filter(function(a){return c.props.ids.indexOf(a)<0}));this.props.ids.forEach(function(a){return d.unsubscribeUser(a,c)});a.ids.forEach(function(a){return d.subscribeUser(a,c)})}};d.render=function(){var a=this,c=this.props.ids.filter(function(b){return!!a.props.usersDetailedData[b]||a.$2[b]==null||a.$2[b]===!1});return g.jsx("ul",{onMouseEnter:this.$6,onMouseLeave:this.$7,children:c.map(function(c,d){return g.jsx(b("ChatSidebarUserGroupProfile.react"),{doNotDisturbMap:a.state.doNotDisturbMap,imageSize:a.props.imageSize,isDisconnected:a.props.isDisconnected,onMouseEnter:a.props.onMouseEnterItem,showHoverCard:a.props.showHoverCard,sectionName:a.props.sectionName,slotOffset:a.props.slotOffset,totalSlots:a.props.totalSlots,profileData:a.props.usersDetailedData[c],id:c,slot:d},c)})})};d.$5=function(a){if(!b("CurrentUser").isWorkUser()||!b("WorkChatAvailabilityStatusLoader").isLoaded())return{};var c=b("WorkChatAvailabilityStatusLoader").getStoreEnforce(),d={};a.forEach(function(a){d[a]=c.getIsDoNotDisturb(a)});return d};d.$4=function(){var a=this;this.props.ids.forEach(function(b){var c=a.props.usersDetailedData[b];c?a.$8(b):a.$9(b)})};d.$9=function(a){var c=this;this.$2[a]===void 0&&(this.$2[a]=b("setTimeoutAcrossTransitions")(function(){delete c.$2[a],c.forceUpdate()},i))};d.$8=function(a){var c=this.$2[a];if(!c)return;b("clearTimeout")(c);delete this.$2[a]};return c}(g.Component);e.exports=a}),null);
__d("fbglyph",[],(function(a,b,c,d,e,f){function a(a){throw new Error("fbglyph("+JSON.stringify(a)+"): Unexpected fbglyph reference.")}e.exports=a}),null);
__d("ChatSidebarOrderedList.react",["ix","cx","fbt","Bootloader","ChatConfig","ChatOptions","ChatQuietLinks","ChatReliabilityInstrumentation","ChatSidebarActions","ChatSidebarAdminedPagesSection.react","ChatSidebarConstants","ChatSidebarCreateNewGroupItem.react","ChatSidebarGroupThreadsGroup.react","ChatSidebarHeader.react","ChatSidebarMarketplaceSectionLazy.react","ChatSidebarOfflineOverlayWrapper.react","ChatSidebarPymmListSection.react","ChatSidebarRecentCalls","ChatSidebarUserGroupContainer.react","Image.react","LeftRight.react","React","ReactDOM","RenderOnClient.react","Run","Scroll","SRLink.react","cxMargin","fbglyph","gkx","ifRequired","qex"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j=b("ChatSidebarRecentCalls").ChatSidebarRecentCalls,k=b("React");a=location.pathname==="/"||location.pathname==="/home.php";var l=!b("gkx")("1475723")&&!a;c=function(a){babelHelpers.inheritsLoose(c,a);function c(){var b,c;for(var d=arguments.length,e=new Array(d),f=0;f<d;f++)e[f]=arguments[f];return(b=c=a.call.apply(a,[this].concat(e))||this,c.state={isDisconnected:!1},c.$1=null,c.$2=null,c.$3=null,b)||babelHelpers.assertThisInitialized(c)}var d=c.prototype;d.componentDidMount=function(){var a=this;b("ChatQuietLinks").nukeLinks(b("ReactDOM").findDOMNode(this.refs.noLinks));b("Run").onAfterLoad(function(){b("ChatSidebarActions").afterDomLoad(),a.$4()})};d.componentWillUnmount=function(){this.$1!=null&&this.$1.unsubscribe()};d.render=function(){if(this.props.hide)return null;var a=this.props.offlineUsers&&this.props.offlineUsers.length>0?this.$5():this.$6();a=k.jsxs(k.Fragment,{children:[k.jsxs("div",{ref:"noLinks",children:[this.$7(),this.$8()]}),this.$9(),k.jsxs("div",{ref:"noLinks",children:[this.$10(),this.$11(),this.$12(),a]})]});return k.jsxs("div",{"data-testid":void 0,children:[k.jsx("div",{ref:"noLinks",children:this.$13()}),k.jsx("div",{ref:"noLinks",children:this.$14()}),k.jsx("div",{ref:"noLinks",children:this.$15()}),!this.$16()&&a,this.$17()]})};d.$18=function(a){var c=this.props.scrollContainer;if(!c)return;var d=c.clientHeight,e=c.scrollHeight,f=b("Scroll").getTop(c),g=Math.min(a.offsetTop,e-d);f!==g&&b("ifRequired")("Animation",function(a){var b=Math.abs(g-f)/c.clientHeight*500;new a(c).to("scrollTop",g).ease(a.ease.end).duration(b).go()},function(){b("Scroll").setTop(c,g)})};d.$7=function(){if(!b("ChatConfig").getBool("show_header"))return null;var a=this.state.isDisconnected||this.props.isUserOffline;return k.jsx(b("ChatSidebarHeader.react"),{className:a?"_570-":"",children:i._("\u9023\u7d61\u5148")})};d.$5=function(){var a=b("ChatSidebarConstants").getImageSize(),c=this.props.offlineUsers.slice(0,-2),d=i._("\u305d\u306e\u4ed6\u306e\u9023\u7d61\u5148"),e=i._("\u3053\u308c\u3089\u306e\u9023\u7d61\u5148\u306b\u306f\u3001\u30c1\u30e3\u30c3\u30c8\u3067\u3042\u306a\u305f\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002");return k.jsxs(k.Fragment,{children:[k.jsx(b("ChatSidebarHeader.react"),{children:d}),k.jsxs(b("ChatSidebarHeader.react"),{className:"_5j9-",children:[e," ",k.jsx("a",{ajaxify:"/ajax/chat/privacy/settings_dialog.php?ref=whitelist_separator",href:"#",rel:"dialog",children:i._("\u7de8\u96c6")})]}),k.jsx(b("ChatSidebarUserGroupContainer.react"),{ids:c,imageSize:a,isDisconnected:this.state.isDisconnected,loadExtras:this.props.isAfterDomLoad,onMouseEnterItem:this.props.onMouseEnterItem,sectionName:"offline_users",showHoverCard:this.props.isSidebar,slotOffset:this.$19(),totalSlots:this.props.maxItemSlots,usersDetailedData:this.props.usersDetailedData})]})};d.$6=function(){var a=this;if(this.props.availableUsers.length===0)return null;if(!this.props.isAfterDomLoad){var c=b("ChatSidebarConstants").getItemHeight();return k.jsx("div",{style:{height:c*this.props.availableUsers.length}})}c=b("ChatSidebarConstants").getImageSize();var d=i._("{MORE ONLINE CONTACTS} ({count}\u4eba)",[i._param("MORE ONLINE CONTACTS",i._("\u305d\u306e\u4ed6\u306e\u9023\u7d61\u5148")),i._param("count",this.props.availableUsers.length)]);return k.jsxs(k.Fragment,{children:[k.jsx(b("ChatSidebarHeader.react"),{ref:function(b){a.$3=b},onClick:function(){return a.$18(b("ReactDOM").findDOMNode(a.$3))},children:d}),k.jsx(b("ChatSidebarUserGroupContainer.react"),{ids:this.props.availableUsers,imageSize:c,isDisconnected:this.state.isDisconnected,loadExtras:this.props.isAfterDomLoad,onMouseEnterItem:this.props.onMouseEnterItem,sectionName:"more_online_friends",showHoverCard:this.props.isSidebar,slotOffset:this.$19(),totalSlots:this.props.maxItemSlots,usersDetailedData:this.props.usersDetailedData})]})};d.$19=function(){var a=this.$20();a+=this.$21();var b=this.props.groups;a+=this.$22(b.length);return a};d.$9=function(){return!b("ChatConfig").getBool("nearby_friends_www_chatbar")||this.props.nearby.length===0?null:k.jsx(b("ChatSidebarHeader.react"),{ref:"nearbySeparator",children:k.jsxs(b("LeftRight.react"),{children:[i._("\u8fd1\u304f\u306b\u3044\u308b\u53cb\u9054"),k.jsx(b("SRLink.react"),{target:"_blank",href:"/help/android-app/291236034364603",children:k.jsx(b("Image.react"),{className:"_3-90",src:g("129548")})})]})})};d.$11=function(){if(!b("ChatConfig").getBool("nearby_friends_www_chatbar")||this.props.nearby.length===0)return null;var a=this.$20(),c=b("ChatSidebarConstants").getImageSize();return k.jsx(b("ChatSidebarUserGroupContainer.react"),{ids:this.props.nearby,imageSize:c,isDisconnected:this.state.isDisconnected,loadExtras:this.props.isAfterDomLoad,onMouseEnterItem:this.props.onMouseEnterItem,sectionName:"nearby",showHoverCard:this.props.isSidebar,slotOffset:a,totalSlots:this.props.maxItemSlots,usersDetailedData:this.props.usersDetailedData})};d.$21=function(){return this.props.nearby.length};d.$12=function(){var a=this.state.isDisconnected||this.props.isUserOffline,c=this.props.groups,d=this.$20()+this.$21();if(this.$23())return k.jsxs(k.Fragment,{children:[this.$24(),k.jsx("ul",{children:k.jsx("li",{className:"_42fz"+(a?" _570-":""),children:k.jsx(b("RenderOnClient.react"),{component:k.jsx(b("ChatSidebarCreateNewGroupItem.react"),{slot:0,slotOffset:d,totalSlots:this.props.maxItemSlots})})})})]});else if(b("ChatOptions").getSetting("hide_groups")||this.props.groups.length===0)return null;return k.jsxs(k.Fragment,{children:[this.$24(),k.jsx(b("RenderOnClient.react"),{component:k.jsx(b("ChatSidebarGroupThreadsGroup.react"),{groups:c.slice(0,this.$22(c.length)),isDisconnected:this.state.isDisconnected,loadExtras:this.props.isAfterDomLoad,slotOffset:d,totalSlots:this.props.maxItemSlots})})]})};d.$24=function(){var a=this,c=this.state.isDisconnected||this.props.isUserOffline;return k.jsx(b("ChatSidebarHeader.react"),{ref:function(b){a.$2=b},className:c?"_570-":"",onClick:function(){return a.$18(b("ReactDOM").findDOMNode(a.$2))},children:i._("\u30b0\u30eb\u30fc\u30d7\u30b9\u30ec\u30c3\u30c9")})};d.$22=function(a){if(this.$23())return 1;else if(a===0)return 0;return Math.min(a,b("ChatConfig").getNumber("num_groups_to_show"))};d.$8=function(){var a=b("ChatSidebarConstants").getImageSize();return k.jsx(b("ChatSidebarUserGroupContainer.react"),{ids:this.props.topUsers,imageSize:a,isDisconnected:this.state.isDisconnected,loadExtras:this.props.isAfterDomLoad,onMouseEnterItem:this.props.onMouseEnterItem,sectionName:"ordered_list",showHoverCard:this.props.isSidebar,slotOffset:0,totalSlots:this.props.maxItemSlots,usersDetailedData:this.props.usersDetailedData})};d.$20=function(){return this.props.topUsers.length};d.$14=function(){var a=this.props.pymmList;if(a==null)return null;a=a.pages;return this.props.isSidebar!==!0||!b("ChatConfig").getBool("show_businesses")||a==null||a.length===0?null:k.jsx(b("RenderOnClient.react"),{component:k.jsx(b("ChatSidebarPymmListSection.react"),{pymmList:a})})};d.$13=function(){return l||!b("ChatConfig").getBool("show_admined_pages")||this.props.adminedPages.length===0||this.props.pageListModule==null?null:k.jsx(b("RenderOnClient.react"),{component:k.jsx(b("ChatSidebarAdminedPagesSection.react"),{adminedPages:this.props.adminedPages,onMouseEnterItem:this.props.onMouseEnterItem,pageListModule:this.props.pageListModule})})};d.$10=function(){var a;a=((a=this.props.marketplaceThreads)==null?void 0:a.length)||0;return a===0||b("ChatOptions").getSetting("hide_marketplace")||!b("qex")._("690094")?null:k.jsx(b("RenderOnClient.react"),{component:k.jsx(b("ChatSidebarMarketplaceSectionLazy.react"),{marketplaceThreads:this.props.marketplaceThreads})})};d.$15=function(){return j?k.jsx(b("RenderOnClient.react"),{component:k.jsx(j,{recentCalls:this.props.recentCalls,usersDetailedData:this.props.usersDetailedData})}):null};d.$4=function(){var a=this;b("Bootloader").loadModules(["ChannelConnection"],function(c){a.$1=c.subscribe([c.CONNECTED,c.RECONNECTING,c.SHUTDOWN,c.MUTE_WARNING,c.UNMUTE_WARNING],function(){var d=c.disconnected();d!==a.state.isDisconnected&&(d?b("ChatReliabilityInstrumentation").logCHANNEL_DISCONNECT():b("ChatReliabilityInstrumentation").logCHANNEL_CONNECT(),a.setState({isDisconnected:d}))})},"ChatSidebarOrderedList.react")};d.$23=function(){return this.props.groups.length===0&&!b("ChatOptions").getSetting("hide_groups")};d.$16=function(){return this.props.isSidebar!==!0&&this.props.isUserOffline===!0};d.$17=function(){return!this.$16()?null:k.jsx(b("RenderOnClient.react"),{component:k.jsx(b("ChatSidebarOfflineOverlayWrapper.react"),{})})};return c}(k.PureComponent);e.exports=c}),null);
__d("RTWebMercuryPreCallProvider.react",["FBLogger","React","RelayFBDefaultEnvironment","RTWebPreCallContext","RTWebPreCallContextSingleton","useStable"],(function(a,b,c,d,e,f){"use strict";var g=b("React");c=b("React");var h=c.useEffect;function a(a){a=a.children;var c=b("useStable")(function(){try{return b("RTWebPreCallContextSingleton").create({relayEnvironment:b("RelayFBDefaultEnvironment")})}catch(a){b("FBLogger")("rtc_www").catching(a).mustfix("Pre-call context initialization failed! This breaks all calling!");return null}});h(function(){c&&b("RTWebPreCallContextSingleton").init()},[c]);return g.jsx(b("RTWebPreCallContext").Provider,{value:c,children:a})}e.exports=a}),null);