1System.register(["advanced-profilepanels--panel-logged-out.css"],(function(){"use strict";var e;return{setters:[function(t){e=t.default}],execute:function(){var t={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"wrapper",class:"ccapp__profile-panel ccapp__profile-panel-logged-out "+(e.opened?" ccapp-profile-panel-opened ":"")+(e.compact?" compact ":""),on:{mouseover:function(t){return e.getMouseOver()},mouseleave:function(t){return e.getMouseLeave()}}},[n("div",{staticClass:"ccapp--profile-panel-icon-wrapper",on:{click:e.loginAction}},[n("span",{staticClass:"ccapp--profile-panel-icon sf sf-filled-in sf-profile-1"})]),e._v(" "),n("div",{staticClass:"ccapp--profile-panel-content-wrapper-outer"},[n("div",{staticClass:"ccapp--profile-panel-content-wrapper"},[n("div",{staticClass:"ccapp--profile-panel-content-wrapper-click-catcher"},[n("div",{ref:"contentWrapperInner",staticClass:"ccapp--profile-panel-content-wrapper-inner"},[n("span",{staticClass:"ccapp--profile-panel-content-wrapper-name",domProps:{textContent:e._s(e.translationsJson.panels.notLoggedIn)}}),e._v(" "),e.showLoginButton?n("div",{staticClass:"ccapp--profile-panel-button-wrapper"},[n("button",{ref:"loginToggler",staticClass:"ccapp--profile-panel-content-wrapper-logout",domProps:{textContent:e._s(e.translationsJson.panels.login)},on:{click:e.loginAction}})]):e._e()])])])])])},staticRenderFns:[],props:{alwaysOpen:{type:Boolean,required:!0},showLoginButton:{type:Boolean,required:!0},translations:{type:String,required:!0}},data:()=>({opened:!1,compact:!1,showLoginPanel:!1,translationsJson:{}}),created(){this.translationsJson=JSON.parse(this.$props.translations)},mounted(){this.alwaysOpen&&(this.opened=!0),this.compact=this.needsSpace()},methods:{loginAction(){let e=document.querySelectorAll("form[id^='login-form-']"),t=!1;for(let n=0;n<e.length;n++)if(null!==e[n].offsetParent){let o=e[n].querySelectorAll("input[type='text']")[0];if(null!=o){o.focus(),t=!0;break}}t||this.$globalEventBus.$emit("ccapp-toggle-login-overlay")},getMouseOver(){this.alwaysOpen||(this.opened=!0)},getMouseLeave(){this.alwaysOpen||this.showLoginPanel||(this.opened=!1)},documentClickListener:function(e){var t=(e=e||window.event).srcElement;t.isEqualNode(this.$refs.loginPanel)||t.isEqualNode(this.$refs.loginToggler)||null===t.closest(".ccapp--profile-panel-login-wrapper-outer")&&(this.showLoginPanel=!1)},needsSpace:function(){let e=this.$refs.contentWrapperInner.getBoundingClientRect();return e.x+e.width>document.body.scrollWidth},getAlwaysOpen(){return this.$props.alwaysOpen},getShowLoginButton(){return this.$props.showLoginButton}}};document.adoptedStyleSheets=[...document.adoptedStyleSheets,e],Pegasus.Common.Common.Framework.Vuejs.registerComponent("advanced-profile-panels-logged-out-panel",{AdvancedProfilePanelsLoggedOutPanel:t})}}})); 2//# sourceMappingURL=advanced-profilepanels--panel-logged-out.system.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.