@aws-amplify/ui-angular 2.0.1-next.3 → 2.0.1
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/LICENSE +201 -0
- package/README.md +28 -0
- package/aws-amplify-ui-angular.d.ts +26 -18
- package/aws-amplify-ui-angular.metadata.json +1 -1
- package/bundles/aws-amplify-ui-angular-legacy.umd.js +2229 -0
- package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +1 -0
- package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +16 -0
- package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +1 -0
- package/bundles/aws-amplify-ui-angular.umd.js +1552 -3299
- package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
- package/bundles/aws-amplify-ui-angular.umd.min.js +1 -1
- package/bundles/aws-amplify-ui-angular.umd.min.js.map +1 -1
- package/esm2015/aws-amplify-ui-angular.js +27 -19
- package/esm2015/index.js +22 -8
- package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +6 -0
- package/esm2015/legacy/index.js +3 -0
- package/esm2015/legacy/legacy-ui-angular.module.js +53 -0
- package/esm2015/legacy/proxies.js +1839 -0
- package/esm2015/lib/common/types/auth-types.js +1 -1
- package/esm2015/lib/components/authenticator/authenticator.module.js +79 -0
- package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +87 -0
- package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +40 -0
- package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +57 -0
- package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +39 -0
- package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +39 -0
- package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +47 -0
- package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +27 -0
- package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +39 -0
- package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +93 -0
- package/esm2015/lib/components/authenticator/components/index.js +17 -0
- package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +45 -0
- package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +65 -0
- package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +38 -0
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +34 -0
- package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +37 -0
- package/esm2015/lib/components/authenticator/components/user-name-alias/user-name-alias.component.js +35 -0
- package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +54 -0
- package/esm2015/lib/primitives/button/button.component.js +38 -0
- package/esm2015/lib/primitives/checkbox/checkbox.component.js +31 -0
- package/esm2015/lib/primitives/error/error.component.js +16 -0
- package/esm2015/lib/primitives/index.js +10 -3
- package/esm2015/lib/primitives/password-field/password-field.component.js +43 -0
- package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +40 -0
- package/esm2015/lib/primitives/select/select.component.js +17 -0
- package/esm2015/lib/primitives/tab-item/tab-item.component.js +20 -0
- package/esm2015/lib/primitives/tabs/tabs.component.js +45 -0
- package/esm2015/lib/primitives/text-field/text-field.component.js +35 -0
- package/esm2015/lib/services/authenticator.service.js +133 -0
- package/esm2015/lib/services/custom-components.service.js +23 -0
- package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +32 -0
- package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +21 -0
- package/fesm2015/aws-amplify-ui-angular-legacy.js +1846 -0
- package/fesm2015/aws-amplify-ui-angular-legacy.js.map +1 -0
- package/fesm2015/aws-amplify-ui-angular.js +847 -2583
- package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
- package/index.d.ts +21 -7
- package/legacy/aws-amplify-ui-angular-legacy.d.ts +5 -0
- package/legacy/aws-amplify-ui-angular-legacy.metadata.json +1 -0
- package/legacy/index.d.ts +2 -0
- package/legacy/legacy-ui-angular.module.d.ts +2 -0
- package/legacy/package.json +11 -0
- package/{lib → legacy}/proxies.d.ts +0 -0
- package/lib/common/types/auth-types.d.ts +2 -5
- package/lib/components/authenticator/authenticator.module.d.ts +2 -0
- package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +67 -0
- package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +50 -0
- package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +52 -0
- package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +49 -0
- package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +49 -0
- package/lib/components/{amplify-federated-sign-in/amplify-federated-sign-in.component.d.ts → authenticator/components/federated-sign-in/federated-sign-in.component.d.ts} +9 -6
- package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +9 -0
- package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +49 -0
- package/lib/{primitives/amplify-input/amplify-input.component.d.ts → components/authenticator/components/form-field/form-field.component.d.ts} +10 -5
- package/lib/components/authenticator/components/index.d.ts +16 -0
- package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +52 -0
- package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +53 -0
- package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +48 -0
- package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +12 -0
- package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +47 -0
- package/lib/{primitives/amplify-user-name-alias/amplify-user-name-alias.component.d.ts → components/authenticator/components/user-name-alias/user-name-alias.component.d.ts} +4 -4
- package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +54 -0
- package/lib/primitives/button/button.component.d.ts +15 -0
- package/lib/primitives/checkbox/checkbox.component.d.ts +12 -0
- package/lib/primitives/error/error.component.d.ts +4 -0
- package/lib/primitives/index.d.ts +9 -2
- package/lib/primitives/password-field/password-field.component.d.ts +15 -0
- package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +16 -0
- package/lib/primitives/{amplify-select/amplify-select.component.d.ts → select/select.component.d.ts} +2 -2
- package/lib/primitives/tab-item/tab-item.component.d.ts +7 -0
- package/lib/primitives/tabs/tabs.component.d.ts +9 -0
- package/lib/primitives/text-field/text-field.component.d.ts +13 -0
- package/lib/services/authenticator.service.d.ts +94 -0
- package/lib/services/custom-components.service.d.ts +9 -0
- package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +12 -0
- package/lib/{directives/amplify-override.directive.d.ts → utilities/amplify-slot/amplify-slot.directive.d.ts} +2 -2
- package/package.json +5 -5
- package/theme.css +1 -99
- package/esm2015/lib/components/amplify-authenticator/amplify-authenticator.component.js +0 -66
- package/esm2015/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.js +0 -91
- package/esm2015/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.js +0 -102
- package/esm2015/lib/components/amplify-federated-sign-in/amplify-federated-sign-in.component.js +0 -37
- package/esm2015/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.js +0 -27
- package/esm2015/lib/components/amplify-force-new-password/amplify-force-new-password.component.js +0 -83
- package/esm2015/lib/components/amplify-reset-password/amplify-reset-password.component.js +0 -68
- package/esm2015/lib/components/amplify-setup-totp/amplify-setup-totp.component.js +0 -100
- package/esm2015/lib/components/amplify-sign-in/amplify-sign-in.component.js +0 -82
- package/esm2015/lib/components/amplify-sign-up/amplify-sign-up.component.js +0 -92
- package/esm2015/lib/components/amplify-verify-user/amplify-verify-user.component.js +0 -73
- package/esm2015/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.js +0 -76
- package/esm2015/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.js +0 -63
- package/esm2015/lib/components/index.js +0 -14
- package/esm2015/lib/directives/amplify-override.directive.js +0 -21
- package/esm2015/lib/primitives/amplify-error/amplify-error.component.js +0 -10
- package/esm2015/lib/primitives/amplify-input/amplify-input.component.js +0 -82
- package/esm2015/lib/primitives/amplify-select/amplify-select.component.js +0 -17
- package/esm2015/lib/primitives/amplify-user-name-alias/amplify-user-name-alias.component.js +0 -35
- package/esm2015/lib/proxies.js +0 -1839
- package/esm2015/lib/services/authenticator-context.service.js +0 -28
- package/esm2015/lib/services/state-machine.service.js +0 -46
- package/esm2015/lib/ui-angular.module.js +0 -91
- package/lib/components/amplify-authenticator/amplify-authenticator.component.d.ts +0 -31
- package/lib/components/amplify-confirm-sign-in/amplify-confirm-sign-in.component.d.ts +0 -31
- package/lib/components/amplify-confirm-sign-up/amplify-confirm-sign-up.component.d.ts +0 -37
- package/lib/components/amplify-federated-sign-in-button/amplify-federated-sign-in-button.component.d.ts +0 -9
- package/lib/components/amplify-force-new-password/amplify-force-new-password.component.d.ts +0 -31
- package/lib/components/amplify-reset-password/amplify-reset-password.component.d.ts +0 -30
- package/lib/components/amplify-setup-totp/amplify-setup-totp.component.d.ts +0 -31
- package/lib/components/amplify-sign-in/amplify-sign-in.component.d.ts +0 -34
- package/lib/components/amplify-sign-up/amplify-sign-up.component.d.ts +0 -35
- package/lib/components/amplify-verify-user/amplify-verify-user.component.d.ts +0 -31
- package/lib/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +0 -34
- package/lib/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +0 -26
- package/lib/components/index.d.ts +0 -13
- package/lib/primitives/amplify-error/amplify-error.component.d.ts +0 -2
- package/lib/services/authenticator-context.service.d.ts +0 -10
- package/lib/services/state-machine.service.d.ts +0 -29
- package/lib/ui-angular.module.d.ts +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@aws-amplify/ui"),require("xstate"),require("aws-amplify"),require("qrcode"),require("rxjs"),require("@aws-amplify/ui-components/dist/components")):"function"==typeof define&&define.amd?define("@aws-amplify/ui-angular",["exports","@angular/core","@angular/common","@aws-amplify/ui","xstate","aws-amplify","qrcode","rxjs","@aws-amplify/ui-components/dist/components"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["aws-amplify"]=t["aws-amplify"]||{},t["aws-amplify"]["ui-angular"]={}),t.ng.core,t.ng.common,t.ui,t.xstate,t["aws-amplify"],t.QRCode,t.rxjs,t.components)}(this,(function(t,e,n,o,a,r,i,s,c){"use strict";function p(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function u(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var l=u(e),m=p(i),f=function(){function t(t){this.template=t}return Object.defineProperty(t.prototype,"amplifyOverride",{set:function(t){this.name=t},enumerable:!1,configurable:!0}),t}();f.decorators=[{type:e.Directive,args:[{selector:"[amplifyOverride]"}]}],f.ctorParameters=function(){return[{type:e.TemplateRef}]},f.propDecorators={amplifyOverride:[{type:e.Input}]};var h=function(){function t(){var t=this,e=a.interpret(o.authMachine,{devTools:!0}).onTransition((function(e){t._user=e.context.user,t._authState=e})).start();this._services=o.getSendEventAliases(e.send),this._authService=e}return Object.defineProperty(t.prototype,"services",{get:function(){return this._services},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authState",{get:function(){return this._authState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authService",{get:function(){return this._authService},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"user",{get:function(){return this._user},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._authState.context},enumerable:!1,configurable:!0}),t.prototype.send=function(t){this.authService.send(t)},t}();h.ɵprov=l.ɵɵdefineInjectable({factory:function(){return new h},token:h,providedIn:"root"}),h.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],h.ctorParameters=function(){return[]};var d=function(){function t(){this._customComponents={},this._props={}}return Object.defineProperty(t.prototype,"customComponents",{get:function(){return this._customComponents},set:function(t){this._customComponents=Object.assign(Object.assign({},this._customComponents),t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"props",{get:function(){return this._props},set:function(t){this._props=Object.assign(Object.assign({},this._props),t)},enumerable:!1,configurable:!0}),t}();d.ɵprov=l.ɵɵdefineInjectable({factory:function(){return new d},token:d,providedIn:"root"}),d.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],d.ctorParameters=function(){return[]};var g=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.initialAuthState="signIn",this.dataAttr="",this.customComponentQuery=null,this.customComponents={}}return t.prototype.ngAfterContentInit=function(){this.contextService.customComponents=this.mapCustomComponents(this.customComponentQuery),this.customComponents=this.contextService.customComponents},Object.defineProperty(t.prototype,"context",{get:function(){return{signOut:this.stateMachine.services.signOut,user:this.stateMachine.user}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actorState",{get:function(){return o.getActorState(this.stateMachine.authState)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authenticatorState",{get:function(){return this.stateMachine.authState},enumerable:!1,configurable:!0}),t.prototype.mapCustomComponents=function(t){if(!t)return{};var e={};return t.forEach((function(t){e[t.name]=t.template})),e},t}();g.decorators=[{type:e.Component,args:[{selector:"amplify-authenticator",template:'\x3c!-- \n Define default contents here.\n--\x3e\n<ng-template #signIn>\n <amplify-sign-in></amplify-sign-in>\n</ng-template>\n<ng-template #signUp>\n <amplify-sign-up></amplify-sign-up>\n</ng-template>\n<ng-template #confirmSignUp>\n <amplify-confirm-sign-up></amplify-confirm-sign-up>\n</ng-template>\n<ng-template #confirmSignIn>\n <amplify-confirm-sign-in></amplify-confirm-sign-in>\n</ng-template>\n<ng-template #authenticated> <ng-content></ng-content> </ng-template>\n<ng-template #setupTOTP>\n <amplify-setup-totp></amplify-setup-totp>\n</ng-template>\n<ng-template #forceNewPassword>\n <amplify-force-new-password></amplify-force-new-password>\n</ng-template>\n<ng-template #resetPassword>\n <amplify-reset-password></amplify-reset-password>\n</ng-template>\n<ng-template #confirmResetPassword>\n <amplify-confirm-reset-password></amplify-confirm-reset-password>\n</ng-template>\n<ng-template #verifyUser>\n <amplify-verify-user></amplify-verify-user>\n</ng-template>\n<ng-template #confirmVerifyUser>\n <amplify-confirm-verify-user></amplify-confirm-verify-user>\n</ng-template>\n\n\x3c!-- \n Next, we render respective auth subcomponent respective to the current authState.\n If customer is overriding that component, we render customer\'s template instead.\n--\x3e\n\n\x3c!-- signIn component --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.signIn || signIn"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'signIn\')"\n>\n</ng-container>\n\n\x3c!-- signUp component --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.signUp || signUp"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'signUp\')"\n>\n</ng-container>\n\n\x3c!-- confirmSignUp content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.confirmSignUp || confirmSignUp"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'confirmSignUp\')"\n>\n</ng-container>\n\n\x3c!-- confirmSignIn content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.confirmSignIn || confirmSignIn"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'confirmSignIn\')"\n>\n</ng-container>\n\n\x3c!-- setupTotp content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.setupTOTP || setupTOTP"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'setupTOTP\')"\n>\n</ng-container>\n\n\x3c!-- forceNewPassword content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.forceNewPassword || forceNewPassword"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'forceNewPassword\')"\n>\n</ng-container>\n\n\x3c!-- resetPassword content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.resetPassword || resetPassword"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'resetPassword\')"\n>\n</ng-container>\n\n\x3c!-- confirmResetPassword content --\x3e\n<ng-container\n [ngTemplateOutlet]="\n customComponents.confirmResetPassword || confirmResetPassword\n "\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'confirmResetPassword\')"\n>\n</ng-container>\n\n\x3c!-- verifyUser content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.verifyUser || verifyUser"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'verifyUser\')"\n>\n</ng-container>\n\n\x3c!-- confirmVerifyUser content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.confirmVerifyUser || confirmVerifyUser"\n [ngTemplateOutletContext]="context"\n *ngIf="actorState?.matches(\'confirmVerifyUser\')"\n>\n</ng-container>\n\n\x3c!-- signedIn content --\x3e\n<ng-container\n [ngTemplateOutlet]="customComponents.authenticated || authenticated"\n [ngTemplateOutletContext]="context"\n *ngIf="authenticatorState.matches(\'authenticated\')"\n>\n</ng-container>\n',providers:[d],encapsulation:e.ViewEncapsulation.None}]}],g.ctorParameters=function(){return[{type:h},{type:d}]},g.propDecorators={initialAuthState:[{type:e.Input}],dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator"]}],customComponentQuery:[{type:e.ContentChildren,args:[f]}]};function y(t,e,n,o){var a,r=arguments.length,i=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,o);else for(var s=t.length-1;s>=0;s--)(a=t[s])&&(i=(r<3?a(i):r>3?a(e,n,i):a(e,n))||i);return r>3&&i&&Object.defineProperty(e,n,i),i}function b(t,e,n,o){return new(n||(n=Promise))((function(a,r){function i(t){try{c(o.next(t))}catch(t){r(t)}}function s(t){try{c(o.throw(t))}catch(t){r(t)}}function c(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,s)}c((o=o.apply(t,e||[])).next())}))}function v(t,e){var n,o,a,r,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,o&&(a=2&r[0]?o.return:r[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,r[1])).done)return a;switch(o=0,a&&(r=[2&r[0],a.value]),r[0]){case 0:case 1:a=r;break;case 4:return i.label++,{value:r[1],done:!1};case 5:i.label++,o=r[1],r=[0];continue;case 7:r=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==r[0]&&2!==r[0])){i=0;continue}if(3===r[0]&&(!a||r[1]>a[0]&&r[1]<a[3])){i.label=r[1];break}if(6===r[0]&&i.label<a[1]){i.label=a[1],a=r;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(r);break}a[2]&&i.ops.pop(),i.trys.pop();continue}r=e.call(t,i)}catch(t){r=[6,t],o=0}finally{n=a=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}Object.create;Object.create;var C=new r.Logger("SignIn"),S=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText=o.translate("Sign in to your account"),this.customComponents={},this.remoteError="",this.isPending=!1,this.forgotPasswordText=o.translate("Forgot your password? "),this.signInButtonText=o.translate("Sign in"),this.noAccountText=o.translate("No account? "),this.createAccountText=o.translate("Create account")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)}))},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){C.log("sign in destroyed, unsubscribing from state machine..."),this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=!e.matches("signIn.edit")},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.resetPassword,o=t.signUp,a=t.submit;return{change:e,remoteError:this.remoteError,resetPassword:n,signUp:o,submit:a}},enumerable:!1,configurable:!0}),t.prototype.toSignUp=function(){this.stateMachine.send("SIGN_UP")},t.prototype.toResetPassword=function(){this.stateMachine.send("RESET_PASSWORD")},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.onSubmit=function(t){return b(this,void 0,void 0,(function(){return v(this,(function(e){return t.preventDefault(),this.stateMachine.send({type:"SUBMIT"}),[2]}))}))},t}();S.decorators=[{type:e.Component,args:[{selector:"amplify-sign-in",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #signInButton>\n <button data-amplify-button type="submit">{{ signInButtonText }}</button>\n</ng-template>\n\n<ng-template #signInForm>\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-user-name-alias></amplify-user-name-alias>\n <amplify-form-input\n data-amplify-password\n name="password"\n type="password"\n autocomplete="current-password"\n ></amplify-form-input>\n <button type="button" (click)="toResetPassword()">\n {{ forgotPasswordText }}\n </button>\n <div data-amplify-footer>\n <div>\n {{ noAccountText }}\n <button type="button" (click)="toSignUp()">\n {{ createAccountText }}\n </button>\n </div>\n <ng-container\n [ngTemplateOutlet]="customComponents.signInButton || signInButton"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render sign in component\n--\x3e\n\n<div data-amplify-container>\n <h2 data-amplify-header>{{ this.headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="customComponents.signInForm || signInForm"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],S.ctorParameters=function(){return[{type:h},{type:d}]},S.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signin"]}],headerText:[{type:e.Input}]};var x=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText=o.translate("Create a new account"),this.remoteError="",this.isPending=!1,this.primaryAlias="",this.secondaryAliases=[],this.validationError={},this.createAccountText=o.translate("Back to Sign In"),this.haveAccountText=o.translate("Have an account? "),this.signInText=o.translate("Sign in")}return Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.signIn,o=t.submit;return{change:e,remoteError:this.remoteError,signIn:n,submit:o,validationError:this.validationError}},enumerable:!1,configurable:!0}),t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)}));var e=this.stateMachine.context,n=o.getConfiguredAliases(e),a=n.primaryAlias,r=n.secondaryAliases;this.primaryAlias=a,this.secondaryAliases=r},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t),n=o.getActorContext(t);this.remoteError=n.remoteError,this.validationError=n.validationError,this.isPending=!e.matches({signUp:{submission:"idle"}})},t.prototype.onSubmit=function(t){return b(this,void 0,void 0,(function(){return v(this,(function(e){return t.preventDefault(),this.stateMachine.send("SUBMIT"),[2]}))}))},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.toSignIn=function(){this.stateMachine.send("SIGN_IN")},t}();x.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up",template:'<ng-template #signUpButton>\n <button data-amplify-button type="submit">{{ createAccountText }}</button>\n</ng-template>\n\n<ng-template #signUpUsername>\n <amplify-user-name-alias [name]="primaryAlias"></amplify-user-name-alias>\n</ng-template>\n\n<ng-template #signUpPassword>\n <amplify-form-input\n name="password"\n autocomplete="new-password"\n ></amplify-form-input>\n</ng-template>\n\n<ng-template #signUpConfirmPassword>\n <amplify-form-input\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-input>\n</ng-template>\n\n<ng-template #signUpFieldset>\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <ng-container\n [ngTemplateOutlet]="customComponents.signUpUsername || signUpUsername"\n [ngTemplateOutletContext]="context"\n ></ng-container>\n\n <ng-container\n [ngTemplateOutlet]="customComponents.signUpPassword || signUpPassword"\n [ngTemplateOutletContext]="context"\n ></ng-container>\n\n <ng-container\n [ngTemplateOutlet]="\n customComponents.signUpConfirmPassword || signUpConfirmPassword\n "\n [ngTemplateOutletContext]="context"\n ></ng-container>\n\n <ng-container *ngFor="let secondaryAlias of secondaryAliases">\n <amplify-form-input [name]="secondaryAlias"></amplify-form-input>\n </ng-container>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n</ng-template>\n\n<div data-amplify-container>\n <h2 data-amplify-header>{{ this.headerText }}</h2>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <ng-container\n [ngTemplateOutlet]="customComponents.signUpFieldset || signUpFieldset"\n [ngTemplateOutletContext]="context"\n ></ng-container>\n\n <div data-amplify-footer>\n <div>\n {{ haveAccountText }}\n <button type="button" (click)="toSignIn()">{{ signInText }}</button>\n </div>\n <ng-container\n [ngTemplateOutlet]="customComponents.signUpButton || signUpButton"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n </form>\n</div>\n'}]}],x.ctorParameters=function(){return[{type:h},{type:d}]},x.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signup"]}],headerText:[{type:e.Input}]};var T=function(){return o.authInputAttributes},P=function(){function t(t){this.stateMachine=t,this.required=!0,this.placeholder="",this.label="",this.initialValue="",this.disabled=!1,this.autocomplete="",this.countryDialCodes=o.countryDialCodes}return t.prototype.ngOnInit=function(){var t=this.stateMachine.authState,e=o.getActorContext(t).country_code;this.defaultCountryCode=e,this.isTelInput()&&this.stateMachine.send({type:"CHANGE",data:{name:"country_code",value:e}})},Object.defineProperty(t.prototype,"attributeMap",{get:function(){return T()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return o.getActorContext(this.stateMachine.authState).validationError[this.name]},enumerable:!1,configurable:!0}),t.prototype.isTelInput=function(){return"tel"===this.inferType()},t.prototype.inferLabel=function(){var t,e=this.label||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.label);return o.translate(e)},t.prototype.inferPlaceholder=function(){var t,e=this.placeholder||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.placeholder)||this.inferLabel();return o.translate(e)},t.prototype.inferType=function(){var t,e,n;return null!==(n=null!==(t=this.type)&&void 0!==t?t:null===(e=this.attributeMap[this.name])||void 0===e?void 0:e.type)&&void 0!==n?n:"text"},t}();P.decorators=[{type:e.Component,args:[{selector:"amplify-form-input",template:'\x3c!-- Country code field --\x3e\n<amplify-form-select\n *ngIf="isTelInput()"\n name="country_code"\n label="Country Code"\n [id]="\'country-code\'"\n [items]="countryDialCodes"\n [initialValue]="defaultCountryCode"\n></amplify-form-select>\n\x3c!-- Textbox field --\x3e\n<label>\n <div data-amplify-label>{{ inferLabel() }}</div>\n <input\n data-amplify-form-input\n [type]="inferType()"\n [name]="name"\n [placeholder]="inferPlaceholder()"\n [required]="required"\n [value]="initialValue"\n [attr.disabled]="disabled ? \'\' : null"\n [autocomplete]="autocomplete"\n />\n <amplify-error *ngIf="error">\n {{ error }}\n </amplify-error>\n</label>\n'}]}],P.ctorParameters=function(){return[{type:h}]},P.propDecorators={name:[{type:e.Input}],type:[{type:e.Input}],required:[{type:e.Input}],placeholder:[{type:e.Input}],label:[{type:e.Input}],initialValue:[{type:e.Input}],disabled:[{type:e.Input}],autocomplete:[{type:e.Input}]};var I=function(){};I.decorators=[{type:e.Component,args:[{selector:"amplify-error",template:"<span data-amplify-error>\n <ng-content></ng-content>\n</span>\n"}]}];var A=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText=o.translate("Confirm Sign Up"),this.customComponents={},this.remoteError="",this.isPending=!1,this.signInText=o.translate("Sign in"),this.resendCodeText=o.translate("Resend Code"),this.lostCodeText=o.translate("Lost your code? "),this.confirmText=o.translate("Confirm")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)})),this.setUsername()},t.prototype.setUsername=function(){var t,e=this.stateMachine.authState,n=o.getActorContext(e),a=n.user,r=n.authAttributes,i=null!==(t=null==a?void 0:a.username)&&void 0!==t?t:null==r?void 0:r.username;i&&(this.username=i,this.stateMachine.send({type:"CHANGE",data:{name:"username",value:this.username}}))},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=!e.matches("confirmSignUp.edit")},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.resend,o=t.signIn,a=t.submit;return{change:e,remoteError:this.remoteError,resend:n,signIn:o,submit:a,username:this.username}},enumerable:!1,configurable:!0}),t.prototype.toSignIn=function(){this.stateMachine.send("SIGN_IN")},t.prototype.resend=function(){this.stateMachine.send({type:"RESEND",data:{username:this.username}})},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.onSubmit=function(t){t.preventDefault();var e=this.stateMachine.authState,n=o.getActorContext(e).formValues,a=n.username,r=n.confirmation_code;this.stateMachine.send({type:"SUBMIT",data:{username:a,confirmation_code:r}})},t}();A.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-up",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #confirmSignUpButton>\n <button data-amplify-button type="submit">{{ confirmText }}</button>\n</ng-template>\n\n<ng-template #confirmSignUpForm>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-form-input\n name="username"\n [initialValue]="username ? username : null"\n [disabled]="!!username"\n ></amplify-form-input>\n <amplify-form-input\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-input>\n\n <div data-amplify-resend>\n {{ lostCodeText }}\n <a data-amplify-link (click)="resend()">{{ resendCodeText }}</a>\n </div>\n\n <div data-amplify-footer>\n <div>\n Back to{{ \' \' }}\n <a data-amplify-link (click)="toSignIn()">{{ signInText }}</a>\n </div>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.confirmSignUpButton || confirmSignUpButton\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render confirm sign up component\n--\x3e\n\n<div data-amplify-container>\n <h2 data-amplify-header>{{ headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="customComponents.confirmSignUpForm || confirmSignUpForm"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n'}]}],A.ctorParameters=function(){return[{type:h},{type:d}]},A.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignup"]}],headerText:[{type:e.Input}]};var E=function(){function t(t){this.stateMachine=t,this.name="username",this.disabled=!1,this.initialValue="",this.required=!0}return t.prototype.ngOnInit=function(){var t=this.stateMachine.context,e=o.getAliasInfoFromContext(t),n=e.label,a=e.type;this.label=n,this.type=a,this.placeholder=n},t}();E.decorators=[{type:e.Component,args:[{selector:"amplify-user-name-alias",template:'<amplify-form-input\n data-amplify-usernamealias\n [name]="name"\n [label]="label"\n [type]="type"\n [placeholder]="placeholder"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [required]="required"\n autocomplete="username"\n>\n</amplify-form-input>\n'}]}],E.ctorParameters=function(){return[{type:h}]},E.propDecorators={name:[{type:e.Input}],disabled:[{type:e.Input}],initialValue:[{type:e.Input}],required:[{type:e.Input}]};var D=new r.Logger("ConfirmSignIn"),O=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.customComponents={},this.remoteError="",this.isPending=!1,this.confirmText=o.translate("Confirm"),this.backToSignInText=o.translate("Back to Sign In")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){t.onStateUpdate(e)})),this.setHeaderText()},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.signIn,o=t.submit;return{change:e,remoteError:this.remoteError,signIn:n,submit:o}},enumerable:!1,configurable:!0}),t.prototype.setHeaderText=function(){var t=this.stateMachine.authState,e=o.getActorContext(t).challengeName;switch(e){case o.AuthChallengeNames.SOFTWARE_TOKEN_MFA:this.headerText=o.translate("Confirm TOTP Code");break;case o.AuthChallengeNames.SMS_MFA:this.headerText=o.translate("Confirm SMS Code");break;default:D.error("Unexpected challengeName",e)}},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=!e.matches("confirmSignIn.edit")},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.onSubmit=function(t){t.preventDefault();var e=new FormData(t.target);this.stateMachine.send({type:"SUBMIT",data:Object.fromEntries(e)})},t.prototype.toSignIn=function(){this.stateMachine.send("SIGN_IN")},t}();O.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-in",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #confirmSignInButton>\n <button data-amplify-button type="submit">{{ confirmText }}</button>\n</ng-template>\n\n<ng-template #confirmSignInForm>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-form-input\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-input>\n\n <div data-amplify-footer>\n <button type="button" (click)="toSignIn()">\n {{ backToSignInText }}\n </button>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.confirmSignInButton || confirmSignInButton\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render sign in component\n--\x3e\n\n<div data-amplify-container>\n <h2 data-amplify-header>{{ headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="customComponents.signInForm || confirmSignInForm"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n'}]}],O.ctorParameters=function(){return[{type:h},{type:d}]},O.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}]};var w=new r.Logger("SetupTotp"),R=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.customComponents={},this.remoteError="",this.isPending=!1,this.headerText=o.translate("Setup TOTP"),this.qrCodeSource="",this.backToSignInText=o.translate("Back to Sign In"),this.confirmText=o.translate("Confirm")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){t.onStateUpdate(e)})),this.generateQRCode()},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=!e.matches("setupTOTP.edit")},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.submit;return{change:e,remoteError:this.remoteError,submit:n,user:this.stateMachine.user}},enumerable:!1,configurable:!0}),t.prototype.generateQRCode=function(){var t;return b(this,void 0,void 0,(function(){var e,n,a,i,s,c,p,u;return v(this,(function(l){switch(l.label){case 0:e=this.stateMachine.authState,n=o.getActorContext(e),a=n.user,l.label=1;case 1:return l.trys.push([1,4,,5]),[4,r.Auth.setupTOTP(a)];case 2:return i=l.sent(),s="AWSCognito",c="otpauth://totp/AWSCognito:"+a.username+"?secret="+i+"&issuer="+s,w.info("totp code was generated:",c),p=this,[4,m.default.toDataURL(c)];case 3:return p.qrCodeSource=l.sent(),[3,5];case 4:return u=l.sent(),this.remoteError=null!==(t=u.message)&&void 0!==t?t:u,w.error(u),[3,5];case 5:return[2]}}))}))},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.onSubmit=function(t){t.preventDefault();var e=new FormData(t.target);this.stateMachine.send({type:"SUBMIT",data:Object.fromEntries(e)})},t.prototype.toSignIn=function(){this.stateMachine.send("SIGN_IN")},t}();R.decorators=[{type:e.Component,args:[{selector:"amplify-setup-totp",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #setupTotpButton>\n <button data-amplify-button type="submit">{{ confirmText }}</button>\n</ng-template>\n\n<ng-template #setupTotpForm>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <p *ngIf="!qrCodeSource">Loading...</p>\n <img *ngIf="qrCodeSource" [src]="qrCodeSource" alt="qr code" />\n <amplify-form-input\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-input>\n\n <div data-amplify-footer>\n <button (click)="toSignIn()">{{ backToSignInText }}</button>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.setupTotpButton || setupTotpButton\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render sign in component\n--\x3e\n<div data-amplify-container>\n <h2 data-amplify-header>{{ this.headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="customComponents.setupTotpForm || setupTotpForm"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n'}]}],R.ctorParameters=function(){return[{type:h},{type:d}]},R.propDecorators={customComponents:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-setup-totp"]}]};var k=new r.Logger("ForceNewPassword"),M=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText=o.translate("Reset your password"),this.customComponents={},this.remoteError="",this.isPending=!1,this.changePasswordText=o.translate("Change Password"),this.backToSignInText=o.translate("Back to Sign In")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)}))},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){k.log("sign in destroyed, unsubscribing from state machine..."),this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=e.matches({signUp:{submission:"idle"}})},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.signIn,o=t.submit,a=this.stateMachine.user;return{change:e,remoteError:this.remoteError,signIn:n,submit:o,user:a}},enumerable:!1,configurable:!0}),t.prototype.toSignIn=function(){this.stateMachine.send("SIGN_IN")},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.onSubmit=function(t){t.preventDefault();var e=this.stateMachine.authState,n=o.getActorContext(e).formValues;this.stateMachine.send({type:"SUBMIT",data:n})},t}();M.decorators=[{type:e.Component,args:[{selector:"amplify-force-new-password",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #forceNewPasswordSubmitButton>\n <button data-amplify-button type="submit">{{ changePasswordText }}</button>\n</ng-template>\n\n<ng-template #signInForm>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-form-input\n name="password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-input>\n\n <amplify-form-input\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-input>\n\n <div data-amplify-footer>\n <button type="button" (click)="toSignIn()">\n {{ backToSignInText }}\n </button>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.forceNewPasswordSubmitButton ||\n forceNewPasswordSubmitButton\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render sign in component\n--\x3e\n<div data-amplify-container>\n <h2 data-amplify-header>{{ this.headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="customComponents.signInForm || signInForm"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n'}]}],M.ctorParameters=function(){return[{type:h},{type:d}]},M.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-forcenewpassword"]}],headerText:[{type:e.Input}]};var U=function(){function t(t){this.stateMachine=t,this.FederatedProviders=o.FederatedIdentityProviders,this.includeFacebook=!1,this.includeGoogle=!1,this.includeAmazon=!1,this.shouldShowFederatedSignIn=!1,this.signInFacebookText=o.translate("Sign In with Facebook"),this.signInGoogleText=o.translate("Sign In with Google"),this.signInAmazonText=o.translate("Sign In with Amazon")}return t.prototype.ngOnInit=function(){var t,e,n=null===(e=null===(t=this.stateMachine.context)||void 0===t?void 0:t.config)||void 0===e?void 0:e.login_mechanisms;this.includeFacebook=null==n?void 0:n.includes("facebook"),this.includeGoogle=null==n?void 0:n.includes("google"),this.includeAmazon=null==n?void 0:n.includes("amazon"),this.shouldShowFederatedSignIn=this.includeFacebook||this.includeGoogle||this.includeAmazon},t}();U.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in",template:'<div data-amplify-federated>\n <amplify-federated-sign-in-button\n *ngIf="includeFacebook"\n [text]="signInFacebookText"\n [provider]="FederatedProviders.Facebook"\n ></amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeGoogle"\n [text]="signInGoogleText"\n [provider]="FederatedProviders.Google"\n ></amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeAmazon"\n [text]="signInAmazonText"\n [provider]="FederatedProviders.Amazon"\n ></amplify-federated-sign-in-button>\n</div>\n'}]}],U.ctorParameters=function(){return[{type:h}]};var N=function(t){var e=this;this.stateMachine=t,this.onClick=function(){e.stateMachine.send({type:"FEDERATED_SIGN_IN",data:{provider:e.provider}})}};N.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in-button",template:'<button data-amplify-button (click)="onClick()">{{ text }}</button>\n'}]}],N.ctorParameters=function(){return[{type:h}]},N.propDecorators={provider:[{type:e.Input}],text:[{type:e.Input}]};var F=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText=o.translate("Reset your password"),this.customComponents={},this.remoteError="",this.isPending=!1,this.sendCodeText=o.translate("Send Code"),this.backToSignInText=o.translate("Back to Sign In")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)}))},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=!e.matches("resetPassword.edit")},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.signIn,o=t.submit;return{change:e,remoteError:this.remoteError,signIn:n,submit:o}},enumerable:!1,configurable:!0}),t.prototype.toSignIn=function(){this.stateMachine.send("SIGN_IN")},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.onSubmit=function(t){t.preventDefault(),this.stateMachine.send("SUBMIT")},t}();F.decorators=[{type:e.Component,args:[{selector:"amplify-reset-password",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #resetPasswordSubmitButton>\n <button data-amplify-button type="submit">{{ sendCodeText }}</button>\n</ng-template>\n\n<ng-template #resetPasswordFooter>\n <div data-amplify-footer>\n <button type="button" (click)="toSignIn()">{{ backToSignInText }}</button>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.resetPasswordSubmitButton || resetPasswordSubmitButton\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #resetPasswordForm>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-form-input\n name="username"\n type="username"\n autocomplete="username"\n ></amplify-form-input>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.resetPasswordFooter || resetPasswordFooter\n "\n [ngTemplateOutletContext]="context"\n ></ng-container>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render reset passsword component\n--\x3e\n<div data-amplify-container>\n <h2 data-amplify-header>{{ this.headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="customComponents.resetPasswordForm || resetPasswordForm"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n'}]}],F.ctorParameters=function(){return[{type:h},{type:d}]},F.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-resetPassword"]}],headerText:[{type:e.Input}]};var B=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText=o.translate("Account recovery requires verified contact information"),this.customComponents={},this.unverifiedAttributes={},this.remoteError="",this.isPending=!1,this.skipText=o.translate("Skip"),this.verifyText=o.translate("Verify")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)}))},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.unverifiedAttributes=e.context.unverifiedAttributes,this.remoteError=e.context.remoteError,this.isPending=!e.matches("verifyUser.edit")},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.skip,o=t.submit;return{change:e,remoteError:this.remoteError,skip:n,submit:o}},enumerable:!1,configurable:!0}),t.prototype.skipVerify=function(){this.stateMachine.send("SKIP")},t.prototype.translate=function(t){return o.translate(t)},t.prototype.onSubmit=function(t){return b(this,void 0,void 0,(function(){var e;return v(this,(function(n){return t.preventDefault(),e=new FormData(t.target),this.stateMachine.send({type:"SUBMIT",data:Object.fromEntries(e)}),[2]}))}))},t}();B.decorators=[{type:e.Component,args:[{selector:"amplify-verify-user",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #verifyUserFooter>\n <div data-amplify-footer>\n <button data-amplify-button (click)="skipVerify()">{{ skipText }}</button>\n <button data-amplify-button type="submit">{{ verifyText }}</button>\n </div>\n</ng-template>\n\n<ng-template #verifyUserForm>\n <form data-amplify-form (submit)="onSubmit($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <ng-container\n *ngFor="let unverifiedAttribute of unverifiedAttributes | keyvalue"\n >\n <input\n name="unverifiedAttr"\n type="radio"\n [value]="unverifiedAttribute.key"\n />\n <span>{{ translate(unverifiedAttribute.key) }}</span>\n </ng-container>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.verifyUserFooter || verifyUserFooter\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render verify user component\n--\x3e\n<div data-amplify-container>\n <h2 data-amplify-header>{{ this.headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="customComponents.verifyUserForm || verifyUserForm"\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],B.ctorParameters=function(){return[{type:h},{type:d}]},B.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-verifyuser"]}],headerText:[{type:e.Input}]};var z=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText=o.translate("Reset your password"),this.customComponents={},this.remoteError="",this.isPending=!1,this.sendCodeText=o.translate("Send Code"),this.backToSignInText=o.translate("Back to Sign In"),this.lostCodeText=o.translate("Lost your code? "),this.resendCodeText=o.translate("Resend Code")}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)}))},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=!e.matches("confirmResetPassword.edit")},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.change,n=t.resend,o=t.signIn,a=t.submit;return{change:e,resend:n,remoteError:this.remoteError,signIn:o,submit:a}},enumerable:!1,configurable:!0}),t.prototype.toSignIn=function(){this.stateMachine.send("SIGN_IN")},t.prototype.resend=function(){this.stateMachine.send("RESEND")},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,o=e.value;this.stateMachine.send({type:"CHANGE",data:{name:n,value:o}})},t.prototype.onSubmit=function(t){return b(this,void 0,void 0,(function(){return v(this,(function(e){return t.preventDefault(),this.stateMachine.send("SUBMIT"),[2]}))}))},t}();z.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-reset-password",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #confirmResetPasswordSubmitButton>\n <button data-amplify-button type="submit">{{ sendCodeText }}</button>\n</ng-template>\n\n<ng-template #confirmResetPasswordFooter>\n <div data-amplify-footer>\n <div>\n <button type="button" (click)="toSignIn()">{{ backToSignInText }}</button>\n </div>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.confirmResetPasswordSubmitButton ||\n confirmResetPasswordSubmitButton\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </div>\n</ng-template>\n\n<ng-template #confirmResetPasswordForm>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-form-input\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-input>\n <amplify-form-input\n name="password"\n label="New password"\n autocomplete="new-password"\n ></amplify-form-input>\n\n <div data-amplify-resend>\n {{ lostCodeText }}\n <button type="button" (click)="resend()">{{ resendCodeText }}</button>\n </div>\n\n <ng-container\n [ngTemplateOutlet]="\n customComponents.confirmResetPasswordFooter ||\n confirmResetPasswordFooter\n "\n [ngTemplateOutletContext]="context"\n ></ng-container>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render confirm reset password component\n--\x3e\n<div data-amplify-container>\n <h2 data-amplify-header>{{ headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.confirmResetPasswordForm || confirmResetPasswordForm\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n'}]}],z.ctorParameters=function(){return[{type:h},{type:d}]},z.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}],headerText:[{type:e.Input}]};var Z=function(){function t(t,e){this.stateMachine=t,this.contextService=e,this.dataAttr="",this.headerText="Account recovery requires verified contact information",this.customComponents={},this.remoteError="",this.isPending=!1}return t.prototype.ngOnInit=function(){var t=this;this.authSubscription=this.stateMachine.authService.subscribe((function(e){return t.onStateUpdate(e)}))},t.prototype.ngAfterContentInit=function(){this.customComponents=this.contextService.customComponents},t.prototype.ngOnDestroy=function(){this.authSubscription.unsubscribe()},t.prototype.onStateUpdate=function(t){var e=o.getActorState(t);this.remoteError=e.context.remoteError,this.isPending=!e.matches("confirmVerifyUser.edit")},Object.defineProperty(t.prototype,"context",{get:function(){var t=this.stateMachine.services,e=t.skip,n=t.submit;return{remoteError:this.remoteError,skip:e,submit:n}},enumerable:!1,configurable:!0}),t.prototype.skipVerify=function(){this.stateMachine.send("SKIP")},t.prototype.onSubmit=function(t){return b(this,void 0,void 0,(function(){var e;return v(this,(function(n){return t.preventDefault(),e=new FormData(t.target),this.stateMachine.send({type:"SUBMIT",data:Object.fromEntries(e)}),[2]}))}))},t}();Z.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-verify-user",template:'\x3c!-- \n Define default contents here\n--\x3e\n<ng-template #verifyUserFooter>\n <div data-amplify-footer>\n <button data-amplify-button (click)="skipVerify()">Skip</button>\n <button data-amplify-button type="submit">Submit</button>\n </div>\n</ng-template>\n\n<ng-template #confirmVerifyUserForm>\n <form data-amplify-form (submit)="onSubmit($event)">\n <fieldset data-amplify-fieldset [disabled]="isPending">\n <amplify-form-input\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-input>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.verifyUserFooter || verifyUserFooter\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n </fieldset>\n\n <amplify-error *ngIf="remoteError">\n {{ remoteError }}\n </amplify-error>\n </form>\n</ng-template>\n\n\x3c!-- \n Render confirm reset password component\n--\x3e\n<div data-amplify-container>\n <h2 data-amplify-header>{{ this.headerText }}</h2>\n <ng-container\n [ngTemplateOutlet]="\n customComponents.confirmVerifyUserForm || confirmVerifyUserForm\n "\n [ngTemplateOutletContext]="context"\n >\n </ng-container>\n</div>\n'}]}],Z.ctorParameters=function(){return[{type:h},{type:d}]},Z.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmverifyuser"]}],headerText:[{type:e.Input}]};var j=function(){};j.decorators=[{type:e.Component,args:[{selector:"amplify-form-select",template:'<select [id]="id" [name]="name" [attr.aria-label]="label">\n <option\n *ngFor="let item of items"\n [value]="item"\n [selected]="item === initialValue"\n >\n {{ item }}\n </option>\n</select>\n'}]}],j.propDecorators={items:[{type:e.Input}],name:[{type:e.Input}],label:[{type:e.Input}],id:[{type:e.Input}],initialValue:[{type:e.Input}]};function _(t){return function(e){var n,o,a;return t.inputs&&(n=e,o=t.inputs,a=n.prototype,o.forEach((function(t){Object.defineProperty(a,t,{get:function(){return this.el[t]},set:function(e){var n=this;this.z.runOutsideAngular((function(){return n.el[t]=e}))}})}))),t.methods&&function(t,e){var n=t.prototype;e.forEach((function(t){n[t]=function(){var e=this,n=arguments;return this.z.runOutsideAngular((function(){return e.el[t].apply(e.el,n)}))}}))}(e,t.methods),e}}var q=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};q.decorators=[{type:e.Component,args:[{selector:"amplify-amazon-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["clientId","handleAuthStateChange"]}]}],q.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},q=y([_({inputs:["clientId","handleAuthStateChange"]})],q);var H=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};H.decorators=[{type:e.Component,args:[{selector:"amplify-auth-container",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],H.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]};var V=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};V.decorators=[{type:e.Component,args:[{selector:"amplify-auth-fields",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["formFields"]}]}],V.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},V=y([_({inputs:["formFields"]})],V);var G=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};G.decorators=[{type:e.Component,args:[{selector:"amplify-auth0-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["config","handleAuthStateChange"]}]}],G.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},G=y([_({inputs:["config","handleAuthStateChange"]})],G);var $=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};$.decorators=[{type:e.Component,args:[{selector:"amplify-authenticator",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["federated","handleAuthStateChange","hideToast","initialAuthState","usernameAlias"]}]}],$.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},$=y([_({inputs:["federated","handleAuthStateChange","hideToast","initialAuthState","usernameAlias"]})],$),t.AmplifyButton=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyButton.decorators=[{type:e.Component,args:[{selector:"amplify-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","handleButtonClick","icon","type","variant"]}]}],t.AmplifyButton.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyButton=y([_({inputs:["disabled","handleButtonClick","icon","type","variant"]})],t.AmplifyButton),t.AmplifyChatbot=function(t,e,n){var o,a;this.z=n,t.detach(),this.el=e.nativeElement,o=this,a=this.el,["chatCompleted"].forEach((function(t){return o[t]=s.fromEvent(a,t)}))},t.AmplifyChatbot.decorators=[{type:e.Component,args:[{selector:"amplify-chatbot",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["botName","botTitle","clearOnComplete","conversationModeOn","silenceThreshold","silenceTime","textEnabled","voiceEnabled","welcomeMessage"]}]}],t.AmplifyChatbot.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyChatbot=y([_({inputs:["botName","botTitle","clearOnComplete","conversationModeOn","silenceThreshold","silenceTime","textEnabled","voiceEnabled","welcomeMessage"]})],t.AmplifyChatbot);var L=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};L.decorators=[{type:e.Component,args:[{selector:"amplify-checkbox",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["checked","disabled","fieldId","label","name","value"]}]}],L.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},L=y([_({inputs:["checked","disabled","fieldId","label","name","value"]})],L);var K=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};K.decorators=[{type:e.Component,args:[{selector:"amplify-code-field",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]}]}],K.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},K=y([_({inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]})],K);var Q=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Q.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-in",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["formFields","handleAuthStateChange","handleSubmit","headerText","submitButtonText","user"]}]}],Q.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Q=y([_({inputs:["formFields","handleAuthStateChange","handleSubmit","headerText","submitButtonText","user"]})],Q);var W=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};W.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-up",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["formFields","handleAuthStateChange","handleSubmit","headerText","submitButtonText","user","usernameAlias"]}]}],W.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},W=y([_({inputs:["formFields","handleAuthStateChange","handleSubmit","headerText","submitButtonText","user","usernameAlias"]})],W);var J=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};J.decorators=[{type:e.Component,args:[{selector:"amplify-container",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],J.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]};var X=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};X.decorators=[{type:e.Component,args:[{selector:"amplify-country-dial-code",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["dialCode","fieldId","handleInputChange","options"]}]}],X.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},X=y([_({inputs:["dialCode","fieldId","handleInputChange","options"]})],X);var Y=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Y.decorators=[{type:e.Component,args:[{selector:"amplify-email-field",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]}]}],Y.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Y=y([_({inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]})],Y);var tt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};tt.decorators=[{type:e.Component,args:[{selector:"amplify-facebook-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["appId","handleAuthStateChange"]}]}],tt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},tt=y([_({inputs:["appId","handleAuthStateChange"]})],tt);var et=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};et.decorators=[{type:e.Component,args:[{selector:"amplify-federated-buttons",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["authState","federated","handleAuthStateChange"]}]}],et.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},et=y([_({inputs:["authState","federated","handleAuthStateChange"]})],et);var nt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};nt.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["authState","federated"]}]}],nt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},nt=y([_({inputs:["authState","federated"]})],nt);var ot=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};ot.decorators=[{type:e.Component,args:[{selector:"amplify-forgot-password",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["formFields","handleAuthStateChange","handleSend","handleSubmit","headerText","sendButtonText","submitButtonText","usernameAlias"]}]}],ot.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},ot=y([_({inputs:["formFields","handleAuthStateChange","handleSend","handleSubmit","headerText","sendButtonText","submitButtonText","usernameAlias"]})],ot);var at=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};at.decorators=[{type:e.Component,args:[{selector:"amplify-form-field",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["description","disabled","fieldId","handleInputChange","hint","inputProps","label","name","placeholder","required","type","value"]}]}],at.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},at=y([_({inputs:["description","disabled","fieldId","handleInputChange","hint","inputProps","label","name","placeholder","required","type","value"]})],at);var rt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};rt.decorators=[{type:e.Component,args:[{selector:"amplify-form-section",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["handleSubmit","headerText","loading","secondaryFooterContent","submitButtonText","testDataPrefix"]}]}],rt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},rt=y([_({inputs:["handleSubmit","headerText","loading","secondaryFooterContent","submitButtonText","testDataPrefix"]})],rt);var it=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};it.decorators=[{type:e.Component,args:[{selector:"amplify-google-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["clientId","handleAuthStateChange"]}]}],it.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},it=y([_({inputs:["clientId","handleAuthStateChange"]})],it);var st=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};st.decorators=[{type:e.Component,args:[{selector:"amplify-greetings",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["handleAuthStateChange","logo","username"]}]}],st.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},st=y([_({inputs:["handleAuthStateChange","logo","username"]})],st);var ct=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};ct.decorators=[{type:e.Component,args:[{selector:"amplify-hint",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],ct.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]};var pt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};pt.decorators=[{type:e.Component,args:[{selector:"amplify-icon",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["name"]}]}],pt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},pt=y([_({inputs:["name"]})],pt);var ut=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};ut.decorators=[{type:e.Component,args:[{selector:"amplify-icon-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["autoShowTooltip","name","tooltip"]}]}],ut.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},ut=y([_({inputs:["autoShowTooltip","name","tooltip"]})],ut),t.AmplifyInput=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyInput.decorators=[{type:e.Component,args:[{selector:"amplify-input",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["description","disabled","fieldId","handleInputChange","inputProps","name","placeholder","required","type","value"]}]}],t.AmplifyInput.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyInput=y([_({inputs:["description","disabled","fieldId","handleInputChange","inputProps","name","placeholder","required","type","value"]})],t.AmplifyInput);var lt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};lt.decorators=[{type:e.Component,args:[{selector:"amplify-label",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["htmlFor"]}]}],lt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},lt=y([_({inputs:["htmlFor"]})],lt);var mt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};mt.decorators=[{type:e.Component,args:[{selector:"amplify-link",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["role"]}]}],mt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},mt=y([_({inputs:["role"]})],mt);var ft=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};ft.decorators=[{type:e.Component,args:[{selector:"amplify-loading-spinner",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],ft.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]};var ht=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};ht.decorators=[{type:e.Component,args:[{selector:"amplify-nav",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],ht.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]};var dt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};dt.decorators=[{type:e.Component,args:[{selector:"amplify-oauth-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["config"]}]}],dt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},dt=y([_({inputs:["config"]})],dt);var gt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};gt.decorators=[{type:e.Component,args:[{selector:"amplify-password-field",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]}]}],gt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},gt=y([_({inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]})],gt);var yt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};yt.decorators=[{type:e.Component,args:[{selector:"amplify-phone-field",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["dialCode","disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]}]}],yt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},yt=y([_({inputs:["dialCode","disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]})],yt),t.AmplifyPhotoPicker=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyPhotoPicker.decorators=[{type:e.Component,args:[{selector:"amplify-photo-picker",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["buttonText","handleClick","headerHint","headerTitle","placeholderHint","previewSrc"]}]}],t.AmplifyPhotoPicker.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyPhotoPicker=y([_({inputs:["buttonText","handleClick","headerHint","headerTitle","placeholderHint","previewSrc"]})],t.AmplifyPhotoPicker),t.AmplifyPicker=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyPicker.decorators=[{type:e.Component,args:[{selector:"amplify-picker",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["acceptValue","inputHandler","pickerText"]}]}],t.AmplifyPicker.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyPicker=y([_({inputs:["acceptValue","inputHandler","pickerText"]})],t.AmplifyPicker);var bt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};bt.decorators=[{type:e.Component,args:[{selector:"amplify-radio-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["checked","disabled","fieldId","handleInputChange","inputProps","label","name","placeholder","value"]}]}],bt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},bt=y([_({inputs:["checked","disabled","fieldId","handleInputChange","inputProps","label","name","placeholder","value"]})],bt);var vt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};vt.decorators=[{type:e.Component,args:[{selector:"amplify-require-new-password",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["formFields","handleAuthStateChange","handleSubmit","headerText","submitButtonText","user"]}]}],vt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},vt=y([_({inputs:["formFields","handleAuthStateChange","handleSubmit","headerText","submitButtonText","user"]})],vt),t.AmplifyS3Album=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyS3Album.decorators=[{type:e.Component,args:[{selector:"amplify-s3-album",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["contentType","fileToKey","filter","handleOnError","handleOnLoad","identityId","level","path","picker","pickerText","sort","track"]}]}],t.AmplifyS3Album.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyS3Album=y([_({inputs:["contentType","fileToKey","filter","handleOnError","handleOnLoad","identityId","level","path","picker","pickerText","sort","track"]})],t.AmplifyS3Album),t.AmplifyS3Image=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyS3Image.decorators=[{type:e.Component,args:[{selector:"amplify-s3-image",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["alt","body","contentType","handleOnError","handleOnLoad","identityId","imgKey","imgProps","level","path","track"]}]}],t.AmplifyS3Image.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyS3Image=y([_({inputs:["alt","body","contentType","handleOnError","handleOnLoad","identityId","imgKey","imgProps","level","path","track"]})],t.AmplifyS3Image),t.AmplifyS3ImagePicker=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyS3ImagePicker.decorators=[{type:e.Component,args:[{selector:"amplify-s3-image-picker",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["buttonText","contentType","fileToKey","headerHint","headerTitle","identityId","level","path","placeholderHint","track"]}]}],t.AmplifyS3ImagePicker.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyS3ImagePicker=y([_({inputs:["buttonText","contentType","fileToKey","headerHint","headerTitle","identityId","level","path","placeholderHint","track"]})],t.AmplifyS3ImagePicker),t.AmplifyS3Text=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyS3Text.decorators=[{type:e.Component,args:[{selector:"amplify-s3-text",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["body","contentType","fallbackText","identityId","level","path","textKey","track"]}]}],t.AmplifyS3Text.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyS3Text=y([_({inputs:["body","contentType","fallbackText","identityId","level","path","textKey","track"]})],t.AmplifyS3Text),t.AmplifyS3TextPicker=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyS3TextPicker.decorators=[{type:e.Component,args:[{selector:"amplify-s3-text-picker",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["contentType","fallbackText","fileToKey","identityId","level","path","track"]}]}],t.AmplifyS3TextPicker.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyS3TextPicker=y([_({inputs:["contentType","fallbackText","fileToKey","identityId","level","path","track"]})],t.AmplifyS3TextPicker);var Ct=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Ct.decorators=[{type:e.Component,args:[{selector:"amplify-section",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["role"]}]}],Ct.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Ct=y([_({inputs:["role"]})],Ct);var St=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};St.decorators=[{type:e.Component,args:[{selector:"amplify-select",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["fieldId","handleInputChange","options","selected"]}]}],St.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},St=y([_({inputs:["fieldId","handleInputChange","options","selected"]})],St);var xt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};xt.decorators=[{type:e.Component,args:[{selector:"amplify-select-mfa-type",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["MFATypes","authData","handleSubmit"]}]}],xt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},xt=y([_({inputs:["MFATypes","authData","handleSubmit"]})],xt);var Tt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Tt.decorators=[{type:e.Component,args:[{selector:"amplify-sign-in",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["federated","formFields","handleAuthStateChange","handleSubmit","headerText","hideSignUp","submitButtonText","usernameAlias"]}]}],Tt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Tt=y([_({inputs:["federated","formFields","handleAuthStateChange","handleSubmit","headerText","hideSignUp","submitButtonText","usernameAlias"]})],Tt);var Pt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Pt.decorators=[{type:e.Component,args:[{selector:"amplify-sign-in-button",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["provider"]}]}],Pt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Pt=y([_({inputs:["provider"]})],Pt);var It=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};It.decorators=[{type:e.Component,args:[{selector:"amplify-sign-out",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["buttonText","handleAuthStateChange"]}]}],It.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},It=y([_({inputs:["buttonText","handleAuthStateChange"]})],It);var At=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};At.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["formFields","handleAuthStateChange","handleSignUp","handleSubmit","haveAccountText","headerText","signInText","submitButtonText","usernameAlias","validationErrors"]}]}],At.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},At=y([_({inputs:["formFields","handleAuthStateChange","handleSignUp","handleSubmit","haveAccountText","headerText","signInText","submitButtonText","usernameAlias","validationErrors"]})],At);var Et=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Et.decorators=[{type:e.Component,args:[{selector:"amplify-strike",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>"}]}],Et.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyToast=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement},t.AmplifyToast.decorators=[{type:e.Component,args:[{selector:"amplify-toast",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["handleClose","message"]}]}],t.AmplifyToast.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},t.AmplifyToast=y([_({inputs:["handleClose","message"]})],t.AmplifyToast);var Dt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Dt.decorators=[{type:e.Component,args:[{selector:"amplify-tooltip",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["shouldAutoShow","text"]}]}],Dt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Dt=y([_({inputs:["shouldAutoShow","text"]})],Dt);var Ot=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Ot.decorators=[{type:e.Component,args:[{selector:"amplify-totp-setup",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["handleAuthStateChange","handleComplete","headerText","issuer","standalone","user"]}]}],Ot.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Ot=y([_({inputs:["handleAuthStateChange","handleComplete","headerText","issuer","standalone","user"]})],Ot);var wt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};wt.decorators=[{type:e.Component,args:[{selector:"amplify-username-field",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]}]}],wt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},wt=y([_({inputs:["disabled","fieldId","handleInputChange","hint","inputProps","label","placeholder","required","value"]})],wt);var Rt=function(t,e,n){this.z=n,t.detach(),this.el=e.nativeElement};Rt.decorators=[{type:e.Component,args:[{selector:"amplify-verify-contact",changeDetection:e.ChangeDetectionStrategy.OnPush,template:"<ng-content></ng-content>",inputs:["handleAuthStateChange","user"]}]}],Rt.ctorParameters=function(){return[{type:e.ChangeDetectorRef},{type:e.ElementRef},{type:e.NgZone}]},Rt=y([_({inputs:["handleAuthStateChange","user"]})],Rt),customElements.define("amplify-button",c.AmplifyButton),customElements.define("amplify-input",c.AmplifyInput),customElements.define("amplify-toast",c.AmplifyToast),customElements.define("amplify-chatbot",c.AmplifyChatbot),customElements.define("amplify-s3-album",c.AmplifyS3Album),customElements.define("amplify-s3-image-picker",c.AmplifyS3ImagePicker),customElements.define("amplify-s3-text",c.AmplifyS3Text),customElements.define("amplify-s3-text-picker",c.AmplifyS3TextPicker),customElements.define("amplify-s3-image",c.AmplifyS3Image),customElements.define("amplify-picker",c.AmplifyPicker),customElements.define("amplify-photo-picker",c.AmplifyPhotoPicker);var kt=function(){};kt.decorators=[{type:e.NgModule,args:[{declarations:[t.AmplifyChatbot,t.AmplifyToast,t.AmplifyInput,t.AmplifyButton,t.AmplifyS3Album,t.AmplifyS3ImagePicker,t.AmplifyS3Text,t.AmplifyS3TextPicker,t.AmplifyS3Image,t.AmplifyPicker,t.AmplifyPhotoPicker,g,S,x,P,I,f,A,E,O,R,M,U,N,F,B,z,Z,j],imports:[n.CommonModule],exports:[t.AmplifyChatbot,t.AmplifyToast,t.AmplifyInput,t.AmplifyButton,t.AmplifyS3Album,t.AmplifyS3ImagePicker,t.AmplifyS3Text,t.AmplifyS3TextPicker,t.AmplifyS3Image,t.AmplifyPicker,t.AmplifyPhotoPicker,g,S,P,I,f],schemas:[e.CUSTOM_ELEMENTS_SCHEMA]}]}],t.AmplifyAuthenticatorComponent=g,t.AmplifyConfirmSignInComponent=O,t.AmplifyConfirmSignUpComponent=A,t.AmplifyErrorComponent=I,t.AmplifyFederatedSignInButtonComponent=N,t.AmplifyFederatedSignInComponent=U,t.AmplifyForceNewPasswordComponent=M,t.AmplifyInputComponent=P,t.AmplifyOverrideDirective=f,t.AmplifyResetPasswordComponent=F,t.AmplifySetupTotpComponent=R,t.AmplifySignInComponent=S,t.AmplifySignUpComponent=x,t.AmplifyVerifyUserComponent=B,t.AuthPropService=d,t.ConfirmResetPasswordComponent=z,t.ConfirmVerifyUserComponent=Z,t.StateMachineService=h,t.UiAngularModule=kt,t.getAttributeMap=T,t.ɵa=_,t.ɵb=g,t.ɵc=S,t.ɵd=x,t.ɵe=P,t.ɵf=I,t.ɵg=A,t.ɵh=E,t.ɵi=O,t.ɵj=R,t.ɵk=M,t.ɵl=U,t.ɵm=N,t.ɵn=F,t.ɵo=B,t.ɵp=z,t.ɵq=Z,t.ɵr=j,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/common"),require("@angular/platform-browser"),require("@aws-amplify/ui"),require("@aws-amplify/core"),require("xstate"),require("aws-amplify"),require("qrcode"),require("nanoid")):"function"==typeof define&&define.amd?define("@aws-amplify/ui-angular",["exports","@angular/core","@angular/common","@angular/platform-browser","@aws-amplify/ui","@aws-amplify/core","xstate","aws-amplify","qrcode","nanoid"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["aws-amplify"]=t["aws-amplify"]||{},t["aws-amplify"]["ui-angular"]={}),t.ng.core,t.ng.common,t.ng.platformBrowser,t.ui,t.core,t.xstate,t["aws-amplify"],t.QRCode,t.nanoid)}(this,(function(t,e,n,i,a,o,r,l,s,p){"use strict";function u(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}function c(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var f=c(e),d=u(s),m=function(){function t(t){this.template=t}return Object.defineProperty(t.prototype,"amplifySlot",{set:function(t){this.name=t},enumerable:!1,configurable:!0}),t}();m.decorators=[{type:e.Directive,args:[{selector:"[amplifySlot]"}]}],m.ctorParameters=function(){return[{type:e.TemplateRef}]},m.propDecorators={amplifySlot:[{type:e.Input}]};var y=function(){function t(){this._customComponents={}}return Object.defineProperty(t.prototype,"customComponents",{get:function(){return this._customComponents},set:function(t){this._customComponents=Object.assign(Object.assign({},this._customComponents),t)},enumerable:!1,configurable:!0}),t}();y.ɵprov=f.ɵɵdefineInjectable({factory:function(){return new y},token:y,providedIn:"root"}),y.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var h=new o.Logger("state-machine"),g=function(){function t(){}return t.prototype.startMachine=function(t){var e=this,n=t.initialState,i=t.loginMechanisms,o=t.services,l=t.signUpAttributes,s=t.socialProviders,p=a.createAuthenticatorMachine({initialState:n,loginMechanisms:i,services:o,signUpAttributes:l,socialProviders:s}),u=r.interpret(p,{devTools:"development"===process.env.NODE_ENV}).start();this._subscription=u.subscribe((function(t){e._authState=t,e._facade=a.getServiceContextFacade(t)})),this._sendEventAliases=a.getSendEventAliases(u.send),this._authService=u},t.prototype.ngOnDestroy=function(){this._subscription&&this._subscription.unsubscribe()},Object.defineProperty(t.prototype,"error",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.error},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasValidationErrors",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.hasValidationErrors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPending",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.isPending},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"route",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.route},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"user",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.user},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"validationErrors",{get:function(){var t;return null===(t=this._facade)||void 0===t?void 0:t.validationErrors},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"updateForm",{get:function(){return this._sendEventAliases.updateForm},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"resendCode",{get:function(){return this._sendEventAliases.resendCode},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"signOut",{get:function(){return this._sendEventAliases.signOut},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"submitForm",{get:function(){return this._sendEventAliases.submitForm},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toFederatedSignIn",{get:function(){return this._sendEventAliases.toFederatedSignIn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toResetPassword",{get:function(){return this._sendEventAliases.toResetPassword},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toSignIn",{get:function(){return this._sendEventAliases.toSignIn},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"toSignUp",{get:function(){return this._sendEventAliases.toSignUp},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"skipVerification",{get:function(){return this._sendEventAliases.skipVerification},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authState",{get:function(){return this._authState},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"authService",{get:function(){return this._authService},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this._authState.context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"slotContext",{get:function(){var t=Object.assign(Object.assign({},this._facade),this._sendEventAliases);return Object.assign(Object.assign({},t),{$implicit:Object.assign({},t)})},enumerable:!1,configurable:!0}),t.prototype.subscribe=function(t){if(this._authService)return this._authService.subscribe(t);h.error("Subscription attempted before machine was created. This is likely a bug on the library, please consider filing a bug.")},t.prototype.send=function(t){this.authService.send(t)},t}();g.ɵprov=f.ɵɵdefineInjectable({factory:function(){return new g},token:g,providedIn:"root"}),g.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}];var b=function(){function t(t,e){this.authenticator=t,this.contextService=e,this.customComponentQuery=null,this.signInTitle=a.translate("Sign In"),this.signUpTitle=a.translate("Create Account")}return t.prototype.ngOnInit=function(){var t=this,e=t.initialState,n=t.loginMechanisms,i=t.services,o=t.signUpAttributes,r=t.socialProviders;this.authenticator.startMachine({initialState:e,loginMechanisms:n,services:i,signUpAttributes:o,socialProviders:r}),this.signInTitle=a.translate("Sign In"),this.signUpTitle=a.translate("Create Account")},t.prototype.ngAfterContentInit=function(){this.contextService.customComponents=this.mapCustomComponents(this.customComponentQuery)},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"route",{get:function(){return this.authenticator.route},enumerable:!1,configurable:!0}),t.prototype.onTabChange=function(){"signIn"===this.authenticator.route?this.authenticator.toSignUp():this.authenticator.toSignIn()},t.prototype.mapCustomComponents=function(t){if(!t)return{};var e={};return t.forEach((function(t){e[t.name]=t.template})),e},t}();b.decorators=[{type:e.Component,args:[{selector:"amplify-authenticator",template:'<div data-amplify-authenticator [attr.data-variation]="variation">\n <div data-amplify-container>\n <amplify-slot name="header" [context]="context"></amplify-slot>\n <div data-amplify-router>\n <amplify-tabs\n (tabChange)="onTabChange()"\n *ngIf="route === \'signIn\' || route === \'signUp\'"\n >\n <amplify-tab-item [title]="signInTitle" [active]="route === \'signIn\'">\n \x3c!-- signIn component --\x3e\n <amplify-slot\n name="sign-in"\n [context]="context"\n *ngIf="route === \'signIn\'"\n >\n <amplify-sign-in></amplify-sign-in>\n </amplify-slot>\n </amplify-tab-item>\n <amplify-tab-item [title]="signUpTitle" [active]="route === \'signUp\'">\n \x3c!-- signUp component --\x3e\n <amplify-slot\n name="sign-up"\n [context]="context"\n *ngIf="route === \'signUp\'"\n >\n <amplify-sign-up></amplify-sign-up>\n </amplify-slot>\n </amplify-tab-item>\n </amplify-tabs>\n\n \x3c!-- confirmSignUp content --\x3e\n <amplify-slot\n name="confirm-sign-up"\n [context]="context"\n *ngIf="route === \'confirmSignUp\'"\n >\n <amplify-confirm-sign-up></amplify-confirm-sign-up>\n </amplify-slot>\n\n \x3c!-- confirmSignIn content --\x3e\n <amplify-slot\n name="confirm-sign-in"\n [context]="context"\n *ngIf="route === \'confirmSignIn\'"\n >\n <amplify-confirm-sign-in></amplify-confirm-sign-in>\n </amplify-slot>\n\n \x3c!-- setupTotp content --\x3e\n <amplify-slot\n name="setup-totp"\n [context]="context"\n *ngIf="route === \'setupTOTP\'"\n >\n <amplify-setup-totp></amplify-setup-totp>\n </amplify-slot>\n\n \x3c!-- forceNewPassword content --\x3e\n <amplify-slot\n name="force-new-password"\n [context]="context"\n *ngIf="route === \'forceNewPassword\'"\n >\n <amplify-force-new-password></amplify-force-new-password>\n </amplify-slot>\n\n \x3c!-- resetPassword content --\x3e\n <amplify-slot\n name="reset-password"\n [context]="context"\n *ngIf="route === \'resetPassword\'"\n >\n <amplify-reset-password></amplify-reset-password>\n </amplify-slot>\n\n \x3c!-- confirmResetPassword content --\x3e\n <amplify-slot\n name="confirm-reset-password"\n [context]="context"\n *ngIf="route === \'confirmResetPassword\'"\n >\n <amplify-confirm-reset-password></amplify-confirm-reset-password>\n </amplify-slot>\n\n \x3c!-- verifyUser content --\x3e\n <amplify-slot\n name="verify-user"\n [context]="context"\n *ngIf="route === \'verifyUser\'"\n >\n <amplify-verify-user></amplify-verify-user>\n </amplify-slot>\n\n \x3c!-- confirmVerifyUser content --\x3e\n <amplify-slot\n name="confirm-verify-user"\n [context]="context"\n *ngIf="route === \'confirmVerifyUser\'"\n >\n <amplify-confirm-verify-user></amplify-confirm-verify-user>\n </amplify-slot>\n </div>\n\n <amplify-slot name="footer" [context]="context"></amplify-slot>\n </div>\n</div>\n\n\x3c!-- signedIn content is rendered outside authenticator so it\'s not styled by authenticator --\x3e\n<amplify-slot\n name="authenticated"\n [context]="context"\n *ngIf="route === \'authenticated\'"\n>\n <ng-content></ng-content>\n</amplify-slot>\n',providers:[y],encapsulation:e.ViewEncapsulation.None}]}],b.ctorParameters=function(){return[{type:g},{type:y}]},b.propDecorators={initialState:[{type:e.Input}],loginMechanisms:[{type:e.Input}],services:[{type:e.Input}],signUpAttributes:[{type:e.Input}],socialProviders:[{type:e.Input}],variation:[{type:e.Input}],customComponentQuery:[{type:e.ContentChildren,args:[m]}]};var v=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Reset your password"),this.sendCodeText=a.translate("Send Code"),this.backToSignInText=a.translate("Back to Sign In"),this.resendCodeText=a.translate("Resend Code")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();v.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-reset-password",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-reset-password-header" [context]="context">\n <h3 class="amplify-heading">{{ headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-field>\n <amplify-form-field\n name="password"\n label="New password"\n autocomplete="new-password"\n ></amplify-form-field>\n <amplify-form-field\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ sendCodeText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n type="button"\n (click)="authenticator.resendCode()"\n >\n {{ resendCodeText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="confirm-reset-password-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],v.ctorParameters=function(){return[{type:g}]},v.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}],headerText:[{type:e.Input}]};var x=new l.Logger("ConfirmSignIn"),I=function(){function t(t){this.authenticator=t,this.dataAttr="",this.confirmText=a.translate("Confirm"),this.backToSignInText=a.translate("Back to Sign In")}return t.prototype.ngOnInit=function(){this.setHeaderText()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.setHeaderText=function(){var t=this.authenticator.authState,e=a.getActorContext(t).challengeName;switch(e){case a.AuthChallengeNames.SOFTWARE_TOKEN_MFA:this.headerText=a.translate("Confirm TOTP Code");break;case a.AuthChallengeNames.SMS_MFA:this.headerText=a.translate("Confirm SMS Code");break;default:x.error("Unexpected challengeName",e)}},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();I.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-in",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-sign-in-header" [context]="context">\n <h3 class="amplify-heading">{{ headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n label="Code *"\n type="text"\n autocomplete="one-time-code"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ confirmText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot\n name="confirm-sign-in-footer"\n [context]="context"\n ></amplify-slot>\n </form>\n</div>\n'}]}],I.ctorParameters=function(){return[{type:g}]},I.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignin"]}]};var C=function(){function t(t){this.authenticator=t,this.headerText=a.translate("Confirm Sign Up"),this.dataAttr="",this.resendCodeText=a.translate("Resend Code"),this.confirmText=a.translate("Confirm")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();C.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-sign-up",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="context.isPending"\n >\n <amplify-slot name="confirm-sign-up-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n autocomplete="one-time-code"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ confirmText }}\n </button>\n <button\n amplify-button\n fontWeight="normal"\n (click)="authenticator.resendCode()"\n >\n {{ resendCodeText }}\n </button>\n </fieldset>\n\n <amplify-error *ngIf="context.error">\n {{ authenticator.error }}\n </amplify-error>\n <amplify-slot\n name="confirm-sign-up-footer"\n [context]="context"\n ></amplify-slot>\n </form>\n</div>\n'}]}],C.ctorParameters=function(){return[{type:g}]},C.propDecorators={headerText:[{type:e.Input}],dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmsignup"]}]};var w=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Account recovery requires verified contact information"),this.skipText=a.translate("Skip"),this.submitText=a.translate("Submit")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();w.decorators=[{type:e.Component,args:[{selector:"amplify-confirm-verify-user",template:'<div data-amplify-container>\n <form data-amplify-form (input)="onInput($event)" (submit)="onSubmit($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="confirm-verify-user-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="confirmation_code"\n type="number"\n autocomplete="one-time-code"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ submitText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.skipVerification()"\n >\n {{ skipText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="confirm-verify-user-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],w.ctorParameters=function(){return[{type:g}]},w.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-confirmverifyuser"]}],headerText:[{type:e.Input}]};var S=function(t){var e=this;this.authenticator=t,this.onClick=function(){e.authenticator.send({type:"FEDERATED_SIGN_IN",data:{provider:e.provider}})}};S.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in-button",template:'<button\n amplify-button\n class="amplify-field-group__control federated-sign-in-button"\n fullWidth="true"\n fontWeight="normal"\n style="display: block"\n (click)="onClick()"\n>\n <div\n class="amplify-flex federated-sign-in-button-row"\n style="flex-direction: row; justify-content: center; align-items: center"\n >\n <ng-content></ng-content>\n </div>\n</button>\n'}]}],S.ctorParameters=function(){return[{type:g}]},S.propDecorators={provider:[{type:e.Input}],text:[{type:e.Input}]};var T=function(){function t(t){this.authenticator=t,this.FederatedProviders=a.FederatedIdentityProviders,this.includeAmazon=!1,this.includeApple=!1,this.includeFacebook=!1,this.includeGoogle=!1,this.shouldShowFederatedSignIn=!1}return t.prototype.ngOnInit=function(){var t,e=(null===(t=this.authenticator.context)||void 0===t?void 0:t.config).socialProviders;this.setFederatedTexts(),this.includeAmazon=null==e?void 0:e.includes("amazon"),this.includeApple=null==e?void 0:e.includes("apple"),this.includeGoogle=null==e?void 0:e.includes("google"),this.includeFacebook=null==e?void 0:e.includes("facebook"),this.shouldShowFederatedSignIn=this.includeAmazon||this.includeApple||this.includeFacebook||this.includeGoogle},t.prototype.setFederatedTexts=function(){var t="signUp"===this.authenticator.route?"Up":"In";this.signInAmazonText=a.translate("Sign "+t+" with Amazon"),this.signInAppleText=a.translate("Sign "+t+" with Apple"),this.signInFacebookText=a.translate("Sign "+t+" with Facebook"),this.signInGoogleText=a.translate("Sign "+t+" with Google")},t}();T.decorators=[{type:e.Component,args:[{selector:"amplify-federated-sign-in",template:'<div\n class="amplify-flex federated-sign-in-container"\n style="flex-direction: column; padding: 0 0 1rem 0"\n *ngIf="shouldShowFederatedSignIn"\n data-orientation="horizontal"\n data-size="small"\n>\n <amplify-federated-sign-in-button\n *ngIf="includeAmazon"\n [text]="signInAmazonText"\n [provider]="FederatedProviders.Amazon"\n >\n <svg\n aria-label="Amazon icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 248 268"\n >\n <path\n d="M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z"\n fill="#FF9900"\n ></path>\n </svg>\n\n <p class="amplify-text" style="align-self: center">\n {{ signInAmazonText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeApple"\n [provider]="FederatedProviders.Apple"\n >\n <svg\n aria-label="Apple icon"\n class="amplify-icon federated-sign-in-icon"\n fill="#000"\n preserveAspectRatio="xMidYMid"\n stroke="#000"\n strokeWidth="0"\n viewBox="0 0 1024 1024"\n xmlns="http://www.w3.org/2000/svg"\n >\n <path\n d="M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"\n ></path>\n </svg>\n <p class="amplify-text" style="align-self: center">\n {{ signInAppleText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeFacebook"\n [text]="signInFacebookText"\n [provider]="FederatedProviders.Facebook"\n >\n <svg\n aria-label="Facebook icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 279 538"\n >\n <path\n d="M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z"\n fill="#1877F2"\n ></path>\n </svg>\n <p class="amplify-text" style="align-self: center">\n {{ signInFacebookText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <amplify-federated-sign-in-button\n *ngIf="includeGoogle"\n [provider]="FederatedProviders.Google"\n >\n <svg\n aria-label="Google icon"\n class="amplify-icon federated-sign-in-icon"\n viewBox="0 0 256 262"\n xmlns="http://www.w3.org/2000/svg"\n preserveAspectRatio="xMidYMid"\n >\n <path\n d="M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027"\n fill="#4285F4"\n ></path>\n <path\n d="M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1"\n fill="#34A853"\n ></path>\n <path\n d="M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782"\n fill="#FBBC05"\n ></path>\n <path\n d="M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251"\n fill="#EB4335"\n ></path>\n </svg>\n <p class="amplify-text" style="align-self: center">\n {{ signInGoogleText }}\n </p>\n </amplify-federated-sign-in-button>\n\n <div class="amplify-flex" data-or-container>\n <div data-or-line>or</div>\n <hr\n class="amplify-divider"\n aria-orientation="horizontal"\n data-size="small"\n />\n </div>\n</div>\n'}]}],T.ctorParameters=function(){return[{type:g}]};var P=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Change Password"),this.changePasswordText=a.translate("Change Password"),this.backToSignInText=a.translate("Back to Sign In")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();P.decorators=[{type:e.Component,args:[{selector:"amplify-force-new-password",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="force-new-password-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <amplify-form-field\n name="password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <amplify-form-field\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ changePasswordText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="force-new-password-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],P.ctorParameters=function(){return[{type:g}]},P.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-forcenewpassword"]}],headerText:[{type:e.Input}]};var A=function(){return a.authInputAttributes},k=function(){function t(t){this.authenticator=t,this.required=!0,this.placeholder="",this.label="",this.initialValue="",this.disabled=!1,this.autocomplete="",this.labelHidden=!0,this.countryDialCodes=a.countryDialCodes}return t.prototype.ngOnInit=function(){if(this.isPhoneField()){var t=this.authenticator.authState,e=a.getActorContext(t).country_code;this.defaultCountryCode=e,this.authenticator.updateForm({name:"country_code",value:e})}},Object.defineProperty(t.prototype,"attributeMap",{get:function(){return A()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"error",{get:function(){return a.getActorContext(this.authenticator.authState).validationError[this.name]},enumerable:!1,configurable:!0}),t.prototype.inferLabel=function(){var t,e=this.label||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.label);return a.translate(e)},t.prototype.inferPlaceholder=function(){var t,e=this.placeholder||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.placeholder)||this.inferLabel();return a.translate(e)},t.prototype.inferType=function(){var t,e,n;return null!==(n=null!==(t=this.type)&&void 0!==t?t:null===(e=this.attributeMap[this.name])||void 0===e?void 0:e.type)&&void 0!==n?n:"text"},t.prototype.inferAutocomplete=function(){var t;return this.autocomplete||(null===(t=this.attributeMap[this.name])||void 0===t?void 0:t.autocomplete)},t.prototype.isPasswordField=function(){return"password"===this.inferType()},t.prototype.isPhoneField=function(){return"tel"===this.inferType()},t}();k.decorators=[{type:e.Component,args:[{selector:"amplify-form-field",template:'<div class="amplify-flex amplify-field" style="flex-direction: column">\n \x3c!-- Country code field --\x3e\n <amplify-phone-number-field\n *ngIf="isPhoneField()"\n [defaultCountryCode]="defaultCountryCode"\n [type]="inferType()"\n [name]="name"\n [label]="inferLabel()"\n [placeholder]="inferPlaceholder()"\n [required]="required"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [labelHidden]="labelHidden"\n [autocomplete]="inferAutocomplete()"\n ></amplify-phone-number-field>\n\n <amplify-password-field\n *ngIf="isPasswordField()"\n [name]="name"\n [label]="inferLabel()"\n [placeholder]="inferPlaceholder()"\n [required]="required"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [labelHidden]="labelHidden"\n [autocomplete]="inferAutocomplete()"\n ></amplify-password-field>\n\n <amplify-text-field\n *ngIf="!isPasswordField() && !isPhoneField()"\n [type]="inferType()"\n [name]="name"\n [label]="inferLabel()"\n [placeholder]="inferPlaceholder()"\n [required]="required"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [labelHidden]="labelHidden"\n [autocomplete]="inferAutocomplete()"\n ></amplify-text-field>\n\n <amplify-error *ngIf="error">\n {{ error }}\n </amplify-error>\n</div>\n'}]}],k.ctorParameters=function(){return[{type:g}]},k.propDecorators={name:[{type:e.Input}],type:[{type:e.Input}],required:[{type:e.Input}],placeholder:[{type:e.Input}],label:[{type:e.Input}],initialValue:[{type:e.Input}],disabled:[{type:e.Input}],autocomplete:[{type:e.Input}],labelHidden:[{type:e.Input}]};var F=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Reset your password"),this.sendCodeText=a.translate("Send Code"),this.backToSignInText=a.translate("Back to Sign In"),this.labelText=a.translate("Username")}return t.prototype.ngOnInit=function(){var t=this.authenticator.authState,e=a.getAliasInfoFromContext(t.context).label;this.labelText="Enter your "+e.toLowerCase()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();F.decorators=[{type:e.Component,args:[{selector:"amplify-reset-password",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot\n class="amplify-flex"\n name="reset-password-header"\n [context]="context"\n >\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n\n <amplify-form-field\n name="username"\n type="username"\n autocomplete="username"\n [placeholder]="labelText"\n [label]="labelText"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ sendCodeText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n\n <amplify-slot name="reset-password-footer" [context]="context">\n </amplify-slot>\n </form>\n</div>\n'}]}],F.ctorParameters=function(){return[{type:g}]},F.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-resetPassword"]}],headerText:[{type:e.Input}]};function _(t,e,n,i){return new(n||(n=Promise))((function(a,o){function r(t){try{s(i.next(t))}catch(t){o(t)}}function l(t){try{s(i.throw(t))}catch(t){o(t)}}function s(t){var e;t.done?a(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(r,l)}s((i=i.apply(t,e||[])).next())}))}function O(t,e){var n,i,a,o,r={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(a=2&o[0]?i.return:o[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;switch(i=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(!(a=r.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){r=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){r.label=o[1];break}if(6===o[0]&&r.label<a[1]){r.label=a[1],a=o;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(o);break}a[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(t){o=[6,t],i=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}Object.create;function j(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,a,o=n.call(t),r=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)r.push(i.value)}catch(t){a={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return r}Object.create;var z=new l.Logger("SetupTotp"),D=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Setup TOTP"),this.qrCodeSource="",this.backToSignInText=a.translate("Back to Sign In"),this.confirmText=a.translate("Confirm")}return t.prototype.ngOnInit=function(){this.generateQRCode()},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.generateQRCode=function(){return _(this,void 0,void 0,(function(){var t,e,n,i,o,r,s,p;return O(this,(function(u){switch(u.label){case 0:t=this.authenticator.authState,e=a.getActorContext(t),n=e.user,u.label=1;case 1:return u.trys.push([1,4,,5]),[4,l.Auth.setupTOTP(n)];case 2:return i=u.sent(),o="AWSCognito",r="otpauth://totp/AWSCognito:"+n.username+"?secret="+i+"&issuer="+o,z.info("totp code was generated:",r),s=this,[4,d.default.toDataURL(r)];case 3:return s.qrCodeSource=u.sent(),[3,5];case 4:return p=u.sent(),z.error(p),[3,5];case 5:return[2]}}))}))},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();D.decorators=[{type:e.Component,args:[{selector:"amplify-setup-totp",template:'<div data-amplify-container>\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="setup-totp-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n <p *ngIf="!qrCodeSource">Loading...</p>\n <img\n *ngIf="qrCodeSource"\n [src]="qrCodeSource"\n alt="qr code"\n data-amplify-qrcode\n width="228"\n height="228"\n />\n <amplify-form-field\n name="confirmation_code"\n label="Code *"\n type="text"\n autocomplete="one-time-code"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ confirmText }}\n </button>\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.toSignIn()"\n >\n {{ backToSignInText }}\n </button>\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="setup-totp-footer" [context]="context"> </amplify-slot>\n </form>\n</div>\n'}]}],D.ctorParameters=function(){return[{type:g}]},D.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-setup-totp"]}]};var M=function(){function t(t){this.authenticator=t,this.dataAttr="",this.forgotPasswordText=a.translate("Forgot your password? "),this.signInButtonText=a.translate("Sign in")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();M.decorators=[{type:e.Component,args:[{selector:"amplify-sign-in",template:'<div data-amplify-container>\n <amplify-slot name="sign-in-header" [context]="context"></amplify-slot>\n\n <form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-user-name-alias></amplify-user-name-alias>\n <amplify-form-field\n data-amplify-password\n name="password"\n type="password"\n autocomplete="current-password"\n ></amplify-form-field>\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ signInButtonText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n </form>\n\n <amplify-slot name="sign-in-footer" [context]="context">\n <div data-amplify-footer>\n <button\n amplify-button\n fontWeight="normal"\n size="small"\n variation="link"\n fullWidth="true"\n (click)="authenticator.toResetPassword()"\n >\n {{ forgotPasswordText }}\n </button>\n </div>\n </amplify-slot>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],M.ctorParameters=function(){return[{type:g}]},M.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signin"]}]};var B=function(){function t(t){this.authenticator=t,this.dataAttr="",this.createAccountText=a.translate("Create Account")}return Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.onInput=function(t){var e=t.target,n=e.checked,i=e.name,a=e.type,o=e.value;"checkbox"!==a||n||(o=void 0),this.authenticator.updateForm({name:i,value:o})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();B.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up",template:'<amplify-slot name="sign-up-header" [context]="context"></amplify-slot>\n\n<form data-amplify-form (submit)="onSubmit($event)" (input)="onInput($event)">\n <amplify-federated-sign-in></amplify-federated-sign-in>\n <div class="amplify-flex" style="flex-direction: column">\n <div class="amplify-flex" style="flex-direction: column">\n <amplify-slot name="sign-up-form-fields" [context]="context">\n <amplify-sign-up-form-fields></amplify-sign-up-form-fields>\n </amplify-slot>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </div>\n\n <amplify-slot name="sign-up-button" [context]="context">\n <button\n [disabled]="\n authenticator.isPending || authenticator.hasValidationErrors\n "\n amplify-button\n variation="primary"\n fullWidth="true"\n type="submit"\n >\n {{ createAccountText }}\n </button>\n </amplify-slot>\n </div>\n</form>\n\n<amplify-slot name="sign-up-footer" [context]="context"> </amplify-slot>\n'}]}],B.ctorParameters=function(){return[{type:g}]},B.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-signup"]}]};var q=function(){function t(t){this.authenticator=t,this.primaryAlias="",this.secondaryAliases=[]}return t.prototype.ngOnInit=function(){var t=this.authenticator.context.config,e=t.loginMechanisms,n=t.signUpAttributes;this.fieldNames=Array.from(new Set(function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(j(arguments[e]));return t}(e,n))),this.fieldNames=this.fieldNames.filter((function(t){var e=!!a.authInputAttributes[t];return e||console.debug("Authenticator does not have a default implementation for "+t+". Customize Authenticator.SignUp.FormFields to add your own."),e})),this.loginMechanism=this.fieldNames.shift()},t}();q.decorators=[{type:e.Component,args:[{selector:"amplify-sign-up-form-fields",template:'<div class="amplify-flex" style="flex-direction: column" data-amplify-fieldset>\n <amplify-user-name-alias [name]="loginMechanism"></amplify-user-name-alias>\n <amplify-form-field\n name="password"\n autocomplete="new-password"\n ></amplify-form-field>\n <amplify-form-field\n name="confirm_password"\n label="Confirm Password"\n type="password"\n autocomplete="new-password"\n ></amplify-form-field>\n\n <ng-container *ngFor="let field of fieldNames">\n <amplify-form-field\n [name]="field"\n [labelHidden]="false"\n ></amplify-form-field>\n </ng-container>\n</div>\n'}]}],q.ctorParameters=function(){return[{type:g}]};var H=function(){function t(t){this.authenticator=t,this.name="username",this.disabled=!1,this.initialValue="",this.required=!0}return t.prototype.ngOnInit=function(){var t=this.authenticator.context,e=a.getAliasInfoFromContext(t),n=e.label,i=e.type;this.label=n,this.type=i,this.placeholder=n},t}();H.decorators=[{type:e.Component,args:[{selector:"amplify-user-name-alias",template:'<amplify-form-field\n data-amplify-usernamealias\n [name]="name"\n [label]="label"\n [type]="type"\n [placeholder]="placeholder"\n [initialValue]="initialValue"\n [disabled]="disabled"\n [required]="required"\n autocomplete="username"\n>\n</amplify-form-field>\n'}]}],H.ctorParameters=function(){return[{type:g}]},H.propDecorators={name:[{type:e.Input}],disabled:[{type:e.Input}],initialValue:[{type:e.Input}],required:[{type:e.Input}]};var V=function(){function t(t){this.authenticator=t,this.dataAttr="",this.headerText=a.translate("Account recovery requires verified contact information"),this.unverifiedAttributes={},this.labelId=p.nanoid(12),this.skipText=a.translate("Skip"),this.verifyText=a.translate("Verify")}return t.prototype.ngOnInit=function(){var t=a.getActorState(this.authenticator.authState);this.unverifiedAttributes=t.context.unverifiedAttributes},Object.defineProperty(t.prototype,"context",{get:function(){return this.authenticator.slotContext},enumerable:!1,configurable:!0}),t.prototype.getLabelForAttr=function(t){var e,n=null===(e=A()[t])||void 0===e?void 0:e.label;return a.translate(n)},t.prototype.onInput=function(t){t.preventDefault();var e=t.target,n=e.name,i=e.value;this.authenticator.updateForm({name:n,value:i})},t.prototype.onSubmit=function(t){t.preventDefault(),this.authenticator.submitForm()},t}();V.decorators=[{type:e.Component,args:[{selector:"amplify-verify-user",template:'<div data-amplify-container>\n <form data-amplify-form (input)="onInput($event)" (submit)="onSubmit($event)">\n <fieldset\n class="amplify-flex"\n style="flex-direction: column"\n data-amplify-fieldset\n [disabled]="authenticator.isPending"\n >\n <amplify-slot name="verify-user-header" [context]="context">\n <h3 class="amplify-heading">{{ this.headerText }}</h3>\n </amplify-slot>\n\n <div *ngFor="let unverifiedAttribute of unverifiedAttributes | keyvalue">\n <input\n name="unverifiedAttr"\n type="radio"\n [value]="unverifiedAttribute.key"\n [id]="labelId"\n />\n <label [for]="labelId">{{\n getLabelForAttr(unverifiedAttribute.key)\n }}</label>\n </div>\n\n <button amplify-button variation="primary" fullWidth="true" type="submit">\n {{ verifyText }}\n </button>\n\n <button\n amplify-button\n size="small"\n variation="link"\n fontWeight="normal"\n fullWidth="true"\n (click)="authenticator.skipVerification()"\n >\n {{ skipText }}\n </button>\n\n <amplify-error *ngIf="authenticator.error">\n {{ authenticator.error }}\n </amplify-error>\n </fieldset>\n <amplify-slot name="verify-user-footer" [context]="context"> </amplify-slot>\n </form>\n</div>\n',encapsulation:e.ViewEncapsulation.None}]}],V.ctorParameters=function(){return[{type:g}]},V.propDecorators={dataAttr:[{type:e.HostBinding,args:["attr.data-amplify-authenticator-verifyuser"]}],headerText:[{type:e.Input}]};var W=function(){function t(){this.type="button",this.fullWidth=!1,this.size="medium",this.variation="default",this.fontWeight="normal",this.defaultClass=!0}return t.prototype.ngOnInit=function(){this.typeAttr=this.type,this.fullWidthAttr=this.fullWidth,this.sizeAttr=this.size,this.variationAttr=this.variation,this.fontWeightAttr=this.fontWeight},t}();W.decorators=[{type:e.Component,args:[{selector:"button[amplify-button]",template:"<ng-content></ng-content>\n"}]}],W.propDecorators={type:[{type:e.Input}],fullWidth:[{type:e.Input}],size:[{type:e.Input}],variation:[{type:e.Input}],fontWeight:[{type:e.Input}],typeAttr:[{type:e.HostBinding,args:["type"]}],fullWidthAttr:[{type:e.HostBinding,args:["attr.data-fullwidth"]}],sizeAttr:[{type:e.HostBinding,args:["attr.data-size"]}],variationAttr:[{type:e.HostBinding,args:["attr.data-variation"]}],defaultClass:[{type:e.HostBinding,args:["class.amplify-button"]}],fontWeightAttr:[{type:e.HostBinding,args:["style.font-weight"]}]};var E=function(){function t(){this.defaultChecked=!1,this.hasError=!1,this.isChecked=!1}return t.prototype.ngOnInit=function(){this.defaultChecked&&(this.isChecked=!0)},t.prototype.handleClick=function(){this.isChecked=!this.isChecked},t}();E.decorators=[{type:e.Component,args:[{selector:"amplify-checkbox",template:'<div class="amplify-flex amplify-field amplify-checkboxfield">\n <label class="amplify-flex amplify-checkbox">\n <span class="amplify-visually-hidden">\n <input\n (click)="handleClick()"\n class="\n amplify-input\n amplify-field-group__control\n amplify-checkbox__input\n "\n aria-invalid="false"\n type="checkbox"\n [name]="name"\n [value]="value"\n />\n </span>\n <span\n class="amplify-flex amplify-checkbox__button"\n aria-hidden="true"\n data-focus="false"\n [attr.data-error]="hasError"\n [attr.data-checked]="isChecked"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon amplify-checkbox__icon"\n viewBox="0 0 24 24"\n fill="currentColor"\n [attr.data-checked]="isChecked"\n >\n <path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"></path>\n </svg>\n </span>\n <span class="amplify-text amplify-checkbox__label">\n <ng-content></ng-content>\n </span>\n </label>\n <p *ngIf="hasError" class="amplify-text amplify-field__error-message">\n {{ errorMessage }}\n </p>\n</div>\n'}]}],E.propDecorators={defaultChecked:[{type:e.Input}],errorMessage:[{type:e.Input}],hasError:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],value:[{type:e.Input}]};var L=function(){function t(){this.isVisible=!0}return t.prototype.close=function(){this.isVisible=!1},t}();L.decorators=[{type:e.Component,args:[{selector:"amplify-error",template:'<div\n class="amplify-flex amplify-alert"\n data-variation="error"\n style="align-items: center; justify-content: space-between"\n *ngIf="isVisible"\n role="alert"\n>\n <div class="amplify-flex" style="align-items: center">\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n viewBox="0 0 24 24"\n fill="currentColor"\n >\n <path\n d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"\n ></path>\n </svg>\n <div><ng-content></ng-content></div>\n </div>\n <button\n amplify-button\n class="amplify-field-group__control"\n variation="link"\n [fullWidth]="false"\n (click)="close()"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n viewBox="0 0 24 24"\n fill="currentColor"\n >\n <path\n d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"\n ></path>\n </svg>\n </button>\n</div>\n'}]}];var U=function(){function t(){this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-"+p.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.type="password",this.showPassword=!1,this.showPasswordButtonlabel=a.translate("Show password")}return t.prototype.togglePasswordText=function(){this.showPassword=!this.showPassword,this.showPasswordButtonlabel=this.showPassword?a.translate("Show password"):a.translate("Hide password"),this.type=this.showPassword?"text":"password"},t}();U.decorators=[{type:e.Component,args:[{selector:"amplify-password-field",template:'<label class="amplify-label" [class.sr-only]="labelHidden" [for]="fieldId">\n {{ label }}\n</label>\n<div class="amplify-flex amplify-field-group">\n <input\n class="amplify-input amplify-field-group__control"\n [id]="fieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [attr.disabled]="disabled ? \'\' : null"\n [autocomplete]="autocomplete"\n />\n <div class="amplify-field-group__outer-end">\n <button\n amplify-button\n [attr.aria-label]="showPasswordButtonlabel"\n class="amplify-field-group__control amplify-field__show-password"\n (click)="togglePasswordText()"\n >\n <svg\n *ngIf="!showPassword"\n xmlns="http://www.w3.org/2000/svg"\n fill="currentColor"\n viewBox="0 0 24 24"\n class="amplify-icon"\n >\n <path\n d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"\n ></path>\n </svg>\n <svg\n *ngIf="showPassword"\n xmlns="http://www.w3.org/2000/svg"\n fill="currentColor"\n viewBox="0 0 24 24"\n class="amplify-icon"\n >\n <path\n d="M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z"\n fill="none"\n ></path>\n <path\n d="M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"\n ></path>\n </svg>\n </button>\n </div>\n</div>\n'}]}],U.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],fieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],labelHidden:[{type:e.Input}]};var N=function(){this.autocomplete="new-password",this.disabled=!1,this.selectFieldId="amplify-field-"+p.nanoid(12),this.textFieldId="amplify-field-"+p.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents",this.countryDialCodes=a.countryDialCodes};N.decorators=[{type:e.Component,args:[{selector:"amplify-phone-number-field",template:'<label class="amplify-label" [class.sr-only]="labelHidden" [for]="textFieldId">\n {{ label }}\n</label>\n<div\n class="amplify-flex amplify-phonenumberfield"\n amplify-field-group\n style="gap: 0px"\n>\n <div class="amplify-field-group__outer-start">\n <div\n class="\n amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect\n "\n style="flex-direction: column"\n >\n <amplify-form-select\n name="country_code"\n label="Country Code"\n [id]="selectFieldId"\n [items]="countryDialCodes"\n [defaultValue]="defaultCountryCode"\n ></amplify-form-select>\n </div>\n </div>\n\n <input\n class="amplify-input"\n [id]="textFieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [attr.disabled]="disabled ? \'\' : null"\n [autocomplete]="autocomplete"\n />\n</div>\n'}]}],N.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],defaultCountryCode:[{type:e.Input}],selectFieldId:[{type:e.Input}],textFieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],type:[{type:e.Input}],labelHidden:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var $=function(){};$.decorators=[{type:e.Component,args:[{selector:"amplify-form-select",template:'<label class="amplify-label sr-only" [for]="id">{{ label }}</label>\n<div class="amplify-select__wrapper">\n <select\n class="amplify-select amplify-field-group__control"\n autocomplete="tel-country-code"\n [id]="id"\n [name]="name"\n >\n <option\n *ngFor="let item of items"\n [value]="item"\n [selected]="item === defaultValue"\n >\n {{ item }}\n </option>\n </select>\n <div\n class="amplify-flex amplify-select__icon-wrapper"\n style="align-items: center; justify-content: center"\n >\n <svg\n xmlns="http://www.w3.org/2000/svg"\n class="amplify-icon"\n viewBox="0 0 24 24"\n data-size="large"\n fill="currentColor"\n >\n <path d="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"></path>\n </svg>\n </div>\n</div>\n'}]}],$.propDecorators={items:[{type:e.Input}],name:[{type:e.Input}],label:[{type:e.Input}],id:[{type:e.Input}],defaultValue:[{type:e.Input}]};var R=function(){this.active=!1};R.decorators=[{type:e.Component,args:[{selector:"amplify-tab-item",template:'<div\n data-orientation="horizontal"\n role="tabpanel"\n [id]="id"\n [attr.aria-labelledby]="labelledById"\n [attr.data-state]="active ? \'active\' : \'inactive\'"\n [attr.tabindex]="tabIndex"\n>\n <ng-content *ngIf="active"></ng-content>\n</div>\n'}]}],R.propDecorators={title:[{type:e.Input}],active:[{type:e.Input}],id:[{type:e.Input}],labelledById:[{type:e.Input}],tabIndex:[{type:e.Input}]};var G=function(){function t(){this.tabChange=new e.EventEmitter}return t.prototype.ngAfterContentInit=function(){this.tabs.forEach((function(t,e){t.id="radix-id-"+p.nanoid(12)+"-1-content-"+e,t.labelledById="radix-id-"+p.nanoid(12)+"-1-trigger-"+e})),1!==this.tabs.filter((function(t){return t.active})).length&&this.selectTab(this.tabs.first)},t.prototype.selectTab=function(t){this.tabs.forEach((function(t){t.active=!1})),t.active=!0},t.prototype.handleTabClick=function(t){t.active||(this.tabChange.emit(),this.selectTab(t))},t}();G.decorators=[{type:e.Component,args:[{selector:"amplify-tabs",template:'<div\n tabindex="0"\n aria-orientation="horizontal"\n data-orientation="horizontal"\n role="tablist"\n style="outline: none"\n>\n <div\n class="amplify-flex amplify-tabs"\n data-indicator-position="top"\n style="gap: 0px; justify-content: center"\n >\n <div\n *ngFor="let tab of tabs"\n class="amplify-tabs-item"\n data-spacing="equal"\n data-orientation="horizontal"\n role="tab"\n [id]="tab.labelledById"\n [tabindex]="tab.active ? \'0\' : \'1\'"\n [attr.aria-selected]="tab.active"\n [attr.aria-controls]="tab.id"\n [attr.data-state]="tab.active ? \'active\' : \'inactive\'"\n (click)="handleTabClick(tab)"\n >\n {{ tab.title }}\n </div>\n </div>\n</div>\n\n<ng-content></ng-content>\n'}]}],G.propDecorators={tabs:[{type:e.ContentChildren,args:[R]}],tabChange:[{type:e.Output}]};var Q=function(){this.autocomplete="new-password",this.disabled=!1,this.fieldId="amplify-field-"+p.nanoid(12),this.initialValue="",this.label="",this.placeholder="",this.required=!0,this.labelHidden=!1,this.display="contents"};Q.decorators=[{type:e.Component,args:[{selector:"amplify-text-field",template:'<label class="amplify-label" [class.sr-only]="labelHidden" [for]="fieldId">\n {{ label }}\n</label>\n<input\n class="amplify-input"\n [id]="fieldId"\n [type]="type"\n [name]="name"\n [placeholder]="placeholder"\n [required]="required"\n [value]="initialValue"\n [attr.disabled]="disabled ? \'\' : null"\n [autocomplete]="autocomplete"\n/>\n'}]}],Q.propDecorators={autocomplete:[{type:e.Input}],disabled:[{type:e.Input}],fieldId:[{type:e.Input}],initialValue:[{type:e.Input}],label:[{type:e.Input}],name:[{type:e.Input}],placeholder:[{type:e.Input}],required:[{type:e.Input}],type:[{type:e.Input}],labelHidden:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var Z=function(){function t(t){this.propService=t,this.display="contents",this.isOverriden=!1}return t.prototype.ngAfterContentInit=function(){var t=this.propService.customComponents[this.name];t&&(this.overridingComponent=t,this.isOverriden=!0)},t}();Z.decorators=[{type:e.Component,args:[{selector:"amplify-slot",template:'\x3c!-- \n if slot isn\'t overwritten, we display the the default coponent, which is the \n children passed onto this component.\n--\x3e\n<ng-content *ngIf="!isOverriden"></ng-content>\n\n\x3c!-- If slot is overwritten, we render that instead. --\x3e\n<ng-container\n *ngIf="isOverriden"\n [ngTemplateOutlet]="overridingComponent"\n [ngTemplateOutletContext]="context"\n></ng-container>\n'}]}],Z.ctorParameters=function(){return[{type:y}]},Z.propDecorators={name:[{type:e.Input}],context:[{type:e.Input}],display:[{type:e.HostBinding,args:["style.display"]}]};var Y=function(){};Y.decorators=[{type:e.NgModule,args:[{declarations:[Z,m,b,W,E,v,I,C,w,L,S,T,P,k,U,N,F,$,D,M,B,q,R,G,Q,H,V],imports:[n.CommonModule,i.BrowserModule],exports:[m,b,E,q,Q]}]}],t.AmplifyAuthenticatorModule=Y,t.AmplifySlotDirective=m,t.AuthenticatorComponent=b,t.AuthenticatorService=g,t.ButtonComponent=W,t.CheckboxComponent=E,t.ConfirmResetPasswordComponent=v,t.ConfirmSignInComponent=I,t.ConfirmSignUpComponent=C,t.ConfirmVerifyUserComponent=w,t.CustomComponentsService=y,t.ErrorComponent=L,t.FederatedSignInButtonComponent=S,t.FederatedSignInComponent=T,t.ForceNewPasswordComponent=P,t.FormFieldComponent=k,t.PasswordFieldComponent=U,t.PhoneNumberFieldComponent=N,t.ResetPasswordComponent=F,t.SelectComponent=$,t.SetupTotpComponent=D,t.SignInComponent=M,t.SignUpComponent=B,t.SignUpFormFieldsComponent=q,t.TabItemComponent=R,t.TabsComponent=G,t.TextFieldComponent=Q,t.UserNameAliasComponent=H,t.VerifyUserComponent=V,t.getAttributeMap=A,t["ɵa"]=Z,t["ɵb"]=b,t["ɵc"]=W,t["ɵd"]=E,t["ɵe"]=v,t["ɵf"]=I,t["ɵg"]=C,t["ɵh"]=w,t["ɵi"]=L,t["ɵj"]=S,t["ɵk"]=T,t["ɵl"]=P,t["ɵm"]=k,t["ɵn"]=U,t["ɵo"]=N,t["ɵp"]=F,t["ɵq"]=$,t["ɵr"]=D,t["ɵs"]=M,t["ɵt"]=B,t["ɵu"]=q,t["ɵv"]=R,t["ɵw"]=G,t["ɵx"]=Q,t["ɵy"]=H,t["ɵz"]=V,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
2
2
|
//# sourceMappingURL=aws-amplify-ui-angular.umd.min.js.map
|