1define(['jquery'],function($){function showSocial(parent){parent.find('.social-login').removeClass('hide');parent.find('.fcelebri-login').addClass('hide');parent.find('.fcelebri-register').addClass('hide');parent.trigger('align');} 2function showLogin(parent){parent.find('.social-login').addClass('hide');parent.find('.fcelebri-login').removeClass('hide');parent.find('.fcelebri-register').addClass('hide');parent.find('input[name=action]').val('login');parent.trigger('align');} 3function showRegister(parent){parent.find('.social-login').addClass('hide');parent.find('.fcelebri-login').addClass('hide');parent.find('.fcelebri-register').removeClass('hide');parent.find('input[name=action]').val('register');parent.trigger('align');} 4function init(){$('.register-login-container').on('click','.frasicelebri_login',function(e){e.preventDefault();_gaq.push(['_trackEvent','Login/Registration','Change to Login','']);showLogin($(e.target).closest('.register-login-container'));});$('.register-login-container').on('click','.frasicelebri_register',function(e){e.preventDefault();_gaq.push(['_trackEvent','Login/Registration','Change to Register','']);
4showRegister($(e.target).closest('.register-login-container'));});$('.register-login-container').on('click','.social_login',function(e){e.preventDefault();_gaq.push(['_trackEvent','Login/Registration','Change to Social','']);showSocial($(e.target).closest('.register-login-container'));});$('.register-login-container .icon').tooltip({});require(['fc/dataconsent'],function(fc_dataconsent){$('.fcelebri-register form').submit(function(){fc_dataconsent.dataConsentSubmit($(this));});});} 5return{'init':init};});
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.