BizWebObjectInsightsSelfBenchmarkSection_Deprecated.react",["fbt","ix","BizWebInsightsErrorBoundary.react","BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery.graphql","GeoFlexbox.react","GeoHStack.react","GeoIcon.react","GeoText.react","RelayHooks","TofuDateTime","fbicon","geoMargin","react"],(function(a,b,c,d,e,f,g,h,i){"use strict";var j,k,l=k||(k=d("react")),m=k.Suspense,n=j!==void 0?j:j=b("BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery.graphql");function a(a){var b=a.event,d=a.item;a=a.metric;return d.boostInfo.hasBeenBoosted?null:l.jsx(c("BizWebInsightsErrorBoundary.react"),{location:"object_insights_self_benchmark",children:l.jsx(m,{children:l.jsx(o,{event:b,id:d.id,item:d,metric:a})})})}a.displayName=a.name+" [from "+f.id+"]";function o(a){var b=a.event,e=a.id,f=a.item;a=a.metric;e=d("RelayHooks").useLazyLoadQuery(n,{entity_type:f.entityType,event:b,id:e,metric:a});e=(e=e.tofu_metrics_query)==null?void 0:e.value;if(e==null)return null;var g=f.creationTime.toInstant(),h=c("TofuDateTime").getLocalNow().toInstant();h=(h-g)/60/60;if(e<.75&&h<72)return null;g=f.entityType==="IG_STORY"||f.entityType==="FB_PAGE_STORY"?"story":f.contentFormat==="REELS_POST"?"reel":"post";h=p(g,b,f,a,e);return h==null?null:l.jsx(c("GeoFlexbox.react"),{xstyle:c("geoMargin").vert12,children:l.jsxs(c("GeoHStack.react"),{children:[e>=.75&&l.jsx(c("GeoIcon.react"),{color:"success",icon:d("fbicon")._(i("771370"),20)}),l.jsx(c("GeoText.react"),{children:h})]})})}o.displayName=o.name+" [from "+f.id+"]";function p(a,b,c,d,e){c=!["IG_POST","IG_STORY"].includes(c.entityType);var f,g=a==="story"?"stories":a+"s";switch(b){case"IMPRESSION":d==="UNIQUE_USERS_PERCENTILE"?f=q(e,a,g,c):f=s(e,a,g,c);break;case"INTERACTION":f=t(e,a,g,c);break;case"REELS_PLAYS":f=u(e,a,g,c);break;case"LINK_CLICK":f=v(e,a,g,c);break;case"STICKER_TAPS":f=w(e,a,g,c);break;case"VIEW":f=r(e,a,g,c);break;default:return null}return f}function q(a,b,c,d){if(a>=.75)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else if(a<.25)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m4",l.jsx("strong",{children:h._(/*BTDS*/"")}))])}function r(a,b,c,d){if(a>=.75)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else if(a<.25)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m4",l.jsx("strong",{children:h._(/*BTDS*/"")}))])}function s(a,b,c,d){if(a>=.75)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else if(a<.25)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m4",l.jsx("strong",{children:h._(/*BTDS*/"")}))])}function t(a,b,c,d){if(a>=.75)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else if(a<.25)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m4",l.jsx("strong",{children:h._(/*BTDS*/"")}))])}function u(a,b,c,d){if(a>=.75)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else if(a<.25)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m4",l.jsx("strong",{children:h._(/*BTDS*/"")}))])}function v(a,b,c,d){if(a>=.75)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else if(a<.25)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m4",l.jsx("strong",{children:h._(/*BTDS*/"")}))])}function w(a,b,c,d){if(a>=.75)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else if(a<.25)return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m3",l.jsx("strong",{children:h._(/*BTDS*/"")}))]);else return h._(/*BTDS*/"",[h._param("content type",b),h._param("entity type",d?h._(/*BTDS*/""):h._(/*BTDS*/"")),h._param("content type plural form",c),h._implicitParam("=m4",l.jsx("strong",{children:h._(/*BTDS*/"")}))])}g["default"]=a}),226);
-----
BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery.graphql",["BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"entity_type"},c={defaultValue:null,kind:"LocalArgument",name:"event"},d={defaultValue:null,kind:"LocalArgument",name:"id"},e={defaultValue:null,kind:"LocalArgument",name:"metric"},f=[{fields:[{kind:"Variable",name:"event",variableName:"event"},{kind:"Variable",name:"id",variableName:"id"},{items:[{fields:[{kind:"Literal",name:"param",value:"ENTITY_TYPES"},{items:[{kind:"Variable",name:"values.0",variableName:"entity_type"}],kind:"ListValue",name:"values"}],kind:"ObjectValue",name:"qualifiers.0"},{kind:"Literal",name:"qualifiers.1",value:{param:"MARKETING_CHANNEL",values:["ORGANIC"]}}],kind:"ListValue",name:"qualifiers"},{kind:"Literal",name:"time_range",value:{type:"LAST_60D"}},{kind:"Variable",name:"tofu_metric",variableName:"metric"}],kind:"ObjectValue",name:"args"},{kind:"Literal",name:"caller_id",value:"BIZWEB_OBJECT_INSIGHTS"}],g={alias:null,args:null,kind:"ScalarField",name:"status",storageKey:null},h={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"value",storageKey:null},j={alias:null,args:null,kind:"ScalarField",name:"percentage",storageKey:null},k={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TofuMetricsDeltaQueryResult",kind:"LinkedField",name:"delta",plural:!1,selections:[i,j,{alias:null,args:null,kind:"ScalarField",name:"compared_time_range_text",storageKey:null}],storageKey:null},i],type:"TofuSingleValueMetricsQueryResult",abstractKey:null},l={alias:null,args:null,kind:"ScalarField",name:"breakdowns",storageKey:null},m={alias:null,args:null,kind:"ScalarField",name:"bucket_names",storageKey:null},n={alias:null,args:null,kind:"ScalarField",name:"bucket_value",storageKey:null},o={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"size",storageKey:null}],type:"TofuMetricsQueryBucketInfoWithSize",abstractKey:null},p={alias:null,args:null,kind:"ScalarField",name:"start_time",storageKey:null},q={alias:null,args:null,kind:"ScalarField",name:"end_time",storageKey:null};j={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TofuTimeSeriesWithoutBreakdownDataPoint",kind:"LinkedField",name:"points",plural:!0,selections:[{alias:null,args:null,concreteType:"TofuMetricsDeltaQueryResult",kind:"LinkedField",name:"delta",plural:!1,selections:[i,j],storageKey:null},p,q,i],storageKey:null}],type:"TofuTimeSeriesWithoutBreakdownMetricsQueryResult",abstractKey:null};q={kind:"InlineFragment",selections:[{alias:null,args:null,concreteType:"TofuTimeSeriesWithSingleBreakdownData",kind:"LinkedField",name:"data",plural:!0,selections:[{alias:null,args:null,concreteType:"XFBTofuTimeSeriesMetaDataShape",kind:"LinkedField",name:"metadata",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"total",storageKey:null}],storageKey:null},{alias:null,args:null,concreteType:"TofuTimeSeriesWithSingleBreakdownDataPoint",kind:"LinkedField",name:"points",plural:!0,selections:[q,p,i],storageKey:null},{alias:null,args:null,concreteType:"TofuTimeSeriesWithSingleBreakdownTitle",kind:"LinkedField",name:"title",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"key",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null}],storageKey:null}],storageKey:null}],type:"TofuTimeSeriesWithSingleBreakdownMetricsQueryResult",abstractKey:null};p={kind:"InlineFragment",selections:[{alias:null,args:null,kind:"ScalarField",name:"code",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"message",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"title",storageKey:null}],type:"TofuErrorQueryResult",abstractKey:null};return{fragment:{argumentDefinitions:[a,c,d,e],kind:"Fragment",metadata:null,name:"BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery",selections:[{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"tofu_metrics_query",plural:!1,selections:[g,h,k,{kind:"InlineFragment",selections:[l,{alias:null,args:null,concreteType:"TofuBucketValue",kind:"LinkedField",name:"bucket_values",plural:!0,selections:[m,n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"bucket_info",plural:!1,selections:[o],storageKey:null}],storageKey:null}],type:"TofuSingleValueWithBreakdownMetricsQueryResult",abstractKey:null},j,q,p],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[d,a,c,e],kind:"Operation",name:"BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery",selections:[{alias:null,args:f,concreteType:null,kind:"LinkedField",name:"tofu_metrics_query",plural:!1,selections:[h,{kind:"TypeDiscriminator",abstractKey:"__isTofuMetricsQueryResult"},g,k,{kind:"InlineFragment",selections:[l,{alias:null,args:null,concreteType:"TofuBucketValue",kind:"LinkedField",name:"bucket_values",plural:!0,selections:[m,n,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"bucket_info",plural:!1,selections:[h,o],storageKey:null}],storageKey:null}],type:"TofuSingleValueWithBreakdownMetricsQueryResult",abstractKey:null},j,q,p],storageKey:null}]},params:{id:b("BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery_facebookRelayOperation"),metadata:{},name:"BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
BizWebObjectInsightsSelfBenchmarkSectionDeprecatedQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="10025976617481592"}),null);
-----