{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-greetings.entry.js"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+D;AACpC;AACO;AACP;AACS;AACH;AACyC;AAC1E,iCAAiC,wCAAwC,yCAAyC,yCAAyC,WAAW,oBAAoB,aAAa,6BAA6B,yCAAyC,iCAAiC,iBAAiB,+BAA+B,sBAAsB,8BAA8B,KAAK,oBAAoB,aAAa,2BAA2B,kBAAkB,MAAM,oBAAoB,aAAa,2BAA2B,kBAAkB,wBAAwB,iBAAiB,iBAAiB;AACnnB;AACA;AACA,QAAQ,4DAAgB;AACxB;AACA;AACA;AACA;AACA;AACA,qCAAqC,sDAA4B;AACjE;AACA;AACA;AACA;AACA;AACA,gBAAgB,4DAAC,YAAY,qBAAqB,EAAE,4DAAC,UAAU,gBAAgB,EAAE,4DAAC,UAAU,eAAe,eAAe,4DAAC,6BAA6B,4DAAC,UAAU,eAAe,EAAE,4DAAC,UAAU,cAAc,EAAE,4DAAC,wCAAwC,4DAAC,UAAU,4BAA4B,EAAE,4DAAC,4CAA4C,4DAAC,sBAAsB,oDAAoD;AACzZ;AACA;AACA,CAAC;AACD;AACiD","file":"js/96.js","sourcesContent":["import { r as registerInstance, h } from './index-83f2275b.js';\nimport '@aws-amplify/core';\nimport './auth-types-78df304e.js';\nimport '@aws-amplify/auth';\nimport './Translations-108d469f.js';\nimport './constants-c8ecaa24.js';\nimport { d as dispatchAuthStateChangeEvent } from './helpers-14fcb50c.js';\nvar amplifyGreetingsCss = \":host{--background-color:var(--amplify-white);--border-color:var(--amplify-light-grey);--font-family:var(--amplify-font-family)}.greetings{display:-ms-flexbox;display:flex;border:1px solid transparent;background-color:var(--background-color);border-color:var(--border-color);padding:0.625rem;font-family:var(--font-family);-ms-flex-pack:justify;justify-content:space-between}.nav{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center}.logo{display:-ms-flexbox;display:flex;-ms-flex-item-align:center;align-self:center;justify-self:flex-start}amplify-sign-out{margin-left:1rem}\";\nvar AmplifyGreetings = /** @class */ (function () {\n function AmplifyGreetings(hostRef) {\n registerInstance(this, hostRef);\n /** Username displayed in the greetings */\n this.username = null;\n /** Logo displayed inside of the header */\n this.logo = null;\n /** Auth state change handler for this component */\n this.handleAuthStateChange = dispatchAuthStateChangeEvent;\n }\n AmplifyGreetings.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyGreetings.prototype.render = function () {\n return (h(\"header\", { class: \"greetings\" }, h(\"span\", { class: \"logo\" }, h(\"slot\", { name: \"logo\" }, this.logo && h(\"span\", null, this.logo))), h(\"span\", { class: \"nav\" }, h(\"slot\", { name: \"nav\" }, h(\"amplify-nav\", null, this.username && (h(\"slot\", { name: \"greetings-message\" }, h(\"span\", null, \"Hello, \", this.username))), h(\"amplify-sign-out\", { handleAuthStateChange: this.handleAuthStateChange }))))));\n };\n return AmplifyGreetings;\n}());\nAmplifyGreetings.style = amplifyGreetingsCss;\nexport { AmplifyGreetings as amplify_greetings };\n"],"sourceRoot":""}