1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[9930],{59930:(K,I,g)=>{g.d(I,{o:()=>_});var c=g(91368),u=g(83068),n=g(44716),C=g(97668),m=g(36716),v=g(32116);let p=(()=>{class a{static \u0275fac=function(S){return new(S||a)};static \u0275mod=v.a4G({type:a});static \u0275inj=v.s3X({imports:[c.MD,u.wZ]})}return a})(),_=(()=>{class a{static \u0275fac=function(S){return new(S||a)};static \u0275mod=v.a4G({type:a});static \u0275inj=v.s3X({imports:[c.MD,u.wZ,n.y,n.sl,C.pX.forRoot(m.O.stripe.publishable),p]})}return a})()},97668:(K,I,g)=>{g.d(I,{IR:()=>B,Se:()=>O,pX:()=>Oe});var c=g(73448),u=g(91368),n=g(32116),C=g(66684),m=g(75084),v=g(54704),p=g(17368),_=g(46700),a=g(19900);const h=["stripeElementRef"];function D(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function S(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function Y(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function F(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function q(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function U(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function $(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function N(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function V(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function H(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function X(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function J(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function z(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function L(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function j(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function W(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function Z(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function ee(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function te(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}function ne(i,o){if(1&i&&n.C_f(0,2),2&i){const e=n.GaO();n.E7m("ngTemplateOutlet",e.loadingTemplate)}}let y=(()=>{class i{templateRef;constructor(e){this.templateRef=e}static \u0275fac=function(t){return new(t||i)(n.GI1(n.Yw2))};static \u0275dir=n.Sc5({type:i,selectors:[["","ngxStripeLoadingTemplate",""]],standalone:!0})}return i})();const P=new n.UbH("Stripe Publishable Key"),T=new n.UbH("Stripe Options"),R=new n.UbH("NGX_STRIPE_VERSION");class M{version;loader;window;key;options;stripe$=new _.g(void 0);stripe=this.stripe$.asObservable().pipe((0,C.I)(o=>!!o));constructor(o,e,t,s,r){this.version=o,this.loader=e,this.window=t,this.key=s,this.options=r,this.loader.asStream().pipe((0,C.I)(l=>!0===l.loaded),(0,m.K)(),(0,v.k)(()=>this.window.getNativeWindow().Stripe)).subscribe(l=>{const E=this.options?l(this.key,this.options):l(this.key);E.registerAppInfo(this.getNgxStripeAppInfo(this.version)),this.stripe$.next(E)})}getInstance(){return this.stripe$.getValue()}elements(o){return this.stripe.pipe((0,v.k)(e=>e.elements(o)),(0,m.K)())}redirectToCheckout(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.redirectToCheckout(o))),(0,m.K)())}confirmPayment(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.confirmPayment(o))),(0,m.K)())}confirmAcssDebitPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmAcssDebitPayment(o,e,t))),(0,m.K)())}confirmUsBankAccountPayment(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmUsBankAccountPayment(o,e))),(0,m.K)())}confirmAlipayPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmAlipayPayment(o,e,t))),(0,m.K)())}confirmAuBecsDebitPayment(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmAuBecsDebitPayment(o,e))),(0,m.K)())}confirmBancontactPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmBancontactPayment(o,e,t))),(0,m.K)())}confirmBlikPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmBlikPayment(o,e,t))),(0,m.K)())}confirmBoletoPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmBoletoPayment(o,e,t))),(0,m.K)())}confirmCardPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmCardPayment(o,e,t))),(0,m.K)())}confirmCashappPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmCashappPayment(o,e,t))),(0,m.K)())}confirmCustomerBalancePayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmCustomerBalancePayment(o,e,t))),(0,m.K)())}confirmEpsPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmEpsPayment(o,e,t))),(0,m.K)())}confirmFpxPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmFpxPayment(o,e,t))),(0,m.K)())}confirmGiropayPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmGiropayPayment(o,e,t))),(0,m.K)())}confirmGrabPayPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmGrabPayPayment(o,e,t))),(0,m.K)())}confirmIdealPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmIdealPayment(o,e,t))),(0,m.K)())}confirmKlarnaPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmKlarnaPayment(o,e,t))),(0,m.K)())}confirmKonbiniPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmKonbiniPayment(o,e,t))),(0,m.K)())}confirmOxxoPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmOxxoPayment(o,e,t))),(0,m.K)())}confirmP24Payment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmP24Payment(o,e,t))),(0,m.K)())}confirmPayNowPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmPayNowPayment(o,e,t))),(0,m.K)())}confirmPayPalPayment(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmPayPalPayment(o,e))),(0,m.K)())}confirmPixPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmPixPayment(o,e,t))),(0,m.K)())}confirmPromptPayPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmPromptPayPayment(o,e,t))),(0,m.K)())}confirmSepaDebitPayment(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmSepaDebitPayment(o,e))),(0,m.K)())}confirmSofortPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmSofortPayment(o,e,t))),(0,m.K)())}confirmWechatPayPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmWechatPayPayment(o,e,t))),(0,m.K)())}handleCardAction(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.handleCardAction(o))),(0,m.K)())}handleNextAction(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.handleNextAction(o))),(0,m.K)())}verifyMicrodepositsForPayment(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.verifyMicrodepositsForPayment(o,e))),(0,m.K)())}createRadarSession(){return this.stripe.pipe((0,p.G)(o=>(0,a.Q)(o.createRadarSession())),(0,m.K)())}collectBankAccountForPayment(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.collectBankAccountForPayment(o))),(0,m.K)())}createPaymentMethod(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.createPaymentMethod(o))),(0,m.K)())}retrievePaymentIntent(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.retrievePaymentIntent(o))),(0,m.K)())}confirmSetup(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.confirmSetup(o))),(0,m.K)())}confirmAcssDebitSetup(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmAcssDebitSetup(o,e,t))),(0,m.K)())}confirmUsBankAccountSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmUsBankAccountSetup(o,e))),(0,m.K)())}confirmAuBecsDebitSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmAuBecsDebitSetup(o,e))),(0,m.K)())}confirmBacsDebitSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmBacsDebitSetup(o,e))),(0,m.K)())}confirmBancontactSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmBancontactSetup(o,e))),(0,m.K)())}confirmCardSetup(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmCardSetup(o,e,t))),(0,m.K)())}confirmCashappSetup(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmCashappSetup(o,e,t))),(0,m.K)())}confirmIdealSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmIdealSetup(o,e))),(0,m.K)())}confirmPayPalSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmPayPalSetup(o,e))),(0,m.K)())}confirmSepaDebitSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.confirmSepaDebitSetup(o,e))),(0,m.K)())}confirmSofortSetup(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmSofortSetup(o,e,t))),(0,m.K)())}confirmAffirmPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmAffirmPayment(o,e,t))),(0,m.K)())}confirmAfterpayClearpayPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmAfterpayClearpayPayment(o,e,t))),(0,m.K)())}verifyMicrodepositsForSetup(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.verifyMicrodepositsForSetup(o,e))),(0,m.K)())}collectBankAccountForSetup(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.collectBankAccountForSetup(o))),(0,m.K)())}retrieveSetupIntent(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.retrieveSetupIntent(o))),(0,m.K)())}processOrder(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.processOrder(o))),(0,m.K)())}retrieveOrder(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.retrieveOrder(o))),(0,m.K)())}paymentRequest(o){return this.getInstance().paymentRequest(o)}createToken(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.createToken(o,e))),(0,m.K)())}createSource(o,e){return this.stripe.pipe((0,p.G)(t=>(0,a.Q)(t.createSource(o,e))),(0,m.K)())}retrieveSource(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.retrieveSource(o))),(0,m.K)())}verifyIdentity(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.verifyIdentity(o))),(0,m.K)())}collectFinancialConnectionsAccounts(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.collectFinancialConnectionsAccounts(o))),(0,m.K)())}collectBankAccountToken(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.collectBankAccountToken(o))),(0,m.K)())}createEphemeralKeyNonce(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.createEphemeralKeyNonce(o))),(0,m.K)())}initCustomCheckout(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.initCustomCheckout(o))),(0,m.K)())}initEmbeddedCheckout(o){return this.stripe.pipe((0,p.G)(e=>(0,a.Q)(e.initEmbeddedCheckout(o))),(0,m.K)())}handleCardPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.handleCardPayment(o,e,t))),(0,m.K)())}confirmPaymentIntent(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmPaymentIntent(o,e,t))),(0,m.K)())}handleCardSetup(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.handleCardSetup(o,e,t))),(0,m.K)())}confirmSetupIntent(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.confirmSetupIntent(o,e,t))),(0,m.K)())}handleFpxPayment(o,e,t){return this.stripe.pipe((0,p.G)(s=>(0,a.Q)(s.handleFpxPayment(o,e,t))),(0,m.K)())}getNgxStripeAppInfo(o){return{name:"ngx-stripe",url:"https://ngx-stripe.dev",partner_id:"pp_partner_JR4l1rmvUoPP4V",version:o}}}let b=(()=>{class i{platformId;constructor(e){this.platformId=e}getNativeWindow(){return(0,u.c0)(this.platformId)?window:{}}static \u0275fac=function(t){return new(t||i)(n.CoB(n.AHE))};static \u0275prov=n.wxM({token:i,factory:i.\u0275fac})}return i})(),x=(()=>{class i{platformId;constructor(e){this.platformId=e}getNativeDocument(){return(0,u.c0)(this.platformId)?document:{}}static \u0275fac=function(t){return new(t||i)(n.CoB(n.AHE))};static \u0275prov=n.wxM({token:i,factory:i.\u0275fac})}return i})(),Q=(()=>{class i{platformId;window;document;status=new _.g({error:!1,loaded:!1,loading:!1});constructor(e,t,s){this.platformId=e,this.window=t,this.document=s}asStream(){return this.load(),this.status.asObservable()}isReady(){return this.status.getValue().loaded}load(){if((0,u.uf)(this.platformId))return;const e=this.status.getValue();if(this.window.getNativeWindow().hasOwnProperty("Stripe"))this.status.next({error:!1,loaded:!0,loading:!1});else if(!e.loaded&&!e.loading){this.status.next({...e,loading:!0});const t=this.document.getNativeDocument().createElement("script");t.type="text/javascript",t.async=!0,t.defer=!0,t.src="https://js.stripe.com/v3/",t.onload=()=>{this.status.next({error:!1,loaded:!0,loading:!1})},t.onerror=()=>{this.status.next({error:!0,loaded:!1,loading:!1})},this.document.getNativeDocument().body.appendChild(t)}}static \u0275fac=function(t){return new(t||i)(n.CoB(n.AHE),n.CoB(b),n.CoB(x))};static \u0275prov=n.wxM({token:i,factory:i.\u0275fac})}return i})(),O=(()=>{class i{version;key;options;loader;window;stripe;constructor(e,t,s,r,l){this.version=e,this.key=t,this.options=s,this.loader=r,this.window=l,t&&(this.stripe=new M(this.version,this.loader,this.window,t,s))}getStripeReference(){return this.loader.asStream().pipe((0,C.I)(e=>!0===e.loaded),(0,v.k)(()=>this.window.getNativeWindow().Stripe))}getInstance(){return this.stripe.getInstance()}setKey(e,t){return this.changeKey(e,t)}changeKey(e,t){return this.stripe=new M(this.version,this.loader,this.window,e,t),this.stripe}elements(e){return this.stripe.elements(e)}redirectToCheckout(e){return this.stripe.redirectToCheckout(e)}confirmPayment(e){return this.stripe.confirmPayment(e)}confirmAcssDebitPayment(e,t,s){return this.stripe.confirmAcssDebitPayment(e,t,s)}confirmUsBankAccountPayment(e,t){return this.stripe.confirmUsBankAccountPayment(e,t)}confirmAlipayPayment(e,t,s){return this.stripe.confirmAlipayPayment(e,t,s)}confirmAuBecsDebitPayment(e,t){return this.stripe.confirmAuBecsDebitPayment(e,t)}confirmBancontactPayment(e,t,s){return this.stripe.confirmBancontactPayment(e,t,s)}confirmBlikPayment(e,t,s){return this.stripe.confirmBlikPayment(e,t,s)}confirmBoletoPayment(e,t,s){return this.stripe.confirmBoletoPayment(e,t,s)}confirmCardPayment(e,t,s){return this.stripe.confirmCardPayment(e,t,s)}confirmCashappPayment(e,t,s){return this.stripe.confirmCashappPayment(e,t,s)}confirmCustomerBalancePayment(e,t,s){return this.stripe.confirmCustomerBalancePayment(e,t,s)}confirmEpsPayment(e,t,s){return this.stripe.confirmEpsPayment(e,t,s)}confirmFpxPayment(e,t,s){return this.stripe.confirmFpxPayment(e,t,s)}confirmGiropayPayment(e,t,s){return this.stripe.confirmGiropayPayment(e,t,s)}confirmGrabPayPayment(e,t,s){return this.stripe.confirmGrabPayPayment(e,t,s)}confirmIdealPayment(e,t,s){return this.stripe.confirmIdealPayment(e,t,s)}confirmKlarnaPayment(e,t,s){return this.stripe.confirmKlarnaPayment(e,t,s)}confirmKonbiniPayment(e,t,s){return this.stripe.confirmKonbiniPayment(e,t,s)}confirmOxxoPayment(e,t,s){return this.stripe.confirmOxxoPayment(e,t,s)}confirmP24Payment(e,t,s){return this.stripe.confirmP24Payment(e,t,s)}confirmPayNowPayment(e,t,s){return this.stripe.confirmPayNowPayment(e,t,s)}confirmPayPalPayment(e,t){return this.stripe.confirmPayPalPayment(e,t)}confirmPixPayment(e,t,s){return this.stripe.confirmPixPayment(e,t,s)}confirmPromptPayPayment(e,t,s){return this.stripe.confirmPromptPayPayment(e,t,s)}confirmSepaDebitPayment(e,t){return this.stripe.confirmSepaDebitPayment(e,t)}confirmSofortPayment(e,t,s){return this.stripe.confirmSofortPayment(e,t,s)}confirmWechatPayPayment(e,t,s){return this.stripe.confirmWechatPayPayment(e,t,s)}handleCardAction(e){return this.stripe.handleCardAction(e)}handleNextAction(e){return this.stripe.handleNextAction(e)}verifyMicrodepositsForPayment(e,t){return this.stripe.verifyMicrodepositsForPayment(e,t)}createRadarSession(){return this.stripe.createRadarSession()}collectBankAccountForPayment(e){return this.stripe.collectBankAccountForPayment(e)}createPaymentMethod(e){return this.stripe.createPaymentMethod(e)}retrievePaymentIntent(e){return this.stripe.retrievePaymentIntent(e)}confirmSetup(e){return this.stripe.confirmSetup(e)}confirmAcssDebitSetup(e,t,s){return this.stripe.confirmAcssDebitSetup(e,t,s)}confirmUsBankAccountSetup(e,t){return this.stripe.confirmUsBankAccountSetup(e,t)}confirmAuBecsDebitSetup(e,t){return this.stripe.confirmAuBecsDebitSetup(e,t)}confirmBacsDebitSetup(e,t){return this.strip
1e.confirmBacsDebitSetup(e,t)}confirmBancontactSetup(e,t){return this.stripe.confirmBancontactSetup(e,t)}confirmCardSetup(e,t,s){return this.stripe.confirmCardSetup(e,t,s)}confirmCashappSetup(e,t,s){return this.stripe.confirmCashappSetup(e,t,s)}confirmIdealSetup(e,t){return this.stripe.confirmIdealSetup(e,t)}confirmPayPalSetup(e,t){return this.stripe.confirmPayPalSetup(e,t)}confirmSepaDebitSetup(e,t){return this.stripe.confirmSepaDebitSetup(e,t)}confirmSofortSetup(e,t,s){return this.stripe.confirmSofortSetup(e,t,s)}confirmAffirmPayment(e,t,s){return this.stripe.confirmAffirmPayment(e,t,s)}confirmAfterpayClearpayPayment(e,t,s){return this.stripe.confirmAfterpayClearpayPayment(e,t,s)}verifyMicrodepositsForSetup(e,t){return this.stripe.verifyMicrodepositsForSetup(e,t)}collectBankAccountForSetup(e){return this.stripe.collectBankAccountForSetup(e)}retrieveSetupIntent(e){return this.stripe.retrieveSetupIntent(e)}processOrder(e){return this.stripe.processOrder(e)}retrieveOrder(e){return this.stripe.retrieveOrder(e)}paymentRequest(e){return this.stripe.paymentRequest(e)}createToken(e,t){return this.stripe.createToken(e,t)}createSource(e,t){return this.stripe.createSource(e,t)}retrieveSource(e){return this.stripe.retrieveSource(e)}verifyIdentity(e){return this.stripe.verifyIdentity(e)}collectFinancialConnectionsAccounts(e){return this.stripe.collectFinancialConnectionsAccounts(e)}collectBankAccountToken(e){return this.stripe.collectBankAccountToken(e)}createEphemeralKeyNonce(e){return this.stripe.createEphemeralKeyNonce(e)}initCustomCheckout(e){return this.stripe.initCustomCheckout(e)}initEmbeddedCheckout(e){return this.stripe.initEmbeddedCheckout(e)}handleCardPayment(e,t,s){return this.stripe.handleCardPayment(e,t,s)}confirmPaymentIntent(e,t,s){return this.stripe.confirmPaymentIntent(e,t,s)}handleCardSetup(e,t,s){return this.stripe.handleCardSetup(e,t,s)}confirmSetupIntent(e,t,s){return this.stripe.confirmSetupIntent(e,t,s)}handleFpxPayment(e,t,s){return this.stripe.handleFpxPayment(e,t,s)}static \u0275fac=function(t){return new(t||i)(n.CoB(R),n.CoB(P),n.CoB(T),n.CoB(Q),n.CoB(b))};static \u0275prov=n.wxM({token:i,factory:i.\u0275fac})}return i})(),d=(()=>{class i{stripeService;constructor(e){this.stripeService=e}elements(e,t={}){return e?Object.keys(t).length>0?e.elements(t):e.elements():Object.keys(t).length>0?this.stripeService.elements(t):this.stripeService.elements()}paymentRequest(e,t){return e?e.paymentRequest(t):this.stripeService.paymentRequest(t)}mergeOptions(e,t){return!t||e&&e.classes||e&&e.classes?e||{}:{...e||{},classes:{base:t,complete:`${t}--complete`,empty:`${t}--empty`,focus:`${t}--focus`,invalid:`${t}--invalid`,webkitAutoFill:`${t}--webkit-autoFill`}}}static \u0275fac=function(t){return new(t||i)(n.CoB(O))};static \u0275prov=n.wxM({token:i,factory:i.\u0275fac})}return i})(),f=(()=>{class i{stripeElementsService;elementsOptions;stripe;elements=new n._w7;_elements;state="notready";constructor(e){this.stripeElementsService=e}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";const s=t.elementsOptions,r=t.stripe;if(r){if(e.elementsOptions)if(t._elements){const l=Object.keys(s).reduce((E,w)=>(s[w]!==e.elementsOptions.previousValue[w]&&!["fonts","loader","clientSecret"].includes(w)&&(E[w]=s[w]),E),{});t._elements.update(l)}else t._elements=yield t.stripeElementsService.elements(r,s).toPromise(),t.elements.emit(t._elements),t.state="ready"}else t.state="notready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){"notready"===e.state&&(e.state="starting",e._elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.elements.emit(e._elements),e.state="ready")})()}fetchUpdates(){return this._elements?(0,a.Q)(this._elements.fetchUpdates()):null}update(e){return this._elements?this._elements.update(e):null}submit(){return this._elements?(0,a.Q)(this._elements.submit()):null}getElement(e){if(!this._elements)return null;switch(e){case"address":return this._elements.getElement("address");case"paymentMethodMessaging":return this._elements.getElement("paymentMethodMessaging");case"affirmMessage":return this._elements.getElement("affirmMessage");case"afterpayClearpayMessage":return this._elements.getElement("afterpayClearpayMessage");case"auBankAccount":return this._elements.getElement("auBankAccount");case"card":return this._elements.getElement("card");case"cardNumber":return this._elements.getElement("cardNumber");case"cardExpiry":return this._elements.getElement("cardExpiry");case"cardCvc":return this._elements.getElement("cardCvc");case"cart":return this._elements.getElement("cart");case"fpxBank":return this._elements.getElement("fpxBank");case"epsBank":return this._elements.getElement("epsBank");case"p24Bank":return this._elements.getElement("p24Bank");case"iban":return this._elements.getElement("iban");case"idealBank":return this._elements.getElement("idealBank");case"linkAuthentication":return this._elements.getElement("linkAuthentication");case"expressCheckout":return this._elements.getElement("expressCheckout");case"payment":return this._elements.getElement("payment");case"paymentRequestButton":return this._elements.getElement("paymentRequestButton");case"shippingAddress":return this._elements.getElement("shippingAddress");default:return this._elements.getElement(e)}}static \u0275fac=function(t){return new(t||i)(n.GI1(d))};static \u0275dir=n.Sc5({type:i,selectors:[["ngx-stripe-elements"],["","ngxStripeElements",""]],inputs:{elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{elements:"elements"},standalone:!0,features:[n.SYr]})}return i})(),se=(()=>
1{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;loaderror=new n._w7;loaderstart=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){return this.element.update(e)}getValue(){return this.elements.getElement("address").getValue()}getAddressElement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("address",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.on("loaderror",()=>this.loaderror.emit()),this.element.on("loaderstart",()=>this.loaderstart.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-address"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror",loaderstart:"loaderstart"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,D,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),ie=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;ready=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getAffirmMessage(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("affirmMessage",e),this.element.on("ready",()=>this.ready.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-affirm-message"]],c
1ontentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",ready:"ready"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,S,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),re=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;ready=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getAfterpayClearpayMessage(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("afterpayClearpayMessage",e),this.element.on("ready",()=>this.ready.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-afterpay-clearpay-message"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",ready:"ready"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,Y,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),B=(()=>{class i{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t,s){this.cdr=e,this.stripeElementsService=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r))})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toProm
1ise(),e.createElement(t))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCard(){return this.element}createElement(e={}){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("card",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(n.kD9),n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-card"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,F,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),G=(()=>{class i{stripeElementsService;elementsOptions;stripe;elements=new n._w7;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;_elements;state="notready";constructor(e){this.stripeElementsService=e}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";const s=t.elementsOptions,r=t.stripe;(e.elementsOptions||e.stripe||!t._elements)&&(t._elements=yield t.stripeElementsService.elements(r,s).toPromise(),t.elements.emit(t._elements)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){"notready"===e.state&&(e.state="starting",e._elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.elements.emit(e._elements),e.state="ready")})()}static \u0275fac=function(t){return new(t||i)(n.GI1(d))};static \u0275dir=n.Sc5({type:i,selectors:[["ngx-stripe-card-group"],["","ngxStripeCardGroup",""]],inputs:{elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{elements:"elements",load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr]})}return i})(),oe=(()=>{class i{stripeElementsService;cardGroup;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;elementsSubscription;constructor(e,t,s){this.stripeElementsService=e,this.cardGroup=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){(e.options||e.containerClass)&&t.setupElement("options")})()}ngOnInit(){if(this.cardGroup)this.elementsSubscription=this.cardGroup.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")});else{if(!this.elementsProvider)throw new Error("StripeCardNumberComponent must have StripeCardGroupDirective or StripeElementsDirective parent");this.elementsSubscription=this.elementsProvider.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")})}}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCardNumber(){return this.element}setupElement(e){const t=this.stripeElementsService.mergeOptions(this.options,this.containerClass);this.element&&"options"===e?this.update(t):this.elements&&"elements"===e&&(this.element=this.elements.create("cardNumber",t),this.element.on("change",s=>{this.change.emit(s),this.cardGroup?.change.emit(s)}),this.element.on("blur",()=>{this.blur.emit(),this.cardGroup?.blur.emit()}),this.element.on("focus",()=>{this.focus.emit(),this.cardGroup?.focus.emit()}),this.element.on("ready",()=>{this.ready.emit(),this.cardGroup?.ready.emit()}),this.element.on("escape",()=>{this.escape.emit(),this.cardGroup?.escape.emit()}),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element),this.cardGroup?.load.emit(this.element))}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(G,8),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-card-number"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,q,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,s.cardGroup&&"ready"!==s.cardGroup.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),ae=(()=>
1{class i{stripeElementsService;cardGroup;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;elementsSubscription;constructor(e,t,s){this.stripeElementsService=e,this.cardGroup=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){(e.options||e.containerClass)&&t.setupElement("options")})()}ngOnInit(){if(this.cardGroup)this.elementsSubscription=this.cardGroup.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")});else{if(!this.elementsProvider)throw new Error("StripeCardExpiryComponent must have StripeCardGroupDirective or StripeElementsDirective parent");this.elementsSubscription=this.elementsProvider.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")})}}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCardExpiry(){return this.element}setupElement(e){const t=this.stripeElementsService.mergeOptions(this.options,this.containerClass);this.element&&"options"===e?this.update(t):this.elements&&"elements"===e&&(this.element=this.elements.create("cardExpiry",t),this.element.on("change",s=>{this.change.emit(s),this.cardGroup?.change.emit(s)}),this.element.on("blur",()=>{this.blur.emit(),this.cardGroup?.blur.emit()}),this.element.on("focus",()=>{this.focus.emit(),this.cardGroup?.focus.emit()}),this.element.on("ready",()=>{this.ready.emit(),this.cardGroup?.ready.emit()}),this.element.on("escape",()=>{this.escape.emit(),this.cardGroup?.escape.emit()}),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element),this.cardGroup?.load.emit(this.element))}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(G,8),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-card-expiry"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,U,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,s.cardGroup&&"ready"!==s.cardGroup.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),le=(()=>{class i{stripeElementsService;cardGroup;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;elementsSubscription;constructor(e,t,s){this.stripeElementsService=e,this.cardGroup=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){(e.options||e.containerClass)&&t.setupElement("options")})()}ngOnInit(){if(this.cardGroup)this.elementsSubscription=this.cardGroup.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")});else{if(!this.elementsProvider)throw new Error("StripeCardCvcComponent must have StripeCardGroupDirective or StripeElementsDirective parent");this.elementsSubscription=this.elementsProvider.elements.subscribe(e=>{this.elements=e,this.setupElement("elements")})}}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getCardCvc(){return this.element}setupElement(e){const t=this.stripeElementsService.mergeOptions(this.options,this.containerClass);this.element&&"options"===e?this.update(t):this.elements&&"elements"===e&&(this.element=this.elements.create("cardCvc",t),this.element.on("change",s=>{this.change.emit(s),this.cardGroup?.change.emit(s)}),this.element.on("blur",()=>{this.blur.emit(),this.cardGroup?.blur.emit()}),this.element.on("focus",()=>{this.focus.emit(),this.cardGroup?.focus.emit()}),this.element.on("ready",()=>{this.ready.emit(),this.cardGroup?.ready.emit()}),this.element.on("escape",()=>{this.escape.emit(),this.cardGroup?.escape.emit()}),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element),this.cardGroup?.load.emit(this.element))}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(G,8),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-card-cvc"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,$,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,s.cardGroup&&"ready"!==s.cardGroup.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),me=(()=>
1{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getEpsBankelement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("epsBank",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-eps-bank"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,N,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),pe=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;cancel=new n._w7;clicked=new n._w7;confirm=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;loaderror=new n._w7;shippingaddresschange=new n._w7;shippingratechange=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&t.elements&&s&&t.createElement(r),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){return this.element.update(e)}getLinkAuthenticationElement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("expressCheckout",e),this.element.on("blur",()=>this.blur.emit()),this.element.on("cancel",()=>this.cancel.emit()),this.element.on("click",t=>
1this.clicked.emit(t)),this.element.on("confirm",t=>this.confirm.emit(t)),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",t=>this.ready.emit(t)),this.element.on("escape",()=>this.escape.emit()),this.element.on("loaderror",t=>this.loaderror.emit(t)),this.element.on("shippingaddresschange",t=>this.shippingaddresschange.emit(t)),this.element.on("shippingratechange",t=>this.shippingratechange.emit(t)),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-express-checkout"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",cancel:"cancel",clicked:"clicked",confirm:"confirm",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror",shippingaddresschange:"shippingaddresschange",shippingratechange:"shippingratechange"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,V,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),ce=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getFpxBank(){return this.element}createElement(e={accountHolderType:"individual"}){this.element&&this.element.unmount(),this.element=this.elements.create("fpxBank",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-fpx-bank"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,H,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),ue=(()=>
1{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getIban(){return this.element}createElement(e={}){this.element&&this.element.unmount(),this.element=this.elements.create("iban",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-iban"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,X,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),de=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getIdealBank(){return this.element}createElement(e={}){this.element&&this.element.unmount(),this.element=this.elements.create("idealBank",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-ideal-bank"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,J,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),fe=(()=>{class i{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t,s){this.cdr=e,this.stripeElementsService=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r))})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toProm
1ise(),e.createElement(t))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardCvcDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(n.kD9),n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-issuing-card-cvc-display"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,z,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),he=(()=>{class i{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t,s){this.cdr=e,this.stripeElementsService=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r))})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardExpiryDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(n.kD9),n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-issuing-card-expiry-display"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,L,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),ye=(()=>{class i{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t,s){this.cdr=e,this.stripeElementsService=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r))})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toProm
1ise(),e.createElement(t))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardNumberDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(n.kD9),n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-issuing-card-number-display"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,j,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),ge=(()=>{class i{cdr;stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t,s){this.cdr=e,this.stripeElementsService=t,this.elementsProvider=s}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r))})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t)}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t))})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}createElement(e){this.state="ready",this.cdr.detectChanges(),this.element&&this.element.unmount(),this.element=this.elements.create("issuingCardPinDisplay",e),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(n.kD9),n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-issuing-card-pin-display"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,W,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),ve=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;loaderror=new n._w7;loaderstart=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&t.elements&&s&&t.createElement(r),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toProm
1ise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}getLinkAuthenticationElement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("linkAuthentication",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.on("loaderror",()=>this.loaderror.emit()),this.element.on("loaderstart",()=>this.loaderstart.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-link-authentication"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror",loaderstart:"loaderstart"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,Z,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),Ce=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getP24Bankelement(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("p24Bank",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-p24-bank"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,ee,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),Se=(()=>
1{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getAuBankAccount(){return this.element}createElement(e={}){this.element&&this.element.unmount(),this.element=this.elements.create("auBankAccount",e),this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",()=>this.blur.emit()),this.element.on("focus",()=>this.focus.emit()),this.element.on("ready",()=>this.ready.emit()),this.element.on("escape",()=>this.escape.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-au-bank-account"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,te,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),Ee=(()=>{class i{stripeElementsService;elementsProvider;stripeElementRef;element;elements;containerClass;options;elementsOptions;stripe;appearance;clientSecret;doNotCreateUntilClientSecretIsSet=!1;load=new n._w7;blur=new n._w7;change=new n._w7;focus=new n._w7;ready=new n._w7;escape=new n._w7;loaderror=new n._w7;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||e.clientSecret||e.appearance||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,{...t.elementsOptions||{},...t.appearance?{appearance:t.appearance}:{},...t.clientSecret?{clientSecret:t.clientSecret}:{}}).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe,{...e.elementsOptions||{},...e.appearance?{appearance:e.appearance}:{},...e.clientSecret?{clientSecret:e.clientSecret}:{}}).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){return this.element.update(e)}collapse(){return this.element.collapse()}fetchUpdates(){return(0,a.Q)(this.elements.fetchUpdates())}createElement(e={}){this.element&&this.element.unmount();try{this.element=this.elements.create("payment",e)}catch(t){throw this.elements=null,t}this.element.on("change",t=>this.change.emit(t)),this.element.on("blur",t=>this.blur.emit(t)),this.element.on("focus",t=>this.focus.emit(t)),this.element.on("ready",t=>this.ready.emit(t)),this.element.on("escape",t=>
1this.escape.emit(t)),this.element.on("loaderror",t=>this.loaderror.emit(t)),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-payment"]],viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe",appearance:"appearance",clientSecret:"clientSecret",doNotCreateUntilClientSecretIsSet:"doNotCreateUntilClientSecretIsSet"},outputs:{load:"load",blur:"blur",change:"change",focus:"focus",ready:"ready",escape:"escape",loaderror:"loaderror"},standalone:!0,features:[n.SYr,n.UHJ],decls:2,vars:0,consts:[[1,"field"],["stripeElementRef",""]],template:function(t,s){1&t&&n.wR5(0,"div",0,1)},dependencies:[u.MD],encapsulation:2})}return i})(),we=(()=>{class i{stripeElementsService;elementsProvider;loadingTemplate;stripeElementRef;element;containerClass;options;elementsOptions;stripe;load=new n._w7;ready=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)&&(t.elements=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise(),s=!0);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r)),t.state="ready"})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toPromise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}update(e){this.element.update(e)}getPaymentMethodMessaging(){return this.element}createElement(e){this.element&&this.element.unmount(),this.element=this.elements.create("paymentMethodMessaging",e),this.element.on("ready",()=>this.ready.emit()),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element)}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-payment-method-messaging"]],contentQueries:function(t,s,r){if(1&t&&n.szK(r,y,5,n.Yw2),2&t){let l;n.wto(l=n.Gqi())&&(s.loadingTemplate=l.first)}},viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",ready:"ready"},standalone:!0,features:[n.SYr,n.UHJ],decls:3,vars:1,consts:[[1,"field"],["stripeElementRef",""],[3,"ngTemplateOutlet"]],template:function(t,s){1&t&&(n.I0R(0,"div",0,1),n.yuY(2,ne,1,1,"ng-container",2),n.C$Y()),2&t&&(n.yG2(2),n.C0Y(2,"ready"!==s.state&&s.loadingTemplate?2:-1))},dependencies:[u.MD,u.XV],encapsulation:2})}return i})(),_e=(()=>{class i{stripeElementsService;elementsProvider;stripeElementRef;element;paymentRequest;containerClass;paymentOptions;options;elementsOptions;stripe;load=new n._w7;change=new n._w7;blur=new n._w7;focus=new n._w7;ready=new n._w7;token=new n._w7;paymentMethod=new n._w7;source=new n._w7;cancel=new n._w7;shippingaddresschange=new n._w7;shippingoptionchange=new n._w7;notavailable=new n._w7;elements;state="notready";elementsSubscription;constructor(e,t){this.stripeElementsService=e,this.elementsProvider=t}ngOnChanges(e){var t=this;return(0,c.c)(function*(){t.state="starting";let s=!1;if(!t.elementsProvider&&(e.elementsOptions||e.stripe||!t.elements)){const l=yield t.stripeElementsService.elements(t.stripe,t.elementsOptions).toPromise();t.elements=l,s=!0}e.paymentOptions&&t.paymentRequest&&t.updateRequest(t.paymentOptions);const r=t.stripeElementsService.mergeOptions(t.options,t.containerClass);(e.options||e.containerClass||!t.element||s)&&(t.element&&!s?t.update(r):t.elements&&s&&t.createElement(r))})()}ngOnInit(){var e=this;return(0,c.c)(function*(){const t=e.stripeElementsService.mergeOptions(e.options,e.containerClass);e.elementsProvider?e.elementsSubscription=e.elementsProvider.elements.subscribe(s=>{e.elements=s,e.createElement(t),e.state="ready"}):"notready"===e.state&&(e.state="starting",e.elements=yield e.stripeElementsService.elements(e.stripe).toProm
1ise(),e.createElement(t),e.state="ready")})()}ngOnDestroy(){this.element&&this.element.destroy(),this.elementsSubscription&&this.elementsSubscription.unsubscribe()}canMakePayment(){return(0,a.Q)(this.paymentRequest.canMakePayment())}update(e){this.element.update(e)}updateRequest(e){const{currency:t,total:s,displayItems:r,shippingOptions:l}=e;this.paymentRequest.update({currency:t,total:s,displayItems:r,shippingOptions:l})}show(){this.paymentRequest.show()}abort(){this.paymentRequest.abort()}isShowing(){return this.paymentRequest.isShowing()}getButton(){return this.element}createElement(e={}){var t=this;return(0,c.c)(function*(){t.paymentRequest=t.stripeElementsService.paymentRequest(t.stripe,t.paymentOptions),t.paymentRequest.on("token",r=>t.token.emit(r)),t.paymentMethod.observed&&t.paymentRequest.on("paymentmethod",r=>t.paymentMethod.emit(r)),t.source.observed&&!t.paymentMethod.observed&&t.paymentRequest.on("source",r=>t.source.emit(r)),t.paymentRequest.on("cancel",()=>t.cancel.emit()),t.paymentRequest.on("shippingaddresschange",r=>t.shippingaddresschange.emit(r)),t.paymentRequest.on("shippingoptionchange",r=>t.shippingoptionchange.emit(r)),t.element&&t.element.unmount(),t.element=t.elements.create("paymentRequestButton",{paymentRequest:t.paymentRequest,...e}),(yield t.paymentRequest.canMakePayment())?(t.element.on("click",r=>t.change.emit(r)),t.element.on("blur",()=>t.blur.emit()),t.element.on("focus",()=>t.focus.emit()),t.element.on("ready",()=>t.ready.emit()),t.element.mount(t.stripeElementRef.nativeElement),t.load.emit({paymentRequestButton:t.element,paymentRequest:t.paymentRequest})):t.notavailable.emit()})()}static \u0275fac=function(t){return new(t||i)(n.GI1(d),n.GI1(f,8))};static \u0275cmp=n.In1({type:i,selectors:[["ngx-stripe-payment-request-button"]],viewQuery:function(t,s){if(1&t&&n.CC$(h,5),2&t){let r;n.wto(r=n.Gqi())&&(s.stripeElementRef=r.first)}},inputs:{containerClass:"containerClass",paymentOptions:"paymentOptions",options:"options",elementsOptions:"elementsOptions",stripe:"stripe"},outputs:{load:"load",change:"change",blur:"blur",focus:"focus",ready:"ready",token:"token",paymentMethod:"paymentMethod",source:"source",cancel:"cancel",shippingaddresschange:"shippingaddresschange",shippingoptionchange:"shippingoptionchange",notavailable:"notavailable"},standalone:!0,features:[n.SYr,n.UHJ],decls:2,vars:0,consts:[[1,"field"],["stripeElementRef",""]],template:function(t,s){1&t&&n.wR5(0,"div",0,1)},dependencies:[u.MD],encapsulation:2})}return i})(),A=(()=>{class i{version;baseKey;baseOptions;loader;window;constructor(e,t,s,r,l){this.version=e,this.baseKey=t,this.baseOptions=s,this.loader=r,this.window=l}create(e,t){if(!e&&!this.baseKey)throw new Error("No key defined! Either you need to pass it as a parameter or define it when you call NgxStripeModule.forRoot()");return new M(this.version,this.loader,this.window,e||this.baseKey,t||this.baseOptions)}static \u0275fac=function(t){return new(t||i)(n.CoB(R),n.CoB(P),n.CoB(T),n.CoB(Q),n.CoB(b))};static \u0275prov=n.wxM({token:i,factory:i.\u0275fac})}return i})();const Pe=[se,ie,re,B,oe,ae,le,me,pe,ce,ue,de,fe,he,ye,ge,ve,Ce,Se,Ee,we,_e];function k(i,o){return[Q,O,A,d,b,x,{provide:P,useValue:i},{provide:T,useValue:o},{provide:R,useValue:"17.1.1"}]}let Oe=(()=>{class i{static forRoot(e,t){return{ngModule:i,providers:[...k(e,t)]}}static forChild(e,t){return{ngModule:i,providers:[...k(e,t)]}}static \u0275fac=function(t){return new(t||i)};static \u0275mod=n.a4G({type:i});static \u0275inj=n.s3X({imports:[u.MD,Pe]})}return i})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.