New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ngx-stripe

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-stripe - npm Package Compare versions

Comparing version 8.1.1 to 8.1.2

2

bundles/ngx-stripe.umd.min.js

@@ -15,3 +15,3 @@ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("rxjs/operators"),require("@angular/common"),require("rxjs")):"function"==typeof define&&define.amd?define("ngx-stripe",["exports","@angular/core","rxjs/operators","@angular/common","rxjs"],e):e((t=t||self)["ngx-stripe"]={},t.ng.core,t.rxjs.operators,t.ng.common,t.rxjs)}(this,(function(t,e,n,i,r){"use strict";

and limitations under the License.
***************************************************************************** */var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function s(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var p=t.length-1;p>=0;p--)(r=t[p])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function p(t,e){return function(n,i){e(n,i,t)}}function u(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{u(i.next(t))}catch(t){o(t)}}function p(t){try{u(i.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,p)}u((i=i.apply(t,e||[])).next())}))}function c(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:p(0),throw:p(1),return:p(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function p(o){return function(p){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,p])}}}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function m(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}var l=new e.InjectionToken("Stripe Publishable Key"),h=new e.InjectionToken("Stripe Options"),f=function(){function t(t){this.platformId=t}return t.prototype.getNativeWindow=function(){return i.isPlatformBrowser(this.platformId)?window:{}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]}]},t=s([e.Injectable(),p(0,e.Inject(e.PLATFORM_ID))],t)}(),d=function(){function t(t){this.platformId=t}return t.prototype.getNativeDocument=function(){return i.isPlatformBrowser(this.platformId)?document:{}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]}]},t=s([e.Injectable(),p(0,e.Inject(e.PLATFORM_ID))],t)}(),y=function(){function t(t,e,n){this.platformId=t,this.window=e,this.document=n,this.status=new r.BehaviorSubject({error:!1,loaded:!1,loading:!1})}return t.prototype.asStream=function(){return this.load(),this.status.asObservable()},t.prototype.isReady=function(){return this.status.getValue().loaded},t.prototype.load=function(){var t=this;if(!i.isPlatformServer(this.platformId)){var 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(o(o({},e),{loading:!0}));var n=this.document.getNativeDocument().createElement("script");n.type="text/javascript",n.async=!0,n.defer=!0,n.src="https://js.stripe.com/v3/",n.onload=function(){t.status.next({error:!1,loaded:!0,loading:!1})},n.onerror=function(){t.status.next({error:!0,loaded:!1,loading:!1})},this.document.getNativeDocument().body.appendChild(n)}}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]},{type:f},{type:d}]},t=s([e.Injectable(),p(0,e.Inject(e.PLATFORM_ID))],t)}(),v=function(){function t(t,e,i,o){var s=this;this.loader=t,this.window=e,this.key=i,this.options=o,this.stripe$=new r.BehaviorSubject(void 0),this.stripe=this.stripe$.asObservable().pipe(n.filter((function(t){return Boolean(t)}))),this.loader.asStream().pipe(n.filter((function(t){return!0===t.loaded})),n.first(),n.map((function(){return s.window.getNativeWindow().Stripe}))).subscribe((function(t){var e=s.options?t(s.key,s.options):t(s.key);s.stripe$.next(e)}))}return t.prototype.getInstance=function(){return this.stripe$.getValue()},t.prototype.elements=function(t){return this.stripe$.asObservable().pipe(n.filter((function(t){return Boolean(t)})),n.map((function(e){return e.elements(t)})),n.first())},t.prototype.redirectToCheckout=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.redirectToCheckout(t))})),n.first())},t.prototype.confirmAuBecsDebitPayment=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmAuBecsDebitPayment(t,e))})),n.first())},t.prototype.confirmBancontactPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmBancontactPayment(t,e,i))})),n.first())},t.prototype.confirmCardPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmCardPayment(t,e,i))})),n.first())},t.prototype.confirmEpsPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmEpsPayment(t,e,i))})),n.first())},t.prototype.confirmFpxPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmFpxPayment(t,e,i))})),n.first())},t.prototype.confirmGiropayPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmGiropayPayment(t,e,i))})),n.first())},t.prototype.confirmIdealPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmIdealPayment(t,e,i))})),n.first())},t.prototype.confirmP24Payment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmP24Payment(t,e,i))})),n.first())},t.prototype.confirmSepaDebitPayment=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmSepaDebitPayment(t,e))})),n.first())},t.prototype.handleCardAction=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.handleCardAction(t))})),n.first())},t.prototype.createPaymentMethod=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.createPaymentMethod(t))})),n.first())},t.prototype.retrievePaymentIntent=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.retrievePaymentIntent(t))})),n.first())},t.prototype.confirmAuBecsDebitSetup=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmAuBecsDebitSetup(t,e))})),n.first())},t.prototype.confirmCardSetup=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmCardSetup(t,e,i))})),n.first())},t.prototype.confirmSepaDebitSetup=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmSepaDebitSetup(t,e))})),n.first())},t.prototype.retrieveSetupIntent=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.confirmSepaDebitSetup(t))})),n.first())},t.prototype.paymentRequest=function(t){var e=this.getInstance();return e?e.paymentRequest(t):void 0},t.prototype.createToken=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.createToken(t,e))})),n.first())},t.prototype.createSource=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.createSource(t,e))})),n.first())},t.prototype.retrieveSource=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.retrieveSource(t))})),n.first())},t.prototype.handleCardPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.handleCardPayment(t,e,i))})),n.first())},t.prototype.confirmPaymentIntent=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmPaymentIntent(t,e,i))})),n.first())},t.prototype.handleCardSetup=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.handleCardSetup(t,e,i))})),n.first())},t.prototype.confirmSetupIntent=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmSetupIntent(t,e,i))})),n.first())},t.prototype.handleFpxPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.handleFpxPayment(t,e,i))})),n.first())},t}(),E=function(){function t(t,e,n,i){this.key=t,this.options=e,this.loader=n,this.window=i,t&&(this.stripe=new v(this.loader,this.window,t,e))}return t.prototype.getStripeReference=function(){var t=this;return this.loader.asStream().pipe(n.filter((function(t){return!0===t.loaded})),n.map((function(){return t.window.getNativeWindow().Stripe})))},t.prototype.getInstance=function(){return this.stripe.getInstance()},t.prototype.setKey=function(t,e){return this.changeKey(t,e)},t.prototype.changeKey=function(t,e){return this.stripe=new v(this.loader,this.window,t,e),this.stripe},t.prototype.elements=function(t){return this.stripe.elements(t)},t.prototype.redirectToCheckout=function(t){return this.stripe.redirectToCheckout(t)},t.prototype.confirmAuBecsDebitPayment=function(t,e){return this.stripe.confirmAuBecsDebitPayment(t,e)},t.prototype.confirmBancontactPayment=function(t,e,n){return this.stripe.confirmBancontactPayment(t,e,n)},t.prototype.confirmCardPayment=function(t,e,n){return this.stripe.confirmCardPayment(t,e,n)},t.prototype.confirmEpsPayment=function(t,e,n){return this.stripe.confirmEpsPayment(t,e,n)},t.prototype.confirmFpxPayment=function(t,e,n){return this.stripe.confirmFpxPayment(t,e,n)},t.prototype.confirmGiropayPayment=function(t,e,n){return this.stripe.confirmGiropayPayment(t,e,n)},t.prototype.confirmIdealPayment=function(t,e,n){return this.stripe.confirmIdealPayment(t,e,n)},t.prototype.confirmP24Payment=function(t,e,n){return this.stripe.confirmP24Payment(t,e,n)},t.prototype.confirmSepaDebitPayment=function(t,e){return this.stripe.confirmSepaDebitPayment(t,e)},t.prototype.handleCardAction=function(t){return this.stripe.handleCardAction(t)},t.prototype.createPaymentMethod=function(t){return this.stripe.createPaymentMethod(t)},t.prototype.retrievePaymentIntent=function(t){return this.stripe.retrievePaymentIntent(t)},t.prototype.confirmAuBecsDebitSetup=function(t,e){return this.stripe.confirmAuBecsDebitSetup(t,e)},t.prototype.confirmCardSetup=function(t,e,n){return this.stripe.confirmCardSetup(t,e,n)},t.prototype.confirmSepaDebitSetup=function(t,e){return this.stripe.confirmSepaDebitSetup(t,e)},t.prototype.retrieveSetupIntent=function(t){return this.stripe.retrieveSetupIntent(t)},t.prototype.paymentRequest=function(t){return this.stripe.paymentRequest(t)},t.prototype.createToken=function(t,e){return this.stripe.createToken(t,e)},t.prototype.createSource=function(t,e){return this.stripe.createSource(t,e)},t.prototype.retrieveSource=function(t){return this.stripe.retrieveSource(t)},t.prototype.handleCardPayment=function(t,e,n){return this.stripe.handleCardPayment(t,e,n)},t.prototype.confirmPaymentIntent=function(t,e,n){return this.stripe.confirmPaymentIntent(t,e,n)},t.prototype.handleCardSetup=function(t,e,n){return this.stripe.handleCardSetup(t,e,n)},t.prototype.confirmSetupIntent=function(t,e,n){return this.stripe.confirmSetupIntent(t,e,n)},t.prototype.handleFpxPayment=function(t,e,n){return this.stripe.handleFpxPayment(t,e,n)},t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Inject,args:[l]}]},{type:void 0,decorators:[{type:e.Inject,args:[h]}]},{type:y},{type:f}]},t=s([e.Injectable(),p(0,e.Inject(l)),p(1,e.Inject(h))],t)}(),g=function(){function t(t){this.stripeService=t}return t.prototype.elements=function(t,e){return t?Object.keys(e).length>0?t.elements(e):t.elements():Object.keys(e).length>0?this.stripeService.elements(e):this.stripeService.elements()},t.prototype.paymentRequest=function(t,e){return t?t.paymentRequest(e):this.stripeService.paymentRequest(e)},t.prototype.mergeOptions=function(t,e){return!e||t&&t.classes||t&&t.classes?t:o(o({},t||{}),{classes:{base:e,complete:e+"--complete",empty:e+"--empty",focus:e+"--focus",invalid:e+"--invalid",webkitAutoFill:e+"--webkit-autoFill"}})},t.ctorParameters=function(){return[{type:E}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(E))},token:t,providedIn:"root"}),t=s([e.Injectable({providedIn:"root"})],t)}(),w=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("card",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCard=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card",template:'<div class="field" #stripeElementRef></div>'})],t)}(),O=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("cardNumber",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCardNumber=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card-number",template:'<div class="field" #stripeElementRef></div>'})],t)}(),b=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("cardExpiry",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCardExpiry=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card-expiry",template:'<div class="field" #stripeElementRef></div>'})],t)}(),S=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("cardCvc",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCardCvc=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card-cvc",template:'<div class="field" #stripeElementRef></div>'})],t)}(),P=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("fpxBank",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getFpxBank=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-fpx-bank",template:'<div class="field" #stripeElementRef></div>'})],t)}(),I=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("idealBank",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getIdealBank=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-ideal-bank",template:'<div class="field" #stripeElementRef></div>'})],t)}(),C=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("iban",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getIban=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-iban",template:'<div class="field" #stripeElementRef></div>'})],t)}(),R=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("auBankAccount",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getAuBankAccount=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-au-bank-account",template:'<div class="field" #stripeElementRef></div>'})],t)}(),x=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.change=new e.EventEmitter,this.blur=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.token=new e.EventEmitter,this.paymentMethod=new e.EventEmitter,this.source=new e.EventEmitter,this.cancel=new e.EventEmitter,this.shippingaddresschange=new e.EventEmitter,this.shippingoptionchange=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,s=this;return c(this,(function(p){switch(p.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=p.sent(),this.elements=r,p.label=2;case 2:return t.paymentOptions&&this.paymentRequest&&this.updateRequest(this.paymentOptions),(t.options||t.containerClass)&&(this.element?this.update(e):(this.paymentRequest=this.stripeElementsService.paymentRequest(i,this.paymentOptions),this.paymentRequest.on("token",(function(t){return s.token.emit(t)})),this.paymentRequest.on("paymentmethod",(function(t){return s.paymentMethod.emit(t)})),this.paymentRequest.on("source",(function(t){return s.source.emit(t)})),this.paymentRequest.on("cancel",(function(){return s.cancel.emit()})),this.paymentRequest.on("shippingaddresschange",(function(t){return s.shippingaddresschange.emit(t)})),this.paymentRequest.on("shippingoptionchange",(function(t){return s.shippingoptionchange.emit(t)})),this.element=this.elements.create("paymentRequestButton",o({paymentRequest:this.paymentRequest},e)),this.canMakePayment().subscribe((function(t){console.log("Result",t),t.applePay&&(s.element.on("click",(function(t){return s.change.emit(t)})),s.element.on("blur",(function(){return s.blur.emit()})),s.element.on("focus",(function(){return s.focus.emit()})),s.element.on("ready",(function(){return s.ready.emit()})),s.element.mount(s.stripeElementRef.nativeElement),s.load.emit({paymentRequestButton:s.element,paymentRequest:s.paymentRequest}))})))),[2]}}))}))},t.prototype.canMakePayment=function(){return r.from(this.paymentRequest.canMakePayment())},t.prototype.update=function(t){this.element.update(t)},t.prototype.updateRequest=function(t){this.paymentRequest.update(t)},t.prototype.show=function(){this.paymentRequest.show()},t.prototype.getButton=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"paymentOptions",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"token",void 0),s([e.Output()],t.prototype,"paymentMethod",void 0),s([e.Output()],t.prototype,"source",void 0),s([e.Output()],t.prototype,"cancel",void 0),s([e.Output()],t.prototype,"shippingaddresschange",void 0),s([e.Output()],t.prototype,"shippingoptionchange",void 0),t=s([e.Component({selector:"ngx-stripe-payment-request-button",template:'<div class="field" #stripeElementRef></div>'})],t)}(),M=function(){function t(t,e,n,i){this.baseKey=t,this.baseOptions=e,this.loader=n,this.window=i}return t.prototype.create=function(t,e){return t||this.baseKey?new v(this.loader,this.window,t||this.baseKey,e||this.baseOptions):null},t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Inject,args:[l]}]},{type:void 0,decorators:[{type:e.Inject,args:[h]}]},{type:y},{type:f}]},t=s([e.Injectable(),p(0,e.Inject(l)),p(1,e.Inject(h))],t)}(),j=[w,O,b,S,P,I,C,R,x],k=function(){function t(){}var n;return n=t,t.forRoot=function(t,e){return{ngModule:n,providers:[y,E,M,f,d,{provide:l,useValue:t},{provide:h,useValue:e}]}},t.forChild=function(t,e){return{ngModule:n,providers:[y,E,M,f,d,{provide:l,useValue:t},{provide:h,useValue:e}]}},t=n=s([e.NgModule({declarations:m(j),exports:m(j)})],t)}();t.DocumentRef=d,t.LazyStripeAPILoader=y,t.NgxStripeModule=k,t.STRIPE_OPTIONS=h,t.STRIPE_PUBLISHABLE_KEY=l,t.StripeAuBankAccountComponent=R,t.StripeCardComponent=w,t.StripeCardCvcComponent=S,t.StripeCardExpiryComponent=b,t.StripeCardNumberComponent=O,t.StripeFactoryService=M,t.StripeFpxBankComponent=P,t.StripeIbanComponent=C,t.StripeIdealBankComponent=I,t.StripeInstance=v,t.StripePaymentRequestButtonComponent=x,t.StripeService=E,t.WindowRef=f,t.ɵa=g,Object.defineProperty(t,"__esModule",{value:!0})}));
***************************************************************************** */var o=function(){return(o=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)};function s(t,e,n,i){var r,o=arguments.length,s=o<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,n,i);else for(var p=t.length-1;p>=0;p--)(r=t[p])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function p(t,e){return function(n,i){e(n,i,t)}}function u(t,e,n,i){return new(n||(n=Promise))((function(r,o){function s(t){try{u(i.next(t))}catch(t){o(t)}}function p(t){try{u(i.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,p)}u((i=i.apply(t,e||[])).next())}))}function c(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:p(0),throw:p(1),return:p(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function p(o){return function(p){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=s.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,p])}}}function a(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function m(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(a(arguments[e]));return t}var l=new e.InjectionToken("Stripe Publishable Key"),h=new e.InjectionToken("Stripe Options"),f=function(){function t(t){this.platformId=t}return t.prototype.getNativeWindow=function(){return i.isPlatformBrowser(this.platformId)?window:{}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]}]},t=s([e.Injectable(),p(0,e.Inject(e.PLATFORM_ID))],t)}(),d=function(){function t(t){this.platformId=t}return t.prototype.getNativeDocument=function(){return i.isPlatformBrowser(this.platformId)?document:{}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]}]},t=s([e.Injectable(),p(0,e.Inject(e.PLATFORM_ID))],t)}(),y=function(){function t(t,e,n){this.platformId=t,this.window=e,this.document=n,this.status=new r.BehaviorSubject({error:!1,loaded:!1,loading:!1})}return t.prototype.asStream=function(){return this.load(),this.status.asObservable()},t.prototype.isReady=function(){return this.status.getValue().loaded},t.prototype.load=function(){var t=this;if(!i.isPlatformServer(this.platformId)){var 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(o(o({},e),{loading:!0}));var n=this.document.getNativeDocument().createElement("script");n.type="text/javascript",n.async=!0,n.defer=!0,n.src="https://js.stripe.com/v3/",n.onload=function(){t.status.next({error:!1,loaded:!0,loading:!1})},n.onerror=function(){t.status.next({error:!0,loaded:!1,loading:!1})},this.document.getNativeDocument().body.appendChild(n)}}},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[e.PLATFORM_ID]}]},{type:f},{type:d}]},t=s([e.Injectable(),p(0,e.Inject(e.PLATFORM_ID))],t)}(),v=function(){function t(t,e,i,o){var s=this;this.loader=t,this.window=e,this.key=i,this.options=o,this.stripe$=new r.BehaviorSubject(void 0),this.stripe=this.stripe$.asObservable().pipe(n.filter((function(t){return Boolean(t)}))),this.loader.asStream().pipe(n.filter((function(t){return!0===t.loaded})),n.first(),n.map((function(){return s.window.getNativeWindow().Stripe}))).subscribe((function(t){var e=s.options?t(s.key,s.options):t(s.key);s.stripe$.next(e)}))}return t.prototype.getInstance=function(){return this.stripe$.getValue()},t.prototype.elements=function(t){return this.stripe$.asObservable().pipe(n.filter((function(t){return Boolean(t)})),n.map((function(e){return e.elements(t)})),n.first())},t.prototype.redirectToCheckout=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.redirectToCheckout(t))})),n.first())},t.prototype.confirmAuBecsDebitPayment=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmAuBecsDebitPayment(t,e))})),n.first())},t.prototype.confirmBancontactPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmBancontactPayment(t,e,i))})),n.first())},t.prototype.confirmCardPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmCardPayment(t,e,i))})),n.first())},t.prototype.confirmEpsPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmEpsPayment(t,e,i))})),n.first())},t.prototype.confirmFpxPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmFpxPayment(t,e,i))})),n.first())},t.prototype.confirmGiropayPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmGiropayPayment(t,e,i))})),n.first())},t.prototype.confirmIdealPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmIdealPayment(t,e,i))})),n.first())},t.prototype.confirmP24Payment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmP24Payment(t,e,i))})),n.first())},t.prototype.confirmSepaDebitPayment=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmSepaDebitPayment(t,e))})),n.first())},t.prototype.handleCardAction=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.handleCardAction(t))})),n.first())},t.prototype.createPaymentMethod=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.createPaymentMethod(t))})),n.first())},t.prototype.retrievePaymentIntent=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.retrievePaymentIntent(t))})),n.first())},t.prototype.confirmAuBecsDebitSetup=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmAuBecsDebitSetup(t,e))})),n.first())},t.prototype.confirmCardSetup=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmCardSetup(t,e,i))})),n.first())},t.prototype.confirmSepaDebitSetup=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmSepaDebitSetup(t,e))})),n.first())},t.prototype.retrieveSetupIntent=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.confirmSepaDebitSetup(t))})),n.first())},t.prototype.paymentRequest=function(t){var e=this.getInstance();return e?e.paymentRequest(t):void 0},t.prototype.createToken=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.createToken(t,e))})),n.first())},t.prototype.createSource=function(t,e){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.createSource(t,e))})),n.first())},t.prototype.retrieveSource=function(t){return this.stripe.pipe(n.switchMap((function(e){return r.from(e.retrieveSource(t))})),n.first())},t.prototype.handleCardPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.handleCardPayment(t,e,i))})),n.first())},t.prototype.confirmPaymentIntent=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmPaymentIntent(t,e,i))})),n.first())},t.prototype.handleCardSetup=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.handleCardSetup(t,e,i))})),n.first())},t.prototype.confirmSetupIntent=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.confirmSetupIntent(t,e,i))})),n.first())},t.prototype.handleFpxPayment=function(t,e,i){return this.stripe.pipe(n.switchMap((function(n){return r.from(n.handleFpxPayment(t,e,i))})),n.first())},t}(),E=function(){function t(t,e,n,i){this.key=t,this.options=e,this.loader=n,this.window=i,t&&(this.stripe=new v(this.loader,this.window,t,e))}return t.prototype.getStripeReference=function(){var t=this;return this.loader.asStream().pipe(n.filter((function(t){return!0===t.loaded})),n.map((function(){return t.window.getNativeWindow().Stripe})))},t.prototype.getInstance=function(){return this.stripe.getInstance()},t.prototype.setKey=function(t,e){return this.changeKey(t,e)},t.prototype.changeKey=function(t,e){return this.stripe=new v(this.loader,this.window,t,e),this.stripe},t.prototype.elements=function(t){return this.stripe.elements(t)},t.prototype.redirectToCheckout=function(t){return this.stripe.redirectToCheckout(t)},t.prototype.confirmAuBecsDebitPayment=function(t,e){return this.stripe.confirmAuBecsDebitPayment(t,e)},t.prototype.confirmBancontactPayment=function(t,e,n){return this.stripe.confirmBancontactPayment(t,e,n)},t.prototype.confirmCardPayment=function(t,e,n){return this.stripe.confirmCardPayment(t,e,n)},t.prototype.confirmEpsPayment=function(t,e,n){return this.stripe.confirmEpsPayment(t,e,n)},t.prototype.confirmFpxPayment=function(t,e,n){return this.stripe.confirmFpxPayment(t,e,n)},t.prototype.confirmGiropayPayment=function(t,e,n){return this.stripe.confirmGiropayPayment(t,e,n)},t.prototype.confirmIdealPayment=function(t,e,n){return this.stripe.confirmIdealPayment(t,e,n)},t.prototype.confirmP24Payment=function(t,e,n){return this.stripe.confirmP24Payment(t,e,n)},t.prototype.confirmSepaDebitPayment=function(t,e){return this.stripe.confirmSepaDebitPayment(t,e)},t.prototype.handleCardAction=function(t){return this.stripe.handleCardAction(t)},t.prototype.createPaymentMethod=function(t){return this.stripe.createPaymentMethod(t)},t.prototype.retrievePaymentIntent=function(t){return this.stripe.retrievePaymentIntent(t)},t.prototype.confirmAuBecsDebitSetup=function(t,e){return this.stripe.confirmAuBecsDebitSetup(t,e)},t.prototype.confirmCardSetup=function(t,e,n){return this.stripe.confirmCardSetup(t,e,n)},t.prototype.confirmSepaDebitSetup=function(t,e){return this.stripe.confirmSepaDebitSetup(t,e)},t.prototype.retrieveSetupIntent=function(t){return this.stripe.retrieveSetupIntent(t)},t.prototype.paymentRequest=function(t){return this.stripe.paymentRequest(t)},t.prototype.createToken=function(t,e){return this.stripe.createToken(t,e)},t.prototype.createSource=function(t,e){return this.stripe.createSource(t,e)},t.prototype.retrieveSource=function(t){return this.stripe.retrieveSource(t)},t.prototype.handleCardPayment=function(t,e,n){return this.stripe.handleCardPayment(t,e,n)},t.prototype.confirmPaymentIntent=function(t,e,n){return this.stripe.confirmPaymentIntent(t,e,n)},t.prototype.handleCardSetup=function(t,e,n){return this.stripe.handleCardSetup(t,e,n)},t.prototype.confirmSetupIntent=function(t,e,n){return this.stripe.confirmSetupIntent(t,e,n)},t.prototype.handleFpxPayment=function(t,e,n){return this.stripe.handleFpxPayment(t,e,n)},t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Inject,args:[l]}]},{type:void 0,decorators:[{type:e.Inject,args:[h]}]},{type:y},{type:f}]},t=s([e.Injectable(),p(0,e.Inject(l)),p(1,e.Inject(h))],t)}(),g=function(){function t(t){this.stripeService=t}return t.prototype.elements=function(t,e){return t?Object.keys(e).length>0?t.elements(e):t.elements():Object.keys(e).length>0?this.stripeService.elements(e):this.stripeService.elements()},t.prototype.paymentRequest=function(t,e){return t?t.paymentRequest(e):this.stripeService.paymentRequest(e)},t.prototype.mergeOptions=function(t,e){return!e||t&&t.classes||t&&t.classes?t:o(o({},t||{}),{classes:{base:e,complete:e+"--complete",empty:e+"--empty",focus:e+"--focus",invalid:e+"--invalid",webkitAutoFill:e+"--webkit-autoFill"}})},t.ctorParameters=function(){return[{type:E}]},t=s([e.Injectable()],t)}(),w=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("card",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCard=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card",template:'<div class="field" #stripeElementRef></div>'})],t)}(),O=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("cardNumber",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCardNumber=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card-number",template:'<div class="field" #stripeElementRef></div>'})],t)}(),b=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("cardExpiry",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCardExpiry=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card-expiry",template:'<div class="field" #stripeElementRef></div>'})],t)}(),S=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("cardCvc",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getCardCvc=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-card-cvc",template:'<div class="field" #stripeElementRef></div>'})],t)}(),P=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("fpxBank",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getFpxBank=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-fpx-bank",template:'<div class="field" #stripeElementRef></div>'})],t)}(),I=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("idealBank",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getIdealBank=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-ideal-bank",template:'<div class="field" #stripeElementRef></div>'})],t)}(),C=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("iban",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getIban=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-iban",template:'<div class="field" #stripeElementRef></div>'})],t)}(),R=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.blur=new e.EventEmitter,this.change=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.escape=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,o=this;return c(this,(function(s){switch(s.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=s.sent(),this.elements=r,s.label=2;case 2:return(t.options||t.containerClass)&&(this.element?this.update(e):(this.element=this.elements.create("auBankAccount",e),this.element.on("change",(function(t){return o.change.emit(t)})),this.element.on("blur",(function(){return o.blur.emit()})),this.element.on("focus",(function(){return o.focus.emit()})),this.element.on("ready",(function(){return o.ready.emit()})),this.element.on("escape",(function(){return o.escape.emit()})),this.element.mount(this.stripeElementRef.nativeElement),this.load.emit(this.element))),[2]}}))}))},t.prototype.ngOnDestroy=function(){this.element.destroy()},t.prototype.update=function(t){this.element.update(t)},t.prototype.getAuBankAccount=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"escape",void 0),t=s([e.Component({selector:"ngx-stripe-au-bank-account",template:'<div class="field" #stripeElementRef></div>'})],t)}(),x=function(){function t(t){this.stripeElementsService=t,this.load=new e.EventEmitter,this.change=new e.EventEmitter,this.blur=new e.EventEmitter,this.focus=new e.EventEmitter,this.ready=new e.EventEmitter,this.token=new e.EventEmitter,this.paymentMethod=new e.EventEmitter,this.source=new e.EventEmitter,this.cancel=new e.EventEmitter,this.shippingaddresschange=new e.EventEmitter,this.shippingoptionchange=new e.EventEmitter}return t.prototype.ngOnChanges=function(t){return u(this,void 0,void 0,(function(){var e,n,i,r,s=this;return c(this,(function(p){switch(p.label){case 0:return e=this.stripeElementsService.mergeOptions(this.options,this.containerClass),n=this.elementsOptions,i=this.stripe,t.elementsOptions||t.stripe?[4,this.stripeElementsService.elements(i,n).toPromise()]:[3,2];case 1:r=p.sent(),this.elements=r,p.label=2;case 2:return t.paymentOptions&&this.paymentRequest&&this.updateRequest(this.paymentOptions),(t.options||t.containerClass)&&(this.element?this.update(e):(this.paymentRequest=this.stripeElementsService.paymentRequest(i,this.paymentOptions),this.paymentRequest.on("token",(function(t){return s.token.emit(t)})),this.paymentRequest.on("paymentmethod",(function(t){return s.paymentMethod.emit(t)})),this.paymentRequest.on("source",(function(t){return s.source.emit(t)})),this.paymentRequest.on("cancel",(function(){return s.cancel.emit()})),this.paymentRequest.on("shippingaddresschange",(function(t){return s.shippingaddresschange.emit(t)})),this.paymentRequest.on("shippingoptionchange",(function(t){return s.shippingoptionchange.emit(t)})),this.element=this.elements.create("paymentRequestButton",o({paymentRequest:this.paymentRequest},e)),this.canMakePayment().subscribe((function(t){console.log("Result",t),t.applePay&&(s.element.on("click",(function(t){return s.change.emit(t)})),s.element.on("blur",(function(){return s.blur.emit()})),s.element.on("focus",(function(){return s.focus.emit()})),s.element.on("ready",(function(){return s.ready.emit()})),s.element.mount(s.stripeElementRef.nativeElement),s.load.emit({paymentRequestButton:s.element,paymentRequest:s.paymentRequest}))})))),[2]}}))}))},t.prototype.canMakePayment=function(){return r.from(this.paymentRequest.canMakePayment())},t.prototype.update=function(t){this.element.update(t)},t.prototype.updateRequest=function(t){this.paymentRequest.update(t)},t.prototype.show=function(){this.paymentRequest.show()},t.prototype.getButton=function(){return this.element},t.ctorParameters=function(){return[{type:g}]},s([e.ViewChild("stripeElementRef",{static:!1})],t.prototype,"stripeElementRef",void 0),s([e.Input()],t.prototype,"containerClass",void 0),s([e.Input()],t.prototype,"paymentOptions",void 0),s([e.Input()],t.prototype,"options",void 0),s([e.Input()],t.prototype,"elementsOptions",void 0),s([e.Input()],t.prototype,"stripe",void 0),s([e.Output()],t.prototype,"load",void 0),s([e.Output()],t.prototype,"change",void 0),s([e.Output()],t.prototype,"blur",void 0),s([e.Output()],t.prototype,"focus",void 0),s([e.Output()],t.prototype,"ready",void 0),s([e.Output()],t.prototype,"token",void 0),s([e.Output()],t.prototype,"paymentMethod",void 0),s([e.Output()],t.prototype,"source",void 0),s([e.Output()],t.prototype,"cancel",void 0),s([e.Output()],t.prototype,"shippingaddresschange",void 0),s([e.Output()],t.prototype,"shippingoptionchange",void 0),t=s([e.Component({selector:"ngx-stripe-payment-request-button",template:'<div class="field" #stripeElementRef></div>'})],t)}(),M=function(){function t(t,e,n,i){this.baseKey=t,this.baseOptions=e,this.loader=n,this.window=i}return t.prototype.create=function(t,e){return t||this.baseKey?new v(this.loader,this.window,t||this.baseKey,e||this.baseOptions):null},t.ctorParameters=function(){return[{type:String,decorators:[{type:e.Inject,args:[l]}]},{type:void 0,decorators:[{type:e.Inject,args:[h]}]},{type:y},{type:f}]},t=s([e.Injectable(),p(0,e.Inject(l)),p(1,e.Inject(h))],t)}(),k=[w,O,b,S,P,I,C,R,x],j=function(){function t(){}var n;return n=t,t.forRoot=function(t,e){return{ngModule:n,providers:[y,E,M,g,f,d,{provide:l,useValue:t},{provide:h,useValue:e}]}},t.forChild=function(t,e){return{ngModule:n,providers:[y,E,M,g,f,d,{provide:l,useValue:t},{provide:h,useValue:e}]}},t=n=s([e.NgModule({declarations:m(k),exports:m(k)})],t)}();t.DocumentRef=d,t.LazyStripeAPILoader=y,t.NgxStripeModule=j,t.STRIPE_OPTIONS=h,t.STRIPE_PUBLISHABLE_KEY=l,t.StripeAuBankAccountComponent=R,t.StripeCardComponent=w,t.StripeCardCvcComponent=S,t.StripeCardExpiryComponent=b,t.StripeCardNumberComponent=O,t.StripeElementsService=g,t.StripeFactoryService=M,t.StripeFpxBankComponent=P,t.StripeIbanComponent=C,t.StripeIdealBankComponent=I,t.StripeInstance=v,t.StripePaymentRequestButtonComponent=x,t.StripeService=E,t.WindowRef=f,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=ngx-stripe.umd.min.js.map

@@ -19,2 +19,3 @@ var NgxStripeModule_1;

import { StripeFactoryService } from './services/stripe-factory.service';
import { StripeElementsService } from './services/stripe-elements.service';
const components = [

@@ -39,2 +40,3 @@ StripeCardComponent,

StripeFactoryService,
StripeElementsService,
WindowRef,

@@ -60,2 +62,3 @@ DocumentRef,

StripeFactoryService,
StripeElementsService,
WindowRef,

@@ -82,2 +85,2 @@ DocumentRef,

export { NgxStripeModule };
//# sourceMapping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G4gICAgICBdXG4gICAgfTtcbiAgfVxuXG4gIHB1YmxpYyBzdGF0aWMgZm9yQ2hpbGQoXG4gICAgcHVibGlzaGFibGVLZXk/OiBzdHJpbmcsXG4gICAgb3B0aW9ucz86IFN0cmlwZUNvbnN0cnVjdG9yT3B0aW9uc1xuICApOiBNb2R1bGVXaXRoUHJvdmlkZXJzPE5neFN0cmlwZU1vZHVsZT4ge1xuICAgIHJldHVybiB7XG4gICAgICBuZ01vZHVsZTogTmd4U3RyaXBlTW9kdWxlLFxuICAgICAgcHJvdmlkZXJzOiBbXG4gICAgICAgIExhenlTdHJpcGVBUElMb2FkZXIsXG4gICAgICAgIFN0cmlwZVNlcnZpY2UsXG4gICAgICAgIFN0cmlwZUZhY3RvcnlTZXJ2aWNlLFxuICAgICAgICBXaW5kb3dSZWYsXG4gICAgICAgIERvY3VtZW50UmVmLFxuICAgICAgICB7XG4gICAgICAgICAgcHJvdmlkZTogU1RSSVBFX1BVQkxJU0hBQkxFX0tFWSxcbiAgICAgICAgICB1c2VWYWx1ZTogcHVibGlzaGFibGVLZXlcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IFNUUklQRV9PUFRJT05TLFxuICAgICAgICAgIHVzZVZhbHVlOiBvcHRpb25zXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9O1xuICB9XG59XG4iXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXN0cmlwZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtc3RyaXBlLyIsInNvdXJjZXMiOlsibGliL25neC1zdHJpcGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsT0FBTyxFQUF1QixRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFJOUQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sNkJBQTZCLENBQUM7QUFDb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cmluZyxcbiAgICBvcHRpb25zPzogU3RyaXBlQ29uc3RydWN0b3JPcHRpb25zXG4gICk6IE1vZHVsZVdpdGhQcm92aWRlcnM8Tmd4U3RyaXBlTW9kdWxlPiB7XG4gICAgcmV0dXJuIHtcbiAgICAgIG5nTW9kdWxlOiBOZ3hTdHJpcGVNb2R1bGUsXG4gICAgICBwcm92aWRlcnM6IFtcbiAgICAgICAgTGF6eVN0cmlwZUFQSUxvYWRlcixcbiAgICAgICAgU3RyaXBlU2VydmljZSxcbiAgICAgICAgU3RyaXBlRmFjdG9yeVNlcnZpY2UsXG4gICAgICAgIFN0cmlwZUVsZW1lbnRzU2VydmljZSxcbiAgICAgICAgV2luZG93UmVmLFxuICAgICAgICBEb2N1bWVudFJlZixcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IFNUUklQRV9QVUJMSVNIQUJMRV9LRVksXG4gICAgICAgICAgdXNlVmFsdWU6IHB1Ymxpc2hhYmxlS2V5XG4gICAgICAgIH0sXG4gICAgICAgIHtcbiAgICAgICAgICBwcm92aWRlOiBTVFJJUEVfT1BUSU9OUyxcbiAgICAgICAgICB1c2VWYWx1ZTogb3B0aW9uc1xuICAgICAgICB9XG4gICAgICBdXG4gICAgfTtcbiAgfVxufVxuIl19
import { __decorate } from "tslib";
import { Injectable } from '@angular/core';
import { StripeService } from './stripe.service';
import * as i0 from "@angular/core";
import * as i1 from "./stripe.service";
let StripeElementsService = class StripeElementsService {

@@ -49,7 +47,6 @@ constructor(stripeService) {

];
StripeElementsService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function StripeElementsService_Factory() { return new StripeElementsService(i0.ɵɵinject(i1.StripeService)); }, token: StripeElementsService, providedIn: "root" });
StripeElementsService = __decorate([
Injectable({ providedIn: 'root' })
Injectable()
], StripeElementsService);
export { StripeElementsService };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaXBlLWVsZW1lbnRzLnNlcnZpY2UuanMi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9ucztcbiAgbWVyZ2VPcHRpb25zKFxuICAgIG9wdGlvbnM6IFN0cmlwZVBheW1lbnRSZXF1ZXN0QnV0dG9uRWxlbWVudE9wdGlvbnMsXG4gICAgY29udGFpbmVyQ2xhc3M6IHN0cmluZ1xuICApOiBTdHJpcGVQYXltZW50UmVxdWVzdEJ1dHRvbkVsZW1lbnRPcHRpb25zO1xuICBtZXJnZU9wdGlvbnMob3B0aW9ucywgY29udGFpbmVyQ2xhc3M6IHN0cmluZykge1xuICAgIGlmICghY29udGFpbmVyQ2xhc3MgfHwgKG9wdGlvbnMgJiYgb3B0aW9ucy5jbGFzc2VzKSkge1xuICAgICAgcmV0dXJuIG9wdGlvbnM7XG4gICAgfVxuXG4gICAgaWYgKCFvcHRpb25zIHx8ICFvcHRpb25zLmNsYXNzZXMpIHtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIC4uLihvcHRpb25zIHx8IHt9KSxcbiAgICAgICAgY2xhc3Nlczoge1xuICAgICAgICAgIGJhc2U6IGNvbnRhaW5lckNsYXNzLFxuICAgICAgICAgIGNvbXBsZXRlOiBgJHtjb250YWluZXJDbGFzc30tLWNvbXBsZXRlYCxcbiAgICAgICAgICBlbXB0eTogYCR7Y29udGFpbmVyQ2xhc3N9LS1lbXB0eWAsXG4gICAgICAgICAgZm9jdXM6IGAke2NvbnRhaW5lckNsYXNzfS0tZm9jdXNgLFxuICAgICAgICAgIGludmFsaWQ6IGAke2NvbnRhaW5lckNsYXNzfS0taW52YWxpZGAsXG4gICAgICAgICAgd2Via2l0QXV0b0ZpbGw6IGAke2NvbnRhaW5lckNsYXNzfS0td2Via2l0LWF1dG9GaWxsYFxuICAgICAgICB9XG4gICAgICB9O1xuICAgIH1cblxuICAgIHJldHVybiBvcHRpb25zO1xuICB9XG59XG4iXX0=

@@ -5,3 +5,2 @@ /**

export * from './public_api';
export { StripeElementsService as ɵa } from './lib/services/stripe-elements.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXN0cmlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zdHJpcGUvIiwic291cmNlcyI6WyJuZ3gtc3RyaXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHFCQUFxQixJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge1N0cmlwZUVsZW1lbnRzU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL3NlcnZpY2VzL3N0cmlwZS1lbGVtZW50cy5zZXJ2aWNlJzsiXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXN0cmlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zdHJpcGUvIiwic291cmNlcyI6WyJuZ3gtc3RyaXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=

@@ -18,5 +18,6 @@ /*

export { LazyStripeAPILoader } from './lib/services/api-loader.service';
export { StripeElementsService } from './lib/services/stripe-elements.service';
export { WindowRef } from './lib/services/window-ref.service';
export { DocumentRef } from './lib/services/document-ref.service';
export { STRIPE_PUBLISHABLE_KEY, STRIPE_OPTIONS } from './lib/interfaces/ngx-stripe.interface';
//# sourceMappingUR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nZpY2VzL2RvY3VtZW50LXJlZi5zZXJ2aWNlJztcblxuZXhwb3J0IHtcbiAgU1RSSVBFX1BVQkxJU0hBQkxFX0tFWSxcbiAgU1RSSVBFX09QVElPTlNcbn0gZnJvbSAnLi9saWIvaW50ZXJmYWNlcy9uZ3gtc3RyaXBlLmludGVyZmFjZSc7XG5leHBvcnQgeyBTdHJpcGVTZXJ2aWNlSW50ZXJmYWNlIH0gZnJvbSAnLi9saWIvaW50ZXJmYWNlcy9zdHJpcGUtaW5zdGFuY2UuaW50ZXJmYWNlJztcbiJdfQ==

@@ -18,2 +18,3 @@ import { __decorate, __read, __spread } from "tslib";

import { StripeFactoryService } from './services/stripe-factory.service';
import { StripeElementsService } from './services/stripe-elements.service';
var components = [

@@ -41,2 +42,3 @@ StripeCardComponent,

StripeFactoryService,
StripeElementsService,
WindowRef,

@@ -62,2 +64,3 @@ DocumentRef,

StripeFactoryService,
StripeElementsService,
WindowRef,

@@ -86,2 +89,2 @@ DocumentRef,

export { NgxStripeModule };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXN0cmlwZS5tb2R1bGUuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtc3RyaXBlLyIsInNvdXJjZXMiOlsibGliL25neC1zdHJpcGUubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQXVCLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUk5RCxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUNsRSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUMvRSxPQUFPLEVBQUUseUJBQXlCLEVBQUUsTUFBTSxvQ0FBb0MsQ0FBQztBQUMvRSxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxpQ0FBaUMsQ0FBQztBQUN6RS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AgcHJvdmlkZTogU1RSSVBFX1BVQkxJU0hBQkxFX0tFWSxcbiAgICAgICAgICB1c2VWYWx1ZTogcHVibGlzaGFibGVLZXlcbiAgICAgICAgfSxcbiAgICAgICAge1xuICAgICAgICAgIHByb3ZpZGU6IFNUUklQRV9PUFRJT05TLFxuICAgICAgICAgIHVzZVZhbHVlOiBvcHRpb25zXG4gICAgICAgIH1cbiAgICAgIF1cbiAgICB9O1xuICB9XG59XG4iXX0=
import { __assign, __decorate } from "tslib";
import { Injectable } from '@angular/core';
import { StripeService } from './stripe.service';
import * as i0 from "@angular/core";
import * as i1 from "./stripe.service";
var StripeElementsService = /** @class */ (function () {

@@ -48,5 +46,4 @@ function StripeElementsService(stripeService) {

]; };
StripeElementsService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function StripeElementsService_Factory() { return new StripeElementsService(i0.ɵɵinject(i1.StripeService)); }, token: StripeElementsService, providedIn: "root" });
StripeElementsService = __decorate([
Injectable({ providedIn: 'root' })
Injectable()
], StripeElementsService);

