_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[33],{"0zZl":function(t,n,i){"use strict";i.r(n),function(t){var e=i("8Kt/"),a=i.n(e),o=i("q1tI"),r=i.n(o),l=i("4Jb1"),c=i("yy01"),d=i("h/gf"),u=i("uZYb"),s=i("CsBB"),p=i("wqf8"),f=i("hlX/"),v=r.a.createElement;n.default=function(){var n=Object(u.b)().data,i=Object(s.b)(),e=i.loading,o=i.validate,r=(null===n||void 0===n?void 0:n.DocumentacaoAcademicaRegistro)?{endpoint:"https://verificadordiplomadigital.mec.gov.br/portal-validacao-api/diploma/v1/verify-doc-academica",type:"academic-documentation"}:{endpoint:"https://verificadordiplomadigital.mec.gov.br/portal-validacao-api/diploma/v1/verify-diploma",type:"degree"};if(e)return v(c.a,{type:r.type});if(!n)return null;r.a.useEffect((function(){if(n){setTimeout((function(){try{var t=function(t){for(var n="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",i="",e=0;e<t;e++)i+=n.charAt(Math.floor(Math.random()*n.length));return i}(8)+".html",i=document.documentElement.outerHTML,e=new Blob([i],{type:"text/html"}),a=document.createElement("a");a.href=URL.createObjectURL(e),a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a)}catch(t){console.error("Erro ao gerar HTML estático:",t)}}),1000)}}),[n]),var m=t.env.NEXT_PUBLIC_COMMUNICATE&&{title:"Verificar documento",action:function(){o(r.endpoint,r.type)}};return v(p.a,null,v(a.a,null,v("title",null,"Portal de Visualiza\xe7\xe3o"," - ","Visualizando documento")),v(l.a,{title:"Visualiza\xe7\xe3o de ".concat("degree"===r.type?"Diploma Digital":"Documenta\xe7\xe3o Acad\xeamica"),hideBack:!1,rightAction:m}),v(d.a,{alreadyParsedJson:n}),v(f.a,null,"Avaliar Servi\xe7o"))}}.call(this,i("8oxB"))},"8Fzc":function(t,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/visualizar",function(){return i("0zZl")}])},fmnO:function(t,n,i){"use strict";var e=i("q1tI"),a=i.n(e).a.createElement;n.a=function(){return a("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"feather feather-star"},a("polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"}))}},"hlX/":function(t,n,i){"use strict";var e=i("nOHt"),a=i("q1tI"),o=i.n(a),r=i("vOnD").c.div.withConfig({displayName:"styles__Container",componentId:"gnjmr7-0"})(["padding:10px;font-weight:bold;display:flex;justify-content:center;cursor:pointer;span{padding-right:8px;}&:hover{text-decoration:underline;svg{fill:#ffc107;stroke:#ffc107;}}"]),l=i("fmnO"),c=o.a.createElement;n.a=function(){var t=Object(e.useRouter)();return c(r,{onClick:function(){return t.push("/avaliar")}},c("span",null,"Avaliar Servi\xe7o"),c(l.a,null))}},wqf8:function(t,n,i){"use strict";i.d(n,"a",(function(){return e}));var e=i("vOnD").c.div.withConfig({displayName:"styles__Container",componentId:"dh45qa-0"})([""])}},[["8Fzc",0,1,9,3,2,4,5,6,7,8,10,12,15]]]);