BusinessContentManagerTofuPreselectedContentDetailRoot.react",["BusinessContentManagerDetailViewContainer.react","BusinessContentManagerObjectTemplateType","BusinessContentManagerTofuPreselectedContentDetailRootQuery.graphql","BusinessContentManagerTypeConversionUtils","RelayHooks","react"],(function(a,b,c,d,e,f,g){"use strict";var h=["preselectedContent","selectedItems"],i,j,k=j||d("react");function a(a){var e,f,g,j,l,m,n,o,p=a.preselectedContent;a.selectedItems;a=babelHelpers.objectWithoutPropertiesLoose(a,h);e=d("RelayHooks").useLazyLoadQuery(i!==void 0?i:i=b("BusinessContentManagerTofuPreselectedContentDetailRootQuery.graphql"),{id:(e=p.post_id)!=null?e:"",caller_id:"BIZWEB_CONTENT_FEED_AND_GRID_TAB"});f=(f=e.tofu_entity)==null||(f=f.entity_info)==null?void 0:f.tofu_business_content_info;e=babelHelpers["extends"]({},p,{permalinkURI:(p=f==null?void 0:f.permalink_uri)!=null?p:"",post_id:(e=(p=e.tofu_entity)==null?void 0:p.entity_id)!=null?e:"",publishingStage:d("BusinessContentManagerTypeConversionUtils").convertUnifiedUnpublishedStageToBusinessContentPublishingStage(f==null?void 0:f.unpublished_content_publishing_stage),permissions:{canEdit:(p=f==null||(g=f.post_actions)==null?void 0:g.can_edit)!=null?p:!1,canDelete:(e=f==null||(j=f.post_actions)==null?void 0:j.can_delete)!=null?e:!1,canCreate:(p=f==null||(l=f.post_actions)==null?void 0:l.can_create)!=null?p:!1,canPublishNow:(e=f==null||(m=f.post_actions)==null?void 0:m.can_publish_now)!=null?e:!1,canReschedule:(p=f==null||(n=f.post_actions)==null?void 0:n.can_reschedule)!=null?p:!1,canDuplicate:(e=f==null||(o=f.post_actions)==null?void 0:o.can_duplicate)!=null?e:!1},product_type:f!=null&&f.content_product_type?[f==null?void 0:f.content_product_type]:[],contentType:(p=f==null?void 0:f.business_content_type)!=null?p:"UNKNOWN"});return k.jsx(c("BusinessContentManagerDetailViewContainer.react"),babelHelpers["extends"]({},a,{objectTemplateViewType:c("BusinessContentManagerObjectTemplateType").Split,selectedItems:[e]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),98);
-----
BusinessContentManagerTofuPreselectedContentDetailRootQuery.graphql",["BusinessContentManagerTofuPreselectedContentDetailRootQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"caller_id"},c={defaultValue:null,kind:"LocalArgument",name:"id"},d=[{fields:[{kind:"Variable",name:"id",variableName:"id"}],kind:"ObjectValue",name:"args"},{kind:"Variable",name:"caller_id",variableName:"caller_id"}],e={alias:null,args:null,kind:"ScalarField",name:"entity_id",storageKey:null},f={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"permalink_uri",storageKey:null}],type:"TofuBusinessPublishedPostContent",abstractKey:"__isTofuBusinessPublishedPostContent"},g={alias:null,args:null,kind:"ScalarField",name:"business_content_type",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"content_product_type",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"unpublished_content_publishing_stage",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},k={alias:null,args:null,concreteType:null,kind:"LinkedField",name:"post_actions",plural:!1,selections:[j,{alias:null,args:null,kind:"ScalarField",name:"can_delete",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_create",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_duplicate",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_edit",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_publish_now",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"can_reschedule",storageKey:null}],storageKey:null},l={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[a,c],kind:"Fragment",metadata:null,name:"BusinessContentManagerTofuPreselectedContentDetailRootQuery",selections:[{alias:null,args:d,concreteType:"TofuEntity",kind:"LinkedField",name:"tofu_entity",plural:!1,selections:[e,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_info",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tofu_business_content_info",plural:!1,selections:[f,g,h,i,k],storageKey:null}],type:"XFBTofuEntityWithBusinessContentInfo",abstractKey:"__isXFBTofuEntityWithBusinessContentInfo"}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,a],kind:"Operation",name:"BusinessContentManagerTofuPreselectedContentDetailRootQuery",selections:[{alias:null,args:d,concreteType:"TofuEntity",kind:"LinkedField",name:"tofu_entity",plural:!1,selections:[e,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"entity_info",plural:!1,selections:[j,{kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"tofu_business_content_info",plural:!1,selections:[j,f,g,h,i,k],storageKey:null}],type:"XFBTofuEntityWithBusinessContentInfo",abstractKey:"__isXFBTofuEntityWithBusinessContentInfo"},l],storageKey:null},l],storageKey:null}]},params:{id:b("BusinessContentManagerTofuPreselectedContentDetailRootQuery_facebookRelayOperation"),metadata:{},name:"BusinessContentManagerTofuPreselectedContentDetailRootQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
BusinessContentManagerTofuPreselectedContentDetailRootQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24031422883185021"}),null);
-----