@@ -56,2 +53,2 @@ return StripeElementsService;

export { StripeElementsService };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RyaXBlLWVsZW1lbnRzLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtc3RyaXBlLyIsInNvdXJjZXMiOlsibGliL3NlcnZpY2VzL3N0cmlwZS1lbGVtZW50cy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBa0IzQyxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7OztBQUdqRDtJQUNFLCtCQUFvQixhQUE0QjtRQUE1QixrQkFBYSxHQUFiLGFBQWEsQ0FBZTtJQUFHLENBQUM7SUFFcEQsd0NBQVEsR0FBUixVQUFTLE1BQU0sRUFBR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ICAgICAgIC4uLihvcHRpb25zIHx8IHt9KSxcbiAgICAgICAgY2xhc3Nlczoge1xuICAgICAgICAgIGJhc2U6IGNvbnRhaW5lckNsYXNzLFxuICAgICAgICAgIGNvbXBsZXRlOiBgJHtjb250YWluZXJDbGFzc30tLWNvbXBsZXRlYCxcbiAgICAgICAgICBlbXB0eTogYCR7Y29udGFpbmVyQ2xhc3N9LS1lbXB0eWAsXG4gICAgICAgICAgZm9jdXM6IGAke2NvbnRhaW5lckNsYXNzfS0tZm9jdXNgLFxuICAgICAgICAgIGludmFsaWQ6IGAke2NvbnRhaW5lckNsYXNzfS0taW52YWxpZGAsXG4gICAgICAgICAgd2Via2l0QXV0b0ZpbGw6IGAke2NvbnRhaW5lckNsYXNzfS0td2Via2l0LWF1dG9GaWxsYFxuICAgICAgICB9XG4gICAgICB9O1xuICAgIH1cblxuICAgIHJldHVybiBvcHRpb25zO1xuICB9XG59XG4iXX0=

