PageSourceSearch

https://cdn.logitravel.pt/babylon/myaccount/logitravel/client/chunks/GoogleLogin.render.BlW-huSM.js

js logitravel.pt collected 2026-09-26 13:13:04 UTC 1,181 bytes, 2 lines download raw bytes

1import{j as a,i as g}from"./index.DbJ6Lgxq.js";import{G as m,u as p}from"./index.esm.oa-pl8IN.js";import{R as d}from"./routes.C8LIrObR.js";import{u as f}from"../entries/index.CjjAcLjM.js";import"./index.CL4vRv0f.js";import"./index.ruGWkIsk.js";import"./index.6jWBESPM.js";import"./useValue.BL33Bj0c.js";import"./section.styled.BYCtmIVC.js";import"./constants.kZ3kFwet.js";const G=({endpoint:t,children:o,returnUrl:e,...i})=>{const{onSubmitFormLogin:n,loginStatus:s,loginResponseError:l}=f({endpoint:t,hasEncryptedParams:!1,url:d.BABYLON_API_LOGIN_EXTERNAL}),c=p({onSuccess:r=>{(async()=>{try{if(!r)return;await n({accessToken:r.access_token,provider:"GoogleIdentityServices",callbackUrl:e})}catch(u){console.error("Error during Google login:",u,s,l)}})()}});return console.log(o),a.jsx(g,{"data-testid":"GoogleLoginButton",height:"auto",onClick:r=>{r.preventDefault(),c()},variant:"google",...i,children:o})},y=({appId:t,endpoint:o,className:e,children:i,returnUrl:n})=>{const s={clientId:t,scope:"openid email"};return a.jsx(m,{...s,children:a.jsx(G,{endpoint:o,className:e,returnUrl:n,children:i})})};export{y as default};
2//# sourceMappingURL=GoogleLogin.render.BlW-huSM.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.