BillingHubXmdsWizardPlaygroundView.react",["fbt","BillingHubCard.react","BillingHubXmdsWizardPlaygroundViewQuery.graphql","BillingHubXmdsWizardPlaygroundViewStyles","BillingXmdsComponentSelector.react","BillingXmdsCountryCurrencySelector.react","BillingXmdsInfoSection.react","BillingXmdsThemeSelector.react","BillingXmdsWizardSelector.react","BusinessAppUpsellConfig","CDSText.react","CometRelay","GeoSection.react","react"],(function(a,b,c,d,e,f,g,h){"use strict";var i,j,k=j||(j=d("react")),l=j.useState;function a(a){var e,f,g;a=a.queries.root;a=d("CometRelay").usePreloadedQuery(i!==void 0?i:i=b("BillingHubXmdsWizardPlaygroundViewQuery.graphql"),a);var j=l("XMDS"),m=j[0];j=j[1];e=(e=a==null||(f=a.viewer)==null||(f=f.permitted_ad_accounts[0])==null?void 0:f.legacy_account_id)!=null?e:"0";a=(a=a==null||(g=a.viewer)==null||(g=g.permitted_ad_accounts[0])==null||(g=g.payment_account)==null||(g=g.billing_payment_method_options[0])==null?void 0:g.id)!=null?a:"0";var n=l(null),o=n[0];n=n[1];var p=l(null),q=p[0];p=p[1];var r=d("BusinessAppUpsellConfig").isMobileOS();a={allocationID:"0",businessID:"0",country:o==null?void 0:o.country,creditPartitionFlowMode:"0",currency:o==null?void 0:o.currency,customRelayProvider:null,entryPointDetails:{entryPoint:"BILLING_HUB"},filter:null,intent:null,isMobileOverlayWizard:r,mobileDisplay:!1,paymentAccountID:e!=null?e:"0",paymentMethodID:a!=null?a:"0",plaidItemID:"0",selectedTheme:m,wizardName:q!=null?q:"ADD_PM"};return k.jsx(c("BillingHubCard.react"),{pageComponentName:"xmds_wizard_playground",title:"",children:k.jsx(c("GeoSection.react"),{children:k.jsxs("div",{style:c("BillingHubXmdsWizardPlaygroundViewStyles").container,children:[r?k.jsx(c("BillingXmdsThemeSelector.react"),{isMobile:r,onThemeChange:j,selectedTheme:m}):null,k.jsx("div",{style:c("BillingHubXmdsWizardPlaygroundViewStyles").componentSpacingBottom,children:k.jsx(c("CDSText.react"),{textStyle:"bodyEmphasized",children:h._(/*BTDS*/"")})}),k.jsx(c("BillingXmdsCountryCurrencySelector.react"),{onCountryCurrencyChange:n,selectedCountryCurrency:o}),k.jsx(c("BillingXmdsWizardSelector.react"),{isMobile:r,onWizardChange:p,selectedPaymentAccountID:e,selectedWizard:q,wizardPreloadParams:a}),k.jsx(c("BillingXmdsComponentSelector.react"),{isMobile:r,selectedTheme:m}),k.jsx(c("BillingXmdsInfoSection.react"),{}),k.jsx("div",{style:c("BillingHubXmdsWizardPlaygroundViewStyles").componentSpacing})]})})})}a.displayName=a.name+" [from "+f.id+"]";g["default"]=a}),226);
-----
BillingHubXmdsWizardPlaygroundViewQuery.graphql",["BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"legacy_account_id",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"BillingHubXmdsWizardPlaygroundViewQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"AdAccount",kind:"LinkedField",name:"permitted_ad_accounts",plural:!0,selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"payment_account",plural:!1,selections:[c,d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"billing_payment_method_options",plural:!0,selections:[d],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"BillingHubXmdsWizardPlaygroundViewQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"AdAccount",kind:"LinkedField",name:"permitted_ad_accounts",plural:!0,selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"payment_account",plural:!1,selections:[c,d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"billing_payment_method_options",plural:!0,selections:[c,d],storageKey:null}],storageKey:null},d],storageKey:null}],storageKey:null}]},params:{id:b("BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation"),metadata:{},name:"BillingHubXmdsWizardPlaygroundViewQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
BillingHubXmdsWizardPlaygroundView.entrypoint",["BillingHubXmdsWizardPlaygroundViewQuery$Parameters","JSResourceForInteraction"],(function(o,n,r,l,t,u,e){"use strict";var i={getPreloadProps:function(s){return{queries:{root:{options:{},parameters:r("BillingHubXmdsWizardPlaygroundViewQuery$Parameters"),variables:{}}}}},root:r("JSResourceForInteraction")("BillingHubXmdsWizardPlaygroundView.react").__setRef("BillingHubXmdsWizardPlaygroundView.entrypoint")};e.default=i}),98);
-----
BillingHubXmdsWizardPlaygroundViewQuery$Parameters",["BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation"],(function(l,e,u,d,a,n){"use strict";var r={kind:"PreloadableConcreteRequest",params:{id:e("BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation"),metadata:{},name:"BillingHubXmdsWizardPlaygroundViewQuery",operationKind:"query",text:null}};a.exports=r}),null);
-----
BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation",[],(function(i,a,l,o,e,u){e.exports="30677085058606937"}),null);
-----
-----
BillingHubXmdsWizardPlaygroundViewQuery.graphql",["BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation","relay-runtime"],(function(a,b,c,d,e,f){"use strict";a=function(){var a={alias:null,args:null,kind:"ScalarField",name:"legacy_account_id",storageKey:null},c={alias:null,args:null,kind:"ScalarField",name:"__typename",storageKey:null},d={alias:null,args:null,kind:"ScalarField",name:"id",storageKey:null};return{fragment:{argumentDefinitions:[],kind:"Fragment",metadata:null,name:"BillingHubXmdsWizardPlaygroundViewQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"AdAccount",kind:"LinkedField",name:"permitted_ad_accounts",plural:!0,selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"payment_account",plural:!1,selections:[c,d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"billing_payment_method_options",plural:!0,selections:[d],storageKey:null}],storageKey:null}],storageKey:null}],storageKey:null}],type:"Query",abstractKey:null},kind:"Request",operation:{argumentDefinitions:[],kind:"Operation",name:"BillingHubXmdsWizardPlaygroundViewQuery",selections:[{alias:null,args:null,concreteType:"Viewer",kind:"LinkedField",name:"viewer",plural:!1,selections:[{alias:null,args:null,concreteType:"AdAccount",kind:"LinkedField",name:"permitted_ad_accounts",plural:!0,selections:[a,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"payment_account",plural:!1,selections:[c,d,{alias:null,args:null,concreteType:null,kind:"LinkedField",name:"billing_payment_method_options",plural:!0,selections:[c,d],storageKey:null}],storageKey:null},d],storageKey:null}],storageKey:null}]},params:{id:b("BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation"),metadata:{},name:"BillingHubXmdsWizardPlaygroundViewQuery",operationKind:"query",text:null}}}();b("relay-runtime").PreloadableQueryRegistry.set(a.params.id,a);e.exports=a}),null);
-----
BillingHubXmdsWizardPlaygroundView.entrypoint",["BillingHubXmdsWizardPlaygroundViewQuery$Parameters","JSResourceForInteraction"],(function(o,n,r,l,t,u,e){"use strict";var i={getPreloadProps:function(s){return{queries:{root:{options:{},parameters:r("BillingHubXmdsWizardPlaygroundViewQuery$Parameters"),variables:{}}}}},root:r("JSResourceForInteraction")("BillingHubXmdsWizardPlaygroundView.react").__setRef("BillingHubXmdsWizardPlaygroundView.entrypoint")};e.default=i}),98);
-----
BillingHubXmdsWizardPlaygroundViewQuery$Parameters",["BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation"],(function(l,e,u,d,a,n){"use strict";var r={kind:"PreloadableConcreteRequest",params:{id:e("BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation"),metadata:{},name:"BillingHubXmdsWizardPlaygroundViewQuery",operationKind:"query",text:null}};a.exports=r}),null);
-----
BillingHubXmdsWizardPlaygroundViewQuery_facebookRelayOperation",[],(function(i,a,l,o,e,u){e.exports="30677085058606937"}),null);
-----