1"use strict";(self.webpackChunkweb=self.webpackChunkweb||[]).push([[869],{87869:function(n,e,t){t.r(e);var u=t(69084),i=t(48793),o=t(90729),r=t(55255),s=t(74590),l=t(56723);e.default=function(){var n,e,t,a;(0,s.MP)();var c=(0,o.j)(),f=(0,o.G)(function(n){return n.users.user});if(!f)return null;var d=[null===(n=f.about)||void 0===n?void 0:n.givenName,null===(e=f.about)||void 0===e?void 0:e.familyName].filter(Boolean).join(" ")||(null===(t=f.about)||void 0===t?void 0:t.name)||(null===(a=f.contact)||void 0===a?void 0:a.email);return(0,l.jsxs)("div",{className:"gap-xs px-lg flex items-center justify-center",children:[(0,l.jsx)("span",{className:"text-s text-fg_secondary",children:(0,r._t)("features.bookingWidget.WidgetSessionRow.loggedIn",{name:d})}),(0,l.jsx)("button",{type:"button",className:"text-s text-fg_link underline",onClick:function(){c(u.X.logout()),i.E.removeHeader("MpAuthorization")},children:(0,r._t)("logOut")})]})}},74590:function(n,e,t){t.d(e,{MP:function(){return v},ss:function(){return f}});var u=t(69084),i=t(95513),o=t(48793),r=t(15669),s=t(90729),l=t(58416),a=t(82483),c=function(){o.E.removeHeader("MpAuthorization"),"framed"===(0,i.j)()&&(0,r.a1)()},f=function(n,e,t,i){var o=function(){c(),n(u.X.finishLogin({user:null,success:!1},t)),null===i||void 0===i||i()};return l.D.getProfile(e,!1).then(function(e){if(null===e||void 0===e||!e.token)return o();n(u.X.finishLogin({user:e,success:!0},t))},o)},d=null,v=function(){var n=(0,s.j)(),e=(0,s.G)(function(n){return n.users}),t=e.user,i=e.hasFetched;(0,a.useEffect)(function(){var e=(0,r.mE)();e?i?t||c():function(n,e){d||(d=f(n,e,!1).finally(function(){d=null}))}(n,e):i||n(u.X.setFetched())},[])}}}]); 2//# sourceMappingURL=869.ea4f3dfc6db89aa0a1cc.chunk.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.