LinkConfirmationFlowBusinessPortfolioTransparencyDialog.react",["fbt","CometColumn.react","CometColumnItem.react","FDSButtonGroup.react","FDSDialog.react","FDSDialogHeader.react","FDSText.react","LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery.graphql","PageFamilyOfAppsLinkFalcoEvent","PageInstagramBusinessPortfolioTransparencyAccountListCell.react","PageInstagramBusinessPortfolioTransparencyModalFragment.graphql","PageInstagramBusinessPortfolioTransparencyStrings","RelayHooks","react","unrecoverableViolation","useVisibilityObserver"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useCallback,m={content:{marginTop:"xw7yly9",marginBottom:"x1yztbdb",marginInlineStart:"xyqm7xq",marginInlineEnd:"x1ys307a",marginLeft:null,marginRight:null,$$css:!0}},n=i!==void 0?i:i=b("LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery.graphql");function a(a){var b,e,f=a.handleClose,g=a.handleComplete,i=a.linkConfirmationIgOidcToken,j=a.loggingData;a=a.pageID;if(i==null)throw c("unrecoverableViolation")("Unexpected null or empty: igOidcToken should not be an null or an empty array","presence_management");else if(a==null)throw c("unrecoverableViolation")("PageID to handlePageLinkInstagramAction should never be null.","presence_management");i=d("RelayHooks").useLazyLoadQuery(n,{ig_oidc_id_token:i,page_id:a});a=d("RelayHooks").useFragment(c("PageInstagramBusinessPortfolioTransparencyModalFragment.graphql"),i.business_portfolio_transparency_page_link_to_ig);i=(i=a==null?void 0:a.new_or_target_business_portfolio)!=null?i:{};var o=i.name,p=i.num_admins;i=i.profile_picture_url;var q=a==null||(b=a.current_asset)==null?void 0:b.profile_pic_uri;a=a==null||(e=a.to_be_linked_asset)==null?void 0:e.profile_pic_uri;var r=c("useVisibilityObserver")({onVisible:function(){c("PageFamilyOfAppsLinkFalcoEvent").log(function(){return babelHelpers["extends"]({event_data:{event_location:"comet_business_portfolio_transparency_disclosure_screen",event_name:"impression",event_type:"ui",flow_type:"link_confirmation"}},j)})}}),s=l(function(){c("PageFamilyOfAppsLinkFalcoEvent").log(function(){return babelHelpers["extends"]({event_data:{event_location:"comet_business_portfolio_transparency_disclosure_screen",event_name:"ig_page_link_confirmation_bp_transparency_continue_clicked",event_type:"ui",flow_type:"link_confirmation"}},j)}),g()},[g,j]),t=l(function(){c("PageFamilyOfAppsLinkFalcoEvent").log(function(){return babelHelpers["extends"]({event_data:{event_location:"comet_business_portfolio_transparency_disclosure_screen",event_name:"ig_page_link_confirmation_bp_transparency_cancel_clicked",event_type:"ui",flow_type:"link_confirmation"}},j)}),f()},[f,j]);return k.jsx(c("FDSDialog.react"),{footer:k.jsx(c("FDSButtonGroup.react"),{direction:"backward",paddingHorizontal:16,paddingVertical:16,primary:{label:h._(/*BTDS*/""),onPress:s,testid:"page-instagram-business-portfolio-transparency-modal-continue-button"},secondary:{label:h._(/*BTDS*/""),onPress:t,type:"secondary"}}),header:k.jsx(c("FDSDialogHeader.react"),{onClose:f,text:d("PageInstagramBusinessPortfolioTransparencyStrings").BP_TRANSPARENCY_DISCLOSURE_TITLE}),ref:r,children:k.jsxs(c("CometColumn.react"),{children:[k.jsx(c("CometColumnItem.react"),{xstyle:m.content,children:k.jsx(c("FDSText.react"),{type:"body2",children:d("PageInstagramBusinessPortfolioTransparencyStrings").BP_TRANSPARENCY_DISCLOSURE_BODY})}),k.jsx(c("CometColumnItem.react"),{xstyle:m.content,children:k.jsx(c("FDSText.react"),{type:"headlineEmphasized3",children:d("PageInstagramBusinessPortfolioTransparencyStrings").BP_ASSETS_GROUP_TITLE})}),k.jsx(c("CometColumnItem.react"),{children:k.jsx(c("PageInstagramBusinessPortfolioTransparencyAccountListCell.react"),{businessName:o,businessProfilePicUri:i,igProfilePicUri:a,numberOfAdmins:p,pageProfilePicUri:q})}),k.jsx(c("CometColumnItem.react"),{xstyle:m.content,children:k.jsx(c("FDSText.react"),{type:"body2",children:d("PageInstagramBusinessPortfolioTransparencyStrings").BP_TRANSPARENCY_DISCLOSURE_FOOTER})})]})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery.graphql",["LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery_facebookRelayOperation"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={defaultValue:null,kind:"LocalArgument",name:"ig_oidc_id_token"},c={defaultValue:null,kind:"LocalArgument",name:"page_id"},d=[{kind:"Variable",name:"ig_oidc_id_token",variableName:"ig_oidc_id_token"},{kind:"Variable",name:"page_id",variableName:"page_id"}],e={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},f={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null},g=[e,{alias:null,args:null,kind:"ScalarField",name:"profile_pic_uri",storageKey:null},{kind:"InlineFragment",selections:[f],type:"Node",abstractKey:"__isNode"}];return{fragment:{argumentDefinitions:[a,c],kind:"Fragment",metadata:null,name:"LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery",selections:[{alias:null,args:d,concreteType:null,kind:"LinkedField",name:"business_portfolio_transparency_page_link_to_ig",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"PageInstagramBusinessPortfolioTransparencyModalFragment"}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[c,a],kind:"Operation",name:"LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery",selections:[{alias:null,args:d,concreteType:null,kind:"LinkedField",name:"business_portfolio_transparency_page_link_to_ig",plural:!1,selections:[e,{kind:"TypeDiscriminator",abstractKey:"__isBusinessPortfolioTransparencyDataForBPL"},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"new_or_target_business_portfolio",plural:!1,selections:[e,{alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"profile_picture_url",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"num_admins",storageKey:null},f],storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"current_asset",plural:!1,selections:g,storageKey:null},{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"to_be_linked_asset",plural:!1,selections:g,storageKey:null}],storageKey:null}]},params:{id:b("LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery_facebookRelayOperation"),metadata:{},name:"LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----
LinkConfirmationFlowBusinessPortfolioTransparencyDialogQuery_facebookRelayOperation",[],(function(a,b,c,d,e,f){e.exports="24247782128191373"}),null);
-----