if (self.CavalryLogger) { CavalryLogger.start_js(["mgY+o"]); }

__d("getHashtagRegexForTypeahead",["getHashtagRegexString"],(function a(b,c,d,e,f,g){function h(){return new RegExp(c("getHashtagRegexString")()+"$","i")}f.exports=h}),null);
__d("HashtagSuggestionsStrategy",["getHashtagRegexForTypeahead"],(function a(b,c,d,e,f,g){var h=c("getHashtagRegexForTypeahead")(),i={name:"HashtagSuggestionsStrategy",findMentionableString:function j(k){var l=h.exec(k);if(l!==null)return{matchingString:"#"+l[3],leadOffset:l[3].length};return null}};f.exports=i}),null);
__d("XTypeaheadHashtagQueryController",["XController"],(function a(b,c,d,e,f,g){f.exports=c("XController").create("/ajax/hashtags/typeahead/query/",{value:{type:"String"},sid:{type:"String"},qid:{type:"String"},grammar_version:{type:"String"},max_results:{type:"Int"}})}),null);
__d("getMentionsSearchSource",["AtSignMentionsStrategy","CapitalizedNameMentionsStrategy","DocumentCompositeMentionsSource","DocumentMentionsSource","FilteredSearchSource","HashtagSuggestionsStrategy","RegexMatchSearchSource","SearchSourceWithMetrics","WebAsyncPlusRegexSearchSource","WebAsyncSearchSource","XTypeaheadHashtagQueryController","filterCapitalizedNames"],(function a(b,c,d,e,f,g){__p&&__p();function h(j){var k={bootstrapRequests:[],queryRequests:[],auxiliaryFields:{authorativePerson:"is_authoritative_person",connectedPage:"connected_page",disableAutosuggest:"disable_autosuggest",nonCoworker:"is_non_coworker",renderType:"render_type",verified:"is_verified",workUser:"is_work_user"}};if(j._bootstrapEndpoints)j._bootstrapEndpoints.forEach(function(l){k.bootstrapRequests.push({uri:l.endpoint,data:l.data})});if(j.bootstrapEndpoint)k.bootstrapRequests.push({uri:j.bootstrapEndpoint,data:j.bootstrapData});if(j.queryEndpoint)k.queryRequests.push({uri:j.queryEndpoint,data:j.queryData});return new(c("WebAsyncSearchSource"))(k)}function i(j,k,l){var m=h(j),n=new(c("SearchSourceWithMetrics"))(m,k),o=new(c("FilteredSearchSource"))(c("filterCapitalizedNames"),n),p=[new(c("DocumentMentionsSource"))(c("AtSignMentionsStrategy"),n),new(c("DocumentMentionsSource"))(c("CapitalizedNameMentionsStrategy"),o)];if(l){var q={queryRequests:[{uri:c("XTypeaheadHashtagQueryController").getURIBuilder().getURI().getPath()}],auxiliaryFields:{renderType:"render_type"}},r=new(c("WebAsyncSearchSource"))(q),s=new(c("RegexMatchSearchSource"))("[#\\uFF03].*","hashtag",{renderType:"hashtag"}),t=new(c("SearchSourceWithMetrics"))(new(c("WebAsyncPlusRegexSearchSource"))({asyncSource:r,regexSource:s,preferRegexEntries:true}),k);p.push(new(c("DocumentMentionsSource"))(c("HashtagSuggestionsStrategy"),t))}return new(c("DocumentCompositeMentionsSource"))(p)}f.exports=i}),null);
__d("KeywordSubscribeNotifFrequency",[],(function a(b,c,d,e,f,g){f.exports=Object.freeze({NONE:0,IMMEDIATE:1,DAILY:2,HIGHLIGHTS:3})}),null);
__d("KeywordSubscribeConfiguration.react",["cx","KeywordSubscribeNotifFrequency","List.react","React","XUISingleSelector.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k,l,m=c("React").PropTypes,n=c("XUISingleSelector.react").Option,o={label:"Frequency",options:[{key:Object.keys(c("KeywordSubscribeNotifFrequency"))[0],value:"No notification"},{key:Object.keys(c("KeywordSubscribeNotifFrequency"))[1],value:"As it happens"},{key:Object.keys(c("KeywordSubscribeNotifFrequency"))[2],value:"Once a day"}]};i=babelHelpers.inherits(p,c("React").Component);j=i&&i.prototype;p.prototype.render=function(){return c("React").createElement(c("List.react"),{spacing:"medium",border:"none"},this.props.configurationItems.map(function(r){return c("React").createElement("li",{key:r.label},c("React").createElement("span",{className:"__sb"},r.label),c("React").createElement("div",{className:"__sc"},c("React").createElement(c("XUISingleSelector.react"),{onChange:r.callback,defaultValue:r.current},r.options.map(function(s){return c("React").createElement(n,{key:s.key,value:s.key},s.value)}))))}))};function p(){i.apply(this,arguments)}p.propTypes={configurationItems:m.arrayOf(m.any).isRequired};k=babelHelpers.inherits(q,c("React").Component);l=k&&k.prototype;q.prototype.render=function(){var r=[Object.assign({},o,{callback:this.props.onFrequencyChange,current:this.props.frequencyOption})];return c("React").createElement(p,{configurationItems:r})};function q(){k.apply(this,arguments)}q.propTypes={frequencyOption:m.string.isRequired,onFrequencyChange:m.func};f.exports=q}),null);
__d("KeywordSubscribeCreateMutation",["RelayClassic_DEPRECATED","RelayCompat","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("RelayCompat").MutationTypes,k=c("React").PropTypes;h=babelHelpers.inherits(l,c("RelayClassic_DEPRECATED").Mutation);i=h&&h.prototype;l.prototype.getMutation=function(){return function(){return{calls:[{kind:"Call",metadata:{},name:"add_subscribe_keyword",value:{kind:"CallVariable",callVariableName:"input"}}],children:[{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],kind:"Mutation",metadata:{inputType:"AddSubscribeKeywordData!"},name:"KeywordSubscribeCreateMutation",responseType:"AddSubscribeKeywordResponsePayload"}}()};l.prototype.getVariables=function(){return{actor_id:this.props.viewer.actor.id,keyword:this.props.keyword,notification_frequency:this.props.frequency}};l.prototype.getFatQuery=function(){return function(){return{children:[{alias:"keywordData",children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"keyword",kind:"Field",metadata:{},type:"String"},{fieldName:"notification_frequency",kind:"Field",metadata:{},type:"KeywordSubscribeNotifFrequencyEnum"}],fieldName:"keyword_data",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"KeywordSubscribe"},{alias:"userKeywordEdge",children:[{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isGenerated:true,isRequisite:true},type:"KeywordSubscribe"}],fieldName:"user_keyword_edge",kind:"Field",metadata:{canHaveSubselections:true},type:"KeywordSubscribeFromOwnerEdge"},{children:[{alias:"subscribedKeywords",fieldName:"subscribed_keywords",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"KeywordSubscribeFromOwnerConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"user",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"User"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{pattern:true},name:"KeywordSubscribeCreateMutationRelayQL",type:"AddSubscribeKeywordResponsePayload"}}()};l.prototype.getConfigs=function(){return[{type:j.RANGE_ADD,parentName:"user",parentID:this.props.viewer.actor.id,connectionName:"keywordData",edgeName:"userKeywordEdge",rangeBehaviors:{"":"append"}},{type:j.REQUIRED_CHILDREN,children:[function(){return{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],fieldName:"keyword_data",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"KeywordSubscribe"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeCreateMutation_ChildrenRelayQL",type:"AddSubscribeKeywordResponsePayload"}}()]}]};function l(){h.apply(this,arguments)}l.propTypes={frequency:k.string.isRequired,keyword:k.string.isRequired,viewer:k.any.isRequired};l.fragments={viewer:function m(){return function(){return{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeCreateMutation_ViewerRelayQL",type:"Viewer"}}()}};f.exports=l}),null);
__d("KeywordSubscribeSingleRoute",["RelayClassic_DEPRECATED"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("RelayClassic_DEPRECATED").Route);i=h&&h.prototype;function j(){h.apply(this,arguments)}j.routeName="KeywordSubscribeSingleRoute";j.path="/keyword/controller/{keywordID}";j.paramDefinitions={keywordID:{type:"Int",required:true}};j.queries={viewer:function k(l){return function(m){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(m)]),fieldName:"viewer",kind:"Query",metadata:{},name:"KeywordSubscribeSingleRoute",type:"Viewer"}}(l.getFragment("viewer"))},posts:function k(l){return function(m){return{calls:[{kind:"Call",metadata:{type:"ID!"},name:"id",value:{kind:"CallVariable",callVariableName:"keywordID"}}],children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(m)]),fieldName:"node",kind:"Query",metadata:{isAbstract:true,identifyingArgName:"id",identifyingArgType:"ID!"},name:"KeywordSubscribeSingleRoute",type:"Node"}}(l.getFragment("posts"))}};f.exports=j}),null);
__d("KeywordSubscribeAddButton.react",["ix","cx","invariant","fbglyph","getURIBuilder","goURI","Image.react","KeywordSubscribeConfiguration.react","KeywordSubscribeSingleRoute","RelayClassic_DEPRECATED","KeywordSubscribeCreateMutation","React","XUIButton.react","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react","XUITextInput.react"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=c("React").PropTypes;k=babelHelpers.inherits(n,c("React").Component);l=k&&k.prototype;function n(p){__p&&__p();l.constructor.call(this,p);this.$KeywordSubscribeAddButton3=function(q){q.target instanceof HTMLInputElement||j(0);this.setState({keywordText:q.target.value})}.bind(this);this.$KeywordSubscribeAddButton5=function(){if(this.state.keywordText.trim().length===0)return;c("RelayClassic_DEPRECATED").Store.commitUpdate(new(c("KeywordSubscribeCreateMutation"))({keyword:this.state.keywordText,frequency:this.state.frequency,viewer:this.props.viewer}),{onSuccess:function(q){this.$KeywordSubscribeAddButton2(false);c("goURI")(c("getURIBuilder")(c("KeywordSubscribeSingleRoute")).setInt("keywordID",q.add_subscribe_keyword.keyword_data.id).getURI())}.bind(this)})}.bind(this);this.$KeywordSubscribeAddButton2=function(){var q=arguments.length<=0||arguments[0]===undefined?false:arguments[0];if(q===false)this.setState({dialogShown:false,keywordText:"",frequency:"IMMEDIATE"})}.bind(this);this.$KeywordSubscribeAddButton4=function(q){this.setState({frequency:q.value})}.bind(this);this.$KeywordSubscribeAddButton1=function(){this.setState({dialogShown:true})}.bind(this);this.state={dialogShown:false,keywordText:"",frequency:"IMMEDIATE"}}n.prototype.render=function(){return c("React").createElement("div",{className:this.props.className},c("React").createElement(c("XUIButton.react"),{style:this.props.buttonStyle,image:c("React").createElement(c("Image.react"),{src:h("115410")}),onClick:this.$KeywordSubscribeAddButton1,ref:"button",label:"Add Keyword",use:"confirm"}),c("React").createElement(c("XUIDialog.react"),{causalElementRef:function(){return this.refs.button}.bind(this),shown:this.state.dialogShown,behaviors:{},onToggle:this.$KeywordSubscribeAddButton2,fixedTopPosition:null,width:n.dialogWidth},c("React").createElement(c("XUIDialogTitle.react"),null,c("React").createElement("span",null,"Add Keyword")),c("React").createElement(c("XUIDialogBody.react"),null,c("React").createElement("p",{className:"_21lj"},"For better results, we suggest you to go with specific keywords. Keywords are not case sensitive."),c("React").createElement("label",{className:"_55r3 focus_target _3-95 _21lk"},c("React").createElement(c("Image.react"),{src:h("113806"),className:"_55r5"}),c("React").createElement(c("XUITextInput.react"),{placeholder:"Enter Keyword",className:"_55r4",value:this.state.keywordText,onChange:this.$KeywordSubscribeAddButton3,style:{paddingTop:"4px"}})),c("React").createElement("span",{className:"_21lj"},"How do you want to receive it?"),c("React").createElement("div",{className:"_2pic"},c("React").createElement(c("KeywordSubscribeConfiguration.react"),{frequencyOption:this.state.frequency,onFrequencyChange:this.$KeywordSubscribeAddButton4}))),c("React").createElement(c("XUIDialogFooter.react"),{leftContent:c("React").createElement("span",null)},c("React").createElement(c("XUIDialogButton.react"),{use:"default",action:"cancel",label:"Cancel"}),c("React").createElement(c("XUIDialogButton.react"),{use:"confirm",action:"confirm",label:"Add",onClick:this.$KeywordSubscribeAddButton5}))))};n.propTypes={buttonStyle:m.string,className:m.string,viewer:m.any.isRequired};n.dialogWidth=379;var o=c("RelayClassic_DEPRECATED").createContainer(n,{fragments:{viewer:function p(){return function(q){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(q)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeAddButton_react_ViewerRelayQL",type:"Viewer"}}(c("KeywordSubscribeCreateMutation").getFragment("viewer"))}}});o.moduleName="KeywordSubscribeAddButton.react";f.exports=o}),null);
__d("KeywordSubscribeDigestRoute",["RelayClassic_DEPRECATED"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("RelayClassic_DEPRECATED").Route);i=h&&h.prototype;function j(){h.apply(this,arguments)}j.routeName="KeywordSubscribeDigestRoute";j.path="/keyword/controller/digest";j.paramDefinitions={};j.queries={viewer:function k(l){return function(m){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(m)]),fieldName:"viewer",kind:"Query",metadata:{},name:"KeywordSubscribeDigestRoute",type:"Viewer"}}(l.getFragment("viewer"))}};f.exports=j}),null);
__d("KeywordSubscribeDeleteMutation",["RelayClassic_DEPRECATED","RelayCompat","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("RelayCompat").MutationTypes,k=c("React").PropTypes;h=babelHelpers.inherits(l,c("RelayClassic_DEPRECATED").Mutation);i=h&&h.prototype;l.prototype.getMutation=function(){return function(){return{calls:[{kind:"Call",metadata:{},name:"remove_subscribe_keyword",value:{kind:"CallVariable",callVariableName:"input"}}],children:[{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],kind:"Mutation",metadata:{inputType:"RemoveSubscribeKeywordData!"},name:"KeywordSubscribeDeleteMutation",responseType:"RemoveSubscribeKeywordResponsePayload"}}()};l.prototype.getOptimisticResponse=function(){return{keyword_id:this.props.keyword.id,user:{subscribedKeywords:this.props.viewer.actor.subscribedKeywords}}};l.prototype.getVariables=function(){return{actor_id:this.props.viewer.actor.id,keyword_id:this.props.keyword.id}};l.prototype.getFatQuery=function(){return function(){return{children:[{fieldName:"keyword_id",kind:"Field",metadata:{},type:"ID"},{children:[{alias:"subscribedKeywords",fieldName:"subscribed_keywords",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"KeywordSubscribeFromOwnerConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"user",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"User"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{pattern:true},name:"KeywordSubscribeDeleteMutationRelayQL",type:"RemoveSubscribeKeywordResponsePayload"}}()};l.prototype.getConfigs=function(){return[{type:j.RANGE_DELETE,parentName:"user",parentID:this.props.viewer.actor.id,connectionName:"keywords",deletedIDFieldName:"keyword_id",pathToConnection:["actor","subscribedKeywords"]}]};function l(){h.apply(this,arguments)}l.propTypes={keyword:k.any.isRequired,viewer:k.any.isRequired};l.fragments={keyword:function m(){return function(){return{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeDeleteMutation_KeywordRelayQL",type:"KeywordSubscribe"}}()},viewer:function m(){return function(){return{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeDeleteMutation_ViewerRelayQL",type:"Viewer"}}()}};f.exports=l}),null);
__d("KeywordSubscribeEditMutation",["RelayClassic_DEPRECATED","RelayCompat","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("RelayCompat").MutationTypes,k=c("React").PropTypes;h=babelHelpers.inherits(l,c("RelayClassic_DEPRECATED").Mutation);i=h&&h.prototype;l.prototype.getMutation=function(){return function(){return{calls:[{kind:"Call",metadata:{},name:"edit_subscribe_keyword",value:{kind:"CallVariable",callVariableName:"input"}}],children:[{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],kind:"Mutation",metadata:{inputType:"EditSubscribeKeywordData!"},name:"KeywordSubscribeEditMutation",responseType:"EditSubscribeKeywordResponsePayload"}}()};l.prototype.getVariables=function(){return{actor_id:this.props.viewer.actor.id,keyword_id:this.props.keyword.id,notification_frequency:this.props.frequency}};l.prototype.getFatQuery=function(){return function(){return{children:[{alias:"keywordData",children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{alias:"notificationFrequency",fieldName:"notification_frequency",kind:"Field",metadata:{},type:"KeywordSubscribeNotifFrequencyEnum"}],fieldName:"keyword_data",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"KeywordSubscribe"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{pattern:true},name:"KeywordSubscribeEditMutationRelayQL",type:"EditSubscribeKeywordResponsePayload"}}()};l.prototype.getConfigs=function(){return[{type:j.FIELDS_CHANGE,fieldIDs:{keyword_data:this.props.keyword.id}}]};function l(){h.apply(this,arguments)}l.propTypes={frequency:k.string.isRequired,keyword:k.any.isRequired,viewer:k.any.isRequired};l.fragments={keyword:function m(){return function(){return{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeEditMutation_KeywordRelayQL",type:"KeywordSubscribe"}}()},viewer:function m(){return function(){return{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeEditMutation_ViewerRelayQL",type:"Viewer"}}()}};f.exports=l}),null);
__d("KeywordSubscribeEditDialog.react",["cx","KeywordSubscribeConfiguration.react","KeywordSubscribeEditMutation","React","RelayClassic_DEPRECATED","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(n){j.constructor.call(this,n);this.$KeywordSubscribeEditDialog1=function(){c("RelayClassic_DEPRECATED").Store.commitUpdate(new(c("KeywordSubscribeEditMutation"))({keyword:this.props.keyword,viewer:this.props.viewer,frequency:this.state.frequency}),{onSuccess:this.props.onToggle})}.bind(this);this.state={frequency:this.props.keyword.notificationFrequency}}l.prototype.render=function(){return c("React").createElement(c("XUIDialog.react"),{shown:true,behaviors:{},onToggle:this.props.onToggle,fixedTopPosition:null,width:l.dialogWidth},c("React").createElement(c("XUIDialogTitle.react"),null,c("React").createElement("span",null,"Keyword Settings")),c("React").createElement(c("XUIDialogBody.react"),null,c("React").createElement("p",{className:"_21lj _23i5"},"How do you want to receive updates on '",c("React").createElement("b",null,this.props.keyword.keyword),"'?"),c("React").createElement(c("KeywordSubscribeConfiguration.react"),{frequencyOption:this.state.frequency,onFrequencyChange:function(n){return this.setState({frequency:n.value})}.bind(this)})),c("React").createElement(c("XUIDialogFooter.react"),{leftContent:c("React").createElement("span",null)},c("React").createElement(c("XUIDialogButton.react"),{use:"default",action:"cancel",label:"Cancel"}),c("React").createElement(c("XUIDialogButton.react"),{use:"confirm",action:"confirm",label:"Save",onClick:this.$KeywordSubscribeEditDialog1})))};l.propTypes={keyword:k.any.isRequired,onToggle:k.func,viewer:k.any.isRequired};l.dialogWidth=446;var m=c("RelayClassic_DEPRECATED").createContainer(l,{fragments:{viewer:function n(){return function(o){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeEditDialog_react_ViewerRelayQL",type:"Viewer"}}(c("KeywordSubscribeEditMutation").getFragment("viewer"))},keyword:function n(){return function(o){return{children:[].concat.apply([],[{fieldName:"keyword",kind:"Field",metadata:{},type:"String"},{alias:"notificationFrequency",fieldName:"notification_frequency",kind:"Field",metadata:{},type:"KeywordSubscribeNotifFrequencyEnum"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeEditDialog_react_KeywordRelayQL",type:"KeywordSubscribe"}}(c("KeywordSubscribeEditMutation").getFragment("keyword"))}}});m.moduleName="KeywordSubscribeEditDialog.react";f.exports=m}),null);
__d("KeywordSubscribeItem.react",["ix","cx","fbglyph","getURIBuilder","goURI","Image.react","KeywordSubscribeDeleteMutation","KeywordSubscribeEditDialog.react","KeywordSubscribeSingleRoute","Link.react","PopoverMenu.react","React","RelayClassic_DEPRECATED","XUIDialog.react","XUIDialogBody.react","XUIDialogButton.react","XUIDialogFooter.react","XUIDialogTitle.react","ReactXUIMenu"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("ReactXUIMenu").Item,m=c("React").PropTypes;j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;function n(p){__p&&__p();k.constructor.call(this,p);this.$KeywordSubscribeItem4=function(){this.setState({editDialog:true})}.bind(this);this.$KeywordSubscribeItem8=function(){c("goURI")(c("getURIBuilder")(c("KeywordSubscribeSingleRoute")).setInt("keywordID",this.props.keyword.id).getURI(),true)}.bind(this);this.$KeywordSubscribeItem3=function(){c("RelayClassic_DEPRECATED").Store.commitUpdate(new(c("KeywordSubscribeDeleteMutation"))({keyword:this.props.keyword,viewer:this.props.viewer}),{onSuccess:this.props.goHome})}.bind(this);this.$KeywordSubscribeItem1=function(){this.setState({editDialog:false})}.bind(this);this.$KeywordSubscribeItem4=function(){this.setState({editDialog:true})}.bind(this);this.$KeywordSubscribeItem2=function(){this.setState({removeDialog:false})}.bind(this);this.$KeywordSubscribeItem5=function(){this.setState({removeDialog:true})}.bind(this);this.$KeywordSubscribeItem7=function(){this.setState({displayGear:false})}.bind(this);this.$KeywordSubscribeItem6=function(){this.setState({displayGear:true})}.bind(this);this.state={displayGear:false,editDialog:false,removeDialog:false};this.isKeywordSelected=this.props.relay.route.params.keywordID===this.props.keyword.id}n.prototype.render=function(){var p=this.props.keyword.unreadCount,q=null;if(this.state.editDialog)q=c("React").createElement(c("KeywordSubscribeEditDialog.react"),{onToggle:this.$KeywordSubscribeItem1,viewer:this.props.viewer,keyword:this.props.keyword});else if(this.state.removeDialog)q=c("React").createElement(c("XUIDialog.react"),{shown:true,behaviors:{},onToggle:this.$KeywordSubscribeItem2,fixedTopPosition:null,width:400},c("React").createElement(c("XUIDialogTitle.react"),null,c("React").createElement("span",null,"Remove Keyword")),c("React").createElement(c("XUIDialogBody.react"),null,c("React").createElement("p",{className:"_21lj"},"You won't receive future updates on '",c("React").createElement("b",null,this.props.keyword.keyword),"' anymore.")),c("React").createElement(c("XUIDialogFooter.react"),{leftContent:c("React").createElement("span",null)},c("React").createElement(c("XUIDialogButton.react"),{use:"default",action:"cancel",label:"Cancel"}),c("React").createElement(c("XUIDialogButton.react"),{use:"confirm",action:"confirm",label:"Ok",onClick:this.$KeywordSubscribeItem3})));var r=c("React").createElement(c("ReactXUIMenu"),null,c("React").createElement(l,{ref:"menuitem",onclick:this.$KeywordSubscribeItem4},"Edit Keyword"),c("React").createElement(l,{ref:"deletemenuitem",onclick:this.$KeywordSubscribeItem5},"Remove Keyword"));return c("React").createElement("div",null,c("React").createElement("div",{className:"_i0e",onMouseEnter:this.$KeywordSubscribeItem6,onMouseLeave:this.$KeywordSubscribeItem7,ref:"link"},c("React").createElement(c("Link.react"),{href:"#",className:"_i0f",onClick:this.$KeywordSubscribeItem8},this.isKeywordSelected?c("React").createElement("b",null,this.props.keyword.keyword):this.props.keyword.keyword),c("React").createElement("div",{className:"rfloat"},c("React").createElement(c("PopoverMenu.react"),{ref:"popovermenu",menu:r},c("React").createElement(c("Link.react"),{href:"#",style:{display:this.state.displayGear?"block":"none"}},c("React").createElement(c("Image.react"),{src:h("113416")}))),p>0&&!this.state.displayGear?c("React").createElement("span",{className:"_5tqi"},p<=n.MAX_COUNT?p:n.MAX_COUNT+"+"):null)),q)};n.propTypes={goHome:m.func.isRequired,keyword:m.any.isRequired,viewer:m.any.isRequired};n.MAX_COUNT=10;var o=c("RelayClassic_DEPRECATED").createContainer(n,{fragments:{viewer:function p(){return function(q,r){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(q),c("RelayClassic_DEPRECATED").QL.__frag(r)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeItem_react_ViewerRelayQL",type:"Viewer"}}(c("KeywordSubscribeDeleteMutation").getFragment("viewer"),c("KeywordSubscribeEditDialog.react").getFragment("viewer"))},keyword:function p(){return function(q,r){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"keyword",kind:"Field",metadata:{},type:"String"},{alias:"unreadCount",fieldName:"unread_count",kind:"Field",metadata:{},type:"Int"},c("RelayClassic_DEPRECATED").QL.__frag(q),c("RelayClassic_DEPRECATED").QL.__frag(r)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeItem_react_KeywordRelayQL",type:"KeywordSubscribe"}}(c("KeywordSubscribeDeleteMutation").getFragment("keyword"),c("KeywordSubscribeEditDialog.react").getFragment("keyword"))}}});o.moduleName="KeywordSubscribeItem.react";f.exports=o}),null);
__d("KeywordSubscribeAuxHomeRoot.react",["ix","cx","matchRoute","fbglyph","getURIBuilder","goURI","Image.react","KeywordSubscribeDigestRoute","KeywordSubscribeItem.react","Link.react","React","RelayClassic_DEPRECATED","Tooltip.react","XUICard.react","XUICardHeader.react","XUICardHeaderTitle.react","XUICardSection.react"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=c("React").PropTypes;k=babelHelpers.inherits(n,c("React").Component);l=k&&k.prototype;function n(p){__p&&__p();l.constructor.call(this,p);this.$KeywordSubscribeHomeAuxRoot1=function(){this.setState({tooltipIcon:true})}.bind(this);this.$KeywordSubscribeHomeAuxRoot2=function(){this.setState({tooltipIcon:false})}.bind(this);this.$KeywordSubscribeHomeAuxRoot4=function(){this.props.relay.setVariables({keywords:this.props.relay.variables.keywords+n.MORE_KEYWORDS})}.bind(this);this.state={tooltipIcon:false};this.digestSelected=false;j(this.props.relay.route,{KeywordSubscribeDigestRoute:function(){this.digestSelected=true}.bind(this)})}n.prototype.render=function(){var p="_3-96";return c("React").createElement("div",null,c("React").createElement(c("XUICard.react"),{className:p},c("React").createElement(c("XUICardHeader.react"),null,c("React").createElement(c("XUICardHeaderTitle.react"),null,"Keywords (",this.props.viewer.actor.keywords.count,")")),this.props.viewer.actor.keywords.count>0?c("React").createElement(c("XUICardSection.react"),null,c("React").createElement("div",{className:"_i0e",onMouseEnter:this.$KeywordSubscribeHomeAuxRoot1,onMouseLeave:this.$KeywordSubscribeHomeAuxRoot2},c("React").createElement(c("Link.react"),{href:"#",className:"_i0f",onClick:this.$KeywordSubscribeHomeAuxRoot3},this.digestSelected?c("React").createElement("span",null,c("React").createElement("b",null,"Keyword Digest")):c("React").createElement("span",null,"Keyword Digest")),this.state.tooltipIcon?c("React").createElement("div",{className:"rfloat"},c("React").createElement(c("Tooltip.react"),{tooltip:"The single place for all your keyword updates"},c("React").createElement(c("Image.react"),{src:h("126682")}))):null)):null,this.props.viewer.actor.keywords.edges.map(function(q){return c("React").createElement(c("XUICardSection.react"),{key:q.node.id},c("React").createElement(c("KeywordSubscribeItem.react"),{keyword:q.node,goHome:this.$KeywordSubscribeHomeAuxRoot3,viewer:this.props.viewer}))}.bind(this)),this.props.viewer.actor.keywords.page_info.hasNextPage?c("React").createElement(c("XUICardSection.react"),null,c("React").createElement(c("Link.react"),{onClick:this.$KeywordSubscribeHomeAuxRoot4},c("React").createElement("span",{className:"_2ph-"},"See more..."))):null))};n.prototype.$KeywordSubscribeHomeAuxRoot3=function(){c("goURI")(c("getURIBuilder")(c("KeywordSubscribeDigestRoute")).getURI())};n.propTypes={viewer:m.any.isRequired};n.MORE_KEYWORDS=10;var o=c("RelayClassic_DEPRECATED").createContainer(n,{initialVariables:{keywords:10},fragments:{viewer:function p(){return function(q,r){return{children:[].concat.apply([],[{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{alias:"keywords",calls:[{kind:"Call",metadata:{type:"Int"},name:"first",value:{kind:"CallVariable",callVariableName:"keywords"}}],children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"},{children:[{alias:"hasNextPage",fieldName:"has_next_page",kind:"Field",metadata:{isRequisite:true},type:"Boolean"},{fieldName:"has_previous_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"}],fieldName:"page_info",kind:"Field",metadata:{canHaveSubselections:true,isRequisite:true},type:"PageInfo"},{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(q)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribe",type:"KeywordSubscribe"}],fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"KeywordSubscribe"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"edges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"KeywordSubscribeFromOwnerEdge"}],fieldName:"subscribed_keywords",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"KeywordSubscribeFromOwnerConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"User",type:"User"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"},c("RelayClassic_DEPRECATED").QL.__frag(r)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeAuxHomeRoot_react_ViewerRelayQL",type:"Viewer"}}(c("KeywordSubscribeItem.react").getFragment("keyword"),c("KeywordSubscribeItem.react").getFragment("viewer"))}}});o.moduleName="KeywordSubscribeHomeAuxRoot.react";f.exports=o}),null);
__d("KeywordSubscribeEmptyPlaceholder.react",["cx","Image.react","React","XUICard.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.render=function(){return c("React").createElement("div",null,c("React").createElement(c("XUICard.react"),{className:"_12m1"},c("React").createElement(c("Image.react"),{src:"/images/enterprise_labs/sherlock_empty.png",className:"_3-8z"}),c("React").createElement("p",{className:"_12m2"},this.props.infoText)))};function l(){i.apply(this,arguments)}l.propTypes={infoText:k.string};f.exports=l}),null);
__d("RelayBaseStory_story.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayBaseStory_story",type:"Story",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"actor_count",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"feedback",storageKey:null,args:null,concreteType:"Feedback",plural:false,selections:[{kind:"FragmentSpread",name:"UFI_feedback",args:null}]},{kind:"LinkedField",alias:null,name:"sponsored_data",storageKey:null,args:null,concreteType:"SponsoredData",plural:false,selections:[{kind:"ScalarField",alias:null,name:"client_token",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"tracking",args:null,storageKey:null},{kind:"FragmentSpread",name:"StoryContent_story",args:null},{kind:"FragmentSpread",name:"StoryHeader_story",args:null},{kind:"FragmentSpread",name:"UFI_story",args:null}]};f.exports=h}),null);
__d("RelayBaseStory_viewer.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayBaseStory_viewer",type:"Viewer",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"UFI_viewer",args:null}]};f.exports=h}),null);
__d("RelayEntityLink_entity.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayEntityLink_entity",type:"Entity",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]};f.exports=h}),null);
__d("RelayEntityLink.react",["cx","Link.react","React","RelayCompat","joinClasses","RelayEntityLink_entity.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=c("React").PropTypes;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.$RelayEntityLink1=function(event){event.stopPropagation()};n.prototype.render=function(){var o=this.props,p=o.highlight,q=o.className,r=babelHelpers.objectWithoutProperties(o,["highlight","className"]);q=c("joinClasses")(q,p?"_rc3":"");if(this.props.entity.url)return c("React").createElement(c("Link.react"),babelHelpers["extends"]({},r,{className:q,href:this.props.entity.url,onClick:function(s){return this.$RelayEntityLink1(s)}.bind(this)}),this.props.children);else return c("React").createElement("span",babelHelpers["extends"]({className:q},r),this.props.children)};function n(){i.apply(this,arguments)}n.propTypes={highlight:m.bool,entity:m.shape({url:m.string}),target:m.string};f.exports=k(n,{entity:{modern:function o(){return c("RelayEntityLink_entity.graphql")},classic:function o(p){return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:p.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],id:p.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayEntityLink_entity",type:"Entity"}}()}}}})}),null);
__d("RelayEventCard_event.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayEventCard_event",type:"Event",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"EntityLink_entity",args:null},{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"event_place",storageKey:null,args:null,concreteType:null,plural:false,selections:[{kind:"ScalarField",alias:null,name:"contextual_name",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"cover_photo",storageKey:null,args:null,concreteType:"FocusedPhoto",plural:false,selections:[{kind:"FragmentSpread",name:"FocusedPhoto_photo",args:null}]},{kind:"LinkedField",alias:null,name:"time_range",storageKey:null,args:null,concreteType:"EventTimeRange",plural:false,selections:[{kind:"ScalarField",alias:null,name:"start",args:null,storageKey:null}]},{kind:"ScalarField",alias:null,name:"start_time_sentence",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"viewer_guest_status",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"event_viewer_capability",storageKey:null,args:null,concreteType:"EventViewerCapability",plural:false,selections:[{kind:"ScalarField",alias:null,name:"is_viewer_admin",args:null,storageKey:null}]}]};f.exports=h}),null);
__d("RelayEventCard.react",["cx","React","RelayEntityLink.react","Image.react","Link.react","RelayFocusedPhoto.react","formatDate","ISO8601","RelayCompat","RelayEventCard_event.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql;i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;m.prototype.$RelayEventCard1=function(event){var n=c("ISO8601").toDate(event.time_range.start),o=c("formatDate")(n,"M"),p=c("formatDate")(n,"d");return c("React").createElement("div",{className:"_2kk1"},c("React").createElement("div",{className:"_2kk2"},o),c("React").createElement("div",{className:"_2kk3"},p))};m.prototype.$RelayEventCard2=function(event){var n=event.cover_photo;return c("React").createElement("div",{className:"_2kk4"},c("React").createElement("div",{className:"_2kk5"+(!n?" _2kk6":"")+" _2cpc"},c("React").createElement(c("RelayFocusedPhoto.react"),{photo:n}),c("React").createElement("div",{className:"_2kk7"})),c("React").createElement("div",{className:"_2kk8"},event.name),c("React").createElement("span",{className:"_2kk9"}))};m.prototype.$RelayEventCard3=function(event){var n=void 0;if(event.event_place)n=event.event_place.contextual_name;return c("React").createElement("div",{className:"_2kkb"},c("React").createElement("div",null,event.start_time_sentence),c("React").createElement("div",null,n))};m.prototype.render=function(){var event=this.props.event;return c("React").createElement("div",{className:"_2kkc"},c("React").createElement(c("RelayEntityLink.react"),{entity:event},this.$RelayEventCard2(event)),c("React").createElement("div",{className:"_2kkd"},this.$RelayEventCard1(event),this.$RelayEventCard3(event)))};function m(){i.apply(this,arguments)}f.exports=k(m,{event:{modern:function n(){return c("RelayEventCard_event.graphql")},classic:function n(o){var p=c("RelayEntityLink.react").getFragment("entity"),q=c("RelayFocusedPhoto.react").getFragment("photo");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"contextual_name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:o.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"event_place",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Place"},{children:[].concat.apply([],[o.__frag(q)]),fieldName:"cover_photo",kind:"Field",metadata:{canHaveSubselections:true},type:"FocusedPhoto"},{children:[{fieldName:"start",kind:"Field",metadata:{},type:"String"}],directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"time_range",kind:"Field",metadata:{canHaveSubselections:true},type:"EventTimeRange"},{fieldName:"start_time_sentence",kind:"Field",metadata:{},type:"String"},{fieldName:"viewer_guest_status",kind:"Field",metadata:{},type:"EventGuestStatus"},{children:[{fieldName:"is_viewer_admin",kind:"Field",metadata:{},type:"Boolean"}],fieldName:"event_viewer_capability",kind:"Field",metadata:{canHaveSubselections:true},type:"EventViewerCapability"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},o.__frag(p)]),id:o.__id(),kind:"Fragment",metadata:{},name:"RelayEventCard_event",type:"Event"}}()}}}})}),null);
__d("RelayPageCard_page.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayPageCard_page",type:"Page",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"category_names",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"does_viewer_like",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"page_likers",storageKey:null,args:null,concreteType:"PageLikersConnection",plural:false,selections:[{kind:"ScalarField",alias:null,name:"count",args:null,storageKey:null}]},{kind:"FragmentSpread",name:"ProfileCard_profile",args:null}]};f.exports=h}),null);
__d("RelayPixelRatio",["PixelRatioInitialData"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(j){if(j<1.5)return 1;else if(j<2)return 1.5;else return 2}var i={get:function j(){return h(c("PixelRatioInitialData").value)}};f.exports=i}),null);
__d("RelayProfileCard.react",["cx","RelayPixelRatio","React","RelayClassic_DEPRECATED","RelayEntityLink.react","RelayFocusedPhoto.react","cssURL"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=52;i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;m.prototype.$RelayProfileCard1=function(n){var o=n.cover_photo;if(this.props.coverPhotoOverride)return this.props.coverPhotoOverride;else if(o)return c("React").createElement(c("RelayFocusedPhoto.react"),{photo:o})};m.prototype.$RelayProfileCard2=function(n){var o=this.$RelayProfileCard1(n);if(o||this.props.showPlaceholderCoverPhoto)return c("React").createElement("div",{className:"_38m- _2cpc"},o)};m.prototype.$RelayProfileCard3=function(n){var o=n.profile_picture&&n.profile_picture.uri;if(o&&this.props.showProfilePicture){var p={backgroundImage:c("cssURL")(o)};return c("React").createElement(c("RelayEntityLink.react"),{className:"_38m_ _2cpc",entity:n},c("React").createElement("div",{className:"_38n0",style:p}))}};m.prototype.$RelayProfileCard4=function(n){var o="_38n1"+(n.is_verified?" _38n2":"");return c("React").createElement("header",{className:"_38n3"},c("React").createElement(c("RelayEntityLink.react"),{className:o,entity:n,highlight:true},c("React").createElement("span",{className:"_38n4"},n.name)))};m.prototype.$RelayProfileCard5=function(n){if(n)return c("React").createElement("div",{className:"_38n5"},n)};m.prototype.$RelayProfileCard6=function(n){if(n)return c("React").createElement("div",{className:"_38n6"},n)};m.prototype.$RelayProfileCard7=function(n){if(n)return c("React").createElement("div",{className:"_38n7"},n)};m.prototype.$RelayProfileCard8=function(n,o){var p=this.props,q=p.subtitle,r=p.actions,s=p.metadata,t=this.$RelayProfileCard7(r),u="_38n8"+(t?" _38n9":""),v="_38na"+(!!o?" _38nb":"");return c("React").createElement("div",{className:v},this.$RelayProfileCard3(n),c("React").createElement("div",{className:u},this.$RelayProfileCard4(n),this.$RelayProfileCard5(q),this.$RelayProfileCard6(s)),t)};m.prototype.render=function(){var n=this.props.profile,o=this.$RelayProfileCard2(n);return c("React").createElement("div",{className:"_38nc"},c("React").createElement(c("RelayEntityLink.react"),{entity:n},o),this.$RelayProfileCard8(n,o))};function m(){i.apply(this,arguments)}m.defaultProps={showProfilePicture:true,showPlaceholderCoverPhoto:false};m.propTypes={actions:k.node,coverPhotoOverride:k.node,showPlaceholderCoverPhoto:k.bool,showProfilePicture:k.bool,metadata:k.node,subtitle:k.node};f.exports=c("RelayClassic_DEPRECATED").createContainer(m,{initialVariables:{pixelRatio:c("RelayPixelRatio").get(),profilePictureSize:l},fragments:{profile:function n(){return function(o,p){return{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"is_verified",kind:"Field",metadata:{},type:"Boolean"},{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(o)]),directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"cover_photo",kind:"Field",metadata:{canHaveSubselections:true},type:"FocusedPhoto"},{fieldName:"name",kind:"Field",metadata:{},type:"String"},{calls:[{kind:"Call",metadata:{type:"Float"},name:"scale",value:{kind:"CallVariable",callVariableName:"pixelRatio"}},{kind:"Call",metadata:{type:"Int"},name:"size__width",value:{kind:"CallVariable",callVariableName:"profilePictureSize"}}],children:[{fieldName:"uri",kind:"Field",metadata:{},type:"Url"}],directives:[{kind:"Directive",name:"fixme_call_args",args:[]}],fieldName:"profile_picture",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(p)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayProfileCard_react_ProfileRelayQL",type:"Profile"}}(c("RelayFocusedPhoto.react").getFragment("photo"),c("RelayEntityLink.react").getFragment("entity"))}}})}),null);
__d("RelayPageCard.react",["fbt","React","RelayCompat","Link.react","RelayProfileCard.react","formatNumber","RelayPageCard_page.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=c("React").PropTypes;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.$RelayPageCard1=function(o){var p=o.page_likers;if(this.props.metadata)return this.props.metadata;else if(p&&p.count){var q=p.count;if(q===1)return h._("1 like");else return h._("{like count} likes",[h.param("like count",c("formatNumber").withThousandDelimiters(q))])}};n.prototype.render=function(){var o=this.props.page,p=o.category_names&&o.category_names.length&&o.category_names[0];return c("React").createElement(c("RelayProfileCard.react"),babelHelpers["extends"]({},this.props,{metadata:this.$RelayPageCard1(o),profile:o,subtitle:p}))};function n(){i.apply(this,arguments)}n.propTypes={metadata:m.node};f.exports=k(n,{page:{modern:function o(){return c("RelayPageCard_page.graphql")},classic:function o(p){var q=c("RelayProfileCard.react").getFragment("profile");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"category_names",kind:"Field",metadata:{isPlural:true},type:"String"},{fieldName:"does_viewer_like",kind:"Field",metadata:{},type:"Boolean"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"page_likers",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"PageLikersConnection"},p.__frag(q)]),id:p.__id(),kind:"Fragment",metadata:{},name:"RelayPageCard_page",type:"Page"}}()}}}})}),null);
__d("RelayStoryAttachmentLifeEvent_attachment.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryAttachmentLifeEvent_attachment",type:"StoryAttachment",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"properties",storageKey:null,args:null,concreteType:"AttachmentProperty",plural:true,selections:[{kind:"ScalarField",alias:null,name:"key",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"value",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:null,name:"subattachments",storageKey:null,args:null,concreteType:"StoryAttachment",plural:true,selections:[{kind:"LinkedField",alias:null,name:"media",storageKey:null,args:null,concreteType:null,plural:false,selections:[{kind:"FragmentSpread",name:"StoryAttachmentMedia_media",args:null}]},{kind:"LinkedField",alias:null,name:"target",storageKey:null,args:null,concreteType:null,plural:false,selections:[{kind:"FragmentSpread",name:"StoryAttachmentMedia_target",args:null}]}]},{kind:"FragmentSpread",name:"StoryAttachmentSet_attachment",args:null}]};f.exports=h}),null);
__d("FlexibleImage.react",["React","cssPercent","cssURL"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;k.prototype.render=function(){return c("React").createElement("div",{className:this.props.className,style:babelHelpers["extends"]({},this.props.style||{},{backgroundImage:c("cssURL")(this.props.src),backgroundPositionX:c("cssPercent")(this.props.offset.x),backgroundPositionY:c("cssPercent")(this.props.offset.y),backgroundRepeat:"no-repeat",backgroundSize:this.props.mode,paddingBottom:c("cssPercent")(this.props.ratio)})})};function k(){h.apply(this,arguments)}k.defaultProps={offset:{x:0,y:0},ratio:1,mode:"cover"};k.propTypes={offset:j.shape({x:j.number,y:j.number}),ratio:j.number,src:j.string.isRequired,mode:j.oneOf(["cover","contain"])};f.exports=k}),null);
__d("RelayStoryAttachmentImage.react",["cx","RelayPixelRatio","React","RelayClassic_DEPRECATED","FlexibleImage.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=.75,m=490;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.render=function(){var p=this.props.media,q=p.image;if(!q)return null;var r=this.props.ratio||Math.min(l,q.height/q.width),s=this.props.offset,t=void 0;if(this.props.layout==="letterbox"){s={x:.5,y:.5};t="_11z9"}return c("React").createElement(c("FlexibleImage.react"),babelHelpers["extends"]({},this.props,{className:t,offset:s,ratio:r,src:q.uri}))};function n(){i.apply(this,arguments)}n.defaultProps={layout:"leftalign"};n.propTypes={layout:k.oneOf(["leftalign","letterbox"]),offset:k.shape({x:k.number,y:k.number}),ratio:k.number};var o=c("RelayClassic_DEPRECATED").createContainer(n,{fragments:{media:function p(){return function(q){return{children:[{calls:[{kind:"Call",metadata:{},name:"media_type",value:{kind:"CallValue",callValue:"image/jpeg"}},{kind:"Call",metadata:{type:"Int"},name:"size__width",value:c("RelayClassic_DEPRECATED").QL.__var(q)},{kind:"Call",metadata:{},name:"sizing",value:{kind:"CallValue",callValue:"contain-fit"}}],children:[{fieldName:"height",kind:"Field",metadata:{},type:"Int"},{fieldName:"uri",kind:"Field",metadata:{},type:"Url"},{fieldName:"width",kind:"Field",metadata:{},type:"Int"}],directives:[{kind:"Directive",name:"fixme_call_args",args:[]}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayStoryAttachmentImage_react_MediaRelayQL",type:"Media"}}(m*c("RelayPixelRatio").get())}}});f.exports=o}),null);
__d("RelayStoryAttachmentMedia_media.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryAttachmentMedia_media",type:"Media",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"playable_url",args:null,storageKey:null},{kind:"FragmentSpread",name:"StoryAttachmentImage_media",args:null},{kind:"FragmentSpread",name:"Video_media",args:null}]};f.exports=h}),null);
__d("RelayStoryAttachmentMedia_target.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryAttachmentMedia_target",type:"Node",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]};f.exports=h}),null);
__d("RelayStoryVideo_media.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryVideo_media",type:"Media",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"playable_url",args:[{kind:"Literal",name:"quality",value:"HD",type:"VideoQuality"}],storageKey:'playable_url(quality:"HD")'},{kind:"FragmentSpread",name:"StoryAttachmentImage_media",args:null}]};f.exports=h}),null);
__d("getIframeEmbedURLFromPlayerURL",["PHPQuerySerializer","TabletEmbeddedVideoProviders","URI","warning"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){__p&&__p();var j=new(c("URI"))(i).setProtocol("https"),k=c("TabletEmbeddedVideoProviders").providers[j.getDomain()];if(!k)return null;if(k.domain)j.setDomain(k.domain);if(k.path)j.setPath(k.path.replace(/{([\w-]+)}/g,function(l,m){var n=j.getQueryData()[m];if(n===undefined){c("warning")(false,"getIframeEmbedURLFromPlayerURL did not find query param %s on videoURL %s",m,j);return""}return n}));else if(k.path_replace)j.setPath(j.getPath().replace(k.path_replace.search,k.path_replace.replace));if(k.querydata_remove)k.querydata_remove.forEach(j.removeQueryData,j);if(k.querydata_add)j.addQueryData(c("PHPQuerySerializer").deserialize(k.querydata_add));return j}f.exports=h}),null);
__d("RelayStoryVideo.react",["cx","React","ReactDOM","RelayCompat","URI","ControlledRefererIFrame.react","RelayStoryAttachmentImage.react","getIframeEmbedURLFromPlayerURL","joinClasses","RelayStoryVideo_media.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=c("React").PropTypes,n=1024;i=babelHelpers.inherits(o,c("React").Component);j=i&&i.prototype;function o(p,q){j.constructor.call(this,p,q);this.$RelayStoryVideo1=function(r){r.preventDefault();this.setState({isPlaying:true})}.bind(this);this.state={isPlaying:false}}o.prototype.componentDidUpdate=function(p,q){if(this.state.isPlaying&&!q.isPlaying)this.refs.video&&c("ReactDOM").findDOMNode(this.refs.video).play()};o.prototype.render=function(){__p&&__p();var p=this.props,q=p.media,r=p.ratio,s=babelHelpers.objectWithoutProperties(p,["media","ratio"]),t=q.playable_url,u=c("React").createElement(c("RelayStoryAttachmentImage.react"),{layout:"letterbox",className:"_4-89",media:q,ratio:r,mode:"contain"}),v=c("joinClasses")(this.props.className,"_4-8a");if(this.state.isPlaying){var w=c("getIframeEmbedURLFromPlayerURL")(t);if(w)return c("React").createElement(c("ControlledRefererIFrame.react"),{className:v,frameBorder:"0",height:"267px",width:"100%",src:w.toString()});else{t=new(c("URI"))(t).setProtocol("https").toString();return c("React").createElement("div",babelHelpers["extends"]({},s,{className:v}),u,c("React").createElement("video",{className:"_4-8b",controls:true,src:t,ref:"video"}))}}else return c("React").createElement("a",babelHelpers["extends"]({},s,{className:v,onClick:this.$RelayStoryVideo1,role:"button",tabIndex:"0"}),u,c("React").createElement("div",{className:"_4-8c"}))};o.propTypes={ratio:m.number};f.exports=k(o,{media:{modern:function p(){return c("RelayStoryVideo_media.graphql")},classic:function p(q){var r=c("RelayStoryAttachmentImage.react").getFragment("media");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{calls:[{kind:"Call",metadata:{type:"VideoQuality"},name:"quality",value:{kind:"CallValue",callValue:"HD"}}],fieldName:"playable_url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},q.__frag(r),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayStoryVideo_media",type:"Media"}}()}}}})}),null);
__d("RelayStoryAttachmentMedia.react",["cx","React","RelayCompat","RelayStoryAttachmentImage.react","RelayStoryVideo.react","RelayStoryAttachmentMedia_target.graphql","RelayStoryAttachmentMedia_media.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql;i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;m.prototype.render=function(){var n=this.props.media;if(!n)return null;if(n.playable_url)return c("React").createElement(c("RelayStoryVideo.react"),babelHelpers["extends"]({},this.props,{media:n}));return c("React").createElement("div",{className:"_5lc_"},c("React").createElement("a",{href:this.props.target?this.props.target.url:null,target:"_blank",className:"_5ld0"},c("React").createElement("div",{className:"_5ld1"},c("React").createElement(c("RelayStoryAttachmentImage.react"),{media:n,mode:"contain"}))))};function m(){i.apply(this,arguments)}f.exports=k(m,{target:{modern:function n(){return c("RelayStoryAttachmentMedia_target.graphql")},classic:function n(o){return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:o.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayStoryAttachmentMedia_target",type:"Node"}}()}}},media:{modern:function n(){return c("RelayStoryAttachmentMedia_media.graphql")},classic:function n(o){var p=c("RelayStoryAttachmentImage.react").getFragment("media"),q=c("RelayStoryVideo.react").getFragment("media");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"playable_url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},o.__frag(p),o.__frag(q),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:o.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),id:o.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayStoryAttachmentMedia_media",type:"Media"}}()}}}})}),null);
__d("RelayStoryAttachmentSetMedia_media.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryAttachmentSetMedia_media",type:"Media",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"FragmentSpread",name:"StoryAttachmentImage_media",args:null}]};f.exports=h}),null);
__d("RelayStoryAttachmentSetMedia_target.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryAttachmentSetMedia_target",type:"Node",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]};f.exports=h}),null);
__d("RelayStoryAttachmentSetMedia.react",["cx","React","RelayCompat","RelayStoryAttachmentImage.react","RelayStoryAttachmentSetMedia_target.graphql","RelayStoryAttachmentSetMedia_media.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=c("React").PropTypes,n=m.shape({left:m.number,height:m.number,top:m.number,width:m.number}).isRequired;i=babelHelpers.inherits(o,c("React").Component);j=i&&i.prototype;o.prototype.$RelayStoryAttachmentSetMedia1=function(p,q,r){return c("React").createElement("a",{href:q.url,className:"_4sc4 _2cpc"},c("React").createElement(c("RelayStoryAttachmentImage.react"),{media:p,offset:{x:.5,y:.5},ratio:this.props.coords.height/this.props.coords.width}))};o.prototype.render=function(){var p=this.props,q=p.media,r=p.layout;return c("React").createElement("li",{key:q.id,className:"_4sc5",style:{marginLeft:r.left!==0?"1px":0,marginTop:r.top!==0?"1px":0,left:r.left+"%",top:r.top+"%",width:r.width+"%",height:r.height+"%"}},this.$RelayStoryAttachmentSetMedia1(q,this.props.target,this.props.coords))};function o(){i.apply(this,arguments)}o.propTypes={layout:n,coords:n};f.exports=k(o,{target:{modern:function p(){return c("RelayStoryAttachmentSetMedia_target.graphql")},classic:function p(q){return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayStoryAttachmentSetMedia_target",type:"Node"}}()}}},media:{modern:function p(){return c("RelayStoryAttachmentSetMedia_media.graphql")},classic:function p(q){var r=c("RelayStoryAttachmentImage.react").getFragment("media");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"id",kind:"Field",metadata:{},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},q.__frag(r),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayStoryAttachmentSetMedia_media",type:"Media"}}()}}}})}),null);
__d("RelayStoryAttachmentSet_attachment.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryAttachmentSet_attachment",type:"StoryAttachment",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"subattachments",storageKey:null,args:null,concreteType:"StoryAttachment",plural:true,selections:[{kind:"LinkedField",alias:null,name:"properties",storageKey:null,args:null,concreteType:"AttachmentProperty",plural:true,selections:[{kind:"ScalarField",alias:null,name:"key",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"value",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}]}]},{kind:"LinkedField",alias:null,name:"media",storageKey:null,args:null,concreteType:null,plural:false,selections:[{kind:"FragmentSpread",name:"StoryAttachmentSetMedia_media",args:null}]}]},{kind:"LinkedField",alias:null,name:"target",storageKey:null,args:null,concreteType:null,plural:false,selections:[{kind:"FragmentSpread",name:"StoryAttachmentSetMedia_target",args:null}]}]};f.exports=h}),null);
__d("RelayStoryAttachmentSet.react",["cx","React","RelayCompat","RelayStoryAttachmentSetMedia.react","cssPercent","RelayStoryAttachmentSet_attachment.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m={layout_h:"height",layout_w:"width",layout_x:"left",layout_y:"top"};function n(p){return p.coords.width!==0&&p.coords.height!==0}i=babelHelpers.inherits(o,c("React").Component);j=i&&i.prototype;function o(){var p,q;for(var r=arguments.length,s=Array(r),t=0;t<r;t++)s[t]=arguments[t];return q=(p=j.constructor).call.apply(p,[this].concat(s)),this.$RelayStoryAttachmentSet3=function(u,v){return c("React").createElement(c("RelayStoryAttachmentSetMedia.react"),{coords:u.coords,media:u.originalAttachment.media,key:v,layout:u.layout,target:this.props.attachment.target})}.bind(this),q}o.prototype.$RelayStoryAttachmentSet1=function(p,q){__p&&__p();var r={coords:{}};if(p.properties)p.properties.forEach(function(s){var t=m[s.key];if(t)r.coords[t]=parseInt(s.value.text,10)});if(q===1&&!r.coords.width&&!r.coords.height)r.coords.width=r.coords.height=1;r.originalAttachment=p;return r};o.prototype.$RelayStoryAttachmentSet2=function(p,q,r){var s=p.coords,t=s.width/r*100,u=s.height/q*100,v=s.left/r*100,w=s.top/q*100;p.layout={width:t,height:u,left:v,top:w};return p};o.prototype.render=function(){__p&&__p();var p=0,q=0,r={},s=this.props.attachment.subattachments,t=s.length,u=s.map(function(v){return this.$RelayStoryAttachmentSet1(v,t)}.bind(this)).filter(n);if(!u.length)return null;u.forEach(function(v){p=Math.max(p,v.coords.top+v.coords.height);q=Math.max(q,v.coords.left+v.coords.width)});u=u.map(function(v){return this.$RelayStoryAttachmentSet2(v,p,q)}.bind(this)).map(this.$RelayStoryAttachmentSet3);r.paddingBottom=c("cssPercent")(p/q);return c("React").createElement("ul",{className:"_58-t",style:r},u)};f.exports=k(o,{attachment:{modern:function p(){return c("RelayStoryAttachmentSet_attachment.graphql")},classic:function p(q){var r=c("RelayStoryAttachmentSetMedia.react").getFragment("media"),s=c("RelayStoryAttachmentSetMedia.react").getFragment("target");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[{children:[{children:[{fieldName:"key",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"value",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"}],fieldName:"properties",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"AttachmentProperty"},{children:[].concat.apply([],[{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},q.__frag(r),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),fieldName:"media",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"Media"}],fieldName:"subattachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},q.__frag(s)]),fieldName:"target",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"}],id:q.__id(),kind:"Fragment",metadata:{},name:"RelayStoryAttachmentSet_attachment",type:"StoryAttachment"}}()}}}})}),null);
__d("RelayStoryAttachmentLifeEvent.react",["cx","React","RelayCompat","RelayStoryAttachmentMedia.react","RelayStoryAttachmentSet.react","TextWithEntities.react","cssURL","RelayStoryAttachmentLifeEvent_attachment.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m={Title:"title",Subtitle:"primarySubtitle","Under Subtitle":"secondarySubtitle"},n={Icon:"icon"};i=babelHelpers.inherits(o,c("React").Component);j=i&&i.prototype;o.prototype.$RelayStoryAttachmentLifeEvent1=function(p){__p&&__p();var q={};if(p.properties)p.properties.forEach(function(r){var s=r.key;if(m[s])q[m[s]]=r.value;else if(n[s])q[n[s]]=r.value.text});q.originalAttachment=p;return q};o.prototype.$RelayStoryAttachmentLifeEvent2=function(p){var q=p.icon;if(q){var r={backgroundImage:c("cssURL")(q)};return c("React").createElement("span",{className:"_3s-u",style:r})}};o.prototype.$RelayStoryAttachmentLifeEvent3=function(p){if(p.title)return c("React").createElement(c("TextWithEntities.react"),{className:"_3s-v",text:p.title})};o.prototype.$RelayStoryAttachmentLifeEvent4=function(p){var q="_3s-w",r=[p.primarySubtitle,p.secondarySubtitle];return r.map(function(s,t){if(s)return c("React").createElement(c("TextWithEntities.react"),{key:"subtitle-"+t,text:s,className:q})})};o.prototype.$RelayStoryAttachmentLifeEvent5=function(p){return c("React").createElement("header",null,this.$RelayStoryAttachmentLifeEvent2(p),this.$RelayStoryAttachmentLifeEvent3(p),this.$RelayStoryAttachmentLifeEvent4(p))};o.prototype.$RelayStoryAttachmentLifeEvent6=function(p){__p&&__p();var q=p.originalAttachment,r=q.subattachments;if(r&&r.length){var s=void 0;if(r.length===1){var t=r[0];s=c("React").createElement(c("RelayStoryAttachmentMedia.react"),{target:t.target,media:t.media,layout:"letterbox"})}else s=c("React").createElement(c("RelayStoryAttachmentSet.react"),{attachment:q});return c("React").createElement("figure",{className:"_3s-x"},s)}};o.prototype.render=function(){var p=this.props.attachment,q=this.$RelayStoryAttachmentLifeEvent1(p);return c("React").createElement("div",{className:"_3s-y"},this.$RelayStoryAttachmentLifeEvent5(q),this.$RelayStoryAttachmentLifeEvent6(q))};function o(){i.apply(this,arguments)}f.exports=k(o,{attachment:{modern:function p(){return c("RelayStoryAttachmentLifeEvent_attachment.graphql")},classic:function p(q){var r=c("RelayStoryAttachmentMedia.react").getFragment("media"),s=c("RelayStoryAttachmentMedia.react").getFragment("target"),t=c("RelayStoryAttachmentSet.react").getFragment("attachment");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{children:[{fieldName:"key",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"value",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"}],fieldName:"properties",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"AttachmentProperty"},{children:[{children:[].concat.apply([],[{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},q.__frag(r),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),fieldName:"media",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"Media"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},q.__frag(s)]),fieldName:"target",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"}],fieldName:"subattachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},q.__frag(t)]),id:q.__id(),kind:"Fragment",metadata:{},name:"RelayStoryAttachmentLifeEvent_attachment",type:"StoryAttachment"}}()}}}})}),null);
__d("RelayStoryAttachmentText_attachment.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h=function(){var i=[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}];return{kind:"Fragment",name:"RelayStoryAttachmentText_attachment",type:"StoryAttachment",metadata:null,argumentDefinitions:[],selections:[{kind:"ScalarField",alias:null,name:"title",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"description",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:i},{kind:"LinkedField",alias:null,name:"source",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:i}]}}();f.exports=h}),null);
__d("RelayStoryAttachmentText.react",["cx","React","RelayCompat","LineClamp.react","joinClasses","RelayStoryAttachmentText_attachment.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=c("React").PropTypes;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.$RelayStoryAttachmentText1=function(o){var p=o.title;if(p)return c("React").createElement(c("LineClamp.react"),{lines:2},c("React").createElement("h3",{className:"_4-64"},p))};n.prototype.$RelayStoryAttachmentText2=function(o){var p=o.description;if(p&&p.text)return c("React").createElement("div",{className:"_4-6a ellipsis"},p.text)};n.prototype.$RelayStoryAttachmentText3=function(o){var p=o.source;if(p&&p.text)return c("React").createElement("div",{className:"_4-6b ellipsis"},p.text)};n.prototype.render=function(){var o=this.props.attachment;return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_4-6c")}),c("React").createElement("div",{className:"_4-6d"},this.$RelayStoryAttachmentText1(o),this.$RelayStoryAttachmentText2(o)),this.$RelayStoryAttachmentText3(o))};function n(){i.apply(this,arguments)}n.propTypes={title:m.string,source:m.string,description:m.object};f.exports=k(n,{attachment:{modern:function o(){return c("RelayStoryAttachmentText_attachment.graphql")},classic:function o(p){return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[{fieldName:"title",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"description",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"source",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"}],id:p.__id(),kind:"Fragment",metadata:{},name:"RelayStoryAttachmentText_attachment",type:"StoryAttachment"}}()}}}})}),null);
__d("RelayStoryAttachment_attachment.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h=function(){var i={kind:"ScalarField",alias:null,name:"__typename",args:null,storageKey:null},j={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},k={kind:"LinkedField",alias:null,name:"image",storageKey:null,args:null,concreteType:"Image",plural:false,selections:[i]};return{kind:"Fragment",name:"RelayStoryAttachment_attachment",type:"StoryAttachment",metadata:null,argumentDefinitions:[],selections:[i,{kind:"LinkedField",alias:null,name:"subattachments",storageKey:null,args:null,concreteType:"StoryAttachment",plural:true,selections:[{kind:"LinkedField",alias:null,name:"media",storageKey:null,args:null,concreteType:null,plural:false,selections:[i,j,k]}]},{kind:"LinkedField",alias:null,name:"media",storageKey:null,args:null,concreteType:null,plural:false,selections:[i,k,{kind:"FragmentSpread",name:"StoryAttachmentMedia_media",args:null}]},{kind:"LinkedField",alias:null,name:"target",storageKey:null,args:null,concreteType:null,plural:false,selections:[i,j,{kind:"FragmentSpread",name:"EventCard_event",args:null},{kind:"FragmentSpread",name:"PageCard_page",args:null},{kind:"FragmentSpread",name:"StoryAttachmentMedia_target",args:null},{kind:"FragmentSpread",name:"UserCard_user",args:null}]},{kind:"ScalarField",alias:null,name:"style_list",args:null,storageKey:null},{kind:"FragmentSpread",name:"StoryAttachmentLifeEvent_attachment",args:null},{kind:"FragmentSpread",name:"StoryAttachmentSet_attachment",args:null},{kind:"FragmentSpread",name:"StoryAttachmentText_attachment",args:null},{kind:"FragmentSpread",name:"StoryBoxAttachment_attachment",args:null}]}}();f.exports=h}),null);
__d("RelayStoryAttachment_story.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryAttachment_story",type:"Story",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"StoryBoxAttachment_story",args:null}]};f.exports=h}),null);
__d("RelayStoryBoxAttachment.react",["cx","RelayPixelRatio","React","RelayClassic_DEPRECATED","FlexibleImage.react","Link.react","RelayStoryAttachmentText.react","RelayStoryVideo.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("RelayPixelRatio").get()>1?1.25:1,m=.52,n=1,o=Math.round(52*l),p=Math.round(90*l),q=Math.round(72*l),r=Math.round(490*l),s=Math.round(112*l),t={NONE:{},VIDEO:{ratio:m,type:"large_image"},THUMB:{ratio:n,type:"thumb_image",width:o},SMALL:{ratio:n,type:"small_image",width:p},SMALL_ORGANIC:{ratio:n,type:"small_image",width:q},LARGE:{ratio:m,type:"large_image",width:r},LARGE_ORGANIC:{ratio:m,type:"large_image",width:s}};function u(y){var z=y.target;if(z)return z.url;return y.url}function v(y,z){var A=z.sponsored_data,B=y||!!(A&&A.show_sponsored_label);return!B&&z.__type__&&z.__type__.name!=="Page"}i=babelHelpers.inherits(w,c("React").Component);j=i&&i.prototype;function w(y,z){j.constructor.call(this,y,z)}w.prototype.$RelayStoryBoxAttachment1=function(y){__p&&__p();if(!y)return t.NONE;else if(y.playable_url)return t.VIDEO;var z=v(this.props.ancestorIsSponsored,this.props.story),A=[t.THUMB,z?t.SMALL_ORGANIC:t.SMALL,z?t.LARGE_ORGANIC:t.LARGE];return A.reduce(function(B,C){var D=C.width,E=C.width*C.ratio,F=y[C.type];if(F&&F.width>=D&&F.height>=E)return C;return B})};w.prototype.$RelayStoryBoxAttachment2=function(y){var z=y.type;switch(z){case t.THUMB.type:case t.SMALL.type:case t.LARGE.type:return true;default:return false}};w.prototype.$RelayStoryBoxAttachment3=function(y,z){if(!y||!y.playable_url)return null;return c("React").createElement(c("RelayStoryVideo.react"),{className:"_4bwb",media:y,ratio:z.ratio})};w.prototype.$RelayStoryBoxAttachment4=function(y,z){if(!y||y.playable_url)return;var A=y[z.type];if(!A)return;var B=this.$RelayStoryBoxAttachment2(z);return c("React").createElement("div",{className:"_4bwb"+(B?" _2cpc":"")},c("React").createElement(c("FlexibleImage.react"),{offset:{x:.5,y:.5},ratio:z.ratio,src:A.uri}))};w.prototype.$RelayStoryBoxAttachment5=function(y){if(y.title||y.description)return c("React").createElement(c("RelayStoryAttachmentText.react"),{attachment:y,className:"_4bwc"})};w.prototype.render=function(){var y=this.props.attachment,z=y.media,A=this.$RelayStoryBoxAttachment1(z),B=this.$RelayStoryBoxAttachment3(z,A),C=this.$RelayStoryBoxAttachment4(z,A),D=this.$RelayStoryBoxAttachment5(y),E=u(y),F="clearfix _4bwd"+(A.type===t.THUMB.type?" _4bwe":"")+(A.type===t.SMALL.type?" _4bwf":"")+(A.type===t.LARGE.type?" _4bwg":"");if(!E)return c("React").createElement("div",{className:F},B||C,D);else if(B)return c("React").createElement("div",{className:F},B,c("React").createElement(c("Link.react"),{href:E,target:"_blank"},D));else if(E)return c("React").createElement(c("Link.react"),{className:F,highlightClassName:"_4bwh",href:E,target:"_blank"},C,D)};w.propTypes={ancestorIsSponsored:k.bool,story:k.object};var x=c("RelayClassic_DEPRECATED").createContainer(w,{initialVariables:{thumbImageWidth:o,smallImageWidth:p,largeImageWidth:r},fragments:{attachment:function y(){return function(z,A){return{children:[].concat.apply([],[{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"id",kind:"Field",metadata:{},type:"ID"},{fieldName:"playable_url",kind:"Field",metadata:{},type:"Url"},{alias:"thumb_image",calls:[{kind:"Call",metadata:{type:"Int"},name:"size__width",value:{kind:"CallVariable",callVariableName:"thumbImageWidth"}},{kind:"Call",metadata:{},name:"sizing",value:{kind:"CallValue",callValue:"cover-fill"}}],children:[{fieldName:"uri",kind:"Field",metadata:{},type:"Url"},{fieldName:"height",kind:"Field",metadata:{},type:"Int"},{fieldName:"width",kind:"Field",metadata:{},type:"Int"}],directives:[{kind:"Directive",name:"fixme_call_args",args:[]}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{alias:"small_image",calls:[{kind:"Call",metadata:{type:"Int"},name:"size__width",value:{kind:"CallVariable",callVariableName:"smallImageWidth"}},{kind:"Call",metadata:{},name:"sizing",value:{kind:"CallValue",callValue:"cover-fill"}}],children:[{fieldName:"uri",kind:"Field",metadata:{},type:"Url"},{fieldName:"height",kind:"Field",metadata:{},type:"Int"},{fieldName:"width",kind:"Field",metadata:{},type:"Int"}],directives:[{kind:"Directive",name:"fixme_call_args",args:[]}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{alias:"large_image",calls:[{kind:"Call",metadata:{},name:"media_type",value:{kind:"CallValue",callValue:"image/jpeg"}},{kind:"Call",metadata:{type:"Int"},name:"size__width",value:{kind:"CallVariable",callVariableName:"largeImageWidth"}},{kind:"Call",metadata:{},name:"sizing",value:{kind:"CallValue",callValue:"contain-fit"}}],children:[{fieldName:"uri",kind:"Field",metadata:{},type:"Url"},{fieldName:"height",kind:"Field",metadata:{},type:"Int"},{fieldName:"width",kind:"Field",metadata:{},type:"Int"}],directives:[{kind:"Directive",name:"fixme_call_args",args:[]}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(z),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),fieldName:"media",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"Media"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"url",kind:"Field",metadata:{},type:"Url"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"username",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"target",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"},{fieldName:"title",kind:"Field",metadata:{},type:"String"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"}],fieldName:"description",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},c("RelayClassic_DEPRECATED").QL.__frag(A)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStoryBoxAttachment_react_AttachmentRelayQL",type:"StoryAttachment"}}(c("RelayStoryVideo.react").getFragment("media"),c("RelayStoryAttachmentText.react").getFragment("attachment"))},story:function y(){return function(){return{children:[{fieldName:"tracking",kind:"Field",metadata:{},type:"String"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStoryBoxAttachment_react_StoryRelayQL",type:"Story"}}()}}});x.THUMB_IMAGE_WIDTH=o;f.exports=x}),null);
__d("RelayUserCard_user.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayUserCard_user",type:"User",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"bio_text",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"mutual_friends",storageKey:null,args:null,concreteType:"MutualFriendsConnection",plural:false,selections:[{kind:"ScalarField",alias:null,name:"count",args:null,storageKey:null}]},{kind:"FragmentSpread",name:"ProfileCard_profile",args:null}]};f.exports=h}),null);
__d("RelayUserCard.react",["fbt","React","RelayCompat","RelayProfileCard.react","formatNumber","RelayUserCard_user.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql;i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;m.prototype.$RelayUserCard1=function(n){var o=n.bio_text,p=n.mutual_friends,q=p&&p.count;if(q)if(q===1)return h._("1 mutual friend");else return h._("{mutual friend count} mutual friends",[h.param("mutual friend count",c("formatNumber").withThousandDelimiters(q))]);else if(o&&o.text)return o.text};m.prototype.render=function(){var n=this.props.user;return c("React").createElement(c("RelayProfileCard.react"),babelHelpers["extends"]({},this.props,{profile:n,subtitle:this.$RelayUserCard1(n)}))};function m(){i.apply(this,arguments)}f.exports=k(m,{user:{modern:function n(){return c("RelayUserCard_user.graphql")},classic:function n(o){var p=c("RelayProfileCard.react").getFragment("profile");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"bio_text",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"mutual_friends",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"MutualFriendsConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},o.__frag(p)]),id:o.__id(),kind:"Fragment",metadata:{},name:"RelayUserCard_user",type:"User"}}()}}}})}),null);
__d("RelayStoryAttachment.react",["React","RelayCompat","RelayEventCard.react","RelayPageCard.react","RelayUserCard.react","RelayStoryAttachmentLifeEvent.react","RelayStoryAttachmentMedia.react","RelayStoryAttachmentSet.react","RelayStoryAttachmentText.react","RelayStoryBoxAttachment.react","RelayStoryAttachment_attachment.graphql","RelayStoryAttachment_story.graphql"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("RelayCompat").createFragmentContainer,k=c("RelayCompat").graphql,l=c("React").PropTypes,m=Object.freeze({PAGE:"Page",USER:"User"});function n(p){var q=p.media;return q&&q.image&&q.__typename==="Photo"}h=babelHelpers.inherits(o,c("React").Component);i=h&&h.prototype;o.prototype.$RelayStoryAttachment1=function(p){if(p.media&&p.media.image){var q=p.target;if(!q)q=this.props.attachment.target;return c("React").createElement(c("RelayStoryAttachmentMedia.react"),{target:q,media:p.media})}};o.prototype.$RelayStoryAttachment2=function(p){var q=p.subattachments;if(q&&q.some(n))return c("React").createElement(c("RelayStoryAttachmentSet.react"),{attachment:p})};o.prototype.$RelayStoryAttachment3=function(p){return c("React").createElement(c("RelayStoryBoxAttachment.react"),{ancestorIsSponsored:this.props.ancestorIsSponsored,attachment:p,story:this.props.story})};o.prototype.$RelayStoryAttachment4=function(p){return c("React").createElement(c("RelayStoryAttachmentLifeEvent.react"),{attachment:p})};o.prototype.$RelayStoryAttachment5=function(p){var q=p.target;return c("React").createElement(c("RelayEventCard.react"),{event:q})};o.prototype.$RelayStoryAttachment6=function(p){var q=p.target;if(q)switch(q.__typename){case m.PAGE:return c("React").createElement(c("RelayPageCard.react"),{page:q});case m.USER:return c("React").createElement(c("RelayUserCard.react"),{user:q});default:return null}};o.prototype.$RelayStoryAttachment7=function(p,q){switch(p){case"photo":case"video":return this.$RelayStoryAttachment1(q);case"album":return this.$RelayStoryAttachment2(q);case"life_event":return this.$RelayStoryAttachment4(q);case"event":return this.$RelayStoryAttachment5(q);case"avatar":return this.$RelayStoryAttachment6(q);case"fallback":case"share":return this.$RelayStoryAttachment3(q)}};o.prototype.render=function(){var p=this.props.attachment,q=p.style_list||[];return q.concat("fallback").reduce(function(r,s){return r||this.$RelayStoryAttachment7(s,p)}.bind(this),null)};function o(){h.apply(this,arguments)}o.propTypes={ancestorIsSponsored:l.bool,story:l.object};f.exports=j(o,{attachment:{modern:function p(){return c("RelayStoryAttachment_attachment.graphql")},classic:function p(q){var r=c("RelayStoryAttachmentMedia.react").getFragment("media"),s=c("RelayEventCard.react").getFragment("event"),t=c("RelayPageCard.react").getFragment("page"),u=c("RelayStoryAttachmentMedia.react").getFragment("target"),v=c("RelayUserCard.react").getFragment("user"),w=c("RelayStoryAttachmentLifeEvent.react").getFragment("attachment"),x=c("RelayStoryAttachmentSet.react").getFragment("attachment"),y=c("RelayStoryAttachmentText.react").getFragment("attachment"),z=c("RelayStoryBoxAttachment.react").getFragment("attachment");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"__typename",kind:"Field",metadata:{},type:"String"},{children:[{children:[{fieldName:"__typename",kind:"Field",metadata:{isRequisite:true},type:"String"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"id",kind:"Field",metadata:{},type:"ID"},{children:[{fieldName:"__typename",kind:"Field",metadata:{},type:"String"}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"media",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"Media"}],fieldName:"subattachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{children:[].concat.apply([],[{fieldName:"__typename",kind:"Field",metadata:{isRequisite:true},type:"String"},{children:[{fieldName:"__typename",kind:"Field",metadata:{},type:"String"}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},q.__frag(r),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:q.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),fieldName:"media",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"Media"},{children:[].concat.apply([],[{fieldName:"__typename",kind:"Field",metadata:{isRequisite:true},type:"String"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},q.__frag(s),q.__frag(t),q.__frag(u),q.__frag(v)]),fieldName:"target",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"},{fieldName:"style_list",kind:"Field",metadata:{isPlural:true},type:"StoryAttachmentStyle"},q.__frag(w),q.__frag(x),q.__frag(y),q.__frag(z)]),id:q.__id(),kind:"Fragment",metadata:{},name:"RelayStoryAttachment_attachment",type:"StoryAttachment"}}()}}},story:{modern:function p(){return c("RelayStoryAttachment_story.graphql")},classic:function p(q){var r=c("RelayStoryBoxAttachment.react").getFragment("story");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},q.__frag(r)]),id:q.__id(),kind:"Fragment",metadata:{},name:"RelayStoryAttachment_story",type:"Story"}}()}}}})}),null);
__d("RelayProfileBlock.react",["cx","React","joinClasses","ImageBlock.react","InlineBlock.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.render=function(){var m=this.props,n=m.image,o=m.header,p=m.metadata,q=m.className;return c("React").createElement(c("ImageBlock.react"),{className:q,spacing:"medium"},c("React").cloneElement(n,{className:c("joinClasses")(n.props.className,"_1ext","_2cpc")}),c("React").createElement(c("InlineBlock.react"),{height:40,alignv:"middle"},c("React").createElement("div",{className:"_1exu"},o,c("React").createElement("div",{className:"_1exv"},p))))};function l(){i.apply(this,arguments)}l.propTypes={image:k.node.isRequired,header:k.node.isRequired,metadata:k.node};f.exports=l}),null);
__d("RelayProfilePicture.react",["cx","invariant","RelayPixelRatio","React","RelayClassic_DEPRECATED","RelayEntityLink.react","Image.react","cssURL","joinClasses"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes,m={medium:48,small:32,xlarge:96};j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;n.prototype.$RelayProfilePicture1=function(){__p&&__p();var o=this.props,p=o.actor,q=o.className,r=o.linkify,s=o.size,t=o.useCSSImage,u=p.profile_picture,v={};v.width=v.height=m[s]+"px";q=c("joinClasses")(r&&p?"":q,this.props.hasInnerBorder?"_2cpc":"");if(u&&u.uri)v.backgroundImage=c("cssURL")(u.uri);else{t=true;q=c("joinClasses")(q,(s=="small"?"_1w7e":"")+(s=="medium"?" _1w7f":"")+(s=="xlarge"?" _1w7k":""))}if(t)return c("React").createElement("span",{className:c("joinClasses")("_1w7l img",q),style:v});return c("React").createElement(c("Image.react"),{className:q,width:m[s],height:m[s],src:u.uri})};n.prototype.render=function(){var o=this.props,p=o.actor,q=o.className,r=o.linkify;if(r&&p)return c("React").createElement(c("RelayEntityLink.react"),{className:c("joinClasses")("_1w7m",q),entity:p,highlightClassName:null},this.$RelayProfilePicture1());return this.$RelayProfilePicture1()};function n(){j.apply(this,arguments)}n.defaultProps={linkify:true};n.propTypes={hasInnerBorder:l.bool,linkify:l.bool,size:l.oneOf(Object.keys(m)).isRequired,useCSSImage:l.bool};f.exports=c("RelayClassic_DEPRECATED").createContainer(n,{prepareVariables:function o(p){var q=m[p.size];q||i(0);return babelHelpers["extends"]({},p,{size:q})},initialVariables:{pixelRatio:c("RelayPixelRatio").get(),size:undefined},fragments:{actor:function o(){return function(p){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{calls:[{kind:"Call",metadata:{type:"Float"},name:"scale",value:{kind:"CallVariable",callVariableName:"pixelRatio"}},{kind:"Call",metadata:{type:"Int"},name:"size__width",value:{kind:"CallVariable",callVariableName:"size"}}],children:[{fieldName:"uri",kind:"Field",metadata:{},type:"Url"},{fieldName:"height",kind:"Field",metadata:{},type:"Int"},{fieldName:"width",kind:"Field",metadata:{},type:"Int"}],directives:[{kind:"Directive",name:"fixme_call_args",args:[]}],fieldName:"profile_picture",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(p)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"RelayProfilePicture_react_ActorRelayQL",type:"Actor"}}(c("RelayEntityLink.react").getFragment("entity"))}}})}),null);
__d("RelayPrivacyIcon.react",["cx","Image.react","RelayPixelRatio","React","RelayClassic_DEPRECATED"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){var l=this.props.scope,m=l.icon_image;if(!m)return null;return c("React").createElement("span",{className:"_50cj"},c("React").createElement(c("Image.react"),{title:l.description,width:m.width/m.scale,height:m.height/m.scale,src:m.uri}))};function k(){i.apply(this,arguments)}f.exports=c("RelayClassic_DEPRECATED").createContainer(k,{initialVariables:{pixelRatio:c("RelayPixelRatio").get()},fragments:{scope:function l(){return function(){return{children:[{fieldName:"description",kind:"Field",metadata:{},type:"String"},{calls:[{kind:"Call",metadata:{type:"Float"},name:"scale",value:{kind:"CallVariable",callVariableName:"pixelRatio"}}],children:[{fieldName:"uri",kind:"Field",metadata:{},type:"Url"},{fieldName:"scale",kind:"Field",metadata:{},type:"Float"},{fieldName:"height",kind:"Field",metadata:{},type:"Int"},{fieldName:"width",kind:"Field",metadata:{},type:"Int"}],fieldName:"icon_image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayPrivacyIcon_react_ScopeRelayQL",type:"PrivacyScope"}}()}}})}),null);
__d("RelayStoryMetadata_story.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h=function(){var i={kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null};return{kind:"Fragment",name:"RelayStoryMetadata_story",type:"Story",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"application",storageKey:null,args:null,concreteType:"Application",plural:false,selections:[i,{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"edit_history",storageKey:null,args:null,concreteType:"EditHistoryConnection",plural:false,selections:[{kind:"ScalarField",alias:null,name:"count",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"implicit_place",storageKey:null,args:null,concreteType:null,plural:false,selections:[i]},{kind:"LinkedField",alias:null,name:"privacy_scope",storageKey:null,args:null,concreteType:"PrivacyScope",plural:false,selections:[{kind:"FragmentSpread",name:"PrivacyIcon_scope",args:null}]}]}}();f.exports=h}),null);
__d("RelayStoryMetadata.react",["fbt","React","RelayCompat","ActionList.react","Link.react","RelayPrivacyIcon.react","RelayStoryMetadata_story.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql;i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;m.prototype.$RelayStoryMetadata1=function(n){if(n)return c("React").createElement(c("Link.react"),{href:n.url},n.name)};m.prototype.$RelayStoryMetadata2=function(n){if(n)return n.name};m.prototype.$RelayStoryMetadata3=function(n){if(n&&n.count)return h._("Edited")};m.prototype.$RelayStoryMetadata4=function(n){if(n)return c("React").createElement(c("RelayPrivacyIcon.react"),{scope:n})};m.prototype.render=function(){var n=this.props.story;return c("React").createElement(c("ActionList.react"),null,this.props.children,this.$RelayStoryMetadata1(n.application),this.$RelayStoryMetadata2(n.implicit_place),this.$RelayStoryMetadata3(n.edit_history),this.$RelayStoryMetadata4(n.privacy_scope))};function m(){i.apply(this,arguments)}f.exports=k(m,{story:{modern:function n(){return c("RelayStoryMetadata_story.graphql")},classic:function n(o){var p=c("RelayPrivacyIcon.react").getFragment("scope");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"application",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Application"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"edit_history",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true},type:"EditHistoryConnection"},{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:o.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"implicit_place",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Place"},{children:[].concat.apply([],[o.__frag(p)]),fieldName:"privacy_scope",kind:"Field",metadata:{canHaveSubselections:true},type:"PrivacyScope"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:o.__id(),kind:"Fragment",metadata:{},name:"RelayStoryMetadata_story",type:"Story"}}()}}}})}),null);
__d("RelayStoryHeader.react",["cx","fbt","ix","React","RelayClassic_DEPRECATED","RelayEntityLink.react","Image.react","Link.react","RelayProfileBlock.react","RelayProfilePicture.react","RelayStoryMetadata.react","TextWithEntities.react","Time.react","joinClasses"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=16,n=c("React").PropTypes;function o(r){var s=r.actors,t=s&&s.length===1&&s[0];if(t&&t.__type__.name==="Page")return t}function p(r,s){if(s.entity)return c("React").createElement("a",{href:s.entity.url,target:"_blank"},r);if(s.entity_with_image){var t=s.entity_with_image.image;return c("React").createElement(c("Image.react"),{className:"_5v3-",src:t.uri})}}k=babelHelpers.inherits(q,c("React").Component);l=k&&k.prototype;function q(r,s){l.constructor.call(this,r,s);var t=o(r.story);this.state={hasInitiallyLikedSourcePage:t&&t.does_viewer_like}}q.prototype.$RelayStoryHeader1=function(r){return this.props.ancestorIsSponsored||!!(r.sponsored_data&&r.sponsored_data.show_sponsored_label)};q.prototype.$RelayStoryHeader2=function(r){if(r.creation_time&&!this.$RelayStoryHeader1(r)){var s=c("React").createElement(c("Time.react"),{timestamp:r.creation_time});if(r.id)return c("React").createElement(c("Link.react"),{href:r.url,className:"_1sql"},s);else return c("React").createElement("span",{className:"_1sql"},s)}};q.prototype.$RelayStoryHeader3=function(r){if(this.$RelayStoryHeader1(r))return i._("Sponsored")};q.prototype.$RelayStoryHeader4=function(r){var s=r.actors;if(s&&s[0])return c("React").createElement(c("RelayProfilePicture.react"),{actor:s[0],size:"medium"})};q.prototype.$RelayStoryHeader5=function(r){__p&&__p();var s,t=r.title;if(t){var u=t.text,v=t.ranges,w=t.image_ranges;if(t.ranges.length)(function(){var x=t.ranges[0].length;u=t.text.substring(x);v=v.slice(1);v.forEach(function(y){y.offset-=x});w.forEach(function(y){y.offset-=x})})();return c("React").createElement("span",{className:"_1sqq"},c("React").createElement(c("TextWithEntities.react"),{text:u,ranges:v,imageRanges:w,interpolator:p}))}};q.prototype.$RelayStoryHeader6=function(){return c("React").createElement(c("Image.react"),{className:"_5wuy",src:j("96869")})};q.prototype.$RelayStoryHeader7=function(r){__p&&__p();if(r.actors&&r.actors.length){var s=r.actors[0],t=s.is_verified?this.$RelayStoryHeader6():null,u=c("React").createElement("span",null,c("React").createElement(c("RelayEntityLink.react"),{entity:s,highlight:true},s.name),t);if(r.title)return c("React").createElement("span",null,u,this.$RelayStoryHeader5(r));if(r.to){t=r.to.is_verified?this.$RelayStoryHeader6():null;return c("React").createElement("span",null,u,c("React").createElement(c("Image.react"),{className:"_1sqr",src:j("99582")}),c("React").createElement("span",null,c("React").createElement(c("RelayEntityLink.react"),{entity:r.to,highlight:true},r.to.name),t))}return u}};q.prototype.$RelayStoryHeader8=function(r){return this.$RelayStoryHeader7(r)};q.prototype.$RelayStoryHeader9=function(r){var s=this.$RelayStoryHeader4(r),t=this.$RelayStoryHeader7(r);if(s&&t)return c("React").createElement("div",{className:"clearfix"},c("React").createElement(c("RelayProfileBlock.react"),{image:s,header:t,metadata:c("React").createElement(c("RelayStoryMetadata.react"),{story:r},this.$RelayStoryHeader2(r),this.$RelayStoryHeader3(r))}))};q.prototype.render=function(){var r=this.props,s=r.className,t=r.metadataStyle,u=r.story,v=c("joinClasses")(s,"_1sqs"),w=void 0;if(t==="compact")w=this.$RelayStoryHeader8(u);else if(t==="auto"&&u.title&&(u.attached_story||u.substory_count)){v=c("joinClasses")(v,"_1sqt");w=this.$RelayStoryHeader9(u)}else w=this.$RelayStoryHeader9(u);return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:v}),w)};q.defaultProps={metadataStyle:"auto"};q.propTypes={metadataStyle:n.oneOf(["auto","full","compact"]),ancestorIsSponsored:n.bool};f.exports=c("RelayClassic_DEPRECATED").createContainer(q,{fragments:{story:function r(){return function(s,t,u,v,w,x){return{children:[].concat.apply([],[{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"does_viewer_like",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"name",kind:"Field",metadata:{},type:"String"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"is_verified",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(s),c("RelayClassic_DEPRECATED").QL.__frag(t)]),fieldName:"actors",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true,isPlural:true},type:"Actor"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"attached_story",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Story"},{children:[{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"id",kind:"Field",metadata:{},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"media",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"Media"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"target",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"}],fieldName:"attachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{fieldName:"creation_time",kind:"Field",metadata:{},type:"Time"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"}],fieldName:"message",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[{fieldName:"show_sponsored_label",kind:"Field",metadata:{},type:"Boolean"}],fieldName:"sponsored_data",kind:"Field",metadata:{canHaveSubselections:true},type:"SponsoredData"},{fieldName:"substory_count",kind:"Field",metadata:{},type:"Int"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"},{children:[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"entity",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Entity"}],fieldName:"ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"EntityAtRange"},{children:[{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"},{children:[{calls:[{kind:"Call",metadata:{type:"Int"},name:"size__width",value:c("RelayClassic_DEPRECATED").QL.__var(u)},{kind:"Call",metadata:{type:"Int"},name:"size__height",value:c("RelayClassic_DEPRECATED").QL.__var(v)}],children:[{fieldName:"uri",kind:"Field",metadata:{},type:"Url"}],directives:[{kind:"Directive",name:"fixme_call_args",args:[]}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"entity_with_image",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"EntityWithImage"}],fieldName:"image_ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"ImageAtRange"}],fieldName:"title",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[].concat.apply([],[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"is_verified",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(w)]),fieldName:"to",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Profile"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},c("RelayClassic_DEPRECATED").QL.__frag(x)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStoryHeader_react_StoryRelayQL",type:"Story"}}(c("RelayEntityLink.react").getFragment("entity"),c("RelayProfilePicture.react").getFragment("actor",{size:"medium"}),m*2,m*2,c("RelayEntityLink.react").getFragment("entity"),c("RelayStoryMetadata.react").getFragment("story"))}}})}),null);
__d("RelayStoryMessage_story.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryMessage_story",type:"Story",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"message",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:[{kind:"LinkedField",alias:null,name:"ranges",storageKey:null,args:null,concreteType:"EntityAtRange",plural:true,selections:[{kind:"ScalarField",alias:null,name:"offset",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"length",args:null,storageKey:null},{kind:"LinkedField",alias:null,name:"entity",storageKey:null,args:null,concreteType:null,plural:false,selections:[{kind:"ScalarField",alias:null,name:"name",args:null,storageKey:null},{kind:"ScalarField",alias:null,name:"url",args:null,storageKey:null}]}]},{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}]}]};f.exports=h}),null);
__d("RelayStoryMessage.react",["cx","React","RelayCompat","TruncatedTextWithEntities.react","joinClasses","RelayStoryMessage_story.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=250;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.render=function(){var o=this.props,p=o.className,q=o.story,r=babelHelpers.objectWithoutProperties(o,["className","story"]);return c("React").createElement("div",babelHelpers["extends"]({},r,{className:c("joinClasses")(p,"_5x5n")}),c("React").createElement(c("TruncatedTextWithEntities.react"),{maxLength:m,ranges:q.message.ranges,renderEmoticons:true,renderEmoji:true,text:q.message.text}))};function n(){i.apply(this,arguments)}f.exports=k(n,{story:{modern:function o(){return c("RelayStoryMessage_story.graphql")},classic:function o(p){return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[{children:[{children:[{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"},{children:[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:p.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"entity",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Entity"}],fieldName:"ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"EntityAtRange"},{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"message",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:p.__id(),kind:"Fragment",metadata:{},name:"RelayStoryMessage_story",type:"Story"}}()}}}})}),null);
__d("RelayStoryAttachedStory.react",["cx","React","RelayClassic_DEPRECATED","RelayStoryHeader.react","RelayStoryAttachment.react","RelayStoryMessage.react","XUICard.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.$RelayStoryAttachedStory1=function(m){var n=m.attachments,o=n&&n[0]&&n[0].style_list;return o&&o.indexOf("event")!==-1};l.prototype.$RelayStoryAttachedStory2=function(m){if(this.$RelayStoryAttachedStory1(m))return;if(m.message)return c("React").createElement(c("RelayStoryMessage.react"),{story:m})};l.prototype.$RelayStoryAttachedStory3=function(m,n){if(m.attachments&&m.attachments.length)return c("React").createElement(c("RelayStoryAttachment.react"),{ancestorIsSponsored:n,attachment:m.attachments[0],story:this.props.parentStory})};l.prototype.$RelayStoryAttachedStory4=function(m,n){var o=m.attached_story;if(o)return c("React").createElement(l,{ancestorIsSponsored:n,isSubAttachedStory:true,parentStory:m,story:o,trim:true})};l.prototype.render=function(){var m=this.props,n=m.parentStory,o=m.story,p=m.isSubAttachedStory,q=!!o.attached_story,r=this.props.ancestorIsSponsored||!!(n&&n.sponsored_data&&n.sponsored_data.show_sponsored_label),s="_4dlp"+(p?" _4dlu":"");return c("React").createElement(c("XUICard.react"),null,c("React").createElement("article",{className:s},c("React").createElement(c("RelayStoryHeader.react"),{ancestorIsSponsored:r,className:"_4dlv",metadataStyle:q?"full":"auto",story:o}),c("React").createElement("div",{className:"_4dlw"},this.$RelayStoryAttachedStory2(o),this.$RelayStoryAttachedStory3(o,r),this.$RelayStoryAttachedStory4(o,r))))};function l(){i.apply(this,arguments)}l.propTypes={isSubAttachedStory:k.bool,trim:k.bool};f.exports=c("RelayClassic_DEPRECATED").createContainer(l,{fragments:{parentStory:function m(){return function(n){return{children:[].concat.apply([],[{children:[{fieldName:"show_sponsored_label",kind:"Field",metadata:{},type:"Boolean"}],fieldName:"sponsored_data",kind:"Field",metadata:{canHaveSubselections:true},type:"SponsoredData"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(n)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStoryAttachedStory_react_ParentStoryRelayQL",type:"Story"}}(c("RelayStoryAttachment.react").getFragment("story"))},story:function m(){return function(n,o,p,q,r,s,t){return{children:[].concat.apply([],[{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"message",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"style_list",kind:"Field",metadata:{isPlural:true},type:"StoryAttachmentStyle"},c("RelayClassic_DEPRECATED").QL.__frag(n)]),fieldName:"attachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},c("RelayClassic_DEPRECATED").QL.__frag(o),c("RelayClassic_DEPRECATED").QL.__frag(p)]),fieldName:"attached_story",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Story"},{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"message",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"style_list",kind:"Field",metadata:{isPlural:true},type:"StoryAttachmentStyle"},c("RelayClassic_DEPRECATED").QL.__frag(q)]),fieldName:"attachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{children:[{fieldName:"show_sponsored_label",kind:"Field",metadata:{},type:"Boolean"}],fieldName:"sponsored_data",kind:"Field",metadata:{canHaveSubselections:true},type:"SponsoredData"},c("RelayClassic_DEPRECATED").QL.__frag(r),c("RelayClassic_DEPRECATED").QL.__frag(s),c("RelayClassic_DEPRECATED").QL.__frag(t)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStoryAttachedStory_react_StoryRelayQL",type:"Story"}}(c("RelayStoryAttachment.react").getFragment("attachment"),c("RelayStoryMessage.react").getFragment("story"),c("RelayStoryHeader.react").getFragment("story"),c("RelayStoryAttachment.react").getFragment("attachment"),c("RelayStoryAttachment.react").getFragment("story"),c("RelayStoryHeader.react").getFragment("story"),c("RelayStoryMessage.react").getFragment("story"))}}})}),null);
__d("RelayStoryContent_story.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStoryContent_story",type:"Story",metadata:null,argumentDefinitions:[],selections:[{kind:"LinkedField",alias:null,name:"message",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}]},{kind:"LinkedField",alias:null,name:"attachments",storageKey:null,args:null,concreteType:"StoryAttachment",plural:true,selections:[{kind:"FragmentSpread",name:"StoryAttachment_attachment",args:null}]},{kind:"LinkedField",alias:null,name:"attached_story",storageKey:null,args:null,concreteType:"Story",plural:false,selections:[{kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null},{kind:"FragmentSpread",name:"StoryAttachedStory_story",args:null}]},{kind:"ScalarField",alias:null,name:"substory_count",args:null,storageKey:null},{kind:"FragmentSpread",name:"StoryAttachedStory_parentStory",args:null},{kind:"FragmentSpread",name:"StoryAttachment_story",args:null},{kind:"FragmentSpread",name:"StoryMessage_story",args:null},{kind:"FragmentSpread",name:"StorySubstories_story",args:null}]};f.exports=h}),null);
__d("RelayStorySubstory_parentStory.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h={kind:"Fragment",name:"RelayStorySubstory_parentStory",type:"Story",metadata:null,argumentDefinitions:[],selections:[{kind:"FragmentSpread",name:"StoryAttachedStory_parentStory",args:null},{kind:"FragmentSpread",name:"StoryAttachment_story",args:null}]};f.exports=h}),null);
__d("RelayStorySubstory_story.graphql",[],(function a(b,c,d,e,f,g){"use strict";var h=function(){var i={kind:"ScalarField",alias:null,name:"id",args:null,storageKey:null};return{kind:"Fragment",name:"RelayStorySubstory_story",type:"Story",metadata:null,argumentDefinitions:[],selections:[i,{kind:"LinkedField",alias:null,name:"attachments",storageKey:null,args:null,concreteType:"StoryAttachment",plural:true,selections:[{kind:"ScalarField",alias:null,name:"deduplication_key",args:null,storageKey:null},{kind:"FragmentSpread",name:"StoryAttachment_attachment",args:null}]},{kind:"LinkedField",alias:null,name:"attached_story",storageKey:null,args:null,concreteType:"Story",plural:false,selections:[i,{kind:"FragmentSpread",name:"StoryAttachedStory_story",args:null}]},{kind:"LinkedField",alias:null,name:"message",storageKey:null,args:null,concreteType:"TextWithEntities",plural:false,selections:[{kind:"ScalarField",alias:null,name:"text",args:null,storageKey:null}]},{kind:"FragmentSpread",name:"StoryAttachedStory_parentStory",args:null},{kind:"FragmentSpread",name:"StoryMessage_story",args:null},{kind:"FragmentSpread",name:"StoryHeader_story",args:null}]}}();f.exports=h}),null);
__d("RelayStorySubstory.react",["cx","React","RelayCompat","RelayStoryAttachedStory.react","RelayStoryAttachment.react","RelayStoryHeader.react","RelayStoryMessage.react","RelayStorySubstory_parentStory.graphql","RelayStorySubstory_story.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=c("React").PropTypes;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.$RelayStorySubstory1=function(o){if(o.message)return c("React").createElement(c("RelayStoryMessage.react"),{story:o})};n.prototype.$RelayStorySubstory2=function(o){if(o.attachments&&o.attachments.length){var p=o.attachments[0],q=p.deduplication_key;if(q&&!(q in this.props.parentAttachmentKeySet))return c("React").createElement(c("RelayStoryAttachment.react"),{attachment:p,story:this.props.parentStory})}};n.prototype.$RelayStorySubstory3=function(o){var p=o.attached_story,q=this.props.parentAttachedStoryID;return p&&p.id===q};n.prototype.$RelayStorySubstory4=function(o){var p=o.attached_story;if(p&&!this.$RelayStorySubstory3(o))return c("React").createElement(c("RelayStoryAttachedStory.react"),{parentStory:o,story:o.attached_story})};n.prototype.render=function(){var o=this.props,p=o.parentStory,q=o.story,r=this.$RelayStorySubstory3(q)?"full":"auto";return c("React").createElement("article",{className:"_n3j"},c("React").createElement(c("RelayStoryHeader.react"),{metadataStyle:r,story:q}),c("React").createElement("div",{className:"_n3k"},this.$RelayStorySubstory1(q),this.$RelayStorySubstory2(q),this.$RelayStorySubstory4(q)))};function n(){i.apply(this,arguments)}n.defaultProps={parentAttachmentKeySet:{},parentAttachedStoryID:""};n.propTypes={parentAttachmentKeySet:m.object,parentAttachedStoryID:m.string,parentStory:m.object};f.exports=k(n,{parentStory:{modern:function o(){return c("RelayStorySubstory_parentStory.graphql")},classic:function o(p){var q=c("RelayStoryAttachedStory.react").getFragment("parentStory"),r=c("RelayStoryAttachment.react").getFragment("story");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},p.__frag(q),p.__frag(r)]),id:p.__id(),kind:"Fragment",metadata:{},name:"RelayStorySubstory_parentStory",type:"Story"}}()}}},story:{modern:function o(){return c("RelayStorySubstory_story.graphql")},classic:function o(p){var q=c("RelayStoryAttachment.react").getFragment("attachment"),r=c("RelayStoryAttachedStory.react").getFragment("story"),s=c("RelayStoryAttachedStory.react").getFragment("parentStory"),t=c("RelayStoryMessage.react").getFragment("story"),u=c("RelayStoryHeader.react").getFragment("story");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[].concat.apply([],[{fieldName:"deduplication_key",kind:"Field",metadata:{},type:"String"},p.__frag(q)]),fieldName:"attachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},p.__frag(r)]),fieldName:"attached_story",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Story"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"message",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},p.__frag(s),p.__frag(t),p.__frag(u)]),id:p.__id(),kind:"Fragment",metadata:{},name:"RelayStorySubstory_story",type:"Story"}}()}}}})}),null);
__d("RelayStorySubstories.react",["cx","fbt","React","RelayClassic_DEPRECATED","Link.react","XUISpinner.react","RelayStorySubstory.react"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=2,m=4;j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;function n(o,p){k.constructor.call(this,o,p);this.$RelayStorySubstories3=function(){var q=this.props.story;if(!this.state.isLoadingSubstories){this.props.relay.setVariables({maxVisible:this.props.relay.variables.maxVisible+m});this.$RelayStorySubstories2(q)}}.bind(this);this.state={isLoadingSubstories:false}}n.prototype.$RelayStorySubstories1=function(o){return o.all_substories&&o.all_substories.page_info.has_next_page};n.prototype.$RelayStorySubstories2=function(o){var p=this.$RelayStorySubstories1(o)&&this.props.relay.variables.maxVisible>o.all_substories.edges.length;this.setState({isLoadingSubstories:p})};n.prototype.componentWillReceiveProps=function(o){if(o.story)this.$RelayStorySubstories2(o.story)};n.prototype.$RelayStorySubstories4=function(o){__p&&__p();var p,q=this;if(o.all_substories&&o.all_substories.edges){var p=function(){__p&&__p();var r=o.all_substories.edges,s=q.props.relay.variables.maxVisible,t=r.slice(0,s),u={};if(o.attachments)o.attachments.forEach(function(w){var x=w.deduplication_key;if(x)u[x]=true});var v=void 0;if(o.attached_story)v=o.attached_story.id;return{v:t.map(function(w){var x=w.node;return c("React").createElement(c("RelayStorySubstory.react"),{key:x.id,story:x,parentAttachmentKeySet:u,parentAttachedStoryID:v,parentStory:o,trim:true})})}}();if(typeof p==="object")return p.v}};n.prototype.$RelayStorySubstories5=function(o){if(o===1)return i._("See One More Post");else return i._("See More Posts")};n.prototype.$RelayStorySubstories6=function(){if(this.state.isLoadingSubstories)return c("React").createElement("div",{className:"_1ppa"},c("React").createElement(c("XUISpinner.react"),{size:"small"}))};n.prototype.$RelayStorySubstories7=function(o){if(this.$RelayStorySubstories1(o)){var p=o.all_substories.edges.length,q=o.all_substories.count-p,r="_1ppb"+(this.state.isLoadingSubstories?" _1ppc":"");return c("React").createElement(c("Link.react"),{onClick:this.$RelayStorySubstories3,className:r},c("React").createElement("span",{className:"_1ppd"},this.$RelayStorySubstories6(),this.$RelayStorySubstories5(q)))}};n.prototype.render=function(){var o=this.props.story;return c("React").createElement("div",{className:"_1ppe"},this.$RelayStorySubstories4(o),this.$RelayStorySubstories7(o))};f.exports=c("RelayClassic_DEPRECATED").createContainer(n,{initialVariables:{maxVisible:l},fragments:{story:function o(){return function(p,q){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{fieldName:"deduplication_key",kind:"Field",metadata:{},type:"String"}],fieldName:"attachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],fieldName:"attached_story",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Story"},{calls:[{kind:"Call",metadata:{type:"Int"},name:"first",value:{kind:"CallVariable",callVariableName:"maxVisible"}}],children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"},{children:[{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(p)]),fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"Story"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"edges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"SubstoriesEdge"},{children:[{fieldName:"has_next_page",kind:"Field",metadata:{isRequisite:true},type:"Boolean"},{fieldName:"has_previous_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"}],fieldName:"page_info",kind:"Field",metadata:{canHaveSubselections:true,isRequisite:true},type:"PageInfo"}],fieldName:"all_substories",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true},type:"SubstoriesConnection"},c("RelayClassic_DEPRECATED").QL.__frag(q)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStorySubstories_react_StoryRelayQL",type:"Story"}}(c("RelayStorySubstory.react").getFragment("story"),c("RelayStorySubstory.react").getFragment("parentStory"))}}})}),null);
__d("RelayStoryContent.react",["cx","React","RelayCompat","RelayStoryAttachedStory.react","RelayStoryAttachment.react","RelayStoryMessage.react","RelayStorySubstories.react","joinClasses","RelayStoryContent_story.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql,m=c("React").PropTypes;i=babelHelpers.inherits(n,c("React").Component);j=i&&i.prototype;n.prototype.$RelayStoryContent1=function(o){if(o.substory_count)return c("React").createElement(c("RelayStorySubstories.react"),{story:o})};n.prototype.$RelayStoryContent2=function(o){if(o.message)return c("React").createElement(c("RelayStoryMessage.react"),{story:o})};n.prototype.$RelayStoryContent3=function(o){if(o.attachments&&o.attachments.length)return c("React").createElement(c("RelayStoryAttachment.react"),{attachment:o.attachments[0],story:o})};n.prototype.$RelayStoryContent4=function(o){if(o.attached_story)return c("React").createElement(c("RelayStoryAttachedStory.react"),{parentStory:o,story:o.attached_story,trim:this.props.trim})};n.prototype.render=function(){var o=this.props,p=o.story,q=o.className,r=babelHelpers.objectWithoutProperties(o,["story","className"]);return c("React").createElement("div",babelHelpers["extends"]({},r,{className:c("joinClasses")("_5u6p",q)}),this.$RelayStoryContent2(p),this.$RelayStoryContent3(p),this.$RelayStoryContent4(p),this.$RelayStoryContent1(p))};function n(){i.apply(this,arguments)}n.propTypes={trim:m.bool};f.exports=k(n,{story:{modern:function o(){return c("RelayStoryContent_story.graphql")},classic:function o(p){var q=c("RelayStoryAttachment.react").getFragment("attachment"),r=c("RelayStoryAttachedStory.react").getFragment("story"),s=c("RelayStoryAttachedStory.react").getFragment("parentStory"),t=c("RelayStoryAttachment.react").getFragment("story"),u=c("RelayStoryMessage.react").getFragment("story"),v=c("RelayStorySubstories.react").getFragment("story");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"}],fieldName:"message",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[].concat.apply([],[p.__frag(q)]),fieldName:"attachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},p.__frag(r)]),fieldName:"attached_story",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Story"},{fieldName:"substory_count",kind:"Field",metadata:{},type:"Int"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},p.__frag(s),p.__frag(t),p.__frag(u),p.__frag(v)]),id:p.__id(),kind:"Fragment",metadata:{},name:"RelayStoryContent_story",type:"Story"}}()}}}})}),null);
__d("GraphQLSubscription",["invariant","ClientIDs","GraphQLMutationDataHandler","GraphQLMutatorHub","GraphQLSubscriptionTracker","RQLSubscription","react-relay/classic/route/RelayMetaRoute","react-relay/classic/query/RelayQuery","react-relay/classic/store/RelayStore","nullthrows"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(j,k){__p&&__p();this.clientSubscriptionID=c("ClientIDs").getNewClientID();this.$GraphQLSubscription1=this.constructor.getSubscriptionQuery();this.$GraphQLSubscription2=this.constructor.getSubscriptionQueryID();this.$GraphQLSubscription3=this.getQueryParams(j);this.$GraphQLSubscription4=k;this.$GraphQLSubscription5=this.getSubscriptionTopic(this.$GraphQLSubscription3);this.$GraphQLSubscription1&&this.$GraphQLSubscription3||h(0);c("RQLSubscription").sendSubscribe(this.$GraphQLSubscription1,this.$GraphQLSubscription3,this.clientSubscriptionID,this.$GraphQLSubscription2,this.$GraphQLSubscription5);c("GraphQLSubscriptionTracker").trackSubscription(this,this.clientSubscriptionID);this.$GraphQLSubscription6=true}i.prototype.dispose=function(){this.$GraphQLSubscription6||h(0);c("RQLSubscription").sendUnsubscribe(this.$GraphQLSubscription1,this.$GraphQLSubscription3,this.clientSubscriptionID,this.$GraphQLSubscription2,this.$GraphQLSubscription5);c("GraphQLSubscriptionTracker").removeSubscription(this.clientSubscriptionID);this.$GraphQLSubscription6=false};i.getSubscriptionQuery=function(){throw new Error("Must implement `getSubscriptionQuery.`")};i.getSubscriptionQueryID=function(){return null};i.prototype.getSubscriptionTopic=function(){if(!this.constructor.getInputFieldsThatDetermineTopic)return null;return["gqls",this.$GraphQLSubscription1.calls[0].name,this.constructor.getInputFieldsThatDetermineTopic().sort().map(function(j){return String(j)+"_"+String(c("nullthrows")(this.$GraphQLSubscription3[j]))}.bind(this)).join("_")].join("/")};i.prototype.getQueryParams=function(j){throw new Error("Must implement `getQueryParams.`")};i.prototype.handlePayload=function(j){this.$GraphQLSubscription6||h(0);var k=c("GraphQLMutationDataHandler").getMutationType(j),l=j[k];c("react-relay/classic/store/RelayStore").getStoreData().handleUpdatePayload(c("react-relay/classic/query/RelayQuery").Subscription.create(this.$GraphQLSubscription1,c("react-relay/classic/route/RelayMetaRoute").get("$GraphQLSubscription"),{input:this.$GraphQLSubscription3}),l,{configs:c("GraphQLMutatorHub").getConfigs(k)||[],isOptimisticUpdate:false});this.$GraphQLSubscription4&&this.$GraphQLSubscription4(j)};f.exports=i}),null);
__d("RelayUFILikeSentence.react",["cx","fbt","React","RelayClassic_DEPRECATED","Link.react","ProfileBrowserLink","ProfileBrowserTypes","TextWithEntities.react","formatNumber"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes;function m(p){var q=p.likers.count;if(q==1)return i._("1 person likes this.");else if(q>1)return i._("{number} people like this.",[i.param("number",c("formatNumber").withThousandDelimiters(q))])}function n(p,q,r,s){__p&&__p();if(s.count!=null){var t=c("ProfileBrowserTypes").LIKES,u={id:p.targetfbid,actorid:p.actorid},v=[],w=void 0;for(var x=0;x<q.length;x++)if(!q[x].count){w=q[x];var y=w.entity;v.push(y.id)}var z=c("ProfileBrowserLink").constructDialogURI(t,u).toString(),A=c("ProfileBrowserLink").constructPageURI(t,u).toString();return c("React").createElement("a",{"data-testid":"n_other_people_link",className:"_375l",rel:"dialog",ajaxify:z,href:A,role:"button"},r)}else return c("React").createElement("a",{href:s.entity.url},s.entity.name)}j=babelHelpers.inherits(o,c("React").Component);k=j&&j.prototype;o.prototype.render=function(){__p&&__p();var p=this.props.feedback,q=this.props.story,r=this.props.permalink,s=p.does_viewer_like?p.viewer_likes_sentence:p.viewer_does_not_like_sentence;if(s)if(r)return c("React").createElement(c("Link.react"),{href:r},c("React").createElement(c("TextWithEntities.react"),{text:s.text,ranges:s.ranges,aggregatedRanges:s.aggregated_ranges}));else{var t=q.actors.length>0?q.actors[0].id:null,u={targetfbid:p.legacy_api_post_id,actorforpost:t},v=n.bind(null,u,s.ranges);return c("React").createElement(c("TextWithEntities.react"),{interpolator:v,ranges:s.ranges,aggregatedRanges:s.aggregated_ranges,text:s.text})}var w=m(p);if(w)return c("React").createElement(c("Link.react"),null,w);return null};function o(){j.apply(this,arguments)}o.propTypes={permalink:l.string,feedback:l.object};f.exports=c("RelayClassic_DEPRECATED").createContainer(o,{fragments:{feedback:function p(){return function(){return{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"legacy_api_post_id",kind:"Field",metadata:{},type:"ID"},{fieldName:"does_viewer_like",kind:"Field",metadata:{},type:"Boolean"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"likers",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"LikersOfContentConnection"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"text",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"},{fieldName:"entity_is_weak_reference",kind:"Field",metadata:{},type:"Boolean"},{children:[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"id",kind:"Field",metadata:{},type:"ID"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"entity",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Entity"}],fieldName:"ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"EntityAtRange"},{children:[{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"},{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"aggregated_ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"AggregatedEntitiesAtRange"}],fieldName:"viewer_does_not_like_sentence",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"text",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"},{fieldName:"entity_is_weak_reference",kind:"Field",metadata:{},type:"Boolean"},{children:[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"id",kind:"Field",metadata:{},type:"ID"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"entity",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Entity"}],fieldName:"ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"EntityAtRange"},{children:[{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"},{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"aggregated_ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"AggregatedEntitiesAtRange"}],fieldName:"viewer_likes_sentence",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFILikeSentence_react_FeedbackRelayQL",type:"Feedback"}}()},story:function p(){return function(){return{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actors",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true,isPlural:true},type:"Actor"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFILikeSentence_react_StoryRelayQL",type:"Story"}}()}}})}),null);
__d("FeedbackLikeSubscription",["GraphQLSubscription","RelayClassic_DEPRECATED","RelayUFILikeSentence.react","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("GraphQLSubscription"));i=h&&h.prototype;j.getSubscriptionQuery=function(){return function(k,l){return{calls:[{kind:"Call",metadata:{},name:"feedback_like_subscribe",value:{kind:"CallVariable",callVariableName:"input"}}],children:[{children:[{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(k)]),fieldName:"feedback",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Feedback"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"FeedbackLikeResponsePayload",type:"FeedbackLikeResponsePayload"},{children:[{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(l)]),fieldName:"feedback",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Feedback"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"FeedbackUnlikeResponsePayload",type:"FeedbackUnlikeResponsePayload"}],kind:"Subscription",metadata:{inputType:"FeedbackLikeSubscribeData!"},name:"FeedbackLikeSubscription",responseType:"FeedbackLikeSubscribeResponsePayload"}}(c("RelayUFILikeSentence.react").getFragment("feedback"),c("RelayUFILikeSentence.react").getFragment("feedback"))};j.prototype.getQueryParams=function(k){return{feedback_id:c("nullthrows")(k.feedback_id)}};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("RelayUFICommentAction.react",["ix","React","UFIActionStrings","UFIAction.react"],(function a(b,c,d,e,f,g,h){"use strict";var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.render=function(){return c("React").createElement(c("UFIAction.react"),babelHelpers["extends"]({},this.props,{iconSrc:h("99884"),label:c("UFIActionStrings").comment,onClick:this.props.onClick}))};function k(){i.apply(this,arguments)}f.exports=k}),null);
__d("RelayUFILikeAction.react",["ix","FeedbackLikeActions","React","RelayClassic_DEPRECATED","UFIActionStrings","UFIAction.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;function k(){var l,m;for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=j.constructor).call.apply(l,[this].concat(o)),this.$RelayUFILikeAction1=function(){var q=this.props.feedback;c("FeedbackLikeActions").handleLikeChange(q.id,!q.does_viewer_like)}.bind(this),m}k.prototype.render=function(){var l=this.props.feedback,m=l.does_viewer_like?h("99889"):h("99887");return c("React").createElement(c("UFIAction.react"),{highlight:l.does_viewer_like,iconSrc:m,label:c("UFIActionStrings").like,onClick:this.$RelayUFILikeAction1})};f.exports=c("RelayClassic_DEPRECATED").createContainer(k,{fragments:{feedback:function l(){return function(){return{children:[{fieldName:"does_viewer_like",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFILikeAction_react_FeedbackRelayQL",type:"Feedback"}}()}}})}),null);
__d("RelayUFIShareAction.react",["ix","AsyncDialog","AsyncRequest","React","RelayClassic_DEPRECATED","UFIAction.react","UFIActionStrings","XShareDialogController"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.$RelayUFIShareAction1=function(){var l=c("XShareDialogController").getURIBuilder().getURI();c("AsyncDialog").send(new(c("AsyncRequest"))(l).setData({id:this.props.story.legacy_story_hideable_id,url:this.props.story.url}))};k.prototype.render=function(){return c("React").createElement(c("UFIAction.react"),{iconSrc:h("99896"),label:c("UFIActionStrings").share,onClick:function(){return this.$RelayUFIShareAction1()}.bind(this)})};function k(){i.apply(this,arguments)}f.exports=c("RelayClassic_DEPRECATED").createContainer(k,{fragments:{story:function l(){return function(){return{children:[{fieldName:"legacy_story_hideable_id",kind:"Field",metadata:{},type:"ID"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIShareAction_react_StoryRelayQL",type:"Story"}}()}}})}),null);
__d("RelayUFIActions.react",["cx","React","RelayClassic_DEPRECATED","RelayUFICommentAction.react","RelayUFILikeAction.react","RelayUFIShareAction.react","joinClasses"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes,l=c("React").createElement("span",null," \xa0 ");i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;m.prototype.$RelayUFIActions1=function(n){if(n.can_viewer_like)return c("React").createElement(c("RelayUFILikeAction.react"),{feedback:n})};m.prototype.$RelayUFIActions2=function(n,o){if(n.can_viewer_comment)return c("React").createElement(c("RelayUFICommentAction.react"),{onClick:this.props.onCommentClick,story:o})};m.prototype.$RelayUFIActions3=function(n){if(n&&n.shareable)return c("React").createElement(c("RelayUFIShareAction.react"),{story:n})};m.prototype.render=function(){var n=this.props,o=n.feedback,p=n.story;return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"_1jyf")}),this.$RelayUFIActions1(o),l,this.$RelayUFIActions2(o,p),l,this.$RelayUFIActions3(p))};function m(){i.apply(this,arguments)}m.propTypes={onCommentClick:k.func,referrer:k.string};f.exports=c("RelayClassic_DEPRECATED").createContainer(m,{fragments:{story:function n(){return function(o){return{children:[].concat.apply([],[{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"shareable",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Entity"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIActions_react_StoryRelayQL",type:"Story"}}(c("RelayUFIShareAction.react").getFragment("story"))},feedback:function n(){return function(o){return{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"can_viewer_like",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"can_viewer_comment",kind:"Field",metadata:{},type:"Boolean"},c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIActions_react_FeedbackRelayQL",type:"Feedback"}}(c("RelayUFILikeAction.react").getFragment("feedback"))}}})}),null);
__d("CommentCreateMutation",["DateConsts","RelayEntityLink.react","RelayCompat","WebPixelRatio","RelayProfilePicture.react","RelayClassic_DEPRECATED","RelayStoryAttachmentImage.react","react-relay/classic/query/generateRQLFieldAlias"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("RelayCompat").MutationTypes,k=c("RelayCompat").RangeOperations;h=babelHelpers.inherits(l,c("RelayClassic_DEPRECATED").Mutation);i=h&&h.prototype;l.prototype.getMutation=function(){return function(){return{calls:[{kind:"Call",metadata:{},name:"comment_create",value:{kind:"CallVariable",callVariableName:"input"}}],children:[{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],kind:"Mutation",metadata:{inputType:"CommentCreateData!"},name:"CommentCreateMutation",responseType:"CommentCreateResponsePayload"}}()};l.prototype.getCollisionKey=function(){return"comment_create_"+this.props.feedback.id};l.prototype.getFatQuery=function(){return function(){return{children:[{children:[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"comments",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"CommentsConnection"},{fieldName:"top_level_comments",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"TopLevelCommentsConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"feedback",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Feedback"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"comment",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Comment"},{children:[{fieldName:"cursor",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"Comment"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"source",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"}],fieldName:"feedback_comment_edge",kind:"Field",metadata:{canHaveSubselections:true},type:"CommentsEdge"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{pattern:true},name:"CommentCreateMutationRelayQL",type:"CommentCreateResponsePayload"}}()};l.prototype.getConfigs=function(){return[{type:j.RANGE_ADD,parentName:"feedback",parentID:this.props.feedback.id,connectionName:"top_level_comments",edgeName:"feedback_comment_edge",rangeBehaviors:{"":k.PREPEND}}]};l.prototype.getVariables=function(){var m={actor_id:this.props.viewer.actor.id,feedback_id:this.props.feedback.id,message:this.props.message,text_format_preset_id:this.props.text_format_preset_id};if(this.props.attachment)m.attachments=[{media:{id:this.props.attachment.id}}];return m};l.prototype.getOptimisticResponse=function(){var m=this.$CommentCreateMutation1(),n=this.props.feedback,o=n.top_level_comments&&n.top_level_comments.count;if(o!=null)m.feedback={feedback:{id:n.id,top_level_comments:{count:o+1}}};var p=this.$CommentCreateMutation2();if(p)m.feedback_comment_edge.node.attachments=[{media:p}];return m};l.prototype.$CommentCreateMutation1=function(){var m=this.props,n=m.feedback,o=m.message,p=m.viewer;return{feedback_comment_edge:{node:{author:{id:p.actor.id},created_time:c("DateConsts").getCurrentTimeInSeconds(),body:{text:o&&o.text||""},feedback:{can_viewer_like:false,does_viewer_like:false,likers:{count:0},reactors:{count:0}}},source:{id:n.id}}}};l.prototype.$CommentCreateMutation2=function(){var m=this.props.attachment;if(!m)return null;var n={__type__:{name:"Image"},id:m.id},o=c("react-relay/classic/query/generateRQLFieldAlias")("image.media_type(image/jpeg).size("+c("RelayStoryAttachmentImage.react").SMALL_SIZE*c("WebPixelRatio").get()+").sizing(contain-fit)"),p=c("react-relay/classic/query/generateRQLFieldAlias")("image.media_type(image/jpeg).size("+c("RelayStoryAttachmentImage.react").MEDIUM_SIZE*c("WebPixelRatio").get()+").sizing(contain-fit)");n[o]=n[p]=m.image;return n};function l(){h.apply(this,arguments)}l.fragments={feedback:function m(){return function(){return{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"top_level_comments",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"TopLevelCommentsConnection"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"CommentCreateMutation_FeedbackRelayQL",type:"Feedback"}}()},viewer:function m(){return function(n,o){return{children:[{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(n),c("RelayClassic_DEPRECATED").QL.__frag(o)]),fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"CommentCreateMutation_ViewerRelayQL",type:"Viewer"}}(c("RelayEntityLink.react").getFragment("entity"),c("RelayProfilePicture.react").getFragment("actor",{size:"small"}))}};f.exports=l}),null);
__d("isValidRecordID",["react-relay/classic/store/RelayClassicRecordState","react-relay/classic/store/RelayStore"],(function a(b,c,d,e,f,g){"use strict";var h=c("react-relay/classic/store/RelayStore").getStoreData();function i(j){return h.getCachedStore().getRecordState(j)!==c("react-relay/classic/store/RelayClassicRecordState").UNKNOWN}f.exports=i}),null);
__d("CommentEditActions",["invariant","GraphQLMutationAction","GraphQLMutationQueryCreator","RelayClassic_DEPRECATED","isValidRecordID"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();function i(k,l){return{comment_edit:{comment:{id:k,body:{ranges:[],text:l.text}}}}}var j={handleCommentEdit:function k(l,m){c("isValidRecordID")(l)||h(0);var n=new(c("GraphQLMutationAction"))("comment_change_"+l),o=i(l,m);n.runOptimisticAction(o);var p=c("GraphQLMutationQueryCreator").createQuery("comment_edit",{comment:l}),q=function(r){return{calls:[{kind:"Call",metadata:{},name:"comment_edit",value:{kind:"CallVariable",callVariableName:"input"}}],children:[].concat.apply([],[{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(r)]),kind:"Mutation",metadata:{inputType:"CommentEditData!"},name:"CommentEditActions",responseType:"CommentEditResponsePayload"}}(p);n.runServerAction(q,{comment_id:l,message:m})}};f.exports=j}),null);
__d("RelayUFICommentAttachment.react",["cx","React","RelayClassic_DEPRECATED","RelayStoryAttachmentText.react","RelayStoryAttachmentMedia.react","LeftRight.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;k.prototype.$RelayUFICommentAttachment1=function(l){if(l.media&&l.media.image)return c("React").createElement("div",{className:"_5stb"},c("React").createElement(c("RelayStoryAttachmentMedia.react"),{target:l.target||null,media:l.media,quality:"standard"}))};k.prototype.$RelayUFICommentAttachment2=function(l){var m=l.media;if(m&&m.image&&m.__type__.name==="Photo")return c("React").createElement("div",{className:"_5stc"},this.$RelayUFICommentAttachment1(l))};k.prototype.$RelayUFICommentAttachment3=function(l){var m=void 0,n=this.$RelayUFICommentAttachment1(l);if(n)n=c("React").createElement("div",{className:"_5std"},n);if(l.title||l.description)m=c("React").createElement("a",{className:"_5ste",target:"_blank",href:l.target&&l.target.url},c("React").createElement(c("RelayStoryAttachmentText.react"),{attachment:l}));var o="_5stc _5suc"+(!n?" _5sud":"");return c("React").createElement(c("LeftRight.react"),{direction:"left",className:o},n,m)};k.prototype.render=function(){var l=this.props.attachment;return this.$RelayUFICommentAttachment2(l)||this.$RelayUFICommentAttachment3(l)};function k(){i.apply(this,arguments)}f.exports=c("RelayClassic_DEPRECATED").createContainer(k,{fragments:{attachment:function l(){return function(m,n,o){return{children:[].concat.apply([],[{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"}],fieldName:"image",kind:"Field",metadata:{canHaveSubselections:true},type:"Image"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(m),{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}]),fieldName:"media",kind:"Field",metadata:{canHaveSubselections:true,isAbstract:true},type:"Media"},{children:[].concat.apply([],[{calls:[{kind:"Call",metadata:{type:"SiteEnum"},name:"site",value:{kind:"CallValue",callValue:"mobile"}}],directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(n)]),fieldName:"target",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"},{fieldName:"title",kind:"Field",metadata:{},type:"String"},{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"}],fieldName:"description",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFICommentAttachment_react_AttachmentRelayQL",type:"StoryAttachment"}}(c("RelayStoryAttachmentMedia.react").getFragment("media"),c("RelayStoryAttachmentMedia.react").getFragment("target"),c("RelayStoryAttachmentText.react").getFragment("attachment"))}}})}),null);
__d("CommentDeleteActions",["GraphQLMutationAction","GraphQLMutationQueryCreator","GraphQLMutatorHub","RelayClassic_DEPRECATED","react-relay/classic/query/fromGraphQL"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();c("GraphQLMutatorHub").registerForNodeDeleteMutationType("comment_delete",{deletedIDFieldName:"deleted_comment_id"});function h(j,k){var l=c("react-relay/classic/query/fromGraphQL").Query(function(p){return{calls:[{kind:"Call",metadata:{type:"ID!"},name:"id",value:c("RelayClassic_DEPRECATED").QL.__var(p)}],children:[{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"top_level_comments",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"TopLevelCommentsConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"node",kind:"Query",metadata:{isAbstract:true,identifyingArgName:"id",identifyingArgType:"ID!"},name:"CommentDeleteActions",type:"Node"}}(k)),m=c("RelayClassic_DEPRECATED").Store.readQuery(l)[0],n=m&&m.top_level_comments&&m.top_level_comments.count,o={comment_delete:{deleted_comment_id:j,feedback:{id:k}}};if(n)o.comment_delete.feedback={id:k,top_level_comments:{count:n-1}};return o}var i={deleteComment:function j(k,l){var m=new(c("GraphQLMutationAction"))("comment_change_"+k),n=h(k,l);m.runOptimisticAction(n);var o=c("GraphQLMutationQueryCreator").createRangeDeleteQuery("comment_delete",l,"feedback","top_level_comments"),p=function(q){return{calls:[{kind:"Call",metadata:{},name:"comment_delete",value:{kind:"CallVariable",callVariableName:"input"}}],children:[].concat.apply([],[{fieldName:"deleted_comment_id",kind:"Field",metadata:{},type:"ID"},{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(q)]),kind:"Mutation",metadata:{inputType:"CommentDeleteData!"},name:"CommentDeleteActions",responseType:"CommentDeleteResponsePayload"}}(o);m.runServerAction(p,{comment_id:k})}};f.exports=i}),null);
__d("RelayUFICommentDeleteLink.react",["fbt","React","CommentDeleteActions","Link.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$RelayUFICommentDeleteLink1=function(){var r=h._("Permanently delete comment?");if(confirm(r))c("CommentDeleteActions").deleteComment(this.props.id,this.props.feedbackID)}.bind(this),n}l.prototype.render=function(){return c("React").createElement(c("Link.react"),{onClick:this.$RelayUFICommentDeleteLink1},h._("Delete"))};l.propTypes={id:k.string,feedbackID:k.string};f.exports=l}),null);
__d("RelayUFICommentLikeCount.react",["cx","ix","React","RelayClassic_DEPRECATED","Image.react","Link.react","ProfileBrowserLink","ProfileBrowserTypes","formatNumber"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k;j=babelHelpers.inherits(l,c("React").Component);k=j&&j.prototype;l.prototype.render=function(){var m=this.props,n=m.feedback,o=m.comment,p=c("ProfileBrowserTypes").LIKES,q={id:o.legacy_fbid};return c("React").createElement(c("Link.react"),{ajaxify:c("ProfileBrowserLink").constructDialogURI(p,q).toString(),className:"_hz7",href:c("ProfileBrowserLink").constructPageURI(p,q).toString(),rel:"dialog",role:"button"},c("React").createElement(c("Image.react"),{src:i("99886"),className:"_hz8"}),c("formatNumber")(n.likers.count))};function l(){j.apply(this,arguments)}f.exports=c("RelayClassic_DEPRECATED").createContainer(l,{fragments:{feedback:function m(){return function(){return{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"likers",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"LikersOfContentConnection"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFICommentLikeCount_react_FeedbackRelayQL",type:"Feedback"}}()},comment:function m(){return function(){return{children:[{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"legacy_fbid",kind:"Field",metadata:{},type:"String"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFICommentLikeCount_react_CommentRelayQL",type:"Comment"}}()}}})}),null);
__d("RelayUFICommentLikeLink.react",["fbt","FeedbackLikeActions","React","RelayClassic_DEPRECATED","Link.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;function k(){var l,m;for(var n=arguments.length,o=Array(n),p=0;p<n;p++)o[p]=arguments[p];return m=(l=j.constructor).call.apply(l,[this].concat(o)),this.$RelayUFICommentLikeLink1=function(){c("FeedbackLikeActions").handleLikeChange(this.props.feedback.id,!this.props.feedback.does_viewer_like)}.bind(this),m}k.prototype.render=function(){var l=this.props.feedback.does_viewer_like?h._("Unlike"):h._("Like");return c("React").createElement(c("Link.react"),{onClick:this.$RelayUFICommentLikeLink1},l)};f.exports=c("RelayClassic_DEPRECATED").createContainer(k,{fragments:{feedback:function l(){return function(){return{children:[{fieldName:"does_viewer_like",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFICommentLikeLink_react_FeedbackRelayQL",type:"Feedback"}}()}}})}),null);
__d("TypeaheadEntriesView.react",["cx","Image.react","React","SearchableEntry","Link.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(){var m,n;for(var o=arguments.length,p=Array(o),q=0;q<o;q++)p[q]=arguments[q];return n=(m=j.constructor).call.apply(m,[this].concat(p)),this.$TypeaheadEntriesView2=function(r,s){var t=this.props.selectedEntry,u=r==t,v=u||!t&&this.props.highlightedEntry==r,w="_2q0f"+(v?" _2q0g":""),x="_2ei9"+(!this.props.hideImageBorder?" _2eia":"");return c("React").createElement("li",{key:s,className:w},c("React").createElement(c("Link.react"),{className:"_5xux",onMouseDown:function(event){return this.$TypeaheadEntriesView1(event,r)}.bind(this)},c("React").createElement(c("Image.react"),{className:x,src:r.getPhoto()}),c("React").createElement("span",{className:"_2q0i"},r.getTitle())))}.bind(this),n}l.prototype.$TypeaheadEntriesView1=function(event,m){event.preventDefault();this.props.onSelect(m,event)};l.prototype.render=function(){if(!this.props.entries.length)return null;return c("React").createElement("div",{className:"_2q0j"},c("React").createElement("ul",null,this.props.entries.map(this.$TypeaheadEntriesView2)))};l.propTypes={entries:k.array.isRequired,hideImageBorder:k.bool,highlightedEntry:k.instanceOf(c("SearchableEntry")),onHighlight:k.func,onRenderHighlight:k.func,onSelect:k.func.isRequired,queryString:k.string,selectedEntry:k.instanceOf(c("SearchableEntry"))};f.exports=l}),null);
__d("createMentionForGraphQLEntity",[],(function a(b,c,d,e,f,g){"use strict";var h="ExternalUrl",i="Hashtag";function j(k,l){switch(k.__type__.name){case h:case i:return null;default:return l.createEntity("MENTION","IMMUTABLE",{id:k.id})}}f.exports=j}),null);
__d("getTextWithEntitiesFromContentState",["DraftEntity"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();function h(i){__p&&__p();var j=[],k=[],l=0;i.getBlockMap().forEach(function(n){j.push(n.getText());n.findEntityRanges(function(o){return typeof o.getEntity()==="string"},function(o,p){var q=c("DraftEntity").get(n.getEntityAt(o));if(q.getType()==="MENTION"){var r=q.getData(),s=r.id;k.push({entity:{id:s},length:p-o,offset:o+l})}});l+=n.getLength()+1});var m=j.join("\n");return{text:m,ranges:k}}f.exports=h}),null);
__d("RelayUFIInput.react",["cx","fbt","CommentCreateMutation","DliteWeb","React","RelayWebBeforeNavigation","LeftRight.react","MentionsInput.react","TypeaheadEntriesView.react","XUIButton.react","createEditorStateWithEntities","createMentionForGraphQLEntity","getMentionsInputDecorator","getMentionsSearchSource","getTextWithEntitiesFromContentState","joinClasses"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l=c("React").PropTypes;function m(o){var p=o.text,q=o.ranges;p=p||"";q=q||[];var r=c("createEditorStateWithEntities")({text:p,ranges:q,decorator:c("getMentionsInputDecorator")(),addEntityToContentStateFn:c("createMentionForGraphQLEntity"),splitIntoBlocks:false,allowUndo:false});return{editorState:r}}j=babelHelpers.inherits(n,c("React").Component);k=j&&j.prototype;function n(o,p){__p&&__p();k.constructor.call(this,o,p);this.$RelayUFIInput2=function(){this.props.onCancel&&this.props.onCancel()}.bind(this);this.$RelayUFIInput3=function(r){this.refs.input.blur();var s=this.state.editorState.getCurrentContent(),t=c("getTextWithEntitiesFromContentState")(s);this.props.onSubmit&&this.props.onSubmit(t);this.setState(m({}))}.bind(this);this.$RelayUFIInput4=function(r){this.setState({editorState:r})}.bind(this);this.$RelayUFIInput5=function(){if(location.hash==="#add-comment")c("DliteWeb").replaceFragment("")};var q={};Object.assign(q,m(o.initialContent||{}));this.state=q}n.prototype.componentDidMount=function(){var o=i._("You haven't finished your comment yet. Do you want to leave without finishing?");this.$RelayUFIInput1=c("RelayWebBeforeNavigation").addListener(function(){if(this.state.editorState.getCurrentContent().hasText())return o}.bind(this))};n.prototype.componentWillUnmount=function(){this.$RelayUFIInput1.remove()};n.prototype.focus=function(){this.refs.input.blur();this.refs.input.focus()};n.prototype.$RelayUFIInput6=function(o){return c("React").createElement("div",{className:"_1tuy"},c("React").createElement(c("XUIButton.react"),{onClick:this.$RelayUFIInput2,label:this.props.cancelButtonText,use:"default",size:"small"}),c("React").createElement(c("XUIButton.react"),{onClick:this.$RelayUFIInput3,label:this.props.buttonText,use:"confirm",size:"small",disabled:!o}))};n.prototype.$RelayUFIInput7=function(o){return c("React").createElement(c("XUIButton.react"),{className:"_1tuz",disabled:!o,label:this.props.buttonText,onClick:this.$RelayUFIInput3,size:"small",use:"confirm"})};n.prototype.render=function(){var o=c("joinClasses")("_1tu-"+(this.props.useMinifiedStyle?" _47x8":""),this.props.className),p=this.state.editorState.getCurrentContent().hasText(),q=null,r=null;if(this.props.hasCancelButton)q=this.$RelayUFIInput6(p);else r=this.$RelayUFIInput7(p);return c("React").createElement("div",null,c("React").createElement(c("LeftRight.react"),{className:o,direction:"right"},c("React").createElement("div",null,c("React").createElement("div",{className:"_1tu_"},c("React").createElement("a",{name:"add-comment"}),c("React").createElement(c("MentionsInput.react"),{className:"_1tv0",editorState:this.state.editorState,mentionsSource:this.state.mentionsSource,onChange:this.$RelayUFIInput4,onInputBlur:this.$RelayUFIInput5,placeholder:i._("Write a comment\u2026"),ref:"input",typeaheadView:c("TypeaheadEntriesView.react")}))),r),q)};n.defaultProps={buttonText:i._("Post"),hasCancelButton:false};n.propTypes={buttonText:l.node,cancelButtonText:l.node,className:l.string,hasCancelButton:l.bool,initialContent:l.shape({text:l.string,range:l.arrayOf(l.shape({entity:l.shape({__type__:l.shape({name:l.string}),id:l.string}),length:l.number,offset:l.number}))}),onCancel:l.func,onSubmit:l.func.isRequired};f.exports=n}),null);
__d("RelayUFIComment.react",["cx","fbt","invariant","CommentEditActions","React","RelayClassic_DEPRECATED","react-relay/classic/mutation/RelayMutationTransactionStatus","RelayEntityLink.react","ActionList.react","Link.react","RelayProfilePicture.react","Time.react","RelayUFICommentAttachment.react","UFICommentBody.react","RelayUFICommentDeleteLink.react","RelayUFICommentLikeCount.react","RelayUFICommentLikeLink.react","UFIConstants","RelayUFIInput.react","RelayUFIReplies.react","joinClasses"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=10;k=babelHelpers.inherits(n,c("React").Component);l=k&&k.prototype;function n(o,p){__p&&__p();l.constructor.call(this,o,p);this.$RelayUFIComment2=function(){this.setState({isEditing:true},function(){return this.refs.input.focus()}.bind(this))}.bind(this);this.$RelayUFIComment3=function(){this.setState({isEditing:false})}.bind(this);this.$RelayUFIComment4=function(q){c("CommentEditActions").handleCommentEdit(this.props.comment.id,q);this.setState({isEditing:false})}.bind(this);this.$RelayUFIComment5=function(){this.setState({showReplies:true})}.bind(this);this.$RelayUFIComment6=function(){var q=this.$RelayUFIComment1();q&&q.recommit()}.bind(this);this.state={isEditing:false,showReplies:false}}n.prototype.$RelayUFIComment1=function(){var o=this.props,p=o.comment,q=o.relay,r=q.getPendingTransactions(p);if(r){r.length===1||j(0);return r[0]}return null};n.prototype.$RelayUFIComment7=function(){var o=this.$RelayUFIComment1();if(o){var p=o.getStatus();return p===c("react-relay/classic/mutation/RelayMutationTransactionStatus").COMMIT_FAILED||p===c("react-relay/classic/mutation/RelayMutationTransactionStatus").COLLISION_COMMIT_FAILED}return false};n.prototype.$RelayUFIComment8=function(o){if(o.attachments&&o.attachments.length)return c("React").createElement(c("RelayUFICommentAttachment.react"),{attachment:o.attachments[0]})};n.prototype.$RelayUFIComment9=function(o,p,q){var r=i._("Save"),s=i._("Cancel");return c("React").createElement("div",{className:"_z8a"},c("React").createElement(c("RelayUFIInput.react"),{buttonText:r,cancelButtonText:s,className:"_z8b",hasCancelButton:true,initialContent:o.body,onCancel:this.$RelayUFIComment3,onSubmit:this.$RelayUFIComment4,ref:"input"}),c("React").createElement("div",{className:"_z8c"},this.$RelayUFIComment10(o)))};n.prototype.$RelayUFIComment11=function(o){if(o.body)return c("React").createElement(c("UFICommentBody.react"),{commentText:o.body.text,commentRanges:o.body.ranges,maxLines:c("UFIConstants").commentTruncationMaxLines,maxLength:c("UFIConstants").commentTruncationLength})};n.prototype.$RelayUFIComment10=function(o){if(o.can_viewer_delete)return c("React").createElement(c("RelayUFICommentDeleteLink.react"),{id:o.id,feedbackID:this.props.feedback.id})};n.prototype.$RelayUFIComment12=function(o){if(o.can_viewer_edit)return c("React").createElement(c("Link.react"),{onClick:this.$RelayUFIComment2},i._("Edit"))};n.prototype.$RelayUFIComment13=function(o){if(o.edit_history&&o.edit_history.count)return i._("Edited")};n.prototype.$RelayUFIComment14=function(o){if(o.feedback&&o.feedback.can_viewer_like)return c("React").createElement(c("RelayUFICommentLikeLink.react"),{feedback:o.feedback})};n.prototype.$RelayUFIComment15=function(o){var p=o.feedback;if(p&&p.likers&&p.likers.count)return c("React").createElement(c("RelayUFICommentLikeCount.react"),{feedback:p,comment:o})};n.prototype.$RelayUFIComment16=function(o){var p=o.feedback;if(p&&p.can_viewer_comment)return c("React").createElement(c("Link.react"),{onClick:this.$RelayUFIComment5},i._("Reply"))};n.prototype.$RelayUFIComment17=function(o){if(this.$RelayUFIComment7())return c("React").createElement("div",{className:"_z8d"},c("React").createElement("span",{className:"_z8i"}),i._("Unable to post comment.")," ",c("React").createElement(c("Link.react"),{onClick:this.$RelayUFIComment6},i._("Try again")))};n.prototype.$RelayUFIComment18=function(o){var p=o.author,q=this.$RelayUFIComment7()?"_z8j":null;return c("React").createElement("div",{className:"_z8a"+(this.props.useMinifiedStyle?" _39sl":"")},c("React").createElement("div",{className:q},c("React").createElement(c("RelayEntityLink.react"),{entity:p,highlight:true},p.name),c("React").createElement("div",null,this.$RelayUFIComment11(o),this.$RelayUFIComment8(o)),c("React").createElement("div",{className:"_z8l"},c("React").createElement(c("ActionList.react"),null,this.$RelayUFIComment14(o),this.$RelayUFIComment16(o),this.$RelayUFIComment15(o),c("React").createElement(c("Time.react"),{timestamp:o.created_time}),this.$RelayUFIComment13(o),this.$RelayUFIComment10(o),this.$RelayUFIComment12(o))),this.$RelayUFIComment19(o)),this.$RelayUFIComment17(o))};n.prototype.$RelayUFIComment19=function(o){var p=o.feedback,q=p&&p.can_viewer_comment,r=p&&p.top_level_comments;if(q||r&&r.count)return c("React").createElement(c("RelayUFIReplies.react"),{feedback:p,shown:this.state.showReplies,viewer:this.props.viewer,useMinifiedStyle:this.props.useMinifiedStyle})};n.prototype.render=function(){var o=this.props,p=o.comment,q=o.feedback,r=o.viewer,s=p.author,t=void 0;if(this.state.isEditing)t=this.$RelayUFIComment9(p,q,r);else t=this.$RelayUFIComment18(p);return c("React").createElement("div",babelHelpers["extends"]({},this.props,{className:c("joinClasses")(this.props.className,"clearfix")}),c("React").createElement(c("RelayProfilePicture.react"),{className:"_z8m"+(this.props.useMinifiedStyle?" _39sl":"")+" _2cpc",actor:s,size:"small"}),t)};f.exports=c("RelayClassic_DEPRECATED").createContainer(n,{initialVariables:{count:m,threaded:false},fragments:{comment:function o(){return function(p,q,r,s,t,u,v){return{children:[].concat.apply([],[{children:[].concat.apply([],[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},c("RelayClassic_DEPRECATED").QL.__frag(p)]),fieldName:"attachments",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"StoryAttachment"},{children:[].concat.apply([],[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(q),c("RelayClassic_DEPRECATED").QL.__frag(r)]),fieldName:"author",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"},{children:[{fieldName:"text",kind:"Field",metadata:{},type:"String"},{children:[{children:[{children:[{fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"__type__",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Type"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"id",kind:"Field",metadata:{},type:"ID"},{directives:[{kind:"Directive",name:"fixme_fat_interface",args:[]}],fieldName:"name",kind:"Field",metadata:{},type:"String"},{fieldName:"url",kind:"Field",metadata:{},type:"Url"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{isAbstract:true},name:"IdFragment",type:"Node"}],fieldName:"entity",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Entity"},{fieldName:"offset",kind:"Field",metadata:{},type:"Int"},{fieldName:"length",kind:"Field",metadata:{},type:"Int"}],fieldName:"ranges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"EntityAtRange"}],fieldName:"body",kind:"Field",metadata:{canHaveSubselections:true},type:"TextWithEntities"},{fieldName:"can_viewer_delete",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"can_viewer_edit",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"created_time",kind:"Field",metadata:{},type:"Time"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"edit_history",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true},type:"EditHistoryConnection"},{children:[].concat.apply([],[{fieldName:"can_viewer_comment",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"can_viewer_like",kind:"Field",metadata:{},type:"Boolean"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"likers",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"LikersOfContentConnection"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"top_level_comments",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"TopLevelCommentsConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(s),c("RelayClassic_DEPRECATED").QL.__frag(t),c("RelayClassic_DEPRECATED").QL.__frag(u)]),fieldName:"feedback",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Feedback"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(v)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIComment_react_CommentRelayQL",type:"Comment"}}(c("RelayUFICommentAttachment.react").getFragment("attachment"),c("RelayEntityLink.react").getFragment("entity"),c("RelayProfilePicture.react").getFragment("actor",{size:"small"}),c("RelayUFICommentLikeLink.react").getFragment("feedback"),c("RelayUFICommentLikeCount.react").getFragment("feedback"),c("RelayUFIReplies.react").getFragment("feedback"),c("RelayUFICommentLikeCount.react").getFragment("comment"))},feedback:function o(){return function(){return{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIComment_react_FeedbackRelayQL",type:"Feedback"}}()},viewer:function o(){return function(p){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(p)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIComment_react_ViewerRelayQL",type:"Viewer"}}(c("RelayUFIReplies.react").getFragment("viewer"))}}})}),null);
__d("RelayUFIComments.react",["cx","fbt","React","RelayClassic_DEPRECATED","LeftRight.react","Link.react","XUISpinner.react","RelayUFIComment.react"],(function a(b,c,d,e,f,g,h,i){"use strict";__p&&__p();var j,k,l="ranked_threaded",m=2,n=10;function o(q){return q&&q.top_level_comments&&q.top_level_comments.edges||[]}j=babelHelpers.inherits(p,c("React").Component);k=j&&j.prototype;function p(q,r){__p&&__p();k.constructor.call(this,q,r);this.$RelayUFIComments1=function(s){if(!this.state.isLoadingMore){this.setState({isLoadingMore:true});this.props.relay.setVariables({count:this.props.relay.variables.count+n,threaded:true},function(t){if(t.ready)this.setState({isLoadingMore:false})}.bind(this))}}.bind(this);this.$RelayUFIComments4=function(s){var t=s.node;return c("React").createElement(c("RelayUFIComment.react"),{className:"_ncr"+(this.props.useMinifiedStyle?" _3_-6":""),comment:t,feedback:this.props.feedback,key:t.id,viewer:this.props.viewer,useMinifiedStyle:this.props.useMinifiedStyle})}.bind(this);this.state={isLoadingMore:false}}p.prototype.$RelayUFIComments2=function(){if(this.state.isLoadingMore)return c("React").createElement("div",{className:"_nco"},c("React").createElement(c("XUISpinner.react"),null))};p.prototype.$RelayUFIComments3=function(q){var r=q.page_info,s=q.count,t=q.edges;if(r&&r.has_next_page)return c("React").createElement(c("Link.react"),{className:"_ncp"+(this.props.useMinifiedStyle?" _3_-6":""),onClick:this.$RelayUFIComments1},c("React").createElement(c("LeftRight.react"),null,c("React").createElement("span",{className:"_3_-7"},i._("View more comments"),this.$RelayUFIComments2()),c("React").createElement("span",{className:"_ncq"},i._("{visibleCount} of {loadCount}",[i.param("visibleCount",t.length),i.param("loadCount",s)]))))};p.prototype.$RelayUFIComments5=function(q){var r=q.default_comment_ordering!==l,s=o(q).filter(function(t){return!t.node.is_hidden_by_viewer&&!t.node.is_marked_as_spam}).map(this.$RelayUFIComments4);return r?s.reverse():s};p.prototype.render=function(){var q=this.props,r=q.feedback,s=q.borderStyle;if(o(r).length===0&&!r.can_viewer_comment)return null;var t=r.default_comment_ordering!==l,u=this.$RelayUFIComments3(r.top_level_comments),v=this.$RelayUFIComments5(r),w=(s==="full"?"_3obm":"")+(s==="partial"&&v.length>0?" _3obn":"")+(s==="left"?" _3obo":"")+(s!=="partial"&&v.length===0?" _3obp":"")+(this.props.useMinifiedStyle?" _3_-6":"");return c("React").createElement("div",{className:w},t?u:null,v,!t?u:null)};f.exports=c("RelayClassic_DEPRECATED").createContainer(p,{initialVariables:{count:m,threaded:false},fragments:{feedback:function q(r){return function(s,t){return{children:[].concat.apply([],[{fieldName:"can_viewer_comment",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"default_comment_ordering",kind:"Field",metadata:{},type:"String"},{calls:[{kind:"Call",metadata:{type:"Int"},name:"first",value:{kind:"CallVariable",callVariableName:"count"}}],children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"},{children:[{fieldName:"has_next_page",kind:"Field",metadata:{isRequisite:true},type:"Boolean"},{fieldName:"has_previous_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"}],fieldName:"page_info",kind:"Field",metadata:{canHaveSubselections:true,isRequisite:true},type:"PageInfo"},{children:[{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(s)]),fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"Comment"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"edges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"TopLevelCommentsEdge"}],fieldName:"top_level_comments",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"TopLevelCommentsConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(t)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIComments_react_FeedbackRelayQL",type:"Feedback"}}(c("RelayUFIComment.react").getFragment("comment",{count:r.count,threaded:r.threaded}),c("RelayUFIComment.react").getFragment("feedback"))},viewer:function q(){return function(r){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(r)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIComments_react_ViewerRelayQL",type:"Viewer"}}(c("RelayUFIComment.react").getFragment("viewer"))}}})}),null);
__d("RelayUFIReplies.react",["cx","fbt","ix","CommentCreateMutation","React","RelayClassic_DEPRECATED","Image.react","ShimButton.react","XUISpinner.react","RelayUFIInput.react","RelayUFIComments.react"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l;k=babelHelpers.inherits(m,c("React").Component);l=k&&k.prototype;function m(n,o){l.constructor.call(this,n,o);this.$RelayUFIReplies2=function(){this.$RelayUFIReplies1()}.bind(this);this.$RelayUFIReplies3=function(p){var q=this.props,r=q.feedback,s=q.viewer;c("RelayClassic_DEPRECATED").Store.commitUpdate(new(c("CommentCreateMutation"))({attachment:null,feedback:r,message:p,viewer:s}),{onFailure:function t(u,v){v()}})}.bind(this);this.state={isLoading:false,shown:false}}m.prototype.componentWillReceiveProps=function(n){if(n.shown&&!this.state.shown)this.$RelayUFIReplies1()};m.prototype.$RelayUFIReplies1=function(){if(!this.state.isLoading){this.setState({isLoading:true,shown:true});this.props.relay.setVariables({shown:true},function(n){if(n.ready)this.setState({isLoading:false})}.bind(this))}};m.prototype.$RelayUFIReplies4=function(n){if(n.can_viewer_comment)return c("React").createElement(c("RelayUFIInput.react"),{onSubmit:this.$RelayUFIReplies3,ref:"input"})};m.prototype.render=function(){__p&&__p();var n=this.props,o=n.feedback,p=n.viewer,q=o.top_level_comments.count,r=void 0,s=void 0,t=void 0;if(this.state.shown){if(this.state.isLoading)r=c("React").createElement("div",{className:"_nco"},c("React").createElement(c("XUISpinner.react"),null));else{t=c("RelayUFIComments.react");r=c("React").createElement(t,{feedback:o,viewer:p,borderStyle:"left"})}return c("React").createElement("div",null,r,this.$RelayUFIReplies4(o))}else if(q){if(q===1)s=i._("1 reply");else s=i._("{count} replies",[i.param("count",q)]);return c("React").createElement(c("ShimButton.react"),{className:"_j-z"+(this.props.useMinifiedStyle?" _10b7":""),form:"link",onClick:this.$RelayUFIReplies2},c("React").createElement(c("Image.react"),{src:j("99894")}),s)}return null};f.exports=c("RelayClassic_DEPRECATED").createContainer(m,{initialVariables:{shown:false},fragments:{feedback:function n(o){return function(p,q){return{children:[].concat.apply([],[{fieldName:"can_viewer_comment",kind:"Field",metadata:{},type:"Boolean"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"top_level_comments",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"TopLevelCommentsConnection"},c("RelayClassic_DEPRECATED").QL.__frag(p),c("RelayClassic_DEPRECATED").QL.__frag(q)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIReplies_react_FeedbackRelayQL",type:"Feedback"}}(c("CommentCreateMutation").getFragment("feedback"),c("RelayUFIComments.react").getFragment("feedback",{threaded:false})["if"](o.shown))},viewer:function n(o){return function(p,q){return{children:[].concat.apply([],[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"},c("RelayClassic_DEPRECATED").QL.__frag(p),c("RelayClassic_DEPRECATED").QL.__frag(q)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIReplies_react_ViewerRelayQL",type:"Viewer"}}(c("CommentCreateMutation").getFragment("viewer"),c("RelayUFIComments.react").getFragment("viewer")["if"](o.shown))}}})}),null);
__d("CommentCreateSubscription",["GraphQLMutatorHub","GraphQLSubscription","RelayClassic_DEPRECATED","RelayUFIComment.react","nullthrows"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;c("GraphQLMutatorHub").registerForRangeAddSubscriptionType("comment_create_subscribe","comment_create",{connectionName:"top_level_comments",edgeName:"feedback_comment_edge"});h=babelHelpers.inherits(j,c("GraphQLSubscription"));i=h&&h.prototype;j.getSubscriptionQuery=function(){return function(k){return{calls:[{kind:"Call",metadata:{},name:"comment_create_subscribe",value:{kind:"CallVariable",callVariableName:"input"}}],children:[{children:[{fieldName:"__typename",kind:"Field",metadata:{},type:"String"},{children:[{fieldName:"__typename",kind:"Field",metadata:{isRequisite:true},type:"String"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],fieldName:"source",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Node"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(k)]),fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"Comment"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"feedback_comment_edge",kind:"Field",metadata:{canHaveSubselections:true},type:"CommentsEdge"},{fieldName:"client_subscription_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],kind:"Subscription",metadata:{inputType:"CommentCreateSubscribeData!"},name:"CommentCreateSubscription",responseType:"CommentCreateResponsePayload"}}(c("RelayUFIComment.react").getFragment("comment"))};j.prototype.getQueryParams=function(k){return{feedback_id:c("nullthrows")(k.feedback_id)}};function j(){h.apply(this,arguments)}f.exports=j}),null);
__d("RelayUFIContent.react",["cx","CommentCreateMutation","CommentCreateSubscription","DOMScroll","React","ReactDOM","RelayClassic_DEPRECATED","RelayUFIComments.react","RelayUFIInput.react","RelayUFILikeSentence.react","XUISpinner.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;function k(l,m){j.constructor.call(this,l,m);this.$RelayUFIContent4=function(n){var o=this.props,p=o.feedback,q=o.viewer;c("RelayClassic_DEPRECATED").Store.commitUpdate(new(c("CommentCreateMutation"))({attachment:null,feedback:p,message:n,viewer:q}),{onFailure:function r(s,t){t()}})}.bind(this);this.state={focus:false}}k.prototype.focusOnInput=function(){var l=c("ReactDOM").findDOMNode(this.refs.input);this.refs.input.focus();c("DOMScroll").ensureVisible(l,null,55,200)};k.prototype.$RelayUFIContent1=function(){var l=this.props.relay.hasFragmentData(c("RelayUFIComments.react").getFragment("feedback"),this.props.feedback);if(l)this.$RelayUFIContent2=new(c("CommentCreateSubscription"))({feedback_id:this.props.feedback.id})};k.prototype.componentDidMount=function(){this.$RelayUFIContent1()};k.prototype.componentDidUpdate=function(){this.$RelayUFIContent1()};k.prototype.componentWillUnmount=function(){if(this.$RelayUFIContent2){this.$RelayUFIContent2.dispose();this.$RelayUFIContent2=null}};k.prototype.$RelayUFIContent3=function(l,m){if(l.likers&&l.likers.count){var n=null;if(this.props.useMinifiedStyle)n=c("React").createElement("i",{className:"_4hcr"});return c("React").createElement("div",{className:(!this.props.useMinifiedStyle?"_53lb":"")+(this.props.useMinifiedStyle?" _4hcs":"")},n,c("React").createElement(c("RelayUFILikeSentence.react"),{feedback:l,story:m}))}};k.prototype.$RelayUFIContent5=function(l,m){if(l.can_viewer_comment)return c("React").createElement(c("RelayUFIInput.react"),{onSubmit:this.$RelayUFIContent4,ref:"input",useMinifiedStyle:this.props.useMinifiedStyle})};k.prototype.$RelayUFIContent6=function(l,m,n){var o=c("RelayUFIComments.react").getFragment("feedback",{threaded:true});if(this.props.relay.hasFragmentData(o,l))return c("React").createElement(c("RelayUFIComments.react"),{feedback:l,viewer:m,borderStyle:n,useMinifiedStyle:this.props.useMinifiedStyle});return c("React").createElement(c("XUISpinner.react"),{className:"_5ruj",size:"large"})};k.prototype.render=function(){var l=this.props,m=l.feedback,n=l.story,o=l.viewer;if(!m)return null;var p=this.$RelayUFIContent3(m,n),q=p?"partial":"full";return c("React").createElement("div",{className:"_1djo"},p,this.$RelayUFIContent6(m,o,q),this.$RelayUFIContent5(m,o))};f.exports=c("RelayClassic_DEPRECATED").createContainer(k,{fragments:{feedback:function l(){return function(m,n,o){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"can_viewer_comment",kind:"Field",metadata:{},type:"Boolean"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"likers",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"LikersOfContentConnection"},c("RelayClassic_DEPRECATED").QL.__frag(m),c("RelayClassic_DEPRECATED").QL.__frag(n),c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIContent_react_FeedbackRelayQL",type:"Feedback"}}(c("CommentCreateMutation").getFragment("feedback"),c("RelayUFIComments.react").getFragment("feedback",{threaded:true}).defer(),c("RelayUFILikeSentence.react").getFragment("feedback"))},story:function l(){return function(m){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"tracking",kind:"Field",metadata:{},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(m)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIContent_react_StoryRelayQL",type:"Story"}}(c("RelayUFILikeSentence.react").getFragment("story"))},viewer:function l(){return function(m,n){return{children:[].concat.apply([],[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"},c("RelayClassic_DEPRECATED").QL.__frag(m),c("RelayClassic_DEPRECATED").QL.__frag(n)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFIContent_react_ViewerRelayQL",type:"Viewer"}}(c("CommentCreateMutation").getFragment("viewer"),c("RelayUFIComments.react").getFragment("viewer"))}}})}),null);
__d("RelayUFI.react",["cx","FeedbackLikeSubscription","React","RelayClassic_DEPRECATED","RelayUFIActions.react","RelayUFIContent.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j;i=babelHelpers.inherits(k,c("React").Component);j=i&&i.prototype;function k(l,m){j.constructor.call(this,l,m);this.$RelayUFI2=function(n){this.refs.content.focusOnInput()}.bind(this);this.state={focus:false}}k.prototype.componentDidMount=function(){if(this.props.feedback)this.$RelayUFI1=new(c("FeedbackLikeSubscription"))({feedback_id:this.props.feedback.id})};k.prototype.componentWillUnmount=function(){if(this.$RelayUFI1&&this.feedbackLikeSubscription!==undefined){this.$RelayUFI1.dispose();this.$RelayUFI1=null}};k.prototype.render=function(){var l=this.props,m=l.feedback,n=l.story,o=l.viewer;if(!m)return null;return c("React").createElement("div",{className:"_53lm"},c("React").createElement(c("RelayUFIActions.react"),{onCommentClick:this.$RelayUFI2,feedback:m,parentStory:null,story:n}),c("React").createElement(c("RelayUFIContent.react"),{ref:"content",feedback:m,story:n,viewer:o}))};f.exports=c("RelayClassic_DEPRECATED").createContainer(k,{fragments:{feedback:function l(){return function(m,n){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"can_viewer_comment",kind:"Field",metadata:{},type:"Boolean"},{children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"}],fieldName:"likers",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"LikersOfContentConnection"},c("RelayClassic_DEPRECATED").QL.__frag(m),c("RelayClassic_DEPRECATED").QL.__frag(n)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFI_react_FeedbackRelayQL",type:"Feedback"}}(c("RelayUFIActions.react").getFragment("feedback"),c("RelayUFIContent.react").getFragment("feedback"))},story:function l(){return function(m,n){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"tracking",kind:"Field",metadata:{},type:"String"},c("RelayClassic_DEPRECATED").QL.__frag(m),c("RelayClassic_DEPRECATED").QL.__frag(n)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFI_react_StoryRelayQL",type:"Story"}}(c("RelayUFIActions.react").getFragment("story"),c("RelayUFIContent.react").getFragment("story"))},viewer:function l(){return function(m){return{children:[].concat.apply([],[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"},c("RelayClassic_DEPRECATED").QL.__frag(m)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayUFI_react_ViewerRelayQL",type:"Viewer"}}(c("RelayUFIContent.react").getFragment("viewer"))}}})}),null);
__d("RelayBaseStory.react",["cx","React","RelayCompat","XUICard.react","RelayStoryHeader.react","RelayStoryContent.react","RelayUFI.react","RelayBaseStory_story.graphql","RelayBaseStory_viewer.graphql"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("RelayCompat").createFragmentContainer,l=c("RelayCompat").graphql;i=babelHelpers.inherits(m,c("React").Component);j=i&&i.prototype;function m(n,o){j.constructor.call(this,n,o);this.$RelayBaseStory1=function(p){this.setState({actionTaken:p})}.bind(this);this.state={actionTaken:null}}m.prototype.$RelayBaseStory2=function(n){if(!n.id&&(!n.sponsored_data||!n.sponsored_data.client_token)||!n.actor_count)return false;return true};m.prototype.$RelayBaseStory3=function(n,o){return c("React").createElement(c("RelayUFI.react"),{feedback:n.feedback,story:n,viewer:o})};m.prototype.$RelayBaseStory4=function(n,o){var p=this.props.isPermalink?"div":c("XUICard.react");return c("React").createElement(p,{className:"_43-i",component:"article","data-ft":n.tracking},c("React").createElement(c("RelayStoryHeader.react"),{story:n}),c("React").createElement(c("RelayStoryContent.react"),{story:n,trim:true}),c("React").createElement("div",{className:"_1dw"},this.$RelayBaseStory3(n,o)))};m.prototype.render=function(){var n=this.props,o=n.story,p=n.viewer;if(!this.$RelayBaseStory2(o))return null;if(this.props.isPermalink)return c("React").createElement("div",null,this.$RelayBaseStory4(o,p));return this.$RelayBaseStory4(o,p)};f.exports=k(m,{story:{modern:function n(){return c("RelayBaseStory_story.graphql")},classic:function n(o){var p=c("RelayUFI.react").getFragment("feedback"),q=c("RelayStoryContent.react").getFragment("story"),r=c("RelayStoryHeader.react").getFragment("story"),s=c("RelayUFI.react").getFragment("story");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"actor_count",kind:"Field",metadata:{},type:"Int"},{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},o.__frag(p)]),fieldName:"feedback",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"Feedback"},{children:[{fieldName:"client_token",kind:"Field",metadata:{},type:"String"}],fieldName:"sponsored_data",kind:"Field",metadata:{canHaveSubselections:true},type:"SponsoredData"},{fieldName:"tracking",kind:"Field",metadata:{},type:"String"},o.__frag(q),o.__frag(r),o.__frag(s)]),id:o.__id(),kind:"Fragment",metadata:{},name:"RelayBaseStory_story",type:"Story"}}()}}},viewer:{modern:function n(){return c("RelayBaseStory_viewer.graphql")},classic:function n(o){var p=c("RelayUFI.react").getFragment("viewer");return{kind:"FragmentDefinition",argumentDefinitions:[],node:function(){return{children:[].concat.apply([],[o.__frag(p)]),id:o.__id(),kind:"Fragment",metadata:{},name:"RelayBaseStory_viewer",type:"Viewer"}}()}}}})}),null);
__d("RelayStory.react",["React","RelayClassic_DEPRECATED","RelayBaseStory.react"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("React").Component);i=h&&h.prototype;j.prototype.render=function(){var k=this.props,l=k.story,m=k.viewer;return c("React").createElement(c("RelayBaseStory.react"),{isPermalink:true,story:l,viewer:m})};function j(){h.apply(this,arguments)}f.exports=c("RelayClassic_DEPRECATED").createContainer(j,{fragments:{story:function k(){return function(l){return{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(l)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStory_react_StoryRelayQL",type:"Story"}}(c("RelayBaseStory.react").getFragment("story",{isPermalink:true}))},viewer:function k(){return function(l){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(l)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"RelayStory_react_ViewerRelayQL",type:"Viewer"}}(c("RelayBaseStory.react").getFragment("viewer",{isPermalink:true}))}}})}),null);
__d("RelayStoryHighlighter",["csx","NodeHighlighter"],(function a(b,c,d,e,f,g,h){__p&&__p();var i="highlightNode",j=babelHelpers["extends"]({},c("NodeHighlighter"),{getHighlightCandidates:function k(){return["._5x5n",".UFICommentBody"]},isStopNode:function k(l){if(l instanceof HTMLElement){if(CSS.hasClass(l,i))return true;for(var m in l.childNodes)if(m instanceof HTMLElement&&CSS.hasClass(m,i))return true}return false}});f.exports=j}),null);
__d("KeywordSubscribeFeedSection.react",["cx","React","RelayStoryHighlighter","RelayStory.react","XUICard.react","ErrorBoundary.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(m){j.constructor.call(this,m);this.updating=false;this.highlightCall=this.$KeywordSubscribeFeedSection1.bind(this,this.props.highlightWords);if(typeof MutationObserver!=="undefined")this.domObserver=new MutationObserver(this.highlightCall)}l.prototype.componentDidMount=function(){if(this.domObserver!=null&&this.refs.highlight!=null)this.domObserver.observe(this.refs.highlight,{childList:true,subtree:true});this.highlightCall()};l.prototype.componentDidUpdate=function(){this.highlightCall()};l.prototype.componentWillUnmount=function(){if(this.domObserver!=null)this.domObserver.disconnect()};l.prototype.$KeywordSubscribeFeedSection1=function(m){if(this.updating)return;this.updating=true;c("RelayStoryHighlighter").highlight(this.refs.highlight,m);setTimeout(function(){this.updating=false}.bind(this),100)};l.prototype.$KeywordSubscribeFeedSection2=function(m){return c("React").createElement("div",{className:"_2ogh"},m)};l.prototype.$KeywordSubscribeFeedSection3=function(){var m=0;return c("React").createElement("div",{ref:"highlight",className:"_5kv"},this.props.posts.map(function(n){m++;try{return c("React").createElement("div",{key:m},c("React").createElement(c("XUICard.react"),{className:"_3-8x"},c("React").createElement(c("ErrorBoundary.react"),null,c("React").createElement(c("RelayStory.react"),{story:n.node,viewer:this.props.viewer}))))}catch(o){}return null}.bind(this)))};l.prototype.render=function(){if(this.props.posts.length===0)return null;var m=this.props.sectionHeader;if(m==null&&this.props.sectionHeaderText!=null)m=this.$KeywordSubscribeFeedSection2(this.props.sectionHeaderText);var n=this.$KeywordSubscribeFeedSection3();return c("React").createElement("div",null,m,n,this.props.sectionFooter)};l.propTypes={highlightWords:k.arrayOf(k.string.isRequired).isRequired,posts:k.arrayOf(k.any).isRequired,sectionFooter:k.element,sectionHeader:k.element,sectionHeaderText:k.string,viewer:k.any.isRequired};f.exports=l}),null);
__d("KeywordSubscribeLastViewedUpdateMutation",["RelayClassic_DEPRECATED","RelayCompat","React"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("RelayCompat").MutationTypes,k=c("React").PropTypes;h=babelHelpers.inherits(l,c("RelayClassic_DEPRECATED").Mutation);i=h&&h.prototype;l.prototype.getMutation=function(){return function(){return{calls:[{kind:"Call",metadata:{},name:"user_did_view_keyword",value:{kind:"CallVariable",callVariableName:"input"}}],children:[{fieldName:"client_mutation_id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],kind:"Mutation",metadata:{inputType:"UserDidViewKeywordData!"},name:"KeywordSubscribeLastViewedUpdateMutation",responseType:"UserDidViewKeywordResponsePayload"}}()};l.prototype.getVariables=function(){return{actor_id:this.props.viewer.actor.id,keyword_id:this.props.keyword.id}};l.prototype.getFatQuery=function(){return function(){return{children:[{alias:"keywordData",children:[{fieldName:"last_viewed",kind:"Field",metadata:{},type:"Time"},{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],fieldName:"keyword_data",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id"},type:"KeywordSubscribe"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{pattern:true},name:"KeywordSubscribeLastViewedUpdateMutationRelayQL",type:"UserDidViewKeywordResponsePayload"}}()};l.prototype.getConfigs=function(){return[{type:j.FIELDS_CHANGE,fieldIDs:{keyword_data:this.props.keyword.id}}]};function l(){h.apply(this,arguments)}l.propTypes={keyword:k.any.isRequired,viewer:k.any.isRequired};l.fragments={keyword:function m(){return function(){return{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeLastViewedUpdateMutation_KeywordRelayQL",type:"KeywordSubscribe"}}()},viewer:function m(){return function(){return{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeLastViewedUpdateMutation_ViewerRelayQL",type:"Viewer"}}()}};f.exports=l}),null);
__d("KeywordSubscribeDetailRoot.react",["cx","KeywordSubscribeAddButton.react","KeywordSubscribeEmptyPlaceholder.react","KeywordSubscribeFeedSection.react","KeywordSubscribeLastViewedUpdateMutation","OnVisible.react","React","RelayClassic_DEPRECATED","RelayGraphQLSubscriber","RelayGraphQLSubscriptionNetworkLayer","RelayStory.react","XDliteGraphQLSkywalkerController","XUICard.react","XUISpinner.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;function l(){var n,o;for(var p=arguments.length,q=Array(p),r=0;r<p;r++)q[r]=arguments[r];return o=(n=j.constructor).call.apply(n,[this].concat(q)),this.$KeywordSubscribeDetailRoot3=function(){this.props.relay.setVariables({count:this.props.relay.variables.count+l.LOAD_MORE_STORIES})}.bind(this),o}l.prototype.componentWillMount=function(){var n=c("XDliteGraphQLSkywalkerController").getURIBuilder().getURI();c("RelayGraphQLSubscriptionNetworkLayer").injectGraphQLSubscriber(c("RelayGraphQLSubscriber")(n))};l.prototype.componentDidMount=function(){c("RelayClassic_DEPRECATED").Store.commitUpdate(new(c("KeywordSubscribeLastViewedUpdateMutation"))({keyword:this.props.posts,viewer:this.props.viewer}))};l.prototype.render=function(){var n=this.props.posts.posts.count>0,o=this.props.posts.posts.page_info.hasNextPage,p=this.$KeywordSubscribeDetailRoot1(),q=this.$KeywordSubscribeDetailRoot2(this.props.posts.posts,this.props.posts.lastViewed),r=null;if(o)r=c("React").createElement(c("OnVisible.react"),{onVisible:this.$KeywordSubscribeDetailRoot3},c("React").createElement(c("XUISpinner.react"),{background:"light",size:"large",paused:false}));if(n)return c("React").createElement("div",null,p,q,r);else return c("React").createElement("div",null,p,c("React").createElement(c("KeywordSubscribeEmptyPlaceholder.react"),{infoText:"When someone mentions this keyword, you'll see it here."}))};l.prototype.$KeywordSubscribeDetailRoot2=function(n,o){var p=n.edges.sort(function(t,u){return u.node.creationTime-t.node.creationTime}),q=p.findIndex(function(t,u,v){return t.node.creationTime<o}),r=p.splice(0,q),s=p;return c("React").createElement("div",null,c("React").createElement(c("KeywordSubscribeFeedSection.react"),{posts:r,sectionHeaderText:"New posts ("+r.length+")",viewer:this.props.viewer,highlightWords:[this.props.posts.keyword]}),c("React").createElement(c("KeywordSubscribeFeedSection.react"),{posts:s,sectionHeaderText:"Old posts",viewer:this.props.viewer,highlightWords:[this.props.posts.keyword]}))};l.prototype.$KeywordSubscribeDetailRoot1=function(){return c("React").createElement(c("XUICard.react"),{className:"_12ly"},c("React").createElement("div",{className:"_12lz"},c("React").createElement("span",{className:"_12l_ _3-9b"},this.props.posts.keyword),c("React").createElement(c("KeywordSubscribeAddButton.react"),{className:"_12m0 _3-91",viewer:this.props.viewer})))};l.propTypes={posts:k.any.isRequired,viewer:k.any.isRequired};l.LOAD_MORE_STORIES=3;var m=c("RelayClassic_DEPRECATED").createContainer(l,{initialVariables:{count:10},fragments:{viewer:function n(){return function(o,p,q){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(o),c("RelayClassic_DEPRECATED").QL.__frag(p),c("RelayClassic_DEPRECATED").QL.__frag(q)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeDetailRoot_react_ViewerRelayQL",type:"Viewer"}}(c("KeywordSubscribeLastViewedUpdateMutation").getFragment("viewer"),c("KeywordSubscribeAddButton.react").getFragment("viewer"),c("RelayStory.react").getFragment("viewer"))},posts:function n(){return function(o,p){return{children:[].concat.apply([],[{fieldName:"keyword",kind:"Field",metadata:{},type:"String"},{alias:"lastViewed",fieldName:"last_viewed",kind:"Field",metadata:{},type:"Time"},{alias:"posts",calls:[{kind:"Call",metadata:{type:"Int"},name:"first",value:{kind:"CallVariable",callVariableName:"count"}}],children:[{fieldName:"count",kind:"Field",metadata:{},type:"Int"},{children:[{alias:"hasNextPage",fieldName:"has_next_page",kind:"Field",metadata:{isRequisite:true},type:"Boolean"},{fieldName:"has_previous_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"}],fieldName:"page_info",kind:"Field",metadata:{canHaveSubselections:true,isRequisite:true},type:"PageInfo"},{children:[{children:[].concat.apply([],[{alias:"creationTime",fieldName:"creation_time",kind:"Field",metadata:{},type:"Time"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(p)]),fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"Story"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"edges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"KeywordSubscribeToPostsEdge"}],fieldName:"posts_contain_keyword",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"KeywordSubscribeToPostsConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeDetailRoot_react_PostsRelayQL",type:"KeywordSubscribe"}}(c("KeywordSubscribeLastViewedUpdateMutation").getFragment("keyword"),c("RelayStory.react").getFragment("story"))}}});m.moduleName="KeywordSubscribeDetailRoot.react";f.exports=m}),null);
__d("KeywordSubscribeDigestRoot.react",["ix","cx","invariant","fbglyph","formatDate","getURIBuilder","goURI","Image.react","KeywordSubscribeAddButton.react","KeywordSubscribeConfig","KeywordSubscribeEmptyPlaceholder.react","KeywordSubscribeFeedSection.react","KeywordSubscribeSingleRoute","Link.react","nullthrows","OnVisible.react","PopoverMenu.react","React","RelayClassic_DEPRECATED","RelayGraphQLSubscriber","RelayGraphQLSubscriptionNetworkLayer","RelayStory.react","XDliteGraphQLSkywalkerController","XUICard.react","ReactXUIMenu","XUISpinner.react"],(function a(b,c,d,e,f,g,h,i,j){"use strict";__p&&__p();var k,l,m=c("ReactXUIMenu").Item,n=c("React").PropTypes;k=babelHelpers.inherits(o,c("React").Component);l=k&&k.prototype;function o(q){l.constructor.call(this,q);this.$KeywordSubscribeDigestRoot6=function(){this.props.relay.setVariables({count:this.props.relay.variables.count+o.LOAD_MORE_KEYWORDS})}.bind(this);this.$KeywordSubscribeDigestRoot4=function(){this.props.relay.setVariables({byTime:true})}.bind(this);this.$KeywordSubscribeDigestRoot5=function(){this.props.relay.setVariables({byTime:false})}.bind(this);if(!c("KeywordSubscribeConfig").is_employee)this.props.relay.setVariables({byTime:true})}o.prototype.componentWillMount=function(){var q=c("XDliteGraphQLSkywalkerController").getURIBuilder().getURI();c("RelayGraphQLSubscriptionNetworkLayer").injectGraphQLSubscriber(c("RelayGraphQLSubscriber")(q))};o.prototype.$KeywordSubscribeDigestRoot1=function(q){return c("React").createElement("div",null,q.map(function(r){var s=c("React").createElement("div",{className:"_4-u2 _4zm5"},c("React").createElement(c("Link.react"),{onClick:this.$KeywordSubscribeDigestRoot2.bind(null,r.node.id)},"See All Posts")),t="";if(r.node.unreadCount>10)t=" (10+)";else if(r.node.unreadCount>0)t=" ("+r.node.unreadCount+")";var u=this.props.relay.variables.byTime?r.node.posts:r.node.rankedPosts;u!=null||j(0);return c("React").createElement(c("KeywordSubscribeFeedSection.react"),{key:r.node.id,sectionHeaderText:r.node.keyword+t,sectionFooter:s,posts:u.edges,viewer:this.props.viewer,highlightWords:[r.node.keyword]})}.bind(this)))};o.prototype.$KeywordSubscribeDigestRoot3=function(){var q=c("React").createElement(c("ReactXUIMenu"),null,c("React").createElement(m,{ref:"bytime",onclick:this.$KeywordSubscribeDigestRoot4},this.props.relay.variables.byTime?c("React").createElement("b",null,c("React").createElement(c("Image.react"),{src:h("112966")})," Time"):"Time"),c("KeywordSubscribeConfig").is_employee?c("React").createElement(m,{ref:"byranking",onclick:this.$KeywordSubscribeDigestRoot5},!this.props.relay.variables.byTime?c("React").createElement("b",null,c("React").createElement(c("Image.react"),{src:h("112966")})," Relevance"):"Relevance"):null);return c("React").createElement(c("XUICard.react"),{className:"_4zm6"},c("React").createElement("div",{className:"_4zm7"},c("React").createElement(c("Image.react"),{className:"lfloat _3-8w",style:{marginTop:"3px","float":"left"},src:"/images/enterprise_labs/sherlock_small.png"}),c("React").createElement("div",{className:"_3-8x"},c("React").createElement("span",{className:"_12l_ _3-9b"},"Keyword Daily Digest",c("React").createElement(c("PopoverMenu.react"),{ref:"popovermenu",menu:q},c("React").createElement(c("Link.react"),{href:"#"},c("React").createElement(c("Image.react"),{src:h("114092")})))),c("React").createElement("br",null),c("React").createElement("span",{className:"_3-9b _2ree"},c("formatDate")(new Date(),"F d, Y")),c("React").createElement("div",null,c("React").createElement(c("KeywordSubscribeAddButton.react"),{className:"_12m0 _3-91 _2reg",viewer:this.props.viewer})))))};o.prototype.render=function(){var q=this.props.viewer.actor.keywords.edges.filter(function(v){return this.props.relay.variables.byTime?c("nullthrows")(v.node.posts).edges.length>0:c("nullthrows")(v.node.rankedPosts).edges.length>0}.bind(this)).length>0,r=this.props.viewer.actor.keywords.page_info.hasNextPage,s=this.$KeywordSubscribeDigestRoot3(),t=this.$KeywordSubscribeDigestRoot1(this.props.viewer.actor.keywords.edges),u=null;if(r)u=c("React").createElement(c("OnVisible.react"),{onVisible:this.$KeywordSubscribeDigestRoot6},c("React").createElement(c("XUISpinner.react"),{background:"light",size:"large",paused:false}));if(q)return c("React").createElement("div",null,s,t,u);else return c("React").createElement("div",null,s,c("React").createElement(c("KeywordSubscribeEmptyPlaceholder.react"),{infoText:"When someone mentions your keywords, you will see all updates here."}))};o.prototype.$KeywordSubscribeDigestRoot2=function(q){c("goURI")(c("getURIBuilder")(c("KeywordSubscribeSingleRoute")).setInt("keywordID",q).getURI())};o.propTypes={viewer:n.any.isRequired};o.LOAD_MORE_KEYWORDS=3;var p=c("RelayClassic_DEPRECATED").createContainer(o,{initialVariables:{keywordsCount:5,keywordPostDisplay:3,byTime:false},fragments:{viewer:function q(){return function(r,s,t,u){return{children:[].concat.apply([],[{children:[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},{fieldName:"__typename",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"String"},{children:[{alias:"keywords",calls:[{kind:"Call",metadata:{type:"Int"},name:"first",value:{kind:"CallVariable",callVariableName:"keywordsCount"}}],children:[{children:[{alias:"hasNextPage",fieldName:"has_next_page",kind:"Field",metadata:{isRequisite:true},type:"Boolean"},{fieldName:"has_previous_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"}],fieldName:"page_info",kind:"Field",metadata:{canHaveSubselections:true,isRequisite:true},type:"PageInfo"},{children:[{children:[{fieldName:"id",kind:"Field",metadata:{isRequisite:true},type:"ID"},{fieldName:"keyword",kind:"Field",metadata:{},type:"String"},{alias:"unreadCount",fieldName:"unread_count",kind:"Field",metadata:{},type:"Int"},{alias:"posts",calls:[{kind:"Call",metadata:{type:"Int"},name:"first",value:{kind:"CallVariable",callVariableName:"keywordPostDisplay"}}],children:[{children:[{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(t)]),fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"Story"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"edges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"KeywordSubscribeToPostsEdge"},{children:[{fieldName:"has_next_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"},{fieldName:"has_previous_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"}],fieldName:"page_info",kind:"Field",metadata:{canHaveSubselections:true,isGenerated:true,isRequisite:true},type:"PageInfo"}],directives:[{kind:"Directive",name:"include",args:[{name:"if",value:{kind:"CallVariable",callVariableName:"byTime"}}]}],fieldName:"posts_contain_keyword",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"KeywordSubscribeToPostsConnection"},{alias:"rankedPosts",calls:[{kind:"Call",metadata:{type:"Int"},name:"first",value:{kind:"CallValue",callValue:3}}],children:[{children:[{children:[].concat.apply([],[{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"},c("RelayClassic_DEPRECATED").QL.__frag(u)]),fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"Story"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"edges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"KeywordSubscribeToTrendingPostsEdge"},{children:[{fieldName:"has_next_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"},{fieldName:"has_previous_page",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"Boolean"}],fieldName:"page_info",kind:"Field",metadata:{canHaveSubselections:true,isGenerated:true,isRequisite:true},type:"PageInfo"}],directives:[{kind:"Directive",name:"skip",args:[{name:"if",value:{kind:"CallVariable",callVariableName:"byTime"}}]}],fieldName:"trending_posts_for_keyword",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true},type:"KeywordSubscribeToTrendingPostsConnection"}],fieldName:"node",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isRequisite:true},type:"KeywordSubscribe"},{fieldName:"cursor",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],fieldName:"edges",kind:"Field",metadata:{canHaveSubselections:true,isPlural:true},type:"KeywordSubscribeFromOwnerEdge"}],fieldName:"subscribed_keywords",kind:"Field",metadata:{canHaveSubselections:true,isConnection:true,isFindable:true},type:"KeywordSubscribeFromOwnerConnection"},{fieldName:"id",kind:"Field",metadata:{isGenerated:true,isRequisite:true},type:"ID"}],id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"User",type:"User"}],fieldName:"actor",kind:"Field",metadata:{canHaveSubselections:true,inferredRootCallName:"node",inferredPrimaryKey:"id",isAbstract:true},type:"Actor"},c("RelayClassic_DEPRECATED").QL.__frag(r),c("RelayClassic_DEPRECATED").QL.__frag(s)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeDigestRoot_react_ViewerRelayQL",type:"Viewer"}}(c("KeywordSubscribeAddButton.react").getFragment("viewer"),c("RelayStory.react").getFragment("viewer"),c("RelayStory.react").getFragment("story"),c("RelayStory.react").getFragment("story"))}}});p.moduleName="KeywordSubscribeDigestRoot.react";f.exports=p}),null);
__d("KeywordSubscribeHomeRoot.react",["cx","Image.react","KeywordSubscribeAddButton.react","React","RelayClassic_DEPRECATED","XUICard.react"],(function a(b,c,d,e,f,g,h){"use strict";__p&&__p();var i,j,k=c("React").PropTypes;i=babelHelpers.inherits(l,c("React").Component);j=i&&i.prototype;l.prototype.render=function(){return c("React").createElement("div",null,c("React").createElement(c("XUICard.react"),{className:"_12m1"},c("React").createElement(c("Image.react"),{src:"/images/enterprise_labs/sherlock_large.png",className:"_3-8z"}),c("React").createElement("p",{className:"_12m2"},"Care about something?",c("React").createElement("br",null),"Get notified when someone mentions a word or phrase, add it here."),c("React").createElement(c("KeywordSubscribeAddButton.react"),{className:"_3-97",viewer:this.props.viewer})))};function l(){i.apply(this,arguments)}l.propTypes={viewer:k.any.isRequired};var m=c("RelayClassic_DEPRECATED").createContainer(l,{fragments:{viewer:function n(){return function(o){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(o)]),id:c("RelayClassic_DEPRECATED").QL.__id(),kind:"Fragment",metadata:{},name:"KeywordSubscribeHomeRoot_react_ViewerRelayQL",type:"Viewer"}}(c("KeywordSubscribeAddButton.react").getFragment("viewer"))}}});m.moduleName="KeywordSubscribeHomeRoot.react";f.exports=m}),null);
__d("KeywordSubscribeHomeRoute",["RelayClassic_DEPRECATED"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i;h=babelHelpers.inherits(j,c("RelayClassic_DEPRECATED").Route);i=h&&h.prototype;function j(){h.apply(this,arguments)}j.routeName="KeywordSubscribeHomeRoute";j.path="/keyword/controller";j.paramDefinitions={};j.queries={viewer:function k(l){return function(m){return{children:[].concat.apply([],[c("RelayClassic_DEPRECATED").QL.__frag(m)]),fieldName:"viewer",kind:"Query",metadata:{},name:"KeywordSubscribeHomeRoute",type:"Viewer"}}(l.getFragment("viewer"))}};f.exports=j}),null);
__d("KeywordSubscribeHomeRelayWrapper.react",["KeywordSubscribeDetailRoot.react","KeywordSubscribeDigestRoot.react","KeywordSubscribeDigestRoute","KeywordSubscribeHomeRoot.react","KeywordSubscribeHomeRoute","KeywordSubscribeSingleRoute","React","react-relay/classic/container/RelayRootContainer"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;k.prototype.render=function(){__p&&__p();var l=void 0,m=void 0;if(this.props.keywordID==null){l=new(c("KeywordSubscribeHomeRoute"))();m=c("KeywordSubscribeHomeRoot.react")}else if(!isNaN(this.props.keywordID)){l=new(c("KeywordSubscribeSingleRoute"))({keywordID:this.props.keywordID});m=c("KeywordSubscribeDetailRoot.react")}else if(this.props.keywordID===k.DIGEST_ROUTE){l=new(c("KeywordSubscribeDigestRoute"))();m=c("KeywordSubscribeDigestRoot.react")}else{l=new(c("KeywordSubscribeHomeRoute"))();m=c("KeywordSubscribeHomeRoot.react")}return c("React").createElement(c("react-relay/classic/container/RelayRootContainer"),{Component:m,route:l})};function k(){h.apply(this,arguments)}k.propTypes={keywordID:j.oneOfType([j.number,j.string])};k.DIGEST_ROUTE="digest";f.exports=k}),null);
__d("KeywordSubscribeAuxRelayWrapper.react",["KeywordSubscribeAuxHomeRoot.react","KeywordSubscribeDigestRoute","KeywordSubscribeHomeRelayWrapper.react","KeywordSubscribeHomeRoute","KeywordSubscribeSingleRoute","React","react-relay/classic/container/RelayRootContainer"],(function a(b,c,d,e,f,g){"use strict";__p&&__p();var h,i,j=c("React").PropTypes;h=babelHelpers.inherits(k,c("React").Component);i=h&&h.prototype;k.prototype.render=function(){var l=void 0;if(this.props.keywordID==null)l=new(c("KeywordSubscribeHomeRoute"))();else if(!isNaN(this.props.keywordID))l=new(c("KeywordSubscribeSingleRoute"))({keywordID:this.props.keywordID});else if(this.props.keywordID===c("KeywordSubscribeHomeRelayWrapper.react").DIGEST_ROUTE)l=new(c("KeywordSubscribeDigestRoute"))();else l=new(c("KeywordSubscribeHomeRoute"))();return c("React").createElement(c("react-relay/classic/container/RelayRootContainer"),{Component:c("KeywordSubscribeAuxHomeRoot.react"),route:l})};function k(){h.apply(this,arguments)}k.propTypes={keywordID:j.oneOfType([j.number,j.string])};f.exports=k}),null);