{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-greetings.entry.js"],"names":["amplifyGreetingsCss","AmplifyGreetings","hostRef","this","username","logo","handleAuthStateChange","prototype","render","class","name","style"],"mappings":"kHAAA,qHAOIA,EAAsB,2lBACtBC,EAAkC,WAClC,SAASA,EAAiBC,GACtB,eAAiBC,KAAMD,GAEvBC,KAAKC,SAAW,KAEhBD,KAAKE,KAAO,KAEZF,KAAKG,sBAAwB,OAKjC,OAHAL,EAAiBM,UAAUC,OAAS,WAChC,OAAQ,cAAD,CAAG,SAAU,CAAEC,MAAO,aAAe,eAAE,OAAQ,CAAEA,MAAO,QAAU,eAAE,OAAQ,CAAEC,KAAM,QAAUP,KAAKE,MAAQ,eAAE,OAAQ,KAAMF,KAAKE,QAAS,eAAE,OAAQ,CAAEI,MAAO,OAAS,eAAE,OAAQ,CAAEC,KAAM,OAAS,eAAE,cAAe,KAAMP,KAAKC,UAAa,cAAD,CAAG,OAAQ,CAAEM,KAAM,qBAAuB,eAAE,OAAQ,KAAM,UAAWP,KAAKC,WAAa,eAAE,mBAAoB,CAAEE,sBAAuBH,KAAKG,6BAEvXL,EAb0B,GAerCA,EAAiBU,MAAQX","file":"js/chunk-2d0c9398.8f02ffaf.js","sourcesContent":["import { r as registerInstance, h } from './index-3fb5c139.js';\nimport '@aws-amplify/core';\nimport './auth-types-78df304e.js';\nimport '@aws-amplify/auth';\nimport './Translations-c833f663.js';\nimport './constants-d1abe7de.js';\nimport { d as dispatchAuthStateChangeEvent } from './helpers-4f61e5ff.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.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":""}