CTXChatBuilderFlowsPreviewSectionContainer.react",["fbt","AdsMessengerConstants","AdsMessengerVisualEditorUtils","AdsUEditorUnifiedCreationUtils","CTXChatBuilderFlowsPreviewSectionContainerQuery.graphql","GeoAppearanceSelectors","GeoBaseText.react","GeoColorSelectors","GeoTextPairing.react","RelayHooks","geoMargin","getByPath","react","stylex","useJSON"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k,l=k||d("react"),m={flowsPreviewBoxContainer:{paddingTop:"x1y1aw1k",paddingInlineEnd:"xf159sx",paddingBottom:"x1120s5i",paddingInlineStart:"xmzvs34",marginBottom:"x1e56ztr",$$css:!0}},n=i!==void 0?i:i=b("CTXChatBuilderFlowsPreviewSectionContainerQuery.graphql");function a(a){var b=a.destinationType,e=a.isAutomatedGreetingMessageEnabled,f=a.pageID;a=a.welcomeMessage;f=d("AdsMessengerVisualEditorUtils").parseWelcomeMessage(f,a,b);a=e?f==null?void 0:(a=f.text_format)==null?void 0:(a=a.message)==null?void 0:(a=a.whatsapp_flow)==null?void 0:(a=a.flow_data)==null?void 0:a.flow_id:null;a=d("RelayHooks").useLazyLoadQuery(n,{flowID:a!=null?a:"",skipRequest:a==null||!e});a=(e=a.flow)==null?void 0:e.welj;e=d("AdsUEditorUnifiedCreationUtils").getSelectedCustomerActionBasedOnDestination(f,b);b=d("AdsUEditorUnifiedCreationUtils").getGreetingBasedOnCustomerActionType(e,f);e=c("getByPath")(c("useJSON")(a!=null?a:""),["screens"]);if(e===null)return;f="";a="";var g="",i="";try{var k;e=(k=c("getByPath"))(e[0],["layout","children"]);e=e[0];e=k(e,["children"]);f=k(e[0],["text"]);a=k(e[1],["text"]);g=k(e[2],["name"]);i=k(e[3],["name"])}catch(a){return}return l.jsxs("div",babelHelpers["extends"]({},(j||(j=c("stylex"))).props([m.flowsPreviewBoxContainer,d("GeoColorSelectors").selectStaticBackgroundColor({isSecondary:!1,isInverted:!1,isMuted:!0,surface:"wash"}),d("GeoAppearanceSelectors").selectBorderRadius({context:"container"})]),{children:[l.jsx("div",babelHelpers["extends"]({className:"x1e56ztr x13faqbe"},{children:l.jsx(c("GeoTextPairing.react"),{description:b,heading:d("AdsMessengerConstants").GREETING,size:"header3"})})),l.jsx(c("GeoTextPairing.react"),{description:null,heading:h._(/*BTDS*/""),size:"header3"}),l.jsxs("div",babelHelpers["extends"]({className:"x13faqbe"},{children:[l.jsx("div",{children:l.jsx(c("GeoBaseText.react"),{color:"inherit",size:"value",xstyle:c("geoMargin").bottom4,children:f})}),l.jsx("div",{children:l.jsx(c("GeoBaseText.react"),{color:"inherit",size:"value",xstyle:c("geoMargin").bottom4,children:a})})]})),l.jsxs("ol",babelHelpers["extends"]({className:"xf7dkkf"},{children:[l.jsx("li",{children:l.jsx(c("GeoBaseText.react"),{color:"inherit",size:"value",xstyle:c("geoMargin").bottom4,children:g})}),l.jsx("li",{children:l.jsx(c("GeoBaseText.react"),{color:"inherit",size:"value",xstyle:c("geoMargin").bottom4,children:i})})]}))]}))}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
CTXChatBuilderFlowsPreviewSectionContainerQuery.graphql",[],(function(a,b,c,d,e,f){"use strict";a=function(){var a=[{defaultValue:null,kind:"LocalArgument",name:"flowID"},{defaultValue:null,kind:"LocalArgument",name:"skipRequest"}],b=[{kind:"Variable",name:"id",variableName:"flowID"}],c={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"welj",storageKey:null};return{fragment:{argumentDefinitions:a,kind:"Fragment",metadata:null,name:"CTXChatBuilderFlowsPreviewSectionContainerQuery",selections:[{condition:"skipRequest",kind:"Condition",passingValue:!1,selections:[{alias:"flow",args:b,concreteType:"XFBWhatsAppExtension",kind:"LinkedField",name:"fetch__XFBWhatsAppExtension",plural:!1,selections:[c,d],storageKey:null}]}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:a,kind:"Operation",name:"CTXChatBuilderFlowsPreviewSectionContainerQuery",selections:[{condition:"skipRequest",kind:"Condition",passingValue:!1,selections:[{alias:"flow",args:b,concreteType:"XFBWhatsAppExtension",kind:"LinkedField",name:"fetch__XFBWhatsAppExtension",plural:!1,selections:[c,d,{alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null}],storageKey:null}]}]},params:{id:"29992607250354107",metadata:{},name:"CTXChatBuilderFlowsPreviewSectionContainerQuery",operationKind:"query",text:null}}}();e.exports=a}),null);
-----