PageSourceSearch

https://apps.gntech.med.br/build/assets/MedicoFlow.flow.test-CRMgBD41.js

js gntech.med.br collected 2026-10-06 07:25:58 UTC 1,676 bytes, 1 lines download raw bytes

1import{j as i,r as m,c as u}from"./app-sHYn2X7e.js";import{MedicoFlow as l}from"./MedicoFlow-CAdzP1Eh.js";import{v as e,d as p,i as d,g as s}from"./vi.bdSIJ99Y-BYmWDfWG.js";/* empty css            */import"./useAuthService-BAmA7tEa.js";import"./utils-F4WfWTF3.js";import"./useAuthRequest-BrKsx8xn.js";import"./Checkbox-Rvc1vh2A.js";import"./Fieldset-Daj_Gysf.js";import"./Heading-2Q3Vqvg3.js";import"./Input-s6BTVf52.js";import"./Link-BKiPdrJP.js";import"./AuthStepLayout-eTBq2Iog.js";import"./Mail01-BlXABGJN.js";import"./extends-CF3RwP-h.js";const{sendMock:r}=e.hoisted(()=>({sendMock:e.fn()}));e.mock("@/pages/Auth/shared/hooks/useAuthRequest",()=>({useAuthRequest:()=>({isSubmitting:!1,errors:{},error:"",send:r,setError:e.fn(),setErrors:e.fn()})}));e.mock("@/layouts/LoginLayout",()=>({LoginLayout:({children:t})=>i.jsx("div",{children:t})}));e.mock("@/components/Logo",()=>({Logo:()=>i.jsx("div",{})}));e.mock("@/hooks/use-mobile",()=>({useIsMobile:()=>!0}));p("Medico flow",()=>{d("moves to login step after email validation succeeds",async()=>{r.mockImplementationOnce((v,b,o)=>{var a;return(a=o==null?void 0:o.onSuccess)==null||a.call(o,{success:!0}),Promise.resolve({success:!0})});const t=document.createElement("div");document.body.appendChild(t),await m.act(async()=>{u.createRoot(t).render(i.jsx(l,{}))});const n=t.querySelector('input[name="email"]'),c=t.querySelector("form");n.value="[email protected]",await m.act(async()=>{c.dispatchEvent(new Event("submit",{bubbles:!0,cancelable:!0}))}),s(r).toHaveBeenCalledWith("/api/auth/medico/verify",{email:"[email protected]"},s.objectContaining({onSuccess:s.any(Function)})),s(t.textContent).toContain("Senha")})});

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.