(this["webpackJsonpexame-pezinho"]=this["webpackJsonpexame-pezinho"]||[]).push([[0],{244:function(e,n,t){"use strict";t.r(n);var r,o,a,i,c,s,l,d,u,b,p=t(1),h=t.n(p),j=t(12),m=t.n(j),g=t(6),x=t(5),O=Object(x.b)(r||(r=Object(g.a)(["\n * {\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n outline: 0;\n }\n body {\n -webkit-font-smoothing: antialiased;\n background: #dee8fd;\n }\n body, input, button {\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n }\n h1, h2, h3, h4, h5, h6 {\n font-weight: 500;\n }\n button {\n cursor: pointer;\n transition: 0.2s;\n\n &:hover {\n filter: brightness(1.5)\n }\n }\n a {\n text-decoration: none;\n a:visited {\n text-decoration: none;\n }\n }\n\n html {\n @media (max-width: 1080px) {\n font-size: 97.75%;\n }\n @media (max-width: 720px) {\n font-size: 87.5%;\n }\n }\n\n [disabled] {\n opacity: 0.6;\n cursor: not-allowed;\n }\n\n /* width */\n::-webkit-scrollbar {\n width: 15px;\n}\n\n/* Track */\n::-webkit-scrollbar-track {\n box-shadow: inset 0 0 5px grey;\n border-radius: 10px;\n}\n\n/* Handle */\n::-webkit-scrollbar-thumb {\n background: #d2d2d2;\n border-radius: 50px;\n}\n\n/* Handle on hover */\n::-webkit-scrollbar-thumb:hover {\n background: #a2a2a2;\n}\n"]))),f=t(53),A=t(8),v=t(18),w=t.n(v),I=t(32),D=t(16),S=t(108),k=t(46),y=t(114),B=t(115),C=t(45),E=t(69),N=t.n(E),Q=t(21),H=t(35),M=t(43),R=t(112),Y=t.n(R),F=x.d.div(o||(o=Object(g.a)(["\n height: 42px;\n margin: 6px 0;\n\n display: flex;\n align-items: center;\n\n border: solid 2px ",";\n border-radius: 8px;\n input {\n width: 100%;\n padding: 0 8px;\n margin-left: 8px;\n border: 0;\n flex: 1;\n background: transparent;\n\n ::placeholder {\n color: #828282;\n }\n }\n\n .s-icon {\n color: #fff;\n background-image: linear-gradient(\n to bottom right,\n ",",\n ","\n );\n height: 100%;\n width: 35px;\n padding: 8px;\n border-radius: 2.5px;\n }\n\n .error-icon {\n background: transparent;\n color: transparent;\n margin-right: 8px;\n }\n\n ","\n\n ","\n\n ","\n"])),(function(e){return e.theme.colors.purple}),(function(e){return e.theme.colors.purple}),(function(e){return e.theme.colors.blue}),(function(e){return e.isErrored&&Object(x.c)(a||(a=Object(g.a)(["\n border-color: ",";\n\n .s-icon {\n background: ",";\n }\n\n .error-icon {\n color: ",";\n }\n "])),(function(e){return e.theme.colors.red}),(function(e){return e.theme.colors.red}),(function(e){return e.theme.colors.red}))}),(function(e){return e.isFocused&&Object(x.c)(i||(i=Object(g.a)(["\n border-color: ",";\n color: ",";\n "])),(function(e){return e.theme.colors.light_blue}),(function(e){return e.theme.colors.light_blue}))}),(function(e){return e.isFilled&&Object(x.c)(c||(c=Object(g.a)(["\n border-color: ",";\n color: ",";\n\n .s-icon {\n background: ",";\n }\n\n .error-icon {\n color: transparent;\n }\n "])),(function(e){return e.theme.colors.light_blue}),(function(e){return e.theme.colors.light_blue}),(function(e){return e.theme.colors.light_blue}))})),z=t(3),G=function(e){var n=e.name,t=e.mask,r=e.icon,o=(e.children,e.IconError),a=Object(H.a)(e,["name","mask","icon","children","IconError"]),i=Object(p.useRef)(null),c=Object(p.useState)(!1),s=Object(D.a)(c,2),l=s[0],d=s[1],u=Object(p.useState)(!1),b=Object(D.a)(u,2),h=b[0],j=b[1],m=Object(p.useCallback)((function(){d(!0)}),[]),g=Object(p.useCallback)((function(){var e;d(!1),j(!!(null===(e=i.current)||void 0===e?void 0:e.value))}),[]),x=Object(M.c)(n),O=x.registerField,f=x.defaultValue,A=x.fieldName,v=x.error;return Object(p.useEffect)((function(){O({name:A,ref:i.current,path:"value"})}),[O,A]),Object(z.jsxs)(F,{isFocused:l,isFilled:h,isErrored:!!v,children:[r&&Object(z.jsx)(r,{size:20,className:"s-icon"}),Object(z.jsx)(Y.a,Object(Q.a)(Object(Q.a)({},a),{},{mask:t,defaultValue:f,onFocus:m,onBlur:g,className:"left-input-icon",children:function(){return Object(z.jsx)("input",Object(Q.a)(Object(Q.a)({},a),{},{ref:i}))}})),o&&Object(z.jsx)(o,{size:20,className:"error-icon"})]})},L=x.d.button(s||(s=Object(g.a)(["\n background-image: linear-gradient(\n to bottom right,\n ",",\n ","\n );\n\n color: #fff;\n\n border: 0;\n border-radius: 10px;\n\n display: flex;\n align-items: center;\n justify-content: center;\n\n padding: 10px;\n margin: 8px 0;\n"])),(function(e){return e.theme.colors.blue}),(function(e){return e.theme.colors.purple})),T=function(e){var n=e.children,t=Object(H.a)(e,["children"]);return Object(z.jsx)(L,Object(Q.a)(Object(Q.a)({},t),{},{children:n}))},Z=t.p+"static/media/etiqueta.e4f9b411.png",P=t(271),U=t(270),V=t(269),J=t(272),q=x.d.div(l||(l=Object(g.a)([""]))),K=x.d.div(d||(d=Object(g.a)(["\n padding: 12px 0;\n display: flex;\n justify-content: center;\n"]))),W=x.d.h4(u||(u=Object(g.a)(["\n color: ",";\n font-weight: bold;\n"])),(function(e){return e.theme.colors.blue})),X=x.d.h5(b||(b=Object(g.a)(["\n color: ",";\n margin-bottom: 0.5rem;\n text-align: center;\n margin-bottom: 1rem;\n"])),(function(e){return e.theme.colors.red})),_=function(e){var n=e.children,t=Object(H.a)(e,["children"]);return Object(z.jsx)(q,{children:Object(z.jsxs)(P.a,Object(Q.a)(Object(Q.a)({"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",style:{display:"flex",justifyContent:"center"},disableEscapeKeyDown:!0,disableBackdropClick:!0},t),{},{children:[Object(z.jsxs)(V.a,{children:[Object(z.jsx)(X,{children:Object(z.jsx)("b",{children:"*ATEN\xc7\xc3O*"})}),Object(z.jsxs)(J.a,{id:"alert-dialog-description",children:[Object(z.jsxs)("p",{children:["Para acessar o resultado do Teste do Pezinho pelo nosso site, d\xea um OK e prossiga com:",Object(z.jsx)("br",{}),Object(z.jsx)("li",{children:"N\xfamero do atendimento hospitalar do rec\xe9m-nascido;"}),Object(z.jsx)("li",{children:"Data de Nascimento do rec\xe9m-nascido;"}),Object(z.jsx)("br",{}),Object(z.jsx)("br",{})]}),Object(z.jsx)(K,{children:Object(z.jsx)("img",{src:Z,alt:"etiqueta"})}),Object(z.jsx)("br",{}),Object(z.jsx)("br",{}),Object(z.jsxs)("p",{children:[" ","Se houver dificuldade no acesso, envie um e-mail para:",Object(z.jsx)("br",{}),Object(z.jsx)("p",{style:{textAlign:"center"},children:Object(z.jsx)(W,{children:"testedopezinho@santajoana.com.br"})}),"com a seguinte AUTORIZA\xc7\xc3O:",Object(z.jsx)("br",{}),Object(z.jsx)("br",{})," ","\u201dAutorizo a Maternidade a enviar o resultado do Teste do Pezinho atrav\xe9s deste e-mail.\u201d",Object(z.jsx)("br",{}),Object(z.jsx)("br",{}),"** Informar: O nome completo da m\xe3e e a data de nascimento do beb\xea"]}),Object(z.jsx)("br",{}),Object(z.jsx)("br",{}),Object(z.jsxs)("p",{style:{padding:"2px 16px",textAlign:"center"},children:["Para maiores informa\xe7\xf5es, entre em contato conosco via e-mail ou telefones: ",Object(z.jsx)("br",{})," (11) 5080-6371 ou (11) 5080-6542 ",Object(z.jsx)("br",{})]})]})]}),Object(z.jsx)(U.a,{children:n})]}))})},$=t(113),ee=t.n($).a.create({baseURL:"https://teste-do-pezinho.gruposantajoana.com.br/exame-pezinho"});function ne(e){var n={};return e.inner.forEach((function(e){n[e.path]=e.message})),n}var te,re,oe,ae,ie,ce,se,le=t.p+"static/media/logo-sj.a4df79c1.png",de=t.p+"static/media/logo-sm.b7768f70.png",ue=t.p+"static/media/logo-bg-transp.f186cc76.png",be={title:"sj",colors:{blue:"#005A54",light_blue:"#12ADAA",purple:"#1D5A56",black:"#1b1b1b",red:"#c53040"}},pe={title:"sm",colors:{blue:"#0079C7",light_blue:"#0079C7",purple:"#0E3469",black:"#1b1b1b",red:"#c53040"}},he={title:"pm",colors:{blue:"#0E3469",light_blue:"#4073E0",purple:"#0E3469",black:"#1b1b1b",red:"#c53040"}},je={title:"hmsj",colors:{blue:"#0079C7",light_blue:"#00A1FF",purple:"#2E258B",black:"#1b1b1b",red:"#c53040"}},me=t.p+"static/media/bg-right.01fef9aa.jpg",ge=x.d.div(te||(te=Object(g.a)(["\n height: 100vh;\n display: flex;\n align-items: stretch;\n\n @media (prefers-reduced-motion: no-preference) {\n .logo-spin {\n animation: logo-spin infinite 1s linear;\n }\n }\n\n @keyframes logo-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n .App-logo {\n height: 40vmin;\n pointer-events: none;\n }\n\n > h4 {\n color: ",";\n }\n"])),(function(e){return e.theme.title})),xe=x.d.div(re||(re=Object(g.a)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n\n width: 100%;\n max-width: 700px;\n padding: 1rem;\n\n form {\n display: flex;\n flex-direction: column;\n\n width: 350px;\n\n > h5 {\n margin: 16px 0;\n text-align: center;\n }\n }\n"]))),Oe=x.d.div(oe||(oe=Object(g.a)(["\n display: flex;\n justify-content: center;\n"]))),fe=x.d.div(ae||(ae=Object(g.a)(["\n flex: 2;\n background: url(",") no-repeat center;\n background-size: cover;\n opacity: 0.5;\n"])),me),Ae=x.d.div(ie||(ie=Object(g.a)(["\n display: flex;\n place-content: center;\n\n small {\n color: ",";\n margin: 0 8px;\n display: flex;\n align-items: center;\n }\n\n > svg {\n color: ",";\n }\n"])),(function(e){return e.theme.colors.red}),(function(e){return e.theme.colors.red})),ve=x.d.div(ce||(ce=Object(g.a)(["\n display: flex;\n align-items: center;\n justify-content: center;\n\n color: ",";\n\n > svg {\n margin-right: 8px;\n }\n"])),(function(e){return e.theme.colors.purple})),we=(x.d.img(se||(se=Object(g.a)(["\n height: 25px;\n margin-right: 5px;\n"]))),function(){var e=Object(p.useState)(!0),n=Object(D.a)(e,2),t=n[0],r=n[1],o=Object(p.useRef)(null),a=Object(p.useState)(!1),i=Object(D.a)(a,2),c=i[0],s=i[1],l=Object(p.useState)(!1),d=Object(D.a)(l,2),u=d[0],b=d[1],h=Object(p.useState)(""),j=Object(D.a)(h,2),m=j[0],g=j[1],O=Object(A.f)().search,f=new URLSearchParams(O),v=Number(f.get("empresa")),E=Object(p.useRef)(null),Q=function(){r(!1)},H=function(e){var n=document.createElement("a");n.href=e,document.body.appendChild(n),n.click(),document.body.removeChild(n),b(!1)};var M=Object(p.useCallback)(function(){var e=Object(I.a)(w.a.mark((function e(n){var t,r,a,i,c,l,d,u,p,h,j,m,x;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=function(){return(p=Object(I.a)(w.a.mark((function e(t){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ee.post("/auth-token",{token:t,atendimento:n.atendimento}).then((function(e){var n=(new DOMParser).parseFromString(e.data,"text/xml").querySelectorAll("urlPdf");n.length>1&&alert("H\xe1 mais que um resultado dispon\xedvel. Ser\xe3o abertos em abas diferentes do seu navegador. Por favor, verifique todas as abas.");for(var t=0;t","");g(String(a)),H(String(a))}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)},function(e){return p.apply(this,arguments)},u=function(){return(u=Object(I.a)(w.a.mark((function e(t){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ee.post("/auth-token",{token:t,atendimento:n.atendimento}).then((function(e){var n=(new DOMParser).parseFromString(e.data,"text/xml"),t=n.querySelectorAll("urlPdf");if(1===t.length){var r,o=null===(r=n.querySelector("urlPdf"))||void 0===r?void 0:r.innerHTML;if(!o)return alert("N\xe3o h\xe1 resultados de exames para este Atendimento.");var a=null===o||void 0===o?void 0:o.replace("","");g(String(i)),H(String(i))}else if(t.length>1){for(var c=[],s=0;s","");c.push(String(u))}for(var b='

\n \n \n
\n \n \n \n \n \n
\n

Existe mais que um resultado de exame.

Escolha abaixo qual o resultado de exame que deseja abrir
\n
\n
\n

 

\n \n \n \n \n \n ',p=0;p\n \n \n ")}b+="
N\xfameroOrdem de Servi\xe7o
Resultado ').concat(p+1,'\n : ').concat(j,"

 

",document.body.innerHTML=b}}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)},d=function(e){return u.apply(this,arguments)},l=function(){return(l=Object(I.a)(w.a.mark((function e(n,t){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ee.post("/pedidof",{atendimento:n}).then((function(e){var r,o=null===(r=(new DOMParser).parseFromString(e.data,"text/xml").querySelector("DataAtendimento"))||void 0===r?void 0:r.innerHTML,i=String(o).split("/"),c=N()(Date.now()),s=N()([Number(i[2]),Number(i[1])-1,Number(i[0])]);if(c.diff(s,"days")<=12)return b(!1),alert("Exame dispon\xedvel somente ap\xf3s 12 dias da data do atendimento");a(n,t)}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)},c=function(e,n){return l.apply(this,arguments)},i=function(){return(i=Object(I.a)(w.a.mark((function e(n,r){return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ee.post("/pedido-shift",{atendimento:n,empresa:r}).then((function(e){var n;if("False"===(null===(n=(new DOMParser).parseFromString(e.data,"text/xml").querySelector("Resultado"))||void 0===n?void 0:n.innerHTML))return b(!1),alert("ATEN\xc7\xc3O: Exame ainda n\xe3o dispon\xedvel");t(r)}));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)},a=function(e,n){return i.apply(this,arguments)},r=function(){return(r=Object(I.a)(w.a.mark((function e(n){var t,r;return w.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"1"===n&&(t="SP299",r="PS9920"),"2"===n&&(t="SP434",r="95J2QJ"),"13"===n&&(t="SP435",r="HPDFHC"),e.next=5,ee.post("/authenticate",{usuario:t,senha:r}).then((function(e){var n,t=null===(n=(new DOMParser).parseFromString(e.data,"text/xml").querySelector("Token"))||void 0===n?void 0:n.innerHTML;d(String(t)),b(!1)}));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)},t=function(e){return r.apply(this,arguments)},e.prev=10,s(!1),null===(h=o.current)||void 0===h||h.setErrors({}),j=k.b().shape({atendimento:k.c().required("N\xfamero de atendimento \xe9 obrigat\xf3rio"),nascimento:k.c().required("Data de nascimento \xe9 obrigat\xf3rio")}),e.next=16,j.validate(n,{abortEarly:!1});case 16:return b(!0),e.next=19,ee.post("/numero-atendimento",{atendimento:n.atendimento,nascimento:n.nascimento}).then((function(e){var t,r,o=(new DOMParser).parseFromString(e.data,"text/xml"),a=null===(t=o.querySelector("DescricaoMensagem"))||void 0===t?void 0:t.innerHTML,i=null===(r=o.querySelector("Empresa"))||void 0===r?void 0:r.innerHTML;if("AI"===a||""===i)return b(!1),alert("Exame n\xe3o encontrado. Verifique se o N\xfamero de atendimento e a Data de nascimento est\xe3o corretos.");c(n.atendimento,String(i))}));case 19:e.next=27;break;case 21:e.prev=21,e.t0=e.catch(10),console.log(e.t0),s(!0),b(!1),e.t0 instanceof k.a?(x=ne(e.t0),null===(m=o.current)||void 0===m||m.setErrors(x)):(alert("Servi\xe7o temporariamente indispon\xedvel, tente novamente mais tarde."),s(!1));case 27:case"end":return e.stop()}}),e,null,[[10,21]])})));return function(n){return e.apply(this,arguments)}}(),[]);return Object(z.jsxs)(x.a,{theme:1===v?be:2===v?he:13===v?pe:je,children:[Object(z.jsxs)(ge,{children:[Object(z.jsxs)(xe,{children:[Object(z.jsx)(Oe,{children:Object(z.jsx)("img",{src:1===v?le:2===v?"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAACaCAYAAABlhpALAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyVpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDYuMC1jMDA1IDc5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YIe0pURr1ncF6+tihyQSNvg1DoUSUuBDSpD6lJITOcx1IsDqEqzzqfC306ePK6jsTeK49jlnE+9r2u5QKmDHU/FrKpXxhHQ38IvY6MuYkYVE3UFshLpMdy4z+7bWg4pcpE4DTSF9n5lfyzwvIJhWc+byPKVbGXt+F5deNIbXd1E0bqBksiXHGVSc57Me+nEm46T7qGQjnVfY61926Epz2CirWZ9eYYDHUWn8ERt4nTbs9iQou7Eh9+W6zEm8voT5P07L57ts/HVs0zOo9M5g2R9hPZ3E39W8oYHa8zheviNVI4kIpzW/5JRlDpH9JXumsOFtUfsb9uY72Mi1CY5W1I6/pna+Fyu8KdH+ofa9LmwgO9392OuWUVtux6npd9rq2vlUUu+Tqu7wThrC8oxl7y3Vvl3C7zTn/c9TpHMWp7mXUtFswvLZUmIk9YZxbDB75rRNqkZnO4Vgvp36Vn3t+cbsfB9QrO/Q8nkJ63S8VMaB0qf4AzjFfUG7fg51NQBjYuIWH476sgfbwcd7UUHt6tIgJqgbpfHjBLoxKpRDwnNF26nc9eRwcCaHzyhAsC8lSG3qQl+Z/kCtXbt2JU2akPxXgAEAJcT/6iSrZ9kAAAAASUVORK5CYII=":13===v?de:ue,alt:"Grupo Santa Joana",height:200})}),Object(z.jsxs)(S.a,{ref:o,onSubmit:M,children:[Object(z.jsx)("h5",{children:"Digite o N\xfamero do Atendimento e Data de Nascimento para visualizar o Exame do Teste do Pezinho:"}),Object(z.jsx)(G,{icon:y.a,name:"atendimento",placeholder:"N\xfamero do Atendimento",mask:"",IconError:C.a}),Object(z.jsx)(G,{icon:B.a,name:"nascimento",placeholder:"Data de Nascimento",mask:"99/99/9999",IconError:C.a}),Object(z.jsx)(T,{type:"submit",children:"ACESSAR"}),c&&Object(z.jsxs)(Ae,{children:[" ",Object(z.jsx)(C.a,{size:20}),Object(z.jsx)("small",{children:"Campo Obrigat\xf3rio"})]}),u&&Object(z.jsxs)(ve,{children:[Object(z.jsx)(C.b,{className:"logo-spin"}),Object(z.jsx)("h4",{children:"Aguarde..."})]})]})]}),Object(z.jsx)(fe,{})]}),Object(z.jsx)("form",{ref:E,action:m,method:"POST",target:"_blank",children:" "}),Object(z.jsx)(_,{open:t,onClose:Q,children:Object(z.jsx)(T,{style:{width:"80px"},onClick:Q,children:"OK"})})]})}),Ie=function(){return Object(z.jsx)(A.c,{children:Object(z.jsx)(A.a,{path:"/",exact:!0,component:we})})},De=function(){return Object(z.jsx)(f.a,{children:Object(z.jsx)(Ie,{})})},Se=function(){return Object(z.jsxs)(z.Fragment,{children:[Object(z.jsx)(De,{}),Object(z.jsx)(O,{})]})};m.a.render(Object(z.jsx)(h.a.StrictMode,{children:Object(z.jsx)(Se,{})}),document.getElementById("root"))}},[[244,1,2]]]); //# sourceMappingURL=main.c6558cca.chunk.js.map