BizWebInsightsBenchmarkPeerComparisonView.react",["fbt","BizWebInsightsBenchmarkContext.react","BizWebInsightsBenchmarkPeerComparisonCard.react","BizWebInsightsBenchmarkPeerComparisonViewQuery$Parameters","BizWebInsightsBenchmarkPeerComparisonViewQuery.graphql","BizWebInsightsLabel_EditCategory","CometRelay","GeoHeading.react","GeoLink.react","GeoText.react","GeoVStack.react","JSResourceForInteraction","TofuImpressionLoggingKey","geoMargin","hasExposedCBIFixathon25H2TestGroup","lazyLoadComponent","react","useBizWebInsightsCPXEventsLogger","useBizWebInsightsPlatformState","useBoolean","useRefetchablePreloadedQuery"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react")),d=u,m=d.useContext,p=d.useMemo,_=r("lazyLoadComponent")(r("JSResourceForInteraction")("BizWebInsightsBenchmarkEditCategoryModal.react").__setRef("BizWebInsightsBenchmarkPeerComparisonView.react")),f=e!==void 0?e:e=n("BizWebInsightsBenchmarkPeerComparisonViewQuery.graphql");function g(e){var t,n,a,i=e.queries,l=r("useRefetchablePreloadedQuery")(r("BizWebInsightsBenchmarkPeerComparisonViewQuery$Parameters"),i.peerComparisonQueryRef),u=l[0],d=l[1],g=o("CometRelay").usePreloadedQuery(f,d),h=r("useBoolean")(!1),y=h.set,C=h.value,b=r("useBizWebInsightsPlatformState")(),v=b.id,S=b.isPlatformFacebook,R=m(r("BizWebInsightsBenchmarkContext.react")),L=p(function(){return babelHelpers.extends({},R,{setBenchmarkSubVertical:function(t){R.setBenchmarkSubVertical(t),u({id:v,subVertical:S?t.page:t.ig})}})},[R,u,v,S]);o("useBizWebInsightsCPXEventsLogger").useBizWebInsightsCPXEventsImpressionLogger(r("TofuImpressionLoggingKey").BizInsights_Benchmark_PeerComparison);var E=(t=g.tofu_entity)==null||(t=t.entity_info)==null||(t=t.aggregated_benchmark_insights)==null?void 0:t.sub_vertical,k=r("hasExposedCBIFixathon25H2TestGroup")(),I=(E==null?void 0:E.label)==null||E.label==="",T=I&&k?s._(/*BTDS*/"Compare your business against all other businesses"):s._(/*BTDS*/"Compare your performance against businesses in the {category} category",[s._param("category",(n=E==null?void 0:E.label)!=null?n:"")]);return c.jsxs(r("GeoVStack.react"),{children:[c.jsx(r("GeoHeading.react"),{level:3,children:T}),c.jsxs(r("GeoText.react"),{display:"block",xstyle:r("geoMargin").bottom16,children:[s._(/*BTDS*/"Results are based on businesses with similar organic 28-day reach in your category.")," ",c.jsx(r("GeoLink.react"),{onClick:function(){return y(!0)},children:r("BizWebInsightsLabel_EditCategory")})]}),c.jsx(r("BizWebInsightsBenchmarkContext.react").Provider,{value:L,children:c.jsx(_,{setShowEditCategoryModal:y,showEditCategoryModal:C,subVerticalFromResponse:E==null?void 0:E.value})}),c.jsx(r("BizWebInsightsBenchmarkPeerComparisonCard.react"),{fragment:g==null||(a=g.tofu_entity)==null||(a=a.entity_info)==null?void 0:a.aggregated_benchmark_insights})]})}g.displayName=g.name+" [from "+i.id+"]",l.default=g}),226);
-----
BizWebInsightsBenchmarkPeerComparison.entrypoint",["BizWebInsightsBenchmarkPeerComparisonViewQuery$Parameters","JSResourceForInteraction"],(function(t,n,r,o,a,i,l){"use strict";var e={getPreloadProps:function(t){return{queries:{peerComparisonQueryRef:{parameters:r("BizWebInsightsBenchmarkPeerComparisonViewQuery$Parameters"),variables:{id:t.assetID,subVertical:null}}}}},root:r("JSResourceForInteraction")("BizWebInsightsBenchmarkPeerComparisonView.react").__setRef("BizWebInsightsBenchmarkPeerComparison.entrypoint")},s=e;l.default=s}),98);
-----
BizWebInsightsBenchmarkPeerComparisonViewQuery$Parameters",["BizWebInsightsBenchmarkPeerComparisonViewQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e={kind:"PreloadableConcreteRequest",params:{id:n("BizWebInsightsBenchmarkPeerComparisonViewQuery_facebookRelayOperation"),metadata:{},name:"BizWebInsightsBenchmarkPeerComparisonViewQuery",operationKind:"query",text:null}};a.exports=e}),null);
-----
BizWebInsightsBenchmarkPeerComparisonViewQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="25123378420588615"}),null);
-----