useSyncSampleTemplateStateLazyQuery",["RelayHooks","react","useSyncSampleTemplateStateLazyQuery.graphql"],(function(t,n,r,o,a,i,l){"use strict";var e,s,u=(s||(s=o("react"))).useCallback,c=e!==void 0?e:e=n("useSyncSampleTemplateStateLazyQuery.graphql");function d(e){var t=o("RelayHooks").useLazyLoadQuery(c,{name:"sample_template",waba_id:e},{fetchPolicy:"store-or-network"}),n=u(function(){var e;return((e=t.whatsAppAccountData)==null||(e=e.message_templates)==null||(e=e.nodes[0])==null?void 0:e.name)!=null},[t]);return n()}l.default=d}),98);
-----
useSyncSampleTemplateStateLazyQuery.graphql",["useSyncSampleTemplateStateLazyQuery_facebookRelayOperation"],(function(t,n,r,o,a,i){"use strict";var e=(function(){var e={defaultValue:null,kind:"LocalArgument",name:"name"},t={defaultValue:null,kind:"LocalArgument",name:"waba_id"},r=[{kind:"Variable",name:"id",variableName:"waba_id"}],o=[{kind:"Variable",name:"name_equals",variableName:"name"},{kind:"Literal",name:"statuses",value:[]}],a={alias:null,args:null,kind:"ScalarField",name:"name",storageKey:null},i={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[e,t],kind:"Fragment",metadata:null,name:"useSyncSampleTemplateStateLazyQuery",selections:[{alias:"whatsAppAccountData",args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{kind:"InlineFragment",selections:[{alias:null,args:o,concreteType:"WhatsAppBusinessAccountMessageTemplatesConnection",kind:"LinkedField",name:"message_templates",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBWhatsAppBusinessHSM",kind:"LinkedField",name:"nodes",plural:!0,selections:[a],storageKey:null}],storageKey:null}],type:"WhatsAppBusinessAccount",abstractKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[t,e],kind:"Operation",name:"useSyncSampleTemplateStateLazyQuery",selections:[{alias:"whatsAppAccountData",args:r,concreteType:null,kind:"LinkedField",name:"node",plural:!1,selections:[{alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},{kind:"InlineFragment",selections:[{alias:null,args:o,concreteType:"WhatsAppBusinessAccountMessageTemplatesConnection",kind:"LinkedField",name:"message_templates",plural:!1,selections:[{alias:null,args:null,concreteType:"XFBWhatsAppBusinessHSM",kind:"LinkedField",name:"nodes",plural:!0,selections:[a,i],storageKey:null}],storageKey:null}],type:"WhatsAppBusinessAccount",abstractKey:null},i],storageKey:null}]},params:{id:n("useSyncSampleTemplateStateLazyQuery_facebookRelayOperation"),metadata:{},name:"useSyncSampleTemplateStateLazyQuery",operationKind:"query",text:null}}})();a.exports=e}),null);
-----
useSyncSampleTemplateStateLazyQuery_facebookRelayOperation",[],(function(t,n,r,o,a,i){a.exports="26499728759627709"}),null);
-----
DeveloperIntegrationGuideSetupWhatsAppBusinessAccountContent.react",["fbt","BizKitScopingContext","BizKitSettingsAddAssetByAssetTypeButton.react","BizKitSettingsConfigCallerType","BizKitSettingsConfigProvider.react","BizKitSettingsModalProvider.react","BizMsgPlatformWhatsAppBusinessAccountsSearchableSelector.react","CometPlaceholder.react","DeveloperIntegrationGuidePhoneSelector.react","DeveloperIntegrationOnboardingCollapsibleCardGlimmer.react","GeoButton.react","GeoFlexbox.react","geoMargin","nullthrows","react","useDeveloperIntegrationGuideSharedState","useSyncSampleTemplateStateLazyQuery"],(function(t,n,r,o,a,i,l,s){"use strict";var e,u=e||(e=o("react")),c=e,d=c.useEffect,m=c.useMemo;function p(e){var t=e.wabaID,n=r("useDeveloperIntegrationGuideSharedState")(),o=n.setSampleTemplateExists,a=r("useSyncSampleTemplateStateLazyQuery")(t);return d(function(){o(a)},[a,o]),null}p.displayName=p.name+" [from "+i.id+"]";var _="SETUP_WABA_AND_WHATSAPP_BUSINESS_PORTFOLIO";function f(){var e=r("useDeveloperIntegrationGuideSharedState")(),t=e.finishStep,n=e.state,a=n.appID,l=n.businessID,c=n.phoneNumberID,d=n.wabaID,f=e.updatePhoneNumberID,g=e.updateStepProgress,h=e.updateWabaID,y=m(function(){return{assets:[],globalScope:{id:r("nullthrows")(l,"Business ID should not be null"),type:"BUSINESS"},setAssets:function(){},setGlobalScope:function(){}}},[l]);return u.jsxs(r("CometPlaceholder.react"),{fallback:u.jsx(o("DeveloperIntegrationOnboardingCollapsibleCardGlimmer.react").DeveloperIntegrationOnboardingCollapsibleCardGlimmerSection,{}),name:i.id,children:[d!=null&&u.jsx(p,{wabaID:d}),u.jsxs(r("GeoFlexbox.react"),{direction:"column",gap:8,children:[u.jsx(r("BizMsgPlatformWhatsAppBusinessAccountsSearchableSelector.react"),{businessID:r("nullthrows")(l,"Business ID should not be null"),label:s._(/*BTDS*/"WhatsApp Business Account"),onChange:function(t){h(t.id),f(null)}},l),d!=null&&a!=null&&l!=null&&u.jsx(r("DeveloperIntegrationGuidePhoneSelector.react"),{appID:a,businessID:l,onPhoneNumberChange:f,selectedPhoneNumberID:c,wabaID:d},d)]}),u.jsxs(r("GeoFlexbox.react"),{alignItems:"end",gap:8,justifyContent:"end",xstyle:r("geoMargin").top8,children:[u.jsx(r("BizKitScopingContext").Provider,{value:y,children:u.jsx(r("BizKitSettingsModalProvider.react"),{children:u.jsx(r("BizKitSettingsConfigProvider.react"),{businessID:l,caller:o("BizKitSettingsConfigCallerType").BizKitSettingsConfigCallerType.DeveloperIntegrationGuideSetupWhatsAppBusinessAccountContent,shouldOverrideAccessToken:!1,children:u.jsx(r("BizKitSettingsAddAssetByAssetTypeButton.react"),{assetTypeEnum:"WHATSAPP_BUSINESS_ACCOUNT"})})})}),u.jsx(r("GeoButton.react"),{label:s._(/*BTDS*/"Continue"),onClick:function(){g(_,"completed"),t()}},"developer-integration-guide-setup-waba-step-next")]})]})}f.displayName=f.name+" [from "+i.id+"]",l.default=f}),226);
-----