LWIInstantAdsGoalCTADetails.react",["fbt","CometRelay","CometRow.react","CometRowItem.react","FDSCard.react","LWICometMessagingAppsUtils","LWICometRow.react","LWIInstantAdsGoalCTADetailsQuery.graphql","LWIOmniText.react","react","useLWIInstantAdsGoals.react"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u,c=u||(u=o("react"));function d(t){var a,i,l,u,d,p,_=t.pageID,f=t.sessionID,g=o("CometRelay").useLazyLoadQuery(e!==void 0?e:e=n("LWIInstantAdsGoalCTADetailsQuery.graphql"),{pageID:_,sessionID:f}),h=g==null||(a=g.page)==null||(a=a.lwi_instant_ads_page_info)==null?void 0:a.session,y=r("useLWIInstantAdsGoals.react")(h),C=y.currentGoal,b=(i=C==null||(l=C.selectedCTAs)==null||(l=l[0])==null?void 0:l.label)!=null?i:"Learn more",v=(u=C==null||(d=C.selectedCTAs)==null||(d=d[0])==null?void 0:d.link)!=null?u:"";return c.jsx(r("LWICometRow.react"),{children:c.jsx(r("CometRowItem.react"),{expanding:!0,children:c.jsx(r("FDSCard.react"),{background:"light-wash",children:c.jsxs("div",{className:"x1l90r2v",children:[c.jsx(r("CometRow.react"),{paddingTop:16,children:c.jsx(r("CometRowItem.react"),{expanding:!1,children:c.jsx(r("LWIOmniText.react"),{type:"headline4",children:s._(/*BTDS*/"Goal details")})})}),c.jsx(r("CometRow.react"),{paddingTop:8,children:c.jsx(r("CometRowItem.react"),{expanding:!0,children:c.jsx(m,{content:b,title:s._(/*BTDS*/"Button label")})})}),(C==null?void 0:C.goal)==="GET_WEBSITE_VISITORS"?c.jsx(r("CometRow.react"),{paddingTop:4,children:c.jsx(r("CometRowItem.react"),{expanding:!0,children:c.jsx(m,{content:v,title:s._(/*BTDS*/"Website URL")})})}):null,(C==null?void 0:C.goal)==="GET_MULTI_MESSAGES"?c.jsx(r("CometRow.react"),{paddingTop:4,children:c.jsx(r("CometRowItem.react"),{expanding:!0,children:c.jsx(m,{content:o("LWICometMessagingAppsUtils").getMessagingAppsContentFromCTAs(C.selectedCTAs,(p=C.defaultCTA)==null?void 0:p.type),title:s._(/*BTDS*/"Messaging app")})})}):null]})})})})}d.displayName=d.name+" [from "+i.id+"]";function m(e){var t=e.content,n=e.title;return c.jsxs("div",{className:"x17zd0t2 x78zum5 x1q0g3np",children:[c.jsxs(r("LWIOmniText.react"),{color:"secondary",type:"body4",children:[n,": "]}),c.jsx(r("LWIOmniText.react"),{type:"body4",children:t})]})}m.displayName=m.name+" [from "+i.id+"]",l.default=d}),226);
-----
LWIInstantAdsGoalCTADetailsQuery.graphql",["LWIInstantAdsGoalCTADetailsQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e=[{defaultValue:null,kind:"LocalArgument",name:"pageID"},{defaultValue:null,kind:"LocalArgument",name:"sessionID"}],t=[{kind:"Variable",name:"id",variableName:"pageID"}],r=[{kind:"Variable",name:"id",variableName:"sessionID"}],o={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:e,kind:"Fragment",metadata:null,name:"LWIInstantAdsGoalCTADetailsQuery",selections:[{alias:null,args:t,concreteType:"Page",kind:"LinkedField",name:"page",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBLWIInstantAdsPageInfo",kind:"LinkedField",name:"lwi_instant_ads_page_info",plural:!1,selections:[{alias:null,args:r,concreteType:"XFBLWIInstantAdsSession",kind:"LinkedField",name:"session",plural:!1,selections:[{args:null,kind:"FragmentSpread",name:"useLWIInstantAdsGoals_session"}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:e,kind:"Operation",name:"LWIInstantAdsGoalCTADetailsQuery",selections:[{alias:null,args:t,concreteType:"Page",kind:"LinkedField",name:"page",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBLWIInstantAdsPageInfo",kind:"LinkedField",name:"lwi_instant_ads_page_info",plural:!1,selections:[{alias:null,args:r,concreteType:"XFBLWIInstantAdsSession",kind:"LinkedField",name:"session",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"ads_lwi_goal",storageKey:null},{alias:null,args:null,concreteType:"XFBLWIInstantAdsGoalData",kind:"LinkedField",name:"goals",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"goal",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"business_goal",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"goal_fbt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"goal_description_fbt",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"objective",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"selected_ctas",storageKey:null},{alias:null,args:null,concreteType:"XFBLWIInstantAdsCTAValues",kind:"LinkedField",name:"ctas_values",plural:!0,selections:[{alias:null,args:null,kind:"ScalarField",name:"type",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"app_destination",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"link",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"app_link",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"page",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"event_id",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"whatsapp_number",storageKey:null},{alias:null,args:null,kind:"ScalarField",name:"label",storageKey:null}],storageKey:null}],storageKey:null},o],storageKey:null},o],storageKey:null},o],storageKey:null}]},params:{id:n("LWIInstantAdsGoalCTADetailsQuery_facebookRelayOperation"),metadata:{},name:"LWIInstantAdsGoalCTADetailsQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
-----
LWIInstantAdsGoalCTADetailsQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="25134569862893825"}),null);
-----