@aws-amplify/ui-react 1.2.26 → 1.2.54-legacy-ui.10

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.
Files changed (77) hide show
  1. package/CHANGELOG.md +224 -0
  2. package/dist/0.js.map +1 -1
  3. package/dist/1.js +656 -2000
  4. package/dist/1.js.map +1 -1
  5. package/dist/10.js +23 -681
  6. package/dist/10.js.map +1 -1
  7. package/dist/11.js +1157 -20
  8. package/dist/11.js.map +1 -1
  9. package/dist/12.js +61 -1087
  10. package/dist/12.js.map +1 -1
  11. package/dist/13.js +1146 -64
  12. package/dist/13.js.map +1 -1
  13. package/dist/14.js +34 -1163
  14. package/dist/14.js.map +1 -1
  15. package/dist/15.js +17 -37
  16. package/dist/15.js.map +1 -1
  17. package/dist/16.js +109 -13
  18. package/dist/16.js.map +1 -1
  19. package/dist/17.js +32 -67
  20. package/dist/17.js.map +1 -1
  21. package/dist/18.js +236 -46
  22. package/dist/18.js.map +1 -1
  23. package/dist/19.js +35 -224
  24. package/dist/19.js.map +1 -1
  25. package/dist/2.js +2190 -159
  26. package/dist/2.js.map +1 -1
  27. package/dist/20.js +28 -48
  28. package/dist/20.js.map +1 -1
  29. package/dist/21.js +46 -25
  30. package/dist/21.js.map +1 -1
  31. package/dist/22.js +22 -25
  32. package/dist/22.js.map +1 -1
  33. package/dist/23.js +254 -25
  34. package/dist/23.js.map +1 -1
  35. package/dist/24.js +62 -230
  36. package/dist/24.js.map +1 -1
  37. package/dist/25.js +28 -62
  38. package/dist/25.js.map +1 -1
  39. package/dist/26.js +349 -30
  40. package/dist/26.js.map +1 -1
  41. package/dist/27.js +24 -352
  42. package/dist/27.js.map +1 -1
  43. package/dist/28.js +25 -22
  44. package/dist/28.js.map +1 -1
  45. package/dist/29.js +483 -26
  46. package/dist/29.js.map +1 -1
  47. package/dist/3.js +2710 -1818
  48. package/dist/3.js.map +1 -1
  49. package/dist/30.js +1 -502
  50. package/dist/30.js.map +1 -1
  51. package/dist/31.js +1 -1
  52. package/dist/31.js.map +1 -1
  53. package/dist/32.js +12 -1
  54. package/dist/32.js.map +1 -1
  55. package/dist/4.js +361 -3669
  56. package/dist/4.js.map +1 -1
  57. package/dist/5.js +48 -242
  58. package/dist/5.js.map +1 -1
  59. package/dist/6.js +118 -74
  60. package/dist/6.js.map +1 -1
  61. package/dist/7.js +55 -99
  62. package/dist/7.js.map +1 -1
  63. package/dist/8.js +98 -46
  64. package/dist/8.js.map +1 -1
  65. package/dist/9.js +474 -412
  66. package/dist/9.js.map +1 -1
  67. package/dist/@aws-amplify/ui-react.js +50 -44
  68. package/dist/@aws-amplify/ui-react.js.map +1 -1
  69. package/dist/aws-amplify-react.min.js +2 -2
  70. package/dist/aws-amplify-react.min.js.map +1 -1
  71. package/dist/polyfills-core-js.js +5 -11
  72. package/dist/polyfills-core-js.js.map +1 -1
  73. package/dist/polyfills-css-shim.js.map +1 -1
  74. package/dist/polyfills-dom.js.map +1 -1
  75. package/package.json +3 -3
  76. package/dist/33.js +0 -13
  77. package/dist/33.js.map +0 -1
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@aws-amplify/core"),require("@aws-amplify/auth"),require("react"),require("@aws-amplify/storage"),require("@aws-amplify/interactions")):"function"==typeof define&&define.amd?define("aws_amplify_react",["@aws-amplify/core","@aws-amplify/auth","react","@aws-amplify/storage","@aws-amplify/interactions"],t):"object"==typeof exports?exports.aws_amplify_react=t(require("@aws-amplify/core"),require("@aws-amplify/auth"),require("react"),require("@aws-amplify/storage"),require("@aws-amplify/interactions")):e.aws_amplify_react=t(e["@aws-amplify/core"],e["@aws-amplify/auth"],e.react,e["@aws-amplify/storage"],e["@aws-amplify/interactions"])}(this,(function(e,t,n,r,i){return function(e){function t(t){for(var n,i,a=t[0],o=t[1],l=0,c=[];l<a.length;l++)i=a[l],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&c.push(r[i][0]),r[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(u&&u(t);c.length;)c.shift()()}var n={},r={0:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=a);var o,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+""+({1:"polyfills-core-js",2:"polyfills-css-shim",3:"polyfills-dom"}[e]||e)+".js"}(e);var u=new Error;o=function(t){l.onerror=l.onload=null,clearTimeout(c);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}r[e]=void 0}};var c=setTimeout((function(){o({type:"timeout",target:l})}),12e4);l.onerror=l.onload=o,document.head.appendChild(l)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var a=this.webpackJsonpaws_amplify_react=this.webpackJsonpaws_amplify_react||[],o=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var u=o;return i(i.s=10)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r,i,a=n(5);!function(e){e.BACK_TO_SIGN_IN="Back to Sign In",e.CHANGE_PASSWORD_ACTION="Change",e.CHANGE_PASSWORD="Change Password",e.CODE_LABEL="Verification code",e.CODE_PLACEHOLDER="Enter code",e.CONFIRM_SIGN_UP_CODE_LABEL="Confirmation Code",e.CONFIRM_SIGN_UP_CODE_PLACEHOLDER="Enter your code",e.CONFIRM_SIGN_UP_HEADER_TEXT="Confirm Sign up",e.CONFIRM_SIGN_UP_LOST_CODE="Lost your code?",e.CONFIRM_SIGN_UP_RESEND_CODE="Resend Code",e.CONFIRM_SIGN_UP_SUBMIT_BUTTON_TEXT="Confirm",e.CONFIRM_SMS_CODE="Confirm SMS Code",e.CONFIRM_TOTP_CODE="Confirm TOTP Code",e.CONFIRM="Confirm",e.CREATE_ACCOUNT_TEXT="Create account",e.EMAIL_LABEL="Email Address *",e.EMAIL_PLACEHOLDER="Enter your email address",e.FORGOT_PASSWORD_TEXT="Forgot your password?",e.LESS_THAN_TWO_MFA_VALUES_MESSAGE="Less than two MFA types available",e.NEW_PASSWORD_LABEL="New password",e.NEW_PASSWORD_PLACEHOLDER="Enter your new password",e.NO_ACCOUNT_TEXT="No account?",e.USERNAME_REMOVE_WHITESPACE="Username cannot contain whitespace",e.PASSWORD_REMOVE_WHITESPACE="Password cannot start or end with whitespace",e.PASSWORD_LABEL="Password *",e.PASSWORD_PLACEHOLDER="Enter your password",e.PHONE_LABEL="Phone Number *",e.PHONE_PLACEHOLDER="(555) 555-1212",e.QR_CODE_ALT="qrcode",e.RESET_PASSWORD_TEXT="Reset password",e.RESET_YOUR_PASSWORD="Reset your password",e.SELECT_MFA_TYPE_HEADER_TEXT="Select MFA Type",e.SELECT_MFA_TYPE_SUBMIT_BUTTON_TEXT="Verify",e.SEND_CODE="Send Code",e.SUBMIT="Submit",e.SETUP_TOTP_REQUIRED="TOTP needs to be configured",e.SIGN_IN_ACTION="Sign In",e.SIGN_IN_HEADER_TEXT="Sign in to your account",e.SIGN_IN_TEXT="Sign in",e.SIGN_IN_WITH_AMAZON="Sign in with Amazon",e.SIGN_IN_WITH_AUTH0="Sign in with Auth0",e.SIGN_IN_WITH_AWS="Sign in with AWS",e.SIGN_IN_WITH_FACEBOOK="Sign in with Facebook",e.SIGN_IN_WITH_GOOGLE="Sign in with Google",e.SIGN_OUT="Sign Out",e.SIGN_UP_EMAIL_PLACEHOLDER="Email",e.SIGN_UP_HAVE_ACCOUNT_TEXT="Have an account?",e.SIGN_UP_HEADER_TEXT="Create a new account",e.SIGN_UP_PASSWORD_PLACEHOLDER="Password",e.SIGN_UP_SUBMIT_BUTTON_TEXT="Create Account",e.SIGN_UP_USERNAME_PLACEHOLDER="Username",e.SKIP="Skip",e.SUCCESS_MFA_TYPE="Success! Your MFA Type is now:",e.TOTP_HEADER_TEXT="Scan then enter verification code",e.TOTP_LABEL="Enter Security Code:",e.TOTP_ISSUER="AWSCognito",e.TOTP_SETUP_FAILURE="TOTP Setup has failed",e.TOTP_SUBMIT_BUTTON_TEXT="Verify Security Token",e.TOTP_SUCCESS_MESSAGE="Setup TOTP successfully!",e.UNABLE_TO_SETUP_MFA_AT_THIS_TIME="Failed! Unable to configure MFA at this time",e.USERNAME_LABEL="Username *",e.USERNAME_PLACEHOLDER="Enter your username",e.VERIFY_CONTACT_EMAIL_LABEL="Email",e.VERIFY_CONTACT_HEADER_TEXT="Account recovery requires verified contact information",e.VERIFY_CONTACT_PHONE_LABEL="Phone Number",e.VERIFY_CONTACT_SUBMIT_LABEL="Submit",e.VERIFY_CONTACT_VERIFY_LABEL="Verify",e.ADDRESS_LABEL="Address",e.ADDRESS_PLACEHOLDER="Enter your address",e.NICKNAME_LABEL="Nickname",e.NICKNAME_PLACEHOLDER="Enter your nickname",e.BIRTHDATE_LABEL="Birthday",e.BIRTHDATE_PLACEHOLDER="Enter your birthday",e.PICTURE_LABEL="Picture URL",e.PICTURE_PLACEHOLDER="Enter your picture URL",e.FAMILY_NAME_LABEL="Family Name",e.FAMILY_NAME_PLACEHOLDER="Enter your family name",e.PREFERRED_USERNAME_LABEL="Preferred Username",e.PREFERRED_USERNAME_PLACEHOLDER="Enter your preferred username",e.GENDER_LABEL="Gender",e.GENDER_PLACEHOLDER="Enter your gender",e.PROFILE_LABEL="Profile URL",e.PROFILE_PLACEHOLDER="Enter your profile URL",e.GIVEN_NAME_LABEL="First Name",e.GIVEN_NAME_PLACEHOLDER="Enter your first name",e.ZONEINFO_LABEL="Time zone",e.ZONEINFO_PLACEHOLDER="Enter your time zone",e.LOCALE_LABEL="Locale",e.LOCALE_PLACEHOLDER="Enter your locale",e.UPDATED_AT_LABEL="Updated At",e.UPDATED_AT_PLACEHOLDER="Enter the time the information was last updated",e.MIDDLE_NAME_LABEL="Middle Name",e.MIDDLE_NAME_PLACEHOLDER="Enter your middle name",e.WEBSITE_LABEL="Website",e.WEBSITE_PLACEHOLDER="Enter your website",e.NAME_LABEL="Full Name",e.NAME_PLACEHOLDER="Enter your full name",e.PHOTO_PICKER_TITLE="Picker Title",e.PHOTO_PICKER_HINT="Ancillary text or content may occupy this space here",e.PHOTO_PICKER_PLACEHOLDER_HINT="Placeholder hint",e.PHOTO_PICKER_BUTTON_TEXT="Button",e.IMAGE_PICKER_TITLE="Add Profile Photo",e.IMAGE_PICKER_HINT="Preview the image before upload",e.IMAGE_PICKER_PLACEHOLDER_HINT="Tap to image select",e.IMAGE_PICKER_BUTTON_TEXT="Upload",e.PICKER_TEXT="Pick a file",e.TEXT_FALLBACK_CONTENT="Fallback Content",e.CONFIRM_SIGN_UP_FAILED="Confirm Sign Up Failed",e.SIGN_UP_FAILED="Sign Up Failed"}(r||(r={})),function(e){e.CHATBOT_TITLE="ChatBot Lex",e.TEXT_INPUT_PLACEHOLDER="Write a message",e.VOICE_INPUT_PLACEHOLDER="Click mic to speak",e.CHAT_DISABLED_ERROR="Error: Either voice or text must be enabled for the chatbot",e.NO_BOT_NAME_ERROR="Error: Bot name must be provided to ChatBot"}(i||(i={}));var o=Object.assign(Object.assign(Object.assign({},r),a.AuthErrorStrings),i)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return F})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return re})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return ne})),n.d(t,"i",(function(){return M})),n.d(t,"j",(function(){return T})),n.d(t,"k",(function(){return Te})),n.d(t,"l",(function(){return b}));var i,a,o,l,u=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}u((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},f=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,l=a.length;o<l;o++,i++)r[i]=a[o];return r},d="amplify-ui-components",p=!1,m=!1,h=!1,y=!1,g=0,v=!1,b="undefined"!=typeof window?window:{},E=b.CSS,w=b.document||{head:{}},T={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)}},_=function(){return(w.head.attachShadow+"").indexOf("[native")>-1}(),S=function(e){return Promise.resolve(e)},k=function(){try{return new CSSStyleSheet,!0}catch(e){}return!1}(),x=function(e,t,n,r){n&&n.map((function(n){var r=n[0],i=n[1],a=n[2],o=e,l=C(t,a),u=$(r);T.ael(o,i,l,u),(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return T.rel(o,i,l,u)}))}))},C=function(e,t){return function(n){256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}},$=function(e){return 0!=(2&e)},P="http://www.w3.org/1999/xlink",A=function(e,t){return void 0===t&&(t=""),function(){}},O=new WeakMap,N=function(e){var t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=A(0,t.$tagName$),a=function(e,t,n,r){var i=R(t),a=$e.get(i);if(e=11===e.nodeType?e:w,a)if("string"==typeof a){e=e.head||e;var o=O.get(e),l=void 0;if(o||O.set(e,o=new Set),!o.has(i)){if(T.$cssShim$){var u=(l=T.$cssShim$.createHostStyle(r,i,a,!!(10&t.$flags$)))["s-sc"];u&&(i=u,o=null)}else(l=w.createElement("style")).innerHTML=a;e.insertBefore(l,e.querySelector("link")),o&&o.add(i)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=f(e.adoptedStyleSheets,[a]));return i}(_&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&r&&(n["s-sc"]=a,n.classList.add(a+"-h"),2&r&&n.classList.add(a+"-s")),i()},R=function(e,t){return"sc-"+e.$tagName$},L={},I=function(e){return"object"===(e=r(e))||"function"===e},M=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=null,o=null,l=null,u=!1,c=!1,s=[],f=function t(n){for(var r=0;r<n.length;r++)a=n[r],Array.isArray(a)?t(a):null!=a&&"boolean"!=typeof a&&((u="function"!=typeof e&&!I(a))&&(a=String(a)),u&&c?s[s.length-1].$text$+=a:s.push(u?D(null,a):a),c=u)};if(f(n),t){t.key&&(o=t.key),t.name&&(l=t.name);var d=t.className||t.class;d&&(t.class="object"!==r(d)?d:Object.keys(d).filter((function(e){return d[e]})).join(" "))}var p=D(e,null);return p.$attrs$=t,s.length>0&&(p.$children$=s),p.$key$=o,p.$name$=l,p},D=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null};return n},F={},U=function(e,t,n,r,i,a){if(n!==r){var o=Se(e,t),l=t.toLowerCase();if("class"===t){var u=e.classList,c=j(n),s=j(r);u.remove.apply(u,c.filter((function(e){return e&&!s.includes(e)}))),u.add.apply(u,s.filter((function(e){return e&&!c.includes(e)})))}else if("style"===t){for(var f in n)r&&null!=r[f]||(f.includes("-")?e.style.removeProperty(f):e.style[f]="");for(var f in r)n&&r[f]===n[f]||(f.includes("-")?e.style.setProperty(f,r[f]):e.style[f]=r[f])}else if("key"===t);else if("ref"===t)r&&r(e);else if(o||"o"!==t[0]||"n"!==t[1]){var d=I(r);if((o||d&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]=r;else{var p=null==r?"":r;"list"===t?o=!1:null!=n&&e[t]==p||(e[t]=p)}}catch(e){}var m=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,m=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(m?e.removeAttributeNS(P,t):e.removeAttribute(t)):(!o||4&a||i)&&!d&&(r=!0===r?"":r,m?e.setAttributeNS(P,t,r):e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):Se(b,l)?l.slice(2):l[2]+t.slice(3),n&&T.rel(e,t,n,!1),r&&T.ael(e,t,r,!1)}},z=/\s/,j=function(e){return e?e.split(z):[]},H=function(e,t,n,r){var i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||L,o=t.$attrs$||L;for(r in a)r in o||U(i,r,a[r],void 0,n,t.$flags$);for(r in o)U(i,r,a[r],o[r],n,t.$flags$)},B=function e(t,n,r,i){var u,c,s,f=n.$children$[r],d=0;if(p||(h=!0,"slot"===f.$tag$&&(a&&i.classList.add(a+"-s"),f.$flags$|=f.$children$?2:1)),null!==f.$text$)u=f.$elm$=w.createTextNode(f.$text$);else if(1&f.$flags$)u=f.$elm$=w.createTextNode("");else{if(y||(y="svg"===f.$tag$),u=f.$elm$=w.createElementNS(y?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$flags$?"slot-fb":f.$tag$),y&&"foreignObject"===f.$tag$&&(y=!1),H(null,f,y),null!=a&&u["s-si"]!==a&&u.classList.add(u["s-si"]=a),f.$children$)for(d=0;d<f.$children$.length;++d)(c=e(t,f,d,u))&&u.appendChild(c);"svg"===f.$tag$?y=!1:"foreignObject"===u.tagName&&(y=!0)}return u["s-hn"]=l,3&f.$flags$&&(u["s-sr"]=!0,u["s-cr"]=o,u["s-sn"]=f.$name$||"",(s=t&&t.$children$&&t.$children$[r])&&s.$tag$===f.$tag$&&t.$elm$&&W(t.$elm$,!1)),u},W=function e(t,n){T.$flags$|=1;for(var r=t.childNodes,i=r.length-1;i>=0;i--){var a=r[i];a["s-hn"]!==l&&a["s-ol"]&&(X(a).insertBefore(a,K(a)),a["s-ol"].remove(),a["s-ol"]=void 0,h=!0),n&&e(a,n)}T.$flags$&=-2},V=function(e,t,n,r,i,a){var o,u=e["s-cr"]&&e["s-cr"].parentNode||e;for(u.shadowRoot&&u.tagName===l&&(u=u.shadowRoot);i<=a;++i)r[i]&&(o=B(null,n,i,e))&&(r[i].$elm$=o,u.insertBefore(o,K(t)))},Q=function(e,t,n,r,i){for(;t<=n;++t)(r=e[t])&&(i=r.$elm$,ee(r),m=!0,i["s-ol"]?i["s-ol"].remove():W(i,!0),i.remove())},G=function(e,t,n,r){for(var i,a,o=0,l=0,u=0,c=0,s=t.length-1,f=t[0],d=t[s],p=r.length-1,m=r[0],h=r[p];o<=s&&l<=p;)if(null==f)f=t[++o];else if(null==d)d=t[--s];else if(null==m)m=r[++l];else if(null==h)h=r[--p];else if(q(f,m))Y(f,m),f=t[++o],m=r[++l];else if(q(d,h))Y(d,h),d=t[--s],h=r[--p];else if(q(f,h))"slot"!==f.$tag$&&"slot"!==h.$tag$||W(f.$elm$.parentNode,!1),Y(f,h),e.insertBefore(f.$elm$,d.$elm$.nextSibling),f=t[++o],h=r[--p];else if(q(d,m))"slot"!==f.$tag$&&"slot"!==h.$tag$||W(d.$elm$.parentNode,!1),Y(d,m),e.insertBefore(d.$elm$,f.$elm$),d=t[--s],m=r[++l];else{for(u=-1,c=o;c<=s;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===m.$key$){u=c;break}u>=0?((a=t[u]).$tag$!==m.$tag$?i=B(t&&t[l],n,u,e):(Y(a,m),t[u]=void 0,i=a.$elm$),m=r[++l]):(i=B(t&&t[l],n,l,e),m=r[++l]),i&&X(f.$elm$).insertBefore(i,K(f.$elm$))}o>s?V(e,null==r[p+1]?null:r[p+1].$elm$,n,r,l,p):l>p&&Q(t,o,s)},q=function(e,t){return e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$)},K=function(e){return e&&e["s-ol"]||e},X=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode},Y=function(e,t){var n,r=t.$elm$=e.$elm$,i=e.$children$,a=t.$children$,o=t.$tag$,l=t.$text$;null===l?(y="svg"===o||"foreignObject"!==o&&y,"slot"===o||H(e,t,y),null!==i&&null!==a?G(r,i,t,a):null!==a?(null!==e.$text$&&(r.textContent=""),V(r,null,t,a,0,a.length-1)):null!==i&&Q(i,0,i.length-1),y&&"svg"===o&&(y=!1)):(n=r["s-cr"])?n.parentNode.textContent=l:e.$text$!==l&&(r.data=l)},Z=[],J=function(e,t){return 1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t},ee=function e(t){t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(e)},te=function(e,t){var n,r=e.$hostElement$,i=e.$cmpMeta$,u=e.$vnode$||D(null,null),c=(n=t)&&n.$tag$===F?t:M(null,null,t);if(l=r.tagName,c.$tag$=null,c.$flags$|=4,e.$vnode$=c,c.$elm$=u.$elm$=r.shadowRoot||r,a=r["s-sc"],o=r["s-cr"],p=_&&0!=(1&i.$flags$),m=!1,Y(u,c),T.$flags$|=1,h){!function e(t){for(var n,r,i,a,o,l,u=0,c=t.childNodes,s=c.length;u<s;u++){if((n=c[u])["s-sr"]&&(r=n["s-cr"]))for(i=r.parentNode.childNodes,a=n["s-sn"],l=i.length-1;l>=0;l--)(r=i[l])["s-cn"]||r["s-nr"]||r["s-hn"]===n["s-hn"]||(J(r,a)?(o=Z.find((function(e){return e.$nodeToRelocate$===r})),m=!0,r["s-sn"]=r["s-sn"]||a,o?o.$slotRefNode$=n:Z.push({$slotRefNode$:n,$nodeToRelocate$:r}),r["s-sr"]&&Z.map((function(e){J(e.$nodeToRelocate$,r["s-sn"])&&(o=Z.find((function(e){return e.$nodeToRelocate$===r})))&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$)}))):Z.some((function(e){return e.$nodeToRelocate$===r}))||Z.push({$nodeToRelocate$:r}));1===n.nodeType&&e(n)}}(c.$elm$);for(var s=void 0,f=void 0,d=void 0,y=void 0,g=void 0,v=void 0,b=0;b<Z.length;b++)(f=(s=Z[b]).$nodeToRelocate$)["s-ol"]||((d=w.createTextNode(""))["s-nr"]=f,f.parentNode.insertBefore(f["s-ol"]=d,f));for(b=0;b<Z.length;b++)if(f=(s=Z[b]).$nodeToRelocate$,s.$slotRefNode$){for(y=s.$slotRefNode$.parentNode,g=s.$slotRefNode$.nextSibling,d=f["s-ol"];d=d.previousSibling;)if((v=d["s-nr"])&&v["s-sn"]===f["s-sn"]&&y===v.parentNode&&(!(v=v.nextSibling)||!v["s-nr"])){g=v;break}(!g&&y!==f.parentNode||f.nextSibling!==g)&&f!==g&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),y.insertBefore(f,g))}else 1===f.nodeType&&(f.hidden=!0)}m&&function e(t){var n,r,i,a,o,l,u=t.childNodes;for(r=0,i=u.length;r<i;r++)if(1===(n=u[r]).nodeType){if(n["s-sr"])for(o=n["s-sn"],n.hidden=!1,a=0;a<i;a++)if(u[a]["s-hn"]!==n["s-hn"])if(l=u[a].nodeType,""!==o){if(1===l&&o===u[a].getAttribute("slot")){n.hidden=!0;break}}else if(1===l||3===l&&""!==u[a].textContent.trim()){n.hidden=!0;break}e(n)}}(c.$elm$),T.$flags$&=-2,Z.length=0},ne=function(e){return we(e).$hostElement$},re=function(e,t,n){var r=ne(e);return{emit:function(e){return ie(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}}},ie=function(e,t,n){var r=new CustomEvent(t,n);return e.dispatchEvent(r),r},ae=function(e,t){t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))},oe=function(e,t){if(e.$flags$|=16,!(4&e.$flags$)){ae(e,e.$ancestorComponent$);return Me((function(){return le(e,t)}))}e.$flags$|=512},le=function(e,t){var n,r=A(0,e.$cmpMeta$.$tagName$),i=e.$lazyInstance$;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return de(i,t,n)})),e.$queuedListeners$=null),n=de(i,"componentWillLoad")),r(),pe(n,(function(){return ue(e,i,t)}))},ue=function(e,t,n){var r=e.$hostElement$,i=A(0,e.$cmpMeta$.$tagName$),a=r["s-rc"];n&&N(e);var o=A(0,e.$cmpMeta$.$tagName$);te(e,ce(e,t)),T.$cssShim$&&T.$cssShim$.updateHost(r),a&&(a.map((function(e){return e()})),r["s-rc"]=void 0),o(),i();var l=r["s-p"],u=function(){return se(e)};0===l.length?u():(Promise.all(l).then(u),e.$flags$|=4,l.length=0)},ce=function(e,t){try{t=t.render(),e.$flags$&=-17,e.$flags$|=2}catch(e){ke(e)}return t},se=function(e){var t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=A(0,t),i=e.$lazyInstance$,a=e.$ancestorComponent$;de(i,"componentDidRender"),64&e.$flags$?r():(e.$flags$|=64,me(n),de(i,"componentDidLoad"),r(),e.$onReadyResolve$(n),a||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Ie((function(){return oe(e,!1)})),e.$flags$&=-517},fe=function(e){me(w.documentElement),T.$flags$|=2,Ie((function(){return ie(b,"appload",{detail:{namespace:d}})}))},de=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(e){ke(e)}},pe=function(e,t){return e&&e.then?e.then(t):t()},me=function(e){return e.classList.add("hydrated")},he=function(e,t,n,r){var i,a,o=we(e),l=o.$instanceValues$.get(t),u=o.$flags$,c=o.$lazyInstance$;if(i=n,a=r.$members$[t][0],n=null==i||I(i)?i:4&a?"false"!==i&&(""===i||!!i):2&a?parseFloat(i):1&a?String(i):i,!(8&u&&void 0!==l||n===l)&&(o.$instanceValues$.set(t,n),c)){if(r.$watchers$&&128&u){var s=r.$watchers$[t];s&&s.map((function(e){try{c[e](n,l,t)}catch(e){ke(e)}}))}2==(18&u)&&oe(o,!1)}},ye=function(e,t,n){if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);var r=Object.entries(t.$members$),i=e.prototype;if(r.map((function(e){var r=e[0],a=e[1][0];(31&a||2&n&&32&a)&&Object.defineProperty(i,r,{get:function(){return e=r,we(this).$instanceValues$.get(e);var e},set:function(e){he(this,r,e,t)},configurable:!0,enumerable:!0})})),1&n){var a=new Map;i.attributeChangedCallback=function(e,t,n){var r=this;T.jmp((function(){var t=a.get(e);r[t]=(null!==n||"boolean"!=typeof r[t])&&n}))},e.observedAttributes=r.filter((function(e){e[0];return 15&e[1][0]})).map((function(e){var t=e[0],n=e[1][1]||t;return a.set(n,t),n}))}}return e},ge=function(e,t,r,i,a){return c(void 0,void 0,void 0,(function(){var e,i,o,l,u,c,f;return s(this,(function(s){switch(s.label){case 0:return 0!=(32&t.$flags$)?[3,5]:(t.$flags$|=32,(a=Ce(r)).then?(e=function(){},[4,a]):[3,2]);case 1:a=s.sent(),e(),s.label=2;case 2:a.isProxied||(r.$watchers$=a.watchers,ye(a,r,2),a.isProxied=!0),i=A(0,r.$tagName$),t.$flags$|=8;try{new a(t)}catch(e){ke(e)}return t.$flags$&=-9,t.$flags$|=128,i(),a.style?(o=a.style,l=R(r),$e.has(l)?[3,5]:(u=A(0,r.$tagName$),8&r.$flags$?[4,n.e(33).then(n.bind(null,27)).then((function(e){return e.scopeCss(o,l,!1)}))]:[3,4])):[3,5];case 3:o=s.sent(),s.label=4;case 4:!function(e,t,n){var r=$e.get(e);k&&n?(r=r||new CSSStyleSheet).replace(t):r=t,$e.set(e,r)}(l,o,!!(1&r.$flags$)),u(),s.label=5;case 5:return c=t.$ancestorComponent$,f=function(){return oe(t,!0)},c&&c["s-rc"]?c["s-rc"].push(f):f(),[2]}}))}))},ve=function(e){var t=e["s-cr"]=w.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},be=function(e,t){void 0===t&&(t={});var n,r=A(),i=[],a=t.exclude||[],o=b.customElements,l=w.head,c=l.querySelector("meta[charset]"),s=w.createElement("style"),f=[],d=!0;Object.assign(T,t),T.$resourcesUrl$=new URL(t.resourcesUrl||"./",w.baseURI).href,t.syncQueue&&(T.$flags$|=4),e.map((function(e){return e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};r.$members$=t[2],r.$listeners$=t[3],r.$watchers$={},!_&&1&r.$flags$&&(r.$flags$|=8);var l=r.$tagName$,c=function(e){function t(t){var n=e.call(this,t)||this;return _e(t=n,r),1&r.$flags$&&(_?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t)),n}return u(t,e),t.prototype.connectedCallback=function(){var e=this;n&&(clearTimeout(n),n=null),d?f.push(this):T.jmp((function(){return function(e){if(0==(1&T.$flags$)){var t=we(e),n=t.$cmpMeta$,r=A(0,n.$tagName$);if(1&t.$flags$)x(e,t,n.$listeners$);else{t.$flags$|=1,12&n.$flags$&&ve(e);for(var i=e;i=i.parentNode||i.host;)if(i["s-p"]){ae(t,t.$ancestorComponent$=i);break}n.$members$&&Object.entries(n.$members$).map((function(t){var n=t[0];if(31&t[1][0]&&e.hasOwnProperty(n)){var r=e[n];delete e[n],e[n]=r}})),ge(0,t,n)}r()}}(e)}))},t.prototype.disconnectedCallback=function(){var e=this;T.jmp((function(){return function(e){if(0==(1&T.$flags$)){var t=we(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map((function(e){return e()})),t.$rmListeners$=void 0),T.$cssShim$&&T.$cssShim$.removeHost(e),de(n,"disconnectedCallback")}}(e)}))},t.prototype.forceUpdate=function(){var e;e=we(this),e.$hostElement$.isConnected&&2==(18&e.$flags$)&&oe(e,!1)},t.prototype.componentOnReady=function(){return we(this).$onReadyPromise$},t}(HTMLElement);r.$lazyBundleId$=e[0],a.includes(l)||o.get(l)||(i.push(l),o.define(l,ye(c,r,1)))}))})),s.innerHTML=i+"{visibility:hidden}.hydrated{visibility:inherit}",s.setAttribute("data-styles",""),l.insertBefore(s,c?c.nextSibling:l.firstChild),d=!1,f.length?f.map((function(e){return e.connectedCallback()})):T.jmp((function(){return n=setTimeout(fe,30)})),r()},Ee=new WeakMap,we=function(e){return Ee.get(e)},Te=function(e,t){return Ee.set(t.$lazyInstance$=e,t)},_e=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e})),e["s-p"]=[],e["s-rc"]=[],x(e,n,t.$listeners$),Ee.set(e,n)},Se=function(e,t){return t in e},ke=function(e){return console.error(e)},xe=new Map,Ce=function(e,t,r){var i=e.$tagName$.replace(/-/g,"_"),a=e.$lazyBundleId$,o=xe.get(a);return o?o[i]:n(22)("./"+a+".entry.js").then((function(e){return xe.set(a,e),e[i]}),ke)},$e=new Map,Pe=[],Ae=[],Oe=[],Ne=function(e,t){return function(n){e.push(n),v||(v=!0,t&&4&T.$flags$?Ie(Le):T.raf(Le))}},Re=function(e,t){for(var n=0,r=0;n<e.length&&(r=performance.now())<t;)try{e[n++](r)}catch(e){ke(e)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},Le=function e(){g++,function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ke(e)}e.length=0}(Pe);var t=2==(6&T.$flags$)?performance.now()+14*Math.ceil(.1*g):1/0;Re(Ae,t),Re(Oe,t),Ae.length>0&&(Oe.push.apply(Oe,Ae),Ae.length=0),(v=Pe.length+Ae.length+Oe.length>0)?T.raf(e):g=0},Ie=function(e){return S().then(e)},Me=Ne(Ae,!0)},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return E})),n.d(t,"i",(function(){return o})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return y})),n.d(t,"n",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"p",(function(){return a})),n.d(t,"q",(function(){return l})),n.d(t,"r",(function(){return r}));var r="username",i="email",a="code",o="phone",l="password",u="country-dial-code-select",c="+1",s="amplify-auth-source",f="Phone number can not be empty",d="No Auth module found, please ensure @aws-amplify/auth is imported",p="No Storage module found, please ensure @aws-amplify/storage is imported",m="No Interactions module found, please ensure @aws-amplify/interactions is imported",h="User has not set up software token mfa",y="User has not verified software token mfa",g="auth",v="UI Auth",b="ToastAuthError",E="AuthStateChange"},function(e,t,n){"use strict";var r,i,a,o,l;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return o})),function(e){e.SignUp="signup",e.SignOut="signout",e.SignIn="signin",e.Loading="loading",e.SignedOut="signedout",e.SignedIn="signedin",e.SigningUp="signingup",e.ConfirmSignUp="confirmSignUp",e.confirmingSignUpCustomFlow="confirmsignupcustomflow",e.ConfirmSignIn="confirmSignIn",e.confirmingSignInCustomFlow="confirmingsignincustomflow",e.VerifyingAttributes="verifyingattributes",e.ForgotPassword="forgotpassword",e.ResetPassword="resettingpassword",e.SettingMFA="settingMFA",e.TOTPSetup="TOTPSetup",e.CustomConfirmSignIn="customConfirmSignIn",e.VerifyContact="verifyContact"}(r||(r={})),function(e){e.TOTP="TOTP",e.SMS="SMS",e.NOMFA="NOMFA"}(i||(i={})),function(e){e.SoftwareTokenMFA="SOFTWARE_TOKEN_MFA",e.SMSMFA="SMS_MFA",e.NewPasswordRequired="NEW_PASSWORD_REQUIRED",e.MFASetup="MFA_SETUP",e.CustomChallenge="CUSTOM_CHALLENGE"}(a||(a={})),function(e){e.Password="password"}(o||(o={})),function(e){e.username="username",e.email="email",e.phone_number="phone_number"}(l||(l={}))},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";function r(e,t,n){var r=o(e),i=o(t.className?t.className.split(" "):[]),a=o(n.className?n.className.split(" "):[]),l=[];return r.forEach((function(e){i.has(e)?(l.push(e),i.delete(e)):a.has(e)||l.push(e)})),i.forEach((function(e){return l.push(e)})),l.join(" ")}
1
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@aws-amplify/core"),require("@aws-amplify/auth"),require("react"),require("@aws-amplify/storage"),require("@aws-amplify/interactions")):"function"==typeof define&&define.amd?define("aws_amplify_react",["@aws-amplify/core","@aws-amplify/auth","react","@aws-amplify/storage","@aws-amplify/interactions"],t):"object"==typeof exports?exports.aws_amplify_react=t(require("@aws-amplify/core"),require("@aws-amplify/auth"),require("react"),require("@aws-amplify/storage"),require("@aws-amplify/interactions")):e.aws_amplify_react=t(e["@aws-amplify/core"],e["@aws-amplify/auth"],e.react,e["@aws-amplify/storage"],e["@aws-amplify/interactions"])}(this,(function(e,t,n,r,i){return function(e){function t(t){for(var n,i,a=t[0],o=t[1],l=0,c=[];l<a.length;l++)i=a[l],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&c.push(r[i][0]),r[i]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);for(u&&u(t);c.length;)c.shift()()}var n={},r={0:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=a);var o,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=function(e){return i.p+""+({1:"polyfills-core-js",2:"polyfills-css-shim",3:"polyfills-dom"}[e]||e)+".js"}(e);var u=new Error;o=function(t){l.onerror=l.onload=null,clearTimeout(c);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;u.message="Loading chunk "+e+" failed.\n("+i+": "+a+")",u.name="ChunkLoadError",u.type=i,u.request=a,n[1](u)}r[e]=void 0}};var c=setTimeout((function(){o({type:"timeout",target:l})}),12e4);l.onerror=l.onload=o,document.head.appendChild(l)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var a=this.webpackJsonpaws_amplify_react=this.webpackJsonpaws_amplify_react||[],o=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var u=o;return i(i.s=10)}([function(t,n){t.exports=e},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r,i,a=n(5);!function(e){e.BACK_TO_SIGN_IN="Back to Sign In",e.CHANGE_PASSWORD_ACTION="Change",e.CHANGE_PASSWORD="Change Password",e.CODE_LABEL="Verification code",e.CODE_PLACEHOLDER="Enter code",e.CONFIRM_SIGN_UP_CODE_LABEL="Confirmation Code",e.CONFIRM_SIGN_UP_CODE_PLACEHOLDER="Enter your code",e.CONFIRM_SIGN_UP_HEADER_TEXT="Confirm Sign up",e.CONFIRM_SIGN_UP_LOST_CODE="Lost your code?",e.CONFIRM_SIGN_UP_RESEND_CODE="Resend Code",e.CONFIRM_SIGN_UP_SUBMIT_BUTTON_TEXT="Confirm",e.CONFIRM_SMS_CODE="Confirm SMS Code",e.CONFIRM_TOTP_CODE="Confirm TOTP Code",e.CONFIRM="Confirm",e.CREATE_ACCOUNT_TEXT="Create account",e.EMAIL_LABEL="Email Address *",e.EMAIL_PLACEHOLDER="Enter your email address",e.FORGOT_PASSWORD_TEXT="Forgot your password?",e.LESS_THAN_TWO_MFA_VALUES_MESSAGE="Less than two MFA types available",e.NEW_PASSWORD_LABEL="New password",e.NEW_PASSWORD_PLACEHOLDER="Enter your new password",e.NO_ACCOUNT_TEXT="No account?",e.USERNAME_REMOVE_WHITESPACE="Username cannot contain whitespace",e.PASSWORD_REMOVE_WHITESPACE="Password cannot start or end with whitespace",e.PASSWORD_LABEL="Password *",e.PASSWORD_PLACEHOLDER="Enter your password",e.PHONE_LABEL="Phone Number *",e.PHONE_PLACEHOLDER="(555) 555-1212",e.QR_CODE_ALT="qrcode",e.RESET_PASSWORD_TEXT="Reset password",e.RESET_YOUR_PASSWORD="Reset your password",e.SELECT_MFA_TYPE_HEADER_TEXT="Select MFA Type",e.SELECT_MFA_TYPE_SUBMIT_BUTTON_TEXT="Verify",e.SEND_CODE="Send Code",e.SUBMIT="Submit",e.SETUP_TOTP_REQUIRED="TOTP needs to be configured",e.SIGN_IN_ACTION="Sign In",e.SIGN_IN_HEADER_TEXT="Sign in to your account",e.SIGN_IN_TEXT="Sign in",e.SIGN_IN_WITH_AMAZON="Sign in with Amazon",e.SIGN_IN_WITH_AUTH0="Sign in with Auth0",e.SIGN_IN_WITH_AWS="Sign in with AWS",e.SIGN_IN_WITH_FACEBOOK="Sign in with Facebook",e.SIGN_IN_WITH_GOOGLE="Sign in with Google",e.SIGN_OUT="Sign Out",e.SIGN_UP_EMAIL_PLACEHOLDER="Email",e.SIGN_UP_HAVE_ACCOUNT_TEXT="Have an account?",e.SIGN_UP_HEADER_TEXT="Create a new account",e.SIGN_UP_PASSWORD_PLACEHOLDER="Password",e.SIGN_UP_SUBMIT_BUTTON_TEXT="Create Account",e.SIGN_UP_USERNAME_PLACEHOLDER="Username",e.SKIP="Skip",e.SUCCESS_MFA_TYPE="Success! Your MFA Type is now:",e.TOTP_HEADER_TEXT="Scan then enter verification code",e.TOTP_LABEL="Enter Security Code:",e.TOTP_ISSUER="AWSCognito",e.TOTP_SETUP_FAILURE="TOTP Setup has failed",e.TOTP_SUBMIT_BUTTON_TEXT="Verify Security Token",e.TOTP_SUCCESS_MESSAGE="Setup TOTP successfully!",e.UNABLE_TO_SETUP_MFA_AT_THIS_TIME="Failed! Unable to configure MFA at this time",e.USERNAME_LABEL="Username *",e.USERNAME_PLACEHOLDER="Enter your username",e.VERIFY_CONTACT_EMAIL_LABEL="Email",e.VERIFY_CONTACT_HEADER_TEXT="Account recovery requires verified contact information",e.VERIFY_CONTACT_PHONE_LABEL="Phone Number",e.VERIFY_CONTACT_SUBMIT_LABEL="Submit",e.VERIFY_CONTACT_VERIFY_LABEL="Verify",e.ADDRESS_LABEL="Address",e.ADDRESS_PLACEHOLDER="Enter your address",e.NICKNAME_LABEL="Nickname",e.NICKNAME_PLACEHOLDER="Enter your nickname",e.BIRTHDATE_LABEL="Birthday",e.BIRTHDATE_PLACEHOLDER="Enter your birthday",e.PICTURE_LABEL="Picture URL",e.PICTURE_PLACEHOLDER="Enter your picture URL",e.FAMILY_NAME_LABEL="Family Name",e.FAMILY_NAME_PLACEHOLDER="Enter your family name",e.PREFERRED_USERNAME_LABEL="Preferred Username",e.PREFERRED_USERNAME_PLACEHOLDER="Enter your preferred username",e.GENDER_LABEL="Gender",e.GENDER_PLACEHOLDER="Enter your gender",e.PROFILE_LABEL="Profile URL",e.PROFILE_PLACEHOLDER="Enter your profile URL",e.GIVEN_NAME_LABEL="First Name",e.GIVEN_NAME_PLACEHOLDER="Enter your first name",e.ZONEINFO_LABEL="Time zone",e.ZONEINFO_PLACEHOLDER="Enter your time zone",e.LOCALE_LABEL="Locale",e.LOCALE_PLACEHOLDER="Enter your locale",e.UPDATED_AT_LABEL="Updated At",e.UPDATED_AT_PLACEHOLDER="Enter the time the information was last updated",e.MIDDLE_NAME_LABEL="Middle Name",e.MIDDLE_NAME_PLACEHOLDER="Enter your middle name",e.WEBSITE_LABEL="Website",e.WEBSITE_PLACEHOLDER="Enter your website",e.NAME_LABEL="Full Name",e.NAME_PLACEHOLDER="Enter your full name",e.PHOTO_PICKER_TITLE="Picker Title",e.PHOTO_PICKER_HINT="Ancillary text or content may occupy this space here",e.PHOTO_PICKER_PLACEHOLDER_HINT="Placeholder hint",e.PHOTO_PICKER_BUTTON_TEXT="Button",e.IMAGE_PICKER_TITLE="Add Profile Photo",e.IMAGE_PICKER_HINT="Preview the image before upload",e.IMAGE_PICKER_PLACEHOLDER_HINT="Tap to image select",e.IMAGE_PICKER_BUTTON_TEXT="Upload",e.PICKER_TEXT="Pick a file",e.TEXT_FALLBACK_CONTENT="Fallback Content",e.CONFIRM_SIGN_UP_FAILED="Confirm Sign Up Failed",e.SIGN_UP_FAILED="Sign Up Failed"}(r||(r={})),function(e){e.CHATBOT_TITLE="ChatBot Lex",e.TEXT_INPUT_PLACEHOLDER="Write a message",e.VOICE_INPUT_PLACEHOLDER="Click mic to speak",e.CHAT_DISABLED_ERROR="Error: Either voice or text must be enabled for the chatbot",e.NO_BOT_NAME_ERROR="Error: Bot name must be provided to ChatBot"}(i||(i={}));var o=Object.assign(Object.assign(Object.assign({},r),a.AuthErrorStrings),i)},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,"a",(function(){return E})),n.d(t,"b",(function(){return F})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return S})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return re})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return ne})),n.d(t,"i",(function(){return M})),n.d(t,"j",(function(){return T})),n.d(t,"k",(function(){return Te})),n.d(t,"l",(function(){return b}));var i,a,o,l,u=(i=function(e,t){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}u((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},f=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,l=a.length;o<l;o++,i++)r[i]=a[o];return r},d="amplify-ui-components",p=!1,m=!1,h=!1,y=!1,g=0,v=!1,b="undefined"!=typeof window?window:{},E=b.CSS,w=b.document||{head:{}},T={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)}},_=function(){return(w.head.attachShadow+"").indexOf("[native")>-1}(),S=function(e){return Promise.resolve(e)},k=function(){try{return new CSSStyleSheet,!0}catch(e){}return!1}(),x=function(e,t,n,r){n&&n.map((function(n){var r=n[0],i=n[1],a=n[2],o=e,l=C(t,a),u=$(r);T.ael(o,i,l,u),(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return T.rel(o,i,l,u)}))}))},C=function(e,t){return function(n){256&e.$flags$?e.$lazyInstance$[t](n):(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}},$=function(e){return 0!=(2&e)},P="http://www.w3.org/1999/xlink",A=function(e,t){return void 0===t&&(t=""),function(){}},O=new WeakMap,N=function(e){var t=e.$cmpMeta$,n=e.$hostElement$,r=t.$flags$,i=A(0,t.$tagName$),a=function(e,t,n,r){var i=R(t),a=$e.get(i);if(e=11===e.nodeType?e:w,a)if("string"==typeof a){e=e.head||e;var o=O.get(e),l=void 0;if(o||O.set(e,o=new Set),!o.has(i)){if(T.$cssShim$){var u=(l=T.$cssShim$.createHostStyle(r,i,a,!!(10&t.$flags$)))["s-sc"];u&&(i=u,o=null)}else(l=w.createElement("style")).innerHTML=a;e.insertBefore(l,e.querySelector("link")),o&&o.add(i)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=f(e.adoptedStyleSheets,[a]));return i}(_&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);10&r&&(n["s-sc"]=a,n.classList.add(a+"-h"),2&r&&n.classList.add(a+"-s")),i()},R=function(e,t){return"sc-"+e.$tagName$},L={},I=function(e){return"object"===(e=r(e))||"function"===e},M=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a=null,o=null,l=null,u=!1,c=!1,s=[],f=function t(n){for(var r=0;r<n.length;r++)a=n[r],Array.isArray(a)?t(a):null!=a&&"boolean"!=typeof a&&((u="function"!=typeof e&&!I(a))&&(a=String(a)),u&&c?s[s.length-1].$text$+=a:s.push(u?D(null,a):a),c=u)};if(f(n),t){t.key&&(o=t.key),t.name&&(l=t.name);var d=t.className||t.class;d&&(t.class="object"!==r(d)?d:Object.keys(d).filter((function(e){return d[e]})).join(" "))}var p=D(e,null);return p.$attrs$=t,s.length>0&&(p.$children$=s),p.$key$=o,p.$name$=l,p},D=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null};return n},F={},U=function(e,t,n,r,i,a){if(n!==r){var o=Se(e,t),l=t.toLowerCase();if("class"===t){var u=e.classList,c=j(n),s=j(r);u.remove.apply(u,c.filter((function(e){return e&&!s.includes(e)}))),u.add.apply(u,s.filter((function(e){return e&&!c.includes(e)})))}else if("style"===t){for(var f in n)r&&null!=r[f]||(f.includes("-")?e.style.removeProperty(f):e.style[f]="");for(var f in r)n&&r[f]===n[f]||(f.includes("-")?e.style.setProperty(f,r[f]):e.style[f]=r[f])}else if("key"===t);else if("ref"===t)r&&r(e);else if(o||"o"!==t[0]||"n"!==t[1]){var d=I(r);if((o||d&&null!==r)&&!i)try{if(e.tagName.includes("-"))e[t]=r;else{var p=null==r?"":r;"list"===t?o=!1:null!=n&&e[t]==p||(e[t]=p)}}catch(e){}var m=!1;l!==(l=l.replace(/^xlink\:?/,""))&&(t=l,m=!0),null==r||!1===r?!1===r&&""!==e.getAttribute(t)||(m?e.removeAttributeNS(P,t):e.removeAttribute(t)):(!o||4&a||i)&&!d&&(r=!0===r?"":r,m?e.setAttributeNS(P,t,r):e.setAttribute(t,r))}else t="-"===t[2]?t.slice(3):Se(b,l)?l.slice(2):l[2]+t.slice(3),n&&T.rel(e,t,n,!1),r&&T.ael(e,t,r,!1)}},z=/\s/,j=function(e){return e?e.split(z):[]},H=function(e,t,n,r){var i=11===t.$elm$.nodeType&&t.$elm$.host?t.$elm$.host:t.$elm$,a=e&&e.$attrs$||L,o=t.$attrs$||L;for(r in a)r in o||U(i,r,a[r],void 0,n,t.$flags$);for(r in o)U(i,r,a[r],o[r],n,t.$flags$)},B=function e(t,n,r,i){var u,c,s,f=n.$children$[r],d=0;if(p||(h=!0,"slot"===f.$tag$&&(a&&i.classList.add(a+"-s"),f.$flags$|=f.$children$?2:1)),null!==f.$text$)u=f.$elm$=w.createTextNode(f.$text$);else if(1&f.$flags$)u=f.$elm$=w.createTextNode("");else{if(y||(y="svg"===f.$tag$),u=f.$elm$=w.createElementNS(y?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&f.$flags$?"slot-fb":f.$tag$),y&&"foreignObject"===f.$tag$&&(y=!1),H(null,f,y),null!=a&&u["s-si"]!==a&&u.classList.add(u["s-si"]=a),f.$children$)for(d=0;d<f.$children$.length;++d)(c=e(t,f,d,u))&&u.appendChild(c);"svg"===f.$tag$?y=!1:"foreignObject"===u.tagName&&(y=!0)}return u["s-hn"]=l,3&f.$flags$&&(u["s-sr"]=!0,u["s-cr"]=o,u["s-sn"]=f.$name$||"",(s=t&&t.$children$&&t.$children$[r])&&s.$tag$===f.$tag$&&t.$elm$&&W(t.$elm$,!1)),u},W=function e(t,n){T.$flags$|=1;for(var r=t.childNodes,i=r.length-1;i>=0;i--){var a=r[i];a["s-hn"]!==l&&a["s-ol"]&&(X(a).insertBefore(a,K(a)),a["s-ol"].remove(),a["s-ol"]=void 0,h=!0),n&&e(a,n)}T.$flags$&=-2},V=function(e,t,n,r,i,a){var o,u=e["s-cr"]&&e["s-cr"].parentNode||e;for(u.shadowRoot&&u.tagName===l&&(u=u.shadowRoot);i<=a;++i)r[i]&&(o=B(null,n,i,e))&&(r[i].$elm$=o,u.insertBefore(o,K(t)))},Q=function(e,t,n,r,i){for(;t<=n;++t)(r=e[t])&&(i=r.$elm$,ee(r),m=!0,i["s-ol"]?i["s-ol"].remove():W(i,!0),i.remove())},G=function(e,t,n,r){for(var i,a,o=0,l=0,u=0,c=0,s=t.length-1,f=t[0],d=t[s],p=r.length-1,m=r[0],h=r[p];o<=s&&l<=p;)if(null==f)f=t[++o];else if(null==d)d=t[--s];else if(null==m)m=r[++l];else if(null==h)h=r[--p];else if(q(f,m))Y(f,m),f=t[++o],m=r[++l];else if(q(d,h))Y(d,h),d=t[--s],h=r[--p];else if(q(f,h))"slot"!==f.$tag$&&"slot"!==h.$tag$||W(f.$elm$.parentNode,!1),Y(f,h),e.insertBefore(f.$elm$,d.$elm$.nextSibling),f=t[++o],h=r[--p];else if(q(d,m))"slot"!==f.$tag$&&"slot"!==h.$tag$||W(d.$elm$.parentNode,!1),Y(d,m),e.insertBefore(d.$elm$,f.$elm$),d=t[--s],m=r[++l];else{for(u=-1,c=o;c<=s;++c)if(t[c]&&null!==t[c].$key$&&t[c].$key$===m.$key$){u=c;break}u>=0?((a=t[u]).$tag$!==m.$tag$?i=B(t&&t[l],n,u,e):(Y(a,m),t[u]=void 0,i=a.$elm$),m=r[++l]):(i=B(t&&t[l],n,l,e),m=r[++l]),i&&X(f.$elm$).insertBefore(i,K(f.$elm$))}o>s?V(e,null==r[p+1]?null:r[p+1].$elm$,n,r,l,p):l>p&&Q(t,o,s)},q=function(e,t){return e.$tag$===t.$tag$&&("slot"===e.$tag$?e.$name$===t.$name$:e.$key$===t.$key$)},K=function(e){return e&&e["s-ol"]||e},X=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode},Y=function(e,t){var n,r=t.$elm$=e.$elm$,i=e.$children$,a=t.$children$,o=t.$tag$,l=t.$text$;null===l?(y="svg"===o||"foreignObject"!==o&&y,"slot"===o||H(e,t,y),null!==i&&null!==a?G(r,i,t,a):null!==a?(null!==e.$text$&&(r.textContent=""),V(r,null,t,a,0,a.length-1)):null!==i&&Q(i,0,i.length-1),y&&"svg"===o&&(y=!1)):(n=r["s-cr"])?n.parentNode.textContent=l:e.$text$!==l&&(r.data=l)},Z=[],J=function(e,t){return 1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t},ee=function e(t){t.$attrs$&&t.$attrs$.ref&&t.$attrs$.ref(null),t.$children$&&t.$children$.map(e)},te=function(e,t){var n,r=e.$hostElement$,i=e.$cmpMeta$,u=e.$vnode$||D(null,null),c=(n=t)&&n.$tag$===F?t:M(null,null,t);if(l=r.tagName,c.$tag$=null,c.$flags$|=4,e.$vnode$=c,c.$elm$=u.$elm$=r.shadowRoot||r,a=r["s-sc"],o=r["s-cr"],p=_&&0!=(1&i.$flags$),m=!1,Y(u,c),T.$flags$|=1,h){!function e(t){for(var n,r,i,a,o,l,u=0,c=t.childNodes,s=c.length;u<s;u++){if((n=c[u])["s-sr"]&&(r=n["s-cr"]))for(i=r.parentNode.childNodes,a=n["s-sn"],l=i.length-1;l>=0;l--)(r=i[l])["s-cn"]||r["s-nr"]||r["s-hn"]===n["s-hn"]||(J(r,a)?(o=Z.find((function(e){return e.$nodeToRelocate$===r})),m=!0,r["s-sn"]=r["s-sn"]||a,o?o.$slotRefNode$=n:Z.push({$slotRefNode$:n,$nodeToRelocate$:r}),r["s-sr"]&&Z.map((function(e){J(e.$nodeToRelocate$,r["s-sn"])&&(o=Z.find((function(e){return e.$nodeToRelocate$===r})))&&!e.$slotRefNode$&&(e.$slotRefNode$=o.$slotRefNode$)}))):Z.some((function(e){return e.$nodeToRelocate$===r}))||Z.push({$nodeToRelocate$:r}));1===n.nodeType&&e(n)}}(c.$elm$);for(var s=void 0,f=void 0,d=void 0,y=void 0,g=void 0,v=void 0,b=0;b<Z.length;b++)(f=(s=Z[b]).$nodeToRelocate$)["s-ol"]||((d=w.createTextNode(""))["s-nr"]=f,f.parentNode.insertBefore(f["s-ol"]=d,f));for(b=0;b<Z.length;b++)if(f=(s=Z[b]).$nodeToRelocate$,s.$slotRefNode$){for(y=s.$slotRefNode$.parentNode,g=s.$slotRefNode$.nextSibling,d=f["s-ol"];d=d.previousSibling;)if((v=d["s-nr"])&&v["s-sn"]===f["s-sn"]&&y===v.parentNode&&(!(v=v.nextSibling)||!v["s-nr"])){g=v;break}(!g&&y!==f.parentNode||f.nextSibling!==g)&&f!==g&&(!f["s-hn"]&&f["s-ol"]&&(f["s-hn"]=f["s-ol"].parentNode.nodeName),y.insertBefore(f,g))}else 1===f.nodeType&&(f.hidden=!0)}m&&function e(t){var n,r,i,a,o,l,u=t.childNodes;for(r=0,i=u.length;r<i;r++)if(1===(n=u[r]).nodeType){if(n["s-sr"])for(o=n["s-sn"],n.hidden=!1,a=0;a<i;a++)if(u[a]["s-hn"]!==n["s-hn"])if(l=u[a].nodeType,""!==o){if(1===l&&o===u[a].getAttribute("slot")){n.hidden=!0;break}}else if(1===l||3===l&&""!==u[a].textContent.trim()){n.hidden=!0;break}e(n)}}(c.$elm$),T.$flags$&=-2,Z.length=0},ne=function(e){return we(e).$hostElement$},re=function(e,t,n){var r=ne(e);return{emit:function(e){return ie(r,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}}},ie=function(e,t,n){var r=new CustomEvent(t,n);return e.dispatchEvent(r),r},ae=function(e,t){t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))},oe=function(e,t){if(e.$flags$|=16,!(4&e.$flags$)){ae(e,e.$ancestorComponent$);return Me((function(){return le(e,t)}))}e.$flags$|=512},le=function(e,t){var n,r=A(0,e.$cmpMeta$.$tagName$),i=e.$lazyInstance$;return t&&(e.$flags$|=256,e.$queuedListeners$&&(e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return de(i,t,n)})),e.$queuedListeners$=null),n=de(i,"componentWillLoad")),r(),pe(n,(function(){return ue(e,i,t)}))},ue=function(e,t,n){var r=e.$hostElement$,i=A(0,e.$cmpMeta$.$tagName$),a=r["s-rc"];n&&N(e);var o=A(0,e.$cmpMeta$.$tagName$);te(e,ce(e,t)),T.$cssShim$&&T.$cssShim$.updateHost(r),a&&(a.map((function(e){return e()})),r["s-rc"]=void 0),o(),i();var l=r["s-p"],u=function(){return se(e)};0===l.length?u():(Promise.all(l).then(u),e.$flags$|=4,l.length=0)},ce=function(e,t){try{t=t.render(),e.$flags$&=-17,e.$flags$|=2}catch(e){ke(e)}return t},se=function(e){var t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,r=A(0,t),i=e.$lazyInstance$,a=e.$ancestorComponent$;de(i,"componentDidRender"),64&e.$flags$?r():(e.$flags$|=64,me(n),de(i,"componentDidLoad"),r(),e.$onReadyResolve$(n),a||fe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),512&e.$flags$&&Ie((function(){return oe(e,!1)})),e.$flags$&=-517},fe=function(e){me(w.documentElement),T.$flags$|=2,Ie((function(){return ie(b,"appload",{detail:{namespace:d}})}))},de=function(e,t,n){if(e&&e[t])try{return e[t](n)}catch(e){ke(e)}},pe=function(e,t){return e&&e.then?e.then(t):t()},me=function(e){return e.classList.add("hydrated")},he=function(e,t,n,r){var i,a,o=we(e),l=o.$instanceValues$.get(t),u=o.$flags$,c=o.$lazyInstance$;if(i=n,a=r.$members$[t][0],n=null==i||I(i)?i:4&a?"false"!==i&&(""===i||!!i):2&a?parseFloat(i):1&a?String(i):i,!(8&u&&void 0!==l||n===l)&&(o.$instanceValues$.set(t,n),c)){if(r.$watchers$&&128&u){var s=r.$watchers$[t];s&&s.map((function(e){try{c[e](n,l,t)}catch(e){ke(e)}}))}2==(18&u)&&oe(o,!1)}},ye=function(e,t,n){if(t.$members$){e.watchers&&(t.$watchers$=e.watchers);var r=Object.entries(t.$members$),i=e.prototype;if(r.map((function(e){var r=e[0],a=e[1][0];(31&a||2&n&&32&a)&&Object.defineProperty(i,r,{get:function(){return e=r,we(this).$instanceValues$.get(e);var e},set:function(e){he(this,r,e,t)},configurable:!0,enumerable:!0})})),1&n){var a=new Map;i.attributeChangedCallback=function(e,t,n){var r=this;T.jmp((function(){var t=a.get(e);r[t]=(null!==n||"boolean"!=typeof r[t])&&n}))},e.observedAttributes=r.filter((function(e){e[0];return 15&e[1][0]})).map((function(e){var t=e[0],n=e[1][1]||t;return a.set(n,t),n}))}}return e},ge=function(e,t,r,i,a){return c(void 0,void 0,void 0,(function(){var e,i,o,l,u,c,f;return s(this,(function(s){switch(s.label){case 0:return 0!=(32&t.$flags$)?[3,5]:(t.$flags$|=32,(a=Ce(r)).then?(e=function(){},[4,a]):[3,2]);case 1:a=s.sent(),e(),s.label=2;case 2:a.isProxied||(r.$watchers$=a.watchers,ye(a,r,2),a.isProxied=!0),i=A(0,r.$tagName$),t.$flags$|=8;try{new a(t)}catch(e){ke(e)}return t.$flags$&=-9,t.$flags$|=128,i(),a.style?(o=a.style,l=R(r),$e.has(l)?[3,5]:(u=A(0,r.$tagName$),8&r.$flags$?[4,n.e(32).then(n.bind(null,27)).then((function(e){return e.scopeCss(o,l,!1)}))]:[3,4])):[3,5];case 3:o=s.sent(),s.label=4;case 4:!function(e,t,n){var r=$e.get(e);k&&n?(r=r||new CSSStyleSheet).replace(t):r=t,$e.set(e,r)}(l,o,!!(1&r.$flags$)),u(),s.label=5;case 5:return c=t.$ancestorComponent$,f=function(){return oe(t,!0)},c&&c["s-rc"]?c["s-rc"].push(f):f(),[2]}}))}))},ve=function(e){var t=e["s-cr"]=w.createComment("");t["s-cn"]=!0,e.insertBefore(t,e.firstChild)},be=function(e,t){void 0===t&&(t={});var n,r=A(),i=[],a=t.exclude||[],o=b.customElements,l=w.head,c=l.querySelector("meta[charset]"),s=w.createElement("style"),f=[],d=!0;Object.assign(T,t),T.$resourcesUrl$=new URL(t.resourcesUrl||"./",w.baseURI).href,t.syncQueue&&(T.$flags$|=4),e.map((function(e){return e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};r.$members$=t[2],r.$listeners$=t[3],r.$watchers$={},!_&&1&r.$flags$&&(r.$flags$|=8);var l=r.$tagName$,c=function(e){function t(t){var n=e.call(this,t)||this;return _e(t=n,r),1&r.$flags$&&(_?t.attachShadow({mode:"open"}):"shadowRoot"in t||(t.shadowRoot=t)),n}return u(t,e),t.prototype.connectedCallback=function(){var e=this;n&&(clearTimeout(n),n=null),d?f.push(this):T.jmp((function(){return function(e){if(0==(1&T.$flags$)){var t=we(e),n=t.$cmpMeta$,r=A(0,n.$tagName$);if(1&t.$flags$)x(e,t,n.$listeners$);else{t.$flags$|=1,12&n.$flags$&&ve(e);for(var i=e;i=i.parentNode||i.host;)if(i["s-p"]){ae(t,t.$ancestorComponent$=i);break}n.$members$&&Object.entries(n.$members$).map((function(t){var n=t[0];if(31&t[1][0]&&e.hasOwnProperty(n)){var r=e[n];delete e[n],e[n]=r}})),ge(0,t,n)}r()}}(e)}))},t.prototype.disconnectedCallback=function(){var e=this;T.jmp((function(){return function(e){if(0==(1&T.$flags$)){var t=we(e),n=t.$lazyInstance$;t.$rmListeners$&&(t.$rmListeners$.map((function(e){return e()})),t.$rmListeners$=void 0),T.$cssShim$&&T.$cssShim$.removeHost(e),de(n,"disconnectedCallback")}}(e)}))},t.prototype.forceUpdate=function(){var e;e=we(this),e.$hostElement$.isConnected&&2==(18&e.$flags$)&&oe(e,!1)},t.prototype.componentOnReady=function(){return we(this).$onReadyPromise$},t}(HTMLElement);r.$lazyBundleId$=e[0],a.includes(l)||o.get(l)||(i.push(l),o.define(l,ye(c,r,1)))}))})),s.innerHTML=i+"{visibility:hidden}.hydrated{visibility:inherit}",s.setAttribute("data-styles",""),l.insertBefore(s,c?c.nextSibling:l.firstChild),d=!1,f.length?f.map((function(e){return e.connectedCallback()})):T.jmp((function(){return n=setTimeout(fe,30)})),r()},Ee=new WeakMap,we=function(e){return Ee.get(e)},Te=function(e,t){return Ee.set(t.$lazyInstance$=e,t)},_e=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e})),e["s-p"]=[],e["s-rc"]=[],x(e,n,t.$listeners$),Ee.set(e,n)},Se=function(e,t){return t in e},ke=function(e){return console.error(e)},xe=new Map,Ce=function(e,t,r){var i=e.$tagName$.replace(/-/g,"_"),a=e.$lazyBundleId$,o=xe.get(a);return o?o[i]:n(22)("./"+a+".entry.js").then((function(e){return xe.set(a,e),e[i]}),ke)},$e=new Map,Pe=[],Ae=[],Oe=[],Ne=function(e,t){return function(n){e.push(n),v||(v=!0,t&&4&T.$flags$?Ie(Le):T.raf(Le))}},Re=function(e,t){for(var n=0,r=0;n<e.length&&(r=performance.now())<t;)try{e[n++](r)}catch(e){ke(e)}n===e.length?e.length=0:0!==n&&e.splice(0,n)},Le=function e(){g++,function(e){for(var t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){ke(e)}e.length=0}(Pe);var t=2==(6&T.$flags$)?performance.now()+14*Math.ceil(.1*g):1/0;Re(Ae,t),Re(Oe,t),Ae.length>0&&(Oe.push.apply(Oe,Ae),Ae.length=0),(v=Pe.length+Ae.length+Oe.length>0)?T.raf(e):g=0},Ie=function(e){return S().then(e)},Me=Ne(Ae,!0)},function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return d})),n.d(t,"e",(function(){return f})),n.d(t,"f",(function(){return b})),n.d(t,"g",(function(){return v})),n.d(t,"h",(function(){return E})),n.d(t,"i",(function(){return o})),n.d(t,"j",(function(){return m})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return h})),n.d(t,"m",(function(){return y})),n.d(t,"n",(function(){return c})),n.d(t,"o",(function(){return s})),n.d(t,"p",(function(){return a})),n.d(t,"q",(function(){return l})),n.d(t,"r",(function(){return r}));var r="username",i="email",a="code",o="phone",l="password",u="country-dial-code-select",c="+1",s="amplify-auth-source",f="Phone number can not be empty",d="No Auth module found, please ensure @aws-amplify/auth is imported",p="No Storage module found, please ensure @aws-amplify/storage is imported",m="No Interactions module found, please ensure @aws-amplify/interactions is imported",h="User has not set up software token mfa",y="User has not verified software token mfa",g="auth",v="UI Auth",b="ToastAuthError",E="AuthStateChange"},function(e,t,n){"use strict";var r,i,a,o,l;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return o})),function(e){e.SignUp="signup",e.SignOut="signout",e.SignIn="signin",e.Loading="loading",e.SignedOut="signedout",e.SignedIn="signedin",e.SigningUp="signingup",e.ConfirmSignUp="confirmSignUp",e.confirmingSignUpCustomFlow="confirmsignupcustomflow",e.ConfirmSignIn="confirmSignIn",e.confirmingSignInCustomFlow="confirmingsignincustomflow",e.VerifyingAttributes="verifyingattributes",e.ForgotPassword="forgotpassword",e.ResetPassword="resettingpassword",e.SettingMFA="settingMFA",e.TOTPSetup="TOTPSetup",e.CustomConfirmSignIn="customConfirmSignIn",e.VerifyContact="verifyContact"}(r||(r={})),function(e){e.TOTP="TOTP",e.SMS="SMS",e.NOMFA="NOMFA"}(i||(i={})),function(e){e.SoftwareTokenMFA="SOFTWARE_TOKEN_MFA",e.SMSMFA="SMS_MFA",e.NewPasswordRequired="NEW_PASSWORD_REQUIRED",e.MFASetup="MFA_SETUP",e.CustomChallenge="CUSTOM_CHALLENGE"}(a||(a={})),function(e){e.Password="password"}(o||(o={})),function(e){e.username="username",e.email="email",e.phone_number="phone_number"}(l||(l={}))},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";function r(e,t,n){var r=o(e),i=o(t.className?t.className.split(" "):[]),a=o(n.className?n.className.split(" "):[]),l=[];return r.forEach((function(e){i.has(e)?(l.push(e),i.delete(e)):a.has(e)||l.push(e)})),i.forEach((function(e){return l.push(e)})),l.join(" ")}
2
2
  /**
3
3
  * Checks if an event is supported in the current execution environment.
4
4
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
@@ -24,5 +24,5 @@ object-assign
24
24
  *
25
25
  * This source code is licensed under the MIT license found in the
26
26
  * LICENSE file in the root directory of this source tree.
27
- */var r,i,a,o,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},i=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},o=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var y=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var v=!1,b=null,E=-1,w=5,T=0;o=function(){return t.unstable_now()>=T},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,S=_.port2;_.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();T=e+w;try{b(!0,e)?S.postMessage(null):(v=!1,b=null)}catch(e){throw S.postMessage(null),e}}else v=!1},r=function(e){b=e,v||(v=!0,S.postMessage(null))},i=function(e,n){E=m((function(){e(t.unstable_now())}),n)},a=function(){h(E),E=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<$(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var a=2*(r+1)-1,o=e[a],l=a+1,u=e[l];if(void 0!==o&&0>$(o,n))void 0!==u&&0>$(u,o)?(e[r]=u,e[l]=n,r=l):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==u&&0>$(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function $(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],A=[],O=1,N=null,R=3,L=!1,I=!1,M=!1;function D(e){for(var t=x(A);null!==t;){if(null===t.callback)C(A);else{if(!(t.startTime<=e))break;C(A),t.sortIndex=t.expirationTime,k(P,t)}t=x(A)}}function F(e){if(M=!1,D(e),!I)if(null!==x(P))I=!0,r(U);else{var t=x(A);null!==t&&i(F,t.startTime-e)}}function U(e,n){I=!1,M&&(M=!1,a()),L=!0;var r=R;try{for(D(n),N=x(P);null!==N&&(!(N.expirationTime>n)||e&&!o());){var l=N.callback;if(null!==l){N.callback=null,R=N.priorityLevel;var u=l(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?N.callback=u:N===x(P)&&C(P),D(n)}else C(P);N=x(P)}if(null!==N)var c=!0;else{var s=x(A);null!==s&&i(F,s.startTime-n),c=!1}return c}finally{N=null,R=r,L=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var j=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||L||(I=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,o){var l=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?l+u:l,o="number"==typeof o.timeout?o.timeout:z(e)}else o=z(e),u=l;return e={id:O++,callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,sortIndex:-1},u>l?(e.sortIndex=u,k(A,e),null===x(P)&&e===x(A)&&(M?a():M=!0,i(F,u-l))):(e.sortIndex=o,k(P,e),I||L||(I=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=x(P);return n!==N&&null!==N&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<N.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},function(e,t,n){var r={"./amplify-amazon-button_5.entry.js":[28,15],"./amplify-auth-container.entry.js":[29,16],"./amplify-auth-fields_9.entry.js":[30,17],"./amplify-authenticator.entry.js":[31,5],"./amplify-button_3.entry.js":[32,18],"./amplify-chatbot.entry.js":[33,19],"./amplify-checkbox.entry.js":[35,20],"./amplify-confirm-sign-in_7.entry.js":[36,6],"./amplify-container.entry.js":[37,21],"./amplify-federated-buttons_2.entry.js":[38,22],"./amplify-federated-sign-in.entry.js":[39,23],"./amplify-form-field_4.entry.js":[40,24],"./amplify-greetings.entry.js":[41,25],"./amplify-icon-button.entry.js":[42,26],"./amplify-icon.entry.js":[43,7],"./amplify-link.entry.js":[44,27],"./amplify-nav_2.entry.js":[45,28],"./amplify-photo-picker.entry.js":[46,29],"./amplify-picker.entry.js":[47,30],"./amplify-radio-button_3.entry.js":[48,4,8],"./amplify-s3-album.entry.js":[49,9],"./amplify-s3-image-picker.entry.js":[50,10],"./amplify-s3-image.entry.js":[51,11],"./amplify-s3-text-picker.entry.js":[52,12],"./amplify-s3-text.entry.js":[53,13],"./amplify-select-mfa-type.entry.js":[54,31],"./amplify-sign-in-button.entry.js":[55,14],"./amplify-tooltip.entry.js":[56,32]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id=22,e.exports=i},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=l(n(6)),c=n(5),s=n(10),f=n(25),d=new(n(0).Logger)("withAuthenticator");t.withAuthenticator=function(e,t){return function(n){var l=o(u.default.useState(!1),2),p=l[0],m=l[1];return u.default.useEffect((function(){return c.appendToCognitoUserAgent("withAuthenticator"),function(){i(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,c.Auth.currentAuthenticatedUser()];case 1:return t.sent()&&m(!0),[3,3];case 2:return e=t.sent(),d.debug(e),[3,3];case 3:return[2]}}))}))}(),f.onAuthUIStateChange((function(e){e===f.AuthState.SignedIn?m(!0):e===f.AuthState.SignedOut&&m(!1)}))}),[]),p?u.default.createElement(e,r({},n)):u.default.createElement(s.AmplifyContainer,null,u.default.createElement(s.AmplifyAuthContainer,null,u.default.createElement(s.AmplifyAuthenticator,r({},t,n))))}}},function(e,t,n){"use strict";function r(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(n.e(3).then(n.t.bind(null,65,7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(1).then(n.t.bind(null,66,7)))}return Promise.all(e)}n.r(t),n.d(t,"applyPolyfills",(function(){return r})),n.d(t,"defineCustomElements",(function(){return c}));var i=n(2),a=n(0);if(Object(a.browserOrNode)().isBrowser){var o=document.createElement("style");o.appendChild(document.createTextNode("\n :root {\n /* Typography */\n --amplify-font-family: 'Amazon Ember', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n\n --amplify-text-xxs: 0.75rem;\n --amplify-text-xs: 0.81rem;\n --amplify-text-sm: 0.875rem;\n --amplify-text-md: 1rem;\n --amplify-text-md-sub: 1.15rem;\n --amplify-text-lg: 1.5rem;\n --amplify-text-xl: 2rem;\n --amplify-text-xxl: 2.5rem;\n\n /* Colors */\n --amplify-primary-color: #ff9900;\n --amplify-primary-contrast: var(--amplify-white);\n --amplify-primary-tint: #ffac31;\n --amplify-primary-shade: #e88b01;\n\n --amplify-secondary-color: #152939;\n --amplify-secondary-contrast: var(--amplify-white);\n --amplify-secondary-tint: #31465f;\n --amplify-secondary-shade: #1F2A37;\n\n --amplify-tertiary-color: #5d8aff;\n --amplify-tertiary-contrast: var(--amplify-white);\n --amplify-tertiary-tint: #7da1ff;\n --amplify-tertiary-shade: #537BE5;\n\n --amplify-background-color: var(--amplify-white);\n\n /* Neutral */\n --amplify-grey: #828282;\n --amplify-light-grey: #c4c4c4;\n --amplify-white: #ffffff;\n --amplify-smoke-white: #f5f5f5;\n --amplify-red: #dd3f5b;\n --amplify-blue: #099ac8;\n }\n "));var l=document.getElementsByTagName("head")[0],u=l.firstChild;l.insertBefore(o,u)}var c=function(e,t){return"undefined"==typeof window?Promise.resolve():(i.a&&i.a.supports&&i.a.supports("color","var(--c)")?Object(i.d)():n.e(2).then(n.t.bind(null,67,7)).then((function(){return(i.j.$cssShim$=i.l.__cssshim)?i.j.$cssShim$.i():0}))).then((function(){return Object(i.e)([["amplify-icon",[[2,"amplify-icon",{name:[1]}]]],["amplify-authenticator",[[1,"amplify-authenticator",{initialAuthState:[1,"initial-auth-state"],federated:[16],usernameAlias:[1,"username-alias"],handleAuthStateChange:[16],hideToast:[4,"hide-toast"],authState:[32],authData:[32],toastMessage:[32]}]]],["amplify-federated-sign-in",[[1,"amplify-federated-sign-in",{authState:[1,"auth-state"],federated:[8]}]]],["amplify-select-mfa-type",[[1,"amplify-select-mfa-type",{MFATypes:[16],authData:[16],handleSubmit:[16],TOTPSetup:[32],selectMessage:[32],MFAMethod:[32],isTOTP:[32],isNoMFA:[32],isSMS:[32],loading:[32],isToastVisible:[32]}]]],["amplify-s3-image-picker",[[4,"amplify-s3-image-picker",{path:[1],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fileToKey:[16],headerTitle:[1,"header-title"],headerHint:[1,"header-hint"],placeholderHint:[1,"placeholder-hint"],buttonText:[1,"button-text"],src:[32]}]]],["amplify-chatbot",[[1,"amplify-chatbot",{botName:[1,"bot-name"],clearOnComplete:[4,"clear-on-complete"],conversationModeOn:[4,"conversation-mode-on"],welcomeMessage:[1,"welcome-message"],botTitle:[1,"bot-title"],voiceEnabled:[4,"voice-enabled"],textEnabled:[4,"text-enabled"],silenceTime:[2,"silence-time"],silenceThreshold:[2,"silence-threshold"],messages:[32],text:[32],chatState:[32],error:[32]},[[0,"formSubmit","submitHandler"]]]]],["amplify-greetings",[[1,"amplify-greetings",{username:[1],logo:[16],handleAuthStateChange:[16]}]]],["amplify-s3-album",[[1,"amplify-s3-album",{path:[1],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fileToKey:[16],filter:[16],sort:[16],picker:[4],handleOnLoad:[16],handleOnError:[16],pickerText:[1,"picker-text"],albumItems:[32]}]]],["amplify-s3-text-picker",[[1,"amplify-s3-text-picker",{path:[1],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fileToKey:[16],fallbackText:[1,"fallback-text"],src:[32]}]]],["amplify-icon-button",[[1,"amplify-icon-button",{name:[1],tooltip:[1],autoShowTooltip:[4,"auto-show-tooltip"]}]]],["amplify-checkbox",[[1,"amplify-checkbox",{name:[1],value:[1],fieldId:[1,"field-id"],label:[1],checked:[4],disabled:[4]}]]],["amplify-auth-container",[[4,"amplify-auth-container"]]],["amplify-container",[[4,"amplify-container"]]],["amplify-link",[[1,"amplify-link",{role:[1]}]]],["amplify-photo-picker",[[1,"amplify-photo-picker",{headerTitle:[1,"header-title"],headerHint:[1,"header-hint"],placeholderHint:[1,"placeholder-hint"],buttonText:[1,"button-text"],previewSrc:[1,"preview-src"],handleClick:[16],previewState:[32],file:[32]}]]],["amplify-s3-image",[[1,"amplify-s3-image",{imgKey:[1,"img-key"],path:[1],alt:[1],body:[16],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],handleOnLoad:[16],handleOnError:[16],imgProps:[16],src:[32]}]]],["amplify-s3-text",[[1,"amplify-s3-text",{textKey:[1,"text-key"],path:[1],body:[16],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fallbackText:[1,"fallback-text"],src:[32]}]]],["amplify-tooltip",[[1,"amplify-tooltip",{text:[1],shouldAutoShow:[4,"should-auto-show"]}]]],["amplify-nav_2",[[1,"amplify-sign-out",{handleAuthStateChange:[16],buttonText:[1,"button-text"]}],[1,"amplify-nav"]]],["amplify-picker",[[1,"amplify-picker",{pickerText:[1,"picker-text"],acceptValue:[1,"accept-value"],inputHandler:[16]}]]],["amplify-federated-buttons_2",[[6,"amplify-strike"],[1,"amplify-federated-buttons",{authState:[1,"auth-state"],federated:[16],handleAuthStateChange:[16]}]]],["amplify-form-field_4",[[4,"amplify-form-field",{fieldId:[1,"field-id"],label:[1],description:[1],hint:[1],type:[1],required:[4],handleInputChange:[16],placeholder:[1],name:[1],value:[1],inputProps:[16],disabled:[4]}],[1,"amplify-hint"],[0,"amplify-input",{fieldId:[1,"field-id"],description:[1],type:[1],handleInputChange:[16],placeholder:[1],name:[1],value:[1],inputProps:[16],disabled:[4],required:[4],autoCompleted:[32]}],[4,"amplify-label",{htmlFor:[1,"html-for"]}]]],["amplify-auth-fields_9",[[0,"amplify-auth-fields",{formFields:[16]}],[0,"amplify-phone-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],hint:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4],dialCode:[8,"dial-code"]}],[0,"amplify-code-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],hint:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4]}],[0,"amplify-email-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4],hint:[1]}],[0,"amplify-password-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],hint:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4]}],[0,"amplify-username-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4],hint:[1]}],[1,"amplify-country-dial-code",{fieldId:[1,"field-id"],options:[16],handleInputChange:[16],dialCode:[8,"dial-code"]}],[1,"amplify-select",{options:[16],fieldId:[1,"field-id"],handleInputChange:[16],selected:[8]}],[4,"amplify-form-section",{handleSubmit:[16],submitButtonText:[1,"submit-button-text"],headerText:[1,"header-text"],testDataPrefix:[1,"test-data-prefix"],loading:[4],secondaryFooterContent:[1,"secondary-footer-content"]},[[0,"formSubmit","handleFormSubmit"]]]]],["amplify-radio-button_3",[[1,"amplify-totp-setup",{user:[16],handleAuthStateChange:[16],headerText:[1,"header-text"],issuer:[1],handleComplete:[16],standalone:[4],code:[32],setupMessage:[32],qrCodeImageSource:[32],qrCodeInput:[32],loading:[32]}],[0,"amplify-radio-button",{handleInputChange:[16],name:[1],value:[1],placeholder:[1],fieldId:[1,"field-id"],label:[1],checked:[4],disabled:[4],inputProps:[16]}],[1,"amplify-toast",{handleClose:[16],message:[1]}]]],["amplify-sign-in-button",[[6,"amplify-sign-in-button",{provider:[1]}]]],["amplify-amazon-button_5",[[1,"amplify-amazon-button",{clientId:[1,"client-id"],handleAuthStateChange:[16]}],[1,"amplify-auth0-button",{config:[16],handleAuthStateChange:[16]}],[1,"amplify-facebook-button",{appId:[1,"app-id"],handleAuthStateChange:[16]}],[1,"amplify-google-button",{handleAuthStateChange:[16],clientId:[1,"client-id"]}],[1,"amplify-oauth-button",{config:[16]}]]],["amplify-button_3",[[1,"amplify-loading-spinner"],[4,"amplify-section",{role:[1]}],[4,"amplify-button",{type:[1],variant:[1],handleButtonClick:[16],disabled:[4],icon:[1]}]]],["amplify-confirm-sign-in_7",[[1,"amplify-sign-in",{handleSubmit:[16],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],federated:[16],handleAuthStateChange:[16],usernameAlias:[1,"username-alias"],formFields:[16],hideSignUp:[4,"hide-sign-up"],loading:[32],signInAttributes:[32]}],[1,"amplify-confirm-sign-in",{handleSubmit:[16],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],handleAuthStateChange:[16],formFields:[16],user:[16],mfaOption:[32],loading:[32],code:[32]}],[1,"amplify-confirm-sign-up",{handleSubmit:[16],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],formFields:[16],handleAuthStateChange:[16],user:[16],usernameAlias:[1,"username-alias"],code:[32],loading:[32],userInput:[32]}],[1,"amplify-forgot-password",{headerText:[1,"header-text"],sendButtonText:[1,"send-button-text"],submitButtonText:[1,"submit-button-text"],formFields:[16],handleSend:[16],handleSubmit:[16],handleAuthStateChange:[16],usernameAlias:[1,"username-alias"],delivery:[32],loading:[32],forgotPasswordAttrs:[32]}],[1,"amplify-require-new-password",{headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],handleSubmit:[16],handleAuthStateChange:[16],user:[16],formFields:[16],password:[32],loading:[32]}],[1,"amplify-sign-up",{handleSubmit:[16],handleSignUp:[16],validationErrors:[1,"validation-errors"],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],haveAccountText:[1,"have-account-text"],signInText:[1,"sign-in-text"],formFields:[16],handleAuthStateChange:[16],usernameAlias:[1,"username-alias"],loading:[32],signUpAttributes:[32]}],[1,"amplify-verify-contact",{handleAuthStateChange:[16],user:[16],verifyAttr:[32],loading:[32],code:[32],contact:[32]}]]]],t)}))};!function(){if("undefined"!=typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}()},function(e,t,n){"use strict";n.r(t),n.d(t,"AuthFormField",(function(){return r.e})),n.d(t,"AuthState",(function(){return r.a})),n.d(t,"ChallengeName",(function(){return r.b})),n.d(t,"MfaOption",(function(){return r.c})),n.d(t,"UsernameAlias",(function(){return r.d})),n.d(t,"AccessLevel",(function(){return i.a})),n.d(t,"Translations",(function(){return a.a})),n.d(t,"AUTH_CHANNEL",(function(){return o.a})),n.d(t,"AUTH_STATE_CHANGE_EVENT",(function(){return o.h})),n.d(t,"TOAST_AUTH_ERROR_EVENT",(function(){return o.f})),n.d(t,"UI_AUTH_CHANNEL",(function(){return o.g})),n.d(t,"onAuthUIStateChange",(function(){return l.i}));n(0);var r=n(4),i=n(9),a=(n(5),n(1)),o=n(3),l=n(8)},function(e,t){e.exports=r},,,,,,,,function(e,t){e.exports=i}])}));
27
+ */var r,i,a,o,l;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,c=null,s=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(s,0),e}},f=Date.now();t.unstable_now=function(){return Date.now()-f},r=function(e){null!==u?setTimeout(r,0,e):(u=e,setTimeout(s,0))},i=function(e,t){c=setTimeout(e,t)},a=function(){clearTimeout(c)},o=function(){return!1},l=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,p=window.Date,m=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var y=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof y&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var g=p.now();t.unstable_now=function(){return p.now()-g}}var v=!1,b=null,E=-1,w=5,T=0;o=function(){return t.unstable_now()>=T},l=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var _=new MessageChannel,S=_.port2;_.port1.onmessage=function(){if(null!==b){var e=t.unstable_now();T=e+w;try{b(!0,e)?S.postMessage(null):(v=!1,b=null)}catch(e){throw S.postMessage(null),e}}else v=!1},r=function(e){b=e,v||(v=!0,S.postMessage(null))},i=function(e,n){E=m((function(){e(t.unstable_now())}),n)},a=function(){h(E),E=-1}}function k(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<$(i,t)))break e;e[r]=t,e[n]=i,n=r}}function x(e){return void 0===(e=e[0])?null:e}function C(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var a=2*(r+1)-1,o=e[a],l=a+1,u=e[l];if(void 0!==o&&0>$(o,n))void 0!==u&&0>$(u,o)?(e[r]=u,e[l]=n,r=l):(e[r]=o,e[a]=n,r=a);else{if(!(void 0!==u&&0>$(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function $(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],A=[],O=1,N=null,R=3,L=!1,I=!1,M=!1;function D(e){for(var t=x(A);null!==t;){if(null===t.callback)C(A);else{if(!(t.startTime<=e))break;C(A),t.sortIndex=t.expirationTime,k(P,t)}t=x(A)}}function F(e){if(M=!1,D(e),!I)if(null!==x(P))I=!0,r(U);else{var t=x(A);null!==t&&i(F,t.startTime-e)}}function U(e,n){I=!1,M&&(M=!1,a()),L=!0;var r=R;try{for(D(n),N=x(P);null!==N&&(!(N.expirationTime>n)||e&&!o());){var l=N.callback;if(null!==l){N.callback=null,R=N.priorityLevel;var u=l(N.expirationTime<=n);n=t.unstable_now(),"function"==typeof u?N.callback=u:N===x(P)&&C(P),D(n)}else C(P);N=x(P)}if(null!==N)var c=!0;else{var s=x(A);null!==s&&i(F,s.startTime-n),c=!1}return c}finally{N=null,R=r,L=!1}}function z(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var j=l;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){I||L||(I=!0,r(U))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,n,o){var l=t.unstable_now();if("object"==typeof o&&null!==o){var u=o.delay;u="number"==typeof u&&0<u?l+u:l,o="number"==typeof o.timeout?o.timeout:z(e)}else o=z(e),u=l;return e={id:O++,callback:n,priorityLevel:e,startTime:u,expirationTime:o=u+o,sortIndex:-1},u>l?(e.sortIndex=u,k(A,e),null===x(P)&&e===x(A)&&(M?a():M=!0,i(F,u-l))):(e.sortIndex=o,k(P,e),I||L||(I=!0,r(U))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();D(e);var n=x(P);return n!==N&&null!==N&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<N.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=n}}}},function(e,t,n){var r={"./amplify-amazon-button_5.entry.js":[28,14],"./amplify-auth-container.entry.js":[29,15],"./amplify-auth-fields_9.entry.js":[30,16],"./amplify-authenticator.entry.js":[31,4],"./amplify-button_3.entry.js":[32,17],"./amplify-chatbot.entry.js":[33,18],"./amplify-checkbox.entry.js":[35,19],"./amplify-confirm-sign-in_7.entry.js":[36,5],"./amplify-container.entry.js":[37,20],"./amplify-federated-buttons_2.entry.js":[38,21],"./amplify-federated-sign-in.entry.js":[39,22],"./amplify-form-field_4.entry.js":[40,23],"./amplify-greetings.entry.js":[41,24],"./amplify-icon-button.entry.js":[42,25],"./amplify-icon.entry.js":[43,6],"./amplify-link.entry.js":[44,26],"./amplify-nav_2.entry.js":[45,27],"./amplify-photo-picker.entry.js":[46,28],"./amplify-picker.entry.js":[47,29],"./amplify-radio-button_3.entry.js":[48,7],"./amplify-s3-album.entry.js":[49,8],"./amplify-s3-image-picker.entry.js":[50,9],"./amplify-s3-image.entry.js":[51,10],"./amplify-s3-text-picker.entry.js":[52,11],"./amplify-s3-text.entry.js":[53,12],"./amplify-select-mfa-type.entry.js":[54,30],"./amplify-sign-in-button.entry.js":[55,13],"./amplify-tooltip.entry.js":[56,31]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return n.e(t[1]).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id=22,e.exports=i},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,l)}u((r=r.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=o.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}},o=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o},l=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var u=l(n(6)),c=n(5),s=n(10),f=n(25),d=new(n(0).Logger)("withAuthenticator");t.withAuthenticator=function(e,t){return function(n){var l=o(u.default.useState(!1),2),p=l[0],m=l[1];return u.default.useEffect((function(){return c.appendToCognitoUserAgent("withAuthenticator"),function(){i(this,void 0,void 0,(function(){var e;return a(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,c.Auth.currentAuthenticatedUser()];case 1:return t.sent()&&m(!0),[3,3];case 2:return e=t.sent(),d.debug(e),[3,3];case 3:return[2]}}))}))}(),f.onAuthUIStateChange((function(e){e===f.AuthState.SignedIn?m(!0):e===f.AuthState.SignedOut&&m(!1)}))}),[]),p?u.default.createElement(e,r({},n)):u.default.createElement(s.AmplifyContainer,null,u.default.createElement(s.AmplifyAuthContainer,null,u.default.createElement(s.AmplifyAuthenticator,r({},t,n))))}}},function(e,t,n){"use strict";function r(){var e=[];if("undefined"!=typeof window){var t=window;t.customElements&&(!t.Element||t.Element.prototype.closest&&t.Element.prototype.matches&&t.Element.prototype.remove&&t.Element.prototype.getRootNode)||e.push(n.e(3).then(n.t.bind(null,61,7))),"function"==typeof Object.assign&&Object.entries&&Array.prototype.find&&Array.prototype.includes&&String.prototype.startsWith&&String.prototype.endsWith&&(!t.NodeList||t.NodeList.prototype.forEach)&&t.fetch&&function(){try{var e=new URL("b","http://a");return e.pathname="c%20d","http://a/c%20d"===e.href&&e.searchParams}catch(e){return!1}}()&&"undefined"!=typeof WeakMap||e.push(n.e(1).then(n.t.bind(null,62,7)))}return Promise.all(e)}n.r(t),n.d(t,"applyPolyfills",(function(){return r})),n.d(t,"defineCustomElements",(function(){return c}));var i=n(2),a=n(0);if(Object(a.browserOrNode)().isBrowser){var o=document.createElement("style");o.appendChild(document.createTextNode("\n :root {\n /* Typography */\n --amplify-font-family: 'Amazon Ember', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n\n --amplify-text-xxs: 0.75rem;\n --amplify-text-xs: 0.81rem;\n --amplify-text-sm: 0.875rem;\n --amplify-text-md: 1rem;\n --amplify-text-md-sub: 1.15rem;\n --amplify-text-lg: 1.5rem;\n --amplify-text-xl: 2rem;\n --amplify-text-xxl: 2.5rem;\n\n /* Colors */\n --amplify-primary-color: #ff9900;\n --amplify-primary-contrast: var(--amplify-white);\n --amplify-primary-tint: #ffac31;\n --amplify-primary-shade: #e88b01;\n\n --amplify-secondary-color: #152939;\n --amplify-secondary-contrast: var(--amplify-white);\n --amplify-secondary-tint: #31465f;\n --amplify-secondary-shade: #1F2A37;\n\n --amplify-tertiary-color: #5d8aff;\n --amplify-tertiary-contrast: var(--amplify-white);\n --amplify-tertiary-tint: #7da1ff;\n --amplify-tertiary-shade: #537BE5;\n\n --amplify-background-color: var(--amplify-white);\n\n /* Neutral */\n --amplify-grey: #828282;\n --amplify-light-grey: #c4c4c4;\n --amplify-white: #ffffff;\n --amplify-smoke-white: #f5f5f5;\n --amplify-red: #dd3f5b;\n --amplify-blue: #099ac8;\n }\n "));var l=document.getElementsByTagName("head")[0],u=l.firstChild;l.insertBefore(o,u)}var c=function(e,t){return"undefined"==typeof window?Promise.resolve():(i.a&&i.a.supports&&i.a.supports("color","var(--c)")?Object(i.d)():n.e(2).then(n.t.bind(null,63,7)).then((function(){return(i.j.$cssShim$=i.l.__cssshim)?i.j.$cssShim$.i():0}))).then((function(){return Object(i.e)([["amplify-icon",[[2,"amplify-icon",{name:[1]}]]],["amplify-authenticator",[[1,"amplify-authenticator",{initialAuthState:[1,"initial-auth-state"],federated:[16],usernameAlias:[1,"username-alias"],handleAuthStateChange:[16],hideToast:[4,"hide-toast"],authState:[32],authData:[32],toastMessage:[32]}]]],["amplify-federated-sign-in",[[1,"amplify-federated-sign-in",{authState:[1,"auth-state"],federated:[8]}]]],["amplify-select-mfa-type",[[1,"amplify-select-mfa-type",{MFATypes:[16],authData:[16],handleSubmit:[16],TOTPSetup:[32],selectMessage:[32],MFAMethod:[32],isTOTP:[32],isNoMFA:[32],isSMS:[32],loading:[32],isToastVisible:[32]}]]],["amplify-s3-image-picker",[[4,"amplify-s3-image-picker",{path:[1],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fileToKey:[16],headerTitle:[1,"header-title"],headerHint:[1,"header-hint"],placeholderHint:[1,"placeholder-hint"],buttonText:[1,"button-text"],src:[32]}]]],["amplify-chatbot",[[1,"amplify-chatbot",{botName:[1,"bot-name"],clearOnComplete:[4,"clear-on-complete"],conversationModeOn:[4,"conversation-mode-on"],welcomeMessage:[1,"welcome-message"],botTitle:[1,"bot-title"],voiceEnabled:[4,"voice-enabled"],textEnabled:[4,"text-enabled"],silenceTime:[2,"silence-time"],silenceThreshold:[2,"silence-threshold"],messages:[32],text:[32],chatState:[32],error:[32]},[[0,"formSubmit","submitHandler"]]]]],["amplify-greetings",[[1,"amplify-greetings",{username:[1],logo:[16],handleAuthStateChange:[16]}]]],["amplify-s3-album",[[1,"amplify-s3-album",{path:[1],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fileToKey:[16],filter:[16],sort:[16],picker:[4],handleOnLoad:[16],handleOnError:[16],pickerText:[1,"picker-text"],albumItems:[32]}]]],["amplify-s3-text-picker",[[1,"amplify-s3-text-picker",{path:[1],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fileToKey:[16],fallbackText:[1,"fallback-text"],src:[32]}]]],["amplify-icon-button",[[1,"amplify-icon-button",{name:[1],tooltip:[1],autoShowTooltip:[4,"auto-show-tooltip"]}]]],["amplify-checkbox",[[1,"amplify-checkbox",{name:[1],value:[1],fieldId:[1,"field-id"],label:[1],checked:[4],disabled:[4]}]]],["amplify-auth-container",[[4,"amplify-auth-container"]]],["amplify-container",[[4,"amplify-container"]]],["amplify-link",[[1,"amplify-link",{role:[1]}]]],["amplify-photo-picker",[[1,"amplify-photo-picker",{headerTitle:[1,"header-title"],headerHint:[1,"header-hint"],placeholderHint:[1,"placeholder-hint"],buttonText:[1,"button-text"],previewSrc:[1,"preview-src"],handleClick:[16],previewState:[32],file:[32]}]]],["amplify-s3-image",[[1,"amplify-s3-image",{imgKey:[1,"img-key"],path:[1],alt:[1],body:[16],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],handleOnLoad:[16],handleOnError:[16],imgProps:[16],src:[32]}]]],["amplify-s3-text",[[1,"amplify-s3-text",{textKey:[1,"text-key"],path:[1],body:[16],contentType:[1,"content-type"],level:[1],track:[4],identityId:[1,"identity-id"],fallbackText:[1,"fallback-text"],src:[32]}]]],["amplify-tooltip",[[1,"amplify-tooltip",{text:[1],shouldAutoShow:[4,"should-auto-show"]}]]],["amplify-nav_2",[[1,"amplify-sign-out",{handleAuthStateChange:[16],buttonText:[1,"button-text"]}],[1,"amplify-nav"]]],["amplify-picker",[[1,"amplify-picker",{pickerText:[1,"picker-text"],acceptValue:[1,"accept-value"],inputHandler:[16]}]]],["amplify-federated-buttons_2",[[6,"amplify-strike"],[1,"amplify-federated-buttons",{authState:[1,"auth-state"],federated:[16],handleAuthStateChange:[16]}]]],["amplify-form-field_4",[[4,"amplify-form-field",{fieldId:[1,"field-id"],label:[1],description:[1],hint:[1],type:[1],required:[4],handleInputChange:[16],placeholder:[1],name:[1],value:[1],inputProps:[16],disabled:[4]}],[1,"amplify-hint"],[0,"amplify-input",{fieldId:[1,"field-id"],description:[1],type:[1],handleInputChange:[16],placeholder:[1],name:[1],value:[1],inputProps:[16],disabled:[4],required:[4],autoCompleted:[32]}],[4,"amplify-label",{htmlFor:[1,"html-for"]}]]],["amplify-auth-fields_9",[[0,"amplify-auth-fields",{formFields:[16]}],[0,"amplify-phone-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],hint:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4],dialCode:[8,"dial-code"]}],[0,"amplify-code-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],hint:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4]}],[0,"amplify-email-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4],hint:[1]}],[0,"amplify-password-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],hint:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4]}],[0,"amplify-username-field",{fieldId:[1,"field-id"],label:[1],placeholder:[1],required:[4],handleInputChange:[16],value:[1],inputProps:[16],disabled:[4],hint:[1]}],[1,"amplify-country-dial-code",{fieldId:[1,"field-id"],options:[16],handleInputChange:[16],dialCode:[8,"dial-code"]}],[1,"amplify-select",{options:[16],fieldId:[1,"field-id"],handleInputChange:[16],selected:[8]}],[4,"amplify-form-section",{handleSubmit:[16],submitButtonText:[1,"submit-button-text"],headerText:[1,"header-text"],testDataPrefix:[1,"test-data-prefix"],loading:[4],secondaryFooterContent:[1,"secondary-footer-content"]},[[0,"formSubmit","handleFormSubmit"]]]]],["amplify-radio-button_3",[[1,"amplify-totp-setup",{user:[16],handleAuthStateChange:[16],headerText:[1,"header-text"],issuer:[1],handleComplete:[16],standalone:[4],code:[32],setupMessage:[32],qrCodeImageSource:[32],qrCodeInput:[32],loading:[32]}],[0,"amplify-radio-button",{handleInputChange:[16],name:[1],value:[1],placeholder:[1],fieldId:[1,"field-id"],label:[1],checked:[4],disabled:[4],inputProps:[16]}],[1,"amplify-toast",{handleClose:[16],message:[1]}]]],["amplify-sign-in-button",[[6,"amplify-sign-in-button",{provider:[1]}]]],["amplify-amazon-button_5",[[1,"amplify-amazon-button",{clientId:[1,"client-id"],handleAuthStateChange:[16]}],[1,"amplify-auth0-button",{config:[16],handleAuthStateChange:[16]}],[1,"amplify-facebook-button",{appId:[1,"app-id"],handleAuthStateChange:[16]}],[1,"amplify-google-button",{handleAuthStateChange:[16],clientId:[1,"client-id"]}],[1,"amplify-oauth-button",{config:[16]}]]],["amplify-button_3",[[1,"amplify-loading-spinner"],[4,"amplify-section",{role:[1]}],[4,"amplify-button",{type:[1],variant:[1],handleButtonClick:[16],disabled:[4],icon:[1]}]]],["amplify-confirm-sign-in_7",[[1,"amplify-sign-in",{handleSubmit:[16],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],federated:[16],handleAuthStateChange:[16],usernameAlias:[1,"username-alias"],formFields:[16],hideSignUp:[4,"hide-sign-up"],loading:[32],signInAttributes:[32]}],[1,"amplify-confirm-sign-in",{handleSubmit:[16],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],handleAuthStateChange:[16],formFields:[16],user:[16],mfaOption:[32],loading:[32],code:[32]}],[1,"amplify-confirm-sign-up",{handleSubmit:[16],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],formFields:[16],handleAuthStateChange:[16],user:[16],usernameAlias:[1,"username-alias"],code:[32],loading:[32],userInput:[32]}],[1,"amplify-forgot-password",{headerText:[1,"header-text"],sendButtonText:[1,"send-button-text"],submitButtonText:[1,"submit-button-text"],formFields:[16],handleSend:[16],handleSubmit:[16],handleAuthStateChange:[16],usernameAlias:[1,"username-alias"],delivery:[32],loading:[32],forgotPasswordAttrs:[32]}],[1,"amplify-require-new-password",{headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],handleSubmit:[16],handleAuthStateChange:[16],user:[16],formFields:[16],password:[32],loading:[32]}],[1,"amplify-sign-up",{handleSubmit:[16],handleSignUp:[16],validationErrors:[1,"validation-errors"],headerText:[1,"header-text"],submitButtonText:[1,"submit-button-text"],haveAccountText:[1,"have-account-text"],signInText:[1,"sign-in-text"],formFields:[16],handleAuthStateChange:[16],usernameAlias:[1,"username-alias"],loading:[32],signUpAttributes:[32]}],[1,"amplify-verify-contact",{handleAuthStateChange:[16],user:[16],verifyAttr:[32],loading:[32],code:[32],contact:[32]}]]]],t)}))};!function(){if("undefined"!=typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var e=HTMLElement;window.HTMLElement=function(){return Reflect.construct(e,[],this.constructor)},HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}()},function(e,t,n){"use strict";n.r(t),n.d(t,"AuthFormField",(function(){return r.e})),n.d(t,"AuthState",(function(){return r.a})),n.d(t,"ChallengeName",(function(){return r.b})),n.d(t,"MfaOption",(function(){return r.c})),n.d(t,"UsernameAlias",(function(){return r.d})),n.d(t,"AccessLevel",(function(){return i.a})),n.d(t,"Translations",(function(){return a.a})),n.d(t,"AUTH_CHANNEL",(function(){return o.a})),n.d(t,"AUTH_STATE_CHANGE_EVENT",(function(){return o.h})),n.d(t,"TOAST_AUTH_ERROR_EVENT",(function(){return o.f})),n.d(t,"UI_AUTH_CHANNEL",(function(){return o.g})),n.d(t,"onAuthUIStateChange",(function(){return l.i}));n(0);var r=n(4),i=n(9),a=(n(5),n(1)),o=n(3),l=n(8)},function(e,t){e.exports=r},,,,,,,,function(e,t){e.exports=i}])}));
28
28
  //# sourceMappingURL=aws-amplify-react.min.js.map