Module 226846

1,172 characters · in 8ca8e75ac844d6c8.js
Dependencies
Required by (1)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,l){l.d(t,{q:()=>c});var a=l(627968);l(64700);var n=l(397927),r=l(73079),i=l(156312),o=l(252561),s=l(818348),d=l(76488);let c={name:"Choose Payment Source Type",id:"choose-payment-source-type",component:function(e){let{isEligibleForTrial:t,onlyStripeCardEnabled:l,paymentRequestWalletsEnabled:c}=e,u={onChooseType:()=>{},onStripePaymentMethodReceived:e=>{console.log("onStripePaymentMethodReceived called: ",e)},isEligibleForTrial:t,paymentRequestWallets:c?["googlePay","applePay"]:[],paymentSourceTypeRestrictions:l?[s.he.CARD.valueOf()]:null};return(0,a.jsx)(i.PaymentContextProvider,{stepConfigs:[],skuIDs:[],activeSubscription:null,children:(0,a.jsxs)(o.wn,{children:[(0,a.jsx)(n.Heading,{variant:"heading-xl/semibold",children:"Choose Payment Source Type"}),(0,a.jsx)(o.e_,{className:d.Bt,children:(0,a.jsx)("div",{className:d.VS,children:(0,a.jsx)(r.A,{...u})})})]})})},controls:{isEligibleForTrial:{label:"Is Eligible for Trial",type:"boolean",defaultValue:!1},onlyStripeCardEnabled:{label:"Only Stripe Card Enabled",type:"boolean",defaultValue:!1},paymentRequestWalletsEnabled:{label:"Payment Request Wallets Enabled",type:"boolean",defaultValue:!0}}}}