@@ -5,3 +5,2 @@ /**

export * from './public_api';
export { StripeElementsService as ɵa } from './lib/services/stripe-elements.service';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXN0cmlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zdHJpcGUvIiwic291cmNlcyI6WyJuZ3gtc3RyaXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUM7QUFFN0IsT0FBTyxFQUFDLHFCQUFxQixJQUFJLEVBQUUsRUFBQyxNQUFNLHdDQUF3QyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpY19hcGknO1xuXG5leHBvcnQge1N0cmlwZUVsZW1lbnRzU2VydmljZSBhcyDJtWF9IGZyb20gJy4vbGliL3NlcnZpY2VzL3N0cmlwZS1lbGVtZW50cy5zZXJ2aWNlJzsiXX0=
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LXN0cmlwZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zdHJpcGUvIiwic291cmNlcyI6WyJuZ3gtc3RyaXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0=

@@ -18,5 +18,6 @@ /*

export { LazyStripeAPILoader } from './lib/services/api-loader.service';
export { StripeElementsService } from './lib/services/stripe-elements.service';
export { WindowRef } from './lib/services/window-ref.service';
export { DocumentRef } from './lib/services/document-ref.service';
export { STRIPE_PUBLISHABLE_KEY, STRIPE_OPTIONS } from './lib/interfaces/ngx-stripe.interface';
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1zdHJpcGUvIiwic291cmNlcyI6WyJwdWJsaWNfYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBRTFELE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQ3RFLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQ25GLE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLHdDQUF3QyxDQUFDO0FBQ25GLE9BQU8sRUFBRSxzQkFBc0IsRUFB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S5zZXJ2aWNlJztcbmV4cG9ydCB7IFN0cmlwZUZhY3RvcnlTZXJ2aWNlIH0gZnJvbSAnLi9saWIvc2VydmljZXMvc3RyaXBlLWZhY3Rvcnkuc2VydmljZSc7XG5leHBvcnQgeyBTdHJpcGVJbnN0YW5jZSB9IGZyb20gJy4vbGliL3NlcnZpY2VzL3N0cmlwZS1pbnN0YW5jZS5jbGFzcyc7XG5leHBvcnQge1xuICBMYXp5U3RyaXBlQVBJTG9hZGVyLFxuICBMYXp5U3RyaXBlQVBJTG9hZGVyU3RhdHVzXG59IGZyb20gJy4vbGliL3NlcnZpY2VzL2FwaS1sb2FkZXIuc2VydmljZSc7XG5leHBvcnQgeyBTdHJpcGVFbGVtZW50c1NlcnZpY2UgfSBmcm9tICcuL2xpYi9zZXJ2aWNlcy9zdHJpcGUtZWxlbWVudHMuc2VydmljZSc7XG5cbmV4cG9ydCB7IFdpbmRvd1JlZiB9IGZyb20gJy4vbGliL3NlcnZpY2VzL3dpbmRvdy1yZWYuc2VydmljZSc7XG5leHBvcnQgeyBEb2N1bWVudFJlZiB9IGZyb20gJy4vbGliL3NlcnZpY2VzL2RvY3VtZW50LXJlZi5zZXJ2aWNlJztcblxuZXhwb3J0IHtcbiAgU1RSSVBFX1BVQkxJU0hBQkxFX0tFWSxcbiAgU1RSSVBFX09QVElPTlNcbn0gZnJvbSAnLi9saWIvaW50ZXJmYWNlcy9uZ3gtc3RyaXBlLmludGVyZmFjZSc7XG5leHBvcnQgeyBTdHJpcGVTZXJ2aWNlSW50ZXJmYWNlIH0gZnJvbSAnLi9saWIvaW50ZXJmYWNlcy9zdHJpcGUtaW5zdGFuY2UuaW50ZXJmYWNlJztcbiJdfQ==
import { __decorate, __param, __awaiter } from 'tslib';
import { InjectionToken, Inject, PLATFORM_ID, Injectable, ɵɵdefineInjectable, ɵɵinject, EventEmitter, ViewChild, Input, Output, Component, NgModule } from '@angular/core';
import { InjectionToken, Inject, PLATFORM_ID, Injectable, EventEmitter, ViewChild, Input, Output, Component, NgModule } from '@angular/core';
import { filter, first, map, switchMap } from 'rxjs/operators';

@@ -410,5 +410,4 @@ import { isPlatformBrowser, isPlatformServer } from '@angular/common';

];
StripeElementsService.ngInjectableDef = ɵɵdefineInjectable({ factory: function StripeElementsService_Factory() { return new StripeElementsService(ɵɵinject(StripeService)); }, token: StripeElementsService, providedIn: "root" });
StripeElementsService = __decorate([
Injectable({ providedIn: 'root' })
Injectable()
], StripeElementsService);

@@ -1354,2 +1353,3 @@

StripeFactoryService,
StripeElementsService,
WindowRef,

@@ -1375,2 +1375,3 @@ DocumentRef,

StripeFactoryService,
StripeElementsService,
WindowRef,

@@ -1405,3 +1406,3 @@ DocumentRef,

export { DocumentRef, LazyStripeAPILoader, NgxStripeModule, STRIPE_OPTIONS, STRIPE_PUBLISHABLE_KEY, StripeAuBankAccountComponent, StripeCardComponent, StripeCardCvcComponent, StripeCardExpiryComponent, StripeCardNumberComponent, StripeFactoryService, StripeFpxBankComponent, StripeIbanComponent, StripeIdealBankComponent, StripeInstance, StripePaymentRequestButtonComponent, StripeService, WindowRef, StripeElementsService as ɵa };
export { DocumentRef, LazyStripeAPILoader, NgxStripeModule, STRIPE_OPTIONS, STRIPE_PUBLISHABLE_KEY, StripeAuBankAccountComponent, StripeCardComponent, StripeCardCvcComponent, StripeCardExpiryComponent, StripeCardNumberComponent, StripeElementsService, StripeFactoryService, StripeFpxBankComponent, StripeIbanComponent, StripeIdealBankComponent, StripeInstance, StripePaymentRequestButtonComponent, StripeService, WindowRef };
//# sourceMappingURL=ngx-stripe.js.map

@@ -5,2 +5,1 @@ /**

export * from './public_api';
export { StripeElementsService as ɵa } from './lib/services/stripe-elements.service';

@@ -1,1 +0,1 @@

{"__symbolic":"module","version":4,"metadata":{"NgxStripeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":37,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"StripeCardComponent"},{"__symbolic":"reference","name":"StripeCardNumberComponent"},{"__symbolic":"reference","name":"StripeCardExpiryComponent"},{"__symbolic":"reference","name":"StripeCardCvcComponent"},{"__symbolic":"reference","name":"StripeFpxBankComponent"},{"__symbolic":"reference","name":"StripeIdealBankComponent"},{"__symbolic":"reference","name":"StripeIbanComponent"},{"__symbolic":"reference","name":"StripeAuBankAccountComponent"},{"__symbolic":"reference","name":"StripePaymentRequestButtonComponent"}],"exports":[{"__symbolic":"reference","name":"StripeCardComponent"},{"__symbolic":"reference","name":"StripeCardNumberComponent"},{"__symbolic":"reference","name":"StripeCardExpiryComponent"},{"__symbolic":"reference","name":"StripeCardCvcComponent"},{"__symbolic":"reference","name":"StripeFpxBankComponent"},{"__symbolic":"reference","name":"StripeIdealBankComponent"},{"__symbolic":"reference","name":"StripeIbanComponent"},{"__symbolic":"reference","name":"StripeAuBankAccountComponent"},{"__symbolic":"reference","name":"StripePaymentRequestButtonComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["publishableKey","options"],"value":{"ngModule":{"__symbolic":"reference","name":"NgxStripeModule"},"providers":[{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"StripeService"},{"__symbolic":"reference","name":"StripeFactoryService"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"DocumentRef"},{"provide":{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"},"useValue":{"__symbolic":"reference","name":"publishableKey"}},{"provide":{"__symbolic":"reference","name":"STRIPE_OPTIONS"},"useValue":{"__symbolic":"reference","name":"options"}}]}},"forChild":{"__symbolic":"function","parameters":["publishableKey","options"],"value":{"ngModule":{"__symbolic":"reference","name":"NgxStripeModule"},"providers":[{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"StripeService"},{"__symbolic":"reference","name":"StripeFactoryService"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"DocumentRef"},{"provide":{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"},"useValue":{"__symbolic":"reference","name":"publishableKey"}},{"provide":{"__symbolic":"reference","name":"STRIPE_OPTIONS"},"useValue":{"__symbolic":"reference","name":"options"}}]}}}},"StripeCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-card","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCard":[{"__symbolic":"method"}]}},"StripeCardNumberComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-card-number","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCardNumber":[{"__symbolic":"method"}]}},"StripeCardExpiryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":24,"character":1},"arguments":[{"selector":"ngx-stripe-card-expiry","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":29,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCardExpiry":[{"__symbolic":"method"}]}},"StripeCardCvcComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":24,"character":1},"arguments":[{"selector":"ngx-stripe-card-cvc","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":29,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCardCvc":[{"__symbolic":"method"}]}},"StripeFpxBankComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-fpx-bank","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getFpxBank":[{"__symbolic":"method"}]}},"StripeIbanComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-iban","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getIban":[{"__symbolic":"method"}]}},"StripeIdealBankComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-ideal-bank","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getIdealBank":[{"__symbolic":"method"}]}},"StripeAuBankAccountComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-au-bank-account","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getAuBankAccount":[{"__symbolic":"method"}]}},"StripePaymentRequestButtonComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"ngx-stripe-payment-request-button","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":37,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"paymentOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":48,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":53,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":56,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":57,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":58,"character":3}}]}],"token":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":60,"character":3}}]}],"paymentMethod":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":61,"character":3}}]}],"source":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":64,"character":3}}]}],"cancel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":65,"character":3}}]}],"shippingaddresschange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":66,"character":3}}]}],"shippingoptionchange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":69,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"ngOnChanges":[{"__symbolic":"method"}],"canMakePayment":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"updateRequest":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"getButton":[{"__symbolic":"method"}]}},"StripeService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":67,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":72,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":73,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_OPTIONS"}]}],null,null],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@stripe/stripe-js","name":"StripeConstructorOptions","line":73,"character":44},{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"WindowRef"}]}],"getStripeReference":[{"__symbolic":"method"}],"getInstance":[{"__symbolic":"method"}],"setKey":[{"__symbolic":"method"}],"changeKey":[{"__symbolic":"method"}],"elements":[{"__symbolic":"method"}],"redirectToCheckout":[{"__symbolic":"method"}],"confirmAuBecsDebitPayment":[{"__symbolic":"method"}],"confirmBancontactPayment":[{"__symbolic":"method"}],"confirmCardPayment":[{"__symbolic":"method"}],"confirmEpsPayment":[{"__symbolic":"method"}],"confirmFpxPayment":[{"__symbolic":"method"}],"confirmGiropayPayment":[{"__symbolic":"method"}],"confirmIdealPayment":[{"__symbolic":"method"}],"confirmP24Payment":[{"__symbolic":"method"}],"confirmSepaDebitPayment":[{"__symbolic":"method"}],"handleCardAction":[{"__symbolic":"method"}],"createPaymentMethod":[{"__symbolic":"method"}],"retrievePaymentIntent":[{"__symbolic":"method"}],"confirmAuBecsDebitSetup":[{"__symbolic":"method"}],"confirmCardSetup":[{"__symbolic":"method"}],"confirmSepaDebitSetup":[{"__symbolic":"method"}],"retrieveSetupIntent":[{"__symbolic":"method"}],"paymentRequest":[{"__symbolic":"method"}],"createToken":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"createSource":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"retrieveSource":[{"__symbolic":"method"}],"handleCardPayment":[{"__symbolic":"method"}],"confirmPaymentIntent":[{"__symbolic":"method"}],"handleCardSetup":[{"__symbolic":"method"}],"confirmSetupIntent":[{"__symbolic":"method"}],"handleFpxPayment":[{"__symbolic":"method"}]}},"StripeFactoryService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":14,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":17,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_OPTIONS"}]}],null,null],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@stripe/stripe-js","name":"StripeConstructorOptions","line":18,"character":48},{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"WindowRef"}]}],"create":[{"__symbolic":"method"}]}},"StripeInstance":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@stripe/stripe-js","name":"StripeConstructorOptions","line":70,"character":22}]}],"getInstance":[{"__symbolic":"method"}],"elements":[{"__symbolic":"method"}],"redirectToCheckout":[{"__symbolic":"method"}],"confirmAuBecsDebitPayment":[{"__symbolic":"method"}],"confirmBancontactPayment":[{"__symbolic":"method"}],"confirmCardPayment":[{"__symbolic":"method"}],"confirmEpsPayment":[{"__symbolic":"method"}],"confirmFpxPayment":[{"__symbolic":"method"}],"confirmGiropayPayment":[{"__symbolic":"method"}],"confirmIdealPayment":[{"__symbolic":"method"}],"confirmP24Payment":[{"__symbolic":"method"}],"confirmSepaDebitPayment":[{"__symbolic":"method"}],"handleCardAction":[{"__symbolic":"method"}],"createPaymentMethod":[{"__symbolic":"method"}],"retrievePaymentIntent":[{"__symbolic":"method"}],"confirmAuBecsDebitSetup":[{"__symbolic":"method"}],"confirmCardSetup":[{"__symbolic":"method"}],"confirmSepaDebitSetup":[{"__symbolic":"method"}],"retrieveSetupIntent":[{"__symbolic":"method"}],"paymentRequest":[{"__symbolic":"method"}],"createToken":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"createSource":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"retrieveSource":[{"__symbolic":"method"}],"handleCardPayment":[{"__symbolic":"method"}],"confirmPaymentIntent":[{"__symbolic":"method"}],"handleCardSetup":[{"__symbolic":"method"}],"confirmSetupIntent":[{"__symbolic":"method"}],"handleFpxPayment":[{"__symbolic":"method"}]}},"LazyStripeAPILoader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":14,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":23,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":23,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"DocumentRef"}]}],"asStream":[{"__symbolic":"method"}],"isReady":[{"__symbolic":"method"}],"load":[{"__symbolic":"method"}]}},"LazyStripeAPILoaderStatus":{"__symbolic":"interface"},"WindowRef":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":5,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":5,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"getNativeWindow":[{"__symbolic":"method"}]}},"DocumentRef":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":5,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":5,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"getNativeDocument":[{"__symbolic":"method"}]}},"STRIPE_PUBLISHABLE_KEY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":42},"arguments":["Stripe Publishable Key"]},"STRIPE_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["Stripe Options"]},"StripeServiceInterface":{"__symbolic":"interface"},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeService"}]}],"elements":[{"__symbolic":"method"}],"paymentRequest":[{"__symbolic":"method"}],"mergeOptions":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}},"origins":{"NgxStripeModule":"./lib/ngx-stripe.module","StripeCardComponent":"./lib/components/card.component","StripeCardNumberComponent":"./lib/components/card-number.component","StripeCardExpiryComponent":"./lib/components/card-expiry.component","StripeCardCvcComponent":"./lib/components/card-cvc.component","StripeFpxBankComponent":"./lib/components/fpx-bank.component","StripeIbanComponent":"./lib/components/iban.component","StripeIdealBankComponent":"./lib/components/ideal-bank.component","StripeAuBankAccountComponent":"./lib/components/au-bank-account.component","StripePaymentRequestButtonComponent":"./lib/components/payment-request-button.component","StripeService":"./lib/services/stripe.service","StripeFactoryService":"./lib/services/stripe-factory.service","StripeInstance":"./lib/services/stripe-instance.class","LazyStripeAPILoader":"./lib/services/api-loader.service","LazyStripeAPILoaderStatus":"./lib/services/api-loader.service","WindowRef":"./lib/services/window-ref.service","DocumentRef":"./lib/services/document-ref.service","STRIPE_PUBLISHABLE_KEY":"./lib/interfaces/ngx-stripe.interface","STRIPE_OPTIONS":"./lib/interfaces/ngx-stripe.interface","StripeServiceInterface":"./lib/interfaces/stripe-instance.interface","ɵa":"./lib/services/stripe-elements.service"},"importAs":"ngx-stripe"}
{"__symbolic":"module","version":4,"metadata":{"NgxStripeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":38,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"StripeCardComponent"},{"__symbolic":"reference","name":"StripeCardNumberComponent"},{"__symbolic":"reference","name":"StripeCardExpiryComponent"},{"__symbolic":"reference","name":"StripeCardCvcComponent"},{"__symbolic":"reference","name":"StripeFpxBankComponent"},{"__symbolic":"reference","name":"StripeIdealBankComponent"},{"__symbolic":"reference","name":"StripeIbanComponent"},{"__symbolic":"reference","name":"StripeAuBankAccountComponent"},{"__symbolic":"reference","name":"StripePaymentRequestButtonComponent"}],"exports":[{"__symbolic":"reference","name":"StripeCardComponent"},{"__symbolic":"reference","name":"StripeCardNumberComponent"},{"__symbolic":"reference","name":"StripeCardExpiryComponent"},{"__symbolic":"reference","name":"StripeCardCvcComponent"},{"__symbolic":"reference","name":"StripeFpxBankComponent"},{"__symbolic":"reference","name":"StripeIdealBankComponent"},{"__symbolic":"reference","name":"StripeIbanComponent"},{"__symbolic":"reference","name":"StripeAuBankAccountComponent"},{"__symbolic":"reference","name":"StripePaymentRequestButtonComponent"}]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["publishableKey","options"],"value":{"ngModule":{"__symbolic":"reference","name":"NgxStripeModule"},"providers":[{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"StripeService"},{"__symbolic":"reference","name":"StripeFactoryService"},{"__symbolic":"reference","name":"StripeElementsService"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"DocumentRef"},{"provide":{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"},"useValue":{"__symbolic":"reference","name":"publishableKey"}},{"provide":{"__symbolic":"reference","name":"STRIPE_OPTIONS"},"useValue":{"__symbolic":"reference","name":"options"}}]}},"forChild":{"__symbolic":"function","parameters":["publishableKey","options"],"value":{"ngModule":{"__symbolic":"reference","name":"NgxStripeModule"},"providers":[{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"StripeService"},{"__symbolic":"reference","name":"StripeFactoryService"},{"__symbolic":"reference","name":"StripeElementsService"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"DocumentRef"},{"provide":{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"},"useValue":{"__symbolic":"reference","name":"publishableKey"}},{"provide":{"__symbolic":"reference","name":"STRIPE_OPTIONS"},"useValue":{"__symbolic":"reference","name":"options"}}]}}}},"StripeCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-card","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCard":[{"__symbolic":"method"}]}},"StripeCardNumberComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-card-number","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCardNumber":[{"__symbolic":"method"}]}},"StripeCardExpiryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":24,"character":1},"arguments":[{"selector":"ngx-stripe-card-expiry","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":29,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCardExpiry":[{"__symbolic":"method"}]}},"StripeCardCvcComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":24,"character":1},"arguments":[{"selector":"ngx-stripe-card-cvc","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":29,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":36,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":38,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":44,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getCardCvc":[{"__symbolic":"method"}]}},"StripeFpxBankComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-fpx-bank","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getFpxBank":[{"__symbolic":"method"}]}},"StripeIbanComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-iban","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getIban":[{"__symbolic":"method"}]}},"StripeIdealBankComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-ideal-bank","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getIdealBank":[{"__symbolic":"method"}]}},"StripeAuBankAccountComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":23,"character":1},"arguments":[{"selector":"ngx-stripe-au-bank-account","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":28,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":32,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":33,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":34,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":35,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":37,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":39,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":41,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":42,"character":3}}]}],"escape":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":43,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"getAuBankAccount":[{"__symbolic":"method"}]}},"StripePaymentRequestButtonComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"ngx-stripe-payment-request-button","template":"<div class=\"field\" #stripeElementRef></div>"}]}],"members":{"stripeElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":37,"character":3},"arguments":["stripeElementRef",{"static":false}]}]}],"containerClass":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"paymentOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":43,"character":3}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":3}}]}],"elementsOptions":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"stripe":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":46,"character":3}}]}],"load":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":48,"character":3}}]}],"change":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":53,"character":3}}]}],"blur":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":56,"character":3}}]}],"focus":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":57,"character":3}}]}],"ready":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":58,"character":3}}]}],"token":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":60,"character":3}}]}],"paymentMethod":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":61,"character":3}}]}],"source":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":64,"character":3}}]}],"cancel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":65,"character":3}}]}],"shippingaddresschange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":66,"character":3}}]}],"shippingoptionchange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":69,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeElementsService"}]}],"ngOnChanges":[{"__symbolic":"method"}],"canMakePayment":[{"__symbolic":"method"}],"update":[{"__symbolic":"method"}],"updateRequest":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"getButton":[{"__symbolic":"method"}]}},"StripeService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":67,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":72,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":73,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_OPTIONS"}]}],null,null],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@stripe/stripe-js","name":"StripeConstructorOptions","line":73,"character":44},{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"WindowRef"}]}],"getStripeReference":[{"__symbolic":"method"}],"getInstance":[{"__symbolic":"method"}],"setKey":[{"__symbolic":"method"}],"changeKey":[{"__symbolic":"method"}],"elements":[{"__symbolic":"method"}],"redirectToCheckout":[{"__symbolic":"method"}],"confirmAuBecsDebitPayment":[{"__symbolic":"method"}],"confirmBancontactPayment":[{"__symbolic":"method"}],"confirmCardPayment":[{"__symbolic":"method"}],"confirmEpsPayment":[{"__symbolic":"method"}],"confirmFpxPayment":[{"__symbolic":"method"}],"confirmGiropayPayment":[{"__symbolic":"method"}],"confirmIdealPayment":[{"__symbolic":"method"}],"confirmP24Payment":[{"__symbolic":"method"}],"confirmSepaDebitPayment":[{"__symbolic":"method"}],"handleCardAction":[{"__symbolic":"method"}],"createPaymentMethod":[{"__symbolic":"method"}],"retrievePaymentIntent":[{"__symbolic":"method"}],"confirmAuBecsDebitSetup":[{"__symbolic":"method"}],"confirmCardSetup":[{"__symbolic":"method"}],"confirmSepaDebitSetup":[{"__symbolic":"method"}],"retrieveSetupIntent":[{"__symbolic":"method"}],"paymentRequest":[{"__symbolic":"method"}],"createToken":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"createSource":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"retrieveSource":[{"__symbolic":"method"}],"handleCardPayment":[{"__symbolic":"method"}],"confirmPaymentIntent":[{"__symbolic":"method"}],"handleCardSetup":[{"__symbolic":"method"}],"confirmSetupIntent":[{"__symbolic":"method"}],"handleFpxPayment":[{"__symbolic":"method"}]}},"StripeFactoryService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":14,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":17,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_PUBLISHABLE_KEY"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":5},"arguments":[{"__symbolic":"reference","name":"STRIPE_OPTIONS"}]}],null,null],"parameters":[{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@stripe/stripe-js","name":"StripeConstructorOptions","line":18,"character":48},{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"WindowRef"}]}],"create":[{"__symbolic":"method"}]}},"StripeInstance":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"LazyStripeAPILoader"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"@stripe/stripe-js","name":"StripeConstructorOptions","line":70,"character":22}]}],"getInstance":[{"__symbolic":"method"}],"elements":[{"__symbolic":"method"}],"redirectToCheckout":[{"__symbolic":"method"}],"confirmAuBecsDebitPayment":[{"__symbolic":"method"}],"confirmBancontactPayment":[{"__symbolic":"method"}],"confirmCardPayment":[{"__symbolic":"method"}],"confirmEpsPayment":[{"__symbolic":"method"}],"confirmFpxPayment":[{"__symbolic":"method"}],"confirmGiropayPayment":[{"__symbolic":"method"}],"confirmIdealPayment":[{"__symbolic":"method"}],"confirmP24Payment":[{"__symbolic":"method"}],"confirmSepaDebitPayment":[{"__symbolic":"method"}],"handleCardAction":[{"__symbolic":"method"}],"createPaymentMethod":[{"__symbolic":"method"}],"retrievePaymentIntent":[{"__symbolic":"method"}],"confirmAuBecsDebitSetup":[{"__symbolic":"method"}],"confirmCardSetup":[{"__symbolic":"method"}],"confirmSepaDebitSetup":[{"__symbolic":"method"}],"retrieveSetupIntent":[{"__symbolic":"method"}],"paymentRequest":[{"__symbolic":"method"}],"createToken":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"createSource":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"retrieveSource":[{"__symbolic":"method"}],"handleCardPayment":[{"__symbolic":"method"}],"confirmPaymentIntent":[{"__symbolic":"method"}],"handleCardSetup":[{"__symbolic":"method"}],"confirmSetupIntent":[{"__symbolic":"method"}],"handleFpxPayment":[{"__symbolic":"method"}]}},"LazyStripeAPILoader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":14,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":23,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":23,"character":12}]}],null,null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","name":"WindowRef"},{"__symbolic":"reference","name":"DocumentRef"}]}],"asStream":[{"__symbolic":"method"}],"isReady":[{"__symbolic":"method"}],"load":[{"__symbolic":"method"}]}},"LazyStripeAPILoaderStatus":{"__symbolic":"interface"},"StripeElementsService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":20,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"StripeService"}]}],"elements":[{"__symbolic":"method"}],"paymentRequest":[{"__symbolic":"method"}],"mergeOptions":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}},"WindowRef":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":5,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":5,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"getNativeWindow":[{"__symbolic":"method"}]}},"DocumentRef":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":3,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":5,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"PLATFORM_ID","line":5,"character":22}]}]],"parameters":[{"__symbolic":"reference","name":"any"}]}],"getNativeDocument":[{"__symbolic":"method"}]}},"STRIPE_PUBLISHABLE_KEY":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":42},"arguments":["Stripe Publishable Key"]},"STRIPE_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["Stripe Options"]},"StripeServiceInterface":{"__symbolic":"interface"}},"origins":{"NgxStripeModule":"./lib/ngx-stripe.module","StripeCardComponent":"./lib/components/card.component","StripeCardNumberComponent":"./lib/components/card-number.component","StripeCardExpiryComponent":"./lib/components/card-expiry.component","StripeCardCvcComponent":"./lib/components/card-cvc.component","StripeFpxBankComponent":"./lib/components/fpx-bank.component","StripeIbanComponent":"./lib/components/iban.component","StripeIdealBankComponent":"./lib/components/ideal-bank.component","StripeAuBankAccountComponent":"./lib/components/au-bank-account.component","StripePaymentRequestButtonComponent":"./lib/components/payment-request-button.component","StripeService":"./lib/services/stripe.service","StripeFactoryService":"./lib/services/stripe-factory.service","StripeInstance":"./lib/services/stripe-instance.class","LazyStripeAPILoader":"./lib/services/api-loader.service","LazyStripeAPILoaderStatus":"./lib/services/api-loader.service","StripeElementsService":"./lib/services/stripe-elements.service","WindowRef":"./lib/services/window-ref.service","DocumentRef":"./lib/services/document-ref.service","STRIPE_PUBLISHABLE_KEY":"./lib/interfaces/ngx-stripe.interface","STRIPE_OPTIONS":"./lib/interfaces/ngx-stripe.interface","StripeServiceInterface":"./lib/interfaces/stripe-instance.interface"},"importAs":"ngx-stripe"}
{
"name": "ngx-stripe",
"version": "8.1.1",
"version": "8.1.2",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -15,2 +15,3 @@ export { NgxStripeModule } from './lib/ngx-stripe.module';

export { LazyStripeAPILoader, LazyStripeAPILoaderStatus } from './lib/services/api-loader.service';
export { StripeElementsService } from './lib/services/stripe-elements.service';
export { WindowRef } from './lib/services/window-ref.service';

@@ -17,0 +18,0 @@ export { DocumentRef } from './lib/services/document-ref.service';

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc