import{h}from"./index-38ad4957.js";import{c as createStyleSheet}from"./JSS-67b5cff8.js";var style={Container:{display:"flex",color:"var(--sl-color-neutral-600)"},Text:{maxWidth:"400px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis"},Link:{textDecoration:"none",color:"var(--sl-color-primary-700)",cursor:"pointer","&:hover":{color:"var(--sl-color-primary-800)"}}};var vanillaStyle="\n:host, sqm-logout-current-user{\n  display: inline;   \n}\n\n";var sheet=createStyleSheet(style);var styleString=sheet.toString();function LogoutCurrentUserView(e){var t=e.loading,r=e.filledInEmailText,s=e.onSwitchClick,l=e.switchUserText,a=e.emailErrorText;return h("span",{class:sheet.classes.Container,part:"sqm-base"},h("style",{type:"text/css"},styleString,vanillaStyle),h("span",{class:sheet.classes.Text},t?"...":r||a)," ","(",h("span",{class:sheet.classes.Link,onClick:s,part:"sqm-link"},l),")")}export{LogoutCurrentUserView as L};