@trustpayments/3ds-sdk-js 1.2.338 → 1.2.340
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see index.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("ThreeDSecure",[],t):"object"==typeof exports?exports.ThreeDSecure=t():e.ThreeDSecure=t()}(this,(function(){return function(){var e={17:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(1277);function i(...e){return(0,r.x)(...e)}},81:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var r=n(7555),i=n(7199),o=n(5547);function c(e=s){return(0,i.N)(((t,n)=>{let r=!1;t.subscribe((0,o._)(n,(e=>{r=!0,n.next(e)}),(()=>r?n.complete():n.error(e()))))}))}function s(){return new r.G}},91:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2213),i=n(6718),o=n(8496);function c(e,t=r.E){return(0,i.s)((()=>(0,o.O)(e,t)))}},109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TOKEN_HTTP_CLIENT=t.TOKEN_WINDOW=t.TOKEN_DOCUMENT=void 0;var r=n(8430);t.TOKEN_DOCUMENT=new r.Token("document"),t.TOKEN_WINDOW=new r.Token("window"),t.TOKEN_HTTP_CLIENT=new r.Token("HttpClient")},129:function(e,t,n){"use strict";function r(e,t){return e.reduce(((e,n,r)=>(e[n]=t[r],e)),{})}n.d(t,{e:function(){return r}})},132:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(7051),i=n(7199);function o(e,t){return(0,i.N)(((n,i)=>{let o=t;return(0,r.n)(((t,n)=>e(o,t,n)),((e,t)=>(o=t,t)))(n).subscribe(i),()=>{o=null}}))}},196:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-inline-view iframe {\n overflow: hidden;\n height: 100%;\n min-height: 200px;\n width: 100%;\n}\n\n.tp-3ds-inline-view {\n height: 100%;\n}\n\n.tp-3ds-inline-view-wrapper {\n height: calc(100% - 18px);\n}\n\n.tp-3ds-inline-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-inline-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n font-size: 12px;\n margin: 10px;\n padding: 0;\n}\n\n.tp-3ds-inline-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n","",{version:3,sources:["webpack://./src/shared/services/inline-view/InlineView.css"],names:[],mappings:"AAAA;EACE,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;EACjB,WAAW;AACb;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,aAAa;EACb,yBAAyB;AAC3B;;AAEA;EACE,SAAS;EACT,6BAA6B;EAC7B,gBAAgB;EAChB,kBAAkB;EAClB,eAAe;EACf,YAAY;EACZ,UAAU;AACZ;;AAEA;EACE,0BAA0B;EAC1B,eAAe;AACjB",sourcesContent:[".tp-3ds-inline-view iframe {\n overflow: hidden;\n height: 100%;\n min-height: 200px;\n width: 100%;\n}\n\n.tp-3ds-inline-view {\n height: 100%;\n}\n\n.tp-3ds-inline-view-wrapper {\n height: calc(100% - 18px);\n}\n\n.tp-3ds-inline-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-inline-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n font-size: 12px;\n margin: 10px;\n padding: 0;\n}\n\n.tp-3ds-inline-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n"],sourceRoot:""}]),t.A=c},198:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(3475),i=n(1630);function o(e,t,n=1/0){return(0,i.T)(t)?(0,r.Z)((()=>e),t,n):("number"==typeof t&&(n=t),(0,r.Z)((()=>e),n))}},342:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeV2Service=void 0;var o=n(6398),c=n(6943),s=n(8430),u=n(9693),a=n(7907),l=n(1274),f=n(4193),d=n(3449),h=n(3708),p=n(370),v=n(9952),m=function(){function e(e,t,n,r,i){this.challengeCommonService=e,this.sessionIdService=t,this.base64TranscoderService=n,this.iframeCreatorService=r,this.interFrameCommunicatorService=i}return e.prototype.run$=function(e,t,n,r){var i=this.base64TranscoderService.decode(t);return this.challengeCommonService.validate(n),this.validateCReq(i),(0,o.merge)(this.open$(e,t,n,r),this.challengeCommonService.handleCancelEvent$(e,i.threeDSServerTransID)).pipe((0,c.first)())},e.prototype.open$=function(e,t,n,r){var i=this,o=this.createIframe(t,n,r);return this.challengeCommonService.initView(e,o),this.interFrameCommunicatorService.receive$(l.InterFrameCommunicatorMessageType.CHALLENGE_RESPONSE).pipe((0,c.map)((function(e){return i.mapStatus(i.base64TranscoderService.decode(e))})),(0,c.tap)((function(){i.challengeCommonService.closeChallengeWindow(e)})))},e.prototype.createIframe=function(e,t,n){var r=this,i=this.iframeCreatorService.getIframe(this.challengeCommonService.challengeIframeSelector,this.challengeCommonService.getChallengeWindowSize().x,this.challengeCommonService.getChallengeWindowSize().y),o=this.base64TranscoderService.encodeString(this.sessionIdService.getId()),c=function(){i.contentWindow.document.head.appendChild(r.iframeCreatorService.getStylesMarkup()),i.contentWindow.document.body.innerHTML=r.iframeCreatorService.getIframeHTMLMarkup(r.challengeCommonService.challengeIframeFormSelector,t,[{name:"creq",value:e},{name:"threeDSSessionData",value:o},{name:"cardType",value:n}],n),i.removeEventListener("load",c),i.contentWindow.document.getElementById(r.challengeCommonService.challengeIframeFormSelector).submit()};return i.addEventListener("load",c),i},e.prototype.mapStatus=function(e){return{status:e.actionCode,description:e.errorDescription,transactionId:e.threeDSServerTransID,data:{cres:this.base64TranscoderService.encode(e.cres)}}},e.prototype.validateCReq=function(e){if("string"!=typeof e.threeDSServerTransID||0===e.threeDSServerTransID.length)throw new a.ValidationError("doChallenge$() requires valid CReq threeDSServerTransID property");var t;try{t=new v.ThreeDSecureVersion(e.messageVersion)}catch(e){throw new a.ValidationError("doChallenge$() in version 2 requires valid CReq.messageVersion property")}if(t.isLowerThan(v.ThreeDSecureVersion.V2))throw new a.ValidationError("doChallenge$() in version 2 requires CReq.messageVersion property to be >= 2.0.0");if("string"!=typeof e.acsTransID||0===e.acsTransID.length)throw new a.ValidationError("doChallenge$() requires valid CReq acsTransId property")},r([(0,s.Service)(),i("design:paramtypes",[p.ChallengeCommonService,u.SessionIdService,f.Base64TranscoderService,d.IframeCreatorService,h.InterFrameCommunicatorService])],e)}();t.ChallengeV2Service=m},347:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(4490),i=n(9265),o=n(4927),c=n(7199),s=n(5547);function u(e,t,n,u){return(0,c.N)(((c,a)=>{let l;t&&"function"!=typeof t?({duration:n,element:l,connector:u}=t):l=t;const f=new Map,d=e=>{f.forEach(e),e(a)},h=e=>d((t=>t.error(e)));let p=0,v=!1;const m=new s.H(a,(t=>{try{const c=e(t);let d=f.get(c);if(!d){f.set(c,d=u?u():new o.B);const e=function(e,t){const n=new r.c((e=>{p++;const n=t.subscribe(e);return()=>{n.unsubscribe(),0===--p&&v&&m.unsubscribe()}}));return n.key=e,n}(c,d);if(a.next(e),n){const t=(0,s._)(d,(()=>{d.complete(),null==t||t.unsubscribe()}),void 0,void 0,(()=>f.delete(c)));m.add((0,i.Tg)(n(e)).subscribe(t))}}d.next(l?l(t):t)}catch(e){h(e)}}),(()=>d((e=>e.complete()))),h,(()=>f.clear()),(()=>(v=!0,0===p)));c.subscribe(m)}))}},358:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var r=n(2213),i=n(1130),o=n(8496);function c(e,t=r.E){const n=(0,o.O)(e,t);return(0,i.o)((()=>n))}},370:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeCommonService=void 0;var c=n(6943),s=n(8430),u=n(9912),a=n(2733),l=n(9693),f=n(7907),d=n(109),h=n(5269),p=n(5441),v=n(4607),m=function(){function e(e,t,n,r,i){this.popupViewService=e,this.inlineViewService=t,this.sessionIdService=n,this.domMethodsService=r,this.window=i,this.challengeIframeSelector="tp-3ds-challenge-iframe",this.challengeIframeFormSelector="tp-3ds-challenge-form"}return e.prototype.handleCancelEvent$=function(e,t){var n={status:a.ResultActionCode.CANCELLED,description:"Challenge cancelled",transactionId:t};return e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP?this.popupViewService.cancelled$().pipe((0,c.map)((function(){return n}))):this.inlineViewService.cancelled$().pipe((0,c.map)((function(){return n})))},e.prototype.getChallengeWindowSize=function(){var e=this.window.innerWidth;return{x:e<390?e-20:390,y:400}},e.prototype.closeChallengeWindow=function(e){e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP?this.popupViewService.close():this.inlineViewService.close()},e.prototype.cancelChallenge=function(e){e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP?this.popupViewService.cancel():this.inlineViewService.cancel()},e.prototype.validate=function(e){if("string"!=typeof this.sessionIdService.getId()||0===this.sessionIdService.getId().length)throw new f.ValidationError("doChallenge$() requires initialization of the library");if("string"!=typeof e||0===e.length)throw new f.ValidationError("doChallenge$() requires challenge URL")},e.prototype.initView=function(e,t){if(e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP)this.popupViewService.init(t,e.translations);else if(e.challengeDisplayMode===u.ChallengeDisplayMode.INLINE){var n=this.domMethodsService.getElement("#".concat(e.challengeDisplayInlineTargetElementId));if(!n)throw new f.ValidationError("challengeDisplayInlineTargetElementId must exist in the DOM when using challengeDisplayMode: ".concat(u.ChallengeDisplayMode.INLINE,". Element with ID = ").concat(e.challengeDisplayInlineTargetElementId," was not found"));this.inlineViewService.init(t,n,e.translations)}},r([(0,s.Service)(),o(4,(0,s.Inject)(d.TOKEN_WINDOW)),i("design:paramtypes",[v.PopupViewService,p.InlineViewService,l.SessionIdService,h.DomMethodsService,Window])],e)}();t.ChallengeCommonService=m},380:function(e,t,n){"use strict";n.d(t,{O:function(){return c}});var r=n(2668),i=n(7199),o=n(5547);function c(){return(0,i.N)(((e,t)=>{e.subscribe((0,o._)(t,(e=>{t.next(r.Eg.createNext(e))}),(()=>{t.next(r.Eg.createComplete()),t.complete()}),(e=>{t.next(r.Eg.createError(e)),t.complete()})))}))}},420:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(2656),i=n(1630);function o(e){return(0,i.T)(null==e?void 0:e[r.l])}},421:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2668),i=n(7199),o=n(5547);function c(){return(0,i.N)(((e,t)=>{e.subscribe((0,o._)(t,(e=>(0,r.gV)(e,t))))}))}},450:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(1630);function i(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},468:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});const{isArray:r}=Array,{getPrototypeOf:i,prototype:o,keys:c}=Object;function s(e){if(1===e.length){const n=e[0];if(r(n))return{args:n,keys:null};if((t=n)&&"object"==typeof t&&i(t)===o){const e=c(n);return{args:e.map((e=>n[e])),keys:e}}}var t;return{args:e,keys:null}}},522:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)(((n,r)=>{let o=0;n.subscribe((0,i._)(r,(i=>{e.call(t,i,o++,n)||(r.next(!1),r.complete())}),(()=>{r.next(!0),r.complete()})))}))}},526:function(e,t,n){"use strict";n.d(t,{M:function(){return l},w:function(){return f}});var r=n(2213),i=n(6542),o=n(7199),c=n(9265),s=n(4772),u=n(5547),a=n(8114);const l=(0,s.L)((e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t}));function f(e,t){const{first:n,each:s,with:l=d,scheduler:f=(null!=t?t:r.E),meta:h=null}=(0,i.v)(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==n&&null==s)throw new TypeError("No timeout provided.");return(0,o.N)(((e,t)=>{let r,i,o=null,d=0;const p=e=>{i=(0,a.N)(t,f,(()=>{try{r.unsubscribe(),(0,c.Tg)(l({meta:h,lastValue:o,seen:d})).subscribe(t)}catch(e){t.error(e)}}),e)};r=e.subscribe((0,u._)(t,(e=>{null==i||i.unsubscribe(),d++,t.next(o=e),s>0&&p(s)}),void 0,void 0,(()=>{(null==i?void 0:i.closed)||null==i||i.unsubscribe(),o=null}))),!d&&p(null!=n?"number"==typeof n?n:+n-f.now():s)}))}function d(e){throw new l(e)}},540:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},604:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(8114),i=n(7199),o=n(5547);function c(e,t=0){return(0,i.N)(((n,i)=>{n.subscribe((0,o._)(i,(n=>(0,r.N)(i,e,(()=>i.next(n)),t)),(()=>(0,r.N)(i,e,(()=>i.complete()),t)),(n=>(0,r.N)(i,e,(()=>i.error(n)),t))))}))}},628:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r={now(){return(r.delegate||Date).now()},delegate:void 0}},769:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(3686),i=n(962);function o(e,t,n){let o,c=!1;return e&&"object"==typeof e?({bufferSize:o=1/0,windowTime:t=1/0,refCount:c=!1,scheduler:n}=e):o=null!=e?e:1/0,(0,i.u)({connector:()=>new r.m(o,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}},808:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(7199),i=n(5547),o=n(9265),c=n(5690);function s(e){return(0,r.N)(((t,n)=>{let r=!1;const s=(0,i._)(n,(()=>{null==s||s.unsubscribe(),r=!0}),c.l);(0,o.Tg)(e).subscribe(s),t.subscribe((0,i._)(n,(e=>r&&n.next(e))))}))}},867:function(e,t,n){"use strict";n.d(t,{$:function(){return c}});var r=n(4935),i=n(7199);const o=(e,t)=>(e.push(t),e);function c(){return(0,i.N)(((e,t)=>{(0,r.T)(o,[])(e).subscribe(t)}))}},962:function(e,t,n){"use strict";n.d(t,{u:function(){return s}});var r=n(9265),i=n(4927),o=n(3263),c=n(7199);function s(e={}){const{connector:t=()=>new i.B,resetOnError:n=!0,resetOnComplete:s=!0,resetOnRefCountZero:a=!0}=e;return e=>{let i,l,f,d=0,h=!1,p=!1;const v=()=>{null==l||l.unsubscribe(),l=void 0},m=()=>{v(),i=f=void 0,h=p=!1},g=()=>{const e=i;m(),null==e||e.unsubscribe()};return(0,c.N)(((e,c)=>{d++,p||h||v();const b=f=null!=f?f:t();c.add((()=>{d--,0!==d||p||h||(l=u(g,a))})),b.subscribe(c),!i&&d>0&&(i=new o.Ms({next:e=>b.next(e),error:e=>{p=!0,v(),l=u(m,n,e),b.error(e)},complete:()=>{h=!0,v(),l=u(m,s),b.complete()}}),(0,r.Tg)(e).subscribe(i))}))(e)}}function u(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new o.Ms({next:()=>{i.unsubscribe(),e()}});return(0,r.Tg)(t(...n)).subscribe(i)}},1013:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(9251);function i(e){return(0,r.p)(((t,n)=>e<=n))}},1067:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(4490),i=n(1630);function o(e,t){const n=(0,i.T)(e)?e:()=>e,o=e=>e.error(n());return new r.c(t?e=>t.schedule(o,0,e):o)}},1113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1114:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(5810),i=n(7199);function o(...e){return(0,i.N)(((t,n)=>{(0,r.y)(t,...e).subscribe(n)}))}},1130:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(8597),i=n(3394),o=n(5350),c=n(8838),s=n(3475),u=n(9265);function a(e,t){return t?n=>(0,r.x)(t.pipe((0,i.s)(1),(0,o.w)()),n.pipe(a(e))):(0,s.Z)(((t,n)=>(0,u.Tg)(e(t,n)).pipe((0,i.s)(1),(0,c.u)(t))))}},1176:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(7199),i=n(2510);function o(e,t){return(0,r.N)((0,i.k)(e,t,"index"))}},1211:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},1223:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(5514),i=n(7199),o=n(9265),c=n(5547),s=n(5690),u=n(9307);function a(e,t){return(0,i.N)(((n,i)=>{const a=[];(0,o.Tg)(e).subscribe((0,c._)(i,(e=>{const n=[];a.push(n);const l=new r.yU;l.add((0,o.Tg)(t(e)).subscribe((0,c._)(i,(()=>{(0,u.o)(a,n),i.next(n),l.unsubscribe()}),s.l)))}),s.l)),n.subscribe((0,c._)(i,(e=>{for(const t of a)t.push(e)}),(()=>{for(;a.length>0;)i.next(a.shift());i.complete()})))}))}},1250:function(e,t,n){"use strict";function r(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(t,{L:function(){return r}})},1274:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InterFrameCommunicatorMessageType=void 0,function(e){e.METHOD_URL_RESPONSE="TP_METHOD_URL_RESPONSE",e.CHALLENGE_RESPONSE="TP_CHALLENGE_RESPONSE",e.BROWSER_DATA_RESPONSE="TP_BROWSER_DATA_RESPONSE"}(n||(t.InterFrameCommunicatorMessageType=n={}))},1275:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(6579);function i(...e){return(0,r.z)(...e)}},1277:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var r=n(7199),i=n(2402),o=n(6783),c=n(4942);function s(...e){const t=(0,o.lI)(e);return(0,r.N)(((n,r)=>{(0,i.K)()((0,c.H)([n,...e],t)).subscribe(r)}))}},1354:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},1430:function(e,t,n){"use strict";n.d(t,{u:function(){return u}});var r=n(5900),i=n(7199),o=n(5547),c=n(9265),s=n(8496);function u(e){let t,n=1/0;return null!=e&&("object"==typeof e?({count:n=1/0,delay:t}=e):n=e),n<=0?()=>r.w:(0,i.N)(((e,r)=>{let i,u=0;const a=()=>{if(null==i||i.unsubscribe(),i=null,null!=t){const e="number"==typeof t?(0,s.O)(t):(0,c.Tg)(t(u)),n=(0,o._)(r,(()=>{n.unsubscribe(),l()}));e.subscribe(n)}else l()},l=()=>{let t=!1;i=e.subscribe((0,o._)(r,void 0,(()=>{++u<n?i?a():t=!0:r.complete()}))),t&&a()};l()}))}},1434:function(e,t,n){"use strict";n.d(t,{Y:function(){return s}});var r=n(9265),i=n(4927),o=n(7199),c=n(5547);function s(e){return(0,o.N)(((t,n)=>{let o,s,u=!1,a=!1,l=!1;const f=()=>l&&a&&(n.complete(),!0),d=()=>{l=!1,o=t.subscribe((0,c._)(n,void 0,(()=>{l=!0,!f()&&(s||(s=new i.B,(0,r.Tg)(e(s)).subscribe((0,c._)(n,(()=>{o?d():u=!0}),(()=>{a=!0,f()})))),s).next()}))),u&&(o.unsubscribe(),o=null,u=!1,d())};d()}))}},1548:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(5237),i=n(2092);function o(){return(0,r.p)(i.D)}},1551:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});var r=n(9265),i=n(7199),o=n(5690),c=n(5547);function s(e){return(0,i.N)(((t,n)=>{let i=!1,s=null;t.subscribe((0,c._)(n,(e=>{i=!0,s=e}))),(0,r.Tg)(e).subscribe((0,c._)(n,(()=>{if(i){i=!1;const e=s;s=null,n.next(e)}}),o.l))}))}},1612:function(e,t,n){"use strict";n.d(t,{w:function(){return c}});var r=n(7388),i=n(7199),o=n(2092);function c(...e){return e.length?(0,i.N)(((t,n)=>{(0,r.w)([t,...e])(n)})):o.D}},1630:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{T:function(){return r}})},1635:function(e,t,n){"use strict";function r(e,t,n,r){return new(n||(n=Promise))((function(i,o){function c(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,s)}u((r=r.apply(e,t||[])).next())}))}function i(e){return this instanceof i?(this.v=e,this):new i(e)}function o(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),c=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",(function(e){return function(t){return Promise.resolve(t).then(e,l)}})),r[Symbol.asyncIterator]=function(){return this},r;function s(e,t){o[e]&&(r[e]=function(t){return new Promise((function(n,r){c.push([e,t,n,r])>1||u(e,t)}))},t&&(r[e]=t(r[e])))}function u(e,t){try{(n=o[e](t)).value instanceof i?Promise.resolve(n.value.v).then(a,l):f(c[0][2],n)}catch(e){f(c[0][3],e)}var n}function a(e){u("next",e)}function l(e){u("throw",e)}function f(e,t){e(t),c.shift(),c.length&&u(c[0][0],c[0][1])}}function c(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,i){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,i,(t=e[n](t)).done,t.value)}))}}}n.d(t,{AQ:function(){return o},N3:function(){return i},sH:function(){return r},xN:function(){return c}}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},1674:function(e,t,n){"use strict";n.d(t,{g:function(){return u}});var r=n(4490),i=n(3075),o=n(5547),c=n(5690),s=n(9265);function u(...e){const t=(0,i.K)(e);return new r.c((e=>{let n=0;const r=()=>{if(n<t.length){let i;try{i=(0,s.Tg)(t[n++])}catch(e){return void r()}const u=new o.H(e,void 0,c.l,c.l);i.subscribe(u),u.add(r)}else e.complete()};r()}))}},1684:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(9661),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},1755:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(3475),i=n(1630);function o(e,t){return(0,i.T)(t)?(0,r.Z)(e,t,1):(0,r.Z)(e,1)}},1894:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(1114);function i(...e){return(0,r.y)(...e)}},1938:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,'.tp-3ds-popup-view {\n content: "";\n min-width: 100vw;\n height: 100vh;\n z-index: 999999;\n}\n\n.tp-3ds-popup-view-overlay {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n padding: 20px;\n box-sizing: border-box;\n box-shadow: 0 6px 22px -3px #000;\n}\n\n.tp-3ds-popup-view-wrapper {\n height: 100%;\n}\n\n.tp-3ds-popup-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-popup-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n top: -10px;\n left: 10px;\n font-size: 12px;\n}\n\n.tp-3ds-popup-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-popup-view-overlay {\n padding: 5px;\n width: 100%;\n }\n}\n',"",{version:3,sources:["webpack://./src/shared/services/popup-view/PopupView.css"],names:[],mappings:"AAAA;EACE,WAAW;EACX,gBAAgB;EAChB,aAAa;EACb,eAAe;AACjB;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,gCAAgC;EAChC,aAAa;EACb,sBAAsB;EACtB,gCAAgC;AAClC;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,aAAa;EACb,yBAAyB;AAC3B;;AAEA;EACE,SAAS;EACT,6BAA6B;EAC7B,gBAAgB;EAChB,kBAAkB;EAClB,UAAU;EACV,UAAU;EACV,eAAe;AACjB;;AAEA;EACE,0BAA0B;EAC1B,eAAe;AACjB;;AAEA;EACE;IACE,YAAY;IACZ,WAAW;EACb;AACF",sourcesContent:['.tp-3ds-popup-view {\n content: "";\n min-width: 100vw;\n height: 100vh;\n z-index: 999999;\n}\n\n.tp-3ds-popup-view-overlay {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n padding: 20px;\n box-sizing: border-box;\n box-shadow: 0 6px 22px -3px #000;\n}\n\n.tp-3ds-popup-view-wrapper {\n height: 100%;\n}\n\n.tp-3ds-popup-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-popup-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n top: -10px;\n left: 10px;\n font-size: 12px;\n}\n\n.tp-3ds-popup-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-popup-view-overlay {\n padding: 5px;\n width: 100%;\n }\n}\n'],sourceRoot:""}]),t.A=c},1966:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(1755),i=n(1630);function o(e,t){return(0,i.T)(t)?(0,r.H)((()=>e),t):(0,r.H)((()=>e))}},2025:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(3686),i=n(9459),o=n(1630);function c(e,t,n,c){n&&!(0,o.T)(n)&&(c=n);const s=(0,o.T)(n)?n:void 0;return n=>(0,i.f)(new r.m(e,t,c),s)(n)}},2059:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProcessingScreenService=void 0;var c=n(6943),s=n(8430),u=n(5078),a=n(109),l=n(7753),f=n(5269),d=n(2744);n(6779);var h=n(9580),p=function(){function e(e,t,n,r){this.domMethodsService=e,this.loggerService=t,this.configService=n,this.document=r,this.classNames={mainContainer:"tp-3ds-processing-screen",overlay:"tp-3ds-overlay",screenWrapper:"tp-3ds-processing-screen-wrapper",wrapperAttachToElement:"tp-3ds-processing-screen-wrapper-attach-to-element",wrapperVisa:"tp-3ds-processing-screen-wrapper-visa",wrapperMasterCard:"tp-3ds-processing-screen-wrapper-mastercard",wrapperAmex:"tp-3ds-processing-screen-wrapper-amex",loader:"tp-3ds-processing-screen-loader",loaderWithLogo:"tp-3ds-processing-screen-loader-with-logo",logo:"tp-3ds-processing-screen-logo"},this.processingScreenWrapperElement=this.domMethodsService.createElement("div"),this.domMethodsService.addClassesToElement(this.processingScreenWrapperElement,[this.classNames.overlay,this.classNames.screenWrapper]),this.loaderElement=this.domMethodsService.createElement("div"),this.domMethodsService.addClassesToElement(this.loaderElement,[this.classNames.loader])}return e.prototype.show=function(e){var t=this;this.configService.getConfig$().pipe((0,c.first)()).subscribe((function(n){if(n.processingScreenMode===l.ProcessingScreenMode.OVERLAY)t.connectTo(t.document.body,e,l.ProcessingScreenMode.OVERLAY);else{var r=t.domMethodsService.getElement("#".concat(n.processingScreenWrapperElementId));t.connectTo(r,e,l.ProcessingScreenMode.ATTACH_TO_ELEMENT)}}))},e.prototype.hide=function(){var e=this;this.configService.getConfig$().pipe((0,c.first)()).subscribe((function(t){if(t.processingScreenMode===l.ProcessingScreenMode.OVERLAY)e.disconnectFrom(e.document.body);else{var n=e.domMethodsService.getElement("#".concat(t.processingScreenWrapperElementId));e.disconnectFrom(n)}}))},e.prototype.connectTo=function(e,t,n){try{if(!e)throw new Error("Could not connect Processing Loader. targetElement: ".concat(JSON.stringify(e)," not found. You must define existing targetElement."));switch(this.processingScreenWrapperElement.innerText="",this.domMethodsService.removeClassesFromElement(this.loaderElement,[this.classNames.loaderWithLogo]),this.domMethodsService.addClassesToElement(e,[this.classNames.mainContainer]),this.domMethodsService.addToElement(this.processingScreenWrapperElement,e),this.domMethodsService.addToElement(this.loaderElement,this.processingScreenWrapperElement),n===l.ProcessingScreenMode.ATTACH_TO_ELEMENT&&this.domMethodsService.addClassesToElement(this.processingScreenWrapperElement,[this.classNames.wrapperAttachToElement]),t){case"VISA":case"ELECTRON":case"DELTA":case"VPAY":case"PURCHASING":this.addCardLogo(h.PROCESSING_SCREEN_LOGO_VISA,this.classNames.wrapperVisa);break;case"MASTERCARD":case"MASTERCARDDEBIT":case"MAESTRO":this.addCardLogo(h.PROCESSING_SCREEN_LOGO_MASTERCARD,this.classNames.wrapperMasterCard);break;case"AMEX":this.addCardLogo(h.CHALLENGE_SCREEN_LOGO_AMEX,this.classNames.wrapperAmex)}}catch(e){this.loggerService.error(e)}},e.prototype.disconnectFrom=function(e){var t=this.domMethodsService.getElement(".".concat(this.classNames.screenWrapper));try{if(!e)throw new Error("Could not disconnect Processing Loader. targetElement: ".concat(JSON.stringify(e)," not found. You must define existing targetElement."));this.domMethodsService.removeClassesFromElement(e,[this.classNames.overlay,this.classNames.mainContainer]),t&&this.domMethodsService.removeElement(t)}catch(e){this.loggerService.error(e)}},e.prototype.addCardLogo=function(e,t){var n=this.domMethodsService.createElement("div",{class:this.classNames.logo});n.innerHTML=e,this.domMethodsService.addToElement(n,this.processingScreenWrapperElement),this.domMethodsService.addClassesToElement(this.processingScreenWrapperElement,[t]),this.domMethodsService.addClassesToElement(this.loaderElement,[this.classNames.loaderWithLogo])},r([(0,s.Service)(),o(3,(0,s.Inject)(a.TOKEN_DOCUMENT)),i("design:paramtypes",[f.DomMethodsService,d.LoggerService,u.ConfigService,Document])],e)}();t.ProcessingScreenService=p},2082:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(7199),i=n(5547),o=n(9265);function c(e,t=(e,t)=>e===t){return(0,r.N)(((n,r)=>{const c={buffer:[],complete:!1},s={buffer:[],complete:!1},u=e=>{r.next(e),r.complete()},a=(e,n)=>{const o=(0,i._)(r,(r=>{const{buffer:i,complete:o}=n;0===i.length?o?u(!1):e.buffer.push(r):!t(r,i.shift())&&u(!1)}),(()=>{e.complete=!0;const{complete:t,buffer:r}=n;t&&u(0===r.length),null==o||o.unsubscribe()}));return o};n.subscribe(a(c,s)),(0,o.Tg)(e).subscribe(a(s,c))}))}},2092:function(e,t,n){"use strict";function r(e){return e}n.d(t,{D:function(){return r}})},2213:function(e,t,n){"use strict";n.d(t,{E:function(){return i},b:function(){return o}});var r=n(4337);const i=new(n(5372).q)(r.R),o=i},2232:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(4761),i=n(5186);function o(e){return t=>{const n=new r.t(e);return new i.G(t,(()=>n))}}},2307:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});const r=n(1548).C},2345:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(4927),i=n(5514),o=n(7199),c=n(9265),s=n(5547),u=n(5690),a=n(9307);function l(e,t){return(0,o.N)(((n,o)=>{const l=[],f=e=>{for(;0<l.length;)l.shift().error(e);o.error(e)};(0,c.Tg)(e).subscribe((0,s._)(o,(e=>{const n=new r.B;l.push(n);const d=new i.yU;let h;try{h=(0,c.Tg)(t(e))}catch(e){return void f(e)}o.next(n.asObservable()),d.add(h.subscribe((0,s._)(o,(()=>{(0,a.o)(l,n),n.complete(),d.unsubscribe()}),u.l,f)))}),u.l)),n.subscribe((0,s._)(o,(e=>{const t=l.slice();for(const n of t)n.next(e)}),(()=>{for(;0<l.length;)l.shift().complete();o.complete()}),f,(()=>{for(;0<l.length;)l.shift().unsubscribe()})))}))}},2402:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(5386);function i(){return(0,r.U)(1)}},2510:function(e,t,n){"use strict";n.d(t,{I:function(){return o},k:function(){return c}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)(c(e,t,"value"))}function c(e,t,n){const r="index"===n;return(n,o)=>{let c=0;n.subscribe((0,i._)(o,(i=>{const s=c++;e.call(t,i,s,n)&&(o.next(r?s:i),o.complete())}),(()=>{o.next(r?-1:void 0),o.complete()})))}}},2513:function(e,t,n){"use strict";n.d(t,{x:function(){return u}});var r=n(4927),i=n(7199),o=n(5547),c=n(5690),s=n(9265);function u(e){return(0,i.N)(((t,n)=>{let i=new r.B;n.next(i.asObservable());const u=e=>{i.error(e),n.error(e)};return t.subscribe((0,o._)(n,(e=>null==i?void 0:i.next(e)),(()=>{i.complete(),n.complete()}),u)),(0,s.Tg)(e).subscribe((0,o._)(n,(()=>{i.complete(),n.next(i=new r.B)}),c.l,u)),()=>{null==i||i.unsubscribe(),i=null}}))}},2540:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(7199),i=n(6971);function o(e,t,n=1/0){return(0,r.N)(((r,o)=>{let c=t;return(0,i.h)(r,o,((t,n)=>e(c,t,n)),n,(e=>{c=e}),!1,void 0,(()=>c=null))}))}},2561:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2656:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},2668:function(e,t,n){"use strict";n.d(t,{Eg:function(){return u},Ij:function(){return r},gV:function(){return a}});var r,i=n(5900),o=n(5664),c=n(1067),s=n(1630);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(r||(r={}));class u{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){return a(this,e)}do(e,t,n){const{kind:r,value:i,error:o}=this;return"N"===r?null==e?void 0:e(i):"E"===r?null==t?void 0:t(o):null==n?void 0:n()}accept(e,t,n){var r;return(0,s.T)(null===(r=e)||void 0===r?void 0:r.next)?this.observe(e):this.do(e,t,n)}toObservable(){const{kind:e,value:t,error:n}=this,r="N"===e?(0,o.of)(t):"E"===e?(0,c.$)((()=>n)):"C"===e?i.w:0;if(!r)throw new TypeError(`Unexpected notification kind ${e}`);return r}static createNext(e){return new u("N",e)}static createError(e){return new u("E",void 0,e)}static createComplete(){return u.completeNotification}}function a(e,t){var n,r,i;const{kind:o,value:c,error:s}=e;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(n=t.next)||void 0===n||n.call(t,c):"E"===o?null===(r=t.error)||void 0===r||r.call(t,s):null===(i=t.complete)||void 0===i||i.call(t)}u.completeNotification=new u("C")},2681:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(4927),i=n(7199),o=n(5547),c=n(9265);function s(e){return(0,i.N)(((t,n)=>{let i,s;const u=e=>{i.error(e),n.error(e)},a=()=>{let t;null==s||s.unsubscribe(),null==i||i.complete(),i=new r.B,n.next(i.asObservable());try{t=(0,c.Tg)(e())}catch(e){return void u(e)}t.subscribe(s=(0,o._)(n,a,a,u))};a(),t.subscribe((0,o._)(n,(e=>i.next(e)),(()=>{i.complete(),n.complete()}),u,(()=>{null==s||s.unsubscribe(),i=null})))}))}},2733:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ResultActionCode=void 0,function(e){e.SUCCESS="SUCCESS",e.FAILURE="FAILURE",e.ERROR="ERROR",e.NOACTION="NOACTION",e.CANCELLED="CANCELLED",e.COMPLETED="COMPLETED",e.UNCOMPLETED="UNCOMPLETED"}(n||(t.ResultActionCode=n={}))},2744:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c};Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerService=void 0;var i=n(8430),o=n(6398),c=n(8206),s=n(3586),u=function(){function e(){this.logsSubject$=new o.Subject,this.loggingLevel=c.LoggingLevel.ERROR,this.logs$=this.logsSubject$.asObservable()}return e.prototype.init=function(e){var t=this;this.loggingLevel=e,this.logsSubject$.subscribe((function(e){return t.logToConsole(e)}))},e.prototype.getErrorMessage=function(e){return e instanceof Error?"3dsJS dev error\n\n".concat(e.message):"3dsJS dev error\n\n".concat(e)},e.prototype.error=function(e){var t="string"==typeof e?e:e.stack;this.logMessage(s.LogType.ERROR,"".concat(t))},e.prototype.warning=function(e){this.logMessage(s.LogType.WARNING,"3dsJS dev warning\n\n".concat(e))},e.prototype.debug=function(e){this.logMessage(s.LogType.DEBUG,"3dsJS dev debug\n\n".concat(e))},e.prototype.logMessage=function(e,t){this.logsSubject$.next({type:e,message:t,time:new Date})},e.prototype.logToConsole=function(e){if(this.loggingLevel!==c.LoggingLevel.ERROR||e.type===s.LogType.ERROR)switch(e.type){case s.LogType.ERROR:console.error(e.message);break;case s.LogType.WARNING:console.warn(e.message);break;case s.LogType.DEBUG:console.debug(e.message)}},r([(0,i.Service)()],e)}();t.LoggerService=u},2762:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(2213),i=n(1551),o=n(9300);function c(e,t=r.E){return(0,i.X)((0,o.Y)(e,t))}},2816:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(1211),i=n(1630);function o(e){return(0,i.T)(e[r.s])}},2933:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(7199),i=n(5547);function o(e){return(0,r.N)(((t,n)=>{let r=!1,o=0;t.subscribe((0,i._)(n,(t=>(r||(r=!e(t,o++)))&&n.next(t))))}))}},2957:function(e,t,n){"use strict";n.d(t,{F:function(){return c}});var r=n(2092),i=n(7199),o=n(5547);function c(e,t=r.D){return e=null!=e?e:s,(0,i.N)(((n,r)=>{let i,c=!0;n.subscribe((0,o._)(r,(n=>{const o=t(n);!c&&e(i,o)||(c=!1,i=o,r.next(n))})))}))}function s(e,t){return e===t}},3e3:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-challenge-iframe {\n border: 0;\n outline: 0;\n overflow: hidden;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-challenge-iframe {\n width: 100%;\n }\n}\n","",{version:3,sources:["webpack://./src/modules/challenge/Challenge.css"],names:[],mappings:"AAAA;EACE,SAAS;EACT,UAAU;EACV,gBAAgB;AAClB;;AAEA;EACE;IACE,WAAW;EACb;AACF",sourcesContent:[".tp-3ds-challenge-iframe {\n border: 0;\n outline: 0;\n overflow: hidden;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-challenge-iframe {\n width: 100%;\n }\n}\n"],sourceRoot:""}]),t.A=c},3075:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});const{isArray:r}=Array;function i(e){return 1===e.length&&r(e[0])?e[0]:e}},3146:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(2213),i=n(6542),o=n(526);function c(e,t,n){let c,s,u;if(n=null!=n?n:r.b,(0,i.v)(e)?c=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(u=()=>t,null==c&&null==s)throw new TypeError("No timeout provided.");return(0,o.w)({first:c,each:s,scheduler:n,with:u})}},3164:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(7199);function i(e,t=0){return(0,r.N)(((n,r)=>{r.add(e.schedule((()=>n.subscribe(r)),t))}))}},3221:function(e,t,n){"use strict";n.r(t),n.d(t,{MAX:function(){return r},NIL:function(){return i},parse:function(){return s},stringify:function(){return l},v1:function(){return m},v1ToV6:function(){return g},v3:function(){return I},v4:function(){return N},v5:function(){return k},v6:function(){return U},v6ToV1:function(){return B},v7:function(){return W},validate:function(){return c},version:function(){return $}});var r="ffffffff-ffff-ffff-ffff-ffffffffffff",i="00000000-0000-0000-0000-000000000000",o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,c=function(e){return"string"==typeof e&&o.test(e)},s=function(e){if(!c(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)};const u=[];for(let e=0;e<256;++e)u.push((e+256).toString(16).slice(1));function a(e,t=0){return(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase()}var l=function(e,t=0){const n=a(e,t);if(!c(n))throw TypeError("Stringified UUID is invalid");return n};let f;const d=new Uint8Array(16);function h(){if(!f){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");f=crypto.getRandomValues.bind(crypto)}return f(d)}const p={};function v(e,t,n,r,i,o,c=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(o){if(c<0||c+16>o.length)throw new RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`)}else o=new Uint8Array(16),c=0;t??=Date.now(),n??=0,r??=16383&(e[8]<<8|e[9]),i??=e.slice(10,16);const s=(1e4*(268435455&(t+=122192928e5))+n)%4294967296;o[c++]=s>>>24&255,o[c++]=s>>>16&255,o[c++]=s>>>8&255,o[c++]=255&s;const u=t/4294967296*1e4&268435455;o[c++]=u>>>8&255,o[c++]=255&u,o[c++]=u>>>24&15|16,o[c++]=u>>>16&255,o[c++]=r>>>8|128,o[c++]=255&r;for(let e=0;e<6;++e)o[c++]=i[e];return o}var m=function(e,t,n){let r;const i=e?._v6??!1;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)r=v(e.random??e.rng?.()??h(),e.msecs,e.nsecs,e.clockseq,e.node,t,n);else{const e=Date.now(),o=h();!function(e,t,n){e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=n.slice(10,16),e.node[0]|=1,e.clockseq=16383&(n[8]<<8|n[9])),e.msecs=t}(p,e,o),r=v(o,p.msecs,p.nsecs,i?void 0:p.clockseq,i?void 0:p.node,t,n)}return t??a(r)};function g(e){const t=function(e){return Uint8Array.of((15&e[6])<<4|e[7]>>4&15,(15&e[7])<<4|(240&e[4])>>4,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,(15&e[1])<<4|(240&e[2])>>4,96|15&e[2],e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}("string"==typeof e?s(e):e);return"string"==typeof e?a(t):t}function b(e){return 14+(e+64>>>9<<4)+1}function y(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function w(e,t,n,r,i,o){return y((c=y(y(t,e),y(r,o)))<<(s=i)|c>>>32-s,n);var c,s}function E(e,t,n,r,i,o,c){return w(t&n|~t&r,e,t,i,o,c)}function S(e,t,n,r,i,o,c){return w(t&r|n&~r,e,t,i,o,c)}function A(e,t,n,r,i,o,c){return w(t^n^r,e,t,i,o,c)}function _(e,t,n,r,i,o,c){return w(n^(t|~r),e,t,i,o,c)}var C=function(e){return function(e){const t=new Uint8Array(4*e.length);for(let n=0;n<4*e.length;n++)t[n]=e[n>>2]>>>n%4*8&255;return t}(function(e,t){const n=new Uint32Array(b(t)).fill(0);n.set(e),n[t>>5]|=128<<t%32,n[n.length-1]=t,e=n;let r=1732584193,i=-271733879,o=-1732584194,c=271733878;for(let t=0;t<e.length;t+=16){const n=r,s=i,u=o,a=c;r=E(r,i,o,c,e[t],7,-680876936),c=E(c,r,i,o,e[t+1],12,-389564586),o=E(o,c,r,i,e[t+2],17,606105819),i=E(i,o,c,r,e[t+3],22,-1044525330),r=E(r,i,o,c,e[t+4],7,-176418897),c=E(c,r,i,o,e[t+5],12,1200080426),o=E(o,c,r,i,e[t+6],17,-1473231341),i=E(i,o,c,r,e[t+7],22,-45705983),r=E(r,i,o,c,e[t+8],7,1770035416),c=E(c,r,i,o,e[t+9],12,-1958414417),o=E(o,c,r,i,e[t+10],17,-42063),i=E(i,o,c,r,e[t+11],22,-1990404162),r=E(r,i,o,c,e[t+12],7,1804603682),c=E(c,r,i,o,e[t+13],12,-40341101),o=E(o,c,r,i,e[t+14],17,-1502002290),i=E(i,o,c,r,e[t+15],22,1236535329),r=S(r,i,o,c,e[t+1],5,-165796510),c=S(c,r,i,o,e[t+6],9,-1069501632),o=S(o,c,r,i,e[t+11],14,643717713),i=S(i,o,c,r,e[t],20,-373897302),r=S(r,i,o,c,e[t+5],5,-701558691),c=S(c,r,i,o,e[t+10],9,38016083),o=S(o,c,r,i,e[t+15],14,-660478335),i=S(i,o,c,r,e[t+4],20,-405537848),r=S(r,i,o,c,e[t+9],5,568446438),c=S(c,r,i,o,e[t+14],9,-1019803690),o=S(o,c,r,i,e[t+3],14,-187363961),i=S(i,o,c,r,e[t+8],20,1163531501),r=S(r,i,o,c,e[t+13],5,-1444681467),c=S(c,r,i,o,e[t+2],9,-51403784),o=S(o,c,r,i,e[t+7],14,1735328473),i=S(i,o,c,r,e[t+12],20,-1926607734),r=A(r,i,o,c,e[t+5],4,-378558),c=A(c,r,i,o,e[t+8],11,-2022574463),o=A(o,c,r,i,e[t+11],16,1839030562),i=A(i,o,c,r,e[t+14],23,-35309556),r=A(r,i,o,c,e[t+1],4,-1530992060),c=A(c,r,i,o,e[t+4],11,1272893353),o=A(o,c,r,i,e[t+7],16,-155497632),i=A(i,o,c,r,e[t+10],23,-1094730640),r=A(r,i,o,c,e[t+13],4,681279174),c=A(c,r,i,o,e[t],11,-358537222),o=A(o,c,r,i,e[t+3],16,-722521979),i=A(i,o,c,r,e[t+6],23,76029189),r=A(r,i,o,c,e[t+9],4,-640364487),c=A(c,r,i,o,e[t+12],11,-421815835),o=A(o,c,r,i,e[t+15],16,530742520),i=A(i,o,c,r,e[t+2],23,-995338651),r=_(r,i,o,c,e[t],6,-198630844),c=_(c,r,i,o,e[t+7],10,1126891415),o=_(o,c,r,i,e[t+14],15,-1416354905),i=_(i,o,c,r,e[t+5],21,-57434055),r=_(r,i,o,c,e[t+12],6,1700485571),c=_(c,r,i,o,e[t+3],10,-1894986606),o=_(o,c,r,i,e[t+10],15,-1051523),i=_(i,o,c,r,e[t+1],21,-2054922799),r=_(r,i,o,c,e[t+8],6,1873313359),c=_(c,r,i,o,e[t+15],10,-30611744),o=_(o,c,r,i,e[t+6],15,-1560198380),i=_(i,o,c,r,e[t+13],21,1309151649),r=_(r,i,o,c,e[t+4],6,-145523070),c=_(c,r,i,o,e[t+11],10,-1120210379),o=_(o,c,r,i,e[t+2],15,718787259),i=_(i,o,c,r,e[t+9],21,-343485551),r=y(r,n),i=y(i,s),o=y(o,u),c=y(c,a)}return Uint32Array.of(r,i,o,c)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(b(8*e.length)).fill(0);for(let n=0;n<e.length;n++)t[n>>2]|=(255&e[n])<<n%4*8;return t}(e),8*e.length))};const T="6ba7b810-9dad-11d1-80b4-00c04fd430c8",O="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function x(e,t,n,r,i,o){const c="string"==typeof n?function(e){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=e.charCodeAt(n);return t}(n):n,u="string"==typeof r?s(r):r;if("string"==typeof r&&(r=s(r)),16!==r?.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+c.length);if(l.set(u),l.set(c,u.length),l=t(l),l[6]=15&l[6]|e,l[8]=63&l[8]|128,i){o=o||0;for(let e=0;e<16;++e)i[o+e]=l[e];return i}return a(l)}function M(e,t,n,r){return x(48,C,e,t,n,r)}M.DNS=T,M.URL=O;var I=M,R={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},N=function(e,t,n){if(R.randomUUID&&!t&&!e)return R.randomUUID();const r=(e=e||{}).random??e.rng?.()??h();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return a(r)};function P(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function D(e,t){return e<<t|e>>>32-t}var j=function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520],r=new Uint8Array(e.length+1);r.set(e),r[e.length]=128;const i=(e=r).length/4+2,o=Math.ceil(i/16),c=new Array(o);for(let t=0;t<o;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];c[t]=n}c[o-1][14]=8*(e.length-1)/Math.pow(2,32),c[o-1][14]=Math.floor(c[o-1][14]),c[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){const r=new Uint32Array(80);for(let t=0;t<16;++t)r[t]=c[e][t];for(let e=16;e<80;++e)r[e]=D(r[e-3]^r[e-8]^r[e-14]^r[e-16],1);let i=n[0],o=n[1],s=n[2],u=n[3],a=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),c=D(i,5)+P(n,o,s,u)+a+t[n]+r[e]>>>0;a=u,u=s,s=D(o,30)>>>0,o=i,i=c}n[0]=n[0]+i>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+u>>>0,n[4]=n[4]+a>>>0}return Uint8Array.of(n[0]>>24,n[0]>>16,n[0]>>8,n[0],n[1]>>24,n[1]>>16,n[1]>>8,n[1],n[2]>>24,n[2]>>16,n[2]>>8,n[2],n[3]>>24,n[3]>>16,n[3]>>8,n[3],n[4]>>24,n[4]>>16,n[4]>>8,n[4])};function L(e,t,n,r){return x(80,j,e,t,n,r)}L.DNS=T,L.URL=O;var k=L,U=function(e,t,n){e??={},n??=0;let r=m({...e,_v6:!0},new Uint8Array(16));if(r=g(r),t){for(let e=0;e<16;e++)t[n+e]=r[e];return t}return a(r)};function B(e){const t=(n="string"==typeof e?s(e):e,Uint8Array.of((15&n[3])<<4|n[4]>>4&15,(15&n[4])<<4|(240&n[5])>>4,(15&n[5])<<4|15&n[6],n[7],(15&n[1])<<4|(240&n[2])>>4,(15&n[2])<<4|(240&n[3])>>4,16|(240&n[0])>>4,(15&n[0])<<4|(240&n[1])>>4,n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]));var n;return"string"==typeof e?a(t):t}const V={};function H(e,t,n,r,i=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(r){if(i<0||i+16>r.length)throw new RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`)}else r=new Uint8Array(16),i=0;return t??=Date.now(),n??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],r[i++]=t/1099511627776&255,r[i++]=t/4294967296&255,r[i++]=t/16777216&255,r[i++]=t/65536&255,r[i++]=t/256&255,r[i++]=255&t,r[i++]=112|n>>>28&15,r[i++]=n>>>20&255,r[i++]=128|n>>>14&63,r[i++]=n>>>6&255,r[i++]=n<<2&255|3&e[10],r[i++]=e[11],r[i++]=e[12],r[i++]=e[13],r[i++]=e[14],r[i++]=e[15],r}var W=function(e,t,n){let r;if(e)r=H(e.random??e.rng?.()??h(),e.msecs,e.seq,t,n);else{const e=Date.now(),i=h();!function(e,t,n){e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++)}(V,e,i),r=H(i,V.msecs,V.seq,t,n)}return t??a(r)},$=function(e){if(!c(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},3263:function(e,t,n){"use strict";n.d(t,{Ms:function(){return m},vU:function(){return d}});var r=n(1630),i=n(5514),o=n(2561),c=n(5095),s=n(5690);const u=a("C",void 0,void 0);function a(e,t,n){return{kind:e,value:t,error:n}}var l=n(9127),f=n(5683);class d extends i.yU{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,(0,i.Uv)(e)&&e.add(this)):this.destination=y}static create(e,t,n){return new m(e,t,n)}next(e){this.isStopped?b(function(e){return a("N",e,void 0)}(e),this):this._next(e)}error(e){this.isStopped?b(a("E",void 0,e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?b(u,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const h=Function.prototype.bind;function p(e,t){return h.call(e,t)}class v{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(e){g(e)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(e){g(e)}else g(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(e){g(e)}}}class m extends d{constructor(e,t,n){let i;if(super(),(0,r.T)(e)||!e)i={next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0};else{let t;this&&o.$.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&p(e.next,t),error:e.error&&p(e.error,t),complete:e.complete&&p(e.complete,t)}):i=e}this.destination=new v(i)}}function g(e){o.$.useDeprecatedSynchronousErrorHandling?(0,f.l)(e):(0,c.m)(e)}function b(e,t){const{onStoppedNotification:n}=o.$;n&&l.f.setTimeout((()=>n(e,t)))}const y={closed:!0,next:s.l,error:function(e){throw e},complete:s.l}},3273:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(4935),i=n(1630);function o(e){return(0,r.T)((0,i.T)(e)?(t,n)=>e(t,n)<0?t:n:(e,t)=>e<t?e:t)}},3394:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(5900),i=n(7199),o=n(5547);function c(e){return e<=0?()=>r.w:(0,i.N)(((t,n)=>{let r=0;t.subscribe((0,o._)(n,(t=>{++r<=e&&(n.next(t),e<=r&&n.complete())})))}))}},3449:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.IframeCreatorService=void 0;var o=n(8430),c=n(5269),s=n(9580),u=n(3529),a=function(){function e(e){this.domMethodsService=e}return e.prototype.getIframe=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=0),this.domMethodsService.createElement("iframe",{id:e,class:e,width:"".concat(t,"px"),height:"".concat(n,"px")})},e.prototype.getIframeHTMLMarkup=function(e,t,n,r,i){return'\n <div class="tp-3ds-processing-screen">\n <div class="tp-3ds-processing-screen-wrapper '.concat(this.getWrapperClass(r),'">\n <div class="tp-3ds-processing-screen-logo">\n ').concat(this.getLogo(r),'\n </div>\n <div class="tp-3ds-processing-screen-loader"></div>\n </div>\n <form method="').concat(i||"POST",'" id="').concat(e,'" action="').concat(t,'">\n ').concat(this.getInputs(n),"\n </form>\n </div>\n ")},e.prototype.getStylesMarkup=function(){var e=this.domMethodsService.createElement("style");return e.innerHTML=u.PROCESSING_SCREEN_STYLES,e},e.prototype.getInputs=function(e){return e.map((function(e){return'<input type="hidden" name="'.concat(e.name,'" value="').concat(e.value,'">')})).join("")},e.prototype.getLogo=function(e){switch(e){case"VISA":case"ELECTRON":case"DELTA":case"VPAY":case"PURCHASING":return s.PROCESSING_SCREEN_LOGO_VISA;case"MASTERCARD":case"MASTERCARDDEBIT":case"MAESTRO":return s.PROCESSING_SCREEN_LOGO_MASTERCARD;case"AMEX":return s.CHALLENGE_SCREEN_LOGO_AMEX;default:return""}},e.prototype.getWrapperClass=function(e){switch(e){case"VISA":case"ELECTRON":case"DELTA":case"VPAY":case"PURCHASING":return"tp-3ds-processing-screen-wrapper-visa";case"MASTERCARD":case"MASTERCARDDEBIT":case"MAESTRO":return"tp-3ds-processing-screen-wrapper-mastercard";case"AMEX":return"tp-3ds-processing-screen-wrapper-amex";default:return""}},r([(0,o.Service)(),i("design:paramtypes",[c.DomMethodsService])],e)}();t.IframeCreatorService=a},3475:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(9939),i=n(9265),o=n(7199),c=n(6971),s=n(1630);function u(e,t,n=1/0){return(0,s.T)(t)?u(((n,o)=>(0,r.T)(((e,r)=>t(n,e,o,r)))((0,i.Tg)(e(n,o)))),n):("number"==typeof t&&(n=t),(0,o.N)(((t,r)=>(0,c.h)(t,r,e,n))))}},3529:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROCESSING_SCREEN_STYLES=void 0,t.PROCESSING_SCREEN_STYLES="\n.tp-3ds-processing-screen {\n position: relative;\n height: 100%;\n}\n\n.tp-3ds-processing-screen-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 50;\n}\n\n.tp-3ds-processing-screen-loader {\n box-sizing: border-box;\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n margin-top: 30px;\n border: 4px solid #e61c5b;\n border-radius: 32px;\n animation: tp-3ds-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) 0.15s infinite;\n border-color: #e61c5b transparent;\n will-change: animation;\n transform: translate(-50%) rotate(0deg);\n}\n\n.tp-3ds-processing-screen-logo {\n position: absolute;\n top: 50%;\n left: 50%;\n user-select: none;\n}\n\n.tp-3ds-processing-screen-wrapper-visa .tp-3ds-processing-screen-logo {\n margin: -100px 0 0 -56px;\n}\n\n.tp-3ds-processing-screen-wrapper-mastercard .tp-3ds-processing-screen-logo {\n margin: -123px 0 0 -79px;\n}\n\n@keyframes tp-3ds-spin {\n from {\n transform: translate(-50%) rotate(0deg);\n }\n to {\n transform: translate(-50%) rotate(360deg);\n }\n}\n"},3586:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LogType=void 0,function(e){e.ERROR="error",e.WARNING="warning",e.DEBUG="debug"}(n||(t.LogType=n={}))},3658:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.MethodURLService=void 0,n(1684);var o=n(6398),c=n(6943),s=n(8430),u=n(2733),a=n(5078),l=n(4193),f=n(7907),d=n(1274),h=n(5269),p=n(3449),v=n(3708),m=function(){function e(e,t,n,r,i){this.domMethodsService=e,this.interFrameCommunicatorService=t,this.base64TranscoderService=n,this.iframeCreatorService=r,this.configService=i,this.methodURLIframeSelector="tp-3ds-method-url-iframe",this.methodURLIframeFormSelector="tp-3ds-method-url-form"}return e.prototype.run$=function(e,t,n){var r=this;if("string"!=typeof e||0===e.length)throw new f.ValidationError("run3DSMethod$() requires transactionId");if("string"!=typeof t||0===t.length)throw new f.ValidationError("run3DSMethod$() requires notificationURL");if("string"!=typeof n||0===n.length)throw new f.ValidationError("run3DSMethod$() requires methodURL");return this.domMethodsService.addToElement(this.createIframeForMethodURL(n,e,t),this.domMethodsService.getElement("body")),this.configService.getConfig$().pipe((0,c.switchMap)((function(t){return r.interFrameCommunicatorService.receive$(d.InterFrameCommunicatorMessageType.METHOD_URL_RESPONSE).pipe((0,c.map)((function(e){return r.mapStatus(r.base64TranscoderService.decode(e))})),(0,c.timeout)({first:t.threeDSMethodTimeout,with:function(){return(0,o.of)(r.getUncompletedResult(e))}}),(0,c.tap)((function(){r.destroyView()})))})))},e.prototype.createIframeForMethodURL=function(e,t,n){var r=this,i=this.base64TranscoderService.encode({threeDSServerTransID:t,threeDSMethodNotificationURL:n}),o=this.iframeCreatorService.getIframe(this.methodURLIframeSelector),c=function(){o.contentWindow.document.body.innerHTML=r.iframeCreatorService.getIframeHTMLMarkup(r.methodURLIframeFormSelector,e,[{name:"threeDSMethodData",value:i}]),o.removeEventListener("load",c),o.contentWindow.document.getElementById(r.methodURLIframeFormSelector).submit()};return o.addEventListener("load",c),o},e.prototype.mapStatus=function(e){return{status:e.actionCode,description:e.errorDescription,transactionId:e.threeDSServerTransID}},e.prototype.destroyView=function(){this.domMethodsService.removeElement(this.domMethodsService.getElement("#".concat(this.methodURLIframeSelector)))},e.prototype.getUncompletedResult=function(e){return{status:u.ResultActionCode.UNCOMPLETED,description:"Method URL did not complete",transactionId:e}},r([(0,s.Service)(),i("design:paramtypes",[h.DomMethodsService,v.InterFrameCommunicatorService,l.Base64TranscoderService,p.IframeCreatorService,a.ConfigService])],e)}();t.MethodURLService=m},3686:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(4927),i=n(628);class o extends r.B{constructor(e=1/0,t=1/0,n=i.U){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:i,_windowTime:o}=this;t||(n.push(e),!r&&n.push(i.now()+o)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,i=r.slice();for(let t=0;t<i.length&&!e.closed;t+=n?1:2)e.next(i[t]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){const{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:r}=this,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){const e=t.now();let r=0;for(let t=1;t<n.length&&n[t]<=e;t+=2)r=t;r&&n.splice(0,r+1)}}}},3708:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.InterFrameCommunicatorService=void 0;var c=n(6398),s=n(6943),u=n(8430),a=n(109),l=function(){function e(e){this.window=e}return e.prototype.receive$=function(e){return(0,c.fromEvent)(this.window,"message").pipe((0,s.filter)((function(t){return t.data&&t.data.type===e})),(0,s.map)((function(e){return e.data.data})))},r([(0,u.Service)(),o(0,(0,u.Inject)(a.TOKEN_WINDOW)),i("design:paramtypes",[Window])],e)}();t.InterFrameCommunicatorService=l},3770:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-overlay {\n top: 0;\n left: 0;\n background-color: rgba(255, 255, 255, 0.9);\n position: fixed;\n}\n","",{version:3,sources:["webpack://./src/shared/styles/Overlay.css"],names:[],mappings:"AAAA;EACE,MAAM;EACN,OAAO;EACP,0CAA0C;EAC1C,eAAe;AACjB",sourcesContent:[".tp-3ds-overlay {\n top: 0;\n left: 0;\n background-color: rgba(255, 255, 255, 0.9);\n position: fixed;\n}\n"],sourceRoot:""}]),t.A=c},3879:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(9939);const{isArray:i}=Array;function o(e){return(0,r.T)((t=>function(e,t){return i(t)?e(...t):e(t)}(e,t)))}},3892:function(e,t,n){"use strict";n.d(t,{s:function(){return f}});var r=n(4927),i=n(2213),o=n(5514),c=n(7199),s=n(5547),u=n(9307),a=n(6783),l=n(8114);function f(e,...t){var n,f;const d=null!==(n=(0,a.lI)(t))&&void 0!==n?n:i.E,h=null!==(f=t[0])&&void 0!==f?f:null,p=t[1]||1/0;return(0,c.N)(((t,n)=>{let i=[],c=!1;const a=e=>{const{window:t,subs:n}=e;t.complete(),n.unsubscribe(),(0,u.o)(i,e),c&&f()},f=()=>{if(i){const t=new o.yU;n.add(t);const c=new r.B,s={window:c,subs:t,seen:0};i.push(s),n.next(c.asObservable()),(0,l.N)(t,d,(()=>a(s)),e)}};null!==h&&h>=0?(0,l.N)(n,d,f,h,!0):c=!0,f();const v=e=>i.slice().forEach(e),m=e=>{v((({window:t})=>e(t))),e(n),n.unsubscribe()};return t.subscribe((0,s._)(n,(e=>{v((t=>{t.window.next(e),p<=++t.seen&&a(t)}))}),(()=>m((e=>e.complete()))),(e=>m((t=>t.error(e)))))),()=>{i=null}}))}},3895:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(7199),i=n(5547),o=n(2092),c=n(8496),s=n(9265);function u(e=1/0){let t;t=e&&"object"==typeof e?e:{count:e};const{count:n=1/0,delay:u,resetOnSuccess:a=!1}=t;return n<=0?o.D:(0,r.N)(((e,t)=>{let r,o=0;const l=()=>{let f=!1;r=e.subscribe((0,i._)(t,(e=>{a&&(o=0),t.next(e)}),void 0,(e=>{if(o++<n){const n=()=>{r?(r.unsubscribe(),r=null,l()):f=!0};if(null!=u){const r="number"==typeof u?(0,c.O)(u):(0,s.Tg)(u(e,o)),a=(0,i._)(t,(()=>{a.unsubscribe(),n()}),(()=>{t.complete()}));r.subscribe(a)}else n()}else t.error(e)}))),f&&(r.unsubscribe(),r=null,l())};l()}))}},3905:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(1630);function i(e){return(0,r.T)(null==e?void 0:e.then)}},3937:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(7555),i=n(9251),o=n(8014),c=n(81),s=n(7166),u=n(2092);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,i.p)(((t,n)=>e(t,n,a))):u.D,(0,o.o)(1),n?(0,s.U)(t):(0,c.v)((()=>new r.G)))}},3962:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},4157:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var r=n(7555),i=n(9765),o=n(7371),c=n(7199),s=n(5547);function u(e){return(0,c.N)(((t,n)=>{let c,u=!1,a=!1,l=0;t.subscribe((0,s._)(n,(r=>{a=!0,e&&!e(r,l++,t)||(u&&n.error(new i.I("Too many matching values")),u=!0,c=r)}),(()=>{u?(n.next(c),n.complete()):n.error(a?new o.m("No matching values"):new r.G)})))}))}},4193:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Base64TranscoderService=void 0;var c=n(8430),s=n(109),u=function(){function e(e){this.window=e}return e.prototype.encode=function(e){return this.window.btoa(JSON.stringify(e))},e.prototype.encodeString=function(e){return this.window.btoa(e)},e.prototype.decode=function(e){return JSON.parse(this.window.atob(e))},r([(0,c.Service)(),o(0,(0,c.Inject)(s.TOKEN_WINDOW)),i("design:paramtypes",[Window])],e)}();t.Base64TranscoderService=u},4337:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(5514);class i extends r.yU{constructor(e,t){super()}schedule(e,t=0){return this}}const o={setInterval(e,t,...n){const{delegate:r}=o;return(null==r?void 0:r.setInterval)?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=o;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var c=n(9307);class s extends i{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return o.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,(0,c.o)(n,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}},4361:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(1630);function i(e){return e&&(0,r.T)(e.schedule)}},4490:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r=n(3263),i=n(5514),o=n(1211),c=n(5678),s=n(2561),u=n(1630),a=n(5683);class l{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new l;return t.source=this,t.operator=e,t}subscribe(e,t,n){const o=(c=e)&&c instanceof r.vU||function(e){return e&&(0,u.T)(e.next)&&(0,u.T)(e.error)&&(0,u.T)(e.complete)}(c)&&(0,i.Uv)(c)?e:new r.Ms(e,t,n);var c;return(0,a.Y)((()=>{const{operator:e,source:t}=this;o.add(e?e.call(o,t):t?this._subscribe(o):this._trySubscribe(o))})),o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=f(t))(((t,n)=>{const i=new r.Ms({next:t=>{try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});this.subscribe(i)}))}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[o.s](){return this}pipe(...e){return(0,c.m)(e)(this)}toPromise(e){return new(e=f(e))(((e,t)=>{let n;this.subscribe((e=>n=e),(e=>t(e)),(()=>e(n)))}))}}function f(e){var t;return null!==(t=null!=e?e:s.$.Promise)&&void 0!==t?t:Promise}l.create=e=>new l(e)},4543:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(5810),i=n(9458);function o(e){return(0,i.q)(r.y,e)}},4549:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(7199),i=n(5386),o=n(6783),c=n(4942);function s(...e){const t=(0,o.lI)(e),n=(0,o.R0)(e,1/0);return(0,r.N)(((r,o)=>{(0,i.U)(n)((0,c.H)([r,...e],t)).subscribe(o)}))}},4607:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.PopupViewService=void 0,n(7831);var c=n(6398),s=n(8430),u=n(109),a=n(5269),l=function(){function e(e,t){this.domMethodsService=e,this.document=t,this.cancelEmitter$=new c.Subject,this.classNames={mainContainer:"tp-3ds-popup-view",wrapper:"tp-3ds-popup-view-wrapper",overlay:"tp-3ds-overlay",popupOverlay:"tp-3ds-popup-view-overlay",header:"tp-3ds-popup-view-header",headerButton:"tp-3ds-popup-view-header-button"}}return e.prototype.init=function(e,t){var n=this;this.destroyPopupView(),this.initializePopupView(e,t),this.cancelEmitter$.subscribe((function(){n.destroyPopupView()}))},e.prototype.cancelled$=function(){return this.cancelEmitter$.asObservable()},e.prototype.close=function(){this.destroyPopupView()},e.prototype.cancel=function(){this.cancelEmitter$.next(!0)},e.prototype.initializePopupView=function(e,t){var n=this.domMethodsService.createElement("div",{class:"".concat(this.classNames.overlay," ").concat(this.classNames.mainContainer)}),r=this.domMethodsService.createElement("div",{class:this.classNames.wrapper}),i=this.domMethodsService.createElement("div",{class:this.classNames.popupOverlay}),o=this.createHeaderElement(t);this.domMethodsService.addToElement(e,r),this.domMethodsService.addToElement(o,i),this.domMethodsService.addToElement(r,i),this.domMethodsService.addToElement(i,n),this.domMethodsService.addToElement(n,this.document.body)},e.prototype.createHeaderElement=function(e){var t=this.domMethodsService.createElement("div",{class:this.classNames.header}),n=this.domMethodsService.createElement("button",{id:this.classNames.headerButton,class:this.classNames.headerButton});return n.textContent=e.cancel,this.domMethodsService.addToElement(n,t),this.addCancelListener(n),t},e.prototype.addCancelListener=function(e){var t=this;e.addEventListener("click",(function(){t.cancel()}))},e.prototype.destroyPopupView=function(){var e=this.domMethodsService.getElement(".".concat(this.classNames.mainContainer));e&&this.domMethodsService.removeElement(e)},r([(0,s.Service)(),o(1,(0,s.Inject)(u.TOKEN_DOCUMENT)),i("design:paramtypes",[a.DomMethodsService,Document])],e)}();t.PopupViewService=l},4701:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});const r=(0,n(4772).L)((e=>function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}))},4761:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(4927);class i extends r.B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}},4772:function(e,t,n){"use strict";function r(e){const t=e((e=>{Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:function(){return r}})},4832:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(7199),i=n(5547);function o(){return(0,r.N)(((e,t)=>{e.subscribe((0,i._)(t,(()=>{t.next(!1),t.complete()}),(()=>{t.next(!0),t.complete()})))}))}},4887:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThreeDSecureFactory=void 0;var r=n(8430),i=n(6279),o=function(){function e(){}return e.prototype.create=function(e){return void 0===e&&(e="fdc93384-035e-4a23-b799-eeb4604ecd3f"),r.Container.of(e).get(i.ThreeDSecure)},e}();t.ThreeDSecureFactory=o},4927:function(e,t,n){"use strict";n.d(t,{B:function(){return u}});var r=n(4490),i=n(5514),o=n(6290),c=n(9307),s=n(5683);class u extends r.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new a(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new o.P}next(e){(0,s.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}}))}error(e){(0,s.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}}))}complete(){(0,s.Y)((()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}}))}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:n,observers:r}=this;return t||n?i.Kn:(this.currentObservers=null,r.push(e),new i.yU((()=>{this.currentObservers=null,(0,c.o)(r,e)})))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:n,isStopped:r}=this;t?e.error(n):r&&e.complete()}asObservable(){const e=new r.c;return e.source=this,e}}u.create=(e,t)=>new a(e,t);class a extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)}error(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:i.Kn}}},4935:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7244),i=n(7199);function o(e,t){return(0,i.N)((0,r.S)(e,t,arguments.length>=2,!1,!0))}},4942:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(6459),i=n(9265);function o(e,t){return t?(0,r.c)(e,t):(0,i.Tg)(e)}},5016:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var r=n(7199),i=n(5547),o=n(9265),c=n(5690);function s(e){return(0,r.N)(((t,n)=>{(0,o.Tg)(e).subscribe((0,i._)(n,(()=>n.complete()),c.l)),!n.closed&&t.subscribe(n)}))}},5021:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(2213),i=n(7199),o=n(5547);function c(e=r.E){return(0,i.N)(((t,n)=>{let r=e.now();t.subscribe((0,o._)(n,(t=>{const i=e.now(),o=i-r;r=i,n.next(new s(t,o))})))}))}class s{constructor(e,t){this.value=e,this.interval=t}}},5056:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},c=[],s=0;s<e.length;s++){var u=e[s],a=r.base?u[0]+r.base:u[0],l=o[a]||0,f="".concat(a," ").concat(l);o[a]=l+1;var d=n(f),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var p=i(h,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:p,references:1})}c.push(f)}return c}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var c=0;c<o.length;c++){var s=n(o[c]);t[s].references--}for(var u=r(e,i),a=0;a<o.length;a++){var l=n(o[a]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=u}}},5078:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigService=void 0;var c=n(6398),s=n(8430),u=n(7907),a=n(8206),l=n(7753),f=n(5269),d=n(9912),h=function(){function e(e){this.domMethodsService=e,this.translationsWhitelist=["cancel"],this.config$=new c.BehaviorSubject({challengeDisplayMode:d.ChallengeDisplayMode.POPUP,loggingLevel:a.LoggingLevel.ERROR,translations:{cancel:"X"},processingScreenMode:l.ProcessingScreenMode.OVERLAY,threeDSMethodTimeout:1e4})}return e.prototype.getConfig$=function(){return this.config$.asObservable()},e.prototype.setConfig=function(e){var t=r(r({},this.config$.value),e);this.validateConfig(t),this.config$.next(t)},e.prototype.validateConfig=function(e){this.validateAgainstUnknownProperties(e),this.validateChallengeDisplayMode(e),this.validateLoggingLevel(e),this.validateTranslations(e),this.validateProcessingScreen(e),this.validateThreeDSMethodTimeout(e)},e.prototype.validateAgainstUnknownProperties=function(e){var t=["challengeDisplayMode","challengeDisplayInlineTargetElementId","loggingLevel","translations","processingScreenMode","processingScreenWrapperElementId","threeDSMethodTimeout"],n=Object.keys(e).filter((function(e){return!t.includes(e)}));if(n.length>0)throw new u.ValidationError("config contains unknown properties: ".concat(n.join(", ")))},e.prototype.validateChallengeDisplayMode=function(e){if(!Object.values(d.ChallengeDisplayMode).includes(e.challengeDisplayMode))throw new u.ValidationError("config.challengeDisplayMode must be either ".concat(d.ChallengeDisplayMode.POPUP," or ").concat(d.ChallengeDisplayMode.INLINE));if(e.challengeDisplayMode===d.ChallengeDisplayMode.INLINE&&!this.domMethodsService.getElement("#".concat(e.challengeDisplayInlineTargetElementId)))throw new u.ValidationError("config.challengeDisplayInlineTargetElementId must exist when using display mode ".concat(d.ChallengeDisplayMode.INLINE))},e.prototype.validateLoggingLevel=function(e){if(!Object.values(a.LoggingLevel).includes(e.loggingLevel))throw new u.ValidationError("config.loggingLevel must be: ".concat(a.LoggingLevel.ERROR," or ").concat(a.LoggingLevel.ALL))},e.prototype.validateTranslations=function(e){var t=this;if(!e.translations)throw new u.ValidationError("config.translations must be an object");var n=Object.keys(e.translations).filter((function(e){return!t.translationsWhitelist.includes(e)}));if(n.length>0)throw new u.ValidationError("config.translations contains unknown keys: ".concat(n.join(","),". Whitelisted keys are: ").concat(this.translationsWhitelist.join(",")))},e.prototype.validateProcessingScreen=function(e){if(!Object.values(l.ProcessingScreenMode).includes(e.processingScreenMode))throw new u.ValidationError("config.processingScreenMode must be either ".concat(l.ProcessingScreenMode.OVERLAY," or ").concat(l.ProcessingScreenMode.ATTACH_TO_ELEMENT));if(e.processingScreenMode===l.ProcessingScreenMode.ATTACH_TO_ELEMENT&&!this.domMethodsService.getElement("#".concat(e.processingScreenWrapperElementId)))throw new u.ValidationError("config.processingScreenWrapperElementId must exist when using processing screen mode ".concat(l.ProcessingScreenMode.ATTACH_TO_ELEMENT))},e.prototype.validateThreeDSMethodTimeout=function(e){if(!("number"==typeof e.threeDSMethodTimeout&&e.threeDSMethodTimeout>0&&e.threeDSMethodTimeout<=1e4))throw new u.ValidationError("config.threeDSMethodTimeout must be a number in range from 1 to 10000 milliseconds")},i([(0,s.Service)(),o("design:paramtypes",[f.DomMethodsService])],e)}();t.ConfigService=h},5095:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(2561),i=n(9127);function o(e){i.f.setTimeout((()=>{const{onUnhandledError:t}=r.$;if(!t)throw e;t(e)}))}},5186:function(e,t,n){"use strict";n.d(t,{G:function(){return u}});var r=n(4490),i=n(5514),o=n(8141),c=n(5547),s=n(7199);class u extends r.c{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,(0,s.S)(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,null==e||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new i.yU;const t=this.getSubject();e.add(this.source.subscribe((0,c._)(t,void 0,(()=>{this._teardown(),t.complete()}),(e=>{this._teardown(),t.error(e)}),(()=>this._teardown())))),e.closed&&(this._connection=null,e=i.yU.EMPTY)}return e}refCount(){return(0,o.B)()(this)}}},5228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(8630);var r=n(8430),i=n(109);r.Container.set({id:i.TOKEN_DOCUMENT,factory:function(){return document}}),r.Container.set({id:i.TOKEN_WINDOW,factory:function(){return window}})},5234:function(e,t,n){"use strict";n.d(t,{W:function(){return c}});var r=n(9265),i=n(5547),o=n(7199);function c(e){return(0,o.N)(((t,n)=>{let o,s=null,u=!1;s=t.subscribe((0,i._)(n,void 0,void 0,(i=>{o=(0,r.Tg)(e(i,c(e)(t))),s?(s.unsubscribe(),s=null,o.subscribe(n)):u=!0}))),u&&(s.unsubscribe(),s=null,o.subscribe(n))}))}},5237:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(9939),i=n(9265),o=n(7199),c=n(5547);function s(e,t){return t?n=>n.pipe(s(((n,o)=>(0,i.Tg)(e(n,o)).pipe((0,r.T)(((e,r)=>t(n,e,o,r))))))):(0,o.N)(((t,n)=>{let r=0,o=null,s=!1;t.subscribe((0,c._)(n,(t=>{o||(o=(0,c._)(n,void 0,(()=>{o=null,s&&n.complete()})),(0,i.Tg)(e(t,r++)).subscribe(o))}),(()=>{s=!0,!o&&n.complete()})))}))}},5264:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(7199),i=n(5547),o=n(9307);function c(e,t=null){return t=null!=t?t:e,(0,r.N)(((n,r)=>{let c=[],s=0;n.subscribe((0,i._)(r,(n=>{let i=null;s++%t===0&&c.push([]);for(const t of c)t.push(n),e<=t.length&&(i=null!=i?i:[],i.push(t));if(i)for(const e of i)(0,o.o)(c,e),r.next(e)}),(()=>{for(const e of c)r.next(e);r.complete()}),void 0,(()=>{c=null})))}))}},5269:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomMethodsService=void 0;var c=n(8430),s=n(109),u=n(2744),a=function(){function e(e,t){this.document=e,this.loggerService=t}return e.prototype.getElement=function(e){return this.document.querySelector(e)||null},e.prototype.createElement=function(e,t){var n=this.document.createElement(e);return t&&Object.entries(t).forEach((function(e){var t=e[0],r=e[1];n.setAttribute(t,r)})),n},e.prototype.addToElement=function(e,t){try{if(!e||!t)throw new Error("Cannot find element(s): element: ".concat(JSON.stringify(e),", targetElement: ").concat(JSON.stringify(t)));t.appendChild(e)}catch(e){throw this.loggerService.error(e),new Error(e)}},e.prototype.removeElement=function(e){try{if(!e)throw new Error("Cannot find element: ".concat(JSON.stringify(e)));e.remove()}catch(e){throw this.loggerService.error(e),new Error(e)}},e.prototype.addClassesToElement=function(e,t){try{if(!e)throw new Error("Cannot find element: ".concat(JSON.stringify(e)));t.forEach((function(t){e.classList.add(t)}))}catch(e){throw this.loggerService.error(e),new Error(e)}},e.prototype.removeClassesFromElement=function(e,t){try{if(!e)throw new Error("Cannot find element: ".concat(JSON.stringify(e)));t.forEach((function(t){e.classList.remove(t)}))}catch(e){throw this.loggerService.error(e),new Error(e)}},r([(0,c.Service)(),o(0,(0,c.Inject)(s.TOKEN_DOCUMENT)),i("design:paramtypes",[Document,u.LoggerService])],e)}();t.DomMethodsService=a},5350:function(e,t,n){"use strict";n.d(t,{w:function(){return c}});var r=n(7199),i=n(5547),o=n(5690);function c(){return(0,r.N)(((e,t)=>{e.subscribe((0,i._)(t,o.l))}))}},5372:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(9878);class i extends r._{constructor(e,t=r._.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},5382:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(9115),i=n(5186);function o(){return e=>{const t=new r.h;return new i.G(e,(()=>t))}}},5386:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(3475),i=n(2092);function o(e=1/0){return(0,r.Z)(i.D,e)}},5433:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(4549);function i(...e){return(0,r.h)(...e)}},5441:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.InlineViewService=void 0,n(9717);var o=n(6398),c=n(8430),s=n(5269),u=function(){function e(e){this.domMethodsService=e,this.cancelState$=new o.Subject,this.classNames={mainContainer:"tp-3ds-inline-view",wrapper:"tp-3ds-inline-view-wrapper",header:"tp-3ds-inline-view-header",headerButton:"tp-3ds-inline-view-header-button"}}return e.prototype.init=function(e,t,n){var r=this;this.destroyInlineView(),this.initializeInlineView(e,t,n),this.cancelState$.subscribe((function(){r.destroyInlineView()}))},e.prototype.cancelled$=function(){return this.cancelState$.asObservable()},e.prototype.close=function(){this.destroyInlineView()},e.prototype.cancel=function(){this.cancelState$.next(!0)},e.prototype.initializeInlineView=function(e,t,n){var r=this.domMethodsService.createElement("div",{class:this.classNames.mainContainer}),i=this.domMethodsService.createElement("div",{class:this.classNames.wrapper}),o=this.createHeaderElement(n);this.domMethodsService.addToElement(e,i),this.domMethodsService.addToElement(o,r),this.domMethodsService.addToElement(i,r),this.domMethodsService.addToElement(r,t)},e.prototype.createHeaderElement=function(e){var t=this,n=this.domMethodsService.createElement("div",{class:this.classNames.header}),r=this.domMethodsService.createElement("button",{id:this.classNames.headerButton,class:this.classNames.headerButton});return r.textContent=e.cancel,this.domMethodsService.addToElement(r,n),r.addEventListener("click",(function(){t.cancel()})),n},e.prototype.destroyInlineView=function(){var e=this.domMethodsService.getElement(".".concat(this.classNames.mainContainer));e&&this.domMethodsService.removeElement(e)},r([(0,c.Service)(),i("design:paramtypes",[s.DomMethodsService])],e)}();t.InlineViewService=u},5454:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(7051),i=n(1630);function o(e,t){return(0,i.T)(t)?(0,r.n)((()=>e),t):(0,r.n)((()=>e))}},5502:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n(7199),i=n(5690),o=n(5547),c=n(9265);function s(e){return(0,r.N)(((t,n)=>{let r=!1,s=null,u=null;const a=()=>{if(null==u||u.unsubscribe(),u=null,r){r=!1;const e=s;s=null,n.next(e)}};t.subscribe((0,o._)(n,(t=>{null==u||u.unsubscribe(),r=!0,s=t,u=(0,o._)(n,a,i.l),(0,c.Tg)(e(t)).subscribe(u)}),(()=>{a(),n.complete()}),void 0,(()=>{s=u=null})))}))}},5514:function(e,t,n){"use strict";n.d(t,{Kn:function(){return s},Uv:function(){return u},yU:function(){return c}});var r=n(1630),i=n(5944),o=n(9307);class c{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const e of t)e.remove(this);else t.remove(this);const{initialTeardown:n}=this;if((0,r.T)(n))try{n()}catch(t){e=t instanceof i.Z?t.errors:[t]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const t of o)try{a(t)}catch(t){e=null!=e?e:[],t instanceof i.Z?e=[...e,...t.errors]:e.push(t)}}if(e)throw new i.Z(e)}}add(e){var t;if(e&&e!==this)if(this.closed)a(e);else{if(e instanceof c){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&(0,o.o)(t,e)}remove(e){const{_finalizers:t}=this;t&&(0,o.o)(t,e),e instanceof c&&e._removeParent(this)}}c.EMPTY=(()=>{const e=new c;return e.closed=!0,e})();const s=c.EMPTY;function u(e){return e instanceof c||e&&"closed"in e&&(0,r.T)(e.remove)&&(0,r.T)(e.add)&&(0,r.T)(e.unsubscribe)}function a(e){(0,r.T)(e)?e():e.unsubscribe()}},5547:function(e,t,n){"use strict";n.d(t,{H:function(){return o},_:function(){return i}});var r=n(3263);function i(e,t,n,r,i){return new o(e,t,n,r,i)}class o extends r.vU{constructor(e,t,n,r,i,o){super(e),this.onFinalize=i,this.shouldUnsubscribe=o,this._next=t?function(n){try{t(n)}catch(t){e.error(t)}}:super._next,this._error=r?function(t){try{r(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}},5611:function(e,t,n){"use strict";n.d(t,{P:function(){return h},z:function(){return d}});var r=n(4490),i=n(468),o=n(4942),c=n(2092),s=n(3879),u=n(6783),a=n(129),l=n(5547),f=n(8114);function d(...e){const t=(0,u.lI)(e),n=(0,u.ms)(e),{args:l,keys:f}=(0,i.D)(e);if(0===l.length)return(0,o.H)([],t);const d=new r.c(h(l,t,f?e=>(0,a.e)(f,e):c.D));return n?d.pipe((0,s.I)(n)):d}function h(e,t,n=c.D){return r=>{p(t,(()=>{const{length:i}=e,c=new Array(i);let s=i,u=i;for(let a=0;a<i;a++)p(t,(()=>{const i=(0,o.H)(e[a],t);let f=!1;i.subscribe((0,l._)(r,(e=>{c[a]=e,f||(f=!0,u--),u||r.next(n(c.slice()))}),(()=>{--s||r.complete()})))}),r)}),r)}}function p(e,t,n){e?(0,f.N)(n,e,t):t()}},5664:function(e,t,n){"use strict";n.d(t,{of:function(){return o}});var r=n(6783),i=n(4942);function o(...e){const t=(0,r.lI)(e);return(0,i.H)(e,t)}},5678:function(e,t,n){"use strict";n.d(t,{F:function(){return i},m:function(){return o}});var r=n(2092);function i(...e){return o(e)}function o(e){return 0===e.length?r.D:1===e.length?e[0]:function(t){return e.reduce(((e,t)=>t(e)),t)}}},5683:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},l:function(){return c}});var r=n(2561);let i=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){const t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){const{errorThrown:e,error:t}=i;if(i=null,e)throw t}}else e()}function c(e){r.$.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},5690:function(e,t,n){"use strict";function r(){}n.d(t,{l:function(){return r}})},5699:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(7199),i=n(5690),o=n(5547),c=n(9265);function s(e){return(0,r.N)(((t,n)=>{let r=[];return t.subscribe((0,o._)(n,(e=>r.push(e)),(()=>{n.next(r),n.complete()}))),(0,c.Tg)(e).subscribe((0,o._)(n,(()=>{const e=r;r=[],n.next(e)}),i.l)),()=>{r=null}}))}},5728:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(2957);function i(e,t){return(0,r.F)(((n,r)=>t?t(n[e],r[e]):n[e]===r[e]))}},5737:function(e,t,n){"use strict";function r(e,t){return(n,r)=>!e.call(t,n,r)}n.d(t,{A:function(){return r}})},5763:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(3e3),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},5810:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(4490),i=n(9265),o=n(3075),c=n(5900),s=n(5547),u=n(6783);function a(...e){const t=(0,u.ms)(e),n=(0,o.K)(e);return n.length?new r.c((e=>{let r=n.map((()=>[])),o=n.map((()=>!1));e.add((()=>{r=o=null}));for(let c=0;!e.closed&&c<n.length;c++)(0,i.Tg)(n[c]).subscribe((0,s._)(e,(n=>{if(r[c].push(n),r.every((e=>e.length))){const n=r.map((e=>e.shift()));e.next(t?t(...n):n),r.some(((e,t)=>!e.length&&o[t]))&&e.complete()}}),(()=>{o[c]=!0,!r[c].length&&e.complete()})));return()=>{r=o=null}})):c.w}},5867:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var r=n(7199),i=n(5690),o=n(5547),c=n(9265);function s(e){return(0,r.N)(((t,n)=>{let r=null,s=null;const u=()=>{null==s||s.unsubscribe();const t=r;r=[],t&&n.next(t),(0,c.Tg)(e()).subscribe(s=(0,o._)(n,u,i.l))};u(),t.subscribe((0,o._)(n,(e=>null==r?void 0:r.push(e)),(()=>{r&&n.next(r),n.complete()}),void 0,(()=>r=s=null)))}))}},5900:function(e,t,n){"use strict";n.d(t,{I:function(){return o},w:function(){return i}});var r=n(4490);const i=new r.c((e=>e.complete()));function o(e){return e?function(e){return new r.c((t=>e.schedule((()=>t.complete()))))}(e):i}},5930:function(){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach((function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}))},5944:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});const r=(0,n(4772).L)((e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map(((e,t)=>`${t+1}) ${e.toString()}`)).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t}))},5972:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(8597),i=n(5664);function o(...e){return t=>(0,r.x)(t,(0,i.of)(...e))}},6010:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(4935);function i(e){return(0,r.T)(((t,n,r)=>!e||e(n,r)?t+1:t),0)}},6057:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(7199),i=n(6971);function o(e,t=1/0,n){return t=(t||0)<1?1/0:t,(0,r.N)(((r,o)=>(0,i.h)(r,o,e,t,void 0,!0,n)))}},6084:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(4490),i=n(2656),o=n(1630),c=n(8114);function s(e,t){return new r.c((n=>{let r;return(0,c.N)(n,t,(()=>{r=e[i.l](),(0,c.N)(n,t,(()=>{let e,t;try{({value:e,done:t}=r.next())}catch(e){return void n.error(e)}t?n.complete():n.next(e)}),0,!0)})),()=>(0,o.T)(null==r?void 0:r.return)&&r.return()}))}},6124:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(5611),i=n(9458);function o(e){return(0,i.q)(r.z,e)}},6199:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(7199);function i(e){return(0,r.N)(((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}}))}},6279:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function c(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,s)}u((r=r.apply(e,t||[])).next())}))},c=this&&this.__generator||function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=s(0),c.throw=s(1),c.return=s(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;c&&(c=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ThreeDSecure=void 0;var s=n(6398),u=n(6943),a=n(8430),l=n(5078),f=n(9693),d=n(6795),h=n(2744),p=n(2059),v=n(9445),m=n(3658),g=n(8206),b=function(){function e(e,t,n,r,i,o,c){this.loggerService=e,this.configService=t,this.browserData=n,this.challengeService=r,this.methodURLService=i,this.sessionIdService=o,this.processingScreenService=c,this.logs$=this.loggerService.logs$,this.addProcessingScreenDuration=function(e){return new Promise((function(t){setTimeout((function(){t("duration")}),e+2e3||2e3)}))}}return e.prototype.init$=function(e){try{return this.loggerService.init(e.loggingLevel||g.LoggingLevel.ERROR),this.configService.setConfig(e),this.sessionIdService.createId(),this.configService.getConfig$().pipe((0,u.first)())}catch(e){return this.loggerService.error(e),(0,s.throwError)(this.loggerService.getErrorMessage("Initialization failed\n\n".concat(JSON.stringify(e))))}},e.prototype.run3DSMethod$=function(e,t,n){try{return this.methodURLService.run$(e,t,n).pipe((0,u.first)())}catch(e){return this.loggerService.error(e),(0,s.throwError)(this.loggerService.getErrorMessage("3DS Method failed\n\n".concat(JSON.stringify(e))))}},e.prototype.doChallenge$=function(e,t,n,r,i,o){try{return this.challengeService.run$(e,t,n,r,i,o).pipe((0,u.first)())}catch(e){return this.loggerService.error(e),(0,s.throwError)(this.loggerService.getErrorMessage("3DS Challenge failed\n\n".concat(JSON.stringify(e))))}},e.prototype.getBrowserData$=function(e,t){try{return this.browserData.getData$(e,t)}catch(e){throw this.loggerService.error(e),new Error("getBrowserData() failed.\n\n".concat(JSON.stringify(e)))}},e.prototype.showProcessingScreen=function(e){return o(this,arguments,void 0,(function(e,t){var n;return void 0===t&&(t=0),c(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),this.processingScreenService.show(e),[4,this.addProcessingScreenDuration(t)];case 1:return r.sent(),[3,3];case 2:throw n=r.sent(),this.loggerService.error(n),new Error(this.loggerService.getErrorMessage("Show Processing Screen failed\n\n".concat(JSON.stringify(n))));case 3:return[2]}}))}))},e.prototype.hideProcessingScreen=function(){try{this.processingScreenService.hide()}catch(e){throw this.loggerService.error(e),new Error(this.loggerService.getErrorMessage("Hide Processing Screen failed\n\n".concat(JSON.stringify(e))))}},e.prototype.cancelChallenge$=function(){try{return this.challengeService.cancelChallenge$()}catch(e){throw this.loggerService.error(e),new Error(this.loggerService.getErrorMessage("Cancel process has failed\n\n".concat(JSON.stringify(e))))}},r([(0,a.Service)(),i("design:paramtypes",[h.LoggerService,l.ConfigService,d.BrowserDataService,v.ChallengeService,m.MethodURLService,f.SessionIdService,p.ProcessingScreenService])],e)}();t.ThreeDSecure=b},6290:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});const r=(0,n(4772).L)((e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}))},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var c={};if(r)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(c[u]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);r&&c[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},6388:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var r=n(2213),i=n(7793),o=n(8496);function c(e,t=r.E,n){const c=(0,o.O)(e,t);return(0,i.n)((()=>c),n)}},6398:function(e,t,n){"use strict";n.r(t),n.d(t,{ArgumentOutOfRangeError:function(){return X.k},AsyncSubject:function(){return v.h},BehaviorSubject:function(){return h.t},ConnectableObservable:function(){return i.G},EMPTY:function(){return ge.w},EmptyError:function(){return K.G},NEVER:function(){return Ue},NotFoundError:function(){return Q.m},Notification:function(){return $.Eg},NotificationKind:function(){return $.Ij},ObjectUnsubscribedError:function(){return ee.P},Observable:function(){return r.c},ReplaySubject:function(){return p.m},Scheduler:function(){return H._},SequenceError:function(){return te.I},Subject:function(){return d.B},Subscriber:function(){return W.vU},Subscription:function(){return s.yU},TimeoutError:function(){return ne.M},UnsubscriptionError:function(){return re.Z},VirtualAction:function(){return V},VirtualTimeScheduler:function(){return B},animationFrame:function(){return U},animationFrameScheduler:function(){return k},animationFrames:function(){return a},asap:function(){return M},asapScheduler:function(){return x},async:function(){return I.b},asyncScheduler:function(){return I.E},audit:function(){return et.s},auditTime:function(){return tt.Z},bindCallback:function(){return ae},bindNodeCallback:function(){return le},buffer:function(){return nt.r},bufferCount:function(){return rt.S},bufferTime:function(){return it.w},bufferToggle:function(){return ot.H},bufferWhen:function(){return ct.n},catchError:function(){return st.W},combineAll:function(){return ut.p},combineLatest:function(){return fe.z},combineLatestAll:function(){return at.A},combineLatestWith:function(){return lt.v},concat:function(){return de.x},concatAll:function(){return ft.K},concatMap:function(){return dt.H},concatMapTo:function(){return ht.S},concatWith:function(){return pt.$},config:function(){return Qe.$},connect:function(){return vt.N},connectable:function(){return me},count:function(){return mt.U},debounce:function(){return gt.s},debounceTime:function(){return bt.B},defaultIfEmpty:function(){return yt.U},defer:function(){return pe},delay:function(){return wt.c},delayWhen:function(){return Et.o},dematerialize:function(){return St.Z},distinct:function(){return At.d},distinctUntilChanged:function(){return _t.F},distinctUntilKeyChanged:function(){return Ct.w},elementAt:function(){return Tt.s},empty:function(){return ge.I},endWith:function(){return Ot.q},every:function(){return xt.S},exhaust:function(){return Mt.B},exhaustAll:function(){return It.C},exhaustMap:function(){return Rt.p},expand:function(){return Nt.f},filter:function(){return ze.p},finalize:function(){return Pt.j},find:function(){return Dt.I},findIndex:function(){return jt.S},first:function(){return Lt.$},firstValueFrom:function(){return J},flatMap:function(){return Ft.q},forkJoin:function(){return Se},from:function(){return Ae.H},fromEvent:function(){return Me},fromEventPattern:function(){return Re},generate:function(){return Pe},groupBy:function(){return kt.$},identity:function(){return q.D},ignoreElements:function(){return Ut.w},iif:function(){return De},interval:function(){return je.Y},isEmpty:function(){return Bt.I},isObservable:function(){return G},last:function(){return Vt.H},lastValueFrom:function(){return Y},map:function(){return Ht.T},mapTo:function(){return Wt.u},materialize:function(){return $t.O},max:function(){return zt.T},merge:function(){return ke},mergeAll:function(){return Le.U},mergeMap:function(){return _e.Z},mergeMapTo:function(){return qt.C},mergeScan:function(){return Zt.i},mergeWith:function(){return Gt.X},min:function(){return Kt.j},multicast:function(){return Yt.f},never:function(){return Be},noop:function(){return F.l},observable:function(){return o.s},observeOn:function(){return se.Q},of:function(){return Ve.of},onErrorResumeNext:function(){return He.g},onErrorResumeNextWith:function(){return Jt.w},pairs:function(){return We},pairwise:function(){return Xt.J},partition:function(){return Fe},pipe:function(){return z.F},pluck:function(){return Qt.E},publish:function(){return en.m},publishBehavior:function(){return tn.K},publishLast:function(){return nn.k},publishReplay:function(){return rn.H},queue:function(){return D},queueScheduler:function(){return P},race:function(){return qe.O},raceWith:function(){return on.w},range:function(){return Ze},reduce:function(){return cn.T},refCount:function(){return fn.B},repeat:function(){return sn.u},repeatWhen:function(){return un.Y},retry:function(){return an.L},retryWhen:function(){return ln.l},sample:function(){return dn.X},sampleTime:function(){return hn.q},scan:function(){return pn.S},scheduled:function(){return Xe.c},sequenceEqual:function(){return vn.m},share:function(){return mn.u},shareReplay:function(){return gn.t},single:function(){return bn.J},skip:function(){return yn.i},skipLast:function(){return wn.G},skipUntil:function(){return En.U},skipWhile:function(){return Sn.j},startWith:function(){return An.Z},subscribeOn:function(){return oe._},switchAll:function(){return _n.w},switchMap:function(){return Cn.n},switchMapTo:function(){return Tn.K},switchScan:function(){return On.m},take:function(){return xn.s},takeLast:function(){return Mn.o},takeUntil:function(){return In.Q},takeWhile:function(){return Rn.v},tap:function(){return Nn.M},throttle:function(){return Pn.n},throttleTime:function(){return Dn.c},throwError:function(){return Ge.$},throwIfEmpty:function(){return jn.v},timeInterval:function(){return Ln.f},timeout:function(){return ne.w},timeoutWith:function(){return kn.o},timer:function(){return Ke.O},timestamp:function(){return Un.v},toArray:function(){return Bn.$},using:function(){return Ye},window:function(){return Vn.x},windowCount:function(){return Hn.k},windowTime:function(){return Wn.s},windowToggle:function(){return $n.J},windowWhen:function(){return zn.p},withLatestFrom:function(){return Fn.E},zip:function(){return Je.y},zipAll:function(){return qn.x},zipWith:function(){return Zn.O}});var r=n(4490),i=n(5186),o=n(1211);const c={now(){return(c.delegate||performance).now()},delegate:void 0};var s=n(5514);const u={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=u;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const i=t((t=>{n=void 0,e(t)}));return new s.yU((()=>null==n?void 0:n(i)))},requestAnimationFrame(...e){const{delegate:t}=u;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=u;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...e)},delegate:void 0};function a(e){return e?l(e):f}function l(e){return new r.c((t=>{const n=e||c,r=n.now();let i=0;const o=()=>{t.closed||(i=u.requestAnimationFrame((c=>{i=0;const s=n.now();t.next({timestamp:e?s:c,elapsed:s-r}),o()})))};return o(),()=>{i&&u.cancelAnimationFrame(i)}}))}const f=l();var d=n(4927),h=n(4761),p=n(3686),v=n(9115),m=n(4337);let g,b=1;const y={};function w(e){return e in y&&(delete y[e],!0)}const E={setImmediate(e){const t=b++;return y[t]=!0,g||(g=Promise.resolve()),g.then((()=>w(t)&&e())),t},clearImmediate(e){w(e)}},{setImmediate:S,clearImmediate:A}=E,_={setImmediate(...e){const{delegate:t}=_;return((null==t?void 0:t.setImmediate)||S)(...e)},clearImmediate(e){const{delegate:t}=_;return((null==t?void 0:t.clearImmediate)||A)(e)},delegate:void 0};class C extends m.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=_.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:i}=e;null!=t&&(null===(r=i[i.length-1])||void 0===r?void 0:r.id)!==t&&(_.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}}var T=n(5372);class O extends T.q{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const x=new O(C),M=x;var I=n(2213);class R extends m.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!=n&&n>0||null==n&&this.delay>0?super.requestAsyncId(e,t,n):(e.flush(this),0)}}class N extends T.q{}const P=new N(R),D=P;class j extends m.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=u.requestAnimationFrame((()=>e.flush(void 0)))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:i}=e;null!=t&&t===e._scheduled&&(null===(r=i[i.length-1])||void 0===r?void 0:r.id)!==t&&(u.cancelAnimationFrame(t),e._scheduled=void 0)}}class L extends T.q{flush(e){let t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const k=new L(j),U=k;class B extends T.q{constructor(e=V,t=1/0){super(e,(()=>this.frame)),this.maxFrames=t,this.frame=0,this.index=-1}flush(){const{actions:e,maxFrames:t}=this;let n,r;for(;(r=e[0])&&r.delay<=t&&(e.shift(),this.frame=r.delay,!(n=r.execute(r.state,r.delay))););if(n){for(;r=e.shift();)r.unsubscribe();throw n}}}B.frameTimeFactor=10;class V extends m.R{constructor(e,t,n=(e.index+=1)){super(e,t),this.scheduler=e,this.work=t,this.index=n,this.active=!0,this.index=e.index=n}schedule(e,t=0){if(Number.isFinite(t)){if(!this.id)return super.schedule(e,t);this.active=!1;const n=new V(this.scheduler,this.work);return this.add(n),n.schedule(e,t)}return s.yU.EMPTY}requestAsyncId(e,t,n=0){this.delay=e.frame+n;const{actions:r}=e;return r.push(this),r.sort(V.sortActions),1}recycleAsyncId(e,t,n=0){}_execute(e,t){if(!0===this.active)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}var H=n(9878),W=n(3263),$=n(2668),z=n(5678),F=n(5690),q=n(2092),Z=n(1630);function G(e){return!!e&&(e instanceof r.c||(0,Z.T)(e.lift)&&(0,Z.T)(e.subscribe))}var K=n(7555);function Y(e,t){const n="object"==typeof t;return new Promise(((r,i)=>{let o,c=!1;e.subscribe({next:e=>{o=e,c=!0},error:i,complete:()=>{c?r(o):n?r(t.defaultValue):i(new K.G)}})}))}function J(e,t){const n="object"==typeof t;return new Promise(((r,i)=>{const o=new W.Ms({next:e=>{r(e),o.unsubscribe()},error:i,complete:()=>{n?r(t.defaultValue):i(new K.G)}});e.subscribe(o)}))}var X=n(4701),Q=n(7371),ee=n(6290),te=n(9765),ne=n(526),re=n(5944),ie=n(4361),oe=n(3164),ce=n(3879),se=n(604);function ue(e,t,n,i){if(n){if(!(0,ie.m)(n))return function(...r){return ue(e,t,i).apply(this,r).pipe((0,ce.I)(n))};i=n}return i?function(...n){return ue(e,t).apply(this,n).pipe((0,oe._)(i),(0,se.Q)(i))}:function(...n){const i=new v.h;let o=!0;return new r.c((r=>{const c=i.subscribe(r);if(o){o=!1;let r=!1,c=!1;t.apply(this,[...n,(...t)=>{if(e){const e=t.shift();if(null!=e)return void i.error(e)}i.next(1<t.length?t:t[0]),c=!0,r&&i.complete()}]),c&&i.complete(),r=!0}return c}))}}function ae(e,t,n){return ue(!1,e,t,n)}function le(e,t,n){return ue(!0,e,t,n)}var fe=n(5611),de=n(8597),he=n(9265);function pe(e){return new r.c((t=>{(0,he.Tg)(e()).subscribe(t)}))}const ve={connector:()=>new d.B,resetOnDisconnect:!0};function me(e,t=ve){let n=null;const{connector:i,resetOnDisconnect:o=!0}=t;let c=i();const s=new r.c((e=>c.subscribe(e)));return s.connect=()=>(n&&!n.closed||(n=pe((()=>e)).subscribe(c),o&&n.add((()=>c=i()))),n),s}var ge=n(5900),be=n(468),ye=n(6783),we=n(5547),Ee=n(129);function Se(...e){const t=(0,ye.ms)(e),{args:n,keys:i}=(0,be.D)(e),o=new r.c((e=>{const{length:t}=n;if(!t)return void e.complete();const r=new Array(t);let o=t,c=t;for(let s=0;s<t;s++){let t=!1;(0,he.Tg)(n[s]).subscribe((0,we._)(e,(e=>{t||(t=!0,c--),r[s]=e}),(()=>o--),void 0,(()=>{o&&t||(c||e.next(i?(0,Ee.e)(i,r):r),e.complete())})))}}));return t?o.pipe((0,ce.I)(t)):o}var Ae=n(4942),_e=n(3475),Ce=n(3962);const Te=["addListener","removeListener"],Oe=["addEventListener","removeEventListener"],xe=["on","off"];function Me(e,t,n,i){if((0,Z.T)(n)&&(i=n,n=void 0),i)return Me(e,t,n).pipe((0,ce.I)(i));const[o,c]=function(e){return(0,Z.T)(e.addEventListener)&&(0,Z.T)(e.removeEventListener)}(e)?Oe.map((r=>i=>e[r](t,i,n))):function(e){return(0,Z.T)(e.addListener)&&(0,Z.T)(e.removeListener)}(e)?Te.map(Ie(e,t)):function(e){return(0,Z.T)(e.on)&&(0,Z.T)(e.off)}(e)?xe.map(Ie(e,t)):[];if(!o&&(0,Ce.X)(e))return(0,_e.Z)((e=>Me(e,t,n)))((0,he.Tg)(e));if(!o)throw new TypeError("Invalid event target");return new r.c((e=>{const t=(...t)=>e.next(1<t.length?t:t[0]);return o(t),()=>c(t)}))}function Ie(e,t){return n=>r=>e[n](t,r)}function Re(e,t,n){return n?Re(e,t).pipe((0,ce.I)(n)):new r.c((n=>{const r=(...e)=>n.next(1===e.length?e[0]:e),i=e(r);return(0,Z.T)(t)?()=>t(r,i):void 0}))}var Ne=n(6084);function Pe(e,t,n,r,i){let o,c;function*s(){for(let e=c;!t||t(e);e=n(e))yield o(e)}return 1===arguments.length?({initialState:c,condition:t,iterate:n,resultSelector:o=q.D,scheduler:i}=e):(c=e,!r||(0,ie.m)(r)?(o=q.D,i=r):o=r),pe(i?()=>(0,Ne.S)(s(),i):s)}function De(e,t,n){return pe((()=>e()?t:n))}var je=n(9300),Le=n(5386);function ke(...e){const t=(0,ye.lI)(e),n=(0,ye.R0)(e,1/0),r=e;return r.length?1===r.length?(0,he.Tg)(r[0]):(0,Le.U)(n)((0,Ae.H)(r,t)):ge.w}const Ue=new r.c(F.l);function Be(){return Ue}var Ve=n(5664),He=n(1674);function We(e,t){return(0,Ae.H)(Object.entries(e),t)}var $e=n(5737),ze=n(9251);function Fe(e,t,n){return[(0,ze.p)(t,n)((0,he.Tg)(e)),(0,ze.p)((0,$e.A)(t,n))((0,he.Tg)(e))]}var qe=n(7388);function Ze(e,t,n){if(null==t&&(t=e,e=0),t<=0)return ge.w;const i=t+e;return new r.c(n?t=>{let r=e;return n.schedule((function(){r<i?(t.next(r++),this.schedule()):t.complete()}))}:t=>{let n=e;for(;n<i&&!t.closed;)t.next(n++);t.complete()})}var Ge=n(1067),Ke=n(8496);function Ye(e,t){return new r.c((n=>{const r=e(),i=t(r);return(i?(0,he.Tg)(i):ge.w).subscribe(n),()=>{r&&r.unsubscribe()}}))}var Je=n(5810),Xe=n(6459),Qe=n(2561),et=n(6718),tt=n(91),nt=n(5699),rt=n(5264),it=n(9670),ot=n(1223),ct=n(5867),st=n(5234),ut=n(9493),at=n(6124),lt=n(1275),ft=n(2402),dt=n(1755),ht=n(1966),pt=n(17),vt=n(8073),mt=n(6010),gt=n(5502),bt=n(8507),yt=n(7166),wt=n(358),Et=n(1130),St=n(421),At=n(8137),_t=n(2957),Ct=n(5728),Tt=n(8996),Ot=n(5972),xt=n(522),Mt=n(2307),It=n(1548),Rt=n(5237),Nt=n(6057),Pt=n(6199),Dt=n(2510),jt=n(1176),Lt=n(9375),kt=n(347),Ut=n(5350),Bt=n(4832),Vt=n(3937),Ht=n(9939),Wt=n(8838),$t=n(380),zt=n(7067),Ft=n(7698),qt=n(198),Zt=n(2540),Gt=n(5433),Kt=n(3273),Yt=n(9459),Jt=n(8254),Xt=n(7045),Qt=n(9324),en=n(8586),tn=n(2232),nn=n(5382),rn=n(2025),on=n(1612),cn=n(4935),sn=n(1430),un=n(1434),an=n(3895),ln=n(6951),fn=n(8141),dn=n(1551),hn=n(2762),pn=n(8844),vn=n(2082),mn=n(962),gn=n(769),bn=n(4157),yn=n(1013),wn=n(6670),En=n(808),Sn=n(2933),An=n(9833),_n=n(8130),Cn=n(7051),Tn=n(5454),On=n(132),xn=n(3394),Mn=n(8014),In=n(5016),Rn=n(8165),Nn=n(9616),Pn=n(7793),Dn=n(6388),jn=n(81),Ln=n(5021),kn=n(3146),Un=n(7309),Bn=n(867),Vn=n(2513),Hn=n(8878),Wn=n(3892),$n=n(2345),zn=n(2681),Fn=n(8846),qn=n(4543),Zn=n(1894)},6459:function(e,t,n){"use strict";n.d(t,{c:function(){return g}});var r=n(9265),i=n(604),o=n(3164),c=n(4490),s=n(6084),u=n(8114);function a(e,t){if(!e)throw new Error("Iterable cannot be null");return new c.c((n=>{(0,u.N)(n,t,(()=>{const r=e[Symbol.asyncIterator]();(0,u.N)(n,t,(()=>{r.next().then((e=>{e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}var l=n(2816),f=n(3905),d=n(3962),h=n(420),p=n(450),v=n(1250),m=n(7981);function g(e,t){if(null!=e){if((0,l.l)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,i.Q)(t))}(e,t);if((0,d.X)(e))return function(e,t){return new c.c((n=>{let r=0;return t.schedule((function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())}))}))}(e,t);if((0,f.y)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,i.Q)(t))}(e,t);if((0,p.T)(e))return a(e,t);if((0,h.x)(e))return(0,s.S)(e,t);if((0,m.U)(e))return function(e,t){return a((0,m.C)(e),t)}(e,t)}throw(0,v.L)(e)}},6542:function(e,t,n){"use strict";function r(e){return e instanceof Date&&!isNaN(e)}n.d(t,{v:function(){return r}})},6579:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(5611),i=n(7199),o=n(3075),c=n(3879),s=n(5678),u=n(6783);function a(...e){const t=(0,u.ms)(e);return t?(0,s.F)(a(...e),(0,c.I)(t)):(0,i.N)(((t,n)=>{(0,r.P)([t,...(0,o.K)(e)])(n)}))}},6670:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var r=n(2092),i=n(7199),o=n(5547);function c(e){return e<=0?r.D:(0,i.N)(((t,n)=>{let r=new Array(e),i=0;return t.subscribe((0,o._)(n,(t=>{const o=i++;if(o<e)r[o]=t;else{const i=o%e,c=r[i];r[i]=t,n.next(c)}}))),()=>{r=null}}))}},6718:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(7199),i=n(9265),o=n(5547);function c(e){return(0,r.N)(((t,n)=>{let r=!1,c=null,s=null,u=!1;const a=()=>{if(null==s||s.unsubscribe(),s=null,r){r=!1;const e=c;c=null,n.next(e)}u&&n.complete()},l=()=>{s=null,u&&n.complete()};t.subscribe((0,o._)(n,(t=>{r=!0,c=t,s||(0,i.Tg)(e(t)).subscribe(s=(0,o._)(n,a,l))}),(()=>{u=!0,(!r||!s||s.closed)&&n.complete()})))}))}},6779:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(7022),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},6783:function(e,t,n){"use strict";n.d(t,{R0:function(){return u},lI:function(){return s},ms:function(){return c}});var r=n(1630),i=n(4361);function o(e){return e[e.length-1]}function c(e){return(0,r.T)(o(e))?e.pop():void 0}function s(e){return(0,i.m)(o(e))?e.pop():void 0}function u(e,t){return"number"==typeof o(e)?e.pop():t}},6795:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},c=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserDataService=void 0;var s=n(6398),u=n(6943),a=n(8430),l=n(109),f=n(1274),d=n(4193),h=n(5269),p=n(3708),v=n(2744),m=function(){function e(e,t,n,r,i){this.window=e,this.domMethodsService=t,this.interFrameCommunicatorService=n,this.base64TranscoderService=r,this.loggerService=i,this.acceptableColorDepthValues=[1,4,8,15,16,24,32,48],this.fallbackColorDepthValue=24,this.browserDataIframeSelector="tp-3ds-browser-data-iframe",this.browserDataTimeout=1e4,this.fallbackAcceptHeaderValue="*/*"}return e.prototype.getData$=function(e,t){var n=this.getBrowserGeneralDataObject(t);return!t||t.isRequiredBrowserIP||t.isRequiredBrowserAcceptHeader?this.getAcceptHeaderAndIPAddress$(e).pipe((0,u.map)((function(e){var i=r({},n);return t?(t.isRequiredBrowserAcceptHeader&&(i.browserAcceptHeader=e.browserAcceptHeader),t.isRequiredBrowserIP&&(i.browserIP=e.browserIP)):(i.browserAcceptHeader=e.browserAcceptHeader,i.browserIP=e.browserIP),i}))):(0,s.of)(n)},e.prototype.getBrowserGeneralDataObject=function(e){var t=function(e){return e.split("-").slice(0,2).join("-")},n={};return e?(e.isRequiredBrowserJavaEnabled&&(n.browserJavaEnabled=this.window.navigator.javaEnabled()),e.isRequiredBrowserJavascriptEnabled&&(n.browserJavascriptEnabled=!0),e.isRequiredBrowserLanguage&&(n.browserLanguage=t(this.window.navigator.language||this.window.navigator.userLanguage)),e.isRequiredBrowserScreenWidth&&(n.browserScreenWidth=this.window.screen.width),e.isRequiredBrowserScreenHeight&&(n.browserScreenHeight=this.getScreenHeight()),e.isRequiredBrowserColorDepth&&(n.browserColorDepth=this.getColorDepth(this.window.screen)),e.isRequiredBrowserUserAgent&&(n.browserUserAgent=this.window.navigator.userAgent),e.isRequiredBrowserTZ&&(n.browserTZ=(new Date).getTimezoneOffset())):n={browserJavaEnabled:this.window.navigator.javaEnabled(),browserJavascriptEnabled:!0,browserLanguage:t(this.window.navigator.language),browserScreenWidth:this.window.screen.width,browserScreenHeight:this.getScreenHeight(),browserColorDepth:this.getColorDepth(this.window.screen),browserUserAgent:this.window.navigator.userAgent,browserTZ:(new Date).getTimezoneOffset()},n},e.prototype.getScreenHeight=function(){for(var e=[this.window.screen.height,this.window.screen.availHeight,this.window.innerHeight,this.window.outerHeight],t=!1,n=999999,r=n,i=0,o=e;i<o.length;i++){var c=o[i];if(void 0!==c&&"number"==typeof c&&c>0&&c<=n){r=c;break}t=!0}return t&&this.loggerService.error("Error in calculating screen height. Chosen value is ".concat(r,". Options were ").concat(JSON.stringify(e))),r},e.prototype.getColorDepth=function(e){return this.acceptableColorDepthValues.includes(e.colorDepth)?e.colorDepth:this.fallbackColorDepthValue},e.prototype.getAcceptHeaderAndIPAddress$=function(e){var t=this,n="string"==typeof e?e:e[0];return(0,s.defer)((function(){return(0,s.of)(t.createIframeForAcceptHeaderAndIPAddress(n))})).pipe((0,s.switchMap)((function(){return t.interFrameCommunicatorService.receive$(f.InterFrameCommunicatorMessageType.BROWSER_DATA_RESPONSE).pipe((0,s.take)(1))})),(0,u.tap)((function(e){return t.loggerService.debug("Received raw browser data from iframe: ".concat(e))})),(0,u.map)((function(e){return t.base64TranscoderService.decode(e)})),(0,u.map)((function(e){return{browserAcceptHeader:e.acceptHeader,browserIP:e.userIP}})),(0,u.tap)((function(e){return t.loggerService.debug("Collected browser data: ".concat(JSON.stringify(e)))})),(0,s.finalize)((function(){return t.destroyView()})),(0,u.timeout)(this.browserDataTimeout),(0,s.retry)(2),(0,s.catchError)((function(e){return t.loggerService.error("Cannot retrieve user IP and accept header. Using fallback values instead."),t.loggerService.error(e),(0,s.of)({browserAcceptHeader:t.fallbackAcceptHeaderValue,browserIP:""})})))},e.prototype.createIframeForAcceptHeaderAndIPAddress=function(e){var t=this,n=this.domMethodsService.createElement("iframe",{src:e,id:this.browserDataIframeSelector,width:"0px",height:"0px"});this.domMethodsService.addToElement(n,this.domMethodsService.getElement("body")),this.loggerService.debug("Created browser data iframe, url: ".concat(e)),n.addEventListener("load",(function(){return t.loggerService.debug("Browser data iframe load completed, waiting for data")}))},e.prototype.destroyView=function(){this.domMethodsService.removeElement(this.domMethodsService.getElement("#".concat(this.browserDataIframeSelector))),this.loggerService.debug("Destroyed browser data iframe")},i([(0,a.Service)(),c(0,(0,a.Inject)(l.TOKEN_WINDOW)),o("design:paramtypes",[Window,h.DomMethodsService,p.InterFrameCommunicatorService,d.Base64TranscoderService,v.LoggerService])],e)}();t.BrowserDataService=m},6943:function(e,t,n){"use strict";n.r(t),n.d(t,{audit:function(){return r.s},auditTime:function(){return i.Z},buffer:function(){return o.r},bufferCount:function(){return c.S},bufferTime:function(){return s.w},bufferToggle:function(){return u.H},bufferWhen:function(){return a.n},catchError:function(){return l.W},combineAll:function(){return f.p},combineLatest:function(){return h.z},combineLatestAll:function(){return d.A},combineLatestWith:function(){return p.v},concat:function(){return v.x},concatAll:function(){return m.K},concatMap:function(){return g.H},concatMapTo:function(){return b.S},concatWith:function(){return y.$},connect:function(){return w.N},count:function(){return E.U},debounce:function(){return S.s},debounceTime:function(){return A.B},defaultIfEmpty:function(){return _.U},delay:function(){return C.c},delayWhen:function(){return T.o},dematerialize:function(){return O.Z},distinct:function(){return x.d},distinctUntilChanged:function(){return M.F},distinctUntilKeyChanged:function(){return I.w},elementAt:function(){return R.s},endWith:function(){return N.q},every:function(){return P.S},exhaust:function(){return D.B},exhaustAll:function(){return j.C},exhaustMap:function(){return L.p},expand:function(){return k.f},filter:function(){return U.p},finalize:function(){return B.j},find:function(){return V.I},findIndex:function(){return H.S},first:function(){return W.$},flatMap:function(){return Q.q},groupBy:function(){return $.$},ignoreElements:function(){return z.w},isEmpty:function(){return F.I},last:function(){return q.H},map:function(){return Z.T},mapTo:function(){return G.u},materialize:function(){return K.O},max:function(){return Y.T},merge:function(){return J.h},mergeAll:function(){return X.U},mergeMap:function(){return ee.Z},mergeMapTo:function(){return te.C},mergeScan:function(){return ne.i},mergeWith:function(){return re.X},min:function(){return ie.j},multicast:function(){return oe.f},observeOn:function(){return ce.Q},onErrorResumeNext:function(){return se.g},pairwise:function(){return ue.J},partition:function(){return le},pluck:function(){return fe.E},publish:function(){return de.m},publishBehavior:function(){return he.K},publishLast:function(){return pe.k},publishReplay:function(){return ve.H},race:function(){return be},raceWith:function(){return ge.w},reduce:function(){return ye.T},refCount:function(){return _e.B},repeat:function(){return we.u},repeatWhen:function(){return Ee.Y},retry:function(){return Se.L},retryWhen:function(){return Ae.l},sample:function(){return Ce.X},sampleTime:function(){return Te.q},scan:function(){return Oe.S},sequenceEqual:function(){return xe.m},share:function(){return Me.u},shareReplay:function(){return Ie.t},single:function(){return Re.J},skip:function(){return Ne.i},skipLast:function(){return Pe.G},skipUntil:function(){return De.U},skipWhile:function(){return je.j},startWith:function(){return Le.Z},subscribeOn:function(){return ke._},switchAll:function(){return Ue.w},switchMap:function(){return Be.n},switchMapTo:function(){return Ve.K},switchScan:function(){return He.m},take:function(){return We.s},takeLast:function(){return $e.o},takeUntil:function(){return ze.Q},takeWhile:function(){return Fe.v},tap:function(){return qe.M},throttle:function(){return Ze.n},throttleTime:function(){return Ge.c},throwIfEmpty:function(){return Ke.v},timeInterval:function(){return Ye.f},timeout:function(){return Je.w},timeoutWith:function(){return Xe.o},timestamp:function(){return Qe.v},toArray:function(){return et.$},window:function(){return tt.x},windowCount:function(){return nt.k},windowTime:function(){return rt.s},windowToggle:function(){return it.J},windowWhen:function(){return ot.p},withLatestFrom:function(){return ct.E},zip:function(){return st.y},zipAll:function(){return ut.x},zipWith:function(){return at.O}});var r=n(6718),i=n(91),o=n(5699),c=n(5264),s=n(9670),u=n(1223),a=n(5867),l=n(5234),f=n(9493),d=n(6124),h=n(6579),p=n(1275),v=n(1277),m=n(2402),g=n(1755),b=n(1966),y=n(17),w=n(8073),E=n(6010),S=n(5502),A=n(8507),_=n(7166),C=n(358),T=n(1130),O=n(421),x=n(8137),M=n(2957),I=n(5728),R=n(8996),N=n(5972),P=n(522),D=n(2307),j=n(1548),L=n(5237),k=n(6057),U=n(9251),B=n(6199),V=n(2510),H=n(1176),W=n(9375),$=n(347),z=n(5350),F=n(4832),q=n(3937),Z=n(9939),G=n(8838),K=n(380),Y=n(7067),J=n(4549),X=n(5386),Q=n(7698),ee=n(3475),te=n(198),ne=n(2540),re=n(5433),ie=n(3273),oe=n(9459),ce=n(604),se=n(8254),ue=n(7045),ae=n(5737);function le(e,t){return n=>[(0,U.p)(e,t)(n),(0,U.p)((0,ae.A)(e,t))(n)]}var fe=n(9324),de=n(8586),he=n(2232),pe=n(5382),ve=n(2025),me=n(3075),ge=n(1612);function be(...e){return(0,ge.w)(...(0,me.K)(e))}var ye=n(4935),we=n(1430),Ee=n(1434),Se=n(3895),Ae=n(6951),_e=n(8141),Ce=n(1551),Te=n(2762),Oe=n(8844),xe=n(2082),Me=n(962),Ie=n(769),Re=n(4157),Ne=n(1013),Pe=n(6670),De=n(808),je=n(2933),Le=n(9833),ke=n(3164),Ue=n(8130),Be=n(7051),Ve=n(5454),He=n(132),We=n(3394),$e=n(8014),ze=n(5016),Fe=n(8165),qe=n(9616),Ze=n(7793),Ge=n(6388),Ke=n(81),Ye=n(5021),Je=n(526),Xe=n(3146),Qe=n(7309),et=n(867),tt=n(2513),nt=n(8878),rt=n(3892),it=n(2345),ot=n(2681),ct=n(8846),st=n(1114),ut=n(4543),at=n(1894)},6951:function(e,t,n){"use strict";n.d(t,{l:function(){return s}});var r=n(9265),i=n(4927),o=n(7199),c=n(5547);function s(e){return(0,o.N)(((t,n)=>{let o,s,u=!1;const a=()=>{o=t.subscribe((0,c._)(n,void 0,void 0,(t=>{s||(s=new i.B,(0,r.Tg)(e(s)).subscribe((0,c._)(n,(()=>o?a():u=!0)))),s&&s.next(t)}))),u&&(o.unsubscribe(),o=null,u=!1,a())};a()}))}},6971:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var r=n(9265),i=n(8114),o=n(5547);function c(e,t,n,c,s,u,a,l){const f=[];let d=0,h=0,p=!1;const v=()=>{!p||f.length||d||t.complete()},m=e=>d<c?g(e):f.push(e),g=e=>{u&&t.next(e),d++;let l=!1;(0,r.Tg)(n(e,h++)).subscribe((0,o._)(t,(e=>{null==s||s(e),u?m(e):t.next(e)}),(()=>{l=!0}),void 0,(()=>{if(l)try{for(d--;f.length&&d<c;){const e=f.shift();a?(0,i.N)(t,a,(()=>g(e))):g(e)}v()}catch(e){t.error(e)}})))};return e.subscribe((0,o._)(t,m,(()=>{p=!0,v()}))),()=>{null==l||l()}}},7022:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o),s=n(3770),u=c()(i());u.i(s.A),u.push([e.id,"/*\n *** @TODO: STJS-1783 - [TECH IMP] Reuse styles from processing screen challenge window and the parent window\n */\n\n.tp-3ds-processing-screen {\n position: relative;\n}\n\n.tp-3ds-processing-screen-wrapper {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n z-index: 50;\n}\n\n.tp-3ds-processing-screen-wrapper-attach-to-element {\n position: absolute;\n}\n\n.tp-3ds-processing-screen-loader {\n box-sizing: border-box;\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n border: 4px solid #e61c5b;\n border-radius: 32px;\n animation: tp-3ds-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) 0.15s infinite;\n border-color: #e61c5b transparent;\n will-change: animation;\n transform: translate(-50%) rotate(0deg);\n}\n\n.tp-3ds-processing-screen-loader-with-logo {\n margin-top: 30px;\n}\n\n.tp-3ds-processing-screen-logo {\n position: absolute;\n top: 50%;\n left: 50%;\n user-select: none;\n}\n\n.tp-3ds-processing-screen-wrapper-visa .tp-3ds-processing-screen-logo {\n margin: -100px 0 0 -56px;\n}\n\n.tp-3ds-processing-screen-wrapper-mastercard .tp-3ds-processing-screen-logo {\n margin: -123px 0 0 -79px;\n}\n\n.tp-3ds-processing-screen-wrapper-amex .tp-3ds-processing-screen-logo {\n margin: -124px 0 0 -60px;\n}\n\n@keyframes tp-3ds-spin {\n from {\n transform: translate(-50%) rotate(0deg);\n }\n to {\n transform: translate(-50%) rotate(360deg);\n }\n}\n","",{version:3,sources:["webpack://./src/shared/services/processing-screen/ProcessingScreen.css"],names:[],mappings:"AAAA;;EAEE;;AAIF;EACE,kBAAkB;AACpB;;AAEA;EACE,eAAe;EACf,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,0CAA0C;EAC1C,WAAW;AACb;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,sBAAsB;EACtB,cAAc;EACd,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,WAAW;EACX,YAAY;EACZ,yBAAyB;EACzB,mBAAmB;EACnB,uEAAuE;EACvE,iCAAiC;EACjC,sBAAsB;EACtB,uCAAuC;AACzC;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,iBAAiB;AACnB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE;IACE,uCAAuC;EACzC;EACA;IACE,yCAAyC;EAC3C;AACF",sourcesContent:['/*\n *** @TODO: STJS-1783 - [TECH IMP] Reuse styles from processing screen challenge window and the parent window\n */\n\n@import "../../styles/Overlay.css";\n\n.tp-3ds-processing-screen {\n position: relative;\n}\n\n.tp-3ds-processing-screen-wrapper {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n z-index: 50;\n}\n\n.tp-3ds-processing-screen-wrapper-attach-to-element {\n position: absolute;\n}\n\n.tp-3ds-processing-screen-loader {\n box-sizing: border-box;\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n border: 4px solid #e61c5b;\n border-radius: 32px;\n animation: tp-3ds-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) 0.15s infinite;\n border-color: #e61c5b transparent;\n will-change: animation;\n transform: translate(-50%) rotate(0deg);\n}\n\n.tp-3ds-processing-screen-loader-with-logo {\n margin-top: 30px;\n}\n\n.tp-3ds-processing-screen-logo {\n position: absolute;\n top: 50%;\n left: 50%;\n user-select: none;\n}\n\n.tp-3ds-processing-screen-wrapper-visa .tp-3ds-processing-screen-logo {\n margin: -100px 0 0 -56px;\n}\n\n.tp-3ds-processing-screen-wrapper-mastercard .tp-3ds-processing-screen-logo {\n margin: -123px 0 0 -79px;\n}\n\n.tp-3ds-processing-screen-wrapper-amex .tp-3ds-processing-screen-logo {\n margin: -124px 0 0 -60px;\n}\n\n@keyframes tp-3ds-spin {\n from {\n transform: translate(-50%) rotate(0deg);\n }\n to {\n transform: translate(-50%) rotate(360deg);\n }\n}\n'],sourceRoot:""}]),t.A=u},7045:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(7199),i=n(5547);function o(){return(0,r.N)(((e,t)=>{let n,r=!1;e.subscribe((0,i._)(t,(e=>{const i=n;n=e,r&&t.next([i,e]),r=!0})))}))}},7051:function(e,t,n){"use strict";n.d(t,{n:function(){return c}});var r=n(9265),i=n(7199),o=n(5547);function c(e,t){return(0,i.N)(((n,i)=>{let c=null,s=0,u=!1;const a=()=>u&&!c&&i.complete();n.subscribe((0,o._)(i,(n=>{null==c||c.unsubscribe();let u=0;const l=s++;(0,r.Tg)(e(n,l)).subscribe(c=(0,o._)(i,(e=>i.next(t?t(n,e,l,u++):e)),(()=>{c=null,a()})))}),(()=>{u=!0,a()})))}))}},7067:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(4935),i=n(1630);function o(e){return(0,r.T)((0,i.T)(e)?(t,n)=>e(t,n)>0?t:n:(e,t)=>e>t?e:t)}},7166:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(7199),i=n(5547);function o(e){return(0,r.N)(((t,n)=>{let r=!1;t.subscribe((0,i._)(n,(e=>{r=!0,n.next(e)}),(()=>{r||n.next(e),n.complete()})))}))}},7199:function(e,t,n){"use strict";n.d(t,{N:function(){return o},S:function(){return i}});var r=n(1630);function i(e){return(0,r.T)(null==e?void 0:e.lift)}function o(e){return t=>{if(i(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}}},7244:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(5547);function i(e,t,n,i,o){return(c,s)=>{let u=n,a=t,l=0;c.subscribe((0,r._)(s,(t=>{const n=l++;a=u?e(a,t,n):(u=!0,t),i&&s.next(a)}),o&&(()=>{u&&s.next(a),s.complete()})))}}},7309:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(628),i=n(9939);function o(e=r.U){return(0,i.T)((t=>({value:t,timestamp:e.now()})))}},7371:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r=(0,n(4772).L)((e=>function(t){e(this),this.name="NotFoundError",this.message=t}))},7388:function(e,t,n){"use strict";n.d(t,{O:function(){return s},w:function(){return u}});var r=n(4490),i=n(9265),o=n(3075),c=n(5547);function s(...e){return 1===(e=(0,o.K)(e)).length?(0,i.Tg)(e[0]):new r.c(u(e))}function u(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push((0,i.Tg)(e[r]).subscribe((0,c._)(t,(e=>{if(n){for(let e=0;e<n.length;e++)e!==r&&n[e].unsubscribe();n=null}t.next(e)}))))}}},7555:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});const r=(0,n(4772).L)((e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"}))},7659:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7698:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});const r=n(3475).Z},7753:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ProcessingScreenMode=void 0,function(e){e.OVERLAY="OVERLAY",e.ATTACH_TO_ELEMENT="ATTACH_TO_ELEMENT"}(n||(t.ProcessingScreenMode=n={}))},7793:function(e,t,n){"use strict";n.d(t,{n:function(){return c}});var r=n(7199),i=n(5547),o=n(9265);function c(e,t){return(0,r.N)(((n,r)=>{const{leading:c=!0,trailing:s=!1}=null!=t?t:{};let u=!1,a=null,l=null,f=!1;const d=()=>{null==l||l.unsubscribe(),l=null,s&&(v(),f&&r.complete())},h=()=>{l=null,f&&r.complete()},p=t=>l=(0,o.Tg)(e(t)).subscribe((0,i._)(r,d,h)),v=()=>{if(u){u=!1;const e=a;a=null,r.next(e),!f&&p(e)}};n.subscribe((0,i._)(r,(e=>{u=!0,a=e,(!l||l.closed)&&(c?v():p(e))}),(()=>{f=!0,(!(s&&u&&l)||l.closed)&&r.complete()})))}))}},7825:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},7831:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(1938),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},7907:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationError=void 0;var i=function(e){function t(n){var r=e.call(this,n)||this;return r.name="ValidationError",Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error);t.ValidationError=i},7981:function(e,t,n){"use strict";n.d(t,{C:function(){return o},U:function(){return c}});var r=n(1635),i=n(1630);function o(e){return(0,r.AQ)(this,arguments,(function*(){const t=e.getReader();try{for(;;){const{value:e,done:n}=yield(0,r.N3)(t.read());if(n)return yield(0,r.N3)(void 0);yield yield(0,r.N3)(e)}}finally{t.releaseLock()}}))}function c(e){return(0,i.T)(null==e?void 0:e.getReader)}},8014:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(5900),i=n(7199),o=n(5547);function c(e){return e<=0?()=>r.w:(0,i.N)(((t,n)=>{let r=[];t.subscribe((0,o._)(n,(t=>{r.push(t),e<r.length&&r.shift()}),(()=>{for(const e of r)n.next(e);n.complete()}),void 0,(()=>{r=null})))}))}},8073:function(e,t,n){"use strict";n.d(t,{N:function(){return u}});var r=n(4927),i=n(9265),o=n(7199),c=n(4490);const s={connector:()=>new r.B};function u(e,t=s){const{connector:n}=t;return(0,o.N)(((t,r)=>{const o=n();var s;(0,i.Tg)(e((s=o,new c.c((e=>s.subscribe(e)))))).subscribe(r),r.add(t.subscribe(o))}))}},8114:function(e,t,n){"use strict";function r(e,t,n,r=0,i=!1){const o=t.schedule((function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()}),r);if(e.add(o),!i)return o}n.d(t,{N:function(){return r}})},8130:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var r=n(7051),i=n(2092);function o(){return(0,r.n)(i.D)}},8137:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var r=n(7199),i=n(5547),o=n(5690),c=n(9265);function s(e,t){return(0,r.N)(((n,r)=>{const s=new Set;n.subscribe((0,i._)(r,(t=>{const n=e?e(t):t;s.has(n)||(s.add(n),r.next(t))}))),t&&(0,c.Tg)(t).subscribe((0,i._)(r,(()=>s.clear()),o.l))}))}},8141:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(7199),i=n(5547);function o(){return(0,r.N)(((e,t)=>{let n=null;e._refCount++;const r=(0,i._)(t,void 0,void 0,void 0,(()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const r=e._connection,i=n;n=null,!r||i&&r!==i||r.unsubscribe(),t.unsubscribe()}));e.subscribe(r),r.closed||(n=e.connect())}))}},8165:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(7199),i=n(5547);function o(e,t=!1){return(0,r.N)(((n,r)=>{let o=0;n.subscribe((0,i._)(r,(n=>{const i=e(n,o++);(i||t)&&r.next(n),!i&&r.complete()})))}))}},8206:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingLevel=void 0,function(e){e.ERROR="ERROR",e.ALL="ALL"}(n||(t.LoggingLevel=n={}))},8254:function(e,t,n){"use strict";n.d(t,{g:function(){return c},w:function(){return o}});var r=n(3075),i=n(1674);function o(...e){const t=(0,r.K)(e);return e=>(0,i.g)(e,...t)}const c=o},8430:function(e,t,n){"use strict";n.r(t),n.d(t,{CannotInjectValueError:function(){return a},CannotInstantiateValueError:function(){return o},Container:function(){return u},ContainerInstance:function(){return s},Inject:function(){return d},InjectMany:function(){return f},Service:function(){return h},ServiceNotFoundError:function(){return i},Token:function(){return r},default:function(){return p}});class r{constructor(e){this.name=e}}class i extends Error{constructor(e){var t,n;super(),this.name="ServiceNotFoundError",this.normalizedIdentifier="<UNKNOWN_IDENTIFIER>","string"==typeof e?this.normalizedIdentifier=e:e instanceof r?this.normalizedIdentifier=`Token<${e.name||"UNSET_NAME"}>`:e&&(e.name||(null===(t=e.prototype)||void 0===t?void 0:t.name))&&(this.normalizedIdentifier=`MaybeConstructable<${e.name}>`||`MaybeConstructable<${null===(n=e.prototype)||void 0===n?void 0:n.name}>`)}get message(){return`Service with "${this.normalizedIdentifier}" identifier was not found in the container. Register it before usage via explicitly calling the "Container.set" function or using the "@Service()" decorator.`}}class o extends Error{constructor(e){var t,n;super(),this.name="CannotInstantiateValueError",this.normalizedIdentifier="<UNKNOWN_IDENTIFIER>","string"==typeof e?this.normalizedIdentifier=e:e instanceof r?this.normalizedIdentifier=`Token<${e.name||"UNSET_NAME"}>`:e&&(e.name||(null===(t=e.prototype)||void 0===t?void 0:t.name))&&(this.normalizedIdentifier=`MaybeConstructable<${e.name}>`||`MaybeConstructable<${null===(n=e.prototype)||void 0===n?void 0:n.name}>`)}get message(){return`Cannot instantiate the requested value for the "${this.normalizedIdentifier}" identifier. The related metadata doesn't contain a factory or a type to instantiate.`}}const c=Symbol("EMPTY_VALUE");class s{constructor(e){this.services=[],this.id=e}has(e){return!!this.findService(e)}get(e){const t=u.of(void 0),n=t.findService(e),r=this.findService(e);if(n&&!0===n.global)return this.getServiceValue(n);if(r)return this.getServiceValue(r);if(n&&this!==t){const e={...n};e.value=c,this.set(e);const t=this.getServiceValue(e);return this.set({...e,value:t}),t}if(n)return this.getServiceValue(n);throw new i(e)}getMany(e){return this.findAllServices(e).map((e=>this.getServiceValue(e)))}set(e,t){if(e instanceof Array)return e.forEach((e=>this.set(e))),this;if("string"==typeof e||e instanceof r)return this.set({id:e,type:null,value:t,factory:void 0,global:!1,multiple:!1,eager:!1,transient:!1});if("function"==typeof e)return this.set({id:e,type:e,value:t,factory:void 0,global:!1,multiple:!1,eager:!1,transient:!1});const n={id:new r("UNREACHABLE"),type:null,factory:void 0,value:c,global:!1,multiple:!1,eager:!1,transient:!1,...e},i=this.findService(n.id);return i&&!0!==i.multiple?Object.assign(i,n):this.services.push(n),n.eager&&this.get(n.id),this}remove(e){return Array.isArray(e)?e.forEach((e=>this.remove(e))):this.services=this.services.filter((t=>t.id!==e||(this.destroyServiceInstance(t),!1))),this}reset(e={strategy:"resetValue"}){switch(e.strategy){case"resetValue":this.services.forEach((e=>this.destroyServiceInstance(e)));break;case"resetServices":this.services.forEach((e=>this.destroyServiceInstance(e))),this.services=[];break;default:throw new Error("Received invalid reset strategy.")}return this}findAllServices(e){return this.services.filter((t=>t.id===e))}findService(e){return this.services.find((t=>t.id===e))}getServiceValue(e){var t;let n=c;if(e.value!==c)return e.value;if(!e.factory&&!e.type)throw new o(e.id);if(e.factory)if(e.factory instanceof Array){let t;try{t=this.get(e.factory[0])}catch(n){if(!(n instanceof i))throw n;t=new e.factory[0]}n=t[e.factory[1]](this,e.id)}else n=e.factory(this,e.id);if(!e.factory&&e.type){const r=e.type,i=(null===(t=Reflect)||void 0===t?void 0:t.getMetadata("design:paramtypes",r))||[],o=this.initializeParams(r,i);o.push(this),n=new r(...o)}if(e.transient||n===c||(e.value=n),n===c)throw new o(e.id);return e.type&&this.applyPropertyHandlers(e.type,n),n}initializeParams(e,t){return t.map(((t,n)=>{const r=u.handlers.find((t=>(t.object===e||t.object===Object.getPrototypeOf(e))&&t.index===n));return r?r.value(this):t&&t.name&&!this.isPrimitiveParamType(t.name)?this.get(t):void 0}))}isPrimitiveParamType(e){return["string","boolean","number","object"].includes(e.toLowerCase())}applyPropertyHandlers(e,t){u.handlers.forEach((n=>{"number"!=typeof n.index&&(n.object.constructor===e||e.prototype instanceof n.object.constructor)&&n.propertyName&&(t[n.propertyName]=n.value(this))}))}destroyServiceInstance(e,t=!1){if(t||e.type||e.factory){if("function"==typeof(null==e?void 0:e.value).destroy)try{e.value.destroy()}catch(e){}e.value=c}}}class u{static of(e="default"){if("default"===e)return this.globalInstance;let t=this.instances.find((t=>t.id===e));return t||(t=new s(e),this.instances.push(t)),t}static has(e){return this.globalInstance.has(e)}static get(e){return this.globalInstance.get(e)}static getMany(e){return this.globalInstance.getMany(e)}static set(e,t){return this.globalInstance.set(e,t),this}static remove(e){return this.globalInstance.remove(e),this}static reset(e="default"){if("default"==e)this.globalInstance.reset(),this.instances.forEach((e=>e.reset()));else{const t=this.instances.find((t=>t.id===e));t&&(t.reset(),this.instances.splice(this.instances.indexOf(t),1))}return this}static registerHandler(e){return this.handlers.push(e),this}static import(e){return this}}u.handlers=[],u.globalInstance=new s("default"),u.instances=[];class a extends Error{constructor(e,t){super(),this.target=e,this.propertyName=t,this.name="CannotInjectValueError"}get message(){return`Cannot inject value into "${this.target.constructor.name}.${this.propertyName}". Please make sure you setup reflect-metadata properly and you don't use interfaces without service tokens as injection value.`}}function l(e,t,n,i){let o;if((e&&"string"==typeof e||e instanceof r)&&(o={eagerType:e,lazyType:()=>e}),e&&"function"==typeof e&&(o={eagerType:null,lazyType:()=>e()}),!e&&n){const e=Reflect.getMetadata("design:type",t,n);o={eagerType:e,lazyType:()=>e}}if(!e&&"number"==typeof i&&Number.isInteger(i)){const e=Reflect.getMetadata("design:paramtypes",t,n),r=null==e?void 0:e[i];o={eagerType:r,lazyType:()=>r}}return o}function f(e){return function(t,n,r){const i=l(e,t,n,r);if(void 0===i||void 0===i.eagerType||i.eagerType===Object)throw new a(t,n);u.registerHandler({object:t,propertyName:n,index:r,value:e=>{const r=i.lazyType();if(void 0===r||r===Object)throw new a(t,n);return e.getMany(r)}})}}function d(e){return function(t,n,r){const i=l(e,t,n,r);if(void 0===i||void 0===i.eagerType||i.eagerType===Object)throw new a(t,n);u.registerHandler({object:t,propertyName:n,index:r,value:e=>{const r=i.lazyType();if(void 0===r||r===Object)throw new a(t,n);return e.get(r)}})}}function h(e){return t=>{const n={id:t,type:t,factory:void 0,multiple:!1,global:!1,eager:!1,transient:!1,value:c};e instanceof r||"string"==typeof e?n.id=e:e&&(n.id=e.id||t,n.factory=e.factory||void 0,n.multiple=e.multiple||!1,n.global=e.global||!1,n.eager=e.eager||!1,n.transient=e.transient||!1),u.set(n)}}var p=u},8496:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(4490),i=n(2213),o=n(4361),c=n(6542);function s(e=0,t,n=i.b){let s=-1;return null!=t&&((0,o.m)(t)?n=t:s=t),new r.c((t=>{let r=(0,c.v)(e)?+e-n.now():e;r<0&&(r=0);let i=0;return n.schedule((function(){t.closed||(t.next(i++),0<=s?this.schedule(void 0,s):t.complete())}),r)}))}},8507:function(e,t,n){"use strict";n.d(t,{B:function(){return c}});var r=n(2213),i=n(7199),o=n(5547);function c(e,t=r.E){return(0,i.N)(((n,r)=>{let i=null,c=null,s=null;const u=()=>{if(i){i.unsubscribe(),i=null;const e=c;c=null,r.next(e)}};function a(){const n=s+e,o=t.now();if(o<n)return i=this.schedule(void 0,n-o),void r.add(i);u()}n.subscribe((0,o._)(r,(n=>{c=n,s=t.now(),i||(i=t.schedule(a,e),r.add(i))}),(()=>{u(),r.complete()}),void 0,(()=>{c=i=null})))}))}},8586:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(4927),i=n(9459),o=n(8073);function c(e){return e?t=>(0,o.N)(e)(t):e=>(0,i.f)(new r.B)(e)}},8597:function(e,t,n){"use strict";n.d(t,{x:function(){return c}});var r=n(2402),i=n(6783),o=n(4942);function c(...e){return(0,r.K)()((0,o.H)(e,(0,i.lI)(e)))}},8630:function(e,t,n){var r;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),r=i(e);function i(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(r=i(t.Reflect,r)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",c="function"==typeof Object.create,s={__proto__:[]}instanceof Array,u=!c&&!s,a={create:c?function(){return W(Object.create(null))}:s?function(){return W({__proto__:null})}:function(){return W({})},has:u?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:u?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),f="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,D(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,c)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[o]=function(){return this.entries()},t.prototype._find=function(e,t){if(!D(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(D(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function c(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new f}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[o]=function(){return this.keys()},e}(),h="function"==typeof WeakMap?WeakMap:function(){var e=a.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&a.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?a.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+c()}while(a.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:a.create()})}return e[t]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function c(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):o(t,e),t}return o(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),p=r?Symbol.for("@reflect-metadata:registry"):void 0,v=function(){var e;return!C(p)&&O(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[p]),C(e)&&(e=function(){var e,n,r,i;C(p)||void 0===t.Reflect||p in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,o=e.deleteMetadata,c=new h;return{isProviderFor:function(e,t){var n=c.get(e);return!(C(n)||!n.has(t))||!!i(e,t).length&&(C(n)&&(n=new d,c.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:o}}(t.Reflect));var o=new h,c={registerProvider:s,getProvider:a,setProvider:v};return c;function s(t){if(!Object.isExtensible(c))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case C(n):n=t;break;case n===t:break;case C(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}}function u(t,o){if(!C(n)){if(n.isProviderFor(t,o))return n;if(!C(r)){if(r.isProviderFor(t,o))return n;if(!C(i))for(var c=L(i);;){var s=U(c);if(!s)return;var u=k(s);if(u.isProviderFor(t,o))return B(c),u}}}if(!C(e)&&e.isProviderFor(t,o))return e}function a(e,t){var n,r=o.get(e);return C(r)||(n=r.get(t)),C(n)?(C(n=u(e,t))||(C(r)&&(r=new f,o.set(e,r)),r.set(t,n)),n):n}function l(e){if(C(e))throw new TypeError;return n===e||r===e||!C(i)&&i.has(e)}function v(e,t,n){if(!l(n))throw new Error("Metadata provider not registered.");var r=a(e,t);if(r!==n){if(!C(r))return!1;var i=o.get(e);C(i)&&(i=new f,o.set(e,i)),i.set(t,n)}return!0}}()),!C(p)&&O(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new h,n={isProviderFor:function(e,n){var r=t.get(e);return!C(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!C(i)&&M(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!C(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(C(i))return n;for(var o=L(i.keys()),c=0;;){var s=U(o);if(!s)return n.length=c,n;var u=k(s);try{n[c]=u}catch(e){try{B(o)}finally{throw e}}c++}},OrdinaryDeleteMetadata:function(e,n,i){var o=r(n,i,!1);if(C(o))return!1;if(!o.delete(e))return!1;if(0===o.size){var c=t.get(n);C(c)||(c.delete(i),0===c.size&&t.delete(c))}return!0}};return v.registerProvider(n),n;function r(r,i,o){var c=t.get(r),s=!1;if(C(c)){if(!o)return;c=new f,t.set(r,c),s=!0}var u=c.get(i);if(C(u)){if(!o)return;if(u=new f,c.set(i,u),!e.setProvider(r,i,n))throw c.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return u}}(v);function g(e,t,n){if(b(e,t,n))return!0;var r=V(t);return!T(r)&&g(e,r,n)}function b(e,t,n){var r=H(t,n,!1);return!C(r)&&M(r.OrdinaryHasOwnMetadata(e,t,n))}function y(e,t,n){if(b(e,t,n))return w(e,t,n);var r=V(t);return T(r)?void 0:y(e,r,n)}function w(e,t,n){var r=H(t,n,!1);if(!C(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function E(e,t,n,r){H(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function S(e,t){var n=A(e,t),r=V(e);if(null===r)return n;var i=S(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var o=new d,c=[],s=0,u=n;s<u.length;s++){var a=u[s];o.has(a)||(o.add(a),c.push(a))}for(var l=0,f=i;l<f.length;l++)a=f[l],o.has(a)||(o.add(a),c.push(a));return c}function A(e,t){var n=H(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function _(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function C(e){return void 0===e}function T(e){return null===e}function O(e){return"object"==typeof e?null!==e:"function"==typeof e}function x(e,t){switch(_(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=j(e,i);if(void 0!==r){var o=r.call(e,n);if(O(o))throw new TypeError;return o}return function(e,t){if("string"===t){var n=e.toString;if(N(n)&&!O(i=n.call(e)))return i;if(N(r=e.valueOf)&&!O(i=r.call(e)))return i}else{var r;if(N(r=e.valueOf)&&!O(i=r.call(e)))return i;var i,o=e.toString;if(N(o)&&!O(i=o.call(e)))return i}throw new TypeError}(e,"default"===n?"number":n)}function M(e){return!!e}function I(e){var t=x(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function R(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function N(e){return"function"==typeof e}function P(e){return"function"==typeof e}function D(e,t){return e===t||e!=e&&t!=t}function j(e,t){var n=e[t];if(null!=n){if(!N(n))throw new TypeError;return n}}function L(e){var t=j(e,o);if(!N(t))throw new TypeError;var n=t.call(e);if(!O(n))throw new TypeError;return n}function k(e){return e.value}function U(e){var t=e.next();return!t.done&&t}function B(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function H(e,t,n){var r=v.getProvider(e,t);if(!C(r))return r;if(n){if(v.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function W(e){return e.__=void 0,delete e.__,e}e("decorate",(function(e,t,n,r){if(C(n)){if(!R(e))throw new TypeError;if(!P(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!C(r)&&!T(r)){if(!P(r))throw new TypeError;t=r}}return t}(e,t)}if(!R(e))throw new TypeError;if(!O(t))throw new TypeError;if(!O(r)&&!C(r)&&!T(r))throw new TypeError;return T(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var o=(0,e[i])(t,n,r);if(!C(o)&&!T(o)){if(!O(o))throw new TypeError;r=o}}return r}(e,t,n=I(n),r)})),e("metadata",(function(e,t){return function(n,r){if(!O(n))throw new TypeError;if(!C(r)&&!function(e){switch(_(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;E(e,t,n,r)}})),e("defineMetadata",(function(e,t,n,r){if(!O(n))throw new TypeError;return C(r)||(r=I(r)),E(e,t,n,r)})),e("hasMetadata",(function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),g(e,t,n)})),e("hasOwnMetadata",(function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),b(e,t,n)})),e("getMetadata",(function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),y(e,t,n)})),e("getOwnMetadata",(function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),w(e,t,n)})),e("getMetadataKeys",(function(e,t){if(!O(e))throw new TypeError;return C(t)||(t=I(t)),S(e,t)})),e("getOwnMetadataKeys",(function(e,t){if(!O(e))throw new TypeError;return C(t)||(t=I(t)),A(e,t)})),e("deleteMetadata",(function(e,t,n){if(!O(t))throw new TypeError;if(C(n)||(n=I(n)),!O(t))throw new TypeError;C(n)||(n=I(n));var r=H(t,n,!1);return!C(r)&&r.OrdinaryDeleteMetadata(e,t,n)}))}(r,t),void 0===t.Reflect&&(t.Reflect=e)}()}(r||(r={}))},8838:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(9939);function i(e){return(0,r.T)((()=>e))}},8844:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(7199),i=n(7244);function o(e,t){return(0,r.N)((0,i.S)(e,t,arguments.length>=2,!0))}},8846:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(7199),i=n(5547),o=n(9265),c=n(2092),s=n(5690),u=n(6783);function a(...e){const t=(0,u.ms)(e);return(0,r.N)(((n,r)=>{const u=e.length,a=new Array(u);let l=e.map((()=>!1)),f=!1;for(let t=0;t<u;t++)(0,o.Tg)(e[t]).subscribe((0,i._)(r,(e=>{a[t]=e,f||l[t]||(l[t]=!0,(f=l.every(c.D))&&(l=null))}),s.l));n.subscribe((0,i._)(r,(e=>{if(f){const n=[e,...a];r.next(t?t(...n):n)}})))}))}},8878:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(4927),i=n(7199),o=n(5547);function c(e,t=0){const n=t>0?t:e;return(0,i.N)(((t,i)=>{let c=[new r.B],s=[],u=0;i.next(c[0].asObservable()),t.subscribe((0,o._)(i,(t=>{for(const e of c)e.next(t);const o=u-e+1;if(o>=0&&o%n===0&&c.shift().complete(),++u%n===0){const e=new r.B;c.push(e),i.next(e.asObservable())}}),(()=>{for(;c.length>0;)c.shift().complete();i.complete()}),(e=>{for(;c.length>0;)c.shift().error(e);i.error(e)}),(()=>{s=null,c=null})))}))}},8996:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(4701),i=n(9251),o=n(81),c=n(7166),s=n(3394);function u(e,t){if(e<0)throw new r.k;const n=arguments.length>=2;return u=>u.pipe((0,i.p)(((t,n)=>n===e)),(0,s.s)(1),n?(0,c.U)(t):(0,o.v)((()=>new r.k)))}},9034:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeV1Service=void 0;var o=n(6398),c=n(6943),s=n(8430),u=n(2733),a=n(7907),l=n(1274),f=n(3449),d=n(3708),h=n(370),p=function(){function e(e,t,n){this.challengeCommonService=e,this.interFrameCommunicatorService=t,this.iframeCreatorService=n}return e.prototype.run$=function(e,t,n,r,i,s){return this.validate(t,n,r,i),(0,o.merge)(this.open$(e,t,n,r,i,s),this.challengeCommonService.handleCancelEvent$(e)).pipe((0,c.first)())},e.prototype.open$=function(e,t,n,r,i,o){var s=this,u=this.createIframe(t,n,r,i,o);return this.challengeCommonService.initView(e,u),this.interFrameCommunicatorService.receive$(l.InterFrameCommunicatorMessageType.CHALLENGE_RESPONSE).pipe((0,c.map)((function(e){return s.mapStatus(e)})),(0,c.tap)((function(){s.challengeCommonService.closeChallengeWindow(e)})))},e.prototype.createIframe=function(e,t,n,r,i){var o=this,c=this.iframeCreatorService.getIframe(this.challengeCommonService.challengeIframeSelector,this.challengeCommonService.getChallengeWindowSize().x,this.challengeCommonService.getChallengeWindowSize().y),s=function(){c.contentWindow.document.head.appendChild(o.iframeCreatorService.getStylesMarkup()),c.contentWindow.document.body.innerHTML=o.iframeCreatorService.getIframeHTMLMarkup(o.challengeCommonService.challengeIframeFormSelector,t,[{name:"PaReq",value:e},{name:"MD",value:r},{name:"TermUrl",value:n},{name:"cardType",value:i}],i),c.removeEventListener("load",s),c.contentWindow.document.getElementById(o.challengeCommonService.challengeIframeFormSelector).submit()};return c.addEventListener("load",s),c},e.prototype.mapStatus=function(e){return{status:u.ResultActionCode.COMPLETED,description:"Challenge completed",data:e}},e.prototype.validate=function(e,t,n,r){[{name:"PaReq",value:e},{name:"challengeURL",value:t},{name:"termURL",value:n},{name:"merchantData",value:r}].forEach((function(e){if("string"!=typeof e.value||0===e.value.length)throw new a.ValidationError("doChallenge$() requires ".concat(e.name))}))},r([(0,s.Service)(),i("design:paramtypes",[h.ChallengeCommonService,d.InterFrameCommunicatorService,f.IframeCreatorService])],e)}();t.ChallengeV1Service=p},9061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(5930)},9115:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(4927);class i extends r.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(e){const{hasError:t,_hasValue:n,_value:r,thrownError:i,isStopped:o,_isComplete:c}=this;t?e.error(i):(o||c)&&(n&&e.next(r),e.complete())}next(e){this.isStopped||(this._value=e,this._hasValue=!0)}complete(){const{_hasValue:e,_value:t,_isComplete:n}=this;n||(this._isComplete=!0,e&&super.next(t),super.complete())}}},9127:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r={setTimeout(e,t,...n){const{delegate:i}=r;return(null==i?void 0:i.setTimeout)?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=r;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},9251:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)(((n,r)=>{let o=0;n.subscribe((0,i._)(r,(n=>e.call(t,n,o++)&&r.next(n))))}))}},9265:function(e,t,n){"use strict";n.d(t,{Tg:function(){return v}});var r=n(1635),i=n(3962),o=n(3905),c=n(4490),s=n(2816),u=n(450),a=n(1250),l=n(420),f=n(7981),d=n(1630),h=n(5095),p=n(1211);function v(e){if(e instanceof c.c)return e;if(null!=e){if((0,s.l)(e))return g=e,new c.c((e=>{const t=g[p.s]();if((0,d.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if((0,i.X)(e))return v=e,new c.c((e=>{for(let t=0;t<v.length&&!e.closed;t++)e.next(v[t]);e.complete()}));if((0,o.y)(e))return r=e,new c.c((e=>{r.then((t=>{e.closed||(e.next(t),e.complete())}),(t=>e.error(t))).then(null,h.m)}));if((0,u.T)(e))return m(e);if((0,l.x)(e))return n=e,new c.c((e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()}));if((0,f.U)(e))return t=e,m((0,f.C)(t))}var t,n,r,v,g;throw(0,a.L)(e)}function m(e){return new c.c((t=>{(function(e,t){var n,i,o,c;return(0,r.sH)(this,void 0,void 0,(function*(){try{for(n=(0,r.xN)(e);!(i=yield n.next()).done;){const e=i.value;if(t.next(e),t.closed)return}}catch(e){o={error:e}}finally{try{i&&!i.done&&(c=n.return)&&(yield c.call(n))}finally{if(o)throw o.error}}t.complete()}))})(e,t).catch((e=>t.error(e)))}))}},9300:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(2213),i=n(8496);function o(e=0,t=r.E){return e<0&&(e=0),(0,i.O)(e,e,t)}},9307:function(e,t,n){"use strict";function r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:function(){return r}})},9324:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(9939);function i(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return(0,r.T)((n=>{let r=n;for(let n=0;n<t;n++){const t=null==r?void 0:r[e[n]];if(void 0===t)return;r=t}return r}))}},9375:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r=n(7555),i=n(9251),o=n(3394),c=n(7166),s=n(81),u=n(2092);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,i.p)(((t,n)=>e(t,n,a))):u.D,(0,o.s)(1),n?(0,c.U)(t):(0,s.v)((()=>new r.G)))}},9445:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeService=void 0,n(5763);var o=n(6943),c=n(8430),s=n(5078),u=n(9952),a=n(9034),l=n(342),f=n(370),d=function(){function e(e,t,n,r){this.configService=e,this.challengeV1Service=t,this.challengeV2Service=n,this.challengeCommonService=r}return e.prototype.run$=function(e,t,n,r,i,c){var s=this;return this.configService.getConfig$().pipe((0,o.switchMap)((function(o){return e.isLowerThan(u.ThreeDSecureVersion.V2)?s.challengeV1Service.run$(o,t,n,i,c,r):s.challengeV2Service.run$(o,t,n,r)})))},e.prototype.cancelChallenge$=function(){var e=this;return this.configService.getConfig$().pipe((0,o.tap)((function(t){return e.challengeCommonService.cancelChallenge(t)})),(0,o.switchMap)((function(t){return e.challengeCommonService.handleCancelEvent$(t)})))},r([(0,c.Service)(),i("design:paramtypes",[s.ConfigService,a.ChallengeV1Service,l.ChallengeV2Service,f.ChallengeCommonService])],e)}();t.ChallengeService=d},9458:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(2092),i=n(3879),o=n(5678),c=n(3475),s=n(867);function u(e,t){return(0,o.F)((0,s.$)(),(0,c.Z)((t=>e(t))),t?(0,i.I)(t):r.D)}},9459:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(5186),i=n(1630),o=n(8073);function c(e,t){const n=(0,i.T)(e)?e:()=>e;return(0,i.T)(t)?(0,o.N)(t,{connector:n}):e=>new r.G(e,n)}},9493:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});const r=n(6124).A},9580:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHALLENGE_SCREEN_LOGO_AMEX=t.PROCESSING_SCREEN_LOGO_MASTERCARD=t.PROCESSING_SCREEN_LOGO_VISA=void 0,t.PROCESSING_SCREEN_LOGO_VISA='\n<svg xmlns="http://www.w3.org/2000/svg" width="112px" height="112px" viewBox="0 0 179.23 179.23">\n <defs>\n <style>.cls-1{fill:#fff;}.cls-2{fill:#1a1f71;}</style>\n </defs>\n <rect class="cls-1" x="0.32" y="0.13" width="178.91" height="178.91"/>\n <rect class="cls-2" x="4.27" y="89.59" width="171.02" height="85.51"/>\n <path class="cls-2" d="M71.05,25.14,54.21,65.32h-11L34.94,33.26c-.51-2-.94-2.7-2.47-3.54a43.34,43.34,0,0,0-10.25-3.41l.24-1.17H40.14a4.85,4.85,0,0,1,4.8,4.1l4.38,23.25L60.13,25.14ZM114.1,52.21c0-10.6-14.66-11.19-14.56-15.93,0-1.44,1.4-3,4.41-3.37a19.71,19.71,0,0,1,10.25,1.8L116,26.19a28.13,28.13,0,0,0-9.72-1.77c-10.27,0-17.5,5.46-17.56,13.28-.06,5.79,5.16,9,9.09,10.94s5.42,3.23,5.4,5c0,2.69-3.24,3.88-6.22,3.93A21.65,21.65,0,0,1,86.33,55l-1.89,8.81A31.64,31.64,0,0,0,96,66c10.92,0,18.06-5.4,18.1-13.75m27.13,13.11h9.62l-8.4-40.18h-8.86a4.74,4.74,0,0,0-4.43,2.95L113.57,65.32h10.91l2.17-6H140Zm-11.6-14.23L135.11,36l3.14,15.09ZM85.9,25.14,77.31,65.32H66.92l8.59-40.18Z"/>\n <path class="cls-1" d="M42,139.14a10.16,10.16,0,0,0,4.9,1.29c2.35,0,3.67-1.11,3.67-2.76s-1-2.44-3.58-3.38c-3.37-1.17-5.51-3-5.51-5.87,0-3.34,2.77-5.84,7.19-5.84a10.91,10.91,0,0,1,4.85,1l-.88,3a8.86,8.86,0,0,0-4.07-1c-2.34,0-3.34,1.24-3.34,2.44,0,1.56,1.18,2.29,3.89,3.31,3.52,1.35,5.2,3.12,5.2,6,0,3.28-2.46,6.08-7.67,6.08a12.13,12.13,0,0,1-5.51-1.27Z"/>\n <path class="cls-1" d="M68.73,134.17H61.08v6h8.55v3H57.39V122.88h11.8v3h-8.1v5.24h7.65v3Z"/>\n <path class="cls-1" d="M87.12,142.56a13.21,13.21,0,0,1-5.26.91c-6.45,0-10.36-4-10.36-10.21,0-6.67,4.66-10.68,10.86-10.68a11.45,11.45,0,0,1,4.91.88l-.79,3a9.77,9.77,0,0,0-4-.79c-4.12,0-7.11,2.59-7.11,7.46,0,4.46,2.59,7.29,7.08,7.29a11,11,0,0,0,4-.73Z"/>\n <path class="cls-1" d="M93.66,122.88v11.83c0,4,1.65,5.81,4.15,5.81,2.68,0,4.28-1.83,4.28-5.81V122.88h3.7v11.59c0,6.26-3.21,9-8.09,9-4.7,0-7.74-2.62-7.74-9V122.87h3.7Z"/>\n <path class="cls-1" d="M109.73,123.18a31.93,31.93,0,0,1,5.61-.45c2.92,0,4.88.48,6.26,1.62a5.18,5.18,0,0,1,1.74,4.1,5.33,5.33,0,0,1-3.7,5.06v.09c1.47.54,2.35,2,2.83,3.91a48.55,48.55,0,0,0,1.6,5.66h-3.8a26.75,26.75,0,0,1-1.36-4.79c-.6-2.65-1.53-3.49-3.64-3.55H113.4v8.34h-3.67Zm3.68,8.95h2.2c2.5,0,4-1.33,4-3.35,0-2.19-1.54-3.25-3.94-3.25a10.66,10.66,0,0,0-2.29.18Z"/>\n <path class="cls-1" d="M137.91,134.17h-7.65v6h8.55v3H126.56V122.88h11.8v3h-8.1v5.24h7.65Z"/>\n</svg>\n',t.PROCESSING_SCREEN_LOGO_MASTERCARD='\n<svg xmlns="http://www.w3.org/2000/svg" width="160px" height="160px" viewBox="0 0 177.12 177.46">\n <defs>\n <style>.cls-1{fill:none;}.cls-2{fill:#ff5f00;}.cls-3{fill:#eb001b;}.cls-4{fill:#f79e1b;}</style>\n </defs>\n <rect class="cls-1" width="177.12" height="177.46"/>\n <path d="M142.7,146.35h-.22v.59h-.11v-.59h-.22v-.11h.56Zm.86.59h-.11v-.57l-.2.5h-.12l-.2-.5v.57h-.11v-.7H143l.2.5.2-.5h.17Zm-105.33,0H36.7v-17.5h1.53Zm11.63-17.5a12,12,0,0,1,3.94.61,8.4,8.4,0,0,1,3,1.75,7.61,7.61,0,0,1,1.89,2.76,10.31,10.31,0,0,1,0,7.26,7.61,7.61,0,0,1-1.89,2.76,8.4,8.4,0,0,1-3,1.75,12,12,0,0,1-3.94.61H43.47v-17.5ZM45,130.89v14.6h4.86a10.21,10.21,0,0,0,3.38-.52,6.87,6.87,0,0,0,2.46-1.47,6.1,6.1,0,0,0,1.51-2.3,9.08,9.08,0,0,0,0-6,6.22,6.22,0,0,0-1.51-2.31,6.78,6.78,0,0,0-2.46-1.47,10.18,10.18,0,0,0-3.37-.51Zm33-1.65a9.41,9.41,0,0,1,2.18.25,9,9,0,0,1,2,.72,7.49,7.49,0,0,1,1.66,1.13,7,7,0,0,1,1.27,1.5l-1.27.85a6,6,0,0,0-1.07-1.24,6.73,6.73,0,0,0-1.36-.94,7,7,0,0,0-1.6-.59,7.52,7.52,0,0,0-1.77-.21,7.82,7.82,0,0,0-2.91.54,6.85,6.85,0,0,0-2.34,1.52,7.2,7.2,0,0,0-1.56,2.36,8.45,8.45,0,0,0,0,6.1,7.2,7.2,0,0,0,1.56,2.36,6.85,6.85,0,0,0,2.34,1.52,7.63,7.63,0,0,0,2.91.54,8.05,8.05,0,0,0,1.76-.2,6.69,6.69,0,0,0,3-1.52,6.38,6.38,0,0,0,1.07-1.25l1.25.91a7.52,7.52,0,0,1-1.29,1.47,8,8,0,0,1-1.65,1.11,9,9,0,0,1-1.94.71,9.78,9.78,0,0,1-5.71-.42,8.34,8.34,0,0,1-4.72-4.67,9.92,9.92,0,0,1,0-7.23,8.34,8.34,0,0,1,4.72-4.67,9.38,9.38,0,0,1,3.51-.65Zm12.26,8a4.38,4.38,0,0,1,.82-1,4.25,4.25,0,0,1,1-.69,5.23,5.23,0,0,1,1.15-.4,5.38,5.38,0,0,1,1.2-.13,5.67,5.67,0,0,1,2,.33,4.42,4.42,0,0,1,1.57.94,4.17,4.17,0,0,1,1,1.49,5.28,5.28,0,0,1,.36,2V147H97.93v-6.77a4.87,4.87,0,0,0-.25-1.6,3.15,3.15,0,0,0-1.93-2,4.59,4.59,0,0,0-1.6-.26,4.24,4.24,0,0,0-1.54.28,3.7,3.7,0,0,0-2.09,2,4.08,4.08,0,0,0-.31,1.58V147H88.79V129h1.42ZM108.7,135a5.23,5.23,0,0,1,3.92,1.68,5.89,5.89,0,0,1,1.16,1.9,6.87,6.87,0,0,1,.44,2.42v.59h-9.86a5,5,0,0,0,.46,1.82,4.19,4.19,0,0,0,2.41,2.2,5.09,5.09,0,0,0,1.69.29,5.27,5.27,0,0,0,2.21-.45,6.14,6.14,0,0,0,1.76-1.23l.76,1a7.3,7.3,0,0,1-1.14.94,6.32,6.32,0,0,1-1.19.6,5.84,5.84,0,0,1-1.23.31,8.9,8.9,0,0,1-1.26.09,6.19,6.19,0,0,1-2.37-.44,5.46,5.46,0,0,1-1.87-1.24,5.67,5.67,0,0,1-1.22-1.91,6.65,6.65,0,0,1-.44-2.46,6.59,6.59,0,0,1,.44-2.44,5.8,5.8,0,0,1,1.19-2,5.48,5.48,0,0,1,1.85-1.26,5.86,5.86,0,0,1,2.33-.48Zm0,1.26a4.18,4.18,0,0,0-3,1.16,4.53,4.53,0,0,0-.92,1.29,5.27,5.27,0,0,0-.46,1.65h8.41a5.05,5.05,0,0,0-.41-1.67,4.22,4.22,0,0,0-.88-1.29,3.9,3.9,0,0,0-2.79-1.14ZM122.94,135a6.15,6.15,0,0,1,2.43.47,5.27,5.27,0,0,1,1.91,1.36l-.92,1a5.13,5.13,0,0,0-1.54-1.07,4.81,4.81,0,0,0-3.7,0,4.34,4.34,0,0,0-1.44,1,4.59,4.59,0,0,0-1,1.5,5.38,5.38,0,0,0,0,3.79,4.38,4.38,0,0,0,2.4,2.47,4.74,4.74,0,0,0,3.72,0,5.38,5.38,0,0,0,1.56-1.06l.89,1a5.39,5.39,0,0,1-1.91,1.36,6.1,6.1,0,0,1-2.42.47,6.32,6.32,0,0,1-2.43-.46,5.71,5.71,0,0,1-3.15-3.19,6.78,6.78,0,0,1,0-4.82,5.66,5.66,0,0,1,3.15-3.2A6.35,6.35,0,0,1,123,135Zm9.13,5.15H134l5-5h1.8l-5.6,5.55,5.7,6.21h-1.81l-5-5.51h-1.91v5.51h-1.5v-18h1.42ZM51.5,120.45v-6a3.56,3.56,0,0,0-3.31-3.8,3.38,3.38,0,0,0-.45,0,3.69,3.69,0,0,0-3.36,1.7,3.5,3.5,0,0,0-3.16-1.7,3.15,3.15,0,0,0-2.8,1.42v-1.18H36.34v9.56h2.1v-5.3a2.23,2.23,0,0,1,1.92-2.52,2,2,0,0,1,.42,0c1.38,0,2.08.9,2.08,2.52v5.32H45v-5.3a2.25,2.25,0,0,1,1.94-2.52,1.79,1.79,0,0,1,.4,0c1.42,0,2.1.9,2.1,2.52v5.32Zm31.06-9.59h-3.4V108h-2.1v2.9H75.12v1.87h1.94v4.36c0,2.22.86,3.54,3.32,3.54a4.88,4.88,0,0,0,2.6-.74l-.6-1.78a3.81,3.81,0,0,1-1.82.62c-1,0-1.38-.64-1.38-1.6v-4.4h3.38Zm17.74-.24a2.83,2.83,0,0,0-2.52,1.4v-1.16H95.72v9.56H97.8v-5.36c0-1.58.68-2.46,2-2.46a3.41,3.41,0,0,1,1.3.24l.64-2a4.44,4.44,0,0,0-1.48-.26Zm-26.82,1a7.13,7.13,0,0,0-3.9-1c-2.42,0-4,1.16-4,3.06,0,1.56,1.16,2.52,3.3,2.82l1,.14c1.14.16,1.68.46,1.68,1,0,.74-.76,1.16-2.18,1.16a5.12,5.12,0,0,1-3.18-1l-1,1.62a6.87,6.87,0,0,0,4.14,1.24c2.76,0,4.36-1.3,4.36-3.12s-1.26-2.56-3.34-2.86l-1-.14c-.9-.12-1.62-.3-1.62-.94s.68-1.12,1.82-1.12a6.09,6.09,0,0,1,3,.82Zm55.71-1a2.83,2.83,0,0,0-2.52,1.4v-1.16h-2.06v9.56h2.08v-5.36c0-1.58.68-2.46,2-2.46a3.41,3.41,0,0,1,1.3.24l.64-2a4.44,4.44,0,0,0-1.48-.26Zm-26.8,5a4.82,4.82,0,0,0,4.65,5h.45a5,5,0,0,0,3.44-1.14l-1-1.68a4.2,4.2,0,0,1-2.5.86,3.07,3.07,0,0,1,0-6.12,4.2,4.2,0,0,1,2.5.86l1-1.68a5,5,0,0,0-3.44-1.14,4.85,4.85,0,0,0-5.1,4.55c0,.15,0,.3,0,.45Zm19.48,0v-4.78h-2.08V112a3.64,3.64,0,0,0-3-1.4,5,5,0,1,0,0,10,3.64,3.64,0,0,0,3-1.4v1.16h2.08Zm-7.74,0a2.82,2.82,0,1,1,0,.23A1.77,1.77,0,0,1,114.13,115.62Zm-25.1-5a5,5,0,0,0,.14,10,5.83,5.83,0,0,0,3.92-1.34l-1-1.54a4.55,4.55,0,0,1-2.78,1,2.65,2.65,0,0,1-2.86-2.34h7.11v-.8c0-3-1.86-5-4.54-5Zm0,1.86a2.37,2.37,0,0,1,2.42,2.32h-5A2.45,2.45,0,0,1,89,112.48Zm52.17,3.16V107h-2.08v5a3.64,3.64,0,0,0-3-1.4,5,5,0,0,0,0,10,3.64,3.64,0,0,0,3-1.4v1.16h2.08Zm-7.74,0a2.82,2.82,0,1,1,0,.23C133.45,115.79,133.46,115.72,133.46,115.64Zm-70.23,0v-4.78H61.15V112a3.64,3.64,0,0,0-3-1.4,5,5,0,0,0,0,10,3.64,3.64,0,0,0,3-1.4v1.16h2.08Zm-7.74,0a2.82,2.82,0,1,1,0,.23,1.77,1.77,0,0,1,0-.23ZM144.66,119a1,1,0,0,1,.38.07,1,1,0,0,1,.52.5,1,1,0,0,1,0,.74,1,1,0,0,1-.52.5,1,1,0,0,1-1.28-.5,1,1,0,0,1,0-.74,1,1,0,0,1,.52-.5,1,1,0,0,1,.38-.07Zm0,1.69a.72.72,0,0,0,.29-.06.72.72,0,0,0,0-1.32.73.73,0,0,0-.58,0,.78.78,0,0,0-.24.16.74.74,0,0,0,0,1,.78.78,0,0,0,.24.16.73.73,0,0,0,.29.07Zm.06-1.19a.4.4,0,0,1,.26.08.28.28,0,0,1,0,.39.4.4,0,0,1-.21.09l.29.33h-.23l-.27-.33h-.09v.33h-.19v-.88Zm-.22.17v.24h.22a.24.24,0,0,0,.12,0,.14.14,0,0,0,0-.09.14.14,0,0,0,0-.09.24.24,0,0,0-.12,0Z"/>\n <rect class="cls-2" x="72.81" y="38.01" width="31.5" height="56.61"/>\n <path id="_Path_" data-name=" Path " class="cls-3" d="M74.81,66.32A35.94,35.94,0,0,1,88.56,38a36,36,0,1,0,0,56.61A35.92,35.92,0,0,1,74.81,66.32Z"/>\n <path class="cls-4" d="M143.37,88.63V87.47h.47v-.24h-1.19v.24h.47v1.16Zm2.31,0v-1.4h-.36l-.42,1-.42-1h-.37v1.4h.26v-1l.39.91H145l.39-.91v1.06Z"/>\n <path class="cls-4" d="M146.81,66.32a36,36,0,0,1-58.25,28.3,36,36,0,0,0,0-56.61,36,36,0,0,1,58.25,28.3Z"/>\n</svg>\n',t.CHALLENGE_SCREEN_LOGO_AMEX='\n<?xml version="1.0" encoding="UTF-8"?>\n<svg version="1.1" viewBox="0 0 1000 997.52" width="120px" height="120px" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n <g transform="translate(-55.5 -1002.3)">\n <path d="m55.5 1002.3h997.52v538.49l-49.374 77.148 49.374 68.661v313.22h-997.52v-507.63l30.859-35.488-30.859-33.945z" fill="#016fd0"/>\n <path d="m249.14 1697.4v-156.61h165.82l17.791 23.192 18.379-23.192h601.89v145.81s-15.74 10.644-33.945 10.801h-333.28l-20.058-24.687v24.687h-65.73v-42.142s-8.9788 5.8825-28.39 5.8825h-22.373v36.259h-99.52l-17.765-23.69-18.038 23.69z" fill="#fff"/>\n <path d="m55.5 1422.8 37.393-87.177h64.668l21.221 48.833v-48.833h80.388l12.633 35.295 12.247-35.295h360.86v17.744s18.97-17.744 50.146-17.744l117.08 0.4092 20.855 48.194v-48.603h67.273l18.515 27.683v-27.683h67.89v156.61h-67.89l-17.744-27.773v27.773h-98.838l-9.9396-24.687h-26.571l-9.7778 24.687h-67.029c-26.826 0-43.974-17.382-43.974-17.382v17.382h-101.06l-20.058-24.687v24.687h-375.8l-9.9327-24.687h-26.486l-9.8625 24.687h-46.199z" fill="#fff"/>\n <path d="m106.13 1354.9-50.435 117.26h32.836l9.3059-23.482h54.1l9.2577 23.482h33.559l-50.387-117.26h-38.236zm18.66 27.291 16.49 41.033h-33.029l16.538-41.033z" fill="#016fd0"/>\n <path d="m198.22 1472.2v-117.26l46.662 0.1733 27.14 75.604 26.49-75.778h46.288v117.26h-29.316v-86.405l-31.076 86.405h-25.71l-31.162-86.405v86.405z" fill="#016fd0"/>\n <path d="m364.86 1472.2v-117.26h95.663v26.23h-66.038v20.058h64.495v24.687h-64.495v20.83h66.038v25.459z" fill="#016fd0"/>\n <path d="m477.5 1354.9v117.26h29.316v-41.66h12.344l35.15 41.66h35.825l-38.574-43.202c15.831-1.3359 32.161-14.923 32.161-36.018 0-24.676-19.368-38.043-40.985-38.043h-65.238zm29.316 26.23h33.511c8.0388 0 13.887 6.2882 13.887 12.344 0 7.7905-7.5767 12.344-13.453 12.344h-33.945v-24.687z" fill="#016fd0"/>\n <path d="m625.62 1472.2h-29.933v-117.26h29.933z" fill="#016fd0"/>\n <path d="m696.6 1472.2h-6.4611c-31.262 0-50.242-24.629-50.242-58.15 0-34.349 18.768-59.114 58.246-59.114h32.402v27.773h-33.587c-16.026 0-27.36 12.507-27.36 31.63 0 22.71 12.96 32.248 31.63 32.248h7.7147z" fill="#016fd0"/>\n <path d="m760.39 1354.9-50.435 117.26h32.836l9.3059-23.482h54.1l9.2577 23.482h33.559l-50.387-117.26h-38.236zm18.66 27.291 16.49 41.033h-33.029l16.538-41.033z" fill="#016fd0"/>\n <path d="m852.43 1472.2v-117.26h37.272l47.59 73.676v-73.676h29.316v117.26h-36.066l-48.796-75.604v75.604z" fill="#016fd0"/>\n <path d="m269.2 1677.4v-117.26h95.663v26.23h-66.038v20.058h64.495v24.687h-64.495v20.83h66.038v25.459z" fill="#016fd0"/>\n <path d="m737.95 1677.4v-117.26h95.663v26.23h-66.038v20.058h64.187v24.687h-64.187v20.83h66.038v25.459z" fill="#016fd0"/>\n <path d="m368.57 1677.4 46.578-57.909-47.687-59.355h36.934l28.4 36.693 28.496-36.693h35.488l-47.06 58.632 46.664 58.632h-36.929l-27.575-36.115-26.905 36.115z" fill="#016fd0"/>\n <path d="m499.87 1560.1v117.26h30.088v-37.031h30.859c26.111 0 45.903-13.852 45.903-40.792 0-22.316-15.523-39.442-42.094-39.442h-64.756zm30.088 26.519h32.498c8.4355 0 14.465 5.1701 14.465 13.501 0 7.8262-5.9992 13.501-14.562 13.501h-32.402v-27.002z" fill="#016fd0"/>\n <path d="m619.45 1560.1v117.26h29.316v-41.66h12.344l35.15 41.66h35.825l-38.574-43.203c15.831-1.3361 32.161-14.923 32.161-36.018 0-24.676-19.368-38.043-40.985-38.043h-65.238zm29.316 26.23h33.511c8.0388 0 13.887 6.2881 13.887 12.344 0 7.7906-7.5767 12.344-13.453 12.344h-33.945v-24.687z" fill="#016fd0"/>\n <path d="m847.19 1677.4v-25.459h58.671c8.6812 0 12.44-4.6912 12.44-9.8363 0-4.9296-3.747-9.9134-12.44-9.9134h-26.513c-23.046 0-35.88-14.041-35.88-35.121 0-18.802 11.753-36.934 45.999-36.934h57.089l-12.344 26.384h-49.374c-9.4382 0-12.344 4.9526-12.344 9.6821 0 4.8612 3.5904 10.222 10.801 10.222h27.773c25.69 0 36.838 14.572 36.838 33.656 0 20.516-12.422 37.32-38.236 37.32z" fill="#016fd0"/>\n <path d="m954.78 1677.4v-25.459h58.671c8.6812 0 12.44-4.6912 12.44-9.8363 0-4.9296-3.7471-9.9134-12.44-9.9134h-26.513c-23.046 0-35.88-14.041-35.88-35.121 0-18.802 11.753-36.934 45.999-36.934h57.089l-12.344 26.384h-49.374c-9.4382 0-12.344 4.9526-12.344 9.6821 0 4.8612 3.5904 10.222 10.801 10.222h27.773c25.69 0 36.838 14.572 36.838 33.656 0 20.516-12.422 37.32-38.236 37.32z" fill="#016fd0"/>\n </g>\n</svg>\n'},9616:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(1630),i=n(7199),o=n(5547),c=n(2092);function s(e,t,n){const s=(0,r.T)(e)||t||n?{next:e,error:t,complete:n}:e;return s?(0,i.N)(((e,t)=>{var n;null===(n=s.subscribe)||void 0===n||n.call(s);let r=!0;e.subscribe((0,o._)(t,(e=>{var n;null===(n=s.next)||void 0===n||n.call(s,e),t.next(e)}),(()=>{var e;r=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()}),(e=>{var n;r=!1,null===(n=s.error)||void 0===n||n.call(s,e),t.error(e)}),(()=>{var e,t;r&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)})))})):c.D}},9661:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-method-url-iframe {\n width: 0;\n height: 0;\n border: 0;\n}\n","",{version:3,sources:["webpack://./src/modules/method-url/MethodUrl.css"],names:[],mappings:"AAAA;EACE,QAAQ;EACR,SAAS;EACT,SAAS;AACX",sourcesContent:[".tp-3ds-method-url-iframe {\n width: 0;\n height: 0;\n border: 0;\n}\n"],sourceRoot:""}]),t.A=c},9670:function(e,t,n){"use strict";n.d(t,{w:function(){return l}});var r=n(5514),i=n(7199),o=n(5547),c=n(9307),s=n(2213),u=n(6783),a=n(8114);function l(e,...t){var n,l;const f=null!==(n=(0,u.lI)(t))&&void 0!==n?n:s.E,d=null!==(l=t[0])&&void 0!==l?l:null,h=t[1]||1/0;return(0,i.N)(((t,n)=>{let i=[],s=!1;const u=e=>{const{buffer:t,subs:r}=e;r.unsubscribe(),(0,c.o)(i,e),n.next(t),s&&l()},l=()=>{if(i){const t=new r.yU;n.add(t);const o={buffer:[],subs:t};i.push(o),(0,a.N)(t,f,(()=>u(o)),e)}};null!==d&&d>=0?(0,a.N)(n,f,l,d,!0):s=!0,l();const p=(0,o._)(n,(e=>{const t=i.slice();for(const n of t){const{buffer:t}=n;t.push(e),h<=t.length&&u(n)}}),(()=>{for(;null==i?void 0:i.length;)n.next(i.shift().buffer);null==p||p.unsubscribe(),n.complete(),n.unsubscribe()}),void 0,(()=>i=null));t.subscribe(p)}))}},9693:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c};Object.defineProperty(t,"__esModule",{value:!0}),t.SessionIdService=void 0;var i=n(8430),o=n(3221),c=function(){function e(){this.sessionId=null}return e.prototype.createId=function(){this.sessionId=(0,o.v4)()},e.prototype.getId=function(){return this.sessionId},r([(0,i.Service)()],e)}();t.SessionIdService=c},9717:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(196),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},9765:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});const r=(0,n(4772).L)((e=>function(t){e(this),this.name="SequenceError",this.message=t}))},9833:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(8597),i=n(6783),o=n(7199);function c(...e){const t=(0,i.lI)(e);return(0,o.N)(((n,i)=>{(t?(0,r.x)(e,n,t):(0,r.x)(e,n)).subscribe(i)}))}},9878:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(628);class i{constructor(e,t=i.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,n){return new this.schedulerActionCtor(this,e).schedule(n,t)}}i.now=r.U.now},9912:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeDisplayMode=void 0,function(e){e.POPUP="POPUP",e.INLINE="INLINE"}(n||(t.ChallengeDisplayMode=n={}))},9939:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)(((n,r)=>{let o=0;n.subscribe((0,i._)(r,(n=>{r.next(e.call(t,n,o++))})))}))}},9952:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThreeDSecureVersion=void 0;var n=function(){function e(t){if(!t||!t.match(e.versionNumberPattern))throw new Error("Invalid 3DS version: ".concat(t));var n=t.split("."),r=n[0],i=n[1],o=n[2];this.major=Number(r),this.minor=Number(i),this.patch=Number(o)}return Object.defineProperty(e,"V2",{get:function(){return new e("2.0.0")},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this.toString()===e.toString()},e.prototype.isHigherThan=function(e){return this.major!==e.major?this.major>e.major:this.minor!==e.minor?this.minor>e.minor:this.patch>e.patch},e.prototype.isHigherOrEqual=function(e){return this.isEqual(e)||this.isHigherThan(e)},e.prototype.isLowerThan=function(e){return!this.isHigherOrEqual(e)},e.prototype.isLowerOrEqual=function(e){return!this.isHigherThan(e)},e.prototype.toString=function(){return"".concat(this.major,".").concat(this.minor,".").concat(this.patch)},e.versionNumberPattern=/^\d+\.\d+\.\d+$/,e}();t.ThreeDSecureVersion=n}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return function(){"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.ProcessingScreenMode=e.ResultActionCode=e.ChallengeDisplayMode=e.LoggingLevel=e.ThreeDSecureVersion=e.ThreeDSecureFactory=void 0,n(9061),n(5228);var t=n(4887);Object.defineProperty(e,"ThreeDSecureFactory",{enumerable:!0,get:function(){return t.ThreeDSecureFactory}});var i=n(8206);Object.defineProperty(e,"LoggingLevel",{enumerable:!0,get:function(){return i.LoggingLevel}});var o=n(9912);Object.defineProperty(e,"ChallengeDisplayMode",{enumerable:!0,get:function(){return o.ChallengeDisplayMode}});var c=n(2733);Object.defineProperty(e,"ResultActionCode",{enumerable:!0,get:function(){return c.ResultActionCode}});var s=n(7753);Object.defineProperty(e,"ProcessingScreenMode",{enumerable:!0,get:function(){return s.ProcessingScreenMode}});var u=n(9952);Object.defineProperty(e,"ThreeDSecureVersion",{enumerable:!0,get:function(){return u.ThreeDSecureVersion}})}(),r}()}));
|
|
2
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("ThreeDSecure",[],t):"object"==typeof exports?exports.ThreeDSecure=t():e.ThreeDSecure=t()}(this,function(){return function(){var e={17:function(e,t,n){"use strict";n.d(t,{$:function(){return i}});var r=n(1277);function i(...e){return(0,r.x)(...e)}},81:function(e,t,n){"use strict";n.d(t,{v:function(){return c}});var r=n(7555),i=n(7199),o=n(5547);function c(e=s){return(0,i.N)((t,n)=>{let r=!1;t.subscribe((0,o._)(n,e=>{r=!0,n.next(e)},()=>r?n.complete():n.error(e())))})}function s(){return new r.G}},91:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2213),i=n(6718),o=n(8496);function c(e,t=r.E){return(0,i.s)(()=>(0,o.O)(e,t))}},109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TOKEN_HTTP_CLIENT=t.TOKEN_WINDOW=t.TOKEN_DOCUMENT=void 0;var r=n(8430);t.TOKEN_DOCUMENT=new r.Token("document"),t.TOKEN_WINDOW=new r.Token("window"),t.TOKEN_HTTP_CLIENT=new r.Token("HttpClient")},129:function(e,t,n){"use strict";function r(e,t){return e.reduce((e,n,r)=>(e[n]=t[r],e),{})}n.d(t,{e:function(){return r}})},132:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(7051),i=n(7199);function o(e,t){return(0,i.N)((n,i)=>{let o=t;return(0,r.n)((t,n)=>e(o,t,n),(e,t)=>(o=t,t))(n).subscribe(i),()=>{o=null}})}},196:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-inline-view iframe {\n overflow: hidden;\n height: 100%;\n min-height: 200px;\n width: 100%;\n}\n\n.tp-3ds-inline-view {\n height: 100%;\n}\n\n.tp-3ds-inline-view-wrapper {\n height: calc(100% - 18px);\n}\n\n.tp-3ds-inline-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-inline-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n font-size: 12px;\n margin: 10px;\n padding: 0;\n}\n\n.tp-3ds-inline-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n","",{version:3,sources:["webpack://./src/shared/services/inline-view/InlineView.css"],names:[],mappings:"AAAA;EACE,gBAAgB;EAChB,YAAY;EACZ,iBAAiB;EACjB,WAAW;AACb;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,yBAAyB;AAC3B;;AAEA;EACE,aAAa;EACb,yBAAyB;AAC3B;;AAEA;EACE,SAAS;EACT,6BAA6B;EAC7B,gBAAgB;EAChB,kBAAkB;EAClB,eAAe;EACf,YAAY;EACZ,UAAU;AACZ;;AAEA;EACE,0BAA0B;EAC1B,eAAe;AACjB",sourcesContent:[".tp-3ds-inline-view iframe {\n overflow: hidden;\n height: 100%;\n min-height: 200px;\n width: 100%;\n}\n\n.tp-3ds-inline-view {\n height: 100%;\n}\n\n.tp-3ds-inline-view-wrapper {\n height: calc(100% - 18px);\n}\n\n.tp-3ds-inline-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-inline-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n font-size: 12px;\n margin: 10px;\n padding: 0;\n}\n\n.tp-3ds-inline-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n"],sourceRoot:""}]),t.A=c},198:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(3475),i=n(1630);function o(e,t,n=1/0){return(0,i.T)(t)?(0,r.Z)(()=>e,t,n):("number"==typeof t&&(n=t),(0,r.Z)(()=>e,n))}},342:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeV2Service=void 0;var o=n(6398),c=n(6943),s=n(8430),u=n(9693),a=n(7907),l=n(1274),f=n(4193),d=n(3449),h=n(3708),p=n(370),v=n(9952),m=function(){function e(e,t,n,r,i){this.challengeCommonService=e,this.sessionIdService=t,this.base64TranscoderService=n,this.iframeCreatorService=r,this.interFrameCommunicatorService=i}return e.prototype.run$=function(e,t,n,r){var i=this.base64TranscoderService.decode(t);return this.challengeCommonService.validate(n),this.validateCReq(i),(0,o.merge)(this.open$(e,t,n,r),this.challengeCommonService.handleCancelEvent$(e,i.threeDSServerTransID)).pipe((0,c.first)())},e.prototype.open$=function(e,t,n,r){var i=this,o=this.createIframe(t,n,r);return this.challengeCommonService.initView(e,o),this.interFrameCommunicatorService.receive$(l.InterFrameCommunicatorMessageType.CHALLENGE_RESPONSE).pipe((0,c.map)(function(e){return i.mapStatus(i.base64TranscoderService.decode(e))}),(0,c.tap)(function(){i.challengeCommonService.closeChallengeWindow(e)}))},e.prototype.createIframe=function(e,t,n){var r=this,i=this.iframeCreatorService.getIframe(this.challengeCommonService.challengeIframeSelector,this.challengeCommonService.getChallengeWindowSize().x,this.challengeCommonService.getChallengeWindowSize().y),o=this.base64TranscoderService.encodeString(this.sessionIdService.getId()),c=function(){i.contentWindow.document.head.appendChild(r.iframeCreatorService.getStylesMarkup()),i.contentWindow.document.body.innerHTML=r.iframeCreatorService.getIframeHTMLMarkup(r.challengeCommonService.challengeIframeFormSelector,t,[{name:"creq",value:e},{name:"threeDSSessionData",value:o},{name:"cardType",value:n}],n),i.removeEventListener("load",c),i.contentWindow.document.getElementById(r.challengeCommonService.challengeIframeFormSelector).submit()};return i.addEventListener("load",c),i},e.prototype.mapStatus=function(e){return{status:e.actionCode,description:e.errorDescription,transactionId:e.threeDSServerTransID,data:{cres:this.base64TranscoderService.encode(e.cres)}}},e.prototype.validateCReq=function(e){if("string"!=typeof e.threeDSServerTransID||0===e.threeDSServerTransID.length)throw new a.ValidationError("doChallenge$() requires valid CReq threeDSServerTransID property");var t;try{t=new v.ThreeDSecureVersion(e.messageVersion)}catch(e){throw new a.ValidationError("doChallenge$() in version 2 requires valid CReq.messageVersion property")}if(t.isLowerThan(v.ThreeDSecureVersion.V2))throw new a.ValidationError("doChallenge$() in version 2 requires CReq.messageVersion property to be >= 2.0.0");if("string"!=typeof e.acsTransID||0===e.acsTransID.length)throw new a.ValidationError("doChallenge$() requires valid CReq acsTransId property")},r([(0,s.Service)(),i("design:paramtypes",[p.ChallengeCommonService,u.SessionIdService,f.Base64TranscoderService,d.IframeCreatorService,h.InterFrameCommunicatorService])],e)}();t.ChallengeV2Service=m},347:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(4490),i=n(9265),o=n(4927),c=n(7199),s=n(5547);function u(e,t,n,u){return(0,c.N)((c,a)=>{let l;t&&"function"!=typeof t?({duration:n,element:l,connector:u}=t):l=t;const f=new Map,d=e=>{f.forEach(e),e(a)},h=e=>d(t=>t.error(e));let p=0,v=!1;const m=new s.H(a,t=>{try{const c=e(t);let d=f.get(c);if(!d){f.set(c,d=u?u():new o.B);const e=function(e,t){const n=new r.c(e=>{p++;const n=t.subscribe(e);return()=>{n.unsubscribe(),0===--p&&v&&m.unsubscribe()}});return n.key=e,n}(c,d);if(a.next(e),n){const t=(0,s._)(d,()=>{d.complete(),null==t||t.unsubscribe()},void 0,void 0,()=>f.delete(c));m.add((0,i.Tg)(n(e)).subscribe(t))}}d.next(l?l(t):t)}catch(e){h(e)}},()=>d(e=>e.complete()),h,()=>f.clear(),()=>(v=!0,0===p));c.subscribe(m)})}},358:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var r=n(2213),i=n(1130),o=n(8496);function c(e,t=r.E){const n=(0,o.O)(e,t);return(0,i.o)(()=>n)}},370:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeCommonService=void 0;var c=n(6943),s=n(8430),u=n(9912),a=n(2733),l=n(9693),f=n(7907),d=n(109),h=n(5269),p=n(5441),v=n(4607),m=function(){function e(e,t,n,r,i){this.popupViewService=e,this.inlineViewService=t,this.sessionIdService=n,this.domMethodsService=r,this.window=i,this.challengeIframeSelector="tp-3ds-challenge-iframe",this.challengeIframeFormSelector="tp-3ds-challenge-form"}return e.prototype.handleCancelEvent$=function(e,t){var n={status:a.ResultActionCode.CANCELLED,description:"Challenge cancelled",transactionId:t};return e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP?this.popupViewService.cancelled$().pipe((0,c.map)(function(){return n})):this.inlineViewService.cancelled$().pipe((0,c.map)(function(){return n}))},e.prototype.getChallengeWindowSize=function(){var e=this.window.innerWidth;return{x:e<390?e-20:390,y:400}},e.prototype.closeChallengeWindow=function(e){e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP?this.popupViewService.close():this.inlineViewService.close()},e.prototype.cancelChallenge=function(e){e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP?this.popupViewService.cancel():this.inlineViewService.cancel()},e.prototype.validate=function(e){if("string"!=typeof this.sessionIdService.getId()||0===this.sessionIdService.getId().length)throw new f.ValidationError("doChallenge$() requires initialization of the library");if("string"!=typeof e||0===e.length)throw new f.ValidationError("doChallenge$() requires challenge URL")},e.prototype.initView=function(e,t){if(e.challengeDisplayMode===u.ChallengeDisplayMode.POPUP)this.popupViewService.init(t,e.translations);else if(e.challengeDisplayMode===u.ChallengeDisplayMode.INLINE){var n=this.domMethodsService.getElement("#".concat(e.challengeDisplayInlineTargetElementId));if(!n)throw new f.ValidationError("challengeDisplayInlineTargetElementId must exist in the DOM when using challengeDisplayMode: ".concat(u.ChallengeDisplayMode.INLINE,". Element with ID = ").concat(e.challengeDisplayInlineTargetElementId," was not found"));this.inlineViewService.init(t,n,e.translations)}},r([(0,s.Service)(),o(4,(0,s.Inject)(d.TOKEN_WINDOW)),i("design:paramtypes",[v.PopupViewService,p.InlineViewService,l.SessionIdService,h.DomMethodsService,Window])],e)}();t.ChallengeCommonService=m},380:function(e,t,n){"use strict";n.d(t,{O:function(){return c}});var r=n(2668),i=n(7199),o=n(5547);function c(){return(0,i.N)((e,t)=>{e.subscribe((0,o._)(t,e=>{t.next(r.Eg.createNext(e))},()=>{t.next(r.Eg.createComplete()),t.complete()},e=>{t.next(r.Eg.createError(e)),t.complete()}))})}},420:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(2656),i=n(1630);function o(e){return(0,i.T)(null==e?void 0:e[r.l])}},421:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(2668),i=n(7199),o=n(5547);function c(){return(0,i.N)((e,t)=>{e.subscribe((0,o._)(t,e=>(0,r.gV)(e,t)))})}},450:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(1630);function i(e){return Symbol.asyncIterator&&(0,r.T)(null==e?void 0:e[Symbol.asyncIterator])}},468:function(e,t,n){"use strict";n.d(t,{D:function(){return s}});const{isArray:r}=Array,{getPrototypeOf:i,prototype:o,keys:c}=Object;function s(e){if(1===e.length){const n=e[0];if(r(n))return{args:n,keys:null};if((t=n)&&"object"==typeof t&&i(t)===o){const e=c(n);return{args:e.map(e=>n[e]),keys:e}}}var t;return{args:e,keys:null}}},522:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,i._)(r,i=>{e.call(t,i,o++,n)||(r.next(!1),r.complete())},()=>{r.next(!0),r.complete()}))})}},526:function(e,t,n){"use strict";n.d(t,{M:function(){return l},w:function(){return f}});var r=n(2213),i=n(6542),o=n(7199),c=n(9265),s=n(4772),u=n(5547),a=n(8114);const l=(0,s.L)(e=>function(t=null){e(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=t});function f(e,t){const{first:n,each:s,with:l=d,scheduler:f=(null!=t?t:r.E),meta:h=null}=(0,i.v)(e)?{first:e}:"number"==typeof e?{each:e}:e;if(null==n&&null==s)throw new TypeError("No timeout provided.");return(0,o.N)((e,t)=>{let r,i,o=null,d=0;const p=e=>{i=(0,a.N)(t,f,()=>{try{r.unsubscribe(),(0,c.Tg)(l({meta:h,lastValue:o,seen:d})).subscribe(t)}catch(e){t.error(e)}},e)};r=e.subscribe((0,u._)(t,e=>{null==i||i.unsubscribe(),d++,t.next(o=e),s>0&&p(s)},void 0,void 0,()=>{(null==i?void 0:i.closed)||null==i||i.unsubscribe(),o=null})),!d&&p(null!=n?"number"==typeof n?n:+n-f.now():s)})}function d(e){throw new l(e)}},540:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},604:function(e,t,n){"use strict";n.d(t,{Q:function(){return c}});var r=n(8114),i=n(7199),o=n(5547);function c(e,t=0){return(0,i.N)((n,i)=>{n.subscribe((0,o._)(i,n=>(0,r.N)(i,e,()=>i.next(n),t),()=>(0,r.N)(i,e,()=>i.complete(),t),n=>(0,r.N)(i,e,()=>i.error(n),t)))})}},628:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r={now(){return(r.delegate||Date).now()},delegate:void 0}},769:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(3686),i=n(962);function o(e,t,n){let o,c=!1;return e&&"object"==typeof e?({bufferSize:o=1/0,windowTime:t=1/0,refCount:c=!1,scheduler:n}=e):o=null!=e?e:1/0,(0,i.u)({connector:()=>new r.m(o,t,n),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:c})}},808:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(7199),i=n(5547),o=n(9265),c=n(5690);function s(e){return(0,r.N)((t,n)=>{let r=!1;const s=(0,i._)(n,()=>{null==s||s.unsubscribe(),r=!0},c.l);(0,o.Tg)(e).subscribe(s),t.subscribe((0,i._)(n,e=>r&&n.next(e)))})}},867:function(e,t,n){"use strict";n.d(t,{$:function(){return c}});var r=n(4935),i=n(7199);const o=(e,t)=>(e.push(t),e);function c(){return(0,i.N)((e,t)=>{(0,r.T)(o,[])(e).subscribe(t)})}},962:function(e,t,n){"use strict";n.d(t,{u:function(){return s}});var r=n(9265),i=n(4927),o=n(3263),c=n(7199);function s(e={}){const{connector:t=()=>new i.B,resetOnError:n=!0,resetOnComplete:s=!0,resetOnRefCountZero:a=!0}=e;return e=>{let i,l,f,d=0,h=!1,p=!1;const v=()=>{null==l||l.unsubscribe(),l=void 0},m=()=>{v(),i=f=void 0,h=p=!1},g=()=>{const e=i;m(),null==e||e.unsubscribe()};return(0,c.N)((e,c)=>{d++,p||h||v();const b=f=null!=f?f:t();c.add(()=>{d--,0!==d||p||h||(l=u(g,a))}),b.subscribe(c),!i&&d>0&&(i=new o.Ms({next:e=>b.next(e),error:e=>{p=!0,v(),l=u(m,n,e),b.error(e)},complete:()=>{h=!0,v(),l=u(m,s),b.complete()}}),(0,r.Tg)(e).subscribe(i))})(e)}}function u(e,t,...n){if(!0===t)return void e();if(!1===t)return;const i=new o.Ms({next:()=>{i.unsubscribe(),e()}});return(0,r.Tg)(t(...n)).subscribe(i)}},1013:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(9251);function i(e){return(0,r.p)((t,n)=>e<=n)}},1067:function(e,t,n){"use strict";n.d(t,{$:function(){return o}});var r=n(4490),i=n(1630);function o(e,t){const n=(0,i.T)(e)?e:()=>e,o=e=>e.error(n());return new r.c(t?e=>t.schedule(o,0,e):o)}},1113:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1114:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(5810),i=n(7199);function o(...e){return(0,i.N)((t,n)=>{(0,r.y)(t,...e).subscribe(n)})}},1130:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var r=n(8597),i=n(3394),o=n(5350),c=n(8838),s=n(3475),u=n(9265);function a(e,t){return t?n=>(0,r.x)(t.pipe((0,i.s)(1),(0,o.w)()),n.pipe(a(e))):(0,s.Z)((t,n)=>(0,u.Tg)(e(t,n)).pipe((0,i.s)(1),(0,c.u)(t)))}},1176:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(7199),i=n(2510);function o(e,t){return(0,r.N)((0,i.k)(e,t,"index"))}},1211:function(e,t,n){"use strict";n.d(t,{s:function(){return r}});const r="function"==typeof Symbol&&Symbol.observable||"@@observable"},1223:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(5514),i=n(7199),o=n(9265),c=n(5547),s=n(5690),u=n(9307);function a(e,t){return(0,i.N)((n,i)=>{const a=[];(0,o.Tg)(e).subscribe((0,c._)(i,e=>{const n=[];a.push(n);const l=new r.yU;l.add((0,o.Tg)(t(e)).subscribe((0,c._)(i,()=>{(0,u.o)(a,n),i.next(n),l.unsubscribe()},s.l)))},s.l)),n.subscribe((0,c._)(i,e=>{for(const t of a)t.push(e)},()=>{for(;a.length>0;)i.next(a.shift());i.complete()}))})}},1250:function(e,t,n){"use strict";function r(e){return new TypeError(`You provided ${null!==e&&"object"==typeof e?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}n.d(t,{L:function(){return r}})},1274:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.InterFrameCommunicatorMessageType=void 0,function(e){e.METHOD_URL_RESPONSE="TP_METHOD_URL_RESPONSE",e.CHALLENGE_RESPONSE="TP_CHALLENGE_RESPONSE",e.BROWSER_DATA_RESPONSE="TP_BROWSER_DATA_RESPONSE"}(n||(t.InterFrameCommunicatorMessageType=n={}))},1275:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(6579);function i(...e){return(0,r.z)(...e)}},1277:function(e,t,n){"use strict";n.d(t,{x:function(){return s}});var r=n(7199),i=n(2402),o=n(6783),c=n(4942);function s(...e){const t=(0,o.lI)(e);return(0,r.N)((n,r)=>{(0,i.K)()((0,c.H)([n,...e],t)).subscribe(r)})}},1354:function(e){"use strict";e.exports=function(e){var t=e[1],n=e[3];if(!n)return t;if("function"==typeof btoa){var r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),o="/*# ".concat(i," */");return[t].concat([o]).join("\n")}return[t].join("\n")}},1430:function(e,t,n){"use strict";n.d(t,{u:function(){return u}});var r=n(5900),i=n(7199),o=n(5547),c=n(9265),s=n(8496);function u(e){let t,n=1/0;return null!=e&&("object"==typeof e?({count:n=1/0,delay:t}=e):n=e),n<=0?()=>r.w:(0,i.N)((e,r)=>{let i,u=0;const a=()=>{if(null==i||i.unsubscribe(),i=null,null!=t){const e="number"==typeof t?(0,s.O)(t):(0,c.Tg)(t(u)),n=(0,o._)(r,()=>{n.unsubscribe(),l()});e.subscribe(n)}else l()},l=()=>{let t=!1;i=e.subscribe((0,o._)(r,void 0,()=>{++u<n?i?a():t=!0:r.complete()})),t&&a()};l()})}},1434:function(e,t,n){"use strict";n.d(t,{Y:function(){return s}});var r=n(9265),i=n(4927),o=n(7199),c=n(5547);function s(e){return(0,o.N)((t,n)=>{let o,s,u=!1,a=!1,l=!1;const f=()=>l&&a&&(n.complete(),!0),d=()=>{l=!1,o=t.subscribe((0,c._)(n,void 0,()=>{l=!0,!f()&&(s||(s=new i.B,(0,r.Tg)(e(s)).subscribe((0,c._)(n,()=>{o?d():u=!0},()=>{a=!0,f()}))),s).next()})),u&&(o.unsubscribe(),o=null,u=!1,d())};d()})}},1548:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(5237),i=n(2092);function o(){return(0,r.p)(i.D)}},1551:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});var r=n(9265),i=n(7199),o=n(5690),c=n(5547);function s(e){return(0,i.N)((t,n)=>{let i=!1,s=null;t.subscribe((0,c._)(n,e=>{i=!0,s=e})),(0,r.Tg)(e).subscribe((0,c._)(n,()=>{if(i){i=!1;const e=s;s=null,n.next(e)}},o.l))})}},1612:function(e,t,n){"use strict";n.d(t,{w:function(){return c}});var r=n(7388),i=n(7199),o=n(2092);function c(...e){return e.length?(0,i.N)((t,n)=>{(0,r.w)([t,...e])(n)}):o.D}},1630:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,{T:function(){return r}})},1635:function(e,t,n){"use strict";function r(e,t,n,r){return new(n||(n=Promise))(function(i,o){function c(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(c,s)}u((r=r.apply(e,t||[])).next())})}function i(e){return this instanceof i?(this.v=e,this):new i(e)}function o(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),c=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),s("next"),s("throw"),s("return",function(e){return function(t){return Promise.resolve(t).then(e,l)}}),r[Symbol.asyncIterator]=function(){return this},r;function s(e,t){o[e]&&(r[e]=function(t){return new Promise(function(n,r){c.push([e,t,n,r])>1||u(e,t)})},t&&(r[e]=t(r[e])))}function u(e,t){try{(n=o[e](t)).value instanceof i?Promise.resolve(n.value.v).then(a,l):f(c[0][2],n)}catch(e){f(c[0][3],e)}var n}function a(e){u("next",e)}function l(e){u("throw",e)}function f(e,t){e(t),c.shift(),c.length&&u(c[0][0],c[0][1])}}function c(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,i,(t=e[n](t)).done,t.value)})}}}n.d(t,{AQ:function(){return o},N3:function(){return i},sH:function(){return r},xN:function(){return c}}),Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},1674:function(e,t,n){"use strict";n.d(t,{g:function(){return u}});var r=n(4490),i=n(3075),o=n(5547),c=n(5690),s=n(9265);function u(...e){const t=(0,i.K)(e);return new r.c(e=>{let n=0;const r=()=>{if(n<t.length){let i;try{i=(0,s.Tg)(t[n++])}catch(e){return void r()}const u=new o.H(e,void 0,c.l,c.l);i.subscribe(u),u.add(r)}else e.complete()};r()})}},1684:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(9661),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},1755:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(3475),i=n(1630);function o(e,t){return(0,i.T)(t)?(0,r.Z)(e,t,1):(0,r.Z)(e,1)}},1894:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(1114);function i(...e){return(0,r.y)(...e)}},1938:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,'.tp-3ds-popup-view {\n content: "";\n min-width: 100vw;\n height: 100vh;\n z-index: 999999;\n}\n\n.tp-3ds-popup-view-overlay {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n padding: 20px;\n box-sizing: border-box;\n box-shadow: 0 6px 22px -3px #000;\n}\n\n.tp-3ds-popup-view-wrapper {\n height: 100%;\n}\n\n.tp-3ds-popup-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-popup-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n top: -10px;\n left: 10px;\n font-size: 12px;\n}\n\n.tp-3ds-popup-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-popup-view-overlay {\n padding: 5px;\n width: 100%;\n }\n}\n',"",{version:3,sources:["webpack://./src/shared/services/popup-view/PopupView.css"],names:[],mappings:"AAAA;EACE,WAAW;EACX,gBAAgB;EAChB,aAAa;EACb,eAAe;AACjB;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;EAClB,SAAS;EACT,QAAQ;EACR,gCAAgC;EAChC,aAAa;EACb,sBAAsB;EACtB,gCAAgC;AAClC;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,aAAa;EACb,yBAAyB;AAC3B;;AAEA;EACE,SAAS;EACT,6BAA6B;EAC7B,gBAAgB;EAChB,kBAAkB;EAClB,UAAU;EACV,UAAU;EACV,eAAe;AACjB;;AAEA;EACE,0BAA0B;EAC1B,eAAe;AACjB;;AAEA;EACE;IACE,YAAY;IACZ,WAAW;EACb;AACF",sourcesContent:['.tp-3ds-popup-view {\n content: "";\n min-width: 100vw;\n height: 100vh;\n z-index: 999999;\n}\n\n.tp-3ds-popup-view-overlay {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n padding: 20px;\n box-sizing: border-box;\n box-shadow: 0 6px 22px -3px #000;\n}\n\n.tp-3ds-popup-view-wrapper {\n height: 100%;\n}\n\n.tp-3ds-popup-view-header {\n display: flex;\n justify-content: flex-end;\n}\n\n.tp-3ds-popup-view-header-button {\n border: 0;\n background-color: transparent;\n font-weight: 600;\n position: relative;\n top: -10px;\n left: 10px;\n font-size: 12px;\n}\n\n.tp-3ds-popup-view-header-button:hover {\n text-decoration: underline;\n cursor: pointer;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-popup-view-overlay {\n padding: 5px;\n width: 100%;\n }\n}\n'],sourceRoot:""}]),t.A=c},1966:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(1755),i=n(1630);function o(e,t){return(0,i.T)(t)?(0,r.H)(()=>e,t):(0,r.H)(()=>e)}},2025:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(3686),i=n(9459),o=n(1630);function c(e,t,n,c){n&&!(0,o.T)(n)&&(c=n);const s=(0,o.T)(n)?n:void 0;return n=>(0,i.f)(new r.m(e,t,c),s)(n)}},2059:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.ProcessingScreenService=void 0;var c=n(6943),s=n(8430),u=n(5078),a=n(109),l=n(7753),f=n(5269),d=n(2744);n(6779);var h=n(9580),p=function(){function e(e,t,n,r){this.domMethodsService=e,this.loggerService=t,this.configService=n,this.document=r,this.classNames={mainContainer:"tp-3ds-processing-screen",overlay:"tp-3ds-overlay",screenWrapper:"tp-3ds-processing-screen-wrapper",wrapperAttachToElement:"tp-3ds-processing-screen-wrapper-attach-to-element",wrapperVisa:"tp-3ds-processing-screen-wrapper-visa",wrapperMasterCard:"tp-3ds-processing-screen-wrapper-mastercard",wrapperAmex:"tp-3ds-processing-screen-wrapper-amex",loader:"tp-3ds-processing-screen-loader",loaderWithLogo:"tp-3ds-processing-screen-loader-with-logo",logo:"tp-3ds-processing-screen-logo"},this.processingScreenWrapperElement=this.domMethodsService.createElement("div"),this.domMethodsService.addClassesToElement(this.processingScreenWrapperElement,[this.classNames.overlay,this.classNames.screenWrapper]),this.loaderElement=this.domMethodsService.createElement("div"),this.domMethodsService.addClassesToElement(this.loaderElement,[this.classNames.loader])}return e.prototype.show=function(e){var t=this;this.configService.getConfig$().pipe((0,c.first)()).subscribe(function(n){if(n.processingScreenMode===l.ProcessingScreenMode.OVERLAY)t.connectTo(t.document.body,e,l.ProcessingScreenMode.OVERLAY);else{var r=t.domMethodsService.getElement("#".concat(n.processingScreenWrapperElementId));t.connectTo(r,e,l.ProcessingScreenMode.ATTACH_TO_ELEMENT)}})},e.prototype.hide=function(){var e=this;this.configService.getConfig$().pipe((0,c.first)()).subscribe(function(t){if(t.processingScreenMode===l.ProcessingScreenMode.OVERLAY)e.disconnectFrom(e.document.body);else{var n=e.domMethodsService.getElement("#".concat(t.processingScreenWrapperElementId));e.disconnectFrom(n)}})},e.prototype.connectTo=function(e,t,n){try{if(!e)throw new Error("Could not connect Processing Loader. targetElement: ".concat(JSON.stringify(e)," not found. You must define existing targetElement."));switch(this.processingScreenWrapperElement.innerText="",this.domMethodsService.removeClassesFromElement(this.loaderElement,[this.classNames.loaderWithLogo]),this.domMethodsService.addClassesToElement(e,[this.classNames.mainContainer]),this.domMethodsService.addToElement(this.processingScreenWrapperElement,e),this.domMethodsService.addToElement(this.loaderElement,this.processingScreenWrapperElement),n===l.ProcessingScreenMode.ATTACH_TO_ELEMENT&&this.domMethodsService.addClassesToElement(this.processingScreenWrapperElement,[this.classNames.wrapperAttachToElement]),t){case"VISA":case"ELECTRON":case"DELTA":case"VPAY":case"PURCHASING":this.addCardLogo(h.PROCESSING_SCREEN_LOGO_VISA,this.classNames.wrapperVisa);break;case"MASTERCARD":case"MASTERCARDDEBIT":case"MAESTRO":this.addCardLogo(h.PROCESSING_SCREEN_LOGO_MASTERCARD,this.classNames.wrapperMasterCard);break;case"AMEX":this.addCardLogo(h.CHALLENGE_SCREEN_LOGO_AMEX,this.classNames.wrapperAmex)}}catch(e){this.loggerService.error(e)}},e.prototype.disconnectFrom=function(e){var t=this.domMethodsService.getElement(".".concat(this.classNames.screenWrapper));try{if(!e)throw new Error("Could not disconnect Processing Loader. targetElement: ".concat(JSON.stringify(e)," not found. You must define existing targetElement."));this.domMethodsService.removeClassesFromElement(e,[this.classNames.overlay,this.classNames.mainContainer]),t&&this.domMethodsService.removeElement(t)}catch(e){this.loggerService.error(e)}},e.prototype.addCardLogo=function(e,t){var n=this.domMethodsService.createElement("div",{class:this.classNames.logo});n.innerHTML=e,this.domMethodsService.addToElement(n,this.processingScreenWrapperElement),this.domMethodsService.addClassesToElement(this.processingScreenWrapperElement,[t]),this.domMethodsService.addClassesToElement(this.loaderElement,[this.classNames.loaderWithLogo])},r([(0,s.Service)(),o(3,(0,s.Inject)(a.TOKEN_DOCUMENT)),i("design:paramtypes",[f.DomMethodsService,d.LoggerService,u.ConfigService,Document])],e)}();t.ProcessingScreenService=p},2082:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(7199),i=n(5547),o=n(9265);function c(e,t=(e,t)=>e===t){return(0,r.N)((n,r)=>{const c={buffer:[],complete:!1},s={buffer:[],complete:!1},u=e=>{r.next(e),r.complete()},a=(e,n)=>{const o=(0,i._)(r,r=>{const{buffer:i,complete:o}=n;0===i.length?o?u(!1):e.buffer.push(r):!t(r,i.shift())&&u(!1)},()=>{e.complete=!0;const{complete:t,buffer:r}=n;t&&u(0===r.length),null==o||o.unsubscribe()});return o};n.subscribe(a(c,s)),(0,o.Tg)(e).subscribe(a(s,c))})}},2092:function(e,t,n){"use strict";function r(e){return e}n.d(t,{D:function(){return r}})},2213:function(e,t,n){"use strict";n.d(t,{E:function(){return i},b:function(){return o}});var r=n(4337);const i=new(n(5372).q)(r.R),o=i},2232:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(4761),i=n(5186);function o(e){return t=>{const n=new r.t(e);return new i.G(t,()=>n)}}},2307:function(e,t,n){"use strict";n.d(t,{B:function(){return r}});const r=n(1548).C},2345:function(e,t,n){"use strict";n.d(t,{J:function(){return l}});var r=n(4927),i=n(5514),o=n(7199),c=n(9265),s=n(5547),u=n(5690),a=n(9307);function l(e,t){return(0,o.N)((n,o)=>{const l=[],f=e=>{for(;0<l.length;)l.shift().error(e);o.error(e)};(0,c.Tg)(e).subscribe((0,s._)(o,e=>{const n=new r.B;l.push(n);const d=new i.yU;let h;try{h=(0,c.Tg)(t(e))}catch(e){return void f(e)}o.next(n.asObservable()),d.add(h.subscribe((0,s._)(o,()=>{(0,a.o)(l,n),n.complete(),d.unsubscribe()},u.l,f)))},u.l)),n.subscribe((0,s._)(o,e=>{const t=l.slice();for(const n of t)n.next(e)},()=>{for(;0<l.length;)l.shift().complete();o.complete()},f,()=>{for(;0<l.length;)l.shift().unsubscribe()}))})}},2402:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});var r=n(5386);function i(){return(0,r.U)(1)}},2510:function(e,t,n){"use strict";n.d(t,{I:function(){return o},k:function(){return c}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)(c(e,t,"value"))}function c(e,t,n){const r="index"===n;return(n,o)=>{let c=0;n.subscribe((0,i._)(o,i=>{const s=c++;e.call(t,i,s,n)&&(o.next(r?s:i),o.complete())},()=>{o.next(r?-1:void 0),o.complete()}))}}},2513:function(e,t,n){"use strict";n.d(t,{x:function(){return u}});var r=n(4927),i=n(7199),o=n(5547),c=n(5690),s=n(9265);function u(e){return(0,i.N)((t,n)=>{let i=new r.B;n.next(i.asObservable());const u=e=>{i.error(e),n.error(e)};return t.subscribe((0,o._)(n,e=>null==i?void 0:i.next(e),()=>{i.complete(),n.complete()},u)),(0,s.Tg)(e).subscribe((0,o._)(n,()=>{i.complete(),n.next(i=new r.B)},c.l,u)),()=>{null==i||i.unsubscribe(),i=null}})}},2540:function(e,t,n){"use strict";n.d(t,{i:function(){return o}});var r=n(7199),i=n(6971);function o(e,t,n=1/0){return(0,r.N)((r,o)=>{let c=t;return(0,i.h)(r,o,(t,n)=>e(c,t,n),n,e=>{c=e},!1,void 0,()=>c=null)})}},2561:function(e,t,n){"use strict";n.d(t,{$:function(){return r}});const r={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},2656:function(e,t,n){"use strict";n.d(t,{l:function(){return r}});const r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},2668:function(e,t,n){"use strict";n.d(t,{Eg:function(){return u},Ij:function(){return r},gV:function(){return a}});var r,i=n(5900),o=n(5664),c=n(1067),s=n(1630);!function(e){e.NEXT="N",e.ERROR="E",e.COMPLETE="C"}(r||(r={}));class u{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(e){return a(this,e)}do(e,t,n){const{kind:r,value:i,error:o}=this;return"N"===r?null==e?void 0:e(i):"E"===r?null==t?void 0:t(o):null==n?void 0:n()}accept(e,t,n){var r;return(0,s.T)(null===(r=e)||void 0===r?void 0:r.next)?this.observe(e):this.do(e,t,n)}toObservable(){const{kind:e,value:t,error:n}=this,r="N"===e?(0,o.of)(t):"E"===e?(0,c.$)(()=>n):"C"===e?i.w:0;if(!r)throw new TypeError(`Unexpected notification kind ${e}`);return r}static createNext(e){return new u("N",e)}static createError(e){return new u("E",void 0,e)}static createComplete(){return u.completeNotification}}function a(e,t){var n,r,i;const{kind:o,value:c,error:s}=e;if("string"!=typeof o)throw new TypeError('Invalid notification, missing "kind"');"N"===o?null===(n=t.next)||void 0===n||n.call(t,c):"E"===o?null===(r=t.error)||void 0===r||r.call(t,s):null===(i=t.complete)||void 0===i||i.call(t)}u.completeNotification=new u("C")},2681:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(4927),i=n(7199),o=n(5547),c=n(9265);function s(e){return(0,i.N)((t,n)=>{let i,s;const u=e=>{i.error(e),n.error(e)},a=()=>{let t;null==s||s.unsubscribe(),null==i||i.complete(),i=new r.B,n.next(i.asObservable());try{t=(0,c.Tg)(e())}catch(e){return void u(e)}t.subscribe(s=(0,o._)(n,a,a,u))};a(),t.subscribe((0,o._)(n,e=>i.next(e),()=>{i.complete(),n.complete()},u,()=>{null==s||s.unsubscribe(),i=null}))})}},2733:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ResultActionCode=void 0,function(e){e.SUCCESS="SUCCESS",e.FAILURE="FAILURE",e.ERROR="ERROR",e.NOACTION="NOACTION",e.CANCELLED="CANCELLED",e.COMPLETED="COMPLETED",e.UNCOMPLETED="UNCOMPLETED"}(n||(t.ResultActionCode=n={}))},2744:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c};Object.defineProperty(t,"__esModule",{value:!0}),t.LoggerService=void 0;var i=n(8430),o=n(6398),c=n(8206),s=n(3586),u=function(){function e(){this.logsSubject$=new o.Subject,this.loggingLevel=c.LoggingLevel.ERROR,this.logs$=this.logsSubject$.asObservable()}return e.prototype.init=function(e){var t=this;this.loggingLevel=e,this.logsSubject$.subscribe(function(e){return t.logToConsole(e)})},e.prototype.getErrorMessage=function(e){return e instanceof Error?"3dsJS dev error\n\n".concat(e.message):"3dsJS dev error\n\n".concat(e)},e.prototype.error=function(e){var t="string"==typeof e?e:e.stack;this.logMessage(s.LogType.ERROR,"".concat(t))},e.prototype.warning=function(e){this.logMessage(s.LogType.WARNING,"3dsJS dev warning\n\n".concat(e))},e.prototype.debug=function(e){this.logMessage(s.LogType.DEBUG,"3dsJS dev debug\n\n".concat(e))},e.prototype.logMessage=function(e,t){this.logsSubject$.next({type:e,message:t,time:new Date})},e.prototype.logToConsole=function(e){if(this.loggingLevel!==c.LoggingLevel.ERROR||e.type===s.LogType.ERROR)switch(e.type){case s.LogType.ERROR:console.error(e.message);break;case s.LogType.WARNING:console.warn(e.message);break;case s.LogType.DEBUG:console.debug(e.message)}},r([(0,i.Service)()],e)}();t.LoggerService=u},2762:function(e,t,n){"use strict";n.d(t,{q:function(){return c}});var r=n(2213),i=n(1551),o=n(9300);function c(e,t=r.E){return(0,i.X)((0,o.Y)(e,t))}},2816:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(1211),i=n(1630);function o(e){return(0,i.T)(e[r.s])}},2933:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(7199),i=n(5547);function o(e){return(0,r.N)((t,n)=>{let r=!1,o=0;t.subscribe((0,i._)(n,t=>(r||(r=!e(t,o++)))&&n.next(t)))})}},2957:function(e,t,n){"use strict";n.d(t,{F:function(){return c}});var r=n(2092),i=n(7199),o=n(5547);function c(e,t=r.D){return e=null!=e?e:s,(0,i.N)((n,r)=>{let i,c=!0;n.subscribe((0,o._)(r,n=>{const o=t(n);!c&&e(i,o)||(c=!1,i=o,r.next(n))}))})}function s(e,t){return e===t}},3e3:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-challenge-iframe {\n border: 0;\n outline: 0;\n overflow: hidden;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-challenge-iframe {\n width: 100%;\n }\n}\n","",{version:3,sources:["webpack://./src/modules/challenge/Challenge.css"],names:[],mappings:"AAAA;EACE,SAAS;EACT,UAAU;EACV,gBAAgB;AAClB;;AAEA;EACE;IACE,WAAW;EACb;AACF",sourcesContent:[".tp-3ds-challenge-iframe {\n border: 0;\n outline: 0;\n overflow: hidden;\n}\n\n@media (max-width: 440px) {\n .tp-3ds-challenge-iframe {\n width: 100%;\n }\n}\n"],sourceRoot:""}]),t.A=c},3075:function(e,t,n){"use strict";n.d(t,{K:function(){return i}});const{isArray:r}=Array;function i(e){return 1===e.length&&r(e[0])?e[0]:e}},3146:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(2213),i=n(6542),o=n(526);function c(e,t,n){let c,s,u;if(n=null!=n?n:r.b,(0,i.v)(e)?c=e:"number"==typeof e&&(s=e),!t)throw new TypeError("No observable provided to switch to");if(u=()=>t,null==c&&null==s)throw new TypeError("No timeout provided.");return(0,o.w)({first:c,each:s,scheduler:n,with:u})}},3164:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(7199);function i(e,t=0){return(0,r.N)((n,r)=>{r.add(e.schedule(()=>n.subscribe(r),t))})}},3221:function(e,t,n){"use strict";n.r(t),n.d(t,{MAX:function(){return r},NIL:function(){return i},parse:function(){return s},stringify:function(){return l},v1:function(){return m},v1ToV6:function(){return g},v3:function(){return I},v4:function(){return N},v5:function(){return k},v6:function(){return U},v6ToV1:function(){return B},v7:function(){return W},validate:function(){return c},version:function(){return $}});var r="ffffffff-ffff-ffff-ffff-ffffffffffff",i="00000000-0000-0000-0000-000000000000",o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i,c=function(e){return"string"==typeof e&&o.test(e)},s=function(e){if(!c(e))throw TypeError("Invalid UUID");let t;return Uint8Array.of((t=parseInt(e.slice(0,8),16))>>>24,t>>>16&255,t>>>8&255,255&t,(t=parseInt(e.slice(9,13),16))>>>8,255&t,(t=parseInt(e.slice(14,18),16))>>>8,255&t,(t=parseInt(e.slice(19,23),16))>>>8,255&t,(t=parseInt(e.slice(24,36),16))/1099511627776&255,t/4294967296&255,t>>>24&255,t>>>16&255,t>>>8&255,255&t)};const u=[];for(let e=0;e<256;++e)u.push((e+256).toString(16).slice(1));function a(e,t=0){return(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase()}var l=function(e,t=0){const n=a(e,t);if(!c(n))throw TypeError("Stringified UUID is invalid");return n};let f;const d=new Uint8Array(16);function h(){if(!f){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");f=crypto.getRandomValues.bind(crypto)}return f(d)}const p={};function v(e,t,n,r,i,o,c=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(o){if(c<0||c+16>o.length)throw new RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`)}else o=new Uint8Array(16),c=0;t??=Date.now(),n??=0,r??=16383&(e[8]<<8|e[9]),i??=e.slice(10,16);const s=(1e4*(268435455&(t+=122192928e5))+n)%4294967296;o[c++]=s>>>24&255,o[c++]=s>>>16&255,o[c++]=s>>>8&255,o[c++]=255&s;const u=t/4294967296*1e4&268435455;o[c++]=u>>>8&255,o[c++]=255&u,o[c++]=u>>>24&15|16,o[c++]=u>>>16&255,o[c++]=r>>>8|128,o[c++]=255&r;for(let e=0;e<6;++e)o[c++]=i[e];return o}var m=function(e,t,n){let r;const i=e?._v6??!1;if(e){const t=Object.keys(e);1===t.length&&"_v6"===t[0]&&(e=void 0)}if(e)r=v(e.random??e.rng?.()??h(),e.msecs,e.nsecs,e.clockseq,e.node,t,n);else{const e=Date.now(),o=h();!function(e,t,n){e.msecs??=-1/0,e.nsecs??=0,t===e.msecs?(e.nsecs++,e.nsecs>=1e4&&(e.node=void 0,e.nsecs=0)):t>e.msecs?e.nsecs=0:t<e.msecs&&(e.node=void 0),e.node||(e.node=n.slice(10,16),e.node[0]|=1,e.clockseq=16383&(n[8]<<8|n[9])),e.msecs=t}(p,e,o),r=v(o,p.msecs,p.nsecs,i?void 0:p.clockseq,i?void 0:p.node,t,n)}return t??a(r)};function g(e){const t=function(e){return Uint8Array.of((15&e[6])<<4|e[7]>>4&15,(15&e[7])<<4|(240&e[4])>>4,(15&e[4])<<4|(240&e[5])>>4,(15&e[5])<<4|(240&e[0])>>4,(15&e[0])<<4|(240&e[1])>>4,(15&e[1])<<4|(240&e[2])>>4,96|15&e[2],e[3],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}("string"==typeof e?s(e):e);return"string"==typeof e?a(t):t}function b(e){return 14+(e+64>>>9<<4)+1}function y(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function w(e,t,n,r,i,o){return y((c=y(y(t,e),y(r,o)))<<(s=i)|c>>>32-s,n);var c,s}function E(e,t,n,r,i,o,c){return w(t&n|~t&r,e,t,i,o,c)}function S(e,t,n,r,i,o,c){return w(t&r|n&~r,e,t,i,o,c)}function A(e,t,n,r,i,o,c){return w(t^n^r,e,t,i,o,c)}function _(e,t,n,r,i,o,c){return w(n^(t|~r),e,t,i,o,c)}var C=function(e){return function(e){const t=new Uint8Array(4*e.length);for(let n=0;n<4*e.length;n++)t[n]=e[n>>2]>>>n%4*8&255;return t}(function(e,t){const n=new Uint32Array(b(t)).fill(0);n.set(e),n[t>>5]|=128<<t%32,n[n.length-1]=t,e=n;let r=1732584193,i=-271733879,o=-1732584194,c=271733878;for(let t=0;t<e.length;t+=16){const n=r,s=i,u=o,a=c;r=E(r,i,o,c,e[t],7,-680876936),c=E(c,r,i,o,e[t+1],12,-389564586),o=E(o,c,r,i,e[t+2],17,606105819),i=E(i,o,c,r,e[t+3],22,-1044525330),r=E(r,i,o,c,e[t+4],7,-176418897),c=E(c,r,i,o,e[t+5],12,1200080426),o=E(o,c,r,i,e[t+6],17,-1473231341),i=E(i,o,c,r,e[t+7],22,-45705983),r=E(r,i,o,c,e[t+8],7,1770035416),c=E(c,r,i,o,e[t+9],12,-1958414417),o=E(o,c,r,i,e[t+10],17,-42063),i=E(i,o,c,r,e[t+11],22,-1990404162),r=E(r,i,o,c,e[t+12],7,1804603682),c=E(c,r,i,o,e[t+13],12,-40341101),o=E(o,c,r,i,e[t+14],17,-1502002290),i=E(i,o,c,r,e[t+15],22,1236535329),r=S(r,i,o,c,e[t+1],5,-165796510),c=S(c,r,i,o,e[t+6],9,-1069501632),o=S(o,c,r,i,e[t+11],14,643717713),i=S(i,o,c,r,e[t],20,-373897302),r=S(r,i,o,c,e[t+5],5,-701558691),c=S(c,r,i,o,e[t+10],9,38016083),o=S(o,c,r,i,e[t+15],14,-660478335),i=S(i,o,c,r,e[t+4],20,-405537848),r=S(r,i,o,c,e[t+9],5,568446438),c=S(c,r,i,o,e[t+14],9,-1019803690),o=S(o,c,r,i,e[t+3],14,-187363961),i=S(i,o,c,r,e[t+8],20,1163531501),r=S(r,i,o,c,e[t+13],5,-1444681467),c=S(c,r,i,o,e[t+2],9,-51403784),o=S(o,c,r,i,e[t+7],14,1735328473),i=S(i,o,c,r,e[t+12],20,-1926607734),r=A(r,i,o,c,e[t+5],4,-378558),c=A(c,r,i,o,e[t+8],11,-2022574463),o=A(o,c,r,i,e[t+11],16,1839030562),i=A(i,o,c,r,e[t+14],23,-35309556),r=A(r,i,o,c,e[t+1],4,-1530992060),c=A(c,r,i,o,e[t+4],11,1272893353),o=A(o,c,r,i,e[t+7],16,-155497632),i=A(i,o,c,r,e[t+10],23,-1094730640),r=A(r,i,o,c,e[t+13],4,681279174),c=A(c,r,i,o,e[t],11,-358537222),o=A(o,c,r,i,e[t+3],16,-722521979),i=A(i,o,c,r,e[t+6],23,76029189),r=A(r,i,o,c,e[t+9],4,-640364487),c=A(c,r,i,o,e[t+12],11,-421815835),o=A(o,c,r,i,e[t+15],16,530742520),i=A(i,o,c,r,e[t+2],23,-995338651),r=_(r,i,o,c,e[t],6,-198630844),c=_(c,r,i,o,e[t+7],10,1126891415),o=_(o,c,r,i,e[t+14],15,-1416354905),i=_(i,o,c,r,e[t+5],21,-57434055),r=_(r,i,o,c,e[t+12],6,1700485571),c=_(c,r,i,o,e[t+3],10,-1894986606),o=_(o,c,r,i,e[t+10],15,-1051523),i=_(i,o,c,r,e[t+1],21,-2054922799),r=_(r,i,o,c,e[t+8],6,1873313359),c=_(c,r,i,o,e[t+15],10,-30611744),o=_(o,c,r,i,e[t+6],15,-1560198380),i=_(i,o,c,r,e[t+13],21,1309151649),r=_(r,i,o,c,e[t+4],6,-145523070),c=_(c,r,i,o,e[t+11],10,-1120210379),o=_(o,c,r,i,e[t+2],15,718787259),i=_(i,o,c,r,e[t+9],21,-343485551),r=y(r,n),i=y(i,s),o=y(o,u),c=y(c,a)}return Uint32Array.of(r,i,o,c)}(function(e){if(0===e.length)return new Uint32Array;const t=new Uint32Array(b(8*e.length)).fill(0);for(let n=0;n<e.length;n++)t[n>>2]|=(255&e[n])<<n%4*8;return t}(e),8*e.length))};const T="6ba7b810-9dad-11d1-80b4-00c04fd430c8",O="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function x(e,t,n,r,i,o){const c="string"==typeof n?function(e){e=unescape(encodeURIComponent(e));const t=new Uint8Array(e.length);for(let n=0;n<e.length;++n)t[n]=e.charCodeAt(n);return t}(n):n,u="string"==typeof r?s(r):r;if("string"==typeof r&&(r=s(r)),16!==r?.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let l=new Uint8Array(16+c.length);if(l.set(u),l.set(c,u.length),l=t(l),l[6]=15&l[6]|e,l[8]=63&l[8]|128,i){o=o||0;for(let e=0;e<16;++e)i[o+e]=l[e];return i}return a(l)}function M(e,t,n,r){return x(48,C,e,t,n,r)}M.DNS=T,M.URL=O;var I=M,R={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},N=function(e,t,n){if(R.randomUUID&&!t&&!e)return R.randomUUID();const r=(e=e||{}).random??e.rng?.()??h();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){if((n=n||0)<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=r[e];return t}return a(r)};function P(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function D(e,t){return e<<t|e>>>32-t}var j=function(e){const t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520],r=new Uint8Array(e.length+1);r.set(e),r[e.length]=128;const i=(e=r).length/4+2,o=Math.ceil(i/16),c=new Array(o);for(let t=0;t<o;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];c[t]=n}c[o-1][14]=8*(e.length-1)/Math.pow(2,32),c[o-1][14]=Math.floor(c[o-1][14]),c[o-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<o;++e){const r=new Uint32Array(80);for(let t=0;t<16;++t)r[t]=c[e][t];for(let e=16;e<80;++e)r[e]=D(r[e-3]^r[e-8]^r[e-14]^r[e-16],1);let i=n[0],o=n[1],s=n[2],u=n[3],a=n[4];for(let e=0;e<80;++e){const n=Math.floor(e/20),c=D(i,5)+P(n,o,s,u)+a+t[n]+r[e]>>>0;a=u,u=s,s=D(o,30)>>>0,o=i,i=c}n[0]=n[0]+i>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+u>>>0,n[4]=n[4]+a>>>0}return Uint8Array.of(n[0]>>24,n[0]>>16,n[0]>>8,n[0],n[1]>>24,n[1]>>16,n[1]>>8,n[1],n[2]>>24,n[2]>>16,n[2]>>8,n[2],n[3]>>24,n[3]>>16,n[3]>>8,n[3],n[4]>>24,n[4]>>16,n[4]>>8,n[4])};function L(e,t,n,r){return x(80,j,e,t,n,r)}L.DNS=T,L.URL=O;var k=L,U=function(e,t,n){e??={},n??=0;let r=m({...e,_v6:!0},new Uint8Array(16));if(r=g(r),t){for(let e=0;e<16;e++)t[n+e]=r[e];return t}return a(r)};function B(e){const t=(n="string"==typeof e?s(e):e,Uint8Array.of((15&n[3])<<4|n[4]>>4&15,(15&n[4])<<4|(240&n[5])>>4,(15&n[5])<<4|15&n[6],n[7],(15&n[1])<<4|(240&n[2])>>4,(15&n[2])<<4|(240&n[3])>>4,16|(240&n[0])>>4,(15&n[0])<<4|(240&n[1])>>4,n[8],n[9],n[10],n[11],n[12],n[13],n[14],n[15]));var n;return"string"==typeof e?a(t):t}const V={};function H(e,t,n,r,i=0){if(e.length<16)throw new Error("Random bytes length must be >= 16");if(r){if(i<0||i+16>r.length)throw new RangeError(`UUID byte range ${i}:${i+15} is out of buffer bounds`)}else r=new Uint8Array(16),i=0;return t??=Date.now(),n??=127*e[6]<<24|e[7]<<16|e[8]<<8|e[9],r[i++]=t/1099511627776&255,r[i++]=t/4294967296&255,r[i++]=t/16777216&255,r[i++]=t/65536&255,r[i++]=t/256&255,r[i++]=255&t,r[i++]=112|n>>>28&15,r[i++]=n>>>20&255,r[i++]=128|n>>>14&63,r[i++]=n>>>6&255,r[i++]=n<<2&255|3&e[10],r[i++]=e[11],r[i++]=e[12],r[i++]=e[13],r[i++]=e[14],r[i++]=e[15],r}var W=function(e,t,n){let r;if(e)r=H(e.random??e.rng?.()??h(),e.msecs,e.seq,t,n);else{const e=Date.now(),i=h();!function(e,t,n){e.msecs??=-1/0,e.seq??=0,t>e.msecs?(e.seq=n[6]<<23|n[7]<<16|n[8]<<8|n[9],e.msecs=t):(e.seq=e.seq+1|0,0===e.seq&&e.msecs++)}(V,e,i),r=H(i,V.msecs,V.seq,t,n)}return t??a(r)},$=function(e){if(!c(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},3263:function(e,t,n){"use strict";n.d(t,{Ms:function(){return m},vU:function(){return d}});var r=n(1630),i=n(5514),o=n(2561),c=n(5095),s=n(5690);const u=a("C",void 0,void 0);function a(e,t,n){return{kind:e,value:t,error:n}}var l=n(9127),f=n(5683);class d extends i.yU{constructor(e){super(),this.isStopped=!1,e?(this.destination=e,(0,i.Uv)(e)&&e.add(this)):this.destination=y}static create(e,t,n){return new m(e,t,n)}next(e){this.isStopped?b(function(e){return a("N",e,void 0)}(e),this):this._next(e)}error(e){this.isStopped?b(a("E",void 0,e),this):(this.isStopped=!0,this._error(e))}complete(){this.isStopped?b(u,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(e){this.destination.next(e)}_error(e){try{this.destination.error(e)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const h=Function.prototype.bind;function p(e,t){return h.call(e,t)}class v{constructor(e){this.partialObserver=e}next(e){const{partialObserver:t}=this;if(t.next)try{t.next(e)}catch(e){g(e)}}error(e){const{partialObserver:t}=this;if(t.error)try{t.error(e)}catch(e){g(e)}else g(e)}complete(){const{partialObserver:e}=this;if(e.complete)try{e.complete()}catch(e){g(e)}}}class m extends d{constructor(e,t,n){let i;if(super(),(0,r.T)(e)||!e)i={next:null!=e?e:void 0,error:null!=t?t:void 0,complete:null!=n?n:void 0};else{let t;this&&o.$.useDeprecatedNextContext?(t=Object.create(e),t.unsubscribe=()=>this.unsubscribe(),i={next:e.next&&p(e.next,t),error:e.error&&p(e.error,t),complete:e.complete&&p(e.complete,t)}):i=e}this.destination=new v(i)}}function g(e){o.$.useDeprecatedSynchronousErrorHandling?(0,f.l)(e):(0,c.m)(e)}function b(e,t){const{onStoppedNotification:n}=o.$;n&&l.f.setTimeout(()=>n(e,t))}const y={closed:!0,next:s.l,error:function(e){throw e},complete:s.l}},3273:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var r=n(4935),i=n(1630);function o(e){return(0,r.T)((0,i.T)(e)?(t,n)=>e(t,n)<0?t:n:(e,t)=>e<t?e:t)}},3394:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(5900),i=n(7199),o=n(5547);function c(e){return e<=0?()=>r.w:(0,i.N)((t,n)=>{let r=0;t.subscribe((0,o._)(n,t=>{++r<=e&&(n.next(t),e<=r&&n.complete())}))})}},3449:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.IframeCreatorService=void 0;var o=n(8430),c=n(5269),s=n(9580),u=n(3529),a=function(){function e(e){this.domMethodsService=e}return e.prototype.getIframe=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=0),this.domMethodsService.createElement("iframe",{id:e,class:e,width:"".concat(t,"px"),height:"".concat(n,"px")})},e.prototype.getIframeHTMLMarkup=function(e,t,n,r,i){return'\n <div class="tp-3ds-processing-screen">\n <div class="tp-3ds-processing-screen-wrapper '.concat(this.getWrapperClass(r),'">\n <div class="tp-3ds-processing-screen-logo">\n ').concat(this.getLogo(r),'\n </div>\n <div class="tp-3ds-processing-screen-loader"></div>\n </div>\n <form method="').concat(i||"POST",'" id="').concat(e,'" action="').concat(t,'">\n ').concat(this.getInputs(n),"\n </form>\n </div>\n ")},e.prototype.getStylesMarkup=function(){var e=this.domMethodsService.createElement("style");return e.innerHTML=u.PROCESSING_SCREEN_STYLES,e},e.prototype.getInputs=function(e){return e.map(function(e){return'<input type="hidden" name="'.concat(e.name,'" value="').concat(e.value,'">')}).join("")},e.prototype.getLogo=function(e){switch(e){case"VISA":case"ELECTRON":case"DELTA":case"VPAY":case"PURCHASING":return s.PROCESSING_SCREEN_LOGO_VISA;case"MASTERCARD":case"MASTERCARDDEBIT":case"MAESTRO":return s.PROCESSING_SCREEN_LOGO_MASTERCARD;case"AMEX":return s.CHALLENGE_SCREEN_LOGO_AMEX;default:return""}},e.prototype.getWrapperClass=function(e){switch(e){case"VISA":case"ELECTRON":case"DELTA":case"VPAY":case"PURCHASING":return"tp-3ds-processing-screen-wrapper-visa";case"MASTERCARD":case"MASTERCARDDEBIT":case"MAESTRO":return"tp-3ds-processing-screen-wrapper-mastercard";case"AMEX":return"tp-3ds-processing-screen-wrapper-amex";default:return""}},r([(0,o.Service)(),i("design:paramtypes",[c.DomMethodsService])],e)}();t.IframeCreatorService=a},3475:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(9939),i=n(9265),o=n(7199),c=n(6971),s=n(1630);function u(e,t,n=1/0){return(0,s.T)(t)?u((n,o)=>(0,r.T)((e,r)=>t(n,e,o,r))((0,i.Tg)(e(n,o))),n):("number"==typeof t&&(n=t),(0,o.N)((t,r)=>(0,c.h)(t,r,e,n)))}},3529:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PROCESSING_SCREEN_STYLES=void 0,t.PROCESSING_SCREEN_STYLES="\n.tp-3ds-processing-screen {\n position: relative;\n height: 100%;\n}\n\n.tp-3ds-processing-screen-wrapper {\n position: absolute;\n width: 100%;\n height: 100%;\n z-index: 50;\n}\n\n.tp-3ds-processing-screen-loader {\n box-sizing: border-box;\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n margin-top: 30px;\n border: 4px solid #e61c5b;\n border-radius: 32px;\n animation: tp-3ds-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) 0.15s infinite;\n border-color: #e61c5b transparent;\n will-change: animation;\n transform: translate(-50%) rotate(0deg);\n}\n\n.tp-3ds-processing-screen-logo {\n position: absolute;\n top: 50%;\n left: 50%;\n user-select: none;\n}\n\n.tp-3ds-processing-screen-wrapper-visa .tp-3ds-processing-screen-logo {\n margin: -100px 0 0 -56px;\n}\n\n.tp-3ds-processing-screen-wrapper-mastercard .tp-3ds-processing-screen-logo {\n margin: -123px 0 0 -79px;\n}\n\n@keyframes tp-3ds-spin {\n from {\n transform: translate(-50%) rotate(0deg);\n }\n to {\n transform: translate(-50%) rotate(360deg);\n }\n}\n"},3586:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LogType=void 0,function(e){e.ERROR="error",e.WARNING="warning",e.DEBUG="debug"}(n||(t.LogType=n={}))},3658:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.MethodURLService=void 0,n(1684);var o=n(6398),c=n(6943),s=n(8430),u=n(2733),a=n(5078),l=n(4193),f=n(7907),d=n(1274),h=n(5269),p=n(3449),v=n(3708),m=function(){function e(e,t,n,r,i){this.domMethodsService=e,this.interFrameCommunicatorService=t,this.base64TranscoderService=n,this.iframeCreatorService=r,this.configService=i,this.methodURLIframeSelector="tp-3ds-method-url-iframe",this.methodURLIframeFormSelector="tp-3ds-method-url-form"}return e.prototype.run$=function(e,t,n){var r=this;if("string"!=typeof e||0===e.length)throw new f.ValidationError("run3DSMethod$() requires transactionId");if("string"!=typeof t||0===t.length)throw new f.ValidationError("run3DSMethod$() requires notificationURL");if("string"!=typeof n||0===n.length)throw new f.ValidationError("run3DSMethod$() requires methodURL");return this.domMethodsService.addToElement(this.createIframeForMethodURL(n,e,t),this.domMethodsService.getElement("body")),this.configService.getConfig$().pipe((0,c.switchMap)(function(t){return r.interFrameCommunicatorService.receive$(d.InterFrameCommunicatorMessageType.METHOD_URL_RESPONSE).pipe((0,c.map)(function(e){return r.mapStatus(r.base64TranscoderService.decode(e))}),(0,c.timeout)({first:t.threeDSMethodTimeout,with:function(){return(0,o.of)(r.getUncompletedResult(e))}}),(0,c.tap)(function(){r.destroyView()}))}))},e.prototype.createIframeForMethodURL=function(e,t,n){var r=this,i=this.base64TranscoderService.encode({threeDSServerTransID:t,threeDSMethodNotificationURL:n}),o=this.iframeCreatorService.getIframe(this.methodURLIframeSelector),c=function(){o.contentWindow.document.body.innerHTML=r.iframeCreatorService.getIframeHTMLMarkup(r.methodURLIframeFormSelector,e,[{name:"threeDSMethodData",value:i}]),o.removeEventListener("load",c),o.contentWindow.document.getElementById(r.methodURLIframeFormSelector).submit()};return o.addEventListener("load",c),o},e.prototype.mapStatus=function(e){return{status:e.actionCode,description:e.errorDescription,transactionId:e.threeDSServerTransID}},e.prototype.destroyView=function(){this.domMethodsService.removeElement(this.domMethodsService.getElement("#".concat(this.methodURLIframeSelector)))},e.prototype.getUncompletedResult=function(e){return{status:u.ResultActionCode.UNCOMPLETED,description:"Method URL did not complete",transactionId:e}},r([(0,s.Service)(),i("design:paramtypes",[h.DomMethodsService,v.InterFrameCommunicatorService,l.Base64TranscoderService,p.IframeCreatorService,a.ConfigService])],e)}();t.MethodURLService=m},3686:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(4927),i=n(628);class o extends r.B{constructor(e=1/0,t=1/0,n=i.U){super(),this._bufferSize=e,this._windowTime=t,this._timestampProvider=n,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=t===1/0,this._bufferSize=Math.max(1,e),this._windowTime=Math.max(1,t)}next(e){const{isStopped:t,_buffer:n,_infiniteTimeWindow:r,_timestampProvider:i,_windowTime:o}=this;t||(n.push(e),!r&&n.push(i.now()+o)),this._trimBuffer(),super.next(e)}_subscribe(e){this._throwIfClosed(),this._trimBuffer();const t=this._innerSubscribe(e),{_infiniteTimeWindow:n,_buffer:r}=this,i=r.slice();for(let t=0;t<i.length&&!e.closed;t+=n?1:2)e.next(i[t]);return this._checkFinalizedStatuses(e),t}_trimBuffer(){const{_bufferSize:e,_timestampProvider:t,_buffer:n,_infiniteTimeWindow:r}=this,i=(r?1:2)*e;if(e<1/0&&i<n.length&&n.splice(0,n.length-i),!r){const e=t.now();let r=0;for(let t=1;t<n.length&&n[t]<=e;t+=2)r=t;r&&n.splice(0,r+1)}}}},3708:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.InterFrameCommunicatorService=void 0;var c=n(6398),s=n(6943),u=n(8430),a=n(109),l=function(){function e(e){this.window=e}return e.prototype.receive$=function(e){return(0,c.fromEvent)(this.window,"message").pipe((0,s.filter)(function(t){return t.data&&t.data.type===e}),(0,s.map)(function(e){return e.data.data}))},r([(0,u.Service)(),o(0,(0,u.Inject)(a.TOKEN_WINDOW)),i("design:paramtypes",[Window])],e)}();t.InterFrameCommunicatorService=l},3770:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-overlay {\n top: 0;\n left: 0;\n background-color: rgba(255, 255, 255, 0.9);\n position: fixed;\n}\n","",{version:3,sources:["webpack://./src/shared/styles/Overlay.css"],names:[],mappings:"AAAA;EACE,MAAM;EACN,OAAO;EACP,0CAA0C;EAC1C,eAAe;AACjB",sourcesContent:[".tp-3ds-overlay {\n top: 0;\n left: 0;\n background-color: rgba(255, 255, 255, 0.9);\n position: fixed;\n}\n"],sourceRoot:""}]),t.A=c},3879:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(9939);const{isArray:i}=Array;function o(e){return(0,r.T)(t=>function(e,t){return i(t)?e(...t):e(t)}(e,t))}},3892:function(e,t,n){"use strict";n.d(t,{s:function(){return f}});var r=n(4927),i=n(2213),o=n(5514),c=n(7199),s=n(5547),u=n(9307),a=n(6783),l=n(8114);function f(e,...t){var n,f;const d=null!==(n=(0,a.lI)(t))&&void 0!==n?n:i.E,h=null!==(f=t[0])&&void 0!==f?f:null,p=t[1]||1/0;return(0,c.N)((t,n)=>{let i=[],c=!1;const a=e=>{const{window:t,subs:n}=e;t.complete(),n.unsubscribe(),(0,u.o)(i,e),c&&f()},f=()=>{if(i){const t=new o.yU;n.add(t);const c=new r.B,s={window:c,subs:t,seen:0};i.push(s),n.next(c.asObservable()),(0,l.N)(t,d,()=>a(s),e)}};null!==h&&h>=0?(0,l.N)(n,d,f,h,!0):c=!0,f();const v=e=>i.slice().forEach(e),m=e=>{v(({window:t})=>e(t)),e(n),n.unsubscribe()};return t.subscribe((0,s._)(n,e=>{v(t=>{t.window.next(e),p<=++t.seen&&a(t)})},()=>m(e=>e.complete()),e=>m(t=>t.error(e)))),()=>{i=null}})}},3895:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(7199),i=n(5547),o=n(2092),c=n(8496),s=n(9265);function u(e=1/0){let t;t=e&&"object"==typeof e?e:{count:e};const{count:n=1/0,delay:u,resetOnSuccess:a=!1}=t;return n<=0?o.D:(0,r.N)((e,t)=>{let r,o=0;const l=()=>{let f=!1;r=e.subscribe((0,i._)(t,e=>{a&&(o=0),t.next(e)},void 0,e=>{if(o++<n){const n=()=>{r?(r.unsubscribe(),r=null,l()):f=!0};if(null!=u){const r="number"==typeof u?(0,c.O)(u):(0,s.Tg)(u(e,o)),a=(0,i._)(t,()=>{a.unsubscribe(),n()},()=>{t.complete()});r.subscribe(a)}else n()}else t.error(e)})),f&&(r.unsubscribe(),r=null,l())};l()})}},3905:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(1630);function i(e){return(0,r.T)(null==e?void 0:e.then)}},3937:function(e,t,n){"use strict";n.d(t,{H:function(){return a}});var r=n(7555),i=n(9251),o=n(8014),c=n(81),s=n(7166),u=n(2092);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,i.p)((t,n)=>e(t,n,a)):u.D,(0,o.o)(1),n?(0,s.U)(t):(0,c.v)(()=>new r.G))}},3962:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});const r=e=>e&&"number"==typeof e.length&&"function"!=typeof e},4157:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var r=n(7555),i=n(9765),o=n(7371),c=n(7199),s=n(5547);function u(e){return(0,c.N)((t,n)=>{let c,u=!1,a=!1,l=0;t.subscribe((0,s._)(n,r=>{a=!0,e&&!e(r,l++,t)||(u&&n.error(new i.I("Too many matching values")),u=!0,c=r)},()=>{u?(n.next(c),n.complete()):n.error(a?new o.m("No matching values"):new r.G)}))})}},4193:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.Base64TranscoderService=void 0;var c=n(8430),s=n(109),u=function(){function e(e){this.window=e}return e.prototype.encode=function(e){return this.window.btoa(JSON.stringify(e))},e.prototype.encodeString=function(e){return this.window.btoa(e)},e.prototype.decode=function(e){return JSON.parse(this.window.atob(e))},r([(0,c.Service)(),o(0,(0,c.Inject)(s.TOKEN_WINDOW)),i("design:paramtypes",[Window])],e)}();t.Base64TranscoderService=u},4337:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(5514);class i extends r.yU{constructor(e,t){super()}schedule(e,t=0){return this}}const o={setInterval(e,t,...n){const{delegate:r}=o;return(null==r?void 0:r.setInterval)?r.setInterval(e,t,...n):setInterval(e,t,...n)},clearInterval(e){const{delegate:t}=o;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0};var c=n(9307);class s extends i{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){var n;if(this.closed)return this;this.state=e;const r=this.id,i=this.scheduler;return null!=r&&(this.id=this.recycleAsyncId(i,r,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(i,this.id,t),this}requestAsyncId(e,t,n=0){return o.setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&o.clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n,r=!1;try{this.work(e)}catch(e){r=!0,n=e||new Error("Scheduled action threw falsy error")}if(r)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:e,scheduler:t}=this,{actions:n}=t;this.work=this.state=this.scheduler=null,this.pending=!1,(0,c.o)(n,this),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null,super.unsubscribe()}}}},4361:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var r=n(1630);function i(e){return e&&(0,r.T)(e.schedule)}},4490:function(e,t,n){"use strict";n.d(t,{c:function(){return l}});var r=n(3263),i=n(5514),o=n(1211),c=n(5678),s=n(2561),u=n(1630),a=n(5683);class l{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new l;return t.source=this,t.operator=e,t}subscribe(e,t,n){const o=(c=e)&&c instanceof r.vU||function(e){return e&&(0,u.T)(e.next)&&(0,u.T)(e.error)&&(0,u.T)(e.complete)}(c)&&(0,i.Uv)(c)?e:new r.Ms(e,t,n);var c;return(0,a.Y)(()=>{const{operator:e,source:t}=this;o.add(e?e.call(o,t):t?this._subscribe(o):this._trySubscribe(o))}),o}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=f(t))((t,n)=>{const i=new r.Ms({next:t=>{try{e(t)}catch(e){n(e),i.unsubscribe()}},error:n,complete:t});this.subscribe(i)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[o.s](){return this}pipe(...e){return(0,c.m)(e)(this)}toPromise(e){return new(e=f(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}function f(e){var t;return null!==(t=null!=e?e:s.$.Promise)&&void 0!==t?t:Promise}l.create=e=>new l(e)},4543:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var r=n(5810),i=n(9458);function o(e){return(0,i.q)(r.y,e)}},4549:function(e,t,n){"use strict";n.d(t,{h:function(){return s}});var r=n(7199),i=n(5386),o=n(6783),c=n(4942);function s(...e){const t=(0,o.lI)(e),n=(0,o.R0)(e,1/0);return(0,r.N)((r,o)=>{(0,i.U)(n)((0,c.H)([r,...e],t)).subscribe(o)})}},4607:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.PopupViewService=void 0,n(7831);var c=n(6398),s=n(8430),u=n(109),a=n(5269),l=function(){function e(e,t){this.domMethodsService=e,this.document=t,this.cancelEmitter$=new c.Subject,this.classNames={mainContainer:"tp-3ds-popup-view",wrapper:"tp-3ds-popup-view-wrapper",overlay:"tp-3ds-overlay",popupOverlay:"tp-3ds-popup-view-overlay",header:"tp-3ds-popup-view-header",headerButton:"tp-3ds-popup-view-header-button"}}return e.prototype.init=function(e,t){var n=this;this.destroyPopupView(),this.initializePopupView(e,t),this.cancelEmitter$.subscribe(function(){n.destroyPopupView()})},e.prototype.cancelled$=function(){return this.cancelEmitter$.asObservable()},e.prototype.close=function(){this.destroyPopupView()},e.prototype.cancel=function(){this.cancelEmitter$.next(!0)},e.prototype.initializePopupView=function(e,t){var n=this.domMethodsService.createElement("div",{class:"".concat(this.classNames.overlay," ").concat(this.classNames.mainContainer)}),r=this.domMethodsService.createElement("div",{class:this.classNames.wrapper}),i=this.domMethodsService.createElement("div",{class:this.classNames.popupOverlay}),o=this.createHeaderElement(t);this.domMethodsService.addToElement(e,r),this.domMethodsService.addToElement(o,i),this.domMethodsService.addToElement(r,i),this.domMethodsService.addToElement(i,n),this.domMethodsService.addToElement(n,this.document.body)},e.prototype.createHeaderElement=function(e){var t=this.domMethodsService.createElement("div",{class:this.classNames.header}),n=this.domMethodsService.createElement("button",{id:this.classNames.headerButton,class:this.classNames.headerButton});return n.textContent=e.cancel,this.domMethodsService.addToElement(n,t),this.addCancelListener(n),t},e.prototype.addCancelListener=function(e){var t=this;e.addEventListener("click",function(){t.cancel()})},e.prototype.destroyPopupView=function(){var e=this.domMethodsService.getElement(".".concat(this.classNames.mainContainer));e&&this.domMethodsService.removeElement(e)},r([(0,s.Service)(),o(1,(0,s.Inject)(u.TOKEN_DOCUMENT)),i("design:paramtypes",[a.DomMethodsService,Document])],e)}();t.PopupViewService=l},4701:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});const r=(0,n(4772).L)(e=>function(){e(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"})},4761:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});var r=n(4927);class i extends r.B{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return!t.closed&&e.next(this._value),t}getValue(){const{hasError:e,thrownError:t,_value:n}=this;if(e)throw t;return this._throwIfClosed(),n}next(e){super.next(this._value=e)}}},4772:function(e,t,n){"use strict";function r(e){const t=e(e=>{Error.call(e),e.stack=(new Error).stack});return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}n.d(t,{L:function(){return r}})},4832:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var r=n(7199),i=n(5547);function o(){return(0,r.N)((e,t)=>{e.subscribe((0,i._)(t,()=>{t.next(!1),t.complete()},()=>{t.next(!0),t.complete()}))})}},4887:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThreeDSecureFactory=void 0;var r=n(8430),i=n(6279),o=function(){function e(){}return e.prototype.create=function(e){return void 0===e&&(e="fdc93384-035e-4a23-b799-eeb4604ecd3f"),r.Container.of(e).get(i.ThreeDSecure)},e}();t.ThreeDSecureFactory=o},4927:function(e,t,n){"use strict";n.d(t,{B:function(){return u}});var r=n(4490),i=n(5514),o=n(6290),c=n(9307),s=n(5683);class u extends r.c{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new a(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new o.P}next(e){(0,s.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}})}error(e){(0,s.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){(0,s.Y)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:n,observers:r}=this;return t||n?i.Kn:(this.currentObservers=null,r.push(e),new i.yU(()=>{this.currentObservers=null,(0,c.o)(r,e)}))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:n,isStopped:r}=this;t?e.error(n):r&&e.complete()}asObservable(){const e=new r.c;return e.source=this,e}}u.create=(e,t)=>new a(e,t);class a extends u{constructor(e,t){super(),this.destination=e,this.source=t}next(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)}error(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)}complete(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)}_subscribe(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:i.Kn}}},4935:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7244),i=n(7199);function o(e,t){return(0,i.N)((0,r.S)(e,t,arguments.length>=2,!1,!0))}},4942:function(e,t,n){"use strict";n.d(t,{H:function(){return o}});var r=n(6459),i=n(9265);function o(e,t){return t?(0,r.c)(e,t):(0,i.Tg)(e)}},5016:function(e,t,n){"use strict";n.d(t,{Q:function(){return s}});var r=n(7199),i=n(5547),o=n(9265),c=n(5690);function s(e){return(0,r.N)((t,n)=>{(0,o.Tg)(e).subscribe((0,i._)(n,()=>n.complete(),c.l)),!n.closed&&t.subscribe(n)})}},5021:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(2213),i=n(7199),o=n(5547);function c(e=r.E){return(0,i.N)((t,n)=>{let r=e.now();t.subscribe((0,o._)(n,t=>{const i=e.now(),o=i-r;r=i,n.next(new s(t,o))}))})}class s{constructor(e,t){this.value=e,this.interval=t}}},5056:function(e,t,n){"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},5072:function(e){"use strict";var t=[];function n(e){for(var n=-1,r=0;r<t.length;r++)if(t[r].identifier===e){n=r;break}return n}function r(e,r){for(var o={},c=[],s=0;s<e.length;s++){var u=e[s],a=r.base?u[0]+r.base:u[0],l=o[a]||0,f="".concat(a," ").concat(l);o[a]=l+1;var d=n(f),h={css:u[1],media:u[2],sourceMap:u[3],supports:u[4],layer:u[5]};if(-1!==d)t[d].references++,t[d].updater(h);else{var p=i(h,r);r.byIndex=s,t.splice(s,0,{identifier:f,updater:p,references:1})}c.push(f)}return c}function i(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,i){var o=r(e=e||[],i=i||{});return function(e){e=e||[];for(var c=0;c<o.length;c++){var s=n(o[c]);t[s].references--}for(var u=r(e,i),a=0;a<o.length;a++){var l=n(o[a]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=u}}},5078:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigService=void 0;var c=n(6398),s=n(8430),u=n(7907),a=n(8206),l=n(7753),f=n(5269),d=n(9912),h=function(){function e(e){this.domMethodsService=e,this.translationsWhitelist=["cancel"],this.config$=new c.BehaviorSubject({challengeDisplayMode:d.ChallengeDisplayMode.POPUP,loggingLevel:a.LoggingLevel.ERROR,translations:{cancel:"X"},processingScreenMode:l.ProcessingScreenMode.OVERLAY,threeDSMethodTimeout:1e4})}return e.prototype.getConfig$=function(){return this.config$.asObservable()},e.prototype.setConfig=function(e){var t=r(r({},this.config$.value),e);this.validateConfig(t),this.config$.next(t)},e.prototype.validateConfig=function(e){this.validateAgainstUnknownProperties(e),this.validateChallengeDisplayMode(e),this.validateLoggingLevel(e),this.validateTranslations(e),this.validateProcessingScreen(e),this.validateThreeDSMethodTimeout(e)},e.prototype.validateAgainstUnknownProperties=function(e){var t=["challengeDisplayMode","challengeDisplayInlineTargetElementId","loggingLevel","translations","processingScreenMode","processingScreenWrapperElementId","threeDSMethodTimeout"],n=Object.keys(e).filter(function(e){return!t.includes(e)});if(n.length>0)throw new u.ValidationError("config contains unknown properties: ".concat(n.join(", ")))},e.prototype.validateChallengeDisplayMode=function(e){if(!Object.values(d.ChallengeDisplayMode).includes(e.challengeDisplayMode))throw new u.ValidationError("config.challengeDisplayMode must be either ".concat(d.ChallengeDisplayMode.POPUP," or ").concat(d.ChallengeDisplayMode.INLINE));if(e.challengeDisplayMode===d.ChallengeDisplayMode.INLINE&&!this.domMethodsService.getElement("#".concat(e.challengeDisplayInlineTargetElementId)))throw new u.ValidationError("config.challengeDisplayInlineTargetElementId must exist when using display mode ".concat(d.ChallengeDisplayMode.INLINE))},e.prototype.validateLoggingLevel=function(e){if(!Object.values(a.LoggingLevel).includes(e.loggingLevel))throw new u.ValidationError("config.loggingLevel must be: ".concat(a.LoggingLevel.ERROR," or ").concat(a.LoggingLevel.ALL))},e.prototype.validateTranslations=function(e){var t=this;if(!e.translations)throw new u.ValidationError("config.translations must be an object");var n=Object.keys(e.translations).filter(function(e){return!t.translationsWhitelist.includes(e)});if(n.length>0)throw new u.ValidationError("config.translations contains unknown keys: ".concat(n.join(","),". Whitelisted keys are: ").concat(this.translationsWhitelist.join(",")))},e.prototype.validateProcessingScreen=function(e){if(!Object.values(l.ProcessingScreenMode).includes(e.processingScreenMode))throw new u.ValidationError("config.processingScreenMode must be either ".concat(l.ProcessingScreenMode.OVERLAY," or ").concat(l.ProcessingScreenMode.ATTACH_TO_ELEMENT));if(e.processingScreenMode===l.ProcessingScreenMode.ATTACH_TO_ELEMENT&&!this.domMethodsService.getElement("#".concat(e.processingScreenWrapperElementId)))throw new u.ValidationError("config.processingScreenWrapperElementId must exist when using processing screen mode ".concat(l.ProcessingScreenMode.ATTACH_TO_ELEMENT))},e.prototype.validateThreeDSMethodTimeout=function(e){if(!("number"==typeof e.threeDSMethodTimeout&&e.threeDSMethodTimeout>0&&e.threeDSMethodTimeout<=1e4))throw new u.ValidationError("config.threeDSMethodTimeout must be a number in range from 1 to 10000 milliseconds")},i([(0,s.Service)(),o("design:paramtypes",[f.DomMethodsService])],e)}();t.ConfigService=h},5095:function(e,t,n){"use strict";n.d(t,{m:function(){return o}});var r=n(2561),i=n(9127);function o(e){i.f.setTimeout(()=>{const{onUnhandledError:t}=r.$;if(!t)throw e;t(e)})}},5186:function(e,t,n){"use strict";n.d(t,{G:function(){return u}});var r=n(4490),i=n(5514),o=n(8141),c=n(5547),s=n(7199);class u extends r.c{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._subject=null,this._refCount=0,this._connection=null,(0,s.S)(e)&&(this.lift=e.lift)}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:e}=this;this._subject=this._connection=null,null==e||e.unsubscribe()}connect(){let e=this._connection;if(!e){e=this._connection=new i.yU;const t=this.getSubject();e.add(this.source.subscribe((0,c._)(t,void 0,()=>{this._teardown(),t.complete()},e=>{this._teardown(),t.error(e)},()=>this._teardown()))),e.closed&&(this._connection=null,e=i.yU.EMPTY)}return e}refCount(){return(0,o.B)()(this)}}},5228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(8630);var r=n(8430),i=n(109);r.Container.set({id:i.TOKEN_DOCUMENT,factory:function(){return document}}),r.Container.set({id:i.TOKEN_WINDOW,factory:function(){return window}})},5234:function(e,t,n){"use strict";n.d(t,{W:function(){return c}});var r=n(9265),i=n(5547),o=n(7199);function c(e){return(0,o.N)((t,n)=>{let o,s=null,u=!1;s=t.subscribe((0,i._)(n,void 0,void 0,i=>{o=(0,r.Tg)(e(i,c(e)(t))),s?(s.unsubscribe(),s=null,o.subscribe(n)):u=!0})),u&&(s.unsubscribe(),s=null,o.subscribe(n))})}},5237:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var r=n(9939),i=n(9265),o=n(7199),c=n(5547);function s(e,t){return t?n=>n.pipe(s((n,o)=>(0,i.Tg)(e(n,o)).pipe((0,r.T)((e,r)=>t(n,e,o,r))))):(0,o.N)((t,n)=>{let r=0,o=null,s=!1;t.subscribe((0,c._)(n,t=>{o||(o=(0,c._)(n,void 0,()=>{o=null,s&&n.complete()}),(0,i.Tg)(e(t,r++)).subscribe(o))},()=>{s=!0,!o&&n.complete()}))})}},5264:function(e,t,n){"use strict";n.d(t,{S:function(){return c}});var r=n(7199),i=n(5547),o=n(9307);function c(e,t=null){return t=null!=t?t:e,(0,r.N)((n,r)=>{let c=[],s=0;n.subscribe((0,i._)(r,n=>{let i=null;s++%t===0&&c.push([]);for(const t of c)t.push(n),e<=t.length&&(i=null!=i?i:[],i.push(t));if(i)for(const e of i)(0,o.o)(c,e),r.next(e)},()=>{for(const e of c)r.next(e);r.complete()},void 0,()=>{c=null}))})}},5269:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.DomMethodsService=void 0;var c=n(8430),s=n(109),u=n(2744),a=function(){function e(e,t){this.document=e,this.loggerService=t}return e.prototype.getElement=function(e){return this.document.querySelector(e)||null},e.prototype.createElement=function(e,t){var n=this.document.createElement(e);return t&&Object.entries(t).forEach(function(e){var t=e[0],r=e[1];n.setAttribute(t,r)}),n},e.prototype.addToElement=function(e,t){try{if(!e||!t)throw new Error("Cannot find element(s): element: ".concat(JSON.stringify(e),", targetElement: ").concat(JSON.stringify(t)));t.appendChild(e)}catch(e){throw this.loggerService.error(e),new Error(e)}},e.prototype.removeElement=function(e){try{if(!e)throw new Error("Cannot find element: ".concat(JSON.stringify(e)));e.remove()}catch(e){throw this.loggerService.error(e),new Error(e)}},e.prototype.addClassesToElement=function(e,t){try{if(!e)throw new Error("Cannot find element: ".concat(JSON.stringify(e)));t.forEach(function(t){e.classList.add(t)})}catch(e){throw this.loggerService.error(e),new Error(e)}},e.prototype.removeClassesFromElement=function(e,t){try{if(!e)throw new Error("Cannot find element: ".concat(JSON.stringify(e)));t.forEach(function(t){e.classList.remove(t)})}catch(e){throw this.loggerService.error(e),new Error(e)}},r([(0,c.Service)(),o(0,(0,c.Inject)(s.TOKEN_DOCUMENT)),i("design:paramtypes",[Document,u.LoggerService])],e)}();t.DomMethodsService=a},5350:function(e,t,n){"use strict";n.d(t,{w:function(){return c}});var r=n(7199),i=n(5547),o=n(5690);function c(){return(0,r.N)((e,t)=>{e.subscribe((0,i._)(t,o.l))})}},5372:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(9878);class i extends r._{constructor(e,t=r._.now){super(e,t),this.actions=[],this._active=!1}flush(e){const{actions:t}=this;if(this._active)return void t.push(e);let n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}},5382:function(e,t,n){"use strict";n.d(t,{k:function(){return o}});var r=n(9115),i=n(5186);function o(){return e=>{const t=new r.h;return new i.G(e,()=>t)}}},5386:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(3475),i=n(2092);function o(e=1/0){return(0,r.Z)(i.D,e)}},5433:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(4549);function i(...e){return(0,r.h)(...e)}},5441:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.InlineViewService=void 0,n(9717);var o=n(6398),c=n(8430),s=n(5269),u=function(){function e(e){this.domMethodsService=e,this.cancelState$=new o.Subject,this.classNames={mainContainer:"tp-3ds-inline-view",wrapper:"tp-3ds-inline-view-wrapper",header:"tp-3ds-inline-view-header",headerButton:"tp-3ds-inline-view-header-button"}}return e.prototype.init=function(e,t,n){var r=this;this.destroyInlineView(),this.initializeInlineView(e,t,n),this.cancelState$.subscribe(function(){r.destroyInlineView()})},e.prototype.cancelled$=function(){return this.cancelState$.asObservable()},e.prototype.close=function(){this.destroyInlineView()},e.prototype.cancel=function(){this.cancelState$.next(!0)},e.prototype.initializeInlineView=function(e,t,n){var r=this.domMethodsService.createElement("div",{class:this.classNames.mainContainer}),i=this.domMethodsService.createElement("div",{class:this.classNames.wrapper}),o=this.createHeaderElement(n);this.domMethodsService.addToElement(e,i),this.domMethodsService.addToElement(o,r),this.domMethodsService.addToElement(i,r),this.domMethodsService.addToElement(r,t)},e.prototype.createHeaderElement=function(e){var t=this,n=this.domMethodsService.createElement("div",{class:this.classNames.header}),r=this.domMethodsService.createElement("button",{id:this.classNames.headerButton,class:this.classNames.headerButton});return r.textContent=e.cancel,this.domMethodsService.addToElement(r,n),r.addEventListener("click",function(){t.cancel()}),n},e.prototype.destroyInlineView=function(){var e=this.domMethodsService.getElement(".".concat(this.classNames.mainContainer));e&&this.domMethodsService.removeElement(e)},r([(0,c.Service)(),i("design:paramtypes",[s.DomMethodsService])],e)}();t.InlineViewService=u},5454:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(7051),i=n(1630);function o(e,t){return(0,i.T)(t)?(0,r.n)(()=>e,t):(0,r.n)(()=>e)}},5502:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var r=n(7199),i=n(5690),o=n(5547),c=n(9265);function s(e){return(0,r.N)((t,n)=>{let r=!1,s=null,u=null;const a=()=>{if(null==u||u.unsubscribe(),u=null,r){r=!1;const e=s;s=null,n.next(e)}};t.subscribe((0,o._)(n,t=>{null==u||u.unsubscribe(),r=!0,s=t,u=(0,o._)(n,a,i.l),(0,c.Tg)(e(t)).subscribe(u)},()=>{a(),n.complete()},void 0,()=>{s=u=null}))})}},5514:function(e,t,n){"use strict";n.d(t,{Kn:function(){return s},Uv:function(){return u},yU:function(){return c}});var r=n(1630),i=n(5944),o=n(9307);class c{constructor(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let e;if(!this.closed){this.closed=!0;const{_parentage:t}=this;if(t)if(this._parentage=null,Array.isArray(t))for(const e of t)e.remove(this);else t.remove(this);const{initialTeardown:n}=this;if((0,r.T)(n))try{n()}catch(t){e=t instanceof i.Z?t.errors:[t]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const t of o)try{a(t)}catch(t){e=null!=e?e:[],t instanceof i.Z?e=[...e,...t.errors]:e.push(t)}}if(e)throw new i.Z(e)}}add(e){var t;if(e&&e!==this)if(this.closed)a(e);else{if(e instanceof c){if(e.closed||e._hasParent(this))return;e._addParent(this)}(this._finalizers=null!==(t=this._finalizers)&&void 0!==t?t:[]).push(e)}}_hasParent(e){const{_parentage:t}=this;return t===e||Array.isArray(t)&&t.includes(e)}_addParent(e){const{_parentage:t}=this;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e}_removeParent(e){const{_parentage:t}=this;t===e?this._parentage=null:Array.isArray(t)&&(0,o.o)(t,e)}remove(e){const{_finalizers:t}=this;t&&(0,o.o)(t,e),e instanceof c&&e._removeParent(this)}}c.EMPTY=(()=>{const e=new c;return e.closed=!0,e})();const s=c.EMPTY;function u(e){return e instanceof c||e&&"closed"in e&&(0,r.T)(e.remove)&&(0,r.T)(e.add)&&(0,r.T)(e.unsubscribe)}function a(e){(0,r.T)(e)?e():e.unsubscribe()}},5547:function(e,t,n){"use strict";n.d(t,{H:function(){return o},_:function(){return i}});var r=n(3263);function i(e,t,n,r,i){return new o(e,t,n,r,i)}class o extends r.vU{constructor(e,t,n,r,i,o){super(e),this.onFinalize=i,this.shouldUnsubscribe=o,this._next=t?function(n){try{t(n)}catch(t){e.error(t)}}:super._next,this._error=r?function(t){try{r(t)}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._error,this._complete=n?function(){try{n()}catch(t){e.error(t)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var e;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:t}=this;super.unsubscribe(),!t&&(null===(e=this.onFinalize)||void 0===e||e.call(this))}}}},5611:function(e,t,n){"use strict";n.d(t,{P:function(){return h},z:function(){return d}});var r=n(4490),i=n(468),o=n(4942),c=n(2092),s=n(3879),u=n(6783),a=n(129),l=n(5547),f=n(8114);function d(...e){const t=(0,u.lI)(e),n=(0,u.ms)(e),{args:l,keys:f}=(0,i.D)(e);if(0===l.length)return(0,o.H)([],t);const d=new r.c(h(l,t,f?e=>(0,a.e)(f,e):c.D));return n?d.pipe((0,s.I)(n)):d}function h(e,t,n=c.D){return r=>{p(t,()=>{const{length:i}=e,c=new Array(i);let s=i,u=i;for(let a=0;a<i;a++)p(t,()=>{const i=(0,o.H)(e[a],t);let f=!1;i.subscribe((0,l._)(r,e=>{c[a]=e,f||(f=!0,u--),u||r.next(n(c.slice()))},()=>{--s||r.complete()}))},r)},r)}}function p(e,t,n){e?(0,f.N)(n,e,t):t()}},5664:function(e,t,n){"use strict";n.d(t,{of:function(){return o}});var r=n(6783),i=n(4942);function o(...e){const t=(0,r.lI)(e);return(0,i.H)(e,t)}},5678:function(e,t,n){"use strict";n.d(t,{F:function(){return i},m:function(){return o}});var r=n(2092);function i(...e){return o(e)}function o(e){return 0===e.length?r.D:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}},5683:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},l:function(){return c}});var r=n(2561);let i=null;function o(e){if(r.$.useDeprecatedSynchronousErrorHandling){const t=!i;if(t&&(i={errorThrown:!1,error:null}),e(),t){const{errorThrown:e,error:t}=i;if(i=null,e)throw t}}else e()}function c(e){r.$.useDeprecatedSynchronousErrorHandling&&i&&(i.errorThrown=!0,i.error=e)}},5690:function(e,t,n){"use strict";function r(){}n.d(t,{l:function(){return r}})},5699:function(e,t,n){"use strict";n.d(t,{r:function(){return s}});var r=n(7199),i=n(5690),o=n(5547),c=n(9265);function s(e){return(0,r.N)((t,n)=>{let r=[];return t.subscribe((0,o._)(n,e=>r.push(e),()=>{n.next(r),n.complete()})),(0,c.Tg)(e).subscribe((0,o._)(n,()=>{const e=r;r=[],n.next(e)},i.l)),()=>{r=null}})}},5728:function(e,t,n){"use strict";n.d(t,{w:function(){return i}});var r=n(2957);function i(e,t){return(0,r.F)((n,r)=>t?t(n[e],r[e]):n[e]===r[e])}},5737:function(e,t,n){"use strict";function r(e,t){return(n,r)=>!e.call(t,n,r)}n.d(t,{A:function(){return r}})},5763:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(3e3),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},5810:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(4490),i=n(9265),o=n(3075),c=n(5900),s=n(5547),u=n(6783);function a(...e){const t=(0,u.ms)(e),n=(0,o.K)(e);return n.length?new r.c(e=>{let r=n.map(()=>[]),o=n.map(()=>!1);e.add(()=>{r=o=null});for(let c=0;!e.closed&&c<n.length;c++)(0,i.Tg)(n[c]).subscribe((0,s._)(e,n=>{if(r[c].push(n),r.every(e=>e.length)){const n=r.map(e=>e.shift());e.next(t?t(...n):n),r.some((e,t)=>!e.length&&o[t])&&e.complete()}},()=>{o[c]=!0,!r[c].length&&e.complete()}));return()=>{r=o=null}}):c.w}},5867:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var r=n(7199),i=n(5690),o=n(5547),c=n(9265);function s(e){return(0,r.N)((t,n)=>{let r=null,s=null;const u=()=>{null==s||s.unsubscribe();const t=r;r=[],t&&n.next(t),(0,c.Tg)(e()).subscribe(s=(0,o._)(n,u,i.l))};u(),t.subscribe((0,o._)(n,e=>null==r?void 0:r.push(e),()=>{r&&n.next(r),n.complete()},void 0,()=>r=s=null))})}},5900:function(e,t,n){"use strict";n.d(t,{I:function(){return o},w:function(){return i}});var r=n(4490);const i=new r.c(e=>e.complete());function o(e){return e?function(e){return new r.c(t=>e.schedule(()=>t.complete()))}(e):i}},5930:function(){[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(e){e.hasOwnProperty("remove")||Object.defineProperty(e,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})})},5944:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});const r=(0,n(4772).L)(e=>function(t){e(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t})},5972:function(e,t,n){"use strict";n.d(t,{q:function(){return o}});var r=n(8597),i=n(5664);function o(...e){return t=>(0,r.x)(t,(0,i.of)(...e))}},6010:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(4935);function i(e){return(0,r.T)((t,n,r)=>!e||e(n,r)?t+1:t,0)}},6057:function(e,t,n){"use strict";n.d(t,{f:function(){return o}});var r=n(7199),i=n(6971);function o(e,t=1/0,n){return t=(t||0)<1?1/0:t,(0,r.N)((r,o)=>(0,i.h)(r,o,e,t,void 0,!0,n))}},6084:function(e,t,n){"use strict";n.d(t,{S:function(){return s}});var r=n(4490),i=n(2656),o=n(1630),c=n(8114);function s(e,t){return new r.c(n=>{let r;return(0,c.N)(n,t,()=>{r=e[i.l](),(0,c.N)(n,t,()=>{let e,t;try{({value:e,done:t}=r.next())}catch(e){return void n.error(e)}t?n.complete():n.next(e)},0,!0)}),()=>(0,o.T)(null==r?void 0:r.return)&&r.return()})}},6124:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(5611),i=n(9458);function o(e){return(0,i.q)(r.z,e)}},6199:function(e,t,n){"use strict";n.d(t,{j:function(){return i}});var r=n(7199);function i(e){return(0,r.N)((t,n)=>{try{t.subscribe(n)}finally{n.add(e)}})}},6279:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))(function(i,o){function c(e){try{u(r.next(e))}catch(e){o(e)}}function s(e){try{u(r.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(c,s)}u((r=r.apply(e,t||[])).next())})},c=this&&this.__generator||function(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},c=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return c.next=s(0),c.throw=s(1),c.return=s(2),"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function s(s){return function(u){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;c&&(c=0,s[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,r=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.ThreeDSecure=void 0;var s=n(6398),u=n(6943),a=n(8430),l=n(5078),f=n(9693),d=n(6795),h=n(2744),p=n(2059),v=n(9445),m=n(3658),g=n(8206),b=function(){function e(e,t,n,r,i,o,c){this.loggerService=e,this.configService=t,this.browserData=n,this.challengeService=r,this.methodURLService=i,this.sessionIdService=o,this.processingScreenService=c,this.logs$=this.loggerService.logs$,this.addProcessingScreenDuration=function(e){return new Promise(function(t){setTimeout(function(){t("duration")},e+2e3||2e3)})}}return e.prototype.init$=function(e){try{return this.loggerService.init(e.loggingLevel||g.LoggingLevel.ERROR),this.configService.setConfig(e),this.sessionIdService.createId(),this.configService.getConfig$().pipe((0,u.first)())}catch(e){return this.loggerService.error(e),(0,s.throwError)(this.loggerService.getErrorMessage("Initialization failed\n\n".concat(JSON.stringify(e))))}},e.prototype.run3DSMethod$=function(e,t,n){try{return this.methodURLService.run$(e,t,n).pipe((0,u.first)())}catch(e){return this.loggerService.error(e),(0,s.throwError)(this.loggerService.getErrorMessage("3DS Method failed\n\n".concat(JSON.stringify(e))))}},e.prototype.doChallenge$=function(e,t,n,r,i,o){try{return this.challengeService.run$(e,t,n,r,i,o).pipe((0,u.first)())}catch(e){return this.loggerService.error(e),(0,s.throwError)(this.loggerService.getErrorMessage("3DS Challenge failed\n\n".concat(JSON.stringify(e))))}},e.prototype.getBrowserData$=function(e,t){try{return this.browserData.getData$(e,t)}catch(e){throw this.loggerService.error(e),new Error("getBrowserData() failed.\n\n".concat(JSON.stringify(e)))}},e.prototype.showProcessingScreen=function(e){return o(this,arguments,void 0,function(e,t){var n;return void 0===t&&(t=0),c(this,function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),this.processingScreenService.show(e),[4,this.addProcessingScreenDuration(t)];case 1:return r.sent(),[3,3];case 2:throw n=r.sent(),this.loggerService.error(n),new Error(this.loggerService.getErrorMessage("Show Processing Screen failed\n\n".concat(JSON.stringify(n))));case 3:return[2]}})})},e.prototype.hideProcessingScreen=function(){try{this.processingScreenService.hide()}catch(e){throw this.loggerService.error(e),new Error(this.loggerService.getErrorMessage("Hide Processing Screen failed\n\n".concat(JSON.stringify(e))))}},e.prototype.cancelChallenge$=function(){try{return this.challengeService.cancelChallenge$()}catch(e){throw this.loggerService.error(e),new Error(this.loggerService.getErrorMessage("Cancel process has failed\n\n".concat(JSON.stringify(e))))}},r([(0,a.Service)(),i("design:paramtypes",[h.LoggerService,l.ConfigService,d.BrowserDataService,v.ChallengeService,m.MethodURLService,f.SessionIdService,p.ProcessingScreenService])],e)}();t.ThreeDSecure=b},6290:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});const r=(0,n(4772).L)(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"})},6314:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var c={};if(r)for(var s=0;s<this.length;s++){var u=this[s][0];null!=u&&(c[u]=!0)}for(var a=0;a<e.length;a++){var l=[].concat(e[a]);r&&c[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),i&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=i):l[4]="".concat(i)),t.push(l))}},t}},6388:function(e,t,n){"use strict";n.d(t,{c:function(){return c}});var r=n(2213),i=n(7793),o=n(8496);function c(e,t=r.E,n){const c=(0,o.O)(e,t);return(0,i.n)(()=>c,n)}},6398:function(e,t,n){"use strict";n.r(t),n.d(t,{ArgumentOutOfRangeError:function(){return X.k},AsyncSubject:function(){return v.h},BehaviorSubject:function(){return h.t},ConnectableObservable:function(){return i.G},EMPTY:function(){return ge.w},EmptyError:function(){return K.G},NEVER:function(){return Ue},NotFoundError:function(){return Q.m},Notification:function(){return $.Eg},NotificationKind:function(){return $.Ij},ObjectUnsubscribedError:function(){return ee.P},Observable:function(){return r.c},ReplaySubject:function(){return p.m},Scheduler:function(){return H._},SequenceError:function(){return te.I},Subject:function(){return d.B},Subscriber:function(){return W.vU},Subscription:function(){return s.yU},TimeoutError:function(){return ne.M},UnsubscriptionError:function(){return re.Z},VirtualAction:function(){return V},VirtualTimeScheduler:function(){return B},animationFrame:function(){return U},animationFrameScheduler:function(){return k},animationFrames:function(){return a},asap:function(){return M},asapScheduler:function(){return x},async:function(){return I.b},asyncScheduler:function(){return I.E},audit:function(){return et.s},auditTime:function(){return tt.Z},bindCallback:function(){return ae},bindNodeCallback:function(){return le},buffer:function(){return nt.r},bufferCount:function(){return rt.S},bufferTime:function(){return it.w},bufferToggle:function(){return ot.H},bufferWhen:function(){return ct.n},catchError:function(){return st.W},combineAll:function(){return ut.p},combineLatest:function(){return fe.z},combineLatestAll:function(){return at.A},combineLatestWith:function(){return lt.v},concat:function(){return de.x},concatAll:function(){return ft.K},concatMap:function(){return dt.H},concatMapTo:function(){return ht.S},concatWith:function(){return pt.$},config:function(){return Qe.$},connect:function(){return vt.N},connectable:function(){return me},count:function(){return mt.U},debounce:function(){return gt.s},debounceTime:function(){return bt.B},defaultIfEmpty:function(){return yt.U},defer:function(){return pe},delay:function(){return wt.c},delayWhen:function(){return Et.o},dematerialize:function(){return St.Z},distinct:function(){return At.d},distinctUntilChanged:function(){return _t.F},distinctUntilKeyChanged:function(){return Ct.w},elementAt:function(){return Tt.s},empty:function(){return ge.I},endWith:function(){return Ot.q},every:function(){return xt.S},exhaust:function(){return Mt.B},exhaustAll:function(){return It.C},exhaustMap:function(){return Rt.p},expand:function(){return Nt.f},filter:function(){return ze.p},finalize:function(){return Pt.j},find:function(){return Dt.I},findIndex:function(){return jt.S},first:function(){return Lt.$},firstValueFrom:function(){return J},flatMap:function(){return Ft.q},forkJoin:function(){return Se},from:function(){return Ae.H},fromEvent:function(){return Me},fromEventPattern:function(){return Re},generate:function(){return Pe},groupBy:function(){return kt.$},identity:function(){return q.D},ignoreElements:function(){return Ut.w},iif:function(){return De},interval:function(){return je.Y},isEmpty:function(){return Bt.I},isObservable:function(){return G},last:function(){return Vt.H},lastValueFrom:function(){return Y},map:function(){return Ht.T},mapTo:function(){return Wt.u},materialize:function(){return $t.O},max:function(){return zt.T},merge:function(){return ke},mergeAll:function(){return Le.U},mergeMap:function(){return _e.Z},mergeMapTo:function(){return qt.C},mergeScan:function(){return Zt.i},mergeWith:function(){return Gt.X},min:function(){return Kt.j},multicast:function(){return Yt.f},never:function(){return Be},noop:function(){return F.l},observable:function(){return o.s},observeOn:function(){return se.Q},of:function(){return Ve.of},onErrorResumeNext:function(){return He.g},onErrorResumeNextWith:function(){return Jt.w},pairs:function(){return We},pairwise:function(){return Xt.J},partition:function(){return Fe},pipe:function(){return z.F},pluck:function(){return Qt.E},publish:function(){return en.m},publishBehavior:function(){return tn.K},publishLast:function(){return nn.k},publishReplay:function(){return rn.H},queue:function(){return D},queueScheduler:function(){return P},race:function(){return qe.O},raceWith:function(){return on.w},range:function(){return Ze},reduce:function(){return cn.T},refCount:function(){return fn.B},repeat:function(){return sn.u},repeatWhen:function(){return un.Y},retry:function(){return an.L},retryWhen:function(){return ln.l},sample:function(){return dn.X},sampleTime:function(){return hn.q},scan:function(){return pn.S},scheduled:function(){return Xe.c},sequenceEqual:function(){return vn.m},share:function(){return mn.u},shareReplay:function(){return gn.t},single:function(){return bn.J},skip:function(){return yn.i},skipLast:function(){return wn.G},skipUntil:function(){return En.U},skipWhile:function(){return Sn.j},startWith:function(){return An.Z},subscribeOn:function(){return oe._},switchAll:function(){return _n.w},switchMap:function(){return Cn.n},switchMapTo:function(){return Tn.K},switchScan:function(){return On.m},take:function(){return xn.s},takeLast:function(){return Mn.o},takeUntil:function(){return In.Q},takeWhile:function(){return Rn.v},tap:function(){return Nn.M},throttle:function(){return Pn.n},throttleTime:function(){return Dn.c},throwError:function(){return Ge.$},throwIfEmpty:function(){return jn.v},timeInterval:function(){return Ln.f},timeout:function(){return ne.w},timeoutWith:function(){return kn.o},timer:function(){return Ke.O},timestamp:function(){return Un.v},toArray:function(){return Bn.$},using:function(){return Ye},window:function(){return Vn.x},windowCount:function(){return Hn.k},windowTime:function(){return Wn.s},windowToggle:function(){return $n.J},windowWhen:function(){return zn.p},withLatestFrom:function(){return Fn.E},zip:function(){return Je.y},zipAll:function(){return qn.x},zipWith:function(){return Zn.O}});var r=n(4490),i=n(5186),o=n(1211);const c={now(){return(c.delegate||performance).now()},delegate:void 0};var s=n(5514);const u={schedule(e){let t=requestAnimationFrame,n=cancelAnimationFrame;const{delegate:r}=u;r&&(t=r.requestAnimationFrame,n=r.cancelAnimationFrame);const i=t(t=>{n=void 0,e(t)});return new s.yU(()=>null==n?void 0:n(i))},requestAnimationFrame(...e){const{delegate:t}=u;return((null==t?void 0:t.requestAnimationFrame)||requestAnimationFrame)(...e)},cancelAnimationFrame(...e){const{delegate:t}=u;return((null==t?void 0:t.cancelAnimationFrame)||cancelAnimationFrame)(...e)},delegate:void 0};function a(e){return e?l(e):f}function l(e){return new r.c(t=>{const n=e||c,r=n.now();let i=0;const o=()=>{t.closed||(i=u.requestAnimationFrame(c=>{i=0;const s=n.now();t.next({timestamp:e?s:c,elapsed:s-r}),o()}))};return o(),()=>{i&&u.cancelAnimationFrame(i)}})}const f=l();var d=n(4927),h=n(4761),p=n(3686),v=n(9115),m=n(4337);let g,b=1;const y={};function w(e){return e in y&&(delete y[e],!0)}const E={setImmediate(e){const t=b++;return y[t]=!0,g||(g=Promise.resolve()),g.then(()=>w(t)&&e()),t},clearImmediate(e){w(e)}},{setImmediate:S,clearImmediate:A}=E,_={setImmediate(...e){const{delegate:t}=_;return((null==t?void 0:t.setImmediate)||S)(...e)},clearImmediate(e){const{delegate:t}=_;return((null==t?void 0:t.clearImmediate)||A)(e)},delegate:void 0};class C extends m.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=_.setImmediate(e.flush.bind(e,void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:i}=e;null!=t&&(null===(r=i[i.length-1])||void 0===r?void 0:r.id)!==t&&(_.clearImmediate(t),e._scheduled===t&&(e._scheduled=void 0))}}var T=n(5372);class O extends T.q{flush(e){this._active=!0;const t=this._scheduled;this._scheduled=void 0;const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const x=new O(C),M=x;var I=n(2213);class R extends m.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!=n&&n>0||null==n&&this.delay>0?super.requestAsyncId(e,t,n):(e.flush(this),0)}}class N extends T.q{}const P=new N(R),D=P;class j extends m.R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e._scheduled||(e._scheduled=u.requestAnimationFrame(()=>e.flush(void 0))))}recycleAsyncId(e,t,n=0){var r;if(null!=n?n>0:this.delay>0)return super.recycleAsyncId(e,t,n);const{actions:i}=e;null!=t&&t===e._scheduled&&(null===(r=i[i.length-1])||void 0===r?void 0:r.id)!==t&&(u.cancelAnimationFrame(t),e._scheduled=void 0)}}class L extends T.q{flush(e){let t;this._active=!0,e?t=e.id:(t=this._scheduled,this._scheduled=void 0);const{actions:n}=this;let r;e=e||n.shift();do{if(r=e.execute(e.state,e.delay))break}while((e=n[0])&&e.id===t&&n.shift());if(this._active=!1,r){for(;(e=n[0])&&e.id===t&&n.shift();)e.unsubscribe();throw r}}}const k=new L(j),U=k;class B extends T.q{constructor(e=V,t=1/0){super(e,()=>this.frame),this.maxFrames=t,this.frame=0,this.index=-1}flush(){const{actions:e,maxFrames:t}=this;let n,r;for(;(r=e[0])&&r.delay<=t&&(e.shift(),this.frame=r.delay,!(n=r.execute(r.state,r.delay))););if(n){for(;r=e.shift();)r.unsubscribe();throw n}}}B.frameTimeFactor=10;class V extends m.R{constructor(e,t,n=(e.index+=1)){super(e,t),this.scheduler=e,this.work=t,this.index=n,this.active=!0,this.index=e.index=n}schedule(e,t=0){if(Number.isFinite(t)){if(!this.id)return super.schedule(e,t);this.active=!1;const n=new V(this.scheduler,this.work);return this.add(n),n.schedule(e,t)}return s.yU.EMPTY}requestAsyncId(e,t,n=0){this.delay=e.frame+n;const{actions:r}=e;return r.push(this),r.sort(V.sortActions),1}recycleAsyncId(e,t,n=0){}_execute(e,t){if(!0===this.active)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}var H=n(9878),W=n(3263),$=n(2668),z=n(5678),F=n(5690),q=n(2092),Z=n(1630);function G(e){return!!e&&(e instanceof r.c||(0,Z.T)(e.lift)&&(0,Z.T)(e.subscribe))}var K=n(7555);function Y(e,t){const n="object"==typeof t;return new Promise((r,i)=>{let o,c=!1;e.subscribe({next:e=>{o=e,c=!0},error:i,complete:()=>{c?r(o):n?r(t.defaultValue):i(new K.G)}})})}function J(e,t){const n="object"==typeof t;return new Promise((r,i)=>{const o=new W.Ms({next:e=>{r(e),o.unsubscribe()},error:i,complete:()=>{n?r(t.defaultValue):i(new K.G)}});e.subscribe(o)})}var X=n(4701),Q=n(7371),ee=n(6290),te=n(9765),ne=n(526),re=n(5944),ie=n(4361),oe=n(3164),ce=n(3879),se=n(604);function ue(e,t,n,i){if(n){if(!(0,ie.m)(n))return function(...r){return ue(e,t,i).apply(this,r).pipe((0,ce.I)(n))};i=n}return i?function(...n){return ue(e,t).apply(this,n).pipe((0,oe._)(i),(0,se.Q)(i))}:function(...n){const i=new v.h;let o=!0;return new r.c(r=>{const c=i.subscribe(r);if(o){o=!1;let r=!1,c=!1;t.apply(this,[...n,(...t)=>{if(e){const e=t.shift();if(null!=e)return void i.error(e)}i.next(1<t.length?t:t[0]),c=!0,r&&i.complete()}]),c&&i.complete(),r=!0}return c})}}function ae(e,t,n){return ue(!1,e,t,n)}function le(e,t,n){return ue(!0,e,t,n)}var fe=n(5611),de=n(8597),he=n(9265);function pe(e){return new r.c(t=>{(0,he.Tg)(e()).subscribe(t)})}const ve={connector:()=>new d.B,resetOnDisconnect:!0};function me(e,t=ve){let n=null;const{connector:i,resetOnDisconnect:o=!0}=t;let c=i();const s=new r.c(e=>c.subscribe(e));return s.connect=()=>(n&&!n.closed||(n=pe(()=>e).subscribe(c),o&&n.add(()=>c=i())),n),s}var ge=n(5900),be=n(468),ye=n(6783),we=n(5547),Ee=n(129);function Se(...e){const t=(0,ye.ms)(e),{args:n,keys:i}=(0,be.D)(e),o=new r.c(e=>{const{length:t}=n;if(!t)return void e.complete();const r=new Array(t);let o=t,c=t;for(let s=0;s<t;s++){let t=!1;(0,he.Tg)(n[s]).subscribe((0,we._)(e,e=>{t||(t=!0,c--),r[s]=e},()=>o--,void 0,()=>{o&&t||(c||e.next(i?(0,Ee.e)(i,r):r),e.complete())}))}});return t?o.pipe((0,ce.I)(t)):o}var Ae=n(4942),_e=n(3475),Ce=n(3962);const Te=["addListener","removeListener"],Oe=["addEventListener","removeEventListener"],xe=["on","off"];function Me(e,t,n,i){if((0,Z.T)(n)&&(i=n,n=void 0),i)return Me(e,t,n).pipe((0,ce.I)(i));const[o,c]=function(e){return(0,Z.T)(e.addEventListener)&&(0,Z.T)(e.removeEventListener)}(e)?Oe.map(r=>i=>e[r](t,i,n)):function(e){return(0,Z.T)(e.addListener)&&(0,Z.T)(e.removeListener)}(e)?Te.map(Ie(e,t)):function(e){return(0,Z.T)(e.on)&&(0,Z.T)(e.off)}(e)?xe.map(Ie(e,t)):[];if(!o&&(0,Ce.X)(e))return(0,_e.Z)(e=>Me(e,t,n))((0,he.Tg)(e));if(!o)throw new TypeError("Invalid event target");return new r.c(e=>{const t=(...t)=>e.next(1<t.length?t:t[0]);return o(t),()=>c(t)})}function Ie(e,t){return n=>r=>e[n](t,r)}function Re(e,t,n){return n?Re(e,t).pipe((0,ce.I)(n)):new r.c(n=>{const r=(...e)=>n.next(1===e.length?e[0]:e),i=e(r);return(0,Z.T)(t)?()=>t(r,i):void 0})}var Ne=n(6084);function Pe(e,t,n,r,i){let o,c;function*s(){for(let e=c;!t||t(e);e=n(e))yield o(e)}return 1===arguments.length?({initialState:c,condition:t,iterate:n,resultSelector:o=q.D,scheduler:i}=e):(c=e,!r||(0,ie.m)(r)?(o=q.D,i=r):o=r),pe(i?()=>(0,Ne.S)(s(),i):s)}function De(e,t,n){return pe(()=>e()?t:n)}var je=n(9300),Le=n(5386);function ke(...e){const t=(0,ye.lI)(e),n=(0,ye.R0)(e,1/0),r=e;return r.length?1===r.length?(0,he.Tg)(r[0]):(0,Le.U)(n)((0,Ae.H)(r,t)):ge.w}const Ue=new r.c(F.l);function Be(){return Ue}var Ve=n(5664),He=n(1674);function We(e,t){return(0,Ae.H)(Object.entries(e),t)}var $e=n(5737),ze=n(9251);function Fe(e,t,n){return[(0,ze.p)(t,n)((0,he.Tg)(e)),(0,ze.p)((0,$e.A)(t,n))((0,he.Tg)(e))]}var qe=n(7388);function Ze(e,t,n){if(null==t&&(t=e,e=0),t<=0)return ge.w;const i=t+e;return new r.c(n?t=>{let r=e;return n.schedule(function(){r<i?(t.next(r++),this.schedule()):t.complete()})}:t=>{let n=e;for(;n<i&&!t.closed;)t.next(n++);t.complete()})}var Ge=n(1067),Ke=n(8496);function Ye(e,t){return new r.c(n=>{const r=e(),i=t(r);return(i?(0,he.Tg)(i):ge.w).subscribe(n),()=>{r&&r.unsubscribe()}})}var Je=n(5810),Xe=n(6459),Qe=n(2561),et=n(6718),tt=n(91),nt=n(5699),rt=n(5264),it=n(9670),ot=n(1223),ct=n(5867),st=n(5234),ut=n(9493),at=n(6124),lt=n(1275),ft=n(2402),dt=n(1755),ht=n(1966),pt=n(17),vt=n(8073),mt=n(6010),gt=n(5502),bt=n(8507),yt=n(7166),wt=n(358),Et=n(1130),St=n(421),At=n(8137),_t=n(2957),Ct=n(5728),Tt=n(8996),Ot=n(5972),xt=n(522),Mt=n(2307),It=n(1548),Rt=n(5237),Nt=n(6057),Pt=n(6199),Dt=n(2510),jt=n(1176),Lt=n(9375),kt=n(347),Ut=n(5350),Bt=n(4832),Vt=n(3937),Ht=n(9939),Wt=n(8838),$t=n(380),zt=n(7067),Ft=n(7698),qt=n(198),Zt=n(2540),Gt=n(5433),Kt=n(3273),Yt=n(9459),Jt=n(8254),Xt=n(7045),Qt=n(9324),en=n(8586),tn=n(2232),nn=n(5382),rn=n(2025),on=n(1612),cn=n(4935),sn=n(1430),un=n(1434),an=n(3895),ln=n(6951),fn=n(8141),dn=n(1551),hn=n(2762),pn=n(8844),vn=n(2082),mn=n(962),gn=n(769),bn=n(4157),yn=n(1013),wn=n(6670),En=n(808),Sn=n(2933),An=n(9833),_n=n(8130),Cn=n(7051),Tn=n(5454),On=n(132),xn=n(3394),Mn=n(8014),In=n(5016),Rn=n(8165),Nn=n(9616),Pn=n(7793),Dn=n(6388),jn=n(81),Ln=n(5021),kn=n(3146),Un=n(7309),Bn=n(867),Vn=n(2513),Hn=n(8878),Wn=n(3892),$n=n(2345),zn=n(2681),Fn=n(8846),qn=n(4543),Zn=n(1894)},6459:function(e,t,n){"use strict";n.d(t,{c:function(){return g}});var r=n(9265),i=n(604),o=n(3164),c=n(4490),s=n(6084),u=n(8114);function a(e,t){if(!e)throw new Error("Iterable cannot be null");return new c.c(n=>{(0,u.N)(n,t,()=>{const r=e[Symbol.asyncIterator]();(0,u.N)(n,t,()=>{r.next().then(e=>{e.done?n.complete():n.next(e.value)})},0,!0)})})}var l=n(2816),f=n(3905),d=n(3962),h=n(420),p=n(450),v=n(1250),m=n(7981);function g(e,t){if(null!=e){if((0,l.l)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,i.Q)(t))}(e,t);if((0,d.X)(e))return function(e,t){return new c.c(n=>{let r=0;return t.schedule(function(){r===e.length?n.complete():(n.next(e[r++]),n.closed||this.schedule())})})}(e,t);if((0,f.y)(e))return function(e,t){return(0,r.Tg)(e).pipe((0,o._)(t),(0,i.Q)(t))}(e,t);if((0,p.T)(e))return a(e,t);if((0,h.x)(e))return(0,s.S)(e,t);if((0,m.U)(e))return function(e,t){return a((0,m.C)(e),t)}(e,t)}throw(0,v.L)(e)}},6542:function(e,t,n){"use strict";function r(e){return e instanceof Date&&!isNaN(e)}n.d(t,{v:function(){return r}})},6579:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(5611),i=n(7199),o=n(3075),c=n(3879),s=n(5678),u=n(6783);function a(...e){const t=(0,u.ms)(e);return t?(0,s.F)(a(...e),(0,c.I)(t)):(0,i.N)((t,n)=>{(0,r.P)([t,...(0,o.K)(e)])(n)})}},6670:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var r=n(2092),i=n(7199),o=n(5547);function c(e){return e<=0?r.D:(0,i.N)((t,n)=>{let r=new Array(e),i=0;return t.subscribe((0,o._)(n,t=>{const o=i++;if(o<e)r[o]=t;else{const i=o%e,c=r[i];r[i]=t,n.next(c)}})),()=>{r=null}})}},6718:function(e,t,n){"use strict";n.d(t,{s:function(){return c}});var r=n(7199),i=n(9265),o=n(5547);function c(e){return(0,r.N)((t,n)=>{let r=!1,c=null,s=null,u=!1;const a=()=>{if(null==s||s.unsubscribe(),s=null,r){r=!1;const e=c;c=null,n.next(e)}u&&n.complete()},l=()=>{s=null,u&&n.complete()};t.subscribe((0,o._)(n,t=>{r=!0,c=t,s||(0,i.Tg)(e(t)).subscribe(s=(0,o._)(n,a,l))},()=>{u=!0,(!r||!s||s.closed)&&n.complete()}))})}},6779:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(7022),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},6783:function(e,t,n){"use strict";n.d(t,{R0:function(){return u},lI:function(){return s},ms:function(){return c}});var r=n(1630),i=n(4361);function o(e){return e[e.length-1]}function c(e){return(0,r.T)(o(e))?e.pop():void 0}function s(e){return(0,i.m)(o(e))?e.pop():void 0}function u(e,t){return"number"==typeof o(e)?e.pop():t}},6795:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)},i=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},o=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},c=this&&this.__param||function(e,t){return function(n,r){t(n,r,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserDataService=void 0;var s=n(6398),u=n(6943),a=n(8430),l=n(109),f=n(1274),d=n(4193),h=n(5269),p=n(3708),v=n(2744),m=function(){function e(e,t,n,r,i){this.window=e,this.domMethodsService=t,this.interFrameCommunicatorService=n,this.base64TranscoderService=r,this.loggerService=i,this.acceptableColorDepthValues=[1,4,8,15,16,24,32,48],this.fallbackColorDepthValue=24,this.browserDataIframeSelector="tp-3ds-browser-data-iframe",this.browserDataTimeout=1e4,this.fallbackAcceptHeaderValue="*/*"}return e.prototype.getData$=function(e,t){var n=this.getBrowserGeneralDataObject(t);return!t||t.isRequiredBrowserIP||t.isRequiredBrowserAcceptHeader?this.getAcceptHeaderAndIPAddress$(e).pipe((0,u.map)(function(e){var i=r({},n);return t?(t.isRequiredBrowserAcceptHeader&&(i.browserAcceptHeader=e.browserAcceptHeader),t.isRequiredBrowserIP&&(i.browserIP=e.browserIP)):(i.browserAcceptHeader=e.browserAcceptHeader,i.browserIP=e.browserIP),i})):(0,s.of)(n)},e.prototype.getBrowserGeneralDataObject=function(e){var t=function(e){return e.split("-").slice(0,2).join("-")},n={};return e?(e.isRequiredBrowserJavaEnabled&&(n.browserJavaEnabled=this.window.navigator.javaEnabled()),e.isRequiredBrowserJavascriptEnabled&&(n.browserJavascriptEnabled=!0),e.isRequiredBrowserLanguage&&(n.browserLanguage=t(this.window.navigator.language||this.window.navigator.userLanguage)),e.isRequiredBrowserScreenWidth&&(n.browserScreenWidth=this.window.screen.width),e.isRequiredBrowserScreenHeight&&(n.browserScreenHeight=this.getScreenHeight()),e.isRequiredBrowserColorDepth&&(n.browserColorDepth=this.getColorDepth(this.window.screen)),e.isRequiredBrowserUserAgent&&(n.browserUserAgent=this.window.navigator.userAgent),e.isRequiredBrowserTZ&&(n.browserTZ=(new Date).getTimezoneOffset())):n={browserJavaEnabled:this.window.navigator.javaEnabled(),browserJavascriptEnabled:!0,browserLanguage:t(this.window.navigator.language),browserScreenWidth:this.window.screen.width,browserScreenHeight:this.getScreenHeight(),browserColorDepth:this.getColorDepth(this.window.screen),browserUserAgent:this.window.navigator.userAgent,browserTZ:(new Date).getTimezoneOffset()},n},e.prototype.getScreenHeight=function(){for(var e=[this.window.screen.height,this.window.screen.availHeight,this.window.innerHeight,this.window.outerHeight],t=!1,n=999999,r=n,i=0,o=e;i<o.length;i++){var c=o[i];if(void 0!==c&&"number"==typeof c&&c>0&&c<=n){r=c;break}t=!0}return t&&this.loggerService.error("Error in calculating screen height. Chosen value is ".concat(r,". Options were ").concat(JSON.stringify(e))),r},e.prototype.getColorDepth=function(e){return this.acceptableColorDepthValues.includes(e.colorDepth)?e.colorDepth:this.fallbackColorDepthValue},e.prototype.getAcceptHeaderAndIPAddress$=function(e){var t=this,n="string"==typeof e?e:e[0];return(0,s.defer)(function(){return(0,s.of)(t.createIframeForAcceptHeaderAndIPAddress(n))}).pipe((0,s.switchMap)(function(){return t.interFrameCommunicatorService.receive$(f.InterFrameCommunicatorMessageType.BROWSER_DATA_RESPONSE).pipe((0,s.take)(1))}),(0,u.tap)(function(e){return t.loggerService.debug("Received raw browser data from iframe: ".concat(e))}),(0,u.map)(function(e){return t.base64TranscoderService.decode(e)}),(0,u.map)(function(e){return{browserAcceptHeader:e.acceptHeader,browserIP:e.userIP}}),(0,u.tap)(function(e){return t.loggerService.debug("Collected browser data: ".concat(JSON.stringify(e)))}),(0,s.finalize)(function(){return t.destroyView()}),(0,u.timeout)(this.browserDataTimeout),(0,s.retry)(2),(0,s.catchError)(function(e){return t.loggerService.error("Cannot retrieve user IP and accept header. Using fallback values instead."),t.loggerService.error(e),(0,s.of)({browserAcceptHeader:t.fallbackAcceptHeaderValue,browserIP:""})}))},e.prototype.createIframeForAcceptHeaderAndIPAddress=function(e){var t=this,n=this.domMethodsService.createElement("iframe",{src:e,id:this.browserDataIframeSelector,width:"0px",height:"0px"});this.domMethodsService.addToElement(n,this.domMethodsService.getElement("body")),this.loggerService.debug("Created browser data iframe, url: ".concat(e)),n.addEventListener("load",function(){return t.loggerService.debug("Browser data iframe load completed, waiting for data")})},e.prototype.destroyView=function(){this.domMethodsService.removeElement(this.domMethodsService.getElement("#".concat(this.browserDataIframeSelector))),this.loggerService.debug("Destroyed browser data iframe")},i([(0,a.Service)(),c(0,(0,a.Inject)(l.TOKEN_WINDOW)),o("design:paramtypes",[Window,h.DomMethodsService,p.InterFrameCommunicatorService,d.Base64TranscoderService,v.LoggerService])],e)}();t.BrowserDataService=m},6943:function(e,t,n){"use strict";n.r(t),n.d(t,{audit:function(){return r.s},auditTime:function(){return i.Z},buffer:function(){return o.r},bufferCount:function(){return c.S},bufferTime:function(){return s.w},bufferToggle:function(){return u.H},bufferWhen:function(){return a.n},catchError:function(){return l.W},combineAll:function(){return f.p},combineLatest:function(){return h.z},combineLatestAll:function(){return d.A},combineLatestWith:function(){return p.v},concat:function(){return v.x},concatAll:function(){return m.K},concatMap:function(){return g.H},concatMapTo:function(){return b.S},concatWith:function(){return y.$},connect:function(){return w.N},count:function(){return E.U},debounce:function(){return S.s},debounceTime:function(){return A.B},defaultIfEmpty:function(){return _.U},delay:function(){return C.c},delayWhen:function(){return T.o},dematerialize:function(){return O.Z},distinct:function(){return x.d},distinctUntilChanged:function(){return M.F},distinctUntilKeyChanged:function(){return I.w},elementAt:function(){return R.s},endWith:function(){return N.q},every:function(){return P.S},exhaust:function(){return D.B},exhaustAll:function(){return j.C},exhaustMap:function(){return L.p},expand:function(){return k.f},filter:function(){return U.p},finalize:function(){return B.j},find:function(){return V.I},findIndex:function(){return H.S},first:function(){return W.$},flatMap:function(){return Q.q},groupBy:function(){return $.$},ignoreElements:function(){return z.w},isEmpty:function(){return F.I},last:function(){return q.H},map:function(){return Z.T},mapTo:function(){return G.u},materialize:function(){return K.O},max:function(){return Y.T},merge:function(){return J.h},mergeAll:function(){return X.U},mergeMap:function(){return ee.Z},mergeMapTo:function(){return te.C},mergeScan:function(){return ne.i},mergeWith:function(){return re.X},min:function(){return ie.j},multicast:function(){return oe.f},observeOn:function(){return ce.Q},onErrorResumeNext:function(){return se.g},pairwise:function(){return ue.J},partition:function(){return le},pluck:function(){return fe.E},publish:function(){return de.m},publishBehavior:function(){return he.K},publishLast:function(){return pe.k},publishReplay:function(){return ve.H},race:function(){return be},raceWith:function(){return ge.w},reduce:function(){return ye.T},refCount:function(){return _e.B},repeat:function(){return we.u},repeatWhen:function(){return Ee.Y},retry:function(){return Se.L},retryWhen:function(){return Ae.l},sample:function(){return Ce.X},sampleTime:function(){return Te.q},scan:function(){return Oe.S},sequenceEqual:function(){return xe.m},share:function(){return Me.u},shareReplay:function(){return Ie.t},single:function(){return Re.J},skip:function(){return Ne.i},skipLast:function(){return Pe.G},skipUntil:function(){return De.U},skipWhile:function(){return je.j},startWith:function(){return Le.Z},subscribeOn:function(){return ke._},switchAll:function(){return Ue.w},switchMap:function(){return Be.n},switchMapTo:function(){return Ve.K},switchScan:function(){return He.m},take:function(){return We.s},takeLast:function(){return $e.o},takeUntil:function(){return ze.Q},takeWhile:function(){return Fe.v},tap:function(){return qe.M},throttle:function(){return Ze.n},throttleTime:function(){return Ge.c},throwIfEmpty:function(){return Ke.v},timeInterval:function(){return Ye.f},timeout:function(){return Je.w},timeoutWith:function(){return Xe.o},timestamp:function(){return Qe.v},toArray:function(){return et.$},window:function(){return tt.x},windowCount:function(){return nt.k},windowTime:function(){return rt.s},windowToggle:function(){return it.J},windowWhen:function(){return ot.p},withLatestFrom:function(){return ct.E},zip:function(){return st.y},zipAll:function(){return ut.x},zipWith:function(){return at.O}});var r=n(6718),i=n(91),o=n(5699),c=n(5264),s=n(9670),u=n(1223),a=n(5867),l=n(5234),f=n(9493),d=n(6124),h=n(6579),p=n(1275),v=n(1277),m=n(2402),g=n(1755),b=n(1966),y=n(17),w=n(8073),E=n(6010),S=n(5502),A=n(8507),_=n(7166),C=n(358),T=n(1130),O=n(421),x=n(8137),M=n(2957),I=n(5728),R=n(8996),N=n(5972),P=n(522),D=n(2307),j=n(1548),L=n(5237),k=n(6057),U=n(9251),B=n(6199),V=n(2510),H=n(1176),W=n(9375),$=n(347),z=n(5350),F=n(4832),q=n(3937),Z=n(9939),G=n(8838),K=n(380),Y=n(7067),J=n(4549),X=n(5386),Q=n(7698),ee=n(3475),te=n(198),ne=n(2540),re=n(5433),ie=n(3273),oe=n(9459),ce=n(604),se=n(8254),ue=n(7045),ae=n(5737);function le(e,t){return n=>[(0,U.p)(e,t)(n),(0,U.p)((0,ae.A)(e,t))(n)]}var fe=n(9324),de=n(8586),he=n(2232),pe=n(5382),ve=n(2025),me=n(3075),ge=n(1612);function be(...e){return(0,ge.w)(...(0,me.K)(e))}var ye=n(4935),we=n(1430),Ee=n(1434),Se=n(3895),Ae=n(6951),_e=n(8141),Ce=n(1551),Te=n(2762),Oe=n(8844),xe=n(2082),Me=n(962),Ie=n(769),Re=n(4157),Ne=n(1013),Pe=n(6670),De=n(808),je=n(2933),Le=n(9833),ke=n(3164),Ue=n(8130),Be=n(7051),Ve=n(5454),He=n(132),We=n(3394),$e=n(8014),ze=n(5016),Fe=n(8165),qe=n(9616),Ze=n(7793),Ge=n(6388),Ke=n(81),Ye=n(5021),Je=n(526),Xe=n(3146),Qe=n(7309),et=n(867),tt=n(2513),nt=n(8878),rt=n(3892),it=n(2345),ot=n(2681),ct=n(8846),st=n(1114),ut=n(4543),at=n(1894)},6951:function(e,t,n){"use strict";n.d(t,{l:function(){return s}});var r=n(9265),i=n(4927),o=n(7199),c=n(5547);function s(e){return(0,o.N)((t,n)=>{let o,s,u=!1;const a=()=>{o=t.subscribe((0,c._)(n,void 0,void 0,t=>{s||(s=new i.B,(0,r.Tg)(e(s)).subscribe((0,c._)(n,()=>o?a():u=!0))),s&&s.next(t)})),u&&(o.unsubscribe(),o=null,u=!1,a())};a()})}},6971:function(e,t,n){"use strict";n.d(t,{h:function(){return c}});var r=n(9265),i=n(8114),o=n(5547);function c(e,t,n,c,s,u,a,l){const f=[];let d=0,h=0,p=!1;const v=()=>{!p||f.length||d||t.complete()},m=e=>d<c?g(e):f.push(e),g=e=>{u&&t.next(e),d++;let l=!1;(0,r.Tg)(n(e,h++)).subscribe((0,o._)(t,e=>{null==s||s(e),u?m(e):t.next(e)},()=>{l=!0},void 0,()=>{if(l)try{for(d--;f.length&&d<c;){const e=f.shift();a?(0,i.N)(t,a,()=>g(e)):g(e)}v()}catch(e){t.error(e)}}))};return e.subscribe((0,o._)(t,m,()=>{p=!0,v()})),()=>{null==l||l()}}},7022:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o),s=n(3770),u=c()(i());u.i(s.A),u.push([e.id,"/*\n *** @TODO: STJS-1783 - [TECH IMP] Reuse styles from processing screen challenge window and the parent window\n */\n\n.tp-3ds-processing-screen {\n position: relative;\n}\n\n.tp-3ds-processing-screen-wrapper {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n z-index: 50;\n}\n\n.tp-3ds-processing-screen-wrapper-attach-to-element {\n position: absolute;\n}\n\n.tp-3ds-processing-screen-loader {\n box-sizing: border-box;\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n border: 4px solid #e61c5b;\n border-radius: 32px;\n animation: tp-3ds-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) 0.15s infinite;\n border-color: #e61c5b transparent;\n will-change: animation;\n transform: translate(-50%) rotate(0deg);\n}\n\n.tp-3ds-processing-screen-loader-with-logo {\n margin-top: 30px;\n}\n\n.tp-3ds-processing-screen-logo {\n position: absolute;\n top: 50%;\n left: 50%;\n user-select: none;\n}\n\n.tp-3ds-processing-screen-wrapper-visa .tp-3ds-processing-screen-logo {\n margin: -100px 0 0 -56px;\n}\n\n.tp-3ds-processing-screen-wrapper-mastercard .tp-3ds-processing-screen-logo {\n margin: -123px 0 0 -79px;\n}\n\n.tp-3ds-processing-screen-wrapper-amex .tp-3ds-processing-screen-logo {\n margin: -124px 0 0 -60px;\n}\n\n@keyframes tp-3ds-spin {\n from {\n transform: translate(-50%) rotate(0deg);\n }\n to {\n transform: translate(-50%) rotate(360deg);\n }\n}\n","",{version:3,sources:["webpack://./src/shared/services/processing-screen/ProcessingScreen.css"],names:[],mappings:"AAAA;;EAEE;;AAIF;EACE,kBAAkB;AACpB;;AAEA;EACE,eAAe;EACf,MAAM;EACN,OAAO;EACP,WAAW;EACX,YAAY;EACZ,0CAA0C;EAC1C,WAAW;AACb;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,sBAAsB;EACtB,cAAc;EACd,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,WAAW;EACX,YAAY;EACZ,yBAAyB;EACzB,mBAAmB;EACnB,uEAAuE;EACvE,iCAAiC;EACjC,sBAAsB;EACtB,uCAAuC;AACzC;;AAEA;EACE,gBAAgB;AAClB;;AAEA;EACE,kBAAkB;EAClB,QAAQ;EACR,SAAS;EACT,iBAAiB;AACnB;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE,wBAAwB;AAC1B;;AAEA;EACE;IACE,uCAAuC;EACzC;EACA;IACE,yCAAyC;EAC3C;AACF",sourcesContent:['/*\n *** @TODO: STJS-1783 - [TECH IMP] Reuse styles from processing screen challenge window and the parent window\n */\n\n@import "../../styles/Overlay.css";\n\n.tp-3ds-processing-screen {\n position: relative;\n}\n\n.tp-3ds-processing-screen-wrapper {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgba(255, 255, 255, 0.9);\n z-index: 50;\n}\n\n.tp-3ds-processing-screen-wrapper-attach-to-element {\n position: absolute;\n}\n\n.tp-3ds-processing-screen-loader {\n box-sizing: border-box;\n display: block;\n position: absolute;\n top: 50%;\n left: 50%;\n width: 40px;\n height: 40px;\n border: 4px solid #e61c5b;\n border-radius: 32px;\n animation: tp-3ds-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) 0.15s infinite;\n border-color: #e61c5b transparent;\n will-change: animation;\n transform: translate(-50%) rotate(0deg);\n}\n\n.tp-3ds-processing-screen-loader-with-logo {\n margin-top: 30px;\n}\n\n.tp-3ds-processing-screen-logo {\n position: absolute;\n top: 50%;\n left: 50%;\n user-select: none;\n}\n\n.tp-3ds-processing-screen-wrapper-visa .tp-3ds-processing-screen-logo {\n margin: -100px 0 0 -56px;\n}\n\n.tp-3ds-processing-screen-wrapper-mastercard .tp-3ds-processing-screen-logo {\n margin: -123px 0 0 -79px;\n}\n\n.tp-3ds-processing-screen-wrapper-amex .tp-3ds-processing-screen-logo {\n margin: -124px 0 0 -60px;\n}\n\n@keyframes tp-3ds-spin {\n from {\n transform: translate(-50%) rotate(0deg);\n }\n to {\n transform: translate(-50%) rotate(360deg);\n }\n}\n'],sourceRoot:""}]),t.A=u},7045:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(7199),i=n(5547);function o(){return(0,r.N)((e,t)=>{let n,r=!1;e.subscribe((0,i._)(t,e=>{const i=n;n=e,r&&t.next([i,e]),r=!0}))})}},7051:function(e,t,n){"use strict";n.d(t,{n:function(){return c}});var r=n(9265),i=n(7199),o=n(5547);function c(e,t){return(0,i.N)((n,i)=>{let c=null,s=0,u=!1;const a=()=>u&&!c&&i.complete();n.subscribe((0,o._)(i,n=>{null==c||c.unsubscribe();let u=0;const l=s++;(0,r.Tg)(e(n,l)).subscribe(c=(0,o._)(i,e=>i.next(t?t(n,e,l,u++):e),()=>{c=null,a()}))},()=>{u=!0,a()}))})}},7067:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(4935),i=n(1630);function o(e){return(0,r.T)((0,i.T)(e)?(t,n)=>e(t,n)>0?t:n:(e,t)=>e>t?e:t)}},7166:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var r=n(7199),i=n(5547);function o(e){return(0,r.N)((t,n)=>{let r=!1;t.subscribe((0,i._)(n,e=>{r=!0,n.next(e)},()=>{r||n.next(e),n.complete()}))})}},7199:function(e,t,n){"use strict";n.d(t,{N:function(){return o},S:function(){return i}});var r=n(1630);function i(e){return(0,r.T)(null==e?void 0:e.lift)}function o(e){return t=>{if(i(t))return t.lift(function(t){try{return e(t,this)}catch(e){this.error(e)}});throw new TypeError("Unable to lift unknown Observable type")}}},7244:function(e,t,n){"use strict";n.d(t,{S:function(){return i}});var r=n(5547);function i(e,t,n,i,o){return(c,s)=>{let u=n,a=t,l=0;c.subscribe((0,r._)(s,t=>{const n=l++;a=u?e(a,t,n):(u=!0,t),i&&s.next(a)},o&&(()=>{u&&s.next(a),s.complete()})))}}},7309:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(628),i=n(9939);function o(e=r.U){return(0,i.T)(t=>({value:t,timestamp:e.now()}))}},7371:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});const r=(0,n(4772).L)(e=>function(t){e(this),this.name="NotFoundError",this.message=t})},7388:function(e,t,n){"use strict";n.d(t,{O:function(){return s},w:function(){return u}});var r=n(4490),i=n(9265),o=n(3075),c=n(5547);function s(...e){return 1===(e=(0,o.K)(e)).length?(0,i.Tg)(e[0]):new r.c(u(e))}function u(e){return t=>{let n=[];for(let r=0;n&&!t.closed&&r<e.length;r++)n.push((0,i.Tg)(e[r]).subscribe((0,c._)(t,e=>{if(n){for(let e=0;e<n.length;e++)e!==r&&n[e].unsubscribe();n=null}t.next(e)})))}}},7555:function(e,t,n){"use strict";n.d(t,{G:function(){return r}});const r=(0,n(4772).L)(e=>function(){e(this),this.name="EmptyError",this.message="no elements in sequence"})},7659:function(e){"use strict";var t={};e.exports=function(e,n){var r=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(n)}},7698:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});const r=n(3475).Z},7753:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ProcessingScreenMode=void 0,function(e){e.OVERLAY="OVERLAY",e.ATTACH_TO_ELEMENT="ATTACH_TO_ELEMENT"}(n||(t.ProcessingScreenMode=n={}))},7793:function(e,t,n){"use strict";n.d(t,{n:function(){return c}});var r=n(7199),i=n(5547),o=n(9265);function c(e,t){return(0,r.N)((n,r)=>{const{leading:c=!0,trailing:s=!1}=null!=t?t:{};let u=!1,a=null,l=null,f=!1;const d=()=>{null==l||l.unsubscribe(),l=null,s&&(v(),f&&r.complete())},h=()=>{l=null,f&&r.complete()},p=t=>l=(0,o.Tg)(e(t)).subscribe((0,i._)(r,d,h)),v=()=>{if(u){u=!1;const e=a;a=null,r.next(e),!f&&p(e)}};n.subscribe((0,i._)(r,e=>{u=!0,a=e,(!l||l.closed)&&(c?v():p(e))},()=>{f=!0,(!(s&&u&&l)||l.closed)&&r.complete()}))})}},7825:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var r="";n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var i=void 0!==n.layer;i&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,i&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}");var o=n.sourceMap;o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(r,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},7831:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(1938),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},7907:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.ValidationError=void 0;var i=function(e){function t(n){var r=e.call(this,n)||this;return r.name="ValidationError",Object.setPrototypeOf(r,t.prototype),r}return r(t,e),t}(Error);t.ValidationError=i},7981:function(e,t,n){"use strict";n.d(t,{C:function(){return o},U:function(){return c}});var r=n(1635),i=n(1630);function o(e){return(0,r.AQ)(this,arguments,function*(){const t=e.getReader();try{for(;;){const{value:e,done:n}=yield(0,r.N3)(t.read());if(n)return yield(0,r.N3)(void 0);yield yield(0,r.N3)(e)}}finally{t.releaseLock()}})}function c(e){return(0,i.T)(null==e?void 0:e.getReader)}},8014:function(e,t,n){"use strict";n.d(t,{o:function(){return c}});var r=n(5900),i=n(7199),o=n(5547);function c(e){return e<=0?()=>r.w:(0,i.N)((t,n)=>{let r=[];t.subscribe((0,o._)(n,t=>{r.push(t),e<r.length&&r.shift()},()=>{for(const e of r)n.next(e);n.complete()},void 0,()=>{r=null}))})}},8073:function(e,t,n){"use strict";n.d(t,{N:function(){return u}});var r=n(4927),i=n(9265),o=n(7199),c=n(4490);const s={connector:()=>new r.B};function u(e,t=s){const{connector:n}=t;return(0,o.N)((t,r)=>{const o=n();var s;(0,i.Tg)(e((s=o,new c.c(e=>s.subscribe(e))))).subscribe(r),r.add(t.subscribe(o))})}},8114:function(e,t,n){"use strict";function r(e,t,n,r=0,i=!1){const o=t.schedule(function(){n(),i?e.add(this.schedule(null,r)):this.unsubscribe()},r);if(e.add(o),!i)return o}n.d(t,{N:function(){return r}})},8130:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var r=n(7051),i=n(2092);function o(){return(0,r.n)(i.D)}},8137:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var r=n(7199),i=n(5547),o=n(5690),c=n(9265);function s(e,t){return(0,r.N)((n,r)=>{const s=new Set;n.subscribe((0,i._)(r,t=>{const n=e?e(t):t;s.has(n)||(s.add(n),r.next(t))})),t&&(0,c.Tg)(t).subscribe((0,i._)(r,()=>s.clear(),o.l))})}},8141:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(7199),i=n(5547);function o(){return(0,r.N)((e,t)=>{let n=null;e._refCount++;const r=(0,i._)(t,void 0,void 0,void 0,()=>{if(!e||e._refCount<=0||0<--e._refCount)return void(n=null);const r=e._connection,i=n;n=null,!r||i&&r!==i||r.unsubscribe(),t.unsubscribe()});e.subscribe(r),r.closed||(n=e.connect())})}},8165:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(7199),i=n(5547);function o(e,t=!1){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,i._)(r,n=>{const i=e(n,o++);(i||t)&&r.next(n),!i&&r.complete()}))})}},8206:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LoggingLevel=void 0,function(e){e.ERROR="ERROR",e.ALL="ALL"}(n||(t.LoggingLevel=n={}))},8254:function(e,t,n){"use strict";n.d(t,{g:function(){return c},w:function(){return o}});var r=n(3075),i=n(1674);function o(...e){const t=(0,r.K)(e);return e=>(0,i.g)(e,...t)}const c=o},8430:function(e,t,n){"use strict";n.r(t),n.d(t,{CannotInjectValueError:function(){return a},CannotInstantiateValueError:function(){return o},Container:function(){return u},ContainerInstance:function(){return s},Inject:function(){return d},InjectMany:function(){return f},Service:function(){return h},ServiceNotFoundError:function(){return i},Token:function(){return r},default:function(){return p}});class r{constructor(e){this.name=e}}class i extends Error{constructor(e){var t,n;super(),this.name="ServiceNotFoundError",this.normalizedIdentifier="<UNKNOWN_IDENTIFIER>","string"==typeof e?this.normalizedIdentifier=e:e instanceof r?this.normalizedIdentifier=`Token<${e.name||"UNSET_NAME"}>`:e&&(e.name||(null===(t=e.prototype)||void 0===t?void 0:t.name))&&(this.normalizedIdentifier=`MaybeConstructable<${e.name}>`||`MaybeConstructable<${null===(n=e.prototype)||void 0===n?void 0:n.name}>`)}get message(){return`Service with "${this.normalizedIdentifier}" identifier was not found in the container. Register it before usage via explicitly calling the "Container.set" function or using the "@Service()" decorator.`}}class o extends Error{constructor(e){var t,n;super(),this.name="CannotInstantiateValueError",this.normalizedIdentifier="<UNKNOWN_IDENTIFIER>","string"==typeof e?this.normalizedIdentifier=e:e instanceof r?this.normalizedIdentifier=`Token<${e.name||"UNSET_NAME"}>`:e&&(e.name||(null===(t=e.prototype)||void 0===t?void 0:t.name))&&(this.normalizedIdentifier=`MaybeConstructable<${e.name}>`||`MaybeConstructable<${null===(n=e.prototype)||void 0===n?void 0:n.name}>`)}get message(){return`Cannot instantiate the requested value for the "${this.normalizedIdentifier}" identifier. The related metadata doesn't contain a factory or a type to instantiate.`}}const c=Symbol("EMPTY_VALUE");class s{constructor(e){this.services=[],this.id=e}has(e){return!!this.findService(e)}get(e){const t=u.of(void 0),n=t.findService(e),r=this.findService(e);if(n&&!0===n.global)return this.getServiceValue(n);if(r)return this.getServiceValue(r);if(n&&this!==t){const e={...n};e.value=c,this.set(e);const t=this.getServiceValue(e);return this.set({...e,value:t}),t}if(n)return this.getServiceValue(n);throw new i(e)}getMany(e){return this.findAllServices(e).map(e=>this.getServiceValue(e))}set(e,t){if(e instanceof Array)return e.forEach(e=>this.set(e)),this;if("string"==typeof e||e instanceof r)return this.set({id:e,type:null,value:t,factory:void 0,global:!1,multiple:!1,eager:!1,transient:!1});if("function"==typeof e)return this.set({id:e,type:e,value:t,factory:void 0,global:!1,multiple:!1,eager:!1,transient:!1});const n={id:new r("UNREACHABLE"),type:null,factory:void 0,value:c,global:!1,multiple:!1,eager:!1,transient:!1,...e},i=this.findService(n.id);return i&&!0!==i.multiple?Object.assign(i,n):this.services.push(n),n.eager&&this.get(n.id),this}remove(e){return Array.isArray(e)?e.forEach(e=>this.remove(e)):this.services=this.services.filter(t=>t.id!==e||(this.destroyServiceInstance(t),!1)),this}reset(e={strategy:"resetValue"}){switch(e.strategy){case"resetValue":this.services.forEach(e=>this.destroyServiceInstance(e));break;case"resetServices":this.services.forEach(e=>this.destroyServiceInstance(e)),this.services=[];break;default:throw new Error("Received invalid reset strategy.")}return this}findAllServices(e){return this.services.filter(t=>t.id===e)}findService(e){return this.services.find(t=>t.id===e)}getServiceValue(e){var t;let n=c;if(e.value!==c)return e.value;if(!e.factory&&!e.type)throw new o(e.id);if(e.factory)if(e.factory instanceof Array){let t;try{t=this.get(e.factory[0])}catch(n){if(!(n instanceof i))throw n;t=new e.factory[0]}n=t[e.factory[1]](this,e.id)}else n=e.factory(this,e.id);if(!e.factory&&e.type){const r=e.type,i=(null===(t=Reflect)||void 0===t?void 0:t.getMetadata("design:paramtypes",r))||[],o=this.initializeParams(r,i);o.push(this),n=new r(...o)}if(e.transient||n===c||(e.value=n),n===c)throw new o(e.id);return e.type&&this.applyPropertyHandlers(e.type,n),n}initializeParams(e,t){return t.map((t,n)=>{const r=u.handlers.find(t=>(t.object===e||t.object===Object.getPrototypeOf(e))&&t.index===n);return r?r.value(this):t&&t.name&&!this.isPrimitiveParamType(t.name)?this.get(t):void 0})}isPrimitiveParamType(e){return["string","boolean","number","object"].includes(e.toLowerCase())}applyPropertyHandlers(e,t){u.handlers.forEach(n=>{"number"!=typeof n.index&&(n.object.constructor===e||e.prototype instanceof n.object.constructor)&&n.propertyName&&(t[n.propertyName]=n.value(this))})}destroyServiceInstance(e,t=!1){if(t||e.type||e.factory){if("function"==typeof(null==e?void 0:e.value).destroy)try{e.value.destroy()}catch(e){}e.value=c}}}class u{static of(e="default"){if("default"===e)return this.globalInstance;let t=this.instances.find(t=>t.id===e);return t||(t=new s(e),this.instances.push(t)),t}static has(e){return this.globalInstance.has(e)}static get(e){return this.globalInstance.get(e)}static getMany(e){return this.globalInstance.getMany(e)}static set(e,t){return this.globalInstance.set(e,t),this}static remove(e){return this.globalInstance.remove(e),this}static reset(e="default"){if("default"==e)this.globalInstance.reset(),this.instances.forEach(e=>e.reset());else{const t=this.instances.find(t=>t.id===e);t&&(t.reset(),this.instances.splice(this.instances.indexOf(t),1))}return this}static registerHandler(e){return this.handlers.push(e),this}static import(e){return this}}u.handlers=[],u.globalInstance=new s("default"),u.instances=[];class a extends Error{constructor(e,t){super(),this.target=e,this.propertyName=t,this.name="CannotInjectValueError"}get message(){return`Cannot inject value into "${this.target.constructor.name}.${this.propertyName}". Please make sure you setup reflect-metadata properly and you don't use interfaces without service tokens as injection value.`}}function l(e,t,n,i){let o;if((e&&"string"==typeof e||e instanceof r)&&(o={eagerType:e,lazyType:()=>e}),e&&"function"==typeof e&&(o={eagerType:null,lazyType:()=>e()}),!e&&n){const e=Reflect.getMetadata("design:type",t,n);o={eagerType:e,lazyType:()=>e}}if(!e&&"number"==typeof i&&Number.isInteger(i)){const e=Reflect.getMetadata("design:paramtypes",t,n),r=null==e?void 0:e[i];o={eagerType:r,lazyType:()=>r}}return o}function f(e){return function(t,n,r){const i=l(e,t,n,r);if(void 0===i||void 0===i.eagerType||i.eagerType===Object)throw new a(t,n);u.registerHandler({object:t,propertyName:n,index:r,value:e=>{const r=i.lazyType();if(void 0===r||r===Object)throw new a(t,n);return e.getMany(r)}})}}function d(e){return function(t,n,r){const i=l(e,t,n,r);if(void 0===i||void 0===i.eagerType||i.eagerType===Object)throw new a(t,n);u.registerHandler({object:t,propertyName:n,index:r,value:e=>{const r=i.lazyType();if(void 0===r||r===Object)throw new a(t,n);return e.get(r)}})}}function h(e){return t=>{const n={id:t,type:t,factory:void 0,multiple:!1,global:!1,eager:!1,transient:!1,value:c};e instanceof r||"string"==typeof e?n.id=e:e&&(n.id=e.id||t,n.factory=e.factory||void 0,n.multiple=e.multiple||!1,n.global=e.global||!1,n.eager=e.eager||!1,n.transient=e.transient||!1),u.set(n)}}var p=u},8496:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(4490),i=n(2213),o=n(4361),c=n(6542);function s(e=0,t,n=i.b){let s=-1;return null!=t&&((0,o.m)(t)?n=t:s=t),new r.c(t=>{let r=(0,c.v)(e)?+e-n.now():e;r<0&&(r=0);let i=0;return n.schedule(function(){t.closed||(t.next(i++),0<=s?this.schedule(void 0,s):t.complete())},r)})}},8507:function(e,t,n){"use strict";n.d(t,{B:function(){return c}});var r=n(2213),i=n(7199),o=n(5547);function c(e,t=r.E){return(0,i.N)((n,r)=>{let i=null,c=null,s=null;const u=()=>{if(i){i.unsubscribe(),i=null;const e=c;c=null,r.next(e)}};function a(){const n=s+e,o=t.now();if(o<n)return i=this.schedule(void 0,n-o),void r.add(i);u()}n.subscribe((0,o._)(r,n=>{c=n,s=t.now(),i||(i=t.schedule(a,e),r.add(i))},()=>{u(),r.complete()},void 0,()=>{c=i=null}))})}},8586:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(4927),i=n(9459),o=n(8073);function c(e){return e?t=>(0,o.N)(e)(t):e=>(0,i.f)(new r.B)(e)}},8597:function(e,t,n){"use strict";n.d(t,{x:function(){return c}});var r=n(2402),i=n(6783),o=n(4942);function c(...e){return(0,r.K)()((0,o.H)(e,(0,i.lI)(e)))}},8630:function(e,t,n){var r;!function(e){!function(){var t="object"==typeof globalThis?globalThis:"object"==typeof n.g?n.g:"object"==typeof self?self:"object"==typeof this?this:function(){try{return Function("return this;")()}catch(e){}}()||function(){try{return(0,eval)("(function() { return this; })()")}catch(e){}}(),r=i(e);function i(e,t){return function(n,r){Object.defineProperty(e,n,{configurable:!0,writable:!0,value:r}),t&&t(n,r)}}void 0!==t.Reflect&&(r=i(t.Reflect,r)),function(e,t){var n=Object.prototype.hasOwnProperty,r="function"==typeof Symbol,i=r&&void 0!==Symbol.toPrimitive?Symbol.toPrimitive:"@@toPrimitive",o=r&&void 0!==Symbol.iterator?Symbol.iterator:"@@iterator",c="function"==typeof Object.create,s={__proto__:[]}instanceof Array,u=!c&&!s,a={create:c?function(){return W(Object.create(null))}:s?function(){return W({__proto__:null})}:function(){return W({})},has:u?function(e,t){return n.call(e,t)}:function(e,t){return t in e},get:u?function(e,t){return n.call(e,t)?e[t]:void 0}:function(e,t){return e[t]}},l=Object.getPrototypeOf(Function),f="function"==typeof Map&&"function"==typeof Map.prototype.entries?Map:function(){var e={},t=[],n=function(){function e(e,t,n){this._index=0,this._keys=e,this._values=t,this._selector=n}return e.prototype["@@iterator"]=function(){return this},e.prototype[o]=function(){return this},e.prototype.next=function(){var e=this._index;if(e>=0&&e<this._keys.length){var n=this._selector(this._keys[e],this._values[e]);return e+1>=this._keys.length?(this._index=-1,this._keys=t,this._values=t):this._index++,{value:n,done:!1}}return{value:void 0,done:!0}},e.prototype.throw=function(e){throw this._index>=0&&(this._index=-1,this._keys=t,this._values=t),e},e.prototype.return=function(e){return this._index>=0&&(this._index=-1,this._keys=t,this._values=t),{value:e,done:!0}},e}();return function(){function t(){this._keys=[],this._values=[],this._cacheKey=e,this._cacheIndex=-2}return Object.defineProperty(t.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),t.prototype.has=function(e){return this._find(e,!1)>=0},t.prototype.get=function(e){var t=this._find(e,!1);return t>=0?this._values[t]:void 0},t.prototype.set=function(e,t){var n=this._find(e,!0);return this._values[n]=t,this},t.prototype.delete=function(t){var n=this._find(t,!1);if(n>=0){for(var r=this._keys.length,i=n+1;i<r;i++)this._keys[i-1]=this._keys[i],this._values[i-1]=this._values[i];return this._keys.length--,this._values.length--,D(t,this._cacheKey)&&(this._cacheKey=e,this._cacheIndex=-2),!0}return!1},t.prototype.clear=function(){this._keys.length=0,this._values.length=0,this._cacheKey=e,this._cacheIndex=-2},t.prototype.keys=function(){return new n(this._keys,this._values,r)},t.prototype.values=function(){return new n(this._keys,this._values,i)},t.prototype.entries=function(){return new n(this._keys,this._values,c)},t.prototype["@@iterator"]=function(){return this.entries()},t.prototype[o]=function(){return this.entries()},t.prototype._find=function(e,t){if(!D(this._cacheKey,e)){this._cacheIndex=-1;for(var n=0;n<this._keys.length;n++)if(D(this._keys[n],e)){this._cacheIndex=n;break}}return this._cacheIndex<0&&t&&(this._cacheIndex=this._keys.length,this._keys.push(e),this._values.push(void 0)),this._cacheIndex},t}();function r(e,t){return e}function i(e,t){return t}function c(e,t){return[e,t]}}(),d="function"==typeof Set&&"function"==typeof Set.prototype.entries?Set:function(){function e(){this._map=new f}return Object.defineProperty(e.prototype,"size",{get:function(){return this._map.size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){return this._map.has(e)},e.prototype.add=function(e){return this._map.set(e,e),this},e.prototype.delete=function(e){return this._map.delete(e)},e.prototype.clear=function(){this._map.clear()},e.prototype.keys=function(){return this._map.keys()},e.prototype.values=function(){return this._map.keys()},e.prototype.entries=function(){return this._map.entries()},e.prototype["@@iterator"]=function(){return this.keys()},e.prototype[o]=function(){return this.keys()},e}(),h="function"==typeof WeakMap?WeakMap:function(){var e=a.create(),t=r();return function(){function e(){this._key=r()}return e.prototype.has=function(e){var t=i(e,!1);return void 0!==t&&a.has(t,this._key)},e.prototype.get=function(e){var t=i(e,!1);return void 0!==t?a.get(t,this._key):void 0},e.prototype.set=function(e,t){return i(e,!0)[this._key]=t,this},e.prototype.delete=function(e){var t=i(e,!1);return void 0!==t&&delete t[this._key]},e.prototype.clear=function(){this._key=r()},e}();function r(){var t;do{t="@@WeakMap@@"+c()}while(a.has(e,t));return e[t]=!0,t}function i(e,r){if(!n.call(e,t)){if(!r)return;Object.defineProperty(e,t,{value:a.create()})}return e[t]}function o(e,t){for(var n=0;n<t;++n)e[n]=255*Math.random()|0;return e}function c(){var e=function(e){if("function"==typeof Uint8Array){var t=new Uint8Array(e);return"undefined"!=typeof crypto?crypto.getRandomValues(t):"undefined"!=typeof msCrypto?msCrypto.getRandomValues(t):o(t,e),t}return o(new Array(e),e)}(16);e[6]=79&e[6]|64,e[8]=191&e[8]|128;for(var t="",n=0;n<16;++n){var r=e[n];4!==n&&6!==n&&8!==n||(t+="-"),r<16&&(t+="0"),t+=r.toString(16).toLowerCase()}return t}}(),p=r?Symbol.for("@reflect-metadata:registry"):void 0,v=function(){var e;return!C(p)&&O(t.Reflect)&&Object.isExtensible(t.Reflect)&&(e=t.Reflect[p]),C(e)&&(e=function(){var e,n,r,i;C(p)||void 0===t.Reflect||p in t.Reflect||"function"!=typeof t.Reflect.defineMetadata||(e=function(e){var t=e.defineMetadata,n=e.hasOwnMetadata,r=e.getOwnMetadata,i=e.getOwnMetadataKeys,o=e.deleteMetadata,c=new h;return{isProviderFor:function(e,t){var n=c.get(e);return!(C(n)||!n.has(t))||!!i(e,t).length&&(C(n)&&(n=new d,c.set(e,n)),n.add(t),!0)},OrdinaryDefineOwnMetadata:t,OrdinaryHasOwnMetadata:n,OrdinaryGetOwnMetadata:r,OrdinaryOwnMetadataKeys:i,OrdinaryDeleteMetadata:o}}(t.Reflect));var o=new h,c={registerProvider:s,getProvider:a,setProvider:v};return c;function s(t){if(!Object.isExtensible(c))throw new Error("Cannot add provider to a frozen registry.");switch(!0){case e===t:break;case C(n):n=t;break;case n===t:break;case C(r):r=t;break;case r===t:break;default:void 0===i&&(i=new d),i.add(t)}}function u(t,o){if(!C(n)){if(n.isProviderFor(t,o))return n;if(!C(r)){if(r.isProviderFor(t,o))return n;if(!C(i))for(var c=L(i);;){var s=U(c);if(!s)return;var u=k(s);if(u.isProviderFor(t,o))return B(c),u}}}if(!C(e)&&e.isProviderFor(t,o))return e}function a(e,t){var n,r=o.get(e);return C(r)||(n=r.get(t)),C(n)?(C(n=u(e,t))||(C(r)&&(r=new f,o.set(e,r)),r.set(t,n)),n):n}function l(e){if(C(e))throw new TypeError;return n===e||r===e||!C(i)&&i.has(e)}function v(e,t,n){if(!l(n))throw new Error("Metadata provider not registered.");var r=a(e,t);if(r!==n){if(!C(r))return!1;var i=o.get(e);C(i)&&(i=new f,o.set(e,i)),i.set(t,n)}return!0}}()),!C(p)&&O(t.Reflect)&&Object.isExtensible(t.Reflect)&&Object.defineProperty(t.Reflect,p,{enumerable:!1,configurable:!1,writable:!1,value:e}),e}(),m=function(e){var t=new h,n={isProviderFor:function(e,n){var r=t.get(e);return!C(r)&&r.has(n)},OrdinaryDefineOwnMetadata:function(e,t,n,i){r(n,i,!0).set(e,t)},OrdinaryHasOwnMetadata:function(e,t,n){var i=r(t,n,!1);return!C(i)&&M(i.has(e))},OrdinaryGetOwnMetadata:function(e,t,n){var i=r(t,n,!1);if(!C(i))return i.get(e)},OrdinaryOwnMetadataKeys:function(e,t){var n=[],i=r(e,t,!1);if(C(i))return n;for(var o=L(i.keys()),c=0;;){var s=U(o);if(!s)return n.length=c,n;var u=k(s);try{n[c]=u}catch(e){try{B(o)}finally{throw e}}c++}},OrdinaryDeleteMetadata:function(e,n,i){var o=r(n,i,!1);if(C(o))return!1;if(!o.delete(e))return!1;if(0===o.size){var c=t.get(n);C(c)||(c.delete(i),0===c.size&&t.delete(c))}return!0}};return v.registerProvider(n),n;function r(r,i,o){var c=t.get(r),s=!1;if(C(c)){if(!o)return;c=new f,t.set(r,c),s=!0}var u=c.get(i);if(C(u)){if(!o)return;if(u=new f,c.set(i,u),!e.setProvider(r,i,n))throw c.delete(i),s&&t.delete(r),new Error("Wrong provider for target.")}return u}}(v);function g(e,t,n){if(b(e,t,n))return!0;var r=V(t);return!T(r)&&g(e,r,n)}function b(e,t,n){var r=H(t,n,!1);return!C(r)&&M(r.OrdinaryHasOwnMetadata(e,t,n))}function y(e,t,n){if(b(e,t,n))return w(e,t,n);var r=V(t);return T(r)?void 0:y(e,r,n)}function w(e,t,n){var r=H(t,n,!1);if(!C(r))return r.OrdinaryGetOwnMetadata(e,t,n)}function E(e,t,n,r){H(n,r,!0).OrdinaryDefineOwnMetadata(e,t,n,r)}function S(e,t){var n=A(e,t),r=V(e);if(null===r)return n;var i=S(r,t);if(i.length<=0)return n;if(n.length<=0)return i;for(var o=new d,c=[],s=0,u=n;s<u.length;s++){var a=u[s];o.has(a)||(o.add(a),c.push(a))}for(var l=0,f=i;l<f.length;l++)a=f[l],o.has(a)||(o.add(a),c.push(a));return c}function A(e,t){var n=H(e,t,!1);return n?n.OrdinaryOwnMetadataKeys(e,t):[]}function _(e){if(null===e)return 1;switch(typeof e){case"undefined":return 0;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"object":return null===e?1:6;default:return 6}}function C(e){return void 0===e}function T(e){return null===e}function O(e){return"object"==typeof e?null!==e:"function"==typeof e}function x(e,t){switch(_(e)){case 0:case 1:case 2:case 3:case 4:case 5:return e}var n=3===t?"string":5===t?"number":"default",r=j(e,i);if(void 0!==r){var o=r.call(e,n);if(O(o))throw new TypeError;return o}return function(e,t){if("string"===t){var n=e.toString;if(N(n)&&!O(i=n.call(e)))return i;if(N(r=e.valueOf)&&!O(i=r.call(e)))return i}else{var r;if(N(r=e.valueOf)&&!O(i=r.call(e)))return i;var i,o=e.toString;if(N(o)&&!O(i=o.call(e)))return i}throw new TypeError}(e,"default"===n?"number":n)}function M(e){return!!e}function I(e){var t=x(e,3);return"symbol"==typeof t?t:function(e){return""+e}(t)}function R(e){return Array.isArray?Array.isArray(e):e instanceof Object?e instanceof Array:"[object Array]"===Object.prototype.toString.call(e)}function N(e){return"function"==typeof e}function P(e){return"function"==typeof e}function D(e,t){return e===t||e!=e&&t!=t}function j(e,t){var n=e[t];if(null!=n){if(!N(n))throw new TypeError;return n}}function L(e){var t=j(e,o);if(!N(t))throw new TypeError;var n=t.call(e);if(!O(n))throw new TypeError;return n}function k(e){return e.value}function U(e){var t=e.next();return!t.done&&t}function B(e){var t=e.return;t&&t.call(e)}function V(e){var t=Object.getPrototypeOf(e);if("function"!=typeof e||e===l)return t;if(t!==l)return t;var n=e.prototype,r=n&&Object.getPrototypeOf(n);if(null==r||r===Object.prototype)return t;var i=r.constructor;return"function"!=typeof i||i===e?t:i}function H(e,t,n){var r=v.getProvider(e,t);if(!C(r))return r;if(n){if(v.setProvider(e,t,m))return m;throw new Error("Illegal state.")}}function W(e){return e.__=void 0,delete e.__,e}e("decorate",function(e,t,n,r){if(C(n)){if(!R(e))throw new TypeError;if(!P(t))throw new TypeError;return function(e,t){for(var n=e.length-1;n>=0;--n){var r=(0,e[n])(t);if(!C(r)&&!T(r)){if(!P(r))throw new TypeError;t=r}}return t}(e,t)}if(!R(e))throw new TypeError;if(!O(t))throw new TypeError;if(!O(r)&&!C(r)&&!T(r))throw new TypeError;return T(r)&&(r=void 0),function(e,t,n,r){for(var i=e.length-1;i>=0;--i){var o=(0,e[i])(t,n,r);if(!C(o)&&!T(o)){if(!O(o))throw new TypeError;r=o}}return r}(e,t,n=I(n),r)}),e("metadata",function(e,t){return function(n,r){if(!O(n))throw new TypeError;if(!C(r)&&!function(e){switch(_(e)){case 3:case 4:return!0;default:return!1}}(r))throw new TypeError;E(e,t,n,r)}}),e("defineMetadata",function(e,t,n,r){if(!O(n))throw new TypeError;return C(r)||(r=I(r)),E(e,t,n,r)}),e("hasMetadata",function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),g(e,t,n)}),e("hasOwnMetadata",function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),b(e,t,n)}),e("getMetadata",function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),y(e,t,n)}),e("getOwnMetadata",function(e,t,n){if(!O(t))throw new TypeError;return C(n)||(n=I(n)),w(e,t,n)}),e("getMetadataKeys",function(e,t){if(!O(e))throw new TypeError;return C(t)||(t=I(t)),S(e,t)}),e("getOwnMetadataKeys",function(e,t){if(!O(e))throw new TypeError;return C(t)||(t=I(t)),A(e,t)}),e("deleteMetadata",function(e,t,n){if(!O(t))throw new TypeError;if(C(n)||(n=I(n)),!O(t))throw new TypeError;C(n)||(n=I(n));var r=H(t,n,!1);return!C(r)&&r.OrdinaryDeleteMetadata(e,t,n)})}(r,t),void 0===t.Reflect&&(t.Reflect=e)}()}(r||(r={}))},8838:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});var r=n(9939);function i(e){return(0,r.T)(()=>e)}},8844:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(7199),i=n(7244);function o(e,t){return(0,r.N)((0,i.S)(e,t,arguments.length>=2,!0))}},8846:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var r=n(7199),i=n(5547),o=n(9265),c=n(2092),s=n(5690),u=n(6783);function a(...e){const t=(0,u.ms)(e);return(0,r.N)((n,r)=>{const u=e.length,a=new Array(u);let l=e.map(()=>!1),f=!1;for(let t=0;t<u;t++)(0,o.Tg)(e[t]).subscribe((0,i._)(r,e=>{a[t]=e,f||l[t]||(l[t]=!0,(f=l.every(c.D))&&(l=null))},s.l));n.subscribe((0,i._)(r,e=>{if(f){const n=[e,...a];r.next(t?t(...n):n)}}))})}},8878:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var r=n(4927),i=n(7199),o=n(5547);function c(e,t=0){const n=t>0?t:e;return(0,i.N)((t,i)=>{let c=[new r.B],s=[],u=0;i.next(c[0].asObservable()),t.subscribe((0,o._)(i,t=>{for(const e of c)e.next(t);const o=u-e+1;if(o>=0&&o%n===0&&c.shift().complete(),++u%n===0){const e=new r.B;c.push(e),i.next(e.asObservable())}},()=>{for(;c.length>0;)c.shift().complete();i.complete()},e=>{for(;c.length>0;)c.shift().error(e);i.error(e)},()=>{s=null,c=null}))})}},8996:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var r=n(4701),i=n(9251),o=n(81),c=n(7166),s=n(3394);function u(e,t){if(e<0)throw new r.k;const n=arguments.length>=2;return u=>u.pipe((0,i.p)((t,n)=>n===e),(0,s.s)(1),n?(0,c.U)(t):(0,o.v)(()=>new r.k))}},9034:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeV1Service=void 0;var o=n(6398),c=n(6943),s=n(8430),u=n(2733),a=n(7907),l=n(1274),f=n(3449),d=n(3708),h=n(370),p=function(){function e(e,t,n){this.challengeCommonService=e,this.interFrameCommunicatorService=t,this.iframeCreatorService=n}return e.prototype.run$=function(e,t,n,r,i,s){return this.validate(t,n,r,i),(0,o.merge)(this.open$(e,t,n,r,i,s),this.challengeCommonService.handleCancelEvent$(e)).pipe((0,c.first)())},e.prototype.open$=function(e,t,n,r,i,o){var s=this,u=this.createIframe(t,n,r,i,o);return this.challengeCommonService.initView(e,u),this.interFrameCommunicatorService.receive$(l.InterFrameCommunicatorMessageType.CHALLENGE_RESPONSE).pipe((0,c.map)(function(e){return s.mapStatus(e)}),(0,c.tap)(function(){s.challengeCommonService.closeChallengeWindow(e)}))},e.prototype.createIframe=function(e,t,n,r,i){var o=this,c=this.iframeCreatorService.getIframe(this.challengeCommonService.challengeIframeSelector,this.challengeCommonService.getChallengeWindowSize().x,this.challengeCommonService.getChallengeWindowSize().y),s=function(){c.contentWindow.document.head.appendChild(o.iframeCreatorService.getStylesMarkup()),c.contentWindow.document.body.innerHTML=o.iframeCreatorService.getIframeHTMLMarkup(o.challengeCommonService.challengeIframeFormSelector,t,[{name:"PaReq",value:e},{name:"MD",value:r},{name:"TermUrl",value:n},{name:"cardType",value:i}],i),c.removeEventListener("load",s),c.contentWindow.document.getElementById(o.challengeCommonService.challengeIframeFormSelector).submit()};return c.addEventListener("load",s),c},e.prototype.mapStatus=function(e){return{status:u.ResultActionCode.COMPLETED,description:"Challenge completed",data:e}},e.prototype.validate=function(e,t,n,r){[{name:"PaReq",value:e},{name:"challengeURL",value:t},{name:"termURL",value:n},{name:"merchantData",value:r}].forEach(function(e){if("string"!=typeof e.value||0===e.value.length)throw new a.ValidationError("doChallenge$() requires ".concat(e.name))})},r([(0,s.Service)(),i("design:paramtypes",[h.ChallengeCommonService,d.InterFrameCommunicatorService,f.IframeCreatorService])],e)}();t.ChallengeV1Service=p},9061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(5930)},9115:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var r=n(4927);class i extends r.B{constructor(){super(...arguments),this._value=null,this._hasValue=!1,this._isComplete=!1}_checkFinalizedStatuses(e){const{hasError:t,_hasValue:n,_value:r,thrownError:i,isStopped:o,_isComplete:c}=this;t?e.error(i):(o||c)&&(n&&e.next(r),e.complete())}next(e){this.isStopped||(this._value=e,this._hasValue=!0)}complete(){const{_hasValue:e,_value:t,_isComplete:n}=this;n||(this._isComplete=!0,e&&super.next(t),super.complete())}}},9127:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r={setTimeout(e,t,...n){const{delegate:i}=r;return(null==i?void 0:i.setTimeout)?i.setTimeout(e,t,...n):setTimeout(e,t,...n)},clearTimeout(e){const{delegate:t}=r;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0}},9251:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,i._)(r,n=>e.call(t,n,o++)&&r.next(n)))})}},9265:function(e,t,n){"use strict";n.d(t,{Tg:function(){return v}});var r=n(1635),i=n(3962),o=n(3905),c=n(4490),s=n(2816),u=n(450),a=n(1250),l=n(420),f=n(7981),d=n(1630),h=n(5095),p=n(1211);function v(e){if(e instanceof c.c)return e;if(null!=e){if((0,s.l)(e))return g=e,new c.c(e=>{const t=g[p.s]();if((0,d.T)(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")});if((0,i.X)(e))return v=e,new c.c(e=>{for(let t=0;t<v.length&&!e.closed;t++)e.next(v[t]);e.complete()});if((0,o.y)(e))return r=e,new c.c(e=>{r.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,h.m)});if((0,u.T)(e))return m(e);if((0,l.x)(e))return n=e,new c.c(e=>{for(const t of n)if(e.next(t),e.closed)return;e.complete()});if((0,f.U)(e))return t=e,m((0,f.C)(t))}var t,n,r,v,g;throw(0,a.L)(e)}function m(e){return new c.c(t=>{(function(e,t){var n,i,o,c;return(0,r.sH)(this,void 0,void 0,function*(){try{for(n=(0,r.xN)(e);!(i=yield n.next()).done;){const e=i.value;if(t.next(e),t.closed)return}}catch(e){o={error:e}}finally{try{i&&!i.done&&(c=n.return)&&(yield c.call(n))}finally{if(o)throw o.error}}t.complete()})})(e,t).catch(e=>t.error(e))})}},9300:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(2213),i=n(8496);function o(e=0,t=r.E){return e<0&&(e=0),(0,i.O)(e,e,t)}},9307:function(e,t,n){"use strict";function r(e,t){if(e){const n=e.indexOf(t);0<=n&&e.splice(n,1)}}n.d(t,{o:function(){return r}})},9324:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(9939);function i(...e){const t=e.length;if(0===t)throw new Error("list of properties cannot be empty.");return(0,r.T)(n=>{let r=n;for(let n=0;n<t;n++){const t=null==r?void 0:r[e[n]];if(void 0===t)return;r=t}return r})}},9375:function(e,t,n){"use strict";n.d(t,{$:function(){return a}});var r=n(7555),i=n(9251),o=n(3394),c=n(7166),s=n(81),u=n(2092);function a(e,t){const n=arguments.length>=2;return a=>a.pipe(e?(0,i.p)((t,n)=>e(t,n,a)):u.D,(0,o.s)(1),n?(0,c.U)(t):(0,s.v)(()=>new r.G))}},9445:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeService=void 0,n(5763);var o=n(6943),c=n(8430),s=n(5078),u=n(9952),a=n(9034),l=n(342),f=n(370),d=function(){function e(e,t,n,r){this.configService=e,this.challengeV1Service=t,this.challengeV2Service=n,this.challengeCommonService=r}return e.prototype.run$=function(e,t,n,r,i,c){var s=this;return this.configService.getConfig$().pipe((0,o.switchMap)(function(o){return e.isLowerThan(u.ThreeDSecureVersion.V2)?s.challengeV1Service.run$(o,t,n,i,c,r):s.challengeV2Service.run$(o,t,n,r)}))},e.prototype.cancelChallenge$=function(){var e=this;return this.configService.getConfig$().pipe((0,o.tap)(function(t){return e.challengeCommonService.cancelChallenge(t)}),(0,o.switchMap)(function(t){return e.challengeCommonService.handleCancelEvent$(t)}))},r([(0,c.Service)(),i("design:paramtypes",[s.ConfigService,a.ChallengeV1Service,l.ChallengeV2Service,f.ChallengeCommonService])],e)}();t.ChallengeService=d},9458:function(e,t,n){"use strict";n.d(t,{q:function(){return u}});var r=n(2092),i=n(3879),o=n(5678),c=n(3475),s=n(867);function u(e,t){return(0,o.F)((0,s.$)(),(0,c.Z)(t=>e(t)),t?(0,i.I)(t):r.D)}},9459:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(5186),i=n(1630),o=n(8073);function c(e,t){const n=(0,i.T)(e)?e:()=>e;return(0,i.T)(t)?(0,o.N)(t,{connector:n}):e=>new r.G(e,n)}},9493:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});const r=n(6124).A},9580:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CHALLENGE_SCREEN_LOGO_AMEX=t.PROCESSING_SCREEN_LOGO_MASTERCARD=t.PROCESSING_SCREEN_LOGO_VISA=void 0,t.PROCESSING_SCREEN_LOGO_VISA='\n<svg xmlns="http://www.w3.org/2000/svg" width="112px" height="112px" viewBox="0 0 179.23 179.23">\n <defs>\n <style>.cls-1{fill:#fff;}.cls-2{fill:#1a1f71;}</style>\n </defs>\n <rect class="cls-1" x="0.32" y="0.13" width="178.91" height="178.91"/>\n <rect class="cls-2" x="4.27" y="89.59" width="171.02" height="85.51"/>\n <path class="cls-2" d="M71.05,25.14,54.21,65.32h-11L34.94,33.26c-.51-2-.94-2.7-2.47-3.54a43.34,43.34,0,0,0-10.25-3.41l.24-1.17H40.14a4.85,4.85,0,0,1,4.8,4.1l4.38,23.25L60.13,25.14ZM114.1,52.21c0-10.6-14.66-11.19-14.56-15.93,0-1.44,1.4-3,4.41-3.37a19.71,19.71,0,0,1,10.25,1.8L116,26.19a28.13,28.13,0,0,0-9.72-1.77c-10.27,0-17.5,5.46-17.56,13.28-.06,5.79,5.16,9,9.09,10.94s5.42,3.23,5.4,5c0,2.69-3.24,3.88-6.22,3.93A21.65,21.65,0,0,1,86.33,55l-1.89,8.81A31.64,31.64,0,0,0,96,66c10.92,0,18.06-5.4,18.1-13.75m27.13,13.11h9.62l-8.4-40.18h-8.86a4.74,4.74,0,0,0-4.43,2.95L113.57,65.32h10.91l2.17-6H140Zm-11.6-14.23L135.11,36l3.14,15.09ZM85.9,25.14,77.31,65.32H66.92l8.59-40.18Z"/>\n <path class="cls-1" d="M42,139.14a10.16,10.16,0,0,0,4.9,1.29c2.35,0,3.67-1.11,3.67-2.76s-1-2.44-3.58-3.38c-3.37-1.17-5.51-3-5.51-5.87,0-3.34,2.77-5.84,7.19-5.84a10.91,10.91,0,0,1,4.85,1l-.88,3a8.86,8.86,0,0,0-4.07-1c-2.34,0-3.34,1.24-3.34,2.44,0,1.56,1.18,2.29,3.89,3.31,3.52,1.35,5.2,3.12,5.2,6,0,3.28-2.46,6.08-7.67,6.08a12.13,12.13,0,0,1-5.51-1.27Z"/>\n <path class="cls-1" d="M68.73,134.17H61.08v6h8.55v3H57.39V122.88h11.8v3h-8.1v5.24h7.65v3Z"/>\n <path class="cls-1" d="M87.12,142.56a13.21,13.21,0,0,1-5.26.91c-6.45,0-10.36-4-10.36-10.21,0-6.67,4.66-10.68,10.86-10.68a11.45,11.45,0,0,1,4.91.88l-.79,3a9.77,9.77,0,0,0-4-.79c-4.12,0-7.11,2.59-7.11,7.46,0,4.46,2.59,7.29,7.08,7.29a11,11,0,0,0,4-.73Z"/>\n <path class="cls-1" d="M93.66,122.88v11.83c0,4,1.65,5.81,4.15,5.81,2.68,0,4.28-1.83,4.28-5.81V122.88h3.7v11.59c0,6.26-3.21,9-8.09,9-4.7,0-7.74-2.62-7.74-9V122.87h3.7Z"/>\n <path class="cls-1" d="M109.73,123.18a31.93,31.93,0,0,1,5.61-.45c2.92,0,4.88.48,6.26,1.62a5.18,5.18,0,0,1,1.74,4.1,5.33,5.33,0,0,1-3.7,5.06v.09c1.47.54,2.35,2,2.83,3.91a48.55,48.55,0,0,0,1.6,5.66h-3.8a26.75,26.75,0,0,1-1.36-4.79c-.6-2.65-1.53-3.49-3.64-3.55H113.4v8.34h-3.67Zm3.68,8.95h2.2c2.5,0,4-1.33,4-3.35,0-2.19-1.54-3.25-3.94-3.25a10.66,10.66,0,0,0-2.29.18Z"/>\n <path class="cls-1" d="M137.91,134.17h-7.65v6h8.55v3H126.56V122.88h11.8v3h-8.1v5.24h7.65Z"/>\n</svg>\n',t.PROCESSING_SCREEN_LOGO_MASTERCARD='\n<svg xmlns="http://www.w3.org/2000/svg" width="160px" height="160px" viewBox="0 0 177.12 177.46">\n <defs>\n <style>.cls-1{fill:none;}.cls-2{fill:#ff5f00;}.cls-3{fill:#eb001b;}.cls-4{fill:#f79e1b;}</style>\n </defs>\n <rect class="cls-1" width="177.12" height="177.46"/>\n <path d="M142.7,146.35h-.22v.59h-.11v-.59h-.22v-.11h.56Zm.86.59h-.11v-.57l-.2.5h-.12l-.2-.5v.57h-.11v-.7H143l.2.5.2-.5h.17Zm-105.33,0H36.7v-17.5h1.53Zm11.63-17.5a12,12,0,0,1,3.94.61,8.4,8.4,0,0,1,3,1.75,7.61,7.61,0,0,1,1.89,2.76,10.31,10.31,0,0,1,0,7.26,7.61,7.61,0,0,1-1.89,2.76,8.4,8.4,0,0,1-3,1.75,12,12,0,0,1-3.94.61H43.47v-17.5ZM45,130.89v14.6h4.86a10.21,10.21,0,0,0,3.38-.52,6.87,6.87,0,0,0,2.46-1.47,6.1,6.1,0,0,0,1.51-2.3,9.08,9.08,0,0,0,0-6,6.22,6.22,0,0,0-1.51-2.31,6.78,6.78,0,0,0-2.46-1.47,10.18,10.18,0,0,0-3.37-.51Zm33-1.65a9.41,9.41,0,0,1,2.18.25,9,9,0,0,1,2,.72,7.49,7.49,0,0,1,1.66,1.13,7,7,0,0,1,1.27,1.5l-1.27.85a6,6,0,0,0-1.07-1.24,6.73,6.73,0,0,0-1.36-.94,7,7,0,0,0-1.6-.59,7.52,7.52,0,0,0-1.77-.21,7.82,7.82,0,0,0-2.91.54,6.85,6.85,0,0,0-2.34,1.52,7.2,7.2,0,0,0-1.56,2.36,8.45,8.45,0,0,0,0,6.1,7.2,7.2,0,0,0,1.56,2.36,6.85,6.85,0,0,0,2.34,1.52,7.63,7.63,0,0,0,2.91.54,8.05,8.05,0,0,0,1.76-.2,6.69,6.69,0,0,0,3-1.52,6.38,6.38,0,0,0,1.07-1.25l1.25.91a7.52,7.52,0,0,1-1.29,1.47,8,8,0,0,1-1.65,1.11,9,9,0,0,1-1.94.71,9.78,9.78,0,0,1-5.71-.42,8.34,8.34,0,0,1-4.72-4.67,9.92,9.92,0,0,1,0-7.23,8.34,8.34,0,0,1,4.72-4.67,9.38,9.38,0,0,1,3.51-.65Zm12.26,8a4.38,4.38,0,0,1,.82-1,4.25,4.25,0,0,1,1-.69,5.23,5.23,0,0,1,1.15-.4,5.38,5.38,0,0,1,1.2-.13,5.67,5.67,0,0,1,2,.33,4.42,4.42,0,0,1,1.57.94,4.17,4.17,0,0,1,1,1.49,5.28,5.28,0,0,1,.36,2V147H97.93v-6.77a4.87,4.87,0,0,0-.25-1.6,3.15,3.15,0,0,0-1.93-2,4.59,4.59,0,0,0-1.6-.26,4.24,4.24,0,0,0-1.54.28,3.7,3.7,0,0,0-2.09,2,4.08,4.08,0,0,0-.31,1.58V147H88.79V129h1.42ZM108.7,135a5.23,5.23,0,0,1,3.92,1.68,5.89,5.89,0,0,1,1.16,1.9,6.87,6.87,0,0,1,.44,2.42v.59h-9.86a5,5,0,0,0,.46,1.82,4.19,4.19,0,0,0,2.41,2.2,5.09,5.09,0,0,0,1.69.29,5.27,5.27,0,0,0,2.21-.45,6.14,6.14,0,0,0,1.76-1.23l.76,1a7.3,7.3,0,0,1-1.14.94,6.32,6.32,0,0,1-1.19.6,5.84,5.84,0,0,1-1.23.31,8.9,8.9,0,0,1-1.26.09,6.19,6.19,0,0,1-2.37-.44,5.46,5.46,0,0,1-1.87-1.24,5.67,5.67,0,0,1-1.22-1.91,6.65,6.65,0,0,1-.44-2.46,6.59,6.59,0,0,1,.44-2.44,5.8,5.8,0,0,1,1.19-2,5.48,5.48,0,0,1,1.85-1.26,5.86,5.86,0,0,1,2.33-.48Zm0,1.26a4.18,4.18,0,0,0-3,1.16,4.53,4.53,0,0,0-.92,1.29,5.27,5.27,0,0,0-.46,1.65h8.41a5.05,5.05,0,0,0-.41-1.67,4.22,4.22,0,0,0-.88-1.29,3.9,3.9,0,0,0-2.79-1.14ZM122.94,135a6.15,6.15,0,0,1,2.43.47,5.27,5.27,0,0,1,1.91,1.36l-.92,1a5.13,5.13,0,0,0-1.54-1.07,4.81,4.81,0,0,0-3.7,0,4.34,4.34,0,0,0-1.44,1,4.59,4.59,0,0,0-1,1.5,5.38,5.38,0,0,0,0,3.79,4.38,4.38,0,0,0,2.4,2.47,4.74,4.74,0,0,0,3.72,0,5.38,5.38,0,0,0,1.56-1.06l.89,1a5.39,5.39,0,0,1-1.91,1.36,6.1,6.1,0,0,1-2.42.47,6.32,6.32,0,0,1-2.43-.46,5.71,5.71,0,0,1-3.15-3.19,6.78,6.78,0,0,1,0-4.82,5.66,5.66,0,0,1,3.15-3.2A6.35,6.35,0,0,1,123,135Zm9.13,5.15H134l5-5h1.8l-5.6,5.55,5.7,6.21h-1.81l-5-5.51h-1.91v5.51h-1.5v-18h1.42ZM51.5,120.45v-6a3.56,3.56,0,0,0-3.31-3.8,3.38,3.38,0,0,0-.45,0,3.69,3.69,0,0,0-3.36,1.7,3.5,3.5,0,0,0-3.16-1.7,3.15,3.15,0,0,0-2.8,1.42v-1.18H36.34v9.56h2.1v-5.3a2.23,2.23,0,0,1,1.92-2.52,2,2,0,0,1,.42,0c1.38,0,2.08.9,2.08,2.52v5.32H45v-5.3a2.25,2.25,0,0,1,1.94-2.52,1.79,1.79,0,0,1,.4,0c1.42,0,2.1.9,2.1,2.52v5.32Zm31.06-9.59h-3.4V108h-2.1v2.9H75.12v1.87h1.94v4.36c0,2.22.86,3.54,3.32,3.54a4.88,4.88,0,0,0,2.6-.74l-.6-1.78a3.81,3.81,0,0,1-1.82.62c-1,0-1.38-.64-1.38-1.6v-4.4h3.38Zm17.74-.24a2.83,2.83,0,0,0-2.52,1.4v-1.16H95.72v9.56H97.8v-5.36c0-1.58.68-2.46,2-2.46a3.41,3.41,0,0,1,1.3.24l.64-2a4.44,4.44,0,0,0-1.48-.26Zm-26.82,1a7.13,7.13,0,0,0-3.9-1c-2.42,0-4,1.16-4,3.06,0,1.56,1.16,2.52,3.3,2.82l1,.14c1.14.16,1.68.46,1.68,1,0,.74-.76,1.16-2.18,1.16a5.12,5.12,0,0,1-3.18-1l-1,1.62a6.87,6.87,0,0,0,4.14,1.24c2.76,0,4.36-1.3,4.36-3.12s-1.26-2.56-3.34-2.86l-1-.14c-.9-.12-1.62-.3-1.62-.94s.68-1.12,1.82-1.12a6.09,6.09,0,0,1,3,.82Zm55.71-1a2.83,2.83,0,0,0-2.52,1.4v-1.16h-2.06v9.56h2.08v-5.36c0-1.58.68-2.46,2-2.46a3.41,3.41,0,0,1,1.3.24l.64-2a4.44,4.44,0,0,0-1.48-.26Zm-26.8,5a4.82,4.82,0,0,0,4.65,5h.45a5,5,0,0,0,3.44-1.14l-1-1.68a4.2,4.2,0,0,1-2.5.86,3.07,3.07,0,0,1,0-6.12,4.2,4.2,0,0,1,2.5.86l1-1.68a5,5,0,0,0-3.44-1.14,4.85,4.85,0,0,0-5.1,4.55c0,.15,0,.3,0,.45Zm19.48,0v-4.78h-2.08V112a3.64,3.64,0,0,0-3-1.4,5,5,0,1,0,0,10,3.64,3.64,0,0,0,3-1.4v1.16h2.08Zm-7.74,0a2.82,2.82,0,1,1,0,.23A1.77,1.77,0,0,1,114.13,115.62Zm-25.1-5a5,5,0,0,0,.14,10,5.83,5.83,0,0,0,3.92-1.34l-1-1.54a4.55,4.55,0,0,1-2.78,1,2.65,2.65,0,0,1-2.86-2.34h7.11v-.8c0-3-1.86-5-4.54-5Zm0,1.86a2.37,2.37,0,0,1,2.42,2.32h-5A2.45,2.45,0,0,1,89,112.48Zm52.17,3.16V107h-2.08v5a3.64,3.64,0,0,0-3-1.4,5,5,0,0,0,0,10,3.64,3.64,0,0,0,3-1.4v1.16h2.08Zm-7.74,0a2.82,2.82,0,1,1,0,.23C133.45,115.79,133.46,115.72,133.46,115.64Zm-70.23,0v-4.78H61.15V112a3.64,3.64,0,0,0-3-1.4,5,5,0,0,0,0,10,3.64,3.64,0,0,0,3-1.4v1.16h2.08Zm-7.74,0a2.82,2.82,0,1,1,0,.23,1.77,1.77,0,0,1,0-.23ZM144.66,119a1,1,0,0,1,.38.07,1,1,0,0,1,.52.5,1,1,0,0,1,0,.74,1,1,0,0,1-.52.5,1,1,0,0,1-1.28-.5,1,1,0,0,1,0-.74,1,1,0,0,1,.52-.5,1,1,0,0,1,.38-.07Zm0,1.69a.72.72,0,0,0,.29-.06.72.72,0,0,0,0-1.32.73.73,0,0,0-.58,0,.78.78,0,0,0-.24.16.74.74,0,0,0,0,1,.78.78,0,0,0,.24.16.73.73,0,0,0,.29.07Zm.06-1.19a.4.4,0,0,1,.26.08.28.28,0,0,1,0,.39.4.4,0,0,1-.21.09l.29.33h-.23l-.27-.33h-.09v.33h-.19v-.88Zm-.22.17v.24h.22a.24.24,0,0,0,.12,0,.14.14,0,0,0,0-.09.14.14,0,0,0,0-.09.24.24,0,0,0-.12,0Z"/>\n <rect class="cls-2" x="72.81" y="38.01" width="31.5" height="56.61"/>\n <path id="_Path_" data-name=" Path " class="cls-3" d="M74.81,66.32A35.94,35.94,0,0,1,88.56,38a36,36,0,1,0,0,56.61A35.92,35.92,0,0,1,74.81,66.32Z"/>\n <path class="cls-4" d="M143.37,88.63V87.47h.47v-.24h-1.19v.24h.47v1.16Zm2.31,0v-1.4h-.36l-.42,1-.42-1h-.37v1.4h.26v-1l.39.91H145l.39-.91v1.06Z"/>\n <path class="cls-4" d="M146.81,66.32a36,36,0,0,1-58.25,28.3,36,36,0,0,0,0-56.61,36,36,0,0,1,58.25,28.3Z"/>\n</svg>\n',t.CHALLENGE_SCREEN_LOGO_AMEX='\n<?xml version="1.0" encoding="UTF-8"?>\n<svg version="1.1" viewBox="0 0 1000 997.52" width="120px" height="120px" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n <g transform="translate(-55.5 -1002.3)">\n <path d="m55.5 1002.3h997.52v538.49l-49.374 77.148 49.374 68.661v313.22h-997.52v-507.63l30.859-35.488-30.859-33.945z" fill="#016fd0"/>\n <path d="m249.14 1697.4v-156.61h165.82l17.791 23.192 18.379-23.192h601.89v145.81s-15.74 10.644-33.945 10.801h-333.28l-20.058-24.687v24.687h-65.73v-42.142s-8.9788 5.8825-28.39 5.8825h-22.373v36.259h-99.52l-17.765-23.69-18.038 23.69z" fill="#fff"/>\n <path d="m55.5 1422.8 37.393-87.177h64.668l21.221 48.833v-48.833h80.388l12.633 35.295 12.247-35.295h360.86v17.744s18.97-17.744 50.146-17.744l117.08 0.4092 20.855 48.194v-48.603h67.273l18.515 27.683v-27.683h67.89v156.61h-67.89l-17.744-27.773v27.773h-98.838l-9.9396-24.687h-26.571l-9.7778 24.687h-67.029c-26.826 0-43.974-17.382-43.974-17.382v17.382h-101.06l-20.058-24.687v24.687h-375.8l-9.9327-24.687h-26.486l-9.8625 24.687h-46.199z" fill="#fff"/>\n <path d="m106.13 1354.9-50.435 117.26h32.836l9.3059-23.482h54.1l9.2577 23.482h33.559l-50.387-117.26h-38.236zm18.66 27.291 16.49 41.033h-33.029l16.538-41.033z" fill="#016fd0"/>\n <path d="m198.22 1472.2v-117.26l46.662 0.1733 27.14 75.604 26.49-75.778h46.288v117.26h-29.316v-86.405l-31.076 86.405h-25.71l-31.162-86.405v86.405z" fill="#016fd0"/>\n <path d="m364.86 1472.2v-117.26h95.663v26.23h-66.038v20.058h64.495v24.687h-64.495v20.83h66.038v25.459z" fill="#016fd0"/>\n <path d="m477.5 1354.9v117.26h29.316v-41.66h12.344l35.15 41.66h35.825l-38.574-43.202c15.831-1.3359 32.161-14.923 32.161-36.018 0-24.676-19.368-38.043-40.985-38.043h-65.238zm29.316 26.23h33.511c8.0388 0 13.887 6.2882 13.887 12.344 0 7.7905-7.5767 12.344-13.453 12.344h-33.945v-24.687z" fill="#016fd0"/>\n <path d="m625.62 1472.2h-29.933v-117.26h29.933z" fill="#016fd0"/>\n <path d="m696.6 1472.2h-6.4611c-31.262 0-50.242-24.629-50.242-58.15 0-34.349 18.768-59.114 58.246-59.114h32.402v27.773h-33.587c-16.026 0-27.36 12.507-27.36 31.63 0 22.71 12.96 32.248 31.63 32.248h7.7147z" fill="#016fd0"/>\n <path d="m760.39 1354.9-50.435 117.26h32.836l9.3059-23.482h54.1l9.2577 23.482h33.559l-50.387-117.26h-38.236zm18.66 27.291 16.49 41.033h-33.029l16.538-41.033z" fill="#016fd0"/>\n <path d="m852.43 1472.2v-117.26h37.272l47.59 73.676v-73.676h29.316v117.26h-36.066l-48.796-75.604v75.604z" fill="#016fd0"/>\n <path d="m269.2 1677.4v-117.26h95.663v26.23h-66.038v20.058h64.495v24.687h-64.495v20.83h66.038v25.459z" fill="#016fd0"/>\n <path d="m737.95 1677.4v-117.26h95.663v26.23h-66.038v20.058h64.187v24.687h-64.187v20.83h66.038v25.459z" fill="#016fd0"/>\n <path d="m368.57 1677.4 46.578-57.909-47.687-59.355h36.934l28.4 36.693 28.496-36.693h35.488l-47.06 58.632 46.664 58.632h-36.929l-27.575-36.115-26.905 36.115z" fill="#016fd0"/>\n <path d="m499.87 1560.1v117.26h30.088v-37.031h30.859c26.111 0 45.903-13.852 45.903-40.792 0-22.316-15.523-39.442-42.094-39.442h-64.756zm30.088 26.519h32.498c8.4355 0 14.465 5.1701 14.465 13.501 0 7.8262-5.9992 13.501-14.562 13.501h-32.402v-27.002z" fill="#016fd0"/>\n <path d="m619.45 1560.1v117.26h29.316v-41.66h12.344l35.15 41.66h35.825l-38.574-43.203c15.831-1.3361 32.161-14.923 32.161-36.018 0-24.676-19.368-38.043-40.985-38.043h-65.238zm29.316 26.23h33.511c8.0388 0 13.887 6.2881 13.887 12.344 0 7.7906-7.5767 12.344-13.453 12.344h-33.945v-24.687z" fill="#016fd0"/>\n <path d="m847.19 1677.4v-25.459h58.671c8.6812 0 12.44-4.6912 12.44-9.8363 0-4.9296-3.747-9.9134-12.44-9.9134h-26.513c-23.046 0-35.88-14.041-35.88-35.121 0-18.802 11.753-36.934 45.999-36.934h57.089l-12.344 26.384h-49.374c-9.4382 0-12.344 4.9526-12.344 9.6821 0 4.8612 3.5904 10.222 10.801 10.222h27.773c25.69 0 36.838 14.572 36.838 33.656 0 20.516-12.422 37.32-38.236 37.32z" fill="#016fd0"/>\n <path d="m954.78 1677.4v-25.459h58.671c8.6812 0 12.44-4.6912 12.44-9.8363 0-4.9296-3.7471-9.9134-12.44-9.9134h-26.513c-23.046 0-35.88-14.041-35.88-35.121 0-18.802 11.753-36.934 45.999-36.934h57.089l-12.344 26.384h-49.374c-9.4382 0-12.344 4.9526-12.344 9.6821 0 4.8612 3.5904 10.222 10.801 10.222h27.773c25.69 0 36.838 14.572 36.838 33.656 0 20.516-12.422 37.32-38.236 37.32z" fill="#016fd0"/>\n </g>\n</svg>\n'},9616:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(1630),i=n(7199),o=n(5547),c=n(2092);function s(e,t,n){const s=(0,r.T)(e)||t||n?{next:e,error:t,complete:n}:e;return s?(0,i.N)((e,t)=>{var n;null===(n=s.subscribe)||void 0===n||n.call(s);let r=!0;e.subscribe((0,o._)(t,e=>{var n;null===(n=s.next)||void 0===n||n.call(s,e),t.next(e)},()=>{var e;r=!1,null===(e=s.complete)||void 0===e||e.call(s),t.complete()},e=>{var n;r=!1,null===(n=s.error)||void 0===n||n.call(s,e),t.error(e)},()=>{var e,t;r&&(null===(e=s.unsubscribe)||void 0===e||e.call(s)),null===(t=s.finalize)||void 0===t||t.call(s)}))}):c.D}},9661:function(e,t,n){"use strict";var r=n(1354),i=n.n(r),o=n(6314),c=n.n(o)()(i());c.push([e.id,".tp-3ds-method-url-iframe {\n width: 0;\n height: 0;\n border: 0;\n}\n","",{version:3,sources:["webpack://./src/modules/method-url/MethodUrl.css"],names:[],mappings:"AAAA;EACE,QAAQ;EACR,SAAS;EACT,SAAS;AACX",sourcesContent:[".tp-3ds-method-url-iframe {\n width: 0;\n height: 0;\n border: 0;\n}\n"],sourceRoot:""}]),t.A=c},9670:function(e,t,n){"use strict";n.d(t,{w:function(){return l}});var r=n(5514),i=n(7199),o=n(5547),c=n(9307),s=n(2213),u=n(6783),a=n(8114);function l(e,...t){var n,l;const f=null!==(n=(0,u.lI)(t))&&void 0!==n?n:s.E,d=null!==(l=t[0])&&void 0!==l?l:null,h=t[1]||1/0;return(0,i.N)((t,n)=>{let i=[],s=!1;const u=e=>{const{buffer:t,subs:r}=e;r.unsubscribe(),(0,c.o)(i,e),n.next(t),s&&l()},l=()=>{if(i){const t=new r.yU;n.add(t);const o={buffer:[],subs:t};i.push(o),(0,a.N)(t,f,()=>u(o),e)}};null!==d&&d>=0?(0,a.N)(n,f,l,d,!0):s=!0,l();const p=(0,o._)(n,e=>{const t=i.slice();for(const n of t){const{buffer:t}=n;t.push(e),h<=t.length&&u(n)}},()=>{for(;null==i?void 0:i.length;)n.next(i.shift().buffer);null==p||p.unsubscribe(),n.complete(),n.unsubscribe()},void 0,()=>i=null);t.subscribe(p)})}},9693:function(e,t,n){"use strict";var r=this&&this.__decorate||function(e,t,n,r){var i,o=arguments.length,c=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(c=(o<3?i(c):o>3?i(t,n,c):i(t,n))||c);return o>3&&c&&Object.defineProperty(t,n,c),c};Object.defineProperty(t,"__esModule",{value:!0}),t.SessionIdService=void 0;var i=n(8430),o=n(3221),c=function(){function e(){this.sessionId=null}return e.prototype.createId=function(){this.sessionId=(0,o.v4)()},e.prototype.getId=function(){return this.sessionId},r([(0,i.Service)()],e)}();t.SessionIdService=c},9717:function(e,t,n){"use strict";n.r(t);var r=n(5072),i=n.n(r),o=n(7825),c=n.n(o),s=n(7659),u=n.n(s),a=n(5056),l=n.n(a),f=n(540),d=n.n(f),h=n(1113),p=n.n(h),v=n(196),m={};m.styleTagTransform=p(),m.setAttributes=l(),m.insert=u().bind(null,"head"),m.domAPI=c(),m.insertStyleElement=d(),i()(v.A,m),t.default=v.A&&v.A.locals?v.A.locals:void 0},9765:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});const r=(0,n(4772).L)(e=>function(t){e(this),this.name="SequenceError",this.message=t})},9833:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(8597),i=n(6783),o=n(7199);function c(...e){const t=(0,i.lI)(e);return(0,o.N)((n,i)=>{(t?(0,r.x)(e,n,t):(0,r.x)(e,n)).subscribe(i)})}},9878:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(628);class i{constructor(e,t=i.now){this.schedulerActionCtor=e,this.now=t}schedule(e,t=0,n){return new this.schedulerActionCtor(this,e).schedule(n,t)}}i.now=r.U.now},9912:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.ChallengeDisplayMode=void 0,function(e){e.POPUP="POPUP",e.INLINE="INLINE"}(n||(t.ChallengeDisplayMode=n={}))},9939:function(e,t,n){"use strict";n.d(t,{T:function(){return o}});var r=n(7199),i=n(5547);function o(e,t){return(0,r.N)((n,r)=>{let o=0;n.subscribe((0,i._)(r,n=>{r.next(e.call(t,n,o++))}))})}},9952:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThreeDSecureVersion=void 0;var n=function(){function e(t){if(!t||!t.match(e.versionNumberPattern))throw new Error("Invalid 3DS version: ".concat(t));var n=t.split("."),r=n[0],i=n[1],o=n[2];this.major=Number(r),this.minor=Number(i),this.patch=Number(o)}return Object.defineProperty(e,"V2",{get:function(){return new e("2.0.0")},enumerable:!1,configurable:!0}),e.prototype.isEqual=function(e){return this.toString()===e.toString()},e.prototype.isHigherThan=function(e){return this.major!==e.major?this.major>e.major:this.minor!==e.minor?this.minor>e.minor:this.patch>e.patch},e.prototype.isHigherOrEqual=function(e){return this.isEqual(e)||this.isHigherThan(e)},e.prototype.isLowerThan=function(e){return!this.isHigherOrEqual(e)},e.prototype.isLowerOrEqual=function(e){return!this.isHigherThan(e)},e.prototype.toString=function(){return"".concat(this.major,".").concat(this.minor,".").concat(this.patch)},e.versionNumberPattern=/^\d+\.\d+\.\d+$/,e}();t.ThreeDSecureVersion=n}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={id:r,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.nc=void 0;var r={};return function(){"use strict";var e=r;Object.defineProperty(e,"__esModule",{value:!0}),e.ProcessingScreenMode=e.ResultActionCode=e.ChallengeDisplayMode=e.LoggingLevel=e.ThreeDSecureVersion=e.ThreeDSecureFactory=void 0,n(9061),n(5228);var t=n(4887);Object.defineProperty(e,"ThreeDSecureFactory",{enumerable:!0,get:function(){return t.ThreeDSecureFactory}});var i=n(8206);Object.defineProperty(e,"LoggingLevel",{enumerable:!0,get:function(){return i.LoggingLevel}});var o=n(9912);Object.defineProperty(e,"ChallengeDisplayMode",{enumerable:!0,get:function(){return o.ChallengeDisplayMode}});var c=n(2733);Object.defineProperty(e,"ResultActionCode",{enumerable:!0,get:function(){return c.ResultActionCode}});var s=n(7753);Object.defineProperty(e,"ProcessingScreenMode",{enumerable:!0,get:function(){return s.ProcessingScreenMode}});var u=n(9952);Object.defineProperty(e,"ThreeDSecureVersion",{enumerable:!0,get:function(){return u.ThreeDSecureVersion}})}(),r}()});
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Trust Payments <support@trustpayments.com>",
|
|
3
3
|
"homepage": "https://docs.trustpayments.com",
|
|
4
4
|
"name": "@trustpayments/3ds-sdk-js",
|
|
5
|
-
"version": "1.2.
|
|
5
|
+
"version": "1.2.340",
|
|
6
6
|
"description": "",
|
|
7
7
|
"main": "./dist/index.js",
|
|
8
8
|
"browser": "./dist/index.js",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"webpack-merge": "^6.0.1"
|
|
77
77
|
},
|
|
78
78
|
"dependencies": {
|
|
79
|
-
"@trustpayments/http-client": "2.0.
|
|
79
|
+
"@trustpayments/http-client": "2.0.395",
|
|
80
80
|
"core-js": "3.43.0",
|
|
81
81
|
"element-remove-polyfill": "1.1.0",
|
|
82
82
|
"jsdom": "16.7.0",
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"npm run lint:fix"
|
|
106
106
|
]
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "9a62abece9b887e32ae8b23256ef3c1034d279d1"
|
|
109
109
|
}
|