1var initGoogleLogin=function(){"undefined"!=typeof sGoogleAppId&&""!==sGoogleAppId&&(google.accounts.id.initialize({client_id:sGoogleAppId,callback:handleCredentialResponse}),$(el("btnGoogleLogin")).length>0&&google.accounts.id.renderButton(document.getElementById("btnGoogleLogin"),{theme:"outline",size:"large"}),$(el("btnGoogleLoginIdentify")).length>0&&google.accounts.id.renderButton(document.getElementById("btnGoogleLoginIdentify"),{theme:"outline",size:"large"}),$(el("btnGoogleRegister")).length>0&&google.accounts.id.renderButton(document.getElementById("btnGoogleRegister"),{theme:"outline",size:"large"}))};function handleCredentialResponse(e){clearInlineErrors(),$("body #btnGoogleLogin, body #btnGoogleLoginIdentify, body #btnGoogleRegister").prop("disabled",!0).addClass("loading");var o=!1;if($(el("frmRegister")).length>0?(o=validateCheckbox($(el("frmRegister"))))||inlineAlert("error",tAcceptTermsError,!1,$(el("btnGoogleRegister")),!1):o=!0,o){var n="&credential="+e.credential+"&type=google";uAjax="/index.cfm/customer/ajax/social",callAjax("social",n,"post").success((function(e){if(""==e.errorType){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"login",method:"Google"});var o=new URLSearchParams(window.location.search).get("returnUrl");o?window.location=o:"undefined"!=typeof sRedirect&&""!==sRedirect?(sRedirect.indexOf("/quickcheckout")>=0&&(sRedirect+="/true/true/"+e.email),window.location=sRedirect):window.location="/"+sCurrentLanguageCode+"/transaction"}else $("body #btnGoogleLogin, body #btnGoogleLoginIdentify, body #btnGoogleRegister").prop("disabled",!1).removeClass("loading"),$(el("btnGoogleLogin")).length>0&&inlineAlert("error",e.errorMessage,e.errorUnhandled,$(el("btnGoogleLogin"))),$(el("btnGoogleLoginIdentify")).length>0&&inlineAlert("error",e.errorMessage,e.errorUnhandled,$(el("btnGoogleLoginIdentify"))),$(el("btnGoogleRegister")).length>0&&inlineAlert("error",e.errorMessage,e.errorUnhandled,$(el("btnGoogleRegister")))}))}else $("body #btnGoogleLogin, body #btnGoogleLoginIdentify, body #btnGoogleRegister").prop("disabled",!1).removeClass("loading")} 2//# sourceMappingURL=google.min.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.